:root {
  --bg: #fbfbf9;
  --ink: #0e0e0e;
  --muted: #5b5b57;
  --body: #3d3d3a;
  --soft: #8f8f8a;
  --rule: #e4e4df;
  --tint: #f0f0ec;
  --accent: #2b50ff;
  --wrap: 1240px;
  --sans: 'Schibsted Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'Cascadia Mono', monospace;
}

*, *::before, *::after { box-sizing: border-box; }
/* hidden muss auch gegen display-Regeln von Klassen (.form, .card) gewinnen */
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; line-height: 1.5; }
p, h1, h2, h3, dl, dd, ol, ul { margin: 0; }
a { color: var(--ink); }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.skip { position: absolute; left: 16px; top: -60px; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 8px; z-index: 10; }
.skip:focus { top: 16px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.pad-xl { padding-top: 140px; padding-bottom: 140px; }
.pad-xxl { padding-top: 160px; padding-bottom: 160px; }
.mt-l { margin-top: 48px; }
.mb-l { margin-bottom: 56px; }
.muted { color: var(--muted); }
.soft { color: var(--soft); }
.accent { color: var(--accent); }
.small { font-size: 14px; }
.normal { font-weight: 400; }
.strong { font-weight: 700; }
.rule-top { border-top: 1px solid var(--rule); }
.tinted { background: var(--tint); }

/* Navigation */
.nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 22px; padding-bottom: 22px; }
.brand { text-decoration: none; font-weight: 800; font-size: 18px; letter-spacing: -0.01em; }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; font-size: 15px; }
.nav-links a { text-decoration: none; padding: 8px 0; }

/* Typografie */
.mono-label { font-family: var(--mono); font-size: 13px; letter-spacing: 0.06em; }
.display-1 { margin-top: 16px; font-size: clamp(2.6rem, 6.4vw, 5.8rem); line-height: 1.0; font-weight: 800; letter-spacing: -0.045em; }
.display-2 { margin-top: 16px; font-size: clamp(2.4rem, 5.4vw, 4.8rem); line-height: 1.02; font-weight: 800; letter-spacing: -0.045em; max-width: 900px; }
.display-3 { margin-top: 16px; font-size: clamp(2rem, 4.2vw, 3.6rem); line-height: 1.04; font-weight: 800; letter-spacing: -0.04em; }
.display-slogan { margin-top: 20px; font-size: clamp(2.6rem, 7.6vw, 7rem); line-height: 0.98; font-weight: 800; letter-spacing: -0.05em; max-width: 1100px; }
.lead { margin-top: 24px; max-width: 640px; font-size: 20px; line-height: 1.55; color: var(--body); }
.lead.on-dark { color: #b8b8b2; margin-top: 32px; }

/* Buttons und Links */
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; border-radius: 999px; border: none; font-family: inherit; font-size: 17px; font-weight: 700; text-decoration: none; cursor: pointer; }
.btn-dark { background: var(--ink); color: var(--bg); }
.btn-dark:hover { background: var(--accent); color: #ffffff; }
.btn-light { background: var(--bg); color: var(--ink); }
.btn-light:hover { background: #ffffff; color: var(--accent); }
.btn-block { width: 100%; }
.link-strong { font-size: 17px; font-weight: 600; text-decoration: none; display: inline-block; padding: 12px 0; }

/* Hero */
.hero { padding-top: 120px; padding-bottom: 96px; }
.hero-title { font-size: clamp(2.4rem, 6.6vw, 6.4rem); line-height: 1.04; font-weight: 800; letter-spacing: -0.045em; max-width: 1150px; }
.hero-title a.accent { text-decoration: underline; text-decoration-thickness: 0.06em; text-underline-offset: 0.12em; }
.rot { display: inline-block; transition: opacity 0.35s ease, transform 0.35s ease; }
.rot.is-out { opacity: 0; transform: translateY(0.18em); }
@media (prefers-reduced-motion: reduce) { .rot { transition: none; } }
.hero-foot { margin-top: 64px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 32px; }
.byline { font-size: 18px; }

/* Messwerte */
.proof { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.proof-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.proof-item { padding: 28px 24px 28px 0; }
.proof-item .mono-label { font-size: 12px; color: var(--muted); }
.proof-value { margin: 10px 0 2px; font-size: 34px; font-weight: 800; letter-spacing: -0.03em; }

/* Demo-Kapitel */
.demos-intro { padding-top: 140px; }
.demos-intro .mono-label { color: var(--muted); }
.chapter + .chapter { border-top: 1px solid var(--rule); }
.chapter-inner { padding-top: 100px; padding-bottom: 100px; display: flex; flex-wrap: wrap; align-items: flex-start; gap: 64px; }
.chapter-last .chapter-inner { padding-bottom: 140px; }
.chapter-text { flex: 1 1 420px; min-width: 0; }
.facts { margin: 40px 0 24px; }
.facts > div { padding: 18px 0; border-top: 1px solid var(--rule); }
.facts > div:last-child { border-bottom: 1px solid var(--rule); }
.facts dt { font-size: 14px; font-weight: 700; }
.facts dd { margin-top: 6px; font-size: 18px; line-height: 1.5; color: var(--body); }
.phone { flex: 0 0 auto; width: min(390px, 100%); aspect-ratio: 390 / 844; margin: 11px auto; border-radius: 54px; overflow: hidden; box-shadow: 0 0 0 11px var(--ink), 0 40px 80px -20px rgba(14, 14, 14, 0.35); background: var(--ink); }
.phone iframe { display: block; width: 100%; height: 100%; border: 0; }
@media (min-width: 960px) {
  .chapter-text { position: sticky; top: 40px; }
  .chapter-rev .chapter-inner { flex-direction: row-reverse; }
}
@media (max-width: 480px) {
  .phone { border-radius: 36px; box-shadow: 0 0 0 7px var(--ink); }
}

/* Pilotphase */
.dark { background: var(--ink); color: var(--bg); }
.dark a { color: var(--bg); }
.two-col { margin-top: 72px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 0 64px; }
.col-rule { border-top: 1px solid #2e2e2c; padding: 32px 0; }
.col-head { font-size: 15px; font-weight: 700; color: var(--soft); }
.plain-list { margin-top: 20px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 16px; font-size: 20px; line-height: 1.45; }

/* Ablauf */
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; }
.step-title { margin: 12px 0 6px; font-size: 22px; font-weight: 700; }
.steps .muted { font-size: 17px; }

/* Über mich */
.about-grid { margin-top: 64px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 32px 64px; max-width: 1100px; font-size: 20px; line-height: 1.6; color: var(--body); }

/* Kontakt */
.contact { display: flex; flex-wrap: wrap; gap: 64px; }
.contact-text { flex: 1 1 420px; min-width: 0; }
.mail-big { display: inline-block; margin-top: 40px; font-size: clamp(1.3rem, 2.4vw, 1.8rem); font-weight: 800; letter-spacing: -0.02em; text-decoration: none; overflow-wrap: anywhere; }
.card { background: #ffffff; border-radius: 24px; }
.form { flex: 1 1 420px; min-width: 0; padding: 36px; display: flex; flex-direction: column; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 15px; font-weight: 600; }
.field input, .field textarea { min-height: 48px; padding: 12px 14px; border: 1px solid #b9b9b2; border-radius: 12px; font-family: inherit; font-size: 17px; color: var(--ink); background: #ffffff; }
.field textarea { resize: vertical; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #b42318; }
.form-error { color: #b42318; font-size: 15px; font-weight: 600; }
.form-error a { color: #b42318; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-done { justify-content: center; }
.done-title { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; }
.form-done .lead { margin-top: 8px; }
button[aria-busy="true"] { opacity: 0.6; cursor: progress; }
@media (max-width: 480px) { .form { padding: 24px; } }

/* Footer */
.footer { padding-top: 28px; padding-bottom: 40px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 13px; color: var(--muted); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--muted); padding: 8px 0; }

/* Rechtstexte */
.legal { padding-top: 80px; padding-bottom: 120px; max-width: 760px; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1.05; }
.legal h2 { margin-top: 40px; font-size: 22px; font-weight: 700; }
.legal p, .legal ul { margin-top: 12px; font-size: 17px; line-height: 1.6; color: var(--body); }
.legal ul { padding-left: 20px; }
