/**
 * Kupplungshelden: Grundstil, Buttons, Kopfbereich, Handy-Menü, Aktionsleiste, Fußbereich.
 *
 * Farben, Schriften und Abstände kommen aus theme.json (--wp--preset--*, --wp--custom--*).
 * Bausteine wie Kostenrechner oder FAQ bringen ihr eigenes CSS mit und laden nur, wo sie vorkommen.
 *
 * Breakpoints wie im Entwurf: 1180 (Menü), 760 (Handy), 560, 440, 420, 380.
 */

/* ---------- Kurznamen für die Design-Tokens ---------- */

:root {
	--kh-gutter: 40px;
	--kh-max: 1200px;

	--kh-bg: var(--wp--preset--color--background);
	--kh-surface: var(--wp--preset--color--surface);
	--kh-surface-alt: var(--wp--preset--color--surface-alt);
	--kh-text: var(--wp--preset--color--text);
	--kh-muted: var(--wp--preset--color--text-muted);
	--kh-soft: var(--wp--custom--color--text-soft);
	--kh-muted-2: var(--wp--custom--color--muted-2);
	--kh-line: var(--wp--preset--color--border);
	--kh-line-strong: var(--wp--preset--color--border-strong);
	--kh-line-soft: var(--wp--custom--color--line);
	--kh-control: var(--wp--custom--color--control);
	--kh-input: var(--wp--custom--color--input);
	--kh-red: var(--wp--preset--color--brand-red);
	--kh-red-fill: var(--wp--custom--color--brand-red-fill); /* Flächen mit weißer Schrift: Kontrast 4,6 statt 3,7 (Phase 10). */
	--kh-orange: var(--wp--preset--color--brand-orange);
	--kh-yellow: var(--wp--preset--color--brand-yellow);
	--kh-link: var(--wp--preset--color--link);
	--kh-link-hover: var(--wp--custom--color--link-hover);
	--kh-tint: var(--wp--preset--color--tint);
	--kh-tint-line: var(--wp--custom--color--tint-border);
	--kh-wa: var(--wp--custom--color--whatsapp);
	--kh-fehler: var(--wp--custom--color--fehler);
	--kh-fehler-flaeche: var(--wp--custom--color--fehler-flaeche);

	--kh-auf-farbe: #fff; /* Schrift auf Rot-Orange, auch im Dark Mode weiß. */

	--kh-font-head: var(--wp--preset--font-family--plus-jakarta-sans);
	--kh-font-body: var(--wp--preset--font-family--inter);
}

@media (max-width: 760px) {
	:root {
		--kh-gutter: 22px;
	}
}

/* ---------- Basis ---------- */

*,
*::before,
*::after {
	box-sizing: border-box;
}

/* Ohne Ligaturen: In „findet“ verschmolz das „fi“ der Überschriften-Schrift, dem i fehlte der Punkt (Abnahme Deniz 21.11.2026). */
body {
	margin: 0;
	font-variant-ligatures: no-common-ligatures;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

h1, h2, h3, h4, h5, h6 {
	text-wrap: balance;
	overflow-wrap: break-word;
}

/* Lange Wörter wie „Anhängerführerschein?“ passten auf kleinen Handys (320 px) nicht in die Zeile
   und machten die Seite breiter (geprüft 20.11.2026). Dort trennt der Browser sie mit Bindestrich. */
@media (max-width: 440px) {
	h1, h2, h3 {
		-webkit-hyphens: auto;
		hyphens: auto;
	}
}

p, li, dd, figcaption {
	text-wrap: pretty;
}

img, svg, video {
	max-width: 100%;
}

img {
	height: auto;
}

/* Kein Umbruch, z. B. für „Erste-Hilfe-Kurs“ oder „50 €“ */
.nw {
	white-space: nowrap;
}

.screen-reader-text,
.sr-only {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Gut sichtbarer Fokus für Tastatur-Nutzer */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline: 3px solid var(--kh-link);
	outline-offset: 3px;
}

::selection {
	background: var(--kh-tint);
	color: var(--kh-text);
}

@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;
	}
}

/* Kopf, Inhalt und Fuß liegen ohne Lücke aneinander */
.wp-site-blocks > * {
	margin-block: 0;
}

/* Volle Abschnitte im Seiteninhalt liegen direkt aneinander (eigene Hintergründe) */
.wp-block-post-content > .alignfull {
	margin-block: 0;
}

/* ---------- Layout-Helfer (für PHP-Bausteine) ---------- */

.wrap {
	width: 100%;
	max-width: var(--kh-max);
	margin-inline: auto;
	padding-inline: var(--kh-gutter);
}

.sec {
	padding-block: var(--wp--preset--spacing--80);
}

/* Unterseiten: etwas weniger Abstand als die Startseite (klasse-b.html: 104 px, Abschluss 104/112 px) */
.sec-eng {
	padding-block: clamp(72px, 8vw, 104px);
}

/* 44 px zwischen den Teilen eines Abschnitts (Karriere: Karten, Fotos, Link) */
.kh-abstand-44 > * + * {
	margin-block-start: 44px;
}

/* TS 79: „Das bieten wir an“ direkt vor dem Abschluss-Kasten */
.sec-angebot {
	padding-top: clamp(72px, 8vw, 104px);
	padding-bottom: 32px;
}

.sec-abschluss {
	padding-top: clamp(72px, 8vw, 104px);
	padding-bottom: clamp(72px, 8vw, 112px);
}

/* ---------- Buttons ---------- */

/* Block-Buttons (theme.json regelt Farbe und Schrift) */
.wp-element-button,
.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-height: 54px;
	text-decoration: none;
	transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.wp-block-button.is-style-outline > .wp-block-button__link:hover,
.wp-block-button.is-style-outline > .wp-block-button__link:focus-visible {
	background: transparent;
	border-color: var(--kh-red);
	color: var(--kh-link);
}

/* Buttons in PHP-Bausteinen: btn-d = primär (schwarz), btn-l = sekundär (Rand) */
.btn-d,
.btn-l {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-height: 54px;
	padding: 0 30px;
	border-radius: 999px;
	font-family: var(--kh-font-body);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0.01em;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.btn-d {
	background: var(--kh-text);
	color: var(--kh-surface);
	border: 0;
}

.btn-d:hover,
.btn-d:focus-visible {
	background: var(--kh-red-fill);
	color: var(--kh-auf-farbe);
}

.btn-l {
	gap: 10px;
	padding: 0 28px;
	background: transparent;
	color: var(--kh-text);
	border: 1.5px solid var(--kh-text);
}

.btn-l:hover,
.btn-l:focus-visible {
	border-color: var(--kh-red);
	color: var(--kh-link);
}

/* Orange Variante, z. B. „Termin buchen“ im Handy-Menü */
.btn-brand {
	background: var(--kh-red-fill);
	color: var(--kh-auf-farbe);
}

.btn-brand:hover,
.btn-brand:focus-visible {
	background: var(--kh-text);
	color: var(--kh-surface);
}

.kh-ico {
	flex: none;
}

.kh-ico-whatsapp {
	color: var(--kh-wa);
}

/* ---------- Eyebrow mit den drei Markenstrichen ---------- */

/* Wie im Entwurf: Eyebrows sind meist schlicht, die drei Markenstriche nur an
   hervorgehobenen Stellen (Hero, erste Erste-Hilfe-Szene, Termin). Block-Stile:
   „Eyebrow mit Markenstrichen“ (is-style-eyebrow) und „Eyebrow schlicht“. */
.eyebrow,
.is-style-eyebrow,
.is-style-eyebrow-schlicht {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 0;
	color: var(--kh-muted);
	font-family: var(--kh-font-body);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0.18em;
	text-transform: uppercase;
}

.eyebrow-striche::before,
.is-style-eyebrow::before {
	content: "";
	flex: none;
	width: 18px;
	height: 3px;
	margin-right: 44px;
	border-radius: 2px;
	background: var(--kh-red);
	box-shadow: 22px 0 0 var(--kh-orange), 44px 0 0 var(--kh-yellow);
}

/* ---------- Kopfbereich ---------- */

.hdr {
	position: relative;
	z-index: 40;
	background: rgba(251, 250, 247, 0.96);
	border-bottom: 1px solid var(--kh-line);
}

.hdr-in {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	min-height: 92px;
}

.hdr-logo {
	display: flex;
	align-items: center;
	flex: 0 1 auto;
	min-width: 0;
	min-height: 48px;
}

.hdr-logo img {
	display: block;
	width: auto;
	height: 46px;
}

.nav {
	display: flex;
	align-items: center;
	gap: 22px;
}

.nav a {
	color: var(--kh-text);
	font-size: 15px;
	font-weight: 500;
	text-decoration: none;
	white-space: nowrap;
}

.nav a:hover,
.nav a[aria-current="page"] {
	color: var(--kh-link);
}

.nav-dot {
	display: inline-block;
	flex: 0 0 auto;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--kh-red);
	box-shadow: 0 0 0 3px rgba(236, 80, 31, 0.18);
}

/* Punkt absolut, damit die Menüleiste nicht breiter wird */
.nav-job {
	position: relative;
}

.nav-job .nav-dot {
	position: absolute;
	top: -4px;
	right: -10px;
}

.hdr-act {
	display: flex;
	align-items: center;
	gap: 12px;
}

.hdr-cta {
	min-height: 46px;
	padding: 0 22px;
	font-size: 15px;
	white-space: nowrap;
}

/* ---------- Handy-Menü (bis 1180 px) ---------- */

.mnav {
	display: none;
}

.mnav summary {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 46px;
	padding: 0 16px;
	border: 1px solid var(--kh-control);
	border-radius: 999px;
	background: var(--kh-surface);
	font-size: 15px;
	font-weight: 600;
	list-style: none;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}

.mnav summary::-webkit-details-marker {
	display: none;
}

.mnav-bars {
	position: relative;
	display: inline-block;
	width: 18px;
	height: 14px;
}

.mnav-bars i {
	position: absolute;
	left: 0;
	width: 18px;
	height: 2px;
	border-radius: 2px;
	background: var(--kh-text);
	transition: transform 0.25s, opacity 0.2s, top 0.25s;
}

.mnav-bars i:nth-child(1) { top: 0; }
.mnav-bars i:nth-child(2) { top: 6px; }
.mnav-bars i:nth-child(3) { top: 12px; }
.mnav[open] .mnav-bars i:nth-child(1) { top: 6px; transform: rotate(45deg); }
.mnav[open] .mnav-bars i:nth-child(2) { opacity: 0; }
.mnav[open] .mnav-bars i:nth-child(3) { top: 6px; transform: rotate(-45deg); }

.mnav-panel {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	max-height: calc(100vh - 80px);
	max-height: calc(100dvh - 80px);
	padding: 8px 22px 24px;
	overflow-y: auto;
	overscroll-behavior: contain;
	background: var(--kh-bg);
	border-bottom: 1px solid var(--kh-line);
	box-shadow: 0 24px 40px rgba(17, 18, 20, 0.1);
}

.mnav-panel nav {
	display: flex;
	flex-direction: column;
	max-width: 720px;
	margin: 0 auto;
}

.mnav-grp {
	padding: 18px 0 6px;
	color: var(--kh-muted-2);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.mnav-panel nav a {
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 52px;
	padding: 6px 0;
	border-bottom: 1px solid var(--kh-line);
	color: var(--kh-text);
	font-family: var(--kh-font-head);
	font-size: 18px;
	font-weight: 600;
	line-height: 1.25;
	text-decoration: none;
}

.mnav-panel nav a[aria-current="page"] {
	color: var(--kh-link);
}

.mnav-panel nav a small {
	color: var(--kh-muted-2);
	font-family: var(--kh-font-body);
	font-size: 13px;
	font-weight: 500;
}

.mnav-job {
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

.mnav-foot {
	display: flex;
	flex-direction: column;
	gap: 10px;
	max-width: 720px;
	margin: 20px auto 0;
}

/* Hintergrund scrollt nicht, solange das Menü offen ist */
html.kh-nav-offen,
html:has(.mnav[open]) {
	overflow: hidden;
}

/* ---------- Aktionsleiste unten (bis 760 px) ---------- */

.mbar,
.mbar-s {
	display: none;
}

/* ---------- Fußbereich ---------- */

.foot {
	background: var(--kh-surface-alt);
	border-top: 1px solid var(--kh-line-strong);
	color: var(--kh-soft);
	font-size: 15px;
}

.foot a {
	color: var(--kh-soft);
	text-decoration: none;
}

.foot a:hover {
	color: var(--kh-link);
}

.ft-top {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 48px;
	padding-top: 64px;
	padding-bottom: 44px;
}

.ft-brand {
	display: flex;
	flex: 1 1 300px;
	flex-direction: column;
	gap: 18px;
}

.ft-brand img {
	align-self: flex-start;
	width: auto;
	height: 38px;
}

.ft-adr {
	margin: 0;
}

.ft-col {
	display: flex;
	flex: 1 1 180px;
	flex-direction: column;
	gap: 10px;
}

.ft-col-kontakt {
	flex-basis: 220px;
}

.ft-col strong {
	color: var(--kh-text);
	font-weight: 600;
}

.ft-soc-row {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 8px;
}

.foot .ft-soc {
	display: inline-flex;
	align-items: center;
	min-height: 44px; /* überall gleich groß, auf dem Handy war sie 44, auf dem Computer 36 px */
	padding: 0 14px;
	border: 1px solid var(--kh-input);
	border-radius: 999px;
	background: var(--kh-surface);
	font-size: 14px;
	font-weight: 600;
}

.ft-bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 20px;
	padding-top: 20px;
	padding-bottom: 32px;
	border-top: 1px solid var(--kh-line-strong);
	color: var(--kh-muted);
	font-size: 14px;
}

.ft-legal {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 22px;
}

/* Cookie-Einstellungen sieht aus wie ein Link, ist aber ein Button */
.ft-cookie {
	padding: 0;
	border: 0;
	background: none;
	color: var(--kh-soft);
	font: inherit;
	cursor: pointer;
}

.ft-cookie:hover {
	color: var(--kh-link);
}

/* ---------- Landingpage: Kopf und Fuß ---------- */

.hdr-landing .hdr-in {
	min-height: 80px;
}

.hdr-tel {
	gap: 8px;
	min-height: 46px;
	padding: 0 20px;
	font-size: 15px;
	white-space: nowrap;
}

.ft-landing-adr {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 14px;
	padding-top: 28px;
	padding-bottom: 8px;
}

.ft-landing-adr strong {
	color: var(--kh-text);
	font-weight: 600;
}

.ft-landing .ft-bottom {
	border-top: 0;
}

/* ---------- Bis 1180 px: Menü-Button statt Menüleiste ---------- */

@media (max-width: 1180px) {
	.nav {
		display: none;
	}

	.mnav {
		display: block;
	}
}

/* ---------- Bis 760 px: Handy ---------- */

@media (max-width: 760px) {
	.hdr-in {
		gap: 12px;
		min-height: 72px;
	}

	.hdr-logo img {
		max-width: 100%;
		height: 34px;
		object-fit: contain;
		object-position: left center;
	}

	.hdr-cta {
		display: none;
	}

	.mnav summary {
		padding: 0 14px;
	}

	.mbar {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 50;
		display: flex;
		gap: 8px;
		padding: 10px 10px calc(10px + env(safe-area-inset-bottom));
		background: rgba(251, 250, 247, 0.97);
		border-top: 1px solid var(--kh-line-strong);
		box-shadow: 0 -8px 24px rgba(17, 18, 20, 0.06);
	}

	.mbar a {
		display: flex;
		flex: 1 1 0;
		align-items: center;
		justify-content: center;
		gap: 6px;
		min-width: 0;
		min-height: 48px;
		padding: 0 8px;
		border: 1px solid var(--kh-control);
		border-radius: 999px;
		background: var(--kh-surface);
		color: var(--kh-text);
		font-size: 14px;
		font-weight: 600;
		text-decoration: none;
		white-space: nowrap;
	}

	/* Alle drei Pillen gleich breit (Wunsch Deniz 20.11.2026), „Termin“ fällt über die Farbe auf. */
	.mbar a.mbar-main {
		background: var(--kh-red-fill);
		border-color: var(--kh-red-fill);
		color: var(--kh-auf-farbe);
	}

	/* Aktionsleiste weg, solange das Menü offen ist */
	html.kh-nav-offen .mbar,
	html:has(.mnav[open]) .mbar {
		display: none;
	}

	/* Platz für die Aktionsleiste, damit nichts verdeckt wird */
	.foot {
		padding-bottom: 76px;
	}

	/* Tippflächen mindestens 44 px */
	.ft-col {
		gap: 0;
	}

	.ft-col a,
	.ft-legal a,
	.ft-cookie {
		display: inline-flex;
		align-items: center;
		min-height: 44px;
	}

	.ft-col strong {
		margin-bottom: 4px;
	}

	.ft-top {
		gap: 36px;
	}
}

@media (max-width: 440px) {
	.mnav-lbl {
		display: none;
	}

	.mnav summary {
		justify-content: center;
		width: 46px;
		padding: 0;
	}

	.hdr-tel {
		width: 46px;
		padding: 0;
	}

	.hdr-tel span {
		display: none;
	}
}

/* Bei gleich breiten Pillen passt „Termin buchen“ erst ab 481 px, darunter steht „Termin“. */
@media (max-width: 480px) {
	.mbar-l {
		display: none;
	}

	.mbar-s {
		display: inline;
	}
}

/* Schrift bleibt 14 px wie auf allen anderen Handys, nur der Abstand zum Symbol wird kleiner. */
@media (max-width: 380px) {
	.mbar a {
		gap: 5px;
	}

	.hdr-logo img {
		height: 30px;
	}
}

/* Sehr kleine Handys (unter 360 px): Symbol über dem Wort, sonst passt „WhatsApp“ nicht in die Pille.
   Die Pillen bleiben 48 px hoch. */
@media (max-width: 359px) {
	.mbar a {
		flex-direction: column;
		gap: 2px;
		line-height: 1.1;
	}

	.mbar a svg {
		width: 16px;
		height: 16px;
	}
}

/* =====================================================================
   Muster und kleine Blöcke (Hero, Abschnittskopf, Ablauf, Tipp,
   Abschluss-Kasten, Kontakt-Knöpfe, Brotkrumen, Karriere-Hinweis).
   Klassen werden in den Mustern (patterns/) gesetzt.
   ===================================================================== */

/* Linien-Icons als Maske (Farbe über background-color) */
:root {
	--kh-i-anmeldung: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a8 8 0 0 1-11.6 7.1L4 20.5l1.4-4.9A8 8 0 1 1 21 12z'/%3E%3Cpath d='M8.5 11h7M8.5 14h4.5'/%3E%3C/svg%3E");
	--kh-i-unterlagen: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='4' width='14' height='17' rx='2'/%3E%3Cpath d='M9 4.5V3h6v1.5'/%3E%3Cpath d='M8.5 12l2 2 4-4.5'/%3E%3C/svg%3E");
	--kh-i-antrag: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21h18'/%3E%3Cpath d='M4 10h16'/%3E%3Cpath d='M12 3l8 4.5H4z'/%3E%3Cpath d='M6.5 10v8M10.5 10v8M13.5 10v8M17.5 10v8'/%3E%3C/svg%3E");
	--kh-i-theorie: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='12' rx='1.5'/%3E%3Cpath d='M8 20l4-4 4 4'/%3E%3Cpath d='M7 8h6M7 11h9'/%3E%3C/svg%3E");
	--kh-i-app: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='6.5' y='2.5' width='11' height='19' rx='2.5'/%3E%3Cpath d='M10.5 18.5h3'/%3E%3Cpath d='M9.5 9.5l2 2 3-3.5'/%3E%3C/svg%3E");
	--kh-i-pruefung: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 5H6a1 1 0 0 0-1 1v14a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1h-3'/%3E%3Crect x='9' y='3' width='6' height='4' rx='1'/%3E%3Cpath d='M8.5 12h1M12 12h4M8.5 16h1M12 16h4'/%3E%3C/svg%3E");
	--kh-i-fahren: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Ccircle cx='12' cy='12' r='2.5'/%3E%3Cpath d='M12 14.5V21M9.6 11.3L3.4 9.7M14.4 11.3l6.2-1.6'/%3E%3C/svg%3E");
	--kh-i-ziel: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 21h8M12 17v4'/%3E%3Cpath d='M7 4h10v5a5 5 0 0 1-10 0z'/%3E%3Cpath d='M7 6H4a3 3 0 0 0 3 4M17 6h3a3 3 0 0 1-3 4'/%3E%3C/svg%3E");
	--kh-i-sonne: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M12 2v2M12 20v2M4.9 4.9l1.4 1.4M17.7 17.7l1.4 1.4M2 12h2M20 12h2M4.9 19.1l1.4-1.4M17.7 6.3l1.4-1.4'/%3E%3C/svg%3E");
	--kh-i-auto: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 17h14v-5l-2-5H7l-2 5v5z'/%3E%3Cpath d='M5 12h14'/%3E%3Ccircle cx='8' cy='17' r='2'/%3E%3Ccircle cx='16' cy='17' r='2'/%3E%3C/svg%3E");
	--kh-i-motorrad: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='5.5' cy='16.5' r='3.5'/%3E%3Ccircle cx='18.5' cy='16.5' r='3.5'/%3E%3Cpath d='M5.5 16.5L10 9h5l3.5 7.5'/%3E%3Cpath d='M14 6h3l1 3'/%3E%3C/svg%3E");
	--kh-i-asf: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l8 4v5c0 4.5-3.4 8.3-8 9-4.6-.7-8-4.5-8-9V7l8-4z'/%3E%3Cpath d='M8.5 12l2.5 2.5 4.5-5'/%3E%3C/svg%3E");
	--kh-i-haken: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}

/* Abschnitte mit eigenem Hintergrund liegen ohne Lücke aneinander,
   Inhalte darin ohne Abstand nach oben/unten. */
.sec > :first-child {
	margin-top: 0;
}

.sec > :last-child {
	margin-bottom: 0;
}

.kh-rand-oben {
	border-top: 1px solid var(--kh-line);
}

.kh-rand-unten {
	border-bottom: 1px solid var(--kh-line);
}

/* ---------- Abschnittskopf: Titel links, Text rechts ---------- */

.kh-kopf {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 56px;
}

.kh-kopf-titel {
	display: flex;
	flex-direction: column;
	gap: 16px;
	max-width: 620px;
}

.kh-kopf-titel > *,
.kh-kopf > * {
	margin: 0;
}

.kh-kopf-text {
	max-width: 420px;
	color: var(--kh-muted);
	font-size: 17px;
}

/* Kopf untereinander (Titel, Text) */
/* Breite auf den Kindern, nicht auf dem Kasten: Das WordPress-Layout würde einen
   schmaleren Kasten sonst mittig setzen. */
.kh-kopf-stapel {
	display: flex;
	flex-direction: column;
	gap: 16px;
	margin-bottom: 44px;
}

.kh-kopf-stapel > * {
	max-width: 680px;
	margin: 0;
}

.kh-kopf-stapel h2 {
	font-size: clamp(32px, 3.8vw, 48px);
	line-height: 1.1;
}

.kh-kopf-stapel p:not(.eyebrow):not(.is-style-eyebrow) {
	color: var(--kh-muted);
	font-size: 17px;
}

/* ---------- Kontakt-Knöpfe (Block) ---------- */

.kh-buttons {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
}

/* Handy: alle Knöpfe gleich breit (Wunsch Deniz 20.11.2026, iPhone 16 Pro Max). Vorher war jeder so breit
   wie sein Text, untereinander sah das unruhig aus. 304 px passt für den längsten Knopf
   „Termin im Kalender wählen →“, auf schmalen Handys volle Breite. Formulare und Kostenrechner
   haben ihre eigene volle Breite und bleiben so. */
@media (max-width: 760px) {
	.kh-buttons > a,
	.kh-buttons > button,
	.wp-block-buttons > .wp-block-button {
		width: 304px;
		max-width: 100%;
	}

	.wp-block-buttons > .wp-block-button > .wp-block-button__link {
		width: 100%;
	}

	/* Knopf-Gruppen, die sich an ihren Inhalt anpassen (z. B. „Zum ASF-Seminar“, Bewertungen), nie breiter als der Platz. */
	.kh-buttons,
	.wp-block-buttons {
		min-width: 0;
		max-width: 100%;
	}
}

/* ---------- Karriere-Hinweis im Hero ---------- */

/* Pillen „Wir suchen Verstärkung“ (Fahrlehrer, Büro): beide gleich breit, so breit wie die längere
   (Wunsch Deniz 20.11.2026, auf dem iPhone waren sie vorher fast so breit wie der Bildschirm).
   Ab 901 px nebeneinander, darunter untereinander. */
.hero-jobs {
	display: grid;
	grid-auto-columns: minmax(0, 1fr);
	grid-auto-flow: column;
	gap: 8px;
	width: max-content;
	max-width: 100%;
}

@media (max-width: 900px) {
	.hero-jobs {
		grid-auto-flow: row;
	}
}

.hj-kurz {
	display: none;
}

/* Pfeil immer bündig rechts, auch in der kürzeren Pille. */
.hero-job {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	padding: 6px 16px 6px 14px;
	border: 1px solid var(--kh-tint-line);
	border-radius: 999px;
	background: var(--kh-tint);
	color: var(--kh-text);
	font-size: 14px;
	line-height: 1.35;
	text-decoration: none;
	transition: border-color 0.2s, background-color 0.2s;
}

.hero-job strong {
	color: var(--kh-link);
	font-weight: 700;
}

.hero-job-go {
	margin-left: auto;
	color: var(--kh-link);
	font-weight: 700;
	transition: transform 0.2s;
}

.hero-job:hover {
	border-color: var(--kh-red);
	background: #fbe3d8;
	color: var(--kh-text);
}

.hero-job:hover .hero-job-go {
	transform: translateX(3px);
}

/* ---------- Start-Hero ---------- */

.hero-grid {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 72px;
	padding-top: 104px;
	padding-bottom: 112px;
}

/* WordPress setzt zwischen Blöcken 24 px Abstand, im Hero regeln gap und padding alles. */
.hero-start > *,
.hero-grid > * {
	margin-block: 0;
}

.hero-copy {
	display: flex;
	flex: 1.15 1 520px;
	flex-direction: column;
	gap: 30px;
	min-width: 0;
}

.hero-copy > * {
	margin: 0;
}

.hero-copy .hero-jobs {
	margin-bottom: -6px;
}

.hero-claim {
	color: var(--kh-text);
	font-family: var(--kh-font-head);
	font-size: clamp(40px, 4.6vw, 62px);
	font-weight: 700;
	letter-spacing: -0.035em;
	line-height: 1.05;
	text-wrap: balance;
}

/* Fett gesetzte Wörter im Claim werden rot-orange („Kupplungshelden.“) */
.hero-claim strong {
	color: var(--kh-red);
	font-weight: inherit;
}

.hero-intro {
	max-width: 540px;
	color: var(--kh-muted);
	font-size: 20px;
	line-height: 1.6;
}

.hero-media {
	position: relative;
	flex: 1 1 420px;
	min-width: 0;
	min-height: 320px;
	border-radius: 32px;
	background: #ede8e0;
}

.hero-media > * {
	margin: 0;
}

.hero-media .wp-block-image img {
	display: block;
	width: 100%;
	height: 580px;
	border-radius: 32px;
	object-fit: cover;
	/* Außenfoto der Fahrschule (quer): das ganze Schild oben, darunter Eingang und Fenster. */
	object-position: 57% 0%;
}

.hero-badge {
	position: absolute;
	left: 24px;
	bottom: 24px;
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 18px 22px;
	border-radius: 18px;
	background: var(--kh-surface);
	box-shadow: 0 18px 40px rgba(17, 18, 20, 0.1);
}

.hero-badge > * {
	margin: 0;
}

.hero-badge-k {
	color: var(--kh-muted);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.hero-badge-t {
	font-family: var(--kh-font-head);
	font-size: 18px;
	font-weight: 700;
}

.hero-badge-s {
	color: var(--kh-muted);
	font-size: 14px;
}

/* Leiste unter dem Hero mit 01, 02, 03 */
.usp {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 32px;
	border-top: 1px solid var(--kh-line-strong);
	border-bottom: 1px solid var(--kh-line-strong);
	counter-reset: kh-usp;
}

/* Nummer links neben dem Text, umbrochene Zeilen bündig unter dem Text. Als Block statt Flexbox, damit Text mit
   eingebetteten Teilen (z. B. die Straße, die nicht umbrechen darf) ein normaler Fließtext bleibt. */
.usp > * {
	position: relative;
	margin: 0;
	padding: 26px 0 26px 38px;
	font-weight: 600;
}

.usp > *::before {
	content: counter(kh-usp, decimal-leading-zero);
	counter-increment: kh-usp;
	position: absolute;
	top: 26px;
	left: 0;
	color: var(--kh-red);
	font-family: var(--kh-font-head);
	font-weight: 700;
}

/* ---------- Unterseiten-Hero mit Brotkrumen und Infokasten ---------- */

.sp-hero {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 64px;
	padding-top: 72px;
	padding-bottom: 96px;
}

.sp-hero > * {
	margin-block: 0;
}

.sp-hero-copy {
	display: flex;
	flex: 1.2 1 520px;
	flex-direction: column;
	gap: 24px;
	min-width: 0;
}

.sp-hero-copy > * {
	margin: 0;
}

.sp-h1 {
	font-size: clamp(38px, 4.4vw, 58px);
	letter-spacing: -0.035em;
	line-height: 1.06;
	overflow-wrap: break-word;
}

.sp-lead {
	max-width: 580px;
	color: var(--kh-muted);
	font-size: 19px;
}

/* In Gruppen mit „constrained“-Layout zentriert WordPress schmale Kinder (margin auto mit !important).
   Der Einleitungstext steht wie im Entwurf links unter der Überschrift (Danke, Impressum, Datenschutz). */
.is-layout-constrained > .sp-lead {
	margin-left: max(0px, (100% - var(--wp--style--global--content-size)) / 2) !important;
}

.sp-crumb ol {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 0;
	color: var(--kh-muted-2);
	font-size: 14px;
	list-style: none;
}

.sp-crumb li {
	display: flex;
	align-items: center;
	gap: 8px;
}

.sp-crumb li + li::before {
	content: "›";
}

.sp-crumb a {
	display: inline-flex;
	align-items: center;
	color: var(--kh-muted-2);
	text-decoration: none;
}

@media (pointer: coarse) {
	.sp-crumb a {
		min-height: 44px;
	}
}

.sp-crumb a:hover {
	color: var(--kh-link);
}

/* 446 px = 380 px Inhalt + Innenabstand und Rand wie im Entwurf */
.sp-facts {
	flex: 1 1 446px;
	min-width: 0;
	padding: 32px;
	border: 1px solid var(--kh-line);
	border-radius: 28px;
	background: var(--kh-surface);
	box-shadow: 0 24px 60px rgba(17, 18, 20, 0.06);
}

.sp-facts > * {
	margin: 0;
}

.sp-facts h2 {
	margin-bottom: 8px;
	font-size: 20px;
	letter-spacing: -0.01em;
	line-height: 1.3;
}

.sp-fact {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 20px;
	padding: 14px 0;
	border-bottom: 1px solid var(--kh-line-soft);
}

.sp-fact > * {
	margin: 0;
}

.sp-fact-l {
	color: var(--kh-muted);
	font-size: 15px;
}

.sp-fact-w {
	text-align: right;
}

.sp-fact-w > * {
	margin: 0;
	font-size: 15px;
	font-weight: 600;
}

.sp-fact-w .sp-fact-info {
	color: var(--kh-muted-2);
	font-size: 13px;
	font-weight: 500;
}

.sp-facts-foot {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: 10px;
	padding-top: 16px;
	border-top: 1px solid var(--kh-line-soft);
	color: var(--kh-muted-2);
	font-size: 13px;
}

.sp-facts-foot > * {
	margin: 0;
}

/* Fakten ohne Trennlinie unter der letzten Zeile */
.sp-facts .sp-fact:has(+ .sp-facts-foot),
.sp-facts .sp-fact:last-child {
	border-bottom: 0;
}

/* Unterstrichener Textlink mit Pfeil („Alle Preise →“), 44 px Tippfläche */
.kh-pfeil-link a,
a.kh-pfeil-link {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: var(--kh-text);
	font-weight: 600;
	text-decoration: underline;
	text-decoration-color: var(--kh-red);
	text-decoration-thickness: 2px;
	text-underline-offset: 6px;
}

.kh-pfeil-link a:hover,
a.kh-pfeil-link:hover {
	color: var(--kh-link);
}

/* Hero ohne Infokasten (Preise, Häufige Fragen) */
.sp-hero-kurz {
	padding-bottom: 72px;
}

.sp-hero-kurz .sp-hero-copy {
	flex: 1 1 100%;
	max-width: 820px;
}

/* Sprung-Knöpfe zu den Themen (Häufige Fragen). Alle gleich breit (Wunsch Deniz 20.11.2026):
   212 px passt für das längste Thema „Antrag und Erste Hilfe“, auf schmalen Handys volle Breite. */
.kh-chips {
	display: grid;
	grid-template-columns: repeat(auto-fill, min(100%, 212px));
	gap: 10px;
	margin-top: 8px;
}

.kh-chips a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	padding: 0 18px;
	border: 1px solid var(--kh-input);
	border-radius: 999px;
	background: var(--kh-surface);
	color: var(--kh-text);
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
}

.kh-chips a:hover {
	border-color: var(--kh-red);
	color: var(--kh-link);
}

/* ---------- Ablauf in acht Schritten ---------- */

.ablauf {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
	counter-reset: kh-ablauf;
}

.ablauf > * {
	margin: 0;
}

.ab-card {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 12px;
	min-height: 290px;
	padding: 92px 26px 26px;
	border: 1px solid var(--kh-line);
	border-radius: 24px;
	background: var(--kh-surface);
	counter-increment: kh-ablauf;
}

.ab-card > * {
	margin: 0;
}

/* Nummer oben links */
.ab-card::before {
	content: counter(kh-ablauf, decimal-leading-zero);
	position: absolute;
	top: 28px;
	left: 26px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: var(--kh-tint);
	color: var(--kh-link);
	font-family: var(--kh-font-head);
	font-size: 16px;
	font-weight: 700;
}

/* Icon oben rechts */
.ab-card::after {
	content: "";
	position: absolute;
	top: 39px;
	right: 26px;
	width: 24px;
	height: 24px;
	background: var(--kh-soft);
	-webkit-mask: var(--kh-icon) center / contain no-repeat;
	mask: var(--kh-icon) center / contain no-repeat;
}

.ab-i-anmeldung { --kh-icon: var(--kh-i-anmeldung); }
.ab-i-unterlagen { --kh-icon: var(--kh-i-unterlagen); }
.ab-i-antrag { --kh-icon: var(--kh-i-antrag); }
.ab-i-theorie { --kh-icon: var(--kh-i-theorie); }
.ab-i-app { --kh-icon: var(--kh-i-app); }
.ab-i-pruefung { --kh-icon: var(--kh-i-pruefung); }
.ab-i-fahren { --kh-icon: var(--kh-i-fahren); }
.ab-i-ziel { --kh-icon: var(--kh-i-ziel); }

.ab-card h3 {
	font-size: 20px;
	letter-spacing: -0.01em;
	line-height: 1.25;
	white-space: nowrap;
}

.ab-card p {
	color: var(--kh-muted);
	font-size: 15px;
	line-height: 1.6;
}

.ab-card .ab-tag {
	align-self: flex-start;
	margin-top: auto;
	padding: 5px 12px;
	border-radius: 999px;
	background: var(--kh-surface-alt);
	color: var(--kh-soft);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
	white-space: nowrap; /* einzeilig wie alle Etiketten, „Kreishaus Bergisch Gladbach“ brach bei 1180 px um */
}

.ab-final {
	border-color: var(--kh-tint-line);
	background: var(--kh-tint);
}

.ab-final::before,
.ab-final .ab-tag {
	background: var(--kh-red-fill);
	color: var(--kh-auf-farbe);
}

/* ---------- Tipp-Kasten ---------- */

.kh-tipp {
	position: relative;
	display: flex;
	align-items: center;
	gap: 20px;
	padding: 24px 28px;
	border: 1px solid var(--kh-tint-line);
	border-radius: 24px;
	background: var(--kh-tint);
}

/* Weißer Kreis links, darin die Sonne (::after) */
.kh-tipp::before {
	content: "";
	flex: 0 0 52px;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: var(--kh-surface);
}

.kh-tipp::after {
	content: "";
	position: absolute;
	left: calc(28px + 13px);
	top: 50%;
	width: 26px;
	height: 26px;
	margin-top: -13px;
	background: var(--kh-red);
	-webkit-mask: var(--kh-i-sonne) center / contain no-repeat;
	mask: var(--kh-i-sonne) center / contain no-repeat;
}

.kh-tipp > * {
	margin: 0;
	color: var(--kh-muted);
	font-size: 16px;
}

.kh-tipp strong {
	display: block;
	color: var(--kh-text);
	font-family: var(--kh-font-head);
	font-size: 18px;
}

.kh-tipp a {
	color: var(--kh-text);
}

/* ---------- Abschluss-Kasten ---------- */

.sp-cta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	padding: 56px;
	border: 1px solid var(--kh-tint-line);
	border-radius: 32px;
	background: var(--kh-tint);
	color: var(--kh-text);
}

.sp-cta > * {
	margin: 0;
}

.sp-cta-text > * {
	margin: 0;
}

.sp-cta h2 {
	max-width: 560px;
	font-size: clamp(28px, 3.2vw, 40px);
	line-height: 1.12;
}

.sp-cta p {
	margin-top: 10px;
	color: var(--kh-muted);
	font-size: 17px;
}

.sp-cta .btn-l {
	background: var(--kh-surface);
}

/* ---------- Was willst du fahren? (Klassen-Kästen) ---------- */

.klassen {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-items: start;
	gap: 24px;
}

.klassen > *,
.kl-panel > *,
.kl-row > *,
.kl-row-text > * {
	margin: 0;
}

.kl-panel {
	display: flex;
	flex-direction: column;
	padding: 36px 36px 30px;
	border: 1px solid var(--kh-line);
	border-radius: 24px;
	background: var(--kh-surface);
}

.kl-head {
	display: flex;
	align-items: center;
	gap: 16px;
	padding-bottom: 18px;
	font-size: 25px;
	letter-spacing: -0.02em;
}

/* Symbol im farbigen Kreis vor der Überschrift */
.kl-head::before,
.kl-asf::before {
	content: "";
	flex: 0 0 52px;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background-color: var(--kh-tint);
}

.kl-head,
.kl-asf {
	position: relative;
}

.kl-head::after,
.kl-asf::after {
	content: "";
	position: absolute;
	width: 26px;
	height: 26px;
	background: var(--kh-red);
	-webkit-mask: var(--kh-icon) center / contain no-repeat;
	mask: var(--kh-icon) center / contain no-repeat;
}

.kl-head::after {
	left: 13px;
	top: calc(50% - 9px - 13px);
}

.kl-h-auto { --kh-icon: var(--kh-i-auto); }
.kl-h-moto { --kh-icon: var(--kh-i-motorrad); }
.kl-h-moto::before { background-color: #fdf1e3; }
.kl-h-moto::after { background: var(--kh-orange); }

.kl-row {
	display: grid;
	grid-template-columns: 68px minmax(0, 1fr);
	gap: 16px;
	padding: 18px 0;
	border-top: 1px solid var(--kh-line-soft);
}

.kl-badge {
	display: inline-flex;
	align-self: start;
	justify-content: center;
	padding: 5px 0;
	border-radius: 999px;
	background: var(--kh-tint);
	color: var(--kh-link);
	font-family: var(--kh-font-head);
	font-size: 14px;
	font-weight: 700;
}

.kl-row h4 {
	margin-bottom: 4px;
	font-size: 17px;
	line-height: 1.3;
}

.kl-row-text p {
	margin-bottom: 8px;
	color: var(--kh-muted);
	font-size: 15px;
	line-height: 1.55;
}

.kl-row-text .kl-meta {
	display: inline-block;
	margin: 0;
	padding: 3px 12px;
	border-radius: 12px;
	background: var(--kh-surface-alt);
	color: var(--kh-soft);
	font-size: 13px;
	font-weight: 600;
}

/* Link zur Unterseite unter jeder Gruppe (Auto, Anhänger, Roller & Mofa, Motorrad). */
.kl-more {
	margin: 0;
	padding: 4px 0;
	border-top: 1px solid var(--kh-line-soft);
}

.kl-more a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: var(--kh-text);
	font-weight: 600;
	text-decoration: none;
}

.kl-more a:hover {
	color: var(--kh-link);
}

.kl-asf {
	--kh-icon: var(--kh-i-asf);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 24px;
	margin-top: 24px;
	padding: 28px 36px;
	border: 1px solid var(--kh-line);
	border-radius: 24px;
	background: var(--kh-surface);
}

.kl-asf::before {
	background-color: #fdf6df;
}

.kl-asf::after {
	left: calc(36px + 13px);
	top: calc(50% - 13px);
	background: #c99400;
}

.kl-asf > * {
	margin: 0;
}

.kl-asf-text {
	display: flex;
	flex: 1 1 320px;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}

.kl-asf-text > * {
	margin: 0;
}

.kl-asf-text h3 {
	font-size: 22px;
}

.kl-asf-text p {
	color: var(--kh-muted);
}

.kl-asf-preis > * {
	margin: 0;
	font-family: var(--kh-font-head);
	font-size: 26px;
	font-weight: 700;
	white-space: nowrap;
}

.kl-asf-preis .kl-asf-sub {
	color: var(--kh-muted);
	font-family: var(--kh-font-body);
	font-size: 14px;
	font-weight: 400;
}

/* ---------- Drei Wege (Varianten-Karten) ---------- */

.sp-var {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

.sp-var > * {
	margin: 0;
}

.sp-var-card {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 30px 28px;
	border: 1px solid var(--kh-line);
	border-radius: 24px;
	background: var(--kh-surface);
	/* Sprungmarke #b196 aus dem Fuß: nicht ganz an den Rand springen. */
	scroll-margin-top: 24px;
}

.has-surface-background-color .sp-var-card {
	background: var(--kh-bg);
}

.sp-var-card > * {
	margin: 0;
}

.sp-var-card h3 {
	font-size: 22px;
	letter-spacing: -0.01em;
	line-height: 1.6;
	overflow-wrap: break-word;
}

.sp-var-card p {
	color: var(--kh-muted);
	font-size: 15px;
}

/* Klassen-Etiketten („B“, „B78“, „B197“, „A1“ …) gleich breit wie die Chips im Rechner (72 px). */
.sp-var-card .sp-badge {
	align-self: flex-start;
	min-width: 72px;
	padding: 5px 14px;
	text-align: center;
	border-radius: 999px;
	background: var(--kh-tint);
	color: var(--kh-link);
	font-family: var(--kh-font-head);
	font-size: 15px;
	font-weight: 700;
}

.sp-var-2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sp-var-4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* Karten mit Mehr-Link unten (TS 79) */
.sp-var-card .kh-pfeil-link {
	margin-top: auto;
}

/* Motorrad: Kürzel links, Alter rechts */
.sp-var-kopf {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.sp-var-kopf > * {
	margin: 0;
}

.sp-var-card .sp-alter {
	padding: 3px 10px;
	border-radius: 999px;
	background: var(--kh-tint);
	color: var(--kh-link);
	font-size: 13px;
	font-weight: 600;
}

/* Tipp-Kasten unter den Varianten-Karten (Anhänger, Roller) bzw. als eigener Abschnitt (Motorrad) */
.sp-var + .kh-tipp {
	margin-block-start: 44px;
}

/* Karten mit rotem Haken oben (Über uns, Karriere) */
.sp-var-haken .sp-var-card {
	position: relative;
}

.sp-var-haken .sp-var-card::before {
	content: "";
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--kh-red);
}

.sp-var-haken .sp-var-card::after {
	content: "";
	position: absolute;
	left: 32.5px;
	top: 34.5px;
	width: 13px;
	height: 13px;
	background: var(--kh-surface);
	-webkit-mask: var(--kh-i-haken) center / contain no-repeat;
	mask: var(--kh-i-haken) center / contain no-repeat;
}

.sp-var + .kh-pfeil-link {
	margin-block-start: 28px;
}

.kh-tipp-abschnitt {
	padding-top: 64px;
}

.kh-tipp-abschnitt > * {
	margin-block: 0;
}

.sp-var-card .sp-may {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-top: auto;
	padding-top: 16px;
	border-top: 1px solid var(--kh-line-soft);
	color: var(--kh-text);
	font-size: 14px;
	font-weight: 600;
}

/* Haken im roten Kreis */
.sp-may::before,
.ue-list li::before,
.sp-docs-liste li::before {
	content: "";
	flex: 0 0 22px;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--kh-red);
}

.sp-may,
.ue-list li,
.sp-docs-liste li {
	position: relative;
}

.sp-may::after,
.ue-list li::after,
.sp-docs-liste li::after {
	content: "";
	position: absolute;
	width: 14px;
	height: 14px;
	background: var(--kh-surface);
	-webkit-mask: var(--kh-i-haken) center / contain no-repeat;
	mask: var(--kh-i-haken) center / contain no-repeat;
}

.sp-may::after {
	left: 4px;
	top: calc(16px + 4px);
}

/* ---------- Unterlagen ---------- */

.sp-docs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 48px;
	padding: 44px;
	border: 1px solid var(--kh-line);
	border-radius: 28px;
	background: var(--kh-surface);
}

.sp-docs > * {
	margin: 0;
}

.sp-docs-copy {
	display: flex;
	flex: 1 1 380px;
	flex-direction: column;
	gap: 16px;
	min-width: 0;
}

.sp-docs-copy > * {
	margin: 0;
}

.sp-docs-copy p:not(.is-style-eyebrow-schlicht):not(.kh-pfeil-link) {
	color: var(--kh-muted);
	font-size: 17px;
}

.sp-docs-liste {
	display: flex;
	flex: 1 1 380px;
	flex-direction: column;
	min-width: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

.sp-docs-liste li {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 14px;
	padding: 14px 0;
	border-bottom: 1px solid var(--kh-line-soft);
	font-weight: 600;
}

.sp-docs-liste li:last-child {
	border-bottom: 0;
	color: #70737a;
	font-weight: 500;
}

.sp-docs-liste li:last-child::before {
	background-color: #aaa49b;
}

.sp-docs-liste li::after {
	left: 4px;
	top: calc(50% - 7px);
}

/* Kursiver Text wird zum Etikett rechts */
.sp-docs-liste em {
	margin-left: auto;
	padding: 3px 10px;
	border-radius: 999px;
	background: var(--kh-tint);
	color: var(--kh-link);
	font-size: 12px;
	font-style: normal;
	font-weight: 600;
}

.sp-docs-liste li:last-child em {
	background: var(--kh-surface-alt);
	color: var(--kh-muted-2);
}

/* ---------- Über uns (Startseite) ---------- */

.ue-grid {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 72px;
}

.ue-grid > * {
	margin: 0;
}

.ue-foto {
	flex: 1 1 360px;
	min-width: 0;
	min-height: 320px;
	border-radius: 32px;
	background: #ede8e0;
}

.ue-foto img {
	display: block;
	width: 100%;
	height: 560px;
	border-radius: 32px;
	object-fit: cover;
	object-position: 50% 50%; /* Büro: Schreibtisch in der Mitte. */
}

.ue-copy {
	display: flex;
	flex: 1 1 460px;
	flex-direction: column;
	gap: 22px;
	min-width: 0;
}

.ue-copy > * {
	margin: 0;
}

.ue-p {
	color: var(--kh-muted);
	font-size: 18px;
}

.ue-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 4px 0 0;
	padding: 0;
	list-style: none;
}

.ue-list li {
	display: flex;
	align-items: center;
	gap: 14px;
	color: var(--kh-text);
	font-size: 17px;
	font-weight: 600;
}

.ue-list li::before {
	flex-basis: 26px;
	width: 26px;
	height: 26px;
}

.ue-list li::after {
	left: 6px;
	top: calc(50% - 7px);
}

/* Team-Karten füllen die Zeile: drei nebeneinander, wo Platz ist, sonst zwei und die dritte breit darunter,
   auf dem Handy untereinander. */
.ue-team {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

.ue-team > * {
	flex: 1 1 300px;
	min-width: 0;
	margin: 0;
}

.ue-person {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 16px;
	border: 1px solid var(--kh-line);
	border-radius: 20px;
	background: var(--kh-surface);
}

.ue-person > * {
	margin: 0;
}

.ue-person .ue-av {
	flex: 0 0 56px;
	width: 56px;
	height: 56px;
	overflow: hidden;
	border-radius: 50%;
	background: #ede8e0;
}

.ue-person .ue-av img {
	width: 56px;
	height: 56px;
	object-fit: cover;
}

.ue-person:not(:has(.ue-av, .kh-av-text))::before {
	content: "";
	flex: 0 0 56px;
	height: 56px;
	border-radius: 50%;
	background: #ede8e0;
}

.ue-person p {
	color: var(--kh-muted-2);
	font-size: 13px;
	line-height: 1.4;
}

.ue-person strong {
	display: block;
	color: var(--kh-text);
	font-size: 16px;
}

/* ---------- Öffnungszeiten und Beratungstermin ---------- */

.tm-grid {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 56px;
	padding-top: clamp(72px, 8vw, 104px);
	padding-bottom: 48px;
}

.tm > * {
	margin-block: 0;
}

.tm-grid > *,
.tm-copy > *,
.tm-box > *,
.tm-row > *,
.tm-adr > * {
	margin: 0;
}

.tm-copy {
	display: flex;
	flex: 1 1 440px;
	flex-direction: column;
	gap: 22px;
	min-width: 0;
}

.tm-text {
	max-width: 520px;
	color: var(--kh-muted);
	font-size: 18px;
}

.tm-box {
	flex: 1 1 452px;
	min-width: 0;
	padding: 36px;
	border-radius: 28px;
	background: var(--kh-surface-alt);
}

.tm-box h2,
.tm-box h3 {
	margin-bottom: 8px;
	font-size: 21px;
}

.tm-row {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	padding: 14px 0;
	border-bottom: 1px solid var(--kh-line-strong);
}

.tm-row small {
	display: block;
	color: var(--kh-muted-2);
	font-size: 13px;
}

.tm-w {
	font-weight: 600;
	text-align: right;
}

.tm-w small {
	font-weight: 400;
}

/* Erste-Hilfe-Kurs: Kursname bricht nicht um, rechts Tag, Uhrzeit und „Termine auf Anfrage“ je in einer Zeile. */
.tm-row-eh > :first-child {
	min-width: 0;
}

.tm-nowrap {
	white-space: nowrap;
}

.tm-zu {
	color: var(--kh-muted-2);
}

.tm-hinweis {
	margin-top: 18px;
	color: var(--kh-muted);
	font-size: 15px;
}

.tm-adr {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 16px;
	margin-top: 14px;
	font-size: 15px;
	font-weight: 600;
}

.tm .kh-kalender {
	margin-bottom: clamp(72px, 8vw, 104px);
}

/* ---------- Kontakt mit Formular ---------- */

.ko-grid {
	display: flex;
	flex-wrap: wrap;
	gap: 64px;
}

.ko-grid > *,
.ko-info > *,
.ko-list > *,
.ko-row > *,
.ko-media > * {
	margin: 0;
}

.ko-info {
	display: flex;
	flex: 1 1 380px;
	flex-direction: column;
	gap: 28px;
	min-width: 0;
}

.ko-intro {
	margin-top: -12px;
	color: var(--kh-muted);
	font-size: 18px;
}

.ko-list {
	display: flex;
	flex-direction: column;
	border-top: 1px solid var(--kh-line-strong);
}

.ko-row {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	padding: 18px 0;
	border-bottom: 1px solid var(--kh-line-strong);
}

.ko-k {
	color: var(--kh-muted);
}

.ko-w {
	font-weight: 500;
	text-align: right;
}

.ko-w a {
	color: var(--kh-text);
	text-decoration: none;
}

.ko-w a:hover {
	color: var(--kh-link);
}

.ko-w small {
	color: var(--kh-muted);
	font-size: 15px;
	font-weight: 400;
}

.ko-mail a {
	word-break: break-all;
}

.ko-media .ko-map-pin,
.ko-media .ko-map-btn,
.ko-media .ko-map-osm {
	white-space: nowrap;
}

.ko-media .ko-map-btn {
	padding: 0 20px;
}

/* ---------- ASF: Anmeldung (Text links, Formular rechts) ---------- */

.asf-anmeldung-grid {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 56px;
}

.asf-anmeldung-grid > *,
.asf-text > *,
.kh-hilfe > * {
	margin: 0;
}

.asf-text {
	display: flex;
	flex: 1 1 300px;
	flex-direction: column;
	gap: 16px;
	min-width: 0;
}

.asf-text h2 {
	font-size: clamp(32px, 3.8vw, 48px);
	line-height: 1.1;
}

.asf-text > p:not(.is-style-eyebrow-schlicht) {
	color: var(--kh-muted);
	font-size: 17px;
}

/* Hinweis-Kasten wie „Deine Frage ist nicht dabei?“ */
.kh-hilfe {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-top: 18px;
	padding: 24px;
	border-radius: 22px;
	background: var(--kh-surface);
}

.kh-hilfe strong {
	font-family: var(--kh-font-head);
	font-size: 18px;
}

.kh-hilfe p:not(:has(strong)) {
	margin-bottom: 8px;
	color: var(--kh-muted);
	font-size: 15px;
}

/* ---------- Über uns (ueber-uns.html) ---------- */

/* Hero mit Foto statt Infokasten */
.ue-hero-bild {
	flex: 1 1 380px;
	min-width: 0;
	min-height: 320px;
	border-radius: 32px;
	background: #ede8e0;
}

.ue-hero-bild img {
	display: block;
	width: 100%;
	height: 480px;
	border-radius: 32px;
	object-fit: cover;
	object-position: 38% 0%; /* Außenfoto: Schild und FK-Logo. */
}

/* Wer wir sind: Überschrift links, Text rechts */
.ue-intro {
	display: flex;
	flex-wrap: wrap;
	gap: 64px;
}

.ue-intro > *,
.ue-intro-text > * {
	margin: 0;
}

.ue-intro .kh-kopf-stapel {
	flex: 1 1 340px;
	margin-bottom: 0;
}

.ue-intro-text {
	display: flex;
	flex: 2 1 520px;
	flex-direction: column;
	gap: 20px;
	min-width: 0;
}

/* Fotos mit Beschriftung (Galerie, Karriere) */
.ue-gal,
.kr-fotos {
	display: grid;
	gap: 16px;
}

.ue-gal {
	grid-template-columns: 1.4fr 1fr;
	grid-template-rows: repeat(2, 260px);
}

.kr-fotos {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ue-gal > *,
.kr-fotos > * {
	margin: 0;
}

.ue-gal-gross {
	grid-row: span 2;
}

.kh-foto {
	position: relative;
	overflow: hidden;
	border-radius: 24px;
	background: #e9e4dc;
}

.kr-fotos .kh-foto {
	height: 320px;
}

.kh-foto img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.kh-foto figcaption {
	position: absolute;
	left: 14px;
	bottom: 14px;
	margin: 0;
	padding: 6px 14px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.94);
	box-shadow: 0 6px 16px rgba(17, 18, 20, 0.1);
	color: var(--kh-text);
	font-size: 13px;
	font-weight: 600;
}

/* Fuhrpark */
.ue-fuhrpark-label {
	color: var(--kh-muted-2);
	font-family: var(--kh-font-head);
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.ue-fuhrpark {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

.ue-fuhrpark-2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ue-fuhrpark > *,
.ue-auto > * {
	margin: 0;
}

.ue-auto {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 26px 26px 24px;
	border: 1px solid var(--kh-line);
	border-radius: 24px;
	background: var(--kh-surface);
}

.ue-auto-kopf {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 6px !important;
}

.ue-auto-kopf::before {
	content: "";
	width: 52px;
	height: 52px;
	border-radius: 16px;
	background: var(--kh-tint);
}

.ue-auto-kopf::after {
	content: "";
	position: absolute;
	left: 11px;
	top: 50%;
	width: 30px;
	height: 30px;
	margin-top: -15px;
	background: var(--kh-red);
	-webkit-mask: var(--kh-i-auto) center / contain no-repeat;
	mask: var(--kh-i-auto) center / contain no-repeat;
}

.ue-motorrad .ue-auto-kopf::after {
	-webkit-mask-image: var(--kh-i-motorrad);
	mask-image: var(--kh-i-motorrad);
}

.ue-auto-kopf > * {
	margin: 0;
}

.ue-auto h3 {
	font-size: 21px;
	letter-spacing: -0.01em;
	line-height: 1.6;
}

/* Fuhrpark: 40 px zwischen den Teilen, Label dicht über den Karten */
.ue-fuhrpark-abschnitt > * + * {
	margin-block-start: 40px;
}

.ue-fuhrpark-abschnitt > .ue-fuhrpark-label + .ue-fuhrpark {
	margin-block-start: 16px;
}

.ue-auto p:not(.sp-badge) {
	color: var(--kh-muted);
	font-size: 15px;
	line-height: 1.5;
}

.ue-auto small {
	color: var(--kh-muted-2);
	font-size: 14px;
}

.ue-auto .sp-badge {
	min-width: 72px;
	padding: 5px 14px;
	text-align: center;
	border-radius: 999px;
	background: var(--kh-tint);
	color: var(--kh-link);
	font-family: var(--kh-font-head);
	font-size: 15px;
	font-weight: 700;
}

/* ---------- Karriere (karriere.html) ---------- */

.kr-job-go {
	margin-top: auto !important;
	padding-top: 6px;
}

.kr-job-go a {
	color: var(--kh-link);
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
}

.kr-job-go a:hover {
	color: var(--kh-link);
}

/* Karte Bürokraft: breit unter den Fahrlehrer-Stellen, Text links, Eckdaten rechts. */
.kr-buero {
	display: grid;
	grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
	gap: 20px 40px;
	align-items: start;
	margin-top: 20px !important;
}

.kr-buero-kopf {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.kr-buero-kopf > * {
	margin: 0;
}

.kr-buero-fakten {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.kr-buero-fakten li {
	padding: 14px 18px;
	border-radius: 16px;
	background: var(--kh-tint);
	color: var(--kh-muted);
	font-size: 15px;
	line-height: 1.5;
}

.kr-buero-fakten strong {
	display: block;
	color: var(--kh-text);
	font-family: var(--kh-font-head);
	font-size: 17px;
}

/* TS-79-Seite: Partner-Karte mit Vereinslogo. Die ganze Karte führt zur Vorteilswelt der TS 79
   (der Link dehnt sich mit ::before über die Karte, der Pfeil ist ::after der Karte).
   Das Logo hat schwarze Schrift und eine dunkelblaue Welle, es steht deshalb in beiden Modi auf Weiß. */
.ts79-partner {
	position: relative;
	display: flex;
	align-items: center;
	gap: 14px;
	width: fit-content;
	max-width: 100%;
	padding: 8px 18px 8px 8px;
	border: 1px solid var(--kh-line);
	border-radius: 16px;
	background: var(--kh-surface);
	transition: border-color 0.2s;
}

.ts79-partner::after {
	content: "↗";
	flex: none;
	margin-left: 4px;
	color: var(--kh-link);
	font-size: 18px;
	line-height: 1;
}

.ts79-partner:hover {
	border-color: var(--kh-link);
}

.ts79-partner:has(a:focus-visible) {
	outline: 3px solid var(--kh-link);
	outline-offset: 3px;
}

.ts79-partner > *,
.ts79-partner-text > * {
	margin: 0;
}

.ts79-logo {
	flex: none;
	padding: 8px 12px;
	border-radius: 10px;
	background: #fff;
}

.ts79-logo img {
	display: block;
	width: auto;
	height: 40px;
}

.ts79-partner-text {
	min-width: 0;
	line-height: 1.35;
}

.ts79-partner-l {
	color: var(--kh-muted-2);
	font-size: 13px;
}

.ts79-partner-link a {
	color: var(--kh-link);
	font-size: 15px;
	font-weight: 600;
	text-decoration: none;
}

.ts79-partner-link a::before {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
}

.ts79-partner-link a:focus-visible {
	outline: none;
}

/* Karriere-Übersicht: kleine Karten (Anwärter, Initiativ) unter den großen Stellen-Karten. */
.kr-weitere {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin-top: 20px !important;
}

@media (max-width: 760px) {
	.kr-buero {
		grid-template-columns: 1fr;
	}

	.kr-weitere {
		grid-template-columns: 1fr;
	}
}

.kr-gehalt {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

.kr-gehalt > *,
.kr-gehalt-karte > * {
	margin: 0;
}

.kr-gehalt-karte {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 30px;
	border: 1px solid var(--kh-line);
	border-radius: 24px;
	background: var(--kh-surface);
}

.kr-gehalt-gross {
	color: var(--kh-red);
	font-family: var(--kh-font-head);
	font-size: 44px;
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1.05;
}

.kr-gehalt-karte h3 {
	font-size: 19px;
}

.kr-gehalt-karte p:not(.kr-gehalt-gross) {
	color: var(--kh-muted);
	font-size: 15px;
	line-height: 1.55;
}

.kr-zitat-reihe,
.kr-anforderungen {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 56px;
}

.kr-zitat-reihe > *,
.kr-anforderungen > *,
.kr-zitat > *,
.kr-person > * {
	margin: 0;
}

.kr-zitat-reihe .kh-kopf-stapel,
.kr-anforderungen .kh-kopf-stapel {
	flex: 1 1 340px;
	margin-bottom: 0;
}

.kr-zitat {
	display: flex;
	flex: 2 1 520px;
	flex-direction: column;
	gap: 24px;
	min-width: 0;
	padding: 40px;
	border: 1px solid var(--kh-line);
	border-radius: 28px;
	background: var(--kh-surface);
	box-shadow: 0 24px 60px rgba(17, 18, 20, 0.06);
}

.kr-zitat-text {
	font-family: var(--kh-font-head);
	font-size: clamp(20px, 2.2vw, 26px);
	font-weight: 600;
	letter-spacing: -0.01em;
	line-height: 1.4;
}

.kr-person {
	display: flex;
	align-items: center;
	gap: 14px;
}

.kr-person .wp-block-image img {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	object-fit: cover;
}

.kr-person p {
	color: var(--kh-muted);
	font-size: 14px;
}

.kr-person strong {
	display: block;
	color: var(--kh-text);
	font-size: 16px;
}

.kr-anforderungen {
	align-items: flex-start;
	margin-bottom: 72px !important;
}

.kr-liste {
	display: flex;
	flex: 2 1 480px;
	flex-direction: column;
	min-width: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

.kr-liste li {
	position: relative;
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 18px 0;
	border-bottom: 1px solid var(--kh-line);
	font-size: 17px;
	font-weight: 500;
}

.kr-liste li:last-child {
	border-bottom: 0;
}

.kr-liste li::before {
	content: "";
	flex: 0 0 22px;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--kh-red);
}

.kr-liste li::after {
	content: "";
	position: absolute;
	left: 4.5px;
	top: calc(50% - 6.5px);
	width: 13px;
	height: 13px;
	background: var(--kh-surface);
	-webkit-mask: var(--kh-i-haken) center / contain no-repeat;
	mask: var(--kh-i-haken) center / contain no-repeat;
}

/* ---------- Impressum und Datenschutz ---------- */

.lg-seite {
	padding-top: 72px;
	padding-bottom: var(--wp--preset--spacing--80);
}

.lg-seite > * {
	margin-block: 0;
}

.lg-seite .sp-h1 {
	margin-top: 20px;
}

.lg-seite .sp-lead {
	margin-top: 16px;
}

.lg-wrap {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 56px;
	margin-top: 48px !important;
}

.lg-body {
	flex: 1 1 560px;
	min-width: 0;
	max-width: 760px;
}

.lg-sec {
	margin: 0 !important;
	padding: 28px 0;
	border-top: 1px solid var(--kh-line);
	scroll-margin-top: 24px;
}

.lg-sec > :last-child {
	margin-block-end: 12px;
}

.lg-sec:first-child {
	padding-top: 0;
	border-top: 0;
}

.lg-sec h2 {
	margin: 0 0 12px;
	font-size: 22px;
	letter-spacing: -0.01em;
	line-height: 1.6;
}

.lg-sec h3 {
	margin: 22px 0 6px;
	font-size: 17px;
	line-height: 1.6;
}

.lg-sec p,
.lg-sec li {
	margin: 0 0 12px;
	color: var(--kh-soft);
	font-size: 16px;
	line-height: 1.65;
	overflow-wrap: anywhere;
}

.lg-sec ul {
	margin: 0;
	padding-left: 20px;
}

.lg-sec a {
	color: var(--kh-text);
	text-decoration: underline;
	text-decoration-color: var(--kh-red);
	text-underline-offset: 3px;
}

.lg-sec .lg-note {
	padding: 10px 14px;
	border-radius: 12px;
	background: #fbf3d6;
	color: var(--kh-muted-2);
	font-size: 14px;
}

.lg-sec .lg-box {
	padding: 16px 18px;
	border: 1px solid var(--kh-tint-line);
	border-radius: 16px;
	background: var(--kh-tint);
}

/* Offene Punkte im Entwurf, vor dem Livegang klären und entfernen */
.lg-todo {
	display: inline-block;
	padding: 1px 7px;
	border-radius: 6px;
	background: var(--kh-yellow);
	color: var(--kh-text);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.06em;
	vertical-align: 2px;
}

/* ---------- Danke-Seite ---------- */

.danke {
	min-height: 50vh;
}

.danke .sp-lead {
	max-width: 640px;
}

/* ---------- Landingpages und Funnel (inc/landing-muster.php) ---------- */

/* Hero etwas kompakter als auf der Startseite, damit Knopf und Formular schneller kommen. */
.lp-hero .hero-grid {
	gap: 64px;
	padding-top: 72px;
	padding-bottom: 72px;
}

.lp-hero .hero-copy {
	gap: 24px;
}

.lp-hero .hero-media .wp-block-image img {
	height: 520px;
}

/* Haken-Liste (rote Kreise mit weißem Haken, wie die Haken-Karten) */
.lp-haken {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.lp-haken li {
	position: relative;
	padding-left: 34px;
	font-size: 17px;
	font-weight: 600;
	line-height: 1.45;
}

.lp-haken li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 1px;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--kh-red);
}

.lp-haken li::after {
	content: "";
	position: absolute;
	left: 4.5px;
	top: 5.5px;
	width: 13px;
	height: 13px;
	background: var(--kh-surface);
	-webkit-mask: var(--kh-i-haken) center / contain no-repeat;
	mask: var(--kh-i-haken) center / contain no-repeat;
}

/* Vertrauensleiste als eigener Abschnitt (unter dem Funnel) */
.lp-vertrauen-sec {
	padding-block: 0 8px;
}

/* Kurzformular: Text links, Formular rechts */
.lp-formular {
	background: var(--kh-surface-alt);
}

.lp-formular-grid {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 48px 72px;
}

.lp-formular-grid > *,
.lp-formular-info > * {
	margin: 0;
}

.lp-formular-info {
	display: flex;
	flex: 1 1 380px;
	flex-direction: column;
	gap: 20px;
	min-width: 0;
}

.lp-formular-info h2 {
	font-size: clamp(32px, 3.8vw, 48px);
	letter-spacing: -0.03em;
	line-height: 1.1;
}

.lp-formular-text {
	max-width: 480px;
	color: var(--kh-muted);
	font-size: 18px;
}

/* Funnel-Abschnitt: Überschrift und Funnel in einer Spalte von 760 px */
.sec.lp-plan {
	padding-top: 64px;
}

.lp-plan > * {
	margin-block: 0;
}

.lp-plan-kopf {
	display: flex;
	flex-direction: column;
	gap: 20px;
	max-width: 760px;
}

.lp-plan > .lp-plan-kopf {
	margin-block-end: 40px;
}

.lp-plan-kopf > * {
	margin: 0;
}

@media (max-width: 760px) {
	.lp-hero .hero-grid {
		gap: 32px;
		padding-top: 32px;
		padding-bottom: 48px;
	}

	.lp-hero .hero-media .wp-block-image img {
		height: 300px;
	}

	.sec.lp-plan {
		padding-top: 32px;
	}

	/* Anrufen und WhatsApp stehen auf dem Handy schon in der Leiste unten, das Formular rückt nach oben. */
	.lp-formular-info .kh-buttons {
		display: none;
	}

	.lp-formular-grid {
		gap: 32px;
	}

	.lp-plan > .lp-plan-kopf {
		margin-block-end: 28px;
	}
}

/* ---------- Breakpoints ---------- */

@media (max-width: 1100px) {
	.ablauf {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.sp-var {
		grid-template-columns: 1fr;
	}

	.sp-var-4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 1100px) {
	.ue-fuhrpark {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 760px) {
	.ue-hero-bild img {
		height: 360px;
	}

	.ue-gal,
	.kr-fotos,
	.ue-fuhrpark,
	.kr-gehalt {
		grid-template-columns: 1fr;
	}

	.ue-gal {
		grid-template-rows: 240px 200px 200px;
	}

	.ue-gal-gross {
		grid-row: auto;
	}

	.kr-fotos .kh-foto {
		height: 240px;
	}

	.kr-zitat {
		padding: 28px 22px;
	}
}

@media (max-width: 560px) {
	/* Erste-Hilfe-Zeile untereinander, sonst bricht „Regelmäßig sonntags“ um. */
	.tm-row-eh {
		flex-direction: column;
		gap: 6px;
	}

	.tm-row-eh .tm-w {
		text-align: left;
	}

	.sp-var-4 {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 760px) {
	.hero-grid {
		gap: 40px;
		padding-top: 40px;
		padding-bottom: 64px;
	}

	.hero-media .wp-block-image img {
		height: 420px;
	}

	.usp {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.usp > * + * {
		border-top: 1px solid var(--kh-line-soft);
	}

	.kh-kopf {
		margin-bottom: 36px;
	}

	.sp-hero {
		gap: 40px;
		padding-top: 28px;
		padding-bottom: 64px;
	}

	.sp-h1 {
		font-size: 34px;
		-webkit-hyphens: auto;
		hyphens: auto;
	}

	.sp-facts {
		padding: 24px 22px;
	}

	.ablauf {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.ab-card {
		min-height: 0;
		padding: 86px 22px 22px;
	}

	.ab-card::before {
		top: 22px;
		left: 22px;
	}

	.ab-card::after {
		top: 33px;
		right: 22px;
	}

	.sp-cta {
		padding: 36px 24px;
		border-radius: 24px;
	}
}

@media (max-width: 760px) {
	.klassen {
		grid-template-columns: 1fr;
	}

	.kl-panel,
	.kl-asf {
		padding: 26px 22px;
	}

	.kl-asf::after {
		left: calc(22px + 13px);
		top: calc(26px + 13px);
	}

	/* Etikett „B“, „B78“ … bleibt 68 px breit wie auf dem Computer (gleich groß auf jedem Bildschirm). */
	.kl-row {
		gap: 12px;
	}

	.sp-docs {
		gap: 28px;
		padding: 28px 22px;
	}

	.ue-grid {
		gap: 40px;
	}

	.ue-foto img {
		height: 420px;
	}

	.tm-grid {
		gap: 36px;
	}

	.tm-box {
		padding: 24px 22px;
	}

	.ko-grid {
		gap: 48px;
	}

	.ko-row {
		flex-direction: column;
		gap: 2px;
		padding: 14px 0;
	}

	.ko-w {
		text-align: left;
	}
}

@media (max-width: 560px) {
	/* Kurze Texte, damit die Pillen auf dem Handy kompakt bleiben. */
	.hj-long {
		display: none;
	}

	.hj-kurz {
		display: inline;
	}
}

@media (max-width: 380px) {
	.hero-claim {
		font-size: 35px;
	}
}

/* Unter 360 px war „Kupplungshelden.“ mit 35 px ein paar Pixel breiter als der Bildschirm (geprüft 20.11.2026). */
@media (max-width: 359px) {
	.hero-claim {
		font-size: 32px;
	}
}

/* Hinweis, den nur Redakteure sehen (z. B. „Keine Fragen gefunden“) */
.kh-editor-hinweis {
	margin: 24px auto;
	padding: 14px 18px;
	border: 1px dashed var(--kh-line-strong);
	border-radius: 12px;
	color: var(--kh-muted);
	font-size: 14px;
}

/* ---------- Nur im Editor ---------- */

/* Kopf und Fuß sind dort nur Vorschau: Links nicht anklickbar, Leiste nicht fixiert */
.editor-styles-wrapper [class*="wp-block-kupplungshelden-"] a,
.editor-styles-wrapper [class*="wp-block-kupplungshelden-"] summary,
.editor-styles-wrapper [class*="wp-block-kupplungshelden-"] button {
	pointer-events: none;
}

.editor-styles-wrapper .mbar {
	position: static;
}

/* Cookie-Banner: bleibt versteckt, bis sein CSS (nicht blockierend geladen, siehe Plugin inc/ladezeit.php) da ist. */
.cmplz-cookiebanner.cmplz-hidden {
	display: none;
}

/* ---------- Vorerst ohne Fotos (Deniz, 14.11.2026, bis neue Fotos da sind) ---------- */

/* Startseite: Bürozeiten unter den Knöpfen statt auf dem Foto. */
.hero-copy .hero-badge {
	position: static;
	align-self: flex-start;
	border: 1px solid var(--kh-line);
	box-shadow: none;
}

/* „Hi, ich bin Deniz“ ohne Foto: Text nicht über die ganze Breite. */
.ue-grid > .ue-copy:only-child {
	max-width: 760px;
}

/* Kürzel statt Porträt (Team-Kärtchen und Zitat auf Karriere). */
.ue-person .kh-av-text,
.kr-person .kh-av-text {
	display: grid;
	flex: 0 0 56px;
	place-items: center;
	width: 56px;
	height: 56px;
	margin: 0;
	border-radius: 50%;
	background: var(--kh-tint);
	color: var(--kh-link); /* 5,4 zu 1 auf --kh-tint */
	font-family: var(--kh-font-head);
	font-size: 22px;
	font-weight: 700;
	line-height: 1;
}

/* ==========================================================================
   Darstellung hell und dunkel (14.11.2026, heller gemacht und mit Umschalter am selben Tag)
   inc/darstellung.php setzt data-theme="light" oder "dark" am <html>: gespeicherte Wahl (Knopf im Kopf,
   Auswahl im Fuß), sonst die Einstellung des Geräts. Ohne JavaScript bleibt die Seite hell.
   Gleiche Variablennamen wie in theme.json, nur andere Werte. Kontraste gemessen: Text mind. 4,5 zu 1
   (Text 11 bis 14, gedämpft 5,9 bis 8,7, Link 6,5 bis 8, Orange als Schrift 4,8 bis 6,1).
   ========================================================================== */

:root {
	color-scheme: light;
}

/* Logo: zwei Fassungen (kh_theme_logo), sichtbar ist die passende. Mit dem Elternteil davor, sonst gewinnt
   „.hdr-logo img { display: block }“ und beide wären zu sehen. */
.hdr-logo .kh-logo-hell,
.ft-brand .kh-logo-hell,
[data-theme="dark"] .hdr-logo .kh-logo-normal,
[data-theme="dark"] .ft-brand .kh-logo-normal {
	display: none;
}

[data-theme="dark"] .hdr-logo .kh-logo-hell,
[data-theme="dark"] .ft-brand .kh-logo-hell {
	display: block;
}

/* Doppelte Angabe, damit es sicher gegen die Werte aus theme.json gewinnt. */
:root:root[data-theme="dark"] {
	color-scheme: dark;
	--wp--preset--color--background: #262422;
	--wp--preset--color--surface: #302d2a;
	--wp--preset--color--surface-alt: #39352f;
	--wp--preset--color--text: #f6f3ee;
	--wp--preset--color--text-muted: #c8c2b9;
	--wp--preset--color--border: #4c4741;
	--wp--preset--color--border-strong: #5a544c;
	--wp--preset--color--link: #ffa47e;
	--wp--preset--color--tint: #4b2c21;
	--wp--preset--color--brand-red: #f78152; /* etwas heller, damit Orange als Schrift lesbar bleibt */
	--wp--custom--color--text-soft: #e4dfd7;
	--wp--custom--color--muted-2: #b9b3a9;
	--wp--custom--color--link-hover: #ffc2a6;
	--wp--custom--color--line: #403b36;
	--wp--custom--color--input: #958d82;
	--wp--custom--color--control: #958d82;
	--wp--custom--color--tint-border: #7d3f27;
	--wp--custom--color--fehler: #ffa092;
	--wp--custom--color--fehler-flaeche: #4d2622;
}

/* Kopf und Leiste unten: halb durchsichtig wie im hellen Modus. */
[data-theme="dark"] .hdr {
	background: rgba(38, 36, 34, 0.94);
}

[data-theme="dark"] .mbar {
	background: rgba(38, 36, 34, 0.96);
	box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .hero-job:hover {
	background: var(--kh-tint);
}

/* Flächen, auf denen sonst ein Foto liegt, und Platzhalter. */
[data-theme="dark"] .hero-media,
[data-theme="dark"] .ue-foto,
[data-theme="dark"] .ue-person .ue-av,
[data-theme="dark"] .ue-person:not(:has(.ue-av, .kh-av-text))::before,
[data-theme="dark"] .ue-hero-bild,
[data-theme="dark"] .kh-foto {
	background: var(--kh-surface-alt);
}

[data-theme="dark"] .kh-foto figcaption {
	background: rgba(48, 45, 42, 0.92);
}

/* Zarte Farbflächen hinter Symbolen: dunkle Fassung der jeweiligen Farbe. */
[data-theme="dark"] .kl-h-moto::before {
	background-color: #4a3420;
}

[data-theme="dark"] .kl-asf::before,
[data-theme="dark"] .lg-sec .lg-note {
	background-color: #463b1c;
}

[data-theme="dark"] .sp-docs-liste li:last-child {
	color: var(--kh-muted-2);
}

[data-theme="dark"] .sp-docs-liste li:last-child::before {
	background-color: #7d776f;
}

/* ---------- Umschalter ---------- */

/* Knopf im Kopf: rund wie der Menü-Knopf, Mond im hellen Modus, Sonne im dunklen. */
.hdr-modus {
	display: grid;
	flex: none;
	place-items: center;
	width: 46px;
	height: 46px;
	padding: 0;
	border: 1px solid var(--kh-control);
	border-radius: 50%;
	background: var(--kh-surface);
	color: var(--kh-text);
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
}

.hdr-modus:hover {
	border-color: var(--kh-red);
	color: var(--kh-link);
}

.hdr-modus:focus-visible,
.ft-modus button:focus-visible {
	outline: 3px solid var(--kh-red);
	outline-offset: 2px;
}

.hdr-modus-sonne,
[data-theme="dark"] .hdr-modus-mond {
	display: none;
}

[data-theme="dark"] .hdr-modus-sonne {
	display: block;
}

/* Auswahl im Fuß: drei Knöpfe nebeneinander, der gewählte gefüllt. */
.ft-modus-zeile {
	padding-top: 8px;
	padding-bottom: 8px;
}

/* Die drei Knöpfe gleich breit (Wunsch Deniz 20.11.2026), so breit wie „Automatisch“. */
.ft-modus {
	display: inline-grid;
	grid-template-columns: auto repeat(3, minmax(0, 1fr));
	align-items: center;
	gap: 8px;
	max-width: 100%;
}

.ft-modus-k {
	margin-right: 4px;
	color: var(--kh-muted);
	font-size: 14px;
}

.ft-modus button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-width: 0;
	min-height: 44px;
	padding: 0 14px;
	white-space: nowrap;
	border: 1px solid var(--kh-line);
	border-radius: 999px;
	background: transparent;
	color: var(--kh-text);
	font: inherit;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
}

.ft-modus button:hover {
	border-color: var(--kh-red);
}

.ft-modus button[aria-pressed="true"] {
	border-color: var(--kh-text);
	background: var(--kh-text);
	color: var(--kh-surface);
}

/* Weiche Überblendung beim Umschalten (nicht beim Laden, nicht bei „Bewegung reduzieren“). */
@media (prefers-reduced-motion: no-preference) {
	html.kh-wechsel,
	html.kh-wechsel * {
		transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease !important;
	}
}

/* Handy: „Darstellung“ über den drei Knöpfen, die sich die ganze Breite gleichmäßig teilen. */
@media (max-width: 560px) {
	.ft-modus {
		display: grid;
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.ft-modus-k {
		grid-column: 1 / -1;
		margin: 0;
	}

	.ft-modus button {
		padding: 0 8px;
	}
}

/* Ohne Symbole, damit „Automatisch“ auch auf schmalen Handys in seinen Knopf passt. */
@media (max-width: 460px) {
	.ft-modus button svg {
		display: none;
	}
}

/* Unter 360 px untereinander, jeder Knopf volle Breite. */
@media (max-width: 359px) {
	.ft-modus {
		grid-template-columns: minmax(0, 1fr);
	}
}
