/* ==========================================================================
   Abo, Kasse, Konto (WooCommerce ohne eigene Stile)
   Nur Design-Variablen, Haarlinien statt Kästen, Schrift: H1, H4,
   Grundtext, UI.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Probe-Leiste oben am Browserrand
   -------------------------------------------------------------------------- */

.hmv-probe-leiste {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--space-sm) var(--space-lg);
	margin: calc(var(--frame-outer-margin) * -1) calc(var(--frame-outer-margin) * -1) var(--frame-outer-margin);
	padding: var(--space-sm) var(--space-lg);
	background: var(--color-text);
	color: var(--color-bg);
	font-family: var(--font-ui);
	font-size: var(--font-size-ui);
	line-height: var(--line-height-ui);
}

.hmv-probe-leiste[hidden] {
	display: none;
}

.hmv-probe-leiste__text {
	flex: 1 1 auto;
	margin: 0;
}

.hmv-probe-leiste__text strong {
	margin-right: var(--space-xs);
}

.hmv-probe-leiste__link {
	color: inherit;
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

.hmv-probe-leiste__zu {
	min-width: var(--space-2xl);
	min-height: var(--space-2xl);
	padding: 0 var(--space-xs);
	background: none;
	border: 0;
	color: inherit;
	font-size: var(--font-size-h4);
	line-height: 1;
	cursor: pointer;
}

/* --------------------------------------------------------------------------
   Abo-Seite
   -------------------------------------------------------------------------- */

.hmv-abo-punkte,
.hmv-kasse-punkte,
.hmv-danke-schritte {
	display: grid;
	gap: var(--space-sm);
	margin: var(--space-lg) 0 0;
	padding-left: var(--space-lg);
	max-width: var(--wp--custom--content-width--prose);
}

.hmv-abo-form {
	display: flex;
	flex-direction: column;
	gap: var(--space-md);
}

.hmv-abo-form > * {
	margin: 0;
}

.hmv-abo-preis {
	font-family: var(--font-headline);
	font-size: var(--font-size-h1);
	line-height: var(--line-height-h1);
}

.hmv-abo-preis__zusatz,
.hmv-abo-plaetze,
.hmv-abo-klein,
.hmv-kasse-fuss {
	font-family: var(--font-ui);
	font-size: var(--font-size-ui);
	line-height: var(--line-height-ui);
	color: var(--color-muted);
}

.hmv-abo-option {
	display: flex;
	gap: var(--space-sm);
	align-items: flex-start;
	padding-block: var(--space-md);
	border-block: var(--border-width) solid var(--color-border);
	cursor: pointer;
}

.hmv-abo-option input {
	flex: 0 0 auto;
	width: 1.25em;
	height: 1.25em;
	margin-top: 0.2em;
	accent-color: var(--color-text);
}

.hmv-abo-option strong {
	display: block;
}

.hmv-abo-probe {
	margin-top: var(--space-xl);
	padding-top: var(--space-md);
	border-top: var(--border-width) solid var(--color-border);
}

.hmv-abo-probe > * {
	margin: 0 0 var(--space-xs);
}

/* Kopf der Bestellseite */
.hmv-abo__kopf > * {
	margin: 0;
}

.hmv-abo__kopf > * + * {
	margin-top: var(--space-md);
}

.hmv-abo__sicher,
.hmv-abo__fuss p {
	font-family: var(--font-ui);
	font-size: var(--font-size-ui);
	line-height: var(--line-height-ui);
	color: var(--color-muted);
}

.hmv-abo__fuss p {
	max-width: var(--wp--custom--content-width--prose);
	margin: 0 0 var(--space-xs);
}

/* Liste mit Haken (gemeinsame Leistungen und Leistungen je Stufe) */
.hmv-haken {
	display: grid;
	align-content: start;
	gap: var(--space-xs);
	margin: 0;
	padding: 0;
	list-style: none;
}

.hmv-haken li {
	display: flex;
	align-items: baseline;
	gap: 0.65em;
}

.hmv-haken li::before {
	content: '';
	flex: 0 0 auto;
	width: 0.32em;
	height: 0.6em;
	border: solid currentColor;
	border-width: 0 calc(var(--border-width) * 2) calc(var(--border-width) * 2) 0;
	transform: translateY(-0.1em) rotate(45deg);
}

/* „In jedem Abo“: einmal über den Karten, statt dreimal in den Karten */
.hmv-abo .hmv-abo__alle {
	margin-top: var(--space-xl);
	padding-block: var(--space-md);
	border-block: var(--border-width) solid var(--color-border);
}

.hmv-abo__alle-titel,
.hmv-abo__probe-titel {
	margin: 0 0 var(--space-sm);
	font-family: var(--font-ui);
	font-size: var(--font-size-ui);
	line-height: var(--line-height-ui);
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: var(--wp--custom--letter-spacing--button);
	color: var(--color-muted);
}

@media (min-width: 768px) {
	.hmv-abo__alle .hmv-haken {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: var(--grid-gap);
	}
}

@media (min-width: 1280px) {
	.hmv-abo__alle .hmv-haken {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

/* Drei Karten. Alle teilen sich dieselben Zeilen (subgrid), damit Name,
   Zahl, Preis und Knopf auf einer Höhe stehen. Der Knopf steht direkt
   unter dem Preis. */
.hmv-abo .hmv-plaene {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--space-md);
	margin: var(--space-xl) 0 0;
	padding: 0;
	list-style: none;
}

@media (min-width: 768px) {
	.hmv-abo .hmv-plaene {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.hmv-plan {
	display: flex;
	flex-direction: column;
	padding: var(--space-lg);
	border: var(--border-width) solid var(--color-border-soft);
	border-radius: var(--radius-sm);
}

.hmv-plan > * {
	margin: 0;
}

@media (min-width: 768px) {
	.hmv-plan {
		display: grid;
		grid-template-rows: subgrid;
		grid-row: span 8;
		align-items: start;
	}
}

/* Empfehlung: kräftiger Rahmen in Textfarbe (ohne Sprung im Layout) */
.hmv-plan--empfohlen {
	border-color: var(--color-text);
	box-shadow: 0 0 0 var(--border-width) var(--color-text);
}

.hmv-plan__kenn,
.hmv-plan__zeitraum,
.hmv-plan__abstand,
.hmv-plan__grenze {
	font-family: var(--font-ui);
	font-size: var(--font-size-ui);
	line-height: var(--line-height-ui);
	color: var(--color-muted);
}

.hmv-plan__kenn {
	margin-bottom: var(--space-sm);
	text-transform: uppercase;
	letter-spacing: var(--wp--custom--letter-spacing--button);
}

.hmv-plan--empfohlen .hmv-plan__kenn {
	color: var(--color-text);
	font-weight: 700;
}

.hmv-plan__name,
.hmv-plan__betrag {
	font-family: var(--font-headline);
	font-size: var(--font-size-h4);
	line-height: var(--line-height-h4);
}

/* Die eine Zahl der Karte: wie viele Personen lesen */
.hmv-plan__zugaenge {
	display: flex;
	align-items: baseline;
	gap: var(--space-sm);
	margin-top: var(--space-xs);
}

.hmv-plan__zahl {
	font-family: var(--font-headline);
	font-size: var(--font-size-h1);
	line-height: var(--line-height-h1);
	white-space: nowrap;
}

.hmv-plan__satz {
	margin-top: var(--space-sm);
	color: var(--color-muted);
}

.hmv-plan__preis {
	display: flex;
	flex-direction: column;
	margin-top: var(--space-lg);
	padding-top: var(--space-md);
	border-top: var(--border-width) solid var(--color-border-soft);
}

.hmv-plan__betrag {
	font-weight: 700;
}

.hmv-plan__abstand {
	margin-top: var(--space-xs);
	color: var(--color-text);
}

.hmv-plan__kasse {
	margin-top: var(--space-md);
}

/* Knopf je Karte: Empfehlung farbig, die anderen als Rahmenknopf */
.hmv-plan__knopf {
	display: block;
	padding: var(--space-md) var(--space-lg);
	font-family: var(--font-ui);
	font-size: var(--font-size-ui);
	letter-spacing: var(--wp--custom--letter-spacing--button);
	text-align: center;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--color-text);
	background: transparent;
	border: var(--border-width) solid var(--color-text);
	border-radius: var(--radius-sm);
}

.hmv-plan--empfohlen .hmv-plan__knopf {
	color: var(--wp--custom--flaeche--text);
	background: var(--wp--custom--flaeche--bg);
	border-color: var(--wp--custom--flaeche--bg);
}

html[data-theme='dark'] .hmv-plan--empfohlen .hmv-plan__knopf {
	color: var(--wp--custom--dark--flaeche-text);
	background: var(--wp--custom--dark--flaeche-bg);
	border-color: var(--wp--custom--dark--flaeche-bg);
}

.hmv-plan .hmv-plan__knopf:hover,
.hmv-plan .hmv-plan__knopf:focus-visible {
	color: var(--color-bg);
	background: var(--color-text);
	border-color: var(--color-text);
}

.hmv-plan__liste {
	margin-top: var(--space-lg);
}

.hmv-plan__grenze {
	margin-top: var(--space-md);
	padding-top: var(--space-sm);
	border-top: var(--border-width) solid var(--color-border-soft);
}

.hmv-abo .hmv-abo__sicher {
	margin-top: var(--space-md);
}

/* Probe: Nebenweg unter den Karten, Bedingung im selben Absatz */
.hmv-abo .hmv-abo__probe {
	max-width: var(--wp--custom--content-width--prose);
	margin-top: var(--space-xl);
	padding-top: var(--space-md);
	border-top: var(--border-width) solid var(--color-border);
}

.hmv-abo__probe > p {
	margin: 0 0 var(--space-sm);
}

.hmv-abo__probe-link,
.hmv-bedingungen a {
	color: inherit;
	font-weight: 700;
	text-decoration: underline;
	text-decoration-thickness: calc(var(--border-width) * 2);
	text-underline-offset: 0.25em;
}

/* --------------------------------------------------------------------------
   Kasse und Konto: gemeinsame Grundlagen
   -------------------------------------------------------------------------- */

.hmv-shop {
	display: flex;
	flex-direction: column;
	gap: var(--space-xl);
}

.hmv-shop .woocommerce {
	display: flex;
	flex-direction: column;
	gap: var(--space-xl);
}

.hmv-shop label,
.hmv-shop .form-row > label {
	display: block;
	margin-bottom: var(--space-xs);
	font-family: var(--font-ui);
	font-size: var(--font-size-ui);
	line-height: var(--line-height-ui);
}

.hmv-shop .required {
	color: var(--color-text);
	text-decoration: none;
	border: 0;
}

.hmv-shop input.input-text,
.hmv-shop input[type="text"],
.hmv-shop input[type="email"],
.hmv-shop input[type="tel"],
.hmv-shop input[type="password"],
.hmv-shop select,
.hmv-shop textarea {
	width: 100%;
	padding: var(--space-md);
	font: inherit;
	color: var(--color-text);
	background: var(--color-muted-bg);
	border: var(--border-width) solid transparent;
	border-radius: var(--radius-sm);
}

.hmv-shop input:focus,
.hmv-shop select:focus,
.hmv-shop textarea:focus {
	outline: var(--border-width) solid var(--color-text);
	background: var(--color-muted-bg-hover);
}

.hmv-shop .form-row {
	margin: 0 0 var(--space-md);
	padding: 0;
}

.hmv-shop .form-row.woocommerce-invalid input.input-text {
	border-color: var(--color-error);
}

.hmv-shop .checkbox,
.hmv-shop .woocommerce-form__label-for-checkbox {
	display: flex;
	gap: var(--space-sm);
	align-items: flex-start;
	font-family: var(--font-body);
	font-size: var(--font-size-body);
}

.hmv-shop input[type="checkbox"],
.hmv-shop input[type="radio"] {
	flex: 0 0 auto;
	width: 1.1em;
	height: 1.1em;
	margin-top: 0.25em;
	accent-color: var(--color-text);
}

/* Knöpfe wie .btn */
.hmv-shop .button,
.hmv-shop button[type="submit"],
.hmv-shop #place_order {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: var(--space-md) var(--space-lg);
	font-family: var(--font-ui);
	font-size: var(--font-size-ui);
	letter-spacing: var(--wp--custom--letter-spacing--button);
	text-transform: uppercase;
	text-decoration: none;
	color: var(--color-bg);
	background: var(--color-text);
	border: var(--border-width) solid var(--color-text);
	border-radius: var(--radius-sm);
	cursor: pointer;
}

.hmv-shop .button:hover,
.hmv-shop .button:focus-visible,
.hmv-shop #place_order:hover,
.hmv-shop #place_order:focus-visible {
	color: var(--color-text);
	background: transparent;
}

.hmv-shop #place_order {
	width: 100%;
}

/* Meldungen */
.woocommerce-error,
.woocommerce-message,
.woocommerce-info,
.hmv-hinweis {
	margin: 0 0 var(--space-lg);
	padding: var(--space-md) var(--space-lg);
	list-style: none;
	border: var(--border-width) solid var(--color-border);
	border-left-width: calc(var(--border-width) * 4);
	border-radius: var(--radius-sm);
}

.woocommerce-error {
	border-color: var(--color-error);
	color: var(--color-error);
}

.woocommerce-error li + li {
	margin-top: var(--space-xs);
}

.hmv-hinweis > p {
	margin: 0;
}

.hmv-hinweis > p + p {
	margin-top: var(--space-xs);
}

/* Tabellen (Bestellübersicht, Bestellungen, Abos) */
.hmv-shop table.shop_table,
.hmv-shop table.my_account_orders,
.hmv-shop table {
	width: 100%;
	border-collapse: collapse;
	font-size: var(--font-size-body);
}

.hmv-shop table th,
.hmv-shop table td {
	padding: var(--space-sm) var(--space-sm) var(--space-sm) 0;
	text-align: left;
	vertical-align: top;
	border-bottom: var(--border-width) solid var(--color-border);
}

.hmv-shop table th {
	font-family: var(--font-ui);
	font-size: var(--font-size-ui);
	font-weight: 400;
	color: var(--color-muted);
}

.hmv-shop table .product-total,
.hmv-shop table td:last-child {
	text-align: right;
	padding-right: 0;
}

.hmv-shop .order-total td,
.hmv-shop .order-total th {
	font-weight: 700;
	color: var(--color-text);
}

/* --------------------------------------------------------------------------
   Kasse
   -------------------------------------------------------------------------- */

.hmv-kasse-kopf {
	padding-bottom: var(--space-lg);
	border-bottom: var(--border-width) solid var(--color-border);
}

.hmv-kasse-kopf > * {
	margin: 0;
}

.hmv-kasse-kopf h1 {
	margin-top: var(--space-xs);
}

form.checkout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--space-xl) var(--grid-gap);
}

@media (min-width: 1024px) {
	form.checkout {
		grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
		align-items: start;
	}

	form.checkout #order_review_heading,
	form.checkout #order_review {
		grid-column: 2;
	}

	form.checkout #customer_details {
		grid-column: 1;
		grid-row: 1 / span 2;
	}

	form.checkout #order_review {
		padding-left: var(--space-xl);
		border-left: var(--border-width) solid var(--color-border);
	}
}

form.checkout h3,
#order_review_heading {
	margin: 0 0 var(--space-md);
	font-family: var(--font-ui);
	font-size: var(--font-size-h4);
	line-height: var(--line-height-h4);
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: var(--wp--custom--letter-spacing--button);
}

#customer_details .col-2:empty,
.woocommerce-shipping-fields:empty,
.woocommerce-additional-fields:empty {
	display: none;
}

@media (min-width: 768px) {
	.woocommerce-billing-fields__field-wrapper {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: var(--space-md);
	}

	.woocommerce-billing-fields__field-wrapper .form-row-wide,
	.woocommerce-billing-fields__field-wrapper #billing_company_field,
	.woocommerce-billing-fields__field-wrapper #billing_address_1_field,
	.woocommerce-billing-fields__field-wrapper #billing_address_2_field,
	.woocommerce-billing-fields__field-wrapper #billing_country_field,
	.woocommerce-billing-fields__field-wrapper #billing_email_field {
		grid-column: 1 / -1;
	}
}

/* Zahlarten */
#payment ul.payment_methods {
	margin: 0 0 var(--space-lg);
	padding: 0;
	list-style: none;
	border-top: var(--border-width) solid var(--color-border);
}

#payment ul.payment_methods > li {
	padding: var(--space-md) 0;
	border-bottom: var(--border-width) solid var(--color-border);
}

#payment ul.payment_methods > li > label {
	display: inline;
	margin-left: var(--space-xs);
	font-family: var(--font-body);
	font-size: var(--font-size-body);
	font-weight: 700;
}

#payment .payment_box {
	margin-top: var(--space-sm);
	padding-left: calc(1.1em + var(--space-sm));
}

#payment .payment_box p {
	margin: 0 0 var(--space-sm);
}

.woocommerce-terms-and-conditions-wrapper {
	margin-bottom: var(--space-lg);
}

.woocommerce-privacy-policy-text p {
	font-family: var(--font-ui);
	font-size: var(--font-size-ui);
	color: var(--color-muted);
}

.hmv-kasse-fuss {
	margin: var(--space-sm) 0 0;
}

/* Anmeldehinweis oben in der Kasse */
.woocommerce-form-login-toggle .woocommerce-info {
	margin-bottom: 0;
}

.woocommerce-form-login {
	max-width: var(--wp--custom--content-width--prose);
}

/* --------------------------------------------------------------------------
   Danke-Seite
   -------------------------------------------------------------------------- */

.hmv-danke {
	max-width: var(--wp--custom--content-width--prose);
}

.hmv-danke > * + * {
	margin-top: var(--space-lg);
}

.hmv-danke-schritte {
	gap: var(--space-md);
}

/* --------------------------------------------------------------------------
   Mein Konto
   -------------------------------------------------------------------------- */

@media (min-width: 1024px) {
	.hmv-shop .woocommerce:has(.woocommerce-MyAccount-navigation) {
		display: grid;
		grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
		gap: var(--space-xl) var(--grid-gap);
		align-items: start;
	}
}

.woocommerce-MyAccount-navigation ul {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-xs) var(--space-lg);
	margin: 0;
	padding: 0 0 var(--space-md);
	list-style: none;
	font-family: var(--font-ui);
	font-size: var(--font-size-ui);
	border-bottom: var(--border-width) solid var(--color-border);
}

@media (min-width: 1024px) {
	.woocommerce-MyAccount-navigation ul {
		flex-direction: column;
		padding: 0 var(--space-md) 0 0;
		border-bottom: 0;
		border-right: var(--border-width) solid var(--color-border);
	}
}

.woocommerce-MyAccount-navigation a {
	color: inherit;
	text-decoration: none;
}

.woocommerce-MyAccount-navigation .is-active a,
.woocommerce-MyAccount-navigation a:hover,
.woocommerce-MyAccount-navigation a:focus-visible {
	text-decoration: underline;
	text-decoration-thickness: calc(var(--border-width) * 2);
	text-underline-offset: 0.2em;
}

.woocommerce-MyAccount-content > * + * {
	margin-top: var(--space-lg);
}

.woocommerce-MyAccount-content h2,
.woocommerce-MyAccount-content h3 {
	font-family: var(--font-ui);
	font-size: var(--font-size-h4);
	line-height: var(--line-height-h4);
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: var(--wp--custom--letter-spacing--button);
}

/* Bildschirmleser-Texte von WooCommerce */
.hmv-shop .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Gutschein im Konto („Vorteile“): gestrichelter Rahmen wie ein Coupon
   -------------------------------------------------------------------------- */

.hmv-gutschein {
	display: grid;
	gap: var(--space-sm);
	justify-items: start;
	max-width: var(--wp--custom--content-width--prose);
	padding: var(--space-xl);
	border: calc(var(--border-width) * 2) dashed var(--color-text);
	border-radius: var(--radius-sm);
}

.hmv-gutschein > p {
	margin: 0;
}

.hmv-gutschein__kenn,
.hmv-gutschein__klein {
	font-family: var(--font-ui);
	font-size: var(--font-size-ui);
	line-height: var(--line-height-ui);
	color: var(--color-muted);
}

.hmv-gutschein__kenn {
	text-transform: uppercase;
	letter-spacing: var(--wp--custom--letter-spacing--button);
}

.hmv-gutschein__wert {
	font-family: var(--font-headline);
	font-size: var(--font-size-h1);
	line-height: var(--line-height-h1);
}

.hmv-gutschein__titel {
	font-family: var(--font-headline);
	font-size: var(--font-size-h4);
	line-height: var(--line-height-h4);
}

.hmv-gutschein__knopf {
	display: inline-block;
	margin-top: var(--space-sm);
	padding: var(--space-md) var(--space-lg);
	font-family: var(--font-ui);
	font-size: var(--font-size-ui);
	letter-spacing: var(--wp--custom--letter-spacing--button);
	text-transform: uppercase;
	text-decoration: none;
	color: var(--wp--custom--flaeche--text);
	background: var(--wp--custom--flaeche--bg);
	border: var(--border-width) solid var(--wp--custom--flaeche--bg);
	border-radius: var(--radius-sm);
}

html[data-theme='dark'] .hmv-gutschein__knopf {
	color: var(--wp--custom--dark--flaeche-text);
	background: var(--wp--custom--dark--flaeche-bg);
	border-color: var(--wp--custom--dark--flaeche-bg);
}

.hmv-gutschein__knopf:hover,
.hmv-gutschein__knopf:focus-visible {
	color: var(--color-bg);
	background: var(--color-text);
	border-color: var(--color-text);
}

/* --------------------------------------------------------------------------
   Nachbesserungen aus dem Besuchertest
   -------------------------------------------------------------------------- */

/* /insider/: Weg zum Abo unter der Überschrift */
.hmv-insider-start__wege {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--space-md) var(--space-lg);
}

/* Probe-Kasse: Zeilen „Das zahlen Sie“ */
.hmv-probe-zeile small {
	font-family: var(--font-ui);
	font-size: var(--font-size-ui);
	font-weight: 400;
	color: var(--color-muted);
}

/* Konto: nichts darf seitlich hinauslaufen */
.hmv-shop .woocommerce > *,
.woocommerce-MyAccount-content {
	min-width: 0;
}

.hmv-shop .button {
	max-width: 100%;
	white-space: normal;
	text-align: center;
}

@media (max-width: 767px) {
	/* Tabellen im Konto untereinander statt nebeneinander */
	.woocommerce-MyAccount-content table,
	.woocommerce-MyAccount-content tbody,
	.woocommerce-MyAccount-content tfoot,
	.woocommerce-MyAccount-content tr,
	.woocommerce-MyAccount-content th,
	.woocommerce-MyAccount-content td {
		display: block;
		width: 100%;
		text-align: left;
	}

	.woocommerce-MyAccount-content thead {
		display: none;
	}

	.woocommerce-MyAccount-content tr {
		padding-block: var(--space-sm);
		border-bottom: var(--border-width) solid var(--color-border);
	}

	.hmv-shop .woocommerce-MyAccount-content table th,
	.hmv-shop .woocommerce-MyAccount-content table td,
	.hmv-shop .woocommerce-MyAccount-content table td:last-child {
		padding: var(--space-xs) 0;
		border-bottom: 0;
		text-align: left;
	}

	.woocommerce-MyAccount-content td[data-title]::before {
		content: attr(data-title) ": ";
		font-family: var(--font-ui);
		font-size: var(--font-size-ui);
		color: var(--color-muted);
	}

	.woocommerce-MyAccount-content .button {
		margin-top: var(--space-xs);
	}

	/* Probe-Leiste am Handy: nur Titel und Link */
	.hmv-probe-leiste__text span {
		display: none;
	}
}

/* Lange Wörter in Versal-Titeln sauber trennen statt mitten im Wort umbrechen */
/* (Spezifität bewusst hoch: die Grundregel für Überschriften trennt sonst buchstabenweise.) */
.site-main :is(h1, h2, h3, h4) {
	hyphens: auto;
	/* Nur lange Wörter trennen (ab 10 Buchstaben), nicht „Wo-che“ */
	hyphenate-limit-chars: 10 4 4;
	word-break: normal;
	overflow-wrap: break-word;
}

/* Startseite, insider-Kasten: Preise in Grundtextgröße, Platz für die Schmucklinien */
.hmv-flaeche .hmv-bedingungen {
	font-size: var(--font-size-body);
	line-height: var(--line-height-body);
}

/* Schmuckgrafik kleiner halten und dem Text daneben Platz lassen, damit
   keine Linie durch die Schrift läuft. */
@media (min-width: 1024px) {
	.hmv-flaeche--gross > .hmv-deko {
		height: 70%;
	}

	.hmv-flaeche--gross .hmv-raster > .wp-block-column:last-child {
		padding-right: calc(var(--space-4xl) * 2.5);
	}
}

/* Vorauswahl der Probe (/insider/probe/): zwei Karten, daneben der Ablauf
   als Liste ohne Rahmen. */
.hmv-plan.hmv-plan--ablauf {
	display: block;
	padding-inline: 0;
	border-color: transparent;
}

@media (min-width: 768px) {
	.hmv-plan.hmv-plan--ablauf {
		padding-inline: var(--space-lg);
	}
}

/* Bestellseite am Handy: Empfehlung zuerst, leere Zeilen der anderen Karten weg */
@media (max-width: 767px) {
	.hmv-plan--empfohlen {
		order: -1;
	}

	.hmv-plan:not(.hmv-plan--empfohlen) .hmv-plan__kenn,
	.hmv-plan:not(.hmv-plan--empfohlen) .hmv-plan__abstand:empty {
		display: none;
	}
}

/* Startseite: der insider-Kasten als großer Abschnitt direkt unter dem Einstieg */
.sections > .hmv-flaeche--gross {
	padding-block: var(--space-3xl);
}

.hmv-flaeche--gross .wp-block-column > * + * {
	margin-block-start: var(--space-md);
}

.hmv-flaeche--gross .hmv-haken {
	padding-bottom: var(--space-md);
	border-bottom: var(--border-width) solid currentColor;
	font-size: var(--font-size-body);
	line-height: var(--line-height-body);
}

.hmv-flaeche--gross .hmv-probe-zeile a {
	color: inherit;
	font-weight: 700;
	text-decoration: underline;
	text-decoration-thickness: calc(var(--border-width) * 2);
	text-underline-offset: 0.25em;
}
