/**
 * preview.css – Standalone-Preview-Layer für die SV-Kaster-Website.
 *
 * WordPress liefert im Live-Betrieb die --wp--preset--*-Custom-Properties und
 * @font-face-Regeln aus theme.json. In der statischen Preview stellen wir sie
 * hier bereit, damit theme.css/components.css/motion.css unverändert greifen.
 * Zusätzlich: Layout-Gerüst (Container, Sektionen, Grids, Header-Nav), das im
 * Live-Theme aus Block-Layout-Klassen entsteht.
 * Alle Werte 1:1 aus theme.json / design-system.md – keine Fremdwerte.
 */

/* ===================== @font-face (lokal, DSGVO) ===================== */
@font-face {
	font-family: "Barlow";
	font-weight: 400;
	font-style: normal;
	font-display: swap;
	src: url("../fonts/barlow-400.woff2") format("woff2");
}
@font-face {
	font-family: "Barlow";
	font-weight: 400;
	font-style: italic;
	font-display: swap;
	src: url("../fonts/barlow-400-italic.woff2") format("woff2");
}
@font-face {
	font-family: "Barlow";
	font-weight: 500;
	font-style: normal;
	font-display: swap;
	src: url("../fonts/barlow-500.woff2") format("woff2");
}
@font-face {
	font-family: "Barlow";
	font-weight: 600;
	font-style: normal;
	font-display: swap;
	src: url("../fonts/barlow-600.woff2") format("woff2");
}
@font-face {
	font-family: "Barlow Semi Condensed";
	font-weight: 600;
	font-style: normal;
	font-stretch: semi-condensed;
	font-display: swap;
	src: url("../fonts/barlow-semicondensed-600.woff2") format("woff2");
}
@font-face {
	font-family: "Barlow Semi Condensed";
	font-weight: 700;
	font-style: normal;
	font-stretch: semi-condensed;
	font-display: swap;
	src: url("../fonts/barlow-semicondensed-700.woff2") format("woff2");
}
@font-face {
	font-family: "Barlow Semi Condensed";
	font-weight: 800;
	font-style: normal;
	font-stretch: semi-condensed;
	font-display: swap;
	src: url("../fonts/barlow-semicondensed-800.woff2") format("woff2");
}

/* ===================== WordPress-Preset-Variablen ===================== */
:root {
	/* Farben (theme.json settings.color.palette) */
	--wp--preset--color--blau-900: #14213a;
	--wp--preset--color--blau-700: #1e3370;
	--wp--preset--color--blau-600: #263f8f;
	--wp--preset--color--blau-400: #4a63b0;
	--wp--preset--color--blau-100: #dde3f2;
	--wp--preset--color--gelb-500: #cfb923;
	--wp--preset--color--gelb-400: #e4d24a;
	--wp--preset--color--gelb-300: #f3e668;
	--wp--preset--color--gelb-100: #fbf6d6;
	--wp--preset--color--weiss: #ffffff;
	--wp--preset--color--off-white: #f7f7f4;
	--wp--preset--color--grau-300: #d7d9de;
	--wp--preset--color--grau-500: #6b7280;
	--wp--preset--color--nachtblau: #0e1526;

	/* Schriftfamilien */
	--wp--preset--font-family--display: "Barlow Semi Condensed", "Arial Narrow", system-ui, sans-serif;
	--wp--preset--font-family--body: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	/* Schriftgrößen (fluid) */
	--wp--preset--font-size--caption: 0.75rem;
	--wp--preset--font-size--body-sm: 0.875rem;
	--wp--preset--font-size--body: 1rem;
	--wp--preset--font-size--body-lg: clamp(1.125rem, 0.5vw + 1rem, 1.25rem);
	--wp--preset--font-size--h4: clamp(1.125rem, 1vw + 0.9rem, 1.375rem);
	--wp--preset--font-size--h3: clamp(1.375rem, 1.5vw + 1rem, 1.75rem);
	--wp--preset--font-size--h2: clamp(1.625rem, 2.5vw + 1rem, 2.5rem);
	--wp--preset--font-size--h1: clamp(2rem, 4vw + 1rem, 3.25rem);
	--wp--preset--font-size--display: clamp(2.5rem, 6vw + 1rem, 4.5rem);
	--wp--preset--font-size--stat: clamp(3rem, 8vw, 6rem);

	/* Spacing */
	--wp--preset--spacing--3xs: 0.25rem;
	--wp--preset--spacing--2xs: 0.5rem;
	--wp--preset--spacing--xs: 0.75rem;
	--wp--preset--spacing--sm: 1rem;
	--wp--preset--spacing--md: 1.5rem;
	--wp--preset--spacing--lg: 2rem;
	--wp--preset--spacing--xl: 3rem;
	--wp--preset--spacing--2xl: 4rem;
	--wp--preset--spacing--3xl: clamp(4rem, 8vw, 6rem);
	--wp--preset--spacing--4xl: clamp(5rem, 10vw, 8rem);
}

/* ===================== Reset / Basis ===================== */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--body);
	line-height: 1.65;
	font-weight: 400;
	background-color: var(--bg);
	color: var(--text);
}

img,
svg {
	max-width: 100%;
}

h1,
h2,
h3,
h4 {
	font-family: var(--wp--preset--font-family--display);
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -0.01em;
	color: var(--text);
	margin: 0 0 0.5em;
	text-wrap: balance;
}

h1 { font-size: var(--wp--preset--font-size--h1); }
h2 { font-size: var(--wp--preset--font-size--h2); font-weight: 700; }
h3 { font-size: var(--wp--preset--font-size--h3); font-weight: 700; }
h4 { font-size: var(--wp--preset--font-size--h4); font-weight: 600; }

p { margin: 0 0 1rem; }

ul, ol { margin: 0 0 1rem; padding-left: 1.25rem; }

a { color: var(--link); }
a:hover { color: var(--link-hover); }

.svk-lead { font-size: var(--wp--preset--font-size--body-lg); }
.svk-measure { max-width: 68ch; }
.svk-mt-0 { margin-top: 0; }
.svk-mb-0 { margin-bottom: 0; }
.svk-center { text-align: center; }
.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0, 0, 0, 0);
	white-space: nowrap; border: 0;
}

/* Skip-Link */
.svk-skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 10001;
	background: var(--sv-blau-600);
	color: #fff;
	padding: 0.75rem 1.25rem;
	border-radius: 0 0 var(--radius-md) 0;
	font-weight: 600;
}
.svk-skip-link:focus {
	left: 0;
	color: #fff;
}

/* ===================== Container / Sektionen ===================== */
/* EINE Inhaltsbreite ueberall (§1): Header, Hero und alle Sektionen teilen
 * exakt denselben 1200px-Container -> linke UND rechte Kante fluchten.
 * Die frueher separate --narrow-Variante (760px) ist entfernt; sie hatte
 * Ueberschrift (im 1200er Seiten-Hero) und Inhalt gegeneinander verschoben.
 * Einzige Ausnahme: reiner Lesefliesstext auf impressum/datenschutz darf
 * INNERHALB des Containers auf 68ch begrenzt werden – linksbuendig an der
 * Containerkante (siehe .svk-legal weiter unten), nie zentriert. */
.svk-container {
	width: 100%;
	max-width: 1200px;
	margin-inline: auto;
	padding-inline: clamp(1rem, 5vw, 2rem);
}

.svk-section {
	padding-block: clamp(3.5rem, 8vw, 8rem);
}
.svk-section--tight {
	padding-block: clamp(2.5rem, 5vw, 4rem);
}

.svk-stack > * + * { margin-top: 1rem; }
.svk-stack--lg > * + * { margin-top: 2rem; }

/* Sektions-Kopf — volle Container-Breite, bündig mit dem Inhalt darunter */
.svk-section__head {
	max-width: none;
	margin-bottom: 2.5rem;
}
.svk-section__head .svk-measure { max-width: none; }
.svk-section__head--center {
	margin-inline: auto;
	text-align: center;
}
.svk-section--blau .svk-overline,
.svk-hero .svk-overline { color: var(--sv-gelb-300); }

/* ===================== Header / Navigation =====================
 * ADAPTIVER Header (§7): steht IMMER (position: sticky), verschwindet nie.
 * Kein Auto-Hide mehr. Er passt sich der Sektion darunter an:
 *   - .is-on-dark  = ueber Hero / blauer / dunkler Sektion (data-header-theme
 *     ="dark"): getoentes Nachtblau-Glas, weisse Schrift, helles Logo.
 *   - Standard/.is-on-light = ueber heller Sektion: --surface-Glas, dunkle
 *     Schrift. Nutzt Tokens -> im Dark-Mode automatisch dunkle Flaeche + helle
 *     Schrift.
 * .is-scrolled (Blur, Schatten, kompakter) bleibt und ueberlagert beide.
 * Fallback OHNE JS: keine is-on-*-Klasse -> heller Sticky-Header (dieser
 * Basiszustand). position/z-index stehen NUR hier (components.css nicht). */
.svk-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--surface);
	color: var(--text);
	border-bottom: 1px solid var(--border);
	transition:
		background-color var(--dur) var(--ease),
		box-shadow var(--dur) var(--ease),
		color var(--dur) var(--ease),
		border-color var(--dur) var(--ease);
}
@media (prefers-reduced-motion: reduce) {
	.svk-header { transition: none; }
}

/* --- Heller Zustand (Standard + explizit .is-on-light): Token-basiert. --- */
.svk-header.is-on-light {
	background: var(--surface);
	color: var(--text);
	border-bottom-color: var(--border);
}

/* --- Dunkler Zustand: getoentes Nachtblau-Glas, weisse Schrift. --- */
.svk-header.is-on-dark {
	background: rgba(14, 21, 38, 0.55);
	color: #fff;
	border-bottom-color: rgba(255, 255, 255, 0.14);
}
@supports ((backdrop-filter: blur(12px)) or (-webkit-backdrop-filter: blur(12px))) {
	.svk-header.is-on-dark {
		background: rgba(14, 21, 38, 0.42);
		-webkit-backdrop-filter: blur(12px) saturate(1.1);
		backdrop-filter: blur(12px) saturate(1.1);
	}
}

/* --- Gescrollt: Blur-Flaeche + Schatten, Hoehe leicht reduziert. --- */
.svk-header.is-scrolled {
	box-shadow: var(--shadow-md);
	border-bottom-color: transparent;
}
.svk-header.is-scrolled.is-on-light,
.svk-header.is-scrolled:not(.is-on-dark) {
	background: rgba(255, 255, 255, 0.95);
}
@supports ((backdrop-filter: blur(12px)) or (-webkit-backdrop-filter: blur(12px))) {
	.svk-header.is-scrolled.is-on-light,
	.svk-header.is-scrolled:not(.is-on-dark) {
		background: rgba(255, 255, 255, 0.82);
		-webkit-backdrop-filter: blur(12px) saturate(1.1);
		backdrop-filter: blur(12px) saturate(1.1);
	}
}
.svk-header.is-scrolled.is-on-dark {
	background: rgba(14, 21, 38, 0.72);
}
@supports ((backdrop-filter: blur(12px)) or (-webkit-backdrop-filter: blur(12px))) {
	.svk-header.is-scrolled.is-on-dark { background: rgba(14, 21, 38, 0.6); }
}
/* Dark-Mode: der helle Zustand nutzt die dunkle --surface-Flaeche mit heller
 * Schrift (Tokens) -> nie helle Schrift auf heller Flaeche. */
.is-dark .svk-header.is-scrolled.is-on-light,
.is-dark .svk-header.is-scrolled:not(.is-on-dark) {
	background: rgba(14, 21, 38, 0.95);
}
@supports ((backdrop-filter: blur(12px)) or (-webkit-backdrop-filter: blur(12px))) {
	.is-dark .svk-header.is-scrolled.is-on-light,
	.is-dark .svk-header.is-scrolled:not(.is-on-dark) { background: rgba(14, 21, 38, 0.86); }
}
@media (prefers-color-scheme: dark) {
	:root:not(.force-light) .svk-header.is-scrolled.is-on-light,
	:root:not(.force-light) .svk-header.is-scrolled:not(.is-on-dark) {
		background: rgba(14, 21, 38, 0.95);
	}
}

.svk-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding-block: 0.75rem;
	transition: padding-block var(--dur) var(--ease);
}
.svk-header.is-scrolled .svk-header__inner { padding-block: 0.4rem; }

.svk-header__brand {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	text-decoration: none;
	color: inherit; /* folgt dem adaptiven Header-Zustand (hell/dunkel) */
}
.svk-header__brand-logo,
.svk-header__brand img {
	width: 52px;
	height: 52px;
	display: block;
	transition: width var(--dur) var(--ease), height var(--dur) var(--ease);
}
.svk-header.is-scrolled .svk-header__brand-logo,
.svk-header.is-scrolled .svk-header__brand img {
	width: 40px;
	height: 40px;
}
.svk-header__brand-text {
	font-family: var(--wp--preset--font-family--display);
	font-weight: 800;
	font-size: 1.15rem;
	line-height: 1;
	letter-spacing: -0.01em;
}

.svk-header__right {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.svk-nav {
	display: flex;
	align-items: center;
}
.svk-nav__list {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.25rem;
	margin: 0;
	padding: 0;
}
.svk-nav__list a {
	position: relative;
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0.4rem 0.7rem;
	border-radius: var(--radius-sm) var(--radius-sm) 0 0;
	color: inherit; /* folgt dem adaptiven Header-Zustand */
	text-decoration: none;
	font-weight: 500;
	font-size: 0.95rem;
	box-shadow: inset 0 -3px 0 transparent;
	transition:
		color var(--dur) var(--ease),
		box-shadow var(--dur) var(--ease);
}
/* Gelb gezielt: Hover + aktiver Punkt bekommen 3px-Unterkante in --accent. */
.svk-nav__list a:hover { box-shadow: inset 0 -3px 0 var(--accent); }
.svk-nav__list a[aria-current="page"] {
	color: var(--primary);
	font-weight: 600;
	box-shadow: inset 0 -3px 0 var(--accent);
}
.is-dark .svk-nav__list a[aria-current="page"] { color: var(--accent); }
/* Ueber dunkler Sektion: aktiver Link weiss, gelbe Unterkante bleibt sichtbar. */
.svk-header.is-on-dark .svk-nav__list a[aria-current="page"] {
	color: #fff;
	box-shadow: inset 0 -3px 0 var(--accent);
}

/* Fokus-Ring auf dunklem Header in Gold statt Blau (Kontrast). */
.svk-header.is-on-dark :focus-visible {
	outline-color: var(--sv-gelb-300);
}

.svk-nav-toggle {
	display: none;
	align-items: center;
	gap: 0.5rem;
	min-height: 44px;
	padding: 0.5rem 0.9rem;
	background: transparent;
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	color: inherit;
	font-family: inherit;
	font-weight: 600;
	font-size: 0.95rem;
	cursor: pointer;
}
.svk-header.is-on-dark .svk-nav-toggle { border-color: rgba(255, 255, 255, 0.5); }
.svk-nav-toggle:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

@media (max-width: 1023px) {
	.svk-nav-toggle { display: inline-flex; }
	.svk-nav {
		position: absolute;
		inset-inline: 0;
		top: 100%;
		background: var(--surface);
		border-top: 1px solid var(--border);
		border-bottom: 1px solid var(--border);
		box-shadow: var(--shadow-md);
		padding: 0.5rem clamp(1rem, 5vw, 2rem) 1rem;
		display: none;
	}
	/* Mobile-Panel ist eine solide --surface-Flaeche -> Links IMMER mit
	 * --text (Token), auch wenn der Header oben gerade .is-on-dark ist.
	 * Sonst wuerde weisse Header-Schrift auf helles Panel erben. */
	.svk-nav.is-open { display: block; }
	.svk-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
	.svk-nav__list a,
	.svk-header.is-on-dark .svk-nav__list a { color: var(--text); }
	.svk-header.is-on-dark .svk-nav__list a[aria-current="page"] { color: var(--primary); }
	.is-dark .svk-header.is-on-dark .svk-nav__list a[aria-current="page"] { color: var(--accent); }
	.svk-nav__list a { min-height: 48px; padding: 0.6rem 0.5rem; border-radius: var(--radius-sm); box-shadow: inset 3px 0 0 transparent; }
	.svk-nav__list a:hover { box-shadow: inset 3px 0 0 var(--accent); }
	.svk-nav__list a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--accent); }
}

/* Sehr schmale Screens: nur Wappen zeigen, sonst kollidiert der Vereinsname
 * mit Menue-Button und CTA (Name steht ohnehin im Hero). */
@media (max-width: 520px) {
	.svk-header__brand-text { display: none; }
}

/* ===================== Grids ===================== */
.svk-grid { display: grid; gap: 1.5rem; }
.svk-grid--teams { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.svk-grid--2 { grid-template-columns: 1fr; }
.svk-grid--3 { grid-template-columns: 1fr; }
.svk-grid--4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

@media (min-width: 768px) {
	.svk-grid--2 { grid-template-columns: repeat(2, 1fr); }
	.svk-grid--3 { grid-template-columns: repeat(3, 1fr); }
}

.svk-split {
	display: grid;
	gap: 2rem;
	align-items: start;
}
@media (min-width: 900px) {
	.svk-split { grid-template-columns: 1.1fr 0.9fr; gap: 3rem; }
	.svk-split--even { grid-template-columns: 1fr 1fr; }
}

/* ===================== Hero ===================== */
.svk-hero { position: relative; }
.svk-hero__inner {
	position: relative;
	z-index: 1;
	padding-block: clamp(4rem, 12vw, 9rem);
}
.svk-hero__title { max-width: 18ch; }
.svk-hero__sub { max-width: 62ch; }
.svk-hero__title {
	font-size: var(--wp--preset--font-size--display);
	line-height: 1.02;
	letter-spacing: -0.02em;
	color: #fff;
	margin-bottom: 1rem;
}
.svk-hero__sub {
	font-size: var(--wp--preset--font-size--body-lg);
	color: #e6ebf5;
	max-width: 52ch;
	margin-bottom: 2rem;
}
.svk-hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }
.svk-hero--page .svk-hero__inner { padding-block: clamp(3rem, 8vw, 6rem); }
.svk-hero__logo { width: clamp(64px, 12vw, 96px); height: auto; margin-bottom: 1.5rem; }

/* Spielfeld-Geometrie an der Hero-Unterkante (dezent) */
.svk-hero__lines {
	position: absolute;
	inset-inline: 0;
	bottom: 0;
	height: 60px;
	z-index: 0;
	pointer-events: none;
	opacity: 0.5;
}

/* ===================== Button-Reihe ===================== */
.svk-btn-row { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }

/* ===================== Statement / Trikot-Box ===================== */
.svk-statement__body { font-size: var(--wp--preset--font-size--body-lg); max-width: 60ch; }

/* ===================== CTA-Streifen (Probetraining, global) ===================== */
.svk-cta-streifen {
	background: var(--sv-gelb-400);
}
.svk-cta-streifen__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	padding-block: clamp(2rem, 5vw, 3rem);
}
.svk-cta-streifen__text { max-width: 46ch; }
.svk-cta-streifen__text h2 { color: #14213a; margin-bottom: 0.35rem; }
.svk-cta-streifen__text p { color: #14213a; margin: 0; }

/* ===================== Gelb-Teaser-Box (Mitmachen auf Startseite) ===================== */
.svk-gelb-box {
	background: var(--sv-gelb-100);
	border: 1px solid var(--sv-gelb-500);
	border-top: 3px solid var(--sv-gelb-500);
	border-radius: var(--radius-lg); /* §8: Info-Boxen --radius-lg, nicht -xl */
	padding: clamp(1.5rem, 5vw, 3rem);
}
/* §3: In der hellen Gelb-Box steht Ink (nie geerbtes Weiss). Im Dark-Mode ist
 * die Box eine dunkle Flaeche (siehe .is-dark-Regel) -> dann --text (hell). */
.svk-gelb-box :where(h2, h3, p, li) { color: var(--on-accent); }
.is-dark .svk-gelb-box :where(h2, h3, p, li) { color: var(--text); }
.is-dark .svk-gelb-box {
	background: #182444;
	border-color: var(--sv-gelb-400);
	color: var(--text);
}
.svk-gelb-box h2 { color: var(--text); }
.svk-steps {
	list-style: none;
	counter-reset: step;
	margin: 1.5rem 0 0;
	padding: 0;
	display: grid;
	gap: 1rem;
}
.svk-steps > li {
	counter-increment: step;
	display: grid;
	grid-template-columns: 44px 1fr;
	gap: 1rem;
	align-items: start;
}
.svk-steps > li::before {
	content: counter(step);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px; height: 44px;
	border-radius: 50%;
	background: var(--sv-blau-600);
	color: #fff;
	font-family: var(--wp--preset--font-family--display);
	font-weight: 800;
	font-size: 1.25rem;
}
.is-dark .svk-steps > li::before { background: var(--sv-gelb-400); color: var(--sv-blau-900); }
.svk-steps__title { font-weight: 600; margin: 0 0 0.15rem; }

/* ===================== Werte-/Argument-Blöcke ===================== */
.svk-values { display: grid; gap: 1.5rem; }
@media (min-width: 720px) { .svk-values { grid-template-columns: 1fr 1fr; } }
.svk-value {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: 1.5rem;
	box-shadow: var(--shadow-sm);
}
.svk-value h3 { font-size: var(--wp--preset--font-size--h4); margin-bottom: 0.4rem; }
.svk-value p { margin: 0; color: var(--text-muted); }

/* ===================== News-Karten ===================== */
.svk-news-grid { display: grid; gap: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .svk-news-grid { grid-template-columns: repeat(3, 1fr); } }
.svk-news-card {
	display: flex;
	flex-direction: column;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: var(--shadow-md);
	position: relative;
	transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
@media (hover: hover) {
	.svk-news-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
}
.svk-news-card__media {
	aspect-ratio: 16 / 9;
	background: linear-gradient(135deg, var(--sv-blau-600), var(--sv-blau-700));
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
}
.svk-news-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.svk-news-card__body { padding: 1.25rem 1.5rem 1.5rem; display: flex; flex-direction: column; gap: 0.5rem; }
.svk-news-card__meta { font-size: 0.8125rem; color: var(--text-muted); }
.svk-news-card__title { font-size: var(--wp--preset--font-size--h4); margin: 0; }
.svk-news-card__title a { text-decoration: none; color: var(--text); }
.svk-news-card__title a::after { content: ""; position: absolute; inset: 0; }
.svk-news-card__title a:hover { text-decoration: underline; }
.svk-news-card__teaser { color: var(--text-muted); margin: 0; font-size: 0.95rem; }
.svk-badge--beispiel {
	position: absolute;
	top: 0.75rem;
	left: 0.75rem;
	z-index: 2;
	background: rgba(20, 33, 58, 0.82);
	color: #fff;
	backdrop-filter: blur(2px);
}

/* ===================== Foto-folgt-Platzhalter (Wappen-Wasserzeichen) ===================== */
.svk-foto-folgt {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	aspect-ratio: 16 / 9;
	background:
		radial-gradient(120% 120% at 50% 0%, rgba(74, 99, 176, 0.35) 0%, rgba(20, 33, 58, 0) 60%),
		linear-gradient(160deg, #1e3370 0%, #14213a 100%);
	color: #dfe5f3;
	text-align: center;
	overflow: hidden;
	border-radius: inherit;
}
.svk-foto-folgt::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: url("../logo/sv-kaster-logo-original-256.png");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 42%;
	opacity: 0.10;
	filter: grayscale(0.2);
}
.svk-foto-folgt__label {
	position: relative;
	z-index: 1;
	font-family: var(--wp--preset--font-family--display);
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	font-size: 0.9rem;
}
.svk-foto-folgt__hint {
	position: relative;
	z-index: 1;
	font-size: 0.8rem;
	color: #aab6d4;
	max-width: 32ch;
	margin: 0;
	padding-inline: 1rem;
}
.svk-foto-folgt--tall { aspect-ratio: 4 / 3; }

/* ===================== Info-/Kontakt-Karten ===================== */
.svk-info-card {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-sm);
	padding: 1.5rem;
}
.svk-info-card--gold { border-top: 3px solid var(--accent-strong); }
.svk-info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6rem; }
.svk-info-list strong { display: inline-block; min-width: 5.5rem; color: var(--text); }
.svk-info-list a { color: var(--link); }

/* Vorstands-/Ansprechpartner-Karte */
.svk-person-card {
	display: flex;
	align-items: center;
	gap: 1rem;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	padding: 1.25rem;
	box-shadow: var(--shadow-sm);
}
.svk-person-card__avatar {
	width: 64px; height: 64px;
	flex: none;
	border-radius: 50%;
	background: var(--sv-blau-600);
	color: #fff;
	display: flex; align-items: center; justify-content: center;
	font-family: var(--wp--preset--font-family--display);
	font-weight: 800; font-size: 1.4rem;
}
.is-dark .svk-person-card__avatar { background: var(--sv-gelb-400); color: var(--sv-blau-900); }
.svk-person-card__name { font-weight: 600; margin: 0; }
.svk-person-card__role { font-size: 0.875rem; color: var(--text-muted); margin: 0; }

/* ===================== Karten-Consent-Platzhalter (statische „Karte") ===================== */
.svk-map-demo {
	position: relative;
	aspect-ratio: 16 / 9;
	border-radius: var(--radius-lg);
	overflow: hidden;
	background: #dfe6df;
}
.svk-map-demo svg { width: 100%; height: 100%; display: block; }
.svk-map-demo__pin {
	position: absolute;
	left: 50%; top: 46%;
	transform: translate(-50%, -100%);
	z-index: 2;
	background: var(--sv-blau-600);
	color: #fff;
	font-size: 0.8rem;
	font-weight: 600;
	padding: 0.35rem 0.7rem;
	border-radius: var(--radius-pill);
	white-space: nowrap;
	box-shadow: var(--shadow-md);
}
.svk-map-demo__hint {
	position: absolute;
	inset-inline: 0.75rem;
	bottom: 0.75rem;
	z-index: 2;
	background: rgba(255, 255, 255, 0.92);
	color: #14213a;
	font-size: 0.78rem;
	padding: 0.5rem 0.75rem;
	border-radius: var(--radius-sm);
	text-align: center;
}

/* ===================== fussball.de-Demo-Tabelle ===================== */
.svk-demo-tabelle {
	width: 100%;
	border-collapse: collapse;
	background: var(--surface);
	font-size: 0.95rem;
}
.svk-demo-tabelle caption {
	text-align: left;
	font-weight: 600;
	color: var(--text-muted);
	padding: 0 0 0.75rem;
	font-size: 0.85rem;
}
.svk-demo-tabelle th,
.svk-demo-tabelle td {
	padding: 0.6rem 0.75rem;
	border-bottom: 1px solid var(--border);
	text-align: left;
}
.svk-demo-tabelle thead th {
	background: var(--primary);
	color: var(--on-primary);
	font-family: var(--wp--preset--font-family--display);
}
.is-dark .svk-demo-tabelle thead th { background: var(--accent); color: var(--on-accent); }
.svk-demo-tabelle tbody tr:nth-child(odd) { background: var(--surface-sunken); }
.svk-demo-tabelle tr.is-self { font-weight: 700; }
.svk-demo-tabelle tr.is-self td { color: var(--primary); }
.is-dark .svk-demo-tabelle tr.is-self td { color: var(--accent); }
.svk-demo-hinweis {
	margin-top: 0.75rem;
	font-size: 0.8125rem;
	color: var(--text-muted);
	font-style: italic;
}

/* Ergebnis-Zeile (letztes Spiel, Sieg -> Konfetti) */
.svk-ergebnis {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	background: var(--surface);
	border: 1px solid var(--border);
	border-top: 3px solid var(--accent-strong);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-sm);
	padding: 1.25rem 1.5rem;
}
.svk-ergebnis__score {
	font-family: var(--wp--preset--font-family--display);
	font-weight: 800;
	font-size: 2rem;
	font-variant-numeric: tabular-nums;
	color: var(--text);
}

/* ===================== 404 ===================== */
.svk-404 { text-align: center; }
.svk-404__num {
	font-family: var(--wp--preset--font-family--display);
	font-weight: 800;
	font-size: clamp(5rem, 20vw, 12rem);
	line-height: 0.9;
	letter-spacing: -0.03em;
	color: var(--primary);
	font-variant-numeric: tabular-nums;
	margin: 0;
}
.is-dark .svk-404__num { color: var(--accent); }
.svk-404__links { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; margin-top: 1.5rem; }

/* ===================== Rechtstexte ===================== */
.svk-legal h2 { margin-top: 2rem; }
.svk-legal h3 { margin-top: 1.5rem; font-size: var(--wp--preset--font-size--h4); }
.svk-legal p { max-width: 68ch; }

/* ===================== Sozial-Leiste ===================== */
.svk-social {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 1rem;
}
.svk-social a {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	min-height: 40px;
	padding: 0.4rem 0.8rem;
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: var(--radius-pill);
	color: #e6ebf5;
	text-decoration: none;
	font-size: 0.875rem;
}
.svk-social a:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }

/* Kreidelinie: sichtbarer Standardzustand ohne JS bereits leicht gezeichnet */
.svk-kreide { color: var(--border-strong); }

/* Preview-Badge (dezent, unten links) – markiert dies als Vorschau */
.svk-preview-flag {
	position: fixed;
	left: 0.75rem;
	bottom: 0.75rem;
	z-index: 9995;
	background: rgba(20, 33, 58, 0.9);
	color: #fff;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	padding: 0.3rem 0.6rem;
	border-radius: var(--radius-pill);
	pointer-events: none;
}
.is-dark .svk-preview-flag { background: rgba(228, 210, 74, 0.9); color: #14213a; }
