/* MKL Termine – ruhig, weich, edel.
   Farben und Schrift lassen sich überschreiben, z. B. in Divi unter „Eigenes CSS“:
   .mklv, .mklv-dlg { --mklv-gruen:#1D3124; --mklv-orange:#E59560; --mklv-head:'Charm', serif; } */

.mklv,
.mklv-dlg {
	--mklv-gruen: #1d3124;
	--mklv-gruen2: #2b4636;
	--mklv-creme: #f6f4e8;
	--mklv-beige: #e9e3c0;
	--mklv-orange: #e59560;
	--mklv-salbei: #bacec1;
	--mklv-salbei-l: #e4ece6;
	--mklv-papier: #fbfaf3;
	--mklv-text: #1f2a22;
	--mklv-head: 'Charm', Georgia, 'Times New Roman', serif;
}

.mklv,
.mklv *,
.mklv-dlg,
.mklv-dlg * { box-sizing: border-box; }
.mklv [hidden],
.mklv-dlg [hidden] { display: none !important; }

.mklv { color: var(--mklv-text); font-family: inherit; line-height: 1.5; }
.mklv :where(ul, ol, dl, dd), .mklv-dlg :where(dl, dd) { list-style: none; margin: 0; padding: 0; }
.mklv :where(li, p, figure, dt), .mklv-dlg :where(dt, figure) { margin: 0; padding: 0; }
.mklv :where(h2, h3, h4, h5), .mklv-dlg :where(h2) { margin: 0; padding: 0; font-weight: 400; text-transform: none; letter-spacing: normal; }
.mklv a { text-decoration: none; box-shadow: none; }
.mklv button, .mklv-dlg button { font: inherit; line-height: 1.2; cursor: pointer; }

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

/* ---------- Kleinteile ---------- */
.mklv-pills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.mklv-pill {
	display: inline-block; padding: 2px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; line-height: 1.5;
	background: var(--mklv-beige); color: var(--mklv-gruen);
}
.mklv-pill--aus { background: #f4dcd2; color: #6e2412; }
.mklv-pill--abg { background: #e6e6e2; color: #3d3d38; }

.mklv-btn {
	gap: .4em; display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 22px;
	border: 2px solid var(--mklv-gruen); border-radius: 999px; background: var(--mklv-gruen); color: var(--mklv-creme) !important;
	font-weight: 600; font-size: 15px; text-align: center; text-decoration: none;
}
.mklv-btn:hover { background: var(--mklv-gruen2); border-color: var(--mklv-gruen2); }
.mklv-btn--ghost { background: transparent; color: var(--mklv-gruen) !important; }
.mklv-btn--ghost:hover { background: var(--mklv-salbei-l); border-color: var(--mklv-gruen); }
.mklv-link { color: var(--mklv-gruen) !important; font-weight: 600; text-decoration: underline !important; text-underline-offset: 3px; text-decoration-thickness: 1px !important; }
.mklv-note { margin: 12px 0; padding: 10px 14px; border-radius: 14px; background: var(--mklv-salbei-l); color: var(--mklv-gruen); font-weight: 600; }

/* Fokus: dunkel auf hellem Grund, hell auf dunklem Grund (mind. 3:1) */
.mklv a:focus-visible, .mklv button:focus-visible, .mklv input:focus-visible,
.mklv-dlg button:focus-visible, .mklv-dlg a:focus-visible, .mklv-ch:focus-visible {
	outline: 3px solid var(--mklv-gruen); outline-offset: 3px;
}
.mklv-band a:focus-visible { outline-color: var(--mklv-creme); }
.mklv-open:focus-visible { outline: none !important; }
.mklv-open:focus-visible::after { outline: 3px solid var(--mklv-gruen); outline-offset: 2px; }
.mklv-band .mklv-open:focus-visible::after { outline-color: var(--mklv-creme); }

/* Ganze Kachel klickbar, ein einziger Link für Tastatur und Screenreader */
.mklv-open { color: inherit !important; font: inherit; }
.mklv-open::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }

/* =====================================================================
   BAND (Startseite)
   ===================================================================== */
.mklv-band {
	position: relative; background: var(--mklv-gruen); color: var(--mklv-beige);
	box-shadow: 0 0 0 100vmax var(--mklv-gruen); clip-path: inset(0 -100vmax); /* Hintergrund über die volle Breite */
	container: mklvband / inline-size;
}
/* Abstand oben/unten: --mklv-bpad (Standard 10px). Kein Scrollbalken: die Kacheln ordnen sich nach der Breite neu. */
.mklv-band__in { display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; gap: 8px 22px; padding: var(--mklv-bpad, 10px) 0; }
.mklv-band__lab { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.mklv .mklv-band__h { font-family: var(--mklv-head); font-weight: 700; font-size: 34px; line-height: 1.05; color: var(--mklv-beige); }
.mklv-band__sub { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--mklv-orange); }

.mklv-band__list { --c: 1; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; min-width: 0; padding: 6px; margin: 0 -6px; }
.mklv-mini:nth-child(n+4) { display: none; } /* Handy: höchstens 3 */
.mklv-mini {
	flex: 0 0 calc((100% - (var(--c) - 1) * 14px) / var(--c));
	position: relative; min-width: 0; display: flex; align-items: center; gap: 18px;
	padding: 16px 22px; border-radius: 24px;
	background: rgba(233, 227, 192, .07); border: 1px solid rgba(233, 227, 192, .2);
}
.mklv-mini:hover { background: rgba(233, 227, 192, .13); border-color: rgba(229, 149, 96, .75); }
.mklv-mini__d {
	flex: 0 0 68px; height: 78px; border-radius: 18px; background: #f6f4e8; color: var(--mklv-gruen);
	display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1;
}
.mklv-mini__d b { font-size: 28px; font-weight: 700; }
.mklv-mini__d i { font-style: normal; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin-top: 4px; }
.mklv-mini__t { min-width: 0; flex: 1 1 auto; }
.mklv .mklv-mini__h { overflow-wrap: break-word; hyphens: auto; font-size: 17px; line-height: 1.25; font-weight: 700; color: var(--mklv-creme); }
.mklv-mini__m { margin-top: 5px; font-size: 14px; line-height: 1.4; color: rgba(246, 244, 232, .88); }
.mklv-mini .mklv-pills { margin-top: 8px; }
.mklv-mini__r { text-wrap: balance; margin-bottom: 4px; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; line-height: 1.3; color: var(--mklv-orange); }
.mklv-mini__img { flex: 0 0 76px; height: 108px; border-radius: 11px; overflow: hidden; background: rgba(233, 227, 192, .15); box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .5); }
.mklv-mini__img img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.mklv-mini.is-abgesagt .mklv-mini__h { text-decoration: line-through; text-decoration-thickness: 1px; }

.mklv-band__all { justify-self: end; padding: 10px 4px; color: var(--mklv-orange) !important; font-weight: 700; font-size: 15px; white-space: nowrap; }
.mklv-band__all:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Breite des Bereichs entscheidet: schmal 3 untereinander, mittel 2 + 2, breit 3 nebeneinander, sehr breit 4. Weniger Termine werden zentriert. */
@container mklvband (min-width: 640px) {
	.mklv-band__list { --c: 2; }
	.mklv-mini:nth-child(n+4) { display: flex; }
}
@container mklvband (min-width: 640px) and (max-width: 1079px) { /* 2 + 2: etwas kompakter */
	.mklv-mini { gap: 12px; padding: 14px 14px; }
	.mklv-mini__d { flex-basis: 56px; height: 66px; border-radius: 15px; }
	.mklv-mini__d b { font-size: 24px; }
	.mklv-mini__img { flex-basis: 54px; height: 78px; }
	.mklv .mklv-mini__h { font-size: 16px; hyphens: auto; }
}
@container mklvband (min-width: 1080px) {
	.mklv-band__list { --c: 3; }
	.mklv-mini:nth-child(4):last-child { display: none; } /* genau 4 Termine: 3 Spalten, daher nur 3 zeigen */
}
@container mklvband (min-width: 1400px) {
	/* Titel links auf gleicher Höhe wie die Termine, Link darunter: oben und unten kein verschenkter Platz */
	.mklv-band__in { grid-template-columns: 190px fit-content(100%); justify-content: center; grid-template-rows: 1fr auto auto 1fr; align-items: center; gap: 0 22px; }
	.mklv-band__list { flex-wrap: wrap; --k: min(var(--c), var(--n, 3)); width: calc(var(--k) * 440px + (var(--k) - 1) * 14px + 40px); max-width: 100%; }
	.mklv-mini { flex: 0 1 440px; }
	.mklv-band__lab { grid-column: 1; grid-row: 2; align-self: end; flex-direction: column; gap: 6px; }
	.mklv-band__list { grid-column: 2; grid-row: 1 / span 4; }
	.mklv-band__all { grid-column: 1; grid-row: 3; justify-self: start; align-self: start; padding-left: 0; }
}
@container mklvband (min-width: 1800px) {
	.mklv-band__list { --c: 4; }
	.mklv-mini:nth-child(4):last-child { display: flex; }
}
@container mklvband (max-width: 420px) {
	.mklv-mini { padding: 14px 16px; gap: 14px; }
	.mklv-mini__img { flex-basis: 62px; height: 90px; }
	.mklv-mini__r { letter-spacing: .05em; font-size: 11px; }
}

/* =====================================================================
   ÜBERSICHT (Unterseite)
   ===================================================================== */
.mklv .mklv-h { font-family: var(--mklv-head); font-weight: 700; font-size: clamp(32px, 4.2vw, 42px); line-height: 1.1; color: var(--mklv-gruen); }
.mklv-intro { margin-top: 8px; max-width: 60ch; }
.mklv-tools { margin: 22px 0 6px; display: flex; flex-direction: column; gap: 14px; }
.mklv-toolrow { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; }

.mklv-seg { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--mklv-salbei-l); }
.mklv-seg button { min-height: 40px; padding: 8px 20px; border: 0; border-radius: 999px; background: transparent; color: var(--mklv-gruen); font-weight: 600; }
.mklv-seg button[aria-pressed='true'] { background: var(--mklv-gruen); color: var(--mklv-creme); }

.mklv-search { flex: 1 1 260px; max-width: 440px; }
.mklv-search__in {
	width: 100%; height: 46px; padding: 0 20px; border: 1px solid var(--mklv-salbei); border-radius: 999px;
	background: #fff; color: var(--mklv-text); font: inherit; box-shadow: none;
}
.mklv-search__in::placeholder { color: #5b6a60; opacity: 1; }

.mklv-months { display: flex; flex-wrap: wrap; gap: 8px; }
.mklv-chip { min-height: 38px; padding: 6px 16px; border: 1px solid var(--mklv-salbei); border-radius: 999px; background: transparent; color: var(--mklv-gruen); font-size: 14px; font-weight: 500; }
.mklv-chip:hover { background: var(--mklv-salbei-l); }
.mklv-chip[aria-pressed='true'] { background: var(--mklv-gruen); border-color: var(--mklv-gruen); color: var(--mklv-creme); }

.mklv-count { margin: 10px 0 0; font-size: 14px; color: #3b4a40; min-height: 1.5em; }
.mklv-empty { margin: 18px 0; padding: 16px 20px; border-radius: 18px; background: var(--mklv-salbei-l); color: var(--mklv-gruen); }

.mklv-month__h { display: flex; align-items: center; gap: 14px; margin: 30px 0 14px !important; font-family: var(--mklv-head) !important; font-weight: 700 !important; font-size: 28px !important; line-height: 1.1 !important; color: var(--mklv-gruen) !important; }
.mklv-month__h::after { content: ''; flex: 1 1 auto; height: 1px; background: var(--mklv-salbei); }

.mklv-cards { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); }
.mklv-card {
	position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px; align-items: center;
	padding: 18px 22px 18px 22px; border-radius: 22px; background: #fff; border: 1px solid rgba(186, 206, 193, .6);
	box-shadow: 0 1px 2px rgba(29, 49, 36, .05), 0 12px 28px -16px rgba(29, 49, 36, .22);
}
.mklv-card:hover { border-color: var(--mklv-salbei); box-shadow: 0 1px 2px rgba(29, 49, 36, .06), 0 18px 34px -16px rgba(29, 49, 36, .3); }
.mklv-card__d {
	width: 64px; height: 68px; border-radius: 18px; background: var(--mklv-salbei-l); color: var(--mklv-gruen);
	display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1;
}
.mklv-card__d b { font-family: var(--mklv-head); font-size: 32px; font-weight: 700; }
.mklv-card__d i { font-style: normal; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-top: 3px; }
.mklv-card__reihe { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #3f5a49; margin-bottom: 2px; }
.mklv .mklv-card__h { font-size: 18px; line-height: 1.25; font-weight: 700; color: var(--mklv-gruen); }
.mklv-card__m { margin-top: 3px; font-size: 14.5px; }
.mklv-card__o { font-size: 14px; color: #3b4a40; }
.mklv-card__img { position: relative; z-index: 2; width: 68px; height: 96px; margin-right: 4px; padding: 0; border: 0; border-radius: 12px; overflow: hidden; background: var(--mklv-salbei-l); box-shadow: 0 2px 8px rgba(29, 49, 36, .18); cursor: zoom-in; }
.mklv-card__img:hover { box-shadow: 0 6px 16px rgba(29, 49, 36, .3); }
.mklv-card__img:focus-visible { outline: 3px solid var(--mklv-gruen); outline-offset: 3px; }
.mklv-card__img img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.mklv-card.is-abgesagt .mklv-card__h { text-decoration: line-through; text-decoration-thickness: 1px; }
@media (max-width: 520px) {
	.mklv-card { grid-template-columns: auto minmax(0, 1fr); }
	.mklv-card__img { display: none; }
}

/* =====================================================================
   POPUP-INHALT und EINZELSEITE (gleiche Bausteine)
   ===================================================================== */
.mklv-pop__hd { display: block; }
.mklv-pop__badge {
	display: inline-flex; flex-direction: row; align-items: baseline; gap: 6px; width: auto; height: auto; padding: 5px 14px 5px 12px;
	border-radius: 999px; background: #f6f4e8; border: 1px solid rgba(29, 49, 36, .2); color: var(--mklv-gruen); line-height: 1; margin-bottom: 14px;
}
.mklv-pop__badge b { font-size: 18px; font-weight: 700; }
.mklv-pop__badge i { font-style: normal; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.mklv-pop__reihe { font-size: 15px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #3f5a49; margin-bottom: 8px; }
.mklv .mklv-pop__h, .mklv-dlg .mklv-pop__h { font-family: var(--mklv-head); font-weight: 700; font-size: clamp(32px, 4.6vw, 46px); line-height: 1.05; color: var(--mklv-gruen); overflow-wrap: anywhere; }
.mklv-pop__when { margin-top: 12px; font-size: 16px; color: var(--mklv-gruen2); font-weight: 500; }
.mklv-pop__ht { min-width: 0; }

.mklv-pop__bd { margin-top: 24px; }
.mklv-pop__bd::after { content: ''; display: block; clear: both; }
.mklv-pop__txt { font-size: 16.5px; line-height: 1.7; }
.mklv-pop__txt p { margin: 0 0 1em; overflow-wrap: anywhere; }

/* Infofenster mit großem Flyer */
.mklv-pop__grid.has-img { display: grid; grid-template-columns: minmax(280px, 44%) minmax(0, 1fr); }
.mklv-pop__side { background: linear-gradient(160deg, #dfe9e1, #cddccf); padding: 96px 34px 40px; }
.mklv-pop__fl { position: sticky; top: 96px; display: block; width: 100%; padding: 0; border: 0; background: none; text-align: center; color: var(--mklv-gruen); }
.mklv-pop__thumb { display: block; width: 100%; height: auto; border-radius: 12px; box-shadow: 0 2px 4px rgba(24, 40, 30, .12), 0 26px 44px -14px rgba(24, 40, 30, .5); }
.mklv-pop__thumb--gross { max-width: 100%; }
.mklv-pop__flcap { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.mklv-pop__fl:hover .mklv-pop__thumb { box-shadow: 0 2px 4px rgba(24, 40, 30, .12), 0 30px 50px -14px rgba(24, 40, 30, .6); }
.mklv-pop__main { padding: 72px 44px 40px 42px; min-width: 0; }
.mklv-pop__grid:not(.has-img) .mklv-pop__main { padding: 8px 6px 6px; }
.mklv-single__fl { float: right; width: min(260px, 42%); margin: 0 0 16px 24px; }

.mklv-pop__tiles { clear: both; display: grid; grid-template-columns: 1fr; gap: 0; margin: 22px 0 6px !important; border-top: 1px solid rgba(29, 49, 36, .12); }
.mklv-pop__tiles > div { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 14px; padding: 15px 2px; border-bottom: 1px solid rgba(29, 49, 36, .12); }
.mklv-ico { grid-row: 1 / span 2; width: 40px; height: 40px; border-radius: 50%; background: var(--mklv-salbei-l); color: var(--mklv-gruen); display: flex; align-items: center; justify-content: center; }
.mklv-pop__tiles dt { font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #3f5a49; align-self: end; }
.mklv-pop__tiles dd { font-size: 16px; line-height: 1.45; overflow-wrap: anywhere; }
.mklv-pop__act { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 24px !important; }

/* Teilen & Kalender */
.mklv-share { clear: both; display: flex; flex-direction: column; gap: 12px; margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(29, 49, 36, .12); }
.mklv-grp { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.mklv-grp__l { flex: 0 0 100%; font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #3f5a49; }
.mklv-ch {
	display: inline-flex; align-items: center; min-height: 40px; padding: 7px 16px; border: 1px solid rgba(29, 49, 36, .28); border-radius: 999px;
	background: transparent; color: var(--mklv-gruen) !important; font-size: 14px; font-weight: 600; text-decoration: none;
}
.mklv-ch:hover { background: var(--mklv-gruen); border-color: var(--mklv-gruen); color: var(--mklv-creme) !important; }

.mklv-single { max-width: 820px; }
.mklv-single .mklv-pop__hd { margin-bottom: 4px; }

/* Bild (Option 1 und vergrößerte Ansicht) */
.mklv-bild { text-align: center; }
.mklv-bild__img { display: inline-block; max-width: 100%; width: auto; height: auto; max-height: calc(100vh - 250px); border-radius: 14px; box-shadow: 0 24px 60px -12px rgba(0, 0, 0, .6); }
.mklv-bild__cap {
	display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 18px; margin: 16px auto 0; max-width: 680px;
	padding: 14px 20px; border-radius: 22px; background: var(--mklv-papier); color: var(--mklv-text); text-align: left;
}
.mklv-bild__h, .mklv-bild__t { font-weight: 700; font-size: 16px; color: var(--mklv-gruen); }
.mklv-bild__m { font-size: 14px; }
.mklv-bild__cap .mklv-btn { min-height: 40px; padding: 8px 18px; font-size: 14px; }
.mklv-pane--bild > .mklv-btn { margin: 14px auto 0; display: flex; width: max-content; background: var(--mklv-papier); }
.mklv-dlg .mklv-pane--bild .mklv-share { max-width: 680px; margin: 12px auto 0; padding: 14px 20px; border: 0; border-radius: 22px; background: var(--mklv-papier); flex-direction: row; flex-wrap: wrap; gap: 10px 26px; }

/* =====================================================================
   DIALOG
   ===================================================================== */
html.mklv-lock { overflow: hidden; scrollbar-gutter: stable; }
.mklv-dlg {
	width: min(94vw, 720px); max-width: none; max-height: 94vh; padding: 0; border: 0; background: transparent; color: var(--mklv-text);
	font-family: inherit; line-height: 1.5; overflow: visible;
}
.mklv-dlg.is-wide { width: min(95vw, 1020px); }
.mklv-dlg::backdrop { background: rgba(20, 34, 26, .68); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.mklv-dlg p { margin: 0; }
.mklv-dlg__win {
	position: relative; display: flex; flex-direction: column; max-height: 94vh; border-radius: 30px; overflow: hidden;
	background: var(--mklv-papier); box-shadow: 0 40px 90px -24px rgba(8, 18, 12, .7);
}
.mklv-dlg.is-bild { width: min(94vw, 780px); }
.mklv-dlg.is-bild .mklv-dlg__win { background: transparent; box-shadow: none; overflow: visible; }

.mklv-dlg__bar { display: flex; align-items: center; gap: 8px; padding: 14px 16px 0; flex: 0 0 auto; }
.mklv-dlg.is-wide .mklv-dlg__bar { position: absolute; z-index: 3; top: 0; left: 0; right: 0; padding: 18px 20px 0; pointer-events: none; }
.mklv-dlg.is-wide .mklv-dlg__b { pointer-events: auto; }
.mklv-dlg__sp { flex: 1 1 auto; }
.mklv-dlg__b {
	width: 44px; height: 44px; padding: 0; border: 1px solid rgba(29, 49, 36, .16); border-radius: 50%;
	background: rgba(251, 250, 243, .92); color: var(--mklv-gruen); display: inline-flex; align-items: center; justify-content: center;
	box-shadow: 0 4px 14px -6px rgba(0, 0, 0, .35);
}
.mklv-dlg__b:hover:not(:disabled) { background: #fff; border-color: var(--mklv-gruen); }
.mklv-dlg__b:disabled { opacity: .4; cursor: default; }
.mklv-dlg__b svg { display: block; }
.mklv-dlg__body { flex: 1 1 auto; min-height: 0; overflow: auto; padding: 6px 34px 34px; overscroll-behavior: contain; outline: none; }
.mklv-dlg.is-wide .mklv-dlg__body { padding: 0; }
.mklv-dlg.is-bild .mklv-dlg__body { padding: 8px 4px 4px; overflow: visible; }

@media (max-width: 760px) {
	.mklv-pop__grid.has-img { grid-template-columns: 1fr; }
	.mklv-pop__side { padding: 88px 28px 26px; }
	.mklv-pop__fl { position: static; }
	.mklv-pop__thumb { width: auto; max-width: 100%; max-height: 52vh; margin: 0 auto; }
	.mklv-pop__main { padding: 28px 24px 30px; }
	.mklv-dlg__body { padding: 4px 22px 26px; }
	.mklv-bild__img { max-height: calc(100vh - 290px); }
}

@media (prefers-reduced-motion: no-preference) {
	.mklv-mini, .mklv-card, .mklv-chip, .mklv-btn, .mklv-ch, .mklv-dlg__b { transition: background-color .25s ease, border-color .25s ease, box-shadow .25s ease, transform .25s ease, color .25s ease; }
	.mklv-card:hover { transform: translateY(-2px); }
	.mklv-dlg[open] .mklv-dlg__win { animation: mklv-in .32s cubic-bezier(.2, .7, .2, 1); }
	.mklv-dlg[open]::backdrop { animation: mklv-fade .3s ease; }
}
@keyframes mklv-in { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes mklv-fade { from { opacity: 0; } to { opacity: 1; } }

@media (forced-colors: active) {
	.mklv-mini, .mklv-card, .mklv-dlg__win, .mklv-ch { border: 1px solid CanvasText; }
}
.mklv-dlg .mklv-pop__when { display: none; }

.mklv-more { margin-top: 26px !important; text-align: center; }
.mklv-more .mklv-btn { min-width: 220px; }

/* Beschreibung mit Formatierung */
.mklv-pop__txt ul, .mklv-pop__txt ol { margin: 0 0 1em; padding-left: 1.4em; }
.mklv-pop__txt ul { list-style: disc; }
.mklv-pop__txt ol { list-style: decimal; }
.mklv-pop__txt li { margin: 0 0 .35em; padding-left: .2em; overflow-wrap: anywhere; }
.mklv-pop__txt li::marker { color: var(--mklv-orange); }
.mklv-pop__txt strong, .mklv-pop__txt b { font-weight: 700; color: var(--mklv-gruen); }
.mklv-pop__txt em, .mklv-pop__txt i { font-style: italic; }
.mklv-pop__txt a { color: var(--mklv-gruen); text-decoration: underline; text-underline-offset: 3px; font-weight: 600; }
.mklv-pop__txt blockquote { margin: 0 0 1em; padding: 4px 0 4px 18px; border-left: 3px solid var(--mklv-orange); font-style: italic; color: var(--mklv-gruen2); }
.mklv-pop__txt .mklv-zw { margin: 1.3em 0 .4em; font-family: var(--mklv-head); font-size: 22px; font-weight: 700; line-height: 1.2; color: var(--mklv-gruen); }
.mklv-pop__txt > :first-child { margin-top: 0; }
.mklv-pop__act .mklv-btn { margin: 0; }

/* Einzelseite als Karte im Popup-Design */
.mklv-single { max-width: 1020px; margin: 0 auto; border-radius: 30px; overflow: hidden; background: var(--mklv-papier); box-shadow: 0 24px 60px -28px rgba(24, 40, 30, .45); }
.mklv-single .mklv-pop__grid:not(.has-img) .mklv-pop__main { padding: 40px 44px; }
.mklv-single .mklv-pop__side { padding-top: 48px; }
.mklv-single .mklv-pop__fl { top: 28px; }
.mklv-single .mklv-pop__main { padding-top: 48px; }
@media (max-width: 760px) { .mklv-single .mklv-pop__side { padding-top: 28px; } .mklv-single .mklv-pop__main { padding-top: 28px; } }

/* Terminseite: Textmodul darf über die Zeile hinauswachsen (Option ueberhang="ja") */
.mklv-oh-vis { overflow: visible !important; }
.mklv-oh-sec { position: relative; z-index: 3; }
.mklv-oh-mod { position: relative; z-index: 4; }

/* Divi gibt jeder Liste Innenabstand (0 0 23px 1em): hier mit höherer Gewichtung überschreiben */
.mklv .mklv-band__list { padding: 6px; margin: 0 -6px; list-style: none; }
.mklv .mklv-cards { padding: 0; margin: 0; list-style: none; }
.mklv .mklv-mini, .mklv .mklv-card { list-style: none; margin-bottom: 0; }

/* Blättern auf der Einzelseite */
.mklv-single { position: relative; }
.mklv-nav { position: absolute; top: 14px; right: 16px; z-index: 3; display: flex; gap: 8px; }
.mklv-nav__b { width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--mklv-creme); color: var(--mklv-gruen) !important; border: 1px solid rgba(29, 49, 36, .18); text-decoration: none !important; transition: background .15s, border-color .15s; }
a.mklv-nav__b:hover { background: var(--mklv-beige); border-color: var(--mklv-orange); }
a.mklv-nav__b:focus-visible { outline: 3px solid var(--mklv-orange); outline-offset: 2px; }
.mklv-nav__b.is-off { opacity: .3; }
.mklv-single.has-nav .mklv-pop__hd { padding-right: 96px; }
