:root {
  --marke: #13263a;
  --marke-2: #1f3b58;
  --text: #25303c;
  --text-weich: #5a6573;
  --linie: #dfe5ec;
  --flaeche: #f3f5f8;
  --flaeche-2: #e7ecf2;
  --akzent: #1b5a96;
  --akzent-weich: #dce8f5;
  --fokus: #2f7fd1;
  --markierung: #ffeaa0;
  --auswahl: #cfe0f3;
  --schatten-tief: 0 14px 28px -8px rgba(0, 0, 0, .24), 0 2px 6px rgba(0, 0, 0, .08);
  --schatten-flach: 0 1px 2px rgba(0, 0, 0, .05), 0 8px 22px -10px rgba(0, 0, 0, .18);
  --radius: 12px;
  --radius-klein: 8px;
  --schrift: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", "Segoe UI Mono", Consolas, "Liberation Mono", Menlo, monospace;
  --breite: 1440px;
  --kopf-hoehe: 68px;
  --rand: 32px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--kopf-hoehe) + 20px); accent-color: var(--akzent); scrollbar-color: #c3ccd6 transparent; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; font-family: var(--schrift); font-size: 1.0625rem; line-height: 1.65; color: var(--text); background: #fff; }
::selection { background: var(--auswahl); color: var(--marke); }
img { max-width: 100%; height: auto; }
a { color: var(--akzent); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--fokus); outline-offset: 2px; }
button { font: inherit; }
input { caret-color: var(--akzent); }
.nur-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.breite { max-width: var(--breite); margin: 0 auto; padding: 0 var(--rand); }

.sprung { position: absolute; left: 12px; top: -100px; z-index: 50; background: #fff; color: var(--marke); padding: 10px 14px; border-radius: var(--radius-klein); font-weight: 600; }
.sprung:focus { top: 12px; }

/* Pillen, Chips und Knoepfe: Text an der Versalhoehe ausrichten */
.chip, .knopf, .pille, .kopf-nav a, .sprungmarken a { display: inline-block; line-height: 1.2; text-decoration: none; }
.chip { font-size: .8125rem; font-weight: 500; padding: 6px 10px 4px; border-radius: 999px; background: var(--flaeche-2); color: var(--marke); font-variant-numeric: tabular-nums; white-space: nowrap; }
.chip-leise { background: transparent; color: var(--text-weich); padding-left: 4px; padding-right: 4px; }
.knopf { font-size: .95rem; font-weight: 600; padding: 13px 18px 11px; border: 0; border-radius: var(--radius-klein); background: var(--flaeche-2); color: var(--marke); cursor: pointer; transition: background-color .2s, transform .1s; }
.knopf:hover { background: #d9e1ea; }
.knopf:active { transform: translateY(1px); }
.knopf-primaer { background: var(--marke); color: #fff; }
.knopf-primaer:hover { background: var(--marke-2); }
.pille { font-size: .95rem; font-weight: 500; padding: 9px 15px 7px; border-radius: 999px; background: var(--flaeche); color: var(--text); transition: background-color .2s; }
.pille:hover { background: var(--flaeche-2); }
.pille[aria-current] { background: var(--akzent-weich); color: var(--marke); font-weight: 600; }
.anzahl { color: var(--text-weich); font-variant-numeric: tabular-nums; font-weight: 500; }
.pille .anzahl { margin-left: 4px; }
@supports (text-box: cap alphabetic) {
  .chip, .knopf, .pille, .kopf-nav a, .sprungmarken a { text-box: cap alphabetic; }
  .chip { padding: 8px 10px; }
  .chip-leise { padding: 8px 4px; }
  .knopf { padding: 15px 18px; }
  .pille { padding: 11px 15px; }
}

/* Kopf */
.kopf { position: sticky; top: 0; z-index: 20; background: var(--marke); color: #fff; }
.kopf-innen { max-width: var(--breite); margin: 0 auto; padding: 0 var(--rand); min-height: var(--kopf-hoehe); display: flex; align-items: center; gap: 28px; }
.logo { flex: none; border-radius: 4px; }
.logo img { display: block; height: 30px; width: auto; }
.kopf .suche { flex: 1 1 auto; max-width: 520px; margin-left: auto; }
.kopf-nav { display: flex; gap: 4px; margin-left: auto; flex: none; }
.kopf .suche + .kopf-nav { margin-left: 0; }
.kopf-nav a { color: #fff; font-size: .95rem; padding: 10px 13px 8px; border-radius: 999px; transition: background-color .2s; }
.kopf-nav a:hover { background: rgba(255, 255, 255, .1); }
.kopf-nav a[aria-current] { background: rgba(255, 255, 255, .16); }
@supports (text-box: cap alphabetic) { .kopf-nav a { padding: 12px 13px; } }

/* Suche */
.suche { position: relative; }
.suche input { width: 100%; font: inherit; font-size: 1rem; line-height: 1.3; padding: 10px 44px 10px 42px; border: 0; border-radius: 999px; color: #fff; background: rgba(255, 255, 255, .12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") no-repeat 15px center / 18px; transition: background-color .2s; -webkit-appearance: none; appearance: none; }
.suche input::placeholder { color: rgba(255, 255, 255, .72); }
.suche input:focus { outline: none; background-color: #fff; color: var(--text); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235a6573' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E"); }
.suche input:focus::placeholder { color: var(--text-weich); }
.suche input:focus-visible { box-shadow: 0 0 0 3px rgba(47, 127, 209, .55); }
.suche input::-webkit-search-cancel-button { -webkit-appearance: none; }
.suche-taste { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font: 600 .8rem/1 var(--mono); padding: 5px 8px; border-radius: 6px; background: rgba(255, 255, 255, .14); color: rgba(255, 255, 255, .85); pointer-events: none; }
.suche:focus-within .suche-taste, .suche input:not(:placeholder-shown) + .suche-taste { display: none; }
@media (hover: none) { .suche-taste { display: none; } }
.suche-gross input { font-size: 1.125rem; padding: 17px 56px 17px 54px; color: var(--text); background-color: #fff; background-position: 20px center; background-size: 22px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235a6573' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E"); box-shadow: var(--schatten-flach); }
.suche-gross input::placeholder { color: var(--text-weich); }
.suche-gross .suche-taste { right: 18px; background: var(--flaeche-2); color: var(--text-weich); }
.treffer-liste { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 30; background: #fff; color: var(--text); border-radius: var(--radius); box-shadow: var(--schatten-tief); max-height: min(70vh, 600px); overflow: auto; padding: 6px; scrollbar-width: thin; }
.kopf .treffer-liste { min-width: min(600px, calc(100vw - 32px)); }
.treffer { display: flex; gap: 12px; padding: 10px 12px; border-radius: var(--radius-klein); color: inherit; text-decoration: none; }
.treffer:hover, .treffer:focus-visible { background: var(--flaeche); outline: none; }
.treffer img { width: 32px; height: 32px; border-radius: 7px; flex: none; margin-top: 2px; }
.treffer-text { min-width: 0; }
.treffer-ort { display: block; font-size: .8rem; color: var(--text-weich); line-height: 1.4; }
.treffer-titel { display: block; font-weight: 600; color: var(--marke); line-height: 1.35; }
.treffer-auszug { display: block; font-size: .875rem; color: var(--text-weich); line-height: 1.45; margin-top: 2px; }
.treffer mark { background: var(--markierung); color: inherit; border-radius: 2px; }
.treffer-leer { margin: 0; padding: 14px 12px; font-size: .95rem; color: var(--text-weich); }

/* Startseite und Kategorien */
.start-kopf { background: var(--flaeche); padding: 56px 0 48px; }
.start-kopf h1 { font-size: clamp(2rem, 1.35rem + 2.4vw, 3.25rem); line-height: 1.08; letter-spacing: -.025em; color: var(--marke); margin: 0 0 12px; text-wrap: balance; }
.start-text { margin: 0 0 28px; font-size: 1.15rem; color: var(--text-weich); max-width: 66ch; text-wrap: balance; }
.start-kopf .suche { max-width: 720px; }
.start-raster { display: grid; gap: 40px; }
.bewertung { margin: 16px 0 0; font-size: .95rem; }
.bewertung a { display: inline-flex; align-items: center; gap: 10px; color: var(--text-weich); text-decoration: none; }
.bewertung a:hover { color: var(--marke); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.sterne { display: inline-flex; gap: 2px; }
.stern { width: 18px; height: 18px; fill: #f5b400; }
.neu { display: none; }
@media (min-width: 1080px) {
  .start-raster { grid-template-columns: minmax(0, 1fr) 380px; align-items: end; gap: 64px; }
  .neu { display: block; padding: 18px 18px 10px; border-radius: var(--radius); background: #fff; }
}
.neu h2 { margin: 0 0 6px 6px; font-size: .9rem; font-weight: 600; color: var(--marke); }
.neu ol { list-style: none; margin: 0; padding: 0; }
.neu a { display: flex; align-items: center; gap: 12px; padding: 8px 6px; border-radius: var(--radius-klein); color: inherit; text-decoration: none; transition: background-color .2s; }
.neu a:hover { background: var(--flaeche); }
.neu img { width: 32px; height: 32px; border-radius: 7px; flex: none; }
.neu-name { display: block; font-weight: 600; color: var(--marke); line-height: 1.3; font-size: .95rem; }
.neu a:hover .neu-name { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.neu-meta { display: block; font-size: .85rem; color: var(--text-weich); font-variant-numeric: tabular-nums; }
.start-inhalt { padding-top: 28px; }
.filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.liste { margin-top: 36px; }
.liste-titel { display: flex; align-items: baseline; gap: 10px; font-size: 1.3rem; color: var(--marke); margin: 0 0 6px; letter-spacing: -.01em; }
.liste-titel .anzahl { font-size: .95rem; }
.plugin-liste { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 400px), 1fr)); column-gap: 40px; }
.plugin-liste > li { border-top: 1px solid var(--linie); }
.plugin-karte { display: flex; gap: 16px; height: 100%; margin: 0 -12px; padding: 18px 12px 20px; border-radius: var(--radius-klein); color: inherit; text-decoration: none; transition: background-color .2s; }
.plugin-karte:hover { background: var(--flaeche); }
.plugin-karte img { width: 44px; height: 44px; border-radius: 10px; flex: none; margin-top: 2px; }
.karte-text { display: flex; flex-direction: column; min-width: 0; }
.karte-titel { font-weight: 650; font-size: 1.05rem; line-height: 1.35; color: var(--marke); text-wrap: pretty; }
.plugin-karte:hover .karte-titel { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.karte-auszug { margin: 5px 0 12px; font-size: .95rem; line-height: 1.5; color: var(--text-weich); text-wrap: pretty; }
.karte-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
/* Empfohlenes Plugin */
.empfehlung { display: grid; gap: 24px; margin: 8px 0 36px; padding: 26px 24px 24px; border-radius: var(--radius); background: var(--marke); color: rgba(255, 255, 255, .86); overflow: hidden; }
.empfehlung h2 { display: flex; align-items: center; gap: 14px; margin: 0 0 14px; font-size: clamp(1.45rem, 1.1rem + 1vw, 1.9rem); line-height: 1.2; letter-spacing: -.015em; }
.empfehlung h2 img { width: 48px; height: 48px; border-radius: 11px; flex: none; }
.empfehlung h2 a { color: #fff; text-decoration: none; }
.empfehlung h2 a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .18em; }
.empfehlung .chip { background: rgba(255, 255, 255, .12); color: #fff; }
.empfehlung .chip-empfohlen { background: var(--akzent-weich); color: var(--marke); font-weight: 600; }
.empfehlung-auszug { margin: 16px 0 22px; max-width: 54ch; font-size: 1.05rem; line-height: 1.6; text-wrap: pretty; }
.empfehlung .aktionen { margin: 0; }
.empfehlung .knopf { background: rgba(255, 255, 255, .12); color: #fff; }
.empfehlung .knopf:hover { background: rgba(255, 255, 255, .2); }
.empfehlung .knopf-primaer { background: #fff; color: var(--marke); }
.empfehlung .knopf-primaer:hover { background: var(--flaeche-2); }
.empfehlung :focus-visible { outline-color: #fff; }
.empfehlung ::selection { background: #2f4a68; color: #fff; }
.empfehlung-bild { display: none; }
@media (min-width: 900px) {
  .empfehlung { grid-template-columns: minmax(0, 1fr) auto; gap: 56px; align-items: end; padding: 0 56px 0 40px; }
  .empfehlung-text { padding: 36px 0; align-self: center; }
  .empfehlung-bild { display: block; padding-top: 32px; }
  .empfehlung-bild img { display: block; width: auto; height: 300px; border-radius: 10px 10px 0 0; box-shadow: 0 -12px 40px -10px rgba(0, 0, 0, .5); }
}
@media (min-width: 1280px) {
  .empfehlung { padding-right: 96px; }
  .empfehlung-bild img { height: 330px; }
}

.hilfe { margin-top: 56px; padding: 28px 28px 24px; border-radius: var(--radius); background: var(--akzent-weich); }
.hilfe h2 { margin: 0 0 8px; font-size: 1.3rem; line-height: 1.3; color: var(--marke); }
.hilfe p { margin: 0 0 18px; max-width: 64ch; text-wrap: pretty; }
.hilfe .mail { font-weight: 600; color: var(--marke); }
.hilfe .aktionen { margin: 0; }
.hilfe .knopf:not(.knopf-primaer) { background: #fff; }
.hilfe .knopf:not(.knopf-primaer):hover { background: #f1f5fa; }

/* Plugin-Seite */
.raster { max-width: var(--breite); margin: 0 auto; padding: 32px var(--rand) 24px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; }
.artikel { min-width: 0; max-width: 820px; }
.pfad { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; font-size: .9rem; color: var(--text-weich); }
.pfad a { color: var(--text-weich); }
.plugin-kopf { display: flex; gap: 20px; align-items: flex-start; }
.plugin-icon { width: 64px; height: 64px; border-radius: 14px; flex: none; margin-top: 4px; }
h1 { font-size: clamp(1.45rem, 1.05rem + .9vw, 1.85rem); line-height: 1.2; letter-spacing: -.015em; color: var(--marke); margin: 0 0 14px; text-wrap: balance; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.einleitung { margin-top: 24px; }
.einleitung p { margin: 0 0 14px; max-width: 68ch; }
.einleitung p:first-child { font-size: 1.125rem; line-height: 1.6; }
.hinweis { font-size: .925rem; color: var(--text-weich); }
.aktionen { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0; }
.sprungmarken { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 28px; padding-top: 4px; }
.sprungmarken span { font-size: .9rem; color: var(--text-weich); margin-right: 4px; }
.sprungmarken a { font-size: .9rem; font-weight: 500; padding: 8px 13px 6px; border-radius: 999px; background: var(--flaeche); color: var(--marke); transition: background-color .2s; }
.sprungmarken a:hover { background: var(--flaeche-2); }
@supports (text-box: cap alphabetic) { .sprungmarken a { padding: 10px 13px; } }

.text h2 { font-size: 1.55rem; line-height: 1.3; letter-spacing: -.01em; color: var(--marke); margin: 60px 0 14px; text-wrap: balance; }
.text h3 { font-size: 1.2rem; line-height: 1.35; color: var(--marke); margin: 36px 0 10px; text-wrap: balance; }
.text > h2:first-child { margin-top: 32px; }
.text p, .text ul, .text ol { margin: 0 0 16px; }
.text p, .text li { max-width: 70ch; }
.text ul, .text ol { padding-left: 1.4em; }
.text li { margin: 6px 0; padding-left: 2px; }
.text li::marker { color: var(--text-weich); }
.text strong { color: var(--marke); }
.anker { margin-left: .4em; color: var(--text-weich); font-weight: 400; text-decoration: none; opacity: 0; transition: opacity .15s; }
h2:hover > .anker, h3:hover > .anker, .anker:focus-visible { opacity: 1; }
@media (hover: none) { .anker { display: none; } }
code { font-family: var(--mono); font-size: .86em; background: var(--flaeche); color: var(--marke); padding: .12em .38em; border-radius: 5px; overflow-wrap: anywhere; }
.code { position: relative; margin: 0 0 20px; }
.code pre { margin: 0; padding: 16px 18px; background: #0f1f30; color: #e5ecf4; border-radius: var(--radius-klein); overflow: auto; font-size: .875rem; line-height: 1.6; scrollbar-color: #3b5068 transparent; }
.code pre ::selection { background: #2f4a68; color: #fff; }
.code pre code { background: none; color: inherit; padding: 0; font-size: inherit; overflow-wrap: normal; }
.code-kopieren { position: absolute; top: 8px; right: 8px; font-size: .8rem; font-weight: 600; padding: 7px 10px; border: 0; border-radius: 6px; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; opacity: 0; transition: opacity .15s, background-color .2s; }
.code:hover .code-kopieren, .code-kopieren:focus-visible { opacity: 1; }
.code-kopieren:hover { background: rgba(255, 255, 255, .22); }
@media (hover: none) { .code-kopieren { opacity: 1; } }

.tabelle { margin: 4px 0 24px; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; line-height: 1.5; font-variant-numeric: tabular-nums; }
th, td { text-align: left; vertical-align: top; padding: 11px 14px; border-bottom: 1px solid var(--linie); }
thead th { background: var(--flaeche); color: var(--marke); font-weight: 600; border-bottom: 0; }
thead th:first-child { border-radius: 8px 0 0 8px; }
thead th:last-child { border-radius: 0 8px 8px 0; }
.tabelle td:first-child { font-weight: 600; color: var(--marke); width: 32%; }
.tabelle:not(.tabelle-zwei) td:nth-child(2) { width: 16%; }

details.frage { margin: 0 0 8px; border-radius: var(--radius-klein); background: var(--flaeche); transition: background-color .2s; }
details.frage:target { background: var(--akzent-weich); }
details.frage summary { position: relative; padding: 15px 52px 15px 18px; font-weight: 600; color: var(--marke); cursor: pointer; list-style: none; border-radius: var(--radius-klein); }
details.frage summary::-webkit-details-marker { display: none; }
details.frage summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-52%); font-size: 1.35rem; font-weight: 400; line-height: 1; color: var(--text-weich); }
details.frage[open] summary::after { content: "\2212"; }
details.frage summary:hover { background: var(--flaeche-2); }
.frage-inhalt { padding: 2px 18px 6px; }

/* Seitenspalten: Plugin-Liste links, Inhaltsverzeichnis rechts */
.seitenleiste, .plugin-nav-spalte { display: none; }
.inhalt-mobil { margin: 0 0 8px; border-radius: var(--radius-klein); background: var(--flaeche); }
.inhalt-mobil summary { padding: 13px 16px; font-weight: 600; color: var(--marke); cursor: pointer; }
.inhalt-mobil nav { padding: 0 8px 10px; }
.inhaltsverzeichnis ul, .inhalt-mobil ul, .plugin-nav ul { list-style: none; margin: 0; padding: 0; }
.inhaltsverzeichnis a, .inhalt-mobil a, .plugin-nav a { display: block; padding: 6px 10px; border-radius: 7px; color: var(--text-weich); text-decoration: none; line-height: 1.35; font-size: .9rem; transition: background-color .15s, color .15s; }
.inhaltsverzeichnis a:hover, .inhalt-mobil a:hover, .plugin-nav a:hover { color: var(--marke); background: var(--flaeche); }
.inhaltsverzeichnis a[aria-current], .plugin-nav a[aria-current] { color: var(--marke); background: var(--akzent-weich); font-weight: 600; }
.stufe-3 a { position: relative; padding-left: 28px; font-size: .85rem; }
.stufe-3 a::before { content: ""; position: absolute; left: 14px; top: calc(6px + .675em - 2.5px); width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: .5; }
.stufe-3 a[aria-current]::before { opacity: .9; }
.iv-titel { margin: 0 0 8px 10px; font-size: .85rem; font-weight: 600; color: var(--marke); }
.plugin-nav .iv-titel { margin-top: 22px; }
.plugin-nav .iv-titel:first-child { margin-top: 0; }
.inhaltsverzeichnis, .plugin-nav { position: sticky; top: calc(var(--kopf-hoehe) + 28px); max-height: calc(100vh - var(--kopf-hoehe) - 56px); overflow: auto; padding-bottom: 12px; scrollbar-width: thin; }

@media (min-width: 1080px) {
  .raster { grid-template-columns: minmax(0, 1fr) 240px; }
  .seitenleiste { display: block; }
  .inhalt-mobil, .sprungmarken { display: none; }
}
@media (min-width: 1360px) {
  .raster { grid-template-columns: 224px minmax(0, 1fr) 240px; gap: 56px; }
  .plugin-nav-spalte { display: block; }
}

.fehler { padding-top: 64px; min-height: 40vh; }
.fehler h1 { font-size: clamp(2rem, 1.35rem + 2.4vw, 3rem); letter-spacing: -.025em; }

/* Fuss */
.fuss { margin-top: 80px; background: var(--marke); color: rgba(255, 255, 255, .78); }
.fuss-innen { max-width: var(--breite); margin: 0 auto; padding: 52px var(--rand) 56px; display: grid; gap: 32px; grid-template-columns: 1fr; font-size: .95rem; }
.fuss-marke img { height: 30px; width: auto; display: block; }
.fuss h2 { margin: 0 0 12px; font-size: .9rem; font-weight: 600; color: #fff; }
.fuss ul { list-style: none; margin: 0; padding: 0; }
.fuss li { margin: 0 0 8px; }
.fuss a { color: rgba(255, 255, 255, .82); text-decoration: none; }
.fuss a:hover { color: #fff; text-decoration: underline; }
.fuss ::selection { background: #2f4a68; color: #fff; }
@media (min-width: 860px) { .fuss-innen { grid-template-columns: 2fr repeat(3, 1fr); } }

/* Bilder */
.galerie { margin: 8px 0 8px; }
.galerie h2, .versionen h2 { font-size: 1.55rem; line-height: 1.3; letter-spacing: -.01em; color: var(--marke); margin: 40px 0 14px; }
.galerie h2 .anzahl { font-size: 1rem; font-weight: 500; letter-spacing: 0; margin-left: 4px; }
.galerie-rahmen { position: relative; }
.galerie-pfeil { position: absolute; top: 4px; z-index: 2; width: 150px; height: calc(min(280px, 72vw) * .625 + 2px); padding: 0; border: 0; cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .25s; background-color: transparent; }
.galerie-pfeil::after { content: ""; position: absolute; top: 50%; width: 42px; height: 42px; margin-top: -21px; border-radius: 50%; background: var(--marke) no-repeat center / 20px; box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .5); transition: transform .2s, background-color .2s; }
.galerie-pfeil:hover::after { transform: scale(1.07); background-color: var(--marke-2); }
.galerie-weiter { right: calc(var(--rand) * -1); background-image: linear-gradient(to right, rgba(19, 38, 58, 0) 0%, rgba(19, 38, 58, .03) 18%, rgba(19, 38, 58, .08) 32%, rgba(19, 38, 58, .15) 45%, rgba(19, 38, 58, .24) 57%, rgba(19, 38, 58, .35) 68%, rgba(19, 38, 58, .46) 79%, rgba(19, 38, 58, .55) 90%, rgba(19, 38, 58, .6) 100%); }
.galerie-weiter::after { right: 18px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m10 6 6 6-6 6'/%3E%3C/svg%3E"); }
.galerie-zurueck { left: calc(var(--rand) * -1); background-image: linear-gradient(to left, rgba(19, 38, 58, 0) 0%, rgba(19, 38, 58, .03) 18%, rgba(19, 38, 58, .08) 32%, rgba(19, 38, 58, .15) 45%, rgba(19, 38, 58, .24) 57%, rgba(19, 38, 58, .35) 68%, rgba(19, 38, 58, .46) 79%, rgba(19, 38, 58, .55) 90%, rgba(19, 38, 58, .6) 100%); }
.galerie-zurueck::after { left: 18px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m14 6-6 6 6 6'/%3E%3C/svg%3E"); }
.galerie-rahmen.mehr-rechts .galerie-weiter, .galerie-rahmen.mehr-links .galerie-zurueck { opacity: 1; pointer-events: auto; }
.galerie-pfeil:focus-visible { outline: none; }
.galerie-pfeil:focus-visible::after { outline: 2px solid #fff; outline-offset: 2px; }
.galerie-liste { list-style: none; margin: 0 calc(var(--rand) * -1); padding: 4px var(--rand) 12px; display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--rand); scrollbar-width: thin; }
.galerie-liste li { flex: 0 0 auto; width: min(280px, 72vw); scroll-snap-align: start; }
.galerie figure { margin: 0; }
.galerie-bild { display: block; border: 1px solid var(--linie); border-radius: var(--radius-klein); overflow: hidden; background: var(--flaeche); aspect-ratio: 16 / 10; cursor: zoom-in; transition: box-shadow .2s; }
.galerie-bild:hover { box-shadow: var(--schatten-flach); }
.galerie-bild img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.galerie figcaption { margin-top: 8px; font-size: .85rem; line-height: 1.45; color: var(--text-weich); text-wrap: pretty; }
.galerie .hinweis { margin: 4px 0 0; font-size: .85rem; }
.bildansicht { width: min(1280px, calc(100vw - 32px)); max-width: none; max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: var(--radius); background: #fff; color: var(--text); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .5); }
.bildansicht::backdrop { background: rgba(10, 20, 32, .78); }
.bildansicht-innen { display: flex; flex-direction: column; max-height: calc(100vh - 32px); }
.bildansicht-bild { flex: 1 1 auto; min-height: 0; display: flex; align-items: center; justify-content: center; background: var(--flaeche); padding: 12px; }
.bildansicht-bild img { display: block; max-width: 100%; max-height: calc(100vh - 150px); width: auto; height: auto; border-radius: 6px; }
.bildansicht-leiste { display: flex; align-items: center; gap: 12px; padding: 12px 14px; }
.bildansicht-text { flex: 1 1 auto; margin: 0; font-size: .95rem; line-height: 1.45; }
.bildansicht-zahl { font-size: .85rem; color: var(--text-weich); font-variant-numeric: tabular-nums; white-space: nowrap; }
.bildansicht button { border: 0; border-radius: var(--radius-klein); background: var(--flaeche-2); color: var(--marke); font-weight: 600; font-size: .9rem; padding: 10px 14px; cursor: pointer; line-height: 1.2; transition: background-color .2s; }
.bildansicht button:hover { background: #d9e1ea; }
.bildansicht button[disabled] { opacity: .4; cursor: default; }

/* Versionen */
.versionen { margin-top: 8px; }
.versionsliste { list-style: none; margin: 0; padding: 0; }
.versionsliste > li { padding: 14px 0 6px; border-top: 1px solid var(--linie); }
.versionsliste > li:first-child { border-top: 0; padding-top: 4px; }
.version-kopf { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 0 0 6px; }
.version-kopf strong { font-size: 1.05rem; color: var(--marke); font-variant-numeric: tabular-nums; }
.version-datum { color: var(--text-weich); font-size: .9rem; }
.versionsliste ul { margin: 0 0 8px; padding-left: 1.3em; }
.versionsliste ul li { margin: 4px 0; max-width: 70ch; font-size: .95rem; }
details.aeltere { margin: 8px 0 0; border-radius: var(--radius-klein); background: var(--flaeche); }
details.aeltere summary { padding: 13px 16px; font-weight: 600; color: var(--marke); cursor: pointer; }
details.aeltere .versionsliste { padding: 0 16px 8px; }
.versionen > .hinweis { margin-top: 12px; font-size: .85rem; }

/* Meldung nach dem Kopieren */
.meldung { position: fixed; left: 50%; bottom: 24px; z-index: 40; padding: 11px 16px; border-radius: var(--radius-klein); background: var(--marke); color: #fff; font-size: .9rem; font-weight: 500; opacity: 0; transform: translate(-50%, 12px); transition: opacity .2s, transform .2s; pointer-events: none; }
.meldung.sichtbar { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 1079px) {
  :root { --rand: 24px; }
}
@media (max-width: 759px) {
  :root { --rand: 16px; --kopf-hoehe: 0px; }
  body { font-size: 1rem; }
  .kopf { position: static; }
  .kopf-innen { flex-wrap: wrap; gap: 10px 12px; padding-top: 12px; padding-bottom: 12px; min-height: 0; }
  .logo img { height: 24px; }
  .kopf .suche { order: 3; flex-basis: 100%; max-width: none; margin: 0; }
  .kopf-nav { margin-left: auto; }
  .kopf .suche + .kopf-nav { margin-left: auto; }
  .kopf-nav a { font-size: .9rem; padding-left: 10px; padding-right: 10px; }
  .kopf-nav a:first-child { display: none; }
  .kopf .treffer-liste { min-width: 0; }
  .start-kopf { padding: 36px 0 32px; }
  .suche-gross input { font-size: 1rem; padding: 15px 18px 15px 48px; background-position: 17px center; background-size: 20px; }
  .plugin-karte { padding: 16px 12px; gap: 14px; }
  .plugin-karte img { width: 40px; height: 40px; border-radius: 9px; }
  .plugin-kopf { gap: 14px; }
  .plugin-icon { width: 48px; height: 48px; border-radius: 11px; }
  .text h2 { font-size: 1.35rem; margin-top: 48px; }
  .aktionen .knopf { flex: 1 1 auto; text-align: center; }
  .hilfe { padding: 22px 18px 18px; }
  .tabelle { overflow: visible; }
  .tabelle table, .tabelle tbody, .tabelle tr, .tabelle td { display: block; width: auto !important; }
  .tabelle thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .tabelle tr { padding: 12px 0; border-bottom: 1px solid var(--linie); }
  .tabelle td { border: 0; padding: 2px 0; }
  .tabelle td[data-label]::before { content: attr(data-label) ": "; font-weight: 600; color: var(--marke); }
  .bildansicht-leiste { flex-wrap: wrap; gap: 10px; }
  .galerie-pfeil { width: 96px; }
  .galerie-pfeil::after { width: 38px; height: 38px; margin-top: -19px; }
  .galerie-weiter::after { right: 12px; }
  .galerie-zurueck::after { left: 12px; }
  .bildansicht-text { flex: 1 1 100%; font-size: .9rem; }
  .bildansicht button { flex: 1 1 auto; }
  .bildansicht-bild img { max-height: calc(100vh - 220px); }
}

@media print {
  .kopf, .fuss, .seitenleiste, .plugin-nav-spalte, .inhalt-mobil, .sprungmarken, .aktionen, .anker, .code-kopieren, .sprung, .meldung, .galerie, .bildansicht { display: none !important; }
  body { font-size: 11pt; color: #000; }
  .raster { display: block; padding: 0; }
  .artikel { max-width: none; }
  .hilfe { background: none; padding: 0; }
  .code pre { background: #f3f3f3; color: #000; white-space: pre-wrap; }
  a { color: inherit; }
}
