/* ── prozess-journey.css — 3 Schritte horizontal, Verbindungslinie ──────── */

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

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

.prozess-journey__list::after {
	content: "";
	position: absolute;
	z-index: 0;
	top: 1rem;
	left: 16.6667%;
	right: 16.6667%;
	height: 0.125rem;
	background: var(--c-border-light);
}

.prozess-journey__step {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	min-width: 0;
}

.prozess-journey__num {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	flex-shrink: 0;
	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-journey__body {
	min-width: 0;
}

.prozess-journey__step h3 {
	font-size: var(--fs-h3);
	margin-bottom: 0.5rem;
}

.prozess-journey__step p {
	margin: 0;
	color: var(--c-text-muted);
	max-width: 22rem;
}

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

	.prozess-journey__list::after {
		top: 0;
		bottom: 0;
		left: 1rem;
		right: auto;
		width: 0.125rem;
		height: auto;
	}

	.prozess-journey__step {
		flex-direction: row;
		align-items: flex-start;
		text-align: left;
		gap: 1rem;
	}

	.prozess-journey__num {
		margin-bottom: 0;
	}

	.prozess-journey__step p {
		max-width: none;
	}
}
