/* ===== Kartenstil: Karte (breiter, mit optionalem Foto) ===== */
.mb-leistung-karte {
	display: flex;
	align-items: center;
	background: #fff;
	border: 1px solid #E1E4E7;
	border-radius: 16px;
	overflow: hidden;
	max-width: 720px;
	margin: 0 auto;
	box-shadow: 0 8px 20px rgba(14, 27, 38, 0.06);
}
/* Festes 1:1-Seitenverhältnis statt variabler Höhe (die sich bisher nach der
   Textlänge richtete) — dadurch ist der Bildausschnitt immer vorhersehbar,
   unabhängig vom Text daneben. Bild wird immer eingepasst, nie beschnitten
   (object-fit:contain) — Freiraum bei abweichendem Seitenverhältnis wird
   mit dezentem Hintergrund gefüllt statt Bildinhalt zu verlieren. */
.mb-leistung-foto {
	aspect-ratio: 1 / 1;
	background: var(--wp--preset--color--blau-hell, #EEF4FA);
	flex-shrink: 0;
	align-self: stretch;
}
.mb-leistung-foto-klein { width: 90px; }
.mb-leistung-foto-mittel { width: 140px; }
.mb-leistung-foto-gross { width: 220px; }
.mb-leistung-foto img { width: 100%; height: 100%; object-fit: contain; display: block; }
.mb-leistung-body { padding: 22px 26px; }
.mb-leistung-badge {
	display: inline-block;
	font-family: "IBM Plex Mono", monospace;
	font-size: 0.68rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	padding: 4px 10px;
	border-radius: 20px;
	margin-bottom: 10px;
}
/* Schriftarten hier bewusst EXPLIZIT gesetzt statt auf Vererbung zu
   vertrauen — Kadence kann globale Typografie-Regeln lokal überschreiben
   (siehe Merkzettel, mehrfach in dieser Session aufgetreten). Entspricht
   der etablierten 3-Schriften-Hierarchie: Sora=Überschrift,
   IBM Plex Sans=Fließtext, IBM Plex Mono=Meta/Label. */
.mb-leistung-body h3,
.mb-leistung-ticket h3 {
	font-family: var(--wp--preset--font-family--sora, 'Sora', sans-serif) !important;
	font-weight: 700;
	font-size: 1.1rem;
	margin: 0 0 8px;
}
.mb-leistung-body h3 a,
.mb-leistung-ticket h3 a {
	color: inherit;
	text-decoration: none;
}
.mb-leistung-body h3 a:hover,
.mb-leistung-ticket h3 a:hover {
	text-decoration: underline;
}
.mb-leistung-text {
	font-family: var(--wp--preset--font-family--plex-sans, 'IBM Plex Sans', sans-serif);
	font-size: 0.9rem; color: #5b6670; margin: 0 0 14px; line-height: 1.5;
}
.mb-leistung-termin-hinweis {
	display: inline-block;
	font-family: "IBM Plex Mono", monospace;
	font-size: 0.78rem;
	color: var(--wp--preset--color--grau-dunkel);
	margin: -6px 0 12px;
}
.mb-leistung-cta {
	font-family: var(--wp--preset--font-family--plex-sans, 'IBM Plex Sans', sans-serif);
	font-size: 0.85rem; font-weight: 700; color: var(--wp--preset--color--blau); text-decoration: none;
}
.mb-leistung-cta:hover { text-decoration: underline; }

/* Kategorie-Badges: beide bewusst Blau. Grün ist exklusiv der
   Servicewissen-Achse (Wissensartikel/Glossar) vorbehalten — Leistung/
   Training gehört nicht dazu (Farb-Kohärenz-Regel, siehe Merkzettel). */
.mb-leistung-badge { color: var(--wp--preset--color--blau); background: rgba(0, 76, 153, 0.08); }
.mb-leistung-tag { color: var(--wp--preset--color--blau); }

@media (max-width: 640px) {
	.mb-leistung-karte { flex-direction: column; text-align: center; }
	.mb-leistung-foto,
	.mb-leistung-foto-klein,
	.mb-leistung-foto-mittel,
	.mb-leistung-foto-gross {
		width: 140px;
		margin: 22px auto 0;
		border-radius: 12px;
		overflow: hidden;
	}
	.mb-leistung-body { text-align: left; }
}

/* ===== Kartenstil: Ticket (kompakt, kein Foto) ===== */
.mb-leistung-ticket {
	background: #fff;
	border: 1px solid #E1E4E7;
	border-radius: 12px 12px 0 0;
	border-bottom: 2px dashed #c7cdd1;
	padding: 18px 22px;
	max-width: 420px;
	margin: 0 auto;
}
.mb-leistung-tag {
	font-family: "IBM Plex Mono", monospace;
	font-size: 0.7rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	margin: 0 0 8px;
}
.mb-leistung-ticket h3 { font-size: 1rem; margin: 0 0 6px; }
.mb-leistung-ticket .mb-leistung-text { margin-bottom: 12px; }
.mb-leistung-ticket .mb-leistung-cta { font-size: 0.82rem; }
