/* PEH Process Steps — inspiration #schritten */

.peh-process-steps.peh-section {
	padding: 100px 80px 95px;
	overflow: clip;
}

.peh-process-steps__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	row-gap: 80px;
	position: relative;
	width: 100%;
	max-width: 1280px;
}

.peh-process-steps__heading {
	text-align: center;
	max-width: 880px;
	z-index: 2;
}

.peh-process-steps__stage {
	position: relative;
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	row-gap: 40px;
}

.peh-process-steps__track {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: flex-start;
	column-gap: 24px;
	width: 100%;
	position: relative;
	margin-top: -40px;
	z-index: 2;
}

.peh-process-steps__path {
	position: absolute;
	left: 50%;
	top: 40px;
	width: min(1616px, 126%);
	height: auto;
	transform: translateX(-50%);
	pointer-events: none;
	z-index: 1;
	overflow: visible;
}

.peh-process-steps__path path {
	fill: none;
	stroke: #14a846;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-dasharray: 8 16;
}

.peh-process-steps__path-mobile {
	display: none;
}

.peh-process-steps__step {
	width: 380px;
	max-width: 100%;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	row-gap: 32px;
	z-index: 4;
	position: relative;
}

.peh-process-steps__step:nth-child(1) {
	padding-top: 10px;
}

.peh-process-steps__step:nth-child(2) {
	margin-top: 110px;
	flex-direction: column-reverse;
}

.peh-process-steps__step:nth-child(3) {
	margin-top: 100px;
	flex-direction: column-reverse;
}

/* Inspiration step glyphs are 112 viewBox, displayed at 64px */
.peh-process-steps__icon {
	width: 64px;
	height: 64px;
	flex-shrink: 0;
	line-height: 0;
}

.peh-process-steps__icon img {
	display: block;
	width: 64px;
	height: 64px;
}

.peh-process-steps__icon-fallback {
	width: 64px;
	height: 64px;
	border-radius: 32px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: 24px;
	font-weight: 700;
	background: #14a846;
}

.peh-process-steps__step:nth-child(1) .peh-process-steps__icon-fallback {
	background: #1c90bb;
}

.peh-process-steps__step:nth-child(2) .peh-process-steps__icon-fallback {
	background: #f1c40f;
	color: #1c2b27;
}

.peh-process-steps__step:nth-child(3) .peh-process-steps__icon-fallback {
	background: #14a846;
}

.peh-process-steps__body {
	display: flex;
	flex-direction: column;
	row-gap: 16px;
}

.peh-process-steps__label {
	align-self: flex-start;
	font-size: 14px;
	font-weight: 600;
	line-height: 164%;
	padding: 8px 16px;
	border-radius: 12px;
	background: #f5f5f5;
	color: var(--peh-ink);
}

.peh-process-steps__title {
	margin: 0;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.35;
	color: var(--peh-ink);
}

.peh-process-steps__desc {
	margin: 0;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.55;
	color: #1c2b27;
}

.peh-process-steps__note {
	text-align: center;
	font-size: 16px;
	font-weight: 600;
	max-width: 640px;
	z-index: 2;
}

/* Float icons — inspiration #brxe-1ac96e (route) / #brxe-2860c4 (chat) */
.peh-process-steps__float--route {
	top: 111px;
	right: 7vw;
	left: auto;
	width: 98px;
	height: auto;
}

.peh-process-steps__float--chat {
	top: 0;
	left: 1vw;
	right: auto;
	width: 79px;
	height: auto;
}

@media (max-width: 1280px) {
	.peh-process-steps__inner {
		max-width: 100%;
	}

	.peh-process-steps__float--route {
		width: 72px;
	}

	.peh-process-steps__float--chat {
		top: 600px;
		width: 72px;
	}

	.peh-process-steps__step:nth-child(1) {
		margin-top: -53px;
	}

	.peh-process-steps__step:nth-child(3) {
		margin-top: 70px;
	}
}

@media (max-width: 1200px) {
	.peh-process-steps.peh-section {
		padding: 80px 64px;
	}

	.peh-process-steps__inner {
		row-gap: 60px;
	}

	.peh-process-steps__float--route {
		width: 64px;
		z-index: 2;
	}

	.peh-process-steps__float--chat {
		display: none;
	}

	.peh-process-steps__path {
		display: none;
	}

	.peh-process-steps__path-mobile {
		display: block;
		position: absolute;
		left: 50%;
		top: 0;
		height: 100%;
		width: 120px;
		transform: translateX(-50%) rotate(3deg);
		z-index: 0;
		pointer-events: none;
	}

	.peh-process-steps__track {
		flex-direction: column;
		width: min(714px, 100%);
		margin: 0 auto;
		row-gap: 48px;
		column-gap: 0;
	}

	.peh-process-steps__step,
	.peh-process-steps__step:nth-child(1),
	.peh-process-steps__step:nth-child(2),
	.peh-process-steps__step:nth-child(3) {
		width: 100%;
		margin-top: 0;
		padding-top: 0;
		flex-direction: row;
		align-items: flex-start;
		column-gap: 48px;
	}

	.peh-process-steps__step:nth-child(odd) {
		flex-direction: row-reverse;
	}
}

@media (max-width: 899px) {
	.peh-process-steps__inner {
		row-gap: 40px;
	}

	/* Keep route float visible like inspiration; chat already hidden at 1200 */
	.peh-process-steps__float--route {
		display: block;
	}

	.peh-process-steps__step,
	.peh-process-steps__step:nth-child(odd) {
		flex-direction: row-reverse;
		column-gap: 32px;
	}
}

@media (max-width: 586px) {
	.peh-process-steps.peh-section {
		padding: 60px 0;
	}

	.peh-process-steps__heading {
		padding: 0 24px;
	}

	.peh-process-steps__note {
		padding: 0 24px;
	}

	.peh-process-steps__float--route {
		width: 48px;
		right: 2vw;
		top: 111px;
		display: block;
	}

	.peh-process-steps__path-mobile {
		display: none;
	}

	.peh-process-steps__track {
		width: 100%;
		row-gap: 40px;
	}

	.peh-process-steps__step,
	.peh-process-steps__step:nth-child(odd),
	.peh-process-steps__step:nth-child(even) {
		flex-direction: column-reverse;
		align-items: center;
		row-gap: 24px;
		padding: 0 24px;
		column-gap: 0;
	}

	.peh-process-steps__step:nth-child(2) {
		flex-direction: column;
		margin-top: -10px;
	}

	.peh-process-steps__step:nth-child(3) {
		flex-direction: column;
	}

	.peh-process-steps__icon {
		z-index: 5;
	}

	.peh-process-steps__body {
		align-items: center;
		text-align: center;
		row-gap: 12px;
	}

	.peh-process-steps__label {
		align-self: center;
	}

	.peh-process-steps__desc {
		text-align: center;
	}
}
