/* Betana Hausplaner 2.0 – Werte aus dem Entwurf (hell/style.css), keine externen Schriften. */
.bhp-planer {
	--bhp-main: #35601c;
	--bhp-main-h: #2a4d15;
	--bhp-on-main: #fff;
	--bhp-accent: #5aa02c;
	--bhp-head: #011f47;
	--bhp-ink: #1b2430;
	--bhp-ink-soft: #6f7782;
	--bhp-muted: #444d58;
	--bhp-tile: #f4f5f3;
	--bhp-tile-h: #e8eae6;
	--bhp-line: #dce0da;
	--bhp-surface: #fff;
	--bhp-check: #4a8a22;
	--bhp-focus: #1a5fc8;
	--bhp-error: #9b1c1c;
	--bhp-r: 12px;
	--bhp-s1: 8px;
	--bhp-s2: 16px;
	--bhp-s3: 24px;
	--bhp-s4: 40px;
	--bhp-s5: 64px;
	--bhp-font-head: "Barlow Semi Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
	--bhp-font-body: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	max-width: 1040px;
	margin-inline: auto;
	color: var(--bhp-ink);
	font: 400 1.125rem/1.55 var(--bhp-font-body);
	box-sizing: border-box;
}
.bhp-planer *,
.bhp-planer *::before,
.bhp-planer *::after { box-sizing: border-box; }
.bhp-planer [hidden] { display: none !important; }

.bhp-vh {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}
.bhp-honeypot {
	position: absolute !important;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

/* Karte und Fragen */
.bhp-card {
	padding: var(--bhp-s4);
	background: var(--bhp-surface);
	border: 1px solid var(--bhp-line);
	border-left: 4px solid var(--bhp-accent);
	border-radius: var(--bhp-r);
}
.bhp-planer h2 {
	margin: 0 0 var(--bhp-s3);
	color: var(--bhp-head);
	font: 700 clamp(1.75rem, 2.4vw, 2.125rem)/1.15 var(--bhp-font-head);
}
/* Dezenter, aber sichtbarer Fokusrahmen, wenn der Schrittwechsel die Überschrift fokussiert. */
.bhp-planer h2:focus { outline: 2px solid rgba(26, 95, 200, 0.45); outline-offset: 6px; border-radius: 4px; }
.bhp-q {
	min-width: 0;
	margin: 0 0 var(--bhp-s4);
	padding: 0;
	border: 0;
}
.bhp-q legend {
	padding: 0;
	margin-bottom: 12px;
	color: var(--bhp-head);
	font: 700 1.375rem/1.25 var(--bhp-font-head);
}
.bhp-opts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr));
	gap: 12px;
}
.bhp-opt {
	display: flex;
	align-items: center;
	gap: 14px;
	min-height: 64px;
	margin: 0;
	padding: 12px 18px;
	background: var(--bhp-surface);
	border: 2px solid var(--bhp-ink-soft);
	border-radius: var(--bhp-r);
	font-weight: 600;
	line-height: 1.3;
	cursor: pointer;
	transition: border-color 0.15s ease, background-color 0.15s ease;
}
.bhp-opt:hover { border-color: var(--bhp-main); background: var(--bhp-tile); }
.bhp-opt input {
	appearance: none;
	-webkit-appearance: none;
	flex: none;
	display: grid;
	place-content: center;
	width: 26px;
	height: 26px;
	margin: 0;
	border: 2px solid var(--bhp-main);
	border-radius: 50%;
	background: var(--bhp-surface);
	cursor: pointer;
}
.bhp-opt input::after {
	content: "";
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: var(--bhp-main);
	transform: scale(0);
	transition: transform 0.15s ease;
}
.bhp-opt input:checked::after { transform: scale(1); }
.bhp-opt:has(input:checked) {
	border-color: var(--bhp-main);
	background: var(--bhp-tile);
	box-shadow: inset 0 0 0 1px var(--bhp-main);
}
.bhp-opt:has(input:focus-visible) { outline: 3px solid var(--bhp-focus); outline-offset: 3px; }
.bhp-opt input:focus-visible { outline: none; }

/* Kontaktformular */
.bhp-contact {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--bhp-s2) var(--bhp-s3);
}
.bhp-field { min-width: 0; }
.bhp-field.bhp-full { grid-column: 1 / -1; }
.bhp-lab { display: block; margin-bottom: 6px; font-weight: 600; }
.bhp-card input[type="text"],
.bhp-card input[type="email"],
.bhp-card input[type="tel"],
.bhp-card input[type="number"],
.bhp-card textarea {
	width: 100%;
	min-height: 52px;
	padding: 12px 14px;
	border: 2px solid var(--bhp-ink-soft);
	border-radius: var(--bhp-r);
	background: var(--bhp-surface);
	color: var(--bhp-ink);
	font: 400 1.125rem/1.4 var(--bhp-font-body);
}
.bhp-card textarea { min-height: 140px; resize: vertical; }
.bhp-card input:focus,
.bhp-card textarea:focus {
	outline: 3px solid var(--bhp-focus);
	outline-offset: 2px;
	border-color: var(--bhp-ink);
}
.bhp-field.is-bad input,
.bhp-field.is-bad textarea { border-color: var(--bhp-error); }
.bhp-agree {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	font-weight: 400;
	cursor: pointer;
}
.bhp-agree input {
	flex: none;
	width: 24px;
	height: 24px;
	margin: 3px 0 0;
	accent-color: var(--bhp-main);
}
.bhp-agree input:focus-visible { outline: 3px solid var(--bhp-focus); outline-offset: 2px; }
.bhp-agree a { color: var(--bhp-head); text-decoration: underline; }
.bhp-err {
	display: none;
	margin-top: 6px;
	font-weight: 600;
	color: var(--bhp-error);
}
.is-bad > .bhp-err,
.is-bad .bhp-err { display: flex; align-items: center; gap: 8px; }
.bhp-ico { flex: none; }
.bhp-message {
	margin: var(--bhp-s3) 0 0;
	padding: var(--bhp-s2);
	border: 2px solid var(--bhp-error);
	border-radius: var(--bhp-r);
	background: #fdf3f3;
	color: var(--bhp-error);
	font-weight: 600;
}

/* Navigation */
.bhp-nav {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: var(--bhp-s2);
	margin-top: var(--bhp-s4);
	padding-top: var(--bhp-s3);
	border-top: 1px solid var(--bhp-line);
}
.bhp-hint {
	flex: 1 1 220px;
	margin: 0;
	color: var(--bhp-muted);
	font-size: 1.125rem;
	text-align: right;
}
/* Unter .bhp-planer verankert: Das Elementor-Kit setzt „.elementor-kit-N a“ und
   „.elementor-kit-N button(:hover|:focus)“ mit höherer Spezifität als eine einzelne Klasse. */
body .bhp-planer .bhp-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 52px;
	padding: 12px 28px;
	border: 2px solid var(--bhp-main);
	border-radius: var(--bhp-r);
	background: var(--bhp-main);
	color: var(--bhp-on-main);
	font: 700 1.125rem/1.2 var(--bhp-font-body);
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.15s ease, border-color 0.15s ease;
}
body .bhp-planer .bhp-btn:hover,
body .bhp-planer .bhp-btn:focus { background: var(--bhp-main-h); border-color: var(--bhp-main-h); color: var(--bhp-on-main); }
body .bhp-planer .bhp-btn:focus-visible { outline: 3px solid var(--bhp-focus); outline-offset: 3px; }
body .bhp-planer .bhp-btn-ghost { background: var(--bhp-surface); color: var(--bhp-main); }
body .bhp-planer .bhp-btn-ghost:hover,
body .bhp-planer .bhp-btn-ghost:focus { background: var(--bhp-tile); color: var(--bhp-main-h); }
.bhp-btn-block { width: 100%; }
body .bhp-planer .bhp-btn[aria-disabled="true"],
body .bhp-planer .bhp-btn[aria-disabled="true"]:hover,
body .bhp-planer .bhp-btn[aria-disabled="true"]:focus {
	background: var(--bhp-line);
	border-color: var(--bhp-line);
	color: var(--bhp-ink);
	cursor: not-allowed;
}
/* Offene Pflichtfrage nach Klick auf das ausgegraute „Weiter“. */
.bhp-q.is-missing {
	padding-left: 16px;
	border-left: 4px solid var(--bhp-error);
}
.bhp-q.is-missing legend { color: var(--bhp-error); }

/* Ergebnis */
.bhp-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
	gap: var(--bhp-s3);
}
.bhp-model {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	background: var(--bhp-surface);
	border: 1px solid var(--bhp-line);
	border-radius: var(--bhp-r);
}
.bhp-model-img { position: relative; overflow: hidden; background: var(--bhp-tile); aspect-ratio: 4 / 3; }
.bhp-model-img img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.bhp-model-body { display: flex; flex: 1; flex-direction: column; gap: 12px; padding: var(--bhp-s2); }
.bhp-model h3 { margin: 0; font: 700 1.375rem/1.2 var(--bhp-font-head); }
.bhp-model h3 a { color: var(--bhp-head); text-decoration: none; }
.bhp-model h3 a:hover { text-decoration: underline; }
.bhp-model a:focus-visible { outline: 3px solid var(--bhp-focus); outline-offset: 3px; }
.bhp-facts { margin: 0; }
.bhp-facts div { display: flex; gap: 8px; }
.bhp-facts dt { color: var(--bhp-muted); }
.bhp-facts dt::after { content: ":"; }
.bhp-facts dd { margin: 0; font-weight: 600; }
.bhp-model-foot { display: flex; flex-direction: column; gap: 12px; margin-top: auto; }
.bhp-price { margin: 0; }
.bhp-price b { display: block; color: var(--bhp-head); font: 700 1.5rem/1.2 var(--bhp-font-head); }
.bhp-price small { display: block; color: var(--bhp-muted); font-size: 0.9375rem; }
.bhp-note {
	margin: var(--bhp-s3) 0 0;
	padding: var(--bhp-s2);
	background: var(--bhp-tile);
	border-left: 4px solid var(--bhp-accent);
	border-radius: var(--bhp-r);
}
.bhp-note p { margin: 0; }
.bhp-note p + p { margin-top: 8px; }

/* Bestätigung */
.bhp-ok { padding: var(--bhp-s4); background: var(--bhp-surface); border: 1px solid var(--bhp-line); border-left: 4px solid var(--bhp-accent); border-radius: var(--bhp-r); }
.bhp-ok-ico { color: var(--bhp-check); }
.bhp-ok h2 { margin: var(--bhp-s2) 0 8px; }
.bhp-ok p { max-width: 60ch; }
.bhp-help {
	display: flex;
	flex-wrap: wrap;
	gap: 8px var(--bhp-s3);
	align-items: center;
	justify-content: center;
	margin: var(--bhp-s3) 0 0;
}
.bhp-help a { color: var(--bhp-head); font-weight: 600; }

@media (max-width: 760px) {
	.bhp-card, .bhp-ok { padding: var(--bhp-s3) var(--bhp-s2); }
	.bhp-contact { grid-template-columns: minmax(0, 1fr); }
	.bhp-nav { flex-direction: column-reverse; align-items: stretch; }
	.bhp-nav .bhp-btn { width: 100%; }
	.bhp-hint { flex: 0 0 auto; text-align: left; }
	.bhp-hint:empty { display: none; }
	.bhp-q legend { font-size: 1.25rem; }
}
@media (prefers-reduced-motion: reduce) {
	.bhp-opt, .bhp-opt input::after, .bhp-btn { transition: none; }
}

/* 1.1.7 (2026-11-10): Angleichung an den Entwurf. Die Formularfeld-Stile des Elementor-Kits
   (Rand 2 px grau, Radius 12) überschrieben die runden Auswahlkreise; höhere Spezifität stellt
   den Kreis in Grün wieder her. Telefonlink unterstrichen wie im Entwurf. */
body .bhp-planer .bhp-opt input[type="radio"] {
	width: 26px;
	height: 26px;
	padding: 0;
	border: 2px solid var(--bhp-main);
	border-radius: 50%;
	background: var(--bhp-surface);
	box-shadow: none;
}
body .bhp-planer .bhp-opt input[type="radio"]:focus { border-color: var(--bhp-main); box-shadow: none; }
.bhp-planer .bhp-help a { color: var(--bhp-head); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }

/* ------------------------------------------------------------------
   2.0.0 (2026-11-26): eine Frage je Bildschirm, Fortschrittsbalken, Regler, Ergebnisseite.
   Alle Regeln unter .bhp-planer verankert (Kit-Spezifität, siehe 1.1.5).
   ------------------------------------------------------------------ */
.bhp-planer .bhp-progress { margin: 0 0 var(--bhp-s3); }
.bhp-planer .bhp-progress-track {
	height: 10px;
	background: var(--bhp-line);
	border-radius: 999px;
	overflow: hidden;
}
.bhp-planer .bhp-progress-bar {
	height: 100%;
	background: var(--bhp-main);
	border-radius: 999px;
	transition: width 0.25s ease;
}
.bhp-planer .bhp-progress-text { margin: 8px 0 0; color: var(--bhp-muted); font-size: 1rem; font-weight: 600; }
.bhp-planer .bhp-q legend:focus { outline: 2px solid rgba(26, 95, 200, 0.45); outline-offset: 6px; border-radius: 4px; }
.bhp-planer .bhp-help-q { margin: 0 0 12px; color: var(--bhp-muted); font-size: 1rem; }
.bhp-planer .bhp-opts { grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
.bhp-planer .bhp-opt { min-height: 56px; }

/* Kontrollkästchen als Kachel (Mehrfachauswahl): quadratisch, damit sie sich von den runden Radios unterscheiden. */
body .bhp-planer .bhp-opt input[type="checkbox"] {
	appearance: none;
	-webkit-appearance: none;
	flex: none;
	display: grid;
	place-content: center;
	width: 26px;
	height: 26px;
	margin: 0;
	padding: 0;
	border: 2px solid var(--bhp-main);
	border-radius: 6px;
	background: var(--bhp-surface);
	box-shadow: none;
	cursor: pointer;
}
.bhp-planer .bhp-opt input[type="checkbox"]::after {
	content: "";
	width: 12px;
	height: 12px;
	border-radius: 2px;
	background: var(--bhp-main);
	transform: scale(0);
	transition: transform 0.15s ease;
}
.bhp-planer .bhp-opt input[type="checkbox"]:checked::after { transform: scale(1); }
.bhp-planer .bhp-opt:has(input[type="checkbox"]:focus-visible) { outline: 3px solid var(--bhp-focus); outline-offset: 3px; }
.bhp-planer .bhp-opt input[type="checkbox"]:focus-visible { outline: none; }

/* Hinweise zu einer Antwort */
.bhp-planer .bhp-hinweise { margin-top: var(--bhp-s2); }
.bhp-planer .bhp-hinweis {
	margin: 0 0 12px;
	padding: var(--bhp-s2);
	background: var(--bhp-tile);
	border-left: 4px solid var(--bhp-accent);
	border-radius: var(--bhp-r);
}
.bhp-planer .bhp-hinweis p { margin: 0 0 12px; }
.bhp-planer .bhp-hinweis p:last-child { margin-bottom: 0; }
.bhp-planer .bhp-hinweis a { color: var(--bhp-head); text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
.bhp-planer .bhp-vorschlag p { margin: 0 0 var(--bhp-s2); font-size: 1.25rem; }

/* Fläche von bis: zwei Regler untereinander, je mit Zahlfeld */
.bhp-planer .bhp-range-out {
	margin: 0 0 var(--bhp-s2);
	color: var(--bhp-head);
	font: 700 1.75rem/1.2 var(--bhp-font-head);
}
.bhp-planer .bhp-range-row {
	display: grid;
	grid-template-columns: 56px minmax(0, 1fr) 132px;
	align-items: center;
	gap: var(--bhp-s2);
	margin: 0 0 var(--bhp-s2);
}
.bhp-planer .bhp-range-row label { font-weight: 600; }
.bhp-planer .bhp-range-row .bhp-num { display: flex; align-items: center; gap: 8px; }
.bhp-planer .bhp-range-row .bhp-num input { width: 92px; min-height: 52px; padding: 8px 10px; text-align: right; }
.bhp-planer .bhp-range-info { margin: 0; color: var(--bhp-muted); font-size: 1rem; }
body .bhp-planer .bhp-range-row input[type="range"] {
	-webkit-appearance: none;
	appearance: none;
	width: 100%;
	height: 44px;
	margin: 0;
	padding: 0;
	background: transparent;
	border: 0;
	box-shadow: none;
	cursor: pointer;
}
.bhp-planer .bhp-range-row input[type="range"]::-webkit-slider-runnable-track { height: 8px; background: var(--bhp-line); border-radius: 999px; }
.bhp-planer .bhp-range-row input[type="range"]::-moz-range-track { height: 8px; background: var(--bhp-line); border-radius: 999px; }
.bhp-planer .bhp-range-row input[type="range"]::-webkit-slider-thumb {
	-webkit-appearance: none;
	appearance: none;
	width: 32px;
	height: 32px;
	margin-top: -12px;
	background: var(--bhp-main);
	border: 3px solid var(--bhp-surface);
	border-radius: 50%;
	box-shadow: 0 0 0 2px var(--bhp-main);
}
.bhp-planer .bhp-range-row input[type="range"]::-moz-range-thumb {
	width: 26px;
	height: 26px;
	background: var(--bhp-main);
	border: 3px solid var(--bhp-surface);
	border-radius: 50%;
	box-shadow: 0 0 0 2px var(--bhp-main);
}
body .bhp-planer .bhp-range-row input[type="range"]:focus-visible { outline: 3px solid var(--bhp-focus); outline-offset: 2px; border-radius: 8px; }

/* Kontakt und Telefon */
.bhp-planer .bhp-tel { margin-top: var(--bhp-s3); max-width: 440px; }
.bhp-planer .bhp-tageszeit { margin-top: var(--bhp-s3); margin-bottom: 0; }
.bhp-planer .bhp-tageszeit legend { font-size: 1.25rem; }
.bhp-planer .bhp-field { margin-bottom: var(--bhp-s2); }
.bhp-planer .bhp-ok { outline: none; }

/* Ergebnisseite */
.bhp-planer .bhp-erg h2 { margin-bottom: var(--bhp-s2); }
.bhp-planer .bhp-erg > p { max-width: 62ch; margin: 0 0 var(--bhp-s2); }
.bhp-planer .bhp-zus { color: var(--bhp-muted); }
.bhp-planer .bhp-zus strong { color: var(--bhp-ink); }
.bhp-planer .bhp-vergessen a { color: var(--bhp-head); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.bhp-planer .bhp-erg-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); margin: var(--bhp-s3) 0 var(--bhp-s4); }
.bhp-planer .bhp-model .bhp-daten { margin: 0; color: var(--bhp-muted); }
.bhp-planer .bhp-model .bhp-preis { margin: 0; font-weight: 600; }
.bhp-planer .bhp-model .bhp-passt { margin: 0; padding: 12px 14px; background: var(--bhp-tile); border-radius: 10px; font-size: 1rem; }
.bhp-planer .bhp-model .bhp-passt b { color: var(--bhp-head); }
.bhp-planer .bhp-model-foot { gap: 10px; padding-top: 8px; }
.bhp-planer .bhp-weiter { display: grid; grid-template-columns: 3fr 2fr; gap: var(--bhp-s3); margin: 0 0 var(--bhp-s4); }
.bhp-planer .bhp-box { padding: 28px; background: var(--bhp-surface); border: 1px solid var(--bhp-line); border-radius: 16px; }
.bhp-planer .bhp-box.bhp-sand { background: #e5d5c4; border-color: #e5d5c4; }
.bhp-planer .bhp-box h3 { margin: 0 0 18px; color: var(--bhp-head); font: 700 1.875rem/1.15 var(--bhp-font-head); }
.bhp-planer .bhp-box p { margin: 0 0 16px; }
.bhp-planer .bhp-box .bhp-btn { margin-bottom: 10px; }
.bhp-planer .bhp-box .bhp-zeiten { margin: 8px 0 0; color: var(--bhp-muted); font-size: 0.9375rem; }
.bhp-planer .bhp-schritte { display: flex; flex-direction: column; gap: 16px; margin: 0; padding: 0; list-style: none; }
.bhp-planer .bhp-schritte li { display: flex; align-items: flex-start; gap: 14px; margin: 0; }
.bhp-planer .bhp-schritte strong { display: block; color: var(--bhp-head); }
.bhp-planer .bhp-nr {
	flex: 0 0 36px;
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	background: var(--bhp-main);
	border-radius: 50%;
	color: var(--bhp-on-main);
	font: 700 1.1875rem/1 var(--bhp-font-head);
}
.bhp-planer .bhp-mehr { text-align: center; }
.bhp-planer .bhp-mehr h3 { margin: 0 0 var(--bhp-s2); color: var(--bhp-head); font: 700 1.875rem/1.15 var(--bhp-font-head); }
body .bhp-planer .bhp-btn-block { display: flex; width: 100%; }

@media (max-width: 1024px) {
	.bhp-planer .bhp-erg-grid { grid-template-columns: minmax(0, 1fr); gap: var(--bhp-s2); }
	/* Karte schmal: kleines Bild neben dem Titel, der Rest darunter über die ganze Breite. */
	.bhp-planer .bhp-erg-grid .bhp-model { display: grid; grid-template-columns: 96px minmax(0, 1fr); column-gap: 14px; align-items: center; padding: 16px; }
	.bhp-planer .bhp-erg-grid .bhp-model-img { grid-column: 1; grid-row: 1; width: 96px; aspect-ratio: 1 / 1; border-radius: 10px; overflow: hidden; }
	.bhp-planer .bhp-erg-grid .bhp-model-body { display: contents; }
	.bhp-planer .bhp-erg-grid .bhp-model h3 { grid-column: 2; grid-row: 1; font-size: 1.5rem; }
	.bhp-planer .bhp-erg-grid .bhp-model-body > :not(h3) { grid-column: 1 / -1; margin-top: 12px; }
	.bhp-planer .bhp-weiter { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
	.bhp-planer .bhp-range-row { grid-template-columns: minmax(0, 1fr) 132px; row-gap: 0; }
	.bhp-planer .bhp-range-row label { grid-column: 1 / -1; }
	.bhp-planer .bhp-range-row input[type="range"] { grid-column: 1; }
	.bhp-planer .bhp-range-row .bhp-num { grid-column: 2; }
	.bhp-planer .bhp-box { padding: 22px 18px; }
	.bhp-planer .bhp-box h3, .bhp-planer .bhp-mehr h3 { font-size: 1.625rem; }
	.bhp-planer .bhp-mehr .bhp-btn { width: 100%; }
	.bhp-planer .bhp-opts { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
	.bhp-planer .bhp-progress-bar, .bhp-planer .bhp-opt input[type="checkbox"]::after { transition: none; }
}
