:root {
  --navy: #021637;
  --navy-deep: #010C22;
  --navy-mid: #0A1C40;
  --card: #0B2452;
  --line: #1F3A6E;
  --blue: #018FFD;
  --cyan: #20D5F8;
  --mint: #2CF1E1;
  --green: #3FF085;
  --sun: #FCD761;
  --orange: #FFA630;
  --white: #F4F8FF;
  --muted: #8EA3C8;
  --danger: #FF6B6B;
  --warn: #F5C15C;
  --font-sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-serif: ui-serif, "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --shadow: 0 18px 50px rgba(1, 12, 34, 0.45);
  --radius: 18px;
  --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5.2rem; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  background: var(--navy-deep);
  color: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.nav-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--sun); }
:focus-visible {
  outline: 2px solid var(--sun);
  outline-offset: 3px;
}
.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--sun);
  color: var(--navy-deep);
  padding: 0.6rem 1rem;
  border-radius: 8px;
  z-index: 200;
  font-weight: 600;
}
.skip:focus { top: 1rem; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(2, 22, 55, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: background 0.35s ease, border-color 0.35s ease;
}
.site-header.is-scrolled,
.page-header .site-header,
.site-header.is-solid {
  background: rgba(1, 12, 34, 0.88);
  border-bottom-color: rgba(31, 58, 110, 0.7);
}
.header-inner, .wrap {
  width: min(var(--max), calc(100% - 2.4rem));
  margin-inline: auto;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
  position: relative;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--white);
  text-decoration: none;
  min-width: 0;
}
.brand img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(44, 241, 225, 0.18), 0 0 18px rgba(1, 143, 253, 0.28);
}
.brand-name {
  font-family: var(--font-serif);
  font-size: 1.02rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nav-toggle {
  display: none;
  width: 2.6rem;
  height: 2.6rem;
  padding: 0;
  border: 1px solid rgba(32, 213, 248, 0.35);
  border-radius: 10px;
  background: rgba(11, 36, 82, 0.55);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  background: var(--white);
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.15rem 1.05rem;
  align-items: center;
}
.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  padding: 0.2rem 0;
}
.nav a:hover { color: var(--white); }
.nav a[aria-current="page"] {
  color: var(--sun);
  box-shadow: inset 0 -2px 0 var(--sun);
}

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  min-height: min(100svh, 58rem);
  display: flex;
  align-items: flex-end;
  padding: 7rem 0 4.5rem;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 50%;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(1, 12, 34, 0.42) 0%, rgba(1, 12, 34, 0.1) 28%, rgba(1, 12, 34, 0.55) 62%, rgba(1, 12, 34, 0.94) 100%),
    linear-gradient(90deg, rgba(1, 12, 34, 0.78) 0%, rgba(1, 12, 34, 0.35) 46%, rgba(1, 12, 34, 0.12) 100%);
}
.hero-glow {
  position: absolute;
  width: 28rem;
  height: 28rem;
  left: -4rem;
  bottom: 8%;
  z-index: -1;
  background: radial-gradient(circle, rgba(252, 215, 97, 0.22), rgba(1, 143, 253, 0.08) 42%, transparent 70%);
  filter: blur(8px);
  animation: glowPulse 8s ease-in-out infinite;
  pointer-events: none;
}
@keyframes glowPulse {
  0%, 100% { opacity: 0.65; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.08); }
}
.kicker, .section-kicker {
  display: inline-block;
  margin: 0 0 1rem;
  color: var(--mint);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.section-kicker {
  margin: 0 0 0.55rem;
  font-size: 0.74rem;
  letter-spacing: 0.2em;
}
.hero h1 {
  margin: 0 0 0.6rem;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(2.35rem, 5.6vw, 4.35rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  max-width: 14ch;
}
.claim {
  margin: 0 0 1.4rem;
  color: var(--sun);
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.6vw, 2rem);
  font-weight: 500;
}
.lead {
  margin: 0 0 2rem;
  max-width: 38rem;
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: #d5def0;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.28s ease, box-shadow 0.28s ease, background 0.28s ease, border-color 0.28s ease, color 0.28s ease;
  background: none;
  color: inherit;
  cursor: pointer;
  font-family: inherit;
}
.btn-primary {
  background: var(--sun);
  color: var(--navy-deep);
  box-shadow: 0 8px 24px rgba(252, 215, 97, 0.22);
}
.btn-primary:hover {
  color: var(--navy-deep);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(252, 215, 97, 0.35);
}
.btn-ghost {
  background: rgba(11, 36, 82, 0.45);
  color: var(--white);
  border-color: rgba(32, 213, 248, 0.45);
}
.btn-ghost:hover {
  color: var(--white);
  border-color: var(--sun);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(1, 143, 253, 0.2);
}
.btn svg { width: 1.15rem; height: 1.15rem; fill: currentColor; }

/* Decorative coin path */
.coinpath {
  display: block;
  width: min(36rem, 100%);
  margin: 2.6rem 0 0;
  overflow: visible;
}
.coinpath .trail {
  fill: none;
  stroke: url(#pathGrad);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-dasharray: 420;
  stroke-dashoffset: 420;
  animation: drawPath 3.2s ease forwards 0.3s;
  filter: drop-shadow(0 0 6px rgba(32, 213, 248, 0.55));
}
@keyframes drawPath { to { stroke-dashoffset: 0; } }
.coinpath .coin {
  transform-box: fill-box;
  transform-origin: center;
  opacity: 0;
  animation: coinIn 0.7s ease forwards;
}
.coinpath .coin:nth-child(1) { animation-delay: 0.4s; }
.coinpath .coin:nth-child(2) { animation-delay: 0.7s; }
.coinpath .coin:nth-child(3) { animation-delay: 1.0s; }
.coinpath .coin:nth-child(4) { animation-delay: 1.3s; }
.coinpath .coin:nth-child(5) { animation-delay: 1.6s; }
.coinpath .coin:nth-child(6) { animation-delay: 1.9s; }
.coinpath .sun {
  transform-box: fill-box;
  transform-origin: center;
  animation: sunPulse 4.5s ease-in-out infinite;
}
@keyframes coinIn {
  from { opacity: 0; transform: scale(0.6); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes sunPulse {
  0%, 100% { opacity: 0.85; }
  50% { opacity: 1; }
}

/* Sections */
main { background: var(--navy); }
section { padding: 5.2rem 0; }
h2 {
  margin: 0 0 1rem;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1.85rem, 3.4vw, 2.7rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.intro {
  margin: 0 0 2.6rem;
  max-width: 40rem;
  color: var(--muted);
  font-size: 1.08rem;
}

/* Reveal */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.js .reveal.is-visible,
.reveal { opacity: 1; transform: none; }

/* Vision timeline */
#vision { background: linear-gradient(180deg, var(--navy) 0%, var(--navy-mid) 50%, var(--navy) 100%); }
.timeline {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
  position: relative;
}
.t-card {
  position: relative;
  background: linear-gradient(180deg, rgba(11, 36, 82, 0.88), rgba(11, 36, 82, 0.6));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.55rem 1.45rem 1.4rem;
  box-shadow: var(--shadow);
}
.t-card .year {
  display: inline-block;
  margin-bottom: 0.45rem;
  color: var(--sun);
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 600;
}
.t-card h3 { margin: 0 0 0.45rem; font-size: 1.12rem; }
.t-card p { margin: 0; color: var(--muted); }
.t-card.goal {
  border-color: rgba(252, 215, 97, 0.45);
  box-shadow: 0 0 0 1px rgba(252, 215, 97, 0.12), 0 16px 40px rgba(252, 215, 97, 0.08);
}

/* Episode cards */
.episodes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.ep {
  background: rgba(11, 36, 82, 0.72);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.35rem 1.3rem;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.ep:hover {
  transform: translateY(-4px);
  border-color: rgba(32, 213, 248, 0.45);
  box-shadow: 0 16px 36px rgba(1, 143, 253, 0.12);
}
.ep-top {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: baseline;
  margin-bottom: 0.55rem;
}
.ep-nr {
  color: var(--mint);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.ep-date { color: var(--muted); font-size: 0.88rem; }
.ep h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.18rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.015em;
}

/* Soon + contact + teasers */
.soon-grid, .contact-box, .teaser-grid {
  display: grid;
  gap: 1rem;
}
.soon-card, .contact-box, .teaser-card, .panel {
  background: rgba(11, 36, 82, 0.55);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.teaser-card {
  color: inherit;
  text-decoration: none;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  display: block;
  min-height: 100%;
}
.teaser-card:hover {
  color: inherit;
  transform: translateY(-4px);
  border-color: rgba(252, 215, 97, 0.45);
  box-shadow: 0 16px 36px rgba(1, 143, 253, 0.12);
}
.teaser-icon {
  width: 2.4rem;
  height: 2.4rem;
  margin-bottom: 0.85rem;
  color: var(--sun);
}
.teaser-icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.6; }
.teaser-card h3, .soon-card h3, .contact-box h2 { margin: 0 0 0.5rem; font-size: 1.35rem; }
.teaser-card p, .soon-card p, .contact-box p { margin: 0; color: var(--muted); }
.teaser-card .more {
  display: inline-block;
  margin-top: 0.9rem;
  color: var(--sun);
  font-weight: 600;
  font-size: 0.92rem;
}
.badge {
  display: inline-block;
  margin-bottom: 0.7rem;
  padding: 0.18rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(252, 215, 97, 0.4);
  color: var(--sun);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.mail {
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(252, 215, 97, 0.5);
}
.mail:hover { color: var(--sun); }

/* Footer */
.site-footer {
  background: var(--navy-deep);
  border-top: 1px solid var(--line);
  padding: 2.4rem 0 2.6rem;
  color: var(--muted);
  font-size: 0.92rem;
}
.footer-inner { display: grid; gap: 1rem; }
.disclaimer { margin: 0; max-width: 46rem; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.2rem;
  padding: 0;
  margin: 0;
  list-style: none;
}
.footer-links a { color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--sun); }
.ki { margin: 0; }

/* Subpages */
.page-main { padding: 0 0 4.5rem; }
.page-hero {
  padding: 3.2rem 0 2.2rem;
  background:
    radial-gradient(ellipse at 0% 0%, rgba(252, 215, 97, 0.1), transparent 46%),
    linear-gradient(180deg, var(--navy-mid), var(--navy));
  border-bottom: 1px solid var(--line);
}
.page-hero h1 {
  margin: 0 0 0.7rem;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(2rem, 4.4vw, 3.1rem);
  letter-spacing: -0.025em;
  line-height: 1.12;
}
.page-hero .lead { margin-bottom: 0; max-width: 44rem; }
.page-section { padding: 2.6rem 0 0; }
.page-section h2 {
  font-size: clamp(1.45rem, 2.6vw, 1.95rem);
  margin-bottom: 0.8rem;
}
.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.1rem;
  align-items: center;
  margin: 1.3rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.22rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.pill-warn {
  border-color: rgba(255, 166, 48, 0.55);
  color: var(--orange);
  background: rgba(255, 166, 48, 0.08);
}
.example-banner {
  margin: 1.4rem 0 0;
  padding: 0.85rem 1.05rem;
  border-radius: 12px;
  border: 1px solid rgba(252, 215, 97, 0.45);
  background: rgba(252, 215, 97, 0.1);
  color: var(--sun);
  font-weight: 600;
}
.example-banner[hidden], .status-msg[hidden], [hidden] { display: none !important; }
.status-msg {
  margin: 1.4rem 0 0;
  padding: 1.2rem 1.3rem;
  border-radius: var(--radius);
  border: 1px dashed rgba(142, 163, 200, 0.45);
  background: rgba(11, 36, 82, 0.4);
  color: var(--muted);
}
.hint, .legal-note {
  margin: 1.1rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}
.source {
  margin: 0.7rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

/* Markt gauges */
.gauge-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
}
.gauge-card, .ampel-card, .termine-card {
  background: linear-gradient(180deg, rgba(11, 36, 82, 0.88), rgba(11, 36, 82, 0.55));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.3rem 1.25rem;
  box-shadow: var(--shadow);
}
.gauge-card h3, .ampel-card h3, .termine-card h3 {
  margin: 0 0 0.8rem;
  font-family: var(--font-serif);
  font-size: 1.2rem;
}
.gauge-svg { width: min(100%, 320px); height: auto; margin: 0 auto; display: block; }
.gauge-value {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 600;
  fill: var(--white);
}
.gauge-caption {
  text-align: center;
  margin: 0.2rem 0 0;
  font-size: 1.05rem;
  font-weight: 600;
}
.gauge-track { fill: none; stroke-width: 14; stroke-linecap: round; }
.gauge-needle { transition: none; }
.ampel {
  display: flex;
  align-items: center;
  gap: 1.1rem;
}
.ampel-lights {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 0.55rem 0.45rem;
  border-radius: 999px;
  background: #01080f;
  border: 1px solid var(--line);
}
.ampel-lights span {
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  background: #1a2740;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
}
.ampel[data-ampel="gruen"] .l-gruen { background: #3FF085; box-shadow: 0 0 12px rgba(63, 240, 133, 0.7); }
.ampel[data-ampel="gelb"] .l-gelb { background: #FCD761; box-shadow: 0 0 12px rgba(252, 215, 97, 0.7); }
.ampel[data-ampel="rot"] .l-rot { background: #FF6B6B; box-shadow: 0 0 12px rgba(255, 107, 107, 0.7); }
.ampel-text { margin: 0; color: #d5def0; }
.termine-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.75rem; }
.termin {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.3rem 1rem;
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(1, 12, 34, 0.28);
}
.termin-datum {
  grid-row: 1 / span 2;
  color: var(--sun);
  font-family: var(--font-serif);
  font-weight: 600;
  min-width: 6.2rem;
}
.termin-titel { margin: 0; font-weight: 600; }
.termin-art {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
}

/* News */
.news-grid { display: grid; gap: 1.1rem; }
.news-item {
  background: rgba(11, 36, 82, 0.72);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.3rem;
}
.news-item h3 {
  margin: 0.35rem 0 0.45rem;
  font-family: var(--font-serif);
  font-size: 1.18rem;
}
.news-item p { margin: 0; color: #d5def0; }
.news-item .badge { margin-bottom: 0.15rem; }
.badge-erhoehung { color: var(--green); border-color: rgba(63, 240, 133, 0.4); }
.badge-kuerzung { color: var(--danger); border-color: rgba(255, 107, 107, 0.45); }
.badge-sonstiges { color: var(--cyan); border-color: rgba(32, 213, 248, 0.4); }

/* Kalender */
.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 0 0 1.2rem;
  align-items: end;
}
.field { display: grid; gap: 0.3rem; min-width: min(100%, 14rem); flex: 1; }
.field-narrow { flex: 0 1 12rem; min-width: 10rem; }
label, .field span.label {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
input, select, button.btn-tiny {
  font: inherit;
  color: var(--white);
  background: rgba(1, 12, 34, 0.55);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.7rem 0.85rem;
}
input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--sun);
  outline-offset: 1px;
  border-color: rgba(252, 215, 97, 0.55);
}
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(11, 36, 82, 0.45); }
table.cal {
  width: 100%;
  border-collapse: collapse;
  min-width: 680px;
}
table.cal th, table.cal td {
  text-align: left;
  padding: 0.8rem 0.95rem;
  border-bottom: 1px solid rgba(31, 58, 110, 0.8);
  vertical-align: top;
}
table.cal th {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  background: rgba(1, 12, 34, 0.35);
}
table.cal tbody tr:last-child td { border-bottom: 0; }
table.cal caption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
th.sortable { padding: 0; }
th.sortable button {
  all: unset;
  display: flex;
  width: 100%;
  box-sizing: border-box;
  padding: 0.8rem 0.95rem;
  cursor: pointer;
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.78rem;
  align-items: center;
  gap: 0.35rem;
}
th.sortable button:hover { color: var(--sun); }
th.sortable button:focus-visible { outline: 2px solid var(--sun); outline-offset: -2px; }
.ticker { color: var(--mint); font-weight: 700; font-size: 0.88rem; }
.cal-cards { display: none; gap: 0.8rem; }
.cal-card {
  background: rgba(11, 36, 82, 0.72);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.15rem;
}
.cal-card h3 { margin: 0 0 0.15rem; font-size: 1.12rem; }
.cal-card dl { margin: 0.7rem 0 0; display: grid; grid-template-columns: 8.5rem 1fr; gap: 0.3rem 0.6rem; }
.cal-card dt { color: var(--muted); font-size: 0.85rem; }
.cal-card dd { margin: 0; }
.empty-filter { margin: 1rem 0 0; color: var(--muted); }
.toolbar-extra {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  justify-content: flex-end;
  flex: 1 1 14rem;
  min-width: 12rem;
}
.toolbar-extra .check {
  margin: 0;
  align-items: flex-start;
}
.toolbar-count { margin: 0; }
table.cal tbody tr.is-past td,
.cal-card.is-past {
  opacity: 0.62;
  color: var(--muted);
}
.pill-past {
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  vertical-align: middle;
}
.cal-card-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.6rem;
}
.cal-card-head h3 { margin: 0; }
.tile-muted .pill {
  margin-left: 0.15rem;
  vertical-align: middle;
}

/* Lernen */
.jump-links { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 0 0 0.4rem; }
.calc-grid { display: grid; gap: 1.1rem; }
.calc-card h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-serif);
  font-size: 1.35rem;
}
.calc-card form, .calc-fields { display: grid; gap: 0.8rem; margin-top: 1rem; }
.calc-fields-2 { display: grid; gap: 0.8rem; }
.result-box {
  margin-top: 1.1rem;
  padding: 1rem 1.05rem;
  border-radius: 14px;
  border: 1px solid rgba(252, 215, 97, 0.28);
  background: rgba(1, 12, 34, 0.35);
}
.result-box p { margin: 0 0 0.4rem; }
.result-box p:last-child { margin-bottom: 0; }
.result-box strong { color: var(--sun); font-size: 1.15rem; }
.chart-wrap { margin-top: 1rem; }
.chart-wrap svg, .chart-wrap canvas { width: 100%; height: auto; display: block; }
.check { display: flex; align-items: center; gap: 0.55rem; color: #d5def0; }
.check input { width: 1.05rem; height: 1.05rem; accent-color: var(--sun); }
.glossary-search { margin: 0 0 1.3rem; }
.glossary-group { margin: 0 0 2rem; }
.glossary-group h3 {
  margin: 0 0 0.8rem;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--sun);
}
.term {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem 1.1rem;
  margin: 0 0 0.7rem;
  background: rgba(11, 36, 82, 0.55);
}
.term h4 { margin: 0 0 0.35rem; font-size: 1.05rem; }
.term p { margin: 0; color: #d5def0; }
.term[hidden], .glossary-group[hidden] { display: none !important; }
.legal-page { max-width: 800px; }
.legal-page h1 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  letter-spacing: -0.02em;
  margin: 0 0 0.4rem;
}
.legal-page .stand { margin: 0 0 2rem; color: var(--muted); font-size: 0.95rem; }
.legal-page h2 { font-family: var(--font-serif); font-size: 1.25rem; margin: 2rem 0 0.6rem; }
.legal-page p, .legal-page li { color: #d5def0; }
.legal-page ul { padding-left: 1.15rem; }
.legal-main { background: var(--navy); padding: 3.4rem 0 4.5rem; }

@media (min-width: 700px) {
  .timeline { grid-template-columns: repeat(3, 1fr); gap: 1.4rem; padding-top: 1.7rem; }
  .timeline::before {
    content: "";
    position: absolute;
    top: 0.55rem;
    left: 8%;
    right: 8%;
    height: 2px;
    background: linear-gradient(90deg, var(--blue), var(--cyan), var(--mint), var(--green), var(--sun));
    opacity: 0.75;
    pointer-events: none;
  }
  .t-card::before {
    content: "";
    position: absolute;
    top: -1.55rem;
    left: 50%;
    width: 10px;
    height: 10px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: var(--mint);
    box-shadow: 0 0 10px rgba(44, 241, 225, 0.7);
    z-index: 1;
  }
  .t-card.goal::before {
    background: var(--sun);
    box-shadow: 0 0 12px rgba(252, 215, 97, 0.85);
  }
  .episodes { grid-template-columns: repeat(2, 1fr); }
  .ep:last-child { grid-column: 1 / -1; }
  .soon-grid, .teaser-grid, .gauge-grid, .calc-grid, .calc-fields-2 { grid-template-columns: 1fr 1fr; }
  .ampel-span { grid-column: 1 / -1; }
}
@media (min-width: 980px) {
  .episodes { grid-template-columns: repeat(6, 1fr); }
  .ep { grid-column: span 2; }
  .ep:nth-child(4) { grid-column: 2 / span 2; }
  .ep:nth-child(5) { grid-column: 4 / span 2; }
  .hero { padding-bottom: 5.5rem; }
  .header-inner { min-height: 4.6rem; }
  .teaser-grid { grid-template-columns: repeat(4, 1fr); }
  .gauge-grid { grid-template-columns: 1fr 1fr; }
  .ampel-span { grid-column: 1 / -1; }
}
@media (max-width: 959px) {
  .nav-toggle { display: flex; }
  .nav {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    left: 50%;
    transform: translateX(-50%);
    width: min(var(--max), calc(100vw - 2.4rem));
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.6rem 0 0.9rem;
    background: rgba(1, 12, 34, 0.96);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 0.7rem 1rem; font-size: 1rem; }
  .nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--sun); }
}
@media (max-width: 699px) {
  .brand-name { display: none; }
  section { padding: 3.8rem 0; }
  .table-wrap { display: none; }
  .cal-cards { display: grid; }
  .toolbar { flex-direction: column; align-items: stretch; }
  .field, .field-narrow { min-width: 0; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal, .reveal { opacity: 1; transform: none; transition: none; }
  .hero-glow, .coinpath .trail, .coinpath .coin, .coinpath .sun, .gauge-needle { animation: none; transition: none; }
  .coinpath .trail { stroke-dashoffset: 0; }
  .coinpath .coin { opacity: 1; }
  .ep, .btn, .site-header, .teaser-card { transition: none; }
  .ep:hover, .btn:hover, .teaser-card:hover { transform: none; }
}

.gauge-bar {
  position: relative;
  height: 10px;
  margin: 1rem 0 0.35rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #FF6B6B, #FFA630, #FCD761, #3FF085, #2CF1E1);
}
.gauge-bar-marker {
  position: absolute;
  top: -5px;
  width: 4px;
  height: 20px;
  margin-left: -2px;
  left: 0;
  border-radius: 2px;
  background: var(--white);
  box-shadow: 0 0 8px rgba(244, 248, 255, 0.65);
}
.gauge-scale {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.75rem;
  margin-bottom: 0.15rem;
}
.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;
}

.ampel-card.ampel-span .ampel { max-width: 40rem; }
section[id], .page-hero, #rechner, #glossar { scroll-margin-top: 5.2rem; }

/* Artikel */
.article { max-width: 46rem; padding-bottom: 3rem; }
.article-block { padding: 2.2rem 0 0; }
.article-block h2 { font-size: clamp(1.35rem, 2.4vw, 1.8rem); margin: 0 0 0.8rem; }
.article-block p { color: var(--white); line-height: 1.7; }
.article-block p + p { margin-top: 0.9rem; }
.kicker a { color: inherit; text-decoration: none; }
.kicker a:hover { color: var(--sun); }
.fact-grid { display: grid; gap: 0.9rem; grid-template-columns: 1fr; margin-top: 0.4rem; }
.fact {
  display: flex; flex-direction: column; gap: 0.35rem;
  padding: 1.15rem 1.2rem;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: rgba(11, 36, 82, 0.55);
}
.fact-num { font-family: var(--font-serif); font-size: 2rem; font-weight: 600; color: var(--sun); line-height: 1.1; }
.fact-text { color: var(--muted); font-size: 0.95rem; line-height: 1.5; }
.question-list { list-style: none; counter-reset: q; padding: 0; margin: 1.2rem 0 0; display: grid; gap: 0.9rem; }
.question-list li {
  counter-increment: q; position: relative;
  padding: 1.1rem 1.2rem 1.1rem 3.6rem;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: rgba(11, 36, 82, 0.4);
}
.question-list li::before {
  content: counter(q); position: absolute; left: 1.1rem; top: 1.05rem;
  width: 1.75rem; height: 1.75rem; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--sun); color: var(--navy); font-weight: 700; font-size: 0.95rem;
}
.question-list h3 { margin: 0 0 0.35rem; font-size: 1.1rem; }
.question-list p { margin: 0; color: var(--muted); }
.callout {
  margin-top: 1.3rem; padding: 1.3rem 1.4rem;
  border: 1px solid rgba(252, 215, 97, 0.45); border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(252, 215, 97, 0.1), rgba(1, 143, 253, 0.06));
}
.callout p { margin: 0; }
.callout .actions { margin-top: 1rem; }
.disclaimer-box p { color: var(--muted); font-size: 0.95rem; }
.sources ul { margin: 0; padding-left: 1.1rem; display: grid; gap: 0.45rem; }
.sources a { word-break: break-word; }
.article-cards { display: grid; gap: 1rem; grid-template-columns: 1fr; }
.term:target { outline: 2px solid var(--sun); outline-offset: 4px; border-radius: 10px; }
@media (min-width: 700px) {
  .fact-grid { grid-template-columns: 1fr 1fr; }
  .article-cards { grid-template-columns: 1fr 1fr; }
}
.article-teaser { margin-top: 1rem; }
.article-head { max-width: 46rem; }
/* ===== v3: Übersicht, Rechner, Quiz, Tooltips ===== */

.hero {
  min-height: min(78svh, 44rem);
  padding: 6.2rem 0 3rem;
}

.crumb {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.45rem;
  margin: 0 0 1.15rem;
}
.back-link {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
}
.back-link:hover { color: var(--sun); }
.crumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  color: var(--muted);
  font-size: 0.88rem;
}
.crumb li:not(:last-child)::after {
  content: "/";
  margin-left: 0.5rem;
  color: var(--line);
}
.crumb a { color: var(--muted); text-decoration: none; }
.crumb a:hover { color: var(--sun); }
.crumb [aria-current="page"] { color: var(--white); }

.glance-section {
  padding: 2.4rem 0 1.2rem;
  background: linear-gradient(180deg, var(--navy-deep), var(--navy));
  border-top: 1px solid rgba(31, 58, 110, 0.6);
}
.glance-section h2 {
  margin: 0 0 1.2rem;
  font-size: clamp(1.45rem, 2.6vw, 1.95rem);
}
.glance-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
.glance-card,
.panel,
.teaser-card,
.soon-card,
.term,
.news-item,
.fact,
.gauge-card,
.ampel-card,
.termine-card,
.ep,
.t-card,
.calc-card,
.contact-box {
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.glance-card {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  color: inherit;
  text-decoration: none;
  background: rgba(11, 36, 82, 0.62);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.3rem 1.15rem;
  min-height: 100%;
}
.glance-card:hover,
.teaser-card:hover,
.ep:hover,
a.calc-card:hover {
  color: inherit;
  transform: translateY(-4px);
  border-color: rgba(252, 215, 97, 0.45);
  box-shadow: 0 16px 36px rgba(1, 143, 253, 0.12);
}
.panel:hover,
.soon-card:hover,
.term:hover,
.news-item:hover,
.fact:hover,
.gauge-card:hover,
.ampel-card:hover,
.termine-card:hover,
.t-card:hover,
.calc-card:hover,
.contact-box:hover {
  border-color: rgba(252, 215, 97, 0.32);
  box-shadow: 0 10px 28px rgba(1, 143, 253, 0.1);
}
.glance-card h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.22rem;
}
.glance-card p { margin: 0; color: var(--muted); }
.glance-card .more { margin-top: auto; padding-top: 0.75rem; color: var(--sun); font-weight: 600; font-size: 0.92rem; }
.glance-card .badge { margin-bottom: 0.2rem; align-self: flex-start; }
.tile-muted { color: var(--muted); font-size: 0.9rem; }
.tile-error { color: var(--warn); font-size: 0.9rem; margin: 0; }
.tile-list { list-style: none; margin: 0.35rem 0 0; padding: 0; display: grid; gap: 0.45rem; }
.tile-list li {
  display: grid;
  grid-template-columns: 6.2rem 1fr;
  gap: 0.2rem 0.7rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(31, 58, 110, 0.65);
}
.tile-list li:last-child { border-bottom: 0; }
.tile-list .d { color: var(--sun); font-family: var(--font-serif); font-weight: 600; font-size: 0.92rem; }
.tile-list .n { margin: 0; font-size: 0.92rem; color: var(--white); }
.tile-list .m { margin: 0; font-size: 0.8rem; color: var(--muted); grid-column: 2; }

.mini-gauges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin: 0.2rem 0 0.15rem;
}
.mini-gauge { text-align: center; }
.mini-gauge svg { width: 100%; height: auto; display: block; }
.mini-gauge .g-label { margin: 0.1rem 0 0; font-size: 0.78rem; color: var(--muted); }
.mini-gauge .g-caption { margin: 0; font-size: 0.85rem; font-weight: 700; color: var(--white); }
.mini-ampel {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.85rem;
}
.mini-ampel .dot {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: #1a2740;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
}
.mini-ampel[data-ampel="gruen"] .dot { background: #3FF085; box-shadow: 0 0 8px rgba(63, 240, 133, 0.7); }
.mini-ampel[data-ampel="gelb"] .dot { background: #FCD761; box-shadow: 0 0 8px rgba(252, 215, 97, 0.7); }
.mini-ampel[data-ampel="rot"] .dot { background: #FF6B6B; box-shadow: 0 0 8px rgba(255, 107, 107, 0.7); }

.field-range { display: grid; gap: 0.4rem; }
.field-label-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.6rem;
}
.range-value { color: var(--sun); font-weight: 700; font-variant-numeric: tabular-nums; }
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #3FF085, #FCD761, #FFA630, #FF6B6B);
  cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--sun);
  border: 2px solid var(--navy-deep);
  box-shadow: 0 0 0 3px rgba(252, 215, 97, 0.28);
}
input[type="range"]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--sun);
  border: 2px solid var(--navy-deep);
  box-shadow: 0 0 0 3px rgba(252, 215, 97, 0.28);
}
input[type="range"]:focus-visible {
  outline: 2px solid var(--sun);
  outline-offset: 4px;
}

.loss-visual { margin-top: 1rem; }
.loss-visual svg { width: 100%; height: auto; display: block; }
.loss-fill, .loss-plus, .loss-start {
  transition: width 0.55s ease;
}
.mini-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  font-variant-numeric: tabular-nums;
}
.mini-table th, .mini-table td {
  text-align: left;
  padding: 0.55rem 0.7rem;
  border-bottom: 1px solid rgba(31, 58, 110, 0.8);
}
.mini-table th {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.mini-table tr.is-active td {
  color: var(--sun);
  background: rgba(252, 215, 97, 0.08);
  font-weight: 700;
}
.mini-table caption {
  caption-side: bottom;
  text-align: left;
  color: var(--muted);
  font-size: 0.82rem;
  padding-top: 0.5rem;
}

.quiz {
  margin: 1rem 0 1.2rem;
  padding: 1.05rem 1.1rem 1.15rem;
  border-radius: 14px;
  border: 1px solid rgba(32, 213, 248, 0.28);
  background: rgba(1, 12, 34, 0.35);
}
.quiz-q { margin: 0 0 0.8rem; font-weight: 600; }
.quiz-options {
  display: grid;
  gap: 0.55rem;
  grid-template-columns: 1fr;
}
.quiz-options button {
  font: inherit;
  text-align: left;
  color: var(--white);
  background: rgba(11, 36, 82, 0.8);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.7rem 0.9rem;
  cursor: pointer;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}
.quiz-options button:hover { border-color: var(--sun); }
.quiz-options button:focus-visible { outline: 2px solid var(--sun); outline-offset: 2px; }
.quiz-options button[aria-pressed="true"][data-ok="true"],
.quiz-options button.is-correct {
  border-color: rgba(63, 240, 133, 0.7);
  background: rgba(63, 240, 133, 0.12);
}
.quiz-options button.is-wrong {
  border-color: rgba(255, 107, 107, 0.55);
  background: rgba(255, 107, 107, 0.1);
}
.quiz-result { margin: 0.85rem 0 0; }
.quiz-result[hidden] { display: none !important; }

.term-ref {
  color: inherit;
  text-decoration: underline;
  text-decoration-style: dotted;
  text-decoration-color: rgba(252, 215, 97, 0.7);
  text-underline-offset: 0.18em;
  cursor: help;
}
.term-ref:hover, .term-ref:focus { color: var(--sun); }
.term-tip {
  position: absolute;
  z-index: 80;
  max-width: min(22rem, calc(100vw - 2rem));
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  border: 1px solid rgba(252, 215, 97, 0.35);
  background: rgba(1, 12, 34, 0.96);
  color: var(--white);
  box-shadow: var(--shadow);
  font-size: 0.9rem;
  line-height: 1.5;
  pointer-events: none;
}
.term-tip[hidden] { display: none !important; }
.term-tip strong { color: var(--sun); display: block; margin-bottom: 0.2rem; }

.toc {
  margin: 0 0 1.8rem;
  padding: 1.1rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(11, 36, 82, 0.45);
}
.toc h2 { margin: 0 0 0.6rem; font-size: 1.05rem; }
.toc ol { margin: 0; padding-left: 1.2rem; display: grid; gap: 0.35rem; }
.toc a { color: var(--white); text-decoration: none; }
.toc a:hover { color: var(--sun); }

.tabbar {
  display: none;
}
@media (max-width: 699px) {
  .tabbar {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    background: rgba(1, 12, 34, 0.96);
    border-top: 1px solid var(--line);
    padding: 0.35rem 0.3rem calc(0.35rem + env(safe-area-inset-bottom));
  }
  .tabbar a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;
    color: var(--muted);
    text-decoration: none;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 0.3rem 0.15rem;
    border-radius: 10px;
  }
  .tabbar a[aria-current="page"] {
    color: var(--sun);
    background: rgba(252, 215, 97, 0.08);
  }
  .tabbar svg { width: 1.2rem; height: 1.2rem; fill: none; stroke: currentColor; stroke-width: 1.7; }
  body { padding-bottom: 4.4rem; }
  .site-footer { padding-bottom: 1.4rem; }
}
@media (min-width: 700px) {
  .glance-grid { grid-template-columns: 1fr 1fr; }
  .quiz-options { grid-template-columns: repeat(3, 1fr); }
  .calc-span { grid-column: 1 / -1; }
  .loss-layout {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 1.2rem;
    align-items: start;
  }
}
@media (min-width: 980px) {
  .glance-grid { grid-template-columns: repeat(3, 1fr); }
  .glance-card-wide { grid-column: span 1; }
}
@media (prefers-reduced-motion: reduce) {
  .glance-card:hover,
  .teaser-card:hover,
  .ep:hover,
  .panel:hover,
  .soon-card:hover,
  .term:hover,
  .news-item:hover,
  .fact:hover,
  .gauge-card:hover,
  .ampel-card:hover,
  .termine-card:hover,
  .t-card:hover,
  .calc-card:hover,
  .contact-box:hover {
    transform: none;
  }
  .loss-fill, .loss-plus, .loss-start, .gauge-bar-marker { transition: none; }
}

#verlust-rechner, #quiz-verlust, #artikel, #worum, .toc { scroll-margin-top: 5.2rem; }
.hint { color: var(--muted); font-size: 0.9rem; }
.source { color: var(--muted); font-size: 0.88rem; }

@media (max-width: 699px) {
  .hero {
    min-height: 0;
    padding: 5.2rem 0 1.1rem;
  }
  .hero .lead { margin-bottom: 1.15rem; }
  .hero .coinpath { width: min(18rem, 80%); margin: 1.1rem 0 0; }
  html { scroll-padding-bottom: 5rem; }
}
