/* SiestaStop – Webseite. Farben wie in der App (src/theme.ts). */
:root {
  --bg: #f3f5fa;
  --surface: #ffffff;
  --surface-muted: #eaeef6;
  --text: #0e1a2b;
  --muted: #5d6b82;
  --border: #dce2ee;
  --accent: #2f6bff;
  --accent-soft: #e3ebff;
  --hero-from: #1b3faf;
  --hero-to: #3d7bff;
  --gold: #ffd36b;
  --radius: 20px;
  --shadow: 0 10px 30px rgba(14, 26, 43, 0.08);
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1220;
    --surface: #141d2f;
    --surface-muted: #1c2740;
    --text: #eef2fa;
    --muted: #93a1ba;
    --border: #24314d;
    --accent: #5b8cff;
    --accent-soft: #1c2a4d;
    --hero-from: #0f2366;
    --hero-to: #2a55c9;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }

/* Kopfzeile */
.top {
  position: absolute; inset: 0 0 auto; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px max(16px, calc((100% - 1120px) / 2));
}
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 700; font-size: 18px; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.langs { display: flex; gap: 4px; }
.langs a {
  color: rgba(255, 255, 255, 0.85); text-decoration: none; font-size: 14px; font-weight: 600;
  padding: 6px 9px; border-radius: 999px;
}
.langs a[aria-current="page"] { background: rgba(255, 255, 255, 0.18); color: #fff; }

/* Hero */
.hero {
  background: linear-gradient(135deg, var(--hero-from), var(--hero-to));
  color: #fff; padding: 110px 0 0; overflow: hidden;
  border-radius: 0 0 36px 36px;
}
.hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: end; }
.hero h1 { font-size: clamp(36px, 6vw, 60px); line-height: 1.05; margin: 0 0 18px; letter-spacing: -0.02em; }
.hero p.lead { font-size: clamp(18px, 2.2vw, 21px); color: rgba(255, 255, 255, 0.88); margin: 0 0 28px; max-width: 34ch; }
.hero .copy { padding-bottom: 80px; }
.badges { display: flex; flex-wrap: wrap; gap: 12px; }
.badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: #0b0f19; color: #fff; text-decoration: none;
  padding: 10px 18px 10px 14px; border-radius: 14px; min-width: 180px;
  border: 1px solid rgba(255, 255, 255, 0.18);
}
.badge svg { width: 26px; height: 26px; flex: none; }
.badge small { display: block; font-size: 11px; opacity: 0.8; line-height: 1.2; }
.badge strong { display: block; font-size: 18px; line-height: 1.2; }
.badge.soon { opacity: 0.6; pointer-events: none; }
.note { margin-top: 18px; font-size: 15px; color: rgba(255, 255, 255, 0.8); }
.phone {
  justify-self: center; width: min(320px, 80vw); aspect-ratio: 390 / 800;
  border-radius: 44px 44px 0 0; padding: 12px 12px 0; background: #0b0f19;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35); overflow: hidden;
}
.phone img { border-radius: 32px 32px 0 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* Abschnitte */
section { padding: 88px 0 0; }
h2 { font-size: clamp(28px, 4vw, 40px); line-height: 1.15; margin: 0 0 12px; letter-spacing: -0.01em; }
.sub { color: var(--muted); margin: 0 0 40px; font-size: 19px; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow);
}
.card h3 { margin: 14px 0 6px; font-size: 19px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }
.icon {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent);
}
.icon svg { width: 24px; height: 24px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { text-align: center; }
.step .shot {
  border-radius: 28px; overflow: hidden; border: 1px solid var(--border);
  box-shadow: var(--shadow); max-width: 280px; margin: 0 auto 20px; aspect-ratio: 390 / 700;
}
.step .shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.step .num {
  display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--accent); color: #fff; font-weight: 700; font-size: 15px; margin-bottom: 8px;
}
.step h3 { margin: 0 0 4px; font-size: 20px; }
.step p { margin: 0; color: var(--muted); }

.plus {
  background: linear-gradient(135deg, var(--hero-from), var(--hero-to)); color: #fff;
  border-radius: 32px; padding: clamp(28px, 5vw, 56px);
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center;
}
.plus h2 { color: #fff; }
.plus .sub { color: rgba(255, 255, 255, 0.85); margin-bottom: 0; }
.plus ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.plus li { display: flex; gap: 12px; align-items: flex-start; font-size: 17px; }
.plus li::before { content: "✓"; color: var(--gold); font-weight: 800; }

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

.contact { text-align: center; padding-bottom: 88px; }
.contact a.mail {
  display: inline-block; margin-top: 8px; font-size: 20px; font-weight: 700; text-decoration: none;
  padding: 14px 26px; border-radius: 14px; background: var(--accent); color: #fff;
}

footer { border-top: 1px solid var(--border); padding: 28px 0 40px; color: var(--muted); font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; }
footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
footer a { color: var(--muted); }

/* Rechtstexte */
.legal-head { background: linear-gradient(135deg, var(--hero-from), var(--hero-to)); color: #fff; padding: 110px 0 48px; border-radius: 0 0 36px 36px; }
.legal-head h1 { margin: 0; font-size: clamp(32px, 5vw, 46px); }
.legal { max-width: 780px; padding: 48px 0 80px; }
.legal h2 { font-size: 24px; margin: 36px 0 8px; }
.legal p, .legal li { color: var(--text); }
.legal .meta { color: var(--muted); }

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero .copy { padding-bottom: 0; text-align: center; }
  .hero p.lead { margin-inline: auto; }
  .badges { justify-content: center; }
  .phone { margin-top: 12px; }
  .grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; gap: 48px; }
  .plus { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .grid { grid-template-columns: 1fr; }
  .brand span { display: none; }
  section { padding-top: 64px; }
}
.notfound { text-align: center; }
.about p { max-width: 72ch; color: var(--muted); font-size: 18px; margin: 0 0 16px; }
