/*
 * Seite «Preise» (Slug preise)
 * Gestaltung nach Entwurf Version 13 (Preise_v13.html).
 * Nur Klassen mit Präfix .stx-preise- – das gemeinsame Vokabular steht in basis.css,
 * die Grund-CSS des Preisrechners (.stx-rechner…) ebenfalls.
 */

/* ---------- Kopf-Panel (karierte Fläche) ---------- */
.stx-raster.stx-preise-kopf {
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: clamp(28px, 6vw, 56px) clamp(20px, 5vw, 48px);
}
.stx-preise-kopf > * {
	margin: 0;
}
.stx-preise-kopf .stx-h1 {
	line-height: 1.12;
	letter-spacing: -0.015em;
	/* Entwurf ohne «balance»: Handy «Preise für Ihre / Firma» */
	text-wrap: wrap;
}
.stx-preise-kopf .stx-lead {
	line-height: 1.6;
	color: #555C66;
	max-width: 60ch;
}

/* ---------- Jahres-Abo und Firmenlizenz ---------- */
.stx-abschnitt.stx-preise-abo-abschnitt {
	padding: 64px 24px 96px;
}
.stx-preise-abo {
	display: flex;
	flex-wrap: wrap;
	gap: 48px;
	align-items: flex-start;
}

/* Abo-Karte */
/* Entwurf: flex-basis 440px für den Inhalt + 2×32px Innenabstand + 2×1px Rand
   (dort ohne border-box) = 506px – dadurch ist die Karte breiter als die Spalte rechts. */
.stx-preise-abo__karte {
	box-sizing: border-box;
	flex: 1 1 506px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 20px;
	padding: 32px;
	background: #FFFFFF;
	border: 1px solid #E3E6EA;
	border-radius: 12px;
	font-variant-numeric: tabular-nums;
}
.stx-preise-abo__karte > * {
	margin: 0;
}
.stx-preise-grundpreis {
	color: #555C66;
}
.stx-preise-grundpreis strong {
	font-family: Manrope, 'Segoe UI', sans-serif;
	font-size: clamp(26px, 6.5vw, 40px);
	line-height: 1.1;
	font-weight: 800;
	color: #12161C;
}

/* Preisrechner in der Karte */
.stx-rechner.stx-preise-rechner {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 24px;
	align-items: flex-end;
	margin: 0;
	padding: 20px 0 0;
	background: none;
	border: 0;
	border-top: 1px solid #E3E6EA;
	border-radius: 0;
}
.stx-preise-rechner__feld {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}
.stx-preise-rechner .stx-rechner__label {
	margin: 0;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.6;
	color: #12161C;
}
.stx-preise-rechner .stx-rechner__anzahl {
	box-sizing: border-box;
	height: 44px;
	/* Das Zahlenfeld im Entwurf ist 200px breit (Browser-Standardbreite) */
	min-width: 200px;
	max-width: 100%;
	/* Innenabstand mit Platz für den Pfeil rechts kommt aus basis.css */
	font: inherit;
	color: #12161C;
	background-color: #FFFFFF;
	border: 1px solid #7A8491;
	border-radius: 8px;
}
.stx-preise-rechner__ergebnis {
	display: flex;
	flex-direction: column;
}
.stx-preise-rechner__titel {
	font-size: 14px;
	color: #555C66;
}
.stx-preise-rechner__betrag {
	font-family: Manrope, 'Segoe UI', sans-serif;
	font-size: clamp(18px, 4.5vw, 28px);
	line-height: 1.15;
	font-weight: 800;
	color: #12161C;
}
.stx-preise-rechner .stx-preise-rechner__betrag .stx-rechner__preis {
	font: inherit;
	color: inherit;
}

/* Kleiner Knopf (Höhe 44) wie im Entwurf */
.wp-block-buttons.stx-preise-knoepfe {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 0;
}
.stx-preise-knoepfe .wp-block-button {
	margin: 0;
}
.stx-preise-knoepfe .wp-block-button .wp-block-button__link {
	box-sizing: border-box;
	display: inline-flex;
	align-items: center;
	height: 44px;
	min-height: 44px;
	padding: 0 20px;
	font-size: 16px;
	font-weight: 600;
	text-decoration: none;
}
.stx-preise-testlink {
	font-size: 16px;
	font-weight: 600;
}
.stx-preise-testlink a {
	text-decoration: none;
}

/* Firmenlizenz, Umfang, Bestellablauf */
.stx-preise-abo__info {
	flex: 1 1 440px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 32px;
}
.stx-preise-abo__info > * {
	margin: 0;
}
.stx-preise-lizenz {
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.stx-preise-lizenz > * {
	margin: 0;
}
.stx-preise-umfang {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
	gap: 24px;
}
.stx-preise-umfang__spalte {
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.stx-preise-umfang__spalte > * {
	margin: 0;
}
.stx-preise-spaltentitel {
	font-weight: 600;
	color: #12161C;
}
.stx-preise-haken,
.stx-preise-ohne {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-size: 16px;
}
.stx-preise-haken li,
.stx-preise-ohne li {
	margin: 0;
}
.stx-preise-ohne {
	color: #555C66;
}
/* Grüner Haken (im Entwurf #286A2A, 18 px, Abstand 10 px) */
.stx-preise-haken li {
	position: relative;
	padding-left: 28px;
}
.stx-preise-haken li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 4px;
	width: 18px;
	height: 18px;
	background-color: #286A2A;
	-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='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") no-repeat center / contain;
	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='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") no-repeat center / contain;
}
.stx-preise-bestellung {
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.stx-preise-bestellung > * {
	margin: 0;
}
.stx-schritte.stx-preise-schritte {
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 14px;
}
.stx-preise-schritte li {
	margin: 0;
}
/* Entwurf Preise: Kreise 26px, Abstand zum Text 14px */
ol.stx-schritte.stx-preise-schritte > li {
	min-height: 26px;
	padding-left: 40px;
}
ol.stx-schritte.stx-preise-schritte > li::before {
	width: 26px;
	height: 26px;
}

/* ---------- Preise nach Anzahl Benutzer ---------- */
.stx-preise-staffel {
	display: flex;
	flex-wrap: wrap;
	gap: 48px;
	align-items: flex-start;
}
.stx-preise-staffel__text {
	flex: 1 1 380px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}
.stx-preise-staffel__text > * {
	margin: 0;
}
.stx-preise-gedaempft {
	color: #555C66;
}
/* Selektoren mit .stx-tabelle, damit sie die Grundwerte aus basis.css
   (Grossbuchstaben im Tabellenkopf) sicher überschreiben. */
.wp-block-table.stx-tabelle.stx-preise-tabelle {
	box-sizing: border-box;
	flex: 1 1 520px;
	min-width: 0;
	margin: 0;
	padding: 0;
	background: #FFFFFF;
	border: 1px solid #E3E6EA;
	border-radius: 12px;
	overflow-x: auto;
}
.wp-block-table.stx-tabelle.stx-preise-tabelle table {
	width: 100%;
	border: 0;
	border-collapse: collapse;
	font-size: 16px;
	line-height: 1.6;
	font-variant-numeric: tabular-nums;
}
.wp-block-table.stx-tabelle.stx-preise-tabelle :is(thead, tbody, tfoot) {
	border: 0;
}
.wp-block-table.stx-tabelle.stx-preise-tabelle thead th {
	padding: 12px 20px;
	font-family: inherit;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.6;
	color: #555C66;
	text-transform: none;
	letter-spacing: 0;
	text-align: left;
	vertical-align: middle;
	border: 0;
	border-bottom: 1px solid #E3E6EA;
}
.wp-block-table.stx-tabelle.stx-preise-tabelle tbody td {
	padding: 11px 20px;
	text-align: left;
	vertical-align: middle;
	border: 0;
	border-bottom: 1px solid #EEF0F3;
}
.wp-block-table.stx-tabelle.stx-preise-tabelle tbody tr:last-child > td {
	border-bottom: 0;
}
.wp-block-table.stx-tabelle.stx-preise-tabelle tbody td:last-child {
	font-weight: 600;
	color: #12161C;
}
.wp-block-table.stx-tabelle.stx-preise-tabelle .has-text-align-right.has-text-align-right {
	text-align: right;
}

/* ---------- Laufzeit, Verlängerung, Kündigung ---------- */
.stx-preise-laufzeit {
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.stx-preise-laufzeit > * {
	margin: 0;
}
.stx-preise-symbole {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
	font-size: 16px;
}
.stx-preise-symbole li {
	position: relative;
	margin: 0;
	padding-left: 30px;
}
.stx-preise-symbole li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 4px;
	width: 18px;
	height: 18px;
	background-color: #555C66;
	-webkit-mask: var(--stx-preise-symbol) no-repeat center / contain;
	mask: var(--stx-preise-symbol) no-repeat center / contain;
}
.stx-preise-symbole li.stx-preise-symbol-kalender {
	--stx-preise-symbol: 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' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='M16 2v4M8 2v4M3 10h18'/%3E%3C/svg%3E");
}
.stx-preise-symbole li.stx-preise-symbol-erneuern {
	--stx-preise-symbol: 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' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8'/%3E%3Cpath d='M21 3v5h-5'/%3E%3Cpath d='M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16'/%3E%3Cpath d='M8 16H3v5'/%3E%3C/svg%3E");
}
.stx-preise-symbole li.stx-preise-symbol-haken {
	--stx-preise-symbol: 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' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}
/* Ohne Symbol-Klasse (neu im Editor angelegter Punkt): Haken als Vorgabe */
.stx-preise-symbole li:not([class*="stx-preise-symbol-"]) {
	--stx-preise-symbol: 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' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}

/* ---------- Fragen von Einkauf und Buchhaltung ---------- */
.stx-abschnitt.stx-preise-fragen-abschnitt {
	border-bottom: 0;
}
.stx-inhalt.stx-preise-fragen {
	max-width: 760px;
	display: flex;
	flex-direction: column;
	gap: 28px;
}
.stx-preise-fragen > * {
	margin: 0;
}
.stx-preise-faq-liste {
	display: flex;
	flex-direction: column;
	border-top: 1px solid #E3E6EA;
}
.stx-preise-faq-liste > .stx-faq {
	margin: 0;
}
.stx-preise-faq-liste .stx-faq > p {
	margin: 10px 0 0;
	font-size: 16px;
}
