/* MINKA · Leckortung, Linz (Beispiel) · lp-273
 * Farben aus dem Handwerk: Türkis (was das Auge sieht), Nachtblau bis Gelb (die Skala der Wärmebildkamera).
 * Schrift: Nunito (Überschriften und Text, rund und freundlich), JetBrains Mono (alles, was gemessen wird).
 * Größen hängen an --u (1 % der Breite, höchstens 16 px): Inhalt wird nie breiter als 1600 px. */

@font-face { font-family: "Nunito"; src: url("../fonts/nunito-var.woff2") format("woff2"); font-weight: 200 1000; font-style: normal; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/jetbrains-mono-var.woff2") format("woff2"); font-weight: 100 800; font-style: normal; font-display: swap; }

:root {
  --tuerkis: #19BDB6;
  --tuerkis-tief: #0E8F8C;
  --nacht: #1A1360;
  --nacht-tief: #120C48;
  --violett: #5B2A9E;
  --magenta: #D6247F;
  --glut: #FF6A1F;
  --gelb: #FFD23F;
  --hell: #FFF6E8;
  --weiss: #FFFFFF;

  --u: min(1vw, 16px);
  --seite: max(0px, (100vw - 1600px) / 2);
  --rand: calc(var(--seite) + clamp(18px, 4.5 * var(--u), 72px));

  --t-riesen: clamp(88px, 23 * var(--u), 368px);
  --t-h1: clamp(34px, 5.3 * var(--u), 84px);
  --t-h2: clamp(30px, 4.1 * var(--u), 66px);
  --t-gross: clamp(19px, 1.62 * var(--u), 26px);
  --t-text: clamp(16px, 1.16 * var(--u), 18.5px);
  --t-klein: clamp(12.5px, 0.9 * var(--u), 14.5px);

  --a1: clamp(8px, 0.8 * var(--u), 12px);
  --a2: clamp(14px, 1.5 * var(--u), 24px);
  --a3: clamp(24px, 3 * var(--u), 48px);
  --a4: clamp(48px, 7 * var(--u), 112px);
  --a5: clamp(80px, 12 * var(--u), 190px);

  --rund: 999px;
  --ecke: clamp(18px, 1.8 * var(--u), 28px);
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --sanft: cubic-bezier(.22, .8, .24, 1);
  --feder: cubic-bezier(.34, 1.4, .5, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body { margin: 0; background: var(--nacht); color: var(--nacht); font-family: "Nunito", system-ui, "Segoe UI", sans-serif; font-size: var(--t-text); font-weight: 560; line-height: 1.55; overflow-x: clip; }
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, .wie-h1 { font-weight: 900; line-height: 1.03; letter-spacing: -0.022em; text-wrap: balance; }
h1, .wie-h1 { font-size: var(--t-h1); }
h2 { font-size: var(--t-h2); }
h3 { font-size: clamp(18px, 1.5 * var(--u), 23px); font-weight: 850; line-height: 1.2; }
.gross { font-size: var(--t-gross); font-weight: 680; line-height: 1.38; }
.rand { padding-inline: var(--rand); }
:focus-visible { outline: 3px solid var(--nacht); outline-offset: 3px; border-radius: 6px; }
.waerme :focus-visible, .vormittag :focus-visible, .fuss :focus-visible, .ebene-waerme :focus-visible { outline-color: var(--gelb); }

.sprung { position: fixed; left: 12px; top: -80px; z-index: 100; background: var(--gelb); color: var(--nacht); padding: 12px 18px; border-radius: 12px; font-weight: 800; }
.sprung:focus { top: 12px; }

/* Knöpfe: ein gefüllter Typ (Gelb), ein Rahmen-Knopf */
.knopf { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; border: 0; border-radius: var(--rund); background: var(--gelb); color: var(--nacht); font-weight: 900; font-size: clamp(16px, 1.2 * var(--u), 19px); text-decoration: none; cursor: pointer; box-shadow: 0 3px 0 rgba(18, 12, 72, .9); transition: transform .18s var(--sanft), box-shadow .18s var(--sanft), background-color .18s; }
.knopf:hover { transform: translateY(-2px); box-shadow: 0 5px 0 rgba(18, 12, 72, .9); background: #FFDD66; }
.knopf:active { transform: translateY(2px); box-shadow: 0 1px 0 rgba(18, 12, 72, .9); }
.knopf-klein { min-height: 44px; padding: 0 20px; font-size: 15.5px; box-shadow: 0 2px 0 rgba(18, 12, 72, .9); }
.knopf-rahmen { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 2px solid currentColor; border-radius: var(--rund); background: transparent; font-weight: 850; font-size: 15px; cursor: pointer; transition: background-color .18s, color .18s; }
.knopf-rahmen:hover, .knopf-rahmen[aria-pressed="true"] { background: var(--nacht); color: var(--hell); border-color: var(--nacht); }

/* Kopfleiste: fester weißer Balken, Logo bündig mit dem Inhalt */
.leiste { position: fixed; z-index: 60; top: clamp(10px, 1.2 * var(--u), 18px); left: 0; right: 0; padding-inline: var(--rand); pointer-events: none; }
.leiste-innen { pointer-events: auto; display: flex; align-items: center; gap: var(--a2); min-height: 60px; padding: 8px 8px 8px 22px; margin-inline: -22px -8px; background: var(--hell); border-radius: var(--rund); box-shadow: 0 6px 24px rgba(18, 12, 72, .16); }
.marke { display: flex; align-items: baseline; gap: 10px; font-weight: 1000; font-size: 24px; letter-spacing: .02em; color: var(--nacht); text-decoration: none; min-height: 44px; align-items: center; }
.marke small { font-size: 13px; font-weight: 750; letter-spacing: 0; opacity: .72; }
.leiste-nav { display: flex; gap: clamp(8px, 1.4 * var(--u), 22px); margin-left: auto; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.nach-kopf .leiste-nav, html:not(.js) .leiste-nav { opacity: 1; visibility: visible; }
.leiste-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 6px; font-weight: 800; font-size: 15.5px; text-decoration: none; border-radius: 8px; }
.leiste-nav a:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 6px; text-decoration-color: var(--glut); }
.leiste .knopf { margin-left: auto; }
.leiste-nav + .knopf { margin-left: 0; }

/* ───────── 1 · Kopf ───────── */
.oben { position: relative; background: var(--tuerkis); }
.buehne { position: relative; height: 100vh; height: 100svh; min-height: 420px; overflow: clip; isolation: isolate; --naht: 62%; --nx: 62vw; --mx: 0; --my: 0; --k1: 1; --k2: 0; --weg: 0; --ab-o: 0; --ab-farbe: #FF8A1F; --iris: 0px; }
html.js.bewegt .oben { height: 400vh; height: 400svh; }
html.js.bewegt .oben .buehne { position: sticky; top: 0; --naht: 101%; --nx: 101vw; }
.ebene { position: absolute; inset: 0; }
.ebene-echt { background: var(--tuerkis); color: var(--nacht); }
/* Die Wärmebild-Ebene wird nach rechts geschoben, ihr Inhalt um denselben Weg zurück: Der Rand der Ebene ist die Naht,
   der Inhalt bleibt stehen. Zwei transform, der Browser zeichnet beim Schwenk nichts neu. */
.ebene-waerme { color: var(--hell); right: -6vw; overflow: hidden; transform: translate3d(var(--nx), 0, 0); z-index: 2; will-change: transform; }
.ebene-waerme > .innen { position: absolute; inset: 0 6vw 0 0; background: var(--nacht); box-shadow: 6vw 0 0 var(--nacht); transform: translate3d(calc(var(--nx) * -1), 0, 0); will-change: transform; }

.kopf-raster { position: absolute; inset: 0; padding-top: clamp(92px, 17svh, 196px); opacity: var(--k1); }
.kopf-text { max-width: calc(36 * var(--u)); min-width: 280px; }
.kopf-zeile { margin-top: var(--a2); max-width: calc(27.5 * var(--u)); font-size: clamp(16.5px, 1.3 * var(--u), 20.5px); font-weight: 650; line-height: 1.45; }
.kopf-beleg { margin-top: var(--a2); font-family: var(--mono); font-size: var(--t-klein); font-weight: 500; }
.kopf-beleg b { font-weight: 800; }
.kopf-knopf { margin-top: var(--a2); }
.kopf-klein { margin-top: 12px; font-size: var(--t-klein); font-weight: 650; opacity: .88; }

.katzenplatz { --kb: min(68 * var(--u), 140svh - 190px); position: absolute; right: calc(var(--rand) - 1.5 * var(--u)); bottom: 8.5svh; width: var(--kb); aspect-ratio: 2353 / 1040; transform: translate3d(calc(var(--mx) * -12px), calc(var(--my) * -7px), 0); }
.katze { position: absolute; inset: 0; width: 100%; height: 100%; transform-origin: 50% 100%; }
html.bewegt .oben.sichtbar .katze { animation: atem 4.8s ease-in-out infinite; }
@keyframes atem { 0%, 100% { transform: scale(1, 1); } 50% { transform: scale(1.004, 1.016); } }
.schatten { position: absolute; left: 4%; right: 3%; bottom: -3%; height: 16%; border-radius: 50%; background: radial-gradient(closest-side, rgba(9, 70, 72, .55), rgba(9, 70, 72, 0)); }
.katze-waerme { opacity: calc(1 - var(--weg)); }

/* Wärmebild-Seite: Leitung im Boden, warmer Fleck, Abdruck */
.rohrspur { position: absolute; left: -5%; right: -5%; bottom: calc(8.5svh + 1.2 * var(--u)); height: calc(3.4 * var(--u)); background: linear-gradient(180deg, rgba(214, 36, 127, 0), rgba(214, 36, 127, .42) 40%, rgba(255, 106, 31, .5) 50%, rgba(214, 36, 127, .42) 60%, rgba(214, 36, 127, 0)); transform: translate3d(calc(var(--mx) * -20px), 0, 0); }
.glut { position: absolute; left: 22%; top: 58%; width: 60%; height: 62%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 138, 31, .95), rgba(214, 36, 127, .7) 48%, rgba(91, 42, 158, .35) 74%, rgba(91, 42, 158, 0)); }
.fleck-kern { position: absolute; left: 39%; top: 70%; width: 25%; height: 34%; border-radius: 58% 42% 55% 45% / 52% 60% 40% 48%; background: radial-gradient(closest-side, #FFE9A0, #FFB62E 30%, #FF6A1F 56%, rgba(214, 36, 127, .5) 80%, rgba(214, 36, 127, 0)); opacity: var(--weg); }
.abdruck { position: absolute; inset: -14%; background: var(--ab-farbe); -webkit-mask: url("../bilder/minka-abdruck.webp") center / 100% 100% no-repeat; mask: url("../bilder/minka-abdruck.webp") center / 100% 100% no-repeat; opacity: var(--ab-o); }

.mp { position: absolute; display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: var(--t-klein); line-height: 1.15; white-space: nowrap; color: var(--hell); transform: translate(-7px, -50%); }
.mp i { flex: none; width: 14px; height: 14px; border: 2px solid var(--hell); border-radius: 50%; box-shadow: 0 0 0 2px rgba(18, 12, 72, .55); }
.mp b { font-weight: 800; background: var(--nacht-tief); padding: 4px 8px; border-radius: 7px; }
.mp em { font-style: normal; font-weight: 500; background: rgba(18, 12, 72, .78); padding: 4px 8px; border-radius: 7px; margin-left: -4px; }
.mp-ohr { left: 31%; top: 12%; }
.mp-nase { left: 22.2%; top: 36%; flex-direction: row-reverse; transform: translate(calc(-100% + 7px), -50%); }
.mp-nase em { margin-left: 0; margin-right: -4px; }
.mp-fell { left: 58%; top: 47%; }
.mp-bauch { left: 47%; top: 93%; }
.mp-boden { left: 99%; top: 104%; flex-direction: row-reverse; transform: translate(calc(-100% + 7px), -50%); }
.mp-boden em { margin-left: 0; margin-right: -4px; }
.mp-ohr, .mp-nase, .mp-fell { opacity: calc(1 - var(--weg) * 1.6); }

.skala { position: absolute; right: calc(var(--rand) - 4px); top: 24svh; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; font-family: var(--mono); font-size: 12.5px; font-weight: 500; }
.skala i { width: 12px; height: 32svh; border-radius: 6px; background: linear-gradient(180deg, #FFF8E0, var(--gelb) 16%, var(--glut) 38%, var(--magenta) 60%, var(--violett) 80%, #2A1C82); box-shadow: 0 0 0 2px rgba(255, 246, 232, .25); }

/* Sucherrahmen und Statuszeile der Kamera */
.sucher { position: absolute; inset: clamp(84px, 13.5svh, 150px) calc(var(--rand) - 2 * var(--u)) 3svh calc(var(--rand) - 2 * var(--u)); pointer-events: none; opacity: calc(1 - var(--weg)); background:
  linear-gradient(var(--hell), var(--hell)) 100% 0 / 26px 3px no-repeat, linear-gradient(var(--hell), var(--hell)) 100% 0 / 3px 26px no-repeat,
  linear-gradient(var(--hell), var(--hell)) 100% 100% / 26px 3px no-repeat, linear-gradient(var(--hell), var(--hell)) 100% 100% / 3px 26px no-repeat; }
.kamera-status { position: absolute; right: calc(var(--rand) + 2.5 * var(--u)); top: clamp(84px, 13.5svh, 150px); font-family: var(--mono); font-size: 12.5px; font-weight: 500; letter-spacing: .03em; opacity: calc((1 - var(--weg)) * .9); white-space: nowrap; }
.naht-schild { position: absolute; top: clamp(84px, 13.5svh, 150px); font-family: var(--mono); font-size: 12.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.naht-schild-echt { left: 0; transform: translate3d(calc(var(--nx) - 100% - 30px), 0, 0); }
.naht-schild-waerme { left: 0; transform: translate3d(calc(var(--nx) + 30px), 0, 0); color: var(--gelb); }
.naht { position: absolute; z-index: 3; left: 0; transform: translate3d(var(--nx), 0, 0); top: 0; bottom: 0; width: 3px; margin-left: -1.5px; touch-action: none; cursor: ew-resize; background: var(--hell); box-shadow: 0 0 0 1px rgba(18, 12, 72, .25), 0 0 22px rgba(255, 210, 63, .75); }
.naht::after { content: ""; position: absolute; left: 50%; top: clamp(74px, 12.6svh, 140px); width: 38px; height: 38px; margin-left: -19px; border-radius: 50%; background: var(--hell) url("../bilder/griff.svg") center / 22px no-repeat; box-shadow: 0 3px 12px rgba(18, 12, 72, .35); }
html:not(.js) .naht::after { display: none; }

.kreuz { position: absolute; left: 0; top: 0; z-index: 4; pointer-events: none; opacity: 0; transition: opacity .25s; will-change: transform; }
.kreuz.an { opacity: 1; }
.kreuz i { position: absolute; left: -15px; top: -15px; width: 30px; height: 30px; border: 2px solid var(--hell); border-radius: 50%; }
.kreuz i::before, .kreuz i::after { content: ""; position: absolute; background: var(--hell); }
.kreuz i::before { left: 50%; top: -9px; bottom: -9px; width: 2px; margin-left: -1px; }
.kreuz i::after { top: 50%; left: -9px; right: -9px; height: 2px; margin-top: -1px; }
.kreuz b { position: absolute; left: 24px; top: -38px; font-family: var(--mono); font-size: 14px; font-weight: 800; white-space: nowrap; background: var(--gelb); color: var(--nacht); padding: 4px 9px; border-radius: 7px; }

.kopf2 { position: absolute; left: var(--rand); top: clamp(96px, 19svh, 210px); max-width: calc(36 * var(--u)); min-width: 270px; opacity: var(--k2); visibility: hidden; }
.kopf2.da { visibility: visible; }
.kopf2-zahl { font-size: clamp(64px, 11 * var(--u), 176px); font-weight: 1000; line-height: .95; letter-spacing: -0.03em; color: var(--gelb); font-variant-numeric: tabular-nums; }
.kopf2-satz { margin-top: var(--a2); font-size: var(--t-gross); font-weight: 650; line-height: 1.38; }
.kopf2-satz b { font-weight: 900; }
.kopf2-uhr { margin-top: var(--a2); font-family: var(--mono); font-size: var(--t-klein); }
.kopf2-uhr span { font-weight: 800; color: var(--gelb); }

.iris { position: absolute; inset: 0; z-index: 5; background: var(--glut); clip-path: circle(var(--iris) at calc(100% - var(--rand) - 32 * var(--u)) calc(100% - 8.5svh - 3 * var(--u))); pointer-events: none; }
.weiter { position: absolute; z-index: 4; left: var(--rand); bottom: 3.2svh; font-family: var(--mono); font-size: 12.5px; font-weight: 600; letter-spacing: .03em; color: var(--nacht); opacity: calc(var(--k1) * .8); }
html:not(.bewegt) .weiter, html:not(.js) .weiter { display: none; }

/* ───────── 2 · Fleck ───────── */
.fleck { position: relative; isolation: isolate; overflow: clip; background: var(--glut); color: var(--nacht); padding-block: var(--a5) var(--a4); --p: .5; }
/* Der Fleck wächst mit: eine dunklere, nasse Fläche breitet sich beim Scrollen aus */
.fleck::before, .fleck::after { content: ""; position: absolute; z-index: -1; background: #F0500C; border-radius: 47% 53% 58% 42% / 55% 44% 56% 45%; transform: scale(calc(.12 + var(--p) * 1.25)) rotate(calc(var(--p) * 24deg)); transform-origin: 50% 50%; }
.fleck::before { right: calc(var(--rand) - 6 * var(--u)); top: 36%; width: calc(58 * var(--u)); height: calc(46 * var(--u)); }
.fleck::after { right: calc(var(--rand) + 30 * var(--u)); top: 58%; width: calc(34 * var(--u)); height: calc(28 * var(--u)); background: #E8480A; border-radius: 55% 45% 42% 58% / 46% 58% 42% 54%; transform: scale(calc(var(--p) * 1.3 - .12)) rotate(calc(var(--p) * -30deg)); }
html:not(.js) .zaehler { display: none; }
.fleck-raster { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: var(--a4); align-items: start; }
.fleck-text h2 { max-width: 9em; }
.fleck-text .gross { margin-top: var(--a3); max-width: 24em; }
.loch { margin-top: var(--a4); display: flex; align-items: center; gap: 16px; font-family: var(--mono); font-size: var(--t-klein); font-weight: 600; }
.loch-punkt { position: relative; flex: none; width: 54px; height: 54px; border: 2px dashed rgba(26, 19, 96, .55); border-radius: 50%; }
.loch-punkt::after { content: ""; position: absolute; left: 50%; top: 50%; width: 2px; height: 2px; margin: -1px; border-radius: 50%; background: var(--nacht); }
.zaehler { position: relative; z-index: 1; justify-self: end; align-self: end; text-align: right; }
.zaehler-kopf { font-family: var(--mono); font-size: var(--t-klein); font-weight: 600; letter-spacing: .03em; text-transform: uppercase; }
.zaehler-zahl { font-family: var(--mono); font-size: clamp(72px, 13 * var(--u), 208px); font-weight: 800; line-height: 1; letter-spacing: -0.05em; color: var(--hell); font-variant-numeric: tabular-nums; }
.zaehler-zahl small { display: block; margin-top: 6px; font-family: "Nunito", sans-serif; font-size: var(--t-gross); font-weight: 900; letter-spacing: 0; color: var(--nacht); }
.zaehler-fuss { margin-top: var(--a1); margin-left: auto; max-width: 30em; font-size: var(--t-klein); font-weight: 600; line-height: 1.45; }
.strahl { position: absolute; left: 0; top: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.strahl-linie { fill: none; stroke: var(--hell); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: calc(1 - clamp(0, (var(--p) - .22) * 4, 1)); vector-effect: non-scaling-stroke; }
html:not(.js) .strahl { display: none; }
.folgen { margin-top: var(--a4); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--a3); }
.folge { display: grid; gap: 2px; padding-top: var(--a2); border-top: 3px solid var(--nacht); }
.folge-zeit { font-family: var(--mono); font-size: var(--t-klein); font-weight: 600; }
.folge b { font-size: clamp(30px, 3.6 * var(--u), 58px); font-weight: 1000; line-height: 1.05; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.folge-bild { font-size: var(--t-gross); font-weight: 750; }
.kernsatz { margin-top: var(--a5); font-size: clamp(30px, 5 * var(--u), 80px); font-weight: 1000; line-height: 1.04; letter-spacing: -0.025em; max-width: none; text-wrap: balance; }
.kernsatz .w { opacity: .22; transition: opacity .35s linear, color .35s linear; }
.kernsatz .w.voll { opacity: 1; }
.kernsatz .w.hell.voll { color: var(--hell); }
html:not(.js) .kernsatz .w, html:not(.bewegt) .kernsatz .w { opacity: 1; }

/* Übergang: Isothermen */
.isothermen { position: relative; height: clamp(180px, 34vh, 400px); background: var(--nacht); overflow: hidden; --p: .5; }
.isothermen i { position: absolute; left: 0; right: 0; height: calc(100% / 7 + 70px); }
.isothermen i:nth-child(1) { top: calc(0 * 100% / 7 - 70px); background: #FF6A1F; transform: translateY(calc((var(--p) - .5) * 60px)); }
.isothermen i:nth-child(2) { top: calc(1 * 100% / 7 - 40px); background: #F5492C; transform: translateY(calc((var(--p) - .5) * -90px)); }
.isothermen i:nth-child(3) { top: calc(2 * 100% / 7 - 30px); background: #E32E55; transform: translateY(calc((var(--p) - .5) * 130px)); }
.isothermen i:nth-child(4) { top: calc(3 * 100% / 7 - 20px); background: var(--magenta); transform: translateY(calc((var(--p) - .5) * -70px)); }
.isothermen i:nth-child(5) { top: calc(4 * 100% / 7 - 10px); background: #9A2599; transform: translateY(calc((var(--p) - .5) * 150px)); }
.isothermen i:nth-child(6) { top: calc(5 * 100% / 7); background: var(--violett); transform: translateY(calc((var(--p) - .5) * -110px)); }
.isothermen i:nth-child(7) { top: calc(6 * 100% / 7 + 10px); background: #33207F; transform: translateY(calc((var(--p) - .5) * 90px)); }

/* ───────── 3 bis 5 · Die drei Sinne ───────── */
.sinn { position: relative; isolation: isolate; overflow-x: clip; padding-block: var(--a4) var(--a5); --p: .5; }
.riesen { position: relative; z-index: 0; margin: 0 0 calc(-1.2 * var(--u)); padding-inline: var(--rand); font-size: var(--t-riesen); font-weight: 1000; line-height: .86; letter-spacing: -0.035em; white-space: nowrap; user-select: none; }
.sinn-raster { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: var(--a4); align-items: start; }
.sinn-raster-drei { grid-template-columns: minmax(0, .8fr) minmax(0, 1.1fr) minmax(0, .8fr); gap: var(--a3); align-items: end; }
.nase .sinn-raster-drei { grid-template-columns: minmax(0, .62fr) minmax(0, 1fr) minmax(0, 1.15fr); }
.sinn-text { max-width: 35em; }
.sinn-text > * + * { margin-top: var(--a2); }
.sinn-text .gross { margin-top: var(--a3); }
.hinweis { display: inline-block; font-family: var(--mono); font-size: var(--t-klein); font-weight: 600; padding: 8px 14px; border-radius: 10px; }
.hinweis-finger { display: none; }
@media (hover: none) { .hinweis-maus { display: none; } .hinweis-finger { display: inline-block; } }
html:not(.js) .hinweis, html:not(.bewegt) .hinweis-maus, html:not(.bewegt) .hinweis-finger { display: none; }
.stand { display: grid; grid-template-columns: auto; gap: 0; margin-top: var(--a3) !important; padding-top: var(--a2); border-top: 3px solid currentColor; max-width: 22em; }
.stand span { font-family: var(--mono); font-size: var(--t-klein); font-weight: 600; letter-spacing: .03em; text-transform: uppercase; }
.stand b { font-size: clamp(30px, 3.4 * var(--u), 54px); font-weight: 1000; line-height: 1.08; letter-spacing: -0.02em; }
.stand em { font-style: normal; font-size: var(--t-text); font-weight: 700; }
.tier, .geraet { position: relative; }

/* 3 · Wärme */
.waerme { background: var(--nacht); color: var(--hell); min-height: 128vh; }
.waermefeld { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; touch-action: pan-y; }
.waerme .riesen { color: var(--violett); z-index: 1; mix-blend-mode: normal; opacity: .9; transform: translate3d(calc((var(--p) - .5) * -9 * var(--u)), 0, 0); pointer-events: none; }
.waerme .sinn-raster, .waerme .sinn-text { pointer-events: none; }
.waerme .hinweis { background: var(--gelb); color: var(--nacht); }
.waerme .stand b { color: var(--gelb); }
.geraet-kamera { position: relative; justify-self: center; width: min(100%, calc(21 * var(--u))); min-width: 150px; margin-top: calc(-3 * var(--u)); transform: translate3d(0, calc((var(--p) - .5) * -7 * var(--u)), 0) rotate(calc(-7deg + var(--p) * 9deg)); filter: drop-shadow(0 26px 30px rgba(8, 5, 40, .55)); pointer-events: none; }
.geraet-kamera img { width: 100%; }
.kamera-schirm { position: absolute; left: 18.61%; top: 20.17%; width: 63.27%; height: 37.77%; border-radius: 3%; image-rendering: auto; }
.feldmarken { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.fm { position: absolute; font-family: var(--mono); font-size: var(--t-klein); font-weight: 600; color: var(--hell); background: rgba(18, 12, 72, .82); padding: 5px 10px; border-radius: 8px; white-space: nowrap; opacity: 0; transform: translateY(8px); transition: opacity .5s, transform .5s var(--sanft); }
.fm.da { opacity: 1; transform: none; }
.fm-fbh { left: 50.5%; top: 50%; }
.fm-ww { left: var(--rand); top: 72.5%; }
.fm-leck { left: 30%; top: 70%; background: var(--gelb); color: var(--nacht); font-weight: 800; }
html:not(.js) .fm, html:not(.js) .kamera-schirm { display: none; }

/* 4 · Gehör */
.gehoer { background: var(--tuerkis); color: var(--nacht); padding-top: var(--a3); padding-bottom: calc(var(--a5) + 7 * var(--u)); }
.kante { position: absolute; left: 0; width: 100%; pointer-events: none; }
.kante-welle { top: 1px; height: clamp(60px, 9 * var(--u), 130px); transform: translateY(-100%); fill: var(--tuerkis); overflow: visible; }
.gehoer .riesen { color: var(--tuerkis-tief); font-weight: var(--gw, 420); text-align: right; }
.welle { position: absolute; z-index: 1; left: 0; right: 0; bottom: clamp(40px, 5 * var(--u), 90px); width: 100%; height: clamp(130px, 15 * var(--u), 240px); pointer-events: none; }
.tier-horcht { width: 100%; max-width: calc(24 * var(--u)); justify-self: end; transform: translate3d(0, calc((var(--p) - .5) * -4 * var(--u)), 0); filter: drop-shadow(0 18px 14px rgba(9, 70, 72, .35)); }
.geraet-mikro { width: 100%; max-width: calc(23 * var(--u)); transform: translate3d(0, calc((var(--p) - .5) * 5 * var(--u)), 0); filter: drop-shadow(0 18px 14px rgba(9, 70, 72, .35)); }
.gehoer .hinweis { background: var(--nacht); color: var(--hell); }
.pegel { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-family: var(--mono); font-size: var(--t-klein); font-weight: 600; }
.pegel span { letter-spacing: .03em; text-transform: uppercase; }
.pegel b { min-width: 2.2ch; font-size: clamp(26px, 2.6 * var(--u), 40px); font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.pegel i { flex: 1 1 110px; max-width: 200px; height: 12px; border-radius: 6px; background: rgba(26, 19, 96, .2); overflow: hidden; }
.pegel u { display: block; height: 100%; width: 100%; background: var(--nacht); transform-origin: 0 50%; transform: scaleX(var(--pegel, .12)); }
html:not(.js) .pegel, html:not(.bewegt) .ton { display: none; }

/* 5 · Nase */
.nase { background: var(--hell); color: var(--nacht); }
.nase::before { content: ""; position: absolute; left: 0; right: 0; top: 1px; height: clamp(50px, 8 * var(--u), 120px); transform: translateY(-100%); background: var(--hell); border-radius: 50% 50% 0 0 / 100% 100% 0 0; }
.nase .riesen { display: flex; color: var(--gelb); }
.nase .riesen span { display: inline-block; transform: translate3d(0, calc((var(--p) - .28) * var(--auftrieb, -40px)), 0) rotate(calc((var(--p) - .28) * var(--dreh, 4deg))); }
.nase .riesen span:nth-child(1) { --auftrieb: calc(-6 * var(--u)); --dreh: -7deg; }
.nase .riesen span:nth-child(2) { --auftrieb: calc(-13 * var(--u)); --dreh: 5deg; }
.nase .riesen span:nth-child(3) { --auftrieb: calc(-9 * var(--u)); --dreh: -4deg; }
.nase .riesen span:nth-child(4) { --auftrieb: calc(-17 * var(--u)); --dreh: 9deg; }
html:not(.bewegt) .nase .riesen span { transform: none; }
.geraet-gas { width: 100%; max-width: calc(19 * var(--u)); justify-self: end; transform: translate3d(0, calc((var(--p) - .5) * 4 * var(--u)), 0); filter: drop-shadow(0 18px 14px rgba(26, 19, 96, .25)); }
.schnupperplatz { position: relative; width: 100%; max-width: calc(40 * var(--u)); }
.tier-schnuppert { width: 100%; filter: drop-shadow(0 14px 12px rgba(26, 19, 96, .22)); }
.gasring { position: absolute; left: 2%; top: 80%; width: 22%; aspect-ratio: 1; margin: -11% 0 0 -11%; border: 3px solid var(--tuerkis); border-radius: 50%; opacity: 0; }
html.bewegt .nase.sichtbar .gasring { animation: steigt 3.9s linear infinite; }
.gasring:nth-child(2) { animation-delay: 1.3s !important; }
.gasring:nth-child(3) { animation-delay: 2.6s !important; }
@keyframes steigt { 0% { transform: translateY(0) scale(.15); opacity: 0; } 12% { opacity: .9; } 100% { transform: translateY(-260%) scale(1.5); opacity: 0; } }
.pegel-gas small { font-size: var(--t-klein); font-weight: 600; margin-left: -6px; }
.pegel-gas b { min-width: 3.2ch; text-align: right; }
.pegel-gas u { background: var(--tuerkis-tief); }

/* ───────── 6 · Eine Fliese ───────── */
.fliese { position: relative; overflow-x: clip; background: var(--gelb); color: var(--nacht); }
.fliese::before { content: ""; position: absolute; z-index: 1; left: 0; right: 0; top: 1px; height: clamp(28px, 4 * var(--u), 64px); transform: translateY(-100%); background: conic-gradient(from 0deg at 50% 50%, var(--gelb) 0 25%, transparent 0 50%, var(--gelb) 0 75%, transparent 0) 0 0 / calc(2 * clamp(28px, 4 * var(--u), 64px)) calc(2 * clamp(28px, 4 * var(--u), 64px)); }
.fliese .buehne { height: auto; min-height: 100svh; padding-block: clamp(96px, 14svh, 150px) var(--a3); overflow: visible; display: flex; align-items: center; --stufe: 2; }
html.js.bewegt .fliese { height: 330vh; height: 330svh; }
html.js.bewegt .fliese .buehne { position: sticky; top: 0; height: 100svh; overflow: clip; --stufe: 0; }
.fliese-raster { width: 100%; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: var(--a4); align-items: center; }
.fliese-text h2 { max-width: 9.5em; }
.vergleich { margin-top: var(--a3); display: grid; gap: var(--a2); }
.vg { display: grid; padding: var(--a2) 0 0; border-top: 3px solid var(--nacht); opacity: .38; transition: opacity .4s; }
.vg.an { opacity: 1; }
html:not(.bewegt) .vg, html:not(.js) .vg { opacity: 1; }
.vg > span { font-family: var(--mono); font-size: var(--t-klein); font-weight: 600; letter-spacing: .03em; text-transform: uppercase; }
.vg b { font-size: clamp(28px, 3.3 * var(--u), 52px); font-weight: 1000; line-height: 1.08; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.vg em { font-style: normal; font-weight: 700; }
.fliese-klein { margin-top: var(--a2); font-size: var(--t-klein); font-weight: 650; }
.boden-feld { position: relative; justify-self: center; width: min(100%, 46 * var(--u), 92svh); }
.boden { position: relative; display: grid; grid-template-columns: repeat(7, 1fr); gap: clamp(3px, .35 * var(--u), 6px); padding: clamp(3px, .35 * var(--u), 6px); background: #6E5F58; border-radius: 6px; box-shadow: 0 30px 50px rgba(120, 80, 0, .35); aspect-ratio: 7 / 5; }
.f { position: relative; background: linear-gradient(135deg, #EDE9E2, #D8D2C8); border-radius: 2px; transition: transform .32s var(--sanft), opacity .32s, box-shadow .32s; }
.f.weg { transform: translateY(-14px) rotate(-7deg) scale(.82); opacity: 0; }
.f.nass::after { content: ""; position: absolute; inset: -18% -30% -40% -12%; border-radius: 46% 54% 58% 42% / 52% 44% 56% 48%; background: radial-gradient(closest-side, rgba(70, 60, 50, .36), rgba(70, 60, 50, 0)); pointer-events: none; }
.f.leck { z-index: 2; }
.f.leck.offen { transform: translate(18%, -72%) rotate(9deg); box-shadow: -10px 26px 22px rgba(40, 30, 20, .45); }
.f.leck::before { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 16px; margin: -8px; border-radius: 50%; border: 3px solid var(--glut); opacity: 0; transition: opacity .3s; }
.boden .loch-rohr { position: absolute; z-index: 1; border-radius: 2px; background: radial-gradient(circle at 50% 50%, #FFD23F 0 7%, #FF6A1F 8% 13%, transparent 14%), linear-gradient(90deg, transparent 0 42%, #C8793A 42% 47%, #E9A25C 47% 53%, #C8793A 53% 58%, transparent 58%), #4A3E3A; opacity: 0; transition: opacity .2s; }
.boden .loch-rohr.da { opacity: 1; }
.boden-marke { position: absolute; z-index: 3; font-family: var(--mono); font-size: var(--t-klein); font-weight: 800; padding: 4px 9px; border-radius: 7px; white-space: nowrap; background: var(--nacht); color: var(--hell); opacity: 0; transition: opacity .35s; }
.boden-marke.da { opacity: 1; }
.boden-satz { position: absolute; left: 0; top: calc(100% + 14px); font-size: var(--t-gross); font-weight: 900; opacity: 0; transition: opacity .35s; }
.boden-satz.da { opacity: 1; }
html:not(.js) .boden-satz-mit, html:not(.bewegt) .boden-satz-mit { opacity: 1; }
html:not(.js) .boden { background: repeating-linear-gradient(90deg, #6E5F58 0 1%, transparent 1% 14.2857%), repeating-linear-gradient(0deg, #6E5F58 0 1.4%, transparent 1.4% 20%), #DDD8CF; }
.tier-fliese { position: absolute; z-index: 4; right: calc(-7 * var(--u)); bottom: calc(-8.5 * var(--u)); width: 56%; filter: drop-shadow(0 20px 16px rgba(120, 80, 0, .35)); transition: transform .7s var(--feder), opacity .35s; }
html.js.bewegt .tier-fliese { transform: translate3d(22%, 30%, 0) rotate(7deg); opacity: 0; }
html.js.bewegt .tier-fliese.da { transform: none; opacity: 1; }

/* ───────── 7 · Ein Vormittag ───────── */
.vormittag { position: relative; background: var(--nacht); color: var(--hell); padding-block: var(--a5); --p: .5; }
.vormittag::before { content: ""; position: absolute; left: 0; right: 0; top: 1px; height: clamp(40px, 7 * var(--u), 110px); transform: translateY(-100%); background: var(--nacht); clip-path: polygon(0 100%, 100% 0, 100% 100%); }
.vormittag-raster { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: var(--a4); align-items: start; }
.uhr-spalte { position: sticky; top: clamp(100px, 16vh, 170px); }
.uhr { margin-top: var(--a3); font-family: var(--mono); font-size: clamp(64px, 12.5 * var(--u), 200px); font-weight: 800; line-height: .95; letter-spacing: -0.06em; color: var(--gelb); font-variant-numeric: tabular-nums; }
.uhr-klein { margin-top: var(--a2); max-width: 22em; font-weight: 650; opacity: .85; }
.schritte { position: relative; display: grid; gap: var(--a3); padding-left: clamp(26px, 3 * var(--u), 48px); }
.schritte::before { content: ""; position: absolute; left: 4px; top: 10px; bottom: 10px; width: 6px; border-radius: 3px; background: rgba(255, 246, 232, .18); }
.schritte::after { content: ""; position: absolute; left: 4px; top: 10px; bottom: 10px; width: 6px; border-radius: 3px; background: var(--gelb); transform-origin: 50% 0; transform: scaleY(var(--lauf, 1)); }
.schritte li { display: grid; grid-template-columns: auto 1fr; gap: var(--a2); align-items: baseline; padding-block: var(--a2); opacity: .4; transform: translateX(14px); transition: opacity .4s, transform .5s var(--sanft); }
.schritte li.an, html:not(.js) .schritte li, html:not(.bewegt) .schritte li { opacity: 1; transform: none; }
.schritte time { font-family: var(--mono); font-size: var(--t-gross); font-weight: 800; color: var(--gelb); }
.schritte h3 { font-size: clamp(24px, 2.7 * var(--u), 42px); font-weight: 1000; letter-spacing: -0.015em; line-height: 1.1; }
.schritte p { margin-top: 6px; max-width: 26em; font-weight: 620; opacity: .9; }

/* ───────── 8 · Bericht ───────── */
.bericht { position: relative; z-index: 1; overflow-x: clip; background: var(--hell); color: var(--nacht); padding-block: var(--a5); margin-top: calc(-3 * var(--u)); border-radius: calc(3 * var(--u)) calc(3 * var(--u)) 0 0; --p: .5; }
.bericht-raster { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: var(--a4); align-items: center; }
.blatt-platz { justify-self: center; width: min(100%, calc(38 * var(--u))); min-width: 250px; transform: translate3d(0, calc((var(--p) - .5) * -5 * var(--u)), 0) rotate(calc(-5deg + var(--p) * 4deg)); }
.blatt { position: relative; background: var(--weiss); border-radius: 6px; padding: clamp(18px, 2.2 * var(--u), 34px); box-shadow: 0 2px 0 #E5DCCB, 0 30px 60px rgba(26, 19, 96, .22); font-size: clamp(12.5px, .95 * var(--u), 15px); line-height: 1.4; }
.blatt header { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 10px; border-bottom: 3px solid var(--nacht); }
.blatt header b { font-size: 1.45em; font-weight: 1000; }
.blatt header span { font-family: var(--mono); font-size: .86em; }
.blatt-bilder { display: grid; grid-template-columns: 1.25fr 1fr; gap: 10px; margin-top: 14px; }
.blatt figure { display: grid; gap: 5px; }
.blatt figure img, .blatt-fleck { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: contain; background: var(--nacht); border-radius: 4px; }
.blatt-fleck { background: radial-gradient(ellipse 30% 26% at 44% 58%, #FFE9A0, #FF8A1F 55%, rgba(214, 36, 127, .0) 100%), linear-gradient(8deg, transparent 0 46%, rgba(214, 36, 127, .65) 50%, rgba(255, 106, 31, .7) 54%, rgba(214, 36, 127, .65) 58%, transparent 62%), var(--nacht); }
.blatt figcaption { font-size: .84em; font-weight: 700; }
.blatt dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin-top: 14px; }
.blatt dt { font-family: var(--mono); font-size: .86em; opacity: .75; }
.blatt dd { font-weight: 800; }
.stempel { position: absolute; right: -5%; bottom: 5%; display: flex; align-items: center; gap: 10px; background: rgba(255, 255, 255, .86); padding: 6px 16px; border: 5px solid var(--glut); border-radius: 12px; color: var(--glut); font-size: clamp(22px, 2.5 * var(--u), 38px); font-weight: 1000; letter-spacing: .06em; transform: rotate(-11deg); transition: transform .42s var(--feder), opacity .2s; }
html.js.bewegt .stempel { opacity: 0; transform: rotate(-24deg) scale(2.4); }
html.js.bewegt .stempel.da { opacity: 1; transform: rotate(-11deg) scale(1); }
.stempel svg { width: 1.15em; height: 1.15em; flex: none; }
.bericht-text .gross { margin-top: var(--a3); max-width: 27em; }
.zusagen { margin-top: var(--a3); display: grid; gap: 0; }
.zusagen li { padding-block: var(--a2); border-top: 3px solid var(--nacht); }
.zusagen p { margin-top: 4px; max-width: 34em; }
.zusagen b { font-weight: 1000; }

/* ───────── 9 · Leute ───────── */
.leute { position: relative; background: var(--tuerkis); color: var(--nacht); padding-top: var(--a5); overflow: hidden; --p: .5; }
.leute-raster { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: var(--a4); align-items: end; }
.leute-text { padding-bottom: var(--a5); }
.leute-text > * + * { margin-top: var(--a2); }
.leute-text .gross { margin-top: var(--a3); max-width: 26em; }
.leute-text p { max-width: 33em; }
.leute-marke { display: flex; align-items: center; gap: 14px; margin-top: var(--a3) !important; }
.leute-marke b { font-family: var(--mono); font-size: clamp(22px, 2.2 * var(--u), 34px); font-weight: 800; background: var(--nacht); color: var(--gelb); padding: 6px 14px; border-radius: 10px; font-variant-numeric: tabular-nums; }
.leute-marke span { font-weight: 850; font-size: var(--t-gross); }
html:not(.js) .leute-marke { display: none; }
.vroni { position: relative; isolation: isolate; justify-self: center; width: min(100%, calc(31 * var(--u)), 62svh); min-width: 220px; --scan: 50%; }
.vroni img { width: 100%; }
.vroni-echt { position: relative; filter: drop-shadow(0 0 0 transparent); }
.vroni-waerme { position: absolute; inset: 0; clip-path: inset(calc(var(--scan) - 15%) 0 calc(85% - var(--scan)) 0); }
.vroni-waerme, .vroni-linie { visibility: hidden; }
html.js .vroni-waerme, html.js .vroni-linie { visibility: visible; }
.vroni-linie { position: absolute; left: -14%; right: -200vw; border-radius: 18px 0 0 18px; top: calc(var(--scan) - 15%); height: 30%; border-block: 3px solid var(--hell); background: var(--nacht); z-index: -1; box-shadow: 0 0 26px rgba(255, 210, 63, .5); }

/* ───────── 10 · Melden ───────── */
.melden { position: relative; overflow-x: clip; background: var(--glut); color: var(--nacht); padding-block: var(--a5) var(--a4); }
.melden-raster { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--a4); align-items: start; }
.melden-text .gross { margin-top: var(--a3); max-width: 22em; }
.telefon { margin-top: var(--a3); display: grid; }
.telefon a { font-size: clamp(28px, 3.3 * var(--u), 52px); font-weight: 1000; letter-spacing: -0.01em; text-decoration: none; min-height: 48px; display: inline-flex; align-items: center; width: fit-content; }
.telefon a:hover { text-decoration: underline; text-decoration-thickness: 4px; text-underline-offset: 6px; }
.telefon span { font-family: var(--mono); font-size: var(--t-klein); font-weight: 600; }
.tier-koffer { width: min(100%, calc(30 * var(--u))); margin-top: var(--a3); filter: drop-shadow(0 22px 18px rgba(120, 40, 0, .4)); }
.formular { background: var(--hell); border-radius: var(--ecke); padding: clamp(20px, 3 * var(--u), 46px); box-shadow: 0 8px 0 rgba(26, 19, 96, .9); display: grid; gap: var(--a2); }
.ort { border: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.ort legend { width: 100%; margin-bottom: 12px; font-size: clamp(20px, 1.9 * var(--u), 29px); font-weight: 1000; padding: 0; }
.ort label { position: relative; cursor: pointer; }
.ort input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.ort span { display: inline-flex; align-items: center; min-height: 46px; padding: 0 18px; border: 2px solid var(--nacht); border-radius: var(--rund); font-weight: 800; transition: background-color .16s, color .16s, transform .16s var(--sanft); }
.ort label:hover span { transform: translateY(-2px); }
.ort input:checked + span { background: var(--nacht); color: var(--hell); }
.ort input:focus-visible + span { outline: 3px solid var(--glut); outline-offset: 3px; }
.feld { display: grid; gap: 6px; }
.feld label { font-weight: 850; }
.feld input { width: 100%; min-height: 52px; padding: 0 16px; border: 2px solid var(--nacht); border-radius: 14px; background: var(--weiss); font: inherit; font-weight: 700; color: var(--nacht); }
.feld input:focus-visible { outline: 3px solid var(--glut); outline-offset: 2px; }
.feld input[aria-invalid="true"] { border-color: #B3122A; background: #FFF0F0; }
.feld-fehler { min-height: 1.55em; font-size: var(--t-klein); font-weight: 800; color: #B3122A; }
.formular-knopf .knopf { width: 100%; min-height: 58px; font-size: clamp(18px, 1.4 * var(--u), 21px); }
.formular-klein { font-size: var(--t-klein); font-weight: 700; text-align: center; }
.formular-meldung { min-height: 2.9em; font-weight: 900; text-align: center; border-radius: 12px; }
.formular-meldung:not(:empty) { background: var(--tuerkis); padding: 10px 14px; }

/* ───────── Fuß ───────── */
.fuss { position: relative; background: var(--nacht); color: var(--hell); padding-block: var(--a4) var(--a3); overflow: hidden; --p: 1; }
.fuss-wort { display: flex; justify-content: space-between; padding-inline: var(--rand); font-size: clamp(90px, 26.5 * var(--u), 424px); font-weight: 1000; line-height: .8; letter-spacing: -0.03em; color: var(--gelb); user-select: none; }
.fuss-wort span { display: inline-block; transform: translate3d(0, calc((1 - clamp(0, var(--p) * 2.4 - var(--v, 0), 1)) * 70%), 0); }
.fuss-wort span:nth-child(2) { --v: .12; } .fuss-wort span:nth-child(3) { --v: .24; } .fuss-wort span:nth-child(4) { --v: .36; } .fuss-wort span:nth-child(5) { --v: .48; }
html:not(.bewegt) .fuss-wort span { transform: none; }
.fuss-raster { margin-top: var(--a4); display: grid; grid-template-columns: 1.4fr 1fr 1fr auto; gap: var(--a3); align-items: start; }
.fuss a { text-decoration: none; display: inline-flex; align-items: center; min-height: 32px; }
.fuss a:hover { text-decoration: underline; text-decoration-color: var(--gelb); text-decoration-thickness: 3px; text-underline-offset: 5px; }
.zeichen-liste { display: flex; gap: 6px; }
.zeichen-link { width: 44px; height: 44px; display: inline-flex !important; align-items: center; justify-content: center; border-radius: 50%; transition: background-color .18s, color .18s; }
.zeichen-link:hover { background: var(--gelb); color: var(--nacht); }
.zeichen { width: 22px; height: 22px; }
.fuss-klein { grid-column: 1 / -1; padding-top: var(--a2); border-top: 2px solid rgba(255, 246, 232, .22); font-size: var(--t-klein); opacity: .85; }

/* Suchfläche: läuft durch die drei Sinne mit */
.suchflaeche { position: fixed; z-index: 55; right: var(--rand); bottom: clamp(12px, 2.4vh, 26px); display: flex; align-items: center; gap: 10px; min-height: 46px; padding: 6px 16px 6px 8px; background: var(--hell); color: var(--nacht); border-radius: var(--rund); box-shadow: 0 6px 22px rgba(18, 12, 72, .25); font-family: var(--mono); font-size: 12.5px; font-weight: 600; opacity: 0; transform: translateY(20px); transition: opacity .3s, transform .4s var(--sanft); pointer-events: none; --ring: 1; }
.suchflaeche.da { opacity: 1; transform: none; }
.suchflaeche i { position: relative; flex: none; width: 34px; height: 34px; }
.suchflaeche i::after { content: ""; position: absolute; left: 2px; top: 2px; width: 30px; height: 30px; border: 3px solid var(--glut); border-radius: 50%; transform: scale(var(--ring)); transition: transform .6s var(--feder), background-color .4s; }
.suchflaeche.punkt i::after { background: var(--glut); }
.suchflaeche span { text-transform: uppercase; letter-spacing: .03em; opacity: .75; }
.suchflaeche b { font-size: 15px; font-weight: 800; }
html:not(.js) .suchflaeche, html:not(.bewegt) .suchflaeche { display: none; }

/* ───────── Rechtliches ───────── */
.recht-seite { background: var(--hell); }
.recht-seite .leiste-innen { box-shadow: 0 0 0 2px var(--nacht); }
.recht { max-width: 800px; margin: 0 auto; padding: clamp(120px, 18vh, 170px) clamp(18px, 4.5vw, 40px) var(--a4); }
.recht h1 { font-size: clamp(32px, 4 * var(--u), 56px); }
.recht h2 { font-size: clamp(22px, 2.2 * var(--u), 32px); margin-top: var(--a3); }
.recht p, .recht dl { margin-top: var(--a2); }
.recht dl { display: grid; grid-template-columns: minmax(120px, auto) 1fr; gap: 6px 18px; }
.recht dt { font-weight: 900; }
.recht a { font-weight: 850; text-decoration-thickness: 2px; text-underline-offset: 3px; }
.hinweis-kasten { background: var(--gelb); border-radius: var(--ecke); padding: var(--a2); font-weight: 750; }
.recht-seite .fuss { padding-block: var(--a3); }

/* ───────── Handy und schmale Fenster ───────── */
@media (max-width: 1020px) {
  .leiste-nav { display: none; }
  .leiste-nav + .knopf { margin-left: auto; }
}
@media (max-width: 820px) {
  .leiste-innen { min-height: 54px; padding-left: 18px; margin-inline: -8px; }
  .marke { font-size: 21px; }
  .marke small { display: none; }
  .buehne { --naht: 56%; --nx: 56vw; }
  .kopf-raster { padding-top: clamp(84px, 12.5svh, 120px); }
  .kopf-text { max-width: none; }
  .kopf-zeile { font-size: 16.5px; max-width: none; }
  .katzenplatz { --kb: min(122vw, 118svh - 560px); right: -17vw; bottom: 7svh; }
  .skala, .mp-boden, .mp-nase, .naht-schild, .sucher, .kamera-status { display: none; }
  .mp em { display: none; }
  .mp-bauch { left: 40%; top: 97%; }
  .mp-fell { left: 52%; }
  .naht::after { top: auto; bottom: calc(7svh + min(122vw, 118svh - 560px) * .47); }
  .kopf2 { top: clamp(84px, 12.5svh, 120px); right: var(--rand); max-width: none; }
  .kopf2-zahl { font-size: clamp(64px, 21vw, 110px); }
  .iris { clip-path: circle(var(--iris) at 50% calc(100% - 7svh - 6vw)); }
  .weiter { display: none; }

  .fleck-raster, .sinn-raster, .sinn-raster-drei, .fliese-raster, .vormittag-raster, .bericht-raster, .leute-raster, .melden-raster { grid-template-columns: minmax(0, 1fr); }
  .zaehler { justify-self: start; text-align: left; }
  .zaehler-fuss { margin-left: 0; }
  .strahl { display: none; }
  .folgen { grid-template-columns: 1fr; gap: var(--a2); }
  .riesen { margin-bottom: -18px; }

  .waerme { min-height: 0; padding-bottom: 96vw; }
  .geraet-kamera { position: absolute; right: 0; bottom: -84vw; width: 38vw; margin: 0; }
  .waerme .sinn-raster { position: relative; }
  .fm-fbh { left: 8%; top: auto; bottom: 64vw; }
  .fm-ww { top: auto; bottom: 30vw; }
  .fm-leck { left: 16%; top: auto; bottom: 8vw; }

  .sinn-raster-drei { gap: var(--a3); }
  .nase .sinn-raster-drei { grid-template-columns: minmax(0, 1fr); }
  .gehoer .sinn-text, .nase .sinn-text { order: -1; }
  .tier-horcht { max-width: 44vw; justify-self: start; }
  .geraet-mikro { max-width: 46vw; justify-self: end; margin-top: -52vw; }
  .welle { bottom: 14vw; height: 34vw; }
  .gehoer .riesen { text-align: left; }
  .geraet-gas { max-width: 34vw; justify-self: start; }
  .schnupperplatz { max-width: 66vw; justify-self: end; margin: -40vw 0 0; }

  html.js.bewegt .fliese { height: 300vh; height: 300svh; }
  .fliese .buehne { align-items: flex-start; padding-top: 84px; }
  .fliese-raster { gap: var(--a2); }
  .vergleich { margin-top: var(--a2); gap: 8px; }
  .vg { padding-top: 8px; }
  .vg b { font-size: 26px; }
  .fliese-klein { display: none; }
  .boden-feld { width: min(100%, 52svh); justify-self: start; }
  .tier-fliese { width: 50%; right: -3vw; bottom: -16vw; }
  .boden-satz { font-size: 17px; max-width: 52%; }

  .uhr-spalte { position: static; }
  .blatt-platz { width: min(100%, 420px); }
  .leute-text { padding-bottom: 0; }
  .vroni { width: min(78vw, 56svh); }
  .tier-koffer { width: min(72vw, 340px); }
  .fuss-raster { grid-template-columns: 1fr 1fr; }
  .fuss-raster > p:first-child, .zeichen-liste { grid-column: 1 / -1; }
  .suchflaeche { right: 10px; bottom: 10px; }
}

/* ───────── Flaches Fenster ───────── */
@media (max-height: 620px) and (min-width: 600px) {
  .kopf-raster { padding-top: 84px; }
  .kopf-text { max-width: 54vw; }
  .kopf-zeile { max-width: none; }
  .kopf2 { right: auto; }
  h1, .wie-h1 { font-size: clamp(26px, 6.4svh, 40px); }
  .kopf-zeile { margin-top: 8px; font-size: 13.5px; line-height: 1.35; }
  .kopf-beleg, .kopf-knopf { margin-top: 8px; }
  .kopf-klein { margin-top: 6px; font-size: 12px; }
  .knopf { min-height: 44px; }
  .katzenplatz { --kb: min(50vw, 104svh); right: 0; bottom: 4svh; }
  .naht::after { bottom: auto; }
  .skala { display: none; }
  .naht-schild { top: 74px; }
  .naht::after { top: 66px; width: 30px; height: 30px; margin-left: -15px; background-size: 18px; }
  .mp em { display: none; }
  .kopf2 { top: 80px; max-width: 46vw; }
  .kopf2-zahl { font-size: 54px; }
  .kopf2-satz { font-size: 14px; margin-top: 8px; }
  .weiter { display: none; }
  .fliese .buehne { padding-block: 76px 12px; align-items: center; }
  .fliese-raster { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
  .tier-fliese { width: 50%; right: -2vw; bottom: -5vw; }
  .fliese-text h2 { font-size: 26px; }
  .vergleich { margin-top: 10px; gap: 6px; }
  .vg { padding-top: 6px; }
  .vg b { font-size: 21px; }
  .fliese-klein { display: none; }
  .boden-feld { width: min(100%, 66svh); justify-self: center; }
  .boden-satz { font-size: 14px; top: calc(100% + 6px); }
}


@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
}
