/*
 * Damman: verfijning van animaties, scrolling, hover en openingstijden.
 * Aanvulling op maine504.css; het bestaande ontwerp blijft leidend.
 */

/* ---------- Smooth scrolling (Lenis 1.3.26) ---------- */
html.lenis,
html.lenis body {
	height: auto;
}
.lenis:not(.lenis-autoToggle).lenis-stopped {
	overflow: clip;
}
.lenis [data-lenis-prevent] {
	overscroll-behavior: contain;
}
.lenis.lenis-smooth iframe {
	pointer-events: none;
}

/* Ankers en de skiplink komen niet onder de vaste header terecht */
html {
	scroll-padding-top: var(--dm-header-h, 0px);
}

/* ---------- Parallax ---------- */
/* Vervangt de niet meegeleverde jarallax-chunk: zelfde opbouw als .jarallax */
.dm-parallax {
	position: relative;
	z-index: 0;
	overflow: hidden;
}
.dm-parallax__layer {
	position: absolute;
	left: 0;
	right: 0;
	top: -15%;
	bottom: -15%;
	z-index: -1;
	background-position: 50% 50%;
	background-repeat: no-repeat;
	background-size: cover;
	pointer-events: none;
	will-change: transform;
}
.block01-image.dm-parallax {
	z-index: auto;
}
.block01-image > .dm-parallax__layer {
	z-index: 0;
}
.block01-image > img {
	position: relative;
	z-index: 1;
}
.dm-parallax-img {
	overflow: hidden;
}
.dm-hero {
	overflow: hidden;
}

/* Voorkomt layout shift: vóór het opstarten van de carrousel de eerste slide al tonen */
.js-leaderslider.owl-carousel:not(.owl-loaded) {
	display: block;
}
.js-leaderslider:not(.owl-loaded) > :not(:first-child) {
	display: none;
}

/* ---------- Hover verfijning (kleuren blijven gelijk) ---------- */
@media (hover: hover) and (pointer: fine) {
	.btn {
		transition: color .2s ease-out, background-color .2s ease-out, border-color .2s ease-out, box-shadow .25s ease-out, transform .25s cubic-bezier(.2, .7, .2, 1);
	}
	.btn:hover {
		transform: translateY(-1px);
		box-shadow: 0 6px 16px -8px rgba(0, 33, 105, .45);
	}
	.btn:active {
		transform: translateY(0);
		box-shadow: none;
	}

	.effect-shadow {
		transition: box-shadow .35s ease-out, transform .35s cubic-bezier(.2, .7, .2, 1);
	}
	.effect-shadow:hover {
		transform: translateY(-4px);
		box-shadow: 0 12px 28px -12px rgba(0, 0, 0, .28);
		transition: box-shadow .35s ease-out, transform .35s cubic-bezier(.2, .7, .2, 1);
	}

	.img-zoom,
	.img-zoom img {
		transition-duration: .6s;
		transition-timing-function: cubic-bezier(.2, .7, .2, 1);
	}

	.nav-primary > li > a:before {
		transition: opacity .25s ease-out, transform .3s cubic-bezier(.2, .7, .2, 1);
	}

	.footer .list-divider a,
	.footer .list-inline a:not(.btn) {
		transition: opacity .2s ease-out;
	}
	.footer .list-divider a:hover {
		opacity: .85;
	}
}

/* ---------- Toegankelijkheid: zichtbare focus ---------- */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
	outline: 2px solid #002169;
	outline-offset: 3px;
}
.__bg-blue a:focus-visible,
.__bg-blue button:focus-visible,
.footer .__bg-blue a:focus-visible {
	outline-color: #fff;
}
#content:focus {
	outline: none;
}

/* ---------- Openingstijden ---------- */
.dm-hours__dot {
	display: inline-block;
	vertical-align: middle;
	position: relative;
	top: -1px;
	margin-right: .5em;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background-color: #e57373;
	box-shadow: 0 0 0 3px rgba(229, 115, 115, .22);
}
.dm-hours.is-open .dm-hours__dot {
	background-color: #5fd38d;
	box-shadow: 0 0 0 3px rgba(95, 211, 141, .22);
}
.dm-hours__label {
	font-weight: 700;
}
.dm-hours-status {
	margin-bottom: .75rem;
}
/* Maandag staat altijd bovenaan; alleen vandaag wordt gemarkeerd (via JavaScript) */
.table-openinghours[data-dm-openingstijden] tr:first-child td {
	font-weight: inherit;
}
.table-openinghours[data-dm-openingstijden] tr.is-today td {
	font-weight: 700;
}
.table-openinghours .dm-hours-note {
	opacity: .8;
	font-size: .9em;
}

/* =====================================================================
 * Ontwerp: verfijning volgens het aangeleverde ontwerpvoorbeeld
 * Kleuren en knoppen blijven de huidige; knoppen krijgen afgeronde hoeken.
 * ===================================================================== */
:root {
	--dm-blue: #002169;
	--dm-blue-dark: #001a52;
	--dm-radius: 8px;
}

/* Iconen (Feather Icons, MIT) */
.dm-ico {
	display: inline-block;
	flex: none;
	width: 1em;
	height: 1em;
	vertical-align: -.125em;
}

/* Knoppen: huidige stijl, afgerond */
.btn,
#CookieDeclarationChangeConsent a {
	border-radius: var(--dm-radius);
}

/* Koppen iets steviger */
h1, h2, h3, .h1, .h2, .h3 {
	font-weight: 600;
}

/* ---------- Topbalk ---------- */
.header-top .list-inline {
	display: flex;
	align-items: center;
}
.header-top .dm-top-link,
.header-top .dm-top-status {
	display: inline-flex;
	align-items: center;
}
.header-top .dm-ico {
	width: 15px;
	height: 15px;
	margin-right: .5em;
	opacity: .9;
}
.header-top .dm-top-status {
	padding-left: 1.25rem;
	border-left: 1px solid rgba(255, 255, 255, .3);
	line-height: 1.1;
}
.header-top .dm-hours__dot {
	margin: 0 0 0 .6em;
}

/* ---------- Header en menu ---------- */
.header {
	box-shadow: 0 1px 0 rgba(0, 33, 105, .06), 0 6px 20px -14px rgba(0, 33, 105, .35);
}
.nav-primary {
	align-items: center;
}
.nav-primary > li > a {
	text-transform: none;
	font-weight: 600;
	font-size: 17px;
}
.nav-primary > li.dm-nav-cta {
	margin-left: 20px;
}
.nav-primary > li.dm-nav-cta > a.btn {
	padding: .7rem 1.4rem .7rem 2.4rem;
	color: #fff;
	font-size: 16px;
	font-weight: 600;
}
.nav-primary > li.dm-nav-cta {
	margin-right: 15px;
}
.nav-primary > li.dm-nav-cta > a.btn:before {
	content: "\F105";
	font-family: fontello !important;
	line-height: 20px;
	margin-top: -10px;
	width: auto;
	position: absolute;
	top: 50%;
	left: 1.3em;
	right: auto;
	height: auto;
	opacity: 1;
	transform: none;
	background: none;
	color: #fff;
}
.nav-primary > li.dm-nav-cta > a.btn:hover:before {
	transform: translateX(3px);
}
@media (max-width: 1199.98px) {
	.nav-primary > li > a {
		padding-left: 10px;
		padding-right: 10px;
		font-size: 16px;
	}
	.nav-primary > li.dm-nav-cta {
		margin-left: 8px;
	}
	.nav-primary > li.dm-nav-cta > a.btn {
		padding: .6rem 1rem .6rem 2.1rem;
		font-size: 15px;
	}
}

/* ---------- Homepage: USP-balk ---------- */
.dm-usp {
	padding-top: 40px;
	padding-bottom: 40px;
}
.dm-usp .media {
	align-items: center;
}
.dm-usp .media-body {
	font-family: Barlow, sans-serif;
	font-size: 1.05rem;
	font-weight: 600;
	letter-spacing: .01em;
}
.dm-usp__icon {
	display: inline-flex;
	margin-right: 1rem;
}
.dm-usp__icon .dm-ico {
	width: 34px;
	height: 34px;
	stroke-width: 1.5;
}
@media (max-width: 767.98px) {
	.dm-usp .d-flex {
		align-items: flex-start !important;
		max-width: 340px;
		margin: 0 auto;
	}
}
@media (min-width: 768px) {
	.dm-usp .d-flex > div + div {
		padding-left: 2.5rem;
		border-left: 1px solid rgba(255, 255, 255, .25);
	}
}

/* ---------- Homepage: kicker boven koppen ---------- */
.dm-eyebrow {
	display: flex;
	align-items: center;
	margin-bottom: .9rem;
	font-family: Barlow, sans-serif;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--dm-blue);
}
.dm-eyebrow:after {
	content: "";
	width: 48px;
	height: 1px;
	margin-left: 16px;
	background-color: currentColor;
	opacity: .6;
}

/* ---------- Homepage: intro ---------- */
.dm-intro h1 {
	font-size: 2.6rem;
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -.01em;
	margin-bottom: 1.5rem;
}
@media (max-width: 1200px) {
	.dm-intro h1 {
		font-size: calc(1.3rem + 1.7vw);
	}
}
.section .dm-intro p {
	color: #4a4f5c;
}
.section .dm-intro .dm-eyebrow,
.dm-split .block01-text .dm-eyebrow {
	font-size: 13px;
	color: var(--dm-blue);
}

/* ---------- Homepage: blok Ervaring sinds 1948 ---------- */
.dm-split .block01-text {
	max-width: 520px;
	padding: 48px 24px;
}
.dm-split .block01-text h2 {
	font-size: 2.2rem;
	font-weight: 700;
	margin-bottom: 1.25rem;
}
@media (max-width: 1200px) {
	.dm-split .block01-text h2 {
		font-size: calc(1.2rem + 1.2vw);
	}
}
.dm-split .block01-text p {
	font-size: 1.075rem;
	color: #4a4f5c;
}
.dm-split .block01-text .btn {
	margin-top: .5rem;
	padding: .8rem 1.6rem .8rem 2.5rem;
}

/* ---------- Footer ---------- */
.dm-footer__main.__bg-blue {
	padding-top: 70px;
	padding-bottom: 60px;
	background-color: var(--dm-blue);
	background-image:
		radial-gradient(120% 90% at 100% 0%, rgba(40, 90, 200, .35) 0%, rgba(40, 90, 200, 0) 55%),
		radial-gradient(90% 80% at 0% 100%, rgba(0, 10, 40, .35) 0%, rgba(0, 10, 40, 0) 60%);
}
.dm-footer .h3,
.dm-footer h3 {
	margin-bottom: 1.25rem;
	font-size: 1.15rem;
	font-weight: 600;
	color: #fff;
}
.dm-footer__col {
	margin-bottom: 2.5rem;
}
@media (min-width: 992px) {
	.dm-footer__col {
		margin-bottom: 0;
	}
	.dm-footer__col + .dm-footer__col {
		border-left: 1px solid rgba(255, 255, 255, .12);
		padding-left: 30px;
	}
}
.dm-footer__logo {
	display: inline-block;
	width: 170px;
	margin-bottom: 1rem;
}
.dm-footer__logo img {
	display: block;
	width: 100%;
	height: auto;
	filter: brightness(0) invert(1);
}
.dm-footer__tagline {
	max-width: 240px;
	opacity: .85;
}
.dm-footer__social {
	margin-bottom: 1.25rem;
}
.dm-footer__keurmerken {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 18px;
	margin-bottom: 0;
}
.dm-footer__keurmerken li {
	margin: 0 !important;
}

/* Snel naar */
.dm-footer__links {
	margin-bottom: 0;
	max-width: 260px;
}
.dm-footer__links li {
	border-top: 0;
	border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.dm-footer__links a {
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.dm-footer__links a:after {
	content: "";
	width: 7px;
	height: 7px;
	margin-right: 4px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(-45deg);
	opacity: .7;
	transition: transform .25s cubic-bezier(.2, .7, .2, 1), opacity .2s;
}
.dm-footer__links a:hover:after {
	opacity: 1;
	transform: translateX(3px) rotate(-45deg);
}

/* Openingstijden in de footer */
.dm-footer .dm-hours-status {
	display: inline-block;
	margin-bottom: 1rem;
	padding: 6px 14px;
	border: 1px solid rgba(255, 255, 255, .3);
	border-radius: 999px;
	background-color: rgba(255, 255, 255, .06);
	line-height: 1.4;
}
.dm-footer .table-openinghours {
	width: 100%;
	max-width: 260px;
	border-collapse: separate;
	border-spacing: 0;
}
.dm-footer .table-openinghours td {
	padding: 2px 10px;
	color: rgba(255, 255, 255, .8);
}
.dm-footer .table-openinghours tr.is-today td {
	color: #fff;
	background-color: rgba(255, 255, 255, .14);
}
.dm-footer .table-openinghours tr.is-today td:first-child {
	border-radius: 6px 0 0 6px;
}
.dm-footer .table-openinghours tr.is-today td:last-child {
	border-radius: 0 6px 6px 0;
}

/* Adresgegevens met iconen */
.dm-contact-list {
	list-style: none;
	padding-left: 0;
	margin-bottom: 0;
}
.dm-contact-list li {
	display: flex;
	align-items: flex-start;
	margin-bottom: .8rem;
}
.dm-contact-list .dm-ico {
	width: 18px;
	height: 18px;
	margin: 3px 14px 0 0;
	opacity: .9;
}

/* Onderbalk */
.dm-footer__bottom {
	background-color: var(--dm-blue-dark);
	color: rgba(255, 255, 255, .8);
	border-top: 1px solid rgba(255, 255, 255, .08);
}

/* ---------- Reduced motion en print ---------- */
@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
	.dm-parallax__layer {
		will-change: auto;
	}
	.btn,
	.effect-shadow,
	.effect-shadow:hover,
	.img-zoom img {
		transition: none !important;
		transform: none !important;
	}
}
@media print {
	.dm-reveal {
		opacity: 1 !important;
		visibility: visible !important;
		transform: none !important;
	}
}
