/* ============================================================
   Tabon – Landingpage-Prototyp
   Farben/Typo: docs/Tabon-Brand-Kit.md §4, §5, §11 (Token-Block)
   Inhalte: Musterangebot v2, Vertragsvorlage (Anlage A), Plan im PM-Chat
   ============================================================ */

@font-face {
  font-family: "Mona Sans Tabon";
  src: url(media/mona-sans.woff2) format("woff2");
  font-weight: 200 900;
  font-stretch: 75% 125%;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist Tabon";
  src: url(media/geist.woff2) format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens: hell (Brand-Kit theme.light) ---------- */
:root {
  color-scheme: light;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);

  --font-display: "Mona Sans Tabon", "Mona Sans", "Geist Tabon", "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Geist Tabon", "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", "JetBrains Mono", Menlo, Consolas, monospace;

  --bg: #FAFBFC;
  --bg-header: #FAFAFB;      /* = Hintergrund der hellen Wortmarke */
  --surface: #FFFFFF;
  --muted: #F1F3F5;
  --line: #E4E7EB;
  --line-strong: #CDD2D9;
  --text: #14171F;
  --text-2: #515962;
  --text-3: #6E7782;
  --action: #1E222D;
  --action-hover: #14171F;
  --on-action: #FFFFFF;
  --volt: #93D424;           /* accent-400: nur dort, wo es um den Entwurf geht */
  --volt-hover: #B0E654;
  --on-volt: #14171F;
  --accent-text: #49700D;    /* accent-700: AA-sicher auf hell */
  --deep: #14171F;
  --deep-text: #F1F3F5;
  --deep-text-2: #B4BAC4;
  --deep-line: #2B313B;
  --deep-accent: #B0E654;
  --bezel: #1E222D;




  --danger: #B42318;
  --focus: #3A4255;

  --r-s: 6px;
  --r-m: 10px;
  --r-l: 16px;
  --pad: clamp(20px, 4vw, 48px);
  --header-h: 76px;
}

/* ---------- Tokens: dunkel (Brand-Kit theme.dark) ---------- */

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0E1014;
  --bg-header: #040406;
  --surface: #181B21;
  --muted: #12151A;
  --line: #2B313B;
  --line-strong: #3C424B;
  --text: #F1F3F5;
  --text-2: #B4BAC4;
  --text-3: #9CA4AF;
  --action: #F1F3F5;
  --action-hover: #FFFFFF;
  --on-action: #0E1014;
  --accent-text: #B0E654;
  --deep: #1E222D;
  --deep-line: #3C424B;
  --bezel: #3C424B;




  --danger: #F0565B;
  --focus: rgba(176, 230, 84, .5);
}

/* ---------- Basis ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(env(safe-area-inset-top, 0px) + var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1px; }
button { font: inherit; color: inherit; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
/* Light keyboard focus: the white inner ring separates the opaque outline
   from dark sections and mixed image pixels. Dark mode keeps its own rules. */
:root:not([data-theme="dark"]) :is(:focus-visible, .request-chip input:focus-visible + span, .range:focus-visible ~ .knob, .s-browser:has(.s-screen:focus-visible)) {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  box-shadow: 0 0 0 3px #fff;
}
:root:not([data-theme="dark"]) .s-tab[aria-selected="true"]:focus-visible {
  box-shadow: 0 0 0 3px #fff, inset 0 -3px 0 var(--volt);
}
/* Clipped media controls use an unclipped frame or a foreground inset ring. */
:root:not([data-theme="dark"]) :is(.s-screens .s-screen, #film-start, #dlg-video):focus-visible {
  outline: none;
  box-shadow: none;
}
:root:not([data-theme="dark"]) .dlg-video:has(#dlg-video:focus-visible) {
  position: relative;
}
:root:not([data-theme="dark"]) :is(.film-player:has(#film-start:focus-visible), .dlg-video:has(#dlg-video:focus-visible))::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 6px var(--focus);
}

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

.i {
  width: 1.25em; height: 1.25em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.75;
  stroke-linecap: round; stroke-linejoin: round;
}
.skip {
  position: absolute; left: 16px; top: -120px; z-index: 100;
  background: var(--action); color: var(--on-action);
  padding: 10px 14px; border-radius: var(--r-s); text-decoration: none; font-weight: 600;
}
.skip:focus { top: calc(12px + env(safe-area-inset-top, 0px)); }

.container { max-width: calc(1240px + 2 * var(--pad)); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: clamp(76px, 9vw, 132px); }
.section--muted { background: var(--muted); }
.section--line { border-top: 1px solid var(--line); }

/* ---------- Typografie ---------- */
[hidden] { display: none !important; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); color: inherit; }
.h1 {
  font-size: clamp(2.45rem, 1.1rem + 3.55vw, 4.05rem);
  font-weight: 720;
  font-stretch: 106%;
  letter-spacing: -.032em;
  line-height: 1.02;
  text-wrap: balance;
}
.h2 {
  font-size: clamp(1.95rem, 1.28rem + 1.85vw, 3rem);
  font-weight: 690;
  font-stretch: 106%;
  letter-spacing: -.026em;
  line-height: 1.06;
  text-wrap: balance;
}
.h3 {
  font-size: 1.25rem;
  font-weight: 640;
  font-stretch: 102%;
  letter-spacing: -.012em;
  line-height: 1.25;
}
.lead { font-size: clamp(1.125rem, 1.03rem + .35vw, 1.3rem); line-height: 1.55; color: var(--text-2); max-width: 36em; }
.small { font-size: .9rem; color: var(--text-3); }
.section-head { display: grid; gap: 18px; max-width: 48rem; }
.section-head > p { color: var(--text-2); font-size: 1.125rem; max-width: 40em; }
.section-head > .eyebrow { order: -1; font-size: .98rem; font-weight: 650; color: var(--accent-text); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 52px; padding: 0 1.35em;
  border: 1px solid transparent; border-radius: var(--r-s);
  font-family: var(--font-body); font-size: 1rem; font-weight: 650; line-height: 1;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn .i { width: 1.1em; height: 1.1em; }
.btn--volt { background: var(--volt); color: var(--on-volt); }
.btn--volt:hover { background: var(--volt-hover); }
.btn--dark { background: var(--action); color: var(--on-action); }
.btn--dark:hover { background: var(--action-hover); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--text-3); }
.btn--lg { min-height: 58px; padding-inline: 1.6em; font-size: 1.06rem; }
.btn--block { width: 100%; }

.textlink {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 650; text-decoration: underline;
  text-decoration-color: var(--line-strong); text-underline-offset: 5px;
}
.textlink:hover { text-decoration-color: currentColor; }

/* ---------- Header ---------- */
:root:not([data-theme="dark"]) .site-header { --bg-header: #F3F5F2; }
:root:not([data-theme="dark"]) .site-header .logo-light { mix-blend-mode: darken; }
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40;
  background: var(--bg-header);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; gap: 28px; height: var(--header-h); }
.logo { display: inline-flex; align-items: center; flex: none; border-radius: 4px; }
.logo img { height: 32px; width: auto; }
.footer-brand .logo img { height: 26px; }
.logo-dark { display: none; }
:root[data-theme="dark"] .logo-light { display: none; }
:root[data-theme="dark"] .logo-dark { display: block; }

.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 550; font-size: .98rem; color: var(--text-2); padding: 8px 0; }
.nav a:hover { color: var(--text); }
.header-actions { display: flex; align-items: center; gap: 20px; }
.site-header .btn { min-height: 44px; padding-inline: 18px; font-size: .95rem; }
.menu-btn {
  display: none; width: 44px; height: 44px; align-items: center; justify-content: center;
  border: 1px solid var(--line-strong); border-radius: var(--r-s); background: transparent; cursor: pointer;
}
.mobile-nav { display: none; border-top: 1px solid var(--line); background: var(--bg-header); }
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; padding: 15px var(--pad); text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--line); }
.mobile-nav a:last-child { border-bottom: 0; }
@media (max-width: 960px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
  .header-actions { margin-left: auto; }
}
@media (max-width: 560px) { .site-header .btn--volt { display: none; } }

/* ---------- Einstieg ---------- */
.hero { padding-block: clamp(48px, 6vw, 84px) clamp(50px, 6vw, 80px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.12fr); gap: clamp(32px, 4.5vw, 68px); align-items: center; }
.hero-copy { min-width: 0; }
.kicker { display: flex; align-items: center; gap: 8px; margin-bottom: 22px; color: var(--accent-text); font-size: .88rem; font-weight: 600; }
.kicker .i { width: 1.1em; height: 1.1em; }
.hero .h1 { font-size: clamp(2.5rem, 3.7vw, 3.4rem); line-height: 1.06; max-width: 15ch; text-wrap: initial; }
.hero .lead { margin-top: 24px; max-width: 36em; font-size: 1.08rem; line-height: 1.65; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 24px; margin-top: 28px; }
.hero .btn--lg { min-height: 54px; font-size: 1rem; }
.film-link { display: inline-flex; align-items: center; gap: 11px; padding: 4px 0; border: 0; background: transparent; cursor: pointer; text-align: left; }
.film-play { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--surface); color: var(--text); }
.film-play .i { width: 15px; height: 15px; margin-left: 2px; fill: currentColor; }
.film-link:hover .film-play { border-color: var(--text); }
.film-txt { display: grid; gap: 2px; font-weight: 600; line-height: 1.3; font-size: .92rem; }
.film-txt small { font-size: .78rem; font-weight: 400; color: var(--text-3); }
.usps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); list-style: none; margin-top: 44px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--text-2); }
.usps li { display: flex; align-items: center; gap: 14px; padding: 24px clamp(16px, 2vw, 28px); }
.usps li:first-child { padding-left: 0; }
.usps li:last-child { padding-right: 0; }
.usps li + li { border-left: 1px solid var(--line); }
.usps .i { width: 22px; height: 22px; color: var(--accent-text); }
.usps strong { color: var(--text); font-weight: 600; }
.theme-toggle { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; color: var(--text-2); cursor: pointer; }
.theme-toggle:hover { background: var(--muted); color: var(--text); }
.theme-toggle .i { width: 21px; height: 21px; }
.header-actions { gap: 12px; }
@media (max-width: 1050px) { .nav { gap: 18px; } .header-row { gap: 20px; } }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } .hero .h1 { max-width: 22ch; font-size: clamp(2.5rem, 5.8vw, 3.6rem); } .hero .lead { max-width: 43em; } .hero .compare { width: 100%; max-width: 720px; margin-inline: auto; } }
@media (max-width: 640px) { .hero { padding-top: 36px; } .hero .h1 { font-size: clamp(2.3rem, 8vw, 3.2rem); } .kicker { font-size: .79rem; margin-bottom: 16px; } .hero .lead { font-size: 1rem; margin-top: 20px; } .usps { grid-template-columns: 1fr; margin-top: 32px; } .usps li { padding: 16px 0; } .usps li + li { border-left: 0; border-top: 1px solid var(--line); } .cta-row { gap: 18px; } .hero .cta-row > .btn { width: 100%; } }

/* ============================================================
   Vergleich „Heute ↔ Entwurf“ (Engine-Lücke: Modul vorher-nachher)
   ============================================================ */
.compare { position: relative; }
.compare-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.compare-bar .hint { display: inline-flex; align-items: center; gap: 8px; font-size: .92rem; color: var(--text-3); }
.seg { display: inline-flex; padding: 3px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface); }
.seg button {
  display: inline-flex; align-items: center; gap: 7px; min-height: 38px; padding: 0 15px;
  border: 0; border-radius: 999px; background: transparent; cursor: pointer;
  font-size: .9rem; font-weight: 600; color: var(--text-2);
}
.seg button[aria-pressed="true"] { background: var(--action); color: var(--on-action); }
.seg .i { width: 1.05em; height: 1.05em; }

.frame {
  position: relative; margin-inline: auto; max-width: 100%;
  border: 1px solid var(--line-strong); border-radius: 14px;
  background: var(--surface); overflow: hidden;
  box-shadow: 0 1px 0 rgba(20, 23, 31, .03), 0 28px 56px -32px rgba(20, 23, 31, .38);
  transition: max-width .55s cubic-bezier(.2, .8, .2, 1), border-radius .55s ease, border-color .3s ease;
}
.frame-top { display: flex; align-items: center; height: 40px; padding: 0 12px; background: var(--muted); border-bottom: 1px solid var(--line); }
.url {
  flex: 1; display: flex; align-items: center; gap: 7px; height: 26px; padding: 0 10px; min-width: 0;
  border: 1px solid var(--line); border-radius: 7px; background: var(--surface);
  font-size: 12.5px; color: var(--text-3); white-space: nowrap; overflow: hidden;
}
.url .i { width: 12px; height: 12px; }
.viewport { --pos: 50%; position: relative; container-type: inline-size; aspect-ratio: 16 / 10.6; overflow: hidden; background: #fff; }

.frame.is-phone { max-width: min(336px, 88vw); border: 9px solid var(--bezel); border-radius: 38px; }
.frame.is-phone .frame-top { height: 36px; padding-inline: 16px; }
.frame.is-phone .viewport { aspect-ratio: 9 / 16; }
.compare-cap + .compare-cap { margin-top: 8px; }

.layer { position: absolute; inset: 0; overflow: hidden; }
.layer--new { clip-path: inset(0 0 0 var(--pos)); }
.divider {
  position: absolute; top: 0; bottom: 0; left: var(--pos); z-index: 3; width: 2px;
  transform: translateX(-1px); background: #fff; pointer-events: none;
  box-shadow: 0 0 0 1px rgba(20, 23, 31, .16), 0 0 22px rgba(20, 23, 31, .28);
}
.knob {
  position: absolute; top: 50%; left: var(--pos); z-index: 4;
  width: 46px; height: 46px; transform: translate(-50%, -50%);
  display: grid; place-items: center; border-radius: 50%;
  background: var(--volt); color: var(--on-volt); pointer-events: none;
  box-shadow: 0 0 0 3px #fff, 0 8px 22px -6px rgba(20, 23, 31, .55);
}
.knob .i { width: 22px; height: 22px; stroke-width: 2.2; }
.range {
  position: absolute; inset: 0; z-index: 5; width: 100%; height: 100%; margin: 0;
  opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; touch-action: pan-y;
}
.range:focus-visible ~ .knob { outline: 3px solid var(--focus); outline-offset: 4px; }
.tag {
  position: absolute; top: 12px; z-index: 2; pointer-events: none;
  padding: 7px 10px 8px; border-radius: 999px;
  font: 650 12px/1 var(--font-body); letter-spacing: .01em;
}
.tag--old { left: 12px; background: rgba(20, 23, 31, .8); color: #fff; }
.tag--new { right: 12px; background: #14171F; color: #fff; }
.compare-cap { margin-top: 16px; font-size: .9rem; line-height: 1.55; color: var(--text-3); max-width: 44em; }
.compare-cap .ph { margin-left: 2px; }

/* ---------- Mini-Websites (Beispielbetrieb, frei erfunden) ---------- */
.ms { position: absolute; inset: 0; overflow: hidden; font-size: calc(100cqw / 52); line-height: 1.4; text-align: left; }
.ms .i { width: 1em; height: 1em; }

/* Heute: typische Website aus den 2010ern */
.ms-old { background: #c9d2dc; color: #222; font-family: Verdana, Tahoma, "DejaVu Sans", sans-serif; }
.o-page { width: 46em; margin: 1.3em auto 0; background: #fff; border: .08em solid #8a9bb0; box-shadow: 0 0 .7em rgba(0, 0, 0, .25); }
.o-hd { position: relative; height: 6.3em; padding: 1.15em 1.5em; color: #fff; background: linear-gradient(#3b70a8, #1d4675); }
.o-hd b { display: block; font: bold 2em/1.05 Georgia, "Times New Roman", serif; text-shadow: .06em .06em 0 #0d2340; }
.o-hd span { display: block; margin-top: .55em; font-size: .78em; font-style: italic; opacity: .92; }
.o-badge { position: absolute; right: 1.3em; top: 1.5em; font: bold .7em/1 Arial, sans-serif; font-style: normal; color: #1d4675; background: #ffd400; padding: .55em .7em; border: .12em solid #fff; transform: rotate(4deg); }
.o-nav { padding: .5em 1.3em; font-size: .7em; background: linear-gradient(#f5f5f5, #d9d9d9); border-block: .08em solid #a9a9a9; color: #555; }
.o-nav u { color: #0645ad; }
.o-body { display: flex; gap: 1.2em; padding: 1.2em 1.5em; }
.o-side { width: 11.5em; flex: none; font-size: .7em; }
.o-box { margin-bottom: .9em; border: .1em solid #9fb1c7; background: #eef3f9; }
.o-box h5 { margin: 0; padding: .25em .5em; font-size: 1em; color: #fff; background: #3b70a8; }
.o-box p { margin: 0; padding: .5em; line-height: 1.4; }
.o-count { margin: 0; }
.o-count span { display: inline-block; margin-left: .3em; padding: .1em .35em; font-family: "Courier New", monospace; letter-spacing: .15em; color: #3f3; background: #000; }
.o-main { flex: 1; min-width: 0; }
.o-h1 { margin: 0 0 .6em; font: bold 1.2em/1.2 Arial, Helvetica, sans-serif; color: #c00000; }
.o-main p { margin: 0 0 .8em; font-size: .7em; line-height: 1.5; text-align: justify; }
.o-photo {
  display: grid; place-items: center; height: 7.4em; margin-bottom: .8em;
  border: .08em solid #aaa; color: #888; font-size: .7em;
  background: repeating-linear-gradient(45deg, #e5e5e5 0 .45em, #d8d8d8 .45em .9em);
}
.o-ft { padding: .8em; font-size: .6em; color: #666; text-align: center; background: #f6f6f6; border-top: .08em solid #ccc; }

/* Entwurf: dieselbe Firma, neu gebaut, in ihren eigenen Farben */
.ms-new { --c1: #0F3550; --c2: #B4532A; --c3: #EEF2F5; background: #fff; color: #17232d; font-family: var(--font-body); }
.n-top { display: flex; justify-content: space-between; padding: .65em 2.4em; font-size: .62em; color: #d7e2ea; background: var(--c1); }
.n-hdr { display: flex; align-items: center; gap: 1.5em; padding: .95em 2em; border-bottom: .07em solid #e3e8ec; }
.n-brand { display: flex; align-items: center; gap: .6em; }
.n-mk { display: grid; place-items: center; width: 2em; height: 2em; border-radius: .5em; background: var(--c1); color: #f0a57f; }
.n-mk .i { width: 1.15em; height: 1.15em; stroke-width: 2; }
.n-brand b { display: block; font: 800 1.05em/1 var(--font-display); font-stretch: 86%; letter-spacing: -.005em; color: var(--c1); }
.n-brand small { display: block; margin-top: .2em; font-size: .62em; color: #5b6b78; }
.n-nav { display: flex; gap: 1.5em; margin-left: auto; font-size: .72em; font-weight: 600; color: #33434f; }
.n-cta { padding: .78em 1.15em; border-radius: .5em; font-size: .72em; font-weight: 700; color: #fff; background: var(--c2); }
.n-burger { display: none; place-items: center; width: 2.4em; height: 2.4em; border-radius: .55em; border: .08em solid #d4dce2; color: var(--c1); }
.n-burger .i { width: 1.2em; height: 1.2em; }
.n-hero { display: grid; grid-template-columns: 1fr 1.1fr; gap: 2em; align-items: center; padding: 2.3em 2em 1.9em; }
.n-hero .n-pic { order: -1; }
.n-kick { margin-bottom: .75em; font-size: .68em; font-weight: 700; color: var(--c2); }
.n-h1 { margin-bottom: .45em; font: 800 2.2em/1.02 var(--font-display); font-stretch: 84%; letter-spacing: -.01em; color: var(--c1); }
.n-txt { margin-bottom: 1.25em; font-size: .8em; line-height: 1.5; color: #43535f; }
.n-btns { display: flex; gap: .6em; }
.n-b1, .n-b2 { display: inline-flex; align-items: center; justify-content: center; gap: .45em; padding: .85em 1.15em; border-radius: .5em; font-size: .72em; font-weight: 700; }
.n-b1 { color: #fff; background: var(--c2); }
.n-b2 { color: var(--c1); border: .09em solid #c8d2d9; }
.n-pic {
  position: relative; aspect-ratio: 4 / 3.3; border-radius: .9em; overflow: hidden;
  background:
    repeating-linear-gradient(0deg, transparent 0 2.2em, rgba(15, 53, 80, .09) 2.2em 2.3em),
    repeating-linear-gradient(90deg, transparent 0 2.2em, rgba(15, 53, 80, .09) 2.2em 2.3em),
    var(--c3);
}
.n-pic-ic { position: absolute; left: 50%; top: 46%; width: 5.5em !important; height: 5.5em !important; transform: translate(-50%, -50%); color: var(--c1); stroke-width: 1.2; opacity: .85; }
.n-pic-lbl { position: absolute; left: .9em; bottom: .9em; padding: .45em .7em; border-radius: .4em; font-size: .6em; font-weight: 600; color: var(--c1); background: rgba(255, 255, 255, .88); }
.n-svc { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1em; padding: 0 2em 2em; }
.n-svc > div { padding: 1.05em; border: .07em solid #e3e8ec; border-radius: .8em; }
.n-ic { display: grid; place-items: center; width: 2.1em; height: 2.1em; margin-bottom: .75em; border-radius: .55em; color: var(--c2); background: #f8e9e2; }
.n-ic .i { width: 1.15em; height: 1.15em; stroke-width: 2; }
.n-svc b { display: block; margin-bottom: .3em; font: 750 .88em/1.2 var(--font-display); font-stretch: 90%; color: var(--c1); }
.n-svc span:last-child { display: block; font-size: .66em; line-height: 1.45; color: #5b6b78; }

/* Entwurf auf dem Handy: echtes Mobil-Layout. Die Seite von heute bleibt geschrumpft, wie im echten Leben. */
.frame.is-phone .ms-new { font-size: calc(100cqw / 23); }
.frame.is-phone .n-top, .frame.is-phone .n-nav, .frame.is-phone .n-hdr .n-cta { display: none; }
.frame.is-phone .n-hdr { padding: .85em 1.1em; }
.frame.is-phone .n-burger { display: grid; margin-left: auto; }
.frame.is-phone .n-hero { grid-template-columns: 1fr; gap: 1.2em; padding: 1.3em 1.1em 1.2em; }
.frame.is-phone .n-hero .n-pic { order: 0; aspect-ratio: 16 / 10; }
.frame.is-phone .n-h1 { font-size: 1.72em; }
.frame.is-phone .n-txt { font-size: .78em; }
.frame.is-phone .n-btns { flex-direction: column; }
.frame.is-phone .n-b1, .frame.is-phone .n-b2 { padding: .95em 1em; font-size: .76em; }
.frame.is-phone .n-svc { grid-template-columns: 1fr; gap: .7em; padding: 0 1.1em 1.4em; }
.frame.is-phone .n-svc > div { display: grid; grid-template-columns: auto 1fr; column-gap: .8em; align-items: center; }
.frame.is-phone .n-ic { grid-row: span 2; margin-bottom: 0; }

/* ============================================================
   Referenz-Bühne (neu): Index, Infoblock, Vorschau mit Klick-Aktivierung
   ============================================================ */
.refs { background: var(--muted); padding-block: clamp(64px, 7vw, 100px) clamp(40px, 4vw, 56px); }
.refs-intro { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .85fr); gap: 24px clamp(32px, 5vw, 72px); align-items: end; }
.refs-intro > p { color: var(--text-2); font-size: 1.08rem; max-width: 34em; padding-bottom: 4px; }
.show { margin-top: 40px; }
.show-head { display: grid; gap: 16px; }
.show-tools { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.show-label { font-size: .9rem; font-weight: 650; color: var(--text-2); }
.show-index { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.s-tab { display: grid; align-content: start; gap: 5px; padding: 18px 20px; border: 1px solid var(--line-strong); border-radius: 12px; background: var(--surface); color: var(--text); cursor: pointer; text-align: left; transition: background .18s, border-color .18s, color .18s; }
.s-tab-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; color: var(--text-3); font: 500 .75rem/1 var(--font-mono); }
.s-tab-top .i { width: 17px; height: 17px; }
.s-tab-name { font: 650 1.06rem/1.3 var(--font-display); letter-spacing: -.01em; }
.s-tab-meta { font-size: .82rem; color: var(--text-3); }
.s-tab:hover { border-color: var(--text-3); background: var(--bg); }
.s-tab[aria-selected="true"] { background: #1E222D; border-color: #1E222D; color: #FFFFFF; box-shadow: inset 0 -3px 0 var(--volt); }
.s-tab[aria-selected="true"] .s-tab-top { color: #B0E654; }
.s-tab[aria-selected="true"] .s-tab-meta { color: #C6CCD5; }
:root[data-theme="dark"] .s-tab[aria-selected="true"] { border-color: var(--volt); background: #252B35; }
.s-nav { display: flex; flex: none; align-items: center; gap: 8px; }
.s-nav .icon-btn { width: 34px; height: 34px; }
.s-nav .i { width: 17px; height: 17px; }
.s-count { min-width: 5em; text-align: center; font-size: .85rem; color: var(--text-3); font-variant-numeric: tabular-nums; }
.s-count b { color: var(--text); }
.case-study { margin-top: 22px; border: 1px solid var(--line-strong); border-radius: 18px; background: var(--surface); overflow: hidden; }
/* Die gemeinsame Höhe verhindert Layoutsprünge beim Projektwechsel. */
.s-panels { display: grid; padding: clamp(24px, 3vw, 40px); }
.s-panel { grid-area: 1 / 1; visibility: hidden; opacity: 0; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .9fr); gap: 24px clamp(28px, 4vw, 56px); align-items: start; }
.s-panel.is-active { visibility: visible; opacity: 1; animation: panel-in .35s ease; }
@keyframes panel-in { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }
.s-panel-main, .s-panel-side { display: grid; align-content: start; gap: 14px; }
.s-panel-side { border-left: 1px solid var(--line); padding-left: clamp(24px, 3vw, 40px); }
.s-panel .h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); letter-spacing: -.02em; }
.s-panel-main > p:not(.ref-meta) { color: var(--text-2); font-size: 1rem; }
.ref-meta { font-size: .83rem; color: var(--text-3); }
.s-facts-title { font-size: .83rem; font-weight: 650; color: var(--text); }
.s-facts { list-style: none; display: grid; gap: 9px; }
.s-facts li { display: flex; align-items: start; gap: 9px; font-size: .87rem; color: var(--text-2); }
.s-facts .i { width: 17px; height: 17px; margin-top: 3px; color: var(--accent-text); }
.s-links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 3px; font-size: .9rem; }
.s-links .i { width: 16px; height: 16px; }
.s-preview { padding: 22px clamp(16px, 3vw, 36px) 24px; border-top: 1px solid var(--line); background: var(--bg); }
.s-preview-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; font-size: .8rem; color: var(--text-3); }
.s-preview-heading p { color: var(--text-2); font-weight: 600; }

/* Vorschau: ruhig beim Vorbeiscrollen, blätterbar erst nach Klick */
.s-frames { position: relative; padding-bottom: 38px; }
.s-browser {
  position: relative; border: 1px solid var(--line-strong); border-radius: 14px; overflow: hidden; background: var(--surface);
  box-shadow: 0 1px 0 rgba(20, 23, 31, .03), 0 30px 60px -36px rgba(20, 23, 31, .4);
  transition: box-shadow .25s ease, border-color .25s ease;
}
.s-top { display: flex; align-items: center; gap: 12px; height: 44px; padding: 0 8px 0 12px; background: var(--muted); border-bottom: 1px solid var(--line); }
.s-top .url { min-width: 0; }
.s-live-hint { display: none; margin-left: auto; font-size: .84rem; color: var(--text-3); white-space: nowrap; }
.s-hint-touch { display: none; }
@media (hover: none), (pointer: coarse) { .s-hint-fine { display: none; } .s-hint-touch { display: inline; } }
.s-done {
  display: none; flex: none; align-items: center; gap: 6px; height: 32px; padding: 0 12px 0 9px;
  border: 0; border-radius: 999px; background: var(--action); color: var(--on-action); font: 650 .86rem/1 var(--font-body); cursor: pointer;
}
.s-done .i { width: 15px; height: 15px; stroke-width: 2.4; }
.s-screens { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #fff; cursor: pointer; }
.s-screen { position: absolute; inset: 0; overflow: hidden; visibility: hidden; clip-path: inset(0 0 100% 0); scrollbar-width: thin; }
.s-screen img { display: block; width: 100%; height: auto; -webkit-user-drag: none; user-select: none; }
.s-screen.is-active { visibility: visible; clip-path: inset(0 0 0 0); z-index: 2; }
.s-screen.is-entering { visibility: visible; z-index: 3; animation: curtain .7s cubic-bezier(.65, .05, .2, 1) forwards; }
.s-screen.is-leaving { visibility: visible; clip-path: inset(0 0 0 0); z-index: 1; animation: recede .7s ease forwards; }
@keyframes curtain { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes recede { from { transform: scale(1); filter: brightness(1); } to { transform: scale(.94); filter: brightness(.55); } }
.s-live {
  position: absolute; left: 50%; bottom: 22px; z-index: 5; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 9px; min-height: 46px; padding: 0 20px 0 16px;
  border: 0; border-radius: 999px; background: var(--action); color: var(--on-action);
  font: 650 .95rem/1 var(--font-body); cursor: pointer; white-space: nowrap;
  box-shadow: 0 14px 30px -12px rgba(10, 12, 16, .55);
  transition: transform .2s ease, opacity .2s ease;
}
.s-live:hover { transform: translateX(-50%) translateY(-2px); }
.s-live .i { width: 18px; height: 18px; }
.s-frames.is-live .s-browser { border-color: var(--text); box-shadow: 0 0 0 3px var(--volt), 0 30px 60px -36px rgba(20, 23, 31, .4); }
.s-frames.is-live .s-screens { cursor: default; }
.s-frames.is-live .s-screen.is-active { overflow-y: auto; overscroll-behavior-y: auto; cursor: grab; touch-action: pan-y; }
.s-frames.is-live .s-screen.is-active.is-dragging { cursor: grabbing; }
.s-frames.is-live .s-live { opacity: 0; pointer-events: none; }
.s-frames.is-live .s-live-hint { display: inline; }
.s-frames.is-live .s-done { display: inline-flex; }
.s-frames.is-live .s-phone { opacity: 0; transform: translateY(24px); pointer-events: none; }

.s-phone {
  position: absolute; right: clamp(16px, 4%, 56px); bottom: 0; z-index: 4; width: clamp(128px, 16%, 204px);
  padding: 7px; border-radius: 28px; background: var(--bezel);
  box-shadow: 0 24px 50px -24px rgba(20, 23, 31, .55);
  transition: transform .45s cubic-bezier(.2, .8, .2, 1), opacity .3s ease;
}
.s-phone-screens { position: relative; aspect-ratio: 390 / 844; overflow: hidden; border-radius: 21px; background: #fff; }
.s-phone-screens img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; opacity: 0; transform: translateY(14%); transition: opacity .45s ease, transform .6s cubic-bezier(.2, .8, .2, 1); }
.s-phone-screens img.is-active { opacity: 1; transform: translateY(0); transition-delay: .18s; }
@media (prefers-reduced-motion: reduce) {
  .s-panel.is-active { animation: none; }
  .s-phone, .s-phone-screens img, .s-live, .s-tab { transition: none; }
}

@media (max-width: 900px) {
  .refs-intro { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .s-tab { padding: 16px; }
  .s-tab-name { font-size: .95rem; }
  .s-tab-meta { font-size: .75rem; }
  .s-panel { grid-template-columns: minmax(0, 1fr); }
  .s-panel-side { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; padding-top: 22px; }
}
@media (max-width: 600px) {
  .show-index { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .s-tab { padding: 14px; }
  .s-tab-top { margin-bottom: 5px; }
  .s-panels { padding: 24px 20px; }
  .case-study { border-radius: 14px; }
  .s-preview { padding: 18px 12px 16px; }
  .s-preview-heading { font-size: .72rem; gap: 8px; }
}
@media (max-width: 760px) {
  .s-screens { aspect-ratio: 4 / 3.6; }
  .s-live { bottom: 14px; min-height: 42px; font-size: .85rem; padding-inline: 12px; }
  .s-live-hint { display: none !important; }
  .s-phone { width: 28%; right: 10px; border-radius: 22px; padding: 5px; }
  .s-phone-screens { border-radius: 17px; }
}

/* ============================================================
   Leistung (merkmale + textblock)
   ============================================================ */
.ledger { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 48px; border: 1px solid var(--line); border-radius: var(--r-l); background: var(--surface); }
.ledger > div { padding: clamp(26px, 3.6vw, 48px); }
.ledger > div + div { border-left: 1px solid var(--line); }
.ledger .h3 { margin-bottom: 22px; }
.checks { list-style: none; display: grid; gap: 14px; }
.checks li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; align-items: start; }
.checks .i { width: 20px; height: 20px; margin-top: 3px; color: var(--accent-text); stroke-width: 2.2; }
.needs { list-style: none; display: grid; gap: 16px; }
.needs li { position: relative; padding-left: 32px; }
.needs li::before { content: ""; position: absolute; left: 1px; top: .42em; width: 15px; height: 15px; border: 1.75px solid var(--text-3); border-radius: 4px; }
.self-edit { display: flex; gap: 12px; align-items: flex-start; margin-top: 28px; padding: 16px 18px; border-radius: var(--r-m); background: var(--muted); font-size: .96rem; color: var(--text-2); }
.self-edit .i { margin-top: 2px; color: var(--text); }
@media (max-width: 860px) {
  .ledger { grid-template-columns: minmax(0, 1fr); }
  .ledger > div + div { border-left: 0; border-top: 1px solid var(--line); }
}

/* ============================================================
   Ablauf (ablauf, nummeriert)
   ============================================================ */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 58px clamp(24px, 3vw, 48px); margin-top: 64px; }
.step { position: relative; padding-top: 34px; border-top: 1.5px solid var(--line-strong); }
.step-num {
  position: absolute; top: -21px; left: 0;
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  font: 700 1rem/1 var(--font-display); font-variant-numeric: tabular-nums;
  background: var(--surface); border: 1.5px solid var(--line-strong);
}
.step .h3 { margin-bottom: 10px; font-size: 1.2rem; }
.step p { font-size: .98rem; color: var(--text-2); }
.step small { display: block; margin-top: 10px; font-size: .88rem; color: var(--text-3); }
.step--free { border-top-color: var(--volt); }
.step--free .step-num { background: var(--volt); border-color: var(--volt); color: var(--on-volt); }
.free { display: inline-block; margin-left: 8px; padding: 5px 8px 6px; border-radius: 5px; vertical-align: 3px; font: 650 .76rem/1 var(--font-body); background: var(--volt); color: var(--on-volt); }
.after-steps { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 20px; margin-top: 64px; }
.after-steps--single { grid-template-columns: minmax(0, 1fr); max-width: 860px; }
.note { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; align-items: start; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--r-m); background: var(--surface); text-align: left; }
.note-ic { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px; background: var(--muted); }
.note .h3 { margin-bottom: 6px; font-size: 1.06rem; }
.note p { font-size: .96rem; color: var(--text-2); }
.note--film { align-items: center; cursor: pointer; font: inherit; color: inherit; transition: border-color .15s ease; }
.note--film:hover { border-color: var(--text-3); }
.note-ic--play { border-radius: 50%; background: var(--action); color: var(--on-action); }
.note-ic--play .i { width: 16px; height: 16px; margin-left: 2px; fill: currentColor; }
.note-title { display: block; margin-bottom: 4px; font-size: 1.06rem; }
.note-text { display: block; font-size: .94rem; color: var(--text-2); }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .after-steps { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) { .steps { grid-template-columns: minmax(0, 1fr); gap: 50px; } }

/* ============================================================
   Preis (eckdaten + merkmale)
   ============================================================ */
.price-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); margin-top: 52px; align-items: start; }
.price-main { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: start; gap: 20px clamp(14px, 2.4vw, 32px); }
.price { min-width: 0; }
.num {
  font-family: var(--font-display); font-weight: 760; font-stretch: 112%;
  font-size: clamp(3.3rem, 2.4rem + 2.7vw, 5rem); line-height: .92; letter-spacing: -.04em;
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.num .from { margin-right: .12em; font-size: .3em; font-weight: 650; letter-spacing: 0; vertical-align: .2em; color: var(--text-2); }
.num .cur { margin-left: .06em; font-size: .52em; font-weight: 650; letter-spacing: 0; vertical-align: .62em; }
.per { margin-top: 14px; font-weight: 650; }
.gross { margin-top: 2px; font-size: .92rem; color: var(--text-3); }
.when { max-width: 17em; margin-top: 12px; font-size: .92rem; color: var(--text-2); }
.plus { padding-top: .12em; font: 300 clamp(2.6rem, 1.9rem + 2vw, 3.8rem)/1 var(--font-display); color: var(--text-3); }
.price-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 36px; }
.incl { padding: clamp(24px, 3vw, 36px); border: 1px solid var(--line); border-radius: var(--r-l); background: var(--surface); }
.incl .h3 { margin-bottom: 18px; }
.incl .checks { gap: 12px; font-size: .98rem; }
.terms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 48px; }
.term { display: grid; align-content: start; gap: 14px; padding: 26px 26px 28px; border: 1px solid var(--line); border-radius: var(--r-l); background: var(--surface); }
.term-h { display: flex; align-items: center; gap: 12px; font-size: 1.12rem; }
.term-ic { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 11px; background: var(--muted); }
.term-ic .i { width: 20px; height: 20px; }
.checks--sm { gap: 10px; font-size: .96rem; color: var(--text-2); }
.checks--sm .i { width: 18px; height: 18px; }
.price-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 36px; font-size: .92rem; color: var(--text-3); }
@media (max-width: 1020px) { .price-grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 860px) { .terms { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) {
  .price-main { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .plus { padding: 4px 0 6px; font-size: 2.2rem; }
}

/* ============================================================
   Eigentum (textblock + merkmale, Ton dunkel)
   ============================================================ */
.own { background: var(--deep); color: var(--deep-text); }
.own .section-head > p { color: var(--deep-text-2); }
.own-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 52px; border-top: 1px solid var(--deep-line); }
.own-item { display: grid; align-content: start; gap: 12px; padding: 34px clamp(20px, 3vw, 44px) 6px 0; }
.own-item + .own-item { padding-left: clamp(20px, 3vw, 44px); border-left: 1px solid var(--deep-line); }
.own-h { display: flex; align-items: center; gap: 12px; }
.own-ic { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 11px; background: rgba(255, 255, 255, .07); color: var(--deep-accent); }
.own-ic .i { width: 20px; height: 20px; }
.own-item .h3 { color: var(--deep-text); }
.own-item p { color: var(--deep-text-2); }
.own-more { margin-top: 40px; font-size: .96rem; color: var(--deep-text-2); }
.own-more a { font-weight: 650; color: var(--deep-text); text-decoration: underline; text-decoration-color: var(--deep-line); text-underline-offset: 5px; }
@media (max-width: 860px) {
  .own-grid { grid-template-columns: minmax(0, 1fr); }
  .own-item, .own-item + .own-item { padding: 26px 0; border-left: 0; }
  .own-item + .own-item { border-top: 1px solid var(--deep-line); }
}

/* ============================================================
   Film (video, selbst gehostet): eigener Abschnitt, Video mittig eingebaut
   ============================================================ */
.film-head { max-width: 40em; margin-inline: auto; text-align: center; }
.film-frame { max-width: 980px; margin: 40px auto 0; }
.film-poster {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; padding: 0;
  border: 0; border-radius: 18px; cursor: pointer; text-align: left; color: #F1F3F5;
  background: radial-gradient(70% 90% at 100% 100%, rgba(147, 212, 36, .22) 0%, rgba(147, 212, 36, 0) 60%), #040406;
  box-shadow: 0 40px 80px -48px rgba(10, 12, 16, .7);
}
.fp-top { position: absolute; left: 6%; right: 6%; top: 8%; display: flex; align-items: center; justify-content: space-between; }
.fp-logo { display: block; width: auto; height: clamp(18px, 2.3vw, 28px); }
.fp-len { padding: 5px 9px; border-radius: 6px; font: 600 .82rem/1 var(--font-body); font-variant-numeric: tabular-nums; background: rgba(255, 255, 255, .1); color: #D5DAE1; }
.fp-title { position: absolute; left: 6%; top: 50%; transform: translateY(-58%); max-width: 55%; font: 750 clamp(1.3rem, .8rem + 2.4vw, 2.8rem)/1.04 var(--font-display); font-stretch: 108%; letter-spacing: -.035em; color: #FFFFFF; }
.fp-scenes { position: absolute; left: 6%; right: 6%; bottom: 9%; display: flex; gap: 8px; }
.fp-scenes i { flex: 1; padding-top: 10px; border-top: 3px solid rgba(255, 255, 255, .16); font: 500 .8rem/1.2 var(--font-body); font-style: normal; color: #9CA4AF; }
.fp-scenes i:first-child { border-top-color: var(--volt); color: #E6EAEF; }
.fp-play {
  position: absolute; right: 9%; top: 50%; display: grid; place-items: center;
  width: clamp(60px, 9vw, 104px); aspect-ratio: 1; border-radius: 50%; transform: translateY(-58%);
  background: var(--volt); color: #14171F; box-shadow: 0 0 0 12px rgba(147, 212, 36, .16);
  transition: transform .2s ease, box-shadow .2s ease;
}
.fp-play .i { width: 34%; height: 34%; margin-left: 7%; fill: currentColor; }
.film-poster:hover .fp-play { transform: translateY(-58%) scale(1.06); box-shadow: 0 0 0 16px rgba(147, 212, 36, .2); }
.film-poster:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.film-sub { margin-top: 18px; text-align: center; font-size: .98rem; color: var(--text-2); }
.film-player { position: relative; overflow: hidden; border-radius: 18px; background: #040406; box-shadow: 0 40px 80px -48px rgba(10, 12, 16, .7); }
.film-video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #040406; }
.film-start {
  position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 16px;
  border: 0; padding: 0; cursor: pointer; color: #FFFFFF;
  background: linear-gradient(180deg, rgba(4, 4, 6, 0) 40%, rgba(4, 4, 6, .55) 100%);
}
.film-start[hidden] { display: none; }
.fs-play {
  display: grid; place-items: center; width: clamp(64px, 9vw, 104px); aspect-ratio: 1; border-radius: 50%;
  background: var(--volt); color: #14171F; box-shadow: 0 0 0 12px rgba(147, 212, 36, .22);
  transition: transform .2s ease, box-shadow .2s ease;
}
.fs-play .i { width: 34%; height: 34%; margin-left: 7%; fill: currentColor; }
.film-start:hover .fs-play { transform: scale(1.06); box-shadow: 0 0 0 16px rgba(147, 212, 36, .26); }
.film-start:focus-visible { outline: 3px solid var(--focus); outline-offset: -6px; }
.fs-label { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 999px; background: rgba(4, 4, 6, .72); font: 650 1rem/1 var(--font-body); }
.fs-len { font-variant-numeric: tabular-nums; color: #C9CED6; font-weight: 500; }
.dlg-video { background: #040406; }
.dlg-video .film-video { max-height: calc(92vh - 80px); }
@media (max-width: 640px) { .fs-label { font-size: .9rem; } .dlg-video { display: grid; align-content: center; flex: 1; } }
@media (max-width: 640px) {
  .film-poster { border-radius: 14px; }
  .fp-scenes i { font-size: 0; padding-top: 0; }
  .fp-title { max-width: 60%; }
  .fp-play { right: 7%; box-shadow: 0 0 0 7px rgba(147, 212, 36, .16); }
}

/* ============================================================
   Fragen (akkordeon) – am Schluss
   ============================================================ */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.45fr); gap: clamp(32px, 6vw, 96px); }
.faq-intro { align-self: start; position: sticky; top: calc(env(safe-area-inset-top, 0px) + var(--header-h) + 40px); }
.faq-intro p { margin-top: 18px; color: var(--text-2); }
.faq-intro a { font-weight: 650; color: var(--text); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-item > summary {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px 0; list-style: none; cursor: pointer;
  font: 620 1.14rem/1.35 var(--font-display); letter-spacing: -.01em;
}
.faq-item > summary::-webkit-details-marker { display: none; }
.pm { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-strong); transition: transform .2s ease, background-color .2s ease; }
.pm .i { width: 16px; height: 16px; stroke-width: 2.2; }
.faq-item[open] .pm { transform: rotate(45deg); background: var(--muted); }
.ans { max-width: 44em; padding: 0 56px 24px 0; color: var(--text-2); }
.ans p + p { margin-top: 10px; }
@media (max-width: 900px) { .faq-grid { grid-template-columns: minmax(0, 1fr); } .faq-intro { position: static; } }

/* ============================================================
   Dialog (Erklärfilm) und Formular-Zusätze
   ============================================================ */
.dlg {
  width: min(860px, calc(100vw - 32px)); max-height: min(92vh, 960px);
  margin: auto;
  padding: 0; border: 1px solid var(--line); border-radius: 18px;
  background: var(--surface); color: var(--text);
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .6);
}
.dlg[open] { display: flex; flex-direction: column; }
.dlg::backdrop { background: rgba(10, 12, 16, .62); }
.dlg-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 24px; border-bottom: 1px solid var(--line); }
.dlg-body { padding: 24px; overflow-y: auto; overscroll-behavior: contain; }
.icon-btn { display: inline-grid; place-items: center; flex: none; width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: 50%; background: var(--surface); color: var(--text); cursor: pointer; }
.icon-btn:hover { border-color: var(--text-3); }
body.dlg-open { overflow: hidden; }
@media (max-width: 640px) {
  .dlg { width: 100%; max-width: 100%; height: 100%; max-height: 100%; margin: 0; border: 0; border-radius: 0; }
  .dlg-head { padding-top: calc(16px + env(safe-area-inset-top, 0px)); }
  .dlg-body { padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px)); }
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer { padding-block: 52px 40px; background: var(--bg-header); border-top: 1px solid var(--line); }
.footer-row { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 28px; }
.footer-brand p { max-width: 30em; margin-top: 14px; font-size: .94rem; color: var(--text-2); }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: .96rem; }
.footer-links a { text-decoration: none; color: var(--text-2); }
.footer-links a:hover { color: var(--text); }
/* Rechtslinks nutzen den vorhandenen unteren Freiraum, ohne die Inhaltskoordinaten zu verschieben.
   Bei größerer Schrift darf der Footer weiter wachsen; es gibt keine feste Footerhöhe. */
.site-footer:has(.footer-legal) { padding-block-end: max(0px, calc(40px - 10px - 1.4rem)); }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 28px; margin-top: 10px; font-size: .86rem; line-height: 1.4rem; }
.footer-legal a { color: var(--text-2); text-decoration: none; }
.footer-legal a:hover { color: var(--text); }
.colophon { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .86rem; color: var(--text-3); }

/* ============================================================
   Mobile CTA-Leiste (Engine prüfen)
   ============================================================ */
.mobilebar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  display: none; gap: 10px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
  background: var(--bg-header); border-top: 1px solid var(--line);
}
.mobilebar .btn { flex: 1; min-height: 52px; padding-inline: 12px; }
.mobilebar { transform: translateY(110%); transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.mobilebar.is-visible { transform: none; }
@media (prefers-reduced-motion: reduce) { .mobilebar { transition: none; } }
@media (max-width: 760px) {
  .mobilebar { display: flex; }
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }
}


/* Einladung nach den Referenzen */
.reference-cta { padding-block: clamp(56px, 6vw, 88px); background: #1E222D; color: #F1F3F5; text-align: center; }
.reference-cta .container { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.reference-cta .eyebrow { color: #B0E654; font-size: .9rem; font-weight: 600; }
.reference-cta .h2 { max-width: 22ch; }
.reference-cta p:not(.eyebrow) { max-width: 40em; color: #B4BAC4; font-size: 1.08rem; }
.reference-cta .btn { margin-top: 6px; }
.reference-cta-note { color: #B4BAC4; font-size: .85rem; }
@media (max-width: 440px) { .reference-cta .btn { padding-inline: 16px; font-size: .92rem; } }
