/* elystream.me – Grundlayout
   Farbwelt: helles, ruhiges Blau-Grau, warmes Terrakotta als sparsamer Akzent. */

:root {
  --primary-light: #e6eef7;
  --primary: #4a6fa5;
  --primary-dark: #3b5a87;
  --accent: #c89a7b;
  --accent-soft: #fbefe6;

  --bg: #fafafa;
  --bg-card: #ffffff;
  --bg-muted: #f4f5f7;

  --text: #232931;
  --text-muted: #646b78;
  --text-light: #949aa5;

  --success: #548b7c;
  --warning: #d6a768;
  --danger: #b86058;

  --border: #e8e9ed;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 6px 24px rgba(35, 41, 49, 0.06);
  --shadow-hover: 0 12px 32px rgba(35, 41, 49, 0.10);
  --wrap: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}

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

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

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }

/* ---------- Kopfzeile ---------- */
.site-header {
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(180%) blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 68px;
}

.brand {
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.02em;
  color: var(--text);
}
.brand span { color: var(--primary); }
.brand:hover { text-decoration: none; color: var(--text); }

.mainnav { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.mainnav a {
  color: var(--text-muted);
  font-size: 15.5px;
  font-weight: 500;
  padding: 6px 0;
}
.mainnav a:hover { color: var(--primary); text-decoration: none; }
.mainnav a[aria-current="page"] { color: var(--primary); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 12px;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block; width: 19px; height: 2px;
  background: var(--text); border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}

/* ---------- Hero ---------- */
.hero { padding: 54px 0 26px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.04fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero-copy h1 {
  font-size: clamp(30px, 4.2vw, 46px);
  line-height: 1.16;
  letter-spacing: -0.025em;
  margin: 0 0 22px;
  font-weight: 700;
}
.hero-copy p { margin: 0 0 10px; color: var(--text-muted); font-size: 18px; }
.hero-copy .lead-line { color: var(--text); }
.hero-note {
  margin-top: 24px;
  font-size: 15px;
  color: var(--text-light);
  border-left: 2px solid var(--accent);
  padding-left: 14px;
}
.hero-media img {
  border-radius: 22px;
  box-shadow: var(--shadow);
  aspect-ratio: 3 / 2;
  object-fit: cover;
  width: 100%;
}
.hero-badges { margin-top: 26px; display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- Abschnitte ---------- */
.section { padding: 46px 0; }
.section-head { margin-bottom: 26px; }
.section-head h2 {
  font-size: clamp(24px, 2.8vw, 32px);
  margin: 0 0 8px;
  letter-spacing: -0.02em;
  font-weight: 700;
}
.section-head p { margin: 0; color: var(--text-muted); max-width: 640px; }
.section-more { margin-top: 26px; }

.divider { height: 1px; background: var(--border); border: 0; margin: 0; }

/* ---------- Karten ---------- */
.card-grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .25s ease, transform .2s ease;
}
.card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }

.card-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-muted); }
.card-media img { width: 100%; height: 100%; object-fit: cover; }

.card-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-body h3 { margin: 0; font-size: 19px; line-height: 1.35; letter-spacing: -0.01em; }
.card-body h3 a { color: var(--text); }
.card-body h3 a:hover { color: var(--primary); text-decoration: none; }
.card-body p { margin: 0; color: var(--text-muted); font-size: 15.5px; }
.card-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 2px; }
.card-link { margin-top: auto; padding-top: 10px; font-weight: 600; font-size: 15px; }

.tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.tag-accent { background: var(--accent-soft); color: #9a5b3c; }
.tag-muted { background: var(--bg-muted); color: var(--text-muted); }

/* ---------- Werkzeuge ---------- */
.tool-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tool-tile {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.tool-tile:hover { border-color: var(--primary); box-shadow: var(--shadow); text-decoration: none; }
.tool-tile strong { font-size: 15.5px; color: var(--text); }
.tool-tile span { font-size: 13.5px; color: var(--text-muted); line-height: 1.55; }
.tool-tile .tool-ico {
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--primary-light); color: var(--primary-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700;
}

.tool-note {
  margin-top: 18px;
  background: var(--bg-muted);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 14px;
  color: var(--text-muted);
}

/* ---------- Sicherheitsblock ---------- */
.safety-block {
  background: linear-gradient(180deg, #fdf7f2 0%, #fbf2ea 100%);
  border: 1px solid #f2e3d5;
  border-radius: var(--radius);
  padding: 34px 34px 30px;
}
.safety-block h2 { margin: 0 0 12px; font-size: 25px; letter-spacing: -0.02em; }
.safety-block p { margin: 0 0 16px; color: #6b5b50; max-width: 620px; }

/* ---------- Werkzeugseiten ---------- */
.tool-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 40px;
  align-items: start;
  padding-bottom: 60px;
}
.intro-prose { max-width: 760px; padding: 12px 0 26px; }

/* ---------- Fließtext / Artikel ---------- */
.page-head { padding: 44px 0 10px; }
.page-head h1 {
  font-size: clamp(28px, 3.6vw, 40px);
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin: 0 0 14px;
}
.page-head p.dek { color: var(--text-muted); max-width: 720px; margin: 0; font-size: 18px; }
.page-head .meta-line { margin: 12px 0 0; font-size: 13.5px; color: var(--text-light); }
.page-head .meta-line time { font-style: normal; }
.breadcrumb { font-size: 13.5px; color: var(--text-light); margin-bottom: 16px; }
.breadcrumb a { color: var(--text-muted); }

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 48px;
  padding: 30px 0 60px;
  align-items: start;
}
.prose { max-width: 700px; }
.prose p { margin: 0 0 18px; }
.prose h2 { font-size: 25px; margin: 38px 0 14px; letter-spacing: -0.02em; }
.prose h3 { font-size: 20px; margin: 30px 0 10px; }
.prose ul, .prose ol { margin: 0 0 20px; padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose blockquote {
  margin: 26px 0;
  padding: 4px 0 4px 20px;
  border-left: 3px solid var(--accent);
  color: var(--text-muted);
  font-size: 17.5px;
}
.prose figure { margin: 30px 0; }
.prose figure img { border-radius: var(--radius); }
.prose figcaption { font-size: 14px; color: var(--text-light); margin-top: 10px; }
.prose figure.diagram {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 20px;
  box-shadow: var(--shadow);
}
.prose figure.diagram svg { width: 100%; height: auto; display: block; }
.prose figure.diagram figcaption { margin-top: 12px; }
.diagram text { font-family: inherit; fill: var(--text); }
.diagram .diagram-note { fill: var(--text-light); }
.prose .punch { font-size: 20px; color: var(--text); margin: 26px 0; }

.aside-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  position: sticky;
  top: 92px;
}
.aside-card h2 { font-size: 16px; margin: 0 0 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--text-light); }
.aside-card ul { margin: 0; padding-left: 18px; font-size: 15px; color: var(--text-muted); }
.aside-card li { margin-bottom: 8px; }

details.fold {
  background: var(--bg-muted);
  border-radius: var(--radius-sm);
  padding: 0;
  margin: 0 0 14px;
}
details.fold summary {
  cursor: pointer;
  padding: 14px 18px;
  font-weight: 600;
  font-size: 15.5px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
details.fold summary::-webkit-details-marker { display: none; }
details.fold summary::after { content: "+"; color: var(--primary); font-weight: 700; }
details.fold[open] summary::after { content: "–"; }
details.fold .fold-body { padding: 0 18px 16px; color: var(--text-muted); font-size: 15.5px; }
details.fold .fold-body ul { margin: 0; padding-left: 20px; }

/* ---------- Formulare / Werkzeuge ---------- */
.tool-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}

.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14.5px; font-weight: 600; margin-bottom: 7px; }
.field select, .field input[type="text"], .field input[type="number"] {
  width: 100%;
  padding: 12px 14px;
  font-size: 16px;
  color: var(--text);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
}
.field select:focus, .field input:focus {
  outline: 2px solid var(--primary);
  outline-offset: 1px;
  border-color: var(--primary);
}

.check-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.check-item {
  display: flex; gap: 10px; align-items: flex-start;
  background: var(--bg-muted);
  border-radius: 10px;
  padding: 11px 12px;
  font-size: 14.5px;
  color: var(--text);
  cursor: pointer;
}
.check-item input { margin-top: 3px; accent-color: var(--primary); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn-primary { background: var(--primary); border-color: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff; }
.btn-outline { background: transparent; border-color: var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary-light); color: var(--primary-dark); text-decoration: none; }
.btn-ghost { background: var(--bg-muted); border-color: var(--border); color: var(--text); }
.btn-ghost:hover { background: #eceef2; text-decoration: none; }

.tool-result {
  margin-top: 22px;
  border-radius: var(--radius);
  background: var(--primary-light);
  border: 1px solid #d5e2f1;
  padding: 22px 24px;
  display: none;
}
.tool-result.is-visible { display: block; }
.tool-result h2 { font-size: 19px; margin: 0 0 12px; }
.tool-result .big-number { font-size: 40px; font-weight: 700; color: var(--primary-dark); line-height: 1.1; }
.tool-result p { margin: 0 0 12px; color: #33465f; font-size: 15.5px; }
.tool-result ul { margin: 0 0 12px; padding-left: 20px; color: #33465f; font-size: 15.5px; }
.tool-result .result-box {
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  margin-top: 12px;
  white-space: pre-wrap;
  font-size: 15px;
  color: var(--text);
  border: 1px solid #dfe7f1;
}

/* Ergebnis-Töne: ruhig / Hinweis / dringlich */
.tool-result.tone-warn { background: #fdf8f0; border-color: #f0ddbd; }
.tool-result.tone-warn p, .tool-result.tone-warn ul { color: #6f5731; }
.tool-result.tone-warn .big-number { color: var(--warning); }
.tool-result.tone-urgent { background: #fbeeed; border-color: #ecc4c1; }
.tool-result.tone-urgent p, .tool-result.tone-urgent ul { color: #7c3f3a; }
.tool-result.tone-urgent .big-number { color: var(--danger); }

/* ---------- Pfad-Skizze ---------- */
.path-map { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 14px 16px; margin: 14px 0 6px; }
.path-map svg { width: 100%; height: auto; display: block; }
.path-map text { font-family: inherit; }
.path-legend { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; font-size: 13.5px; color: var(--text-muted); margin: 10px 0 0; }
.path-legend .dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 6px; }
.dot-accent { background: var(--accent); }
.dot-primary { background: var(--primary); }
.path-legend .band { display: inline-block; width: 24px; height: 10px; border-radius: 6px; background: var(--primary-light); margin-right: 6px; }

/* Zusammenfassung der gewählten Angaben */
.result-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 16px; }
.chip {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 13px;
  color: var(--text-muted);
}

/* Weiterführende Links im Ergebnis */
.result-next {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px dashed var(--border);
}
.result-next h3 {
  font-size: 13px;
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-muted);
}
.result-next ul { margin: 0; padding-left: 18px; }
.result-next a { color: var(--primary-dark); }

/* Urteils-Badge im Passungs-Check */
.verdict {
  display: inline-flex; align-items: center; gap: 7px;
  border-radius: 999px; padding: 6px 14px;
  font-size: 14px; font-weight: 600; margin: 2px 0 14px;
}
.verdict-ok { background: #eaf3f0; color: var(--success); border: 1px solid #c3ddd4; }
.verdict-warn { background: #fdf8f0; color: var(--warning); border: 1px solid #f0ddbd; }
.verdict-no { background: #fbeeed; color: var(--danger); border: 1px solid #ecc4c1; }

/* Interaktive Checkliste im Ergebnis */
.check-list { list-style: none; margin: 6px 0 12px; padding: 0; }
.check-list-section { margin-bottom: 14px; }
.check-list-section > h3 {
  font-size: 13px; text-transform: uppercase; letter-spacing: .06em;
  color: var(--text-muted); margin: 0 0 8px;
}
.check-list li { display: flex; gap: 10px; align-items: flex-start; padding: 7px 0; font-size: 15px; }
.check-list li input { margin-top: 4px; accent-color: var(--primary); }
.check-list li.done label { color: var(--text-light); text-decoration: line-through; }
.check-progress {
  display: flex; align-items: center; gap: 12px; margin: 4px 0 12px; font-size: 14px; color: var(--text-muted);
}
.check-progress .bar {
  flex: 1; max-width: 220px; height: 6px; border-radius: 999px; background: var(--border); overflow: hidden;
}
.check-progress .bar span { display: block; height: 100%; background: var(--success); border-radius: 999px; }

/* Beobachtungs-Log */
.obs-log { list-style: none; margin: 8px 0 12px; padding: 0; }
.obs-log li {
  display: flex; gap: 10px; align-items: baseline;
  padding: 8px 0; border-bottom: 1px dashed var(--border); font-size: 14.5px;
}
.obs-log li:last-child { border-bottom: 0; }
.obs-log .obs-time { font-variant-numeric: tabular-nums; color: var(--text-light); min-width: 64px; }
.obs-log .obs-level { font-weight: 600; min-width: 92px; }
.obs-level.l1 { color: var(--success); }
.obs-level.l2 { color: var(--warning); }
.obs-level.l3 { color: var(--danger); }

/* Kopierbarer Plan-Zettel im Ergebnis */
.plan-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
.field-note { font-size: 13px; color: var(--text-light); margin: 6px 0 0; }

/* Beispiel-Szenario vor dem Formular */
.example-fold { margin: 0 0 22px; }
.example-fold .fold-body p { margin: 0 0 10px; }
.example-fold .fold-body p:last-child { margin-bottom: 0; }

/* Stufengruppierung auf der Werkzeug-Übersicht */
.tool-stage { margin: 34px 0 14px; }
.tool-stage:first-of-type { margin-top: 26px; }
.tool-stage h2 { font-size: 19px; margin: 0 0 4px; letter-spacing: -0.01em; }
.tool-stage > p { margin: 0 0 16px; color: var(--text-muted); font-size: 14.5px; }
.card .card-help { font-size: 13.5px; color: var(--text-light); margin: 0 0 14px; line-height: 1.55; }

.hint-box {
  margin-top: 20px;
  border-left: 3px solid var(--warning);
  background: #fdf8f0;
  padding: 14px 18px;
  border-radius: 0 10px 10px 0;
  font-size: 14px;
  color: #7a6444;
}

/* ---------- Rechtstexte ---------- */
.legal { max-width: 780px; padding: 26px 0 70px; }
.legal h2 { font-size: 22px; margin: 34px 0 12px; }
.legal p, .legal li { color: var(--text-muted); }
.legal h1 { margin-bottom: 10px; }

/* ---------- Fußzeile ---------- */
.site-footer {
  margin-top: 40px;
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 46px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 32px;
}
.footer-grid h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--text-light); margin: 0 0 12px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 8px; font-size: 14.5px; }
.footer-grid a { color: var(--text-muted); }
.footer-grid a:hover { color: var(--primary); }
.footer-grid .footer-consent-btn {
  background: none; border: 0; padding: 0; margin: 0;
  font: inherit; font-size: 14.5px; color: var(--text-muted);
  cursor: pointer; text-align: left;
}
.footer-grid .footer-consent-btn:hover { color: var(--primary); }
.footer-about p { margin: 0; font-size: 14.5px; color: var(--text-muted); max-width: 340px; }
.footer-bottom {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13.5px;
  color: var(--text-light);
}

/* ---------- Cookie-Hinweis ---------- */
.consent {
  position: fixed;
  left: 18px; right: 18px; bottom: 18px;
  z-index: 90;
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 18px 44px rgba(35, 41, 49, .16);
  padding: 22px 24px;
  display: none;
}
.consent.is-open { display: block; }
.consent h2 { font-size: 16px; margin: 0 0 8px; }
.consent p { font-size: 14px; color: var(--text-muted); margin: 0 0 14px; }
.consent .consent-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.consent details { margin-bottom: 14px; }
.consent summary { cursor: pointer; font-size: 14px; color: var(--primary); font-weight: 600; }
.consent .consent-opt { margin-top: 10px; font-size: 14px; color: var(--text-muted); }
.consent .consent-opt label { display: flex; gap: 8px; align-items: center; margin-bottom: 6px; }

/* ---------- Aktivitäten-Katalog ---------- */
.act-nav { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 6px; }
.act-nav a {
  font-size: 14px; font-weight: 600; padding: 8px 14px;
  border: 1px solid var(--border); border-radius: 999px;
  color: var(--primary); background: #fff;
}
.act-nav a:hover { border-color: var(--primary-light); text-decoration: none; background: var(--primary-light); }

.tag-mid { background: #fbf0e0; color: #8a6234; }

.act-group { padding-top: 26px; border-top: 1px solid var(--border); margin-top: 44px; }
.act-group h2 { font-size: 26px; margin: 0 0 8px; }
.act-group .group-dek { color: var(--text-muted); max-width: 700px; margin: 0 0 4px; }
.act-group .group-count { font-size: 13.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--text-light); margin-bottom: 22px; }

.act {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 14px; padding: 22px 24px; margin-bottom: 14px;
}
.act-top { display: flex; gap: 14px; align-items: baseline; }
.act-no { font-size: 12.5px; color: var(--text-light); min-width: 26px; font-variant-numeric: tabular-nums; }
.act h3 { margin: 0 0 8px; font-size: 19.5px; line-height: 1.3; }
.act-lead { margin: 0 0 14px; color: var(--text-muted); font-size: 15.5px; max-width: 660px; }
.act-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 16px; }
.act-tags .tag { font-size: 12px; padding: 4px 10px; }
.act-facts { display: grid; grid-template-columns: 92px 1fr; gap: 9px 16px; margin: 0; font-size: 15px; }
.act-facts dt { font-size: 12.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--text-light); padding-top: 3px; }
.act-facts dd { margin: 0; }
.act-more { display: inline-block; margin-top: 16px; font-size: 14.5px; font-weight: 600; }

.act-top h3 a { color: inherit; text-decoration: none; }
.act-top h3 a:hover { color: var(--primary); text-decoration: underline; }
.act-catline { margin: 28px 0 0; padding-top: 16px; border-top: 1px solid var(--border); font-size: 15px; color: var(--text-muted); }
.prose .act-tags { margin: 0 0 24px; }
.aside-card .act-facts { grid-template-columns: 1fr; gap: 2px; }
.aside-card .act-facts dt { padding-top: 14px; }
.aside-card .act-facts dd { font-size: 15px; color: var(--text); padding-bottom: 6px; }
.aside-card h2:not(:first-child) { margin-top: 24px; }
/* ---------- 404 ---------- */.notfound {
  text-align: center;
  padding: 90px 20px 110px;
}
.notfound .code { font-size: 88px; font-weight: 700; color: var(--primary-light); line-height: 1; letter-spacing: -.04em; }
.notfound h1 { font-size: 30px; margin: 10px 0 14px; }
.notfound p { color: var(--text-muted); max-width: 480px; margin: 0 auto 26px; }
.notfound .btn { margin: 0 6px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 26px; }
  .hero-media { order: 2; }
  .tool-strip { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .article-layout { grid-template-columns: 1fr; gap: 30px; }
  .tool-layout { grid-template-columns: 1fr; gap: 26px; }
  .aside-card { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  body { font-size: 16.5px; }
  .nav-toggle { display: flex; }
  .mainnav {
    display: none;
    position: absolute;
    top: 68px; left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 12px 22px 18px;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    box-shadow: 0 12px 24px rgba(35,41,49,.08);
  }
  .mainnav.is-open { display: flex; }
  .mainnav a { padding: 10px 0; width: 100%; border-bottom: 1px solid #f1f2f5; font-size: 16px; }
  .mainnav a:last-child { border-bottom: 0; }

  .hero { padding: 30px 0 10px; }
  .section { padding: 34px 0; }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .tool-strip { grid-template-columns: 1fr; }
  .check-grid { grid-template-columns: 1fr; }
  .safety-block { padding: 24px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; }
  .tool-form { padding: 20px; }
  .prose { max-width: 100%; }
  .consent { left: 10px; right: 10px; bottom: 10px; padding: 18px; }
  .btn { width: 100%; }
  .notfound .btn { width: auto; }
  .article-layout { padding: 20px 0 44px; }
  .act { padding: 18px; }
  .act-facts { grid-template-columns: 1fr; gap: 4px; }
  .act-facts dt { padding-top: 10px; }
  .act-group h2 { font-size: 22px; }
}

/* ---------- Drucken: nur das erzeugte Ergebnis ---------- */
@media print {
  .site-header, .site-footer, .mainnav, .nav-toggle, .breadcrumb, .intro-prose,
  .example-fold, .aside-card, .hint-box, .plan-actions, .result-next,
  #toolform, .tool-form, .consent, .page-head .dek { display: none !important; }
  body { background: #fff !important; }
  .wrap { max-width: 100% !important; padding: 0 !important; }
  .tool-layout { display: block !important; }
  .tool-result.is-visible {
    display: block !important;
    background: #fff !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
  }
  .tool-result p, .tool-result li, .tool-result dd, .tool-result h2, .tool-result h3 { color: #000 !important; }
  .result-box { border: 1px solid #999 !important; background: #fff !important; break-inside: avoid; }
  .path-map, .check-list, .act, .obs-log li { break-inside: avoid; }
  a { color: #000 !important; text-decoration: none; }
  .chip, .verdict { border: 1px solid #999 !important; background: #fff !important; color: #000 !important; }
}
