/* Infinity Films – Relaunch 2026
   Farben, Schrift und Abstände an einer Stelle. */

@font-face {
  font-family: "Archivo";
  src: url("../assets/fonts/archivo-latin-wdth-normal.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}
@font-face {
  font-family: "Geist";
  src: url("../assets/fonts/geist-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("../assets/fonts/geist-mono-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("../assets/fonts/geist-mono-latin-500-normal.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

:root {
  --night: #05070c;
  --night-2: #080b12;
  --surface: #0c1018;
  --surface-2: #111826;
  --line: #1a2030;
  --line-2: #2a3244;
  --text: #eef2f7;
  --text-2: #c7cfdc;
  --muted: #8c96a8;
  --faint: #5f6b80;
  --ice: #8ef3e6;
  --ice-hover: #c9fbf5;
  --prism: #2d5bff;

  --display: "Archivo", "Arial Narrow", sans-serif;
  --body: "Geist", system-ui, sans-serif;
  --mono: "Geist Mono", ui-monospace, monospace;

  --wrap: 1280px;
  --gutter: clamp(16px, 4vw, 32px);
  --radius: 22px;
  --ease: cubic-bezier(.16, 1, .3, 1);

  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--night);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: var(--ice); }
a:hover { color: var(--ice-hover); }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ice); outline-offset: 3px; border-radius: 6px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; left: 16px; top: -60px; z-index: 100;
  background: var(--ice); color: var(--night); padding: 12px 18px; border-radius: 999px;
  font-weight: 600; text-decoration: none;
}
.skip:focus { top: 16px; }

[hidden] { display: none !important; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.mono {
  font-family: var(--mono); font-size: 12px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted);
}
.thin { font-weight: 200; color: var(--muted); }
.accent { color: var(--ice); }

/* ---------- 3D-Bühne ---------- */
#stage {
  position: fixed; inset: 0; z-index: 0;
  width: 100%; height: 100%; height: 100lvh;
  pointer-events: none;
  opacity: 0; transition: opacity 1.2s var(--ease);
}
#stage.is-ready { opacity: 1; }
.stage-veil {
  /* leichte Abdunklung am Rand, damit Text immer lesbar bleibt */
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(120% 90% at 70% 40%, transparent 40%, #05070c 100%);
}
main, .site-footer { position: relative; z-index: 1; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background .3s, border-color .3s, transform .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-solid { background: #05070ce0; border-color: var(--line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.site-header.is-hidden { transform: translateY(-100%); }
.nav { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.brand img { width: 28px; height: 31px; object-fit: contain; }
.wordmark { font-family: var(--display); font-stretch: 125%; font-size: 16px; letter-spacing: .06em; white-space: nowrap; }
.wordmark b { font-weight: 800; }
.wordmark span { font-weight: 200; }
.nav-links { display: flex; gap: 28px; margin-left: auto; list-style: none; padding: 0; margin-block: 0; }
.nav-links a { color: var(--text-2); text-decoration: none; font-size: 15px; transition: color .2s; }
.nav-links a:hover, .nav-links a[aria-current="true"] { color: var(--text); }
.menu-btn { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border-radius: 999px;
  font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: transform .25s var(--ease), background .25s, border-color .25s, color .25s;
  white-space: nowrap;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--ice); color: var(--night); }
.btn-primary:hover { background: var(--ice-hover); color: var(--night); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ice); color: var(--text); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 15px; }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Kapitel-Grundlagen ---------- */
.chapter { position: relative; padding-block: clamp(96px, 14vw, 160px); }
.chapter-head { max-width: 980px; }
.chapter-label { display: flex; gap: 18px; flex-wrap: wrap; }
.h-xl, .h-l, .h-m {
  font-family: var(--display); font-weight: 500; letter-spacing: -.025em; margin: 0;
}
.h-xl { font-size: clamp(44px, 6.2vw, 90px); line-height: .96; font-stretch: 86%; }
.h-l { font-size: clamp(38px, 5vw, 72px); line-height: .98; font-stretch: 86%; letter-spacing: -.03em; text-wrap: balance; }
.h-m { font-size: clamp(28px, 2.8vw, 38px); line-height: 1.08; font-stretch: 92%; text-wrap: balance; }
/* Aussagen: schmal geschnitten und gross, der zweite Teil in dünnem Schnitt */
.h-statement { margin: 0; font-family: var(--display); font-weight: 500; font-stretch: 78%; font-size: clamp(44px, 6vw, 100px); line-height: .93; letter-spacing: -.035em; text-wrap: balance; }
.h-statement .thin, .h-l .thin, .h-name .thin { font-weight: 200; color: var(--muted); }
.lead { font-size: clamp(17px, 1.6vw, 21px); color: var(--text-2); max-width: 600px; margin: 26px 0 0; }

/* Zeilen-Reveal */
.split-line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.split-line > span { display: inline-block; will-change: transform; }

.panel {
  background: #0c1018e6; border: 1px solid var(--line); border-radius: var(--radius);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}

/* ---------- K.00 Hero: zwei Hälften ---------- */
.hero { min-height: 100svh; display: flex; flex-direction: column; padding-top: 72px; padding-bottom: 0; }
.split { --edge: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); flex: 1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.half { position: relative; display: flex; flex-direction: column; gap: 22px; padding-block: clamp(24px, 4vh, 48px) clamp(32px, 5vh, 56px); min-width: 0; }
.half-abo { padding-inline: var(--edge) clamp(32px, 4vw, 64px); }
.half-video { padding-inline: clamp(32px, 4vw, 64px) var(--edge); border-left: 1px solid var(--line); background: linear-gradient(180deg, #0a0d14cc, #070a10cc); }
.half-copy { display: flex; flex-direction: column; gap: 16px; }
/* Kopf jeder Hälfte: Name links, kurze Einordnung rechts, auf einer Linie */
.half-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 16px; margin: 0; padding-top: 12px; border-top: 1px solid var(--line-2); }
.half-abo .half-head { border-top: 2px solid var(--ice); }
.half-name { font-size: 17px; font-weight: 500; color: var(--text); }
.half-abo .half-name { color: var(--ice); }
.half-meta { font-size: 14px; color: var(--muted); }
.hero h1, .hero .half h2 { font-size: clamp(36px, min(4vw, 6.4vh), 64px); margin: 0; text-wrap: balance; }
.hero .half h2.h-second { font-size: clamp(30px, min(3.1vw, 5vh), 50px); font-stretch: 92%; color: var(--text-2); }
.half .lead { margin: 0; font-size: clamp(16px, 1.3vw, 19px); max-width: 520px; }
.hero-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 8px; }
.half-price { font-family: var(--display); font-size: 22px; font-weight: 500; }
.half-price small { font-family: var(--body); font-size: 14px; color: var(--muted); font-weight: 400; }
.half-link { color: var(--text-2); }
.hero-visual { position: relative; flex: none; height: clamp(170px, 30vh, 380px); }
.hero-fallback { position: absolute; left: 50%; top: 50%; height: 88%; width: auto; max-width: 88%; transform: translate(-50%, -50%); object-fit: contain; opacity: .95; transition: opacity .8s var(--ease); }
.has-3d .hero-fallback { opacity: 0; }
/* Rechte Hälfte: die drei neusten Projekte */
.half-visual { flex: none; height: clamp(170px, 30vh, 380px); display: flex; align-items: center; text-decoration: none; }
.hv-thumbs { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: auto auto; gap: 12px; width: 100%; }
.hv-thumbs i, .hv-thumbs span { position: relative; display: block; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; border: 1px solid var(--line-2); background: var(--surface-2) center / cover; transition: border-color .25s, transform .5s var(--ease); }
.hv-thumbs > :first-child { grid-row: span 2; aspect-ratio: auto; }
.hv-thumbs span b { position: absolute; left: 10px; bottom: 8px; font-family: var(--mono); font-size: 11px; font-weight: 400; letter-spacing: .06em; text-transform: uppercase; color: #fff; text-shadow: 0 1px 6px #000c; }
.half-visual:hover .hv-thumbs > * { border-color: #8ef3e680; }
.half-visual:hover .hv-thumbs > :first-child { transform: scale(1.015); }
.facts {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin-top: 36px; max-width: 640px;
  background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden;
}
.fact { background: #0a0e16f0; padding: 16px 18px; }
.fact .mono { font-size: 11px; }
.fact strong { display: block; font-weight: 500; margin-top: 4px; font-size: 16px; }
.hero-visual { position: relative; aspect-ratio: 1; }
.hero-fallback { position: absolute; inset: 12%; width: 76%; height: 76%; object-fit: contain; opacity: .95; transition: opacity .8s var(--ease); }
.has-3d .hero-fallback { opacity: 0; }
.hero-hint { position: absolute; left: 0; bottom: 0; font-size: 11px; color: var(--faint); }

.ticker { border-block: 1px solid var(--line); background: #070a11d9; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); margin-top: 72px; }
.ticker-row { display: grid; grid-template-columns: auto auto auto 1fr; gap: 14px 48px; align-items: baseline; padding-block: 22px; }
@media (max-width: 1100px) { .ticker-row { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ticker-item span { min-width: 0; }
.ticker-item { display: flex; align-items: baseline; gap: 10px; }
.ticker-item b { font-family: var(--display); font-size: 30px; font-weight: 500; }
.ticker-item span { font-size: 14px; color: var(--muted); }

/* ---------- K.01 Problem: Gründe als Zeilen, rechts der Platz für die Splitter ---------- */
.problem-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: clamp(32px, 5vw, 80px); }
.problem-grid .h-statement { grid-column: 1; max-width: 17ch; font-size: clamp(40px, 5.4vw, 88px); }
/* der Platz der Splitter bleibt neben dem Text stehen, solange man durch die Gründe scrollt */
.shard-stage { grid-column: 2; grid-row: 1 / span 2; position: sticky; top: 14vh; height: 72vh; align-self: start; }
.reasons { grid-column: 1; list-style: none; padding: 0; margin: clamp(48px, 6vw, 88px) 0 0; }
.reasons li { display: grid; grid-template-columns: minmax(0, 13rem) minmax(0, 1fr); gap: 8px 32px; align-items: baseline; padding-block: 26px; border-top: 1px solid var(--line); }
.reasons li:last-child { border-bottom: 1px solid var(--line); }
.reasons h3 { margin: 0; font-family: var(--display); font-weight: 500; font-stretch: 80%; font-size: clamp(34px, 3.4vw, 54px); line-height: 1; letter-spacing: -.025em; }
.reasons p { margin: 0; color: var(--text-2); font-size: clamp(17px, 1.3vw, 19px); line-height: 1.5; max-width: 44ch; }

/* ---------- K.02 Resultate ---------- */
.results-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.results-note { max-width: 400px; color: var(--muted); font-size: 15px; margin: 28px 0 0; }
/* Fenster für den Reel-Feed der 3D-Szene. Die Karten bleiben in diesem Bereich. */
.feed-stage { height: min(72vh, 680px); }

.case { position: relative; margin-top: clamp(80px, 10vw, 140px); }
.case-meta { margin: 0; font-size: 14px; color: var(--muted); }
.case-body h3.h-m { margin-top: 14px; max-width: 20ch; }
.case-text { color: var(--text-2); margin: 20px 0 0; max-width: 58ch; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 32px; }
.stat { padding-right: 18px; }
.stat + .stat { border-left: 1px solid var(--line); padding-left: 20px; }
.stat b { display: block; font-family: var(--display); font-weight: 500; font-stretch: 82%; font-size: clamp(32px, 3vw, 46px); line-height: 1; white-space: nowrap; letter-spacing: -.02em; }
.stat:first-child b { color: var(--ice); }
.stat span { display: block; font-size: 14px; color: var(--muted); margin-top: 8px; }
.quote { margin: 40px 0 0; padding-top: 30px; border-top: 1px solid var(--line); display: flex; gap: 20px; align-items: flex-start; }
.quote img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex: 0 0 72px; border: 1px solid var(--line-2); background: var(--surface-2); }
.quote blockquote { margin: 0; font-size: clamp(18px, 1.5vw, 20px); line-height: 1.5; }
.quote figcaption { margin-top: 12px; font-size: 14px; color: var(--muted); }

.reels { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.reel { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.reel-media { position: relative; aspect-ratio: 9 / 16; border-radius: 14px; overflow: hidden; background: var(--surface-2); border: 1px solid var(--line-2); }
.reel-media video { width: 100%; height: 100%; object-fit: cover; }
.reel-sound { position: absolute; right: 8px; bottom: 8px; width: 44px; height: 44px; border-radius: 50%; background: #05070ccc; border: 1px solid var(--line-2); display: grid; place-items: center; cursor: pointer; }
.reel-sound svg { width: 18px; height: 18px; }
.reel figcaption h4 { margin: 0; font-size: 17px; line-height: 1.3; font-weight: 500; }
.reel figcaption p { margin: 8px 0 0; color: var(--muted); font-size: 14.5px; }

/* Fall 1: offen auf dem Hintergrund, Reels links und versetzt */
.case-a { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 88px); align-items: start; }
.reels-offset .reel:nth-child(2) { margin-top: 72px; }
.case-a .case-body { padding-top: 24px; }

/* Fall 2: Band über die ganze Breite, die Zahl ist die Überschrift, Reels überlappen */
.case-b { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 88px); align-items: center; padding-block: clamp(56px, 7vw, 104px); isolation: isolate; }
.case-b::before { content: ""; position: absolute; inset: 0 calc(50% - 50vw); z-index: -1; background: linear-gradient(180deg, #0b111cf5, #070a11f5); border-block: 1px solid var(--line); }
.case-headline { margin: 18px 0 0; font-family: var(--display); font-weight: 500; font-size: clamp(26px, 2.4vw, 38px); line-height: 1.1; letter-spacing: -.015em; max-width: 18ch; }
.case-headline b { display: block; margin-bottom: 10px; font-weight: 500; font-stretch: 75%; font-size: clamp(76px, 10.5vw, 164px); line-height: .88; letter-spacing: -.045em; color: var(--ice); white-space: nowrap; }
.stats-two { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 520px; }
.stats-two .stat:first-child b { color: var(--text); }
.quote-big { display: block; border-top: 0; padding-top: 0; margin-top: 48px; }
.quote-big blockquote { font-family: var(--display); font-size: clamp(22px, 2vw, 30px); line-height: 1.28; letter-spacing: -.01em; max-width: 30ch; }
.quote-big figcaption { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.quote-big img { width: 48px; height: 48px; flex-basis: 48px; }
.reels-overlap { position: relative; display: block; padding-bottom: 14%; }
.reels-overlap .reel:first-child { width: 72%; margin-left: auto; }
.reels-overlap .reel:first-child figcaption { padding-left: 30%; }
.reels-overlap .reel:nth-child(2) { position: absolute; left: 0; bottom: 0; width: 46%; z-index: 2; }
.reels-overlap .reel:nth-child(2) .reel-media { box-shadow: 0 28px 60px #000d, 0 4px 14px #0009; }
.reels-overlap .reel:nth-child(2) figcaption p { display: none; }

/* Laufende Projekte: eine Liste, keine Karten */
.projects { margin-top: clamp(96px, 12vw, 160px); }
.projects-head { max-width: 640px; }
.projects-note { color: var(--muted); margin: 14px 0 0; font-size: 15px; max-width: 480px; }
.projects-more { margin: 16px 0 0; }
.projects-more a { color: var(--text); text-underline-offset: .25em; }
.prod-list { list-style: none; padding: 0; margin: 40px 0 0; border-top: 1px solid var(--line-2); }
.prod { display: grid; grid-template-columns: 11rem minmax(0, 1fr) minmax(0, 20rem); gap: 16px 40px; align-items: start; padding-block: 32px; border-bottom: 1px solid var(--line); }
.prod h4 { margin: 0; font-family: var(--display); font-weight: 500; font-stretch: 85%; font-size: clamp(28px, 2.6vw, 42px); line-height: 1; letter-spacing: -.02em; }
.prod-meta { margin: 8px 0 0; font-size: 14px; color: var(--muted); }
.prod-meta a { color: var(--text-2); }
.prod-text { margin: 14px 0 0; color: var(--text-2); font-size: 16px; max-width: 52ch; }
.prod-reels { gap: 12px; }
.prod .reel figcaption h4 { font-family: var(--body); font-stretch: 100%; font-size: 14px; line-height: 1.35; letter-spacing: 0; }
.prod-soon { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
/* drei Reels nebeneinander */
.prod-three { grid-template-columns: 11rem minmax(0, 1fr) minmax(0, 28rem); }
.prod-three .prod-reels { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.prod-more { grid-template-columns: 11rem minmax(0, 1fr); align-items: center; }
.prod-more .prod-text { margin: 0; color: var(--muted); }
.status { display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; margin: 6px 0 0; font-size: 14px; color: var(--muted); }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status.is-live { color: var(--ice); }

/* ---------- K.03 Ablauf: Kopf links, Schleife rechts, Stufen darunter ---------- */
.flow-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.flow-head .lead { margin: 28px 0 0; max-width: 520px; }
.loop-stage { height: clamp(260px, 38vh, 420px); }
.flow-steps { list-style: none; padding: 0; margin: clamp(64px, 7vw, 96px) 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 32px; }
.flow-step { position: relative; }
.flow-step::before { content: ""; position: absolute; left: 72px; right: -32px; top: 28px; border-top: 2px dashed var(--line-2); }
.flow-step:last-child::before { right: 24px; }
.flow-fill { position: absolute; left: 72px; right: -32px; top: 27px; height: 4px; border-radius: 2px; background: linear-gradient(90deg, #2d5bff, var(--ice)); transform-origin: 0 50%; transform: scaleX(0); pointer-events: none; }
.flow-step:last-child .flow-fill { display: none; }
html:not(.motion-ready) .flow-fill, .reveal-all .flow-fill { display: none; }
.flow-num { position: relative; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; font-family: var(--display); font-size: 22px; font-weight: 600; }
.flow-step:nth-child(1) .flow-num { background: var(--surface-2); color: var(--text); border: 1px solid var(--line-2); }
.flow-step:nth-child(2) .flow-num { background: #2d5bff; color: #fff; }
.flow-step:nth-child(3) .flow-num { background: var(--ice); color: var(--night); }
.flow-step:nth-child(4) .flow-num { background: #9fd8ff; color: var(--night); }
.flow-step h3 { margin: 28px 0 0; font-family: var(--display); font-weight: 500; font-stretch: 88%; font-size: clamp(26px, 2.2vw, 32px); line-height: 1.1; letter-spacing: -.015em; }
.flow-step p { margin: 14px 0 0; color: var(--muted); font-size: 15.5px; line-height: 1.6; max-width: 300px; }
/* Treppe: jeder Schritt beginnt tiefer, weil er auf dem vorherigen aufbaut */
@media (min-width: 1101px) {
  .flow-step:nth-child(2) { margin-top: 56px; }
  .flow-step:nth-child(3) { margin-top: 112px; }
  .flow-step:nth-child(4) { margin-top: 168px; }
}

/* ---------- K.04 Abos: eine durchgehende Tarifleiste ---------- */
.abos-title { max-width: 19ch; }
.abo-stage { height: 46vh; min-height: 300px; }
.plans { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 1fr); margin-top: 8px; border-block: 1px solid var(--line-2); background: #070a10d9; }
.plan { position: relative; display: flex; flex-direction: column; padding: 40px clamp(20px, 2.4vw, 36px) 32px; transition: background .3s; }
.plan + .plan { border-left: 1px solid var(--line); }
.plan::before { content: ""; position: absolute; inset: -1px 0 auto; height: 3px; background: var(--ice); transform: scaleX(0); transform-origin: 0 50%; transition: transform .5s var(--ease); }
.plan.is-selected { background: linear-gradient(180deg, #0f1828, #0a0f19); }
.plan.is-selected::before { transform: scaleX(1); }
.plan-top { position: absolute; top: 40px; right: clamp(20px, 2.4vw, 36px); margin: 0; }
.badge { font-size: 13px; font-weight: 500; background: var(--ice); color: var(--night); padding: 4px 12px; border-radius: 999px; }
.plan h3 { margin: 0; font-family: var(--display); font-weight: 500; font-size: 30px; line-height: 1; letter-spacing: -.01em; }
.plan-for { color: var(--muted); font-size: 15px; margin: 12px 0 0; min-height: 4.5em; max-width: 34ch; }
.price { display: flex; align-items: baseline; gap: 8px; margin-top: 26px; flex-wrap: wrap; }
.price small { font-size: 14px; color: var(--muted); }
.price b { font-family: var(--display); font-weight: 500; font-stretch: 78%; font-size: clamp(52px, 5vw, 72px); line-height: .9; letter-spacing: -.035em; }
.tiles { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 22px; min-height: 28px; }
.tiles i { width: 16px; height: 28px; border-radius: 4px; background: var(--ice); opacity: .9; }
.plan-count { margin: 10px 0 0; font-size: 13px; color: var(--muted); }
.checks { margin: 24px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; font-size: 15px; }
.checks li { position: relative; padding-left: 22px; }
.checks li::before { content: ""; position: absolute; left: 0; top: .72em; width: 10px; height: 2px; background: var(--ice); }
.plan-actions { margin-top: auto; padding-top: 32px; display: grid; gap: 10px; }
.plan-actions .btn { width: 100%; }
.terms { margin: 20px 0 0; color: var(--muted); font-size: 14px; }

/* Vergleich als Rechnung */
.calc { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 88px); margin-top: clamp(96px, 11vw, 150px); padding-top: 48px; border-top: 1px solid var(--line); align-items: start; }
.calc-intro .h-m { max-width: 14ch; }
.range { margin-top: 32px; max-width: 380px; }
.range label { display: flex; justify-content: space-between; font-size: 15px; }
.range input { width: 100%; margin-top: 12px; accent-color: var(--ice); height: 28px; }
.calc-note { margin: 22px 0 0; font-size: 12.5px; color: var(--faint); max-width: 44ch; }
.calc-note a { color: var(--muted); }
.calc-ledger { font-variant-numeric: tabular-nums; }
.calc-row { display: flex; justify-content: space-between; gap: 16px; padding-block: 14px; border-bottom: 1px dashed var(--line-2); font-size: 16px; }
.calc-row span:first-child { color: var(--muted); }
.calc-row.total { border-bottom: 1px solid var(--line-2); font-weight: 500; }
.calc-row.total span:first-child { color: var(--text); }
.calc-result { margin: 28px 0 0; font-family: var(--display); font-size: clamp(22px, 2vw, 30px); line-height: 1.28; letter-spacing: -.01em; max-width: 34ch; }

/* ---------- K.05 Team: grosses Portrait, Name läuft über den Bildrand ---------- */
.team-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 5.5fr) minmax(0, 2.5fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.portrait { margin: 0; aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; background: var(--surface-2); }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.team-body { position: relative; z-index: 2; }
.h-name { margin: 0 0 0 calc(-1 * clamp(40px, 7vw, 120px)); font-family: var(--display); font-weight: 500; font-stretch: 75%; font-size: clamp(64px, 9vw, 152px); line-height: .86; letter-spacing: -.045em; text-shadow: 0 2px 28px #05070c99; }
.team-role { margin: 22px 0 0; font-size: 14px; color: var(--ice); }
.team-quote { margin: 14px 0 0; font-family: var(--display); font-size: clamp(22px, 1.9vw, 28px); line-height: 1.28; letter-spacing: -.01em; max-width: 28ch; }
.team-text { margin: 18px 0 0; color: var(--muted); font-size: 16px; max-width: 52ch; }
.clients { margin: 28px 0 0; padding-top: 20px; border-top: 1px solid var(--line); color: var(--faint); font-size: 14.5px; line-height: 1.7; max-width: 56ch; }
.clients span { display: block; color: var(--text-2); }
.team-shards { align-self: stretch; min-height: 420px; }

/* ---------- K.06 FAQ: Überschrift bleibt stehen ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.faq-side { position: sticky; top: 120px; }
.faq-shards { height: 36vh; margin-top: 32px; }
.faq { border-top: 1px solid var(--line-2); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 24px 0; font-size: 20px; min-height: 44px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .sign { font-family: var(--mono); color: var(--ice); transition: transform .3s var(--ease); flex: 0 0 auto; }
.faq-item[open] summary .sign { transform: rotate(45deg); }
.faq-item p { margin: 0 0 24px; color: var(--muted); max-width: 640px; }

/* ---------- K.07 Gespräch ---------- */
.call-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; }
.call-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 40px; }
.btn-lg { min-height: 58px; padding: 0 30px; font-size: 18px; }
.call-link { color: var(--text-2); font-size: 16px; text-underline-offset: .25em; padding-block: 12px; }
.call-link:hover { color: var(--text); }
.call-visual { width: 80%; aspect-ratio: 1.15; margin: 0 auto; }
@media (max-width: 1100px) { .call-visual { width: 46%; margin: 0 auto -10px 0; } }

/* JS-Zustände: Inhalte erst zeigen, wenn die Animation bereit ist. Ohne JS bleibt alles sichtbar. */
.js [data-reveal], .js .plan, .js [data-split] { visibility: hidden; }
.reveal-all [data-reveal], .reveal-all .plan, .reveal-all [data-split] { visibility: visible !important; opacity: 1 !important; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--night); }
.footer-row { display: flex; flex-wrap: wrap; gap: 24px 48px; justify-content: space-between; padding-block: 48px 140px; color: var(--muted); font-size: 14px; }
.footer-row nav { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.footer-row a { color: var(--muted); text-decoration: none; }
.footer-row a:hover { color: var(--text); }

/* ---------- Abo-Dock ---------- */
.dock {
  position: fixed; left: 50%; bottom: 18px; z-index: 60;
  transform: translate(-50%, 140%); transition: transform .6s var(--ease);
  display: flex; align-items: center; gap: 16px;
  background: #0f1520f2; border: 1px solid var(--line-2); border-radius: 999px;
  padding: 8px 8px 8px 22px; box-shadow: 0 20px 60px #000a;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  max-width: calc(100vw - 24px);
}
.dock.is-visible { transform: translate(-50%, 0); }
.dock-name { white-space: nowrap; }
.dock-price { color: var(--ice); white-space: nowrap; }
.dock .mono { font-size: 11px; }

/* ---------- Kapitel-Index ---------- */
.index {
  position: fixed; right: 22px; top: 50%; transform: translateY(-50%); z-index: 40;
  list-style: none; margin: 0; padding: 0; display: grid; gap: 4px;
}
.index a {
  display: flex; align-items: center; justify-content: flex-end; gap: 10px; min-height: 28px;
  text-decoration: none; color: var(--faint); font-family: var(--mono); font-size: 11px; letter-spacing: .08em;
}
.index a span { opacity: 0; transform: translateX(6px); transition: opacity .25s, transform .25s var(--ease); }
.index a i { width: 18px; height: 1px; background: currentColor; transition: width .3s var(--ease), background .3s; }
.index a:hover span, .index a[aria-current="true"] span { opacity: 1; transform: none; }
.index a[aria-current="true"] { color: var(--ice); }
.index a[aria-current="true"] i { width: 34px; }

/* ---------- Unterseiten ---------- */
.legal { padding-top: 140px; padding-bottom: 120px; max-width: 760px; }
.legal h1 { font-family: var(--display); font-weight: 500; font-size: clamp(40px, 6vw, 72px); line-height: 1; margin: 18px 0 40px; }
.legal h2 { font-size: 21px; margin: 40px 0 8px; }
.legal p, .legal li { color: var(--text-2); }

/* ---------- Einzelprojekte (Teaser für /projekte) ---------- */
.solo-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px 48px; }
.solo .h-l { max-width: 16ch; }
.solo-lead { color: var(--text-2); max-width: 520px; margin: 18px 0 0; }
.solo-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.solo-ask { color: var(--text-2); }
.solo-sample { display: inline-flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 0; padding: 8px 14px; border: 1px dashed #ffcf8a80; border-radius: 12px; color: var(--text-2); font-size: 14px; }
.solo-sample b { color: #ffcf8a; font-weight: 500; }
.solo-grid { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.solo-grid li { display: flex; min-width: 0; }
.solo-grid li:first-child { grid-row: span 2; }
.solo-grid li:nth-child(4) { grid-column: 2 / span 2; }
.solo-card { position: relative; flex: 1; display: flex; flex-direction: column; text-decoration: none; color: var(--text); border-radius: 12px; overflow: hidden; }
.solo-card .solo-media { position: relative; flex: 1; aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid var(--line-2); border-radius: 12px; background: var(--surface-2); transition: border-color .2s; }
.solo-grid li:first-child .solo-media { aspect-ratio: auto; }
.solo-grid li:nth-child(4) .solo-media { aspect-ratio: 32 / 9; }
.solo-card .solo-media::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(to top, #05070ce6, transparent); pointer-events: none; }
.solo-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.solo-card:hover .solo-media, .solo-card:focus-visible .solo-media { border-color: var(--c); }
.solo-card:hover img { transform: scale(1.04); }
.solo-card b { position: absolute; left: 18px; right: 18px; bottom: 38px; z-index: 1; font-weight: 500; font-size: 17px; line-height: 1.25; }
.solo-grid li:first-child .solo-card b { font-family: var(--display); font-stretch: 85%; font-size: clamp(24px, 2.4vw, 36px); line-height: 1.05; bottom: 44px; }
.solo-card small { position: absolute; left: 18px; bottom: 16px; z-index: 1; font-size: 13px; color: var(--text-2); display: flex; align-items: center; gap: 8px; }
@media (max-width: 1100px) { .solo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .solo-grid li:first-child { grid-row: auto; grid-column: span 2; } .solo-grid li:first-child .solo-media { aspect-ratio: 16 / 9; } .solo-grid li:nth-child(4) { grid-column: span 2; } }
@media (max-width: 560px) { .solo-grid { grid-template-columns: minmax(0, 1fr); } .solo-grid li:first-child, .solo-grid li:nth-child(4) { grid-column: auto; } .solo-grid li:nth-child(n+3) { display: none; } }

/* ---------- Responsiv ---------- */
@media (max-width: 1100px) {
  .faq-grid, .call-grid, .results-intro, .problem-grid, .case-a, .case-b, .flow-head, .calc { grid-template-columns: minmax(0, 1fr); }
  .shard-stage { grid-column: 1; grid-row: auto; position: static; height: clamp(240px, 38vh, 360px); margin-top: 16px; }
  .reasons { margin-top: 8px; }
  .case-a .case-body { order: -1; padding-top: 0; }
  .prod, .prod-three { grid-template-columns: minmax(0, 1fr) minmax(0, 18rem); }
  .prod-three { grid-template-columns: minmax(0, 1fr); }
  .prod .status { grid-column: 1 / -1; }
  .prod-more { grid-template-columns: minmax(0, 1fr); }
  .loop-stage { height: 30vh; }
  .plans { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
  .plan + .plan { border-left: 0; border-top: 1px solid var(--line); }
  .team-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); }
  .team-shards { display: none; }
  .faq-side { position: static; }
  .faq-shards { height: 24vh; }
  .feed-stage { height: 56vh; }
  .flow-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .flow-step:nth-child(2)::before, .flow-step:nth-child(2) .flow-fill { right: 24px; }
  .index { display: none; }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-links.is-open {
    display: flex; flex-direction: column; position: fixed; inset: 72px 0 auto; gap: 0;
    background: #05070cf5; border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 24px;
  }
  .nav-links.is-open a { display: flex; align-items: center; min-height: 56px; font-size: 20px; border-bottom: 1px solid var(--line); }
  .menu-btn {
    display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
    background: var(--surface); border: 1px solid var(--line-2); cursor: pointer; margin-left: auto;
  }
  .nav .btn-call { display: none; }
  .split { grid-template-columns: minmax(0, 1fr); }
  .half { gap: 12px; padding-block: 12px 20px; }
  .half-abo, .half-video { padding-inline: var(--gutter); }
  .half-video { border-left: 0; border-top: 1px solid var(--line); }
  .hero-visual { height: 14vh; max-height: 120px; }
  .half-visual { height: auto; }
  .half-price { font-size: 18px; }
  .hero-ctas { gap: 10px 14px; margin-top: 2px; }
  .hero-ctas .btn { min-height: 48px; padding: 0 20px; }
  .hero h1, .hero .half h2 { font-size: clamp(30px, 8.4vw, 40px); }
  .half .lead { display: none; }
  .hv-thumbs { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .hv-thumbs > :first-child { grid-row: auto; aspect-ratio: 16 / 9; }
  .hv-thumbs span b { display: none; }
  .half-copy { gap: 12px; }
  .half-meta { display: none; }
  .half-head { padding-top: 10px; }
  .half-name { font-size: 15px; }
  .facts { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .facts .fact:last-child { grid-column: span 2; }
  .flow-steps { grid-template-columns: minmax(0, 1fr); }
  .reasons li { grid-template-columns: minmax(0, 1fr); gap: 6px; padding-block: 20px; }
  .prod, .prod-three { grid-template-columns: minmax(0, 1fr); }
  .prod-three .prod-reels { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .team-grid { grid-template-columns: minmax(0, 1fr); }
  .portrait { width: 78%; }
  .h-name { margin: -.55em 0 0; }
  .stat + .stat { padding-left: 12px; }
  .reels-offset .reel:nth-child(2) { margin-top: 40px; }
  .flow-steps { margin-top: 48px; gap: 36px; }
  .flow-step { padding-left: 76px; }
  .flow-num { position: absolute; left: 0; top: 0; }
  .flow-step::before { left: 28px; right: auto; top: 64px; bottom: -36px; border-top: 0; border-left: 2px dashed var(--line-2); }
  .flow-step:last-child::before { display: none; }
  .flow-fill { left: 27px; right: auto; top: 64px; bottom: -36px; width: 4px; height: auto; background: linear-gradient(180deg, #2d5bff, var(--ice)); transform-origin: 50% 0; transform: scaleY(0); }
  .flow-step h3 { margin-top: 12px; }
  .flow-head { text-align: left; }
  .flow-head .lead { margin-left: 0; }
  .reels { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .reel figcaption p:last-child { display: none; }
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .abo-stage { height: 34vh; min-height: 220px; }
  .dock { gap: 10px; padding-left: 16px; bottom: 12px; }
  .dock .mono { display: none; }
}
@media (max-width: 420px) {
  .stats { grid-template-columns: minmax(0, 1fr); }
  .stat + .stat { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 12px; margin-top: 12px; }
  .ticker-item b { font-size: 26px; }
  .ticker-item { flex-direction: column; gap: 2px; }
  .ticker-row { gap: 18px 24px; }
}

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