:root {
  --bg: #f6f8fa;
  --surface: #ffffff;
  --surface-2: #edf3f7;
  --surface-3: #e3ecf3;
  --ink: #17222c;
  --ink-2: #3e4f5c;
  --muted: #6b7c8a;
  --line: #e2e9ef;
  --accent: #2f6280;
  --accent-deep: #24495f;
  --accent-2: #5e8fab;
  --tint: #e6eff5;
  --ok: #3e7c6c;
  --warn: #a26e3c;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Arial, Helvetica, sans-serif;
  --r-lg: 16px;
  --r-md: 10px;
  --shadow-1: 0 1px 2px rgba(23, 34, 44, 0.05);
  --shadow-2: 0 10px 30px rgba(23, 34, 44, 0.07);
  --wrap: 1120px;
  --pad: 24px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1em; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-deep); }

ul, ol { margin: 0 0 1em; padding-left: 20px; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--surface);
  color: var(--ink);
  padding: 12px 18px;
  border-radius: 0 0 var(--r-md) 0;
  z-index: 100;
  font-size: 14px;
}
.skip:focus { left: 0; }

/* ---------- header ---------- */

.site-head {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(246, 248, 250, 0.94);
  border-bottom: 1px solid var(--line);
}

.head-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 68px;
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 21px;
  color: var(--ink);
  letter-spacing: -0.01em;
  flex: none;
}
.brand svg { width: 22px; height: 22px; color: var(--accent); }
.brand span small {
  display: block;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 1px;
}

.nav { margin-left: auto; align-self: stretch; display: flex; }
.nav > ul {
  display: flex;
  align-items: stretch;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-item { position: relative; display: flex; align-items: center; }

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 13.5px;
  color: var(--ink-2);
  white-space: nowrap;
}
.nav-link .caret { width: 12px; height: 12px; opacity: 0.38; transition: transform 0.2s ease, opacity 0.2s; }
.nav-item:hover > .nav-link,
.nav-item:focus-within > .nav-link { background: var(--tint); color: var(--ink); }
.nav-item:hover > .nav-link .caret,
.nav-item:focus-within > .nav-link .caret { transform: rotate(180deg); opacity: 0.8; }
.nav-link[aria-current="true"] { color: var(--accent-deep); background: var(--tint); }

/* ---------- menu panel ---------- */

.panel {
  position: absolute;
  top: calc(100% + 1px);
  left: 0;
  width: 330px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: 0 16px 36px rgba(23, 34, 44, 0.10);
  padding: 17px 19px 14px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
}
.panel--end { left: auto; right: 0; }
.panel--tools { width: 430px; }
.panel::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.nav-item:hover > .panel,
.nav-item:focus-within > .panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.panel-kicker {
  margin: 0 0 7px;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.panel-title {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.25;
  color: var(--ink);
  margin: 0 0 6px;
}
.panel-desc { margin: 0; font-size: 12.5px; line-height: 1.55; color: var(--muted); }

.panel-list { list-style: none; margin: 13px 0 0; padding: 9px 0 0; border-top: 1px solid var(--line); }
.panel-list li { border-bottom: 1px solid var(--line); }
.panel-list li:last-child { border-bottom: 0; }
.panel-list a {
  display: block;
  padding: 6px 0;
  font-size: 13px;
  line-height: 1.35;
  color: var(--ink-2);
}
.panel-list a:hover { color: var(--accent); }
.panel-list--2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.panel-list--2 li:nth-child(odd) { border-bottom: 1px solid var(--line); }
.panel-list--2 a { display: flex; align-items: center; gap: 8px; }
.panel-list--2 .ico-tool { width: 15px; height: 15px; flex: none; color: var(--accent-2); }

.panel-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-top: 12px;
  padding-top: 11px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
}
.panel-all, .panel-tool { display: inline-flex; align-items: center; gap: 5px; }
.panel-all { color: var(--accent-deep); }
.panel-all:hover, .panel-tool:hover { color: var(--accent); }
.panel-tool { color: var(--muted); }
.ico-12 { width: 12px; height: 12px; opacity: 0.6; }

.burger {
  display: none;
  margin-left: auto;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: var(--r-md);
  background: var(--surface);
  box-shadow: var(--shadow-1);
  color: var(--ink);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* ---------- mobile menu ---------- */

.drawer {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--surface);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.drawer.open { display: block; }
.drawer-inner { max-width: 560px; margin: 0 auto; padding: 0 22px 40px; }

.drawer-head {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.drawer-head .brand { font-size: 19px; }
.drawer-close {
  flex: none;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.drawer-close svg { width: 16px; height: 16px; }

.drawer-nav { display: block; }
.drow {
  display: grid;
  grid-template-columns: 24px 1fr auto 16px;
  align-items: center;
  gap: 14px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 16.5px;
}
.drow span { line-height: 1.3; }
.drow em { font-style: normal; font-size: 12px; color: var(--muted); letter-spacing: 0.04em; }
.drow-ico { width: 21px; height: 21px; color: var(--accent); }
.drow-arrow { width: 15px; height: 15px; color: var(--accent-2); opacity: 0.7; }
.drow:hover { color: var(--accent); }

.drawer-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 12.5px;
}
.drawer-foot a { color: var(--muted); }
.drawer-foot a:hover { color: var(--accent); }

/* ---------- typography scale ---------- */

.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 14px;
}
.h-xl { font-size: 52px; line-height: 1.08; }
.h-lg { font-size: 38px; line-height: 1.14; }
.h-md { font-size: 27px; line-height: 1.22; }
.h-sm { font-size: 20px; line-height: 1.3; }
.lead {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.62;
  color: var(--ink-2);
  max-width: 62ch;
}
.muted { color: var(--muted); }
.small { font-size: 13px; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-family: var(--sans);
  font-size: 14.5px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease;
}
.btn:hover { background: var(--accent-deep); color: #fff; }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover { background: var(--surface); color: var(--accent-deep); border-color: var(--accent-2); }
.btn svg { width: 16px; height: 16px; }

/* ---------- layout blocks ---------- */

section { padding: 64px 0; }
section.tight { padding: 40px 0; }
.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: 26px 26px 24px;
  box-shadow: var(--shadow-1);
  transition: box-shadow 0.18s ease, transform 0.18s ease;
  display: flex;
  flex-direction: column;
}
.card:hover { box-shadow: var(--shadow-2); transform: translateY(-2px); }
.card h3 { font-size: 21px; line-height: 1.28; margin-bottom: 10px; }
.card h3 a { color: var(--ink); }
.card h3 a:hover { color: var(--accent); }
.card p { font-family: var(--sans); font-size: 14.5px; line-height: 1.65; color: var(--ink-2); margin: 0 0 16px; }
.card .card-foot { margin-top: auto; display: flex; flex-wrap: wrap; gap: 14px; font-size: 13px; }

.icon-box {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--tint);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  flex: none;
}
.icon-box svg { width: 21px; height: 21px; }

.pill {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--muted);
  font-size: 11.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 12px;
  align-self: flex-start;
}

/* ---------- hero ---------- */

.hero { padding: 76px 0 56px; text-align: center; }
.hero-grid { display: block; }
.hero-copy { max-width: 900px; margin: 0 auto; }
.hero h1 { margin: 0 auto 22px; max-width: 23ch; }
.hero .lead { margin: 0 auto 28px; max-width: 66ch; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.hero-photo { margin-top: -18px; padding: 0 0 10px; }
.hero-photo .wrap { display: flex; justify-content: center; }
.hero-photo img {
  display: block;
  width: min(292px, 62vw);
  height: auto;
  border-radius: 20px;
  box-shadow: 0 14px 32px rgba(23, 34, 44, 0.1);
  opacity: 0.96;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 86%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 86%, transparent 100%);
}

/* ---------- breadcrumb ---------- */

.crumb { padding: 22px 0 0; font-size: 13px; color: var(--muted); }
.crumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
.crumb li::after { content: "/"; margin-left: 8px; color: var(--line); }
.crumb li:last-child::after { content: ""; }
.crumb a { color: var(--muted); }
.crumb a:hover { color: var(--accent); }

/* ---------- article ---------- */

.article-head { padding: 26px 0 34px; max-width: 760px; }
.article-head h1 { margin-bottom: 18px; }
.article-head .lead { font-size: 18px; }

.prose {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.78;
  color: var(--ink-2);
  max-width: 70ch;
}
.prose h2 {
  font-size: 26px;
  line-height: 1.25;
  color: var(--ink);
  margin: 44px 0 14px;
}
.prose h3 { font-size: 19px; color: var(--ink); margin: 30px 0 10px; }
.prose p { margin: 0 0 1.1em; }
.prose ul, .prose ol { padding-left: 22px; margin-bottom: 1.2em; }
.prose li { margin-bottom: 0.5em; }
.prose blockquote {
  margin: 28px 0;
  padding: 4px 0 4px 22px;
  border-left: 2px solid var(--accent-2);
  font-style: italic;
  color: var(--ink);
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--sans);
  font-size: 14px;
  margin: 24px 0 28px;
}
.prose th, .prose td {
  text-align: left;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  hyphens: auto;
}
.prose th { background: var(--surface-2); color: var(--ink); font-weight: normal; }
.prose th:first-child, .prose td:first-child { white-space: nowrap; }
.prose strong { color: var(--ink); }

.article-body { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 56px; padding-bottom: 40px; }
.aside { align-self: start; }
.aside-box { background: var(--surface); border-radius: var(--r-lg); padding: 20px; box-shadow: var(--shadow-1); margin-bottom: 14px; }
.aside-box h3 { font-family: var(--sans); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.aside-box ul { list-style: none; padding: 0; margin: 0; }
.aside-box li { margin-bottom: 9px; font-size: 13.5px; line-height: 1.45; }
.aside-box li a { color: var(--ink-2); }
.aside-box li a:hover { color: var(--accent); }

.callout {
  background: var(--tint);
  border-radius: var(--r-lg);
  padding: 24px 26px;
  margin: 34px 0;
  font-family: var(--sans);
}
.callout h3 { font-family: var(--serif); font-size: 19px; margin-bottom: 8px; }
.callout p { font-size: 14.5px; color: var(--ink-2); margin-bottom: 12px; }
.callout p:last-child { margin-bottom: 0; }

/* ---------- tool ---------- */

.tool {
  background: var(--surface);
  border-radius: 20px;
  padding: 30px;
  box-shadow: var(--shadow-2);
}
.tool-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.field { margin-bottom: 20px; }
.field label {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 9px;
}
.field output { color: var(--ink); font-size: 13px; letter-spacing: 0; text-transform: none; }
.field input[type="range"] {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  height: 4px;
  border-radius: 2px;
  background: var(--surface-3);
  outline: none;
}
.field input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--accent);
  box-shadow: var(--shadow-1);
  cursor: pointer;
}
.field input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--accent);
  cursor: pointer;
}
.field select, .field input[type="number"] {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  background: var(--surface);
}

.result-panel {
  background: var(--surface-2);
  border-radius: var(--r-lg);
  padding: 24px;
}
.result-main { margin-bottom: 6px; }
.result-main strong {
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 400;
  line-height: 1.1;
  color: var(--ink);
  display: block;
}
.result-main span { font-size: 12.5px; letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted); }
.result-rows { margin-top: 18px; }
.result-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 9px 0;
  font-size: 14px;
  color: var(--ink-2);
}
.result-row + .result-row { border-top: 1px solid rgba(23, 34, 44, 0.07); }
.result-row b { color: var(--ink); font-weight: normal; }

/* Leselog: Sitzungszeilen und Auswertung je Zeitfenster */
.ll-row {
  display: grid;
  grid-template-columns: 1.1fr .7fr .7fr auto;
  gap: 8px;
  align-items: center;
}
.ll-input {
  width: 100%;
  min-width: 0;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink);
  background: var(--surface);
}
.ll-input:focus { outline: 2px solid var(--accent); outline-offset: -1px; border-color: transparent; }
.ll-abort {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}
.ll-abort input { margin: 0; accent-color: var(--accent); }
.slot-rows { margin-top: 16px; }
.slot-head {
  margin: 0 0 2px;
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.slot-row {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  gap: 12px;
  padding: 7px 0;
  font-size: 13px;
  color: var(--ink-2);
  border-top: 1px solid rgba(23, 34, 44, 0.07);
}
.slot-row b { color: var(--ink); font-weight: normal; font-variant-numeric: tabular-nums; }
.slot-row em { font-style: normal; color: var(--muted); font-variant-numeric: tabular-nums; }
.slot-row.is-best b:last-child { color: var(--accent-deep); }
@media (max-width: 620px) {
  .ll-row { grid-template-columns: 1.25fr .8fr .8fr auto; gap: 6px; }
  .field .ll-abort { font-size: 0; gap: 0; justify-content: flex-end; }
  .field .ll-abort input[type="checkbox"] { width: 19px; height: 19px; margin: 0; }
  .ll-input { padding: 8px; font-size: 12.5px; }
  .slot-row { grid-template-columns: 1fr auto auto; }
  .slot-row em:first-of-type { display: none; }
}
.result-note { font-size: 12.5px; color: var(--muted); margin-top: 14px; line-height: 1.5; }
/* Zitatwerkzeug: Fundstellenteil der Karte */
.zn-ref { margin-top: 14px; padding-top: 10px; border-top: 1px dashed var(--line); font-size: 12.5px; color: var(--muted); }

.weekgrid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.weekgrid label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--muted);
  cursor: pointer;
}
.weekgrid span {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 8px;
  background: var(--surface-2);
  transition: background 0.12s ease;
}
.weekgrid input { position: absolute; opacity: 0; pointer-events: none; }
.weekgrid input:checked + span { background: var(--accent-2); }
.weekgrid input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.faq { margin-top: 34px; }
.faq details {
  background: var(--surface);
  border-radius: var(--r-md);
  padding: 16px 20px;
  margin-bottom: 10px;
  box-shadow: var(--shadow-1);
}
.faq summary { cursor: pointer; font-size: 15.5px; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); }
.faq details[open] summary::after { content: "\2212"; }
.faq p { margin: 12px 0 0; font-size: 14.5px; color: var(--ink-2); line-height: 1.65; }

/* ---------- hub list ---------- */

.hub-lead { max-width: 720px; padding: 26px 0 12px; }
.hub-list { display: grid; gap: 2px; margin-top: 10px; }
.hub-item {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: baseline;
  padding: 20px 4px;
  border-top: 1px solid var(--line);
}
.hub-item:last-child { border-bottom: 1px solid var(--line); }
.hub-num { font-family: var(--serif); font-size: 14px; color: var(--accent-2); }
.hub-item h3 { font-size: 18px; line-height: 1.35; margin-bottom: 6px; }
.hub-item h3 a { color: var(--ink); }
.hub-item h3 a:hover { color: var(--accent); }
.hub-item p { font-size: 14px; color: var(--muted); margin: 0; max-width: 68ch; }
.hub-item .tag { font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }

/* ---------- legal ---------- */

.legal .prose { font-size: 17px; }
.legal .prose h2 { font-size: 23px; margin-top: 38px; }
.legal-id {
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: 22px 26px;
  box-shadow: var(--shadow-1);
  font-size: 14.5px;
  line-height: 1.7;
  margin: 0 0 26px;
}
.legal-id strong { font-family: var(--serif); font-size: 16px; font-weight: 400; }
.legal-id a { color: var(--accent); text-decoration: none; border-bottom: 1px solid var(--line); }
.legal-id a:hover { border-bottom-color: var(--accent); }
.legal-native { color: var(--muted); letter-spacing: 0.02em; }

/* ---------- footer ---------- */

.site-foot {
  background: var(--surface-2);
  margin-top: 40px;
  padding: 54px 0 0;
  font-size: 14px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 2fr;
  gap: 34px;
  padding-bottom: 40px;
}
.foot-brand p { font-size: 13.5px; color: var(--ink-2); max-width: 34ch; margin-top: 12px; }
.foot-col h3 {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.foot-col ul { list-style: none; padding: 0; margin: 0; }
.foot-col li { margin-bottom: 9px; }
.foot-col a { color: var(--ink-2); font-size: 13.5px; }
.foot-col a:hover { color: var(--accent); }
.foot-col--wide .foot-tools { columns: 2; column-gap: 34px; }
.foot-col--wide .foot-tools li { break-inside: avoid; }

.foot-bar {
  border-top: 1px solid rgba(23, 34, 44, 0.08);
  padding: 18px 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted);
}
.foot-bar nav { display: flex; flex-wrap: wrap; gap: 18px; }
.foot-bar a { color: var(--ink-2); }

/* ---------- 404 ---------- */

.err { padding: 90px 0 80px; text-align: center; }
.err h1 { font-size: 40px; margin-bottom: 16px; }
.err p { max-width: 52ch; margin: 0 auto 26px; color: var(--ink-2); }
.err-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }

/* ---------- misc ---------- */

.divider { height: 1px; background: var(--line); margin: 0; border: 0; }

@media (max-width: 980px) {
  .nav { display: none; }
  .burger { display: flex; }
  .hero { padding: 48px 0 40px; }
  .h-xl { font-size: 38px; }
  .h-lg { font-size: 31px; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .article-body { grid-template-columns: 1fr; gap: 20px; }
  .aside { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  .aside-box { margin-bottom: 0; }
  .tool-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .foot-brand, .foot-col--wide { grid-column: 1 / -1; }
  section { padding: 48px 0; }
}

@media (max-width: 620px) {
  :root { --pad: 18px; }
  body { font-size: 15px; }
  .h-xl { font-size: 31px; }
  .h-lg { font-size: 27px; }
  .h-md { font-size: 23px; }
  .lead { font-size: 17px; }
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .prose { font-size: 17px; }
  .prose h2 { font-size: 22px; }
  .article-body { padding-bottom: 24px; }
  .aside { grid-template-columns: 1fr; }
  .hub-item { grid-template-columns: 30px minmax(0, 1fr); gap: 12px; }
  .hub-item .tag { display: none; }
  .foot-grid { grid-template-columns: 1fr; gap: 24px; }
  .foot-col--wide .foot-tools { columns: 1; }
  .foot-bar { flex-direction: column; align-items: flex-start; gap: 12px; }
  .tool { padding: 22px; }
  .result-main strong { font-size: 33px; }
  .weekgrid { gap: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- additions: sections, figures, tool extras ---------- */

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}
.section-head p { margin: 8px 0 0; font-size: 14.5px; color: var(--ink-2); max-width: 56ch; }

.figure {
  margin: 0;
  border-radius: 20px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-2);
}
.figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.figure--wide img { aspect-ratio: 16 / 9; }
.figure--tall img { aspect-ratio: 4 / 5; }
.figure figcaption {
  font-family: var(--sans);
  font-size: 12.5px;
  color: var(--muted);
  padding: 12px 2px 0;
  line-height: 1.5;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 12.5px;
  color: var(--muted);
  font-family: var(--sans);
}
.meta b { font-weight: normal; color: var(--ink-2); }

.pill--tool { background: var(--tint); color: var(--accent-deep); }

.btn--sm { padding: 8px 15px; font-size: 13px; }
.link-arrow { font-size: 14px; white-space: nowrap; }
.link-arrow::after { content: " \2192"; }

.tool-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 18px; }
.tool-head h2 { font-size: 19px; }
.tool-head p { margin: 4px 0 0; font-size: 13px; color: var(--muted); }

.result-bars { margin-top: 16px; display: grid; gap: 9px; }
.bar-row { display: grid; grid-template-columns: 74px 1fr 58px; align-items: center; gap: 10px; font-size: 12.5px; color: var(--ink-2); }
.bar { height: 8px; border-radius: 999px; background: var(--surface-3); overflow: hidden; }
.bar > i { display: block; height: 100%; background: var(--accent-2); border-radius: 999px; transition: width 0.25s ease; }
.bar-row em { font-style: normal; text-align: right; color: var(--ink); font-variant-numeric: tabular-nums; }

.choice-grid { display: grid; gap: 8px; }
.choice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 11px 13px;
  border-radius: var(--r-md);
  background: var(--surface-2);
  font-size: 14px;
  cursor: pointer;
  line-height: 1.45;
}
.choice input { margin: 3px 0 0; accent-color: var(--accent); }
.choice:hover { background: var(--surface-3); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--surface-2);
  font-size: 13px;
  color: var(--ink-2);
  cursor: pointer;
  border: 1px solid transparent;
  font-family: var(--sans);
}
.chip[aria-pressed="true"] { background: var(--tint); border-color: var(--accent-2); color: var(--accent-deep); }

.tool-out {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
}
.tool-out table { width: 100%; border-collapse: collapse; font-family: var(--sans); font-size: 13.5px; margin-top: 10px; }
.tool-out th, .tool-out td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.tool-out th { background: var(--surface); font-weight: normal; color: var(--ink); }
.tool-out .num { font-variant-numeric: tabular-nums; }

.toc { position: sticky; top: 92px; }
.toc ol { list-style: none; counter-reset: t; padding: 0; margin: 0; }
.toc li { counter-increment: t; margin-bottom: 8px; font-size: 13.5px; line-height: 1.45; }
.toc li::before { content: counter(t, decimal-leading-zero); color: var(--accent-2); font-size: 11px; margin-right: 8px; }

.pillar-strip { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; }
.pillar-strip a {
  font-size: 13px;
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink-2);
  box-shadow: var(--shadow-1);
}
.pillar-strip a:hover { color: var(--accent-deep); }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.panel-lite { background: var(--surface); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow-1); }
.panel-lite h3 { font-size: 19px; margin-bottom: 10px; }
.panel-lite ul { margin: 0; padding-left: 18px; font-size: 14.5px; color: var(--ink-2); }
.panel-lite li { margin-bottom: 7px; }

@media (max-width: 980px) {
  .two-col { grid-template-columns: 1fr; gap: 18px; }
  .toc { position: static; }
}
@media (max-width: 620px) {
  .bar-row { grid-template-columns: 62px 1fr 48px; font-size: 12px; }
  .figure--tall img { aspect-ratio: 4 / 3; }
  .prose table { display: block; overflow-x: auto; font-size: 13px; }
  .prose th, .prose td { padding: 9px 10px; }
}

/* ---------- additions 2: triage rows, misc ---------- */
.row-btn {
  width: 100%;
  background: none;
  border: 0;
  border-radius: 8px;
  padding: 10px 8px;
  font: inherit;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
  color: var(--ink-2);
}
.row-btn:hover { background: var(--surface); }
.row-btn + .row-btn { border-top: 1px solid rgba(23, 34, 44, 0.07); }
.method-note {
  background: var(--surface);
  border-radius: var(--r-lg);
  padding: 20px 22px;
  font-size: 13.5px;
  color: var(--ink-2);
  box-shadow: var(--shadow-1);
  margin-top: 18px;
}
.method-note b { font-weight: normal; color: var(--ink); }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tag-row span { font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); background: var(--surface); padding: 6px 11px; border-radius: 999px; }

/* ---------- additions 3: Kontrast und Feinjustierung ---------- */
.pill { color: var(--accent-deep); background: var(--tint); letter-spacing: .08em; }
.note-row { gap: 22px; }
.note-row div { flex: 1 1 150px; }
.note-row span { font-size: 13px; line-height: 1.5; }
.figure img { filter: saturate(.94); }
.figure--wide img { aspect-ratio: 21 / 9; max-height: 330px; object-fit: cover; }
.hub-lead .lead { margin-top: 14px; }
.hub-cols { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 52px; align-items: start; }
@media (max-width: 980px) { .hub-cols { grid-template-columns: 1fr; gap: 24px; } }
.hub-item p { max-width: none; }

/* ---------- additions 4: Beispiel, Tiefe, Plan ---------- */

.example {
  margin: 8px 0 26px;
  padding: 26px 28px 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent-2);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-1);
}
.example-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.example-kicker {
  display: block;
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 7px;
}
.example h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  line-height: 1.3;
  color: var(--ink);
  margin: 0;
}
.example-top .btn { flex: none; }
.example-situation {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 14px 0 18px;
  max-width: 82ch;
}
.example-flow {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
}
.example-col {
  background: var(--surface-2);
  border-radius: var(--r-md);
  padding: 16px 18px 14px;
}
.example-col--result { background: var(--tint); }
.example-col h3 {
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 12px;
  font-weight: normal;
}
.example-col dl { margin: 0; }
.ex-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 5px 0;
  border-bottom: 1px solid rgba(23, 34, 44, 0.07);
  font-size: 13px;
}
.ex-row:last-child { border-bottom: 0; }
.ex-row dt { color: var(--ink-2); }
.ex-row dd { margin: 0; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.example-col--result ul { list-style: none; margin: 0; padding: 0; }
.example-col--result li {
  position: relative;
  padding: 5px 0 5px 16px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink);
  border-bottom: 1px solid rgba(23, 34, 44, 0.07);
}
.example-col--result li:last-child { border-bottom: 0; }
.example-col--result li::before { content: "→"; position: absolute; left: 0; color: var(--accent); }
.example-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 24px;
  color: var(--accent-2);
}
.example-decision {
  margin: 18px 0 0;
  padding: 12px 16px;
  background: var(--surface-2);
  border-radius: var(--r-md);
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink-2);
}
.example-decision strong { color: var(--ink); font-weight: normal; }

.tool-deep-fields {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.deep-fields-head { margin-bottom: 16px; }
.deep-fields-head h3 { font-family: var(--serif); font-size: 18px; font-weight: 400; margin: 0; color: var(--ink); }
.deep-fields-head p { margin: 4px 0 0; font-size: 12.5px; color: var(--muted); max-width: 76ch; }
.deep-fields-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 4px 26px;
}
.deep-fields-grid .field { margin-bottom: 14px; }

.tool-deep {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 16px;
  margin-top: 18px;
}
.deep-card {
  background: var(--surface-2);
  border-radius: var(--r-md);
  padding: 18px 20px;
  min-width: 0;
}
.deep-card h3 { font-family: var(--serif); font-size: 17px; font-weight: 400; margin: 0 0 4px; color: var(--ink); }
.deep-hint { margin: 0 0 12px; font-size: 11.5px; color: var(--muted); line-height: 1.5; }
.plan-out {
  margin: 0 0 12px;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 11.8px;
  line-height: 1.65;
  color: var(--ink-2);
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 290px;
  overflow-y: auto;
}
.hebel-out { min-height: 40px; }
.hebel-row {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: baseline;
  padding: 7px 0;
  border-bottom: 1px solid rgba(23, 34, 44, 0.07);
  font-size: 12.5px;
}
.hebel-row:last-child { border-bottom: 0; }
.hebel-row i { font-style: normal; color: var(--muted); font-variant-numeric: tabular-nums; }
.hebel-row span { color: var(--ink-2); }
.hebel-row b { font-weight: normal; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.hebel-row.is-top span, .hebel-row.is-top b { color: var(--accent-deep); }
.hebel-foot { margin: 12px 0 0; font-size: 12px; line-height: 1.55; color: var(--muted); }
.hebel-foot strong { color: var(--ink); font-weight: normal; }

.model-details {
  grid-column: 1 / -1;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}
.model-details summary { cursor: pointer; font-size: 13px; color: var(--accent-deep); }
.model-details summary:hover { color: var(--accent); }
.model-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 14px; }
.model-cols h4 { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: normal; margin: 0 0 8px; }
.model-cols ul { margin: 0; padding-left: 18px; }
.model-cols li { font-size: 12.5px; line-height: 1.55; color: var(--ink-2); margin-bottom: 4px; }
.model-cols p { margin: 0; font-size: 12.5px; line-height: 1.6; color: var(--ink-2); }

.seq-list { margin-top: 14px; display: grid; gap: 4px; }
.seq-row {
  display: grid;
  grid-template-columns: 26px 62px 1fr;
  gap: 10px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(23, 34, 44, 0.07);
  font-size: 12.5px;
  color: var(--ink-2);
}
.seq-row:last-child { border-bottom: 0; }
.seq-row em { font-style: normal; color: var(--muted); font-variant-numeric: tabular-nums; }
.seq-row b { font-weight: normal; color: var(--ink); }
.stack-bar { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.stack-count { font-size: 12px; color: var(--muted); }
.stack-list { margin-top: 10px; display: grid; gap: 6px; }
.stack-item {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 8px 10px; background: var(--surface); border: 1px solid var(--line);
  border-radius: 8px; font-size: 12.5px; color: var(--ink-2);
}
.stack-item b { font-weight: normal; color: var(--ink); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (max-width: 980px) {
  .tool-deep { grid-template-columns: 1fr; }
  .model-cols { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 620px) {
  .example { padding: 20px 18px; }
  .example h2 { font-size: 19px; }
  .example-flow { grid-template-columns: 1fr; gap: 10px; }
  .example-arrow { transform: rotate(90deg); height: 22px; }
  .deep-fields-grid { grid-template-columns: 1fr; }
  .plan-out { font-size: 11.2px; }
  .seq-row { grid-template-columns: 22px 54px 1fr; font-size: 12px; }
}

/* --- Artikel: verwandte Texte im Textfluss --- */
.related { margin: 46px 0 10px; padding: 26px 28px; background: var(--tint); border-radius: var(--r-lg); }
.related h2 { font-family: var(--serif); font-size: 21px; margin: 0 0 8px; }
.related > p { font-size: 13.5px; line-height: 1.55; color: var(--ink-2); margin: 0 0 17px; }
.related ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 26px; }
.related li { border-top: 1px solid var(--line); padding-top: 10px; }
.related li a { display: block; font-family: var(--serif); font-size: 15px; line-height: 1.35; color: var(--ink); }
.related li a:hover { color: var(--accent); }
.related li span { display: block; margin-top: 4px; font-size: 12.5px; line-height: 1.5; color: var(--ink-2); }
.aside-box--all li { margin-bottom: 7px; font-size: 12.8px; }

@media (max-width: 620px) {
  .related ul { grid-template-columns: 1fr; }
  .related { padding: 20px 18px; }
  .hero-photo { margin-top: -10px; padding-bottom: 4px; }
  .hero-photo img { width: min(232px, 62vw); border-radius: 16px; }
}
