:root {
  --grund: #ffffff;
  --flaeche: #f4f6f8;
  --text: #1b2430;
  --gedaempft: #5a6675;
  --linie: #d9dee5;
  --akzent: #0b5c8f;
  --akzent-text: #ffffff;
  --hinweis: #8a5a00;
  --hinweis-flaeche: #fff6e0;
  --radius: 10px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --grund: #11161c;
    --flaeche: #19212a;
    --text: #e6eaef;
    --gedaempft: #a2adba;
    --linie: #2c3744;
    --akzent: #5fb0e6;
    --akzent-text: #0b1620;
    --hinweis: #f0c060;
    --hinweis-flaeche: #2b2414;
  }
}
:root[data-theme="dark"] {
  --grund: #11161c; --flaeche: #19212a; --text: #e6eaef; --gedaempft: #a2adba; --linie: #2c3744;
  --akzent: #5fb0e6; --akzent-text: #0b1620; --hinweis: #f0c060; --hinweis-flaeche: #2b2414;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--grund); color: var(--text);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--akzent); }
h1, h2, h3 { line-height: 1.25; text-wrap: balance; }
h1 { font-size: clamp(1.9rem, 4.5vw, 2.9rem); margin: .3em 0 .5em; }
h2 { font-size: clamp(1.45rem, 3vw, 2rem); margin: 0 0 .6em; }
h3 { font-size: 1.15rem; margin: 1.2em 0 .4em; }
p { margin: 0 0 1em; }

.rahmen { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.schmal { max-width: 760px; }
.abschnitt { padding: 56px 0; }
.rahmen.abschnitt { padding-left: 16px; padding-right: 16px; }
.hell { background: var(--flaeche); }
.klein { font-size: .88rem; color: var(--gedaempft); }
.sprung { position: absolute; left: -999px; }
.sprung:focus { left: 16px; top: 8px; background: var(--grund); padding: 6px 10px; z-index: 10; }

.kopf { border-bottom: 1px solid var(--linie); position: sticky; top: 0; background: var(--grund); z-index: 5; }
.kopf-innen { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; flex-wrap: wrap; }
.marke { font-weight: 700; text-decoration: none; color: var(--text); font-size: 1.1rem; }
.marke-zeichen { color: var(--akzent); }
.kopf nav { display: flex; gap: 16px; flex-wrap: wrap; font-size: .95rem; }
.kopf nav a { text-decoration: none; color: var(--text); }
.kopf nav a:hover { color: var(--akzent); }

.held { padding: 64px 0 48px; background: linear-gradient(180deg, var(--flaeche), var(--grund)); }
.dachzeile { color: var(--akzent); font-weight: 600; font-size: .95rem; margin: 0; }
.lead { font-size: 1.15rem; max-width: 760px; }
.knoepfe { display: flex; gap: 12px; flex-wrap: wrap; margin: 24px 0; }
.knopf {
  display: inline-block; background: var(--akzent); color: var(--akzent-text); border: 0; border-radius: var(--radius);
  padding: 12px 20px; font: inherit; font-weight: 600; text-decoration: none; cursor: pointer;
}
.knopf.zweit { background: transparent; color: var(--akzent); border: 1px solid var(--akzent); }
.knopf:disabled { opacity: .6; cursor: wait; }
.fakten { list-style: none; padding: 0; margin: 0; display: flex; gap: 24px; flex-wrap: wrap; color: var(--gedaempft); }

.schritte { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); counter-reset: s; }
.schritte li { background: var(--grund); border: 1px solid var(--linie); border-radius: var(--radius); padding: 20px; counter-increment: s; }
.schritte li::before { content: counter(s); display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--akzent); color: var(--akzent-text); font-weight: 700; }
.karten { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.karten li { background: var(--grund); border: 1px solid var(--linie); border-radius: var(--radius); padding: 20px; }
.karten h3, .schritte h3 { margin-top: .6em; }

.tabelle-scroll { overflow-x: auto; margin: 16px 0; }
table { border-collapse: collapse; width: 100%; font-size: .95rem; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--linie); vertical-align: top; }
th { color: var(--gedaempft); font-weight: 600; }
.preise td:last-child { font-weight: 600; white-space: nowrap; }
.zahl { text-align: right; white-space: nowrap; }
.entwurf { background: var(--hinweis-flaeche); color: var(--hinweis); padding: 8px 12px; border-radius: var(--radius); font-size: .9rem; }
.treiber dt { font-weight: 600; margin-top: 12px; }
.treiber dd { margin: 0 0 0 0; color: var(--gedaempft); }

.formular { display: grid; gap: 14px; margin-top: 16px; }
.zeile { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.feld { display: grid; gap: 6px; font-weight: 600; font-size: .95rem; }
.feld input, .feld textarea {
  font: inherit; font-weight: 400; padding: 10px 12px; border: 1px solid var(--linie); border-radius: var(--radius);
  background: var(--grund); color: var(--text); width: 100%;
}
.haken { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; }
.haken input { margin-top: 5px; }
.unsichtbar { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.status { min-height: 1.4em; color: var(--gedaempft); margin: 0; }
.ergebnis { margin-top: 32px; background: var(--grund); border: 1px solid var(--linie); border-radius: var(--radius); padding: 20px; }
.spanne { font-size: clamp(1.5rem, 4vw, 2.1rem); font-weight: 700; margin: 0; }
.hinweise { color: var(--gedaempft); font-size: .92rem; }
details summary { cursor: pointer; font-weight: 600; }
.faq { border-bottom: 1px solid var(--linie); padding: 14px 0; }
.faq p { margin: 10px 0 0; }

.fuss { border-top: 1px solid var(--linie); padding: 24px 0; font-size: .9rem; color: var(--gedaempft); }
.fuss-innen { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.fuss p { margin: 0; }
.rechtstext { max-width: 760px; }
.platzhalter { background: var(--hinweis-flaeche); color: var(--hinweis); padding: 0 4px; border-radius: 4px; }
