/*
 * PflichtRadar workflow section styles.
 */

.workflow-section {
	background: #f4f7fb;
}

.pr-workflow-head {
	max-width: 720px;
	margin: 0 auto clamp(2.5rem, 5vw, 3.8rem);
	text-align: center;
}

.pr-workflow-eyebrow .elementor-heading-title {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.6rem;
	font-family: "IBM Plex Mono", ui-monospace, monospace;
	font-size: 0.74rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.pr-workflow-eyebrow .elementor-heading-title::before {
	width: 14px;
	height: 2px;
	background: #19c4d6;
	content: "";
}

body .pr-workflow-title .elementor-heading-title {
	color: #0b1f3a !important;
	font-family: "Poppins", sans-serif;
	font-size: clamp(2rem, 3.5vw, 2.85rem);
	font-weight: 700;
	letter-spacing: -0.025em;
	line-height: 1.18;
}

.pr-workflow-lead p {
	margin: 0;
	color: #4b6180;
	font-size: 1.05rem;
	line-height: 1.6;
}

.pipeline-grid {
	display: grid !important;
	grid-template-columns: 1fr 1fr 1.15fr;
	gap: 1.6rem;
	position: relative;
}

.pipeline-grid > .elementor-element-prtrack {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.pipeline-track {
	position: absolute;
	z-index: 1;
	top: 42px;
	right: 6%;
	left: 6%;
	height: 2px;
	background: linear-gradient(90deg, #145bd7 0%, #19c4d6 50%, #10b981 100%);
	opacity: 0.35;
}

.pipe-step {
	position: relative;
	z-index: 2;
	display: flex;
	min-height: 100%;
	flex-direction: column;
	justify-content: space-between;
	padding: 2.2rem 1.8rem;
	border: 1px solid #dce5f0;
	border-radius: 12px;
	background: #ffffff;
	box-shadow: 0 2px 10px rgba(11, 31, 58, 0.04), 0 1px 3px rgba(11, 31, 58, 0.03);
	transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.pipe-step:hover {
	border-color: #145bd7;
	box-shadow: 0 10px 30px -5px rgba(11, 31, 58, 0.08), 0 2px 6px -1px rgba(11, 31, 58, 0.04);
	transform: translateY(-3px);
}

.pipe-step.featured {
	border: 2px solid #145bd7;
	background: linear-gradient(180deg, #ffffff 0%, #f5f9fe 100%);
	box-shadow: 0 10px 30px -5px rgba(11, 31, 58, 0.08), 0 2px 6px -1px rgba(11, 31, 58, 0.04);
}

.pipe-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 1.4rem;
}

.pipe-badge {
	padding: 0.3rem 0.65rem;
	border: 1px solid rgba(20, 91, 215, 0.18);
	border-radius: 6px;
	background: rgba(20, 91, 215, 0.08);
	color: #145bd7;
	font-family: "IBM Plex Mono", ui-monospace, monospace;
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	line-height: 1.3;
}

.pipe-step.featured .pipe-badge {
	background: #145bd7;
	color: #ffffff;
}

.pipe-icon-disc {
	display: flex;
	width: 44px;
	height: 44px;
	align-items: center;
	justify-content: center;
	border: 1px solid #dce5f0;
	border-radius: 8px;
	background: #edf3fa;
	color: #0b1f3a;
}

.pipe-icon-disc > div {
    display: flex;
}

.pipe-icon-disc img {
	width: 20px;
	height: 20px;
}

.pipe-step.featured .pipe-icon-disc {
	background: rgba(20, 91, 215, 0.08);
	color: #145bd7;
}

body .pipe-step h3,
body .pipe-step .elementor-heading-title {
	margin: 0 0 0.6rem;
	color: #0b1f3a !important;
	font-family: "Poppins", sans-serif;
	font-size: 1.25rem;
	font-weight: 600;
	letter-spacing: -0.02em;
	line-height: 1.25;
}

.pipe-step p {
	margin: 0 0 1.4rem;
	color: #4b6180;
	font-size: 0.94rem;
	line-height: 1.58;
}

.step-micro-snippet {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	padding: 0.7rem 0.85rem;
	border: 1px solid #dce5f0;
	border-radius: 8px;
	background: #edf3fa;
	color: #4b6180;
	font-family: "IBM Plex Mono", ui-monospace, monospace;
	font-size: 0.72rem;
}

.pipe-step.featured .step-micro-snippet {
	background: #ffffff;
}

.step-micro-snippet .row-active {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	color: #0b1f3a;
	font-weight: 500;
}

.step-micro-snippet .status-pill {
	padding: 0.15rem 0.45rem;
	border: 1px solid #dce5f0;
	border-radius: 4px;
	background: #ffffff;
	color: #145bd7;
	font-weight: 600;
	white-space: nowrap;
}

.pipe-step.featured .status-pill {
	color: #10b981;
}

@media (max-width: 1080px) {
	.pipeline-grid {
		grid-template-columns: 1fr;
	}

	.pipeline-track {
		display: none;
	}
}
