/*
Theme Name: Kirche Marmstorf
Theme URI: https://kirchemarmstorf.de
Author: Auferstehungskirchengemeinde Marmstorf
Description: Schlankes Theme für die Ev.-luth. Auferstehungskirchengemeinde Marmstorf. Termine aus ChurchTools, Ankündigungen und Gemeindebrief selbst pflegbar.
Version: 0.4.2
Requires at least: 6.4
Requires PHP: 8.1
License: GPL-2.0-or-later
Text Domain: kirchemarmstorf
*/

/* ---------- Schriften (lokal, keine Google-Verbindung) ---------- */
@font-face {
	font-family: "Source Sans 3";
	font-style: normal;
	font-display: swap;
	font-weight: 200 900;
	src: url(assets/fonts/source-sans-3-latin-wght-normal.woff2) format("woff2-variations");
	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: "Source Sans 3";
	font-style: normal;
	font-display: swap;
	font-weight: 200 900;
	src: url(assets/fonts/source-sans-3-latin-ext-wght-normal.woff2) format("woff2-variations");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Source Serif 4";
	font-style: normal;
	font-display: swap;
	font-weight: 200 900;
	src: url(assets/fonts/source-serif-4-latin-wght-normal.woff2) format("woff2-variations");
	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: "Source Serif 4";
	font-style: normal;
	font-display: swap;
	font-weight: 200 900;
	src: url(assets/fonts/source-serif-4-latin-ext-wght-normal.woff2) format("woff2-variations");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Farben und Grundwerte ---------- */
:root {
	--lila: #470f51;
	--lila-dunkel: #2e0a35;
	--lila-hell: #f3eef4;
	--lila-zart: #e3d3e7;
	--lila-text-hell: #f1e9f3;
	--linie: #eae3ec;
	--linie-2: #e2dae4;
	--text: #1d1a1f;
	--text-2: #3a2d3e;
	--grau: #5e5462;
	--grund: #fbf9f6;
	--weiss: #fff;
	--emma-grund: #fdebdd;
	--emma-text: #8a3a06;
	--emma-linie: #f1e4da;
	--kultur-grund: #e6f4ee;
	--kultur-text: #1f5b45;
	--musik-grund: #cde9f2;
	--musik-text: #0b5670;

	--serif: "Source Serif 4", Georgia, serif;
	--sans: "Source Sans 3", Arial, sans-serif;
	--radius: 20px;
	--breite: 1200px;
	--rand: 24px;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	font-family: var(--sans);
	font-size: 18px;
	line-height: 1.5;
	color: var(--text);
	background: var(--grund);
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--lila); }
a:hover { color: var(--lila-dunkel); }
a:focus-visible, button:focus-visible {
	outline: 3px solid var(--lila);
	outline-offset: 3px;
	border-radius: 4px;
}

h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.15; margin: 0; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}
.skip-link:focus {
	position: fixed; top: 8px; left: 8px; z-index: 100;
	width: auto; height: auto; clip: auto;
	padding: 12px 20px;
	background: var(--weiss);
	color: var(--lila);
	font-weight: 700;
}

.container {
	width: 100%;
	max-width: calc(var(--breite) + 2 * var(--rand));
	margin: 0 auto;
	padding: 0 var(--rand);
}

/* ---------- Bausteine ---------- */
.kicker {
	font-size: 15px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--lila);
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 52px;
	padding: 0 28px;
	border-radius: 999px;
	border: 2px solid transparent;
	font-weight: 700;
	text-decoration: none;
	background: var(--lila);
	color: var(--weiss);
}
.button:hover { background: var(--lila-dunkel); color: var(--weiss); }
.button--hell { background: var(--weiss); color: var(--lila); }
.button--hell:hover { background: var(--lila-hell); color: var(--lila); }
.button--rahmen { background: transparent; border-color: var(--weiss); color: var(--weiss); }
.button--rahmen:hover { background: rgba(255, 255, 255, .12); color: var(--weiss); }
.button--dunkel { background: var(--text); }
.button--voll { display: flex; width: 100%; }

.mehr-link { font-weight: 700; text-decoration: none; }
.mehr-link:hover { text-decoration: underline; }

.karte {
	padding: 36px;
	border-radius: var(--radius);
	background: var(--weiss);
	border: 1px solid var(--linie);
	display: flex;
	flex-direction: column;
	gap: 18px;
}
.karte h2 { font-size: 26px; line-height: 1.2; }
.karte p { margin: 0; }

.abschnitt-kopf {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 24px;
}
.abschnitt-kopf h2 { font-size: 40px; }

.badge {
	font-size: 14px;
	font-weight: 600;
	padding: 4px 12px;
	border-radius: 999px;
	background: var(--lila-hell);
	color: var(--lila);
	white-space: nowrap;
}
.badge--kultur { background: var(--kultur-grund); color: var(--kultur-text); }
.badge--emma { background: var(--emma-grund); color: var(--emma-text); }
.badge--musik { background: var(--musik-grund); color: var(--musik-text); }

.icon { flex-shrink: 0; }

/* ---------- Kopfzeile ---------- */
.topbar {
	background: var(--lila-hell);
	color: var(--text-2);
	font-size: 15px;
}
.topbar .container {
	min-height: 40px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}
.topbar__links { display: flex; gap: 28px; align-items: center; }
.topbar__rechts { display: flex; gap: 24px; }
.topbar a { color: var(--text-2); text-decoration: none; }
.topbar a:hover { text-decoration: underline; }

.site-header {
	background: var(--weiss);
	border-bottom: 1px solid var(--linie);
	position: relative;
	z-index: 20;
}
.site-header .container {
	min-height: 96px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
}
.marke {
	display: flex;
	align-items: center;
	gap: 16px;
	text-decoration: none;
	color: var(--text);
}
.marke__text { display: flex; flex-direction: column; line-height: 1.15; }
.marke__name { white-space: nowrap; font-family: var(--serif); font-size: 23px; font-weight: 700; color: var(--lila); }
.marke__zusatz { font-size: 14px; color: var(--grau); }

.hauptnav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	gap: 32px;
	font-size: 17px;
	font-weight: 600;
}
.hauptnav a { color: var(--text); text-decoration: none; }
.hauptnav a:hover,
.hauptnav .current-menu-item > a,
.hauptnav .current-menu-ancestor > a { color: var(--lila); }
.hauptnav .sub-menu { display: none; }
.hauptnav .menu-spenden > a,
.hauptnav__spenden {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 48px;
	padding: 0 22px;
	border-radius: 999px;
	background: var(--lila);
	color: var(--weiss) !important;
}
.hauptnav .menu-spenden > a:hover { background: var(--lila-dunkel); }

.menu-knopf {
	display: none;
	width: 48px;
	height: 48px;
	border: 0;
	border-radius: 12px;
	background: var(--lila-hell);
	color: var(--lila);
	align-items: center;
	justify-content: center;
	cursor: pointer;
}
.menu-knopf .icon-zu { display: none; }
.menu-offen .menu-knopf .icon-auf { display: none; }
.menu-offen .menu-knopf .icon-zu { display: block; }

/* ---------- Hinweise (oben auf der Startseite) ---------- */
.hinweise { background: var(--emma-grund); border-bottom: 1px solid #f3d6bf; }
.hinweise .container { padding-top: 20px; padding-bottom: 20px; display: flex; flex-direction: column; gap: 16px; }
.hinweis { display: flex; align-items: center; gap: 16px; }
.hinweis + .hinweis { padding-top: 16px; border-top: 1px solid #f3d6bf; }
.hinweis__symbol { color: var(--emma-text); display: flex; }
.hinweis__text { flex-grow: 1; display: flex; flex-direction: column; }
.hinweis__text strong { font-size: 19px; line-height: 1.3; }
.hinweis__text span { color: var(--text-2); font-size: 17px; }
.hinweis__knopf { flex-shrink: 0; min-height: 44px; padding: 0 22px; }

/* ---------- Hero ---------- */
.hero {
	position: relative;
	background: var(--lila);
	color: var(--weiss);
}
.hero__hintergrund { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero__bild {
	position: absolute;
	left: 50%;
	top: 40px;
	width: 980px;
	transform: translateX(-30%);
	pointer-events: none;
}
.hero .container {
	position: relative;
	min-height: 540px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 64px;
	padding-top: 48px;
	padding-bottom: 48px;
}
.hero__text { max-width: 600px; display: flex; flex-direction: column; gap: 24px; }
.hero__kicker { font-size: 16px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--lila-zart); }
.hero h1 { font-size: 64px; line-height: 1.08; }
.hero p { margin: 0; font-size: 20px; color: var(--lila-text-hell); }
.hero__knoepfe { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 8px; }
.hero__knoepfe .button { min-height: 54px; }

.gd-karte {
	position: relative;
	width: 440px;
	flex-shrink: 0;
	padding: 36px;
	border-radius: var(--radius);
	background: var(--weiss);
	color: var(--text);
	display: flex;
	flex-direction: column;
	gap: 18px;
	box-shadow: 0 24px 48px rgba(20, 0, 30, .25);
}
.gd-karte__haupt { display: flex; gap: 20px; align-items: center; }
.datum-kachel {
	width: 84px;
	height: 92px;
	flex-shrink: 0;
	border-radius: 14px;
	background: var(--lila-hell);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	line-height: 1.1;
	font-size: 15px;
	font-weight: 600;
	color: var(--grau);
}
.datum-kachel strong { font-family: var(--serif); font-size: 36px; font-weight: 700; color: var(--lila); }
.gd-karte__zeit { font-size: 28px; font-weight: 700; line-height: 1.2; display: block; }
.gd-karte__ort { display: flex; gap: 10px; align-items: flex-start; font-size: 17px; color: var(--text-2); }
.gd-karte__ort .icon { margin-top: 2px; }
.gd-karte__trenner { height: 1px; background: var(--linie); }
.gd-karte__danach { font-size: 16px; color: var(--grau); }
.gd-karte__danach strong { color: var(--text); font-weight: 600; }
.gd-karte__leer { margin: 0; color: var(--grau); }

/* ---------- Termine ---------- */
.startseite-termine {
	padding-top: 96px;
	padding-bottom: 48px;
	display: grid;
	grid-template-columns: 7fr 5fr;
	gap: 32px;
	align-items: start;
}
.terminliste {
	list-style: none;
	margin: 0;
	padding: 0;
	border-top: 1px solid var(--linie-2);
}
.termin {
	display: flex;
	gap: 24px;
	align-items: center;
	padding: 20px 0;
	border-bottom: 1px solid var(--linie-2);
	color: var(--text);
}
.termin__datum {
	width: 72px;
	flex-shrink: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	line-height: 1.1;
	font-size: 14px;
	color: var(--grau);
}
.termin__datum strong { font-family: var(--serif); font-size: 30px; font-weight: 700; color: var(--lila); }
.termin__inhalt { flex-grow: 1; display: flex; flex-direction: column; }
.termin__titel { font-size: 20px; font-weight: 600; line-height: 1.3; }
.termin__info { font-size: 16px; color: var(--grau); }
.termin__beschreibung { font-size: 16px; color: var(--text-2); margin-top: 4px; }
.termine-hinweis { color: var(--grau); }

/* Wichtige Termine (eigener ChurchTools-Kalender) */
.termin--wichtig {
	margin: -1px 0 0;
	padding-left: 16px;
	padding-right: 16px;
	border-left: 5px solid var(--lila);
	border-radius: 0 12px 12px 0;
	background: var(--lila-hell);
}
.termin--wichtig .termin__titel { font-weight: 700; color: var(--lila); }
.badge--wichtig { background: var(--lila); color: var(--weiss); }

.termine-monat { font-size: 28px; margin: 48px 0 16px; }
.termine-monat:first-child { margin-top: 0; }

/* ---------- Im Fokus ---------- */
.fokus { padding-top: 96px; }
.fokus + .startseite-termine { padding-top: 48px; }
.fokus__karte {
	display: grid;
	grid-template-columns: 5fr 7fr;
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--weiss);
	border: 1px solid var(--linie);
	box-shadow: 0 16px 40px rgba(20, 0, 30, .08);
}
.fokus__karte--ohne-bild { grid-template-columns: 1fr; border-top: 6px solid var(--lila); }
.fokus__bild { width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
.fokus__inhalt { padding: 48px; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.fokus__inhalt h2 { font-size: 44px; }
.fokus__inhalt > p { margin: 0; color: var(--text-2); }
.fokus__wann { display: flex; flex-wrap: wrap; gap: 6px 24px; font-size: 19px; }
.fokus__wann strong { color: var(--lila); }
.fokus__wann span { display: inline-flex; gap: 6px; align-items: center; color: var(--grau); }
.fokus__knopf { margin-top: 8px; }

.programm { list-style: none; margin: 0; padding: 0; width: 100%; border-top: 1px solid var(--linie-2); }
.programm li { display: flex; gap: 20px; padding: 10px 0; border-bottom: 1px solid var(--linie-2); }
.programm__zeit { flex: 0 0 64px; font-weight: 700; color: var(--lila); font-variant-numeric: tabular-nums; }
.programm-titel { font-size: 32px; margin: 48px 0 16px; }

/* ---------- Emma ---------- */
.emma {
	padding: 40px;
	border-radius: var(--radius);
	background: var(--emma-grund);
	display: flex;
	flex-direction: column;
	gap: 20px;
}
.emma .kicker { color: var(--emma-text); }
.emma h2 { font-size: 36px; }
.emma p { margin: 0; color: var(--text-2); }
.emma__zeiten {
	padding: 20px;
	border-radius: 14px;
	background: var(--weiss);
	display: flex;
	flex-direction: column;
}
.emma__zeile { padding: 12px 0; border-bottom: 1px solid var(--emma-linie); }
.emma__zeile:first-child { padding-top: 0; }
.emma__zeile:last-child { padding-bottom: 0; border-bottom: 0; }
.emma__oben { display: flex; justify-content: space-between; gap: 16px; }
.emma__oben strong { font-weight: 600; }
.emma__ort { font-size: 15px; color: var(--grau); }

/* ---------- Aktuelles ---------- */
.aktuelles { padding-top: 48px; padding-bottom: 48px; }
.aktuelles__raster { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.ankuendigung {
	display: flex;
	flex-direction: column;
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--weiss);
	border: 1px solid var(--linie);
}
.ankuendigung__bild { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.ankuendigung__text { padding: 24px 28px 28px; display: flex; flex-direction: column; gap: 8px; }
.ankuendigung__datum { font-size: 15px; color: var(--grau); }
.ankuendigung h3 { font-family: var(--sans); font-size: 22px; line-height: 1.25; }
.ankuendigung h3 a { color: var(--text); text-decoration: none; }
.ankuendigung h3 a:hover { color: var(--lila); }
.ankuendigung p { margin: 0; font-size: 16px; color: var(--text-2); }

/* ---------- Karten-Reihe ---------- */
.kartenreihe {
	padding-top: 48px;
	padding-bottom: 48px;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 32px;
}
.kartenreihe .mehr-link { margin-top: auto; text-align: center; font-weight: 600; }

.gb-vorschau { display: flex; gap: 20px; align-items: flex-start; }
.gb-titel {
	width: 116px;
	height: 164px;
	flex-shrink: 0;
	border-radius: 6px;
	background: var(--lila);
	color: var(--weiss);
	box-shadow: 0 8px 20px rgba(71, 15, 81, .25);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 12px;
	font-family: var(--serif);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.15;
}
.gb-titel span { font-size: 14px; overflow-wrap: anywhere; }
a.gb-titel { text-decoration: none; transition: transform .15s; }
a.gb-titel:hover { color: var(--weiss); transform: translateY(-2px); }
.gb-titel:has(img) { padding: 0; background: var(--weiss); }
.gb-titel img { width: 100%; height: 100%; object-fit: cover; }
.gb-info { min-width: 0; hyphens: auto; display: flex; flex-direction: column; gap: 6px; }
.gb-info span { color: var(--grau); font-size: 16px; }
.gb-knoepfe { margin-top: auto; display: flex; flex-direction: column; gap: 12px; }

.buero-zeiten {
	padding: 16px 18px;
	border-radius: 12px;
	background: var(--lila-hell);
	display: flex;
	flex-direction: column;
	gap: 6px;
}
.buero-zeiten div { display: flex; justify-content: space-between; gap: 16px; }
.buero-zeiten strong { font-weight: 600; }
.kontaktliste { display: flex; flex-direction: column; gap: 10px; font-size: 17px; }
.kontaktliste a, .kontaktliste div {
	display: flex;
	gap: 10px;
	align-items: center;
	color: var(--text);
	text-decoration: none;
	overflow-wrap: anywhere;
}
.kontaktliste a:hover { color: var(--lila); }

.karte--spenden { background: var(--lila-dunkel); border-color: var(--lila-dunkel); color: var(--weiss); }
.karte--spenden .kicker { color: var(--lila-zart); }
.karte--spenden p { color: var(--lila-text-hell); font-size: 17px; }
.spenden-konto { display: flex; gap: 18px; align-items: center; }
.spenden-konto__qr { width: 104px; height: 104px; flex-shrink: 0; border-radius: 10px; background: var(--weiss); padding: 6px; }
.spenden-konto__daten { display: flex; flex-direction: column; gap: 2px; font-size: 15px; color: var(--lila-text-hell); }
.spenden-konto__daten strong { font-size: 16px; font-weight: 600; color: var(--weiss); }
.karte--spenden .button { margin-top: auto; }

/* ---------- Mitmachen ---------- */
.mitmachen { padding-top: 48px; padding-bottom: 96px; }
.mitmachen__raster { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.gruppe {
	display: flex;
	flex-direction: column;
	border-radius: var(--radius);
	overflow: hidden;
	background: var(--weiss);
	border: 1px solid var(--linie);
	text-decoration: none;
	color: var(--text);
}
.gruppe:hover { border-color: var(--lila-zart); color: var(--text); }
.gruppe__bild {
	display: block;
	height: 200px;
	width: 100%;
	object-fit: cover;
	background: #d9c8dd;
}
.gruppe:nth-child(3n+2) .gruppe__bild { background: #cfe8dd; }
.gruppe:nth-child(3n+3) .gruppe__bild { background: var(--musik-grund); }
.gruppe__text { padding: 24px 28px 28px; display: flex; flex-direction: column; gap: 6px; }
.gruppe__text strong { font-size: 22px; }
.gruppe__text span { font-size: 16px; color: var(--grau); }

/* ---------- Inhaltsseiten ---------- */
.seitenkopf { background: var(--lila); color: var(--weiss); }
.seitenkopf .container { padding-top: 64px; padding-bottom: 56px; }
.seitenkopf .kicker { color: var(--lila-zart); display: block; margin-bottom: 12px; }
.seitenkopf h1 { font-size: 52px; }
.seitenkopf p { margin: 12px 0 0; color: var(--lila-text-hell); font-size: 20px; max-width: 720px; }

.inhalt { padding-top: 64px; padding-bottom: 96px; }
.inhalt--schmal { max-width: calc(800px + 2 * var(--rand)); }

.text > * { margin-top: 0; margin-bottom: 1em; }
.text h2 { font-size: 32px; margin-top: 1.6em; margin-bottom: .5em; }
.text h3 { font-size: 24px; margin-top: 1.4em; margin-bottom: .4em; }
.text img { border-radius: 12px; }
.text figure { margin-left: 0; margin-right: 0; }
.text figcaption { font-size: 15px; color: var(--grau); margin-top: 8px; }
.text blockquote { margin-left: 0; padding-left: 24px; border-left: 4px solid var(--lila-zart); font-style: italic; }
.text .wp-block-button__link { border-radius: 999px; background: var(--lila); color: var(--weiss); padding: 14px 28px; font-weight: 700; text-decoration: none; }
.text .alignwide { margin-left: -60px; margin-right: -60px; }
.text h4 { font-size: 20px; margin-top: 1.2em; margin-bottom: .3em; }
.text ul, .text ol { padding-left: 1.4em; }
.text li { margin-bottom: .3em; }
.text a { overflow-wrap: anywhere; }
.text img { max-width: 100%; height: auto; }
.text > .wp-block-image, .text > .wp-block-gallery, .text > .wp-block-embed, .text > .wp-block-table { margin-top: 1.5em; margin-bottom: 1.5em; }
.text .wp-block-image img { display: block; }
.text .wp-block-gallery { gap: 16px; }
.text .wp-block-gallery.has-nested-images figure.wp-block-image figcaption { border-radius: 0 0 12px 12px; }
.text .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.5em 0; }
.text .wp-block-button__link { display: inline-block; }
.text .wp-block-button__link:hover { background: var(--lila-dunkel); color: var(--weiss); }
.text .wp-block-table { overflow-x: auto; }
.text table { width: 100%; border-collapse: collapse; font-size: 17px; }
.text td, .text th { padding: 10px 14px; border-bottom: 1px solid var(--linie); text-align: left; vertical-align: top; }
.text tr:first-child td { border-bottom: 2px solid var(--lila-zart); }
.text details { padding: 16px 20px; border: 1px solid var(--linie); border-radius: 12px; }
.text summary { cursor: pointer; font-weight: 700; color: var(--lila); }

/* YouTube erst nach Klick laden (Datenschutz) */
.video { margin: 1.5em 0; }
.video__platzhalter, .video iframe { width: 100%; aspect-ratio: 16 / 9; border: 0; border-radius: var(--radius); }
.video__platzhalter {
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
	padding: 24px; text-align: center; background: var(--lila); color: var(--weiss);
}
.video__platzhalter p { margin: 0; max-width: 460px; font-size: 15px; color: var(--lila-text-hell); }
.video__platzhalter a { color: var(--weiss); }
.video__knopf { cursor: pointer; border: 0; font: inherit; }
.beitrag-bild { margin-bottom: 40px; border-radius: var(--radius); width: 100%; }
.beitrag-meta { color: var(--grau); font-size: 16px; margin-bottom: 24px; }

.unterseiten {
	list-style: none;
	padding: 0;
	margin: 48px 0 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
}
.unterseiten a {
	display: block;
	padding: 20px 24px;
	border-radius: 14px;
	background: var(--weiss);
	border: 1px solid var(--linie);
	font-weight: 600;
	text-decoration: none;
}
.unterseiten a:hover { border-color: var(--lila); }

.archiv-raster { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.gb-jahr { font-size: 32px; margin: 56px 0 24px; }
.gb-jahr:first-child { margin-top: 0; }
.gb-archiv { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.gb-archiv a { display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: var(--text); font-weight: 600; }
.gb-archiv .gb-titel { display: flex; width: 100%; height: auto; aspect-ratio: 210 / 297; }
.gb-archiv span { font-weight: 400; color: var(--grau); font-size: 16px; }

.seitennavigation { margin-top: 48px; display: flex; gap: 12px; flex-wrap: wrap; }
.seitennavigation .page-numbers {
	min-width: 44px; height: 44px; padding: 0 14px;
	display: inline-flex; align-items: center; justify-content: center;
	border-radius: 999px; background: var(--weiss); border: 1px solid var(--linie);
	text-decoration: none; font-weight: 600;
}
.seitennavigation .current { background: var(--lila); color: var(--weiss); border-color: var(--lila); }

/* ---------- Kontaktseite ---------- */
.kontakt { display: flex; flex-direction: column; gap: 72px; }
.kontakt__oben { display: grid; grid-template-columns: 7fr 5fr; gap: 32px; }
.kontakt__titel { font-size: 36px; margin-bottom: 24px; }
.buero-karte, .seelsorge-karte { padding: 40px; border-radius: var(--radius); display: flex; flex-direction: column; gap: 18px; }
.buero-karte { background: var(--weiss); border: 1px solid var(--linie); }
.buero-karte h2, .seelsorge-karte h2 { font-size: 30px; }
.buero-karte p, .seelsorge-karte p { margin: 0; color: var(--text-2); }
.buero-karte__raster { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.seelsorge-karte { background: var(--lila-dunkel); color: var(--weiss); }
.seelsorge-karte .kicker { color: var(--lila-zart); }
.seelsorge-karte p { color: var(--lila-text-hell); }
.seelsorge-karte__person { display: flex; gap: 16px; align-items: center; }
.seelsorge-karte__person div { display: flex; flex-direction: column; }
.seelsorge-karte__person span { color: var(--lila-zart); font-size: 16px; }
.seelsorge-karte__knoepfe { margin-top: auto; display: flex; flex-wrap: wrap; gap: 12px; }
.seelsorge-karte .button { min-height: 48px; padding: 0 22px; }

.orte { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.ort { display: flex; gap: 16px; align-items: flex-start; padding: 28px; border-radius: var(--radius); background: var(--lila-hell); }
.ort__symbol { color: var(--lila); display: flex; }
.ort > div { flex-grow: 1; display: flex; flex-direction: column; }
.ort strong { font-size: 20px; }
.ort__was { color: var(--grau); font-size: 16px; }
.ort .mehr-link { align-self: center; white-space: nowrap; }

.personen { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.person { padding: 28px; border-radius: var(--radius); background: var(--weiss); border: 1px solid var(--linie); display: flex; flex-direction: column; gap: 16px; }
.person__kopf { display: flex; gap: 16px; align-items: center; }
.person__kopf h3 { font-family: var(--sans); font-size: 21px; line-height: 1.25; }
.person__aufgabe { color: var(--lila); font-weight: 600; font-size: 16px; }
.person__bild { border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.person__bild--initialen { display: inline-flex; align-items: center; justify-content: center; background: var(--lila-zart); color: var(--lila); font-family: var(--serif); font-weight: 700; }
.seelsorge-karte .person__bild--initialen { background: var(--lila); color: var(--weiss); }
.person__themen { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.person__themen li { font-size: 14px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--lila-hell); color: var(--lila); }
.person__kontakt { font-size: 16px; gap: 8px; margin-top: auto; }

/* ---------- Fußzeile ---------- */
.site-footer { background: var(--lila); color: var(--lila-text-hell); font-size: 16px; }
.site-footer .container { padding-top: 64px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 40px; }
.site-footer__spalten { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.site-footer__spalte { display: flex; flex-direction: column; gap: 6px; }
.site-footer__spalte strong { color: var(--weiss); }
.site-footer__marke { gap: 14px; }
.site-footer__marke span { font-family: var(--serif); font-size: 20px; font-weight: 700; color: var(--weiss); }
.site-footer a { color: var(--lila-text-hell); text-decoration: none; }
.site-footer a:hover { color: var(--weiss); text-decoration: underline; }
.site-footer__unten {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 16px;
	padding-top: 24px;
	border-top: 1px solid #6b3a74;
	font-size: 15px;
}
.site-footer__unten ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 28px; }
.site-footer__unten a { text-decoration: underline; }

/* ---------- Tablet ---------- */
@media (max-width: 1100px) {
	.hauptnav ul { gap: 20px; font-size: 16px; }
	.hero h1 { font-size: 52px; }
	.gd-karte { width: 380px; }
	.startseite-termine { grid-template-columns: 1fr; gap: 48px; }
	.kartenreihe { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.karte--spenden { grid-column: span 2; }
	.personen { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.kontakt__oben { grid-template-columns: 1fr; }
	.gb-archiv { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- Mobil ---------- */
@media (max-width: 900px) {
	:root { --rand: 16px; }
	.topbar { display: none; }
	.hinweis { flex-wrap: wrap; align-items: flex-start; }
	.hinweis__text { flex-basis: calc(100% - 40px); }
	.hinweis__knopf { margin-left: 40px; }
	.site-header .container { min-height: 68px; }
	.marke { gap: 10px; }
	.marke svg { width: 64px; height: auto; }
	.marke__name { font-size: 18px; }
	.marke__zusatz { display: none; }
	.menu-knopf { display: inline-flex; }

	.hauptnav {
		display: none;
		position: absolute;
		left: 0; right: 0; top: 100%;
		background: var(--weiss);
		border-bottom: 1px solid var(--linie);
		box-shadow: 0 16px 32px rgba(20, 0, 30, .12);
		padding: 8px var(--rand) 24px;
	}
	.menu-offen .hauptnav { display: block; }
	.hauptnav ul { flex-direction: column; align-items: stretch; gap: 0; font-size: 19px; }
	.hauptnav li a { display: block; padding: 14px 0; border-bottom: 1px solid var(--linie); }
	.hauptnav .menu-spenden > a { justify-content: center; margin-top: 16px; border-bottom: 0; }

	.hero__bild { width: 600px; left: auto; right: -200px; top: 120px; transform: none; }
	.hero .container {
		flex-direction: column;
		align-items: stretch;
		gap: 40px;
		min-height: 0;
		padding-top: 40px;
		padding-bottom: 0;
	}
	.hero__kicker { font-size: 14px; }
	.hero h1 { font-size: 40px; }
	.hero p { font-size: 18px; }
	.hero__knoepfe { display: none; }
	.gd-karte {
		width: auto;
		padding: 24px;
		margin-bottom: -170px;
		box-shadow: 0 16px 40px rgba(20, 0, 30, .18);
	}
	.gd-karte__danach { display: none; }
	.gd-karte .gd-karte__mobil-knopf { display: flex !important; }

	.hero + section { padding-top: 210px; }
	.fokus + .startseite-termine { padding-top: 48px; }
	.fokus__karte { grid-template-columns: 1fr; }
	.fokus__bild { min-height: 0; aspect-ratio: 16 / 9; height: auto; }
	.fokus__inhalt { padding: 24px; }
	.fokus__inhalt h2 { font-size: 32px; }
	.fokus__knopf { width: 100%; }
	.abschnitt-kopf h2 { font-size: 32px; }
	.abschnitt-kopf .mehr-link { display: none; }
	.container .abschnitt-fuss { display: block !important; margin-top: 16px; }
	.termin { gap: 16px; }
	.termin__datum { width: 52px; }
	.termin__datum strong { font-size: 26px; }
	.termin__titel { font-size: 18px; }
	.termin__info { font-size: 15px; }
	.termin .badge { display: none; }
	.termin .badge--wichtig { display: inline-block; align-self: flex-start; }
	.termin--wichtig { padding-left: 12px; padding-right: 12px; }

	.emma { padding: 24px; }
	.emma h2 { font-size: 30px; }

	.aktuelles__raster, .kartenreihe, .mitmachen__raster, .archiv-raster { grid-template-columns: 1fr; gap: 24px; }
	.karte--spenden { grid-column: auto; }
	.karte { padding: 24px; }
	.gb-info h2 { font-size: 22px; }
	.gb-archiv { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }

	.seitenkopf .container { padding-top: 40px; padding-bottom: 36px; }
	.seitenkopf h1 { font-size: 36px; }
	.inhalt { padding-top: 40px; padding-bottom: 64px; }
	.text .alignwide { margin-left: 0; margin-right: 0; }
	.unterseiten { grid-template-columns: 1fr; }
	.kontakt { gap: 48px; }
	.kontakt__oben, .buero-karte__raster, .orte, .personen { grid-template-columns: 1fr; gap: 20px; }
	.buero-karte, .seelsorge-karte { padding: 24px; }
	.buero-karte h2, .seelsorge-karte h2 { font-size: 26px; }
	.kontakt__titel { font-size: 30px; }
	.ort { flex-wrap: wrap; padding: 20px; }
	.ort > div { flex-basis: calc(100% - 44px); }
	.ort .mehr-link { margin-left: 44px; }

	.site-footer__spalten { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.site-footer__spalte { overflow-wrap: anywhere; }
	.marke__name { white-space: normal; }
	.site-footer__spalte:first-child { grid-column: span 2; }
	.site-footer__unten { flex-direction: column; align-items: flex-start; }
	.site-footer__unten ul { flex-wrap: wrap; gap: 8px 20px; }
}

.gd-karte__mobil-knopf, .abschnitt-fuss { display: none !important; }

@media (prefers-reduced-motion: reduce) {
	* { scroll-behavior: auto !important; transition: none !important; }
}
