/* Schriften liegen auf dem eigenen Server (keine Verbindung zu Google) */
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/bricolage-grotesque-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 800; font-display: swap; src: url('../fonts/bricolage-grotesque-latin-800-normal.woff2') format('woff2'); }
@font-face { font-family: 'Public Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url('../fonts/public-sans-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Public Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url('../fonts/public-sans-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Public Sans'; font-style: normal; font-weight: 700; font-display: swap; src: url('../fonts/public-sans-latin-700-normal.woff2') format('woff2'); }

/* Farben: --accent ist die Hauptfarbe. Alternativen: #0F766E (Petrol), #7C3AED (Violett), #C2410C (Orange) */
:root {
  --accent: #1D4ED8;
  --accent-dark: #1E3A8A;
  --ink: #101828;
  --ink-2: #344054;
  --muted: #475467;
  --muted-2: #5B6475;
  --line: #E4E7EC;
  --line-2: #D0D5DD;
  --field: #98A2B3;
  --bg: #F4F6F8;
  --navy: #0B1020;
  --navy-2: #0F1629;
  --navy-3: #131B2E;
  --navy-line: #26324D;
  --on-navy: #C3CCDD;
  --on-navy-2: #93A0B8;
  --sky: #8FB0FF;
  --amber: #F5B544;
  --display: 'Bricolage Grotesque', 'Public Sans', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: 'Public Sans', system-ui, sans-serif; color: var(--ink); background: var(--bg); line-height: 1.5; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }
img { max-width: 100%; display: block; }
a { color: var(--accent); }
a:hover { color: var(--accent-dark); }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }
h1, h2, h3, p, ul, ol { margin: 0; }
.skip { position: absolute; left: -9999px; top: 0; background: #fff; color: var(--ink); padding: 12px 16px; z-index: 10; }
.skip:focus { left: 16px; top: 16px; }

/* Layout */
.wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.section { padding-top: 96px; padding-bottom: 96px; }
.stack { display: flex; flex-direction: column; }
.row { display: flex; flex-wrap: wrap; gap: 20px; }
.bg-white { background: #fff; }
.dark { background-color: var(--navy); background-image: radial-gradient(rgba(143, 176, 255, 0.13) 1px, transparent 1px); background-size: 26px 26px; color: #fff; }

/* Typo */
.eyebrow { font-size: 14px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); }
.eyebrow-amber { color: var(--amber); }
.h1 { font-family: var(--display); font-weight: 800; font-size: clamp(40px, 5.4vw, 68px); line-height: 1.02; letter-spacing: -0.03em; }
.h2 { font-family: var(--display); font-weight: 800; font-size: clamp(32px, 3.8vw, 48px); line-height: 1.06; letter-spacing: -0.025em; }
.h3 { font-size: 20px; line-height: 1.3; font-weight: 700; }
.lead { font-size: 18px; line-height: 1.6; color: var(--muted); }
.dark .lead { color: var(--on-navy); }
.head { display: flex; flex-direction: column; gap: 14px; max-width: 760px; }
.small { font-size: 13px; color: var(--muted-2); }
.hl-amber { color: var(--amber); }
.hl-sky { color: var(--sky); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 14px 24px; border-radius: 10px; font: inherit; font-weight: 700; font-size: 17px; text-decoration: none; cursor: pointer; border: 0; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { color: #fff; filter: brightness(1.1); }
.btn-ghost { border: 1px solid #3A4766; color: #fff; font-weight: 600; background: transparent; }
.btn-ghost:hover { color: #fff; border-color: var(--on-navy-2); }
.btn-outline { min-height: 48px; border: 1px solid var(--field); color: var(--ink); font-weight: 600; background: #fff; font-size: 16px; }
.btn-outline:hover { color: var(--ink); border-color: var(--ink); }
.btn-white { background: #fff; color: var(--ink); min-height: 56px; padding: 14px 28px; }
.btn-white:hover { color: var(--ink); }
.btn-block { display: flex; width: 100%; }
.btn[disabled] { opacity: 0.7; cursor: wait; }

/* Häkchen-Icon */
.ic { flex: none; width: 18px; height: 18px; fill: var(--accent); }
.ic-lg { width: 22px; height: 22px; }
.checks { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; line-height: 1.45; }
.checks li { display: flex; gap: 10px; }
.checks .ic { margin-top: 2px; }

/* Kopfzeile */
.topbar-bg { background: var(--navy); color: #fff; border-bottom: 1px solid #1E2840; }
.topbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 16px; padding-bottom: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; min-height: 44px; font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: -0.01em; }
.brand:hover { color: #fff; }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 22px; font-size: 15px; }
.nav a:not(.btn) { color: var(--on-navy); text-decoration: none; padding: 10px 0; }
.nav a:not(.btn):hover { color: #fff; }
.nav .btn { min-height: 44px; padding: 10px 18px; font-size: 15px; font-weight: 600; border-radius: 8px; }

/* Hero */
.hero { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; justify-content: space-between; padding-top: 48px; padding-bottom: 96px; }
.hero-text { flex: 1 1 500px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.pill { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border: 1px solid var(--navy-line); border-radius: 999px; background: var(--navy-3); font-size: 14px; font-weight: 600; color: var(--on-navy); }
.pill-dot { width: 8px; height: 8px; border-radius: 4px; background: var(--amber); }
.hero-sub { font-size: 19px; line-height: 1.6; color: var(--on-navy); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-checks { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 15px; color: var(--on-navy); }
.hero-checks li { display: flex; gap: 8px; align-items: center; }

/* KI-Chat-Demo */
.chat { flex: 1 1 420px; min-width: 0; max-width: 520px; background: #fff; color: var(--ink); border-radius: 20px; box-shadow: 0 40px 80px rgba(0, 0, 0, 0.45); overflow: hidden; }
.chat-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: #F9FAFB; }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.tab { padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; background: #EEF0F3; color: var(--ink-2); }
.tab.is-on { background: var(--accent); color: #fff; }
.live { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--muted-2); }
.live-dot { width: 7px; height: 7px; border-radius: 4px; background: #12B76A; }
.chat-body { padding: 22px; display: flex; flex-direction: column; gap: 18px; min-height: 400px; }
.bubble { align-self: flex-end; max-width: 88%; background: var(--ink); color: #fff; border-radius: 16px 16px 4px 16px; padding: 12px 16px; font-size: 15px; line-height: 1.45; min-height: 46px; }
.caret { display: inline-block; width: 2px; height: 1em; margin-left: 2px; vertical-align: -2px; background: var(--sky); visibility: hidden; animation: caret 1s linear infinite; }
.answer { display: flex; gap: 12px; align-items: flex-start; }
.avatar { flex: none; width: 32px; height: 32px; border-radius: 16px; background: var(--accent); display: flex; align-items: center; justify-content: center; }
.answer-col { position: relative; flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.thinking { position: absolute; top: 8px; left: 0; display: flex; gap: 5px; opacity: 0; }
.thinking span { width: 8px; height: 8px; border-radius: 4px; background: var(--field); animation: tdot 1.2s ease-in-out infinite; }
.thinking span:nth-child(2) { animation-delay: 0.2s; }
.thinking span:nth-child(3) { animation-delay: 0.4s; }
.intro { padding-top: 4px; font-size: 15px; color: var(--ink-2); }
.recs { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.rec { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.rec-n { flex: none; width: 26px; height: 26px; border-radius: 13px; background: #EEF0F3; font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; color: var(--ink-2); }
.rec-name { display: block; font-size: 15px; font-weight: 700; }
.rec-meta { display: block; font-size: 13px; color: var(--muted-2); }
.miss { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 12px; background: #FFF4E0; border: 1px solid var(--amber); color: #7A4B00; font-size: 15px; }
.chat-foot { padding: 10px 18px 14px; font-size: 12px; color: var(--muted-2); border-top: 1px solid var(--line); }

/* Laufband */
.ticker { background: var(--navy-2); border-top: 1px solid #1E2840; border-bottom: 1px solid #1E2840; overflow: hidden; }
.ticker-inner { display: flex; align-items: center; }
.ticker-label { flex: none; padding: 18px 20px 18px 24px; font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--amber); background: var(--navy-2); position: relative; z-index: 1; }
.ticker-view { flex: 1 1 auto; min-width: 0; overflow: hidden; }
.ticker-track { display: flex; width: max-content; padding: 14px 0; animation: marquee 60s linear infinite; }
.ticker-track:hover { animation-play-state: paused; }
.ticker-set { display: flex; gap: 12px; padding-right: 12px; }
.chip-q { flex: none; padding: 8px 16px; border: 1px solid var(--navy-line); border-radius: 999px; background: var(--navy-3); color: var(--on-navy); font-size: 15px; white-space: nowrap; }

/* Zahlen */
.stat { flex: 1 1 320px; min-width: 0; background: var(--bg); border-radius: 18px; padding: 26px; display: flex; align-items: center; gap: 22px; }
.ring { flex: none; width: 96px; height: 96px; }
.ring .track { fill: var(--line); }
.ring .val { fill: var(--accent); }
.stat-num { font-family: var(--display); font-size: 50px; font-weight: 800; line-height: 1; letter-spacing: -0.03em; }
.stat-text { font-size: 16px; line-height: 1.5; color: var(--ink-2); }

/* Punkte-Raster */
.dots-box { background: var(--navy); border-radius: 24px; padding: clamp(20px, 4vw, 40px); display: flex; flex-direction: column; gap: 28px; color: #fff; }
.dots-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 40px; }
.dots-title { font-family: var(--display); font-weight: 700; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.15; letter-spacing: -0.02em; max-width: 680px; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; color: var(--on-navy); list-style: none; padding: 0; }
.legend li { display: flex; align-items: center; gap: 8px; }
.sw { flex: none; width: 12px; height: 12px; border-radius: 6px; }
.dot-grid { display: grid; grid-template-columns: repeat(50, minmax(0, 1fr)); }
.dot { display: block; aspect-ratio: 1; padding: 20%; border-radius: 50%; background-color: #3A4766; background-clip: content-box; }
.dot.is-hl { background-color: var(--sky); transform: scale(1.35); }
.dots-note { font-size: 13px; color: var(--on-navy-2); }

/* Schritte */
.track-wrap { position: relative; height: 44px; }
.track-line { position: absolute; left: 16.66%; right: 16.66%; top: 20px; height: 4px; border-radius: 2px; background: var(--line); overflow: hidden; }
.track-fill { width: 100%; height: 4px; background: var(--accent); }
.node { position: absolute; top: 0; width: 44px; height: 44px; border-radius: 22px; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--display); font-size: 20px; font-weight: 700; }
.node-1 { left: calc(16.66% - 22px); }
.node-2 { left: calc(50% - 22px); }
.node-3 { left: calc(83.33% - 22px); }
.step { flex: 1 1 300px; min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.step-ic { width: 48px; height: 48px; border-radius: 12px; background: #EEF2FB; display: flex; align-items: center; justify-content: center; color: var(--accent); }
.step p { font-size: 16px; line-height: 1.6; color: var(--muted); }

/* Beispiel-Ergebnis */
.split { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.split-text { flex: 1 1 360px; min-width: 0; }
.result { flex: 1 1 540px; min-width: 0; background: var(--bg); border: 1px solid var(--line); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 24px; }
.result-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; font-size: 16px; font-weight: 700; }
.tag { font-size: 13px; font-weight: 600; color: var(--ink-2); background: var(--line); border-radius: 999px; padding: 4px 12px; }
.score { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; }
.gauge { position: relative; flex: 0 1 240px; min-width: 0; }
.gauge svg { display: block; width: 100%; height: auto; }
.gauge .track { fill: var(--line); }
.gauge .val { fill: var(--accent); }
.gauge-num { position: absolute; left: 0; right: 0; bottom: 4px; text-align: center; }
.gauge-num b { font-family: var(--display); font-size: 52px; font-weight: 800; line-height: 1; letter-spacing: -0.03em; }
.gauge-num span { font-size: 16px; color: var(--muted); }
.score-text { flex: 1 1 220px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.bars { display: flex; flex-direction: column; gap: 12px; }
.bar-row { display: flex; align-items: center; gap: 12px; }
.bar-name { flex: 0 0 96px; font-size: 15px; font-weight: 600; }
.bar { flex: 1 1 auto; height: 10px; border-radius: 5px; background: var(--line-2); overflow: hidden; }
.bar-fill { height: 10px; border-radius: 5px; background: var(--accent); }
.bar-val { flex: 0 0 64px; text-align: right; font-size: 14px; color: var(--ink-2); }
.label { font-size: 14px; font-weight: 700; color: var(--ink-2); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: 14px; background: #fff; border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 12px; }
.todo { padding-left: 22px; display: flex; flex-direction: column; gap: 6px; font-size: 15px; line-height: 1.5; }

/* Check + Formular */
.check { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; justify-content: space-between; }
.check-left { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 22px; }
.radar-row { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 32px; }
.radar { flex: 0 1 300px; width: 100%; max-width: 300px; height: auto; }
.legend-col { flex-direction: column; gap: 12px; font-size: 15px; }
.form-card { flex: 1 1 380px; min-width: 0; max-width: 460px; background: #fff; color: var(--ink); border-radius: 18px; padding: 28px; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35); }
.form { display: flex; flex-direction: column; gap: 16px; }
.form-title { font-family: var(--display); font-size: 26px; line-height: 1.15; font-weight: 700; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; }
.field input { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--field); border-radius: 8px; font: inherit; font-size: 16px; color: var(--ink); background: #fff; }
.field input:focus { border-color: var(--accent); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { padding: 10px 12px; border-radius: 8px; background: #FEF3F2; border: 1px solid #FDA29B; color: #912018; font-size: 14px; }
.form-note { font-size: 13px; line-height: 1.5; color: var(--muted-2); }
.done { display: flex; flex-direction: column; gap: 16px; padding: 8px 0; }
.done .btn { align-self: flex-start; }

/* Preise */
.price { flex: 1 1 240px; min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 28px 24px; display: flex; flex-direction: column; gap: 16px; position: relative; }
.price-head { display: flex; flex-direction: column; gap: 4px; min-height: 52px; }
.price-head p { font-size: 15px; color: var(--muted); }
.price-amt { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; min-height: 64px; }
.price-amt b { font-family: var(--display); font-size: 46px; font-weight: 800; line-height: 1; letter-spacing: -0.02em; }
.price-amt span { font-size: 15px; color: var(--muted); }
.price-amt .sub { flex-basis: 100%; font-size: 14px; }
.price .checks { flex: 1 1 auto; }
.price-featured { background: var(--navy); color: #fff; border: 2px solid var(--accent); padding: 27px 23px; }
.price-featured .price-head p, .price-featured .price-amt span { color: var(--on-navy); }
.price-featured .checks { color: var(--line); }
.badge { position: absolute; top: -14px; left: 22px; background: var(--accent); color: #fff; font-size: 13px; font-weight: 700; border-radius: 999px; padding: 4px 12px; }
.lift { transition: transform 0.25s ease, box-shadow 0.25s ease; }
.lift:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(16, 24, 40, 0.14); }

/* Persönlich */
.photo { flex: 0 1 300px; min-width: 0; height: 340px; border: 2px dashed var(--field); border-radius: 18px; background: var(--bg); display: flex; align-items: center; justify-content: center; color: var(--muted); font-size: 16px; font-weight: 600; overflow: hidden; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-mono { border: 0; background-color: var(--navy); background-image: radial-gradient(rgba(143, 176, 255, 0.13) 1px, transparent 1px); background-size: 26px 26px; flex-direction: column; gap: 16px; color: var(--on-navy); }
.mono { width: 132px; height: 132px; border-radius: 66px; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--display); font-size: 52px; font-weight: 800; letter-spacing: -0.02em; }
.mono-cap { font-size: 15px; font-weight: 600; }
.about { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.about .checks { font-size: 16px; gap: 12px; }
.about .checks li { align-items: center; }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 32px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 22px; }
.faq summary { padding: 18px 0; font-size: 17px; font-weight: 600; cursor: pointer; }
.faq details p { margin: 0 0 20px; font-size: 16px; line-height: 1.6; color: var(--muted); }

/* Abschluss + Fußzeile */
.cta { background: var(--accent); color: #fff; }
.cta-inner { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; justify-content: space-between; padding-top: 64px; padding-bottom: 64px; }
.cta-text { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.cta .h2 { font-size: clamp(30px, 3.4vw, 42px); }
.cta p { font-size: 18px; line-height: 1.6; }
.footer { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; padding-top: 32px; padding-bottom: 40px; font-size: 14px; color: var(--muted); }
.footer nav { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.footer a { color: var(--ink-2); padding: 10px 0; }

/* Unterseiten (Impressum, Datenschutz, Danke) */
.page-top { padding-top: 16px; padding-bottom: 16px; }
.legal { max-width: 760px; margin: 0 auto; padding: 64px 24px 96px; display: flex; flex-direction: column; gap: 18px; font-size: 17px; line-height: 1.65; }
.legal h1 { font-family: var(--display); font-weight: 800; font-size: clamp(32px, 4vw, 44px); line-height: 1.1; }
.legal h2 { font-size: 20px; margin-top: 12px; }
.note-box { padding: 14px 16px; border-radius: 10px; background: #FFF4E0; border: 1px solid var(--amber); color: #7A4B00; font-size: 15px; }

/* Animationen */
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes caret { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
@keyframes tdot { 0%, 80%, 100% { opacity: 0.25; } 40% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ticker-track, .caret, .thinking span { animation: none !important; }
  .lift { transition: none; }
  .lift:hover { transform: none; }
}

@media (max-width: 640px) {
  .section { padding-top: 64px; padding-bottom: 64px; }
  .hero { padding-top: 24px; padding-bottom: 64px; gap: 40px; }
  .chat-body { min-height: 0; }
  .ticker-label { display: none; }
}
