/*
 * Terminbuchung: Leiste unten + Termin-Fenster mit Funnel (ADR-0033).
 * HTML: inc/termin/ausgabe.php · Verhalten: assets/js/termin.js
 * Nur Theme-Tokens (theme.json); Knopf = .wp-element-button (Stil C, ADR-0021).
 */

/* =========================================================================
   1. Handy-Leiste (nur unter 768 px)
   ========================================================================= */
.nsl {
	--nsl-hg: color-mix(in srgb, var(--wp--preset--color--base-dark) 92%, transparent);
	--nsl-rand: color-mix(in srgb, var(--wp--preset--color--contrast-light) 10%, transparent);
	--nsl-leise: var(--wp--preset--color--neutral-light);
	position: fixed;
	left: 0.75rem;
	right: 0.75rem;
	bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
	z-index: 90;
	display: block;
	padding: 0.75rem;
	border-radius: var(--wp--custom--radius--md);
	background: var(--nsl-hg);
	border: 1px solid var(--nsl-rand);
	box-shadow: var(--wp--custom--shadow--panel), 0 2px 0 color-mix(in srgb, var(--wp--preset--color--contrast-light) 4%, transparent) inset;
	-webkit-backdrop-filter: blur(16px) saturate(140%);
	backdrop-filter: blur(16px) saturate(140%);
	color: var(--wp--preset--color--contrast-light);
	font-family: var(--wp--preset--font-family--sans);
	transform: translateY(calc(100% + 1.5rem));
	opacity: 0;
	transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.3s ease;
	pointer-events: none;
}

/* Handy: bündig am unteren Rand, volle Breite, oben eine klare Kante.
   Ist Safaris Leiste eingeklappt, gehören die untersten ~44 px Safari: Ein Tipp dort klappt nur
   Safari aus, der Knopf brauchte zwei Tipps (Elias 08.10.). Bei 24 px Abstand wieder zwei Tipps,
   leerer Platz darunter war Elias zu viel → unter dem Knopf steht jetzt die Kurzinfo (.nsl__meta),
   Knopf-Unterkante 44 px über dem Rand. Deckend, nicht durchscheinend (Elias). */
@media (max-width: 767px) {
	.nsl {
		left: 0;
		right: 0;
		bottom: 0;
		padding: 0.875rem 1rem calc(1rem + env(safe-area-inset-bottom, 0px));
		background: var(--wp--preset--color--base-dark);
		-webkit-backdrop-filter: none;
		backdrop-filter: none;
		border: 0;
		border-top: 1px solid var(--nsl-rand);
		border-radius: var(--wp--custom--radius--md) var(--wp--custom--radius--md) 0 0;
		box-shadow: 0 -8px 24px color-mix(in srgb, var(--wp--preset--color--base-dark) 18%, transparent);
		transform: translateY(110%);
	}

	.nsl > .nsl__zu {
		top: 0.875rem;
		right: 1rem;
	}

	/* 0,5 rem + 1,25 rem Zeile + 1 rem Innenabstand = 44 px unter dem Knopf */
	.nsl__meta {
		margin: 0.5rem 0 0;
		font-size: var(--wp--preset--font-size--xs);
		line-height: 1.25rem;
		text-align: center;
		color: var(--nsl-leise);
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}
}

@media (min-width: 768px) {
	.nsl__meta { display: none; }
}


.nsl.ist-sichtbar {
	transform: none;
	opacity: 1;
	pointer-events: auto;
}

@media (prefers-reduced-motion: reduce) {
	.nsl { transition: opacity 0.2s linear; }
}

/* Solange die Leiste steht: Fußzeile bekommt unten Platz, nichts bleibt verdeckt */
html.nsl-an .site-footer { padding-bottom: var(--nsl-platz, 9rem); }

.nsl__v { display: block; }

.nsl__kopf {
	display: flex;
	align-items: center;
	gap: 0.625rem;
	min-height: 2.5rem;
	padding-right: 2.25rem; /* Platz fürs Kreuz */
	margin-bottom: 0.625rem;
}

/* Foto mit grünem Punkt */
.nsl__foto {
	position: relative;
	flex: none;
	width: 2.5rem;
	height: 2.5rem;
}

.nsl__foto img {
	display: block;
	width: 100%;
	height: 100%;
	border-radius: 50%;
	object-fit: cover;
	background: var(--wp--preset--color--primary);
}

.nsl__punkt {
	position: absolute;
	right: -1px;
	bottom: -1px;
	width: 0.75rem;
	height: 0.75rem;
	border-radius: 50%;
	background: var(--wp--preset--color--accent);
	border: 2px solid var(--wp--preset--color--base-dark);
}

.nsl__zeilen {
	display: flex;
	flex-direction: column;
	gap: 0.125rem;
	min-width: 0;
	line-height: var(--wp--custom--line-height--snug);
}

.nsl__status {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	font-size: var(--wp--preset--font-size--xs);
	font-weight: 600;
	color: var(--wp--preset--color--accent);
}

.nsl__status i,
.nss__status i {
	flex: none;
	width: 0.4375rem;
	height: 0.4375rem;
	border-radius: 50%;
	background: var(--wp--preset--color--accent);
	box-shadow: 0 0 0 0 color-mix(in srgb, var(--wp--preset--color--accent) 60%, transparent);
	animation: nsl-atmen 2.6s ease-out infinite;
}

@keyframes nsl-atmen {
	0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--wp--preset--color--accent) 55%, transparent); }
	70%, 100% { box-shadow: 0 0 0 6px color-mix(in srgb, var(--wp--preset--color--accent) 0%, transparent); }
}

@media (prefers-reduced-motion: reduce) {
	.nsl__status i, .nss__status i { animation: none; }
}

.nsl__name {
	font-size: var(--wp--preset--font-size--sm);
	font-weight: 600;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.nsl__name span {
	font-weight: 400;
	color: var(--nsl-leise);
}

.nsl__klein {
	font-size: var(--wp--preset--font-size--xs);
	color: var(--nsl-leise);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.nsl__termin {
	font-size: var(--wp--preset--font-size--sm);
	font-weight: 400;
}

.nsl__termin b {
	font-weight: 700;
	color: var(--wp--preset--color--accent);
}

/* Knopf: Stil C vom Theme, hier nur volle Breite und etwas flacher */
.nsl,
.nsl *,
.nss,
.nss * { box-sizing: border-box; }

.nsl .nsl__knopf {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	width: 100%;
	min-height: 2.75rem;
	padding: 0.625rem 1rem;
	font-size: var(--wp--preset--font-size--base);
	border: 0;
	cursor: pointer;
}

.nsl__knopf svg {
	flex: none;
	width: 1.125rem;
	height: 1.125rem;
}

.nsl__knopf-foto {
	flex: none;
	width: 1.625rem;
	height: 1.625rem;
	border-radius: 50%;
	object-fit: cover;
	box-shadow: 0 0 0 2px color-mix(in srgb, var(--wp--preset--color--base-dark) 25%, transparent);
}

/* Kreuz */
.nsl__zu {
	position: absolute;
	top: 0.75rem;
	right: 0.75rem;
	display: grid;
	place-items: center;
	width: 2.25rem;
	height: 2.25rem;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: color-mix(in srgb, var(--wp--preset--color--contrast-light) 8%, transparent);
	color: var(--wp--preset--color--contrast-light);
	cursor: pointer;
}

.nsl__zu svg { width: 0.875rem; height: 0.875rem; }

.nss__logos-band {
	min-width: 0;
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent, var(--wp--preset--color--contrast) 10%, var(--wp--preset--color--contrast) 90%, transparent);
	mask-image: linear-gradient(90deg, transparent, var(--wp--preset--color--contrast) 10%, var(--wp--preset--color--contrast) 90%, transparent);
}

.nsl__band {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	width: max-content;
	animation: nsl-laufen 28s linear infinite;
}

.nsl__band img {
	flex: none;
	width: auto;
	height: 1.125rem;
	opacity: 0.85;
}

@keyframes nsl-laufen {
	to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
	.nsl__band { animation: none; }
}

/* =========================================================================
   2. Termin-Fenster (Variante C, von unten)
   ========================================================================= */
.nss[hidden] { display: none; }

/* Seite hinter dem offenen Fenster steht still – auch am iPhone mit Tastatur.
   termin.js merkt sich die Scrollposition (--nss-y) und stellt sie beim Schließen wieder her. */
html.nss-gesperrt { overflow: hidden; }

@media (max-width: 767px), (pointer: coarse) {
	html.nss-gesperrt body {
		position: fixed;
		top: var(--nss-y, 0);
		right: 0;
		left: 0;
		width: 100%;
		overflow: hidden;
	}
}

.nss {
	position: fixed;
	inset: 0;
	z-index: 100;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	font-family: var(--wp--preset--font-family--sans);
	overscroll-behavior: contain;
}

.nss__hg {
	position: absolute;
	inset: 0;
	touch-action: none; /* Wischen auf dem Hintergrund bewegt nichts */
	background: color-mix(in srgb, var(--wp--preset--color--base-dark) 55%, transparent);
	opacity: 0;
	transition: opacity 0.3s ease;
}

.nss__panel {
	position: relative;
	width: 100%;
	/* Kein sichtbarer Scrollbalken (Elias 16.11.2026) – gescrollt werden kann trotzdem. */
	scrollbar-width: none;
	max-width: 30rem;
	max-height: calc(100dvh - 2.5rem);
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: 0.75rem var(--wp--preset--spacing--gutter) calc(var(--wp--preset--spacing--gutter) + env(safe-area-inset-bottom, 0px));
	border-radius: var(--wp--custom--radius--md) var(--wp--custom--radius--md) 0 0;
	background: var(--wp--preset--color--base-dark);
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--contrast-light) 10%, transparent);
	border-bottom: 0;
	color: var(--wp--preset--color--contrast-light);
	transform: translateY(100%);
	transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.3s ease;
}

.nss__panel::-webkit-scrollbar { width: 0; height: 0; }

.nss.ist-offen .nss__hg { opacity: 1; }
.nss.ist-offen .nss__panel { transform: none; opacity: 1; }

.nss__griff {
	display: block;
	width: 2.5rem;
	height: 0.25rem;
	margin: 0 auto 0.75rem;
	border-radius: 999px;
	background: color-mix(in srgb, var(--wp--preset--color--contrast-light) 20%, transparent);
}

.nss__zu {
	position: absolute;
	top: 0.875rem;
	right: 0.875rem;
}

.nss__person {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding-right: 2.75rem;
}

.nss__person img {
	flex: none;
	width: 3.25rem;
	height: 3.25rem;
	border-radius: 50%;
	object-fit: cover;
	background: var(--wp--preset--color--primary);
}

.nss__person b {
	display: block;
	font-size: var(--wp--preset--font-size--base);
}

.nss__person small {
	display: block;
	font-size: var(--wp--preset--font-size--sm);
	color: var(--wp--preset--color--neutral-light);
}

.nss__status {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	margin-top: 0.125rem;
	font-size: var(--wp--preset--font-size--xs);
	font-weight: 600;
	color: var(--wp--preset--color--accent);
}

.nss__titel {
	margin: var(--wp--preset--spacing--md) 0 0.25rem;
	font-size: var(--wp--preset--font-size--subtitle);
	font-weight: 700;
	line-height: var(--wp--custom--line-height--tight);
	letter-spacing: var(--wp--custom--letter-spacing--title);
	color: var(--wp--preset--color--contrast-light);
}

.nss__titel em {
	white-space: nowrap;
	font-style: italic;
	color: var(--wp--preset--color--accent);
}

.nss__meta {
	margin: 0;
	font-size: var(--wp--preset--font-size--sm);
	color: var(--wp--preset--color--neutral-light);
}

.nss__punkte {
	display: grid;
	gap: 0.5rem;
	margin: var(--wp--preset--spacing--sm) 0 0;
	padding: 0;
	list-style: none;
	font-size: var(--wp--preset--font-size--sm);
	line-height: var(--wp--custom--line-height--normal);
}

.nss__punkte li {
	display: grid;
	grid-template-columns: 1.125rem 1fr;
	gap: 0.5rem;
}

.nss__punkte svg {
	width: 1.125rem;
	height: 1.125rem;
	margin-top: 0.125rem;
	color: var(--wp--preset--color--accent);
}

.nss__zwischen {
	margin: var(--wp--preset--spacing--md) 0 0.5rem;
	font-size: var(--wp--preset--font-size--sm);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--wp--preset--color--neutral-light);
}

.nss__tage {
	display: grid;
	gap: 0.75rem;
}

.nss__tag > span {
	display: block;
	margin-bottom: 0.375rem;
	font-size: var(--wp--preset--font-size--sm);
	font-weight: 600;
}

.nss__zeiten {
	display: flex;
	gap: 0.5rem;
	overflow-x: auto;
	scroll-snap-type: x proximity;
	scrollbar-width: none;
	overscroll-behavior-x: contain;
}

.nss__zeiten::-webkit-scrollbar { display: none; }

.nss__zeiten a { flex: none; width: 4.75rem; scroll-snap-align: start; }

.nss__zeiten a {
	display: block;
	padding: 0.625rem 0;
	border-radius: var(--wp--custom--radius--xs);
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--accent) 45%, transparent);
	background: color-mix(in srgb, var(--wp--preset--color--accent) 6%, transparent);
	color: var(--wp--preset--color--contrast-light);
	font-size: var(--wp--preset--font-size--base);
	font-weight: 600;
	text-align: center;
	text-decoration: none;
	transition: background 0.2s ease, color 0.2s ease;
}

.nss__zeiten a:hover,
.nss__zeiten a:focus-visible {
	background: var(--wp--preset--gradient--button);
	color: var(--wp--preset--color--base-dark);
}

.nss__alle {
	display: block;
	margin-top: var(--wp--preset--spacing--sm);
	font-size: var(--wp--preset--font-size--sm);
	font-weight: 600;
	color: var(--wp--preset--color--contrast-light);
	text-align: center;
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

.nss__logos {
	margin-top: var(--wp--preset--spacing--md);
	padding-top: var(--wp--preset--spacing--sm);
	border-top: 1px solid var(--wp--preset--color--neutral-dark);
}

.nss__logos p {
	margin: 0 0 0.5rem;
	font-size: var(--wp--preset--font-size--xs);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--wp--preset--color--neutral);
	text-align: center;
}

.nss__logos .nsl__band img { height: 1.25rem; }

/* Desktop (Elias 08.10.: „auch am Desktop“): schwebende Leiste unten in der Mitte, eine Zeile */
@media (min-width: 768px) {
	.nsl {
		left: 50%;
		right: auto;
		bottom: 1.25rem;
		display: flex;
		align-items: center;
		gap: 0.75rem;
		width: auto;
		max-width: calc(100% - 2.5rem);
		padding: 0.5rem 0.5rem 0.5rem 0.625rem;
		border-radius: 999px;
		transform: translate(-50%, calc(100% + 2rem));
	}

	.nsl.ist-sichtbar { transform: translate(-50%, 0); }

	.nsl__v {
		display: flex;
		align-items: center;
		gap: 1rem;
		flex: 1;
		min-width: 0;
	}

	.nsl__kopf {
		flex: 1;
		min-width: 0;
		margin: 0;
		padding-right: 0;
	}

	.nsl .nsl__knopf {
		flex: none;
		width: auto;
		min-height: 3rem;
		padding: 0.75rem 1.5rem;
		border-radius: 999px;
	}

	.nsl__zu {
		position: static;
		flex: none;
	}

	.nsl__termin { font-size: var(--wp--preset--font-size--base); }

	/* Termin-Fenster: schwebt über der Leiste statt als Blatt von unten */
	.nss { align-items: center; padding: 1.25rem; }

	.nss__panel {
		max-height: calc(100dvh - 2.5rem);
		padding: 1.5rem 1.75rem 1.75rem;
		border-radius: var(--wp--custom--radius--md);
		border-bottom: 1px solid color-mix(in srgb, var(--wp--preset--color--contrast-light) 10%, transparent);
		box-shadow: var(--wp--custom--shadow--panel);
		transform: translateY(1.5rem) scale(0.98);
		opacity: 0;
	}

	.nss__griff { display: none; }
	.nss .nss__zu { position: absolute; top: 1.125rem; right: 1.125rem; }
}

/* Breiter Bildschirm: Termin-Fenster in zwei Spalten, damit es aufs Laptop passt */
@media (min-width: 1024px) {
	.nss__panel {
		display: grid;
		grid-template-columns: 1fr 1fr;
		column-gap: 2.25rem;
		max-width: 52rem;
		padding: 1.75rem 2rem 1.5rem;
	}

	.nss__links,
	.nss__rechts { min-width: 0; }
	.nss__rechts { padding-top: 3.25rem; }
	.nss__rechts .nss__zwischen { margin-top: 0; }
	.nss__logos { grid-column: 1 / -1; }
}

/* --- Termine nach Wochentagen, Uhrzeiten zum Wischen (Elias 08.10.) --- */
.nss__tage { gap: 1rem; }

.nss__tag-kopf {
	display: flex;
	align-items: baseline;
	gap: 0.5rem;
	margin: 0 0 0.4375rem;
	font-size: var(--wp--preset--font-size--sm);
}

.nss__tag-kopf b { font-size: var(--wp--preset--font-size--base); }
.nss__tag-kopf span { color: var(--wp--preset--color--neutral-light); }

.nss__tag-kopf em {
	font-style: normal;
	padding: 0.0625rem 0.5rem;
	border-radius: 999px;
	background: color-mix(in srgb, var(--wp--preset--color--accent) 14%, transparent);
	color: var(--wp--preset--color--accent);
	font-size: var(--wp--preset--font-size--xs);
	font-weight: 600;
}

.nss__tag,
.nss__zeiten-rahmen { min-width: 0; }

.nss__zeiten-rahmen { position: relative; }

.nss__zeiten-rahmen::before,
.nss__zeiten-rahmen::after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	z-index: 1;
	width: 2.5rem;
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.2s ease;
}

.nss__zeiten-rahmen::before { left: 0; background: linear-gradient(90deg, var(--wp--preset--color--base-dark), transparent); }
.nss__zeiten-rahmen::after { right: 0; background: linear-gradient(270deg, var(--wp--preset--color--base-dark), transparent); }
.nss__zeiten-rahmen.kann-links::before,
.nss__zeiten-rahmen.kann-rechts::after { opacity: 1; }

.nss__pfeil {
	position: absolute;
	top: 50%;
	z-index: 2;
	display: none;
	place-items: center;
	width: 2rem;
	height: 2rem;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--wp--preset--color--contrast-light);
	color: var(--wp--preset--color--base-dark);
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
	transform: translateY(-50%);
	cursor: pointer;
}

.nss__pfeil svg { width: 1rem; height: 1rem; }
.nss__pfeil--links { left: -0.375rem; }
.nss__pfeil--rechts { right: -0.375rem; }

@media (hover: hover) and (pointer: fine) {
	.nss__zeiten-rahmen.kann-links .nss__pfeil--links,
	.nss__zeiten-rahmen.kann-rechts .nss__pfeil--rechts { display: grid; }
}

/* --- Buchung direkt bei uns ---
 * Seit 15.11.2026 ist die Terminwahl ein eigener Schritt nach den Kontaktdaten (data-s="termin"). */
.nsf-schritt[data-s="termin"] .nss__zwischen { margin-top: 0; }

/* Foto + Name über der ersten Frage: nur bis Tablet, wo der linke Bereich im Funnel fehlt */
.nsf-person { display: none; }

@media (max-width: 1023px) {
	.nsf-person {
		display: block;
		margin-bottom: var(--wp--preset--spacing--sm);
		padding-bottom: var(--wp--preset--spacing--sm);
		border-bottom: 1px solid var(--wp--preset--color--neutral-dark);
	}

	.nsf-person .nss__person { padding-right: 0; }
}

/* hidden gewinnt immer (über die ID, ohne Sonderregel) */
#nss [hidden],
#nsl [hidden] { display: none; }

/* Erster Schritt ohne „Zurück“: Platz bleibt, damit der Fortschrittsbalken nicht springt */
#nss .nsf-zurueck[hidden] { display: grid; visibility: hidden; }

.nss__zurueck-link {
	padding: 0;
	border: 0;
	background: none;
	color: var(--wp--preset--color--neutral-light);
	font: inherit;
	font-size: var(--wp--preset--font-size--sm);
	cursor: pointer;
}

.nss__zurueck-link:hover { color: var(--wp--preset--color--contrast-light); }

.nss__gewaehlt {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin: 0.75rem 0 0.875rem;
	padding: 0.75rem 0.875rem;
	border-radius: var(--wp--custom--radius--xs);
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--accent) 45%, transparent);
	background: color-mix(in srgb, var(--wp--preset--color--accent) 8%, transparent);
}

.nss__gewaehlt svg { flex: none; width: 1.375rem; height: 1.375rem; color: var(--wp--preset--color--accent); }
.nss__gewaehlt b { display: block; font-size: var(--wp--preset--font-size--base); }
.nss__gewaehlt small { display: block; font-size: var(--wp--preset--font-size--xs); color: var(--wp--preset--color--neutral-light); }

.nss__schritte {
	display: flex;
	gap: 0.375rem;
	margin: 0 0 0.875rem;
	font-size: var(--wp--preset--font-size--xs);
	font-weight: 600;
}

.nss__schritte span {
	flex: 1;
	padding-top: 0.4375rem;
	border-top: 3px solid var(--wp--preset--color--neutral-dark);
	color: var(--wp--preset--color--neutral);
}

.nss__panel[data-schritt="1"] .nss__s1,
.nss__panel[data-schritt="2"] .nss__s1,
.nss__panel[data-schritt="2"] .nss__s2 {
	border-color: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--contrast-light);
}

.nss__feld {
	display: block;
	margin-bottom: 0.75rem;
	font-size: var(--wp--preset--font-size--sm);
	font-weight: 600;
}

.nss__feld > span { display: block; margin-bottom: 0.3125rem; }
.nss__feld small { font-weight: 400; color: var(--wp--preset--color--neutral-light); }

.nss__feld input,
.nss__feld select {
	display: block;
	width: 100%;
	padding: 0.6875rem 0.875rem;
	border: 1px solid var(--wp--preset--color--neutral-dark);
	border-radius: var(--wp--custom--radius--xs);
	background: color-mix(in srgb, var(--wp--preset--color--contrast-light) 4%, transparent);
	color: var(--wp--preset--color--contrast-light);
	font: inherit;
	font-weight: 400;
	font-size: var(--wp--preset--font-size--base);
}

.nss__feld select option { color: var(--wp--preset--color--base-dark); }

.nss__feld input:focus,
.nss__feld select:focus {
	outline: none;
	border-color: var(--wp--preset--color--accent);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--wp--preset--color--accent) 20%, transparent);
}

.nss__feld.hat-fehler input,
.nss__feld.hat-fehler select,
.nss__wahl.hat-fehler label span,
.nss__zusage.hat-fehler { border-color: var(--wp--preset--color--negative); }


.nss .nss__weiter,
.nss__knoepfe .wp-element-button {
	display: flex;
	justify-content: center;
	width: 100%;
	margin-top: 0.25rem;
	border: 0;
	cursor: pointer;
}

.nss__knoepfe .wp-element-button[disabled] { opacity: 0.4; cursor: not-allowed; }

.nss__wahl {
	margin: 0 0 0.875rem;
	padding: 0;
	border: 0;
}

.nss__wahl legend {
	margin-bottom: 0.4375rem;
	font-size: var(--wp--preset--font-size--sm);
	font-weight: 600;
}

.nss__wahl legend small { font-weight: 400; color: var(--wp--preset--color--neutral-light); }

.nss__wahl label { display: inline-block; margin: 0 0.25rem 0.375rem 0; }
.nss__wahl input { position: absolute; opacity: 0; pointer-events: none; }

.nss__wahl label span {
	display: inline-block;
	padding: 0.4375rem 0.75rem;
	border: 1px solid var(--wp--preset--color--neutral-dark);
	border-radius: 999px;
	font-size: var(--wp--preset--font-size--sm);
	cursor: pointer;
	transition: border-color 0.15s ease, background 0.15s ease;
}

.nss__wahl input:checked + span {
	border-color: var(--wp--preset--color--accent);
	background: color-mix(in srgb, var(--wp--preset--color--accent) 12%, transparent);
	color: var(--wp--preset--color--contrast-light);
}

.nss__wahl input:focus-visible + span { box-shadow: 0 0 0 3px color-mix(in srgb, var(--wp--preset--color--accent) 30%, transparent); }

.nss__klein-umsatz {
	margin: -0.25rem 0 0.875rem;
	padding: 0.625rem 0.75rem;
	border-radius: var(--wp--custom--radius--xs);
	background: color-mix(in srgb, var(--wp--preset--color--contrast-light) 6%, transparent);
	font-size: var(--wp--preset--font-size--sm);
	line-height: var(--wp--custom--line-height--normal);
}

.nss__klein-umsatz a,
.nss__recht a { color: var(--wp--preset--color--accent); }

.nss__zusage {
	display: grid;
	grid-template-columns: 1.25rem 1fr;
	gap: 0.625rem;
	margin: 0.25rem 0 1rem;
	padding: 0.75rem;
	border: 1px solid var(--wp--preset--color--neutral-dark);
	border-radius: var(--wp--custom--radius--xs);
	font-size: var(--wp--preset--font-size--sm);
	line-height: var(--wp--custom--line-height--normal);
	cursor: pointer;
}

.nss__zusage input { width: 1.125rem; height: 1.125rem; margin: 0.125rem 0 0; accent-color: var(--wp--preset--color--primary); }

.nss__knoepfe {
	display: grid;
	grid-template-columns: auto 1fr;
	align-items: center;
	gap: 1rem;
}

.nss__recht {
	margin: 0.75rem 0 0;
	font-size: var(--wp--preset--font-size--xs);
	color: var(--wp--preset--color--neutral);
	text-align: center;
}

.nss__fertig { padding: 0.5rem 0 0.25rem; text-align: center; }

.nss__fertig-haken {
	display: inline-grid;
	place-items: center;
	width: 3.5rem;
	height: 3.5rem;
	border-radius: 50%;
	background: var(--wp--preset--gradient--button);
	color: var(--wp--preset--color--base-dark);
	box-shadow: var(--wp--custom--button--outer-glow);
}

.nss__fertig-haken svg { width: 1.75rem; height: 1.75rem; }

.nss__fertig-titel {
	margin: 0.875rem 0 0.25rem;
	font-size: var(--wp--preset--font-size--subtitle);
	font-weight: 700;
}

.nss__fertig p { margin: 0.375rem 0; font-size: var(--wp--preset--font-size--sm); line-height: var(--wp--custom--line-height--normal); }
.nss__fertig b { font-size: var(--wp--preset--font-size--base); color: var(--wp--preset--color--accent); }

/* --- Nach der Buchung: das VSL (Elias 16.11.2026) --- */
.nss-vsl {
	margin-top: 1rem;
	padding-top: 1rem;
	border-top: 1px solid var(--wp--preset--color--neutral-dark);
	text-align: left;
}

.nss__fertig .nss-vsl__frage {
	margin: 0;
	font-size: var(--wp--preset--font-size--base);
	font-weight: 700;
}

.nss__fertig .nss-vsl__grund {
	margin: 0.375rem 0 0;
	color: var(--wp--preset--color--neutral-light);
}

/* Das Video ist der Player des Themes (.nsp, assets/css/video-player.css):
   Standbild, „Ton an", eckiger Play-Knopf, Lime-Leiste. Hier steht nur der
   Abstand – Aussehen und Bedienung kommen von dort. */
.nss-vsl__player { margin-top: 0.875rem; }

/* --- Funnel nach der Uhrzeit (Elias 08.10.: „wie Perspective, verkaufsstark“) --- */
button.nss__alle {
	width: 100%;
	padding: 0;
	border: 0;
	background: none;
	font: inherit;
	font-size: var(--wp--preset--font-size--sm);
	font-weight: 600;
	cursor: pointer;
}

.nss__tage.zeige-alle .nss__zeiten { flex-wrap: wrap; overflow: visible; }
.nss__tage.zeige-alle .nss__zeiten-rahmen::before,
.nss__tage.zeige-alle .nss__zeiten-rahmen::after,

.nsf-kopf {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin: 0.25rem 0 1.25rem;
}

.nsf-zurueck {
	display: grid;
	flex: none;
	place-items: center;
	width: 2.25rem;
	height: 2.25rem;
	padding: 0;
	border: 1px solid var(--wp--preset--color--neutral-dark);
	border-radius: 50%;
	background: none;
	color: var(--wp--preset--color--contrast-light);
	cursor: pointer;
}

.nsf-zurueck svg { width: 1.125rem; height: 1.125rem; }

.nsf-fortschritt {
	flex: 1;
	height: 6px;
	border-radius: 999px;
	background: var(--wp--preset--color--neutral-dark);
	overflow: hidden;
}

.nsf-fortschritt i {
	display: block;
	width: 0;
	height: 100%;
	border-radius: inherit;
	background: var(--wp--preset--gradient--button);
	transition: width 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.nsf-termin {
	flex: none;
	font-size: var(--wp--preset--font-size--xs);
	font-weight: 600;
	color: var(--wp--preset--color--accent);
	white-space: nowrap;
}

.nsf-schritt { animation: nsf-ein 0.35s ease both; }
.nsf-schritt[hidden] { display: none; }

@keyframes nsf-ein {
	from { opacity: 0; transform: translateX(12px); }
	to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
	.nsf-schritt { animation: none; }
}

.nsf-titel {
	margin: 0 0 0.5rem;
	font-size: var(--wp--preset--font-size--subtitle);
	font-weight: 700;
	line-height: var(--wp--custom--line-height--tight);
	letter-spacing: var(--wp--custom--letter-spacing--title);
}

.nsf-unter {
	margin: 0 0 1rem;
	font-size: var(--wp--preset--font-size--sm);
	line-height: var(--wp--custom--line-height--normal);
	color: var(--wp--preset--color--neutral-light);
}

.nsf-schritt .nss__feld { margin: 0.875rem 0 0.375rem; }

.nsf-warum {
	display: grid;
	grid-template-columns: 1rem 1fr;
	gap: 0.5rem;
	margin: 0 0 0.25rem;
	font-size: var(--wp--preset--font-size--xs);
	line-height: var(--wp--custom--line-height--normal);
	color: var(--wp--preset--color--neutral-light);
}

.nsf-warum svg { width: 1rem; height: 1rem; margin-top: 0.0625rem; color: var(--wp--preset--color--accent); }

.nss .nsf-weiter {
	display: flex;
	justify-content: center;
	width: 100%;
	margin-top: 1.25rem;
	border: 0;
	cursor: pointer;
	text-decoration: none;
}

.nsf-klein {
	margin: 0.625rem 0 0;
	font-size: var(--wp--preset--font-size--xs);
	color: var(--wp--preset--color--neutral);
	text-align: center;
}

.nsf-karten {
	display: grid;
	gap: 0.625rem;
}

.nsf-karte {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	width: 100%;
	padding: 1rem 1.125rem;
	border: 1px solid var(--wp--preset--color--neutral-dark);
	border-radius: var(--wp--custom--radius--sm);
	background: color-mix(in srgb, var(--wp--preset--color--contrast-light) 4%, transparent);
	color: var(--wp--preset--color--contrast-light);
	font: inherit;
	font-size: var(--wp--preset--font-size--lg);
	font-weight: 600;
	text-align: left;
	cursor: pointer;
	transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease;
}

.nsf-karte::after {
	content: "";
	flex: none;
	width: 1.25rem;
	height: 1.25rem;
	border: 2px solid var(--wp--preset--color--neutral);
	border-radius: 50%;
	transition: background 0.15s ease, border-color 0.15s ease;
}

.nsf-karte:hover { border-color: color-mix(in srgb, var(--wp--preset--color--accent) 60%, transparent); }
.nsf-karte:active { transform: scale(0.98); }

.nsf-karte.ist-gewaehlt {
	border-color: var(--wp--preset--color--accent);
	background: color-mix(in srgb, var(--wp--preset--color--accent) 10%, transparent);
}

.nsf-karte.ist-gewaehlt::after {
	border-color: var(--wp--preset--color--accent);
	background: var(--wp--preset--color--accent);
	box-shadow: inset 0 0 0 3px var(--wp--preset--color--base-dark);
}

.nsf-leise {
	display: block;
	margin: 1rem auto 0;
	padding: 0;
	border: 0;
	background: none;
	color: var(--wp--preset--color--neutral-light);
	font: inherit;
	font-size: var(--wp--preset--font-size--sm);
	text-decoration: underline;
	text-underline-offset: 0.2em;
	cursor: pointer;
}

.nsf-zusage {
	display: grid;
	grid-template-columns: 3rem 1fr;
	gap: 0.875rem;
	align-items: start;
	margin: 0.75rem 0 1rem;
	padding: 1rem;
	border-radius: var(--wp--custom--radius--sm);
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--accent) 35%, transparent);
	background: color-mix(in srgb, var(--wp--preset--color--accent) 6%, transparent);
}

.nsf-zusage img { width: 3rem; height: 3rem; border-radius: 50%; object-fit: cover; background: var(--wp--preset--color--primary); }
.nsf-zusage p { margin: 0; font-size: var(--wp--preset--font-size--sm); line-height: var(--wp--custom--line-height--normal); }

.nsf-uebersicht {
	display: grid;
	gap: 0.375rem;
	margin: 0;
	font-size: var(--wp--preset--font-size--sm);
}

.nsf-uebersicht div { display: grid; grid-template-columns: 4.5rem 1fr; gap: 0.5rem; }
.nsf-uebersicht dt { color: var(--wp--preset--color--neutral); }
.nsf-uebersicht dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }

.nsf-danach {
	display: grid;
	gap: 0.625rem;
	margin: 1rem 0 0.25rem;
	padding: 0;
	list-style: none;
	counter-reset: nsf;
	text-align: left;
	font-size: var(--wp--preset--font-size--sm);
	line-height: var(--wp--custom--line-height--normal);
}

.nsf-danach li {
	display: grid;
	grid-template-columns: 1.75rem 1fr;
	gap: 0.625rem;
	align-items: start;
	counter-increment: nsf;
}

.nsf-danach li::before {
	content: counter(nsf);
	display: grid;
	place-items: center;
	width: 1.75rem;
	height: 1.75rem;
	border-radius: 50%;
	background: color-mix(in srgb, var(--wp--preset--color--accent) 14%, transparent);
	color: var(--wp--preset--color--accent);
	font-weight: 700;
	font-size: var(--wp--preset--font-size--xs);
}

.nsf-ohne {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0 0 0.5rem;
	font-size: var(--wp--preset--font-size--sm);
	color: var(--wp--preset--color--neutral-light);
	cursor: pointer;
}

.nsf-ohne input { width: 1rem; height: 1rem; accent-color: var(--wp--preset--color--primary); }
.nss__feld input:disabled { opacity: 0.35; }

.nsf-frage-klein {
	margin: 0 0 0.5rem;
	font-size: var(--wp--preset--font-size--sm);
	font-weight: 600;
}

.nsf-paar {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0.5rem;
	margin-bottom: 1rem;
	border-radius: var(--wp--custom--radius--sm);
}

.nsf-paar.hat-fehler { box-shadow: 0 0 0 1px var(--wp--preset--color--negative); }

.nsf-karte--klein {
	padding: 0.75rem;
	font-size: var(--wp--preset--font-size--sm);
}

.nsf-karte--klein::after { width: 1rem; height: 1rem; }

/* Bis Tablet: im Funnel nur die Frage (kein linker Bereich, keine Logos) */
@media (max-width: 1023px) {
	.nss__panel.ist-formular .nss__links,
	.nss__panel.ist-formular .nss__logos { display: none; }
	.nss__panel.ist-formular { min-height: min(44rem, calc(100dvh - 2.5rem)); }
	/* In der Ansicht nach der Buchung entscheidet der Inhalt über die Höhe. */
	.nss__panel.ist-formular[data-schritt="fertig"] { min-height: 0; }
}

/* Handy: Termin-Fenster über den ganzen Bildschirm (Elias 08.10.) */
@media (max-width: 767px) {
	.nss {
		align-items: flex-start;
		padding: 0;
	}

	/* Hintergrund deckend dunkel, auch unter der Tastatur und falls Safari über den Rand schiebt –
	   sonst scheint die Website durch (Elias 08.10.) */
	.nss__hg { background: var(--wp--preset--color--base-dark); }

	.nss__hg::after {
		content: "";
		position: absolute;
		top: 100%;
		right: 0;
		left: 0;
		height: 100vh;
		background: inherit;
	}

	html.nss-gesperrt,
	html.nss-gesperrt body { background: var(--wp--preset--color--base-dark); }

	/* Folgt dem sichtbaren Bereich über der Tastatur (--nss-h/--nss-oben aus termin.js) */
	.nss__panel {
		display: flex;
		flex-direction: column;
		height: var(--nss-h, 100%);
		margin-top: var(--nss-oben, 0);
		max-height: none;
		max-width: none;
		padding: 1rem var(--wp--preset--spacing--gutter) calc(1rem + env(safe-area-inset-bottom, 0px));
		border: 0;
		border-radius: 0;
	}

	.nss__panel.ist-formular { min-height: 0; }
	.nss__logos { margin-top: auto; }
	.nss__tage:not(.zeige-alle) .nss__tag:nth-child(n+4) { display: none; }
	.nss__punkte { gap: 0.375rem; }
}

/* Kleine Handys (iPhone SE): Nutzenpunkte weglassen, damit nichts scrollt */
@media (max-width: 767px) and (max-height: 720px) {
	.nss__punkte { display: none; }
}


/* Kopfzeile im Funnel lässt Platz fürs Kreuz */
.nss__panel.ist-formular .nsf-kopf { padding-right: 2.75rem; }

/* Vertrauens-Bereich links (nur Desktop im Funnel) */
.nss__vertrauen { display: none; }

@media (min-width: 1024px) {
	.nss__panel.ist-formular {
		height: min(40rem, calc(100dvh - 2.5rem));
		overflow: hidden;
	}

	/* Nach der Buchung ist die rechte Spalte mit dem Video länger als das Fenster.
	   Feste Höhe und overflow:hidden würden den Rest abschneiden (Elias 16.11.2026:
	   „nach Punkt 2 würde ich nichts mehr sehen“), also hier wieder scrollen lassen. */
	.nss__panel.ist-formular[data-schritt="fertig"] {
		height: auto;
		max-height: calc(100dvh - 2.5rem);
		overflow-y: auto;
	}

	.nss__panel.ist-formular .nss__start,
	.nss__panel.ist-formular .nss__logos { display: none; }

	.nss__panel.ist-formular .nss__vertrauen {
		display: flex;
		flex-direction: column;
		gap: 1.25rem;
	}

	.nss__panel.ist-formular .nss__rechts { padding-top: 0; }
	.nss__panel.ist-formular .nsf-titel { font-size: var(--wp--preset--font-size--heading); }
	.nss__panel.ist-formular .nsf-karte { padding: 0.875rem 1.125rem; font-size: var(--wp--preset--font-size--base); }
	.nss__panel.ist-formular .nsf-unter { margin-bottom: 0.75rem; }
	.nss__panel.ist-formular .nsf-preis b { font-size: var(--wp--preset--font-size--heading); }
}

.nsv-termin {
	display: grid;
	grid-template-columns: 1.5rem 1fr;
	gap: 0.75rem;
	padding: 1rem;
	border-radius: var(--wp--custom--radius--sm);
	border: 1px solid color-mix(in srgb, var(--wp--preset--color--accent) 45%, transparent);
	background: color-mix(in srgb, var(--wp--preset--color--accent) 8%, transparent);
}

.nsv-termin svg { width: 1.5rem; height: 1.5rem; color: var(--wp--preset--color--accent); }
.nsv-termin small { display: block; font-size: var(--wp--preset--font-size--xs); color: var(--wp--preset--color--neutral-light); text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600; }
.nsv-termin b { display: block; margin: 0.125rem 0; font-size: var(--wp--preset--font-size--lg); }
.nsv-termin em { font-style: normal; font-size: var(--wp--preset--font-size--sm); color: var(--wp--preset--color--neutral-light); }

.nsv-person img { width: 2.75rem; height: 2.75rem; }

.nsv-stimme {
	margin: auto 0 0;
	padding: 1rem 1.125rem;
	border-radius: var(--wp--custom--radius--sm);
	background: color-mix(in srgb, var(--wp--preset--color--contrast-light) 5%, transparent);
}

.nsv-sterne { margin: 0 0 0.375rem; color: var(--wp--preset--color--accent); letter-spacing: 0.1em; font-size: var(--wp--preset--font-size--sm); }
.nsv-stimme blockquote { margin: 0 0 0.75rem; font-size: var(--wp--preset--font-size--base); line-height: var(--wp--custom--line-height--normal); }
.nsv-stimme figcaption { display: flex; align-items: center; gap: 0.625rem; font-size: var(--wp--preset--font-size--xs); color: var(--wp--preset--color--neutral-light); }
.nsv-stimme figcaption img { width: 2.25rem; height: 2.25rem; border-radius: 50%; object-fit: cover; }
.nsv-stimme figcaption b { display: block; font-size: var(--wp--preset--font-size--sm); color: var(--wp--preset--color--contrast-light); }

/* Vertrauen links: Philipps Video + wechselnde Kundenstimmen (Elias 08.10.) */
.nsv-video {
	display: grid;
	grid-template-columns: 6.25rem 1fr;
	gap: 0.875rem;
	align-items: stretch;
	width: 100%;
	padding: 0.75rem;
	border: 1px solid var(--wp--preset--color--neutral-dark);
	border-radius: var(--wp--custom--radius--sm);
	background: color-mix(in srgb, var(--wp--preset--color--contrast-light) 4%, transparent);
	color: inherit;
	font: inherit;
	text-align: left;
	cursor: pointer;
	transition: border-color 0.2s ease;
}

.nsv-video:hover { border-color: color-mix(in srgb, var(--wp--preset--color--accent) 55%, transparent); }

.nsv-video__bild {
	position: relative;
	display: block;
	aspect-ratio: 9 / 16;
	border-radius: var(--wp--custom--radius--xs);
	overflow: hidden;
	background: var(--wp--preset--color--contrast);
}

.nsv-video__bild video { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Play-Knopf des Themes (.nsm-fassade__play in theme.css) – eckig, 9px Radius,
   125:80, Lime. Hier nur Größe und Platz auf der Miniatur. */
.nsv-video__bild .nsm-fassade__play {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 2.75rem;
	transform: translate(-50%, -50%);
}

.nsv-video__text {
	display: flex;
	flex-direction: column;
	gap: 0.375rem;
	font-size: var(--wp--preset--font-size--sm);
	line-height: var(--wp--custom--line-height--normal);
}

.nsv-sterne b {
	margin-left: 0.25rem;
	color: var(--wp--preset--color--contrast-light);
	font-size: var(--wp--preset--font-size--xs);
	font-weight: 600;
	letter-spacing: 0;
}

.nsv-video .nsv-sterne { margin: 0; color: var(--wp--preset--color--accent); letter-spacing: 0.1em; font-size: var(--wp--preset--font-size--sm); }
.nsv-video__wer { font-size: var(--wp--preset--font-size--xs); color: var(--wp--preset--color--neutral-light); }
.nsv-video__wer b { display: block; font-size: var(--wp--preset--font-size--sm); color: var(--wp--preset--color--contrast-light); }
.nsv-video__los { margin-top: auto; font-size: var(--wp--preset--font-size--xs); font-weight: 600; color: var(--wp--preset--color--accent); }

.nsv-stimmen {
	position: relative;
	min-height: 10.5rem;
	padding: 1rem 1.125rem 2.25rem;
	border-radius: var(--wp--custom--radius--sm);
	background: color-mix(in srgb, var(--wp--preset--color--contrast-light) 5%, transparent);
}

.nsv-karte { display: none; margin: 0; }
.nsv-karte.ist-aktiv { display: block; animation: nsf-ein 0.4s ease both; }
.nsv-karte blockquote { margin: 0.375rem 0 0.75rem; font-size: var(--wp--preset--font-size--sm); line-height: var(--wp--custom--line-height--normal); }
.nsv-karte figcaption { display: flex; align-items: center; gap: 0.625rem; font-size: var(--wp--preset--font-size--xs); color: var(--wp--preset--color--neutral-light); }
.nsv-karte figcaption img { width: 2.25rem; height: 2.25rem; border-radius: 50%; object-fit: cover; }
.nsv-karte figcaption b { display: block; font-size: var(--wp--preset--font-size--sm); color: var(--wp--preset--color--contrast-light); }

.nsv-punkte { position: absolute; left: 1.125rem; bottom: 0.875rem; display: flex; gap: 0.375rem; }

.nsv-punkte button {
	width: 0.5rem;
	height: 0.5rem;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: var(--wp--preset--color--neutral-dark);
	cursor: pointer;
	transition: width 0.2s ease, background 0.2s ease;
}

.nsv-punkte button.ist-aktiv { width: 1.25rem; background: var(--wp--preset--color--accent); }

.nsv-gross[hidden] { display: none; }
.nsv-gross { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.nsv-gross .nsp { height: 31rem; width: auto; max-width: 100%; }
.nss__vertrauen.zeigt-video > :not(.nsv-gross) { display: none; }
.nsv-gross .nsf-leise { margin-top: 0; }

/* Große Fallstudien-Zahlen links */
.nsv-zahl { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0.25rem 0.5rem; margin: 0; }
.nsv-zahl b { font-size: var(--wp--preset--font-size--title); font-weight: 700; line-height: 1; letter-spacing: -0.02em; color: var(--wp--preset--color--accent); }
.nsv-zahl span { font-size: var(--wp--preset--font-size--xs); color: var(--wp--preset--color--neutral-light); line-height: var(--wp--custom--line-height--snug); }
.nsv-zahl--video b { font-size: var(--wp--preset--font-size--subtitle); }
.nsv-karte blockquote { margin-top: 0.5rem; }

/* Einwilligung + Zusammenfassung */
.nsf-einwilligung { align-items: flex-start; margin-top: 0.25rem; line-height: var(--wp--custom--line-height--normal); }
.nsf-einwilligung input { margin-top: 0.1875rem; flex: none; }
.nsf-klein--links { text-align: left; }
.nsf-klein a { color: var(--wp--preset--color--neutral-light); }

.nsf-uebersicht--box {
	margin: 0.875rem 0 0;
	padding: 0.75rem 0.875rem;
	border-radius: var(--wp--custom--radius--xs);
	background: color-mix(in srgb, var(--wp--preset--color--contrast-light) 5%, transparent);
	gap: 0.25rem;
}

/* Handy/Tablet im Funnel: Vertrauens-Streifen unten (Elias 08.10.) */
.nsm-vertrauen,
.nsm-video { display: none; }

@media (max-width: 1023px) {
	.nss__panel.ist-formular .nsm-vertrauen {
		display: block;
		margin-top: auto;
		padding-top: 1rem;
	}

	.nss__panel.ist-formular .nsm-vertrauen.ist-weg,
	.nss__panel[data-schritt="fertig"] .nsm-vertrauen { display: none; }

	.nsm-video:not([hidden]) {
		position: absolute;
		inset: 0;
		z-index: 5;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 0.75rem;
		padding: 1rem;
		background: var(--wp--preset--color--base-dark);
	}

	.nsm-video .nsp { height: min(80dvh, 38rem); width: auto; max-width: 100%; }
}

.nsm-karte {
	display: none;
	grid-template-columns: 2.75rem 1fr;
	gap: 0.75rem;
	align-items: center;
	width: 100%;
	padding: 0.75rem 0.875rem;
	border: 0;
	border-radius: var(--wp--custom--radius--sm);
	background: color-mix(in srgb, var(--wp--preset--color--contrast-light) 5%, transparent);
	color: inherit;
	font: inherit;
	text-align: left;
}

.nsm-karte.ist-aktiv { display: grid; animation: nsf-ein 0.4s ease both; }
button.nsm-karte { cursor: pointer; }

.nsm-foto { position: relative; display: block; width: 2.75rem; height: 2.75rem; }
.nsm-foto img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }

/* Derselbe Play-Knopf, klein am Foto. Der dunkle Ring hebt ihn vom Bild ab. */
.nsm-foto .nsm-fassade__play {
	position: absolute;
	right: -0.3rem;
	bottom: -0.2rem;
	top: auto;
	width: 1.75rem;
	box-shadow: 0 0 0 2px var(--wp--preset--color--base-dark);
}

.nsm-text { display: flex; flex-direction: column; gap: 0.125rem; min-width: 0; }
.nsm-zahl { font-size: var(--wp--preset--font-size--sm); line-height: var(--wp--custom--line-height--snug); color: var(--wp--preset--color--neutral-light); }
.nsm-zahl b { font-size: var(--wp--preset--font-size--lg); color: var(--wp--preset--color--accent); }
.nsm-wer { font-size: var(--wp--preset--font-size--xs); color: var(--wp--preset--color--neutral-light); }
.nsm-los { margin-left: 0.375rem; font-weight: 600; color: var(--wp--preset--color--accent); }

/* Neue Funnel-Bausteine */
.nsf-wichtig--ruhig { margin-top: -0.375rem; padding: 0.625rem 0.75rem; }
.nsf-wichtig b { color: var(--wp--preset--color--accent); }
.nsf-eyebrow {
	margin: 0 0 0.5rem;
	font-size: var(--wp--preset--font-size--xs);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--wp--preset--color--accent);
}

.nsf-schritt > .nsf-warum { margin: 0 0 1rem; font-size: var(--wp--preset--font-size--sm); }
.nsf-schritt > .nsf-warum svg { margin-top: 0.1875rem; }
.nss__feld + .nsf-warum,
.nsf-ohne + .nsf-warum { margin: 0 0 0.25rem; font-size: var(--wp--preset--font-size--xs); }

.nsf-wichtig {
	margin: 0 0 1rem;
	padding: 0.75rem 0.875rem;
	border-left: 3px solid var(--wp--preset--color--accent);
	border-radius: 0 var(--wp--custom--radius--xs) var(--wp--custom--radius--xs) 0;
	background: color-mix(in srgb, var(--wp--preset--color--accent) 8%, transparent);
	font-size: var(--wp--preset--font-size--sm);
	line-height: var(--wp--custom--line-height--normal);
}

.nsf-liste {
	display: grid;
	gap: 0.375rem;
	margin: 0 0 1rem;
	padding: 0;
	list-style: none;
	font-size: var(--wp--preset--font-size--sm);
}

.nsf-liste li { display: grid; grid-template-columns: 1.125rem 1fr; gap: 0.5rem; }
.nsf-liste svg { width: 1.125rem; height: 1.125rem; color: var(--wp--preset--color--accent); }

.nsf-preis { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0.25rem 0.75rem; margin: 0 0 0.75rem; }
.nsf-preis b { font-size: var(--wp--preset--font-size--subtitle); }
.nsf-preis span { font-size: var(--wp--preset--font-size--xs); color: var(--wp--preset--color--neutral-light); }

.nsf-hinweis {
	margin: 0;
	padding: 0.625rem 0.75rem;
	border-radius: var(--wp--custom--radius--xs);
	background: color-mix(in srgb, var(--wp--preset--color--contrast-light) 6%, transparent);
	font-size: var(--wp--preset--font-size--sm);
}

.nsf-hinweis b { color: var(--wp--preset--color--accent); }
a.nsf-leise { text-align: center; }

.nsf-check {
	display: grid;
	grid-template-columns: 1.25rem 1fr;
	gap: 0.75rem;
	padding: 0.875rem 1rem;
	border: 1px solid var(--wp--preset--color--neutral-dark);
	border-radius: var(--wp--custom--radius--sm);
	font-size: var(--wp--preset--font-size--sm);
	line-height: var(--wp--custom--line-height--normal);
	cursor: pointer;
	transition: border-color 0.15s ease, background 0.15s ease;
}

.nsf-check input { width: 1.25rem; height: 1.25rem; margin: 0.0625rem 0 0; accent-color: var(--wp--preset--color--primary); }
.nsf-check:has(input:checked) { border-color: var(--wp--preset--color--accent); background: color-mix(in srgb, var(--wp--preset--color--accent) 8%, transparent); }
.nsf-check.hat-fehler { border-color: var(--wp--preset--color--negative); }

.nsf-danach-kurz {
	margin: 0.625rem 0 0;
	font-size: var(--wp--preset--font-size--xs);
	color: var(--wp--preset--color--neutral-light);
	text-align: center;
}

/* --- Live-Ergänzungen (Theme) ------------------------------------------ */

/* Falle für Bots: für Menschen unsichtbar (bewusst nicht display:none) */
.nsf-falle {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.nss__laden,
.nss__keine {
	margin: 0;
	color: var(--wp--preset--color--neutral-light);
	font-size: var(--wp--preset--font-size--sm);
}

.nss__kalender-link {
	display: inline-block;
	margin-top: 0.75rem;
	color: var(--wp--preset--color--accent);
	font-size: var(--wp--preset--font-size--sm);
}

.nsf-fehlerbox {
	margin: 0 0 0.75rem;
	padding: 0.625rem 0.75rem;
	border-radius: var(--wp--custom--radius--sm);
	background: color-mix(in srgb, var(--wp--preset--color--negative) 14%, transparent);
	color: var(--wp--preset--color--contrast-light);
	font-size: var(--wp--preset--font-size--sm);
}

.nsf-fehlerbox a { color: var(--wp--preset--color--accent); }

.nsf-weiter[aria-busy="true"] {
	opacity: 0.7;
	cursor: progress;
}

/* WhatsApp-Feld: Ländervorwahl + Nummer in einer Zeile */
.nss__feld > label { display: block; margin-bottom: 0.3125rem; }
.nss__feld > .nsf-tel { display: flex; gap: 0.5rem; margin: 0; }
.nss__feld .nsf-tel select { flex: none; width: auto; padding-right: 0.5rem; }
.nss__feld .nsf-tel input { flex: 1; min-width: 0; }
