/* FrameForge — „Nebenbei"
   Hero: Materialcollage mit Horizont (--a). Ab Blatt 2 trägt eine fixe Horizontlinie auf 66,64 % alles:
   Schrift steigt darüber aus ihr auf oder hängt darunter an ihr; Entwürfe und Materialien stehen auf ihr. */

:root {
  --night: #0b1320;
  --dark: #07080b;
  --ink: #141413;
  --ivory: #f2ede4;
  --glut: #e8672a;
  --ember: #c4502b;
  --grau-d: #5e5d59;
  --serif: "Source Serif 4", "Iowan Old Style", Georgia, serif;
  --sans: "Geist", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --ease-open: cubic-bezier(.22, 1, .36, 1);
  --a: .54;
  --gut: clamp(20px, 5vw, 72px);
  --hdr-h: 76px;
  --shade: 0 1px 2px rgba(5,6,10,.45), 0 0 34px rgba(5,6,10,.5);
  --ly: 66.64vh;
  --lc: rgba(232, 223, 207, .58);
  --ahorn: #f1d5b0;
  --graphit: #37322d;
  --osi: "osifont", "JetBrains Mono", ui-monospace, monospace;
  color-scheme: dark;
}
@supports (height: 1svh) { :root { --ly: 66.64svh; } }
@media (max-width: 760px) { :root { --a: .5; --hdr-h: 60px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--dark); color: var(--ivory);
  font: 400 17px/1.55 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video, canvas, svg { display: block; }
a { color: inherit; }
h1, h2, h3, p, ol, ul, figure, blockquote { margin: 0; }
ol, ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -80px; z-index: 200; background: var(--ivory); color: var(--ink); padding: 10px 16px; border-radius: 999px; text-decoration: none; font-size: 14px; }
.skip:focus { top: 12px; }
::selection { background: rgba(94, 93, 89, .55); color: var(--ivory); }
.contact ::selection { background: rgba(55, 50, 45, .25); color: var(--ink); }
:focus-visible { outline: none; box-shadow: none; border-radius: 0; background-image: linear-gradient(currentColor, currentColor); background-size: 100% 1.5px; background-position: 0 100%; background-repeat: no-repeat; }
a:focus-visible, button:focus-visible { outline: 1.5px solid currentColor; outline-offset: 4px; background-image: none; }
.pill:focus-visible { background-image: none; outline: 1.5px solid currentColor; outline-offset: 4px; }

.eyebrow { font: 500 12.5px/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.ink { filter: url(#ink); }

/* ----- Bühnen und Panels: Bild/Film wird so gelegt, dass sein Horizontscheitel auf --a liegt (JS setzt Maße) ----- */
.stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; overflow: clip; background: var(--dark); }
/* Kino-Modus (JS + Bewegung): Die Bühnen stehen fest übereinander, der Scroll blendet von Blatt zu Blatt über.
   Bühnen reichen bis unter die Safari-Leiste (lvh), Inhalte sitzen auf der sichtbaren Höhe (--ly in svh). */
html.fx .stage { position: fixed; left: 0; right: 0; top: 0; height: 100vh; height: 100lvh; visibility: hidden; }
html.fx .hero-stage { visibility: visible; height: 100vh; height: 100svh; }
html.fx .stage.gone { visibility: hidden !important; }
/* ferne Bühnen werden gar nicht gelayoutet, bis ihre Sektion naht (JS setzt .near beim Wecken) */
html.fx main > section:not(.hero) .stage:not(.near) { display: none; }
html.fx.kbd .stage { visibility: visible !important; }
html.fx .contact { background: none; }
html.fx .foot { z-index: 1; background: var(--ahorn); }
/* Tipps gehen an die sichtbare Bühne, nicht an die leere Sektion, die im Fluss darüber liegt */
html.fx main > section, html.fx .contact-scroll { pointer-events: none; }
html.fx .stage, html.fx .foot { pointer-events: auto; }
html.morning { background: #f1d5b0 !important; }
.pnl { position: absolute; top: 0; bottom: 0; overflow: hidden; overflow: clip; background: #0d0c0b; contain: paint; }
.pnl img, .pnl video { position: absolute; left: 50%; top: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; transform: translateX(-50%); }
.pnl.placed img, .pnl.placed video { object-fit: fill; }
.pnl picture { display: contents; }
.dev { position: absolute; inset: 0; background: #050505; opacity: 0; pointer-events: none; }

/* ----- Korn über allem ----- */
.grain { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 150; mix-blend-mode: overlay; opacity: .55; }

/* ----- Header ----- */
.hdr {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--hdr-h);
  display: flex; align-items: center; gap: 36px; color: var(--ivory);
  padding: 0 max(var(--gut), env(safe-area-inset-right)) 0 max(var(--gut), env(safe-area-inset-left));
  background: linear-gradient(rgba(5,6,9,.62), rgba(5,6,9,.28) 55%, rgba(5,6,9,0));
  transition: color .35s var(--ease-open), background .35s;
}
.brand { position: relative; display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand::after { content: ""; position: absolute; inset: -11px -4px; }
.signet { width: 22px; height: 22px; }
.wordmark { font: 500 17px/1 var(--sans); letter-spacing: .01em; display: flex; }
.wordmark span { display: inline-block; }
.nav { display: flex; gap: 30px; }
.nav a, .foot a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .25s var(--ease-open); }
@media (hover: hover) { .nav a:hover, .foot a:hover { background-size: 100% 1px; } }
.nav a { position: relative; font: 400 15px/1 var(--sans); padding: 6px 0; text-shadow: var(--shade); }
.nav a::after { content: ""; position: absolute; inset: -13px -8px; }
.pill {
  position: relative; display: inline-flex; align-items: center; height: 40px; padding: 0 20px; border-radius: 999px;
  background: var(--ivory); color: var(--ink); font: 500 14.5px/1 var(--sans); text-decoration: none; white-space: nowrap;
  transition: background-color .25s, color .25s, border-color .25s;
}
.hdr .pill::after { content: ""; position: absolute; inset: -4px -2px; }
@media (hover: hover) { .pill:hover { background: var(--ember); color: var(--ivory); } }
html.js:not(.seen) .hdr { opacity: 0; }
body.hdr-ink .hdr { color: var(--ink); background: linear-gradient(rgba(241, 213, 176, .92), rgba(241, 213, 176, .6) 60%, rgba(241, 213, 176, 0)); }
body.hdr-ink .hdr .nav a { text-shadow: none; }
body.hdr-ink .hdr .pill { background: var(--ink); color: var(--ivory); }


/* ================= S1 HERO — Triptychon → Vorhang → Leinwand ================= */
.hero { position: relative; height: 340vh; height: 340svh; }
.hero-stage { background: #050505; cursor: default; }
/* Die drei Panels liegen bühnenbreit übereinander; sichtbar ist nur ihr Streifen (clip-path), das Bild folgt der Streifenmitte
   per translate — so zieht der Vorhang auf, ohne dass sich Layout verschiebt. JS setzt die Werte; hier Zustand A ohne JS. */
.hp { left: 0; right: 0; will-change: clip-path; }
.hp::before { content: ""; position: absolute; z-index: 2; top: 0; bottom: 0; left: 0; width: 1px; background: rgba(10,10,9,.9); transform: translateX(var(--sx, 0)); }
.hp-l { clip-path: inset(0 73% 0 0); } .hp-l img { translate: -36.5vw 0; }
.hp-c { clip-path: inset(0 31% 0 27%); --sx: 27vw; } .hp-c img { translate: -2vw 0; }
.hp-r { clip-path: inset(0 0 0 69%); --sx: 69vw; } .hp-r img { translate: 34.5vw 0; }
/* ohne JS: der Mobil-Mittelstreifen (index.html) liegt in Höhe skaliert wie bisher das ganze Bild per cover, nicht in Breite */
@media (max-width: 760px) and (max-aspect-ratio: 3/4) { html:not(.js) .hp-l img, html:not(.js) .hp-r img { width: auto; } }
html.js .hp .dev { opacity: 1; }
html.js.seen .hp .dev { opacity: 0; }
.hero-film { opacity: 0; background: transparent; }
html:not(.js) .hero-film { display: none; }

.intro-word {
  position: absolute; left: 48%; transform: translateX(-50%);
  top: calc(var(--a) * 100% - .86em); height: 1.12em; overflow: hidden;
  font: 400 clamp(34px, 3.8vw, 58px)/1 var(--serif); font-variation-settings: "opsz" 60; letter-spacing: -.01em;
  color: var(--ivory); white-space: nowrap; pointer-events: none;
}
.intro-word span { display: block; transform: translateY(110%); }
/* Tusche-Rauheit erst, wenn das Wort steht: ein SVG-Filter auf bewegter Schrift wird sonst in jedem Bild neu gerechnet */
html.seen .intro-word span, html:not(.js) .intro-word span { transform: none; filter: url(#ink); }

.hero-copy { position: absolute; inset: 0; pointer-events: none; text-shadow: var(--shade); }
.hero-eyebrow { position: absolute; left: 0; right: 0; text-align: center; bottom: calc((1 - var(--a)) * 100% + clamp(78px, 9.2vw, 140px)); color: rgba(242,237,228,.9); }
.hero-title {
  position: absolute; left: var(--gut); right: var(--gut); text-align: center; bottom: calc((1 - var(--a)) * 100% - .07em);
  font: 400 clamp(46px, 7.4vw, 124px)/1 var(--serif); font-variation-settings: "opsz" 60; letter-spacing: -.022em;
}
.hero-title .ht-line { display: inline; }
.m-br { display: none; }
.hero-title .word { display: inline-block; white-space: nowrap; }
.hero-title .char { display: inline-block; will-change: opacity, filter; }
html.js .hero-copy { opacity: 0; }

.scroll-hint { white-space: nowrap; position: absolute; left: 48%; transform: translateX(-50%); bottom: 28px; display: grid; justify-items: center; gap: 12px; font: 400 13.5px/1 var(--sans); color: rgba(242,237,228,.72); letter-spacing: .02em; }
.scroll-hint i { width: 1px; height: 38px; background: linear-gradient(rgba(242,237,228,.8), rgba(242,237,228,0)); transform-origin: top; animation: hint 2.4s var(--ease-open) infinite; }
@keyframes hint { 0% { transform: scaleY(0); } 55% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }
html.js:not(.seen) .scroll-hint > * { opacity: 0; }

/* Film-Bedienung: klein, unten auf der Leinwand */
.film-ui {
  position: absolute; left: 3.5%; right: 3.5%; bottom: 0; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 60px clamp(18px, 2.4vw, 34px) clamp(18px, 3vh, 30px); pointer-events: none;
  background: linear-gradient(transparent, rgba(4,5,8,.42));
}
.film-ui > * { pointer-events: auto; }
.film-ui[inert] > * { pointer-events: none; }
.film-cap { display: flex; align-items: center; gap: 10px; font: 400 12px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: rgba(242,237,228,.86); }
/* Mono erst mit dem Film laden (nebenbei.js setzt .film-src) — vorher ist die Bedienung unsichtbar, die Schrift spart 21 KB vor dem ersten Bild */
html.js:not(.film-src) .film-cap { font-family: var(--sans); }
.rec { width: 7px; height: 7px; border-radius: 50%; background: var(--glut); box-shadow: 0 0 10px 2px rgba(232,103,42,.6); }
.film-ui.paused .rec { background: rgba(242,237,228,.5); box-shadow: none; }
.film-time { font-variant-numeric: tabular-nums; }
.film-btns { display: flex; gap: 8px; }
.fbtn {
  height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid rgba(242,237,228,.5); background: rgba(8,9,12,.34);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: var(--ivory); font: 500 13.5px/1 var(--sans); cursor: pointer; white-space: nowrap;
  transition: background-color .25s, color .25s, border-color .25s;
}
@media (hover: hover) { .fbtn:hover { background: var(--ivory); color: var(--ink); border-color: var(--ivory); } }
.film-ui.muted .fbtn-sound { background: var(--ivory); color: var(--ink); border-color: var(--ivory); animation: pulse 2.2s ease-in-out infinite; }
@media (hover: hover) { .film-ui.muted .fbtn-sound:hover { background: var(--ember); color: var(--ivory); border-color: var(--ember); } }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(242,237,228,.45); } 50% { box-shadow: 0 0 0 8px rgba(242,237,228,0); } }


/* =====================================================================================
   AB BLATT 2 — eine fixe Horizontlinie auf 66,64 % der Bühnenhöhe trägt alles.
   ===================================================================================== */
.above { position: absolute; z-index: 2; left: var(--gut); right: var(--gut); bottom: calc(100% - var(--ly)); }
.below { position: absolute; z-index: 2; left: var(--gut); right: var(--gut); top: calc(var(--ly) + 22px); bottom: 0; }
.rl { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.rl > span { display: block; }
.rise-lines { font: 400 clamp(40px, 6.3vw, 108px)/.98 var(--serif); font-variation-settings: "opsz" 60; letter-spacing: -.024em; padding-bottom: .06em; }

/* Die Linie */
.anriss { position: fixed; z-index: 60; left: 0; right: 0; top: 66.64vh; top: 66.64svh; height: 1px; pointer-events: none; }
.anriss-l { position: absolute; inset: 0; background: var(--lc); transform-origin: 0 50%; transform: scaleX(0); }
/* Glanzpunkt: kurzer Lichtschweif + Punkt, sitzt mit der Spitze auf der Position (JS setzt translate) */
.anriss-glanz { position: absolute; left: -72px; top: -3px; width: 72px; height: 7px; opacity: 0; will-change: transform; }
.anriss-glanz::before { content: ""; position: absolute; left: 0; right: 3px; top: 3px; height: 1px; background: linear-gradient(90deg, transparent, var(--lc)); }
.anriss-glanz::after { content: ""; position: absolute; right: 0; top: 0; width: 7px; height: 7px; border-radius: 50%; background: radial-gradient(circle, #fff8ec 0 40%, var(--lc) 75%); box-shadow: 0 0 6px 1px var(--lc), 0 0 18px 3px rgba(255, 244, 222, .35); }
/* Aufleuchten bei Bewegung: hellere Kopie der Linie, erbt deren scaleX (JS setzt opacity) */
.anriss-hell { position: absolute; inset: 0; opacity: 0; background: rgba(255, 246, 230, .95); box-shadow: 0 0 6px rgba(255, 238, 210, .45); }
html:not(.js) .anriss { display: none; }
/* S2: die Linie wird im mittleren Drittel kurz zur Tonspur einer Sprachnachricht */
.welle { position: absolute; left: 33.333%; width: 33.333%; top: -24px; height: 48px; overflow: visible; }
.welle-g rect { fill: rgba(242, 237, 228, .82); }
.welle-kopf { fill: var(--glut); opacity: 0; }
@media (max-width: 760px) { .welle { left: 15%; width: 70%; } }

/* ================= S2 NEBENBEI ================= */
.neb { position: relative; height: 200vh; height: 200svh; }
/* Die Linie bleibt hier frei: die Tonspur schlägt bis 22 px nach oben und unten aus */
.neb .above { bottom: calc(100% - var(--ly) + 28px); }
.neb-below { top: calc(var(--ly) + 34px); }
.neb-p { max-width: 40em; font: 400 17px/1.5 var(--sans); color: rgba(242, 237, 228, .88); }
.wege { margin-top: 26px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(24px, 3vw, 56px); max-width: 1180px; }
.w-wort { display: block; font: 400 clamp(30px, 2.9vw, 46px)/1 var(--serif); font-variation-settings: "opsz" 60; letter-spacing: -.015em; }
.w-zeile { display: block; margin-top: 10px; max-width: 22em; font: 400 13px/1.4 var(--osi); letter-spacing: .02em; color: rgba(232, 223, 207, .7); }

/* ================= S3 DREI ENTWÜRFE ================= */
.entw { position: relative; height: 260vh; height: 260svh; }
.entw-stage { --kw: 26vw; --kg: 2vw; --kh: calc(var(--kw) * .625); }
.entw-above { bottom: calc(100% - var(--ly) + var(--kh) + 30px); }
.entw-h { font-size: clamp(34px, 4.4vw, 74px); }
.karten { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.karte {
  position: absolute; bottom: calc(100% - var(--ly) + 8px); width: var(--kw); height: var(--kh); background: #0d0c0b; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(232, 223, 207, .22), 0 24px 50px -22px rgba(0, 0, 0, .9);
}
.karte img { width: 100%; height: 100%; object-fit: cover; }
.k1 { left: calc(50% - 1.5 * var(--kw) - var(--kg)); }
.k2 { left: calc(50% - .5 * var(--kw)); z-index: 2; }
.k3 { left: calc(50% + .5 * var(--kw) + var(--kg)); }
.k-erg { display: block; }
.k-erg img { position: absolute; inset: 0; opacity: 0; }
.etikett { position: absolute; top: calc(var(--ly) + 12px); width: var(--kw); text-align: center; font: 400 12.5px/1.25 var(--osi); letter-spacing: .03em; color: rgba(232, 223, 207, .78); }
.e1 { left: calc(50% - 1.5 * var(--kw) - var(--kg)); }
.e2, .e4 { left: calc(50% - .5 * var(--kw)); }
.e3 { left: calc(50% + .5 * var(--kw) + var(--kg)); }
.e4 { opacity: 0; color: var(--ivory); }
.entw-below { top: calc(var(--ly) + 54px); display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); column-gap: clamp(28px, 4vw, 72px); align-content: start; }
.entw-p { max-width: 38em; font: 400 16px/1.5 var(--sans); color: rgba(242, 237, 228, .88); }
.entw-cap { max-width: 30em; font: 400 12.5px/1.5 var(--osi); letter-spacing: .02em; color: rgba(232, 223, 207, .7); }

/* ================= S4 ARBEITEN — vier Horizonte ================= */
.works { position: relative; height: 460vh; height: 460svh; }
.works-stage { background: var(--dark); }
.wm { left: 0; right: 0; --a: .6664; background: var(--sky, #0d0c0b); opacity: 0; }
.wm:first-child { opacity: 1; }
.wm img { -webkit-mask-image: linear-gradient(transparent, #000 10%); mask-image: linear-gradient(transparent, #000 10%); }
.works-above { top: calc(var(--hdr-h) + 8px); z-index: 3; }
/* Zähler „1 / 4" oben rechts (JS legt ihn an) */
.bl-nr { position: absolute; top: 2px; right: 0; font: 400 13px/1.2 var(--osi); letter-spacing: .04em; color: rgba(232, 223, 207, .72); text-shadow: var(--shade); font-variant-numeric: tabular-nums; transition: color .5s; }
.bl-nr.hell { color: rgba(30, 28, 26, .8); text-shadow: 0 0 22px rgba(241, 230, 214, .55); }
.blatt {
  position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 48px;
  align-content: end; padding-bottom: 26px; opacity: 0; pointer-events: none; text-shadow: var(--shade);
}
.blatt.on { opacity: 1; pointer-events: auto; }
.blatt > :not(.bl-screen) { grid-column: 1; }
.bl-screen {
  grid-column: 2; grid-row: 1 / 7; align-self: end; position: relative; width: clamp(240px, 24vw, 400px); aspect-ratio: 16 / 10;
  margin: 0 0 -18px; background: #0d0c0b; opacity: 0; text-shadow: none;
  box-shadow: 0 0 0 1px rgba(232, 223, 207, .28), 0 24px 50px -22px rgba(0, 0, 0, .9);
}
.bl-screen video { width: 100%; height: 100%; object-fit: cover; }
.bl-eye { font: 400 13px/1.2 var(--osi); letter-spacing: .03em; color: rgba(242, 237, 228, .82); margin-bottom: 8px; }
.bl-name { overflow: hidden; padding: .16em 0 .12em; margin: -.16em 0 -.12em; font: 400 clamp(44px, min(5.8vw, 9vh), 96px)/1 var(--serif); font-variation-settings: "opsz" 60; letter-spacing: -.024em; }
.bl-name span { display: block; }
.bl-txt { margin-top: 12px; max-width: 34em; font: 400 15.5px/1.5 var(--sans); color: rgba(242, 237, 228, .92); }
.bl-dabei { margin-top: 10px; max-width: 46em; font: 400 13px/1.4 var(--osi); letter-spacing: .02em; color: rgba(242, 237, 228, .86); }
.bl-dabei span { color: rgba(242, 237, 228, .62); }
.bl-meta { margin-top: 8px; display: flex; gap: 14px; font: 400 13px/1.3 var(--osi); color: rgba(242, 237, 228, .75); }
.bl-meta a { position: relative; color: var(--ivory); font: 400 14px/1.3 var(--sans); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; }
.bl-meta a::after { content: ""; position: absolute; inset: -13px -6px; }
/* Seelenpfad: heller Morgenhimmel — Schrift in Graphit */
.bl-hell { color: var(--graphit); text-shadow: 0 0 22px rgba(241, 230, 214, .55); }
.bl-hell .bl-eye, .bl-hell .bl-txt, .bl-hell .bl-dabei, .bl-hell .bl-meta { color: rgba(30, 28, 26, .9); }
.bl-hell .bl-dabei span { color: rgba(30, 28, 26, .66); }
.bl-hell .bl-meta a { color: var(--graphit); }
html:not(.fx) .bl-hell .bl-meta a { color: var(--ivory); }

/* ================= S5 STIMME ================= */
.stimme { position: relative; height: 150vh; height: 150svh; }
.nacht { left: 0; right: 0; --a: .6664; background: var(--sky); opacity: 0; }
.nacht img { -webkit-mask-image: linear-gradient(transparent, #000 10%); mask-image: linear-gradient(transparent, #000 10%); }
.stimme-h { font-size: clamp(34px, 4.6vw, 80px); line-height: 1.04; }
.st-p { max-width: 30em; font: 400 19px/1.5 var(--serif); color: rgba(242, 237, 228, .92); }
.st-who { margin-top: 14px; font: 400 12.5px/1.3 var(--osi); letter-spacing: .03em; color: rgba(232, 223, 207, .72); }

/* ================= S6 ABLAUF + PREIS — Maßkette ================= */
.mass { position: relative; height: 220vh; height: 220svh; }
.mass-above { height: calc(var(--ly) - var(--hdr-h)); }
.kette li { position: absolute; bottom: 12px; left: calc(var(--a) * 100%); width: calc((var(--b) - var(--a)) * 100%); text-align: center; }
.k-name { display: block; margin-top: 6px; font: 400 12px/1 var(--osi); color: rgba(232, 223, 207, .66); letter-spacing: .03em; }
.k-val { display: inline-block; font: 400 clamp(22px, 2.4vw, 40px)/1 var(--serif); font-variation-settings: "opsz" 60; letter-spacing: -.01em; }
.ticks i { position: absolute; bottom: 0; left: calc(var(--x) * 100%); width: 1px; height: 0; }
.ticks i::before { content: ""; position: absolute; left: 0; bottom: -14px; width: 1px; height: 30px; background: var(--lc); }
.ticks i::after { content: ""; position: absolute; left: -8px; bottom: -.5px; width: 17px; height: 1px; background: rgba(242, 237, 228, .9); transform: rotate(-45deg); }
.gesamt { position: absolute; left: 0; right: 0; bottom: clamp(84px, 11vh, 120px); }
.g-eye { font: 400 13px/1.2 var(--osi); color: rgba(232, 223, 207, .72); letter-spacing: .03em; margin-bottom: 10px; padding-left: 4%; }
.g-num { overflow: hidden; padding: 0 0 .08em 4%; margin-bottom: -.08em; font: 400 clamp(56px, min(10.5vw, 17vh), 176px)/.95 var(--serif); font-variation-settings: "opsz" 60; letter-spacing: -.035em; white-space: nowrap; }
.g-num span { display: block; }
.g-dim { position: relative; height: 1px; margin: 22px 4% 0 4%; }
.g-ust { margin: 14px 4% 0; font: 400 12px/1.35 var(--osi); letter-spacing: .03em; color: rgba(232, 223, 207, .62); }
.gd-l { position: absolute; inset: 0 -10px; background: var(--lc); transform-origin: 0 50%; }
.gd-t { position: absolute; left: -8px; top: -.5px; width: 17px; height: 1px; background: rgba(242, 237, 228, .9); transform: rotate(-45deg); }
.gd-t2 { left: auto; right: -9px; }
.gd-t::before { content: ""; position: absolute; left: 8px; top: -16px; width: 1px; height: 30px; background: var(--lc); transform: rotate(45deg); transform-origin: 50% 16px; }
.schritte li { position: absolute; top: 0; left: calc(var(--a) * 100%); width: calc((var(--b) - var(--a)) * 100%); padding-right: 28px; }
.schritte h3 { font: 400 13px/1.2 var(--osi); color: rgba(232, 223, 207, .76); letter-spacing: .03em; margin-bottom: 8px; }
.schritte p { font: 400 15px/1.5 var(--sans); color: rgba(242, 237, 228, .88); max-width: 22em; }
.leist { position: absolute; top: 0; left: 4%; right: 0; display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, .9fr); column-gap: clamp(28px, 3.4vw, 56px); }
html.js .leist { opacity: 0; pointer-events: none; }
.boms { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); column-gap: 28px; }
.bom-h { font: 400 12px/1.2 var(--osi); letter-spacing: .06em; text-transform: uppercase; color: rgba(232, 223, 207, .72); margin-bottom: 6px; }
.bom { font: 400 14.5px/1.3 var(--sans); color: rgba(242, 237, 228, .92); }
.bom li { display: flex; align-items: baseline; gap: 10px; padding: 4px 0; }
.bom i { flex: 1; min-width: 12px; border-bottom: 1px dotted rgba(232, 223, 207, .3); transform: translateY(-4px); }
.bom li span:last-child { font: 400 12px/1 var(--osi); color: rgba(232, 223, 207, .66); white-space: nowrap; }
.care, .qual { font: 400 14px/1.5 var(--sans); color: rgba(242, 237, 228, .78); max-width: 28em; }
.care strong { color: var(--ivory); font-weight: 500; }
.qual { margin-top: 10px; color: var(--ivory); }
.price-cta { margin-top: 16px; }
.price-cta .pill { height: 44px; }

/* ================= S7 KONTAKT — Morgen ================= */
.contact { position: relative; background: var(--ahorn); color: var(--graphit); }
.contact-scroll { height: 190vh; height: 190svh; }
.morgen { position: absolute; inset: 0; opacity: 0; }
.bleistift { position: absolute; left: 0; width: 100%; height: auto; max-width: none; top: calc(var(--ly) - 20.32vw);
  -webkit-mask-image: linear-gradient(transparent, #000 22%, #000 78%, transparent); mask-image: linear-gradient(transparent, #000 22%, #000 78%, transparent); }
.contact-above, .contact-below { color: var(--ivory); }
.contact-h { font: 400 clamp(44px, min(6.8vw, 11vh), 112px)/1 var(--serif); font-variation-settings: "opsz" 60; letter-spacing: -.024em; padding-bottom: 18px; max-width: 9.5em; }
.hand-slot { display: block; }
.contact-p { max-width: 31em; font: 400 17px/1.5 var(--serif); }
.ich { display: flex; align-items: center; gap: 16px; max-width: 31em; margin: 0 0 22px; }
.ich img { flex: none; width: 80px; height: 100px; object-fit: cover; border-radius: 3px; box-shadow: 0 6px 18px rgba(0,0,0,.28); }
.ich figcaption { font: 400 14px/1.45 var(--sans); opacity: .9; }
.ich b { font-weight: 500; }
.contact-cta { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.pill-big { height: 52px; padding: 0 28px; font-size: 16px; }
.pill-2 { background: transparent; color: inherit; border: 1px solid currentColor; }
.contact-mail { margin-top: 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; }
.mail { position: relative; font: 400 15px/1 var(--osi); letter-spacing: .02em; user-select: all; text-decoration: none; }
.mail::after { content: ""; position: absolute; inset: -16px -6px; }
.copy-btn { position: relative; height: 32px; padding: 0 2px; border: 0; background: none; cursor: pointer; font: 400 13px/1 var(--osi); letter-spacing: .03em; text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; opacity: .8; }
.copy-btn::after { content: ""; position: absolute; inset: -6px -10px; }
@media (hover: hover) { .copy-btn:hover { opacity: 1; } }
body.hdr-ink .contact-above, body.hdr-ink .contact-below { color: var(--graphit); }
body.hdr-ink .contact .pill { background: var(--graphit); color: var(--ahorn); }
body.hdr-ink .contact .pill-2 { background: transparent; color: var(--graphit); border-color: var(--graphit); }
@media (hover: hover) { body.hdr-ink .contact .pill:hover { background: var(--ember); color: var(--ivory); border-color: var(--ember); } }
.foot { position: relative; padding: 64px var(--gut) 30px; color: rgba(55, 50, 45, .86); border-top: 1px solid rgba(55, 50, 45, .25); }
.foot-faq { max-width: 900px; margin-bottom: 44px; padding-bottom: 40px; border-bottom: 1px solid rgba(55, 50, 45, .22); }
.foot-facts { max-width: 44em; margin-top: 10px; font: 400 16px/1.55 var(--serif); color: var(--graphit); }
.faq { max-width: 46em; margin-top: 22px; border-top: 1px solid rgba(55, 50, 45, .22); }
.faq details { border-bottom: 1px solid rgba(55, 50, 45, .22); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 44px; padding: 8px 0; cursor: pointer; list-style: none; font: 400 14.5px/1.4 var(--sans); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font: 400 15px/1 var(--osi); }
.faq details[open] summary::after { content: "–"; }
.faq summary:focus-visible { background-image: none; outline: 1.5px solid currentColor; outline-offset: 2px; }
.faq details p { max-width: 40em; padding: 0 0 14px; font: 400 14px/1.55 var(--sans); color: rgba(55, 50, 45, .92); }
@media (min-width: 901px) {
  .foot-faq { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); grid-template-rows: auto 1fr; column-gap: clamp(32px, 5vw, 80px); align-items: start; max-width: 1180px; }
  .foot-faq .fh, .foot-facts { grid-column: 1; }
  .foot-faq .faq { grid-column: 2; grid-row: 1 / 3; margin-top: 0; max-width: none; }
}
.foot-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; max-width: 900px; }
.foot-cols div { display: grid; gap: 0; align-content: start; font-size: 14.5px; }
.foot-cols a, .foot-cols span { padding: 12px 0; line-height: 1.5; justify-self: start; }
.foot .fh { font: 400 12px/1.2 var(--osi); letter-spacing: .06em; color: var(--graphit); margin-bottom: 4px; }
.copy { margin-top: 36px; font: 400 12.5px/1 var(--osi); }

/* Autoplay gesperrt (iOS-Stromsparmodus): Knopf, der mit einem Tipp alle Filme freigibt */
.ap-pill {
  position: fixed; z-index: 62; left: max(var(--gut), env(safe-area-inset-left)); bottom: calc(14px + env(safe-area-inset-bottom));
  height: 44px; padding: 0 18px 0 38px; border-radius: 999px; border: 1px solid rgba(242,237,228,.55);
  background: rgba(8,9,12,.5); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  color: var(--ivory); font: 500 13.5px/1 var(--sans); cursor: pointer; white-space: nowrap;
}
.ap-pill::before { content: ""; position: absolute; left: 17px; top: 50%; margin-top: -6px; border: 6px solid transparent; border-left: 10px solid currentColor; border-right: 0; }
.ap-pill[hidden], html.film-on .ap-pill { display: none; }
body.hdr-ink .ap-pill { color: var(--graphit); border-color: rgba(55,50,45,.5); background: rgba(241,213,176,.6); }

/* ================= KI-Hinweis: Mini-Badge direkt am generierten Bild (immer sichtbar), Popover per Hover, Tipp und Tastatur =================
   Das Badge sitzt als Kind der Bühne (nicht in .above/.below): es blendet mit der Bühne ein, nie später als das Bild. */
.ki { position: absolute; z-index: 5; text-shadow: none; }
.ki-b {
  position: relative; display: block; height: 22px; padding: 0 7px 0 9px; border-radius: 999px; cursor: pointer;
  border: 1px solid rgba(242, 237, 228, .62); background: rgba(8, 9, 12, .66); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  color: #f7f2e9; font: 400 12px/1 var(--osi); letter-spacing: .12em;
}
.ki-b::after { content: ""; position: absolute; inset: -11px -8px; }
.ki-pop {
  position: absolute; top: calc(100% + 8px); left: 0; width: max-content; max-width: min(264px, calc(100vw - 2 * var(--gut)));
  padding: 10px 12px 11px; border: 1px solid rgba(242, 237, 228, .34); border-radius: 10px; background: rgba(8, 9, 12, .86);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  color: rgba(242, 237, 228, .92); font: 400 13px/1.45 var(--sans); letter-spacing: 0; text-transform: none; text-align: left;
  visibility: hidden; opacity: 0; transform: translateY(-3px); transition: opacity .18s, transform .18s, visibility 0s .18s;
}
.ki-pop::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.ki-up .ki-pop { top: auto; bottom: calc(100% + 8px); transform: translateY(3px); }
.ki-up .ki-pop::before { top: auto; bottom: -10px; }
.ki-r .ki-pop { left: auto; right: 0; }
.ki-pop a { position: relative; display: inline-block; color: var(--ivory); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; white-space: nowrap; }
.ki-pop a::after { content: ""; position: absolute; inset: -14px -6px; }
.ki.open .ki-pop, html:not(.js) .ki:hover .ki-pop, html:not(.js) .ki:focus-within .ki-pop { visibility: inherit; opacity: 1; transform: none; transition-delay: 0s; }
.ki-works { left: var(--gut); top: calc(var(--ly) + 14px); }
html:not(.fx) .ki-works { top: calc(70vh - 46px); top: calc(70svh - 46px); }

/* ================= Tablet ================= */
@media (max-width: 1024px) {
  .hdr { gap: 22px; }
  .nav { gap: 20px; }
  .nav a { font-size: 14px; }
  .leist { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
  .bom i, .bom li span:last-child { display: none; }
  .bom { font-size: 13.5px; }
  .bl-screen { display: none; }
  .blatt { grid-template-columns: minmax(0, 1fr); }
  .entw-below { grid-template-columns: minmax(0, 1fr); row-gap: 10px; }
}

/* ================= Mobil ================= */
@media (max-width: 760px) {
  .leist { grid-template-columns: minmax(0, 1fr); row-gap: 14px; }
  .hdr { gap: 14px; }
  .nav { margin-left: auto; gap: 14px; }
  .nav-so { display: none; }
  .brand { margin-right: 0; }
  .pill { height: 36px; padding: 0 14px; font-size: 13.5px; }
  .hero { height: 200svh; }
  .neb { height: 150svh; }
  .entw { height: 190svh; }
  .works { height: 480svh; } /* ≈ 1,1 Bildschirmhöhen je Blatt; ohne Einrasten reicht das (Variante C „Ruhig“) */
  .stimme { height: 120svh; }
  .mass { height: 220svh; }
  .hp-l { clip-path: inset(0 90% 0 0); } .hp-l img { translate: -45vw 0; }
  .hp-c { clip-path: inset(0 10% 0 10%); --sx: 10vw; } .hp-c img { translate: 0 0; }
  .hp-r { clip-path: inset(0 0 0 90%); --sx: 90vw; } .hp-r img { translate: 45vw 0; }
  .film-ui { left: 2.5%; right: 2.5%; top: calc(50% + 35.1vw + 10px); bottom: auto; padding: 0 16px; background: none; flex-direction: column; align-items: flex-start; gap: 12px; }
  .intro-word, .scroll-hint { left: 50%; }
  .hero-film { -webkit-mask-image: linear-gradient(transparent, #000 20%, #000 80%, transparent); mask-image: linear-gradient(transparent, #000 20%, #000 80%, transparent); }
  .hero-title { font-size: clamp(40px, 12.2vw, 60px); }
  .m-br { display: inline; }
  .hero-eyebrow { bottom: calc((1 - var(--a)) * 100% + 2 * clamp(40px, 12.2vw, 60px) + 16px); font-size: 12px; }
  .eb-r { display: none; }

  .below { top: calc(var(--ly) + 16px); }
  .rise-lines { font-size: clamp(36px, 11.4vw, 52px); line-height: 1; }
  .rise-lines .rl > span { text-wrap: balance; }

  .neb .above { bottom: calc(100% - var(--ly) + 26px); }
  .neb-below { top: calc(var(--ly) + 30px); }
  .neb-p { font-size: 14.5px; line-height: 1.45; }
  .wege { margin-top: 16px; grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; row-gap: 8px; align-items: baseline; }
  .wege li { display: contents; }
  .w-wort { font-size: 26px; }
  .w-zeile { margin: 0; font-size: 12px; line-height: 1.35; }

  .entw-stage { --kw: 30vw; --kg: 2vw; --kh: calc(var(--kw) * 1.25); }
  .entw-h { font-size: clamp(30px, 8.6vw, 40px); }
  .entw-above { bottom: calc(100% - var(--ly) + var(--kh) + 22px); }
  .etikett { top: calc(var(--ly) + 8px); font-size: 12px; line-height: 1.25; letter-spacing: 0; }
  .entw-below { top: calc(var(--ly) + 50px); }
  .entw-p { font-size: 14px; line-height: 1.45; }
  .entw-cap { font-size: 12px; line-height: 1.4; }

  .works-above { top: calc(var(--hdr-h) + 4px); }
  .blatt { padding-bottom: 18px; }
  .bl-name { font-size: clamp(34px, 10vw, 46px); }
  .bl-eye { font-size: 12px; margin-bottom: 6px; }
  .bl-txt { font-size: 14px; line-height: 1.45; max-width: none; }
  .bl-dabei, .bl-meta { font-size: 12px; }

  .stimme-h { font-size: clamp(26px, 7.6vw, 40px); }
  .st-p { font-size: 15px; }
  .st-who { font-size: 12px; }

  .k-val { font-size: clamp(15px, 4.2vw, 20px); line-height: 1.05; }
  .kette li:nth-child(3) .k-val, .kette li:nth-child(4) .k-val { max-width: 5.6em; }
  .g-num { font-size: clamp(46px, 13.4vw, 62px); padding-left: 0; }
  .g-eye { padding-left: 0; font-size: 12px; }
  .g-dim { margin-left: 0; margin-right: 0; }
  .g-ust { margin-left: 0; margin-right: 0; }
  .schritte li { left: 0; width: 100%; padding-right: 0; }
  html.js .schritte li + li { opacity: 0; }
  .schritte p { font-size: 14px; }
  .leist { left: 0; }
  .boms { column-gap: 16px; }
  .bom { font-size: 13px; }
  .bom li { padding: 3px 0; }
  .bom i, .bom li span:last-child { display: none; }
  .care, .qual { font-size: 13.5px; }
  html.fx .leist > * { grid-area: 1 / 1; }

  .bleistift { width: 260vw; left: calc(70vw - 166.4vw); top: calc(var(--ly) - 52.83vw);
    -webkit-mask-image: linear-gradient(transparent, #000 22%, #000 50%, rgba(0,0,0,.22) 62%, transparent 78%);
            mask-image: linear-gradient(transparent, #000 22%, #000 50%, rgba(0,0,0,.22) 62%, transparent 78%); }
  .contact-h { font-size: clamp(38px, 11vw, 52px); }
  .contact-p { font-size: 15px; padding-right: 50px; }
  .ich { gap: 12px; margin-bottom: 16px; padding-right: 50px; }
  .ich img { width: 60px; height: 75px; }
  .ich figcaption { font-size: 13px; line-height: 1.4; }
  .contact-cta { margin-top: 18px; gap: 10px; }
  .pill-big { height: 46px; padding: 0 20px; font-size: 15px; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
  .ap-pill { left: max(12px, env(safe-area-inset-left)); bottom: calc(10px + env(safe-area-inset-bottom)); }
}
@media (max-width: 430px) {
  .wordmark { display: none; }
}
/* Mobil auf echten Safari-Höhen (390×664, 375×548); S2 auch bei 412×732: Absatz + drei Wege müssen unter die Linie passen */
@media (max-width: 760px) and (max-height: 760px) {
  .neb-below { top: calc(var(--ly) + 24px); }
  .neb-p { font-size: 13px; line-height: 1.38; }
  .wege { margin-top: 6px; row-gap: 2px; }
  .w-wort { font-size: 20px; }
  .w-zeile { line-height: 1.3; }
}
@media (max-width: 760px) and (max-height: 700px) {
  .entw-p { font-size: 13px; line-height: 1.4; }
  .entw-cap { display: none; }
  .bl-txt { font-size: 13.5px; line-height: 1.4; }
  .st-p { font-size: 14px; }
  .care, .qual { font-size: 12.5px; line-height: 1.4; }
  .contact-h { padding-bottom: 12px; }
  .contact-cta { margin-top: 12px; }
  .contact-p { font-size: 14px; line-height: 1.45; }
  .ich { margin-bottom: 10px; }
  .ich img { width: 48px; height: 60px; }
  .ich figcaption { font-size: 12px; line-height: 1.35; }
  .contact-mail { margin-top: 8px; }
  .copy-btn { height: 28px; }
  .copy-btn::after { inset: -8px -10px; } /* Trefferfläche bleibt 44 px */
}

@media (max-width: 760px) and (max-height: 600px) {
  .wege { grid-template-columns: repeat(3, auto); justify-content: start; column-gap: 22px; }
  .w-zeile { display: none; }
  .care, .qual { font-size: 12px; line-height: 1.35; }
  .qual { margin-top: 6px; }
  .price-cta { margin-top: 8px; }
  .contact-mail { display: none; }
  .contact-h { padding-bottom: 12px; }
}

/* ================= Reduzierte Bewegung: Endzustände, Filme als Standbild ================= */
@media (prefers-reduced-motion: reduce) {
  .hero { height: 100vh; height: 100svh; }
  .hp-l { clip-path: inset(0 96.5% 0 0); } .hp-l img { translate: -48.25vw 0; }
  .hp-c { clip-path: inset(0 3.5% 0 3.5%); --sx: 3.5vw; } .hp-c img { translate: 0 0; }
  .hp-r { clip-path: inset(0 0 0 96.5%); --sx: 96.5vw; } .hp-r img { translate: 48.25vw 0; }
  html.js .dev { opacity: 0 !important; }
  html.js:not(.seen) .hdr { opacity: 1; }
  html.js .hero-copy { opacity: 1; }
  .intro-word, .scroll-hint { display: none; }
  .scroll-hint i, .film-ui.muted .fbtn-sound { animation: none; }
  .anriss { opacity: 0; transition: opacity .4s; }
  body.line-on .anriss { opacity: 1; }
  body.line-off .anriss { opacity: 0; }
  .nacht { opacity: .85; }
  .neb, .entw, .stimme { height: 130vh; height: 130svh; }
  .mass { height: 150vh; height: 150svh; }
}
@media (prefers-reduced-motion: reduce) and (max-width: 760px) {
  .mass { height: 200vh; height: 200svh; }
  html.js .leist > * { grid-area: 1 / 1; }
  html.js .leist-r, html.js .leist.takt2 .boms { visibility: hidden; }
  html.js .leist.takt2 .leist-r { visibility: visible; }
}

/* ================= Ohne Kino-Modus (reduzierte Bewegung, ohne JS): Arbeiten untereinander, Material = erstes Bild ================= */
html:not(.fx) .works { height: auto; }
html:not(.fx) .works-stage { position: relative; height: auto; overflow: visible; padding-bottom: 48px; }
html:not(.fx) .wm { position: relative; height: 70vh; height: 70svh; }
html:not(.fx) .wm ~ .wm { display: none; }
html:not(.fx) .works-above { position: relative; inset: auto; margin: 0 var(--gut); }
html:not(.fx) .blatt { position: relative; inset: auto; opacity: 1; pointer-events: auto; margin-top: 40px; padding: 0; color: var(--ivory); text-shadow: none; }
html:not(.fx) .bl-hell .bl-eye, html:not(.fx) .bl-hell .bl-txt, html:not(.fx) .bl-hell .bl-dabei, html:not(.fx) .bl-hell .bl-meta { color: rgba(242, 237, 228, .9); }
html:not(.fx) .bl-screen { opacity: 1; margin: 0; align-self: start; }
html:not(.js) .bl-screen { display: none; }
html:not(.fx) .e4, html:not(.fx) .k-erg { display: none; }
/* ohne JS bleibt der Ablauf lesbar: Schritte stehen untereinander über der Liste statt übereinander (mass-below scrollt dort, s. noscript) */
html:not(.js) .schritte { display: grid; row-gap: 14px; margin-bottom: 28px; }
html:not(.js) .schritte li { position: static; width: auto; padding-right: 0; }
html:not(.js) .leist { position: static; margin-left: 4%; }
html:not(.js) .leist { opacity: 1; }
html:not(.js) .nacht { opacity: .85; }
html:not(.js) .contact-stage { background: var(--ahorn); }
html:not(.js) .contact-above, html:not(.js) .contact-below { color: var(--graphit); }
html:not(.js) .morgen { opacity: 1; }
html:not(.js) .intro-word { display: none; }
