/* NOCHMAL · Luca Brandner (Beispiel) · lp-261
   Schrift-Ordnung und Farben als Variablen (SCHRIFT.md in der Werkstatt). Jede Größe kommt nur von dort. */

@font-face { font-family: "Big Shoulders Display"; src: url("../fonts/big-shoulders-display-var.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url("../fonts/ibm-plex-sans-var.woff2") format("woff2"); font-weight: 100 700; font-style: normal; font-display: swap; }

:root {
  --ruhe: #007A87; --belastung: #D23C18; --spitze: #C4124F;
  --grund: var(--ruhe);
  --tinte: #0B1215; --hell: #F3F5EF; --akzent: #E4FF3A; --weiss: #fff;
  --u: min(1vw, 16px);
  --seite: max(0px, (100vw - 1600px) / 2);
  --rand: calc(var(--seite) + max(20px, 4 * var(--u)));
  --g-wort: clamp(4.5rem, min(24.4 * var(--u), 46svh), 24.4rem);
  --g-wort2: clamp(3.25rem, min(10.5 * var(--u), 20svh), 10.5rem);
  --g-zeile: clamp(2.25rem, min(5 * var(--u), 10svh), 5rem);
  --g-ueber: clamp(2rem, min(4.2 * var(--u), 8svh), 4.2rem);
  --g-text: clamp(1.0625rem, 1.15 * var(--u), 1.1875rem);
  --g-klein: 0.875rem;
  --a1: 8px; --a2: 16px; --a3: 24px; --a4: 40px; --a5: 64px; --a6: 104px; --a7: 168px;
  --kopf: 72px;
  --titel: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --text: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
}
html[data-zone="belastung"] { --grund: var(--belastung); }
html[data-zone="spitze"] { --grund: var(--spitze); }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: var(--kopf); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--grund); color: var(--weiss); font: 400 var(--g-text)/1.5 var(--text); overflow-x: clip; }
img, canvas, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--akzent); outline-offset: 3px; border-radius: 4px; }
.training :focus-visible { outline-color: var(--tinte); }
.rand { padding-inline: var(--rand); }
.klein { font-size: var(--g-klein); opacity: 0.86; }
h2 { font: 800 var(--g-ueber)/0.98 var(--titel); letter-spacing: 0.005em; text-wrap: balance; margin-bottom: var(--a3); }
h3 { font: 800 clamp(1.625rem, 2.4 * var(--u), 2.5rem)/1 var(--titel); letter-spacing: 0.01em; }
main { position: relative; z-index: 1; }
section { position: relative; }

.sprung { position: absolute; left: var(--rand); top: -80px; z-index: 50; background: var(--akzent); color: var(--tinte); padding: 12px 18px; border-radius: 999px; font-weight: 600; }
.sprung:focus { top: 12px; }

/* Pulswelle: färbt die ganze Seite um, wenn die Zone wechselt */
.welle { position: fixed; inset: 0; z-index: 0; pointer-events: none; visibility: hidden; }

/* Knöpfe: ein gefüllter Typ, zweite Aktion als Rahmen */
.knopf { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; border: 0; border-radius: 999px; background: var(--akzent); color: var(--tinte); font: 600 1.0625rem/1 var(--text); text-decoration: none; cursor: pointer; transition: transform 0.18s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.18s; box-shadow: 0 0 0 0 rgb(11 18 21 / 0.35); }
.knopf:hover { transform: translateY(-2px); box-shadow: 0 6px 0 0 rgb(11 18 21 / 0.35); }
.knopf:active { transform: translateY(1px) scale(0.98); box-shadow: 0 0 0 0 rgb(11 18 21 / 0.35); }
.knopf-klein { min-height: 52px; padding: 0 22px; font-size: 0.9375rem; }
.knopf-rahmen { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border: 2px solid currentColor; border-radius: 999px; background: none; color: inherit; font: 600 1rem/1 var(--text); cursor: pointer; transition: background 0.18s, color 0.18s, transform 0.18s; }
.knopf-rahmen:hover { background: var(--weiss); color: var(--tinte); border-color: var(--weiss); }
.training .knopf-rahmen:hover { background: var(--tinte); color: var(--weiss); border-color: var(--tinte); }
.knopf-rahmen:active { transform: scale(0.97); }

/* Kopfzeile: drei ruhige Pillen */
.leiste { position: fixed; z-index: 30; top: 10px; left: var(--rand); right: var(--rand); height: 52px; display: flex; align-items: center; gap: 10px; pointer-events: none; }
.leiste > * { pointer-events: auto; }
.marke { display: inline-flex; align-items: baseline; gap: 8px; height: 52px; padding: 14px 20px 0; border-radius: 999px; background: var(--tinte); color: var(--weiss); font: 900 1.625rem/1 var(--titel); letter-spacing: 0.03em; text-decoration: none; }
.marke small { font: 500 0.6875rem/1 var(--text); letter-spacing: 0; opacity: 0.72; }
.leiste-nav { margin-left: auto; display: flex; align-items: center; height: 52px; padding: 0 8px; border-radius: 999px; background: var(--tinte); }
.leiste-nav a { display: inline-flex; align-items: center; height: 44px; padding: 0 14px; border-radius: 999px; font-size: 0.9375rem; font-weight: 500; text-decoration: none; transition: color 0.15s; }
.leiste-nav a:hover { color: var(--akzent); }
.messer { position: relative; overflow: hidden; display: flex; align-items: center; gap: 14px; height: 52px; padding: 0 20px 0 12px; border-radius: 999px; background: var(--tinte); }
.messer-figur { width: 22px; height: 44px; }
.messer-wert { display: inline-flex; align-items: baseline; gap: 6px; }
.messer-wert b { min-width: 2ch; text-align: right; font: 800 1.625rem/1 var(--titel); color: var(--akzent); font-variant-numeric: tabular-nums; }
.messer-wert span { font-size: 0.75rem; opacity: 0.82; }
.messer-puls b { min-width: 3ch; }
.herz { width: 15px; height: 15px; align-self: center; color: var(--akzent); animation: schlag var(--takt, 1.03s) infinite cubic-bezier(0.3, 0, 0.3, 1); }
@keyframes schlag { 0%, 100% { scale: 1; } 12% { scale: 1.28; } 28% { scale: 0.96; } 40% { scale: 1.12; } 60% { scale: 1; } }
.messer-lade { position: absolute; left: 0; bottom: 0; height: 3px; width: calc(var(--lade, 0) * 100%); background: var(--akzent); transition: opacity 0.5s 0.3s; }
.messer.geladen .messer-lade { opacity: 0; }
.messer.treffer #zaehler { animation: treffer 0.5s cubic-bezier(0.2, 1.6, 0.4, 1); }
@keyframes treffer { 0% { scale: 1; } 35% { scale: 1.5; } 100% { scale: 1; } }
html.still .herz, html.still .wort-i, html.still .wink-rad::after { animation-play-state: paused; }

/* 1 · oben */
.oben { height: 340svh; }
.oben-buehne { position: sticky; top: 0; height: 100svh; overflow-x: clip; }   /* nach unten offen: die Scheibe liegt über der Naht und wird nie gerade abgeschnitten */
.wort { position: absolute; left: 0; right: 0; top: calc(var(--kopf) + 3.5svh); text-align: center; white-space: nowrap; user-select: none; font: 900 var(--g-wort)/0.78 var(--titel); letter-spacing: 0.01em; color: var(--akzent); transform: translate3d(0, calc(var(--wy, 0) * 1px), 0) scaleY(var(--ws, 1)); transform-origin: 50% 100%; will-change: transform; }
.wort-i { display: inline-block; transform: translate3d(calc(var(--mx, 0) * -16px), calc(var(--my, 0) * -9px), 0); animation: atmen 5.5s ease-in-out infinite; }
@keyframes atmen { 50% { scale: 1.014; } }
.fig { position: absolute; aspect-ratio: 586 / 1413; }
.fig-bild, .fig-flaeche { position: absolute; inset: 0; width: 100%; height: 100%; }
.fig.laeuft .fig-bild { visibility: hidden; }
html:not(.js) .fig-flaeche, html.ruhig .fig-flaeche { display: none; }
.fig-schatten { position: absolute; left: 10%; right: 10%; bottom: -1%; height: 3.6%; background: radial-gradient(closest-side, rgb(0 0 0 / 0.36), rgb(0 0 0 / 0)); transform: scaleX(calc(1 + var(--hocke, 0) * 0.32)); }
.fig-kopf { height: 93svh; bottom: -0.4svh; left: 64%; margin-left: calc(93svh * -0.2074); z-index: 2; transform: scale(calc(1.13 - var(--hub, 0) * 0.13)); transform-origin: 50% 99.2%; }
.vorn { position: absolute; z-index: 3; width: 36svh; height: auto; right: calc(var(--rand) - 12svh); bottom: -17svh; transform: translate3d(calc(var(--mx, 0) * 28px), calc(var(--my, 0) * 14px), 0) rotate(-14deg); }
.oben-text { position: absolute; z-index: 4; left: var(--rand); bottom: 7.5svh; width: min(44rem, 46vw); }
h1 { font: 800 var(--g-zeile)/0.94 var(--titel); letter-spacing: 0.005em; text-wrap: balance; margin-bottom: var(--a3); }
.oben-zeile { max-width: 31rem; margin-bottom: var(--a2); }
.oben-beleg { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; margin-bottom: var(--a3); font-size: var(--g-klein); }
.oben-beleg b { font: 800 1.75rem/1 var(--titel); color: var(--akzent); }
.oben-beleg i { align-self: center; width: 7px; height: 7px; margin-inline: 6px; border-radius: 50%; background: var(--weiss); opacity: 0.7; }
.oben-satz { margin-top: var(--a2); font-size: var(--g-klein); opacity: 0.9; max-width: 28rem; }
.oben-wink { position: absolute; z-index: 4; right: var(--rand); bottom: 24svh; display: flex; align-items: center; gap: 10px; font-size: var(--g-klein); font-weight: 500; transition: opacity 0.4s; }
html.gescrollt .oben-wink { opacity: 0; }
.wink-rad { position: relative; width: 20px; height: 32px; border: 2px solid currentColor; border-radius: 999px; }
.wink-rad::after { content: ""; position: absolute; left: 50%; top: 6px; width: 4px; height: 7px; margin-left: -2px; border-radius: 2px; background: var(--akzent); animation: rad 1.6s ease-in-out infinite; }
@keyframes rad { 0% { translate: 0 0; opacity: 1; } 70%, 100% { translate: 0 10px; opacity: 0; } }
/* Auftakt nur als Schub, nie unsichtbar (der Kernsatz ist das größte Element beim Laden) */
html.js .oben-text > * { animation: schub 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) backwards; }
html.js .oben-text > :nth-child(2) { animation-delay: 0.05s; }
html.js .oben-text > :nth-child(3) { animation-delay: 0.1s; }
html.js .oben-text > :nth-child(4) { animation-delay: 0.15s; }
html.js .oben-text > :nth-child(5) { animation-delay: 0.2s; }
@keyframes schub { from { translate: 0 22px; } }

/* 2 · vormachen */
.vor { height: 480svh; }
.vor-buehne { position: sticky; top: 0; height: 100svh; overflow: clip; display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: var(--a4); padding: var(--kopf) var(--rand) 0; }
.vor-figur { position: relative; }
.fig-vor { height: 88svh; bottom: -0.4svh; left: 50%; margin-left: calc(88svh * -0.2074); }
.mass { position: absolute; left: -34%; right: -34%; top: calc(var(--oben, 0.177) * 100%); border-top: 2px dashed rgb(255 255 255 / 0.55); pointer-events: none; }
.mass b { position: absolute; left: 0; bottom: 6px; font: 800 1.75rem/1 var(--titel); color: var(--akzent); font-variant-numeric: tabular-nums; }
.mass small { position: absolute; left: 0; top: 8px; font-size: 0.75rem; opacity: 0.85; white-space: nowrap; }
.hinweis { position: absolute; z-index: 3; right: var(--hx); top: var(--hy); padding: 7px 14px; border-radius: 999px; background: var(--akzent); color: var(--tinte); font-size: 0.875rem; font-weight: 600; line-height: 1.2; white-space: nowrap; transition: opacity 0.25s, transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1); pointer-events: none; }
.hinweis.rechts { right: auto; left: var(--hx); }
html.js .hinweis { opacity: 0; transform: translate3d(10px, 0, 0); }
html.js .hinweis.rechts { transform: translate3d(-10px, 0, 0); }
html.js .hinweis.an { opacity: 1; transform: none; }
.hinweis::after { content: ""; position: absolute; top: 50%; right: -22px; width: 22px; height: 2px; background: var(--akzent); }
.hinweis.rechts::after { right: auto; left: -22px; }
.h-c1 { --hx: 84%; --hy: 40%; }
.h-c2 { --hx: 86%; --hy: 25%; }
.h-k1 { --hx: 88%; --hy: 79%; }
.h-k2 { --hx: 80%; --hy: 62%; }
.h-k3 { --hx: 82%; --hy: 95%; }
.h-t1 { --hx: 82%; --hy: 13%; }
.h-t2 { --hx: 78%; --hy: 49%; }
.vor-text { align-self: center; padding-bottom: 4svh; }
.vor-rolle { height: calc(var(--g-wort2) * 0.86); overflow: clip; margin-bottom: var(--a3); font: 900 var(--g-wort2)/0.86 var(--titel); letter-spacing: 0.01em; color: var(--akzent); }
.vor-namen { transform: translate3d(0, calc(var(--uebung, 0) * -33.3333%), 0); transition: transform 0.7s cubic-bezier(0.2, 0.9, 0.2, 1); }
.vor-namen span { display: block; height: calc(var(--g-wort2) * 0.86); white-space: nowrap; }
.vor-karten { position: relative; min-height: 13.5rem; max-width: 36rem; }
.vor-karte { transition: opacity 0.3s, transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1); }
html.js .vor-karte { position: absolute; inset: 0 0 auto 0; opacity: 0; transform: translate3d(0, 16px, 0); pointer-events: none; }
html.js .vor-karte.an { opacity: 1; transform: none; pointer-events: auto; }
.vor-karte h3 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.vor-karte > p { font-size: clamp(1.125rem, 1.5 * var(--u), 1.375rem); line-height: 1.4; margin-bottom: var(--a3); }
.vor-karte dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--a2); border-top: 1px solid rgb(255 255 255 / 0.35); padding-top: var(--a2); }
.vor-karte dt { font-size: 0.75rem; opacity: 0.82; }
.vor-karte dd { font-weight: 600; line-height: 1.3; }
.vor-fuss { display: flex; align-items: center; gap: var(--a3); margin-top: var(--a3); }
.vor-satz { display: flex; gap: 8px; }
.vor-satz li { width: 44px; height: 6px; border-radius: 3px; background: rgb(255 255 255 / 0.3); transition: background 0.3s; }
.vor-satz li.an { background: var(--akzent); }

/* 3 · mehr: Seitwärtsfahrt */
.mehr { height: 460svh; }
.mehr-buehne { position: sticky; top: 0; height: 100svh; overflow: clip; }
.mehr-kopf { position: absolute; z-index: 3; left: var(--rand); right: var(--rand); top: calc(var(--kopf) + 3svh); display: flex; justify-content: space-between; align-items: baseline; gap: var(--a3); }
.mehr-kopf h2 { margin: 0; max-width: 22ch; }
.mehr-stand { font-size: var(--g-klein); white-space: nowrap; }
.mehr-stand b { font: 800 2.25rem/1 var(--titel); color: var(--akzent); margin-right: 4px; }
.mehr-band { display: flex; width: 400vw; height: 100%; transform: translate3d(calc(var(--p, 0) * -300vw), 0, 0); will-change: transform; }
.tafel { position: relative; flex: 0 0 100vw; height: 100%; }
.tafel-wort { position: absolute; top: 29svh; font: 900 min(21 * var(--u), 44svh)/0.8 var(--titel); color: rgb(0 0 0 / 0.17); white-space: nowrap; user-select: none; transform: translate3d(calc(var(--l, 0) * 11vw), 0, 0); }
.tafel-fig { position: absolute; bottom: 5svh; transform: translate3d(calc(var(--l, 0) * -12vw), 0, 0); }
.tafel-fig img { position: relative; width: 100%; height: auto; }
.schatten { position: absolute; left: 4%; right: 4%; bottom: -2.5%; height: 7%; background: radial-gradient(closest-side, rgb(0 0 0 / 0.34), rgb(0 0 0 / 0)); }
.tafel-text { position: absolute; z-index: 2; max-width: 23rem; transform: translate3d(calc(var(--l, 0) * 6vw), 0, 0); }
.tafel-text h3 { font-size: var(--g-ueber); margin-bottom: var(--a2); }
.tafel-zahl { margin-top: var(--a2); font-weight: 600; color: var(--akzent); }
.t-ausfall .tafel-wort { left: calc(var(--seite) + 12vw); }
.t-ausfall .tafel-fig { width: 53svh; right: calc(var(--seite) + 15vw); }
.t-ausfall .tafel-text { left: var(--rand); bottom: 11svh; }
.t-liege .tafel-wort { right: calc(var(--seite) + 14vw); top: 25svh; }
.t-liege .tafel-fig { width: min(70vw, 1120px); left: calc(var(--seite) + 22vw); bottom: 7svh; }
.t-liege .schatten { bottom: -6%; height: 16%; }
.t-liege .tafel-text { left: var(--rand); top: 31svh; }
.t-swing .tafel-wort { right: calc(var(--seite) + 13vw); }
.t-swing .tafel-fig { width: 35svh; left: calc(var(--seite) + 37vw); }
.t-swing .tafel-text { left: var(--rand); bottom: 11svh; }
.t-seit .tafel-wort { left: calc(var(--seite) + 14vw); top: 27svh; }
.t-seit .tafel-fig { width: 74svh; right: calc(var(--seite) + 9vw); bottom: 6svh; }
.t-seit .schatten { bottom: -3%; height: 9%; }
.t-seit .tafel-text { left: var(--rand); bottom: 11svh; }

/* 4 · training: Scheiben rollen herein */
.training { background: var(--hell); color: var(--tinte); padding-block: var(--a7) var(--a6); overflow: clip; }
.training h2 { max-width: 17ch; }
.scheiben { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--a4) clamp(24px, 5 * var(--u), 80px); margin-block: var(--a5) var(--a4); }
.scheibe { display: flex; flex-direction: column; align-items: flex-start; }
.scheibe-rolle { width: 100%; margin-bottom: var(--a3); transform: translate3d(calc((1 - var(--roll, 1)) * -115vw), 0, 0); will-change: transform; }
.scheibe-dreh { position: relative; aspect-ratio: 995 / 1000; border-radius: 50%; transform: rotate(calc((1 - var(--roll, 1)) * -480deg)); transition: box-shadow 0.3s; }
.scheibe-dreh img { width: 100%; height: 100%; }
.scheibe-dreh svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.scheibe-dreh text { font: 800 15.5px var(--titel); letter-spacing: 2.4px; fill: var(--akzent); text-anchor: middle; }
.scheibe.gewaehlt .scheibe-dreh { box-shadow: 0 0 0 5px var(--hell), 0 0 0 12px var(--tinte); animation: dreh 0.9s cubic-bezier(0.3, 0.7, 0.2, 1); }
@keyframes dreh { from { rotate: -360deg; } }
.scheibe h3 { margin-bottom: var(--a1); }
.scheibe p { margin-bottom: var(--a3); max-width: 26rem; }
.scheibe .knopf-rahmen { margin-top: auto; }
.scheibe.gewaehlt .knopf-rahmen { background: var(--tinte); color: var(--weiss); }

/* 5 · kanal */
.kanal { padding-top: var(--a7); overflow: clip; }
.kanal-raster { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: var(--a5); align-items: center; }
.kanal-zahl { margin-bottom: var(--a3); }
.kanal-zahl b { display: block; font: 900 var(--g-wort2)/0.86 var(--titel); color: var(--akzent); font-variant-numeric: tabular-nums; }
.kanal-zahl span { font-size: var(--g-klein); }
.kanal-text > p { max-width: 34rem; }
.kanal-liste { margin-top: var(--a4); max-width: 36rem; border-bottom: 1px solid rgb(255 255 255 / 0.4); }
.kanal-liste button { position: relative; display: flex; width: 100%; justify-content: space-between; align-items: baseline; gap: var(--a2); min-height: 60px; padding: 16px 0; border: 0; border-top: 1px solid rgb(255 255 255 / 0.4); background: none; color: inherit; font: 600 clamp(1.125rem, 1.5 * var(--u), 1.375rem)/1.2 var(--text); text-align: left; cursor: pointer; transition: padding 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), color 0.2s; }
.kanal-liste button small { font: 500 var(--g-klein)/1 var(--text); font-variant-numeric: tabular-nums; opacity: 0.85; }
.kanal-liste button:hover, .kanal-liste button.spielt { padding-left: 18px; color: var(--akzent); }
.kanal-liste button::before { content: ""; position: absolute; left: 0; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--akzent); scale: 0; transition: scale 0.2s; }
.kanal-liste button:hover::before, .kanal-liste button.spielt::before { scale: 1; }
.handy { position: relative; height: min(86svh, 800px); aspect-ratio: 832 / 1600; margin-inline: auto; transform: translate3d(0, calc((0.5 - var(--p, 0.5)) * 9svh), 0); }
.handy img { position: relative; z-index: 1; width: 100%; height: 100%; }
.handy-flaeche { position: absolute; z-index: 2; left: 34.3%; top: 12.2%; width: 31%; height: 35%; border-radius: 9% / 4.5%; background: var(--tinte); }
html:not(.js) .handy-flaeche, html.ruhig .handy-flaeche { display: none; }
.laufband { margin-top: var(--a5); padding-block: var(--a3); overflow: clip; }
.laufband-i { display: flex; gap: 5vw; width: max-content; font: 900 var(--g-wort2)/1 var(--titel); letter-spacing: 0.01em; white-space: nowrap; color: rgb(0 0 0 / 0.17); transform: translate3d(calc(var(--p, 0) * -46vw), 0, 0); }

/* 6 · luca */
.luca { padding-top: var(--a6); overflow: clip; }
.luca-raster { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: var(--a5); align-items: end; }
.luca-text { padding-bottom: var(--a6); }
.luca-text h2 { max-width: 20ch; }
.fuell { font: 500 clamp(1.3125rem, 2 * var(--u), 1.9375rem)/1.32 var(--text); max-width: 36rem; }
.fuell span { opacity: 0.3; transition: opacity 0.35s; }
.fuell span.an { opacity: 1; }
.luca-fakten { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--a3); margin-top: var(--a5); max-width: 40rem; }
.luca-fakten b { display: block; font: 800 clamp(2rem, 3.4 * var(--u), 3.25rem)/1 var(--titel); color: var(--akzent); }
.luca-fakten span { font-size: var(--g-klein); line-height: 1.35; display: block; margin-top: 6px; }
.luca-bild { position: relative; }
.luca-bild img { position: relative; height: min(84svh, 800px); width: auto; margin-inline: auto; transform: translate3d(0, calc((1 - var(--p, 1)) * 10svh), 0); }
.luca-wort { position: absolute; right: 18%; bottom: 16%; font: 900 min(30 * var(--u), 52svh)/0.8 var(--titel); color: rgb(0 0 0 / 0.17); white-space: nowrap; user-select: none; transform: translate3d(calc((1 - var(--p, 1)) * 14vw), 0, 0); }

/* 7 · pause */
.pause { background: var(--tinte); padding-block: var(--a7); }
.pause-raster { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: var(--a6); align-items: center; }
.pause-uhr { position: relative; width: min(100%, 27rem); aspect-ratio: 1; margin-inline: auto; }
.pause-uhr svg { width: 100%; height: 100%; }
.ring-grund { fill: none; stroke: rgb(255 255 255 / 0.14); stroke-width: 10; }
.ring-wert { fill: none; stroke: var(--akzent); stroke-width: 10; stroke-linecap: round; stroke-dasharray: 879.65; stroke-dashoffset: var(--rest, 879.65); }
.pause-zahl { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.pause-zahl b { font: 900 clamp(4.5rem, 10 * var(--u), 9rem)/0.9 var(--titel); color: var(--akzent); font-variant-numeric: tabular-nums; }
.pause-zahl span { font-size: var(--g-klein); opacity: 0.85; }
.pause-stand { min-height: 3.2em; margin-bottom: var(--a4); font-size: clamp(1.125rem, 1.5 * var(--u), 1.375rem); font-weight: 500; max-width: 30rem; }
.fragen { max-width: 40rem; border-bottom: 1px solid rgb(255 255 255 / 0.22); }
.fragen details { border-top: 1px solid rgb(255 255 255 / 0.22); }
.fragen summary { position: relative; display: block; padding: 20px 44px 20px 0; font-size: 1.1875rem; font-weight: 600; cursor: pointer; list-style: none; }
.fragen summary::-webkit-details-marker { display: none; }
.fragen summary::before, .fragen summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 18px; height: 2px; margin-top: -1px; background: var(--akzent); transition: rotate 0.3s cubic-bezier(0.2, 0.8, 0.2, 1); }
.fragen summary::after { rotate: 90deg; }
.fragen details[open] summary::after { rotate: 0deg; }
.fragen details p { padding: 0 44px 22px 0; opacity: 0.92; }

/* 8 · anfrage und Schluss */
.anfrage { padding-top: var(--a7); overflow: clip; }
.anfrage-raster { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: var(--a6); align-items: start; }
.protokoll h2 { max-width: 14ch; margin-bottom: var(--a5); }
.protokoll-kopf { font-weight: 600; padding-bottom: var(--a2); border-bottom: 1px solid rgb(255 255 255 / 0.4); }
.protokoll-werte { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--a2); margin-block: var(--a3) var(--a3); }
.protokoll-werte div { display: flex; flex-direction: column-reverse; }
.protokoll-werte dt { font-size: var(--g-klein); }
.protokoll-werte dd { font: 900 clamp(3.25rem, 7.5 * var(--u), 7rem)/0.92 var(--titel); color: var(--akzent); font-variant-numeric: tabular-nums; }
.formular { background: var(--tinte); padding: clamp(24px, 3 * var(--u), 44px); }
.feld { margin-bottom: var(--a3); }
.feld label { display: block; font-size: var(--g-klein); font-weight: 600; margin-bottom: 4px; }
.feld .frei { font-weight: 400; opacity: 0.75; }
.feld input, .feld select, .feld textarea { width: 100%; min-height: 48px; padding: 10px 0; border: 0; border-bottom: 2px solid rgb(255 255 255 / 0.5); border-radius: 0; background: var(--tinte); color: var(--weiss); font: 400 1.0625rem/1.4 var(--text); transition: border-color 0.2s; }
.feld textarea { resize: vertical; }
.feld input:focus-visible, .feld select:focus-visible, .feld textarea:focus-visible { outline: none; border-bottom-color: var(--akzent); box-shadow: 0 3px 0 0 var(--akzent); }
.feld [aria-invalid="true"] { border-bottom-color: var(--akzent); }
.feld-fehler { min-height: 1.3em; margin-top: 4px; font-size: var(--g-klein); color: var(--akzent); }
.formular-meldung { margin-top: var(--a2); font-weight: 600; min-height: 1.5em; }
.formular-meldung:focus { outline: none; }
.schluss { position: relative; height: 100svh; margin-top: var(--a5); overflow: clip; }
.wort-schluss { top: 9svh; }
.wort-schluss .wort-i { animation: none; }
.fig-schluss { height: 90svh; bottom: -0.4svh; left: 50%; margin-left: calc(90svh * -0.2074); z-index: 2; }
.schluss-satz { position: absolute; z-index: 3; left: var(--rand); bottom: 9svh; font: 800 var(--g-zeile)/0.94 var(--titel); }

/* Fuß */
.fuss { position: relative; z-index: 1; background: var(--tinte); padding-block: var(--a5); font-size: var(--g-klein); line-height: 1.7; }
.fuss-raster { display: grid; grid-template-columns: 1.4fr 1fr auto 1.2fr; gap: var(--a4); align-items: start; }
.fuss a { text-underline-offset: 3px; }
.fuss a:hover { color: var(--akzent); }
.zeichen-liste { display: flex; gap: 4px; }
.zeichen-link { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; transition: color 0.15s, background 0.15s; }
.zeichen-link:hover { background: rgb(255 255 255 / 0.1); }
.zeichen { width: 22px; height: 22px; }

/* Rechtliches */
.recht { max-width: 46rem; margin-inline: auto; padding: calc(var(--kopf) + var(--a5)) var(--rand) var(--a6); }
.recht h1 { margin-bottom: var(--a4); }
.recht h2 { font-size: clamp(1.5rem, 2.4 * var(--u), 2rem); margin-top: var(--a5); margin-bottom: var(--a2); }
.recht p, .recht dl { margin-bottom: var(--a2); }
.recht dt { font-size: var(--g-klein); opacity: 0.8; }
.recht dd { margin-bottom: var(--a1); }
.recht .hinweis-kasten { background: var(--tinte); padding: var(--a3); margin-bottom: var(--a4); }

/* Startbild ohne Springen: bis zum ersten Takt ist nur der erste Bildschirm in Ruhe sichtbar */
html.js:not(.bereit) .hinweis, html.js:not(.bereit) .welle { visibility: hidden; }

/* Ohne JavaScript und bei „weniger Bewegung“: alles steht, nichts ist angeheftet */
html:not(.js) .oben, html.ruhig .oben, html:not(.js) .vor, html.ruhig .vor, html:not(.js) .mehr, html.ruhig .mehr { height: auto; }
html:not(.js) .oben-buehne, html.ruhig .oben-buehne { position: relative; }
html:not(.js) .vor-buehne, html.ruhig .vor-buehne { position: relative; height: auto; min-height: 100svh; }
html:not(.js) .vor-rolle, html.ruhig .vor-rolle, html:not(.js) .vor-fuss, html.ruhig .vor-fuss, html:not(.js) .mass, html.ruhig .mass, html:not(.js) .hinweis, html.ruhig .hinweis, html:not(.js) .oben-wink, html.ruhig .oben-wink, html:not(.js) .mehr-stand, html.ruhig .mehr-stand, html:not(.js) .messer, html.ruhig .messer-figur, html.ruhig .kanal-liste, html:not(.js) .kanal-liste { display: none; }
html:not(.js) .vor-karten, html.ruhig .vor-karten { min-height: 0; }
html:not(.js) .vor-karte, html.ruhig .vor-karte { position: static; opacity: 1; transform: none; margin-bottom: var(--a4); pointer-events: auto; }
html:not(.js) .vor-karte h3, html.ruhig .vor-karte h3 { position: static; width: auto; height: auto; clip-path: none; margin-bottom: var(--a1); color: var(--akzent); }
html:not(.js) .mehr-buehne, html.ruhig .mehr-buehne { position: relative; height: auto; padding-top: var(--a6); }
html:not(.js) .mehr-kopf, html.ruhig .mehr-kopf { position: static; padding-inline: var(--rand); }
html:not(.js) .mehr-band, html.ruhig .mehr-band { width: 100%; flex-direction: column; transform: none; }
html:not(.js) .tafel, html.ruhig .tafel { flex: none; height: 100svh; min-height: 34rem; }
html.ruhig .wort-i, html.ruhig .herz { animation: none; }
html:not(.js) .oben-text > *, html.ruhig .oben-text > * { animation: none; }

/* Flaches Fenster */
@media (max-height: 620px) and (min-width: 821px) {
  .oben-zeile { display: none; }
  .oben-text { bottom: 5svh; }
  .oben-beleg { margin-bottom: var(--a2); }
  .vor-karten { min-height: 11rem; }
  .vor-text h2 { display: none; }
  .mehr-kopf h2 { font-size: 1.75rem; }
  .tafel-text p:not(.tafel-zahl) { display: none; }
}

/* Mittel: Menü weg */
@media (max-width: 1180px) { .leiste-nav { display: none; } .messer { margin-left: auto; } }

/* Handy */
@media (max-width: 820px) {
  :root { --kopf: 68px; --g-wort: min(23.6vw, 22svh); --a7: 112px; --a6: 72px; }
  .leiste { top: 8px; gap: 6px; }
  .marke { padding-inline: 14px; font-size: 1.375rem; }
  .marke small { display: none; }
  .messer { gap: 10px; padding: 0 14px 0 10px; }
  .messer-wert span { display: none; }
  .knopf-klein { padding: 0 16px; }
  .oben { height: 300svh; }
  .oben-text { left: var(--rand); right: var(--rand); width: auto; top: calc(var(--kopf) + 10px); bottom: auto; }
  h1 { margin-bottom: var(--a2); }
  .oben-zeile { margin-bottom: 12px; line-height: 1.4; }
  .oben-beleg { margin-bottom: var(--a2); }
  .oben-beleg b { font-size: 1.5rem; }
  .oben-satz { margin-top: 10px; }
  .wort { top: auto; bottom: 27svh; }
  .fig-kopf { height: 50svh; left: 50%; margin-left: calc(50svh * -0.2074); }
  .vorn { width: 20svh; right: -7svh; bottom: -9svh; }
  .oben-wink { display: none; }
  .vor { height: 420svh; }
  .vor-buehne { grid-template-columns: 1fr; grid-template-rows: 47svh auto; gap: 0; }
  .fig-vor { height: 45svh; margin-left: calc(45svh * -0.2074); }
  .mass { left: -70%; right: -70%; }
  .mass b { font-size: 1.375rem; }
  .hinweis { display: none; }
  .vor-text { align-self: start; padding: var(--a2) 0 0; }
  .vor-text h2 { display: none; }
  .vor-rolle { margin-bottom: 12px; }
  .vor-karten { min-height: 12.5rem; }
  .vor-karte > p { margin-bottom: 12px; font-size: 1.0625rem; }
  .vor-karte dl { gap: 10px; padding-top: 10px; font-size: 0.9375rem; }
  .vor-fuss { margin-top: 12px; }
  .mehr { height: auto; padding-top: var(--a6); }
  .mehr-buehne { position: relative; height: auto; }
  .mehr-kopf { position: static; padding-inline: var(--rand); margin-bottom: var(--a4); }
  .mehr-stand { display: none; }
  .mehr-band { width: 100%; flex-direction: column; transform: none; gap: var(--a6); }
  .tafel { flex: none; height: auto; display: flex; flex-direction: column; padding-inline: var(--rand); }
  .tafel-wort { top: -4vw; left: var(--rand) !important; right: auto !important; font-size: 30vw; transform: translate3d(calc(var(--l, 0) * 30vw), 0, 0); }
  .tafel-fig { position: relative; bottom: auto; left: auto !important; right: auto !important; margin: 8vw auto var(--a3); transform: none; }
  .t-ausfall .tafel-fig { width: 78vw; }
  .t-liege .tafel-fig { width: 100%; }
  .t-swing .tafel-fig { width: 56vw; }
  .t-seit .tafel-fig { width: 92vw; }
  .tafel-text { position: relative; inset: auto !important; transform: none; }
  .scheiben { grid-template-columns: 1fr; gap: var(--a5); }
  .scheibe-rolle { width: 62vw; }
  .kanal-raster, .luca-raster, .pause-raster, .anfrage-raster { grid-template-columns: 1fr; gap: var(--a4); }
  .handy { height: auto; width: 68vw; }
  .luca-text { padding-bottom: 0; }
  .luca-fakten { grid-template-columns: 1fr 1fr; }
  .luca-bild img { height: auto; width: 78vw; }
  .pause-uhr { width: 70vw; }
  .schluss { height: 84svh; }
  .fig-schluss { height: 62svh; left: 66%; margin-left: calc(62svh * -0.2074); }
  .schluss-satz { max-width: 42vw; bottom: 6svh; }
  .wort-schluss { top: 14svh; bottom: auto; }
  .fuss-raster { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) { .messer-figur { display: none; } .messer { padding-left: 14px; gap: 8px; } .messer-wert b { font-size: 1.375rem; } .knopf-klein { padding: 0 13px; font-size: 0.875rem; } }

/* Schmal und flach zugleich (kleines Fenster am Computer) */
@media (max-width: 820px) and (max-height: 560px) {
  .oben-zeile, .vorn { display: none; }
  .wort { bottom: 4svh; }
  .fig-kopf { left: 82%; }
  .vor-karte dl { display: none; }
  .vor-karten { min-height: 6.5rem; }
  .vor-buehne { grid-template-rows: 40svh auto; }
  .fig-vor { height: 40svh; margin-left: calc(40svh * -0.2074); }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
