/*
Theme Name: Niederrhein Sanierungs-Ratgeber
Theme URI: https://energieberatung-niederrhein.de/
Description: Eigenständiges Theme "Backstein-Landkarte Ratgeber" für energieberatung-niederrhein.de.
Author: Zurynski, Oezdogan & Co GmbH
Version: 1.0.0
Text Domain: t-energieberatung-niederrhein-de
*/

:root {
	--bg: #f7f4ef;
	--surface: #ffffff;
	--text: #1f2a30;
	--muted: #46545b;
	--primary: #0b5d6b;
	--accent: #b5472f;
	--link: #0a6f80;
	--line: #ddd5c9;
	--ziegel: #c8654b;
	--fuge: #f3e8dc;
	--r: 5px;
	--kopf: "Merriweather", Georgia, "Times New Roman", serif;
	--fliess: "Source Sans 3", "Segoe UI", Arial, sans-serif;
	--wrap: 1180px;
	--ziegelmuster: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='16'%3E%3Crect width='48' height='16' fill='%23c8654b'/%3E%3Cpath d='M0 0H48M0 8H48M0 16H48M0 0V8M24 8V16M48 0V8' stroke='%23f3e8dc' stroke-width='2' fill='none'/%3E%3C/svg%3E");
	--ziegelmuster-hell: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='16'%3E%3Crect width='48' height='16' fill='%23ecd2c6'/%3E%3Cpath d='M0 0H48M0 8H48M0 16H48M0 0V8M24 8V16M48 0V8' stroke='%23f7f4ef' stroke-width='2' fill='none'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--fliess);
	font-size: 18px;
	line-height: 1.62;
	overflow-wrap: break-word;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--link); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--primary); text-decoration-thickness: 2px; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 2px; }
h1, h2, h3, h4 { font-family: var(--kopf); line-height: 1.28; color: var(--text); margin: 0 0 .6em; font-weight: 700; }
h1 { font-size: clamp(1.65rem, 1.2rem + 2vw, 2.45rem); }
h2 { font-size: clamp(1.4rem, 1.15rem + 1vw, 1.85rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1.1em; }
.skip { position: absolute; left: -999px; top: 0; background: var(--primary); color: #fff; padding: .6em 1em; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

/* ---------- Kopf ---------- */
.utility { background: #1f2a30; color: #f7f4ef; font-size: 16px; }
.utility .wrap { display: flex; flex-wrap: wrap; gap: 4px 20px; justify-content: space-between; padding-top: 7px; padding-bottom: 7px; line-height: 1.4; }
.utility a { color: #fff; }
.utility a:hover { color: #f3e8dc; }
.kopf { background: var(--surface); border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.kopf-innen { max-width: var(--wrap); margin: 0 auto; padding: 14px 20px 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); padding-bottom: 12px; }
.logo:hover { color: var(--text); }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-text strong { font-family: var(--kopf); font-size: 1.28rem; letter-spacing: -.01em; }
.logo-text span { font-size: 16px; font-weight: 600; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.ortsmarke { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 999px; padding: 3px 12px 3px 8px; font-size: 16px; color: var(--primary); background: var(--bg); margin-bottom: 12px; font-weight: 600; }
.ortsmarke .muehle { color: var(--accent); }
.menue-knopf { display: none; margin-left: auto; margin-bottom: 12px; background: var(--primary); color: #fff; border: 0; border-radius: var(--r); padding: 9px 16px; font: 600 17px var(--fliess); cursor: pointer; }
.hauptnav { flex-basis: 100%; }
.hauptnav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 4px; }
.hauptnav a { display: block; padding: 11px 13px 10px; color: var(--text); text-decoration: none; font-weight: 600; font-size: 17px; border-bottom: 4px solid transparent; white-space: nowrap; }
.hauptnav a:hover { color: var(--primary); border-bottom-color: #e5c4b8; }
.hauptnav .aktiv a { border-bottom-color: var(--accent); color: var(--primary); }

/* ---------- Ziegelfugen ---------- */
.fuge { height: 14px; background: var(--ziegelmuster-hell) 0 0 / 48px 16px; border-top: 1px solid #e0c4b8; border-bottom: 1px solid #e0c4b8; }
.fuge.dunkel { background-image: var(--ziegelmuster); }
.karten-kopf { height: 10px; background: var(--ziegelmuster) 0 0 / 48px 16px; }

/* ---------- Hero ---------- */
.hero { padding: 40px 0 8px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero h1 { margin-bottom: .5em; }
.hero .lead { font-size: 1.15rem; max-width: 36em; }
.hero-knoepfe { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 8px; }
.knopf { display: inline-block; padding: 12px 22px; border-radius: var(--r); font-weight: 700; text-decoration: none; font-size: 17px; border: 2px solid var(--primary); line-height: 1.3; }
.knopf-voll { background: var(--primary); color: #fff; }
.knopf-voll:hover { background: #084a56; color: #fff; }
.knopf-leer { background: transparent; color: var(--primary); }
.knopf-leer:hover { background: #e8f1f2; color: var(--primary); }
.hero-bild { background: var(--surface); border: 1px solid var(--line); border-radius: 6px; padding: 12px; }
.hero-bild .schema { display: block; width: 100%; border-radius: 3px; }
.legende { list-style: none; margin: 12px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; font-size: 16px; line-height: 1.35; }
.legende li { display: flex; gap: 8px; align-items: flex-start; }
.legende b { flex: 0 0 24px; height: 24px; border-radius: 50%; background: var(--primary); color: #fff; text-align: center; line-height: 24px; font-size: 15px; }
.bild-hinweis { font-size: 16px; color: var(--muted); margin: 10px 0 0; }

.gebaeude { margin: 34px 0 0; }
.gebaeude h2 { font-size: 1.1rem; font-family: var(--fliess); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 12px; }
.gebaeude ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gebaeude a { display: flex; flex-direction: column; height: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px 14px; text-decoration: none; color: var(--text); position: relative; border-top: 4px solid var(--accent); }
.gebaeude a:hover { border-color: var(--primary); border-top-color: var(--primary); }
.gebaeude strong { font-family: var(--kopf); font-size: 1rem; line-height: 1.3; display: block; margin-bottom: 4px; }
.gebaeude span { font-size: 16px; color: var(--muted); line-height: 1.4; }

/* ---------- Sektionen ---------- */
.sektion { padding: 54px 0; }
.sektion-kopf { max-width: 44em; margin-bottom: 26px; }
.sektion-kopf p { color: var(--muted); font-size: 1.05rem; }
.eyebrow { display: inline-block; font-size: 16px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.band { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.karten { display: grid; gap: 18px; list-style: none; margin: 0; padding: 0; }
.karten-3 { grid-template-columns: repeat(3, 1fr); }
.karten-2 { grid-template-columns: repeat(2, 1fr); }
.zwei-ratgeber { grid-template-columns: 1.5fr 1fr; }
.zwei-ratgeber .karten-2 { grid-template-columns: 1fr; }
.zwei-ratgeber h3 { margin-top: 0; }
.zwei-ratgeber .geplant { margin-top: 0; }
.karte { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); display: flex; flex-direction: column; height: 100%; overflow: hidden; }
.karte-innen { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.karte h3 { margin-bottom: .45em; font-size: 1.1rem; }
.karte h3 a { color: var(--text); text-decoration: none; }
.karte h3 a:hover { color: var(--primary); text-decoration: underline; }
.karte p { color: var(--text); font-size: 17px; margin-bottom: 1em; }
.karte .mehr { margin-top: auto; font-weight: 700; text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.karte .mehr:hover { text-decoration: underline; }
.karte .icon { color: var(--primary); margin-bottom: 10px; }
.karte-link { border-top: 0; }
.karte-link .meta { font-size: 16px; color: var(--muted); margin-bottom: 8px; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }

/* Förder-Linkkarten */
.foerder { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.foerder a { display: flex; flex-direction: column; height: 100%; text-decoration: none; background: var(--bg); border: 1px solid var(--line); border-left: 5px solid var(--primary); border-radius: var(--r); padding: 16px 18px; color: var(--text); }
.foerder a:hover { background: #fff; border-color: var(--primary); }
.foerder .tag { font-size: 16px; font-weight: 700; color: var(--primary); letter-spacing: .04em; }
.foerder strong { font-family: var(--kopf); font-size: 1.02rem; line-height: 1.3; margin: 4px 0 6px; }
.foerder span.t { font-size: 16.5px; line-height: 1.45; }
.foerder .ext { margin-top: auto; padding-top: 10px; font-size: 16px; color: var(--link); font-weight: 600; }

/* Anzeige */
.anzeige-box { border: 2px dashed #b9a99b; background: #fffdf8; border-radius: 6px; padding: 24px 26px; display: grid; grid-template-columns: auto 1fr auto; gap: 18px 26px; align-items: center; }
.anzeige-label, .anzeige-chip { display: inline-block; font-size: 14px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; background: #1f2a30; color: #fff; padding: 3px 10px; border-radius: 3px; margin-bottom: 8px; line-height: 1.5; }
.anzeige-box h2 { font-size: 1.25rem; margin-bottom: .4em; }
.anzeige-box p { margin: 0 0 .4em; }
.anzeige-box .klein { font-size: 16px; color: var(--muted); }
.anzeige-box .icon-gross { color: var(--accent); }
.seite-anzeige { border: 2px dashed #b9a99b; background: #fffdf8; border-radius: 6px; padding: 18px 20px; }
.seite-anzeige h2 { font-size: 1.05rem; margin: 0 0 .4em; }
.seite-anzeige p { font-size: 16.5px; margin: 0 0 .7em; }
.seite-anzeige .klein { color: var(--muted); font-size: 16px; }

/* Stepper */
.stepper { position: relative; }
.stepper-leiste { height: 8px; background: #e6ddd0; border-radius: 99px; overflow: hidden; margin: 0 0 24px; }
.stepper-fuell { display: block; height: 100%; width: 0; background: var(--ziegelmuster) 0 0 / 48px 16px; transition: width .35s ease; }
.stepper ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; counter-reset: s; }
.schritt { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 16px 16px; position: relative; text-align: left; font: inherit; color: inherit; cursor: pointer; width: 100%; height: 100%; display: block; }
.js .schritt:hover { border-color: var(--primary); }
.schritt .nr { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; background: var(--bg); border: 2px solid var(--accent); color: var(--text); font-weight: 700; font-size: 17px; margin-bottom: 10px; font-family: var(--kopf); }
.schritt h3 { font-size: 1rem; margin-bottom: .35em; }
.schritt p { font-size: 16.5px; line-height: 1.5; margin: 0; }
.schritt.erreicht { border-color: var(--primary); background: #f0f7f8; }
.schritt.erreicht .nr { background: var(--primary); border-color: var(--primary); color: #fff; }
.stepper-hinweis { display: none; margin-top: 14px; font-size: 16px; color: var(--muted); }
.js .stepper-hinweis { display: block; }

/* Zweispalt Ratgeber + Städte */
.zwei { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
.staedte { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.staedte li { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: 4px 14px 4px 10px; font-size: 17px; }
.staedte .muehle { color: var(--accent); }
.geplant { list-style: none; margin: 16px 0 0; padding: 0; }
.geplant li { border: 1px dashed #b9a99b; border-radius: var(--r); padding: 12px 16px; margin-bottom: 10px; background: var(--surface); }
.geplant .meta { font-size: 16px; color: var(--muted); font-weight: 600; }
.geplant strong { font-family: var(--kopf); font-size: 1rem; line-height: 1.35; display: block; }

/* FAQ */
.faq { max-width: 52em; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 15px 52px 15px 18px; font-weight: 700; font-family: var(--kopf); font-size: 1.02rem; line-height: 1.4; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font: 700 26px/1 var(--fliess); color: var(--accent); }
.faq details[open] summary::after { content: "–"; }
.faq details[open] summary { border-bottom: 1px solid var(--line); }
.faq .antwort { padding: 14px 18px 4px; }

/* ---------- Seiten-Layout ---------- */
.seitenkopf { padding: 34px 0 20px; }
.krumen { font-size: 16px; color: var(--muted); margin-bottom: 10px; }
.krumen a { color: var(--link); }
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 44px; align-items: start; padding-bottom: 60px; }
.layout-schmal { grid-template-columns: minmax(0, 780px) 320px; justify-content: space-between; }
.artikel-meta { display: flex; flex-wrap: wrap; gap: 4px 18px; color: var(--muted); font-size: 16px; margin: 0 0 6px; }
.artikel-meta b { color: var(--text); }
.titelzeile { max-width: 800px; margin: 0 auto; }
.titelzeile.breit { max-width: none; margin: 0; }

.faktenbox { background: var(--surface); border: 1px solid var(--line); border-left: 6px solid var(--accent); border-radius: var(--r); padding: 20px 24px 18px; margin: 0 0 24px; }
.faktenbox h2 { font-size: 1.15rem; margin-bottom: .6em; }
.faktenbox ol { margin: 0 0 12px; padding-left: 1.3em; }
.faktenbox li { margin-bottom: .5em; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 16px; }
.chips .l { color: var(--muted); font-weight: 600; margin-right: 2px; }
.chip { display: inline-block; border: 1px solid var(--primary); color: var(--primary); border-radius: 999px; padding: 1px 12px; font-weight: 600; background: #f0f7f8; }
.toc-inline { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 22px; margin: 0 0 28px; }
.toc-inline h2 { font-size: 1.05rem; margin-bottom: .5em; }
.toc-inline ol { margin: 0; padding-left: 1.4em; }
.toc-inline li { margin-bottom: .25em; }

.entry-content { font-size: 18.5px; line-height: 1.7; }
.entry-content h2 { margin: 1.9em 0 .6em; padding-top: .5em; position: relative; scroll-margin-top: 20px; }
.entry-content h2::before { content: ""; display: block; width: 64px; height: 8px; background: var(--ziegelmuster) 0 0 / 48px 16px; margin-bottom: 14px; }
.entry-content h3 { margin: 1.5em 0 .5em; scroll-margin-top: 20px; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.entry-content li { margin-bottom: .45em; }
.entry-content figure { margin: 0 0 1.4em; }
.entry-content .wp-block-table { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.entry-content table { border-collapse: collapse; width: 100%; min-width: 36rem; font-size: 16.5px; line-height: 1.45; }
.entry-content th, .entry-content td { padding: 10px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); word-break: normal; overflow-wrap: normal; hyphens: manual; }
.entry-content thead th { background: #e7f0f1; font-weight: 700; border-bottom: 2px solid var(--primary); }
.entry-content tbody tr:nth-child(even) td { background: #faf8f4; }
.entry-content tbody tr:last-child td { border-bottom: 0; }
.anzeige { border: 2px dashed #b9a99b; background: #fffdf8; border-radius: 6px; padding: 18px 22px 8px; margin: 1.8em 0; font-size: 17.5px; line-height: 1.6; }
.anzeige-label { margin-right: 8px; margin-bottom: 0; vertical-align: 1px; }
.entry-content .belegstatus, .belegstatus { border-left: 4px solid var(--primary); background: #f0f7f8; padding: 10px 16px; border-radius: 0 var(--r) var(--r) 0; }
.entry-content blockquote { margin: 0 0 1.2em; padding: 6px 20px; border-left: 4px solid var(--accent); background: var(--surface); }
.quellen { margin-top: 38px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 20px 24px; }
.quellen h2 { font-size: 1.1rem; margin-bottom: .6em; }
.quellen ul { margin: 0; padding-left: 1.2em; font-size: 16.5px; }
.quellen li { margin-bottom: .45em; overflow-wrap: anywhere; }
.quellen small { color: var(--muted); }

.seitenleiste { display: grid; gap: 20px; position: sticky; top: 16px; }
.box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 0 0 16px; overflow: hidden; }
.box > h2, .box > h3 { font-size: 1rem; margin: 0; padding: 14px 18px 8px; }
.box > .karten-kopf { height: 8px; }
.box ul { list-style: none; margin: 0; padding: 0 18px; }
.box li { padding: 6px 0; border-bottom: 1px solid var(--line); font-size: 16.5px; line-height: 1.4; }
.box li:last-child { border-bottom: 0; }
.box .stand { padding: 8px 18px 0; font-size: 16px; color: var(--muted); margin: 0; }
.box ol.mini { list-style: none; margin: 0; padding: 0 18px; counter-reset: m; }
.box ol.mini li { counter-increment: m; display: flex; gap: 8px; }
.box ol.mini li::before { content: counter(m); flex: 0 0 22px; height: 22px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 14px; font-weight: 700; text-align: center; line-height: 22px; margin-top: 2px; }
.box ol.mini a { text-decoration: none; }
.box ol.mini a:hover, .box ul a:hover { text-decoration: underline; }
.box.foerder-box dl { margin: 0; padding: 0 18px; font-size: 16.5px; line-height: 1.45; }
.box.foerder-box dt { font-weight: 700; margin-top: 8px; }
.box.foerder-box dd { margin: 0; }

.paging { margin: 30px 0 0; display: flex; gap: 10px; flex-wrap: wrap; }
.paging .page-numbers { padding: 6px 14px; border: 1px solid var(--line); background: var(--surface); border-radius: var(--r); text-decoration: none; }
.paging .current { background: var(--primary); color: #fff; border-color: var(--primary); }
.leer { background: var(--surface); border: 1px dashed #b9a99b; border-radius: var(--r); padding: 20px 24px; }

/* ---------- Footer ---------- */
.fuss { background: #1f2a30; color: #eef1f2; margin-top: 0; }
.silhouette-wrap { position: relative; background: var(--bg); color: #1f2a30; }
.fuss .silhouette { display: block; width: 100%; height: 44px; color: #1f2a30; }
.silhouette-muehle { position: absolute; right: max(24px, calc(50% - 560px)); bottom: 18px; color: #1f2a30; }
.fuss a { color: #fff; }
.fuss a:hover { color: #f3e8dc; }
.fuss-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 34px; padding-top: 40px; padding-bottom: 28px; }
.fuss h2 { color: #fff; font-size: 1rem; font-family: var(--fliess); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 12px; }
.fuss ul { list-style: none; margin: 0; padding: 0; }
.fuss li { margin-bottom: 7px; font-size: 17px; }
.fuss p { font-size: 17px; margin-bottom: .8em; }
.orts-band { border-top: 1px solid #3a4850; border-bottom: 1px solid #3a4850; padding: 14px 0; }
.orts-band .wrap { display: flex; flex-wrap: wrap; gap: 6px 20px; align-items: center; font-size: 16px; }
.orts-band .muehle { color: #e8a58f; vertical-align: -6px; }
.orts-band span { white-space: nowrap; }
.fuss-unten { padding-top: 20px; padding-bottom: 30px; font-size: 16px; line-height: 1.55; }
.fuss-unten p { margin: 0 0 .6em; font-size: 16px; }
.fuss-hinweis { font-weight: 600; }

/* ---------- 404 ---------- */
.nichts { padding: 60px 0 80px; max-width: 40em; }

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
	.stepper ol { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1100px) {
	.foerder { grid-template-columns: repeat(2, 1fr); }
	.karten-3 { grid-template-columns: repeat(2, 1fr); }
	.gebaeude ul { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
	.hero-grid, .zwei { grid-template-columns: 1fr; gap: 28px; }
	.layout, .layout-schmal { grid-template-columns: minmax(0, 1fr); }
	.seitenleiste { position: static; }
	.fuss-grid { grid-template-columns: 1fr 1fr; }
	.anzeige-box { grid-template-columns: 1fr; }
	.anzeige-box .icon-gross { display: none; }
}
@media (max-width: 720px) {
	body { font-size: 17px; }
	.wrap { padding: 0 16px; }
	.kopf-innen { padding: 12px 16px 0; gap: 0 12px; }
	.ortsmarke { display: none; }
	.js .menue-knopf { display: inline-block; }
	.js .hauptnav { display: none; }
	.js .hauptnav.offen { display: block; margin: 0 -16px; border-top: 1px solid var(--line); }
	.hauptnav ul { flex-direction: column; }
	.hauptnav a { border-bottom: 1px solid var(--line); border-left: 4px solid transparent; padding: 13px 16px; white-space: normal; }
	.hauptnav .aktiv a { border-bottom-color: var(--line); border-left-color: var(--accent); }
	.hauptnav a:hover { border-bottom-color: var(--line); }
	.hero { padding-top: 26px; }
	.sektion { padding: 38px 0; }
	.foerder, .karten-3, .karten-2, .gebaeude ul, .stepper ol, .fuss-grid, .legende { grid-template-columns: 1fr; }
	.entry-content { font-size: 18px; }
	.utility .wrap { justify-content: flex-start; }
	.knopf { width: 100%; text-align: center; }
	.anzeige-box { padding: 20px 18px; }
	.stepper ol { gap: 10px; }
	.schritt { display: grid; grid-template-columns: 44px 1fr; column-gap: 8px; }
	.schritt .nr { grid-row: 1 / span 2; margin-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .stepper-fuell { transition: none; } }

/* Glossar */
.glossar { margin: 0 0 1.5em; }
.glossar dt { font-family: var(--kopf); font-weight: 700; font-size: 1.05rem; margin-top: 1.1em; padding-left: 14px; border-left: 5px solid var(--accent); line-height: 1.35; }
.glossar dd { margin: .3em 0 0; padding-left: 19px; }
.entry-content > p:last-child { margin-bottom: 0; }

.layout-einspaltig { grid-template-columns: minmax(0, 780px); }
.entry-content > h2:first-child { margin-top: 0; }
