/* Bürgerweg landing page — calm, fast, no JavaScript. Palette matches src/lib/theme.ts. */
:root {
  --bg: #f5f3ee;
  --surface: #ffffff;
  --surface-alt: #eef1ec;
  --text: #1f2a2e;
  --muted: #5f6e73;
  --border: #e6e2da;
  --primary: #4f8a7b;
  --primary-ink: #ffffff;
  --primary-soft: #e1eeea;
  --charcoal: #4a4544;
  --red: #c27a6c;
  --gold: #edcb86;
  --shadow: 0 10px 30px rgba(31, 42, 46, 0.07);
  --radius: 22px;
  --wrap: 1120px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111816;
    --surface: #19221f;
    --surface-alt: #1f2a27;
    --text: #e8eeec;
    --muted: #a3b2ae;
    --border: #26312e;
    --primary: #7fbfae;
    --primary-ink: #0e1513;
    --primary-soft: #22332f;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; border-radius: 8px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 14px; border-radius: 10px; z-index: 9; }
.skip:focus { left: 12px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.site-header .wrap { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; color: var(--text); text-decoration: none; letter-spacing: -0.2px; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.nav a:not(.btn) { color: var(--muted); text-decoration: none; font-size: 15px; }
.nav a:not(.btn):hover { color: var(--text); }
.nav .lang { font-weight: 600; }
@media (max-width: 720px) { .nav .hide-sm { display: none; } }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 24px; border-radius: 16px; font-weight: 600; font-size: 16px; text-decoration: none; transition: transform .15s ease, opacity .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--primary); color: var(--primary-ink); }
.btn-soft { background: var(--primary-soft); color: var(--primary); }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 15px; border-radius: 12px; }

/* Hero */
.hero { padding: 64px 0 40px; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-flex; gap: 8px; align-items: center; background: var(--surface); border: 1px solid var(--border); color: var(--muted); padding: 6px 14px; border-radius: 999px; font-size: 14px; }
.flag-dots { display: inline-flex; gap: 3px; }
.flag-dots i { width: 8px; height: 8px; border-radius: 50%; display: block; }
h1 { font-size: clamp(34px, 5vw, 54px); line-height: 1.1; letter-spacing: -1px; margin: 18px 0 16px; }
.lead { font-size: 19px; color: var(--muted); max-width: 34em; margin: 0 0 28px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; }
.trust { margin-top: 22px; color: var(--muted); font-size: 14px; }
.hero-art { position: relative; justify-self: center; width: min(460px, 100%); }
.hero-art .scene { width: 78%; border-radius: 28%; box-shadow: var(--shadow); }
.hero-art .phone { position: absolute; width: 52%; right: -2%; bottom: -12%; }
@media (max-width: 880px) {
  .hero { padding-top: 36px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 56px; }
  .hero-art { width: min(380px, 92%); margin-bottom: 40px; }
}

/* Facts */
.facts { padding: 24px 0 8px; }
.facts ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.facts li { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 18px; text-align: center; }
.facts strong { display: block; font-size: 30px; letter-spacing: -0.5px; }
.facts span { color: var(--muted); font-size: 14px; }
@media (max-width: 720px) { .facts ul { grid-template-columns: repeat(2, 1fr); } }

/* Sections */
section { scroll-margin-top: 80px; }
.section { padding: 72px 0; }
.section-title { font-size: clamp(28px, 3.6vw, 38px); letter-spacing: -0.6px; line-height: 1.2; margin: 0 0 12px; text-align: center; }
.section-lead { color: var(--muted); text-align: center; max-width: 40em; margin: 0 auto 48px; }

.feature { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: center; margin-bottom: 64px; max-width: 900px; margin-left: auto; margin-right: auto; }
.feature:last-child { margin-bottom: 0; }
.feature:nth-child(even) .feature-media { order: 2; }
.feature-media { justify-self: center; width: min(270px, 72%); }
.feature h3 { font-size: 26px; letter-spacing: -0.3px; margin: 8px 0 12px; }
.feature p { color: var(--muted); margin: 0 0 14px; }
.feature ul { margin: 0; padding-left: 20px; color: var(--muted); }
.feature li { margin: 4px 0; }
.tag { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .6px; text-transform: uppercase; color: var(--primary); }
@media (max-width: 820px) {
  .feature { grid-template-columns: 1fr; gap: 24px; }
  .feature:nth-child(even) .feature-media { order: 0; }
}

/* Platforms */
.alt { background: var(--surface-alt); }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.card h3 { margin: 0 0 8px; font-size: 20px; }
.card p, .card ol { color: var(--muted); margin: 0 0 12px; }
.card ol { padding-left: 20px; }
.badge-soon { display: inline-block; font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--primary-soft); color: var(--primary); }
.option { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 32px 24px; }
.option p { margin-bottom: 20px; }
.option .btn, .option .badge-soon { margin-top: auto; }
.option .badge-soon { padding: 10px 16px; font-size: 15px; border-radius: 12px; }
.option-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; background: var(--primary-soft); color: var(--primary); margin-bottom: 16px; }
.option-icon svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 880px) { .cards { grid-template-columns: 1fr; } }

/* Install guide */
.guides { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.guide { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.guide h3 { margin: 0 0 8px; font-size: 20px; }
.guide dl { margin: 0; }
.guide dl > div { padding: 12px 0; border-top: 1px solid var(--border); }
.guide dl > div:first-child { border-top: 0; }
.guide dt { font-weight: 600; margin-bottom: 2px; }
.guide dd { margin: 0; color: var(--muted); font-size: 15px; }
.guide .arr { color: var(--primary); }
.guide-note { margin: 8px 0 0; color: var(--muted); font-size: 14px; }
.guide-foot { text-align: center; color: var(--muted); max-width: 640px; margin: 24px auto 0; }
@media (max-width: 880px) { .guides { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 4px 20px; margin-bottom: 12px; }
.faq summary { cursor: pointer; font-weight: 600; padding: 14px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--primary); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin: 0 0 16px; }

/* Closing CTA */
.closing { text-align: center; }
.closing .card { max-width: 720px; margin: 0 auto; padding: 40px 24px; }
.closing img { width: 84px; height: 84px; border-radius: 22px; margin: 0 auto 16px; }
.closing .cta { justify-content: center; }

/* Footer */
footer { border-top: 1px solid var(--border); padding: 36px 0 48px; color: var(--muted); font-size: 14px; }
footer .wrap { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 24px; }
footer h2 { font-size: 15px; color: var(--text); margin: 0 0 8px; }
footer ul { list-style: none; margin: 0; padding: 0; }
footer li { margin: 4px 0; }
footer a { color: var(--muted); }
@media (max-width: 720px) { footer .wrap { grid-template-columns: 1fr; } }
