/* ============================================================
   KI-Förderpartner Mittelstand — Landingpage
   Design-System: DZP-Branding (hell, Gold-Akzent, Archivo / IBM Plex)
   ============================================================ */

/* ---------- Fonts (selbst gehostet, DSGVO) ---------- */
@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans";
  src: url("../fonts/plexsans-var.woff2") format("woff2");
  font-weight: 100 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/plexmono-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/plexmono-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrumentserif-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrumentserif-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  /* DZP-Branding (dzp-website.vercel.app) */
  --bg: #F5F7FA;
  --surface: #FFFFFF;
  --surface-2: #E8ECF4;
  --ink: #132038;
  --muted: #5A6981;
  --line: #DCE3EE;
  --line-strong: #C9D2E0;

  --amber: #E8A61B;
  --amber-hover: #D69614;
  --amber-deep: #8F6608;   /* AA-sicher für kleinen Text */
  --amber-accent: #B8830F; /* große Serif-Akzente, große Zahlen */
  --amber-wash: #FBF2DD;

  --navy: #0C1526;
  --navy-2: #14213A;
  --navy-ink: #EAF0FA;
  --navy-muted: #9FAEC7;
  --navy-line: #243350;

  --good: #1E7A49;
  --good-wash: #E6F4EC;
  --bad: #B23A31;

  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "IBM Plex Sans", "Segoe UI", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", monospace;
  --font-serif: "Instrument Serif", Georgia, serif;

  --radius: 24px;
  --radius-s: 12px;
  --shadow-1: 0 6px 18px -8px rgba(12, 21, 38, 0.18);
  --shadow-2: 0 2px 4px rgba(12, 21, 38, 0.05), 0 18px 44px -10px rgba(12, 21, 38, 0.22);
  --container: 1140px;
  --header-h: 72px;
}

/* ---------- Reset / Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--amber-deep); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 4px; }
button { font: inherit; cursor: pointer; }
strong { font-weight: 600; }

h1, h2, h3 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  line-height: 1.08;
  text-wrap: balance;
  margin: 0;
}
h1 { font-size: clamp(2.45rem, 5.3vw, 3.95rem); font-weight: 800; letter-spacing: -0.028em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); font-weight: 500; }
h2 strong, h2 b { font-weight: 800; }
h3 { font-size: 1.16rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.3; }

.serif-accent {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--amber-accent);
}

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

section { position: relative; }
.section-pad { padding: 104px 0; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--amber); }

.lead { color: var(--muted); font-size: 1.11rem; max-width: 60ch; margin: 18px 0 0; }

/* ---------- Chips ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.07em;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--muted);
  white-space: nowrap;
}
.chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); flex: none; }
.chip--law { border-color: color-mix(in oklab, var(--amber) 45%, var(--line)); color: var(--amber-deep); background: var(--amber-wash); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.98rem;
  padding: 14px 27px;
  border-radius: 999px; /* DZP: Pill-Buttons */
  border: none;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
  will-change: transform;
}
.btn:active { transform: scale(0.975); }
.btn--primary {
  background: var(--amber);
  color: var(--navy);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), inset 0 -1px 0 rgba(184, 131, 15, 0.35), 0 10px 26px rgba(232, 166, 27, 0.35);
}
.btn--primary:hover { background: var(--amber-hover); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), inset 0 -1px 0 rgba(184, 131, 15, 0.35), 0 14px 32px rgba(232, 166, 27, 0.45); transform: translateY(-1px); }
.btn--primary .arrow { transition: transform 0.2s ease; }
.btn--primary:hover .arrow { transform: translateX(4px); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--line-strong);
}
.btn--ghost:hover { border-color: var(--ink); }
.btn--small { padding: 10px 18px; font-size: 0.92rem; }
.btn-micro {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-top: 12px;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.25s ease, box-shadow 0.25s ease, backdrop-filter 0.25s ease;
}
.site-header.scrolled {
  background: rgba(245, 247, 250, 0.92); /* Fallback für Safari < 16.2 */
  background: color-mix(in oklab, var(--bg) 88%, transparent);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line), 0 8px 24px rgba(20, 30, 49, 0.06);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; }
.wordmark {
  display: flex; align-items: center; gap: 11px;
  font-family: var(--font-display);
  font-weight: 800; font-size: 1.13rem; letter-spacing: -0.02em;
  color: var(--ink); text-decoration: none;
}
.wordmark .mark { width: 34px; height: 34px; flex: none; }
.wordmark small {
  display: block; font-family: var(--font-mono); font-weight: 400;
  font-size: 0.62rem; letter-spacing: 0.14em; color: var(--muted); text-transform: uppercase;
}
.header-right { display: flex; align-items: center; gap: 20px; }
.header-phone {
  font-family: var(--font-mono); font-size: 0.86rem; color: var(--ink);
  text-decoration: none; display: flex; align-items: center; gap: 8px;
}
.header-phone:hover { color: var(--amber-deep); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 72px) 0 96px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(52rem 30rem at 88% -8%, rgba(232, 166, 27, 0.14), transparent 60%),
    radial-gradient(46rem 30rem at -12% 108%, rgba(12, 21, 38, 0.09), transparent 60%),
    var(--bg);
}
.hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(20, 30, 49, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(20, 30, 49, 0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(75rem 42rem at 60% 0%, black 25%, transparent 72%);
  -webkit-mask-image: radial-gradient(75rem 42rem at 60% 0%, black 25%, transparent 72%);
}
.hero .container {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 56px;
  align-items: center;
}
.hero-copy .chip { margin-bottom: 26px; }
.hero-sub { color: var(--muted); font-size: 1.16rem; max-width: 54ch; margin: 24px 0 34px; }
.hero-sub strong { color: var(--ink); }
.hero-cta-row { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; }
.hero-trust {
  display: flex; flex-wrap: wrap; gap: 10px 22px;
  margin-top: 34px;
  font-size: 0.9rem; color: var(--muted);
}
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust svg { width: 17px; height: 17px; color: var(--good); flex: none; }

/* Hero-Entrance */
.hero [data-entrance] { opacity: 0; transform: translateY(22px); }
.hero.entered [data-entrance] {
  opacity: 1; transform: none;
  transition: opacity 0.65s cubic-bezier(0.2, 0.65, 0.25, 1), transform 0.65s cubic-bezier(0.2, 0.65, 0.25, 1);
}
.hero.entered [data-entrance="1"] { transition-delay: 0.05s; }
.hero.entered [data-entrance="2"] { transition-delay: 0.16s; }
.hero.entered [data-entrance="3"] { transition-delay: 0.30s; }
.hero.entered [data-entrance="4"] { transition-delay: 0.44s; }
.hero.entered [data-entrance="5"] { transition-delay: 0.58s; }
.hero.entered [data-entrance="6"] { transition-delay: 0.55s; }

/* ---------- Förder-Ticket ---------- */
.ticket-wrap { position: relative; display: flex; justify-content: center; }
.ticket {
  position: relative;
  width: min(430px, 100%);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow-2);
  transform: rotate(-1.6deg);
  transition: transform 0.4s cubic-bezier(0.2, 0.65, 0.25, 1);
}
.ticket:hover { transform: rotate(0deg); }
.ticket-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 20px 26px 16px;
}
.ticket-head .t-label {
  font-family: var(--font-mono); font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted);
}
.ticket-head .t-badge {
  font-family: var(--font-mono); font-size: 0.66rem; font-weight: 500; letter-spacing: 0.1em;
  color: var(--amber-deep); background: var(--amber-wash);
  border: 1px solid color-mix(in oklab, var(--amber) 40%, var(--line));
  padding: 4px 10px; border-radius: 999px; white-space: nowrap;
}
.ticket-rows { padding: 4px 26px 8px; }
.ticket-row {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding: 13px 0;
  border-bottom: 1px dashed var(--line);
}
.ticket-row .r-label { font-size: 0.92rem; color: var(--muted); }
.ticket-row .r-label b { display: block; color: var(--ink); font-weight: 600; font-size: 0.98rem; }
.ticket-row .r-value {
  font-family: var(--font-display); font-weight: 800; font-size: 1.42rem;
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.ticket-row .r-value small {
  display: block; text-align: right; font-family: var(--font-mono); font-weight: 400;
  font-size: 0.68rem; letter-spacing: 0.06em; color: var(--amber-deep);
}
/* Perforation */
.ticket-tear {
  position: relative; height: 26px; margin: 2px 0 0;
}
.ticket-tear::before, .ticket-tear::after {
  content: ""; position: absolute; top: 50%; width: 26px; height: 26px;
  border-radius: 50%; background: var(--bg); border: 1px solid var(--line);
  transform: translateY(-50%);
}
.ticket-tear::before { left: -14px; }
.ticket-tear::after { right: -14px; }
.ticket-tear .dashes {
  position: absolute; left: 26px; right: 26px; top: 50%; height: 0;
  border-top: 2px dashed var(--line-strong);
}
.ticket-total {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 26px 24px;
}
.ticket-total .r-label { font-weight: 600; font-size: 1.02rem; }
.ticket-total .r-value {
  font-family: var(--font-display); font-weight: 800; font-size: 2rem;
  color: var(--good); font-variant-numeric: tabular-nums;
}
.ticket-foot {
  padding: 0 26px 20px;
  font-size: 0.72rem; line-height: 1.5; color: var(--muted);
}
.ticket-stamp {
  position: absolute; top: -17px; right: 22px;
  background: var(--navy); color: var(--navy-ink);
  font-family: var(--font-mono); font-size: 0.66rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 8px 14px; border-radius: 8px;
  box-shadow: var(--shadow-1);
  transform: rotate(2.4deg);
}

/* ---------- Trust-Bar ---------- */
.trustbar { border-block: 1px solid var(--line); background: var(--surface); }
.trustbar .container {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 12px 34px; padding-block: 18px;
}
.trust-item {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 0.9rem; color: var(--muted); white-space: nowrap;
}
.trust-item svg { width: 18px; height: 18px; color: var(--amber-deep); flex: none; }
.trust-item b { color: var(--ink); font-weight: 600; }

/* ---------- Stats (Problem) ---------- */
.stats-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; margin-top: 52px;
}
.stat-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 30px 26px;
  box-shadow: var(--shadow-1);
}
.stat-card .s-value {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.3rem, 3.6vw, 3rem); line-height: 1;
  letter-spacing: -0.02em; font-variant-numeric: tabular-nums;
}
.stat-card .s-value .vs { color: var(--line-strong); font-weight: 700; padding: 0 2px; }
.stat-card .s-value .accent { color: var(--amber-accent); }
.stat-card .s-text { color: var(--muted); font-size: 0.96rem; margin: 14px 0 18px; }
.stat-card .s-text b { color: var(--ink); font-weight: 600; }
.stat-card .chip { font-size: 0.66rem; }

/* ---------- Rechner ---------- */
.calc-section { background: var(--surface); border-block: 1px solid var(--line); }
.calc-grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 64px; align-items: center;
}
.calc-copy .lead { margin-bottom: 30px; }
.calc-points { list-style: none; margin: 0 0 34px; padding: 0; display: grid; gap: 14px; }
.calc-points li { display: flex; gap: 12px; align-items: flex-start; font-size: 1rem; }
.calc-points svg { width: 20px; height: 20px; color: var(--good); flex: none; margin-top: 3px; }

.calc-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 30px;
  box-shadow: var(--shadow-1);
}
.calc-label {
  font-family: var(--font-mono); font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.13em; text-transform: uppercase; color: var(--muted);
  display: block; margin-bottom: 10px;
}
.calc-field { margin-bottom: 22px; }
.seg {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px;
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: var(--radius-s); padding: 5px;
}
.seg button {
  border: none; background: transparent; border-radius: 7px;
  font-family: var(--font-body); font-weight: 600; font-size: 0.9rem;
  padding: 10px 6px; color: var(--muted);
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}
.seg button[aria-pressed="true"] {
  background: var(--surface); color: var(--ink);
  box-shadow: 0 1px 3px rgba(20, 30, 49, 0.14);
}
.stepper {
  display: flex; align-items: center; gap: 4px;
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: var(--radius-s); padding: 5px; width: fit-content;
}
.stepper button {
  width: 42px; height: 42px; border: none; border-radius: 7px;
  background: var(--surface); color: var(--ink);
  font-size: 1.25rem; font-weight: 600; line-height: 1;
  box-shadow: 0 1px 3px rgba(20, 30, 49, 0.1);
  transition: background 0.15s ease, transform 0.1s ease;
}
.stepper button:hover { background: var(--amber-wash); }
.stepper button:active { transform: scale(0.94); }
.stepper output {
  min-width: 84px; text-align: center;
  font-family: var(--font-display); font-weight: 800; font-size: 1.3rem;
  font-variant-numeric: tabular-nums;
}
.stepper output small { display: block; font-family: var(--font-mono); font-weight: 400; font-size: 0.62rem; letter-spacing: 0.1em; color: var(--muted); }
.toggle-row {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 4px 0;
}
.toggle-row .t-text { font-size: 0.94rem; }
.toggle-row .t-text small { display: block; color: var(--muted); font-size: 0.8rem; }
.switch {
  position: relative; width: 52px; height: 30px; flex: none;
  border-radius: 999px; border: 1px solid var(--line-strong);
  background: var(--surface-2); transition: background 0.2s ease, border-color 0.2s ease;
}
.switch::after {
  content: ""; position: absolute; top: 3px; left: 3px;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--surface); box-shadow: 0 1px 3px rgba(20, 30, 49, 0.25);
  transition: transform 0.2s cubic-bezier(0.3, 0.8, 0.4, 1.2);
}
.switch[aria-checked="true"] { background: var(--amber); border-color: var(--amber-hover); }
.switch[aria-checked="true"]::after { transform: translateX(22px); }

.calc-results { margin-top: 8px; border-top: 1px solid var(--line); padding-top: 6px; }
.calc-row {
  display: flex; align-items: baseline; justify-content: space-between; gap: 14px;
  padding: 12px 0; border-bottom: 1px dashed var(--line);
}
.calc-row .c-label { font-size: 0.94rem; color: var(--muted); }
.calc-row .c-label small { display: block; font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.05em; color: var(--amber-deep); }
.calc-row .c-value {
  font-family: var(--font-display); font-weight: 800; font-size: 1.35rem;
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.calc-row--total { border-bottom: none; padding-top: 16px; }
.calc-row--total .c-label { color: var(--ink); font-weight: 600; font-size: 1.02rem; }
.calc-row--total .c-value { font-size: 1.9rem; color: var(--amber-accent); }
.calc-own { margin-top: 6px; border-radius: var(--radius-s); background: var(--good-wash); border: 1px solid color-mix(in oklab, var(--good) 25%, var(--line)); padding: 12px 16px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.calc-own .c-label { font-weight: 600; font-size: 0.98rem; color: var(--ink); }
.calc-own .c-value { font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; color: var(--good); font-variant-numeric: tabular-nums; }
.calc-note { font-size: 0.74rem; line-height: 1.55; color: var(--muted); margin-top: 16px; }
.calc-hint {
  margin-top: 14px;
  border-left: 3px solid var(--amber);
  background: var(--amber-wash);
  border-radius: 0 var(--radius-s) var(--radius-s) 0;
  padding: 12px 16px;
  font-size: 0.86rem;
  line-height: 1.5;
}
.calc-hint b { font-weight: 600; }

/* ---------- Benefits ---------- */
.benefit-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 20px; margin-top: 52px;
}
.benefit-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px;
  box-shadow: var(--shadow-1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.benefit-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.benefit-icon {
  width: 52px; height: 52px; border-radius: 13px;
  background: var(--amber-wash);
  border: 1px solid color-mix(in oklab, var(--amber) 30%, var(--line));
  display: grid; place-items: center; margin-bottom: 20px;
}
.benefit-icon svg { width: 26px; height: 26px; color: var(--amber-deep); }
.benefit-card p { color: var(--muted); font-size: 0.97rem; margin: 10px 0 0; }
.benefit-card p b { color: var(--ink); font-weight: 600; }
.format-line {
  margin-top: 34px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
}

/* ---------- Prozess ---------- */
.process-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; margin-top: 56px;
  counter-reset: pstep;
}
.process-card { position: relative; counter-increment: pstep; padding-top: 26px; }
.process-card .p-num {
  position: absolute; top: 0; left: 0;
  font-family: var(--font-display); font-weight: 800;
  font-size: 3.4rem; line-height: 1; letter-spacing: -0.03em;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--line-strong);
}
.process-card .p-body {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px; height: 100%;
  box-shadow: var(--shadow-1); position: relative;
}
.process-card .p-chip { margin-bottom: 16px; }
.process-card p { color: var(--muted); font-size: 0.96rem; margin: 10px 0 0; }
.process-card p b { color: var(--ink); font-weight: 600; }
.process-cta { text-align: center; margin-top: 52px; }

/* ---------- AI-Act-Band (Navy) ---------- */
.aiact { background: var(--navy); color: var(--navy-ink); overflow: hidden; }
.aiact .container { position: relative; }
.aiact-glow {
  position: absolute; inset: -80px -200px auto auto; width: 560px; height: 420px;
  background: radial-gradient(closest-side, rgba(232, 166, 27, 0.16), transparent);
  pointer-events: none;
}
.aiact .eyebrow { color: var(--amber); }
.aiact .eyebrow::before { background: var(--amber); }
.aiact h2 { color: var(--navy-ink); }
.aiact .lead { color: var(--navy-muted); }
.aiact-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 60px; align-items: center; }
.aiact-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.aiact-facts li {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 17px 0; border-bottom: 1px solid var(--navy-line);
  font-size: 0.99rem; color: var(--navy-muted);
}
.aiact-facts li:last-child { border-bottom: none; }
.aiact-facts b { color: var(--navy-ink); font-weight: 600; }
.aiact-facts svg { width: 20px; height: 20px; color: var(--amber); flex: none; margin-top: 3px; }
.aiact .chip { background: var(--navy-2); border-color: var(--navy-line); color: var(--navy-muted); }
.aiact .chip .dot { background: var(--amber); }

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 52px; }
.testi-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 32px;
  box-shadow: var(--shadow-1);
  display: flex; flex-direction: column; gap: 22px;
}
.testi-quote { font-size: 1.06rem; line-height: 1.6; margin: 0; }
.testi-quote::before { content: "„"; font-family: var(--font-serif); font-size: 2.2rem; line-height: 0; vertical-align: -0.35em; color: var(--amber); margin-right: 2px; }
.testi-person { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.testi-avatar {
  width: 52px; height: 52px; border-radius: 50%; flex: none;
  background: var(--surface-2); border: 1px dashed var(--line-strong);
  display: grid; place-items: center; overflow: hidden;
  font-family: var(--font-mono); font-size: 0.58rem; color: var(--muted); text-align: center;
}
.testi-avatar img { width: 100%; height: 100%; object-fit: cover; }
.testi-person .t-name { font-weight: 600; font-size: 0.97rem; }
.testi-person .t-role { color: var(--muted); font-size: 0.85rem; }
.testi-result {
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.05em;
  color: var(--good); background: var(--good-wash);
  border: 1px solid color-mix(in oklab, var(--good) 25%, var(--line));
  border-radius: 999px; padding: 5px 12px; width: fit-content;
}
.placeholder-note {
  margin-top: 26px; text-align: center;
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.06em; color: var(--muted);
}

/* ---------- Über uns ---------- */
.about { background: var(--surface); border-block: 1px solid var(--line); }
.about-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 64px; align-items: center; }
.about-photo {
  aspect-ratio: 4 / 4.6; border-radius: 18px; overflow: hidden; position: relative;
  background:
    radial-gradient(24rem 18rem at 80% 0%, rgba(232, 166, 27, 0.18), transparent 60%),
    var(--surface-2);
  border: 1px dashed var(--line-strong);
  display: grid; place-items: center;
}
.about-photo .ph-inner { text-align: center; padding: 24px; color: var(--muted); }
.about-photo .ph-inner svg { width: 64px; height: 64px; margin: 0 auto 14px; color: var(--line-strong); }
.about-photo .ph-inner span { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.08em; display: block; }
.about-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.about-points { list-style: none; margin: 26px 0 30px; padding: 0; display: grid; gap: 13px; }
.about-points li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.99rem; color: var(--muted); }
.about-points b { color: var(--ink); font-weight: 600; }
.about-points svg { width: 20px; height: 20px; color: var(--amber-deep); flex: none; margin-top: 3px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 780px; margin: 52px auto 0; display: grid; gap: 12px; }
.faq-item {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-s); overflow: hidden;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.faq-item.open { box-shadow: var(--shadow-1); border-color: var(--line-strong); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 18px;
  background: none; border: none; text-align: left;
  padding: 20px 24px;
  font-family: var(--font-body); font-weight: 600; font-size: 1.01rem; color: var(--ink);
}
.faq-q .fx {
  position: relative; width: 22px; height: 22px; flex: none;
  border-radius: 50%;
}
.faq-q .fx::before, .faq-q .fx::after {
  content: ""; position: absolute; background: var(--amber-deep); border-radius: 2px;
  top: 50%; left: 50%; transition: transform 0.25s ease;
}
.faq-q .fx::before { width: 14px; height: 2px; transform: translate(-50%, -50%); }
.faq-q .fx::after { width: 2px; height: 14px; transform: translate(-50%, -50%); }
.faq-item.open .faq-q .fx::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-a {
  display: grid; grid-template-rows: 0fr;
  visibility: hidden;
  transition: grid-template-rows 0.32s cubic-bezier(0.3, 0.7, 0.3, 1), visibility 0s linear 0.32s;
}
.faq-item.open .faq-a { grid-template-rows: 1fr; visibility: visible; transition-delay: 0s, 0s; }
.faq-a > div { overflow: hidden; }
.faq-a p { margin: 0; padding: 0 24px 22px; color: var(--muted); font-size: 0.97rem; max-width: 66ch; }
.faq-a p b { color: var(--ink); font-weight: 600; }

/* ---------- Final CTA ---------- */
.final { background: var(--navy); color: var(--navy-ink); text-align: center; overflow: hidden; position: relative; }
.final::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(40rem 24rem at 50% 120%, rgba(232, 166, 27, 0.2), transparent 65%);
}
.final .container { position: relative; max-width: 780px; }
.final h2 { color: var(--navy-ink); font-size: clamp(2rem, 4vw, 2.9rem); }
.final .lead { color: var(--navy-muted); margin-inline: auto; }
.final .btn--primary { margin-top: 36px; }
.final .btn-micro { color: var(--navy-muted); }
.final .urgency {
  margin-top: 30px; display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-mono); font-size: 0.76rem; letter-spacing: 0.05em;
  color: var(--navy-muted);
}
.final .urgency .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); animation: pulse 2.2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.4; transform: scale(0.8); } }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--navy-muted); border-top: 1px solid var(--navy-line); padding: 56px 0 48px; font-size: 0.88rem; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px; align-items: flex-start; }
.site-footer .wordmark { color: var(--navy-ink); }
.site-footer .wordmark small { color: var(--navy-muted); }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-links a { color: var(--navy-muted); text-decoration: none; }
.footer-links a:hover { color: var(--navy-ink); }
.footer-note { margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--navy-line); font-size: 0.76rem; line-height: 1.6; max-width: 88ch; }

/* ---------- Sticky CTA ---------- */
.sticky-cta {
  position: fixed; z-index: 55; left: 0; right: 0; bottom: 0;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.94); /* Fallback für Safari < 16.2 */
  background: color-mix(in oklab, var(--surface) 92%, transparent);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 30px rgba(20, 30, 49, 0.1);
  display: flex; align-items: center; justify-content: center; gap: 18px;
  transform: translateY(110%);
  transition: transform 0.35s cubic-bezier(0.3, 0.7, 0.3, 1);
}
.sticky-cta.visible { transform: translateY(0); }
.sticky-cta .s-text { font-size: 0.92rem; font-weight: 600; }
.sticky-cta .s-text small { display: block; font-weight: 400; color: var(--muted); font-size: 0.78rem; }

/* ---------- Quiz Overlay ---------- */
.quiz {
  position: fixed; inset: 0; z-index: 100;
  background: var(--bg);
  display: none;
  flex-direction: column;
  overscroll-behavior: contain;
}
.quiz.open { display: flex; }
.quiz-top {
  display: flex; align-items: center; gap: 18px;
  padding: 18px 22px;
  max-width: 860px; width: 100%; margin: 0 auto;
}
.quiz-top .wordmark { font-size: 1rem; }
.quiz-top .wordmark .mark { width: 28px; height: 28px; }
.quiz-progress { flex: 1; display: flex; align-items: center; gap: 14px; }
.quiz-progress .bar {
  flex: 1; height: 8px; border-radius: 99px; background: var(--surface-2);
  border: 1px solid var(--line); overflow: hidden;
}
.quiz-progress .fill {
  height: 100%; width: 0; border-radius: 99px;
  background: linear-gradient(90deg, var(--amber), var(--amber-hover));
  transition: width 0.4s cubic-bezier(0.3, 0.7, 0.3, 1);
}
.quiz-progress .step-label {
  font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.08em;
  color: var(--muted); white-space: nowrap;
}
.quiz-close {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line-strong); background: var(--surface);
  display: grid; place-items: center; color: var(--muted);
  transition: color 0.15s ease, border-color 0.15s ease;
}
.quiz-close:hover { color: var(--ink); border-color: var(--ink); }
.quiz-close svg { width: 16px; height: 16px; }

.quiz-body {
  flex: 1; overflow-y: auto;
  display: flex; flex-direction: column;
  width: 100%;
}
.quiz-screen {
  max-width: 700px; width: 100%; margin: 0 auto;
  padding: 34px 22px 60px;
  flex: 1; display: flex; flex-direction: column; justify-content: flex-start;
}
.quiz-screen.anim-in { animation: qIn 0.32s cubic-bezier(0.25, 0.7, 0.3, 1) both; }
.quiz-screen.anim-out { animation: qOut 0.22s ease both; }
@keyframes qIn { from { opacity: 0; transform: translateX(36px); } to { opacity: 1; transform: none; } }
@keyframes qOut { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateX(-30px); } }

.quiz-kicker {
  font-family: var(--font-mono); font-size: 0.7rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink);
  margin-bottom: 14px;
}
.quiz-question { font-size: clamp(1.5rem, 3.4vw, 2.1rem); font-weight: 800; margin-bottom: 8px; }
.quiz-hint { color: var(--muted); font-size: 0.97rem; margin: 6px 0 28px; }

.answer-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.answer-grid--1col { grid-template-columns: 1fr; }
.answer-grid--chips { grid-template-columns: repeat(4, 1fr); gap: 9px; }
.answer {
  display: flex; align-items: center; gap: 14px;
  min-width: 0;
  background: var(--surface); border: 1.5px solid var(--line);
  border-radius: var(--radius-s);
  padding: 18px 20px; text-align: left;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem; color: var(--ink);
  min-height: 62px;
  transition: border-color 0.15s ease, background 0.15s ease, transform 0.12s ease, box-shadow 0.15s ease;
}
.answer:hover { border-color: var(--amber); box-shadow: var(--shadow-1); transform: translateY(-1px); }
.answer:active { transform: scale(0.985); }
.answer small { display: block; font-weight: 400; color: var(--muted); font-size: 0.82rem; margin-top: 2px; }
.answer .a-icon {
  width: 40px; height: 40px; border-radius: 10px; flex: none;
  background: var(--amber-wash); border: 1px solid color-mix(in oklab, var(--amber) 25%, var(--line));
  display: grid; place-items: center;
}
.answer .a-icon svg { width: 21px; height: 21px; color: var(--amber-deep); }
.answer--chip {
  justify-content: center; text-align: center; padding: 13px 8px; min-height: 48px;
  font-size: 0.9rem; hyphens: auto; overflow-wrap: break-word;
}
.answer.selected { border-color: var(--amber); background: var(--amber-wash); }

.quiz-back {
  margin-top: 28px; align-self: flex-start;
  display: inline-flex; align-items: center; gap: 8px;
  background: none; border: none; color: var(--muted);
  font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.06em;
  padding: 8px 0;
}
.quiz-back:hover { color: var(--ink); }

/* Auswertung */
.quiz-loading { text-align: center; margin: auto; padding: 40px 0; }
.quiz-loading .spinner {
  width: 60px; height: 60px; margin: 0 auto 30px;
  border-radius: 50%;
  border: 3px solid var(--line);
  border-top-color: var(--amber);
  animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.quiz-loading h3 { font-size: 1.4rem; }
.check-list { list-style: none; margin: 26px auto 0; padding: 0; max-width: 340px; text-align: left; display: grid; gap: 12px; }
.check-list li {
  display: flex; align-items: center; gap: 11px;
  font-size: 0.95rem; color: var(--muted);
  opacity: 0; transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.check-list li.done { opacity: 1; transform: none; color: var(--ink); }
.check-list svg { width: 19px; height: 19px; color: var(--good); flex: none; }

/* Gate */
.gate-teaser {
  display: flex; align-items: center; gap: 12px;
  background: var(--good-wash); border: 1px solid color-mix(in oklab, var(--good) 25%, var(--line));
  border-radius: var(--radius-s); padding: 14px 18px; margin-bottom: 28px;
  font-size: 0.95rem;
}
.gate-teaser svg { width: 22px; height: 22px; color: var(--good); flex: none; }
.gate-form { display: grid; gap: 16px; }
.gate-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label {
  display: block; font-weight: 600; font-size: 0.88rem; margin-bottom: 7px;
}
.field label small { font-weight: 400; color: var(--muted); }
.field input {
  width: 100%; padding: 14px 16px;
  border: 1.5px solid var(--line-strong); border-radius: var(--radius-s);
  background: var(--surface); color: var(--ink);
  font-family: var(--font-body); font-size: 1rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 3px rgba(232, 166, 27, 0.18); }
.field input.invalid { border-color: var(--bad); }
.field .err { display: none; color: var(--bad); font-size: 0.8rem; margin-top: 5px; }
.field.show-err .err { display: block; }
.consent { display: flex; gap: 11px; align-items: flex-start; font-size: 0.8rem; color: var(--muted); line-height: 1.5; }
.consent input { width: 17px; height: 17px; margin-top: 2px; accent-color: var(--amber); flex: none; }
.gate-trust {
  display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 4px;
  font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.05em; color: var(--muted);
}
.gate-trust span { display: inline-flex; align-items: center; gap: 6px; }
.gate-trust svg { width: 14px; height: 14px; color: var(--good); }

/* Ergebnis */
.result-head { display: grid; grid-template-columns: auto 1fr; gap: 30px; align-items: center; margin-bottom: 30px; }
.score-ring { position: relative; width: 148px; height: 148px; }
.score-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.score-ring .ring-bg { fill: none; stroke: var(--surface-2); stroke-width: 11; }
.score-ring .ring-val {
  fill: none; stroke: var(--amber); stroke-width: 11; stroke-linecap: round;
  transition: stroke-dashoffset 1.3s cubic-bezier(0.3, 0.7, 0.3, 1);
}
.score-ring .score-num {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: 2.3rem;
  font-variant-numeric: tabular-nums;
}
.score-ring .score-num small { position: absolute; bottom: 30px; font-family: var(--font-mono); font-weight: 400; font-size: 0.6rem; letter-spacing: 0.1em; color: var(--muted); }
.result-label .r-segment {
  font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--amber-deep); margin-bottom: 8px; display: block;
}
.result-label h3 { font-size: 1.55rem; }
.result-label p { color: var(--muted); margin: 8px 0 0; font-size: 0.98rem; }
.result-funding {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-1); margin-bottom: 18px;
}
.result-funding h4 { font-family: var(--font-display); font-size: 1.05rem; margin: 0 0 14px; }
.result-rows { display: grid; gap: 0; }
.result-row { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 0.95rem; }
.result-row:last-child { border-bottom: none; }
.result-row .v { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.result-row .v.highlight { color: var(--good); font-size: 1.3rem; }
.result-personal {
  border-left: 3px solid var(--amber); background: var(--amber-wash);
  border-radius: 0 var(--radius-s) var(--radius-s) 0;
  padding: 16px 20px; font-size: 0.95rem; margin-bottom: 26px;
}
.result-note { font-size: 0.76rem; color: var(--muted); line-height: 1.55; margin-top: 22px; }
.result-cta { display: grid; gap: 12px; }
.result-cta .btn { width: 100%; }

/* Erfolgs-/Warnhinweis */
.warn-box {
  border-left: 3px solid var(--bad); background: #FBECEA;
  border-radius: 0 var(--radius-s) var(--radius-s) 0;
  padding: 14px 18px; font-size: 0.9rem; color: var(--ink); margin-bottom: 22px;
}

/* ---------- Scroll-Reveals ---------- */
.reveal { opacity: 0; transform: translateY(26px); }
.reveal.in {
  opacity: 1; transform: none;
  transition: opacity 0.6s cubic-bezier(0.2, 0.65, 0.25, 1), transform 0.6s cubic-bezier(0.2, 0.65, 0.25, 1);
}
.reveal[data-delay="1"].in { transition-delay: 0.1s; }
.reveal[data-delay="2"].in { transition-delay: 0.2s; }
.reveal[data-delay="3"].in { transition-delay: 0.3s; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .section-pad { padding: 76px 0; }
  .hero .container { grid-template-columns: 1fr; gap: 48px; }
  .ticket { transform: rotate(0); }
  .stats-grid, .process-grid { grid-template-columns: 1fr; }
  .calc-grid, .aiact-grid, .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .testi-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 420px; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .section-pad { padding: 60px 0; }
  .trust-item { white-space: normal; text-align: center; justify-content: center; }
  .chip { white-space: normal; text-align: center; }
  .answer-grid--chips .answer--chip { font-size: 0.82rem; padding-inline: 6px; }
  .hero { padding-top: calc(var(--header-h) + 40px); padding-bottom: 64px; }
  .hero-sub { font-size: 1.05rem; }
  .header-phone .num { display: none; }
  .benefit-grid { grid-template-columns: 1fr; }
  .answer-grid { grid-template-columns: 1fr; }
  .answer-grid--chips { grid-template-columns: repeat(2, 1fr); }
  .gate-row { grid-template-columns: 1fr; }
  .result-head { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .btn { width: 100%; }
  .hero-cta-row .btn--ghost { width: 100%; }
  .sticky-cta .s-text small { display: none; }
  .ticket-stamp { right: 12px; }
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal, .hero [data-entrance] { opacity: 1 !important; transform: none !important; }
  .check-list li { opacity: 1; transform: none; }
}
