/* ==========================================================================
   zuckersteuer-fakten.de — zentrales Stylesheet
   Struktur:
   1. Design-Token (Farben, Abstände, Typografie)
   2. Basis & Reset
   3. Layout-Bausteine (Container, Grid)
   4. Kopfbereich & Navigation
   5. Hero (dunkles Editorial-Panel mit Kennzahlen)
   6. Inhaltsmodule (Karten, Abschnitte, Infoboxen)
   7. Mehrkostenrechner
   8. Digitale Abstimmung
   9. FAQ
   10. Countdown / Veranstaltung
   11. Footer
   12. Cookie-Hinweis
   13. Scroll-Animationen
   14. Hilfsklassen & Responsive
   ========================================================================== */

/* 1. Design-Token ------------------------------------------------------- */
:root {
  --color-bg: #ffffff;
  --color-surface: #f4f6f9;
  --color-surface-deep: #e8edf3;
  --color-border: #dfe5ec;
  --color-text: #1d2a38;
  --color-muted: #58687a;
  --color-accent: #16437e;        /* Dunkelblau — einzige Akzentfarbe */
  --color-accent-dark: #0e2f5c;
  --color-accent-deep: #0a2242;   /* Tiefes Navy für Hero/CTA-Flächen */
  --color-accent-soft: #e8eef6;
  --color-accent-glow: #3d6cae;   /* Aufhellung für Verläufe auf Navy */
  --grad-navy: linear-gradient(135deg, #0a2242 0%, #16437e 55%, #1d54a0 100%);
  --grad-accent: linear-gradient(135deg, #16437e, #3d6cae);
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 1px 3px rgba(13, 32, 58, 0.08), 0 6px 20px rgba(13, 32, 58, 0.07);
  --shadow-lift: 0 4px 10px rgba(13, 32, 58, 0.10), 0 18px 44px rgba(13, 32, 58, 0.14);
  --max-width: 1120px;
  --nav-height: 3.25rem;
}

/* 2. Basis & Reset ------------------------------------------------------ */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  /* Anker unter der Sticky-Navigation sichtbar halten */
  scroll-padding-top: calc(var(--nav-height) + 1rem);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  line-height: 1.18;
  color: var(--color-text);
  margin: 0 0 0.6em;
  font-weight: 800;
  letter-spacing: -0.022em;
}

h1 { font-size: clamp(2.1rem, 5.2vw, 3.4rem); }
h2 { font-size: clamp(1.55rem, 3.2vw, 2.15rem); }
h3 { font-size: 1.22rem; }

p { margin: 0 0 1em; }

a { color: var(--color-accent); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--color-accent-dark); }

img, svg { max-width: 100%; height: auto; display: block; }

ul, ol { padding-left: 1.35em; margin: 0 0 1em; }
li { margin-bottom: 0.35em; }

/* Sichtbarer Fokus für Tastaturnutzung */
:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--color-accent);
  color: #fff;
  padding: 0.6rem 1rem;
  z-index: 100;
}
.skip-link:focus { left: 0.5rem; top: 0.5rem; }

/* 3. Layout-Bausteine --------------------------------------------------- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section { padding: 4.25rem 0; }
.section--alt { background: var(--color-surface); }

/* Dunkle Call-to-Action-Fläche (z. B. Abstimmungs-Teaser) */
.section--cta {
  background: var(--grad-navy);
  color: #dce7f5;
}
.section--cta h2, .section--cta h1 { color: #fff; }
.section--cta .section-head p { color: #b9cbe2; }
.section--cta .kicker { color: #8fb4e4 !important; }
.section--cta a:not(.btn) { color: #fff; }

.section-head { max-width: 47rem; margin-bottom: 2.25rem; }
.section-head .kicker {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}
.section-head h2 {
  position: relative;
  padding-bottom: 0.55rem;
}
/* dezente Akzentlinie unter Abschnittstiteln */
.section-head h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 3.5rem;
  height: 4px;
  border-radius: 2px;
  background: var(--grad-accent);
}
.section-head p { color: var(--color-muted); font-size: 1.08rem; }

.grid {
  display: grid;
  gap: 1.5rem;
}
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

/* 4. Kopfbereich & Navigation ------------------------------------------ */
.masthead {
  border-bottom: 1px solid var(--color-border);
  border-top: 4px solid var(--color-accent);
  background: var(--color-bg);
}
.masthead__inner {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 0;
}
.brand {
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--color-text);
  text-decoration: none;
}
.brand span { color: var(--color-accent); }
.masthead__tagline {
  margin: 0;
  font-size: 0.85rem;
  color: var(--color-muted);
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(14, 47, 92, 0.97);
  backdrop-filter: saturate(1.4) blur(6px);
  -webkit-backdrop-filter: saturate(1.4) blur(6px);
  box-shadow: 0 6px 20px rgba(10, 34, 66, 0.28);
}
.site-nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--nav-height);
}
.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a {
  display: block;
  padding: 0.85rem 0.95rem;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 3px solid transparent;
  transition: background-color 0.15s ease;
}
.site-nav a:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.site-nav a[aria-current="page"] { border-bottom-color: #fff; }

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius);
  color: #fff;
  font: inherit;
  font-weight: 600;
  padding: 0.4rem 0.8rem;
  margin: 0.5rem 0;
  cursor: pointer;
}

/* 5. Hero ---------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--grad-navy);
  color: #dce7f5;
  padding: 5rem 0 4.5rem;
  border-bottom: 1px solid var(--color-border);
}
/* dezentes Punktraster als Tiefenebene */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1.6px);
  background-size: 26px 26px;
  pointer-events: none;
}
/* weiches Glühen oben rechts */
.hero::after {
  content: "";
  position: absolute;
  top: -22rem;
  right: -14rem;
  width: 46rem;
  height: 46rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(90, 140, 205, 0.4) 0%, transparent 62%);
  pointer-events: none;
}
.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 3rem;
  align-items: center;
}
.hero .kicker {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8fb4e4;
  margin-bottom: 1rem;
  padding: 0.35rem 0.8rem;
  border: 1px solid rgba(143, 180, 228, 0.45);
  border-radius: 99px;
}
.hero h1 {
  color: #fff;
  margin-bottom: 0.5em;
}
.hero p.lead {
  font-size: 1.22rem;
  color: #c3d3e8;
  max-width: 44rem;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}
/* Buttons auf dunklem Grund */
.hero .btn--primary {
  background: #fff;
  border-color: #fff;
  color: var(--color-accent-dark);
}
.hero .btn--primary:hover {
  background: #dce7f5;
  border-color: #dce7f5;
  color: var(--color-accent-deep);
}
.hero .btn--secondary {
  border-color: rgba(255, 255, 255, 0.65);
  color: #fff;
}
.hero .btn--secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

/* Kennzahlen-Chips im Hero */
.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2.5rem;
}
.stat-chip {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  padding: 0.8rem 1.15rem;
  min-width: 9.5rem;
  backdrop-filter: blur(4px);
}
.stat-chip strong {
  display: block;
  font-size: 1.65rem;
  font-weight: 800;
  color: #fff;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.stat-chip span {
  font-size: 0.82rem;
  color: #a9bfda;
  line-height: 1.4;
  display: block;
  margin-top: 0.15rem;
}

/* Illustration rechts im Hero */
.hero__art { justify-self: end; width: 100%; max-width: 340px; }
.hero__art svg { width: 100%; height: auto; }

/* Buttons (global) */
.btn {
  display: inline-block;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid var(--color-accent);
  cursor: pointer;
  font-family: inherit;
  line-height: 1.4;
  transition: background-color 0.15s ease, color 0.15s ease,
              transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(13, 32, 58, 0.18); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--grad-accent); background-color: var(--color-accent); color: #fff; }
.btn--primary:hover { color: #fff; }
.btn--secondary { background: transparent; color: var(--color-accent); }
.btn--secondary:hover { background: var(--color-accent-soft); color: var(--color-accent-dark); }
.btn--small { padding: 0.45rem 0.95rem; font-size: 0.9rem; }
.btn--small:hover { transform: none; box-shadow: none; }

/* Weiße Buttons auf Navy-Flächen (CTA-Sektionen) */
.section--cta .btn--primary { background: #fff; border-color: #fff; color: var(--color-accent-dark); }
.section--cta .btn--primary:hover { background: #dce7f5; border-color: #dce7f5; color: var(--color-accent-deep); }
.section--cta .btn--secondary { border-color: rgba(255,255,255,0.65); color: #fff; }
.section--cta .btn--secondary:hover { background: rgba(255,255,255,0.12); color: #fff; }

/* 6. Inhaltsmodule ------------------------------------------------------- */
.card {
  position: relative;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
}
/* Akzentkante, die beim Überfahren sichtbar wird */
.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--grad-accent);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }
.card:hover::before { opacity: 1; }
.card h3 { margin-top: 0.9rem; }
.card p { color: var(--color-muted); flex-grow: 1; }
.card .card__icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: var(--grad-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 6px 14px rgba(22, 67, 126, 0.3);
}
.card .card__icon svg { width: 30px; height: 30px; }
.card a.more { font-weight: 700; }
.card a.more::after { content: " →"; }

.infobox {
  border-left: 4px solid var(--color-accent);
  background: var(--color-accent-soft);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.2rem 1.5rem;
  margin: 1.5rem 0;
}
.infobox p:last-child { margin-bottom: 0; }

.notice {
  font-size: 0.9rem;
  color: var(--color-muted);
}

/* Nummerierte Schritt-Leiste (Nutzerführung) */
.steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.steps li {
  counter-increment: step;
  position: relative;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.4rem;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.steps li:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.steps li::before {
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: var(--grad-accent);
  color: #fff;
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 0.7rem;
  box-shadow: 0 5px 12px rgba(22, 67, 126, 0.32);
}
.steps strong { display: block; margin-bottom: 0.25rem; font-size: 1.05rem; }
.steps span { font-size: 0.92rem; color: var(--color-muted); }

/* Argument-Detailabschnitte */
.argument {
  border-bottom: 1px solid var(--color-border);
  padding: 2.75rem 0;
}
.argument:last-of-type { border-bottom: none; }
.argument h2 {
  max-width: 46rem;
  position: relative;
  padding-left: 1.15rem;
}
.argument h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.28em;
  bottom: 0.18em;
  width: 5px;
  border-radius: 3px;
  background: var(--grad-accent);
}
.argument .sources {
  font-size: 0.9rem;
  color: var(--color-muted);
  margin-top: 1rem;
  background: var(--color-surface);
  border-radius: var(--radius);
  padding: 0.7rem 1rem;
  display: inline-block;
}

/* Quellenliste */
.source-list { list-style: none; padding: 0; }
.source-list li {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-bg);
  padding: 1rem 1.25rem;
  margin: 0 0 0.75rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.source-list li:hover { border-color: var(--color-accent); box-shadow: var(--shadow); }
.source-list .source-meta {
  display: block;
  font-size: 0.88rem;
  color: var(--color-muted);
  margin-top: 0.25rem;
}

/* Tabellen */
.table-wrap { overflow-x: auto; }
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}
th, td {
  text-align: left;
  padding: 0.65rem 0.8rem;
  border-bottom: 1px solid var(--color-border);
  vertical-align: top;
}
th { background: var(--color-surface); }

/* 7. Mehrkostenrechner --------------------------------------------------- */
.rechner {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
  padding: 2.25rem;
  position: relative;
  overflow: hidden;
}
.rechner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--grad-accent);
}
.rechner fieldset {
  border: none;
  padding: 0;
  margin: 0 0 1.5rem;
}
.rechner legend {
  font-weight: 800;
  font-size: 1.08rem;
  padding: 0;
  margin-bottom: 0.85rem;
}
.field { margin-bottom: 1.1rem; }
.field label {
  display: block;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}
.field select,
.field input[type="number"] {
  width: 100%;
  padding: 0.72rem 0.8rem;
  font: inherit;
  color: var(--color-text);
  background: var(--color-bg);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field select:focus,
.field input:focus {
  border-color: var(--color-accent);
  outline: none;
  box-shadow: 0 0 0 4px var(--color-accent-soft);
}
.field .hint { font-size: 0.85rem; color: var(--color-muted); margin-top: 0.25rem; }

.rechner__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.25rem;
}

/* Preisübersicht des gewählten Produkts */
.price-summary {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.3rem 1.4rem;
  margin-bottom: 1.5rem;
}
.price-summary dl {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.45rem 1rem;
  margin: 0;
}
.price-summary dt { color: var(--color-muted); }
.price-summary dd { margin: 0; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.price-summary .diff dd { color: var(--color-accent); font-weight: 800; font-size: 1.1em; }

/* Ergebnis */
.result {
  background: var(--grad-navy);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: 0 14px 34px rgba(10, 34, 66, 0.35);
  position: relative;
  overflow: hidden;
}
.result::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1.6px);
  background-size: 22px 22px;
  pointer-events: none;
}
.result > * { position: relative; }
.result h3 { color: #fff; margin-bottom: 1rem; }
.result table { font-size: 1rem; }
.result th, .result td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  background: none;
  padding: 0.55rem 0;
}
.result th { color: #b9cbe2; font-weight: 600; }
.result td { text-align: right; font-weight: 800; font-variant-numeric: tabular-nums; font-size: 1.08rem; }
.result .result__year {
  margin-top: 1.4rem;
  padding-top: 1.15rem;
  border-top: 2px solid rgba(255, 255, 255, 0.35);
  font-size: 1.12rem;
  color: #dce7f5;
}
.result .result__year strong {
  font-size: 1.7rem;
  color: #fff;
  display: inline-block;
}

/* 8. Digitale Abstimmung ------------------------------------------------- */
.poll {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
  padding: 2.25rem;
  max-width: 46rem;
  position: relative;
  overflow: hidden;
}
.poll::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--grad-accent);
}
.poll__question { font-size: 1.35rem; font-weight: 800; margin-bottom: 1.6rem; letter-spacing: -0.01em; }
.poll__bars { margin-bottom: 1.9rem; }
.poll__row { margin-bottom: 1.15rem; }
.poll__label {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 0.98rem;
  margin-bottom: 0.35rem;
}
.poll__label .pct { font-variant-numeric: tabular-nums; color: var(--color-accent); font-size: 1.05rem; }
.poll__track {
  background: var(--color-surface-deep);
  border-radius: 99px;
  height: 1.5rem;
  overflow: hidden;
  box-shadow: inset 0 1px 3px rgba(13, 32, 58, 0.12);
}
.poll__fill {
  height: 100%;
  width: 0;
  border-radius: 99px;
  background: var(--grad-accent);
  transition: width 0.9s cubic-bezier(0.25, 0.9, 0.3, 1);
  box-shadow: 0 2px 6px rgba(22, 67, 126, 0.35);
}
.poll__fill--nein { background: linear-gradient(135deg, #4d637d, #6d84a0); }
.poll__fill--neutral { background: linear-gradient(135deg, #93a5b8, #b3c2d2); }
.poll__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.poll__status { margin-top: 1rem; font-size: 0.95rem; color: var(--color-muted); }
.poll__total { font-size: 0.9rem; color: var(--color-muted); margin-top: 0.5rem; }
.poll__share { margin-top: 1.6rem; padding-top: 1.3rem; border-top: 1px solid var(--color-border); }
.poll__share p { font-size: 0.9rem; color: var(--color-muted); margin-bottom: 0.5rem; }

/* 9. FAQ ------------------------------------------------------------------ */
.faq-list { max-width: 52rem; }
.faq-list details {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-bg);
  margin-bottom: 0.75rem;
  padding: 0;
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}
.faq-list details:hover { border-color: var(--color-accent); }
.faq-list details[open] {
  border-color: var(--color-accent);
  box-shadow: var(--shadow);
}
.faq-list summary {
  cursor: pointer;
  font-weight: 700;
  padding: 1.05rem 1.35rem;
  list-style: none;
  position: relative;
  padding-right: 3rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--color-accent);
  font-weight: 400;
  transition: transform 0.2s ease;
}
.faq-list details[open] summary::after { content: "–"; }
.faq-list .faq-answer { padding: 0 1.35rem 1.35rem; color: var(--color-muted); }
.faq-list .faq-answer p:last-child { margin-bottom: 0; }
.faq-list .faq-source { font-size: 0.85rem; }

/* 10. Countdown / Veranstaltung ------------------------------------------ */
.event {
  border-radius: var(--radius-lg);
  background: var(--grad-navy);
  color: #dce7f5;
  box-shadow: 0 16px 40px rgba(10, 34, 66, 0.35);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}
.event::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1.6px);
  background-size: 24px 24px;
  pointer-events: none;
}
.event > * { position: relative; }
.event a { color: #fff; }
.event__meta {
  color: #b9cbe2;
  margin-bottom: 1rem;
  font-size: 1.05rem;
}
.event__meta strong { color: #fff; font-size: 1.15rem; }
.countdown {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin: 1.5rem 0;
}
.countdown__unit {
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  padding: 0.9rem 1.1rem;
  text-align: center;
  min-width: 5.2rem;
  backdrop-filter: blur(4px);
}
.countdown__unit strong {
  display: block;
  font-size: 2.1rem;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.countdown__unit span {
  font-size: 0.78rem;
  color: #a9bfda;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.event .event__live strong { color: #fff; font-size: 1.15rem; }

/* 11. Footer -------------------------------------------------------------- */
.site-footer {
  background: linear-gradient(180deg, #14283f 0%, #0d1c30 100%);
  color: #c6d0da;
  margin-top: 4rem;
  padding: 3.25rem 0 2rem;
  font-size: 0.95rem;
  border-top: 4px solid var(--color-accent);
}
.site-footer h2 {
  color: #fff;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.site-footer a { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.4rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 1.25rem;
  font-size: 0.85rem;
  color: #9aa8b6;
}

/* 12. Cookie-Hinweis ------------------------------------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  max-width: 34rem;
  margin: 0 auto;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 30px rgba(13, 32, 58, 0.3);
  padding: 1.35rem;
  z-index: 90;
}
.cookie-banner p { font-size: 0.92rem; margin-bottom: 0.9rem; }
.cookie-banner .cookie-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.cookie-banner[hidden] { display: none; }

/* 13. Scroll-Animationen ---------------------------------------------------
   js/main.js versieht Karten & Abschnitte mit .reveal und schaltet
   .is-visible beim Eintritt in den Viewport. Bei prefers-reduced-motion
   bleiben alle Elemente sofort sichtbar. */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 0.9, 0.3, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
/* gestaffelte Verzögerung innerhalb von Rastern */
.grid > .reveal:nth-child(2), .steps > .reveal:nth-child(2) { transition-delay: 0.08s; }
.grid > .reveal:nth-child(3), .steps > .reveal:nth-child(3) { transition-delay: 0.16s; }
.grid > .reveal:nth-child(4), .steps > .reveal:nth-child(4) { transition-delay: 0.24s; }
.grid > .reveal:nth-child(5) { transition-delay: 0.32s; }
.grid > .reveal:nth-child(6) { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .card:hover, .steps li:hover { transform: none; }
}

/* 14. Hilfsklassen & Responsive ------------------------------------------- */
.text-muted { color: var(--color-muted); }
.mt-2 { margin-top: 2rem; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@media (max-width: 960px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero__art { display: none; }
}

@media (max-width: 900px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .rechner__grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .grid--2, .grid--3 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .masthead__inner { flex-direction: column; gap: 0.15rem; align-items: flex-start; padding: 0.9rem 0; }
  .hero { padding: 3.5rem 0 3rem; }
  .stat-chip { flex: 1 1 100%; }

  /* Mobile Navigation */
  .nav-toggle { display: inline-block; }
  .site-nav ul {
    display: none;
    flex-direction: column;
    width: 100%;
    padding-bottom: 0.5rem;
  }
  .site-nav ul.is-open { display: flex; }
  .site-nav__inner { flex-wrap: wrap; }
  .site-nav a { border-bottom: none; border-left: 3px solid transparent; }
  .site-nav a[aria-current="page"] { border-left-color: #fff; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .poll__fill { transition: none; }
}

@media print {
  .site-nav, .cookie-banner, .hero__actions, .poll__actions { display: none; }
}
