/* ==========================================================================
   Feuerwehr Pocking – Theme-Stile
   Ergänzt theme.json um Gestaltungsdetails aus dem Prototyp (Block-Stile,
   Header, Karten, Responsive-Verhalten). Wird im Frontend und im Editor geladen.
   ========================================================================== */

:root {
	/* Kennung zur Live-Prüfung: getComputedStyle(document.documentElement).getPropertyValue('--fwp-css-stand') */
	--fwp-css-stand: "1.5.0-einsatzlayout-jahr-in-zahlen-hero";
	--fwp-rot: var(--wp--preset--color--rot, #C8102E);
	--fwp-akzentrot: var(--wp--preset--color--akzentrot, #E52333);
	--fwp-dunkel: var(--wp--preset--color--dunkel, #111111);
	--fwp-hellgrau: var(--wp--preset--color--hellgrau, #F5F5F3);
	--fwp-rahmen: var(--wp--preset--color--rahmen, #e3e2df);
	--fwp-gedaempft: var(--wp--preset--color--text-gedaempft, #5c5c5c);
	--fwp-radius: var(--wp--custom--radius, 4px);
	--fwp-uebergang: var(--wp--custom--transition, 200ms ease);
	--fwp-schatten: var(--wp--custom--shadow-medium, 0 8px 24px rgba(17, 17, 17, 0.12));
	--fwp-pfeil: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M1 8h14M9 2l6 6-6 6' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* Prototyp: Inhaltsbreite 1180 px (inkl. Rand) bis 1440 px Bildschirmbreite, darüber 1280 px. */
@media (max-width: 1440px) {
	body { --wp--style--global--wide-size: 1132px; }
}

html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; height: auto; }
/* 1.4.19: Überschriften ohne automatische Silbentrennung (vorher z. B. „Feuerlöschord-/nung“); Umbruch nur an
   Wortgrenzen bzw. an weichen Trennstellen (&shy;). overflow-wrap verhindert nur bei Extremfällen eine Überbreite. */
h1, h2, h3, h4, .wp-block-post-title { overflow-wrap: break-word; hyphens: manual; -webkit-hyphens: manual; }
/* Sehr lange Wörter (z. B. zusammengesetzte Begriffe in Berichten) dürfen umbrechen statt die Seite zu verbreitern */
body { overflow-wrap: break-word; }
/* Fließtext: Silbentrennung nur auf schmalen Bildschirmen und nur bei langen Wörtern (mind. 10 Zeichen,
   je 5 vor/nach der Trennstelle) – auf Desktop keine Trennungen. */
.wp-block-post-content p, .wp-block-post-content li { hyphens: manual; -webkit-hyphens: manual; text-wrap: pretty; }
@media (max-width: 600px) {
	.wp-block-post-content p, .wp-block-post-content li { hyphens: auto; -webkit-hyphens: auto; hyphenate-limit-chars: 10 5 5; }
}

/* Fokus sichtbar für Tastaturbedienung */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline: 3px solid var(--fwp-akzentrot);
	outline-offset: 2px;
	border-radius: 2px;
}

.skip-link.screen-reader-text:focus {
	background: var(--fwp-dunkel);
	color: #fff;
	padding: 12px 18px;
	border-radius: 3px;
	z-index: 100000;
}

/* Cover-Blöcke volle Breite: Inhalt am Seitenraster ausrichten (wie .container im Entwurf) */
.wp-block-cover.alignfull { padding-left: 0; padding-right: 0; }
.wp-block-cover.alignfull > .wp-block-cover__inner-container {
	width: 100% !important;
	max-width: none !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	padding-left: var(--wp--style--root--padding-left, 24px);
	padding-right: var(--wp--style--root--padding-right, 24px);
}
.wp-block-cover__inner-container > .alignwide {
	max-width: var(--wp--style--global--wide-size) !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

/* Abschnitte ohne Lücken untereinander */
.fwp-main > *,
.fwp-seiteninhalt > .alignfull,
.wp-block-post-content > .alignfull { margin-block-start: 0; margin-block-end: 0; }
.wp-site-blocks > * + * { margin-block-start: 0; }

/* -------------------- Typografie-Stile -------------------- */
.is-style-fwp-dachzeile {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 0.8rem !important;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--fwp-rot);
	margin-bottom: 14px;
	line-height: 1.4;
}
.is-style-fwp-dachzeile::before {
	content: "";
	width: 26px;
	height: 2px;
	background: currentColor;
	flex-shrink: 0;
}
.has-text-align-center.is-style-fwp-dachzeile { justify-content: center; }
.has-dunkel-background-color .is-style-fwp-dachzeile,
.has-background-gradient + * .is-style-fwp-dachzeile,
.wp-block-cover .is-style-fwp-dachzeile { color: var(--wp--preset--color--rosa, #ff9aa4); }

.is-style-fwp-dachzeile + .wp-block-heading { margin-top: 0; }

.is-style-fwp-einleitung {
	color: var(--fwp-gedaempft);
	font-size: var(--wp--preset--font-size--large, 1.08rem);
	margin-top: 12px;
}
.has-dunkel-background-color .is-style-fwp-einleitung { color: var(--wp--preset--color--text-auf-dunkel-gedaempft, #b9b9b7); }

.is-style-fwp-hinweis {
	font-size: 0.85rem;
	color: var(--fwp-gedaempft);
	font-style: italic;
}

.is-style-fwp-kennzahl {
	font-size: clamp(3.4rem, 8vw, 6rem);
	font-weight: 800;
	line-height: 1;
	color: var(--fwp-rot);
}

/* Link mit Pfeil („Alle Einsätze ansehen →“) */
.is-style-fwp-pfeil a,
a.fwp-pfeil-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-weight: 700;
	color: var(--fwp-rot);
	text-decoration: none;
	border-bottom: 2px solid transparent;
	transition: gap var(--fwp-uebergang), border-color var(--fwp-uebergang);
}
.is-style-fwp-pfeil a::after,
a.fwp-pfeil-link::after {
	content: "";
	width: 16px;
	height: 16px;
	flex-shrink: 0;
	background: currentColor;
	-webkit-mask: var(--fwp-pfeil) center / contain no-repeat;
	mask: var(--fwp-pfeil) center / contain no-repeat;
}
.is-style-fwp-pfeil a:hover,
a.fwp-pfeil-link:hover { gap: 12px; border-color: currentColor; color: var(--fwp-rot); }
.has-dunkel-background-color .is-style-fwp-pfeil a { color: #fff; }

/* -------------------- Buttons -------------------- */
.wp-block-button__link { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; transition: background var(--fwp-uebergang), color var(--fwp-uebergang), border-color var(--fwp-uebergang); }
.wp-block-button__link:active { transform: translateY(1px); }

.wp-block-button.is-style-fwp-kontur .wp-block-button__link,
.wp-block-button.is-style-fwp-klein-kontur .wp-block-button__link {
	background: transparent;
	color: var(--fwp-dunkel);
	border-color: var(--fwp-dunkel);
}
.wp-block-button.is-style-fwp-kontur .wp-block-button__link:hover,
.wp-block-button.is-style-fwp-klein-kontur .wp-block-button__link:hover { background: var(--fwp-dunkel); color: #fff; }

.wp-block-button.is-style-fwp-kontur-hell .wp-block-button__link {
	background: transparent;
	color: #fff;
	border-color: rgba(255, 255, 255, 0.55);
}
.wp-block-button.is-style-fwp-kontur-hell .wp-block-button__link:hover { background: #fff; color: var(--fwp-dunkel); border-color: #fff; }

.wp-block-button.is-style-fwp-weiss .wp-block-button__link { background: #fff; color: var(--fwp-dunkel); }
.wp-block-button.is-style-fwp-weiss .wp-block-button__link:hover { background: var(--fwp-hellgrau); color: var(--fwp-dunkel); }

.wp-block-button.is-style-fwp-klein .wp-block-button__link,
.wp-block-button.is-style-fwp-klein-kontur .wp-block-button__link {
	padding: 8px 18px;
	min-height: 40px;
	font-size: 0.9rem;
	white-space: nowrap;
}

/* -------------------- Hinweisleiste + Header -------------------- */
.fwp-hinweisleiste p { margin: 0; }
/* 1.4.19: Amtliche Warnung in der Notruf-Hinweisleiste – EINE zentrale Gestaltung für alle Seiten (vorher hell mit
   orangem Rand nur auf Seiten, die das Plugin-Stylesheet laden, z. B. Startseite; sonst ungestaltet dunkel). */
.fwp-hinweisleiste .fwpc-warnhinweis {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 10px;
	margin: 6px auto 0 !important; padding: 7px 14px; min-height: 40px; box-sizing: border-box;
	max-width: var(--wp--style--global--wide-size, 1280px);
	background: #111; color: #fff; border: 1px solid rgba(255, 255, 255, 0.14); border-left: 4px solid #ff4d5a; border-radius: 4px;
	font-size: 0.85rem; line-height: 1.4; text-align: left; hyphens: manual; -webkit-hyphens: manual;
}
.fwp-hinweisleiste .fwpc-warnhinweis > span { min-width: 0; }
.fwp-hinweisleiste .fwpc-warnhinweis strong { color: #ff6b75; font-weight: 800; }
.fwp-hinweisleiste .fwpc-warnhinweis__symbol { width: 20px; height: 20px; flex: 0 0 auto; color: #ff6b75; }
.fwp-hinweisleiste .fwpc-warnhinweis a { color: #fff; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.fwp-hinweisleiste .fwpc-warnhinweis a:hover, .fwp-hinweisleiste .fwpc-warnhinweis a:focus-visible { color: #ffb3b9; }
@media (max-width: 600px) {
	.fwp-hinweisleiste .fwpc-warnhinweis { justify-content: flex-start; padding: 7px 10px; }
}
.fwp-hinweisleiste a { font-weight: 700; text-decoration: none; }
.fwp-hinweisleiste a:hover { text-decoration: underline; color: #fff; }
.fwp-hinweisleiste strong { color: var(--wp--preset--color--rosa, #ff9aa4); }

.fwp-header {
	position: sticky;
	top: 0;
	z-index: 500;
	background: rgba(255, 255, 255, 0.96);
	border-bottom: 1px solid transparent;
	transition: box-shadow var(--fwp-uebergang), border-color var(--fwp-uebergang);
}
.admin-bar .fwp-header { top: var(--wp-admin--admin-bar--height, 0px); }
@media (max-width: 600px) {
	.admin-bar .fwp-header { top: 0; }
}
@supports (backdrop-filter: blur(8px)) {
	.fwp-header { backdrop-filter: saturate(180%) blur(8px); }
	.fwp-header .fwp-kopfzeile { background-color: transparent !important; }
}
.fwp-header.is-scrolled { box-shadow: var(--wp--custom--shadow-small, 0 1px 3px rgba(17, 17, 17, 0.08)); border-bottom-color: var(--fwp-rahmen); }

.fwp-kopfzeile__inhalt {
	min-height: var(--wp--custom--header-height, 84px);
	gap: 24px;
	transition: min-height var(--fwp-uebergang);
}
.fwp-header.is-scrolled .fwp-kopfzeile__inhalt { min-height: 68px; }
.fwp-kopfzeile__inhalt > .wp-block-site-logo { flex-shrink: 0; }
.fwp-kopfzeile__inhalt .wp-block-site-logo img { height: 78px; width: auto; max-width: 220px; object-fit: contain; transition: height var(--fwp-uebergang); }
.fwp-header.is-scrolled .wp-block-site-logo img { height: 60px; }
.fwp-kopfzeile__aktionen { gap: 10px; flex-shrink: 0; }
.fwp-kopfzeile__aktionen:empty { display: none; }
.fwp-kopfzeile__aktionen .wp-block-button { margin: 0; }

/* Hauptnavigation (Desktop) */
.fwp-hauptnavigation { flex: 1 1 auto; justify-content: flex-end; }
.fwp-hauptnavigation .wp-block-navigation__container { gap: 0; flex-wrap: nowrap; }
.fwp-hauptnavigation .wp-block-navigation-item__content { padding: 12px 10px; border-radius: 3px; white-space: nowrap; }
@media (min-width: 1280px) {
	.fwp-hauptnavigation { font-size: 0.95rem !important; }
}
.fwp-hauptnavigation .wp-block-navigation-item.current-menu-item > .wp-block-navigation-item__content,
.fwp-hauptnavigation .wp-block-navigation-item__content[aria-current="page"],
.fwp-hauptnavigation .wp-block-navigation-item__content:hover,
.fwp-hauptnavigation .current-menu-ancestor > .wp-block-navigation-item__content,
.fwp-hauptnavigation .current-menu-ancestor > .wp-block-navigation-submenu__toggle { color: var(--fwp-rot); }
/* Aktuelle Unterseite im Untermenü zusätzlich zur Farbe mit Markierung (nicht nur über Farbe erkennbar) */
.fwp-hauptnavigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content[aria-current="page"] { box-shadow: inset 3px 0 0 var(--fwp-rot); font-weight: 700; }
.fwp-hauptnavigation .wp-block-navigation-submenu__toggle { padding: 12px 6px 12px 0; }
.fwp-hauptnavigation .wp-block-navigation-item.has-child .wp-block-navigation-item__content { padding-right: 4px; }
.fwp-hauptnavigation .wp-block-navigation__submenu-container {
	min-width: 240px !important;
	background: #fff !important;
	border: 1px solid var(--fwp-rahmen) !important;
	border-radius: var(--fwp-radius);
	box-shadow: var(--fwp-schatten);
	padding: 10px !important;
}
.fwp-hauptnavigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding: 11px 14px; font-size: 0.95rem; }
.fwp-hauptnavigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover { background: var(--fwp-hellgrau); }

/* Menü-Schaltfläche (Hamburger) */
.fwp-hauptnavigation .wp-block-navigation__responsive-container-open {
	width: 46px;
	height: 46px;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--fwp-rahmen);
	border-radius: 3px;
	background: #fff;
	color: var(--fwp-dunkel);
}
.fwp-hauptnavigation .wp-block-navigation__responsive-container-open svg { width: 24px; height: 24px; }

/* Overlay-Menü (mobil) */
.fwp-hauptnavigation .wp-block-navigation__responsive-container.is-menu-open {
	padding: 18px clamp(16px, 6.2vw, 24px) 32px;
	background: #fff !important;
	color: var(--fwp-dunkel) !important;
}
.fwp-hauptnavigation .is-menu-open .wp-block-navigation__responsive-container-content {
	padding-top: 56px !important;
	align-items: stretch !important;
}
.fwp-hauptnavigation .is-menu-open .wp-block-navigation__container {
	width: 100%;
	gap: 0 !important;
	align-items: stretch !important;
}
.fwp-hauptnavigation .is-menu-open .wp-block-navigation__container > .wp-block-navigation-item {
	border-bottom: 1px solid var(--fwp-rahmen);
	width: 100%;
	flex-direction: column;
	align-items: flex-start !important;
}
.fwp-hauptnavigation .is-menu-open .wp-block-navigation__container > .wp-block-navigation-item > .wp-block-navigation-item__content {
	font-size: 1.08rem;
	font-weight: 700;
	padding: 16px 4px;
	min-height: 44px;
	width: 100%;
}
.fwp-hauptnavigation .is-menu-open .wp-block-navigation__submenu-container {
	border: 0 !important;
	box-shadow: none;
	padding: 0 4px 14px 14px !important;
	min-width: 0 !important;
}
.fwp-hauptnavigation .is-menu-open .wp-block-navigation__submenu-container { align-items: flex-start !important; width: 100% !important; }
.fwp-hauptnavigation .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	color: var(--fwp-gedaempft);
	font-weight: 600;
	padding: 10px 8px;
}
.fwp-hauptnavigation .wp-block-navigation__responsive-container-close {
	top: 18px !important;
	right: clamp(16px, 6.2vw, 24px) !important;
	width: 46px;
	height: 46px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--fwp-rahmen);
	border-radius: 3px;
}

/*
 * Der Prototyp zeigt die volle Navigation erst ab ca. 1280 px korrekt an
 * (darunter wurden Logo und Buttons aus dem Bild geschoben). Deshalb wird
 * unter 1280 px das Overlay-Menü verwendet.
 */
@media (min-width: 600px) and (max-width: 1279px) {
	.fwp-hauptnavigation .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
	.fwp-hauptnavigation .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
	.fwp-hauptnavigation .wp-block-navigation__responsive-container.is-menu-open { display: flex; }
	.fwp-hauptnavigation .wp-block-navigation__responsive-container-close { display: flex; }
	.fwp-hauptnavigation .is-menu-open .wp-block-navigation__submenu-container {
		position: static !important;
		opacity: 1 !important;
		visibility: visible !important;
		height: auto !important;
		width: auto !important;
		background: transparent !important;
	}
	.fwp-hauptnavigation .is-menu-open .wp-block-navigation-submenu__toggle { display: none; }
	.fwp-hauptnavigation .is-menu-open .wp-block-navigation__container { flex-direction: column; }
}
@media (max-width: 1279px) {
	.fwp-hauptnavigation { flex: 0 0 auto; order: 3; }
	.fwp-kopfzeile__aktionen { margin-left: auto; }
}
@media (max-width: 480px) {
	.fwp-kopfzeile__inhalt { gap: 8px; }
	.fwp-kopfzeile__inhalt .wp-block-site-logo img { height: 62px; width: auto !important; max-width: 132px; }
	.fwp-header.is-scrolled .wp-block-site-logo img { height: 52px; }
	.fwp-kopfzeile__aktionen .wp-block-button__link { padding: 8px 10px; font-size: 0.82rem; min-height: 44px; }
	.fwp-hauptnavigation .wp-block-navigation__responsive-container-open { width: 44px; height: 44px; }
}
@media (max-width: 374px) {
	.fwp-kopfzeile__aktionen { display: none; }
	.fwp-hauptnavigation { margin-left: auto; }
}
/* Geöffnetes Overlay-Menü: backdrop-filter würde das fixierte Overlay im Header einschließen. */
.has-modal-open .fwp-header,
.fwp-header:has(.wp-block-navigation__responsive-container.is-menu-open) { backdrop-filter: none !important; }

/* -------------------- Hero -------------------- */
.is-style-fwp-hero { overflow: hidden; color: #fff; }
.is-style-fwp-hero .wp-block-cover__inner-container { padding-top: clamp(120px, 14vw, 140px); padding-bottom: clamp(56px, 6vw, 76px); }
.is-style-fwp-hero h1 { color: #fff; max-width: 780px; margin-top: 0; }
.is-style-fwp-hero .is-style-fwp-dachzeile { color: #ffb3ba; letter-spacing: 0.18em; font-size: 0.85rem !important; margin-bottom: 18px; }
.is-style-fwp-hero .is-style-fwp-dachzeile::before { width: 30px; background: #ff5b68; }
.fwp-hero__unterzeile { font-size: 1.3rem; font-weight: 700; color: #ffdadd; margin-top: 18px; }
.fwp-hero__text { max-width: 620px; margin-top: 16px; font-size: 1.08rem; color: rgba(255, 255, 255, 0.88); }
.fwp-hero__buttons { margin-top: 36px !important; gap: 16px; }
/* 1.4.7: Zoom-Effekt (Skalierung bis 106 %) entfernt – das Titelbild steht ruhig und ungeschnitten. */

/* Seitenkopf */
.is-style-fwp-seitenkopf { color: #fff; min-height: 0; }
.is-style-fwp-seitenkopf h1, .is-style-fwp-seitenkopf .wp-block-post-title { color: #fff; margin: 0 0 12px; }
.is-style-fwp-seitenkopf p { color: rgba(255, 255, 255, 0.85); max-width: 620px; }
.is-style-fwp-seitenkopf .is-style-fwp-einleitung { color: rgba(255, 255, 255, 0.85); margin-top: 0; }
/* 1.7.1: Einsatz-Detailseite – kleines oder hochformatiges Titelbild weichgezeichnet als Kopfhintergrund (kein Hochskalieren, kein ungünstiger Ausschnitt). */
.fwp-einsatzkopf { overflow: hidden; }
.fwp-einsatzkopf .fwp-einsatzkopf__bild--weich { filter: blur(18px) saturate(1.1); transform: scale(1.12); }
.wp-block-cover .wp-block-breadcrumbs { color: rgba(255, 255, 255, 0.7); margin-bottom: 18px; }
.wp-block-cover .wp-block-breadcrumbs a { color: rgba(255, 255, 255, 0.88); font-weight: 600; text-decoration: none; }
.wp-block-cover .wp-block-breadcrumbs a:hover { color: #fff; text-decoration: underline; }
.wp-block-breadcrumbs ol { margin: 0; padding: 0; }

/* Teaser-/CTA-Cover */
.fwp-teaser .wp-block-cover__inner-container > .wp-block-group { max-width: 640px; }
.fwp-cta { text-align: center; }
.fwp-cta .wp-block-cover__inner-container > .wp-block-group { max-width: 700px; margin-left: auto; margin-right: auto; }
.fwp-cta p, .fwp-teaser p { color: rgba(255, 255, 255, 0.88); font-size: 1.08rem; }
.fwp-cta h2, .fwp-teaser h2 { color: #fff; }
.fwp-cta .wp-block-buttons, .fwp-teaser .wp-block-buttons { margin-top: 32px; gap: 16px; }

/* -------------------- Kennzahlen -------------------- */
.is-style-fwp-kennzahlen .fwp-kennzahlen__raster {
	grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	gap: 0 !important;
}
.fwp-kennzahl {
	padding: 34px 24px;
	text-align: center;
	border-left: 1px solid rgba(255, 255, 255, 0.12);
	margin: 0 !important;
}
.fwp-kennzahl:first-child { border-left: 0; }
.fwp-kennzahl p { margin: 0; }
.fwp-kennzahl__wert {
	font-size: var(--wp--preset--font-size--kennzahl, clamp(1.9rem, 2.4vw, 2.6rem));
	font-weight: 800;
	color: #fff;
	letter-spacing: -0.02em;
	line-height: 1.2;
}
.fwp-kennzahl--notruf .fwp-kennzahl__wert { color: #ff5b68; }
.fwp-kennzahl__label {
	margin-top: 6px !important;
	font-size: 0.88rem;
	color: var(--wp--preset--color--text-auf-dunkel-gedaempft, #b9b9b7);
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}
.fwp-kennzahl__hinweis { margin-top: 4px !important; font-size: 0.72rem; color: #8a8a88; }
@media (max-width: 1024px) {
	.is-style-fwp-kennzahlen .fwp-kennzahlen__raster { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
	.fwp-kennzahl:nth-child(3) { border-left: 0; }
	.fwp-kennzahl:nth-child(1), .fwp-kennzahl:nth-child(2) { border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
}
@media (max-width: 640px) {
	.fwp-kennzahl { padding: 24px 12px; }
}
/* 1.4.11: Drei Kennzahlen (Startseite ohne „Aktive Mitglieder“) – drei gleich breite, mittig
   ausgerichtete Spalten statt einer leeren vierten; Inhalt jeder Kachel vertikal und horizontal mittig.
   Smartphone: untereinander mit Trennlinien. */
.is-style-fwp-kennzahlen .fwp-kennzahlen__raster:not(:has(> :nth-child(4))) {
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	max-width: 1080px;
	margin-left: auto !important;
	margin-right: auto !important;
}
.fwp-kennzahlen__raster:not(:has(> :nth-child(4))) > .fwp-kennzahl {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	border-bottom: 0;
}
.fwp-kennzahlen__raster:not(:has(> :nth-child(4))) > .fwp-kennzahl:nth-child(3) { border-left: 1px solid rgba(255, 255, 255, 0.12); }
@media (max-width: 640px) {
	.is-style-fwp-kennzahlen .fwp-kennzahlen__raster:not(:has(> :nth-child(4))) { grid-template-columns: minmax(0, 1fr) !important; }
	.fwp-kennzahlen__raster:not(:has(> :nth-child(4))) > .fwp-kennzahl,
	.fwp-kennzahlen__raster:not(:has(> :nth-child(4))) > .fwp-kennzahl:nth-child(3) { border-left: 0; padding: 22px 12px; }
	.fwp-kennzahlen__raster:not(:has(> :nth-child(4))) > .fwp-kennzahl + .fwp-kennzahl { border-top: 1px solid rgba(255, 255, 255, 0.12); }
}

/* 1.4.11: Gemeinschaftsbild der Mannschaft */
/* Gemeinschaftsbild (Mannschaft): kleiner als die volle Inhaltsbreite, zentriert, ohne Zuschnitt oder Verzerrung
   (Seitenverhältnis bleibt; Datei unverändert). Stand 16.11.2026. */
.wp-block-image.fwp-gemeinschaftsbild { max-width: min(760px, 100%); margin-left: auto !important; margin-right: auto !important; margin-top: clamp(28px, 4vw, 44px); margin-bottom: 0; }
.fwp-gemeinschaftsbild img { display: block; width: 100%; height: auto; object-fit: contain; border-radius: var(--fwp-radius, 6px); }
.fwp-gemeinschaftsbild figcaption { margin-top: 12px; }
.fwp-gemeinschaftsbild figcaption { text-align: center; }

/* -------------------- Abschnitte -------------------- */
.fwp-abschnittskopf { margin-bottom: 44px !important; gap: 24px; }
.fwp-abschnittskopf__text { max-width: 640px; }
.fwp-abschnittskopf__text > * { margin-block: 0; }
.fwp-abschnittskopf__text .is-style-fwp-einleitung { margin-top: 12px; }
.fwp-abschnittskopf .is-style-fwp-pfeil { margin: 0; }
@media (max-width: 640px) {
	.fwp-abschnittskopf { flex-direction: column; align-items: flex-start !important; }
}

/* Einleitungstexte direkt im Abschnitt auf Lesebreite begrenzen und – wie Dachzeile und
   Überschrift darüber – an der linken Kante des Inhaltsrasters ausrichten (nicht zentrieren). */
.fwp-abschnitt > .is-style-fwp-einleitung { max-width: 680px; }
.fwp-abschnitt--breit.is-layout-constrained > .is-style-fwp-einleitung:not(.has-text-align-center) {
	margin-left: max(0px, calc((100% - var(--wp--style--global--wide-size)) / 2)) !important;
	margin-right: auto !important;
}

/* Bild-Text-Raster (Über uns, Gerätehaus, Geschichte) */
.fwp-bild-text { gap: 56px !important; }
.fwp-bild-text .wp-block-image img { width: 100%; }
.fwp-bild-text__text { color: var(--fwp-gedaempft); font-size: 1.05rem; }
.fwp-bild-text__text h2 { margin-top: 0; }
.fwp-bild-text__text .wp-block-buttons { margin-top: 28px; }
.has-dunkel-background-color .fwp-bild-text__text { color: var(--wp--preset--color--text-auf-dunkel-gedaempft, #b9b9b7); }
.has-dunkel-background-color h2, .has-dunkel-background-color h3 { color: #fff; }
.has-dunkel-background-color figcaption { color: var(--wp--preset--color--text-auf-dunkel-gedaempft, #b9b9b7); }
@media (max-width: 1180px) and (min-width: 782px) {
	.fwp-bild-text { flex-wrap: wrap !important; }
	.fwp-bild-text > .wp-block-column { flex-basis: 100% !important; }
	.fwp-bild-text .fwp-bild-text__bild { order: -1; }
	.fwp-bild-text .fwp-bild-text__bild img { max-height: 420px; }
}
@media (max-width: 781px) {
	.fwp-bild-text .fwp-bild-text__bild { order: -1; }
	.fwp-bild-text .fwp-bild-text__bild img { max-height: 420px; }
}

/* Bildpaare mit Bildunterschrift */
.fwp-bildpaar figcaption { margin-top: 10px; font-size: 0.85rem; text-align: left; }

/* -------------------- Karten (News, Führung) -------------------- */
.is-style-fwp-karte,
.fwp-news-karte {
	background: #fff;
	border: 1px solid var(--fwp-rahmen);
	border-radius: var(--fwp-radius);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	height: 100%;
	transition: box-shadow var(--fwp-uebergang), transform var(--fwp-uebergang);
	color: var(--wp--preset--color--grundtext, #1c1c1c);
}
.is-style-fwp-karte:hover,
.fwp-news-karte:hover { box-shadow: var(--fwp-schatten); transform: translateY(-3px); }
.is-style-fwp-karte > .wp-block-image,
.is-style-fwp-karte > figure { margin: 0; }
.is-style-fwp-karte > .wp-block-image img { border-radius: 0; width: 100%; }
.is-style-fwp-karte > .wp-block-image figcaption { margin: 0; padding: 12px 22px 0; font-size: 0.85rem; color: var(--fwp-gedaempft); }
.fwp-karte__inhalt { padding: 22px 22px 24px !important; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.fwp-karte__inhalt > * { margin: 0 !important; }
.fwp-karte__inhalt h3, .fwp-news-karte h3 { font-size: 1.15rem; }
.fwp-karte__inhalt p { color: var(--fwp-gedaempft); font-size: 0.96rem; }
.fwp-teaserkarte h3 a { color: inherit; text-decoration: none; }
.fwp-teaserkarte h3 a:hover { color: var(--fwp-rot); }
.fwp-teaserkarte .is-style-fwp-pfeil { margin-top: auto !important; padding-top: 6px; }
.fwp-teaserkarte .is-style-fwp-pfeil a { color: var(--fwp-rot); }
/* Ziel einer alten Sprungmarke (#mannschaft …) kurz hervorheben */
.fwp-teaserkarte:target { outline: 3px solid var(--fwp-rot); outline-offset: 4px; }
/* Abschnitt mit automatischer Unterseitenliste ausblenden, solange keine Unterseite veröffentlicht ist */
.fwp-abschnitt--unterseiten:not(:has(.fwpc-unterseiten)) { display: none; }

.fwp-news-karte__bild { position: relative; margin: 0 !important; background: var(--fwp-dunkel); }
.fwp-news-karte__bild .wp-block-post-featured-image { margin: 0; overflow: hidden; }
.fwp-news-karte__bild .wp-block-post-featured-image img { transition: transform 400ms ease; width: 100%; }
.fwp-news-karte:hover .wp-block-post-featured-image img { transform: scale(1.05); }
.fwp-news-karte__bild .fwp-badge { position: absolute; top: 14px; left: 14px; margin: 0; z-index: 1; }
.fwp-news-karte .wp-block-post-excerpt { flex: 1; }
.fwp-news-karte .wp-block-post-excerpt__excerpt { margin: 0; }
.fwp-news-karte .wp-block-read-more { font-weight: 700; color: var(--fwp-rot); text-decoration: none; display: inline-flex; gap: 8px; align-items: center; margin-top: 8px; }
.fwp-news-karte .wp-block-read-more::after { content: ""; width: 16px; height: 16px; background: currentColor; -webkit-mask: var(--fwp-pfeil) center / contain no-repeat; mask: var(--fwp-pfeil) center / contain no-repeat; transition: transform var(--fwp-uebergang); }
.fwp-news-karte .wp-block-read-more:hover::after { transform: translateX(4px); }
.fwp-news-raster { gap: 28px !important; }

/* Kategorie-Badges */
.fwp-badge a, .fwp-badge > span {
	display: inline-block;
	padding: 6px 12px;
	border-radius: 999px;
	font-size: 0.74rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #fff;
	background: var(--fwp-rot);
	text-decoration: none;
	line-height: 1.3;
}
.fwp-badge .wp-block-post-terms__separator { display: none; }
.fwp-news-karte__bild:not(:has(img)) { background: transparent; }
.fwp-news-karte__bild:not(:has(img)) .fwp-badge { position: static; margin: 22px 22px 0 !important; }
.fwp-badge a + a { display: none; }
.fwp-term-uebung, .fwp-term-uebungen { background: #1f7a4a !important; }
.fwp-term-veranstaltung, .fwp-term-veranstaltungen { background: var(--fwp-rot) !important; }
.fwp-term-jugendfeuerwehr, .fwp-term-jugend { background: #b3121f !important; }
.fwp-term-vereinsleben, .fwp-term-verein { background: #7a4a1f !important; }
.fwp-term-information, .fwp-term-informationen { background: #2a2a2a !important; }

/* Datum in Karten */
.fwp-news-karte .wp-block-post-date { margin: 0; }

/* Reiter für Kategorien (Aktuelles) */
.is-style-fwp-reiter.wp-block-categories,
ul.is-style-fwp-reiter {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
	margin: 0 0 40px;
	padding: 0;
	border-bottom: 1px solid var(--fwp-rahmen);
}
.is-style-fwp-reiter li { margin: 0; }
.is-style-fwp-reiter a {
	display: block;
	padding: 13px 20px;
	font-weight: 700;
	color: var(--fwp-gedaempft);
	text-decoration: none;
	border-bottom: 3px solid transparent;
	margin-bottom: -1px;
}
.is-style-fwp-reiter a:hover { color: var(--fwp-dunkel); }
.is-style-fwp-reiter .current-cat a,
.is-style-fwp-reiter a[aria-current="page"] { color: var(--fwp-rot); border-color: var(--fwp-rot); }

/* Seitennavigation (Pagination) */
.wp-block-query-pagination { margin-top: 48px; gap: 8px; font-weight: 700; }
.wp-block-query-pagination a, .wp-block-query-pagination .page-numbers { text-decoration: none; padding: 8px 14px; border: 1px solid var(--fwp-rahmen); border-radius: 3px; color: var(--fwp-dunkel); }
.wp-block-query-pagination .page-numbers.current { background: var(--fwp-dunkel); color: #fff; border-color: var(--fwp-dunkel); }
.wp-block-query-pagination a:hover { border-color: var(--fwp-rot); color: var(--fwp-rot); }

/* -------------------- Team -------------------- */
.fwp-team-karte { text-align: center; }
.fwp-team-karte .wp-block-image { margin: 0; background: var(--fwp-dunkel); border-radius: var(--fwp-radius); overflow: hidden; }
.fwp-team-karte .wp-block-image img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 0; }
.fwp-team-karte__name { margin-top: 16px !important; font-weight: 800; font-size: 1.05rem; }
.fwp-team-karte__rolle { color: var(--fwp-rot); font-weight: 700; font-size: 0.9rem; margin-top: 2px !important; }
.fwp-raster-4 { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 28px !important; }
.fwp-raster-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 28px !important; }
.fwp-raster-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 28px !important; }
@media (max-width: 1024px) {
	.fwp-raster-4 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 860px) {
	.fwp-raster-3 { grid-template-columns: 1fr !important; }
}
@media (max-width: 640px) {
	.fwp-raster-2 { grid-template-columns: 1fr !important; }
}
@media (max-width: 400px) {
	.fwp-raster-4 { grid-template-columns: 1fr !important; }
}

/* -------------------- Akkordeon -------------------- */
.is-style-fwp-akkordeon { border-top: 1px solid var(--fwp-rahmen); }
.is-style-fwp-akkordeon .wp-block-accordion-item { border-bottom: 1px solid var(--fwp-rahmen); margin: 0; }
.is-style-fwp-akkordeon .wp-block-accordion-heading { margin: 0; }
.is-style-fwp-akkordeon .wp-block-accordion-heading__toggle {
	width: 100%;
	padding: 22px 4px;
	background: none;
	border: 0;
	color: var(--fwp-dunkel);
	font: inherit;
	font-weight: 800;
	text-align: left;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	cursor: pointer;
}
.is-style-fwp-akkordeon .wp-block-accordion-heading__toggle-icon { color: var(--fwp-rot); font-size: 1.6rem; font-weight: 400; line-height: 1; }
.is-style-fwp-akkordeon .wp-block-accordion-panel { padding: 0 4px 24px; color: var(--fwp-gedaempft); }
.is-style-fwp-akkordeon .wp-block-accordion-panel > * { margin-top: 0; }

/* -------------------- Kontakt -------------------- */
.is-style-fwp-kontaktzeile {
	display: grid !important;
	grid-template-columns: 44px 1fr;
	column-gap: 16px;
	padding: 20px 0;
	border-bottom: 1px solid var(--fwp-rahmen);
	margin: 0 !important;
}
.is-style-fwp-kontaktzeile::before {
	content: "";
	grid-row: 1 / span 3;
	width: 44px;
	height: 44px;
	border-radius: var(--fwp-radius);
	background: var(--fwp-hellgrau) var(--fwp-symbol, none) center / 22px no-repeat;
}
.is-style-fwp-kontaktzeile > * { grid-column: 2; margin: 0 !important; }
.is-style-fwp-kontaktzeile .fwp-kontakt__label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--fwp-gedaempft); font-weight: 700; }
.is-style-fwp-kontaktzeile .fwp-kontakt__wert { font-weight: 700; margin-top: 3px !important; }
.is-style-fwp-kontaktzeile .fwp-kontakt__wert a { color: inherit; text-decoration: none; }
.is-style-fwp-kontaktzeile .fwp-kontakt__wert a:hover { color: var(--fwp-rot); text-decoration: underline; }
.fwp-symbol-adresse { --fwp-symbol: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M12 21s7-6.1 7-11.5A7 7 0 0 0 5 9.5C5 14.9 12 21 12 21z' stroke='%23C8102E' stroke-width='1.8'/%3E%3Ccircle cx='12' cy='9.5' r='2.5' stroke='%23C8102E' stroke-width='1.8'/%3E%3C/svg%3E"); }
.fwp-symbol-telefon { --fwp-symbol: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M4 5c0-1 1-1 1-1h3l2 5-2 1c1 3 3 5 6 6l1-2 5 2s0 1-1 1c-1 1-3 1-5 0-4-2-8-6-10-10-1-2-1-2 0-2z' stroke='%23C8102E' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.fwp-symbol-mail { --fwp-symbol: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Crect x='3' y='5' width='18' height='14' rx='2' stroke='%23C8102E' stroke-width='1.6'/%3E%3Cpath d='M4 7l8 6 8-6' stroke='%23C8102E' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.fwp-symbol-anfahrt { --fwp-symbol: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M3 11l18-8-8 18-2-8-8-2z' stroke='%23C8102E' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E"); }

/* -------------------- Footer -------------------- */
.fwp-fusszeile a { color: var(--wp--preset--color--text-auf-dunkel-gedaempft, #b9b9b7); text-decoration: none; }
.fwp-fusszeile a:hover { color: #fff; text-decoration: underline; }
.fwp-fusszeile__notruf p { margin: 0; font-size: 1.05rem; }
.fwp-fusszeile__logo { margin-bottom: 18px; }
.fwp-fusszeile__logo img { height: 96px; width: auto !important; box-sizing: content-box; padding: 8px 10px; background: #fff; border-radius: 6px; }
.fwp-fusszeile__marke p { max-width: 320px; }
.fwp-fusszeile__titel {
	color: #fff !important;
	font-size: 0.9rem !important;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	margin: 0 0 20px;
}
.fwp-fusszeile .is-style-fwp-ohne-punkte { display: flex; flex-direction: column; gap: 12px; font-size: 0.96rem; color: var(--wp--preset--color--text-auf-dunkel-gedaempft, #b9b9b7); }
.fwp-fusszeile__unten { color: #8a8a88; gap: 16px; }
.fwp-fusszeile__unten p { margin: 0; }
.fwp-fusszeile__unten a { color: #8a8a88; }
.fwp-fusszeile__links { display: flex; flex-wrap: wrap; gap: 20px; }
.fwp-social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid #333; display: flex; align-items: center; justify-content: center; }
.fwp-social a:hover { background: var(--fwp-rot); border-color: var(--fwp-rot); }
@media (max-width: 1180px) and (min-width: 782px) {
	.fwp-fusszeile__spalten { flex-wrap: wrap !important; }
	.fwp-fusszeile__spalten > .wp-block-column { flex-basis: calc(50% - 20px) !important; flex-grow: 0 !important; }
}
@media (max-width: 781px) {
	.fwp-fusszeile__spalten { padding-top: 56px !important; padding-bottom: 32px !important; }
	.fwp-fusszeile__unten { flex-direction: column; align-items: flex-start !important; }
}

/* -------------------- Listen & Hilfsklassen -------------------- */
/* Funktionsplugin deaktiviert: betroffene Abschnitte für Besucher ausblenden */
.fwp-abschnitt:has(> .fwp-plugin-fehlt),
.wp-block-column:has(> .fwp-plugin-fehlt) { display: none; }

ul.is-style-fwp-ohne-punkte { list-style: none; padding-left: 0; }
.fwp-plugin-hinweis { padding: 16px 18px; border: 1px dashed var(--fwp-rot); border-radius: var(--fwp-radius); background: #fff7f8; color: var(--fwp-dunkel); font-size: 0.92rem; }
.fwp-logo-standard img { display: block; }

/* Textseiten (Impressum, Datenschutz) */
.fwp-textinhalt h2 { margin-top: 40px; font-size: clamp(1.4rem, 1.5vw + 1rem, 1.8rem); }
.fwp-textinhalt h2:first-child { margin-top: 0; }

/* -------------------- Bewegung -------------------- */
/* Einblenden beim Scrollen: nur wenn JavaScript aktiv ist und Bewegung erwünscht. */
@media (prefers-reduced-motion: no-preference) {
	.fwp-js .fwp-reveal { opacity: 0; transform: translateY(24px); transition: opacity 600ms ease, transform 600ms ease; }
	.fwp-js .fwp-reveal.is-visible { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.is-style-fwp-karte, .fwp-news-karte, .fwp-news-karte img { transition: none !important; }
	.is-style-fwp-karte:hover, .fwp-news-karte:hover { transform: none; }
}

/* -------------------- Editor -------------------- */
.editor-styles-wrapper .fwp-header { position: relative; top: auto; }
.editor-styles-wrapper .fwp-reveal { opacity: 1 !important; transform: none !important; }

/* Mobil: Buttons in Hero und Aufrufen über volle Breite (wie im Entwurf) */
@media (max-width: 640px) {
	.fwp-hero__buttons, .fwp-cta .wp-block-buttons, .fwp-teaser .wp-block-buttons { flex-direction: column; align-items: stretch !important; }
	.fwp-hero__buttons .wp-block-button, .fwp-cta .wp-block-button, .fwp-teaser .wp-block-button { width: 100%; }
	.fwp-hero__buttons .wp-block-button__link, .fwp-cta .wp-block-button__link, .fwp-teaser .wp-block-button__link { width: 100%; }
	.is-style-fwp-reiter a { padding: 12px 14px; }
}

/* Nur für Screenreader sichtbar (z. B. Gliederungsüberschriften) */
.screen-reader-text:not(:focus):not(:focus-within) {
	border: 0; clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important;
}

/* Leerzustände (z. B. Kategorie ohne Beiträge, keine Suchtreffer) – gleiche Gestaltung wie in den Plugin-Blöcken */
.fwp-leerzustand { padding: 24px; border: 1px dashed var(--fwp-rahmen); border-radius: var(--fwp-radius); color: var(--fwp-gedaempft); background: rgba(255, 255, 255, 0.6); }

/* -------------------- Unterseiten-Bausteine (1.3) -------------------- */
/* Infokacheln („Retten. Löschen. Bergen. Schützen.“) */
.fwp-infokachel { background: #fff; border: 1px solid var(--fwp-rahmen); border-top: 4px solid var(--fwp-rot); border-radius: var(--fwp-radius); padding: 24px 22px 26px !important; height: 100%; }
.fwp-infokachel > * { margin: 0 !important; }
.fwp-infokachel h3 { font-size: 1.25rem; margin-bottom: 10px !important; }
.fwp-infokachel p { color: var(--fwp-gedaempft); font-size: 0.96rem; }
.has-hellgrau-background-color .fwp-infokachel { background: #fff; }

/* Kompakte Teaserkarten („Mehr über unsere Feuerwehr“) */
.fwp-teaserraster--kompakt .fwp-karte__inhalt { padding: 18px 18px 20px !important; gap: 8px; }
.fwp-teaserraster--kompakt h3 { font-size: 1.05rem; }
.fwp-teaserraster--kompakt .fwp-karte__inhalt p:not(.is-style-fwp-pfeil) { font-size: 0.9rem; }

/* Zeitleiste (Chronik) */
.fwp-zeitleiste { position: relative; display: grid; gap: 28px; padding-left: 28px !important; border-left: 2px solid var(--fwp-rahmen); max-width: 820px; }
.fwp-zeitleiste__eintrag { position: relative; }
.fwp-zeitleiste__eintrag > * { margin: 0 !important; }
.fwp-zeitleiste__eintrag::before { content: ""; position: absolute; left: -36px; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--fwp-rot); box-shadow: 0 0 0 4px #fff; }
.fwp-zeitleiste__jahr { font-weight: 800; color: var(--fwp-rot); letter-spacing: 0.04em; }
.fwp-zeitleiste__eintrag h3 { font-size: 1.15rem; margin: 4px 0 6px !important; }
.fwp-zeitleiste__eintrag p:not(.fwp-zeitleiste__jahr) { color: var(--fwp-gedaempft); }

/* Galerien: Bildunterschrift unter dem Bild (wie bei Bildpaaren), einheitliches Seitenverhältnis */
.wp-block-gallery.has-nested-images figure.wp-block-image { flex-direction: column; justify-content: flex-start; }
.wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image) img { aspect-ratio: 4 / 3; height: auto; flex: 0 0 auto; object-fit: cover; border-radius: var(--fwp-radius); }
.wp-block-gallery.has-nested-images figure.wp-block-image figcaption { position: static; background: none; color: var(--fwp-gedaempft); text-shadow: none; padding: 10px 0 0; margin: 0; font-size: 0.85rem; text-align: left; max-height: none; overflow: visible; backdrop-filter: none; -webkit-backdrop-filter: none; }
.wp-block-gallery.has-nested-images figure.wp-block-image:has(figcaption)::before { display: none; }
.has-dunkel-background-color .wp-block-gallery figcaption { color: var(--wp--preset--color--text-auf-dunkel-gedaempft, #b9b9b7); }

/* Abstand vor der Unterseitenliste entfällt, wenn keine Unterseite veröffentlicht ist */
.fwp-abstand-unterseiten:last-child { display: none; }

/* Beitragsnavigation (vorheriger/nächster Beitrag) unter Beiträgen */
.fwp-beitragsnavigation { gap: 24px; }
.fwp-beitragsnavigation .wp-block-post-navigation-link { flex: 1 1 260px; max-width: 48%; }
.fwp-beitragsnavigation .wp-block-post-navigation-link:empty { display: none; }
.fwp-beitragsnavigation .post-navigation-link-next { text-align: right; margin-left: auto; }
.fwp-beitragsnavigation .wp-block-post-navigation-link a { display: flex; flex-direction: column; gap: 4px; text-decoration: none; color: var(--wp--preset--color--grundtext, #1c1c1c); }
.fwp-beitragsnavigation .post-navigation-link__label { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fwp-rot); }
.fwp-beitragsnavigation .post-navigation-link__title { font-weight: 800; line-height: 1.3; overflow-wrap: anywhere; }
.fwp-beitragsnavigation a:hover .post-navigation-link__title { color: var(--fwp-rot); }
@media (max-width: 640px) { .fwp-beitragsnavigation .wp-block-post-navigation-link { max-width: 100%; } .fwp-beitragsnavigation .post-navigation-link-next { text-align: left; margin-left: 0; } }
/* Smartphones: einspaltige, kompakte Querkarten (Bild links, Titel und Link rechts) statt
   zu schmaler Doppelspalten. */
@media (max-width: 640px) {
	.fwp-teaserraster--kompakt { grid-template-columns: 1fr !important; gap: 14px !important; }
	.fwp-teaserraster--kompakt .fwp-teaserkarte { flex-direction: row; align-items: stretch; }
	.fwp-teaserraster--kompakt .fwp-teaserkarte > .wp-block-image { flex: 0 0 36%; position: relative; min-height: 112px; overflow: hidden; }
	.fwp-teaserraster--kompakt .fwp-teaserkarte > .wp-block-image img { position: absolute; inset: 0; width: 100% !important; height: 100% !important; aspect-ratio: auto !important; object-fit: cover; }
	.fwp-teaserraster--kompakt .fwp-karte__inhalt { padding: 12px 14px !important; justify-content: center; }
	.fwp-teaserraster--kompakt .fwp-karte__inhalt p:not(.is-style-fwp-pfeil) { display: none; }
	.fwp-teaserraster--kompakt h3 { font-size: 1.02rem; }
	.fwp-teaserraster--kompakt .is-style-fwp-pfeil { padding-top: 0; }
}

/* -------------------- Bedienflächen (1.4) --------------------
   Eigenständige Links und Schalter mindestens 44 px hoch (Touchbedienung). */
.fwp-fusszeile .is-style-fwp-ohne-punkte { gap: 0; }
.fwp-fusszeile .is-style-fwp-ohne-punkte a,
.fwp-fusszeile__links a { display: inline-flex; align-items: center; min-height: 44px; }
.fwp-fusszeile__links { gap: 0 20px; }
.is-style-fwp-pfeil a,
a.fwp-pfeil-link,
.wp-block-read-more { min-height: 44px; }
.wp-block-read-more { display: inline-flex; align-items: center; }
/* Pfeil zum Aufklappen des Untermenüs (Desktop): größere Klickfläche */
.fwp-hauptnavigation .wp-block-navigation-submenu__toggle.wp-block-navigation__submenu-icon { width: 28px !important; height: 44px !important; padding: 0 !important; display: inline-flex; align-items: center; justify-content: center; }
.fwp-hauptnavigation .wp-block-navigation-submenu__toggle svg { width: 12px; height: 12px; }

/* 1.4: Mindestschriftgröße kleiner Etiketten und sinnvolle Zeilenlänge */
.fwp-badge a, .fwp-badge > span { font-size: 0.8rem; }
.fwp-kennzahl__hinweis { font-size: 0.8rem; }
.is-style-fwp-hinweis { max-width: 72ch; }
.fwp-bild-text__text p { max-width: 68ch; }

/* 1.4: Hero auf Smartphones nicht unnötig hoch – Höhe ergibt sich aus dem Inhalt */
@media (max-width: 640px) {
	.is-style-fwp-hero { min-height: 0 !important; }
	.is-style-fwp-hero .wp-block-cover__inner-container { padding-top: 56px; padding-bottom: 40px; }
	.fwp-hero__unterzeile { font-size: 1.12rem; margin-top: 12px; }
	.fwp-hero__text { font-size: 1rem; }
	.fwp-hero__buttons { margin-top: 24px !important; gap: 12px; }
}
/* Querformat auf Smartphones (geringe Höhe) */
@media (max-height: 500px) and (orientation: landscape) {
	.is-style-fwp-hero { min-height: 0 !important; }
	.is-style-fwp-hero .wp-block-cover__inner-container { padding-top: 48px; padding-bottom: 32px; }
}
@media (max-width: 640px) {
	.fwp-infokacheln { grid-template-columns: 1fr !important; gap: 14px !important; }
}

/* „Zuletzt aktualisiert“ im Seitenkopf von Beiträgen und Einsätzen */
.fwp-aktualisiert { margin-top: 6px !important; font-size: 0.9rem; color: rgba(255, 255, 255, 0.82); }
.fwp-aktualisiert__label { font-weight: 700; }

/* Einsätze ohne eigenes Foto: keine leere Bildfläche – die Karte beginnt mit der Einsatzart. */
.fwpc-karte__bild.fwpc-karte__bild--leer { aspect-ratio: auto; background: none; overflow: visible; padding: 18px 20px 0; }
.fwpc-karte__bild--leer .fwpc-badge { position: static; }
.fwp-einsatz-karte:has(.fwpc-karte__bild--leer) .fwpc-karte__inhalt { padding-top: 12px; }

/* 1.4.5 (unverändert): Titelbild-Stil auf anderen Seiten (z. B. Jugendfeuerwehr) – niedrigeres Banner
   auf Desktop/Tablet, Höhe auf Smartphones aus dem Inhalt. Die Startseite hat ab 1.4.6 eigene Regeln. */
@media (min-width: 641px) {
	.is-style-fwp-hero { min-height: min(70vh, 640px) !important; }
	.is-style-fwp-hero .wp-block-cover__inner-container { padding-top: clamp(80px, 8vw, 108px); padding-bottom: clamp(44px, 4.5vw, 60px); }
	.fwp-hero__buttons { margin-top: 28px !important; }
}
@media (max-width: 640px) {
	.is-style-fwp-hero .wp-block-cover__inner-container { padding-top: 44px; padding-bottom: 32px; }
	.is-style-fwp-hero .is-style-fwp-dachzeile { margin-bottom: 12px; }
	.fwp-hero__buttons { margin-top: 20px !important; }
}

/* 1.4.6: Startseite – Titelbild als deutlich niedrigeres Banner (nur Startseite). Höhe ergibt sich aus dem Inhalt plus
   knappen Innenabständen; Desktop mit Mindesthöhe von höchstens 52 % der Fensterhöhe bzw. 480 px.
   Bildausschnitt etwas nach oben verschoben, damit die Personen im niedrigeren Banner sichtbar bleiben. */
/* 1.4.7: Der feste Bildausschnitt (object-position 50 % 38 % !important) ist entfernt – es gilt wieder der im Editor
   gewählte Fokuspunkt. 1.4.8: Desktop 48 % der Breite ohne Begrenzung auf die Fensterhöhe (siehe unten). */
@media (min-width: 1025px) {
	.home .is-style-fwp-hero { min-height: 48vw !important; }
	.home .is-style-fwp-hero .wp-block-cover__inner-container { padding-top: 52px; padding-bottom: 44px; }
	.home .is-style-fwp-hero .is-style-fwp-dachzeile { margin-bottom: 12px; }
	.home .fwp-hero__unterzeile { margin-top: 12px; }
	.home .fwp-hero__text { margin-top: 10px; }
	.home .fwp-hero__buttons { margin-top: 24px !important; }
}
@media (min-width: 641px) and (max-width: 1024px) {
	.home .is-style-fwp-hero { min-height: 48vw !important; }
	.home .is-style-fwp-hero .wp-block-cover__inner-container { padding-top: 40px; padding-bottom: 40px; }
	.home .is-style-fwp-hero .is-style-fwp-dachzeile { margin-bottom: 10px; }
	.home .is-style-fwp-hero h1 { font-size: 2.6rem; }
	.home .fwp-hero__unterzeile { margin-top: 10px; }
	.home .fwp-hero__text { margin-top: 8px; }
	.home .fwp-hero__buttons { margin-top: 20px !important; }
}
@media (max-width: 640px) {
	.home .is-style-fwp-hero .wp-block-cover__inner-container { padding-top: 28px; padding-bottom: 24px; }
	.home .is-style-fwp-hero .is-style-fwp-dachzeile { margin-bottom: 8px; font-size: 0.8rem !important; }
	.home .is-style-fwp-hero h1 { font-size: 1.75rem; line-height: 1.15; }
	.home .fwp-hero__unterzeile { font-size: 1rem; margin-top: 8px; }
	.home .fwp-hero__text { font-size: 0.95rem; line-height: 1.5; margin-top: 6px; }
	/* Beide Schaltflächen nebeneinander statt untereinander (je ≥ 44 px hoch). */
	.home .fwp-hero__buttons { flex-direction: row !important; flex-wrap: nowrap; gap: 10px !important; margin-top: 16px !important; }
	.home .fwp-hero__buttons .wp-block-button { flex: 1 1 0; width: auto !important; }
	.home .fwp-hero__buttons .wp-block-button__link { padding: 11px 10px !important; min-height: 46px; font-size: 0.95rem; text-align: center; }
}

/* 1.4.7: Startseite – Titelbild (Feuerwehrhaus mit Fahrzeugreihe) ab Tablet möglichst vollständig zeigen.
   Die Höhe folgt dem Seitenverhältnis des Fotos (ca. 2,08 : 1 → 48 % der Breite), damit oben und unten
   nichts abgeschnitten wird; der Fokuspunkt aus dem Editor wirkt nur, wenn doch beschnitten werden muss.
   Text oben links (Turm/Bäume), Abdunklung oben links kräftig, unten rechts leicht – Fahrzeuge und
   Gebäude bleiben gut erkennbar. Smartphone unverändert (Text unten, Höhe aus dem Inhalt). */
@media (min-width: 641px) {
	.home .is-style-fwp-hero.has-custom-content-position { align-items: flex-start; }
	.home .is-style-fwp-hero .wp-block-cover__background.has-background-gradient {
		background: linear-gradient(180deg, rgba(10, 10, 10, 0.5) 0%, rgba(10, 10, 10, 0.32) 50%, rgba(10, 10, 10, 0.06) 78%, rgba(10, 10, 10, 0.12) 100%),
			linear-gradient(90deg, rgba(10, 10, 10, 0.5) 0%, rgba(10, 10, 10, 0.18) 55%, rgba(10, 10, 10, 0) 80%) !important;
	}
	.home .is-style-fwp-hero h1,
	.home .is-style-fwp-hero .fwp-hero__unterzeile,
	.home .is-style-fwp-hero .fwp-hero__text { text-shadow: 0 1px 14px rgba(0, 0, 0, 0.55); }
}

/* 1.4.8: Startseite Smartphone – Foto oben in voller Breite und vollständig (Seitenverhältnis ca. 2,08 : 1 → 48 vw),
   Text darunter auf dunklem Grund. Mit Text über dem Bild wären bei 390 px nur ca. 40 % der Bildbreite sichtbar. */
@media (max-width: 640px) {
	.home .is-style-fwp-hero { padding-top: 48vw !important; background-color: #111; }
	.home .is-style-fwp-hero .wp-block-cover__image-background { height: 48vw !important; bottom: auto !important; }
	.home .is-style-fwp-hero .wp-block-cover__background { top: 48vw !important; }
}

/* 1.4.6: Startseite „Aktuelles“ – Beitragskarten deutlich kompakter: Bild 2:1, Karten nicht mehr auf die
   Reihenhöhe gestreckt, Kurztext auf drei (Smartphone: zwei) Zeilen begrenzt – vollständig im Beitrag –,
   knappe Innen- und Zwischenabstände. */
#aktuelles .fwp-news-raster { gap: 20px !important; align-items: start; }
#aktuelles .fwp-news-karte { height: auto; }
#aktuelles .fwp-news-karte .wp-block-post-featured-image { aspect-ratio: 2 / 1 !important; }
#aktuelles .fwp-news-karte .wp-block-post-featured-image img { height: 100% !important; object-fit: cover; }
#aktuelles .fwp-news-karte .fwp-karte__inhalt { padding: 14px 18px 16px !important; gap: 6px; }
#aktuelles .fwp-news-karte h3 { font-size: 1.08rem; line-height: 1.3; }
#aktuelles .fwp-news-karte .wp-block-post-excerpt__excerpt { font-size: 0.93rem; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
#aktuelles .fwp-news-karte .wp-block-post-excerpt { flex: 0 1 auto; }
#aktuelles .fwp-news-karte .wp-block-read-more { margin-top: 4px; }
#aktuelles .fwp-news-karte__bild .fwp-badge { top: 10px; left: 10px; }
#aktuelles .fwp-news-karte__bild:not(:has(img)) .fwp-badge { margin: 14px 18px 0 !important; }
@media (max-width: 640px) {
	#aktuelles .fwp-news-raster { gap: 14px !important; }
	#aktuelles .fwp-news-karte .fwp-karte__inhalt { padding: 12px 16px 14px !important; }
	#aktuelles .fwp-news-karte .wp-block-post-excerpt__excerpt { -webkit-line-clamp: 2; }
}

/* ===== 1.4.9: Besprechung 12.11.2026 ===== */
/* Jugendfeuerwehr: Übungshinweis gut sichtbar (auch mobil) */
.fwp-hinweis-termin {
	display: inline-block;
	margin: 6px 0 4px !important;
	padding: 12px 18px;
	border-radius: 4px;
	background: var(--wp--preset--color--rot, #C8102E);
	color: #fff !important;
	font-size: clamp(1rem, 2.4vw, 1.15rem);
	line-height: 1.35;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}
.fwp-hinweis-termin, .fwp-hinweis-termin strong { color: inherit; hyphens: manual; -webkit-hyphens: manual; overflow-wrap: normal; }
/* „Dein Platz bei uns“: Kontakt-Schaltfläche und Buttons nebeneinander */
.fwp-teaser .fwpc-kontakt-knopf { display: inline-block; margin: 8px 12px 0 0; }
.fwp-teaser .fwpc-kontakt-knopf + .wp-block-buttons { display: inline-flex; vertical-align: top; margin-top: 8px; }

/* Historische Einordnung (z. B. Funktionen zur 150-Jahr-Feier 2019) – klar von aktuellen Angaben abgesetzt */
.fwp-historisch {
	margin-top: 40px;
	padding: 16px 20px;
	border-left: 4px solid var(--wp--preset--color--rahmen, #e3e2df);
	background: var(--wp--preset--color--hellgrau, #f5f5f3);
	color: var(--wp--preset--color--grundtext, #1c1c1c);
	font-size: 0.95rem;
	line-height: 1.6;
}

/* -------------------- Feuerwehr-Übersicht: Kachelwelt (ab 1.4.16) --------------------
   Nur Abschnitte mit der Klasse „fwp-kachelwelt“ / Raster „fwp-kachelraster“ (Seite /feuerwehr/);
   keine Änderung der übrigen Karten oder des Corporate Designs.
   1.4.18: Abschnitt reinweiß statt Anthrazit-Verlauf; Überschrift anthrazit, Einleitung dunkelgrau, Dachzeile und
   Link „Unsere Geschichte“ rot. Kacheln (Raster, Bilder, dunkle Verläufe, weiße Beschriftung) unverändert. */
.fwp-kachelwelt {
	background: #fff;
	color: var(--wp--preset--color--grundtext, #1c1c1c);
}
.fwp-kachelwelt .fwp-abschnittskopf { margin-bottom: 36px !important; }
.fwp-kachelwelt .fwp-abschnittskopf__text { max-width: 860px; }
/* 1.4.19: zwei ruhige Zeilen statt vier kurzer („Ehrenamtlich im Einsatz / für unsere Stadt“) */
.fwp-kachelwelt .fwp-abschnittskopf h2 {
	color: var(--wp--preset--color--dunkel, #1a1a1a);
	font-size: clamp(1.9rem, 3.9vw, 3.1rem);
	line-height: 1.08;
	letter-spacing: -0.02em;
	max-width: 11.6em; /* passt „Ehrenamtlich im Einsatz“ (≈10,8em), nicht „… für“ (≈12,3em) → 2 ruhige Zeilen */
	hyphens: manual;
	-webkit-hyphens: manual;
}
.fwp-kachelwelt .is-style-fwp-dachzeile { color: var(--fwp-rot); }
.fwp-kachelwelt .is-style-fwp-einleitung { color: #3d3d3d; max-width: 52ch; }
.fwp-kachelwelt p { hyphens: manual; -webkit-hyphens: manual; }
.fwp-kachelwelt .fwp-uebersicht-verein { margin-top: 28px !important; }
.fwp-kachelwelt .fwp-uebersicht-verein a { color: var(--fwp-rot); font-weight: 700; }
.fwp-kachelwelt .fwp-uebersicht-verein a:hover,
.fwp-kachelwelt .fwp-uebersicht-verein a:focus-visible { color: var(--fwp-akzentrot); text-decoration-thickness: 2px; }

.fwp-teaserraster.fwp-kachelraster {
	grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	grid-auto-rows: clamp(210px, 18vw, 250px);
	grid-auto-flow: dense;
	gap: 16px !important;
}
.fwp-kachelraster .fwp-kachel--gross { grid-column: span 2; grid-row: span 2; }
.fwp-kachelraster .fwp-kachel--breit { grid-column: span 2; }

.fwp-kachelraster .fwp-teaserkarte {
	position: relative;
	isolation: isolate;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	height: 100%;
	min-height: 0;
	margin: 0 !important;
	border: 0;
	border-radius: 6px;
	background: #0b0f14;
	color: #fff;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
}
.fwp-kachelraster .fwp-teaserkarte:hover { transform: none; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45); }
.fwp-kachelraster .fwp-teaserkarte > .wp-block-image { position: absolute; inset: 0; z-index: -2; margin: 0; }
.fwp-kachelraster .fwp-teaserkarte > .wp-block-image img {
	width: 100% !important;
	height: 100% !important;
	aspect-ratio: auto !important;
	object-fit: cover;
	transition: transform 700ms ease;
}
.fwp-kachelraster .fwp-kachel--gross > .wp-block-image img { object-position: 58% 60%; }
/* Dunkler Verlauf für lesbare Beschriftung im unteren Bildbereich */
.fwp-kachelraster .fwp-teaserkarte::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(180deg, rgba(9, 12, 18, 0.05) 0%, rgba(9, 12, 18, 0.2) 25%, rgba(9, 12, 18, 0.72) 55%, rgba(9, 12, 18, 0.95) 100%);
	pointer-events: none;
}
/* Roter Akzentbalken beim Überfahren/Fokus */
.fwp-kachelraster .fwp-teaserkarte::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 4px;
	z-index: 2;
	background: var(--fwp-akzentrot);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 300ms ease;
}
.fwp-kachelraster .fwp-teaserkarte:hover::before,
.fwp-kachelraster .fwp-teaserkarte:focus-within::before { transform: scaleX(1); }
.fwp-kachelraster .fwp-teaserkarte:hover > .wp-block-image img,
.fwp-kachelraster .fwp-teaserkarte:focus-within > .wp-block-image img { transform: scale(1.05); }
.fwp-kachelraster .fwp-teaserkarte:focus-within { outline: 3px solid var(--fwp-akzentrot); outline-offset: 3px; }
.fwp-kachelraster .fwp-teaserkarte a:focus-visible { outline: none; }

.fwp-kachelraster .fwp-karte__inhalt { padding: 22px 24px 24px !important; gap: 6px; flex: 0 0 auto; }
.fwp-kachelraster .fwp-karte__inhalt h3 {
	color: #fff;
	font-size: clamp(1.3rem, 1.7vw, 1.6rem);
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -0.01em;
	hyphens: manual;
	-webkit-hyphens: manual;
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}
.fwp-kachelraster .fwp-karte__inhalt h3::before {
	content: "";
	display: block;
	width: 34px;
	height: 3px;
	margin-bottom: 12px;
	background: var(--fwp-akzentrot);
}
.fwp-kachelraster .fwp-kachel--gross .fwp-karte__inhalt { padding: 32px 34px 34px !important; }
.fwp-kachelraster .fwp-kachel--gross .fwp-karte__inhalt h3 { font-size: clamp(2rem, 3.6vw, 3rem); }
.fwp-kachelraster .fwp-teaserkarte h3 a,
.fwp-kachelraster .fwp-teaserkarte h3 a:hover { color: #fff; }
/* Ganze Kachel anklickbar (Link der Überschrift überdeckt die Kachel) */
.fwp-kachelraster .fwp-teaserkarte h3 a::after { content: ""; position: absolute; inset: 0; z-index: 3; }
.fwp-kachelraster .fwp-karte__inhalt p { color: rgba(255, 255, 255, 0.84); font-size: 0.95rem; line-height: 1.45; max-width: 46ch; }
.fwp-kachelraster .fwp-kachel--gross .fwp-karte__inhalt p { font-size: 1.05rem; }
/* Beschreibung sichtbar nur auf der Hauptkachel; übrige Kacheln: Titel + Link, Text bleibt für Screenreader */
.fwp-kachelraster .fwp-teaserkarte:not(.fwp-kachel--gross) .fwp-karte__inhalt p:not(.is-style-fwp-pfeil) {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}
.fwp-kachelraster .fwp-teaserkarte .is-style-fwp-pfeil { margin-top: 4px !important; padding-top: 0; }
.fwp-kachelraster .fwp-teaserkarte .is-style-fwp-pfeil a { color: #fff; font-size: 0.9rem; }
.fwp-kachelraster .fwp-teaserkarte:hover .is-style-fwp-pfeil a { gap: 12px; color: #fff; }

@media (max-width: 1024px) {
	.fwp-teaserraster.fwp-kachelraster { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; grid-auto-rows: 230px; }
}
@media (max-width: 640px) {
	.fwp-teaserraster.fwp-kachelraster { grid-template-columns: 1fr !important; grid-auto-rows: auto; gap: 12px !important; }
	.fwp-kachelraster .fwp-kachel--gross,
	.fwp-kachelraster .fwp-kachel--breit { grid-column: auto; grid-row: auto; }
	.fwp-kachelraster .fwp-teaserkarte { min-height: 220px; }
	.fwp-kachelraster .fwp-kachel--gross { min-height: 320px; }
	.fwp-kachelraster .fwp-karte__inhalt,
	.fwp-kachelraster .fwp-kachel--gross .fwp-karte__inhalt { padding: 18px 20px 20px !important; }
	.fwp-kachelraster .fwp-kachel--gross .fwp-karte__inhalt h3 { font-size: 2rem; }
}
@media (prefers-reduced-motion: reduce) {
	.fwp-kachelraster .fwp-teaserkarte > .wp-block-image img,
	.fwp-kachelraster .fwp-teaserkarte::before { transition: none !important; }
	.fwp-kachelraster .fwp-teaserkarte:hover > .wp-block-image img,
	.fwp-kachelraster .fwp-teaserkarte:focus-within > .wp-block-image img { transform: none; }
}
/* Im Editor bleiben die Blöcke einzeln anwählbar */
.editor-styles-wrapper .fwp-kachelraster .fwp-teaserkarte h3 a::after { display: none; }

/* -------------------- 1.4.17: Startseite – Hero-Text tiefer (Luftbild Gerätehaus) --------------------
   Seit dem Luftbild (13.11.2026) stand die Textgruppe durch „align-items: flex-start“ (1.4.7) ganz oben über dem
   Turm. Ab Desktop sitzt die gesamte Gruppe jetzt unten ausgerichtet über dem Dach; der untere Innenabstand
   wächst mit der Bildhöhe (48 vw), sodass die Schaltflächen etwa an der vorderen Dachkante enden und die
   Fahrzeugreihe (unteres Viertel des Fotos) frei bleibt. Kein absolutes Positionieren; bei schmaleren
   Desktop-Breiten schrumpft der Abstand (min. 40 px), damit die Bildhöhe nicht über 48 vw wächst.
   Tablet und Smartphone unverändert (Tablet: Text füllt die Bildhöhe ohnehin; Smartphone: Text unter dem Bild).
   Nur mit dem Luftbild (Dateiname enthält „luftbild“): Mit dem früheren Gruppenfoto würde der Text die Gesichter
   verdecken – dort bleibt die Lage aus 1.4.7 (oben). */
@media (min-width: 1025px) {
	.home .is-style-fwp-hero:has(img.wp-block-cover__image-background[src*="luftbild"]).has-custom-content-position { align-items: flex-end; }
	.home .is-style-fwp-hero:has(img.wp-block-cover__image-background[src*="luftbild"]) .wp-block-cover__inner-container {
		padding-top: 40px;
		padding-bottom: max(40px, min(13vw, calc(48vw - 420px)));
	}
	.home .is-style-fwp-hero:has(img.wp-block-cover__image-background[src*="luftbild"]) .wp-block-cover__background.has-background-gradient {
		background: linear-gradient(180deg, rgba(10, 10, 10, 0.34) 0%, rgba(10, 10, 10, 0.32) 40%, rgba(10, 10, 10, 0.2) 66%, rgba(10, 10, 10, 0.04) 76%, rgba(10, 10, 10, 0.1) 100%),
			linear-gradient(90deg, rgba(10, 10, 10, 0.55) 0%, rgba(10, 10, 10, 0.22) 55%, rgba(10, 10, 10, 0) 80%) !important;
	}
}

/* ==========================================================================
   Einsatzbericht nach Vorlagenlayout (Theme 1.5.0 / Core 1.16.0)
   Desktop: links Titelbild, Text, Bildraster – rechts dauerhaft sichtbare Einsatzdaten.
   Mobil: einspaltig, Einsatzdaten kompakt vor dem Bericht.
   ========================================================================== */
.fwp-einsatz-bericht {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
	gap: clamp(28px, 4vw, 56px);
	align-items: start;
}
.fwp-einsatz-bericht__haupt { min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.fwp-einsatz-bericht__haupt > * { margin-block: 0 !important; }
.fwp-einsatz-bericht__text { max-width: 760px; font-size: 1.06rem; line-height: 1.7; overflow-wrap: anywhere; }
.fwp-einsatz-bericht__text > *:first-child { margin-top: 0; }
.fwp-einsatz-bericht__text img { max-width: 100%; height: auto; }
.fwp-einsatz-bericht__text table { display: block; max-width: 100%; overflow-x: auto; }
.fwp-einsatz-bericht__seite { position: sticky; top: calc(var(--wp-admin--admin-bar--height, 0px) + 96px); min-width: 0; margin: 0 !important; }
.fwp-einsatz-bericht__seite .fwpc-details { margin: 0; }
/* Bilder alter Berichte im Text: einheitliches Zweierraster statt manueller Platzierung. */
.fwp-einsatz-bericht__text .wp-block-gallery.has-nested-images { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.fwp-einsatz-bericht__text .wp-block-gallery.has-nested-images figure.wp-block-image { width: auto !important; margin: 0 !important; aspect-ratio: 4 / 3; }
.fwp-einsatz-bericht__text .wp-block-gallery.has-nested-images figure.wp-block-image img { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; }
.fwp-einsatz-bericht__text .wp-block-gallery.has-nested-images figure.wp-block-image:only-child { grid-column: 1 / -1; aspect-ratio: auto; }
.fwp-einsatz-bericht__text .wp-block-gallery.has-nested-images figure.wp-block-image:only-child img { height: auto; max-height: 560px; object-fit: contain; background: #0f1012; }
.fwp-einsatz-bericht__text figure.wp-block-image:not(.wp-block-gallery figure) img { max-height: 560px; width: auto; max-width: 100%; display: block; margin-inline: auto; border-radius: 4px; }
.fwpc-bild-vergroesserbar { cursor: zoom-in; }
.fwpc-bild-vergroesserbar:focus-visible { outline: 3px solid var(--fwp-akzentrot); outline-offset: 3px; }
@media (max-width: 960px) {
	.fwp-einsatz-bericht { grid-template-columns: minmax(0, 1fr); gap: 24px; }
	.fwp-einsatz-bericht__seite { position: static; order: -1; }
	.fwp-einsatz-bericht__seite .fwpc-details { padding: 18px 20px; }
	.fwp-einsatz-bericht__seite .fwpc-details__liste { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; }
	.fwp-einsatz-bericht__seite .fwpc-details__liste > div { padding: 8px 0; }
	.fwp-einsatz-bericht__seite .fwpc-details__liste > div.fwpc-details__breit { grid-column: 1 / -1; }
	/* 1.7.1: Einsatzart-Abzeichen in der halben Rasterzelle – lange Bezeichnungen (ein Wort in Großbuchstaben, z. B.
	   SICHERHEITSWACHE) passten nicht hinein und ragten über Zelle und Seitenrand. Jetzt höchstens zellenbreit, Text mit
	   Silbentrennung umbrechend. */
	.fwp-einsatz-bericht__seite .fwpc-details__liste dd { min-width: 0; }
	.fwp-einsatz-bericht__seite .fwpc-details__liste .fwpc-badge { max-width: 100%; box-sizing: border-box; border-radius: 15px; padding-inline: 10px; letter-spacing: 0.02em; }
	.fwp-einsatz-bericht__seite .fwpc-details__liste .fwpc-badge__text { min-width: 0; overflow-wrap: break-word; -webkit-hyphens: auto; hyphens: auto; }
	.fwp-einsatz-bericht__seite .fwpc-details__zurueck { display: none; }
}
@media (max-width: 639px) {
	/* 1.7.1: Smartphones (unter 640 px) – Einsatzart über die volle Breite (lange Bezeichnungen lesbar); der Einsatzort rückt
	   neben die Alarmierung, damit keine Lücke entsteht. */
	.fwp-einsatz-bericht__seite .fwpc-details__liste { grid-auto-flow: row dense; }
	.fwp-einsatz-bericht__seite .fwpc-details__liste > div:has(> dd > .fwpc-badge) { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
	/* 1.7.1: Feldbezeichnungen nie mitten im Wort trennen (zuvor „EINSATZNUMM-ER“ durch overflow-wrap: break-word). */
	.fwp-einsatz-bericht__seite .fwpc-details__liste dt { overflow-wrap: normal; word-break: normal; -webkit-hyphens: manual; hyphens: manual; }
}
@media (max-width: 359px) {
	/* 1.7.1: Sehr schmale Smartphones – halbe Zelle (110 px) zu schmal für „EINSATZNUMMER“ (124 px): alle Felder einspaltig
	   über die volle Breite, einheitliche Abstände. */
	.fwp-einsatz-bericht__seite .fwpc-details__liste { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 420px) {
	.fwp-einsatz-bericht__text .wp-block-gallery.has-nested-images { gap: 8px; }
}

/* Startseite: „Ein Jahr in Zahlen“ – helle Fassung (Theme 1.5.0, Wunsch 20.11.2026): weißer Grund, dunkle Schrift,
   rote Akzente. Gilt auch für Seiten, deren Abschnitt noch die Klassen des dunklen Entwurfs trägt. */
.fwp-statistik-abschnitt { background: var(--wp--preset--color--hellgrau, #f5f5f3) !important; color: var(--wp--preset--color--grundtext, #1c1c1c) !important; }

/* 1.5.0: Startseiten-Hero – vorhandenes Luftbild, Fahrzeuge im Vordergrund sichtbar, dunkler Kennzahlen-Balken
   (112 · 24/7 · Einsätze) auf üblichen Desktop-Bildschirmen ohne Scrollen sichtbar. Nur CSS, keine weiteren
   Bilddateien, kein Verzerren (object-fit: cover). Abzug = Hinweisleiste + Kopfzeile + Kennzahlen-Balken. */
.home .is-style-fwp-hero { --fwp-hero-abzug: 262px; }
/* Bildausschnitt: senkrechter Wert 100 % = Unterkante des Luftbilds bündig – Fahrzeugreihe vollständig (vorher 78 %). */
.home .is-style-fwp-hero .wp-block-cover__image-background { object-position: 42% 100% !important; }
@media (min-width: 1025px) {
	.home .is-style-fwp-hero { min-height: clamp(440px, calc(100svh - var(--fwp-hero-abzug) - var(--wp-admin--admin-bar--height, 0px)), 50vw) !important; }
}
@media (min-width: 641px) and (max-width: 1024px) {
	.home .is-style-fwp-hero { min-height: clamp(440px, min(62vw, calc(100svh - var(--fwp-hero-abzug))), 640px) !important; }
	.home .is-style-fwp-hero .wp-block-cover__image-background { object-position: 38% 82% !important; }
}
@media (max-width: 640px) {
	/* Smartphone: Luftbild als eigener Streifen über dem Text (bestehendes Layout) – ganzes Gebäude mit Fahrzeugreihe. */
	.home .is-style-fwp-hero .wp-block-cover__image-background { object-position: 50% 70% !important; }
}
@media (min-width: 1025px) {
	/* Text bleibt über dem Dach, Fahrzeugreihe (unteres Viertel) frei – Polsterung folgt der neuen Hero-Höhe. */
	.home .is-style-fwp-hero { --fwp-hero-h: clamp(440px, calc(100svh - var(--fwp-hero-abzug) - var(--wp-admin--admin-bar--height, 0px)), 50vw); }
	.home .is-style-fwp-hero:has(img.wp-block-cover__image-background[src*="luftbild"]) .wp-block-cover__inner-container {
		padding-top: 32px;
		padding-bottom: clamp(32px, calc(var(--fwp-hero-h) * 0.24), 230px);
	}
}
@media (min-width: 1025px) and (max-height: 820px) {
	/* Niedrige Desktop-Fenster: Beschreibungssatz ausblenden, damit Titel, Schaltflächen, Fahrzeuge und Balken passen. */
	.home .fwp-hero__text { display: none; }
	.home .is-style-fwp-hero h1 { font-size: clamp(2.4rem, 4.2vw, 3.4rem); }
}
@media (min-width: 1600px) { .home .is-style-fwp-hero { --fwp-hero-abzug: 276px; } }
@media (max-width: 640px) {
	/* Kennzahlen-Balken der Startseite: drei schmale Spalten statt drei Zeilen. */
	.home .is-style-fwp-kennzahlen .fwp-kennzahlen__raster:not(:has(> :nth-child(4))) { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
	.home .fwp-kennzahlen__raster:not(:has(> :nth-child(4))) > .fwp-kennzahl { padding: 16px 6px !important; border-top: 0 !important; }
	.home .fwp-kennzahlen__raster:not(:has(> :nth-child(4))) > .fwp-kennzahl + .fwp-kennzahl { border-left: 1px solid rgba(255, 255, 255, 0.12) !important; }
	.home .fwp-kennzahlen__raster .fwp-kennzahl__wert, .home .fwp-kennzahlen__raster .fwpc-kennzahl__zahl { font-size: 1.7rem !important; }
	.home .fwp-kennzahlen__raster .fwp-kennzahl__label, .home .fwp-kennzahlen__raster .fwpc-kennzahl__label { font-size: 0.62rem !important; letter-spacing: 0.06em; line-height: 1.3; }
}

/* Fahrzeug-Detailseite (1.7.0): Fahrzeugbild groß über die volle Spaltenbreite, vollständig und unverzerrt; die freie
   Fläche füllt eine unscharfe Fassung desselben Fotos statt schwarzer Balken (Bildquelle über --fwp-bildgrund). */
.fwp-fahrzeugbild { position: relative; overflow: hidden; isolation: isolate; background: #1d1d20; border-radius: 6px; padding: 0; display: flex; justify-content: center; align-items: center; max-width: none !important; width: 100%; min-height: 220px; }
.fwp-fahrzeugbild::before { content: ""; position: absolute; inset: -30px; z-index: 0; background: var(--fwp-bildgrund, none) center / cover no-repeat; filter: blur(22px) brightness(.55) saturate(1.1); }
.fwp-fahrzeugbild img { position: relative; z-index: 1; display: block; width: auto !important; max-width: min(100%, var(--fwp-bildmax, 100%)) !important; height: auto !important; max-height: min(78vh, 720px); object-fit: contain !important; aspect-ratio: auto !important; border-radius: 0 !important; }
/* Bildergalerien auf Fahrzeugseiten: einheitliche Kacheln, aber kein Abschneiden von Leiter, Dach oder Front –
   ganzes Bild auf heller Fläche; Klick öffnet wie bisher die Großansicht. */
.single-fwp_fahrzeug .wp-block-gallery.is-cropped .wp-block-image img { object-fit: contain !important; background: #efeeeb; }
.single-fwp_fahrzeug .wp-block-gallery.has-nested-images { gap: 10px; }
.single-fwp_fahrzeug .wp-block-gallery .wp-block-image { border-radius: 4px; overflow: hidden; }
/* Paket 26: einzelne Bilder in der letzten Galeriezeile nicht über die ganze Breite ziehen (kleine Altfotos würden unscharf). */
.single-fwp_fahrzeug .wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image) { flex-grow: 0; }
@media (max-width: 781px) { .single-fwp_fahrzeug .fwp-detail-raster { gap: 24px !important; } .fwp-fahrzeugbild img { max-height: 70vh; } }

/* Seite „Führung“ (1.5.0, Wunsch 20.11.2026): Gruppenbild groß und mittig, Originalformat, mobil volle Breite. */
.fwp-fuehrung-bild { margin-left: auto !important; margin-right: auto !important; width: 100%; }
.fwp-fuehrung-bild .wp-block-image img { width: 100%; height: auto; display: block; }
.fwp-fuehrung-bild .wp-block-image figcaption { text-align: center; }

/* Seite „Führung“ (1.8.0, Paket 28): Übersicht „Aktuelle Führung“ und „Gruppenführergremium“ unter dem Gruppenbild.
   Alles normale Blöcke (Gruppe „fwp-person“ mit Absatz Name/Funktion) – im Editor änderbar, verschiebbar, duplizierbar.
   Ohne Einzelbild: Führung mit dezentem neutralem Symbol, Gremium als reine Textkarte. Ein in die Karte eingefügter
   Bild-Block erscheint automatisch als rundes Porträt (Symbol entfällt). */
.fwp-fuehrung-uebersicht { margin-top: clamp(40px, 5vw, 56px) !important; text-align: left; }
.fwp-fuehrung-uebersicht > * { margin-block: 0 !important; }
.fwp-fuehrung-uebersicht > .fwp-personen + .fwp-personen__titel { margin-top: clamp(36px, 4.5vw, 48px) !important; }
.fwp-personen__titel { margin-bottom: 18px !important; font-size: clamp(1.25rem, 2.2vw, 1.5rem); line-height: 1.25; }
.fwp-personen { display: grid; gap: 16px; }
.fwp-personen > * { margin: 0 !important; }
.fwp-personen--fuehrung { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.fwp-personen--gremium { grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
.fwp-person { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 4px; min-width: 0; box-sizing: border-box; background: #fff; border: 1px solid var(--fwp-rahmen); border-left: 4px solid var(--fwp-rot); border-radius: 6px; padding: 16px 18px; }
.fwp-person > * { margin: 0 !important; }
.fwp-person p.fwp-person__name { font-weight: 700; font-size: 1.04rem; line-height: 1.3; color: var(--wp--preset--color--dunkel, #111); overflow-wrap: break-word; }
.fwp-person p.fwp-person__funktion { font-size: .9rem; line-height: 1.4; color: var(--fwp-gedaempft); overflow-wrap: break-word; }
.fwp-personen--fuehrung .fwp-person { display: grid; grid-template-columns: 72px minmax(0, 1fr); grid-auto-rows: min-content; align-content: center; column-gap: 20px; row-gap: 4px; min-height: 120px; padding: 22px 24px; border-left-width: 5px; }
.fwp-personen--fuehrung .fwp-person > * { grid-column: 2; }
.fwp-personen--fuehrung .fwp-person p.fwp-person__name { font-size: clamp(1.15rem, 1.8vw, 1.3rem); }
.fwp-personen--fuehrung .fwp-person p.fwp-person__funktion { font-size: .82rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--fwp-rot); }
.fwp-personen--fuehrung .fwp-person:not(:has(img))::before { content: ""; grid-column: 1; grid-row: 1 / span 2; align-self: center; width: 72px; height: 72px; border-radius: 50%; background: #efeeeb url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 72 72'%3E%3Ccircle cx='36' cy='28' r='12' fill='%23c4c2bd'/%3E%3Cpath d='M14 60c2-12 11-18 22-18s20 6 22 18' fill='%23c4c2bd'/%3E%3C/svg%3E") center / 100% no-repeat; }
.fwp-person .wp-block-image { margin: 0 !important; }
.fwp-fuehrung-uebersicht .fwp-person .wp-block-image img { display: block; width: 56px; height: 56px; aspect-ratio: 1; object-fit: cover; border-radius: 50%; }
.fwp-personen--gremium .fwp-person:has(.wp-block-image) { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 14px; align-content: center; }
.fwp-personen--gremium .fwp-person:has(.wp-block-image) > * { grid-column: 2; }
.fwp-person > .wp-block-image { grid-column: 1 !important; grid-row: 1 / span 2; align-self: center; }
.fwp-fuehrung-uebersicht .fwp-personen--fuehrung .fwp-person .wp-block-image img { width: 72px; height: 72px; }
@media (max-width: 781px) {
	.fwp-personen--fuehrung { grid-template-columns: minmax(0, 1fr); gap: 12px; }
	.fwp-personen--fuehrung .fwp-person { grid-template-columns: 56px minmax(0, 1fr); column-gap: 16px; min-height: 96px; padding: 18px; }
	.fwp-personen--fuehrung .fwp-person:not(:has(img))::before { width: 56px; height: 56px; }
	.fwp-fuehrung-uebersicht .fwp-personen--fuehrung .fwp-person .wp-block-image img { width: 56px; height: 56px; }
	.fwp-personen--gremium { gap: 10px; }
}
@media (max-width: 479px) {
	.fwp-personen--gremium { grid-template-columns: minmax(0, 1fr); }
	.fwp-person { padding: 14px 16px; }
}

/* ---------------------------------------------------------------------------
 * Kontaktseite (1.6.0, Folgeupdate 11/2026): Notrufkarte, Kontaktkarten, Anliegen-Kacheln.
 * Alle Inhalte sind normale Blöcke (Gruppe/Überschrift/Absatz, Kontakt-Kachel) und im Editor änderbar.
 * ------------------------------------------------------------------------ */
.fwp-notrufkarte { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 12px 36px; padding: clamp(24px, 4vw, 44px); border-radius: 18px; background: linear-gradient(135deg, #C8102E 0%, #a80d27 100%); color: #fff; box-shadow: 0 14px 34px rgba(200, 16, 46, .22); }
.fwp-notrufkarte > * { margin: 0 !important; }
.fwp-notrufkarte p.fwp-notrufkarte__nummer { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: clamp(4.2rem, 9vw, 6.4rem); font-weight: 800; line-height: .95; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.fwp-notrufkarte__nummer::before { content: ""; width: 52px; height: 52px; background: currentColor; -webkit-mask: var(--fwp-sirene) center / contain no-repeat; mask: var(--fwp-sirene) center / contain no-repeat; }
.fwp-notrufkarte { --fwp-sirene: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 18v-5a5 5 0 0 1 10 0v5'/%3E%3Cpath d='M4.5 18h15v2.5h-15z'/%3E%3Cpath d='M12 2.5v2M4.2 5.7l1.5 1.4M19.8 5.7l-1.5 1.4M2 12h2M20 12h2'/%3E%3Cpath d='M10 13.5a2 2 0 0 1 2-2'/%3E%3C/svg%3E"); }
.fwp-notrufkarte__text { display: flex; flex-direction: column; gap: 10px; }
.fwp-notrufkarte__text > * { margin: 0 !important; }
.fwp-notrufkarte__titel { color: #fff; font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.15; }
.fwp-notrufkarte p { color: #fff; font-size: 1.08rem; line-height: 1.55; }
.fwp-notrufkarte__dienst { font-size: 1.25rem !important; font-weight: 800; letter-spacing: .01em; }
.fwp-notrufkarte__hinweis { margin-top: 6px !important; padding: 12px 16px; border-radius: 10px; background: rgba(0, 0, 0, .18); font-weight: 600; }
.fwp-notrufkarte strong { color: #fff; }
@media (max-width: 640px) {
	.fwp-notrufkarte { grid-template-columns: 1fr; text-align: center; }
	.fwp-notrufkarte__nummer { flex-direction: row; justify-content: center; gap: 14px; }
	.fwp-notrufkarte__nummer::before { width: 44px; height: 44px; }
}

.fwp-kontaktkarten > * { margin: 0 !important; }
.fwp-kontaktkarten { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 28px !important; }
.fwp-kontaktkarte { position: relative; padding: 24px 24px 22px 88px !important; background: #fff; border: 1px solid var(--wp--preset--color--rahmen, #e3e2df); border-radius: 14px; }
.fwp-kontaktkarte > * { margin: 0 !important; }
.fwp-kontaktkarte > * + * { margin-top: 6px !important; }
.fwp-kontaktkarte::before { content: ""; position: absolute; left: 24px; top: 24px; width: 48px; height: 48px; border-radius: 50%; background: #fbe8eb; }
.fwp-kontaktkarte::after { content: ""; position: absolute; left: 36px; top: 36px; width: 24px; height: 24px; background: var(--wp--preset--color--rot, #C8102E); -webkit-mask: var(--fwp-symbol) center / contain no-repeat; mask: var(--fwp-symbol) center / contain no-repeat; }
.fwp-kontaktkarte--mail { --fwp-symbol: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='m3.5 6.5 8.5 6.5 8.5-6.5'/%3E%3C/svg%3E"); }
.fwp-kontaktkarte--post { --fwp-symbol: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.1-7-11.5a7 7 0 0 1 14 0C19 14.9 12 21 12 21Z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/svg%3E"); }
.fwp-kontaktkarte h2, .fwp-kontaktkarte h3 { font-size: 1.15rem; line-height: 1.3; }
.fwp-kontaktkarte__label { color: var(--wp--preset--color--text-gedaempft, #5c5c5c); font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.fwp-kontaktkarte__wert { font-size: 1.12rem; line-height: 1.55; overflow-wrap: anywhere; }
.fwp-kontaktkarte__wert a { display: inline-block; min-height: 44px; line-height: 44px; font-weight: 700; color: var(--wp--preset--color--rot, #C8102E); text-underline-offset: 3px; }
.fwp-kontaktkarte__wert a:focus-visible { outline: 3px solid var(--wp--preset--color--rot, #C8102E); outline-offset: 2px; }

.fwp-kontakt-anliegen { margin-top: clamp(40px, 6vw, 64px) !important; }
.fwp-kontakt-kacheln { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 24px !important; }
.fwp-kontakt-kacheln > * { margin: 0 !important; }
.fwp-kontakt-kacheln > :first-child { grid-column: 1 / -1; }
.fwp-kontakt-kacheln > :first-child .fwpc-kontakt-kachel__link { background: var(--wp--preset--color--hellgrau, #F5F5F3); }

@media (max-width: 760px) {
	.fwp-kontaktkarten, .fwp-kontakt-kacheln { grid-template-columns: 1fr; }
	.fwp-kontaktkarte { padding: 20px 18px 18px 80px !important; }
	.fwp-kontaktkarte::before { left: 18px; top: 20px; }
	.fwp-kontaktkarte::after { left: 30px; top: 32px; }
}

/* Kategorie-Reiter auf dem Smartphone: kompakter, umbrechend, mind. 44 px Klickhöhe (1.6.0). */
.is-style-fwp-reiter a { min-height: 44px; box-sizing: border-box; }
.is-style-fwp-reiter a:focus-visible { outline: 3px solid var(--fwp-rot); outline-offset: -3px; }
@media (max-width: 640px) {
	.is-style-fwp-reiter.wp-block-categories, ul.is-style-fwp-reiter { gap: 4px 2px; }
	.is-style-fwp-reiter a { padding: 11px 12px; font-size: .95rem; }
}

/* Vereinsjahr: Block „Veranstaltungen <Jahr>“ (1.6.0) – Abstand zu den Angaben des Vorjahres. */
.fwp-vereinsjahr-termine { margin-top: clamp(28px, 4vw, 40px) !important; }
.fwp-vereinsjahr-termine h3 { margin-bottom: 8px; }
/* Paket 26: Fahrzeugseite auf dem Smartphone in der Reihenfolge Hauptbild → Technische Daten → Beschreibung/Galerie. */
@media (max-width: 781px) {
	.single-fwp_fahrzeug .fwp-detail-raster > .wp-block-column:first-child { display: contents; }
	.single-fwp_fahrzeug .fwp-detail-raster .fwp-fahrzeugbild { order: 1; width: 100%; }
	.single-fwp_fahrzeug .fwp-detail-raster > .wp-block-column:last-child { order: 2; }
	.single-fwp_fahrzeug .fwp-detail-raster .wp-block-post-content { order: 3; width: 100%; }
}
