/* RT14 Oldenburg – Gestaltung. Farben und Schriften kommen aus theme.json. */

:root {
	--navy: var(--wp--preset--color--navy);
	--navy-karte: var(--wp--preset--color--navy-karte);
	--navy-hover: var(--wp--preset--color--navy-hover);
	--blau: var(--wp--preset--color--blau);
	--nacht: var(--wp--preset--color--nacht);
	--sand: var(--wp--preset--color--sand);
	--sand-dunkel: var(--wp--preset--color--sand-dunkel);
	--sand-bild: var(--wp--preset--color--sand-bild);
	--papier: var(--wp--preset--color--papier);
	--gelb: var(--wp--preset--color--gelb);
	--gelb-hell: var(--wp--preset--color--gelb-hell);
	--text: var(--wp--preset--color--text);
	--text-leise: var(--wp--preset--color--text-leise);
	--hell: var(--wp--preset--color--hell);
	--fehler: #b3261e;
	--archivo: var(--wp--preset--font-family--archivo);
	--seitenrand: clamp(16px, 4vw, 40px);
	--breite: 1280px;
	--linie: rgba(14, 35, 64, 0.12);
}

/* Grundlagen */

html {
	scroll-behavior: smooth;
	overflow-anchor: none;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}

html:has(dialog[open]) {
	overflow: hidden;
}

body {
	margin: 0;
	-webkit-font-smoothing: antialiased;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

:where(.wp-site-blocks) :where(p, h1, h2, h3, h4, ul, ol, figure) {
	margin: 0;
}

:where(.wp-site-blocks) :where(ul, ol) {
	padding: 0;
}

a {
	text-underline-offset: 3px;
}

img {
	display: block;
}

.wp-block-image {
	margin: 0;
}

.wp-site-blocks {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}

.rt-main {
	flex: 1;
}

[id] {
	scroll-margin-top: 80px;
}

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

/* Bausteine: Schrift */

.rt-kicker {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--text-leise);
}

.rt-kicker--gelb {
	color: var(--gelb);
}

.rt-kicker--hell {
	color: var(--hell);
}

.rt-kicker--punkt {
	display: inline-flex;
	align-self: flex-start;
	align-items: center;
	gap: 8px;
}

.rt-kicker--punkt::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--gelb);
	box-shadow: 0 0 0 3px rgba(245, 196, 0, 0.3);
}

.rt-h1 {
	font-family: var(--archivo);
	font-stretch: 118%;
	font-weight: 900;
	font-size: clamp(40px, 5vw, 72px);
	line-height: 0.98;
	letter-spacing: -0.03em;
	text-wrap: balance;
}

.rt-h2 {
	font-family: var(--archivo);
	font-stretch: 115%;
	font-weight: 800;
	font-size: clamp(34px, 4.4vw, 60px);
	line-height: 1;
	letter-spacing: -0.03em;
	text-wrap: balance;
}

.rt-h2--klein {
	font-size: clamp(32px, 4vw, 52px);
}

.rt-lead {
	font-size: clamp(17px, 1.5vw, 20px);
	line-height: 1.55;
	color: var(--text);
	max-width: 34em;
	text-wrap: pretty;
}

.rt-text {
	font-size: 17px;
	line-height: 1.65;
	color: var(--text);
	text-wrap: pretty;
}

/* Bausteine: Bilder, die ihre Fläche füllen */

.wp-block-image.rt-bild-fuellt {
	overflow: hidden;
	background: var(--sand-bild);
}

.wp-block-image.rt-bild-fuellt img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Bausteine: Schaltflächen */

.wp-block-buttons.rt-buttons {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

.wp-block-button .wp-block-button__link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 16px 24px;
	border-radius: 999px;
	border: 0;
	font-family: inherit;
	font-weight: 700;
	font-size: 16px;
	line-height: normal;
	text-decoration: none;
	transition: background-color 0.15s, color 0.15s;
}

.rt-pfeil {
	font-size: 18px;
}

.wp-block-button.is-style-gelb .wp-block-button__link {
	background: var(--gelb);
	color: var(--navy);
}

.wp-block-button.is-style-gelb .wp-block-button__link:hover {
	background: var(--gelb-hell);
	color: var(--navy);
}

.wp-block-button.is-style-navy .wp-block-button__link {
	background: var(--navy);
	color: var(--sand);
}

.wp-block-button.is-style-navy .wp-block-button__link:hover {
	background: var(--navy-hover);
	color: var(--sand);
}

.wp-block-button.is-style-kontur .wp-block-button__link {
	background: transparent;
	border: 1.5px solid var(--navy);
	color: var(--navy);
}

.wp-block-button.is-style-kontur .wp-block-button__link:hover {
	background: var(--navy);
	color: var(--sand);
}

.wp-block-button.rt-button--mittel .wp-block-button__link {
	padding: 14px 22px;
}

.wp-block-button.rt-button--klein .wp-block-button__link {
	padding: 11px 20px;
	font-size: 15px;
}

.wp-block-button.rt-button--chip .wp-block-button__link {
	padding: 10px 16px;
	font-size: 14px;
	font-weight: 600;
}

.wp-block-button.rt-button--aktion .wp-block-button__link {
	padding: 12px 20px;
	margin-top: 4px;
}

/* Kopfbereich */

.rt-header {
	position: sticky;
	top: 0;
	z-index: 20;
	background: var(--sand);
	border-bottom: 1px solid transparent;
	transition: border-color 0.25s;
}

.admin-bar .rt-header {
	top: var(--wp-admin--admin-bar--height, 32px);
}

.rt-header.is-scrolled {
	border-bottom-color: var(--linie);
}

.rt-header__inner {
	max-width: var(--breite);
	margin: 0 auto;
	padding: 14px var(--seitenrand);
	display: flex;
	align-items: center;
	gap: clamp(12px, 3vw, 32px);
	flex-wrap: wrap;
	transition: padding 0.25s ease;
}

.is-scrolled .rt-header__inner {
	padding-block: 8px;
}

.rt-header__logo {
	margin-right: auto;
	line-height: 0;
}

.rt-header__logo .custom-logo-link {
	display: flex;
	align-items: center;
}

.rt-header__logo img.custom-logo {
	height: 60px;
	max-height: 60px;
	width: auto;
	transition: height 0.25s ease;
}

.is-scrolled .rt-header__logo img.custom-logo {
	height: 40px;
}

.rt-nav.wp-block-navigation {
	font-size: 15px;
}

.rt-nav .wp-block-navigation__container {
	display: flex;
	align-items: center;
	gap: 2px;
	flex-wrap: wrap;
}

.rt-nav .wp-block-navigation-item__content.wp-block-navigation-item__content {
	position: relative;
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 10px 14px;
	border-radius: 999px;
	text-decoration: none;
	font-weight: 600;
	font-size: 15px;
	color: var(--navy);
}

.rt-nav .wp-block-navigation-item__content.wp-block-navigation-item__content:hover {
	background: rgba(14, 35, 64, 0.07);
	color: var(--navy);
}

.rt-nav .wp-block-navigation-item__content::after {
	content: "";
	position: absolute;
	left: 14px;
	right: 14px;
	bottom: 3px;
	height: 2px;
	border-radius: 2px;
	background: var(--navy);
	opacity: 0;
	transition: opacity 0.2s;
}

.rt-nav .is-active > .wp-block-navigation-item__content::after,
.rt-seite-wir .rt-nav__wir > .wp-block-navigation-item__content::after {
	opacity: 1;
}

.rt-zaehler {
	background: var(--gelb);
	color: var(--navy);
	border-radius: 999px;
	font-size: 12px;
	font-weight: 700;
	padding: 2px 8px;
}

/*
 * Kopfbereich auf schmalen Bildschirmen: eine Zeile, das Menü klappt darunter auf.
 * Die Klasse rt-js setzt ein kleines Skript im <head>. Ohne JavaScript bleibt das Menü sichtbar.
 */

.rt-menu-knopf {
	display: none;
}

@media (max-width: 760px) {
	.rt-js .rt-header__inner {
		flex-wrap: nowrap;
		gap: 8px;
		padding-block: 8px;
	}

	.rt-js .rt-header__logo img.custom-logo {
		height: 40px;
	}

	.rt-js .rt-header .wp-block-buttons {
		order: 1;
		flex: none;
	}

	.rt-js .rt-menu-knopf {
		order: 2;
		flex: none;
		display: flex;
		align-items: center;
		justify-content: center;
		width: 44px;
		height: 44px;
		padding: 0;
		border: 0;
		border-radius: 50%;
		background: rgba(14, 35, 64, 0.07);
		color: var(--navy);
		cursor: pointer;
	}

	.rt-js .rt-menu-knopf:focus-visible {
		outline: 3px solid var(--navy);
		outline-offset: 2px;
	}

	.rt-menu-knopf__striche,
	.rt-menu-knopf__striche::before,
	.rt-menu-knopf__striche::after {
		display: block;
		width: 20px;
		height: 2px;
		border-radius: 2px;
		background: currentColor;
	}

	.rt-menu-knopf__striche {
		position: relative;
		transition: background-color 0.15s;
	}

	.rt-menu-knopf__striche::before,
	.rt-menu-knopf__striche::after {
		content: "";
		position: absolute;
		left: 0;
		transition: transform 0.2s ease;
	}

	.rt-menu-knopf__striche::before {
		top: -6px;
	}

	.rt-menu-knopf__striche::after {
		top: 6px;
	}

	.is-menu-offen .rt-menu-knopf__striche {
		background: transparent;
	}

	.is-menu-offen .rt-menu-knopf__striche::before {
		background: var(--navy);
		transform: translateY(6px) rotate(45deg);
	}

	.is-menu-offen .rt-menu-knopf__striche::after {
		background: var(--navy);
		transform: translateY(-6px) rotate(-45deg);
	}

	.rt-js nav.rt-nav {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		padding: 8px var(--seitenrand) 14px;
		background: var(--sand);
		border-top: 1px solid var(--linie);
		border-bottom: 1px solid var(--linie);
		box-shadow: 0 14px 24px rgba(14, 35, 64, 0.14);
	}

	.rt-js .is-menu-offen nav.rt-nav {
		display: block;
	}

	.rt-js nav.rt-nav .wp-block-navigation__container {
		flex-direction: column;
		flex-wrap: nowrap;
		align-items: stretch;
	}

	.rt-js nav.rt-nav .wp-block-navigation-item {
		width: 100%;
	}

	.rt-js .rt-nav .wp-block-navigation-item__content.wp-block-navigation-item__content {
		width: 100%;
		padding: 14px 12px;
		border-radius: 12px;
		font-size: 17px;
	}

	.rt-js .rt-nav .wp-block-navigation-item__content::after {
		display: none;
	}

	.rt-js .rt-nav .is-active > .wp-block-navigation-item__content.wp-block-navigation-item__content,
	.rt-js .rt-seite-wir .rt-nav__wir > .wp-block-navigation-item__content.wp-block-navigation-item__content {
		background: rgba(14, 35, 64, 0.07);
	}
}

/* Startseite: Einstieg */

.rt-hero {
	max-width: var(--breite);
	margin: 0 auto;
	padding: clamp(32px, 6vw, 72px) var(--seitenrand) 40px;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
	gap: clamp(28px, 5vw, 64px);
	align-items: center;
}

.rt-hero__text {
	display: flex;
	flex-direction: column;
	gap: 28px;
}

.rt-hero__medien {
	position: relative;
	aspect-ratio: 5 / 4;
	border-radius: 20px;
	overflow: hidden;
	background: var(--sand-bild);
}

.rt-hero__medien .rt-bild-fuellt {
	width: 100%;
	height: 100%;
}

.wp-block-rt14-link-karte.rt-linkkarte {
	display: flex;
	align-items: center;
	gap: 14px;
	text-decoration: none;
	color: var(--navy);
}

.rt-linkkarte--aktion {
	position: absolute;
	left: 16px;
	right: 16px;
	bottom: 16px;
	padding: 14px 16px;
	border-radius: 14px;
	background: var(--sand);
}

.wp-block-rt14-link-karte.rt-linkkarte--aktion:hover {
	background: #fff;
	color: var(--navy);
}

.rt-linkkarte__bild {
	flex: none;
	display: block;
}

.rt-linkkarte--aktion .rt-linkkarte__bild {
	width: 44px;
	height: 44px;
	border-radius: 10px;
	overflow: hidden;
	background: var(--sand-bild);
}

.rt-linkkarte__bild img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.rt-linkkarte__text {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.rt-linkkarte--aktion .rt-linkkarte__zeile1 {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--text-leise);
}

.rt-linkkarte--aktion .rt-linkkarte__zeile2 {
	font-weight: 700;
	font-size: 16px;
}

.rt-linkkarte__pfeil {
	margin-left: auto;
	font-size: 20px;
}

/* Startseite: Serviceprojekte */

.rt-projekte {
	background: var(--navy);
	color: var(--sand);
}

.rt-projekte__innen {
	max-width: var(--breite);
	margin: 0 auto;
	padding: clamp(48px, 7vw, 96px) var(--seitenrand);
	display: flex;
	flex-direction: column;
	gap: 40px;
}

.rt-kopfzeile {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 24px;
	flex-wrap: wrap;
}

.rt-kopfzeile__text {
	display: flex;
	flex-direction: column;
	gap: 14px;
	max-width: 640px;
}

.rt-projekte__einleitung {
	font-size: 17px;
	line-height: 1.6;
	color: var(--hell);
	text-wrap: pretty;
}

.rt-hinweis {
	font-size: 14px;
	color: var(--hell);
}

.rt-karten {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
	gap: 20px;
}

.rt-karte {
	all: unset;
	box-sizing: border-box;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	border-radius: 18px;
	overflow: hidden;
	background: var(--navy-karte);
	color: var(--sand);
	transition: background-color 0.15s, transform 0.15s;
}

.rt-karte:hover {
	background: var(--navy-hover);
}

.rt-karte:focus-visible {
	outline: 3px solid var(--gelb);
	outline-offset: 2px;
}

.rt-karte__bild {
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--blau);
}

.rt-karte__bild img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.rt-karte__text {
	padding: 20px 22px 22px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.rt-karte__zeit {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--gelb);
}

.rt-karte__titel {
	font-family: var(--archivo);
	font-stretch: 112%;
	font-weight: 800;
	font-size: 24px;
	line-height: 1.05;
}

.rt-karte__teaser {
	font-size: 15px;
	line-height: 1.5;
	color: var(--hell);
}

.rt-karte--gross {
	background: var(--gelb);
	color: var(--navy);
}

.rt-karte--gross:hover {
	background: var(--gelb);
	transform: translateY(-3px);
}

.rt-karte--gross .rt-karte__bild {
	background: radial-gradient(circle closest-side at 50% 50%, #ffe070 0, var(--gelb) 100%);
}

/* Freigestelltes Produktfoto: gleiche 4:3-Fläche, aber vollständig sichtbar statt angeschnitten. */
.rt-karte--gross .rt-karte__bild img {
	padding: 16px;
	object-fit: contain;
}

.rt-karte--gross .rt-karte__text {
	padding: 24px;
	gap: 10px;
}

.rt-karte--gross .rt-karte__zeit {
	color: var(--navy);
}

.rt-karte--gross .rt-karte__titel {
	font-size: 32px;
	line-height: 1;
	letter-spacing: -0.02em;
}

.rt-karte--gross .rt-karte__teaser {
	font-size: 16px;
	color: var(--navy);
}

.rt-karte__mehr {
	margin-top: 6px;
	font-weight: 700;
	font-size: 15px;
}

/* Detailansicht eines Projekts */

.rt-drawer {
	position: fixed;
	inset: 0 0 0 auto;
	width: min(560px, 100%);
	max-width: 100%;
	height: 100%;
	max-height: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	background: var(--sand);
	color: var(--navy);
	overflow-y: auto;
}

.rt-drawer[open] {
	display: flex;
	flex-direction: column;
}

.rt-drawer::backdrop {
	background: rgba(10, 26, 49, 0.55);
}

.rt-drawer__bild {
	position: relative;
	flex: none;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--blau);
}

.rt-drawer__bild img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.rt-drawer__bild--gelb {
	background: radial-gradient(circle closest-side at 50% 50%, #ffe070 0, var(--gelb) 100%);
}

.rt-drawer__bild--gelb img {
	padding: 20px;
	object-fit: contain;
}

.rt-drawer__zu {
	all: unset;
	cursor: pointer;
	position: absolute;
	top: 16px;
	right: 16px;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--sand);
	color: var(--navy);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
}

.rt-drawer__zu:focus-visible {
	outline: 3px solid var(--navy);
	outline-offset: 2px;
}

.rt-drawer__inhalt {
	padding: 32px clamp(20px, 4vw, 36px) 40px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.rt-drawer__zeit {
	margin: 0;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--text-leise);
}

.rt-drawer__titel {
	margin: 0;
	font-family: var(--archivo);
	font-stretch: 115%;
	font-weight: 800;
	font-size: 40px;
	line-height: 1;
	letter-spacing: -0.025em;
	overflow-wrap: anywhere;
}

.rt-drawer__tagline {
	margin: 0;
	font-size: 18px;
	font-weight: 600;
	color: var(--text);
}

.rt-drawer__text {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.rt-drawer__text p {
	margin: 0;
	font-size: 16px;
	line-height: 1.65;
	color: var(--text);
	text-wrap: pretty;
}

a.rt-drawer__link {
	align-self: flex-start;
	margin-top: 8px;
	display: inline-flex;
	padding: 14px 22px;
	border-radius: 999px;
	background: var(--navy);
	color: var(--sand);
	text-decoration: none;
	font-weight: 700;
}

a.rt-drawer__link:hover {
	background: var(--navy-hover);
	color: var(--sand);
}

/* Jahresübersicht */

.rt-jahr {
	display: flex;
	flex-direction: column;
	gap: 18px;
	padding-top: 24px;
	border-top: 1px solid rgba(243, 239, 230, 0.16);
}

.rt-jahr__titel {
	margin: 0;
	font-family: var(--archivo);
	font-stretch: 112%;
	font-weight: 800;
	font-size: 22px;
}

.rt-jahr__scroll {
	position: relative; /* hält auch die versteckten Monatsangaben im Scrollbereich */
	overflow-x: auto;
}

.rt-jahr__raster {
	min-width: 720px;
	display: grid;
	grid-template-columns: 200px repeat(12, minmax(0, 1fr));
	row-gap: 8px;
	column-gap: 4px;
	align-items: center;
	font-size: 14px;
}

.rt-jahr__monat {
	color: #8e9bb0;
	font-size: 12px;
	font-weight: 700;
}

.rt-jahr__label {
	grid-column: 1;
	font-weight: 600;
}

.rt-jahr__balken {
	height: 22px;
	border-radius: 6px;
}

.rt-jahr__balken--gelb {
	background: var(--gelb);
}

.rt-jahr__balken--hell {
	background: var(--sand);
}

.rt-jahr__balken--blau {
	background: #8ea6cc;
}

.rt-jahr__balken--offen {
	border: 1.5px dashed #8ea6cc;
}

/* Spendenempfänger */

.rt-spenden {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding-top: 24px;
	border-top: 1px solid rgba(243, 239, 230, 0.16);
}

.rt-spenden__liste {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
	gap: 12px;
}

.rt-spende a {
	display: flex;
	flex-direction: column;
	gap: 4px;
	height: 100%;
	padding: 18px 20px;
	border-radius: 14px;
	border: 1px solid rgba(243, 239, 230, 0.2);
	color: var(--hell);
	font-size: 14px;
	text-decoration: none;
}

.rt-spende a:hover {
	background: var(--navy-karte);
	color: var(--hell);
}

.rt-spende br {
	display: none;
}

.rt-spende strong {
	font-size: 16px;
	font-weight: 700;
	color: var(--sand);
}

.rt-band {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
	padding: 24px 28px;
	border-radius: 18px;
	background: var(--sand);
	color: var(--navy);
}

.rt-band__text {
	font-family: var(--archivo);
	font-stretch: 112%;
	font-weight: 800;
	font-size: clamp(20px, 2.2vw, 26px);
	line-height: 1.15;
	max-width: 28em;
}

/* Startseite: Wir */

.rt-wir {
	max-width: var(--breite);
	margin: 0 auto;
	padding: clamp(56px, 8vw, 112px) var(--seitenrand);
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
	gap: clamp(32px, 5vw, 72px);
}

.rt-wir__text {
	container: rt-wir-text / inline-size;
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.wp-block-rt14-tabler-link.rt-alle-tabler {
	align-self: flex-start;
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
	margin-top: 8px;
	padding: 10px 20px 10px 10px;
	border-radius: 999px;
	background: var(--navy);
	color: var(--sand);
	text-decoration: none;
}

.wp-block-rt14-tabler-link.rt-alle-tabler:hover {
	background: var(--navy-hover);
	color: var(--sand);
}

.rt-alle-tabler__bilder {
	display: flex;
}

.rt-alle-tabler__bilder img {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	object-fit: cover;
	border: 2px solid var(--navy);
	margin-left: -12px;
}

.rt-alle-tabler__bilder img:first-child {
	margin-left: 0;
}

.rt-alle-tabler__zeile {
	font-weight: 700;
	font-size: 16px;
}

/* Reicht der Platz nicht für eine Zeile: schmale Pille mit weniger Porträts und Pfeil rechts. */
@container rt-wir-text (max-width: 500px) {
	.wp-block-rt14-tabler-link.rt-alle-tabler {
		align-self: stretch;
		flex-wrap: nowrap;
		gap: 12px;
		padding: 8px 20px 8px 8px;
	}

	.rt-alle-tabler__bilder {
		flex: none;
	}

	.rt-alle-tabler__bilder img {
		width: 44px;
		height: 44px;
	}

	.rt-alle-tabler__bilder img:nth-child(n+5) {
		display: none;
	}

	.rt-alle-tabler__zeile {
		flex: 1;
		min-width: 0;
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 10px;
		font-size: 15px;
		line-height: 1.2;
	}

	.rt-alle-tabler__pfeil {
		flex: none;
		font-size: 20px;
	}
}

@container rt-wir-text (max-width: 330px) {
	.rt-alle-tabler__bilder img:nth-child(n+4) {
		display: none;
	}
}

.rt-wir__medien {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	align-content: start;
}

.wp-block-image.rt-wir__bild {
	grid-column: span 2;
	aspect-ratio: 16 / 9;
	border-radius: 18px;
}

.rt-zahl {
	padding: 20px;
	border-radius: 16px;
	background: var(--sand-dunkel);
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.rt-zahl__wert {
	font-family: var(--archivo);
	font-stretch: 115%;
	font-weight: 800;
	font-size: 36px;
	line-height: 1;
}

.rt-zahl__text {
	font-size: 14px;
	color: var(--text-leise);
}

/* Startseite: Was ist Round Table? */

.rt-roundtable {
	border-top: 1px solid var(--linie);
}

.rt-roundtable__innen {
	max-width: var(--breite);
	margin: 0 auto;
	padding: clamp(56px, 8vw, 96px) var(--seitenrand);
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
	gap: clamp(24px, 4vw, 56px);
	align-items: start;
}

.rt-roundtable__titel {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.rt-motto {
	font-family: var(--archivo);
	font-stretch: 120%;
	font-weight: 900;
	font-size: clamp(40px, 5.4vw, 76px);
	line-height: 0.92;
	letter-spacing: -0.035em;
}

.rt-roundtable__text {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.rt-links {
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
}

.rt-links a {
	font-weight: 700;
	font-size: 16px;
}

/* Kontakt und Fußbereich */

.rt-kontakt {
	background: var(--nacht);
	color: var(--hell);
}

.rt-kontakt__innen {
	max-width: var(--breite);
	margin: 0 auto;
	padding: clamp(48px, 7vw, 80px) var(--seitenrand) 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
	gap: clamp(32px, 5vw, 64px);
	align-items: start;
}

.rt-kontakt__text {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.rt-kontakt .rt-h2 {
	color: var(--sand);
}

.rt-kontakt__einleitung {
	font-size: 17px;
	max-width: 32em;
	line-height: 1.6;
}

.rt-kontakt__mail {
	font-size: 15px;
	padding-top: 8px;
}

.rt-kontakt__mail a {
	color: var(--gelb);
	font-weight: 700;
}

.rt-kontakt__mail a:hover {
	color: var(--gelb-hell);
}

.rt-kontakt-mail__innen {
	max-width: var(--breite);
	margin: 0 auto;
	padding: clamp(48px, 7vw, 80px) var(--seitenrand) 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.rt-grossmail {
	font-family: var(--archivo);
	font-stretch: 118%;
	font-weight: 900;
	font-size: clamp(36px, 5.5vw, 72px);
	line-height: 1;
	letter-spacing: -0.035em;
}

.rt-grossmail a {
	color: var(--sand);
	text-decoration: none;
}

.rt-grossmail a:hover {
	color: var(--gelb);
}

.rt-footer {
	background: var(--nacht);
	color: var(--hell);
}

.rt-footer__innen {
	max-width: var(--breite);
	margin: 0 auto;
	padding: 48px var(--seitenrand) 32px;
	display: flex;
	flex-direction: column;
	gap: 48px;
}

.rt-seite-wir .rt-footer__innen {
	padding-top: 40px;
	gap: 40px;
}

.rt-footer__spalten {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
	gap: 32px;
	font-size: 15px;
	line-height: 1.6;
}

.rt-footer__spalte {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.rt-footer__titel {
	font-weight: 700;
	color: var(--sand);
}

.rt-footer a {
	color: var(--hell);
}

.rt-footer a:hover {
	color: var(--sand);
}

.wp-block-rt14-link-karte.rt-linkkarte--gelb {
	padding: 14px;
	border-radius: 14px;
	background: var(--gelb);
	color: var(--navy);
	align-self: start;
}

.wp-block-rt14-link-karte.rt-linkkarte--gelb:hover {
	background: var(--gelb-hell);
	color: var(--navy);
}

.rt-linkkarte--gelb .rt-linkkarte__bild {
	width: 52px;
	height: 52px;
}

.rt-linkkarte--gelb .rt-linkkarte__bild img {
	object-fit: contain;
}

.rt-linkkarte--gelb .rt-linkkarte__text {
	gap: 0;
}

.rt-linkkarte--gelb .rt-linkkarte__zeile1 {
	font-weight: 800;
}

.rt-linkkarte--gelb .rt-linkkarte__zeile2 {
	font-size: 14px;
}

.rt-footer__recht {
	padding-top: 20px;
	border-top: 1px solid rgba(201, 209, 222, 0.18);
	font-size: 13px;
}

/* Kontaktformular */

.rt-formular {
	border-radius: 20px;
	background: var(--sand);
	color: var(--navy);
	padding: clamp(20px, 3vw, 32px);
}

.rt-form {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.rt-form[hidden],
.rt-danke[hidden],
.rt-feld__fehler[hidden] {
	display: none;
}

.rt-form__themen {
	margin: 0;
	padding: 0;
	border: 0;
	min-width: 0;
}

.rt-form__themen legend {
	padding: 0;
	margin-bottom: 10px;
	font-size: 14px;
	font-weight: 700;
}

.rt-pillen {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

.rt-pille {
	position: relative;
	cursor: pointer;
}

.rt-pille input {
	position: absolute;
	inset: 0;
	margin: 0;
	opacity: 0;
	cursor: pointer;
}

.rt-pille span {
	display: block;
	padding: 9px 14px;
	border-radius: 999px;
	border: 1.5px solid rgba(14, 35, 64, 0.25);
	font-size: 14px;
	font-weight: 600;
	color: var(--navy);
}

.rt-pille:hover span {
	border-color: var(--navy);
}

.rt-pille input:checked + span {
	background: var(--navy);
	border-color: var(--navy);
	color: var(--sand);
}

.rt-pille input:focus-visible + span {
	outline: 3px solid var(--gelb);
	outline-offset: 2px;
}

.rt-form__zeile {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
	gap: 14px;
}

.rt-feld {
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-size: 14px;
	font-weight: 700;
}

.rt-feld input,
.rt-feld textarea {
	width: 100%;
	padding: 14px 16px;
	border-radius: 12px;
	border: 1.5px solid rgba(14, 35, 64, 0.2);
	background: #fff;
	font: inherit;
	font-size: 16px;
	font-weight: 400;
	color: var(--navy);
	outline: none;
}

.rt-feld textarea {
	resize: vertical;
	line-height: 1.5;
}

.rt-feld input:focus,
.rt-feld textarea:focus {
	border-color: var(--navy);
}

.rt-feld input[aria-invalid="true"],
.rt-feld textarea[aria-invalid="true"] {
	border-color: var(--fehler);
}

.rt-feld__fehler {
	margin: 0;
	font-size: 13px;
	font-weight: 600;
	color: var(--fehler);
}

.rt-form__zustimmung {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.rt-haken {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	font-size: 14px;
	line-height: 1.5;
	color: var(--text);
	cursor: pointer;
}

.rt-haken input {
	width: 20px;
	height: 20px;
	margin: 1px 0 0;
	accent-color: var(--navy);
	flex: none;
}

.rt-falle {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.rt-form__senden {
	all: unset;
	cursor: pointer;
	align-self: flex-start;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 16px 26px;
	border-radius: 999px;
	background: var(--gelb);
	color: var(--navy);
	font-weight: 700;
	font-size: 16px;
}

.rt-form__senden:hover {
	background: var(--gelb-hell);
}

.rt-form__senden:focus-visible {
	outline: 3px solid var(--navy);
	outline-offset: 2px;
}

.rt-form__senden[disabled] {
	opacity: 0.6;
	cursor: progress;
}

.rt-danke {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 24px 0;
	outline: none;
}

.rt-danke__haken {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: var(--gelb);
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 26px;
	font-weight: 800;
}

.rt-danke__titel {
	font-family: var(--archivo);
	font-stretch: 112%;
	font-weight: 800;
	font-size: 28px;
	line-height: 1.1;
}

.rt-danke__text {
	font-size: 16px;
	line-height: 1.55;
	color: var(--text);
}

.rt-danke__neu {
	all: unset;
	cursor: pointer;
	align-self: flex-start;
	margin-top: 6px;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.rt-danke__neu:focus-visible {
	outline: 3px solid var(--navy);
	outline-offset: 2px;
}

/* Seite „Wir“ */

.rt-seitenkopf {
	max-width: var(--breite);
	margin: 0 auto;
	padding: clamp(32px, 6vw, 72px) var(--seitenrand) 0;
	display: flex;
	flex-direction: column;
	gap: 28px;
}

.rt-seitenkopf__zeile {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 24px;
	flex-wrap: wrap;
}

.rt-seitenkopf__titel {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.rt-seitenkopf .rt-h1 {
	text-wrap: wrap;
}

.wp-block-buttons.rt-chips {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

.wp-block-image.rt-seitenkopf__bild {
	aspect-ratio: 21 / 9;
	border-radius: 20px;
}

.wp-block-image.rt-seitenkopf__bild img {
	object-position: 50% 40%;
}

.rt-intro {
	max-width: var(--breite);
	margin: 0 auto;
	padding: clamp(48px, 7vw, 96px) var(--seitenrand);
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
	gap: clamp(24px, 5vw, 72px);
	align-items: start;
}

.rt-intro__text {
	font-size: 19px;
	line-height: 1.6;
	color: var(--text);
	text-wrap: pretty;
	max-width: 26em;
}

.wp-block-list.rt-wirsind {
	padding: 0;
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 14px;
	font-family: var(--archivo);
	font-stretch: 108%;
	font-weight: 600;
	font-size: clamp(20px, 2vw, 26px);
	line-height: 1.25;
	letter-spacing: -0.01em;
}

.rt-wirsind strong {
	font-weight: 900;
}

.rt-wirsind li:last-child {
	padding-top: 8px;
	border-top: 1px solid rgba(14, 35, 64, 0.15);
}

.rt-abschnitt {
	border-top: 1px solid var(--linie);
}

.rt-abschnitt__innen {
	max-width: var(--breite);
	margin: 0 auto;
	padding: clamp(48px, 7vw, 96px) var(--seitenrand);
	display: flex;
	flex-direction: column;
	gap: 32px;
}

.rt-titelzeile {
	display: flex;
	align-items: baseline;
	gap: 16px;
	flex-wrap: wrap;
}

.rt-titelzeile__zusatz {
	font-size: 15px;
	font-weight: 700;
	color: var(--text-leise);
}

.rt-personen {
	display: grid;
}

.rt-personen--gross {
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
	gap: 20px;
}

.rt-personen--liste {
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
	gap: 12px;
}

.rt-person {
	background: var(--papier);
	border: 1px solid rgba(14, 35, 64, 0.08);
}

.rt-person__bild {
	overflow: hidden;
	background: #3a78ae;
}

.rt-person__bild img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.rt-person__text {
	display: flex;
	flex-direction: column;
}

.rt-person__beruf a {
	color: var(--text-leise);
}

.rt-person__links {
	display: flex;
	flex-wrap: wrap;
}

/* Präsidium: große Karte */

.rt-personen--gross .rt-person {
	display: flex;
	flex-direction: column;
	border-radius: 18px;
	overflow: hidden;
}

.rt-personen--gross .rt-person__bild {
	aspect-ratio: 1;
}

.rt-personen--gross .rt-person__text {
	padding: 18px 20px 20px;
	gap: 6px;
	flex: 1;
}

.rt-person__amt {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #8a6a00;
}

.rt-personen--gross .rt-person__name {
	font-family: var(--archivo);
	font-stretch: 110%;
	font-weight: 800;
	font-size: 22px;
	line-height: 1.1;
}

.rt-personen--gross .rt-person__beruf {
	font-size: 15px;
	line-height: 1.45;
	color: var(--text-leise);
}

.rt-personen--gross .rt-person__links {
	margin-top: auto;
	padding-top: 12px;
	gap: 6px;
}

.rt-personen--gross .rt-person__links a {
	padding: 6px 12px;
	border-radius: 999px;
	border: 1px solid rgba(14, 35, 64, 0.25);
	text-decoration: none;
	font-size: 13px;
	font-weight: 600;
}

.rt-personen--gross .rt-person__links a:hover {
	background: rgba(14, 35, 64, 0.07);
	color: var(--navy);
}

.rt-personen--gross .rt-person__links a:first-child {
	border: 0;
	background: var(--navy);
	color: var(--sand);
}

.rt-personen--gross .rt-person__links a:first-child:hover {
	background: var(--navy-hover);
	color: var(--sand);
}

/* Aktive Tabler: kompakte Zeile */

.rt-personen--liste .rt-person {
	display: flex;
	gap: 16px;
	align-items: center;
	padding: 12px;
	border-radius: 16px;
}

.rt-personen--liste .rt-person__bild {
	flex: none;
	width: 88px;
	height: 88px;
	border-radius: 12px;
}

.rt-personen--liste .rt-person__text {
	gap: 4px;
	min-width: 0;
}

.rt-personen--liste .rt-person__name {
	font-family: var(--archivo);
	font-stretch: 108%;
	font-weight: 800;
	font-size: 18px;
	line-height: 1.15;
}

.rt-personen--liste .rt-person__beruf {
	font-size: 14px;
	line-height: 1.4;
	color: var(--text-leise);
}

.rt-personen--liste .rt-person__links {
	gap: 10px;
	font-size: 13px;
	font-weight: 600;
	padding-top: 2px;
}

/* Foto mit Einladung zum Tischabend */

.rt-tischabend {
	max-width: var(--breite);
	margin: 0 auto;
	padding: 0 var(--seitenrand) clamp(48px, 7vw, 96px);
}

.rt-tischabend__flaeche {
	position: relative;
	border-radius: 20px;
	overflow: hidden;
	background: var(--sand-bild);
	min-height: 420px;
	display: flex;
	align-items: flex-end;
}

.wp-block-image.rt-tischabend__bild {
	position: absolute;
	inset: 0;
}

.rt-tischabend__karte {
	position: relative;
	margin: 16px;
	padding: 24px 26px;
	border-radius: 16px;
	background: var(--sand);
	display: flex;
	flex-direction: column;
	gap: 10px;
	max-width: 520px;
}

.rt-tischabend__titel {
	font-family: var(--archivo);
	font-stretch: 112%;
	font-weight: 800;
	font-size: 24px;
	line-height: 1.15;
}

.rt-tischabend__text {
	font-size: 16px;
	line-height: 1.55;
	color: var(--text);
}

/* Ehemalige Präsidenten */

.rt-ehemalige {
	background: var(--navy);
	color: var(--sand);
}

.rt-ehemalige .rt-titelzeile__zusatz {
	color: var(--gelb);
}

.wp-block-list.rt-praesidenten {
	padding: 0;
	list-style: none;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr));
	column-gap: 24px;
	row-gap: 2px;
}

.rt-praesidenten li {
	display: flex;
	gap: 14px;
	padding: 9px 0;
	border-bottom: 1px solid rgba(243, 239, 230, 0.12);
	font-size: 15px;
	color: #e4e8ef;
}

.rt-praesidenten strong {
	flex: none;
	width: 40px;
	font-weight: 700;
	color: var(--gelb);
	font-variant-numeric: tabular-nums;
}

/* Allgemeine Seiten (zum Beispiel Datenschutz) und 404 */

.rt-inhalt {
	max-width: 760px;
	margin: 0 auto;
	padding: clamp(32px, 6vw, 72px) var(--seitenrand);
}

.rt-inhalt .wp-block-post-title {
	margin-bottom: 28px;
}

.rt-inhalt .wp-block-post-content > * + * {
	margin-top: 1em;
}

.rt-inhalt .wp-block-post-content :where(p, li) {
	font-size: 17px;
	line-height: 1.65;
	color: var(--text);
}

.rt-inhalt .wp-block-post-content :where(ul, ol) {
	padding-left: 1.25em;
}

.rt-inhalt .wp-block-post-content :where(h2, h3, h4, h5) {
	margin-top: 1.6em;
	font-family: var(--archivo);
	font-stretch: 112%;
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.01em;
	text-wrap: balance;
}

.rt-inhalt .wp-block-post-content :where(h2) {
	font-size: clamp(24px, 3vw, 30px);
}

.rt-inhalt .wp-block-post-content :where(h3) {
	font-size: 21px;
}

.rt-inhalt .wp-block-post-content :where(h4) {
	font-size: 17px;
}

.rt-inhalt .wp-block-post-content {
	overflow-wrap: break-word;
}

.rt-inhalt .wp-block-post-content :where(p, li) a {
	overflow-wrap: anywhere;
}

.rt-inhalt .wp-block-details {
	border-top: 1px solid var(--linie);
	padding-block: 14px;
}

.rt-inhalt .wp-block-details + .wp-block-details {
	margin-top: 0;
}

.rt-inhalt .wp-block-details:has(+ :not(.wp-block-details)) {
	border-bottom: 1px solid var(--linie);
}

.rt-inhalt .wp-block-details summary {
	cursor: pointer;
	font-size: 17px;
	font-weight: 700;
}

.rt-inhalt .wp-block-details > * + * {
	margin-top: 1em;
}

.rt-inhalt .wp-block-table {
	margin: 0;
	overflow-x: auto;
}

.rt-inhalt .wp-block-table table {
	border-collapse: collapse;
	width: 100%;
	font-size: 14px;
	line-height: 1.45;
	color: var(--text);
}

.rt-inhalt .wp-block-table :where(th, td) {
	padding: 8px 10px;
	border: 1px solid var(--linie);
	text-align: left;
	vertical-align: top;
	overflow-wrap: anywhere;
}

.rt-inhalt .wp-block-table th {
	font-weight: 700;
	color: var(--navy);
}
