/* Planungsvorlauf – Landingpage. Eigenständig, nichts aus frontend/ oder backend/.
   Farben und Schriften aus dem Design (Canvas "planungsvorlauf.de – Landingpage"). */

:root {
  --paper: #faf9f6;
  --band: #f2f0eb;
  --night: #161615;
  --ink: #141414;
  --ink-2: #3f3e3a;
  --muted: #55534e;
  --faint: #6b6a65;
  --line: #e5e2db;
  --line-soft: #eeebe5;
  --field: #cfcac1;
  --chip: #efede8;
  --chip-line: #e1ded7;
  --accent: #2e6b4e;
  --serif: Newsreader, Georgia, serif;
  --sans: Inter, system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --h2: clamp(36px, 4.4vw, 60px);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--accent); }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
input::placeholder { color: var(--faint); }

.wrap { max-width: 1280px; margin: 0 auto; padding-left: 40px; padding-right: 40px; }

/* Bausteine */
.eyebrow { margin: 0 0 20px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; color: var(--faint); }
.h2 { margin: 0; font-family: var(--serif); font-weight: 300; font-size: var(--h2); line-height: 1.04; letter-spacing: -0.02em; }
.split { display: flex; flex-wrap: wrap; gap: 40px 80px; justify-content: space-between; align-items: flex-start; }
.split__head { flex: 1 1 520px; }
.split__text { flex: 0 1 380px; margin: 0; padding-top: 36px; font-size: 15px; line-height: 1.6; color: var(--muted); }
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.mono-label { font-family: var(--mono); letter-spacing: 0.08em; color: var(--faint); }

/* Schaltflächen (Pillen) */
.btn {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 22px;
  border-radius: 999px; font-family: var(--sans); font-size: 14px; font-weight: 500; cursor: pointer;
}
.btn--dark { background: var(--ink); color: #fff; border: 0; }
.btn--dark:hover { color: #fff; background: #2b2b2a; }
.btn--soft { background: var(--chip); border: 1px solid var(--chip-line); color: var(--ink); }
.btn--soft:hover { color: var(--ink); background: #e8e5de; }
.btn--light { background: var(--paper); color: var(--ink); border: 0; }
.btn--light:hover { color: var(--ink); background: #fff; }
.btn--small { min-height: 40px; padding: 0 18px; font-size: 13px; }

/* Navigation */
.nav { border-bottom: 1px solid var(--line); }
.nav__in { padding-top: 16px; padding-bottom: 16px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 14px; letter-spacing: 0.02em; }
.nav__links { display: flex; flex-wrap: wrap; gap: 28px; font-size: 13px; }
.nav__links a { color: var(--muted); }
.nav__links a:hover { color: var(--accent); }

/* Hero */
.hero { padding: 96px 24px 48px; text-align: center; }
.hero__eyebrow { margin: 0 0 28px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; color: var(--faint); }
.hero__h1 { margin: 0 auto; max-width: 1040px; font-family: var(--serif); font-weight: 300; font-size: clamp(48px, 7vw, 100px); line-height: 0.98; letter-spacing: -0.025em; }
.hero__lead { margin: 28px auto 0; max-width: 620px; font-size: 16px; line-height: 1.55; color: var(--muted); }
.hero__cta { margin-top: 32px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

/* Zeitleiste */
.timeline { padding-top: 24px; padding-bottom: 64px; }
.timeline__head { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; align-items: baseline; padding-bottom: 14px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; color: var(--faint); }
.legend { display: flex; gap: 18px; align-items: center; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; background: var(--ink); }
.dot--green { background: var(--accent); }
.tl-row { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 24px; padding: 10px 0; border-bottom: 1px solid var(--line-soft); }
.tl-name { flex: 1 1 260px; max-width: 320px; font-size: 13px; line-height: 1.35; }
.tl-name small { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; color: var(--faint); }
.tl-track { flex: 3 1 420px; position: relative; height: 22px; }
.tl-track__base { position: absolute; top: 10px; left: 0; right: 0; height: 1px; background: #ece9e3; }
.tl-track__bar { position: absolute; top: 10px; height: 1px; background: var(--ink); }
.tl-track__dot { position: absolute; top: 7px; width: 7px; height: 7px; margin-left: -3px; border-radius: 50%; background: var(--ink); }
.tl-track__dot--end { background: var(--accent); }
.tl-dur { flex: 0 0 96px; text-align: right; font-family: var(--mono); font-size: 12px; color: var(--ink-2); }
.tl-axis { display: flex; flex-wrap: wrap; gap: 4px 24px; padding-top: 10px; font-family: var(--mono); font-size: 11px; color: var(--faint); }
.tl-axis__spacer { flex: 1 1 260px; max-width: 320px; }
.tl-axis__years { flex: 3 1 420px; display: flex; justify-content: space-between; }
.tl-axis__label { flex: 0 0 96px; text-align: right; }

/* Idee */
.idee { border-top: 1px solid var(--line); }
.idee .wrap { padding-top: 88px; padding-bottom: 88px; }
.idee__text { flex: 0 1 380px; padding-top: 36px; }
.idee__text p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--muted); }
.link-arrow { display: inline-block; margin-top: 20px; font-size: 13px; font-weight: 500; }

/* Bilanz */
.band { background: var(--band); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.bilanz .wrap { padding-top: 96px; padding-bottom: 88px; }
.stripes { margin-top: 56px; }
.stripes__bars { display: flex; flex-wrap: wrap; gap: 6px; align-items: flex-end; }
.stripes__bars span { display: inline-block; width: 2px; height: 30px; background: #bdb8ae; }
.stripes__bars span.on { background: var(--accent); }
.stripes__caption { margin: 14px 0 0; font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; color: var(--faint); }
.stripes__caption b { font-weight: 400; color: var(--accent); }
.stats { margin-top: 56px; border-top: 1px solid #dedad2; }
.stat { padding: 32px 32px 28px; border-right: 1px solid #dedad2; }
.stat:first-child { padding-left: 0; }
.stat:last-child { padding-right: 0; border-right: 0; }
.stat__num { margin: 0; font-family: var(--serif); font-weight: 300; font-size: 52px; line-height: 1; }
.stat__text { margin: 14px 0 0; max-width: 280px; font-size: 13px; line-height: 1.5; color: var(--muted); }
.stat__src { margin: 22px 0 0; padding-top: 12px; border-top: 1px solid #dedad2; font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; color: var(--faint); }

/* Ablauf */
.ablauf .wrap { padding-top: 96px; padding-bottom: 96px; }
.steps { margin-top: 56px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.step { padding: 28px 24px 32px; border-right: 1px solid var(--line); }
.step:first-child { padding-left: 0; }
.step:last-child { padding-right: 0; border-right: 0; }
.step__no { margin: 24px 0 0; font-family: var(--mono); font-size: 11px; color: var(--faint); }
.step h3 { margin: 6px 0 0; font-size: 16px; font-weight: 600; }
.step p { margin: 10px 0 0; font-size: 13px; line-height: 1.55; color: var(--muted); }

/* Beispielausgabe */
.beispiel .wrap { padding-top: 96px; padding-bottom: 96px; }
.sample { margin-top: 48px; background: var(--paper); border: 1px solid var(--chip-line); border-radius: 6px; overflow-x: auto; }
.sample__in { min-width: 820px; }
.sample__bar { display: flex; justify-content: space-between; align-items: center; padding: 16px 24px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; color: var(--faint); }
.sample table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.sample th { padding: 12px 8px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 10px; font-weight: 400; letter-spacing: 0.08em; color: var(--faint); text-align: left; }
.sample td { padding: 18px 8px; border-bottom: 1px solid var(--line-soft); font-size: 14px; line-height: 1.4; vertical-align: baseline; }
.sample th:first-child, .sample td:first-child { padding-left: 24px; width: 128px; }
.sample th:nth-child(3), .sample td:nth-child(3) { width: 144px; text-align: right; }
.sample th:last-child, .sample td:last-child { padding-right: 24px; }
.sample th:nth-child(2) { width: 38%; }
.sample td:first-child { font-family: var(--mono); font-size: 12px; color: var(--ink-2); }
.sample td b { font-weight: 500; }
.sample td small { font-size: 12px; color: var(--faint); }
.sample td:nth-child(3) span { font-family: var(--mono); font-size: 13px; color: var(--ink); }
.sample td:nth-child(3) small { font-size: 11px; }
.sample td:last-child { font-size: 13px; color: var(--ink-2); }
.sample__source { margin: 0; padding: 14px 24px; font-size: 12px; color: var(--faint); }

/* Für wen */
.fuerwen .wrap { padding-top: 96px; padding-bottom: 96px; }
.fuerwen .h2 { max-width: 760px; }
.audience { margin-top: 48px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); border-top: 1px solid var(--line); }
.audience div { padding: 28px 28px 0 0; }
.audience div:last-child { padding-right: 0; }
.audience h3 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.15; }
.audience p { margin: 12px 0 0; font-size: 13px; line-height: 1.55; color: var(--muted); }

/* Preis */
.preis { border-top: 1px solid var(--line); }
.preis .wrap { padding-top: 96px; padding-bottom: 0; }
.badge { border: 1px solid var(--accent); color: var(--accent); border-radius: 999px; padding: 1px 8px; }
.order { flex: 0 1 400px; padding-top: 36px; }
.order > p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--muted); }
.order form { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.order label { font-size: 12px; font-weight: 500; }
.order input { min-height: 44px; padding: 0 16px; border: 1px solid var(--field); border-radius: 999px; background: #fff; font-family: var(--sans); font-size: 14px; color: var(--ink); }
.order__row { display: flex; flex-wrap: wrap; gap: 8px; }
.order__row input { flex: 1 1 200px; }
.order__fine { margin: 4px 0 0; font-size: 12px; line-height: 1.5; color: var(--faint); }
.order__fine a { text-decoration: underline; color: var(--ink-2); }
.order__status { margin: 0; min-height: 1.5em; font-size: 13px; line-height: 1.5; color: var(--ink-2); }
.order__status[data-state="error"] { color: #9a2b1f; }
.facts { margin-top: 72px; border-top: 1px solid var(--line); grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.fact { padding: 22px 24px 40px; border-right: 1px solid var(--line); }
.fact:first-child { padding-left: 0; }
.fact:last-child { padding-right: 0; border-right: 0; }
.fact p { margin: 0; font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em; color: var(--faint); }
.fact strong { display: block; margin-top: 10px; font-family: var(--serif); font-weight: 300; font-size: 30px; }

/* Abschluss */
.closing { background: var(--night); color: var(--paper); }
.closing .wrap { padding-top: 96px; padding-bottom: 96px; display: flex; flex-wrap: wrap; gap: 40px 80px; justify-content: space-between; align-items: center; }
.closing h2 { flex: 1 1 520px; color: var(--paper); }
.closing__side { flex: 0 1 380px; }
.closing__side p { margin: 0; font-size: 15px; line-height: 1.6; color: #c9c6bf; }
.closing .btn { margin-top: 24px; }
.closing a:focus-visible { outline-color: var(--paper); }

/* Footer */
.footer { border-top: 1px solid var(--line); }
.footer .wrap { padding-top: 56px; padding-bottom: 40px; }
.footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 32px; }
.footer__col { display: flex; flex-direction: column; gap: 10px; font-size: 13px; color: var(--muted); }
.footer__col a { color: var(--muted); }
.footer__col a:hover { color: var(--accent); }
.footer__col h2 { margin: 0 0 4px; font-family: var(--mono); font-size: 10px; font-weight: 400; letter-spacing: 0.1em; color: var(--faint); }
.footer__fine { margin: 48px 0 0; padding-top: 20px; border-top: 1px solid var(--line); font-size: 12px; line-height: 1.5; color: var(--faint); }

/* Schmale Fenster: Trennlinien der Spalten fallen weg, wenn sie umbrechen */
@media (max-width: 720px) {
  .wrap { padding-left: 20px; padding-right: 20px; }
  .hero { padding-top: 64px; }
  .nav__links { gap: 18px; }
  .stat, .step, .fact { padding-left: 0; padding-right: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .stat:last-child, .step:last-child, .fact:last-child { border-bottom: 0; }
  .audience div { padding-right: 0; }
  .split__text, .idee__text, .order { padding-top: 0; }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
