/* Eignungsformular (Seite 250, Layout-Variante «funnel», inc/layout-map.php). Seit 05.11.2026 ohne Avada: Der Inhalt
   ist ein HTML-Block mit zwei Bereichen, die Werte entsprechen den früheren Avada-Containern (legacy.css):
   - .lx-funnel__form: Fortschritt und Formular 4, volle Breite mit 30 px seitlich (bis 640 px ohne), 20 px darunter.
   - .lx-funnel__restart: «Formular neu starten» (Code-Snippet 12) in einer Spalte von höchstens 1200 px, 30 px seitlich,
     20 px darunter.
   Bewusste Rohwerte: 30 px, 20 px, 1200 px, 640 px (frühere Avada-Masse, damit das Formular unverändert bleibt). */

/* Fläche Sand wie in den Fragebogen- und Ergebnis-Boards des Design-Systems. */
body.lx-funnel-page {
	background: var(--lx-surface-page);
}

.lx-funnel__form,
.lx-funnel__restart-inner {
	display: flex;
	flex-direction: column;
	min-width: 0;
	margin-bottom: 20px;
}

.lx-funnel__form {
	padding-inline: 30px;
}

.lx-funnel__restart {
	padding-inline: 30px;
}

.lx-funnel__restart-inner {
	max-width: 1200px;
	margin-inline: auto;
}

@media (max-width: 640px) {
	.lx-funnel__form {
		padding-inline: 0;
	}
}

/* Formularkarte: Rand wie lx-card (1 px lx-border, Radius 24) statt Navy 1,5 px und Radius 28 aus dem eigenen CSS von
   Formular 4 (Wunsch User 04.11.2026). Mobil oben 24 px Innenabstand und ohne Radius (Karte randlos über die volle
   Breite, Wunsch User 06.11.2026). Der Ergebnis-Schritt bleibt ohne Karte (result.css, stärkerer Selektor). */
body.lx-funnel-page .fluentform.fluentform_wrapper_4 {
	border: var(--lx-border-width) solid var(--lx-border);
	border-radius: var(--lx-radius-card);
}

@media (max-width: 640px) {
	body.lx-funnel-page .fluentform.fluentform_wrapper_4 {
		padding-top: var(--lx-space-xl);
		border-radius: 0;
	}
}

/* «Formular neu starten» (Button #lw-form-restart aus Code-Snippet 12): als dezenter Link, klein, regulär, grau, feine
   Unterstreichung; beim Überfahren Navy (Wunsch User 04.11.2026). Grundstil früher als <style> im Avada-Code-Block. */
body.lx-funnel-page .lw-form-reset-btn {
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
	font-size: var(--lx-text-small);
	font-weight: var(--lx-weight-regular);
	line-height: var(--lx-leading-relaxed);
	color: var(--lx-color-text-muted);
	text-decoration: underline;
	text-decoration-thickness: var(--lx-border-width);
	text-underline-offset: var(--lx-line-offset);
}

body.lx-funnel-page .lw-form-reset-btn:hover {
	color: var(--lx-color-brand);
}

body.lx-funnel-page .lw-form-reset-btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

/* Fluent-Forms-HTML-Felder (z. B. Arztbild in Schritt 19): Absätze mit 20 px Abstand nach unten. Das Bild dort setzt
   margin-bottom: -45px und verlässt sich auf diese 20 px; ohne sie überlappt es die nächste Frage. Shortcode-Felder
   (BMI-Karte, Ziel-Karten, Ergebnis) haben die Klasse ff-custom_html nicht. */
body.lx-funnel-page .fluentform .ff-custom_html p {
	margin-bottom: 20px;
}
