/**
 * VP Core – gemeinsame Komponenten.
 *
 * Werte 1:1 aus den Design-Dateien (docs/design-handoff/design). Präfix „vp-“.
 * Blockspezifische Styles liegen in blocks/<name>/style.css.
 */

:root {
	--vp-bg: #f8fafc;
	--vp-text: #1e293b;
	--vp-body: #475569;
	--vp-meta: #64748b;
	--vp-disabled: #94a3b8;
	--vp-disabled-light: #cbd5e1;
	--vp-line: #e2e8f0;
	--vp-line-light: #f1f5f9;
	--vp-primary: #2563eb;
	--vp-primary-hover: #1d4ed8;
	--vp-blue-50: #eff6ff;
	--vp-blue-100: #dbeafe;
	--vp-blue-200: #bfdbfe;
	--vp-blue-300: #93c5fd;
	--vp-blue-500: #3b82f6;
	--vp-cta: #f97316;
	--vp-cta-hover: #ea580c;
	--vp-positive: #10b981;
	--vp-positive-dark: #059669;
	--vp-positive-darker: #047857;
	--vp-positive-50: #ecfdf5;
	--vp-positive-100: #d1fae5;
	--vp-shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
	--vp-shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
	--vp-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
	--vp-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
	--vp-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
	--vp-shadow-cta: 0 10px 15px -3px rgba(249, 115, 22, 0.3), 0 4px 6px -4px rgba(249, 115, 22, 0.3);
	--vp-font: 'Outfit', ui-sans-serif, system-ui, sans-serif;
	--vp-h1-page: clamp(2.25rem, 1.5rem + 2.2vw, 3.25rem);
	--vp-h1-home: clamp(2.5rem, 1.6rem + 2.6vw, 3.75rem);
	--vp-h2-section: clamp(2rem, 1.5rem + 1.6vw, 2.875rem);
	--vp-h2-text: clamp(1.625rem, 1.3rem + 1vw, 2rem);
}

/* ---------------------------------------------------------------- Layout */

.vp-section {
	padding-left: 24px;
	padding-right: 24px;
}

.vp-container {
	max-width: 1200px;
	margin: 0 auto;
}

/* Sprungziele unter der klebenden Kopfzeile (ohne Spezifität, Block-Regeln haben Vorrang). */
:where([id]) {
	scroll-margin-top: 88px;
}

/* ------------------------------------------------------------ Typografie */

.vp-h1 {
	margin: 0;
	font-size: var(--vp-h1-page);
	line-height: 1.08;
	font-weight: 700;
	letter-spacing: -0.025em;
	color: var(--vp-text);
	text-wrap: balance;
}

.vp-h2-section {
	margin: 0;
	font-size: var(--vp-h2-section);
	line-height: 1.1;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: var(--vp-text);
	text-wrap: balance;
}

.vp-section-lead {
	margin: 16px 0 0;
	font-size: 18px;
	line-height: 1.6;
	color: var(--vp-body);
	text-wrap: pretty;
}

/* Fließtext-Bereich (Überschriften, Absätze, Links aus Core-Blöcken). */
.vp-prose > h2,
.vp-prose h2.wp-block-heading {
	margin: 56px 0 16px;
	font-size: var(--vp-h2-text);
	line-height: 1.2;
	font-weight: 700;
	letter-spacing: -0.015em;
	color: var(--vp-text);
	text-wrap: balance;
	scroll-margin-top: 96px;
}

.vp-prose > h2:first-child {
	margin-top: 0;
}

.vp-prose > p {
	margin: 0 0 16px;
	font-size: 18px;
	line-height: 1.75;
	color: var(--vp-body);
	text-wrap: pretty;
}

/* Absatz ohne ausgewogenen Umbruch (Zusatzklasse „vp-wrap“ im Absatz-Block). */
.vp-prose > p.vp-wrap {
	text-wrap: wrap;
}

.vp-prose p a {
	color: var(--vp-primary);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.vp-prose p a:hover {
	color: var(--vp-primary);
}

/* ------------------------------------------------------------ Kopfzeile */

.vp-header {
	position: relative;
	background: #2563eb;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
	font-family: var(--vp-font);
}

.vp-header__inner {
	max-width: 1248px;
	margin: 0 auto;
	padding: 0 24px;
	height: 72px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.vp-brand {
	display: flex;
	align-items: center;
	gap: 10px;
	color: #ffffff;
	text-decoration: none;
}

.vp-brand:hover {
	color: #ffffff;
}

.vp-brand__tile {
	flex: none;
	width: 38px;
	height: 38px;
	border-radius: 12px;
	background: #ffffff;
	color: #2563eb;
	display: flex;
	align-items: center;
	justify-content: center;
}

.vp-brand__name {
	font-size: 21px;
	font-weight: 700;
	letter-spacing: -0.01em;
	color: #ffffff;
}

.vp-brand__tld {
	color: #bfdbfe;
}

.vp-header__nav {
	display: flex;
	align-items: center;
	gap: 4px;
}

.vp-header__link {
	padding: 10px 16px;
	border-radius: 9999px;
	background: transparent;
	color: #ffffff;
	font-size: 16px;
	font-weight: 500;
	transition: background-color 0.15s ease;
}

.vp-header__link.is-active,
.vp-header__link:hover {
	background: #1d4ed8;
	color: #ffffff;
}

.vp-header__cta {
	margin-left: 12px;
	display: flex;
	align-items: center;
	height: 44px;
	padding: 0 20px;
	border-radius: 9999px;
	background: #f97316;
	color: #ffffff;
	font-size: 15px;
	font-weight: 600;
	white-space: nowrap;
	box-shadow: var(--vp-shadow-cta);
	transition: background-color 0.15s ease;
}

.vp-header__cta:hover {
	background: #ea580c;
	color: #ffffff;
}

.vp-header__cta.is-lift {
	transition: background-color 0.15s ease, transform 0.15s ease;
}

.vp-header__cta.is-lift:hover {
	transform: translateY(-1px);
}

.vp-header__burger {
	flex: none;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: 9999px;
	background: #1d4ed8;
	color: #ffffff;
	display: none;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	padding: 0;
}

.vp-header__burger .vp-icon-close {
	display: none;
}

.vp-header.is-open .vp-header__burger .vp-icon-close {
	display: block;
}

.vp-header.is-open .vp-header__burger .vp-icon-menu {
	display: none;
}

.vp-header__panel {
	position: absolute;
	top: 72px;
	left: 0;
	right: 0;
	padding: 12px 24px 24px;
	background: #ffffff;
	border-radius: 0 0 24px 24px;
	box-shadow: var(--vp-shadow-xl);
}

.vp-header__panel[hidden] {
	display: none;
}

.vp-header__mnav {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.vp-header__mlink {
	padding: 14px 16px;
	border-radius: 16px;
	background: transparent;
	color: #1e293b;
	font-size: 17px;
	font-weight: 600;
}

.vp-header__mlink:hover {
	color: #1e293b;
}

.vp-header__mlink.is-active,
.vp-header__mlink.is-active:hover {
	background: #eff6ff;
	color: #2563eb;
}

.vp-header__mcta {
	margin-top: 16px;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 52px;
	border-radius: 9999px;
	background: #f97316;
	color: #ffffff;
	font-size: 17px;
	font-weight: 600;
}

.vp-header__mcta:hover {
	color: #ffffff;
}

.vp-header__mcta.is-lift {
	box-shadow: var(--vp-shadow-cta);
}

@media (max-width: 959.98px) {
	.vp-header__nav {
		display: none;
	}

	.vp-header__burger {
		display: flex;
	}
}

@media (min-width: 960px) {
	.vp-header__panel {
		display: none !important;
	}
}

/* ------------------------------------------------------------- Fußzeile */

.vp-footer {
	background: #2563eb;
	color: #ffffff;
	font-family: var(--vp-font);
}

.vp-footer__inner {
	max-width: 1248px;
	margin: 0 auto;
	padding: 64px 24px 32px;
}

.vp-footer__top {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 40px 56px;
}

.vp-footer__about {
	flex: 1 1 260px;
	max-width: 340px;
}

.vp-footer__about .vp-brand {
	display: inline-flex;
}

.vp-footer__text {
	margin: 16px 0 0;
	font-size: 15px;
	line-height: 1.6;
	color: #eff6ff;
}

.vp-footer__cols {
	display: flex;
	flex-wrap: wrap;
	gap: 32px 56px;
}

.vp-footer__col {
	display: flex;
	flex-direction: column;
	gap: 12px;
	min-width: 150px;
}

.vp-footer__title {
	font-size: 15px;
	font-weight: 700;
	color: #ffffff;
}

.vp-footer__link {
	font-size: 15px;
	color: #eff6ff;
}

.vp-footer__link:hover {
	color: #ffffff;
	text-decoration: underline;
}

.vp-footer__bottom {
	margin-top: 48px;
	padding-top: 24px;
	border-top: 1px solid #3b82f6;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px;
	font-size: 14px;
	color: #eff6ff;
}

/* ----------------------------------------------------------- Brotkrumen */

.vp-crumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	color: #64748b;
}

.vp-crumbs__link {
	color: #64748b;
}

.vp-crumbs__link:hover {
	color: #2563eb;
}

.vp-crumbs__current {
	color: #1e293b;
	font-weight: 500;
}

/* ------------------------------------------------------------ Seitenkopf */

.vp-page-head {
	padding: 56px 24px 40px;
}

.vp-page-head__inner {
	max-width: 1200px;
	margin: 0 auto;
}

.vp-page-head__title {
	margin: 20px 0 0;
	max-width: 880px;
	font-size: var(--vp-h1-page);
	line-height: 1.08;
	font-weight: 700;
	letter-spacing: -0.025em;
	color: #1e293b;
	text-wrap: balance;
}

.vp-page-head__lead {
	margin: 18px 0 0;
	max-width: 760px;
	font-size: 19px;
	line-height: 1.65;
	color: #475569;
	text-wrap: pretty;
}

/* -------------------------------------------------------------- Buttons */

.vp-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	border-radius: 9999px;
	background: #f97316;
	color: #ffffff;
	font-weight: 600;
	white-space: nowrap;
	box-shadow: var(--vp-shadow-cta);
	transition: background-color 0.15s ease;
}

.vp-cta:hover {
	background: #ea580c;
	color: #ffffff;
}

.vp-cta--hero {
	gap: 10px;
	height: 58px;
	padding: 0 30px;
	font-size: 17px;
	transition: background-color 0.15s ease, transform 0.15s ease;
}

.vp-cta--hero:hover {
	transform: translateY(-2px);
}

.vp-cta--card {
	display: flex;
	height: 54px;
	padding: 0 24px;
	font-size: 17px;
}

.vp-cta--lg {
	height: 52px;
	padding: 0 26px;
	font-size: 16px;
}

.vp-cta--md {
	height: 48px;
	padding: 0 22px;
	font-size: 16px;
}

.vp-cta--sm {
	height: 44px;
	padding: 0 20px;
	font-size: 15px;
}

.vp-cta--xs {
	height: 38px;
	padding: 0 16px;
	font-size: 14px;
	box-shadow: none;
}

.vp-ghost {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 50px;
	padding: 0 24px;
	border-radius: 9999px;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	color: #1e293b;
	font-size: 16px;
	font-weight: 600;
	box-shadow: var(--vp-shadow-xs);
	transition: border-color 0.15s ease, color 0.15s ease;
}

.vp-ghost:hover {
	border-color: #2563eb;
	color: #2563eb;
}

.vp-arrow-link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 17px;
	font-weight: 600;
	color: #2563eb;
}

.vp-arrow-link:hover {
	color: #1d4ed8;
}

/* ------------------------------------------------------- „Unser Tipp“ */

.vp-tip-ring {
	position: absolute;
	inset: 0;
	border: 2px solid #2563eb;
	border-radius: 24px;
	pointer-events: none;
}

.vp-tip-badge {
	position: absolute;
	top: -15px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 6px 14px;
	border-radius: 9999px;
	background: #2563eb;
	color: #ffffff;
	font-size: 13px;
	font-weight: 600;
	white-space: nowrap;
	box-shadow: var(--vp-shadow-md);
}

.vp-tip-badge--flat {
	box-shadow: none;
}

/* ----------------------------------------------- Merkmale mit Check-Kreis */

.vp-check-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.vp-check-item {
	display: flex;
	align-items: flex-start;
	gap: 12px;
}

.vp-check-dot {
	flex: none;
	margin-top: 2px;
	width: 24px;
	height: 24px;
	border-radius: 9999px;
	background: #ecfdf5;
	color: #10b981;
	display: flex;
	align-items: center;
	justify-content: center;
}

.vp-check-item__text {
	display: flex;
	flex-direction: column;
}

.vp-check-item__label {
	font-size: 13px;
	font-weight: 500;
	color: #64748b;
}

.vp-check-item__value {
	font-size: 16px;
	font-weight: 600;
	color: #1e293b;
}

.vp-check-item__value em {
	font-style: normal;
	color: #059669;
}

/* ------------------------------------------------------------------ FAQ */

.vp-faq {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.vp-faq__item {
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	box-shadow: var(--vp-shadow-xs);
	transition: box-shadow 0.2s ease;
}

.vp-faq__item.is-open {
	box-shadow: var(--vp-shadow-lg);
}

.vp-faq__toggle {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding: 22px 24px;
	background: transparent;
	border: 0;
	border-radius: 16px;
	cursor: pointer;
	text-align: left;
	font-family: inherit;
	color: #1e293b;
}

.vp-faq__q {
	margin: 0;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.4;
	color: inherit;
}

.vp-faq__icon {
	flex: none;
	width: 36px;
	height: 36px;
	border-radius: 9999px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #eff6ff;
	color: #2563eb;
	transform: rotate(0deg);
	transition: transform 0.25s ease, background-color 0.2s ease, color 0.2s ease;
}

.vp-faq__item.is-open .vp-faq__icon {
	background: #2563eb;
	color: #ffffff;
	transform: rotate(180deg);
}

.vp-faq__a p {
	margin: 0;
	padding: 0 24px 24px;
	font-size: 16px;
	line-height: 1.7;
	color: #475569;
	text-wrap: pretty;
}

/* --------------------------------------------------------------- Schritte */

.vp-steps {
	list-style: none;
	margin: 0 0 24px;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.vp-steps__item {
	display: flex;
	gap: 16px;
}

.vp-steps__num {
	flex: none;
	width: 40px;
	height: 40px;
	border-radius: 9999px;
	background: #2563eb;
	color: #ffffff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 17px;
	font-weight: 700;
}

.vp-steps__body {
	display: flex;
	flex-direction: column;
	gap: 4px;
	padding-top: 7px;
}

.vp-steps__title {
	font-size: 18px;
	font-weight: 600;
	color: #1e293b;
}

.vp-steps__text {
	font-size: 17px;
	line-height: 1.65;
	color: #475569;
}

/* ------------------------------------------------------------ Hilfsklassen */

.vp-sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

@media print {
	.vp-site-header,
	.vp-site-footer,
	.vp-consent {
		display: none !important;
	}
}

/* ------------------------------------------------------- Ratgeber-Karte */

.vp-rcard {
	display: flex;
	flex-direction: column;
	background: #ffffff;
	border-radius: 24px;
	overflow: hidden;
	color: #1e293b;
	box-shadow: var(--vp-shadow-lg);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.vp-rcard:hover {
	transform: translateY(-4px);
	color: #1e293b;
	box-shadow: var(--vp-shadow-xl);
}

.vp-rcard__panel {
	height: 150px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.vp-rcard__body {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 24px 24px 28px;
}

.vp-rcard__meta {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 13px;
}

.vp-rcard__cat {
	padding: 4px 10px;
	border-radius: 9999px;
	font-weight: 600;
}

.vp-rcard__mins {
	color: #64748b;
	font-weight: 500;
}

.vp-rcard__title {
	margin: 4px 0 0;
	font-size: 21px;
	line-height: 1.3;
	font-weight: 700;
	color: #1e293b;
	text-wrap: balance;
}

.vp-rcard__teaser {
	margin: 0;
	font-size: 16px;
	line-height: 1.6;
	color: #475569;
	text-wrap: pretty;
}

.vp-rcard__more {
	margin-top: auto;
	padding-top: 8px;
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 16px;
	font-weight: 600;
	color: #2563eb;
}
