/* ============================================================
   Consentes – Landingpage Design-System  ·  Premium / Editorial
   Gemeinsames Stylesheet für Einkommensbescheinigung & Prüfungsbericht
   Barrierefrei, DSGVO-freundlich (keine externen Fonts/Requests)
   ============================================================ */

:root {
  /* Neutrale, warme Editorial-Palette */
  --ink:         #15191e;   /* Überschriften */
  --body:        #454c56;   /* Fließtext */
  --muted:       #79808b;
  --bg:          #f6f4ef;   /* warmes Papier */
  --bg-alt:      #efece3;
  --surface:     #ffffff;
  --field-bg:    #ffffff;   /* Formularfelder */
  --header-bg:   rgba(246,244,239,.82);
  --header-bg-scrolled: rgba(255,255,255,.9);

  /* Dunkle Sektionen */
  --navy:        #141d2b;
  --navy-800:    #1c2842;
  --navy-700:    #26385f;

  /* Akzent (Theme-Variable – pro Site überschreibbar) */
  --accent:      #12a08f;
  --accent-strong:#0c7f72;
  --accent-soft: #e7f4f1;
  --accent-ink:  #0a5c52;

  --gold:        #b08a3e;
  --gold-soft:   #f3ecdb;

  --line:        #e8e2d6;   /* warme Haarlinie */
  --line-strong: #d9d2c3;
  --ring:        rgba(18,160,143,.28);

  --danger:      #c0392b;

  --radius:      14px;
  --radius-sm:   9px;
  --radius-lg:   22px;
  --shadow-sm:   0 1px 2px rgba(20,24,29,.04), 0 2px 8px rgba(20,24,29,.05);
  --shadow:      0 12px 34px rgba(20,24,29,.09);
  --shadow-lg:   0 34px 74px rgba(20,24,29,.15);
  --shadow-accent:0 16px 38px rgba(18,160,143,.26);

  --container:   1180px;
  --measure:     720px;

  --font-sans: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --font-serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, "Times New Roman", serif;

  color-scheme: light;
}

/* ============================================================
   Dark Mode
   Aktiviert über [data-theme="dark"] am <html>-Element.
   Ein Inline-Skript im <head> setzt das Attribut anhand der
   gespeicherten Wahl bzw. der Systemvorliebe (kein Flackern).
   Fallback ohne JS: Systemvorliebe via prefers-color-scheme.
   ============================================================ */
:root[data-theme="dark"] {
  color-scheme: dark;

  --ink:         #eceff4;
  --body:        #b7bfcb;
  --muted:       #848d9a;
  --bg:          #0e131a;   /* tiefes Nachtblau-Schwarz */
  --bg-alt:      #141b24;
  --surface:     #18202b;
  --field-bg:    #10171f;
  --header-bg:   rgba(14,19,26,.80);
  --header-bg-scrolled: rgba(20,27,36,.92);

  --navy:        #0b111c;
  --navy-800:    #101827;
  --navy-700:    #1b2740;

  --accent:      #13a897;
  --accent-strong:#39cebb;
  --accent-soft: rgba(19,168,151,.15);
  --accent-ink:  #46d6c3;

  --gold:        #cda85f;
  --gold-soft:   rgba(205,168,95,.14);

  --line:        #232d39;
  --line-strong: #34404f;
  --ring:        rgba(57,206,187,.32);

  --danger:      #ff6f62;

  --shadow-sm:   0 1px 2px rgba(0,0,0,.5), 0 2px 8px rgba(0,0,0,.35);
  --shadow:      0 14px 34px rgba(0,0,0,.5);
  --shadow-lg:   0 34px 74px rgba(0,0,0,.62);
  --shadow-accent:0 16px 38px rgba(0,0,0,.55);
}

/* Fallback: Systemvorliebe respektieren, wenn JS deaktiviert ist
   und noch keine ausdrückliche Wahl getroffen wurde. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    color-scheme: dark;
    --ink: #eceff4; --body: #b7bfcb; --muted: #848d9a;
    --bg: #0e131a; --bg-alt: #141b24; --surface: #18202b;
    --field-bg: #10171f;
    --header-bg: rgba(14,19,26,.80); --header-bg-scrolled: rgba(20,27,36,.92);
    --navy: #0b111c; --navy-800: #101827; --navy-700: #1b2740;
    --accent: #13a897; --accent-strong: #39cebb;
    --accent-soft: rgba(19,168,151,.15); --accent-ink: #46d6c3;
    --gold: #cda85f; --gold-soft: rgba(205,168,95,.14);
    --line: #232d39; --line-strong: #34404f; --ring: rgba(57,206,187,.32);
    --danger: #ff6f62;
    --shadow-sm: 0 1px 2px rgba(0,0,0,.5), 0 2px 8px rgba(0,0,0,.35);
    --shadow: 0 14px 34px rgba(0,0,0,.5);
    --shadow-lg: 0 34px 74px rgba(0,0,0,.62);
    --shadow-accent: 0 16px 38px rgba(0,0,0,.55);
  }
}

/* Textfarben, die im Light-Theme dunkles Navy nutzen, im Dark-Theme
   aber unlesbar würden – gezielt auf helle Töne umstellen. */
:root[data-theme="dark"] .nav__links a,
:root[data-theme="dark"] .hero__badges li,
:root[data-theme="dark"] .field label { color: var(--body); }
:root[data-theme="dark"] .nav__toggle span,
:root[data-theme="dark"] .nav__toggle span::before,
:root[data-theme="dark"] .nav__toggle span::after { background: var(--ink); }
:root[data-theme="dark"] .doc-card__sign .sig { color: var(--accent-strong); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .nav__links a,
  :root:not([data-theme]) .hero__badges li,
  :root:not([data-theme]) .field label { color: var(--body); }
  :root:not([data-theme]) .nav__toggle span,
  :root:not([data-theme]) .nav__toggle span::before,
  :root:not([data-theme]) .nav__toggle span::after { background: var(--ink); }
  :root:not([data-theme]) .doc-card__sign .sig { color: var(--accent-strong); }
}

/* ---------- Theme-Umschalter (Dark/Light) ---------- */
.theme-toggle {
  width: 42px; height: 42px; flex: none; padding: 0;
  display: inline-grid; place-items: center;
  border: 1.5px solid var(--line-strong); border-radius: 50%;
  background: var(--surface); color: var(--ink); cursor: pointer;
  transition: color .2s ease, border-color .2s ease, background .2s ease, transform .16s ease;
}
.theme-toggle:hover { color: var(--accent-strong); border-color: var(--accent); transform: translateY(-1px); }
.theme-toggle svg { width: 20px; height: 20px; }
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .theme-toggle .icon-sun { display: block; }
  :root:not([data-theme]) .theme-toggle .icon-moon { display: none; }
}

/* ---------- Reset / Basis ---------- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--body);
  background: var(--bg);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--accent-ink); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--accent-strong); }

h1, h2, h3, h4 { color: var(--ink); margin: 0 0 .5em; }
h1, h2 { font-family: var(--font-serif); font-weight: 600; line-height: 1.12; letter-spacing: -.012em; }
h3, h4 { font-family: var(--font-sans); font-weight: 700; letter-spacing: -.01em; line-height: 1.25; }
h1 { font-size: clamp(2.25rem, 4.8vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); }
h3 { font-size: 1.2rem; }
p  { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; }
strong { color: var(--ink); font-weight: 700; }
:focus-visible { outline: 3px solid var(--ring); outline-offset: 2px; border-radius: 6px; }
::selection { background: var(--accent-soft); color: var(--accent-ink); }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--navy); color: #fff; padding: 12px 18px; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(64px, 9vw, 116px) 0; }
.section--tight { padding: 0; }
.section--alt { background: var(--bg-alt); }
.section--navy { background: radial-gradient(130% 120% at 82% 0%, #21304f 0%, var(--navy) 58%, #0e1626 100%); color: #c6d1e4; }
.section--navy h2, .section--navy h3 { color: #fff; }
.center { text-align: center; }

/* Editorial-Eyebrow: Label mit Haarlinie */
.eyebrow {
  display: inline-flex; align-items: center; gap: 13px;
  font-family: var(--font-sans); font-size: .76rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: var(--accent-strong);
  margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 30px; height: 1px; background: currentColor; opacity: .6; }
.center .eyebrow::after { content: ""; width: 30px; height: 1px; background: currentColor; opacity: .6; }
.section--navy .eyebrow { color: #7fe6d6; }

.lead { font-size: 1.16rem; color: var(--muted); max-width: 62ch; line-height: 1.65; }
.center .lead { margin-left: auto; margin-right: auto; }
.section-head { max-width: 780px; margin: 0 auto clamp(44px, 6vw, 68px); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-sans); font-size: 1rem; font-weight: 700; line-height: 1;
  padding: 16px 28px; border-radius: 100px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .16s ease, box-shadow .22s ease, background .2s ease, color .2s ease, border-color .2s ease;
  text-align: center; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-accent); }
.btn--primary:hover { background: var(--accent-strong); color: #fff; transform: translateY(-2px); box-shadow: 0 22px 46px rgba(18,160,143,.32); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent-strong); transform: translateY(-2px); }
.btn--light { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.3); }
.btn--light:hover { background: rgba(255,255,255,.18); color: #fff; }
.btn--block { width: 100%; }
.btn--lg { padding: 18px 34px; font-size: 1.05rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--header-bg); backdrop-filter: saturate(150%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 8px 30px rgba(20,24,29,.06); background: var(--header-bg-scrolled); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); font-weight: 700; }
.brand:hover { color: var(--ink); }
.brand__mark {
  width: 42px; height: 42px; border-radius: 12px; flex: none;
  background: linear-gradient(140deg, var(--accent), var(--accent-strong));
  display: grid; place-items: center; color: #fff; box-shadow: var(--shadow-accent);
}
.brand__mark svg { width: 22px; height: 22px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.12; }
.brand__text b { font-size: 1.08rem; letter-spacing: -.01em; font-weight: 700; }
.brand__text span { font-size: .73rem; font-weight: 600; color: var(--muted); letter-spacing: .02em; }

/* ---------- Marke: Consentes-Logo ---------- */
.brand__logo { height: 32px; width: auto; flex: none; display: block; }
.brand__tag {
  padding-left: 12px; border-left: 1px solid var(--line-strong);
  font-size: .8rem; font-weight: 700; letter-spacing: .01em; color: var(--muted); line-height: 1.15;
}
/* Auf dunklen Flächen (Dark-Mode-Header + immer dunkler Footer) das Logo auf eine
   helle Platte setzen, damit die Markenfarben (Navy-Schild) lesbar bleiben. */
.site-footer .brand__logo,
:root[data-theme="dark"] .site-header .brand__logo {
  background: #fff; padding: 6px 10px; border-radius: 10px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .site-header .brand__logo { background: #fff; padding: 6px 10px; border-radius: 10px; }
}
/* Footer-Variante */
.footer__brand .brand__logo { height: 30px; }
.footer__brand .brand__tag { color: #90a1c0; border-color: rgba(255,255,255,.22); }
.nav__links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav__links a { color: var(--navy-800); font-weight: 600; font-size: .95rem; padding: 9px 14px; border-radius: 9px; }
.nav__links a:hover { color: var(--accent-strong); background: var(--accent-soft); }
.nav__cta { display: flex; align-items: center; gap: 12px; }
.nav__toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line-strong);
  background: var(--surface); border-radius: 11px; cursor: pointer; align-items: center; justify-content: center;
}
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after {
  content: ""; display: block; width: 20px; height: 2px; background: var(--navy); border-radius: 2px; position: relative; transition: .2s;
}
.nav__toggle span::before { position: absolute; top: -6px; }
.nav__toggle span::after { position: absolute; top: 6px; }
.nav.is-open .nav__toggle span { background: transparent; }
.nav.is-open .nav__toggle span::before { transform: rotate(45deg); top: 0; }
.nav.is-open .nav__toggle span::after { transform: rotate(-45deg); top: 0; }

/* ---------- Sprachumschalter (EN / DE) ---------- */
.lang-switch {
  display: inline-flex; align-items: center; gap: 2px; flex: none;
  border: 1.5px solid var(--line-strong); border-radius: 100px; padding: 3px; background: var(--surface);
}
.lang-switch a {
  font-family: var(--font-sans); font-size: .78rem; font-weight: 700; letter-spacing: .04em;
  color: var(--muted); padding: 6px 11px; border-radius: 100px; line-height: 1;
}
.lang-switch a:hover { color: var(--accent-strong); }
.lang-switch a[aria-current="true"] { background: var(--accent); color: #fff; box-shadow: var(--shadow-accent); }
.lang-switch a[aria-current="true"]:hover { color: #fff; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(56px, 8vw, 104px) 0 clamp(64px, 8vw, 108px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(52% 55% at 90% 4%, rgba(18,160,143,.09), transparent 62%),
    radial-gradient(46% 48% at 2% 100%, rgba(176,138,62,.07), transparent 62%);
}
.hero__grid { display: grid; grid-template-columns: 1.06fr .94fr; gap: clamp(36px, 5vw, 74px); align-items: center; }
.hero h1 { margin-bottom: 22px; }
.hero h1 .hl { color: var(--accent-strong); font-style: italic; }
.hero__sub { font-size: 1.2rem; color: var(--body); max-width: 52ch; margin-bottom: 30px; line-height: 1.6; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 32px; }
.hero__badges { display: flex; flex-wrap: wrap; gap: 12px 22px; list-style: none; }
.hero__badges li { display: flex; align-items: center; gap: 9px; font-weight: 600; font-size: .93rem; color: var(--navy-800); }
.hero__badges svg { width: 18px; height: 18px; color: var(--accent); flex: none; }

/* Hero-Visual: Dokument-Mockup */
.doc-card {
  position: relative; background: var(--surface); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 30px 30px 34px; border: 1px solid var(--line);
  transform: rotate(-1deg);
}
.doc-card__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.doc-card__seal {
  display: inline-flex; align-items: center; gap: 8px; font-size: .77rem; font-weight: 700;
  color: var(--accent-ink); background: var(--accent-soft); padding: 7px 13px; border-radius: 100px;
}
.doc-card__seal svg { width: 15px; height: 15px; }
.doc-card__chip { font-size: .74rem; font-weight: 700; color: var(--muted); letter-spacing: .04em; text-transform: uppercase; }
.doc-card h3 { font-size: 1.2rem; margin-bottom: 4px; }
.doc-card__meta { font-size: .82rem; color: var(--muted); margin-bottom: 22px; }
.doc-line { height: 10px; border-radius: 6px; background: var(--bg-alt); margin-bottom: 12px; }
.doc-line.w-90 { width: 90%; } .doc-line.w-70 { width: 70%; } .doc-line.w-80 { width: 80%; } .doc-line.w-60 { width: 60%; }
.doc-card__figure {
  margin-top: 20px; padding: 17px 19px; border-radius: 13px; border: 1px solid var(--line);
  background: var(--bg); display: flex; align-items: center; justify-content: space-between;
}
.doc-card__figure span { font-size: .82rem; color: var(--muted); font-weight: 600; }
.doc-card__figure b { font-family: var(--font-serif); font-weight: 600; font-size: 1.4rem; color: var(--accent-strong); }
.doc-card__sign { margin-top: 22px; display: flex; align-items: center; justify-content: flex-end; gap: 12px; text-align: right; }
.doc-card__sign .sig { font-family: "Segoe Script", "Brush Script MT", cursive; font-size: 1.4rem; color: var(--navy-800); transform: rotate(-4deg); }
.doc-card__sign small { font-size: .72rem; color: var(--muted); }
.doc-float {
  position: absolute; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
  border-radius: 14px; padding: 12px 15px; display: flex; align-items: center; gap: 11px; font-weight: 700; color: var(--ink); font-size: .9rem;
}
.doc-float svg { width: 20px; height: 20px; }
.doc-float--tr { top: -18px; right: -16px; }
.doc-float--bl { bottom: -18px; left: -16px; }
.doc-float .ico { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; flex: none; }
.doc-float .ico--green { background: var(--accent-soft); color: var(--accent-strong); }
.doc-float .ico--gold { background: var(--gold-soft); color: var(--gold); }
.doc-float small { display: block; font-weight: 600; font-size: .72rem; color: var(--muted); }

/* Hero-Visual: echtes Behörden-Formular (Foto/Scan im Rahmen) */
.doc-shot {
  position: relative; margin: 0 auto; max-width: 380px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 14px; transform: rotate(-1deg);
}
.doc-shot img { width: 100%; height: auto; display: block; border: 1px solid var(--line); border-radius: 10px; }
.doc-shot__seal {
  position: absolute; z-index: 2; top: 26px; left: 50%; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  font-size: .72rem; font-weight: 700; color: var(--accent-ink);
  background: var(--accent-soft); padding: 7px 13px; border-radius: 100px; box-shadow: var(--shadow-sm);
}
.doc-shot__seal svg { width: 15px; height: 15px; }

/* ---------- Stats-Leiste (Kennzahlen) ---------- */
.stats { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: clamp(30px, 4vw, 46px) 24px; text-align: center; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat b {
  display: block; font-family: var(--font-serif); font-weight: 600; letter-spacing: -.015em;
  font-size: clamp(1.9rem, 3.2vw, 2.7rem); color: var(--ink); line-height: 1;
}
.stat span { display: block; margin-top: 10px; font-size: .9rem; color: var(--muted); }
.stat i { font-style: normal; color: var(--accent-strong); }

/* ---------- Cards / Grids ---------- */
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .22s ease, border-color .22s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.card__icon {
  width: 52px; height: 52px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 20px;
  background: var(--accent-soft); color: var(--accent-strong);
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.16rem; margin-bottom: 9px; }
.card p { margin: 0; color: var(--muted); font-size: .97rem; }
.card--gold .card__icon { background: var(--gold-soft); color: var(--gold); }

/* ---------- Use-Cases ---------- */
.usecases { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.usecase { display: flex; gap: 16px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow-sm); transition: border-color .2s, transform .2s; }
.usecase:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.usecase svg { width: 24px; height: 24px; color: var(--accent); flex: none; margin-top: 2px; }
.usecase b { color: var(--ink); display: block; margin-bottom: 3px; font-size: 1.02rem; }
.usecase span { font-size: .93rem; color: var(--muted); }

/* ---------- Prozess / Steps ---------- */
.steps { counter-reset: step; display: grid; gap: 20px; }
.step {
  position: relative; display: grid; grid-template-columns: 60px 1fr; gap: 22px; align-items: start;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; box-shadow: var(--shadow-sm);
}
.step__num {
  counter-increment: step; width: 54px; height: 54px; border-radius: 14px; flex: none;
  background: var(--accent-soft); color: var(--accent-strong);
  display: grid; place-items: center; font-family: var(--font-serif); font-weight: 600; font-size: 1.4rem;
}
.step__num::before { content: counter(step, decimal-leading-zero); }
.step h3 { margin-bottom: 6px; }
.step p { margin: 0; color: var(--muted); }
.section--navy .step { background: rgba(255,255,255,.045); border-color: rgba(255,255,255,.1); }
.section--navy .step p { color: #9fadc6; }
.section--navy .step__num { background: rgba(18,160,143,.16); color: #7fe6d6; }

/* ---------- Zitat / Founder-Statement ---------- */
.quote { text-align: center; }
.quote__mark { font-family: var(--font-serif); font-size: 4rem; line-height: .6; color: var(--accent); opacity: .5; margin-bottom: 14px; }
.quote__text { font-family: var(--font-serif); font-weight: 500; font-size: clamp(1.5rem, 3vw, 2.3rem); line-height: 1.42; color: var(--ink); max-width: 20ch; margin: 0 auto; }
.section--navy .quote__text { color: #fff; }
.quote__text em { font-style: italic; color: var(--accent-strong); }
.section--navy .quote__text em { color: #7fe6d6; }
.quote__author { margin-top: 32px; display: inline-flex; align-items: center; gap: 15px; text-align: left; }
.quote__avatar {
  width: 56px; height: 56px; border-radius: 50%; flex: none; display: grid; place-items: center;
  background: linear-gradient(140deg, var(--accent), var(--accent-strong)); color: #fff;
  font-family: var(--font-serif); font-weight: 600; font-size: 1.2rem; box-shadow: var(--shadow-accent);
}
.quote__author b { display: block; color: var(--ink); font-size: 1rem; }
.section--navy .quote__author b { color: #fff; }
.quote__author span { font-size: .9rem; color: var(--muted); }
.section--navy .quote__author span { color: #9fadc6; }

/* ---------- Preis ---------- */
.pricing { display: grid; grid-template-columns: 1.1fr .9fr; gap: 30px; align-items: stretch; }
.price-card {
  background: radial-gradient(120% 120% at 85% 0%, #23335400, transparent), linear-gradient(165deg, var(--navy-800), var(--navy));
  color: #d3dcec; border-radius: var(--radius-lg); padding: 42px; box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.price-card::after { content: ""; position: absolute; top: -70px; right: -70px; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(circle, rgba(18,160,143,.34), transparent 70%); }
.price-card__tag { display: inline-block; font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #7fe6d6; background: rgba(18,160,143,.16); padding: 7px 15px; border-radius: 100px; margin-bottom: 22px; }
.price-card__from { font-size: .95rem; color: #97a7c4; }
.price-card__amount { font-family: var(--font-serif); font-weight: 600; font-size: clamp(2.8rem, 6vw, 3.9rem); color: #fff; letter-spacing: -.02em; line-height: 1; margin: 6px 0; }
.price-card__amount small { font-family: var(--font-sans); font-size: 1rem; font-weight: 600; color: #97a7c4; }
.price-card__note { font-size: .92rem; color: #97a7c4; margin-bottom: 26px; }
.price-card ul { list-style: none; display: grid; gap: 14px; margin-bottom: 30px; }
.price-card li { display: flex; gap: 12px; align-items: flex-start; color: #d8e1ef; font-size: .98rem; }
.price-card li svg { width: 20px; height: 20px; color: var(--accent); flex: none; margin-top: 1px; }
.price-aside { display: grid; gap: 18px; align-content: start; }
.price-fact { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px; box-shadow: var(--shadow-sm); }
.price-fact h3 { font-size: 1.05rem; margin-bottom: 7px; display: flex; align-items: center; gap: 11px; }
.price-fact h3 svg { width: 22px; height: 22px; color: var(--accent); flex: none; }
.price-fact p { margin: 0; font-size: .95rem; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { max-width: 840px; margin: 0 auto; display: grid; gap: 12px; }
.faq__item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .2s, box-shadow .2s; }
.faq__item[open] { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.faq__q {
  list-style: none; cursor: pointer; padding: 22px 26px; font-weight: 700; color: var(--ink); font-size: 1.06rem;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q .chev { width: 22px; height: 22px; flex: none; color: var(--accent-strong); transition: transform .2s ease; }
.faq__item[open] .faq__q .chev { transform: rotate(180deg); }
.faq__a { padding: 0 26px 24px; color: var(--muted); }
.faq__a p { margin: 0; }

/* ---------- Anfrage / Formular ---------- */
.form-wrap { display: grid; grid-template-columns: .82fr 1.18fr; gap: 40px; align-items: start; }
.form-side h2 { color: #fff; }
.form-side .lead { color: #aebbd2; }
.form-side ul { list-style: none; display: grid; gap: 16px; margin-top: 26px; }
.form-side li { display: flex; gap: 13px; align-items: flex-start; color: #c6d1e4; }
.form-side li svg { width: 22px; height: 22px; color: #7fe6d6; flex: none; margin-top: 1px; }
.form-side li b { color: #fff; display: block; }
.form-card { background: var(--surface); border-radius: var(--radius-lg); padding: 36px; box-shadow: var(--shadow-lg); }
.form-card h3 { font-size: 1.4rem; }
.form-card > p { color: var(--muted); font-size: .96rem; margin-bottom: 24px; }
.field { margin-bottom: 17px; }
.field label { display: block; font-weight: 600; font-size: .92rem; color: var(--navy-800); margin-bottom: 8px; }
.field .req { color: var(--danger); }
.field input, .field select, .field textarea {
  width: 100%; font-family: inherit; font-size: 1rem; color: var(--ink);
  padding: 14px 16px; border: 1.5px solid var(--line-strong); border-radius: var(--radius-sm);
  background: var(--field-bg); transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--ring); }
.field textarea { resize: vertical; min-height: 112px; }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-check { display: flex; gap: 12px; align-items: flex-start; margin: 8px 0 22px; }
.form-check input { width: 20px; height: 20px; margin-top: 3px; flex: none; accent-color: var(--accent); }
.form-check label { font-size: .88rem; color: var(--muted); }
.form-note { font-size: .82rem; color: var(--muted); margin-top: 15px; text-align: center; }
.form-error { color: var(--danger); font-size: .84rem; margin-top: 6px; display: none; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); }
.field.has-error .form-error { display: block; }

/* ---------- CTA-Band ---------- */
.ctaband { text-align: center; }
.ctaband .btn { margin: 6px; }

/* ---------- Footer ---------- */
.site-footer {
  background: linear-gradient(180deg, #16223a 0%, #101a2e 100%);
  color: #aebbd4; padding: 70px 0 28px; position: relative;
}
.site-footer::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--gold));
}
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 42px; margin-bottom: 48px; }
.footer__brand .brand,
.footer__brand .brand:hover { color: #fff; margin-bottom: 16px; }
.footer__brand .brand__text b { color: #fff; }
.footer__brand .brand__text span { color: #90a1c0; }
.footer__brand p { font-size: .93rem; color: #9caeca; max-width: 36ch; line-height: 1.7; }
.site-footer h4 {
  color: #ffffff; font-size: .8rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; margin: 0 0 18px; display: flex; align-items: center; gap: 9px;
}
.site-footer h4::before { content: ""; width: 16px; height: 2px; border-radius: 2px; background: var(--accent); flex: none; }
.site-footer ul { list-style: none; display: grid; gap: 12px; }
.site-footer li { list-style: none; }
.site-footer a { color: #bccadf; font-size: .95rem; transition: color .15s ease; }
.site-footer a:hover { color: #5fe3d0; }
.footer__consentes {
  display: block; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
  border-left: 3px solid var(--accent); border-radius: 14px; padding: 20px 22px; color: #dbe4f2;
}
.footer__consentes:hover { background: rgba(18,160,143,.15); color: #fff; }
.footer__consentes b { display: block; color: #fff; margin-bottom: 4px; font-size: 1rem; }
.footer__consentes span { font-size: .86rem; color: #9caeca; line-height: 1.6; }
.footer__bar {
  border-top: 1px solid rgba(255,255,255,.12); padding-top: 24px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  font-size: .86rem; color: #8497b7;
}
.footer__bar nav { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer__bar a { color: #a9b8d3; }
.footer__bar a:hover { color: #5fe3d0; }

/* ---------- Footer-Credit / Attribution ---------- */
.footer__credit {
  margin-top: 16px; padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,.08);
  text-align: center; font-size: .82rem; color: #8497b7;
}
.footer__credit a { color: #a9b8d3; font-weight: 600; }
.footer__credit a:hover { color: #5fe3d0; }
.footer__heart { color: #ff6b6b; font-style: normal; }

/* ---------- Legal / Content-Seiten ---------- */
.legal { max-width: var(--measure); margin: 0 auto; }
.legal h1 { margin-bottom: 8px; }
.legal .updated { color: var(--muted); font-size: .9rem; margin-bottom: 34px; }
.legal h2 { font-size: 1.5rem; margin-top: 44px; }
.legal h3 { font-size: 1.12rem; margin-top: 28px; }
.legal p, .legal li { color: var(--body); }
.legal ul { padding-left: 20px; margin-bottom: 1rem; }
.legal li { margin-bottom: 6px; list-style: disc; }
.legal .card { padding: 24px 28px; margin-bottom: 8px; }
.legal a { text-decoration: underline; }
.back-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; margin-bottom: 28px; }
.back-link svg { width: 18px; height: 18px; }

/* ---------- Danke-Seite ---------- */
.thanks { text-align: center; max-width: 660px; margin: 0 auto; padding: clamp(64px, 10vw, 120px) 0; }
.thanks__icon { width: 88px; height: 88px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-strong); display: grid; place-items: center; margin: 0 auto 28px; }
.thanks__icon svg { width: 46px; height: 46px; }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* Sprachumschalter-Klon fürs Mobil-Menü – auf Desktop ausgeblendet.
   Wird per JS in die .nav__links gespiegelt. */
.nav__lang-mobile { display: none; list-style: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { order: -1; max-width: 470px; margin: 0 auto; }
  .pricing { grid-template-columns: 1fr; }
  .form-wrap { grid-template-columns: 1fr; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(odd) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 800px) {
  .container { padding: 0 18px; }
  .nav { height: 68px; gap: 12px; }

  /* Lange Button-Beschriftungen dürfen umbrechen statt die Spalte
     aufzublähen (sonst horizontaler Überlauf auf schmalen Geräten). */
  .btn { white-space: normal; }
  .form-side, .form-card, .hero__content, .price-card, .price-aside { min-width: 0; }

  /* Marke kompakt: Untertitel aus, Titel einzeilig (Ellipsis als Sicherung) */
  .brand { min-width: 0; gap: 10px; }
  .brand__text { min-width: 0; }
  .brand__text b { font-size: .98rem; line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .brand__text span { display: none; }
  .brand__tag { display: none; }   /* Produkt-Zusatz aus – Logo allein */

  .nav__links, .nav__cta .btn { display: none; }
  .nav__cta .lang-switch { display: none; }     /* wandert ins Mobil-Menü */
  .nav__cta { gap: 10px; }
  .nav__toggle { display: inline-flex; }

  .nav.is-open .nav__links {
    display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); padding: 12px; gap: 2px;
  }
  .nav.is-open .nav__links a { padding: 13px 14px; font-size: 1rem; }
  .nav__lang-mobile { display: flex; justify-content: center; padding: 12px 6px 4px; margin-top: 6px; border-top: 1px solid var(--line); }

  .grid--2, .grid--3, .grid--4, .usecases { grid-template-columns: 1fr; }
  .field--row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 30px; }
  .step { grid-template-columns: 1fr; gap: 12px; }
  .step__num { width: 48px; height: 48px; font-size: 1.2rem; }
}
@media (max-width: 400px) {
  .container { padding: 0 14px; }
  .nav { gap: 8px; }
  .brand__mark { width: 36px; height: 36px; border-radius: 10px; }
  .brand__mark svg { width: 20px; height: 20px; }
  .brand__text b { font-size: .9rem; }
  .brand__logo { height: 28px; }
  .nav__cta { gap: 8px; }
  .theme-toggle { width: 40px; height: 40px; }
  .nav__toggle { width: 42px; height: 42px; }
}
