@font-face{font-family:"Zilla Slab";font-style:normal;font-weight:500;font-display:swap;src:url("../assets/fonts/zilla-slab-latin-500-normal.woff2") format("woff2")}
@font-face{font-family:"Zilla Slab";font-style:normal;font-weight:700;font-display:swap;src:url("../assets/fonts/zilla-slab-latin-700-normal.woff2") format("woff2")}
@font-face{font-family:"Zilla Slab";font-style:italic;font-weight:500;font-display:swap;src:url("../assets/fonts/zilla-slab-latin-500-italic.woff2") format("woff2")}
@font-face{font-family:"Work Sans";font-style:normal;font-weight:400;font-display:swap;src:url("../assets/fonts/work-sans-latin-400-normal.woff2") format("woff2")}
@font-face{font-family:"Work Sans";font-style:normal;font-weight:600;font-display:swap;src:url("../assets/fonts/work-sans-latin-600-normal.woff2") format("woff2")}
:root{--bg:#F7F3EA;--text:#2B2620;--accent:#8C5A2B;--extra:#5B7F6E}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--text)}
img,svg{max-width:100%;height:auto}
[hidden]{display:none!important}
.skip-link{position:absolute;left:-999px;top:0;z-index:100;padding:.75rem 1rem;background:var(--text);color:var(--bg)}
.skip-link:focus{left:0}
.hp{position:absolute;left:-9999px;width:1px;height:1px;opacity:0}
:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}

:root {
  --line: color-mix(in srgb, var(--text) 20%, transparent);
  --line-strong: color-mix(in srgb, var(--text) 45%, transparent);
  --muted: color-mix(in srgb, var(--text) 74%, var(--bg));
  --paper: color-mix(in srgb, #fff 50%, var(--bg));
  --tint: color-mix(in srgb, var(--accent) 9%, var(--bg));
  --tint-green: color-mix(in srgb, var(--extra) 15%, var(--bg));
  --accent-ink: color-mix(in srgb, var(--accent) 88%, var(--text));
  --green-ink: color-mix(in srgb, var(--extra) 62%, var(--text));
  --slab: "Zilla Slab", Rockwell, Georgia, serif;
  --sans: "Work Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gut: clamp(1rem, 4vw, 3rem);
  --max: 1200px;
}

html { scroll-behavior: smooth; scroll-padding-top: 1rem; }
body { font-family: var(--sans); font-size: 1.0625rem; line-height: 1.62; }
h1, h2, h3, h4 { font-family: var(--slab); font-weight: 700; line-height: 1.16; margin: 0; text-wrap: balance; overflow-wrap: break-word; }
.prose-page .page-head h1 { hyphens: auto; }
h1 { font-size: clamp(2.15rem, 1.5rem + 2.8vw, 3.5rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.55rem, 1.3rem + 1vw, 2.05rem); }
h3 { font-size: 1.28rem; }
p { margin: 0 0 1em; }
a { color: var(--accent-ink); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
img { display: block; }
ul, ol { padding-left: 1.2em; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.kicker { font-family: var(--sans); font-size: .82rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--green-ink); margin: 0 0 .6rem; }
.kicker a { color: inherit; text-decoration: none; }
.kicker a:hover { text-decoration: underline; }

/* Das Zaunband: Leiter im Verhältnis 20-40-60-90-120 mit Pfosten. */
.wires {
  height: 30px;
  background:
    repeating-linear-gradient(90deg, var(--text) 0 4px, transparent 4px 180px) 40px 0 / 100% 100% no-repeat,
    linear-gradient(var(--accent), var(--accent)) 0 24px / 100% 1px no-repeat,
    linear-gradient(var(--accent), var(--accent)) 0 19px / 100% 1px no-repeat,
    linear-gradient(var(--accent), var(--accent)) 0 14px / 100% 1px no-repeat,
    linear-gradient(var(--accent), var(--accent)) 0 8px / 100% 1px no-repeat,
    linear-gradient(var(--accent), var(--accent)) 0 2px / 100% 1px no-repeat;
}

/* Kopf */
.site-head { border-bottom: 1px solid var(--line); }
.site-head-in { max-width: var(--max); margin: 0 auto; padding: .9rem var(--gut); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 2rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; color: var(--text); text-decoration: none; }
.brand-mark { width: 40px; height: 27px; flex: none; }
.brand-wire { stroke: var(--accent); }
.brand-name { font-family: var(--slab); font-weight: 700; font-size: 1.4rem; line-height: 1; }
.brand-name em { font-style: italic; font-weight: 500; color: var(--accent-ink); }
.site-nav { display: flex; flex-wrap: wrap; gap: .1rem 1.3rem; }
.site-nav a { color: var(--text); text-decoration: none; font-size: .96rem; padding: .35rem 0; border-bottom: 2px solid transparent; }
.site-nav a:hover { border-bottom-color: var(--line-strong); }
.site-nav a[aria-current="page"] { font-weight: 600; border-bottom-color: var(--accent); }

/* Fuß */
.site-foot { margin-top: 4.5rem; }
.site-foot-in { max-width: var(--max); margin: 0 auto; padding: 2.2rem var(--gut) 2.8rem; display: grid; gap: 2rem; grid-template-columns: 1.6fr 1fr 1fr; }
.foot-name { font-family: var(--slab); font-weight: 700; font-size: 1.25rem; margin-bottom: .4rem; }
.foot-about p:last-child { color: var(--muted); max-width: 38ch; font-size: .96rem; }
.foot-nav { display: flex; flex-direction: column; align-items: flex-start; gap: .25rem; }
.foot-nav h2 { font-family: var(--sans); font-size: .82rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--green-ink); margin-bottom: .35rem; }
.foot-nav a { color: var(--text); font-size: .96rem; padding: .1rem 0; }

/* Startseite */
main { display: block; }
.hero { max-width: var(--max); margin: 0 auto; padding: clamp(1.8rem, 4vw, 3.4rem) var(--gut) clamp(1.8rem, 3vw, 2.6rem); display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); align-items: start; }
.hero-lead { font-size: 1.2rem; max-width: 34em; margin: 1.1rem 0 1.5rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-bottom: 2rem; }
.btn { display: inline-block; padding: .68rem 1.15rem; background: var(--text); color: var(--bg); text-decoration: none; font-weight: 600; border: 2px solid var(--text); }
.btn:hover { background: var(--accent-ink); border-color: var(--accent-ink); color: var(--bg); }
.btn-quiet { background: transparent; color: var(--text); }
.ledger { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; border-top: 2px solid var(--text); }
.ledger div { padding: .7rem .9rem .75rem 0; display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: .15rem; }
.ledger div + div { padding-left: .9rem; border-left: 1px solid var(--line); }
.ledger dt { font-size: .9rem; color: var(--muted); line-height: 1.3; }
.ledger dd { margin: 0; font-family: var(--slab); font-weight: 700; font-size: clamp(1.4rem, 1.1rem + 1.1vw, 2rem); line-height: 1.1; }
.ledger-src { font-size: .86rem; color: var(--muted); margin: .3rem 0 0; }
figure { margin: 0; }
figcaption { font-size: .86rem; color: var(--muted); margin-top: .4rem; }
.hero-fig img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }

.block { max-width: var(--max); margin: 0 auto; padding: 2.8rem var(--gut) 0; }
.block-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: .2rem 2rem; padding-bottom: .55rem; border-bottom: 2px solid var(--text); margin-bottom: .2rem; }
.block-head p { margin: 0; color: var(--muted); font-size: .98rem; }
.block-pair { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.block-pair .block { margin: 0; padding-left: var(--gut); padding-right: var(--gut); min-width: 0; }
.block-pair .block + .block { padding-left: 0; }

/* Zeilen mit Vorschaubild */
.rows { display: grid; }
.row { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 1.4rem; padding: 1.15rem 0; border-bottom: 1px solid var(--line); align-items: start; }
.row-img { display: block; overflow: hidden; }
.row-img img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .35s ease; }
.row:hover .row-img img { transform: scale(1.03); }
.row-cat { font-size: .8rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--green-ink); margin: 0 0 .25rem; }
.row h3 a { color: var(--text); text-decoration: none; }
.row h3 a:hover { color: var(--accent-ink); text-decoration: underline; text-decoration-thickness: 1px; }
.row-desc { margin: .4rem 0; max-width: 62ch; }
.row-meta { font-size: .86rem; color: var(--muted); margin: 0; }
.row-small { grid-template-columns: 112px minmax(0, 1fr); gap: 1rem; padding: .85rem 0; }
.row-small h3 { font-size: 1.1rem; }
.row-small .row-meta { margin-top: .25rem; }

.land-list { list-style: none; margin: 0; padding: 0; columns: 3; column-gap: 2.2rem; }
.land-list li { break-inside: avoid; border-bottom: 1px solid var(--line); }
.land-list a { display: flex; justify-content: space-between; gap: 1rem; padding: .48rem 0; color: var(--text); text-decoration: none; }
.land-list a:hover span:first-child { text-decoration: underline; }
.land-rate { font-family: var(--slab); font-weight: 700; white-space: nowrap; color: var(--accent-ink); }

.block-hens { margin-top: 3.2rem; padding: 2.2rem var(--gut); background: var(--tint-green); max-width: none; }
.block-hens { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: clamp(1.4rem, 4vw, 3.5rem); }
@media (min-width: 1296px) { .block-hens { padding-left: calc((100vw - var(--max)) / 2 + var(--gut)); padding-right: calc((100vw - var(--max)) / 2 + var(--gut)); } }
.hens-text p:last-child { margin-bottom: 0; }
.hens-text h2 { margin-bottom: .7rem; }
.block-hens .row { border-bottom: 0; padding: 0; grid-template-columns: 220px minmax(0, 1fr); }

.glossary { max-width: var(--max); margin: 0 auto; padding: 2.8rem var(--gut) 0; }
.glossary h2 { padding-bottom: .55rem; border-bottom: 2px solid var(--text); }
.glossary dl { margin: 0; columns: 2; column-gap: 2.6rem; }
.glossary dl > div { break-inside: avoid; padding: .75rem 0; border-bottom: 1px solid var(--line); }
.glossary dt { font-family: var(--slab); font-weight: 700; font-size: 1.1rem; }
.glossary dd { margin: .1rem 0 0; font-size: .98rem; }

.subscribe { max-width: var(--max); margin: 3rem auto 0; padding: 0 var(--gut); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 1.4rem 3rem; align-items: start; }
.subscribe h2 { margin-bottom: .4rem; }
.subscribe > div p { margin: 0; color: var(--muted); }

/* Formulare */
.subscribe-form, .contact-form { display: grid; gap: .8rem; }
.subscribe-form { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
.subscribe-form .form-note, .subscribe-form .form-status { grid-column: 1 / -1; }
form label { display: grid; gap: .25rem; font-size: .95rem; font-weight: 600; }
input[type="email"], input[type="text"], input[type="search"], textarea { width: 100%; font: inherit; font-weight: 400; color: var(--text); background: var(--paper); border: 1px solid var(--line-strong); border-radius: 0; padding: .6rem .7rem; }
textarea { resize: vertical; }
form button[type="submit"] { font: inherit; font-weight: 600; padding: .66rem 1.2rem; color: var(--bg); background: var(--text); border: 2px solid var(--text); cursor: pointer; }
form button[type="submit"]:hover { background: var(--accent-ink); border-color: var(--accent-ink); }
form button[disabled] { opacity: .7; cursor: wait; }
.form-note { font-size: .86rem; color: var(--muted); margin: 0; }
.form-status { font-weight: 600; color: var(--green-ink); margin: 0; }
.form-status:empty { display: none; }

/* Seiten */
.page { max-width: var(--max); margin: 0 auto; padding: clamp(1.8rem, 4vw, 3rem) var(--gut) 0; }
.page-head { max-width: 50rem; margin-bottom: 1.7rem; }
.page-lead { font-size: 1.14rem; margin: .9rem 0 0; }
.prose-page .prose { max-width: 44rem; }
.prose h2 { font-size: 1.4rem; margin: 2rem 0 .55rem; }
.prose h3 { margin: 1.4rem 0 .4rem; }
.prose ul, .prose ol { margin: 0 0 1em; }
.prose li { margin-bottom: .3em; }
.prose button, .ref-table button, .ref-filter button { font: inherit; }
.prose [data-consent-open] { font-weight: 600; padding: .55rem 1rem; color: var(--bg); background: var(--text); border: 2px solid var(--text); cursor: pointer; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 2.4rem clamp(2rem, 6vw, 5rem); align-items: start; }
.contact-form { background: var(--paper); border: 1px solid var(--line); padding: clamp(1rem, 3vw, 1.7rem); }
.contact-form button[type="submit"] { justify-self: start; }
.nf .hero-actions { margin-top: 1.4rem; }

/* Archiv */
.archive-cats { display: flex; flex-wrap: wrap; gap: .4rem 1.5rem; border-bottom: 2px solid var(--text); padding-bottom: .55rem; margin-bottom: 1rem; }
.archive-cats a { color: var(--text); text-decoration: none; padding: .15rem 0; }
.archive-cats a:hover { text-decoration: underline; }
.archive-cats a[aria-current="page"] { font-weight: 600; color: var(--accent-ink); }
.archive-tags { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem 2rem; margin-bottom: 1rem; }
.archive-tags fieldset, .ref-filter fieldset { border: 0; margin: 0; padding: 0; min-width: 0; display: flex; flex-wrap: wrap; gap: .32rem; }
.archive-tags legend, .ref-filter legend { font-size: .82rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--green-ink); padding: 0; margin-bottom: .32rem; }
.archive-tags button, .ref-filter [data-chip] { font: inherit; font-size: .9rem; color: var(--text); background: transparent; border: 1px solid var(--line-strong); padding: .28rem .6rem; cursor: pointer; }
.archive-tags button:hover, .ref-filter [data-chip]:hover { background: var(--tint); }
.archive-tags [aria-pressed="true"], .ref-filter [aria-pressed="true"] { background: var(--text); border-color: var(--text); color: var(--bg); }
.archive-tags [aria-pressed="true"]:hover, .ref-filter [aria-pressed="true"]:hover { background: var(--text); }
[data-tag-clear], .rf-reset { font: inherit; font-size: .92rem; background: none; border: 0; padding: .25rem 0; color: var(--accent-ink); text-decoration: underline; cursor: pointer; justify-self: start; }
.archive-empty { padding: 1rem 0; font-weight: 600; }

/* Beitrag */
.art { max-width: 1080px; margin: 0 auto; padding: clamp(1.6rem, 4vw, 2.8rem) var(--gut) 0; }
.art-head { max-width: 48rem; margin-bottom: 1.3rem; }
.art-head h1 { font-size: clamp(2rem, 1.5rem + 2.3vw, 3rem); }
.article-meta { margin: .75rem 0 0; color: var(--muted); font-size: .94rem; }
.art-cover img { width: 100%; height: auto; aspect-ratio: 16 / 8; object-fit: cover; }
.art-grid { display: grid; grid-template-columns: minmax(0, 1fr) 280px; column-gap: clamp(1.6rem, 4vw, 3rem); margin-top: 1.7rem; }
.art-grid > * { grid-column: 1; min-width: 0; }
.art-grid > .article-short { grid-column: 2; grid-row: 1 / span 3; align-self: start; position: sticky; top: 1rem; }
.article-lead { font-family: var(--slab); font-weight: 500; font-size: 1.34rem; line-height: 1.4; }
.article-lead p { margin-bottom: 1.2rem; }
.article-short { background: var(--tint); border-top: 3px solid var(--accent); padding: .95rem 1rem 1rem; }
.article-short h2 { font-size: 1.15rem; margin-bottom: .5rem; }
.article-short ul { list-style: none; margin: 0; padding: 0; }
.article-short li { padding: .55rem 0; border-top: 1px solid var(--line); font-size: .96rem; line-height: 1.42; }
.article-short li:first-child { border-top: 0; padding-top: 0; }
.article-body h2 { margin: 2.2rem 0 .65rem; }
.article-body ul, .article-body ol { margin: 0 0 1em; }
.article-body li { margin-bottom: .35em; }
.article-body table, .prose table { width: 100%; border-collapse: collapse; margin: 1.1rem 0 1.4rem; font-size: .97rem; }
.article-body th, .prose th { text-align: left; font-weight: 600; border-bottom: 2px solid var(--text); padding: .4rem .7rem .4rem 0; }
.article-body td, .prose td { border-bottom: 1px solid var(--line); padding: .5rem .7rem .5rem 0; vertical-align: top; }
.article-diagram { margin: 1.6rem 0; padding: 1.1rem 1.1rem .8rem; border: 1px solid var(--line); background: var(--paper); }
.article-diagram svg { display: block; width: 100%; max-width: 560px; margin: 0 auto; color: var(--text); font-family: var(--sans); }
.article-diagram figcaption { border-top: 1px solid var(--line); padding-top: .5rem; margin-top: .8rem; }
.article-example { background: var(--tint-green); border-left: 4px solid var(--extra); padding: 1rem 1.15rem .35rem; margin: 1.6rem 0; }
.article-example h2 { font-family: var(--sans); font-size: .82rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--green-ink); margin: 0 0 .25rem; }
.article-example h3 { font-size: 1.3rem; margin-bottom: .5rem; }
.article-checklist { margin-top: 2.2rem; padding: 1.1rem 1.15rem; border: 2px solid var(--text); }
.article-checklist h2 { font-size: 1.35rem; margin-bottom: .6rem; }
.article-checklist ul { list-style: none; margin: 0; padding: 0; }
.article-checklist li { position: relative; padding: .42rem 0 .42rem 1.9rem; }
.article-checklist li::before { content: ""; position: absolute; left: 0; top: .66rem; width: 1rem; height: 1rem; border: 2px solid var(--accent); background: var(--bg); }
.article-faq { margin-top: 2.2rem; }
.article-faq h2 { margin-bottom: .5rem; }
details { border-bottom: 1px solid var(--line); }
details:first-of-type { border-top: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 600; padding: .72rem 2rem .72rem 0; list-style: none; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: .2rem; top: .45rem; font-family: var(--slab); font-size: 1.5rem; line-height: 1.2; color: var(--accent-ink); }
details[open] summary::after { content: "–"; }
details p { margin: 0 0 .9rem; }
.article-sources { margin-top: 2.2rem; font-size: .92rem; }
.article-sources h2 { font-size: 1.2rem; margin-bottom: .45rem; }
.article-sources ol { margin: 0; padding-left: 1.5em; }
.article-sources li { padding: .12rem 0; overflow-wrap: anywhere; }
.article-sources li:target { background: var(--tint); }
.cite { font-size: .72em; line-height: 0; margin-left: .06em; }
.cite a { text-decoration: none; padding: 0 .08em; font-weight: 600; }
.cite + .cite { margin-left: .18em; }
.article-related { margin-top: 2.6rem; }
.article-related h2 { padding-bottom: .5rem; border-bottom: 2px solid var(--text); }
.related-list { display: grid; }
.row-related { grid-template-columns: 180px minmax(0, 1fr); }

/* Förderübersicht */
.ref-note { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .4rem 2.4rem; border-left: 4px solid var(--accent); background: var(--tint); padding: .85rem 1.1rem .35rem; margin-bottom: 1.6rem; font-size: .96rem; }
.ref-filter { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: .9rem 2.2rem; align-items: start; padding: .9rem 0; border-top: 2px solid var(--text); }
.rf-search { grid-column: 1 / -1; display: grid; gap: .25rem; max-width: 21rem; }
.rf-search label { font-size: .82rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--green-ink); }
.rf-foot { grid-column: 1 / -1; display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; }
.rf-count { margin: 0; font-weight: 600; }
.ref-table-wrap { margin-top: .2rem; }
.ref-table { width: 100%; border-collapse: collapse; font-size: .98rem; }
.ref-table thead th { text-align: left; vertical-align: bottom; font-size: .84rem; font-weight: 600; border-bottom: 2px solid var(--text); border-top: 1px solid var(--line); padding: .5rem .8rem .5rem 0; }
.ref-table thead button { white-space: nowrap; background: none; border: 0; padding: 0; color: inherit; cursor: pointer; font-weight: 600; text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: .2em; }
.ref-table thead button::after { content: " ↕"; color: var(--muted); }
.ref-table th[aria-sort="ascending"] button::after { content: " ↑"; color: var(--text); }
.ref-table th[aria-sort="descending"] button::after { content: " ↓"; color: var(--text); }
.fr > * { border-bottom: 1px solid var(--line); padding: .68rem .8rem .68rem 0; vertical-align: top; text-align: left; font-weight: 400; }
.fr.is-open > * { border-bottom-color: transparent; }
.fr-land { display: block; font-family: var(--slab); font-weight: 700; font-size: 1.12rem; line-height: 1.2; }
.fr strong { font-family: var(--slab); font-size: 1.1rem; }
.status { display: inline-block; font-size: .76rem; font-weight: 600; margin-top: .22rem; padding: .02rem .4rem; border: 1px solid var(--line-strong); }
.status-geprueft { color: var(--green-ink); border-color: var(--green-ink); }
.status-umbau, .status-eingeschraenkt { color: var(--bg); background: var(--accent-ink); border-color: var(--accent-ink); }
.status-ende { color: var(--accent-ink); border-color: var(--accent-ink); }
.fr-toggle { text-align: right !important; padding-right: 0 !important; white-space: nowrap; }
[data-row-toggle] { background: transparent; border: 1px solid var(--line-strong); padding: .25rem .6rem; cursor: pointer; color: var(--text); font-size: .9rem; }
[data-row-toggle]:hover { background: var(--tint); }
[data-row-toggle][aria-expanded="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.fd > td { padding: 0 0 1rem; border-bottom: 2px solid var(--line-strong); }
.fd-in { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 1.2rem 2.2rem; background: var(--paper); border: 1px solid var(--line); padding: 1rem 1.1rem; }
.fd-list { margin: 0; display: grid; gap: .42rem; }
.fd-list > div { display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: .8rem; }
.fd-list dt { font-weight: 600; font-size: .92rem; }
.fd-list dd { margin: 0; font-size: .95rem; line-height: 1.45; }
.fd-side { display: grid; gap: .85rem; align-content: start; font-size: .94rem; line-height: 1.42; }
.fd-side h4 { font-family: var(--sans); font-size: .82rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--green-ink); margin-bottom: .25rem; }
.fd-side p { margin: 0; }
.fd-side ul { margin: 0; padding-left: 1.05em; }
.fd-side li { overflow-wrap: anywhere; }
.status-box-umbau, .status-box-eingeschraenkt { background: var(--tint); border-left: 3px solid var(--accent); padding: .55rem .7rem; }
.ref-how { margin-top: 2.6rem; max-width: 56rem; }
.ref-how h2, .ref-sources h2 { padding-bottom: .5rem; border-bottom: 2px solid var(--text); margin-bottom: .3rem; }
.ref-how dl { margin: 0 0 1em; }
.ref-how dl > div { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: .8rem; padding: .5rem 0; border-bottom: 1px solid var(--line); }
.ref-how dt { font-weight: 600; }
.ref-how dd { margin: 0; }
.ref-sources { margin-top: 2.4rem; font-size: .93rem; }
.ref-sources h3 { font-size: 1.05rem; margin: 1.1rem 0 .35rem; }
.ref-sources ol, .ref-sources ul { margin: .5rem 0 0; }
.ref-sources li { margin-bottom: .22em; overflow-wrap: anywhere; }

/* Einwilligung */
.consent { position: fixed; z-index: 50; left: 1rem; right: 1rem; bottom: 1rem; max-width: 34rem; margin-left: auto; background: var(--paper); border: 2px solid var(--text); padding: .85rem 1rem; box-shadow: 0 6px 22px color-mix(in srgb, var(--text) 18%, transparent); }
.consent p { margin: 0 0 .65rem; font-size: .94rem; }
.consent-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .55rem; }
.consent-actions button { font: inherit; font-weight: 600; padding: .55rem .8rem; color: var(--bg); background: var(--text); border: 2px solid var(--text); cursor: pointer; }
.consent-actions button:hover { background: var(--accent-ink); border-color: var(--accent-ink); }

/* Breiten */
@media (max-width: 980px) {
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero-fig img { aspect-ratio: 3 / 2; }
  .block-pair { grid-template-columns: minmax(0, 1fr); }
  .block-pair .block + .block { padding-left: var(--gut); }
  .land-list { columns: 2; }
  .block-hens { grid-template-columns: minmax(0, 1fr); }
  .ref-filter { grid-template-columns: minmax(0, 1fr); }
  .art-grid { grid-template-columns: minmax(0, 1fr); }
  .art-grid > .article-short { grid-column: 1; grid-row: auto; position: static; margin-bottom: .6rem; }
  .fd-in { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 860px) {
  .ref-table, .ref-table tbody { display: block; }
  .ref-table thead { display: block; }
  .ref-table thead tr { display: flex; flex-wrap: wrap; gap: .3rem 1.2rem; }
  .ref-table thead th { border: 0; padding: .3rem 0; }
  .ref-table thead th:not([aria-sort]) { display: none; }
  .fr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: .15rem 1rem; border-top: 2px solid var(--text); padding: .7rem 0 .75rem; }
  .fr[hidden] { display: none; }
  .fr > * { border: 0; padding: .15rem 0; }
  .fr > th { grid-column: 1 / -1; }
  .fr > td::before { content: attr(data-label); display: block; font-size: .78rem; font-weight: 600; letter-spacing: .03em; color: var(--muted); }
  .fr-toggle { grid-column: 1 / -1; text-align: left !important; margin-top: .3rem; }
  .fr-toggle::before { display: none !important; }
  [data-row-toggle] { width: 100%; padding: .42rem .6rem; }
  .fd { display: block; }
  .fd[hidden] { display: none; }
  .fd > td { display: block; border: 0; padding: 0 0 .9rem; }
}

@media (max-width: 760px) {
  body { font-size: 1rem; }
  .site-head-in { flex-direction: column; align-items: flex-start; }
  .site-nav { gap: 0 1rem; }
  .site-nav a { font-size: .92rem; }
  .site-foot-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .foot-about { grid-column: 1 / -1; }
  .row { grid-template-columns: 34% minmax(0, 1fr); gap: .85rem; }
  .row-small { grid-template-columns: 88px minmax(0, 1fr); }
  .row-related { grid-template-columns: 34% minmax(0, 1fr); }
  .block-hens .row { grid-template-columns: 34% minmax(0, 1fr); }
  .row-desc { display: none; }
  .row h3 { font-size: 1.1rem; }
  .ledger { grid-template-columns: minmax(0, 1fr); }
  .ledger div { flex-direction: row-reverse; justify-content: space-between; align-items: baseline; padding: .4rem 0; border-bottom: 1px solid var(--line); }
  .ledger div + div { padding-left: 0; border-left: 0; }
  .glossary dl { columns: 1; }
  .subscribe { grid-template-columns: minmax(0, 1fr); }
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .archive-tags { grid-template-columns: minmax(0, 1fr); }
  .ref-note { grid-template-columns: minmax(0, 1fr); }
  .art-cover img { aspect-ratio: 3 / 2; }
  .article-lead { font-size: 1.2rem; }
  .article-diagram { margin-left: calc(var(--gut) * -1); margin-right: calc(var(--gut) * -1); padding: .7rem .5rem .6rem; border-left: 0; border-right: 0; }
  .article-diagram figcaption { padding-left: .5rem; padding-right: .5rem; }
  .ref-how dl > div { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .fd-list > div { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .fd-in { padding: .8rem .75rem; }
}

@media (max-width: 600px) {
  .article-body table, .prose table, .article-body tbody, .prose tbody, .article-body tr, .prose tr, .article-body td, .prose td { display: block; width: 100%; }
  .article-body thead, .prose thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .article-body tr, .prose tr { padding: .55rem 0; border-bottom: 1px solid var(--line); }
  .article-body tr:first-child, .prose tr:first-child { border-top: 2px solid var(--text); }
  .article-body td, .prose td { border: 0; padding: .05rem 0; }
  .article-body td:first-child, .prose td:first-child { font-weight: 600; }
}

@media (max-width: 480px) {
  .site-foot-in { grid-template-columns: minmax(0, 1fr); gap: 1.4rem; }
  .land-list { columns: 1; }
  .subscribe-form { grid-template-columns: minmax(0, 1fr); }
  .subscribe-form button[type="submit"] { justify-self: start; }
  .hero-lead { font-size: 1.1rem; }
}

@media print {
  .site-head, .site-foot, .consent, .ref-filter, .article-related, .subscribe { display: none; }
  .fd[hidden] { display: table-row !important; }
}
