/**
 * DERPUNKT Fahrzeugangebote – Styling.
 */

.dp-fa {
	--dp-fa-accent: #ce0c0c;
	--dp-fa-line: #e2e2e2;
	--dp-fa-zebra: #f5f5f5;
	--dp-fa-muted: #8a8a8a;
	font-family: inherit;
	color: #1a1a1a;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

.dp-fa__heading {
	font-size: 1.8rem;
	font-weight: 700;
	margin: 0 0 1.5rem;
}

/* Tabs */
.dp-fa__tabs {
	display: flex;
	gap: 1.25rem;
	border-bottom: 1px solid var(--dp-fa-line);
	margin-bottom: 1rem;
}

.dp-fa__tab {
	appearance: none;
	background: none;
	border: 0;
	padding: 0 0 .5rem;
	margin: 0;
	cursor: pointer;
	font: inherit;
	font-weight: 600;
	color: var(--dp-fa-muted);
	border-bottom: 2px solid transparent;
	margin-bottom: -1px;
}

.dp-fa__tab:hover {
	color: #1a1a1a;
}

.dp-fa__tab.is-active {
	color: var(--dp-fa-accent);
	border-bottom-color: var(--dp-fa-accent);
}

/* Panels */
.dp-fa__panel[hidden] {
	display: none;
}

.dp-fa__disclaimer {
	font-style: italic;
	color: #4a4a4a;
	font-size: 18px;
	margin: 0 0 1rem;
}

/* Modell-Kopfzeile – eigene 30/70-Aufteilung (langer Modellname) */
.dp-fa__modellrow {
	display: flex;
	align-items: baseline;
	gap: 1rem;
	padding: .9rem;
	font-weight: 700;
	font-size: 18px;
}

.dp-fa__modell-label {
	flex: 0 0 30%;
}

.dp-fa__modell-value {
	flex: 1 1 auto;
	text-align: right;
	overflow-wrap: break-word;
	hyphens: none;
	-webkit-hyphens: none;
}

/* Tabelle – feste 70/30-Aufteilung Label/Wert */
.dp-fa__table {
	width: 100%;
	border-collapse: collapse;
	margin: 0 0 .75rem;
	table-layout: fixed;
	font-size: 18px;
}

.dp-fa__row th,
.dp-fa__row td {
	padding: .6rem .9rem;
	text-align: left;
	font-weight: 400;
	vertical-align: top;
}

.dp-fa__row th {
	width: 70%;
	hyphens: none;
	-webkit-hyphens: none;
	overflow-wrap: normal;
	word-break: normal;
}

.dp-fa__row td {
	width: 30%;
	text-align: right;
	white-space: nowrap;
}

.dp-fa__row:nth-child(odd) {
	background: var(--dp-fa-zebra);
}

.dp-fa__row--rate {
	background: var(--dp-fa-accent) !important;
	color: #fff;
}

.dp-fa__row--rate th,
.dp-fa__row--rate td {
	font-weight: 700;
}

.dp-fa__valid {
	font-style: italic;
	color: var(--dp-fa-muted);
	font-size: 18px;
	margin: 0;
}
