/* ==========================================================================
   Klusbedrijf Dijkman
   Design tokens derived from the company's own logo and van livery:
   black + duimstok yellow, with brick and timber as supporting tones.
   ========================================================================== */

:root {
  /* Brand */
  --ink:        #15171c;
  --ink-2:      #1e2129;
  --ink-3:      #2b2f3a;
  --ruler:      #f5ec3d;   /* duimstok yellow, straight off the logo */
  --ruler-deep: #d8cd1c;
  --brick:      #a4432b;
  --timber:     #c58a4e;

  /* Neutrals */
  --paper:      #ffffff;
  --concrete:   #f4f3ef;
  --concrete-2: #e7e5de;
  --line:       #d6d3ca;
  --body:       #33363d;
  --muted:      #62666f;

  /* Type */
  --sans: "Helvetica Neue", Helvetica, Arial, "Segoe UI", Roboto, system-ui, sans-serif;
  --h-track: -0.02em;

  /* Space + shape */
  --wrap: 1180px;
  --gap: clamp(1rem, 3vw, 2rem);
  --sec: clamp(3.5rem, 8vw, 6.5rem);
  --r: 3px;

  --shadow: 0 1px 2px rgba(21,23,28,.06), 0 8px 24px rgba(21,23,28,.08);
  --shadow-lg: 0 2px 4px rgba(21,23,28,.08), 0 18px 48px rgba(21,23,28,.16);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important; animation-iteration-count: 1 !important;
    transition-duration: .001ms !important; scroll-behavior: auto !important;
  }
}
body {
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(1rem, .97rem + .18vw, 1.075rem);
  line-height: 1.65;
  color: var(--body);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-underline-offset: .18em; }
h1, h2, h3, h4 {
  color: var(--ink);
  font-weight: 800;
  letter-spacing: var(--h-track);
  line-height: 1.1;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 1.35rem + 3.1vw, 3.9rem); }
h2 { font-size: clamp(1.65rem, 1.2rem + 1.8vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 1.03rem + .5vw, 1.4rem); }
p  { margin: 0 0 1.1em; text-wrap: pretty; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.15em; }
li { margin-bottom: .45em; }
strong { color: var(--ink); font-weight: 700; }

:focus-visible {
  outline: 3px solid var(--ruler);
  outline-offset: 3px;
  border-radius: 2px;
}
.dark :focus-visible, .site-header :focus-visible, .site-footer :focus-visible {
  outline-color: var(--ruler);
}

/* ---------- Layout ---------- */
.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 2.5rem, 760px); margin-inline: auto; }
.section { padding-block: var(--sec); }
.section--tint { background: var(--concrete); }
.section--dark { background: var(--ink); color: #cfd2d8; }
.section--dark h2, .section--dark h3 { color: #fff; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ruler); color: var(--ink);
  padding: .8rem 1.2rem; font-weight: 700;
}
.skip:focus { left: 1rem; top: 1rem; }

/* ---------- Duimstok: the signature element ----------
   A folding-ruler zigzag, drawn in CSS, used to break sections. */
.ruler {
  height: 12px;
  background:
    repeating-linear-gradient(
      -45deg,
      var(--ruler) 0 14px,
      var(--ink) 14px 16px
    );
  border-block: 2px solid var(--ink);
}
.ruler--thin { height: 8px; }

/* Short accent rule that sits above a section heading */
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-size: .78rem; font-weight: 800; letter-spacing: .16em;
  text-transform: uppercase; color: var(--muted);
  margin: 0 0 .9rem;
}
.eyebrow::before {
  content: ""; width: 34px; height: 8px; flex: none;
  background: repeating-linear-gradient(-45deg, var(--ruler) 0 8px, var(--ink) 8px 9px);
  border: 1.5px solid var(--ink);
}
.section--dark .eyebrow { color: #9aa0ac; }
.section--dark .eyebrow::before { border-color: #000; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .95rem 1.6rem;
  font: inherit; font-weight: 800; letter-spacing: .01em;
  text-decoration: none; cursor: pointer;
  border: 2px solid var(--ink); border-radius: var(--r);
  transition: transform .15s ease, background-color .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--ruler); color: var(--ink); }
.btn--primary:hover { background: #fff555; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--ink-3); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--on-dark { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn--on-dark:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn--lg { padding: 1.1rem 2rem; font-size: 1.06rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--ink);
  border-bottom: 3px solid var(--ruler);
}
.site-header__bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding-block: .7rem;
}
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; }
/* Het logo is zwarte tekst met een gele duimstok. Op de donkere balk valt die
   zwarte tekst weg, dus krijgt het logo een wit vlak, net als in de footer. */
.brand img {
  width: 168px; height: auto;
  background: #fff; padding: .4rem .6rem; border-radius: var(--r);
}
@media (max-width: 420px) { .brand img { width: 132px; } }

.nav-toggle {
  display: none;
  background: transparent; border: 2px solid rgba(255,255,255,.45);
  color: #fff; border-radius: var(--r); padding: .5rem .8rem;
  font: inherit; font-weight: 700; cursor: pointer;
}
.nav-toggle:hover { border-color: var(--ruler); color: var(--ruler); }

.nav { display: flex; align-items: center; gap: .3rem; }
.nav a {
  color: #e8eaee; text-decoration: none;
  padding: .55rem .7rem; border-radius: var(--r);
  font-size: .95rem; font-weight: 600;
  border-bottom: 3px solid transparent;
}
.nav a:hover { color: #fff; background: rgba(255,255,255,.09); }
.nav a[aria-current="page"] { color: #fff; border-bottom-color: var(--ruler); }
.nav .btn { padding: .6rem 1rem; font-size: .93rem; margin-left: .4rem; }
/* ".nav a" is specifieker dan ".btn--primary" en zou de knop witte tekst op
   geel geven. Daarom hier de knopkleuren expliciet terugzetten. */
.nav a.btn--primary { color: var(--ink); }
.nav a.btn--primary:hover { color: var(--ink); background: #fff555; }

@media (max-width: 940px) {
  .nav-toggle { display: inline-flex; align-items: center; gap: .45rem; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink-2); border-bottom: 3px solid var(--ruler);
    padding: .6rem 1.25rem 1.1rem;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: .85rem .2rem; border-bottom: 1px solid rgba(255,255,255,.1); border-radius: 0; }
  .nav a[aria-current="page"] { border-bottom-color: var(--ruler); }
  .nav .btn { margin: .8rem 0 0; justify-content: center; border-bottom: 2px solid var(--ink); }
}

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; opacity: .38; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(21,23,28,.94) 8%, rgba(21,23,28,.72) 52%, rgba(21,23,28,.45) 100%);
}
.hero__inner { position: relative; z-index: 2; padding-block: clamp(3.5rem, 9vw, 7rem); }
.hero__text { max-width: 46rem; }
.hero h1 { color: #fff; margin-bottom: .55rem; }
.hero h1 .accent {
  display: inline-block;
  box-shadow: inset 0 -.32em 0 rgba(245,236,61,.9);
}
.hero__lead {
  font-size: clamp(1.08rem, 1rem + .5vw, 1.3rem);
  color: #d8dbe1; max-width: 40rem; margin-bottom: 1.9rem;
}
.hero__place {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .82rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ruler); margin-bottom: 1rem;
}
.hero .btn-row { margin-bottom: 2.2rem; }

.usp {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem 1.6rem; padding-top: 1.8rem;
  border-top: 1px solid rgba(255,255,255,.18);
  max-width: 60rem;
}
.usp li { display: flex; gap: .6rem; color: #d8dbe1; font-size: .96rem; margin: 0; }
.usp { list-style: none; padding-left: 0; }
.usp .tick { color: var(--ruler); font-weight: 900; flex: none; }
.usp strong { color: #fff; display: block; font-size: .99rem; }

/* ---------- Page header (inner pages) ---------- */
.page-head { background: var(--ink); color: #cfd2d8; padding-block: clamp(2.5rem, 6vw, 4.2rem); }
.page-head h1 { color: #fff; margin-bottom: .4rem; }
.page-head__lead { font-size: clamp(1.03rem, .98rem + .35vw, 1.2rem); color: #d0d4db; max-width: 46rem; margin: 0; }

.crumbs { font-size: .85rem; margin-bottom: 1.1rem; color: #9aa0ac; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; margin: 0; }
.crumbs a { color: #cfd2d8; }
.crumbs a:hover { color: var(--ruler); }
.crumbs li::after { content: "›"; margin-left: .4rem; color: #6b7180; }
.crumbs li:last-child::after { content: ""; }
.crumbs [aria-current="page"] { color: #9aa0ac; }

/* ---------- Prose ---------- */
.prose > h2 { margin-top: 2.2em; }
.prose > h2:first-child { margin-top: 0; }
.prose > h3 { margin-top: 1.8em; }
.prose .lead { font-size: 1.15rem; color: var(--ink); font-weight: 500; }

.checklist { list-style: none; padding-left: 0; }
.checklist li { position: relative; padding-left: 1.9rem; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .52em;
  width: 14px; height: 9px;
  background: repeating-linear-gradient(-45deg, var(--ruler) 0 6px, var(--ink) 6px 7px);
  border: 1.5px solid var(--ink);
}

/* ---------- Cards ---------- */
.grid { display: grid; gap: var(--gap); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(288px, 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }

.card {
  display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  overflow: hidden; text-decoration: none; color: inherit;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
a.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--ink); }
.card__media { aspect-ratio: 3 / 2; background: var(--concrete-2); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
a.card:hover .card__media img { transform: scale(1.04); }
.card__media img { transition: transform .4s ease; }
.card__body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.card h3 { margin-bottom: .45rem; }
.card p { color: var(--body); font-size: .98rem; margin-bottom: 1rem; }
.card__more {
  margin-top: auto; font-weight: 800; font-size: .93rem; color: var(--ink);
  display: inline-flex; align-items: center; gap: .4rem;
}
a.card:hover .card__more { color: var(--brick); }
.card__more::after { content: "→"; transition: transform .18s ease; }
a.card:hover .card__more::after { transform: translateX(4px); }

/* Trust cards */
.trust { list-style: none; padding: 0; }
.trust li {
  background: var(--paper); border: 1px solid var(--line); border-left: 5px solid var(--ruler);
  border-radius: var(--r); padding: 1.35rem 1.5rem;
}
.trust h3 { font-size: 1.08rem; margin-bottom: .3rem; }
.trust p { margin: 0; font-size: .96rem; }

/* Op een donkere sectie moet de kaart zelf ook donker worden. Anders erft de
   kaart de lichte tekstkleur van de sectie en staat er witte tekst op wit. */
.section--dark .trust li {
  background: var(--ink-2);
  border-color: rgba(255, 255, 255, .14);
  border-left-color: var(--ruler);
}
.section--dark .trust h3 { color: #fff; }
.section--dark .trust p { color: #c8ccd4; }

/* ---------- Gallery ---------- */
/* align-items: start, anders rekken staande en liggende foto's in dezelfde rij
   elkaar op tot de hoogste kaart en ontstaat er loze ruimte onder de bijschriften. */
.gallery {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem; align-items: start;
}
.shot { margin: 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: var(--paper); }
.shot img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.shot figcaption { padding: .85rem 1rem; font-size: .92rem; color: var(--muted); }
.shot--tall img { aspect-ratio: 3 / 4; }

/* ---------- Steps (HowTo) ---------- */
.steps { list-style: none; padding: 0; counter-reset: step; display: grid; gap: 1rem; }
.steps li {
  counter-increment: step; position: relative;
  padding: 1.3rem 1.5rem 1.3rem 4.4rem;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
}
.steps li::before {
  content: counter(step);
  position: absolute; left: 1.3rem; top: 1.2rem;
  width: 2.1rem; height: 2.1rem; display: grid; place-items: center;
  background: var(--ruler); color: var(--ink);
  border: 2px solid var(--ink); border-radius: 50%;
  font-weight: 900; font-size: .95rem;
}
.steps h3 { font-size: 1.05rem; margin-bottom: .25rem; }
.steps p { margin: 0; font-size: .97rem; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .7rem; }
.faq details {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r);
  padding: 0 1.35rem;
}
.faq details[open] { border-color: var(--ink); box-shadow: var(--shadow); }
.faq summary {
  cursor: pointer; list-style: none;
  padding: 1.15rem 2rem 1.15rem 0; position: relative;
  font-weight: 700; color: var(--ink); font-size: 1.04rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; font-weight: 400; color: var(--brick); line-height: 1;
}
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding-bottom: 1.2rem; }
.faq .answer > :last-child { margin-bottom: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); align-items: start; }
.nap { font-style: normal; font-size: 1.06rem; line-height: 1.85; }
.nap dt {
  font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted); margin-top: 1.1rem;
}
.nap dd { margin: 0; }
.nap dl { margin: 0; }
.nap a { font-weight: 700; }

.callout {
  background: var(--ink); color: #d5d8de; border-radius: var(--r);
  padding: clamp(1.7rem, 4vw, 2.6rem);
}
.callout h2, .callout h3 { color: #fff; }
.callout p:last-of-type { margin-bottom: 1.5rem; }

.map-link { display: block; text-decoration: none; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.map-link img { width: 100%; }
.map-link span {
  display: block; padding: .85rem 1.1rem; font-weight: 700; color: var(--ink);
  background: var(--concrete); font-size: .95rem;
}
.map-link:hover span { background: var(--ruler); }
.map-placeholder {
  display: grid; place-items: center; text-align: center;
  aspect-ratio: 16 / 9; background: var(--concrete-2); color: var(--muted);
  padding: 1.5rem; font-size: .95rem;
}

/* ---------- CTA band ---------- */
.cta-band { background: var(--ruler); border-block: 3px solid var(--ink); }
.cta-band .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1.5rem; padding-block: clamp(2.2rem, 5vw, 3.2rem);
}
.cta-band h2 { margin: 0 0 .3rem; font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); }
.cta-band p { margin: 0; color: var(--ink); font-weight: 500; max-width: 34rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #a8aeba; padding-block: clamp(2.8rem, 6vw, 4rem) 0; font-size: .95rem; }
.site-footer h2, .site-footer h3 {
  color: #fff; font-size: .8rem; font-weight: 800;
  letter-spacing: .15em; text-transform: uppercase; margin-bottom: 1rem;
}
.site-footer a { color: #d3d7de; text-decoration: none; }
.site-footer a:hover { color: var(--ruler); text-decoration: underline; }
.footer-grid { display: grid; gap: 2.2rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: .55rem; }
.footer-brand img { width: 180px; margin-bottom: 1.1rem; background: #fff; padding: .5rem .7rem; border-radius: var(--r); }
.footer-note { color: #7f8694; font-size: .88rem; }
.footer-bottom {
  margin-top: 2.6rem; border-top: 1px solid rgba(255,255,255,.12);
  padding-block: 1.3rem;
  display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; justify-content: space-between;
  color: #7f8694; font-size: .87rem;
}
.footer-bottom p { margin: 0; }

/* ---------- Utility ---------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.stack > * + * { margin-top: 1.1rem; }
.lede { font-size: clamp(1.08rem, 1rem + .45vw, 1.25rem); color: var(--ink); }
.tag {
  display: inline-block; background: var(--concrete-2); color: var(--ink);
  border-radius: 100px; padding: .3rem .85rem; font-size: .82rem; font-weight: 700;
  margin: 0 .4rem .4rem 0;
}
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
