/* Aanvullingen op het oude ontwerp voor de WordPress-versie. */

/* --- Slider (vervangt responsiveSlides) --- */
.top .slider .mvh-slides {
	position: relative;
	margin: 0;
	padding: 0;
	overflow: hidden;
	aspect-ratio: var(--mvh-ratio, 1170 / 628);
}
.top .slider .mvh-slides li {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 0.5s ease-in-out;
}
.top .slider .mvh-slides li.is-active {
	opacity: 1;
}
.top .slider .mvh-slides img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* --- Tekstregels over de slider (vervangt wow.js + animate.css) --- */
@keyframes mvhSlideInLeft {
	from { transform: translate3d(-110%, 0, 0); }
	to { transform: translate3d(0, 0, 0); }
}
.top .slider .line {
	animation: mvhSlideInLeft 1s both;
	animation-delay: var(--mvh-delay, 0s);
}
@media (prefers-reduced-motion: reduce) {
	.top .slider .line { animation: none; }
	.top .slider .mvh-slides li { transition: none; }
}

/* --- Accentkleur per pagina (was .page-32/.page-33/.page-34) --- */
body.has-accent .top .slider .line,
body.has-accent .content .buttons a {
	background-color: var(--mvh-accent);
}
body.has-accent .content .buttons a:hover {
	filter: brightness(0.93);
}

/* --- Menu --- */
.top #hoofdmenu li.current-menu-item > a,
.top #hoofdmenu li.current-menu-ancestor > a {
	color: #C7B299;
}
.top #hoofdmenu li:last-child > a {
	padding-right: 0 !important;
}
.top .navbar-toggle {
	border: 0;
	background-color: transparent;
	background-repeat: no-repeat;
	background-position: center;
	cursor: pointer;
}
.top .navbar-toggle .icon-bar {
	display: none;
}

/* --- Kaarten (projecten/producten) --- */
.content .projectitem a {
	color: inherit;
	text-decoration: none;
}
[data-href] {
	cursor: pointer;
}

/* --- Inhoud --- */
.content img {
	max-width: 100%;
	height: auto;
}
/* Detailpagina's: de foto sluit direct aan op de inhoud, de knop valt over de onderrand (zoals de oude site). */
.single .top .slider {
	padding: 10px 0 0;
}
.content .sitemap-list a {
	color: #4D4D4D;
}

/* --- Offerteformulier --- */
.contactform h4 small {
	display: block;
	margin-top: 7px;
	color: #ffffff;
	font-size: 16px;
	line-height: 42px;
}
@media (max-width: 768px) {
	.contactform h4 small {
		margin-top: 0;
		line-height: 26px;
	}
}
.contactform form input,
.contactform form select {
	color: #4D4D4D;
}
.contactform form .is-invalid {
	outline: 2px solid #e2401c;
	outline-offset: -2px;
}
.contactform .mvh-form-message {
	width: 80%;
	margin: 0 auto 30px;
	padding: 12px 20px;
	background-color: #ffffff;
	color: #a02812;
	font-size: 16px;
	font-weight: 400;
}
.contactform .mvh-hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
.contactform .mvh-recaptcha-note {
	width: 80%;
	margin: 10px auto 0;
	color: #b7b7b7;
	font-size: 12px;
	line-height: 18px;
}
.contactform .mvh-recaptcha-note a {
	color: #b7b7b7;
	text-decoration: underline;
}
.grecaptcha-badge {
	visibility: hidden;
}

/* --- Toegankelijkheid --- */
.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
}
a.screen-reader-text:focus {
	position: fixed;
	top: 8px;
	left: 8px;
	z-index: 1000;
	width: auto;
	height: auto;
	padding: 8px 14px;
	clip: auto;
	background-color: #ffffff;
	color: #4D4D4D;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
	outline: 2px solid #C7B299;
	outline-offset: 2px;
}

/* --- Voet: logo van de bouwer, verticaal gecentreerd in dezelfde 100px als het oude logo --- */
footer .reiwa-logo {
	margin: 35px 0;
}

/* --- Cookiemelding (alleen als er een Analytics-ID is ingesteld) --- */
.mvh-cookies {
	position: fixed;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 2000;
	padding: 20px 0;
	background-color: #4D4D4D;
	color: #ffffff;
	font-size: 16px;
	line-height: 24px;
	box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.25);
}
.mvh-cookies[hidden] {
	display: none;
}
.mvh-cookies .container {
	display: flex;
	align-items: center;
	gap: 20px;
}
.mvh-cookies p {
	flex: 1;
	margin: 0;
}
.mvh-cookies strong {
	display: block;
	font-family: Oswald, sans-serif;
	font-weight: 400;
	font-size: 20px;
}
.mvh-cookies a {
	color: #ffffff;
	text-decoration: underline;
}
.mvh-cookies-buttons {
	display: flex;
	gap: 12px;
}
.mvh-cookies button {
	min-width: 130px;
	padding: 8px 18px;
	border: 2px solid #C7B299;
	background-color: #C7B299;
	color: #ffffff;
	font-family: Oswald, sans-serif;
	font-size: 18px;
	text-transform: uppercase;
	cursor: pointer;
	transition: 0.3s ease;
}
.mvh-cookies button:hover {
	border-color: #ffffff;
}
@media (max-width: 768px) {
	.mvh-cookies .container {
		flex-direction: column;
		align-items: stretch;
	}
	.mvh-cookies button {
		flex: 1;
		min-width: 0;
	}
}

/* --- Contactformulier: zichtbare labels, groepen en foutmeldingen --- */
.contactform fieldset {
	min-width: 0;
	margin: 0 0 25px;
	padding: 0;
	border: 0;
}
.contactform legend {
	width: 100%;
	margin-bottom: 18px;
	padding-bottom: 8px;
	border: 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.25);
	color: #ffffff;
	font-family: Oswald, sans-serif;
	font-weight: 300;
	font-size: 24px;
	line-height: 30px;
}
.contactform legend span {
	margin-left: 10px;
	color: #cccccc;
	font-family: "Open Sans", sans-serif;
	font-size: 14px;
}
.contactform .mvh-fields {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 0 20px;
}
.contactform .mvh-fields-3 {
	grid-template-columns: 1fr 1fr 1fr;
}
.contactform .mvh-field {
	margin-bottom: 20px;
}
.contactform .mvh-field label {
	display: block;
	margin-bottom: 6px;
	color: #ffffff;
	font-size: 15px;
	font-weight: 400;
	line-height: 22px;
}
.contactform .mvh-field input,
.contactform .mvh-field select,
.contactform .mvh-field textarea {
	display: block;
	width: 100%;
	height: 48px;
	margin-bottom: 0;
	padding: 10px 14px;
	border: 0;
	border-radius: 0;
	background-color: #ffffff;
	color: #4D4D4D;
	font-size: 16px;
	line-height: 24px;
	text-indent: 0;
}
.contactform .mvh-field textarea {
	height: auto;
	min-height: 120px;
	resize: vertical;
}
.contactform .mvh-field.has-error input,
.contactform .mvh-field.has-error select,
.contactform .mvh-field.has-error textarea {
	outline: 3px solid #ff8f73;
	outline-offset: -3px;
}
.contactform .mvh-error,
.contactform .mvh-hint {
	display: block;
	margin-top: 5px;
	font-size: 14px;
	line-height: 20px;
}
.contactform .mvh-error {
	color: #ffb9a6;
	font-weight: 400;
}
.contactform .mvh-error[hidden] {
	display: none;
}
.contactform .mvh-hint {
	color: #cccccc;
}
.contactform .mvh-hint:empty {
	display: none;
}
.contactform .mvh-form-note {
	margin: 0 0 20px;
	color: #cccccc;
	font-size: 14px;
	line-height: 22px;
}
.contactform .mvh-form-note a {
	color: #ffffff;
	text-decoration: underline !important;
}
.contactform form input[type="submit"]:disabled {
	opacity: 0.7;
	cursor: default;
}
@media (max-width: 768px) {
	.contactform form {
		width: 100%;
	}
	.contactform .mvh-fields,
	.contactform .mvh-fields-3 {
		grid-template-columns: 1fr;
	}
	.contactform legend span {
		display: block;
		margin-left: 0;
	}
}
