/* ==========================================================================
   ReTTop – Theme-Stile
   Vereinsfarben: Rot #e30613, Blau #004891 · Schrift: Open Sans (lokal)
   ========================================================================== */

@font-face {
	font-family: "Open Sans";
	font-style: normal;
	font-weight: 300 800;
	font-display: swap;
	src: url(../fonts/open-sans-latin-wght-normal.woff2) format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
	font-family: "Open Sans";
	font-style: normal;
	font-weight: 300 800;
	font-display: swap;
	src: url(../fonts/open-sans-latin-ext-wght-normal.woff2) format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
	font-family: "Open Sans";
	font-style: italic;
	font-weight: 300 800;
	font-display: swap;
	src: url(../fonts/open-sans-latin-wght-italic.woff2) format("woff2");
}

:root {
	--rot: #e30613;
	--rot-dunkel: #b8040f;
	--blau: #004891;
	--nachtblau: #002a54;
	--text: #1d2733;
	--grau: #5b6770;
	--linie: #dfe4ea;
	--flaeche: #f4f6f9;
	--weiss: #fff;
	--radius: 12px;
	--schatten: 0 10px 30px rgb(0 40 80 / 0.08);
	--schatten-stark: 0 16px 40px rgb(0 40 80 / 0.16);
	--kopf-hoehe: 72px;
	--schrift: "Open Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

	/* Plugin „ReTTop Verein“ */
	--rettop-rot: var(--rot);
	--rettop-blau: var(--blau);
	--rettop-text: var(--text);
	--rettop-gedimmt: var(--grau);
	--rettop-linie: var(--linie);
	--rettop-flaeche: var(--flaeche);
	--rettop-radius: var(--radius);
}

/* Grundlagen ------------------------------------------------------------ */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-padding-top: calc(var(--kopf-hoehe) + 16px);
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--weiss);
	color: var(--text);
	font-family: var(--schrift);
	font-size: 1rem;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

html.menue-offen body {
	overflow: hidden;
}

img,
svg,
video {
	max-width: 100%;
	height: auto;
}

a {
	color: var(--blau);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

a:hover {
	color: var(--rot);
}

:focus-visible {
	outline: 3px solid var(--blau);
	outline-offset: 2px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	color: var(--nachtblau);
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: -0.01em;
}

.container {
	width: min(1200px, 100% - 40px);
	margin-inline: auto;
}

.skip-link {
	position: absolute;
	top: -100px;
	left: 16px;
	z-index: 1000;
	padding: 12px 18px;
	border-radius: 0 0 8px 8px;
	background: var(--nachtblau);
	color: #fff;
	font-weight: 700;
}

.skip-link:focus {
	top: 0;
	color: #fff;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

.hauptinhalt:focus {
	outline: 0;
}

.icon {
	display: inline-block;
	flex-shrink: 0;
	vertical-align: -0.2em;
}

/* Knöpfe ---------------------------------------------------------------- */

.knopf {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.55em;
	padding: 0.85em 1.5em;
	border: 2px solid var(--blau);
	border-radius: 999px;
	background: var(--blau);
	color: #fff;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	transition: background-color 0.15s, color 0.15s, border-color 0.15s, transform 0.15s;
}

.knopf:hover,
.knopf:focus-visible {
	border-color: var(--rot);
	background: var(--rot);
	color: #fff;
}

.knopf:active {
	transform: translateY(1px);
}

.knopf--rot {
	border-color: var(--rot);
	background: var(--rot);
}

.knopf--rot:hover,
.knopf--rot:focus-visible {
	border-color: #fff;
	background: #fff;
	color: var(--rot);
}

.knopf--rahmen {
	border-color: rgb(255 255 255 / 0.85);
	background: transparent;
}

.knopf--rahmen:hover,
.knopf--rahmen:focus-visible {
	border-color: #fff;
	background: #fff;
	color: var(--blau);
}

.knopf--weiss {
	border-color: #fff;
	background: #fff;
	color: var(--rot);
}

.knopf--weiss:hover,
.knopf--weiss:focus-visible {
	border-color: var(--nachtblau);
	background: var(--nachtblau);
	color: #fff;
}

.knopf--rahmen-blau {
	background: transparent;
	color: var(--blau);
}

.knopf--klein {
	padding: 0.6em 1.1em;
	font-size: 0.9rem;
}

/* Warnstreifen (Motiv der Fahrzeug-Beklebung) */
.warnstreifen {
	height: 10px;
	background: repeating-linear-gradient(-45deg, var(--rot) 0 16px, #fff 16px 32px);
}

/* Servicezeile ---------------------------------------------------------- */

.servicezeile {
	background: var(--nachtblau);
	color: rgb(255 255 255 / 0.85);
	font-size: 0.8125rem;
}

.servicezeile__inner {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 1rem;
	min-height: 36px;
}

.servicezeile__links {
	display: flex;
	gap: 1.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.servicezeile__links a {
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
	color: inherit;
	text-decoration: none;
}

.servicezeile__links a:hover {
	color: #fff;
	text-decoration: underline;
}

/* Kopfleiste ------------------------------------------------------------ */

.kopf {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--rot);
	color: #fff;
	transition: box-shadow 0.2s;
}

.admin-bar .kopf {
	top: 32px;
}

.kopf.is-gescrollt {
	box-shadow: 0 4px 18px rgb(0 0 0 / 0.22);
}

.kopf__inner {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	height: var(--kopf-hoehe);
}

.kopf__logo {
	position: relative;
	z-index: 2;
	align-self: flex-start;
}

.logo {
	display: block;
	padding: 10px 14px 12px;
	border-radius: 0 0 12px 12px;
	background: #fff;
	box-shadow: 0 8px 24px rgb(0 0 0 / 0.25);
	transition: padding 0.2s, border-radius 0.2s;
}

.logo img {
	display: block;
	width: 150px;
	height: auto;
	transition: width 0.2s;
}

/* Im kleinen Zustand ist die Karte exakt so hoch wie die Leiste. */
.kopf.is-gescrollt .logo {
	display: flex;
	align-items: center;
	height: var(--kopf-hoehe);
	padding: 0 12px;
	border-radius: 0;
}

.kopf.is-gescrollt .logo img {
	width: 112px;
	max-height: calc(var(--kopf-hoehe) - 12px);
	object-fit: contain;
}

.kopf a:focus-visible,
.kopf button:focus-visible {
	outline-color: #fff;
}

/* Hauptmenü (Desktop) */
.hauptmenue {
	display: flex;
	align-items: center;
	margin-left: auto;
}

.hauptmenue__liste {
	display: flex;
	align-items: center;
	margin: 0;
	padding: 0;
	list-style: none;
}

.hauptmenue__liste > li {
	position: relative;
	display: flex;
	align-items: center;
}

.hauptmenue__liste > li > a {
	position: relative;
	display: flex;
	align-items: center;
	height: var(--kopf-hoehe);
	padding: 0 14px;
	color: #fff;
	font-size: 0.975rem;
	font-weight: 700;
	text-decoration: none;
}

.hauptmenue__liste > li > a::after {
	content: "";
	position: absolute;
	right: 14px;
	bottom: 16px;
	left: 14px;
	height: 3px;
	border-radius: 3px;
	background: #fff;
	transform: scaleX(0);
	transition: transform 0.2s;
}

.hauptmenue__liste > li > a:hover::after,
.hauptmenue__liste > .current-menu-item > a::after,
.hauptmenue__liste > .current_page_item > a::after,
.hauptmenue__liste > .current-menu-ancestor > a::after,
.hauptmenue__liste > .current_page_ancestor > a::after {
	transform: scaleX(1);
}

.hauptmenue__liste > li.menu-item-has-children > a,
.hauptmenue__liste > li.page_item_has_children > a {
	padding-right: 4px;
}

.untermenue-schalter {
	display: inline-grid;
	place-items: center;
	width: 28px;
	height: 28px;
	margin-right: 6px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: #fff;
	cursor: pointer;
}

.untermenue-schalter .icon {
	transition: transform 0.2s;
}

.is-offen > .untermenue-schalter .icon {
	transform: rotate(180deg);
}

.hauptmenue .sub-menu,
.hauptmenue .children {
	position: absolute;
	top: calc(100% - 8px);
	left: 0;
	z-index: 10;
	min-width: 240px;
	margin: 0;
	padding: 8px;
	border-radius: 10px;
	background: #fff;
	box-shadow: var(--schatten-stark);
	list-style: none;
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity 0.15s, transform 0.15s, visibility 0.15s;
}

.hauptmenue li:hover > .sub-menu,
.hauptmenue li:focus-within > .sub-menu,
.hauptmenue li.is-offen > .sub-menu,
.hauptmenue li:hover > .children,
.hauptmenue li:focus-within > .children {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.hauptmenue .sub-menu a,
.hauptmenue .children a {
	display: block;
	padding: 10px 14px;
	border-radius: 6px;
	color: var(--text);
	font-weight: 600;
	text-decoration: none;
}

.hauptmenue .sub-menu a:hover,
.hauptmenue .children a:hover,
.hauptmenue .sub-menu .current-menu-item > a {
	background: var(--flaeche);
	color: var(--rot);
}

.hauptmenue__mitglieder {
	margin-left: 12px;
}

.hauptmenue__mitglieder .knopf {
	padding: 0.6em 1.1em;
	font-size: 0.9rem;
}

.menue-schalter {
	display: none;
}

/* Hauptmenü (mobil) */
@media (max-width: 1024px) {
	:root {
		--kopf-hoehe: 64px;
	}

	.logo img {
		width: 118px;
	}

	.kopf.is-gescrollt .logo img {
		width: 96px;
	}

	.menue-schalter {
		display: inline-flex;
		align-items: center;
		gap: 0.4rem;
		margin-left: auto;
		padding: 8px 14px;
		border: 2px solid rgb(255 255 255 / 0.7);
		border-radius: 999px;
		background: transparent;
		color: #fff;
		font: inherit;
		font-weight: 700;
		cursor: pointer;
	}

	.menue-schalter__zu,
	.kopf.is-offen .menue-schalter__auf {
		display: none;
	}

	.kopf.is-offen .menue-schalter__zu {
		display: inline;
	}

	.menue-schalter .icon {
		display: block;
	}

	.hauptmenue {
		position: absolute;
		top: 100%;
		right: 0;
		left: 0;
		display: none;
		flex-direction: column;
		align-items: stretch;
		max-height: calc(100dvh - var(--kopf-hoehe) - 36px);
		overflow-y: auto;
		padding: 40px 20px 24px; /* Platz für die überstehende Logo-Karte */
		background: #fff;
		box-shadow: var(--schatten-stark);
	}

	.kopf.is-offen .hauptmenue {
		display: flex;
	}

	.hauptmenue__liste {
		flex-direction: column;
		align-items: stretch;
	}

	.hauptmenue__liste > li {
		flex-wrap: wrap;
		border-bottom: 1px solid var(--linie);
	}

	.hauptmenue__liste > li > a {
		flex: 1;
		height: auto;
		padding: 14px 4px;
		color: var(--text);
		font-size: 1.1rem;
	}

	.hauptmenue__liste > li > a::after {
		display: none;
	}

	.hauptmenue__liste > .current-menu-item > a,
	.hauptmenue__liste > .current_page_item > a {
		color: var(--rot);
	}

	.untermenue-schalter {
		width: 40px;
		height: 40px;
		background: var(--flaeche);
		color: var(--blau);
	}

	.hauptmenue .sub-menu,
	.hauptmenue .children {
		position: static;
		display: none;
		flex-basis: 100%;
		min-width: 0;
		padding: 0 0 10px 12px;
		box-shadow: none;
		opacity: 1;
		visibility: visible;
		transform: none;
	}

	.hauptmenue li.is-offen > .sub-menu,
	.hauptmenue .children {
		display: block;
	}

	.hauptmenue__mitglieder {
		margin: 20px 0 0;
	}

	.hauptmenue__mitglieder .knopf {
		width: 100%;
		padding: 0.9em;
		border-color: var(--blau);
		background: var(--blau);
		color: #fff;
		font-size: 1rem;
	}
}

@media (max-width: 600px) {
	.container {
		width: calc(100% - 32px);
	}

	.servicezeile__links {
		gap: 1rem;
	}

	.servicezeile__links li:first-child span {
		display: none;
	}

	.menue-schalter__text {
		display: none;
	}
}

@media (max-width: 782px) {
	.admin-bar .kopf {
		top: 0;
	}
}

/* Hero (Startseite) ----------------------------------------------------- */

.hero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: clamp(480px, 74vh, 700px);
	overflow: hidden;
	background: var(--nachtblau);
	color: #fff;
}

.hero__bild {
	position: absolute;
	inset: 0;
	background-position: center 40%;
	background-size: cover;
}

.hero__bild::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(100deg, rgb(0 30 62 / 0.94) 0%, rgb(0 52 105 / 0.82) 36%, rgb(0 72 145 / 0.3) 68%, rgb(0 72 145 / 0) 100%);
}

.hero__inner {
	position: relative;
	padding: 110px 0 80px;
}

.hero__text {
	max-width: 640px;
}

.hero__kennung {
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
	margin: 0 0 1.25rem;
	padding: 0.4em 1em;
	border-radius: 999px;
	background: var(--rot);
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.hero__kennung .icon {
	fill: currentColor;
	stroke: none;
}

.hero__titel {
	margin: 0 0 1.25rem;
	color: #fff;
	font-size: clamp(2.3rem, 5.4vw, 3.75rem);
	font-weight: 800;
	line-height: 1.06;
	letter-spacing: -0.025em;
	text-wrap: balance;
}

.hero__einleitung {
	max-width: 54ch;
	margin: 0 0 2rem;
	font-size: clamp(1.05rem, 1.6vw, 1.2rem);
	opacity: 0.92;
}

.hero__knoepfe {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin: 0;
}

@media (max-width: 760px) {
	.hero {
		min-height: 0;
	}

	.hero__bild::after {
		background: linear-gradient(180deg, rgb(0 30 62 / 0.7) 0%, rgb(0 42 84 / 0.88) 100%);
	}

	.hero__inner {
		padding: 84px 0 56px;
	}
}

/* Seitenkopf (Unterseiten) ---------------------------------------------- */

.seitenkopf {
	position: relative;
	height: clamp(220px, 30vw, 340px);
	overflow: hidden;
	background: var(--nachtblau);
}

.seitenkopf__bild {
	position: absolute;
	inset: 0;
	background-position: center 40%;
	background-size: cover;
}

.seitenkopf__bild::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(0deg, rgb(0 30 62 / 0.6) 0%, rgb(0 30 62 / 0.12) 70%);
}

.seitenkopf__inner {
	position: relative;
	display: flex;
	align-items: flex-end;
	height: 100%;
	padding-bottom: 28px;
}

.seitenkopf__balken {
	max-width: 820px;
	padding: 14px 26px 16px;
	border-left: 6px solid var(--rot);
	background: var(--blau);
	box-shadow: 0 0 18px 2px rgb(0 0 0 / 0.45);
	color: #fff;
}

.seitenkopf__kennung {
	margin: 0 0 0.15rem;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	opacity: 0.8;
}

.seitenkopf__titel {
	margin: 0;
	color: #fff;
	font-size: clamp(1.45rem, 3.4vw, 2.3rem);
	font-weight: 800;
	line-height: 1.15;
	text-wrap: balance;
}

.seitenkopf__untertitel {
	margin: 0.35rem 0 0;
	opacity: 0.92;
}

.seitenkopf__untertitel p {
	margin: 0;
}

/* Layouts --------------------------------------------------------------- */

.layout {
	padding: 56px 0 88px;
}

.layout--seitenleiste,
.layout--dashboard {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 56px;
	align-items: start;
}

.layout--zentriert {
	max-width: 960px;
}

@media (max-width: 960px) {
	.layout--seitenleiste,
	.layout--dashboard {
		grid-template-columns: minmax(0, 1fr);
		gap: 48px;
	}
}

@media (max-width: 600px) {
	.layout {
		padding: 36px 0 64px;
	}
}

/* Inhalte aus dem Editor ------------------------------------------------ */

.eintrag-inhalt {
	font-size: 1.0625rem;
	line-height: 1.75;
}

.eintrag-inhalt > *:first-child {
	margin-top: 0;
}

.eintrag-inhalt h2 {
	margin: 2.2em 0 0.6em;
	font-size: clamp(1.45rem, 2.6vw, 1.85rem);
}

.eintrag-inhalt h3 {
	margin: 1.8em 0 0.5em;
	font-size: 1.3rem;
}

.eintrag-inhalt h4 {
	margin: 1.6em 0 0.4em;
	font-size: 1.1rem;
}

.eintrag-inhalt p,
.eintrag-inhalt ul,
.eintrag-inhalt ol {
	margin: 0 0 1.2em;
}

.eintrag-inhalt li {
	margin-bottom: 0.35em;
}

.eintrag-inhalt ul:not([class]) li::marker,
.eintrag-inhalt .wp-block-list li::marker {
	color: var(--rot);
}

.eintrag-inhalt img {
	border-radius: 8px;
}

.eintrag-inhalt figure {
	margin: 2em 0;
}

.eintrag-inhalt figcaption {
	margin-top: 0.5em;
	color: var(--grau);
	font-size: 0.85rem;
}

.eintrag-inhalt blockquote,
.eintrag-inhalt .wp-block-quote {
	margin: 2em 0;
	padding: 0.5em 0 0.5em 1.5em;
	border-left: 4px solid var(--rot);
	color: var(--nachtblau);
	font-size: 1.15em;
	font-style: italic;
}

.eintrag-inhalt cite {
	display: block;
	margin-top: 0.5em;
	color: var(--grau);
	font-size: 0.85em;
	font-style: normal;
}

.eintrag-inhalt table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.95rem;
}

.eintrag-inhalt th,
.eintrag-inhalt td {
	padding: 0.6em 0.8em;
	border-bottom: 1px solid var(--linie);
	text-align: left;
}

.eintrag-inhalt th {
	background: var(--flaeche);
	color: var(--nachtblau);
}

.eintrag-inhalt hr {
	margin: 2.5em 0;
	border: 0;
	border-top: 1px solid var(--linie);
}

.eintrag-inhalt .wp-block-button__link {
	border-radius: 999px;
	background: var(--blau);
	font-weight: 700;
}

.eintrag-inhalt .wp-block-button__link:hover {
	background: var(--rot);
	color: #fff;
}

.eintrag-inhalt .is-style-outline .wp-block-button__link {
	border: 2px solid var(--blau);
	background: transparent;
	color: var(--blau);
}

.alignleft {
	float: left;
	margin: 0.3em 1.5em 1em 0;
}

.alignright {
	float: right;
	margin: 0.3em 0 1em 1.5em;
}

.aligncenter {
	margin-inline: auto;
	text-align: center;
}

/* Startseite: Editor-Inhalt bündig am Seitenraster wie die übrigen Abschnitte,
   Fließtext auf Lesebreite begrenzt, breite Blöcke erlaubt */
.abschnitt--inhalt .eintrag-inhalt > * {
	max-width: 760px;
	margin-inline: 0;
}

.abschnitt--inhalt .eintrag-inhalt > .aligncenter {
	margin-inline: auto;
}

.abschnitt--inhalt .eintrag-inhalt > .alignwide {
	max-width: 1200px;
}

.abschnitt--inhalt .eintrag-inhalt > .alignfull {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
}

/* Block-Stile */
.is-style-rettop-karte {
	height: 100%;
	padding: 24px 26px;
	border: 1px solid var(--linie);
	border-top: 4px solid var(--rot);
	border-radius: var(--radius);
	background: #fff;
	box-shadow: var(--schatten);
}

.is-style-rettop-karte > :first-child {
	margin-top: 0;
}

.is-style-rettop-karte > :last-child {
	margin-bottom: 0;
}

.is-style-rettop-karte h3 {
	margin-top: 0;
	color: var(--blau);
}

.is-style-rettop-akzent::after {
	content: "";
	display: block;
	width: 56px;
	height: 4px;
	margin-top: 0.4em;
	border-radius: 4px;
	background: var(--rot);
}

.has-text-align-center.is-style-rettop-akzent::after {
	margin-inline: auto;
}

.is-style-rettop-haken {
	padding-left: 0;
	list-style: none;
}

.is-style-rettop-haken li {
	position: relative;
	padding-left: 1.9em;
}

.is-style-rettop-haken li::before {
	content: "";
	position: absolute;
	top: 0.35em;
	left: 0;
	width: 1.15em;
	height: 1.15em;
	border-radius: 50%;
	background: var(--rot) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 62% no-repeat;
}

.rettop-hinweis {
	padding: 28px 32px;
	border-radius: var(--radius);
}

.rettop-hinweis a {
	color: #fff;
}

.rettop-hinweis > :first-child {
	margin-top: 0;
}

.rettop-hinweis > :last-child {
	margin-bottom: 0;
}

/* Abschnitte (Startseite) ----------------------------------------------- */

.abschnitt {
	padding: 80px 0;
}

.abschnitt--inhalt {
	padding-bottom: 64px;
}

.abschnitt--flaeche {
	background: var(--flaeche);
}

.abschnitt__kopf {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 32px;
}

.abschnitt__kennung {
	margin: 0 0 0.35rem;
	color: var(--rot);
	font-size: 0.8rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.abschnitt__titel {
	margin: 0 0 0.5rem;
	font-size: clamp(1.75rem, 3.2vw, 2.4rem);
}

/* Kennung + Titel auch im Editor-Inhalt (CSS-Klassen am Absatz bzw. an der Überschrift) */
.eintrag-inhalt .abschnitt__kennung {
	margin: 0 0 0.35rem;
}

.eintrag-inhalt .abschnitt__titel {
	margin: 0 0 0.75em;
	font-size: clamp(1.75rem, 3.2vw, 2.4rem);
}

.abschnitt__kopf .abschnitt__titel {
	margin: 0;
}

.abschnitt__mehr {
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
	font-weight: 700;
	text-decoration: none;
}

.termine-teaser {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
	gap: 56px;
	align-items: start;
}

.termine-teaser__kopf p:not(.abschnitt__kennung) {
	color: var(--grau);
}

.termine-teaser__kopf .knopf {
	margin-top: 0.5rem;
}

@media (max-width: 860px) {
	.abschnitt {
		padding: 56px 0;
	}

	.termine-teaser {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
	}
}

/* Beitragskarten -------------------------------------------------------- */

.karten-raster {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
	gap: 28px;
}

.karten-liste {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr));
	gap: 24px;
}

.karte {
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--linie);
	border-radius: var(--radius);
	background: #fff;
	transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.karte:hover,
.karte:focus-within {
	border-color: transparent;
	box-shadow: var(--schatten-stark);
	transform: translateY(-3px);
}

.karte__bild {
	position: relative;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: linear-gradient(135deg, var(--blau), var(--nachtblau));
}

.karte__bild img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s;
}

.karte:hover .karte__bild img {
	transform: scale(1.04);
}

.karte__platzhalter {
	display: grid;
	place-items: center;
	height: 100%;
	color: rgb(255 255 255 / 0.25);
}

.karte__platzhalter .icon {
	fill: currentColor;
	stroke: none;
}

.karte__text {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 18px 22px 22px;
}

.karte .beitrag-meta {
	margin: 0 0 0.4rem;
}

.karte__titel {
	margin: 0 0 0.5rem;
	font-size: 1.15rem;
	line-height: 1.3;
}

.karte__titel a {
	color: var(--nachtblau);
	text-decoration: none;
}

.karte__titel a::after {
	content: "";
	position: absolute;
	inset: 0;
}

.karte__titel a:hover {
	color: var(--blau);
}

.karte__auszug {
	margin: 0 0 1rem;
	color: var(--grau);
	font-size: 0.95rem;
	line-height: 1.6;
}

.karte__mehr {
	display: inline-flex;
	align-items: center;
	gap: 0.35em;
	margin-top: auto;
	color: var(--rot);
	font-size: 0.9rem;
	font-weight: 700;
}

.beitrag-meta {
	position: relative;
	z-index: 1;
	margin: 0 0 1.5rem;
	color: var(--grau);
	font-size: 0.85rem;
	font-weight: 600;
}

.beitrag-meta a {
	color: var(--rot);
	text-decoration: none;
}

.beitragsbild {
	margin: 0 0 2rem;
}

.beitragsbild img {
	display: block;
	width: 100%;
	border-radius: var(--radius);
}

.zurueck {
	margin: 0 0 1.25rem;
	font-weight: 700;
}

.zurueck a {
	text-decoration: none;
}

/* Beitragsnavigation & Paginierung */
.beitragsnavi {
	margin-top: 3rem;
}

.beitragsnavi .nav-links {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.beitragsnavi a {
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 16px 20px;
	border: 1px solid var(--linie);
	border-radius: var(--radius);
	text-decoration: none;
}

.beitragsnavi a:hover {
	border-color: var(--blau);
}

.beitragsnavi .nav-next {
	grid-column: 2;
	text-align: right;
}

.beitragsnavi__label {
	color: var(--grau);
	font-size: 0.8rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.beitragsnavi__titel {
	color: var(--nachtblau);
	font-weight: 700;
}

.pagination {
	margin-top: 40px;
}

.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 42px;
	height: 42px;
	padding: 0 14px;
	border: 1px solid var(--linie);
	border-radius: 999px;
	font-weight: 700;
	text-decoration: none;
}

.page-numbers.current {
	border-color: var(--blau);
	background: var(--blau);
	color: #fff;
}

/* Suche */
.suchformular {
	display: flex;
	max-width: 520px;
	margin-bottom: 2rem;
}

.suchformular input {
	flex: 1;
	min-width: 0;
	padding: 0.75em 1.1em;
	border: 1px solid #b9c2cc;
	border-right: 0;
	border-radius: 999px 0 0 999px;
	font: inherit;
}

.suchformular button {
	padding: 0 1.1em;
	border: 0;
	border-radius: 0 999px 999px 0;
	background: var(--blau);
	color: #fff;
	cursor: pointer;
}

.suchformular button:hover {
	background: var(--rot);
}

/* Seitenleiste ---------------------------------------------------------- */

.seitenleiste {
	display: flex;
	flex-direction: column;
	gap: 36px;
}

.seitenleiste__titel {
	display: inline-flex;
	align-items: center;
	gap: 0.5em;
	margin: 0 0 16px;
	padding: 8px 18px;
	background: var(--blau);
	color: #fff;
	font-size: 1rem;
	font-weight: 700;
	letter-spacing: 0;
}

.seitenleiste .rettop-termin {
	gap: 0.8rem;
	padding: 0.7rem;
}

.seitenleiste .rettop-termin__datum {
	width: 3rem;
	height: 3rem;
}

.seitenleiste .rettop-termin__tag {
	font-size: 1.2rem;
}

.seitenleiste .rettop-termin__titel {
	font-size: 0.95rem;
}

.seitenleiste .rettop-termin__badges {
	display: none;
}

.seitenleiste__mehr {
	margin: 12px 0 0;
	font-size: 0.9rem;
	font-weight: 700;
}

.seitenleiste__mehr a {
	display: inline-flex;
	align-items: center;
	gap: 0.35em;
	text-decoration: none;
}

.schnellzugriff,
.seitenleiste .widget ul,
.seitenleiste__box > ul:not(.rettop-termine) {
	margin: 0;
	padding: 0;
	list-style: none;
}

.schnellzugriff a,
.seitenleiste__box > ul:not(.rettop-termine) a {
	display: block;
	padding: 10px 0;
	border-bottom: 1px solid var(--linie);
	color: var(--text);
	font-weight: 600;
	text-decoration: none;
}

.schnellzugriff a::before {
	content: "›";
	margin-right: 0.6em;
	color: var(--rot);
	font-weight: 800;
}

.schnellzugriff a:hover {
	color: var(--blau);
}

/* Mitmach-Box ----------------------------------------------------------- */

.mitmachen {
	position: relative;
	overflow: hidden;
	padding: 72px 0;
	background: linear-gradient(120deg, var(--blau) 0%, var(--nachtblau) 100%);
	color: rgb(255 255 255 / 0.9);
}

.mitmachen::before {
	content: "";
	position: absolute;
	top: 50%;
	right: -60px;
	width: 380px;
	height: 380px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 3h6v6h6v6h-6v6H9v-6H3V9h6z'/%3E%3C/svg%3E") center / contain no-repeat;
	opacity: 0.06;
	transform: translateY(-50%) rotate(8deg);
}

.mitmachen__inner {
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 28px 48px;
}

.mitmachen__inner > div {
	max-width: 680px;
}

.mitmachen__titel {
	margin: 0 0 0.5rem;
	color: #fff;
	font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.mitmachen p {
	margin: 0;
	font-size: 1.05rem;
}

/* Fußbereich ------------------------------------------------------------ */

.fuss {
	background: var(--nachtblau);
	color: rgb(255 255 255 / 0.8);
	font-size: 0.925rem;
}

.fuss__raster {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr;
	gap: 48px;
	padding: 56px 0 48px;
}

.fuss__logo {
	display: block;
	width: 130px;
	height: auto;
	margin-bottom: 20px;
	padding: 8px 10px;
	border-radius: 8px;
	background: #fff;
}

.fuss__titel {
	margin: 0 0 14px;
	color: #fff;
	font-size: 0.85rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.fuss p {
	margin: 0 0 1em;
}

.fuss address {
	font-style: normal;
	line-height: 1.8;
}

.fuss a {
	color: #fff;
	text-decoration-color: rgb(255 255 255 / 0.35);
}

.fuss a:hover {
	color: #fff;
	text-decoration-color: #fff;
}

.fuss__menue {
	margin: 0;
	padding: 0;
	list-style: none;
	line-height: 2;
}

.fuss__menue a {
	text-decoration: none;
}

.fuss__menue a:hover {
	text-decoration: underline;
}

.fuss__social {
	display: flex;
	gap: 10px;
	margin-top: 16px !important;
}

.fuss__social a {
	display: inline-grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border: 1px solid rgb(255 255 255 / 0.3);
	border-radius: 50%;
}

.fuss__social a:hover {
	border-color: var(--rot);
	background: var(--rot);
}

.fuss__unten {
	border-top: 1px solid rgb(255 255 255 / 0.12);
	font-size: 0.825rem;
}

.fuss__unten-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px 24px;
	padding: 18px 0;
}

.fuss__unten p {
	margin: 0;
}

.fuss__rechtliches {
	display: flex;
	gap: 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.fuss__focus a:focus-visible,
.fuss a:focus-visible {
	outline-color: #fff;
}

@media (max-width: 860px) {
	.fuss__raster {
		grid-template-columns: 1fr 1fr;
	}

	.fuss__spalte--ueber {
		grid-column: 1 / -1;
	}
}

@media (max-width: 520px) {
	.fuss__raster {
		grid-template-columns: 1fr;
		gap: 32px;
	}
}

/* Mitgliederbereich ----------------------------------------------------- */

.login-buehne {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 56px;
	align-items: center;
}

.login-buehne__text h2 {
	margin-top: 0;
	font-size: 1.8rem;
}

.login-buehne__text p {
	color: var(--grau);
	font-size: 1.05rem;
}

.login-buehne .rettop-login {
	width: 100%;
	max-width: none;
}

@media (max-width: 760px) {
	.login-buehne {
		grid-template-columns: minmax(0, 1fr);
		gap: 24px;
	}
}

.dashboard__intro {
	margin-bottom: 28px;
}

.dashboard__box {
	margin-bottom: 28px;
	padding: 26px 28px;
	border: 1px solid var(--linie);
	border-radius: var(--radius);
	background: #fff;
	box-shadow: var(--schatten);
}

.dashboard__kopf {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-bottom: 16px;
}

.dashboard__kopf h2,
.dashboard__box > h2 {
	display: flex;
	align-items: center;
	gap: 0.5em;
	margin: 0;
	font-size: 1.25rem;
}

.dashboard__kopf h2 .icon {
	color: var(--rot);
}

.dashboard__kopf a {
	display: inline-flex;
	align-items: center;
	gap: 0.3em;
	font-size: 0.9rem;
	font-weight: 700;
	text-decoration: none;
}

.dashboard__hinweis {
	margin: -8px 0 16px;
	color: var(--grau);
	font-size: 0.875rem;
}

.dashboard__seite {
	position: sticky;
	top: calc(var(--kopf-hoehe) + 24px);
}

.kachel-liste {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(200px, 100%), 1fr));
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.kachel-liste a {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	height: 100%;
	padding: 16px 18px;
	border: 1px solid transparent;
	border-radius: 10px;
	background: var(--flaeche);
	color: var(--nachtblau);
	text-decoration: none;
}

.kachel-liste a:hover {
	border-color: var(--blau);
	background: #fff;
}

.kachel-liste span {
	color: var(--grau);
	font-size: 0.875rem;
}

.profilkarte {
	margin-bottom: 28px;
	padding: 32px 24px 24px;
	border-radius: var(--radius);
	background: linear-gradient(150deg, var(--blau), var(--nachtblau));
	color: #fff;
	text-align: center;
}

.profilkarte__bild {
	display: block;
	margin: 0 auto 12px;
	border: 3px solid #fff;
	border-radius: 50%;
}

.profilkarte__name {
	margin: 0;
	font-size: 1.15rem;
	font-weight: 800;
}

.profilkarte__mail {
	margin: 0 0 20px;
	font-size: 0.875rem;
	opacity: 0.8;
	word-break: break-all;
}

.profilkarte__knoepfe {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 0;
}

.profilkarte .knopf {
	border-color: #fff;
	background: #fff;
	color: var(--blau);
}

.profilkarte .knopf:hover {
	border-color: var(--rot);
	background: var(--rot);
	color: #fff;
}

.profilkarte .knopf--rahmen-blau {
	border-color: rgb(255 255 255 / 0.6);
	background: transparent;
	color: #fff;
}

.dashboard__box--verwaltung ul {
	margin: 12px 0 0;
	padding: 0;
	list-style: none;
}

.dashboard__box--verwaltung a {
	display: block;
	padding: 8px 0;
	border-bottom: 1px solid var(--linie);
	font-weight: 600;
	text-decoration: none;
}

.dashboard__box--verwaltung li:last-child a {
	border-bottom: 0;
}

@media (max-width: 960px) {
	.dashboard__seite {
		position: static;
		order: -1;
	}
}

/* Kalender-Feinschliff im Theme ----------------------------------------- */

.rettop-monat__titel {
	color: var(--nachtblau);
}

.rettop-button {
	font-weight: 700;
}

/* Kommentare ------------------------------------------------------------ */

.kommentare {
	margin-top: 3rem;
	padding-top: 2rem;
	border-top: 1px solid var(--linie);
}

.kommentare__liste {
	padding-left: 0;
	list-style: none;
}

.comment-body {
	margin-bottom: 1.5rem;
	padding: 1rem 1.25rem;
	border-radius: var(--radius);
	background: var(--flaeche);
}

.comment-form input:not([type="submit"]):not([type="checkbox"]),
.comment-form textarea {
	width: 100%;
	padding: 0.7em;
	border: 1px solid #b9c2cc;
	border-radius: 6px;
	font: inherit;
}

.comment-form .submit {
	padding: 0.85em 1.5em;
	border: 0;
	border-radius: 999px;
	background: var(--blau);
	color: #fff;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
}

/* Bewegung reduzieren --------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		transition: none !important;
		animation: none !important;
	}
}

/* Druck ----------------------------------------------------------------- */

@media print {
	.servicezeile,
	.kopf,
	.seitenleiste,
	.fuss,
	.warnstreifen,
	.mitmachen {
		display: none !important;
	}

	.seitenkopf {
		height: auto;
		background: none;
	}

	.seitenkopf__bild {
		display: none;
	}

	.seitenkopf__balken {
		padding: 0;
		border: 0;
		background: none;
		box-shadow: none;
		color: #000;
	}

	.seitenkopf__titel {
		color: #000;
	}

	.layout--seitenleiste {
		display: block;
	}
}
