/* Seite „Wartung von Kleinkläranlagen“ (/kleinklaeranlagen-wartung/, v0.1.28). Das Anfragefenster nutzt die
   Gestaltung von „Nachricht per Mail“ (nachricht.css); hier Seite, Preistabelle, Fachkunde und Vorteile. */

.wartung {
	max-width: 900px;
	margin: 0 auto;
	padding: calc(var(--kopf-hoehe) + clamp(32px, 6vw, 64px)) var(--rand) clamp(64px, 10vw, 112px);
}

.wartung__titel {
	font-size: clamp(2rem, 1.4rem + 2.4vw, 3.2rem);
}

.wartung__einleitung {
	max-width: 42em;
	color: var(--text-leise);
	font-size: 1.1rem;
}

.wartung__knoepfe {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 22px;
}

.wartung__abschnitt {
	margin-top: clamp(40px, 6vw, 64px);
}

.wartung__unter {
	font-size: clamp(1.45rem, 1.2rem + 1vw, 1.95rem);
}

.wartung__liste {
	display: grid;
	gap: 12px;
	margin: 0;
	padding-left: 1.3em;
}

.wartung__liste strong {
	color: var(--anthrazit);
}

.wartung__liste--ol li::marker {
	color: var(--wein);
	font-weight: 700;
}

/* Fachkunde: Text links, Nachweis rechts; auf dem Handy untereinander */
.wartung__fachkunde {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(160px, 240px);
	gap: clamp(20px, 4vw, 40px);
	align-items: start;
}

.wartung__nachweis {
	margin: 0;
}

/* Leistungsliste mit Foto daneben (v0.1.31); Rahmen wie das Inhaberfoto, nur schlichter */
.wartung__mitbild {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(220px, 360px);
	gap: clamp(20px, 4vw, 40px);
	align-items: start;
}

.wartung__foto {
	margin: 6px 0 0;
}

.wartung__foto img {
	display: block;
	width: 100%;
	height: auto;
	border: 6px solid var(--weiss);
	border-radius: 8px;
	box-shadow: var(--schatten);
}

.wartung__foto figcaption {
	margin-top: 8px;
	color: var(--text-leise);
	font-size: 0.85rem;
}

.wartung__nachweis img {
	display: block;
	width: 100%;
	height: auto;
	border: 1px solid #e0d9cc;
	border-radius: 4px;
	box-shadow: var(--schatten);
}

.wartung__nachweis figcaption {
	margin-top: 8px;
	color: var(--text-leise);
	font-size: 0.85rem;
}

/* Preise: Endpreis inkl. MwSt. hervorgehoben (Preisangabenverordnung), netto klein */
.preise {
	width: 100%;
	margin: 8px 0 14px;
	border-collapse: collapse;
	background: var(--weiss);
	border: 1px solid #e8e3da;
	border-radius: var(--rundung);
	overflow: hidden;
}

.preise th,
.preise td {
	padding: 12px 14px;
	border-bottom: 1px solid #ece6db;
	text-align: left;
	vertical-align: top;
}

.preise thead th {
	background: var(--papier);
	font-size: 0.9rem;
}

.preise tbody th {
	font-weight: 500;
}

.preise__brutto {
	font-weight: 700;
	white-space: nowrap;
}

.preise__netto {
	color: var(--text-leise);
	font-size: 0.88rem;
	white-space: nowrap;
}

.preise__summe th,
.preise__summe td {
	background: var(--wein-hell);
	font-weight: 700;
}

.preise__summe .preise__brutto {
	color: var(--wein);
	font-size: 1.2rem;
}

.preise__jahr th {
	color: var(--text-leise);
}

.preise__hinweis {
	color: var(--text-leise);
	font-size: 0.92rem;
}

/* Vorteile mit Haken */
.wartung__vorteile {
	display: grid;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.wartung__vorteile li {
	position: relative;
	padding-left: 30px;
}

.wartung__vorteile li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.25em;
	width: 18px;
	height: 18px;
	border-radius: 4px;
	background: var(--wein) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5 8.5 14 15 6.5' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.wartung__abschluss {
	margin-top: clamp(40px, 6vw, 64px);
	padding: clamp(22px, 4vw, 34px);
	border: 1px dashed #d9cfbf;
	border-radius: var(--rundung);
	background: var(--papier-hell);
}

/* Anfragefenster: Baujahr und EW nebeneinander, gleich breit */
.wartung-anfrage__zeile {
	grid-template-columns: 1fr 1fr;
}

/* Hinweis in der Leistungskarte „Kläranlagen“ auf der Startseite */
.karte__hinweis {
	margin: 4px 0 0;
	color: var(--wein);
	font-weight: 600;
}

.karte__hinweis-knopf {
	align-self: flex-start;
	margin-bottom: 10px;
}

@media (max-width: 760px) {
	.wartung__fachkunde,
	.wartung__mitbild {
		grid-template-columns: 1fr;
	}

	.wartung__foto {
		max-width: 480px;
	}

	.wartung__nachweis {
		max-width: 260px;
	}

	.preise th,
	.preise td {
		padding: 10px;
	}
}
