/* Happy Dose — Landingpage. Farben und Schrift folgen der App (HDTheme.swift). */
:root {
  --bg: #fdf4e6;
  --bg-warm: #fcebd3;
  --card: #fffaef;
  --ink: #462e19;
  --muted: #7d6b5a;
  --line: #e8d8bf;
  --orange: #f06e14;
  --orange-soft: #fdf1de;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 18px/1.6 var(--sans);
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration-color: var(--orange); text-underline-offset: 3px; }
a:hover { color: var(--orange); }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: 1040px; margin: 0 auto; padding: 0 24px; }

/* Kopf */
.top { display: flex; align-items: center; justify-content: space-between; padding: 22px 0; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none;
  font: 700 22px var(--serif); color: var(--orange); }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.lang { font-size: 15px; color: var(--muted); }
.lang a { text-decoration: none; padding: 4px 2px; }
.lang [aria-current] { color: var(--ink); font-weight: 600; }

/* Hero */
.hero { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center;
  padding: 36px 0 88px; }
.kicker { font-size: 15px; color: var(--muted); margin: 0 0 14px; letter-spacing: .02em; }
h1 { font: 700 clamp(38px, 5.6vw, 64px)/1.08 var(--serif); margin: 0 0 26px; letter-spacing: -0.01em; }
.lead { font-size: 21px; line-height: 1.5; max-width: 30em; margin: 0 0 30px; }
.release { display: inline-block; margin: 0; padding: 12px 20px; border-radius: 999px;
  background: var(--orange); color: #fff; font-weight: 600; font-size: 16px; }
.small { font-size: 15px; color: var(--muted); margin: 14px 0 0; }

.shot { border-radius: 34px; border: 1px solid var(--line);
  box-shadow: 0 14px 34px rgba(139, 94, 42, .12); background: var(--card); }
.hero .shot { max-width: 320px; margin-left: auto; }

/* Abschnitte */
section { padding: 72px 0; border-top: 1px solid var(--line); }
h2 { font: 700 clamp(28px, 3.6vw, 40px)/1.15 var(--serif); margin: 0 0 22px; max-width: 18em; }
p { margin: 0 0 1em; max-width: 36em; }

.split { display: grid; grid-template-columns: 1fr 300px; gap: 64px; align-items: start; }
.split.flip { grid-template-columns: 300px 1fr; }
.split.flip .shot { order: -1; }

/* Ablauf */
.steps { list-style: none; margin: 28px 0 0; padding: 0; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding: 0 0 22px 56px; max-width: 34em; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -6px;
  font: 700 38px/1 var(--serif); color: var(--orange); }
.steps b { font-weight: 650; }

/* Beispiele */
.doses { list-style: none; margin: 28px 0 0; padding: 0; border-top: 1px solid var(--line); }
.doses li { display: flex; justify-content: space-between; gap: 24px; align-items: baseline;
  padding: 16px 0; border-bottom: 1px solid var(--line); font: 21px/1.35 var(--serif); }
.doses span { font: 14px var(--sans); color: var(--muted); white-space: nowrap; }

/* Bereich mit getöntem Grund */
.warm { background: var(--bg-warm); border-top: 0;
  box-shadow: 0 0 0 100vmax var(--bg-warm); clip-path: inset(0 -100vmax); }

.facts { margin: 8px 0 0; padding: 0; list-style: none; max-width: 36em; }
.facts li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.facts li:last-child { border-bottom: 0; }

.price { font: 20px/1.5 var(--serif); }

/* Fuß */
footer { padding: 40px 0 56px; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }
footer p { max-width: 46em; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-bottom: 18px; }

@media (max-width: 820px) {
  body { font-size: 17px; }
  .hero { grid-template-columns: 1fr; gap: 40px; padding-bottom: 56px; }
  .hero .shot { margin: 0; max-width: 280px; }
  .split, .split.flip { grid-template-columns: 1fr; gap: 32px; }
  .split.flip .shot { order: 0; }
  .split .shot { max-width: 280px; }
  section { padding: 52px 0; }
  .doses li { flex-direction: column; gap: 4px; }
}

/* Rechtstexte */
.legal h2 { font-size: 24px; margin: 40px 0 12px; max-width: none; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { max-width: 42em; }
.legal ul { padding-left: 1.2em; margin: 0 0 1em; }
.todo { background: #fff0b3; padding: 0 4px; border-radius: 3px; }
.stand { color: var(--muted); font-size: 15px; }
