/*
Theme Name: AfD Nordhausen
Theme URI: https://www.afd-nordhausen.de/
Author: Vincent Eisfeld
Description: Eigenständiges, modernes Theme für den AfD-Kreisverband Nordhausen, angelehnt an den Auftritt von afd.de. Stellt ältere, mit Divi gebaute Seiten ohne Divi dar und übernimmt vorhandene Menüs und Fußzeilen-Widgets. Schrift (Barlow) liegt lokal im Theme.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: afd-nordhausen
*/

/* ---------- Schrift (lokal, SIL Open Font License) ---------- */
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/barlow-regular.woff") format("woff"); }
@font-face { font-family: "Barlow"; font-style: italic; font-weight: 400; font-display: swap; src: url("assets/fonts/barlow-italic.woff") format("woff"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 500; font-display: swap; src: url("assets/fonts/barlow-medium.woff") format("woff"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/barlow-semibold.woff") format("woff"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 700; font-display: swap; src: url("assets/fonts/barlow-bold.woff") format("woff"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 800; font-display: swap; src: url("assets/fonts/barlow-extrabold.woff") format("woff"); }

/* ---------- Grundwerte ---------- */
:root {
	--blau: #009ee0;
	--blau-dunkel: #0076b3;
	--blau-link: #006fa8;
	--navy: #003b63;
	--navy-tief: #002840;
	--rot: #d5172f;
	--rot-dunkel: #b01024;
	--text: #1a1f24;
	--text-leise: #56616b;
	--linie: #dfe6ec;
	--hell: #f2f6fa;
	--weiss: #fff;
	--radius: 10px;
	--radius-klein: 6px;
	--schatten: 0 1px 2px rgba(0, 40, 64, .06), 0 8px 24px rgba(0, 40, 64, .08);
	--schatten-hover: 0 2px 4px rgba(0, 40, 64, .08), 0 16px 40px rgba(0, 40, 64, .16);
	--breite: 1180px;
	--rand: clamp(18px, 4vw, 40px);
	--schrift: "Barlow", "Segoe UI", Arial, Helvetica, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--weiss);
	color: var(--text);
	font-family: var(--schrift);
	font-size: 1.125rem;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-wrap: break-word;
}
img, video, iframe, embed, object { max-width: 100%; }
img { height: auto; }
a { color: var(--blau-link); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--rot); }
:focus-visible { outline: 3px solid var(--rot); outline-offset: 2px; border-radius: 2px; }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .5em; font-weight: 700; line-height: 1.18; color: var(--navy); text-wrap: balance; }
h1 { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 800; }
h2 { font-size: clamp(1.55rem, 3vw, 2.1rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.5rem); }
h4 { font-size: 1.2rem; }
h5, h6 { font-size: 1.05rem; }
p { margin: 0 0 1.1em; }
hr { border: 0; border-top: 1px solid var(--linie); margin: 2.2rem 0; clear: both; }
button, input, select, textarea { font: inherit; color: inherit; }

.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; padding: 10px 16px; background: var(--weiss); color: var(--navy); font-weight: 700; border-radius: var(--radius-klein); }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: calc(var(--breite) + 2 * var(--rand)); margin-inline: auto; padding-inline: var(--rand); }
.container--schmal { max-width: calc(780px + 2 * var(--rand)); }
.container--mittel { max-width: calc(1000px + 2 * var(--rand)); }
.icon { flex: none; vertical-align: -.18em; }

/* ---------- Schaltflächen ---------- */
.btn, .wp-block-button__link, input[type="submit"], button[type="submit"] {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	padding: .72em 1.35em;
	border: 2px solid transparent; border-radius: var(--radius-klein);
	background: var(--blau-dunkel); color: var(--weiss);
	font-weight: 700; font-size: 1rem; line-height: 1.2; letter-spacing: .03em; text-transform: uppercase; text-decoration: none;
	cursor: pointer;
	transition: background-color .15s, color .15s, border-color .15s, transform .15s;
}
.btn:hover, .wp-block-button__link:hover, input[type="submit"]:hover, button[type="submit"]:hover { background: var(--navy); color: var(--weiss); transform: translateY(-1px); }
.btn--blau { background: var(--blau-dunkel); }
.btn--rot { background: var(--rot); }
.btn--rot:hover { background: var(--rot-dunkel); }
.btn--weiss { background: var(--weiss); color: var(--navy); }
.btn--weiss:hover { background: var(--hell); color: var(--navy); }
.btn--hell { background: var(--navy); border-color: var(--navy); color: var(--weiss); }
.btn--hell:hover { background: var(--weiss); color: var(--navy); }
.btn--rand { background: transparent; border-color: rgba(255, 255, 255, .75); color: var(--weiss); }
.btn--rand:hover { background: var(--weiss); color: var(--navy); }
.btn--klein { padding: .5em 1em; font-size: .9rem; }
.btn--gross { padding: .9em 1.7em; font-size: 1.08rem; }

/* ---------- Kopf ---------- */
.topbar { background: var(--navy-tief); color: #cfe3f1; font-size: .9rem; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.topbar__contact { display: flex; flex-wrap: wrap; gap: 4px 22px; margin: 0; padding: 0; list-style: none; }
.topbar a { display: inline-flex; align-items: center; gap: 7px; color: inherit; text-decoration: none; }
.topbar a:hover { color: var(--weiss); }

.social { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.social a { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: inherit; text-decoration: none; transition: background-color .15s, color .15s; }
.social--topbar a:hover { background: rgba(255, 255, 255, .14); }
.social--footer a, .social--farbig a { width: 40px; height: 40px; background: rgba(255, 255, 255, .12); color: var(--weiss); }
.social--farbig a { background: var(--navy); }
.social--footer a:hover, .social--farbig a:hover { background: var(--rot); color: var(--weiss); }

.site-header { position: relative; background: var(--blau); color: var(--weiss); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 92px; padding-block: 14px; }
.site-logo { flex: 0 1 auto; min-width: 0; }
.site-logo a { display: block; }
.site-logo img { position: relative; top: 5px; display: block; width: auto; height: auto; max-height: 62px; max-width: min(330px, 100%); }
.site-header__actions { display: flex; align-items: center; gap: 10px; flex: none; }
.icon-btn { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--weiss); cursor: pointer; transition: background-color .15s; }
.icon-btn:hover, .icon-btn[aria-expanded="true"] { background: rgba(0, 40, 64, .22); }
.burger { display: grid; gap: 5px; width: 22px; }
.burger i { display: block; height: 2.5px; border-radius: 2px; background: currentColor; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] .burger i:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .burger i:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .burger i:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
.nav-toggle { display: none; }

.search-panel { background: var(--blau-dunkel); padding: 18px 0; }
.search-form { display: flex; flex-wrap: wrap; gap: 10px; }
.search-form button { flex: 1 0 auto; }
.search-form input[type="search"] { flex: 999 1 12rem; min-width: 0; padding: .7em 1em; border: 2px solid var(--linie); border-radius: var(--radius-klein); background: var(--weiss); color: var(--text); }
.search-panel .search-form input[type="search"] { border-color: transparent; }
.search-again { max-width: 640px; margin-bottom: 40px; }

/* ---------- Hauptmenü ---------- */
.main-nav { position: sticky; top: 0; z-index: 90; background: var(--weiss); box-shadow: 0 1px 0 var(--linie), 0 6px 18px rgba(0, 40, 64, .06); }
.admin-bar .main-nav { top: 32px; }
.main-nav ul { margin: 0; padding: 0; list-style: none; }
.main-nav .menu { display: flex; flex-wrap: wrap; gap: 0 4px; margin-inline: -12px; }
.main-nav li { position: relative; }
.main-nav a { display: block; padding: 17px 12px; color: var(--navy); font-size: .98rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; cursor: pointer; }
.main-nav .menu > li > a { position: relative; }
.main-nav a:hover, .main-nav .current-menu-item > a { color: var(--blau-dunkel); }
.main-nav__mobile-extra { display: none; }
.sub-toggle { display: none; }

/* Klickbare Menüpunkte (mit eigener Seite) bekommen beim Überfahren einen Streifen,
   der von links nach rechts ausfährt – auch Hauptpunkte mit Untermenü. Punkte ohne
   eigene Seite (z. B. „Fraktionen“) öffnen nur ihr Untermenü und bleiben ohne Streifen. */
@media (min-width: 1000px) {
	.main-nav a { --strich-l: 12px; --strich-r: 12px; --strich-u: 9px; }
	.main-nav .menu > .menu-item-has-children > a, .main-nav .menu > .page_item_has_children > a { --strich-r: 36px; }
	.main-nav .sub-menu a, .main-nav .children a { position: relative; --strich-l: 14px; --strich-r: 14px; --strich-u: 5px; }
	.main-nav .sub-menu .menu-item-has-children > a, .main-nav .children .page_item_has_children > a { --strich-r: 34px; }
	.main-nav a[href]:not([href="#"])::before { content: ""; position: absolute; left: var(--strich-l); right: var(--strich-r); bottom: var(--strich-u); height: 3px; border-radius: 2px; background: var(--rot); transform: scaleX(0); transform-origin: left center; transition: transform .28s ease; }
	.main-nav a[href]:not([href="#"]):hover::before, .main-nav a[href]:not([href="#"]):focus-visible::before,
	.main-nav .current-menu-item > a[href]::before, .main-nav .current_page_item > a[href]::before { transform: scaleX(1); }
}
@media (min-width: 1000px) and (max-width: 1320px) {
	.main-nav .menu { gap: 0; }
	.main-nav .menu > li > a { padding-inline: 9px; font-size: .92rem; letter-spacing: .02em; --strich-l: 9px; }
	.main-nav .menu > li:not(.menu-item-has-children):not(.page_item_has_children) > a { --strich-r: 9px; }
}
@media (min-width: 1000px) {
	.main-nav .menu > .menu-item-has-children > a, .main-nav .menu > .page_item_has_children > a { padding-right: 36px; }
	.main-nav .menu > li > .sub-toggle { display: grid; place-items: center; position: absolute; right: 0; top: 50%; width: 36px; height: 44px; margin-top: -22px; border-radius: var(--radius-klein); padding: 0; border: 0; background: none; color: var(--navy); cursor: pointer; }
	.main-nav .sub-menu, .main-nav .children {
		position: absolute; left: 0; top: 100%; z-index: 95; min-width: 250px; padding: 8px;
		background: var(--weiss); border-radius: 0 0 var(--radius) var(--radius); box-shadow: var(--schatten-hover);
		opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s;
	}
	.main-nav .sub-menu .sub-menu, .main-nav .children .children { left: 100%; top: -11px; border-radius: var(--radius); }
	.main-nav li:hover > .sub-menu, .main-nav li:focus-within > .sub-menu, .main-nav li.is-open > .sub-menu,
	.main-nav li:hover > .children, .main-nav li:focus-within > .children, .main-nav li.is-open > .children { opacity: 1; visibility: visible; transform: none; }
	.main-nav .sub-menu a, .main-nav .children a { padding: 10px 14px; border-radius: var(--radius-klein); font-size: .95rem; font-weight: 600; letter-spacing: 0; text-transform: none; }
	.main-nav .sub-menu a:hover, .main-nav .children a:hover { background: var(--hell); }
	.main-nav .sub-menu .menu-item-has-children > a::after { content: "›"; float: right; margin-left: 12px; color: var(--rot); font-weight: 700; }
}

@media (max-width: 999.98px) {
	.nav-toggle { display: grid; }
	.header-cta { display: none; }
	.topbar__inner { padding-block: 6px; }
	.site-header { position: sticky; top: 0; z-index: 100; }
	.site-header__inner { min-height: 68px; padding-block: 10px; }
	.site-logo img { max-height: 46px; }
	.main-nav { position: fixed; inset: 0; top: var(--nav-top, 68px); z-index: 99; overflow-y: auto; padding: 8px 0 40px; box-shadow: none; transform: translateX(100%); visibility: hidden; transition: transform .25s, visibility .25s; }
	.main-nav.is-open { transform: none; visibility: visible; }
	.nav-open { overflow: hidden; }
	.main-nav .menu { display: block; margin: 0; }
	.main-nav li { display: flex; flex-wrap: wrap; align-items: center; border-bottom: 1px solid var(--linie); }
	.main-nav a { flex: 1; padding: 15px 0; font-size: 1.05rem; }
	.sub-toggle { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: var(--hell); color: var(--navy); cursor: pointer; transition: transform .2s; }
	.is-open > .sub-toggle { transform: rotate(180deg); }
	.main-nav .sub-menu, .main-nav .children { display: none; flex-basis: 100%; padding-left: 18px; border-top: 1px solid var(--linie); }
	.main-nav .is-open > .sub-menu, .main-nav .is-open > .children { display: block; }
	.main-nav .sub-menu li:last-child, .main-nav .children li:last-child { border-bottom: 0; }
	.main-nav .sub-menu a, .main-nav .children a { font-weight: 600; letter-spacing: 0; text-transform: none; }
	/* Gleicher Streifen wie am Desktop: unter dem Text klickbarer Punkte, fährt von links aus. */
	.main-nav .menu-text { position: relative; display: inline-block; }
	.main-nav a[href]:not([href="#"]) .menu-text::after { content: ""; position: absolute; left: 0; right: 0; bottom: -5px; height: 3px; border-radius: 2px; background: var(--rot); transform: scaleX(0); transform-origin: left center; transition: transform .28s ease; }
	.main-nav a[href]:not([href="#"]):hover .menu-text::after, .main-nav a[href]:not([href="#"]):active .menu-text::after, .main-nav a[href]:not([href="#"]):focus-visible .menu-text::after,
	.main-nav .current-menu-item > a[href] .menu-text::after, .main-nav .current_page_item > a[href] .menu-text::after { transform: scaleX(1); }
	.main-nav__mobile-extra { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
	.main-nav__mobile-extra .btn { flex: 1 1 160px; padding: .8em 1em; color: var(--weiss); font-size: 1rem; }
}
@media (max-width: 782px) { .admin-bar .main-nav { top: 46px; } }
@media (max-width: 600px) {
	.topbar { font-size: .84rem; }
	.topbar__contact { gap: 2px 14px; }
	.topbar .social--topbar { display: none; }
}

/* ---------- Startseite: Kopfbereich ---------- */
.hero {
	position: relative; overflow: hidden; color: var(--weiss);
	background-color: var(--navy);
	background-image: radial-gradient(120% 140% at 85% 0%, rgba(0, 158, 224, .55) 0%, rgba(0, 158, 224, 0) 55%), linear-gradient(160deg, #004a7c 0%, var(--navy) 55%, var(--navy-tief) 100%);
}
.hero::after { content: ""; position: absolute; right: 0; bottom: 0; width: min(78vw, 1000px); aspect-ratio: 899 / 225; background: url("assets/img/skyline.png") no-repeat right bottom / contain; background-image: image-set(url("assets/img/skyline.avif") type("image/avif"), url("assets/img/skyline.png") type("image/png")); opacity: .16; pointer-events: none; }
@media (max-width: 700px) { .hero::after { width: 116vw; right: -8vw; opacity: .11; } }
/* Schwarz-Rot-Gold: schräges Band über die obere rechte Ecke, vom Rand unter der
   Navigation bis zum rechten Bildschirmrand. */
.hero__flagge { position: absolute; top: 0; right: 0; width: clamp(170px, 32vw, 480px); aspect-ratio: 1; background: linear-gradient(45deg, transparent 55.8%, #ffce00 56%, #ffce00 63.8%, #dd0000 64%, #dd0000 71.8%, #000 72%, #000 79.8%, transparent 80%); filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .55)) drop-shadow(0 2px 4px rgba(0, 0, 0, .35)); pointer-events: none; }
.hero--bild { background-size: cover; background-position: center; }
.hero--bild::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 40, 64, .88) 0%, rgba(0, 40, 64, .55) 60%, rgba(0, 40, 64, .2) 100%); }
.hero--bild::after { display: none; }
.hero__inner { position: relative; z-index: 1; padding-block: clamp(56px, 9vw, 120px); }
.hero__kicker { display: inline-block; margin: 0 0 18px; padding: 6px 14px; border-radius: 99px; background: rgba(255, 255, 255, .14); font-size: .95rem; font-weight: 600; letter-spacing: .06em; text-transform: none; }
.hero__title { max-width: 20ch; overflow-wrap: normal; hyphens: manual; margin: 0 0 20px; color: var(--weiss); font-size: clamp(2.1rem, 6.6vw, 4.8rem); font-weight: 800; line-height: 1.02; letter-spacing: -.01em; text-transform: uppercase; }
.hero__text { max-width: 44ch; margin: 0 0 32px; font-size: clamp(1.1rem, 2vw, 1.35rem); color: #dcecf7; }
.hero__buttons { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Abschnitte ---------- */
.section { padding-block: clamp(48px, 7vw, 88px); }
.section--hell { background: var(--hell); }
.section--navy { background: linear-gradient(180deg, var(--navy) 0%, #00568f 100%); color: var(--weiss); }
.section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: clamp(24px, 3vw, 36px); }
.section__title { position: relative; margin: 0; padding-bottom: 14px; font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 800; text-transform: uppercase; letter-spacing: .01em; }
.section__title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 64px; height: 5px; border-radius: 3px; background: var(--rot); }
.section--navy .section__title { color: var(--weiss); }
.lead { font-size: 1.25rem; color: var(--text-leise); }

/* ---------- Beitragskarten ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: clamp(18px, 2.4vw, 30px); }
.card { display: flex; min-width: 0; }
.card__link { display: flex; flex-direction: column; width: 100%; overflow: hidden; border-radius: var(--radius); background: var(--weiss); box-shadow: var(--schatten); color: inherit; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.card__link:hover { color: inherit; transform: translateY(-4px); box-shadow: var(--schatten-hover); }
.card__media { display: block; position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: linear-gradient(135deg, #e3f3fb, #cfe6f4); }
.card__media img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card__link:hover .card__media img { transform: scale(1.04); }
.card__media--contain img { object-fit: contain; padding: 14px; }
.card__media--empty { background: linear-gradient(135deg, var(--blau) 0%, var(--navy) 100%); }
.card__media--empty::after { content: ""; position: absolute; left: 50%; top: 50%; width: 46%; aspect-ratio: 2.4; border: 12px solid var(--rot); border-top-color: transparent; border-left-color: transparent; border-radius: 50%; transform: translate(-50%, -62%) rotate(-18deg); }
.card__body { display: flex; flex: 1; flex-direction: column; padding: 20px 22px 22px; }
.card__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-bottom: 8px; color: var(--text-leise); font-size: .9rem; font-weight: 500; }
.card__autor::before, .post-head__autor::before { content: "·"; margin-right: 10px; }
.post-head__autor a { color: inherit; text-decoration-color: var(--rot); }
.post-head__autor a:hover { color: var(--rot); }
.card__cat, .chip { display: inline-block; padding: 2px 10px; border-radius: 99px; background: #e3f3fb; color: var(--navy); font-size: .8rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; }
.card__title { margin: 0 0 10px; font-size: 1.28rem; line-height: 1.25; color: var(--navy); transition: color .15s; }
.card__link:hover .card__title { color: var(--blau-dunkel); }
.card__excerpt { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 4; color: #3f4a54; font-size: 1rem; line-height: 1.5; }
.card__body { min-height: 13rem; }
.card__more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 16px; color: var(--rot); font-size: .9rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.card__more .icon { transition: transform .2s; }
.card__link:hover .card__more .icon { transform: translateX(4px); }

@media (min-width: 720px) {
	.card-grid--lead { grid-template-columns: repeat(2, 1fr); }
	.card-grid--lead .card--featured { grid-column: 1 / -1; }
	.card--featured .card__title { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
	.card--featured .card__excerpt { font-size: 1.1rem; }
}
@media (min-width: 1040px) {
	.card-grid--lead { grid-template-columns: repeat(3, 1fr); }
	.card-grid--lead .card--featured { grid-column: span 2; grid-row: span 2; }
	.card--featured .card__media { flex: 1; aspect-ratio: auto; min-height: 340px; }
	.card--featured .card__body { flex: none; padding: 26px 30px 30px; }
}

/* ---------- Kacheln ---------- */
.tile-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 20px; }
.tile { position: relative; display: block; padding: 26px 26px 62px; border: 1px solid rgba(255, 255, 255, .22); border-radius: var(--radius); background: rgba(255, 255, 255, .07); color: var(--weiss); text-decoration: none; transition: background-color .2s, transform .2s, border-color .2s; }
.tile:hover { background: var(--weiss); border-color: var(--weiss); color: var(--text); transform: translateY(-4px); }
.tile__title { margin: 0 0 8px; color: inherit; font-size: 1.35rem; }
.tile:hover .tile__title { color: var(--navy); }
.tile p { margin: 0; font-size: 1rem; opacity: .9; }
.tile__more { position: absolute; left: 26px; bottom: 22px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--rot); color: var(--weiss); }

/* ---------- Seitenzahlen ---------- */
.pagination { margin-top: clamp(32px, 4vw, 52px); }
.pagination ul.page-numbers { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pagination li .page-numbers { display: grid; place-items: center; min-width: 46px; height: 46px; padding: 0 12px; border: 2px solid var(--linie); border-radius: var(--radius-klein); color: var(--navy); font-weight: 700; text-decoration: none; }
.pagination a.page-numbers:hover { border-color: var(--blau-dunkel); background: var(--blau-dunkel); color: var(--weiss); }
.pagination li .page-numbers.current { border-color: var(--navy); background: var(--navy); color: var(--weiss); }
.pagination li .page-numbers.dots { border-color: transparent; }

/* ---------- Seitenkopf ---------- */
.page-head { position: relative; overflow: hidden; padding-block: clamp(36px, 6vw, 68px); background: linear-gradient(120deg, var(--navy) 0%, #00619f 70%, var(--blau) 130%); color: var(--weiss); }
.page-head::after { content: ""; position: absolute; right: 0; bottom: 0; width: min(62vw, 640px); aspect-ratio: 899 / 225; background: url("assets/img/skyline.png") no-repeat right bottom / contain; background-image: image-set(url("assets/img/skyline.avif") type("image/avif"), url("assets/img/skyline.png") type("image/png")); opacity: .16; pointer-events: none; }
.page-head .container { position: relative; z-index: 1; }
.page-head__title { margin: 0; color: var(--weiss); font-size: clamp(2rem, 5vw, 3.3rem); text-transform: uppercase; letter-spacing: .005em; }
.page-head__text { max-width: 60ch; margin-top: 12px; color: #dcecf7; }
@media (max-width: 700px) { .page-head::after { width: 86vw; opacity: .11; } }
.page-body { padding-block: clamp(36px, 5vw, 64px); }
.page-body > .entry-content { max-width: 920px; }

/* ---------- Beitrag ---------- */
.post-head { padding-block: clamp(36px, 5vw, 60px) clamp(20px, 3vw, 32px); background: var(--hell); }
.post-head__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0 0 14px; color: var(--text-leise); font-weight: 600; }
.post-head__meta .chip:hover { background: var(--navy); color: var(--weiss); }
.post-head__title { margin: 0; font-size: clamp(1.85rem, 4.4vw, 2.9rem); line-height: 1.12; }
.post-figure { margin: 0; background: linear-gradient(180deg, var(--hell) 0 50%, transparent 50%); }
.post-figure img { display: block; width: 100%; max-height: 640px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--schatten); }
.post-figure--contain { padding-bottom: 8px; background: var(--hell); }
.post-figure--contain img { width: auto; max-width: 100%; max-height: 460px; margin-inline: auto; object-fit: contain; box-shadow: none; }
.post-figure figcaption { margin-top: 8px; color: var(--text-leise); font-size: .9rem; }
.post-article .entry-content { padding-block: clamp(28px, 4vw, 44px) 8px; }
.post-tags a { display: inline-block; margin: 0 6px 6px 0; padding: 3px 12px; border-radius: 99px; background: var(--hell); font-size: .9rem; text-decoration: none; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-block: 36px 56px; padding-top: 28px; border-top: 1px solid var(--linie); }
.post-nav__item span { display: block; margin-bottom: 4px; color: var(--text-leise); font-size: .85rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.post-nav__item a { color: var(--navy); font-weight: 700; line-height: 1.3; text-decoration: none; }
.post-nav__item a:hover { color: var(--rot); }
.post-nav__item--next { grid-column: 2; text-align: right; }
@media (max-width: 560px) { .post-nav { grid-template-columns: 1fr; } .post-nav__item--next { grid-column: 1; text-align: left; } }

/* ---------- Inhalt ---------- */
.entry-content { font-size: 1.15rem; line-height: 1.68; }
.entry-content::after { content: ""; display: table; clear: both; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content h1 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); }
.entry-content h2, .entry-content h3, .entry-content h4 { margin-top: 1.6em; }
.entry-content h2:first-child, .entry-content h3:first-child, .entry-content h4:first-child { margin-top: 0; }
.entry-content ul, .entry-content ol { margin: 0 0 1.2em; padding-left: 1.3em; }
.entry-content li { margin-bottom: .35em; }
.entry-content ul li::marker { color: var(--rot); }
.entry-content blockquote { margin: 1.6em 0; padding: 18px 24px; border-left: 5px solid var(--blau); border-radius: 0 var(--radius) var(--radius) 0; background: var(--hell); color: var(--navy); font-size: 1.18rem; font-weight: 500; }
.entry-content blockquote > :last-child { margin-bottom: 0; }
.entry-content img { border-radius: var(--radius-klein); }
.entry-content iframe { display: block; width: 100%; border: 0; }
.entry-content figure { margin: 1.6em 0; }
.entry-content figcaption, .wp-caption-text { margin-top: 8px; color: var(--text-leise); font-size: .92rem; text-align: center; }
.wp-caption { max-width: 100%; margin-bottom: 1.4em; }
.wp-caption img { display: block; }
.alignleft { float: left; margin: .3em 1.6em 1em 0; max-width: 50%; }
.alignright { float: right; margin: .3em 0 1em 1.6em; max-width: 50%; }
.aligncenter { display: block; margin-inline: auto; }
img.alignnone, .alignnone { margin-bottom: 1em; }
@media (max-width: 560px) {
	.alignleft, .alignright { float: none; display: block; max-width: 100%; margin: 0 0 1em; }
}
.entry-content .wp-block-file { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 16px 20px; border: 1px solid var(--linie); border-radius: var(--radius); background: var(--hell); }
.entry-content .wp-block-file__button { padding: .5em 1em; border-radius: var(--radius-klein); background: var(--rot); color: var(--weiss); font-size: .9rem; font-weight: 700; text-transform: uppercase; text-decoration: none; }
.page-links { margin-top: 2em; font-weight: 700; }

/* Alte Inline-Formatierungen (Schmuckschrift, grelles Rot) ans Theme angleichen */
.entry-content [style*="Rock Salt"] { font-family: inherit !important; font-weight: 800 !important; }
.entry-content [style*="#ff0000"], .entry-content [style*="#e02b20"], .entry-content [style*="#e2001a"] { color: var(--rot) !important; }
.entry-content p > span[style*="xx-large"] { display: block; font-size: clamp(1.7rem, 3.4vw, 2.3rem) !important; line-height: 1.15; color: var(--navy); }

/* Tabellen */
.table-scroll { overflow-x: auto; margin: 0 0 1.5em; border: 1px solid var(--linie); border-radius: var(--radius); -webkit-overflow-scrolling: touch; }
.table-scroll table { margin: 0; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 1rem; line-height: 1.45; }
.entry-content table[width] { width: 100%; }
.entry-content th, .entry-content td { padding: 11px 14px; border-bottom: 1px solid var(--linie); text-align: left; vertical-align: top; }
.entry-content td[width], .entry-content th[width] { width: auto; }
.entry-content td:first-child { white-space: nowrap; }
.entry-content thead th, .entry-content table > tbody > tr > th { background: var(--navy); color: var(--weiss); font-weight: 700; }
.entry-content tbody tr:nth-child(even) > td { background: #f7fafc; }
.entry-content tbody tr:last-child > td { border-bottom: 0; }
.entry-content .tablepress { margin-bottom: 0; }
.entry-content .tablepress thead th, .entry-content .tablepress tfoot th { background: var(--navy); color: var(--weiss); }

/* Formulare */
.entry-content input[type="text"], .entry-content input[type="email"], .entry-content input[type="url"], .entry-content input[type="tel"], .entry-content input[type="password"], .entry-content input[type="number"], .entry-content select, .entry-content textarea,
.comments input[type="text"], .comments input[type="email"], .comments input[type="url"], .comments textarea {
	width: 100%; max-width: 560px; padding: .65em .9em; border: 2px solid var(--linie); border-radius: var(--radius-klein); background: var(--weiss);
}
.entry-content textarea, .comments textarea { max-width: 100%; }
.entry-content input:focus, .entry-content textarea:focus, .comments input:focus, .comments textarea:focus, .search-form input:focus { outline: 0; border-color: var(--blau); box-shadow: 0 0 0 3px rgba(0, 158, 224, .25); }
.entry-content label { font-weight: 600; }

/* ---------- Divi-Altinhalte ---------- */
.dv-section { padding-block: clamp(28px, 4vw, 52px); }
.dv-section:first-child { padding-top: clamp(36px, 5vw, 64px); }
.dv-section:last-child { padding-bottom: clamp(40px, 6vw, 80px); }
.dv-section--full { padding-block: 0 !important; }
.dv-section--bg { background-size: cover; background-position: center; background-color: var(--navy); }
.dv-container { width: 100%; max-width: calc(var(--breite) + 2 * var(--rand)); margin-inline: auto; padding-inline: var(--rand); }
.dv-row { --abstand: clamp(24px, 4vw, 52px); display: flex; flex-wrap: wrap; gap: var(--abstand); }
.dv-row + .dv-row { margin-top: clamp(24px, 3vw, 40px); }
.dv-col { flex: 1 1 0; min-width: 0; }
.dv-col-4_4 { flex-basis: 100%; }
.dv-col-1_2 { flex: 0 1 calc(50% - var(--abstand) * .5); }
.dv-col-1_3 { flex: 0 1 calc(33.333% - var(--abstand) * .6667); }
.dv-col-2_3 { flex: 0 1 calc(66.667% - var(--abstand) * .3333); }
.dv-col-1_4 { flex: 0 1 calc(25% - var(--abstand) * .75); }
.dv-col-3_4 { flex: 0 1 calc(75% - var(--abstand) * .25); }
.dv-col-1_5 { flex: 0 1 calc(20% - var(--abstand) * .8); }
.dv-col-1_6 { flex: 0 1 calc(16.667% - var(--abstand) * .8333); }
@media (max-width: 860px) { .dv-col { flex: 1 1 100% !important; } }
.dv-module + .dv-module, .dv-module + .dv-row, .dv-row + .dv-module { margin-top: 1.5rem; }
.dv-text > :last-child, .dv-blurb__body > :last-child, .dv-cta > :last-child { margin-bottom: 0; }
.dv-align-center { text-align: center; }
.dv-align-right { text-align: right; }
.dv-image img { display: block; }
.dv-image.dv-align-center img { margin-inline: auto; }
.dv-image--full img { width: 100%; border-radius: 0; }
.dv-code iframe { min-height: 320px; }
.dv-blurb { display: flex; gap: 16px; padding: 20px 22px; border-radius: var(--radius); background: var(--hell); }
.dv-blurb__icon { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--blau); color: var(--weiss); }
.dv-blurb__image { flex: none; width: 64px; height: 64px; object-fit: contain; }
.dv-blurb__title { margin: 4px 0 6px !important; font-size: 1.2rem; }
.dv-blurb__title a { color: inherit; text-decoration: none; }
.dv-blurb__body { font-size: 1.05rem; line-height: 1.5; }
.dv-cta { padding: clamp(24px, 4vw, 40px); border-radius: var(--radius); background: var(--navy); color: var(--weiss); text-align: center; box-shadow: var(--schatten); }
.dv-cta__title { margin-top: 0 !important; color: var(--weiss); }
.dv-countdown { padding: 28px; border-radius: var(--radius); background: var(--navy); color: var(--weiss); text-align: center; }
.dv-countdown__title { color: var(--weiss); margin-top: 0 !important; }
.dv-countdown__units { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 32px; font-size: .9rem; text-transform: uppercase; letter-spacing: .06em; }
.dv-countdown__units b { display: block; font-size: 2.6rem; line-height: 1.1; font-variant-numeric: tabular-nums; }
.dv-sidebar .widget { margin-bottom: 1.5rem; padding: 20px 22px; border-radius: var(--radius); background: var(--hell); font-size: 1rem; }
.dv-sidebar .widget-title { font-size: 1.15rem; margin: 0 0 .5em !important; }
.dv-content .card-grid { margin-top: 1.5rem; }
.dv-content ul.social { padding-left: 0; }
.dv-content ul.social li { margin: 0; }

/* ---------- Kommentare ---------- */
.comments { margin-block: 20px 60px; padding-top: 32px; border-top: 1px solid var(--linie); }
.comment-list, .comment-list .children { margin: 0; padding: 0; list-style: none; }
.comment-list .children { padding-left: clamp(16px, 4vw, 40px); }
.comment-body { margin-bottom: 18px; padding: 18px 20px; border-radius: var(--radius); background: var(--hell); }
.comment-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin-bottom: 8px; font-size: .92rem; }
.comment-author { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.comment-author img { border-radius: 50%; }
.comment-form p { margin-bottom: 14px; }
.comment-form label { display: block; margin-bottom: 4px; font-weight: 600; }
.comment-form-cookies-consent label { display: inline; font-weight: 400; }

/* ---------- Mitmach-Band und Fuß ---------- */
.action-band { background: linear-gradient(120deg, var(--blau-dunkel) 0%, #00619f 100%); color: var(--weiss); }
.action-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; padding-block: clamp(36px, 5vw, 56px); }
.action-band__title { margin: 0 0 6px; color: var(--weiss); font-size: clamp(1.8rem, 3.6vw, 2.5rem); font-weight: 800; text-transform: uppercase; }
.action-band__text { max-width: 48ch; margin: 0; font-weight: 500; }
.action-band__buttons { display: flex; flex-wrap: wrap; gap: 12px; }

.site-footer { background: var(--navy); color: #d4e4f0; font-size: 1.02rem; }
.site-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 36px 44px; padding-block: clamp(44px, 6vw, 72px); }
.site-footer__logo img { display: block; width: auto; max-width: 260px; max-height: 64px; margin-bottom: 18px; }
.site-footer a { color: var(--weiss); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer .social a:hover { text-decoration: none; }
.site-footer .widget + .widget { margin-top: 28px; }
.site-footer .widget-title { margin: 0 0 14px; color: var(--weiss); font-size: 1.05rem; letter-spacing: .08em; text-transform: uppercase; }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer .widget li { margin-bottom: 8px; }
.site-footer p { margin-bottom: .9em; }
.site-footer__bottom { background: var(--navy-tief); font-size: .95rem; }
.site-footer__bottom-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 28px; padding-block: 16px; }
.site-footer__bottom p { margin: 0; }
.footer-menu { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.site-footer .widget li a, .footer-menu a, .site-footer__bottom .link-knopf { display: inline-block; min-height: 32px; padding-block: 4px; }
.link-knopf { padding: 0; border: 0; background: none; color: var(--weiss); font: inherit; cursor: pointer; }
.link-knopf:hover { text-decoration: underline; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media print {
	.topbar, .site-header__actions, .main-nav, .action-band, .site-footer, .post-nav { display: none !important; }
	.site-header, .page-head, .hero { background: none !important; color: #000 !important; }
	.hero__flagge { display: none; }
}

/* ---------- Plugin „Team Showcase“: Personenkacheln mobil zweispaltig ---------- */
@media (max-width: 767px) {
	.entry-content .wpm-6310-no-carousel { width: calc(100% + 12px); margin-left: -6px; }
	.entry-content .wpm-6310-row > [class*="wpm-6310-col-"]:not(.wpm-6310-col-1) { width: calc(50% - 12px) !important; margin: 0 6px 12px !important; }
	.entry-content .wpm_6310_team_style_2 figcaption { left: 6px; right: 6px; bottom: -84px; }
	.entry-content .wpm-6310-row [class*="_title"] { margin: 7px 4px 6px; font-size: 14px; line-height: 1.15; letter-spacing: 0; }
	.entry-content .wpm-6310-row [class*="_designation"] { font-size: 12px; line-height: 1.3; }
}
.entry-content .wpm-6310-row [class*="_title"], .entry-content .wpm-6310-row [class*="_designation"] { font-family: var(--schrift) !important; }

/* ---------- Kampagnenseite (Vorlage „Kampagnenseite“) ---------- */
.kp { --kp-streifen: linear-gradient(90deg, var(--rot) 0 33.33%, var(--weiss) 33.33% 66.66%, var(--blau) 66.66% 100%); }
.kp section { position: relative; }
.kp-wrap { width: 100%; max-width: calc(var(--breite) + 2 * var(--rand)); margin-inline: auto; padding-inline: var(--rand); }
.kp h2 { margin: 0 0 .5em; font-size: clamp(1.9rem, 4.4vw, 3rem); font-weight: 800; line-height: 1.05; text-transform: uppercase; letter-spacing: .005em; }
.kp-kicker { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; color: var(--rot); font-size: .95rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.kp-kicker::before { content: ""; flex: none; width: 28px; height: 4px; border-radius: 2px; background: currentColor; }

/* Vom Editor eingefügte leere Absätze und Umbrüche neutralisieren */
.kp p:empty { display: none; }
.kp section > br, .kp .kp-wrap > br, .uu-orte > br, .uu-galerie > br, .mw-karten > br, .kp-themen > br, .kp-hero__buttons br, .kp-mitmachen__buttons br, .mw-sprung br { display: none; }
.kp blockquote p { margin: 0; }
.kp blockquote p + p { margin-top: .6em; }

/* Kopf */
.kp-hero { overflow: hidden; background: linear-gradient(135deg, var(--navy-tief) 0%, var(--navy) 55%, #00588f 100%); color: var(--weiss); }
.kp-hero::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 8px; background: var(--kp-streifen); z-index: 2; }
.kp-hero__inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: end; gap: clamp(24px, 4vw, 64px); }
.kp-hero__text { padding-block: clamp(56px, 8vw, 110px); }
.kp-hero__label { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; padding: 7px 16px; border-radius: 99px; background: var(--rot); font-size: .95rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.kp-hero__name { margin: 0; color: var(--weiss); font-size: clamp(3.2rem, 9.6vw, 7.4rem); font-weight: 800; line-height: .88; letter-spacing: -.015em; text-transform: uppercase; }
.kp-hero__name span, .kp-zeile { display: block; }
.kp-hero__name span:last-child, .kp-zeile--blau { color: var(--blau); }
.kp-hero__amt { display: flex; align-items: center; gap: 16px; margin: 20px 0 0; font-size: clamp(1.25rem, 2.8vw, 1.9rem); font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.kp-hero__amt::before, .kp-hero__amt::after { content: ""; flex: 0 0 clamp(24px, 5vw, 56px); height: 4px; background: var(--rot); }
.kp-hero__amt::after { flex: 1 1 auto; max-width: 120px; background: rgba(255, 255, 255, .35); }
.kp-hero__claim { max-width: 34ch; margin: 26px 0 30px; font-size: clamp(1.15rem, 2.1vw, 1.45rem); line-height: 1.45; color: #dcecf7; }
.kp-hero__buttons { display: flex; flex-wrap: wrap; gap: 14px; margin: 0; }
.kp-hero__bild { position: relative; align-self: end; margin: 0; padding-top: clamp(28px, 4vw, 56px); }
.kp-hero__bild::before { content: ""; position: absolute; left: -14px; right: 14px; top: clamp(44px, 5vw, 72px); bottom: 0; border: 4px solid var(--rot); border-bottom: 0; border-radius: var(--radius) var(--radius) 0 0; }
.kp-hero__bild img { position: relative; display: block; width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; object-position: center 20%; border-radius: var(--radius) var(--radius) 0 0; box-shadow: 0 30px 60px rgba(0, 20, 40, .45); }

/* Wahltag */
.kp-wahltag { background: var(--rot); color: var(--weiss); }
.kp-wahltag__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 40px; padding-block: 22px; }
.kp-wahltag__datum { margin: 0; font-size: clamp(1.25rem, 2.6vw, 1.7rem); font-weight: 800; text-transform: uppercase; letter-spacing: .03em; }
.kp-wahltag__datum small { display: block; font-size: .62em; font-weight: 600; letter-spacing: .12em; opacity: .9; }
.kp-countdown { display: grid; grid-template-columns: repeat(4, minmax(0, auto)); gap: clamp(10px, 3vw, 34px); max-width: 100%; font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.kp-countdown__teil { min-width: 0; text-align: center; }
.kp-countdown b { display: block; font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; line-height: 1; letter-spacing: 0; font-variant-numeric: tabular-nums; }

/* Abschnitte */
.kp-abschnitt { padding-block: clamp(56px, 8vw, 104px); }
.kp-abschnitt--hell { background: var(--hell); }
.kp-kopf { max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.kp-kopf p:last-child { margin: 0; font-size: 1.2rem; color: var(--text-leise); }

/* Über Norman */
.kp-person { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.kp-person__bild { position: relative; margin: 0; }
.kp-person__bild img { display: block; width: 100%; border-radius: var(--radius); box-shadow: var(--schatten-hover); }
.kp-person__bild::after { content: ""; position: absolute; right: -14px; bottom: -14px; width: 46%; height: 46%; border-right: 6px solid var(--rot); border-bottom: 6px solid var(--rot); border-radius: 0 0 var(--radius) 0; }
.kp-person__text p { font-size: 1.15rem; }
.kp-fakten { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 28px 0 0; padding: 0; list-style: none; }
.kp-fakten li { padding: 16px 18px; border-radius: var(--radius-klein); background: var(--weiss); box-shadow: var(--schatten); font-size: .98rem; line-height: 1.35; color: var(--text-leise); overflow-wrap: normal; hyphens: auto; }
.kp-fakten b { display: block; margin-bottom: 2px; color: var(--navy); font-size: 1.5rem; font-weight: 800; line-height: 1.1; }
.kp-liste { margin: 22px 0 0; padding: 0; list-style: none; }
.kp-liste li { position: relative; margin-bottom: 10px; padding-left: 30px; }
.kp-liste li::before { content: ""; position: absolute; left: 0; top: .62em; width: 14px; height: 4px; border-radius: 2px; background: var(--rot); }

/* Themen */
.kp-themen { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: clamp(16px, 2.2vw, 26px); counter-reset: thema; }
.kp-thema { position: relative; padding: 30px 28px 28px; border-radius: var(--radius); background: var(--weiss); box-shadow: var(--schatten); counter-increment: thema; transition: transform .2s, box-shadow .2s; }
.kp-thema:hover { transform: translateY(-4px); box-shadow: var(--schatten-hover); }
.kp-thema::before { content: counter(thema, decimal-leading-zero); display: block; margin-bottom: 12px; color: var(--blau); font-size: 2.6rem; font-weight: 800; line-height: 1; }
.kp-thema h3 { margin: 0 0 10px; font-size: 1.4rem; text-transform: uppercase; letter-spacing: .01em; }
.kp-thema p { margin: 0; font-size: 1.05rem; line-height: 1.55; color: #3f4a54; }

/* Zitat über Landschaftsbild */
.kp-zitat { padding-block: clamp(72px, 11vw, 150px); background-color: var(--navy); background-size: cover; background-position: center 35%; color: var(--weiss); text-align: center; }
.kp-zitat::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 40, 64, .62) 0%, rgba(0, 59, 99, .8) 100%); }
.kp-zitat .kp-wrap { position: relative; }
.kp-zitat blockquote { max-width: 20ch; margin: 0 auto; font-size: clamp(2rem, 5.6vw, 4rem); font-weight: 800; line-height: 1.06; text-transform: uppercase; }
.kp-zitat cite, .kp-zitat__name { display: block; margin: 22px 0 0; font-size: 1.05rem; font-style: normal; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.kp-zitat cite::before, .kp-zitat__name::before { content: ""; display: block; width: 64px; height: 5px; margin: 0 auto 16px; background: var(--rot); }

/* Stimme */
.kp-stimme { max-width: 880px; margin: 0 auto; padding: clamp(26px, 4vw, 44px); border-left: 8px solid var(--rot); border-radius: 0 var(--radius) var(--radius) 0; background: var(--weiss); box-shadow: var(--schatten); }
.kp-stimme blockquote { margin: 0; font-size: clamp(1.15rem, 2vw, 1.4rem); line-height: 1.5; font-weight: 500; color: var(--navy); }
.kp-stimme cite, .kp-stimme__name { display: block; margin: 16px 0 0; font-style: normal; font-weight: 700; color: var(--text-leise); }

/* Mitmachen */
.kp-mitmachen { overflow: hidden; background: linear-gradient(135deg, var(--navy) 0%, #00588f 100%); color: var(--weiss); text-align: center; }
.kp-mitmachen::after { content: ""; position: absolute; inset: auto 0 0 0; height: 8px; background: var(--kp-streifen); }
.kp-mitmachen h2 { color: var(--weiss); }
.kp-mitmachen p { max-width: 56ch; margin: 0 auto 28px; font-size: 1.2rem; color: #dcecf7; }
.kp-mitmachen .kp-kicker { justify-content: center; color: var(--weiss); }
.kp-mitmachen p.kp-mitmachen__buttons, .kp-mitmachen__buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; max-width: none; margin: 0; }
.kp-nachweis { padding-block: 18px; background: var(--hell); color: var(--text-leise); font-size: .85rem; }
.kp-nachweis p { margin: 0; }

@media (max-width: 860px) {
	.kp-hero__inner, .kp-person { grid-template-columns: 1fr; }
	.kp-hero__text { padding-block: 48px 8px; }
	.kp-hero__bild { max-width: 440px; margin-inline: auto; padding-top: 20px; }
	.kp-hero__bild::before { top: 34px; }
	.kp-person__bild { max-width: 420px; }
	.kp-wahltag__inner { flex-direction: column; justify-content: center; text-align: center; }
	.kp-countdown { grid-template-columns: repeat(4, minmax(0, 1fr)); width: 100%; max-width: 420px; }
}

/* Frei hochgeladene Kampagnenbilder. */
.kp-hero__bild picture, .kp-person__bild picture { display: block; }
.kp-zitat > .kp-zitat__bild { position: absolute; inset: 0; }
.kp-zitat__bild img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.kp-zitat::before { z-index: 1; }
.kp-zitat .kp-wrap { z-index: 2; }
.kp-hero__inner:not(:has(.kp-hero__bild img)), .kp-person:not(:has(.kp-person__bild img)) { grid-template-columns: 1fr; }
.kp-hero__bild:not(:has(img)), .kp-person__bild:not(:has(img)) { display: none; }
@media (max-width: 420px) { .kp-countdown { gap: 6px; font-size: .64rem; letter-spacing: .04em; } }

/* ---------- Seite „Mitglied werden“ (nutzt die Kampagnenvorlage) ---------- */
.mw-hero { overflow: hidden; background: linear-gradient(120deg, var(--navy-tief) 0%, var(--navy) 45%, #00619f 100%); color: var(--weiss); }
.mw-hero::after { content: ""; position: absolute; right: 0; bottom: 0; width: min(70vw, 860px); aspect-ratio: 899 / 225; background: url("assets/img/skyline.png") no-repeat right bottom / contain; background-image: image-set(url("assets/img/skyline.avif") type("image/avif"), url("assets/img/skyline.png") type("image/png")); opacity: .14; pointer-events: none; }
.mw-hero .kp-wrap { position: relative; z-index: 1; padding-block: clamp(48px, 7vw, 96px) clamp(36px, 5vw, 64px); }
.mw-hero__inner:has(.mw-hero__bild img) { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); align-items: center; gap: clamp(24px, 5vw, 72px); }
.mw-hero__bild { margin: 0; }
.mw-hero__bild:not(:has(img)) { display: none; }
.mw-hero__bild img { display: block; width: 100%; max-width: 400px; height: auto; margin-inline: auto; filter: drop-shadow(0 24px 40px rgba(0, 20, 40, .45)); }
@media (max-width: 860px) {
	.mw-hero__inner:has(.mw-hero__bild img) { grid-template-columns: 1fr; }
	.mw-hero__bild { order: -1; }
	.mw-hero__bild img { max-width: 240px; margin-inline: 0; }
}
.mw-hero__label { display: inline-block; margin: 0 0 18px; padding: 6px 14px; border-radius: 99px; background: var(--rot); font-size: .95rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.mw-hero h1 { margin: 0; color: var(--weiss); font-size: clamp(2.8rem, 8.4vw, 6rem); font-weight: 800; line-height: .95; text-transform: uppercase; letter-spacing: -.01em; }
.mw-hero__drei { margin: 18px 0 0; font-size: clamp(1.05rem, 2.4vw, 1.6rem); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #bfe6f8; }
.mw-hero__text { max-width: 60ch; margin: 22px 0 30px; font-size: clamp(1.1rem, 2vw, 1.3rem); line-height: 1.5; color: #dcecf7; }
.mw-sprung { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.mw-sprung a { display: inline-flex; align-items: center; padding: 10px 18px; border: 2px solid rgba(255, 255, 255, .45); border-radius: 99px; color: var(--weiss); font-size: .95rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; transition: background-color .15s, color .15s, border-color .15s; }
.mw-sprung a:hover { background: var(--weiss); border-color: var(--weiss); color: var(--navy); }
.mw-sprung a:first-child { background: var(--rot); border-color: var(--rot); }
.mw-sprung a:first-child:hover { background: var(--rot-dunkel); border-color: var(--rot-dunkel); color: var(--weiss); }

.mw-karten { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: clamp(16px, 2.2vw, 28px); }
.mw-karte { display: flex; flex-direction: column; padding: 30px 28px 28px; border-radius: var(--radius); background: var(--weiss); box-shadow: var(--schatten); }
.mw-karte h3 { display: flex; align-items: center; gap: 16px; margin: 0 0 16px; font-size: 1.4rem; text-transform: uppercase; letter-spacing: .01em; }
.mw-karte h3::before { content: ""; flex: none; width: 60px; height: 60px; border-radius: 14px; background: var(--blau) center / 34px no-repeat; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M8 11a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm8 0a3 3 0 1 0 0-6 3 3 0 0 0 0 6zM2 19v-1c0-2.800 2.700-5 6-5s6 2.200 6 5v1zm14 0v-1c0-1.500-.500-2.900-1.400-4 .500-.100.900-.100 1.400-.100 3.300 0 6 2.200 6 5v.100z'/%3E%3C/svg%3E"); }
.mw-karte--rot h3::before { background-color: var(--rot); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M12 21s-7.500-4.600-9.600-9.300C.900 8.300 2.700 4.500 6.300 4.500c2.300 0 4.200 1.300 5.700 3.300 1.500-2 3.400-3.300 5.700-3.300 3.600 0 5.400 3.800 3.900 7.200C19.500 16.400 12 21 12 21z'/%3E%3C/svg%3E"); }
.mw-karte--navy h3::before { background-color: var(--navy); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M12 2 4 5v6c0 5 3.400 9.600 8 11 4.600-1.400 8-6 8-11V5zm-1 5h2v6h-2zm0 8h2v2h-2z'/%3E%3C/svg%3E"); }
.mw-karte p { margin: 0 0 12px; font-size: 1.05rem; line-height: 1.55; color: #3f4a54; }
.mw-karte p strong { color: var(--navy); }
.mw-karte p.mw-karte__aktion { margin: auto 0 0; padding-top: 12px; }

.mw-online { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(28px, 5vw, 56px); border-radius: var(--radius); background: linear-gradient(135deg, var(--navy) 0%, #00619f 100%); color: var(--weiss); box-shadow: var(--schatten-hover); }
.mw-online h2 { color: var(--weiss); }
.mw-online p { margin: 0 0 14px; font-size: 1.15rem; color: #dcecf7; }
.mw-online p strong { color: var(--weiss); }
.mw-online .kp-kicker { color: var(--weiss); }
.mw-online__aktion { text-align: center; }
.mw-online__aktion .btn { width: 100%; }
.mw-online__aktion p.mw-klein { margin: 12px 0 0; font-size: .9rem; color: #bfd9ea; }
.mw-schritte { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; counter-reset: schritt; }
.mw-schritte li { position: relative; padding: 22px 22px 22px 78px; border-radius: var(--radius); background: var(--weiss); box-shadow: var(--schatten); counter-increment: schritt; font-size: 1.05rem; line-height: 1.5; color: #3f4a54; }
.mw-schritte li::before { content: counter(schritt); position: absolute; left: 20px; top: 20px; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--rot); color: var(--weiss); font-size: 1.3rem; font-weight: 800; }
.mw-schritte strong { display: block; margin-bottom: 4px; color: var(--navy); font-size: 1.15rem; }

.mw-kontakt { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: clamp(16px, 2.2vw, 28px); }
.mw-kontakt__feld { padding: 26px 28px; border-radius: var(--radius); background: var(--weiss); box-shadow: var(--schatten); }
.mw-kontakt h3 { margin: 0 0 10px; font-size: 1.05rem; letter-spacing: .1em; text-transform: uppercase; color: var(--rot); }
.mw-kontakt p { margin: 0 0 8px; font-size: 1.05rem; line-height: 1.5; }
.mw-steuer { background: var(--navy); color: #dcecf7; }
.mw-steuer .kp-wrap { padding-block: clamp(28px, 4vw, 44px); }
.mw-steuer p { max-width: 90ch; margin: 0; font-size: 1.02rem; line-height: 1.6; }
.mw-steuer strong { color: var(--weiss); }
@media (max-width: 860px) { .mw-online { grid-template-columns: 1fr; } }
.kp section[id] { scroll-margin-top: 72px; }

/* ---------- Bildvergrößerung per Klick ---------- */
img.is-zoombar, a[href$=".jpg"] > img, a[href$=".jpeg"] > img, a[href$=".png"] > img, a[href$=".webp"] > img, a[href$=".avif"] > img { cursor: zoom-in; }
.lightbox { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: clamp(12px, 3vw, 40px); background: rgba(0, 20, 35, .93); opacity: 0; visibility: hidden; transition: opacity .2s, visibility .2s; cursor: zoom-out; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox-open { overflow: hidden; }
.lightbox__figur { display: grid; justify-items: center; gap: 12px; max-width: 100%; max-height: 100%; margin: 0; }
.lightbox__figur img { display: block; width: auto; height: auto; max-width: 100%; max-height: calc(100vh - 110px); max-height: calc(100dvh - 110px); border-radius: var(--radius-klein); background: var(--weiss); box-shadow: 0 30px 80px rgba(0, 0, 0, .5); cursor: default; }
.lightbox__figur figcaption { max-width: 80ch; color: #dcecf7; font-size: .98rem; text-align: center; }
.lightbox__zu { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 48px; height: 48px; padding: 0 0 4px; border: 0; border-radius: 50%; background: var(--weiss); color: var(--navy); font-size: 2rem; line-height: 1; cursor: pointer; }
.lightbox__zu:hover { background: var(--rot); color: var(--weiss); }
/* Galerie: Pfeile zum Durchblättern und Zähler */
.lightbox__nav { position: absolute; top: 50%; display: grid; place-items: center; width: 52px; height: 52px; padding: 0; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--navy); box-shadow: 0 6px 20px rgba(0, 0, 0, .35); transform: translateY(-50%); cursor: pointer; transition: background .15s, color .15s; }
.lightbox__nav--zurueck { left: clamp(8px, 2vw, 24px); }
.lightbox__nav--weiter { right: clamp(8px, 2vw, 24px); }
.lightbox__nav:hover { background: var(--rot); color: var(--weiss); }
.lightbox__nav:focus-visible, .lightbox__zu:focus-visible { outline: 3px solid var(--weiss); outline-offset: 3px; }
.lightbox__nav[hidden], .lightbox__zahl[hidden] { display: none; }
.lightbox__zahl { position: absolute; top: 22px; left: clamp(14px, 3vw, 40px); margin: 0; color: #dcecf7; font-size: .95rem; font-weight: 600; cursor: default; }
@media (min-width: 800px) {
	.lightbox--galerie .lightbox__figur { padding: 0 76px; }
}
@media (max-width: 599px) {
	.lightbox__nav { width: 44px; height: 44px; }
}

/* ---------- Seite „Über uns“ (nutzt die Kampagnenvorlage und den Kopf der Mitgliederseite) ---------- */
/* Bildplätze: Der Hinweistext hilft nur im Editor. Ohne eingefügtes Bild bleibt der Platz unsichtbar. */
.uu-hinweis { display: none; }
.uu-bild { margin: 0; }
.uu-bild:not(:has(img)), .uu-galerie:not(:has(img)) { display: none; }
.uu-bild img { display: block; width: 100%; height: auto; margin: 0; border-radius: var(--radius); box-shadow: var(--schatten-hover); }
.uu-bild figcaption, .uu-bild .wp-caption-text { margin-top: 10px; color: var(--text-leise); font-size: .92rem; }
.uu-bild .wp-caption { width: auto !important; margin: 0; }

.uu-zahlen { background: var(--rot); color: var(--weiss); }
.uu-zahlen ul { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 22px 32px; margin: 0; padding: 26px 0; list-style: none; }
.uu-zahlen li { font-size: .98rem; font-weight: 500; line-height: 1.35; }
.uu-zahlen strong { display: block; font-size: clamp(2.2rem, 4.6vw, 3.2rem); font-weight: 800; line-height: 1; letter-spacing: -.01em; }

.uu-split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.uu-split--links { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.uu-split:not(:has(img)) { grid-template-columns: minmax(0, 820px); }
.uu-split p { font-size: 1.15rem; }
.uu-split p:last-child { margin-bottom: 0; }

.uu-zeit { position: relative; max-width: 900px; margin: 0; padding: 0; list-style: none; }
.uu-zeit::before { content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px; width: 3px; border-radius: 2px; background: var(--linie); }
.uu-zeit li { position: relative; padding: 0 0 34px 52px; font-size: 1.1rem; line-height: 1.55; color: #3f4a54; }
.uu-zeit li:last-child { padding-bottom: 0; }
.uu-zeit li::before { content: ""; position: absolute; left: 0; top: 4px; width: 25px; height: 25px; border: 5px solid var(--weiss); border-radius: 50%; background: var(--rot); box-shadow: 0 0 0 3px var(--rot); }
.kp-abschnitt--hell .uu-zeit li::before { border-color: var(--hell); }
.uu-zeit strong { display: block; color: var(--blau-dunkel); font-size: .95rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.uu-zeit b { display: block; margin: 2px 0 6px; color: var(--navy); font-size: clamp(1.3rem, 2.4vw, 1.6rem); font-weight: 800; line-height: 1.2; }

.uu-galerie { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: clamp(12px, 2vw, 22px); }
.uu-galerie .uu-bild img { aspect-ratio: 4 / 3; object-fit: cover; }

.uu-orte { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: clamp(14px, 2vw, 22px); }
.uu-ort { display: block; padding: 24px 26px; border-radius: var(--radius); background: var(--weiss); box-shadow: var(--schatten); color: inherit; text-decoration: none; transition: transform .2s, box-shadow .2s; }
a.uu-ort:hover { color: inherit; transform: translateY(-4px); box-shadow: var(--schatten-hover); }
.uu-ort strong { display: block; color: var(--navy); font-size: 1.3rem; font-weight: 800; line-height: 1.2; }
.uu-ort b { display: block; margin: 6px 0 4px; color: var(--rot); font-size: 1.05rem; }
.uu-ort span { display: block; font-size: 1rem; line-height: 1.45; color: #3f4a54; }
@media (max-width: 860px) { .uu-split, .uu-split--links { grid-template-columns: 1fr; } }

/* ---------- Fraktionsmitglieder (ersetzt das Plugin „Team Showcase“) ---------- */
.fraktion { clear: both; margin-top: clamp(2.2em, 5vw, 3.4em); }
.fraktion br, .fraktion p:empty { display: none; }
.entry-content .fraktion__titel { position: relative; margin: 0 0 clamp(22px, 3vw, 32px); padding-bottom: 14px; font-size: clamp(1.6rem, 3.2vw, 2.2rem); font-weight: 800; text-transform: uppercase; letter-spacing: .01em; }
.fraktion__titel::after { content: ""; position: absolute; left: 0; bottom: 0; width: 64px; height: 5px; border-radius: 3px; background: var(--rot); }
.entry-content .fraktion__liste { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); margin: 0; padding: 0; list-style: none; }
.entry-content .fraktion__liste > li { margin: 0; }
.person { position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius); background: var(--weiss); box-shadow: var(--schatten); transition: transform .2s, box-shadow .2s; }
.person:hover { transform: translateY(-4px); box-shadow: var(--schatten-hover); }
.person > p, .person__text > p:not([class]) { display: contents; }
.entry-content .person__bild { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; margin: 0; border-radius: 0; background: var(--hell); transition: transform .4s; }
.person:hover img.person__bild { transform: scale(1.03); }
.person__bild--leer { display: grid !important; place-items: center; background: linear-gradient(160deg, #004a7c 0%, var(--navy) 60%, var(--navy-tief) 100%) !important; color: var(--weiss); font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 800; letter-spacing: .04em; }
.person__text { position: relative; z-index: 1; display: flex; flex: 1; flex-direction: column; align-items: flex-start; gap: 8px; padding: 18px 20px 20px; border-top: 5px solid var(--rot); background: var(--weiss); }
.entry-content .person__name { margin: 0; color: var(--navy); font-size: clamp(1.1rem, 1.8vw, 1.32rem); font-weight: 800; line-height: 1.15; text-transform: uppercase; letter-spacing: .01em; }
.entry-content .person__funktion { display: inline-block; margin: 0; padding: 3px 11px; border-radius: 99px; background: #e3f3fb; color: var(--navy); font-size: .82rem; font-weight: 700; line-height: 1.35; letter-spacing: .04em; text-transform: uppercase; }
.person__mail { display: inline-flex; align-items: center; justify-content: center; gap: 8px; align-self: stretch; min-height: 44px; margin-top: auto; padding: .55em 1em; border: 2px solid var(--navy); border-radius: var(--radius-klein); color: var(--navy); font-size: .88rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; transition: background-color .15s, color .15s, border-color .15s; }
.person__mail:hover { border-color: var(--rot); background: var(--rot); color: var(--weiss); }
.person__mail::before { content: ""; flex: none; width: 18px; height: 18px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 5.5h18a1 1 0 0 1 1 1v11a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1v-11a1 1 0 0 1 1-1zm1.2 2 7.8 5.7 7.8-5.7zM4 9.1v7.4h16V9.1l-8 5.8z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 5.5h18a1 1 0 0 1 1 1v11a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1v-11a1 1 0 0 1 1-1zm1.2 2 7.8 5.7 7.8-5.7zM4 9.1v7.4h16V9.1l-8 5.8z'/%3E%3C/svg%3E") center / contain no-repeat; }
@media (max-width: 760px) {
	.entry-content .fraktion__liste { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
	.person__text { gap: 6px; padding: 12px 12px 14px; }
	.entry-content .person__name { font-size: 1rem; }
	.entry-content .person__funktion { padding: 2px 8px; font-size: .7rem; letter-spacing: .02em; }
	.person__mail { min-height: 40px; padding: .45em .4em; font-size: .8rem; letter-spacing: 0; text-transform: none; white-space: nowrap; gap: 6px; }
	.person__mail::before { width: 15px; height: 15px; }
}
@media (max-width: 340px) {
	.entry-content .fraktion__liste { grid-template-columns: 1fr; }
}

/* ---------- Einwilligung (Cookie-Banner) ---------- */
.consent { position: fixed; inset: auto 0 0 0; z-index: 900; padding: 0 var(--rand) clamp(12px, 2.5vw, 24px); pointer-events: none; }
.consent[hidden], .consent [hidden] { display: none !important; }
.consent__box { position: relative; max-width: 760px; margin-inline: auto; padding: clamp(20px, 3vw, 30px); overflow: hidden; border-radius: var(--radius); background: var(--weiss); color: var(--text); box-shadow: 0 20px 60px rgba(0, 20, 40, .35); pointer-events: auto; max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); overflow-y: auto; }
.consent__box::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 6px; background: linear-gradient(90deg, var(--rot) 0 33.33%, var(--blau) 33.33% 66.66%, var(--navy) 66.66% 100%); }
.consent__titel { margin: 4px 0 8px; font-size: 1.35rem; text-transform: uppercase; letter-spacing: .02em; }
.consent__text { margin: 0 0 14px; font-size: 1rem; line-height: 1.5; color: #3f4a54; }
.consent__auswahl { display: grid; gap: 10px; margin: 0 0 16px; padding: 0; border: 0; }
.consent__auswahl[hidden] { display: none; }
.consent__option { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: var(--radius-klein); background: var(--hell); font-size: .95rem; line-height: 1.4; cursor: pointer; }
.consent__option input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--navy); }
.consent__option strong { display: block; color: var(--navy); }
.consent__option span span { color: var(--text-leise); }
.consent__buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.consent__buttons .btn { flex: 1 1 180px; }
.consent__buttons .btn--navy { background: var(--navy); }
.consent__buttons .btn--navy:hover { background: var(--navy-tief); }
.consent__mehr { padding: 6px 0; border: 0; background: none; color: var(--blau-link); font: inherit; font-size: .95rem; font-weight: 700; text-decoration: underline; text-underline-offset: .18em; cursor: pointer; }
.consent__mehr:hover { color: var(--rot); }
.consent__links { margin: 12px 0 0; font-size: .9rem; color: var(--text-leise); }
.consent__links a { color: var(--blau-link); }

/* Platzhalter für externe Inhalte vor der Einwilligung */
.extern { position: relative; margin: 1.4em 0; }
.extern iframe:not([src]) { display: none; }
.extern__hinweis { display: grid; place-items: center; gap: 12px; min-height: 220px; padding: clamp(20px, 4vw, 36px); border: 2px dashed #b9cbd9; border-radius: var(--radius); background: var(--hell); color: var(--text); font-size: 1rem; line-height: 1.5; text-align: center; }
.extern__hinweis strong { color: var(--navy); font-size: 1.1rem; }
.extern__hinweis p { max-width: 52ch; margin: 0; }
.extern.ist-geladen .extern__hinweis { display: none; }
.extern--video.ist-geladen iframe { aspect-ratio: 16 / 9; height: auto; }

/* ---------- Kampagne: Ausbau (Sprungleiste, Werdegang, Infoblöcke, Bürgerfragen) ---------- */
/* Schwarz-Rot-Gold im Kopf, wie auf der Startseite */
.kp-hero--flagge::after { content: ""; position: absolute; top: 8px; right: 0; width: clamp(140px, 22vw, 320px); aspect-ratio: 1; background: linear-gradient(45deg, transparent 55.8%, #ffce00 56%, #ffce00 63.8%, #dd0000 64%, #dd0000 71.8%, #000 72%, #000 79.8%, transparent 80%); filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .55)) drop-shadow(0 2px 4px rgba(0, 0, 0, .35)); pointer-events: none; z-index: 0; }
.kp-hero--flagge .kp-hero__inner { position: relative; z-index: 1; }

/* Handy: Der Streifen über dem Kopf trägt Schwarz-Rot-Gold (das schräge Band entfällt dort). */
@media (max-width: 700px) { .kp-hero::before { background: linear-gradient(90deg, #000 0 33.33%, #dd0000 33.33% 66.66%, #ffce00 66.66% 100%); } }

/* Bildnachweis klein unten rechts im Foto */
.kp-foto { position: relative; margin: 0; }
.kp .kp-bildnachweis { position: absolute; right: 8px; bottom: 8px; z-index: 2; max-width: calc(100% - 16px); margin: 0; padding: 2px 8px; border-radius: 4px; background: rgba(0, 20, 35, .58); color: #fff; font-size: .68rem; font-weight: 500; letter-spacing: .02em; line-height: 1.5; text-align: right; text-transform: none; }
.kp .kp-bildnachweis a { color: inherit; text-decoration: none; }
.kp .kp-bildnachweis a:hover { text-decoration: underline; }
.kp-zitat .kp-bildnachweis { right: 12px; bottom: 12px; }
.kp-hero__bild:not(:has(img)) .kp-bildnachweis, .kp-person__bild:not(:has(img)) .kp-bildnachweis, .kp-zitat:not(:has(img)) .kp-bildnachweis { display: none; }

/* Breites Foto unter dem Countdown */
.kp-bildband { padding-block: clamp(22px, 4vw, 48px) 0; }
.kp-bildband + .kp-sprung { margin-top: clamp(22px, 4vw, 48px); }
.kp-bildband img { display: block; width: 100%; height: auto; aspect-ratio: 21 / 9; object-fit: cover; object-position: center 22%; border-radius: var(--radius); box-shadow: var(--schatten-hover); }
@media (max-width: 700px) { .kp-bildband img { aspect-ratio: 16 / 10; } }

/* Text neben Foto bzw. Karte im Abschnitt „Das Amt“ */
.kp .uu-split .kp-kopf { margin-bottom: 0; }
.kp .uu-split .uu-bild img { aspect-ratio: 4 / 3; object-fit: cover; }
.kp .kp-amt-teil { margin-top: clamp(36px, 5vw, 64px); }
.kp-amt-teil h3 { margin: 0 0 14px; font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.1; text-transform: uppercase; }
@media (max-width: 860px) { .kp .uu-split, .kp .uu-split--links { grid-template-columns: 1fr; } }
/* Die Karte ist eine Vektorgrafik, kein img: Zweispaltigkeit ausdrücklich setzen. */
@media (min-width: 861px) { .kp .uu-split:has(.kp-karte) { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); } }

/* Karte des Landkreises */
.kp-karte { margin: 0; }
.karte { display: block; width: 100%; height: auto; overflow: visible; font-family: var(--schrift); }
.karte__rand { stroke: #fff; stroke-width: 2.5; stroke-linejoin: round; }
.karte__umland text { fill: #8a97a3; font-size: 15px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.karte__ort text { fill: #fff; font-size: 19px; font-weight: 600; paint-order: stroke; stroke: rgba(0, 40, 64, .55); stroke-width: 4px; stroke-linejoin: round; }
.karte__ort--gemeinde text { font-size: 16px; font-weight: 500; fill: #cfe3f1; }
.karte__ort--gemeinde .karte__punkt { fill: #cfe3f1; }
.karte__ort--stadt .karte__punkt { fill: #fff; stroke: var(--blau); stroke-width: 3; }
.karte__ort--kreisstadt text { font-size: 26px; font-weight: 800; letter-spacing: .02em; text-transform: uppercase; }
.karte__ort--kreisstadt .karte__zusatz { fill: #ffd9de; font-size: 13px; font-weight: 700; letter-spacing: .2em; stroke-width: 3px; }
.karte__ort--kreisstadt .karte__punkt { fill: var(--rot); stroke: #fff; stroke-width: 3.5; }
.karte__ring { fill: rgba(213, 23, 47, .28); transform-box: fill-box; transform-origin: center; animation: karte-puls 2.6s ease-out infinite; }
@keyframes karte-puls { 0% { transform: scale(.55); opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }
.karte__massstab path { fill: none; stroke: #8a97a3; stroke-width: 2; }
.karte__massstab text { fill: #8a97a3; font-size: 13px; font-weight: 600; letter-spacing: .08em; }
.kp-karte__nachweis { margin-top: 4px; color: var(--text-leise); font-size: .72rem; text-align: right; }
.kp-karte__nachweis a { color: inherit; }
.kp-staedte { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; padding: 0; list-style: none; }
.kp-staedte li { padding: 6px 14px; border-radius: 99px; background: var(--hell); color: var(--navy); font-size: .98rem; font-weight: 700; }
.kp-staedte li:first-child { background: var(--rot); color: var(--weiss); }

/* Sprungleiste: bleibt beim Scrollen unter der Hauptnavigation stehen */
.kp-sprung { position: sticky; top: var(--kp-sprung-oben, 0px); z-index: 80; background: var(--weiss); box-shadow: 0 1px 0 var(--linie), 0 6px 18px rgba(0, 40, 64, .08); }
.kp-sprung .kp-wrap { position: relative; display: flex; gap: 2px; margin: 0 auto; overflow-x: auto; scrollbar-width: none; }
.kp-sprung .kp-wrap::-webkit-scrollbar { display: none; }
.kp-sprung a { position: relative; flex: none; padding: 14px 12px; color: var(--navy); font-size: .9rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.kp-sprung a:first-child { margin-left: -12px; }
.kp-sprung a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 7px; height: 3px; border-radius: 2px; background: var(--rot); transform: scaleX(0); transform-origin: left center; transition: transform .28s ease; }
.kp-sprung a:hover::after, .kp-sprung a:focus-visible::after, .kp-sprung a.ist-aktiv::after { transform: scaleX(1); }
.kp-sprung a.ist-aktiv { color: var(--blau-dunkel); }
.kp-sprung br { display: none; }
.kp:has(.kp-sprung) section[id] { scroll-margin-top: var(--kp-sprung-platz, 124px); }
@media (max-width: 700px) { .kp-hero--flagge::after { display: none; } }

/* Werdegang unter dem Kandidatentext */
.kp-werdegang { margin-top: clamp(40px, 6vw, 76px); padding-top: clamp(32px, 4vw, 52px); border-top: 1px solid var(--linie); }
.kp-werdegang h3 { margin: 0 0 26px; font-size: clamp(1.4rem, 2.6vw, 1.8rem); text-transform: uppercase; }
@media (min-width: 900px) {
	.kp-werdegang .uu-zeit { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(32px, 5vw, 72px); max-width: none; }
	.kp-werdegang .uu-zeit::before { display: none; }
	.kp-werdegang .uu-zeit li { padding-bottom: 30px; }
}

/* Themenkarten: Symbol und aufklappbare Stichpunkte */
.kp-thema[class*="kp-thema--"]::after { content: ""; position: absolute; top: 26px; right: 26px; width: 52px; height: 52px; border-radius: 14px; background: var(--hell) center / 28px no-repeat; }
.kp-thema.kp-thema--familie::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23003b63'%3E%3Cpath d='M12 3 2 12h3v8h5v-6h4v6h5v-8h3z'/%3E%3C/svg%3E"); }
.kp-thema.kp-thema--wirtschaft::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23003b63'%3E%3Cpath fill-rule='evenodd' d='M10 4h4a2 2 0 0 1 2 2v1h4a1 1 0 0 1 1 1v11a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V8a1 1 0 0 1 1-1h4V6a2 2 0 0 1 2-2zm0 3h4V6h-4z'/%3E%3C/svg%3E"); }
.kp-thema.kp-thema--verwaltung::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23003b63'%3E%3Cpath fill-rule='evenodd' d='M6 2h8l5 5v14a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V3a1 1 0 0 1 1-1zm7 1.5V8h4.5zM8 12h8v2H8zm0 4h8v2H8z'/%3E%3C/svg%3E"); }
.kp-thema.kp-thema--finanzen::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23003b63'%3E%3Cpath d='M4 20V10h4v10zm6 0V4h4v16zm6 0v-7h4v7z'/%3E%3C/svg%3E"); }
.kp-thema.kp-thema--sicherheit::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23003b63'%3E%3Cpath d='M12 2 4 5v6c0 5 3.4 9.3 8 11 4.6-1.7 8-6 8-11V5z'/%3E%3C/svg%3E"); }
.kp-thema.kp-thema--miteinander::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23003b63'%3E%3Cpath d='M8 11a3 3 0 1 0 0-6 3 3 0 0 0 0 6zm8 0a3 3 0 1 0 0-6 3 3 0 0 0 0 6zM2 19v-1c0-2.7 3-4 6-4s6 1.3 6 4v1zm14 0v-1c0-1.3-.5-2.4-1.4-3.2.5-.1.9-.1 1.4-.1 3 0 6 1.3 6 4v.3z'/%3E%3C/svg%3E"); }
.kp-thema br, .kp-faq br, .kp-stimmen > br, .kp-aufgaben > br, .kp-termine > br { display: none; }
.kp-konkret { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--linie); }
.kp-konkret summary, .kp-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; list-style: none; }
.kp-konkret summary::-webkit-details-marker, .kp-faq summary::-webkit-details-marker { display: none; }
.kp-konkret summary { color: var(--blau-link); font-size: .9rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.kp-konkret summary::after, .kp-faq summary::after { content: "+"; flex: none; color: var(--rot); font-size: 1.6rem; font-weight: 700; line-height: 1; }
.kp-konkret[open] summary::after, .kp-faq details[open] summary::after { content: "–"; }
.kp-konkret summary:hover { color: var(--rot); }
.kp-konkret .kp-liste { margin-top: 14px; font-size: 1.02rem; line-height: 1.45; color: #3f4a54; }
.kp-konkret .kp-liste li:last-child { margin-bottom: 0; }

/* Aufgaben des Landrats */
.kp-aufgaben { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: clamp(14px, 2vw, 22px); margin: 0; padding: 0; list-style: none; }
.kp-aufgaben li { padding: 22px 24px; border-radius: var(--radius); background: var(--weiss); box-shadow: var(--schatten); font-size: 1.02rem; line-height: 1.5; color: #3f4a54; }
.kp-aufgaben strong { display: block; margin-bottom: 4px; color: var(--navy); font-size: 1.2rem; line-height: 1.25; }
.kp-hinweis { max-width: 900px; margin: clamp(22px, 3vw, 34px) 0 0; padding: 18px 22px; border-left: 6px solid var(--rot); border-radius: 0 var(--radius) var(--radius) 0; background: var(--weiss); box-shadow: var(--schatten); font-size: 1.05rem; }
.kp-abschnitt:not(.kp-abschnitt--hell) .kp-hinweis { background: var(--hell); box-shadow: none; }

/* Termine */
.kp-termine { display: grid; gap: 14px; max-width: 900px; margin: 0; padding: 0; list-style: none; }
.kp-termine li { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 18px; align-items: center; padding: 14px 20px 14px 14px; border-radius: var(--radius); background: var(--hell); }
.kp-termine time { display: block; padding: 10px 6px; border-radius: var(--radius-klein); background: var(--navy); color: var(--weiss); font-size: .82rem; font-weight: 700; letter-spacing: .08em; line-height: 1.2; text-align: center; text-transform: uppercase; }
.kp-termine time b { display: block; font-size: 1.9rem; font-weight: 800; letter-spacing: 0; line-height: 1; }
.kp-termine strong { display: block; color: var(--navy); font-size: 1.2rem; line-height: 1.25; }
.kp-termine span { display: block; color: var(--text-leise); font-size: 1rem; }
.kp-mehr { margin: 24px 0 0; }

/* Mehrere Unterstützerstimmen nebeneinander */
.kp-stimmen { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: clamp(16px, 2.2vw, 26px); }
.kp-stimmen .kp-stimme { display: flex; flex-direction: column; max-width: none; margin: 0; padding: clamp(22px, 3vw, 32px); }
.kp-stimmen .kp-stimme blockquote { font-size: clamp(1.08rem, 1.6vw, 1.2rem); }
.kp-stimmen .kp-stimme__name { margin-top: auto; padding-top: 16px; }
.kp-stimme__name small { display: block; font-size: .92rem; font-weight: 500; }

/* Häufige Fragen */
.kp-faq { max-width: 900px; }
.kp-faq details { border-bottom: 1px solid var(--linie); }
.kp-faq details:first-of-type { border-top: 1px solid var(--linie); }
.kp-faq summary { padding: 18px 0; color: var(--navy); font-size: 1.2rem; font-weight: 700; line-height: 1.3; }
.kp-faq summary:hover { color: var(--blau-dunkel); }
.kp-faq details > p { margin: 0 0 18px; max-width: 70ch; font-size: 1.08rem; color: #3f4a54; }

/* Bürgerfragen (WordPress-Kommentare) */
.kp-fragen__raster { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.kp-fragen__raster > :only-child { grid-column: 1 / -1; max-width: 900px; }
.kp-fragen__formular { padding: clamp(22px, 3vw, 34px); border-radius: var(--radius); background: var(--weiss); box-shadow: var(--schatten); }
.kp-fragen__zwischentitel { margin: 0 0 16px; font-size: 1.4rem; text-transform: uppercase; }
.kp-fragen .comment-respond p { margin: 0 0 14px; }
.kp-fragen label { display: block; margin-bottom: 4px; font-weight: 600; }
.kp-fragen input[type="text"], .kp-fragen input[type="email"], .kp-fragen textarea { width: 100%; padding: .65em .9em; border: 2px solid var(--linie); border-radius: var(--radius-klein); background: var(--weiss); font: inherit; }
.kp-fragen input:focus, .kp-fragen textarea:focus { outline: 0; border-color: var(--blau); box-shadow: 0 0 0 3px rgba(0, 158, 224, .25); }
.kp-fragen__klein, .kp-fragen p.kp-fragen__klein { color: var(--text-leise); font-size: .9rem; font-weight: 400; line-height: 1.45; }
.kp-fragen__falle { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.kp-fragen__dank { margin: 0 0 20px; padding: 14px 18px; border-left: 6px solid #1a7f4b; border-radius: 0 var(--radius-klein) var(--radius-klein) 0; background: #e9f6ee; }
.kp-fragen__leer { margin: 0; color: var(--text-leise); }
.kp-fragen__eintraege, .kp-fragen__eintraege .children { margin: 0; padding: 0; list-style: none; }
.kp-frage { margin-bottom: 18px; }
.kp-frage__inhalt { padding: 18px 22px; border-radius: var(--radius); background: var(--weiss); box-shadow: var(--schatten); }
.kp-frage__kopf { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 0 0 6px; color: var(--navy); }
.kp-frage__kopf time { color: var(--text-leise); font-size: .88rem; }
.kp-frage__text p { margin: 0 0 .6em; }
.kp-frage__text p:last-child { margin-bottom: 0; }
.kp-fragen__eintraege .children { margin: 10px 0 0 clamp(14px, 3vw, 34px); }
.kp-frage--antwort { margin-bottom: 0; }
.kp-frage--antwort .kp-frage__inhalt { border-left: 6px solid var(--rot); border-radius: 0 var(--radius) var(--radius) 0; background: #fff; }
.kp-frage--antwort .kp-frage__kopf { color: var(--rot); }
@media (max-width: 860px) { .kp-fragen__raster { grid-template-columns: 1fr; } }

/* Teilen */
.kp-teilen { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; margin: 30px 0 0; padding: 0; }
.kp-mitmachen p.kp-teilen { max-width: none; margin: 30px auto 0; font-size: 1rem; }
.kp-teilen__titel { flex-basis: 100%; color: #bfd9ea; font-size: .9rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.kp-teilen a, .kp-teilen button { display: inline-flex; align-items: center; padding: 9px 18px; border: 2px solid rgba(255, 255, 255, .45); border-radius: 99px; background: none; color: var(--weiss); font: inherit; font-size: .95rem; font-weight: 600; text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.kp-teilen a:hover, .kp-teilen button:hover { background: var(--weiss); border-color: var(--weiss); color: var(--navy); }
.kp-teilen br { display: none; }

/* Abschnitte ohne Inhalt bleiben unsichtbar (Termine, Galerie, Aktuelles). */
.kp-termine-abschnitt:not(:has(.kp-termine li)), .kp-galerie-abschnitt:not(:has(img)), .kp-aktuell:not(:has(.card)) { display: none; }

/* Dezentes Einblenden beim Scrollen (nur mit Skript, nicht bei „Bewegung reduzieren“) */
.kp-ein { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.kp-ein.ist-da { opacity: 1; transform: none; }
@media (max-width: 700px) {
	.kp-thema[class*="kp-thema--"]::after { top: 22px; right: 22px; width: 46px; height: 46px; background-size: 24px; }
	.kp-termine li { grid-template-columns: 76px minmax(0, 1fr); gap: 14px; }
}
@media print {
	.kp-sprung, .kp-teilen, .kp-fragen__formular, .kp-hero--flagge::after { display: none !important; }
	.kp-ein { opacity: 1 !important; transform: none !important; }
	.kp-konkret summary::after, .kp-faq summary::after { display: none; }
}

/* ---------- Galerien ([gallery]) ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.6vw, 18px); margin: 1.6em 0; clear: both; }
.gallery br { display: none; }
.gallery-item { position: relative; margin: 0 !important; overflow: hidden; border-radius: var(--radius); background: var(--hell); box-shadow: var(--schatten); }
.gallery-icon, .gallery-icon a { display: block; }
.gallery .gallery-icon img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; margin: 0; object-fit: cover; border: 0 !important; border-radius: 0; transition: transform .4s; }
.gallery-item:hover .gallery-icon img { transform: scale(1.04); }
.gallery-caption { position: absolute; inset: auto 0 0 0; margin: 0; padding: 26px 14px 10px; background: linear-gradient(180deg, transparent, rgba(0, 28, 48, .85)); color: var(--weiss); font-size: .9rem; line-height: 1.35; text-align: left; pointer-events: none; }
.gallery-columns-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gallery-columns-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.gallery-columns-1 { grid-template-columns: 1fr; }
/* Galerie innerhalb eines Kampagnen-Textkopfs darf die volle Breite nutzen. */
.kp-kopf:has(.gallery) { max-width: none; }
.kp-kopf:has(.gallery) > :not(.gallery) { max-width: 760px; }
.kp .gallery { margin-top: clamp(22px, 3vw, 34px); }
@media (max-width: 760px) {
	.gallery, .gallery-columns-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.gallery-caption { padding: 20px 10px 8px; font-size: .8rem; }
}
