/* =========================================================
   DINO CARS — stijlblad
   Kleuren en lettertypes pas je aan in :root hieronder.
   Lay-out: witte achtergrond, geel als signaalkleur,
   geblokte vlag als terugkerend detail.
   ========================================================= */
:root {
  --ink: #ffffff;          /* achtergrond */
  --panel: #f5f4ef;        /* lichtgrijze blokken */
  --line: #e2e0d8;         /* lijnen */
  --text: #151513;         /* tekst */
  --muted: #5d5b53;        /* kleinere tekst */
  --black: #151513;        /* zwart uit het logo */
  --yellow: #ffd21f;       /* signaalgeel uit het logo */
  --yellow-ink: #141200;   /* tekst op geel */
  --accent-text: #866400;  /* donkergeel, leesbaar op wit */

  --font-display: "Saira Condensed", "Arial Narrow", Arial, sans-serif;
  --font-body: "Barlow", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1120px;
  --radius: 6px;
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--accent-text); outline-offset: 3px; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  line-height: 1.02;
  letter-spacing: 0.005em;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 6.5vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3rem); }
h3 { font-size: 1.45rem; }
p { margin: 0; }

.eyebrow {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-text);
}

/* Geblokte vlag-strook */
.checker {
  height: 14px;
  background:
    repeating-conic-gradient(var(--yellow) 0 25%, var(--black) 0 50%) 0 0 / 14px 14px;
}

/* ---------- Knoppen ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.8em 1.4em;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid var(--yellow);
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn-primary { background: var(--yellow); color: var(--yellow-ink); }
.btn-ghost { color: var(--text); background: transparent; border-color: var(--text); }
.btn:hover { transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) { .btn:hover { transform: none; } }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 10px;
}
.brand img { height: 52px; width: auto; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a {
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.nav a:hover { color: var(--text); }
.nav .btn { color: var(--yellow-ink); font-size: 1rem; padding: 0.55em 1.1em; }
@media (max-width: 820px) { .nav a:not(.btn) { display: none; } }

/* ---------- Hero ---------- */
.hero .wrap {
  display: grid;
  grid-template-columns: 1fr;
  padding-block: 80px 72px;
}
.hero-text { display: grid; gap: 22px; min-width: 0; max-width: 46rem; }
.hero-text h1 span { background: linear-gradient(transparent 58%, var(--yellow) 58%, var(--yellow) 92%, transparent 92%); padding: 0 0.08em; }
.hero-lead { color: var(--muted); font-size: 1.15rem; max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.98rem;
}
.hero-facts b { color: var(--text); font-weight: 600; }
@media (max-width: 820px) {
  .hero .wrap { padding-block: 44px 48px; }
}

/* ---------- Secties ---------- */
section { scroll-margin-top: 80px; }
.section .wrap { padding-block: 84px; display: grid; gap: 40px; }
.section-head { display: grid; gap: 12px; max-width: 40em; }
.section-head p { color: var(--muted); }
.section-alt { background: var(--panel); }

/* ---------- Diensten ---------- */
.services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.service {
  background: var(--ink);
  padding: 30px 26px;
  display: grid;
  gap: 10px;
  align-content: start;
}
.service svg { width: 34px; height: 34px; color: var(--text); }
.service p { color: var(--muted); font-size: 0.98rem; }
@media (max-width: 900px) { .services { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .services { grid-template-columns: 1fr; } }

/* ---------- Waarom ---------- */
.reasons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}
.reason { display: grid; gap: 8px; border-top: 3px solid var(--yellow); padding-top: 18px; }
.reason p { color: var(--muted); }
@media (max-width: 760px) { .reasons { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- Afspraak ---------- */
.booking {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.booking-steps { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; counter-reset: stap; }
.booking-steps li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; counter-increment: stap; }
.booking-steps li::before {
  content: counter(stap);
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--yellow-ink);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
}
.booking-steps b { display: block; font-size: 1.05rem; }
.booking-steps span { color: var(--muted); }
.booking-box {
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-height: 340px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 32px 24px;
  gap: 14px;
}
.booking-box > div { display: grid; gap: 10px; justify-items: center; }
.booking-box p { color: var(--muted); max-width: 26em; }
@media (max-width: 820px) { .booking { grid-template-columns: 1fr; } }
.booking-help {
  background: var(--panel);
  border-left: 4px solid var(--yellow);
  padding: 16px 20px;
  border-radius: var(--radius);
  color: var(--muted);
}
.booking-help a { color: var(--text); font-weight: 600; }


/* ---------- Contact ---------- */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.contact-list { display: grid; gap: 20px; margin: 0; }
.contact-list dt {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.9rem;
  color: var(--accent-text);
}
.contact-list dd { margin: 2px 0 0; font-size: 1.1rem; }
.contact-list a { text-decoration: none; border-bottom: 1px solid var(--line); }
.contact-list a:hover { border-color: var(--text); }
.hours { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours th, .hours td { padding: 11px 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; }
.hours th { color: var(--muted); }
.hours td { text-align: right; }
.hours tr.closed td { color: var(--muted); }
@media (max-width: 760px) { .contact { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); }
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  padding-block: 28px 32px;
  color: var(--muted);
  font-size: 0.92rem;
}

/* ---------- Belbalk op gsm ---------- */
.mobile-bar { display: none; }
@media (max-width: 640px) {
  .mobile-bar {
    display: grid;
    grid-template-columns: 1fr 1fr 1.2fr;
    gap: 8px;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 30;
    padding: 10px max(12px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px));
    background: rgba(255, 255, 255, 0.97);
    border-top: 1px solid var(--line);
  }
  .mobile-bar .btn { justify-content: center; font-size: 1rem; padding: 0.7em 0.5em; }
  .site-footer .wrap { padding-bottom: 96px; }
}

/* ---------- Afsprakenmodule ---------- */
.bk {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink);
  padding: 28px;
  box-shadow: 0 1px 0 var(--line);
}
.bk-pick { display: grid; gap: 28px; }
.bk-block { display: grid; gap: 14px; min-width: 0; }
.bk-title { font-size: 1.25rem; display: flex; align-items: center; gap: 10px; }
.bk-title span {
  display: grid; place-items: center;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--yellow); color: var(--yellow-ink);
  font-size: 1rem; font-style: normal;
}
.bk-days {
  display: flex; gap: 8px;
  overflow-x: auto; padding-bottom: 6px;
  scrollbar-width: thin;
}
.bk-day, .bk-slot, .bk-chip {
  font: inherit;
  border: 1.5px solid var(--line);
  background: var(--ink);
  color: var(--text);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color 0.12s ease, background 0.12s ease;
}
.bk-day {
  flex: 0 0 auto;
  width: 68px;
  padding: 8px 0;
  display: grid; justify-items: center; gap: 0;
  line-height: 1.25;
}
.bk-day span { font-size: 0.8rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.bk-day b { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; }
.bk-day:hover:not(:disabled), .bk-slot:hover:not(:disabled), .bk-chip:hover { border-color: var(--text); }
.bk-day.is-on, .bk-chip.is-on { background: var(--yellow); border-color: var(--yellow); color: var(--yellow-ink); }
.bk-day.is-on span { color: var(--yellow-ink); }
.bk-day:disabled { opacity: 0.35; cursor: not-allowed; }
.bk-slots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
  gap: 8px;
}
.bk-slot { padding: 10px 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.bk-slot:disabled { color: var(--muted); background: var(--panel); text-decoration: line-through; cursor: not-allowed; }
.bk-empty { color: var(--muted); }

.bk-form { display: grid; gap: 18px; }
.bk-chosen {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px;
  background: var(--panel); border-radius: var(--radius); padding: 12px 16px;
}
.bk-link { font: inherit; background: none; border: 0; color: var(--text); text-decoration: underline; cursor: pointer; padding: 0; }
.bk-field { display: grid; gap: 6px; font-weight: 600; border: 0; padding: 0; margin: 0; min-width: 0; }
.bk-field legend { padding: 0; margin-bottom: 8px; }
.bk-field small { font-weight: 400; color: var(--muted); }
.bk-field input, .bk-field select {
  font: inherit; font-weight: 400;
  padding: 11px 12px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink); color: var(--text);
  width: 100%;
}
.bk-field input:focus, .bk-field select:focus { outline: none; border-color: var(--text); }
.bk-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .bk-row { grid-template-columns: 1fr; } .bk { padding: 20px 16px; } }
.bk-chips { display: flex; flex-wrap: wrap; gap: 8px; border-radius: var(--radius); }
.bk-chip { padding: 9px 14px; font-weight: 500; }
.is-invalid { border-color: #c0392b !important; }
.bk-chips.is-invalid { outline: 1.5px solid #c0392b; outline-offset: 4px; }
.bk-error { color: #b03a2e; font-weight: 600; }
.bk-submit { justify-self: start; }
.bk-done { display: grid; justify-items: center; text-align: center; gap: 12px; padding: 20px 0; }
.bk-done p { max-width: 34em; color: var(--muted); }
.bk-check {
  width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--yellow); color: var(--yellow-ink);
  font-size: 1.8rem; font-weight: 700;
}
.bk-demo { font-size: 0.9rem; background: var(--panel); padding: 10px 14px; border-radius: var(--radius); }

/* ---------- Contactformulier ---------- */
.cf {
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: grid;
  gap: 18px;
  scroll-margin-top: 90px;
}
.cf-head { display: grid; gap: 6px; }
.cf-head p { color: var(--muted); }
.cf textarea {
  font: inherit; font-weight: 400;
  padding: 11px 12px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: var(--ink); color: var(--text);
  width: 100%; resize: vertical;
}
.cf textarea:focus { outline: none; border-color: var(--text); }
.cf-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.cf-alt { color: var(--muted); font-size: 0.95rem; }
.cf-alt a { color: var(--text); font-weight: 600; }
.cf-ok { background: var(--panel); border-left: 4px solid var(--yellow); padding: 12px 16px; border-radius: var(--radius); }
@media (max-width: 560px) { .cf { padding: 20px 16px; } }
