/* umzugspreis.ch — Thema „Preis-Transparenz / Daten“
   Datenjournalismus: Off-White, Tinte, Elektro-Indigo, Signal-Amber, tabellarische Ziffern. */

:root {
  --bg: #fafaf7;
  --paper: #ffffff;
  --alt: #efeee7;
  --ink: #14161a;
  --ink-2: #23262d;
  --ink-3: #343842;
  --muted: #545862;
  --rule: #d6d5cc;
  --indigo: #3b3bf0;
  --indigo-dark: #2525c4;
  --indigo-soft: #e7e7fd;
  --amber: #ffb020;
  --amber-soft: #fff0c7;
  --on-ink: #f4f4ef;
  --on-ink-muted: #b9bcc6;
  --mono: ui-monospace, "Cascadia Mono", "Segoe UI Mono", Consolas, monospace;
  --cond: "Arial Narrow", "Roboto Condensed", "Segoe UI", sans-serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1180px;
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-variant-numeric: tabular-nums;
  overflow-x: hidden;
}
@media (min-width: 900px) { body { font-size: 1.125rem; } }
body.nav-open { overflow: hidden; }

img { max-width: 100%; }
a { color: var(--indigo-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }

h1, h2, h3, h4 {
  font-family: var(--cond);
  font-stretch: condensed;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.005em;
  margin: 0 0 .5em;
  color: var(--ink);
}
h1 { font-size: clamp(1.9rem, 5.2vw, 3.6rem); }
h1, h2, h3 { overflow-wrap: break-word; }
@media (max-width: 480px) { h1, h2 { hyphens: auto; } }
h2 { font-size: clamp(1.65rem, 3.4vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.4rem); }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
li { margin-bottom: .35em; }
strong { font-weight: 700; }

.price, .num, .mono { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.price { white-space: nowrap; }

.container { width: 100%; max-width: var(--max); margin-left: auto; margin-right: auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.skip-link { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--on-ink); padding: 10px 16px; z-index: 100; }
.skip-link:focus { left: 8px; }

.label {
  display: inline-block;
  font-family: var(--cond);
  font-stretch: condensed;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 .7em;
}
.label--indigo { color: var(--indigo-dark); }
.small { font-size: .9rem; }
.muted { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--cond); font-stretch: condensed; font-weight: 700;
  font-size: 1.05rem; letter-spacing: .04em; text-transform: uppercase;
  padding: .85em 1.35em; border: 2px solid var(--ink); border-radius: 0;
  text-decoration: none; line-height: 1.1; cursor: pointer; text-align: center;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 4px 4px 0 var(--ink); text-decoration: none; }
.btn--primary { background: var(--indigo); color: #fff; }
.btn--primary:hover { color: #fff; background: var(--indigo-dark); }
.btn--amber { background: var(--amber); color: var(--ink); }
.btn--amber:hover { color: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { color: var(--ink); background: var(--paper); }
.btn--lg { font-size: 1.15rem; padding: 1em 1.6em; }
.section--ink .btn:hover, .ticker .btn:hover { box-shadow: 4px 4px 0 var(--amber); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 2px solid var(--ink); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand__logo { width: 40px; height: 40px; flex: none; display: block; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--cond); font-stretch: condensed; font-weight: 700; font-size: 1.45rem; letter-spacing: -0.01em; }
.brand__name b { color: var(--indigo); font-weight: 700; }
.brand__sub { font-family: var(--mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav__list { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.site-nav__list li { margin: 0; }
.site-nav__list a {
  font-family: var(--cond); font-stretch: condensed; font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; font-size: 1rem; color: var(--ink); text-decoration: none; padding: 6px 0; border-bottom: 3px solid transparent;
}
.site-nav__list a:hover, .site-nav__list a[aria-current="page"] { border-bottom-color: var(--indigo); color: var(--ink); }
.site-nav__cta { padding: .7em 1.1em; font-size: .98rem; }

.nav-toggle { display: none; width: 46px; height: 46px; border: 2px solid var(--ink); background: var(--paper); border-radius: 0; cursor: pointer; padding: 0; position: relative; }
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after { position: absolute; left: 50%; width: 22px; height: 2px; margin-left: -11px; background: var(--ink); transition: transform .2s ease, background .2s ease; content: ""; }
.nav-toggle__bars { top: 50%; margin-top: -1px; }
.nav-toggle__bars::before { top: -7px; }
.nav-toggle__bars::after { top: 7px; }

@media (max-width: 900px) {
  .nav-toggle { display: block; z-index: 60; }
  .site-nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; z-index: 55;
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0;
    background: var(--ink); color: var(--on-ink);
    padding: 24px var(--gutter) 40px; overflow-y: auto;
    visibility: hidden; opacity: 0; transition: opacity .18s ease, visibility .18s;
  }
  .site-nav.is-open { visibility: visible; opacity: 1; }
  .site-nav__list { flex-direction: column; gap: 0; margin-bottom: 28px; }
  .site-nav__list a { display: block; color: var(--on-ink); font-size: 1.8rem; padding: 16px 0; border-bottom: 1px solid var(--ink-3); }
  .site-nav__list a:hover, .site-nav__list a[aria-current="page"] { color: var(--amber); border-bottom-color: var(--ink-3); }
  .site-nav__cta { width: 100%; font-size: 1.1rem; padding: 1em; border-color: var(--on-ink); }
  body.nav-open .nav-toggle__bars { background: transparent; }
  body.nav-open .nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
  body.nav-open .nav-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }
  body.nav-open .mobile-cta { display: none; }
}
@media (max-width: 420px) {
  .brand__sub { display: none; }
  .brand__name { font-size: 1.3rem; }
}

/* ---------- Sections ---------- */
.section { padding-top: clamp(56px, 8vw, 96px); padding-bottom: clamp(56px, 8vw, 96px); }
.section--alt { background: var(--alt); border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.section--ink { background: var(--ink); color: var(--on-ink); }
.section--ink h2, .section--ink h3 { color: var(--on-ink); }
.section--ink .label { color: var(--amber); }
.section--ink a { color: var(--amber); }
.section--ink .muted, .section--ink .section-head p { color: var(--on-ink-muted); }
.section + .section:not(.section--alt):not(.section--ink) { border-top: 1px solid var(--rule); }

.section-head { max-width: 780px; margin-bottom: 36px; }
.section-head h2 { margin-bottom: .35em; }
.section-head p { color: var(--muted); font-size: 1.05em; margin: 0; }
.idx { font-family: var(--mono); color: var(--indigo); font-weight: 700; margin-right: .5em; }
.section--ink .idx { color: var(--amber); }

.prose { max-width: 760px; }
.prose > :last-child { margin-bottom: 0; }
.prose h3 { margin-top: 1.4em; }
.lede { font-size: 1.2em; line-height: 1.5; }

.grid-2, .grid-3, .grid-4 { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.split--even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stack-lg > * + * { margin-top: 40px; }
.mt { margin-top: 36px; }
.text-center { text-align: center; }
@media (max-width: 980px) { .grid-4, .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .split, .split--even, .grid-2, .grid-3 { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .grid-4 { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Panels (flat cards) ---------- */
.panel { background: var(--paper); color: var(--ink); border: 2px solid var(--ink); border-radius: 0; padding: 24px; }
.panel > :last-child { margin-bottom: 0; }
.panel h3 { margin-bottom: .4em; }
.panel__label { font-family: var(--cond); font-stretch: condensed; font-weight: 700; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--indigo-dark); margin: 0 0 .6em; }
.panel__figure { font-family: var(--mono); font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 700; line-height: 1.15; margin: 0 0 .4em; color: var(--ink); }
.panel--indigo { background: var(--indigo); color: #fff; }
.panel--indigo h3, .panel--indigo .panel__figure { color: #fff; }
.panel--indigo .panel__label { color: var(--amber); }
.panel--indigo a { color: #fff; }
.panel--amber { background: var(--amber-soft); }
.section--ink .panel { background: var(--ink-2); color: var(--on-ink); border-color: var(--ink-3); }
.section--ink .panel h3, .section--ink .panel .panel__figure { color: var(--on-ink); }
.section--ink .panel .panel__label { color: var(--amber); }
.section--ink .panel p { color: var(--on-ink); }

a.panel { display: block; text-decoration: none; transition: transform .12s ease, box-shadow .12s ease; }
a.panel:hover { transform: translate(-3px, -3px); box-shadow: 6px 6px 0 var(--indigo); color: var(--ink); }
a.panel .panel__more { font-family: var(--mono); font-size: .9rem; color: var(--indigo-dark); margin: 0; }

.note { border-left: 6px solid var(--amber); background: var(--amber-soft); color: var(--ink); padding: 18px 22px; margin: 28px 0; max-width: 860px; }
.note > :last-child { margin-bottom: 0; }
.note strong:first-child { display: block; margin-bottom: .3em; }
.source { font-size: .88rem; color: var(--muted); margin-top: 12px; }
.source::before { content: "Quelle ▸ "; font-family: var(--mono); color: var(--indigo-dark); }
.section--ink .source { color: var(--on-ink-muted); }
.section--ink .source::before { color: var(--amber); }

.checklist { list-style: none; padding: 0; }
.checklist li { position: relative; padding-left: 30px; }
.checklist li::before { content: ""; position: absolute; left: 0; top: .42em; width: 14px; height: 14px; border: 2px solid var(--indigo); background: var(--indigo-soft); }
.redflags { list-style: none; padding: 0; }
.redflags li { position: relative; padding-left: 30px; }
.redflags li::before { content: "!"; position: absolute; left: 0; top: .15em; width: 20px; height: 20px; background: var(--amber); color: var(--ink); font-family: var(--mono); font-weight: 700; font-size: .85rem; line-height: 20px; text-align: center; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 2px solid var(--ink); background: var(--paper); margin: 8px 0 0; }
table { width: 100%; border-collapse: collapse; min-width: 560px; font-size: .98rem; }
caption { text-align: left; caption-side: top; padding: 12px 16px; font-family: var(--cond); font-stretch: condensed; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; border-bottom: 2px solid var(--ink); background: var(--bg); }
th, td { padding: 12px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--rule); }
thead th { background: var(--ink); color: var(--on-ink); font-family: var(--cond); font-stretch: condensed; text-transform: uppercase; letter-spacing: .06em; font-size: .85rem; border-bottom: 0; }
tbody tr:nth-child(even) { background: #f3f3ee; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
tbody th { font-weight: 700; }
td.num, th.num { font-family: var(--mono); white-space: nowrap; text-align: right; }
.section--ink .table-wrap { border-color: var(--ink-3); }

/* ---------- Media slots ---------- */
.media {
  display: block; width: 100%; aspect-ratio: 1200 / 896; border: 2px solid var(--ink); position: relative;
  background-color: var(--indigo);
  background-image:
    repeating-linear-gradient(0deg, rgba(255,255,255,.08) 0 1px, transparent 1px 32px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.08) 0 1px, transparent 1px 32px),
    linear-gradient(160deg, #5a5af5 0%, #3b3bf0 45%, #1d1d8f 100%);
}
img.media { display: block; height: auto; object-fit: cover; background: var(--alt); }
.media--hero { aspect-ratio: 1376 / 768; }
div.media::after { content: ""; position: absolute; left: 8%; right: 8%; bottom: 12%; height: 38%;
  background: linear-gradient(90deg, rgba(255,176,32,.95) 0 14%, transparent 14% 18%, rgba(255,255,255,.55) 18% 38%, transparent 38% 42%, rgba(255,176,32,.7) 42% 64%, transparent 64% 68%, rgba(255,255,255,.35) 68% 100%);
  clip-path: polygon(0 60%, 14% 60%, 14% 100%, 0 100%, 0 60%, 18% 30%, 38% 30%, 38% 100%, 18% 100%, 18% 30%, 42% 0, 64% 0, 64% 100%, 42% 100%, 42% 0, 68% 45%, 100% 45%, 100% 100%, 68% 100%, 68% 45%); }
div.media[data-img="preis-wohnungsgroesse"] { background-image: repeating-linear-gradient(0deg, rgba(255,255,255,.08) 0 1px, transparent 1px 28px), linear-gradient(135deg, #2e2eb8, #3b3bf0 55%, #7373f7); }
div.media[data-img="preis-stundensatz"] { background-image: repeating-radial-gradient(circle at 70% 30%, rgba(255,255,255,.1) 0 1px, transparent 1px 26px), linear-gradient(200deg, #14161a, #2525c4 60%, #3b3bf0); }
div.media[data-img="preis-festpreis"] { background-image: repeating-linear-gradient(45deg, rgba(255,255,255,.07) 0 2px, transparent 2px 22px), linear-gradient(160deg, #3b3bf0, #23262d); }
div.media[data-img="preis-zusatzkosten"] { background-color: var(--amber); background-image: repeating-linear-gradient(90deg, rgba(20,22,26,.08) 0 1px, transparent 1px 30px), linear-gradient(150deg, #ffc65a, #ffb020 50%, #e08e00); }
div.media[data-img="preis-zusatzkosten"]::after { background: linear-gradient(90deg, rgba(20,22,26,.85) 0 14%, transparent 14% 18%, rgba(59,59,240,.8) 18% 38%, transparent 38% 42%, rgba(20,22,26,.6) 42% 64%, transparent 64% 68%, rgba(59,59,240,.5) 68% 100%); }
div.media[data-img="preis-rechner"] { background-image: repeating-linear-gradient(0deg, rgba(255,255,255,.1) 0 1px, transparent 1px 20px), repeating-linear-gradient(90deg, rgba(255,255,255,.1) 0 1px, transparent 1px 20px), linear-gradient(180deg, #3b3bf0, #1f1f9e); }
div.media[data-img="preis-ratgeber"] { background-image: repeating-linear-gradient(0deg, rgba(255,255,255,.09) 0 1px, transparent 1px 36px), linear-gradient(170deg, #23262d, #3b3bf0 80%); }

/* ---------- Home hero ---------- */
.hero { padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(48px, 7vw, 88px); border-bottom: 2px solid var(--ink); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero h1 { margin-bottom: .4em; }
.hero-lead { font-size: 1.18em; line-height: 1.55; max-width: 640px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin: 26px 0 18px; }
.hero-note { font-family: var(--mono); font-size: .85rem; color: var(--muted); }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.hero-points li { margin: 0; font-family: var(--mono); font-size: .82rem; border: 2px solid var(--ink); padding: 4px 10px; background: var(--paper); }
@media (max-width: 900px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }

.ticker { background: var(--ink); color: var(--on-ink); border: 2px solid var(--ink); box-shadow: 8px 8px 0 var(--indigo); }
.ticker__head { display: flex; justify-content: space-between; gap: 12px; padding: 10px 18px; border-bottom: 1px solid var(--ink-3); font-family: var(--mono); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--on-ink-muted); }
.ticker__live::before { content: ""; display: inline-block; width: 8px; height: 8px; background: var(--amber); margin-right: 8px; vertical-align: 1px; }
.ticker__row { padding: 18px 18px 16px; border-bottom: 1px solid var(--ink-3); }
.ticker__row:last-of-type { border-bottom: 0; }
.ticker__label { font-family: var(--cond); font-stretch: condensed; text-transform: uppercase; letter-spacing: .1em; font-size: .85rem; font-weight: 700; color: var(--on-ink-muted); margin: 0 0 4px; }
.ticker__value { font-family: var(--mono); font-weight: 700; font-size: clamp(1.9rem, 5.4vw, 3.1rem); line-height: 1.05; margin: 0; color: var(--on-ink); white-space: nowrap; }
.ticker__value small { font-size: .42em; color: var(--on-ink-muted); margin-right: .35em; vertical-align: .55em; }
.ticker__row--amber .ticker__value { color: var(--amber); }
.ticker__foot { padding: 10px 18px; font-size: .8rem; color: var(--on-ink-muted); border-top: 1px solid var(--ink-3); }
@media (max-width: 400px) { .ticker__value { font-size: 1.7rem; } .ticker { box-shadow: 5px 5px 0 var(--indigo); } }

/* ---------- Bar chart (CSS) ---------- */
.chart { border: 2px solid var(--ink); background: var(--paper); padding: 22px 22px 16px; }
.chart__title { font-family: var(--cond); font-stretch: condensed; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .9rem; margin: 0 0 6px; }
.chart__legend { display: flex; flex-wrap: wrap; gap: 6px 18px; list-style: none; padding: 0; margin: 0 0 18px; font-size: .88rem; color: var(--muted); }
.chart__legend li { margin: 0; display: inline-flex; align-items: center; gap: 8px; }
.chart__legend li::before { content: ""; width: 18px; height: 10px; background: var(--indigo); }
.chart__legend li.is-fern::before { background: var(--amber); border: 1px solid var(--ink); }
.chart__rows { list-style: none; padding: 0; margin: 0; }
.chart__row { display: grid; grid-template-columns: 110px minmax(0, 1fr) 190px; gap: 14px; align-items: center; margin: 0; padding: 8px 0; border-top: 1px solid var(--rule); }
.chart__name { font-family: var(--cond); font-stretch: condensed; font-weight: 700; font-size: 1rem; }
.chart__track { position: relative; height: 30px; background: repeating-linear-gradient(90deg, #ecebe4 0 1px, transparent 1px 12.5%); }
.chart__bar { position: absolute; left: var(--a); width: calc(var(--b) - var(--a)); height: 12px; min-width: 4px; }
.chart__bar--lokal { top: 2px; background: var(--indigo); }
.chart__bar--fern { top: 16px; background: var(--amber); outline: 1px solid var(--ink); outline-offset: -1px; }
.chart__vals { font-family: var(--mono); font-size: .86rem; line-height: 1.35; text-align: right; white-space: nowrap; }
.chart__vals span { display: block; }
.chart__vals .v-fern { color: #8a5a00; }
.chart__axis { display: grid; grid-template-columns: 110px minmax(0, 1fr) 190px; gap: 14px; margin-top: 4px; }
.chart__scale { display: flex; justify-content: space-between; font-family: var(--mono); font-size: .72rem; color: var(--muted); }
@media (max-width: 700px) {
  .chart { padding: 16px 14px 12px; }
  .chart__row { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name vals" "track track"; gap: 4px 10px; }
  .chart__name { grid-area: name; }
  .chart__vals { grid-area: vals; }
  .chart__track { grid-area: track; }
  .chart__axis { grid-template-columns: minmax(0, 1fr); }
  .chart__axis > span:not(.chart__scale) { display: none; }
}

/* ---------- Sub-page hero ---------- */
.page-hero { padding-top: clamp(28px, 4vw, 48px); padding-bottom: clamp(40px, 6vw, 72px); border-bottom: 2px solid var(--ink); }
.page-hero--plain { padding-bottom: 32px; }
.page-hero .hero-grid { align-items: start; }
.hero-grid--text { grid-template-columns: minmax(0, 1fr); max-width: 900px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-family: var(--mono); font-size: .8rem; color: var(--muted); margin-bottom: 22px; }
.crumbs a { color: var(--muted); }
.crumbs [aria-current] { color: var(--ink); }
.hero-side { display: grid; gap: 16px; }
.statbar { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 12px; background: var(--ink); color: var(--on-ink); padding: 14px 18px; border: 2px solid var(--ink); }
.statbar__label { font-family: var(--cond); font-stretch: condensed; text-transform: uppercase; letter-spacing: .1em; font-size: .8rem; font-weight: 700; color: var(--on-ink-muted); margin: 0; }
.statbar__value { font-family: var(--mono); font-weight: 700; font-size: clamp(1.35rem, 3vw, 1.9rem); color: var(--amber); margin: 0; white-space: nowrap; }
@media (max-width: 420px) { .statbar { grid-template-columns: minmax(0, 1fr); } .statbar__value { white-space: normal; } }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 2px solid var(--ink); counter-reset: step; background: var(--paper); }
.steps > li { margin: 0; padding: 26px 24px; border-right: 2px solid var(--ink); counter-increment: step; }
.steps > li:last-child { border-right: 0; }
.steps > li::before { content: "0" counter(step); display: block; font-family: var(--mono); font-weight: 700; font-size: 2.2rem; color: var(--indigo); line-height: 1; margin-bottom: 14px; }
.steps h3 { margin-bottom: .35em; }
.steps p { margin: 0; }
@media (max-width: 760px) { .steps { grid-template-columns: minmax(0, 1fr); } .steps > li { border-right: 0; border-bottom: 2px solid var(--ink); } .steps > li:last-child { border-bottom: 0; } }

/* ---------- Checklist (HowTo) ---------- */
.howto { display: grid; gap: 0; border: 2px solid var(--ink); background: var(--paper); }
.howto-step { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 0 18px; padding: 20px 22px; border-bottom: 1px solid var(--rule); counter-increment: hs; }
.howto { counter-reset: hs; }
.howto-step:last-child { border-bottom: 0; }
.howto-step::before { content: counter(hs, decimal-leading-zero); grid-row: span 3; font-family: var(--mono); font-weight: 700; font-size: 1.6rem; color: var(--indigo); line-height: 1.1; }
.howto-step h3 { margin: 0 0 .3em; }
.howto-step p { margin: 0; }
@media (max-width: 520px) { .howto-step { grid-template-columns: minmax(0, 1fr); } .howto-step::before { grid-row: auto; margin-bottom: 6px; } }

/* ---------- FAQ ---------- */
.faq-list { border-top: 2px solid var(--ink); max-width: 900px; }
.faq-item { border-bottom: 2px solid var(--ink); }
.faq-item summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) 32px; gap: 16px; align-items: center; padding: 20px 0; font-family: var(--cond); font-stretch: condensed; font-weight: 700; font-size: clamp(1.12rem, 2vw, 1.3rem); line-height: 1.25; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; width: 32px; height: 32px; border: 2px solid var(--ink); display: grid; place-items: center; font-family: var(--mono); font-size: 1.2rem; line-height: 1; }
.faq-item[open] summary::after { content: "–"; background: var(--indigo); color: #fff; border-color: var(--indigo); }
.faq-item__a { padding: 0 48px 22px 0; }
.faq-item__a > :last-child { margin-bottom: 0; }
@media (max-width: 520px) { .faq-item__a { padding-right: 0; } }
.faq-group { margin-top: 48px; }
.faq-group:first-child { margin-top: 0; }

/* ---------- Calculator ---------- */
.calc { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 0; border: 2px solid var(--ink); background: var(--paper); }
.calc__form { padding: clamp(18px, 3vw, 30px); border-right: 2px solid var(--ink); }
.calc__form fieldset { border: 0; padding: 0; margin: 0 0 26px; min-width: 0; }
.calc__form fieldset:last-child { margin-bottom: 0; }
.calc__form legend { font-family: var(--cond); font-stretch: condensed; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: .9rem; color: var(--indigo-dark); padding: 0; margin-bottom: 12px; }
.field { margin-bottom: 16px; }
.field:last-child { margin-bottom: 0; }
.field > label, .field__label { display: block; font-weight: 700; margin-bottom: 6px; font-size: .98rem; }
.field__hint { display: block; font-size: .85rem; color: var(--muted); margin-top: 4px; }
.field select, .field input[type="number"] {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--bg);
  border: 2px solid var(--ink); border-radius: 0; padding: 10px 12px; min-height: 48px;
}
.field input[type="number"] { font-family: var(--mono); }
.field select:focus, .field input:focus { outline: 3px solid var(--amber); outline-offset: 0; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.choice { display: flex; flex-wrap: wrap; gap: 8px; }
.choice label { position: relative; display: inline-flex; align-items: center; gap: 8px; border: 2px solid var(--ink); padding: 9px 12px; cursor: pointer; font-size: .95rem; background: var(--bg); min-height: 44px; }
.choice input { accent-color: var(--indigo); width: 18px; height: 18px; margin: 0; }
.choice label:has(input:checked) { background: var(--indigo); color: #fff; border-color: var(--indigo); }
.check { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; font-weight: 700; font-size: .98rem; }
.check input { accent-color: var(--indigo); width: 20px; height: 20px; margin: 3px 0 0; flex: none; }
.check span small { display: block; font-weight: 400; color: var(--muted); font-size: .85rem; }

.calc__out { padding: clamp(18px, 3vw, 30px); background: var(--ink); color: var(--on-ink); display: flex; flex-direction: column; gap: 16px; }
.calc__sticky { position: sticky; top: calc(var(--header-h) + 16px); display: flex; flex-direction: column; gap: 16px; }
.calc__out .label { color: var(--amber); margin: 0; }
.calc__total { font-family: var(--mono); font-weight: 700; font-size: clamp(1.8rem, 4.2vw, 2.6rem); line-height: 1.1; margin: 0; color: var(--on-ink); }
.calc__total span { color: var(--amber); }
.calc__lines { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--ink-3); }
.calc__lines li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--ink-3); margin: 0; font-size: .92rem; }
.calc__lines li span:last-child { font-family: var(--mono); white-space: nowrap; color: var(--on-ink); }
.calc__lines li span:first-child { color: var(--on-ink-muted); }
.calc__disclaimer { font-size: .85rem; color: var(--on-ink-muted); margin: 0; }
.calc__out .btn { width: 100%; }
.calc__static { color: var(--on-ink); font-size: .95rem; }
@media (max-width: 900px) {
  .calc { grid-template-columns: minmax(0, 1fr); }
  .calc__form { border-right: 0; border-bottom: 2px solid var(--ink); }
  .calc__sticky { position: static; }
}
@media (max-width: 480px) { .field-row { grid-template-columns: minmax(0, 1fr); } }

/* ---------- CTA band & footer ---------- */
.cta-band { background: var(--indigo); color: #fff; border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.cta-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; padding-top: 40px; padding-bottom: 40px; }
.cta-band__kicker { font-family: var(--mono); font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--amber); margin: 0 0 6px; }
.cta-band__title { font-family: var(--cond); font-stretch: condensed; font-weight: 700; font-size: clamp(1.5rem, 3.2vw, 2.2rem); line-height: 1.15; margin: 0; color: #fff; }

.site-footer { background: var(--ink); color: var(--on-ink); padding-top: 56px; }
.site-footer a { color: var(--on-ink); text-decoration: none; }
.site-footer a:hover { color: var(--amber); text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 32px; padding-bottom: 40px; }
.footer-brand p { color: var(--on-ink-muted); font-size: .95rem; margin-top: 14px; }
.footer-brand .brand { color: var(--on-ink); }
.footer-brand .brand__sub { color: var(--on-ink-muted); }
.footer-brand .brand__name b { color: #9a9aff; }
.footer-note { color: var(--on-ink) !important; font-weight: 700; }
.footer-col__title { font-family: var(--cond); font-stretch: condensed; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: .85rem; color: var(--amber); margin: 0 0 12px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 8px; font-size: .95rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; border-top: 1px solid var(--ink-3); padding-top: 18px; padding-bottom: 22px; font-family: var(--mono); font-size: .8rem; color: var(--on-ink-muted); }
.footer-bottom p { margin: 0; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }

.mobile-cta { display: none; }
@media (max-width: 760px) {
  .mobile-cta { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: 10px 16px; background: var(--bg); border-top: 2px solid var(--ink); }
  .mobile-cta .btn { width: 100%; }
  body.has-mobile-cta { padding-bottom: 76px; }
}

/* ---------- Legal ---------- */
.legal { padding-top: 40px; padding-bottom: 80px; }
.legal h2 { font-size: 1.4rem; margin-top: 1.6em; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }

/* Calculator: label fixes + sticky mini total on mobile */
.field > label.check { display: flex; margin-bottom: 0; }
.calc__mini { display: none; }
@media (max-width: 900px) {
  .calc__mini:not([hidden]) {
    display: flex; justify-content: space-between; align-items: center; gap: 12px;
    position: sticky; bottom: 94px; z-index: 5; margin: 20px 0 0;
    background: var(--ink); color: var(--on-ink); border: 2px solid var(--ink); box-shadow: 4px 4px 0 var(--indigo);
    padding: 10px 14px; font-size: .85rem;
  }
  .calc__mini strong { font-family: var(--mono); color: var(--amber); font-size: 1.05rem; white-space: nowrap; }
  .calc__mini a { color: var(--on-ink); font-size: .8rem; white-space: nowrap; }
}
@media (min-width: 761px) and (max-width: 900px) { .calc__mini:not([hidden]) { bottom: 12px; } }

/* Kontrast CTA: Linkfarbe in dunklen Sektionen darf Buttontext nicht überschreiben */
a.btn.btn--amber, .btn.btn--amber, a.btn.btn--amber:visited { color: #14161a !important; }
