/*
Theme Name: Förderungsgesellschaft BDS
Description: Block-Theme für foerder-bds.de nach Entwurf 2 aus Claude Design (Punkt, Linie, Fläche). Scaffolded by Studio Code.
Requires at least: 6.7
Tested up to: 6.9
Requires PHP: 7.2
Version: 0.3.3
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: foerder-bds
Tags: full-site-editing, block-patterns, block-styles, wide-blocks, accessibility-ready
*/

/* WordPress setzt zwischen Kopf, main und Fuß einen Blockabstand; die Bänder bestimmen den Rhythmus selbst. */
.wp-site-blocks > * + * {
	margin-block-start: 0;
}
.wp-site-blocks main {
	padding-block: var(--wp--preset--spacing--abstand-7) var(--wp--preset--spacing--abstand-8);
}
.wp-site-blocks main.is-flush {
	padding-block: 0;
}

/* === Symbole === */
:root {
	--marke: var(--wp--preset--color--marke);
	--fokus: 3px solid var(--wp--preset--color--schwarz);
	--i-pfeil-s: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%231a1a1a' stroke-width='2'%3E%3Cpath d='M3 10h13M11 5l5 5-5 5'/%3E%3C/svg%3E");
	--i-pfeil-w: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23ffffff' stroke-width='2'%3E%3Cpath d='M3 10h13M11 5l5 5-5 5'/%3E%3C/svg%3E");
	--i-extern-s: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%231a1a1a' stroke-width='2'%3E%3Cpath d='M11.5 3H17v5.5M17 3l-7.5 7.5M14.5 11.5V17H3V5.5h5.5'/%3E%3C/svg%3E");
	--i-extern-w: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23ffffff' stroke-width='2'%3E%3Cpath d='M11.5 3H17v5.5M17 3l-7.5 7.5M14.5 11.5V17H3V5.5h5.5'/%3E%3C/svg%3E");
	--i-extern-g: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23005f53' stroke-width='2'%3E%3Cpath d='M11.5 3H17v5.5M17 3l-7.5 7.5M14.5 11.5V17H3V5.5h5.5'/%3E%3C/svg%3E");
	--i-extern-grau: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%235f6062' stroke-width='2'%3E%3Cpath d='M11.5 3H17v5.5M17 3l-7.5 7.5M14.5 11.5V17H3V5.5h5.5'/%3E%3C/svg%3E");
	--i-datei-g: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23005f53' stroke-width='2'%3E%3Cpath d='M5 2.5h6.5l3.5 3.5v11.5H5z M11.5 2.5V6H15'/%3E%3C/svg%3E");
	--i-unten-s: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%231a1a1a' stroke-width='2'%3E%3Cpath d='M10 3v13M5 11l5 5 5-5'/%3E%3C/svg%3E");
	--i-winkel-s: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%231a1a1a' stroke-width='2'%3E%3Cpath d='M5 7.5l5 5 5-5'/%3E%3C/svg%3E");
	--i-telefon-s: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%231a1a1a' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M5 2.5h3.2l1.4 3.9-2 1.3a9.5 9.5 0 0 0 4.7 4.7l1.3-2 3.9 1.4V15a2 2 0 0 1-2.1 2C9.3 16.6 3.4 10.7 3 4.6A2 2 0 0 1 5 2.5z'/%3E%3C/svg%3E");
	--i-telefon-g: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23005f53' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M5 2.5h3.2l1.4 3.9-2 1.3a9.5 9.5 0 0 0 4.7 4.7l1.3-2 3.9 1.4V15a2 2 0 0 1-2.1 2C9.3 16.6 3.4 10.7 3 4.6A2 2 0 0 1 5 2.5z'/%3E%3C/svg%3E");
	--i-info-w: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23ffffff' stroke-width='2'%3E%3Cpath d='M2.5 10a7.5 7.5 0 1 0 15 0a7.5 7.5 0 1 0 -15 0z M10 9v5M10 6v1'/%3E%3C/svg%3E");
	--i-warnung-w: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M10 2.8l7.8 14H2.2z M10 8v4.5M10 14.3v.7'/%3E%3C/svg%3E");
	--m-pfeil-16: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M3 10h13M11 5l5 5-5 5'/%3E%3C/svg%3E");
	--m-unten-16: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M10 3v13M5 11l5 5 5-5'/%3E%3C/svg%3E");
	--m-extern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M11.5 3H17v5.5M17 3l-7.5 7.5M14.5 11.5V17H3V5.5h5.5'/%3E%3C/svg%3E");
	--m-warnung: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='black' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M10 2.8l7.8 14H2.2z M10 8v4.5M10 14.3v.7'/%3E%3C/svg%3E");
	--m-menue: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M3 5h14M3 10h14M3 15h14'/%3E%3C/svg%3E");
	--m-kreuz: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M4.5 4.5l11 11M15.5 4.5l-11 11'/%3E%3C/svg%3E");
}

/* === Grundlagen === */
body {
	text-wrap: pretty;
	overflow-x: clip;
}
@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}
}
[id] {
	scroll-margin-top: 24px;
}
/* „Nach oben“ und der Sprunglink landen bündig am Beginn des Inhalts, ohne Streifen vom Kopf. */
#wp--skip-link--target {
	scroll-margin-top: 0;
}
:where(summary, [tabindex], input, select, textarea, button):focus-visible {
	outline: var(--fokus);
	outline-offset: 3px;
}
:where(.is-style-band-tief, .fuss) :focus-visible {
	outline-color: var(--wp--preset--color--weiss) !important;
}
:where(.wp-site-blocks) :is(p, li, dd) a:not([class]) {
	color: var(--wp--preset--color--gruen-600);
}
/* Telefonnummern bleiben auf einer Zeile, auch im Fließtext. */
:where(.wp-site-blocks) a[href^="tel:"] {
	white-space: nowrap;
}
.platzhalter {
	padding: 0 4px;
	border: 1px dashed var(--wp--preset--color--grau-600);
	background: var(--wp--preset--color--grau-50);
	color: var(--wp--preset--color--grau-700);
	font-size: 0.875em;
	font-weight: 400;
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
}
.zusatz {
	font-weight: 400;
}
.ikone {
	flex: none;
}
@keyframes ankerziel {
	0% { box-shadow: inset 0 0 0 8px var(--marke); }
	100% { box-shadow: inset 0 0 0 8px rgba(0, 157, 138, 0); }
}
@media (prefers-reduced-motion: no-preference) {
	.is-style-band-tief:target,
	.schritt:target .schritt__karte {
		animation: ankerziel 2.2s ease-out;
	}
}

/* === Überschriften: Punkt und Linie === */
:where(main) h1.wp-block-heading,
.wp-block-post-title {
	margin: 0;
	max-width: 16em;
	/* Nur an weichen Trennstellen im Text trennen (Unternehmens-beratungen); die Automatik trennt mitten in der Silbe. */
	hyphens: manual;
	-webkit-hyphens: manual;
	overflow-wrap: break-word;
	text-wrap: balance;
}
/* Quadrat am Ende der H1, Linie bis zum Seitenrand; das Band schneidet sie ab. */
:where(main, .is-root-container) h1.wp-block-heading::after,
.wp-block-post-title:not(.editor-post-title)::after {
	content: "";
	margin-left: 0.1em;
	padding-left: 0.24em;
	padding-right: 100vw;
	margin-right: -100vw;
	background:
		linear-gradient(var(--marke), var(--marke)) 0 calc(100% - 0.21em) / 0.24em 0.24em no-repeat,
		linear-gradient(var(--marke), var(--marke)) 0 calc(100% - 0.21em) / 100% max(3px, 0.075em) no-repeat;
}
/* Ohne Umbruch der Flex-Zeile: Das Quadrat bleibt bei der ersten Zeile, weitere Zeilen stehen eingerückt darunter. */
:is(main, .is-root-container) h2.wp-block-heading,
.dokumentgruppe__titel {
	display: flex;
	flex-wrap: nowrap;
	align-items: baseline;
	gap: 4px 0.42em;
}
:is(main, .is-root-container) h2.wp-block-heading::before,
.dokumentgruppe__titel::before {
	content: "";
	flex: none;
	width: 0.34em;
	height: 0.34em;
	background: var(--marke);
}
.is-style-hilfeblock h2.wp-block-heading::before {
	background: var(--wp--preset--color--gruen-900);
}
:is(main, .is-root-container) :is(.is-style-karte, .is-style-karte-primaer, .is-style-neutral) h2.wp-block-heading {
	display: block;
}
:is(main, .is-root-container) :is(.is-style-karte, .is-style-karte-primaer, .is-style-neutral) h2.wp-block-heading::before {
	content: none;
}

/* === Seitenrhythmus: Bänder liegen direkt aneinander === */
body :is(.wp-block-post-content, .seiteninhalt, .is-root-container) > * {
	margin-block-start: 0;
}
:is(.is-style-band, .is-style-band-grau, .is-style-band-tief, .is-style-hilfeblock) {
	padding-top: var(--wp--custom--abstand--band-oben);
	padding-bottom: var(--wp--custom--abstand--band-unten);
	overflow-x: clip;
}
.is-style-band {
	background: var(--wp--preset--color--weiss);
}
.is-style-band-grau {
	background: var(--wp--preset--color--grau-100);
}
.is-style-band-tief {
	background: var(--wp--preset--color--gruen-900);
	color: var(--wp--preset--color--weiss);
}
.is-style-hilfeblock {
	background: var(--marke);
	color: var(--wp--preset--color--schwarz);
}
.is-style-band.band-linie {
	border-top: 1px solid var(--wp--preset--color--grau-300);
}
/* Start: Band „Was möchten Sie tun?“ knapper als im Entwurf, damit die Wege am Rechner im ersten Bildschirm anschneiden (Wunsch Ilja). */
.is-style-band-grau.band-start {
	padding-top: clamp(16px, 2.5vw, 40px);
}
body .band-start .band-inhalt > h2.wp-block-heading + .wp-block-foerder-zustand {
	margin-block-start: clamp(8px, 1.6vw, 24px);
}
body .band-inhalt > h2.wp-block-heading + * {
	margin-block-start: var(--wp--custom--abstand--titel-inhalt);
}
body .band-inhalt > * + * {
	margin-block-start: 16px;
}
.band-inhalt > p {
	max-width: 46rem;
}
body .wp-block-group p + p {
	margin-block-start: 10px;
}

/* === Seitenkopf === */
.is-style-seitenkopf {
	position: relative;
	overflow-x: clip;
	background: var(--wp--preset--color--weiss);
	padding-top: var(--wp--custom--abstand--kopf-oben);
	padding-bottom: var(--wp--custom--abstand--kopf-unten);
}
.is-style-seitenkopf:has(> :nth-child(2)) {
	padding-bottom: var(--wp--custom--abstand--sprung-unten);
}
body .is-style-seitenkopf > * + * {
	margin-block-start: var(--wp--custom--abstand--kopf-unten);
}
.is-style-seitenkopf.rechtsseite {
	padding-bottom: var(--wp--custom--abstand--band-oben);
}
body .hilfe-text > p.leitsatz-offen {
	font-size: var(--wp--preset--font-size--text);
	font-weight: 400;
}
.is-style-seitenkopf.start-kopf {
	padding-top: var(--wp--custom--abstand--start-oben);
	padding-bottom: var(--wp--custom--abstand--start-unten);
}
.start-kopf::before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	right: 0;
	left: calc(50% + 250px);
	background: var(--marke);
}
body .kopf-spalten {
	position: relative;
	gap: 32px 56px;
	align-items: center;
}
.kopf-text {
	flex: 7 1 30rem;
	min-width: 0;
}
body .kopf-text > * {
	margin: 0;
}
body .kopf-text > h1 + * {
	margin-block-start: clamp(12px, 1.8vw, 24px);
}
body .kopf-text > * + p:not(.is-style-einleitung) {
	margin-block-start: 12px;
	max-width: 42em;
}
/* Einleitung und Folgeabsatz sind seit Variante D gleich kräftig; der Abstand trennt sie. */
body .kopf-text > .is-style-einleitung + p:not(.is-style-hilfesatz) {
	margin-block-start: clamp(16px, 2vw, 24px);
}
/* Kontakt: Telefonknöpfe im Seitenkopf unter der Einleitung, untereinander wie im Hilfeblock. */
body .kopf-text > .kopf-knoepfe {
	margin-block-start: clamp(20px, 2.4vw, 32px);
	max-width: 30rem;
	gap: 10px;
}
.kopf-spalten > :is(.wp-block-image, .piktogramm--grafik) {
	flex: 5 1 20rem;
	min-width: 0;
	position: relative;
	z-index: 2;
}
body .is-style-einleitung {
	max-width: 34em;
	font-size: var(--wp--preset--font-size--einleitung);
	line-height: 1.5;
	font-weight: 400;
	/* Gleich lange Zeilen statt einer vollen ersten Zeile, auf jeder Breite. */
	text-wrap: balance;
}
@media (max-width: 599px) {
	body .is-style-einleitung {
		font-size: 1rem;
	}
}
body .is-style-hilfesatz {
	position: relative;
	min-height: clamp(28px, 4vw, 40px);
	display: flow-root;
	align-content: center;
	padding-left: calc(clamp(28px, 4vw, 40px) + clamp(8px, 1.2vw, 12px));
	font-size: clamp(0.9375rem, 0.9rem + 0.15vw, 1rem);
	line-height: 1.45;
	font-weight: 700;
}
body .kopf-text > .is-style-hilfesatz {
	margin-block-start: clamp(12px, 2vw, 28px);
}
.is-style-hilfesatz::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	transform: translateY(-50%);
	width: clamp(28px, 4vw, 40px);
	height: clamp(28px, 4vw, 40px);
	background: var(--wp--preset--color--gruen-100) var(--i-telefon-g) center / 20px no-repeat;
}
.is-style-hilfesatz a {
	white-space: nowrap;
}
@media (max-width: 59.99em) {
	.kopf-spalten > :is(.wp-block-image, .piktogramm--grafik),
	.start-kopf::before {
		display: none;
	}
}
/* Start: Foto schmaler und flacher als im Entwurf, damit die Wege am Rechner früher kommen (Wunsch Ilja). */
@media (min-width: 60em) {
	.start-kopf .kopf-spalten > .wp-block-image {
		flex: 4 1 18rem;
	}
	.start-kopf .wp-block-image.is-style-foto img {
		aspect-ratio: 3 / 2;
	}
}

/* === Bilder === */
.wp-block-image:is(.is-style-kopfbild, .is-style-foto, .is-style-branchenbild) {
	position: relative;
	margin: 0;
}
.wp-block-image:is(.is-style-kopfbild, .is-style-foto, .is-style-branchenbild) img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}
.wp-block-image.is-style-kopfbild {
	margin: 0 16px 16px 0;
}
.wp-block-image.is-style-kopfbild img {
	box-shadow: 16px 16px 0 0 var(--marke);
}
.wp-block-image:is(.is-style-kopfbild, .is-style-foto, .is-style-branchenbild)::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: var(--wp--custom--abstand--stempel);
	height: var(--wp--custom--abstand--stempel);
	background: var(--wp--preset--color--gruen-900);
}
.wp-block-image.is-style-branchenbild::after {
	width: var(--wp--custom--abstand--stempel-klein);
	height: var(--wp--custom--abstand--stempel-klein);
	background: var(--marke);
}
@media (max-width: 599px) {
	.wp-block-image.is-style-branchenbild img {
		aspect-ratio: 1 / 1;
	}
}
.ist-entwurfsbild::before {
	content: "Entwurfsbild";
	position: absolute;
	top: 10px;
	left: 10px;
	z-index: 3;
	padding: 3px 8px;
	background: var(--wp--preset--color--schwarz);
	color: var(--wp--preset--color--weiss);
	font-size: var(--wp--preset--font-size--klein-12);
	font-weight: 700;
	line-height: 1.4;
}
body .branchen {
	margin-block-start: clamp(24px, 4vw, 56px);
	gap: clamp(8px, 1.6vw, 24px);
}

/* === Piktogramme === */
.piktogramm {
	display: flex;
	align-items: center;
	justify-content: center;
}
.piktogramm--kasten {
	flex: none;
	width: 56px;
	height: 56px;
	background: var(--wp--preset--color--gruen-100);
	color: var(--wp--preset--color--gruen-700);
}
.piktogramm--grafik {
	position: relative;
	aspect-ratio: 4 / 3;
	background: var(--marke);
	color: var(--wp--preset--color--weiss);
}
.piktogramm--grafik .piktogramm__svg {
	width: 192px;
	height: 192px;
}
.piktogramm--grafik::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: var(--wp--custom--abstand--stempel);
	height: var(--wp--custom--abstand--stempel);
	background: var(--wp--preset--color--gruen-900);
}

/* === Statusmeldung === */
.statusmeldung {
	background: var(--wp--preset--color--gruen-100);
}
.statusmeldung--b {
	background: var(--wp--preset--color--ocker-50);
}
.statusmeldung__rahmen {
	box-sizing: border-box;
	max-width: 1296px;
	margin: 0 auto;
	padding: var(--wp--custom--abstand--status-innen) var(--wp--custom--abstand--seitenrand);
	display: flex;
	flex-wrap: wrap;
	gap: 6px clamp(16px, 3vw, 48px);
}
.statusmeldung__label {
	margin: 0;
	flex: 0 0 14rem;
	align-self: flex-start;
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: var(--wp--preset--font-size--klein-13);
	line-height: 1.3;
	font-weight: 700;
	color: var(--wp--preset--color--gruen-700);
}
.statusmeldung--b .statusmeldung__label {
	color: var(--wp--preset--color--ocker-800);
}
.statusmeldung__quadrat {
	flex: none;
	width: clamp(24px, 4vw, 44px);
	height: clamp(24px, 4vw, 44px);
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--marke);
	color: var(--wp--preset--color--weiss);
}
.statusmeldung--b .statusmeldung__quadrat {
	background: var(--wp--preset--color--ocker-600);
}
.statusmeldung__inhalt {
	flex: 1 1 28rem;
	min-width: 0;
	max-width: 52rem;
}
.statusmeldung__titel {
	margin: 0;
	font-size: clamp(1rem, 0.85rem + 0.6vw, 1.375rem);
	line-height: 1.25;
}
.statusmeldung__text {
	margin: 4px 0 0;
	font-size: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
	line-height: 1.45;
}
.statusmeldung a.statusmeldung__link {
	font-weight: 700;
	color: var(--wp--preset--color--gruen-700);
}
.statusmeldung__ende {
	white-space: nowrap;
}
/* Abstand zum Pfeil als Rand statt Leerzeichen, damit die Unterstreichung beim Wort endet. */
.statusmeldung__ende .ikone {
	margin-left: 0.3em;
	vertical-align: -3px;
}
.statusmeldung .platzhalter {
	background: var(--wp--preset--color--weiss);
}
.statusmeldung--kompakt .statusmeldung__rahmen {
	padding-block: 10px;
	align-items: center;
	gap: 4px 16px;
	font-size: var(--wp--preset--font-size--klein-14);
	line-height: 1.45;
}
.statusmeldung--kompakt .statusmeldung__label {
	flex: none;
	align-self: auto;
	gap: 10px;
}
.statusmeldung--kompakt .statusmeldung__quadrat {
	width: 32px;
	height: 32px;
}
.statusmeldung--kompakt .statusmeldung__titel {
	font-size: var(--wp--preset--font-size--klein-15);
	line-height: 1.45;
}
.statusmeldung--kompakt .statusmeldung__link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 36px;
}

/* === Wegekarten: versetzte Fläche, Pfeilknopf === */
body .is-style-kartenraster {
	gap: var(--wp--custom--abstand--karten-abstand);
}
body .band-inhalt > h2.wp-block-heading + .is-style-kartenraster,
body .band-inhalt > h2.wp-block-heading + .wp-block-foerder-zustand {
	margin-block-start: clamp(8px, 2.4vw, 32px);
}
body :is(.is-style-karte, .is-style-karte-primaer) {
	position: relative;
	margin: 10px 0 0 10px;
	gap: 10px;
	padding: var(--wp--custom--abstand--karte-innen);
	background: var(--wp--preset--color--weiss);
	color: var(--wp--preset--color--schwarz);
	box-shadow: -10px -10px 0 0 var(--wp--preset--color--gruen-200);
}
body .is-style-karte-primaer {
	background: var(--wp--preset--color--gruen-700);
	color: var(--wp--preset--color--weiss);
	box-shadow: -10px -10px 0 0 var(--marke);
}
@media (prefers-reduced-motion: no-preference) {
	:is(.is-style-karte, .is-style-karte-primaer) {
		transition: transform 0.18s ease, box-shadow 0.18s ease;
	}
	:is(.is-style-karte, .is-style-karte-primaer):hover {
		transform: translate(4px, 4px);
		box-shadow: -14px -14px 0 0 var(--marke);
	}
}
.is-style-karte:hover {
	box-shadow: -10px -10px 0 0 var(--marke);
}
.is-style-karte-primaer:hover {
	background: var(--wp--preset--color--gruen-800);
}
body :is(.is-style-karte, .is-style-karte-primaer) > * {
	margin: 0;
}
:is(.is-style-karte, .is-style-karte-primaer) :is(h2, h3) {
	color: inherit;
	margin-top: 6px !important;
	font-size: var(--wp--preset--font-size--kartentitel);
	line-height: 1.3;
}
:is(.is-style-karte, .is-style-karte-primaer) :is(h2, h3) a {
	color: inherit;
	text-decoration: none;
}
:is(.is-style-karte, .is-style-karte-primaer):hover :is(h2, h3) a {
	text-decoration: underline;
	text-underline-offset: 4px;
}
:is(.is-style-karte, .is-style-karte-primaer) :is(h2, h3) a::after {
	content: "";
	position: absolute;
	inset: 0;
}
:is(.is-style-karte, .is-style-karte-primaer) :is(h2, h3) a:focus-visible {
	outline: none;
}
:is(.is-style-karte, .is-style-karte-primaer) :is(h2, h3) a:focus-visible::after {
	outline: var(--fokus);
	outline-offset: 3px;
}
:is(.is-style-karte, .is-style-karte-primaer) .zusatz {
	display: block;
	margin-top: 2px;
	font-size: var(--wp--preset--font-size--klein-13);
	color: var(--wp--preset--color--grau-700);
}
:is(.is-style-karte, .is-style-karte-primaer) p {
	font-size: var(--wp--preset--font-size--klein-15);
	line-height: 1.55;
}
.is-style-karte-primaer .piktogramm--kasten {
	background: var(--wp--preset--color--weiss);
}
:is(.is-style-karte, .is-style-karte-primaer)::after {
	content: "";
	flex: none;
	align-self: flex-end;
	margin-top: auto;
	width: 44px;
	height: 44px;
	background: var(--marke) var(--i-pfeil-s) center / 20px no-repeat;
}
.is-style-karte:has(:is(h2, h3) a[href^="http"])::after {
	background-image: var(--i-extern-s);
}
:is(.is-style-karte, .is-style-karte-primaer):hover::after {
	background-color: var(--wp--preset--color--schwarz);
	background-image: var(--i-pfeil-w);
}
.is-style-karte:hover:has(:is(h2, h3) a[href^="http"])::after {
	background-image: var(--i-extern-w);
}
body :is(.karte--ohne-ziel, .is-style-karte:not(:has(:is(h2, h3) a))) {
	background: #f7f8f8;
	border: 1px dashed var(--wp--preset--color--grau-600);
	box-shadow: none;
	transform: none;
}
.is-style-karte:not(:has(:is(h2, h3) a)) .piktogramm--kasten {
	background: #e4e8e9;
	color: var(--wp--preset--color--grau-700);
}
.is-style-karte:not(:has(:is(h2, h3) a))::after {
	display: none;
}
:is(.karte--ohne-ziel, .is-style-karte) .platzhalter {
	background: var(--wp--preset--color--weiss);
}

/* === Sprungliste und Gruppen als Kacheln === */
.is-style-sprungliste > p,
.dokumente__label {
	margin: 0 0 10px;
	font-size: var(--wp--preset--font-size--klein-14);
	font-weight: 700;
	color: var(--wp--preset--color--grau-700);
}
body :is(.is-style-sprungliste ul, .kacheln) {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 21rem), 1fr));
	gap: 8px;
}
:is(.is-style-sprungliste, .dokumente--navigation) li {
	display: flex;
	margin: 0;
}
:is(.is-style-sprungliste, .dokumente--navigation) li a {
	flex: 1;
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 52px;
	padding: 8px 14px 8px 8px;
	background: var(--wp--preset--color--weiss);
	border: 1px solid var(--wp--preset--color--grau-400);
	color: var(--wp--preset--color--schwarz);
	text-decoration: none;
	font-weight: 700;
	font-size: var(--wp--preset--font-size--klein-15);
	line-height: 1.3;
}
:is(.is-style-sprungliste, .dokumente--navigation) li a::before {
	content: "";
	flex: none;
	width: 32px;
	height: 32px;
	background: var(--marke) var(--i-unten-s) center / 20px no-repeat;
}
:is(.is-style-sprungliste, .dokumente--navigation) li a:hover {
	border-color: var(--wp--preset--color--gruen-600);
	background: var(--wp--preset--color--gruen-50);
}
.kachel__name {
	flex: 1;
}
.kachel__anzahl {
	font-weight: 400;
	color: var(--wp--preset--color--grau-700);
}
body .dokumente--navigation {
	margin-block-start: 16px;
}
body .auswahl-links {
	margin-block-start: 14px;
	display: flex;
	flex-wrap: wrap;
	gap: 4px 28px;
	font-size: var(--wp--preset--font-size--klein-15);
}
.auswahl-links a {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
}

/* === Steckbrief, Regionen, Kennzahlen === */
body .blick-spalten {
	gap: 24px clamp(24px, 3vw, 40px);
	align-items: flex-start;
}
.blick-spalten > .wp-block-foerder-steckbrief {
	flex: 3 1 32rem;
	min-width: 0;
}
.blick-spalten > .region-spalte {
	flex: 2 1 20rem;
	min-width: 0;
}
.steckbrief {
	margin: 0;
	background: var(--wp--preset--color--weiss);
	padding: 6px clamp(16px, 2.4vw, 32px);
}
.steckbrief__zeile {
	display: flex;
	flex-wrap: wrap;
	gap: 2px 24px;
	padding: 14px 0;
	border-bottom: 1px solid var(--wp--preset--color--grau-300);
}
.steckbrief__zeile:last-child {
	border-bottom: 0;
}
.steckbrief__begriff {
	flex: 1 1 11rem;
	max-width: 15rem;
	font-weight: 700;
	font-size: var(--wp--preset--font-size--klein-15);
}
.steckbrief__wert {
	flex: 999 1 18rem;
	margin: 0;
	min-width: 0;
}
body .steckbrief__wert > * {
	margin: 0;
}
body .steckbrief__wert > * + * {
	margin-block-start: 4px;
}
.steckbrief__wert a[href^="http"] {
	display: inline-flex;
	align-items: flex-start;
	gap: 6px;
	font-size: var(--wp--preset--font-size--klein-15);
}
.steckbrief__wert a[href^="http"]::before,
.is-style-weiterlink a[href^="http"]::before {
	content: "";
	flex: none;
	width: 16px;
	height: 16px;
	margin-top: 4px;
	background: currentColor;
	-webkit-mask: var(--m-extern) center / contain no-repeat;
	mask: var(--m-extern) center / contain no-repeat;
}
.is-style-liste.steckbrief {
	background: none;
	padding: 0;
	border-top: 2px solid var(--wp--preset--color--schwarz);
}
.is-style-liste .steckbrief__zeile:last-child {
	border-bottom: 1px solid var(--wp--preset--color--grau-300);
}
.is-style-kennzahlen.steckbrief {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	max-width: 62rem;
	background: none;
	padding: 0;
}
.is-style-kennzahlen .steckbrief__zeile {
	flex: 1 1 11rem;
	flex-direction: column;
	flex-wrap: nowrap;
	gap: 0;
	padding: clamp(16px, 2vw, 24px);
	background: var(--wp--preset--color--weiss);
	border: 0;
	border-top: 6px solid var(--marke);
	container-type: inline-size;
}
.is-style-kennzahlen .steckbrief__begriff {
	flex: none;
	max-width: none;
	font-size: var(--wp--preset--font-size--klein-14);
	color: var(--wp--preset--color--grau-700);
}
.is-style-kennzahlen .steckbrief__wert {
	flex: none;
	margin-top: 4px;
}
/* Die Zahl wächst höchstens bis zur Kachelbreite, damit „40 Stunden“ auf einer Zeile bleibt; alle Kacheln gleich breit, also gleich groß. */
.is-style-kennzahlen .steckbrief__wert strong {
	display: block;
	font-size: min(var(--wp--preset--font-size--kennzahl), 15cqi);
	line-height: 1.05;
	letter-spacing: -0.02em;
	color: var(--marke);
}
.is-style-erreichbarkeit.steckbrief {
	max-width: 62rem;
	padding: clamp(16px, 3vw, 32px);
}
.is-style-erreichbarkeit .steckbrief__zeile {
	gap: 6px 24px;
	padding: 16px 0;
}
.is-style-erreichbarkeit .steckbrief__zeile:first-child {
	padding-top: 0;
	padding-bottom: 18px;
	gap: 8px 24px;
}
.is-style-erreichbarkeit .steckbrief__zeile:last-child {
	padding-bottom: 0;
}
.is-style-erreichbarkeit .steckbrief__begriff {
	flex: 1 1 9rem;
	max-width: 12rem;
	font-size: var(--wp--preset--font-size--text);
}
.is-style-erreichbarkeit .steckbrief__zeile:has(.kontaktknopf) .steckbrief__begriff {
	padding-top: 16px;
}
.is-style-erreichbarkeit .steckbrief__wert {
	flex: 999 1 18rem;
}
body .is-style-erreichbarkeit .steckbrief__wert:has(.kontaktknopf) {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}
body .is-style-erreichbarkeit .steckbrief__wert .kontaktknopf {
	flex: 1 1 14rem;
	margin: 0;
}
.is-style-erreichbarkeit .kontaktangabe--link a {
	font-weight: 700;
	font-size: 1.125rem;
}
body .region-spalte > * {
	margin: 0;
}
body .region-spalte > * + * {
	margin-block-start: 16px;
}
body .region-spalte > h3 + * {
	margin-block-start: 12px;
}
body .region-spalte > .wp-block-foerder-dokumentliste {
	margin-block-start: 6px;
}
body .is-style-regionen {
	gap: 12px;
}
body .is-style-region {
	background: var(--wp--preset--color--weiss);
	padding: clamp(16px, 2vw, 24px);
}
body .is-style-region > * {
	margin: 0;
}
body .is-style-region > * + * {
	margin-block-start: 10px;
}
body .is-style-grosse-zahl {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 2px 14px;
	font-size: var(--wp--preset--font-size--klein-15);
	font-weight: 700;
}
.is-style-grosse-zahl strong {
	font-size: var(--wp--preset--font-size--grosse-zahl);
	line-height: 1;
	letter-spacing: -0.02em;
	color: var(--marke);
}

/* === Hilfezeile === */
body .is-style-hilfezeile {
	margin-block-start: clamp(24px, 3vw, 40px);
	gap: 10px 20px;
	padding: 14px clamp(14px, 2vw, 24px);
	background: var(--wp--preset--color--weiss);
	border-top: 4px solid var(--marke);
}
.is-style-hilfezeile::before {
	content: "";
	flex: none;
	width: 44px;
	height: 44px;
	background: var(--marke) var(--i-telefon-s) center / 20px no-repeat;
}
.is-style-hilfezeile > p:not(.kontaktangabe) {
	margin: 0;
	flex: 1 1 16rem;
	font-weight: 700;
}
.is-style-hilfezeile .kontaktangabe a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	font-weight: 700;
	font-size: 1.125rem;
	white-space: nowrap;
}

/* === Schrittfolge === */
.schrittfolge {
	list-style: none;
	margin: clamp(20px, 3vw, 40px) 0 0;
	padding: 0;
	max-width: 58rem;
	counter-reset: schritt;
}
.schritt {
	position: relative;
	display: grid;
	grid-template-columns: var(--wp--custom--abstand--schritt-spalte) minmax(0, 1fr);
	gap: 0 var(--wp--custom--abstand--schritt-luecke);
	margin: 0;
	padding-bottom: var(--wp--custom--abstand--schritt-abstand);
	counter-increment: schritt;
}
.schritt::before {
	content: counter(schritt);
	grid-column: 1;
	width: var(--wp--custom--abstand--schritt-spalte);
	height: var(--wp--custom--abstand--schritt-spalte);
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--marke);
	color: var(--wp--preset--color--schwarz);
	font-weight: 700;
	font-size: clamp(1.25rem, 1rem + 0.8vw, 1.625rem);
	line-height: 1;
}
.schritt::after {
	content: "";
	position: absolute;
	left: calc(var(--wp--custom--abstand--schritt-spalte) / 2 - 2px);
	top: var(--wp--custom--abstand--schritt-spalte);
	bottom: 0;
	width: 4px;
	background: var(--marke);
}
.schritt:last-child {
	padding-bottom: 0;
}
.schritt:last-child::after {
	display: none;
}
.schritt__karte {
	position: relative;
	grid-column: 2;
	min-width: 0;
	border: 1px solid var(--wp--preset--color--grau-400);
	padding: var(--wp--custom--abstand--kasten-innen);
}
/* Piktogramm oben rechts im Textfluss: Titel und erste Zeilen laufen links daran vorbei statt darunter. */
.schritt__piktogramm {
	float: right;
	width: 56px;
	height: 56px;
	background: var(--wp--preset--color--gruen-100);
	color: var(--wp--preset--color--gruen-700);
}
body .schritt__karte > * {
	margin: 0;
}
body .schritt__karte > .schritt__piktogramm {
	margin: 0 0 12px 16px;
}
body .schritt__karte > :is(.wp-block-group, .wp-block-buttons) {
	clear: right;
}
body .schritt__karte > p {
	max-width: 46rem;
}
body .schritt__karte > * + * {
	margin-block-start: 16px;
}
body .schritt__karte > h3 {
	padding-top: 4px;
	font-size: var(--wp--preset--font-size--unterabschnitt);
}
body .schritt__karte > h3 + p {
	margin-block-start: 8px;
}
body .schritt__karte > .schritt__piktogramm + * {
	margin-block-start: 0;
}
body .is-style-kurzhinweis {
	position: relative;
	margin-block-start: 14px;
	padding-left: 30px;
	font-size: var(--wp--preset--font-size--klein-15);
	line-height: 1.45;
}
.is-style-kurzhinweis::before {
	content: "";
	position: absolute;
	left: 0;
	top: 1px;
	width: 20px;
	height: 20px;
	background: var(--wp--preset--color--ocker-600);
	-webkit-mask: var(--m-warnung) center / contain no-repeat;
	mask: var(--m-warnung) center / contain no-repeat;
}
.is-style-kurzhinweis a {
	color: var(--wp--preset--color--ocker-800) !important;
	font-weight: 700;
}
body .schrittfolge + .is-style-hinweis {
	margin-block-start: clamp(24px, 3.5vw, 44px);
	max-width: 58rem;
}

/* === Knöpfe und Weiter-Links === */
/* Text im normalen Fluss, Pfeilquadrat rechts fest: Der Knopf bricht nur zwischen Wörtern um, nie mitten im Wort. */
.wp-block-button__link {
	position: relative;
	display: inline-block;
	box-sizing: border-box;
	min-height: 52px;
	padding: 15px 56px 15px 20px !important;
	text-align: left;
	text-decoration: none;
	line-height: 1.3;
	word-break: normal;
	overflow-wrap: break-word;
}
.wp-block-button__link .zusatz {
	font-weight: 400;
}
.wp-block-button__link::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 10px;
	width: 32px;
	height: 32px;
	margin-top: -16px;
	background: var(--marke) var(--i-pfeil-s) center / 20px no-repeat;
}
@media (max-width: 37.49em) {
	.wp-block-buttons > .wp-block-button {
		width: 100%;
	}
	.wp-block-button__link {
		display: block;
		width: 100%;
	}
}
.wp-block-button__link[href^="http"]::after {
	background-image: var(--i-extern-s);
}
body .is-style-weiterlink {
	margin-block-start: 16px;
}
.is-style-weiterlink a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	font-weight: 700;
}
.is-style-weiterlink a:not([href^="http"])::after {
	content: "";
	flex: none;
	width: 16px;
	height: 16px;
	background: currentColor;
	-webkit-mask: var(--m-pfeil-16) center / contain no-repeat;
	mask: var(--m-pfeil-16) center / contain no-repeat;
}
.is-style-weiterlink a[href^="#"]::after {
	content: none;
}
.is-style-weiterlink a[href^="#"]::before {
	content: "";
	flex: none;
	width: 16px;
	height: 16px;
	background: currentColor;
	-webkit-mask: var(--m-unten-16) center / contain no-repeat;
	mask: var(--m-unten-16) center / contain no-repeat;
}
.is-style-weiterlink a[href^="http"]::before {
	margin-top: 0;
}

/* === Hinweiskästen: Quadrat mit Symbol === */
body :is(.is-style-hinweis, .is-style-wichtig, .is-style-neutral) {
	position: relative;
	padding: var(--wp--custom--abstand--kasten-innen);
	padding-left: calc(var(--wp--custom--abstand--kasten-innen) + 54px);
	min-height: calc(40px + 2 * var(--wp--custom--abstand--kasten-innen));
}
:is(.is-style-hinweis, .is-style-wichtig, .is-style-neutral)::before {
	content: "";
	position: absolute;
	top: var(--wp--custom--abstand--kasten-innen);
	left: var(--wp--custom--abstand--kasten-innen);
	width: 40px;
	height: 40px;
	background: var(--marke) var(--i-info-w) center / 20px no-repeat;
}
.is-style-hinweis {
	background: var(--wp--preset--color--gruen-100);
}
.is-style-wichtig {
	background: var(--wp--preset--color--ocker-50);
	border: 3px solid var(--wp--preset--color--ocker-600);
}
.is-style-wichtig::before {
	background-color: var(--wp--preset--color--ocker-600);
	background-image: var(--i-warnung-w);
}
.is-style-neutral {
	background: var(--wp--preset--color--weiss);
	border: 1px solid var(--wp--preset--color--grau-600);
}
.is-style-neutral::before {
	background-color: var(--wp--preset--color--grau-700);
}
body :is(.is-style-hinweis, .is-style-wichtig, .is-style-neutral) > * {
	margin-block: 0;
}
body :is(.is-style-hinweis, .is-style-wichtig, .is-style-neutral) > * + * {
	margin-block-start: 10px;
}
body :is(.is-style-hinweis, .is-style-wichtig, .is-style-neutral) > .is-style-kastenlabel + * {
	margin-block-start: 2px;
}
body :is(.is-style-hinweis, .is-style-wichtig, .is-style-neutral) > h3 + * {
	margin-block-start: 6px;
}
body .is-style-kastenlabel {
	font-weight: 700;
	font-size: var(--wp--preset--font-size--klein-14);
	color: var(--wp--preset--color--gruen-700);
}
body .is-style-wichtig .is-style-kastenlabel {
	font-size: var(--wp--preset--font-size--klein-15);
	letter-spacing: 0.02em;
	color: var(--wp--preset--color--ocker-800);
}
.is-style-neutral .is-style-kastenlabel {
	color: var(--wp--preset--color--grau-700);
}
.is-style-wichtig > p:not(.is-style-kastenlabel) {
	font-weight: 700;
	line-height: 1.5;
}
:is(.is-style-hinweis, .is-style-neutral) h3,
.is-style-neutral h2 {
	font-size: var(--wp--preset--font-size--unterabschnitt);
	line-height: 1.3;
}
.is-style-neutral h2 {
	font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.625rem);
}
:is(.is-style-hinweis, .is-style-wichtig) .platzhalter {
	background: var(--wp--preset--color--weiss);
}
.is-style-hinweis .is-style-weiterlink a {
	color: var(--wp--preset--color--gruen-700);
}
body .band-inhalt > :is(.is-style-hinweis, .is-style-neutral) {
	max-width: 58rem;
}
body :is(.is-style-hinweis, .is-style-wichtig, .is-style-neutral) > p {
	max-width: 46rem;
}
/* Schmale Fenster und starker Zoom: Quadrat über dem Text, damit der Text die volle Breite bekommt; lange Wörter werden getrennt statt abgeschnitten. */
@media (max-width: 37.49em) {
	body :is(.is-style-hinweis, .is-style-wichtig, .is-style-neutral) {
		padding-left: var(--wp--custom--abstand--kasten-innen);
	}
	:is(.is-style-hinweis, .is-style-wichtig, .is-style-neutral)::before {
		position: static;
		display: block;
		margin-bottom: 12px;
	}
	/* Nur lange Wörter trennen (ab 12 Zeichen, mindestens 5 auf jeder Seite), damit der Text ruhig bleibt. */
	:is(.schritt__karte, .is-style-hinweis, .is-style-wichtig, .is-style-neutral, .is-style-karte, .is-style-karte-primaer) {
		hyphens: auto;
		-webkit-hyphens: auto;
		hyphenate-limit-chars: 12 5 5;
		overflow-wrap: break-word;
	}
	body .schritt__karte > .schritt__piktogramm {
		width: 40px;
		height: 40px;
		margin: 0 0 8px 12px;
	}
	.schritt__piktogramm .piktogramm__svg {
		width: 32px;
		height: 32px;
	}
}

/* === Band Tiefgrün (Verwendungsnachweis) === */
.is-style-band-tief h2 {
	color: var(--wp--preset--color--weiss);
}
body .is-style-kicker {
	margin: 0 0 8px;
	font-size: var(--wp--preset--font-size--klein-14);
	font-weight: 700;
}
body .band-inhalt > .is-style-kicker + h2 {
	margin-block-start: 0;
}
.is-style-band-tief .platzhalter {
	background: transparent;
	color: var(--wp--preset--color--weiss);
	border-color: rgba(255, 255, 255, 0.75);
}
body .is-style-bedingungen {
	max-width: 62rem;
	gap: 16px;
}
body .band-inhalt > .is-style-bedingungen {
	margin-block-start: clamp(20px, 3vw, 32px);
}
body .is-style-bedingungen > * {
	margin: 0;
}
body .is-style-bedingungen > .wp-block-group {
	display: flex;
	flex-direction: column;
}
body .is-style-bedingungen > .wp-block-group > :is(.is-style-bedingung, .is-style-bedingung-primaer) {
	flex: 1;
}
body .is-style-bedingungen > .wp-block-group > * + * {
	margin-block-start: 8px;
}
body :is(.is-style-bedingung, .is-style-bedingung-primaer) {
	display: flex;
	margin: 0;
}
:is(.is-style-bedingung, .is-style-bedingung-primaer) a {
	flex: 1;
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: center;
	column-gap: 16px;
	padding: clamp(18px, 2.4vw, 28px);
	text-decoration: none;
	font-size: var(--wp--preset--font-size--kartentitel);
	font-weight: 700;
	line-height: 1.3;
}
:is(.is-style-bedingung, .is-style-bedingung-primaer) a .zusatz {
	grid-column: 1;
	display: block;
	margin-top: 4px;
	font-size: var(--wp--preset--font-size--klein-15);
	line-height: 1.4;
}
:is(.is-style-bedingung, .is-style-bedingung-primaer) a::after {
	content: "";
	grid-column: 2;
	grid-row: 1 / span 2;
	width: 44px;
	height: 44px;
	background: var(--marke) var(--i-extern-s) center / 20px no-repeat;
}
.is-style-bedingung-primaer a {
	background: var(--wp--preset--color--gruen-700);
	color: var(--wp--preset--color--weiss) !important;
}
.is-style-bedingung-primaer a:hover {
	background: var(--wp--preset--color--gruen-800);
}
.is-style-bedingung a {
	background: var(--wp--preset--color--weiss);
	border: 1px solid var(--wp--preset--color--grau-400);
	color: var(--wp--preset--color--schwarz) !important;
}
.is-style-bedingung a .zusatz {
	color: var(--wp--preset--color--gruen-600);
}
.is-style-bedingung a:hover {
	background: var(--wp--preset--color--gruen-50);
	border-color: var(--wp--preset--color--gruen-600);
}
.is-style-band-tief .is-style-bedingung-primaer a {
	background: var(--marke);
	color: var(--wp--preset--color--schwarz) !important;
}
.is-style-band-tief .is-style-bedingung-primaer a::after {
	background-color: var(--wp--preset--color--gruen-900);
	background-image: var(--i-extern-w);
}
.is-style-band-tief .is-style-bedingung-primaer a:hover {
	background: var(--wp--preset--color--gruen-400);
}
.is-style-band-tief .is-style-bedingung a {
	border: 0;
}
.is-style-band-tief .is-style-bedingung a:hover {
	background: var(--wp--preset--color--gruen-100);
}
.is-style-bedingungen p:not([class*="is-style-"]),
.status-pruefung {
	font-size: var(--wp--preset--font-size--klein-14);
}
.status-pruefung {
	color: var(--wp--preset--color--ocker-800);
}

/* === Link-Listen === */
body .is-style-linkliste {
	list-style: none;
	margin-block-start: clamp(20px, 3vw, 32px);
	padding: 0;
	max-width: 62rem;
	border-top: 1px solid var(--wp--preset--color--grau-300);
}
.is-style-linkliste li {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 12px;
	min-height: 56px;
	margin: 0;
	border-bottom: 1px solid var(--wp--preset--color--grau-300);
}
.is-style-linkliste li a {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	min-height: 56px;
	font-weight: 700;
}
.is-style-linkliste li:not(:has(a)) {
	padding: 8px 0;
	font-weight: 700;
}
:is(.is-style-linkliste li a, .is-style-linkliste li:not(:has(a)))::before {
	content: "";
	flex: none;
	width: 32px;
	height: 32px;
	background: var(--wp--preset--color--gruen-100) var(--i-extern-g) center / 20px no-repeat;
}
.is-style-linkliste li:not(:has(a))::before {
	background-color: #e4e8e9;
	background-image: var(--i-extern-grau);
}
.is-style-linkliste li a[href$=".pdf"]::before,
.is-style-linkliste li a[href*="/wp-content/uploads/"]::before {
	background-image: var(--i-datei-g);
}
.is-style-band-tief .is-style-linkliste {
	border-top-color: rgba(255, 255, 255, 0.35);
}
.is-style-band-tief .is-style-linkliste li {
	border-bottom-color: rgba(255, 255, 255, 0.35);
}
.is-style-band-tief .is-style-linkliste li a {
	color: var(--wp--preset--color--weiss);
}
.is-style-band-tief :is(.is-style-linkliste li a, .is-style-linkliste li:not(:has(a)))::before {
	width: 20px;
	height: 20px;
	background: transparent var(--i-extern-w) center / 20px no-repeat;
}
body .is-style-zeichenerklaerung {
	list-style: none;
	max-width: 62rem;
	margin: 0;
	padding: 12px 16px;
	background: var(--wp--preset--color--grau-100);
	display: flex;
	flex-wrap: wrap;
	gap: 8px 28px;
	font-size: var(--wp--preset--font-size--klein-13);
	line-height: 1.4;
}
.is-style-zeichenerklaerung li {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
}
.is-style-zeichenerklaerung li:is(.symbol-extern, .symbol-datei)::before {
	content: "";
	flex: none;
	width: 28px;
	height: 28px;
	background: var(--wp--preset--color--weiss) var(--i-extern-g) center / 20px no-repeat;
}
.is-style-zeichenerklaerung li.symbol-datei::before {
	background-image: var(--i-datei-g);
}
.is-style-zeichenerklaerung li.marke-leitstelle,
.dokument__marke {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 2px 8px;
	background: var(--wp--preset--color--gruen-100);
	color: var(--wp--preset--color--gruen-700);
	font-weight: 700;
}
.is-style-zeichenerklaerung li.marke-leitstelle::before,
.dokument__marke::before {
	content: "";
	flex: none;
	width: 8px;
	height: 8px;
	background: var(--marke);
}
.is-style-zeichenerklaerung li.zielgruppe {
	color: var(--wp--preset--color--grau-700);
}

/* === Dokumentlisten === */
.dokumentliste {
	list-style: none;
	margin: 0;
	padding: 0;
	max-width: 56rem;
}
.dokumentliste--a {
	border-top: 2px solid var(--wp--preset--color--schwarz);
}
.dokumentliste--b {
	border-top: 1px solid var(--wp--preset--color--grau-300);
}
.dokument {
	display: flex;
	gap: 14px;
	margin: 0;
	padding: 16px 0;
	border-bottom: 1px solid var(--wp--preset--color--grau-300);
}
.dokumentliste--b .dokument {
	align-items: center;
	padding: 12px 0;
}
.dokument__symbol {
	flex: none;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--wp--preset--color--gruen-100);
	color: var(--wp--preset--color--gruen-700);
}
.dokument__text {
	min-width: 0;
	padding-top: 7px;
}
.dokumentliste--b .dokument__text {
	padding-top: 0;
}
.is-style-band-grau .dokument__symbol {
	background: var(--wp--preset--color--weiss);
}
.is-style-band-grau .dokument {
	border-bottom-color: var(--wp--preset--color--grau-400);
}
.is-style-band-grau .dokumentliste--b {
	border-top-color: var(--wp--preset--color--grau-400);
}
a.dokument__link {
	color: var(--wp--preset--color--gruen-600);
	font-weight: 700;
	line-height: 1.45;
	text-underline-offset: 3px;
}
a.dokument__link:visited {
	color: var(--wp--preset--color--violett);
}
.dokument__klammer {
	font-weight: 400;
}
.dokument__meta {
	margin: 4px 0 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 14px;
	font-size: var(--wp--preset--font-size--klein-13);
	line-height: 1.4;
	color: var(--wp--preset--color--grau-700);
}
.dokumentliste--c {
	display: flex;
	flex-wrap: wrap;
	gap: 0 24px;
}
.dokumentliste--c .dokument {
	display: block;
	padding: 0;
	border: 0;
}
.dokumentliste--c a.dokument__link {
	display: inline-flex;
	align-items: flex-start;
	gap: 6px;
	min-height: 36px;
	padding-top: 6px;
	font-weight: 400;
	font-size: var(--wp--preset--font-size--klein-15);
}
.dokumentliste--c .ikone {
	margin-top: 3px;
}
.dokument.dokument--hervorgehoben {
	display: block;
	max-width: 46rem;
	margin: 12px 0 0 12px;
	padding: clamp(18px, 2.4vw, 28px);
	background: var(--wp--preset--color--weiss);
	border: 1px solid var(--wp--preset--color--grau-400);
	box-shadow: -12px -12px 0 0 var(--marke);
}
.dokument__kopf {
	margin: 0 0 12px;
	font-size: var(--wp--preset--font-size--klein-13);
}
.dokument--hervorgehoben a.dokument__link {
	display: inline-flex;
	align-items: flex-start;
	gap: 12px;
	font-size: var(--wp--preset--font-size--kartentitel);
	line-height: 1.35;
}
.dokument--hervorgehoben .ikone {
	margin-top: 4px;
}
.dokument--hervorgehoben .dokument__klammer {
	font-size: 0.8em;
}
.dokument__beschreibung {
	margin: 12px 0 0;
}
.dokument--hervorgehoben .dokument__meta {
	display: block;
	margin: 8px 0 0;
}
.dokumente--alle-gruppen {
	display: flex;
	flex-direction: column;
	gap: clamp(44px, 6vw, 80px);
}
.dokumentgruppe {
	max-width: 56rem;
}
.dokumentgruppe__titel {
	margin: 0;
	font-size: var(--wp--preset--font-size--abschnittstitel);
	line-height: 1.2;
	letter-spacing: -0.01em;
}
.dokumentgruppe__anzahl {
	font-size: var(--wp--preset--font-size--klein-14);
	font-weight: 400;
	letter-spacing: 0;
	color: var(--wp--preset--color--grau-700);
	white-space: nowrap;
}
.dokumentgruppe .dokumentliste {
	margin-top: clamp(14px, 2vw, 24px);
}
/* Zeichenerklärung unter der ersten Gruppenüberschrift: leise Zeile ohne Fläche, Symbole wie in der Liste darunter. */
body .dokumentgruppe > .is-style-zeichenerklaerung {
	margin-top: clamp(10px, 1.4vw, 16px);
	padding: 0;
	background: none;
	gap: 6px 24px;
	color: var(--wp--preset--color--grau-700);
}
.dokumentgruppe > .is-style-zeichenerklaerung li:is(.symbol-extern, .symbol-datei)::before {
	width: 24px;
	height: 24px;
	background-color: var(--wp--preset--color--gruen-100);
	background-size: 16px;
}
.dokumentgruppe__oben {
	margin: 10px 0 0;
	font-size: var(--wp--preset--font-size--klein-14);
}
.dokumentgruppe__oben a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 36px;
}

/* === Häufige Fragen und Archiv === */
body .is-style-fragenliste {
	display: grid;
	gap: 8px;
	max-width: 58rem;
}
body .is-style-fragenliste > * {
	margin: 0;
}
.wp-block-details:not(.menue) {
	background: var(--wp--preset--color--weiss);
	border: 0;
}
.is-style-band .wp-block-details:not(.menue) {
	background: var(--wp--preset--color--grau-100);
}
.wp-block-details:not(.menue) > summary {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	min-height: 64px;
	padding: 12px clamp(14px, 2vw, 24px);
	font-size: 1.0625rem;
	font-weight: 700;
	line-height: 1.45;
	list-style: none;
	cursor: pointer;
}
.wp-block-details > summary::-webkit-details-marker {
	display: none;
}
.wp-block-details:not(.menue) > summary::after {
	content: "";
	flex: none;
	width: 40px;
	height: 40px;
	background: var(--marke) var(--i-winkel-s) center / 20px no-repeat;
}
.wp-block-details:not(.menue)[open] > summary::after {
	transform: rotate(180deg);
}
.wp-block-details:not(.menue) > summary:hover {
	color: var(--wp--preset--color--gruen-800);
}
body .wp-block-details:not(.menue) > :not(summary) {
	margin: 0;
	padding: 0 clamp(14px, 2vw, 24px) 20px;
	max-width: 46rem;
}
body .is-style-band .band-inhalt > .is-style-fragenliste {
	margin-block-start: clamp(44px, 6vw, 80px);
}
.is-style-fragenliste .platzhalter {
	background: var(--wp--preset--color--weiss);
}

/* === Hilfeblock: Band in Markengrün === */
body .hilfe-spalten {
	gap: 32px clamp(32px, 5vw, 80px);
	align-items: center;
}
.hilfe-text {
	flex: 1 1 26rem;
	min-width: 0;
}
body .hilfe-text > * {
	margin: 0;
}
body .hilfe-text > h2 + p {
	margin-block-start: 12px;
	max-width: 30em;
	font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
	line-height: 1.5;
	font-weight: 700;
}
body .hilfe-text > .kontaktangabe--text {
	margin-block-start: 10px;
	font-size: var(--wp--preset--font-size--klein-14);
}
body .hilfe-text > .hilfe-knoepfe {
	margin-block-start: 20px;
	max-width: 30rem;
	gap: 10px;
}
body .hilfe-text > .is-style-weiterlink {
	margin-block-start: 16px;
}
.hilfe-text .is-style-weiterlink a {
	color: var(--wp--preset--color--schwarz);
}
.hilfe-spalten > .wp-block-image {
	flex: 1 1 20rem;
	min-width: 0;
	max-width: 36rem;
}
.is-style-hilfeblock .platzhalter {
	border-color: var(--wp--preset--color--schwarz);
	background: var(--wp--preset--color--weiss);
}

/* === Kontaktknöpfe und „Anrufen“ === */
.kontakt-quadrat {
	flex: none;
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--marke);
	color: var(--wp--preset--color--schwarz);
}
.kontaktknopf {
	display: flex;
	align-items: center;
	gap: 14px;
	min-height: 60px;
	padding: 8px 18px 8px 8px;
	background: var(--wp--preset--color--weiss);
	border: 2px solid var(--wp--preset--color--gruen-600);
	color: var(--wp--preset--color--schwarz);
	text-decoration: none;
	font-size: var(--wp--preset--font-size--telefon);
	font-weight: 700;
	line-height: 1.3;
}
a.kontaktknopf:hover {
	background: var(--wp--preset--color--gruen-100);
	color: var(--wp--preset--color--schwarz);
}
.kontaktknopf--mail {
	font-size: var(--wp--preset--font-size--text);
	overflow-wrap: anywhere;
}
/* Telefonknopf groß (Kontakt, Barriere melden): Fläche ohne Rahmen, Quadrat bündig über die volle Höhe. */
.kontaktknopf--gross {
	gap: 0;
	min-height: 64px;
	padding: 0;
	border: 0;
	background: var(--wp--preset--color--gruen-100);
	font-size: var(--wp--preset--font-size--nummer-gross);
}
a.kontaktknopf--gross:hover {
	background: var(--wp--preset--color--gruen-150);
}
.kontaktknopf--gross .kontakt-quadrat {
	align-self: stretch;
	width: 64px;
	height: auto;
}
.kontaktknopf--gross .kontaktknopf__text {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-width: 0;
	padding: 10px 20px;
}
/* Bezeichnung der Nummer aus „Leitstelle → Kontaktdaten“, nur wenn dort eingetragen. */
.kontaktknopf__bezeichnung,
.kontaktangabe__bezeichnung {
	display: block;
	font-size: var(--wp--preset--font-size--klein-13);
	font-weight: 700;
	line-height: 1.3;
}
.kontaktknopf__bezeichnung {
	margin-bottom: 2px;
	color: var(--wp--preset--color--gruen-700);
}
.is-style-hilfeblock .kontaktknopf__bezeichnung {
	color: var(--wp--preset--color--schwarz);
}
.fuss .kontaktangabe__bezeichnung {
	margin-top: 8px;
	font-weight: 400;
}
.is-style-hilfeblock .kontaktknopf {
	border: 0;
}
.is-style-hilfeblock .kontakt-quadrat {
	background: var(--wp--preset--color--gruen-900);
	color: var(--wp--preset--color--weiss);
}
.kontaktangabe {
	margin: 0;
}
a.anrufen {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	min-height: 48px;
	color: var(--wp--preset--color--schwarz);
	text-decoration: none;
}
a.anrufen:hover {
	color: var(--wp--preset--color--gruen-800);
}
.anrufen .kontakt-quadrat {
	width: 48px;
	height: 48px;
}
.anrufen__text {
	line-height: 1.3;
}
.anrufen__label {
	display: block;
	font-size: var(--wp--preset--font-size--klein-13);
	font-weight: 700;
}
.anrufen__nummer {
	display: block;
	font-size: 1.0625rem;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
}
a.anrufen--mobil {
	box-sizing: border-box;
	flex: none;
	gap: 6px;
	padding: 0 8px;
	border: 2px solid var(--wp--preset--color--gruen-600);
	background: var(--wp--preset--color--weiss);
	font-weight: 700;
	font-size: var(--wp--preset--font-size--klein-13);
}
.anrufen--mobil .ikone {
	color: var(--wp--preset--color--gruen-600);
}
a.anrufen--mobil:hover {
	background: var(--wp--preset--color--gruen-100);
	color: var(--wp--preset--color--schwarz);
}

/* === Über die Leitstelle === */
body .ueber-spalten {
	gap: 24px clamp(32px, 6vw, 96px);
	align-items: flex-start;
}
.ueber-spalten > .ueber-text {
	flex: 3 1 24rem;
	min-width: 0;
	max-width: 46rem;
}
body .ueber-text > * {
	margin: 0;
}
body .ueber-text > * + * {
	margin-block-start: 10px;
}
body .is-style-aussage {
	flex: 2 1 16rem;
	margin: 0;
	font-size: var(--wp--preset--font-size--aussage);
	line-height: 1.25;
	letter-spacing: -0.01em;
	font-weight: 700;
}
.is-style-aussage .platzhalter {
	font-weight: 400;
}
.is-style-aussage .platzhalter + .platzhalter {
	display: table;
	margin-top: 8px;
	font-size: var(--wp--preset--font-size--klein-14);
	letter-spacing: 0;
}

/* === Weitergabe, Spalten, Kleinkram === */
body .is-style-weitergabe {
	margin-block-start: clamp(24px, 3vw, 40px);
	max-width: 62rem;
	padding: var(--wp--custom--abstand--kasten-innen);
	background: var(--wp--preset--color--weiss);
	font-size: var(--wp--preset--font-size--klein-15);
}
body .is-style-weitergabe > * {
	margin: 0;
}
body .is-style-weitergabe > * + * {
	margin-block-start: 12px;
}
.is-style-weitergabe code {
	font-family: inherit;
	font-size: var(--wp--preset--font-size--klein-14);
	background: var(--wp--preset--color--grau-100);
	border: 1px solid var(--wp--preset--color--grau-600);
	padding: 6px 10px;
	user-select: all;
	overflow-wrap: anywhere;
}
.is-style-weitergabe a {
	font-weight: 700;
	margin-right: 14px;
}
body .zwei-spalten {
	gap: 28px clamp(24px, 4vw, 56px);
	align-items: flex-start;
}
.zwei-spalten > * {
	flex: 1 1 24rem;
	min-width: 0;
}
.zwei-spalten.kontakt-spalten {
	gap: clamp(44px, 6vw, 80px) clamp(32px, 5vw, 80px);
}
.kontakt-spalten > .anschrift {
	flex: 1 1 20rem;
}
.kontakt-spalten > .portale {
	flex: 2 1 26rem;
}
body .zwei-spalten > .wp-block-group > * {
	margin: 0;
}
body .zwei-spalten > .wp-block-group > h2 + *,
body .zwei-spalten > .wp-block-group > h3 + * {
	margin-block-start: clamp(10px, 2vw, 24px);
}
body .anschrift p + .kontaktangabe--text {
	margin-block-start: 0;
}
.anschrift p,
.anschrift .kontaktangabe {
	line-height: 1.7;
}
body .is-style-label {
	font-size: var(--wp--preset--font-size--klein-14);
	font-weight: 700;
	color: var(--wp--preset--color--grau-700);
}
body .rechtstext > h2 {
	margin-block-start: clamp(28px, 4vw, 48px);
}
body .rechtstext > h2 + * {
	margin-block-start: 12px;
}
.rechtstext {
	max-width: 50rem;
}
/* Rechtsseiten beginnen an derselben Kante wie alle anderen Seiten statt mittig in der Breite des Rahmens. */
body .rechtsseite > .rechtstext {
	margin-left: max(0px, calc((100% - var(--wp--style--global--content-size)) / 2)) !important;
}
address {
	font-style: normal;
}

/* === Kopfzeile === */
header.wp-block-template-part {
	position: relative;
	z-index: 10;
	background: var(--wp--preset--color--weiss);
}
body .kopf-zeile {
	max-width: 1296px;
	margin: 0 auto;
	padding: 20px var(--wp--custom--abstand--seitenrand) 16px;
	gap: 32px;
}
body .kopf-marke {
	gap: 20px;
	align-items: stretch;
}
.kopf-marke > .wp-block-site-logo {
	flex: none;
	line-height: 0;
	align-self: center;
}
.wp-block-site-logo img {
	display: block;
	height: auto;
}
.kopf-name {
	align-self: center;
	padding-left: 20px;
	border-left: 1px solid var(--wp--preset--color--grau-300);
}
.kopf-marke .kopf-name {
	align-self: stretch;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
/* Name und Untertitel stehen ohne Absatzabstand untereinander (gewinnt gegen „.wp-block-group p + p“). */
body .kopf-zeile .kopf-name > * {
	margin: 0;
	font-size: var(--wp--preset--font-size--klein-15);
	line-height: 1.4;
}
.kopf-name .wp-block-site-title {
	font-weight: 700;
}
/* Menüleiste in Tiefgrün über die volle Breite (Variante 1a); dieselben Farben gelten für die Menüliste am Smartphone. */
body .kopf-desktop > .navleiste {
	margin-block-start: 0;
	background: var(--wp--preset--color--gruen-900);
}
body .navleiste > .hauptnavigation {
	box-sizing: border-box;
	max-width: 1296px;
	margin: 0 auto;
	padding: 0 var(--wp--custom--abstand--seitenrand);
}
/* Liste nur so breit wie ihre Einträge: Die Ausrichtung des Navigationsblocks (mittig) setzt die ganze Leiste samt Trennstrichen. */
body .hauptnavigation .wp-block-navigation__container {
	flex-grow: 0;
	gap: 0;
	border-left: 1px solid rgba(255, 255, 255, 0.22);
}
.hauptnavigation .wp-block-navigation-item {
	border-right: 1px solid rgba(255, 255, 255, 0.22);
}
.hauptnavigation .wp-block-navigation-item__content {
	display: flex;
	align-items: center;
	min-height: 56px;
	padding: 0 clamp(14px, 1.6vw, 24px);
	font-size: var(--wp--preset--font-size--text);
}
/* Fünf Einträge (seit „Webinare“): Der Innenabstand wächst mit der Breite, damit die Leiste ab 960 px einzeilig bleibt.
   Nachgemessen bei 16 px Verdana: Text normal 828 px, fett 943 px; Platz 0,92 × Fensterbreite bis 1200 px. */
@media (min-width: 60em) and (max-width: 63.99em) {
	.hauptnavigation .wp-block-navigation-item__content {
		padding-inline: clamp(8px, 9vw - 78px, 14px);
		font-size: 0.9375rem;
	}
}
@media (min-width: 64em) and (max-width: 71.99em) {
	.hauptnavigation .wp-block-navigation-item__content {
		padding-inline: clamp(10px, 9vw - 82px, 20px);
	}
}
@media (min-width: 72em) {
	.hauptnavigation .wp-block-navigation-item__content {
		padding-inline: clamp(10px, 9vw - 94px, 24px);
	}
}
/* Die mittige Leiste springt beim Seitenwechsel nicht: Jeder Eintrag hält die Breite seines fetten Textes frei (data-label aus functions.php).
   Unter 72em reicht der Platz dafür nicht; dort ist die aktive Seite nur an der Fläche zu erkennen. */
@media (min-width: 72em) {
	.hauptnavigation .wp-block-navigation-item__label {
		display: flex;
		flex-direction: column;
		align-items: center;
	}
	.hauptnavigation .wp-block-navigation-item__label::after {
		content: attr(data-label);
		height: 0;
		overflow: hidden;
		visibility: hidden;
		font-weight: 700;
	}
}
/* WordPress setzt die Linkfarbe auf inherit; deshalb steht die Farbe am Block und am aktiven Eintrag. */
:is(.hauptnavigation, .menue-navigation) {
	color: var(--wp--preset--color--weiss);
}
:is(.hauptnavigation, .menue-navigation) .current-menu-item {
	color: var(--wp--preset--color--schwarz);
}
:is(.hauptnavigation, .menue-navigation) .wp-block-navigation-item__content {
	text-decoration: none;
}
:is(.hauptnavigation, .menue-navigation) .wp-block-navigation-item__content:hover {
	background: var(--wp--preset--color--gruen-700);
	text-decoration: underline;
	text-underline-offset: 5px;
}
:is(.hauptnavigation, .menue-navigation) .current-menu-item > .wp-block-navigation-item__content,
:is(.hauptnavigation, .menue-navigation) .current-menu-item > .wp-block-navigation-item__content:hover {
	background: var(--marke);
	font-weight: 700;
	text-decoration: none;
}
:is(.hauptnavigation, .menue-navigation) .wp-block-navigation-item__content:focus-visible {
	outline: 3px solid var(--wp--preset--color--weiss);
	outline-offset: -6px;
}
@media (min-width: 60em) and (max-width: 71.99em) {
	.hauptnavigation .current-menu-item > .wp-block-navigation-item__content,
	.hauptnavigation .current-menu-item > .wp-block-navigation-item__content:hover {
		font-weight: 400;
	}
}
.hauptnavigation .nur-mobil {
	display: none !important;
}
.kopf-mobil {
	position: relative;
	padding: 8px 16px;
	border-bottom: 1px solid var(--wp--preset--color--grau-300);
}
body .kopf-mobil-zeile {
	gap: 8px;
	align-items: center;
	min-height: 48px;
	padding-right: 94px;
	flex-wrap: nowrap;
}
.kopf-mobil-zeile > .wp-block-site-logo {
	flex: none;
	line-height: 0;
	margin-right: auto;
}
.kopf-mobil .menue {
	border: 0;
	margin: 0;
	background: none;
}
.kopf-mobil .menue > summary {
	position: absolute;
	top: 8px;
	right: 16px;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 48px;
	padding: 0 10px;
	background: var(--wp--preset--color--gruen-700);
	color: var(--wp--preset--color--weiss);
	font-weight: 700;
	font-size: var(--wp--preset--font-size--klein-13);
	line-height: 1;
	list-style: none;
	cursor: pointer;
}
.kopf-mobil .menue > summary:hover {
	background: var(--wp--preset--color--gruen-800);
}
.kopf-mobil .menue > summary::before {
	content: "";
	flex: none;
	width: 20px;
	height: 20px;
	background: currentColor;
	-webkit-mask: var(--m-menue) center / contain no-repeat;
	mask: var(--m-menue) center / contain no-repeat;
}
.kopf-mobil .menue[open] > summary::before {
	-webkit-mask-image: var(--m-kreuz);
	mask-image: var(--m-kreuz);
}
body .kopf-mobil .menue > :not(summary) {
	margin: 8px -16px -8px;
	padding: 0;
	background: var(--wp--preset--color--gruen-900);
}
.menue-navigation .wp-block-navigation__container {
	width: 100%;
	gap: 0;
}
.menue-navigation .wp-block-navigation-item {
	width: 100%;
	border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}
.menue-navigation .wp-block-navigation-item__content {
	display: flex;
	align-items: center;
	width: 100%;
	min-height: 56px;
	padding: 0 16px;
}
@media (max-width: 59.99em) {
	.kopf-desktop {
		display: none;
	}
}
@media (min-width: 60em) {
	.kopf-mobil {
		display: none;
	}
}

/* === Fuß === */
.foerderhinweis {
	border-top: 1px solid var(--wp--preset--color--grau-300);
	background: var(--wp--preset--color--weiss);
}
.foerderhinweis-rahmen,
.fuss-spalten,
.fuss-unten {
	max-width: 1296px;
	margin-inline: auto;
}
.foerderhinweis-rahmen {
	padding: clamp(20px, 3vw, 32px) var(--wp--custom--abstand--seitenrand);
}
body .foerderhinweis-rahmen > * {
	margin: 0;
}
.foerderhinweis-titel {
	font-size: var(--wp--preset--font-size--klein-13);
	color: var(--wp--preset--color--grau-700);
}
.foerderhinweis-titel strong {
	color: var(--wp--preset--color--schwarz);
	margin-right: 12px;
}
/* Förderhinweis wie die offizielle Kombination auf bafa.de: Satz als Text, Logos einzeln aus der Mediathek.
   Alle Logos gleich hoch sichtbar; die Faktoren gleichen den unterschiedlichen Weißraum in den Dateien aus
   (EU 79 %, BMWE 91 %, BAFA 96 % Inhalt). Das EU-Emblem ist damit mindestens so groß wie das größte andere Logo. */
body .foerderhinweis-kasten {
	--logo-hoehe: clamp(60px, 5.5vw, 80px);
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 2fr);
	gap: 24px clamp(24px, 4vw, 64px);
	margin-block-start: 12px;
	padding: clamp(16px, 2.4vw, 28px);
	border: 1px solid var(--wp--preset--color--grau-300);
}
@media (max-width: 47.99em) {
	body .foerderhinweis-kasten {
		grid-template-columns: minmax(0, 1fr);
	}
}
body .foerderhinweis-kasten > * > * {
	margin: 0;
}
body .foerderhinweis-text {
	max-width: 46em;
	font-size: var(--wp--preset--font-size--klein-14);
	line-height: 1.5;
	color: var(--wp--preset--color--schwarz);
}
body .foerderhinweis-logos {
	margin-block-start: 16px;
	gap: 16px clamp(24px, 4vw, 56px);
	align-items: center;
}
.foerderhinweis-logos .wp-block-image {
	margin: 0;
}
.foerderhinweis-logos img {
	display: block;
	width: auto;
	max-width: 100%;
	height: var(--logo-hoehe);
	object-fit: contain;
}
.foerderhinweis-logos .foerderlogo--eu img {
	height: calc(var(--logo-hoehe) * 1.16);
}
.foerderhinweis-logos .foerderlogo--bafa img {
	height: calc(var(--logo-hoehe) * 0.95);
}
.fuss {
	background: var(--wp--preset--color--gruen-900);
	color: var(--wp--preset--color--weiss);
}
/* auto-fit statt auto-fill: Drei Gruppen teilen sich die Breite, keine leere vierte Spalte. */
body .fuss-spalten {
	padding: clamp(36px, 5vw, 64px) var(--wp--custom--abstand--seitenrand) clamp(28px, 4vw, 48px);
	gap: 36px clamp(24px, 4vw, 64px);
	grid-template-columns: repeat(auto-fit, minmax(min(16rem, 100%), 1fr));
}
body .fuss-spalten > * > * {
	margin: 0;
}
body .fuss-spalten > * > * + * {
	margin-block-start: 8px;
}
.fuss h2 {
	display: flex;
	align-items: baseline;
	gap: 10px;
	color: var(--wp--preset--color--weiss);
	font-size: var(--wp--preset--font-size--text);
}
.fuss h2::before {
	content: "";
	flex: none;
	width: 10px;
	height: 10px;
	background: var(--marke);
}
body .fuss-spalten > * > h2 + * {
	margin-block-start: 12px;
}
.fuss-name {
	font-weight: 700;
	font-size: var(--wp--preset--font-size--klein-15);
	line-height: 1.45;
}
body .fuss-spalten .fuss-name {
	margin-block-start: 16px;
}
.fuss .kontaktangabe--text {
	font-size: var(--wp--preset--font-size--klein-15);
	line-height: 1.6;
}
body .fuss-spalten .kontaktangabe--fuss-link {
	margin-block-start: 0;
}
body .fuss-spalten .kontaktangabe--text + .kontaktangabe--tel {
	margin-block-start: 16px;
}
.fuss .kontaktangabe--fuss-link a {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	font-size: var(--wp--preset--font-size--klein-15);
}
.fuss .kontaktangabe--tel a {
	min-height: 44px;
	font-size: var(--wp--preset--font-size--telefon);
	font-weight: 700;
}
.fuss a,
.fuss .wp-block-navigation-item__content {
	color: var(--wp--preset--color--weiss) !important;
}
.fuss a:hover {
	text-decoration-thickness: 2px;
}
.fuss-spalten .wp-block-navigation__container {
	width: 100%;
	gap: 0;
	border-top: 1px solid rgba(255, 255, 255, 0.3);
}
.fuss-spalten .wp-block-navigation-item {
	width: 100%;
	border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}
.fuss-spalten .wp-block-navigation-item__content {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	width: 100%;
	min-height: 48px;
	text-decoration: none;
	font-size: var(--wp--preset--font-size--klein-15);
	line-height: 1.4;
}
.fuss-spalten .wp-block-navigation-item__content:hover {
	text-decoration: underline;
	text-underline-offset: 4px;
}
.fuss-spalten .wp-block-navigation-item__content::after {
	content: "";
	flex: none;
	width: 16px;
	height: 16px;
	background: var(--marke);
	-webkit-mask: var(--m-pfeil-16) center / contain no-repeat;
	mask: var(--m-pfeil-16) center / contain no-repeat;
}
.fuss-spalten .fuss-extern .wp-block-navigation-item__content::after {
	-webkit-mask-image: var(--m-extern);
	mask-image: var(--m-extern);
}
.fuss .platzhalter {
	background: transparent;
	color: var(--wp--preset--color--weiss);
	border-color: rgba(255, 255, 255, 0.75);
}
.fuss-unten {
	padding: 0 var(--wp--custom--abstand--seitenrand);
}
body .fuss-unten-zeile {
	border-top: 1px solid rgba(255, 255, 255, 0.3);
	padding: 14px 0 22px;
	gap: 8px 24px;
	font-size: var(--wp--preset--font-size--klein-14);
}
body .fuss-unten-zeile .wp-block-navigation__container {
	gap: 0 24px;
}
.fuss-unten-zeile .wp-block-navigation-item__content {
	display: inline-flex;
	align-items: center;
	min-height: 40px;
	text-decoration: underline;
	font-size: var(--wp--preset--font-size--klein-14);
}

/* Primärkarte mit Ziel außerhalb der Website (Start: „Förderung beantragen“ führt ins Antragsportal des BAFA): Symbol „extern“ statt Pfeil. */
.is-style-karte-primaer:has(:is(h2, h3) a[href^="http"])::after {
	background-image: var(--i-extern-s);
}
.is-style-karte-primaer:hover:has(:is(h2, h3) a[href^="http"])::after {
	background-image: var(--i-extern-w);
}

/* === Webinare: Kacheln (Block „Webinarliste“) === */
body .band-inhalt > h2.wp-block-heading + .wp-block-foerder-webinarliste {
	margin-block-start: clamp(8px, 2.4vw, 32px);
}
.webinarliste {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(21rem, 100%), 1fr));
	gap: var(--wp--custom--abstand--karten-abstand);
	margin: 0;
	padding: 0;
	list-style: none;
}
.webinar-kachel {
	position: relative;
	display: flex;
	flex-direction: column;
	margin: 10px 0 0 10px;
	background: var(--wp--preset--color--weiss);
	color: var(--wp--preset--color--schwarz);
	box-shadow: -10px -10px 0 0 var(--wp--preset--color--gruen-200);
}
@media (prefers-reduced-motion: no-preference) {
	.webinar-kachel {
		transition: transform 0.18s ease, box-shadow 0.18s ease;
	}
	.webinar-kachel:hover {
		transform: translate(4px, 4px);
		box-shadow: -14px -14px 0 0 var(--marke);
	}
}
.webinar-kachel:hover {
	box-shadow: -10px -10px 0 0 var(--marke);
}
.webinar-kachel__bild {
	position: relative;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: var(--wp--preset--color--gruen-100);
}
.webinar-kachel__bild::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: var(--wp--custom--abstand--stempel-klein);
	height: var(--wp--custom--abstand--stempel-klein);
	background: var(--marke);
}
.webinar-kachel__foto {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.webinar-kachel__ersatz {
	display: grid;
	place-items: center;
	height: 100%;
	color: var(--wp--preset--color--gruen-700);
}
.webinar-kachel__ersatz svg {
	width: clamp(64px, 8vw, 96px);
	height: auto;
}
.webinar-kachel__text {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 10px;
	padding: var(--wp--custom--abstand--karte-innen);
}
body .webinar-kachel__text > * {
	margin: 0;
}
.webinar-kachel__termin {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	font-size: var(--wp--preset--font-size--klein-15);
	font-weight: 700;
	line-height: 1.45;
}
.webinar-kachel__termin svg {
	flex: none;
	margin-top: 3px;
	color: var(--wp--preset--color--gruen-700);
}
.webinar-kachel__termin > span {
	display: flex;
	flex-direction: column;
}
.webinar-kachel__uhrzeit {
	font-weight: 400;
}
.webinar-kachel__titel {
	font-size: var(--wp--preset--font-size--kartentitel);
	line-height: 1.3;
	/* Gleich lange Zeilen; kurze Wörter bindet render.php (foerder_kurzwoerter_binden). */
	text-wrap: balance;
}
/* Spezifischer als die Linkfarbe in Listenpunkten (:is(p, li, dd) a:not([class])), denn jede Kachel ist ein Listenpunkt. */
.webinarliste .webinar-kachel__titel a {
	color: inherit;
	text-decoration: none;
}
.webinar-kachel__titel a::after {
	content: "";
	position: absolute;
	inset: 0;
}
.webinar-kachel:hover .webinar-kachel__titel a {
	text-decoration: underline;
	text-underline-offset: 4px;
}
.webinar-kachel__titel a:focus-visible {
	outline: none;
}
.webinar-kachel__titel a:focus-visible::after {
	outline: var(--fokus);
	outline-offset: 3px;
}
.webinar-kachel__kurz {
	font-size: var(--wp--preset--font-size--klein-15);
	line-height: 1.55;
}
.webinar-kachel__meta {
	font-size: var(--wp--preset--font-size--klein-13);
	color: var(--wp--preset--color--grau-700);
}
.webinar-kachel__status {
	align-self: flex-start;
	padding: 2px 8px;
	background: var(--wp--preset--color--ocker-50);
	color: var(--wp--preset--color--ocker-800);
	font-size: var(--wp--preset--font-size--klein-13);
	font-weight: 700;
}
.webinar-kachel__status--abgesagt {
	background: var(--wp--preset--color--schwarz);
	color: var(--wp--preset--color--weiss);
}
/* Der Anmeldeknopf liegt über der Klickfläche der Kachel und führt direkt zur Anmeldung. */
body .webinar-kachel__aktion {
	position: relative;
	z-index: 2;
	margin-top: auto;
	padding-top: 6px;
}

/* === Webinare: Detailseite (Vorlage „single-webinar“) === */
.kopf-spalten > .wp-block-post-featured-image {
	position: relative;
	z-index: 2;
	flex: 5 1 20rem;
	min-width: 0;
	margin: 0 16px 16px 0;
}
.kopf-spalten > .wp-block-post-featured-image img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	box-shadow: 16px 16px 0 0 var(--marke);
}
.kopf-spalten > .wp-block-post-featured-image::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: var(--wp--custom--abstand--stempel);
	height: var(--wp--custom--abstand--stempel);
	background: var(--wp--preset--color--gruen-900);
}
@media (max-width: 59.99em) {
	.kopf-spalten > .wp-block-post-featured-image {
		display: none;
	}
}
body .kopf-text > .wp-block-post-excerpt {
	margin-block-start: clamp(12px, 1.8vw, 24px);
}
.kopf-text .wp-block-post-excerpt__excerpt {
	max-width: 34em;
	margin: 0;
	font-size: var(--wp--preset--font-size--einleitung);
	line-height: 1.5;
	text-wrap: balance;
}
@media (max-width: 599px) {
	.kopf-text .wp-block-post-excerpt__excerpt {
		font-size: 1rem;
	}
}
.webinar-termin {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 24px clamp(24px, 3vw, 40px);
}
.webinar-termin__angaben {
	flex: 3 1 30rem;
	min-width: 0;
}
.webinar-termin__aktion {
	flex: 2 1 18rem;
	min-width: 0;
}
body .webinar-termin__aktion > * {
	margin: 0;
}
body .webinar-termin__aktion > * + * {
	margin-block-start: 16px;
}
.webinar-termin__hinweis {
	font-weight: 700;
}
body .webinar-inhalt > * + * {
	margin-block-start: 1em;
}
/* Zusatz „(BAFA, extern)“ auf der dunkelgrünen Primärkarte in Weiß statt Grau (Kontrast). */
.is-style-karte-primaer .zusatz {
	color: var(--wp--preset--color--weiss);
}
/* Kacheltitel schwarz wie auf den Wegekarten. */
.webinar-kachel__titel {
	color: var(--wp--preset--color--schwarz);
}
