/* Kosten & Kanten — Klar
   Letzte Schicht. Weißes Papier, SF Pro, viel Luft.
   Keine Karten, keine Gruppenflächen, keine Linien. Nur Typografie und Abstand. */

:root {
  --paper: #FFFFFF;
  --paper-2: #F5F5F7;
  --white: #FFFFFF;
  --ink: #1D1D1F;
  --muted: #6E6E73;
  --clay: #A5482A;
  --clay-deep: #7C321B;
  --line: transparent;
  --line-soft: transparent;
  --wrap: 1180px;
  --read: 64ch;
  --body-text: #3A3A3C;
}

html, body { background: #FFFFFF; }
body { font-size: 17px; line-height: 1.65; color: var(--ink); }
::selection { background: var(--clay); color: #fff; }

.wrap { max-width: 1180px; padding: 0 32px; }
@media (max-width: 720px) { .wrap { padding: 0 20px; } }

a { border-bottom: 0; }
a:hover { color: var(--clay); border-color: transparent; }

h1 { font-size: clamp(2.5rem, 5vw, 4.05rem); line-height: 1.03; letter-spacing: -.045em; }
h2 { font-size: clamp(1.8rem, 3.1vw, 2.55rem); line-height: 1.07; letter-spacing: -.035em; }
h3 { font-size: 1.24rem; line-height: 1.3; letter-spacing: -.02em; }
.lede, .hero__lede { color: var(--body-text); }

/* ---------- Kopf: ruhig, weiß, ohne Kante ---------- */

.masthead {
  background: rgba(255, 255, 255, .88);
  border-bottom: 0;
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
}
.masthead__inner {
  max-width: 1180px;
  padding: 0 32px;
  height: 64px;
  gap: 24px;
}
@media (max-width: 720px) { .masthead__inner { padding: 0 20px; height: 58px; } }

.brand { gap: 9px; }
.brand__mark {
  width: 9px; height: 9px;
  border-radius: 50%;
  transform: none;
  background: var(--clay);
}
.brand__name { font-size: 1.1rem; letter-spacing: -.028em; }

.nav { gap: 26px; }
.nav a {
  font-size: .86rem;
  color: var(--muted);
  padding: 8px 0;
  border-bottom: 0;
}
.nav a:hover { color: var(--ink); }
.nav a[aria-current="true"] {
  color: var(--ink);
  font-weight: 600;
  border-bottom: 0;
}

.drawer { background: #FFFFFF; border-top: 0; padding: 8px 0 18px; }
.drawer a { border-bottom: 0; padding: 14px 10px; }
.drawer a:hover { background: var(--paper-2); }

/* ---------- Suche und Schaltflächen: iOS-nah, aber ohne Karten ---------- */

.search-layer { background: #FFFFFF; padding: 0 22px 48px; }
.search-layer__inner { position: relative; max-width: 860px; margin: 48px auto 0; }
.search-top { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 14px; padding-right: 46px; }
.search-label {
  margin: 0; font-family: var(--mono); font-size: .68rem; letter-spacing: .11em;
  text-transform: uppercase; color: var(--ink);
}
.search-count { margin: 0; font-family: var(--mono); font-size: .66rem; letter-spacing: .04em; color: var(--muted); }
.search-bar { position: relative; }
.search-icon {
  position: absolute; left: 18px; top: 50%; width: 23px; height: 23px;
  transform: translateY(-50%); color: var(--muted); pointer-events: none;
}
.search-field {
  width: 100%;
  background: var(--paper-2);
  border: 0;
  border-radius: 14px;
  padding: 18px 58px 18px 54px;
  font-family: var(--display);
  font-size: clamp(1.35rem, 3vw, 1.8rem);
  color: var(--ink);
}
.search-field:focus { outline: 0; background: #FFF; box-shadow: 0 0 0 4px rgba(165, 72, 42, .13); }
.search-clear {
  position: absolute; right: 12px; top: 50%; width: 34px; height: 34px;
  transform: translateY(-50%); border: 0; border-radius: 50%;
  background: #FFF; color: var(--muted); font-size: 20px; line-height: 1;
}
.search-clear:hover { color: var(--clay); }
.search-clear[hidden] { display: none; }
.search-help { margin: 12px 2px 0; font-size: .76rem; color: var(--muted); }
.search-suggest { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 18px 0 0; }
.search-suggest__label {
  font-family: var(--mono); font-size: .62rem; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted); margin-right: 4px;
}
.search-suggest button {
  border: 0; border-radius: 999px; background: var(--paper-2);
  color: var(--ink); padding: 7px 12px; font-size: .78rem;
}
.search-suggest button:hover { background: #E8E8ED; color: var(--clay); }
.search-results { border-top: 0; margin: 24px 0 0; padding: 0; list-style: none; }
.search-results li,
.search-results li:nth-child(odd) { background: transparent; border-bottom: 0; padding: 0; }
.search-results a {
  display: grid; grid-template-columns: 96px minmax(0, 1fr);
  gap: 5px 16px; align-items: baseline;
  padding: 15px 12px; border: 0; border-radius: 10px;
}
.search-results a:hover,
.search-results a.is-active { background: var(--paper-2); }
.search-kind {
  grid-row: 1 / 3; font-family: var(--mono); font-size: .62rem;
  letter-spacing: .05em; text-transform: uppercase; color: var(--clay);
}
.search-results a strong { font-weight: 600; font-size: 1.04rem; line-height: 1.25; }
.search-results a:hover strong,
.search-results a.is-active strong { color: var(--clay); }
.search-results .search-desc {
  font-family: var(--body); font-size: .88rem; line-height: 1.5;
  letter-spacing: 0; text-transform: none; color: var(--muted);
}
.search-results mark { background: transparent; color: var(--clay); font-weight: 600; }
.search-empty { padding: 22px 12px; font-size: .92rem; color: var(--muted); }
@media (max-width: 720px) {
  .search-layer { padding: 0 16px 40px; }
  .search-layer__inner { margin-top: 22px; }
  .search-field { font-size: 1.25rem; padding: 15px 54px 15px 48px; }
  .search-icon { left: 15px; width: 21px; height: 21px; }
  .search-results a { grid-template-columns: 1fr; gap: 3px; padding: 14px 8px; }
  .search-kind { grid-row: auto; }
}

.btn, .btn--ghost, .btn--ink {
  border: 0;
  border-radius: 999px;
  padding: 14px 22px;
  font-size: .92rem;
  letter-spacing: .005em;
}
.btn { background: var(--clay); color: #fff; }
.btn:hover { background: var(--clay-deep); color: #fff; }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: #000; color: #fff; }
.btn--ghost { background: var(--paper-2); color: var(--ink); }
.btn--ghost:hover { background: #E8E8ED; color: var(--ink); }

.skill-btn, .guess__opt, .vote__opt, .cookie__btn {
  border: 0;
  border-radius: 999px;
  background: var(--paper-2);
  color: var(--ink);
  padding: 10px 17px;
  font-size: .86rem;
}
.skill-btn:hover, .guess__opt:hover, .vote__opt:hover, .cookie__btn:hover {
  background: #E8E8ED;
  color: var(--ink);
}
.skill-btn[aria-pressed="true"], .guess__opt[aria-pressed="true"], .vote__opt[aria-pressed="true"] {
  background: var(--ink);
  color: #fff;
}

.field input, .field select {
  background: var(--paper-2);
  border: 0;
  border-radius: 10px;
  padding: 13px 14px;
}
.field input:focus, .field select:focus {
  outline: 0;
  border: 0;
  box-shadow: 0 0 0 3px rgba(165, 72, 42, .16);
}

/* ---------- Startseite: kein Kasten, kein Raster, nur Luft ---------- */

.hero { padding: 0; border-bottom: 0; }
.hero__inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 36px 32px 0;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  gap: 64px;
  align-items: center;
}
@media (max-width: 860px) {
  .hero__inner { grid-template-columns: 1fr; gap: 34px; padding: 28px 20px 0; }
}
.hero__copy { padding: 40px 0 56px; justify-content: center; }
.hero__copy h1 { max-width: 16ch; margin-bottom: 24px; }
.hero__lede { max-width: 42ch; font-size: 1.18rem; line-height: 1.6; }
.hero__actions { gap: 12px; margin-top: 30px; }
.hero__media {
  border-left: 0;
  height: 580px;
  min-height: 0;
  background: var(--paper-2);
  border-radius: 18px;
  overflow: hidden;
}
.hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 50%;
}
.hero__media figcaption {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  color: #fff;
  text-shadow: 0 1px 18px rgba(0, 0, 0, .55);
}
.hero__media figcaption b { color: #fff; }
@media (max-width: 860px) { .hero__media { height: 440px; } }
.hero__facts { border: 0; padding: 0; background: transparent; }

.ticker { background: transparent; margin: 0; padding: 8px 0 0; }
.ticker__inner { padding-top: 12px; padding-bottom: 12px; }

.chapter { padding: 80px 0; border-top: 0; }
.home .chapter { padding: 80px 0; }
.chapter--first { padding-top: 64px; }
.chapter__grid { gap: 72px; }
.chapter__copy { top: 96px; }
.chapter__copy h2 { margin: 16px 0 20px; max-width: 15ch; }
.chapter__copy p { max-width: 44ch; color: var(--body-text); }

.panel, .panel--soft {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
}
.panel__label { margin-bottom: 20px; }

.guess__opt[data-state="right"] { background: var(--ink); color: #FFF; }
.guess__opt[data-state="wrong"] { background: var(--paper-2); color: var(--clay); }
.guess__opt[data-state="wrong"]:hover { background: #E8E8ED; color: var(--clay); }
.guess-feedback { margin: 0 0 12px; font-size: .9rem; line-height: 1.45; color: var(--muted); }
.guess-feedback:empty { display: none; }
.guess-feedback[data-state="right"] { color: var(--ink); }
.guess-feedback[data-state="wrong"] { color: var(--clay); }
.reveal__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 22px; }
.reveal__link { font-size: .88rem; color: var(--clay); }
.reveal__link:hover { color: var(--clay-deep); }

.guess-brief {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  margin-top: 28px;
}
.guess-brief__title { margin-bottom: 10px; }
.guess-brief dl div { padding: 8px 0; border: 0; }
.guess-brief__note { margin-top: 14px; }

.reveal {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  margin-top: 28px;
}
.reveal dl { border-top: 0; }
.reveal dl div { border-bottom: 0; padding: 7px 0; }
.reveal .big { font-size: clamp(2rem, 3.6vw, 2.9rem); }

.section-bar { margin-bottom: 36px; }
.section-bar h2 { margin-top: 12px; }
.section-bar__text { max-width: 52ch; color: var(--body-text); }

.projects { border-top: 0; padding-top: 0; gap: 36px; }
.project-card__media {
  border-radius: 16px;
  background: var(--paper-2);
}
.project-card__meta { margin: 18px 0 10px; }
.project-card h3 { font-size: 1.18rem; }
.project-card p { color: var(--muted); }

.index-list { border-top: 0; }
.index-list > li:nth-child(odd) .index-row,
.index-list > a:nth-child(odd) { background: transparent; }
.index-row {
  padding: 22px 0;
  border: 0;
  background: transparent;
  gap: 24px;
}
.index-row:hover { background: transparent; color: var(--ink); }
.index-row__num { padding-top: 4px; }
.index-row__meta { padding-top: 3px; }

.feature {
  background: transparent;
  border: 0;
  border-radius: 0;
  gap: 40px;
  align-items: center;
  min-height: 0;
  grid-column: 1 / -1;
  grid-template-columns: .95fr 1.05fr;
}
.feature__media {
  background: var(--paper-2);
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.feature__body { padding: 0; }
.feature__body p { color: var(--body-text); }
.feature__body .feature__foot { padding-top: 22px; }
.wissen-split {
  grid-template-columns: 1fr 1fr;
  gap: 36px 56px;
}
.wissen-split .index-list {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 56px;
}
@media (max-width: 1020px) {
  .wissen-split { grid-template-columns: 1fr; gap: 30px; }
  .wissen-split .index-list { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .feature { grid-template-columns: 1fr; gap: 22px; align-items: start; }
}

.tools-grid {
  border: 0;
  gap: 28px 44px;
}
.tool-tile {
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
}
.tool-tile:hover { background: transparent; }
.tool-tile h3 { margin-top: 18px; }

.statement {
  border-top: 0;
  padding: 80px 0;
  gap: 80px;
}
.statement__body p { color: var(--body-text); }
.statement__facts {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  margin-top: 28px;
  gap: 24px;
}
.statement__facts li { font-size: .64rem; }

/* ---------- Hub, Artikel, Werkzeuge: Kopf ohne Trennlinie ---------- */

.page-head { padding: 80px 0 44px; }
.page-head h1 { margin-bottom: 0; }
.page-head--split { border-bottom: 0; padding-bottom: 44px; }

.hub__head {
  border-bottom: 0;
  padding: 80px 0 52px;
  gap: 72px;
}
.hub__head .meta-list { margin-top: 36px; }
.hub__section { padding: 56px 0 0; }
.hub__section-head { margin-bottom: 10px; }

.hub__essay { padding: 80px 0 0; }
.hub__essay-head { padding-bottom: 40px; }
.hub__essay-grid {
  border-top: 0;
  padding-top: 0;
  gap: 72px;
}
.hub__essay-body .essay__part { border-bottom: 0; padding-bottom: 36px; margin-bottom: 36px; }
.hub__essay-close {
  border-top: 0;
  background: transparent;
  padding: 0;
  margin-top: 40px;
}
.hub__essay-nav {
  border-top: 0;
  background: #FFFFFF;
  padding: 8px 0;
  top: 88px;
}
.hub__essay-nav nav a { border-bottom: 0; padding: 8px 0; }
.hub__essay-nav nav a:hover { background: transparent; }
.hub__essay-jump {
  border-top: 0;
  background: transparent;
  padding: 0;
  margin-top: 22px;
}
.hub__essay-jump:hover { background: transparent; color: var(--clay); }
.hub__start {
  border-top: 0;
  background: transparent;
  padding: 0;
}
.hub__start-row { border-bottom: 0; padding: 9px 0; }
.hub__guide { border: 0; background: transparent; padding: 0; }

.article__head {
  gap: 72px;
  padding: 72px 0 44px;
}
.article__layout { gap: 72px; }
.article__media { border-radius: 18px; overflow: hidden; }
.prose blockquote {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  margin: 34px 0;
  font-family: var(--serif);
  font-size: 1.14em;
  line-height: 1.58;
  color: var(--ink);
}
.schief {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  margin: 44px 0;
}
.meta-list {
  background: transparent;
  border: 0;
  padding: 0;
}
.meta-list div { border-bottom: 0; padding: 7px 0; }
.byline {
  border-top: 0;
  background: transparent;
  padding: 0;
  margin-top: 64px;
}
.side__block {
  border: 0;
  background: transparent;
  padding: 0;
  margin-bottom: 34px;
}
.side__block ul { border-top: 0; }
.side__block li { border-bottom: 0; padding: 7px 0; }

.cost {
  border: 0;
  background: transparent;
  border-radius: 0;
  padding: 0;
  margin: 40px 0 48px;
}
.cost__head { border-bottom: 0; padding-bottom: 8px; }
.cost td { border-bottom: 0; padding: 11px 0; }
.cost tr:nth-child(even) td { background: transparent; }

.vote {
  border: 0;
  background: transparent;
  padding: 0;
  margin: 52px 0;
}
.vote__opt { background: var(--paper-2); }
.vote__opt[aria-pressed="true"] { background: var(--ink); color: #fff; }

.faq details {
  border-bottom: 0;
  background: transparent;
  padding: 18px 0;
  margin-bottom: 0;
}
.faq details p { color: var(--body-text); }

.calc {
  border: 0;
  background: transparent;
  border-radius: 0;
  padding: 0;
}
.calc__actions { border-top: 0; padding-top: 0; margin-top: 24px; }
.result {
  border-top: 0;
  background: transparent;
  border-radius: 0;
  padding: 0;
  margin-top: 34px;
}
.result__rows div { border-bottom: 0; padding: 8px 0; }
.result__say { border-left: 0; }
.result__scenarios { border-top: 0; margin-top: 20px; }

.data { border-top: 0; background: transparent; }
table.data th, table.data td { border: 0; }
table.data, table.data tr { border: 0; }
.data th { background: transparent; border: 0; padding: 10px 6px; }
.data td { border: 0; padding: 10px 6px; }
.data tr:nth-child(even) td { background: transparent; }

.legal table, .legal table th, .legal table td { border: 0; }
.legal th, .legal td { padding: 10px 8px 10px 0; }

.tool__head {
  border-bottom: 0;
  padding: 72px 0 44px;
  gap: 64px;
}
.tool__layout { padding: 0; gap: 64px; }
.tool__aside-note, .tool__aside-measure {
  border-top: 0;
  background: transparent;
  padding: 0;
}

.legal { max-width: 72ch; }
.legal p { color: var(--body-text); }
.page .legal .note, .legal .note, .note {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  font-style: italic;
}

/* ---------- Fuß und Cookie: weiß, ohne Kante ---------- */

.foot {
  background: #FFFFFF;
  border-top: 0;
  margin-top: 64px;
  padding: 48px 0 28px;
}
.foot__bottom {
  border-top: 0;
  padding-top: 0;
  margin-top: 40px;
}
.foot__col h3 { color: var(--muted); }
.foot__col li { padding: 4px 0; }

.cookie {
  background: #FFFFFF;
  border: 0;
  border-radius: 0;
  box-shadow: 0 -1px 0 rgba(0, 0, 0, .05), 0 14px 44px rgba(0, 0, 0, .12);
}
.cookie__inner { max-width: 1180px; padding: 0 32px; }
@media (max-width: 720px) { .cookie__inner { padding: 0 20px; } }
.cookie__btn { background: var(--paper-2); }

/* ---------- Kleinkram ---------- */

.nf__links a { border: 0; background: transparent; border-radius: 0; }
.nf__links a:hover { background: transparent; color: var(--clay); }
.mini__say {
  border-top: 0;
  background: transparent;
  padding: 0;
  margin-top: 26px;
}
.mini { border-top: 0; border-bottom: 0; padding: 16px 0; }
.rule, hr { border: 0; }

/* ---------- Index ohne laufende Nummern ---------- */
.index-row { grid-template-columns: minmax(0, 1fr) 176px; }
@media (max-width: 760px) { .index-row { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Listen ohne laufende Nummern ---------- */
.hub__start-row { grid-template-columns: minmax(0, 1fr); }
.hub__essay-nav nav a { grid-template-columns: minmax(0, 1fr); }
