/*
Theme Name: Miss Absolute Levana
Theme URI: https://www.missabsolutelevana.com/
Author: Phase 1
Description: Block-Theme fuer Miss Absolute Levana. Ausschliesslich WordPress-Core-Bloecke, lokal gehostete Schriften, kein Page Builder, kein Shortcode fuer redaktionelle Inhalte.
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 8.1
Version: 0.5.6
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mal
Tags: block-theme, full-site-editing, editorial, dark
*/

/* ==========================================================================
   Nur was theme.json nicht abdeckt. Farben, Schriften, Groessen und Abstaende
   stehen in theme.json.

   Fassung 0.3.0 (Premium-Ueberarbeitung), Grundsaetze:
   - Ruhige, gedeckte Flaechen hinter Text, Formularen und Shopangaben.
     Seit 0.4.0 (Entwurf 0.4.1) steht Levanas Hintergrundbild wieder fest
     hinter der Seite; die Flaechen verschleiern es nach rechts zunehmend
     (Abschnitt "Fassung 0.4.0" am Ende).
   - Wenig Gold: Hauptaktion, Kapitaelchen, Nummern. Linien sind elfenbein
     mit geringer Deckkraft statt goldener Rahmen.
   - Hover aendert nur Farben, nie Groesse oder Lage.
   - Fokus immer sichtbar, reduzierte Bewegung wird respektiert.
   ========================================================================== */

/* --- Fokus: sichtbar, gold, nie durch Farbe allein codiert ---------------- */
:where(a, button, input, textarea, select, summary, [tabindex]):focus-visible {
	outline: 2px solid var(--wp--preset--color--accent);
	outline-offset: 3px;
	border-radius: 1px;
}

/* Sprunglink zum Hauptinhalt */
.skip-link {
	position: absolute;
	left: -9999px;
	z-index: 999;
	padding: 0.9rem 1.4rem;
	background: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--base);
	font-size: var(--wp--preset--font-size--label);
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	text-decoration: none;
}
.skip-link:focus {
	left: 1rem;
	top: 1rem;
}

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}
body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}

/* Kein horizontales Scrollen ab 320 Pixel */
html, body { overflow-x: clip; }

/* Kopf, Hauptteil und Fuss schliessen ohne Zwischenraum aneinander an
   (der Kern setzt sonst den globalen Blockabstand dazwischen). */
.wp-site-blocks > * {
	margin-block-start: 0;
}
img, video, svg { max-width: 100%; height: auto; }

/* Lange Woerter (Komposita, Adressen) duerfen umbrechen */
h1, h2, h3, h4, p, li, td, th, label {
	overflow-wrap: break-word;
	hyphens: manual;
}
h1, h2, h3 {
	text-wrap: balance;
}
p {
	text-wrap: pretty;
}

/* --- Lesbreite ------------------------------------------------------------
   Bewusst nicht ueber max-width auf einzelne Absaetze im Constrained-Layout:
   der Kern setzt dort margin-inline mit !important auf auto. Die Klasse
   begrenzt nur Inhalte in Spalten.                                           */
.mal-measure {
	max-width: var(--wp--custom--measure);
}

/* --- Linien --------------------------------------------------------------- */
.mal-hairline {
	border: var(--wp--custom--rule);
}
.mal-hairline-top {
	border-top: var(--wp--custom--rule);
}
.mal-rule::before {
	content: "";
	display: block;
	width: 3rem;
	height: 1px;
	margin-bottom: 1.5rem;
	background: var(--wp--preset--color--accent);
}

/* --- Kapitaelchen-Label --------------------------------------------------- */
.mal-eyebrow {
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--label) !important;
	font-weight: 600;
	letter-spacing: 0.16em;
	line-height: 1.5;
	text-transform: uppercase;
	color: var(--wp--preset--color--accent);
}

/* Hervorhebung in grossen Ueberschriften */
h1 em,
h2 em {
	font-style: italic;
}

/* --- Bilder --------------------------------------------------------------- */
.mal-figure img,
.mal-bild img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.mal-bild {
	position: relative;
	width: 100%;
	margin: 0;
	overflow: hidden;
	background: var(--wp--preset--color--surface);
}
.mal-bild picture {
	display: block;
	width: 100%;
	height: 100%;
}
.mal-bild.is-portrait  { aspect-ratio: 3 / 4; }
.mal-bild.is-tall      { aspect-ratio: 4 / 5; }
.mal-bild.is-landscape { aspect-ratio: 4 / 3; }
.mal-bild.is-wide      { aspect-ratio: 16 / 9; }
.mal-bild.is-square    { aspect-ratio: 1 / 1; }
.mal-bild.is-free      { height: 100%; }
.mal-bild.is-banner {
	aspect-ratio: 2000 / 520;
	min-height: 6rem;
	background: transparent;
}

/* Platzhalterflaeche, solange keine freigegebenen Bilder vorliegen */
.mal-placeholder {
	position: relative;
	background:
		repeating-linear-gradient(135deg, rgba(198, 166, 107, 0.06) 0 12px, transparent 12px 24px),
		linear-gradient(155deg, #21131C 0%, #3A1426 100%);
}
.mal-placeholder::after {
	content: attr(data-label);
	position: absolute;
	inset: auto 0 1rem 0;
	text-align: center;
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--label);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--wp--preset--color--contrast-2);
}
.mal-placeholder.is-portrait  { aspect-ratio: 3 / 4; }
.mal-placeholder.is-tall      { aspect-ratio: 4 / 5; }
.mal-placeholder.is-landscape { aspect-ratio: 4 / 3; }
.mal-placeholder.is-wide      { aspect-ratio: 16 / 9; }
.mal-placeholder.is-square    { aspect-ratio: 1 / 1; }
.mal-placeholder.is-free      { min-height: 16rem; height: 100%; }

/* Eckakzente aus 0.2.0: Klasse bleibt gueltig, zeichnet aber nichts mehr */
.has-corner-accents .mal-corner { display: none; }

/* --- Schaltflaechen ------------------------------------------------------- */
.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	text-align: center;
	transition:
		background-color var(--wp--custom--transition),
		border-color var(--wp--custom--transition),
		color var(--wp--custom--transition);
}

/* Zweite Aktion: Kontur, ruhig */
.wp-block-button.is-style-outline > .wp-block-button__link {
	background-color: transparent;
	border: 1px solid rgba(244, 239, 231, 0.45);
	color: var(--wp--preset--color--contrast);
}
.wp-block-button.is-style-outline > .wp-block-button__link:hover,
.wp-block-button.is-style-outline > .wp-block-button__link:focus-visible {
	background-color: transparent;
	border-color: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--accent);
}

/* Leise Aktion: unterstrichener Text mit ausreichend grosser Trefferflaeche */
.wp-block-button.is-style-mal-leise > .wp-block-button__link {
	padding: 0.75rem 0;
	background: transparent;
	border: 0;
	color: var(--wp--preset--color--contrast);
	text-decoration: underline;
	text-decoration-color: var(--wp--preset--color--accent);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.55em;
}
.wp-block-button.is-style-mal-leise > .wp-block-button__link:hover,
.wp-block-button.is-style-mal-leise > .wp-block-button__link:focus-visible {
	background: transparent;
	color: var(--wp--preset--color--accent);
}

/* Textlinks im Fliesstext: erkennbar ohne Farbe allein */
main p a:not(.wp-block-button__link),
main li a {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
	text-decoration-color: rgba(198, 166, 107, 0.55);
}
main p a:not(.wp-block-button__link):hover,
main li a:hover {
	text-decoration-color: currentColor;
}

/* ==========================================================================
   Audios: Cover, Liste, Karten, Detail
   ========================================================================== */

/* Einheitliches Cover. Ohne Beitragsbild: ruhige Flaeche mit Klangringen,
   damit der Katalog nicht aus leeren Kaesten besteht. */
.mal-cover {
	position: relative;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	margin: 0 !important;
	background:
		radial-gradient(circle at 50% 50%,
			rgba(198, 166, 107, 0) 0 17%,
			rgba(198, 166, 107, 0.55) 17.4% 18%,
			rgba(198, 166, 107, 0) 18.4% 29%,
			rgba(198, 166, 107, 0.3) 29.4% 30%,
			rgba(198, 166, 107, 0) 30.4% 41%,
			rgba(198, 166, 107, 0.16) 41.4% 42%,
			rgba(198, 166, 107, 0) 42.4%),
		linear-gradient(150deg, #2A1622 0%, #4A1429 100%);
}
.mal-cover .wp-block-post-featured-image {
	position: absolute;
	inset: 0;
	margin: 0;
	height: 100%;
}
.mal-cover .wp-block-post-featured-image img {
	width: 100%;
	height: 100% !important;
	object-fit: cover;
}

/* Titel in Listen: elfenbein, Gold nur beim Zeigen */
.wp-block-post-title a {
	color: var(--wp--preset--color--contrast);
	text-decoration: none;
}
.wp-block-post-title a:hover,
.wp-block-post-title a:focus-visible {
	color: var(--wp--preset--color--accent);
}

.mal-audio-titel {
	margin: 0;
	font-size: 1.375rem !important;
	font-weight: 500;
	line-height: 1.2;
}
.mal-audio-titel a {
	color: var(--wp--preset--color--contrast);
	text-decoration: none !important;
}
.mal-audio-meta,
.mal-audio-themen {
	margin: 0;
	font-size: var(--wp--preset--font-size--label) !important;
	font-weight: 600;
	letter-spacing: 0.08em;
	line-height: 1.5;
	text-transform: uppercase;
	color: var(--wp--preset--color--contrast-2);
}
.mal-audio-themen {
	color: var(--wp--preset--color--accent);
}
.mal-audio-preis {
	margin: 0;
	font-family: var(--wp--preset--font-family--display);
	font-size: 1.375rem !important;
	font-weight: 500;
	line-height: 1.2;
	color: var(--wp--preset--color--contrast);
	white-space: nowrap;
}

/* Ablauf des Erwerbs */
.mal-ablauf > * {
	margin-block: 0 !important;
}
.mal-ablauf > * + * {
	margin-top: 1.25rem !important;
}
.mal-ablauf__titel {
	font-size: 1.5rem !important;
	font-weight: 500;
}
.mal-ablauf__schritte {
	display: grid;
	gap: 1rem;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: mal-schritt;
}
.mal-ablauf__schritte > li {
	position: relative;
	margin: 0;
	padding-left: 2.75rem;
	counter-increment: mal-schritt;
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.6;
	color: var(--wp--preset--color--contrast-2);
}
.mal-ablauf__schritte > li::before {
	content: counter(mal-schritt);
	position: absolute;
	top: 0;
	left: 0;
	display: grid;
	place-items: center;
	width: 1.875rem;
	height: 1.875rem;
	border: 1px solid rgba(198, 166, 107, 0.6);
	border-radius: 50%;
	font-size: var(--wp--preset--font-size--label);
	font-weight: 700;
	color: var(--wp--preset--color--accent);
}
.mal-ablauf__schritte > li strong {
	display: block;
	margin-bottom: 0.15rem;
	font-weight: 600;
	color: var(--wp--preset--color--contrast);
}
@media (min-width: 52rem) {
	.mal-ablauf--breit .mal-ablauf__schritte {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 2.5rem;
	}
}

/* Katalog */
.mal-seitenkopf__titel {
	font-size: clamp(2.375rem, 5vw, 4rem) !important;
}
.mal-seitenzahlen a,
.mal-seitenzahlen .page-numbers {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding-inline: 0.5rem;
}

/* Detail */
.mal-zurueck {
	margin-bottom: var(--wp--preset--spacing--30) !important;
}
.mal-zurueck a {
	color: var(--wp--preset--color--contrast-2) !important;
}
.mal-zurueck a::before {
	content: "\2190\00a0";
}
.mal-audio-detail__raster {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: clamp(2rem, 5vw, 4.5rem);
	align-items: start;
}
.mal-audio-detail__raster > *,
.mal-audio-detail__info > * {
	margin-block: 0 !important;
}
.mal-audio-detail__info > * + * {
	margin-top: 1rem !important;
}
.mal-audio-detail__info > .mal-eyebrow + * {
	margin-top: 0.75rem !important;
}
.mal-audio-detail__titel {
	font-size: clamp(2.25rem, 4.4vw, 3.5rem) !important;
	line-height: 1.06;
}
.mal-audio-detail__beschreibung {
	color: var(--wp--preset--color--contrast-2);
}
.mal-cover--gross {
	max-width: 34rem;
}
.mal-kaufbox,
.mal-hoerprobe {
	margin-top: var(--wp--preset--spacing--30) !important;
	padding: clamp(1.25rem, 3vw, 1.75rem);
	background-color: var(--wp--preset--color--base);
	border: var(--wp--custom--rule);
	border-top: 2px solid var(--wp--preset--color--accent);
}
.mal-hoerprobe {
	border-top-width: 1px;
	border-top-color: rgba(244, 239, 231, 0.12);
}
.mal-kaufbox > *,
.mal-hoerprobe > * {
	margin-block: 0 !important;
}
.mal-kaufbox > * + *,
.mal-hoerprobe > * + * {
	margin-top: 1rem !important;
}
.mal-kaufbox__titel {
	font-family: var(--wp--preset--font-family--body) !important;
	font-size: var(--wp--preset--font-size--label) !important;
	font-weight: 600 !important;
	letter-spacing: 0.14em;
	line-height: 1.4 !important;
	text-transform: uppercase;
	color: var(--wp--preset--color--accent) !important;
}
.mal-kaufbox__preis {
	font-family: var(--wp--preset--font-family--display);
	font-size: 2.25rem !important;
	font-weight: 500;
	line-height: 1.1;
	color: var(--wp--preset--color--contrast);
}
.mal-kaufbox .wp-block-button,
.mal-kaufbox .wp-block-button__link {
	width: 100%;
}
@media (min-width: 30rem) {
	.mal-kaufbox .wp-block-button,
	.mal-kaufbox .wp-block-button__link {
		width: auto;
	}
}
@media (min-width: 52rem) {
	.mal-audio-detail__raster {
		grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
	}
	.mal-cover--gross {
		position: sticky;
		top: 2rem;
	}
}

/* ==========================================================================
   Termine
   ========================================================================== */
.mal-termine__raster {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: clamp(2rem, 5vw, 5rem);
}
.mal-termine__raster > *,
.mal-termine__einleitung > * {
	margin-block: 0 !important;
}
.mal-termine__einleitung > * + * {
	margin-top: 1rem !important;
}
.mal-terminliste__eintraege {
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: var(--wp--custom--rule);
}
.mal-termin {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 0.35rem 1.5rem;
	align-items: baseline;
	padding-block: 1.25rem;
	border-bottom: var(--wp--custom--rule);
}
.mal-termin > *,
.mal-termin__ort > * {
	margin: 0 !important;
}
.mal-termin__zeitraum {
	grid-column: 1 / -1;
	font-family: var(--wp--preset--font-family--display);
	font-size: 1.5rem !important;
	font-weight: 500;
	line-height: 1.2;
	color: var(--wp--preset--color--contrast);
}
.mal-termin__stadt {
	font-family: var(--wp--preset--font-family--body) !important;
	font-size: 1rem !important;
	font-weight: 600 !important;
	letter-spacing: 0.02em;
	line-height: 1.4 !important;
}
.mal-termin__region,
.mal-termin__notiz {
	font-size: var(--wp--preset--font-size--small) !important;
	color: var(--wp--preset--color--contrast-2);
}
.mal-termin__notiz:empty {
	display: none;
}
/* 0.4.3: Beizeile Art · Uhrzeit · Ort */
.mal-termin__details {
	font-size: var(--wp--preset--font-size--small) !important;
	color: var(--wp--preset--color--contrast-2);
}
/* 0.4.3: Rueckblick — ruhiger als die kommenden Termine, klar datiert */
.mal-termine--seite > .mal-rueckblick {
	margin-top: var(--wp--preset--spacing--60) !important;
	padding-top: var(--wp--preset--spacing--30);
}
.mal-rueckblick > * {
	margin-block: 0 !important;
}
.mal-rueckblick > * + * {
	margin-top: var(--wp--preset--spacing--20) !important;
}
.mal-termin--vorbei .mal-termin__zeitraum {
	font-size: 1.125rem !important;
	color: var(--wp--preset--color--contrast-2);
}
.mal-termin--vorbei .mal-termin__stadt {
	font-weight: 500 !important;
	color: var(--wp--preset--color--contrast-2);
}
.mal-termin__hinweis {
	font-size: var(--wp--preset--font-size--label) !important;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--wp--preset--color--accent);
	white-space: nowrap;
}
.mal-termin-leer {
	padding-block: 1.25rem;
	border-block: var(--wp--custom--rule);
}
.mal-termine--seite > * {
	margin-block: 0 !important;
}
.mal-termine--seite > * + * {
	margin-top: var(--wp--preset--spacing--30) !important;
}
.wp-block-post-content > .mal-termine--seite {
	max-width: 52rem !important;
}
.mal-termine__titel {
	font-size: var(--wp--preset--font-size--heading) !important;
}
@media (min-width: 40rem) {
	.mal-termin {
		grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto;
	}
	.mal-termin__zeitraum {
		grid-column: auto;
	}
}
@media (min-width: 52rem) {
	.mal-termine__raster {
		grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
		align-items: start;
	}
}

/* ==========================================================================
   Seitenkoepfe und Seiteninhalte
   ========================================================================== */
main .has-depth-gradient-background {
	border-bottom: var(--wp--custom--rule);
}
/* Seiten, deren Inhalt mit einer eigenen Vollbreiten-Sektion beginnt (etwa
   Anfrage): kein doppelter Abstand unter dem Seitenkopf */
.wp-block-post-content > .alignfull.has-background:first-child {
	margin-top: calc(-1 * var(--wp--preset--spacing--30)) !important;
	padding-top: var(--wp--preset--spacing--30) !important;
}
.wp-block-post-content > p,
.wp-block-post-content > ul,
.wp-block-post-content > ol {
	color: var(--wp--preset--color--contrast-2);
}
.wp-block-post-content > p.has-lead-font-size {
	color: var(--wp--preset--color--contrast);
}
.wp-block-details summary {
	cursor: pointer;
	min-height: 44px;
	font-family: var(--wp--preset--font-family--display);
	font-size: 1.375rem;
	font-weight: 500;
	line-height: 1.3;
}

/* ==========================================================================
   Anfragekorb, Kaufanfrage, Hinweise (Ausgabe aus mal-commerce)
   ========================================================================== */
.mal-meldungen:empty {
	display: none;
}
.mal-meldungen {
	margin-block: 0 1.5rem;
}
.mal-meldungen ul,
.mal-meldungen .woocommerce-error,
.mal-meldungen .woocommerce-message,
.mal-meldungen .woocommerce-info,
.wc-block-components-notice-banner {
	margin: 0 0 1rem;
	padding: 1rem 1.25rem;
	list-style: none;
	border: 1px solid rgba(244, 239, 231, 0.16);
	border-left-width: 3px;
	background: var(--wp--preset--color--surface-soft);
	color: var(--wp--preset--color--contrast);
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.55;
}
.mal-meldungen li {
	margin: 0;
}
.mal-meldungen .woocommerce-error,
body .wc-block-components-notice-banner.is-error {
	border-color: rgba(227, 134, 139, 0.45) !important;
	border-left-color: #E3868B !important;
	background: #1E1115 !important;
	color: var(--wp--preset--color--contrast) !important;
}
.mal-meldungen .woocommerce-message,
body .wc-block-components-notice-banner.is-success {
	border-color: rgba(156, 203, 166, 0.4) !important;
	border-left-color: #9CCBA6 !important;
	background: #111A15 !important;
	color: var(--wp--preset--color--contrast) !important;
}
.mal-meldungen .woocommerce-info,
body .wc-block-components-notice-banner.is-info,
body .wc-block-components-notice-banner.is-warning {
	border-color: rgba(198, 166, 107, 0.4) !important;
	border-left-color: var(--wp--preset--color--accent) !important;
	background: var(--wp--preset--color--surface-soft) !important;
	color: var(--wp--preset--color--contrast) !important;
}
body .wc-block-components-notice-banner {
	border-radius: 0 !important;
}
.wc-block-components-notice-banner {
	display: flex;
	gap: 0.75rem;
	align-items: flex-start;
}
body .wc-block-components-notice-banner > svg {
	flex-shrink: 0;
	fill: currentColor !important;
	background: none !important;
	border-radius: 0;
}
body .wc-block-components-notice-banner.is-error > svg { color: #E3868B; }
body .wc-block-components-notice-banner.is-success > svg { color: #9CCBA6; }
body .wc-block-components-notice-banner.is-info > svg,
body .wc-block-components-notice-banner.is-warning > svg { color: var(--wp--preset--color--accent); }

/* Bestaetigung nach der Kaufanfrage */
.wp-block-post-content .mal-hairline:not(.wp-block-group) {
	margin-block: var(--wp--preset--spacing--30);
	padding: clamp(1.5rem, 4vw, 2.25rem) !important;
	background: var(--wp--preset--color--surface-soft);
	border-top: 2px solid var(--wp--preset--color--accent);
}
.wp-block-post-content .mal-hairline:not(.wp-block-group) > * {
	margin-block: 0;
}
.wp-block-post-content .mal-hairline:not(.wp-block-group) > * + * {
	margin-top: 0.875rem;
}
.wp-block-post-content .mal-hairline:not(.wp-block-group) > h2 {
	font-size: var(--wp--preset--font-size--heading);
}
.wp-block-post-content .mal-hairline:not(.wp-block-group) strong {
	font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
	font-size: 1.0625rem;
	letter-spacing: 0.04em;
	color: var(--wp--preset--color--contrast);
}

/* Tabelle */
.mal-korb {
	width: 100%;
	margin-block: var(--wp--preset--spacing--30);
	border-collapse: collapse;
	font-size: var(--wp--preset--font-size--small);
}
.mal-korb th,
.mal-korb td {
	padding: 1rem 0.5rem;
	border-bottom: var(--wp--custom--rule);
	text-align: left;
	vertical-align: middle;
}
.mal-korb th:first-child,
.mal-korb td:first-child {
	padding-left: 0;
}
.mal-korb th:last-child,
.mal-korb td:last-child {
	padding-right: 0;
	text-align: right;
}
.mal-korb thead th {
	padding-block: 0.625rem;
	font-size: var(--wp--preset--font-size--label);
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--wp--preset--color--contrast-2);
}
.mal-korb tbody th {
	font-family: var(--wp--preset--font-family--display);
	font-size: 1.25rem;
	font-weight: 500;
	line-height: 1.25;
	color: var(--wp--preset--color--contrast);
}
.mal-korb tbody td:nth-child(2) {
	white-space: nowrap;
	color: var(--wp--preset--color--contrast);
}
.mal-korb tbody td:last-child a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: var(--wp--preset--color--contrast-2);
	font-size: var(--wp--preset--font-size--small);
}
.mal-korb tbody td:last-child a:hover {
	color: var(--wp--preset--color--accent);
}
.mal-korb tfoot th,
.mal-korb tfoot td {
	border-bottom: 0;
	padding-top: 1.25rem;
}
.mal-korb tfoot th {
	font-size: var(--wp--preset--font-size--label);
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--wp--preset--color--contrast-2);
}
.mal-korb tfoot td,
.mal-korb tfoot td strong {
	font-family: var(--wp--preset--font-family--display);
	font-size: 1.75rem;
	font-weight: 500;
	color: var(--wp--preset--color--contrast);
	text-align: right;
}
@media (max-width: 26rem) {
	.mal-korb tbody th {
		font-size: 1.125rem;
	}
}

.mal-hinweis {
	margin-block: 0 var(--wp--preset--spacing--30);
	padding: 1rem 1.25rem;
	background: var(--wp--preset--color--surface-soft);
	border-left: 2px solid var(--wp--preset--color--accent);
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.6;
	color: var(--wp--preset--color--contrast-2);
}
.mal-hinweis strong {
	color: var(--wp--preset--color--contrast);
}

/* ==========================================================================
   Formulare: Kaufanfrage (mal-commerce) und Anfrage (Fluent Forms)
   ========================================================================== */
.mal-kaufanfrage,
main .fluentform,
.mal-hinweis,
.mal-meldungen > *,
.wp-block-post-content .mal-hairline {
	box-sizing: border-box;
}
.mal-kaufanfrage,
main .fluentform {
	--mal-feld-grund: #0F0C12;
	--mal-feld-rand: rgba(244, 239, 231, 0.3);
	--mal-fehler: #EFA0A4;
}
.mal-kaufanfrage {
	display: grid;
	gap: 1.25rem;
	padding: clamp(1.25rem, 4vw, 2rem);
	background: var(--wp--preset--color--surface-soft);
	border: var(--wp--custom--rule);
}
.mal-kaufanfrage > p {
	margin: 0;
}
.mal-kaufanfrage label {
	display: block;
	margin-bottom: 0.4rem;
}
.mal-kaufanfrage label + br {
	display: none;
}
.mal-kaufanfrage label,
main .fluentform .ff-el-input--label label {
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.4;
	color: var(--wp--preset--color--contrast);
}
.mal-kaufanfrage input[type="text"],
.mal-kaufanfrage input[type="email"],
main .fluentform .ff-el-form-control {
	box-sizing: border-box;
	width: 100%;
	min-height: 48px;
	padding: 0.75rem 0.875rem;
	background: var(--mal-feld-grund);
	border: 1px solid var(--mal-feld-rand);
	border-radius: 0;
	color: var(--wp--preset--color--contrast);
	font-family: var(--wp--preset--font-family--body);
	font-size: 1rem;
	line-height: 1.5;
	box-shadow: none;
	transition: border-color var(--wp--custom--transition);
}
main .fluentform textarea.ff-el-form-control {
	min-height: 9rem;
}
main .fluentform select.ff-el-form-control {
	appearance: auto;
}
.mal-kaufanfrage input:hover,
main .fluentform .ff-el-form-control:hover {
	border-color: rgba(244, 239, 231, 0.5);
}
.mal-kaufanfrage input:focus,
main .fluentform .ff-el-form-control:focus {
	border-color: var(--wp--preset--color--accent);
	background: var(--mal-feld-grund);
	color: var(--wp--preset--color--contrast);
	outline: 2px solid var(--wp--preset--color--accent);
	outline-offset: 1px;
	box-shadow: none;
}
.mal-kaufanfrage input:user-invalid {
	border-color: var(--mal-fehler);
}
.mal-kaufanfrage .description {
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.6;
	color: var(--wp--preset--color--contrast-2);
}
.mal-kaufanfrage .wp-block-button {
	margin-top: 0.25rem;
}
.mal-kaufanfrage button.wp-block-button__link {
	cursor: pointer;
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--label);
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	padding: 1rem 1.75rem;
	background: var(--wp--preset--color--accent);
	color: var(--wp--preset--color--base);
	border: 1px solid var(--wp--preset--color--accent);
}
.mal-kaufanfrage button.wp-block-button__link:hover,
.mal-kaufanfrage button.wp-block-button__link:focus-visible {
	background: var(--wp--preset--color--contrast);
	border-color: var(--wp--preset--color--contrast);
}

/* Fluent Forms: Rahmen, Gruppen, Fehler, Erfolg */
main .fluentform {
	padding: clamp(1.25rem, 4vw, 2rem);
	background: var(--wp--preset--color--surface-soft);
	border: var(--wp--custom--rule);
}
main .fluentform:has(.ff-message-success) {
	padding: 0;
	background: transparent;
	border: 0;
}
main .fluentform .ff-el-group {
	margin-bottom: 1.25rem;
}
main .fluentform .ff-el-input--label {
	margin-bottom: 0.4rem;
}
main .fluentform .ff-el-is-required.asterisk-right label::after {
	color: var(--wp--preset--color--accent) !important;
}
main .fluentform .ff-el-tooltip svg,
main .fluentform .ff-el-tooltip {
	color: var(--wp--preset--color--contrast-2) !important;
	fill: currentColor !important;
}
main .fluentform .ff-el-help-message,
main .fluentform .ff-el-form-check-label,
main .fluentform .ff-el-form-check label {
	color: var(--wp--preset--color--contrast-2);
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.55;
}
main .fluentform .ff-el-form-check-input {
	width: 1.125rem;
	height: 1.125rem;
	margin-right: 0.5rem;
	accent-color: var(--wp--preset--color--accent);
	vertical-align: -0.2em;
}
main .fluentform .ff-el-is-error .ff-el-form-control {
	border-color: var(--mal-fehler);
}
main .fluentform .error,
main .fluentform .text-danger,
main .fluentform .ff-el-is-error .text-danger {
	margin-top: 0.4rem;
	color: var(--mal-fehler) !important;
	font-size: var(--wp--preset--font-size--small);
}
main .ff-errors-in-stack,
main .ff-message-success {
	margin-block: 1rem;
	padding: 1rem 1.25rem;
	border: 1px solid rgba(244, 239, 231, 0.16);
	border-left: 3px solid var(--wp--preset--color--accent);
	background: var(--wp--preset--color--surface-soft);
	color: var(--wp--preset--color--contrast);
	box-shadow: none;
}
main .ff-errors-in-stack {
	border-left-color: #E3868B;
}
main .fluentform .ff-btn-submit,
main .fluentform .ff-btn-submit:not(.ff_btn_no_style) {
	min-height: 48px;
	padding: 1rem 1.75rem;
	background-color: var(--wp--preset--color--accent) !important;
	border: 1px solid var(--wp--preset--color--accent) !important;
	border-radius: 0 !important;
	color: var(--wp--preset--color--base) !important;
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--label);
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	opacity: 1 !important;
	transition: background-color var(--wp--custom--transition), border-color var(--wp--custom--transition);
}
main .fluentform .ff-btn-submit:hover,
main .fluentform .ff-btn-submit:focus-visible {
	background-color: var(--wp--preset--color--contrast) !important;
	border-color: var(--wp--preset--color--contrast) !important;
}


/* ==========================================================================
   Fassung 0.4.0 · Umsetzung Entwurf 0.4.1 (freigegeben 17.10.2026)

   Werte aus 11-DESIGN-VERFEINERUNG/DESIGN.md und den Zeichenflaechen.
   Breakpoints: bis 1100 px Menueknopf statt Leiste, bis 860 px einspaltig.
   Akzent Rauch-Amethyst fuer Rubriken, Nummern, Hover-Konturen und
   Fortschritt; Gold fuer Fokus, Hauptaktions-Kontur und Fusslinie.
   ========================================================================== */

:root {
	--mal-ame: var(--wp--preset--color--amethyst, #A07FA6);
	--mal-ame-tief: var(--wp--preset--color--amethyst-deep, #3A2440);
	--mal-gold: var(--wp--preset--color--accent, #C6A66B);
	--mal-taupe: var(--wp--preset--color--contrast-2, #BAB0A8);
	--mal-text: rgba(244, 239, 231, 0.86);
	--mal-linie: rgba(244, 239, 231, 0.12);
	--mal-rand: var(--wp--style--root--padding-left, clamp(1.25rem, 4vw, 3.5rem));
	--mal-abschnitt: clamp(56px, 5.5vw, 84px);
}

/* --- Seitenhintergrund: Levanas Grafik steht fest, Flaechen verschleiern
       sie nach rechts zunehmend (links bleibt das Motiv sichtbar) -------- */
body.mal-has-hintergrund {
	background-image: var(--mal-hintergrund);
	background-repeat: no-repeat;
	background-position: left top;
	background-size: max(1672px, 100%) auto;
	background-attachment: fixed;
}
@media (max-width: 860px) {
	body.mal-has-hintergrund {
		background-image: var(--mal-hintergrund-klein, var(--mal-hintergrund));
		background-size: auto 100vh;
		background-position: 22% top;
	}
}
.mal-schleier {
	background: linear-gradient(90deg, rgba(11, 11, 15, 0.15) 0%, rgba(21, 17, 26, 0.82) 30%, rgba(21, 17, 26, 0.92) 100%);
}
.mal-sektion {
	padding-block: var(--mal-abschnitt);
}
.mal-naht {
	height: 1px;
	border: 0;
	margin-block: 0 !important;
	background: linear-gradient(90deg, rgba(160, 127, 166, 0) 0%, rgba(160, 127, 166, 0.55) 28%, rgba(198, 166, 107, 0.45) 62%, rgba(84, 21, 45, 0) 100%);
}

/* --- Gemeinsame Typografie der neuen Abschnitte -------------------------- */
.mal-eyebrow {
	color: var(--mal-ame);
}
.mal-eyebrow--gold {
	color: var(--mal-gold);
}
:is(.mal-sektion, .mal-galerie, .mal-audioband, .mal-kontakt, .mal-hyp) h2.wp-block-heading {
	font-size: clamp(2rem, 3vw, 2.875rem);
	font-weight: 500;
	line-height: 1.1;
}
.mal-vorspann {
	margin: 0;
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(1.375rem, 1.8vw, 1.625rem) !important;
	font-style: italic;
	font-weight: 400;
	line-height: 1.45;
	color: var(--wp--preset--color--contrast);
}
.mal-seitentitel {
	margin: 0;
	font-size: clamp(2.75rem, 4.2vw, 3.75rem) !important;
	font-weight: 500 !important;
	line-height: 1.05 !important;
}

/* --- Schaltflaechen nach Entwurf ----------------------------------------- */
.wp-block-button:not(.is-style-outline):not(.is-style-mal-leise) > .wp-block-button__link {
	background: linear-gradient(120deg, #54152D 0%, #54152D 45%, #3A2440 100%);
	background-size: 220% 100%;
	background-position: 0 0;
	color: var(--wp--preset--color--contrast);
	transition: background-position 0.45s ease, border-color 0.2s;
}
.wp-block-button:not(.is-style-outline):not(.is-style-mal-leise) > .wp-block-button__link:hover,
.wp-block-button:not(.is-style-outline):not(.is-style-mal-leise) > .wp-block-button__link:focus-visible {
	background-position: 100% 0;
	border-color: var(--mal-ame);
	color: var(--wp--preset--color--contrast);
}
.wp-block-button.is-style-outline > .wp-block-button__link {
	border-color: rgba(244, 239, 231, 0.38);
}
.wp-block-button.is-style-outline > .wp-block-button__link:hover,
.wp-block-button.is-style-outline > .wp-block-button__link:focus-visible {
	background-color: rgba(160, 127, 166, 0.14);
	border-color: var(--mal-ame);
	color: var(--wp--preset--color--contrast);
}
.wp-block-button.is-style-mal-leise > .wp-block-button__link {
	min-height: 44px;
	text-decoration-color: var(--mal-ame);
	text-underline-offset: 0.5em;
}
.wp-block-button.is-style-mal-leise > .wp-block-button__link:hover,
.wp-block-button.is-style-mal-leise > .wp-block-button__link:focus-visible {
	color: var(--mal-ame);
}
.mal-pfeil-link > .wp-block-button__link::after {
	content: "";
	width: 18px;
	height: 18px;
	margin-left: 10px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* --- Bildsaum: 1-px-Verlaufsrahmen, weicher Amethyst-Schatten ------------ */
.mal-bild.mal-saum {
	position: relative;
	overflow: visible;
	padding: 1px;
	background: var(--wp--preset--gradient--saum, linear-gradient(160deg, rgba(160, 127, 166, 0.95) 0%, rgba(84, 21, 45, 0.9) 48%, rgba(198, 166, 107, 0.4) 100%));
	box-shadow: 0 46px 90px -46px rgba(160, 127, 166, 0.55), 0 30px 60px -30px rgba(0, 0, 0, 0.9);
}
.mal-bild.mal-saum::after {
	content: "";
	position: absolute;
	inset: 1px;
	pointer-events: none;
	background: radial-gradient(ellipse 80% 70% at 50% 42%, rgba(11, 11, 15, 0) 58%, rgba(21, 17, 26, 0.55) 100%);
}

/* ==========================================================================
   Kopfbereich
   ========================================================================== */
.mal-kopf {
	position: relative;
	z-index: 20;
	background: rgba(11, 11, 15, 0.86);
	border-bottom: 1px solid rgba(198, 166, 107, 0.35);
}
.mal-kopf__zeile {
	min-height: 84px;
}
.mal-wortmarke {
	flex-shrink: 0;
	margin: 0;
}
.mal-wortmarke a {
	display: flex;
	flex-direction: column;
	gap: 4px;
	color: var(--wp--preset--color--contrast);
	text-decoration: none;
}
.mal-wortmarke__name {
	font-family: var(--wp--preset--font-family--display);
	font-size: 25px;
	font-weight: 500;
	line-height: 1.05;
	white-space: nowrap;
}
.mal-wortmarke__zeile {
	font-size: 12px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	white-space: nowrap;
	color: var(--mal-taupe);
}
.mal-wortmarke a:hover .mal-wortmarke__name {
	color: var(--mal-ame);
}
.mal-kopf__rechts {
	min-width: 0;
}

/* Zaehler des Anfragekorbs (nur sichtbar, wenn etwas im Korb liegt) */
.mal-korb-zaehler {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	min-height: 44px;
	font-size: var(--wp--preset--font-size--label);
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--wp--preset--color--contrast);
	text-decoration: none;
	white-space: nowrap;
}
.mal-korb-zaehler::before {
	content: "";
	width: 0.45rem;
	height: 0.45rem;
	border-radius: 50%;
	background: var(--mal-ame);
}
.mal-korb-zaehler:hover {
	color: var(--mal-ame);
}

/* Navigation */
.mal-nav .wp-block-navigation-item__content {
	padding-block: 14px;
	border-bottom: 1px solid transparent;
	white-space: nowrap;
	transition: border-color var(--wp--custom--transition), color var(--wp--custom--transition);
}
.mal-nav .wp-block-navigation-item__content:hover {
	text-decoration: none;
}
.mal-nav .current-menu-item > .wp-block-navigation-item__content,
.mal-nav .wp-block-navigation-item__content[aria-current="page"] {
	border-bottom-color: var(--mal-gold);
	color: var(--wp--preset--color--contrast);
}

/* Menueknopf mit Beschriftung (Name kommt per aria-label vom Kern) */
.mal-nav .wp-block-navigation__responsive-container-open {
	gap: 10px;
	min-height: 44px;
	padding: 0 12px 0 16px;
	border: 1px solid rgba(244, 239, 231, 0.38);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}
.mal-nav .wp-block-navigation__responsive-container-open::before {
	content: "Menü";
}
.mal-nav .wp-block-navigation__responsive-container-open:hover {
	border-color: var(--mal-ame);
}
.mal-nav .wp-block-navigation__responsive-container-open svg {
	width: 18px;
	height: 18px;
}

/* Offenes Menue: dunkler Grund, grosse ruhige Schrift */
.wp-block-navigation__responsive-container.is-menu-open {
	background-color: var(--wp--preset--color--base) !important;
	padding: clamp(1.25rem, 6vw, 4rem) !important;
	--navigation-layout-justification-setting: flex-start;
	--navigation-layout-justify: flex-start;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
	padding-top: 4rem;
	align-items: flex-start !important;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item {
	align-items: flex-start !important;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
	--navigation-layout-justification-setting: flex-start;
	gap: 0.25rem !important;
	align-items: flex-start !important;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(2rem, 8vw, 2.75rem);
	font-weight: 400;
	letter-spacing: 0;
	line-height: 1.25;
	text-transform: none;
	color: var(--wp--preset--color--contrast);
	border-bottom: 0;
	padding-block: 0.35rem;
	white-space: normal;
}
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content[aria-current="page"] {
	color: var(--mal-gold);
	font-style: italic;
}
.wp-block-navigation__responsive-container-close,
.wp-block-navigation__responsive-container-open {
	color: var(--wp--preset--color--contrast);
}
.wp-block-navigation__responsive-container-open,
.wp-block-navigation__responsive-container-close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 48px;
	min-height: 48px;
}
.wp-block-navigation__responsive-container-close {
	top: 0.75rem !important;
	right: 0.75rem !important;
}
.wp-block-navigation__responsive-container-close svg {
	width: 28px;
	height: 28px;
}

/* Bis 1100 Pixel: Menue hinter der Schaltflaeche, wie auf dem Telefon. */
@media (min-width: 600px) and (max-width: 1100px) {
	.mal-nav .wp-block-navigation__responsive-container-open:not(.always-shown) {
		display: inline-flex;
	}
	.mal-nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
		display: none;
	}
}
@media (max-width: 860px) {
	.mal-kopf__zeile {
		min-height: 64px;
		gap: 8px !important;
	}
	.mal-wortmarke__name {
		font-size: 20px;
	}
	.mal-wortmarke__zeile {
		letter-spacing: 0.14em;
	}
	.mal-nav .wp-block-navigation__responsive-container-open {
		padding: 0 10px 0 12px;
	}
}
@media (max-width: 360px) {
	.mal-wortmarke__name {
		font-size: 18px;
	}
	.mal-nav .wp-block-navigation__responsive-container-open::before {
		content: none;
	}
}

/* ==========================================================================
   Startseite · Auftakt
   ========================================================================== */
.mal-hero {
	padding-block: clamp(48px, 5.5vw, 80px) clamp(56px, 6vw, 88px);
	background: linear-gradient(90deg, rgba(11, 11, 15, 0) 0%, rgba(21, 17, 26, 0.5) 34%, rgba(21, 17, 26, 0.9) 100%);
}
.mal-hero__raster {
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	gap: clamp(32px, 5vw, 88px);
	align-items: center;
}
.mal-hero__raster > *,
.mal-hero__text > * {
	margin: 0 !important;
}
.mal-hero__text {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	gap: 26px;
}
.mal-hero__titel {
	font-size: clamp(2.5rem, 4.4vw, 4.125rem) !important;
	font-weight: 500 !important;
	line-height: 1.05 !important;
	letter-spacing: -0.005em;
}
.mal-hero__titel em {
	display: block;
	font-style: italic;
	font-weight: 400;
	color: #E6D9E4;
}
.mal-hero__vorspann {
	max-width: 62ch;
	font-size: 18px !important;
	line-height: 1.7;
	color: var(--mal-text);
}
.mal-hero__aktionen {
	gap: 14px !important;
}
.mal-kennzahlen {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	max-width: 600px;
	margin: 6px 0 0 !important;
	padding-top: 22px;
	border-top: 1px solid var(--mal-linie);
}
.mal-kennzahlen div {
	margin: 0;
}
.mal-kennzahlen dt {
	font-family: var(--wp--preset--font-family--display);
	font-size: 30px;
	font-weight: 500;
	line-height: 1;
	font-variant-numeric: lining-nums;
	color: var(--mal-gold);
}
.mal-kennzahlen dd {
	margin: 8px 0 0;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--mal-taupe);
}
.mal-bild.mal-hero__bild {
	justify-self: end;
	width: 100%;
	max-width: 470px;
	height: auto;
	aspect-ratio: 4 / 5;
	max-height: min(588px, 74vh);
}
.mal-hero__bild img {
	object-position: 50% 45%;
}

@media (max-width: 860px) {
	.mal-hero {
		padding-block: 0 56px;
		background: linear-gradient(180deg, rgba(11, 11, 15, 0) 0%, rgba(21, 17, 26, 0.92) 52%);
	}
	.mal-hero__raster {
		grid-template-columns: minmax(0, 1fr);
		gap: 0;
	}
	.mal-bild.mal-hero__bild {
		order: -1;
		justify-self: stretch;
		width: auto;
		max-width: none;
		height: 400px;
		max-height: none;
		aspect-ratio: auto;
		margin-inline: calc(-1 * var(--mal-rand)) !important;
		padding: 0 0 1px;
		box-shadow: none;
	}
	.mal-hero__bild::after {
		inset: 0 !important;
		background: linear-gradient(180deg, rgba(11, 11, 15, 0) 52%, rgba(21, 17, 26, 0.96) 100%) !important;
	}
	.mal-hero__bild img {
		object-position: 50% 22%;
	}
	.mal-hero__text {
		margin-top: -96px !important;
		gap: 20px;
	}
	.mal-hero__titel {
		font-size: 40px !important;
	}
	.mal-kennzahlen {
		gap: 12px;
	}
	.mal-kennzahlen dt {
		font-size: 26px;
	}
	.mal-kennzahlen dd {
		letter-spacing: 0.1em;
	}
}

/* ==========================================================================
   Startseite · Erlebnisse
   ========================================================================== */
.mal-erlebnisse__raster > * {
	margin-block: 0 !important;
}
.mal-abschnittskopf {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
	gap: clamp(24px, 5vw, 88px);
	align-items: end;
}
.mal-abschnittskopf > *,
.mal-abschnittskopf > * > * {
	margin: 0 !important;
}
.mal-abschnittskopf .mal-eyebrow {
	margin-bottom: 14px !important;
}
.mal-erlebnisse__liste {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin-top: 44px !important;
	border-top: 1px solid var(--mal-linie);
}
.mal-erlebnisse__liste > * {
	margin: 0 !important;
}
.mal-erlebnis {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 28px 28px 4px 0;
}
.mal-erlebnis + .mal-erlebnis {
	padding-left: 28px;
	border-left: 1px solid var(--mal-linie);
}
.mal-erlebnis > * {
	margin: 0 !important;
}
.mal-erlebnis__nr {
	font-family: var(--wp--preset--font-family--display);
	font-size: 22px;
	font-style: italic;
	line-height: 1;
	color: var(--mal-ame);
}
.mal-erlebnis__titel {
	font-size: 27px !important;
	font-weight: 500 !important;
	line-height: 1.2 !important;
}
.mal-erlebnis__titel a {
	color: var(--wp--preset--color--contrast);
	text-decoration: none;
}
.mal-erlebnis__titel a:hover {
	color: var(--mal-ame);
}
.mal-erlebnis__text {
	font-size: 16px !important;
	line-height: 1.7;
	color: var(--mal-text);
}
.mal-erlebnis__meta {
	font-size: 13px !important;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--mal-gold);
}
.mal-erlebnisse__abschluss {
	grid-column: 1 / -1;
	gap: 12px 32px !important;
	margin-top: 32px !important;
	padding-top: 20px;
	border-top: 1px solid var(--mal-linie);
}
.mal-erlebnisse__abschluss > * {
	margin: 0 !important;
}
.mal-erlebnisse__abschluss p {
	color: var(--mal-taupe);
}
@media (max-width: 1100px) {
	.mal-erlebnisse__liste {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.mal-erlebnis:nth-child(3) {
		padding-left: 0;
		border-left: 0;
	}
	.mal-erlebnis:nth-child(n + 3) {
		border-top: 1px solid var(--mal-linie);
	}
}
@media (max-width: 860px) {
	.mal-abschnittskopf {
		grid-template-columns: minmax(0, 1fr);
		gap: 16px;
	}
	.mal-erlebnisse__liste {
		grid-template-columns: minmax(0, 1fr);
		margin-top: 28px !important;
	}
	.mal-erlebnis,
	.mal-erlebnis + .mal-erlebnis {
		padding: 22px 0 18px;
		border-left: 0;
		border-top: 1px solid var(--mal-linie);
	}
	.mal-erlebnis:first-child {
		border-top: 0;
	}
}

/* ==========================================================================
   Galerie · gemeinsame Reihe (Startseite und Galerieseite)
   ========================================================================== */
.mal-galerie--start {
	padding-block: clamp(40px, 4vw, 60px) clamp(48px, 5vw, 72px);
	background: linear-gradient(90deg, rgba(11, 11, 15, 0.35) 0%, rgba(21, 17, 26, 0.86) 26%, rgba(21, 17, 26, 0.94) 100%);
}
.mal-galerie > * {
	margin-block: 0 !important;
}
.mal-galerie__kopf {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px 40px;
	margin-bottom: 32px !important;
}
.mal-galerie__kopf > *,
.mal-galerie__kopf > * > * {
	margin: 0 !important;
}
.mal-galerie__kopf .mal-eyebrow {
	margin-bottom: 12px !important;
}
.mal-galerie__aktionen {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 28px;
}
.mal-galerie__steuerung {
	display: flex;
	align-items: center;
	gap: 12px;
}
.mal-galerie__steuerung[hidden] {
	display: none;
}
.mal-galerie__zaehler {
	min-width: 72px;
	margin: 0 6px 0 0;
	font-size: 15px;
	font-weight: 500;
	line-height: 1;
	letter-spacing: 0.12em;
	text-align: right;
	font-variant-numeric: tabular-nums;
	color: var(--mal-taupe);
}
.mal-galerie__zaehler b {
	font-weight: 600;
	color: var(--wp--preset--color--contrast);
}
.mal-pfeil {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 1px solid rgba(244, 239, 231, 0.4);
	border-radius: 50%;
	background: rgba(11, 11, 15, 0.5);
	color: var(--wp--preset--color--contrast);
	cursor: pointer;
	transition: border-color 0.2s, background-color 0.2s;
}
.mal-pfeil:hover {
	border-color: var(--mal-ame);
	background-color: rgba(160, 127, 166, 0.2);
}
.mal-pfeil[aria-disabled="true"] {
	opacity: 0.35;
	cursor: default;
}
.mal-pfeil[aria-disabled="true"]:hover {
	border-color: rgba(244, 239, 231, 0.4);
	background-color: rgba(11, 11, 15, 0.5);
}

.mal-galerie__reihe {
	/* Prozent bezieht sich auf die Inhaltsbreite des Elternblocks (Fensterbreite
	   minus zweimal Seitenrand): so beginnt das erste Bild buendig mit dem
	   Titel darueber und die Reihe laeuft rechts bis an den Fensterrand. */
	--mal-reihe-rand: max(var(--mal-rand), calc(50% + var(--mal-rand) - var(--wp--style--global--wide-size, 1208px) / 2));
	position: relative;
	display: flex;
	gap: 12px;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	padding: 6px var(--mal-reihe-rand);
	scroll-padding-inline: var(--mal-reihe-rand);
	scrollbar-color: rgba(160, 127, 166, 0.5) transparent;
	scrollbar-width: thin;
}
/* Mit JavaScript uebernehmen Pfeile und Fortschritt; ohne bleibt die
   Bildlaufleiste als sichtbare Bedienhilfe stehen. */
.mal-galerie--js .mal-galerie__reihe {
	scrollbar-width: none;
}
.mal-galerie--js .mal-galerie__reihe::-webkit-scrollbar {
	display: none;
}
.mal-galerie__reihe:focus-visible {
	outline: 2px solid var(--mal-gold);
	outline-offset: -2px;
}
.mal-galerie__bild {
	position: relative;
	display: block;
	flex: 0 0 auto;
	height: 440px;
	max-width: 80vw;
	aspect-ratio: var(--ar, 3 / 4);
	scroll-snap-align: start;
	border: 1px solid rgba(160, 127, 166, 0.22);
	background: var(--wp--preset--color--surface-soft);
	transition: border-color 0.25s;
}
.mal-galerie__bild picture,
.mal-galerie__bild img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
/* Saum je Motiv: Rand- und Bodenverlauf, Bildmitte unveraendert */
.mal-galerie__bild::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	opacity: var(--ton, 0);
	background:
		radial-gradient(ellipse 78% 72% at 50% 40%, rgba(21, 17, 26, 0) 52%, rgba(21, 17, 26, 0.78) 100%),
		linear-gradient(180deg, rgba(58, 36, 64, 0) 62%, rgba(21, 17, 26, 0.55) 100%);
}
.mal-galerie__bild:hover {
	border-color: var(--mal-ame);
}
.mal-galerie__bild:focus-visible {
	outline: 2px solid var(--mal-gold);
	outline-offset: 3px;
}
.mal-galerie__lupe {
	position: absolute;
	right: 12px;
	bottom: 12px;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 1px solid rgba(244, 239, 231, 0.3);
	border-radius: 50%;
	background: rgba(11, 11, 15, 0.7);
	color: var(--wp--preset--color--contrast);
	opacity: 0;
	transition: opacity 0.2s;
}
.mal-galerie__bild:hover .mal-galerie__lupe,
.mal-galerie__bild:focus-visible .mal-galerie__lupe,
.mal-galerie--seite .mal-galerie__lupe {
	opacity: 1;
}
.mal-galerie__fortschritt {
	position: relative;
	height: 1px;
	margin-top: 22px !important;
	background: var(--mal-linie);
}
.mal-galerie__fortschritt i {
	position: absolute;
	top: -1px;
	left: 0;
	display: block;
	height: 3px;
	background: linear-gradient(90deg, var(--wp--preset--color--primary), var(--mal-ame));
	transition: width 0.3s;
}

/* Galerieseite */
.mal-seitenkopf-galerie {
	padding-block: clamp(40px, 4vw, 60px) 32px;
	background: linear-gradient(90deg, rgba(11, 11, 15, 0) 0%, rgba(21, 17, 26, 0.6) 34%, rgba(21, 17, 26, 0.9) 100%);
}
.mal-seitenkopf-galerie__text {
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.mal-seitenkopf-galerie__text > * {
	margin: 0 !important;
}
.mal-seitenkopf-galerie__hinweis {
	font-size: 15px !important;
	color: var(--mal-taupe);
}
.mal-galerieseite__inhalt {
	padding-bottom: clamp(56px, 6vw, 88px);
	background: linear-gradient(180deg, rgba(21, 17, 26, 0.9) 0%, rgba(11, 11, 15, 0.94) 100%);
}
.mal-galerieseite__inhalt > * {
	margin-block-start: 0 !important;
}
.mal-galerieseite__inhalt > :not(.mal-galerie) {
	margin-block-start: 1.5rem !important;
}
.mal-galerie--seite {
	--gh: clamp(380px, 56vh, 540px);
}
.mal-galerie__leiste {
	padding-block: 22px 20px;
	border-top: 1px solid var(--mal-linie);
}
.mal-galerie--seite .mal-galerie__steuerung {
	justify-content: space-between;
}
.mal-galerie--seite .mal-galerie__zaehler {
	min-width: 0;
	text-align: left;
	margin-right: auto;
}
.mal-galerie--seite .mal-galerie__reihe {
	gap: 14px;
}
.mal-galerie--seite .mal-galerie__bild {
	height: var(--gh);
	cursor: zoom-in;
}

/* Vergroesserung */
.mal-lightbox {
	position: fixed;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none !important;
	max-height: none;
	margin: 0 !important;
	padding: 0;
	border: 0;
	color: var(--wp--preset--color--contrast);
	background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(58, 36, 64, 0.45) 0%, rgba(11, 11, 15, 0.97) 70%), #0B0B0F;
}
.mal-lightbox[open] {
	display: grid;
	grid-template-rows: auto minmax(0, 1fr) auto;
}
.mal-lightbox::backdrop {
	background: rgba(11, 11, 15, 0.92);
}
html.mal-lb-offen {
	overflow: hidden;
}
.mal-lightbox__kopf {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px var(--mal-rand);
}
.mal-lightbox__kopf .mal-galerie__zaehler {
	min-width: 0;
	margin: 0 !important;
	text-align: left;
}
.mal-lightbox__buehne {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 24px;
	min-height: 0;
	padding: 0 var(--mal-rand);
}
.mal-lightbox__bild {
	display: flex;
	flex: 1 1 auto;
	align-items: center;
	justify-content: center;
	min-width: 0;
	height: 100%;
	margin: 0;
}
.mal-lightbox__bild img {
	display: block;
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: calc(100vh - 116px);
	max-height: calc(100dvh - 116px);
	object-fit: contain;
	box-shadow: 0 0 0 1px rgba(160, 127, 166, 0.35), 0 40px 100px -40px rgba(160, 127, 166, 0.5);
}
.mal-schliessen {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	padding: 0 16px;
	border: 1px solid rgba(244, 239, 231, 0.4);
	background: transparent;
	color: var(--wp--preset--color--contrast);
	font-family: var(--wp--preset--font-family--body);
	font-size: 13px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	cursor: pointer;
}
.mal-schliessen:hover {
	border-color: var(--mal-ame);
}
.mal-lightbox__fuss {
	display: none;
	justify-content: center;
	gap: 16px;
	padding: 16px var(--mal-rand) 24px;
}

@media (max-width: 860px) {
	.mal-galerie__kopf {
		margin-bottom: 22px !important;
	}
	.mal-galerie__aktionen {
		width: 100%;
		justify-content: space-between;
	}
	.mal-galerie__aktionen .wp-block-buttons {
		order: -1;
	}
	.mal-galerie__zaehler {
		min-width: 0;
		margin-left: auto;
	}
	.mal-galerie__bild {
		height: 380px;
	}
	.mal-galerie--seite {
		--gh: 420px;
	}
	.mal-lightbox__seitenpfeil {
		display: none;
	}
	.mal-lightbox__fuss {
		display: flex;
	}
	.mal-lightbox__bild img {
		max-height: calc(100vh - 196px);
		max-height: calc(100dvh - 196px);
	}
}

/* ==========================================================================
   Startseite · Fuer wen
   ========================================================================== */
.mal-vorstellung__raster {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
	gap: clamp(32px, 6vw, 104px);
	align-items: center;
}
.mal-vorstellung__raster > * {
	margin: 0 !important;
}
.mal-bild.mal-vorstellung__bild {
	width: 100%;
	height: auto;
	max-height: 560px;
	aspect-ratio: 4 / 5;
}
.mal-vorstellung__bild img {
	object-position: 50% 30%;
}
.mal-vorstellung__text {
	display: flex;
	flex-direction: column;
	gap: 20px;
}
.mal-vorstellung__text > * {
	margin: 0 !important;
}
.mal-vorstellung__text > .mal-eyebrow {
	margin-bottom: -4px !important;
}
.mal-vorstellung__text > p:not([class]) {
	max-width: 62ch;
	color: var(--mal-text);
}
.mal-zitatzeile {
	max-width: 30ch;
	margin-top: 12px !important;
	padding-top: 22px;
	border-top: 1px solid rgba(198, 166, 107, 0.4);
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(1.4375rem, 2vw, 1.75rem) !important;
	font-style: italic;
	line-height: 1.4;
	color: var(--wp--preset--color--contrast);
}
@media (max-width: 860px) {
	.mal-vorstellung__raster {
		grid-template-columns: minmax(0, 1fr);
	}
	.mal-bild.mal-vorstellung__bild {
		aspect-ratio: 4 / 3;
		max-height: 440px;
	}
	.mal-vorstellung__bild img {
		object-position: 50% 22%;
	}
}

/* ==========================================================================
   Audio-Band (Startseite) und Audiokarten (Startseite, Archiv)
   ========================================================================== */
.mal-audioband {
	background: var(--wp--preset--gradient--daemmerung, linear-gradient(105deg, rgba(84, 21, 45, 0.55) 0%, rgba(58, 36, 64, 0.62) 46%, rgba(21, 17, 26, 0.95) 100%));
	border-block: 1px solid rgba(160, 127, 166, 0.3);
}
.mal-audioband__raster {
	display: grid;
	grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
	gap: clamp(32px, 6vw, 96px);
	align-items: start;
}
.mal-audioband__raster > *,
.mal-audioband__text > *,
.mal-audioband__katalog > * {
	margin: 0 !important;
}
.mal-audioband__text {
	display: flex;
	flex-direction: column;
	gap: 20px;
}
.mal-audioband__text > p:not([class]) {
	color: var(--mal-text);
}

.mal-audiokarten__liste {
	display: grid;
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.mal-audiokarten__liste > li {
	margin: 0 !important;
}
.mal-audiokarte {
	display: grid;
	grid-template-columns: 208px minmax(0, 1fr);
	height: 100%;
	border: 1px solid rgba(160, 127, 166, 0.32);
	background: rgba(21, 17, 26, 0.92);
	color: inherit;
	text-decoration: none;
	transition: border-color 0.2s, box-shadow 0.3s, background-color 0.3s;
}
.mal-audiokarte > * {
	margin: 0 !important;
}
a.mal-audiokarte:hover {
	border-color: var(--mal-ame);
	background: linear-gradient(120deg, rgba(84, 21, 45, 0.4), rgba(58, 36, 64, 0.55) 60%, rgba(21, 17, 26, 0.96));
	box-shadow: 0 28px 60px -32px rgba(160, 127, 166, 0.7);
	text-decoration: none;
}
a.mal-audiokarte:focus-visible {
	outline: 2px solid var(--mal-gold);
	outline-offset: 4px;
}
.mal-cover.mal-audiokarte__cover {
	aspect-ratio: auto;
	min-height: 208px;
	background:
		repeating-radial-gradient(circle at 50% 56%, rgba(160, 127, 166, 0.26) 0 1px, rgba(0, 0, 0, 0) 1px 15px),
		linear-gradient(150deg, #54152D 0%, #3A2440 62%, #15111A 100%);
}
.mal-audiokarte__badge {
	position: absolute;
	right: 10px;
	bottom: 10px;
	z-index: 1;
	margin: 0 !important;
	padding: 7px 9px;
	background: rgba(11, 11, 15, 0.78);
	font-size: 12px !important;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--wp--preset--color--contrast);
}
.mal-audiokarte__text {
	display: flex;
	flex-direction: column;
	gap: 10px;
	min-width: 0;
	padding: 22px 26px;
}
.mal-audiokarte__text > * {
	margin: 0 !important;
}
.mal-audiokarte__rubrik {
	font-size: 12px !important;
}
.mal-audiokarte__titel {
	font-size: 30px !important;
	font-weight: 500 !important;
	line-height: 1.2 !important;
	color: var(--wp--preset--color--contrast);
}
.mal-audiokarte__auszug,
.mal-audiokarte__auszug p {
	margin: 0;
	font-size: 15px;
	line-height: 1.6;
	color: var(--mal-text);
}
.mal-audiokarte__meta {
	font-size: 14px !important;
	line-height: 1.5;
	color: var(--mal-taupe);
}
.mal-audiokarte__fuss {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px 20px;
	margin-top: auto !important;
	padding-top: 12px;
	border-top: 1px solid var(--mal-linie);
}
.mal-audiokarte__fuss > * {
	margin: 0 !important;
}
.mal-audiokarte__status {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 13px !important;
	font-weight: 500;
	line-height: 1.3;
	color: var(--mal-taupe);
}
.mal-audiokarte__status::before,
.mal-audiokarte__weiter::after {
	content: "";
	flex: none;
	background: currentColor;
}
.mal-audiokarte__status::before {
	width: 16px;
	height: 16px;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5'%3E%3Crect x='5' y='11' width='14' height='9'/%3E%3Cpath d='M8 11V8a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5'%3E%3Crect x='5' y='11' width='14' height='9'/%3E%3Cpath d='M8 11V8a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E") center / contain no-repeat;
}
.mal-audiokarte__weiter {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-left: auto !important;
	font-size: 13px !important;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--wp--preset--color--contrast);
}
.mal-audiokarte__weiter::after {
	width: 18px;
	height: 18px;
	transition: transform 0.2s;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
}
a.mal-audiokarte:hover .mal-audiokarte__weiter {
	color: var(--mal-ame);
}
a.mal-audiokarte:hover .mal-audiokarte__weiter::after {
	transform: translateX(4px);
}

.mal-schritte {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	margin: 28px 0 0 !important;
	padding: 0;
	list-style: none;
}
.mal-schritte li {
	margin: 0;
	padding-top: 16px;
	border-top: 1px solid rgba(244, 239, 231, 0.16);
	font-size: 15px;
	line-height: 1.55;
	hyphens: auto;
	overflow-wrap: break-word;
	color: rgba(244, 239, 231, 0.84);
}
.mal-schritte b {
	display: block;
	margin-bottom: 8px;
	font-family: var(--wp--preset--font-family--display);
	font-size: 20px;
	font-style: italic;
	font-weight: 400;
	line-height: 1;
	color: var(--mal-ame);
}

/* Audio-Archiv */
.mal-katalog__raster {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(16px, 2vw, 24px);
}

@media (max-width: 1100px) {
	.mal-schritte {
		grid-template-columns: minmax(0, 1fr);
		gap: 0;
	}
	.mal-schritte li {
		padding: 14px 0;
	}
	.mal-katalog__raster {
		grid-template-columns: minmax(0, 1fr);
	}
}
@media (max-width: 860px) {
	.mal-audioband__raster {
		grid-template-columns: minmax(0, 1fr);
	}
	.mal-audiokarte {
		grid-template-columns: 112px minmax(0, 1fr);
	}
	.mal-cover.mal-audiokarte__cover {
		min-height: 100%;
	}
	.mal-audiokarte__text {
		padding: 16px 16px 14px;
	}
	.mal-audiokarte__titel {
		font-size: 26px !important;
	}
	.mal-audiokarte__auszug,
	.mal-audiokarte__badge {
		display: none;
	}
}

/* Erwerbskasten der Audio-Detailseite: Zustand kommt unveraendert aus
   mal-commerce/mal-avs, der Kasten gestaltet ihn nur. */
.mal-kaufbox {
	padding: 28px;
	border: 1px solid rgba(160, 127, 166, 0.35);
	background: rgba(21, 17, 26, 0.92);
}
.mal-kaufbox__flagge {
	width: fit-content;
	padding: 6px 10px;
	border: 1px solid rgba(186, 176, 168, 0.5);
	font-size: 12px !important;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--mal-taupe);
}
.mal-kaufbox__notiz {
	font-size: 15px !important;
	color: var(--mal-text) !important;
}
.mal-kaufbox__anfrage a {
	color: var(--wp--preset--color--contrast);
	text-decoration-color: var(--mal-ame);
}
.mal-kaufbox__anfrage a::after {
	content: " \2192";
}

/* ==========================================================================
   Kontaktabschluss
   ========================================================================== */
.mal-kontakt {
	padding-block: clamp(88px, 10vw, 140px);
	text-align: center;
	background: radial-gradient(ellipse 60% 70% at 50% 50%, rgba(58, 36, 64, 0.55) 0%, rgba(11, 11, 15, 0.2) 70%);
}
.mal-kontakt > * {
	margin-block: 0 !important;
}
.mal-kontakt > * + * {
	margin-top: 22px !important;
}
.mal-kontakt__titel.wp-block-heading {
	font-size: clamp(2.25rem, 3.6vw, 3.375rem);
}
.mal-kontakt > p:not(.mal-eyebrow) {
	color: var(--mal-text);
}
.mal-kontakt .wp-block-buttons {
	gap: 14px;
}

/* ==========================================================================
   Seite „Erotische Hypnose“ (templates/page-erotische-hypnose.html)

   Ohne umgebauten Inhalt (Darstellung -> Levana-Inhalte 0.4) steht der
   bisherige Text lesbar einspaltig unter Titel und Bild. Mit Gliederung
   (Klasse mal-hyp-vorspann vorhanden) gilt das Raster des Entwurfs.
   ========================================================================== */
.mal-hyp {
	overflow-x: clip;
	background: linear-gradient(90deg, rgba(11, 11, 15, 0.1) 0%, rgba(21, 17, 26, 0.84) 24%, rgba(21, 17, 26, 0.94) 100%);
}
.mal-hyp__raster {
	max-width: 1240px;
	margin-inline: auto !important;
	padding: clamp(56px, 6vw, 88px) var(--mal-rand) clamp(56px, 6vw, 88px);
}
.mal-hyp__raster > * {
	margin-block: 0 !important;
}
.mal-hyp__raster > * + * {
	margin-top: 28px !important;
}
.mal-hyp__titel {
	font-size: clamp(2.875rem, 4.6vw, 4.25rem) !important;
	line-height: 1.02 !important;
}
.mal-bild.mal-hyp__bild {
	width: 100%;
	height: auto;
	max-height: 380px;
	aspect-ratio: 16 / 10;
}
.mal-hyp__bild img {
	object-position: 50% 24%;
}
.mal-hyp__inhalt {
	max-width: 720px;
}

/* Gegliederter Inhalt */
.mal-hyp__raster:has(.mal-hyp-vorspann) {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	column-gap: clamp(20px, 3vw, 48px);
	padding-bottom: 0;
}
/* Grundregel ohne Spezifitaet (:where), damit die Abschnittsregeln unten
   Spalte und Abstaende setzen koennen. */
:where(.mal-hyp__raster:has(.mal-hyp-vorspann)) > *,
:where(.mal-hyp__raster:has(.mal-hyp-vorspann) .mal-hyp__inhalt) > * {
	grid-column: 1 / -1;
	min-width: 0;
	margin: 0 !important;
}
.mal-hyp__raster:has(.mal-hyp-vorspann) .mal-hyp__inhalt {
	display: contents;
}
.mal-hyp__raster:has(.mal-hyp-vorspann) .mal-hyp__titel {
	grid-column: 1 / 7;
	grid-row: 1;
	align-self: end;
}
.mal-hyp__raster:has(.mal-hyp-vorspann) .mal-hyp__bild {
	grid-column: 7 / 13;
	grid-row: 1 / span 2;
	align-self: center;
	margin: 0 !important;
}
.mal-hyp__raster .mal-hyp-vorspann {
	grid-column: 1 / 7;
	grid-row: 2;
	align-self: start;
	margin-top: 22px !important;
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(1.5rem, 2vw, 1.8125rem) !important;
	font-style: italic;
	line-height: 1.4;
	color: #E6D9E4;
}
.mal-hyp-leitsatz {
	margin-top: clamp(72px, 8vw, 120px) !important;
	padding-block: clamp(32px, 3.5vw, 48px);
}
.mal-hyp-leitsatz::before,
.mal-hyp-leitsatz::after {
	content: "";
	display: block;
	width: 120px;
	height: 1px;
	margin: 0 auto 32px;
	background: linear-gradient(90deg, rgba(160, 127, 166, 0), rgba(198, 166, 107, 0.8), rgba(160, 127, 166, 0));
}
.mal-hyp-leitsatz::after {
	margin: 32px auto 0;
}
.mal-hyp-leitsatz p {
	max-width: 880px;
	margin: 0 auto;
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(1.75rem, 2.7vw, 2.5rem) !important;
	font-style: italic;
	line-height: 1.32;
	text-align: center;
	color: var(--wp--preset--color--contrast);
}
.mal-hyp__raster .mal-hyp-trance {
	/* Seit 0.5.6 buendig mit Titel und Inhalt; vorher 5 / 13 und dadurch
	   um vier Spalten eingerueckt. Acht Spalten wie zuvor, Lesebreite
	   bleibt durch max-width unveraendert. */
	grid-column: 1 / 9;
	max-width: 62ch;
	padding-top: clamp(24px, 3vw, 40px);
	font-size: 18px !important;
	line-height: 1.75;
	color: var(--mal-text);
}
.mal-hyp-themen {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 48px 56px;
	margin-top: 56px !important;
	counter-reset: mal-hyp;
}
.mal-hyp-themen > * {
	margin: 0 !important;
}
.mal-hyp-thema {
	position: relative;
	padding-top: 24px;
	counter-increment: mal-hyp;
}
.mal-hyp-thema::before {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	height: 1px;
	background: linear-gradient(90deg, rgba(160, 127, 166, 0.75) 0%, rgba(84, 21, 45, 0.55) 45%, rgba(244, 239, 231, 0.08) 100%);
}
.mal-hyp-thema::after {
	content: counter(mal-hyp, decimal-leading-zero);
	position: absolute;
	top: 34px;
	left: 0;
	font-family: var(--wp--preset--font-family--display);
	font-size: 22px;
	font-style: italic;
	line-height: 1;
	color: var(--mal-ame);
}
.mal-hyp-thema > * {
	margin: 0 !important;
	padding-left: 44px;
}
.mal-hyp-thema > * + * {
	margin-top: 14px !important;
}
.mal-hyp-thema__titel {
	font-size: 30px !important;
	font-weight: 500 !important;
	line-height: 1.15 !important;
}
.mal-hyp-thema p {
	font-size: 17px;
	line-height: 1.75;
	color: var(--mal-text);
}
.mal-hyp-schluss {
	position: relative;
	isolation: isolate;
	display: grid;
	grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
	gap: 32px 80px;
	align-items: end;
	margin-top: clamp(64px, 7vw, 104px) !important;
	padding-block: clamp(64px, 7vw, 96px);
}
.mal-hyp-schluss::before {
	content: "";
	position: absolute;
	z-index: -1;
	inset: 0 calc(50% - 50vw);
	border-block: 1px solid rgba(160, 127, 166, 0.25);
	background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(58, 36, 64, 0.6) 0%, rgba(21, 17, 26, 0.9) 75%);
}
.mal-hyp-schluss > * {
	margin: 0 !important;
}
.mal-hyp-schluss__text {
	max-width: 38ch;
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(1.5rem, 2.1vw, 1.875rem) !important;
	line-height: 1.45;
	color: var(--wp--preset--color--contrast);
}
.mal-hyp-schluss__aktionen {
	gap: 12px 28px !important;
	align-items: center;
}

@media (max-width: 860px) {
	.mal-hyp__raster {
		padding-top: 40px;
	}
	.mal-hyp__raster:has(.mal-hyp-vorspann) {
		grid-template-columns: minmax(0, 1fr);
	}
	:where(.mal-hyp__raster:has(.mal-hyp-vorspann)) > *,
	:where(.mal-hyp__raster:has(.mal-hyp-vorspann) .mal-hyp__inhalt) > * {
		grid-column: 1 / -1 !important;
		grid-row: auto !important;
		order: 2;
	}
	.mal-hyp__raster:has(.mal-hyp-vorspann) .mal-hyp__titel,
	.mal-hyp__raster .mal-hyp-vorspann {
		order: 0;
	}
	.mal-hyp__raster:has(.mal-hyp-vorspann) .mal-hyp__bild {
		order: 1;
		margin: 28px calc(-1 * var(--mal-rand)) 0 !important;
	}
	.mal-hyp__raster:has(.mal-hyp-vorspann) .mal-hyp-leitsatz {
		margin-top: 40px !important;
	}
	.mal-hyp__titel {
		font-size: 44px !important;
	}
	.mal-bild.mal-hyp__bild {
		width: auto;
		max-height: none;
		aspect-ratio: 4 / 3;
		margin-inline: calc(-1 * var(--mal-rand)) !important;
	}
	.mal-hyp-leitsatz::before,
	.mal-hyp-leitsatz::after {
		margin-left: 0;
	}
	.mal-hyp-leitsatz p {
		font-size: 27px !important;
		text-align: left;
	}
	.mal-hyp-themen {
		grid-template-columns: minmax(0, 1fr);
		gap: 36px;
		margin-top: 28px !important;
	}
	.mal-hyp-thema > p {
		padding-left: 0;
	}
	.mal-hyp__raster .mal-hyp-trance {
		padding-top: 12px;
	}
	.mal-hyp-schluss {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* ==========================================================================
   Fussbereich: „Seiten“ in zwei Spalten mit allen zwoelf Links
   ========================================================================== */
.mal-fuss {
	padding-block: 64px 28px;
	border-top: 1px solid rgba(198, 166, 107, 0.4);
	background: rgba(11, 11, 15, 0.95);
}
.mal-fuss > * {
	margin-block: 0 !important;
}
.mal-fuss__raster {
	display: grid;
	grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 3fr);
	gap: 40px 56px;
}
.mal-fuss__raster > *,
.mal-fuss__raster > * > * {
	margin: 0 !important;
}
.mal-fuss__name {
	font-size: 28px !important;
	font-weight: 500;
	line-height: 1.1;
	color: var(--wp--preset--color--contrast);
}
.mal-fuss__claim {
	margin-top: 10px !important;
	font-size: 14px !important;
	color: var(--mal-taupe);
}
.mal-fuss__titel {
	margin-bottom: 12px !important;
	font-family: var(--wp--preset--font-family--body) !important;
	font-size: 13px !important;
	font-weight: 600 !important;
	line-height: 1.4 !important;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--mal-gold) !important;
}
.mal-fuss__liste {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	grid-template-rows: repeat(6, auto);
	grid-auto-flow: column;
	column-gap: 28px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.mal-fuss__liste li {
	margin: 0;
	min-width: 0;
}
.mal-fuss__liste a {
	display: flex;
	align-items: center;
	min-height: 44px;
	font-size: 15px;
	line-height: 1.3;
	color: rgba(244, 239, 231, 0.9);
	text-decoration: none;
	overflow-wrap: anywhere;
	hyphens: auto;
}
.mal-fuss__liste a:hover,
.mal-fuss__basis a:hover {
	color: var(--mal-ame);
	text-decoration: none;
}
.mal-fuss__anfrage {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 18px;
}
.mal-fuss__anfrage .mal-fuss__titel {
	margin-bottom: 0 !important;
}
.mal-fuss__text {
	font-size: 15px !important;
	color: var(--mal-taupe);
}
.mal-fuss__aktion > .wp-block-button__link {
	border-color: rgba(198, 166, 107, 0.7) !important;
}
.mal-fuss__basis {
	gap: 12px 24px !important;
	margin-top: 48px !important;
	padding-top: 22px;
	border-top: 1px solid var(--mal-linie);
}
.mal-fuss__basis p {
	margin: 0 !important;
	font-size: 14px;
	color: var(--mal-taupe);
}
.mal-fuss__basis a {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	color: var(--mal-taupe);
	text-decoration: none;
}
@media (max-width: 860px) {
	.mal-fuss__raster {
		grid-template-columns: minmax(0, 1fr);
		gap: 36px;
	}
	.mal-fuss__basis {
		flex-direction: column;
		align-items: flex-start !important;
	}
	.mal-fuss__liste {
		column-gap: 16px;
	}
}
@media (max-width: 339px) {
	.mal-fuss__liste {
		grid-template-columns: minmax(0, 1fr);
		grid-template-rows: none;
		grid-auto-flow: row;
	}
}

/* ==========================================================================
   18+-Einstiegsdialog (inc/altersdialog.php). Sichtbar nur unter
   html.mal-gate; ohne JavaScript nie.
   ========================================================================== */
.mal-altersdialog {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 24px 16px;
	overflow-y: auto;
	font-family: var(--wp--preset--font-family--body);
	color: var(--wp--preset--color--contrast);
	-webkit-font-smoothing: antialiased;
	background:
		radial-gradient(ellipse 60% 70% at 58% 50%, rgba(58, 36, 64, 0.55) 0%, rgba(11, 11, 15, 0) 70%),
		var(--mal-hintergrund, none) left center / cover no-repeat,
		#0B0B0F;
}
.mal-altersdialog,
.mal-altersdialog * {
	box-sizing: border-box;
}
.mal-altersdialog__karte {
	position: relative;
	width: 100%;
	max-width: 500px;
	margin: auto;
	padding: 1px;
	background: linear-gradient(160deg, rgba(160, 127, 166, 0.95) 0%, rgba(84, 21, 45, 0.9) 50%, rgba(198, 166, 107, 0.55) 100%);
	box-shadow: 0 60px 120px -50px rgba(160, 127, 166, 0.55), 0 30px 80px -30px rgba(0, 0, 0, 0.95);
}
.mal-altersdialog__innen {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
	padding: clamp(28px, 5vw, 48px) clamp(22px, 5vw, 48px) clamp(24px, 4vw, 36px);
	text-align: center;
	background: linear-gradient(160deg, rgba(33, 19, 28, 0.97) 0%, rgba(21, 17, 26, 0.98) 55%, rgba(11, 11, 15, 0.98) 100%);
}
.mal-altersdialog__innen > * {
	margin: 0;
}
.mal-altersdialog__marke {
	font-family: var(--wp--preset--font-family--display);
	font-size: 22px;
	font-weight: 500;
	line-height: 1.1;
}
.mal-altersdialog__linie {
	width: 96px;
	height: 1px;
	border: 0;
	background: linear-gradient(90deg, rgba(160, 127, 166, 0), rgba(198, 166, 107, 0.85), rgba(160, 127, 166, 0));
}
.mal-altersdialog__titel {
	margin-top: 4px;
	margin-bottom: 0.67em; /* 0.5.5: H2 statt H1 (R5-A11Y-01), Abstand wie zuvor */
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(30px, 4vw, 40px);
	font-weight: 500;
	line-height: 1.12;
	text-wrap: balance;
}
.mal-altersdialog__titel:focus {
	outline: none;
}
.mal-altersdialog__text {
	max-width: 40ch;
	font-size: 17px;
	line-height: 1.65;
	color: rgba(244, 239, 231, 0.88);
	text-wrap: balance;
}
.mal-altersdialog__aktionen {
	display: flex;
	flex-direction: column;
	gap: 12px;
	width: 100%;
	margin-top: 8px;
}
.mal-altersdialog__ja,
.mal-altersdialog__nein {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 52px;
	padding: 12px 20px;
	border: 1px solid rgba(198, 166, 107, 0.65);
	border-radius: 0;
	background: linear-gradient(120deg, #54152D 0%, #54152D 45%, #3A2440 100%);
	background-size: 220% 100%;
	background-position: 0 0;
	font-family: var(--wp--preset--font-family--body);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: 0.08em;
	text-align: center;
	text-decoration: none;
	text-transform: uppercase;
	text-wrap: balance;
	color: var(--wp--preset--color--contrast);
	cursor: pointer;
	transition: background-position 0.45s ease, border-color 0.2s;
}
.mal-altersdialog__ja:hover {
	background-position: 100% 0;
	border-color: var(--mal-ame);
}
.mal-altersdialog__nein {
	min-height: 48px;
	border-color: rgba(244, 239, 231, 0.38);
	background: transparent;
}
.mal-altersdialog__nein:hover {
	border-color: var(--mal-ame);
	background: rgba(160, 127, 166, 0.14);
	color: var(--wp--preset--color--contrast);
	text-decoration: none;
}
.mal-altersdialog__ja:focus-visible,
.mal-altersdialog__nein:focus-visible,
.mal-altersdialog__recht a:focus-visible {
	outline: 2px solid var(--mal-gold);
	outline-offset: 3px;
}
.mal-altersdialog__recht {
	margin-top: 6px !important;
	font-size: 14px;
	color: var(--mal-taupe);
}
.mal-altersdialog__recht a {
	display: inline-block;
	padding: 8px 4px;
	color: var(--mal-taupe);
	text-decoration: none;
}
.mal-altersdialog__recht a:hover {
	color: var(--mal-ame);
}
@media (max-width: 860px) {
	.mal-altersdialog {
		background:
			radial-gradient(ellipse 60% 70% at 58% 50%, rgba(58, 36, 64, 0.55) 0%, rgba(11, 11, 15, 0) 70%),
			var(--mal-hintergrund-klein, var(--mal-hintergrund, none)) 22% center / cover no-repeat,
			#0B0B0F;
	}
}
@media (max-height: 600px) {
	.mal-altersdialog__innen {
		gap: 14px;
	}
	.mal-altersdialog__marke,
	.mal-altersdialog__linie {
		display: none;
	}
}

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

/* ==========================================================================
   Bewegung
   ========================================================================== */
@supports (animation-timeline: view()) {
	.mal-reveal {
		animation: mal-fade-in linear both;
		animation-timeline: view();
		animation-range: entry 0% entry 35%;
	}
}
@keyframes mal-fade-in {
	from { opacity: 0; }
	to   { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
		scroll-behavior: auto !important;
	}
	.mal-reveal {
		animation: none;
		opacity: 1;
	}
}

/* ==========================================================================
   Fassung 0.4.4 (Auftrag 21): Monatsuebersicht auf "Orte & Termine"
   Gleiche Flaechen, Linien und Schriften wie die Terminliste. Zustaende
   immer mit Symbol und Text, nie nur ueber Farbe. Auf schmalen Geraeten
   zeigt das Raster nur Symbole; die Liste darunter nennt alles ausfuehrlich.
   ========================================================================== */
.mal-kalender {
	display: grid;
	gap: var(--wp--preset--spacing--20);
}
.mal-kalender > * {
	margin: 0 !important;
}
.mal-kalender__einleitung,
.mal-kalender__anfrage,
.mal-kalender__leer {
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--contrast-2);
	max-width: 40rem;
}
.mal-kalender__unsichtbar {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
.mal-kalender__nav {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
	align-items: center;
	gap: 0.75rem;
	padding-block: 0.75rem;
	border-block: var(--wp--custom--rule);
}
.mal-kalender__monat {
	margin: 0;
	font-family: var(--wp--preset--font-family--display);
	font-size: 1.5rem;
	font-weight: 500;
	line-height: 1.2;
	color: var(--wp--preset--color--contrast);
	text-align: center;
}
.mal-kalender__blaettern {
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--contrast-2);
	text-decoration: none;
	padding: 0.5rem 0.25rem;
	min-height: 2.75rem;
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
}
.mal-kalender__blaettern--vor {
	justify-self: end;
}
.mal-kalender__blaettern:hover {
	color: var(--wp--preset--color--accent);
}
.mal-kalender__heute-link {
	font-size: var(--wp--preset--font-size--small);
	text-align: center;
}
.mal-kalender__heute-link a {
	color: var(--wp--preset--color--contrast-2);
}
.mal-kalender__raster {
	width: 100%;
	table-layout: fixed;
	border-collapse: collapse;
	background: rgba(11, 11, 15, 0.55);
}
.mal-kalender__raster th {
	padding: 0.5rem 0.25rem;
	font-size: var(--wp--preset--font-size--label);
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--wp--preset--color--contrast-2);
	text-align: left;
	border-bottom: 1px solid var(--mal-linie);
}
.mal-kalender__raster abbr {
	text-decoration: none;
	cursor: default;
}
.mal-kalender__zelle {
	height: 6.25rem;
	padding: 0.4rem;
	vertical-align: top;
	border: 1px solid var(--mal-linie);
	overflow: hidden;
}
.mal-kalender__zelle--aussen {
	background: rgba(11, 11, 15, 0.35);
}
.mal-kalender__zelle--belegt {
	background: rgba(58, 36, 64, 0.38);
}
.mal-kalender__zelle--vorbei {
	opacity: 0.6;
}
.mal-kalender__zelle--heute {
	outline: 1px solid var(--mal-gold);
	outline-offset: -2px;
}
.mal-kalender__tag {
	display: block;
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--contrast-2);
	line-height: 1.2;
}
.mal-kalender__zelle--heute .mal-kalender__tag {
	color: var(--mal-gold);
	font-weight: 700;
}
.mal-kalender__tageintraege {
	margin: 0.3rem 0 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 0.2rem;
}
.mal-kalender__eintrag {
	font-size: 0.8125rem;
	line-height: 1.25;
	color: var(--wp--preset--color--contrast);
	overflow-wrap: anywhere;
}
.mal-kalender__symbol {
	color: var(--mal-taupe);
}
.mal-kalender__eintrag--anfrage .mal-kalender__symbol {
	color: var(--mal-gold);
}
.mal-kalender__eintrag--ausgebucht .mal-kalender__symbol {
	color: var(--mal-ame);
}
.mal-kalender__eintrag--abgesagt .mal-kalender__ort {
	text-decoration: line-through;
	color: var(--wp--preset--color--contrast-2);
}
.mal-kalender__eintrag--vorbei {
	color: var(--wp--preset--color--contrast-2);
}
.mal-kalender__legende {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem 1.25rem;
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--contrast-2);
}
.mal-kalender__legende > span > span:first-child {
	color: var(--mal-taupe);
}
.mal-kalender__legende > span:first-child > span:first-child {
	color: var(--mal-gold);
}
.mal-kalender__legende > span:nth-child(3) > span:first-child {
	color: var(--mal-ame);
}
.mal-kalender__liste {
	display: grid;
	gap: 0.75rem;
}
.mal-kalender__liste > * {
	margin: 0 !important;
}
.mal-kalender__listentitel {
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--label);
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--wp--preset--color--contrast-2);
}
.mal-kalender__listeneintraege {
	margin: 0;
	padding: 0;
	list-style: none;
	border-top: var(--wp--custom--rule);
}
.mal-kalender__listeneintrag {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 0.2rem 1.25rem;
	padding-block: 0.9rem;
	border-bottom: var(--wp--custom--rule);
}
.mal-kalender__zeitraum {
	font-family: var(--wp--preset--font-family--display);
	font-size: 1.25rem;
	line-height: 1.2;
	color: var(--wp--preset--color--contrast);
}
.mal-kalender__stadt {
	font-weight: 600;
}
.mal-kalender__stadt a {
	color: inherit;
	text-decoration-color: var(--mal-gold);
	text-underline-offset: 0.2em;
}
.mal-kalender__ortsangabe,
.mal-kalender__notiz {
	font-weight: 400;
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--contrast-2);
}
.mal-kalender__zustand {
	font-size: var(--wp--preset--font-size--label);
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--wp--preset--color--contrast-2);
}
.mal-kalender__listeneintrag--anfrage .mal-kalender__zustand {
	color: var(--mal-gold);
}
.mal-kalender__listeneintrag--ausgebucht .mal-kalender__zustand {
	color: var(--mal-ame);
}
.mal-kalender__listeneintrag--abgesagt .mal-kalender__zeitraum,
.mal-kalender__listeneintrag--abgesagt .mal-kalender__stadt {
	text-decoration: line-through;
	color: var(--wp--preset--color--contrast-2);
}
.mal-kalender__listeneintrag--vorbei {
	opacity: 0.7;
}
.mal-kalender + * {
	margin-top: var(--wp--preset--spacing--50) !important;
}
@media (min-width: 40rem) {
	/* Feste dritte Spalte: sonst verschiebt die Laenge des Zustands die Stadt-Spalte je Zeile */
	.mal-kalender__listeneintrag {
		grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) 11rem;
		align-items: baseline;
	}
	.mal-kalender__zustand {
		justify-self: end;
		text-align: right;
	}
	.mal-kalender__notiz {
		grid-column: 2 / -1;
	}
}
/* Schmale Geraete: im Raster nur Symbole, Text bleibt fuer Screenreader */
@media (max-width: 39.99rem) {
	.mal-kalender__nav {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	}
	.mal-kalender__monat {
		grid-column: 1 / -1;
		grid-row: 1;
	}
	.mal-kalender__zelle {
		height: 3.25rem;
		padding: 0.25rem 0.2rem;
	}
	.mal-kalender__raster th {
		padding: 0.4rem 0.2rem;
		letter-spacing: 0.02em;
	}
	.mal-kalender__eintrag .mal-kalender__ort {
		position: absolute !important;
		width: 1px;
		height: 1px;
		margin: -1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
		white-space: nowrap;
	}
	.mal-kalender__tageintraege {
		display: flex;
		flex-wrap: wrap;
		gap: 0 0.15rem;
	}
}
@media print {
	.mal-kalender__nav a {
		display: none;
	}
}
