:root {
  --bg: #FAFAF6;
  --bg-alt: #F0EDE6;
  --text: #1A1A1A;
  --text-muted: #64748B;
  --primary: #B8292F;
  --accent: #C67A2E;
  --positive: #2D7D5A;
  --critical: #C4392D;
  --neutral: #64748B;
  --card-bg: #FFFFFF;
  --card-border: #E2DED6;
  --divider: #D4CFC5;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Source Serif 4', Georgia, serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

/* ── Reading Progress Bar ── */
#progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--accent);
  z-index: 9999;
  transition: width 0.1s linear;
}

/* ── Typography ── */
h1, h2, h3, h4, h5 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
}

h2 {
  font-size: 2.25rem;
  margin-bottom: 1.5rem;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

h4 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--primary);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 3px;
}

.label, .overline, nav, .stat-label, .status-badge, .card-number, .position-label, .timeline-date, details summary, .details-badge {
  font-family: 'Libre Franklin', Arial, sans-serif;
}

/* ── Layout ── */
.page-wrapper {
  display: flex;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.toc-rail {
  width: 240px;
  flex-shrink: 0;
  position: sticky;
  top: 24px;
  align-self: flex-start;
  padding-right: 2rem;
  padding-top: 2rem;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
}

.toc-rail::-webkit-scrollbar {
  width: 3px;
}

.toc-rail::-webkit-scrollbar-thumb {
  background: var(--divider);
  border-radius: 3px;
}

.toc-rail nav {
  border-right: 2px solid var(--divider);
  padding-right: 1rem;
}

.toc-rail .toc-title {
  font-family: 'Libre Franklin', Arial, sans-serif;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.toc-rail a {
  display: block;
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.35rem 0;
  border-right: 2px solid transparent;
  margin-right: -1.15rem;
  padding-right: 1rem;
  transition: color 0.2s, border-color 0.2s;
}

.toc-rail a:hover {
  color: var(--primary);
}

.toc-rail a.active {
  color: var(--primary);
  font-weight: 600;
  border-right-color: var(--accent);
}

.main-content {
  flex: 1;
  min-width: 0;
  max-width: 1080px;
  padding-top: 2rem;
}

.content-narrow {
  max-width: 780px;
}

.content-wide {
  max-width: 1080px;
}

/* In-body TOC for mobile */
.toc-mobile {
  display: none;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
}

.toc-mobile .toc-title {
  font-family: 'Libre Franklin', Arial, sans-serif;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.toc-mobile a {
  display: block;
  font-family: 'Libre Franklin', Arial, sans-serif;
  font-size: 0.9rem;
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.3rem 0;
}

.toc-mobile a:hover {
  color: var(--primary);
}

/* ── Section spacing ── */
.section {
  padding: 5rem 0;
}

.section:last-of-type {
}

/* ── Hero / Header ── */
.hero {
  padding: 4rem 0 3rem;
  text-align: left;
  border-bottom: 2px solid var(--primary);
}

.hero .overline {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  display: block;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.08;
  margin-bottom: 1rem;
  color: var(--primary);
}

.hero .subtitle {
  font-size: 1.35rem;
  color: var(--text-muted);
  font-weight: 400;
  margin-bottom: 1rem;
  max-width: 600px;
}

.hero .dateline {
  font-family: 'Libre Franklin', Arial, sans-serif;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ── Hero Map ── */
.hero-map {
  background: linear-gradient(160deg, #0c1018 0%, #111827 40%, #0f172a 100%);
  position: relative;
  overflow: hidden;
  border-bottom: 3px solid var(--primary);
}

.hero-map::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 75% 45%, rgba(59,130,246,0.06) 0%, transparent 55%),
    radial-gradient(circle at 30% 80%, rgba(184,41,47,0.04) 0%, transparent 50%);
  pointer-events: none;
}

.hero-map-inner {
  position: relative;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1.5rem;
  min-height: 560px;
  z-index: 1;
}

.hero-map-text {
  position: relative;
  z-index: 2;
  max-width: 480px;
  padding: 5rem 0 4rem;
}

.hero-map-text .overline {
  font-family: 'Libre Franklin', Arial, sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
  display: block;
}

.hero-map-text h1 {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.08;
  margin-bottom: 1.25rem;
  color: #fff;
}

.hero-map-text .subtitle {
  font-size: 1.25rem;
  color: rgba(255,255,255,0.65);
  font-weight: 400;
  margin-bottom: 1rem;
  max-width: 480px;
  line-height: 1.6;
}

.hero-map-text .dateline {
  font-family: 'Libre Franklin', Arial, sans-serif;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
}

.hero-map-visual {
  position: absolute;
  right: -8%;
  top: 50%;
  transform: translateY(-50%);
  width: 62%;
  max-width: 820px;
  pointer-events: none;
}

.hero-map-visual svg {
  width: 100%;
  height: auto;
  pointer-events: auto;
}

/* NRW shape */
.nrw-shape {
  stroke: none;
}

/* Rivers */
.nrw-river {
  fill: none;
  stroke: rgba(148,163,184,0.12);
  stroke-width: 1.2;
  stroke-linecap: round;
}

/* City dots */
.map-city circle.city-dot {
  fill: rgba(226,232,240,0.85);
  stroke: rgba(255,255,255,0.2);
  stroke-width: 1;
  transition: fill 0.2s;
  cursor: pointer;
}

.map-city:hover circle.city-dot {
  fill: #fff;
}

.map-city .city-label {
  font-family: 'Libre Franklin', Arial, sans-serif;
  font-size: 11px;
  fill: rgba(203,213,225,0.6);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
}

.map-city:hover .city-label {
  opacity: 1;
  fill: rgba(241,245,249,0.9);
}

.map-city .city-label.always-visible {
  opacity: 1;
}

/* Aachen highlight */
.map-city.aachen circle.city-dot {
  fill: #dc2626;
  stroke: rgba(220,38,38,0.4);
  stroke-width: 2.5;
}

.map-city.aachen circle.city-glow {
  fill: rgba(220,38,38,0.12);
  animation: map-pulse 3s ease-in-out infinite;
}

@keyframes map-pulse {
  0%, 100% { opacity: 0.3; r: 16; }
  50% { opacity: 0.7; r: 22; }
}

.map-city.aachen .city-label {
  font-size: 15px;
  font-weight: 600;
  fill: #f1f5f9;
  opacity: 1;
}

/* Cluster label */
.map-cluster-label {
  font-family: 'Libre Franklin', Arial, sans-serif;
  font-size: 10px;
  font-weight: 500;
  fill: rgba(148,163,184,0.4);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* External cities (below map) */
.hero-external {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1.5rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.hero-external .ext-label {
  font-family: 'Libre Franklin', Arial, sans-serif;
  font-size: 0.65rem;
  color: rgba(255,255,255,0.3);
  font-weight: 500;
}

.hero-external .ext-city {
  font-family: 'Libre Franklin', Arial, sans-serif;
  font-size: 0.65rem;
  color: rgba(255,255,255,0.55);
  font-weight: 500;
  padding: 0.12rem 0.5rem;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 100px;
  white-space: nowrap;
}

/* ── Source Documents Box ── */
.source-docs {
  font-family: 'Libre Franklin', Arial, sans-serif;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 1.5rem 0 0;
  line-height: 1.6;
}

.source-docs a {
  color: var(--text);
  text-underline-offset: 2px;
}

/* ── Key Takeaways ── */
.takeaways {
  background: #F7F3EC;
  border: 1px solid var(--divider);
  border-left: 5px solid var(--primary);
  padding: 2rem 2.5rem;
  margin: 3rem 0 4rem;
}

.takeaways h3 {
  font-family: 'Libre Franklin', Arial, sans-serif;
  font-weight: 700;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
  margin-bottom: 1.25rem;
}

.takeaways ul {
  list-style: none;
  padding: 0;
}

.takeaways li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text);
}

.takeaways li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
}

/* ── Key Numbers ── */
.key-numbers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin: 3rem 0 2rem;
}

.stat-card {
  text-align: center;
  padding: 1.5rem 1rem;
  border-top: 3px solid var(--accent);
  background: var(--card-bg);
  border-radius: 0 0 8px 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}

.stat-value {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.1;
  margin-bottom: 0.25rem;
}

.stat-unit {
  font-family: 'Libre Franklin', Arial, sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  display: block;
}

.stat-label {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.4;
  margin-top: 0.25rem;
}

/* ── Cards ── */
.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  padding: 1.75rem 2rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.card-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.fact-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  padding: 1.75rem 2rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  position: relative;
}

.fact-card .card-number {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  background: var(--primary);
  color: #fff;
  width: 28px;
  height: 28px;
  line-height: 28px;
  text-align: center;
  border-radius: 50%;
  margin-bottom: 0.75rem;
}

.fact-card h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.fact-card p {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.fact-card .aachen-bezug {
  font-style: italic;
  color: var(--accent);
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* ── Timeline (horizontal) ── */
.timeline-container {
  background: #F7F3EC;
  border: 1px solid var(--divider);
  padding: 32px 24px 28px;
  margin: 2rem 0;
  overflow-x: auto;
  scrollbar-width: thin;
}

.timeline-title {
  font-family: 'Libre Franklin', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.timeline-track {
  position: relative;
  min-width: 750px;
  height: 130px;
}

.timeline-line {
  position: absolute;
  top: 45px;
  left: 2%;
  right: 2%;
  height: 2px;
  background: var(--divider);
}

.timeline-dot {
  position: absolute;
  top: 37px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid #F7F3EC;
  box-shadow: 0 0 0 2px var(--primary);
  transform: translateX(-50%);
  z-index: 2;
}

.timeline-dot.highlight {
  background: #F7F3EC;
  width: 22px;
  height: 22px;
  top: 35px;
  border: 3px solid var(--primary);
  box-shadow: 0 0 0 3px var(--primary), 0 0 14px rgba(184,41,47,0.3);
}

.timeline-label {
  position: absolute;
  transform: translateX(-50%);
  text-align: center;
  z-index: 1;
}

.timeline-label-top {
  top: 6px;
  font-family: 'Libre Franklin', sans-serif;
  font-size: 0.64rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}

.timeline-label-bottom {
  top: 66px;
  font-family: 'Libre Franklin', sans-serif;
  font-size: 0.62rem;
  font-weight: 400;
  color: var(--text-muted);
  width: 105px;
  line-height: 1.35;
}

/* Timeline animation */
.timeline-line {
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 1s ease-out;
}

.timeline-dot,
.timeline-label {
  opacity: 0;
  transition: opacity 0.4s ease;
}

.timeline-track.animated .timeline-line {
  transform: scaleX(1);
}

.timeline-track.animated .timeline-dot,
.timeline-track.animated .timeline-label {
  opacity: 1;
}

/* ── Timeline (vertical / mobile) ── */
.timeline-vertical {
  display: none;
  flex-direction: column;
  position: relative;
  padding-left: 32px;
  margin-top: 16px;
}

.timeline-vertical::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--divider);
  transform-origin: top;
  transform: scaleY(0);
  transition: transform 0.8s ease-out;
}

.timeline-vertical.animated::before {
  transform: scaleY(1);
}

.timeline-vertical .tl-item {
  position: relative;
  padding-bottom: 1.75rem;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.timeline-vertical.animated .tl-item {
  opacity: 1;
  transform: translateX(0);
}

.timeline-vertical .tl-item:last-child {
  padding-bottom: 0;
}

.timeline-vertical .tl-dot {
  position: absolute;
  left: -32px;
  top: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid #F7F3EC;
  box-shadow: 0 0 0 2px var(--primary);
  z-index: 2;
}

.timeline-vertical .tl-dot.highlight {
  background: #F7F3EC;
  width: 22px;
  height: 22px;
  left: -34px;
  top: 0;
  border: 3px solid var(--primary);
  box-shadow: 0 0 0 3px var(--primary), 0 0 14px rgba(184,41,47,0.3);
}

.timeline-vertical .tl-date {
  font-family: 'Libre Franklin', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.3;
}

.timeline-vertical .tl-text {
  font-family: 'Libre Franklin', sans-serif;
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--text-muted);
  line-height: 1.4;
  margin-top: 2px;
}

/* ── Chart ── */
.chart-wrapper {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  padding: 2rem 2.5rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  margin: 2rem 0;
}

.chart-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.chart-subtitle {
  font-family: 'Libre Franklin', Arial, sans-serif;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.chart-container {
  position: relative;
  width: 100%;
  max-width: 700px;
  height: 320px;
}

/* ── Party Positions ── */
.party-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  padding: 1.5rem 2rem;
  margin-bottom: 1.25rem;
  border-left: 5px solid var(--neutral);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.party-card.dafuer { border-left-color: var(--positive); }
.party-card.kritisch { border-left-color: var(--accent); }
.party-card.dagegen { border-left-color: var(--critical); }

.party-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}

.party-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
}

.party-seats {
  font-family: 'Libre Franklin', Arial, sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
}

.position-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.75rem;
  border-radius: 100px;
  display: inline-block;
}

.position-label.dafuer {
  background: rgba(45, 125, 90, 0.12);
  color: var(--positive);
}

.position-label.kritisch {
  background: rgba(198, 122, 46, 0.12);
  color: var(--accent);
}

.position-label.dagegen {
  background: rgba(196, 57, 45, 0.12);
  color: var(--critical);
}

.position-label.neutral {
  background: rgba(100, 116, 139, 0.12);
  color: var(--neutral);
}

.party-card p, .party-card ul {
  font-size: 0.95rem;
  line-height: 1.7;
}

.party-card ul {
  padding-left: 1.25rem;
  margin-top: 0.5rem;
}

.party-card li {
  margin-bottom: 0.25rem;
}

/* ── Pro / Contra Columns ── */
.pro-contra {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 2rem 0;
}

.pro-col, .contra-col {
  padding: 1.75rem 2rem;
  border-radius: 8px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
}

.pro-col {
  border-top: 3px solid var(--positive);
}

.contra-col {
  border-top: 3px solid var(--critical);
}

.pro-col h3 {
  color: var(--positive);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.contra-col h3 {
  color: var(--critical);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.pro-contra ol {
  padding-left: 1.25rem;
}

.pro-contra li {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.pro-contra strong {
  font-weight: 600;
}

/* ── Fokus Aachen ── */
.venue-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.venue-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--divider);
  font-size: 0.95rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.venue-list li:last-child {
  border-bottom: none;
}

.venue-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* Details/Summary */
details {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  margin: 2rem 0;
}

details summary {
  padding: 1.25rem 1.75rem;
  cursor: pointer;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--primary);
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.75rem;
}

details summary::-webkit-details-marker { display: none; }

details summary::after {
  content: '\25B8';
  margin-left: auto;
  transition: transform 0.2s ease;
  font-size: 0.9rem;
  color: var(--text-muted);
}

details[open] summary::after {
  transform: rotate(90deg);
}

.details-badge {
  width: 100%;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

details .details-content {
  padding: 0 1.75rem 1.5rem;
}

.nicht-relevant-item {
  padding: 1rem 0;
  border-bottom: 1px solid var(--divider);
}

.nicht-relevant-item:last-child {
  border-bottom: none;
}

.nicht-relevant-item .nr-title {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nicht-relevant-item .nr-badge {
  font-family: 'Libre Franklin', Arial, sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.1rem 0.5rem;
  border-radius: 100px;
  background: rgba(100, 116, 139, 0.1);
  color: var(--neutral);
}

.nicht-relevant-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Relevant risks */
.risk-list {
  counter-reset: risk-counter;
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.risk-list li {
  counter-increment: risk-counter;
  position: relative;
  padding: 1.25rem 1.5rem 1.25rem 3.5rem;
  margin-bottom: 1rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  font-size: 0.95rem;
  line-height: 1.7;
}

.risk-list li::before {
  content: counter(risk-counter);
  position: absolute;
  left: 1.25rem;
  top: 1.25rem;
  font-family: 'Libre Franklin', Arial, sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.risk-list li.kernrisiko {
  border-left: 4px solid var(--accent);
  background: linear-gradient(to right, rgba(198,122,46,0.04), var(--card-bg));
}

.risk-list li.kernrisiko strong {
  color: var(--accent);
}

/* Positive cards */
.positive-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin: 1.5rem 0;
}

.positive-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-top: 3px solid var(--positive);
  border-radius: 0 0 8px 8px;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.positive-card h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.15rem;
  color: var(--positive);
  margin-bottom: 0.5rem;
}

.positive-card p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* ── Status Dashboard ── */
.status-grid {
  margin: 2rem 0;
}

.status-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  margin-bottom: 0.75rem;
}

.status-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
}

.status-icon.geklaert {
  background: rgba(45, 125, 90, 0.12);
  color: var(--positive);
}

.status-icon.ungeklaert {
  background: rgba(196, 57, 45, 0.12);
  color: var(--critical);
  animation: pulse-glow 2.5s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(196, 57, 45, 0); }
  50% { box-shadow: 0 0 0 6px rgba(196, 57, 45, 0.1); }
}

.status-info {
  flex: 1;
}

.status-title {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}

.status-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.status-badge {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.15rem 0.65rem;
  border-radius: 100px;
  flex-shrink: 0;
  align-self: center;
}

.status-badge.geklaert {
  background: rgba(45, 125, 90, 0.12);
  color: var(--positive);
}

.status-badge.ungeklaert {
  background: rgba(196, 57, 45, 0.12);
  color: var(--critical);
}

/* ── Callout Cards ── */
.callout-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-left: 4px solid var(--primary);
  border-radius: 0 8px 8px 0;
  padding: 1.75rem 2rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.callout-card h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.callout-card p {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 0;
}

/* ── Gretchenfrage ── */
.conclusion-box {
  background: #F7F3EC;
  border: 1px solid var(--divider);
  border-left: 5px solid var(--primary);
  padding: 2.5rem 2.5rem;
  margin: 3rem 0;
}

.conclusion-box .overline {
  font-family: 'Libre Franklin', Arial, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.conclusion-box h2 {
  color: var(--text);
  border-bottom: none;
  margin-bottom: 1.25rem;
  padding-bottom: 0;
}

.conclusion-box .drop-cap::first-letter {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 700;
  font-size: 3.8em;
  float: left;
  line-height: 0.78;
  margin: 8px 12px 0 -3px;
  color: var(--primary);
}

.conclusion-box p {
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.75;
}

.conclusion-box ul {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0;
}

.conclusion-box li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.65;
}

.conclusion-box li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
}

.conclusion-box .last-p {
  margin-top: 1rem;
  font-weight: 600;
  font-family: 'Source Serif 4', Georgia, serif;
}

/* ── Footer ── */
.site-footer {
  padding: 3rem 0;
  border-top: 2px solid var(--primary);
  margin-top: 2rem;
}

.site-footer .footer-inner {
  max-width: 780px;
}

.site-footer p {
  font-family: 'Libre Franklin', Arial, sans-serif;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.site-footer .sources-label {
  font-weight: 600;
  color: var(--text);
  margin-right: 0.25rem;
}

/* ── Reveal (animations disabled) ── */
.reveal {
  opacity: 1;
  transform: none;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ── Reduced motion ── */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  html {
    scroll-behavior: auto;
  }

  #progress-bar {
    transition: none;
  }

  .status-icon.ungeklaert {
    animation: none;
  }

  details summary::after {
    transition: none;
  }
}

/* ── Floating TOC (mobile) ── */
.toc-fab {
  display: none;
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  box-shadow: 0 2px 12px rgba(0,0,0,0.2);
  cursor: pointer;
  z-index: 9998;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.toc-fab:hover {
  transform: scale(1.05);
}

.toc-fab svg {
  width: 22px;
  height: 22px;
}

.toc-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 9999;
  backdrop-filter: blur(2px);
}

.toc-overlay.open {
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.toc-overlay-panel {
  background: var(--card-bg);
  border-radius: 16px 16px 0 0;
  padding: 1.5rem 1.75rem 2rem;
  width: 100%;
  max-width: 480px;
  max-height: 70vh;
  overflow-y: auto;
  animation: toc-slide-up 0.25s ease-out;
}

@keyframes toc-slide-up {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.toc-overlay-panel .toc-overlay-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.toc-overlay-panel .toc-title {
  font-family: 'Libre Franklin', Arial, sans-serif;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.toc-overlay-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.25rem;
  line-height: 1;
}

.toc-overlay-panel a {
  display: block;
  font-family: 'Libre Franklin', Arial, sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  text-decoration: none;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--divider);
}

.toc-overlay-panel a:last-child {
  border-bottom: none;
}

.toc-overlay-panel a:hover {
  color: var(--primary);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .hero-map-inner {
    min-height: auto;
    padding: 0;
  }

  .hero-map {
    padding-top: 2.5rem;
  }

  .hero-map-text {
    position: relative;
    z-index: 2;
    max-width: 100%;
    padding: 0 1.5rem 1.5rem;
  }

  .hero-map-text h1 {
    font-size: 2.75rem;
    margin-bottom: 1rem;
  }

  .hero-map-visual {
    position: relative;
    top: auto;
    right: -15%;
    transform: none;
    width: 130%;
    max-width: none;
    margin-top: -1rem;
    overflow: hidden;
  }

  .hero-map-visual svg {
    width: 100%;
    max-height: none;
    display: block;
  }

  .hero-external {
    display: none;
  }

  .toc-rail {
    display: none;
  }

  .toc-mobile {
    display: block;
  }

  .page-wrapper {
    padding: 0 1rem;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  .key-numbers {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .stat-value {
    font-size: 2rem;
  }

  .card-grid-2 {
    grid-template-columns: 1fr;
  }

  .pro-contra {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .positive-cards {
    grid-template-columns: 1fr;
  }

  .conclusion-box {
    padding: 2rem 1.5rem;
  }

  .chart-wrapper {
    padding: 1.5rem;
  }

  .chart-container {
    max-width: 100%;
    height: 300px;
  }

  .timeline-track {
    display: none;
  }

  .timeline-vertical {
    display: flex;
  }

  .section {
    padding: 2.5rem 0;
  }

  .takeaways {
    padding: 1.5rem;
    margin: 2rem 0;
  }

  .stat-label {
    font-size: 0.82rem;
    font-weight: 600;
  }

  .stat-card {
    padding: 1.25rem 1rem;
  }

  .details-badge {
    font-size: 0.72rem;
  }

  .status-badge {
    font-size: 0.72rem;
  }

  .party-card {
    padding: 1.25rem 1.5rem;
  }

  .status-row {
    flex-wrap: wrap;
  }

  /* Sticky floating TOC button */
  .toc-mobile {
    display: none !important;
  }

  .toc-fab {
    display: flex;
  }
}

@media (max-width: 480px) {
  .hero-map-text {
    padding: 0 1.25rem 1rem;
  }

  .hero-map-text h1 {
    font-size: 2.25rem;
  }

  .hero-map-text .subtitle {
    font-size: 1rem;
  }

  .hero-map-text .overline {
    font-size: 0.7rem;
  }

  .hero-external {
    padding: 0.75rem 1.25rem 1.25rem;
  }

  .map-city .city-label,
  .map-cluster-label {
    display: none;
  }

  .map-city.aachen .city-label {
    display: block;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero .subtitle {
    font-size: 1.1rem;
  }

  .section {
    padding: 2rem 0;
  }

  .key-numbers {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .stat-value {
    font-size: 1.75rem;
  }

  .stat-card {
    padding: 1rem 0.75rem;
  }

  .fact-card {
    padding: 1.25rem 1.25rem;
  }

  h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
  }

  .chart-container {
    height: 260px;
  }

  .chart-title {
    font-size: 1.2rem;
  }

  .chart-subtitle {
    font-size: 0.7rem;
  }

  .timeline-vertical .tl-date {
    font-size: 0.72rem;
  }

  .timeline-vertical .tl-text {
    font-size: 0.76rem;
  }
}

@media (max-width: 380px) {
  .key-numbers {
    grid-template-columns: 1fr;
  }
}
