/* Royal Cars Service voorbeeldsite. Uit ui-ux-pro-max (automotive repair premium service):
   zwart met goud, Cormorant voor koppen en Montserrat voor tekst. Geen glas, geen verlopen, geen schaduw. */

@font-face { font-family: "Cormorant"; src: url("fonts/cormorant-latin-wght-normal.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("fonts/montserrat-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --stone: #f4f4f2;
  --stone-2: #e8e7e3;
  --ink: #0c0a09;
  --ink-2: #3b3733;
  --black: #12100e;
  --black-2: #211e1b;
  --on-black: #f4f4f2;
  --on-black-2: #cfc9c0;
  --gold: #c99a3e;
  --gold-hover: #ddb05a;
  --gold-ink: #7d540e;
  --focus: #e9b949;
  --wrap: 1280px;
  --gutter: clamp(16px, 4vw, 48px);
  --section: clamp(80px, 11vw, 176px);
  --ease: cubic-bezier(.22, .68, .18, 1);
  --head-h: 76px;
  --serif: "Cormorant", "Cormorant Garamond", Georgia, serif;
  --sans: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--stone); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; }
@media (min-width: 900px) { body { font-size: 18px; } }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 600; line-height: 1; letter-spacing: -0.015em; text-wrap: balance; }
p { margin: 0; }
@media (min-width: 600px) { p { text-wrap: pretty; } }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } /* taste-skill-ignore: visually hidden, not a rule */
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.nw { white-space: nowrap; }

.skip-link { position: absolute; left: 16px; top: -100px; z-index: 100; background: var(--gold); color: var(--ink); padding: 12px 18px; text-decoration: none; font-weight: 600; }
.skip-link:focus { top: 12px; }
.demo-note { background: var(--ink); color: var(--stone); font-size: 16px; line-height: 1.4; text-align: center; padding: 10px var(--gutter); }
.demo-note a { color: inherit; font-weight: 600; text-underline-offset: 3px; padding: 13px 12px; margin: 0 -12px; white-space: nowrap; }
.demo-note a:focus-visible { outline: 2px solid currentColor; outline-offset: -10px; }

/* kop */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--black); color: var(--on-black); }
.site-header.is-stuck { box-shadow: 0 10px 30px rgba(0, 0, 0, .25); } /* taste-skill-ignore: sticky bar, open menu or focus ring */
.head-row { display: flex; align-items: center; gap: 8px; min-height: var(--head-h); }
.wordmark { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; margin-right: auto; text-decoration: none; white-space: nowrap; }
.wordmark svg { width: 34px; height: 34px; flex: none; }
.wordmark span { font-family: var(--serif); font-weight: 600; font-size: 24px; letter-spacing: .01em; }
.wordmark { gap: 10px; }
.wordmark .svc { display: none; }
@media (min-width: 760px) { .wordmark .svc { display: inline; } }
.nav-links { display: none; gap: 2px; }
.nav-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; text-decoration: none; font-weight: 500; font-size: 16px; white-space: nowrap; color: var(--on-black-2); transition: color .2s var(--ease); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--gold); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 24px; border: 0; border-radius: 0; font: inherit; font-weight: 600; font-size: 16px; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color .2s var(--ease), color .2s var(--ease), transform .2s var(--ease); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:active { transform: translateY(1px); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-hover); }
.btn-dark { background: var(--black-2); color: var(--on-black); }
.btn-dark:hover { background: #2f2a26; }
.btn-ink { background: var(--ink); color: var(--stone); }
.btn-ink:hover { background: #2a2622; }
.btn-big { min-height: 58px; padding: 0 28px; font-size: 18px; }
.head-call, .head-cta { min-height: 44px; padding: 0 14px; }
.head-cta { gap: 0; }
.head-call .long, .head-cta .long { display: none; }
@media (min-width: 640px) { .head-call .long { display: inline; } .head-call .short { display: none; } }
@media (min-width: 560px) { .head-cta .long { display: inline; } }
@media (max-width: 419px) { .head-call { width: 44px; padding: 0; } .head-call .short { display: none; } .head-row { gap: 6px; } .wordmark svg { width: 30px; height: 30px; } .wordmark span { font-size: 21px; } }

.menu { position: relative; }
.menu summary { list-style: none; display: grid; place-items: center; width: 44px; height: 44px; cursor: pointer; background: var(--black-2); color: var(--on-black); }
.menu summary::-webkit-details-marker { display: none; }
.menu summary svg { width: 22px; height: 22px; }
.menu-panel { position: absolute; right: 0; top: calc(100% + 10px); width: min(300px, calc(100vw - 32px)); background: var(--black-2); padding: 10px; display: grid; box-shadow: 0 20px 50px rgba(0, 0, 0, .4); } /* taste-skill-ignore: sticky bar, open menu or focus ring */
.menu-panel a { display: flex; align-items: center; min-height: 48px; padding: 0 14px; text-decoration: none; color: var(--on-black); font-weight: 500; }
.menu-panel a:hover { color: var(--gold); }
/* volledig menu pas vanaf 1240 px: op 1160 tot 1239 px schoof "Prijs vragen" in of over de rechterrand */
@media (min-width: 1240px) { .nav-links { display: flex; } .menu { display: none; } .head-row { gap: 12px; } }

/* hero: zwart veld, foto binnen de marges */
.hero { background: var(--black); color: var(--on-black); padding: clamp(32px, 6vw, 88px) 0 clamp(56px, 8vw, 120px); }
.hero-grid { display: grid; gap: clamp(32px, 4vw, 64px); align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 8.4vw, 7.6rem); font-weight: 600; line-height: .92; letter-spacing: -0.02em; }
.hero .lead { margin-top: 28px; font-size: clamp(1.1rem, 1.5vw, 1.25rem); color: var(--on-black-2); max-width: 40ch; }
.hero .lead strong { color: var(--on-black); font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-media { margin: 0; position: relative; overflow: hidden; aspect-ratio: 4 / 4.4; background: var(--black-2); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 48% 50%; }
.hero-facts { display: grid; gap: 18px; margin-top: clamp(40px, 6vw, 88px); }
.hero-facts li { display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: center; font-weight: 500; color: var(--on-black); }
.hero-facts svg { width: 48px; height: 48px; }
@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1.15fr .85fr; }
  .hero-facts { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 599px) { .hero-actions .btn { flex: 1 1 100%; } .hero-media { aspect-ratio: 4 / 3.3; } }

/* algemeen */
.section { padding: var(--section) 0; }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head h2 { font-size: clamp(2.3rem, 5.4vw, 4.6rem); line-height: .96; }
.section-head p { font-size: clamp(1.06rem, 1.4vw, 1.25rem); max-width: 52ch; color: var(--ink-2); }
@media (min-width: 900px) { .section-head.split { grid-template-columns: 1.1fr .9fr; align-items: end; } }
.dark { background: var(--black); color: var(--on-black); }
.dark .section-head p { color: var(--on-black-2); }

/* klachtenwijzer */
.finder { display: grid; gap: clamp(24px, 3vw, 48px); align-items: start; }
.symptoms { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; min-width: 0; }
.finder > * { min-width: 0; }
.symptoms legend { font-weight: 600; margin-bottom: 14px; }
.symptom { position: relative; }
.symptom input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.symptom span { display: flex; align-items: center; gap: 14px; min-height: 60px; padding: 12px 18px; background: var(--stone-2); font-weight: 500; transition: background-color .2s var(--ease), color .2s var(--ease), padding .25s var(--ease); }
.symptom span::before { content: ""; width: 12px; height: 12px; flex: none; background: var(--gold-ink); transform: rotate(45deg); transition: background-color .2s var(--ease); }
.symptom:hover span { background: #dcdad4; }
.symptom input:checked + span { background: var(--ink); color: var(--stone); padding-left: 24px; }
.symptom input:checked + span::before { background: var(--gold); }
.symptom input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.answer { background: var(--black); color: var(--on-black); display: grid; }
.answer figure { margin: 0; overflow: hidden; aspect-ratio: 16 / 9; background: var(--black-2); }
.answer figure img { width: 100%; height: 100%; object-fit: cover; transition: opacity .35s var(--ease), transform .6s var(--ease); }
.answer figure img.swap { opacity: 0; transform: scale(1.03); }
.answer .txt { padding: clamp(22px, 3vw, 36px); display: grid; gap: 14px; }
.answer h3 { font-size: clamp(1.7rem, 2.4vw, 2.1rem); line-height: 1; }
.answer .check { color: var(--on-black-2); }
.answer .check strong { color: var(--gold); font-weight: 600; }
.answer .acts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.answer .acts .btn { white-space: normal; }
@media (min-width: 960px) { .finder { grid-template-columns: .85fr 1.15fr; } .answer { position: sticky; top: calc(var(--head-h) + 24px); } }

/* diensten als prijskaart */
.services-grid { display: grid; gap: clamp(32px, 4vw, 72px); align-items: start; }
.svc-list { display: grid; gap: 4px; }
.svc-list li { display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding: 20px 0; }
.svc-list svg { width: 52px; height: 52px; }
.svc-list h3 { font-size: clamp(1.7rem, 2.4vw, 2.1rem); margin-bottom: 6px; }
.svc-list p { color: var(--ink-2); }
.svc-figs { display: grid; gap: 16px; }
.services-grid figure { margin: 0; overflow: hidden; }
.services-grid figure img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; object-position: 30% 50%; }
.services-grid figcaption { margin-top: 12px; font-size: 16px; color: var(--ink-2); }
@media (min-width: 900px) { .services-grid { grid-template-columns: 1.2fr .8fr; } }

/* uit de werkplaats */
.story { display: grid; gap: clamp(32px, 4vw, 72px); align-items: center; }
.story figure { margin: 0; overflow: hidden; }
.story figure img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.story figcaption { margin-top: 12px; font-size: 16px; color: var(--on-black-2); }
.story .date { color: var(--gold); font-weight: 600; }
.story h2 { font-size: clamp(2.3rem, 5.4vw, 4.6rem); line-height: .96; margin: 0 0 20px; }
.story p + p { margin-top: 14px; }
.story .body p { color: var(--on-black-2); max-width: 54ch; }
.story .fb { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; margin-top: 22px; color: var(--gold); font-weight: 600; text-underline-offset: 5px; }
@media (min-width: 900px) { .story { grid-template-columns: 1.05fr .95fr; } }

/* werkwijze */
.steps { display: grid; gap: clamp(24px, 3vw, 40px); counter-reset: none; }
.steps li { padding-top: 26px; position: relative; }
.steps li::before { content: ""; position: absolute; left: 0; top: 0; width: 56px; height: 6px; background: var(--gold); }
.steps h3 { font-size: clamp(1.7rem, 2.4vw, 2.1rem); margin-bottom: 10px; }
.steps p { color: var(--ink-2); }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); } }

/* tweedehands */
.cars-band { display: grid; gap: clamp(32px, 4vw, 72px); align-items: center; }
.cars-band .drawing { background: var(--black); padding: clamp(20px, 3vw, 40px); }
.cars-band .drawing svg { width: 100%; height: auto; display: block; }
@media (min-width: 900px) { .cars-band { grid-template-columns: .9fr 1.1fr; } }

/* vragen */
.faq-grid { display: grid; gap: clamp(28px, 4vw, 64px); }
.faq { display: grid; gap: 8px; }
.faq details { background: var(--stone-2); transition: background-color .2s var(--ease); }
.faq details[open] { background: #dedcd6; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; padding: 16px 22px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 22px; height: 22px; flex: none; color: var(--gold-ink); transition: transform .25s var(--ease); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { padding: 0 22px 22px; max-width: 62ch; color: var(--ink-2); }
@media (min-width: 900px) { .faq-grid { grid-template-columns: .8fr 1.2fr; } }

/* contactband */
.visit-grid { display: grid; gap: clamp(32px, 4vw, 64px); }
.big-phone { display: inline-flex; align-items: center; min-height: 48px; font-family: var(--serif); font-weight: 600; font-size: clamp(2.3rem, 5.4vw, 4.6rem); text-decoration: none; color: var(--gold); line-height: 1; }
.big-phone:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 10px; }
.facts { display: grid; gap: 22px; }
.facts > li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; }
.facts svg { width: 30px; height: 30px; color: var(--gold); margin-top: 2px; }
.facts strong { display: block; font-weight: 600; }
.facts a { text-underline-offset: 4px; }
.dark .facts { color: var(--on-black-2); }
.dark .facts strong { color: var(--on-black); }
.area { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.area li { background: var(--black-2); padding: 8px 14px; font-size: 16px; white-space: nowrap; color: var(--on-black); }
.route { margin-top: 28px; background: var(--black-2); padding: 22px; }
.route svg { width: 100%; height: auto; display: block; }
@media (min-width: 900px) { .visit-grid { grid-template-columns: 1fr 1fr; align-items: start; } }

/* subpagina's */
.page-hero { background: var(--black); color: var(--on-black); padding: clamp(32px, 6vw, 88px) 0 clamp(48px, 7vw, 104px); }
.page-hero h1 { font-size: clamp(2.6rem, 8.4vw, 7.6rem); line-height: .92; }
.page-hero .lead { margin-top: 24px; font-size: clamp(1.1rem, 1.5vw, 1.25rem); color: var(--on-black-2); max-width: 50ch; }
.page-hero-grid { display: grid; gap: clamp(28px, 4vw, 64px); align-items: end; }
.page-hero-grid figure { margin: 0; overflow: hidden; }
.page-hero-grid figure img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
@media (min-width: 900px) { .page-hero-grid { grid-template-columns: 1.1fr .9fr; } }

.detail { display: grid; gap: clamp(24px, 4vw, 72px); align-items: center; padding: clamp(48px, 7vw, 104px) 0; }
.detail figure { margin: 0; overflow: hidden; }
.detail figure img { width: 100%; aspect-ratio: 3 / 2.2; object-fit: cover; }
.detail h2 { font-size: clamp(2.3rem, 5.4vw, 4.6rem); line-height: .96; }
.detail .body { display: grid; gap: 16px; }
.detail .body > p { color: var(--ink-2); max-width: 56ch; }
.ticks { display: grid; gap: 10px; }
.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; }
.ticks li::before { content: ""; width: 10px; height: 10px; margin: 10px 0 0 4px; background: var(--gold-ink); transform: rotate(45deg); }
@media (min-width: 900px) { .detail { grid-template-columns: 1fr 1fr; } .detail.flip figure { order: 2; } }

/* formulier */
.form-wrap { display: grid; gap: clamp(28px, 4vw, 64px); align-items: start; padding: clamp(48px, 7vw, 104px) 0 var(--section); }
@media (min-width: 960px) { .form-wrap { grid-template-columns: 1.2fr .8fr; } }
.field { display: grid; gap: 8px; margin-bottom: 18px; }
.field label { font-weight: 600; }
.field input, .field textarea, .field select { font: inherit; color: var(--ink); background: #fff; min-height: 54px; padding: 12px 16px; border: 2px solid #c9c4bb; border-radius: 0; width: 100%; }
.field select { appearance: none; background-image: none; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--ink); outline: none; box-shadow: 0 0 0 3px rgba(201, 154, 62, .45); } /* taste-skill-ignore: sticky bar, open menu or focus ring */
.field .hint { font-size: 16px; color: var(--ink-2); max-width: 60ch; }
.field .err { color: #a3261b; font-weight: 600; font-size: 16px; }
.two { display: grid; gap: 0 16px; }
@media (min-width: 640px) { .two { grid-template-columns: 1fr 1fr; } }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; } /* taste-skill-ignore: visually hidden, not a rule */
.form-done { background: var(--stone-2); padding: 28px; }
.form-done h2 { font-size: clamp(1.7rem, 2.4vw, 2.1rem); margin-bottom: 10px; }
.form-done a { font-weight: 600; }
.side { display: grid; gap: 14px; }
.side figure { margin: 0; overflow: hidden; }
.side figure img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.side-card { background: var(--black); color: var(--on-black); padding: clamp(24px, 3vw, 36px); display: grid; gap: 16px; }
.side-card h2 { font-size: clamp(1.7rem, 2.4vw, 2.1rem); }
.side-card p { color: var(--on-black-2); }
.side-card a:not(.btn) { color: var(--on-black); font-weight: 600; }
.side-pics { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.side-pics img { width: 100%; aspect-ratio: 1; object-fit: cover; }

/* voet */
.site-footer { background: var(--ink); color: var(--on-black-2); padding: clamp(56px, 8vw, 112px) 0 32px; }
.foot-name { font-family: var(--serif); font-weight: 600; font-size: clamp(3rem, 11vw, 10.5rem); line-height: .9; color: var(--on-black); letter-spacing: -0.02em; }
.foot-name span { color: var(--gold); }
.foot-grid { display: grid; gap: 28px; margin-top: clamp(32px, 4vw, 56px); }
.foot-grid h2 { font-family: var(--sans); font-size: 18px; font-weight: 600; letter-spacing: 0; color: var(--on-black); margin-bottom: 8px; }
.foot-grid p, .foot-grid address { font-style: normal; font-size: 16px; line-height: 1.65; }
.foot-grid a { color: var(--on-black); text-underline-offset: 3px; }
.foot-credits { margin-top: 36px; font-size: 16px; line-height: 1.6; max-width: 62ch; }
@media (min-width: 900px) { .foot-grid { grid-template-columns: repeat(3, 1fr); } }

/* beweging */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
  .js [data-reveal].in { opacity: 1; transform: none; }
  .hero-media img { animation: slowzoom 20s var(--ease) infinite alternate; }
  @keyframes slowzoom { from { transform: scale(1.03); } to { transform: scale(1.12) translate(1.5%, -1%); } }
  .hero-media::after { content: ""; position: absolute; inset: 0; background: var(--black); transform-origin: right; animation: unveil 1.1s var(--ease) .15s forwards; }
  @keyframes unveil { to { transform: scaleX(0); } }
  .js .hero h1 .ln { display: block; opacity: 0; transform: translateY(.3em); animation: rise .9s var(--ease) forwards; animation-delay: var(--d, 0ms); }
  @keyframes rise { to { opacity: 1; transform: none; } }
}

.hyph { hyphens: auto; -webkit-hyphens: auto; -webkit-hyphenate-limit-before: 6; -webkit-hyphenate-limit-after: 6; hyphenate-limit-chars: 12 6 6; }

[hidden] { display: none !important; }
.menu-panel a { white-space: nowrap; }
