:root {
  --bg: #f6f5f1;
  --card: #ffffff;
  --text: #1c1c1a;
  --muted: #5f5e5a;
  --line: #e2e0d8;
  --accent: #a0262b;
  --accent-text: #ffffff;
  --badge-bg: #e3f1e6;
  --badge-text: #24603a;
  --error: #a32d2d;
  --radius: 10px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #161615;
    --card: #20201e;
    --text: #f1efe8;
    --muted: #b4b2a9;
    --line: #3a3a37;
    --accent: #f09595;
    --accent-text: #3a0a0c;
    --badge-bg: #1f3a28;
    --badge-text: #a8dcb6;
    --error: #f09595;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}
a { color: var(--accent); }
.wrap { max-width: 860px; margin: 0 auto; padding: 0 16px; }

/* Sprachen */
html[lang="de"] .en, html[lang="en"] .de { display: none; }

/* Kopfzeile */
header .wrap {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 18px; padding-bottom: 18px;
}
.logo { font-weight: 600; text-decoration: none; color: var(--text); }
.sprache { display: flex; gap: 4px; }
.sprache button {
  font: inherit; font-size: 14px; cursor: pointer;
  background: none; border: 1px solid transparent; border-radius: 6px;
  color: var(--muted); padding: 4px 10px;
}
.sprache button[aria-pressed="true"] { border-color: var(--line); color: var(--text); background: var(--card); }

/* Blickfang */
.hero { text-align: center; padding: 56px 0 40px; }
.badge {
  display: inline-block; background: var(--badge-bg); color: var(--badge-text);
  font-size: 14px; font-weight: 500; padding: 5px 14px; border-radius: 999px;
}
.hero h1 {
  font-size: clamp(34px, 9.5vw, 92px); line-height: 1.1; letter-spacing: -0.03em;
  margin: 20px 0 12px; font-weight: 700; overflow-wrap: anywhere;
}
.hero p { color: var(--muted); font-size: 19px; margin: 0 auto 28px; max-width: 34em; }
.knopf {
  display: inline-block; font: inherit; font-weight: 600; cursor: pointer;
  background: var(--accent); color: var(--accent-text);
  border: 0; border-radius: var(--radius); padding: 14px 26px; text-decoration: none;
}
.knopf:hover { filter: brightness(1.08); }

/* Vorteile */
.vorteile {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px; margin: 0 0 48px; padding: 0; list-style: none;
}
.vorteile li {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 20px;
}
.vorteile strong { display: block; margin-bottom: 4px; }
.vorteile span { color: var(--muted); font-size: 15px; }

/* Abschnitte */
section.karte {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
  padding: 28px 24px; margin-bottom: 28px;
}
section.karte h2 { margin: 0 0 6px; font-size: 26px; }
.hinweis { color: var(--muted); margin: 0 0 22px; }

/* Formular */
.felder { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.feld { display: flex; flex-direction: column; gap: 6px; }
.feld.breit { grid-column: 1 / -1; }
label { font-size: 15px; font-weight: 500; }
.optional { color: var(--muted); font-weight: 400; }
input[type="text"], input[type="email"], input[type="number"], textarea {
  font: inherit; color: var(--text); background: var(--bg);
  border: 1px solid var(--line); border-radius: 8px; padding: 11px 12px; width: 100%;
}
input:focus, textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
textarea { min-height: 110px; resize: vertical; }
.preis { position: relative; }
.preis input { padding-right: 36px; }
.preis::after { content: "€"; position: absolute; right: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.zustimmung { display: flex; gap: 10px; align-items: flex-start; margin: 20px 0; font-size: 15px; font-weight: 400; }
.zustimmung input { margin-top: 5px; width: 18px; height: 18px; flex: none; }
.falle { position: absolute; left: -9999px; }
.fehler { color: var(--error); font-size: 14px; min-height: 1em; margin: 0 0 12px; }

/* Ablauf */
.ablauf { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; counter-reset: schritt; }
.ablauf li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; counter-increment: schritt; }
.ablauf li::before {
  content: counter(schritt);
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg); border: 1px solid var(--line); font-weight: 600; color: var(--accent);
}
.ablauf strong { display: block; }
.ablauf span { color: var(--muted); font-size: 15px; }

/* Fußzeile */
footer { color: var(--muted); font-size: 14px; padding: 12px 0 40px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }
footer nav { display: flex; gap: 18px; }
footer a { color: var(--muted); }

/* Unterseiten */
.text { padding-top: 32px; padding-bottom: 24px; }
.text h1 { font-size: 34px; margin: 0 0 20px; }
.text h2 { font-size: 20px; margin: 28px 0 8px; }
.text p, .text li { color: var(--text); }
.danke { text-align: center; padding-top: 80px; padding-bottom: 80px; }
.danke h1 { font-size: 40px; margin: 0 0 12px; }
.danke p { color: var(--muted); margin: 0 auto 28px; max-width: 30em; }
