/* ── prozess.css — 3 Phasen, je Phase zugehörige Schritte als Details (F2) ── */

.prozess h2 {
	font-size: var(--fs-h2-fluid);
	max-width: 34rem;
}

.prozess__intro {
	max-width: 42rem;
	color: var(--c-text-muted);
	margin: 0;
}

.prozess__phasen {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
	margin: 2rem 0 0;
	padding: 0;
	list-style: none;
}

.prozess__phase {
	min-width: 0;
	border-top: 0.1875rem solid var(--c-accent);
	padding-top: 1.25rem;
}

.prozess__num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 50%;
	background: var(--c-primary);
	color: var(--c-white);
	font-family: var(--font-head);
	font-weight: 700;
	font-size: var(--fs-sm);
	margin-bottom: 1rem;
}

.prozess__phase h3 {
	font-size: var(--fs-h3);
}

.prozess__phase > p {
	color: var(--c-text-muted);
	margin-bottom: 1.25rem;
}

.prozess__steps {
	display: flex;
	flex-direction: column;
	gap: 0.625rem;
}

.prozess__step {
	min-width: 0;
	border: 0.0625rem solid var(--c-border-light);
	border-radius: var(--radius-sm);
	padding: 0.75rem 0.875rem;
}

.prozess__step summary {
	display: flex;
	align-items: center;
	gap: 0.625rem;
}

.prozess__step[open] summary {
	margin-bottom: 0.625rem;
}

.prozess__step-num {
	flex-shrink: 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.5rem;
	height: 1.5rem;
	border-radius: 50%;
	background: var(--c-surface);
	color: var(--c-primary);
	font-family: var(--font-head);
	font-weight: 700;
	font-size: 0.75rem;
}

.prozess__step-title {
	flex: 1;
	min-width: 0;
	font-family: var(--font-head);
	font-weight: 600;
	font-size: 0.9375rem;
}

.badge {
	flex-shrink: 0;
	background: var(--c-accent);
	color: var(--c-white);
	font-family: var(--font-head);
	font-weight: 600;
	font-size: 0.6875rem;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	padding: 0.2rem 0.5625rem;
	border-radius: var(--radius-full);
	white-space: nowrap;
}

.prozess__step p,
.prozess__step ul {
	margin: 0 0 0.625rem;
	color: var(--c-text-muted);
	font-size: 0.9375rem;
}

.prozess__step p:last-child,
.prozess__step ul:last-child {
	margin-bottom: 0;
}

.prozess__step ul {
	padding-left: 1.125rem;
}

@media (max-width: 64rem) {
	.prozess__phasen {
		grid-template-columns: 1fr;
		gap: 2rem;
	}
}

@media (max-width: 30rem) {
	.prozess__step-title {
		font-size: 0.875rem;
	}
}
