/* =========================================================================
   Altersvorsorgedepot-Check 2027 – Design System
   Apple trifft Private Banking · Mobile First · Premium
   Marken-DNA: Gold #C8AA22 + Anthrazit · Kai Blobel / Regionaldirektion
   ========================================================================= */

/* -------------------------------------------------------------------------
   1. Design Tokens
   ------------------------------------------------------------------------- */
:root {
  --color-gold: #C8AA22;
  --color-gold-soft: #E3CC6A;
  --color-gold-tint: rgba(200, 170, 34, 0.10);
  --color-anthracite: #1C1F24;
  --color-anthracite-2: #2A2E35;
  --color-ink: #14171C;

  --color-bg: #FBFBF9;
  --color-surface: #FFFFFF;
  --color-surface-2: #F6F5F1;
  --color-line: #ECECE6;
  --color-line-strong: #DCDCD3;
  --color-text: #1C1F24;
  --color-text-soft: #5A6068;
  --color-text-mute: #8A9099;

  --color-success: #3C8C5A;
  --color-danger: #C0563E;

  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI",
    "Helvetica Neue", Inter, Roboto, system-ui, sans-serif;
  --fs-eyebrow: 0.78rem;
  --fs-body: 1.0625rem;
  --fs-lead: 1.1875rem;
  --lh-tight: 1.12;
  --lh-base: 1.6;

  --maxw: 760px;
  --maxw-wide: 1120px;
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 26px;
  --radius-pill: 999px;

  --space-1: 0.5rem;
  --space-2: 0.875rem;
  --space-3: 1.25rem;
  --space-4: 1.75rem;
  --space-5: 2.5rem;
  --space-6: 3.5rem;
  --space-7: 5rem;

  --shadow-sm: 0 2px 8px rgba(20, 23, 28, 0.05);
  --shadow: 0 8px 30px rgba(20, 23, 28, 0.08);
  --shadow-lg: 0 24px 60px rgba(20, 23, 28, 0.12);
  --shadow-gold: 0 14px 40px rgba(200, 170, 34, 0.28);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.45s;
}

/* -------------------------------------------------------------------------
   2. Reset & Basis
   ------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-base);
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
h1, h2, h3, h4 { margin: 0; line-height: var(--lh-tight); letter-spacing: -0.02em; font-weight: 600; }
h1 { font-size: clamp(2rem, 6vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 5vw, 2.4rem); }
h3 { font-size: clamp(1.1rem, 3.5vw, 1.35rem); }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--color-gold); outline-offset: 3px; border-radius: 6px; }

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

/* -------------------------------------------------------------------------
   3. Layout-Helfer
   ------------------------------------------------------------------------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--space-3); }
.container--wide { max-width: var(--maxw-wide); }

.eyebrow {
  display: inline-block; font-size: var(--fs-eyebrow); font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--color-gold);
}
.lead { font-size: var(--fs-lead); color: var(--color-text-soft); }
.gold { color: var(--color-gold); }
.text-center { text-align: center; }
.is-hidden { display: none !important; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.section { padding-block: var(--space-6); }
.section--alt { background: var(--color-surface-2); border-block: 1px solid var(--color-line); }
.section-head { text-align: center; max-width: 40ch; margin-inline: auto; }
.section-head .lead { margin-top: var(--space-3); }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-in { opacity: 1; transform: translateY(0); }

/* -------------------------------------------------------------------------
   4. Topbar / Sticky Nav
   ------------------------------------------------------------------------- */
.topbar {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; gap: var(--space-3);
  padding: 0.7rem var(--space-3);
  background: rgba(251, 251, 249, 0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--color-line);
}
.brand-mark { display: flex; align-items: center; gap: 0.6rem; font-weight: 600; font-size: 0.95rem; letter-spacing: -0.01em; white-space: nowrap; }
.brand-mark .dot { width: 26px; height: 26px; border-radius: 8px; flex: none; background: linear-gradient(135deg, var(--color-gold), var(--color-gold-soft)); box-shadow: var(--shadow-sm); }
.brand-mark span.muted { color: var(--color-text-mute); font-weight: 500; }
.topbar__nav { display: none; margin-left: auto; gap: var(--space-3); }
.topbar__nav a { font-size: 0.92rem; font-weight: 500; color: var(--color-text-soft); }
.topbar__nav a:hover { color: var(--color-gold); }
.topbar__cta { margin-left: auto; }
.topbar__cta .btn { padding: 0.6rem 1.2rem; font-size: 0.92rem; }
@media (min-width: 820px) {
  .topbar__nav { display: flex; }
  .topbar__cta { margin-left: 0; }
}

/* -------------------------------------------------------------------------
   5. Buttons
   ------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  padding: 1.05rem 2.1rem; border: none; border-radius: var(--radius-pill);
  font-size: 1.05rem; font-weight: 600; letter-spacing: -0.01em;
  transition: transform 0.2s var(--ease), box-shadow 0.3s var(--ease), background 0.3s var(--ease);
  will-change: transform;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn--primary { color: var(--color-ink); background: linear-gradient(135deg, var(--color-gold), var(--color-gold-soft)); box-shadow: var(--shadow-gold); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 48px rgba(200, 170, 34, 0.38); }
.btn--dark { color: #fff; background: var(--color-anthracite); box-shadow: var(--shadow); }
.btn--dark:hover { transform: translateY(-2px); background: var(--color-ink); }
.btn--ghost { background: transparent; color: var(--color-text-soft); padding: 0.6rem 0.4rem; }
.btn--ghost:hover { color: var(--color-text); }
.btn--block { display: flex; width: 100%; }
.btn .arrow { transition: transform 0.25s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* -------------------------------------------------------------------------
   6. Hero
   ------------------------------------------------------------------------- */
.hero { position: relative; text-align: center; overflow: hidden; padding-block: var(--space-6) var(--space-7); }
.hero__art {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(60% 50% at 50% 0%, var(--color-gold-tint), transparent 70%),
    radial-gradient(40% 30% at 85% 15%, rgba(28, 31, 36, 0.05), transparent 70%);
}
.hero__art svg { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.5; }
.hero .container { position: relative; z-index: 1; }
.hero__flag {
  display: inline-flex; align-items: center; gap: 0.55rem; margin-bottom: var(--space-3);
  padding: 0.45rem 1rem; border-radius: var(--radius-pill);
  background: var(--color-surface); border: 1px solid var(--color-line); box-shadow: var(--shadow-sm);
  font-size: 0.82rem; font-weight: 600; color: var(--color-text-soft);
}
.hero__flag .bars { width: 16px; height: 11px; border-radius: 2px; overflow: hidden; display: grid; grid-template-rows: 1fr 1fr 1fr; flex: none; }
.hero__flag .bars i { display: block; }
.hero__flag .bars i:nth-child(1){ background:#000; } .hero__flag .bars i:nth-child(2){ background:#D00; } .hero__flag .bars i:nth-child(3){ background:#FFCE00; }
.hero h1 { margin-top: var(--space-2); }
.hero h1 .gold { display: inline-block; }
.hero .lead { margin: var(--space-3) auto 0; max-width: 40ch; }
.trust { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-2) var(--space-4); margin-top: var(--space-4); list-style: none; padding: 0; }
.trust li { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.95rem; color: var(--color-text-soft); font-weight: 500; }
.trust .check { width: 22px; height: 22px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--color-gold-tint); color: var(--color-gold); }
.hero__cta { margin-top: var(--space-5); display: flex; flex-wrap: wrap; gap: var(--space-2); justify-content: center; }
.hero__meta { margin-top: var(--space-3); font-size: 0.85rem; color: var(--color-text-mute); }

/* -------------------------------------------------------------------------
   7. Förder-Stat-Reihe
   ------------------------------------------------------------------------- */
.stats { display: grid; gap: var(--space-2); grid-template-columns: 1fr 1fr; margin-top: var(--space-5); }
@media (min-width: 720px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat {
  padding: var(--space-3) var(--space-2); background: var(--color-surface);
  border: 1px solid var(--color-line); border-radius: var(--radius); box-shadow: var(--shadow-sm); text-align: center;
}
.stat__num { font-size: clamp(1.5rem, 5vw, 2rem); font-weight: 600; letter-spacing: -0.03em; background: linear-gradient(135deg, var(--color-gold), #B08D2F); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat__label { margin-top: 0.35rem; font-size: 0.85rem; color: var(--color-text-soft); }

/* -------------------------------------------------------------------------
   8. Karten-Raster (generisch)
   ------------------------------------------------------------------------- */
.cards { display: grid; gap: var(--space-2); margin-top: var(--space-5); }
@media (min-width: 560px) { .cards.cards--2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 760px) { .cards.cards--3 { grid-template-columns: repeat(3, 1fr); } }
.card {
  position: relative; padding: var(--space-4) var(--space-3);
  background: var(--color-surface); border: 1px solid var(--color-line);
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; gap: 0.65rem;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card__icon { width: 40px; height: 40px; color: var(--color-gold); }
.card h3 { font-size: 1.15rem; }
.card p { color: var(--color-text-soft); font-size: 0.98rem; }
.card--highlight {
  border-color: transparent;
  background: linear-gradient(var(--color-surface), var(--color-surface)) padding-box, linear-gradient(135deg, var(--color-gold), var(--color-gold-soft)) border-box;
  border: 1.5px solid transparent; box-shadow: var(--shadow-gold);
}

/* -------------------------------------------------------------------------
   9. Rechner
   ------------------------------------------------------------------------- */
.calc { display: grid; gap: var(--space-4); margin-top: var(--space-5); align-items: start; }
@media (min-width: 900px) { .calc { grid-template-columns: 1fr 1.05fr; } }

.calc__panel { background: var(--color-surface); border: 1px solid var(--color-line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: var(--space-4) var(--space-3); }
.field { margin-top: var(--space-3); }
.field:first-child { margin-top: 0; }
.field__label { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; font-size: 0.92rem; font-weight: 600; }
.field__val { color: var(--color-gold); font-variant-numeric: tabular-nums; }
.field__hint { font-size: 0.8rem; color: var(--color-text-mute); margin-top: 0.2rem; }

input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; margin-top: 0.9rem; border-radius: var(--radius-pill); background: var(--color-line-strong); outline: none; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg, var(--color-gold), var(--color-gold-soft)); box-shadow: var(--shadow-gold); border: 3px solid #fff; cursor: grab; }
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--color-gold); border: 3px solid #fff; cursor: grab; }
input[type="range"]:active::-webkit-slider-thumb { cursor: grabbing; }

.seg { display: grid; grid-auto-flow: column; gap: 4px; margin-top: 0.6rem; padding: 4px; background: var(--color-surface-2); border: 1px solid var(--color-line); border-radius: var(--radius-pill); }
.seg button { border: none; background: transparent; border-radius: var(--radius-pill); padding: 0.6rem 0.4rem; font-size: 0.92rem; font-weight: 600; color: var(--color-text-soft); transition: background 0.2s var(--ease), color 0.2s var(--ease); }
.seg button.is-active { background: var(--color-anthracite); color: #fff; box-shadow: var(--shadow-sm); }

/* Ergebnis-Panel */
.calc__result { background: var(--color-anthracite); color: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); padding: var(--space-4); position: relative; overflow: hidden; }
.calc__result::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 60% at 80% 0%, var(--color-gold-tint), transparent 70%); pointer-events: none; }
.calc__result > * { position: relative; }
.calc__result .eyebrow { color: var(--color-gold-soft); }
.calc__hero-num { font-size: clamp(2.4rem, 9vw, 3.4rem); font-weight: 600; letter-spacing: -0.03em; margin-top: 0.3rem; font-variant-numeric: tabular-nums; }
.calc__hero-sub { color: rgba(255,255,255,0.7); font-size: 0.95rem; }
.calc__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; margin-top: var(--space-4); }
.calc__kpi { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--radius); padding: 0.9rem 1rem; }
.calc__kpi .k { font-size: 0.78rem; color: rgba(255,255,255,0.65); }
.calc__kpi .v { font-size: 1.25rem; font-weight: 600; margin-top: 0.15rem; font-variant-numeric: tabular-nums; }
.calc__kpi .v.gold { color: var(--color-gold-soft); }
.calc__note { margin-top: var(--space-3); font-size: 0.78rem; color: rgba(255,255,255,0.5); line-height: 1.5; }
.calc__result .btn { margin-top: var(--space-4); }

/* Vorher/Nachher-Balken-Visualisierung */
.viz { margin-top: var(--space-4); }
.viz__row { margin-top: var(--space-3); }
.viz__row .lbl { display: flex; justify-content: space-between; font-size: 0.85rem; color: rgba(255,255,255,0.8); margin-bottom: 0.4rem; }
.viz__bar { height: 16px; border-radius: var(--radius-pill); background: rgba(255,255,255,0.1); overflow: hidden; }
.viz__fill { height: 100%; border-radius: inherit; width: 0; transition: width 1s var(--ease); }
.viz__fill--own { background: rgba(255,255,255,0.45); }
.viz__fill--gift { background: linear-gradient(90deg, var(--color-gold), var(--color-gold-soft)); }
.viz__fill--growth { background: repeating-linear-gradient(45deg, var(--color-gold-soft), var(--color-gold-soft) 7px, var(--color-gold) 7px, var(--color-gold) 14px); }

/* -------------------------------------------------------------------------
   10. Timeline (Anspar-/Auszahlphase)
   ------------------------------------------------------------------------- */
.phases { display: grid; gap: var(--space-3); margin-top: var(--space-5); }
@media (min-width: 760px) { .phases { grid-template-columns: 1fr 1fr; } }
.phase { background: var(--color-surface); border: 1px solid var(--color-line); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); padding: var(--space-4); }
.phase__tag { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-gold); }
.phase h3 { margin-top: 0.6rem; }
.phase ul { list-style: none; padding: 0; margin: var(--space-3) 0 0; display: grid; gap: 0.7rem; }
.phase li { display: flex; gap: 0.7rem; color: var(--color-text-soft); font-size: 0.98rem; }
.phase li .check { color: var(--color-success); flex: none; font-weight: 700; }

/* -------------------------------------------------------------------------
   11. Vergleichsmatrix
   ------------------------------------------------------------------------- */
.compare { margin-top: var(--space-5); overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare__inner { min-width: 640px; border-collapse: separate; border-spacing: 0; width: 100%; }
.compare__inner th, .compare__inner td { padding: 1rem 1rem; text-align: center; border-bottom: 1px solid var(--color-line); vertical-align: middle; }
.compare__inner thead th { font-size: 0.95rem; font-weight: 600; position: sticky; top: 0; background: var(--color-bg); }
.compare__inner tbody th { text-align: left; font-weight: 500; color: var(--color-text-soft); font-size: 0.95rem; white-space: nowrap; }
.compare__col-head { display: flex; flex-direction: column; align-items: center; gap: 0.2rem; }
.compare__col-head small { font-weight: 500; color: var(--color-text-mute); font-size: 0.72rem; }
.compare__inner .col-new { background: linear-gradient(180deg, var(--color-gold-tint), transparent); border-inline: 1.5px solid var(--color-gold); }
.compare__inner thead .col-new { border-top: 1.5px solid var(--color-gold); border-top-left-radius: var(--radius); border-top-right-radius: var(--radius); color: var(--color-gold); }
.compare__inner tbody .col-new { font-weight: 600; }
.compare__inner .col-you { background: var(--color-anthracite); color: #fff; }
.compare__inner thead .col-you { border-top-left-radius: var(--radius); border-top-right-radius: var(--radius); }
.compare__inner .col-you small { color: rgba(255,255,255,0.6); }
.yes { color: var(--color-success); font-weight: 700; }
.no { color: var(--color-danger); font-weight: 700; }
.compare__hint { margin-top: var(--space-2); font-size: 0.82rem; color: var(--color-text-mute); text-align: center; }
.compare__you-cell { font-size: 0.92rem; color: var(--color-gold-soft); }

/* Mobil: Tabelle wird zu Karten (kein seitliches Wischen) */
@media (max-width: 719px) {
  .compare { overflow: visible; }
  .compare__inner { min-width: 0; display: block; }
  .compare__inner thead { display: none; }
  .compare__inner tbody { display: block; }
  .compare__inner tbody tr {
    display: block; background: var(--color-surface);
    border: 1px solid var(--color-line); border-radius: var(--radius);
    box-shadow: var(--shadow-sm); padding: 0.2rem 0.9rem 0.8rem; margin-bottom: var(--space-2);
  }
  .compare__inner tbody th {
    display: block; text-align: left; font-weight: 600; color: var(--color-text);
    font-size: 1.08rem; padding: 0.8rem 0 0.7rem; border-bottom: 1px solid var(--color-line); white-space: normal;
  }
  .compare__inner tbody td {
    display: flex; justify-content: space-between; align-items: center; gap: 1rem;
    text-align: right; padding: 0.6rem 0; border: none; border-bottom: 1px solid var(--color-line);
  }
  .compare__inner tbody td:last-child { border-bottom: none; }
  .compare__inner tbody td::before {
    content: attr(data-label); font-weight: 500; color: var(--color-text-soft); text-align: left;
  }
  .compare__inner tbody td.col-new {
    background: var(--color-gold-tint); border: none; border-radius: var(--radius-sm);
    padding-inline: 0.7rem; font-weight: 600; margin-top: 0.4rem;
  }
  .compare__inner tbody td.col-new::before { color: var(--color-gold); }
  .compare__inner tbody td.col-you {
    background: var(--color-anthracite); color: #fff; border: none; border-radius: var(--radius-sm);
    padding-inline: 0.7rem; margin-top: 0.4rem;
  }
  .compare__inner tbody td.col-you::before { color: rgba(255,255,255,0.6); }
}

/* -------------------------------------------------------------------------
   12. Beachten / Hinweis-Liste
   ------------------------------------------------------------------------- */
.notes { display: grid; gap: var(--space-2); margin-top: var(--space-5); }
@media (min-width: 720px) { .notes { grid-template-columns: 1fr 1fr; } }
.note { display: flex; gap: var(--space-2); padding: var(--space-3); background: var(--color-surface); border: 1px solid var(--color-line); border-radius: var(--radius); }
.note__icon { width: 34px; height: 34px; flex: none; border-radius: 9px; display: grid; place-items: center; background: var(--color-gold-tint); color: var(--color-gold); }
.note h4 { font-size: 1rem; }
.note p { margin-top: 0.25rem; color: var(--color-text-soft); font-size: 0.92rem; }

/* -------------------------------------------------------------------------
   13. Lead-Formular
   ------------------------------------------------------------------------- */
.lead-wrap { margin-top: var(--space-5); background: var(--color-surface); border: 1px solid var(--color-line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: var(--space-5) var(--space-4); }
.lead-form { display: grid; gap: var(--space-3); margin-top: var(--space-4); }
.lead-form .row { display: grid; gap: var(--space-3); }
@media (min-width: 560px) { .lead-form .row--2 { grid-template-columns: 1fr 1fr; } }
.inp { display: flex; flex-direction: column; gap: 0.4rem; }
.inp label { font-size: 0.85rem; font-weight: 600; color: var(--color-text-soft); }
.inp input, .inp select, .inp textarea {
  font: inherit; font-size: 1rem; padding: 0.85rem 1rem; color: var(--color-text);
  background: var(--color-surface-2); border: 1.5px solid var(--color-line); border-radius: var(--radius-sm);
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.inp input:focus, .inp select:focus, .inp textarea:focus { border-color: var(--color-gold); background: #fff; outline: none; }
.inp textarea { min-height: 90px; resize: vertical; }
.upload { display: flex; align-items: center; gap: 0.8rem; padding: 1rem; border: 1.5px dashed var(--color-line-strong); border-radius: var(--radius-sm); color: var(--color-text-soft); font-size: 0.92rem; cursor: pointer; transition: border-color 0.2s var(--ease); }
.upload:hover { border-color: var(--color-gold); }
.upload input { display: none; }
.check-row { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 0.88rem; color: var(--color-text-soft); }
.check-row input { margin-top: 0.2rem; width: 18px; height: 18px; accent-color: var(--color-gold); flex: none; }
.check-row a { color: var(--color-gold); font-weight: 600; }
.lead-form__alt { text-align: center; font-size: 0.92rem; color: var(--color-text-soft); margin-top: 0.4rem; }
.lead-form__alt a { color: var(--color-gold); font-weight: 600; }
.lead-form__alt a:hover { text-decoration: underline; }
.lead-form__status { font-size: 0.92rem; margin-top: 0.4rem; }
.lead-form__status.ok { color: var(--color-success); }
.lead-form__status.err { color: var(--color-danger); }
.lead-success { text-align: center; padding: var(--space-5) var(--space-3); }
.lead-success__icon { width: 64px; height: 64px; margin: 0 auto var(--space-3); border-radius: 50%; display: grid; place-items: center; background: var(--color-gold-tint); color: var(--color-gold); }

/* -------------------------------------------------------------------------
   14. Über Kai / Vertrauen
   ------------------------------------------------------------------------- */
.about { margin-top: var(--space-5); }
.about__inner { display: grid; gap: var(--space-4); align-items: center; background: var(--color-surface); border: 1px solid var(--color-line); border-radius: var(--radius-lg); padding: var(--space-5) var(--space-4); box-shadow: var(--shadow-sm); }
@media (min-width: 620px) { .about__inner { grid-template-columns: 140px 1fr; } }
.about__photo { width: 140px; height: 140px; border-radius: 50%; margin-inline: auto; object-fit: cover; box-shadow: var(--shadow); border: 3px solid #fff; }
.about h3 { font-size: 1.4rem; }
.about .role { color: var(--color-gold); font-weight: 600; font-size: 0.95rem; margin-top: 0.2rem; }
.about p { margin-top: var(--space-2); color: var(--color-text-soft); }
.about__principles { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: var(--space-3); list-style: none; padding: 0; }
.about__principles li { font-size: 0.85rem; font-weight: 500; padding: 0.4rem 0.9rem; border-radius: var(--radius-pill); background: var(--color-gold-tint); color: var(--color-anthracite); }

/* -------------------------------------------------------------------------
   15. FAQ
   ------------------------------------------------------------------------- */
.faq { margin-top: var(--space-5); display: grid; gap: var(--space-2); }
.faq__item { background: var(--color-surface); border: 1px solid var(--color-line); border-radius: var(--radius); overflow: hidden; }
.faq__q { width: 100%; text-align: left; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 1.25rem; font-weight: 600; font-size: 1rem; background: transparent; border: none; color: var(--color-text); }
.faq__q .ico { flex: none; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; background: var(--color-gold-tint); color: var(--color-gold); transition: transform 0.3s var(--ease); }
.faq__item.is-open .faq__q .ico { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height 0.35s var(--ease); }
.faq__a p { padding: 0 1.25rem 1.2rem; color: var(--color-text-soft); font-size: 0.96rem; }

/* -------------------------------------------------------------------------
   16. Sticky-CTA (mobil)
   ------------------------------------------------------------------------- */
.sticky-cta { position: fixed; left: 50%; bottom: var(--space-2); transform: translateX(-50%) translateY(160%); z-index: 50; width: calc(100% - 2 * var(--space-3)); max-width: 460px; transition: transform 0.5s var(--ease); }
.sticky-cta.is-visible { transform: translateX(-50%) translateY(0); }
.sticky-cta .btn { box-shadow: var(--shadow-lg); }
@media (min-width: 820px) { .sticky-cta { display: none; } }

/* -------------------------------------------------------------------------
   17. Consent & Footer
   ------------------------------------------------------------------------- */
.consent { position: fixed; left: 50%; bottom: var(--space-3); transform: translateX(-50%) translateY(150%); z-index: 60; width: calc(100% - 2 * var(--space-3)); max-width: 620px; display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); padding: var(--space-3); background: var(--color-surface); border: 1px solid var(--color-line); border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.consent.is-visible { transform: translateX(-50%) translateY(0); }
.consent p { flex: 1 1 260px; font-size: 0.85rem; color: var(--color-text-soft); }
.consent a { color: var(--color-gold); font-weight: 600; }
.consent__actions { display: flex; gap: 0.6rem; }
.consent .btn { padding: 0.7rem 1.3rem; font-size: 0.9rem; }
.consent .btn--ghost { border: 1.5px solid var(--color-line); border-radius: var(--radius-pill); }
/* Platz reservieren + Sticky-CTA ausblenden, solange der Hinweis offen ist */
body.consent-open { padding-bottom: 130px; }
body.consent-open .sticky-cta { display: none; }
@media (max-width: 560px) { body.consent-open { padding-bottom: 180px; } }

.site-footer { padding: var(--space-5) var(--space-3) var(--space-7); text-align: center; color: var(--color-text-mute); font-size: 0.85rem; border-top: 1px solid var(--color-line); margin-top: var(--space-6); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-3); justify-content: center; margin-bottom: var(--space-2); }
.site-footer nav a { color: var(--color-text-soft); font-weight: 500; }
.site-footer nav a:hover { color: var(--color-gold); }
.site-footer .sig { margin-top: var(--space-2); font-weight: 500; color: var(--color-text-soft); }
.site-footer .disclaimer { margin-top: var(--space-3); max-width: 60ch; margin-inline: auto; font-size: 0.78rem; opacity: 0.8; }

/* -------------------------------------------------------------------------
   18. Rechtsseiten
   ------------------------------------------------------------------------- */
.legal { padding-block: var(--space-5) var(--space-6); }
.legal__back { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--color-text-soft); font-weight: 500; font-size: 0.92rem; margin-bottom: var(--space-4); }
.legal__back:hover { color: var(--color-gold); }
.legal h1 { font-size: clamp(1.7rem, 5vw, 2.3rem); }
.legal h2 { font-size: 1.25rem; margin-top: var(--space-5); }
.legal p, .legal li { color: var(--color-text-soft); }
.legal p + p { margin-top: var(--space-2); }
.legal ul { padding-left: 1.2rem; margin-top: var(--space-2); }
.legal li { margin-top: 0.4rem; }
.legal a { color: var(--color-gold); font-weight: 500; }
.legal .updated { margin-top: var(--space-5); font-size: 0.85rem; color: var(--color-text-mute); }

/* -------------------------------------------------------------------------
   19. Rechtstext-Overlay
   ------------------------------------------------------------------------- */
.legal-modal { position: fixed; inset: 0; z-index: 80; display: flex; align-items: flex-end; justify-content: center; }
.legal-modal[hidden] { display: none; }
.legal-modal__backdrop { position: absolute; inset: 0; background: rgba(20, 23, 28, 0.55); opacity: 0; transition: opacity var(--dur) var(--ease); }
.legal-modal.is-open .legal-modal__backdrop { opacity: 1; }
.legal-modal__sheet { position: relative; z-index: 1; width: 100%; max-width: 680px; max-height: 92svh; background: var(--color-surface); border-radius: var(--radius-lg) var(--radius-lg) 0 0; box-shadow: var(--shadow-lg); overflow-y: auto; -webkit-overflow-scrolling: touch; padding: var(--space-5) var(--space-4) calc(var(--space-5) + env(safe-area-inset-bottom)); transform: translateY(100%); transition: transform var(--dur) var(--ease); }
.legal-modal.is-open .legal-modal__sheet { transform: translateY(0); }
@media (min-width: 640px) {
  .legal-modal { align-items: center; padding: var(--space-4); }
  .legal-modal__sheet { border-radius: var(--radius-lg); max-height: 86svh; transform: translateY(24px) scale(0.98); opacity: 0; transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease); }
  .legal-modal.is-open .legal-modal__sheet { transform: translateY(0) scale(1); opacity: 1; }
}
.legal-modal__close { position: sticky; top: 0; float: right; margin: -0.5rem -0.5rem 0 var(--space-3); width: 40px; height: 40px; flex: none; display: grid; place-items: center; border: none; border-radius: 50%; background: var(--color-line); color: var(--color-text); transition: background 0.2s var(--ease), transform 0.2s var(--ease); }
.legal-modal__close:hover { background: var(--color-line-strong); transform: rotate(90deg); }
.legal-modal__close svg { width: 18px; height: 18px; }
.legal-modal__body .legal { padding: 0; }
.legal-modal__body .legal__back { display: none; }
.legal-modal__body h1 { margin-bottom: var(--space-2); }
.legal-modal__loading { color: var(--color-text-mute); }
body.has-modal { overflow: hidden; }
