@font-face { font-family: Inter; font-weight: 400; font-display: swap; src: url(/fonts/inter-400.woff2) format("woff2"); }
@font-face { font-family: Inter; font-weight: 500; font-display: swap; src: url(/fonts/inter-500.woff2) format("woff2"); }
@font-face { font-family: Inter; font-weight: 600; font-display: swap; src: url(/fonts/inter-600.woff2) format("woff2"); }
@font-face { font-family: InterDisplay; font-weight: 700; font-display: swap; src: url(/fonts/inter-display-700.woff2) format("woff2"); }
:root {
  --brand: #0a5c80; --brand-dunkel: #074866; --brand-hell: #e3eef5; --akzent: #f2a516; --akzent-hell: #fff4e0;
  --ink: #0e1a2b; --text: #2c3a4d; --muted: #5d6876; --line: #e3e7ed; --flaeche: #f2f4f7; --page: #fff;
  --gruen: #1f7a45; --gruen-hell: #e3f5ea; --rot: #b42318; --rot-hell: #fef3f2; --gelb: #9a5b00;
  color-scheme: light only;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--page); color: var(--text); font: 400 16px/1.7 Inter, system-ui, -apple-system, "Segoe UI", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--brand); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
.kopf { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 20px; height: 64px; padding: 0 24px; background: rgba(255,255,255,.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font: 700 1.15rem/1 InterDisplay, Inter, sans-serif; }
.logo svg { width: 28px; height: 28px; }
.logo span { font: 500 .95rem/1 Inter, sans-serif; color: var(--muted); }
.suche { margin-left: auto; width: 240px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; font: inherit; font-size: .9rem; background: var(--flaeche); }
.kopf-links { display: flex; gap: 16px; align-items: center; font-size: .92rem; }
.kopf-links a { text-decoration: none; color: var(--text); font-weight: 500; }
.kopf-links .knopf { background: var(--brand); color: #fff; padding: 8px 16px; border-radius: 999px; }
.kopf-links .knopf:hover { background: var(--brand-dunkel); }
.menue-knopf { display: none; }
.rahmen { display: grid; grid-template-columns: 260px minmax(0, 1fr) 220px; max-width: 1360px; margin: 0 auto; }
.seitenleiste { position: sticky; top: 64px; height: calc(100vh - 64px); overflow: auto; padding: 24px 16px 40px 24px; border-right: 1px solid var(--line); }
.seitenleiste .gruppe { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 600; margin: 18px 0 6px; }
.seitenleiste .gruppe:first-child { margin-top: 0; }
.seitenleiste ul { list-style: none; margin: 0; padding: 0; }
.seitenleiste a { display: block; padding: 6px 10px; border-radius: 8px; text-decoration: none; color: var(--text); font-size: .93rem; }
.seitenleiste a:hover { background: var(--flaeche); color: var(--ink); }
.seitenleiste a[aria-current="page"] { background: var(--brand-hell); color: var(--brand); font-weight: 600; }
.seitenleiste li.versteckt { display: none; }
.inhalt { padding: 36px 48px 64px; min-width: 0; max-width: 820px; }
.brotkrume { font-size: .8rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; margin: 0 0 6px; }
h1, h2, h3 { color: var(--ink); line-height: 1.25; letter-spacing: -.01em; }
h1 { font: 700 2.2rem/1.15 InterDisplay, Inter, sans-serif; color: var(--brand); margin: 0 0 18px; }
h2 { font-size: 1.4rem; margin: 2.2em 0 .6em; padding-top: .4em; border-top: 1px solid var(--line); }
h3 { font-size: 1.08rem; margin: 1.6em 0 .4em; }
.einleitung { font-size: 1.12rem; color: var(--text); }
ol, ul { padding-left: 1.3em; }
li + li { margin-top: .3em; }
code { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: .88em; background: var(--flaeche); padding: 2px 6px; border-radius: 6px; }
pre { background: var(--ink); color: #e3eef5; padding: 16px 18px; border-radius: 12px; overflow-x: auto; font-size: .86rem; line-height: 1.55; }
pre code { background: none; padding: 0; color: inherit; }
table { width: 100%; border-collapse: collapse; font-size: .92rem; margin: 1em 0; display: block; overflow-x: auto; }
th { text-align: left; font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); padding: 8px 10px; border-bottom: 2px solid var(--line); }
td { padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.hinweis { border-left: 4px solid var(--brand); background: var(--brand-hell); padding: 12px 16px; border-radius: 0 12px 12px 0; margin: 1.2em 0; }
.hinweis.wichtig { border-color: var(--akzent); background: var(--akzent-hell); }
.hinweis p:last-child { margin-bottom: 0; }
.karten { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 1.4em 0; }
.karten a { display: block; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--text); transition: border-color .15s, transform .15s; }
.karten a:hover { border-color: var(--brand); transform: translateY(-2px); }
.karten b { display: block; color: var(--ink); margin-bottom: 2px; }
.karten small { color: var(--muted); }
.methode { display: inline-block; font: 700 .72rem/1 ui-monospace, Consolas, monospace; padding: 4px 7px; border-radius: 6px; background: var(--gruen-hell); color: var(--gruen); margin-right: 6px; vertical-align: 2px; }
.endpunkt { font-family: ui-monospace, Consolas, monospace; font-weight: 600; color: var(--ink); }
.schritte { counter-reset: s; list-style: none; padding: 0; }
.schritte > li { counter-increment: s; position: relative; padding-left: 44px; margin: 0 0 18px; }
.schritte > li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 600; font-size: .9rem; }
.blaettern { display: flex; justify-content: space-between; gap: 12px; margin-top: 48px; }
.blaettern a { flex: 1; max-width: 48%; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--ink); font-weight: 600; }
.blaettern a:hover { border-color: var(--brand); }
.blaettern .rechts { text-align: right; margin-left: auto; }
.blaettern small { display: block; font-weight: 500; color: var(--muted); font-size: .8rem; }
.fuss { margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); }
.fuss a { color: inherit; }
.auf-dieser-seite { position: sticky; top: 64px; align-self: start; padding: 36px 24px 24px 8px; font-size: .86rem; }
.auf-dieser-seite p { font-weight: 600; color: var(--ink); margin: 0 0 8px; }
.auf-dieser-seite ul { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line); }
.auf-dieser-seite li { margin: 0; }
.auf-dieser-seite a { display: block; padding: 4px 0 4px 12px; color: var(--muted); text-decoration: none; margin-left: -2px; border-left: 2px solid transparent; }
.auf-dieser-seite a:hover, .auf-dieser-seite a.aktiv { color: var(--brand); border-left-color: var(--brand); }
@media (max-width: 1180px) { .rahmen { grid-template-columns: 240px minmax(0, 1fr); } .auf-dieser-seite { display: none; } }
@media (max-width: 820px) {
  .rahmen { grid-template-columns: 1fr; }
  .seitenleiste { display: none; position: fixed; top: 64px; left: 0; right: 0; height: calc(100vh - 64px); background: #fff; z-index: 15; border: 0; }
  .seitenleiste.offen { display: block; }
  .menue-knopf { display: inline-block; margin-left: auto; border: 1px solid var(--line); background: #fff; border-radius: 10px; padding: 8px 12px; font: inherit; font-weight: 600; }
  .suche, .kopf-links a:not(.knopf) { display: none; }
  .kopf { gap: 10px; padding: 0 16px; }
  .inhalt { padding: 24px 16px 48px; }
  h1 { font-size: 1.8rem; }
  .karten { grid-template-columns: 1fr; }
}
