/* NF Marketing Mastermind · Parmesan-Intro (Startseite)
   Mobile first. Grundlage: tokens.css (Marke), Spezifikation .jarvis-steering/INTRO-SPEC.md.
   Zwei Layouts:
   - Statisch (Standard): gilt bei reduced-motion, ohne JS und wenn GSAP fehlt (html.is-static). Alles steht im Fluss.
   - Motion: nur bei (prefers-reduced-motion: no-preference) and (scripting: enabled). Bühnen werden gepinnt,
     Texte liegen übereinander und werden per Scroll-Scrub gezeigt. Startzustände nur über transform/clip-path. */

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--nf-ink-0);
  overflow-x: clip;
}
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--nf-ink-0);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
em { font-style: normal; }
mark { background: none; color: inherit; }
::selection { background: var(--nf-red); color: var(--nf-white); }
:focus-visible { outline: 2px solid var(--nf-cream); outline-offset: 4px; }

:root {
  --cheese: #E7C06A;          /* Käse-Gold: nur für Käse-Momente (Späne, Glanz), nicht für UI */
  --cheese-soft: #F4DFA6;
  --black: #020203;           /* Schwarzbild wie im Reel-Ende */
  /* Bühnenhöhe: statisch gedeckelt (robust auch bei fullPage-Screenshots), im Motion-Layout exakt 100svh */
  --stage-h: min(100svh, 1100px);
}

main { position: relative; z-index: 1; }

.wrap {
  width: 100%;
  max-width: calc(var(--maxw) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 16px; top: 16px; z-index: 120;
  padding: 12px 16px;
  background: var(--nf-cream); color: var(--nf-ink);
  font-weight: 800; font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform .3s var(--ease-out);
}
.skip-link:focus-visible { transform: none; }

/* Filmkorn (nachgebaut, nicht importiert): fixiert, klickdurchlässig */
.grain {
  position: fixed; inset: 0;
  z-index: var(--z-grain);
  pointer-events: none;
  opacity: .075;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

/* ---------- Typo-Bausteine ---------- */
.eyebrow {
  display: inline-flex; align-items: center; flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 26px;
  font-size: var(--fs-eyebrow);
  font-weight: 600;
  letter-spacing: var(--tracking-caps);
  text-transform: uppercase;
  color: var(--text-soft);
}
.rule { display: inline-block; flex: 0 0 auto; width: 36px; height: 1px; background: var(--nf-red); }
.dot {
  display: inline-block; flex: 0 0 auto;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--nf-red);
  vertical-align: middle;
}

/* Masken für Zeilen-Reveals: Inhalt gleitet per transform herein, nie über opacity */
.mask { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.mask > span { display: inline-block; }

/* Playfair nur als Akzentwort (nie für Wörter mit großem J) */
.serif, .hero-title em, .lesson__title em, .sog__word, .curio__text em, .gain em,
.cheese__q em, .why__title em, .stage__line em, .reel__claim em, .foot__title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  letter-spacing: -.01em;
}

/* ---------- Buttons (wie .btn der Landing: eckig, rot, Versal, Linienpfeil) ---------- */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  gap: 18px;
  min-height: 56px;
  padding: 18px 28px;
  border: 0; border-radius: 0;
  background: var(--nf-red);
  color: var(--nf-white);
  font-family: var(--font-sans);
  font-size: .8125rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: var(--tracking-cta);
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background-color .35s var(--ease-out), transform .16s var(--ease-out);
}
.btn__line {
  display: block; flex: 0 0 auto;
  width: 28px; height: 1px;
  background: currentColor;
  transform-origin: left center;
  transition: transform .5s var(--ease-spring);
}
.btn:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--nf-red-deep); }
  .btn:hover .btn__line { transform: scaleX(1.6); }
}
.btn--lg { min-height: 64px; padding: 22px 34px; font-size: .8125rem; }
@media (min-width: 768px) { .btn--lg { padding: 24px 40px; font-size: .875rem; } }

/* Großer Schluss-CTA: Rim-Light innen, roter Schein nach außen, spürbares Tap-Feedback */
.btn--xl {
  min-height: 72px;
  padding: 24px 32px;
  gap: 18px;
  font-size: .8125rem;
  letter-spacing: .2em;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / .18), 0 20px 56px rgb(180 18 30 / .40);
  transition: background-color .35s var(--ease-out), transform .16s var(--ease-out), box-shadow .45s var(--ease-out);
}
.btn--xl .btn__line { width: 34px; }
.btn--xl:active { transform: scale(.975); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .3), 0 8px 22px rgb(180 18 30 / .5); }
@media (min-width: 768px) {
  .btn--xl { min-height: 86px; padding: 30px 52px; gap: 26px; font-size: .9375rem; }
  .btn--xl .btn__line { width: 42px; }
}
@media (hover: hover) and (pointer: fine) {
  .btn--xl:hover { box-shadow: inset 0 0 0 1px rgb(255 255 255 / .34), 0 26px 70px rgb(180 18 30 / .55), 0 0 110px rgb(180 18 30 / .30); }
}

/* ---------- Blende beim Verlassen (≤ 600 ms) ---------- */
.wipe { position: fixed; inset: 0; z-index: 110; pointer-events: none; }
.wipe span {
  position: absolute; inset: 0;
  clip-path: inset(100% 0 0 0);
  transition: clip-path .38s var(--ease-in-out);
}
.wipe__red { background: var(--nf-red); }
.wipe__ink { background: var(--nf-ink); }
.is-leaving .wipe { pointer-events: auto; }
.is-leaving .wipe span { clip-path: inset(0 0 0 0); }
.is-leaving .wipe__ink { transition-delay: .14s; }

/* =====================================================================
   1 + 2 · Bühne (Hero + Raspeln)
   ===================================================================== */
.stage {
  position: relative;
  min-height: var(--stage-h);
  overflow: clip;
  isolation: isolate;
  background: var(--nf-ink-0);

  /* Hero-Geometrie (Mobil). Der Canvas liest die Boxen von Keil und Reibe aus dem DOM.
     Der Keil hängt an der Grundlinie von „MARKETING“ (--back-base): seine Spitze bleibt immer mit Abstand darunter,
     damit kein Buchstabe der Headline verdeckt wird (inkl. Schweben/Drehung). */
  --fs-back: clamp(3.2rem, 16.4vw, 13rem);
  --hy-eyebrow: max(calc(max(12px, env(safe-area-inset-top)) + 64px), calc(var(--stage-h) * .1));
  --hy-pre: calc(var(--hy-eyebrow) + 40px);
  --hy-back: calc(var(--hy-pre) + 26px);
  --back-base: calc(var(--hy-back) + var(--fs-back) * .79);
  --hy-front: calc(var(--stage-h) * .69);
  --w-top: calc(var(--back-base) + 26px);
  --w-cx: 50%;
  --w-w: min(90vw, calc(var(--stage-h) * .54), calc((var(--hy-front) + 10px - var(--w-top)) / .74));
  --w-h: calc(var(--w-w) * .74);
  --w-cy: max(calc(var(--stage-h) * .46), calc(var(--w-top) + var(--w-h) / 2));
  --g-cx: 70%;
  --g-cy: calc(var(--stage-h) * .625);
  --g-w: min(54vw, calc(var(--stage-h) * .3));
  --g-h: calc(var(--g-w) * .63);
  --g-rot: -4deg;
}
.stage__bg { position: absolute; left: 0; right: 0; top: 0; height: var(--stage-h); z-index: 0; }
.stage__bg picture, .stage__bg img { width: 100%; height: 100%; }
.stage__bg img { object-fit: cover; object-position: 50% 40%; }
.stage__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(120% 70% at 50% 42%, rgb(5 5 6 / 0) 40%, rgb(5 5 6 / .55) 100%),
    linear-gradient(180deg, rgb(5 5 6 / .35) 0%, rgb(5 5 6 / 0) 22%, rgb(5 5 6 / 0) 70%, rgb(5 5 6 / .96) 100%);
}

/* Nebel: zwei große, weiche Schwaden (nur transform-Animation, fixiert in der Bühne) */
.stage__fog { position: absolute; left: 0; right: 0; top: 0; height: var(--stage-h); z-index: 1; pointer-events: none; overflow: hidden; }
.stage__fog span {
  position: absolute;
  width: 140%; height: 60%;
  left: -20%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgb(241 237 232 / .07), rgb(241 237 232 / 0));
}
.stage__fog span:nth-child(1) { top: 48%; }
.stage__fog span:nth-child(2) { top: 64%; left: -40%; background: radial-gradient(closest-side, rgb(174 29 43 / .12), rgb(174 29 43 / 0)); }

/* Lichtkegel von oben (ergänzt das Licht im Hintergrundbild) */
.stage__cone {
  position: absolute; left: 50%; top: -6%;
  z-index: 2;
  width: min(150vw, 1500px); height: calc(var(--stage-h) * 1.02);
  margin-left: max(-75vw, -750px);
  pointer-events: none;
  background: conic-gradient(from 180deg at 50% 0%, rgb(241 237 232 / 0) 164deg, rgb(244 223 166 / .075) 172deg, rgb(244 223 166 / .12) 180deg, rgb(244 223 166 / .075) 188deg, rgb(241 237 232 / 0) 196deg);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 45%, transparent 92%);
  mask-image: linear-gradient(180deg, #000 0%, #000 45%, transparent 92%);
  mix-blend-mode: screen;
}

.stage__brand {
  position: absolute; z-index: 6;
  top: max(14px, env(safe-area-inset-top));
  left: max(var(--gutter), env(safe-area-inset-left));
  height: 54px;
  display: flex; align-items: center;
}
.stage__brand img { width: auto; height: 46px; }

.stage__head { position: absolute; left: 0; right: 0; top: 0; height: var(--stage-h); pointer-events: none; }
.stage__eyebrow {
  position: absolute; left: 0; right: 0; top: var(--hy-eyebrow);
  z-index: 5;
  justify-content: center;
  width: fit-content;
  margin: 0 auto;
  font-size: .6875rem;
  color: var(--text-soft);
}
.hero-title { font-weight: 800; text-transform: uppercase; color: var(--nf-cream); }
.hero-title > span {
  position: absolute; left: 0; right: 0;
  display: block;
  overflow: hidden;
  text-align: center;
  padding: 0 .06em .1em;
}
.hero-title > span > span { display: inline-block; }
.hero-title__pre {
  top: var(--hy-pre); z-index: 3;
  font-size: clamp(.95rem, 4.1vw, 1.25rem);
  letter-spacing: .16em;
  line-height: 1.2;
  color: var(--text-soft);
}
.hero-title__back {
  top: var(--hy-back); z-index: 3;
  font-size: var(--fs-back);
  line-height: .9;
  letter-spacing: -.035em;
}
.hero-title__back > span {
  background: linear-gradient(180deg, var(--nf-cream) 30%, rgb(241 237 232 / .78) 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.hero-title__front {
  top: var(--hy-front); z-index: 5;
  font-size: clamp(3rem, 15vw, 8.5rem);
  line-height: 1.05;
}
.hero-title__front em { color: var(--nf-cream); letter-spacing: -.02em; }

/* Keil und Reibe (DOM): Boxen ohne transform-Positionierung, damit der Canvas sie 1:1 übernehmen kann */
.stage__objects { position: absolute; left: 0; right: 0; top: 0; height: var(--stage-h); z-index: 4; pointer-events: none; }
.stage__wedge, .stage__grater { position: absolute; object-fit: contain; max-width: none; }
.stage__wedge {
  left: calc(var(--w-cx) - var(--w-w) / 2);
  top: calc(var(--w-cy) - var(--w-h) / 2);
  width: var(--w-w); height: var(--w-h);
  filter: drop-shadow(0 30px 40px rgb(0 0 0 / .55));
}
.stage__grater {
  left: calc(var(--g-cx) - var(--g-w) / 2);
  top: calc(var(--g-cy) - var(--g-h) / 2);
  width: var(--g-w); height: var(--g-h);
  rotate: var(--g-rot);
  filter: drop-shadow(0 20px 26px rgb(0 0 0 / .6));
}
.stage__canvas { position: absolute; left: 0; top: 0; width: 100%; height: var(--stage-h); z-index: 4; display: none; pointer-events: none; }

/* Scroll-Hinweis */
.stage__hint {
  position: absolute; z-index: 6; left: 50%;
  top: calc(var(--stage-h) - 76px - env(safe-area-inset-bottom));
  width: 44px; height: 64px; margin-left: -22px;
  display: none; place-items: center;
}
.stage__hint span { position: relative; display: block; width: 1px; height: 48px; overflow: hidden; background: var(--hairline); }
.stage__hint span::after {
  content: ""; position: absolute; left: 0; top: 0;
  width: 1px; height: 18px;
  background: var(--nf-cream);
  animation: hint-drop 2.4s var(--ease-in-out) infinite;
}
@keyframes hint-drop { 0% { transform: translateY(-20px); } 70%, 100% { transform: translateY(52px); } }

/* Texte der Raspel-Szene: statisch im Fluss unter dem Hero */
/* padding statt margin: overflow:clip bildet keinen eigenen BFC, ein margin-top würde durch die Bühne kollabieren */
.stage__lines {
  position: relative; z-index: 6;
  padding: calc(var(--stage-h) + 8px) var(--gutter) 24px;
  display: grid; gap: 22px;
  max-width: 44rem;
}
.stage__line {
  font-size: clamp(1.4rem, 6vw, 2.25rem);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -.015em;
  color: var(--nf-cream);
  text-wrap: balance;
}
.stage__mask { display: block; overflow: hidden; padding-bottom: .12em; margin-bottom: -.12em; }
.stage__mask > span { display: block; }
.stage__line--answer { font-size: clamp(2rem, 9vw, 3.6rem); text-transform: uppercase; letter-spacing: -.03em; line-height: 1; }
.stage__line--answer em { color: var(--nf-red); text-transform: none; font-size: 1.04em; }

/* Statisches Schlussbild (reduced-motion / ohne JS) */
.stage__still { position: relative; z-index: 5; height: min(72vw, 420px); margin: 0 auto 40px; max-width: 560px; }
.stage__still-pile { position: absolute; left: 12%; right: 12%; bottom: 0; width: 76%; }
.stage__still-flake { position: absolute; width: 18%; }
.stage__still-flake--1 { left: 14%; top: 4%; rotate: -24deg; }
.stage__still-flake--2 { left: 50%; top: 14%; rotate: 32deg; width: 13%; }
.stage__still-flake--3 { right: 12%; top: 0; rotate: 12deg; width: 15%; }

/* Desktop: „MARKETING“ über die ganze Breite, „Mastermind.“ links darunter in der freien Fläche über der Schräge
   des Keils, der Keil selbst groß im Lichtkegel darunter. Keine Überdeckung von Buchstaben. */
@media (min-width: 768px) {
  .stage {
    --fs-back: max(5rem, min(13.2vw, calc(var(--stage-h) * .21), 15rem));
    --fs-front: max(3rem, min(6.6vw, calc(var(--fs-back) * .52)));
    --hy-eyebrow: max(76px, calc(var(--stage-h) * .1));
    --hy-pre: calc(var(--hy-eyebrow) + 42px);
    --hy-back: calc(var(--hy-eyebrow) + 80px);
    --hy-front: calc(var(--back-base) + var(--fs-back) * .1 - var(--fs-front) * .23);
    --w-top: calc(var(--back-base) + 40px);
    --w-cx: 53%;
    --w-w: min(46vw, calc((var(--stage-h) * .93 - var(--w-top)) / .74));
    --w-h: calc(var(--w-w) * .74);
    --w-cy: calc(var(--w-top) + var(--w-h) / 2);
    --g-cx: 79%;
    --g-cy: calc(var(--w-cy) + var(--stage-h) * .05);
    --g-w: min(30vw, calc(var(--stage-h) * .5));
    --g-h: calc(var(--g-w) * .63);
    --g-rot: -6deg;
  }
  .stage__brand { height: 70px; }
  .stage__brand img { height: 60px; }
  .hero-title__pre { font-size: clamp(1rem, 1.5vw, 1.5rem); letter-spacing: .22em; }
}
@media (min-width: 768px) {
  .hero-title__front { font-size: var(--fs-front); }
  .hero-title > .hero-title__front { text-align: left; padding-left: max(var(--gutter), calc(50% - var(--fs-back) * 2.8)); }
  .stage__eyebrow { font-size: var(--fs-eyebrow); }
  .stage__hint { left: auto; right: var(--gutter); margin-left: 0; }
}
/* Tablet hochkant: Keil größer, Reibe darunter, „Mastermind.“ zentriert unter dem Keil */
@media (min-width: 768px) and (max-width: 1199px) and (orientation: portrait) {
  .stage {
    --fs-front: clamp(3.5rem, 11vw, 8.5rem);
    --hy-front: calc(var(--stage-h) * .7);
    --w-top: calc(var(--back-base) + 30px);
    --w-cx: 50%;
    --w-w: min(74vw, calc(var(--stage-h) * .5), calc((var(--hy-front) + 10px - var(--w-top)) / .74));
    --w-cy: max(calc(var(--stage-h) * .47), calc(var(--w-top) + var(--w-h) / 2));
    --g-cx: 70%;
    --g-cy: calc(var(--stage-h) * .64);
    --g-w: min(46vw, calc(var(--stage-h) * .3));
  }
  .hero-title > .hero-title__front { text-align: center; padding-left: .06em; }
}

/* =====================================================================
   3 · Lektion 1
   ===================================================================== */
.lesson {
  position: relative;
  padding-block: clamp(120px, 16vw, 220px) clamp(110px, 14vw, 200px);
  background: var(--nf-ink-0);
  overflow: clip;
}
.lesson__glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 50% at 85% 30%, rgb(45 9 18 / .9), rgb(45 9 18 / 0) 70%),
    radial-gradient(50% 40% at 10% 90%, rgb(31 7 14 / .9), rgb(31 7 14 / 0) 70%);
}
.lesson__inner { position: relative; }
.lesson__title {
  font-size: clamp(3rem, 13.4vw, 11.5rem);
  font-weight: 800;
  line-height: .9;
  letter-spacing: -.04em;
  text-transform: uppercase;
  color: var(--nf-cream);
}
.lesson__title em { font-size: 1.02em; letter-spacing: -.03em; color: var(--nf-cream); }
.lesson__title .mask:nth-child(2) { padding-left: .5em; }
.lesson__text {
  max-width: 30ch;
  margin-top: clamp(40px, 6vw, 88px);
  margin-left: auto;
  font-size: clamp(1.4rem, 1rem + 2.1vw, 2.75rem);
  font-weight: 600;
  line-height: 1.24;
  letter-spacing: -.012em;
  color: var(--nf-cream);
  text-wrap: pretty;
}
.lesson__text .w { color: inherit; }
.sog { position: relative; display: inline-block; font-weight: 400; }
.sog__word {
  position: relative; z-index: 2;
  display: inline-block;
  font-size: 1.5em;
  line-height: .8;
  color: var(--nf-cream);
  padding: 0 .06em;
}
.sog__word::after {
  content: ""; position: absolute; left: .04em; right: .04em; bottom: -.08em; height: 3px;
  background: var(--nf-red);
  transform-origin: left center;
  transform: scaleX(var(--u, 1));
}
.sog__flakes { display: none; }

/* =====================================================================
   4 · Kuriosität
   ===================================================================== */
.curio {
  position: relative;
  padding-block: clamp(90px, 12vw, 180px);
  background: linear-gradient(180deg, var(--nf-ink-0) 0%, var(--nf-bordeaux-2) 55%, var(--nf-ink-0) 100%);
  overflow: clip;
}
.curio__qmark {
  position: absolute; right: -6vw; top: 50%;
  margin-top: -.62em;
  font-family: var(--font-serif); font-style: italic;
  font-size: clamp(22rem, 90vw, 60rem);
  line-height: 1;
  color: rgb(174 29 43 / .1);
  pointer-events: none;
  user-select: none;
}
.curio__inner { position: relative; }
.curio__lead {
  font-size: clamp(1.15rem, .9rem + 1.2vw, 1.75rem);
  font-weight: 600;
  color: var(--text-soft);
}
.curio__word {
  margin-top: 10px;
  font-size: clamp(3rem, 12.1vw, 12.5rem);
  font-weight: 800;
  line-height: .95;
  letter-spacing: -.045em;
  text-transform: uppercase;
  color: var(--nf-cream);
  white-space: nowrap;
}
.curio__word .ch { display: inline-block; }
.curio__word .ch--dot { color: var(--nf-red); }
.curio__text {
  max-width: 36ch;
  margin-top: clamp(28px, 4vw, 56px);
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: var(--text-soft);
  text-wrap: pretty;
}
.curio__text em { color: var(--nf-cream); font-size: 1.12em; }

/* =====================================================================
   5 · Das Reel
   ===================================================================== */
.reel { position: relative; padding-block: clamp(96px, 12vw, 180px); background: var(--nf-ink-0); overflow: clip; }
.reel::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(70% 45% at 70% 40%, rgb(45 9 18 / .75), rgb(45 9 18 / 0) 70%);
}
.reel__grid { position: relative; display: grid; gap: 48px; }
.reel__title {
  font-size: clamp(2.4rem, 10.6vw, 6.6rem);
  font-weight: 800;
  line-height: .92;
  letter-spacing: -.04em;
  text-transform: uppercase;
  color: var(--nf-cream);
}
.stamp {
  display: inline-grid;
  margin-top: 34px;
  padding: 16px 20px 15px;
  border: 2px solid var(--nf-red);
  color: var(--nf-cream);
  font-size: .8125rem;
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: .16em;
  text-transform: uppercase;
  rotate: -3deg;
  box-shadow: inset 0 0 0 4px rgb(180 18 30 / .14);
}
.stamp span:last-child { color: var(--nf-red); filter: brightness(1.35); }

/* Handy mit Insights + herausgehobene Beitragskarte */
.reel__phones { position: relative; width: min(100%, 440px); margin-inline: auto; padding-bottom: 34%; }
.phone { margin: 0; }
.phone__screen { position: relative; overflow: hidden; background: #fff; }
.phone__screen img { width: 100%; }
.phone__cap {
  margin-top: 12px;
  font-size: .6875rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--text-mute);
}
.phone--insights {
  position: relative;
  width: 78%;
  margin-left: auto;
  padding: 9px;
  border-radius: 46px;
  background: linear-gradient(160deg, #26262b, #0c0c0f 60%);
  box-shadow: 0 0 0 1px rgb(241 237 232 / .1), 0 40px 80px -20px rgb(0 0 0 / .8), inset 0 1px 1px rgb(255 255 255 / .12);
}
.phone--insights .phone__screen { border-radius: 38px; padding-top: 32px; }
.phone--insights .phone__screen::before {
  content: ""; position: absolute; z-index: 2; top: 10px; left: 50%;
  width: 30%; height: 22px; margin-left: -15%;
  border-radius: 12px; background: #0a0a0c;
}
.phone--insights .phone__cap { text-align: center; }
.phone--reel {
  position: absolute; left: 0; bottom: 0;
  width: 70%;
  rotate: -5deg;
}
.phone--reel .phone__screen {
  border-radius: 18px;
  box-shadow: 0 0 0 1px rgb(0 0 0 / .08), 0 34px 70px -18px rgb(0 0 0 / .85), 0 0 0 6px rgb(18 18 21 / .9);
}

.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--hairline-soft); border: 1px solid var(--hairline-soft); }
.stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 6px; padding: 18px 16px 20px; background: var(--nf-ink-0); }
.stat dt { font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--text-mute); }
.stat dd {
  font-size: clamp(1.7rem, 7.4vw, 2.9rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--nf-cream);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.stat--hero { grid-column: 1 / -1; padding: 22px 18px 26px; }
.stat--hero dd { font-size: clamp(3.4rem, 17vw, 7.4rem); letter-spacing: -.045em; }
.stat--hero dt { color: var(--text-soft); }
.reel__proof {
  margin-top: 22px;
  max-width: 44ch;
  font-size: .9375rem;
  line-height: 1.55;
  color: var(--text-soft);
}
.reel__proof-label { display: block; margin-bottom: 4px; font-size: .6875rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--nf-red); filter: brightness(1.35); }
.reel__claim {
  font-size: clamp(1.9rem, 7.4vw, 5.2rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.035em;
  text-transform: uppercase;
  color: var(--nf-cream);
  text-wrap: balance;
}
.reel__claim .mask { display: block; }
.reel__claim em { color: var(--nf-red); filter: brightness(1.25); font-size: 1.04em; letter-spacing: -.02em; }

@media (min-width: 1024px) {
  .reel__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    column-gap: 24px; row-gap: 56px;
    align-items: start;
  }
  .reel__head { grid-column: 1 / 7; grid-row: 1; }
  .reel__data { grid-column: 1 / 7; grid-row: 2; }
  .reel__phones { grid-column: 7 / 13; grid-row: 1 / 3; width: 100%; max-width: 500px; margin-right: 0; position: sticky; top: max(72px, calc(50vh - 380px)); align-self: start; max-width: 430px; }
  .reel__claim { grid-column: 1 / 8; grid-row: 3; margin-top: 64px; font-size: clamp(2.4rem, 3.5vw, 3.8rem); }
  .stat dd { font-size: clamp(2rem, 2.9vw, 3rem); }
  .stat--hero dd { font-size: clamp(4.5rem, 8vw, 8rem); }
}

/* =====================================================================
   6 · Das bekommst du
   ===================================================================== */
.gain { position: relative; padding-block: clamp(90px, 12vw, 170px); background: var(--nf-ink-0); }
.gain__inner { position: relative; padding-left: calc(var(--gutter) + 22px); }
.gain__rail {
  position: absolute; left: var(--gutter); top: 6px; bottom: 6px;
  width: 2px; background: var(--nf-red);
  transform-origin: top center;
}
.gain__title {
  font-size: clamp(2.3rem, 9.6vw, 7.2rem);
  font-weight: 800;
  line-height: .95;
  letter-spacing: -.04em;
  text-transform: uppercase;
  color: var(--nf-cream);
}
.gain__line {
  max-width: 24ch;
  margin-top: clamp(26px, 3.4vw, 48px);
  font-size: clamp(1.45rem, 1rem + 2.2vw, 3rem);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -.015em;
  color: var(--text-soft);
  text-wrap: balance;
}
.gain__line--strong { color: var(--nf-cream); font-weight: 800; }
.gain__line em { color: var(--nf-cream); font-size: 1.08em; }

/* =====================================================================
   7 · Die Auflösung (statisch: Frage, Schwarzbild mit Slogan, Suche, Bedeutung untereinander)
   ===================================================================== */
.cheese { position: relative; background: var(--nf-ink-0); }
.cheese__stage {
  position: relative;
  background:
    radial-gradient(70% 55% at 50% 38%, rgb(45 9 18 / .95), rgb(45 9 18 / 0) 75%),
    radial-gradient(40% 30% at 50% 0%, rgb(244 223 166 / .07), rgb(244 223 166 / 0) 80%),
    var(--nf-ink-0);
  display: grid;
  grid-template-areas: "q" "slogan" "search";
  gap: 56px;
  padding: clamp(80px, 10vw, 140px) var(--gutter);
  overflow: clip;
}
.cheese__q {
  grid-area: q;
  max-width: 16ch;
  margin-inline: auto;
  text-align: center;
  font-size: clamp(2.1rem, 8.4vw, 6.4rem);
  font-weight: 800;
  line-height: .98;
  letter-spacing: -.035em;
  text-transform: uppercase;
  color: var(--nf-cream);
}
.cheese__q em { color: var(--cheese); font-size: 1.08em; letter-spacing: -.02em; }
/* Ruhiger Umbruch: jede Masken-Zeile verteilt sich gleichmäßig („ABER WAS / HAT ES JETZT“ statt „… ES / JETZT“) */
.cheese__q .mask > span { text-wrap: balance; }
.cheese__black { grid-area: slogan; background: var(--black); margin-inline: calc(var(--gutter) * -1); }
.slogan {
  grid-area: slogan;
  position: relative; z-index: 1;
  justify-self: center;
  padding: clamp(56px, 12vw, 120px) 0;
  font-size: clamp(2.8rem, 13vw, 9.6rem);
  font-weight: 800;
  line-height: .9;
  letter-spacing: -.02em;
  text-transform: uppercase;
  color: #fff;
}
.slogan__l { display: block; overflow: hidden; padding-bottom: .04em; }
.slogan__l > span { display: inline-block; }
/* Die Punch-Zeile skaliert von links: Box eng an der Schrift, damit sie auch bei scale(1.3) im Bild bleibt */
.slogan__l--hit { width: fit-content; }
.cheese__search { grid-area: search; width: min(100%, 680px); margin-inline: auto; display: grid; gap: 18px; }
.cheese__ask {
  text-align: center;
  font-size: clamp(1.35rem, 1rem + 1.8vw, 2.4rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -.02em;
  color: var(--nf-cream);
}
.search {
  display: flex; align-items: center; gap: 14px;
  min-height: 58px;
  padding: 0 22px;
  border-radius: 999px;
  background: #1a1a1e;
  border: 1px solid rgb(241 237 232 / .16);
  color: var(--nf-cream);
  box-shadow: 0 18px 50px -20px rgb(0 0 0 / .8);
}
.search__icon { width: 20px; height: 20px; flex: 0 0 auto; color: rgb(241 237 232 / .6); }
.search__field { display: flex; align-items: center; min-width: 0; font-size: 1.0625rem; font-weight: 400; letter-spacing: .01em; white-space: nowrap; overflow: hidden; }
.search__caret { display: inline-block; width: 2px; height: 1.2em; margin-left: 2px; background: var(--nf-cream); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { background: transparent; } }
.search.is-sent { border-color: rgb(241 237 232 / .34); }
.result {
  padding: 22px 22px 24px;
  border-radius: 18px;
  background: #121215;
  border: 1px solid rgb(241 237 232 / .12);
  box-shadow: 0 30px 70px -30px rgb(0 0 0 / .9);
}
.result__label { font-size: .6875rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--text-mute); }
.result__en {
  margin-top: 10px;
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 1rem + 1.4vw, 1.95rem);
  line-height: 1.3;
  color: var(--nf-cream);
}
.result__en em { font-family: inherit; font-style: italic; }
.result__en mark {
  background-image: linear-gradient(var(--nf-red), var(--nf-red));
  background-repeat: no-repeat;
  background-position: 0 92%;
  background-size: 100% .12em;
  padding-bottom: .02em;
}
.result__de { margin-top: 14px; font-size: 1rem; line-height: 1.55; color: var(--text-soft); }
@media (min-width: 1024px) {
  .cheese__search { gap: 22px; }
  .search { min-height: 70px; padding: 0 28px; }
  .search__icon { width: 24px; height: 24px; }
  .search__field { font-size: 1.3rem; }
  .result { padding: 30px 32px 32px; border-radius: 22px; }
  .result__en { font-size: clamp(1.8rem, 2.2vw, 2.4rem); }
  .result__de { font-size: 1.125rem; }
}

/* =====================================================================
   7b · Why gamers cheese
   ===================================================================== */
.why { position: relative; padding-block: clamp(90px, 11vw, 170px); background: var(--nf-ink-0); overflow: clip; }
.why__title {
  font-size: clamp(2.5rem, 11vw, 8.4rem);
  font-weight: 800;
  line-height: .95;
  letter-spacing: -.04em;
  text-transform: uppercase;
  color: var(--nf-cream);
}
.why__title em { color: var(--cheese); font-size: 1.06em; }
.why__sub { margin-top: 18px; font-size: var(--fs-lead); color: var(--text-soft); }
.why__cards { display: grid; gap: 18px; margin-top: clamp(40px, 6vw, 80px); }
.card__shell {
  position: relative;
  min-height: 0;
  padding: 26px 24px 28px;
  display: flex; flex-direction: column;
  background: linear-gradient(165deg, #151517 0%, #0b0b0d 70%);
  border: 1px solid var(--hairline-soft);
  box-shadow: inset 0 1px 0 rgb(241 237 232 / .06);
  overflow: hidden;
}
.card__shell::after {
  content: ""; position: absolute; left: 0; top: 0; width: 44px; height: 2px; background: var(--nf-red);
}
.card__flake { position: absolute; right: 18px; top: 18px; width: 64px; height: auto; rotate: 18deg; }
.card__en {
  max-width: 11ch;
  font-size: clamp(1.9rem, 8vw, 2.6rem);
  font-weight: 800;
  line-height: .98;
  letter-spacing: -.03em;
  text-transform: uppercase;
  color: var(--nf-cream);
}
.card__arrow { position: relative; display: block; width: 56px; height: 1px; margin: 22px 0 18px; background: var(--nf-red); }
.card__arrow::after {
  content: ""; position: absolute; right: 0; top: -4px;
  width: 9px; height: 9px;
  border-top: 1px solid var(--nf-red); border-right: 1px solid var(--nf-red);
  transform: rotate(45deg);
}
.card__de { font-size: 1.125rem; font-weight: 600; line-height: 1.4; color: var(--nf-cream); max-width: 26ch; }
@media (min-width: 900px) {
  .why__cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: start; }
  .card:nth-child(2) { margin-top: 72px; }
  .card:nth-child(3) { margin-top: 144px; }
  .card__shell { min-height: 300px; padding: 34px 32px 36px; }
  .card__en { font-size: clamp(2rem, 2.8vw, 2.9rem); }
  .card__de { font-size: 1.25rem; }
}

/* =====================================================================
   8 · Finale: inszenierter Schlussmoment
   Statisch (Standard): Titel, Text, Haufen und CTA stehen lesbar untereinander im Fluss.
   Motion: die Bühne wird gepinnt, die Kinder liegen übereinander und hängen am Scroll-Fortschritt.
   ===================================================================== */
.finale {
  position: relative;
  background: linear-gradient(180deg, var(--nf-ink-0) 0%, var(--nf-bordeaux-2) 100%);
  overflow: clip;
  isolation: isolate;
}
.finale__stage {
  position: relative;
  display: grid;
  justify-items: center;
  text-align: center;
  padding: clamp(100px, 12vw, 180px) var(--gutter) clamp(80px, 10vw, 140px);
}
.finale__cone {
  position: absolute; left: 50%; top: 0; bottom: 0; z-index: 0;
  width: min(140vw, 1400px); margin-left: max(-70vw, -700px);
  pointer-events: none;
  transform-origin: 50% 0%;
  background: conic-gradient(from 180deg at 50% 0%, rgb(241 237 232 / 0) 158deg, rgb(244 223 166 / .1) 171deg, rgb(244 223 166 / .19) 180deg, rgb(244 223 166 / .1) 189deg, rgb(241 237 232 / 0) 202deg);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 26%, #000 74%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 26%, #000 74%, transparent 100%);
  mix-blend-mode: screen;
}
.finale__fog { display: none; }
.finale__canvas { display: none; position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; pointer-events: none; }
.finale__sweep { display: none; }

.finale__type { position: relative; z-index: 3; width: 100%; }
.finale__title {
  font-size: min(15vw, 4.4rem);
  font-weight: 800;
  line-height: .93;
  letter-spacing: -.045em;
  text-transform: uppercase;
  color: var(--nf-cream);
}
/* größere Maskenhöhe: die Playfair-Kursive von „unfairer“ hat Unterlängen */
.finale__title .mask { padding-bottom: .2em; margin-bottom: -.2em; }
.finale__title em {
  display: inline-block;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  font-size: 1.08em;
  letter-spacing: -.02em;
  /* Markenrot, von oben angeleuchtet: bleibt auch in Riesengröße klar gegen Ink */
  background: linear-gradient(180deg, #D6202E 6%, var(--nf-red) 82%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.finale__text {
  position: relative; z-index: 3;
  max-width: 44ch;
  margin-top: clamp(24px, 3.4vw, 46px);
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: var(--text-soft);
  text-wrap: pretty;
}
.finale__pile { position: relative; z-index: 2; width: min(88vw, 560px); margin: clamp(24px, 3.4vw, 46px) auto 0; }
.finale__pile img { width: 100%; filter: drop-shadow(0 30px 50px rgb(0 0 0 / .6)); }

.finale__cta {
  position: relative; z-index: 4;
  margin-top: clamp(28px, 3.6vw, 52px);
  display: flex; justify-content: center;
  padding-bottom: env(safe-area-inset-bottom);
}
.finale__glow {
  position: absolute; left: 50%; top: 50%;
  width: min(128vw, 940px); aspect-ratio: 1;
  translate: -50% -50%;
  pointer-events: none;
  background: radial-gradient(closest-side, rgb(180 18 30 / .42) 0%, rgb(180 18 30 / .15) 44%, rgb(180 18 30 / 0) 72%);
  mix-blend-mode: screen;
}
.finale__magnet { position: relative; display: inline-flex; justify-content: center; }
@media (min-width: 768px) { .finale__title { font-size: min(11.9vw, 13.5rem); } }
@media (max-width: 479px) {
  .finale__magnet { width: 100%; }
  .finale__cta .btn { width: 100%; padding-inline: 16px; gap: 12px; font-size: .75rem; letter-spacing: .12em; }
  .finale__cta .btn__line { width: 20px; }
}

/* ---------- Footer: Absender des Intros ----------
   Aufbau wie der Footer von /onboarding: Logo als Briefkopf, darunter Eventname und Spalten,
   unten die Basiszeile. Spalten liegen auf dem Raster (mobil 2, ab 768 px 4). */
.foot {
  --fcol-pad: clamp(16px, 1.9vw, 28px);
  position: relative; z-index: 1;
  isolation: isolate;
  overflow: hidden;
  background: var(--nf-bordeaux-2);
  padding-bottom: calc(16px + env(safe-area-inset-bottom));
}
.foot::before {
  content: ""; position: absolute; z-index: -1;
  left: 50%; bottom: 0;
  width: max(140%, 900px); height: 76%;
  transform: translate(-50%, 44%);
  background: radial-gradient(50% 50% at 50% 50%, rgb(180 18 30 / .26) 0%, rgb(142 22 34 / .12) 38%, rgb(45 9 18 / .07) 62%, rgb(8 8 10 / 0) 100%);
  pointer-events: none;
}
.foot__inner {
  --fsign-gap: 34px;
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  padding-top: clamp(56px, 6vw, 92px);
}
.foot__inner::before {
  content: ""; position: absolute; left: var(--gutter); right: var(--gutter); top: 0;
  height: 1px; background: var(--hairline);
}
.foot__accent {
  position: absolute; left: var(--gutter); top: 0;
  width: calc((100% - 2 * var(--gutter)) / 2); height: 1px;
  background: var(--nf-red);
}
.foot__logo { grid-column: 1 / -1; justify-self: start; width: auto; height: 84px; }
.foot__sign { grid-column: 1 / -1; margin-top: var(--fsign-gap); container-type: inline-size; }
.foot__title {
  font-size: clamp(2.25rem, 12.5cqi, 6rem);
  font-weight: 800;
  line-height: .98;
  letter-spacing: -.03em;
  text-transform: uppercase;
  color: var(--nf-cream);
}
.foot__title span, .foot__title em { display: block; }
.foot__title em { padding-bottom: .05em; color: var(--nf-cream); }
.foot__meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px;
  margin-top: 20px;
  font-size: .6875rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  color: var(--text-soft);
}
.foot__meta > span { display: inline-flex; align-items: center; gap: 12px; white-space: nowrap; }
.foot__start {
  display: inline-flex; align-items: center; gap: 16px;
  min-height: 44px;
  margin-top: 20px;
  font-size: .75rem; font-weight: 800;
  letter-spacing: var(--tracking-cta); text-transform: uppercase;
  text-decoration: none;
  color: var(--nf-cream);
  -webkit-tap-highlight-color: transparent;
}
.foot__start .btn__line { width: 28px; background: var(--nf-red); }

.foot__col { min-width: 0; margin-top: 44px; }
.foot__col--legal { padding-left: var(--fcol-pad); }
.foot__label {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 10px;
  font-size: .6875rem; font-weight: 600;
  letter-spacing: var(--tracking-caps); text-transform: uppercase;
  color: var(--text-mute);
}
.foot__label::before { content: ""; flex: 0 0 auto; width: 14px; height: 1px; background: var(--nf-red); }
.foot__note { font-size: .9375rem; line-height: 1.5; color: var(--text-soft); text-wrap: pretty; }
.foot__note strong { display: block; font-weight: 800; color: var(--nf-cream); }
.foot__note span { display: block; margin-top: 6px; }
.foot__list { display: grid; }
.foot__link {
  display: flex; align-items: center;
  min-height: 44px;
  font-size: .9375rem; font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  color: var(--text-soft);
  overflow-wrap: anywhere;
  -webkit-tap-highlight-color: transparent;
  transition: color .35s var(--ease-out);
}
.foot__link > span:first-child {
  background: linear-gradient(var(--nf-red), var(--nf-red)) 0 100% / 0 1px no-repeat;
  padding-bottom: 3px;
  transition: background-size .5s var(--ease-out);
}
.foot__base {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: subgrid;
  align-items: center;
  margin-top: 44px;
  border-top: 1px solid var(--hairline-soft);
  padding-block: 12px 4px;
}
.foot__copy { font-size: .8125rem; line-height: 1.5; color: var(--text-mute); }
.foot__copy span { display: block; }
.foot__top {
  display: inline-flex; align-items: center; gap: 12px;
  justify-self: start;
  min-height: 44px;
  padding-left: var(--fcol-pad);
  font-size: .6875rem; font-weight: 600;
  letter-spacing: var(--tracking-caps); text-transform: uppercase;
  text-decoration: none;
  color: var(--text-soft);
  -webkit-tap-highlight-color: transparent;
  transition: color .35s var(--ease-out);
}
.foot__top-line {
  display: block; flex: 0 0 auto;
  width: 1px; height: 18px;
  background: var(--nf-red);
  transform-origin: center bottom;
  transition: transform .5s var(--ease-spring);
}
.foot a:focus-visible { outline: 2px solid var(--nf-cream); outline-offset: 2px; }
.foot__start:active, .foot__top:active { transform: translateY(1px); }
@media (hover: hover) and (pointer: fine) {
  .foot__start:hover .btn__line { transform: scaleX(1.6); }
  .foot__link:hover { color: var(--nf-cream); }
  .foot__link:hover > span:first-child { background-size: 100% 1px; }
  .foot__top:hover { color: var(--nf-cream); }
  .foot__top:hover .foot__top-line { transform: scaleY(1.6); }
}
@media (min-width: 768px) {
  .foot__inner { grid-template-columns: repeat(4, minmax(0, 1fr)); --fsign-gap: 42px; }
  .foot__accent { width: calc((100% - 2 * var(--gutter)) / 4); }
  .foot__logo { grid-column: 1 / 3; height: 104px; }
  .foot__sign { grid-column: 1 / 3; grid-row: 2; padding-right: var(--fcol-pad); }
  .foot__title { font-size: clamp(2.75rem, 14.5cqi, 6rem); }
  .foot__col { grid-row: 2; margin-top: calc(var(--fsign-gap) + .6vw); }
  .foot__col--note { grid-column: 3; padding-left: var(--fcol-pad); }
  .foot__col--legal { grid-column: 4; }
  .foot__base { grid-row: 3; margin-top: clamp(56px, 6vw, 92px); }
  .foot__copy { grid-column: 1 / 3; }
  .foot__copy span { display: inline; }
  .foot__top { grid-column: 4; }
}
@media (min-width: 1024px) {
  .foot__meta { font-size: .75rem; letter-spacing: var(--tracking-caps); }
  /* Briefkopf statt Plakat: 104 px lassen das Logo auf Desktop gegen die Wortmarke „MARKETING Mastermind.“
     antreten. 64 px ordnen es als Absender darüber ein; der Abstand zum Eventnamen zieht entsprechend nach. */
  .foot__inner { --fsign-gap: 34px; }
  .foot__logo { height: 64px; }
}
@supports not (grid-template-columns: subgrid) {
  .foot__base { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  @media (min-width: 768px) { .foot__base { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
}

/* =====================================================================
   MOTION-LAYOUT: nur mit JS und ohne reduced-motion. html.is-static (GSAP fehlt) fällt aufs statische Layout zurück.
   ===================================================================== */
@media (prefers-reduced-motion: no-preference) and (scripting: enabled) {
  :root:not(.is-static) { --stage-h: 100svh; }
  /* Hero-Startzustände (Maske + transform), Fallback zeigt alles nach 2,6 s, falls intro.js nicht läuft */
  :root:not(.is-static) .hero-title > span > span { transform: translate3d(0, 108%, 0); animation: nf-fallback 1s var(--ease-out) 2.6s forwards; }
  :root:not(.is-static) .stage__eyebrow { transform: translate3d(0, 24px, 0); animation: nf-fallback 1s var(--ease-out) 2.6s forwards; }
  :root.is-motion .hero-title > span > span, :root.is-motion .stage__eyebrow { animation: none; }

  :root:not(.is-static) .stage { height: var(--stage-h); min-height: 540px; }
  :root:not(.is-static) .stage__canvas { display: block; opacity: 0; }
  :root:not(.is-static) .stage.is-live .stage__canvas { opacity: 1; }
  :root:not(.is-static) .stage.is-live .stage__objects { opacity: 0; }
  :root:not(.is-static) .stage__hint { display: grid; }
  :root:not(.is-static) .stage__still { display: none; }

  :root:not(.is-static) .stage__lines {
    position: absolute;
    margin: 0;
    padding: 0;
    left: var(--gutter); right: var(--gutter);
    top: calc(max(14px, env(safe-area-inset-top)) + 64px);
    height: calc(var(--stage-h) * .2);
    display: block;
    max-width: none;
  }
  :root:not(.is-static) .stage__line { position: absolute; left: 0; right: 0; top: 0; }
  :root:not(.is-static) .stage__mask > span { transform: translate3d(0, 112%, 0); }

  :root:not(.is-static) .sog__flakes { display: block; position: absolute; left: 50%; top: 50%; width: 0; height: 0; z-index: 1; pointer-events: none; }
  :root:not(.is-static) .sog__flakes img { position: absolute; left: -22px; top: -22px; width: 44px; height: 44px; object-fit: contain; max-width: none; will-change: transform; }

  :root:not(.is-static) .cheese__stage {
    display: block;
    height: var(--stage-h);
    min-height: 560px;
    padding: 0;
  }
  :root:not(.is-static) .cheese__q {
    position: absolute; left: var(--gutter); right: var(--gutter); top: 50%;
    transform: translateY(-50%);
    z-index: 1;
  }
  :root:not(.is-static) .cheese__black { position: absolute; inset: 0; margin: 0; z-index: 2; clip-path: circle(0% at 50% 55%); }
  :root:not(.is-static) .slogan {
    position: absolute; left: 50%; top: 50%; z-index: 3;
    width: max-content;
    padding: 0;
    translate: -50% -50%;
  }
  :root:not(.is-static) .slogan__l > span { transform: translate3d(0, 110%, 0); }
  :root:not(.is-static) .cheese__search {
    position: absolute; z-index: 4;
    left: 50%; top: 57%;
    width: min(calc(100% - 2 * var(--gutter)), 780px);
    translate: -50% -50%;
  }
  :root:not(.is-static) .cheese__ask .mask > span { transform: translate3d(0, 110%, 0); }
  :root:not(.is-static) .search { clip-path: inset(0 50% 0 50% round 999px); }
  :root:not(.is-static) .result { clip-path: inset(0 0 100% 0 round 18px); }
  :root:not(.is-static) .result__en mark { background-size: 0% .12em; }

  /* Finale: gepinnte Bühne. Typo, Text und CTA liegen übereinander, der Canvas trägt Keil, Reibe, Späne und Haufen. */
  :root:not(.is-static) .finale__stage {
    display: block;
    height: var(--stage-h);
    min-height: 560px;
    padding: 0;
    --fin-text-y: 41%;
    --fin-cta-y: 62%;
  }
  :root:not(.is-static) .finale__canvas { display: block; }
  :root:not(.is-static) .finale__pile { display: none; }
  :root:not(.is-static) .finale__type {
    position: absolute; left: var(--gutter); right: var(--gutter); top: 50%;
    translate: 0 -50%;
    width: auto;
  }
  /* 145 %: die Maske ist wegen der Unterlängen .2em höher als die Zeile — bei 112 % blitzen sonst die Oberkanten durch */
  :root:not(.is-static) .finale__title .mask > span { transform: translate3d(0, 145%, 0); }
  :root:not(.is-static) .finale__text {
    position: absolute; left: 50%; top: var(--fin-text-y);
    translate: -50% 0;
    width: min(calc(100% - 2 * var(--gutter)), 42rem);
    max-width: none;
    margin: 0;
  }
  :root:not(.is-static) .finale__cta {
    position: absolute; left: 50%; top: var(--fin-cta-y);
    translate: -50% 0;
    z-index: 6;
    width: min(calc(100% - 2 * var(--gutter)), 32rem);
    margin: 0;
  }
  /* Nebel wie in der Eröffnungsbühne: gibt dem Schlussakt dieselbe Tiefe (nur transform-Animation) */
  :root:not(.is-static) .finale__fog {
    display: block;
    position: absolute; inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
  }
  :root:not(.is-static) .finale__fog span {
    position: absolute;
    width: 150%; height: 55%; left: -25%;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgb(241 237 232 / .055), rgb(241 237 232 / 0));
  }
  :root:not(.is-static) .finale__fog span:nth-child(1) { top: 32%; animation: fog-a 24s ease-in-out infinite alternate; }
  :root:not(.is-static) .finale__fog span:nth-child(2) {
    top: 54%; left: -45%;
    background: radial-gradient(closest-side, rgb(174 29 43 / .12), rgb(174 29 43 / 0));
    animation: fog-b 30s ease-in-out infinite alternate;
  }

  /* Roter Lichtschwenk: fährt einmal über die Szene, danach ist er wieder aus */
  :root:not(.is-static) .finale__sweep {
    display: block;
    position: absolute; left: 0; top: -15%; bottom: -15%;
    z-index: 5;
    width: 62%;
    pointer-events: none;
    background: linear-gradient(104deg, rgb(180 18 30 / 0) 0%, rgb(180 18 30 / .72) 32%, rgb(255 226 170 / .62) 50%, rgb(180 18 30 / .7) 68%, rgb(180 18 30 / 0) 100%);
    mix-blend-mode: screen;
    filter: blur(11px);
    transform: translate3d(-150%, 0, 0);
  }

  .stage__fog span:nth-child(1) { animation: fog-a 22s ease-in-out infinite alternate; }
  .stage__fog span:nth-child(2) { animation: fog-b 28s ease-in-out infinite alternate; }
  .stage__cone { animation: cone 7s ease-in-out infinite alternate; }
}
@keyframes nf-fallback { to { transform: none; } }
@keyframes fog-a { from { transform: translate3d(-6%, 0, 0); } to { transform: translate3d(8%, -4%, 0); } }
@keyframes fog-b { from { transform: translate3d(6%, 0, 0); } to { transform: translate3d(-8%, 3%, 0); } }
@keyframes cone { from { opacity: .82; } to { opacity: 1; } }

@media (prefers-reduced-motion: no-preference) and (scripting: enabled) and (min-width: 1024px) {
  /* Nur Startwerte: finale() in intro.js setzt --fin-text-y/--fin-cta-y danach in px, damit die Abstände
     Titel→Text und Text→CTA auf jeder Fensterhöhe stehen (siehe layoutType()). */
  :root:not(.is-static) .finale__stage { --fin-text-y: 45.5%; --fin-cta-y: 62%; }
  /* Der Suchblock rutscht tiefer: zusammen mit dem kleineren, höher geparkten Slogan (SLS in cheese())
     entsteht der Abstand „Hate the cheese.“ → „Hast du den Satz schon gegoogelt?“. */
  :root:not(.is-static) .cheese__search { top: 58%; }
  :root:not(.is-static) .stage__lines {
    left: var(--gutter); right: auto;
    top: calc(var(--stage-h) * .5);
    width: min(38vw, 600px);
    height: 0;
  }
  :root:not(.is-static) .stage__line { top: auto; bottom: auto; translate: 0 -50%; font-size: clamp(2rem, 2.8vw, 3.3rem); }
  :root:not(.is-static) .stage__line--answer { font-size: clamp(3rem, 4.6vw, 5.4rem); }

  /* Zweiter, wandernder Lichtkegel in der Eroeffnungsbuehne. Position und Staerke setzt stageScene()
     scroll-gebunden ueber --lite-x/--lite-y/--lite-a; ohne JS bleibt --lite-a 0, also unsichtbar. */
  :root:not(.is-static) .stage__fog::after {
    content: "";
    position: absolute; inset: 0;
    background: radial-gradient(44% 54% at var(--lite-x, 50%) var(--lite-y, 45%),
      rgb(255 228 176 / var(--lite-a, 0)) 0%,
      rgb(244 223 166 / calc(var(--lite-a, 0) * .38)) 38%,
      rgb(174 29 43 / calc(var(--lite-a, 0) * .16)) 66%,
      rgb(174 29 43 / 0) 100%);
    mix-blend-mode: screen;
    pointer-events: none;
  }

  /* Die Aufloesung bekommt auf dem Desktop die volle Breite: breiterer Suchblock, Bedeutung zweispaltig
     (EN links, DE rechts). Das wandernde Licht dahinter setzt cheese() ueber --ch-x/--ch-y/--ch-a. */
  :root:not(.is-static) .cheese__search { width: min(calc(100% - 2 * var(--gutter)), 1000px); }
  :root:not(.is-static) .cheese__stage::after {
    content: "";
    position: absolute; inset: 0;
    z-index: 3;
    background: radial-gradient(40% 46% at var(--ch-x, 50%) var(--ch-y, 50%),
      rgb(255 228 176 / var(--ch-a, 0)) 0%,
      rgb(244 223 166 / calc(var(--ch-a, 0) * .34)) 40%,
      rgb(174 29 43 / calc(var(--ch-a, 0) * .2)) 70%,
      rgb(174 29 43 / 0) 100%);
    mix-blend-mode: screen;
    pointer-events: none;
  }
  :root:not(.is-static) .result {
    display: grid;
    grid-template-columns: minmax(0, 1.22fr) minmax(0, 1fr);
    column-gap: clamp(30px, 3.2vw, 54px);
    align-items: start;
    padding: 32px 38px 34px;
  }
  :root:not(.is-static) .result__label { grid-column: 1 / -1; }
  :root:not(.is-static) .result__en { grid-column: 1; margin-top: 14px; }
  :root:not(.is-static) .result__de {
    grid-column: 2;
    margin-top: 16px;
    padding-left: clamp(22px, 2.2vw, 34px);
    border-left: 1px solid rgb(180 18 30 / .55);
  }
}

/* Statisch: kleine Politur für den Fluss */
@media (prefers-reduced-motion: reduce) {
  .search__caret { animation: none; }
  .stage__hint span::after { animation: none; }
}
@media (min-width: 1024px) {
  .stage__lines { padding-inline: var(--gutter); max-width: 60rem; }

  /* „Das und noch viel mehr“: auf dem Desktop eine zweispaltige Komposition — links die Schlagzeile,
     rechts die drei Zeilen an der vorhandenen roten Schiene. Vorher stand alles links und die rechte
     Haelfte des Bildes blieb leer. Mobil bleibt der gestapelte Aufbau unveraendert. */
  .gain__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr);
    column-gap: clamp(56px, 6.4vw, 130px);
    align-items: start;
    padding-left: calc(var(--gutter) + 34px);
  }
  .gain__title {
    grid-column: 1; grid-row: 1 / span 3;
    font-size: clamp(3.2rem, 5.6vw, 7.6rem);
    letter-spacing: -.045em;
  }
  .gain__line {
    grid-column: 2;
    max-width: 34ch;
    margin-top: clamp(20px, 2vw, 32px);
    font-size: clamp(1.3rem, .85rem + 1.05vw, 1.8rem);
    line-height: 1.32;
  }
  .gain__line:first-of-type { margin-top: .16em; }
  .gain__line--strong {
    position: relative;
    margin-top: clamp(34px, 3.4vw, 58px);
    font-size: clamp(1.7rem, 1rem + 1.7vw, 2.7rem);
    line-height: 1.16;
  }
  .gain__line--strong::before {
    content: ""; position: absolute; left: 0; top: max(-28px, -1.4vw - 12px);
    width: 68px; height: 2px; background: var(--nf-red);
  }
}
