/* ==========================================================================
   CCS header: topmenu + zwevende pill-balk, mobiel menu
   ========================================================================== */

.ccs-kop {
	position: fixed;
	inset: 0 0 auto 0;
	z-index: 9990;
	padding: 0 var(--ccs-gutter);
	pointer-events: none;
	font-family: var(--ccs-font);
}
.ccs-kop > * { pointer-events: auto; }

body.admin-bar .ccs-kop { top: 27.2px; }
@media (max-width: 782px) { body.admin-bar .ccs-kop { top: 46px; } }

.ccs-kop__top {
	max-width: 1196.8px;
	margin: 0 auto;
	height: 54.4px;
	display: flex;
	justify-content: flex-end;
	align-items: center;
	transition: opacity .35s, transform .45s var(--ccs-ease), height .45s var(--ccs-ease);
}

.ccs-kop__topmenu {
	display: flex;
	gap: 28.9px;
	list-style: none;
	margin: 0;
	padding: 0 17px 0 0;
}
.ccs-kop__topmenu li { list-style: none; margin: 0; padding: 0; font-size: inherit; }
body.ccs .ccs-kop__topmenu a {
	color: var(--ccs-grijs);
	font-size: clamp(14px, 0.89vw, 15.3px);
	text-decoration: none;
}
body.ccs .ccs-kop__topmenu a:hover,
body.ccs .ccs-kop__topmenu .ccs-actief > a { color: var(--ccs-geel); }

.ccs-kop__balk {
	max-width: 1196.8px;
	margin: 0 auto;
	min-height: 73.95px;
	display: flex;
	align-items: center;
	gap: clamp(13.6px, 1.7vw, 34px);
	padding: 10.2px 10.2px 10.2px clamp(17px, 2.55vw, 44.2px);
	border-radius: 999px;
	background: rgba(255, 255, 255, .1);
	border: 1px solid rgba(255, 255, 255, .14);
	-webkit-backdrop-filter: blur(11.9px);
	backdrop-filter: blur(11.9px);
	transition: background-color .4s, box-shadow .4s, min-height .4s var(--ccs-ease), transform .45s var(--ccs-ease);
}

.ccs-kop__logo {
	display: flex;
	flex-direction: column;
	align-items: center;
	color: #fff !important;
	font-weight: 700;
	font-size: clamp(14px, 0.99vw, 17px);
	line-height: 1.02;
	text-transform: uppercase;
	text-decoration: none;
	letter-spacing: -.01em;
	white-space: nowrap;
	margin-right: clamp(6.8px, 1.7vw, 37.4px);
}

.ccs-kop__nav { flex: 1 1 auto; }
.ccs-kop__menu {
	display: flex;
	align-items: center;
	gap: clamp(15.3px, 2.38vw, 42.5px);
	list-style: none;
	margin: 0;
	padding: 0;
}
.ccs-kop__menu > li { position: relative; list-style: none; margin: 0; padding: 0; }
.ccs-kop__menu a {
	display: inline-flex;
	align-items: center;
	gap: 6.8px;
	padding: 10.2px 0;
	color: var(--ccs-grijs) !important;
	font-size: clamp(14px, 0.99vw, 17px);
	text-decoration: none;
	white-space: nowrap;
	position: relative;
}
.ccs-kop__menu > li > a::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 5.1px;
	height: 2px;
	background: var(--ccs-geel);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .35s var(--ccs-ease);
}
.ccs-kop__menu > li > a:hover::before,
.ccs-kop__menu > li:focus-within > a::before { transform: scaleX(1); }
.ccs-kop__menu > li.ccs-actief > a { color: var(--ccs-geel) !important; font-weight: 700; }
.ccs-kop__menu > li.ccs-actief > a::before { display: none; }

.ccs-kop__menu .menu-item-has-children > a::after {
	content: "";
	width: 7.65px;
	height: 7.65px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: translateY(-3px) rotate(45deg);
	transition: transform .3s;
}
.ccs-kop__menu .menu-item-has-children:hover > a::after { transform: translateY(1px) rotate(-135deg); }

.ccs-kop__menu .sub-menu {
	position: absolute;
	top: calc(100% + 15.3px);
	left: -22.1px;
	min-width: 255px;
	list-style: none;
	margin: 0;
	padding: 11.9px;
	background: #fff;
	border-radius: var(--ccs-radius);
	box-shadow: 0 17px 42.5px rgba(24, 32, 62, .25);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8.5px);
	transition: opacity .25s, transform .35s var(--ccs-ease), visibility .25s;
}
.ccs-kop__menu .sub-menu::before {
	content: "";
	position: absolute;
	inset: -17px 0 auto 0;
	height: 17px;
}
.ccs-kop__menu li:hover > .sub-menu,
.ccs-kop__menu li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: none;
}
.ccs-kop__menu .sub-menu li { list-style: none; margin: 0; }
.ccs-kop__menu .sub-menu a {
	display: flex;
	padding: 10.2px 13.6px;
	border-radius: 12px;
	color: var(--ccs-navy) !important;
	font-size: 14.45px;
	transition: background-color .2s, padding-left .3s var(--ccs-ease);
}
.ccs-kop__menu .sub-menu a:hover,
.ccs-kop__menu .sub-menu .current-menu-item > a {
	background: var(--ccs-lichtblauw);
	padding-left: 18.7px;
}

.ccs-kop__bel {
	display: inline-flex;
	align-items: center;
	gap: 11.9px;
	color: #fff !important;
	text-decoration: none;
	line-height: 1.25;
	white-space: nowrap;
}
.ccs-kop__bel .ccs-bol { background: #fff; transition: transform .4s var(--ccs-ease); }
.ccs-kop__bel:hover .ccs-bol { transform: rotate(-12deg) scale(1.06); }
.ccs-kop__beltekst small { display: block; font-size: 14px; color: var(--ccs-lichtblauw); }
.ccs-kop__beltekst strong { display: block; font-size: 14px; font-weight: 700; color: var(--ccs-lichtblauw); }

html body.ccs .ccs-kop .ccs-kop__cta { min-height: 53.55px; }

.ccs-kop__burger {
	display: none;
	width: 44.2px;
	height: 44.2px;
	border: 0;
	border-radius: 50%;
	background: #fff;
	cursor: pointer;
	position: relative;
	flex: 0 0 auto;
}
.ccs-kop__burger span {
	position: absolute;
	left: 12.75px;
	right: 12.75px;
	height: 2px;
	border-radius: 2px;
	background: var(--ccs-navy);
	transition: transform .35s var(--ccs-ease), opacity .2s;
}
.ccs-kop__burger span:nth-child(1) { top: 15.3px; }
.ccs-kop__burger span:nth-child(2) { top: 21.25px; }
.ccs-kop__burger span:nth-child(3) { top: 27.2px; }
.ccs-menu-open .ccs-kop__burger span:nth-child(1) { transform: translateY(5.95px) rotate(45deg); }
.ccs-menu-open .ccs-kop__burger span:nth-child(2) { opacity: 0; }
.ccs-menu-open .ccs-kop__burger span:nth-child(3) { transform: translateY(-5.95px) rotate(-45deg); }

/* Gescrold: topmenu weg, balk compacter en donker */
.ccs-kop.is-gescrold .ccs-kop__top {
	opacity: 0;
	transform: translateY(-100%);
	height: 11.9px;
	pointer-events: none;
}
.ccs-kop.is-gescrold .ccs-kop__balk {
	min-height: 61.2px;
	background: rgba(24, 32, 62, .88);
	box-shadow: 0 11.9px 34px rgba(10, 14, 30, .3);
}
.ccs-kop.is-gescrold .ccs-kop__cta { min-height: 44.2px !important; }
.ccs-kop.is-gescrold .ccs-kop__cta::after { width: 28.9px !important; height: 28.9px !important; }
.ccs-kop.is-verborgen .ccs-kop__balk { transform: translateY(calc(-100% - 25.5px)); }

/* Mobiel menu */
.ccs-mobiel {
	position: fixed;
	inset: 0;
	z-index: 9980;
	background: var(--ccs-verloop);
	opacity: 0;
	visibility: hidden;
	clip-path: circle(0 at calc(100% - 51px) 42.5px);
	transition: clip-path .7s var(--ccs-ease), opacity .3s, visibility .7s;
	overflow-y: auto;
}
.ccs-menu-open .ccs-mobiel {
	opacity: 1;
	visibility: visible;
	clip-path: circle(150% at calc(100% - 51px) 42.5px);
}
.ccs-mobiel__binnen {
	min-height: 100%;
	padding: 110.5px 23.8px 34px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 34px;
}
.ccs-mobiel__menu { list-style: none; margin: 0; padding: 0; }
.ccs-mobiel__menu li { list-style: none; margin: 0; }
.ccs-mobiel__menu > li {
	opacity: 0;
	transform: translateY(13.6px);
	transition: opacity .5s, transform .5s var(--ccs-ease);
}
.ccs-menu-open .ccs-mobiel__menu > li { opacity: 1; transform: none; }
.ccs-menu-open .ccs-mobiel__menu > li:nth-child(2) { transition-delay: .06s; }
.ccs-menu-open .ccs-mobiel__menu > li:nth-child(3) { transition-delay: .12s; }
.ccs-menu-open .ccs-mobiel__menu > li:nth-child(4) { transition-delay: .18s; }
.ccs-mobiel__menu a {
	display: block;
	padding: 8.5px 0;
	color: #fff !important;
	font-size: clamp(22.1px, 5.95vw, 30.6px);
	font-weight: 500;
	letter-spacing: -.04em;
	text-decoration: none;
}
.ccs-mobiel__menu .ccs-actief > a { color: var(--ccs-geel) !important; }
.ccs-mobiel__menu .sub-menu { list-style: none; margin: 0 0 8.5px; padding: 0 0 0 15.3px; border-left: 2px solid rgba(250, 186, 36, .6); }
.ccs-mobiel__menu .sub-menu a { font-size: 15.3px; letter-spacing: 0; padding: 5.95px 0; color: var(--ccs-grijs) !important; }
.ccs-mobiel__menu--klein { margin-top: 15.3px; display: flex; gap: 22.1px; }
.ccs-mobiel__menu--klein a { font-size: 16.15px; letter-spacing: 0; color: var(--ccs-grijs) !important; }
.ccs-mobiel__contact { display: grid; gap: 15.3px; justify-items: start; }
.ccs-mobiel__contact .ccs-bol { background: #fff; }

html.ccs-menu-open,
html.ccs-menu-open body { overflow: hidden; }

@media (max-width: 1280px) {
	.ccs-kop__beltekst { display: none; }
}

@media (max-width: 1100px) {
	.ccs-kop__nav,
	.ccs-kop__top { display: none; }
	.ccs-kop { padding-top: 13.6px; }
	.ccs-kop__balk { min-height: 61.2px; padding: 8.5px 8.5px 8.5px 22.1px; }
	.ccs-kop__logo { margin-right: auto; }
	.ccs-kop__burger { display: block; }
	html body.ccs .ccs-kop .ccs-kop__cta { min-height: 44.2px; padding-left: 17px !important; }
	html body.ccs .ccs-kop .ccs-kop__cta::after { width: 28.9px; height: 28.9px; }
	.ccs-menu-open .ccs-kop__balk { background: transparent; box-shadow: none; border-color: transparent; }
}

@media (max-width: 690px) {
	.ccs-kop { padding: 10.2px 10.2px 0; }
	.ccs-kop__balk { gap: 8.5px; padding-left: 17px; min-height: 56.1px; }
	.ccs-kop__logo { font-size: 14px; }
	html body.ccs .ccs-kop .ccs-kop__cta { display: none !important; }
	.ccs-kop__bel .ccs-bol { width: 39.1px; height: 39.1px; }
}
