/* ==========================================================
   Automotive Veluwe – aanvullende stijlen
   Themakleuren: logo-rood #9B2D33 (vlakken/knoppen/randen)
   en een iets lichtere tint #C83A43 voor rode tekst, zodat
   die ook op de donkere achtergrond leesbaar blijft.
   ========================================================== */
:root {
	--av-red: #9B2D33;
	--av-red-text: #C83A43;
	--av-dark: #14181E;
	--av-dark-2: #191D23;
	--av-light: #F2F2F2;
	--av-grey: #9299A1; /* het grijs uit het logo */
}

/* ---------- leesbaar rood voor tekst ---------- */
h5,
h1 span,
.over-ons-banner .banner-content h2 span,
.overons-gallery h2 span,
.each-over-ons-slide-info h6,
.form-man h6 {
	color: var(--av-red-text);
}
a:hover,
.header-area .navbar-expand-lg .navbar-nav .nav-link:hover,
.header-area .nav-link:hover,
.menu-items a:hover,
.footer-nav-menu li a:hover,
.footer-mid-part a:hover,
.each-footer-left a:hover,
.contact-info .each-contact-detail a:hover {
	color: var(--av-red-text);
}

/* ---------- logo ---------- */
.header-area .navbar-brand img {
	width: 26rem;
	height: auto;
}
.footer-logo img,
.footer-top-logo img {
	width: 24rem;
	height: auto;
}

/* ---------- hero ----------
   De foto begint onder de kopbalk, zodat het logo in de kop niet over
   de gevelletters "Automotive Veluwe" op de foto heen valt. */
.banner-sec {
	background-color: var(--av-dark);
	padding-top: 7rem;
}
.banner-sec .each-banner img,
.inner-banner .each-banner img {
	object-fit: cover; /* mobiel hebben banners een vaste hoogte: bijsnijden i.p.v. uitrekken */
}
/* Grijze gloed over de slider-foto's (zoals op de oude site): dempt de
   lichte delen en licht het zwart iets op. Voor andere banners: geef
   .each-banner de klasse av-glow. */
.banner-sec .each-banner,
.each-banner.av-glow {
	position: relative;
}
.banner-sec .each-banner::after,
.each-banner.av-glow::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(44, 48, 54, 0.35);
	pointer-events: none;
}
@media (min-width: 992px) {
	.banner-sec {
		padding-top: 12.5rem;
	}
}
/* Donkere rand aan de bovenkant van een banner: houdt het menu leesbaar
   als er iets lichts achter valt (zoals de sticker op de gevel). */
.each-banner.av-topfade {
	position: relative;
}
.each-banner.av-topfade::before {
	content: "";
	position: absolute;
	inset: 0 0 auto 0;
	height: 35%;
	background: linear-gradient(rgba(20, 24, 30, 0.75), rgba(20, 24, 30, 0));
	pointer-events: none;
}

/* ---------- rijke tekst in accordeons ---------- */
.accro-content .av-rich p {
	padding-bottom: 2rem;
}
.accro-content .av-rich h6 {
	font-family: 'OpenSansRegular';
	font-size: 1.8rem;
	line-height: 2.6rem;
	color: #fff;
	margin: 1rem 0 1.4rem;
}
.av-list {
	margin: 0 0 2.4rem;
}
.av-list li {
	position: relative;
	padding-left: 2.4rem;
	margin-bottom: 1.2rem;
	font-family: 'OpenSansRegular';
	font-size: 1.6rem;
	line-height: 2.5rem;
	color: var(--av-light);
}
.av-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.9rem;
	width: 0.8rem;
	height: 0.8rem;
	border-radius: 50%;
	background: var(--av-red-text);
}
.av-list li strong {
	color: #fff;
	font-family: 'OpenSansRegular';
	font-weight: 600;
}
.about-info .av-rich p + p {
	margin-top: 2rem;
}
/* koptekst niet onder de foto laten schuiven */
@media (min-width: 992px) {
	.about-sec .about-info h3 {
		margin-left: 0;
	}
}

/* ---------- dienstpagina's: ruimte onder de paginatitel ----------
   De titel hangt half over de rand van de foto; zonder extra ruimte
   valt hij op brede schermen over het eerste kopje. (Mobiel is er al
   genoeg ruimte, daarom alleen vanaf 992px.) */
@media (min-width: 992px) {
	.dtl-accordion-sec {
		padding-top: 9rem;
	}
}
/* Altijd-open blokken: het laatste kopje verloor zijn ruimte tot de tekst
   (die regel is bedoeld voor de inklapbare accordeon op de homepage). */
.dtl-accordion-sec .service_top_arrow:last-child .accordion-button {
	padding-bottom: 5rem;
}
@media (max-width: 1599.98px) {
	.dtl-accordion-sec .service_top_arrow:last-child .accordion-button {
		padding-bottom: 2rem;
	}
}

/* ---------- "Nieuw binnen"-slider op de homepage (VWE-slideshow) ---------- */
.av-nieuw-binnen .av-slider-fallback {
	max-width: 72rem;
	margin: 0 auto 5rem;
	text-align: center;
}
.av-nieuw-binnen:not(.is-loaded) .product-title h4 {
	margin-bottom: 4rem;
}
.av-nieuw-binnen:not(.is-loaded) .product-slider {
	display: none;
}
.av-nieuw-binnen:not(.is-loaded) .product-btn {
	margin-top: 0;
}
.av-nieuw-binnen.is-loaded .av-slider-fallback {
	display: none;
}
.av-nieuw-binnen .product-btn {
	display: flex;
	gap: 2rem;
	justify-content: center;
	flex-wrap: wrap;
}
.av-nieuw-binnen .product-car img {
	aspect-ratio: 4 / 3;
	object-fit: cover;
	background: #f5f5f5;
}

/* ---------- VWE voorraad (collectie / verkocht) ---------- */
.av-vwe-sec {
	background-color: var(--av-dark-2);
	padding: 20rem 0 10rem;
}
.av-vwe-title {
	text-align: center;
	margin-bottom: 6rem;
}
.av-vwe-title h4 {
	margin-top: 2.2rem;
}
.av-vwe-title p {
	max-width: 72rem;
	margin: 2.4rem auto 0;
}
.av-vwe-frame {
	background: transparent;
	min-height: 60rem;
}
.av-vwe-frame iframe {
	display: block;
}

/* ---------- tellers (op elke pagina) ---------- */
.av-stats {
	background-color: var(--av-dark);
	padding: 10rem 0;
	border-top: 1px solid rgba(242, 242, 242, 0.06);
}
.av-stats-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 4rem;
	text-align: center;
}
.av-stat-circle {
	width: 18rem;
	height: 18rem;
	margin: 0 auto 3rem;
	border-radius: 50%;
	border: 1px solid var(--av-light);
	background: rgba(242, 242, 242, 0.04);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: border-color 0.5s, background-color 0.5s;
}
.av-stat:hover .av-stat-circle {
	border-color: var(--av-red);
	background: rgba(155, 45, 51, 0.12);
}
.av-stat-value {
	font-family: 'OpenSansLight';
	font-size: 4.2rem;
	color: #fff;
	letter-spacing: 1px;
	font-variant-numeric: tabular-nums;
}
.av-stat-label {
	font-family: 'OpenSansRegular';
	font-size: 1.8rem;
	letter-spacing: 0.2rem;
	color: var(--av-grey); /* het grijs uit het logo */
	max-width: 26rem;
	margin: 0 auto;
	line-height: 2.6rem;
}

/* ---------- Google reviews ---------- */
.av-reviews {
	background-color: var(--av-dark-2);
	padding: 10rem 0;
}
.av-reviews-head {
	text-align: center;
	margin-bottom: 5rem;
}
.av-reviews-head h4 {
	margin-top: 2.2rem;
}
.av-reviews-fallback {
	max-width: 76rem;
	margin: 0 auto;
	padding: 5rem 4rem;
	text-align: center;
	border: 1px solid rgba(242, 242, 242, 0.12);
	border-radius: 1.2rem;
	background: #1F242B;
}
.av-reviews-fallback p {
	margin-bottom: 3.2rem;
}
.av-reviews-fallback .av-btn-row {
	display: flex;
	gap: 2rem;
	justify-content: center;
	flex-wrap: wrap;
}
.av-google-word {
	font-family: 'OpenSansRegular';
	font-size: 2.2rem;
	letter-spacing: 0;
	margin-bottom: 2rem;
	display: inline-block;
}
.av-google-word span:nth-child(1), .av-google-word span:nth-child(4) { color: #4285F4; }
.av-google-word span:nth-child(2), .av-google-word span:nth-child(6) { color: #EA4335; }
.av-google-word span:nth-child(3) { color: #FBBC05; }
.av-google-word span:nth-child(5) { color: #34A853; }
.av-google-word em {
	font-style: normal;
	color: var(--av-light);
	margin-left: 0.8rem;
}

/* ---------- Instagram-raster ---------- */
.av-insta-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 2rem;
}
.av-insta-grid a {
	position: relative;
	display: block;
	aspect-ratio: 1 / 1;
	overflow: hidden;
}
.av-insta-grid img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s;
}
.av-insta-grid a::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(20, 24, 30, 0.62);
	transition: background-color 0.5s;
}
.insta-blog-info h5,
.insta-blog-info h4 {
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
}
.av-insta-grid a:hover img {
	transform: scale(1.05);
}
.av-insta-grid a:hover::after {
	background: rgba(20, 24, 30, 0.3);
}
.insta-blog-info {
	pointer-events: none;
	z-index: 1;
}
.insta-blog-btn {
	z-index: 1;
}

/* ---------- formulier-avatar ---------- */
.form-man img.av-avatar {
	background: var(--av-dark);
}

/* ---------- kaart op contactpagina ---------- */
.address-map-area iframe {
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
	filter: grayscale(0.35);
}

/* ---------- eigen Google-reviewswidget ---------- */
.av-stars {
	--r: 5;
	display: inline-block;
	font-size: 2rem;
	line-height: 1;
	letter-spacing: 0.2rem;
	background: linear-gradient(90deg, #FBBC05 calc(var(--r) / 5 * 100%), rgba(242, 242, 242, 0.25) 0);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.av-stars::before {
	content: "★★★★★";
}
.av-rv-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2.4rem;
	flex-wrap: wrap;
	background: #1F242B;
	border: 1px solid rgba(242, 242, 242, 0.08);
	border-radius: 1.2rem;
	padding: 2.8rem 3.2rem;
	margin-bottom: 2.4rem;
}
.av-rv-brand .av-google-word {
	margin-bottom: 0.6rem;
}
.av-rv-score {
	display: flex;
	align-items: center;
	gap: 1rem;
}
.av-rv-num {
	font-family: 'OpenSansRegular';
	font-size: 2.6rem;
	color: #fff;
}
.av-rv-score .av-stars {
	font-size: 2.4rem;
}
.av-rv-count {
	color: rgba(242, 242, 242, 0.6);
	font-size: 1.4rem;
}
.av-rv-slider {
	position: relative;
}
.av-rv-track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: calc((100% - 3 * 2.4rem) / 4);
	gap: 2.4rem;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
	padding-bottom: 0.4rem;
}
.av-rv-track::-webkit-scrollbar {
	display: none;
}
.av-rv-card {
	scroll-snap-align: start;
	background: #1F242B;
	border: 1px solid rgba(242, 242, 242, 0.08);
	border-radius: 1.2rem;
	padding: 2.8rem;
	display: flex;
	flex-direction: column;
	gap: 1.4rem;
}
.av-rv-card-head {
	display: flex;
	align-items: center;
	gap: 1.4rem;
}
.av-rv-avatar {
	width: 4.8rem;
	height: 4.8rem;
	border-radius: 50%;
	object-fit: cover;
	flex-shrink: 0;
}
.av-rv-initial {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--av-red);
	color: #fff;
	font-size: 2rem;
	font-family: 'OpenSansRegular';
}
.av-rv-who {
	display: flex;
	flex-direction: column;
	min-width: 0;
}
.av-rv-name {
	color: #fff;
	font-family: 'OpenSansRegular';
	font-size: 1.7rem;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}
.av-rv-when {
	color: rgba(242, 242, 242, 0.55);
	font-size: 1.3rem;
}
.av-rv-text {
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.av-rv-card.is-open .av-rv-text {
	-webkit-line-clamp: unset;
	display: block;
}
.av-rv-more {
	align-self: flex-start;
	background: none;
	border: 0;
	padding: 0;
	color: rgba(242, 242, 242, 0.6);
	font-size: 1.5rem;
	cursor: pointer;
	text-decoration: underline;
	text-underline-offset: 0.3rem;
}
.av-rv-more:hover {
	color: #fff;
}
.av-rv-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 2;
	width: 4.4rem;
	height: 4.4rem;
	border-radius: 50%;
	border: 1px solid rgba(242, 242, 242, 0.4);
	background: rgba(20, 24, 30, 0.85) url(../images/next.svg) no-repeat center / 1.4rem;
	cursor: pointer;
	transition: background-color 0.3s, border-color 0.3s;
}
.av-rv-prev {
	left: -2.2rem;
	transform: translateY(-50%) rotate(180deg);
}
.av-rv-next {
	right: -2.2rem;
}
.av-rv-nav:hover {
	background-color: var(--av-red);
	border-color: var(--av-red);
}
.av-rv-attrib {
	margin-top: 2rem;
	text-align: center;
	font-size: 1.3rem;
	color: rgba(242, 242, 242, 0.5);
}
.av-rv-attrib a {
	color: rgba(242, 242, 242, 0.8);
	text-decoration: underline;
}

/* ---------- formulieren: keuzemenu "Interesse in" ---------- */
.form-styl.av-select {
	-webkit-appearance: none;
	appearance: none;
	background: url(../images/filter-down-arrow.svg) no-repeat right 0.4rem center / 1rem;
	padding-right: 2.4rem;
	cursor: pointer;
}
.form-styl.av-select option {
	color: #14181E;
}

/* ---------- formulieren: spamveld & meldingen ---------- */
.av-hp {
	position: absolute;
	left: -10000px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}
.av-form-success h4 {
	color: #14181E;
	margin-bottom: 1.6rem;
}
.av-form-success p,
.av-form-error p {
	color: #14181E;
}
.av-form-success:focus {
	outline: none;
}
.av-form-error {
	margin-top: 2.4rem;
	padding: 1.6rem 2rem;
	border-left: 3px solid var(--av-red);
	background: rgba(155, 45, 51, 0.08);
}
.av-form-error a {
	color: var(--av-red);
	text-decoration: underline;
}

/* ---------- responsive ---------- */
@media (max-width: 1199.98px) {
	.av-stat-circle { width: 15rem; height: 15rem; }
	.av-stat-value { font-size: 3.4rem; }
	.av-rv-track { grid-auto-columns: calc((100% - 2 * 2.4rem) / 3); }
}
@media (max-width: 991.98px) {
	.av-rv-track { grid-auto-columns: calc((100% - 2.4rem) / 2); }
	.av-rv-prev { left: -1rem; }
	.av-rv-next { right: -1rem; }
	.av-stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 6rem; }
	.av-vwe-sec { padding-top: 16rem; }
	.header-area .navbar-brand img { width: 22rem; }
}
@media (max-width: 767.98px) {
	.av-insta-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
	.av-insta-grid a:nth-child(n+4) { display: none; }
	.av-reviews-fallback { padding: 4rem 2.4rem; }
}
@media (max-width: 575.98px) {
	.av-stat-circle { width: 12rem; height: 12rem; margin-bottom: 2rem; }
	.av-stat-value { font-size: 2.6rem; }
	.av-stat-label { font-size: 1.4rem; letter-spacing: 0.15rem; }
	.av-stats-grid { gap: 3rem 1.6rem; }
}

/* ---------- merklogo's rechtsboven in de kop ---------- */
.header-right .av-merken {
	display: inline-flex;
	align-items: center;
	margin-right: 3rem;
}
.header-right .av-merken img {
	height: 2.8rem;
	width: auto;
	opacity: 0.85;
}
@media (max-width: 1399.98px) {
	.header-right .av-merken { margin-right: 2rem; }
	.header-right .av-merken img { height: 2.4rem; }
}
/* smaller dan dit is er geen ruimte naast het logo in het midden */
@media (max-width: 1199.98px) {
	.header-right .av-merken { display: none; }
}

/* ---------- RDW-logo naast het logo in de footer ---------- */
.footer-logo {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 3rem;
	flex-wrap: wrap;
}
.footer-logo .av-rdw {
	width: auto;
	height: 5.5rem;
	border-radius: 0.6rem;
}
@media (max-width: 991.98px) {
	.footer-logo .av-rdw { height: 4.5rem; }
}

/* ==========================================================
   Leesbaarheid: dikte, regelhoogte en regellengte
   Open Sans is nu een variabel lettertype (300-700), dus de dikte
   regelen we hier. Lopende tekst staat op 450: iets steviger dan
   normaal, wat op een donkere achtergrond prettiger leest.
   ========================================================== */
body {
	font-weight: 450;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
/* grote koppen blijven slank, kleinere koppen iets steviger */
h1, h2, h3 { font-weight: 300; }
h4, h5 { font-weight: 400; }
h6 { font-weight: 500; }

p, li, .av-stat-label, .home-mid-sec li, .footer-nav-menu li a, .each-footer h6 {
	font-weight: 450;
}
p {
	line-height: 1.65;
	letter-spacing: 0.2px;
}
.av-list li {
	line-height: 1.7;
}
.accro-content .av-rich h6 {
	font-weight: 600; /* tussenkopjes in de tekst duidelijk onderscheiden */
}
.av-stat-label {
	font-weight: 500;
}
.akker_btn_cls {
	font-weight: 500;
}

/* Regellengte: tekstblokken niet breder dan ongeveer 70 tekens */
.av-rich p,
.av-rich li,
.about-info p,
.av-reviews-fallback p,
.av-nieuw-binnen .av-slider-fallback,
.av-vwe-title p,
.contact-info p {
	max-width: 70ch;
}
.av-reviews-fallback p,
.av-nieuw-binnen .av-slider-fallback,
.av-vwe-title p {
	margin-left: auto;
	margin-right: auto;
}
