/*
Theme Name: Orchesterverein Hemer
Theme URI: https://orchesterverein-hemer.de
Author: Orchesterverein Hemer
Description: Eigenständiges Theme für den Orchesterverein Hemer (gegr. 1901). Ruhig, gut lesbar, für Handy und Desktop. Lädt nichts von fremden Servern; die Schriften liegen im Theme.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 8.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: orchesterverein-hemer
Tags: musik, verein, veranstaltung, responsive
*/

/* ==========================================================================
   1. Design-Token
   Farben aus dem Vereinslogo: Wappengelb und Schwarz der Stadt Hemer,
   dazu das Bordeaux der Konzertwesten. Viel Papierweiß, wenig Akzent.
   ========================================================================== */

:root {
	--tinte: #17140f;
	--tinte-2: #2c2722;
	--text: #2a251f;
	--text-mild: #625a50;
	--papier: #faf8f4;
	--papier-2: #f2ede4;
	--linie: #e3dcd0;
	--gelb: #fcdd09;
	--gelb-tief: #e2c400;
	--bordeaux: #6e1f2b;
	--bordeaux-hell: #8d2a38;
	--weiss: #ffffff;

	--schrift-titel: "Fraunces", "Iowan Old Style", Georgia, serif;
	--schrift-text: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;

	--breite: 1200px;
	--breite-mittel: 920px;
	--breite-text: 720px;
	--rand: clamp(1rem, 4vw, 2rem);
	--abstand: clamp(4rem, 9vw, 7.5rem);
	--radius: 14px;
	--radius-klein: 8px;
	--schatten: 0 1px 2px rgba(23, 20, 15, .05), 0 12px 32px -12px rgba(23, 20, 15, .18);
	--kopf-hoehe: 76px;
}

/* ==========================================================================
   2. Grundlagen
   ========================================================================== */

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--kopf-hoehe) + 1rem);
}

body {
	margin: 0;
	background: var(--papier);
	color: var(--text);
	font-family: var(--schrift-text);
	font-size: clamp(1.0625rem, .35vw + 1rem, 1.1875rem);
	line-height: 1.65;
	font-optical-sizing: auto;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

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

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--bordeaux); }

:focus-visible { outline: 3px solid var(--gelb-tief); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 {
	font-family: var(--schrift-titel);
	font-weight: 500;
	line-height: 1.12;
	letter-spacing: -.01em;
	color: var(--tinte);
	margin: 0 0 .6em;
	font-variation-settings: "SOFT" 30, "WONK" 0;
}

p { margin: 0 0 1.1em; }

.ovh-sr {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}

.ovh-sprung {
	position: absolute; left: 1rem; top: -100px; z-index: 100;
	background: var(--tinte); color: var(--weiss); padding: .6rem 1rem; border-radius: var(--radius-klein);
}
.ovh-sprung:focus { top: 1rem; color: var(--weiss); }

.ovh-huelle { width: 100%; max-width: calc(var(--breite) + 2 * var(--rand)); margin-inline: auto; padding-inline: var(--rand); }
.ovh-huelle--text { max-width: calc(var(--breite-text) + 2 * var(--rand)); }
.ovh-huelle--mittel { max-width: calc(var(--breite-mittel) + 2 * var(--rand)); }

.ovh-symbol { flex: none; }

/* ==========================================================================
   3. Bausteine: Überzeile, Titel, Knöpfe
   ========================================================================== */

.ovh-ueberzeile {
	display: inline-flex; align-items: center; gap: .6rem;
	font-family: var(--schrift-text);
	font-size: .8125rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
	color: var(--bordeaux);
	margin: 0 0 1rem;
}
.ovh-ueberzeile::before { content: ""; width: 1.75rem; height: 2px; background: currentColor; }

.ovh-titel-gross { font-size: clamp(1.75rem, 2.6vw + 1rem, 2.875rem); max-width: 22ch; }

.ovh-einleitung { font-size: clamp(1.125rem, .5vw + 1rem, 1.3125rem); color: var(--text-mild); max-width: 40ch; }

.ovh-knopfreihe { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.ovh-knopfreihe--mitte { justify-content: center; }

.ovh-knopf {
	display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
	min-height: 3rem; padding: .75rem 1.4rem;
	border-radius: 999px; border: 1.5px solid transparent;
	font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none;
	transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.ovh-knopf:hover { transform: translateY(-1px); }
.ovh-knopf--gelb { background: var(--gelb); color: var(--tinte); }
.ovh-knopf--gelb:hover { background: var(--weiss); color: var(--tinte); }
.ovh-knopf--dunkel { background: var(--tinte); color: var(--weiss); }
.ovh-knopf--dunkel:hover { background: var(--bordeaux); color: var(--weiss); }
.ovh-knopf--hell { background: rgba(255, 255, 255, .12); color: var(--weiss); border-color: rgba(255, 255, 255, .55); backdrop-filter: blur(6px); }
.ovh-knopf--hell:hover { background: var(--weiss); color: var(--tinte); }
.ovh-knopf--rand { border-color: var(--tinte); color: var(--tinte); }
.ovh-knopf--rand:hover { background: var(--tinte); color: var(--weiss); }
.ovh-knopf--rand-hell { border-color: rgba(255, 255, 255, .5); color: var(--weiss); }
.ovh-knopf--rand-hell:hover { background: var(--weiss); color: var(--tinte); }

.ovh-textlink {
	display: inline-flex; align-items: center; gap: .45rem;
	font-weight: 600; text-decoration: none; color: var(--tinte);
	border-bottom: 2px solid var(--gelb); padding-bottom: .15rem;
}
.ovh-textlink .ovh-symbol { transition: transform .2s; }
.ovh-textlink:hover { color: var(--bordeaux); }
.ovh-textlink:hover .ovh-symbol { transform: translateX(3px); }

.ovh-todo {
	background: #fff1a8; color: #5c4a00; padding: .05em .3em; border-radius: 4px;
	box-shadow: inset 0 0 0 1px #e8cf4a; font-weight: 600;
}

/* ==========================================================================
   4. Kopfleiste und Navigation
   ========================================================================== */

.ovh-kopf {
	position: sticky; top: 0; z-index: 50;
	background: rgba(250, 248, 244, .92);
	backdrop-filter: saturate(1.4) blur(12px);
	border-bottom: 1px solid transparent;
	transition: border-color .25s, box-shadow .25s;
}
.ovh-kopf--gerollt { border-bottom-color: var(--linie); box-shadow: 0 6px 24px -18px rgba(23, 20, 15, .5); }
.admin-bar .ovh-kopf { top: 32px; }

.ovh-kopf__inhalt { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: var(--kopf-hoehe); }

.ovh-marke { display: flex; align-items: center; text-decoration: none; flex: none; }
.ovh-marke__logo { height: 46px; width: auto; }
.ovh-marke__text { font-family: var(--schrift-titel); font-size: 1.35rem; color: var(--tinte); }

.ovh-nav { display: flex; align-items: center; gap: 1.75rem; }
.ovh-nav__liste { display: flex; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.ovh-nav__liste a {
	display: block; padding: .5rem .8rem; border-radius: 999px;
	font-weight: 500; font-size: 1rem; text-decoration: none; color: var(--tinte-2);
}
.ovh-nav__liste a:hover { background: var(--papier-2); color: var(--tinte); }
.ovh-nav__liste .current-menu-item > a,
.ovh-nav__liste .current_page_item > a,
.ovh-nav__liste .current_page_parent > a { color: var(--tinte); box-shadow: inset 0 -2px 0 var(--gelb-tief); border-radius: 0; }
.ovh-nav__aktion { min-height: 2.75rem; padding: .6rem 1.2rem; }

.ovh-burger { display: none; }

@media (max-width: 1060px) {
	:root { --kopf-hoehe: 66px; }
	.ovh-marke__logo { height: 38px; }

	.ovh-burger {
		display: inline-flex; align-items: center; justify-content: center;
		width: 46px; height: 46px; border: 0; border-radius: 50%;
		background: var(--tinte); color: var(--weiss); cursor: pointer;
	}
	.ovh-burger__balken, .ovh-burger__balken::before, .ovh-burger__balken::after {
		display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px;
		transition: transform .25s, opacity .25s; position: relative;
	}
	.ovh-burger__balken::before, .ovh-burger__balken::after { content: ""; position: absolute; left: 0; }
	.ovh-burger__balken::before { top: -6px; }
	.ovh-burger__balken::after { top: 6px; }
	.ovh-menue-offen .ovh-burger__balken { background: transparent; }
	.ovh-menue-offen .ovh-burger__balken::before { transform: translateY(6px) rotate(45deg); }
	.ovh-menue-offen .ovh-burger__balken::after { transform: translateY(-6px) rotate(-45deg); }

	.ovh-nav {
		position: fixed; inset: var(--kopf-hoehe) 0 auto 0;
		flex-direction: column; align-items: stretch; gap: 1.25rem;
		padding: 1.25rem var(--rand) 2rem;
		background: var(--papier); border-bottom: 1px solid var(--linie);
		box-shadow: 0 24px 40px -24px rgba(23, 20, 15, .35);
		max-height: calc(100vh - var(--kopf-hoehe)); overflow-y: auto;
		opacity: 0; visibility: hidden; transform: translateY(-8px);
		transition: opacity .2s, transform .2s, visibility .2s;
	}
	.admin-bar .ovh-nav { top: calc(var(--kopf-hoehe) + 46px); }
	.ovh-menue-offen .ovh-nav { opacity: 1; visibility: visible; transform: none; }
	.ovh-nav__liste { flex-direction: column; gap: 0; }
	.ovh-nav__liste a { padding: .9rem .25rem; border-radius: 0; border-bottom: 1px solid var(--linie); font-size: 1.125rem; }
	.ovh-nav__liste .current-menu-item > a,
	.ovh-nav__liste .current_page_item > a { box-shadow: inset 3px 0 0 var(--gelb-tief); padding-left: .9rem; }
	.ovh-nav__aktion { align-self: flex-start; }
}

@media (max-width: 782px) {
	.admin-bar .ovh-kopf { top: 46px; }
}

/* ==========================================================================
   5. Bühne (Startseite)
   Erst der Titel auf Papier, darunter das Gruppenbild ungestört: Schrift
   über einem Gruppenfoto läge immer auf Gesichtern.
   ========================================================================== */

.ovh-huelle--breit { max-width: calc(1400px + 2 * var(--rand)); }

.ovh-buehne { padding-top: clamp(2.5rem, 6vw, 5rem); }
.ovh-buehne__inhalt {
	display: grid; grid-template-columns: 1.35fr 1fr; gap: 1.5rem clamp(2rem, 5vw, 5rem); align-items: end;
	padding-bottom: clamp(2rem, 4vw, 3.25rem);
}
@media (max-width: 900px) { .ovh-buehne__inhalt { grid-template-columns: 1fr; } }
.ovh-buehne__marke {
	display: inline-flex; align-items: center; gap: .75rem;
	margin: 0 0 1.5rem; font-size: .8125rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--text-mild);
}
.ovh-buehne__marke span { background: var(--gelb); color: var(--tinte); padding: .3rem .75rem; border-radius: 999px; letter-spacing: .08em; }
.ovh-buehne__titel {
	font-size: clamp(2.6rem, 5.4vw + .6rem, 6rem);
	font-weight: 400; line-height: 1; letter-spacing: -.02em;
	margin: 0; text-wrap: balance;
}
.ovh-buehne__titel span { display: block; font-style: italic; font-weight: 300; color: var(--bordeaux); }
.ovh-buehne__seite { padding-bottom: .4rem; }
.ovh-buehne__text { font-size: clamp(1.125rem, .6vw + 1rem, 1.375rem); color: var(--text-mild); max-width: 30ch; margin: 0; }
.ovh-buehne__seite .ovh-knopfreihe { margin-top: 1.5rem; }

.ovh-buehne__rahmen { margin: 0; border-radius: calc(var(--radius) + 4px); overflow: hidden; background: var(--papier-2); }
.ovh-buehne__bild { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; object-position: 50% 30%; }
@media (max-width: 700px) {
	.ovh-buehne__rahmen { border-radius: var(--radius); }
	.ovh-buehne__bild { aspect-ratio: 4 / 3; object-position: 58% 30%; }
}

/* Nächstes Konzert: Karte, die in das Bild hineinragt */
.ovh-naechstes { position: relative; z-index: 2; margin-top: clamp(-4.5rem, -5vw, -2rem); }
.ovh-naechstes__karte {
	display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.25rem 2rem;
	background: var(--weiss); border-radius: var(--radius); box-shadow: var(--schatten);
	padding: 1.5rem clamp(1.25rem, 3vw, 2.25rem);
	border: 1px solid var(--linie);
	max-width: 1040px; margin-inline: auto;
}
.ovh-naechstes__datum {
	order: -1;
	display: flex; flex-direction: column; align-items: center; justify-content: center; width: 92px; height: 92px; border-radius: 12px;
	background: var(--tinte); color: var(--weiss); line-height: 1; text-align: center;
}
.ovh-naechstes__tag { font-family: var(--schrift-titel); font-size: 2.4rem; font-weight: 500; }
.ovh-naechstes__monat { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gelb); margin-top: .35rem; }
.ovh-naechstes .ovh-ueberzeile { margin-bottom: .35rem; }
.ovh-naechstes__titel { font-size: clamp(1.4rem, 1.4vw + 1rem, 1.9rem); margin: 0 0 .5rem; }
.ovh-naechstes__angaben { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; margin: 0; color: var(--text-mild); font-size: 1rem; }
.ovh-naechstes__angaben span { display: inline-flex; align-items: center; gap: .45rem; }
.ovh-naechstes__link {
	display: inline-flex; align-items: center; gap: .45rem; white-space: nowrap;
	font-weight: 600; text-decoration: none; padding: .7rem 1.2rem; border-radius: 999px; border: 1.5px solid var(--tinte);
}
.ovh-naechstes__link:hover { background: var(--tinte); color: var(--weiss); }

@media (max-width: 760px) {
	.ovh-naechstes { margin-top: -1.5rem; }
	.ovh-naechstes__karte { grid-template-columns: 1fr; gap: 1rem; margin-inline: .5rem; }
	.ovh-naechstes__datum { flex-direction: row; gap: .5rem; width: max-content; height: auto; padding: .45rem .85rem; border-radius: 999px; }
	.ovh-naechstes__tag { font-size: 1.25rem; }
	.ovh-naechstes__monat { margin-top: 0; }
	.ovh-naechstes__link { justify-self: start; }
	.ovh-naechstes__angaben { flex-direction: column; }
}

/* ==========================================================================
   6. Abschnitte der Startseite
   ========================================================================== */

.ovh-abschnitt { padding-block: var(--abstand); }
.ovh-abschnitt--oben-eng { padding-top: 3rem; }
.ovh-abschnitt__kopf { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 2.5rem; }
.ovh-abschnitt__kopf .ovh-titel-gross { margin: 0; }

.ovh-zweispaltig { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.ovh-zweispaltig--umgekehrt { grid-template-columns: .9fr 1.1fr; }
@media (max-width: 860px) {
	.ovh-zweispaltig, .ovh-zweispaltig--umgekehrt { grid-template-columns: 1fr; }
}

.ovh-wir__bild, .ovh-probe__bild { margin: 0; }
.ovh-wir__bild img, .ovh-probe__bild img {
	width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius);
}
.ovh-wir__bild { position: relative; }
.ovh-wir__bild::after {
	content: ""; position: absolute; right: -14px; bottom: -14px; width: 42%; height: 42%;
	border-right: 3px solid var(--gelb); border-bottom: 3px solid var(--gelb); border-radius: 0 0 var(--radius) 0; z-index: -1;
}
@media (max-width: 860px) {
	.ovh-wir__bild img, .ovh-probe__bild img { aspect-ratio: 4 / 3; }
	.ovh-wir__bild::after { right: -8px; bottom: -8px; }
}

.ovh-fakten {
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
	margin: 2.25rem 0 2.25rem; padding: 1.5rem 0; border-block: 1px solid var(--linie);
}
.ovh-fakten div { margin: 0; }
.ovh-fakten dt { font-size: .8125rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-mild); font-weight: 600; }
.ovh-fakten dd { margin: .25rem 0 0; font-family: var(--schrift-titel); font-size: clamp(1.35rem, 1.5vw + .8rem, 2rem); color: var(--tinte); line-height: 1.15; }
@media (max-width: 480px) {
	.ovh-fakten { grid-template-columns: 1fr 1fr; }
}

/* Repertoire */
.ovh-repertoire { background: var(--papier-2); }
.ovh-repertoire__kopf .ovh-titel-gross { max-width: 26ch; }
.ovh-repertoire__hinweis { color: var(--text-mild); font-size: .95rem; margin: 2rem 0 1rem; }
.ovh-stuecke { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.ovh-stuecke li {
	font-family: var(--schrift-titel); font-style: italic; font-size: clamp(1.05rem, .5vw + .95rem, 1.3rem);
	padding: .45rem 1.05rem; border-radius: 999px; background: var(--weiss); border: 1px solid var(--linie); color: var(--tinte-2);
}

/* Drei Wege */
.ovh-wege__raster { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.5vw, 2rem); }
@media (max-width: 900px) { .ovh-wege__raster { grid-template-columns: 1fr; } }
.ovh-weg {
	display: flex; flex-direction: column; text-decoration: none; color: inherit;
	background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius); overflow: hidden;
	transition: transform .25s, box-shadow .25s;
}
.ovh-weg:hover { transform: translateY(-4px); box-shadow: var(--schatten); color: inherit; }
.ovh-weg__bild { display: block; overflow: hidden; aspect-ratio: 4 / 3; }
.ovh-weg__bild img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.ovh-weg:hover .ovh-weg__bild img { transform: scale(1.04); }
.ovh-weg__text { display: flex; flex-direction: column; gap: .5rem; padding: 1.5rem 1.5rem 1.75rem; flex: 1; }
.ovh-weg__titel { font-family: var(--schrift-titel); font-size: 1.6rem; color: var(--tinte); line-height: 1.15; }
.ovh-weg__beschreibung { color: var(--text-mild); flex: 1; }
.ovh-weg__link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; color: var(--bordeaux); margin-top: .5rem; }

/* Probe (dunkel) */
.ovh-probe { background: var(--tinte); color: rgba(255, 255, 255, .86); }
.ovh-probe .ovh-titel-gross { color: var(--weiss); }
.ovh-probe .ovh-ueberzeile { color: var(--gelb); }
.ovh-infoliste { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1.25rem; }
.ovh-infoliste li { display: flex; gap: 1rem; align-items: flex-start; font-size: 1.125rem; }
.ovh-infoliste .ovh-symbol { color: var(--gelb); margin-top: .2rem; }
.ovh-infoliste strong { color: var(--weiss); font-weight: 600; }

/* Karten (Aktuelles) */
.ovh-karten { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.5vw, 2rem); }
@media (max-width: 900px) { .ovh-karten { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .ovh-karten { grid-template-columns: 1fr; } }
.ovh-karte { margin: 0; }
.ovh-karte__link { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; }
.ovh-karte__link:hover { color: inherit; }
.ovh-karte__bild { display: block; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--papier-2); }
.ovh-karte__bild img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.ovh-karte__link:hover .ovh-karte__bild img { transform: scale(1.04); }
.ovh-karte__text { display: flex; flex-direction: column; gap: .4rem; padding-top: 1.1rem; }
.ovh-karte__datum { font-size: .8125rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; color: var(--bordeaux); }
.ovh-karte__titel { font-family: var(--schrift-titel); font-size: 1.4rem; line-height: 1.2; color: var(--tinte); }
.ovh-karte__link:hover .ovh-karte__titel { text-decoration: underline; text-decoration-color: var(--gelb-tief); text-decoration-thickness: 2px; }
.ovh-karte__auszug { color: var(--text-mild); font-size: 1rem; }

/* Schluss */
.ovh-schluss { border-top: 1px solid var(--linie); }
.ovh-schluss__inhalt { text-align: center; display: flex; flex-direction: column; align-items: center; }
.ovh-schluss .ovh-einleitung { margin-inline: auto; }
.ovh-schluss .ovh-knopfreihe { margin-top: 1rem; }

/* ==========================================================================
   7. Unterseiten
   ========================================================================== */

.ovh-seitenkopf { padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(2rem, 4vw, 3rem); border-bottom: 1px solid var(--linie); margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.ovh-seitenkopf__titel { font-size: clamp(2.25rem, 4vw + 1rem, 4rem); margin: 0; max-width: 20ch; text-wrap: balance; }

.ovh-seitenkopf--bild {
	position: relative; isolation: isolate; overflow: hidden;
	min-height: clamp(320px, 52vh, 520px); display: flex; align-items: flex-end;
	border-bottom: 0; background: var(--tinte);
}
.ovh-seitenkopf__bild { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.ovh-seitenkopf__schleier { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(23, 20, 15, .05) 30%, rgba(23, 20, 15, .78) 100%); }
.ovh-seitenkopf--bild .ovh-seitenkopf__titel { color: var(--weiss); }
@media (max-width: 700px) { .ovh-seitenkopf--bild { min-height: 300px; } }
.ovh-seitenkopf--bild .ovh-ueberzeile { color: var(--gelb); }

/* Fließtext aus dem Editor */
.ovh-inhalt { padding-bottom: var(--abstand); }
.ovh-inhalt--einleitung { padding-bottom: 1rem; }
.ovh-inhalt > *:first-child { margin-top: 0; }
.ovh-inhalt h2 { font-size: clamp(1.6rem, 1.5vw + 1rem, 2.2rem); margin-top: 2.5em; }
.ovh-inhalt h3 { font-size: clamp(1.25rem, .8vw + 1rem, 1.5rem); margin-top: 2em; }
.ovh-inhalt h4 { font-family: var(--schrift-text); font-weight: 700; font-size: 1.05rem; letter-spacing: 0; margin-top: 1.8em; }
.ovh-inhalt ul, .ovh-inhalt ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.ovh-inhalt li { margin-bottom: .35em; }
.ovh-inhalt li::marker { color: var(--bordeaux); }
.ovh-inhalt a { color: var(--bordeaux); }
.ovh-inhalt strong { color: var(--tinte); }
.ovh-inhalt .is-style-lead, .ovh-inhalt .ovh-lead { font-family: var(--schrift-titel); font-size: clamp(1.35rem, 1vw + 1.05rem, 1.75rem); color: var(--tinte); line-height: 1.4; letter-spacing: -.005em; margin-bottom: 1.4em; }
.ovh-inhalt figure { margin: 2.5rem 0; }
.ovh-inhalt figure img { border-radius: var(--radius); width: 100%; max-height: 560px; object-fit: cover; }
.ovh-inhalt figcaption { font-size: .9rem; color: var(--text-mild); margin-top: .6rem; }
.ovh-inhalt .wp-block-image.alignwide, .ovh-inhalt .alignwide { margin-inline: calc(-1 * min(8vw, 120px)); max-width: none; }
@media (max-width: 900px) { .ovh-inhalt .alignwide { margin-inline: 0; } }
.ovh-inhalt .wp-block-columns { display: flex; flex-wrap: wrap; gap: 1.5rem; margin: 2rem 0; }
.ovh-inhalt .wp-block-column { flex: 1 1 260px; min-width: 0; }
.ovh-inhalt hr { border: 0; height: 1px; background: var(--linie); margin: 3rem 0; }
.ovh-inhalt .wp-block-buttons { display: flex; flex-wrap: wrap; gap: .75rem; margin: 2rem 0; }
.ovh-inhalt .wp-block-button__link {
	display: inline-flex; align-items: center; min-height: 3rem; padding: .75rem 1.4rem; border-radius: 999px;
	background: var(--tinte); color: var(--weiss); font-weight: 600; text-decoration: none;
}
.ovh-inhalt .wp-block-button__link:hover { background: var(--bordeaux); color: var(--weiss); }
.ovh-inhalt .is-style-outline .wp-block-button__link { background: transparent; color: var(--tinte); border: 1.5px solid var(--tinte); }

/* Infokasten (im Editor als Gruppe mit Klasse ovh-kasten) */
.ovh-inhalt .ovh-kasten {
	background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius);
	padding: clamp(1.25rem, 3vw, 2rem); margin: 2rem 0;
}
.ovh-inhalt .ovh-kasten > *:last-child { margin-bottom: 0; }
.ovh-inhalt .ovh-kasten .wp-block-buttons { margin: 1.25rem 0 0; }
.ovh-inhalt .wp-block-column > .ovh-kasten { margin: 0; height: 100%; }
.ovh-inhalt .wp-block-columns:has(.ovh-kasten) { gap: 1rem; align-items: stretch; }
.ovh-inhalt .ovh-kasten h3 { margin-top: 0; }
.ovh-inhalt .ovh-kasten--dunkel { background: var(--tinte); border-color: var(--tinte); color: rgba(255, 255, 255, .86); }
.ovh-inhalt .ovh-kasten--dunkel h2, .ovh-inhalt .ovh-kasten--dunkel h3, .ovh-inhalt .ovh-kasten--dunkel strong { color: var(--weiss); }
.ovh-inhalt .ovh-kasten--dunkel a { color: var(--gelb); }
.ovh-inhalt .ovh-kasten--dunkel .wp-block-button__link { background: var(--gelb); color: var(--tinte); }

/* Rechtstexte: kleinere Überschriften, kompakter */
.ovh-inhalt--recht h2 { font-size: 1.5rem; }
.ovh-inhalt--recht h3 { font-size: 1.2rem; }

.ovh-beitragsbild { margin: 0 0 2.5rem; }
.ovh-beitragsbild img { width: 100%; max-height: 620px; object-fit: cover; border-radius: var(--radius); }

.ovh-zurueck { padding-bottom: var(--abstand); margin-top: -2rem; }

/* ==========================================================================
   8. Termine
   ========================================================================== */

.ovh-terminliste { margin-bottom: 4rem; }
.ovh-terminliste__titel { font-size: clamp(1.5rem, 1.2vw + 1rem, 2rem); margin-bottom: 1.25rem; }
.ovh-terminliste:last-child { padding-bottom: var(--abstand); margin-bottom: 0; }

.ovh-termin {
	display: grid; grid-template-columns: 96px 1fr; gap: 1.5rem; align-items: start;
	padding: 1.5rem; margin-bottom: 1rem;
	background: var(--weiss); border: 1px solid var(--linie); border-radius: var(--radius);
}
.ovh-termin__datum {
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	height: 96px; border-radius: 12px; background: var(--tinte); color: var(--weiss); line-height: 1;
}
.ovh-termin__tag { font-family: var(--schrift-titel); font-size: 2.4rem; font-weight: 500; }
.ovh-termin__monat { margin-top: .35rem; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gelb); }
.ovh-termin__titel { font-size: clamp(1.3rem, .8vw + 1rem, 1.65rem); margin: .15rem 0 .6rem; }
.ovh-termin__angaben { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .35rem 1.4rem; color: var(--text-mild); font-size: 1rem; }
.ovh-termin__angaben li { display: inline-flex; align-items: center; gap: .45rem; }
.ovh-termin__beschreibung { margin-top: .8rem; }
.ovh-termin__beschreibung p:last-child { margin-bottom: 0; }


@media (max-width: 560px) {
	.ovh-termin { grid-template-columns: 1fr; padding: 1.25rem; gap: 1rem; }
	.ovh-termin__datum { flex-direction: row; justify-content: flex-start; gap: .6rem; height: auto; padding: .55rem .9rem; width: max-content; }
	.ovh-termin__tag { font-size: 1.5rem; }
	.ovh-termin__monat { margin-top: 0; }
	.ovh-termin__angaben { flex-direction: column; }
}

.ovh-leer { color: var(--text-mild); }

/* ==========================================================================
   9. Fußzeile
   ========================================================================== */

.ovh-fuss { background: var(--tinte); color: rgba(255, 255, 255, .72); padding-top: clamp(3.5rem, 7vw, 5.5rem); font-size: 1rem; }
.ovh-fuss a { color: rgba(255, 255, 255, .9); text-decoration: none; }
.ovh-fuss a:hover { color: var(--gelb); }
.ovh-fuss__raster { display: grid; grid-template-columns: 1.3fr 1fr 1fr .8fr; gap: 2.5rem; padding-bottom: 3rem; }
@media (max-width: 900px) { .ovh-fuss__raster { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .ovh-fuss__raster { grid-template-columns: 1fr; gap: 2rem; } }
.ovh-fuss__wappen { width: 56px; height: auto; margin-bottom: 1rem; }
.ovh-fuss__name { font-family: var(--schrift-titel); font-size: 1.5rem; color: var(--weiss); margin: 0 0 .25rem; }
.ovh-fuss__spruch { margin: 0; }
.ovh-fuss__titel { font-family: var(--schrift-text); font-size: .8125rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gelb); margin-bottom: 1rem; }
.ovh-fuss__liste { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.ovh-fuss__sozial { display: inline-flex; align-items: center; gap: .5rem; }
.ovh-fuss__unten {
	display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem;
	border-top: 1px solid rgba(255, 255, 255, .12); padding-block: 1.5rem; font-size: .875rem; color: rgba(255, 255, 255, .5);
}

/* ==========================================================================
   10. WordPress-Pflichtklassen und Seitennavigation
   ========================================================================== */

.alignleft { float: left; margin: .3rem 1.5rem 1rem 0; }
.alignright { float: right; margin: .3rem 0 1rem 1.5rem; }
.aligncenter { margin-inline: auto; }
.wp-caption-text, .gallery-caption { font-size: .9rem; color: var(--text-mild); }
.sticky, .bypostauthor { }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); }

.navigation.pagination { margin-top: 3rem; }
.nav-links { display: flex; gap: .5rem; flex-wrap: wrap; }
.page-numbers { display: inline-flex; min-width: 2.75rem; height: 2.75rem; align-items: center; justify-content: center; padding: 0 .9rem; border-radius: 999px; border: 1px solid var(--linie); text-decoration: none; }
.page-numbers.current { background: var(--tinte); color: var(--weiss); border-color: var(--tinte); }

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