/* ════════════════════════════════════════════════════════════════════
   COMPONENTS — alle .wh-* Klassen
   ════════════════════════════════════════════════════════════════════ */

/* ═══ CANONICAL CLASSES ═══════════════════════════════════════════════
   Prompt 30 — schlankes, standardisiertes Klassen-Vokabular.
   Nutzt die 8 Basis-Tokens DIREKT (nicht die Alias-Properties).
   Neue Templates nutzen diese Klassen; .wh-*-Klassen bleiben für
   theme-spezifische Komponenten erhalten.
   ════════════════════════════════════════════════════════════════════ */

/* ─── BUTTONS ──────────────────────────────────────────────────────── */

/* Basis-Shape — nie standalone, immer mit einer Variante kombinieren */
.btn-base {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	min-width: 44px;
	padding: 10px 22px;
	font-weight: 600;
	font-size: 15px;
	line-height: 1;
	border-radius: var(--radius-md);
	border: 1.5px solid transparent;
	transition: background 150ms, color 150ms, border-color 150ms;
	cursor: pointer;
	text-decoration: none;
}
.btn-base:disabled,
.btn-base[disabled] {
	opacity: 0.5;
	cursor: not-allowed;
	pointer-events: none;
}

/* Notruf-Rot — ausschließlich für Telefon-Aktionen (--color-accent-rgb) */
.btn-cta {
	background: rgb(var(--color-accent-rgb));
	color: #fff;
	border-color: transparent;
}
.btn-cta:hover {
	background: color-mix(in srgb, rgb(var(--color-accent-rgb)) 92%, black);
	color: #fff;
}

/* Petrol — für die wichtigste reguläre Aktion (nicht Telefon) */
.btn-primary {
	background: rgb(var(--color-main-rgb));
	color: #fff;
	border-color: transparent;
}
.btn-primary:hover {
	background: color-mix(in srgb, rgb(var(--color-main-rgb)) 80%, black);
	color: #fff;
}

/* Dark-mode override: DM --color-main-rgb (95 181 216) is light — white text fails (2.31:1).
   Use dark ink (#0a2a3c) for sufficient contrast (6.45:1). */
[data-theme="dark"] .btn-primary {
	color: #0a2a3c;
}
[data-theme="dark"] .btn-primary:hover {
	color: #0a2a3c;
}

/* Sekundär — ruhige Aktion; nutzt --color-dark-rgb (Phase 8 §36: war Charcoal/--color-accent-rgb) */
.btn-secondary {
	background: rgb(var(--color-dark-rgb));
	color: #fff;
	border-color: transparent;
}
.btn-secondary:hover {
	background: color-mix(in srgb, rgb(var(--color-dark-rgb)) 80%, black);
	color: #fff;
}
[data-theme="dark"] .btn-secondary {
	background: rgb(var(--color-dark-rgb));
	color: rgb(var(--color-light-rgb));
}
[data-theme="dark"] .btn-secondary:hover {
	background: color-mix(in srgb, rgb(var(--color-dark-rgb)) 90%, white);
	color: rgb(var(--color-light-rgb));
}

/* Ghost — transparent, nur Hover-Tint; für Hero-Kontext (Hero ist konstant dunkel) */
.btn-ghost {
	background: rgb(var(--color-brand-light-rgb) / 0.06);
	color: rgb(var(--color-brand-light-rgb));
	border: 1.5px solid rgb(var(--color-brand-light-rgb) / 0.18);
}
.btn-ghost:hover {
	background: rgb(var(--color-brand-light-rgb) / 0.14);
	color: rgb(var(--color-brand-light-rgb));
}

/* Link — Inline-Text-Link mit Underline + Min-Height */
.btn-link {
	background: transparent;
	color: rgb(var(--color-main-rgb));
	border-color: transparent;
	padding-left: 0;
	padding-right: 0;
	text-decoration: underline;
	text-underline-offset: 3px;
}
.btn-link:hover {
	color: color-mix(in srgb, rgb(var(--color-main-rgb)) 80%, black);
}

/* Icon-only, transparent — Toggles, Schließen-Buttons */
.btn-icon-ghost {
	background: transparent;
	color: rgb(var(--color-dark-rgb));
	border-color: transparent;
	padding: 0;
	width: 44px;
	min-width: 44px;
}
.btn-icon-ghost:hover {
	background: rgb(var(--color-dark-rgb) / 0.06);
}

/* Icon-only mit Border */
.btn-icon-secondary {
	background: rgb(var(--color-dark-rgb) / 0.04);
	color: rgb(var(--color-dark-rgb));
	border-color: rgb(var(--color-dark-rgb) / 0.15);
	padding: 0;
	width: 44px;
	min-width: 44px;
}
.btn-icon-secondary:hover {
	background: rgb(var(--color-dark-rgb) / 0.08);
	border-color: rgb(var(--color-dark-rgb) / 0.25);
}

/* ─── INPUTS ───────────────────────────────────────────────────────── */

.input {
	width: 100%;
	min-height: 44px;
	padding: 10px 14px;
	border: 1px solid rgb(var(--color-dark-rgb) / 0.15);
	border-radius: var(--radius-md);
	background: rgb(var(--color-light-rgb));
	font-size: 15px;
	color: rgb(var(--color-dark-rgb));
	transition: border-color 150ms, background 150ms;
}
.input:focus {
	outline: 0;
	border-color: rgb(var(--color-main-rgb));
	box-shadow: 0 0 0 3px rgb(var(--color-main-rgb) / 0.25);
}
.input::placeholder {
	opacity: 0.6;
}
[data-theme="dark"] .input {
	background: color-mix(in srgb, rgb(var(--color-light-rgb)) 88%, white);
	border-color: rgb(var(--color-dark-rgb) / 0.15);
}
[data-theme="dark"] .input:focus {
	border-color: rgb(var(--color-main-rgb));
	box-shadow: 0 0 0 3px rgb(var(--color-main-rgb) / 0.35);
}

.input-error {
	border-color: rgb(var(--color-accent-rgb));
}

textarea.input {
	min-height: 88px;
	resize: vertical;
}

select.input {
	appearance: none;
	-webkit-appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 12px center;
	padding-right: 38px;
}

.label {
	display: block;
	font-size: 14px;
	font-weight: 600;
	margin-bottom: 8px;
	color: rgb(var(--color-dark-rgb));
}

.help {
	font-size: 13px;
	color: rgb(var(--color-dark-rgb) / 0.6);
	margin-top: 6px;
}

.err {
	font-size: 13px;
	color: rgb(var(--color-accent-rgb));
	margin-top: 6px;
}

/* ─── CARDS ────────────────────────────────────────────────────────── */

.card {
	background: rgb(var(--color-light-rgb));
	border: 1px solid rgb(var(--color-dark-rgb) / 0.1);
	border-radius: var(--radius-lg);
}
[data-theme="dark"] .card {
	background: color-mix(in srgb, rgb(var(--color-light-rgb)) 92%, white);
	border-color: rgb(var(--color-dark-rgb) / 0.12);
}

.card-hover {
	cursor: pointer;
	transition: border-color 150ms;
}
.card-hover:hover {
	border-color: rgb(var(--color-main-rgb));
}

/* ─── BADGES ───────────────────────────────────────────────────────── */

.badge-base {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 2px 8px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.badge-default {
	background: rgb(var(--color-dark-rgb) / 0.08);
	color: rgb(var(--color-dark-rgb) / 0.7);
}

.badge-outline {
	background: transparent;
	color: rgb(var(--color-dark-rgb) / 0.7);
	border: 1px solid rgb(var(--color-dark-rgb) / 0.2);
}

.badge-main {
	background: rgb(var(--color-main-rgb) / 0.12);
	color: rgb(var(--color-main-rgb));
}

/* Phase 8 §36: badge-accent (Notruf-Rot) — war badge-cta.
   badge-success, badge-warning, badge-information entfernt. */
.badge-accent {
	background: rgb(var(--color-accent-rgb) / 0.12);
	color: rgb(var(--color-accent-rgb));
}

/* ─── COMPONENT STATES ─────────────────────────────────────────────
   Prompt 32 — kanonische State-Klassen.
   Precedence: error > disabled > loading > active > focus > hover > base
   ─────────────────────────────────────────────────────────────────── */

/* Disabled — für nicht-native Elemente (Anchors, Divs, composite controls).
   Native <button disabled> / <input disabled> erben via :disabled in .btn-base/.input. */
.is-disabled {
	opacity: 0.5;
	cursor: not-allowed;
	pointer-events: none;
}

/* Loading — Spinner overlay; Inhalt fadet aus. */
.is-loading {
	position: relative;
	pointer-events: none;
}
.is-loading > * {
	opacity: 0.4;
}
.is-loading::after {
	content: "";
	position: absolute;
	inset: 0;
	margin: auto;
	width: 1rem;
	height: 1rem;
	border: 2px solid currentColor;
	border-right-color: transparent;
	border-radius: 9999px;
	animation: wolfhard-spin 0.7s linear infinite;
	pointer-events: none;
}
@keyframes wolfhard-spin {
	to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
	/* Global * rule in custom-properties.css already sets 0.01ms !important;
	   this explicit rule ensures wolfhard-spin is visually stopped even if
	   the global rule is not loaded (e.g. critical-CSS-only mode). */
	.is-loading::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}

/* Has-error — für composite controls (custom dropdowns, chip-container, date-range trigger).
   Native <input> nutzen .input-error (existiert bereits aus Prompt 30). */
.has-error {
	border-color: rgb(var(--color-accent-rgb) / 0.3);
}
.has-error[data-tone="strong"] {
	box-shadow: 0 0 0 2px rgb(var(--color-accent-rgb) / 0.3);
}

/* ═══ END CANONICAL CLASSES ══════════════════════════════════════════ */


/* ═════════ HEADER ═════════ */
.wh-header {
	position: sticky;
	top: 0;
	z-index: var(--z-header);
	background: var(--header-bg);
	backdrop-filter: saturate(180%) blur(14px);
	-webkit-backdrop-filter: saturate(180%) blur(14px);
	border-bottom: 1px solid var(--color-border);
	transition: padding 0.2s ease, background-color 0.2s ease;
}
.wh-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 60px;
	padding-top: 10px;
	padding-bottom: 10px;
}
.wh-header.is-scrolled .wh-header__inner { min-height: 52px; padding-top: 6px; padding-bottom: 6px; }

.wh-header__logo { display: flex; flex-direction: column; line-height: 1; flex-shrink: 0; }
.wh-header__logo-text {
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 20px;
	color: var(--color-text);
	letter-spacing: -0.02em;
}
.wh-header__logo-sub {
	font-size: 10px;
	font-weight: 500;
	color: var(--color-text-muted);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	margin-top: 2px;
}
.wh-header__logo .custom-logo { max-height: 44px; width: auto; }

.wh-header__menu {
	display: flex;
	gap: 18px;
	align-items: center;
}
.wh-header__menu a {
	color: var(--color-text-soft);
	font-size: 14px;
	font-weight: 500;
	padding: 6px 4px;
	transition: color 0.15s;
	border-bottom: 2px solid transparent;
}
.wh-header__menu a:hover,
.wh-header__menu .current-menu-item > a,
.wh-header__menu .current_page_item > a { color: var(--color-accent); border-bottom-color: var(--color-accent); }

.wh-header__cta {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: var(--color-cta-start);
	color: #fff !important;
	font-weight: 600;
	font-size: 14px;
	padding: 9px 16px;
	border-radius: var(--radius-md);
	transition: background 0.15s;
}
.wh-header__cta:hover { background: var(--color-cta-end); }

/* Mobile header controls row */
.wh-header__mobile { gap: 8px; }

/* Shared: all icon-buttons in header (mobile + desktop) */
.wh-menu-toggle,
.wh-theme-toggle,
.wh-lang__toggle {
	width: 38px; height: 38px;
	display: inline-flex; align-items: center; justify-content: center;
	background: var(--color-bg-card-alt);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
	font-size: 16px;
	color: var(--color-text);
	transition: background 0.15s, transform 0.1s;
	cursor: pointer;
}
.wh-lang__toggle { width: auto; padding: 0 10px; font-size: 13px; font-weight: 600; gap: 4px; }
.wh-theme-toggle:hover,
.wh-menu-toggle:hover,
.wh-lang__toggle:hover { background: var(--color-bg-card); }
.wh-menu-toggle:active { transform: scale(0.96); }

/* Mini phone CTA button (mobile header only) */
.wh-header__phone-mini {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px; height: 38px;
	background: var(--color-cta-start);
	color: #fff;
	border-radius: var(--radius-md);
	border: none;
	text-decoration: none;
	transition: background 0.15s, transform 0.1s;
}
.wh-header__phone-mini:hover { background: var(--color-cta-end); }
.wh-header__phone-mini svg { display: block; }
/* Only show on mobile */
@media (min-width: 769px) {
	.wh-header__phone-mini { display: none; }
}

/* ═════════ LANG DROPDOWN ═════════ */
.wh-lang { position: relative; }
.wh-lang__dropdown {
	display: none;
	position: absolute;
	right: 0;
	top: calc(100% + 6px);
	background: var(--color-bg-card);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
	box-shadow: 0 4px 12px rgba(0,0,0,0.08);
	min-width: 140px;
	overflow: hidden;
	z-index: var(--z-mobile-menu);
}
/* Drawer variant: position relative to its container, not fixed */
.wh-lang__dropdown--drawer {
	position: absolute;
	top: calc(100% + 4px);
	left: 0;
	right: auto;
	min-width: 140px;
}
.wh-lang__dropdown.is-open { display: block; animation: slideDown 0.18s ease-out; }
.wh-lang__dropdown a {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 10px 14px;
	font-size: 14px;
	color: var(--color-text);
	border-bottom: 1px solid var(--color-border);
}
.wh-lang__dropdown a:last-child { border-bottom: 0; }
.wh-lang__dropdown a:hover { background: var(--color-bg-card-alt); }
.wh-lang__dropdown a.is-active { background: var(--color-bg-card-alt); color: var(--color-accent); font-weight: 600; }

/* ═════════ MOBILE MENU DRAWER ═════════ */
.wh-mobile-menu {
	display: none;
	position: fixed;
	/* Safe-area-inset-top + header height (60 px) */
	top: calc(60px + env(safe-area-inset-top, 0px));
	left: 0; right: 0; bottom: 0;
	background: var(--color-bg);
	z-index: var(--z-mobile-menu);
	padding: 0 0 calc(100px + env(safe-area-inset-bottom, 0px));
	overflow-y: auto;
	border-top: 1px solid var(--color-border);
	-webkit-overflow-scrolling: touch;
}
.wh-mobile-menu.is-open { display: flex; flex-direction: column; animation: slideDown 0.22s ease-out; }

/* Drawer header row: eyebrow label + close button */
.wh-mobile-menu__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 20px 20px 12px;
	border-bottom: 1px solid var(--color-border);
	flex-shrink: 0;
}
.wh-mobile-menu__eyebrow {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--color-text-muted);
}
.wh-mobile-menu__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px; height: 36px;
	background: var(--color-bg-card-alt);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
	color: var(--color-text);
	cursor: pointer;
	transition: background 0.15s;
}
.wh-mobile-menu__close:hover { background: var(--color-bg-card); }

/* Nav list */
.wh-mobile-menu ul {
	display: flex;
	flex-direction: column;
	gap: 0;
	padding: 12px 20px;
	flex-grow: 1;
}

/* Each nav link: flex, icon + label + chevron, big touch target */
.wh-mobile-menu a {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 56px;
	padding: 18px 12px;
	font-size: 17px;
	font-weight: 500;
	color: var(--color-text);
	border-bottom: 1px solid var(--color-border);
	text-decoration: none;
}
.wh-mobile-menu li:last-child > a { border-bottom: 0; }
.wh-mobile-menu a:hover,
.wh-mobile-menu .current-menu-item > a { color: var(--color-accent); }
/* Icon left, text grows, chevron right */
.wh-mobile-menu a .wh-nav-icon { flex-shrink: 0; color: var(--color-accent); }
.wh-mobile-menu a > span { flex: 1; }
.wh-mobile-menu a .wh-nav-arrow { flex-shrink: 0; color: var(--color-text-muted); }

/* Settings block (theme toggle + lang) */
.wh-mobile-menu__settings {
	padding: 20px 20px 16px;
	border-top: 1px solid var(--color-border);
	flex-shrink: 0;
}
.wh-mobile-menu__settings .wh-mobile-menu__eyebrow { display: block; margin-bottom: 12px; }
.wh-mobile-menu__settings-row {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}
/* Theme toggle inside drawer: wider to show label */
.wh-mobile-menu__settings .wh-theme-toggle {
	width: auto;
	padding: 0 12px;
	gap: 8px;
	height: 40px;
	flex-shrink: 0;
}
.wh-mobile-menu__settings-label {
	font-size: 14px;
	font-weight: 500;
}
/* Lang dropdown inside drawer */
.wh-lang--drawer { position: relative; }
.wh-lang--drawer .wh-lang__toggle { height: 40px; }

/* CTA block at the bottom of the drawer */
.wh-mobile-menu__cta-block {
	padding: 16px 20px 20px;
	border-top: 1px solid var(--color-border);
	flex-shrink: 0;
}
.wh-mobile-menu__cta-eyebrow { margin-bottom: 10px; }

/* Legacy class kept for compatibility */
.wh-mobile-menu__cta { margin-top: 0; }
.wh-cta-full {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background: var(--color-cta-start);
	color: #fff !important;
	font-weight: 700;
	font-size: 16px;
	padding: 16px;
	border-radius: var(--radius-md);
	transition: background 0.15s;
}
.wh-cta-full:hover { background: var(--color-cta-end); }

/* ═════════ MOBILE BOTTOM CTA BAR ═════════ */
.wh-mobile-bar {
	position: fixed;
	bottom: 0; left: 0; right: 0;
	z-index: var(--z-mobile-bar);
	background: var(--mobile-bar-bg);
	backdrop-filter: saturate(180%) blur(14px);
	-webkit-backdrop-filter: saturate(180%) blur(14px);
	border-top: 1px solid var(--color-border);
	padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
	box-shadow: 0 -1px 4px rgba(0,0,0,0.06);
}
/* Damit der fixe CTA-Streifen den Footer nicht überdeckt. */
@media (max-width: 959.98px) {
	body { padding-bottom: 76px; }
	body.is-menu-open { padding-bottom: 0; }
}
.wh-mobile-bar a {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	background: var(--color-cta-start);
	color: #fff !important;
	font-weight: 700;
	font-size: 15px;
	padding: 14px;
	border-radius: var(--radius-md);
	animation: pulse 2s infinite;
	transition: background 0.15s;
}
.wh-mobile-bar a:hover { background: var(--color-cta-end); }

/* ═════════ HERO ═════════ */
.wh-hero {
	position: relative;
	background: linear-gradient(180deg, var(--color-hero-start) 0%, var(--color-hero-end) 100%);
	/* Hero-Vordergrund-Token: standardmäßig konstant hell (auf dunklem Brand-Verlauf).
	   Wenn ein Bild-Overlay präsent ist, wird der Token via :has() unten so umgestellt,
	   dass Text mit dem Theme flippt (dunkel im Light-Mode, hell im Dark-Mode), um
	   mit dem ebenfalls flippenden Overlay zu kontrastieren. */
	--hero-fg-rgb: var(--color-brand-light-rgb);
	color: rgb(var(--hero-fg-rgb));
	padding: clamp(48px, 9vw, 96px) 0 clamp(80px, 12vw, 120px);
	overflow: hidden;
}
.wh-hero:has(.wh-hero__image-overlay) {
	/* --color-dark-rgb flippt mit Theme: dunkel im Light-Mode (lesbar auf hellem
	   Overlay), hell im Dark-Mode (lesbar auf dunklem Overlay). */
	--hero-fg-rgb: var(--color-dark-rgb);
}
/* Optionaler Hintergrundbild-Layer (Prompt 20): liegt zwischen Verlauf und Content.
   Bild ist immer voll opak (opacity: 1) – die wahrgenommene Transparenz wird über
   das darüberliegende .wh-hero__image-overlay (Light-Token) gesteuert. */
.wh-hero__image {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	z-index: 0;
	pointer-events: none;
	opacity: 1;
}
/* Light-Overlay über dem Bild – Farbe folgt automatisch dem Theme-Modus,
   da --color-light-rgb unter [data-theme="dark"] auf den Dark-Mode-Wert
   umgeschaltet wird (siehe inc/customizer.php). */
.wh-hero__image-overlay {
	position: absolute;
	inset: 0;
	background-color: rgb(var(--color-light-rgb));
	z-index: 1;
	pointer-events: none;
}
.wh-hero__inner { position: relative; z-index: 2; }
.wh-hero__badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: rgb(var(--hero-fg-rgb) / 0.10);
	border: 1px solid rgb(var(--hero-fg-rgb) / 0.18);
	color: rgb(var(--hero-fg-rgb));
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	padding: 7px 14px;
	border-radius: 999px;
	margin-bottom: 22px;
	backdrop-filter: blur(8px);
}
.wh-hero__badge::before {
	content: "";
	width: 7px; height: 7px;
	border-radius: 50%;
	background: rgb(var(--color-accent-rgb));
}
.wh-hero h1 {
	color: rgb(var(--hero-fg-rgb));
	margin-bottom: 16px;
	max-width: 18ch;
}
.wh-hero h1 .accent { color: var(--color-accent-light); }
.wh-hero__sub {
	font-size: clamp(15px, 2.2vw, 18px);
	color: rgb(var(--hero-fg-rgb) / 0.82);
	max-width: 52ch;
	margin-bottom: 28px;
}
.wh-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 36px;
}
/* ─── Hero Stats (Prompt 23) ─── */
.wh-hero__stats {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 0;
	max-width: 520px;
	border: 1px solid rgb(var(--hero-fg-rgb) / 0.15);
	border-radius: var(--radius-md);
	overflow: hidden;
}
@media (min-width: 640px) {
	.wh-hero__stats { grid-template-columns: repeat(4, 1fr); max-width: 640px; }
}
.wh-hero__stat {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding: 16px 18px;
	border-right: 1px solid rgb(var(--hero-fg-rgb) / 0.12);
	border-bottom: 1px solid rgb(var(--hero-fg-rgb) / 0.12);
}
.wh-hero__stat:nth-child(even) { border-right: none; }
@media (min-width: 640px) {
	.wh-hero__stat { border-bottom: none; }
	.wh-hero__stat:nth-child(even) { border-right: 1px solid rgb(var(--hero-fg-rgb) / 0.12); }
	.wh-hero__stat:last-child { border-right: none; }
}
.wh-hero__stat-value {
	font-weight: 800;
	font-size: clamp(28px, 4vw, 36px);
	line-height: 1;
	color: rgb(var(--hero-fg-rgb));
	letter-spacing: -0.02em;
}
.wh-hero__stat-label {
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.12em;
	color: rgb(var(--hero-fg-rgb) / 0.7);
	font-weight: 500;
}

.wh-hero--subpage { padding: clamp(36px, 6vw, 64px) 0 clamp(40px, 7vw, 70px); }
.wh-hero--subpage h1 { font-size: clamp(24px, 5vw, 42px); max-width: 28ch; }

/* ─── Subpage-Hero mit Beitragsbild (Prompt 37) ─── */
.wh-hero--has-image {
	position: relative;
	overflow: hidden;
}
.wh-hero--has-image .wh-hero__inner {
	position: relative;
	z-index: 2;
}
.wh-hero__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgb(var(--color-brand-dark-rgb) / 0.55) 0%, rgb(var(--color-brand-dark-rgb) / 0.85) 100%);
	z-index: 1;
}
.wh-hero--has-image,
.wh-hero--has-image h1,
.wh-hero--has-image .wh-hero__sub,
.wh-hero--has-image .wh-hero__badge {
	color: rgb(var(--color-brand-light-rgb));
}
.wh-hero--has-image .wh-hero__badge {
	background: rgb(var(--color-brand-dark-rgb) / 0.4);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}
.wh-hero--has-image .wh-breadcrumbs,
.wh-hero--has-image .wh-breadcrumbs a {
	color: rgb(var(--color-brand-light-rgb) / 0.85);
}
.wh-hero--has-image .wh-breadcrumbs a:hover {
	color: rgb(var(--color-brand-light-rgb));
}

/* ═════════ BUTTONS ═════════ */
.wh-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	height: 44px;
	padding: 0 22px;
	font-weight: 600;
	font-size: 15px;
	border-radius: var(--radius-md);
	border: 1.5px solid transparent;
	transition: background 0.15s, color 0.15s, border-color 0.15s;
	cursor: pointer;
	line-height: 1;
	text-decoration: none;
}
/* Notruf-Rot — ausschließlich für Telefon-Aktionen */
.wh-btn--cta {
	background: var(--color-cta-start);
	color: #fff;
	border-color: transparent;
}
.wh-btn--cta:hover { background: var(--color-cta-end); color: #fff; }
/* Akzent-Petrol — für allgemeine primäre Aktionen (nicht Telefon) */
.wh-btn--solid {
	background: var(--color-accent);
	color: #fff;
	border-color: transparent;
}
.wh-btn--solid:hover { background: var(--color-accent-dark); color: #fff; }
/* Dark-mode: --color-accent (= main) becomes light — white text fails; use dark ink. */
[data-theme="dark"] .wh-btn--solid       { color: #0a2a3c; }
[data-theme="dark"] .wh-btn--solid:hover { color: #0a2a3c; }
/* Sekundär-Charcoal — für sekundäre Aktionen */
.wh-btn--secondary {
	background: var(--color-secondary);
	color: var(--color-secondary-contrast);
	border-color: transparent;
}
.wh-btn--secondary:hover { background: var(--color-secondary-dark); color: var(--color-secondary-contrast); }
/* Outline — für tertiäre Aktionen */
.wh-btn--outline {
	background: transparent;
	color: var(--color-accent);
	border-color: var(--color-accent);
}
.wh-btn--outline:hover { background: var(--color-accent); color: #fff; border-color: var(--color-accent); }
/* Ghost — für Hero-Kontext (weiße Schrift auf dunklem Hintergrund) */
.wh-btn--ghost {
	background: rgba(255,255,255,0.06);
	color: #fff;
	border: 1.5px solid rgba(255,255,255,0.18);
}
.wh-btn--ghost:hover { background: rgba(255,255,255,0.14); color: #fff; }

/* ═════════ SECTION ═════════ */
.wh-section { padding: clamp(48px, 8vw, 80px) 0; }
.wh-section--alt { background: var(--color-bg-card-alt); }
.wh-section__head { text-align: center; max-width: 640px; margin: 0 auto clamp(28px, 4vw, 44px); }
.wh-section__eyebrow {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--color-accent);
	margin-bottom: 10px;
	display: inline-block;
}
.wh-section__title { margin-bottom: 10px; }
.wh-section__sub { color: var(--color-text-muted); font-size: 16px; }

/* ═════════ CARD ═════════ */
/* Background/Border-Stack identisch mit .card (Canonical) — Prompt 30 */
.wh-card {
	background: rgb(var(--color-light-rgb));
	border: 1px solid rgb(var(--color-dark-rgb) / 0.1);
	border-radius: var(--radius-lg);
	padding: 22px;
	transition: border-color 0.15s, background 0.15s;
	display: flex;
	flex-direction: column;
	gap: 10px;
	color: var(--color-text);
}
[data-theme="dark"] .wh-card {
	/* Subtil aufgehelltes Dunkel über dem Page-bg, damit die Karte sichtbar
	   abhebt aber dunkel bleibt. color-mix mischt 8 % Weiß in den Page-bg. */
	background: color-mix(in srgb, rgb(var(--color-light-rgb)) 92%, white);
	border-color: rgb(var(--color-dark-rgb) / 0.12);
}
.wh-card:hover {
	border-color: var(--color-accent);
	background: var(--color-bg-card-alt);
}
.wh-card__icon {
	width: 44px; height: 44px;
	border-radius: var(--radius-md);
	background: var(--color-accent);
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
	margin-bottom: 6px;
}
.wh-card__title { font-size: 17px; font-weight: 700; }
.wh-card__text  { font-size: 14px; color: var(--color-text-muted); line-height: 1.6; }
.wh-card__link  { color: var(--color-accent); font-size: 13px; font-weight: 600; margin-top: 8px; }
.wh-card__link .wh-icon { vertical-align: middle; transition: transform 0.15s; }
.wh-card:hover .wh-card__link .wh-icon { transform: translateX(3px); }

/* Urgent card (top-4 Notfall) */
.wh-card--urgent {
	background: var(--color-bg-card);
	border-top: 3px solid var(--color-cta-start);
}
.wh-card--urgent .wh-card__icon {
	background: var(--color-cta-start);
}

/* Urgent grid sits ON TOP of hero */
.wh-urgent-grid {
	position: relative;
	z-index: 2;
	margin-top: clamp(-80px, -8vw, -60px);
	padding-bottom: 20px;
}

/* ═════════ SERVICE GRID (kompakt) ═════════ */
.wh-service-tile {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 16px;
	/* Background/Border-Stack identisch mit .card (Canonical) — Prompt 30 */
	background: rgb(var(--color-light-rgb));
	border: 1px solid rgb(var(--color-dark-rgb) / 0.1);
	border-radius: var(--radius-md);
	transition: border-color 0.15s, background 0.15s;
	color: var(--color-text);
}
[data-theme="dark"] .wh-service-tile {
	background: color-mix(in srgb, rgb(var(--color-light-rgb)) 92%, white);
	border-color: rgb(var(--color-dark-rgb) / 0.12);
}
.wh-service-tile:hover {
	border-color: var(--color-accent);
	background: var(--color-bg-card-alt);
}
.wh-service-tile__ico {
	flex-shrink: 0;
	width: 36px; height: 36px;
	border-radius: var(--radius-sm);
	background: var(--color-bg-card-alt);
	color: var(--color-accent);
	display: inline-flex; align-items: center; justify-content: center;
	font-size: 18px;
}
.wh-service-tile__title { font-size: 14px; font-weight: 600; }
.wh-service-tile__meta  { font-size: 12px; color: var(--color-text-muted); }

/* ═════════ TRUST-BADGES ═════════ */
.wh-trust {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px;
	padding: 18px;
	background: var(--color-bg-card-alt);
	border-radius: var(--radius-lg);
	border: 1px solid var(--color-border);
}
@media (min-width: 640px) { .wh-trust { grid-template-columns: repeat(4, 1fr); } }
.wh-trust__item {
	display: flex; align-items: center; gap: 8px;
	font-size: 13px;
	color: var(--color-text-soft);
}
.wh-trust__ico {
	flex-shrink: 0;
	font-size: 18px;
	color: var(--color-accent);
}
.wh-trust__strong { font-weight: 700; color: var(--color-text); }

/* ═════════ FAQ ACCORDION ═════════ */
.wh-faq-list { display: flex; flex-direction: column; gap: 10px; }
.wh-faq-item {
	background: var(--color-bg-card);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
	overflow: hidden;
	transition: border-color 0.15s;
}
.wh-faq-item:hover { border-color: var(--color-accent-light); }
.wh-faq-item.is-open { border-color: var(--color-accent); }
.wh-faq-q {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	width: 100%;
	padding: 16px 18px;
	font-size: 15px;
	font-weight: 600;
	text-align: left;
	color: var(--color-text);
}
.wh-faq-q__icon {
	flex-shrink: 0;
	width: 24px; height: 24px;
	border-radius: 50%;
	background: var(--color-bg-card-alt);
	color: var(--color-accent);
	display: inline-flex; align-items: center; justify-content: center;
	font-size: 14px;
	font-weight: 700;
	transition: transform 0.2s, background 0.15s;
}
.wh-faq-item.is-open .wh-faq-q__icon { transform: rotate(45deg); background: var(--color-accent); color: #fff; }
.wh-faq-a {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease, padding 0.25s ease, opacity 0.25s ease;
	opacity: 0;
	padding: 0 18px;
	color: var(--color-text-muted);
	font-size: 14.5px;
	line-height: 1.7;
}
.wh-faq-item.is-open .wh-faq-a { max-height: 1200px; padding: 0 18px 18px; opacity: 1; }

/* ═════════ CTA-BANNER ═════════ */
.wh-cta-banner {
	background: var(--color-hero-start);
	color: rgb(var(--color-brand-light-rgb));
	border-radius: var(--radius-lg);
	padding: clamp(28px, 5vw, 56px);
	text-align: center;
	border: 1px solid rgb(var(--color-brand-light-rgb) / 0.08);
}
.wh-cta-banner h2 { color: rgb(var(--color-brand-light-rgb)); margin-bottom: 12px; }
.wh-cta-banner__lead { color: rgb(var(--color-brand-light-rgb) / 0.85); margin-bottom: 24px; max-width: 50ch; margin-left:auto; margin-right:auto; }
.wh-cta-banner__phone {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	background: var(--color-cta-start);
	color: #fff;
	font-size: clamp(20px, 4vw, 30px);
	font-weight: 800;
	padding: 18px 30px;
	border-radius: var(--radius-lg);
	font-family: var(--font-display);
	letter-spacing: -0.01em;
	transition: background 0.15s;
}
.wh-cta-banner__phone:hover { background: var(--color-cta-end); }
.wh-cta-banner__meta {
	margin-top: 18px;
	font-size: 13px;
	color: rgb(var(--color-brand-light-rgb) / 0.75);
}

/* ═════════ REVIEWS ═════════ */
.wh-reviews__aggregate {
	display: flex;
	align-items: center;
	gap: 5px;
	font-size: 13px;
	color: var(--color-text-soft);
	margin-top: 8px;
	flex-wrap: wrap;
}
.wh-reviews__aggregate strong { color: var(--color-text); font-weight: 700; }
.wh-reviews__aggregate-star { color: var(--color-star); flex-shrink: 0; }

.wh-review {
	background: var(--color-bg-card);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	padding: 22px;
	display: flex; flex-direction: column; gap: 12px;
	transition: border-color 0.15s, background 0.15s;
}
.wh-review:hover { border-color: var(--color-accent); background: var(--color-bg-card-alt); }
.wh-review__stars { display: flex; gap: 2px; color: var(--color-star); }
.wh-review__stars .wh-star { flex-shrink: 0; }
.wh-review__stars .wh-star--filled { color: var(--color-star); }
.wh-review__service-tag {
	display: inline-block;
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--color-accent);
	background: color-mix(in srgb, var(--color-accent) 10%, transparent);
	border: 1px solid color-mix(in srgb, var(--color-accent) 25%, transparent);
	border-radius: var(--radius-sm);
	padding: 2px 8px;
	align-self: flex-start;
}
.wh-review__text  { color: var(--color-text-soft); font-size: 14.5px; line-height: 1.75; font-style: italic; }
.wh-review__footer { display: flex; align-items: flex-start; gap: 12px; margin-top: auto; }
.wh-review__name  { font-weight: 600; font-size: 14px; color: var(--color-text); }
.wh-review__meta  { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin-top: 2px; }
.wh-review__date  { font-size: 12px; color: var(--color-text-muted); }
.wh-review__where { font-size: 12px; color: var(--color-text-muted); }
.wh-review__sep   { font-size: 12px; color: var(--color-text-muted); }
.wh-review__source {
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--color-text-muted);
}

/* ═════════ BREADCRUMBS ═════════ */
.wh-bread {
	font-size: 12px;
	color: rgba(255,255,255,0.65);
	margin-bottom: 14px;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	align-items: center;
}
.wh-bread a { color: rgba(255,255,255,0.85); }
.wh-bread a:hover { color: #fff; text-decoration: underline; }
.wh-bread__sep { opacity: 0.5; }
.wh-bread__current { color: #fff; font-weight: 500; }

/* On light section breadcrumbs */
.wh-bread--light { color: var(--color-text-muted); }
.wh-bread--light a { color: var(--color-text-soft); }
.wh-bread--light .wh-bread__current { color: var(--color-text); }

/* ═════════ SIDEBAR ═════════ */
.wh-sidebar { display: flex; flex-direction: column; gap: 18px; }
.wh-sidebar-cta {
	background: var(--color-hero-start);
	color: rgb(var(--color-brand-light-rgb));
	border-radius: var(--radius-lg);
	padding: 22px;
	text-align: center;
	border: 1px solid rgb(var(--color-brand-light-rgb) / 0.08);
}
.wh-sidebar-cta__eyebrow {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--color-accent-light);
	margin-bottom: 10px;
}
.wh-sidebar-cta__title { color: rgb(var(--color-brand-light-rgb)); font-size: 18px; margin-bottom: 4px; }
.wh-sidebar-cta__lead  { color: rgb(var(--color-brand-light-rgb) / 0.78); font-size: 13px; margin-bottom: 18px; }
.wh-sidebar-cta__phone {
	display: block;
	background: var(--color-cta-start);
	color: #fff;
	font-weight: 700;
	font-family: var(--font-display);
	font-size: 22px;
	padding: 14px;
	border-radius: var(--radius-md);
	transition: background 0.15s;
}
.wh-sidebar-cta__phone:hover { background: var(--color-cta-end); }
.wh-sidebar-cta__meta { margin-top: 12px; font-size: 11.5px; color: rgb(var(--color-brand-light-rgb) / 0.65); }

.wh-sidebar-links {
	background: var(--color-bg-card);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	padding: 20px;
}
.wh-sidebar-links__title {
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--color-text-muted);
	margin-bottom: 12px;
}
.wh-sidebar-links ul li { border-bottom: 1px solid var(--color-border); }
.wh-sidebar-links ul li:last-child { border-bottom: 0; }
.wh-sidebar-links ul li a {
	display: block;
	padding: 10px 0;
	font-size: 14px;
	color: var(--color-text-soft);
	transition: color 0.12s, padding-left 0.12s;
}
.wh-sidebar-links ul li a:hover { color: var(--color-accent); padding-left: 4px; }

/* ═════════ PROSE (Fließtext) ═════════ */
.wh-prose {
	background: var(--color-bg-card);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	padding: clamp(22px, 4vw, 38px);
	color: var(--color-text-soft);
	font-size: 16px;
	line-height: 1.8;
}
.wh-prose > * + * { margin-top: 1em; }
.wh-prose h2 { font-size: clamp(20px, 3.4vw, 26px); margin-top: 1.6em; margin-bottom: 0.4em; color: var(--color-text); }
.wh-prose h3 { font-size: clamp(17px, 2.6vw, 20px); margin-top: 1.4em; color: var(--color-text); }
.wh-prose p  { color: var(--color-text-soft); }
.wh-prose strong { color: var(--color-text); font-weight: 700; }
.wh-prose a { color: var(--color-accent); border-bottom: 1px solid var(--color-accent-light); }
.wh-prose a:hover { color: var(--color-accent-dark); border-bottom-color: var(--color-accent-dark); }
.wh-prose ul, .wh-prose ol { padding-left: 1.4em; }
.wh-prose ul { list-style: disc; }
.wh-prose ol { list-style: decimal; }
.wh-prose li { margin-top: 0.4em; }
.wh-prose ul li::marker { color: var(--color-accent); }
.wh-prose blockquote {
	margin: 1.5em 0;
	padding: 14px 20px;
	border-left: 4px solid var(--color-accent);
	background: var(--color-bg-card-alt);
	border-radius: 0 var(--radius-md) var(--radius-md) 0;
	color: var(--color-text);
	font-style: italic;
}
.wh-prose img {
	border-radius: var(--radius-md);
	margin: 1.5em 0;
}
.wh-prose code {
	font-family: ui-monospace, Menlo, Consolas, monospace;
	background: var(--color-bg-card-alt);
	padding: 2px 6px;
	border-radius: 4px;
	font-size: 0.92em;
}
.wh-prose hr { border: 0; border-top: 1px solid var(--color-border); margin: 2em 0; }

/* Inline CTA box inside prose */
.wh-prose__cta {
	background: var(--color-accent);
	color: rgb(var(--color-brand-light-rgb));
	border-radius: var(--radius-md);
	padding: 22px;
	margin: 2em 0;
	text-align: center;
}
.wh-prose__cta h3 { color: rgb(var(--color-brand-light-rgb)); margin: 0 0 6px; }
.wh-prose__cta p  { color: rgb(var(--color-brand-light-rgb) / 0.85); margin: 0 0 14px; }
.wh-prose__cta a  { color: rgb(var(--color-brand-light-rgb)); border-bottom: 0; font-weight: 700; }

/* ═════════ FAQ ANSWER CARD (single-faq) ═════════ */
.wh-answer {
	background: var(--color-bg-card);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	padding: clamp(22px, 4vw, 36px);
}
.wh-answer__head {
	display: flex;
	align-items: center;
	gap: 14px;
	padding-bottom: 18px;
	margin-bottom: 20px;
	border-bottom: 1px solid var(--color-border);
}
.wh-answer__avatar {
	flex-shrink: 0;
	width: 44px; height: 44px;
	border-radius: 50%;
	background: var(--color-accent);
	color: #fff;
	font-weight: 800;
	font-size: 18px;
	display: inline-flex; align-items: center; justify-content: center;
	font-family: var(--font-display);
}
.wh-answer__brand { font-weight: 700; font-size: 14px; }
.wh-answer__role  { font-size: 12px; color: var(--color-text-muted); }

/* ═════════ JOB CARD ═════════ */
.wh-job {
	background: var(--color-bg-card);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	padding: 22px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	transition: border-color 0.15s, background 0.15s;
}
.wh-job:hover { border-color: var(--color-accent); background: var(--color-bg-card-alt); }
.wh-job__title { font-size: 19px; font-weight: 700; color: var(--color-text); }
.wh-job__meta  { display: flex; flex-wrap: wrap; gap: 8px 14px; font-size: 13px; color: var(--color-text-muted); }
.wh-job__meta span { display: inline-flex; align-items: center; gap: 4px; }
.wh-job__lead  { color: var(--color-text-soft); font-size: 14.5px; }

.wh-job-facts {
	background: var(--color-bg-card-alt);
	border-radius: var(--radius-md);
	padding: 18px;
	margin: 1.5em 0;
}
.wh-job-facts dl { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; }
.wh-job-facts dt { font-size: 12px; color: var(--color-text-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.wh-job-facts dd { font-size: 15px; font-weight: 600; color: var(--color-text); }

/* ═════════ BLOG CARD ═════════ */
.wh-blog-card {
	/* Background/Border-Stack identisch mit .card (Canonical) — Prompt 30 */
	background: rgb(var(--color-light-rgb));
	border: 1px solid rgb(var(--color-dark-rgb) / 0.1);
	border-radius: var(--radius-lg);
	padding: 18px;
	display: grid;
	grid-template-columns: 96px 1fr;
	gap: 18px;
	transition: border-color 0.15s, background 0.15s;
	color: var(--color-text);
}
[data-theme="dark"] .wh-blog-card {
	background: color-mix(in srgb, rgb(var(--color-light-rgb)) 92%, white);
	border-color: rgb(var(--color-dark-rgb) / 0.12);
}
.wh-blog-card:hover { border-color: var(--color-accent); background: var(--color-bg-card-alt); }
.wh-blog-card__media {
	background: var(--color-bg-card-alt);
	border-radius: var(--radius-md);
	height: 96px;
	display: flex; align-items: center; justify-content: center;
	font-size: 30px;
	overflow: hidden;
}
.wh-blog-card__media img { width: 100%; height: 100%; object-fit: cover; }
.wh-blog-card__title { font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.wh-blog-card__meta  { font-size: 12px; color: var(--color-text-muted); margin-bottom: 8px; }
.wh-blog-card__excerpt { font-size: 14px; color: var(--color-text-soft); line-height: 1.55; }

.wh-blog-meta {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 14px 0;
	margin-bottom: 24px;
	border-bottom: 1px solid var(--color-border);
}
.wh-blog-meta__avatar {
	width: 40px; height: 40px;
	border-radius: 50%;
	background: var(--color-accent);
	color: #fff; font-weight: 700;
	display: inline-flex; align-items: center; justify-content: center;
	font-family: var(--font-display);
}
.wh-blog-meta__name { font-weight: 600; font-size: 14px; }
.wh-blog-meta__sub  { font-size: 12px; color: var(--color-text-muted); }

.wh-pager {
	display: flex; justify-content: space-between; gap: 12px;
	margin-top: 36px;
}
.wh-pager a {
	flex: 1;
	background: var(--color-bg-card);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
	padding: 14px 18px;
	color: var(--color-text-soft);
	transition: border-color 0.15s, color 0.15s;
}
.wh-pager a:hover { border-color: var(--color-accent); color: var(--color-accent); }
.wh-pager__label { font-size: 11px; color: var(--color-text-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.wh-pager__title { font-size: 14px; font-weight: 600; }

/* ═════════ FOOTER ═════════ */
.wh-footer {
	background: var(--color-footer-bg);
	color: var(--color-footer-text);
	padding: clamp(40px, 6vw, 64px) 0 24px;
	margin-top: clamp(40px, 6vw, 80px);
	border-top: 1px solid var(--color-border);
}
.wh-footer__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 32px;
	margin-bottom: 36px;
}
@media (min-width: 640px) { .wh-footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .wh-footer__grid { grid-template-columns: repeat(4, 1fr); } }
.wh-footer__brand-title {
	font-family: var(--font-display);
	font-weight: 800;
	font-size: 20px;
	margin-bottom: 6px;
	color: rgb(var(--color-brand-light-rgb));
}
.wh-footer__lead {
	color: var(--color-footer-muted);
	font-size: 14px;
	margin-bottom: 16px;
	line-height: 1.6;
}
.wh-footer__phone {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: rgb(var(--color-brand-light-rgb));
	font-weight: 700;
	font-family: var(--font-display);
	font-size: 18px;
}
.wh-footer__title {
	font-size: 13px;
	font-weight: 700;
	color: rgb(var(--color-brand-light-rgb));
	text-transform: uppercase;
	letter-spacing: 0.1em;
	margin-bottom: 14px;
}
.wh-footer ul li a {
	display: block;
	padding: 5px 0;
	color: var(--color-footer-muted);
	font-size: 14px;
	transition: color 0.15s, padding-left 0.15s;
}
.wh-footer ul li a:hover { color: rgb(var(--color-brand-light-rgb)); padding-left: 4px; }
.wh-footer__bottom {
	padding-top: 22px;
	border-top: 1px solid rgb(var(--color-brand-light-rgb) / 0.08);
	display: flex;
	flex-direction: column;
	gap: 14px;
	font-size: 13px;
	color: var(--color-footer-muted);
}
@media (min-width: 640px) {
	.wh-footer__bottom { flex-direction: row; justify-content: space-between; align-items: center; }
}
.wh-footer__legal { display: flex; flex-wrap: wrap; gap: 14px 22px; }
.wh-footer__legal a { color: var(--color-footer-muted); }
.wh-footer__legal a:hover { color: rgb(var(--color-brand-light-rgb)); }

/* ═════════ CONTACT FORM ═════════ */
.wh-form { display: flex; flex-direction: column; gap: 14px; }
.wh-form__row { display: flex; flex-direction: column; gap: 6px; }
.wh-form label {
	font-size: 13px; font-weight: 600;
	color: var(--color-text-soft);
}
.wh-form input,
.wh-form textarea,
.wh-form select {
	width: 100%;
	min-height: 44px;
	padding: 12px 14px;
	background: var(--color-input-bg);
	border: 1px solid var(--color-input-border);
	border-radius: var(--radius-md);
	font-size: 15px;
	color: var(--color-text);
	transition: border-color 0.15s, background 0.15s;
}
.wh-form textarea { min-height: 140px; resize: vertical; }
.wh-form input:focus,
.wh-form textarea:focus,
.wh-form select:focus {
	outline: 0;
	border-color: var(--color-accent);
	background: var(--color-bg-card);
	box-shadow: 0 0 0 3px rgb(var(--color-main-rgb) / 0.25);
}
.wh-form__hint { font-size: 12px; color: var(--color-text-muted); }
.wh-form__consent {
	display: flex; align-items: flex-start; gap: 10px;
	font-size: 12.5px;
	color: var(--color-text-muted);
	line-height: 1.5;
}

/* ═════════ 404 ═════════ */
.wh-404 {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: clamp(60px, 10vw, 120px) 16px;
	gap: 16px;
}
.wh-404__code {
	font-family: var(--font-display);
	font-weight: 800;
	font-size: clamp(80px, 18vw, 160px);
	color: var(--color-accent);
	line-height: 1;
}

/* ═════════ CREDENTIALS (Prompt 25) ═════════ */
.wh-credentials {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 24px 32px;
	align-items: center;
	justify-items: center;
	margin-top: 40px;
}
@media (min-width: 640px) {
	.wh-credentials { grid-template-columns: repeat(4, 1fr); gap: 24px 40px; }
}
@media (min-width: 900px) {
	.wh-credentials { grid-template-columns: repeat(6, 1fr); }
}
.wh-credentials__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
}
.wh-credentials__logo {
	max-height: 56px;
	max-width: 140px;
	width: auto;
	filter: grayscale(100%) opacity(0.65);
	transition: filter 0.2s ease;
}
.wh-credentials__item:hover .wh-credentials__logo {
	filter: grayscale(0%) opacity(1);
}
.wh-credentials__caption {
	font-size: 11px;
	color: var(--color-text-muted);
	text-align: center;
	font-weight: 500;
}

/* ═════════ PROCESS STEPS (Prompt 26) ═════════ */
.wh-process {
	display: grid;
	grid-template-columns: 1fr;
	gap: 0;
}
@media (min-width: 768px) {
	.wh-process { grid-template-columns: repeat(4, 1fr); }
}
.wh-process__step {
	position: relative;
	padding: 28px 24px;
	border: 1px solid var(--color-border);
	border-radius: 0;
	background: var(--color-bg-card);
}
/* Desktop: rechter Rand für alle ausser letzten */
@media (min-width: 768px) {
	.wh-process__step:not(:last-child) { border-right: none; }
	.wh-process__step:first-child { border-radius: var(--radius-md) 0 0 var(--radius-md); }
	.wh-process__step:last-child  { border-radius: 0 var(--radius-md) var(--radius-md) 0; }
}
/* Mobile: unterer Rand für alle ausser letzten */
@media (max-width: 767px) {
	.wh-process__step:not(:last-child) { border-bottom: none; }
	.wh-process__step:first-child { border-radius: var(--radius-md) var(--radius-md) 0 0; }
	.wh-process__step:last-child  { border-radius: 0 0 var(--radius-md) var(--radius-md); }
}
.wh-process__number {
	font-weight: 800;
	font-size: clamp(40px, 6vw, 56px);
	color: var(--color-accent);
	line-height: 1;
	margin-bottom: 16px;
	letter-spacing: -0.03em;
	opacity: 0.85;
}
.wh-process__connector {
	display: none;
}
@media (min-width: 768px) {
	.wh-process__connector {
		display: flex;
		align-items: center;
		justify-content: center;
		position: absolute;
		top: 50%;
		right: -1px;
		transform: translateY(-50%);
		z-index: 2;
		width: 24px;
		height: 24px;
		background: var(--color-bg);
		border: 1px solid var(--color-border);
		border-radius: 50%;
		color: var(--color-accent);
	}
	.wh-process__step:last-child .wh-process__connector { display: none; }
}
.wh-process__title {
	font-size: 16px;
	font-weight: 700;
	color: var(--color-text);
	margin-bottom: 8px;
	line-height: 1.3;
}
.wh-process__text {
	font-size: 13.5px;
	color: var(--color-text-soft);
	line-height: 1.65;
}

/* ═════════ COVERAGE MAP ═════════ */
.wh-coverage-map {
	margin: 0 auto;
	padding: 24px 0;
	max-width: 100%;
}
.wh-coverage-map__head {
	text-align: center;
	margin-bottom: 20px;
}
.wh-coverage-map__eyebrow {
	display: block;
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--color-text-muted);
	margin-bottom: 4px;
}
.wh-coverage-map__title {
	font-size: 15px;
	font-weight: 700;
	color: var(--color-text);
}
.wh-coverage-map__inner {
	position: relative;
	max-width: 900px;
	margin: 0 auto;
}
.wh-coverage-map__svg {
	width: 100%;
	height: auto;
	display: block;
}
/* District polygons */
.wh-coverage-map__svg .wh-map__districts path {
	fill: rgba(255, 255, 255, 0.04);
	stroke: rgba(255, 255, 255, 0.18);
	stroke-width: 0.5;
	stroke-linejoin: round;
	transition: fill 0.15s, stroke 0.15s;
	cursor: default;
}
/* Covered districts (CPT exists) */
.wh-coverage-map__svg .wh-map__districts path[data-covered="true"] {
	fill: var(--color-accent);
	fill-opacity: 0.55;
	stroke: var(--color-accent-light);
	stroke-width: 1;
	cursor: pointer;
}
.wh-coverage-map__svg .wh-map__districts path[data-covered="true"]:hover {
	fill-opacity: 0.85;
}
/* Labels */
.wh-coverage-map__svg .wh-map__labels text {
	fill: rgba(255, 255, 255, 0.55);
	font-size: 10px;
	font-weight: 500;
	text-anchor: middle;
	dominant-baseline: middle;
	pointer-events: none;
	user-select: none;
}
.wh-coverage-map__svg .wh-map__labels text[data-covered="true"] {
	fill: rgba(255, 255, 255, 0.95);
	font-weight: 600;
}
/* Mobile: kleinere Labels, dünnere Stroke */
@media (max-width: 640px) {
	.wh-coverage-map__svg .wh-map__labels text { font-size: 8px; }
	.wh-coverage-map__svg .wh-map__districts path { stroke-width: 0.35; }
}
/* Legende */
.wh-coverage-map__legend {
	display: flex;
	justify-content: center;
	gap: 24px;
	margin-top: 16px;
	font-size: 12px;
	color: rgba(255, 255, 255, 0.65);
}
.wh-coverage-map__legend-item {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}
.wh-coverage-map__legend-dot {
	width: 12px;
	height: 12px;
	border-radius: 2px;
	border: 1px solid rgba(255, 255, 255, 0.4);
}
.wh-coverage-map__legend-dot--covered {
	background: var(--color-accent);
	border-color: var(--color-accent-light);
}
/* Tooltip */
.wh-coverage-map__tooltip {
	position: fixed;
	z-index: 1000;
	background: var(--color-bg-card);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-md);
	padding: 8px 12px;
	font-size: 13px;
	font-weight: 600;
	color: var(--color-text);
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.12s;
	white-space: nowrap;
}
.wh-coverage-map__tooltip.is-visible { opacity: 1; }

/* ═════════ MOBILE-MENU-OPEN STATE ═════════ */
body.is-menu-open { overflow: hidden; }
