/* Talerspur – Farben und Schriften nach 06-Corporate-Design.md. Alle Schriften liegen lokal. */

@font-face { font-family: "Fraunces"; font-weight: 600; font-display: swap; src: url("../fonts/fraunces-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Fraunces"; font-weight: 600; font-display: swap; src: url("../fonts/fraunces-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url("../fonts/inter-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url("../fonts/inter-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-weight: 500; font-display: swap; src: url("../fonts/inter-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-weight: 500; font-display: swap; src: url("../fonts/inter-latin-ext-500-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-weight: 700; font-display: swap; src: url("../fonts/inter-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-weight: 700; font-display: swap; src: url("../fonts/inter-latin-ext-700-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Plex Mono"; font-weight: 500; font-display: swap; src: url("../fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plex Mono"; font-weight: 500; font-display: swap; src: url("../fonts/ibm-plex-mono-latin-ext-500-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --tinte: #0B1730;
  --marine: #15294D;
  --gold: #E8B44C;
  --creme: #F5EFE0;
  --tuerkis: #3EC1B5;
  --koralle: #F0765A;
  --schiefer: #8D9CB8;
  --gold-dunkel: #8A6100;
  --schiefer-dunkel: #52617D;
  --linie: rgba(141, 156, 184, .22);
  --marke: "Fraunces", Georgia, serif;
  --text: "Inter", system-ui, sans-serif;
  --zahl: "Plex Mono", ui-monospace, monospace;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--tinte); color: var(--creme); font: 400 1.0625rem/1.65 var(--text); overflow-x: clip; }
img, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--gold); text-underline-offset: .18em; }
h1, h2, h3 { font-family: var(--marke); font-weight: 600; line-height: 1.1; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.9rem, 7.4vw, 5.6rem); line-height: 1.02; letter-spacing: -.01em; }
h1 .vorzeile { display: block; margin-bottom: 1.2rem; line-height: 1.4; }
h1 .zeile { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
h1 .zeile > span { display: block; }
h1 .gold { color: var(--gold); }
h2 { font-size: clamp(2rem, 4.4vw, 3.25rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--tuerkis); outline-offset: 3px; border-radius: 6px; }

.rahmen { width: min(1160px, 100% - 40px); margin-inline: auto; }
.rahmen.schmal { max-width: 820px; }
.unsichtbar { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.sprung { position: absolute; left: 12px; top: -80px; z-index: 30; background: var(--gold); color: var(--tinte); padding: 10px 16px; border-radius: 8px; }
.sprung:focus { top: 12px; }
.vorzeile { font: 500 .8rem/1.4 var(--zahl); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: .9rem; }
.einleitung { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: #C6CFE0; max-width: 36em; }

/* Knöpfe */
.knopf { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; border: 2px solid var(--gold); border-radius: 999px; background: var(--gold); color: var(--tinte); font: 700 1rem/1 var(--text); text-decoration: none; cursor: pointer; transition: transform .2s ease, background-color .2s ease, color .2s ease; }
.knopf:hover { transform: translateY(-2px); background: #F3CA70; border-color: #F3CA70; }
.knopf-leer { background: transparent; color: var(--creme); border-color: rgba(245, 239, 224, .35); }
.knopf-leer:hover { background: rgba(245, 239, 224, .08); border-color: var(--creme); }
.knopf-klein { min-height: 42px; padding: 0 20px; font-size: .92rem; }

/* Kopf */
.kopf { position: fixed; inset: 0 0 auto; z-index: 20; border-bottom: 1px solid transparent; transition: background-color .25s ease, border-color .25s ease; }
.kopf.fest { background: rgba(11, 23, 48, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--linie); }
.kopf-innen { display: flex; align-items: center; gap: 24px; height: 76px; }
.marke { display: flex; align-items: center; gap: 10px; color: var(--creme); text-decoration: none; font: 600 1.45rem/1 var(--marke); margin-right: auto; }
.marke svg { width: 30px; height: 30px; color: var(--gold); }
.kopf nav { display: flex; gap: 28px; }
.kopf nav a { color: #C6CFE0; text-decoration: none; font-weight: 500; font-size: .95rem; }
.kopf nav a:hover { color: var(--gold); }

/* Goldene Spur am linken Rand: füllt sich beim Scrollen */
.rail { display: none; }
main { position: relative; }

/* Startbereich */
.held { position: relative; padding-top: 108px; background:
    linear-gradient(rgba(141, 156, 184, .055) 1px, transparent 1px) 0 0 / 64px 64px,
    linear-gradient(90deg, rgba(141, 156, 184, .055) 1px, transparent 1px) 0 0 / 64px 64px; }
.held-raster { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); align-items: center; gap: 32px; min-height: min(760px, calc(100svh - 190px)); padding-block: 24px 48px; }
.held-bild { width: 100%; aspect-ratio: 11 / 10; }
.knoepfe { display: flex; flex-wrap: wrap; gap: 14px; margin: 2rem 0 1.4rem; }
.termin { display: flex; align-items: flex-start; gap: 12px; color: var(--schiefer); font-size: .95rem; }
.puls-punkt { flex: none; width: 10px; height: 10px; margin-top: .5em; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 0 rgba(232, 180, 76, .6); }

.band { border-block: 1px solid var(--linie); background: rgba(21, 41, 77, .55); overflow: hidden; }
.band-spur { display: flex; width: max-content; }
.band ul { display: flex; flex: none; }
.band li { display: flex; align-items: center; gap: 40px; padding: 18px 0 18px 40px; font: 600 1.25rem/1 var(--marke); white-space: nowrap; }
.band li::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); }

/* Abschnitte */
.abschnitt { padding-block: clamp(72px, 10vw, 136px) 0; }
.kopfzeile { margin-bottom: 2.6rem; max-width: 780px; }

.hell { background: var(--creme); color: var(--tinte); border-radius: 32px; padding: clamp(28px, 5.5vw, 72px); }
.hell .vorzeile { color: var(--gold-dunkel); }
.hell .einleitung { color: var(--schiefer-dunkel); }
.signaturen { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 3rem; position: relative; }
.signaturen::before { content: ""; position: absolute; left: 0; right: 0; top: 9px; height: 3px; background: var(--tinte); border-radius: 3px; }
.signaturen li { position: relative; padding: 44px 24px 0 0; }
.signaturen li::before { content: ""; position: absolute; left: 0; top: 0; width: 21px; height: 21px; border-radius: 50%; background: var(--creme); border: 4px solid var(--tinte); }
.signaturen .nummer { font: 500 .85rem var(--zahl); color: var(--gold-dunkel); }
.signaturen h3 { margin-top: .35rem; }
.signaturen p { color: var(--schiefer-dunkel); font-size: .98rem; }

/* Geldfluss-Schema */
.fluss { border: 1px solid var(--linie); border-radius: 28px; background: linear-gradient(180deg, rgba(21, 41, 77, .85), rgba(21, 41, 77, .4)); padding: clamp(18px, 3.5vw, 40px); }
.fluss-leiste { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 28px; }
.schritte { display: flex; flex-wrap: wrap; gap: 10px; }
.schritte button { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 18px 0 8px; border-radius: 999px; border: 1px solid var(--linie); background: rgba(11, 23, 48, .6); color: #C6CFE0; font: 500 .98rem var(--text); cursor: pointer; }
.schritte button span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--marine); font: 500 .85rem var(--zahl); }
.schritte button[aria-pressed="true"] { border-color: var(--gold); color: var(--creme); }
.schritte button[aria-pressed="true"] span { background: var(--gold); color: var(--tinte); }
.vermerk { margin: 0; padding: 4px 14px; border: 1px solid rgba(141, 156, 184, .5); border-radius: 999px; color: var(--schiefer); font-size: .82rem; font-weight: 500; }

.buehne { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 1fr); align-items: stretch; gap: 18px; }
.bank { background: var(--tinte); border: 1px solid var(--linie); border-radius: 18px; padding: 22px; }
.bank h3 { display: flex; align-items: center; gap: 10px; }
.bank h3::before { content: ""; width: 26px; height: 22px; background: var(--creme); clip-path: polygon(50% 0, 100% 32%, 100% 44%, 88% 44%, 88% 84%, 100% 84%, 100% 100%, 0 100%, 0 84%, 12% 84%, 12% 44%, 0 44%, 0 32%); }
.posten { border-top: 1px solid var(--linie); padding-top: 12px; margin-top: 12px; }
.posten span { display: block; color: var(--schiefer); font-size: .85rem; }
.posten b { display: block; font: 500 clamp(1.5rem, 2.8vw, 2rem)/1.3 var(--zahl); transition: color .3s ease; }
.posten.leer b { color: var(--schiefer); }
.posten.neu b { color: var(--gold); }

.kanaele { display: flex; flex-direction: column; justify-content: center; gap: 22px; }
.kanal { text-align: center; }
.kanal-name { display: block; font: 700 .9rem var(--text); }
.kanal-info { display: block; color: var(--schiefer); font-size: .85rem; line-height: 1.4; min-height: 2.8em; }
.kanal-giral .kanal-name { color: var(--gold); }
.kanal-zentral .kanal-name { color: var(--tuerkis); }
.leitung { position: relative; display: block; height: 8px; margin: 10px 0 8px; border-radius: 8px; background: rgba(141, 156, 184, .18); overflow: hidden; }
.leitung i { position: absolute; top: 0; left: -14%; width: 12%; height: 100%; border-radius: 8px; opacity: 0; }
.kanal-giral i { background: var(--gold); }
.kanal-zentral i { background: var(--tuerkis); }
.fluss[data-schritt="2"] .leitung { background: rgba(141, 156, 184, .3); }
.fluss[data-schritt="2"] .leitung i { opacity: 1; animation: wandern 1.8s linear infinite; }
.leitung i:nth-child(2) { animation-delay: -.6s !important; }
.leitung i:nth-child(3) { animation-delay: -1.2s !important; }
@keyframes wandern { from { left: -14%; } to { left: 102%; } }

.fluss-fuss { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 20px 32px; margin-top: 28px; align-items: start; }
.zaehler { grid-row: span 2; border: 2px solid var(--gold); border-radius: 18px; padding: 20px 22px; }
.zaehler span { display: block; color: #C6CFE0; font-size: .9rem; }
.zaehler b { display: block; margin-top: 6px; font: 500 clamp(2rem, 4.4vw, 3.1rem)/1.1 var(--zahl); color: var(--gold); }
.erklaerung { min-height: 9.5em; }
.erklaerung p { color: #C6CFE0; }
.erklaerung .quelle, .grenzen { font-size: .85rem; color: var(--schiefer); }
.erklaerung .quelle { color: var(--schiefer); }
.weiter { justify-self: start; }
.grenzen { margin-top: 18px; max-width: 70em; }

/* Folgen */
.folgen { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.folgen li { background: var(--marine); border: 1px solid var(--linie); border-radius: 24px; overflow: hidden; transition: transform .3s ease, border-color .3s ease, opacity .6s ease; }
.folgen li:hover { transform: translateY(-5px); border-color: rgba(232, 180, 76, .7); }
.folgen img { width: 100%; }
.folgen li > div { padding: 20px 26px 24px; }
.folgen h3 { margin: 0; }
.marke-klein { font: 500 .76rem var(--zahl); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin-bottom: .5rem; }

.serie { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: center; gap: 32px; margin-top: 28px; padding: clamp(26px, 4vw, 48px); border: 1px dashed rgba(232, 180, 76, .55); border-radius: 24px; }
.serie p:last-child { color: #C6CFE0; margin: 0; }
.serie svg { width: 100%; }

/* Fragen */
.fragen details { border-bottom: 1px solid var(--linie); }
.fragen details:first-child { border-top: 1px solid var(--linie); }
.fragen summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; cursor: pointer; font: 600 1.2rem/1.35 var(--marke); list-style: none; }
.fragen summary::-webkit-details-marker { display: none; }
.fragen summary::after { content: "+"; flex: none; font: 400 1.8rem/1 var(--text); color: var(--gold); transition: transform .25s ease; }
.fragen details[open] summary::after { transform: rotate(45deg); }
.fragen details p { color: #C6CFE0; padding-bottom: 8px; }

.schluss { text-align: center; padding-bottom: clamp(80px, 10vw, 130px); }
.schluss-bild { max-width: 760px; margin: -20px auto 6px; aspect-ratio: 20 / 7; }
.schluss .einleitung { margin-inline: auto; margin-bottom: 2rem; }

.fuss { border-top: 1px solid var(--linie); background: #08122A; }
.fuss-innen { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 28px; padding-block: 34px; }
.fuss p { margin: 0; }
.fuss strong { font: 600 1.15rem var(--marke); }
.fuss nav { display: flex; flex-wrap: wrap; gap: 24px; }
.fuss nav a { display: inline-block; padding-block: 8px; }
.fuss .klein { width: 100%; color: var(--schiefer); font-size: .85rem; }

/* Rechtsseiten */
.rechtsseite { padding: 132px 0 90px; }
.rechtsseite .rahmen { max-width: 760px; }
.rechtsseite h1 { font-size: clamp(2.1rem, 6vw, 3.6rem); hyphens: manual; overflow-wrap: break-word; }
.rechtsseite h2 { font-size: 1.5rem; margin-top: 2.4rem; }
.rechtsseite h3 { font-size: 1.15rem; margin-top: 1.6rem; }
.rechtsseite p, .rechtsseite li { color: #C6CFE0; }
.rechtsseite ul { list-style: disc; padding-left: 1.2em; margin-bottom: 1rem; }
.offen { background: var(--koralle); color: var(--tinte); border-radius: 4px; padding: 0 .35em; font-weight: 700; }

/* Filme (mit HyperFrames gerendert): Standbild darunter, Video darüber */
.film { position: relative; }
.film img, .film video { display: block; width: 100%; height: 100%; object-fit: cover; }
.film video { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.film video.sichtbar { opacity: 1; }
.film.spielt img { visibility: hidden; }
.film.bereit img { opacity: 0; }
/* Dunkler Videohintergrund verschmilzt mit der Seite */
.held-bild, .schluss-bild { mix-blend-mode: lighten; }
/* Ränder weich auslaufen lassen, damit keine Videokante sichtbar ist */
.held-bild { -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent), linear-gradient(transparent, #000 7%, #000 93%, transparent); -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent), linear-gradient(transparent, #000 7%, #000 93%, transparent); mask-composite: intersect; }
.schluss-bild { -webkit-mask-image: radial-gradient(closest-side, #000 45%, transparent 100%); mask-image: radial-gradient(closest-side, #000 45%, transparent 100%); }
.folgen .film { aspect-ratio: 16 / 9; background: var(--tinte); }

/* Knopf zum Anhalten aller Bewegungen */
.halt { position: fixed; right: 16px; bottom: 16px; z-index: 25; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px; border: 1px solid var(--linie); border-radius: 999px; background: rgba(11, 23, 48, .88); color: var(--creme); font: 500 .85rem var(--text); cursor: pointer; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.halt[hidden] { display: none; }
.halt > span:first-child { width: 10px; height: 12px; border-inline: 3px solid var(--gold); }
.halt[aria-pressed="true"] > span:first-child { width: 0; height: 0; border-block: 6px solid transparent; border-left: 10px solid var(--gold); border-right: 0; }
body.still *, body.still *::before, body.still *::after { animation-play-state: paused !important; }

/* Handy: Knopf nur als Symbol, Text bleibt für Vorlesehilfen */
@media (max-width: 720px) {
  .halt { right: 12px; bottom: 12px; width: 44px; height: 44px; padding: 0; justify-content: center; }
  .halt-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .fuss { padding-bottom: 76px; }
}

/* Karten: Neigung und Lichtfleck folgen dem Zeiger */
.folgen li { position: relative; }
.folgen li.neigt { transform: perspective(900px) rotateX(var(--kx, 0deg)) rotateY(var(--ky, 0deg)) translateY(-5px); transition: transform .12s ease-out, border-color .3s ease; }
.folgen li::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s ease; background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(232, 180, 76, .16), transparent 60%); }
.folgen li.neigt::after { opacity: 1; }

/* Münzen, die im Schema fliegen */
.buehne { position: relative; }
.flugmuenze { position: absolute; left: 0; top: 0; z-index: 3; width: 18px; height: 18px; margin: -9px; border-radius: 50%; pointer-events: none; background: radial-gradient(circle at 35% 30%, #FBE0A0, var(--gold) 55%, #A97F2C); box-shadow: 0 0 14px rgba(232, 180, 76, .7); }
.flugmuenze.zentral { background: radial-gradient(circle at 35% 30%, #A8F0E8, var(--tuerkis) 55%, #217068); box-shadow: 0 0 14px rgba(62, 193, 181, .7); }
.posten.blitz { animation: blitz .9s ease-out; }
@keyframes blitz { 30% { box-shadow: 0 0 0 2px var(--gold), 0 0 30px rgba(232, 180, 76, .45); } }
.posten { border-radius: 8px; }

/* Einblenden beim Scrollen (nur Elemente, die beim Laden unterhalb des Fensters liegen) */
.zeige { transition: opacity .7s ease, transform .7s cubic-bezier(.22, 1, .36, 1); }
.zeige.wartet { opacity: 0; transform: translateY(30px); }

@media (min-width: 1100px) {
  .rahmen { width: min(1160px, 100% - 160px); }
  .rail { display: block; position: absolute; z-index: 1; top: 0; bottom: 0; left: 36px; width: 4px; background: rgba(141, 156, 184, .14); pointer-events: none; }
  .rail-spur { position: sticky; top: 0; height: 100vh; }
  .rail-spur::before { content: ""; position: absolute; left: 0; top: 0; width: 4px; height: var(--spur, 0%); background: var(--gold); border-radius: 4px; }
  .rail-spur::after { content: ""; position: absolute; left: -6px; top: calc(var(--spur, 0%) - 8px); width: 16px; height: 16px; border-radius: 50%; background: var(--gold); }
}

@media (max-width: 960px) {
  .kopf nav { display: none; }
  .held-raster { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .held-bild { max-width: 640px; margin-inline: auto; }
  .signaturen { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .signaturen::before { display: none; }
}

@media (max-width: 720px) {
  .buehne { grid-template-columns: minmax(0, 1fr); }
  .kanaele { padding-block: 6px; }
  .fluss[data-schritt="2"] .leitung i { animation-name: wandern; }
  .fluss-fuss { grid-template-columns: minmax(0, 1fr); }
  .zaehler { grid-row: auto; }
  .erklaerung { min-height: 0; }
  .weiter { justify-self: stretch; }
  .folgen, .serie, .signaturen { grid-template-columns: minmax(0, 1fr); }
  /* Auf dem Handy läuft die Linie senkrecht durch die vier Stationen */
  .signaturen { row-gap: 28px; margin-top: 2rem; }
  .signaturen li { padding: 0 0 0 40px; }
  .signaturen li::before { top: 1px; }
  .signaturen li:not(:last-child)::after { content: ""; position: absolute; left: 9px; top: 22px; bottom: -29px; width: 3px; background: var(--tinte); }
  .nur-breit { display: none; }
}

@media (prefers-reduced-motion: no-preference) {
  /* Standbild erst zeigen, wenn das Video nicht startet */
  .held-bild:not(.standbild) img { animation: spaet .4s 2.5s both; }
  @keyframes spaet { from { opacity: 0; } to { opacity: 1; } }

  h1 .vorzeile { animation: auf .7s .05s both; }
  h1 .zeile > span { animation: zeile .9s cubic-bezier(.22, 1, .36, 1) both; }
  h1 .zeile:nth-of-type(2) > span { animation-delay: .15s; }
  h1 .zeile:nth-of-type(3) > span { animation-delay: .28s; }
  h1 .zeile:nth-of-type(4) > span { animation-delay: .41s; }
  .held-text > .einleitung { animation: auf .8s .6s both; }
  .held-text > .knoepfe { animation: auf .8s .75s both; }
  .held-text > .termin { animation: auf .8s .9s both; }
  @keyframes zeile { from { transform: translateY(110%); } }
  @keyframes auf { from { opacity: 0; transform: translateY(22px); } }

  /* Die vier Stationen: Linie zeichnet sich, Punkte folgen */
  .signaturen::before { transform-origin: left; transition: transform 1.6s cubic-bezier(.65, 0, .35, 1) .2s; }
  .signaturen li { transition: opacity .6s ease, translate .6s ease; }
  .signaturen li::before { transition: scale .45s cubic-bezier(.34, 1.8, .64, 1), background-color .4s ease; }
  .signaturen.wartet-linie::before { transform: scaleX(0); }
  .signaturen.wartet-linie li { opacity: 0; translate: 0 18px; }
  .signaturen.wartet-linie li::before { scale: 0; }
  .signaturen li:nth-child(1), .signaturen li:nth-child(1)::before { transition-delay: .35s; }
  .signaturen li:nth-child(2), .signaturen li:nth-child(2)::before { transition-delay: .7s; }
  .signaturen li:nth-child(3), .signaturen li:nth-child(3)::before { transition-delay: 1.05s; }
  .signaturen li:nth-child(4), .signaturen li:nth-child(4)::before { transition-delay: 1.4s; }

  /* Serie: Linie zeichnet sich, wenn sie sichtbar wird */
  .serie-spur { stroke-dasharray: 100 100; transition: stroke-dashoffset 1.8s ease .2s; }
  .serie.wartet .serie-spur { stroke-dashoffset: 100; }

  .knopf:not(.knopf-leer):not(.knopf-klein) { position: relative; overflow: hidden; }
  .knopf:not(.knopf-leer):not(.knopf-klein)::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, .55) 50%, transparent 65%); transform: translateX(-110%); animation: glanz 4.5s ease-in-out 2s infinite; }
  @keyframes glanz { 22%, 100% { transform: translateX(110%); } }

  .band-spur { animation: laufband 40s linear infinite; }
  .band:hover .band-spur { animation-play-state: paused; }
  .puls-punkt { animation: pochen 2.2s ease-out infinite; }
  @keyframes laufband { to { transform: translateX(-50%); } }
  @keyframes pochen { 70% { box-shadow: 0 0 0 12px rgba(232, 180, 76, 0); } 100% { box-shadow: 0 0 0 0 rgba(232, 180, 76, 0); } }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .fluss[data-schritt="2"] .leitung i:nth-child(1) { left: 15%; }
  .fluss[data-schritt="2"] .leitung i:nth-child(2) { left: 45%; }
  .fluss[data-schritt="2"] .leitung i:nth-child(3) { left: 75%; }
}
