/**
 * Mobiele navigatie: zijpaneel dat van rechts inschuift, met achtergrond-overlay,
 * grote tikvlakken en uitklapbare submenu's (accordion).
 *
 * De desktopnavigatie en dropdowns gebruiken de gecompileerde Tailwind-classes uit
 * theme.css; dit bestand voegt enkel het mobiele paneel toe.
 */

/* Scroll van de pagina vergrendelen zolang het menu open is. */
body.eu-no-scroll {
	overflow: hidden;
}

/* Achtergrond-overlay. */
.eu-m-backdrop {
	position: fixed;
	inset: 0;
	background: rgba(22, 22, 23, 0.5);
	opacity: 0;
	transition: opacity 0.3s ease;
	z-index: 60;
}
/* CSS-only schakelaar (checkbox-hack). */
.eu-m-toggle-input {
	position: fixed;
	opacity: 0;
	width: 0;
	height: 0;
	pointer-events: none;
}
.eu-m-backdrop {
	visibility: hidden;
	cursor: pointer;
}
.eu-m-toggle-input:checked ~ .eu-m-backdrop {
	opacity: 1;
	visibility: visible;
}
.eu-m-toggle-input:checked ~ .eu-m-panel {
	transform: translateX(0);
}
/* Scroll van de pagina vergrendelen zolang het menu open is. */
html:has(.eu-m-toggle-input:checked) {
	overflow: hidden;
}

/* Het zijpaneel zelf. */
.eu-m-panel {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	width: 86%;
	max-width: 360px;
	background: #fff;
	z-index: 70;
	display: flex;
	flex-direction: column;
	box-shadow: -8px 0 32px rgba(0, 0, 0, 0.18);
	transform: translateX(100%);
	transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
	overscroll-behavior: contain;
}
/* (paneel schuift in via .eu-m-toggle-input:checked ~ .eu-m-panel) */

/* Kop met logo + sluitknop. */
.eu-m-panel__head {
	flex: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 18px;
	border-bottom: 1px solid #ececec;
}
.eu-m-panel__logo {
	display: inline-flex;
}
.eu-m-panel__logo img {
	height: 44px;
	width: auto;
	display: block;
}
.eu-m-close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin-right: -8px;
	color: #161617;
	background: none;
	border: 0;
	border-radius: 8px;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease;
}
.eu-m-close:hover {
	background: #f3f1ee;
	color: #e3292b;
}

/* Schuifbare lijst met menu-items. */
.eu-m-nav {
	flex: 1 1 auto;
	min-height: 0; /* zodat de lijst kan scrollen i.p.v. de flexbox op te rekken */
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	padding: 6px 0;
}

.eu-m-link,
.eu-m-sublink {
	display: block;
	font-family: Montserrat, Arial, sans-serif;
	color: #161617;
	text-decoration: none;
	transition: color 0.15s ease;
}
.eu-m-link {
	font-size: 16px;
	font-weight: 600;
	padding: 14px 20px;
}
.eu-m-link--solo {
	border-bottom: 1px solid #f1efec;
}
.eu-m-link:hover,
.eu-m-sublink:hover {
	color: #e3292b;
}

/* Item met submenu. */
.eu-m-group {
	border-bottom: 1px solid #f1efec;
}
.eu-m-group > summary {
	list-style: none;
	cursor: pointer;
}
.eu-m-group > summary::-webkit-details-marker { display: none; }
.eu-m-group > summary::marker { content: ""; }
.eu-m-row {
	display: flex;
	align-items: stretch;
	justify-content: space-between;
}
.eu-m-row .eu-m-link {
	flex: 1 1 auto;
}
.eu-m-expand {
	flex: none;
	width: 56px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #6b6b6b;
	background: none;
	border: 0;
	border-left: 1px solid #f1efec;
	cursor: pointer;
}
.eu-m-expand svg {
	transition: transform 0.25s ease;
}
.eu-m-group[open] .eu-m-expand {
	color: #e3292b;
}
.eu-m-group[open] .eu-m-expand svg {
	transform: rotate(180deg);
}

/* Submenu. */
.eu-m-sub {
	background: #faf8f5;
	padding: 4px 0 8px;
}
.eu-m-sublink {
	font-size: 15px;
	font-weight: 500;
	color: #4a4a4a;
	padding: 11px 20px 11px 32px;
}

/* Knoppen onderaan. */
.eu-m-actions {
	flex: none;
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 16px 20px;
	padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
	border-top: 1px solid #ececec;
}
.eu-m-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	text-decoration: none;
	font-family: Montserrat, Arial, sans-serif;
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	padding: 14px 20px;
	border-radius: 8px;
	transition: background 0.15s ease;
}
.eu-m-btn--primary {
	background: #e3292b;
	color: #fff;
}
.eu-m-btn--primary:hover {
	background: #c81f21;
}
.eu-m-btn--move {
	background: #161617;
	color: #fff;
}
.eu-m-btn--move:hover {
	background: #000;
}

/* Op desktop nooit tonen (de hamburger is daar verborgen). */
@media (min-width: 1024px) {
	.eu-m-panel,
	.eu-m-backdrop,
	.eu-m-toggle-input {
		display: none !important;
	}
}

/* Klanttevredenheid-kaart: dropdown als overlay (schaalt de kaart niet op). */
.eu-kt-dd { position: relative; }
.eu-kt-dd > summary { list-style: none; cursor: pointer; }
.eu-kt-dd > summary::-webkit-details-marker { display: none; }
.eu-kt-dd > summary::marker { content: ""; }
.eu-kt-trigger {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	background: rgba(255, 255, 255, 0.15);
	border: 1px solid rgba(255, 255, 255, 0.45);
	border-radius: 999px;
	padding: 14px 22px;
	font-family: Montserrat, Arial, sans-serif;
	font-weight: 600;
	font-size: 15px;
	color: #fff;
	transition: background 0.15s ease;
}
.eu-kt-trigger:hover { background: rgba(255, 255, 255, 0.22); }
.eu-kt-chevron { flex: none; transition: transform 0.25s ease; }
.eu-kt-dd[open] .eu-kt-chevron { transform: rotate(180deg); }
.eu-kt-overlay {
	position: absolute;
	left: 0;
	right: 0;
	top: calc(100% + 8px);
	z-index: 60;
	background: #fff;
	border-radius: 14px;
	max-height: 320px;
	overflow-y: auto;
	box-shadow: 0 18px 50px rgba(0, 0, 0, 0.30);
}
.eu-kt-opt {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 14px 20px;
	color: #161617;
	text-decoration: none;
	font-family: Montserrat, Arial, sans-serif;
	font-size: 15px;
	border-top: 1px solid #f0eeec;
}
.eu-kt-opt:first-child { border-top: 0; }
.eu-kt-opt:hover { background: #f7f6f4; }
.eu-kt-opt-score { font-weight: 800; font-size: 18px; color: #c60f2b; }
.eu-kt-pill[hidden] { display: none; }
.eu-kt-pill {
	display: inline-block;
	background: rgba(255, 255, 255, 0.18);
	border: 1px solid rgba(255, 255, 255, 0.5);
	border-radius: 999px;
	padding: 6px 16px;
	font-family: Montserrat, Arial, sans-serif;
	font-size: 14px;
	font-weight: 600;
	color: #fff;
	white-space: nowrap;
}

/* Hamburger-toggle: afmeting NIET afhankelijk van Tailwind-utilities (w-7/h-7
   bestaan niet in de gecompileerde CSS). Forceer een zichtbaar, tikbaar icoon. */
.eu-mobile-toggle {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	color: #161617;
}
.eu-mobile-toggle svg {
	width: 28px !important;
	height: 28px !important;
}
@media (min-width: 1024px) {
	.eu-mobile-toggle { display: none !important; }
}

/* Hamburger nooit wegdrukken + logo iets kleiner op mobiel, zodat de toggle
   altijd ruimte heeft (voorkomt dat een breed logo hem van het scherm duwt). */
.eu-mobile-toggle { flex: none; margin-left: auto; }
@media (max-width: 1023.98px) {
	.eu-navbar a img { max-height: 2.7rem; width: auto; }
}

/* ===== Klanttevredenheid + woningwaarde-kaarten (eigen opmaak, niet afhankelijk
   van Tailwind-utilities die niet in de gecompileerde CSS zitten). ===== */
.eu-kt-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 28px;
	align-items: stretch;
}
@media (max-width: 1023.98px) {
	.eu-kt-grid { grid-template-columns: 1fr; }
}
.eu-kt-card {
	box-sizing: border-box;
	border-radius: 18px;
	padding: 34px 36px;
	display: flex;
	flex-direction: column;
	font-family: Montserrat, Arial, sans-serif;
}
.eu-kt-card--red { background: #c60f2b; color: #fff; justify-content: space-between; }
.eu-kt-card--white { background: #fff; color: #161617; justify-content: center; box-shadow: 0 8px 32px rgba(0, 0, 0, 0.10); }
@media (max-width: 600px) {
	.eu-kt-card { padding: 26px; }
}
.eu-kt-title { font-weight: 900; line-height: 1.05; margin: 0; font-size: 31px; }
.eu-kt-title--dark { color: #161617; margin-bottom: 14px; }
.eu-kt-sub { margin: 8px 0 0; font-size: 14px; color: rgba(255, 255, 255, 0.78); }
.eu-kt-head { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; }
.eu-kt-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 26px; padding: 22px 0; }
.eu-kt-stat { display: flex; flex-direction: column; }
.eu-kt-stat-value { font-weight: 900; line-height: 1; font-size: 44px; }
.eu-kt-stat-label { margin-top: 7px; font-size: 13px; line-height: 1.35; color: rgba(255, 255, 255, 0.82); }
@media (max-width: 600px) {
	.eu-kt-stats { gap: 18px 18px; }
	.eu-kt-stat-value { font-size: 38px; }
}
.eu-kt-foot { display: flex; flex-direction: column; gap: 16px; }
.eu-kt-btn-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; color: #fff; text-decoration: none; }
.eu-kt-btn-link:hover { opacity: 0.85; }
.eu-kt-wb-body { font-size: 16px; line-height: 1.65; color: #6b6b6b; margin: 0 0 18px; max-width: 420px; }
.eu-kt-points { list-style: none; margin: 0 0 24px; padding: 0; }
.eu-kt-points li { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 11px; font-size: 15px; color: #161617; }
.eu-kt-check { flex: none; color: #c60f2b; display: inline-flex; margin-top: 1px; }
.eu-kt-wb-btn {
	align-self: flex-start;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #c60f2b;
	color: #fff;
	border-radius: 6px;
	padding: 14px 26px;
	font-weight: 700;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	text-decoration: none;
}
.eu-kt-wb-btn:hover { opacity: 0.92; }
