/* ==========================================================================
   Stappenplan (golf) – desktop-weergave van <ol class="ccs-stappen ccs-stappenplan">.
   De lijst zelf blijft bewerkbaar in WPBakery; JS bouwt de golf, mobiel = tijdlijn.
   ========================================================================== */

body.ccs .ccs-plan { display: none; }

@media (min-width: 1000px) {
	body.ccs ol.ccs-stappenplan.is-vervangen { display: none; }
	body.ccs .ccs-plan { display: block; margin-top: clamp(8.5px, 1.27vw, 25.5px); }
}

body.ccs .ccs-plan__baan {
	position: relative;
	height: clamp(280.5px, 21.25vw, 357px);
	margin: 0 auto;
}
body.ccs .ccs-plan__lijn {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	overflow: visible;
}
body.ccs .ccs-plan__lijn path { fill: none; }
body.ccs .ccs-plan__spoor { stroke: #d5daec; stroke-width: 3; stroke-dasharray: 2 9; stroke-linecap: round; }
body.ccs .ccs-plan__pad {
	stroke: var(--ccs-geel);
	stroke-width: 4;
	stroke-linecap: round;
	stroke-dasharray: 1;
	stroke-dashoffset: calc(1 - var(--plan-p, 0));
	transition: stroke-dashoffset 1.1s var(--ccs-ease);
}

body.ccs .ccs-plan__stap {
	position: absolute;
	z-index: 2;
	width: clamp(51px, 3.91vw, 66.3px);
	height: clamp(51px, 3.91vw, 66.3px);
	margin: 0;
	padding: 0;
	border-radius: 50%;
	border: 3px solid #d5daec;
	background: #fff;
	color: var(--ccs-navy);
	font: 700 clamp(20.4px, 1.7vw, 28.9px)/1 var(--ccs-font);
	letter-spacing: -.05em;
	cursor: pointer;
	transform: translate(-50%, -50%) scale(0);
	transition: transform .7s var(--ccs-ease), background-color .4s, border-color .4s, color .4s, box-shadow .5s;
	transition-delay: calc(var(--i) * 90ms), 0s, 0s, 0s, 0s;
	box-shadow: 0 5.1px 15.3px rgba(24, 32, 62, .08);
}
body.ccs .ccs-plan.is-in .ccs-plan__stap { transform: translate(-50%, -50%) scale(1); }
body.ccs .ccs-plan__stap:hover { border-color: var(--ccs-geel); }
body.ccs .ccs-plan__stap.is-gedaan { background: var(--ccs-geel); border-color: var(--ccs-geel); }
body.ccs .ccs-plan__stap.is-actief {
	background: var(--ccs-navy);
	border-color: var(--ccs-navy);
	color: var(--ccs-geel);
	box-shadow: 0 0 0 8.5px rgba(250, 186, 36, .25), 0 11.9px 25.5px rgba(24, 32, 62, .25);
}
body.ccs .ccs-plan.is-in .ccs-plan__stap.is-actief { transform: translate(-50%, -50%) scale(1.14); transition-delay: 0s; }

body.ccs .ccs-plan__label {
	position: absolute;
	left: 50%;
	width: clamp(102px, 8.5vw, 144.5px);
	margin-left: calc(clamp(102px, 8.5vw, 144.5px) / -2);
	font: 500 clamp(14px, 0.85vw, 14.45px)/1.3 var(--ccs-font);
	letter-spacing: -.01em;
	color: var(--ccs-navy);
	text-align: center;
	pointer-events: none;
	transition: color .3s;
}
body.ccs .ccs-plan__stap--onder .ccs-plan__label { top: calc(100% + 13.6px); }
body.ccs .ccs-plan__stap--boven .ccs-plan__label { bottom: calc(100% + 13.6px); }
body.ccs .ccs-plan__stap.is-actief .ccs-plan__label { font-weight: 700; }

/* Detailpaneel */
body.ccs .ccs-plan__detail {
	position: relative;
	max-width: 663px;
	margin: clamp(8.5px, 1.27vw, 22.1px) auto 0;
	padding: clamp(22.1px, 2.04vw, 34px) clamp(22.1px, 2.55vw, 44.2px) clamp(25.5px, 2.21vw, 37.4px);
	background: #fff;
	border-radius: var(--ccs-radius);
	box-shadow: var(--ccs-schaduw);
	overflow: hidden;
	min-height: 161.5px;
}
body.ccs .ccs-licht .ccs-plan__detail { box-shadow: 0 0 25.5px rgba(24, 32, 62, .08); }
body.ccs .ccs-plan__teller { color: var(--ccs-geel); text-transform: uppercase; letter-spacing: .05em; font-size: 14px; padding: 0 0 5.1px; font-weight: 600; }
body.ccs .ccs-plan__detail h3 { font-size: var(--ccs-fs-h4) !important; margin: 0 0 .35em !important; color: var(--ccs-navy) !important; }
body.ccs .ccs-plan__detail p.ccs-plan__tekst { font-size: var(--ccs-fs-klein); line-height: 1.75; padding: 0; max-width: 40em; }
body.ccs .ccs-plan__inhoud { transition: opacity .35s, transform .45s var(--ccs-ease); }
body.ccs .ccs-plan__inhoud.is-wissel { opacity: 0; transform: translateY(8.5px); }
body.ccs .ccs-plan__nav { position: absolute; right: clamp(15.3px, 1.7vw, 25.5px); top: clamp(15.3px, 1.7vw, 23.8px); display: flex; gap: 6.8px; }
body.ccs .ccs-plan__nav button {
	width: 34px; height: 34px; border-radius: 50%; border: 0; cursor: pointer;
	background: var(--ccs-lichtblauw); color: var(--ccs-navy); font: 700 15.3px/1 var(--ccs-font);
	transition: background-color .25s, color .25s;
}
body.ccs .ccs-plan__nav button:hover { background: var(--ccs-navy); color: #fff; }
body.ccs .ccs-plan__voortgang { position: absolute; left: 0; bottom: 0; height: 4px; width: 100%; background: transparent; }
body.ccs .ccs-plan__voortgang span { display: block; height: 100%; width: 0; background: var(--ccs-geel); }
body.ccs .ccs-plan.is-spelend .ccs-plan__voortgang span { animation: ccs-plan-tijd var(--plan-duur, 5s) linear forwards; }
@keyframes ccs-plan-tijd { to { width: 100%; } }
body.ccs .ccs-plan-sectie .ccs-knoppen { margin-top: clamp(25.5px, 2.55vw, 42.5px); }

/* Klantenlogo's: willekeurig oplichten */
body.ccs .ccs-logos img.is-licht {
	filter: grayscale(0) drop-shadow(0 6.8px 13.6px rgba(53, 67, 116, .18));
	opacity: 1;
	transform: scale(1.08);
}
body.ccs .ccs-logos img { transition: filter .7s, opacity .7s, transform .7s var(--ccs-ease); }
