/*
Theme Name: Bauplatz Ratgeber (baumarktplatz.de)
Theme URI: https://baumarktplatz.de/
Description: Eigenständiges Theme für Bauplatz Ratgeber – Ratgeber-Magazin "Bauplatz-Werkbank" mit Rubriken-Mega-Menü, Zollstock-Trennlinien, Werkzeug-Etiketten und Checklisten zum Ausdrucken.
Author: Zurynski, Oezdogan & Co GmbH
Version: 1.0.0
Requires at least: 6.0
Text Domain: t-baumarktplatz-de
*/

:root {
	--bg: #f7f5f0;
	--surface: #ffffff;
	--text: #23272b;
	--muted: #6a7178;
	--text-2: #464c52; /* Sekundärtext, abgedunkeltes muted für >= 7:1 */
	--primary: #d9650f;
	--accent: #2b6f87;
	--link: #1f5f78;
	--orange-hell: #fbe6d4;
	--orange-rand: #e8a46e;
	--accent-hell: #e4eff3;
	--linie: #dcd7cc;
	--radius: 4px;
	--f-head: "Work Sans", "Segoe UI", Arial, sans-serif;
	--f-body: "Source Sans 3", "Segoe UI", Arial, sans-serif;
	--breite: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--f-body);
	font-size: 18px;
	line-height: 1.65;
	overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: 2px; }
a:hover { color: var(--text); }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; }
h1, h2, h3, h4 { font-family: var(--f-head); font-weight: 600; line-height: 1.25; color: var(--text); margin: 0 0 .5em; }
[id] { scroll-margin-top: 90px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--breite); margin: 0 auto; padding: 0 24px; }
.sprung { position: absolute; left: -9999px; top: 8px; background: var(--surface); padding: 8px 14px; z-index: 100; }
.sprung:focus { left: 8px; }

/* Disclaimer vom Kern: gestaltet, nie versteckt */
.ps-disclaimer { background: #fff3e6; color: var(--text); border-bottom: 1px solid var(--orange-rand); font: 15px/1.5 var(--f-body); padding: 9px 24px; }
.ps-disclaimer__inner { max-width: calc(var(--breite) - 48px); margin: 0 auto; }

/* ---------- Kopf ---------- */
.kopf { background: var(--surface); border-bottom: 3px solid var(--primary); position: relative; z-index: 20; }
.kopf-leiste { display: flex; align-items: center; gap: 24px; padding-top: 14px; padding-bottom: 12px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); margin-right: auto; }
.logo-zeichen { flex: none; }
.logo-text { font-family: var(--f-head); font-size: 24px; line-height: 1.1; font-weight: 400; letter-spacing: -.01em; }
.logo-text strong { font-weight: 600; }
.logo-text small { display: block; font-family: var(--f-body); font-size: 14px; color: var(--text-2); letter-spacing: .02em; margin-top: 3px; }
.suche { display: flex; align-items: stretch; background: var(--surface); border: 1px solid var(--linie); border-radius: var(--radius); }
.suche input { flex: 1; min-width: 0; border: 0; background: transparent; font: inherit; font-size: 16px; padding: 9px 12px; color: var(--text); }
.suche input::placeholder { color: var(--text-2); }
.suche input:focus { outline: none; }
.suche:focus-within { border-color: var(--link); box-shadow: 0 0 0 2px var(--accent-hell); }
.suche button { display: inline-flex; align-items: center; gap: 6px; border: 0; background: var(--link); color: #fff; font: 600 15px var(--f-head); padding: 0 14px; border-radius: 0 3px 3px 0; cursor: pointer; }
.suche button:hover { background: var(--text); }
.kopf-suche { width: 360px; }
.menue-knopf { display: none; }

.hauptnav { border-top: 1px solid #ece8df; }
.nav-liste { list-style: none; display: flex; gap: 4px; margin: 0 auto; }
.nav-punkt > a, .nav-rubrik {
	display: inline-flex; align-items: center; gap: 8px; font: 600 16px var(--f-head); color: var(--text);
	background: none; border: 0; padding: 13px 14px 12px; cursor: pointer; text-decoration: none; border-bottom: 3px solid transparent; margin-bottom: -3px;
}
.nav-punkt:first-child .nav-rubrik { padding-left: 0; }
.nav-rubrik svg { transition: transform .15s; color: var(--muted); }
.nav-punkt--extra { margin-left: auto; }
.nav-punkt--extra + .nav-punkt--extra { margin-left: 0; }
.nav-punkt--extra a { color: var(--link); }
.hat-mega:hover > .nav-rubrik, .hat-mega.offen > .nav-rubrik { border-bottom-color: var(--primary); }
.hat-mega.offen .nav-rubrik svg { transform: rotate(180deg); }
.mega { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-top: 1px solid var(--linie); border-bottom: 3px solid var(--primary); box-shadow: 0 14px 28px rgba(35, 39, 43, .12); }
.hat-mega:hover .mega, .hat-mega:focus-within .mega, .hat-mega.offen .mega { display: block; }
.mega-innen { max-width: var(--breite); margin: 0 auto; padding: 22px 24px 26px; display: grid; grid-template-columns: 280px 1fr; gap: 32px; }
.mega-kopf p { margin: 10px 0 0; color: var(--text-2); font-size: 17px; }
.mega-links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 28px; }
.mega-links a { display: block; padding: 9px 0 9px 22px; border-bottom: 1px solid #ece8df; text-decoration: none; font-weight: 600; position: relative; }
.mega-links a::before { content: ""; position: absolute; left: 2px; top: 50%; width: 9px; height: 9px; border-top: 2px solid var(--primary); border-right: 2px solid var(--primary); transform: translateY(-50%) rotate(45deg); }
.mega-links a:hover { text-decoration: underline; }

/* ---------- Zollstock ---------- */
.zollstock {
	height: 28px; position: relative; overflow: hidden;
	background-color: #f5c48f;
	background-image:
		repeating-linear-gradient(90deg, var(--text) 0 1px, transparent 1px 60px),
		repeating-linear-gradient(90deg, var(--text) 0 1px, transparent 1px 30px),
		repeating-linear-gradient(90deg, var(--text) 0 1px, transparent 1px 6px);
	background-size: 100% 14px, 100% 9px, 100% 5px;
	background-repeat: repeat-x;
	background-position: 0 0, 0 0, 0 0;
	border-top: 1px solid #c98a4a; border-bottom: 1px solid #c98a4a;
}
.zollstock-zahlen { display: flex; position: absolute; left: 0; bottom: 1px; white-space: nowrap; }
.zollstock-zahlen span { flex: none; width: 60px; text-align: right; padding-right: 3px; font: 600 11px/1 var(--f-head); color: var(--text); }
.zollstock::after { content: ""; position: absolute; top: 0; bottom: 0; left: 600px; width: 2px; background: #c98a4a; box-shadow: 600px 0 0 #c98a4a, 1200px 0 0 #c98a4a, 1800px 0 0 #c98a4a; }

/* ---------- Werkzeug-Etikett ---------- */
.etikett {
	display: inline-flex; align-items: center; gap: 7px; position: relative;
	font: 600 13px/1 var(--f-head); letter-spacing: .05em; text-transform: uppercase; color: var(--text); text-decoration: none;
	background: var(--orange-hell); padding: 6px 12px 6px 22px;
	clip-path: polygon(11px 0, 100% 0, 100% 100%, 11px 100%, 0 50%);
	border-radius: 0 3px 3px 0;
}
a.etikett:hover { background: #f8d3b1; color: var(--text); }
.etikett-loch { position: absolute; left: 11px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--surface); box-shadow: inset 0 0 0 1px var(--orange-rand); }

/* ---------- Knöpfe ---------- */
.knopf { display: inline-block; background: var(--link); color: #fff; font: 600 16px/1.2 var(--f-head); padding: 12px 18px; border-radius: var(--radius); text-decoration: none; border: 2px solid var(--link); cursor: pointer; }
.knopf:hover { background: var(--text); border-color: var(--text); color: #fff; }
.knopf--klein { font-size: 15px; padding: 9px 14px; }
.knopf--hell { background: #fff; color: var(--link); border-color: #fff; }
.knopf--hell:hover { background: var(--bg); color: var(--text); border-color: var(--bg); }
.knopf--rand { background: transparent; color: var(--link); }
.knopf--rand:hover { color: #fff; }
.text-link { font-weight: 600; }

/* ---------- Hero ---------- */
.held {
	background-color: var(--bg);
	background-image:
		linear-gradient(rgba(43, 111, 135, .10) 1px, transparent 1px),
		linear-gradient(90deg, rgba(43, 111, 135, .10) 1px, transparent 1px),
		linear-gradient(rgba(43, 111, 135, .045) 1px, transparent 1px),
		linear-gradient(90deg, rgba(43, 111, 135, .045) 1px, transparent 1px);
	background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
	background-position: center top;
	padding: 56px 0 52px;
}
.held-innen { max-width: 860px; text-align: center; }
.held-dachzeile { font: 600 14px var(--f-head); letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); margin: 0 0 8px; }
.held-titel { font-size: 52px; letter-spacing: -.02em; margin-bottom: 12px; }
.held-unter { font-size: 20px; color: var(--text-2); margin: 0 auto 26px; max-width: 640px; }
.held-suche { max-width: 640px; margin: 0 auto; border: 2px solid var(--text); box-shadow: 4px 4px 0 var(--primary); }
.held-suche input { font-size: 18px; padding: 14px 16px; }
.held-suche button { font-size: 17px; padding: 0 22px; border-radius: 0; }
.schnell { list-style: none; padding: 0; margin: 34px auto 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; max-width: 860px; }
.schnell a { display: flex; flex-direction: column; align-items: center; gap: 4px; background: var(--surface); border: 1px solid var(--linie); border-radius: var(--radius); padding: 18px 10px 16px; text-decoration: none; color: var(--text); height: 100%; transition: border-color .15s, transform .15s; }
.schnell a:hover { border-color: var(--primary); transform: translateY(-2px); }
.schnell svg { color: var(--accent); margin-bottom: 6px; }
.schnell strong { font: 600 17px var(--f-head); }
.schnell span { font-size: 15px; color: var(--text-2); line-height: 1.35; }

/* ---------- Sektionen ---------- */
.sektion { padding-top: 56px; padding-bottom: 56px; }
.sektion-kopf { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; flex-wrap: wrap; border-bottom: 1px solid var(--linie); padding-bottom: 12px; margin-bottom: 28px; }
.sektion-titel { font-size: 32px; margin: 0; letter-spacing: -.01em; }
.sektion-unter { margin: 0; color: var(--text-2); font-size: 17px; max-width: 520px; }
.sektion-fuss { margin: 24px 0 0; }

.karten-reihe { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.karte { background: var(--surface); border: 1px solid var(--linie); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.karte-bild { aspect-ratio: 16 / 10; overflow: hidden; background: var(--accent-hell); }
.karte-bild img { width: 100%; height: 100%; object-fit: cover; }
.karte-text { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.karte-text .etikett { align-self: flex-start; }
.karte-titel { font-size: 21px; margin: 0; }
.karte-titel a { color: var(--text); text-decoration: none; }
.karte-titel a:hover { color: var(--link); text-decoration: underline; }
.karte-teaser { margin: 0; font-size: 17px; }
.karte-meta { margin: auto 0 0; font-size: 15px; color: var(--text-2); border-top: 1px dashed var(--linie); padding-top: 10px; }
.karte--bald .karte-bild img { filter: grayscale(.55); opacity: .85; }
.bald-hinweis { font-weight: 700; color: var(--text); background: var(--accent-hell); padding: 1px 6px; border-radius: 3px; }

.sektion--werkbank { background: #efebe2; background-image: radial-gradient(rgba(35, 39, 43, .09) 1.2px, transparent 1.3px); background-size: 22px 22px; border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie); }
.rubrik-raster { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.rubrik-block { background: var(--surface); border: 1px solid var(--linie); border-top: 4px solid var(--text); border-radius: var(--radius); padding: 20px 20px 14px; }
.rubrik-intro { font-size: 16px; color: var(--text-2); margin: 12px 0 10px; line-height: 1.5; }
.rubrik-links { list-style: none; margin: 0; padding: 0; }
.rubrik-links li { border-top: 1px solid #ece8df; }
.rubrik-links a { display: block; padding: 9px 0 9px 18px; position: relative; font-weight: 600; text-decoration: none; line-height: 1.35; }
.rubrik-links a::before { content: ""; position: absolute; left: 1px; top: 15px; width: 7px; height: 7px; border-top: 2px solid var(--primary); border-right: 2px solid var(--primary); transform: rotate(45deg); }
.rubrik-links a:hover { text-decoration: underline; }

.schwerpunkt { display: grid; grid-template-columns: 1fr 1.25fr 300px; gap: 36px; align-items: start; }
.schwerpunkt-bild { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--linie); }
.schwerpunkt-bild img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.schwerpunkt-text .sektion-titel { margin: 14px 0 12px; }
.schwerpunkt-text p { margin: 0 0 14px; }
.haken-liste { list-style: none; padding: 0; margin: 0 0 20px; }
.haken-liste li { position: relative; padding: 8px 0 8px 34px; border-bottom: 1px dashed var(--linie); }
.haken-liste li::before { content: ""; position: absolute; left: 0; top: 11px; width: 20px; height: 20px; border: 2px solid var(--text); border-radius: 3px; background: var(--surface); }
.haken-liste li::after { content: ""; position: absolute; left: 6px; top: 13px; width: 7px; height: 12px; border-right: 3px solid var(--primary); border-bottom: 3px solid var(--primary); transform: rotate(40deg); }
.schwerpunkt-links { display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: center; }

.check-reihe { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.check-karte { display: flex; flex-direction: column; gap: 10px; background: var(--surface); border: 1px solid var(--linie); border-radius: var(--radius); padding: 20px 22px; text-decoration: none; color: var(--text); position: relative; box-shadow: 3px 3px 0 #e6e0d3; }
.check-karte:hover { border-color: var(--primary); }
.check-nr { align-self: flex-start; font: 600 14px var(--f-head); background: var(--orange-hell); padding: 3px 8px; border-radius: 3px; letter-spacing: .06em; }
.check-karte strong { font: 600 19px/1.3 var(--f-head); }
.check-karte ul { list-style: none; margin: 0; padding: 0; }
.check-karte li { position: relative; padding: 5px 0 5px 28px; font-size: 17px; }
.check-karte li::before { content: ""; position: absolute; left: 0; top: 9px; width: 16px; height: 16px; border: 2px solid var(--text); border-radius: 2px; }
.check-mehr { margin-top: auto; color: var(--link); font-weight: 600; text-decoration: underline; }

.sektion--glossar { background: var(--surface); border-top: 1px solid var(--linie); }
.begriffe { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 32px; margin: 0; }
.begriffe > div { padding: 14px 0; border-bottom: 1px solid #ece8df; }
.begriffe dt { font: 600 19px var(--f-head); margin-bottom: 4px; }
.begriffe dd { margin: 0; font-size: 17px; }

.ueber-band { background: var(--link); color: #fff; padding: 40px 0; }
.ueber-band-innen { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; }
.ueber-band-titel { color: #fff; font-size: 26px; margin-bottom: 6px; }
.ueber-band p { margin: 0; max-width: 720px; }
.ueber-band .avatar { width: 72px; height: 72px; font-size: 24px; background: #fff; color: var(--link); }

.avatar { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; background: var(--link); color: #fff; font: 600 16px var(--f-head); letter-spacing: .03em; flex: none; box-shadow: 0 0 0 3px var(--orange-hell); }

/* ---------- Artikel ---------- */
.artikel-rahmen { padding-top: 22px; padding-bottom: 64px; }
.brotkrumen { font-size: 15px; color: var(--text-2); display: flex; flex-wrap: wrap; gap: 6px 8px; margin-bottom: 22px; }
.brotkrumen [aria-current] { color: var(--text); }
.artikel-raster { display: grid; grid-template-columns: minmax(0, 760px) 300px; gap: 56px; justify-content: space-between; }
.artikel { background: var(--surface); border: 1px solid var(--linie); border-radius: var(--radius); padding: 36px 20px 40px; min-width: 0; }
.artikel > * { max-width: 720px; margin-left: auto; margin-right: auto; }
.artikel-kopf { margin-bottom: 24px; }
.artikel-titel { font-size: 40px; letter-spacing: -.015em; margin: 14px 0 18px; }
.seite .artikel-titel { margin-top: 0; }
.autorenzeile { display: flex; align-items: center; gap: 14px; border-top: 1px solid var(--linie); border-bottom: 1px solid var(--linie); padding: 12px 0; }
.autorenzeile strong { display: block; font-family: var(--f-head); font-weight: 600; font-size: 16px; }
.autorenzeile span { font-size: 15px; color: var(--text-2); }
.autorenzeile .avatar { color: #fff; font-size: 16px; }
.artikel-bild { margin: 0 auto 26px; border-radius: var(--radius); overflow: hidden; }
.artikel-bild img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.inhaltsverzeichnis { background: var(--bg); border: 1px solid var(--linie); border-left: 5px solid var(--primary); border-radius: var(--radius); padding: 16px 22px 14px; margin-bottom: 30px; }
.iv-titel { font: 600 15px var(--f-head); text-transform: uppercase; letter-spacing: .1em; margin: 0 0 6px; }
.inhaltsverzeichnis ol { margin: 0; padding-left: 22px; }
.inhaltsverzeichnis li { padding: 3px 0; font-size: 17px; }
.inhaltsverzeichnis--zeile { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.inhaltsverzeichnis--zeile a { font-weight: 600; }

.entry-content { font-size: 18px; }
.entry-content > * { margin-top: 0; margin-bottom: 1.1em; }
.entry-content h2 { font-size: 28px; margin-top: 1.8em; padding-top: 18px; border-top: 1px solid var(--linie); position: relative; }
.entry-content h2::before { content: ""; position: absolute; top: -2px; left: 0; width: 60px; height: 3px; background: var(--primary); }
.entry-content h3 { font-size: 21px; margin-top: 1.5em; }
.entry-content ul, .entry-content ol { padding-left: 1.4em; }
.entry-content li { margin-bottom: .45em; }
.entry-content ul:not(.checkliste) > li::marker { color: var(--primary); }
.entry-content ol > li::marker { font-family: var(--f-head); font-weight: 600; color: var(--text); }
.entry-content strong { font-weight: 700; }
.entry-content a { overflow-wrap: anywhere; }

/* Tabellen: scrollbar statt Wortbruch */
.entry-content figure.wp-block-table, .entry-content .tabelle-scroll { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 0 1.5em; border: 1px solid var(--linie); border-radius: var(--radius); }
.entry-content table, .entry-content .wp-block-table table, .entry-content .wp-block-table .has-fixed-layout { width: 100%; min-width: 640px; border-collapse: collapse; table-layout: auto; font-size: 16px; line-height: 1.45; }
.entry-content th, .entry-content td, .entry-content .wp-block-table th, .entry-content .wp-block-table td { word-break: normal; overflow-wrap: normal; hyphens: manual; text-align: left; vertical-align: top; padding: 10px 12px; border: 0; border-bottom: 1px solid #ece8df; }
.entry-content thead th, .entry-content tr:first-child th { background: var(--accent-hell); font-family: var(--f-head); font-weight: 600; border-bottom: 2px solid var(--accent); }
.entry-content tbody tr:nth-child(even) td { background: #fbfaf7; }
.entry-content .wp-block-table thead { border-bottom: 0; }

/* Anzeige im Text */
.entry-content .anzeige { background: #fffaf4; border: 1px solid var(--orange-rand); border-left: 6px solid var(--primary); border-radius: var(--radius); padding: 16px 20px 6px; margin: 2em 0; font-size: 17px; }
.entry-content .anzeige-label, .anzeige-box-label { display: inline-block; background: var(--text); color: #fff; font: 600 12px/1 var(--f-head); letter-spacing: .1em; text-transform: uppercase; padding: 5px 8px; border-radius: 2px; margin-bottom: 8px; }
.entry-content .anzeige p { margin: 0 0 10px; }

.infobox-hersteller { background: var(--accent-hell); border-left: 5px solid var(--accent); border-radius: var(--radius); padding: 16px 20px; margin-top: 34px; font-size: 17px; }
.infobox-titel { font: 600 18px var(--f-head); margin: 0 0 6px; }
.infobox-hersteller p:last-child { margin: 0; }
.quellen { margin-top: 30px; border-top: 1px solid var(--linie); padding-top: 18px; }
.quellen h2 { font-size: 20px; }
.quellen ol { margin: 0; padding-left: 22px; font-size: 16px; }
.quellen li { margin-bottom: 6px; }
.quelle-host { color: var(--text-2); font-size: 14px; white-space: nowrap; }
.quelle-host::before { content: "· "; }

/* Glossar / Checklisten / Über (Seiteninhalt) */
.entry-content .lead { font-size: 20px; color: var(--text-2); }
.entry-content dl.glossar { margin: 0 0 1.6em; }
.entry-content dl.glossar dt { font: 600 20px var(--f-head); margin-top: 18px; padding-top: 14px; border-top: 1px dashed var(--linie); }
.entry-content dl.glossar dt:first-child { border-top: 0; padding-top: 0; }
.entry-content dl.glossar dd { margin: 6px 0 0; }
.entry-content dl.glossar dt:target { background: var(--orange-hell); }
.entry-content .checkliste-karte { border: 1px solid var(--linie); border-radius: var(--radius); padding: 4px 22px 14px; margin-bottom: 26px; box-shadow: 3px 3px 0 #e6e0d3; break-inside: avoid; }
.entry-content .checkliste-karte h2 { border-top: 0; padding-top: 16px; margin-top: 0; font-size: 23px; }
.entry-content .checkliste-karte h2::before { display: none; }
.entry-content .checkliste-quelle { font-size: 15px; color: var(--text-2); margin-top: -6px; }
.entry-content ul.checkliste { list-style: none; padding: 0; }
.entry-content ul.checkliste li { position: relative; padding: 8px 4px 8px 36px; border-bottom: 1px dashed var(--linie); cursor: pointer; margin: 0; }
.entry-content ul.checkliste li::before { content: ""; position: absolute; left: 2px; top: 11px; width: 20px; height: 20px; border: 2px solid var(--text); border-radius: 3px; background: var(--surface); }
.entry-content ul.checkliste li.erledigt::after { content: ""; position: absolute; left: 9px; top: 13px; width: 7px; height: 12px; border-right: 3px solid var(--primary); border-bottom: 3px solid var(--primary); transform: rotate(40deg); }
.entry-content ul.checkliste li.erledigt { color: var(--text-2); }
.druck-zeile { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin: 0; font-size: 15px; color: var(--text-2); }

/* Seitenleiste */
.seitenleiste { display: flex; flex-direction: column; gap: 22px; }
.kasten { background: var(--surface); border: 1px solid var(--linie); border-radius: var(--radius); padding: 18px 20px; }
.kasten-titel { font-size: 18px; padding-bottom: 8px; border-bottom: 3px solid var(--primary); display: inline-block; margin-bottom: 8px; }
.kasten-liste { list-style: none; padding: 0; margin: 0; }
.kasten-liste li { padding: 9px 0; border-bottom: 1px solid #ece8df; font-size: 16px; line-height: 1.4; }
.kasten-liste li:last-child { border-bottom: 0; }
.kasten-liste a { font-weight: 600; text-decoration: none; }
.kasten-liste a:hover { text-decoration: underline; }
.kasten-bald { display: block; font-weight: 600; }
.kasten-liste small { color: var(--text-2); font-size: 14px; }
.anzeige-box { background: #fffaf4; border: 1px solid var(--orange-rand); border-top: 5px solid var(--primary); border-radius: var(--radius); padding: 16px 20px 20px; font-size: 16px; line-height: 1.5; }
.anzeige-box p { margin: 0 0 10px; }
.anzeige-box-titel { font: 600 19px/1.3 var(--f-head); }
.anzeige-box-offen { font-size: 15px; color: var(--text-2); }

/* Liste / Suche / 404 */
.liste { min-width: 0; }
.liste-suche { max-width: 560px; margin-bottom: 24px; }
.ergebnisse { list-style: none; padding: 0; margin: 0; }
.ergebnis { background: var(--surface); border: 1px solid var(--linie); border-radius: var(--radius); padding: 18px 22px; margin-bottom: 16px; }
.ergebnis h2 { font-size: 22px; margin: 0 0 6px; }
.ergebnis p { margin: 0; }
.ergebnis-typ { font: 600 13px var(--f-head); text-transform: uppercase; letter-spacing: .08em; color: var(--text-2); margin-bottom: 4px !important; }
.leer { background: var(--surface); border: 1px solid var(--linie); border-radius: var(--radius); padding: 20px 24px; }
.nicht-gefunden { max-width: 720px; margin: 30px auto; text-align: center; }
.nicht-gefunden .liste-suche { margin: 24px auto; }
.leer-rubriken { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

/* ---------- Fuß ---------- */
.fuss { background: var(--text); color: #e9e6df; margin-top: 0; font-size: 16px; }
.fuss a { color: #f7d1ad; }
.fuss a:hover { color: #fff; }
.fuss-spalten { display: grid; grid-template-columns: 1fr 1fr 1fr 1.6fr; gap: 32px; padding-top: 44px; padding-bottom: 36px; }
.fuss-titel { color: #fff; font-size: 16px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 12px; }
.fuss ul { list-style: none; padding: 0; margin: 0; }
.fuss li { padding: 4px 0; }
.fuss-spalte--hinweis p { margin: 0 0 10px; line-height: 1.55; }
.fuss-unten { border-top: 1px solid #3d4349; padding: 18px 0 24px; font-size: 15px; }
.fuss-unten p { margin: 0 0 6px; }
.fuss-betreiber { color: #fff; }
.fuss-bilder { color: #c9c5bd; font-size: 14px; }
.fuss-bilder a { color: #e9e6df; }
.zollstock--fuss { border-top: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.schwerpunkt { grid-template-columns: 1fr 1.3fr; }
	.schwerpunkt-anzeige { grid-column: 1 / -1; max-width: 520px; }
	.rubrik-raster { grid-template-columns: repeat(2, 1fr); }
	.artikel-raster { grid-template-columns: minmax(0, 1fr) 280px; gap: 32px; }
}
@media (max-width: 900px) {
	.kopf-leiste { flex-wrap: wrap; gap: 12px 16px; }
	.kopf-suche { order: 3; width: 100%; }
	.home .kopf-suche { display: none; }
	.menue-knopf { display: inline-flex; align-items: center; gap: 8px; font: 600 16px var(--f-head); color: var(--text); background: var(--surface); border: 2px solid var(--text); border-radius: var(--radius); padding: 8px 12px; cursor: pointer; }
	.menue-striche, .menue-striche::before, .menue-striche::after { display: block; width: 18px; height: 2px; background: var(--text); position: relative; }
	.menue-striche::before, .menue-striche::after { content: ""; position: absolute; left: 0; }
	.menue-striche::before { top: -6px; }
	.menue-striche::after { top: 6px; }
	.hauptnav { display: none; }
	.hauptnav.offen { display: block; }
	.nav-liste { flex-direction: column; gap: 0; padding-top: 6px; padding-bottom: 14px; }
	.nav-punkt { border-bottom: 1px solid #ece8df; }
	.nav-rubrik, .nav-punkt:first-child .nav-rubrik { padding: 12px 0; width: 100%; justify-content: space-between; margin: 0; border-bottom: 0; }
	.nav-rubrik svg { display: none; }
	.nav-punkt > a { padding: 12px 0; margin: 0; border: 0; }
	.nav-punkt--extra { margin-left: 0; }
	.mega, .hat-mega:hover .mega { display: block; position: static; box-shadow: none; border: 0; }
	.mega-innen { display: block; padding: 0 0 10px; }
	.mega-kopf { display: none; }
	.mega-links { grid-template-columns: 1fr; gap: 0; }
	.mega-links a { font-weight: 400; padding: 7px 0 7px 22px; border-bottom: 0; }
	.artikel-raster { grid-template-columns: 1fr; }
	.karten-reihe, .check-reihe { grid-template-columns: 1fr; }
	.begriffe { grid-template-columns: 1fr 1fr; }
	.fuss-spalten { grid-template-columns: 1fr 1fr; }
	.ueber-band-innen { grid-template-columns: auto 1fr; }
	.ueber-band-innen .knopf { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 640px) {
	body { font-size: 17px; }
	.wrap { padding: 0 16px; }
	.ps-disclaimer { padding: 9px 16px; font-size: 14px; }
	.logo-text { font-size: 21px; }
	.logo-text small { font-size: 13px; }
	.logo-zeichen { width: 34px; height: 34px; }
	.held { padding: 34px 0 34px; }
	.held-titel { font-size: 36px; }
	.held-unter { font-size: 18px; }
	.held-suche button span { display: none; }
	.held-suche input { font-size: 17px; padding: 12px; }
	.held-suche input::placeholder { font-size: 16px; }
	.schnell { grid-template-columns: 1fr 1fr; gap: 10px; }
	.schnell a { padding: 14px 8px; }
	.sektion { padding-top: 40px; padding-bottom: 40px; }
	.sektion-titel { font-size: 27px; }
	.rubrik-raster { grid-template-columns: 1fr; }
	.schwerpunkt { grid-template-columns: 1fr; gap: 22px; }
	.schwerpunkt-bild img { aspect-ratio: 16 / 10; }
	.begriffe { grid-template-columns: 1fr; }
	.artikel { padding: 22px 16px 28px; margin: 0 -16px; border-left: 0; border-right: 0; border-radius: 0; }
	.artikel-titel { font-size: 30px; }
	.entry-content { font-size: 17px; }
	.entry-content h2 { font-size: 24px; }
	.entry-content h3 { font-size: 20px; }
	.fuss-spalten { grid-template-columns: 1fr; gap: 22px; }
	.ueber-band-innen { grid-template-columns: 1fr; text-align: left; }
}

/* ---------- Druck (Checklisten) ---------- */
@media print {
	body { background: #fff; font-size: 12pt; }
	.hauptnav, .menue-knopf, .kopf-suche, .seitenleiste, .zollstock, .fuss-spalten, .druck-zeile, .brotkrumen, .anzeige-box, .inhaltsverzeichnis { display: none !important; }
	.kopf { border-bottom: 2px solid #000; }
	.artikel { border: 0; padding: 0; }
	.artikel-raster { display: block; }
	.entry-content .checkliste-karte { box-shadow: none; page-break-inside: avoid; }
	.fuss { background: #fff; color: #000; }
	.fuss-betreiber { color: #000; }
}
