/* Van der Valk Bandenservice - demo homepage */

@font-face { font-family: "Archivo"; src: url("../assets/fonts/archivo-normal-400.woff2") format("woff2"); font-weight: 400; font-stretch: 100%; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("../assets/fonts/archivo-normal-600.woff2") format("woff2"); font-weight: 600; font-stretch: 100%; font-display: swap; }
@font-face { font-family: "Archivo Expanded"; src: url("../assets/fonts/archivo-expanded-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Archivo Expanded"; src: url("../assets/fonts/archivo-expanded-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }

:root {
  --bg: #151514;
  --surface: #1e1e1c;
  --surface-2: #272725;
  --ink: #f2f0ea;
  --ink-2: #c4c1b9;
  --ink-3: #9f9c94;
  --line: #363531;
  --accent: #ffbd01;          /* geel uit de huisstijl */
  --accent-hover: #ffcd3a;
  --on-accent: #151514;
  --error: #ff8a7a;

  --font: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Archivo Expanded", "Archivo", ui-sans-serif, system-ui, sans-serif;
  --wrap: 1280px;
  --gutter: clamp(16px, 4vw, 48px);
  --section: clamp(88px, 11vw, 160px);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 76px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); accent-color: var(--accent); caret-color: var(--accent); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
::selection { background: var(--accent); color: var(--on-accent); }
a, button, input, select, textarea, label { touch-action: manipulation; -webkit-tap-highlight-color: rgba(255, 189, 1, 0.2); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
address { font-style: normal; }
svg { width: 1.1em; height: 1.1em; flex: none; fill: currentColor; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: max(var(--gutter), env(safe-area-inset-left)) max(var(--gutter), env(safe-area-inset-right)); }
.section { padding-block: var(--section); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--accent); color: var(--on-accent); padding: 10px 16px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

.section-title { font-family: var(--display); font-weight: 800; font-size: clamp(30px, 4.2vw, 56px); line-height: 1.04; letter-spacing: -0.025em; }
.section-lead { margin-top: 18px; color: var(--ink-2); font-size: clamp(17px, 1.4vw, 19px); max-width: 58ch; }

/* Knoppen */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 10px 20px;
  font: inherit; font-size: 15px; font-weight: 600; line-height: 1.2;
  text-decoration: none; white-space: nowrap; border: 1px solid transparent; border-radius: 0; cursor: pointer;
  transition: background-color .2s var(--ease-out), color .2s var(--ease-out), border-color .2s var(--ease-out), transform .1s ease-out;
}
.btn:active { transform: scale(0.98); }
.btn-lg { min-height: 54px; padding: 14px 28px; font-size: 16px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { background: rgba(21, 21, 20, 0.4); color: var(--ink); border-color: rgba(242, 240, 234, 0.65); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.btn-ghost:hover { border-color: var(--ink); background: rgba(242, 240, 234, 0.1); }
.text-link { display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-weight: 600; text-underline-offset: 4px; }
.text-link:hover { color: var(--accent-hover); }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h); transition: background-color .3s var(--ease-out), box-shadow .3s var(--ease-out); }
.site-header.is-solid, .site-header.menu-open { background: rgba(21, 21, 20, 0.92); box-shadow: 0 1px 0 var(--line); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: block; flex: none; width: 74px; transform: translateY(18px); transform-origin: left center; transition: transform .4s var(--ease-out); }
.brand img { width: 100%; height: auto; }
.is-solid .brand, .menu-open .brand { transform: scale(0.76); }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 32px; }
.nav-list a:not(.btn) { text-decoration: none; font-size: 15px; font-weight: 600; padding-block: 8px; background: linear-gradient(var(--accent), var(--accent)) 0 100% / 0 2px no-repeat; transition: background-size .3s var(--ease-out); }
.nav-list a:not(.btn):hover { background-size: 100% 2px; }
.nav-cta-mobile { display: none; }
.header-actions { display: flex; align-items: center; gap: 20px; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 600; font-size: 15px; font-variant-numeric: tabular-nums; }
.menu-toggle { display: none; }

@media (max-width: 1079px) {
  .header-phone span, .header-cta { display: none; }
  .header-phone { width: 44px; height: 44px; justify-content: center; }
  .header-phone svg { width: 22px; height: 22px; }
  .brand { width: 60px; transform: translateY(12px); }
  .is-solid .brand, .menu-open .brand { transform: scale(0.84); }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; background: none; border: 0; color: inherit; cursor: pointer; }
  .menu-toggle-bars, .menu-toggle-bars::before { display: block; width: 22px; height: 2px; background: currentColor; position: relative; transition: transform .3s var(--ease-out); }
  .menu-toggle-bars::before { content: ""; position: absolute; top: 7px; left: 0; }
  .menu-toggle-bars { transform: translateY(-3.5px); }
  .menu-open .menu-toggle-bars { transform: rotate(45deg); }
  .menu-open .menu-toggle-bars::before { transform: translateY(-7px) rotate(-90deg); }
  .nav-list {
    position: fixed; top: var(--header-h); left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--bg); padding: 8px var(--gutter) 24px; border-bottom: 1px solid var(--line);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .25s var(--ease-out), transform .25s var(--ease-out), visibility 0s linear .25s;
  }
  .menu-open .nav-list { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .nav-list li { border-bottom: 1px solid var(--line); }
  .nav-list li:last-child { border-bottom: 0; padding-top: 20px; }
  .nav-list a:not(.btn) { display: block; padding-block: 16px; font-size: 20px; background: none; }
  .nav-cta-mobile { display: block; }
  .nav-cta-mobile .btn { width: 100%; min-height: 54px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; background: #0e0e0d; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; transform-origin: 50% 60%; }
.hero-scrim { position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(14,14,13,0.7) 0%, rgba(14,14,13,0) 24%),
  linear-gradient(90deg, rgba(14,14,13,0.86) 0%, rgba(14,14,13,0.55) 42%, rgba(14,14,13,0.05) 72%),
  linear-gradient(0deg, rgba(14,14,13,0.8) 0%, rgba(14,14,13,0) 45%); }
.hero-content { position: relative; padding-top: 140px; padding-bottom: clamp(48px, 9vh, 96px); }
.hero-title { font-family: var(--display); font-weight: 800; font-size: clamp(44px, 7vw, 104px); line-height: 0.98; letter-spacing: -0.035em; }
.hero-sub { margin-top: 24px; font-size: clamp(17px, 1.5vw, 20px); color: var(--ink); max-width: 40ch; opacity: 0.92; }
.hero-ctas { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 767px) {
  .hero-media img { object-position: 58% 50%; }
  .hero-scrim { background: linear-gradient(180deg, rgba(14,14,13,0.65) 0%, rgba(14,14,13,0.15) 30%, rgba(14,14,13,0.9) 68%, rgba(14,14,13,0.96) 100%); }
  .hero-ctas .btn { flex: 1 1 100%; }
}

/* ---------- Infobalk ---------- */
.infobar { background: var(--accent); color: var(--on-accent); }
.infobar-inner { display: flex; flex-wrap: wrap; gap: 12px 40px; padding-block: 18px; }
.infobar p { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-variant-numeric: tabular-nums; }
.infobar svg { width: 20px; height: 20px; }
.infobar strong { font-weight: 600; margin-right: 4px; }

/* ---------- Diensten ---------- */
.svc-grid { margin-top: 56px; display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.svc { background: var(--surface); display: flex; flex-direction: column; }
.svc-tall { grid-column: 1 / span 7; }
.svc:nth-child(2) { grid-column: 8 / span 5; }
.svc-wash { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.svc-wash .svc-img { aspect-ratio: auto; height: 100%; min-height: 360px; }
.svc-img { overflow: hidden; aspect-ratio: 16 / 9; background: var(--surface-2); }

.svc-img img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); transition: transform 1s var(--ease-out), filter .6s var(--ease-out); }
.svc:hover .svc-img img { transform: scale(1.03); filter: grayscale(0.2) contrast(1.05); }
.svc-body { padding: clamp(22px, 2.6vw, 36px); display: grid; gap: 14px; align-content: start; }
.svc h3 { font-family: var(--display); font-weight: 700; font-size: clamp(22px, 2vw, 28px); letter-spacing: -0.015em; }
.svc p { color: var(--ink-2); }
.svc-note { font-size: 15px; }
.svc-note a { color: var(--ink); font-weight: 600; }
.tags { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { font-size: 14px; padding: 6px 12px; border: 1px solid var(--line); color: var(--ink); }
.prices { margin: 4px 0 0; display: grid; gap: 0; }
.prices div { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; padding: 12px 0; border-top: 1px solid var(--line); }
.prices dt { font-weight: 600; }
.prices dd { margin: 0; font-weight: 600; color: var(--accent); font-variant-numeric: tabular-nums; }
.prices p { grid-column: 1 / -1; font-size: 14px; color: var(--ink-3); }
@media (max-width: 899px) {
  .svc-wash { display: flex; }
  .svc-wash .svc-img { height: auto; min-height: 0; aspect-ratio: 16 / 9; }
  .svc-grid { grid-template-columns: 1fr; }
  .svc-tall, .svc:nth-child(2), .svc-wash { grid-column: 1 / -1; grid-row: auto; }
}

/* ---------- Merken ---------- */
.brands { border-block: 1px solid var(--line); padding-block: 40px; }
.brands-inner { display: grid; grid-template-columns: 200px 1fr; gap: 24px; align-items: center; }
.brands-title { font-size: 15px; font-weight: 600; color: var(--ink-2); }
.brand-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; }
.brand-list li { background: #f2f0ea; height: 72px; display: grid; place-items: center; padding: 14px; }
.brand-list img { max-height: 30px; width: auto; max-width: 100%; object-fit: contain; }
@media (max-width: 1079px) {
  .brands-inner { grid-template-columns: 1fr; }
  .brand-list { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 559px) {
  .brand-list { grid-template-columns: repeat(2, 1fr); }
  .brand-list li:last-child { grid-column: 1 / -1; }
}

/* ---------- Classic ---------- */
.classic { background: var(--surface); }
.classic-intro { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.classic-intro .section-title { grid-column: 1 / -1; font-size: clamp(40px, 7vw, 104px); letter-spacing: -0.035em; }
.classic-lead { grid-column: 1 / span 6; font-size: clamp(20px, 2vw, 26px); line-height: 1.35; }
.classic-cols { grid-column: 7 / span 6; display: grid; gap: 14px; color: var(--ink-2); }
@media (max-width: 899px) { .classic-lead, .classic-cols { grid-column: 1 / -1; } }

.story { margin-top: clamp(56px, 8vw, 104px); }
.story-pin { min-height: 100svh; display: flex; align-items: center; padding-block: 40px; }
.story-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.story-title { font-family: var(--display); font-weight: 800; font-size: clamp(26px, 2.8vw, 38px); letter-spacing: -0.02em; line-height: 1.1; }
.story-intro { margin-top: 14px; color: var(--ink-2); max-width: 44ch; }
.story-steps { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 4px; counter-reset: s; }
.story-steps li { display: grid; grid-template-columns: 140px 1fr; gap: 12px; padding: 10px 0 10px 16px; border-left: 1px solid var(--line); color: var(--ink-3); transition: color .4s var(--ease-out), border-color .4s var(--ease-out); }
.story-steps li.is-active { color: var(--ink); border-color: var(--accent); }
.story-steps time { font-size: 14px; font-variant-numeric: tabular-nums; padding-top: 2px; }
.story-frames { position: relative; aspect-ratio: 4 / 3; background: var(--surface-2); overflow: hidden; }
.frame { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .6s var(--ease-out); }
.frame.is-active { opacity: 1; }
.frame img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); transform: scale(1.04); transition: transform 1.6s var(--ease-out); }
.frame.is-active img { transform: scale(1); }
.story-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(21, 21, 20, 0.5); }
.story-progress span { display: block; height: 100%; width: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0.1667); }

/* Zonder pin (mobiel, reduced motion, geen JS): alle stappen onder elkaar */
.story-static .story-pin { min-height: 0; display: block; padding: 0; }
.story-static .story-grid { grid-template-columns: 1fr; }
.story-static .story-steps { display: none; }
.story-static .story-frames { aspect-ratio: auto; background: none; overflow: visible; display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.story-static .frame { position: relative; opacity: 1; flex: 0 0 82%; scroll-snap-align: start; display: flex; flex-direction: column; }
.story-static .frame img { aspect-ratio: 4 / 3; height: auto; transform: none; }
.story-static .frame::after { content: attr(data-caption); display: block; padding-top: 10px; font-size: 15px; color: var(--ink-2); }
.story-static .story-progress { display: none; }

.projects-title { margin-top: clamp(72px, 9vw, 120px); font-family: var(--display); font-weight: 700; font-size: clamp(22px, 2vw, 28px); letter-spacing: -0.015em; }
.projects { margin-top: 32px; display: grid; grid-template-columns: repeat(12, 1fr); gap: 40px 24px; }
.project h4 { margin-top: 18px; font-size: 20px; font-weight: 600; }
.project p { margin-top: 6px; color: var(--ink-2); max-width: 56ch; }
.project-img { overflow: hidden; background: var(--surface-2); }
.project-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.project:hover .project-img img { transform: scale(1.03); }
.project-lg { grid-column: 1 / span 7; }
.project-lg .project-img { aspect-ratio: 16 / 10; }
.project:nth-child(2) { grid-column: 8 / span 5; }
.project:nth-child(2) .project-img { aspect-ratio: 4 / 5; }
.project-wide { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px; align-items: center; }
.project-wide .project-img { aspect-ratio: 2 / 1; }
.project-wide h4 { margin-top: 0; }
.project-wide .text-link { margin-top: 16px; }
@media (max-width: 899px) {
  .projects { grid-template-columns: 1fr; }
  .project-lg, .project:nth-child(2), .project-wide { grid-column: 1 / -1; }
  .project:nth-child(2) .project-img { aspect-ratio: 4 / 3; }
  .project-wide { grid-template-columns: 1fr; gap: 0; }
  .project-wide h4 { margin-top: 18px; }
}

/* ---------- Over ons ---------- */
.about-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 48px 24px; align-items: start; }
.about-then { grid-column: 1 / span 5; margin: 0; overflow: hidden; }
.about-then img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: grayscale(1) contrast(1.05); scale: 1.12; }
.about-then figcaption { margin-top: 10px; font-size: 14px; color: var(--ink-3); }
.about-text { grid-column: 7 / span 6; display: grid; gap: 22px; }
.about-text > p { color: var(--ink-2); font-size: 18px; }
.people { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 12px; }
.person { border-top: 2px solid var(--accent); padding-top: 16px; }
.person h3 { font-size: 19px; font-weight: 600; }
.person p { margin-top: 6px; color: var(--ink-2); font-size: 16px; }
.member { font-size: 15px; color: var(--ink-3); }
@media (max-width: 899px) {
  .about-then, .about-text { grid-column: 1 / -1; }
  .about-then img { aspect-ratio: 4 / 3; }
}
@media (max-width: 559px) { .people { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact { background: var(--surface); }
.contact-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 56px 24px; align-items: start; }
.contact-info { grid-column: 1 / span 6; }
.contact-actions { margin-top: 28px; }
.contact-blocks { margin-top: 48px; display: grid; grid-template-columns: 1fr 1fr; gap: 36px 32px; }
.contact-block h3 { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; color: var(--accent); margin-bottom: 12px; }
.contact-block h3 svg { width: 20px; height: 20px; }
.contact-block .text-link { margin-top: 10px; font-size: 15px; }
.contact-direct a { text-decoration: none; }
.contact-direct a:hover { text-decoration: underline; text-underline-offset: 4px; }
.big-link { font-family: var(--display); font-weight: 700; font-size: 24px; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.hours { margin: 0; display: grid; gap: 8px; font-size: 16px; font-variant-numeric: tabular-nums; }
.hours div { display: grid; grid-template-columns: 1fr auto; gap: 16px; }
.hours dt { color: var(--ink-2); }
.hours dd { margin: 0; }

.form { grid-column: 8 / span 5; background: var(--bg); padding: clamp(24px, 3vw, 40px); display: grid; gap: 20px; }
.form-title { font-family: var(--display); font-weight: 700; font-size: 24px; letter-spacing: -0.015em; }
.field { display: grid; gap: 8px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { font-size: 15px; font-weight: 600; }
.optional { color: var(--ink-3); font-weight: 400; }
input, select, textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  background: var(--surface); border: 1px solid #6b6963; border-radius: 0;
  padding: 12px 14px; min-height: 48px; transition: border-color .2s var(--ease-out), box-shadow .2s var(--ease-out);
}
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
select option { background: var(--surface); color: var(--ink); }
textarea { resize: vertical; min-height: 112px; }
input:hover, select:hover, textarea:hover { border-color: var(--ink-2); }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(255, 189, 1, 0.3); }
input[aria-invalid="true"] { border-color: var(--error); }
.field-error { color: var(--error); font-size: 14px; }
.form-status { padding: 16px; background: var(--surface); border-top: 2px solid var(--accent); font-size: 15px; }
@media (max-width: 899px) { .contact-info, .form { grid-column: 1 / -1; } }
@media (max-width: 559px) { .contact-blocks, .field-row { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { background: #0e0e0d; padding-top: clamp(64px, 8vw, 104px); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px 24px; }
.footer-brand img { width: 120px; height: auto; }
.footer-brand p { margin-top: 16px; font-family: var(--display); font-weight: 700; font-size: 18px; }
.footer-title { font-size: 14px; font-weight: 600; color: var(--ink-3); margin-bottom: 12px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 4px; }
.socials { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.socials a { display: inline-flex; align-items: center; gap: 10px; }
.footer-bottom { margin-top: 64px; padding-block: 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-3); }
@media (max-width: 899px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 479px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Reveal ---------- */
.js-motion .reveal { opacity: 0; transform: translateY(18px); }

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