/* ==========================================================================
   Automotive 47 — hoofd-stylesheet
   Palet en typografie herleid uit de bestaande site (automotive47.nl):
   goud/antraciet huisstijl, DM Sans.
   ========================================================================== */

:root {
	--goud: #D4AF37;
	--goud-donker: #B3932E;
	--goud-licht: #E5C158;
	--antraciet: #1A1A1A;
	--zwart: #000000;
	--achtergrond: #FAFAFA;
	--wit: #FFFFFF;
	--tekst: #333333;
	--tekst-licht: #6b7280;
	--rand: #e5e7eb;
	--gevaar: #dc2626;

	--font-body: 'DM Sans', sans-serif;
	--container: 1180px;
	--radius: 10px;
	--schaduw: 0 10px 30px rgba(0,0,0,.08);
}

/* ---- Reset / basis ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--font-body);
	color: var(--tekst);
	background: var(--achtergrond);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-body); font-weight: 800; line-height: 1.15; margin: 0 0 .5em; color: var(--antraciet); }
h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
input { font-family: inherit; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link {
	position: absolute; left: -999px; top: 0; background: var(--goud); color: var(--zwart);
	padding: .75em 1.25em; z-index: 200; font-weight: 700;
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 3px solid var(--goud); outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

.wrap { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.wrap--smal { max-width: 760px; }

.tekst-goud { color: var(--goud); }
.tekst-onderstreept { text-decoration: underline; text-decoration-color: var(--goud); text-underline-offset: .15em; }

/* ---- Knoppen ---- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	padding: .9em 1.8em; border-radius: 6px; font-weight: 700; border: 2px solid transparent;
	transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
	white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--gold { background: var(--goud); color: var(--zwart); }
.btn--gold:hover { background: var(--goud-donker); }
.btn--outline { border-color: rgba(255,255,255,.6); color: var(--wit); }
.btn--outline:hover { background: rgba(255,255,255,.1); }
.btn--outline-donker { border-color: var(--antraciet); color: var(--antraciet); }
.btn--outline-donker:hover { background: var(--antraciet); color: var(--wit); }
.btn--groot { padding: 1.05em 2.2em; font-size: 1.02rem; }
.btn--klein { padding: .55em 1.1em; font-size: .85rem; }

/* ---- Header ---- */
.site-header {
	position: sticky; top: 0; z-index: 100; background: var(--wit);
	border-bottom: 1px solid var(--rand);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; gap: 24px; }

.logo { display: inline-flex; flex-direction: column; align-items: center; line-height: 1; }
.logo__merk { display: inline-flex; align-items: baseline; gap: .15em; font-weight: 800; letter-spacing: .03em; border-bottom: 1px solid var(--goud); padding-bottom: 4px; }
.logo__automotive { color: var(--antraciet); font-size: 1.05rem; }
.logo__nummer { color: var(--goud); font-size: 1.4rem; }
.logo__tagline { display: block; margin-top: 3px; font-size: .55rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--tekst); }
.logo--footer .logo__automotive { color: var(--wit); }
.logo--footer .logo__tagline { color: var(--wit); opacity: .7; }
.logo--klein { margin: .5em 0 1.2em; }

.hoofdmenu { display: flex; align-items: center; gap: 28px; }
.hoofdmenu__list { display: flex; gap: 24px; }
.hoofdmenu__list a { font-weight: 500; color: var(--tekst); padding: .3em 0; border-bottom: 2px solid transparent; }
.hoofdmenu__list a:hover, .hoofdmenu__list a.is-actief { color: var(--goud-donker); border-color: var(--goud); }

.nav-toggle {
	display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 8px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--antraciet); display: block; }

/* ---- Hero ---- */
.hero { position: relative; color: var(--wit); overflow: hidden; }
.hero__foto { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(to right, rgba(0,0,0,.9), rgba(0,0,0,.7), rgba(0,0,0,.4)); }
.hero h1, .hero__inner h1 { color: var(--wit); }
.hero__inner { position: relative; padding: 96px 24px; max-width: 720px; }
.hero--klein .hero__inner { padding: 72px 24px; max-width: 800px; }
.hero__intro { font-size: 1.1rem; color: #e5e5e5; max-width: 520px; }
.hero__kicker { font-size: .85rem; color: #d1d5db; margin-bottom: 1em; }
.hero__kicker a { color: var(--goud-licht); font-weight: 700; }
.hero__acties { display: flex; flex-wrap: wrap; gap: 14px; margin: 1.5em 0; }

.badge {
	display: inline-block; background: rgba(212,175,55,.15); border: 1px solid var(--goud);
	color: var(--goud-licht); font-size: .78rem; font-weight: 700; letter-spacing: .04em;
	padding: .4em 1em; border-radius: 999px; margin-bottom: 1em; text-transform: uppercase;
}

.usp-rij { display: flex; flex-wrap: wrap; gap: 20px 32px; margin-top: 1.8em; }
.usp-rij li { display: flex; align-items: center; gap: .5em; font-weight: 500; color: #e5e5e5; font-size: .95rem; }
.usp-rij__vink { color: var(--goud); font-weight: 800; }

/* ---- Secties ---- */
.sectie { padding: 72px 0; }
.sectie--grijs { background: #F3F1EC; }
.sectie--donker { background: var(--antraciet); color: var(--wit); }
.sectie--donker h2, .sectie--donker h3 { color: var(--wit); }
.sectie__titel { text-align: center; }
.sectie__intro { text-align: center; color: var(--tekst-licht); max-width: 620px; margin: 0 auto 2.5em; }

.pagina-titel { background: var(--antraciet); color: var(--wit); padding: 56px 0; text-align: center; }
.pagina-titel h1 { color: var(--wit); }
.pagina-titel p { color: #d1d5db; margin: 0; }

/* ---- Kaarten ---- */
.kaarten-grid { display: grid; gap: 24px; margin-top: 2em; }
.kaarten-grid--2 { grid-template-columns: repeat(2, 1fr); }
.kaarten-grid--3 { grid-template-columns: repeat(3, 1fr); }
.kaarten-grid--4 { grid-template-columns: repeat(4, 1fr); }
.kaart {
	background: var(--wit); border: 1px solid var(--rand); border-radius: var(--radius);
	padding: 28px; box-shadow: var(--schaduw);
}
.sectie--grijs .kaart { background: var(--wit); }
.kaart h3 { color: var(--goud-donker); }
.kaart p { margin: 0; color: var(--tekst-licht); }

/* ---- Stappen ---- */
.stappen-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 2em; }
.stap { text-align: center; }
.stap__nummer {
	display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
	border-radius: 50%; background: var(--goud); color: var(--zwart); font-weight: 800; margin-bottom: .6em;
}

/* ---- Reviews ---- */
.review { border-left: 4px solid var(--goud); padding: 8px 0 8px 24px; margin: 0; }
.review p { font-size: 1.1rem; font-style: italic; color: var(--tekst); }
.sectie--donker .review p { color: #e5e5e5; }
.review cite { font-size: .82rem; font-weight: 700; letter-spacing: .03em; color: var(--tekst-licht); font-style: normal; }

/* ---- CTA blokken ---- */
.cta-waarde { text-align: center; }
.cta-waarde__inner { max-width: 560px; margin: 0 auto; }
.cta-waarde p { color: #d1d5db; }

.cta-alt { background: #F3F1EC; }
.cta-alt__inner { text-align: center; max-width: 620px; margin: 0 auto; }

/* ---- Kenteken tool ---- */
.kenteken-tool { text-align: center; }
.kenteken-tool__uitleg { color: var(--tekst-licht); margin-bottom: 1.5em; }
.kenteken-form { display: flex; flex-wrap: wrap; align-items: stretch; justify-content: center; gap: 14px; margin-bottom: .75em; }
.kenteken-invoer {
	display: flex; align-items: stretch; border: 3px solid var(--zwart); border-radius: 6px; overflow: hidden;
	background: #FFCC00; min-width: 220px;
}
.kenteken-invoer__nl {
	background: #003399; color: var(--wit); font-weight: 800; font-size: .85rem;
	display: flex; align-items: center; padding: 0 10px;
}
.kenteken-invoer input {
	border: none; background: transparent; font-size: 1.4rem; font-weight: 800; letter-spacing: .08em;
	text-align: center; text-transform: uppercase; width: 100%; padding: .4em .5em; color: var(--zwart);
}
.kenteken-invoer input:focus { outline: none; background: rgba(255,255,255,.4); }
.veld-toelichting { font-size: .85rem; color: var(--tekst-licht); }

.kenteken-resultaat {
	max-width: 480px; margin: 1.5em auto; padding: 20px; border-radius: var(--radius);
	background: var(--wit); border: 1px solid var(--rand); text-align: left;
}
.kenteken-resultaat.is-fout { border-color: var(--gevaar); color: var(--gevaar); }
.kenteken-aanvraag { max-width: 620px; margin: 2em auto 0; text-align: left; }
.formulier-placeholder {
	border: 2px dashed var(--rand); border-radius: var(--radius); padding: 24px; text-align: center; color: var(--tekst-licht);
}

/* ---- Contact ---- */
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; }
.contact-gegevens dl { margin: 1em 0 2em; }
.contact-gegevens dt { font-weight: 700; margin-top: 1em; color: var(--goud-donker); font-size: .85rem; text-transform: uppercase; letter-spacing: .03em; }
.contact-gegevens dd { margin: .2em 0 0; }
.openingstijden li { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px dashed var(--rand); font-size: .92rem; }

/* ---- Mobilox container ---- */
.mobilox-container { width: 100%; min-height: 500px; }

/* ---- Footer ---- */
.site-footer { background: var(--antraciet); color: #d1d5db; padding: 64px 0 0; margin-top: 40px; }
.site-footer h2 { color: var(--wit); font-size: 1rem; text-transform: uppercase; letter-spacing: .04em; }
.site-footer a:hover { color: var(--goud-licht); }
.site-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 40px; }
.site-footer address { font-style: normal; }
.footermenu__list li { padding: 4px 0; }
.site-footer__onder {
	border-top: 1px solid rgba(255,255,255,.12); padding: 20px 24px; display: flex; justify-content: space-between;
	flex-wrap: wrap; gap: 8px; font-size: .82rem; color: #9ca3af;
}
.site-footer__onder a { color: #9ca3af; text-decoration: underline; }

/* ---- Sticky bel-knop (mobiel) ---- */
.sticky-bel {
	display: none; position: fixed; bottom: 16px; right: 16px; z-index: 90;
	background: var(--goud); color: var(--zwart); padding: 14px 20px; border-radius: 999px;
	font-weight: 800; box-shadow: 0 8px 20px rgba(0,0,0,.25); align-items: center; gap: .5em;
}

/* ---- Inhoudspagina's (page.php, privacy) ---- */
.inhoud-tekst h2 { margin-top: 1.4em; }

/* ---- Ontbrekende/aanvullende classes (QA-fix) ---- */
.nav-cta { margin-left: 8px; }
.site-footer__over { max-width: 320px; }
.site-footer__over p { color: #9ca3af; }
.site-footer__col ul { margin-top: .5em; }
.sticky-bel__icoon { font-size: 1.1rem; }
.sectie--404 { padding: 96px 0; }
.zoekformulier { display: flex; gap: 10px; justify-content: center; margin: 2em 0; }
.zoekformulier input[type="search"] { padding: .7em 1em; border: 1px solid var(--rand); border-radius: 6px; flex: 1; max-width: 320px; }
.contact-formulier .formulier-placeholder { margin-top: 1em; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 960px) {
	.kaarten-grid--3, .kaarten-grid--4 { grid-template-columns: repeat(2, 1fr); }
	.contact-grid { grid-template-columns: 1fr; }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
	.nav-toggle { display: flex; }
	.hoofdmenu {
		position: fixed; inset: 72px 0 0 0; background: var(--wit); flex-direction: column; align-items: flex-start;
		padding: 24px; gap: 20px; transform: translateX(100%); transition: transform .25s ease; overflow-y: auto;
	}
	.hoofdmenu.is-open { transform: translateX(0); }
	.hoofdmenu__list { flex-direction: column; gap: 16px; width: 100%; }
	.kaarten-grid--2, .kaarten-grid--3, .kaarten-grid--4 { grid-template-columns: 1fr; }
	.stappen-grid { grid-template-columns: 1fr; }
	.site-footer__grid { grid-template-columns: 1fr; }
	.sticky-bel { display: inline-flex; }
	.hero__inner { padding: 64px 20px; }
}

/* ---- Financierings-rekentool ---- */
.reken-tool { text-align: center; max-width: 640px; margin: 0 auto; }
.reken-tool__uitleg { color: var(--tekst-licht); margin-bottom: 1.5em; }
.reken-form {
	display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: end;
	text-align: left; margin-bottom: 1.5em;
}
.reken-form__veld { display: flex; flex-direction: column; gap: 6px; }
.reken-form__veld label { font-size: .82rem; font-weight: 700; color: var(--antraciet); }
.reken-form__veld input, .reken-form__veld select {
	padding: .7em .8em; border: 1px solid var(--rand); border-radius: 6px; font-size: 1rem;
}
.reken-form .btn { grid-column: 1 / -1; }

.reken-resultaat {
	background: var(--wit); border: 1px solid var(--rand); border-radius: var(--radius);
	padding: 24px; margin-bottom: 1em; box-shadow: var(--schaduw);
}
.reken-resultaat__bedrag { font-size: 2rem; font-weight: 800; color: var(--goud-donker); margin-bottom: .2em; }
.reken-resultaat__bedrag span { font-size: 1rem; font-weight: 500; color: var(--tekst-licht); }
.reken-tool__disclaimer { font-size: .78rem; color: var(--tekst-licht); margin-bottom: 1.5em; }

@media (max-width: 640px) {
	.reken-form { grid-template-columns: 1fr; }
}

/* === Logo als afbeelding (consistent op elke pagina) === */
.logo__img { height: 50px; width: auto; display: block; }
.logo--footer .logo__img { height: 58px; margin-bottom: .6em; }
.logo--footer { display: block; }
@media (max-width: 640px) {
	.logo__img { height: 38px; }
}

/* === USP-rij links === */
.usp-rij a { color: inherit; text-decoration: underline; text-decoration-color: rgba(212,175,55,.65); text-underline-offset: 3px; }
.usp-rij a:hover, .usp-rij a:focus { color: var(--goud); }

/* === Google reviews link === */
.reviews-google-link { text-align: center; margin-top: 1.5em; }
.reviews-google-link a { color: var(--goud-donker); font-weight: 600; text-decoration: none; }
.reviews-google-link a:hover { text-decoration: underline; }

/* === Menufixes === */
.hoofdmenu__list { flex-wrap: nowrap; }
.hoofdmenu__list a { white-space: nowrap; }
@media (min-width: 901px) and (max-width: 1320px) {
	.hoofdmenu__list { gap: 14px; }
	.hoofdmenu__list a { font-size: .92rem; }
	.logo__img { height: 38px; }
}
.footermenu__list { display: block; }
.footermenu__list a { color: #d1d5db; }
.footermenu__list a:hover { color: var(--goud); }
.openingstijden li { display: flex; justify-content: space-between; gap: 12px; }

/* Logo niet laten samendrukken */
.site-header__inner .logo { flex-shrink: 0; }
.logo__img { max-width: none; }
