:root {
  --gruen: #0d7d4d;
  --gruen-dunkel: #0a5f3b;
  --gruen-hell: #e8f5ee;
  --akzent: #f5a623;
  --text: #1a2b23;
  --text-leise: #5a6b63;
  --linie: #dfe6e2;
  --bg: #ffffff;
  --bg-leise: #f6f9f7;
  --radius: 10px;
  --max: 1120px;
  --schrift: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--schrift);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--gruen); }
a:hover { color: var(--gruen-dunkel); }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--gruen); color: #fff; padding: .7rem 1.1rem; z-index: 100;
}
.skip:focus { left: 0; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }
.schmal { max-width: 780px; }

/* ---------- Kopf ---------- */
.kopf {
  border-bottom: 1px solid var(--linie);
  background: #fff;
  position: sticky; top: 0; z-index: 50;
}
.kopf .wrap { display: flex; align-items: center; gap: 1.25rem; min-height: 68px; flex-wrap: wrap; }
.logo {
  font-weight: 800; font-size: 1.2rem; letter-spacing: -.02em;
  color: var(--text); text-decoration: none; white-space: nowrap;
}
.logo span { color: var(--gruen); }
.kopf nav { margin-left: auto; }
.kopf nav ul { display: flex; gap: 1.1rem; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.kopf nav a {
  text-decoration: none; color: var(--text-leise); font-size: .93rem; font-weight: 600;
  padding: .35rem 0; border-bottom: 2px solid transparent; display: block;
}
.kopf nav a:hover, .kopf nav a[aria-current="page"] { color: var(--gruen); border-color: var(--gruen); }

/* ---------- Brotkrumen ---------- */
.krumen { font-size: .85rem; color: var(--text-leise); padding: .9rem 0 0; }
.krumen ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin: 0; padding: 0; }
.krumen li::after { content: "›"; margin-left: .4rem; color: var(--linie); }
.krumen li:last-child::after { content: ""; }
.krumen a { color: var(--text-leise); text-decoration: none; }
.krumen a:hover { color: var(--gruen); text-decoration: underline; }

/* ---------- Typografie ---------- */
main { padding-bottom: 4rem; }
h1 {
  font-size: clamp(1.85rem, 4.2vw, 2.7rem); line-height: 1.18;
  letter-spacing: -.025em; margin: 1.2rem 0 .8rem; font-weight: 800;
}
h2 {
  font-size: clamp(1.35rem, 2.6vw, 1.75rem); line-height: 1.25;
  letter-spacing: -.015em; margin: 2.6rem 0 .9rem; font-weight: 750;
}
h3 { font-size: 1.13rem; margin: 1.8rem 0 .5rem; font-weight: 700; }
p { margin: 0 0 1.1rem; }
.lead { font-size: 1.14rem; color: var(--text-leise); }
ul, ol { padding-left: 1.3rem; }
li { margin-bottom: .45rem; }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(175deg, var(--gruen-hell), #fff 78%); padding: 1rem 0 2.5rem; }
.hero h1 { max-width: 20ch; }
.hero .lead { max-width: 58ch; font-size: 1.2rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; background: var(--gruen); color: #fff; text-decoration: none;
  padding: .8rem 1.5rem; border-radius: var(--radius); font-weight: 700; font-size: 1rem;
  border: 2px solid var(--gruen); transition: background .15s, border-color .15s;
}
.btn:hover { background: var(--gruen-dunkel); border-color: var(--gruen-dunkel); color: #fff; }
.btn.sek { background: #fff; color: var(--gruen); }
.btn.sek:hover { background: var(--gruen-hell); color: var(--gruen-dunkel); }
.btn-reihe { display: flex; gap: .8rem; flex-wrap: wrap; margin: 1.6rem 0; }

/* ---------- Tabellen ---------- */
.tabelle-scroll { overflow-x: auto; margin: 1.5rem 0; border: 1px solid var(--linie); border-radius: var(--radius); }
table { border-collapse: collapse; width: 100%; min-width: 560px; font-size: .95rem; background: #fff; }
caption { text-align: left; padding: .9rem 1rem; font-weight: 700; border-bottom: 1px solid var(--linie); }
th, td { padding: .8rem 1rem; text-align: left; border-bottom: 1px solid var(--linie); vertical-align: top; }
thead th { background: var(--bg-leise); font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; color: var(--text-leise); }
tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover { background: var(--bg-leise); }
td.rate { font-weight: 700; color: var(--gruen); white-space: nowrap; }
.top-zeile { background: var(--gruen-hell) !important; }
.marke { display: inline-block; background: var(--gruen); color: #fff; font-size: .68rem; font-weight: 700;
  padding: .15rem .5rem; border-radius: 99px; margin-left: .45rem; vertical-align: middle;
  text-transform: uppercase; letter-spacing: .04em; }

/* ---------- Karten ---------- */
.karten { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); margin: 1.6rem 0; }
.karte {
  border: 1px solid var(--linie); border-radius: var(--radius); padding: 1.3rem;
  background: #fff; display: flex; flex-direction: column;
}
.karte h3 { margin-top: 0; }
.karte p { color: var(--text-leise); font-size: .95rem; flex-grow: 1; }
.karte .mehr { font-weight: 700; text-decoration: none; font-size: .93rem; }
.karte .mehr::after { content: " →"; }

.kennzahl { display: flex; gap: 1.5rem; flex-wrap: wrap; margin: 1rem 0 0; }
.kennzahl div { font-size: .88rem; color: var(--text-leise); }
.kennzahl b { display: block; font-size: 1.35rem; color: var(--text); font-weight: 800; }

/* ---------- Schritte ---------- */
.schritte { list-style: none; counter-reset: s; padding: 0; margin: 1.5rem 0; }
.schritte li { counter-increment: s; position: relative; padding-left: 3rem; margin-bottom: 1.4rem; }
.schritte li::before {
  content: counter(s); position: absolute; left: 0; top: .1rem;
  width: 2.1rem; height: 2.1rem; border-radius: 50%; background: var(--gruen); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: .95rem;
}
.schritte strong { display: block; margin-bottom: .2rem; }

/* ---------- Hinweise / Boxen ---------- */
.box {
  background: var(--bg-leise); border: 1px solid var(--linie);
  border-radius: var(--radius); padding: 1.3rem 1.4rem; margin: 1.8rem 0;
}
.box.tipp { background: var(--gruen-hell); border-color: #bfe3d0; }
.box.warnung { background: #fff8e8; border-color: #f0dcb0; }
.box h3, .box h2 { margin-top: 0; }
.box p:last-child { margin-bottom: 0; }

.plus-minus { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); margin: 1.6rem 0; }
.plus-minus ul { list-style: none; padding: 0; margin: 0; }
.plus-minus li { padding-left: 1.6rem; position: relative; }
.plus li::before { content: "+"; position: absolute; left: 0; color: var(--gruen); font-weight: 800; }
.minus li::before { content: "−"; position: absolute; left: 0; color: #c0392b; font-weight: 800; }

/* ---------- FAQ ---------- */
.faq { margin: 1.5rem 0; border-top: 1px solid var(--linie); }
.faq details { border-bottom: 1px solid var(--linie); }
.faq summary {
  cursor: pointer; padding: 1.05rem 2rem 1.05rem 0; font-weight: 650; list-style: none;
  position: relative; font-size: 1.02rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: .25rem; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; font-weight: 400; color: var(--gruen); line-height: 1;
}
.faq details[open] summary::after { content: "−"; }
.faq details > div { padding: 0 0 1.15rem; color: var(--text-leise); }
.faq details > div p:last-child { margin-bottom: 0; }

/* ---------- Meta / Transparenz ---------- */
.meta {
  font-size: .85rem; color: var(--text-leise); border-left: 3px solid var(--linie);
  padding-left: .9rem; margin: 1.5rem 0;
}
.meta a { color: var(--text-leise); }
.affiliate {
  font-size: .82rem; color: var(--text-leise); background: var(--bg-leise);
  border-radius: var(--radius); padding: .9rem 1.1rem; margin: 2.5rem 0 0;
}

/* ---------- Fuß ---------- */
.fuss { background: var(--bg-leise); border-top: 1px solid var(--linie); padding: 2.5rem 0 2rem; font-size: .92rem; }
.fuss-grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.fuss h2 { font-size: .82rem; text-transform: uppercase; letter-spacing: .05em; color: var(--text-leise); margin: 0 0 .7rem; }
.fuss ul { list-style: none; padding: 0; margin: 0; }
.fuss a { color: var(--text); text-decoration: none; }
.fuss a:hover { text-decoration: underline; color: var(--gruen); }
.fuss-unten { border-top: 1px solid var(--linie); margin-top: 2rem; padding-top: 1.2rem; color: var(--text-leise); font-size: .85rem; }

/* ---------- Dunkelmodus ---------- */
@media (prefers-color-scheme: dark) {
  :root {
    --text: #e8efea; --text-leise: #9bb0a6; --linie: #2a3a33;
    --bg: #121a17; --bg-leise: #18221e; --gruen: #4ec98d; --gruen-dunkel: #6fd9a4;
    --gruen-hell: #172b22;
  }
  body { background: var(--bg); }
  .kopf, table, .karte, .faq details { background: var(--bg); }
  thead th { background: var(--bg-leise); }
  .btn { color: #0b1512; }
  .btn:hover { color: #0b1512; }
  .btn.sek { background: transparent; color: var(--gruen); }
  .hero { background: linear-gradient(175deg, #172b22, var(--bg) 78%); }
  .box.warnung { background: #2a2314; border-color: #4a3d1d; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .kopf .wrap { min-height: 0; padding-top: .7rem; padding-bottom: .7rem; }
  .kopf nav { margin-left: 0; width: 100%; overflow-x: auto; }
  .kopf nav ul { gap: .95rem; flex-wrap: nowrap; padding-bottom: .2rem; }
  .kopf nav a { white-space: nowrap; }
}
