/* =========================================================
   mpu-ablauf.de — „Wanderkarte"
   Tageslicht · Ultramarin · Archivo + Spline Sans Mono
   Der MPU-Weg als Route mit Wegpunkten und Höhenlinien.
   Eigenständiges Theme (kein geteiltes CSS, kein Footprint).

   Klassen- und Strukturkompatibel zum bisherigen Markup
   (wz-* / .hero / .faq / .footer …) — nur das Gewand ist neu.
   ========================================================= */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 400 900;
  font-stretch: 75% 125%;
  font-display: swap;
  src: url("./fonts/archivo-var.woff2") format("woff2");
}

@font-face {
  font-family: "Spline Sans Mono";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("./fonts/spline-mono-var.woff2") format("woff2");
}

:root {
  --wz-bg: #FCFCFA;            /* Tageslicht */
  --wz-paper: #FFFFFF;          /* Kartenfläche */
  --wz-ink: #1C2434;            /* Ultramarin-Tinte */
  --wz-muted: #57617A;
  --wz-line: #DDE2EE;
  --wz-accent: #2447C5;         /* Ultramarin — der einzige Akzent */
  --wz-accent-dark: #1A339C;
  --wz-accent-soft: #E8EDFC;    /* bläuliche Tönung */
  --wz-accent-softer: #F2F5FD;
  --wz-warn: #8A5A18;           /* Zeitfresser-Hinweis (reserviert) */
  --wz-warn-bg: #FBF4E4;
  --wz-radius: 6px;             /* technisch, keine Pills */
  --wz-radius-lg: 8px;
  --wz-shadow: none;
  --wz-ring: 0 0 0 2px var(--wz-accent);
  --wz-maxw: 1140px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--wz-bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1400' height='900' viewBox='0 0 1400 900'%3E%3Cg fill='none' stroke='%232447C5' stroke-opacity='0.05' stroke-width='1.4'%3E%3Cpath d='M-50 760 C 220 700 380 560 640 590 S 1080 720 1450 620'/%3E%3Cpath d='M-50 700 C 260 640 420 500 700 530 S 1120 660 1450 550'/%3E%3Cpath d='M-50 640 C 300 580 470 440 760 470 S 1160 600 1450 480'/%3E%3Cpath d='M-50 200 C 200 260 500 300 780 240 S 1200 140 1450 200'/%3E%3Cpath d='M-50 140 C 240 200 540 240 820 180 S 1220 80 1450 130'/%3E%3Cpath d='M-50 80 C 280 140 580 180 860 120 S 1240 20 1450 80'/%3E%3C/g%3E%3C/svg%3E");
  background-attachment: fixed;
  color: var(--wz-ink);
  font-family: "Archivo", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16.5px;
  line-height: 1.6;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--wz-accent-dark); }
img { max-width: 100%; display: block; }

:focus-visible {
  outline: none;
  box-shadow: var(--wz-ring);
  border-radius: 4px;
}

.mono {
  font-family: "Spline Sans Mono", ui-monospace, monospace;
}

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

.wz-site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(252, 252, 250, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--wz-line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: var(--wz-maxw);
  margin: 0 auto;
  padding-inline: clamp(20px, 5vw, 32px);
  height: 66px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--wz-ink);
  font-weight: 800;
  font-stretch: 110%;
  letter-spacing: -0.005em;
  text-decoration: none;
  font-size: 17px;
}

.wz-brand-mark {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--wz-accent);
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-family: "Spline Sans Mono", monospace;
}

.wz-nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 15px;
  font-weight: 600;
}

.wz-nav-links a {
  color: var(--wz-ink);
  text-decoration: none;
  padding-block: 4px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.wz-nav-links a:hover { color: var(--wz-accent); border-color: var(--wz-accent); }

.wz-nav-links a.wz-nav-cta {
  border: 0;
  border-radius: var(--wz-radius);
  background: var(--wz-accent);
  color: #fff;
  padding: 9px 16px;
}

.wz-nav-links a.wz-nav-cta:hover { background: var(--wz-accent-dark); }

.wz-nav-toggle-cb { display: none; }

.wz-nav-toggle {
  display: none;
  width: 44px;
  height: 40px;
  border: 1px solid var(--wz-line);
  border-radius: var(--wz-radius);
  background: var(--wz-paper);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}

.wz-nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--wz-ink);
}

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

.wz-nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid var(--wz-accent);
  border-radius: var(--wz-radius);
  background: var(--wz-accent);
  color: #fff;
  font-family: inherit;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.wz-nav-cta:hover,
.button:hover {
  background: var(--wz-accent-dark);
  border-color: var(--wz-accent-dark);
  color: #fff;
  transform: translateY(-1px);
}

.button.wz-secondary {
  border: 1.5px solid var(--wz-line);
  background: var(--wz-paper);
  color: var(--wz-ink);
}

.button.wz-secondary:hover {
  background: var(--wz-accent-softer);
  border-color: var(--wz-accent);
  color: var(--wz-accent-dark);
}

/* ---------- Layout ---------- */

.container {
  max-width: var(--wz-maxw);
  margin: 0 auto;
  padding-inline: clamp(20px, 5vw, 32px);
}

.container.wz-narrow { max-width: 900px; }

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.9fr);
  gap: 56px;
  align-items: center;
  padding-block: 72px 48px;
}

.wz-eyebrow {
  display: inline-block;
  margin: 0 0 14px;
  color: var(--wz-accent);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.018em;
  line-height: 1.12;
  color: var(--wz-ink);
}

h1 {
  font-size: clamp(34px, 4.6vw, 56px);
  font-weight: 800;
  font-stretch: 116%;
  letter-spacing: -0.025em;
  line-height: 1.04;
  max-width: 14ch;
}

h2 {
  font-size: clamp(25px, 2.9vw, 34px);
  font-stretch: 110%;
  letter-spacing: -0.02em;
}

h3 { font-size: 20px; }
h4 { font-size: 16px; }

p { margin: 0; }

.lead {
  max-width: 560px;
  margin-top: 22px;
  color: var(--wz-muted);
  font-size: 18px;
  line-height: 1.55;
}

.wz-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.wz-byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin-top: 26px;
  color: var(--wz-muted);
  font-size: 13px;
}

.wz-byline .wz-dot {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--wz-line);
}

.wz-byline strong {
  color: var(--wz-ink);
  font-weight: 700;
}

.wz-byline-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border-radius: var(--wz-radius);
  background: var(--wz-accent-soft);
  color: var(--wz-accent-dark);
  padding: 4px 10px;
  font-weight: 700;
  font-size: 12.5px;
}

/* ---------- Hero: Kartenausschnitt („Der Weg in 10 Stationen") ---------- */

.wz-hero-timeline {
  position: relative;
  background: var(--wz-paper);
  border: 1.5px solid var(--wz-ink);
  border-radius: 4px;
  padding: 24px 26px 20px;
}

/* Nordpfeil */
.wz-hero-timeline::after {
  content: "N ↑";
  position: absolute;
  top: 14px;
  right: 16px;
  font-family: "Spline Sans Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--wz-muted);
}

.wz-hero-timeline-title {
  margin-bottom: 2px;
  font-size: 14px;
  font-weight: 800;
  font-stretch: 105%;
  color: var(--wz-ink);
}

.wz-hero-timeline-sub {
  margin-bottom: 18px;
  color: var(--wz-muted);
  font-size: 12.5px;
}

.wz-hero-timeline-list {
  position: relative;
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: tl;
}

/* gestrichelte Routenlinie */
.wz-hero-timeline-list::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 16px;
  bottom: 16px;
  width: 0;
  border-left: 2px dashed var(--wz-accent);
}

.wz-hero-timeline-list li {
  position: relative;
  display: grid;
  grid-template-columns: 18px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 9px 0;
  counter-increment: tl;
  color: var(--wz-muted);
  font-size: 14px;
}

/* Wegpunkt-Symbol */
.wz-hero-timeline-list li::before {
  content: "";
  position: relative;
  z-index: 1;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--wz-paper);
  border: 2.5px solid var(--wz-accent);
  justify-self: start;
  margin-left: 1px;
}

.wz-hero-timeline-list li:first-child::before {
  background: var(--wz-accent);
  box-shadow: 0 0 0 4px var(--wz-accent-soft);
}

.wz-hero-timeline-list b {
  color: var(--wz-ink);
  font-weight: 700;
}

.wz-hero-timeline-list .wz-chip {
  font-family: "Spline Sans Mono", monospace;
  font-size: 11.5px;
  color: var(--wz-accent-dark);
  background: var(--wz-accent-soft);
  padding: 2px 8px;
  border-radius: 4px;
  white-space: nowrap;
}

/* ---------- Sofortantwort-Box ---------- */

.wz-answer-box {
  border: 1.5px solid var(--wz-ink);
  border-radius: 4px;
  background: var(--wz-paper);
  padding: 22px 26px;
  font-size: 16.5px;
  line-height: 1.6;
  box-shadow: 4px 4px 0 var(--wz-accent-soft);
}

.wz-answer-box strong { color: var(--wz-accent-dark); }

/* ---------- Sections ---------- */

.section {
  padding-top: 56px;
  padding-bottom: 56px;
}

.section.wz-tight {
  padding-top: 36px;
  padding-bottom: 36px;
}

.wz-section-head {
  margin-bottom: 28px;
}

.wz-section-kicker {
  display: inline-block;
  color: var(--wz-accent);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.wz-section-head h2 { margin-top: 6px; }

/* ---------- Timeline 10 Stationen → zentrale Route ---------- */

.wz-timeline {
  position: relative;
  display: grid;
  gap: 0;
  margin: 0;
  padding-block: 8px;
  list-style: none;
  counter-reset: st;
}

/* zentrale Routenlinie */
.wz-timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 0;
  border-left: 2.5px solid var(--wz-accent);
  transform: translateX(-1px);
}

.wz-timeline > li {
  position: relative;
  width: calc(50% - 44px);
  padding: 16px 20px;
  counter-increment: st;
}

.wz-timeline > li:nth-child(odd) { margin-left: 0; text-align: right; }
.wz-timeline > li:nth-child(even) { margin-left: calc(50% + 44px); }

/* Wegpunkt-Punkte */
.wz-timeline > li::before {
  content: "";
  position: absolute;
  top: 24px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--wz-bg);
  border: 3px solid var(--wz-accent);
  z-index: 1;
}

.wz-timeline > li:nth-child(odd)::before { right: -53px; }
.wz-timeline > li:nth-child(even)::before { left: -53px; }

/* Wegpunkt-Nummer (WP) statt Ziffer im Kreis */
.wz-timeline > li::after {
  content: "WP " counter(st, decimal-leading-zero);
  display: block;
  font-family: "Spline Sans Mono", monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--wz-accent);
  margin-bottom: 6px;
}

.wz-timeline > li h3 {
  font-size: 17.5px;
  font-weight: 700;
  margin-bottom: 4px;
}

.wz-timeline > li p {
  color: var(--wz-muted);
  font-size: 14.5px;
  line-height: 1.55;
  margin: 0;
}

.wz-timeline > li .wz-chip {
  display: inline-flex;
  align-items: center;
  margin-top: 8px;
  border-radius: 4px;
  background: var(--wz-accent-soft);
  color: var(--wz-accent-dark);
  padding: 2px 8px;
  font-family: "Spline Sans Mono", monospace;
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
}

/* Station 4: größter Zeitfaktor — gefüllter Punkt + Flagge */
.wz-timeline > li.wz-is-marked::before {
  background: var(--wz-accent);
  box-shadow: 0 0 0 5px var(--wz-accent-soft);
}

.wz-timeline > li.wz-is-marked h3 {
  color: var(--wz-accent-dark);
}

.wz-timeline > li.wz-is-marked .wz-chip {
  background: var(--wz-accent);
  color: #fff;
}

.wz-timeline > li.wz-is-marked h3::after {
  content: "Größter Zeitfaktor";
  display: inline-block;
  margin-left: 10px;
  padding: 2px 8px;
  border-radius: 3px;
  background: var(--wz-accent);
  color: #fff;
  font-family: "Spline Sans Mono", monospace;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  vertical-align: middle;
}

/* ---------- 3 Teile (asymmetrisch 2/3 + 1/3) → Kartenkästchen ---------- */

.wz-parts {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 16px;
}

.wz-part {
  border: 1.5px solid var(--wz-ink);
  border-radius: 4px;
  background: var(--wz-paper);
  padding: 24px;
}

.wz-part.wz-large {
  grid-row: span 2;
}

.wz-part h3 { margin-bottom: 8px; }

.wz-part p {
  color: var(--wz-muted);
  font-size: 15px;
  line-height: 1.55;
}

.wz-part .wz-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--wz-accent-dark);
  font-family: "Spline Sans Mono", monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Kartenzeichen vor dem Teil-Tag */
.wz-part .wz-tag::before {
  content: "";
  width: 12px;
  height: 12px;
  flex: 0 0 auto;
  background:
    linear-gradient(var(--wz-accent), var(--wz-accent)) center/12px 2.5px no-repeat,
    linear-gradient(var(--wz-accent), var(--wz-accent)) center/2.5px 12px no-repeat;
}

.wz-part .wz-tag:nth-of-type(1n + 2) { content: none; }

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

.wz-cost-table {
  width: 100%;
  border-collapse: collapse;
  border: 1.5px solid var(--wz-ink);
  background: var(--wz-paper);
  font-size: 15px;
}

.wz-cost-table th,
.wz-cost-table td {
  text-align: left;
  padding: 13px 18px;
  border-bottom: 1px solid var(--wz-line);
}

.wz-cost-table th {
  background: var(--wz-accent-softer);
  color: var(--wz-accent-dark);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.wz-cost-table td:last-child {
  font-family: "Spline Sans Mono", monospace;
  font-weight: 600;
  color: var(--wz-ink);
  white-space: nowrap;
}

.wz-cost-table tr:last-child td { border-bottom: 0; }

/* ---------- P3 (2026-09-17): Tabellen-Scroll global ----------
   Breite Texttabellen: nur die Tabelle scrollt, nie die Seite.
   Klassenname folgt der Familien-Konvention aus dem 10.09.-Compliance-Lauf. */
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.wz-cost-table--wrap td:last-child {
  white-space: normal;
  font-weight: 400;
  color: var(--wz-muted);
  font-family: inherit;
  font-variant-numeric: normal;
}

.wz-cost-note {
  margin-top: 12px;
  color: var(--wz-muted);
  font-size: 13.5px;
}

/* ---------- Nach Anlass (Zeilen-Links) ---------- */

.wz-reasons {
  border-top: 1.5px solid var(--wz-ink);
}

.wz-reasons a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 22px;
  gap: 16px;
  align-items: center;
  padding: 18px 4px;
  border-bottom: 1px solid var(--wz-line);
  color: var(--wz-ink);
  text-decoration: none;
  transition: color 0.15s ease, padding-left 0.15s ease;
}

.wz-reasons a:hover {
  color: var(--wz-accent-dark);
  padding-left: 10px;
}

.wz-reasons a b {
  display: block;
  font-weight: 700;
  font-size: 16px;
}

.wz-reasons a span {
  color: var(--wz-muted);
  font-size: 14px;
}

.wz-reasons a::after {
  content: "→";
  color: var(--wz-accent);
  font-weight: 700;
}

/* ---------- Check-Teaser ---------- */

.wz-check-teaser {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  background: var(--wz-accent);
  color: #fff;
  border-radius: 4px;
  padding: 30px 32px;
}

.wz-check-teaser h2 { margin-bottom: 6px; color: #fff; }

.wz-check-teaser p {
  color: #CDD8F8;
  font-size: 15px;
  max-width: 520px;
}

.wz-check-teaser .button {
  background: #fff;
  color: var(--wz-accent-dark);
  border-color: #fff;
}

.wz-check-teaser .button:hover {
  background: var(--wz-accent-soft);
}

/* ---------- Beta-Warteliste ---------- */

.wz-beta-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  gap: 32px;
  border: 1.5px solid var(--wz-ink);
  border-radius: 4px;
  background: var(--wz-paper);
  padding: 32px;
  box-shadow: 4px 4px 0 var(--wz-accent-soft);
}

.wz-beta-intro h2 { margin: 6px 0 12px; }

.wz-beta-intro p {
  color: var(--wz-muted);
  font-size: 15px;
  max-width: 480px;
}

.wz-beta-intro p + p { margin-top: 10px; }

.wz-beta-form {
  background: var(--wz-accent-softer);
  border: 1px solid var(--wz-line);
  border-radius: var(--wz-radius);
  padding: 20px;
}

.wz-beta-row { margin-bottom: 14px; }

.wz-beta-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--wz-ink);
  margin-bottom: 6px;
}

.wz-beta-input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--wz-line);
  border-radius: var(--wz-radius);
  font: inherit;
  color: var(--wz-ink);
  background: var(--wz-paper);
}

.wz-beta-input:focus {
  outline: none;
  border-color: var(--wz-accent);
  box-shadow: var(--wz-ring);
}

.wz-beta-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--wz-muted);
  margin-bottom: 14px;
}

.wz-beta-consent input { margin-top: 3px; accent-color: var(--wz-accent); }

.wz-beta-consent a { color: var(--wz-accent-dark); }

.wz-beta-form .cf-turnstile { margin-bottom: 14px; }

.wz-beta-result {
  display: none;
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: var(--wz-radius);
  font-size: 13.5px;
}

.wz-beta-result.wz-visible { display: block; }
.wz-beta-result.wz-is-success { background: var(--wz-accent-soft); color: var(--wz-accent-dark); }
.wz-beta-result.wz-is-error { background: var(--wz-warn-bg); color: var(--wz-warn); }

.wz-beta-fineprint {
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--wz-muted);
}

.wz-beta-noscript {
  margin-top: 12px;
  font-size: 13.5px;
  color: var(--wz-muted);
}

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

.faq {
  border-top: 1.5px solid var(--wz-ink);
}

.faq details {
  border-bottom: 1px solid var(--wz-line);
}

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 0;
  font-weight: 700;
  color: var(--wz-ink);
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
}

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

.faq summary::after {
  content: "+";
  font-family: "Spline Sans Mono", monospace;
  color: var(--wz-accent);
  font-weight: 600;
  font-size: 20px;
  line-height: 1;
}

.faq details[open] summary::after { content: "–"; }

.faq details p {
  padding: 0 0 18px;
  color: var(--wz-muted);
  font-size: 15px;
  max-width: 720px;
}

/* ---------- Autoren- & Quellenblock ---------- */

.wz-editorial {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 1fr);
  gap: 36px;
  align-items: start;
  border-top: 1.5px solid var(--wz-ink);
  padding-top: 36px;
}

.wz-editorial h2 { margin-bottom: 12px; }

.wz-editorial p {
  color: var(--wz-muted);
  font-size: 15px;
  max-width: 560px;
}

.wz-sources h4 {
  margin-bottom: 12px;
  color: var(--wz-ink);
}

.wz-sources ul {
  margin: 0;
  padding-left: 18px;
  color: var(--wz-muted);
  font-size: 14px;
  line-height: 1.6;
}

.wz-sources li { margin-bottom: 8px; }

.wz-sources a {
  color: var(--wz-accent-dark);
  text-decoration: underline;
  text-decoration-color: var(--wz-accent-soft);
  text-underline-offset: 2px;
}

.wz-sources a:hover {
  text-decoration-color: var(--wz-accent);
}

.wz-sources .wz-verified {
  margin-top: 14px;
  font-size: 13px;
  color: var(--wz-muted);
}

.wz-mpufy-hint {
  margin-top: 6px;
  font-size: 13px;
  color: var(--wz-muted);
}

.wz-mpufy-hint a {
  color: var(--wz-accent-dark);
  text-decoration: underline;
  text-decoration-color: var(--wz-accent-soft);
  text-underline-offset: 2px;
}

.wz-mpufy-hint a:hover { text-decoration-color: var(--wz-accent); }

/* ---------- Warning / note ---------- */

.wz-warning {
  border: 1px solid var(--wz-line);
  border-radius: var(--wz-radius);
  background: var(--wz-paper);
  color: var(--wz-muted);
  padding: 16px 18px;
  font-size: 14px;
}

.wz-note {
  border: 1.5px solid var(--wz-ink);
  border-radius: 4px;
  background: var(--wz-paper);
  padding: 14px 18px;
  color: var(--wz-ink);
  font-size: 14.5px;
}

.wz-note strong { color: var(--wz-accent-dark); }

/* ---------- Tool (Ablauf-Check) ---------- */

.wz-tool {
  border: 1.5px solid var(--wz-ink);
  border-radius: 4px;
  background: var(--wz-paper);
  overflow: hidden;
}

.wz-tool-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.wz-tool-progress {
  display: flex;
  gap: 8px;
  padding: 22px 28px 0;
}

.wz-tool-progress .wz-dot {
  width: 28px;
  height: 5px;
  border-radius: 2px;
  background: var(--wz-accent-soft);
}

.wz-tool-progress .wz-dot.wz-is-active { background: var(--wz-accent); }
.wz-tool-progress .wz-dot.wz-is-done { background: var(--wz-accent-dark); }

.wz-tool-form {
  padding: 24px 28px 28px;
}

.wz-tool-cards {
  position: relative;
}

.wz-tool-card {
  display: none;
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}

.wz-tool-card.wz-is-active { display: block; }

.wz-tool-card legend {
  display: contents;
}

.wz-tool-card-num {
  display: block;
  color: var(--wz-accent);
  font-family: "Spline Sans Mono", monospace;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.wz-tool-card h3 {
  margin: 4px 0 18px;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.25;
}

.wz-tool-options {
  display: grid;
  gap: 10px;
}

.wz-tool-option {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  border: 1px solid var(--wz-line);
  border-radius: var(--wz-radius);
  padding: 14px 16px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}

.wz-tool-option:hover {
  border-color: var(--wz-accent);
  background: var(--wz-accent-softer);
}

.wz-tool-option input {
  margin-top: 3px;
  accent-color: var(--wz-accent);
}

.wz-tool-option span {
  font-size: 15px;
  color: var(--wz-ink);
}

.wz-tool-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  gap: 12px;
}

.wz-tool-actions .button.wz-secondary {
  border-color: transparent;
  background: transparent;
  color: var(--wz-muted);
  min-height: 0;
  padding: 8px 4px;
}

.wz-tool-actions .button.wz-secondary:hover {
  background: transparent;
  color: var(--wz-accent-dark);
}

.wz-tool-actions .button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.wz-tool-result {
  display: none;
  padding: 28px;
  border-top: 1px solid var(--wz-line);
  background: var(--wz-accent-softer);
}

.wz-tool-result.wz-visible { display: block; }

/* Ergebnisübergabe: beim Scrollen unter dem Sticky-Header (66 px) bleiben */
.wz-tool-result { scroll-margin-top: 80px; }

.wz-tool-result h3 {
  margin: 0 0 6px;
  font-size: 20px;
  color: var(--wz-accent-dark);
}

.wz-tool-result p {
  color: var(--wz-ink);
  font-size: 15px;
  max-width: 640px;
  margin-bottom: 12px;
}

.wz-tool-result .wz-mini-timeline {
  position: relative;
  display: grid;
  gap: 0;
  margin: 18px 0;
  padding: 0;
  list-style: none;
  counter-reset: ml;
}

.wz-tool-result .wz-mini-timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 8px 0;
  color: var(--wz-muted);
  font-size: 14px;
}

.wz-tool-result .wz-mini-timeline li.wz-is-now {
  color: var(--wz-ink);
  font-weight: 700;
}

.wz-tool-result .wz-mini-timeline li.wz-is-now::before {
  content: "●";
  display: grid;
  place-items: center;
  width: 32px;
  color: var(--wz-accent);
  font-size: 18px;
}

.wz-tool-result .wz-mini-timeline li:not(.wz-is-now)::before {
  content: counter(ml, decimal-leading-zero);
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--wz-paper);
  color: var(--wz-accent-dark);
  font-family: "Spline Sans Mono", monospace;
  font-weight: 600;
  font-size: 11px;
  border: 1px solid var(--wz-accent-soft);
  margin-left: 2px;
}

.wz-tool-result .wz-mini-timeline li:not(.wz-is-now) {
  counter-increment: ml;
}

.wz-tool-result .wz-tasks {
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--wz-ink);
  font-size: 14.5px;
}

.wz-tool-result .wz-tasks li { margin-bottom: 6px; }

.wz-tool-result .wz-next-step {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--wz-accent-soft);
}

.wz-tool-result .wz-next-step p {
  color: var(--wz-muted);
  font-size: 14px;
  margin-bottom: 10px;
}

/* ---------- Article pages ---------- */

.wz-page-hero {
  padding-top: 56px;
  padding-bottom: 28px;
}

.wz-page-hero h1 { max-width: 16ch; }

.wz-breadcrumb {
  margin-bottom: 16px;
  color: var(--wz-muted);
  font-size: 13px;
}

.wz-breadcrumb a {
  color: var(--wz-accent-dark);
  text-decoration: none;
}

.wz-breadcrumb a:hover { text-decoration: underline; }

.wz-page-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.32fr);
  gap: 48px;
  padding-bottom: 72px;
  min-width: 0;
}

/* Seiten ohne Seitenleiste: eine Spalte, Artikel behält seine 720px */
.wz-page-content--solo {
  grid-template-columns: minmax(0, 1fr);
}

.wz-article {
  display: grid;
  gap: 24px;
  min-width: 0;
  max-width: 720px;
}

.wz-article > p:first-of-type {
  font-size: 17.5px;
  color: var(--wz-ink);
  line-height: 1.55;
}

.wz-article-section {
  border-top: 1px solid var(--wz-line);
  padding-top: 26px;
  min-width: 0;
}

.wz-article-section:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.wz-article-section h2 {
  font-size: clamp(22px, 2.6vw, 28px);
  margin-bottom: 14px;
}

.wz-article-section h3 {
  margin: 20px 0 8px;
}

.wz-article-section p {
  margin-bottom: 12px;
  color: var(--wz-muted);
  font-size: 15.5px;
  line-height: 1.62;
}

.wz-article-section strong { color: var(--wz-ink); }

.wz-article-section ul,
.wz-article-section ol {
  margin: 12px 0;
  padding-left: 22px;
  color: var(--wz-muted);
  font-size: 15.5px;
  line-height: 1.62;
}

.wz-article-section li { margin-bottom: 8px; }

.wz-article-section li strong { color: var(--wz-ink); }

.wz-side-panel {
  position: sticky;
  top: 90px;
  align-self: start;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  min-width: 0;
}

.wz-side-card {
  border: 1px solid var(--wz-line);
  border-radius: var(--wz-radius);
  background: var(--wz-paper);
  padding: 22px;
}

.wz-side-card h4 {
  margin-bottom: 10px;
  color: var(--wz-ink);
}

.wz-side-card p,
.wz-side-card li {
  color: var(--wz-muted);
  font-size: 14px;
  line-height: 1.5;
}

.wz-side-card ul {
  margin: 0;
  padding-left: 18px;
}

.wz-side-card.wz-side-cta {
  border: 1.5px solid var(--wz-ink);
  background: var(--wz-accent-softer);
}

.wz-side-card a:not(.button) {
  color: var(--wz-accent-dark);
  font-weight: 700;
  text-decoration: none;
}

.wz-side-card a:not(.button):hover { text-decoration: underline; }

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

.footer {
  border-top: 1.5px solid var(--wz-ink);
  background: var(--wz-paper);
  padding: 28px 0;
  color: var(--wz-muted);
  font-size: 13.5px;
}

.wz-footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  max-width: var(--wz-maxw);
  margin: 0 auto;
  padding-inline: clamp(20px, 5vw, 32px);
}

.footer a {
  color: var(--wz-ink);
  text-decoration: none;
  transition: color 0.15s;
}

.footer a:hover { color: var(--wz-accent-dark); }

/* ---------- Consent ---------- */

.wz-cookie-consent {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 100;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  max-width: 940px;
  margin: 0 auto;
  padding: 18px 20px;
  border: 1.5px solid var(--wz-ink);
  border-radius: 4px;
  background: var(--wz-paper);
  box-shadow: 4px 4px 0 var(--wz-accent-soft);
}

.wz-cookie-consent h2 {
  margin-bottom: 6px;
  font-size: 17px;
}

.wz-cookie-consent p {
  max-width: 640px;
  color: var(--wz-muted);
  font-size: 14px;
  line-height: 1.5;
}

.wz-cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

/* ---------- Skip link ---------- */

.wz-skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 10px 16px;
  background: var(--wz-accent);
  color: #fff;
  text-decoration: none;
  border-radius: 0 0 var(--wz-radius) 0;
}

.wz-skip-link:focus {
  left: 0;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .nav {
    flex-wrap: wrap;
    padding: 12px 20px;
  }

  .wz-nav-toggle {
    display: flex;
    order: 2;
  }

  .wz-nav-links {
    display: none;
    order: 3;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding-top: 12px;
    font-size: 15px;
  }

  .wz-nav-links a {
    padding: 12px 6px;
    border-radius: var(--wz-radius);
  }

  .wz-nav-links .wz-nav-cta {
    margin-top: 6px;
    justify-content: center;
  }

  .wz-nav-toggle-cb:checked ~ .wz-nav-links {
    display: flex;
  }

  /* Menü-Auslöser per Tastatur: die Checkbox bleibt fokussierbar (visuell versteckt statt display:none),
     der sichtbare Fokus- und Offen-Zustand liegt auf dem Burger-Feld daneben. */
  .wz-nav-toggle-cb {
    display: block;
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    border: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .wz-nav-toggle-cb:focus-visible + .wz-nav-toggle {
    border-color: var(--wz-accent);
    box-shadow: var(--wz-ring);
  }

  .wz-nav-toggle-cb:checked + .wz-nav-toggle {
    border-color: var(--wz-accent);
    background: var(--wz-accent-softer);
  }

  .hero,
  .wz-check-teaser,
  .wz-beta-panel,
  .wz-editorial,
  .wz-page-content,
  .wz-parts {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero {
    padding-top: 44px;
  }

  .wz-part.wz-large {
    grid-row: auto;
  }

  /* Route wird einspaltig: Linie nach links, alles linksbündig */
  .wz-timeline::before {
    left: 16px;
    transform: none;
  }

  .wz-timeline > li,
  .wz-timeline > li:nth-child(even) {
    width: auto;
    margin-left: 44px;
    text-align: left;
  }

  .wz-timeline > li:nth-child(odd)::before,
  .wz-timeline > li:nth-child(even)::before {
    left: -37px;
    right: auto;
  }

  .wz-timeline > li .wz-chip {
    justify-self: start;
    margin-top: 4px;
  }

  .wz-side-panel {
    position: static;
  }

  .wz-cost-table td:last-child { white-space: normal; }

  .wz-footer-inner { flex-direction: column; }

  .wz-cookie-consent { grid-template-columns: 1fr; }

  .wz-cookie-consent__actions { justify-content: stretch; }

  .wz-cookie-consent__actions .button { flex: 1 1 180px; }
}

@media (max-width: 480px) {
  h1 { font-size: 30px; line-height: 1.1; }
  .lead { font-size: 16.5px; }
  .wz-cost-table { font-size: 14px; }
  .wz-timeline > li { padding: 12px 8px; }
  .wz-hero-timeline { padding: 20px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* ---------- Wortmarke (SVG) ---------- */
.brand .brand-logo {
  display: block;
  height: 28px;
  width: auto;
}

/* ---------- Themen-Footer ---------- */
.wz-themen-footer {
  border-top: 1px solid var(--wz-line);
  background: var(--wz-paper);
  padding-block: 34px 18px;
  margin-top: 64px;
}
.wz-themen-inner {
  max-width: var(--wz-maxw);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 32px);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px 34px;
}
.wz-tf-group h3 {
  font-family: var(--wz-font-mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--wz-muted);
  margin: 0 0 10px;
}
.wz-tf-group ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 7px;
}
.wz-tf-group a {
  color: var(--wz-ink);
  text-decoration: none;
  font-size: 14.5px;
  line-height: 1.35;
}
.wz-tf-group a:hover,
.wz-tf-group a:focus-visible {
  color: var(--wz-accent);
  text-decoration: underline;
}
@media (max-width: 980px) {
  .wz-themen-inner { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .wz-themen-inner { grid-template-columns: 1fr; gap: 22px; }
}


/* ---- Reaktionstrainer (Welle 2 / Paket D, 17.09.2026) ---- */
.wz-rt {
  margin: 1.25rem 0 1.5rem;
  padding: 1.25rem;
  border: 1px solid var(--wz-border, #d9d5cc);
  border-radius: 10px;
  background: #fbfaf7;
}
.wz-rt-kopf { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; justify-content: space-between; }
.wz-rt-modi { display: flex; gap: .5rem; }
.wz-rt-modus {
  font: inherit;
  padding: .35rem .9rem;
  border: 1px solid #c9c3b6;
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
}
.wz-rt-modus--aktiv, .wz-rt-modus[aria-pressed="true"] {
  background: #1f2937;
  border-color: #1f2937;
  color: #fff;
}
.wz-rt-prompt { margin: .5rem 0 0; flex: 1 1 22rem; font-size: .95rem; color: #4b5563; }
.wz-rt-buehne {
  margin: 1rem 0 .5rem;
  min-height: 6.5rem;
  display: flex;
  gap: .75rem;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  line-height: 1;
  border: 1px dashed #cfc9bc;
  border-radius: 10px;
  background: #fff;
}
.wz-rt-idle { color: #9ca3af; font-size: 1.6rem; letter-spacing: .3rem; }
.wz-rt-wait { color: #9ca3af; }
.wz-rt-pfeil { font-size: 3.5rem; }
.wz-rt-figur {
  font-size: 2.75rem;
  line-height: 1;
  padding: .35rem .5rem;
  border: 1px solid transparent;
  border-radius: 8px;
  background: none;
  cursor: pointer;
}
.wz-rt-figur:hover, .wz-rt-figur:focus-visible { border-color: #1f2937; }
.wz-rt-meldung { margin: .25rem 0; min-height: 1.4rem; font-weight: 600; }
.wz-rt-meldung--gut { color: #15803d; }
.wz-rt-status { margin: .25rem 0; font-size: .9rem; color: #4b5563; }
.wz-rt-tasten { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .5rem; margin: .75rem 0; }
.wz-rt-taste {
  font-size: 1.5rem;
  padding: .6rem 0;
  border: 1px solid #c9c3b6;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}
.wz-rt-taste:hover, .wz-rt-taste:focus-visible { border-color: #1f2937; }
.wz-rt-buttons { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .5rem; }
.wz-rt-start, .wz-rt-stopp {
  font: inherit;
  font-weight: 600;
  padding: .55rem 1.2rem;
  border-radius: 8px;
  cursor: pointer;
}
.wz-rt-start { background: #1f2937; border: 1px solid #1f2937; color: #fff; }
.wz-rt-stopp { background: #fff; border: 1px solid #c9c3b6; }
.wz-rt-ergebnis { margin-top: 1rem; padding-top: .75rem; border-top: 1px solid #e3ded3; }
.wz-rt-ergebnis h3 { margin: 0 0 .5rem; font-size: 1.05rem; }
.wz-rt-ergebnis table { width: auto; min-width: 16rem; }
.wz-rt-ergebnis th { text-align: left; font-weight: 600; padding-right: 1.25rem; }
.wz-rt-hinweis { margin: .75rem 0 0; font-size: .85rem; color: #4b5563; }
@media (max-width: 30rem) {
  .wz-rt { padding: .9rem; }
  .wz-rt-buehne { font-size: 2.4rem; }
  .wz-rt-figur { font-size: 2.1rem; }
}
||||||| base

/* ---------- P1-Layout-Fix (2026-09-09): Tabellen-Scroll + Mobile-Boxen + Mindest-Fonts ---------- */
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.table-scroll table { min-width: 480px; }
/* R1-QuickWin: Container-Kette bis zum Tabellen-Wrapper scroll-stabil machen
   (Parent ohne min-width:0 liess die 480px-Tabelle die SEITENbreite treiben) */
.container, .container * { min-width: 0; }
.wz-beta-form { display: grid; grid-template-columns: minmax(0, 1fr); }
.wz-beta-form > * { min-width: 0; max-width: 100%; }
/* R1-QuickWin: Cloudflare-Turnstile-Widget (fix 300px) mobil auf Container begrenzen */
.cf-turnstile, .cf-turnstile > div { max-width: 100%; overflow-x: hidden; }
.cf-turnstile iframe { max-width: 100%; }
/* R1-QuickWin: h1-Overflow (lange Woerter, mpu-tag.html) abschneiden */
h1 { overflow-wrap: break-word; }
@media (max-width: 639px) {
  .wz-beta-panel { grid-template-columns: minmax(0, 1fr); }
  .wz-beta-panel > * { min-width: 0; max-width: 100%; }
  .wz-beta-panel iframe { max-width: 100%; }
}
.wz-cost-table th { font-size: 13.5px; }
