/*
 * Sun Clean 24 – Grundregeln der Bausteine (Designrichtlinie Abschnitte 3.3, 4, 6.4, 7 und 13).
 * Nur Werte aus theme.json (var(--wp--preset--…) und var(--wp--custom--…)), keine festen Farbwerte.
 * Die einzelnen Bausteine (Kopf, Mega-Menü, Kacheln, Slider …) kommen in den Schritten 22 bis 26 dazu.
 */

/* ---------- Bereichsfarbe einer Seite (3.3): --c = Farbe, --t = Tönung ---------- */
body {
	--c: var(--wp--preset--color--marineblau);
	--t: var(--wp--preset--color--wasserblau-hell);
}
body.bereich-reinigung, .is-style-bereich-reinigung {
	--c: var(--wp--preset--color--reinigung);
	--t: var(--wp--preset--color--reinigung-hell);
}
body.bereich-entruempelung, .is-style-bereich-entruempelung {
	--c: var(--wp--preset--color--entruempelung);
	--t: var(--wp--preset--color--entruempelung-hell);
}
body.bereich-winterdienst, .is-style-bereich-winterdienst {
	--c: var(--wp--preset--color--winterdienst);
	--t: var(--wp--preset--color--winterdienst-hell);
}
body.bereich-gartenpflege, .is-style-bereich-gartenpflege {
	--c: var(--wp--preset--color--gartenpflege);
	--t: var(--wp--preset--color--gartenpflege-hell);
}
body.bereich-kleinreparaturen, .is-style-bereich-kleinreparaturen {
	--c: var(--wp--preset--color--kleinreparaturen);
	--t: var(--wp--preset--color--kleinreparaturen-hell);
}
body.bereich-umzuege, .is-style-bereich-umzuege {
	--c: var(--wp--preset--color--umzuege);
	--t: var(--wp--preset--color--umzuege-hell);
}

/* ---------- Fokusring (13): Link-Blau mit weißem Innenring ---------- */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline: 3px solid var(--wp--preset--color--link-blau);
	outline-offset: 2px;
	box-shadow: 0 0 0 2px var(--wp--preset--color--weiss);
}
/* Auf Bereichs- und dunklen Farbflächen weißer Ring */
.auf-farbe :where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline-color: var(--wp--preset--color--weiss);
}
/* Auf Sonnengold-Flächen Ring in Tinte (Ausnahme vom 22.10.2026, Kontrastbericht docs/kontraste.md) */
.auf-gold :where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline-color: var(--wp--preset--color--tinte);
}

/* ---------- Knöpfe (7): Mindesthöhe 50 px ---------- */
.wp-element-button,
.wp-block-button__link {
	min-height: 50px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

/* ---------- Überschriften (4) ---------- */
h1, h2, h3, h4, h5, h6 {
	text-wrap: balance;
}
@media (max-width: 600px) {
	h1, h2, h3, h4, h5, h6 {
		hyphens: auto;
		overflow-wrap: break-word;
	}
	/* Lange Wörter umbrechen statt seitlich überstehen (WCAG 1.4.10 bei 320 px, Schritt 92) */
	p, li, dd, dt, figcaption, td, th {
		overflow-wrap: break-word;
	}
	/* Knöpfe dürfen auf dem Handy umbrechen (12) */
	.wp-element-button,
	.wp-block-button__link {
		white-space: normal;
	}
}

/* ---------- Bewegung (6.4): ohne Animationen, wenn gewünscht ---------- */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}

/* =====================================================================
 * Kopfbereich (8.1), Untermenüs (8.2), Handy-Menü (8.4), Handy-Leiste (8.5) – Schritt 22
 * ===================================================================== */

/* ---------- Kopf: weiß, 3 px Goldkante oben, 1 px Linie unten, nicht klebend ---------- */
.kopfbereich {
	background:
		var(--wp--preset--gradient--gold) top / 100% 3px no-repeat,
		var(--wp--preset--color--weiss);
	padding-top: 3px;
	box-shadow: inset 0 -1px 0 var(--wp--preset--color--linie);
}
.kopfbereich__zeile {
	min-height: calc(var(--wp--custom--kopf--hoehe) - 3px);
	gap: var(--wp--preset--spacing--l);
}
.kopfbereich__rechts {
	gap: var(--wp--preset--spacing--m);
	align-self: stretch;
}
.kopfbereich .logo {
	display: flex;
	align-items: center;
	min-height: 44px; /* Tippfläche (Designrichtlinie 12); das Logo selbst bleibt 36 bzw. 48 px hoch */
	line-height: 0;
}
.kopfbereich .logo img {
	height: var(--wp--custom--kopf--logo);
	width: auto;
}

/* ---------- Hauptmenü auf dem Desktop ---------- */
.hauptmenue .wp-block-navigation__responsive-container:not(.is-menu-open) .nur-handy {
	display: none;
}
@media (min-width: 901px) {
	.kopfbereich .hauptmenue,
	.kopfbereich .hauptmenue .wp-block-navigation__responsive-container,
	.kopfbereich .hauptmenue .wp-block-navigation__responsive-close,
	.kopfbereich .hauptmenue .wp-block-navigation__responsive-dialog,
	.kopfbereich .hauptmenue .wp-block-navigation__responsive-container-content,
	.kopfbereich .hauptmenue .wp-block-navigation__container {
		align-self: stretch;
		align-items: stretch;
		height: 100%;
	}
	.hauptmenue .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content {
		display: flex;
		align-items: center;
		align-self: stretch;
		padding: 0 14px;
		font-size: 17px;
		font-weight: 500;
		text-decoration: none;
	}
	.hauptmenue .wp-block-navigation__container > .has-child > .wp-block-navigation-item__content {
		padding-right: 4px;
	}
	.hauptmenue .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation__submenu-icon {
		align-self: center;
		margin: 0 10px 0 0;
		width: 14px;
		height: 14px;
	}
	.hauptmenue .wp-block-navigation__submenu-icon svg {
		width: 14px;
		height: 14px;
		transition: transform 0.2s;
	}
	.hauptmenue .has-child:hover > .wp-block-navigation__submenu-icon svg,
	.hauptmenue .has-child:focus-within > .wp-block-navigation__submenu-icon svg,
	.hauptmenue .wp-block-navigation__submenu-icon[aria-expanded="true"] svg {
		transform: rotate(180deg);
	}
	/* Darüberfahren, Fokus, aktueller Bereich: Marineblau mit 3 px Strich unten */
	.hauptmenue .wp-block-navigation__container > .wp-block-navigation-item:hover,
	.hauptmenue .wp-block-navigation__container > .wp-block-navigation-item:focus-within,
	.hauptmenue .wp-block-navigation__container > .current-menu-item,
	.hauptmenue .wp-block-navigation__container > .current-menu-ancestor,
	.hauptmenue .wp-block-navigation__container > .wp-block-navigation-item:has([aria-current="page"]) {
		color: var(--wp--preset--color--marineblau);
		box-shadow: inset 0 -3px 0 var(--wp--preset--color--marineblau);
	}

	/* ---------- Untermenüs (8.2) ---------- */
	.hauptmenue .wp-block-navigation__submenu-container {
		min-width: 250px !important;
		padding: 10px;
		background: var(--wp--preset--color--weiss) !important;
		border: 1px solid var(--wp--preset--color--linie) !important;
		border-top: 3px solid var(--wp--preset--color--sonnengold) !important;
		border-radius: 0 0 14px 14px;
		box-shadow: var(--wp--preset--shadow--menue);
		color: var(--wp--preset--color--tinte) !important;
	}
	.hauptmenue .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
		display: flex;
		justify-content: space-between;
		align-items: center;
		gap: 12px;
		width: 100%;
		padding: 11px 14px !important;
		border-radius: 8px;
		font-size: 15px;
		font-weight: 500;
		text-decoration: none;
	}
	.hauptmenue .wp-block-navigation__submenu-container .wp-block-navigation-item__content::after {
		content: "›";
		color: var(--wp--preset--color--gold-text);
		transition: transform 0.2s;
	}
	.hauptmenue .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover,
	.hauptmenue .wp-block-navigation__submenu-container .wp-block-navigation-item__content:focus-visible {
		background: var(--wp--preset--color--wasserblau-hell);
	}
	.hauptmenue .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover::after,
	.hauptmenue .wp-block-navigation__submenu-container .wp-block-navigation-item__content:focus-visible::after {
		transform: translateX(3px);
	}
	.hauptmenue .wp-block-navigation__submenu-container [aria-current="page"] {
		background: var(--wp--preset--color--wasserblau-hell);
		box-shadow: inset 3px 0 0 var(--wp--preset--color--marineblau);
	}
}

/* ---------- Knopf "Angebot anfragen" im Kopf ---------- */
.kopf-knopf {
	flex-shrink: 0;
	align-self: center;
}

/* ---------- Tablet und Handy (bis 900 px): Kopf 72 px, Logo 36 px, Handy-Menü ---------- */
@media (max-width: 900px) {
	.kopfbereich__zeile {
		min-height: calc(var(--wp--custom--kopf--hoehe-handy) - 3px);
	}
	.kopfbereich .logo img {
		height: var(--wp--custom--kopf--logo-handy);
	}
	.kopfbereich__rechts {
		align-self: center;
		gap: var(--wp--preset--spacing--s);
	}
	.kopf-knopf .wp-block-button__link {
		min-height: 44px;
		padding: 0 18px;
		font-size: 15px;
	}
	/* Der Navigationsblock schaltet erst bei 600 px um; zwischen 601 und 900 px ebenfalls das Handy-Menü */
	.hauptmenue .wp-block-navigation__responsive-container-open:not(.always-shown) {
		display: flex;
	}
	.hauptmenue .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
		display: none;
	}
}

/* Knopf "Menü": Pille 48 px mit drei Strichen und dem Wort */
.hauptmenue .wp-block-navigation__responsive-container-open {
	align-items: center;
	gap: 8px;
	min-height: 48px;
	padding: 0 16px;
	border: 1.5px solid var(--wp--preset--color--linie);
	border-radius: var(--wp--custom--radius--rund);
	background: var(--wp--preset--color--weiss);
	color: var(--wp--preset--color--tinte);
	font: 600 16px/1 var(--wp--preset--font-family--archivo);
}
.hauptmenue .wp-block-navigation__responsive-container-open::after {
	content: "Menü";
}
.hauptmenue .wp-block-navigation__responsive-container-open svg {
	width: 20px;
	height: 20px;
}

/* ---------- Geöffnetes Handy-Menü: Fläche unter dem Kopf, Seite abgedunkelt ---------- */
.hauptmenue .wp-block-navigation__responsive-container.is-menu-open {
	top: calc(var(--wp-admin--admin-bar--height, 0px) + var(--wp--custom--kopf--hoehe-handy));
	padding: 0;
	animation: none;
	background: color-mix(in srgb, var(--wp--preset--color--marineblau-tief) 55%, transparent) !important;
}
.hauptmenue .is-menu-open .wp-block-navigation__responsive-dialog {
	margin-top: 0 !important;
	max-height: calc(100vh - var(--wp-admin--admin-bar--height, 0px) - var(--wp--custom--kopf--hoehe-handy));
	overflow-y: auto;
	background: var(--wp--preset--color--weiss);
}
.hauptmenue .is-menu-open .wp-block-navigation__responsive-container-content {
	padding: 8px var(--wp--preset--spacing--seitenrand) 0 !important;
	align-items: stretch !important;
}
.hauptmenue .is-menu-open .wp-block-navigation__container {
	width: 100%;
	gap: 0 !important;
	align-items: stretch !important;
}
/* Schließen-Knopf des Blocks sitzt an der Stelle des Menü-Knopfs im Kopf: Marineblau, Kreuz und "Schließen" */
.hauptmenue .is-menu-open .wp-block-navigation__responsive-container-close {
	position: fixed;
	top: calc(var(--wp-admin--admin-bar--height, 0px) + 12px);
	right: var(--wp--preset--spacing--seitenrand);
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 48px;
	padding: 0 16px;
	border-radius: var(--wp--custom--radius--rund);
	background: var(--wp--preset--color--marineblau);
	color: var(--wp--preset--color--weiss);
	font: 600 16px/1 var(--wp--preset--font-family--archivo);
}
.hauptmenue .is-menu-open .wp-block-navigation__responsive-container-close::after {
	content: "Schließen";
}
.hauptmenue .is-menu-open .wp-block-navigation__responsive-container-close svg {
	width: 20px;
	height: 20px;
	fill: currentColor;
}
/* Einträge: Hauptpunkte 19 px / 60 px, Unterpunkte 16,5 px / 48 px */
.hauptmenue .is-menu-open .wp-block-navigation__container > .wp-block-navigation-item {
	position: relative;
	display: flex;
	flex-direction: row !important;
	flex-wrap: wrap;
	align-items: stretch !important;
	width: 100%;
	border-bottom: 1px solid var(--wp--preset--color--linie);
}
.hauptmenue .is-menu-open .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content {
	flex: 1 1 0;
	min-width: 0;
	width: auto !important;
	display: flex;
	align-items: center;
	min-height: 60px;
	font-size: 19px;
	font-weight: 600;
	text-decoration: none;
}
.hauptmenue .is-menu-open .wp-block-navigation__submenu-icon {
	display: none !important;
}
.hauptmenue .is-menu-open .wp-block-navigation__submenu-container {
	flex-basis: 100%;
	width: 100%;
	padding: 0 0 12px !important;
	gap: 0 !important;
}
.hauptmenue .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item {
	display: block !important;
	width: 100%;
}
.hauptmenue .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	box-sizing: border-box;
	display: flex;
	align-items: center;
	width: 100%;
	min-height: 48px;
	padding: 0 12px !important;
	font-size: 16.5px;
	text-decoration: none;
}
.hauptmenue .is-menu-open .wp-block-navigation__submenu-container [aria-current="page"] {
	background: var(--wp--preset--color--wasserblau-hell);
	box-shadow: inset 3px 0 0 var(--wp--preset--color--marineblau);
}
/* Aktueller Bereich: Marineblau mit 28 × 3 px Goldstrich unter dem Wortanfang */
.hauptmenue .is-menu-open .current-menu-ancestor > .wp-block-navigation-item__content,
.hauptmenue .is-menu-open .wp-block-navigation__container > .wp-block-navigation-item:has([aria-current="page"]) > .wp-block-navigation-item__content {
	color: var(--wp--preset--color--marineblau);
	background: linear-gradient(var(--wp--preset--color--sonnengold), var(--wp--preset--color--sonnengold)) left calc(50% + 16px) / 28px 3px no-repeat;
}
/* Letzter Eintrag "Angebot anfragen" als Knopf auf Wasserblau hell */
.hauptmenue .is-menu-open .menue-knopf {
	border-bottom: 0 !important;
	margin-top: 16px;
	padding: 16px 0 calc(16px + env(safe-area-inset-bottom));
	background: var(--wp--preset--color--wasserblau-hell) !important;
	box-shadow: 0 0 0 100vmax var(--wp--preset--color--wasserblau-hell) !important;
	clip-path: inset(0 -100vmax);
}
.hauptmenue .is-menu-open .menue-knopf > .wp-block-navigation-item__content {
	justify-content: center;
	min-height: 56px !important;
	border-radius: var(--wp--custom--radius--rund);
	background: var(--wp--preset--color--sonnengold);
	color: var(--wp--preset--color--tinte);
	font-size: 16px !important;
}
.hauptmenue .is-menu-open .menue-knopf > .wp-block-navigation-item__content:hover {
	background: var(--wp--custom--farbe--sonnengold-hover);
}

/* ---------- Akkordeon (nur mit menue.js; ohne Skript sind alle Gruppen offen) ---------- */
.akkordeon-knopf {
	display: none;
}
.hauptmenue.js-akkordeon .is-menu-open .akkordeon-knopf {
	display: flex;
	flex: 0 0 48px;
	align-items: center;
	justify-content: center;
	width: 48px;
	min-height: 60px;
	padding: 0;
	border: 0;
	background: transparent;
	color: inherit;
	cursor: pointer;
}
.hauptmenue.js-akkordeon .is-menu-open .akkordeon-knopf::before {
	content: "";
	width: 10px;
	height: 10px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: translateY(-3px) rotate(45deg);
	transition: transform 0.2s;
}
.hauptmenue.js-akkordeon .is-menu-open .ist-offen > .akkordeon-knopf::before {
	transform: translateY(3px) rotate(-135deg);
}
.hauptmenue.js-akkordeon .is-menu-open .wp-block-navigation__container > .has-child:not(.ist-offen) > .wp-block-navigation__submenu-container {
	display: none !important;
}

/* ---------- Handy-Leiste (8.5): nur bis 600 px, unten klebend ---------- */
.handyleiste-bereich {
	display: none;
}
@media (max-width: 600px) {
	.kopfbereich .wp-block-buttons.kopf-knopf {
		display: none;
	}
	.handyleiste-bereich {
		display: block;
		position: sticky;
		bottom: 0;
		z-index: 50;
	}
	/* Fokussierte Elemente nicht hinter der Leiste verstecken (WCAG 2.4.11): Browser scrollen mit diesem Abstand (Schritt 92) */
	html:has(.handyleiste-bereich) {
		scroll-padding-bottom: 88px;
	}
	/* Solange das Einwilligungs-Fenster von Complianz offen ist, weicht die Leiste (Designrichtlinie 8.5) */
	body:has(.cmplz-cookiebanner.cmplz-show) .handyleiste-bereich {
		display: none;
	}
	.handyleiste {
		padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
		background: var(--wp--preset--color--weiss);
		border-top: 1px solid var(--wp--preset--color--linie);
		box-shadow: var(--wp--preset--shadow--leiste);
	}
	.handyleiste__knoepfe {
		width: 100%;
		gap: 10px;
	}
	.handyleiste__anrufen {
		flex: 1;
	}
	.handyleiste__angebot {
		flex: 1.5;
	}
	.handyleiste .wp-block-button__link {
		width: 100%;
		min-height: 50px;
		padding: 0 12px;
	}
	.handyleiste__anrufen .wp-block-button__link {
		border: 2px solid var(--wp--preset--color--marineblau);
		background: transparent;
		color: var(--wp--preset--color--marineblau);
		gap: 8px;
	}
	/* Telefon-Symbol vor „Anrufen“ (Designrichtlinie 8.5) */
	.handyleiste__anrufen .wp-block-button__link::before {
		content: "";
		width: 18px;
		height: 18px;
		flex: none;
		background: currentColor;
		-webkit-mask: url(../icons/phone.svg) center / contain no-repeat;
		mask: url(../icons/phone.svg) center / contain no-repeat;
	}
}

/* =====================================================================
 * Mega-Menü Dienstleistungen (8.3) und im Handy-Menü (8.4) – Schritt 23
 * ===================================================================== */
.kopfbereich {
	position: relative;
}
.mega .bereich-reinigung { --c: var(--wp--preset--color--reinigung); }
.mega .bereich-entruempelung { --c: var(--wp--preset--color--entruempelung); }
.mega .bereich-winterdienst { --c: var(--wp--preset--color--winterdienst); }
.mega .bereich-gartenpflege { --c: var(--wp--preset--color--gartenpflege); }
.mega .bereich-kleinreparaturen { --c: var(--wp--preset--color--kleinreparaturen); }
.mega .bereich-umzuege { --c: var(--wp--preset--color--umzuege); }

@media (min-width: 901px) {
	/* Untermenüs ohne Lücke unter dem Menüpunkt; beim Verlassen 250 ms Verzögerung, damit schräges Fahren nicht schließt */
	.hauptmenue .wp-block-navigation__container > .has-child > .wp-block-navigation__submenu-container {
		width: auto !important;
		height: auto !important;
		overflow: visible !important;
		transition: opacity 0.15s ease 0.25s, visibility 0s linear 0.4s !important;
	}
	.hauptmenue .wp-block-navigation__container > .has-child:hover > .wp-block-navigation__submenu-container,
	.hauptmenue .wp-block-navigation__container > .has-child > [aria-expanded="true"] ~ .wp-block-navigation__submenu-container {
		transition: opacity 0.15s ease, visibility 0s linear !important;
	}

	/* Mega-Menü volle Breite unter dem Kopf: Bezug ist der Kopfbereich */
	.kopfbereich .hauptmenue,
	.kopfbereich .hauptmenue .wp-block-navigation__responsive-container,
	.kopfbereich .hauptmenue .wp-block-navigation__responsive-close,
	.kopfbereich .hauptmenue .wp-block-navigation__responsive-dialog,
	.kopfbereich .hauptmenue .wp-block-navigation__responsive-container-content,
	.kopfbereich .hauptmenue .wp-block-navigation__container,
	.kopfbereich .hauptmenue .wp-block-navigation__container > .mega {
		position: static !important;
	}
	.hauptmenue li.mega > .wp-block-navigation__submenu-container {
		position: absolute !important;
		top: 100% !important;
		left: 0 !important;
		right: 0 !important;
		z-index: 30;
		display: grid !important;
		grid-template-columns: repeat(7, minmax(0, 1fr));
		min-width: 0 !important;
		padding: 0 max(var(--wp--preset--spacing--seitenrand), calc((100% - 1200px) / 2)) !important;
		background: var(--wp--preset--color--weiss) !important;
		border: 0 !important;
		border-top: 1px solid var(--wp--preset--color--linie) !important;
		border-radius: 0 !important;
		box-shadow: var(--wp--preset--shadow--menue);
	}
	/* Spalten mit 2 px Fugen */
	.hauptmenue .mega li.mega-spalte {
		display: block !important;
		position: relative;
		padding: 22px 18px 26px;
		border-left: 2px solid var(--wp--preset--color--linie);
		background-color: var(--wp--preset--color--weiss);
		box-shadow: inset 0 5px 0 var(--c, transparent);
		transition: box-shadow 0.3s;
	}
	.hauptmenue .mega li.mega-spalte:first-of-type {
		border-left: 0;
	}
	.hauptmenue .mega li.schnellzugriff {
		background-color: var(--wp--preset--color--wasserblau-hell);
		box-shadow: none;
	}
	/* Spaltentitel: Link zur Bereichsseite */
	.hauptmenue .mega li.mega-spalte > .wp-block-navigation-item__content {
		display: block !important;
		padding: 0 0 10px !important;
		font-size: 16px !important;
		font-weight: 700 !important;
		line-height: 1.25;
		white-space: normal;
		background: none !important;
	}
	.hauptmenue .mega li.schnellzugriff > .wp-block-navigation-item__content {
		font-size: var(--wp--preset--font-size--x-small) !important;
		font-weight: 600 !important;
		letter-spacing: 0.02em;
		color: var(--wp--preset--color--tinte-sekundaer);
	}
	.hauptmenue .mega .wp-block-navigation-item__content::after {
		content: none !important;
	}
	/* Listen in den Spalten immer sichtbar, ohne eigene Knöpfe */
	.hauptmenue .mega li.mega-spalte > .wp-block-navigation__submenu-icon,
	.hauptmenue .mega li.fuer-wen > .wp-block-navigation__submenu-icon {
		display: none !important;
	}
	.hauptmenue .mega li.mega-spalte > .wp-block-navigation__submenu-container,
	.hauptmenue .mega li.fuer-wen > .wp-block-navigation__submenu-container {
		position: static !important;
		display: flex !important;
		flex-direction: column;
		gap: 2px;
		visibility: inherit !important; /* folgt dem Mega-Menü: geschlossen nicht per Tab erreichbar (Schritt 92) */
		opacity: 1 !important;
		width: auto !important;
		height: auto !important;
		min-width: 0 !important;
		padding: 0 !important;
		border: 0 !important;
		border-radius: 0 !important;
		box-shadow: none !important;
		background: transparent !important;
		color: inherit !important;
		transition: none !important;
	}
	.hauptmenue .mega li.mega-spalte > .wp-block-navigation__submenu-container .wp-block-navigation-item__content,
	.hauptmenue .mega li.fuer-wen > .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
		display: block !important;
		padding: 5px 0 !important;
		border-radius: 0 !important;
		font-size: 14.5px !important;
		font-weight: 400 !important;
		line-height: 1.35;
		white-space: normal;
		background: none !important;
		box-shadow: none !important;
	}
	.hauptmenue .mega .wp-block-navigation-item__content:hover {
		text-decoration: underline;
	}
	/* Farbfokus: Spalte füllt sich von oben mit der Bereichsfarbe, Schrift weiß; die anderen Balken grau */
	.hauptmenue .mega li.bereich {
		background-image: linear-gradient(var(--c), var(--c));
		background-repeat: no-repeat;
		background-position: top;
		background-size: 100% 0;
		transition: background-size var(--wp--custom--uebergang--fuellen), box-shadow 0.3s;
	}
	.hauptmenue .mega li.bereich:hover,
	.hauptmenue .mega li.bereich:focus-within {
		background-size: 100% 100%;
	}
	.hauptmenue .mega li.bereich:hover a,
	.hauptmenue .mega li.bereich:focus-within a {
		color: var(--wp--preset--color--weiss) !important;
	}
	.hauptmenue .mega li.bereich:focus-within :focus-visible {
		outline-color: var(--wp--preset--color--weiss);
	}
	.hauptmenue li.mega > .wp-block-navigation__submenu-container:has(li.bereich:hover, li.bereich:focus-within) li.bereich:not(:hover):not(:focus-within) {
		box-shadow: inset 0 5px 0 var(--wp--custom--farbe--gedimmt);
	}
	/* Zeile "Für wen" unter den Spalten */
	.hauptmenue .mega li.fuer-wen {
		grid-column: 1 / -1;
		display: flex !important;
		justify-content: flex-start !important;
		align-items: center;
		gap: 24px;
		padding: 14px 18px;
		border-top: 2px solid var(--wp--preset--color--linie);
	}
	.hauptmenue .mega li.fuer-wen > .wp-block-navigation-item__content {
		flex: 0 0 auto !important;
		width: auto !important;
		padding: 0 !important;
		font-size: 15px !important;
		font-weight: 700 !important;
		background: none !important;
	}
	.hauptmenue .mega li.fuer-wen > .wp-block-navigation__submenu-container {
		flex: 1 1 auto;
		flex-direction: row;
		flex-wrap: wrap;
		gap: 6px 24px;
	}
	.hauptmenue .mega li.fuer-wen > .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
		font-size: 15px !important;
	}
}

/* ---------- Handy-Menü: Dienstleistungen aufgeklappt (8.4) ---------- */
.hauptmenue .is-menu-open li.mega > .wp-block-navigation__submenu-container {
	padding-bottom: 16px !important;
}
.hauptmenue .is-menu-open .mega .mega-ueberblick > .wp-block-navigation-item__content {
	text-decoration: underline;
	text-decoration-color: var(--wp--preset--color--sonnengold);
	text-decoration-thickness: 2px;
	text-underline-offset: 4px;
	font-weight: 600;
}
/* Überzeilen "Häufig gesucht", "Leistungsbereiche", "Für wen" */
.hauptmenue .is-menu-open .mega li.schnellzugriff,
.hauptmenue .is-menu-open .mega li.fuer-wen {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: wrap !important;
	margin-top: 14px;
}
.hauptmenue .is-menu-open .mega li.schnellzugriff > .wp-block-navigation-item__content,
.hauptmenue .is-menu-open .mega li.fuer-wen > .wp-block-navigation-item__content {
	min-height: 0 !important;
	padding: 0 0 8px !important;
	font-size: var(--wp--preset--font-size--x-small) !important;
	font-weight: 600 !important;
	letter-spacing: 0.02em;
	color: var(--wp--preset--color--tinte-sekundaer);
	text-decoration: none;
}
/* Reihenfolge im Handy-Menü (Nutzer, 24.10.2026): Leistungsbereiche zuerst, danach Überblick, Häufig gesucht, Für wen */
.hauptmenue .is-menu-open li.mega > .wp-block-navigation__submenu-container {
	display: flex !important;
	flex-direction: column !important;
}
.hauptmenue .is-menu-open li.mega > .wp-block-navigation__submenu-container > li.bereich { order: 2; }
.hauptmenue .is-menu-open li.mega > .wp-block-navigation__submenu-container > .mega-ueberblick { order: 3; margin-top: 16px; }
.hauptmenue .is-menu-open li.mega > .wp-block-navigation__submenu-container > li.schnellzugriff { order: 4; }
.hauptmenue .is-menu-open li.mega > .wp-block-navigation__submenu-container > li.fuer-wen { order: 5; }
.hauptmenue .is-menu-open li.mega > .wp-block-navigation__submenu-container::before {
	content: "Leistungsbereiche";
	order: 1;
	margin-top: 8px;
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 600;
	letter-spacing: 0.02em;
	color: var(--wp--preset--color--tinte-sekundaer);
}
/* Chips */
.hauptmenue .is-menu-open .mega li.schnellzugriff > .wp-block-navigation__submenu-container,
.hauptmenue .is-menu-open .mega li.fuer-wen > .wp-block-navigation__submenu-container {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: wrap;
	flex-basis: 100%;
	width: 100% !important;
	gap: 8px !important;
	padding: 0 !important;
}
.hauptmenue .is-menu-open .mega li.schnellzugriff > .wp-block-navigation__submenu-container .wp-block-navigation-item,
.hauptmenue .is-menu-open .mega li.fuer-wen > .wp-block-navigation__submenu-container .wp-block-navigation-item {
	width: auto !important;
}
.hauptmenue .is-menu-open .mega li.schnellzugriff > .wp-block-navigation__submenu-container .wp-block-navigation-item__content,
.hauptmenue .is-menu-open .mega li.fuer-wen > .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	width: auto !important;
	min-height: 44px !important;
	padding: 0 16px !important;
	border: 1.5px solid var(--wp--preset--color--linie);
	border-radius: var(--wp--custom--radius--rund);
	font-size: 15px !important;
}
.hauptmenue .is-menu-open .mega li.schnellzugriff > .wp-block-navigation__submenu-icon,
.hauptmenue .is-menu-open .mega li.fuer-wen > .wp-block-navigation__submenu-icon {
	display: none !important;
}
/* Bereichszeilen 56 px mit Farbpunkt; aufgeklappt in der Bereichsfarbe mit weißer Schrift */
.hauptmenue .is-menu-open .mega li.bereich {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: wrap;
	margin-top: 6px;
	border-radius: var(--wp--custom--radius--kasten);
	background: var(--wp--preset--color--wasserblau-hell) !important;
}
.hauptmenue .is-menu-open .mega li.bereich > .wp-block-navigation-item__content {
	flex: 1 1 0;
	min-width: 0;
	width: auto !important;
	min-height: 56px !important;
	gap: 12px;
	padding: 0 12px !important;
	font-size: 16.5px !important;
	font-weight: 600;
}
.hauptmenue .is-menu-open .mega li.bereich > .wp-block-navigation-item__content::before {
	content: "";
	flex: 0 0 14px;
	height: 14px;
	border-radius: 50%;
	background: var(--c);
}
.hauptmenue .is-menu-open .mega li.bereich.ist-offen {
	background: var(--c) !important;
	color: var(--wp--preset--color--weiss);
}
.hauptmenue .is-menu-open .mega li.bereich.ist-offen a {
	color: var(--wp--preset--color--weiss) !important;
}
.hauptmenue .is-menu-open .mega li.bereich.ist-offen > .wp-block-navigation-item__content::before {
	background: var(--wp--preset--color--weiss);
}
/* Aktuelle Seite im aufgeklappten Bereich: ohne die helle Fläche (weiße Schrift bliebe sonst unlesbar), weißer Strich links und fett */
.hauptmenue .is-menu-open .mega li.bereich.ist-offen [aria-current="page"] {
	background: none;
	box-shadow: inset 3px 0 0 var(--wp--preset--color--weiss);
	font-weight: 700;
}
.hauptmenue .is-menu-open .mega li.bereich.ist-offen :focus-visible {
	outline-color: var(--wp--preset--color--weiss);
}
.hauptmenue .is-menu-open .mega li.bereich > .wp-block-navigation__submenu-container {
	padding: 0 12px 10px 38px !important;
}
.hauptmenue.js-akkordeon .is-menu-open .mega li.bereich > .akkordeon-knopf {
	min-height: 56px;
}
.hauptmenue.js-akkordeon .is-menu-open .mega li.bereich:not(.ist-offen) > .wp-block-navigation__submenu-container {
	display: none !important;
}

/* =====================================================================
 * Fußbereich (8.7) – Schritt 24
 * ===================================================================== */

/* ---------- Hell: Wasserblau hell, 4 px Goldverlauf oben, Tinte 15 px ---------- */
.fussbereich {
	background:
		var(--wp--preset--gradient--gold) top / 100% 4px no-repeat,
		var(--wp--preset--color--wasserblau-hell);
	color: var(--wp--preset--color--tinte);
	font-size: 0.9375rem;
	line-height: 1.6;
	padding-top: calc(64px + 4px);
	padding-bottom: 52px;
}
.fussbereich__raster {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr 1fr;
	gap: 36px 40px;
}
.fussbereich__raster > * {
	margin-block: 0;
}
.fussbereich :where(p, h2, ul) {
	margin-block: 0;
}
.fussbereich__marke > * + * {
	margin-top: 12px;
}
.fussbereich .logo {
	display: inline-block;
	line-height: 0;
	margin-bottom: 2px; /* mit 12 px Abstand zum Text: 14 px Schutzraum */
}
.fussbereich .logo img {
	height: 72px;
	width: auto;
}
.fussbereich__titel {
	font-size: 0.9375rem;
	font-weight: 700;
	line-height: 1.4;
	color: var(--wp--preset--color--marineblau);
	margin-bottom: 12px !important;
}
.fussbereich__liste {
	list-style: none;
	padding: 0;
	display: grid;
	gap: 4px;
}
.fussbereich__liste a {
	display: inline-block;
	padding-block: 2px;
	color: var(--wp--preset--color--tinte);
	text-decoration: none;
}
/* Aktuelle Seite (Schritt 65): Marineblau, halbfett */
.fussbereich__liste a[aria-current="page"] {
	color: var(--wp--preset--color--marineblau);
	font-weight: 600;
}
.fussbereich__liste a:hover,
.fussbereich__liste a:focus-visible {
	color: var(--wp--preset--color--link-blau);
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* ---------- Untere Leiste: Marineblau tief, Schrift Text auf Dunkel 14 px ---------- */
.fussbereich__leiste {
	margin-block-start: 0 !important;
	padding-block: 18px;
	color: var(--wp--custom--farbe--text-auf-dunkel);
	font-size: var(--wp--preset--font-size--x-small);
}
.fussbereich__leiste-zeile {
	gap: 6px 24px;
}
.fussbereich__leiste p {
	margin: 0;
}

/* ---------- Tablet und Handy: zwei Spalten, Marke über volle Breite ---------- */
@media (max-width: 900px) {
	.fussbereich {
		padding-top: calc(48px + 4px);
		padding-bottom: 40px;
	}
	.fussbereich__raster {
		grid-template-columns: 1fr 1fr;
		gap: 32px 24px;
	}
	.fussbereich__marke {
		grid-column: 1 / -1;
	}
	.fussbereich .logo img {
		height: 60px;
	}
	.fussbereich__leiste-zeile {
		flex-direction: column;
		align-items: flex-start !important;
	}
}
@media (max-width: 600px) {
	.fussbereich .logo img {
		height: 56px;
	}
}

/* =====================================================================
 * Seitenbausteine (9) – Schritt 25
 * ===================================================================== */

/* ---------- Nur für Bildschirmleser ---------- */
.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip-path: inset(50%);
	border: 0;
	white-space: nowrap;
}

/* ---------- Symbole (14): Lucide als Maske, Bereichssymbol über --symbol ---------- */
body {
	--symbol: url(../icons/check.svg); /* ohne Bereich: Haken statt Bereichssymbol */
}
body.bereich-reinigung, .is-style-bereich-reinigung { --symbol: url(../icons/sparkles.svg); }
body.bereich-entruempelung, .is-style-bereich-entruempelung { --symbol: url(../icons/archive.svg); }
body.bereich-winterdienst, .is-style-bereich-winterdienst { --symbol: url(../icons/snowflake.svg); }
body.bereich-gartenpflege, .is-style-bereich-gartenpflege { --symbol: url(../icons/leaf.svg); }
body.bereich-kleinreparaturen, .is-style-bereich-kleinreparaturen { --symbol: url(../icons/wrench.svg); }
body.bereich-umzuege, .is-style-bereich-umzuege { --symbol: url(../icons/truck.svg); }
.symbol-bereich { --s: var(--symbol); }
.symbol-haken { --s: url(../icons/check.svg); }
.symbol-info { --s: url(../icons/info.svg); }
.symbol-warnung { --s: url(../icons/triangle-alert.svg); }
.symbol-werkzeug { --s: url(../icons/wrench.svg); }
.symbol-telefon { --s: url(../icons/phone.svg); }
.symbol-mail { --s: url(../icons/mail.svg); }
.symbol-kamera { --s: url(../icons/camera.svg); }
.symbol-liste { --s: url(../icons/clipboard-list.svg); }
.symbol-termin { --s: url(../icons/calendar-check.svg); }
.symbol-gespraech { --s: url(../icons/messages-square.svg); }
.symbol-funkeln { --s: url(../icons/sparkles.svg); }
.symbol-blatt { --s: url(../icons/leaf.svg); }
.symbol-haus { --s: url(../icons/house.svg); }
.symbol-rueckruf { --s: url(../icons/phone-incoming.svg); }
.symbol-eine-hand { --s: url(../icons/layers.svg); }
.symbol-schild { --s: url(../icons/shield-check.svg); }
.symbol-handschlag { --s: url(../icons/handshake.svg); }
.symbol-ort { --s: url(../icons/map-pin.svg); }
.symbol-transporter { --s: url(../icons/truck.svg); }

/* Symbolkreis als Abstandhalter-Block (core/spacer, von sich aus aria-hidden) */
.wp-block-spacer.symbol {
	display: grid;
	place-items: center;
	flex: none;
	width: 56px;
	height: 56px !important;
	margin: 0 !important;
	border-radius: 50%;
	background: var(--c);
	color: var(--wp--preset--color--weiss);
}
.wp-block-spacer.symbol::before {
	content: "";
	width: 46%;
	height: 46%;
	background: currentColor;
	-webkit-mask: var(--s) center / contain no-repeat;
	mask: var(--s) center / contain no-repeat;
}

/* ---------- Goldlinie (Trenner-Stil) ---------- */
.wp-block-separator.is-style-goldlinie {
	width: 72px;
	max-width: 72px;
	height: 4px;
	margin-inline: 0 !important;
	border: 0;
	border-radius: 2px;
	background: var(--wp--preset--color--sonnengold);
	opacity: 1;
}

/* ---------- Knöpfe: Stile „Rand hell“ und „Marineblau“, Ring auf Farbflächen ---------- */
.auf-farbe .wp-block-button:not([class*="is-style-"]) .wp-block-button__link {
	box-shadow: 0 0 0 2px var(--wp--preset--color--weiss);
}
.wp-block-button.is-style-rand-hell .wp-block-button__link {
	border: 2px solid var(--wp--preset--color--weiss);
	background: transparent;
	color: var(--wp--preset--color--weiss);
}
.wp-block-button.is-style-rand-hell .wp-block-button__link:hover {
	background: color-mix(in srgb, var(--wp--preset--color--weiss) 14%, transparent);
}
.wp-block-button.is-style-marineblau .wp-block-button__link {
	background: var(--wp--preset--color--marineblau);
	color: var(--wp--preset--color--weiss);
}
.wp-block-button.is-style-marineblau .wp-block-button__link:hover {
	background: var(--wp--custom--farbe--marineblau-hover);
}

/* ---------- Haken-Liste (Listen-Stil): 28 px Häkchenkreise in Sonnengold ---------- */
.wp-block-list.is-style-haken {
	display: grid;
	gap: 12px;
	padding: 0;
	list-style: none;
	font-size: 1.125rem;
	font-weight: 550;
}
.wp-block-list.is-style-haken li {
	position: relative;
	min-height: 28px;
	padding-left: 42px;
}
.wp-block-list.is-style-haken li::before,
.wp-block-list.is-style-haken li::after {
	content: "";
	position: absolute;
	left: 0;
	top: calc(0.8em - 14px);
	width: 28px;
	height: 28px;
}
.wp-block-list.is-style-haken li::before {
	border-radius: 50%;
	background: var(--wp--preset--color--sonnengold);
}
.wp-block-list.is-style-haken li::after {
	background: var(--wp--preset--color--tinte);
	-webkit-mask: url(../icons/check.svg) center / 16px no-repeat;
	mask: url(../icons/check.svg) center / 16px no-repeat;
}

/* ---------- Abschnitte: Innenabstand und Hintergrund für Kreis-Ränder (--hg) ---------- */
.abschnitt {
	--hg: var(--wp--preset--color--weiss);
	padding-block: var(--wp--preset--spacing--abschnitt);
	margin-block-start: 0 !important;
}
.abschnitt.has-wasserblau-hell-background-color {
	--hg: var(--wp--preset--color--wasserblau-hell);
}
.abschnitt > * {
	margin-block: 0;
}
.abschnitt > * + * {
	margin-block-start: var(--wp--preset--spacing--xl) !important;
}

/* ---------- Bild-Kopf (9.2, Variante 2) ---------- */
.seitenkopf-bild {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	min-height: 600px;
	background: var(--c);
	color: var(--wp--preset--color--weiss);
	margin-block-start: 0 !important;
}
.seitenkopf-bild::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -2;
	background: linear-gradient(90deg, transparent 0%, transparent 36%,
		color-mix(in srgb, var(--c) 30%, transparent) 43%,
		color-mix(in srgb, var(--c) 72%, transparent) 50%, var(--c) 55%, var(--c) 100%);
}
.seitenkopf-bild::after {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: 48%;
	z-index: -2;
	background: linear-gradient(165deg, transparent 15%, color-mix(in srgb, var(--c) 62%, black) 100%);
	-webkit-mask-image: linear-gradient(90deg, transparent 0%, black 35%);
	mask-image: linear-gradient(90deg, transparent 0%, black 35%);
}
.seitenkopf-bild > .seitenkopf-bild__foto {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	z-index: -3;
	width: 68%;
	max-width: none !important;
	margin: 0 !important;
}
/* Foto als Cover-Block (Schritt 61): keine Mindesthöhe und kein Innenabstand des Blocks, Bildausschnitt über den Fokuspunkt */
.wp-block-cover.seitenkopf-bild__foto,
.wp-block-cover.titelbild__vollbild {
	min-height: 0;
	padding: 0;
}
.wp-block-cover.seitenkopf-bild__foto > .wp-block-cover__inner-container,
.wp-block-cover.titelbild__vollbild > .wp-block-cover__inner-container {
	display: none;
}
.seitenkopf-bild__foto img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.seitenkopf-bild__inhalt {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 18px;
	max-width: 480px !important;
	min-height: 600px;
	margin-block: 0 !important;
	margin-left: auto !important;
	margin-right: 0 !important;
	padding-block: 64px 72px;
}
.seitenkopf-bild__inhalt > * {
	margin: 0 !important;
}
.seitenkopf-bild__inhalt::after {
	content: "";
	display: none;
	position: absolute;
	right: -40px;
	bottom: -56px;
	z-index: -1;
	width: 320px;
	height: 320px;
	background: var(--wp--preset--color--weiss);
	opacity: 0.12;
	-webkit-mask: var(--symbol) center / contain no-repeat;
	mask: var(--symbol) center / contain no-repeat;
}
/* Bereichssymbol nur mit Bereich; Seiten ohne Bereich (Marineblau) haben keins */
body[class*="bereich-"] .seitenkopf-bild__inhalt::after,
[class*="is-style-bereich-"] .seitenkopf-bild__inhalt::after,
.seitenkopf-bild[class*="is-style-bereich-"] .seitenkopf-bild__inhalt::after {
	display: block;
}
.seitenkopf-bild h1 {
	font-size: var(--wp--preset--font-size--xx-large);
}
.seitenkopf-bild .wp-block-buttons {
	gap: 14px;
	margin-top: 8px !important;
}

/* ---------- Schlichter Kopf (9.2) ---------- */
.seitenkopf-schlicht {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	padding-block: 56px 64px;
	margin-block-start: 0 !important;
}
.seitenkopf-schlicht::after {
	content: "";
	position: absolute;
	right: -160px;
	top: -200px;
	z-index: -1;
	width: 560px;
	height: 560px;
	box-sizing: border-box;
	border: 72px solid var(--wp--preset--color--sonnengold);
	border-radius: 50%;
	opacity: 0.1;
}
.seitenkopf-schlicht__text {
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.seitenkopf-schlicht__text > .wp-block-post-title {
	max-width: 720px;
}
.seitenkopf-schlicht__text > * {
	margin: 0 !important;
}
.seitenkopf-schlicht__einleitung {
	max-width: 56ch;
	color: var(--wp--preset--color--tinte-sekundaer);
}

/* ---------- Raster für Kacheln und Karten (6.1): Abstand 10 px ---------- */
.karten-raster {
	gap: 10px !important;
}

/* ---------- Mehr-Link auf Kacheln und Karten (9.5) ---------- */
.mehr-link {
	align-self: flex-start;
	margin-top: auto !important;
}
.mehr-link a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	margin-left: -18px;
	padding: 0 18px;
	border-radius: var(--wp--custom--radius--rund);
	color: inherit;
	font-weight: 600;
	text-decoration: none;
	transition: background-color 0.3s, color 0.3s, margin 0.3s;
}
/* Die ganze Karte ist klickbar: Der Link wird über die Karte gezogen */
.mehr-link a::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 4;
}
.mehr-link a:focus-visible {
	outline: 0;
	box-shadow: none;
}
:is(.leistungskachel, .leistungskarte, .passt-kachel):has(.mehr-link a:focus-visible) {
	outline: 3px solid var(--wp--preset--color--link-blau);
	outline-offset: 2px;
}
.passt-kachel:has(.mehr-link a:focus-visible) {
	outline-color: var(--wp--preset--color--marineblau);
}

/* ---------- Leistungskachel und Leistungskarte (9.4) ---------- */
.leistungskachel,
.leistungskarte {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	display: flex;
	flex-direction: column;
	gap: 14px;
	min-height: 330px;
	padding: 36px 36px 32px;
	border: 1px solid var(--wp--preset--color--linie);
	background: var(--wp--preset--color--weiss);
	color: var(--wp--preset--color--tinte);
	transition: color 0.45s ease, border-color 0.45s ease;
}
.leistungskarte {
	min-height: 300px;
	padding: 34px;
}
.leistungskachel > *,
.leistungskarte > * {
	position: relative;
	z-index: 3;
	margin: 0 !important;
}
.leistungskachel::before,
.leistungskarte::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	z-index: 1;
	width: 100%;
	height: 6px;
	background: var(--c);
	transition: height var(--wp--custom--uebergang--fuellen), background-color 0.3s;
}
.leistungskachel::before {
	mix-blend-mode: multiply;
}
.leistungskachel::after,
.leistungskarte::after {
	content: "";
	position: absolute;
	right: -100px;
	bottom: -100px;
	z-index: 2;
	width: 200px;
	height: 200px;
	border-radius: 50%;
	background: var(--wp--preset--color--weiss);
	transform: scale(0);
	transition: transform var(--wp--custom--uebergang--wachsen) 0.12s;
}
.leistungskarte::after {
	right: -90px;
	bottom: -90px;
	width: 180px;
	height: 180px;
}
.leistungskachel__ueberzeile {
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 600;
	letter-spacing: 0.02em;
}
.leistungskachel h3 {
	max-width: 17ch;
	font-size: 1.6875rem;
	font-weight: 650;
}
.leistungskarte h3 {
	font-weight: 650;
}
.leistungskachel p:not(.leistungskachel__ueberzeile, .mehr-link) {
	max-width: 30ch;
	font-size: 1.03125rem;
}
.leistungskachel > .leistungskachel__foto {
	position: absolute;
	inset: 0;
	z-index: 0;
	opacity: 0;
	filter: grayscale(1) contrast(1.05) brightness(1.08);
	transform: scale(1.08);
	transition: opacity 0.6s ease 0.1s, transform 1.4s cubic-bezier(.2, .7, .2, 1);
}
.leistungskachel__foto img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.leistungskarte > .symbol {
	width: 60px;
	height: 60px !important;
	background: var(--t);
	color: var(--c);
	transition: background-color 0.3s;
}

/* Gefüllt beim Darüberfahren und bei Fokus (6.4) */
:is(.leistungskachel, .leistungskarte):is(:hover, :focus-within) {
	color: var(--wp--preset--color--weiss);
	border-color: var(--c);
}
:is(.leistungskachel, .leistungskarte):is(:hover, :focus-within)::before {
	height: 100%;
}
:is(.leistungskachel, .leistungskarte):is(:hover, :focus-within)::after {
	transform: scale(1);
}
.leistungskachel:is(:hover, :focus-within) > .leistungskachel__foto {
	opacity: 1;
	transform: scale(1);
}
.leistungskarte:is(:hover, :focus-within) > .symbol {
	background: var(--wp--preset--color--weiss);
}
:is(.leistungskachel, .leistungskarte):is(:hover, :focus-within) .mehr-link a,
.passt-kachel .mehr-link a {
	margin-left: 0;
	background: var(--wp--preset--color--blattgruen-dunkel);
	color: var(--wp--preset--color--weiss);
	box-shadow: 0 0 0 2px var(--wp--preset--color--weiss);
}
/* Die anderen Kacheln treten zurück */
.karten-raster:has(:is(.leistungskachel, .leistungskarte):hover) :is(.leistungskachel, .leistungskarte):not(:hover) {
	color: var(--wp--preset--color--tinte-sekundaer);
}
.karten-raster:has(:is(.leistungskachel, .leistungskarte):hover) :is(.leistungskachel, .leistungskarte):not(:hover)::before {
	background: var(--wp--custom--farbe--gedimmt);
}

/* Abschnitt „Leistungsbereiche“ nimmt die Tönung der überfahrenen Kachel an */
.leistungsbereiche {
	transition: background-color 0.6s ease;
}
.leistungsbereiche:has(.is-style-bereich-reinigung:is(:hover, :focus-within)) { background-color: var(--wp--preset--color--reinigung-hell) !important; }
.leistungsbereiche:has(.is-style-bereich-entruempelung:is(:hover, :focus-within)) { background-color: var(--wp--preset--color--entruempelung-hell) !important; }
.leistungsbereiche:has(.is-style-bereich-winterdienst:is(:hover, :focus-within)) { background-color: var(--wp--preset--color--winterdienst-hell) !important; }
.leistungsbereiche:has(.is-style-bereich-gartenpflege:is(:hover, :focus-within)) { background-color: var(--wp--preset--color--gartenpflege-hell) !important; }
.leistungsbereiche:has(.is-style-bereich-kleinreparaturen:is(:hover, :focus-within)) { background-color: var(--wp--preset--color--kleinreparaturen-hell) !important; }
.leistungsbereiche:has(.is-style-bereich-umzuege:is(:hover, :focus-within)) { background-color: var(--wp--preset--color--umzuege-hell) !important; }

/* ---------- Das passt dazu (9.4) ---------- */
.passt-kachel {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	display: flex;
	flex-direction: column;
	gap: 12px;
	min-height: 220px;
	padding: 32px;
	background: var(--c);
	color: var(--wp--preset--color--weiss);
}
.passt-kachel > * {
	margin: 0 !important;
}
.passt-kachel::after {
	content: "";
	position: absolute;
	right: -110px;
	bottom: -110px;
	z-index: -1;
	width: 220px;
	height: 220px;
	border-radius: 50%;
	background: var(--wp--preset--color--weiss);
	opacity: 0.14;
	transition: transform var(--wp--custom--uebergang--wachsen);
}
.passt-kachel:is(:hover, :focus-within)::after {
	transform: scale(1.5);
}
.passt-kachel h3 {
	font-size: 1.5rem;
	font-weight: 650;
}
.passt-kachel__ueberzeile {
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 600;
	letter-spacing: 0.02em;
}

/* ---------- Infokarte (9.4) ---------- */
.infokarte {
	display: grid;
	grid-template-columns: 56px minmax(0, 1fr);
	align-content: start;
	gap: 10px 20px;
	padding: 36px;
	border-top: 6px solid var(--c);
	background: var(--t);
}
.infokarte > * {
	grid-column: 2;
	margin: 0 !important;
}
.infokarte > .symbol {
	grid-column: 1;
	grid-row: 1 / span 3;
}
.infokarte :is(h2, h3) {
	font-size: 1.3125rem;
	font-weight: 650;
	line-height: 1.3;
}
.infokarte p {
	color: var(--wp--preset--color--tinte-sekundaer);
}
.infokarte a {
	color: var(--wp--preset--color--tinte);
	font-weight: 600;
}

/* ---------- Mehr im Fließtext: Block „Details“, Stil „Mehr“ (9.5) ---------- */
.wp-block-details.is-style-mehr summary {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 44px;
	font-weight: 600;
	cursor: pointer;
	list-style: none;
	text-decoration: underline;
	text-decoration-color: var(--wp--preset--color--sonnengold);
	text-decoration-thickness: 2px;
	text-underline-offset: 5px;
}
.wp-block-details.is-style-mehr summary::-webkit-details-marker {
	display: none;
}
.wp-block-details.is-style-mehr[open] summary {
	margin-bottom: var(--wp--preset--spacing--s);
}

/* ---------- Tablet, Handy, Touch für Köpfe, Kacheln und Karten ---------- */
@media (max-width: 900px) {
	.seitenkopf-bild {
		min-height: 0;
	}
	.seitenkopf-bild::before,
	.seitenkopf-bild::after,
	.seitenkopf-bild__inhalt::after {
		display: none !important;
	}
	.seitenkopf-bild > .seitenkopf-bild__foto {
		position: relative;
		width: auto;
		height: 260px;
		margin-inline: calc(var(--wp--style--root--padding-left) * -1) calc(var(--wp--style--root--padding-right) * -1) !important;
	}
	.seitenkopf-bild__inhalt {
		max-width: none !important;
		min-height: 0;
		padding-block: 40px 48px;
	}
	.leistungskachel,
	.leistungskarte {
		min-height: 0;
	}
}
@media (max-width: 600px) {
	.abschnitt {
		padding-block: 56px 64px;
	}
	.seitenkopf-bild > .seitenkopf-bild__foto {
		height: 220px;
	}
	.seitenkopf-bild .wp-block-list.is-style-haken {
		font-size: 0.96875rem;
		gap: 8px;
	}
	.seitenkopf-schlicht {
		padding-block: 32px 40px;
	}
	.seitenkopf-schlicht::after {
		right: -200px;
		top: -200px;
		width: 420px;
		height: 420px;
		border-width: 56px;
	}
	.leistungskachel {
		gap: 10px;
		padding: 22px 20px 20px;
	}
	.leistungskachel h3 {
		max-width: none;
		font-size: 1.4375rem;
	}
	.leistungskachel p:not(.leistungskachel__ueberzeile, .mehr-link) {
		max-width: none;
		font-size: 1rem;
	}
	.leistungskarte {
		gap: 12px;
		padding: 26px 24px;
	}
	.leistungskarte h3 {
		font-size: 1.375rem;
	}
	.leistungskarte > .symbol {
		width: 48px;
		height: 48px !important;
	}
	.passt-kachel {
		min-height: 0;
		padding: 26px 24px;
	}
	.passt-kachel h3 {
		font-size: 1.375rem;
	}
	.infokarte {
		grid-template-columns: 44px minmax(0, 1fr);
		gap: 10px 14px;
		padding: 24px 20px;
	}
	.infokarte > .symbol {
		width: 44px;
		height: 44px !important;
	}
	.infokarte :is(h2, h3) {
		font-size: 1.1875rem;
	}
}
/* Touch-Geräte: Kacheln und Karten dauerhaft gefüllt (9.4, 12) */
@media (hover: none) {
	.leistungskachel,
	.leistungskarte {
		color: var(--wp--preset--color--weiss);
		border-color: var(--c);
	}
	.leistungskachel::before,
	.leistungskarte::before {
		height: 100%;
	}
	.leistungskachel::after,
	.leistungskarte::after {
		transform: scale(1);
	}
	.leistungskachel > .leistungskachel__foto {
		opacity: 1;
		transform: none;
	}
	.leistungskarte > .symbol {
		background: var(--wp--preset--color--weiss);
	}
	:is(.leistungskachel, .leistungskarte) .mehr-link a {
		margin-left: 0;
		background: var(--wp--preset--color--blattgruen-dunkel);
		color: var(--wp--preset--color--weiss);
		box-shadow: 0 0 0 2px var(--wp--preset--color--weiss);
	}
}

/* ---------- Leitsatz (4.1): Archivo 600, Zeilenhöhe 1,25 ---------- */
.has-leitsatz-font-size {
	font-weight: 600;
	line-height: 1.25;
}

/* ---------- Ablauf-Schritte (9.6): nummerierte Liste, Kreis mit Symbol und Nummer ---------- */
.ablauf-schritte {
	counter-reset: schritt;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
	gap: 40px;
	padding: 0;
	list-style: none;
	--kreis: var(--wp--preset--color--sonnengold);
	--kreis-text: var(--wp--preset--color--tinte);
	--nr: var(--wp--preset--color--marineblau);
	--nr-text: var(--wp--preset--color--weiss);
}
/* Auf Bereichsseiten: Kreis in Bereichsfarbe, Nummer in Sonnengold */
:is(body[class*="bereich-"], [class*="is-style-bereich-"]) .ablauf-schritte {
	--kreis: var(--c);
	--kreis-text: var(--wp--preset--color--weiss);
	--nr: var(--wp--preset--color--sonnengold);
	--nr-text: var(--wp--preset--color--tinte);
}
.ablauf-schritte > li {
	counter-increment: schritt;
	position: relative;
	padding-top: 100px;
	color: var(--wp--preset--color--tinte-sekundaer);
}
.ablauf-schritte > li::before,
.ablauf-schritte > li::after {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 88px;
	height: 88px;
}
.ablauf-schritte > li::before {
	border-radius: 50%;
	background: var(--kreis);
}
.ablauf-schritte > li::after {
	background: var(--kreis-text);
	-webkit-mask: var(--s, url(../icons/check.svg)) center / 36px no-repeat;
	mask: var(--s, url(../icons/check.svg)) center / 36px no-repeat;
}
.ablauf-schritte > li > strong {
	display: block;
	margin-bottom: 8px;
	color: var(--wp--preset--color--tinte);
	font-size: 1.375rem;
	font-weight: 650;
	line-height: 1.2;
}
/* Nummernkreis oben rechts am Kreis; für Bildschirmleser ausgeblendet (die Liste ist schon nummeriert) */
.ablauf-schritte > li > strong::before {
	content: counter(schritt);
	content: counter(schritt) / "";
	position: absolute;
	left: 60px;
	top: -6px;
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	box-sizing: border-box;
	border: 3px solid var(--hg, var(--wp--preset--color--weiss));
	border-radius: 50%;
	background: var(--nr);
	color: var(--nr-text);
	font-size: 0.9375rem;
	font-weight: 700;
}
/* Gestrichelte Linie zwischen den Kreisen */
.ablauf-schritte > li:not(:last-child) > strong::after {
	content: "";
	position: absolute;
	left: 104px;
	right: -28px;
	top: 43px;
	height: 2px;
	background: repeating-linear-gradient(90deg, var(--wp--preset--color--marineblau) 0 10px, transparent 10px 18px);
}
.ablauf-schritte > li > :not(strong) {
	max-width: 34ch;
}

/* Zeitstrahl (Leistungsseite): Nummernkreise links, Linie dazwischen */
.ablauf-zeitstrahl {
	counter-reset: schritt;
	display: grid;
	gap: 32px;
	padding: 0;
	list-style: none;
}
.ablauf-zeitstrahl > li {
	counter-increment: schritt;
	position: relative;
	min-height: 64px;
	padding: 6px 0 0 88px;
	color: var(--wp--preset--color--tinte-sekundaer);
}
.ablauf-zeitstrahl > li::before {
	content: counter(schritt);
	content: counter(schritt) / "";
	position: absolute;
	left: 0;
	top: 0;
	display: grid;
	place-items: center;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: var(--c);
	color: var(--wp--preset--color--weiss);
	font-size: 1.5rem;
	font-weight: 700;
}
.ablauf-zeitstrahl > li:not(:last-child)::after {
	content: "";
	position: absolute;
	left: 31px;
	top: 72px;
	bottom: -26px;
	width: 2px;
	background: var(--wp--preset--color--linie);
}
.ablauf-zeitstrahl > li > strong {
	display: block;
	margin-bottom: 6px;
	color: var(--wp--preset--color--tinte);
	font-size: 1.25rem;
	font-weight: 650;
}

/* ---------- Aufgabenliste (9.6): weiße Felder auf der Bereichstönung ---------- */
.aufgaben-abschnitt {
	background: var(--t);
}
.aufgabenliste {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
	gap: 10px;
	padding: 0;
	list-style: none;
}
.aufgabenliste > li {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 76px;
	box-sizing: border-box;
	padding: 16px 20px 16px 72px;
	background: var(--wp--preset--color--weiss);
	font-weight: 600;
	line-height: 1.3;
}
/* Punkte mit fettem Anfang (z. B. „Saubere Treppenhäuser:“): als Fließtext setzen, sonst werden Fettes und Text zwei Flex-Teile,
   die nicht gemeinsam umbrechen (auf dem Handy breiter als der Bildschirm) und das Leerzeichen dazwischen verlieren. */
.aufgabenliste > li:has(> strong) {
	display: block;
	padding-block: 18px;
	font-weight: 400;
}
.aufgabenliste > li > strong {
	font-weight: 700;
}
.aufgabenliste > li::before,
.aufgabenliste > li::after {
	content: "";
	position: absolute;
	left: 20px;
	top: calc(50% - 18px);
	width: 36px;
	height: 36px;
}
.aufgabenliste > li::before {
	border-radius: 50%;
	background: var(--c);
}
.aufgabenliste > li::after {
	background: var(--wp--preset--color--weiss);
	-webkit-mask: url(../icons/check.svg) center / 20px no-repeat;
	mask: url(../icons/check.svg) center / 20px no-repeat;
}

/* ---------- Vorteile (9.6): Liste mit Trennlinien, Kreise in Sonnengold, Bild mit runder Ecke ---------- */
.vorteile-raster {
	gap: 48px 88px !important;
	align-items: start;
}
.vorteile-raster > * {
	margin: 0 !important;
}
.vorteile-links > * + * {
	margin-top: 36px !important;
}
.vorteile-bild img {
	display: block;
	width: 100%;
	height: 340px;
	object-fit: cover;
	border-top-right-radius: var(--wp--custom--radius--bild);
}
.vorteile-liste {
	padding: 0;
	list-style: none;
}
.vorteile-liste > li {
	position: relative;
	min-height: 56px;
	padding: 22px 0 22px 78px;
	border-top: 1px solid var(--wp--preset--color--linie);
	color: var(--wp--preset--color--tinte-sekundaer);
}
.vorteile-liste > li:last-child {
	border-bottom: 1px solid var(--wp--preset--color--linie);
}
.vorteile-liste > li::before,
.vorteile-liste > li::after {
	content: "";
	position: absolute;
	left: 0;
	top: 22px;
	width: 56px;
	height: 56px;
}
.vorteile-liste > li::before {
	border-radius: 50%;
	background: var(--wp--preset--color--sonnengold);
}
.vorteile-liste > li::after {
	background: var(--wp--preset--color--tinte);
	-webkit-mask: var(--s, url(../icons/check.svg)) center / 26px no-repeat;
	mask: var(--s, url(../icons/check.svg)) center / 26px no-repeat;
}
.vorteile-liste > li > strong {
	display: block;
	padding-top: 4px;
	margin-bottom: 4px;
	color: var(--wp--preset--color--tinte);
	font-size: 1.25rem;
	font-weight: 650;
	line-height: 1.3;
}

/* ---------- Hinweise (9.7): Fachbetrieb, Steuer, Recht ---------- */
.hinweis {
	display: grid;
	grid-template-columns: 56px minmax(0, 1fr);
	align-content: start;
	gap: 8px 20px;
	padding: 32px;
	background: var(--wp--preset--color--wasserblau-hell);
}
.hinweis > * {
	grid-column: 2;
	margin: 0 !important;
}
.hinweis > .symbol {
	grid-column: 1;
	grid-row: 1 / span 4;
}
.hinweis h3 {
	font-size: 1.25rem;
	font-weight: 650;
}
.hinweis p {
	color: var(--wp--preset--color--tinte-sekundaer);
}
.hinweis a {
	color: var(--wp--preset--color--tinte);
	font-weight: 600;
}

/* Kleine Hinweise als Gruppen-Stile: Tipp, Erfolg, Fehler, Platzhalter */
.wp-block-group:is(.is-style-tipp, .is-style-erfolg, .is-style-fehler, .is-style-platzhalter) {
	padding: 14px 16px;
	border-radius: 10px;
}
.wp-block-group:is(.is-style-tipp, .is-style-erfolg, .is-style-fehler, .is-style-platzhalter) > * {
	margin-block: 0;
}
.wp-block-group:is(.is-style-tipp, .is-style-erfolg, .is-style-fehler, .is-style-platzhalter) > * + * {
	margin-top: 8px;
}
.wp-block-group.is-style-tipp {
	border: 1px solid var(--wp--custom--farbe--gold-rand);
	background: var(--wp--preset--color--gold-toenung);
}
.wp-block-group.is-style-erfolg {
	padding: 32px;
	border: 1.5px solid var(--wp--preset--color--blattgruen-dunkel);
	border-radius: var(--wp--custom--radius--kasten);
	background: var(--wp--custom--farbe--gruen-toenung);
}
.wp-block-group.is-style-erfolg :is(h2, h3) {
	color: var(--wp--preset--color--blattgruen-dunkel);
}
.wp-block-group.is-style-fehler {
	border: 1.5px solid var(--wp--preset--color--fehler);
	background: var(--wp--custom--farbe--fehler-toenung);
	font-weight: 550;
}
.wp-block-group.is-style-platzhalter {
	border: 1.5px dashed var(--wp--preset--color--gold-text);
	background: var(--wp--preset--color--gold-toenung);
	color: var(--wp--preset--color--gold-text);
	font-weight: 600;
}

/* ---------- Fragen (9.8): Block „Details“, Stil „Frage“ ---------- */
.wp-block-details.is-style-frage {
	margin: 0 !important;
	border-top: 1px solid var(--wp--preset--color--linie);
}
.wp-block-details.is-style-frage:last-child {
	border-bottom: 1px solid var(--wp--preset--color--linie);
}
.wp-block-details.is-style-frage > summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 22px 0;
	font-size: var(--wp--preset--font-size--medium);
	font-weight: 600;
	line-height: 1.3;
	cursor: pointer;
	list-style: none;
}
.wp-block-details.is-style-frage > summary::-webkit-details-marker {
	display: none;
}
.wp-block-details.is-style-frage > summary::after {
	content: "";
	flex: none;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background:
		linear-gradient(var(--wp--preset--color--tinte), var(--wp--preset--color--tinte)) center / 16px 2px no-repeat,
		linear-gradient(var(--wp--preset--color--tinte), var(--wp--preset--color--tinte)) center / 2px 16px no-repeat,
		var(--wp--preset--color--wasserblau-hell);
	transition: transform 0.3s, background-color 0.3s;
}
.wp-block-details.is-style-frage[open] > summary::after {
	transform: rotate(45deg);
	background-color: var(--wp--preset--color--sonnengold);
}
.wp-block-details.is-style-frage > :not(summary) {
	max-width: 70ch;
	margin: 0;
	padding-right: 72px;
	color: var(--wp--preset--color--tinte-sekundaer);
}
.wp-block-details.is-style-frage > :not(summary):last-child {
	padding-bottom: 26px;
}
.wp-block-details.is-style-frage > :not(summary) + :not(summary) {
	margin-top: 10px;
}

/* ---------- Kontaktblock (9.9): Bereichsfarbe oder Sonne ---------- */
.kontaktblock {
	position: relative;
	overflow: hidden;
	isolation: isolate;
	padding-block: 96px;
	background: var(--c);
	color: var(--wp--preset--color--weiss);
	margin-block-start: 0 !important;
}
.kontaktblock::after {
	content: "";
	position: absolute;
	right: -180px;
	bottom: -260px;
	z-index: -1;
	width: 620px;
	height: 620px;
	border-radius: 50%;
	background: var(--wp--preset--color--weiss);
	opacity: 0.08;
}
.kontaktblock__raster {
	gap: 32px 88px !important;
	align-items: end;
}
.kontaktblock__raster > * {
	margin: 0 !important;
}
.kontaktblock h2 {
	font-size: clamp(2.125rem, 4vw, 3.375rem);
}
.kontaktblock__text > * {
	margin-block: 0;
}
.kontaktblock__text > * + * {
	margin-top: 22px;
}
.kontaktblock__text > p:first-child {
	max-width: 44ch;
	font-size: var(--wp--preset--font-size--medium);
}
.kontaktblock__text .wp-block-buttons {
	gap: 14px;
}
.kontaktblock__daten {
	font-weight: 550;
}
.kontaktblock--sonne {
	background: var(--wp--preset--color--sonnengold);
	color: var(--wp--preset--color--tinte);
}
.kontaktblock--sonne::after {
	background: var(--wp--preset--color--marineblau);
	opacity: 0.06;
}

/* ---------- Tablet und Handy für Paket 2 ---------- */
@media (max-width: 1100px) {
	.ablauf-schritte > li > strong::after {
		display: none;
	}
}
@media (max-width: 900px) {
	.wp-block-details.is-style-frage > :not(summary) {
		padding-right: 0;
	}
}
@media (max-width: 600px) {
	.ablauf-schritte {
		gap: 28px;
	}
	.ablauf-schritte > li {
		min-height: 64px;
		padding: 6px 0 0 82px;
	}
	.ablauf-schritte > li::before,
	.ablauf-schritte > li::after {
		width: 64px;
		height: 64px;
	}
	.ablauf-schritte > li::after {
		-webkit-mask-size: 30px;
		mask-size: 30px;
	}
	.ablauf-schritte > li > strong {
		font-size: 1.25rem;
	}
	.ablauf-schritte > li > strong::before {
		left: 44px;
		top: -8px;
		width: 28px;
		height: 28px;
		font-size: 0.8125rem;
	}
	.ablauf-zeitstrahl > li {
		min-height: 48px;
		padding-left: 64px;
	}
	.ablauf-zeitstrahl > li::before {
		width: 48px;
		height: 48px;
		font-size: 1.25rem;
	}
	.ablauf-zeitstrahl > li:not(:last-child)::after {
		left: 23px;
		top: 56px;
	}
	.aufgabenliste > li {
		min-height: 60px;
		padding: 14px 16px 14px 64px;
	}
	.aufgabenliste > li::before,
	.aufgabenliste > li::after {
		left: 16px;
	}
	.vorteile-raster {
		gap: 32px !important;
	}
	.vorteile-links > * + * {
		margin-top: 24px !important;
	}
	.vorteile-bild img {
		height: 180px;
		border-top-right-radius: var(--wp--custom--radius--bild-handy);
	}
	.vorteile-liste > li {
		min-height: 48px;
		padding: 18px 0 18px 64px;
	}
	.vorteile-liste > li::before,
	.vorteile-liste > li::after {
		top: 18px;
		width: 48px;
		height: 48px;
	}
	.vorteile-liste > li > strong {
		font-size: 1.125rem;
	}
	.hinweis {
		grid-template-columns: 44px minmax(0, 1fr);
		gap: 8px 14px;
		padding: 24px 20px;
	}
	.hinweis > .symbol {
		width: 44px;
		height: 44px !important;
	}
	.hinweis h3 {
		font-size: 1.125rem;
	}
	.wp-block-details.is-style-frage > summary::after {
		width: 38px;
		height: 38px;
	}
	.kontaktblock {
		padding-block: 64px;
	}
	.kontaktblock__raster {
		gap: 24px !important;
	}
	.kontaktblock h2 {
		font-size: 2rem;
	}
}

/* ---------- Sprungleiste (8.6): klebt oben, Anker-Links, aktiver Link in Bereichsfarbe ---------- */
html:has(.sprungleiste) {
	scroll-padding-top: 84px;
}
.sprungleiste {
	position: sticky;
	top: var(--wp-admin--admin-bar--height, 0px);
	z-index: 20;
	background: var(--wp--preset--color--weiss);
	border-bottom: 1px solid var(--wp--preset--color--linie);
	margin-block-start: 0 !important;
}
.sprungleiste__zeile {
	gap: 16px;
}
.sprungleiste__zeile > * {
	margin: 0 !important;
}
.sprungleiste__titel {
	flex: none;
	color: var(--wp--preset--color--tinte-sekundaer);
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 600;
	white-space: nowrap;
}
.sprungleiste__links {
	display: flex;
	gap: 4px;
	min-width: 0;
	padding: 0;
	list-style: none;
	overflow-x: auto;
	scrollbar-width: none;
}
.sprungleiste__links a {
	display: flex;
	align-items: center;
	min-height: 60px;
	padding: 0 14px;
	color: var(--wp--preset--color--tinte);
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
	box-shadow: inset 0 -3px 0 transparent;
	transition: box-shadow 0.2s, color 0.2s;
}
.sprungleiste__links a:is(:hover, :focus-visible, .aktiv) {
	color: var(--c);
	box-shadow: inset 0 -3px 0 var(--c);
}
.sprungleiste__links a:focus-visible {
	outline-offset: -3px;
}
.sprungleiste .wp-block-buttons {
	flex: none;
	margin-left: auto !important;
}
.sprungleiste .wp-block-button__link {
	min-height: 42px;
	padding-block: 0;
}

/* ---------- Belege (9.10): Vorher-nachher, Platzhalter für Bewertungen, Karte nach Einwilligung ---------- */
.vorher-nachher {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
	gap: 10px;
}
.vorher-nachher > figure {
	position: relative;
	margin: 0 !important;
}
.vorher-nachher img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	border-radius: 20px;
}
.vorher-nachher figcaption {
	position: absolute;
	top: 12px;
	left: 12px;
	margin: 0;
	padding: 4px 12px;
	border-radius: var(--wp--custom--radius--rund);
	background: var(--wp--preset--color--marineblau-tief);
	color: var(--wp--preset--color--weiss);
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 600;
}
/* Mit Skript: übereinander, Regler in der Mitte (Griff 44 px) */
.vorher-nachher.ist-regler {
	--p: 50;
	--x: calc(22px + (100% - 44px) * var(--p) / 100);
	display: block;
	position: relative;
	overflow: hidden;
	aspect-ratio: 16 / 10;
	border-radius: 20px;
}
.vorher-nachher.ist-regler > figure {
	position: absolute;
	inset: 0;
}
.vorher-nachher.ist-regler img {
	height: 100%;
	aspect-ratio: auto;
	border-radius: 0;
}
.vorher-nachher.ist-regler > figure:first-of-type {
	z-index: 1;
	clip-path: inset(0 calc(100% - var(--x)) 0 0);
}
.vorher-nachher.ist-regler > figure:last-of-type figcaption {
	left: auto;
	right: 12px;
}
.vorher-nachher.ist-regler::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: var(--x);
	z-index: 2;
	width: 2px;
	margin-left: -1px;
	background: var(--wp--preset--color--weiss);
	pointer-events: none;
}
.vorher-nachher__regler {
	position: absolute;
	left: 0;
	right: 0;
	top: calc(50% - 22px);
	z-index: 3;
	width: 100%;
	height: 44px;
	margin: 0;
	background: transparent;
	cursor: ew-resize;
	-webkit-appearance: none;
	appearance: none;
}
.vorher-nachher__regler::-webkit-slider-runnable-track {
	height: 44px;
	background: transparent;
}
.vorher-nachher__regler::-moz-range-track {
	height: 44px;
	background: transparent;
}
.vorher-nachher__regler::-webkit-slider-thumb {
	width: 44px;
	height: 44px;
	border: 2px solid var(--wp--preset--color--marineblau);
	border-radius: 50%;
	background: var(--wp--preset--color--weiss);
	box-shadow: var(--wp--preset--shadow--karte);
	-webkit-appearance: none;
	appearance: none;
}
.vorher-nachher__regler::-moz-range-thumb {
	box-sizing: border-box;
	width: 44px;
	height: 44px;
	border: 2px solid var(--wp--preset--color--marineblau);
	border-radius: 50%;
	background: var(--wp--preset--color--weiss);
	box-shadow: var(--wp--preset--shadow--karte);
}
.vorher-nachher__regler:focus-visible {
	outline: 0;
	box-shadow: none;
}
.vorher-nachher__regler:focus-visible::-webkit-slider-thumb {
	outline: 3px solid var(--wp--preset--color--link-blau);
	outline-offset: 2px;
}
.vorher-nachher__regler:focus-visible::-moz-range-thumb {
	outline: 3px solid var(--wp--preset--color--link-blau);
	outline-offset: 2px;
}

.beleg-platzhalter {
	display: grid;
	place-items: center;
	align-content: center;
	gap: 12px;
	min-height: 230px;
	box-sizing: border-box;
	padding: 24px;
	border: 2px dashed var(--wp--preset--color--feldrahmen);
	border-radius: 4px;
	background: var(--wp--preset--color--wasserblau-hell);
	color: var(--wp--preset--color--tinte-sekundaer);
	font-size: 0.9375rem;
	text-align: center;
}
.beleg-platzhalter > * {
	margin: 0 !important;
}
.beleg-platzhalter a {
	color: var(--wp--preset--color--tinte);
	font-weight: 600;
}

.karte-einwilligung {
	display: grid;
	place-items: center;
	min-height: 420px;
	box-sizing: border-box;
	padding: 24px;
	border-radius: 14px;
	background:
		linear-gradient(var(--wp--preset--color--linie) 1px, transparent 1px) 0 0 / 40px 40px,
		linear-gradient(90deg, var(--wp--preset--color--linie) 1px, transparent 1px) 0 0 / 40px 40px,
		var(--wp--preset--color--wasserblau-hell);
}
.karte-einwilligung__kasten {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 14px;
	width: min(480px, 100%);
	box-sizing: border-box;
	padding: 28px;
	border-radius: 14px;
	background: var(--wp--preset--color--weiss);
	box-shadow: var(--wp--preset--shadow--karte);
}
.karte-einwilligung__kasten > * {
	margin: 0 !important;
}
.karte-einwilligung__kasten h3 {
	font-size: 1.25rem;
	font-weight: 700;
}
.karte-einwilligung__kasten p {
	color: var(--wp--preset--color--tinte-sekundaer);
}

.karte-einwilligung__kasten .wp-block-button__link {
	cursor: pointer;
}
/* Seite Cookie-Einstellungen: Auswahl von Complianz ([cmplz-manage-consent]) in Hausfarben, Häkchen wie in den Formularen (22 px) */
.rechtstext input.cmplz-consent-checkbox {
	width: 22px;
	height: 22px;
	accent-color: var(--wp--preset--color--marineblau);
	cursor: pointer;
}
.rechtstext .cmplz-category-toggle {
	min-width: 44px;
	min-height: 44px;
}
/* Banner: „Dienste verwalten“ führt zu einer Liste, die die Seite Cookie-Einstellungen nicht hat; die Auswahl gibt es unter „Einstellungen“ */
.cmplz-cookiebanner .cmplz-manage-third-parties {
	display: none !important;
}
/* „Immer aktiv“: Complianz setzt Größe und Farbe über eigene Variablen */
.rechtstext #cmplz-manage-consent-container {
	--cmplz_category_header_active_font_size: var(--wp--preset--font-size--small);
	--cmplz_category_header_always_active_color: var(--wp--preset--color--tinte-sekundaer);
}

/* Nach dem Laden (assets/js/karte.js): Karte füllt die Fläche, darunter der Link zu OpenStreetMap */
.karte-einwilligung.ist-geladen {
	display: block;
	min-height: 0;
	padding: 0;
	background: none;
}
.karte-einwilligung.ist-geladen iframe {
	display: block;
	width: 100%;
	height: 420px;
	border: 1px solid var(--wp--preset--color--linie);
	border-radius: 14px;
	box-sizing: border-box;
}
.karte-einwilligung__link {
	display: inline-block;
	margin-top: 10px;
	font-size: var(--wp--preset--font-size--small);
}

/* ---------- Handy für Paket 3 ---------- */
@media (max-width: 600px) {
	.sprungleiste__titel,
	.sprungleiste .wp-block-buttons {
		display: none;
	}
	.sprungleiste__links a {
		min-height: 52px;
		padding: 0 12px;
		font-size: 0.9375rem;
	}
	.vorher-nachher img,
	.vorher-nachher.ist-regler {
		aspect-ratio: 4 / 3;
	}
	.beleg-platzhalter {
		min-height: 140px;
	}
	.karte-einwilligung {
		min-height: 360px;
		padding: 16px;
	}
	.karte-einwilligung__kasten {
		padding: 22px 20px;
	}
	.karte-einwilligung.ist-geladen iframe {
		height: 360px;
	}
}

/* =====================================================================
 * Seitenvorlagen (10) – Schritt 26
 * ===================================================================== */

/* Kopf, Inhalt und Fuß stoßen ohne Lücke aneinander; die Abschnitte bringen ihre Abstände selbst mit */
.wp-site-blocks > * {
	margin-block-start: 0;
}
main > .wp-block-post-content > :last-child:not(.alignfull) {
	margin-bottom: var(--wp--preset--spacing--abschnitt);
}
.abschnitt--ohne-oben {
	padding-top: 0;
}

/* ---------- Einleitung der Startseite (9.3) ---------- */
.einleitung {
	padding-block: 72px 96px;
	margin-block-start: 0 !important;
}
.einleitung__raster {
	gap: 40px 88px !important;
	align-items: end;
}
.einleitung__raster > * {
	margin: 0 !important;
}
.einleitung__titel {
	font-size: clamp(2.25rem, 4.3vw, 3.625rem);
}
.einleitung__text p {
	max-width: 50ch;
	color: var(--wp--preset--color--tinte-sekundaer);
}
.einleitung__text > * + * {
	margin-top: 22px !important;
}
.aktionen {
	gap: 14px 24px;
}
.aktionen > * {
	margin: 0 !important;
}
.textlink a {
	color: var(--wp--preset--color--tinte);
	font-weight: 600;
	text-decoration-thickness: 2px;
	text-decoration-color: var(--wp--preset--color--sonnengold);
	text-underline-offset: 5px;
}

/* ---------- Raster in Abschnitten ---------- */
.zwei-spalten {
	gap: 24px 64px !important;
	align-items: start;
}
.zwei-spalten > * {
	margin: 0 !important;
}
.belege__raster {
	gap: 40px !important;
	align-items: start;
}
.belege__raster > *,
.beleg > * {
	margin: 0 !important;
}
.beleg > * + *,
.bewertungen > * + * {
	margin-top: 16px !important;
}
.belege h2 {
	font-size: 1.625rem;
	font-weight: 650;
}

/* Inhalt mit Seitenleiste (Leistung, Formular, Stelle) */
.mit-seitenleiste {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 360px;
	gap: 48px 64px;
	align-items: start;
}
.mit-seitenleiste > * {
	margin: 0 !important;
}
.mit-seitenleiste__inhalt > * + * {
	margin-top: var(--wp--preset--spacing--l) !important;
}
.mit-seitenleiste__inhalt > h2:not(:first-child) {
	margin-top: var(--wp--preset--spacing--xxl) !important;
}
.mit-seitenleiste__inhalt h2 {
	font-size: clamp(1.75rem, 2.6vw, 2.25rem);
}
.mit-seitenleiste__leiste {
	display: flex;
	flex-direction: column;
	gap: 16px;
}
/* Stelle: Bewerbungskasten klebt, dafür reicht die Seitenleiste über die ganze Höhe */
.mit-seitenleiste__leiste:has(> .bewerbungskasten) {
	align-self: stretch;
}
.mit-seitenleiste__leiste > * {
	margin: 0 !important;
}
.seitenleiste-titel {
	font-size: var(--wp--preset--font-size--large) !important;
	font-weight: 650;
	letter-spacing: 0;
}
.aufgaben-flaeche {
	padding: 24px;
	background: var(--t);
}

/* Fragen zweispaltig (Bereichsseite): Titel links, Fragen rechts; ab 1100 px einspaltig */
.fragen-zweispaltig .fragen {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
	gap: 24px 64px;
	align-items: start;
}
.fragen-zweispaltig .fragen > * {
	margin: 0 !important;
}

/* ---------- Chips (Zielgruppen, Eckdaten, Themenfilter) ---------- */
.chips,
.themenfilter {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	padding: 0;
	list-style: none;
}
.chips > li,
.themenfilter > li {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 18px;
	border: 1.5px solid var(--wp--preset--color--linie);
	border-radius: var(--wp--custom--radius--rund);
	background: var(--wp--preset--color--weiss);
	font-size: 0.9375rem;
	font-weight: 600;
}
.chips > li:has(> a),
.themenfilter > li {
	padding: 0;
}
.chips a,
.themenfilter a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 18px;
	border-radius: inherit;
	color: var(--wp--preset--color--tinte);
	text-decoration: none;
}
.chips a:hover,
.themenfilter a:hover,
.themenfilter a:focus-visible,
.themenfilter .current-cat a {
	background: var(--c, var(--wp--preset--color--marineblau));
	color: var(--wp--preset--color--weiss);
}
/* Themenfilter: Farbpunkt in der Themenfarbe vor dem Namen ("Alle Themen" ohne Punkt) */
.themenfilter a[href*="/category/"]::before {
	content: "";
	flex: none;
	width: 10px;
	height: 10px;
	margin-right: 8px;
	border-radius: 50%;
	background: var(--c);
}
.themenfilter :is(a:hover, a:focus-visible, .current-cat a)::before {
	background: var(--wp--preset--color--weiss);
}
.themenfilter-navigation {
	margin-bottom: var(--wp--preset--spacing--l);
}
.themenfilter .cat-item-none {
	display: none;
}
.chips-kasten > * + * {
	margin-top: 16px !important;
}
.chips-kasten h2 {
	font-size: var(--wp--preset--font-size--large);
	font-weight: 650;
	letter-spacing: 0;
}

/* ---------- Formularkarte, Bewerbungskasten ---------- */
.formkarte {
	padding: 32px;
	border: 1px solid var(--wp--preset--color--linie);
	border-radius: var(--wp--custom--radius--karte);
	background: var(--wp--preset--color--weiss);
}
.bewerbungskasten {
	position: sticky;
	top: calc(var(--wp-admin--admin-bar--height, 0px) + 24px);
	padding: 32px;
	border-radius: var(--wp--custom--radius--karte);
}
.bewerbungskasten > * {
	margin-block: 0;
}
.bewerbungskasten > * + * {
	margin-top: 16px;
}

/* ---------- Sonderköpfe: Stelle, Bestätigung, Ratgeber-Beitrag ---------- */
.seitenkopf-stelle,
.artikelkopf {
	padding-block: 56px 64px;
	margin-block-start: 0 !important;
}
.seitenkopf-stelle {
	border-bottom: 8px solid var(--c);
}
.zurueck a {
	color: var(--wp--preset--color--tinte-sekundaer);
	font-size: 0.9375rem;
	font-weight: 600;
	text-decoration: none;
}
.zurueck a:hover {
	color: var(--wp--preset--color--tinte);
	text-decoration: underline;
}
.bestaetigung {
	padding-block: 72px 64px;
	text-align: center;
	margin-block-start: 0 !important;
}
.bestaetigung > * + * {
	margin-top: 20px;
}
.bestaetigung > .wp-block-spacer.symbol {
	width: 88px;
	height: 88px !important;
	margin-inline: auto !important;
	background: var(--wp--preset--color--blattgruen-dunkel);
}
.artikelkopf__text {
	display: flex;
	flex-direction: column;
	gap: 16px;
	max-width: 760px;
}
.artikelkopf__text > * {
	margin: 0 !important;
}
.artikelkopf__thema a,
.beitragskarte__thema a {
	display: inline-flex;
	align-items: center;
	min-height: 32px;
	padding: 0 14px;
	border-radius: var(--wp--custom--radius--rund);
	background: var(--c, var(--wp--preset--color--marineblau));
	color: var(--wp--preset--color--weiss);
	font-size: var(--wp--preset--font-size--x-small);
	font-weight: 600;
	text-decoration: none;
}
/* Themenmarke im Beitragskopf: sichtbar 32 px, Tippfläche 44 px (Designrichtlinie 12) */
.artikelkopf__thema a {
	position: relative;
}
.artikelkopf__thema a::after {
	content: "";
	position: absolute;
	inset: -6px 0;
}
/* Ratgeber-Themen in den Bereichsfarben (Schritt 76): Themen-Slug = Bereich, erkannt an der Adresse des Themen-Links */
:is(.themenfilter, .artikelkopf__thema, .beitragskarte__thema) a[href*="/category/reinigung/"] { --c: var(--wp--preset--color--reinigung); }
:is(.themenfilter, .artikelkopf__thema, .beitragskarte__thema) a[href*="/category/entruempelung/"] { --c: var(--wp--preset--color--entruempelung); }
:is(.themenfilter, .artikelkopf__thema, .beitragskarte__thema) a[href*="/category/winterdienst/"] { --c: var(--wp--preset--color--winterdienst); }
:is(.themenfilter, .artikelkopf__thema, .beitragskarte__thema) a[href*="/category/gartenpflege/"] { --c: var(--wp--preset--color--gartenpflege); }
:is(.themenfilter, .artikelkopf__thema, .beitragskarte__thema) a[href*="/category/kleinreparaturen/"] { --c: var(--wp--preset--color--kleinreparaturen); }
:is(.themenfilter, .artikelkopf__thema, .beitragskarte__thema) a[href*="/category/umzuege/"] { --c: var(--wp--preset--color--umzuege); }
.artikelkopf__daten {
	gap: 8px 24px;
	color: var(--wp--preset--color--tinte-sekundaer);
	font-size: 0.9375rem;
}
.artikel-text {
	padding-block: var(--wp--preset--spacing--xxl);
}

/* Inhaltsverzeichnis im Ratgeber-Beitrag (Gruppe „inhaltsverzeichnis“ mit nummerierter Liste von Sprunglinks) */
.inhaltsverzeichnis {
	padding: 24px 28px;
	border-left: 4px solid var(--wp--preset--color--sonnengold);
	background: var(--wp--preset--color--wasserblau-hell);
}
.inhaltsverzeichnis > * {
	margin: 0 !important;
}
.inhaltsverzeichnis__titel {
	font-weight: 700;
}
.inhaltsverzeichnis ol {
	margin-top: 8px !important;
	padding-left: 1.4em;
}
.inhaltsverzeichnis li + li {
	margin-top: 4px;
}
.artikel-text :is(h2, h3)[id] {
	scroll-margin-top: 120px;
}

/* ---------- Ratgeber-Übersicht: Beitragskarten ---------- */
.beitraege > * + * {
	margin-top: var(--wp--preset--spacing--xl) !important;
}
.beitragskarte {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 12px;
	height: 100%;
	box-sizing: border-box;
	padding: 30px;
	border: 1px solid var(--wp--preset--color--linie);
	border-top: 6px solid var(--wp--preset--color--marineblau);
	background: var(--wp--preset--color--weiss);
	transition: border-color 0.3s;
}
.beitragskarte > * {
	margin: 0 !important;
}
.beitragskarte h2 {
	font-size: var(--wp--preset--font-size--large);
	font-weight: 650;
	letter-spacing: 0;
}
.beitragskarte .wp-block-post-excerpt__excerpt {
	margin: 0;
	color: var(--wp--preset--color--tinte-sekundaer);
}
.beitragskarte .wp-block-read-more {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	min-height: 44px;
	margin-top: auto !important;
	color: var(--wp--preset--color--tinte);
	font-weight: 600;
	text-decoration: none;
}
.beitragskarte .wp-block-read-more::after {
	content: "";
	position: absolute;
	inset: 0;
}
.beitragskarte:is(:hover, :focus-within) {
	border-color: var(--wp--preset--color--marineblau);
}
.beitragskarte:is(:hover, :focus-within) .wp-block-read-more {
	text-decoration: underline;
}
.beitragskarte .wp-block-read-more:focus-visible {
	outline: 0;
	box-shadow: none;
}
.beitragskarte:has(.wp-block-read-more:focus-visible) {
	outline: 3px solid var(--wp--preset--color--link-blau);
	outline-offset: 2px;
}
.wp-block-query-pagination {
	gap: 8px;
	font-weight: 600;
}
.wp-block-query-pagination :is(a, .page-numbers) {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
}

/* ---------- Suche (Kopf der Service-Seite, Suchergebnisse) ---------- */
.seitenkopf-schlicht__zeile {
	gap: 24px 64px;
}
.seitenkopf-schlicht__zeile > * {
	margin: 0 !important;
}
.wp-block-search.suche {
	width: min(420px, 100%);
}
.wp-block-search.suche .wp-block-search__input {
	min-height: 52px;
	padding: 0 14px;
	border: 1.5px solid var(--wp--preset--color--feldrahmen);
	border-radius: var(--wp--custom--radius--feld);
	font: inherit;
	color: var(--wp--preset--color--tinte);
}
.wp-block-search.suche .wp-block-search__inside-wrapper {
	gap: 8px;
}
.wp-block-search.suche .wp-block-search__button {
	margin: 0;
	min-height: 52px;
}
.suchergebnisse__liste {
	padding: 0;
	list-style: none;
}
.suchergebnisse__liste > li {
	padding-block: 22px;
	border-top: 1px solid var(--wp--preset--color--linie);
}
.suchergebnisse__liste > li:last-child {
	border-bottom: 1px solid var(--wp--preset--color--linie);
}
.suchergebnisse__liste h2 {
	font-size: var(--wp--preset--font-size--large);
	font-weight: 650;
	letter-spacing: 0;
}
.suchergebnisse__liste h2 a {
	color: var(--wp--preset--color--tinte);
}
.suchergebnisse__liste .wp-block-post-excerpt__excerpt {
	margin: 8px 0 0;
	color: var(--wp--preset--color--tinte-sekundaer);
}

/* ---------- Tablet und Handy für die Vorlagen ---------- */
@media (max-width: 1100px) {
	.fragen-zweispaltig .fragen {
		grid-template-columns: minmax(0, 1fr);
	}
}
@media (max-width: 900px) {
	.mit-seitenleiste {
		grid-template-columns: minmax(0, 1fr);
	}
	.bewerbungskasten {
		position: static;
	}
}
@media (max-width: 600px) {
	.einleitung {
		padding-block: 44px 56px;
	}
	.einleitung__raster {
		gap: 20px !important;
	}
	.einleitung__titel {
		font-size: 2.125rem;
	}
	.einleitung__text p {
		max-width: none;
	}
	.seitenkopf-stelle,
	.artikelkopf {
		padding-block: 32px 40px;
	}
	.bestaetigung {
		padding-block: 48px 40px;
	}
	.formkarte,
	.bewerbungskasten {
		padding: 24px 20px;
	}
	.beitragskarte {
		padding: 24px 22px;
	}
}

/* =====================================================================
 * Titelbild-Slideshow (9.1) – Schritt 26a
 * Folien in Bereichsfarbe nutzen die Gestaltung des Bild-Kopfs (.seitenkopf-bild).
 * Ohne Skript stehen die Folien untereinander; mit Skript (.ist-bereit) liegen sie übereinander.
 * ===================================================================== */
.titelbild {
	margin-block-start: 0 !important;
}
.titelbild__buehne {
	background: var(--wp--preset--color--marineblau);
}
.titelbild__buehne > .titelbild__folie {
	margin: 0 !important;
}
/* Seitenrand wie bei den Abschnitten (die Folien liegen nicht direkt im Seiteninhalt) */
.titelbild .seitenkopf-bild {
	padding-inline: var(--wp--style--root--padding-left) var(--wp--style--root--padding-right);
}
.titelbild__folie--bild {
	position: relative;
	overflow: hidden;
	min-height: 600px;
}
.titelbild__vollbild {
	position: absolute;
	inset: 0;
	margin: 0 !important;
}
.titelbild__vollbild img,
.titelbild .seitenkopf-bild__foto img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1);
	transition: transform 7s linear;
}
/* Titel der Folien als Absatz, nicht als Überschrift: Die Slideshow steht vor der H1 der Startseite (Schritt 95, Fund 8) */
.titelbild__titel {
	font-family: var(--wp--preset--font-family--archivo);
	font-weight: 700;
	line-height: 1.03;
	letter-spacing: -0.022em;
	text-wrap: balance;
}
.titelbild :is(h2, .titelbild__titel) {
	font-size: clamp(2.125rem, 3.4vw, 3rem);
}
.titelbild .has-leitsatz-font-size {
	font-size: 1.3125rem;
}
.titelbild .seitenkopf-bild__inhalt {
	gap: 16px;
}

/* Mit Skript: Folien übereinander, Überblendung 0,9 s, Foto zoomt in 7 s von 100 auf 106 % */
.titelbild.ist-bereit .titelbild__buehne,
.js .titelbild .titelbild__buehne {
	display: grid;
}
.titelbild.ist-bereit .titelbild__folie,
.js .titelbild .titelbild__folie {
	grid-area: 1 / 1;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.9s ease, visibility 0s linear 0.9s;
}
.titelbild.ist-bereit .titelbild__folie.aktiv,
.js .titelbild:not(.ist-bereit) .titelbild__folie:first-child {
	z-index: 1;
	opacity: 1;
	visibility: visible;
	transition: opacity 0.9s ease;
}
/* Bis das Skript läuft (Klasse js setzt functions.php früh im Kopf): Folien schon übereinander und Platz für die
   Reiter-Leiste freihalten, sonst springt der Inhalt darunter beim Start (CLS 0,9 auf dem Desktop, Live-Test 08.11.2026) */
.js .titelbild:not(.ist-bereit)::after {
	content: "";
	display: block;
	height: calc(24px + 56.8px);
}
@media (min-width: 1101px) {
	.js .titelbild:not(.ist-bereit)::after {
		height: calc(24px + 64.8px);
	}
}
.titelbild.ist-bereit .titelbild__folie.aktiv img {
	transform: scale(1.06);
}
/* Inhalt gleitet 40 px von rechts herein, die Punkte nacheinander */
.titelbild.ist-bereit .seitenkopf-bild__inhalt > *,
.titelbild.ist-bereit .is-style-haken li {
	opacity: 0;
	transform: translateX(40px);
	transition: transform 0.9s cubic-bezier(.2, .7, .2, 1) 0.2s, opacity 0.6s ease 0.2s;
}
.titelbild.ist-bereit .aktiv .seitenkopf-bild__inhalt > *,
.titelbild.ist-bereit .aktiv .is-style-haken li {
	opacity: 1;
	transform: none;
}
.titelbild.ist-bereit .is-style-haken li:nth-child(2) { transition-delay: 0.35s; }
.titelbild.ist-bereit .is-style-haken li:nth-child(3) { transition-delay: 0.5s; }
.titelbild.ist-bereit .is-style-haken li:nth-child(4) { transition-delay: 0.65s; }

/* Reiter-Leiste unter der Bühne: sieben Reiter mit 5 px Balken, aktiver Reiter gefüllt, Fortschritt in 6 s */
.titelbild__leiste {
	display: flex;
	align-items: stretch;
	gap: 12px;
	padding-inline: max(var(--wp--style--root--padding-left), (100% - 1200px) / 2);
	border-bottom: 1px solid var(--wp--preset--color--linie);
	background: var(--wp--preset--color--weiss);
}
.titelbild__reiter {
	flex: 1;
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	gap: 2px;
}
.titelbild__knopf {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 64px;
	padding: 8px 10px 6px;
	border: 0;
	background: var(--wp--preset--color--weiss);
	color: var(--wp--preset--color--tinte);
	font: inherit;
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	cursor: pointer;
	transition: background-color 0.3s, color 0.3s;
}
.titelbild__knopf:hover {
	background: var(--wp--preset--color--wasserblau-hell);
}
.titelbild__knopf[aria-current] {
	background: var(--c);
	color: var(--wp--preset--color--weiss);
}
.titelbild__knopf:focus-visible {
	z-index: 1;
	outline-offset: -4px;
	box-shadow: none;
}
.titelbild__knopf[aria-current]:focus-visible {
	outline-color: var(--wp--preset--color--weiss);
}
.titelbild__balken {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	height: 5px;
	overflow: hidden;
	background: var(--c);
}
.titelbild__knopf[aria-current] .titelbild__balken {
	background: color-mix(in srgb, var(--wp--preset--color--weiss) 35%, transparent);
}
.titelbild__knopf[aria-current] .titelbild__balken::after {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--wp--preset--color--weiss);
	transform-origin: 0 50%;
	animation: titelbild-fuellen 6s linear both;
}
.titelbild:is(.angehalten, .ruht) .titelbild__balken::after {
	animation-play-state: paused;
}
@keyframes titelbild-fuellen {
	from { transform: scaleX(0); }
	to { transform: scaleX(1); }
}
/* Pause-Knopf (WCAG 2.2.2), auf allen Breiten sichtbar */
.titelbild__pause {
	align-self: center;
	flex: none;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 2px solid var(--wp--preset--color--marineblau);
	border-radius: 50%;
	background: var(--wp--preset--color--weiss);
	color: var(--wp--preset--color--tinte);
	cursor: pointer;
}
.titelbild__pause::before {
	content: "";
	width: 12px;
	height: 14px;
	background: linear-gradient(90deg, currentColor 0 4px, transparent 4px 8px, currentColor 8px);
}
.titelbild.angehalten .titelbild__pause::before {
	width: 0;
	height: 0;
	margin-left: 3px;
	border-style: solid;
	border-width: 7px 0 7px 12px;
	border-color: transparent transparent transparent currentColor;
	background: none;
}
/* Bei reduzierter Bewegung startet die Slideshow angehalten; läuft sie, bleibt der Takt bei 6 s */
@media (prefers-reduced-motion: reduce) {
	.titelbild__knopf[aria-current] .titelbild__balken::after {
		animation-duration: 6s !important;
	}
}

/* Unter 1100 px: Farbbalken statt Reiter (6 px dick, 32 px Klickhöhe) */
@media (max-width: 1100px) {
	.titelbild__leiste {
		align-items: center;
		padding-block: 6px;
	}
	.titelbild__reiter {
		gap: 6px;
	}
	.titelbild__knopf,
	.titelbild__knopf:hover,
	.titelbild__knopf[aria-current] {
		min-height: 32px;
		padding: 0;
		background: transparent;
	}
	.titelbild__name {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip-path: inset(50%);
		white-space: nowrap;
	}
	.titelbild__balken,
	.titelbild__knopf[aria-current] .titelbild__balken {
		top: calc(50% - 3px);
		height: 6px;
		border-radius: 3px;
		background: color-mix(in srgb, var(--c) 35%, transparent);
	}
	.titelbild__knopf[aria-current] .titelbild__balken::after {
		background: var(--c);
	}
	.titelbild__knopf:focus-visible,
	.titelbild__knopf[aria-current]:focus-visible {
		outline-offset: 2px;
		outline-color: var(--wp--preset--color--link-blau);
	}
}
/* Unter 900 px: Foto oben (240 px, Handy 200 px), Farbfläche mit Inhalt darunter */
@media (max-width: 900px) {
	.titelbild .seitenkopf-bild > .seitenkopf-bild__foto {
		height: 240px;
	}
	.titelbild :is(h2, .titelbild__titel) {
		font-size: 1.875rem;
	}
	.titelbild .has-leitsatz-font-size {
		font-size: 1.125rem;
	}
	.titelbild.ist-bereit .titelbild__folie--bild {
		min-height: 0; /* nimmt die Höhe der höchsten Folie an */
	}
}
@media (max-width: 600px) {
	.titelbild .seitenkopf-bild > .seitenkopf-bild__foto {
		height: 200px;
	}
	.titelbild .seitenkopf-bild__inhalt {
		gap: 12px;
		padding-block: 24px;
	}
	.titelbild :is(h2, .titelbild__titel) {
		font-size: 1.75rem;
	}
	.titelbild .has-leitsatz-font-size {
		font-size: 1.0625rem;
	}
}

/* ---------- Kopf zwischen 901 und 1100 px: kompakter, damit das Menü in einer Zeile bleibt (Schritt 26a) ---------- */
@media (min-width: 901px) and (max-width: 1100px) {
	.kopfbereich__zeile {
		gap: var(--wp--preset--spacing--m);
	}
	.kopfbereich__rechts {
		gap: var(--wp--preset--spacing--s);
	}
	.kopfbereich .logo img {
		height: 44px;
	}
	.hauptmenue .wp-block-navigation__container {
		flex-wrap: nowrap !important;
	}
	.hauptmenue .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content {
		padding: 0 8px;
		font-size: 15px;
		white-space: nowrap;
	}
	.hauptmenue .wp-block-navigation__container > .has-child > .wp-block-navigation-item__content {
		padding-right: 3px;
	}
	.hauptmenue .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation__submenu-icon {
		margin-right: 6px;
	}
	.kopfbereich .kopf-knopf .wp-block-button__link {
		padding-inline: 16px;
		font-size: 15px;
	}
}

/* ---------- Abschnittskopf mit Knopf rechts (Startseite, Ablauf; Schritt 27) ---------- */
.abschnitt-kopf {
	gap: 20px 40px;
}
.abschnitt-kopf > * {
	margin: 0 !important;
}
.abschnitt-kopf h2 {
	max-width: 16ch;
}
