/* =============================================================
   SquashAddict – preise.css
   Preise-Unterseite pro Standort: Trainings & Tarife
   CI: #181818 | #E9530E | #ffffff | #555555
   Font: Inter 400 / 700
   ============================================================= */

.sa-preise {
	background-color: #ffffff;
	padding: 5em 4.5em 10em;
}

.sa-preise__eyebrow {
	display: block;
	font-family: 'Inter', sans-serif;
	font-weight: 700;
	font-size: 16px;
	color: #E9530E;
	text-transform: uppercase;
	letter-spacing: 0.14em;
	margin-bottom: 1.25em;
}

.sa-preise__title {
	font-family: 'Inter', sans-serif;
	font-weight: 700;
	font-size: 56px;
	color: #181818;
	line-height: 1.15;
	margin: 0 0 0.6em;
}

.sa-preise__subtext {
	font-family: 'Inter', sans-serif;
	font-weight: 400;
	font-size: 20px;
	color: rgba(0, 0, 0, 0.55);
	line-height: 1.6;
	max-width: 46em;
	margin: 0 0 2.5em;
}

/* -------------------------------------------------------------
   Tabelle
   ------------------------------------------------------------- */
.sa-preise__table-wrap {
	max-width: 900px;
	overflow-x: auto;
}

.sa-preise__table,
.sa-preise__table * {
	box-sizing: border-box;
}

.sa-preise__table {
	width: 100%;
	border-collapse: collapse;
	border: 1px solid #e0e0e0;
	font-family: 'Inter', sans-serif;
}

.sa-preise__table thead th {
	background-color: #181818;
	font-weight: 700;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	text-align: left;
	padding: 1.1em 1.5em;
	border-bottom: 3px solid #E9530E;
	white-space: nowrap;
}

.sa-preise__table thead .sa-preise__th-leistung {
	color: #ffffff;
}

.sa-preise__table thead .sa-preise__th-preis {
	color: #E9530E;
	text-align: right;
}

.sa-preise__table tbody tr {
	background-color: #ffffff;
}

.sa-preise__table tbody tr:nth-child(even) {
	background-color: #f5f5f5;
}

.sa-preise__table tbody td {
	padding: 1.1em 1.5em;
	font-size: 17px;
	color: #181818;
	border-bottom: 1px solid #e0e0e0;
}

.sa-preise__table .sa-preise__th-leistung,
.sa-preise__table .sa-preise__td-leistung {
	border-right: 1px solid #e0e0e0;
}

.sa-preise__td-leistung {
	font-weight: 700;
}

.sa-preise__td-preis {
	text-align: right;
	color: rgba(0, 0, 0, 0.75);
	font-weight: 700;
	white-space: nowrap;
}

.sa-preise__preis-label {
	display: none;
}

/* =============================================================
   RESPONSIVE – Tablet 601px – 1180px
   ============================================================= */
@media (min-width: 601px) and (max-width: 1180px) {
	.sa-preise {
		padding: 4em 3em 4em;
	}

	.sa-preise__title {
		font-size: 42px;
	}
}

/* =============================================================
   RESPONSIVE – Mobile max-width: 600px
   Gestapeltes Karten-Layout statt horizontal scrollbarer Tabelle
   ============================================================= */
@media (max-width: 600px) {
	.sa-preise {
		padding: 8em 24px 7em;
	}

	.sa-preise__title {
		font-size: 34px;
	}

	.sa-preise__subtext {
		font-size: 17px;
	}

	.sa-preise__table-wrap {
		overflow-x: visible;
	}

	.sa-preise__table {
		border: none;
	}

	/* Kopfzeile nur visuell ausblenden, für Screenreader erhalten */
	.sa-preise__table thead {
		position: absolute;
		width: 1px;
		height: 1px;
		margin: -1px;
		padding: 0;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
		white-space: nowrap;
		border: 0;
	}

	.sa-preise__table,
	.sa-preise__table tbody,
	.sa-preise__table tbody tr,
	.sa-preise__table td {
		display: block;
		width: 100%;
	}

	.sa-preise__table tbody tr {
		background-color: #ffffff;
		border-top: 1px solid #e0e0e0;
		border-left: none;
		border-right: none;
		border-bottom: 2px solid #E9530E;
		overflow: hidden;
		margin-bottom: 24px;
	}

	.sa-preise__table tbody tr:last-child {
		margin-bottom: 0;
	}

	.sa-preise__table tbody tr:nth-child(even) {
		background-color: #f5f5f5;
	}

	.sa-preise__table td {
		padding: 0.85em 1.1em;
		font-size: 16px;
		border: none;
		border-right: none;
	}

	.sa-preise__table tbody td.sa-preise__td-leistung {
		background-color: #181818;
		color: #ffffff;
		border-bottom: 2px solid #E9530E;
		padding-top: 1.3em;
		padding-bottom: 1.3em;
	}

	.sa-preise__table td.sa-preise__td-preis {
		display: flex;
		align-items: baseline;
		justify-content: space-between;
		gap: 0.75em;
		text-align: left;
		white-space: normal;
	}

	.sa-preise__td-preis .sa-preise__preis-label {
		display: inline-block;
		flex: 0 0 auto;
		font-weight: 700;
		font-size: 13px;
		text-transform: uppercase;
		letter-spacing: 0.06em;
		color: rgba(0, 0, 0, 0.45);
	}

	.sa-preise__td-preis .sa-preise__preis-value {
		flex: 1 1 auto;
		min-width: 0;
		text-align: right;
		white-space: normal;
		overflow-wrap: break-word;
	}
}
