/* Landing page — EUDI Verified Call.
 * Tokens & Regeln: siehe STYLEGUIDE.md (Quelle: public/style.css :root).
 * Mobile-first, Flexbox/Grid, keine Frameworks. */

:root {
  --bg: #f5f8fc;
  --bg-tint: #eef3fa;
  --surface: #ffffff;
  --surface-2: #f1f5f9;
  --border: #e3e9f2;
  --border-strong: #cfd8e6;
  --navy: #0f172a;
  --text: #1b2433;
  --text-muted: #5d6b85;
  --text-faint: #94a3b8;
  --accent: #0369a1;
  --accent-strong: #075e8c;
  --accent-soft: #e3f0f9;
  --ok: #059669;
  --ok-strong: #047857;
  --ok-soft: #e2f5ee;
  --r-sm: 9px;
  --r: 13px;
  --r-lg: 18px;
  --r-pill: 999px;
  --shadow: 0 18px 40px -22px rgba(15, 23, 42, 0.28);
  --shadow-sm: 0 4px 14px -8px rgba(15, 23, 42, 0.22);
  --shadow-btn: 0 8px 18px -8px rgba(3, 105, 161, 0.5);
  --t: 180ms cubic-bezier(0.2, 0.7, 0.3, 1);
  --font: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background:
    radial-gradient(820px 460px at 50% -6%, rgba(3, 105, 161, 0.1), transparent 60%),
    radial-gradient(640px 460px at 100% 0%, rgba(5, 150, 105, 0.07), transparent 55%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
}

/* ---- shared ---- */
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.icon { width: 20px; height: 20px; flex: none; }
h1, h2, h3 { color: var(--navy); line-height: 1.2; margin: 0 0 0.5em; }
p { margin: 0 0 1em; }
.muted { color: var(--text-muted); }

.skip-link {
  position: absolute; left: -999px; top: 8px;
  background: var(--surface); color: var(--accent);
  padding: 10px 16px; border-radius: var(--r-sm); box-shadow: var(--shadow-sm); z-index: 100;
}
.skip-link:focus { left: 8px; }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 26px;
  border: none; border-radius: var(--r-sm);
  font: inherit; font-weight: 600; text-decoration: none; cursor: pointer;
  transition: transform var(--t), filter var(--t), background var(--t), box-shadow var(--t);
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-btn); }
.btn-primary:hover { transform: translateY(-1px); filter: brightness(1.06); }
.btn-ghost { background: var(--surface); color: var(--navy); border: 1px solid var(--border-strong); }
.btn-ghost:hover { background: var(--surface-2); }
.btn:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--accent-soft), 0 0 0 1px var(--accent); }

/* ---- header ---- */
.site-header { padding: 18px 0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo svg { width: 34px; height: 34px; }
.logo strong { color: var(--navy); font-size: 1.05rem; letter-spacing: -0.01em; white-space: nowrap; }
.header-cta { min-height: 40px; padding: 8px 18px; font-size: 0.9rem; }

/* ---- hero ---- */
.hero { padding: clamp(40px, 8vw, 96px) 0 clamp(32px, 6vw, 64px); text-align: center; }
.hero .eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--ok-soft); color: var(--ok-strong);
  border: 1px solid rgba(5, 150, 105, 0.25);
  padding: 5px 14px; border-radius: var(--r-pill);
  font-size: 0.8rem; font-weight: 650; letter-spacing: 0.02em;
  margin-bottom: 22px;
}
.hero .eyebrow .icon { width: 14px; height: 14px; }
.hero h1 {
  font-size: clamp(1.9rem, 4.6vw, 3rem);
  letter-spacing: -0.02em; font-weight: 700;
  max-width: 17em; margin-left: auto; margin-right: auto;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .sub {
  max-width: 640px; margin: 14px auto 30px;
  color: var(--text-muted); font-size: 1.1rem;
}
.hero .cta-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.hero .cta-note { margin-top: 14px; font-size: 0.86rem; color: var(--text-faint); }

/* ---- sections ---- */
.section { padding: clamp(40px, 7vw, 80px) 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.section-head h2 { font-size: clamp(1.4rem, 2.8vw, 1.9rem); letter-spacing: -0.01em; }
.section-head p { color: var(--text-muted); }

/* ---- how it works: 3 steps ---- */
.steps { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 20px; } }
.step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  padding: 26px 24px 24px;
}
.step .step-no {
  position: absolute; top: 22px; right: 22px;
  color: var(--text-faint); font-weight: 700; font-size: 0.86rem;
  font-variant-numeric: tabular-nums;
}
.step .step-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: var(--r);
  background: var(--accent-soft); color: var(--accent);
  margin-bottom: 16px;
}
.step .step-icon .icon { width: 22px; height: 22px; }
.step h3 { font-size: 1.05rem; }
.step p { color: var(--text-muted); font-size: 0.94rem; margin: 0; }

/* ---- tech & privacy ---- */
.privacy { display: grid; grid-template-columns: 1fr; gap: 16px; }
@media (min-width: 768px) { .privacy { grid-template-columns: repeat(2, 1fr); gap: 20px; } }
.privacy-card {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  padding: 22px;
}
.privacy-card .p-icon {
  flex: none; display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: var(--r-sm);
  background: var(--ok-soft); color: var(--ok-strong);
}
.privacy-card h3 { font-size: 1rem; margin-bottom: 4px; }
.privacy-card p { color: var(--text-muted); font-size: 0.92rem; margin: 0; }

/* ---- final CTA ---- */
.cta-final {
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  padding: clamp(32px, 6vw, 56px) 24px;
}
.cta-final h2 { font-size: clamp(1.3rem, 2.6vw, 1.7rem); }
.cta-final p { color: var(--text-muted); max-width: 480px; margin: 0 auto 24px; }

/* ---- footer ---- */
.site-footer { padding: 40px 0 48px; }
.site-footer .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  border-top: 1px solid var(--border); padding-top: 24px;
  font-size: 0.85rem; color: var(--text-faint);
}
.site-footer a { color: var(--text-muted); text-decoration: none; }
.site-footer a:hover { color: var(--accent); text-decoration: underline; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 18px; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
