/* Belegfluss — shared site styles.
   The landing (index.html) and the legal pages (impressum/datenschutz) all link
   this file so they share one design system. The landing's look is unchanged. */

:root {
  --ink: #0e1726;
  --ink-soft: #41506b;
  --muted: #6b7891;
  --line: #e3e8f0;
  --bg: #ffffff;
  --bg-soft: #f6f8fc;
  --brand: #1a56db;
  --brand-dark: #1442ad;
  --brand-soft: #e8f0ff;
  --accent: #0fae8e;
  --accent-soft: #e3f7f2;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(14,23,38,.05), 0 12px 32px -12px rgba(14,23,38,.18);
  --maxw: 1080px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--brand); color: #fff; font-weight: 600; font-size: 15px;
  padding: 13px 22px; border-radius: 10px; border: none; cursor: pointer;
  transition: background .15s ease, transform .15s ease;
}
.btn:hover { background: var(--brand-dark); transform: translateY(-1px); }
.btn:disabled { opacity: .6; cursor: default; transform: none; }
.btn-ghost { background: transparent; color: var(--brand); padding: 13px 18px; }
.btn-ghost:hover { background: var(--brand-soft); transform: none; }

/* Header */
header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.85); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; letter-spacing: -.02em; }
.logo .mark { width: 30px; height: 30px; border-radius: 8px; background: linear-gradient(135deg, var(--brand), var(--accent)); display: grid; place-items: center; color: #fff; font-size: 16px; }
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a.txt { color: var(--ink-soft); font-weight: 500; font-size: 15px; padding: 8px 12px; }
.nav-links a.txt:hover { color: var(--ink); }
@media (max-width: 720px) { .nav-links a.txt { display: none; } }

/* Hero */
.hero { padding: 84px 0 64px; background: radial-gradient(1200px 500px at 70% -10%, var(--brand-soft), transparent 60%); }
.badge { display: inline-flex; align-items: center; gap: 8px; background: var(--accent-soft); color: #0a7d66; font-weight: 600; font-size: 13px; padding: 6px 13px; border-radius: 999px; margin-bottom: 22px; }
.badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
h1 { font-size: clamp(34px, 5vw, 54px); line-height: 1.08; letter-spacing: -.03em; font-weight: 800; max-width: 16ch; }
h1 .hl { background: linear-gradient(120deg, var(--brand), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { font-size: clamp(17px, 2vw, 20px); color: var(--ink-soft); max-width: 56ch; margin: 22px 0 32px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero-note { color: var(--muted); font-size: 14px; margin-top: 16px; }

/* Trust row */
.trust { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); display: flex; gap: 38px; flex-wrap: wrap; }
.trust .item { }
.trust .num { font-size: 26px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.trust .lbl { font-size: 13.5px; color: var(--muted); max-width: 28ch; }

/* Sections */
section.block { padding: 76px 0; }
.eyebrow { color: var(--brand); font-weight: 700; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
h2 { font-size: clamp(26px, 3.4vw, 36px); line-height: 1.15; letter-spacing: -.025em; font-weight: 800; margin: 10px 0 14px; max-width: 20ch; }
.section-lede { color: var(--ink-soft); font-size: 17px; max-width: 60ch; }

/* Problem grid */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
@media (max-width: 860px) { .grid { grid-template-columns: 1fr; } }
.card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.card .ico { width: 42px; height: 42px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; margin-bottom: 16px; }
.card h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; letter-spacing: -.01em; }
.card p { color: var(--ink-soft); font-size: 15px; }

/* How it works */
.how { background: var(--bg-soft); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 44px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: relative; }
.step .n { font-size: 13px; font-weight: 700; color: var(--brand); background: var(--brand-soft); width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; margin-bottom: 14px; }
.step h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.step p { font-size: 14.5px; color: var(--ink-soft); }

/* Channel split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 44px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.panel { border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.panel.brand { background: var(--ink); color: #fff; border-color: var(--ink); }
.panel h3 { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.panel ul { list-style: none; }
.panel li { padding: 9px 0 9px 28px; position: relative; font-size: 15px; color: var(--ink-soft); }
.panel.brand li { color: #c9d4e8; }
.panel li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

/* Waitlist */
.waitlist { background: linear-gradient(135deg, var(--brand), var(--brand-dark)); color: #fff; }
.waitlist h2 { color: #fff; max-width: 22ch; }
.waitlist .section-lede { color: #d6e2ff; }
.form { margin-top: 32px; max-width: 520px; display: flex; flex-direction: column; gap: 12px; }
.form .row { display: flex; gap: 12px; flex-wrap: wrap; }
.form input, .form select {
  flex: 1 1 200px; min-width: 0; padding: 14px 16px; border-radius: 10px; border: 1px solid transparent;
  font-size: 15px; font-family: inherit; background: #fff; color: var(--ink);
}
.form input::placeholder { color: #94a0b8; }
.form .btn { background: var(--accent); justify-content: center; padding: 15px; font-size: 16px; }
.form .btn:hover { background: #0c9a7d; }
.form .privacy { font-size: 13px; color: #c2d2f5; }
.form .privacy a { text-decoration: underline; }
.form .form-error { display: none; font-size: 13.5px; color: #ffe0e0; background: rgba(0,0,0,.18); border-radius: 8px; padding: 10px 12px; }
.form .form-error a { color: inherit; text-decoration: underline; }
/* Honeypot: visually hidden, kept out of the tab order — real users never see it. */
.hp { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
#form-success { display: none; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); border-radius: var(--radius); padding: 24px; max-width: 520px; margin-top: 32px; }
#form-success h3 { font-size: 18px; margin-bottom: 6px; }
#form-success p { color: #d6e2ff; font-size: 15px; }

/* FAQ */
details { border-bottom: 1px solid var(--line); padding: 20px 0; }
details summary { font-weight: 600; font-size: 17px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; color: var(--brand); font-size: 24px; font-weight: 400; transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--ink-soft); font-size: 15.5px; margin-top: 12px; max-width: 70ch; }

/* Founder */
.founder { display: grid; grid-template-columns: 280px 1fr; gap: 32px; margin-top: 32px; align-items: start; }
@media (max-width: 780px) { .founder { grid-template-columns: 1fr; } }
.founder-card { display: flex; align-items: center; gap: 14px; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.founder-avatar { width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg, var(--brand), var(--accent)); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 20px; flex: none; }
.founder-name { font-weight: 700; font-size: 17px; }
.founder-role { color: var(--muted); font-size: 14px; }
.founder-bio p { color: var(--ink-soft); font-size: 16px; margin-bottom: 14px; }
.founder-bio a { color: var(--brand); text-decoration: underline; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 40px 0; color: var(--muted); font-size: 14px; }
.foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.foot a { color: var(--muted); }
.foot a:hover { color: var(--ink); }
.disclaimer { margin-top: 18px; font-size: 12.5px; color: var(--muted); max-width: 80ch; }

/* ---------------------------------------------------------------------------
   Legal pages (impressum.html, datenschutz.html) — same design system, plain
   document layout. Placeholders to fill in are wrapped in .ph so they stand out.
   --------------------------------------------------------------------------- */
.legal { padding: 56px 0 72px; }
.legal .back { display: inline-block; color: var(--brand); font-weight: 600; font-size: 14px; margin-bottom: 24px; }
.legal h1 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -.025em; max-width: none; margin-bottom: 6px; }
.legal .updated { color: var(--muted); font-size: 14px; margin-bottom: 32px; }
.legal h2 { font-size: 20px; font-weight: 700; letter-spacing: -.01em; max-width: none; margin: 34px 0 10px; }
.legal h3 { font-size: 16px; font-weight: 700; margin: 22px 0 6px; }
.legal p, .legal li { color: var(--ink-soft); font-size: 15.5px; margin-bottom: 12px; }
.legal ul, .legal ol { margin: 0 0 12px 22px; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--brand); text-decoration: underline; }
.legal address { font-style: normal; color: var(--ink); line-height: 1.7; }
.legal .note { background: var(--bg-soft); border: 1px solid var(--line); border-left: 3px solid var(--accent); border-radius: 10px; padding: 16px 18px; font-size: 14px; color: var(--ink-soft); margin: 18px 0; }
