/* ==========================================================================
   Vosspools – Zusatzstyles (Karten, Welle, Micro-Interactions)
   Klein gehalten: alles Wichtige kommt aus theme.json.
   ========================================================================== */

/* --- Karten ------------------------------------------------------------ */
.vp-card {
	background: var(--wp--preset--color--weiss);
	border-radius: 18px;
	box-shadow: 0 10px 40px -12px rgba(10, 51, 80, 0.18);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
	overflow: hidden;
	height: 100%;
}
.vp-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 18px 50px -12px rgba(10, 51, 80, 0.28);
}

/* --- Wellen-Trenner (Logo-Motiv) ---------------------------------------- */
.vp-wave {
	display: block;
	width: 100%;
	height: 56px;
	background: no-repeat center / 100% 100% url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 56' preserveAspectRatio='none'%3E%3Cpath d='M0 28 C 150 0, 300 56, 450 28 S 750 0 900 28 S 1150 56 1200 28 L 1200 56 L 0 56 Z' fill='%23EAF6FC'/%3E%3C/svg%3E");
}
.vp-wave--dunkel {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 56' preserveAspectRatio='none'%3E%3Cpath d='M0 28 C 150 0, 300 56, 450 28 S 750 0 900 28 S 1150 56 1200 28 L 1200 56 L 0 56 Z' fill='%230A3350'/%3E%3C/svg%3E");
}

/* --- Kennzahlen ---------------------------------------------------------- */
.vp-stat strong {
	display: block;
	font-size: clamp(2rem, 4.5vw, 3rem);
	font-weight: 700;
	color: var(--wp--preset--color--azur);
	line-height: 1;
	letter-spacing: -0.02em;
}

/* --- Eyebrow / Überzeile ------------------------------------------------- */
.vp-eyebrow {
	text-transform: uppercase;
	letter-spacing: 0.18em;
	font-size: 0.8rem;
	font-weight: 650;
	color: var(--wp--preset--color--azur);
}

/* --- Sanftes Einblenden beim Scrollen (nur ohne Reduced Motion) ---------- */
@media (prefers-reduced-motion: no-preference) {
	@supports (animation-timeline: view()) {
		.vp-reveal {
			animation: vp-fade-up 0.7s ease both;
			animation-timeline: view();
			animation-range: entry 0% entry 42%;
		}
		@keyframes vp-fade-up {
			from { opacity: 0; transform: translateY(24px); }
			to   { opacity: 1; transform: translateY(0); }
		}
	}
}

/* --- FAQ (Details-Block) -------------------------------------------------- */
.vp-faq details {
	background: var(--wp--preset--color--weiss);
	border: 1px solid rgba(10, 51, 80, 0.1);
	border-radius: 14px;
	padding: 1rem 1.25rem;
	margin-bottom: 0.75rem;
}
.vp-faq summary {
	font-weight: 600;
	color: var(--wp--preset--color--tiefblau);
	cursor: pointer;
}
.vp-faq details[open] summary { margin-bottom: 0.5rem; }

/* --- Sticky-Kontaktleiste (mobil) ----------------------------------------- */
@media (max-width: 781px) {
	.vp-sticky-cta {
		position: fixed;
		inset-inline: 0;
		bottom: 0;
		z-index: 90;
		display: flex;
		gap: 0;
		background: var(--wp--preset--color--tiefblau);
		padding-bottom: env(safe-area-inset-bottom);
	}
	.vp-sticky-cta a {
		flex: 1;
		text-align: center;
		padding: 0.9rem 0.5rem;
		color: #fff;
		font-weight: 600;
		font-size: 0.95rem;
		text-decoration: none;
	}
	.vp-sticky-cta a + a { border-left: 1px solid rgba(255, 255, 255, 0.18); }
	.vp-sticky-cta a:first-child { background: var(--wp--preset--color--azur); }
	body { padding-bottom: 3.4rem; }
}
@media (min-width: 782px) {
	.vp-sticky-cta { display: none; }
}

/* --- Fokus-Sichtbarkeit (Accessibility) ------------------------------------ */
:where(a, button, summary, input, textarea):focus-visible {
	outline: 3px solid var(--wp--preset--color--azur);
	outline-offset: 2px;
	border-radius: 4px;
}
