/* =========================================================
   Stromkompass – Stylesheet
   Keine externen Fonts/CDNs (DSGVO-freundlich, alles lokal)
   ========================================================= */

:root {
  /* Farben */
  --bg:            #f6f8f9;
  --bg-elev:       #ffffff;
  --bg-sunken:     #eef2f4;
  --ink:           #0e1b24;
  --ink-soft:      #46606f;
  --ink-faint:     #7b939f;
  --line:          #dfe7ea;
  --line-strong:   #c6d4da;

  --brand:         #0d5c63;
  --brand-deep:    #073d43;
  --brand-soft:    #e3f1f0;
  --accent:        #17c26a;
  --accent-deep:   #0f9d55;
  --accent-soft:   #e2f8ec;
  --warn:          #b8631a;

  /* Maße */
  --wrap: 1120px;
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;

  --shadow-sm: 0 1px 2px rgba(14, 27, 36, .06), 0 2px 8px rgba(14, 27, 36, .04);
  --shadow-md: 0 2px 6px rgba(14, 27, 36, .06), 0 12px 32px rgba(14, 27, 36, .08);
  --shadow-lg: 0 4px 12px rgba(14, 27, 36, .07), 0 28px 64px rgba(14, 27, 36, .12);

  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg:          #0b1418;
    --bg-elev:     #121f25;
    --bg-sunken:   #0e191e;
    --ink:         #e8f1f3;
    --ink-soft:    #a2bbc4;
    --ink-faint:   #6e8b96;
    --line:        #1e3038;
    --line-strong: #2b444e;

    --brand:       #3ecbc5;
    --brand-deep:  #0a2b30;
    --brand-soft:  #10333a;
    --accent:      #2ee07f;
    --accent-deep: #22c46c;
    --accent-soft: #10331f;
    --warn:        #e0a35c;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
    --shadow-md: 0 12px 32px rgba(0, 0, 0, .45);
    --shadow-lg: 0 28px 64px rgba(0, 0, 0, .55);
  }
}

/* ---------- Basis ---------- */

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration-color: color-mix(in srgb, var(--brand) 35%, transparent); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }

h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 1.4rem + 2.6vw, 3.5rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.35rem); letter-spacing: -.03em; }
h3 { font-size: 1.2rem; }
p  { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }
.section { padding-block: clamp(56px, 8vw, 104px); }
.section--sunken { background: var(--bg-sunken); }
.lead { font-size: clamp(1.05rem, 1rem + .4vw, 1.25rem); color: var(--ink-soft); max-width: 62ch; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--brand); margin-bottom: 14px;
}
.muted { color: var(--ink-soft); }
.small { font-size: .875rem; }
.tiny  { font-size: .8rem; line-height: 1.55; color: var(--ink-faint); }
.nowrap { white-space: nowrap; }

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

:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: inherit; font-weight: 650; line-height: 1.2;
  padding: 15px 26px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; text-decoration: none; text-align: center;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: #04231a; box-shadow: 0 6px 18px color-mix(in srgb, var(--accent) 38%, transparent);
}
.btn--primary:hover { box-shadow: 0 10px 26px color-mix(in srgb, var(--accent) 46%, transparent); }

.btn--ghost {
  background: transparent; color: var(--ink); border-color: var(--line-strong);
}
.btn--ghost:hover { background: var(--bg-sunken); }

.btn--block { width: 100%; }
.btn--lg { padding: 18px 34px; font-size: 1.06rem; }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background-color .2s ease;
}
.site-header.is-stuck { border-bottom-color: var(--line); }
.site-header .wrap {
  display: flex; align-items: center; gap: 20px; min-height: 68px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 750; letter-spacing: -.02em; font-size: 1.1rem;
  color: var(--ink); text-decoration: none;
}
.brand__mark { width: 30px; height: 30px; flex: none; }
.brand span b { color: var(--brand); font-weight: 750; }

.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
/* :not(.btn) ist zwingend – ohne den Ausschluss gewinnt `.nav a` (0,1,1)
   gegen `.btn--primary` (0,1,0), und der Button erbt die graue Navi-Farbe.
   Das ergab ein Kontrastverhältnis von 1,16:1 auf dem grünen Grund. */
.nav a:not(.btn) {
  color: var(--ink-soft); text-decoration: none; font-size: .94rem; font-weight: 550;
  padding: 9px 14px; border-radius: 999px;
}
.nav a:not(.btn):hover { color: var(--ink); background: var(--bg-sunken); }
.nav .btn { margin-left: 8px; padding: 11px 20px; font-size: .94rem; white-space: nowrap; }
@media (max-width: 800px) { .nav a:not(.btn) { display: none; } }
@media (max-width: 480px) {
  .site-header .wrap { min-height: 60px; padding-inline: 16px; }
  .brand { font-size: 1rem; gap: 8px; }
  .brand__mark { width: 26px; height: 26px; }
  .nav .btn { margin-left: 0; padding: 10px 15px; font-size: .85rem; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative; overflow: hidden;
  padding-block: clamp(36px, 6vw, 72px) clamp(48px, 7vw, 88px);
}
.hero::before {
  content: ""; position: absolute; inset: -40% -10% auto -10%; height: 720px; z-index: 0;
  background:
    radial-gradient(46% 44% at 22% 34%, color-mix(in srgb, var(--accent) 22%, transparent) 0%, transparent 68%),
    radial-gradient(52% 48% at 82% 18%, color-mix(in srgb, var(--brand) 26%, transparent) 0%, transparent 66%);
  filter: blur(12px); pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }
.hero__grid {
  display: grid; gap: clamp(32px, 4vw, 56px);
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
}
@media (min-width: 940px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 480px); gap: 56px; align-items: center; }
}
.hero h1 { margin-bottom: .35em; }
.hero h1 mark {
  background: linear-gradient(180deg, transparent 62%, color-mix(in srgb, var(--accent) 45%, transparent) 62%);
  color: inherit; padding-inline: 2px;
}

.badge-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--bg-elev); border: 1px solid var(--line);
  color: var(--ink-soft); font-size: .82rem; font-weight: 600;
  padding: 7px 13px; border-radius: 999px; box-shadow: var(--shadow-sm);
}
.badge svg { width: 15px; height: 15px; color: var(--accent-deep); flex: none; }

.hero__points { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 12px; }
.hero__points li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-soft); }
.hero__points svg { width: 21px; height: 21px; flex: none; margin-top: 2px; color: var(--accent-deep); }
.hero__points b { color: var(--ink); font-weight: 650; }

/* ---------- Rechner ---------- */

.calc {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.calc__head { padding: 22px 24px 0; }
.calc__title { font-size: 1.18rem; margin-bottom: 4px; }
.calc__body { padding: 18px 24px 24px; display: grid; gap: 20px; }

.seg {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  background: var(--bg-sunken); border-radius: 999px; padding: 4px;
  border: 1px solid var(--line);
}
.seg button {
  font: inherit; font-weight: 650; font-size: .95rem;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 14px; border: 0; border-radius: 999px; cursor: pointer;
  background: transparent; color: var(--ink-soft); transition: all .18s ease;
}
.seg button svg { width: 17px; height: 17px; }
.seg button[aria-pressed="true"] {
  background: var(--bg-elev); color: var(--ink); box-shadow: var(--shadow-sm);
}

.field { display: grid; gap: 8px; }
.field > label, .field__label {
  font-size: .9rem; font-weight: 650; color: var(--ink);
  display: flex; align-items: baseline; justify-content: space-between; gap: 10px;
}
.field__hint { font-weight: 500; font-size: .8rem; color: var(--ink-faint); }
/* Mit Schrittnummer gehört Ziffer und Frage zusammen – das space-between
   der Basisregel würde sie an die gegenüberliegenden Ränder schieben. */
.field__label--schritt { justify-content: flex-start; gap: 0; }

.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip {
  font: inherit; font-size: .875rem; font-weight: 600; cursor: pointer;
  padding: 8px 13px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: var(--bg-elev); color: var(--ink-soft);
  transition: all .15s ease;
}
.chip:hover { border-color: var(--brand); color: var(--ink); }
.chip[aria-pressed="true"] {
  background: var(--brand); border-color: var(--brand); color: #fff;
}
@media (prefers-color-scheme: dark) { .chip[aria-pressed="true"] { color: #05191c; } }

.input-wrap { position: relative; display: flex; align-items: center; }
.input-wrap input {
  font: inherit; font-weight: 620; font-variant-numeric: tabular-nums;
  width: 100%; padding: 14px 74px 14px 16px;
  border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  background: var(--bg); color: var(--ink);
  -moz-appearance: textfield;
}
.input-wrap input::-webkit-outer-spin-button,
.input-wrap input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.input-wrap input:focus { border-color: var(--brand); outline: 3px solid color-mix(in srgb, var(--brand) 25%, transparent); outline-offset: 0; }
.input-wrap .unit {
  position: absolute; right: 14px; font-size: .88rem; font-weight: 600;
  color: var(--ink-faint); pointer-events: none;
}

.switchbox {
  display: flex; gap: 12px; align-items: flex-start; cursor: pointer;
  padding: 13px 15px; border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--bg-sunken); font-size: .9rem; color: var(--ink-soft);
}
.switchbox input { margin: 2px 0 0; width: 18px; height: 18px; accent-color: var(--accent-deep); flex: none; }
.switchbox b { color: var(--ink); font-weight: 650; display: block; }

/* Zwei Felder nebeneinander (Arbeitspreis + Grundpreis) */
.duo { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }
@media (max-width: 380px) { .duo { grid-template-columns: 1fr; } }

/* Plausibilitätswarnung unter einem Eingabefeld */
.hinweis {
  display: flex; gap: 7px; align-items: flex-start;
  font-size: .82rem; line-height: 1.45; color: var(--warn); margin: 0;
}
.hinweis svg { width: 15px; height: 15px; flex: none; margin-top: 3px; }
.hinweis:empty { display: none; }

/* Erklärkasten im Modus „Weiß ich nicht“ */
.notice {
  background: var(--bg-sunken); border: 1px solid var(--line);
  border-left: 3px solid var(--brand);
  border-radius: var(--r-sm); padding: 13px 15px;
  font-size: .86rem; line-height: 1.5; color: var(--ink-soft);
}
.notice b { color: var(--ink); font-weight: 650; }
.notice p { margin: 0; }
.notice p + p { margin-top: 7px; }

/* Feldbeschriftung mit Verweis auf die Jahresabrechnung */
.fundort {
  display: flex; gap: 8px; align-items: flex-start;
  font-size: .8rem; line-height: 1.5; color: var(--ink-faint); margin: 0;
}
.fundort svg { width: 14px; height: 14px; flex: none; margin-top: 3px; }

/* Ergebnis */
.result {
  background: linear-gradient(150deg, var(--brand-deep) 0%, #0a4b52 55%, #0c6d64 100%);
  color: #eafcf4; padding: 24px; display: grid; gap: 16px;
}
@media (prefers-color-scheme: dark) {
  .result { background: linear-gradient(150deg, #06272c 0%, #0a3f45 55%, #0d5a56 100%); }
}
.result__label { font-size: .82rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #8fe9c6; margin: 0; }

/* Genauigkeits-Pille: sagt offen, worauf das Ergebnis beruht */
.result__basis {
  display: inline-flex; align-items: center; gap: 7px; margin: 0 0 10px;
  font-size: .76rem; font-weight: 650; letter-spacing: .01em;
  padding: 5px 12px 5px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, .12); color: #cfe6de;
}
.result__basis::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: currentColor; flex: none;
}
.result__basis--exakt   { background: rgba(125, 243, 180, .22); color: #a8f7ce; }
.result__basis--naeherung { background: rgba(255, 205, 130, .2); color: #ffdda6; }
.result__basis--annahme { background: rgba(255, 255, 255, .12); color: #cfe6de; }
.result__basis:empty { display: none; }
/* Trägt seit dem Umbau eine Einschätzung als Satz, keinen Eurobetrag mehr –
   deshalb deutlich kleiner und mit Zeilenabstand statt line-height 1. */
.result__big {
  font-size: clamp(1.45rem, 1.15rem + 1.3vw, 2rem); font-weight: 730; letter-spacing: -.025em;
  line-height: 1.2; margin: 6px 0 8px; color: #fff; text-wrap: balance;
}
.result__sub { font-size: .92rem; color: #b6e7d6; margin: 0; }
.result__rows { display: grid; gap: 1px; background: rgba(255,255,255,.14); border-radius: var(--r-sm); overflow: hidden; }
.result__row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  background: rgba(255,255,255,.06); padding: 11px 14px; font-size: .9rem;
}
.result__row span { color: #b6e7d6; }
.result__row b { font-weight: 680; font-variant-numeric: tabular-nums; color: #fff; }
.result__row--accent b { color: #7df3b4; }
.result__note { font-size: .78rem; line-height: 1.5; color: #93cfbd; margin: 0; }
.result__note a { color: #cdf7e5; }

.result.is-zero { background: linear-gradient(150deg, #35424a 0%, #4a5b64 100%); }

/* Marktdaten – bewusst anders gestaltet als eine persönliche Berechnung,
   damit niemand die Zahl für „seine“ Ersparnis hält.                     */
.marktbox {
  border: 1px dashed rgba(255, 255, 255, .3);
  border-radius: var(--r-sm); padding: 14px 16px;
}
.marktbox[hidden] { display: none; }
.marktbox__kopf {
  font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: #8fe9c6; margin: 0 0 6px;
}
.marktbox__zahl {
  font-size: .95rem; line-height: 1.5; color: #eafcf4; margin: 0 0 8px;
}
.marktbox__zahl b { font-weight: 700; font-variant-numeric: tabular-nums; color: #fff; }
.marktbox__quelle { font-size: .76rem; line-height: 1.5; color: #93cfbd; margin: 0; }
.marktbox__quelle a { color: #cdf7e5; }

/* Schrittnummer vor den Fragen im Sparcheck */
.schritt {
  display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%;
  background: var(--brand); color: #fff; font-size: .72rem; font-weight: 700;
  margin-right: 7px; vertical-align: 1px;
}
@media (prefers-color-scheme: dark) { .schritt { color: #05191c; } }

/* Optionaler Verbrauch – eingeklappt, damit er niemanden aufhält */
.genauer {
  border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--bg-sunken);
}
.genauer summary {
  cursor: pointer; list-style: none; padding: 12px 15px;
  font-size: .88rem; font-weight: 600; color: var(--ink-soft); position: relative;
  padding-right: 40px;
}
.genauer summary::-webkit-details-marker { display: none; }
.genauer summary::after {
  content: ""; position: absolute; right: 16px; top: 50%; width: 8px; height: 8px;
  border-right: 2px solid var(--ink-faint); border-bottom: 2px solid var(--ink-faint);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s ease;
}
.genauer[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.genauer summary:hover { color: var(--ink); }
.genauer__inhalt { padding: 0 15px 15px; display: grid; gap: 9px; }

/* Ablauf nach dem Klick – nimmt dem nächsten Schritt die Unsicherheit */
.ablauf {
  border: 1px dashed rgba(255, 255, 255, .28); border-radius: var(--r-sm); padding: 15px 17px;
}
.ablauf__kopf {
  display: flex; justify-content: space-between; align-items: baseline; gap: 10px;
  font-size: .74rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  color: #8fe9c6; margin: 0 0 11px;
}
.ablauf__kopf span { letter-spacing: 0; text-transform: none; font-weight: 600; color: #93cfbd; }
.ablauf__liste { margin: 0; padding-left: 1.15em; display: grid; gap: 8px; }
.ablauf__liste li { font-size: .87rem; line-height: 1.5; color: #b6e7d6; }
.ablauf__liste b { color: #fff; font-weight: 650; }

/* Einwand-Killer direkt unter dem Button */
.vertrauen {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px;
}
.vertrauen li {
  display: flex; align-items: center; gap: 6px;
  font-size: .8rem; font-weight: 600; color: #b6e7d6;
}
.vertrauen li::before {
  content: ""; width: 12px; height: 7px; flex: none;
  border-left: 2px solid #7df3b4; border-bottom: 2px solid #7df3b4;
  transform: rotate(-45deg) translate(1px, -2px);
}

/* Mitlaufender CTA auf schmalen Viewports, sobald das Ergebnis weg ist */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: color-mix(in srgb, var(--bg-elev) 94%, transparent);
  backdrop-filter: saturate(180%) blur(12px);
  border-top: 1px solid var(--line);
  transform: translateY(110%); transition: transform .25s ease;
}
.sticky-cta.is-sichtbar { transform: translateY(0); }
.sticky-cta .btn { width: 100%; padding: 14px 20px; }
@media (min-width: 800px) { .sticky-cta { display: none; } }
.uebergabe__zeile {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  background: rgba(255,255,255,.06); padding: 10px 14px; font-size: .88rem;
}
.uebergabe__zeile span { color: #b6e7d6; }
.uebergabe__zeile b { font-weight: 650; font-variant-numeric: tabular-nums; color: #fff; }

/* Quellenangabe unter Tabellen und Abschnitten */
.quelle {
  font-size: .8rem; line-height: 1.6; color: var(--ink-faint); margin: 14px 0 0;
}
.quelle a { color: var(--ink-soft); }

/* Balkenvergleich */
.bars { display: grid; gap: 10px; }
.bar__top { display: flex; justify-content: space-between; font-size: .82rem; margin-bottom: 5px; }
.bar__track { height: 12px; border-radius: 999px; background: rgba(255,255,255,.15); overflow: hidden; }
.bar__fill { height: 100%; border-radius: 999px; transition: width .5s cubic-bezier(.4,0,.2,1); }
.bar__fill--now { background: linear-gradient(90deg, #ff9f6e, #ff7a45); }
.bar__fill--new { background: linear-gradient(90deg, #4ff0a4, #17c26a); }

/* ---------- Karten / Steps ---------- */

.grid { display: grid; gap: 20px; }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }

.card {
  background: var(--bg-elev); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow-sm);
}
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.card__icon {
  width: 46px; height: 46px; border-radius: 14px; margin-bottom: 16px;
  display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-deep);
}
.card__icon svg { width: 23px; height: 23px; }

.step { position: relative; padding-top: 8px; }
.step__num {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--brand); color: #fff; font-weight: 750; font-size: 1.05rem; margin-bottom: 16px;
}
@media (prefers-color-scheme: dark) { .step__num { color: #05191c; } }

/* ---------- Tabelle ---------- */

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--r-md); border: 1px solid var(--line); }
table { border-collapse: collapse; width: 100%; min-width: 540px; background: var(--bg-elev); }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: .95rem; }
th { background: var(--bg-sunken); font-weight: 680; font-size: .85rem; letter-spacing: .02em; }
td:not(:first-child), th:not(:first-child) { text-align: right; font-variant-numeric: tabular-nums; }
tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: color-mix(in srgb, var(--brand) 4%, transparent); }
.td-win { color: var(--accent-deep); font-weight: 700; }

/* ---------- FAQ ---------- */

.faq { display: grid; gap: 12px; max-width: 780px; margin-inline: auto; }
.faq details {
  background: var(--bg-elev); border: 1px solid var(--line);
  border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-sm);
}
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 54px 18px 22px;
  font-weight: 650; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px;
  border-right: 2px solid var(--ink-faint); border-bottom: 2px solid var(--ink-faint);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq summary:hover { background: var(--bg-sunken); }
.faq .faq__a { padding: 0 22px 20px; color: var(--ink-soft); }
.faq .faq__a p:last-child { margin-bottom: 0; }

/* ---------- CTA-Band ---------- */

.cta-band {
  background: linear-gradient(135deg, var(--brand-deep), #0c6d64);
  border-radius: var(--r-xl); padding: clamp(32px, 5vw, 56px);
  color: #eafcf4; text-align: center; box-shadow: var(--shadow-md);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #b6e7d6; max-width: 54ch; margin-inline: auto; }

/* ---------- Artikel ---------- */

.article { max-width: 720px; margin-inline: auto; }
.article h2 { margin-top: 1.8em; }
.article h3 { margin-top: 1.6em; }
.article ul, .article ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.article li { margin-bottom: .5em; }
.article blockquote {
  margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--accent);
  color: var(--ink-soft); font-style: italic;
}
.article .meta { color: var(--ink-faint); font-size: .88rem; margin-bottom: 2em; }
.callout {
  background: var(--brand-soft); border: 1px solid color-mix(in srgb, var(--brand) 22%, transparent);
  border-radius: var(--r-md); padding: 20px 22px; margin: 1.6em 0;
}
.callout p:last-child { margin-bottom: 0; }
.callout strong { color: var(--brand); }

.post-list { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.post-card {
  display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: inherit;
  background: var(--bg-elev); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 24px; box-shadow: var(--shadow-sm); transition: transform .18s ease, box-shadow .18s ease;
}
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.post-card h3 { margin: 0; }
.post-card p { margin: 0; color: var(--ink-soft); font-size: .94rem; }
.post-card .more { margin-top: auto; padding-top: 12px; color: var(--brand); font-weight: 650; font-size: .9rem; }

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--line); background: var(--bg-elev);
  padding-block: 48px 32px; margin-top: 0;
}
.footer__grid {
  display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  margin-bottom: 36px;
}
.footer__grid h4 { font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-faint); margin-bottom: 14px; }
.footer__grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer__grid a { color: var(--ink-soft); text-decoration: none; font-size: .94rem; }
.footer__grid a:hover { color: var(--brand); }
.footer__bottom {
  border-top: 1px solid var(--line); padding-top: 24px;
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center;
}

.disclosure {
  background: var(--bg-sunken); border: 1px solid var(--line); border-radius: var(--r-md);
  padding: 16px 20px; margin-bottom: 32px;
}

/* Utilities */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.stack-lg > * + * { margin-top: 32px; }
.hidden { display: none !important; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
