/* ==========================================================================
   Pohlheimer Haustechnik – Stylesheet
   Aufbau: 1 Tokens · 2 Basis · 3 Layout · 4 Buttons · 5 Header · 6 Hero
           7 Abschnitte (Startseite) · 8 Unterseiten · 9 Formulare · 10 Footer
           11 Overlays · 12 Animation & Motion
   Animationen nutzen ausschließlich transform/opacity und respektieren
   „Bewegung reduzieren“ (prefers-reduced-motion).
   ========================================================================== */

/* 1 · Schrift & Tokens ---------------------------------------------------- */
@font-face {
	font-family: "Manrope";
	font-style: normal;
	font-weight: 200 800;
	font-display: swap;
	src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Manrope";
	font-style: normal;
	font-weight: 200 800;
	font-display: swap;
	src: url("../fonts/manrope-latin-ext-wght-normal.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
	--navy-950: #06142b;
	--navy-900: #0b2142;
	--navy-850: #0f2a52;
	--navy-800: #133264;
	--navy-700: #1b437f;
	--navy-600: #2a5597;
	--blue-600: #1f5fd6;
	--blue-500: #3a7bf0;
	--blue-400: #6a9cf5;
	--blue-300: #9dbdf8;
	--blue-100: #e5eefd;
	--blue-50: #f3f7fe;
	--red-700: #b51f24;
	--red-600: #d3262b;
	--red-500: #e8433a;
	--red-100: #fde9e7;
	--amber-500: #f29a0d;
	--amber-400: #f6b23b;
	--green-wa: #25d366;

	--ink: #0d1b30;
	--text: #2b3a52;
	--muted: #56657d;
	--line: #e1e8f1;
	--line-strong: #c9d6e8;
	--surface: #ffffff;
	--surface-2: #f4f7fb;
	--surface-3: #e9eff7;

	--grad-warm: linear-gradient(100deg, var(--amber-400) 0%, #ff7a45 45%, var(--red-500) 100%);

	--radius-sm: 10px;
	--radius: 16px;
	--radius-lg: 24px;
	--radius-xl: 32px;
	--shadow-sm: 0 1px 2px rgb(13 27 48 / .05), 0 4px 14px -6px rgb(13 27 48 / .08);
	--shadow: 0 18px 40px -18px rgb(13 27 48 / .22), 0 2px 6px rgb(13 27 48 / .04);
	--shadow-lg: 0 40px 80px -30px rgb(11 33 66 / .38), 0 6px 18px -8px rgb(11 33 66 / .12);

	--ease-out: cubic-bezier(.16, 1, .3, 1);
	--ease-in-out: cubic-bezier(.65, 0, .35, 1);
	--ease-spring: cubic-bezier(.34, 1.4, .64, 1);
	--dur-1: 160ms;
	--dur-2: 280ms;
	--dur-3: 600ms;
	--dur-4: 900ms;

	--container: 1240px;
	--gutter: clamp(16px, 4vw, 32px);
	--header-h: 76px;
	--section-y: clamp(72px, 9vw, 128px);
	--font: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	--z-header: 50;
	--z-float: 60;
	--z-consent: 80;
}

/* 2 · Basis ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-h) + 16px);
}
body {
	margin: 0;
	font-family: var(--font);
	font-size: 1rem;
	line-height: 1.65;
	color: var(--text);
	background: var(--surface);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: clip;
	text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.02em; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
a { color: var(--blue-600); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--blue-500); }
button { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; }
button, a, input, select, textarea, label { touch-action: manipulation; }
::selection { background: var(--red-600); color: #fff; }
:focus-visible { outline: 3px solid var(--blue-400); outline-offset: 3px; border-radius: 6px; }
main:focus { outline: none; }

.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;
}
.skip-link {
	position: fixed; left: 16px; top: 12px; z-index: 100;
	padding: 12px 18px; border-radius: 999px; background: #fff; color: var(--navy-900);
	font-weight: 700; transform: translateY(-160%); transition: transform var(--dur-2) var(--ease-out);
}
.skip-link:focus { transform: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }

/* 3 · Layout --------------------------------------------------------------- */
.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(820px + 2 * var(--gutter)); }
.section { position: relative; padding-block: var(--section-y); }
.section--soft { background: var(--surface-2); }
.section--dark {
	position: relative;
	color: rgb(255 255 255 / .78);
	background: radial-gradient(120% 90% at 85% 0%, var(--navy-700) 0%, var(--navy-900) 45%, var(--navy-950) 100%);
	isolation: isolate;
}
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--dark a:not(.shiny-cta):not(.btn) { color: #fff; }

.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .section-intro { margin-inline: auto; }
.section-title { font-size: clamp(2rem, 1.35rem + 2.6vw, 3.25rem); margin-bottom: .4em; }
.section-title--xl { font-size: clamp(2.2rem, 1.3rem + 3.6vw, 4rem); }
.section-intro { font-size: clamp(1.02rem, .97rem + .25vw, 1.15rem); color: var(--muted); max-width: 640px; }
.section--dark .section-intro { color: rgb(255 255 255 / .72); }
.section-intro p:last-child { margin-bottom: 0; }

.hl { color: var(--red-600); }
.section--dark .hl, .page-hero .hl, .site-footer .hl {
	background: var(--grad-warm);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.kicker {
	display: inline-flex; align-items: center; gap: .6em;
	margin: 0 0 1.1em; font-size: .78rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase;
	color: var(--blue-600);
}
.kicker::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red-600); box-shadow: 0 0 0 4px rgb(211 38 43 / .14); }
.kicker--light { color: var(--blue-300); }
.kicker--line::before { width: 28px; height: 2px; border-radius: 2px; box-shadow: none; background: var(--grad-warm); }

.pill {
	display: inline-flex; align-items: center; gap: .65em;
	padding: .5em 1em .5em .8em; margin: 0 0 1.4rem;
	border: 1px solid rgb(255 255 255 / .16); border-radius: 999px;
	background: rgb(255 255 255 / .06);
	font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgb(255 255 255 / .9);
	backdrop-filter: blur(6px);
}
.pill__dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--red-500); }
.pill__dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--red-500); opacity: .6; animation: ping 2.4s var(--ease-out) infinite; }

.checklist { list-style: none; display: grid; gap: .6rem; margin: 0 0 1.5rem; }
.checklist li { display: flex; gap: .7rem; align-items: flex-start; font-weight: 600; color: var(--ink); line-height: 1.45; }
.checklist .icon {
	width: 22px; height: 22px; padding: 4px; border-radius: 50%;
	background: var(--blue-600); color: #fff; stroke-width: 3; margin-top: 1px;
}
.checklist--light li { color: rgb(255 255 255 / .92); }
.checklist--light .icon { background: rgb(106 156 245 / .22); color: var(--blue-300); }
.checklist--sm li { font-size: .93rem; }
.checklist--sm .icon { width: 20px; height: 20px; }

.corner { position: absolute; width: 18px; height: 18px; border-color: var(--line-strong); border-style: solid; border-width: 0; pointer-events: none; }
.corner--tl { top: -10px; left: -10px; border-top-width: 2px; border-left-width: 2px; }
.corner--tr { top: -10px; right: -10px; border-top-width: 2px; border-right-width: 2px; }
.corner--bl { bottom: -10px; left: -10px; border-bottom-width: 2px; border-left-width: 2px; }
.corner--br { bottom: -10px; right: -10px; border-bottom-width: 2px; border-right-width: 2px; }

.badge { display: inline-block; padding: .15em .6em; border-radius: 999px; background: #fff3d9; color: #8a5300; font-size: .7rem; letter-spacing: .06em; vertical-align: middle; }

/* 4 · Buttons -------------------------------------------------------------- */
/* Shiny-CTA: Portierung der React-Komponente (shiny-button.tsx) als reines CSS. */
@property --gradient-angle { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@property --gradient-angle-offset { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@property --gradient-percent { syntax: "<percentage>"; initial-value: 5%; inherits: false; }
@property --gradient-shine { syntax: "<color>"; initial-value: white; inherits: false; }

.shiny-cta {
	--shiny-cta-bg: var(--red-600);
	--shiny-cta-bg-subtle: #e9554d;
	--shiny-cta-fg: #ffffff;
	--shiny-cta-highlight: var(--amber-400);
	--shiny-cta-highlight-subtle: #ffe2a8;
	--animation: gradient-angle linear infinite;
	--duration: 3s;
	--shadow-size: 2px;
	--transition: 800ms cubic-bezier(.25, 1, .5, 1);

	isolation: isolate;
	position: relative;
	overflow: hidden;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 54px;
	outline-offset: 4px;
	padding: 1rem 2rem;
	font-family: var(--font);
	font-size: 1.02rem;
	line-height: 1.2;
	font-weight: 700;
	text-decoration: none;
	border: 1px solid transparent;
	border-radius: 360px;
	color: var(--shiny-cta-fg);
	background:
		linear-gradient(var(--shiny-cta-bg), var(--shiny-cta-bg)) padding-box,
		conic-gradient(
			from calc(var(--gradient-angle) - var(--gradient-angle-offset)),
			transparent,
			var(--shiny-cta-highlight) var(--gradient-percent),
			var(--gradient-shine) calc(var(--gradient-percent) * 2),
			var(--shiny-cta-highlight) calc(var(--gradient-percent) * 3),
			transparent calc(var(--gradient-percent) * 4)
		) border-box;
	box-shadow: inset 0 0 0 1px var(--shiny-cta-bg-subtle), 0 12px 28px -12px rgb(211 38 43 / .55);
	transition: var(--transition);
	transition-property: --gradient-angle-offset, --gradient-percent, --gradient-shine, box-shadow;
}
.shiny-cta:hover { color: var(--shiny-cta-fg); }
.shiny-cta::before,
.shiny-cta::after,
.shiny-cta span::before {
	content: "";
	pointer-events: none;
	position: absolute;
	inset-inline-start: 50%;
	inset-block-start: 50%;
	translate: -50% -50%;
	z-index: -1;
}
.shiny-cta:active { translate: 0 1px; }
/* Punktmuster */
.shiny-cta::before {
	--size: calc(100% - var(--shadow-size) * 3);
	--position: 2px;
	--space: calc(var(--position) * 2);
	width: var(--size);
	height: var(--size);
	background: radial-gradient(circle at var(--position) var(--position), white calc(var(--position) / 4), transparent 0) padding-box;
	background-size: var(--space) var(--space);
	background-repeat: space;
	mask-image: conic-gradient(from calc(var(--gradient-angle) + 45deg), black, transparent 10% 90%, black);
	border-radius: inherit;
	opacity: .4;
	z-index: -1;
}
/* Innerer Schimmer */
.shiny-cta::after {
	--animation: shimmer linear infinite;
	width: 100%;
	aspect-ratio: 1;
	background: linear-gradient(-50deg, transparent, var(--shiny-cta-highlight), transparent);
	mask-image: radial-gradient(circle at bottom, transparent 40%, black);
	opacity: .6;
}
.shiny-cta span { z-index: 1; display: inline-flex; align-items: center; gap: .6rem; }
.shiny-cta span::before {
	--size: calc(100% + 1rem);
	width: var(--size);
	height: var(--size);
	box-shadow: inset 0 -1ex 2rem 4px var(--shiny-cta-highlight);
	opacity: 0;
	transition: opacity var(--transition);
	animation: calc(var(--duration) * 1.5) breathe linear infinite;
}
.shiny-cta,
.shiny-cta::before,
.shiny-cta::after {
	animation:
		var(--animation) var(--duration),
		var(--animation) calc(var(--duration) / .4) reverse paused;
	animation-composition: add;
}
.shiny-cta:is(:hover, :focus-visible) {
	--gradient-percent: 20%;
	--gradient-angle-offset: 95deg;
	--gradient-shine: var(--shiny-cta-highlight-subtle);
}
.shiny-cta:is(:hover, :focus-visible),
.shiny-cta:is(:hover, :focus-visible)::before,
.shiny-cta:is(:hover, :focus-visible)::after { animation-play-state: running; }
.shiny-cta:is(:hover, :focus-visible) span::before { opacity: 1; }
.shiny-cta__icon { width: 1.1em; height: 1.1em; stroke-width: 2.25; transition: transform var(--dur-2) var(--ease-out); }
.shiny-cta:hover .shiny-cta__icon { transform: translateX(3px); }

.shiny-cta--sm { min-height: 46px; padding: .75rem 1.4rem; font-size: .95rem; }
.shiny-cta--block { width: 100%; }
.shiny-cta--light {
	--shiny-cta-bg: #ffffff;
	--shiny-cta-bg-subtle: #f1f4fa;
	--shiny-cta-fg: var(--navy-900);
	--shiny-cta-highlight: var(--red-500);
	--shiny-cta-highlight-subtle: #ffb3a9;
	box-shadow: inset 0 0 0 1px var(--shiny-cta-bg-subtle), 0 12px 28px -14px rgb(0 0 0 / .45);
}
.shiny-cta[disabled], .shiny-cta.is-loading { opacity: .6; cursor: progress; }

@keyframes gradient-angle { to { --gradient-angle: 360deg; } }
@keyframes shimmer { to { rotate: 360deg; } }
@keyframes breathe { from, to { scale: 1; } 50% { scale: 1.2; } }

.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
	min-height: 54px; padding: .9rem 1.6rem; border-radius: 999px;
	border: 1.5px solid transparent; background: transparent;
	font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer;
	transition: background-color var(--dur-2) var(--ease-out), border-color var(--dur-2) var(--ease-out), color var(--dur-2), transform var(--dur-1);
}
.btn:active { transform: translateY(1px); }
.btn .icon { width: 1.15em; height: 1.15em; }
.btn--ghost { color: #fff; border-color: rgb(255 255 255 / .28); background: rgb(255 255 255 / .04); }
.btn--ghost:hover { color: #fff; border-color: rgb(255 255 255 / .6); background: rgb(255 255 255 / .1); }
.btn--outline { color: var(--navy-900); border-color: var(--line-strong); background: #fff; min-height: 46px; padding: .7rem 1.3rem; font-size: .95rem; }
.btn--outline:hover { color: var(--navy-900); border-color: var(--navy-900); }
.btn--primary-solid { color: #fff; background: var(--navy-900); min-height: 46px; padding: .7rem 1.3rem; font-size: .95rem; }
.btn--primary-solid:hover { color: #fff; background: var(--navy-700); }
.link-button { display: inline-flex; align-items: center; gap: .4rem; padding: 0; border: 0; background: none; cursor: pointer; text-decoration: underline; text-underline-offset: .2em; }

/* 5 · Header ---------------------------------------------------------------- */
.site-header {
	position: fixed; inset: 0 0 auto; z-index: var(--z-header);
	height: var(--header-h);
	color: #fff;
	transition: background-color var(--dur-3) var(--ease-out), box-shadow var(--dur-3), transform var(--dur-3) var(--ease-out);
}
.site-header::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: rgb(8 24 50 / .78);
	-webkit-backdrop-filter: blur(16px) saturate(140%);
	backdrop-filter: blur(16px) saturate(140%);
	opacity: 0; transition: opacity var(--dur-3) var(--ease-out);
	border-bottom: 1px solid rgb(255 255 255 / .08);
}
.site-header.is-scrolled::before, .nav-open .site-header::before { opacity: 1; }
.admin-bar .site-header { top: 32px; }
.admin-bar .main-nav { --admin-offset: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } .admin-bar .main-nav { --admin-offset: 46px; } }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header__inner { height: 100%; display: flex; align-items: center; gap: 1.25rem; }

.brand { display: inline-flex; align-items: center; gap: .7rem; color: #fff; text-decoration: none; flex: none; }
.brand:hover { color: #fff; }
.brand__mark { width: 46px; height: auto; filter: drop-shadow(0 4px 10px rgb(0 0 0 / .25)); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-size: 1.12rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.brand__sub { margin-top: .3rem; font-size: .66rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: rgb(255 255 255 / .7); }
.brand__sub em { font-style: normal; color: var(--red-500); }

.main-nav { margin-left: auto; }
.main-nav .menu { list-style: none; display: flex; align-items: center; gap: .15rem; }
.main-nav .menu-item { position: relative; display: flex; align-items: center; }
.main-nav .menu > .menu-item > a {
	display: inline-flex; align-items: center; min-height: 44px; padding: 0 .8rem;
	color: rgb(255 255 255 / .86); text-decoration: none; font-weight: 600; font-size: .95rem; border-radius: 999px; white-space: nowrap;
	transition: color var(--dur-2), background-color var(--dur-2);
}
.main-nav .menu > .menu-item > a:hover,
.main-nav .menu > .current-menu-item > a,
.main-nav .menu > .current-menu-ancestor > a,
.main-nav .menu > .current_page_parent > a { color: #fff; background: rgb(255 255 255 / .08); }
.main-nav .current-menu-item > a { box-shadow: inset 0 -2px 0 var(--red-500); }
.submenu-toggle {
	display: inline-grid; place-items: center; width: 28px; height: 28px; margin-left: -.5rem;
	border: 0; background: none; color: rgb(255 255 255 / .75); cursor: pointer; border-radius: 50%;
}
.submenu-toggle .icon { width: 16px; height: 16px; transition: transform var(--dur-2) var(--ease-out); }
.main-nav .sub-menu {
	list-style: none; position: absolute; top: calc(100% + 10px); left: -10px; min-width: 290px;
	padding: .6rem; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-lg); border: 1px solid var(--line);
	opacity: 0; visibility: hidden; transform: translateY(8px) scale(.98); transform-origin: top left;
	transition: opacity var(--dur-2) var(--ease-out), transform var(--dur-2) var(--ease-out), visibility 0s linear var(--dur-2);
}
.main-nav .sub-menu::before { content: ""; position: absolute; inset: -12px 0 auto; height: 12px; }
.main-nav .sub-menu a {
	display: block; padding: .65rem .85rem; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .94rem;
	transition: background-color var(--dur-1), color var(--dur-1), transform var(--dur-2) var(--ease-out);
}
.main-nav .sub-menu a:hover, .main-nav .sub-menu .current-menu-item a { background: var(--blue-50); color: var(--blue-600); transform: translateX(3px); }
.main-nav .menu-item-has-children:is(:hover, :focus-within, .is-open) > .sub-menu {
	opacity: 1; visibility: visible; transform: none; transition-delay: 0s;
}
.main-nav .menu-item-has-children.is-open > .submenu-toggle .icon { transform: rotate(180deg); }
.main-nav__mobile-extra { display: none; }

.site-header__actions { display: flex; align-items: center; gap: .9rem; margin-left: auto; }
.main-nav + .site-header__actions { margin-left: 0; }
.header-phone { display: inline-flex; align-items: center; gap: .65rem; color: #fff; text-decoration: none; }
.header-phone:hover { color: #fff; }
.header-phone__icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgb(255 255 255 / .08); border: 1px solid rgb(255 255 255 / .14); }
.header-phone__icon .icon { width: 18px; height: 18px; }
.header-phone__text { display: flex; flex-direction: column; line-height: 1.2; }
.header-phone__text small { font-size: .7rem; color: rgb(255 255 255 / .6); font-weight: 600; letter-spacing: .04em; }
.header-phone__text strong { font-size: .95rem; }

.nav-toggle {
	display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgb(255 255 255 / .18);
	background: rgb(255 255 255 / .06); cursor: pointer; place-items: center;
}
.nav-toggle__bars { position: relative; width: 20px; height: 14px; display: block; }
.nav-toggle__bars span { position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: #fff; transition: transform var(--dur-2) var(--ease-out), opacity var(--dur-2); }
.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { top: 6px; }
.nav-toggle__bars span:nth-child(3) { top: 12px; }
.nav-open .nav-toggle__bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle__bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1199px) {
	.header-phone__text { display: none; }
}
@media (min-width: 1100px) and (max-width: 1279px) {
	.site-header__inner { gap: .9rem; }
	.main-nav .menu > .menu-item > a { padding: 0 .6rem; font-size: .92rem; }
	.site-header__actions { gap: .6rem; }
}
@media (max-width: 1099px) {
	.nav-toggle { display: grid; }
	.header-cta { display: none; }
	.main-nav {
		position: fixed; inset: calc(var(--header-h) + var(--admin-offset, 0px)) 0 0; margin: 0;
		padding: 1.5rem var(--gutter) calc(2rem + env(safe-area-inset-bottom));
		background: var(--navy-950); overflow-y: auto; overscroll-behavior: contain;
		opacity: 0; visibility: hidden; transform: translateY(-12px);
		transition: opacity var(--dur-2) var(--ease-out), transform var(--dur-3) var(--ease-out), visibility 0s linear var(--dur-3);
	}
	.nav-open .main-nav { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
	.main-nav .menu { flex-direction: column; align-items: stretch; gap: 0; }
	.main-nav .menu-item { flex-wrap: wrap; border-bottom: 1px solid rgb(255 255 255 / .08); }
	.main-nav .menu > .menu-item > a { flex: 1; min-height: 60px; padding: 0 .25rem; font-size: 1.2rem; border-radius: 0; background: none !important; box-shadow: none !important; }
	.submenu-toggle { width: 48px; height: 48px; margin: 0; }
	.main-nav .sub-menu {
		position: static; flex-basis: 100%; min-width: 0; padding: 0 0 .75rem; margin: 0;
		background: none; border: 0; box-shadow: none; display: none;
		opacity: 1; visibility: visible; transform: none;
	}
	.main-nav .menu-item-has-children.is-open > .sub-menu { display: block; }
	.main-nav .sub-menu a { color: rgb(255 255 255 / .78); padding: .6rem .5rem; }
	.main-nav .sub-menu a:hover { background: rgb(255 255 255 / .06); color: #fff; }
	.main-nav__mobile-extra { display: grid; gap: .75rem; margin-top: 1.75rem; }
	.main-nav__mobile-extra .shiny-cta { width: 100%; }
	.contact-chip {
		display: flex; align-items: center; gap: .75rem; min-height: 54px; padding: 0 1.1rem;
		border-radius: var(--radius); background: rgb(255 255 255 / .06); border: 1px solid rgb(255 255 255 / .1);
		color: #fff; text-decoration: none; font-weight: 700;
	}
	.contact-chip:hover { color: #fff; }
	.nav-open { overflow: hidden; }
	.nav-open .wa-float { opacity: 0; pointer-events: none; }
}
@media (max-width: 479px) {
	.brand__mark { width: 40px; }
	.brand__name { font-size: 1rem; }
	.brand__sub { font-size: .58rem; letter-spacing: .14em; }
	.brand__sub em { display: none; }
	.header-phone__icon { width: 44px; height: 44px; }
}

/* 6 · Hero ------------------------------------------------------------------ */
.hero { padding: calc(var(--header-h) + clamp(32px, 6vw, 72px)) 0 0; overflow: hidden; }
.hero__bg, .process__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.hero__grid {
	position: absolute; inset: 0;
	background-image:
		linear-gradient(rgb(255 255 255 / .045) 1px, transparent 1px),
		linear-gradient(90deg, rgb(255 255 255 / .045) 1px, transparent 1px);
	background-size: 64px 64px;
	mask-image: radial-gradient(ellipse 80% 70% at 60% 30%, #000 30%, transparent 100%);
}
.hero__glow { position: absolute; border-radius: 50%; will-change: transform; }
.hero__glow--warm { width: 620px; height: 620px; right: -160px; top: 8%; background: radial-gradient(circle, rgb(232 67 58 / .22), transparent 65%); animation: drift 18s var(--ease-in-out) infinite alternate; }
.hero__glow--cool { width: 760px; height: 760px; left: -260px; bottom: -280px; background: radial-gradient(circle, rgb(58 123 240 / .26), transparent 65%); animation: drift 22s var(--ease-in-out) infinite alternate-reverse; }

.hero__inner { display: grid; gap: clamp(40px, 6vw, 72px); align-items: center; }
.hero__title { font-size: clamp(2.35rem, 1.2rem + 4.6vw, 4.5rem); line-height: 1.04; letter-spacing: -.035em; margin-bottom: .45em; }
.hero__text { font-size: clamp(1.05rem, .98rem + .35vw, 1.25rem); color: rgb(255 255 255 / .76); max-width: 560px; margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero__call { display: inline-flex; align-items: center; gap: .8rem; margin-top: 1.75rem; color: #fff; text-decoration: none; }
.hero__call:hover { color: #fff; }
.hero__call small { display: block; font-size: .78rem; color: rgb(255 255 255 / .6); }
.hero__call strong { font-size: 1.1rem; }
.hero__call-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: rgb(232 67 58 / .16); color: #ff8f86; position: relative; }
.hero__call-icon::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgb(232 67 58 / .5); animation: ping 2.6s var(--ease-out) infinite; }
.hero__call-icon .icon { width: 20px; height: 20px; }

.hero__media { position: relative; isolation: isolate; max-width: 600px; justify-self: center; width: 100%; }
.hero__frame {
	position: relative; aspect-ratio: 5 / 4.6; border-radius: var(--radius-xl); overflow: hidden;
	border: 1px solid rgb(255 255 255 / .14); box-shadow: var(--shadow-lg); background: var(--navy-800);
}
.hero__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgb(6 20 43 / .45)); }
.hero__media::before {
	content: ""; position: absolute; inset: 22px -22px -22px 22px; z-index: -1;
	border: 1px solid rgb(106 156 245 / .35); border-radius: var(--radius-xl);
}
.hero__img { width: 100%; height: 100%; object-fit: cover; }
.hero__flow { position: absolute; left: -45%; right: -8%; bottom: -16%; height: 70%; width: 153%; z-index: -1; overflow: visible; }
.flow-base { fill: none; stroke-width: 10; stroke-linecap: round; opacity: .18; }
.flow-base--warm { stroke: var(--red-500); }
.flow-base--cool { stroke: var(--blue-400); }
.flow-line { fill: none; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 2 16; animation: flowdash 1.4s linear infinite; }
.flow-line--warm { stroke: #ff8a6b; }
.flow-line--cool { stroke: var(--blue-300); animation-direction: reverse; }

.hero__badge, .hero__temp {
	position: absolute; display: flex; align-items: center; gap: .75rem;
	padding: .8rem 1.1rem .8rem .8rem; border-radius: var(--radius); line-height: 1.25;
	animation: float 7s var(--ease-in-out) infinite alternate;
}
.hero__badge { left: -12px; bottom: 28px; background: #fff; color: var(--ink); box-shadow: var(--shadow-lg); }
.hero__badge strong, .hero__temp strong { display: block; font-size: .98rem; }
.hero__badge small, .hero__temp small { display: block; font-size: .76rem; color: var(--muted); font-weight: 600; }
.hero__badge-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--red-100); color: var(--red-600); }
.hero__temp { right: -10px; top: 26px; color: #fff; background: rgb(11 33 66 / .62); border: 1px solid rgb(255 255 255 / .16); backdrop-filter: blur(10px); animation-delay: -3s; }
.hero__temp small { color: rgb(255 255 255 / .65); }
.hero__temp-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--grad-warm); color: #fff; }
.hero__temp-icon .icon, .hero__badge-icon .icon { width: 20px; height: 20px; }

.hero-features { list-style: none; display: grid; gap: 1rem; margin-top: clamp(48px, 7vw, 88px); }
.hero-feature {
	position: relative; padding: 1.5rem; border-radius: var(--radius-lg);
	background: linear-gradient(160deg, rgb(255 255 255 / .07), rgb(255 255 255 / .025));
	border: 1px solid rgb(255 255 255 / .1);
	transition: border-color var(--dur-3) var(--ease-out), transform var(--dur-3) var(--ease-out), background-color var(--dur-3);
}
.hero-feature:hover { border-color: rgb(255 255 255 / .22); transform: translateY(-3px); }
.hero-feature__icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 1rem; border-radius: 12px; background: rgb(106 156 245 / .16); color: var(--blue-300); }
.hero-feature__icon .icon { width: 22px; height: 22px; }
.hero-feature__title { font-size: 1.08rem; margin-bottom: .35rem; }
.hero-feature p { margin: 0; font-size: .94rem; color: rgb(255 255 255 / .66); }

.partners { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .75rem 2.5rem; margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid rgb(255 255 255 / .08); }
.partners__label { margin: 0; font-size: .9rem; color: rgb(255 255 255 / .6); }
.partners__list { list-style: none; display: flex; gap: 2.5rem; align-items: center; }
.partners__item { font-size: 1.55rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: rgb(255 255 255 / .82); }
.partners__item--viessmann { text-transform: none; letter-spacing: -.01em; font-weight: 700; }

.marquee {
	position: relative; margin-top: clamp(40px, 5vw, 64px); padding: 1.15rem 0;
	border-top: 1px solid rgb(255 255 255 / .08); background: rgb(0 0 0 / .14); overflow: hidden;
	mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: marquee 42s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { list-style: none; display: flex; gap: 2.75rem; padding-right: 2.75rem; }
.marquee__group li { display: inline-flex; align-items: center; gap: .55rem; white-space: nowrap; font-weight: 700; font-size: .95rem; color: rgb(255 255 255 / .85); }
.marquee__group .icon { width: 18px; height: 18px; color: var(--red-500); stroke-width: 3; }

@media (min-width: 640px) {
	.hero-features { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
	.hero__inner { grid-template-columns: 1.08fr .92fr; }
	.hero__media { justify-self: end; }
}
@media (max-width: 639px) {
	.hero__badge { left: 10px; bottom: 14px; }
	.hero__temp { right: 10px; top: 14px; }
	.hero__media::before { inset: 14px -10px -14px 14px; }
	.partners { flex-direction: column; gap: 1rem; }
	.hero-feature { display: grid; grid-template-columns: 44px 1fr; gap: .15rem 1rem; padding: 1.1rem 1.2rem; }
	.hero-feature__icon { grid-row: span 2; margin: 0; }
	.hero__actions > * { flex: 1 1 100%; }
}

/* 7 · Abschnitte der Startseite ---------------------------------------------- */

/* Interaktives Haus */
.explorer { background: var(--surface-2); }
.explorer__stage {
	--house-sky-top: #eaf2fd; --house-sky-bottom: #f8fbff; --house-dot: #d3dff0;
	position: relative; display: grid; gap: 14px; padding: 14px;
	border-radius: var(--radius-xl); background: #fff; box-shadow: var(--shadow); border: 1px solid var(--line);
}
.explorer__visual { position: relative; border-radius: calc(var(--radius-xl) - 10px); overflow: hidden; background: var(--house-sky-bottom); }
.house { width: 100%; height: auto; }
.house .ground { fill: #e2eaf4; }
.house .ground-line { stroke: #c4d2e5; stroke-width: 2; }
.house .bushes ellipse { fill: #cfe2d5; }
.house .roof { fill: var(--navy-800); }
.house .roof-inner { fill: #eef3fa; }
.house .wall { fill: #d7e1ef; }
.house .room { fill: #fff; }
.house .slab { stroke: #d7e1ef; stroke-width: 10; }
.house .partition { stroke: #d7e1ef; stroke-width: 6; }
.house .window { fill: #dbe9fc; stroke: #9db4d6; stroke-width: 2; }
.house .window-cross { stroke: #9db4d6; stroke-width: 2; }
.house .radiator rect { fill: #fff; stroke: #8fa6c8; stroke-width: 2; }
.house .radiator path { stroke: #8fa6c8; stroke-width: 1.5; }
.house .heatwaves path { fill: none; stroke: var(--red-500); stroke-width: 2.5; stroke-linecap: round; opacity: 0; }
.house .furniture rect, .house .furniture circle { fill: #edf2f9; stroke: #cad7e8; stroke-width: 1.5; }
.house .furniture circle { fill: #d4e7d9; }
.house .room-label { font: 800 12px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; fill: #8496b1; stroke: none; }
.house .tiles { fill: #f1f6fc; }
.house .mirror { fill: #dbe9fc; stroke: #9db4d6; stroke-width: 2; }
.house .basin { fill: #fff; stroke: #8fa6c8; stroke-width: 2; }
.house .shower-arm { fill: none; stroke: #8fa6c8; stroke-width: 3; stroke-linecap: round; }
.house .shower-head { fill: #8fa6c8; }
.house .drops path { stroke: var(--blue-500); stroke-width: 2; stroke-linecap: round; opacity: 0; }
.house .glass { stroke: #b6cbe7; stroke-width: 3; }
.house .unit { fill: #fff; stroke: #8fa6c8; stroke-width: 2; }
.house .unit-display { fill: var(--blue-100); stroke: var(--blue-500); stroke-width: 2; }
.house .unit-line, .house .tank-line { stroke: #c8d5e7; stroke-width: 2; }
.house .tank { stroke: #8fa6c8; stroke-width: 2; }
.house .solar-panels rect { fill: var(--navy-700); stroke: #5d86c4; stroke-width: 1.5; }
.house .solar-panels path { stroke: rgb(255 255 255 / .22); stroke-width: 1; }
.house .sun__core { fill: var(--amber-400); }
.house .sun__rays path { stroke: var(--amber-400); stroke-width: 4; stroke-linecap: round; }
.house .sun__rays { transform-box: fill-box; transform-origin: center; }
.house .heatpump__body { fill: #fff; stroke: #8fa6c8; stroke-width: 2; }
.house .heatpump__ring { fill: #eef3fa; stroke: #8fa6c8; stroke-width: 2; }
.house .heatpump__fan { fill: #8fa6c8; transform-box: view-box; transform-origin: 856px 515px; }
.house .heatpump__grill { stroke: #c2d0e3; stroke-width: 3; stroke-linecap: round; }
.house .heatpump__foot { fill: #8fa6c8; }
.house .air path { fill: none; stroke: var(--blue-300); stroke-width: 2.5; stroke-linecap: round; opacity: 0; }
.house .pipe { fill: none; stroke-width: 8; stroke-linecap: round; stroke-linejoin: round; transition: opacity var(--dur-3) var(--ease-out); }
.house .pipe--warm { stroke: #f7c9c4; }
.house .pipe--cool { stroke: #c9daf8; }
.house .pipe--solar { stroke: #fbe2ad; }
.house .pipe--water { stroke: #cfe5f7; }
.house .flow { fill: none; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 2 13; transition: opacity var(--dur-3) var(--ease-out); }
.house .flow--warm { stroke: var(--red-600); }
.house .flow--cool { stroke: var(--blue-600); }
.house .flow--solar { stroke: var(--amber-500); }
.house .flow--water { stroke: #2389d6; }

.explorer__stage[data-active="waermepumpe"] :is(.pipe, .flow):not(.is-waermepumpe),
.explorer__stage[data-active="heizung"] :is(.pipe, .flow):not(.is-heizung),
.explorer__stage[data-active="bad"] :is(.pipe, .flow):not(.is-bad),
.explorer__stage[data-active="solar"] :is(.pipe, .flow):not(.is-solar),
.explorer__stage[data-active="wartung"] :is(.pipe, .flow):not(.is-wartung) { opacity: .22; }

.hotspot {
	position: absolute; left: var(--x); top: var(--y); z-index: 2;
	display: grid; place-items: center; width: 48px; height: 48px; padding: 0; margin: 0;
	border: 0; background: none; cursor: pointer; transform: translate(-50%, -50%);
	-webkit-tap-highlight-color: transparent;
}
.hotspot__dot {
	position: relative; z-index: 1; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
	background: #fff; color: var(--navy-900); box-shadow: 0 8px 20px -6px rgb(11 33 66 / .45), 0 0 0 4px rgb(255 255 255 / .55);
	transition: background-color var(--dur-2) var(--ease-out), color var(--dur-2), transform var(--dur-3) var(--ease-spring);
}
.hotspot__dot .icon { width: 20px; height: 20px; }
.hotspot__pulse { position: absolute; inset: 3px; border-radius: 50%; background: rgb(211 38 43 / .35); animation: ping 2.4s var(--ease-out) infinite; }
.hotspot:hover .hotspot__dot { transform: scale(1.08); }
.hotspot[aria-pressed="true"] .hotspot__dot { background: var(--red-600); color: #fff; transform: scale(1.1); }
.hotspot__label {
	position: absolute; left: calc(100% + 2px); top: 50%; white-space: nowrap;
	padding: .35rem .7rem; border-radius: 999px; background: var(--navy-900); color: #fff; font-size: .78rem; font-weight: 700;
	opacity: 0; transform: translate(-6px, -50%); pointer-events: none;
	transition: opacity var(--dur-2) var(--ease-out), transform var(--dur-2) var(--ease-out);
}
.hotspot:is(:hover, :focus-visible, [aria-pressed="true"]) .hotspot__label { opacity: 1; transform: translate(0, -50%); }
.hotspot[data-spot="waermepumpe"] .hotspot__label { left: auto; right: calc(100% + 2px); transform: translate(6px, -50%); }
.hotspot[data-spot="waermepumpe"]:is(:hover, :focus-visible, [aria-pressed="true"]) .hotspot__label { transform: translate(0, -50%); }

.explorer__panel {
	position: relative; display: grid; padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: calc(var(--radius-xl) - 10px);
	color: rgb(255 255 255 / .75); background: linear-gradient(160deg, var(--navy-800), var(--navy-950)); overflow: hidden;
}
.explorer__panel::before { content: ""; position: absolute; width: 320px; height: 320px; right: -140px; top: -140px; border-radius: 50%; background: radial-gradient(circle, rgb(232 67 58 / .3), transparent 65%); }
.explorer-card { grid-area: 1 / 1; position: relative; }
.explorer-card.is-entering { animation: card-in var(--dur-3) var(--ease-out) both; }
.explorer-card__meta { display: flex; justify-content: space-between; align-items: center; margin-bottom: .5rem; }
.explorer-card__meta .kicker { margin: 0; }
.explorer-card__count { font-size: .8rem; font-weight: 700; color: rgb(255 255 255 / .5); letter-spacing: .1em; }
.explorer-card__title { color: #fff; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); margin: .6rem 0 .7rem; }
.explorer-card p { font-size: .98rem; }

.explorer__tabs { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 6px; margin-top: 18px; padding: 6px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.explorer-tab {
	display: flex; flex-direction: column; align-items: flex-start; gap: .1rem; min-height: 56px; padding: .65rem 1rem;
	border: 0; border-radius: 12px; background: transparent; cursor: pointer; text-align: left;
	transition: background-color var(--dur-2), box-shadow var(--dur-2), color var(--dur-2);
}
.explorer-tab small { font-size: .7rem; font-weight: 800; letter-spacing: .12em; color: var(--muted); }
.explorer-tab span { font-weight: 700; color: var(--muted); }
.explorer-tab:hover span { color: var(--ink); }
.explorer-tab[aria-pressed="true"] { background: var(--surface-2); box-shadow: inset 0 -2px 0 var(--red-600); }
.explorer-tab[aria-pressed="true"] small { color: var(--red-600); }
.explorer-tab[aria-pressed="true"] span { color: var(--ink); }

@media (min-width: 1024px) {
	.explorer__stage { grid-template-columns: 380px 1fr; }
	.explorer__panel { order: -1; align-content: center; }
}
@media (max-width: 639px) {
	.hotspot { width: 44px; height: 44px; }
	.hotspot__dot { width: 32px; height: 32px; box-shadow: 0 6px 14px -4px rgb(11 33 66 / .45), 0 0 0 3px rgb(255 255 255 / .55); }
	.hotspot__dot .icon { width: 16px; height: 16px; }
	.hotspot__label { display: none; }
	.explorer__tabs { grid-template-columns: repeat(2, 1fr); }
	.explorer__tabs .explorer-tab:last-child:nth-child(odd) { grid-column: span 2; }
	.corner { display: none; }
}

/* Leistungen */
.service-grid { display: grid; gap: 1.25rem; }
.service-card {
	position: relative; display: flex; flex-direction: column; border-radius: var(--radius-lg);
	background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); overflow: hidden;
	transition: transform var(--dur-3) var(--ease-out), box-shadow var(--dur-3) var(--ease-out), border-color var(--dur-3);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.service-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-3); }
.service-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.service-card:hover .service-card__img { transform: scale(1.07); }
.service-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgb(6 20 43 / .35)); }
.service-card__icon {
	position: relative; z-index: 3; margin: -50px 0 1rem; display: grid; place-items: center; width: 52px; height: 52px;
	border-radius: 16px; background: var(--navy-900); color: #fff; box-shadow: 0 10px 24px -8px rgb(11 33 66 / .6);
	transition: background-color var(--dur-3) var(--ease-out), transform var(--dur-3) var(--ease-spring);
}
.service-card:hover .service-card__icon { background: var(--red-600); transform: rotate(-6deg) scale(1.05); }
.service-card__icon .icon { width: 24px; height: 24px; }
.service-card__num { position: absolute; z-index: 1; top: 14px; right: 14px; padding: .25rem .6rem; border-radius: 999px; background: rgb(255 255 255 / .9); color: var(--navy-900); font-size: .75rem; font-weight: 800; letter-spacing: .08em; }
.service-card__body { display: flex; flex-direction: column; flex: 1; padding: 1.4rem 1.4rem 1.4rem; }
.service-card__title { font-size: 1.18rem; margin-bottom: .5rem; }
.service-card__title a { color: var(--ink); text-decoration: none; }
.service-card__text { font-size: .94rem; color: var(--muted); }
.service-card .checklist { margin-bottom: 1.2rem; }
.service-card__more { margin-top: auto; display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; font-size: .92rem; color: var(--red-600); }
.service-card__more .icon { width: 16px; height: 16px; transition: transform var(--dur-2) var(--ease-out); }
.service-card:hover .service-card__more .icon { transform: translateX(4px); }
.stretched-link::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.stretched-link:focus-visible { outline: none; }
.stretched-link:focus-visible::after { outline: 3px solid var(--blue-400); outline-offset: -3px; border-radius: var(--radius-lg); }
@media (min-width: 640px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) {
	.service-grid { grid-template-columns: repeat(4, 1fr); }
	.service-grid--3 { grid-template-columns: repeat(3, 1fr); }
}

/* Ablauf */
.process { overflow: clip; }
.process__bg { background: radial-gradient(60% 50% at 10% 90%, rgb(58 123 240 / .18), transparent 70%); }
.process__bg::after {
	content: ""; position: absolute; inset: 0;
	background-image: radial-gradient(rgb(255 255 255 / .07) 1px, transparent 1px); background-size: 22px 22px;
	mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
}
.process__layout { display: grid; gap: 3rem; }
.process__aside { display: none; }
.dial { position: relative; width: min(300px, 100%); aspect-ratio: 1; margin: 0 auto; }
.dial__svg { width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.dial__track { fill: none; stroke: rgb(255 255 255 / .1); stroke-width: 3; }
.dial__ticks line { stroke: rgb(255 255 255 / .22); stroke-width: 2; stroke-linecap: round; }
.dial__progress {
	fill: none; stroke: var(--blue-500); stroke-width: 7; stroke-linecap: round;
	stroke-dasharray: 100; stroke-dashoffset: 80;
	filter: drop-shadow(0 0 10px rgb(58 123 240 / .6));
	transition: stroke-dashoffset 900ms var(--ease-out);
}
.dial__icons { position: absolute; inset: 0; display: grid; place-items: center; }
.dial__icon { grid-area: 1 / 1; color: #fff; opacity: 0; transform: scale(.7) rotate(-8deg); transition: opacity var(--dur-3) var(--ease-out), transform var(--dur-3) var(--ease-spring); }
.dial__icon .icon { width: 84px; height: 84px; stroke-width: 1.1; }
.dial__icon.is-active { opacity: 1; transform: none; }
.dial__count { display: flex; justify-content: center; align-items: baseline; gap: .5rem; margin: 1.5rem 0 .25rem; }
.dial__count strong { font-size: 2.6rem; line-height: 1; color: var(--blue-400); font-weight: 800; }
.dial__count span { color: rgb(255 255 255 / .5); font-weight: 700; }
.dial__label { text-align: center; font-size: .78rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: rgb(255 255 255 / .7); }

.steps { list-style: none; position: relative; }
.steps::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 1px; background: rgb(255 255 255 / .14); }
.step { position: relative; padding: 0 0 3rem 3rem; transition: opacity var(--dur-4) var(--ease-out); }
.step:last-child { padding-bottom: 0; }
.step__dot { position: absolute; left: 0; top: 4px; width: 15px; height: 15px; border-radius: 50%; border: 2px solid rgb(255 255 255 / .35); background: var(--navy-900); transition: background-color var(--dur-3), border-color var(--dur-3), box-shadow var(--dur-3); }
.step__num { margin: 0 0 .4rem; font-size: .8rem; font-weight: 800; letter-spacing: .14em; color: var(--blue-400); }
.step__title { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.2rem); margin-bottom: .6rem; }
.step__text { max-width: 520px; color: rgb(255 255 255 / .7); }
.js .step { opacity: .38; }
.js .step.is-active, .js .step.is-done { opacity: 1; }
.step.is-active .step__dot, .step.is-done .step__dot { background: var(--blue-500); border-color: var(--blue-500); box-shadow: 0 0 0 6px rgb(58 123 240 / .2); }
@media (min-width: 1024px) {
	.process__layout { grid-template-columns: 1fr 1.15fr; gap: 4rem; }
	.process__aside { display: block; position: sticky; top: calc(var(--header-h) + 8vh); align-self: start; padding-top: 1rem; }
	.step { min-height: 46vh; padding-bottom: 4rem; }
	.step:last-child { min-height: 0; }
}

/* Heizungs-Check */
.check-section { overflow: hidden; }
.check-section__glow { position: absolute; z-index: -1; width: 900px; height: 900px; left: -300px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgb(58 123 240 / .12), transparent 60%); pointer-events: none; }
.check-section__layout { display: grid; gap: clamp(40px, 5vw, 72px); align-items: start; }
.check-section__intro .section-intro { margin-bottom: 1.75rem; }
.check-section__trust { display: flex; gap: .9rem; align-items: center; padding: 1rem 1.2rem; border-radius: var(--radius); background: var(--surface-2); border: 1px solid var(--line); }
.check-section__trust p { margin: 0; font-size: .9rem; color: var(--muted); }
.check-section__trust-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: #fff; color: var(--blue-600); box-shadow: var(--shadow-sm); flex: none; }
@media (min-width: 1024px) {
	.check-section__layout { grid-template-columns: .9fr 1.1fr; }
	.check-section__intro { position: sticky; top: calc(var(--header-h) + 32px); }
}

.check-card { position: relative; padding: clamp(1.4rem, 3vw, 2.25rem); border-radius: var(--radius-xl); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.check__progress { margin-bottom: 1.75rem; }
.check__progress-meta { display: flex; justify-content: space-between; margin-bottom: .55rem; font-size: .82rem; font-weight: 700; color: var(--muted); }
.check__bar { height: 6px; border-radius: 6px; background: var(--surface-3); overflow: hidden; }
.check__bar span { display: block; height: 100%; width: 100%; border-radius: inherit; background: var(--grad-warm); transform-origin: left; transform: scaleX(0); transition: transform var(--dur-3) var(--ease-out); }
.check__step { border: 0; margin: 0 0 1.5rem; padding: 0; min-width: 0; }
.check__legend { padding: 0; margin-bottom: 1rem; font-size: clamp(1.25rem, 1.1rem + .6vw, 1.55rem); font-weight: 700; color: var(--ink); letter-spacing: -.015em; line-height: 1.25; }
.check__hint { margin: -.5rem 0 1rem; font-size: .88rem; color: var(--muted); }
.check__sublegend { margin: 1.5rem 0 .75rem; font-weight: 700; color: var(--ink); }
.check__error { margin: .75rem 0 0; color: var(--red-700); font-size: .9rem; font-weight: 600; }
.js .check__step:not(.is-current), .js .check__contact:not(.is-current) { display: none; }
.js .check__step.is-current { animation: card-in var(--dur-3) var(--ease-out) both; }
.no-js .check__progress { display: none; }

.choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem; }
.choice-grid--3 { grid-template-columns: repeat(3, 1fr); }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.choice__box {
	position: relative; display: flex; align-items: center; gap: .7rem; min-height: 58px; height: 100%; padding: .8rem 1rem;
	border: 1.5px solid var(--line-strong); border-radius: 14px; background: #fff; font-weight: 600; color: var(--ink); line-height: 1.3;
	transition: border-color var(--dur-2), background-color var(--dur-2), box-shadow var(--dur-2), transform var(--dur-1);
}
.choice:hover .choice__box { border-color: var(--blue-400); }
.choice input:active + .choice__box { transform: scale(.98); }
.choice__check { display: grid; place-items: center; width: 22px; height: 22px; flex: none; border-radius: 50%; border: 1.5px solid var(--line-strong); color: transparent; transition: background-color var(--dur-2), border-color var(--dur-2), color var(--dur-2); }
.choice input[type="checkbox"] + .choice__box .choice__check { border-radius: 6px; }
.choice__check .icon { width: 14px; height: 14px; stroke-width: 3.2; }
.choice input:checked + .choice__box { border-color: var(--blue-600); background: var(--blue-50); box-shadow: 0 0 0 3px rgb(31 95 214 / .12); }
.choice input:checked + .choice__box .choice__check { background: var(--blue-600); border-color: var(--blue-600); color: #fff; }
.choice input:focus-visible + .choice__box { outline: 3px solid var(--blue-400); outline-offset: 2px; }
@media (max-width: 479px) {
	.choice-grid, .choice-grid--3 { grid-template-columns: 1fr; }
}

.range-field { padding: .5rem 0; }
.range-field__value { display: block; margin-bottom: 1rem; font-size: 2.6rem; font-weight: 800; color: var(--navy-900); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.range-field__scale { display: flex; justify-content: space-between; margin-top: .5rem; font-size: .82rem; color: var(--muted); }
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; cursor: pointer; --p: 25%; }
.range::-webkit-slider-runnable-track { height: 8px; border-radius: 8px; background: linear-gradient(90deg, var(--red-600) var(--p), var(--surface-3) var(--p)); }
.range::-moz-range-track { height: 8px; border-radius: 8px; background: var(--surface-3); }
.range::-moz-range-progress { height: 8px; border-radius: 8px; background: var(--red-600); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -10px; border-radius: 50%; background: #fff; border: 3px solid var(--red-600); box-shadow: 0 4px 12px rgb(211 38 43 / .35); transition: transform var(--dur-1); }
.range::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 3px solid var(--red-600); box-shadow: 0 4px 12px rgb(211 38 43 / .35); }
.range:active::-webkit-slider-thumb { transform: scale(1.12); }

.check__result { margin-bottom: 1.5rem; padding: 1.5rem; border-radius: var(--radius-lg); background: var(--surface-2); border: 1px solid var(--line); }
.check__result:focus { outline: none; }
.check__result .kicker { margin-bottom: .7rem; }
.check__result-title { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.9rem); margin-bottom: 1rem; }
.score { height: 10px; border-radius: 10px; background: var(--surface-3); overflow: hidden; margin-bottom: 1.25rem; }
.score__bar { display: block; height: 100%; width: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--amber-400), #4fbf73); transform-origin: left; transform: scaleX(0); transition: transform 1.2s var(--ease-out) .2s; }
.result-facts { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin: 0 0 1.25rem; }
.result-facts div { padding: .9rem 1rem; border-radius: 14px; background: #fff; border: 1px solid var(--line); }
.result-facts dt { font-size: .78rem; font-weight: 700; color: var(--muted); letter-spacing: .04em; }
.result-facts dd { margin: .2rem 0 0; font-size: 1.35rem; font-weight: 800; color: var(--navy-900); font-variant-numeric: tabular-nums; }
.check__disclaimer { font-size: .82rem; color: var(--muted); margin: 0 0 1.25rem; }
.check__contact-title { font-size: 1.15rem; margin: 0; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.check__nav { display: flex; justify-content: space-between; align-items: center; gap: .75rem; flex-wrap: wrap; }
.check__nav [data-check-next], .check__nav [data-check-submit] { margin-left: auto; }

/* Qualität */
.quality__list { display: grid; gap: 1.5rem; }
.quality-card {
	position: relative; display: grid; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line);
	box-shadow: var(--shadow); overflow: visible;
}
.quality-card .corner { border-color: var(--blue-400); width: 14px; height: 14px; }
.quality-card .corner--tl { top: 14px; left: 14px; }
.quality-card .corner--bl { bottom: 14px; left: 14px; }
.quality-card__body { padding: clamp(1.6rem, 4vw, 3rem); }
.quality-card__meta { display: flex; align-items: center; gap: .7rem; margin-bottom: 1.25rem; }
.quality-card__num { display: grid; place-items: center; min-width: 40px; height: 30px; padding: 0 .6rem; border-radius: 999px; border: 1.5px solid var(--blue-400); color: var(--blue-600); font-size: .82rem; font-weight: 800; }
.quality-card__icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--blue-100); color: var(--blue-600); }
.quality-card__icon .icon { width: 18px; height: 18px; }
.quality-card__label { font-size: .74rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.quality-card__title { font-size: clamp(1.4rem, 1.15rem + 1vw, 2rem); margin-bottom: .6rem; }
.quality-card p { color: var(--muted); max-width: 520px; margin: 0; }
.quality-card__media { position: relative; min-height: 240px; overflow: hidden; border-radius: 0 0 var(--radius-lg) var(--radius-lg); }
.quality-card__media::before { content: ""; position: absolute; z-index: 1; left: 0; top: 0; bottom: 0; width: 3px; background: var(--blue-500); transform-origin: top; transform: scaleY(0); transition: transform 1s var(--ease-out) .3s; }
.quality-card.is-in .quality-card__media::before { transform: scaleY(1); }
.quality-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.quality-card:hover .quality-card__media img { transform: scale(1.05); }
@media (min-width: 900px) {
	.quality-card { grid-template-columns: 1.15fr .85fr; min-height: 300px; }
	.quality-card__body { align-self: center; }
	.quality-card__media { border-radius: 0 var(--radius-lg) var(--radius-lg) 0; }
}

/* Bild-Banner */
.cta-band { position: relative; display: flex; align-items: center; min-height: clamp(460px, 60vw, 620px); padding-block: var(--section-y); overflow: hidden; }
.cta-band__media { position: absolute; inset: 0; z-index: -1; }
.cta-band__media img { width: 100%; height: 115%; object-fit: cover; transform: translate3d(0, var(--parallax, 0px), 0); will-change: transform; }
.cta-band__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(6 20 43 / .94) 0%, rgb(11 33 66 / .78) 45%, rgb(11 33 66 / .25) 100%); }
.cta-band__content { position: relative; }
.cta-band__content > * { max-width: 640px; }
.cta-band__title { font-size: clamp(2.1rem, 1.3rem + 3vw, 3.6rem); line-height: 1.08; }
.cta-band__text { font-size: 1.12rem; color: rgb(255 255 255 / .78); margin-bottom: 2rem; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: .8rem; }
@media (max-width: 639px) {
	.cta-band__media::after { background: linear-gradient(180deg, rgb(6 20 43 / .7), rgb(6 20 43 / .92)); }
}

/* Bewertungen */
.reviews { overflow: hidden; }
.rating-pill {
	display: inline-flex; align-items: center; gap: .6rem; margin-top: .5rem; padding: .55rem 1rem; min-height: 44px;
	border-radius: 999px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
	color: var(--ink); text-decoration: none; font-weight: 700; font-size: .92rem;
	transition: box-shadow var(--dur-2), transform var(--dur-2) var(--ease-out);
}
.rating-pill:hover { color: var(--ink); box-shadow: var(--shadow); transform: translateY(-2px); }
.rating-pill > .icon:last-child { width: 16px; height: 16px; color: var(--muted); }
.rating-pill span { color: var(--muted); font-weight: 600; }
.stars { display: inline-flex; gap: 2px; color: var(--amber-400); }
.star .icon { width: 15px; height: 15px; fill: currentColor; stroke: none; }
.star:not(.is-full):not(.is-half) { color: var(--line-strong); }
.star.is-half .icon { fill: url(#none); }

.reviews__wall {
	display: none; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; height: 680px; overflow: hidden;
	mask-image: linear-gradient(180deg, transparent 0, #000 14%, #000 86%, transparent 100%);
}
.reviews__track { display: flex; flex-direction: column; gap: 1.5rem; padding-block: .75rem; animation: scroll-y var(--dur, 50s) linear infinite; }
.reviews__col--1 .reviews__track { animation-direction: reverse; }
.reviews__wall:hover .reviews__track, .reviews__wall:focus-within .reviews__track { animation-play-state: paused; }
.reviews__mobile { display: grid; gap: 1rem; }
@media (min-width: 900px) {
	.reviews__wall { display: grid; }
	.reviews__mobile { display: none; }
}
.review {
	position: relative; margin: 0; padding: 1.5rem; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line);
	box-shadow: var(--shadow);
}
.reviews__col--0 .review:nth-child(odd), .reviews__col--2 .review:nth-child(even) { rotate: -1.2deg; }
.reviews__col--0 .review:nth-child(even), .reviews__col--2 .review:nth-child(odd), .reviews__col--1 .review:nth-child(odd) { rotate: 1deg; }
.review__quote { position: absolute; right: 18px; top: 18px; width: 26px; height: 26px; color: var(--blue-100); fill: var(--blue-100); stroke: none; }
.review blockquote { padding-right: 2rem; }
.review blockquote { margin: 0 0 1.2rem; }
.review blockquote p { margin: 0; color: var(--text); font-size: .98rem; line-height: 1.6; }
.review figcaption { display: flex; align-items: center; gap: .75rem; }
.review__avatar { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(140deg, var(--blue-500), var(--blue-600)); color: #fff; font-weight: 800; font-size: .9rem; flex: none; }
.review__who { display: flex; flex-direction: column; gap: .1rem; line-height: 1.2; }
.review__who strong { color: var(--ink); font-size: .95rem; }
.review__source { margin-left: auto; color: var(--muted); font-size: .8rem; }
.review__source .icon { width: 20px; height: 20px; }
.review__example { position: absolute; left: 1.5rem; top: -10px; padding: .15rem .55rem; border-radius: 999px; background: #fff3d9; color: #8a5300; font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; border: 1px solid #f8dfa7; }

/* Referenzen */
.refs { overflow: hidden; }
.refs__grid-bg { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgb(255 255 255 / .04) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / .04) 1px, transparent 1px); background-size: 72px 72px; }
.ref-feature { display: grid; gap: clamp(32px, 5vw, 72px); align-items: center; margin-bottom: clamp(64px, 8vw, 112px); }
.ref-feature__title { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.5rem); text-transform: uppercase; letter-spacing: -.01em; line-height: 1.08; }
.ref-feature__rule { display: block; width: 180px; height: 1px; margin: 1.5rem 0; background: rgb(255 255 255 / .18); }
.ref-feature__by { display: flex; align-items: center; gap: .8rem; margin: 1.5rem 0 1.75rem; font-size: .74rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: rgb(255 255 255 / .5); }
.ref-feature__by span { width: 28px; height: 1px; background: var(--blue-400); }
.ref-feature__media { position: relative; }
.ref-feature__media .corner { border-color: var(--blue-400); width: 34px; height: 34px; }
.ref-feature__media .corner--tl { top: -12px; left: -12px; }
.ref-feature__media .corner--br { bottom: -12px; right: -12px; }
.refs__more { margin: 0; text-align: center; }
@media (min-width: 900px) {
	.ref-feature { grid-template-columns: .9fr 1.1fr; }
	.ref-feature--reverse .ref-feature__text { order: 2; }
}

.ba { position: relative; aspect-ratio: 4 / 3.6; border-radius: var(--radius-lg); overflow: hidden; background: var(--navy-800); box-shadow: var(--shadow-lg); user-select: none; -webkit-user-select: none; touch-action: pan-y; }
.ba__img { position: absolute; inset: 0; }
.ba__img img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba__img--before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__img--before::after { content: ""; position: absolute; inset: 0; background: rgb(60 40 20 / .08); }
.ba__handle { position: absolute; z-index: 2; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 12px rgb(0 0 0 / .35); pointer-events: none; }
.ba__handle span { position: absolute; top: 50%; left: 50%; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--red-600); color: #fff; transform: translate(-50%, -50%); box-shadow: 0 8px 20px rgb(0 0 0 / .3), 0 0 0 5px rgb(255 255 255 / .35); transition: transform var(--dur-2) var(--ease-spring); }
.ba:hover .ba__handle span { transform: translate(-50%, -50%) scale(1.08); }
.ba__handle .icon { width: 20px; height: 20px; stroke-width: 2.5; }
.ba__range { position: absolute; z-index: 3; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
.ba__range::-webkit-slider-thumb { -webkit-appearance: none; width: 56px; height: 100vh; }
.ba__range::-moz-range-thumb { width: 56px; height: 100vh; border: 0; }
.ba:has(.ba__range:focus-visible) .ba__handle span { outline: 3px solid var(--blue-300); outline-offset: 3px; }
.ba__tag { position: absolute; z-index: 2; top: 14px; padding: .3rem .75rem; border-radius: 999px; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; pointer-events: none; }
.ba__tag--before { left: 14px; background: rgb(20 20 20 / .55); color: #fff; backdrop-filter: blur(6px); }
.ba__tag--after { right: 14px; background: var(--blue-600); color: #fff; }

/* Einsatzgebiet */
.area__layout { display: grid; gap: clamp(40px, 5vw, 80px); align-items: center; }
.area__map { position: relative; border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); }
.area__map svg { width: 100%; height: auto; border-radius: 28px; }
.area-bg { fill: var(--navy-900); }
.area-dot { fill: rgb(255 255 255 / .07); }
.area-ring { fill: none; stroke: rgb(157 189 248 / .45); stroke-width: 1.5; stroke-dasharray: 4 8; }
.area-ring--outer { stroke: rgb(232 67 58 / .55); stroke-width: 2; stroke-dasharray: 6 10; animation: spin-slow 80s linear infinite; transform-origin: 350px 350px; transform-box: view-box; }
.area-ring-label { font: 700 14px var(--font); fill: rgb(255 255 255 / .45); text-anchor: middle; letter-spacing: .08em; }
.area-place circle { fill: var(--blue-300); }
.area-place text { font: 600 15px var(--font); fill: rgb(255 255 255 / .6); }
.area-place.is-major circle { fill: #fff; }
.area-place.is-major text { font-size: 18px; font-weight: 700; fill: rgb(255 255 255 / .9); }
.area-home__dot { fill: var(--red-500); stroke: #fff; stroke-width: 3; }
.area-home__pulse { fill: var(--red-500); opacity: .4; transform-origin: 350px 350px; transform-box: view-box; animation: ping-svg 2.6s var(--ease-out) infinite; }
.area-home__tag { fill: #fff; }
.area-home__label { font: 800 16px var(--font); fill: var(--navy-900); }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-bottom: 2rem; }
.stat { padding: 1.25rem 1.25rem 1.1rem; border-radius: var(--radius); background: var(--surface-2); border: 1px solid var(--line); }
.stat__value { margin: 0; font-size: clamp(2.1rem, 1.6rem + 1.6vw, 3rem); font-weight: 800; line-height: 1; letter-spacing: -.03em; color: var(--navy-900); font-variant-numeric: tabular-nums; }
.stat__value small { font-size: .5em; margin-left: .15em; color: var(--red-600); }
.stat__label { margin: .5rem 0 0; font-size: .82rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); line-height: 1.35; }
.contact-strip { list-style: none; display: grid; gap: 1.25rem; margin-top: clamp(56px, 6vw, 88px); padding-top: 2.5rem; border-top: 1px solid var(--line); }
.contact-strip li { display: flex; gap: .9rem; align-items: center; min-width: 0; }
.contact-strip small { display: block; font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--blue-600); }
.contact-strip a, .contact-strip span span { color: var(--ink); font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.contact-strip a:hover { color: var(--red-600); }
.contact-strip__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--blue-50); color: var(--blue-600); flex: none; }
.contact-strip__icon .icon { width: 20px; height: 20px; }
@media (min-width: 640px) { .contact-strip { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) {
	.area__layout { grid-template-columns: 1fr 1fr; }
	.contact-strip { grid-template-columns: repeat(4, 1fr); }
}

/* Notdienst */
.emergency__head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 56px); }
.emergency__layout { display: grid; gap: 1.5rem; }
.emergency__media { border-radius: var(--radius-lg); overflow: hidden; min-height: 300px; position: relative; box-shadow: var(--shadow-lg); }
.emergency__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.emergency__cards { display: grid; gap: 1rem; }
.emergency-call {
	position: relative; display: grid; gap: .4rem; justify-items: start; padding: 1.75rem; border-radius: var(--radius-lg); text-decoration: none; overflow: hidden;
	background: linear-gradient(135deg, var(--blue-600), var(--navy-700)); border: 1px solid rgb(255 255 255 / .18); box-shadow: 0 24px 50px -24px rgb(31 95 214 / .7);
}
.emergency-call::after { content: ""; position: absolute; width: 260px; height: 260px; right: -90px; top: -110px; border-radius: 50%; background: radial-gradient(circle, rgb(255 255 255 / .22), transparent 65%); }
.emergency-call__live { display: inline-flex; align-items: center; gap: .5rem; font-size: .74rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: rgb(255 255 255 / .85); }
.emergency-call__live span { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #4ade80; }
.emergency-call__live span::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid #4ade80; animation: ping 2s var(--ease-out) infinite; }
.emergency-call__number { font-size: clamp(1.8rem, 1.4rem + 1.6vw, 2.5rem); color: #fff; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.emergency-call__note { color: rgb(255 255 255 / .75); font-size: .92rem; margin-bottom: .75rem; }
.emergency-point { display: flex; gap: 1rem; padding: 1.25rem 1.4rem; border-radius: var(--radius); background: rgb(255 255 255 / .05); border: 1px solid rgb(255 255 255 / .1); transition: background-color var(--dur-3), border-color var(--dur-3); }
.emergency-point:hover { background: rgb(255 255 255 / .08); border-color: rgb(255 255 255 / .18); }
.emergency-point h3 { font-size: 1.05rem; margin-bottom: .25rem; }
.emergency-point p { margin: 0; font-size: .92rem; color: rgb(255 255 255 / .65); }
.emergency-point__icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: rgb(106 156 245 / .16); color: var(--blue-300); flex: none; }
.emergency-point__icon .icon { width: 20px; height: 20px; }
@media (min-width: 900px) {
	.emergency__layout { grid-template-columns: .95fr 1.05fr; }
}

/* FAQ */
.faq__layout { display: grid; gap: 2.5rem; }
.faq__call { display: inline-flex; align-items: center; gap: .9rem; padding: .9rem 1.4rem .9rem .9rem; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: border-color var(--dur-2), box-shadow var(--dur-2); }
.faq__call:hover { color: var(--ink); border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.faq__call small { display: block; font-size: .78rem; color: var(--muted); font-weight: 600; }
.faq__call strong { font-size: 1.08rem; }
.faq__call-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--red-600); color: #fff; }
.faq__call-icon .icon { width: 20px; height: 20px; }
.faq__list { border-top: 1px solid var(--line); }
.faq-item, .prose details { border-bottom: 1px solid var(--line); interpolate-size: allow-keywords; }
.faq-item summary, .prose details summary {
	display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; min-height: 64px; padding: 1.1rem 0;
	font-weight: 700; color: var(--ink); cursor: pointer; list-style: none; transition: color var(--dur-2);
}
.faq-item summary::-webkit-details-marker, .prose details summary::-webkit-details-marker { display: none; }
.faq-item summary:hover, .prose details summary:hover { color: var(--blue-600); }
.faq-item__icon { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--blue-50); color: var(--blue-600); flex: none; transition: transform var(--dur-3) var(--ease-out), background-color var(--dur-2), color var(--dur-2); }
.faq-item__icon .icon { width: 16px; height: 16px; stroke-width: 2.5; }
.faq-item[open] .faq-item__icon { transform: rotate(45deg); background: var(--red-600); color: #fff; }
.faq-item__body { padding: 0 3rem 1.4rem 0; color: var(--muted); }
.faq-item__body p:last-child { margin-bottom: 0; }
.faq-item::details-content, .prose details::details-content { block-size: 0; overflow: hidden; transition: block-size var(--dur-3) var(--ease-out), content-visibility var(--dur-3) allow-discrete; }
.faq-item[open]::details-content, .prose details[open]::details-content { block-size: auto; }
@media (min-width: 1024px) {
	.faq__layout { grid-template-columns: .85fr 1.15fr; gap: 5rem; }
	.faq__intro { position: sticky; top: calc(var(--header-h) + 40px); align-self: start; }
}

/* 8 · Unterseiten ------------------------------------------------------------- */
.page-hero { padding: calc(var(--header-h) + clamp(40px, 6vw, 72px)) 0 clamp(56px, 7vw, 96px); overflow: hidden; }
.page-hero--compact { padding-bottom: clamp(40px, 5vw, 64px); }
.page-hero__inner { display: grid; gap: clamp(40px, 5vw, 72px); align-items: center; }
.page-hero__inner--center { text-align: center; justify-items: center; }
.page-hero__inner--center .hero__actions { justify-content: center; }
.page-hero__title { font-size: clamp(2.2rem, 1.3rem + 3.6vw, 3.9rem); line-height: 1.06; letter-spacing: -.03em; }
.page-hero--compact .page-hero__title { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.2rem); }
.page-hero__text { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: rgb(255 255 255 / .75); max-width: 620px; margin-bottom: 2rem; }
.page-hero__inner--center .page-hero__text { margin-inline: auto; }
.page-hero__media { position: relative; isolation: isolate; max-width: 560px; width: 100%; justify-self: center; }
.page-hero__media::before { content: ""; position: absolute; inset: 20px -20px -20px 20px; z-index: -1; border: 1px solid rgb(106 156 245 / .35); border-radius: var(--radius-xl); }
.page-hero__media .hero__frame { aspect-ratio: 4 / 3.3; }
.page-hero__icon { position: absolute; left: -18px; bottom: -18px; display: grid; place-items: center; width: 76px; height: 76px; border-radius: 22px; background: var(--red-600); color: #fff; box-shadow: 0 20px 40px -14px rgb(211 38 43 / .7); animation: float 7s var(--ease-in-out) infinite alternate; }
.page-hero__icon .icon { width: 34px; height: 34px; }
.error-code { margin: 0; font-size: clamp(6rem, 3rem + 14vw, 12rem); font-weight: 800; line-height: .9; letter-spacing: -.06em; background: var(--grad-warm); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (min-width: 1024px) {
	.page-hero--media .page-hero__inner { grid-template-columns: 1.1fr .9fr; }
	.page-hero__media { justify-self: end; }
}

.breadcrumbs { margin-bottom: 1.5rem; font-size: .85rem; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: .4rem; color: rgb(255 255 255 / .55); }
.breadcrumbs li + li::before { content: "/"; color: rgb(255 255 255 / .3); }
.breadcrumbs a { color: rgb(255 255 255 / .75) !important; text-decoration: none; }
.breadcrumbs a:hover { color: #fff !important; }
.page-hero__inner--center .breadcrumbs ol { justify-content: center; }

.service-detail__layout { display: grid; gap: 3rem; align-items: start; }
@media (min-width: 1024px) {
	.service-detail__layout { grid-template-columns: 1fr 380px; gap: 4.5rem; }
	.service-aside { position: sticky; top: calc(var(--header-h) + 24px); }
}
.service-aside { display: grid; gap: 1.25rem; }
.aside-card { padding: 1.6rem; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.aside-card--dark { color: rgb(255 255 255 / .75); background: linear-gradient(150deg, var(--navy-800), var(--navy-950)); border-color: transparent; box-shadow: var(--shadow-lg); }
.aside-card__title { font-size: 1.15rem; font-weight: 700; color: var(--ink); margin-bottom: 1rem; line-height: 1.3; }
.aside-card--dark .aside-card__title { color: #fff; font-size: 1.3rem; }
.aside-card__phone { display: flex; align-items: center; gap: .6rem; font-size: 1.5rem; font-weight: 800; color: #fff !important; text-decoration: none; letter-spacing: -.01em; }
.aside-card__phone .icon { width: 22px; height: 22px; color: var(--red-500); }
.aside-card__hours { font-size: .9rem; margin: .5rem 0 1.25rem; }
.aside-card__wa { display: flex; justify-content: center; align-items: center; gap: .5rem; margin-top: .9rem; font-weight: 700; font-size: .92rem; text-decoration: none; }
.aside-card__wa .icon { color: var(--green-wa); }
.aside-card .checklist { margin: 0; }
.aside-links { list-style: none; display: grid; gap: .25rem; }
.aside-links a { display: flex; align-items: center; gap: .75rem; min-height: 48px; padding: .5rem .7rem; border-radius: 12px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; transition: background-color var(--dur-2), color var(--dur-2); }
.aside-links a > .icon:first-child { width: 20px; height: 20px; color: var(--blue-600); }
.aside-links a:hover { background: var(--surface-2); color: var(--blue-600); }
.aside-links__arrow { margin-left: auto; width: 16px !important; height: 16px !important; color: var(--muted); transition: transform var(--dur-2) var(--ease-out); }
.aside-links a:hover .aside-links__arrow { transform: translateX(3px); }

/* Fließtext aus dem Block-Editor */
.prose { font-size: 1.06rem; line-height: 1.78; color: var(--text); max-width: 760px; }
.prose > *:first-child { margin-top: 0; }
.prose h2 { font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); margin: 2.2em 0 .7em; }
.prose h3 { font-size: 1.3rem; margin: 1.8em 0 .6em; }
.prose > p:first-child { font-size: 1.2rem; color: var(--ink); line-height: 1.7; }
.prose--lead p:first-child { font-size: 1.15rem; color: var(--ink); }
.prose ul, .prose ol { margin: 0 0 1.5em; padding: 0; list-style: none; display: grid; gap: .65rem; }
.prose ul li { position: relative; padding-left: 2.1rem; }
.prose ul li::before {
	content: ""; position: absolute; left: 0; top: .28em; width: 22px; height: 22px; border-radius: 50%; background: var(--blue-600);
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12' fill='black'/%3E%3Cpath d='M7 12.5l3.2 3.2L17 9' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cmask id='m'%3E%3Ccircle cx='12' cy='12' r='12' fill='white'/%3E%3Cpath d='M7 12.5l3.2 3.2L17 9' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/mask%3E%3Crect width='24' height='24' fill='white' mask='url(%23m)'/%3E%3C/svg%3E") center / contain no-repeat;
}
.prose ol { counter-reset: li; }
.prose ol li { counter-increment: li; position: relative; padding-left: 2.4rem; }
.prose ol li::before { content: counter(li); position: absolute; left: 0; top: .15em; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--blue-100); color: var(--blue-600); font-size: .8rem; font-weight: 800; }
.prose a { color: var(--blue-600); font-weight: 600; }
.prose strong { color: var(--ink); }
.prose details { margin: 0; }
.prose details > :not(summary) { color: var(--muted); padding-bottom: 1.2rem; margin: 0; }
.prose details summary::after { content: "+"; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--blue-50); color: var(--blue-600); font-size: 1.3rem; font-weight: 600; flex: none; transition: transform var(--dur-3) var(--ease-out), background-color var(--dur-2), color var(--dur-2); }
.prose details[open] summary::after { transform: rotate(45deg); background: var(--red-600); color: #fff; }
.prose h2 + details { border-top: 1px solid var(--line); }
.prose img { border-radius: var(--radius); }
.prose blockquote { margin: 2em 0; padding: 1.25rem 1.5rem; border-left: 3px solid var(--red-600); background: var(--surface-2); border-radius: 0 var(--radius) var(--radius) 0; }
.prose--legal { font-size: 1rem; }
.prose--legal h2 { font-size: 1.3rem; margin-top: 2em; }
.prose--legal > p:first-child { font-size: 1rem; color: var(--muted); }

/* Über uns */
.story__layout { display: grid; gap: clamp(40px, 6vw, 88px); align-items: start; }
.story__media { position: relative; border-radius: var(--radius-xl); overflow: visible; }
.story__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); }
.story__badge { position: absolute; right: -14px; bottom: 28px; display: grid; padding: 1.1rem 1.4rem; border-radius: var(--radius); background: var(--red-600); color: #fff; box-shadow: 0 20px 40px -14px rgb(211 38 43 / .6); }
.story__badge strong { font-size: 2.2rem; line-height: 1; font-variant-numeric: tabular-nums; }
.story__badge span { font-size: .8rem; font-weight: 700; opacity: .9; }
.story__quote { position: relative; margin: 2rem 0; padding: 1.75rem 1.75rem 1.5rem 4.25rem; border-radius: var(--radius-lg); background: var(--surface-2); border: 1px solid var(--line); }
.story__quote .icon { position: absolute; left: 1.4rem; top: 1.6rem; width: 30px; height: 30px; fill: var(--red-600); stroke: none; }
.story__quote p { font-size: 1.15rem; font-weight: 600; color: var(--ink); line-height: 1.55; margin-bottom: .75rem; }
.story__quote footer { font-size: .85rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
@media (min-width: 1024px) {
	.story__layout { grid-template-columns: .85fr 1.15fr; }
	.story__media { position: sticky; top: calc(var(--header-h) + 32px); }
}
.value-grid { display: grid; gap: 1.25rem; }
.value-card { padding: 1.75rem; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform var(--dur-3) var(--ease-out), box-shadow var(--dur-3); }
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.value-card__icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 1.25rem; border-radius: 16px; background: var(--navy-900); color: #fff; }
.value-card__icon .icon { width: 24px; height: 24px; }
.value-card h3 { font-size: 1.2rem; }
.value-card p { margin: 0; color: var(--muted); font-size: .96rem; }
@media (min-width: 640px) { .value-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .value-grid { grid-template-columns: repeat(4, 1fr); } }

/* Referenzen-Archiv */
.filter { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-bottom: 3rem; }
.filter__btn { min-height: 44px; padding: .5rem 1.2rem; border-radius: 999px; border: 1.5px solid var(--line-strong); background: #fff; font-weight: 700; color: var(--muted); cursor: pointer; transition: all var(--dur-2) var(--ease-out); }
.filter__btn:hover { border-color: var(--navy-900); color: var(--ink); }
.filter__btn[aria-pressed="true"] { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.ref-grid { display: grid; gap: 2rem; }
.ref-card { display: grid; gap: 1.25rem; }
.ref-card.is-hidden { display: none; }
.ref-card__title { font-size: 1.4rem; }
.ref-card__body p:last-child { color: var(--muted); margin: 0; }
.ref-card .kicker { margin-bottom: .6rem; }
@media (min-width: 900px) { .ref-grid { grid-template-columns: repeat(2, 1fr); gap: 3rem 2.5rem; } }
.empty-state { padding: 3rem; text-align: center; border-radius: var(--radius-lg); background: var(--surface-2); color: var(--muted); }

/* Kontakt */
.contact__layout { display: grid; gap: 2rem; align-items: start; }
.contact__form { padding: clamp(1.5rem, 4vw, 2.75rem); border-radius: var(--radius-xl); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.contact__title { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); }
.contact__lead { color: var(--muted); margin-bottom: 2rem; }
.contact__aside { display: grid; gap: 1.25rem; }
.contact-list { list-style: none; display: grid; gap: 1.1rem; }
.contact-list li { display: flex; gap: .9rem; align-items: flex-start; }
.contact-list small { display: block; font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-300); }
.contact-list a, .contact-list span span { color: #fff; font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover { text-decoration: underline; }
.contact-list__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgb(255 255 255 / .08); color: #fff; flex: none; }
.contact-list__icon .icon { width: 20px; height: 20px; }
.hours { list-style: none; display: grid; gap: .1rem; }
.hours li { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px dashed var(--line); font-size: .95rem; }
.hours strong { color: var(--ink); font-variant-numeric: tabular-nums; }
.hours__note { display: flex; gap: .6rem; margin: 1rem 0 0; font-size: .88rem; color: var(--muted); }
.hours__note .icon { width: 18px; height: 18px; color: var(--red-600); margin-top: 2px; }
.map-embed { position: relative; margin-top: 3rem; aspect-ratio: 16 / 7; border-radius: var(--radius-xl); overflow: hidden; background: linear-gradient(135deg, var(--surface-2), var(--surface-3)); border: 1px solid var(--line); }
.map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-embed__placeholder { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: .25rem; padding: 1.5rem; text-align: center; color: var(--muted); font-size: .92rem; }
.map-embed__placeholder p { margin: 0; max-width: 460px; }
.map-embed__icon { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: .75rem; border-radius: 50%; background: var(--red-600); color: #fff; box-shadow: 0 0 0 10px rgb(211 38 43 / .12); }
.map-embed__title { font-weight: 700; color: var(--ink); font-size: 1.05rem; }
.map-embed__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-top: 1rem; }
@media (max-width: 767px) { .map-embed { aspect-ratio: 4 / 4.2; } }
@media (min-width: 1024px) { .contact__layout { grid-template-columns: 1.35fr .9fr; gap: 3rem; } }

/* 9 · Formulare -------------------------------------------------------------- */
.form-grid { display: grid; gap: 1.1rem 1.25rem; }
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }
.field { display: grid; gap: .4rem; align-content: start; }
.field label { font-weight: 700; font-size: .9rem; color: var(--ink); }
.field input:not([type="checkbox"]):not([type="radio"]), .field select, .field textarea {
	width: 100%; min-height: 52px; padding: .8rem 1rem; border-radius: 12px; border: 1.5px solid var(--line-strong); background: #fff;
	font: inherit; font-size: 1rem; color: var(--ink);
	transition: border-color var(--dur-2), box-shadow var(--dur-2);
}
.field textarea { min-height: 140px; resize: vertical; }
.field select { appearance: none; background: #fff 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='%2356657d' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 1rem center; padding-right: 2.6rem; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--blue-400); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-600); box-shadow: 0 0 0 4px rgb(31 95 214 / .14); }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: var(--red-600); box-shadow: 0 0 0 4px rgb(211 38 43 / .1); }
.field__hint { margin: 0; font-size: .8rem; color: var(--muted); }
.field__error { margin: 0; font-size: .85rem; font-weight: 600; color: var(--red-700); display: flex; gap: .35rem; }
.consent-check { display: grid; grid-template-columns: auto 1fr; gap: .2rem .75rem; align-items: start; margin-top: 1.25rem; font-size: .9rem; color: var(--muted); cursor: pointer; }
.consent-check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--blue-600); cursor: pointer; }
.consent-check .field__error { grid-column: 2; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 1.5rem; }
.form-note { margin: .75rem 0 0; font-size: .82rem; color: var(--muted); }
.form-actions .form-note { margin: 0; }
.form-status { margin-top: 1.25rem; padding: .9rem 1.1rem; border-radius: 12px; font-weight: 600; font-size: .92rem; }
.form-status--error { background: var(--red-100); color: var(--red-700); }
.form-error-summary { margin-bottom: 1.25rem; padding: 1rem 1.2rem; border-radius: 12px; background: var(--red-100); color: var(--red-700); font-weight: 600; font-size: .92rem; }
.form-error-summary ul { margin: .4rem 0 0 1.2rem; list-style: disc; font-weight: 500; }
.form-error-summary a { color: var(--red-700); }
.form-success { display: grid; justify-items: center; text-align: center; gap: .4rem; padding: 2.5rem 1rem; animation: card-in var(--dur-3) var(--ease-out) both; }
.form-success:focus { outline: none; }
.form-success__icon { display: grid; place-items: center; width: 72px; height: 72px; margin-bottom: .75rem; border-radius: 50%; background: #e6f6ec; color: #1f8a4c; animation: pop var(--dur-3) var(--ease-spring) both .1s; }
.form-success__icon .icon { width: 34px; height: 34px; stroke-width: 2.6; }
.form-success p { color: var(--muted); max-width: 420px; }
.is-loading-spinner { display: inline-block; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgb(255 255 255 / .35); border-top-color: #fff; animation: spin .7s linear infinite; }

/* 10 · Footer ---------------------------------------------------------------- */
.site-footer { position: relative; overflow: hidden; padding: clamp(64px, 8vw, 104px) 0 calc(1.5rem + env(safe-area-inset-bottom)); background: var(--navy-950); color: rgb(255 255 255 / .65); isolation: isolate; }
.site-footer__glow { position: absolute; z-index: -1; width: 900px; height: 900px; right: -300px; top: -500px; border-radius: 50%; background: radial-gradient(circle, rgb(58 123 240 / .18), transparent 60%); }
.site-footer a { color: rgb(255 255 255 / .75); text-decoration: none; transition: color var(--dur-2); }
.site-footer a:hover { color: #fff; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 2rem; padding-bottom: clamp(48px, 6vw, 72px); margin-bottom: clamp(48px, 6vw, 72px); border-bottom: 1px solid rgb(255 255 255 / .08); }
.footer-top__title { margin: 0; max-width: 640px; font-size: clamp(1.8rem, 1.2rem + 2.4vw, 3rem); font-weight: 700; line-height: 1.1; letter-spacing: -.03em; color: #fff; }
.footer-top__actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.footer-top__actions a.shiny-cta { color: #fff; }
.footer-grid { display: grid; gap: 2.5rem; }
.footer-col__title { margin-bottom: 1.1rem; font-size: .78rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: #fff; }
.footer-list { list-style: none; display: grid; gap: .55rem; }
.footer-list a { font-size: .95rem; }
.footer-text { margin: 1.25rem 0 1rem; font-size: .95rem; max-width: 360px; }
.footer-partners { font-size: .88rem; }
.footer-partners span { color: rgb(255 255 255 / .45); }
.footer-social { display: flex; gap: .6rem; }
.footer-social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgb(255 255 255 / .06); }
.footer-social .icon { width: 18px; height: 18px; }
.footer-contact { list-style: none; display: grid; gap: .9rem; font-size: .95rem; }
.footer-contact li { display: flex; gap: .75rem; align-items: flex-start; }
.footer-contact .icon { width: 18px; height: 18px; margin-top: 3px; color: var(--red-500); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; margin-top: clamp(48px, 6vw, 72px); padding-top: 1.5rem; border-top: 1px solid rgb(255 255 255 / .08); font-size: .88rem; }
.footer-bottom p { margin: 0; }
@media (min-width: 640px) { .footer-bottom { padding-right: 84px; } }
@media (max-width: 639px) { .footer-bottom { padding-bottom: 72px; } }
.footer-bottom nav { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; }
.legal-list { list-style: none; display: flex; gap: 1.5rem; }
.footer-bottom .link-button { color: rgb(255 255 255 / .75); text-decoration: none; min-height: 44px; }
.footer-bottom .link-button:hover { color: #fff; }
.footer-bottom .link-button .icon { width: 16px; height: 16px; }
.brand--footer .brand__mark { width: 52px; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 3rem; } }

/* 11 · Overlays (WhatsApp, Cookie-Banner) ------------------------------------- */
.wa-float {
	position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: var(--z-float);
	display: flex; align-items: center; gap: .5rem; height: 58px; min-width: 58px; padding: 0 17px;
	border-radius: 999px; background: var(--green-wa); color: #fff !important; text-decoration: none; font-weight: 700;
	box-shadow: 0 14px 30px -10px rgb(37 211 102 / .6), 0 4px 10px rgb(0 0 0 / .12);
	transition: transform var(--dur-3) var(--ease-spring), box-shadow var(--dur-2), opacity var(--dur-2);
	animation: wa-in .8s var(--ease-spring) 1.2s both;
}
.wa-float .icon { width: 26px; height: 26px; }
.wa-float__label { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width var(--dur-3) var(--ease-out); }
.wa-float:hover { transform: translateY(-3px); }
@media (hover: hover) and (min-width: 900px) {
	.wa-float:hover .wa-float__label, .wa-float:focus-visible .wa-float__label { max-width: 120px; }
}
.consent-open .wa-float { opacity: 0; pointer-events: none; }

.consent { position: fixed; z-index: var(--z-consent); left: max(16px, env(safe-area-inset-left)); right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); display: flex; justify-content: flex-start; pointer-events: none; }
.consent[hidden] { display: none; }
.consent__card {
	pointer-events: auto; width: 100%; max-width: 460px; max-height: calc(100dvh - 32px); overflow-y: auto;
	padding: 1.5rem; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: 0 30px 70px -20px rgb(6 20 43 / .45);
	animation: consent-in var(--dur-3) var(--ease-out) both;
}
.consent__head { display: flex; align-items: center; gap: .75rem; margin-bottom: .75rem; }
.consent__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--blue-50); color: var(--blue-600); }
.consent__icon .icon { width: 20px; height: 20px; }
.consent__title { margin: 0; font-size: 1.15rem; }
.consent__text { font-size: .88rem; color: var(--muted); line-height: 1.55; }
.consent__options { display: grid; gap: .6rem; margin: 0 0 1rem; }
.consent__options[hidden] { display: none; }
.consent-option { display: grid; grid-template-columns: auto 1fr; gap: .75rem; padding: .8rem .9rem; border-radius: 12px; background: var(--surface-2); font-size: .85rem; color: var(--muted); cursor: pointer; }
.consent-option input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--blue-600); }
.consent-option strong { display: block; color: var(--ink); font-size: .92rem; }
.consent__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
.consent__actions .btn { flex: 1 1 auto; }
.consent__more { min-height: 44px; font-size: .88rem; color: var(--muted); }

/* 11b · Mobile-Optimierung ------------------------------------------------------ */
/* Grid-Kinder dürfen schmaler werden als ihr Inhalt (verhindert seitliches Scrollen) */
.area__layout > *, .faq__layout > *, .check-section__layout > *, .story__layout > *, .contact__layout > *, .service-detail__layout > *, .process__layout > *, .emergency__layout > * { min-width: 0; }
.stat__label { overflow-wrap: anywhere; hyphens: auto; }
.contact-strip small, .contact-list small { font-size: .75rem; }

@media (max-width: 639px) {
	:root { --section-y: 64px; }
	.section-head { margin-bottom: 32px; }
	.section-title { font-size: clamp(1.8rem, 1.2rem + 3vw, 2.2rem); }
	.section-intro { font-size: 1rem; }

	/* Hero: kompakter, doppelte Infos ausblenden */
	.hero { padding-top: calc(var(--header-h) + 24px); }
	.hero__title { font-size: clamp(2.1rem, 1.4rem + 4vw, 2.6rem); }
	.hero__text { font-size: 1.02rem; margin-bottom: 1.5rem; }
	.hero__actions { gap: .6rem; }
	.hero__call, .hero__flow { display: none; }
	.hero__inner { gap: 32px; }
	.hero__frame { aspect-ratio: 4 / 3; border-radius: var(--radius-lg); }
	.hero__media::before { display: none; }
	.hero__badge { padding: .55rem .8rem .55rem .55rem; gap: .55rem; }
	.hero__badge-icon, .hero__temp-icon { width: 34px; height: 34px; border-radius: 10px; }
	.hero__badge strong, .hero__temp strong { font-size: .9rem; }
	.hero__badge small, .hero__temp small { font-size: .72rem; }
	.hero__temp { padding: .5rem .8rem .5rem .5rem; }
	.hero-features { margin-top: 32px; gap: .6rem; }
	.hero-feature { padding: .9rem 1rem; border-radius: var(--radius); }
	.hero-feature__title { font-size: 1rem; }
	.hero-feature p { font-size: .88rem; }
	.hero-feature__icon { width: 38px; height: 38px; }
	.partners { margin-top: 1.5rem; padding-top: 1.25rem; }
	.partners__label { font-size: .82rem; }
	.partners__item { font-size: 1.2rem; }
	.marquee { margin-top: 28px; padding: .85rem 0; }
	.marquee__group li { font-size: .85rem; }

	/* Interaktives Haus */
	.explorer__stage { padding: 8px; gap: 8px; border-radius: var(--radius-lg); }
	.explorer__visual, .explorer__panel { border-radius: calc(var(--radius-lg) - 6px); }
	.explorer__panel { padding: 1.25rem; }
	.explorer-card__title { font-size: 1.35rem; }
	.explorer-card p { font-size: .94rem; }
	.explorer__tabs { margin-top: 10px; }
	.explorer-tab { min-height: 48px; padding: .5rem .8rem; }

	/* Leistungen: kompakte Listenkarten mit Bild links */
	.service-grid { gap: .75rem; }
	.service-card { flex-direction: row; align-items: stretch; border-radius: var(--radius); }
	.service-card:hover { transform: none; }
	.service-card__media { flex: 0 0 104px; aspect-ratio: auto; min-height: 112px; }
	.service-card__media::after { display: none; }
	.service-card__num { display: none; }
	.service-card__body { padding: .9rem 1rem; }
	.service-card__icon { display: none; }
	.service-card__title { font-size: 1.02rem; margin-bottom: .3rem; }
	.service-card__text { font-size: .86rem; line-height: 1.5; margin-bottom: .5rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
	.service-card .checklist { display: none; }
	.service-card__more { font-size: .85rem; }

	/* Ablauf */
	.step { padding: 0 0 2rem 2.4rem; }
	.step__title { font-size: 1.35rem; }
	.step__text { font-size: .95rem; }
	.js .step { opacity: .55; }

	/* Heizungs-Check */
	.check-card { padding: 1.1rem; border-radius: var(--radius-lg); }
	.check__legend { font-size: 1.15rem; }
	.choice__box { min-height: 52px; padding: .65rem .85rem; font-size: .95rem; }
	.range-field__value { font-size: 2.1rem; }
	.result-facts dd { font-size: 1.15rem; }
	.check-section__trust { padding: .8rem 1rem; }

	/* Qualitätsmerkmale: flacher */
	.quality__list { gap: 1rem; }
	.quality-card .corner { display: none; }
	.quality-card__body { padding: 1.25rem 1.25rem 1.1rem; }
	.quality-card__meta { margin-bottom: .75rem; }
	.quality-card__title { font-size: 1.25rem; }
	.quality-card p { font-size: .93rem; }
	.quality-card__media { min-height: 0; aspect-ratio: 16 / 8; }

	/* Bild-Banner */
	.cta-band { min-height: 0; }
	.cta-band__title { font-size: 1.85rem; }
	.cta-band__text { font-size: 1rem; }
	.cta-band__actions > * { flex: 1 1 100%; }

	/* Bewertungen */
	.section-title--xl { font-size: 2rem; }
	.review { padding: 1.2rem; }
	.review blockquote p { font-size: .93rem; }

	/* Referenzen */
	.ref-feature { margin-bottom: 56px; gap: 24px; }
	.ref-feature__title { font-size: 1.4rem; }
	.ref-feature__rule { margin: 1rem 0; }
	.ref-feature__by { margin: 1rem 0 1.25rem; }
	.ba { aspect-ratio: 1 / 1; border-radius: var(--radius); }
	.ba__handle span { width: 42px; height: 42px; }
	.ref-grid { gap: 2.5rem; }
	.ref-card__title { font-size: 1.2rem; }
	.filter { margin-bottom: 1.75rem; gap: .4rem; }
	.filter__btn { padding: .45rem 1rem; font-size: .9rem; }

	/* Einsatzgebiet & Zahlen */
	.area__map { border-radius: var(--radius-lg); }
	.area__map svg { border-radius: var(--radius-lg); }
	.stats { gap: .6rem; }
	.stat { padding: 1rem .9rem .9rem; }
	.stat__label { font-size: .7rem; letter-spacing: .03em; }
	.contact-strip { display: none; } /* gleiche Angaben stehen im Footer */
	.area__actions .shiny-cta { width: 100%; }

	/* Notdienst */
	.emergency__media { min-height: 0; aspect-ratio: 16 / 9; }
	.emergency-call { padding: 1.3rem; }
	.emergency-point { padding: 1rem 1.1rem; }

	/* FAQ */
	.faq__layout { gap: 1.5rem; }
	.faq-item summary { min-height: 56px; padding: .9rem 0; font-size: .97rem; }
	.faq-item__body { padding-right: 0; font-size: .95rem; }

	/* Unterseiten */
	.page-hero { padding: calc(var(--header-h) + 28px) 0 48px; }
	.page-hero__title { font-size: 2rem; }
	.page-hero--compact .page-hero__title { font-size: 1.8rem; }
	.page-hero__text { font-size: 1rem; margin-bottom: 1.5rem; }
	.page-hero__media::before { display: none; }
	.page-hero__icon { width: 56px; height: 56px; left: 12px; bottom: -14px; border-radius: 16px; }
	.page-hero__icon .icon { width: 26px; height: 26px; }
	.page-hero .hero__actions > * { flex: 1 1 100%; }
	.prose { font-size: 1rem; }
	.prose > p:first-child { font-size: 1.08rem; }
	.aside-card { padding: 1.25rem; }
	.contact__form { padding: 1.25rem; border-radius: var(--radius-lg); }
	.story__badge { right: 12px; }
	.story__quote { padding: 1.25rem 1.25rem 1.1rem 3.4rem; }
	.story__quote .icon { left: 1rem; top: 1.3rem; width: 24px; height: 24px; }
	.story__quote p { font-size: 1.02rem; }
	.value-card { padding: 1.3rem; }

	/* Footer: zweispaltige Linklisten, größere Tippflächen */
	.site-footer { padding-top: 56px; }
	.footer-top { padding-bottom: 40px; margin-bottom: 40px; gap: 1.25rem; }
	.footer-top__title { font-size: 1.75rem; }
	.footer-top__actions { width: 100%; }
	.footer-top__actions > * { flex: 1 1 100%; }
	.footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem 1rem; }
	.footer-col--brand, .footer-col:last-child { grid-column: 1 / -1; }
	.footer-list { gap: 0; }
	.footer-list a { display: flex; align-items: center; min-height: 40px; font-size: .92rem; }
	.footer-contact li { min-height: 40px; align-items: center; }
	.footer-bottom { margin-top: 40px; flex-direction: column; align-items: flex-start; gap: .5rem; }
	.legal-list a { display: inline-flex; align-items: center; min-height: 40px; }
}

@media (max-width: 379px) {
	.choice-grid, .choice-grid--3 { grid-template-columns: 1fr; }
	.service-card__media { flex-basis: 88px; }
	.stats { grid-template-columns: 1fr 1fr; }
	.stat__value { font-size: 1.9rem; }
}

/* 12 · Animation & Motion ------------------------------------------------------ */
.js [data-reveal] {
	opacity: 0; translate: 0 28px;
	transition: opacity var(--dur-4) var(--ease-out), translate var(--dur-4) var(--ease-out), transform var(--dur-3) var(--ease-out), box-shadow var(--dur-3) var(--ease-out), border-color var(--dur-3);
	transition-delay: calc(var(--d, 0) * 70ms), calc(var(--d, 0) * 70ms), 0s, 0s, 0s;
}
.js [data-reveal].is-in { opacity: 1; translate: none; }

.js .hero-anim { opacity: 0; translate: 0 26px; animation: rise var(--dur-4) var(--ease-out) forwards; animation-delay: calc(var(--i, 0) * 90ms + 80ms); }
.js .hero-anim--media { scale: .96; }

/* Laufende Animationen nur, solange der Abschnitt sichtbar ist (spart Akku). */
.house .flow, .house .heatpump__fan, .house .sun__rays, .house .heatwaves path, .house .drops path, .house .air path { animation-play-state: paused; }
.house .flow { animation: flowdash 1.2s linear infinite paused; }
.house .flow--cool { animation-direction: reverse; }
.house .heatpump__fan { animation: spin 2.2s linear infinite paused; }
.house .sun__rays { animation: spin 26s linear infinite paused; }
.house .heatwaves path { animation: heatwave 2.8s var(--ease-out) infinite paused; }
.house .heatwaves path:nth-child(2) { animation-delay: .9s; }
.house .heatwaves path:nth-child(3) { animation-delay: 1.8s; }
.house .drops path { animation: drop 1.1s linear infinite paused; }
.house .drops path:nth-child(2) { animation-delay: .25s; }
.house .drops path:nth-child(3) { animation-delay: .5s; }
.house .drops path:nth-child(4) { animation-delay: .7s; }
.house .drops path:nth-child(5) { animation-delay: .9s; }
.house .air path { animation: air 2.4s var(--ease-out) infinite paused; }
.house .air path:nth-child(2) { animation-delay: 1.2s; }
.is-running .house :is(.flow, .heatpump__fan, .sun__rays, .heatwaves path, .drops path, .air path) { animation-play-state: running; }
html:not(.js) .house :is(.flow, .heatpump__fan, .sun__rays) { animation-play-state: running; }

@keyframes rise { to { opacity: 1; translate: none; scale: none; } }
@keyframes flowdash { to { stroke-dashoffset: -30; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes spin-slow { to { transform: rotate(360deg); } }
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 80%, 100% { transform: scale(2.1); opacity: 0; } }
@keyframes ping-svg { 0% { transform: scale(1); opacity: .5; } 80%, 100% { transform: scale(2.6); opacity: 0; } }
@keyframes float { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(0, -10px, 0); } }
@keyframes drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(-60px, 40px, 0) scale(1.1); } }
@keyframes marquee { to { transform: translate3d(-50%, 0, 0); } }
@keyframes scroll-y { to { transform: translate3d(0, -50%, 0); } }
@keyframes card-in { from { opacity: 0; transform: translate3d(0, 14px, 0); } to { opacity: 1; transform: none; } }
@keyframes consent-in { from { opacity: 0; transform: translate3d(0, 24px, 0); } to { opacity: 1; transform: none; } }
@keyframes wa-in { from { scale: 0; } to { scale: 1; } }
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes heatwave { 0% { opacity: 0; transform: translateY(6px); } 30% { opacity: .9; } 100% { opacity: 0; transform: translateY(-14px); } }
@keyframes drop { 0% { opacity: 0; transform: translateY(-6px); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(26px); } }
@keyframes air { 0% { opacity: 0; transform: translateX(-6px); } 40% { opacity: .9; } 100% { opacity: 0; transform: translateX(14px); } }

/* Auf schwachen Geräten / kleinen Bildschirmen weniger Dauer-Animation */
@media (max-width: 639px) {
	.hero__glow { animation: none; }
	.hero__badge, .hero__temp { animation: none; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	.js [data-reveal], .js .hero-anim { opacity: 1; translate: none; scale: none; }
	.marquee__track, .reviews__track { animation: none !important; }
	.reviews__wall { height: auto; mask-image: none; }
	.reviews__track > [aria-hidden="true"] { display: none; }
	.house .flow { stroke-dasharray: none; }
	.cta-band__media img { transform: none !important; height: 100%; }
}

/* Druck */
@media print {
	.site-header, .wa-float, .consent, .hero__bg, .marquee, .nav-toggle { display: none !important; }
	.section--dark { background: #fff !important; color: #000 !important; }
	.section--dark * { color: #000 !important; }
}
