/* Barrierefreies Hamburg. Tokens nach Handlungsdatei §3, Kontraste im Umsetzungsplan Abschnitt 4. */
@font-face { font-family: "Atkinson Next"; src: url("/fonts/next-latin.woff2") format("woff2"); font-weight: 200 800; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2190-2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Atkinson Next"; src: url("/fonts/next-latin-ext.woff2") format("woff2"); font-weight: 200 800; font-display: swap; unicode-range: U+0100-02BA, U+1E00-1EFF, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Atkinson Mono"; src: url("/fonts/mono-latin.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }

:root {
  --navy: #123A5A; --blue: #126AA3; --light: #F2F7FA; --pale: #E1ECF4; --text: #172B3A; --leise: #4A5F6E;
  --border: #CBD8E1;   /* nur Zierlinie, 1,45:1 */
  --rand: #5B7385;     /* Formularraender, 4,96:1 */
  --white: #FFFFFF; --focus: #F5A623; --ja: #1B6B3A; --nein: #A32A1F; --warn: #7A4B00;
  --radius: 12px; --schatten: 0 1px 2px rgb(18 58 90 / .08), 0 8px 24px rgb(18 58 90 / .08);
  --sans: "Atkinson Next", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Atkinson Mono", ui-monospace, Menlo, monospace;
  color-scheme: light;
}
html[data-schrift="gross"] { font-size: 115%; }
html[data-schrift="sehr-gross"] { font-size: 132%; }
html[data-kontrast="hoch"] {
  --navy: #000; --blue: #00407A; --light: #fff; --pale: #fff; --text: #000; --leise: #000; --border: #000; --rand: #000;
  --ja: #00501F; --nein: #8A0F06; --warn: #000; --schatten: none;
}
html[data-kontrast="hoch"] .karte, html[data-kontrast="hoch"] .kachel, html[data-kontrast="hoch"] .kasten { border-width: 2px; }

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 1rem; }
body { margin: 0; background: var(--white); color: var(--text); font-family: var(--sans); font-size: 1.0625rem; line-height: 1.55; overflow-wrap: break-word; }
h1, h2, h3 { color: var(--navy); line-height: 1.15; letter-spacing: -.012em; margin: 0 0 .5em; font-weight: 750; }
h1 { font-size: clamp(2rem, 1.5rem + 2vw, 2.9rem); }
h2 { font-size: clamp(1.45rem, 1.25rem + .8vw, 1.85rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
img, svg { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--blue); text-underline-offset: .18em; text-decoration-thickness: .08em; }
a:hover { color: var(--navy); text-decoration-thickness: .14em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd { margin: 0; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.ic { flex: none; width: 1.4em; height: 1.4em; }
main:focus { outline: none; }
.vh { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.huelle { width: min(100% - 2rem, 76rem); margin-inline: auto; }
.seite { padding-block: 1.25rem 3.5rem; }
/* Inhalte laufen ueber die volle Spalte (Vorgabe des Betreibers) */
.lesen { max-width: none; }
.klein { font-size: .92rem; color: var(--leise); margin: .4rem 0 0; }
.klein:empty { display: none; }
.feld-falle { position: absolute; left: -9999px; }
.profil-bild img { width: 100%; max-height: 24rem; object-fit: cover; border-radius: var(--radius); }
.tabelle-rd { width: 100%; border-collapse: collapse; }
.tabelle-rd th, .tabelle-rd td { text-align: left; vertical-align: top; padding: .55rem .5rem; border-bottom: 1px solid var(--border); }
.rd-aktion { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.rd-aktion form { margin: 0; }

/* Zweifarbiger Fokus: Bernstein allein haette auf Weiss nur 2,03:1 */
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; box-shadow: 0 0 0 3px var(--focus); border-radius: 4px; }
.fuss :focus-visible { outline-color: #fff; }

.skip { position: absolute; left: 1rem; top: -5rem; z-index: 50; background: var(--navy); color: #fff; padding: .75rem 1rem; border-radius: 8px; font-weight: 700; }
.skip:focus { top: .5rem; color: #fff; }
.demo-band { margin: 0; padding: .45rem 1rem; background: var(--navy); color: #fff; text-align: center; font-size: .95rem; }

/* Kopf */
.kopf { border-bottom: 1px solid var(--border); background: var(--white); }
.kopf-reihe { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.75rem; flex-wrap: wrap; padding-block: .5rem; }
.logo { display: inline-flex; align-items: center; gap: .65rem; color: var(--navy); text-decoration: none; font-weight: 800; line-height: 1.05; font-size: 1.2rem; letter-spacing: -.01em; min-height: 44px; }
.logo-text { display: inline-flex; flex-direction: column; }
.logo-zeichen { flex: none; }
.hauptnav { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.hauptnav ul { display: flex; gap: .25rem; flex-wrap: wrap; }
.hauptnav li a { display: inline-flex; align-items: center; min-height: 44px; padding: .25rem .7rem; color: var(--text); text-decoration: none; font-weight: 600; border-radius: 8px; }
.hauptnav li a:hover { background: var(--light); color: var(--navy); }
.hauptnav li a[aria-current] { color: var(--navy); box-shadow: inset 0 -3px 0 var(--blue); border-radius: 0; }
.anzeigehilfe { display: flex; gap: .4rem; }
.anzeigehilfe .gross { font-size: 1.3em; margin-left: .05em; }

/* Knoepfe */
.knopf, .knopf-leise { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: .55rem 1.2rem; border-radius: 10px; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
.knopf { background: var(--blue); color: #fff; border: 2px solid var(--blue); }
.knopf:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.knopf-leise { background: var(--white); color: var(--navy); border: 1.5px solid var(--rand); min-height: 44px; padding-inline: .8rem; }
.knopf-leise:hover { background: var(--light); color: var(--navy); }
.knopf-leise[aria-pressed="true"] { background: var(--navy); color: #fff; }
.knopf-breit { width: 100%; }
.menue-knopf { display: none; }

/* Held */
.held { position: relative; background: linear-gradient(180deg, #DCEBF5 0%, var(--light) 100%); overflow: hidden; }
.held-bild { position: absolute; inset: 0 0 0 auto; width: 58%; }
.held-bild img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 30%); mask-image: linear-gradient(90deg, transparent 0, #000 30%); }
/* ©-Zeichen auf allen Bildern: Nachweis bei Hover, Fokus oder Tipp */
.bild-rahmen { position: relative; }
.copyright-feld { position: absolute; right: .45rem; bottom: .45rem; z-index: 3; }
.copyright { display: grid; place-items: center; width: 28px; height: 28px; padding: 0; border-radius: 50%; border: 1.5px solid #fff; background: rgb(18 58 90 / .88); color: #fff; font: 700 15px/1 var(--sans); cursor: help; }
.copyright-text { display: none; position: absolute; right: 0; bottom: calc(100% + 6px); width: max-content; max-width: min(22rem, 78vw); padding: .45rem .65rem; border-radius: 6px; background: var(--navy); color: #fff; font-size: .85rem; line-height: 1.35; text-align: left; box-shadow: 0 4px 14px rgb(0 0 0 / .25); }
.copyright-text::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 8px; }
.copyright-text a { color: #fff; }
.copyright-feld:hover .copyright-text, .copyright-feld:focus-within .copyright-text, .copyright-feld.offen .copyright-text { display: block; }
.copyright-feld.aus .copyright-text { display: none; }
.copyright:focus-visible { outline-color: #fff; }
.held-rahmen, .held-rahmen img { width: 100%; height: 100%; }
/* Im Startbild liegt die Suchkarte ueber dem unteren Rand: © oberhalb davon */
.held-rahmen .copyright-feld { bottom: 5.6rem; }
.bildnachweis { position: absolute; right: .5rem; top: .5rem; margin: 0; padding: .1rem .5rem; background: rgb(18 58 90 / .88); color: #fff; font-size: .8rem; border-radius: 4px; }
.held-reihe { position: relative; padding-block: 3.5rem 7rem; }
.held-text { max-width: 33rem; }
.held-text h1 { font-size: clamp(2.3rem, 1.6rem + 3vw, 3.7rem); line-height: 1.04; letter-spacing: -.022em; font-weight: 800; }
.held-text p { font-size: 1.2rem; max-width: 29rem; margin: 0; }

/* Suchkarte */
.suche-anker { position: relative; margin-top: -4.75rem; }
.suche-gross { background: var(--white); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--schatten); padding: 1.25rem; }
.suche-felder { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 15rem) auto; gap: .75rem; align-items: end; }
.feld { display: flex; flex-direction: column; gap: .3rem; min-width: 0; }
.feld label, legend { font-weight: 700; color: var(--navy); padding: 0; }
input[type="text"], input[type="search"], input[type="url"], input[type="email"], input[type="tel"], input[type="password"], select, textarea { width: 100%; min-height: 48px; padding: .55rem .75rem; font: inherit; color: var(--text); background: var(--white); border: 1.5px solid var(--rand); border-radius: 8px; }
input[type="file"] { font: inherit; min-height: 48px; padding: .4rem 0; max-width: 100%; }
::placeholder { color: var(--leise); opacity: 1; }
[aria-invalid="true"] { border-color: var(--nein); border-width: 2px; }
input[type="checkbox"], input[type="radio"] { width: 1.5rem; height: 1.5rem; margin: 0; flex: none; accent-color: var(--blue); }
.chips { margin-top: 1rem; }
.chips legend { margin-bottom: .45rem; }
.chip-reihe { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { display: inline-flex; align-items: center; gap: .45rem; min-height: 46px; padding: .3rem .85rem; border: 1.5px solid var(--rand); border-radius: 999px; cursor: pointer; font-weight: 600; background: var(--white); }
.chip:hover { background: var(--light); }
.chip:has(:checked) { background: var(--pale); border-color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); }
.aufklapp { margin-top: .75rem; }
.aufklapp summary { cursor: pointer; color: var(--blue); font-weight: 600; min-height: 44px; display: flex; align-items: center; gap: .4rem; width: fit-content; max-width: 100%; }
.definitionen { display: grid; gap: .6rem; padding-block: .4rem; }
.definitionen dt { font-weight: 700; }

/* Abschnitte */
.abschnitt { padding-block: 3.25rem 0; }
.abschnitt-eng { padding-top: 2.25rem; }
.abschnitt-kopf { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.vorspann { color: var(--leise); }
.einstieg { font-size: 1.2rem; }
.kacheln { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 20rem), 1fr)); gap: .85rem; }
.kachel { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: .9rem; align-content: start; height: 100%; padding: 1rem 1.1rem; background: var(--light); border: 1px solid var(--border); border-radius: var(--radius); color: var(--text); text-decoration: none; }
.kachel .ic { grid-row: 1 / span 3; width: 2.2rem; height: 2.2rem; color: var(--blue); }
.kachel strong, .kachel span { grid-column: 2; }
.kachel strong { color: var(--navy); font-size: 1.1rem; line-height: 1.2; hyphens: auto; }
.kachel span { color: var(--leise); font-size: .95rem; }
.kachel:hover { background: var(--pale); border-color: var(--blue); color: var(--text); }
.kachel .anzahl { margin-top: .3rem; font-family: var(--mono); font-size: .88rem; }

/* Trefferkarten */
.karten { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 21rem), 1fr)); gap: 1rem; }
.karten-liste { grid-template-columns: minmax(0, 1fr); }
.karte-inhalt { display: flex; flex-direction: column; gap: .6rem; min-width: 0; }
/* Bild so hoch wie der Karteninhalt: kein Weissraum darunter */
.karte.mit-bild { display: grid; grid-template-columns: minmax(0, 16rem) minmax(0, 1fr); gap: 1.25rem; align-items: stretch; }
.karte-bild { height: 100%; min-height: 12rem; }
.karte-bild img { width: 100%; height: 100%; min-height: 12rem; object-fit: cover; border-radius: 8px; }
.karte-bild .copyright-feld { right: .3rem; bottom: .3rem; }
/* In der Karte klappt der Nachweis nach rechts auf, links liegt der Seitenrand */
.karte-bild .copyright-text { right: auto; left: 0; }
.karten:not(.karten-liste) .karte.mit-bild { grid-template-columns: minmax(0, 1fr); }
.karten:not(.karten-liste) .karte-bild img { height: 11rem; }
@media (max-width: 44rem) { .karte.mit-bild { grid-template-columns: minmax(0, 1fr); } .karte-bild { height: auto; } .karte-bild img { height: 13rem; } .karte-bild .copyright-text { left: auto; right: 0; } }
.karte { position: relative; display: flex; flex-direction: column; gap: .6rem; padding: 1.1rem 1.2rem; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); }
.karte:hover { border-color: var(--blue); }
.karte-kopf { display: flex; align-items: flex-start; justify-content: space-between; gap: .75rem; }
.karte-titel { margin: 0; font-size: 1.2rem; }
.karte-titel a { color: var(--navy); }
.karte-titel a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.karte-ort { display: flex; gap: .45rem; margin: 0; color: var(--leise); font-size: .97rem; }
.merkmale { display: grid; gap: .35rem .9rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr)); }
.merkmale > div { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .15rem .6rem; border-top: 1px solid var(--border); padding-top: .35rem; }
.merkmale dt { font-size: .97rem; }
.karte-fuss { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .85rem; font-size: .9rem; color: var(--leise); margin-top: auto; padding-top: .35rem; }
.demo-marke { display: inline-block; flex: none; padding: .05rem .5rem; border: 1.5px solid var(--navy); border-radius: 5px; color: var(--navy); font-size: .8rem; font-weight: 700; letter-spacing: .02em; vertical-align: middle; }

/* Status: Form unterscheidet, Farbe ergaenzt. „Keine Angabe“ ist immer gestrichelt. */
.status { display: inline-flex; align-items: center; gap: .3rem; font-weight: 700; font-size: .97rem; }
.status .ic { width: 1.15em; height: 1.15em; stroke-width: 3; }
.status-yes { color: var(--ja); }
.status-no { color: var(--nein); }
.status-gemischt { color: var(--warn); }
.status-not_applicable { color: var(--leise); font-weight: 600; }
.status-unknown { color: var(--leise); font-weight: 600; padding: 0 .5rem 0 .3rem; border: 1.5px dashed var(--rand); border-radius: 6px; background: var(--white); }
.status-frage { font-family: var(--mono); font-weight: 700; }
.quelle { display: inline-flex; align-items: center; gap: .3rem; }
.quelle .ic { width: 1.15em; height: 1.15em; }
.veraltet { display: inline-flex; align-items: center; gap: .3rem; color: var(--warn); font-weight: 700; margin: 0; }
.veraltet .ic { width: 1.1em; height: 1.1em; }

/* Herkunft */
.band { margin-top: 3.25rem; padding-block: 3rem; background: var(--light); border-block: 1px solid var(--border); }
.quellen-liste { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: 1.5rem; margin-block: 1.25rem; }
.quellen-liste li { display: flex; gap: .85rem; }
.quellen-liste p { margin: 0; }
.quellen-zeichen { flex: none; display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 10px; background: var(--white); border: 1px solid var(--border); color: var(--blue); }
.keine-angabe { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem 1rem; padding: .85rem 1rem; background: var(--white); border: 1.5px dashed var(--rand); border-radius: var(--radius); }
.keine-angabe p { margin: 0; flex: 1 1 18rem; }
.betreiber-aufruf { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; padding-block: 3rem; }
.betreiber-aufruf p { margin: 0; }

/* Fuss */
.fuss { margin-top: 2rem; background: var(--navy); color: #fff; padding-block: 2.25rem; }
.fuss a { color: #fff; display: inline-flex; align-items: center; min-height: 44px; }
.fuss a:hover { color: #fff; }
.fuss-reihe { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.fuss-klein { font-size: .9rem; margin: 0; }
.fuss-name { font-weight: 800; font-size: 1.15rem; margin-bottom: .25rem; }
.fuss-reihe > div { max-width: 26rem; }
.fuss ul { display: flex; flex-wrap: wrap; gap: 0 1.25rem; }

/* Brotkrumen */
.krumen { margin-bottom: 1rem; font-size: .95rem; }
.krumen ol { display: flex; flex-wrap: wrap; gap: .25rem; }
.krumen li { display: flex; align-items: center; gap: .25rem; min-height: 28px; }
.krumen a { display: inline-flex; align-items: center; min-height: 28px; }
.krumen li:not(:last-child)::after { content: "›"; color: var(--leise); }

/* Ergebnisseite */
.ergebnis-raster { display: grid; grid-template-columns: 19rem minmax(0, 1fr); gap: 2rem; align-items: start; }
.filter { display: grid; gap: 1.1rem; padding: 1.1rem; background: var(--light); border: 1px solid var(--border); border-radius: var(--radius); }
.filter legend { margin-bottom: .2rem; }
.kasten-wahl { display: flex; align-items: flex-start; gap: .55rem; min-height: 44px; padding-block: .55rem; cursor: pointer; }
.filter .kasten-wahl { padding-block: .4rem; min-height: 40px; }
.filter-oeffnen { display: none; margin-bottom: 1rem; }
.filter-dialog { width: min(100vw - 1rem, 34rem); max-height: calc(100dvh - 1rem); padding: 1rem; border: 0; border-radius: 14px; color: var(--text); }
.filter-dialog::backdrop { background: rgb(18 58 90 / .55); }
.dialog-kopf { display: flex; justify-content: space-between; align-items: center; margin-bottom: .75rem; }
.dialog-kopf h2 { margin: 0; }
.werkzeug { display: flex; flex-wrap: wrap; align-items: flex-end; gap: .75rem 1rem; margin-bottom: 1rem; }
.feld-klein { flex: 1 1 11rem; max-width: 15rem; }
.ansicht { display: flex; margin-left: auto; }
.ansicht a { display: inline-flex; align-items: center; gap: .35rem; min-height: 48px; padding-inline: .9rem; border: 1.5px solid var(--rand); color: var(--navy); text-decoration: none; font-weight: 600; }
.ansicht a:first-child { border-radius: 8px 0 0 8px; }
.ansicht a:last-child { border-radius: 0 8px 8px 0; margin-left: -1.5px; }
.ansicht a[aria-current] { background: var(--navy); border-color: var(--navy); color: #fff; }
.ergebnis-zahl { margin-bottom: .6rem; }
.filter-marken { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .75rem; }
.filter-marke { display: inline-flex; align-items: center; gap: .3rem; min-height: 40px; padding: .2rem .7rem; background: var(--pale); border: 1px solid var(--navy); color: var(--navy); border-radius: 999px; text-decoration: none; font-weight: 600; }
.filter-marke .ic { width: 1em; height: 1em; }
.hinweis { padding: .6rem .85rem; background: var(--light); border-left: 4px solid var(--blue); border-radius: 0 8px 8px 0; font-size: .98rem; }
.leer { padding: 1.5rem; border: 1.5px dashed var(--rand); border-radius: var(--radius); }
.leer p:last-child { margin: 0; }
.seiten { margin-top: 1.5rem; }
.mehr-laden { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; margin-top: 1.5rem; }
.mehr-laden[hidden] { display: none; }
.mehr-zahl { color: var(--leise); }
.seiten ul { display: flex; flex-wrap: wrap; gap: .35rem; }
.seiten a { display: inline-grid; place-items: center; min-width: 46px; min-height: 46px; padding-inline: .6rem; border: 1.5px solid var(--rand); border-radius: 8px; text-decoration: none; font-weight: 600; color: var(--navy); }
.seiten a:hover { background: var(--light); }
.seiten a[aria-current] { background: var(--navy); border-color: var(--navy); color: #fff; }
.karten-feld { margin-block: 1rem; }
.karte-flaeche { display: none; height: 26rem; border: 1px solid var(--border); border-radius: var(--radius); }
.karte-flaeche.aktiv { display: block; margin-bottom: .5rem; }
.karte-start { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; margin: 0; padding: .75rem; background: var(--light); border-radius: var(--radius); font-size: .95rem; }
.karte-start > span { flex: 1 1 18rem; }

/* Profil */
.profil-kopf { display: grid; grid-template-columns: minmax(0, 1fr) 19rem; gap: 2rem; align-items: start; }
.profil-meta { display: flex; flex-wrap: wrap; gap: .3rem 1.25rem; color: var(--leise); margin-bottom: .75rem; }
.profil-meta span { display: inline-flex; align-items: center; gap: .35rem; }
.profil-bild { margin: 0; }
.foto-liste { display: grid; gap: .6rem; }
.foto-liste li { display: grid; grid-template-columns: 6rem minmax(0, 1fr) auto; gap: .8rem; align-items: center; padding: .5rem; border: 1px solid var(--border); border-radius: 8px; }
.foto-liste img { width: 6rem; height: 4.5rem; object-fit: cover; border-radius: 6px; }
.foto-liste .klein { display: block; }
.foto-feld { display: grid; gap: .6rem; }
.betreiber-fotos { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr)); gap: 1rem; }
.betreiber-fotos figure { margin: 0; }
.betreiber-fotos img { display: block; width: 100%; height: auto; border-radius: var(--radius); }
.betreiber-fotos figcaption { font-weight: 700; color: var(--navy); margin-top: .3rem; }
.mitreden-knoepfe { display: grid; gap: .5rem; }
.mitreden-knoepfe .knopf-leise { width: 100%; }
.beitraege { display: grid; gap: .9rem; margin-bottom: 1.5rem; }
.beitrag { padding: 1rem 1.1rem; border: 1px solid var(--border); border-radius: var(--radius); }
.beitrag p { margin: 0 0 .4rem; }
.beitrag-kopf { display: flex; flex-wrap: wrap; gap: .2rem .9rem; font-size: .92rem; color: var(--leise); }
.beitrag-art { font-weight: 700; color: var(--navy); }
.beitrag-antwort { margin-top: .6rem; padding: .7rem .9rem; background: var(--light); border-left: 4px solid var(--blue); border-radius: 0 8px 8px 0; }
.ok-box { padding: .8rem 1rem; border: 2px solid var(--ja); border-radius: var(--radius); margin-bottom: 1rem; }
.ok-box p { margin: 0; }
.titelzeile { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: .75rem 1.5rem; }
.titelzeile h1 { flex: 1 1 22rem; min-width: 0; }
.kopf-datenlage { flex: 0 1 auto; margin-top: .4rem; padding: .7rem 1rem; border-radius: var(--radius); background: var(--light); border: 1px solid var(--border); }
.kopf-datenlage .datenlage { flex-direction: column; align-items: flex-start; gap: .3rem; }
.kopf-datenlage .datenlage-stufen span { width: 1.6rem; height: .6rem; }
@media (max-width: 40rem) { .kopf-datenlage { flex-basis: 100%; margin: 0 0 .75rem; padding: .55rem .8rem; } .kopf-datenlage .datenlage { flex-direction: row; flex-wrap: wrap; align-items: center; gap: .2rem .55rem; } }
.kopf-datenlage a.datenlage-zahl { display: inline-flex; align-items: center; min-height: 24px; color: var(--blue); }
.h1-zusatz { display: block; font-size: .45em; font-weight: 700; color: var(--leise); letter-spacing: 0; margin-top: .35rem; }
/* Kopf: Bild unbeschnitten links, Einordnung rechts */
.profil-einstieg { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.5rem; margin-top: .5rem; }
.profil-einstieg.mit-bild { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; }
/* Titelbild füllt die Höhe des Textes daneben; Hoch- wie Querformat bleiben ganz sichtbar,
   die Ränder füllt eine weichgezeichnete Kopie desselben Bildes statt weißer Fläche. */
.ort-bilder { display: flex; flex-direction: column; gap: .6rem; min-height: 0; }
.ort-bilder > .klein { margin: 0; }
.ort-bild-haupt { position: relative; flex: 1 1 auto; min-height: 18rem; max-height: 40rem; margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--navy); isolation: isolate; }
.ort-bild-haupt .bild-fuellung { position: absolute; inset: -8%; width: 116%; height: 116%; object-fit: cover; filter: blur(22px) brightness(.8) saturate(1.1); z-index: 0; }
.ort-bild-haupt .bild-rahmen { position: absolute; inset: 0; z-index: 1; }
.ort-bild-haupt .bild-gross { height: 100%; border-radius: 0; }
.ort-bild-haupt .bild-rahmen img { display: block; width: 100%; height: 100%; object-fit: contain; }
@media (max-width: 62rem) { .ort-bild-haupt { flex: none; min-height: 0; aspect-ratio: 4 / 3; max-height: 70vh; } }
.bild-gross { display: block; border-radius: var(--radius); cursor: zoom-in; }
.bild-gross:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
/* Galerie: waagerechte Reihe mit Einrasten, Bilder gleich hoch, Grossansicht zeigt sie ganz */
.galerie { position: relative; }
.galerie-spur { display: flex; gap: .9rem; overflow-x: auto; scroll-snap-type: x mandatory; list-style: none; margin: 0; padding: .25rem .25rem 1rem; overscroll-behavior-x: contain; }
.galerie-spur:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: var(--radius); }
.galerie-spur li { flex: 0 0 min(85%, 22rem); scroll-snap-align: start; }
.galerie-spur figure { margin: 0; }
.galerie-spur img { display: block; width: 100%; height: 14rem; object-fit: cover; border-radius: var(--radius); background: var(--light); }
.galerie-spur figcaption { margin-top: .4rem; font-size: .95rem; color: var(--text); }
.galerie-steuer { display: flex; gap: .5rem; justify-content: flex-end; margin: 0; }
.galerie-steuer .knopf-leise { min-width: 48px; font-size: 1.4rem; line-height: 1; }
.grossbild { width: min(96vw, 72rem); max-height: 94vh; padding: 1rem; border: 0; border-radius: var(--radius); background: var(--white); color: var(--text); box-shadow: var(--schatten); }
.grossbild::backdrop { background: rgb(10 20 40 / .82); }
.grossbild figure { margin: .5rem 0; }
.grossbild-bild { display: block; max-width: 100%; max-height: 70vh; width: auto; height: auto; margin: 0 auto; border-radius: 8px; }
.grossbild figcaption { margin-top: .6rem; }
.grossbild-nachweis { color: var(--leise); font-size: .9rem; }
.grossbild-kopf, .grossbild-fuss { display: flex; justify-content: space-between; align-items: center; gap: .5rem; flex-wrap: wrap; }
.grossbild-zahl { font-weight: 700; color: var(--navy); }
body.grossbild-offen { overflow: hidden; }
.einstieg-text h2 { font-size: 1.35rem; margin-bottom: .6rem; }
.einstieg-text p { margin-bottom: .75rem; }
@media (max-width: 62rem) { .profil-einstieg.mit-bild { grid-template-columns: minmax(0, 1fr); } }
.google-kasten .angaben { background: var(--white); border-radius: 8px; padding-inline: .9rem; margin-bottom: .5rem; }
.profil-kopf .ueberblick-teil { padding-top: 1.75rem; }
.profil-kopf .ueberblick-teil h2 { font-size: 1.15rem; }
.profil-kopf .ueberblick-teil .datenlage-kasten { margin-bottom: .6rem; }
.profil-kopf .ueberblick { grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); gap: .5rem; }
.profil-kopf .ueberblick li { flex-direction: row; text-align: left; padding: .6rem .9rem; gap: .75rem; }
.profil-kopf .ueberblick li > .ic { width: 1.6rem; height: 1.6rem; }
.platzhalter { display: grid; place-items: center; height: 11rem; border-radius: var(--radius); color: var(--blue); background: var(--pale) repeating-linear-gradient(90deg, transparent 0 23px, rgb(18 58 90 / .1) 23px 24px); }
.platzhalter .ic { width: 5rem; height: 5rem; stroke-width: 1.2; }
.profil-bild figcaption { font-size: .92rem; color: var(--leise); margin-top: .35rem; }
.kasten { padding: 1.1rem 1.2rem; background: var(--light); border: 1px solid var(--border); border-radius: var(--radius); margin-block: 1.5rem; }
.seitenkasten .kasten { margin-top: 0; margin-bottom: .75rem; }
.kasten-titel { font-size: 1.1rem; }
.kasten p:last-child { margin-bottom: 0; }
.herkunft-liste { display: grid; gap: .35rem; margin-bottom: .75rem; }
.herkunft-liste li { display: flex; justify-content: space-between; align-items: center; gap: .5rem; }
.herkunft-liste strong { font-family: var(--mono); }
.aktionen { display: grid; gap: .5rem; }
.sprungnav { position: sticky; top: 0; z-index: 5; margin-top: 2rem; background: var(--white); border-block: 1px solid var(--border); }
.sprungnav ul { display: flex; flex-wrap: wrap; gap: 0 .25rem; }
.sprungnav a { display: inline-flex; align-items: center; min-height: 46px; padding-inline: .75rem; font-weight: 600; color: var(--navy); text-decoration: none; }
.sprungnav a:hover { box-shadow: inset 0 -3px 0 var(--blue); }
.sprungnav a[aria-current] { box-shadow: inset 0 -4px 0 var(--navy); color: var(--navy); background: var(--light); }
/* Abschnitte der Ortsseite: jeder Block ein eigenes Band, abwechselnd hell, ueber die volle Breite */
.abschnitte > section { padding-block: 2.5rem; scroll-margin-top: 3.5rem; }
.abschnitte > section + section { border-top: 1px solid var(--border); }
.abschnitte > section:nth-child(even) { background: var(--light); box-shadow: 0 0 0 100vmax var(--light); clip-path: inset(0 -100vmax); }
.abschnitte > section:nth-child(even) .gruppe, .abschnitte > section:nth-child(even) .faq { background: var(--white); }
.abschnitte > section:nth-child(even) .faq { padding-inline: 1rem; border: 1px solid var(--border); border-radius: var(--radius); }
.abschnitte > section:nth-child(even) .faq .aufklapp:first-child { border-top: 0; }
.abschnitte > section > h2 { display: flex; flex-direction: column; gap: .55rem; }
.abschnitte > section > h2::before { content: ""; width: 3rem; height: 4px; border-radius: 2px; background: var(--focus); }
#ueberblick, #details { scroll-margin-top: 3.5rem; }
.ueberblick { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 10.5rem), 1fr)); gap: .75rem; }
.ueberblick li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .35rem; padding: 1rem .6rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--light); }
.ueberblick li > .ic { width: 2rem; height: 2rem; color: var(--blue); }
.ueberblick-name { font-size: .97rem; line-height: 1.25; flex: 1; }
.datenlage { display: flex; flex-wrap: wrap; align-items: center; gap: .2rem .55rem; margin: 0; color: var(--navy); }
.datenlage-name { font-weight: 600; }
.datenlage-stufen { display: inline-flex; gap: 3px; }
.datenlage-stufen span { width: 1.1rem; height: .5rem; border-radius: 2px; background: var(--pale); border: 1px solid var(--border); }
.datenlage-stufen .an { background: var(--blue); border-color: var(--blue); }
.datenlage-zahl { color: var(--leise); font-size: .92rem; }
.datenlage-klein { font-size: .92rem; margin-block: .2rem .5rem; }
.datenlage-kasten { display: grid; gap: .25rem; margin-bottom: 1rem; padding: .75rem 1rem; border-radius: var(--radius); background: var(--light); border: 1px solid var(--border); }
.datenlage-kasten .klein { margin: 0; }
#details .gruppen { display: block; columns: 2 30rem; column-gap: 1rem; }
#details .gruppe { break-inside: avoid; margin-bottom: 1rem; }
.angaben-stand { margin-bottom: 1rem; }
.gruppe-stand { display: flex; align-items: center; gap: .6rem; margin: -.2rem 0 .4rem; font-size: .9rem; color: var(--leise); }
.stand-balken { flex: 0 0 4.5rem; height: .45rem; border-radius: 99px; background: var(--pale); overflow: hidden; }
.stand-balken span { display: block; height: 100%; width: 10%; background: var(--blue); }
.stand-balken .anteil-2 { width: 20%; }
.stand-balken .anteil-3 { width: 30%; }
.stand-balken .anteil-4 { width: 40%; }
.stand-balken .anteil-5 { width: 50%; }
.stand-balken .anteil-6 { width: 60%; }
.stand-balken .anteil-7 { width: 70%; }
.stand-balken .anteil-8 { width: 80%; }
.stand-balken .anteil-9 { width: 90%; }
.stand-balken .anteil-10 { width: 100%; }
#details .angaben .status-yes, #details .angaben .status-no { padding: .1rem .55rem .1rem .4rem; border-radius: 99px; }
#details .angaben .status-yes { background: #E3F1E8; }
#details .angaben .status-no { background: #F8E4E1; }
.offen-aufklapp { border-top: 1px solid var(--border); }
.offen-aufklapp summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; gap: .45rem; color: var(--blue); font-weight: 600; }
.offen-aufklapp summary .ic { color: var(--blue); }
.offen-merkmale { display: flex; flex-wrap: wrap; gap: .35rem; padding-bottom: .75rem; }
.offen-merkmale li { padding: .15rem .6rem; border: 1.5px dashed var(--rand); border-radius: 99px; font-size: .92rem; color: var(--leise); background: var(--white); }
.ohne-angaben { padding: 1.1rem 1.2rem; border-radius: var(--radius); background: var(--light); border: 1px solid var(--border); }
.ohne-angaben h3 { margin-bottom: .25rem; }
.ohne-gruppen { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 22rem), 1fr)); gap: 0 1.5rem; margin-block: .5rem; }
.ohne-gruppen .offen-aufklapp summary { color: var(--navy); }
.ohne-zahl { margin-left: auto; font-weight: 500; font-size: .9rem; color: var(--leise); }
.ohne-aktion { margin: .5rem 0 0; }
.gruppen, .bereiche { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 30rem), 1fr)); gap: 1rem; }
.gruppe { padding: 1rem 1.1rem; border: 1px solid var(--border); border-radius: var(--radius); }
.gruppe h3 { display: flex; align-items: center; gap: .45rem; }
.gruppe h3 .ic { color: var(--blue); }
.angaben > div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .1rem 1rem; padding-block: .55rem; border-top: 1px solid var(--border); }
.angaben > div:first-child { border-top: 0; }
.angaben dt { min-width: 0; }
.angabe-wert { text-align: right; }
.angabe-lang { grid-column: 1 / -1; text-align: left; }
.angabe-wert a { display: inline-flex; align-items: center; min-height: 28px; }
.angabe-herkunft { grid-column: 1 / -1; }
.herkunft { display: inline-flex; flex-wrap: wrap; gap: .1rem .75rem; font-size: .9rem; color: var(--leise); }
.messwert { font-family: var(--mono); font-weight: 700; color: var(--navy); font-size: 1.1rem; white-space: nowrap; }
.einheit { font-weight: 500; font-size: .85em; }
.textwert { color: var(--text); font-weight: 600; }
.punkte { list-style: disc; padding-left: 1.3rem; margin-bottom: 1em; }
.punkte li { margin-bottom: .35rem; }
.nummeriert { list-style: decimal; }
.projekt section { padding-top: 1.75rem; }
.projekt h3 { margin-top: 1.25rem; }
.inhalt-nav ol { list-style: decimal; padding-left: 1.4rem; columns: 2 16rem; column-gap: 2rem; }
.inhalt-nav li { margin-bottom: .2rem; break-inside: avoid; }
.inhalt-nav a { display: inline-flex; min-height: 28px; align-items: center; }
.merkmal-gruppe { border-top: 1px solid var(--border); margin-top: 0; padding-block: .1rem; }
.merkmal-gruppe summary { color: var(--navy); }
.definitionen dt .status, .definitionen dt .veraltet { font-size: 1rem; }

/* Betreiber */
.betreiber-held { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 2.5rem; align-items: center; }
.haken { display: grid; gap: .45rem; }
.haken li { display: flex; gap: .5rem; align-items: flex-start; }
.haken .ic { color: var(--ja); stroke-width: 3; }
.muster { padding: 1.2rem; border-radius: var(--radius); background: var(--pale); }
.muster-titel { font-weight: 700; color: var(--navy); margin-bottom: .4rem; }
.muster .angaben { background: var(--white); border-radius: 8px; padding-inline: .9rem; }
.ablauf { counter-reset: s; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); gap: 1rem; }
.ablauf li { counter-increment: s; display: flex; flex-direction: column; gap: .15rem; padding-top: 2.6rem; position: relative; }
.ablauf li::before { content: counter(s); position: absolute; top: 0; left: 0; display: grid; place-items: center; width: 2.1rem; height: 2.1rem; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 700; }
.ablauf strong { color: var(--navy); }
.vorteile { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: 1rem; }
.vorteile > div { padding: 1rem 1.1rem; border: 1px solid var(--border); border-radius: var(--radius); }
.vorteile h3 { display: flex; align-items: center; gap: .45rem; }
.vorteile h3 .ic { color: var(--blue); }
.vorteile p { margin: 0; }
.schritt-liste { list-style: decimal; padding-left: 1.4rem; display: grid; gap: .5rem; }
.schritt-liste li span { display: block; color: var(--leise); }
.faq .aufklapp { border-top: 1px solid var(--border); margin: 0; }
.faq .aufklapp p { margin: 0 0 .75rem; }
.betreiber .kasten { margin-top: 2rem; }
.probe { display: flex; flex-wrap: wrap; gap: .75rem; align-items: flex-end; }
.probe .feld { flex: 1 1 18rem; }

/* Fragebogen */
.bogen { max-width: none; }
.bogen-ort { margin-bottom: .5rem; color: var(--leise); }
.fortschritt { margin-bottom: 1.5rem; }
.fortschritt-text { font-weight: 700; color: var(--navy); margin-bottom: .3rem; }
.fortschritt-balken { display: none; width: 100%; height: .6rem; }
.fortschritt ol { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: .15rem; }
.fortschritt li > a, .fortschritt li > span { display: flex; flex-direction: column; align-items: center; gap: .2rem; min-height: 44px; text-align: center; font-size: .85rem; color: var(--leise); text-decoration: none; }
.fortschritt li > a { color: var(--ja); }
.schritt-zahl { display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; border: 1.5px solid var(--rand); background: var(--white); font-weight: 700; }
.fortschritt .ic { width: 1.1rem; height: 1.1rem; stroke-width: 3; }
.fertig .schritt-zahl { border-color: var(--ja); }
.aktiv .schritt-zahl { background: var(--navy); border-color: var(--navy); color: #fff; }
.aktiv .schritt-name { color: var(--navy); font-weight: 700; }
.formular { display: grid; gap: 1.25rem; }
.frage-gruppe { display: grid; gap: 1.25rem; }
.frage-gruppe h2 { display: flex; align-items: center; gap: .5rem; margin-bottom: 0; padding-top: .75rem; }
.frage-gruppe h2 .ic { color: var(--blue); }
.frage { padding: 1rem 1.1rem; border: 1px solid var(--border); border-radius: var(--radius); }
fieldset.frage > legend { float: left; width: 100%; margin-bottom: .2rem; }
fieldset.frage > legend + * { clear: both; }
.hilfe { color: var(--leise); margin: 0 0 .35rem; font-size: .97rem; }
.wahl-reihe { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; margin-top: .3rem; }
.wahl { display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; cursor: pointer; }
.zahl-feld { display: flex; align-items: center; gap: .5rem; max-width: 12rem; }
.feld-fehler { color: var(--nein); font-weight: 700; margin: .1rem 0; }
.einheit-label { font-weight: 500; }
.messhilfe { margin-top: .25rem; }
.fehler-box { padding: 1rem 1.2rem; border: 2px solid var(--nein); border-radius: var(--radius); background: var(--white); margin-bottom: 1.25rem; }
.fehler-box h2 { color: var(--nein); font-size: 1.2rem; }
.fehler-box ul { list-style: disc; padding-left: 1.2rem; }
.fehler-box a { color: var(--nein); font-weight: 600; }
.bogen-aktionen { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: space-between; padding-top: .5rem; }
.vorschau-kopf { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }

@media (max-width: 62rem) {
  .ergebnis-raster, .profil-kopf, .betreiber-held { grid-template-columns: minmax(0, 1fr); }
  .js .filter-spalte { display: none; }
  .filter-oeffnen { display: inline-flex; }
  .filter-dialog .filter { background: none; border: 0; padding: 0; }
  .filter-dialog [data-anwenden] { position: sticky; bottom: 0; z-index: 1; box-shadow: 0 0 0 .5rem var(--white); }
  .sprungnav { position: static; }
}
@media (max-width: 54rem) {
  .js .menue-knopf { display: inline-flex; }
  .js .hauptnav { display: none; width: 100%; }
  .js .hauptnav.offen { display: flex; flex-direction: column; align-items: stretch; padding-bottom: .5rem; }
  .hauptnav ul { flex-direction: column; }
  .suche-felder { grid-template-columns: minmax(0, 1fr); }
  .suche-felder .knopf { width: 100%; }
}
@media (max-width: 44rem) {
  /* Mobil: Suche zuerst, kein grosses Bild davor */
  .held-bild { display: none; }
  .held-reihe { padding-block: 1.5rem 1.25rem; }
  .suche-anker { margin-top: .75rem; }
  .suche-gross { padding: 1rem; box-shadow: none; }
  .kacheln { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kachel { padding: .85rem; grid-template-columns: minmax(0, 1fr); }
  .kachel .ic { grid-row: auto; margin-bottom: .3rem; }
  .kachel strong, .kachel span { grid-column: 1; }
  .fortschritt ol { display: none; }
  .fortschritt-balken { display: block; }
  .ansicht { margin-left: 0; }
  .feld-klein { max-width: none; }
  .bogen-aktionen .knopf, .bogen-aktionen .knopf-leise { flex: 1 1 100%; }
  .bogen-aktionen > span:empty { display: none; }
}
@media (max-width: 22rem) { .kacheln { grid-template-columns: minmax(0, 1fr); } }

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .knopf, .knopf-leise, .kachel, .chip { transition: background-color .12s, border-color .12s; }
}
@media print {
  .demo-band { background: none; color: #000; border: 1px solid #000; }
  .kopf, .fuss, .sprungnav, .aktionen, .karten-feld, .platzhalter, .skip { display: none !important; }
  .gruppe { break-inside: avoid; }
  a { color: #000; }
}
@media (forced-colors: active) {
  .stand-balken, .datenlage-stufen span { border: 1px solid CanvasText; } .datenlage-stufen .an { background: CanvasText; } .stand-balken span { background: CanvasText; }
  .status-unknown { border: 1px dashed CanvasText; }
}
.meinten { list-style: none; padding: 0; margin: 0 0 1.2rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.meinten a { display: inline-block; padding: .55rem 1rem; border: 1.5px solid var(--rand); border-radius: 10px; font-weight: 700; color: var(--navy); background: var(--white); min-height: 44px; }

/* Navigation: „Für Ihre Website“ hervorgehoben */
.hauptnav li.nav-hervor a { background: var(--focus); color: var(--navy); font-weight: 750; padding-inline: .9rem; border-radius: 999px; }
.hauptnav li.nav-hervor a:hover { background: #FFC15A; color: var(--navy); }
.hauptnav li.nav-hervor a[aria-current] { box-shadow: inset 0 0 0 2px var(--navy); border-radius: 999px; }
@media (forced-colors: active) { .hauptnav li.nav-hervor a { border: 2px solid LinkText; } }

/* Einbau-Seite Widget */
.widget-held { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 2rem; align-items: center; padding: 1.5rem 0 .5rem; }
.widget-held-bild { padding: 1.5rem; background: var(--light); border: 1px solid var(--border); border-radius: var(--radius); text-align: center; }
.widget-held-bild img { max-width: 100%; height: auto; }
.widget-held-bild .klein { margin: .6rem 0 0; }
.widget-vorteile { display: grid; gap: .5rem; margin: 1rem 0 0; }
.widget-vorteile li { display: flex; gap: .55rem; align-items: flex-start; }
.widget-vorteile .ic { flex: none; color: var(--ja); margin-top: .15rem; }
.widget-suche-reihe { display: flex; gap: .6rem; flex-wrap: wrap; }
.widget-suche-reihe input { flex: 1 1 16rem; }
.widget-treffer { display: grid; gap: .35rem; margin: 0 0 1rem; }
.widget-treffer a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
.widget-variante { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); grid-template-areas: "text vorschau" "code vorschau"; gap: .75rem 2rem; padding: 1.5rem 0; border-top: 1px solid var(--border); }
.widget-variante-text { grid-area: text; }
.widget-variante-text h3 { display: flex; align-items: center; gap: .6rem; font-size: 1.25rem; }
.widget-nr { display: inline-grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--navy); color: #fff; font-size: 1rem; }
.widget-vorschau { grid-area: vorschau; padding: 1.25rem; background: repeating-linear-gradient(45deg, var(--light) 0 12px, var(--white) 12px 24px); border: 1px dashed var(--rand); border-radius: var(--radius); min-width: 0; align-self: start; }
.widget-vorschau img { max-width: 100%; height: auto; }
.widget-code { grid-area: code; min-width: 0; }
.widget-code label { display: block; font-weight: 700; margin-bottom: .3rem; }
.code-feld { width: 100%; font-family: var(--mono); font-size: .85rem; line-height: 1.4; padding: .6rem .7rem; border: 1.5px solid var(--rand); border-radius: 8px; background: var(--white); color: var(--text); resize: vertical; }
.widget-anleitung { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: 1rem; }
.widget-anleitung .kasten { margin: 0; }
@media (max-width: 62rem) {
  .widget-held { grid-template-columns: minmax(0, 1fr); }
  .widget-variante { grid-template-columns: minmax(0, 1fr); grid-template-areas: "text" "vorschau" "code"; }
}
