/*
 * fdp2026 2.0.0 – Kopf, Fuß, Startseite und Barrierefreiheit (Entwurf A,
 * docs/design/entwurf-fdp2026.html). Lädt nach style.css und überschreibt dort, wo der Aufbau
 * von 1.x (fester gelber Kopf, Slider, grauer Fuß) nicht mehr passt.
 *
 * Farben: Dunkelblau #032d67 (Weiß darauf 13,4 : 1), Gelb #ffe000 (Dunkelblau darauf 10,1 : 1),
 * Cyan #00a7e7 nur als Fläche/Balken. Schrift Public Sans (style.css).
 */

:root {
	--navy: var(--navy-hex);
	--navy-hover: var(--navy-hover-hex);
	--yellow: var(--yellow-hex);
	--yellow-hover: var(--yellow-hover-hex);
	--cyan: var(--cyan-hex);
	--soft: var(--soft-hex);
	--line: var(--line-hex);
	--muted: var(--muted-hex);
	--ink: #111827;
	--wrap: 1140px;
	--gutter: 24px;
	--site-header-height: 80px;
	--radius: 6px;
	--focus: 3px solid var(--navy);
}

html {
	/* Sprungziele und Fokus nicht unter dem klebenden Kopf (WCAG 2.4.11) */
	scroll-padding-top: calc(var(--site-header-height) + 16px);
	overflow-x: clip;
}

body {
	color: var(--ink);
}

/* Sichtbarer Fokus überall, sofort (auch dort, wo style.css outline entfernt hatte) */
:focus-visible,
input:focus-visible,
button:focus-visible,
select:focus-visible,
textarea:focus-visible,
.slick-dots button:focus-visible {
	outline: var(--focus) !important;
	outline-offset: 3px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
}

/* Zum Inhalt springen (WCAG 2.4.1) */
.skip-link {
	position: absolute;
	left: 16px;
	top: -100px;
	z-index: 100000;
	padding: 12px 18px;
	border-radius: var(--radius);
	background: var(--yellow);
	color: var(--navy);
	font-weight: 700;
	text-decoration: none;
}

.skip-link:focus {
	top: 12px;
}

main:focus {
	outline: none;
}

/* Überschriften linksbündig wie auf fdp.de (style.css zentrierte h1/h2) */
h1,
h2,
body.home h2 {
	text-align: left;
}

/* Links im Fließtext unterstrichen, nicht nur farbig (WCAG 1.4.1) */
main .page.content a:not(.button),
main .single.content a:not(.button),
main .wp-block-group a:not(.button),
main p a:not(.button) {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

main p a:not(.button):hover {
	text-decoration-thickness: 2px;
}

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

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 0 24px;
	border: 2px solid transparent;
	border-radius: 30px;
	font-weight: 700;
	font-size: 1rem;
	line-height: 1.2;
	white-space: nowrap;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .15s ease-out, color .15s ease-out, border-color .15s ease-out;
}

.button-fill,
.button-yellow {
	background: var(--yellow);
	border-color: var(--yellow);
	color: var(--navy);
}

.button-fill:hover,
.button-yellow:hover {
	background: var(--yellow-hover);
	border-color: var(--yellow-hover);
	color: var(--navy);
}

.button-navy {
	background: var(--navy);
	border-color: var(--navy);
	color: #fff;
}

.button-navy:hover {
	background: var(--navy-hover);
	border-color: var(--navy-hover);
	color: #fff;
}

.button-outline-light {
	border-color: #fff;
	color: #fff;
	background: transparent;
}

.button-outline-light:hover {
	background: #fff;
	color: var(--navy);
}

/* Kategorie-Schaltflächen im Archiv: Weiß auf Hellgrau hatte 1,24 : 1 (Audit 30.11.2026) */
.archive.category-button {
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 22px;
	color: var(--navy);
	font-weight: 600;
	font-size: 1rem;
	padding: 8px 16px;
}

.archive.category-button.active,
.archive.category-button:hover {
	background: var(--navy);
	border-color: var(--navy);
	color: #fff;
}

/* =====================================================================
   Kopf
   ===================================================================== */

header.site-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	height: auto;
	display: block;
	background: #fff;
	border-bottom: 1px solid var(--line);
	box-shadow: none;
}

body.admin-bar header.site-header {
	margin-top: 0;
	top: var(--wp-admin--admin-bar--height, 0px);
}

main {
	margin-top: 0;
	min-height: 50vh;
}

.site-header-bar {
	max-width: 1320px; /* breiter als der Inhalt: Logo-Block und sechs Menüpunkte */
	min-height: var(--site-header-height);
	margin: 0 auto;
	padding: 0 var(--gutter);
	display: flex;
	align-items: center;
	gap: 20px;
}

.site-logo {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	text-decoration: none;
}

.site-logo img {
	display: block;
	height: 56px;
	width: auto;
	max-width: 200px;
}

/* Übergangslogo: „FDP" | KREISVERBAND / MAINZ (inc/logo.php) */
.logo-lockup {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	color: var(--navy);
	line-height: 1;
}

.logo-lockup .fdp-wordmark {
	display: block;
	width: auto;
	height: 36px;
	flex: 0 0 auto;
}

.logo-lockup-text {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 3px;
	min-height: 36px;
	padding-left: 12px;
	border-left: 2px solid currentColor;
	font-weight: 800;
	font-size: .8125rem;
	letter-spacing: .04em;
	text-transform: uppercase;
	white-space: nowrap;
}

/* Offizielles Logo aus dem Markenportal (assets/logos/), Höhe = Höhe von „FDP" */
.logo-official .fdp-logo {
	display: block;
	height: 44px;
	width: auto;
}

@media (max-width: 480px) {
	.logo-lockup {
		gap: 8px;
	}

	.logo-official .fdp-logo {
		height: 36px;
	}

	.logo-lockup .fdp-wordmark {
		height: 28px;
	}

	.logo-lockup-text {
		min-height: 28px;
		padding-left: 8px;
		font-size: .6875rem;
	}

	.site-header-bar {
		gap: 8px;
	}

	.menu-toggle {
		padding: 0 12px;
	}
}

/* Sehr schmal: Menü-Button nur mit Symbol, „Menü“ bleibt der Name für Screenreader */
@media (max-width: 359px) {
	.logo-lockup {
		gap: 6px;
	}

	.logo-official .fdp-logo {
		height: 30px;
	}

	.logo-lockup .fdp-wordmark {
		height: 24px;
	}

	.logo-lockup-text {
		min-height: 24px;
		padding-left: 6px;
		font-size: .625rem;
	}

	.menu-toggle-label {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip-path: inset(50%);
		white-space: nowrap;
	}
}

.site-footer .logo-lockup {
	color: #fff;
}

.site-logo-text {
	font-weight: 800;
	font-size: 1.4rem;
	color: var(--navy);
	letter-spacing: -0.02em;
}

.site-nav {
	margin-left: auto;
}

.site-nav-list,
.site-nav-list .sub-menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-nav-list {
	display: flex;
	align-items: center;
	gap: 4px 18px;
}

.site-nav-list > li {
	position: relative;
	display: flex;
	align-items: center;
	margin: 0;
}

.site-nav-list li::before {
	content: none !important;
}

.site-nav-list > li > a,
.submenu-toggle-label {
	display: inline-flex;
	flex-direction: row;
	align-items: center;
	white-space: nowrap;
	gap: 4px;
	min-height: 44px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--navy);
	font: inherit;
	font-weight: 700;
	font-size: 1rem;
	text-decoration: none;
	cursor: pointer;
	position: relative;
}

/* gelber Unterstrich wie auf fdp.de */
.site-nav-list > li > a::after,
.submenu-toggle-label::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 6px;
	height: 3px;
	background: var(--yellow);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .2s ease-out;
}

.site-nav-list > li > a:hover::after,
.site-nav-list > li > a[aria-current]::after,
.site-nav-list > li.current-menu-ancestor > a::after,
.submenu-toggle-label:hover::after,
.submenu-toggle-label[aria-expanded="true"]::after {
	transform: scaleX(1);
}

.submenu-toggle {
	display: inline-grid;
	place-items: center;
	min-width: 28px;
	min-height: 44px;
	padding: 0;
	border: 0;
	background: none;
	color: var(--navy);
	font: inherit;
	cursor: pointer;
}

.submenu-toggle i {
	font-size: 1.2rem;
	transition: transform .15s ease-out;
}

.submenu-toggle[aria-expanded="true"] i {
	transform: rotate(180deg);
}

/* Menüpunkt ohne eigenes Ziel („Wahlen“): Button sieht aus wie die Links daneben */
.submenu-toggle.submenu-toggle-label {
	display: inline-flex;
	gap: 4px;
	font-weight: 700;
	font-size: 1rem;
}

/* Menüpunkt mit CSS-Klasse „button“ (z. B. „Mitglied werden!“) */
.site-nav-list > li.button {
	display: flex;
	min-height: 0;
	padding: 0;
	border: 0;
	background: none;
}

.site-nav-list > li.button > a {
	min-height: 44px;
	padding: 0 20px;
	border-radius: 30px;
	background: var(--yellow);
	color: var(--navy);
	transition: background-color .15s ease-out;
}

.site-nav-list > li.button > a::after {
	content: none;
}

.site-nav-list > li.button > a:hover {
	background: var(--yellow-hover);
}

/* Untermenüs (breite Fenster): bei Fokus, Maus oder geöffnetem Button */
.site-nav-list .sub-menu {
	position: absolute;
	top: 100%;
	left: -16px;
	min-width: 240px;
	padding: 8px 0;
	background: #fff;
	border: 1px solid var(--line);
	box-shadow: 0 12px 24px rgba(3, 45, 103, .12);
	visibility: hidden;
	opacity: 0;
	transform: translateY(4px);
	transition: opacity .15s ease-out, transform .15s ease-out, visibility 0s linear .15s;
}

.site-nav-list > li:hover > .sub-menu,
.site-nav-list > li:focus-within > .sub-menu,
.site-nav-list > li > .submenu-toggle[aria-expanded="true"] + .sub-menu,
.site-nav-list > li > .submenu-toggle[aria-expanded="true"] ~ .sub-menu {
	visibility: visible;
	opacity: 1;
	transform: none;
	transition: opacity .15s ease-out, transform .15s ease-out;
}

/* Mit JavaScript schließt ein per Escape geschlossenes Untermenü auch bei Fokus darin */
.js .site-nav-list > li:focus-within > .submenu-toggle[aria-expanded="false"] ~ .sub-menu {
	visibility: hidden;
	opacity: 0;
}

.js .site-nav-list > li:hover > .sub-menu {
	visibility: visible;
	opacity: 1;
	transform: none;
}

.site-nav-list .sub-menu li {
	margin: 0;
}

.site-nav-list .sub-menu a {
	display: block;
	padding: 10px 16px;
	color: var(--ink);
	font-weight: 500;
	text-decoration: none;
}

.site-nav-list .sub-menu a:hover,
.site-nav-list .sub-menu a[aria-current] {
	background: var(--soft);
	color: var(--navy);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.search-toggle,
.menu-toggle {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-width: 44px;
	min-height: 44px;
	border: 0;
	border-radius: 22px;
	background: var(--soft);
	color: var(--navy);
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

.search-toggle i {
	font-size: 1.25rem;
}

.search-toggle[aria-expanded="true"],
.menu-toggle[aria-expanded="true"] {
	background: var(--navy);
	color: #fff;
}

.menu-toggle {
	display: none;
	margin-left: auto;
	padding: 0 16px;
	border: 2px solid var(--navy);
	background: #fff;
}

.menu-toggle-icon,
.menu-toggle-icon::before,
.menu-toggle-icon::after {
	display: block;
	width: 18px;
	height: 2px;
	background: currentColor;
	position: relative;
	transition: transform .15s ease-out, background-color .15s ease-out;
}

.menu-toggle-icon::before,
.menu-toggle-icon::after {
	content: "";
	position: absolute;
	left: 0;
}

.menu-toggle-icon::before { top: -6px; }
.menu-toggle-icon::after  { top: 6px; }

.menu-toggle[aria-expanded="true"] .menu-toggle-icon { background: transparent; }
.menu-toggle[aria-expanded="true"] .menu-toggle-icon::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle-icon::after  { transform: translateY(-6px) rotate(-45deg); }

.site-search {
	border-top: 1px solid var(--line);
	background: var(--soft);
}

.site-search-inner {
	max-width: var(--wrap);
	margin: 0 auto;
	padding: 20px var(--gutter);
}

/* Suchformular (Kopf, Suchseite, 404) */
.search-form {
	max-width: 640px;
}

.search-label {
	display: block;
	margin-bottom: 6px;
	font-weight: 700;
	color: var(--navy);
}

.search-row {
	display: flex;
	gap: 8px;
}

.search-row input[type="search"] {
	flex: 1 1 auto;
	min-width: 0;
	min-height: 48px;
	padding: 0 16px;
	border: 2px solid var(--navy);
	border-radius: 24px;
	background: #fff;
	font: inherit;
	color: var(--ink);
}

.search-row .button {
	border: 2px solid var(--navy);
	background: var(--navy);
	color: #fff;
	cursor: pointer;
}

.search-row .button:hover {
	background: var(--navy-hover);
}

/* ---------- Schmale Fenster: Menü als Klappfläche ---------- */
/* Menüpunkte des Kreisverbands brauchen mit Logo-Block gut 1180 px */
@media (max-width: 1240px) {
	.site-nav-list {
		gap: 4px 14px;
	}

	.site-nav-list > li > a,
	.submenu-toggle-label {
		font-size: .9375rem;
	}
}

@media (max-width: 1180px) {
	:root {
		--site-header-height: 68px;
	}

	.site-header-bar {
		flex-wrap: wrap;
		gap: 12px;
	}

	.site-logo img {
		height: 44px;
	}

	.menu-toggle {
		display: inline-flex;
	}

	/* ohne JavaScript bleibt das Menü sichtbar */
	.js .site-nav {
		display: none;
	}

	.site-nav {
		order: 10;
		flex: 1 0 100%;
		margin: 0 calc(var(--gutter) * -1);
		padding: 8px var(--gutter) 20px;
		border-top: 1px solid var(--line);
		max-height: calc(100vh - var(--site-header-height));
		overflow-y: auto;
	}

	.js .menu-open .site-nav {
		display: block;
	}

	.site-nav-list {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}

	.site-nav-list > li {
		flex-wrap: wrap;
		border-bottom: 1px solid var(--line);
	}

	.site-nav-list > li > a,
	.submenu-toggle-label {
		flex: 1 1 auto;
		min-height: 52px;
		font-size: 1.125rem;
	}

	.submenu-toggle-label {
		justify-content: space-between;
	}

	.site-nav-list > li > a::after,
	.submenu-toggle-label::after {
		bottom: 10px;
		right: auto;
		width: 40px;
	}

	.submenu-toggle {
		min-width: 52px;
		min-height: 52px;
	}

	.site-nav-list .sub-menu,
	.js .site-nav-list > li:hover > .sub-menu {
		position: static;
		flex: 1 0 100%;
		min-width: 0;
		display: none;
		padding: 0 0 12px 12px;
		border: 0;
		box-shadow: none;
		visibility: visible;
		opacity: 1;
		transform: none;
		transition: none;
	}

	.site-nav-list > li > .submenu-toggle[aria-expanded="true"] ~ .sub-menu,
	html:not(.js) .site-nav-list .sub-menu {
		display: block;
	}

	.site-nav-list .sub-menu a {
		padding: 10px 0;
	}

	.site-nav-list > li.button {
		border-bottom: 0;
		padding-top: 16px;
	}

	.site-nav-list > li.button > a {
		flex: 0 0 auto;
	}

	.search-toggle {
		order: 2;
	}
}

/* =====================================================================
   Startseite
   ===================================================================== */

.fp-wrap {
	max-width: var(--wrap);
	margin: 0 auto;
	padding: 0 var(--gutter);
}

.fp-section {
	padding: 64px 0;
}

.fp-grey {
	background: var(--soft);
}

main .fp-section ul,
main .fp-hero ul {
	padding-left: 0;
}

/* style.css setzt Aufzählungspunkte per ::before an jede Liste in main (Spezifität 0,1,4) */
main ul.fp-news > li::before,
main ul.fp-dates > li::before,
main ul.fp-chips > li::before,
main ul.fp-people > li::before,
main ul.fp-topics > li::before {
	content: none;
}

main ul.fp-news > li,
main ul.fp-dates > li,
main ul.fp-chips > li,
main ul.fp-people > li,
main ul.fp-topics > li {
	margin: 0;
	list-style: none;
}

/* style.css gibt jedem <section> Flex und seitlichen Innenabstand – hier nicht */
section.fp-hero,
section.fp-section,
section.fp-join {
	display: block;
	width: auto;
	padding-left: 0;
	padding-right: 0;
}

section.fp-hero,
section.fp-join {
	padding-top: 0;
	padding-bottom: 0;
}

.fp-heading {
	margin: 0 0 32px;
	font-size: clamp(1.75rem, 3vw, 2.25rem);
	font-weight: 900;
	color: var(--navy);
}

.fp-heading::after {
	content: "";
	display: block;
	width: 85px;
	height: 10px;
	margin-top: 14px;
	background: var(--cyan);
}

.fp-heading a {
	color: inherit;
	text-decoration: none;
}

.fp-heading a:hover {
	text-decoration: underline;
	text-underline-offset: 4px;
}

.fp-more {
	margin: 32px 0 0;
}

/* main … :not(.button): stärker als die Unterstreichung für Links im Fließtext (main p a),
   sonst doppelt: Unterstreichung und gelbe Linie */
main .fp-more a:not(.button) {
	color: var(--navy);
	font-weight: 700;
	text-decoration: none;
	border-bottom: 3px solid var(--yellow);
	padding-bottom: 2px;
}

main .fp-more a:not(.button):hover {
	border-bottom-color: var(--navy);
}

.fp-empty {
	color: var(--muted);
}

/* ---------- Einstieg ---------- */

.fp-hero {
	background: var(--navy);
	color: #fff;
}

.fp-hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
	gap: 48px;
	align-items: center;
	padding-top: 64px;
	padding-bottom: 64px;
}

.fp-hero-text-only {
	grid-template-columns: minmax(0, 1fr);
}

.fp-hero h1 {
	margin: 0 0 20px;
	font-size: clamp(2.25rem, 4.6vw, 3.5rem);
	line-height: 1.08;
	font-weight: 900;
	letter-spacing: -0.02em;
	color: #fff;
	text-align: left;
	overflow-wrap: break-word;
	min-width: 0;
}

.fp-hero h1 a {
	color: inherit;
}

.fp-hero-lead {
	margin: 0 0 28px;
	max-width: 46ch;
	font-size: 1.2rem;
	color: #e6ecf5;
}

.fp-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.fp-hero-image {
	position: relative;
	margin: 0;
}

.fp-hero-image::before {
	content: "";
	position: absolute;
	left: -16px;
	bottom: -16px;
	width: 45%;
	height: 45%;
	border-radius: var(--radius);
	background: var(--cyan);
}

.fp-hero-image img {
	position: relative;
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	object-position: center 30%; /* Hochformat (Dom, Personen): Köpfe und Türme bleiben im Bild */
	border-radius: var(--radius);
}

/* ---------- Aktuelles ---------- */

.fp-news {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 40px 28px;
	margin: 0;
}

.fp-news-image {
	display: block;
	margin-bottom: 14px;
}

.fp-news-image img {
	display: block;
	width: 100%;
	aspect-ratio: 3 / 2;
	object-fit: cover;
	border-radius: var(--radius);
}

.fp-news time {
	font-size: .9rem;
	color: var(--muted);
}

.fp-news h3 {
	margin: 4px 0 0;
	font-size: 1.25rem;
	line-height: 1.3;
	font-weight: 700;
}

.fp-news h3 a {
	color: var(--navy);
	text-decoration: none;
}

.fp-news h3 a:hover {
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-underline-offset: 4px;
}

/* ganze Kachel klickbar, ohne zweiten Link im Tab-Ablauf */
.fp-news-item {
	position: relative;
}

.fp-news-item:hover .fp-news-image img {
	opacity: .92;
}

/* ---------- Veranstaltungen und Ortsverbände ---------- */

.fp-split {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 48px;
}

.fp-dates {
	margin: 0;
}

.fp-dates li {
	display: grid;
	grid-template-columns: 72px minmax(0, 1fr);
	gap: 18px;
	padding: 16px 0;
	border-top: 1px solid var(--line);
}

.fp-dates li:last-child {
	border-bottom: 1px solid var(--line);
}

.fp-day {
	padding: 8px 0;
	border-radius: var(--radius);
	background: var(--navy);
	color: #fff;
	text-align: center;
	line-height: 1.1;
}

.fp-day b {
	display: block;
	font-size: 1.5rem;
}

.fp-day span {
	font-size: .8rem;
}

.fp-dates h3 {
	margin: 2px 0;
	font-size: 1.125rem;
	line-height: 1.3;
}

.fp-dates h3 a {
	color: var(--navy);
	text-decoration: none;
}

.fp-dates h3 a:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.fp-dates p {
	margin: 0;
	color: var(--muted);
	font-size: .95rem;
}

.fp-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
}

.fp-chips a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 16px;
	border: 1px solid var(--line);
	border-radius: 22px;
	background: #fff;
	color: var(--navy);
	font-weight: 600;
	font-size: .95rem;
	text-decoration: none;
	transition: border-color .15s ease-out;
}

.fp-chips a:hover {
	border-color: var(--navy);
}

/* ---------- Personen ---------- */

.fp-people {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr));
	gap: 32px 24px;
	margin: 0;
}

.fp-person img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	border-radius: var(--radius);
	margin-bottom: 12px;
}

.fp-person h3 {
	margin: 0;
	font-size: 1.125rem;
}

.fp-person h3 a {
	color: var(--navy);
	text-decoration: none;
}

.fp-person h3 a:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.fp-person-role,
.fp-person-contact {
	margin: 4px 0 0;
	font-size: .95rem;
	color: var(--muted);
}

.fp-person-contact a {
	color: var(--navy);
	overflow-wrap: anywhere;
}

/* ---------- Themen ---------- */

.fp-topics {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
	gap: 24px;
	margin: 24px 0 0;
}

.fp-topic {
	display: block;
	color: var(--navy);
	font-weight: 700;
	font-size: 1.125rem;
	text-decoration: none;
}

.fp-topic img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: var(--radius);
	margin-bottom: 10px;
}

.fp-topic:hover span {
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* ---------- Besondere Sektion 1 (bis 1.x Magenta) ---------- */

#special-1 {
	background: var(--navy);
	color: #fff;
}

#special-1 .fp-heading,
#special-1 a {
	color: #fff;
}

/* ---------- Mitmachen ---------- */

.fp-join {
	background: var(--yellow);
}

.fp-join .fp-wrap {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding-top: 40px;
	padding-bottom: 40px;
}

.fp-join h2 {
	margin: 0;
	padding: 0;
	font-size: clamp(1.5rem, 3vw, 2.125rem);
	font-weight: 900;
	color: var(--navy);
}

@media (max-width: 860px) {
	:root {
		--gutter: 16px;
	}

	.fp-section {
		padding: 44px 0;
	}

	.fp-hero-grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 32px;
		padding-top: 40px;
		padding-bottom: 48px;
	}

	.fp-hero-lead {
		font-size: 1.0625rem;
	}

	.fp-news,
	.fp-split {
		grid-template-columns: minmax(0, 1fr);
		gap: 28px;
	}

	.fp-join .fp-wrap {
		flex-direction: column;
		align-items: flex-start;
	}
}

/* =====================================================================
   Fuß
   ===================================================================== */

footer.site-footer {
	display: block;
	padding: 48px 0 28px;
	border-top: 0;
	background: var(--navy);
	color: #dfe6f1;
	font-family: inherit;
	font-size: 1rem;
	font-weight: 400;
}

.site-footer-inner {
	max-width: var(--wrap);
	margin: 0 auto;
	padding: 0 var(--gutter);
}

.site-footer-cols {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	gap: 32px;
}

.site-footer-name {
	margin: 0 0 12px;
	font-size: 1.375rem;
	font-weight: 800;
	color: #fff;
}

.site-footer-text p {
	margin: 0 0 8px;
}

.site-footer-heading {
	margin: 0 0 10px;
	font-weight: 700;
	color: #fff;
}

.site-footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 6px;
}

.site-footer li::before {
	content: none;
}

.site-footer a {
	color: #fff;
	text-decoration: none;
}

.site-footer a:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.site-footer :focus-visible {
	outline-color: var(--yellow) !important;
}

.site-footer-social a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 32px;
}

.site-footer-social i {
	font-size: 1.25rem;
}

.site-footer-logos {
	display: flex !important;
	flex-wrap: wrap;
	align-items: center;
	gap: 32px !important;
	margin-top: 36px !important;
	padding-top: 24px !important;
	border-top: 1px solid rgba(255, 255, 255, .2);
}

.site-footer-logos a,
.site-footer-logos img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: left center;
}

@media (max-width: 860px) {
	.site-footer-cols {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
	}
}

/* Bewegung nur, wer sie möchte */
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		transition: none !important;
		animation: none !important;
		scroll-behavior: auto !important;
	}
}

/* Externe Links im Inhalt (inc/links.php): kleiner Pfeil, der Hinweis für Screenreader steht
   per aria-describedby am Link */
a.vt-extern:not(:has(img))::after {
	content: "\2009\2197" / "";
	font-size: .85em;
	text-decoration: none;
	display: inline-block;
}
