/* Peppermoth Landingpage. Keine Fremdbibliotheken, keine externen Anfragen.
   Farbe 2+1: Schwarz, Knochenweiss, ein Rot. Schriften aus dem Programm (pm-display, pm-mono, pm-pixel).
   Buehnen (.stage) sind immer schwarz, Papierflaechen (.paper) folgen dem Thema. */

@font-face { font-family: "Peppermoth Display"; font-weight: 700; font-style: normal; font-display: swap; src: url("fonts/pm-display.woff2") format("woff2"); }
@font-face { font-family: "Peppermoth Mono"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/pm-mono.woff2") format("woff2"); }
@font-face { font-family: "Peppermoth Mono"; font-weight: 700; font-style: normal; font-display: swap; src: url("fonts/pm-mono-bold.woff2") format("woff2"); }
@font-face { font-family: "Peppermoth Pixel"; font-weight: 400; font-style: normal; font-display: swap; src: url("fonts/pm-pixel.woff2") format("woff2"); }

:root {
  --paper: #efeae0; --paper2: #e5dfd2; --ink: #141210; --ink2: #5a544b;
  --black: #0b0a09; --bone: #efeae0; --bone2: #a59e91; --red: #ff3b1f; --on-red: #141210;
  --f-d: "Peppermoth Display", "Bahnschrift", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --f-m: "Peppermoth Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --f-p: "Peppermoth Pixel", "Peppermoth Mono", monospace;
  --f-s: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --pad: clamp(16px, 3.2vw, 48px);
  --top: 56px;
  --line: 1px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --paper: #191715; --paper2: #24211e; --ink: #efeae0; --ink2: #a59e91; color-scheme: dark; }
}
:root[data-theme="dark"] { --paper: #191715; --paper2: #24211e; --ink: #efeae0; --ink2: #a59e91; color-scheme: dark; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--top); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.5 var(--f-s); }
img, canvas, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; padding: 0; }
ol, ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
[hidden] { display: none !important; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: var(--pad); top: -80px; z-index: 60; background: var(--ink); color: var(--paper); padding: 10px 14px; font: 700 13px var(--f-m); }
.skip:focus { top: 8px; }
.src-vids { position: fixed; left: 0; top: 0; width: 2px; height: 2px; overflow: hidden; opacity: 0; pointer-events: none; }
.src-vids video { width: 2px; height: 2px; }

/* Szenen: jede Flaeche hat genau eine Farbwelt */
.scene { --bg: var(--paper); --fg: var(--ink); --fg2: var(--ink2); background: var(--bg); color: var(--fg); position: relative; padding: clamp(88px, 11vw, 176px) var(--pad) clamp(132px, 12vw, 176px); }
.scene.stage { --bg: var(--black); --fg: var(--bone); --fg2: var(--bone2); }
.scene.red { --bg: var(--black); --fg: var(--bone); --fg2: var(--bone2); }
/* Uebergang: die Flaeche rastert sich nach oben in die vorige hinein (Bayer-Maske, von site.js erzeugt) */
.js .scene:not(.show)::before { content: ""; position: absolute; left: 0; right: 0; bottom: calc(100% - 1px); height: 96px; background: var(--bg); pointer-events: none; z-index: 2;
  -webkit-mask: var(--dm, none) repeat-x 0 0 / 32px 96px; mask: var(--dm, none) repeat-x 0 0 / 32px 96px; }
.js:not(.has-dm) .scene::before { display: none; }

/* Schrift */
.mega, .big, .price-num, .zero, .index h3, .spec dt, .grow-read { font-family: var(--f-d); font-weight: 700; text-transform: uppercase; letter-spacing: 0; line-height: .86; }
.big { font-size: clamp(2.3rem, 4.8vw, 5rem); line-height: .94; }
.js .big .ch { visibility: hidden; }
.js .big.in .ch { visibility: visible; transition: visibility 0s linear calc(var(--i) * 26ms); }
.copy { font-size: clamp(1.05rem, 1.35vw, 1.3rem); line-height: 1.45; max-width: 34em; color: var(--fg); }
.lead { font-size: clamp(1rem, 1.25vw, 1.2rem); line-height: 1.42; }
.meta, .label, .tag, .tag-i, .tabs button, .nav a, .tool, .where, .cmp-list, .req dt, .facts, .index .n, .foot-nav a { font-family: var(--f-m); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.meta { color: var(--fg2); line-height: 1.6; }
.small { font-size: .95rem; line-height: 1.5; color: var(--fg); max-width: 38em; }
.label { font-weight: 700; margin: 0 0 14px; padding-top: 12px; border-top: var(--line) solid var(--fg); }

/* Kopfzeile: nimmt die Farbe der Szene an, in der man gerade ist */
.top { --tb: var(--paper); --tf: var(--ink); position: sticky; top: 0; z-index: 40; height: var(--top); display: flex; align-items: center; gap: 24px; padding: 0 var(--pad); background: var(--tb); color: var(--tf); border-bottom: var(--line) solid var(--tf); }
.top[data-tone="dark"] { --tb: var(--black); --tf: var(--bone); }
.top[data-tone="red"] { --tb: var(--red); --tf: #141210; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-name { font: 700 22px/1 var(--f-d); text-transform: uppercase; }
.moth { width: 34px; height: auto; flex: none; transform-origin: 50% 40%; }
.brand:hover .moth { animation: flutter .28s steps(2, jump-none) 3; }
@keyframes flutter { 50% { transform: scaleX(.62); } }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a.is-here { border-bottom-color: var(--red); }
.where { display: flex; gap: 0; white-space: nowrap; font-weight: 700; padding-left: 22px; border-left: var(--line) solid var(--tf); }
.where-of { opacity: .5; } .where-name { display: none; }
.top-tools { display: flex; align-items: center; gap: 6px; }
.tool { min-width: 40px; height: 40px; padding: 0 8px; display: inline-flex; align-items: center; justify-content: center; gap: 3px; }
.tool:hover { background: var(--tf); color: var(--tb); }
.l-sep { opacity: .45; }
:root[data-lang="de"] .l-en, :root[data-lang="en"] .l-de { opacity: .45; }
.th { width: 16px; height: 16px; border-radius: 50%; border: 2px solid currentColor; background: linear-gradient(90deg, currentColor 50%, transparent 50%); }
.ico-pause { width: 10px; height: 12px; border-left: 3px solid currentColor; border-right: 3px solid currentColor; }
[aria-pressed="false"] .ico-pause { width: 0; height: 0; border: 6px solid transparent; border-left: 10px solid currentColor; border-right: 0; }

/* Knopf: eckig, rot, Tinte darauf (wie "Exportieren" im Programm) */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; background: var(--red); color: var(--on-red); font: 700 15px/1 var(--f-m); letter-spacing: .04em; text-transform: uppercase; text-decoration: none; border: 0; box-shadow: 6px 6px 0 var(--fg, var(--ink)); transition: transform .12s steps(2), box-shadow .12s steps(2); }
.btn:hover { transform: translate(3px, 3px); box-shadow: 3px 3px 0 var(--fg, var(--ink)); }
.btn:active { transform: translate(6px, 6px); box-shadow: 0 0 0 var(--fg, var(--ink)); }
.btn-small { min-height: 40px; padding: 0 16px; font-size: 12px; box-shadow: none; margin-left: 6px; }
.btn-small:hover { transform: none; box-shadow: none; background: var(--tf); color: var(--tb); }
.btn-big { min-height: 64px; padding: 0 34px; font-size: 17px; }

/* Ecken-Schilder wie in der Stil-Bibliothek */
.tag { position: absolute; background: var(--bone); color: #141210; padding: 5px 8px; line-height: 1; white-space: nowrap; z-index: 1; }
.tag-tl { left: 0; top: 0; font-weight: 700; } .tag-tr { right: 0; top: 0; } .tag-bl { left: 0; bottom: 0; font-size: 13px; font-weight: 700; }
.tag-i { display: inline-block; background: var(--bone); color: #141210; padding: 5px 8px; line-height: 1; white-space: nowrap; }
.tag-i b { font-weight: 700; }
.tag-code { font-weight: 700; }

/* ---------- AKT 1: Schau. Eine feste Buehne (WebGL), die Fotos ziehen als Stufen darueber ---------- */
.show { padding: 0; --sh: calc(100vh - var(--top)); }
@supports (height: 100svh) { .show { --sh: calc(100svh - var(--top)); } }
.pin { position: sticky; top: var(--top); height: calc(100vh - var(--top)); height: calc(100svh - var(--top)); overflow: hidden; }
.show-stage { position: sticky; top: var(--top); height: var(--sh); overflow: hidden; background: var(--black); }
#showCv { position: absolute; inset: 0; width: 100%; height: 100%; }
.steps { position: relative; z-index: 2; margin-top: calc(-1 * var(--sh)); overflow-x: clip; }
.step { position: relative; height: calc(var(--sh) * 1.75); }
.step-hero { height: var(--sh); }
.step .fb { display: none; }
/* Titel und Stichwoerter auf Bildern: ruhig, jede Zeile mit eigenem schwarzem Grund */
.mega, .cap-h { font-family: var(--f-d); font-weight: 700; text-transform: uppercase; color: var(--bone); line-height: 1; }
.mega { font-size: clamp(2.4rem, 4.4vw, 4.6rem); display: grid; justify-items: start; gap: 0; line-height: .92; }
.mega span { white-space: nowrap; }
/* Text auf dem Bild: Zeilen mit eigenem schwarzem Grund statt Kasten */
.onimg { font-size: clamp(1rem, 1.15vw, 1.12rem); line-height: 1.5; color: var(--bone); }
/* Tafel: ein ruhiger schwarzer Block fuer Titel und Text, kein Zeilenkasten */
.hero-copy, .cap { position: absolute; left: var(--pad); z-index: 3; width: min(500px, calc(100% - 2 * var(--pad))); background: var(--black); color: var(--bone); padding: clamp(20px, 2vw, 30px) clamp(20px, 2.2vw, 32px) clamp(18px, 1.8vw, 26px); display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; justify-items: start; }
.hero-copy { bottom: calc(var(--pad) + 76px); }
.stage-cta { position: absolute; left: 50%; bottom: var(--pad); transform: translateX(-50%); z-index: 4; display: flex; align-items: stretch; white-space: nowrap; border: var(--line) solid var(--bone); background: var(--black); color: var(--bone); }
.stage-cta .btn { box-shadow: none; min-height: 48px; }
.stage-cta .btn:hover { transform: none; background: var(--bone); }
.hero-price { display: flex; align-items: center; gap: 8px; padding: 0 18px; font: 400 12px/1 var(--f-m); text-transform: uppercase; letter-spacing: .04em; }
.hero-price b { font: 700 26px/1 var(--f-d); letter-spacing: 0; }
/* Bildunterschrift je Foto: Nummer, Riesenwort, Zeilen */
.cap { bottom: calc(var(--sh) * .1 + 76px); }
.cap-n { font: 400 12px/1 var(--f-m); letter-spacing: .04em; text-transform: uppercase; color: var(--bone2); }
.cap-h { font-size: clamp(2.4rem, 4.4vw, 4.6rem); line-height: .92; margin-top: -4px; }
.cap-side { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; min-width: 0; }
.chain { font: 400 11px/1.2 var(--f-m); letter-spacing: .04em; text-transform: uppercase; display: flex; flex-wrap: wrap; gap: 5px; padding-top: 14px; border-top: var(--line) solid color-mix(in srgb, var(--bone) 30%, transparent); width: 100%; }
.chain span { border: var(--line) solid color-mix(in srgb, var(--bone) 55%, transparent); color: var(--bone); padding: 5px 7px; white-space: nowrap; }
.chain span:first-child { background: var(--bone); color: #141210; border-color: var(--bone); font-weight: 700; }
/* Anzeigen auf der Buehne */
.hud { position: absolute; z-index: 3; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.hud-tr { right: var(--pad); top: clamp(10px, 1.6vw, 28px); }
.hud-br { right: var(--pad); bottom: var(--pad); justify-content: flex-end; align-items: flex-end; max-width: 46%; }
.orig { position: relative; width: clamp(120px, 15vw, 230px); border: var(--line) solid var(--bone); background: #000; }
.orig img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.flip-ticks { display: inline-flex; gap: 3px; width: 168px; }
.flip-ticks i { flex: 1; height: 22px; background: var(--bone); opacity: .3; }
.flip-ticks i.on { background: var(--red); opacity: 1; }
.flip-ticks, .hud .hint { display: none; }
@media not all and (hover: hover) and (pointer: fine) { .hint { display: none; } }
/* Ohne WebGL oder mit "weniger Bewegung": feste Bilder statt Buehne */
.show.static .show-stage { display: none; }
.show.static .steps { margin-top: 0; }
.show.static .step { height: auto; min-height: var(--sh); overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; }
.show.static .step .fb { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.show.static .cap, .show.static .hero-copy { position: relative; left: auto; bottom: auto; margin: 30vh var(--pad) var(--pad); }
.show.static .step-hero { min-height: var(--sh); }

/* Ladebild: die Motte, eine Zahl, dann harter Schnitt */
.loader { position: fixed; inset: 0; z-index: 100; background: var(--black); color: var(--bone); display: none; place-items: center; }
.js .loader { display: grid; }
.js .loader.done { display: none; }
.loader-in { display: grid; justify-items: center; gap: 22px; }
.loader .moth { width: clamp(90px, 12vw, 170px); color: var(--bone); animation: flutter .5s steps(2, jump-none) infinite; }
.loader-n { font: 400 clamp(2.4rem, 6vw, 5rem)/1 var(--f-p); color: var(--red); font-variant-numeric: tabular-nums; }
.loader-t { font: 400 12px/1 var(--f-m); letter-spacing: .04em; text-transform: uppercase; color: var(--bone2); }
/* Motten-Wand und gestreute Bildwand */
#wallCv { width: 100%; height: min(72vh, 44vw); display: block; }
.strew { position: relative; padding: clamp(40px, 6vw, 96px) var(--pad) 0; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(18px, 3vw, 56px) clamp(12px, 2vw, 32px); align-items: start; }
.strew li { position: relative; grid-column: span 2; will-change: transform; }
.strew li:nth-child(5n+1) { grid-column: span 3; margin-top: 6vw; }
.strew li:nth-child(5n+3) { margin-top: 11vw; }
.strew li:nth-child(7n+4) { grid-column: span 3; margin-top: 2vw; }
.strew li:nth-child(4n+2) { margin-top: 3vw; }
.strew img { width: 100%; height: auto; border: var(--line) solid var(--bone); background: #000; }
.strew figcaption, .strew .lbl { display: flex; justify-content: space-between; gap: 8px; margin-top: 7px; font: 400 11px/1.3 var(--f-m); letter-spacing: .04em; text-transform: uppercase; color: var(--fg2); }
.strew .lbl b { color: var(--fg); font-weight: 700; }
/* Leitsatz */
.js .scene.say::before { display: none; }
.say { padding-top: clamp(110px, 14vw, 220px); padding-bottom: clamp(150px, 16vw, 240px); }
.say-n { font: 700 13px/1 var(--f-m); letter-spacing: .04em; text-transform: uppercase; margin-bottom: 28px; }
.say p#sayText { font: 700 clamp(1.7rem, 3.5vw, 3.6rem)/1.06 var(--f-d); text-transform: uppercase; max-width: 17em; }
.say p#sayText span { opacity: .42; }
.say p#sayText span.on { opacity: 1; }
.say p#sayText span.now { opacity: 1; color: var(--red); }

/* ---------- AKT 2: Vorher / Nachher ---------- */
.compare { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); align-items: start; }
.cmp-text { grid-column: 1 / 8; display: grid; gap: 26px; position: sticky; top: calc(var(--top) + 40px); }
.cmp-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; border-top: var(--line) solid var(--fg); max-width: 640px; }
.cmp-list button { width: 100%; display: grid; grid-template-columns: 46px 1fr; align-items: center; text-align: left; padding: 11px 8px; border-bottom: var(--line) solid var(--fg); }
.cmp-list .t { font: 700 15px var(--f-m); text-transform: none; letter-spacing: 0; }
.cmp-list button:hover, .cmp-list button.is-on { background: var(--fg); color: var(--bg); }
.cmp-list button.is-on .c { color: var(--red); }
.cmp-stage { grid-column: 8 / -1; justify-self: end; position: relative; aspect-ratio: 9 / 16; width: min(100%, calc((100vh - var(--top) - 80px) * 9 / 16)); border: var(--line) solid var(--fg); background: #000; overflow: hidden; touch-action: pan-y; }
.cmp-stage canvas { width: 100%; height: 100%; }
.cmp-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--red); }
.cmp-knob { position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; margin: -22px 0 0 -22px; background: var(--red); display: block; }
.cmp-knob::before, .cmp-knob::after { content: ""; position: absolute; top: 50%; margin-top: -6px; border: 6px solid transparent; }
.cmp-knob::before { left: 6px; border-right-color: #141210; border-left: 0; } .cmp-knob::after { right: 6px; border-left-color: #141210; border-right: 0; }
.cmp-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.cmp-stage:has(.cmp-range:focus-visible) { outline: 2px solid var(--red); outline-offset: 4px; }

/* ---------- AKT 3: Wuchs ---------- */
.grow { padding: 0; height: 300vh; height: 300svh; }
.grow-pin { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); align-items: center; padding: 0 var(--pad); }
.grow-text { grid-column: 1 / 8; display: grid; gap: 24px; position: relative; z-index: 2; }
.grow-read { font-size: clamp(3rem, 6vw, 6rem); line-height: .8; color: var(--red); display: flex; align-items: baseline; gap: .08em; }
.grow-pct { font-family: var(--f-p); font-weight: 400; font-size: .8em; }
.grow-unit { font-size: .5em; }
.grow-fig { grid-column: 8 / -1; justify-self: end; position: relative; aspect-ratio: 600 / 760; height: min(calc(100vh - var(--top) - 72px), 46vw); border: var(--line) solid var(--bone); background: #1c1b26; }
.grow-fig canvas { width: 100%; height: 100%; }

/* ---------- Fluid: Video fuellt die Flaeche, die Tafel steht unten links ---------- */
.fluid { padding: 0; height: calc(100vh - var(--top)); height: calc(100svh - var(--top)); min-height: 520px; overflow: hidden; }
.bgvid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
#fluidCv { position: absolute; inset: 0; width: 100%; height: 100%; display: none; cursor: crosshair; touch-action: pan-y; }
.fluid.is-live #fluidCv { display: block; }
.fluid .cap { bottom: var(--pad); }
.js .scene.fluid::before { display: none; }

/* ---------- AKT 4: Werkzeug ---------- */
.tool-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: end; margin-bottom: clamp(32px, 5vw, 72px); }
.tool-head .big { grid-column: 1 / -1; } .tool-head .copy { grid-column: 8 / -1; margin-top: 28px; }
.tabs { display: flex; border: var(--line) solid var(--fg); border-bottom: 0; width: max-content; max-width: 100%; }
.tabs button { padding: 12px 18px; border-right: var(--line) solid var(--fg); }
.tabs button:last-child { border-right: 0; }
.tabs button:hover, .tabs button[aria-selected="true"] { background: var(--fg); color: var(--bg); }
.shot { border: var(--line) solid var(--fg); background: #111; margin-bottom: 30px; }
.shot img, .shot video { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.spec { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: var(--line) solid var(--fg); border-left: var(--line) solid var(--fg); margin-top: clamp(48px, 6vw, 96px); }
.spec div { padding: 18px 16px 16px; border-right: var(--line) solid var(--fg); border-bottom: var(--line) solid var(--fg); display: grid; gap: 10px; align-content: space-between; min-height: clamp(120px, 10vw, 160px); }
.spec dt { font-size: clamp(2.4rem, 4.2vw, 4.4rem); line-height: .8; font-variant-numeric: tabular-nums; }
.spec div:first-child dt { color: var(--red); }
.spec dd { font: 400 13px/1.3 var(--f-m); text-transform: uppercase; letter-spacing: .04em; }

/* ---------- AKT 5: Lokal ---------- */
.local { padding-top: clamp(64px, 7vw, 110px); padding-bottom: 0; overflow: visible; }
.local-in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: end; overflow: hidden; min-height: min(62vh, 620px); margin: 0 calc(-1 * var(--pad)); padding: 0 var(--pad); }
.zero { grid-column: 1 / 7; grid-row: 1; font-size: clamp(11rem, 24vw, 26rem); line-height: .7; margin: 0 0 -.07em -.03em; align-self: end; user-select: none;
  -webkit-mask: radial-gradient(circle at 50% 50%, #000 0 44%, transparent 47%) 0 0 / 14px 14px; mask: radial-gradient(circle at 50% 50%, #000 0 44%, transparent 47%) 0 0 / 14px 14px; }
.local-copy { grid-column: 7 / -1; grid-row: 1; align-self: center; display: grid; gap: 26px; padding-bottom: clamp(48px, 7vw, 110px); }
.facts { display: grid; grid-template-columns: 1fr 1fr; border-top: var(--line) solid currentColor; font-weight: 700; }
.facts li { padding: 12px 0; border-bottom: var(--line) solid currentColor; }

.local .zero { display: none; }
.local .big .vh { color: var(--red); }
.local .big .vh { position: static; width: auto; height: auto; overflow: visible; clip-path: none; }
.local { padding-bottom: clamp(132px, 12vw, 176px); }
.local-in { min-height: 0; align-items: start; }
.local-copy { grid-column: 1 / 9; padding-bottom: 0; }

/* ---------- AKT 6: Register ---------- */
.index-sec .big { margin-bottom: clamp(32px, 5vw, 72px); }
.index { border-top: var(--line) solid var(--fg); }
.index li { display: grid; grid-template-columns: 64px minmax(0, 5fr) minmax(0, 5fr); column-gap: 24px; align-items: center; padding: 22px 12px 18px; border-bottom: var(--line) solid var(--fg); }
.index h3 { font-size: clamp(1.5rem, 2.5vw, 2.5rem); line-height: .9; }
.index p { font-size: 1rem; line-height: 1.45; max-width: 36em; }
.index .n { font-weight: 700; }
.index .thumb { display: none; }
@media (hover: hover) { .index li:hover { background: var(--fg); color: var(--bg); } .index li:hover .n { color: var(--red); } }
.peek { position: fixed; left: 0; top: 0; z-index: 30; width: clamp(200px, 21vw, 320px); pointer-events: none; visibility: hidden; border: var(--line) solid var(--bone); background: #000; will-change: transform; }
.peek.on { visibility: visible; }
.peek img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

/* ---------- AKT 7: Wand ---------- */
.gallery { padding-left: 0; padding-right: 0; }
.gal-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: end; padding: 0 var(--pad); margin-bottom: clamp(32px, 5vw, 72px); }
.gal-head .big { grid-column: 1 / -1; } .gal-head .copy { grid-column: 8 / -1; margin-top: 28px; }
.strew canvas { width: 100%; height: auto; aspect-ratio: 9 / 16; border: var(--line) solid var(--bone); background: #000; display: block; }

/* ---------- AKT 8: Preis ---------- */
.price { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: clamp(48px, 7vw, 110px); align-items: start; }
.price-main { grid-column: 1 / 8; display: grid; gap: 24px; justify-items: start; }
.price-num { font-size: clamp(4.6rem, 10vw, 10.5rem); line-height: .78; margin: .04em 0 0 -.02em; white-space: nowrap; }
.price-side { grid-column: 8 / -1; display: grid; gap: 8px; }
.price-side .label:not(:first-child) { margin-top: 26px; }
.req div { display: grid; grid-template-columns: 96px 1fr; column-gap: 12px; padding: 9px 0; border-bottom: var(--line) solid color-mix(in srgb, var(--fg) 28%, transparent); font-size: .95rem; line-height: 1.4; }
.req dt { font-weight: 700; padding-top: 3px; }
.faq { grid-column: 1 / -1; }
.faq details { border-bottom: var(--line) solid var(--fg); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr 24px; align-items: center; padding: 18px 8px; font: 700 clamp(1.05rem, 1.6vw, 1.4rem)/1.25 var(--f-s); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 700 22px/1 var(--f-m); text-align: right; }
.faq details[open] summary::after { content: "\2212"; color: var(--red); }
.faq summary:hover { background: var(--fg); color: var(--bg); }
.faq details p { padding: 0 8px 22px; max-width: 46em; }

/* ---------- Fuss ---------- */
.foot { padding: clamp(32px, 4vw, 56px) 0 clamp(24px, 3vw, 40px); }
.marquee { overflow: hidden; border-top: var(--line) solid var(--fg); border-bottom: var(--line) solid var(--fg); padding: 18px 0 10px; }
.marquee-track { display: flex; width: max-content; gap: .5em; font-size: clamp(2.6rem, 6.5vw, 6.5rem); line-height: 1.22; white-space: nowrap; animation: run 26s linear infinite; text-transform: uppercase; align-items: baseline; }
.no-motion .marquee-track { animation-play-state: paused; }
.marquee-track span { padding-right: .5em; }
.m-d { font-family: var(--f-d); font-weight: 700; } .m-m { font-family: var(--f-m); font-weight: 700; letter-spacing: -.04em; } .m-p { font-family: var(--f-p); } .m-s { font-family: Georgia, "Times New Roman", serif; font-style: italic; text-transform: none; }
@keyframes run { to { transform: translateX(-50%); } }
.foot-row { display: flex; align-items: center; gap: 24px; padding: 28px var(--pad) 0; flex-wrap: wrap; }
.moth-big { width: 72px; color: var(--red); }
.foot-nav { margin-left: auto; display: flex; gap: 22px; flex-wrap: wrap; }
.foot-nav a { padding: 10px 0; }

/* ---------- Rechtsseiten ---------- */
.legal { max-width: 46em; margin: 0 auto; padding: 64px var(--pad) 96px; }
.legal h1 { font: 700 clamp(3rem, 9vw, 7rem)/.86 var(--f-d); text-transform: uppercase; margin-bottom: 32px; }
.legal h2 { font: 700 13px var(--f-m); text-transform: uppercase; letter-spacing: .04em; margin: 32px 0 10px; padding-top: 12px; border-top: 1px solid var(--ink); }
.legal p { margin: 0 0 12px; }
.legal .ph { background: var(--red); color: #141210; padding: 0 4px; font-family: var(--f-m); font-size: .9em; }

/* ---------- Mittel ---------- */
@media (max-width: 1180px) { .nav { gap: 16px; } .where { display: none; } }

/* ---------- Schmal ---------- */
@media (max-width: 900px) {
  .nav { display: none; } .top-tools { margin-left: auto; }
  .where { display: flex; padding-left: 0; border-left: 0; margin-left: auto; } .where + .top-tools { margin-left: 0; }
  .mega { font-size: clamp(2rem, 9vw, 3.4rem); }
  .hud-br .hint, .hud-br .flip-ticks { display: none; }
  .hud-br { bottom: auto; top: 48px; max-width: none; }
  .orig { width: 96px; }
  .hero-copy { bottom: calc(var(--pad) + 62px); }
  .onimg { font-size: .95rem; }
  .stage-cta { left: var(--pad); right: var(--pad); transform: none; justify-content: space-between; }
  .stage-cta .btn { flex: 1; padding: 0 12px; font-size: 13px; }
  .cap { bottom: calc(var(--sh) * .12 + 62px); }
  .cap-h { font-size: clamp(2rem, 9vw, 3.4rem); }
  .hero-copy, .cap { gap: 12px; }
  .strew { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .strew li, .strew li:nth-child(n) { grid-column: span 3; margin-top: 0; }
  .strew li:nth-child(odd) { margin-top: 28px; }
  #wallCv { height: 62vw; }
  .gal-head { display: block; } .gal-head .big { margin-bottom: 24px; }
  .compare { display: block; } .cmp-text { position: static; margin-bottom: 36px; }
  .cmp-stage { width: min(100%, 70vh * 9 / 16); margin: 0 auto; }
  .grow-pin { display: flex; flex-direction: column-reverse; justify-content: center; gap: 18px; align-items: stretch; }
  .grow-fig { height: auto; width: min(100%, 44vh * 600 / 760); align-self: center; }
  .grow-text { gap: 12px; } .grow-text .big { font-size: clamp(2rem, 9vw, 3.4rem); } .grow-text .copy { font-size: .95rem; }
  .grow-read { position: absolute; right: 0; top: 0; font-size: 3.6rem; }
  .tool-head { display: block; } .tool-head .big { margin-bottom: 24px; }
  .tabs { width: 100%; overflow-x: auto; } .tabs button { flex: 1 0 auto; padding: 12px 10px; font-size: 11px; letter-spacing: 0; white-space: nowrap; }
  .spec { grid-template-columns: repeat(2, minmax(0, 1fr)); } .spec div { min-height: 130px; padding: 14px 12px 12px; } .spec dt { font-size: 3rem; }
  .local-in { display: block; min-height: 0; padding-bottom: 120px; }
  .local-copy { padding-bottom: 12px; } .zero { font-size: 40vw; line-height: .78; margin: 0 0 .06em -.03em; }
  .index li { grid-template-columns: 40px 1fr; row-gap: 8px; padding: 18px 4px; } .index p { grid-column: 2; }
  .price { display: block; } .price-side { margin-top: 56px; } .faq { margin-top: 56px; }
  .foot-nav { margin-left: 0; width: 100%; }
  .peek { display: none; }
}
@media (max-width: 560px) {
  .cmp-list { column-gap: 12px; } .cmp-list button { grid-template-columns: 38px 1fr; padding: 11px 4px; } .cmp-list .t { font-size: 13px; }
}
@media (max-width: 420px) {
  .brand-name { font-size: 18px; } .moth { width: 26px; } .brand { gap: 7px; } .top { gap: 6px; } .top-tools { gap: 0; } .tool { min-width: 34px; padding: 0 4px; } .btn-small { padding: 0 9px; margin-left: 4px; letter-spacing: 0; font-size: 11px; }
  .where { display: none; }
  .facts { grid-template-columns: 1fr; }
  .hero-price { padding: 0 12px; } .hero-price span { display: none; }
}

/* ---------- Weniger Bewegung: keine angehefteten Szenen, feste Endzustaende ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
  .brand:hover .moth { animation: none; }
  .btn { transition: none; }
  .grow { height: auto; }
  .loader { display: none !important; }
  .say p#sayText span { opacity: 1; }
  .pin { position: relative; top: 0; }
  .js .big .ch { visibility: visible; }
  .hint { display: none; }
}
@media print { .top, .hud, .marquee, .peek { display: none; } }
