/*
 * Borken Live, öffentliche Seite. Designrichtung „Stadtblau" (Entscheidung E-14),
 * App-Charakter auf dem Handy (E-21): feste Kopfzeile, Tab-Leiste unten.
 * Keine Inline-Styles, kein CDN, Schriften lokal.
 */
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-display: swap; src: url("fonts/BarlowCondensed-SemiBold.ttf") format("truetype"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-display: swap; src: url("fonts/BarlowCondensed-Bold.ttf") format("truetype"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 800; font-display: swap; src: url("fonts/BarlowCondensed-ExtraBold.ttf") format("truetype"); }

:root {
  --blue: #0a8fdc;
  --blue-dark: #0773b3;      /* Blau für Text auf Weiß (Kontrast AA) */
  --deep: #063a63;
  --yellow: #ffd23f;
  --soft: #e7f4fc;
  --ink: #0d2235;
  --muted: #4f6475;
  --line: #dbe7ef;
  --bg: #ffffff;
  --page: #f4f8fb;
  --f-head: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --f-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --header-h: 76px;
  --tabbar-h: 64px;
  --radius: 10px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--page); color: var(--ink); font: 1rem/1.55 var(--f-body); -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-dark); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; border-radius: 4px; }
/* Typografie: große Schrift enger (Laufweite und Zeilenabstand), Fließtext normal (Apple „UI Typography“) */
h1, h2, h3 { font-family: var(--f-head); line-height: 1.1; margin: 0 0 .5rem; text-wrap: balance; }
h1 { font-size: clamp(1.9rem, 5vw, 2.6rem); font-weight: 800; line-height: 1.04; letter-spacing: -.012em; }
h2 { font-size: 1.6rem; font-weight: 700; line-height: 1.08; letter-spacing: -.006em; }
p, li, dd { text-wrap: pretty; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--yellow); color: var(--ink); padding: 8px 12px; z-index: 100; font-weight: 700; }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right)); }

/* Kopfzeile: immer sichtbar (sticky), wird beim Scrollen flacher */
/* Glas-Ebene: Inhalt scrollt unter der Kopfzeile durch; Trennlinie erst, wenn wirklich Inhalt darunter liegt */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .78); -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%); border-bottom: 1px solid transparent; padding-top: env(safe-area-inset-top); transition: box-shadow .2s, border-color .2s, background-color .2s; }
.site-header.is-scrolled { box-shadow: 0 6px 20px rgba(13, 34, 53, .08); border-bottom-color: rgba(13, 34, 53, .08); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: var(--header-h); transition: height .2s; }
.site-header.is-scrolled .wrap { height: 58px; }
.brand { display: inline-flex; color: var(--ink); text-decoration: none; border-radius: 8px; }
.brand .logo { height: 58px; width: auto; overflow: visible; transition: height .25s ease; }
.site-header.is-scrolled .brand .logo { height: 44px; }

/* Logo-Animation: Pfeile steigen beim ersten Besuch nacheinander auf, beim Zeigen wippen sie kurz.
   Bei „Bewegung reduzieren“ im Betriebssystem bleibt alles still. */
.logo-arrows path { transform-box: fill-box; transform-origin: 50% 100%; }
@keyframes bl-rise { 0% { transform: translateY(70%) scaleY(.4); opacity: 0; } 70% { transform: translateY(-8%) scaleY(1.05); opacity: 1; } 100% { transform: none; opacity: 1; } }
@keyframes bl-wave { 0%, 100% { transform: none; } 40% { transform: translateY(-14%); } }
@keyframes bl-fade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .logo-intro .logo-arrows path { animation: bl-rise .7s cubic-bezier(.2, .8, .3, 1.2) both; }
  .logo-intro .logo-word { animation: bl-fade .5s .55s ease-out both; }
  .brand:hover .logo-arrows path, .brand:focus-visible .logo-arrows path { animation: bl-wave .6s ease-in-out; }
  .logo-arrows path:nth-child(2) { animation-delay: .08s; }
  .logo-arrows path:nth-child(3) { animation-delay: .16s; }
  .logo-arrows path:nth-child(4) { animation-delay: .24s; }
  .logo-arrows path:nth-child(5) { animation-delay: .32s; }
}
@media (min-width: 992px) {
  :root { --header-h: 92px; }
  .brand .logo { height: 72px; }
  .site-header.is-scrolled .wrap { height: 64px; }
  .site-header.is-scrolled .brand .logo { height: 50px; }
}
.mainnav { display: none; gap: 22px; }
.mainnav a { font: 700 1.05rem var(--f-head); letter-spacing: .06em; text-transform: uppercase; color: var(--deep); text-decoration: none; padding: 6px 0; border-bottom: 3px solid transparent; }
.mainnav a[aria-current="page"], .mainnav a:hover { border-bottom-color: var(--blue); }
.header-search { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--deep); text-decoration: none; min-height: 44px; min-width: 44px; justify-content: center; border-radius: 999px; }
.header-search svg { width: 24px; height: 24px; }
.header-search span { display: none; }

/* Tab-Leiste unten (nur Handy und Tablet) */
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: grid; grid-template-columns: repeat(5, 1fr); background: rgba(255, 255, 255, .8); -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%); border-top: 1px solid rgba(13, 34, 53, .08); padding: 4px max(4px, env(safe-area-inset-right)) calc(6px + env(safe-area-inset-bottom)) max(4px, env(safe-area-inset-left)); box-shadow: 0 -4px 16px rgba(13, 34, 53, .06); }
.tabbar a { display: grid; justify-items: center; align-content: center; gap: 2px; min-height: 52px; font: 600 .72rem var(--f-body); color: var(--muted); text-decoration: none; border-radius: 8px; }
.tabbar svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tabbar a[aria-current="page"] { color: var(--blue-dark); font-weight: 800; }
.tabbar a[aria-current="page"]::after { content: ""; width: 20px; height: 3px; border-radius: 2px; background: var(--blue); }
main { padding-bottom: 32px; }
/* Platz für die Tab-Leiste unter dem letzten Inhalt (Fußzeile) */
body { padding-bottom: calc(var(--tabbar-h) + 8px + env(safe-area-inset-bottom)); }

@media (min-width: 992px) {
  .mainnav { display: flex; }
  .header-search span { display: inline; }
  .header-search { border: 1px solid var(--line); padding: 0 16px; }
  .tabbar { display: none; }
  main { padding-bottom: 48px; }
  body { padding-bottom: 0; }
}

/* Seitenkopf und Abschnitte */
.page-head { padding: 28px 0 8px; }
.eyebrow { font: 700 .85rem var(--f-head); letter-spacing: .1em; text-transform: uppercase; color: var(--blue-dark); margin: 0 0 4px; }
.lead { color: var(--muted); max-width: 65ch; margin: 0; }
.section { padding: 20px 0; }
.meta { color: var(--muted); font-size: .9rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; font: 700 1rem var(--f-head); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; border: 0; cursor: pointer; }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-outline { background: transparent; color: var(--deep); border: 2px solid var(--deep); }

/* Jahres-Leiste (Fotoalbum-History als Filter) */
.years { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 12px; scrollbar-width: thin; }
.years a { flex: 0 0 auto; min-height: 40px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); color: var(--deep); text-decoration: none; font: 700 1rem var(--f-head); }
.years a[aria-current="page"] { background: var(--deep); color: #fff; border-color: var(--deep); }

/* Albumkacheln */
.album-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px; }
@media (min-width: 640px) { .album-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 18px; } }
.album-card { background: var(--bg); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); text-decoration: none; color: var(--ink); display: flex; flex-direction: column; }
.album-card:hover { border-color: var(--blue); }
.album-card .cover { aspect-ratio: 4 / 3; background: var(--soft); overflow: hidden; }
.album-card .cover img { width: 100%; height: 100%; object-fit: cover; }
.album-card .body { padding: 10px 12px 12px; display: grid; gap: 4px; }
.album-card h3 { font-size: 1.15rem; font-weight: 700; margin: 0; }
.album-card .meta { font-size: .82rem; }

/* Fotoraster im Album: Altfotos sind ~400 px, Kacheln bleiben darunter (E-05, Konzept 11) */
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
@media (min-width: 640px) { .photo-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px; } }
.photo-grid a { display: block; aspect-ratio: 1; overflow: hidden; background: var(--soft); border-radius: 4px; }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .2s; }
.photo-grid a:hover img { transform: scale(1.03); }
.album-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0 18px; }

/* Einzelfoto-Seite (ohne JavaScript) */
.photo-stage { background: #0e1620; border-radius: var(--radius); padding: 16px; display: flex; justify-content: center; }
.photo-stage img { max-height: 75vh; width: auto; }
.photo-stage img.is-legacy { max-width: min(100%, 480px); }
.photo-nav { display: flex; justify-content: space-between; gap: 10px; margin: 14px 0; }

/* Lightbox (dunkel, Konzept 11) */
.lightbox { position: fixed; inset: 0; z-index: 200; display: grid; grid-template-rows: auto 1fr auto; color: #fff; transition: opacity .2s ease; }
.lightbox.is-fading { opacity: 0; transition: none; }
.lightbox[hidden] { display: none; }
.lightbox .lb-backdrop { position: absolute; inset: 0; background: rgba(8, 14, 20, .96); z-index: 0; }
.lightbox .lb-top, .lightbox .lb-bottom { position: relative; z-index: 2; opacity: var(--lb-chrome, 1); display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: calc(10px + env(safe-area-inset-top)) max(14px, env(safe-area-inset-right)) 10px max(14px, env(safe-area-inset-left)); }
.lightbox .lb-bottom { padding-bottom: calc(14px + env(safe-area-inset-bottom)); }
.lightbox .lb-stage { position: relative; z-index: 1; overflow: hidden; touch-action: none; cursor: grab; user-select: none; -webkit-user-select: none; }
.lightbox .lb-stage:active { cursor: grabbing; }
.lightbox .lb-track { display: flex; width: 300%; height: 100%; will-change: transform; }
.lightbox .lb-slide { flex: 0 0 33.3333%; display: flex; align-items: center; justify-content: center; padding: 0 8px; min-width: 0; }
.lightbox .lb-slide img { max-width: 100%; max-height: 100%; object-fit: contain; transform-origin: 50% 50%; will-change: transform; -webkit-user-drag: none; }
.lightbox .lb-slide img.is-legacy { max-width: min(100%, 480px); max-height: min(100%, 480px); }
.lightbox button, .lightbox a { min-width: 48px; min-height: 48px; border-radius: 999px; border: 0; background: rgba(255, 255, 255, .14); color: #fff; font: 700 1rem var(--f-body); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; text-decoration: none; padding: 0 14px; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); transition: transform .1s ease-out, background-color .1s ease-out; }
.lightbox button:active, .lightbox a:active { transform: scale(.94); background: rgba(255, 255, 255, .26); }
.lightbox .lb-count { font-variant-numeric: tabular-nums; }
body.lb-open { overflow: hidden; }

/* Pager */
.pager { display: flex; justify-content: center; align-items: center; gap: 12px; margin: 24px 0; flex-wrap: wrap; }

/* Hinweisboxen und leere Zustände */
.notice { background: var(--soft); border: 1px solid #c4dff1; border-radius: var(--radius); padding: 14px 16px; margin: 16px 0; }
.links-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.links-list a { display: flex; min-height: 52px; align-items: center; padding: 10px 16px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); font-weight: 600; }
.links-list a:hover { border-color: var(--blue); color: var(--deep); }

/* Fußzeile */
.site-footer { border-top: 1px solid var(--line); background: var(--bg); padding: 32px 0 24px; font-size: .95rem; color: var(--muted); }
.footer-grid { display: grid; gap: 24px; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; } }
.footer-grid h2 { font-size: 1.1rem; letter-spacing: .04em; text-transform: uppercase; color: var(--deep); margin: 0 0 8px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; }
.footer-links a { display: flex; align-items: center; min-height: 40px; color: var(--ink); text-decoration: none; }
.footer-links a:hover { color: var(--blue-dark); text-decoration: underline; }
.footer-bottom { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* Inhalte (Aktuelles, Themen, feste Seiten) */
.feed { max-width: 680px; display: grid; gap: 18px; }
@media (min-width: 640px) { .prose { font-size: 1.05rem; line-height: 1.65; overflow-wrap: anywhere; }
.prose p { margin: 0 0 .9em; }
.prose blockquote { margin: 0 0 .9em; padding: 12px 16px; background: var(--soft); border-radius: var(--radius); font-style: italic; }
.prose .bb-xl { font: 700 1.6rem/1.2 var(--f-head); }
.prose .bb-lg { font: 700 1.3rem/1.25 var(--f-head); }
.block-pdf { display: flex; gap: 14px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); text-decoration: none; color: var(--ink); }
.block-pdf img { width: 96px; flex: none; }
.block-pdf > span { display: grid; gap: 2px; }
.block-pdf .meta:last-child { color: var(--blue-dark); font-weight: 700; }
.pdf-icon { flex: none; width: 64px; height: 80px; display: grid; place-items: center; border-radius: 6px; background: var(--deep); color: #fff; font: 800 1.1rem var(--f-head); }

/* Startseite */
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.section-head h2 { margin: 0; }
.section-head a { font-weight: 700; }
/* Werbung und Partnerleiste (Modul Ads) */
.ad { margin: 22px 0; display: grid; justify-items: center; gap: 4px; }
.ad a { display: block; border-radius: 6px; overflow: hidden; }
.ad img { max-width: min(100%, 728px); height: auto; }
.ad-label { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.feed > .ad { max-width: 760px; }
/* Branchenbuch */
.dir-search { display: flex; gap: 8px; margin: 4px 0 14px; max-width: 640px; }
.dir-search input, .form input[type=text], .form input[type=email], .form input[type=tel], .form input[type=search], .form select, .form textarea {
  width: 100%; min-height: 48px; padding: 10px 12px; border: 2px solid #9fb3c4; border-radius: 8px; font: inherit; background: #fff; color: var(--ink);
}
.dir-search input:focus, .form input:focus, .form select:focus, .form textarea:focus { outline: 3px solid var(--yellow); outline-offset: 1px; border-color: var(--deep); }
.letters a { min-width: 44px; text-align: center; }
.dir-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; margin: 10px 0 18px; }
.dir-card { display: flex; gap: 12px; align-items: center; padding: 10px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); color: var(--ink); text-decoration: none; min-height: 72px; }
.dir-card.is-premium { border: 2px solid var(--yellow); }
.dir-card:hover { border-color: var(--blue); }
.dir-logo { flex: none; width: 56px; height: 56px; border-radius: 8px; background: var(--soft); display: grid; place-items: center; overflow: hidden; font: 800 1.4rem var(--f-head); color: var(--deep); }
.dir-logo img { width: 100%; height: 100%; object-fit: contain; }
.dir-text { display: grid; gap: 2px; min-width: 0; }
.dir-cats { list-style: none; margin: 0; padding: 0; columns: 2 220px; column-gap: 24px; }
.dir-cats li { break-inside: avoid; }
.dir-cats a { display: inline-block; padding: 6px 0; min-height: 36px; }
.dir-detail { display: grid; gap: 18px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; max-width: 760px; }
@media (min-width: 640px) { .dir-detail { grid-template-columns: 160px 1fr; align-items: start; } }
.dir-detail-logo { max-width: 160px; border-radius: 8px; }
.dir-facts { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 8px 16px; }
.dir-facts dt { font-weight: 700; color: var(--muted); }
.dir-facts dd { margin: 0; overflow-wrap: anywhere; }

/* Formulare (öffentlich) */
.narrow { max-width: 760px; }
.form { display: grid; gap: 14px; margin-bottom: 24px; }
.form fieldset { border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); padding: 14px 16px 16px; display: grid; gap: 6px; margin: 0; }
.form legend { font: 700 1.2rem var(--f-head); padding: 0 6px; }
.form label { font-weight: 600; margin-top: 8px; }
.form-row { display: grid; grid-template-columns: 120px 1fr; gap: 10px; }
.form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.form .check input { width: 24px; height: 24px; flex: none; margin-top: 2px; }
.form .btn { justify-self: start; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.notice.is-error { background: #fde2e1; border-color: #f0a6a3; color: #6b1210; }
.notice.is-error p, .notice.is-ok p { margin: 0; }
.notice.is-ok { background: #dff3e6; border-color: #9fd6b2; color: #0f4a23; }
.takedown-preview { max-width: 320px; margin: 0 0 16px; }
.takedown-preview img { border-radius: var(--radius); }
.lb-remove { color: #fff; font-size: .9rem; text-decoration: underline; }
.adv-list li { background: var(--bg); border: 1px solid var(--line); border-radius: 8px; }
.adv-list li { padding: 12px 14px; }
.adv-facts { padding-left: 1.2em; display: grid; gap: 8px; }
.more-grid { display: grid; gap: 22px; }
@media (min-width: 860px) { .more-grid { grid-template-columns: repeat(3, 1fr); } }
.search-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; max-width: 760px; }
.search-list li { background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; }
.search-list p { margin: 4px 0 0; }

/* Startseite mit „Aktuelles“ im Mittelpunkt (wie die alte Seite) */
.home-layout { display: grid; gap: 24px; padding-top: 20px; align-items: start; }
@media (min-width: 960px) { .home-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 36px; }  }
.home-head h1 { font-size: clamp(1.8rem, 4.5vw, 2.4rem); margin: 0; }
.home-side { display: grid; gap: 16px; }
.side-box { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; display: grid; gap: 10px; }
.side-box h2 { font-size: 1.35rem; margin: 0; }
.side-box .meta { margin: -6px 0 0; }
.side-btn { justify-self: start; }
.side-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.side-list a { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 10px; align-items: center; color: var(--ink); text-decoration: none; min-height: 44px; }
.side-list a:hover strong { color: var(--blue-dark); text-decoration: underline; }
.side-list img { width: 96px; height: 72px; object-fit: cover; border-radius: 6px; background: var(--soft); }
.side-list span { display: grid; gap: 2px; min-width: 0; }
.side-list strong { font-size: .95rem; line-height: 1.3; overflow-wrap: anywhere; }
.footer-credit a { font-weight: 700; color: var(--deep); }

/* Partner (Werbekunden): eigener Abschnitt über der Fußzeile und Kasten auf der Startseite */
.partners { background: var(--soft); padding: 32px 0 36px; margin-top: 32px; }
.partners-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px 24px; flex-wrap: wrap; margin-bottom: 16px; }
.partners-head h2 { margin: 0 0 4px; font-size: 1.8rem; color: var(--deep); }
.partners-head p { margin: 0; color: var(--muted); max-width: 52ch; }
.partner-more { font: 700 1rem var(--f-head); letter-spacing: .06em; text-transform: uppercase; color: var(--deep); background: var(--yellow); border-radius: 999px; padding: 10px 18px; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.partner-more:hover { background: #ffdf6b; }
.partner-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 640px) { .partners .partner-list { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 992px) { .partners .partner-list { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; } }
.partner-list a { display: grid; place-items: center; aspect-ratio: 1; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 8px; box-shadow: 0 1px 3px rgba(13, 34, 53, .06); transition: transform .15s ease, box-shadow .15s ease; }
.partner-list a:hover, .partner-list a:focus-visible { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(13, 34, 53, .12); }
.partner-list img { width: 100%; height: 100%; object-fit: contain; border-radius: 4px; background: transparent; }
.partners-side .partner-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.partners-side .partner-more { justify-self: start; }
@media (prefers-reduced-motion: reduce) { .partner-list a { transition: none; } .partner-list a:hover { transform: none; } }

/* Sofortiges Feedback beim Drücken (nicht erst beim Loslassen), Apple „Response“ */
.btn, .album-card, }
.btn:active, .partner-more:active, .header-search:active, .years a:active { transform: scale(.96); }
.album-card:active, .tabbar a:active { transform: scale(.92); background: rgba(10, 143, 220, .1); }
.tabbar a:active svg { stroke: var(--blue-dark); }
@media (hover: hover) {
  .album-card:hover, .dir-card:hover { box-shadow: 0 6px 18px rgba(13, 34, 53, .1); }
}

/* Bedienungshilfen: Bewegung, Transparenz, Kontrast (Systemeinstellungen) */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; }
  .btn:active, .album-card:active, }
@media (prefers-reduced-transparency: reduce) {
  .site-header, .tabbar { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .lightbox button, .lightbox a { -webkit-backdrop-filter: none; backdrop-filter: none; background: #26323d; }
}
@media (prefers-contrast: more) {
  .site-header, .tabbar { background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .site-header { border-bottom-color: var(--ink); }
  .tabbar { border-top-color: var(--ink); }
  .album-card, .dir-card, }
.lightbox .lb-actions { display: inline-flex; gap: 8px; }
.lightbox .lb-zoom { font-size: 1.4rem; line-height: 1; }
.lightbox.is-zoomed .lb-stage { cursor: move; }
.lightbox .lb-zoom[aria-pressed="true"] { background: rgba(255, 210, 63, .9); color: var(--ink); }

/* Beiträge (E-38): Karte mit Bild(ern), Titel, Text, Rubrik und Datum */
.post { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.post.is-pinned { border: 2px solid var(--yellow); }
.post-media { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; background: var(--soft); }
.post-media::-webkit-scrollbar { display: none; }
.post-media > a, .post-media > img { flex: 0 0 100%; scroll-snap-align: start; display: block; }
.post-media img { width: 100%; height: auto; }
.post-media.is-multi > a, .post-media.is-multi > img { flex-basis: 88%; }
.post-media.is-multi img { aspect-ratio: 4 / 3; object-fit: cover; }
.post-hint { margin: 6px 14px 0; }
.post-body { padding: 14px 16px 4px; }
.post-title { font-size: 1.45rem; margin: 0 0 6px; }
.post-body .prose p:last-child { margin-bottom: .5em; }
.post-more { font-weight: 700; }
.post-meta { display: flex; gap: 12px; flex-wrap: wrap; padding: 6px 16px 12px; }
.post.no-media .post-body { padding-top: 16px; }
.static-page h2 { font-family: var(--f-head); font-size: 1.5rem; margin: 1.4em 0 .4em; }
.topic-archive { list-style: none; padding: 0; margin: 0; columns: 2 220px; column-gap: 24px; }
.topic-archive li { break-inside: avoid; padding: 4px 0; }
