/* seite.css · lp-235 ÜBERHANG. Größen nur aus den Variablen unten (Schrift-Ordnung). Bewegung nur transform, opacity, clip-path, mask.
   Das Skript (buehne.js) schreibt die Zeitwerte als Variablen an die Bühne; jede Variable hat hier einen Rückfall auf den Endzustand,
   ohne JavaScript und bei „Bewegung reduzieren“ (Klasse ruhig) steht alles fertig untereinander. */
@font-face { font-family: "General Sans"; src: url("../fonts/general-sans-variable.woff2") format("woff2"); font-weight: 200 700; font-style: normal; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/jetbrainsmono-var-latin.woff2") format("woff2"); font-weight: 100 800; font-style: normal; font-display: swap; }

:root, :root[data-farbwelt="hell"] {
  color-scheme: light;
  --kreide: #ECE9E2; --tinte: #16181B; --route: #12A150; --route-fokus: #0B7A3A; --matte: #2A2D31;
  --grund: var(--kreide); --grund-2: #E2DED5; --text: var(--tinte); --text-2: #34373C; --text-3: #4A4E54;
  --linie: #CFCBC1; --linie-feld: #7C8091; --akzent: var(--route); --auf-akzent: var(--tinte); --fehler: #A8201A;
  --kopf-grund: rgba(236, 233, 226, 0.97);
  --schrift-display: "General Sans", system-ui, "Segoe UI", sans-serif;
  --schrift-text: "General Sans", system-ui, "Segoe UI", sans-serif;
  --schrift-mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --g-wort: clamp(3.5rem, min(17vw, 26svh, calc(92vw / 5.9)), 17rem);
  --g-zeile: clamp(2.25rem, min(5.6vw, 9.5svh), 6.25rem);
  --g-ueber: clamp(1.625rem, 2.6vw, 2.75rem);
  --g-text: clamp(1.0625rem, 1.05vw, 1.1875rem);
  --g-klein: 0.875rem;
  --a1: 8px; --a2: 16px; --a3: 24px; --a4: 40px; --a5: 64px; --a6: 104px; --a7: 168px;
  --kopf-hoehe: 72px;
}
html { overflow-x: clip; }
body { font-family: var(--schrift-text); font-size: var(--g-text); font-weight: 450; line-height: 1.55; background: var(--kreide); }
h1, h2, h3 { font-family: var(--schrift-display); font-weight: 700; }
.mono { font-family: var(--schrift-mono); font-weight: 500; text-transform: uppercase; letter-spacing: 0.04em; font-size: var(--g-klein); line-height: 1.4; }
:focus-visible { outline: 3px solid var(--route-fokus); outline-offset: 3px; border-radius: 4px; }
.marke { font-family: var(--schrift-display); font-weight: 700; font-size: 1.25rem; letter-spacing: -0.02em; color: var(--tinte); }
.marke i { display: inline-block; width: 0.38em; height: 0.38em; margin-left: 0.14em; border-radius: 50%; background: var(--route); }
.kopfzeile { color: var(--tinte); }
.kopf-fest .kopfzeile { background: var(--kopf-grund); backdrop-filter: none; box-shadow: 0 1px 0 var(--linie); }
.menue a { color: var(--tinte); font-weight: 500; font-size: var(--g-klein); }
.menue-knopf { font-weight: 600; color: var(--tinte); }
.knopf { background: var(--route); color: var(--tinte); font-weight: 700; }
.knopf--klein { min-height: 44px; font-size: var(--g-klein); }
@media (hover: hover) and (pointer: fine) { .knopf:hover { box-shadow: 0 10px 30px -14px var(--tinte); } }
.nr { color: var(--text-2); margin: 0 0 var(--a1); }
.klein { font-size: var(--g-klein); color: var(--text-3); margin-top: var(--a3); }

/* Startbild ohne Springen: bis das Skript zum ersten Mal gezeichnet hat, ist nur der erste Bildschirm sichtbar */
html.js:not(.bereit) :is(.wz, .st, .zaehler, .staub, .ab, .gr, .linie) { visibility: hidden; }
/* Bis das erste Bild und die Schrift geladen sind, laden die Stationen nichts nach (sonst teilen sie sich die Leitung mit dem ersten Bildschirm) */
html.js:not(.geladen):not(.ruhig) :is(.wz, .st) { display: none; }

/* ===================== BÜHNE: Kopf und Stationen 2 bis 6, eine angeheftete Fläche ===================== */
.buehne { position: relative; height: 800svh; }
.anker { position: absolute; left: 0; width: 1px; height: 1px; pointer-events: none; }
#ablauf { top: calc(185svh + 88px); }
.buehne-innen { position: sticky; top: 0; height: 100svh; overflow: hidden; background: var(--kreide); contain: paint; touch-action: pan-y; container-type: size;
  --lz: 50vw; --ph: 100svh; --pw: max(100vw, 177.78svh); }
@media (max-height: 520px) and (orientation: landscape) { .buehne-innen { --lz: 56vw; } }
@media (max-width: 820px) and (orientation: portrait) { .buehne-innen { --lz: 100vw; --ph: 30svh; } }

/* --- Kopf: vier Ebenen (Wand und Kletterin sind eine Fotoebene aus demselben Bild, Name dazwischen, Startgriff davor) --- */
.kopf { position: absolute; inset: 0; z-index: 1; }
.kopf.weg { visibility: hidden; }
.k-ebenen { position: absolute; inset: 0; transform: translate3d(0, calc(var(--k, 0) * 14svh), 0); }
.eb { position: absolute; inset: 0; }
.paar { transform: translate3d(calc(var(--mx, 0) * -8px), calc(2% + var(--my, 0) * -6px), 0) scale(1.06); }
.paar img { position: absolute; bottom: 0; left: calc((100vw - var(--pw)) * 0.4); width: var(--pw); height: calc(var(--pw) * 9 / 16); max-width: none; }
.eb-wort { opacity: calc(1 - var(--kw, 0)); transform: translate3d(calc(var(--mx, 0) * 16px), calc(var(--my, 0) * 10px), 0); }
.wort { position: absolute; left: var(--kante); top: calc(var(--kopf-hoehe) + 6svh); margin: 0; font-family: var(--schrift-display); font-weight: 700; font-size: var(--g-wort); line-height: 0.82; letter-spacing: -0.04em; color: var(--tinte); white-space: nowrap; }
.eb-griff { transform: translate3d(calc(var(--mx, 0) * -34px), calc(var(--my, 0) * -26px), 0); pointer-events: none; }
.start { position: absolute; right: 3.5vw; top: 46svh; width: clamp(84px, 8.5vw, 130px); aspect-ratio: 288 / 255; --ab: 1; }
.start .stk { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(14deg); }
.start .ab { width: 62%; left: 50%; top: 52%; --r: 8deg; }
.start::after { content: ""; position: absolute; inset: 0; background: url("../bilder/griff-0.webp") center / 100% 100% no-repeat; transform: rotate(14deg); opacity: calc(var(--pu, 0) * 0.5); filter: brightness(1.4); }
.etikett { position: absolute; right: 0; top: calc(100% + 6px); padding: 2px 8px; border-radius: 4px; background: var(--tinte); color: var(--kreide); font-family: var(--schrift-mono); font-weight: 500; font-size: var(--g-klein); letter-spacing: 0.04em; text-transform: uppercase; white-space: nowrap; }
.k-text { position: absolute; z-index: 3; left: var(--kante); bottom: clamp(20px, 6svh, 64px); width: min(34rem, 36vw); color: var(--tinte);
  opacity: calc(1 - var(--kt, 0)); transform: translate3d(0, calc(var(--kt, 0) * -28px), 0); }
.k-text h1 { font-size: var(--g-zeile); line-height: 0.98; letter-spacing: -0.035em; text-wrap: balance; }
.k-text .unterzeile { max-width: 28rem; margin-top: var(--a2); font-size: var(--g-text); line-height: 1.45; color: var(--text-2); }
.k-text .beleg { margin-top: var(--a1); color: var(--text-2); font-size: var(--g-klein); }
.k-text .handlung { margin-top: var(--a3); }
.k-text .beruhigung { margin-top: var(--a1); color: var(--text-2); font-size: var(--g-klein); }

/* --- Wand: randlos, fährt nach unten (wir klettern nach oben), bunt wird gelesen, Griffe leuchten, Abdrücke kommen --- */
.wz { position: absolute; inset: 0; z-index: 3; clip-path: inset(calc((1 - var(--cy, 0)) * 100%) 0 0 var(--cl, 0px)); pointer-events: none; }
.wz.weg { visibility: hidden; }
.wand { position: absolute; left: 0; top: 0; width: var(--W, 100%); height: var(--H, auto); transform-origin: 0 0;
  transform: translate3d(var(--wx, 0px), var(--wy, 0px), 0) scale(var(--ws, 1)); will-change: transform; }
.wand-r { position: absolute; inset: 0; }
.wand-r.ruck { animation: ruck 0.3s ease-out 1; }
@keyframes ruck { 0% { transform: translate3d(0, 0, 0); } 35% { transform: translate3d(0, -8svh, 0); } 100% { transform: translate3d(0, 0, 0); } }
.wand-r img { position: absolute; display: block; max-width: none; height: auto; }
.wb, .wg { left: 0; top: 0; width: 100%; height: 100%; }
.wg { opacity: var(--les, 1); }
.gr { opacity: var(--pu, 0); }
.ab { position: absolute; height: auto; max-width: none; transform: translate(-50%, -50%) rotate(var(--r, 0deg)) scale(calc(1.3 - var(--ab, 1) * 0.3)); opacity: calc(var(--ab, 1) * 0.92); }
.linie { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.linie path { fill: none; stroke: var(--route); stroke-opacity: 0.8; stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: var(--dr, 0); }
.staub { position: absolute; inset: 0; z-index: 8; width: 100%; height: 100%; pointer-events: none; }

/* --- Stationen: jede mit eigener Komposition. Das Foto sitzt in einem Fenster (--wl --wt --wr --wb), die Wand bleibt die Bühne.
   .f.ganz = das Foto liegt über den ganzen Bildschirm, das Fenster zeigt nur einen Teil davon. Kreide klatscht von unten hoch. --- */
.st { position: absolute; inset: 0; pointer-events: none; }
.f { position: absolute; left: var(--wl, 0px); top: var(--wt, 0px); right: var(--wr, 0px); bottom: var(--wb, 0px); overflow: hidden; background: var(--kreide);
  --wm: calc(var(--fw, 0) * 140%); -webkit-mask-image: linear-gradient(to top, #000 calc(var(--wm) - 40%), transparent var(--wm)); mask-image: linear-gradient(to top, #000 calc(var(--wm) - 40%), transparent var(--wm));
  clip-path: inset(calc(var(--ex, 0) * 100%) 0 0 0); }
.f.voll { -webkit-mask-image: none; mask-image: none; }
.f.unter, .f.aus { visibility: hidden; }
.f img { position: absolute; left: 0; top: 0; max-width: none; width: 100%; height: 100%; object-fit: cover; object-position: calc(var(--ox, 0.5) * 100%) 50%; }
.f.ganz img { left: calc(var(--wl, 0px) * -1); top: calc(var(--wt, 0px) * -1); width: 100cqw; height: 100cqh; }
.st2 .f { z-index: 2; --wr: 34vw; }
.st3 .f { z-index: 4; --wl: 4vw; --wt: calc(var(--kopf-hoehe) + 3svh); --wr: 70vw; --wb: 38svh; }
.st4 .f { z-index: 5; --wr: 50vw; --wt: 40svh; }
.st5 .f { z-index: 6; --wr: 28vw; }
.st6 .f { z-index: 7; --wl: 66vw; --wt: calc(var(--kopf-hoehe) + 3svh); --wr: 3vw; --wb: 44svh; }
.s-text { position: absolute; z-index: 9; left: var(--kante); bottom: clamp(20px, 7svh, 72px); width: min(30rem, 36vw); padding: var(--a3); background: var(--kreide); color: var(--tinte);
  opacity: calc(var(--t, 0) * (1 - var(--o, 0))); transform: translate3d(0, calc((1 - var(--t, 0)) * 40px - var(--o, 0) * 24px), 0); pointer-events: auto; }
.st3 .s-text { left: 4vw; bottom: 6svh; width: min(23rem, 24vw); padding: 0; background: none; }
.st4 .s-text { top: calc(var(--kopf-hoehe) + 5svh); bottom: auto; left: 4vw; padding: 0; background: none; width: min(28rem, 42vw); }
.st5 .s-text { left: auto; right: 32vw; width: min(28rem, 36vw); }
.st6 .s-text { left: 66vw; bottom: 6svh; width: min(30rem, 31vw); }
.s-text h2 { font-size: var(--g-ueber); line-height: 1.08; letter-spacing: -0.03em; text-wrap: balance; }
.s-text p:not(.nr, .preiszeile, .etiketten) { margin-top: var(--a2); font-size: var(--g-text); color: var(--text-2); }
.st6 .s-text h2 { font-size: var(--g-zeile); line-height: 0.98; }
.takte { list-style: none; margin: var(--a2) 0 0; padding: 0; display: grid; gap: var(--a1); font-family: var(--schrift-mono); font-weight: 500; font-size: var(--g-klein); letter-spacing: 0.02em; text-transform: uppercase; }
.takte li { display: flex; align-items: baseline; gap: var(--a2); }
.takte li::before { content: ""; flex: none; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--route); background: var(--an, transparent); transform: translateY(1px); }
.takte li.an { --an: var(--route); }
.preiszeile { margin-top: var(--a2); color: var(--text-2); }
.etiketten { position: absolute; z-index: 9; left: var(--kante); top: calc(var(--kopf-hoehe) + 12svh); margin: 0; display: flex; flex-direction: column; align-items: flex-start; gap: var(--a1); font-family: var(--schrift-mono); font-weight: 500; font-size: var(--g-klein); letter-spacing: 0.04em; text-transform: uppercase;
  opacity: calc(var(--t, 0) * (1 - var(--o, 0))); }
.etiketten .e { padding: 3px 10px; border-radius: 4px; background: var(--tinte); color: var(--kreide); min-height: 1.7em; white-space: nowrap; }
.etiketten .e2 { background: var(--route); color: var(--tinte); }
.etiketten .e1, .etiketten .e3 { opacity: calc(1 - var(--ef, 0) * 0.62); }

.zaehler { position: absolute; z-index: 10; top: calc(var(--kopf-hoehe) + var(--a1)); right: max(var(--rand, 16px), 16px); margin: 0; padding: 4px 10px; background: var(--kreide); color: var(--tinte); border-radius: 4px;
  font-family: var(--schrift-mono); font-weight: 500; font-size: 1.125rem; letter-spacing: 0.04em; line-height: 1.3; }
.zaehler::before { content: ""; display: inline-block; width: 0.55em; height: 0.55em; margin-right: 0.5em; border-radius: 50%; background: var(--route); }
.zaehler .zahl { font-weight: 700; }
.zaehler small { font-size: var(--g-klein); text-transform: uppercase; }
.zaehler.top small::before { content: " Top"; }

/* --- Ruhige Fassung und ohne JavaScript: alles fertig untereinander, jede Station mit ihrem Foto, die Wand gelesen mit allen Abdrücken --- */
:is(html:not(.js), html.ruhig) .buehne { height: auto; }
:is(html:not(.js), html.ruhig) .buehne-innen { container-type: normal; position: static; height: auto; overflow: visible; contain: none; display: flex; flex-direction: column; }
:is(html:not(.js), html.ruhig) .kopf { position: relative; height: 100svh; min-height: 520px; order: 0; overflow: hidden; }
:is(html:not(.js), html.ruhig) .st { position: static; pointer-events: auto; display: grid; }
:is(html:not(.js), html.ruhig) .st2 { order: 1; } :is(html:not(.js), html.ruhig) .st3 { order: 2; } :is(html:not(.js), html.ruhig) .st4 { order: 3; } :is(html:not(.js), html.ruhig) .st5 { order: 4; } :is(html:not(.js), html.ruhig) .st6 { order: 6; }
:is(html:not(.js), html.ruhig) .st .f { position: relative; left: auto; top: auto; right: auto; bottom: auto; width: 100%; height: auto; aspect-ratio: 16 / 9; max-height: 80svh; -webkit-mask-image: none; mask-image: none; clip-path: none; }
:is(html:not(.js), html.ruhig) .st .f img { position: static; width: 100%; height: 100%; object-fit: cover; object-position: calc(var(--ox, 0.5) * 100%) 50%; }
:is(html:not(.js), html.ruhig) .st .s-text { position: static; width: min(100% - 2 * var(--rand, 16px), 34rem); margin: var(--a4) auto var(--a5); padding: 0; opacity: 1; transform: none; background: none; color: var(--tinte); text-shadow: none; }
:is(html:not(.js), html.ruhig) .st .s-text p:not(.nr, .preiszeile) { color: var(--text-2); }
:is(html:not(.js), html.ruhig) .st .etiketten { position: static; width: min(100% - 2 * var(--rand, 16px), 34rem); margin: calc(var(--a3) * -1) auto var(--a5); flex-direction: row; flex-wrap: wrap; opacity: 1; }
:is(html:not(.js), html.ruhig) .st .etiketten .e { opacity: 1 !important; }
:is(html:not(.js), html.ruhig) .wz { position: relative; order: 5; inset: auto; width: min(100% - 2 * var(--rand, 16px), 520px); margin: var(--a4) auto; aspect-ratio: 1584 / 2816; clip-path: none; }
:is(html:not(.js), html.ruhig) .wand { width: 100%; height: 100%; transform: none; will-change: auto; }
:is(html:not(.js), html.ruhig) :is(.zaehler, .staub) { display: none; }
:is(html:not(.js), html.ruhig) .k-text { opacity: 1; transform: none; }
:is(html:not(.js), html.ruhig) .linie path { stroke-width: 5; }

/* ===================== Station 7: Preise auf Griffen, Foto, Zeiten und Anfahrt ===================== */
.preise { padding: var(--a5) 0 var(--a5); background: var(--kreide); }
.gross { font-size: var(--g-zeile); line-height: 0.98; letter-spacing: -0.035em; max-width: 14em; }
.mittel { font-size: var(--g-ueber); line-height: 1.08; letter-spacing: -0.03em; }
.griffpreise { list-style: none; margin: var(--a5) 0 0; padding: 0; display: grid; gap: var(--a5) var(--a4); grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; }
.gp h3 { margin-top: var(--a2); font-size: var(--g-ueber); line-height: 1.08; letter-spacing: -0.03em; }
.gp p:not(.gp-zahl) { margin-top: var(--a1); color: var(--text-2); max-width: 22rem; }
.gp-form { position: relative; width: min(100%, 300px); height: clamp(190px, 17vw, 250px); }
.gp-form > img:first-child { width: 100%; height: 100%; object-fit: contain; }
.gp-ab { width: 24%; height: auto; left: 66%; top: 68%; --r: 12deg; --ab: clamp(0, (var(--p, 1) - var(--tb, 0.35)) * 16, 1); }
.gp:nth-child(2) .gp-ab { --tb: 0.42; left: 38%; top: 76%; --r: -9deg; } .gp:nth-child(3) .gp-ab { --tb: 0.49; left: 36%; top: 72%; --r: 7deg; }
.gp-zahl { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -52%); margin: 0 !important; font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 700; letter-spacing: 0.01em; line-height: 1; color: var(--tinte); white-space: nowrap; padding: 0.22em 0.5em; background: var(--kreide); border-radius: 4px; }
.foto-breit { position: relative; background: var(--matte); overflow: hidden; }
.foto-breit img { width: 100%; height: auto; max-height: 92svh; object-fit: cover; }
.bildzeile { position: absolute; left: var(--kante); bottom: var(--a3); margin: 0; padding: 4px 10px; background: var(--kreide); color: var(--tinte); border-radius: 4px; }
.zeiten { background: var(--matte); color: var(--kreide); padding: var(--a6) 0; }
.zeiten .nr { color: #D7D2C6; }
.zeiten-raster { display: grid; gap: var(--a5) var(--a6); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mono-liste { margin: var(--a3) 0 0; display: grid; font-family: var(--schrift-mono); font-weight: 500; font-size: 1rem; letter-spacing: 0.02em; }
.mono-liste div { display: grid; grid-template-columns: minmax(0, 12rem) minmax(0, 1fr); gap: var(--a1) var(--a2); padding: var(--a2) 0; border-top: 1px solid #4A4E54; }
.mono-liste dt { color: #D7D2C6; text-transform: uppercase; font-size: var(--g-klein); }
.mono-liste dd { margin: 0; }
.zeiten .klein { color: #D7D2C6; }

/* ===================== Station 8: Buchen, vier Griffe, der Knopf ist der Top-Griff ===================== */
.buchen { position: relative; background: var(--kreide); padding: var(--a6) 0; display: grid; grid-template-columns: minmax(120px, 28vw) minmax(0, 1fr); gap: 0; }
.rand-bahn { position: relative; margin: calc(var(--a6) * -1) 0; overflow: hidden; background: var(--matte); }
.rand-bahn img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 40% 50%; }
.buchen-innen { padding: 0 var(--kante) 0 clamp(24px, 5vw, 72px); max-width: 52rem; }
.lead { margin-top: var(--a2); color: var(--text-2); max-width: 32rem; }
.formular { margin-top: var(--a4); max-width: none; gap: var(--a3); }
.schritt { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: var(--a3); padding: var(--a3) 0; border-top: 1px solid var(--linie); align-items: start; }
.sg-griff { position: relative; width: 84px; padding-top: 22px; }
.sg-griff > img:first-child { width: 100%; height: auto; }
.sg-griff .ab { width: 46%; left: 50%; top: calc(22px + 50%); --r: 10deg; --ab: 0; transition: opacity 0.35s ease, transform 0.35s ease; }
.schritt.fertig .sg-griff .ab { --ab: 1; }
.sg-titel { margin: 0 0 var(--a1); color: var(--text-2); }
.formular .feld { margin-top: var(--a1); max-width: 28rem; }
.formular .feld input, .formular .feld select { min-height: 52px; background-color: var(--grund-2); }
.formular .feld input:focus-visible, .formular .feld select:focus-visible { outline: 3px solid var(--route-fokus); outline-offset: 2px; }
.feld-fehler { color: var(--fehler); }
.top-zeile { display: grid; gap: var(--a2); justify-items: start; padding-top: var(--a3); border-top: 1px solid var(--linie); }
.knopf--top { position: relative; padding-left: 78px; min-height: 64px; font-size: 1.125rem; }
.tg { position: absolute; left: 12px; top: 50%; width: 56px; height: 44px; transform: translateY(-50%); }
.tg > img:first-child { width: 100%; height: 100%; object-fit: contain; }
.tg .ab { width: 52%; left: 50%; top: 50%; --r: -8deg; --ab: 0; transition: opacity 0.35s ease, transform 0.35s ease; }
.formular.komplett .tg .ab { --ab: 1; }

/* ===================== Fuß ===================== */
.fuss { background: var(--matte); color: var(--kreide); border-top: 0; text-align: left; padding: var(--a5) var(--kante) var(--a3); }
.fuss-innen { display: grid; gap: var(--a4); grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fuss p { max-width: none; margin: 0; }
.fuss a { color: var(--kreide); }
.fuss-name { font-weight: 700; margin-bottom: var(--a1) !important; }
.fuss-link { display: inline-flex; align-items: center; min-height: 44px; }
.fuss .fuss-spalte a:not(.fuss-link):not([aria-label]) { display: inline-flex; align-items: center; min-height: 44px; }
.zeichen-reihe { list-style: none; margin: 0 0 var(--a1); padding: 0; display: flex; gap: var(--a1); }
.zeichen-reihe a { display: grid; place-items: center; width: 44px; height: 44px; color: var(--kreide); border-radius: 4px; }
.zeichen { display: block; width: 24px; height: 24px; background: currentColor; -webkit-mask: var(--z) center / contain no-repeat; mask: var(--z) center / contain no-repeat; }
.z-x { --z: url("../zeichen/x.svg"); } .z-fb { --z: url("../zeichen/facebook.svg"); } .z-ig { --z: url("../zeichen/instagram.svg"); } .z-tt { --z: url("../zeichen/tiktok.svg"); }
.fuss-klein { margin-top: var(--a4) !important; font-size: var(--g-klein); color: #D7D2C6; }

/* ===================== Handy hochkant (375 × 812) ===================== */
@media (max-width: 820px) and (orientation: portrait) {
  /* Kopf: oben das Foto mit Name und Startgriff, darunter Text */
  .k-ebenen { bottom: auto; height: 62svh; overflow: hidden; }
  .buehne-innen { --pw: max(100vw, 110svh); }
  .paar img { left: calc((100vw - var(--pw)) * 0.46); }
  .wort { top: calc(var(--kopf-hoehe) + 6svh); }
  .start { left: 12px; right: auto; top: auto; bottom: 40px; width: 78px; }
  .start .etikett { right: auto; left: 0; top: calc(100% + 4px); }
  .k-text { left: var(--kante); right: var(--kante); width: auto; top: calc(62svh + 38px); bottom: auto; }
  .k-text .beleg { display: none; }
  .k-text h1 { font-size: var(--g-zeile); }
  .k-text .unterzeile { margin-top: var(--a1); max-width: none; }
  .k-text .handlung { margin-top: var(--a2); }
  .zaehler { top: auto; bottom: 14px; right: 14px; left: auto; z-index: 11; }
  .zaehler.im-kopf { top: calc(var(--kopf-hoehe) + 6px); bottom: auto; }
  .s-text h2 { font-size: 1.5rem; }
  .st6 .s-text h2 { font-size: var(--g-zeile); }
  /* Stationen am Handy: Foto als Band oben, Wand darunter, Text unten in einem Feld (Station 5 dunkel, Takte und Etiketten wie am Desktop) */
  .st2 .f { z-index: 4; }
  .st .f, .st4 .f { --wl: 0px; --wt: 0px; --wr: 0px; --wb: calc(100svh - var(--ph)); }
  .f.ganz img { left: 0; top: 0; width: 100%; height: 100%; }
  .st .s-text, .st3 .s-text, .st4 .s-text, .st6 .s-text { left: 12px; right: 12px; top: auto; width: auto; bottom: 48px; padding: var(--a2); background: var(--kreide); color: var(--tinte); text-shadow: none; }
  .st5 .s-text { right: 12px; left: 12px; width: auto; }
  .etiketten { left: 12px; top: calc(var(--kopf-hoehe) + 8px); }
  .griffpreise { grid-template-columns: minmax(0, 1fr); gap: var(--a4); }
  .gp { display: grid; grid-template-columns: 116px minmax(0, 1fr); gap: 0 var(--a2); align-items: center; }
  .gp-form { grid-row: 1 / span 2; width: 116px; }
  .gp h3 { margin-top: 0; font-size: 1.25rem; overflow-wrap: anywhere; }
  .gp-zahl { font-size: 1.25rem; }
  .zeiten-raster { grid-template-columns: minmax(0, 1fr); }
  .mono-liste div { grid-template-columns: minmax(0, 1fr); }
  .buchen { grid-template-columns: minmax(0, 1fr); padding-top: 0; }
  .rand-bahn { height: 120px; margin: 0 0 var(--a4); }
  .rand-bahn img { object-position: 50% 25%; }
  .buchen-innen { padding: 0 var(--kante); }
  .schritt { grid-template-columns: 60px minmax(0, 1fr); gap: var(--a2); }
  .sg-griff { width: 60px; }
  .fuss-innen { grid-template-columns: minmax(0, 1fr); }
  .foto-breit img { max-height: none; aspect-ratio: 4 / 3; }
}
/* Flaches Fenster (zum Beispiel 640 × 440): Kopfzeile kleiner, nichts überdeckt Knopf und Satz */
@media (max-height: 520px) and (orientation: landscape) {
  :root { --kopf-hoehe: 56px; }
  .wort { top: calc(var(--kopf-hoehe) + 1svh); }
  .k-text { width: min(34rem, 40vw); bottom: 14px; }
  .k-text .unterzeile, .k-text .beruhigung, .k-text .beleg { display: none; }
  .k-text .handlung { margin-top: var(--a1); }
  .k-text h1 { font-size: clamp(1.75rem, 8svh, 2.25rem); }
  .start { top: 40svh; width: 72px; }
  .s-text { bottom: 14px; padding: var(--a2); }
  .s-text p:not(.nr, .preiszeile, .etiketten) { font-size: var(--g-text); margin-top: var(--a1); }
  .s-text h2 { font-size: 1.375rem; }
  .st6 .s-text h2 { font-size: 1.75rem; }
  .takte { gap: 4px; margin-top: var(--a1); }
  .zaehler { top: auto; bottom: 12px; }
}
@media (max-width: 1100px) and (min-width: 821px) { .griffpreise { gap: var(--a4) var(--a2); } }
@media (max-width: 900px) and (min-width: 821px) { .zeiten-raster { grid-template-columns: minmax(0, 1fr); } .fuss-innen { grid-template-columns: minmax(0, 1fr); } }

/* Flaches Fenster (640 × 440): Kästen kleiner, jede Station behält ihre Komposition; Größen aus min(vw, svh) */
@media (max-height: 520px) and (orientation: landscape) {
  .s-text, .st3 .s-text, .st5 .s-text, .st6 .s-text { padding: var(--a1) var(--a2); width: min(24rem, 38vw); bottom: 14px; }
  .s-text h2 { font-size: clamp(1.0625rem, min(3.4vw, 5.4svh), 1.375rem); }
  .s-text p:not(.nr, .preiszeile, .etiketten) { font-size: 0.9375rem; line-height: 1.4; margin-top: var(--a1); }
  .st6 .s-text h2 { font-size: clamp(1.5rem, min(5vw, 8svh), 1.75rem); }
  .st3 .f { --wl: 3vw; --wt: calc(var(--kopf-hoehe) + 2svh); --wr: 62vw; --wb: 62svh; }
  .st3 .s-text { left: 3vw; width: 50vw; bottom: 12px; padding: 0; }
  .takte { font-size: 0.75rem; gap: 2px; }
  .takte li { gap: var(--a1); }
  .st4 .s-text { top: calc(var(--kopf-hoehe) + 3svh); bottom: auto; left: 3vw; padding: 0; width: min(24rem, 42vw); }
  .st4 .f { --wt: 52svh; }
  .st6 .f { --wl: 66vw; --wt: calc(var(--kopf-hoehe) + 2svh); --wr: 2vw; --wb: 50svh; }
  .st6 .s-text { left: 66vw; width: 32vw; }
  .st5 .s-text { left: auto; right: 30vw; width: 34vw; }
  .etiketten { top: calc(var(--kopf-hoehe) + 8svh); gap: 4px; font-size: 0.75rem; }
  .etiketten .e { padding: 2px 8px; }
  .k-text h1 { font-size: clamp(1.5rem, min(5vw, 8svh), 2.25rem); }
}
