/*
Theme Name: Nano-Dämmung Kompass
Theme URI: https://nano-shop24.de/
Description: Gewerke-Kompass-Magazin für nano-shop24.de – unabhängiger Ratgeber zu Nano-Dämmbeschichtung und Fassadendämmung.
Author: Zurynski, Oezdogan & Co GmbH
Version: 1.0.0
Requires at least: 6.0
License: GPL-2.0-or-later
Text Domain: t-nano-shop24-de
*/

:root {
	--bg: #f6f9fa;
	--surface: #ffffff;
	--text: #14232b;
	--muted: #5b6f78;
	--muted-text: #3f525a;
	--primary: #0b6e80;
	--accent: #f08a24;
	--link: #0a7f95;
	--tint: #e7f1f3;
	--line: #d3dfe3;
	--dark: #14232b;
	--radius: 4px;
	--f-head: "Barlow", "Source Sans 3", Arial, sans-serif;
	--f-body: "Source Sans 3", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font: 400 17px/1.65 var(--f-body);
	overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--primary); text-underline-offset: .18em; }
a:hover { color: var(--text); }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
h1, h2, h3, h4 { font-family: var(--f-head); font-weight: 600; line-height: 1.2; margin: 0 0 .5em; color: var(--text); }
h1 { font-size: clamp(30px, 4vw, 42px); letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: 1260px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--surface); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

/* Kapitälchen-Labels */
.kapitaelchen {
	font-family: var(--f-head);
	font-weight: 600;
	font-variant-caps: all-small-caps;
	letter-spacing: .09em;
	font-size: 17px;
	color: var(--muted-text);
	margin: 0 0 .35em;
}
.kapitaelchen--primaer { color: var(--primary); }

/* Anzeige-Etikett (orange) */
.etikett, .entry-content .anzeige-label {
	display: inline-block;
	background: var(--accent);
	color: #0d1418;
	font: 600 12.5px/1 var(--f-head);
	letter-spacing: .08em;
	text-transform: uppercase;
	padding: 5px 8px 4px;
	border-radius: 2px;
	clip-path: polygon(0 0, calc(100% - 7px) 0, 100% 50%, calc(100% - 7px) 100%, 0 100%);
	padding-right: 14px;
}
.etikett--klein { font-size: 11px; padding: 3px 12px 2px 6px; vertical-align: 1px; }

/* Disclaimer vom Kern – gestaltet, nie versteckt */
.ps-disclaimer {
	background: #fdf1e4 !important;
	color: var(--text) !important;
	border-bottom: 1px solid #efc9a0 !important;
	border-left: 5px solid var(--accent);
	font: 15px/1.5 var(--f-body) !important;
}
.ps-disclaimer__inner { max-width: 1212px !important; }

/* Meta-Leiste */
.meta { background: var(--dark); color: #c9d6dc; font-size: 14.5px; }
.meta__zeile { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 38px; flex-wrap: wrap; }
.meta p { margin: 0; padding: 6px 0; }
.meta__links { display: flex; gap: 20px; }
.meta a { color: #ffffff; text-decoration: none; }
.meta a:hover { text-decoration: underline; color: #ffffff; }

/* Hauptleiste */
.kopf { background: var(--surface); border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.kopf__zeile { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); }
.logo .nadel { color: var(--dark); flex: none; }
.logo__text { font: 600 25px/1 var(--f-head); letter-spacing: -.01em; white-space: nowrap; }
.logo__b { color: var(--primary); }
.logo:hover { color: var(--text); }

.gewerke__liste { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.gewerke__punkt { position: relative; }
.gewerke__punkt > a {
	display: block;
	padding: 26px 13px 23px;
	font: 500 17px/1 var(--f-head);
	color: var(--text);
	text-decoration: none;
	border-bottom: 3px solid transparent;
}
.gewerke__punkt.hat-kinder > a::after {
	content: "";
	display: inline-block;
	width: 6px; height: 6px;
	margin-left: 7px;
	border-right: 1.5px solid var(--muted);
	border-bottom: 1.5px solid var(--muted);
	transform: translateY(-3px) rotate(45deg);
}
.gewerke__punkt:hover > a, .gewerke__punkt:focus-within > a { border-bottom-color: var(--accent); color: var(--primary); }
.gewerke__unter {
	list-style: none;
	margin: 0;
	padding: 8px 0;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 270px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-top: 3px solid var(--primary);
	border-radius: 0 0 var(--radius) var(--radius);
	box-shadow: 0 10px 24px rgba(20, 35, 43, .12);
	opacity: 0;
	visibility: hidden;
	transform: translateY(4px);
	transition: opacity .15s, transform .15s, visibility .15s;
}
.gewerke__punkt:last-child .gewerke__unter { left: auto; right: 0; }
.gewerke__punkt:hover .gewerke__unter, .gewerke__punkt:focus-within .gewerke__unter { opacity: 1; visibility: visible; transform: none; }
.gewerke__unter a { display: block; padding: 9px 18px; color: var(--text); text-decoration: none; font-size: 16px; line-height: 1.35; }
.gewerke__unter a:hover { background: var(--tint); color: var(--primary); }

.menue-knopf { display: none; }

/* Hero */
.hero { background: var(--surface); border-bottom: 1px solid var(--line); background-image: linear-gradient(90deg, rgba(11, 110, 128, .05) 1px, transparent 1px), linear-gradient(rgba(11, 110, 128, .05) 1px, transparent 1px); background-size: 32px 32px; }
.hero__raster { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 48px; align-items: center; padding-top: 56px; padding-bottom: 56px; }
.hero h1 { font-size: clamp(32px, 4.2vw, 48px); margin-bottom: .45em; }
.hero__lead { font-size: 19.5px; color: var(--muted-text); max-width: 36em; }
.hero__stand { font-size: 15px; color: var(--muted-text); margin-top: 18px; padding-left: 12px; border-left: 3px solid var(--accent); }

.suche label { display: block; font: 600 15px/1.3 var(--f-head); margin-bottom: 6px; color: var(--text); }
.suche__zeile { display: flex; }
.suche input {
	flex: 1;
	min-width: 0;
	font: 17px/1.3 var(--f-body);
	padding: 12px 14px;
	border: 1px solid #8fa3ab;
	border-right: 0;
	border-radius: var(--radius) 0 0 var(--radius);
	background: #fff;
	color: var(--text);
}
.suche button, .knopf {
	font: 600 16px/1 var(--f-head);
	background: var(--primary);
	color: #fff;
	border: 0;
	padding: 0 20px;
	border-radius: 0 var(--radius) var(--radius) 0;
	cursor: pointer;
}
.suche button:hover { background: var(--dark); }
.suche--hero { margin-top: 26px; max-width: 560px; }
.suche--hero input { padding: 15px 16px; font-size: 18px; }

/* Kompassrose */
.rose { position: relative; width: 100%; max-width: 480px; aspect-ratio: 1 / 1; margin: 0 auto; }
.rose__svg { position: absolute; inset: 14%; width: 72%; height: 72%; }
.rose__punkt {
	position: absolute;
	width: 168px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 10px 12px 10px 50px;
	text-decoration: none;
	color: var(--text);
	box-shadow: 0 2px 8px rgba(20, 35, 43, .08);
	transition: border-color .15s, transform .15s;
	line-height: 1.25;
}
.rose__punkt strong { display: block; font: 600 18px/1.2 var(--f-head); color: var(--primary); }
.rose__punkt small { display: block; font-size: 14.5px; color: var(--muted-text); }
.rose__r {
	position: absolute;
	left: 10px; top: 50%;
	transform: translateY(-50%);
	width: 30px; height: 30px;
	border-radius: 50%;
	border: 2px solid var(--dark);
	font: 600 15px/26px var(--f-head);
	text-align: center;
	color: var(--dark);
}
.rose__punkt--n .rose__r { background: var(--accent); border-color: var(--accent); color: #0d1418; }
.rose__punkt:hover { border-color: var(--primary); transform: translateY(-2px); color: var(--text); }
.rose__punkt--n { top: 0; left: 50%; transform: translateX(-50%); }
.rose__punkt--n:hover { transform: translate(-50%, -2px); }
.rose__punkt--s { bottom: 0; left: 50%; transform: translateX(-50%); }
.rose__punkt--s:hover { transform: translate(-50%, -2px); }
.rose__punkt--w { left: 0; top: 50%; transform: translateY(-50%); }
.rose__punkt--w:hover { transform: translate(0, calc(-50% - 2px)); }
.rose__punkt--o { right: 0; top: 50%; transform: translateY(-50%); }
.rose__punkt--o:hover { transform: translate(0, calc(-50% - 2px)); }

/* Bänder und Abschnitte */
.band { padding: 52px 0; }
.band--hell { background: var(--bg); }
.abschnitt-h { font-size: clamp(25px, 2.6vw, 31px); margin-bottom: .7em; }
.abschnitt-h .kapitaelchen { display: block; color: var(--primary); font-size: 17px; margin-bottom: .25em; }
.abschnitt-h--klein { font-size: 23px; }

.kacheln { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.kachel {
	background: var(--surface);
	border: 1px solid var(--line);
	border-top: 3px solid var(--primary);
	border-radius: var(--radius);
	padding: 22px 22px 20px;
	display: flex;
	flex-direction: column;
}
.kachel h3 { font-size: 22px; margin: 12px 0 8px; }
.kachel p { font-size: 16.5px; color: var(--text); flex: 1; }
.kachel__r {
	width: 44px; height: 44px;
	border-radius: 50%;
	border: 2px solid var(--primary);
	color: var(--primary);
	font: 600 19px/40px var(--f-head);
	text-align: center;
	position: relative;
}
.kachel__r::after { content: ""; position: absolute; left: 50%; top: -9px; width: 2px; height: 8px; background: var(--accent); transform: translateX(-50%); }
.pfeil-link { font: 600 16.5px/1.3 var(--f-head); text-decoration: none; color: var(--primary); }
.pfeil-link::after { content: " →"; }
.pfeil-link:hover { text-decoration: underline; }

/* Zwei Spalten mit Seitenleiste */
.mit-leiste { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 44px; padding-top: 44px; padding-bottom: 64px; align-items: start; }
.einspaltig { padding-top: 36px; padding-bottom: 64px; max-width: 900px; }
.abschnitt { padding-bottom: 44px; margin-bottom: 44px; border-bottom: 1px solid var(--line); }
.abschnitt:last-child { border-bottom: 0; margin-bottom: 0; }

/* Karten mit Thumbnail links */
.karten { display: grid; gap: 18px; }
.karte {
	display: grid;
	grid-template-columns: 230px minmax(0, 1fr);
	gap: 22px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 16px;
}
.karte__bild { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 2px; background: var(--tint); }
.karte__bild img { width: 100%; height: 100%; object-fit: cover; display: block; }
.karte__bild .wand--mini { width: 100%; height: 100%; display: block; background: #fff; }
.karte__bild--icon { display: flex; align-items: center; justify-content: center; text-decoration: none; background: var(--tint); border: 1px solid var(--line); aspect-ratio: auto; min-height: 110px; }
.karte__bild--icon span { font: 600 40px/1 var(--f-head); color: var(--primary); }
.karte--werkzeug { grid-template-columns: 120px minmax(0, 1fr); }
.karte h3, .karte__h { font-size: 22px; margin: 0 0 8px; line-height: 1.25; }
.karte h3 a, .karte__h a { color: var(--text); text-decoration: none; }
.karte h3 a:hover, .karte__h a:hover { color: var(--primary); text-decoration: underline; }
.karte p { margin-bottom: .6em; }
.karte__meta { font-size: 15px; color: var(--muted-text); margin: 0; }
.karten--kompakt .karte { grid-template-columns: 1fr; }

/* Vergleichstabelle */
.tabelle-rahmen { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table.vergleich { width: 100%; min-width: 680px; border-collapse: collapse; font-size: 16px; }
.vergleich th, .vergleich td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); word-break: normal; overflow-wrap: normal; hyphens: manual; }
.vergleich thead th { background: var(--dark); color: #fff; font: 600 16.5px/1.25 var(--f-head); }
.vergleich thead th:nth-child(3) { background: var(--primary); }
.vergleich tbody th { font-family: var(--f-head); font-weight: 600; width: 19%; background: #f2f6f7; }
.vergleich td:nth-child(3) { background: #f3f9fa; }
.vergleich tr:last-child th, .vergleich tr:last-child td { border-bottom: 0; }
.quelle { font-size: 15px; color: var(--muted-text); margin-top: 12px; }

/* A–Z */
.az { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 22px; }
.az a, .az span {
	width: 36px; height: 36px;
	display: inline-flex; align-items: center; justify-content: center;
	border: 1px solid var(--line);
	border-radius: 50%;
	font: 600 16px/1 var(--f-head);
	text-decoration: none;
	background: var(--surface);
}
.az a { color: var(--primary); border-color: #9fc3cb; }
.az a:hover { background: var(--primary); color: #fff; }
.az span { color: #6e7f86; background: transparent; border-style: dashed; }
.lex-teaser { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 28px; margin: 0 0 18px; }
.lex-teaser div { border-left: 3px solid var(--primary); padding: 2px 0 2px 14px; }
.lex-teaser dt { font: 600 18px/1.3 var(--f-head); margin-bottom: 4px; }
.lex-teaser dt a { color: var(--text); text-decoration: none; }
.lex-teaser dt a:hover { color: var(--primary); text-decoration: underline; }
.lex-teaser dd { margin: 0; font-size: 16px; }

/* Förder-Kurzcheck */
.check { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 8px; }
.check label { display: flex; gap: 12px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--primary); flex: none; }
.check input:checked + span { color: var(--muted-text); text-decoration: line-through; text-decoration-color: var(--accent); }
.check__stand { font: 600 18px/1.3 var(--f-head); color: var(--primary); }

.hinweis-box { background: var(--tint); border: 1px solid #b9d3d9; border-radius: var(--radius); padding: 28px 28px 14px; }
.formel { font: 600 18px/1.5 var(--f-head); background: var(--surface); border: 1px dashed var(--primary); padding: 12px 16px; border-radius: var(--radius); overflow-wrap: anywhere; }

/* Seitenleiste */
.seitenleiste { position: sticky; top: 16px; }
.leiste { display: grid; gap: 20px; }
.leiste__box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 14px; }
.leiste__h { font-size: 19px; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.leiste__klein { font-size: 14.5px; color: var(--muted-text); margin: 10px 0 0; }
.checkliste { margin: 0; padding-left: 22px; font-size: 16px; }
.checkliste li { margin-bottom: 6px; padding-left: 2px; }
.checkliste li::marker { color: var(--primary); font-weight: 700; }
.rubriken { list-style: none; margin: 0; padding: 0; }
.rubriken li { display: flex; justify-content: space-between; gap: 8px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.rubriken li:last-child { border-bottom: 0; }
.rubriken span { font-size: 14.5px; color: var(--muted-text); }

.werbung {
	position: relative;
	background: var(--surface);
	border: 2px solid var(--accent);
	border-radius: var(--radius);
	padding: 18px 18px 14px;
	font-size: 16px;
}
.werbung .etikett { margin-bottom: 10px; }
.werbung__titel { font: 600 20px/1.25 var(--f-head); margin: 0 0 8px; }
.werbung__liste { margin: 0 0 14px; padding-left: 20px; }
.werbung__liste li { margin-bottom: 4px; }
.werbung__liste li::marker { color: var(--accent); }
.knopf { display: inline-block; padding: 12px 16px; border-radius: var(--radius); text-decoration: none; line-height: 1.25; text-align: center; }
.knopf--orange { background: var(--accent); color: #0d1418; width: 100%; }
.knopf--orange:hover { background: #d9771a; color: #0d1418; }
.werbung__klein { font-size: 14px; color: var(--muted-text); margin: 12px 0 0; }

/* Brotkrumen */
.krumen ol { list-style: none; margin: 0; padding: 18px 0 0; display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 15px; color: var(--muted-text); }
.krumen li + li::before { content: "›"; margin: 0 8px; color: var(--muted); }
.krumen a { color: var(--primary); }

/* Beitrag */
.beitrag__kopf { padding-top: 20px; padding-bottom: 8px; }
.beitrag__kopf h1 { max-width: 24em; }
.autorenzeile { display: flex; flex-wrap: wrap; gap: 6px 0; font-size: 15.5px; color: var(--muted-text); margin: 0 0 22px; }
.autorenzeile span + span::before { content: "·"; margin: 0 10px; color: var(--muted); }
.pruefsiegel { display: inline-flex; align-items: center; gap: 5px; color: var(--primary); font-weight: 600; }
.pruefsiegel .nadel { color: var(--primary); }
.beitrag__schnitt { margin: 0 0 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: 28px; align-items: center; }
.schnitt__text { display: flex; flex-direction: column; gap: 6px; }
.schnitt__titel { font: 600 22px/1.25 var(--f-head); }
.schnitt__wert { font: 600 17px/1.3 var(--f-head); color: #8a4708; border-left: 3px solid var(--accent); padding-left: 10px; }
.schnitt__legende { font-size: 14.5px; color: var(--muted-text); }
.schnitt__bild { max-width: 620px; }
.wand { display: block; width: 100%; }
.wand__t { font: 600 17px var(--f-head); fill: var(--text); }
.wand__l { font: 500 14px var(--f-body); fill: var(--text); }
.wand__seite { font: 600 15px var(--f-head); fill: var(--muted-text); }
.wand__q { font: 500 13px var(--f-body); fill: var(--primary); }
.wand__wert { font: 600 15px var(--f-head); fill: #a3520a; }

.beitrag__raster { display: grid; grid-template-columns: 230px minmax(0, 1fr) 300px; gap: 36px; padding-top: 24px; padding-bottom: 64px; align-items: start; }
.toc { position: sticky; top: 16px; font-size: 15.5px; }
.toc summary { font: 600 15px/1 var(--f-head); font-variant-caps: all-small-caps; letter-spacing: .09em; font-size: 18px; color: var(--primary); cursor: pointer; padding-bottom: 10px; border-bottom: 2px solid var(--primary); margin-bottom: 8px; list-style: none; }
.toc summary::-webkit-details-marker { display: none; }
.toc summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.toc summary .toc__anzahl { font: 400 15px/1 var(--f-body); font-variant-caps: normal; letter-spacing: 0; color: var(--muted-text); margin-left: 6px; }
.toc summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 2.5px solid var(--primary); border-bottom: 2.5px solid var(--primary); transform: rotate(45deg) translate(-2px, -2px); transition: transform .2s; }
.toc details[open] > summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.toc summary > span:first-child { flex: 1; }
.toc ol { margin: 0; padding: 0; list-style: none; counter-reset: toc; }
.toc li { counter-increment: toc; border-bottom: 1px solid var(--line); }
.toc a { display: grid; grid-template-columns: 24px 1fr; padding: 8px 0; color: var(--text); text-decoration: none; line-height: 1.35; }
.toc a::before { content: counter(toc) "."; color: var(--primary); font-weight: 600; }
.toc a:hover { color: var(--primary); }
.beitrag__haupt { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 36px; min-width: 0; }
.beitrag__haupt a { color: var(--link); }
.beitrag__haupt a:hover { color: var(--text); }

/* Fließtext */
.entry-content { max-width: 70ch; }
.entry-content > p:first-child { font-size: 19px; line-height: 1.6; }
.entry-content h2 { font-size: 27px; margin: 1.6em 0 .55em; padding-top: .7em; border-top: 1px solid var(--line); }
.entry-content h3 { font-size: 21px; margin: 1.4em 0 .45em; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; margin: 0 0 1.1em; }
.entry-content li { margin-bottom: .45em; }
.entry-content li::marker { color: var(--primary); }
.entry-content sub, .entry-content sup { line-height: 0; }
.entry-content figure { margin: 1.6em 0; }
.entry-content .wp-block-table { overflow-x: auto; -webkit-overflow-scrolling: touch; display: block; border: 1px solid var(--line); border-radius: var(--radius); }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 15.5px; line-height: 1.45; }
.entry-content th, .entry-content td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); word-break: normal; overflow-wrap: normal; hyphens: manual; }
.entry-content thead th { background: var(--dark); color: #fff; font-family: var(--f-head); font-weight: 600; }
.entry-content tbody tr:nth-child(even) td { background: #f5f9fa; }
.entry-content tbody td:first-child { font-weight: 600; }
.entry-content figcaption, .entry-content .wp-element-caption { font-size: 14.5px; color: var(--muted-text); padding: 10px 12px; border-top: 1px solid var(--line); background: #fafcfc; }
.entry-content .anzeige {
	position: relative;
	margin: 1.8em 0;
	padding: 20px 22px 18px;
	background: #fffaf4;
	border: 1px solid #efc9a0;
	border-left: 5px solid var(--accent);
	border-radius: var(--radius);
	font-size: 16.5px;
}
.entry-content .anzeige .anzeige-label { margin-right: 8px; }
.entry-content .anzeige a { display: inline-block; margin-top: 8px; font-weight: 600; color: #8a4708; }
.entry-content .anzeige a:hover { color: var(--text); }
.entry-content .belegstatus, .entry-content [class*="beleg"] { font-size: 15px; background: var(--tint); border-left: 3px solid var(--primary); padding: 10px 14px; border-radius: 2px; }
.entry-content blockquote { margin: 1.4em 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--primary); color: var(--muted-text); }

/* Fakten-Box */
.fakten { margin: 36px 0 0; border: 1px solid #a9cbd2; border-top: 4px solid var(--primary); border-radius: var(--radius); background: #f3f9fa; padding: 20px 22px 14px; max-width: 70ch; }
.fakten__h { display: flex; align-items: center; gap: 8px; font-size: 21px; margin: 0 0 12px; }
.fakten__h .nadel { color: var(--primary); }
.fakten__daten { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0 0 14px; }
.fakten__daten div { background: var(--surface); border: 1px solid var(--line); border-radius: 2px; padding: 8px 10px; }
.fakten__daten dt { font: 600 13px/1.2 var(--f-head); font-variant-caps: all-small-caps; letter-spacing: .08em; font-size: 15px; color: var(--muted-text); }
.fakten__daten dd { margin: 2px 0 0; font-weight: 600; font-size: 15.5px; line-height: 1.35; }
.fakten__quellen { margin: 0 0 12px; padding-left: 22px; font-size: 15.5px; }
.fakten__quellen li { margin-bottom: 4px; }
.fakten__quellen span { color: var(--muted-text); font-size: 14px; }
.fakten__hinweis { font-size: 14.5px; color: var(--muted-text); }

.begriffe, .verwandt { margin-top: 36px; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { display: inline-block; padding: 6px 12px; border: 1px solid #9fc3cb; border-radius: 999px; text-decoration: none; font-size: 15.5px; background: var(--surface); }
.chips a:hover { background: var(--primary); color: #fff !important; }

/* Seiten, Lexikon */
.seite > h1 { margin-top: 6px; }
.spalte { min-width: 0; }
.spalte.seite { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 34px; }
.einspaltig .spalte.seite { padding: 30px 34px; }
.spalte.seite a { color: var(--link); }
.spalte.seite .entry-content h2 { font-size: 25px; }
.lexikon__filter { margin: 8px 0 12px; }
.lexikon__filter label { display: block; font: 600 15px var(--f-head); margin-bottom: 6px; }
.lexikon__filter input { width: 100%; font: 17px var(--f-body); padding: 11px 14px; border: 1px solid #8fa3ab; border-radius: var(--radius); }
.lexikon__treffer { font-size: 15px; color: var(--muted-text); margin: 6px 0 0; min-height: 1.2em; }
.lexikon__gruppen { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.lexikon__gruppen button { font: 600 15px/1 var(--f-head); padding: 9px 14px; border: 1px solid #9fc3cb; background: var(--surface); color: var(--primary); border-radius: 999px; cursor: pointer; }
.lexikon__gruppen button[aria-pressed="true"] { background: var(--primary); color: #fff; border-color: var(--primary); }
.lexikon__buchstabe { font-size: 30px; color: var(--primary); border-bottom: 2px solid var(--primary); padding-bottom: 4px; margin: 26px 0 10px; width: 48px; }
.eintrag { padding: 12px 0 10px; border-bottom: 1px solid var(--line); scroll-margin-top: 16px; }
.eintrag h3 { font-size: 21px; margin: 0 0 6px; }
.eintrag__gruppe { display: inline-block; font: 600 13px/1 var(--f-head); font-variant-caps: all-small-caps; letter-spacing: .08em; font-size: 15px; color: var(--muted-text); border: 1px solid var(--line); border-radius: 2px; padding: 3px 6px; vertical-align: 3px; margin-left: 6px; }
.eintrag p { margin-bottom: .5em; }
.eintrag__quelle { font-size: 15.5px; color: var(--muted-text); }
.eintrag.ist-markiert, .eintrag:target { background: #fff7ee; box-shadow: -12px 0 0 #fff7ee, 12px 0 0 #fff7ee; border-left: 3px solid var(--accent); padding-left: 10px; }
.fehlerseite { text-align: left; }
.fehlerseite .nadel { color: var(--primary); }
.wegweiser { padding-left: 1.2em; margin-bottom: 1.5em; }

/* Fuß */
.fuss { background: var(--dark); color: #c9d6dc; font-size: 16px; }
.fuss__raster { display: grid; grid-template-columns: 1.3fr .8fr .9fr 1.2fr; gap: 36px; padding-top: 48px; padding-bottom: 36px; }
.fuss__h { color: #fff; font-size: 18px; font-variant-caps: all-small-caps; letter-spacing: .09em; font-size: 20px; margin-bottom: 14px; padding-bottom: 8px; border-bottom: 1px solid #2c4350; }
.fuss a { color: #7fd3e2; }
.fuss a:hover { color: #fff; }
.fuss__liste { list-style: none; margin: 0; padding: 0; }
.fuss__liste li { margin-bottom: 7px; }
.fuss__unten { border-top: 1px solid #2c4350; padding: 18px 0 22px; font-size: 14.5px; }
.fuss__unten p { margin: 0 0 6px; }
.fuss__betreiber { color: #e3ecef; }

/* Breakpoints */
@media (max-width: 1240px) {
	.beitrag__raster { grid-template-columns: minmax(0, 1fr) 300px; }
	.toc { position: static; grid-column: 1 / -1; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 18px 6px; }
	.toc ol { columns: 2; column-gap: 28px; }
	.toc li { break-inside: avoid; }
}
@media (max-width: 1100px) {
	.beitrag__schnitt { grid-template-columns: 1fr; }
	.gewerke__punkt > a { padding-left: 9px; padding-right: 9px; font-size: 16px; }
	.kacheln { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.fuss__raster { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
	.menue-knopf {
		display: inline-flex; align-items: center; gap: 10px;
		font: 600 16px/1 var(--f-head);
		background: var(--surface); color: var(--text);
		border: 1px solid var(--line); border-radius: var(--radius);
		padding: 10px 14px; cursor: pointer;
	}
	.menue-knopf__strich, .menue-knopf__strich::before, .menue-knopf__strich::after { display: block; width: 18px; height: 2px; background: var(--text); position: relative; content: ""; }
	.menue-knopf__strich::before { position: absolute; top: -6px; }
	.menue-knopf__strich::after { position: absolute; top: 6px; }
	.kopf__zeile { flex-wrap: wrap; min-height: 64px; gap: 12px; }
	.gewerke { display: none; width: 100%; padding-bottom: 14px; }
	.gewerke.ist-offen { display: block; }
	.gewerke__liste { flex-direction: column; gap: 0; }
	.gewerke__punkt { border-top: 1px solid var(--line); }
	.gewerke__punkt > a { padding: 14px 4px; border-bottom: 0; }
	.gewerke__punkt.hat-kinder > a::after { display: none; }
	.gewerke__unter { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; border-left: 3px solid var(--primary); border-radius: 0; padding: 0 0 8px; margin: 0 0 6px 4px; min-width: 0; }
	.gewerke__unter a { padding: 7px 14px; }
	.hero__raster { grid-template-columns: 1fr; gap: 32px; padding-top: 36px; padding-bottom: 40px; }
	.mit-leiste { grid-template-columns: minmax(0, 1fr); gap: 36px; }
	.seitenleiste { position: static; }
	.beitrag__raster { grid-template-columns: minmax(0, 1fr); }
	.seitenleiste--beitrag { order: 3; }
}
@media (max-width: 640px) {
	.wrap { padding: 0 16px; }
	body { font-size: 17px; }
	.meta__zeile { justify-content: flex-start; gap: 0 16px; padding-top: 2px; padding-bottom: 2px; }
	.meta p { padding: 4px 0; }
	.logo .nadel { width: 30px; height: 30px; }
	.hero h1 { font-size: 30px; }
	.hero__lead { font-size: 18px; }
	.rose { aspect-ratio: auto; max-width: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
	.rose__svg { position: static; grid-column: 1 / -1; width: 190px; height: 190px; margin: 0 auto 4px; inset: auto; }
	.rose__punkt, .rose__punkt--n, .rose__punkt--s, .rose__punkt--w, .rose__punkt--o { position: relative; inset: auto; transform: none; width: auto; }
	.rose__punkt:hover, .rose__punkt--n:hover, .rose__punkt--s:hover, .rose__punkt--w:hover, .rose__punkt--o:hover { transform: none; }
	.rose__punkt--n { order: 1; } .rose__punkt--o { order: 2; } .rose__punkt--w { order: 3; } .rose__punkt--s { order: 4; }
	.rose__svg { order: 0; }
	.kacheln { grid-template-columns: 1fr; }
	.karte, .karte--werkzeug { grid-template-columns: 1fr; gap: 12px; padding: 14px; }
	.karte__bild { aspect-ratio: 16 / 9; }
	.karte--werkzeug .karte__bild--icon { min-height: 72px; }
	.lex-teaser { grid-template-columns: 1fr; }
	.hinweis-box { padding: 22px 18px 10px; }
	.beitrag__raster { padding-left: 0; padding-right: 0; overflow-x: clip; }
	.beitrag__raster > .toc, .beitrag__raster > .seitenleiste { margin-left: 16px; margin-right: 16px; }
	.beitrag__haupt { padding: 22px 18px; border-left: 0; border-right: 0; border-radius: 0; margin: 0; }
	.entry-content h2 { font-size: 24px; }
	.entry-content table { min-width: 560px; }
	.fakten { padding: 16px 16px 10px; }
	.fakten__daten { grid-template-columns: 1fr; }
	.toc ol { columns: 1; }
	.spalte.seite, .einspaltig .spalte.seite { padding: 22px 18px; }
	.fuss__raster { grid-template-columns: 1fr; gap: 26px; }
	.wand__l { font-size: 18px; }
	.wand__seite { font-size: 18px; }
	.beitrag__schnitt { grid-template-columns: 1fr; gap: 12px; padding: 14px; }
	.schnitt__titel { font-size: 19px; }
	.krumen li[aria-current] { display: none; }
	.autorenzeile { gap: 2px 14px; }
	.autorenzeile span + span::before { content: none; }
	.meta__links { display: none; }
	.meta__kurz { display: none; }
	.logo { gap: 8px; }
	.logo__text { font-size: 19px; }
	.menue-knopf { padding: 8px 10px; gap: 8px; }
	.kopf__zeile { flex-wrap: wrap; }
	.az a, .az span { width: 32px; height: 32px; font-size: 15px; }
}

/* Block-Tabellenstil des Cores neutralisieren (lädt inline nach) */
.entry-content .wp-block-table table { border-collapse: collapse; }
.entry-content .wp-block-table thead { border-bottom: 0; }
.entry-content .wp-block-table th, .entry-content .wp-block-table td { border: 0; border-bottom: 1px solid var(--line); }
.entry-content .wp-block-table tr:last-child td { border-bottom: 0; }
.entry-content .wp-block-table td + td, .entry-content .wp-block-table th + th { border-left: 1px solid var(--line); }
