/*
Theme Name:   Fonse
Theme URI:    https://www.fonse-doppelhammer.de
Description:  Nachbau der bisherigen Seite (Divi) ohne Page-Builder: linke Menüleiste mit Farbstreifen, Steinhintergrund, weiße Kästen. Arbeitet mit dem Plugin „Fonse Core“ (Termine, Programme, Formulare).
Author:       Ettmüller
Version:      3.2.0
Requires at least: 6.4
Requires PHP: 7.4
License:      GPLv2 or later
Text Domain:  fonse
*/

/* Maße und Farben sind von der bisherigen Seite übernommen (Divi-Einstellungen + Zusatz-CSS). */

:root {
	--blau: #0f98d6;
	--blau-dunkel: #0c7fb3;
	--text: #666;
	--dunkel: #141827;
	--linie: #d5d5d5;
	--weiss: #fff;
	--leiste: 300px;
	--schrift: "Roboto", Helvetica, Arial, Lucida, sans-serif;
}

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

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

body {
	margin: 0;
	font-family: var(--schrift);
	font-size: 17px;
	line-height: 1.7;
	font-weight: 400;
	color: var(--text);
	background-color: #cfcbc4;
	background-size: cover;
	background-position: center;
	background-attachment: fixed;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

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

a { color: var(--blau); text-decoration: none; }
a:hover { text-decoration: none; }

p { margin: 0; padding-bottom: 1em; }
p:last-of-type { padding-bottom: 0; }

h1, h2, h3, h4, h5, h6 {
	color: var(--blau);
	font-weight: 700;
	line-height: 1em;
	text-transform: uppercase;
	margin: 0;
	padding-bottom: 10px;
}
h1 { font-size: 38px; }
h2 { font-size: 28px; }
h3 { font-size: 24px; }
h4 { font-size: 20px; }

:focus-visible { outline: 2px solid var(--blau); outline-offset: 2px; }

.screen-reader-text,
.skip-link:not(:focus) {
	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: 10000; background: #fff; padding: 10px 16px; }

/* ================================================================ Grundraster (wie Divi) */

.main-area {
	min-height: 100vh;
	display: flex;
	flex-direction: column;
}
.site-main { flex: 1; outline: none; }

.sektion { padding: 4% 0; }
@media (min-width: 1350px) { .sektion { padding: 54px 0; } }
@media (max-width: 980px) { .sektion { padding: 50px 0; } }

.sektion--titel { padding-bottom: 0; }

.reihe {
	width: 80%;
	max-width: 1080px;
	margin: 0 auto;
}

.kasten {
	background: var(--weiss);
	border-radius: 10px;
	padding: 45px;
}

.seitentitel { padding-bottom: 10px; margin-bottom: 16px; line-height: 1em; overflow-wrap: break-word; }
.seitentitel--modul { font-size: 40px; margin-bottom: 2.75%; }

.reihe--titel { padding: 45px; }
.titel-hell { color: var(--weiss); font-size: 40px; text-shadow: 0 0.08em 0.08em rgba(0, 0, 0, .4); }

.inhalt h1 { font-size: 38px; margin-bottom: 16px; }
.inhalt h2 { font-size: 28px; }
.inhalt h3 { font-size: 24px; }
.inhalt p + h2, .inhalt p + h3 { margin-top: 0; }
.inhalt ul, .inhalt ol { margin: 0 0 1em; padding-left: 1.2em; }
.inhalt table { border-collapse: collapse; width: 100%; margin-bottom: 1em; }
.inhalt td, .inhalt th { border: 1px solid #eee; padding: 6px 10px; text-align: left; }
.inhalt img { margin: 0.5em 0; }

/* ================================================================ Buttons (Divi-Standard der Seite) */

.fonse-btn {
	display: inline-block;
	font-size: 20px;
	font-weight: 500;
	line-height: 1.7em;
	padding: 6px 20px;
	color: var(--weiss);
	background: var(--blau);
	border: 2px solid var(--blau);
	border-radius: 3px;
	transition: all .3s ease;
	cursor: pointer;
}
.fonse-btn:hover { background: rgba(15, 152, 214, .85); border-color: transparent; }
.fonse-btn--aus, .fonse-btn--aus:hover { background: #bbb; border-color: #bbb; cursor: default; }

/* ================================================================ Linke Menüleiste (Desktop) */

.site-logo { display: block; }
.site-logo img { width: 100%; height: auto; }
.site-logo__text { display: block; font-weight: 900; font-size: 24px; line-height: 1.1; color: var(--weiss); text-transform: uppercase; text-shadow: 0 1px 3px rgba(0,0,0,.4); }

.leftmenu__liste,
.mobil-menu__liste { list-style: none; margin: 0; padding: 0; }

.leftmenu__liste > li {
	width: 100%;
	margin: 10px 0;
	padding: 0 11px 0 20%;
	background-color: transparent;
	background-size: 100% 100%;
	background-repeat: no-repeat;
	transition: filter .2s;
}
.leftmenu__liste > li.streifen-1, .mobil-menu__liste > li.streifen-1 { background-image: var(--fonse-streifen-1, none); }
.leftmenu__liste > li.streifen-2, .mobil-menu__liste > li.streifen-2 { background-image: var(--fonse-streifen-2, none); }
.leftmenu__liste > li.streifen-3, .mobil-menu__liste > li.streifen-3 { background-image: var(--fonse-streifen-3, none); }
.leftmenu__liste > li.streifen-4, .mobil-menu__liste > li.streifen-4 { background-image: var(--fonse-streifen-4, none); }
.leftmenu__liste > li:hover { filter: grayscale(50%); }
.leftmenu__liste > li > a {
	display: block;
	padding: 9px;
	color: var(--weiss);
	font-size: 18px;
	font-weight: 700;
	line-height: 36px;
	letter-spacing: 1px;
	text-transform: uppercase;
}

/* Social Media rechts (Desktop) */
.social-links { list-style: none; margin: 0; padding: 0; display: flex; }
.social-links li { margin: 0; }
.social {
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	color: var(--weiss);
	transition: opacity .2s;
}
.social:hover { opacity: .75; }
.social svg { width: 18px; height: 18px; }
.social-fix {
	position: fixed;
	right: 8px;
	top: 14%;
	z-index: 998;
	flex-direction: column;
	gap: 8px;
}

/* Footer */
.site-footer {
	padding: 20px 28.8px;
	text-align: right;
	color: var(--weiss);
}
.footer-nav {
	list-style: none;
	margin: 8px 0 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	column-gap: 22px;
}
.footer-nav a {
	display: block;
	padding-bottom: 8px;
	color: var(--weiss);
	font-size: 16px;
	line-height: 14px;
	text-transform: uppercase;
	text-shadow: 0 1.6px 1.6px rgba(0, 0, 0, .4);
}
.footer-nav a:hover { opacity: .8; }
.site-footer__text { padding: 0; font-size: 17px; line-height: 1.7; text-shadow: 0 1.6px 1.6px rgba(0, 0, 0, .4); }

/* Mobile Kopfleiste */
.mobile-bar { display: none; }

@media (min-width: 981px) {
	.leftmenu {
		position: fixed;
		top: 0;
		left: 0;
		width: var(--leiste);
		height: 100vh;
		z-index: 999;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: flex-start;
		/* gleicher Abstand nach oben wie im Original (dort verteilt zusammen mit dem Shop-Knopf) */
		padding-top: max(20px, calc((100vh - 629px) / 3));
		overflow-y: auto;
	}
	.leftmenu__inner { width: 80%; }
	.leftmenu__logo { padding: 8px; margin-bottom: 27px; }
	.leftmenu__liste { display: flex; flex-direction: column; }
	.main-area { margin-left: var(--leiste); }
}

@media (min-width: 981px) and (max-height: 730px) {
	.leftmenu { justify-content: flex-start; padding: 0 20px 20px; }
	.leftmenu__logo { margin-bottom: 0; }
	.leftmenu__liste > li > a { padding: 7px 9px; }
}

@media (max-width: 980px) {
	.leftmenu, .social-fix { display: none; }

	.mobile-bar {
		display: flex;
		align-items: flex-start;
		justify-content: space-between;
		position: sticky;
		top: 0;
		z-index: 1000;
		padding: 8px;
		background: var(--weiss);
		box-shadow: 0 2px 5px rgba(0, 0, 0, .1);
	}
	.mobile-bar__logo { width: 54px; height: 54px; }
	.mobile-bar__logo img { width: 54px; height: 54px; object-fit: contain; }
	.mobile-bar__logo .site-logo__text { color: var(--blau); text-shadow: none; font-size: 15px; width: 160px; }
	.mobile-bar__rechts { display: flex; flex-direction: column; align-items: flex-end; }
	.menu-toggle { background: none; border: 0; padding: 0; color: var(--blau); cursor: pointer; line-height: 0; }
	.menu-toggle svg { width: 30px; height: 30px; }
	.menu-toggle__close { display: none; }
	.menu-offen .menu-toggle__open { display: none; }
	.menu-offen .menu-toggle__close { display: inline; }
	.mobile-bar__social { margin-top: 6px; gap: 8px; }
	.mobile-bar__social .social { color: #666; width: 32px; height: 30px; }
	.mobile-bar__social .social svg { width: 20px; height: 20px; }

	.mobil-menu {
		display: none;
		position: absolute;
		top: 100%;
		right: 8px;
		width: 240px;
		padding: 20px;
		background: var(--weiss);
		border-top: 3px solid var(--blau);
		box-shadow: 0 2px 5px rgba(0, 0, 0, .1);
	}
	.menu-offen .mobil-menu { display: block; }
	.mobil-menu__liste > li { background-color: transparent; background-size: 100% 100%; background-repeat: no-repeat; }
	.mobil-menu__liste > li > a {
		display: block;
		padding: 10px 5% 10px 25%;
		color: var(--weiss);
		font-size: 17px;
		line-height: 27px;
		border-bottom: 1px solid rgba(0, 0, 0, .03);
	}

	.sektion { padding: 50px 0; }
	.site-footer { padding: 20px 8px; }
	.footer-nav { row-gap: 16px; }
	.footer-nav a { padding-bottom: 0; }
	.site-footer__text { margin-top: 12px; }
}

@media (max-width: 767px) {
	.reihe { width: 94%; }
	.kasten:has(.fonse-form) { width: 95%; padding: 27px; }
	.seite-datenschutzerklaerung .kasten { padding: 27px; }
	.titel-hell { font-size: 40px; }
}

/* ================================================================ Startseite */

.start__bild img { width: 100%; max-width: 670px; margin: 0 auto; }

.cta {
	background: var(--weiss);
	border-radius: 10px;
	padding: 40px 60px;
	text-align: center;
}
.cta__titel { font-size: 34px; line-height: 1em; padding-bottom: 10px; }
.cta__inhalt { text-align: left; margin-bottom: 25px; }
.cta--start .cta__btn { margin-top: 45px; }
.cta__btn { margin-top: 20px; }
.start .cta { margin-top: 0; }
.start__text { margin-top: 30px; }

/* kompakte Terminliste (wie „Events Shortcodes – Minimal List“) */
.kl-termin {
	display: flex;
	align-items: flex-start;
	margin: 5px 0 20px;
	border-bottom: 1px solid rgba(0, 0, 0, .125);
}
.kl-datum {
	flex: 0 0 117px;
	margin-right: 15px;
	display: flex;
	flex-direction: column;
	align-items: center;
	color: var(--blau);
	text-transform: uppercase;
}
.kl-datum__tag { font-size: 24px; font-weight: 700; line-height: 28.9px; margin-bottom: 4px; }
.kl-datum__monat { font-size: 17px; line-height: 28.9px; padding-bottom: 5px; }
.kl-rechts { flex: 1; min-width: 0; padding-top: 4px; }
.kl-titel { display: block; padding-top: 10px; font-size: 20px; font-weight: 700; line-height: 23px; }
.kl-titel a { color: #383838; font-size: 18px; font-weight: 400; line-height: 27px; }
.kl-titel a:hover { color: var(--blau); }
.kl-ort { display: flex; align-items: flex-start; font-size: 15px; font-weight: 300; line-height: 22.5px; color: #a5a5a5; }
.kl-ort svg { flex: 0 0 21px; width: 14px; height: 14px; margin-top: 4px; padding-right: 7px; box-sizing: content-box; width: 14px; }
.kl-leer { text-align: center; }

@media (max-width: 980px) {
	.cta { padding: 40px; }
	.cta__titel { font-size: 34px; }
	.kl-datum { flex-basis: 50px; margin-right: 14px; }
}

/* ================================================================ Termine (Liste) */

.termine-seite { max-width: 1260px; margin: 0 auto; padding: 96px 42px 54px; }
.tl-liste {
	max-width: 97%;
	background: var(--weiss);
	padding: 5vh;
	border-radius: 10px;
	color: var(--dunkel);
	font-size: 14px;
	line-height: 1.62;
	container-type: inline-size;
}
.tl-leer { font-size: 17px; color: var(--text); }

.tl-monat {
	display: flex;
	align-items: center;
	margin: 0;
	padding: 0;
	font-size: 25px;
	line-height: 1.62;
	text-transform: uppercase;
	color: var(--blau);
}
.tl-monat::after { content: ""; flex: 1; height: 1px; margin-left: 20px; background: var(--linie); }
.tl-monat { min-height: 41px; }
.tl-monat__text { flex: 0 0 auto; line-height: 29px; }
.tl-monat + .tl-termin { margin-top: 40px; }

.tl-termin {
	display: flex;
	margin: 40px 0;
}
.tl-termin + .tl-termin { margin-top: 48px; }
.tl-termin:last-child { margin-bottom: 0; }
.tl-termin + .tl-monat { margin-top: 0; }

.tl-datum { flex: 0 0 61px; padding-top: 4px; }
.tl-datum time { display: block; text-align: center; color: var(--weiss); }
.tl-datum__wt {
	display: block;
	background: var(--blau);
	border-radius: 10px 10px 0 0;
	padding-top: 1vh;
	margin-bottom: -4px;
	font-size: 16px;
	line-height: 1.5;
	text-transform: uppercase;
}
.tl-datum__tag {
	display: block;
	background: var(--blau);
	border-radius: 0 0 10px 10px;
	padding-bottom: 1vh;
	font-size: 24px;
	font-weight: 700;
	line-height: 1.42;
}

/* Spaltenaufteilung wie The Events Calendar: Datum 11,1 %, Details 62,5 % der Ereignisspalte */
.tl-rechts { flex: 1; min-width: 0; display: flex; padding-left: max(0px, calc(11.111cqw - 79.67px)); }
.tl-details {
	flex: 0 0 calc(55.556cqw + 26.67px);
	min-width: 0;
	padding: 1vh 24px;
	border-top: 1px solid var(--linie);
	border-bottom: 1px solid var(--linie);
}
.tl-titel {
	margin: 8px 0 0;
	padding: 0;
	font-size: 24px;
	line-height: 1.42;
	text-transform: none;
	word-break: break-word;
}
.tl-titel a { color: var(--blau); font-weight: 700; border-bottom: 1px solid transparent; }
.tl-titel a:hover { border-bottom-color: var(--blau); }
.tl-ort { margin-top: 12px; font-style: normal; }
.tl-ort__name { font-weight: 700; }
.tl-umgebung { margin: 4px 0 0; padding: 0; font-size: 12px; color: #8a8a8a; }
.tl-text { margin-top: 16px; }
.tl-text p { padding-bottom: 0; }
.tl-text p + p { margin-top: 0; }
.tl-text a { color: var(--blau); font-weight: 700; }
.tl-text a:hover { border-bottom: 1px solid var(--blau); }
.tl-bild { flex: 0 0 265px; padding: 0 24px; }
.tl-bild__img { width: 217px; height: 100%; max-height: 310px; object-fit: cover; }

@media (max-width: 980px) {
	.termine-seite { padding: 50px 0; }
	.tl-liste { max-width: none; width: 92%; margin: 0 auto; padding: 42px; }
}
@media (max-width: 767px) {
	.tl-liste { width: auto; margin: 0 30px 0 20px; padding: 5vh 45px; }
	.tl-monat + .tl-termin { margin-top: 21px; }
	.tl-termin + .tl-termin { margin-top: 28px; }
}
/* mittlere Breite: Bild über den Details */
@media (min-width: 768px) and (max-width: 959px), (min-width: 1068px) and (max-width: 1259px) {
	.tl-rechts { flex-direction: column-reverse; padding-left: 5px; }
	.tl-details { flex: 0 0 auto; width: calc(55.556cqw + 26.67px); }
	.tl-bild { flex: 0 0 auto; }
	.tl-bild__img { height: auto; }
}
/* schmal: Bild volle Breite, kleinere Schrift */
@media (min-width: 981px) and (max-width: 1067px) {
	.termine-seite { padding: 44px 20px 54px; }
}
@media (max-width: 767px), (min-width: 981px) and (max-width: 1067px) {
	.tl-datum { flex-basis: 44px; margin-right: 10px; }
	.tl-datum__wt { font-size: 15px; }
	.tl-datum__tag { font-size: 18px; }
	.tl-rechts { flex-direction: column-reverse; padding-left: 0; }
	.tl-bild { padding: 0 0 16px; flex-basis: auto; }
	.tl-bild__img { width: 100%; height: auto; max-height: none; }
	.tl-details { flex-basis: auto; padding: 1vh 21px; margin: 0 -21px; }
	.tl-titel { font-size: 16px; line-height: 1.6; }
	.tl-ort, .tl-text { font-size: 12px; line-height: 1.4; margin-top: 8px; }
	.tl-ort { margin-top: 5px; }
	.tl-termin { flex-wrap: nowrap; }
}

/* ================================================================ Einzelner Termin */

/* wie The Events Calendar: Rahmen 1080px, 50px oben, 52px seitlich */
.sektion--termin { padding: 50px 0 54px; }
.termin-einzeln {
	max-width: 976px;
	width: calc(100% - 104px);
	margin: 52px auto 0;
	padding: 45px 45px 34px;
	background: var(--weiss);
	border-radius: 10px;
	position: relative;
}
.te-zurueck { padding-bottom: 0; margin: 0 0 41px; }
.te-zurueck a { color: var(--dunkel); font-weight: 700; font-size: 16px; }
.te-zurueck a:hover { color: var(--blau); }
.te-hinweis { padding: 0 0 12px; margin-bottom: 20px; border-bottom: 1px solid #e4e4e4; font-size: 17px; }
.te-titel { font-size: 34px; line-height: 1.3; text-transform: none; padding: 0; margin: 0 0 24px; }
.te-wann { font-size: 17px; padding: 0 0 31px; margin-bottom: 0; border-bottom: 1px solid #e4e4e4; }
.te-inhalt {
	display: flex;
	gap: 48px;
	padding-top: 0;
	color: var(--dunkel);
	font-size: 14px;
	line-height: 1.6;
}
.te-bild { flex: 0 0 22%; }
.te-bild img { width: 100%; }
.te-meta { padding-top: 32px; }
.te-meta__titel { font-size: 14px; letter-spacing: 1px; color: var(--dunkel); padding: 0; margin: 0 0 18px; line-height: 1.6; }
.te-meta dl { margin: 0; }
.te-meta dt { font-weight: 700; margin: 0 0 8px; }
.te-meta dd { margin: 0 0 8px; }
.te-meta abbr { text-decoration: underline dotted; cursor: default; }
.te-ort { margin-bottom: 4px !important; }
.te-karte { font-size: 14px; }
.te-tickets {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 6px;
	margin-top: 64px;
	margin-left: auto;
	width: fit-content;
	max-width: 100%;
	padding-top: 8px;
	border-top: 1px solid #e4e4e4;
}
.te-tickets__btn {
	display: inline-block;
	background: var(--blau);
	color: var(--weiss);
	padding: 12px 24px;
	border-radius: 6px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: .5px;
	transition: background-color .25s ease, transform .15s ease, box-shadow .15s ease;
}
.te-tickets__btn:hover { background: var(--blau-dunkel); color: var(--weiss); transform: translateY(-2px); box-shadow: 0 6px 14px rgba(15, 152, 214, .35); }
.te-tickets__btn.fonse-btn--aus { background: #bbb; }
.te-tickets__zeit { font-size: 17px; }
.te-info { margin-top: 30px; }
.te-umgebung { margin-top: 10px; font-size: 13px; color: #8a8a8a; }

@media (max-width: 980px) {
	.termin-einzeln { width: calc(100% - 16px); margin-top: 8px; padding: 2vh; }
	.te-inhalt { flex-direction: column; gap: 0; }
	.te-bild { flex-basis: auto; padding-top: 24px; padding-bottom: 40px; border-bottom: 1px solid #e4e4e4; }
	.te-tickets { margin: 24px 0 0; width: 100%; justify-content: flex-start; }
}

/* ================================================================ Programm */

.programm-breit { display: none; }
.programm-schmal { display: block; }

.pg-kasten {
	background: var(--weiss);
	border-radius: 10px;
	padding: 45px;
}
.pg-schriftzug { margin: 0 auto 15px; max-width: 100%; }
.pg-name { text-align: center; font-size: 34px; }
.pg-text { margin-top: 15px; }

.pg-reihe-schmal { width: 70%; max-width: 1080px; margin: 0 auto 54px; }
.pg-flyer-schmal .pg-flyer { width: min(248px, 33%); margin: 0 auto 30px; }
.pg-reihe-schmal .pg-schriftzug { width: min(425px, 58%); margin-bottom: 30px; }
.pg-reihe-schmal .cta { padding: 40px 60px 0; }

@media (min-width: 1536px) {
	.programm-breit { display: block; }
	.programm-schmal { display: none; }
	.pg-reihe {
		width: 80%;
		max-width: 1134px;
		margin: 0 auto 54px;
		display: flex;
		gap: 5.5%;
		align-items: flex-start;
	}
	.pg-spalte--klein { flex: 0 0 29.6667%; }
	.pg-spalte--gross { flex: 1; }
	.pg-spalte--klein .pg-flyer { width: 100%; }
	.pg-spalte--klein .cta { margin-top: 17px; padding: 40px; }
	.pg-spalte--klein .cta__titel { font-size: 23px; }
	.pg-spalte--klein .kl-datum { flex-basis: 40px; }
	.pg-spalte--klein .kl-titel { font-size: 17px; }
	.pg-spalte--klein .cta__btn { margin-top: 10px; }
	.pg-spalte--gross .pg-schriftzug { width: 393px; }
	.pg-reihe--gedreht .pg-spalte--gross .pg-schriftzug { width: 371px; }
}

@media (max-width: 980px) {
	.pg-reihe-schmal { width: 80%; }
	.pg-reihe-schmal .cta { padding: 40px 0 0; }
}
@media (max-width: 767px) {
	.pg-reihe-schmal { width: 94%; }
	.pg-kasten { padding: 25px; }
	.reihe--titel { padding: 45px 0 22px; }
	.sektion--titel + .sektion { padding-top: 0; }
	.pg-reihe-schmal .cta { padding: 40px 40px 0; }
}

/* ================================================================ Tabs (Kontakt) */

.tabs { margin-bottom: 22px; }
.inhalt .tabs__nav, .tabs__nav { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; background: #f4f4f4; }
.tabs__nav li { margin: 0; }
.tabs__tab {
	font: inherit;
	font-size: 17px;
	font-weight: 600;
	line-height: 28.9px;
	padding: 4px 30px;
	height: 37px;
	border: 0;
	border-right: 1px solid #d9d9d9;
	background: transparent;
	color: #666;
	text-transform: uppercase;
	cursor: pointer;
}
.tabs__tab[aria-selected="true"] { background: var(--weiss); color: var(--blau); }
.tabs__nav li + li .tabs__tab { border-left: 0; }
.tabs__inhalt { background: var(--weiss); padding: 24px 30px; }
.tabs .fonse-form { padding: 0; }

/* ================================================================ Formulare (wie Ninja Forms) */

.fonse-form__pflicht { padding: 0; margin: 17px 0 5px; line-height: 28.9px; }
.fonse-form__felder { display: flex; flex-wrap: wrap; justify-content: space-between; }
.fonse-feld { width: 100%; margin-bottom: 25px; padding: 0 5px; }
.fonse-feld--halb { width: 49%; }
@media (max-width: 800px) { .fonse-feld--halb { width: 100%; } }

.inhalt .fonse-form__abschnitt, .fonse-form__abschnitt { width: 100%; font-size: 34px; line-height: 1em; padding: 0 5px 10px; margin: 0 0 25px; }
.fonse-feld > label,
.fonse-feld legend {
	display: block;
	font-size: 18px;
	font-weight: 700;
	line-height: 21px;
	color: #666;
	margin: 3px 0 15px;
	padding: 0;
}
.fonse-feld fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.req { color: #c00; }

.fonse-form input[type="text"],
.fonse-form input[type="email"],
.fonse-form input[type="tel"],
.fonse-form input[type="date"],
.fonse-form input[type="number"],
.fonse-form textarea {
	width: 100%;
	height: 50px;
	padding: 12px;
	font-family: var(--schrift);
	font-size: 16px;
	color: #787878;
	background: #f7f7f7;
	border: 1px solid #c4c4c4;
	border-radius: 0;
	-webkit-appearance: none;
	appearance: none;
}
.fonse-form textarea { height: 200px; resize: vertical; }
.fonse-form input:focus, .fonse-form textarea:focus { outline: none; border-color: var(--blau); background: #fff; }
.fonse-form ::placeholder { color: #999; }
.fonse-feld--fehler input, .fonse-feld--fehler textarea { border-color: #e80000; }
.fonse-feld__fehler { display: block; color: #e80000; font-size: 14px; margin-top: 6px; }

.fonse-optionen { display: flex; flex-direction: column; }
.fonse-option { display: flex; align-items: center; gap: 8px; font-size: 16px; line-height: 1.6; cursor: pointer; }
.fonse-option input { width: 14px; height: 14px; margin: 0; accent-color: var(--blau); }

.fonse-check { display: flex; align-items: flex-start; gap: 12px; font-size: 18px; font-weight: 700; line-height: 20px; color: #666; cursor: pointer; }
.fonse-check input { width: 18px; height: 18px; margin: 1px 0 0; flex: 0 0 auto; accent-color: var(--blau); }
.fonse-feld--checkbox { margin-bottom: 12px; }
.fonse-feld__hinweis { margin-top: 20px; padding: 0; font-size: 16px; line-height: 1.8; color: #666; }

.fonse-info {
	display: inline-grid;
	place-items: center;
	width: 16px;
	height: 16px;
	margin-left: 2px;
	border-radius: 50%;
	background: #000;
	color: #fff;
	font: 700 11px/1 Georgia, serif;
	vertical-align: 1px;
	cursor: help;
}

.fonse-krug-info { font-size: 13px; line-height: 2; margin: 4px 0 -6px; }
.fonse-feld--krug { margin-bottom: 70px; }
.fonse-feld--halb { margin-bottom: 30px; }
.inhalt .fonse-krug-info h3, .fonse-krug-info h3, .fonse-krug-info h2 { font-size: 26px; padding-top: 0; text-transform: uppercase; padding-bottom: 14px; }
.fonse-krug-info p { padding-bottom: 1.2em; }
.fonse-krug-info ul { list-style: none; margin: 0 0 1.2em; padding-left: 7px; }
.fonse-krug-info li strong { display: block; }
.fonse-kruege { display: flex; flex-wrap: wrap; gap: 0 2.4%; }
.fonse-krug { position: relative; display: flex; flex-direction: column; width: 48.8%; cursor: pointer; }
.fonse-krug input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.fonse-krug__titel { font-size: 17px; color: #666; line-height: 1.2; padding: 0 12px 2px; }
.fonse-krug__bild { display: block; padding: 0 3px 0 24px; }
.fonse-krug__bild img { border: 2px solid transparent; transition: border-color .2s; }
.fonse-krug__bild img { width: 100%; }
.fonse-krug:has(input:checked) .fonse-krug__bild img { border-color: var(--blau); }
.fonse-krug:has(input:focus-visible) .fonse-krug__bild img { outline: 2px solid var(--blau); outline-offset: 2px; }

.fonse-senden {
	font-family: var(--schrift);
	font-size: 16px;
	padding: 0 15px;
	height: 50px;
	color: #fff;
	background: #333;
	border: 0;
	border-radius: 0;
	cursor: pointer;
	transition: background .2s;
}
.fonse-senden:hover { background: #717171; }
.fonse-form__senden { padding: 0 5px; }

.fonse-form__fehler { background: #fff2f2; border: 1px solid #e80000; padding: 12px 16px; margin: 10px 0 20px; color: #a00; }
.fonse-form__fehler ul { margin: 0; padding-left: 20px; }
.fonse-form--ok { font-size: 17px; padding: 10px 0; }
.fonse-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ================================================================ Sonstiges */

.liste-beitrag { padding: 16px 0; border-top: 1px solid #eee; }
.alignleft { float: left; margin: 0 20px 12px 0; }
.alignright { float: right; margin: 0 0 12px 20px; }
.aligncenter { margin-left: auto; margin-right: auto; }

/* ================================================================ Termine – moderne Darstellung
   (Customizer → Fonse: Design → Darstellung der Termine → Modern) */

.tm-liste {
	max-width: 1080px;
	margin: 0 auto;
	padding: clamp(20px, 4vw, 48px);
	background: var(--weiss);
	border-radius: 14px;
	color: var(--dunkel);
	font-size: 16px;
	line-height: 1.55;
	container-type: inline-size;
}
.tm-kopf { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.tm-kopf__titel { font-size: 40px; padding: 0; }
.tm-kopf__zahl { padding: 0; color: #8a94a0; font-size: 15px; font-weight: 500; }

.tm-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 22px 0 6px; }
.tm-filter__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tm-filter__chip {
	padding: 8px 16px;
	border: 1.5px solid #d6e4ec;
	border-radius: 999px;
	background: var(--weiss);
	color: #3b4752;
	font: 600 14px/1.2 var(--schrift);
	cursor: pointer;
	transition: background .15s, border-color .15s, color .15s;
}
.tm-filter__chip:hover { border-color: var(--blau); color: var(--blau); }
.tm-filter__chip[aria-pressed="true"] { background: var(--blau); border-color: var(--blau); color: var(--weiss); }
.tm-suche { position: relative; margin-left: auto; display: block; }
.tm-suche .ic { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: #8a94a0; }
.tm-suche input {
	width: 240px;
	padding: 10px 16px 10px 42px;
	border: 1.5px solid transparent;
	border-radius: 999px;
	background: #f1f5f8;
	font: 15px/1.3 var(--schrift);
	color: var(--dunkel);
}
.tm-suche input:focus { outline: none; border-color: var(--blau); background: var(--weiss); }

.tm-liste .tm-monat__titel {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 34px 0 14px;
	padding: 0;
	font-size: 14px;
	letter-spacing: 2px;
	color: #8a94a0;
}
.tm-monat__titel::after { content: ""; flex: 1; height: 1px; background: #e6ecf0; }
.tm-monat__karten { display: grid; gap: 14px; }

.tm-karte {
	display: grid;
	grid-template-columns: 84px minmax(0, 1fr) auto;
	gap: 24px;
	align-items: start;
	padding: 20px;
	border: 1px solid #e6ecf0;
	border-radius: 14px;
	background: var(--weiss);
	transition: border-color .2s, box-shadow .2s, transform .2s;
}
.tm-karte:hover { border-color: #bfe2f3; box-shadow: 0 14px 32px -16px rgba(15, 152, 214, .45); transform: translateY(-2px); }
.tm-karte[hidden], .tm-monat[hidden] { display: none; }

.tm-datum {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	height: 96px;
	border-radius: 12px;
	background: linear-gradient(160deg, #1aa8e8, #0c85bd);
	color: var(--weiss);
	text-transform: uppercase;
	line-height: 1;
	box-shadow: 0 8px 18px -10px rgba(12, 133, 189, .8);
}
.tm-datum:hover { color: var(--weiss); }
.tm-datum__wt { font-size: 12px; font-weight: 600; letter-spacing: 1.5px; opacity: .85; }
.tm-datum__tag { margin: 6px 0 5px; font-size: 36px; font-weight: 800; }
.tm-datum__monat { font-size: 14px; font-weight: 600; letter-spacing: .5px; }
.tm-karte--aus .tm-datum { background: linear-gradient(160deg, #b3bcc3, #8c979f); box-shadow: none; }

.tm-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.tm-chip {
	display: inline-block;
	padding: 4px 10px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: .4px;
	text-transform: uppercase;
}
.tm-chip--programm { background: #e5f4fb; color: #0b78aa; }
a.tm-chip--programm:hover { background: var(--blau); color: var(--weiss); }
.tm-chip--aus { background: #fde8e8; color: #c62828; }
.tm-liste--ein-programm .tm-chip--programm { display: none; }

.tm-karte__titel { padding: 0; font-size: 22px; line-height: 1.25; text-transform: none; color: var(--dunkel); }
.tm-karte__titel a { color: inherit; }
.tm-karte__titel a:hover { color: var(--blau); }

.tm-karte .tm-meta { list-style: none; margin: 10px 0 0; padding: 0; color: #4b5560; font-size: 15px; }
.tm-karte .tm-meta li { display: flex; align-items: flex-start; gap: 8px; margin-top: 4px; }
.tm-meta .ic { flex: none; margin-top: 2px; color: var(--blau); }
.tm-meta strong { color: var(--dunkel); font-weight: 600; }
.tm-trenner { color: #b3bcc3; }
.tm-zeit__einlass, .tm-zeit__ende { color: #6b7680; }
.tm-karte .tm-meta__region { padding-left: 26px; color: #8a94a0; font-size: 13px; margin-top: 2px; }

.tm-karte__info { margin-top: 10px; font-size: 14px; color: #6b7680; }
.tm-karte__info p { padding-bottom: .4em; }
.tm-karte__info a { font-weight: 600; }

.tm-aktionen { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; }
.tm-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 18px;
	border: 1.5px solid transparent;
	border-radius: 10px;
	background: none;
	font: 700 15px/1.2 var(--schrift);
	cursor: pointer;
	transition: background .15s, color .15s, border-color .15s, box-shadow .15s;
}
.tm-btn--primaer { background: var(--blau); color: var(--weiss); box-shadow: 0 8px 18px -10px rgba(15, 152, 214, .9); }
.tm-btn--primaer:hover { background: var(--blau-dunkel); color: var(--weiss); }
.tm-btn--rahmen { border-color: var(--blau); color: var(--blau); }
.tm-btn--rahmen:hover { background: #e5f4fb; color: var(--blau-dunkel); }
.tm-btn--leise { padding-left: 10px; padding-right: 10px; color: var(--blau); }
.tm-btn--leise:hover { color: var(--blau-dunkel); background: #f1f8fc; }
.tm-btn--icon { width: 42px; height: 42px; padding: 0; justify-content: center; border-color: #d6e4ec; color: var(--blau); }
.tm-btn--icon:hover { border-color: var(--blau); background: #f1f8fc; }
.tm-btn--gross { padding: 14px 22px; font-size: 16px; }
.tm-btn--aus { background: #eef1f3; color: #8c979f; cursor: default; }

.tm-karte__bild { display: block; width: 112px; }
.tm-karte__bild img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 10px; box-shadow: 0 10px 22px -14px rgba(0, 0, 0, .6); }

.tm-leer { padding: 24px 0 0; color: var(--text); }

.tm-karte--mini { grid-template-columns: 64px minmax(0, 1fr); gap: 16px; padding: 14px; }
.tm-karte--mini .tm-datum { height: 74px; border-radius: 10px; }
.tm-karte--mini .tm-datum__tag { font-size: 26px; margin: 4px 0 3px; }
.tm-karte--mini .tm-karte__titel { font-size: 17px; }
.tm-karte--mini .tm-meta { font-size: 14px; margin-top: 6px; }

@container (max-width: 640px) {
	.tm-karte { grid-template-columns: 64px minmax(0, 1fr); gap: 16px; padding: 16px; }
	.tm-datum { height: 78px; border-radius: 10px; }
	.tm-datum__tag { font-size: 28px; margin: 4px 0 3px; }
	.tm-karte__bild { display: none; }
	.tm-karte__titel { font-size: 19px; }
	.tm-aktionen { margin-left: -80px; }
	.tm-suche { margin-left: 0; width: 100%; }
	.tm-suche input { width: 100%; }
	.tm-kopf__titel { font-size: 30px; }
}
@media (max-width: 767px) {
	.termine-seite:has(.tm-liste) { padding: 24px 8px 40px; }
}

/* ---- einzelner Termin ---- */

.te2 {
	max-width: 1080px;
	width: calc(100% - 104px);
	margin: 52px auto 0;
	padding: clamp(20px, 4vw, 48px);
	background: var(--weiss);
	border-radius: 14px;
	color: var(--dunkel);
	font-size: 16px;
	line-height: 1.6;
}
.te2-zurueck { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 26px; color: #4b5560; font-size: 15px; font-weight: 600; }
.te2-zurueck:hover { color: var(--blau); }
.te2 .te2-hinweis { margin-bottom: 24px; padding: 12px 16px; border-radius: 10px; background: #fff4e5; color: #8a5300; }

.te2-held { display: grid; grid-template-columns: minmax(200px, 340px) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.te2-held--ohne-bild { grid-template-columns: minmax(0, 1fr); }
.te2-flyer { margin: 0; position: sticky; top: 24px; }
.te2-flyer img { width: 100%; border-radius: 12px; box-shadow: 0 24px 44px -22px rgba(0, 0, 0, .55); }

.te2-titel { padding: 0; font-size: clamp(30px, 4vw, 44px); line-height: 1.1; }
.te2-datum { padding: 0; margin: 10px 0 26px; font-size: 22px; font-weight: 500; color: var(--dunkel); }

.te2-fakten { margin: 0; }
.te2-fakt { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 12px; padding: 16px 0; border-top: 1px solid #eef1f4; }
.te2-fakt:last-child { border-bottom: 1px solid #eef1f4; }
.te2-fakt dt { display: flex; align-items: center; gap: 8px; align-self: start; color: #8a94a0; font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; line-height: 1.9; }
.te2-fakt dt .ic { color: var(--blau); }
.te2-fakt dd { margin: 0; }
.te2-fakt strong { font-weight: 600; }
.te2-route { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; font-weight: 600; }
.te2-route .ic { width: 15px; height: 15px; }
.te2-umgebung { display: block; margin-top: 8px; color: #6b7680; font-size: 14px; }

.te2-aktionen { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.te2-text { margin-top: 28px; color: #4b5560; }

.te2-weitere { margin-top: 48px; padding-top: 32px; border-top: 1px solid #eef1f4; }
.te2-weitere__kopf { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.te2-weitere__kopf h2 { padding: 0; font-size: 24px; }
.te2-weitere__kopf a { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.te2-weitere__karten { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }

.te2-leiste { display: none; }

@media (max-width: 900px) {
	.te2-held { grid-template-columns: minmax(0, 1fr); }
	.te2-flyer { position: static; max-width: 300px; }
}
@media (max-width: 980px) {
	.te2 { width: calc(100% - 16px); margin-top: 8px; }
}
@media (max-width: 767px) {
	.te2-fakt { grid-template-columns: minmax(0, 1fr); gap: 4px; }
	.te2-aktionen .tm-btn { flex: 1 1 auto; justify-content: center; }
	.te2-flyer { max-width: 230px; }
	.te2-datum { font-size: 19px; }
	.te2-leiste {
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 990;
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
		background: rgba(255, 255, 255, .96);
		box-shadow: 0 -6px 20px rgba(0, 0, 0, .12);
		font-size: 15px;
		color: var(--dunkel);
	}
	.sektion--termin:has(.te2-leiste) { padding-bottom: 90px; }
}

/* ================================================================ Formulare (Version 3: Terminanfrage & Maßkrug) */

.kontakt-intro { margin: 0 0 26px; font-size: 17px; }
.kontakt-intro__hinweis { margin-top: 8px; font-size: 15px; color: #6b7680; }

.ff { color: var(--dunkel); font-size: 16px; line-height: 1.55; }
.ff [hidden] { display: none !important; }
.ff-pflicht { padding: 0 0 16px; font-size: 14px; color: #6b7680; }
.req { color: #d63638; }

.ff-fehler { margin: 0 0 22px; padding: 14px 18px; border-radius: 12px; background: #fdecec; color: #8a1f1f; outline: none; }
.ff .ff-fehler ul { margin: 6px 0 0; padding-left: 18px; }

.ff-abschnitt { position: relative; margin: 0 0 22px; padding: 22px 24px 24px; border: 1px solid #e6ecf0; border-radius: 14px; background: #f8fafb; min-width: 0; }
.ff-abschnitt__titel { float: left; width: 100%; display: flex; align-items: center; gap: 12px; margin: 0 0 16px; padding: 0; font-size: 19px; font-weight: 700; color: var(--dunkel); }
.ff-abschnitt__titel + * { clear: both; }
.ff-abschnitt__nr { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--blau); color: var(--weiss); font-size: 15px; }
.ff-abschnitt__text { clear: both; margin: -6px 0 16px; padding: 0; font-size: 15px; color: #6b7680; }
.ff-raster { clear: both; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px 20px; }
.ff-feld { grid-column: 1 / -1; min-width: 0; }
.ff-feld--halb { grid-column: span 3; }
.ff-feld--drittel { grid-column: span 2; }
.ff-feld--zweidrittel { grid-column: span 4; }
@media (max-width: 640px) {
	.ff-feld--halb, .ff-feld--drittel, .ff-feld--zweidrittel { grid-column: 1 / -1; }
	.ff-abschnitt { padding: 18px 16px 20px; }
}
.ist-neu { animation: ff-ein .35s ease; }
@keyframes ff-ein { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

.ff-feld > label, .ff-wahl > legend { display: block; margin: 0 0 6px; padding: 0; font-size: 14px; font-weight: 600; color: #3b4752; }
.ff input[type="text"], .ff input[type="email"], .ff input[type="tel"], .ff input[type="date"], .ff input[type="number"], .ff select, .ff textarea {
	width: 100%;
	min-height: 48px;
	padding: 11px 14px;
	border: 1.5px solid #d6e0e6;
	border-radius: 10px;
	background: var(--weiss);
	font: 16px/1.4 var(--schrift);
	color: var(--dunkel);
	transition: border-color .15s, box-shadow .15s;
	-webkit-appearance: none;
	appearance: none;
}
.ff select { padding-right: 40px; background: var(--weiss) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%230f98d6' stroke-width='2'/%3E%3C/svg%3E") no-repeat right 14px center; }
.ff textarea { min-height: 110px; resize: vertical; }
.ff input:focus, .ff select:focus, .ff textarea:focus { outline: none; border-color: var(--blau); box-shadow: 0 0 0 4px rgba(15, 152, 214, .15); }
.ff ::placeholder { color: #9aa5ad; }
.ff-feld--fehler input, .ff-feld--fehler select, .ff-feld--fehler textarea { border-color: #d63638; }
.ff-feld__fehler { display: block; margin-top: 6px; color: #d63638; font-size: 13px; }
.ff-feld__hilfe { display: block; margin-top: 6px; color: #6b7680; font-size: 13px; }

.ff-wahl { margin: 0; padding: 0; border: 0; min-width: 0; }
.ff-wahl__optionen { display: flex; flex-wrap: wrap; gap: 10px; }
.ff-pille { position: relative; cursor: pointer; }
.ff-pille input { position: absolute; opacity: 0; pointer-events: none; }
.ff-pille span { display: inline-block; min-width: 90px; padding: 10px 20px; border: 1.5px solid #d6e0e6; border-radius: 999px; background: var(--weiss); font-weight: 600; text-align: center; transition: all .15s; }
.ff-pille input:checked + span { border-color: var(--blau); background: var(--blau); color: var(--weiss); }
.ff-pille input:focus-visible + span { box-shadow: 0 0 0 4px rgba(15, 152, 214, .25); }

.ff-feld > label.ff-haken { display: flex; margin: 0; font-size: 15px; font-weight: 400; }
.ff-haken { display: flex; align-items: flex-start; gap: 12px; font-size: 15px; color: #3b4752; cursor: pointer; }
.ff-haken input { flex: none; width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--blau); }
.ff-haken a { font-weight: 600; }
.ff-feld--fehler .ff-haken { color: #d63638; }

.ff-senden { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 8px; }
.ff-senden__info { padding: 0; font-size: 14px; color: #6b7680; max-width: 420px; }

/* ---- Maßkrug ---- */
.ff .mk-schritte { display: flex; gap: 8px; list-style: none; margin: 0 0 26px; padding: 0; counter-reset: s; }
.mk-schritte__s { flex: 1; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; background: #f1f5f8; color: #8a94a0; font-size: 14px; font-weight: 600; }
.mk-schritte__s span { display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%; background: #dfe6eb; color: #6b7680; font-size: 13px; }
.mk-schritte__s.ist-aktiv { background: #e5f4fb; color: var(--blau-dunkel); }
.mk-schritte__s.ist-aktiv span, .mk-schritte__s.ist-fertig span { background: var(--blau); color: var(--weiss); }
.mk-schritte__s.ist-fertig { color: #3b4752; }
@media (max-width: 560px) { .mk-schritte__s { font-size: 0; justify-content: center; } .mk-schritte__s span { font-size: 13px; } .mk-schritte__s.ist-aktiv { font-size: 13px; } }

.mk-raster { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; }
@media (max-width: 1100px) { .mk-raster { grid-template-columns: minmax(0, 1fr); } }
.ff .mk-schritt__titel { margin: 0 0 14px; padding: 0; font-size: 24px; line-height: 1.2; }
.mk-schritt + .mk-schritt { margin-top: 34px; }
.mk-einleitung { margin: 0 0 18px; color: #4b5560; }
.mk-einleitung p { padding: 0; }

.mk-artikel { display: grid; grid-template-columns: repeat(auto-fit, minmax(185px, 1fr)); gap: 16px; }
.mk-karte { display: flex; flex-direction: column; border: 2px solid #e6ecf0; border-radius: 16px; overflow: hidden; background: var(--weiss); transition: border-color .15s, box-shadow .15s; }
.mk-karte.ist-gewaehlt { border-color: var(--blau); box-shadow: 0 12px 28px -16px rgba(15, 152, 214, .7); }
.mk-karte__bild { background: #f5f8fa; aspect-ratio: 1; display: grid; place-items: center; }
.mk-karte__bild img { width: 100%; height: 100%; object-fit: contain; }
.mk-karte__text { padding: 14px 14px 16px; display: flex; flex-direction: column; flex: 1; }
.ff .mk-karte__titel { padding: 0; font-size: 18px; line-height: 1.2; }
.mk-karte__preis { margin: 6px 0 0; padding: 0; font-size: 24px; font-weight: 800; color: var(--dunkel); }
.mk-karte__preis small { font-size: 13px; font-weight: 400; color: #8a94a0; }
.mk-karte__info { padding: 6px 0 0; font-size: 14px; color: #6b7680; }
.mk-menge { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 10px; margin-top: auto; padding-top: 16px; }
.mk-menge label { font-size: 14px; font-weight: 600; color: #3b4752; }
.mk-stepper { display: inline-flex; align-items: center; border: 1.5px solid #d6e0e6; border-radius: 12px; overflow: hidden; background: var(--weiss); }
.mk-stepper__btn { width: 44px; height: 44px; border: 0; background: #f1f5f8; color: var(--blau); font: 700 22px/1 var(--schrift); cursor: pointer; }
.mk-stepper__btn:hover { background: #e5f4fb; }
.ff .mk-stepper input { width: 54px; min-height: 44px; padding: 0; border: 0; border-radius: 0; text-align: center; font-size: 18px; font-weight: 700; -moz-appearance: textfield; }
.ff .mk-stepper input:focus { box-shadow: none; }
.mk-stepper input::-webkit-outer-spin-button, .mk-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.ff .mk-fakten { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; list-style: none; margin: 20px 0 0; padding: 0; }
.mk-fakten li { padding: 12px 14px; border-radius: 12px; background: #f5f8fa; font-size: 14px; color: #4b5560; }
.mk-fakten li { display: flex; gap: 14px; }
.mk-fakten strong { flex: 0 0 96px; display: block; padding-top: 1px; color: var(--dunkel); font-size: 13px; text-transform: uppercase; letter-spacing: .6px; }

.mk-summe { position: sticky; top: 24px; padding: 22px; border: 1px solid #e6ecf0; border-radius: 16px; background: var(--weiss); box-shadow: 0 18px 40px -26px rgba(0, 0, 0, .45); }
.ff .mk-summe__titel { margin: 0 0 12px; padding: 0; font-size: 18px; color: var(--dunkel); }
.ff .mk-summe__liste { list-style: none; margin: 0; padding: 0; }
.mk-summe__liste li, .mk-summe__zahlen div { display: flex; justify-content: space-between; gap: 12px; }
.mk-summe__liste li { padding: 8px 0; border-bottom: 1px solid #eef1f4; font-size: 15px; }
.mk-summe__leer { padding: 8px 0; color: #8a94a0; font-size: 15px; }
.mk-summe__zahlen { margin: 12px 0 0; font-size: 14px; color: #6b7680; }
.mk-summe__zahlen dd { margin: 0; }
.mk-summe__zahlen div { padding: 3px 0; }
.mk-summe__gesamt { margin-top: 8px; padding-top: 10px !important; border-top: 2px solid var(--dunkel); color: var(--dunkel); font-size: 18px; font-weight: 800; }
.mk-summe__gesamt small { font-size: 12px; font-weight: 400; color: #8a94a0; }
.mk-summe__gesamt dd { color: var(--blau); }
.mk-summe__aktion { display: grid; gap: 10px; margin-top: 18px; }
.mk-summe__aktion .tm-btn { justify-content: center; width: 100%; }
.mk-summe__aktion .tm-btn:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; }
.mk-zurueck { border: 0; background: none; color: var(--blau); font: 600 14px var(--schrift); cursor: pointer; padding: 4px; }
.mk-summe__hinweis { margin-top: 14px; padding: 0; font-size: 13px; color: #6b7680; }

/* ohne JavaScript: alles auf einer Seite, nur „Bestellen“ */
.ff--masskrug:not(.mk-js) .mk-weiter, .ff--masskrug:not(.mk-js) .mk-zurueck { display: none; }
/* mit JavaScript: zwei Schritte */
.mk-js .mk-raster[data-schritt="1"] [data-schritt="2"],
.mk-js .mk-raster[data-schritt="2"] [data-schritt="1"],
.mk-js .mk-raster[data-schritt="1"] .mk-bestellen,
.mk-js .mk-raster[data-schritt="1"] .mk-zurueck,
.mk-js .mk-raster[data-schritt="2"] .mk-weiter { display: none; }
.mk-js .mk-raster[data-schritt="2"] [data-schritt="2"] { animation: ff-ein .3s ease; }

/* ---- Danke ---- */
.ff-danke { max-width: 640px; padding: 8px 0; outline: none; }
.ff .ff-danke__titel, .ff-danke .ff-danke__titel { margin: 14px 0 6px; padding: 0; font-size: 30px; line-height: 1.2; }
.ff-danke__nr { padding: 0 0 10px; font-size: 17px; }
.ff-danke__bestellung { margin: 18px 0; padding: 4px 18px; border: 1px solid #e6ecf0; border-radius: 14px; }
.ff-danke__bestellung table, .ff-danke__bestellung td { border-left: 0 !important; border-right: 0 !important; background: none !important; }
.ff-danke__bestellung table { margin: 0; border: 0 !important; }
.ff-danke h3 { margin: 22px 0 8px; padding: 0; font-size: 18px; color: var(--dunkel); text-transform: none; }
.ff-danke .ff-danke__schritte { margin: 0 0 22px; padding-left: 22px; }
.ff-danke__schritte li { margin: 6px 0; }

/* ================================================================ Startseite (Version 3) */

.st-held { padding-bottom: 10px; }
.st-held__bild img { width: 100%; max-width: 670px; margin: 0 auto; }
.st-held__karte { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 28px 40px; align-items: center; margin-top: 26px; padding: clamp(22px, 3.5vw, 40px); border-radius: 16px; background: var(--weiss); color: var(--dunkel); box-shadow: 0 30px 60px -36px rgba(0, 0, 0, .55); }
.st-held__unter { padding: 0; font-size: 14px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: #8a94a0; }
.st-held__programm { display: block; margin-top: 8px; }
.st-held__programm img { width: 100%; max-width: 420px; transition: transform .2s; }
.st-held__programm:hover img { transform: rotate(-1deg) scale(1.02); }
.st-held__programm span { font-size: 26px; font-weight: 800; color: var(--blau); }
.st-held__aktionen { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.st-held__naechst { display: grid; gap: 2px; padding: 14px 18px; border-radius: 12px; background: #f1f8fc; color: var(--dunkel); border-left: 4px solid var(--blau); transition: background .15s; }
.st-held__naechst:hover { background: #e5f4fb; color: var(--dunkel); }
.st-held__naechst-label { font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--blau); }
.st-held__naechst span:last-child { color: #6b7680; font-size: 15px; }
@media (max-width: 1100px) {
	.st-held__karte { grid-template-columns: minmax(0, 1fr); }
	.st-held__programm img { margin: 0 auto; }
}

.st-termine { padding-top: 24px; padding-bottom: 24px; }
.st-kopf { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.st-kopf__titel { padding: 0; font-size: 30px; }
.st-kopf__link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.st-termine__karten { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }

.st-teaser { padding-top: 0; }
.st-teaser__raster { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.st-teaser__karte { display: flex; align-items: center; gap: 20px; padding: 24px; border-radius: 16px; background: var(--weiss); color: var(--dunkel); box-shadow: 0 20px 44px -32px rgba(0, 0, 0, .6); transition: transform .2s, box-shadow .2s; }
.st-teaser__karte:hover { transform: translateY(-3px); color: var(--dunkel); box-shadow: 0 26px 50px -30px rgba(0, 0, 0, .6); }
.st-teaser__karte--blau { background: linear-gradient(150deg, #1aa8e8, #0c85bd); color: var(--weiss); }
.st-teaser__karte--blau:hover { color: var(--weiss); }
.st-teaser__bild { flex: 0 0 110px; }
.st-teaser__bild img { width: 110px; height: 110px; object-fit: contain; }
.st-teaser__text { display: grid; gap: 4px; font-size: 15px; }
.st-teaser__kicker { font-size: 12px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; opacity: .75; }
.st-teaser__titel { font-size: 22px; line-height: 1.2; }
.st-teaser__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-weight: 700; color: var(--blau); }
.st-teaser__karte--blau .st-teaser__link { color: var(--weiss); }


@media (max-width: 767px) {
	.st-held__aktionen .tm-btn { flex: 1 1 100%; justify-content: center; }
	.st-termine__karten .tm-karte:nth-child(n+5) { display: none; }
	.st-teaser__raster { grid-template-columns: minmax(0, 1fr); }
	.st-teaser__bild { flex-basis: 80px; }
	.st-teaser__bild img { width: 80px; height: 80px; }
	.st-kopf__titel { font-size: 24px; }
}

/* ================================================================ Programm (Version 3) */

.pg2 { width: 80%; max-width: 1080px; margin: 0 auto; display: grid; gap: 28px; }
.pg2-karte { display: grid; grid-template-columns: minmax(220px, 320px) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; padding: clamp(22px, 4vw, 44px); border-radius: 16px; background: var(--weiss); color: var(--dunkel); }
.pg2-flyer { margin: 0; position: sticky; top: 24px; }
.pg2-flyer img { width: 100%; border-radius: 12px; box-shadow: 0 24px 44px -22px rgba(0, 0, 0, .55); }
.pg2-chip--alt { background: #eef1f3; color: #6b7680; }
.pg2-titel { margin: 14px 0 18px; padding: 0; font-size: 34px; line-height: 1.1; }
.pg2-schriftzug { width: 100%; max-width: 460px; }
.pg2-text { color: #3b4752; font-size: 17px; line-height: 1.7; }
.pg2-text p { padding-bottom: .9em; }
.pg2-mehr[hidden] { display: none; }
.pg2-weiter { margin-top: 2px; padding: 0; border: 0; background: none; color: var(--blau); font: 700 16px var(--schrift); cursor: pointer; }
.pg2-weiter::after { content: " ↓"; }
.pg2-weiter[aria-expanded="true"]::after { content: " ↑"; }
.pg2-termine { margin-top: 28px; padding-top: 24px; border-top: 1px solid #eef1f4; }
.pg2-termine__titel { margin: 0 0 14px; padding: 0; font-size: 20px; color: var(--dunkel); text-transform: none; }
.pg2-termine__karten { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.pg2-aktionen { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.pg2-karte:not(.pg2-karte--aktiv) { grid-template-columns: minmax(160px, 220px) minmax(0, 1fr); }
@media (max-width: 900px) {
	.pg2-karte, .pg2-karte:not(.pg2-karte--aktiv) { grid-template-columns: minmax(0, 1fr); }
	.pg2-flyer { position: static; max-width: 260px; }
}
@media (max-width: 767px) { .pg2 { width: 94%; } .pg2-titel { font-size: 26px; } }

/* ================================================================ Cookie-Banner */
.site-footer__cookies { color: var(--weiss); text-decoration: underline; text-underline-offset: 3px; }
.fc { position: fixed; z-index: 10001; left: 16px; right: 16px; bottom: 16px; display: flex; justify-content: center; pointer-events: none; }
.fc[hidden] { display: none; }
.fc__box { pointer-events: auto; width: 100%; max-width: 560px; padding: 22px 24px; border-radius: 16px; background: var(--weiss); color: var(--dunkel); font-size: 15px; line-height: 1.55; box-shadow: 0 24px 60px -18px rgba(0, 0, 0, .5); border-top: 4px solid var(--blau); animation: ff-ein .3s ease; }
@media (min-width: 981px) { .fc { left: calc(var(--leiste) + 16px); } }
.fc__titel { padding: 0 0 6px; font-size: 18px; font-weight: 800; }
.fc__text { padding: 0; color: #4b5560; }
.fc__details { display: grid; gap: 10px; margin-top: 14px; }
.fc__opt { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: #f5f8fa; font-size: 14px; color: #4b5560; cursor: pointer; }
.fc__opt input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--blau); }
.fc__opt strong { display: block; color: var(--dunkel); }
.fc__knoepfe { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.fc__btn { flex: 1 1 auto; padding: 11px 16px; border: 1.5px solid var(--blau); border-radius: 10px; background: var(--weiss); color: var(--blau); font: 700 15px var(--schrift); cursor: pointer; }
.fc__btn--primaer { background: var(--blau); color: var(--weiss); }
.fc__btn--link { flex: 0 0 auto; border-color: transparent; text-decoration: underline; text-underline-offset: 3px; }
.fc__btn[hidden], .fc__details[hidden] { display: none; }
.fc__links { padding: 12px 0 0; font-size: 13px; color: #8a94a0; }

/* ---- Version 3.2: weitere Termine umschaltbar, Netto-Preise ---- */
.te2-weitere__kopf { flex-wrap: wrap; }
.te2-umschalter { display: inline-flex; padding: 4px; border-radius: 12px; background: #f1f5f8; gap: 4px; }
.te2-umschalter button { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 0; border-radius: 9px; background: none; color: #4b5560; font: 600 14px var(--schrift); cursor: pointer; }
.te2-umschalter button .ic { width: 15px; height: 15px; }
.te2-umschalter button[aria-selected="true"] { background: var(--weiss); color: var(--blau); box-shadow: 0 2px 8px -3px rgba(0, 0, 0, .25); }
.te2-weitere__karten[hidden] { display: none; }
.te2-weitere__alle { margin-top: 14px; padding: 0; }
.te2-weitere__alle a { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.tm-entfernung { display: inline-block; margin-top: 8px; padding: 3px 9px; border-radius: 999px; background: #e5f4fb; color: #0b78aa; font-size: 12px; font-weight: 700; }
.termin-einzeln .te2-weitere { margin-top: 40px; }
.termin-einzeln .te2-weitere__kopf h2 { font-size: 24px; padding: 0; }
.mk-karte__netto { padding: 2px 0 0; font-size: 13px; color: #8a94a0; }
.mk-summe__netto { font-size: 12px; color: #8a94a0; }

@media print {
	.leftmenu, .mobile-bar, .social-fix, .site-footer, .te2-leiste, .tm-filter, .tm-aktionen, .fc { display: none !important; }
	.main-area { margin: 0 !important; }
	body { background: #fff !important; }
}
