/* ── prozess-stepper.css — vertikale Timeline statt gestapelter Blöcke ───── */

.prozess-stepper {
	background: var(--c-surface);
}

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

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

.prozess-stepper__timeline {
	position: relative;
	margin: 2.5rem 0 0;
	padding: 0;
	list-style: none;
}

.prozess-stepper__timeline::before {
	content: "";
	position: absolute;
	z-index: 0;
	top: 0.25rem;
	bottom: 0.25rem;
	left: 1.25rem;
	width: 0.125rem;
	background: var(--c-border-light);
}

.prozess-stepper__phase {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: flex-start;
	gap: 1.75rem;
	padding-bottom: 2.5rem;
}

.prozess-stepper__phase:last-child {
	padding-bottom: 0;
}

.prozess-stepper__node {
	flex-shrink: 0;
	display: 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);
}

.prozess-stepper__body {
	min-width: 0;
	flex: 1;
}

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

.prozess-stepper__body > p {
	color: var(--c-text-muted);
	margin-bottom: 1.25rem;
	max-width: 42rem;
}

.prozess-stepper__steps {
	display: flex;
	flex-direction: column;
	gap: 0.625rem;
	max-width: 42rem;
}

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

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

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

.prozess-stepper__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-stepper__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-stepper__step p,
.prozess-stepper__step ul {
	margin: 0 0 0.625rem;
	color: var(--c-text-muted);
	font-size: 0.9375rem;
}

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

.prozess-stepper__step ul {
	padding-left: 1.125rem;
}

@media (max-width: 48rem) {
	.prozess-stepper__timeline::before {
		left: 1rem;
	}

	.prozess-stepper__phase {
		gap: 1.25rem;
	}

	.prozess-stepper__node {
		width: 2rem;
		height: 2rem;
	}
}

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