/* ==========================================================================
   Atlas Consulting Group – Stylesheet (Version 2)
   Seriöser Konzern-Auftritt: dunkle Bühnen, helle Inhaltsflächen,
   Inter Display für Überschriften, Rot als Akzent. Alle Schriften lokal.
   ========================================================================== */

/* ---------- Schriften ---------------------------------------------------- */
@font-face { font-family: "Inter"; src: url("../fonts/inter-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("../fonts/inter-display-300.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("../fonts/inter-display-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

/* ---------- Gestaltungsgrößen -------------------------------------------- */
:root {
  --ink: #0A0A0B;
  --ink-2: #111113;
  --ink-3: #18181B;
  --ink-line: #27272B;
  --paper: #FFFFFF;
  --paper-2: #F5F5F6;
  --paper-line: #E4E4E7;
  --on-dark: #F4F4F5;
  --on-dark-muted: #A1A1AA;
  --on-light: #0A0A0B;
  --on-light-muted: #52525B;
  --red: #D32030;
  --red-hi: #E01F38;
  --red-deep: #A9192A;
  --red-on-dark: #F0485A;
  --gold: #E3B25A;
  --focus-ring: #8B6914;

  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: "Inter Display", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --fs-body: 1.0625rem;
  --fs-lead: clamp(1.125rem, 1.03rem + .4vw, 1.3125rem);
  --fs-h3: clamp(1.3125rem, 1.2rem + .45vw, 1.5rem);
  --fs-h2: clamp(2rem, 1.4rem + 2.3vw, 3.25rem);
  --fs-page: clamp(2.375rem, 1.35rem + 3.9vw, 4.5rem);
  --fs-display: clamp(2.5rem, 1.25rem + 4.9vw, 5.25rem);

  --radius: 18px;
  --radius-sm: 12px;
  --container: 1240px;
  --gutter: clamp(20px, 5vw, 48px);
  --header-h: 76px;
  --section: clamp(84px, 10vw, 144px);
  --ease: cubic-bezier(.22, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}
@media (max-width: 899px) { :root { --header-h: 66px; } }

/* ---------- Grundlagen ---------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--on-light);
  font: 400 var(--fs-body)/1.65 var(--sans);
  font-feature-settings: "kern", "liga", "calt";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
body.nav-open { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
strong { font-weight: 600; }
address { font-style: normal; }
:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 3px;
  border-radius: 4px;
  box-shadow: 0 0 0 5px var(--ink), 0 0 0 7px #F4F4F5;
}
::selection { background: rgba(224, 31, 56, .25); }
.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; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 100; padding: .75rem 1.1rem; border-radius: 999px; background: var(--paper); color: var(--ink); font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; }
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }

/* Seitenübergang zwischen den Unterseiten (moderne Browser) */
@view-transition { navigation: auto; }
@media (prefers-reduced-motion: no-preference) {
  ::view-transition-old(root) { animation: vt-out .25s ease both; }
  ::view-transition-new(root) { animation: vt-in .4s var(--ease-out) both; }
}
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(8px); } }

/* ---------- Flächen ------------------------------------------------------- */
.dark { background: var(--ink); color: var(--on-dark); }
.light { background: var(--paper); color: var(--on-light); }
.light-2 { background: var(--paper-2); color: var(--on-light); }

/* ---------- Typografie ---------------------------------------------------- */
h1, h2, h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -.028em;
  text-wrap: balance;
}
h1 { font-size: var(--fs-page); line-height: 1.04; }
h2 { font-size: var(--fs-h2); line-height: 1.08; }
h3 { font-size: var(--fs-h3); line-height: 1.22; letter-spacing: -.016em; }
.display { font-size: var(--fs-display); line-height: 1.02; letter-spacing: -.035em; font-weight: 600; }
p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
.lead { font-size: var(--fs-lead); line-height: 1.55; max-width: 38em; }
.light .lead, .light-2 .lead { color: var(--on-light-muted); }
.dark .lead { color: var(--on-dark-muted); }
.muted { color: var(--on-light-muted); }
.dark .muted { color: var(--on-dark-muted); }

.label {
  display: inline-flex; align-items: center; gap: .65rem;
  margin: 0 0 1.25rem;
  font: 600 .875rem/1.2 var(--sans);
  letter-spacing: .02em;
  color: var(--red);
}
.label::before { content: ""; width: 24px; height: 2px; border-radius: 2px; background: currentColor; }
.dark .label { color: var(--red-on-dark); }

/* ---------- Buttons & Links ------------------------------------------------ */
.btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 52px;
  padding: .85rem 1.6rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font: 600 .9688rem/1.2 var(--sans);
  text-align: center; text-wrap: balance; text-decoration: none;
  cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease), box-shadow .25s var(--ease);
}
.btn--primary {
  color: #fff;
  background: linear-gradient(120deg, var(--red-hi) 0%, var(--red-deep) 100%);
  box-shadow: 0 10px 30px -12px rgba(224, 31, 56, .55), inset 0 1px 0 rgba(255, 255, 255, .18);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -12px rgba(224, 31, 56, .65), inset 0 1px 0 rgba(255, 255, 255, .18); }
.btn--ghost { color: inherit; border-color: rgba(10, 10, 11, .18); background: transparent; }
.btn--ghost:hover { border-color: rgba(10, 10, 11, .4); transform: translateY(-2px); }
.dark .btn--ghost { border-color: rgba(244, 244, 245, .22); }
.dark .btn--ghost:hover { border-color: rgba(244, 244, 245, .5); background: rgba(244, 244, 245, .04); }
.btn--sm { min-height: 44px; padding: .6rem 1.15rem; font-size: .9063rem; }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.link {
  display: inline-flex; align-items: center; gap: .5rem;
  font: 600 .9688rem/1.2 var(--sans);
  text-decoration: none;
  color: inherit;
  background: linear-gradient(currentColor, currentColor) left bottom / 0 1px no-repeat;
  padding-bottom: 3px;
  transition: background-size .35s var(--ease);
}
.link:hover { background-size: 100% 1px; }
.link__arrow { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.link:hover .link__arrow { transform: translateX(4px); }

/* ---------- Kopfbereich ---------------------------------------------------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; color: var(--on-dark); }
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(10, 10, 11, .97);   /* deckender, weil der frühere Blur fehlt; ohne backdrop-filter */
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  opacity: 0; transition: opacity .35s var(--ease);
}
.site-header.is-scrolled::before { opacity: 1; }
.nav-open .site-header::before { opacity: 1; background: var(--ink); }
.site-header .bar { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: var(--header-h); transition: height .35s var(--ease); }
.site-header.is-scrolled .bar { height: calc(var(--header-h) - 8px); }
.brand { display: inline-flex; align-items: center; gap: .8rem; text-decoration: none; flex-shrink: 0; color: inherit; }
.brand__signet { width: 36px; height: auto; aspect-ratio: 114.049 / 100; }
.brand__name { font: 600 .8125rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 2.2rem; }
.nav__link { position: relative; padding: .55rem 0; font: 500 .9375rem/1 var(--sans); color: var(--on-dark-muted); text-decoration: none; transition: color .2s var(--ease); }
.nav__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1.5px; background: var(--red-hi); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--on-dark); }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav .btn { margin-left: .4rem; }
.nav__phone { display: none; }
.nav-toggle { display: none; }

@media (max-width: 899px) {
  .brand__signet { width: 30px; }
  .brand__name { font-size: .7188rem; letter-spacing: .17em; }
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; padding: 0;
    border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px;
    background: transparent; color: var(--on-dark); cursor: pointer;
  }
  .nav-toggle__bars, .nav-toggle__bars::before { display: block; width: 16px; height: 1.5px; background: currentColor; border-radius: 2px; transition: transform .25s var(--ease); }
  .nav-toggle__bars { position: relative; transform: translateY(-3px); }
  .nav-toggle__bars::before { content: ""; position: absolute; left: 0; top: 6px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars { transform: translateY(0) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(-6px) rotate(-90deg); }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 1.25rem var(--gutter) calc(2rem + env(safe-area-inset-bottom));
    background: var(--ink); overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s linear .25s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .25s var(--ease), transform .25s var(--ease); }
  .nav__link { padding: 1.05rem 0; border-bottom: 1px solid var(--ink-line); font: 600 1.75rem/1.15 var(--display); letter-spacing: -.02em; color: var(--on-dark); }
  .nav__link::after { display: none; }
  .nav__link[aria-current="page"] { color: var(--red-on-dark); }
  .nav .btn { margin: 2rem 0 0; min-height: 54px; font-size: 1rem; }
  .nav__phone { display: block; margin-top: 1.25rem; text-align: center; color: var(--on-dark-muted); font-size: .9375rem; text-decoration: none; }
}

/* ---------- Bühne (dunkle Hintergründe mit Licht und Linien) --------------- */
.stage { position: relative; isolation: isolate; overflow: hidden; }
.stage__glow, .stage__lines, .stage__grain { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.stage__glow::before, .stage__glow::after {
  content: ""; position: absolute; border-radius: 50%;
}
.stage__glow::before {
  width: 72vmax; height: 72vmax; right: -22vmax; top: -30vmax;
  background: radial-gradient(closest-side, rgba(169, 25, 42, .46), rgba(169, 25, 42, .13) 55%, transparent 72%);
}
.stage__glow::after { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .stage__glow::before { animation: drift-a 22s ease-in-out infinite alternate; }
}
@keyframes drift-a { to { transform: translate(-7vmax, 6vmax) scale(1.08); } }
.stage__lines {
  background-image: linear-gradient(to right, rgba(255, 255, 255, .055) 1px, transparent 1px);
  background-size: calc((min(100vw - 2 * var(--gutter), var(--container))) / 6) 100%;
  background-position: center top;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 70%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 70%, transparent);
}
@media (prefers-reduced-motion: no-preference) {
  .stage__lines { animation: lines-in 1.8s var(--ease-out) .1s both; }
}
@keyframes lines-in { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
.stage__grain {
  opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%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 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Startseite: Hero ------------------------------------------------ */
.hero { min-height: min(100svh, 1040px); display: flex; flex-direction: column; padding-top: var(--header-h); }
.hero__main {
  flex: 1;
  display: grid; align-items: center; gap: clamp(40px, 6vw, 72px);
  padding-block: clamp(48px, 8vh, 96px) clamp(40px, 6vh, 72px);
}
@media (min-width: 1040px) { .hero__main { grid-template-columns: 1.15fr .85fr; gap: 72px; } }
.hero { --colw: min(100vw - 2 * var(--gutter), var(--container)); }
@media (min-width: 1040px) { .hero { --colw: calc((min(100vw - 2 * var(--gutter), var(--container)) - 72px) * .575); } }
.hero h1.display { font-size: min(4.5rem, calc(var(--colw) / 9.6)); }
.hero .lead { margin-top: 1.75rem; max-width: 32em; }
.hero .actions { margin-top: 2.5rem; }
.hero__note { margin-top: 1.6rem; font-size: .875rem; color: var(--on-dark-muted); }

/* Wörter fahren beim Laden einzeln ein */
.reveal-words .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.reveal-words .w > span { display: inline-block; }
@media (prefers-reduced-motion: no-preference) {
  .js .reveal-words .w > span { transform: translateY(105%); animation: word-up .9s var(--ease-out) both; animation-delay: calc(.15s + var(--i) * 60ms); }
  .js .hero-in { opacity: 0; transform: translateY(14px); animation: fade-up .9s var(--ease-out) both; animation-delay: var(--d, .6s); }
}
@keyframes word-up { to { transform: translateY(0); } }
@keyframes fade-up { to { opacity: 1; transform: none; } }

/* Faktenleiste unten im Hero */
.facts-bar { border-top: 1px solid rgba(255, 255, 255, .1); }
.facts-bar ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; }
@media (min-width: 900px) { .facts-bar ul { grid-template-columns: repeat(4, 1fr); } }
.facts-bar li { padding: 1.6rem 1.5rem 1.7rem 0; }
.facts-bar li + li { padding-left: 1.5rem; border-left: 1px solid rgba(255, 255, 255, .1); }
@media (max-width: 899px) {
  .facts-bar li { padding: 1.25rem 1rem 1.35rem 0; }
  .facts-bar li:nth-child(odd) { padding-left: 0; border-left: 0; }
  .facts-bar li:nth-child(even) { padding-left: 1rem; }
  .facts-bar li:nth-child(n + 3) { border-top: 1px solid rgba(255, 255, 255, .1); }
}
.fact__num { display: block; font: 600 clamp(1.75rem, 1.4rem + 1.2vw, 2.375rem)/1 var(--display); letter-spacing: -.03em; color: var(--on-dark); font-variant-numeric: tabular-nums; }
.fact__text { display: block; margin-top: .55rem; font-size: .875rem; line-height: 1.45; color: var(--on-dark-muted); max-width: 22ch; }
/* Kennzahlen steigen nacheinander auf */
.js .facts-bar li { opacity: 0; transform: translateY(14px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); }
.js .facts-bar li:nth-child(2) { transition-delay: .09s; }
.js .facts-bar li:nth-child(3) { transition-delay: .18s; }
.js .facts-bar li:nth-child(4) { transition-delay: .27s; }
.js .facts-bar ul.is-in li { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .facts-bar li { opacity: 1; transform: none; transition: none; } }

/* ---------- Diagramm-Karte (Glas) ---------------------------------------- */
.glass {
  position: relative; margin: 0;
  padding: clamp(1.25rem, 2.4vw, 1.75rem);
  border-radius: 22px;
  background: linear-gradient(160deg, rgba(36, 36, 40, .72), rgba(18, 18, 21, .66));
  border: 1px solid rgba(255, 255, 255, .09);
  box-shadow: 0 50px 120px -40px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .06);
  transform-style: preserve-3d;
  transition: transform .6s var(--ease-out);
}
.glass__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .9rem; }
.glass__kicker { font-size: .75rem; color: var(--on-dark-muted); letter-spacing: .02em; }
.glass__pill {
  display: inline-flex; align-items: center; gap: .45rem; padding: .3rem .65rem;
  border-radius: 999px; background: rgba(224, 31, 56, .14); color: #FF8A96;
  font: 600 .75rem/1 var(--sans);
}
.glass__pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--red-hi); box-shadow: 0 0 0 3px rgba(224, 31, 56, .25); }
.glass__title { font: 600 1.0625rem/1.3 var(--sans); color: var(--on-dark); margin: 0 0 1rem; }
.glass__foot { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .8125rem; line-height: 1.5; color: var(--on-dark-muted); }
.chart { width: 100%; height: auto; overflow: visible; }
.chart text { font-family: var(--sans); }
@media (max-width: 1039px) { .hero__visual { max-width: 560px; width: 100%; } }
@media (max-width: 599px) { .stage__glow::before { opacity: .75; } }

/* ---------- Animations-Helfer ---------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: var(--d, 0s); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .js .draw { stroke-dasharray: var(--len, 1000); stroke-dashoffset: var(--len, 1000); transition: stroke-dashoffset var(--dur, 1.6s) var(--ease-out) var(--d, 0s); }
  .js .is-in .draw, .js .draw.is-in { stroke-dashoffset: 0; }
  .js .fade { opacity: 0; transition: opacity .8s ease var(--d, 0s); }
  .js .is-in .fade { opacity: 1; }
  .js .grow { transform: scaleY(0); transform-box: fill-box; transform-origin: bottom; transition: transform 1s var(--ease-out) var(--d, 0s); }
  .js .is-in .grow { transform: scaleY(1); }
  .js .shrink { transform-box: fill-box; transform-origin: left; transition: transform 1.2s var(--ease-out) var(--d, 0s); }
  .js .is-in .shrink { transform: scaleX(var(--to, 1)); }
  .pulse { transform-box: fill-box; transform-origin: center; animation: pulse 2.6s ease-out infinite; }
  .flow { stroke-dasharray: 3 7; animation: flow 1.6s linear infinite; }
}
@keyframes pulse { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(2.6); opacity: 0; } }
@keyframes flow { to { stroke-dashoffset: -20; } }

/* ---------- Abschnitte ----------------------------------------------------- */
.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(64px, 8vw, 104px); }
.section__head { display: grid; gap: 1.25rem; margin-bottom: clamp(40px, 6vw, 72px); }
@media (min-width: 960px) { .section__head--split { grid-template-columns: 7fr 5fr; gap: 4rem; align-items: end; } }
.section__foot { margin-top: clamp(36px, 5vw, 56px); display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; }
.split { display: grid; gap: 2.5rem; }
@media (min-width: 960px) { .split { grid-template-columns: 5fr 7fr; gap: 5rem; align-items: start; } .split--center { align-items: center; } .split--even { grid-template-columns: 1fr 1fr; } }

/* Grundsätze mit Symbolen */
.principles { display: grid; gap: 1rem; }
@media (min-width: 860px) { .principles { grid-template-columns: repeat(3, 1fr); } }
.principle {
  padding: clamp(1.5rem, 3vw, 2rem);
  border: 1px solid var(--paper-line); border-radius: var(--radius);
  background: var(--paper);
}
.light-2 .principle { background: var(--paper); }
.icon { width: 48px; height: 48px; margin-bottom: 1.5rem; color: var(--red); }
.icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.principle h3 { margin-bottom: .6rem; }
.principle p { color: var(--on-light-muted); }

/* Leistungskarten mit Grafik */
.cards { display: grid; gap: 1.25rem; }
@media (min-width: 960px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card {
  display: flex; flex-direction: column;
  border: 1px solid var(--paper-line); border-radius: var(--radius);
  background: var(--paper);
  overflow: hidden;
  text-decoration: none; color: inherit;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.card:hover { transform: translateY(-6px); border-color: #D4D4D8; box-shadow: 0 30px 60px -30px rgba(10, 10, 11, .25); }
.card__visual { padding: 1.5rem 1.5rem 0; background: linear-gradient(180deg, var(--paper-2), var(--paper)); border-bottom: 1px solid var(--paper-line); }
.card__visual svg { width: 100%; height: auto; }
.card__body { display: flex; flex-direction: column; gap: .8rem; flex: 1; padding: 1.75rem 1.75rem 1.9rem; }
.card__body p { color: var(--on-light-muted); margin: 0; }
.card__body .link { margin-top: auto; padding-top: .9rem; color: var(--red); align-self: flex-start; }
.viz text { font-family: var(--sans); fill: #52525B; font-size: 11px; }

/* Ablauf (Zeitleiste) */
.timeline { position: relative; --p: 0; }
.timeline.is-in { --p: 1; }
.timeline__list { list-style: none; margin: 0; padding: 0; display: grid; position: relative; }
.timeline__track { position: absolute; background: rgba(255, 255, 255, .12); }
.timeline__fill { position: absolute; inset: 0; background: linear-gradient(90deg, var(--red-hi), #FF6B79); transform-origin: left; transform: scaleX(var(--p)); transition: transform 1.8s var(--ease-out) .2s; }
.step { position: relative; }
.step__dot {
  position: relative; z-index: 1;
  display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--ink); border: 1px solid rgba(255, 255, 255, .22);
  font: 600 1rem/1 var(--display); color: var(--on-dark);
  transition: border-color .5s ease, background-color .5s ease, box-shadow .5s ease;
  transition-delay: var(--d, 0s);
}
.timeline.is-in .step__dot { border-color: var(--red-hi); background: #2A0C11; box-shadow: 0 0 0 6px rgba(224, 31, 56, .12); }
.step h3 { margin: 1.6rem 0 .65rem; }
.step p { color: var(--on-dark-muted); max-width: 34ch; }
.step__badge { display: inline-block; margin-top: 1rem; padding: .4rem .75rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .16); font: 600 .8125rem/1 var(--sans); color: var(--on-dark); }
@media (min-width: 900px) {
  .timeline__list { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
  .timeline__track { left: 24px; right: 0; top: 23.5px; height: 1px; }
}
@media (max-width: 899px) {
  .timeline__list { gap: 2.5rem; }
  .timeline__track { left: 23.5px; top: 24px; bottom: 24px; width: 1px; }
  .timeline__fill { transform-origin: top; transform: scaleY(var(--p)); background: linear-gradient(180deg, var(--red-hi), #FF6B79); }
  .step { display: grid; grid-template-columns: 48px 1fr; column-gap: 1.25rem; }
  .step h3 { margin-top: .55rem; grid-column: 2; }
  .step p, .step .step__badge { grid-column: 2; }
  .step__badge { justify-self: start; }
}
.dark .step--light p { color: var(--on-dark-muted); }

/* Modell / Konditionen */
.model { display: grid; gap: 2.5rem; }
@media (min-width: 1000px) { .model { grid-template-columns: 5fr 6fr; gap: 4.5rem; align-items: start; } }
.model-card { padding: clamp(1.25rem, 3vw, 2rem); border: 1px solid var(--paper-line); border-radius: 22px; background: var(--paper); box-shadow: 0 40px 80px -50px rgba(10, 10, 11, .35); }
.model-card .glass__kicker { color: var(--on-light-muted); }
.model-card .glass__title { color: var(--on-light); }
.terms { margin: 2rem 0 0; display: grid; border-top: 1px solid var(--paper-line); }
.terms > div { display: grid; gap: .25rem; padding: 1.05rem 0; border-bottom: 1px solid var(--paper-line); }
@media (min-width: 640px) { .terms > div { grid-template-columns: 12rem 1fr; gap: 1.5rem; } }
.terms dt { font-size: .9375rem; color: var(--on-light-muted); }
.terms dd { margin: 0; font-weight: 500; }
.dark .terms { border-color: var(--ink-line); }
.dark .terms > div { border-color: var(--ink-line); }
.dark .terms dt { color: var(--on-dark-muted); }
.note { display: flex; gap: .9rem; align-items: flex-start; margin-top: 1.75rem; padding: 1.1rem 1.25rem; border-radius: var(--radius-sm); background: var(--paper-2); font-weight: 500; }
.note::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: .55em; border-radius: 50%; background: var(--red-hi); box-shadow: 0 0 0 4px rgba(224, 31, 56, .14); }
.dark .note { background: rgba(255, 255, 255, .05); }

.formula { display: grid; gap: .75rem; align-items: stretch; }
@media (min-width: 560px) { .formula { grid-template-columns: 1fr auto 1fr; } }
.formula__part { padding: 1.1rem 1.15rem; border-radius: 14px; background: var(--paper-2); border: 1px solid var(--paper-line); }
.formula__part--accent { background: #FFF1F2; border-color: #FBD5D9; }
.formula__part strong { display: block; font: 600 1.0625rem/1.25 var(--display); letter-spacing: -.01em; }
.formula__part span { display: block; margin-top: .35rem; font-size: .875rem; color: var(--on-light-muted); line-height: 1.45; }
.formula__op { display: grid; place-items: center; font: 500 1.5rem/1 var(--sans); color: var(--red); }
.cap { margin-top: .75rem; display: flex; align-items: center; gap: .6rem; font-size: .875rem; color: var(--on-light-muted); }
.cap::before { content: ""; flex: none; width: 28px; border-top: 2px dashed var(--red); }
.params { display: grid; gap: .75rem; margin-top: 1.5rem; }
@media (min-width: 560px) { .params { grid-template-columns: 1fr 1fr; } }
.param { padding: 1rem 1.1rem; border-radius: 14px; border: 1px solid var(--paper-line); }
.param strong { display: block; font-weight: 600; margin-bottom: .2rem; }
.param span { font-size: .875rem; color: var(--on-light-muted); line-height: 1.45; display: block; }
.model-card__foot { margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--paper-line); font-size: .875rem; color: var(--on-light-muted); }

/* Diskretion */
.commitments { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; gap: 1rem; }
@media (min-width: 860px) { .commitments { grid-template-columns: repeat(3, 1fr); } }
.commitments li { display: grid; grid-template-columns: 40px 1fr; gap: 1rem; align-items: start; padding: 1.4rem; border-radius: var(--radius); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); }
.tick { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(224, 31, 56, .16); color: #FF7B88; }
.tick svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.commitments strong { display: block; color: var(--on-dark); font-weight: 600; margin-bottom: .2rem; }
.commitments span { color: var(--on-dark-muted); font-size: .9375rem; line-height: 1.55; }
.quote-mark { font: 600 clamp(4rem, 3rem + 4vw, 7rem)/.7 var(--display); color: var(--red-hi); opacity: .9; margin-bottom: 1rem; display: block; }

/* Gründer */
.founder { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 960px) { .founder { grid-template-columns: 5fr 6fr; gap: 5rem; } .founder--top { align-items: start; } }
.founder-card { position: relative; isolation: isolate; overflow: hidden; margin: 0; padding: clamp(1.75rem, 3.5vw, 2.5rem); border-radius: 24px; background: var(--ink); color: var(--on-dark); box-shadow: 0 50px 100px -50px rgba(10, 10, 11, .6); }
.founder-card .stage__glow::before { width: 520px; height: 520px; right: -260px; top: -260px; }
.founder-card .stage__glow::after { display: none; }
.founder-card__signet { width: 56px; height: auto; aspect-ratio: 114.049 / 100; margin-bottom: 2rem; }
.founder-card__photo { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; margin-bottom: 1.75rem; }
.founder-card__name { display: block; font: 600 clamp(1.875rem, 1.5rem + 1.2vw, 2.375rem)/1.05 var(--display); letter-spacing: -.03em; }
.founder-card__role { display: block; margin-top: .45rem; color: var(--on-dark-muted); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 2rem; border-radius: var(--radius-sm); overflow: hidden; background: var(--ink-line); }
.stats > div { padding: 1.1rem .9rem 1.15rem; background: #121215; }
.stat__num { display: block; font: 600 1.625rem/1 var(--display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; color: var(--on-dark); }
.stat__label { display: block; margin-top: .45rem; font-size: .75rem; line-height: 1.4; color: var(--on-dark-muted); }
.stat__pre { font: 500 .8125rem/1 var(--sans, Inter, sans-serif); letter-spacing: 0; color: var(--on-dark-muted); margin-right: .1em; }
.facts { margin: 1.75rem 0 0; border-top: 1px solid var(--ink-line); }
.facts > div { display: grid; grid-template-columns: 6.75rem 1fr; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--ink-line); font-size: .9375rem; }
.facts dt { color: var(--on-dark-muted); }
.facts dd { margin: 0; }
.founder__text h2 { margin-bottom: 1.5rem; }
.founder__text .actions { margin-top: 2rem; }
.fineprint { margin-top: 1.5rem; font-size: .8125rem; color: var(--on-light-muted); max-width: 62ch; }
.box { padding: clamp(1.5rem, 3vw, 2rem); border-radius: var(--radius); background: var(--paper-2); border: 1px solid var(--paper-line); }
.box h3 { font: 600 1.0625rem/1.3 var(--sans); letter-spacing: 0; margin-bottom: .55rem; }
.box p { color: var(--on-light-muted); }
.prose > * + * { margin-top: 1.1rem; }
.prose p { color: var(--on-light-muted); }
.prose .lead { color: var(--on-light); }

/* Werte */
.values { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; counter-reset: v; }
@media (min-width: 700px) { .values { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .values { grid-template-columns: repeat(3, 1fr); } }
.values li { position: relative; padding: 1.6rem 1.6rem 1.7rem; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--paper-line); font: 600 1.1875rem/1.3 var(--display); letter-spacing: -.015em; }
.values li::before { content: ""; display: block; width: 28px; height: 2px; margin-bottom: 1.1rem; background: var(--red-hi); }

/* Leistungen im Detail */
.service { display: grid; gap: 2rem; padding-block: clamp(56px, 7vw, 96px); border-top: 1px solid var(--paper-line); scroll-margin-top: calc(var(--header-h) + 8px); }
.service:first-child { border-top: 0; padding-top: 0; }
.service:last-child { padding-bottom: 0; }
@media (min-width: 960px) {
  .service { grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
  .service--flip .service__visual { order: -1; }
}
.service .lead { color: var(--on-light); margin-top: 1.25rem; }
.service__visual { padding: clamp(1.25rem, 3vw, 2rem); border-radius: 22px; background: linear-gradient(180deg, var(--paper-2), var(--paper)); border: 1px solid var(--paper-line); }
.service__visual svg { width: 100%; height: auto; }
.ticks { list-style: none; margin: 1.75rem 0 0; padding: 0; display: grid; gap: .1rem; }
.ticks li { position: relative; padding: .8rem 0 .8rem 2.1rem; border-bottom: 1px solid var(--paper-line); color: var(--on-light-muted); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 1.05rem; width: 18px; height: 18px; border-radius: 50%; background: rgba(224, 31, 56, .1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23D32030' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .4rem; }
.chips span { padding: .45rem .8rem; border-radius: 999px; background: var(--paper); border: 1px solid var(--paper-line); font-size: .875rem; font-weight: 500; }
.statement { font: 600 var(--fs-h2)/1.12 var(--display); letter-spacing: -.028em; max-width: 20em; text-wrap: balance; margin: 0; }
.ki-points { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; gap: .75rem; }
@media (min-width: 640px) { .ki-points { grid-template-columns: 1fr 1fr; } }
.ki-points li { display: flex; gap: .75rem; align-items: center; padding: .95rem 1.1rem; border-radius: var(--radius-sm); background: var(--paper-2); font-weight: 500; font-size: .9688rem; }
.ki-points svg { flex: none; width: 22px; height: 22px; fill: none; stroke: var(--red); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Unterseiten-Kopf ------------------------------------------------ */
.page-hero { padding: calc(var(--header-h) + clamp(64px, 9vw, 128px)) 0 clamp(64px, 8vw, 104px); }
.page-hero h1 { max-width: 15em; }
.page-hero .lead { margin-top: 1.5rem; }
.crumbs { display: flex; gap: .5rem; align-items: center; margin-bottom: 1.5rem; font-size: .875rem; color: var(--on-dark-muted); }
.crumbs a { color: var(--on-dark-muted); text-decoration: none; }
.crumbs a:hover { color: var(--on-dark); }
.crumbs span[aria-hidden] { opacity: .5; }

/* ---------- Abschluss-CTA ---------------------------------------------------- */
.cta { padding-block: clamp(96px, 12vw, 168px); }
.cta__inner { display: grid; gap: 2.5rem; }
@media (min-width: 960px) { .cta__inner { grid-template-columns: 7fr 5fr; align-items: end; gap: 4rem; } }
.cta h2 { font-size: clamp(2.25rem, 1.4rem + 3.2vw, 4rem); max-width: 12em; }
.cta .lead { margin-top: 1.5rem; }
.cta__side { display: grid; gap: 1.25rem; justify-items: start; }
.cta__phone { font-size: .9375rem; color: var(--on-dark-muted); text-decoration: none; }
.cta__phone strong { color: var(--on-dark); font-weight: 600; }
.cta__phone:hover strong { text-decoration: underline; }

/* ---------- Kontakt ---------------------------------------------------------- */
.contact { display: grid; gap: 3rem; }
@media (min-width: 960px) { .contact { grid-template-columns: 4fr 7fr; gap: 5rem; align-items: start; } }
@media (max-width: 959px) { .contact__form { order: -1; } }
.contact__aside > * + * { margin-top: 2.5rem; }
.contact-list { margin: 0; display: grid; gap: 1.4rem; }
.contact-list dt { font-size: .875rem; color: var(--on-light-muted); margin-bottom: .2rem; }
.contact-list dd { margin: 0; font-size: 1.0625rem; font-weight: 500; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }
.steps-mini { list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; gap: .75rem; }
.steps-mini li { counter-increment: s; display: grid; grid-template-columns: 32px 1fr; gap: .9rem; align-items: start; color: var(--on-light-muted); font-size: .9688rem; }
.steps-mini li::before { content: counter(s); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--paper); border: 1px solid var(--paper-line); font: 600 .875rem/1 var(--display); color: var(--red); }
.steps-mini li span { padding-top: .25rem; }
.form { padding: clamp(1.5rem, 4vw, 2.75rem); border-radius: 24px; background: var(--paper); border: 1px solid var(--paper-line); box-shadow: 0 50px 100px -60px rgba(10, 10, 11, .35); }
.form__intro { font-size: .9375rem; color: var(--on-light-muted); margin-bottom: 1.75rem; }
.form__grid { display: grid; gap: 0 1rem; }
@media (min-width: 640px) { .form__grid { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: .45rem; align-content: start; margin-bottom: 1.35rem; }
.field--full { grid-column: 1 / -1; }
.field label { font: 500 .9375rem/1.3 var(--sans); }
.optional { font-weight: 400; color: var(--on-light-muted); }
.field input, .field textarea {
  width: 100%; min-height: 52px; padding: .8rem 1rem;
  border: 1px solid #71717A; border-radius: var(--radius-sm);
  background: var(--paper); color: var(--on-light);
  font: 400 1rem/1.45 var(--sans);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: #52525B; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(10, 10, 11, .08); }
.field input:focus-visible, .field textarea:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px var(--ink), 0 0 0 6px #F4F4F5;
}
.field [aria-invalid="true"] { border-color: var(--red); box-shadow: 0 0 0 4px rgba(211, 32, 48, .1); }
.field__error, .check__error { font-size: .875rem; color: #B4182A; }
.field__error:empty, .check__error:empty { display: none; }
.check { display: grid; grid-template-columns: 24px 1fr; gap: .85rem; align-items: start; margin-bottom: 1rem; font-size: .9375rem; color: var(--on-light-muted); }
.check input { appearance: none; -webkit-appearance: none; display: grid; place-content: center; width: 24px; height: 24px; margin: 1px 0 0; border: 1px solid #71717A; border-radius: 7px; background: var(--paper); cursor: pointer; transition: background-color .2s, border-color .2s; }
.check input::before { content: ""; width: 11px; height: 6px; margin-top: -3px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) scale(0); transition: transform .15s var(--ease); }
.check input:checked { background: var(--red-hi); border-color: var(--red-hi); }
.check input:checked::before { transform: rotate(-45deg) scale(1); }
.check input[aria-invalid="true"] { border-color: var(--red); }
.check label { cursor: pointer; }
.check a { color: var(--on-light); }
.check__error { grid-column: 2; margin-top: -.35rem; }
.form__submit { margin-top: 1.25rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.form__status { font-size: .9375rem; color: #B4182A; margin: 0; }
.form__status:empty { display: none; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-success { padding: clamp(1.75rem, 4vw, 2.75rem); border-radius: 24px; background: var(--ink); color: var(--on-dark); }
.form-success h2 { font-size: var(--fs-h3); margin-bottom: .75rem; }
.form-success .lead { color: var(--on-dark-muted); }
.form-success:focus { outline: none; }
.preview-note { margin-top: 1rem; font-size: .875rem; color: var(--gold); }

/* ---------- Rechtstexte ------------------------------------------------------ */
.legal { max-width: 74ch; }
.legal h2 { font-size: clamp(1.5rem, 1.3rem + .8vw, 1.875rem); margin: 3rem 0 .9rem; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font: 600 1.0625rem/1.35 var(--sans); letter-spacing: 0; margin: 1.75rem 0 .5rem; }
.legal p, .legal li { color: #3F3F46; }
.legal ul { padding-left: 1.2rem; margin: 0 0 1em; }
.legal li + li { margin-top: .35rem; }
.legal address { line-height: 1.7; }
.toc { margin: 0 0 3rem; padding: 1.25rem 1.5rem; border: 1px solid var(--paper-line); border-radius: var(--radius-sm); background: var(--paper-2); }
.toc p { font-weight: 600; margin-bottom: .5rem; }
.toc ol { margin: 0; padding-left: 1.2rem; columns: 2 16rem; column-gap: 2rem; }
.toc a { color: var(--on-light-muted); text-decoration: none; }
.toc a:hover { color: var(--on-light); text-decoration: underline; }
.ph { display: inline-block; padding: 0 .45em; border: 1px dashed #C08A2B; border-radius: 6px; background: #FDF6E7; color: #8A5A0B; font: 500 .92em/1.5 var(--sans); }

/* ---------- Fußbereich ------------------------------------------------------- */
.site-footer { padding: clamp(64px, 8vw, 96px) 0 40px; }
.footer-grid { display: grid; gap: 2.5rem; }
@media (min-width: 600px) and (max-width: 899px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .footer-grid { grid-template-columns: 5fr 3.5fr 2fr 2fr; gap: 3rem; } }
.footer-brand .brand__signet { width: 40px; }
.footer-brand p { margin-top: 1.25rem; font-size: .9375rem; color: var(--on-dark-muted); max-width: 34ch; }
.footer-col h2 { font: 600 .9375rem/1.3 var(--sans); letter-spacing: 0; margin-bottom: 1rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .65rem; }
.footer-col a, .footer-col address { color: var(--on-dark-muted); font-size: .9375rem; text-decoration: none; }
.footer-col a:hover { color: var(--on-dark); text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem; margin-top: clamp(40px, 5vw, 64px); padding-top: 1.5rem; border-top: 1px solid var(--ink-line); font-size: .8125rem; color: var(--on-dark-muted); }

/* ---------- Kleine Bildschirme ------------------------------------------------ */
@media (max-width: 599px) {
  .hero .actions .btn, .cta .btn { width: 100%; }
}

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

/* ---------- Druck ---------------------------------------------------------------- */
@media print {
  .site-header, .nav-toggle, .stage__glow, .stage__lines, .stage__grain, .cta, .skip-link { display: none !important; }
  .dark { background: #fff !important; color: #000 !important; }
  .page-hero { padding-top: 0; }
}

/* ---------- Startseite: Kamerafahrt über den Wolken ---------------------------
   assets/js/film.js spielt die Bildfolge passend zur Scrollposition ab. Der Hero
   bleibt stehen, bis die Fahrt im Nebel endet; danach geht die Seite weiter. */
:root { --mist: #EEEAE4; --mist-ink: #26262B; }
/* Version 6: Fortschritt der Fahrt nicht vererben (film.js setzt ihn nur an den Elementen, die ihn benutzen) */
@property --film-p { syntax: "<number>"; inherits: false; initial-value: 0; }
.mist { background: var(--mist); color: var(--mist-ink); }
.hero--film { position: relative; isolation: isolate; overflow: hidden; min-height: 100svh; color: var(--mist-ink); }
.js .film-pin { height: 430svh; }
.js .hero--film { position: sticky; top: 0; height: 100svh; min-height: 0; }
.film { position: absolute; inset: 0; z-index: -1; background: #D9CFC4 url("../film/wide/000.webp") 50% 50% / cover no-repeat; }
@media (max-aspect-ratio: 9/10) { .film { background-image: url("../film/tall/000.webp"); } }
.film__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity .6s var(--ease-out); }
.film__canvas.is-ready { opacity: 1; }
.film__veil { position: absolute; inset: 0; pointer-events: none; will-change: opacity; opacity: max(.3, calc(1 - var(--film-p, 0) * 4));
  background:
    radial-gradient(120% 75% at 0% 0%, rgba(246, 242, 236, .72), rgba(246, 242, 236, 0) 62%),
    linear-gradient(180deg, rgba(246, 242, 236, .38), rgba(246, 242, 236, 0) 22%); }
.film__fade { position: absolute; inset: 0; pointer-events: none; will-change: opacity; background: var(--mist); opacity: clamp(0, calc((var(--film-p, 0) - .86) * 10), 1); }

.hero--film .hero__main { padding-top: calc(var(--header-h) + clamp(28px, 9vh, 120px)); align-items: start;
  opacity: calc(1 - var(--film-p, 0) * 7); transform: translate3d(0, calc(var(--film-p, 0) * -160px), 0); will-change: opacity, transform; }
.hero--film h1.display { color: var(--ink); font-size: min(4.4rem, calc(var(--colw) / 9.4)); }
.hero--film .lead { color: #3F3F46; }
.hero--film .btn--ghost { border-color: rgba(10, 10, 11, .22); color: var(--ink); }
.hero--film .btn--ghost:hover { border-color: rgba(10, 10, 11, .5); background: rgba(255, 255, 255, .3); }

/* Großer Schriftzug wie ein Filmtitel */
.film__markwrap { position: absolute; left: 0; right: 0; bottom: clamp(56px, 10vh, 112px); pointer-events: none;
  opacity: calc(1 - var(--film-p, 0) * 6); translate: 0 calc(var(--film-p, 0) * 140px); will-change: opacity, translate; }
.film__mark { margin: 0; text-align: center; white-space: nowrap; padding-left: .42em;
  font: 300 clamp(1rem, 3.9vw, 4.6rem)/1 var(--display); letter-spacing: .42em; text-transform: uppercase; color: rgba(38, 38, 43, .55); }
.film__mark span { display: inline-block; }
@media (prefers-reduced-motion: no-preference) {
  .js .film__mark.hero-in { transform: none; animation: mark-in 1.8s var(--ease-out) both; animation-delay: var(--d, 1s); }
}
@keyframes mark-in { from { opacity: 0; filter: blur(8px); } to { opacity: 1; filter: blur(0); } }

/* Kapitel über den Wolken */
.film__chapters { position: absolute; inset: 0; pointer-events: none; }
.chapter { --show: clamp(0, min(calc((var(--film-p, 0) - var(--a)) * 14), calc((var(--b) - var(--film-p, 0)) * 14)), 1);
  position: absolute; left: var(--gutter); right: var(--gutter); top: 50%; max-width: 30rem; margin-left: max(0px, calc((100vw - var(--container)) / 2 - var(--gutter)));
  opacity: var(--show); transform: translate3d(0, calc(-50% + (1 - var(--show)) * 26px), 0); }
.chapter__big { margin: 0; font: 300 clamp(1.7rem, 3.4vw, 3.1rem)/1.12 var(--display); letter-spacing: .06em; text-transform: uppercase; color: var(--ink); text-shadow: 0 0 28px rgba(246, 243, 238, .9), 0 0 2px rgba(246, 243, 238, .6); }
.chapter__small { margin: 1.1rem 0 0; max-width: 34ch; font-size: 1rem; line-height: 1.55; color: #3F3F46; text-shadow: 0 0 18px rgba(246, 243, 238, .95); }

.hero--film .scroll-cue { position: absolute; left: 0; right: 0; bottom: 20px; display: grid; justify-items: center; pointer-events: none; opacity: calc(1 - var(--film-p, 0) * 10); }
.hero--film .scroll-cue > div { display: grid; justify-items: center; gap: 8px; font-size: .75rem; letter-spacing: .02em; color: #52525B; }
.hero--film .scroll-cue i { display: block; width: 1px; height: 38px; background: linear-gradient(rgba(10, 10, 11, .55), rgba(10, 10, 11, 0)); transform-origin: top; animation: cue 2.4s var(--ease-out) infinite; }
@keyframes cue { 0% { transform: scaleY(0); opacity: 1; } 55% { transform: scaleY(1); opacity: 1; } 100% { transform: scaleY(1); opacity: 0; } }

/* Ende der Fahrt: im Nebel – Schriftzug, Gesprächsangebot, Fakten */
.film__end { --e: clamp(0, calc((var(--film-p, 0) - .9) * 14), 1);
  position: absolute; left: var(--gutter); right: var(--gutter); top: 44%; translate: 0 -50%;
  display: grid; justify-items: center; gap: 2rem; text-align: center; pointer-events: none;
  opacity: var(--e); transform: translate3d(0, calc((1 - var(--e)) * 24px), 0); will-change: opacity, transform; }
.film-end .film__end { pointer-events: auto; }
.film__endmark { margin: 0; padding-left: .42em; font: 300 clamp(1.2rem, 3.4vw, 3.6rem)/1.1 var(--display); letter-spacing: .42em; text-transform: uppercase; color: rgba(38, 38, 43, .7); }
.film__facts { position: absolute; left: 0; right: 0; bottom: 0; border-top: 1px solid rgba(10, 10, 11, .1);
  opacity: clamp(0, calc((var(--film-p, 0) - .93) * 16), 1); pointer-events: none; }
.film__facts .fact__num { color: var(--ink); }
.film__facts .fact__text { color: #52525B; }
.film__facts li + li { border-left-color: rgba(10, 10, 11, .1); }
@media (max-width: 899px) { .film__facts li:nth-child(n + 3) { border-top-color: rgba(10, 10, 11, .1); } }

/* Kopfzeile über dem hellen Himmel */
html.over-film body:not(.nav-open) .site-header { color: var(--ink); }
html.over-film body:not(.nav-open) .site-header::before { background: rgba(246, 243, 238, .74); border-bottom-color: rgba(10, 10, 11, .06);
  -webkit-backdrop-filter: none; backdrop-filter: none; }
html.over-film body:not(.nav-open) .nav__link { color: rgba(10, 10, 11, .6); }
html.over-film body:not(.nav-open) .nav__link:hover, html.over-film body:not(.nav-open) .nav__link[aria-current="page"] { color: var(--ink); }
html.over-film body:not(.nav-open) .nav-toggle { border-color: rgba(10, 10, 11, .22); color: var(--ink); }

@media (max-width: 1039px) {
  .film__veil { opacity: calc(1 - var(--film-p, 0) * 5); }
  .chapter { top: auto; bottom: 18svh; transform: translate3d(0, calc((1 - var(--show)) * 26px), 0);
    padding: 1.25rem 1.35rem 1.4rem; border-radius: 18px; background: rgba(246, 243, 238, .86);
    box-shadow: 0 18px 40px -24px rgba(10, 10, 11, .35); }
  .chapter__big { font-size: clamp(1.45rem, 6.2vw, 2rem); }
  .chapter__small { font-size: .9375rem; margin-top: .75rem; }
  .film__veil { background:
    linear-gradient(180deg, rgba(246, 242, 236, .78) 0%, rgba(246, 242, 236, .35) 46%, rgba(246, 242, 236, 0) 66%); }
  .hero--film .hero__main { padding-top: calc(var(--header-h) + 28px); }
  .chapter { max-width: none; }
}
@media (max-width: 599px) {
  .film__end { top: 36%; gap: 1.5rem; }
  .film__end .btn { width: auto; }
  .film__endmark { letter-spacing: .3em; padding-left: .3em; font-size: 3.8vw; white-space: nowrap; }
  .hero--film .actions .btn--ghost { display: none; }
  .hero--film .lead { font-size: 1.0625rem; }
  .film__mark { font-size: 4.2vw; letter-spacing: .32em; padding-left: .32em; }
  .film__markwrap { bottom: 84px; }
  .hero--film .scroll-cue { bottom: 14px; }
}
/* Ohne Bewegung: erstes Bild bleibt stehen, keine Fahrt */
@media (prefers-reduced-motion: reduce) {
  .js .film-pin { height: auto; }
  .js .hero--film { position: relative; height: auto; min-height: 100svh; }
  .film__chapters, .hero--film .scroll-cue, .film__fade, .film__end { display: none; }
  .film__facts { opacity: 1; pointer-events: auto; background: rgba(246, 243, 238, .82); }
  .hero--film .hero__main { padding-bottom: 260px; }
  .hero--film .hero__main { opacity: 1; transform: none; }
}
/* Ohne JavaScript: Fakten sichtbar unter dem Startbild */
html:not(.js) .film__facts { opacity: 1; pointer-events: auto; background: rgba(246, 243, 238, .82); }
html:not(.js) .hero--film .hero__main { padding-bottom: 260px; }
