/* Christians Auto's — systeem. Concept "Raamkaart": karton, asfalt-inkt, marker-rood. */
:root {
  --paper: #f4f1e8;
  --paper-2: #ece7d9;
  --card: #f8f3e4;
  --ink: #23282e;
  --ink-soft: #4a5260;
  --red: #c33b2e;
  --red-deep: #a02c22;
  --dusk: #26344a;
  --dusk-ink: #eef1f6;
  --line: #d8d2c2;
  --edge: 1200px;
  --pad: clamp(20px, 4vw, 48px);
  --r: 4px;
  --font-d: 'Archivo', 'Arial Black', sans-serif;
  --font-b: 'Figtree', 'Segoe UI', sans-serif;
  --font-h: 'Caveat', cursive;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-b); background: var(--paper); color: var(--ink);
  font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased;
}
img { display: block; width: 100%; height: 100%; object-fit: cover; }
a { color: inherit; }
.wrap { max-width: var(--edge); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

/* ---------- koppen en tekst ---------- */
h1, h2, h3 { font-family: var(--font-d); font-weight: 800; line-height: 1.06; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.4rem, 5.4vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.15rem; font-weight: 700; }
.kicker {
  font-family: var(--font-d); font-weight: 600; font-size: .8rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--red); margin-bottom: 14px;
}
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 56ch; }

/* ---------- knoppen ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-d); font-weight: 700; font-size: .95rem; text-decoration: none;
  padding: 15px 26px; border: 2px solid var(--ink); border-radius: var(--r);
  background: var(--ink); color: var(--paper);
  transition: transform .16s ease, background .16s ease, color .16s ease, box-shadow .16s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 rgba(35,40,46,.18); }
.btn:active { transform: translateY(1px); box-shadow: none; }
.btn-red { background: var(--red); border-color: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-deep); border-color: var(--red-deep); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }
.btn-light { background: var(--paper); border-color: var(--paper); color: var(--ink); }

/* ---------- header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 50; background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.site-head .wrap { display: flex; align-items: center; gap: 26px; min-height: 72px; }
.brand { font-family: var(--font-d); font-weight: 900; font-size: 1.25rem; text-decoration: none; letter-spacing: -.01em; }
.brand span { color: var(--red); }
.mainnav { display: flex; gap: 22px; margin-left: auto; }
.mainnav a {
  text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--ink-soft);
  background-image: linear-gradient(var(--red), var(--red));
  background-size: 0 2px; background-repeat: no-repeat; background-position: 0 100%;
  padding-bottom: 3px; transition: background-size .2s ease, color .2s ease;
}
.mainnav a:hover, .mainnav a[aria-current] { color: var(--ink); background-size: 100% 2px; }
.head-call { margin-left: 6px; padding: 10px 18px; font-size: .85rem; }
.langswitch { position: relative; }
.langswitch summary {
  list-style: none; cursor: pointer; font-weight: 700; font-size: .85rem;
  border: 1px solid var(--line); border-radius: var(--r); padding: 8px 12px; background: var(--card);
}
.langswitch summary::-webkit-details-marker { display: none; }
.langswitch[open] summary { border-color: var(--ink); }
.langswitch ul {
  position: absolute; right: 0; top: calc(100% + 6px); background: var(--card);
  border: 1px solid var(--ink); border-radius: var(--r); list-style: none; min-width: 150px;
  box-shadow: 0 10px 30px rgba(35,40,46,.18); overflow: hidden; z-index: 60;
}
.langswitch li a { display: block; padding: 10px 14px; text-decoration: none; font-size: .9rem; font-weight: 600; }
.langswitch li a:hover { background: var(--ink); color: var(--paper); }
.langswitch li a[aria-current] { color: var(--red); }
.burger { display: none; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: calc(100vh - 72px); min-height: calc(100svh - 72px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--dusk); }
.hero .ph { position: absolute; inset: 0; }
.hero .ph img { object-position: center 62%; }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23,29,40,.18) 30%, rgba(23,29,40,.82) 100%); }
.hero .wrap { position: relative; z-index: 2; padding-top: 90px; padding-bottom: 72px; width: 100%; }
.hero h1 { max-width: 13ch; text-wrap: balance; }
.hero .lead { color: rgba(255,255,255,.88); margin-top: 20px; max-width: 52ch; }
.hero .kicker { color: #ffb59d; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.status-chip {
  display: inline-flex; align-items: center; gap: 9px; margin-bottom: 22px;
  font-weight: 700; font-size: .88rem; padding: 8px 14px; border-radius: 100px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.35); backdrop-filter: blur(4px);
}
.status-chip .dot { width: 9px; height: 9px; border-radius: 50%; background: #6fdc73; }
.status-chip.closed .dot { background: #ffb59d; }
.hero[data-enter] h1, .hero[data-enter] .lead, .hero[data-enter] .hero-cta, .hero[data-enter] .status-chip, .hero[data-enter] .kicker {
  opacity: 0; transform: translateY(18px);
  animation: enter .7s cubic-bezier(.2,.7,.2,1) forwards;
}
.hero[data-enter] .kicker { animation-delay: .05s; }
.hero[data-enter] .status-chip { animation-delay: .12s; }
.hero[data-enter] h1 { animation-delay: .18s; }
.hero[data-enter] .lead { animation-delay: .3s; }
.hero[data-enter] .hero-cta { animation-delay: .42s; }
@keyframes enter { to { opacity: 1; transform: none; } }

/* ---------- secties ---------- */
section { padding-top: clamp(56px, 8vh, 96px); padding-bottom: clamp(56px, 8vh, 96px); }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 38px; flex-wrap: wrap; }
.sec-head p { color: var(--ink-soft); max-width: 52ch; }

/* ---------- raamkaarten (occasions) ---------- */
.cardgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.cardgrid.two { grid-template-columns: repeat(2, 1fr); }
.raamkaart {
  background: var(--card); border: 2px solid var(--ink); border-radius: var(--r);
  overflow: hidden; text-decoration: none; color: inherit; display: flex; flex-direction: column;
  transition: transform .16s ease, box-shadow .16s ease; position: relative;
}
a.raamkaart:hover { transform: translateY(-2px); box-shadow: 0 8px 0 rgba(35,40,46,.14); }
.raamkaart .ph { aspect-ratio: 3 / 2; overflow: hidden; border-bottom: 2px solid var(--ink); }
.raamkaart .ph img { transition: transform .3s ease; }
.raamkaart:hover .ph img { transform: scale(1.03); }
.rk-body { padding: 18px 20px 20px; position: relative; }
.rk-stamp {
  position: absolute; top: -26px; right: 14px; background: var(--red); color: #fff;
  font-family: var(--font-h); font-weight: 700; font-size: 1.5rem; line-height: 1;
  padding: 10px 14px 8px; border-radius: 3px; transform: rotate(3deg);
  box-shadow: 0 3px 0 rgba(35,40,46,.25);
}
.rk-name { font-family: var(--font-d); font-weight: 700; font-size: 1.2rem; margin-bottom: 2px; }
.rk-price { font-family: var(--font-h); font-weight: 700; font-size: 2.5rem; color: var(--red); line-height: 1.05; margin: 4px 0 10px; }
.rk-specs { list-style: none; border-top: 1px dashed var(--line); }
.rk-specs li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: .93rem; }
.rk-specs li b { font-weight: 700; }
.rk-specs li span { color: var(--ink-soft); }
.rk-blurb { color: var(--ink-soft); font-size: .95rem; margin: 10px 0 14px; }
.rk-cta { font-weight: 700; font-size: .9rem; color: var(--red); display: inline-flex; gap: 8px; align-items: center; }

/* filter */
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 30px; }
.filters button {
  font-family: var(--font-d); font-weight: 600; font-size: .88rem; padding: 9px 16px;
  border: 2px solid var(--ink); border-radius: 100px; background: transparent; color: var(--ink); cursor: pointer;
  transition: background .15s ease, color .15s ease, transform .15s ease;
}
.filters button:hover { transform: translateY(-2px); }
.filters button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.empty-note { display: none; color: var(--ink-soft); padding: 20px 0; }

/* ---------- feature-rij (waarom) ---------- */
.why { background: var(--dusk); color: var(--dusk-ink); }
.why .kicker { color: #ffb59d; }
.why h2 { color: #fff; }
.whygrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 8px; }
.whygrid .item { border-top: 2px solid #ffb59d; padding-top: 18px; }
.whygrid h3 { color: #fff; margin-bottom: 8px; }
.whygrid p { color: rgba(238,241,246,.8); font-size: .96rem; }

/* ---------- type-moment ---------- */
.moment { background: var(--paper-2); overflow: hidden; }
.moment .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 4vw, 60px); align-items: center; }
.moment .bigtype {
  font-family: var(--font-d); font-weight: 900; font-size: clamp(3.4rem, 9vw, 7.5rem);
  line-height: .92; letter-spacing: -.02em;
}
.moment .bigtype em { font-style: normal; color: var(--red); position: relative; }
.moment .bigtype em::after {
  content: ''; position: absolute; left: -2%; right: -2%; bottom: .02em; height: .12em;
  background: var(--red); opacity: .25; transform: rotate(-1deg);
}
.moment p { margin-top: 22px; max-width: 46ch; color: var(--ink-soft); font-size: 1.05rem; }
.moment .ph { border: 2px solid var(--ink); border-radius: var(--r); overflow: hidden; aspect-ratio: 3/2; transform: rotate(1.2deg); box-shadow: 6px 8px 0 rgba(35,40,46,.12); }

/* ---------- stappen ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: stap; }
.step { background: var(--card); border: 2px solid var(--ink); border-radius: var(--r); padding: 22px 20px; position: relative; }
.step::before {
  counter-increment: stap; content: counter(stap);
  font-family: var(--font-h); font-weight: 700; font-size: 2rem; color: var(--red);
  display: block; margin-bottom: 8px;
}
.step h3 { margin-bottom: 6px; }
.step p { font-size: .93rem; color: var(--ink-soft); }

/* ---------- split (foto + tekst) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 60px); align-items: center; }
.split .ph { border: 2px solid var(--ink); border-radius: var(--r); overflow: hidden; aspect-ratio: 3/2; }
.split .ph.tall { aspect-ratio: 4/5; }
.split h2 { margin-bottom: 16px; }
.split p + p { margin-top: 12px; }
.split ul.check { list-style: none; margin-top: 14px; }
.split ul.check li { padding: 8px 0 8px 30px; position: relative; border-bottom: 1px dashed var(--line); }
.split ul.check li::before { content: ''; position: absolute; left: 2px; top: 14px; width: 14px; height: 8px; border-left: 3px solid var(--red); border-bottom: 3px solid var(--red); transform: rotate(-45deg); }

/* ---------- uren ---------- */
.hourstable { border: 2px solid var(--ink); border-radius: var(--r); overflow: hidden; background: var(--card); }
.hourstable table { width: 100%; border-collapse: collapse; }
.hourstable td { padding: 12px 18px; border-bottom: 1px dashed var(--line); font-size: .98rem; }
.hourstable tr:last-child td { border-bottom: 0; }
.hourstable td:last-child { text-align: right; font-weight: 700; font-variant-numeric: tabular-nums; }
.hourstable tr.today { background: var(--ink); color: var(--paper); }
.hourstable tr.today td:first-child::after { content: '· ' attr(data-today); font-family: var(--font-h); color: #ffb59d; font-size: 1.15rem; margin-left: 8px; }

/* ---------- footer ---------- */
.site-foot { background: var(--ink); color: rgba(244,241,232,.82); }
.site-foot .wrap { padding-top: 60px; padding-bottom: 30px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 34px; padding-bottom: 40px; border-bottom: 1px solid rgba(244,241,232,.16); }
.site-foot .brand { color: var(--paper); }
.site-foot h3 { color: var(--paper); font-size: .95rem; margin-bottom: 12px; letter-spacing: .04em; text-transform: uppercase; }
.site-foot ul { list-style: none; }
.site-foot li { padding: 4px 0; font-size: .93rem; }
.site-foot a { text-decoration: none; background-image: linear-gradient(var(--red), var(--red)); background-size: 0 2px; background-repeat: no-repeat; background-position: 0 100%; padding-bottom: 2px; transition: background-size .2s ease; }
.site-foot a:hover { background-size: 100% 2px; }
.foot-call { margin-top: 16px; }
.foot-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; font-size: .85rem; color: rgba(244,241,232,.55); }

/* ---------- reveal ---------- */
[data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
[data-reveal].in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .hero[data-enter] *, [data-reveal] { animation: none !important; opacity: 1 !important; transform: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- pagina-kop (binnenpagina's) ---------- */
.pagehead { background: var(--dusk); color: var(--dusk-ink); padding-top: clamp(56px, 9vh, 110px); padding-bottom: clamp(56px, 9vh, 110px); }
.pagehead .kicker { color: #ffb59d; }
.pagehead h1 { color: #fff; max-width: 16ch; }
.pagehead .lead { color: rgba(238,241,246,.85); margin-top: 18px; }
.pagehead .status-chip { margin: 0 0 20px; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .cardgrid, .cardgrid.two { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .cardgrid, .cardgrid.two { grid-template-columns: 1fr; }
  .whygrid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .moment .wrap, .split { grid-template-columns: 1fr; }
  .moment .ph { order: -1; }
  .mainnav { display: none; }
  .burger {
    display: inline-flex; margin-left: auto; background: none; border: 2px solid var(--ink);
    border-radius: var(--r); padding: 8px 12px; font-family: var(--font-d); font-weight: 700; font-size: .85rem; cursor: pointer;
  }
  .head-call { display: none; }
  .site-head .wrap { gap: 12px; }
  body.nav-open .mainnav {
    display: flex; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0;
    background: var(--paper); border-bottom: 2px solid var(--ink); padding: 8px var(--pad) 16px;
  }
  body.nav-open .mainnav a { padding: 12px 0; font-size: 1.05rem; border-bottom: 1px dashed var(--line); }
  .foot-grid { grid-template-columns: 1fr; }
  .hero .wrap { padding-bottom: 48px; }
}
