/*
 * TEMPORÄR: Umsetzungsstand-Übersicht (page-umsetzungsstand.php) - wird
 * zusammen mit der Seite vor dem Livegang entfernt. Nur dort per
 * is_page('umsetzungsstand') geladen (siehe functions.php).
 * Reifegrad-Farben übernehmen bewusst die Töne von .info-row-tag
 * (muted/warn/ok) plus volles --green für "Final abgenommen".
 */

.stand-title {
	font-family: var(--font-serif);
	font-size: 32px;
	margin: 0 0 12px;
}

.stand-intro {
	max-width: 720px;
	color: var(--muted);
	margin: 0 0 24px;
}

.stand-summary {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 24px;
	margin: 0 0 24px;
}

.stand-summary li {
	display: flex;
	align-items: center;
	gap: 8px;
}

.reifegrad {
	display: inline-block;
	font-size: 11px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .04em;
	padding: 4px 9px;
	border-radius: 999px;
	white-space: nowrap;
}

.reifegrad.fehlt {
	background: #ECE9E1;
	color: var(--muted);
}

.reifegrad.entwurf {
	background: #F1E6DB;
	color: #8a5a2b;
}

.reifegrad.final {
	background: var(--tint-green);
	color: var(--green-dark);
}

.reifegrad.abgenommen {
	background: var(--green);
	color: var(--white);
}

.stand-table-wrap {
	background: var(--white);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	overflow: hidden;
}

.stand-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}

.stand-table th,
.stand-table td {
	text-align: left;
	vertical-align: top;
	padding: 12px 16px;
	border-top: 1px solid var(--line);
}

.stand-table thead th {
	border-top: 0;
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: .04em;
	color: var(--muted);
	background: var(--cream2);
}

.stand-table thead th:first-child {
	width: 28%;
}

.stand-table thead th:nth-child(2) {
	width: 170px;
}

.stand-group th {
	background: var(--cream);
	font-family: var(--font-serif);
	font-size: 16px;
	color: var(--green);
}

.stand-page {
	font-weight: 700;
}

.stand-page a {
	color: var(--ink);
}

.stand-page a:hover {
	color: var(--green2);
}

.stand-page small {
	display: block;
	font-weight: 400;
	font-size: 12px;
	color: var(--muted);
}

/* globaler ul-Reset (reset.css) hier gezielt aufgehoben */
.stand-open {
	list-style: disc;
	padding-left: 18px;
	margin: 0;
}

.stand-open li + li {
	margin-top: 4px;
}

.stand-none {
	color: var(--muted);
}

/* Unter 600px: jede Zeile als gestapelter Block statt Tabelle */
@media (max-width: 600px) {
	.stand-table thead {
		display: none;
	}

	.stand-table,
	.stand-table tbody,
	.stand-table tr,
	.stand-table th,
	.stand-table td {
		display: block;
		width: 100%;
	}

	.stand-table tr {
		border-top: 1px solid var(--line);
		padding: 8px 0;
	}

	.stand-table tr.stand-group {
		padding: 0;
	}

	.stand-table th,
	.stand-table td {
		border-top: 0;
		padding: 4px 14px;
	}

	.stand-group th {
		padding: 10px 14px;
	}
}
