/* ============================================================
   CIVIC CLARITY SYSTEM — Sichere Wege Nürnberg-Ost
   Shared stylesheet for index.html and chronik.html
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Archivo+Narrow:ital,wght@0,400..700;1,400..700&family=Inter:wght@300..700&family=JetBrains+Mono:wght@400..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:wght,FILL@100..700,0..1&display=swap');

/* ── DESIGN TOKENS ─────────────────────────────────────────── */
:root {
  --primary:       #004a99;
  --primary-dk:    #00529c;
  --on-primary:    #ffffff;
  --yellow:        #c5d92d;
  --on-yellow:     #191e00;
  --red:           #b91c1c;
  --red-bg:        #fde8e8;
  --on-red-bg:     #7f0d0d;

  --bg:            #f9f9f8;
  --surface:       #ffffff;
  --surface-low:   #f3f4f3;
  --surface-mid:   #eeeeed;
  --surface-high:  #e8e8e7;
  --on-bg:         #1a1c1c;
  --on-variant:    #424751;
  --border:        #c2c6d3;
  --border-strong: #727782;

  --dark:          #2f3130;
  --dark-text:     #f1f1f0;
  --dark-muted:    rgba(241,241,240,.65);

  --r-sm:  2px;
  --r:     4px;
  --r-md:  6px;
  --r-lg:  8px;

  --max-w:  1200px;
  --pad:    24px;
  --section: 80px;
}

/* ── RESET ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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;
  }
}

/* ── BASE ──────────────────────────────────────────────────── */
body {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  background: var(--bg);
  color: var(--on-bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--primary); }
a:hover { text-decoration: underline; }

ul { list-style: none; }

/* Material Symbols (icon font, CSS-only) */
.mi {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 1em;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
  vertical-align: -.15em;
  font-variation-settings: 'FILL' 1;
}

/* ── LAYOUT ────────────────────────────────────────────────── */
.wrap {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.section { padding-block: var(--section); }

.section-alt {
  background: var(--surface-mid);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* ── SKIP LINK ─────────────────────────────────────────────── */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--primary);
  color: var(--on-primary);
  padding: 10px 18px;
  font-weight: 600;
  z-index: 200;
  border-radius: var(--r);
  text-decoration: none;
  font-size: 14px;
}
.skip-link:focus { left: 8px; }

/* ── NAVIGATION ────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.nav-brand {
  font-family: 'Archivo Narrow', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: -.01em;
  white-space: nowrap;
}
.nav-brand:hover { text-decoration: none; opacity: .85; }

.nav-links {
  display: flex;
  gap: 2px;
  align-items: center;
}

.nav-links a {
  font-family: 'Archivo Narrow', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--on-variant);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: var(--r);
  transition: color .15s, background .15s;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--primary);
  background: var(--surface-low);
  text-decoration: none;
}

.nav-links a[aria-current="page"] {
  color: var(--primary);
  border-bottom: 2px solid var(--primary);
  padding-bottom: 6px;
}

/* ── BUTTONS ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Archivo Narrow', sans-serif;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: var(--r);
  transition: all .2s;
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: var(--on-primary);
}
.btn-primary:hover, .btn-primary:focus-visible {
  background: var(--primary-dk);
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0,74,153,.3);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}
.btn-outline:hover, .btn-outline:focus-visible {
  background: var(--surface-low);
  text-decoration: none;
}

.btn-cta {
  background: var(--yellow);
  color: var(--on-yellow);
}
.btn-cta:hover, .btn-cta:focus-visible {
  filter: brightness(.95);
  text-decoration: none;
}

/* ── HERO ──────────────────────────────────────────────────── */
.hero {
  background: var(--surface);
  padding-block: var(--section);
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-body {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red-bg);
  color: var(--on-red-bg);
  padding: 6px 14px;
  border-radius: var(--r-sm);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  align-self: flex-start;
}

h1.display {
  font-family: 'Archivo Narrow', sans-serif;
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.02em;
  color: var(--on-bg);
}

.hero-sub {
  font-size: clamp(17px, 2vw, 19px);
  line-height: 1.6;
  color: var(--on-variant);
  max-width: 560px;
}

/* zweite Zeile der Hero-Überschrift: benennt den Missstand */
.h1-alert {
  background: var(--yellow);
  color: var(--on-yellow);
  padding: 2px 0.1em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  border-radius: 2px;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* hero right card */
.hero-card {
  background: var(--surface-mid);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-card-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--on-variant);
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.hero-stat-mini {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-left: 14px;
}
.hero-stat-mini.ac-yellow { border-left: 3px solid var(--yellow); }
.hero-stat-mini.ac-red    { border-left: 3px solid var(--red); }
.hero-stat-mini.ac-grey   { border-left: 3px solid var(--border-strong); }
.hero-stat-mini.ac-blue   { border-left: 3px solid var(--primary); }

.hero-stat-value {
  font-family: 'Archivo Narrow', sans-serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  color: var(--on-bg);
}
.hero-stat-value.blue { color: var(--primary); }
.hero-stat-value.red  { color: var(--red); }

.hero-stat-label {
  font-size: 13px;
  color: var(--on-variant);
  line-height: 1.4;
}

/* ── STATS BAND ────────────────────────────────────────────── */
.stats-band {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding-block: 48px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: 16px;
}
.stat-item.ac-yellow { border-left: 4px solid var(--yellow); }
.stat-item.ac-red    { border-left: 4px solid var(--red); }
.stat-item.ac-grey   { border-left: 4px solid var(--border-strong); }
.stat-item.ac-blue   { border-left: 4px solid var(--primary); }

.stat-value {
  font-family: 'Archivo Narrow', sans-serif;
  font-size: clamp(26px, 3.5vw, 32px);
  font-weight: 700;
  line-height: 1;
  color: var(--on-bg);
}
.stat-value.blue { color: var(--primary); }
.stat-value.red  { color: var(--red); }

.stat-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--on-variant);
}

.stat-desc {
  font-size: 14px;
  color: var(--on-variant);
  line-height: 1.4;
}

/* ── SECTION HEADER ────────────────────────────────────────── */
.section-header { margin-bottom: 48px; }

.eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
  display: block;
}

h2.headline-md {
  font-family: 'Archivo Narrow', sans-serif;
  font-size: clamp(26px, 3.5vw, 34px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.01em;
  color: var(--on-bg);
  margin-bottom: 20px;
}

h2.headline-md + .lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--on-variant);
  max-width: 700px;
}

/* ── CARDS GRID ────────────────────────────────────────────── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow .2s;
}
.card:hover { box-shadow: 0 4px 14px rgba(0,0,0,.08); }

.card-icon {
  width: 48px;
  height: 48px;
  background: var(--surface-mid);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 26px;
  flex-shrink: 0;
}
.card-icon.red { color: var(--red); }

.card h3 {
  font-family: 'Archivo Narrow', sans-serif;
  font-size: 21px;
  font-weight: 600;
  color: var(--on-bg);
  line-height: 1.25;
}

.card p {
  font-size: 15px;
  color: var(--on-variant);
  line-height: 1.55;
}

/* Symbolzeile für betroffene Gruppen innerhalb einer Karte */
.card-icon-row {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--red);
  font-size: 22px;
  padding: 4px 0 2px;
}

/* ── ZUSTÄNDIGKEIT LAYOUT ──────────────────────────────────── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.body-text h2.headline-md { margin-bottom: 16px; }

.body-text p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--on-variant);
  margin-bottom: 16px;
}

.bullet-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 24px;
}

.bullet-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--on-variant);
}

.bullet-sq {
  width: 8px;
  height: 8px;
  background: var(--primary);
  flex-shrink: 0;
  margin-top: 7px;
  border-radius: 1px;
}

/* ── FACT BOX ──────────────────────────────────────────────── */
.fact-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--yellow);
  border-radius: 0 var(--r-lg) var(--r-lg) 0;
  padding: 28px 28px 24px;
  position: relative;
}
.fact-box.critical { border-left-color: var(--red); }

.fact-box-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--on-variant);
  margin-bottom: 14px;
  display: block;
}

.fact-box blockquote {
  font-family: 'Archivo Narrow', sans-serif;
  font-size: 21px;
  font-weight: 600;
  font-style: italic;
  color: var(--on-bg);
  line-height: 1.35;
  margin-bottom: 14px;
}

.fact-box-footer {
  font-size: 14px;
  color: var(--on-variant);
  border-top: 1px solid var(--border);
  padding-top: 14px;
  line-height: 1.5;
}

/* ── STEPS ─────────────────────────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}

.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px 24px 24px;
  text-align: center;
  position: relative;
}

.step-num {
  width: 42px;
  height: 42px;
  background: var(--primary);
  color: var(--on-primary);
  font-family: 'Archivo Narrow', sans-serif;
  font-size: 20px;
  font-weight: 700;
  border-radius: var(--r);
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: -21px;
  left: 50%;
  transform: translateX(-50%);
}

.step-icon {
  font-size: 40px;
  color: var(--primary);
  margin: 10px 0 14px;
  display: block;
}

.step-card h3 {
  font-family: 'Archivo Narrow', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--on-bg);
  margin-bottom: 8px;
}

.step-card p {
  font-size: 15px;
  color: var(--on-variant);
  line-height: 1.55;
}

/* ── CTA BOX ───────────────────────────────────────────────── */
.cta-box {
  background: var(--surface-high);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.cta-box-text h3 {
  font-family: 'Archivo Narrow', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--on-bg);
  margin-bottom: 6px;
}

.cta-box-text p {
  font-size: 15px;
  color: var(--on-variant);
  line-height: 1.5;
}

.cta-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.qr-wrap {
  width: 148px;
  height: 148px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 8px;
  flex-shrink: 0;
}
.qr-wrap a { display: block; line-height: 0; }
.qr-wrap img { width: 100%; height: 100%; display: block; }

/* ── TIMELINE PREVIEW (index.html) ────────────────────────── */
.tl-preview {
  max-width: 800px;
  position: relative;
  padding-left: 24px;
}

.tl-preview::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 8px;
  bottom: 24px;
  width: 1px;
  background: var(--border);
}

.tl-event {
  position: relative;
  padding-bottom: 32px;
}

.tl-event::before {
  content: "";
  position: absolute;
  left: -28px;
  top: 6px;
  width: 10px;
  height: 10px;
  background: var(--primary);
  border-radius: 2px;
  border: 2px solid var(--bg);
  box-shadow: 0 0 0 2px var(--border);
}
.tl-event.critical::before { background: var(--red); }
.tl-event.positive::before { background: var(--yellow); }

.tl-date-badge {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 500;
  color: var(--primary);
  background: rgba(0,74,153,.07);
  padding: 2px 8px;
  border-radius: var(--r-sm);
  margin-bottom: 6px;
}
.tl-date-badge.red {
  color: var(--red);
  background: var(--red-bg);
}

.tl-event h3 {
  font-family: 'Archivo Narrow', sans-serif;
  font-size: 19px;
  font-weight: 600;
  color: var(--on-bg);
  margin-bottom: 5px;
  line-height: 1.25;
}

.tl-event > p {
  font-size: 15px;
  color: var(--on-variant);
  line-height: 1.55;
  max-width: 620px;
}

/* ── TIMELINE FULL (chronik.html) ─────────────────────────── */
.tl-full {
  position: relative;
  padding-left: 40px;
  border-left: 2px solid var(--border);
  margin-left: 10px;
}

.tl-full-event {
  position: relative;
  padding-bottom: 48px;
}

.tl-full-event::before {
  content: "";
  position: absolute;
  left: -50px;
  top: 7px;
  width: 18px;
  height: 18px;
  background: var(--primary);
  border-radius: var(--r-sm);
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 2px var(--border);
}
.tl-full-event.critical::before { background: var(--red); }
.tl-full-event.positive::before { background: var(--yellow); }

.tl-tag {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 3px 10px;
  border-radius: var(--r-sm);
  margin-bottom: 10px;
}
.tl-tag.behoerde  { background: var(--primary); color: var(--on-primary); }
.tl-tag.initiative { background: var(--yellow); color: var(--on-yellow); }
.tl-tag.kritisch  { background: var(--red); color: #fff; }

.tl-full-date {
  display: inline-block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 500;
  color: var(--primary);
  background: rgba(0,74,153,.07);
  padding: 3px 10px;
  border-radius: var(--r-sm);
  margin-bottom: 10px;
}
.tl-full-date.red {
  color: var(--red);
  background: var(--red-bg);
}

.tl-full-event h2 {
  font-family: 'Archivo Narrow', sans-serif;
  font-size: clamp(18px, 2.4vw, 22px);
  font-weight: 600;
  color: var(--on-bg);
  margin-bottom: 10px;
  line-height: 1.25;
}

.tl-full-event > p {
  font-size: 16px;
  color: var(--on-variant);
  line-height: 1.6;
  max-width: 680px;
}

.quote-box {
  border-left: 4px solid var(--red);
  background: var(--surface);
  padding: 18px 24px;
  margin-top: 16px;
  border-radius: 0 var(--r-md) var(--r-md) 0;
  max-width: 680px;
}
.quote-box.positive { border-left-color: var(--yellow); }

.quote-box blockquote {
  font-size: 17px;
  font-style: italic;
  color: var(--on-bg);
  line-height: 1.5;
  margin-bottom: 8px;
}

.quote-box cite {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--border-strong);
  font-style: normal;
}

/* ── FAQ ───────────────────────────────────────────────────── */
.faq-list {
  max-width: 800px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-family: 'Archivo Narrow', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--on-bg);
  cursor: pointer;
  list-style: none;
  transition: background .15s;
  user-select: none;
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { content: none; }

.faq-item summary:hover { background: var(--surface-low); }

.faq-item summary:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: -2px;
  background: var(--surface-low);
}

.faq-chevron {
  font-size: 22px;
  color: var(--on-variant);
  flex-shrink: 0;
  transition: transform .2s;
}

.faq-item details[open] .faq-chevron { transform: rotate(45deg); }

.faq-item details[open] summary {
  border-bottom: 1px solid var(--border);
}

.faq-item-lead {
  border-color: var(--primary);
  border-left-width: 3px;
}
.faq-item-lead summary {
  background: var(--surface-low);
  color: var(--primary);
}
.faq-item-lead summary:hover { background: var(--surface); }

.faq-answer {
  padding: 20px 24px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--on-variant);
}

/* ── SUMMARY BAND ──────────────────────────────────────────── */
.summary-band {
  background: var(--dark);
  color: var(--dark-text);
  padding-block: var(--section);
  border-top: 3px solid var(--yellow);
}

.summary-band h2 {
  font-family: 'Archivo Narrow', sans-serif;
  font-size: clamp(26px, 3.5vw, 36px);
  font-weight: 700;
  color: var(--dark-text);
  margin-bottom: 16px;
  line-height: 1.15;
}

.summary-band p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--dark-muted);
  max-width: 680px;
  margin-bottom: 14px;
}

/* ── PAGE HERO (chronik.html) ──────────────────────────────── */
.page-hero {
  background: var(--dark);
  color: var(--dark-text);
  padding-block: 72px 56px;
}

.page-hero h1 {
  font-family: 'Archivo Narrow', sans-serif;
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.02em;
  color: var(--dark-text);
  margin-bottom: 20px;
}

.page-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 20px;
  display: block;
}

.page-hero p {
  font-size: clamp(15px, 1.8vw, 18px);
  line-height: 1.65;
  color: var(--dark-muted);
  max-width: 660px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--yellow);
  text-decoration: none;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 32px;
}
.back-link:hover { text-decoration: underline; }

/* ── LEGAL NOTE ────────────────────────────────────────────── */
.legal-note {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  line-height: 1.75;
  color: var(--border-strong);
  max-width: 760px;
  margin-top: 48px;
  border-top: 1px solid var(--border);
  padding-top: 24px;
}

/* ── FOOTER ────────────────────────────────────────────────── */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding-block: 56px 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand {
  font-family: 'Archivo Narrow', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  display: block;
  margin-bottom: 12px;
}

.footer-body {
  font-size: 14px;
  line-height: 1.65;
  color: var(--on-variant);
  max-width: 480px;
}

.footer-col-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--on-variant);
  margin-bottom: 16px;
  display: block;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 14px;
  color: var(--on-variant);
  text-decoration: none;
}
.footer-links a:hover { color: var(--primary); text-decoration: underline; }

hr.footer-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin-block: 4px 20px;
}

.imprint {
  font-size: 13px;
  line-height: 1.7;
  color: var(--border-strong);
}

.imprint-mark {
  background: var(--red-bg);
  color: var(--on-red-bg);
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  padding: 1px 8px;
  border-radius: 2px;
}

/* ── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-layout { grid-template-columns: 1fr; }
  .hero-card { display: none; }
  .two-col { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --section: 56px; --pad: 16px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .cards-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-box { flex-direction: column; }
  .cta-actions { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .hero-cta-row .btn { width: 100%; text-align: center; }
}

/* ── ACCESSIBILITY ─────────────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

@media (forced-colors: active) {
  .btn { border: 2px solid ButtonText; }
  .stat-item, .hero-stat-mini { forced-color-adjust: none; }
}

/* ── KONTRAST-TABELLE (Aussage vs. Wirklichkeit) ───────────── */
.contrast-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contrast-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.cs-stmt,
.cs-real {
  padding: 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cs-stmt {
  background: var(--surface-low);
  border-right: 1px solid var(--border);
}

.cs-real {
  background: var(--surface);
}

.cs-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 5px;
}
.cs-stmt .cs-label { color: var(--on-variant); }
.cs-real .cs-label { color: var(--red); }

.cs-label .mi { font-size: 14px; }

.cs-text {
  font-size: 15px;
  line-height: 1.6;
  color: var(--on-bg);
  flex: 1;
}

.cs-src {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: .02em;
  color: var(--border-strong);
  line-height: 1.5;
}

@media (max-width: 768px) {
  .contrast-pair { grid-template-columns: 1fr; }
  .cs-stmt {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }
}

/* ── PRINT ─────────────────────────────────────────────────── */
@media print {
  .nav, .skip-link, .hero-cta-row, .summary-band .btn-cta { display: none; }
  body { font-size: 11pt; color: #000; background: #fff; }
  a[href]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #555; }
  .section, .section-alt, .stats-band { padding-block: 24pt; }
}
