*,
*::before,
*::after {
	box-sizing: border-box;
}

body {
	margin: 0;
	font-family: var(--showroom-font-family, Inter, Arial, sans-serif);
	color: #1a1a1a;
}

:root {
	--showroom-site-width: 1200px;
	--showroom-side-space: 20px;
}

a {
	color: inherit;
}

.site-header {
	background: var(--showroom-header-bg, #0e1a2b);
	color: var(--showroom-header-text, #ffffff);
	position: sticky;
	top: 0;
	z-index: 1000;
}

.topbar {
	background: var(--showroom-topbar-bg, var(--showroom-header-bg, #0e1a2b));
	border-bottom: 1px solid rgba(255, 255, 255, 0.2);
	font-size: var(--showroom-font-size-topbar, 14px);
	font-weight: var(--showroom-font-weight-topbar, 400);
	width: 100%;
	font-family: var(--showroom-font-topbar, var(--showroom-font-family, Inter, Arial, sans-serif));
}

.topbar__inner {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 16px;
	width: min(calc(100% - (var(--showroom-side-space) * 2)), var(--showroom-site-width));
	margin: 0 auto;
	padding: 10px 0;
}

.topbar__section {
	display: flex;
	align-items: center;
}

.topbar__section a {
	color: inherit;
	text-decoration: none;
}

.topbar__section a:hover,
.topbar__section a:focus-visible {
	text-decoration: underline;
}

.topbar__section--middle {
	justify-content: center;
	text-align: center;
}

.topbar__section--right {
	justify-content: flex-end;
	text-align: right;
}

.main-header {
	display: grid;
	grid-template-columns: minmax(140px, auto) 1fr auto;
	align-items: center;
	gap: 20px;
	width: min(calc(100% - (var(--showroom-side-space) * 2)), var(--showroom-site-width));
	margin: 0 auto;
	padding: 16px 0;
	font-family: var(--showroom-font-header, var(--showroom-font-family, Inter, Arial, sans-serif));
	font-size: var(--showroom-font-size-header, 16px);
	font-weight: var(--showroom-font-weight-header, 500);
}

.custom-logo-link img {
	max-height: 72px;
	width: auto;
	height: auto;
	object-fit: contain;
}

.site-title {
	font-size: 1.35rem;
	font-weight: 700;
	text-decoration: none;
}

.menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 22px;
}

.menu a {
	text-decoration: none;
}

.desktop-navigation .menu,
.mobile-navigation .menu {
	font-family: var(--showroom-font-menu, var(--showroom-font-family, Inter, Arial, sans-serif));
	font-size: var(--showroom-font-size-menu, 16px);
	font-weight: var(--showroom-font-weight-menu, 500);
}

.desktop-navigation {
	display: flex;
	justify-content: center;
	min-width: 0;
}

.main-header.menu-layout-next-logo .desktop-navigation {
	justify-content: flex-start;
}

.main-header.menu-layout-next-button .desktop-navigation {
	justify-content: flex-end;
}

.header-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--showroom-accent, #ff6b35);
	color: var(--showroom-button-text, #ffffff);
	padding: 10px 18px;
	border-radius: var(--showroom-button-radius, 999px);
	text-decoration: none;
	font-weight: 600;
	transition:
		background-color 0.28s ease,
		color 0.28s ease,
		transform 0.28s ease,
		box-shadow 0.28s ease;
}

.header-cta:hover,
.header-cta:focus-visible {
	background: var(--showroom-button-hover-bg, #ff814f);
	color: var(--showroom-button-hover-text, #ffffff);
	transform: translateY(var(--showroom-button-hover-lift, -2px));
	box-shadow: var(--showroom-button-hover-shadow, 0 8px 20px rgba(0, 0, 0, 0.22));
}

.menu-toggle {
	display: none;
	background: transparent;
	border: 0;
	padding: 8px;
	cursor: pointer;
	width: 44px;
	height: 44px;
	position: relative;
	box-sizing: border-box;
}

.menu-toggle span:not(.screen-reader-text) {
	display: block;
	width: 26px;
	height: 2px;
	background: var(--showroom-header-text, #ffffff);
	position: absolute;
	left: 50%;
	margin-left: -13px;
	transition:
		transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
		opacity 0.25s ease;
}

.menu-toggle span:nth-child(1) {
	top: 12px;
}

.menu-toggle span:nth-child(2) {
	top: 21px;
}

.menu-toggle span:nth-child(3) {
	top: 30px;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
	transform: translateY(9px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
	opacity: 0;
	transform: scaleX(0);
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
	transform: translateY(-9px) rotate(-45deg);
}

/*
 * Mobiel menu: geen visibility:hidden tijdens transitie — Safari/iOS schakelt dan vaak
 * opacity/transform-transities uit. Alleen opacity + translate3d + pointer-events.
 */
.mobile-menu-overlay {
	--mobile-menu-duration: 0.75s;
	position: fixed;
	inset: 0;
	z-index: 1100;
	background: var(--showroom-header-bg, #0e1a2b);
	color: var(--showroom-header-text, #ffffff);
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 32px;
	opacity: 0;
	pointer-events: none;
	transform: translate3d(0, -100%, 0);
	-webkit-transform: translate3d(0, -100%, 0);
	transition:
		opacity var(--mobile-menu-duration) ease,
		transform var(--mobile-menu-duration) cubic-bezier(0.22, 1, 0.36, 1);
	-webkit-transition:
		opacity var(--mobile-menu-duration) ease,
		-webkit-transform var(--mobile-menu-duration) cubic-bezier(0.22, 1, 0.36, 1);
}

.mobile-menu-overlay.is-open {
	opacity: 1;
	pointer-events: auto;
	transform: translate3d(0, 0, 0);
	-webkit-transform: translate3d(0, 0, 0);
}

.mobile-menu-overlay .menu-close,
.mobile-menu-overlay .mobile-navigation {
	transition: opacity 0.64s ease 0.12s;
}

.mobile-menu-overlay:not(.is-open) .menu-close,
.mobile-menu-overlay:not(.is-open) .mobile-navigation {
	opacity: 0;
	transition: opacity 0.26s ease;
}

.mobile-menu-overlay.is-open .menu-close,
.mobile-menu-overlay.is-open .mobile-navigation {
	opacity: 1;
}

.menu-close {
	position: absolute;
	top: 18px;
	right: 24px;
	font-size: 42px;
	line-height: 1;
	background: none;
	border: 0;
	color: inherit;
	cursor: pointer;
}

.menu--mobile {
	flex-direction: column;
	gap: 18px;
	text-align: center;
	font-size: 1.4rem;
}

.content-wrap {
	width: min(calc(100% - (var(--showroom-side-space) * 2)), var(--showroom-site-width));
	margin: 32px auto;
	padding: 0;
}

.content-card {
	background: #fff;
	border: 1px solid #efefef;
	border-radius: 14px;
	padding: 24px;
	margin-bottom: 20px;
}

.site-footer {
	background: var(--showroom-footer-bg, #111111);
	color: var(--showroom-footer-text, #ffffff);
	margin-top: 48px;
	font-family: var(--showroom-font-footer, var(--showroom-font-family, Inter, Arial, sans-serif));
	font-size: var(--showroom-font-size-footer, 16px);
	font-weight: var(--showroom-font-weight-footer, 400);
}

.footer-sections {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	width: min(calc(100% - (var(--showroom-side-space) * 2)), var(--showroom-site-width));
	margin: 0 auto;
	padding: 32px 0;
}

.footer-accordion {
	font-size: 1rem;
	font-weight: 700;
	background: none;
	border: 0;
	color: inherit;
	padding: 0 0 10px;
	text-align: left;
	width: 100%;
}

.footer-accordion__label {
	flex: 1;
	min-width: 0;
}

.footer-accordion__icon {
	position: relative;
	flex-shrink: 0;
	width: 14px;
	height: 14px;
	margin-inline-start: 8px;
}

.footer-accordion__icon::before {
	content: "";
	position: absolute;
	left: 50%;
	top: 45%;
	width: 8px;
	height: 8px;
	margin: -4px 0 0 -5px;
	border-style: solid;
	border-width: 0 2px 2px 0;
	border-color: currentColor;
	transform: rotate(45deg);
	transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-accordion[aria-expanded="true"] .footer-accordion__icon::before {
	transform: rotate(-135deg);
}

.footer-content-inner {
	min-height: 0;
}

.footer-content p {
	margin: 0 0 10px;
}

.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.2);
	width: min(calc(100% - (var(--showroom-side-space) * 2)), var(--showroom-site-width));
	margin: 0 auto;
	padding: 14px 0;
	font-size: 0.9rem;
	text-align: var(--showroom-copyright-align, left);
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}

@media (max-width: 991px) {
	.topbar {
		font-size: var(--showroom-font-size-topbar-mobile, 13px);
	}

	.main-header {
		font-size: var(--showroom-font-size-header-mobile, 15px);
	}

	.desktop-navigation .menu,
	.mobile-navigation .menu {
		font-size: var(--showroom-font-size-menu-mobile, 18px);
	}

	.site-footer {
		font-size: var(--showroom-font-size-footer-mobile, 15px);
	}

	.topbar__inner {
		grid-template-columns: 1fr 1fr;
	}

	.topbar__section--middle {
		display: none;
	}

	.topbar__section--right {
		justify-content: flex-end;
	}

	.main-header {
		grid-template-columns: 1fr auto;
	}

	.desktop-navigation,
	.header-cta {
		display: none;
	}

	.menu-toggle {
		display: inline-block;
		touch-action: manipulation;
	}

	.footer-sections {
		grid-template-columns: 1fr;
		gap: 8px;
	}

	.footer-accordion {
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 12px 0 10px;
	}

	.footer-content {
		display: block;
		max-height: 0;
		opacity: 0;
		visibility: hidden;
		padding: 0;
		overflow: hidden;
		border-bottom: 1px solid rgba(255, 255, 255, 0.15);
		transition:
			max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1),
			opacity 0.25s ease,
			visibility 0s linear 0.45s;
	}

	.footer-section.is-open .footer-content {
		max-height: 500px;
		opacity: 1;
		visibility: visible;
		transition:
			max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1),
			opacity 0.25s ease,
			visibility 0s;
	}

	.footer-content-inner {
		overflow: hidden;
		padding-bottom: 14px;
	}

	.footer-section:last-of-type .footer-content {
		border-bottom: 0;
	}
}

@media (min-width: 992px) {
	.footer-accordion {
		pointer-events: none;
		display: block;
		padding: 0 0 10px;
	}

	.footer-accordion__icon {
		display: none;
	}

	.footer-content {
		display: block;
		overflow: visible;
		border-bottom: 0;
	}

	.footer-content-inner {
		overflow: visible;
		padding-bottom: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	.menu-toggle span:not(.screen-reader-text),
	.mobile-menu-overlay,
	.mobile-menu-overlay .menu-close,
	.mobile-menu-overlay .mobile-navigation,
	.footer-content,
	.footer-accordion__icon::before {
		transition-duration: 0.01ms !important;
	}
}
