/* Kosten & Kanten — Grundlage
   Raster: mobil einspaltig, 640 / 900 / 1200 px */

*, *::before, *::after { box-sizing: border-box; }

:root {
  --paper: #FFFFFF;
  --ink: #1D1D1F;
  --mist: #F5F5F7;
  --graphite: #86868B;
  --clay: #B0603D;
  --clay-soft: #F5F5F7;
  --line: rgba(0, 0, 0, .12);
  --line-soft: rgba(0, 0, 0, .07);
  --display: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --sans: "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1180px;
  --read: 66ch;
}

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
a:hover { border-color: var(--clay); color: var(--ink); }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -.028em;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); line-height: 1.06; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1.12; }
h3 { font-size: 1.18rem; line-height: 1.3; letter-spacing: -.018em; }

p { margin: 0 0 1.15em; }
strong { font-weight: 600; }
em { font-style: italic; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
@media (min-width: 640px) { .wrap { padding: 0 32px; } }

.label {
  font-size: .82rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--graphite);
  font-family: var(--sans);
  margin: 0 0 .7rem;
}

.lede { font-size: 1.12rem; line-height: 1.55; color: #333; max-width: 44ch; }

.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* ---------- Kopf ---------- */

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 90; background: var(--paper); padding: 10px 14px; border: 1px solid var(--ink); }

.masthead {
  border-bottom: 1px solid var(--line-soft); position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.86); backdrop-filter: saturate(180%) blur(18px);
}
.masthead__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; height: 56px;
}
@media (min-width: 900px) { .masthead__inner { height: 64px; } }

.brand { display: flex; align-items: center; gap: 8px; border: 0; }
.brand__mark {
  width: 8px; height: 8px; background: var(--clay); display: inline-block; border-radius: 50%;
}
.brand__name {
  font-family: var(--display);
  font-size: 1.04rem;
  font-weight: 600;
  letter-spacing: -.02em;
  white-space: nowrap;
}
.brand__amp { color: var(--clay); padding: 0 .12em; }

.nav { display: none; }
@media (min-width: 900px) {
  .nav { display: flex; align-items: center; gap: 22px; }
  .nav a {
    border: 0; font-size: .93rem; color: #3a3a3c; padding: 6px 0; white-space: nowrap;
  }
  .nav a:hover { color: var(--ink); }
  .nav a[aria-current="true"] { color: var(--ink); font-weight: 500; }
}

.tools { display: flex; align-items: center; gap: 6px; }
.icon-btn {
  width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center;
  background: none; border: 0; cursor: pointer; color: var(--ink); padding: 0;
}
.icon-btn svg { width: 19px; height: 19px; }
.icon-btn:hover { color: var(--clay); }
@media (min-width: 900px) { .menu-btn { display: none; } }

.drawer {
  display: none; border-top: 1px solid var(--line); background: var(--paper);
  padding: 8px 0 18px;
}
.drawer[data-open="true"] { display: block; }
.drawer a {
  display: block; padding: 13px 4px; border: 0; border-bottom: 1px solid var(--line-soft);
  font-size: .95rem;
}
.drawer .drawer__legal { color: var(--graphite); font-size: .8rem; }

/* ---------- Suche ---------- */

.search-layer {
  position: fixed; inset: 0; background: rgba(255,255,255,.97); z-index: 80;
  display: none; padding: 22px 20px; overflow-y: auto;
}
.search-layer[data-open="true"] { display: block; }
.search-layer__inner { max-width: 760px; margin: 0 auto; }
.search-field {
  width: 100%; font-family: var(--display); font-size: 1.6rem; padding: 12px 0 12px 0;
  border: 0; border-bottom: 1px solid var(--ink); background: none; color: var(--ink);
}
.search-field:focus { outline: none; border-bottom-color: var(--clay); }
.search-hint { font-size: .78rem; color: var(--graphite); margin: 14px 0 26px; }
.search-results { list-style: none; margin: 0; padding: 0; }
.search-results li { border-bottom: 1px solid var(--line-soft); }
.search-results a { display: block; border: 0; padding: 15px 0; }
.search-results a strong { display: block; font-weight: 500; font-size: 1rem; }
.search-results a span { display: block; font-size: .8rem; color: var(--graphite); margin-top: 3px; }
.search-close { position: absolute; top: 14px; right: 14px; }

/* ---------- Startseite ---------- */

.hero { padding: 52px 0 0; }
@media (min-width: 900px) { .hero { padding: 84px 0 0; } }

.hero__grid { display: grid; gap: 30px; }
@media (min-width: 900px) {
  .hero__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 3.2fr); gap: 56px; align-items: start; }
}

.hero__story { min-width: 0; }
.hero h1 { font-size: clamp(2.3rem, 6.6vw, 4.1rem); line-height: 1.05; letter-spacing: -.038em; }
.hero h1 span { display: block; }
.hero h1 .quiet { color: var(--graphite); }

.hero__prose { font-size: 1.14rem; line-height: 1.6; color: #3a3a3c; max-width: 43ch; margin-top: 24px; }
.hero__prose p + p { margin-top: 1.05em; }

.hero__note { margin-top: 8px; }
.hero__note .hero__prose { margin-top: 0; font-size: 1.02rem; max-width: 32ch; color: #3a3a3c; }

.triptych { margin-top: 52px; display: grid; gap: 28px; }
@media (min-width: 700px) { .triptych { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

.source h2 { margin: 0 0 14px; max-width: 24ch; }
.source__prose { max-width: 62ch; font-size: 1.02rem; line-height: 1.62; color: #3a3a3c; }
.source__prose p + p { margin-top: 1em; }
.source .section__link { display: inline-block; margin-top: 8px; }

.card { display: block; border: 0; }
.card__media { position: relative; overflow: hidden; background: var(--mist); aspect-ratio: 4 / 3; border-radius: 14px; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card__media img { transform: scale(1.03); }
.card__body { padding-top: 14px; }
.card h3 { font-size: 1.12rem; line-height: 1.3; }
.card p { margin: 6px 0 0; font-size: .94rem; color: #6e6e73; line-height: 1.5; }

.section { padding: 64px 0; }
.section--mist { background: var(--mist); }
.section--tight { padding: 44px 0; }
@media (min-width: 900px) { .section { padding: 92px 0; } .section--tight { padding: 56px 0; } }

.section__head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 24px; flex-wrap: wrap; }
.section__head h2 { max-width: 20ch; }
.section__link { border: 0; font-size: .95rem; color: var(--graphite); }
.section__link:hover { color: var(--clay); }

/* Gefühl-Auswahl */

.skills { padding: 0; }
.skills__h { font-size: clamp(1.5rem, 3.2vw, 2rem); margin: 0 0 22px; max-width: 30ch; text-wrap: balance; }
.skills__row {
  display: inline-flex; flex-wrap: wrap; gap: 2px; padding: 3px;
  background: var(--mist); border-radius: 16px;
}
.skill-btn {
  background: none; border: 0; padding: 9px 15px; cursor: pointer;
  font-size: .92rem; color: #3a3a3c; border-radius: 13px; font-family: var(--sans);
}
.skill-btn:hover { color: var(--ink); }
.skill-btn[aria-pressed="true"] { background: var(--paper); color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.skills__out { margin-top: 26px; display: grid; gap: 18px; padding-bottom: 8px; }
@media (min-width: 760px) { .skills__out { grid-template-columns: repeat(2, 1fr); gap: 24px; } }
.mini__say { font-size: 1.22rem; line-height: 1.45; letter-spacing: -.02em; max-width: 32ch; grid-column: 1 / -1; }
@media (min-width: 760px) { .mini__say { font-size: 1.4rem; max-width: 42ch; } }

.mini { border: 0; padding-top: 0; display: block; }
.mini h3 { font-size: 1.04rem; margin-top: 0; }
.mini p { font-size: .92rem; color: #6e6e73; margin: 5px 0 0; line-height: 1.5; }

/* Kostenschätzung */

.guess { background: var(--mist); padding: 32px 24px; border-radius: 20px; display: grid; gap: 24px; max-width: 980px; }
@media (min-width: 860px) { .guess { padding: 48px 44px; } }
.guess h2 { max-width: 24ch; }
.guess p { font-size: .98rem; color: #3a3a3c; margin: 12px 0 22px; max-width: 52ch; }
.guess__opts { display: flex; flex-wrap: wrap; gap: 8px; }
.guess__opt {
  background: var(--paper); border: 1px solid transparent; color: var(--ink);
  font-family: var(--sans); font-size: .98rem; padding: 12px 22px; cursor: pointer; border-radius: 999px;
  box-shadow: 0 1px 2px rgba(0,0,0,.05);
}
.guess__opt:hover { border-color: rgba(0,0,0,.14); }
.guess__opt[aria-pressed="true"] { background: var(--clay); color: #fff; }
.reveal { display: none; }
.reveal[data-open="true"] { display: block; }
.reveal .big { font-size: clamp(2rem, 4.6vw, 3rem); font-weight: 600; line-height: 1.05; letter-spacing: -.03em; color: var(--clay); }
.reveal .big small { font-size: .84rem; letter-spacing: 0; text-transform: none; display: block; color: var(--graphite); margin-bottom: 8px; }
.reveal dl { margin: 20px 0 0; }
.reveal dl div { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--line-soft); font-size: .95rem; }
.reveal dt { color: #3a3a3c; }
.reveal dd { margin: 0; font-variant-numeric: tabular-nums; }
.reveal .reveal__note { margin: 14px 0 0; font-size: .95rem; color: #3a3a3c; }

/* Fehlschlag-Teaser */

.fail-teaser { max-width: 900px; }
.fail-teaser .fail-teaser__quote { font-size: clamp(1.7rem, 4vw, 2.6rem); line-height: 1.18; letter-spacing: -.03em; max-width: 26ch; margin-bottom: 18px; }
.fail-teaser p:not(.fail-teaser__quote) { font-size: 1.02rem; color: #3a3a3c; margin: 0 0 18px; max-width: 56ch; }

/* Rechner-Einstiege */

.tool-links { display: grid; gap: 0; }
.tool-links a {
  border: 0; padding: 16px 0; display: flex; align-items: baseline; justify-content: space-between; gap: 18px;
  border-bottom: 1px solid var(--line-soft); font-size: 1.02rem;
}
@media (min-width: 760px) { .tool-links { grid-template-columns: 1fr 1fr; column-gap: 48px; } }
.tool-links a:hover { color: var(--clay); }
.tool-links a span { font-size: 1.02rem; font-weight: 500; }
.tool-links a small { display: none; }

/* Artikelzeilen */

.rows { list-style: none; margin: 0; padding: 0; }
.rows li { border-bottom: 1px solid var(--line-soft); }
.rows a { border: 0; display: grid; gap: 6px 22px; padding: 20px 0; }
@media (min-width: 700px) { .rows a { grid-template-columns: minmax(0, 1fr) auto; align-items: start; } }
.rows a .row__main strong { font-size: 1.1rem; font-weight: 600; line-height: 1.35; letter-spacing: -.02em; display: block; }
.rows a .row__hook { margin: 6px 0 0; font-size: .95rem; line-height: 1.55; color: #6e6e73; max-width: 56ch; }
.rows a:hover .row__main strong { color: var(--clay); }

/* ---------- Innenseiten ---------- */

.page-head { padding: 40px 0 8px; }
@media (min-width: 900px) { .page-head { padding: 64px 0 8px; } }

.crumbs { font-size: .88rem; color: var(--graphite); display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.crumbs a { border: 0; color: var(--graphite); }
.crumbs a:hover { color: var(--clay); }
.crumbs span.crumbs__sep { color: rgba(0,0,0,.25); }
.crumbs span.crumbs__here { color: var(--graphite); }

.hub__intro { max-width: var(--read); }
.hub__intro p { font-size: 1.06rem; }

.grid-2 { display: grid; gap: 26px; }
@media (min-width: 760px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }


/* Artikel */

.progress { position: fixed; left: 0; top: 0; height: 3px; background: var(--clay); width: 0; z-index: 70; }

.article { padding-bottom: 20px; }
.article__head { max-width: 760px; }

.article__layout { display: grid; gap: 40px; margin-top: 40px; }
@media (min-width: 1200px) { .article__layout { grid-template-columns: minmax(0, 1fr) 280px; gap: 72px; } }

.prose { max-width: var(--read); font-size: 1.06rem; }
.prose p { margin: 0 0 1.05em; }
.prose h2 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); margin: 46px 0 14px; }
.prose h3 { font-family: var(--sans); font-size: 1.06rem; font-weight: 600; letter-spacing: -.015em; margin: 30px 0 10px; }
.prose ul, .prose ol { margin: 0 0 1.3em; padding-left: 1.1em; }
.prose li { margin-bottom: .5em; }
.prose blockquote {
  margin: 28px 0; padding: 0 0 0 18px; border-left: 2px solid var(--clay);
  font-size: 1.2rem; line-height: 1.45; letter-spacing: -.02em;
}
.prose .one-line { font-size: 1.4rem; line-height: 1.35; letter-spacing: -.025em; margin: 30px 0; }

.figure { margin: 32px 0 36px; }
.figure img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--mist); border-radius: 14px; }
.figure figcaption { font-size: .92rem; color: var(--graphite); padding-top: 10px; margin-top: 10px; }

.cost {
  border: 0; padding: 26px 24px; margin: 32px 0 38px; background: var(--mist); border-radius: 16px;
}
@media (min-width: 700px) { .cost { padding: 30px 32px; } }
.cost__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-bottom: 12px; }
.cost__head h2 { font-size: 1.08rem; font-family: var(--sans); font-weight: 600; letter-spacing: -.01em; }
.cost table { width: 100%; border-collapse: collapse; margin-top: 6px; }
.cost td { padding: 9px 0; border-bottom: 1px solid var(--line-soft); font-size: .95rem; }
.cost td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.cost tr.total td { border-bottom: 0; padding-top: 14px; font-size: 1rem; }
.cost tr.total td:last-child { font-size: 1.5rem; font-weight: 600; color: var(--clay); letter-spacing: -.02em; }
.cost__note { font-size: .92rem; color: var(--graphite); margin: 14px 0 0; max-width: 46ch; }

.materials { padding-top: 0; margin: 34px 0; }
.materials h2 { font-size: 1.04rem; font-family: var(--sans); font-weight: 600; margin-bottom: 10px; }
.materials ul { list-style: none; margin: 0; padding: 0; }
.materials li { border-bottom: 1px solid var(--line-soft); padding: 9px 0; font-size: .98rem; display: flex; gap: 10px; }
.materials li::before { content: "□"; color: var(--clay); font-size: .9rem; }
@media (max-width: 599px) {
  .materials li { flex-wrap: wrap; }
  .materials li > a { flex: 1 0 100%; margin-left: 20px; }
}
.prose code { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: .88em; background: var(--mist); padding: 1px 5px; border-radius: 4px; }
.materials__more { font-size: .94rem; margin-top: 12px; display: block; color: var(--graphite); }

.schief {
  background: var(--mist); border: 0; border-radius: 16px;
  padding: 26px 24px; margin: 40px 0;
}
@media (min-width: 700px) { .schief { padding: 30px 34px; } }
.schief h2 { font-size: 1.16rem; font-family: var(--sans); font-weight: 600; margin-bottom: 12px; display: flex; align-items: center; gap: 10px; letter-spacing: -.015em; }
.schief h2::before { content: "✕"; color: var(--clay); font-family: var(--sans); font-size: .9rem; }
.schief p { font-size: 1rem; margin-bottom: .9em; }
.schief p:last-child { margin-bottom: 0; }
.schief b { color: var(--clay); }

.vote { border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); padding: 26px 0; margin: 40px 0; }
.vote h2 { font-size: 1.14rem; font-family: var(--sans); font-weight: 600; letter-spacing: -.015em; }
.vote__opts { display: grid; gap: 8px; margin-top: 16px; }
@media (min-width: 640px) { .vote__opts { grid-template-columns: 1fr 1fr; } }
.vote__opt {
  text-align: left; background: var(--paper); border: 1px solid var(--line); padding: 14px 16px;
  font-family: var(--sans); font-size: .96rem; cursor: pointer; border-radius: 12px; color: var(--ink);
}
.vote__opt:hover { border-color: rgba(0,0,0,.3); }
.vote__opt[aria-pressed="true"] { background: var(--mist); border-color: transparent; }
.vote__out { display: none; margin-top: 16px; font-size: 1rem; }
.vote__out[data-open="true"] { display: block; }
.vote__out p { margin: 0; }

.faq { margin: 44px 0 0; }
.faq h2 { font-size: 1.16rem; font-family: var(--sans); font-weight: 600; margin-bottom: 6px; letter-spacing: -.015em; }
.faq details { border-bottom: 1px solid var(--line-soft); padding: 16px 0; }
.faq summary { cursor: pointer; font-size: 1rem; font-weight: 500; list-style: none; display: flex; justify-content: space-between; gap: 14px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--clay); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 10px 0 2px; font-size: 1rem; color: #3a3a3c; max-width: 58ch; }

.byline { margin-top: 46px; padding-top: 18px; border-top: 1px solid var(--line-soft); font-size: .94rem; color: var(--graphite); display: grid; gap: 4px; }
.byline b { color: var(--ink); font-weight: 600; }

.side { display: grid; gap: 32px; align-content: start; }
.side__block { padding-top: 0; }
.side__block h2 { font-size: 1.02rem; letter-spacing: -.015em; font-family: var(--sans); font-weight: 600; margin-bottom: 8px; }
.side__block ul { list-style: none; margin: 0; padding: 0; }
.side__block li { padding: 9px 0; border-bottom: 1px solid var(--line-soft); font-size: .96rem; }
.side__block li a { border: 0; }
.side__block .empty { font-size: .94rem; color: var(--graphite); padding: 7px 0; }

.ad-slot { display: none; }

/* Weiterlesen */

.next { margin-top: 64px; }
.next h2 { font-size: clamp(1.3rem, 2.4vw, 1.6rem); font-family: var(--sans); font-weight: 600; letter-spacing: -.02em; color: var(--ink); margin-bottom: 14px; }
.next__grid { display: grid; gap: 0; }
@media (min-width: 760px) { .next__grid { grid-template-columns: repeat(3, 1fr); column-gap: 30px; } }
.next__item { border-bottom: 1px solid var(--line-soft); padding: 16px 0; display: block; border-left: 0; }
.next__item small { display: none; }
.next__item strong { display: block; font-weight: 600; font-size: 1.02rem; letter-spacing: -.015em; }
.next__item span { display: block; font-size: .94rem; color: #6e6e73; margin-top: 6px; line-height: 1.5; }

/* ---------- Rechner ---------- */

.calc { border: 1px solid var(--line-soft); border-radius: 18px; padding: 24px 20px; margin: 26px 0; background: var(--paper); }
@media (min-width: 700px) { .calc { padding: 30px 32px; } }
.calc__grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .calc__grid { grid-template-columns: 1fr 1fr; gap: 20px 22px; } }
.field { display: grid; gap: 7px; }
.field label { font-size: .95rem; letter-spacing: 0; color: var(--ink); }
.field .hint { font-size: .9rem; color: var(--graphite); }
.field input, .field select {
  font-family: var(--sans); font-size: 1rem; padding: 12px 14px; border: 1px solid var(--line);
  background: var(--paper); color: var(--ink); border-radius: 12px; width: 100%;
}
.field input:focus, .field select:focus { outline: 2px solid var(--clay); outline-offset: 1px; border-color: transparent; }
.field--check { display: flex; align-items: center; gap: 10px; }
.field--check input { width: 20px; height: 20px; }
.btn {
  background: var(--clay); color: #fff; border: 1px solid transparent; padding: 13px 24px;
  font-family: var(--sans); font-size: .98rem; cursor: pointer; border-radius: 999px;
}
.btn:hover { background: #9a5334; }
.btn--ghost { background: none; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: var(--mist); color: var(--ink); }
.calc__actions { margin-top: 22px; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

.result { display: none; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line-soft); }
.result[data-open="true"] { display: block; }
.result__big { font-size: clamp(1.9rem, 4.4vw, 2.6rem); font-weight: 600; line-height: 1.05; letter-spacing: -.03em; }
.result__big small { display: block; font-size: .95rem; letter-spacing: 0; text-transform: none; color: var(--graphite); margin-bottom: 8px; font-family: var(--sans); font-weight: 400; }
.result__rows { margin: 18px 0 0; }
.result__rows div { display: flex; justify-content: space-between; gap: 20px; border-bottom: 1px solid var(--line-soft); padding: 10px 0; font-size: .96rem; }
.result__rows dd { margin: 0; font-variant-numeric: tabular-nums; }
.result__say { margin-top: 18px; font-size: 1.02rem; padding-left: 16px; border-left: 2px solid var(--clay); }
.result__warn { margin-top: 14px; font-size: .95rem; color: #7a3d24; }
.result__scenarios { margin: 22px 0 0; padding-top: 12px; border-top: 1px solid var(--line-soft); }
.result__scenarios div { display: flex; justify-content: space-between; gap: 14px; font-size: .92rem; padding: 6px 0; }
.result__scenarios dt { color: var(--graphite); }
.result__scenarios dd { margin: 0; font-variant-numeric: tabular-nums; }
.result__scenarios dd span { color: var(--clay); margin-left: 8px; }

.viz { margin: 24px 0 0; padding-top: 20px; border-top: 1px solid var(--line-soft); }
.viz__svg { width: 100%; height: auto; display: block; }
.viz figcaption { font-size: .94rem; color: var(--graphite); margin-top: 12px; max-width: 66ch; line-height: 1.55; }

table.data { width: 100%; border-collapse: collapse; margin: 16px 0 6px; font-size: .94rem; }
table.data caption { caption-side: top; text-align: left; font-size: .92rem; color: var(--graphite); padding-bottom: 8px; }
table.data th { text-align: left; border-bottom: 1px solid var(--line); padding: 8px 10px 8px 0; font-weight: 600; font-size: .92rem; }
table.data td { border-bottom: 1px solid var(--line-soft); padding: 10px 10px 10px 0; vertical-align: top; }
table.data td:nth-child(n+2) { font-variant-numeric: tabular-nums; }
@media (max-width: 560px) {
  table.data { font-size: .82rem; }
  table.data th, table.data td { padding-right: 6px; }
}

ul.pitfalls { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 18px; }
ul.pitfalls li { font-size: 1rem; padding-left: 0; border: 0; }
ul.pitfalls strong { display: block; font-family: var(--sans); font-size: 1rem; margin-bottom: 4px; }

.formula { margin: 48px 0; padding-top: 0; border-top: 0; }
.formula h2 { font-size: 1.16rem; font-family: var(--sans); font-weight: 600; letter-spacing: -.015em; margin-bottom: 8px; }
.formula p, .formula ul { font-size: .98rem; color: #3a3a3c; }
.formula code { font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; font-size: .84rem; background: var(--mist); padding: 2px 6px; border-radius: 4px; }

/* ---------- Rechtstexte / Magazinseiten ---------- */

.legal { max-width: 72ch; }
.legal h1 { margin-bottom: 18px; }
.legal .stand { font-size: .76rem; color: var(--graphite); margin-bottom: 30px; }
.legal h2 { font-size: 1.3rem; margin: 40px 0 12px; }
.legal h3 { font-family: var(--sans); font-size: 1rem; font-weight: 600; margin: 26px 0 8px; }
.legal p, .legal li { font-size: .96rem; }
.legal ul { padding-left: 1.15em; }
.legal table { width: 100%; border-collapse: collapse; margin: 16px 0 26px; font-size: .84rem; }
.legal th { text-align: left; border-bottom: 1px solid var(--ink); padding: 8px 6px 8px 0; font-weight: 600; }
.legal td { border-bottom: 1px solid var(--line-soft); padding: 8px 6px 8px 0; vertical-align: top; }
.legal .note {
  background: var(--clay-soft); border-left: 3px solid var(--clay); padding: 18px 20px; margin: 26px 0;
  font-size: .92rem;
}

/* ---------- Fuß ---------- */

.foot { background: var(--mist); border-top: 1px solid var(--ink); margin-top: 40px; padding: 46px 0 26px; }
.foot__grid { display: grid; gap: 32px 28px; }
@media (min-width: 620px) { .foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .foot__grid { grid-template-columns: 1.25fr .95fr 1fr .95fr .85fr; gap: 40px; } }
.foot__brand .brand { margin-bottom: 14px; }
.foot__claim { font-size: .94rem; line-height: 1.55; color: #3a3a3c; max-width: 30ch; margin: 0; }
.foot__mail { margin: 16px 0 0; font-size: .94rem; }
.foot__mail a { border: 0; color: var(--graphite); }
.foot__mail a:hover { color: var(--clay); }
.foot__col h3 { font-size: .94rem; letter-spacing: 0; text-transform: none; font-family: var(--sans); font-weight: 600; color: var(--ink); margin: 0 0 10px; }
.foot__col ul { list-style: none; margin: 0; padding: 0; }
.foot__col li { padding: 4px 0; }
.foot__col a { border: 0; font-size: .94rem; color: #3a3a3c; }
.foot__col a:hover { color: var(--clay); }
@media (max-width: 619px) {
  .foot__grid { gap: 26px; }
  .foot__col ul { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 16px; }
}
.foot__bottom {
  margin-top: 44px; padding-top: 16px; border-top: 1px solid var(--line-soft);
  display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: space-between; align-items: baseline;
  font-size: .88rem; color: var(--graphite);
}
.foot__links { display: inline-flex; gap: 8px; align-items: baseline; }
.foot__sep { color: rgba(0,0,0,.2); }
.foot__bottom button { background: none; border: 0; padding: 0; font: inherit; color: var(--graphite); cursor: pointer; }
.foot__bottom button:hover { color: var(--clay); }
.foot__bottom a { border: 0; color: var(--graphite); }
.foot__bottom a:hover { color: var(--clay); }

/* ---------- Cookie-Hinweis ---------- */

.cookie {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 75;
  background: var(--paper); border-top: 1px solid var(--line);
  padding: 18px; display: none;
}
.cookie[data-open="true"] { display: block; }
.cookie__inner { max-width: 1000px; margin: 0 auto; display: grid; gap: 14px; }
@media (min-width: 860px) { .cookie__inner { grid-template-columns: 1.6fr auto; align-items: center; gap: 30px; } }
.cookie h2 { font-family: var(--sans); font-size: 1rem; font-weight: 600; margin-bottom: 4px; }
.cookie p { font-size: .92rem; color: #3a3a3c; margin: 0; max-width: 62ch; }
.cookie p a { border-bottom-color: var(--clay); }
.cookie__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cookie__btn {
  font-family: var(--sans); font-size: .92rem; padding: 11px 18px; border: 1px solid var(--line);
  background: var(--paper); color: var(--ink); cursor: pointer; border-radius: 999px; flex: 1 1 45%;
  min-width: 0;
}
@media (min-width: 860px) { .cookie__btn { flex: 0 0 auto; min-width: 150px; } }
.cookie__btn:hover { border-color: rgba(0,0,0,.35); }

/* ---------- 404 ---------- */

.nf { padding: 64px 0 76px; }
.nf h1 { font-size: clamp(2.2rem, 6vw, 3.4rem); max-width: 16ch; }
.nf p { margin-top: 18px; font-size: 1.04rem; color: #3a3a3c; max-width: 46ch; }
.nf__search { margin: 30px 0 26px; max-width: 520px; }
.nf__search label { display: block; font-size: .95rem; color: var(--graphite); margin-bottom: 6px; }
.nf__links { display: flex; flex-wrap: wrap; gap: 10px; }
.nf__links a { border: 1px solid var(--line); padding: 11px 18px; font-size: .95rem; border-radius: 999px; }
.nf__links a:hover { border-color: rgba(0,0,0,.35); color: var(--ink); }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

/* Weniger Linien: Trenner nur dort, wo eine Liste es braucht */

.rows li { border-bottom: 0; padding: 0; }
.rows a { padding: 18px 0; }
.rows__more { border-top: 0; }
.rows__more--solo { border-top: 0; padding-top: 6px; margin-top: 10px; }
.side__block { border-top: 0; padding-top: 0; }
.side__block li { border-bottom: 0; padding: 7px 0; }
.side { gap: 28px; }
.next__item { border-top: 0; border-bottom: 0; padding: 18px 0 6px; }
.drawer a { border-bottom: 0; padding: 12px 4px; }

