:root {
  --bg: #fbfaf7;
  --text: #1d1f22;
  --muted: #5d636b;
  --line: #e3e0d8;
  --accent: #1f6f5c;
  --accent-soft: #e4f1ec;
  --note: #fff6dd;
  --note-line: #e8d59a;
  --max: 46rem;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #15171a;
    --text: #e8e6e1;
    --muted: #a3a8ae;
    --line: #2c3035;
    --accent: #6cc2a8;
    --accent-soft: #1d2c27;
    --note: #2b2715;
    --note-line: #5a4f25;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
a { color: var(--accent); }
a:hover { text-decoration-thickness: 2px; }

.hinweis {
  background: var(--note);
  border-bottom: 1px solid var(--note-line);
  font-size: 14px;
  padding: 8px 0;
}
header.kopf { border-bottom: 1px solid var(--line); padding: 18px 0; }
header.kopf .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: baseline; justify-content: space-between; }
.marke { font-weight: 700; font-size: 20px; color: var(--text); text-decoration: none; letter-spacing: -0.01em; }
nav a { color: var(--muted); text-decoration: none; margin-right: 16px; font-size: 15px; }
nav a:last-child { margin-right: 0; }
nav a:hover, nav a[aria-current="page"] { color: var(--text); }

main { padding: 40px 0 56px; }
h1 { font-size: clamp(28px, 6vw, 38px); line-height: 1.2; letter-spacing: -0.02em; margin: 0 0 16px; }
h2 { font-size: 22px; margin: 40px 0 8px; letter-spacing: -0.01em; }
h3 { font-size: 18px; margin: 28px 0 6px; }
.lead { font-size: 19px; color: var(--muted); margin-top: 0; }
.stand { font-size: 14px; color: var(--muted); }

.karten { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 16px; margin: 24px 0; }
.karte { border: 1px solid var(--line); border-radius: 10px; padding: 18px; background: color-mix(in srgb, var(--bg) 92%, var(--text)); }
.karte h3 { margin-top: 0; }
.karte p { margin-bottom: 0; }

.kasten { background: var(--accent-soft); border-radius: 10px; padding: 16px 18px; margin: 24px 0; }
.kasten p:first-child { margin-top: 0; }
.kasten p:last-child { margin-bottom: 0; }

table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 15px; display: block; overflow-x: auto; }
th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-weight: 600; }

.quellen { font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); margin-top: 40px; padding-top: 12px; }
.quellen li { margin: 4px 0; word-break: break-word; }

footer.fuss { border-top: 1px solid var(--line); padding: 24px 0 40px; font-size: 14px; color: var(--muted); }
footer.fuss a { color: var(--muted); margin-right: 16px; }

.formular label { display: block; font-weight: 600; margin-bottom: 4px; }
.formular input, .formular textarea {
  width: 100%; font: inherit; color: var(--text); background: var(--bg);
  border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px;
}
.formular input:focus, .formular textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.formular button {
  font: inherit; font-weight: 600; color: #fff; background: var(--accent);
  border: 0; border-radius: 8px; padding: 10px 18px; cursor: pointer;
}
@media (prefers-color-scheme: dark) { .formular button { color: #10201b; } }
.versteckt { position: absolute; left: -9999px; }
