:root {
  --ink: #14171a;
  --paper: #f7f4ee;
  --card: #ffffff;
  --muted: #5b636b;
  --red: #c8321f;       /* wit op rood: contrast ≈ 5.6:1 */
  --red-dark: #a82818;
  --night: #1d2733;
  --blue: #0a58c2;
  --radius: 16px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.5;
  color: var(--ink);
  background: var(--paper);
}

img { display: block; max-width: 100%; height: auto; }

.wrap { width: min(100% - 2rem, 1040px); margin-inline: auto; }

/* ---------- Hero ---------- */
.hero {
  background: var(--card);
  border-bottom: 1px solid #e6e0d4;
  padding: 1.25rem 0 2rem;
  text-align: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  color: inherit;
  text-decoration: none;
  text-align: left;
}
.brand img { border-radius: 14px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-size: 1.25rem; font-weight: 800; letter-spacing: -.01em; }
.brand-sub { font-size: .875rem; color: var(--muted); }

h1 {
  margin: 2rem 0 .5rem;
  font-size: clamp(2rem, 8vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -.02em;
  font-weight: 800;
}
.tagline { margin: 0 auto 1.75rem; max-width: 34ch; font-size: 1.125rem; color: var(--muted); }

/* ---------- Knoppen ---------- */
.actions {
  display: grid;
  gap: .75rem;
  max-width: 520px;
  margin-inline: auto;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  min-height: 64px;           /* ruim boven de 48px-eis */
  padding: .75rem 1.25rem;
  border-radius: var(--radius);
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform .12s ease, background-color .12s ease;
}
.btn svg { width: 26px; height: 26px; fill: currentColor; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible, .nav-btn:focus-visible, .track:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

.btn-call { background: var(--red); }
.btn-call:hover { background: var(--red-dark); }
.btn-mail { background: var(--night); }
.btn-mail:hover { background: #000; }
.btn-mp   { background: var(--blue); }
.btn-mp:hover { background: #084a9f; }

/* ---------- Galerij ---------- */
.gallery { padding: 2.5rem 0 1rem; }
.gallery-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
h2 { margin: 0; font-size: 1.25rem; letter-spacing: -.01em; }

.count { margin-left: auto; font-size: .9375rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.gallery-nav { display: none; gap: .5rem; }
.nav-btn {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border: 0; border-radius: 50%;
  background: var(--ink); color: #fff;
  cursor: pointer;
}
.nav-btn svg { width: 24px; height: 24px; fill: currentColor; }
.nav-btn:hover { background: var(--red); }

.track {
  display: flex;
  gap: .75rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 1rem;
  padding: 0 1rem .75rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}
.track figure {
  flex: 0 0 82%;
  margin: 0;
  scroll-snap-align: center;
  border-radius: var(--radius);
  overflow: hidden;
  background: #e6e0d4;
  box-shadow: 0 2px 10px rgb(0 0 0 / .08);
}
.track img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* ---------- Footer ---------- */
footer { background: var(--night); color: #d8dde2; padding: 1.5rem 0; text-align: center; font-size: .9375rem; }
footer p { margin: .15rem 0; }
footer strong { color: #fff; }

/* ---------- Groter scherm ---------- */
@media (min-width: 720px) {
  .hero { padding: 2rem 0 3rem; }
  .actions { grid-template-columns: repeat(3, 1fr); max-width: 900px; }
  .btn { flex-direction: column; min-height: 110px; font-size: 1.15rem; text-align: center; }
  .btn svg { width: 34px; height: 34px; }

  .gallery-nav { display: flex; }
  .track { padding-inline: max(1rem, calc((100% - 1040px) / 2)); scroll-padding-inline: max(1rem, calc((100% - 1040px) / 2)); }
  .track figure { flex-basis: 46%; scroll-snap-align: start; }
}

@media (min-width: 1040px) {
  .track figure { flex-basis: 32%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
