:root {
  --navy:        #16234B;
  --blau:        #2B4CC4;
  --blau-hell:   #4668E0;
  --violett:     #6B3FA0;

  --text:        #16234B;
  --text-weich:  #4A5578;
  --text-leise:  #626C8B;
  --linie:       #E2E6F0;
  --linie-stark: #C9D0E2;
  --grund:       #FFFFFF;
  --grund-2:     #F6F8FC;
  --grund-3:     #EDF1F9;

  --gruen:          #1F7A4D;
  --gruen-bg:       #E8F5EE;
  --gruen-linie:    #BFE3D0;
  --info-bg:        #EEF2FF;
  --info-linie:     #CDD8FB;
  --bernstein:      #8A6100;
  --bernstein-bg:   #FDF4E0;
  --bernstein-linie:#E8D5A8;

  --code-grund:     #111A3A;
  --code-text:      #D5DCF0;
  --code-leise:     #8E99BE;
  --code-schluessel:#A8BEFF;
  --code-wert:      #B5E4C9;
  --code-zahl:      #F5CF8E;

  --radius:   12px;
  --radius-s: 8px;
  --schatten: 0 1px 2px rgba(22,35,75,.06), 0 6px 18px rgba(22,35,75,.06);

  --schrift: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono:    "Cascadia Mono", Consolas, "SF Mono", Menlo, monospace;

  --kopf-h:  64px;
  --baum-b:  272px;
  --toc-b:   216px;

  --text-b:  none;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--kopf-h) + 16px); }

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

h1, h2, h3 { line-height: 1.22; letter-spacing: -0.018em; font-weight: 700; color: var(--navy); text-wrap: balance; }
p { margin: 0 0 1em; }
a { color: var(--blau); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--violett); }
img { max-width: 100%; height: auto; display: block; }
strong { font-weight: 650; }

:focus-visible { outline: 2px solid var(--blau); outline-offset: 2px; border-radius: 4px; }

.vh {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.springe {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--navy); color: #fff; padding: 8px 14px; border-radius: var(--radius-s);
  text-decoration: none; font-weight: 600;
}
.springe:focus { top: 10px; color: #fff; }

.kopf {
  position: sticky; top: 0; z-index: 50;
  height: var(--kopf-h);
  background: rgba(255,255,255,.93); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--linie);
}
.kopf-innen {
  max-width: 1440px; height: 100%; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; gap: 18px;
}
.kopf-marke { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--navy); }
.kopf-marke img { height: 28px; width: auto; }
.kopf-marke .titel {
  font-size: .98rem; font-weight: 650; color: var(--text-weich);
  padding-left: 12px; border-left: 1px solid var(--linie-stark);
}
.kopf-marke:hover .titel { color: var(--navy); }

.menue-knopf {
  display: none; align-items: center; gap: 8px;
  font: inherit; font-size: .9rem; font-weight: 600; color: var(--navy);
  background: var(--grund); border: 1px solid var(--linie-stark); border-radius: var(--radius-s);
  padding: 6px 12px; cursor: pointer;
}
.menue-knopf .striche, .menue-knopf .striche::before, .menue-knopf .striche::after {
  display: block; width: 16px; height: 2px; background: currentColor; border-radius: 2px; position: relative;
}
.menue-knopf .striche::before, .menue-knopf .striche::after { content: ""; position: absolute; left: 0; }
.menue-knopf .striche::before { top: -5px; }
.menue-knopf .striche::after  { top: 5px; }

.kopf-laden {
  display: inline-flex; align-items: center; gap: 8px; margin-left: auto; padding: 7px 13px;
  font-size: .9rem; font-weight: 650; color: var(--blau); white-space: nowrap; text-decoration: none;
  background: var(--grund); border: 1px solid var(--info-linie); border-radius: var(--radius-s);
}
.kopf-laden:hover { color: var(--blau); background: var(--info-bg); border-color: var(--blau); }
.kopf-laden svg { flex: none; width: 17px; height: 17px; }

.kopf-website {
  display: inline-flex; align-items: center; gap: 2px; padding: 6px 10px 6px 6px;
  font-size: .9rem; font-weight: 600; color: var(--text-weich); white-space: nowrap; text-decoration: none;
  border-radius: var(--radius-s);
}
.kopf-website:hover { color: var(--blau); background: var(--info-bg); }
.kopf-website svg { flex: none; width: 18px; height: 18px; }
.suche { position: relative; margin-left: auto; width: min(380px, 42vw); }
.suche input {
  width: 100%; font: inherit; font-size: .94rem; color: var(--navy);
  padding: 8px 40px 8px 36px;
  border: 1px solid var(--linie-stark); border-radius: var(--radius-s);
  background: var(--grund-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23626C8B' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.6-3.6'/%3E%3C/svg%3E") no-repeat 11px center / 16px;
}
.suche input::placeholder { color: var(--text-leise); }
.suche input:focus { outline: 2px solid var(--blau); outline-offset: -1px; border-color: var(--blau); background-color: var(--grund); }
.suche .taste { position: absolute; right: 9px; top: 50%; transform: translateY(-50%); pointer-events: none; }
.suche input:focus + .taste { display: none; }

.treffer {
  display: none;
  position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 60;
  max-height: 60vh; overflow-y: auto;
  margin: 0; padding: 6px; list-style: none;
  background: var(--grund); border: 1px solid var(--linie); border-radius: var(--radius);
  box-shadow: 0 14px 36px rgba(22,35,75,.16);
}
.treffer.offen { display: block; }
.treffer a, .treffer .ohne {
  display: block; padding: 8px 10px; border-radius: 7px;
  color: var(--navy); text-decoration: none; line-height: 1.35;
}
.treffer a[aria-selected="true"], .treffer a:hover { background: var(--grund-3); color: var(--navy); }
.treffer .bereich { display: block; font-size: .76rem; color: var(--text-leise); margin-top: 2px; }
.treffer .ohne { color: var(--text-leise); font-size: .92rem; }
.treffer .folgt-zeile { color: var(--text-leise); }

.sprache { display: flex; gap: 2px; padding: 2px; border: 1px solid var(--linie-stark); border-radius: 999px; }
.sprache a, .sprache span {
  font-size: .78rem; font-weight: 700; letter-spacing: .05em;
  padding: 3px 10px; border-radius: 999px; text-decoration: none; color: var(--text-weich);
}
.sprache [aria-current="true"] { background: var(--navy); color: #fff; }
.sprache .aus { color: var(--text-leise); cursor: not-allowed; opacity: .75; }

.geruest {
  display: grid;
  grid-template-columns: var(--baum-b) minmax(0, 1fr) var(--toc-b);
  max-width: 1440px; margin: 0 auto;
}

.baum {
  position: sticky; top: var(--kopf-h); align-self: start;
  height: calc(100vh - var(--kopf-h)); overflow-y: auto;
  padding: 22px 14px 48px 22px;
  border-right: 1px solid var(--linie);
  font-size: .94rem;
}
.baum ul { list-style: none; margin: 0; padding: 0; }
.baum li { margin: 1px 0; }
.baum ul ul { margin: 2px 0 6px 12px; padding-left: 10px; border-left: 1px solid var(--linie); }
.baum-bereich {
  margin: 24px 0 8px 10px;
  font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-leise);
}
.baum a, .baum .folgt, .baum summary {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  padding: 6px 10px; border-radius: 7px; line-height: 1.35;
  color: var(--text-weich); text-decoration: none;
}
.baum a:hover { background: var(--grund-2); color: var(--navy); }
.baum a[aria-current="page"] { background: var(--grund-3); color: var(--blau); font-weight: 650; }
.baum .folgt { color: var(--text-leise); cursor: default; }
.baum .etikett, .etikett-folgt {
  flex: none; font-size: .66rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--text-leise); background: var(--grund-2); border: 1px solid var(--linie);
  padding: 0 6px; border-radius: 5px; line-height: 1.6;
}
.baum summary { cursor: pointer; list-style: none; font-weight: 600; color: var(--navy); }
.baum summary::-webkit-details-marker { display: none; }
.baum summary::after {
  content: ""; width: 7px; height: 7px; flex: none; margin-right: 3px;
  border-right: 2px solid var(--text-leise); border-bottom: 2px solid var(--text-leise);
  transform: rotate(-45deg); transition: transform .15s ease;
}
.baum details[open] > summary::after { transform: rotate(45deg); }
.baum summary:hover { background: var(--grund-2); }
.baum .baum-start { font-weight: 600; color: var(--navy); }
.baum .baum-website { display: none; }

.inhalt { min-width: 0; padding: 30px 48px 88px; }
.inhalt > article, .inhalt > .blaettern { max-width: var(--text-b); }

.brotkrumen { margin: 0 0 14px; font-size: .86rem; color: var(--text-leise); }
.brotkrumen ol { display: flex; flex-wrap: wrap; gap: 2px 8px; list-style: none; margin: 0; padding: 0; }
.brotkrumen li + li::before { content: "›"; margin-right: 8px; color: var(--linie-stark); }
.brotkrumen a { color: var(--text-weich); text-decoration: none; }
.brotkrumen a:hover { color: var(--blau); text-decoration: underline; }

.entwurf {
  margin: 0 0 22px; padding: 8px 12px;
  font-size: .86rem; color: #6B4C00;
  background: var(--bernstein-bg); border: 1px dashed var(--bernstein-linie); border-radius: var(--radius-s);
}

article h1 { font-size: clamp(1.85rem, 3.1vw, 2.35rem); letter-spacing: -0.026em; margin: 0 0 .55em; }
article h2 { font-size: 1.42rem; margin: 2.3em 0 .6em; }
article h3 { font-size: 1.1rem; margin: 1.8em 0 .45em; }
article ul, article ol { padding-left: 1.3em; }
article li { margin-bottom: .35em; }

.kurz {
  margin: 0 0 30px; padding: 16px 22px 17px;
  font-size: 1.04rem;
  background: var(--grund-2); border: 1px solid var(--linie); border-radius: var(--radius);
}
.kurz p:last-child { margin-bottom: 0; }
.kurz .etikett, .hinweis .etikett, .wirkung .spalte-titel {
  display: block; margin: 0 0 5px;
  font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.kurz .etikett { color: var(--blau); }

.ui {
  display: inline-block; padding: 0 .46em; vertical-align: .04em;
  font-size: .86em; font-weight: 600; line-height: 1.5; white-space: nowrap; color: var(--navy);
  background: var(--grund); border: 1px solid var(--linie-stark); border-bottom-width: 2px; border-radius: 6px;
}

a > .ui {
  color: var(--blau); border-color: var(--info-linie);
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px;
}
a:hover > .ui { color: var(--violett); background: var(--info-bg); border-color: var(--blau); }
kbd {
  display: inline-block; padding: 0 .4em; min-width: 1.5em; text-align: center;
  font-family: var(--mono); font-size: .78em; line-height: 1.55; color: var(--text-weich);
  background: var(--grund-2); border: 1px solid var(--linie-stark); border-bottom-width: 2px; border-radius: 5px;
}

ol.schritte { list-style: none; counter-reset: schritt; margin: 1.1em 0 1.6em; padding: 0; display: grid; gap: 16px; }
ol.schritte > li { counter-increment: schritt; position: relative; margin: 0; padding-left: 44px; min-height: 28px; }
ol.schritte > li::before {
  content: counter(schritt);
  position: absolute; left: 0; top: .08em;
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: .86rem; font-weight: 700; font-variant-numeric: tabular-nums;
  color: #fff; background: var(--navy);
}
ol.schritte .ergebnis { display: block; margin-top: 3px; color: var(--text-weich); }

.abbildung { margin: 1.7em 0 1.9em; }
.bild-rahmen {
  position: relative; overflow: hidden;
  background: var(--grund); border: 1px solid var(--linie); border-radius: var(--radius);
  box-shadow: var(--schatten);
}
.bild-rahmen img { width: 100%; }

.bild-rahmen.lupe-bereit { cursor: zoom-in; }
.lupe-knopf {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px 5px 8px;
  font: inherit; font-size: .78rem; font-weight: 650; color: var(--navy); cursor: zoom-in;
  background: rgba(255,255,255,.95); border: 1px solid var(--linie-stark); border-radius: var(--radius-s);
  box-shadow: 0 1px 4px rgba(22,35,75,.16);
  opacity: 0; transition: opacity .15s ease;
}
.lupe-knopf svg { flex: none; width: 15px; height: 15px; }
.bild-rahmen:hover .lupe-knopf, .lupe-knopf:focus-visible { opacity: 1; }
@media (hover: none) { .lupe-knopf { opacity: 1; } }
html.lupe-offen { overflow: hidden; }
.lupe {
  position: fixed; inset: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center; padding: 2vh 2vw;
  background: rgba(22,35,75,.8); cursor: zoom-out;
}
.lupe-tafel {
  max-height: 96vh; overflow: auto; padding: 14px;
  background: var(--grund); border-radius: var(--radius); box-shadow: 0 12px 40px rgba(0,0,0,.35); cursor: default;
}
.lupe .bild-rahmen { margin: 0 auto; box-shadow: none; }
.lupe figcaption { margin: 12px auto 2px; font-size: .92rem; color: var(--text-weich); }
.lupe-zu {
  position: fixed; top: 14px; right: 18px; width: 42px; height: 42px;
  font: inherit; font-size: 1.05rem; color: var(--navy); cursor: pointer;
  background: var(--grund); border: 0; border-radius: 50%; box-shadow: 0 2px 10px rgba(0,0,0,.3);
}

.abbildung.mittel .bild-rahmen { max-width: 560px; }
.abbildung.klein .bild-rahmen { max-width: 380px; }
.bildmarke {
  display: none; position: absolute; transform: translate(-50%, -50%);
  width: 26px; height: 26px; border-radius: 50%; place-items: center;
  font-size: .8rem; font-weight: 700; color: #fff; background: var(--violett);
  box-shadow: 0 0 0 2px #fff, 0 2px 7px rgba(22,35,75,.35);
}
.bildmarke.bereit { display: grid; }

.hervorhebung {
  display: none; position: absolute; pointer-events: none;
  border: 3px solid var(--violett); border-radius: 9px;
  box-shadow: 0 0 0 2px #fff, 0 2px 10px rgba(107,63,160,.35);
}
.hervorhebung.bereit { display: block; }
.abbildung figcaption { margin-top: 12px; font-size: .92rem; color: var(--text-weich); }
.legende { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; }
.legende li { display: flex; gap: 10px; align-items: baseline; margin: 0; }
.legende .nr, .nr-inline {
  flex: none; display: inline-grid; place-items: center;
  width: 21px; height: 21px; border-radius: 50%;
  font-size: .72rem; font-weight: 700; color: #fff; background: var(--violett);
  transform: translateY(-1px);
}

h2 .nr-inline, h3 .nr-inline { margin-left: 6px; vertical-align: .12em; transform: none; }

.hinweis {
  margin: 1.5em 0; padding: 13px 18px 14px;
  font-size: .97rem; border: 1px solid; border-radius: var(--radius);
}
.hinweis p:last-child { margin-bottom: 0; }
.hinweis.tipp    { background: var(--gruen-bg);     border-color: var(--gruen-linie); }
.hinweis.wissen  { background: var(--info-bg);      border-color: var(--info-linie); }
.hinweis.achtung { background: var(--bernstein-bg); border-color: var(--bernstein-linie); }
.hinweis.tipp .etikett    { color: var(--gruen); }
.hinweis.wissen .etikett  { color: var(--blau); }
.hinweis.achtung .etikett { color: var(--bernstein); }

.wirkung {
  position: relative; margin: 2.3em 0 1.6em; padding: 20px 24px 8px;
  background: var(--grund); border: 1px solid var(--linie-stark); border-radius: 6px;
  box-shadow: 0 1px 0 var(--linie), 0 14px 28px -18px rgba(22,35,75,.35);
}
.wirkung::before {
  content: ""; position: absolute; top: -1px; right: -1px; width: 22px; height: 22px;
  background: linear-gradient(225deg, var(--grund) 0 50%, var(--linie-stark) 50% calc(50% + 1px), var(--grund-3) calc(50% + 1px));
}
.wirkung h2 { margin: 0 0 .7em; font-size: 1.2rem; }
.wirkung-spalten { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 28px; }
.wirkung .spalte-titel { color: var(--text-leise); }
.wirkung-spalten p { color: var(--text-weich); font-size: .97rem; }

.tabelle-huelle {

  position: relative; margin: 1.2em 0 1.7em; overflow-x: auto;
  border: 1px solid var(--linie); border-radius: var(--radius);
}
.tabelle-huelle table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.tabelle-huelle th {
  text-align: left; padding: 10px 14px; white-space: nowrap;
  font-size: .72rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  color: var(--text-leise); background: var(--grund-2); border-bottom: 1px solid var(--linie);
}
.tabelle-huelle td { padding: 12px 14px; vertical-align: top; color: var(--text-weich); border-bottom: 1px solid var(--linie); }
.tabelle-huelle tr:last-child td { border-bottom: 0; }
.tabelle-huelle td:first-child { color: var(--navy); min-width: 11.5em; }
.tabelle-huelle td .ui { white-space: normal; }

.tabelle-huelle td.vorgabe { min-width: 7em; color: var(--navy); }
.typ {
  display: inline-block; padding: 0 7px; border-radius: 5px;
  font-size: .76rem; font-weight: 650; color: var(--blau); background: var(--grund-3); white-space: nowrap;
}

article code {
  font-family: var(--mono); font-size: .86em; color: var(--navy);
  background: var(--grund-3); border-radius: 5px; padding: .06em .36em;
}
.code { margin: 1.4em 0 1.7em; overflow: hidden; background: var(--code-grund); border: 1px solid #0B1230; border-radius: var(--radius); }
.code-kopf {
  display: flex; align-items: center; gap: 10px; min-height: 38px; padding: 4px 8px 4px 16px;
  color: var(--code-leise); font-size: .8rem;
  background: rgba(255,255,255,.04); border-bottom: 1px solid rgba(255,255,255,.08);
}
.code-kopf .sprache-code { font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.code-kopf .kopieren {
  display: none; margin-left: auto;
  font: inherit; font-size: .78rem; color: #C3CBE4;
  background: transparent; border: 1px solid rgba(255,255,255,.2); border-radius: 6px;
  padding: 3px 10px; cursor: pointer;
}
.js .code-kopf .kopieren { display: inline-block; }
.code-kopf .kopieren:hover { color: #fff; border-color: rgba(255,255,255,.4); }
.code pre { margin: 0; padding: 16px 18px; overflow-x: auto; tab-size: 2; }
.code pre code { padding: 0; background: none; color: var(--code-text); font-size: .84rem; line-height: 1.6; }
.code .k { color: var(--code-schluessel); }
.code .s { color: var(--code-wert); }
.code .n { color: var(--code-zahl); }
.code .kw { color: #F1A7DA; }
.code .ty { color: #8FD6F5; }
.code .ko { color: var(--code-leise); font-style: italic; }

.code-reiter .code-kopf { padding: 0 8px 0 4px; }
.reiter-leiste { display: flex; flex-wrap: wrap; }
.code-reiter .reiter {
  display: none; font: inherit; font-size: .8rem; font-weight: 600; letter-spacing: .02em;
  color: var(--code-leise); background: none; border: 0; border-bottom: 2px solid transparent;
  padding: 11px 13px 9px; cursor: pointer;
}
.js .code-reiter .reiter { display: inline-block; }
.code-reiter .reiter:hover { color: #E6EBFA; }
.code-reiter .reiter[aria-selected="true"] { color: #FFFFFF; border-bottom-color: var(--blau-hell); }
.code-reiter .reiter:focus-visible, .code-kopf .kopieren:focus-visible { outline: 2px solid var(--blau-hell); outline-offset: -3px; border-radius: 6px; }
.code-flaeche > .sprache-code {
  display: block; padding: 12px 18px 0; color: var(--code-leise);
  font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.js .code-flaeche > .sprache-code { display: none; }
.code-flaeche + .code-flaeche { border-top: 1px solid rgba(255,255,255,.08); }
.js .code-flaeche + .code-flaeche { border-top: 0; }

.api-karte { margin: .9em 0 1.3em; padding: 15px 18px 14px; background: var(--grund-2); border: 1px solid var(--linie); border-radius: var(--radius); }
.api-zeile { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 10px; }
.api-zeile code { padding: 0; background: none; font-family: var(--mono); font-size: 1rem; color: var(--navy); overflow-wrap: anywhere; }
.methode { padding: 2px 10px; border-radius: 6px; font-size: .74rem; font-weight: 700; letter-spacing: .08em; color: #FFFFFF; background: var(--blau); }
.api-marken { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.api-marken span { padding: 2px 10px; border-radius: 999px; font-size: .78rem; color: var(--text-weich); background: var(--grund); border: 1px solid var(--linie-stark); }
@media print {
  .code-reiter .code-flaeche[hidden] { display: block; }
  .js .code-flaeche > .sprache-code { display: block; }
  .code-reiter .reiter, .code-kopf .kopieren { display: none !important; }
}

.ki-datei {
  display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
  margin: -12px 0 30px; padding: 16px 22px 18px;
  background: var(--grund); border: 1px solid var(--info-linie); border-radius: var(--radius); box-shadow: var(--schatten);
}
.ki-datei p { margin: 0; }
.ki-datei .etikett {
  display: block; margin: 0 0 5px;
  font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--violett);
}
.laden {
  display: inline-flex; align-items: center; gap: 11px; padding: 11px 18px 10px;
  color: #fff; background: var(--blau); border-radius: var(--radius-s);
  font-weight: 650; line-height: 1.25; text-decoration: none;
}
.laden:hover { color: #fff; background: var(--navy); }
.laden svg { flex: none; width: 20px; height: 20px; }
.laden .zusatz { display: block; margin-top: 2px; font-size: .8rem; font-weight: 500; color: #DCE3FF; }

.eingaenge { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin: 1.4em 0 1em; }
.eingang {
  display: block; padding: 18px 20px 16px; text-decoration: none; color: var(--navy);
  background: var(--grund); border: 1px solid var(--linie); border-radius: var(--radius); box-shadow: var(--schatten);
}
.eingang:hover { color: var(--navy); border-color: var(--blau); }
.eingang .fuer { display: block; margin-bottom: 4px; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blau); }
.eingang strong { display: block; font-size: 1.08rem; margin-bottom: 4px; }
.eingang span.text { display: block; font-size: .95rem; color: var(--text-weich); }

.eingaenge.wege { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; margin: 1em 0 2em; }
.wege .eingang { padding: 20px 22px 18px; border-top: 4px solid var(--blau); }
.wege .eingang .fuer { font-size: .78rem; }
.wege .eingang strong { font-size: 1.3rem; line-height: 1.3; margin-bottom: 8px; }
.wege .eingang span.text { font-size: 1rem; }
.wege .eingang .weiter-text { display: block; margin-top: 12px; font-weight: 600; color: var(--blau); }
.wege .eingang:hover .weiter-text { color: var(--violett); }

.blaettern {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
  margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--linie);
}
.blaettern a, .blaettern .leer {
  display: block; padding: 13px 18px; border: 1px solid var(--linie); border-radius: var(--radius);
  text-decoration: none; color: var(--navy);
}
.blaettern a:hover { color: var(--navy); border-color: var(--blau); background: var(--grund-2); }
.blaettern .leer { color: var(--text-leise); border-style: dashed; }
.blaettern .richtung { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-leise); }
.blaettern .titel { font-weight: 650; }
.blaettern .weiter { grid-column: 2; text-align: right; }

.seiteninhalt {
  position: sticky; top: var(--kopf-h); align-self: start;
  max-height: calc(100vh - var(--kopf-h)); overflow-y: auto;
  padding: 34px 22px 24px 0; font-size: .88rem;
}
.seiteninhalt .etikett { margin: 0 0 8px; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-leise); }
.seiteninhalt ul { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--linie); }
.seiteninhalt a {
  display: block; margin-left: -1px; padding: 5px 0 5px 14px; line-height: 1.35;
  color: var(--text-weich); text-decoration: none; border-left: 2px solid transparent;
}
.seiteninhalt a:hover { color: var(--navy); }
.seiteninhalt a[aria-current="true"] { color: var(--blau); border-left-color: var(--blau); font-weight: 600; }

.fuss { border-top: 1px solid var(--linie); background: var(--grund-2); color: var(--text-leise); font-size: .86rem; }
.fuss-innen { max-width: 1440px; margin: 0 auto; padding: 22px 24px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.fuss-links { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.fuss-links a { color: var(--text-weich); text-decoration: none; }
.fuss-links a:hover { color: var(--blau); text-decoration: underline; }

@media (max-width: 1240px) {
  .geruest { grid-template-columns: var(--baum-b) minmax(0, 1fr); }
  .seiteninhalt { display: none; }
}
@media (max-width: 1100px) {

  .kopf-laden { padding: 7px 9px; }
  .kopf-laden-text {
    position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
  }
}
@media (max-width: 980px) {
  .geruest { grid-template-columns: minmax(0, 1fr); }
  .kopf-website { display: none; }
  .baum .baum-website { display: block; }
  .menue-knopf { display: inline-flex; }
  .baum {
    position: fixed; top: var(--kopf-h); left: 0; bottom: 0; z-index: 45;
    width: min(330px, 88vw); height: auto;
    background: var(--grund); box-shadow: 0 0 0 100vmax rgba(22,35,75,0);
    transform: translateX(-102%); visibility: hidden;
    transition: transform .2s ease, visibility 0s linear .2s, box-shadow .2s ease;
  }
  .baum.offen {
    transform: none; visibility: visible;
    box-shadow: 0 0 0 100vmax rgba(22,35,75,.28);
    transition: transform .2s ease, visibility 0s, box-shadow .2s ease;
  }
  .inhalt { padding: 24px 28px 72px; }
}
@media (max-width: 640px) {
  :root { --kopf-h: 108px; }
  body { font-size: 16px; }
  .kopf-innen { flex-wrap: wrap; align-content: center; gap: 10px 12px; padding: 0 16px; }

  .menue-knopf { padding: 8px 10px; }
  .menue-text {
    position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
  }
  .kopf-marke img { height: 24px; }
  .kopf-marke .titel { font-size: .9rem; }
  .sprache { margin-left: 0; }
  .suche { order: 5; width: 100%; margin-left: 0; }
  .suche .taste { display: none; }
  .inhalt { padding: 20px 16px 64px; }
  .eingaenge, .wirkung-spalten, .blaettern { grid-template-columns: 1fr; }

  .tabelle-huelle { overflow: visible; }
  .tabelle-huelle table, .tabelle-huelle tbody, .tabelle-huelle tr, .tabelle-huelle td { display: block; }
  .tabelle-huelle thead {
    position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
  }
  .tabelle-huelle tr { padding: 12px 14px; border-bottom: 1px solid var(--linie); }
  .tabelle-huelle tr:last-child { border-bottom: 0; }

  .vergleich td[data-weg]::before { content: attr(data-weg); display: block; margin-top: 6px; font-size: .72rem; font-weight: 700;
    letter-spacing: .06em; text-transform: uppercase; color: var(--text-leise); }
  .tabelle-huelle td { padding: 0; border: 0; min-width: 0; }
  .tabelle-huelle td + td { margin-top: 5px; }
  .tabelle-huelle td:first-child { min-width: 0; }
  .tabelle-huelle td.vorgabe { min-width: 0; }
  .tabelle-huelle td.vorgabe::before { content: "Vorgabe: "; color: var(--text-leise); }
  .tabelle-huelle table.schluessel td:nth-child(-n+2) { display: inline-block; margin: 0 8px 0 0; }
  .tabelle-huelle table.schluessel td:nth-child(3) { margin-top: 4px; }
  .blaettern .weiter { grid-column: 1; }
  .bildmarke { width: 22px; height: 22px; font-size: .72rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

@media print {
  .kopf, .baum, .seiteninhalt, .blaettern, .entwurf, .springe, .lupe-knopf, .lupe { display: none !important; }
  .geruest { display: block; }
  .inhalt { padding: 0; }
  body { font-size: 11pt; }
  .bildmarke.bereit { display: grid; }
  .hervorhebung.bereit { display: block; }
}

.buchstaben { display: flex; flex-wrap: wrap; gap: 6px 10px; margin: 0 0 8px; font-weight: 600; }
.buchstaben a { text-decoration: none; padding: 2px 6px; border-radius: var(--radius-s); }
.buchstaben a:hover { background: var(--info-bg); }
ul.stichwoerter { list-style: none; padding: 0; margin: 0 0 16px; }
ul.stichwoerter li { margin: 0 0 6px; line-height: 1.45; }
ul.stichwoerter .wort { font-weight: 600; color: var(--navy); margin-right: 6px; }
ul.stichwoerter a { font-size: .9rem; }
