/*
Theme Name: Modulwissen Solar
Theme URI: https://photovoltaikpanel.de/
Description: Eigenständiges Theme für photovoltaikpanel.de – Archetyp „Modul-Datenblatt-Magazin“: Zellraster-Hero mit attribuierten Kennzahlen, Ratgeber-Raster, Zebra-Vergleichstabelle, Datenblatt-Box in Artikeln, rechte Sidebar.
Author: Zurynski, Oezdogan & Co GmbH
Version: 1.0.0
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: t-photovoltaikpanel-de
*/

:root {
	--bg: #f7f9fb;
	--surface: #ffffff;
	--text: #1b2530;
	--muted: #64727f;          /* nur Linien, Icons, Deko */
	--muted-text: #45515d;     /* Nebentext, 7,7:1 auf --bg */
	--primary: #0b4f8a;
	--primary-dark: #083d6b;
	--accent: #f2a900;
	--link: #0b66b2;
	--line: #d9e1e8;
	--zebra: #f1f5f9;
	--tint: #eef3f8;
	--anzeige-bg: #fffaee;
	--radius: 4px;
	--f-head: "Barlow", "Arial Narrow", Arial, sans-serif;
	--f-body: "Source Sans 3", "Segoe UI", Arial, sans-serif;
	--wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--f-body);
	font-size: 17px;
	line-height: 1.6;
	overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--link); text-underline-offset: 2px; }
a:hover { color: var(--primary); }
a:focus-visible, button:focus-visible, input: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; color: var(--text); margin: 0 0 .5em; }
h1 { font-size: clamp(30px, 4vw, 42px); }
h2 { font-size: clamp(23px, 2.6vw, 28px); }
h3 { font-size: 20px; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin-left: auto; margin-right: auto; padding-left: 24px; padding-right: 24px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link:focus { position: fixed !important; top: 8px; left: 8px; width: auto; height: auto; clip: auto; z-index: 100; background: var(--surface); padding: 8px 14px; border: 2px solid var(--primary); }

/* Disclaimer vom Kern (falls je gesetzt) – nur stylen, nie ausblenden */
.ps-disclaimer { font-family: var(--f-body); font-size: 15px; }

/* ---------------- Kopf ---------------- */
.kopf { background: var(--surface); border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.kopf__zeile { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); margin-right: auto; }
.logo-icon { width: 36px; height: 36px; flex: none; }
.logo__text { display: flex; flex-direction: column; line-height: 1.1; }
.logo__name { font-family: var(--f-head); font-weight: 600; font-size: 24px; letter-spacing: .01em; color: var(--primary); }
.logo__zusatz { font-size: 14px; color: var(--muted-text); }

.suche { display: flex; }
.suche input {
	font: inherit; font-size: 16px; padding: 8px 12px; min-width: 0; width: 240px;
	border: 1px solid var(--muted); border-right: 0; border-radius: var(--radius) 0 0 var(--radius); background: var(--surface); color: var(--text);
}
.suche button {
	font-family: var(--f-head); font-weight: 600; font-size: 16px; padding: 8px 16px; cursor: pointer;
	background: var(--primary); color: #fff; border: 1px solid var(--primary); border-radius: 0 var(--radius) var(--radius) 0;
}
.suche button:hover { background: var(--primary-dark); }

.nav-schalter { display: none; }

.nav { border-top: 1px solid var(--line); background: var(--surface); }
.nav__liste { list-style: none; display: flex; gap: 4px; margin: 0 auto; }
.nav__punkt { position: relative; display: flex; align-items: center; }
.nav__link { display: block; padding: 12px 6px 12px 12px; font-family: var(--f-head); font-weight: 500; font-size: 18px; color: var(--text); text-decoration: none; border-bottom: 3px solid transparent; }
.nav__link:hover { color: var(--primary); border-bottom-color: var(--accent); }
.nav__auf { background: none; border: 0; padding: 12px 8px 12px 2px; cursor: pointer; color: var(--muted-text); font-size: 14px; }
.nav__punkt--neben { margin-left: auto; }
.nav__punkt--neben .nav__link { padding-right: 12px; }
.nav__unter {
	display: none; position: absolute; top: 100%; left: 0; min-width: 290px; list-style: none; margin: 0; padding: 8px 0;
	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 8px 22px rgba(27, 37, 48, .12);
}
.nav__unter a { display: block; padding: 8px 16px; color: var(--text); text-decoration: none; font-size: 16px; }
.nav__unter a:hover { background: var(--tint); color: var(--primary); }
.nav__punkt:hover > .nav__unter, .nav__punkt:focus-within > .nav__unter, .nav__punkt.ist-offen > .nav__unter { display: block; }

/* ---------------- Hero mit Zellraster ---------------- */
.hero {
	background-color: var(--primary);
	background-image:
		linear-gradient(180deg, rgba(8, 61, 107, 0) 0%, rgba(8, 61, 107, .55) 100%),
		linear-gradient(rgba(255, 255, 255, .09) 2px, transparent 2px),
		linear-gradient(90deg, rgba(255, 255, 255, .09) 2px, transparent 2px),
		linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
	background-size: 100% 100%, 48px 48px, 48px 48px, 12px 12px, 12px 12px;
	color: #fff;
	padding: 44px 0 36px;
}
.hero__kopf { max-width: 780px; }
.hero__dach { font-family: var(--f-head); font-weight: 500; text-transform: uppercase; letter-spacing: .08em; font-size: 15px; margin-bottom: 10px; color: #fff; }
.hero__dach::before { content: ""; display: inline-block; width: 22px; height: 3px; background: var(--accent); vertical-align: middle; margin-right: 10px; }
.hero h1 { color: #fff; margin-bottom: 14px; }
.hero__lead { font-size: 19px; margin-bottom: 22px; }
.suche--hero input { width: 100%; max-width: 420px; padding: 11px 14px; border-color: #fff; font-size: 17px; }
.suche--hero button { background: var(--accent); color: var(--text); border-color: var(--accent); padding: 11px 20px; }
.suche--hero button:hover { background: #ffc233; }

.stats { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.stat { background: var(--surface); color: var(--text); border-radius: var(--radius); padding: 16px 18px; border-top: 4px solid var(--accent); display: flex; flex-direction: column; gap: 4px; }
.stat__wert { font-family: var(--f-head); font-weight: 600; font-size: 34px; line-height: 1.05; color: var(--primary); white-space: nowrap; }
.stat__text { font-size: 16px; line-height: 1.35; }
.stat__quelle { font-size: 14px; color: var(--muted-text); margin-top: auto; padding-top: 6px; border-top: 1px solid var(--line); }

.kacheln { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.kachel {
	display: grid; grid-template-columns: 32px 1fr; column-gap: 12px; align-items: center; height: 100%;
	padding: 14px 14px; border: 1px solid rgba(255, 255, 255, .45); border-radius: var(--radius);
	background: rgba(4, 30, 54, .35); color: #fff; text-decoration: none;
}
.kachel:hover { background: rgba(4, 30, 54, .6); color: #fff; border-color: var(--accent); }
.kachel .icon { grid-row: span 2; color: var(--accent); }
.kachel__titel { font-family: var(--f-head); font-weight: 600; font-size: 19px; }
.kachel__kurz { font-size: 14px; line-height: 1.3; color: #fff; }

/* ---------------- Layout mit Sidebar ---------------- */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 44px; padding-top: 36px; padding-bottom: 48px; align-items: start; }
.hauptspalte { min-width: 0; }

.block { margin-bottom: 44px; }
.block__kopf { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; border-bottom: 2px solid var(--text); margin-bottom: 20px; padding-bottom: 6px; }
.block__kopf h2 { margin: 0; }
.mehr { font-family: var(--f-head); font-weight: 600; font-size: 16px; text-decoration: none; white-space: nowrap; }
.mehr:hover { text-decoration: underline; }

.raster { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.karte { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 22px; display: flex; flex-direction: column; }
.karte--gross { grid-column: 1 / -1; border-left: 4px solid var(--primary); }
.karte--gross .karte__titel { font-size: 27px; }
.karte__titel { font-size: 22px; margin: 4px 0 8px; }
.karte__titel a { color: var(--text); text-decoration: none; }
.karte__titel a:hover { color: var(--primary); text-decoration: underline; }
.karte__text { color: var(--text); margin-bottom: 12px; }
.karte .mehr { margin-top: auto; }

.meta { font-size: 15px; color: var(--muted-text); margin: 0; }
.meta__tag { display: inline-block; font-family: var(--f-head); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--primary); background: var(--tint); padding: 1px 8px; border-radius: 2px; margin-right: 6px; }

.demnaechst { margin-top: 20px; background: var(--surface); border: 1px dashed var(--muted); border-radius: var(--radius); padding: 16px 20px; }
.demnaechst h3 { font-size: 17px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px; color: var(--muted-text); }
.demnaechst ul { list-style: none; margin: 0; padding: 0; }
.demnaechst li { padding: 6px 0; border-top: 1px solid var(--line); }
.demnaechst li:first-child { border-top: 0; }
.demnaechst__datum { display: inline-block; min-width: 92px; font-family: var(--f-head); font-weight: 600; color: var(--primary); }

/* Zebra-Tabellen */
.tabelle-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table { border-collapse: collapse; width: 100%; font-size: 16px; }
th, td { text-align: left; vertical-align: top; padding: 10px 14px; border: 0; word-break: normal; overflow-wrap: normal; hyphens: manual; }
thead th { background: var(--primary); color: #fff; font-family: var(--f-head); font-weight: 600; font-size: 16px; letter-spacing: .02em; white-space: nowrap; }
tbody tr:nth-child(even) { background: var(--zebra); }
tbody th { font-weight: 600; }
tbody tr + tr td, tbody tr + tr th { border-top: 1px solid var(--line); }
table.zebra { min-width: 640px; }
.quellnote { font-size: 15px; color: var(--muted-text); margin-top: 10px; }

/* Themen-Cluster */
.cluster__inhalt { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 28px; align-items: start; }
.querschnitt { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; }
.querschnitt svg { display: block; width: 100%; height: auto; }
.querschnitt figcaption { font-size: 14px; color: var(--muted-text); padding-top: 8px; border-top: 1px solid var(--line); margin-top: 8px; }
.cluster__liste { margin: 0; padding: 0; list-style: none; counter-reset: c; }
.cluster__liste li { counter-increment: c; position: relative; padding: 0 0 14px 44px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.cluster__liste li:last-child { border-bottom: 0; margin-bottom: 0; }
.cluster__liste li::before { content: counter(c); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 2px; background: var(--primary); color: #fff; font-family: var(--f-head); font-weight: 600; text-align: center; line-height: 30px; }

/* Glossar */
.glossar-kurz { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; margin: 0; }
.glossar-kurz > div { padding: 12px 0; border-top: 1px solid var(--line); }
.glossar-kurz dt { font-family: var(--f-head); font-weight: 600; font-size: 18px; }
.glossar-kurz dt a { text-decoration: none; }
.glossar-kurz dt a:hover { text-decoration: underline; }
.glossar-kurz dd { margin: 2px 0 0; }

/* ---------------- Sidebar ---------------- */
.sidebar { display: flex; flex-direction: column; gap: 24px; }
.widget { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.widget__titel { font-size: 18px; text-transform: uppercase; letter-spacing: .07em; margin: 0 0 10px; padding-bottom: 8px; border-bottom: 2px solid var(--primary); }
.pfeilliste { list-style: none; margin: 0; padding: 0; }
.pfeilliste li + li { border-top: 1px solid var(--line); }
.pfeilliste a { display: block; position: relative; padding: 9px 22px 9px 0; text-decoration: none; color: var(--text); }
.pfeilliste a::after { content: "→"; position: absolute; right: 2px; top: 9px; color: var(--primary); font-weight: 600; transition: transform .15s; }
.pfeilliste a:hover::after { transform: translateX(3px); }
.pfeilliste a span { display: block; font-family: var(--f-head); font-weight: 600; font-size: 17px; color: var(--primary); }
.pfeilliste a small { display: block; font-size: 15px; color: var(--muted-text); line-height: 1.3; }
.glossar-teaser { margin: 0 0 10px; }
.glossar-teaser dt { font-family: var(--f-head); font-weight: 600; font-size: 17px; margin-top: 10px; }
.glossar-teaser dt:first-child { margin-top: 0; }
.glossar-teaser dd { margin: 2px 0 0; font-size: 16px; line-height: 1.45; }

.anzeige-box { border-left: 5px solid var(--accent); background: var(--anzeige-bg); }
.anzeige-box__label, .entry-content .anzeige-label {
	display: inline-block; font-family: var(--f-head); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .08em;
	background: var(--accent); color: var(--text); padding: 2px 8px; border-radius: 2px; margin-bottom: 10px;
}
.anzeige-box__titel { font-family: var(--f-head); font-weight: 600; font-size: 19px; line-height: 1.25; margin-bottom: 8px; }
.anzeige-box p { font-size: 16px; }
.anzeige-box__knopf { display: inline-block; background: var(--primary); color: #fff; text-decoration: none; font-family: var(--f-head); font-weight: 600; padding: 9px 14px; border-radius: var(--radius); margin-bottom: 10px; }
.anzeige-box__knopf:hover { background: var(--primary-dark); color: #fff; }
.anzeige-box__hinweis { font-size: 14px !important; color: var(--muted-text); margin: 0; }

/* ---------------- Artikel ---------------- */
.brotkrumen { font-size: 15px; color: var(--muted-text); margin-bottom: 14px; }
.artikel__kopf { margin-bottom: 22px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.artikel__kopf h1 { margin-bottom: 12px; }

.toc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 22px; margin-bottom: 28px; }
.toc__titel { font-family: var(--f-head); font-weight: 600; text-transform: uppercase; letter-spacing: .07em; font-size: 16px; margin-bottom: 8px; color: var(--muted-text); }
.toc ol { margin: 0; padding-left: 22px; columns: 2; column-gap: 32px; }
.toc li { break-inside: avoid; padding: 3px 0; font-size: 16px; line-height: 1.4; }
.toc li::marker { color: var(--primary); font-weight: 600; }

.entry-content { font-size: 18px; line-height: 1.7; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content h2 { margin: 1.8em 0 .6em; padding-top: 18px; border-top: 1px solid var(--line); scroll-margin-top: 16px; }
.entry-content .abschnitt--einleitung + .abschnitt h2 { border-top: 0; }
.entry-content h3 { margin: 1.5em 0 .4em; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; margin: 0 0 1.2em; }
.entry-content li { margin-bottom: .4em; }
.entry-content li::marker { color: var(--primary); }
.entry-content figure { margin: 1.5em 0; }

.entry-content .wp-block-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.entry-content .wp-block-table table { min-width: 600px; font-size: 16px; line-height: 1.5; }

/* Datenblatt-Box (Twist) */
.entry-content figure.datenblatt { border: 1px solid var(--primary); position: relative; background: var(--surface); }
.entry-content figure.datenblatt table { min-width: 0; table-layout: auto; }
.entry-content .wp-block-table th, .entry-content .wp-block-table td { border: 0; }
.entry-content .wp-block-table tbody tr + tr td, .entry-content .wp-block-table tbody tr + tr th { border-top: 1px solid var(--line); }
.entry-content .wp-block-table thead { border-bottom: 0; }
.entry-content .wp-block-table table { border: 0; }
.entry-content figure.datenblatt thead th { white-space: normal; border: 0; background: var(--primary); font-size: 15px; text-transform: uppercase; letter-spacing: .08em; padding: 10px 16px; }
.entry-content figure.datenblatt thead th:first-child::before { content: ""; display: inline-block; width: 12px; height: 12px; background: var(--accent); margin-right: 10px; vertical-align: -1px; }
.entry-content figure.datenblatt tbody tr { background: var(--surface); }
.entry-content figure.datenblatt tbody tr + tr td { border-top: 1px dotted var(--muted); }
.entry-content figure.datenblatt td { padding: 9px 16px; }
.entry-content figure.datenblatt td:first-child { width: 36%; font-family: var(--f-head); font-weight: 600; font-size: 15px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted-text); background: var(--zebra); }

/* Anzeige im Text (Twist: gelbe Kante links) */
.entry-content .anzeige { margin: 2em 0; padding: 18px 22px; background: var(--anzeige-bg); border: 1px solid #ecdcb0; border-left: 5px solid var(--accent); border-radius: var(--radius); font-size: 17px; line-height: 1.6; }
.entry-content .anzeige p { margin: 0; }

/* Häufige Fragen */
.abschnitt--faq h3 { font-size: 19px; background: var(--tint); border-left: 4px solid var(--primary); padding: 10px 14px; margin: 1.2em 0 .5em; }

/* Quellenliste */
.abschnitt--quellen { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 22px 14px; margin-top: 2.2em; }
.abschnitt--quellen h2 { border-top: 0; font-size: 20px; text-transform: uppercase; letter-spacing: .07em; margin-top: .8em; }
.abschnitt--quellen ul { font-size: 16px; line-height: 1.5; }

.weitere { margin-top: 44px; }
.weitere h2 { border-bottom: 2px solid var(--text); padding-bottom: 6px; }

/* Glossar- und FAQ-Seiten */
.entry-content dl.glossar dt { font-family: var(--f-head); font-weight: 600; font-size: 21px; margin-top: 1.1em; padding-top: 12px; border-top: 1px solid var(--line); scroll-margin-top: 16px; }
.entry-content dl.glossar dd { margin: .3em 0 0; }
.entry-content dl.glossar .quelle { display: block; font-size: 15px; color: var(--muted-text); margin-top: 4px; }
.entry-content .faq-frage { font-size: 19px; background: var(--tint); border-left: 4px solid var(--primary); padding: 10px 14px; margin: 1.3em 0 .5em; }

.page-numbers { display: inline-block; min-width: 40px; padding: 6px 10px; margin: 0 4px 4px 0; text-align: center; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); text-decoration: none; font-family: var(--f-head); font-weight: 600; }
.page-numbers.current { background: var(--primary); color: #fff; border-color: var(--primary); }
.pagination { margin-top: 24px; }
.leer { background: var(--surface); padding: 16px 20px; border: 1px solid var(--line); border-radius: var(--radius); }
.suche--seite { margin: 0 0 24px; }

/* ---------------- Info-Block ---------------- */
.infoblock { background: var(--tint); border-top: 4px solid var(--accent); padding: 36px 0; }
.infoblock__inner { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.infoblock h2 { font-size: 24px; }
.infoblock__links { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--muted); padding-left: 24px; }
.infoblock__links li { padding: 5px 0; }
.infoblock__links a { font-family: var(--f-head); font-weight: 600; font-size: 18px; }

/* ---------------- Fuß ---------------- */
.fuss { background: var(--text); color: #e8edf2; font-size: 16px; }
.fuss a { color: #b9d7f2; }
.fuss a:hover { color: #fff; }
.fuss__spalten { display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 40px; padding-top: 40px; padding-bottom: 32px; }
.fuss__titel { color: #fff; font-size: 17px; text-transform: uppercase; letter-spacing: .08em; padding-bottom: 8px; border-bottom: 2px solid var(--accent); display: inline-block; }
.fuss ul { list-style: none; margin: 0 0 14px; padding: 0; }
.fuss li { padding: 3px 0; }
.fuss__hinweis, .fuss__betreiber { color: #e8edf2; }
.fuss__betreiber { font-weight: 400; }
.fuss__unten { border-top: 1px solid #3a4756; padding: 14px 0; font-size: 15px; color: #d0d8e0; }

/* ---------------- Responsiv ---------------- */
@media (max-width: 1080px) {
	.stats { grid-template-columns: repeat(2, 1fr); }
	.kacheln { grid-template-columns: repeat(3, 1fr); }
	.layout { grid-template-columns: minmax(0, 1fr) 270px; gap: 32px; }
	.cluster__inhalt { grid-template-columns: 1fr; }
	.querschnitt { max-width: 520px; }
}
@media (max-width: 860px) {
	.layout { grid-template-columns: 1fr; }
	.sidebar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.fuss__spalten { grid-template-columns: 1fr 1fr; }
	.fuss__spalte:last-child { grid-column: 1 / -1; }
	.infoblock__inner { grid-template-columns: 1fr; gap: 16px; }
	.infoblock__links { border-left: 0; padding-left: 0; display: flex; flex-wrap: wrap; gap: 4px 20px; }

	.kopf__zeile { flex-wrap: wrap; gap: 10px 12px; min-height: 0; padding-top: 12px; padding-bottom: 12px; }
	.suche--kopf { order: 3; width: 100%; }
	.suche--kopf input { width: 100%; flex: 1; }
	.home .suche--kopf { display: none; }
	.nav-schalter {
		display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-head); font-weight: 600; font-size: 17px;
		background: var(--surface); color: var(--primary); border: 1px solid var(--primary); border-radius: var(--radius); padding: 7px 14px; cursor: pointer;
	}
	.nav-schalter::before { content: "☰"; font-size: 18px; line-height: 1; }
	.nav-schalter[aria-expanded="true"]::before { content: "✕"; }
	.nav { display: none; }
	.nav.ist-offen { display: block; }
	.nav__liste { flex-direction: column; gap: 0; padding: 4px 24px 12px; }
	.nav__punkt { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
	.nav__link { flex: 1; padding: 12px 0; border-bottom: 0; }
	.nav__auf { padding: 12px 6px; font-size: 18px; min-width: 44px; }
	.nav__punkt--neben { margin-left: 0; }
	.nav__unter { position: static; box-shadow: none; border: 0; border-left: 3px solid var(--primary); width: 100%; min-width: 0; margin: 0 0 10px; padding: 0; border-radius: 0; }
	.nav__punkt:hover > .nav__unter, .nav__punkt:focus-within > .nav__unter { display: none; }
	.nav__punkt.ist-offen > .nav__unter { display: block; }
}
@media (max-width: 600px) {
	body { font-size: 17px; }
	.wrap { padding-left: 16px; padding-right: 16px; }
	.nav__liste { padding: 4px 16px 12px; }
	.logo__name { font-size: 21px; }
	.logo__zusatz { font-size: 13px; }
	.hero { padding: 28px 0 26px; }
	.hero__lead { font-size: 17px; }
	.stats { grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px; }
	.stat { padding: 12px; }
	.stat__wert { font-size: 26px; white-space: normal; }
	.stat__text { font-size: 15px; }
	.stat__quelle { font-size: 13px; }
	.kacheln { grid-template-columns: 1fr 1fr; gap: 8px; }
	.kacheln li:last-child { grid-column: 1 / -1; }
	.kachel { padding: 10px; column-gap: 10px; }
	.kachel__titel { font-size: 17px; }
	.raster { grid-template-columns: 1fr; }
	.karte--gross .karte__titel { font-size: 23px; }
	.glossar-kurz { grid-template-columns: 1fr; }
	.sidebar { grid-template-columns: 1fr; }
	.block__kopf { flex-wrap: wrap; }
	.toc ol { columns: 1; }
	.entry-content { font-size: 17px; }
	.entry-content figure.datenblatt table, .entry-content figure.datenblatt thead, .entry-content figure.datenblatt tbody, .entry-content figure.datenblatt tr, .entry-content figure.datenblatt th, .entry-content figure.datenblatt td { display: block; width: 100%; }
	.entry-content figure.datenblatt thead tr { display: flex; justify-content: space-between; flex-wrap: wrap; background: var(--primary); }
	.entry-content figure.datenblatt thead th { width: auto; padding: 8px 12px; }
	.entry-content figure.datenblatt td { padding: 8px 12px; }
	.entry-content figure.datenblatt td:first-child { width: 100%; font-size: 13px; padding-bottom: 2px; }
	.entry-content figure.datenblatt tbody tr + tr td:first-child { border-top: 1px dotted var(--muted); }
	.entry-content figure.datenblatt tbody tr td + td { border-top: 0; padding-top: 2px; background: var(--surface); }
	.entry-content .anzeige { padding: 14px 16px; }
	.abschnitt--quellen { padding: 2px 16px 10px; }
	.fuss__spalten { grid-template-columns: 1fr; gap: 24px; }
	.suche--hero input { max-width: none; }
}
.entry-content .glossar-sprung { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 14px; font-family: var(--f-head); font-size: 17px; }
.entry-content .glossar-sprung a { display: inline-block; padding: 2px 4px; font-weight: 600; }
.entry-content > h2:first-child { border-top: 0; padding-top: 0; margin-top: 0; }
.nowrap { white-space: nowrap; }
