/* ==========================================================================
   AV-Klus, Nuenen
   Huisstijl afgeleid van de eigen bedrijfswagen: oranje merkkleur, gecirkelde
   "AV" en het oranje balkje. Het signatuurelement is de duimstokrand: een
   maatverdeling met afwisselend lange en korte streepjes, gebruikt onder
   koplabels, langs de hero en in de werkwijze.
   ========================================================================== */

/* --- fonts --------------------------------------------------------------- */
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/bricolage-700.woff2") format("woff2");
}
@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("/assets/fonts/bricolage-800.woff2") format("woff2");
}
@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/instrument-400.woff2") format("woff2");
}
@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/instrument-500.woff2") format("woff2");
}
@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/instrument-600.woff2") format("woff2");
}

/* --- tokens -------------------------------------------------------------- */
:root {
  --ink: #14161a;
  --ink-2: #33383f;
  --ink-3: #5b6169;
  --amber: #e07c00;
  --amber-deep: #a85c00;
  --amber-wash: #fff4e3;
  --sand: #f5f1ea;
  --sand-2: #eae3d6;
  --line: #dcd5c8;
  --line-soft: #ebe6dc;
  --white: #ffffff;

  --font-display: "Bricolage Grotesque", "Ubuntu", "Segoe UI", system-ui, sans-serif;
  --font-body: "Instrument Sans", "Ubuntu", "Segoe UI", system-ui, -apple-system, sans-serif;

  --wrap: 1140px;
  --wrap-narrow: 760px;
  --radius: 4px;
  --radius-lg: 10px;

  --shadow-sm: 0 1px 2px rgba(20, 22, 26, .07), 0 2px 8px rgba(20, 22, 26, .05);
  --shadow-md: 0 2px 4px rgba(20, 22, 26, .06), 0 12px 28px rgba(20, 22, 26, .09);

  --step-1: clamp(.86rem, .84rem + .1vw, .92rem);
  --step0: clamp(1rem, .97rem + .16vw, 1.08rem);
  --step1: clamp(1.15rem, 1.09rem + .3vw, 1.32rem);
  --step2: clamp(1.4rem, 1.28rem + .6vw, 1.75rem);
  --step3: clamp(1.7rem, 1.48rem + 1.1vw, 2.35rem);
  --step4: clamp(2.05rem, 1.6rem + 2.2vw, 3.35rem);
}

/* --- reset --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink-2);
  font: 400 var(--step0)/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--amber-deep); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--ink); }
ul, ol { margin: 0 0 1.1em; padding-left: 1.15em; }
li { margin-bottom: .35em; }
p { margin: 0 0 1.1em; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: -.018em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: var(--step4); }
h2 { font-size: var(--step3); }
h3 { font-size: var(--step1); font-weight: 700; letter-spacing: -.012em; }
h4 { font-size: var(--step0); font-weight: 700; }
strong { font-weight: 600; color: var(--ink); }
:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
  border-radius: 2px;
}

/* --- helpers ------------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: 20px; }
.narrow { max-width: var(--wrap-narrow); }
.section { padding-block: clamp(48px, 6vw, 84px); }
.section--sand { background: var(--sand); }
.section--ink { background: var(--ink); color: #cbd0d7; }
.section--ink h2, .section--ink h3 { color: var(--white); }
.lead { font-size: var(--step1); line-height: 1.5; color: var(--ink-2); }
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ink); color: var(--white);
  padding: 12px 18px; font-weight: 600;
}
.skip:focus { left: 12px; top: 12px; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* --- signatuur: duimstokrand -------------------------------------------- */
.rule {
  height: 13px;
  background-image:
    linear-gradient(to right, var(--amber) 0 1.5px, transparent 1.5px 100%),
    linear-gradient(to right, var(--ink) 0 1.5px, transparent 1.5px 100%),
    linear-gradient(to bottom, var(--amber) 0 1px, transparent 1px 100%);
  background-size: 24px 13px, 24px 7px, 100% 1px;
  background-position: 0 0, 12px 0, 0 0;
  background-repeat: repeat-x, repeat-x, repeat-x;
  opacity: .85;
}
.eyebrow {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--amber-deep);
  margin-bottom: .85em;
}
.eyebrow::after {
  content: "";
  display: block;
  width: 72px;
  height: 9px;
  margin-top: .55em;
  background-image:
    linear-gradient(to right, var(--amber) 0 1.5px, transparent 1.5px 100%),
    linear-gradient(to bottom, var(--line) 0 1px, transparent 1px 100%);
  background-size: 12px 9px, 100% 1px;
  background-repeat: repeat-x;
}
.section--ink .eyebrow { color: #f0a349; }
.section--ink .eyebrow::after {
  background-image:
    linear-gradient(to right, var(--amber) 0 1.5px, transparent 1.5px 100%),
    linear-gradient(to bottom, #3a3f47 0 1px, transparent 1px 100%);
}

/* --- buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  font-family: var(--font-body); font-weight: 600; font-size: var(--step0);
  line-height: 1.2; text-decoration: none;
  padding: 15px 24px;
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  transition: transform .12s ease, background-color .12s ease, color .12s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--amber); color: var(--ink); border-color: var(--ink); }
.btn--primary:hover { background: #f08d10; color: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--white); }
.btn--onink { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn--onink:hover { background: var(--amber); border-color: var(--amber); color: var(--ink); }
.btn__sub { display: block; font-weight: 400; font-size: .8rem; opacity: .75; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 1.4em; }

/* --- header -------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--white);
  border-bottom: 1px solid var(--line-soft);
}
.site-header__bar {
  display: flex; align-items: center; gap: 18px;
  min-height: 72px;
}
.brand {
  display: inline-flex; align-items: center; gap: 7px;
  text-decoration: none; flex-shrink: 0;
  padding-bottom: 5px;
  position: relative;
}
.brand::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 3px; background: var(--amber);
}
.brand__mark {
  display: grid; place-items: center;
  width: 34px; height: 34px;
  border: 2px solid var(--amber);
  border-radius: 50%;
  font-family: var(--font-display); font-weight: 800;
  font-size: .84rem; letter-spacing: -.03em;
  color: var(--amber);
}
.brand__word {
  font-family: var(--font-display); font-weight: 800;
  font-size: 1.42rem; letter-spacing: -.03em;
  color: var(--ink);
}
.site-nav { margin-left: auto; }
.site-nav ul {
  display: flex; align-items: center; gap: 4px;
  list-style: none; margin: 0; padding: 0;
}
.site-nav a {
  display: block; padding: 9px 11px;
  font-weight: 500; font-size: .95rem;
  color: var(--ink-2); text-decoration: none;
  border-radius: var(--radius);
}
.site-nav a:hover { background: var(--sand); color: var(--ink); }
.site-nav a[aria-current="page"] {
  color: var(--ink); font-weight: 600;
  box-shadow: inset 0 -3px 0 var(--amber);
}
.header-cta {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--font-display); font-weight: 700; font-size: 1.02rem;
  color: var(--ink); text-decoration: none;
  padding: 10px 16px;
  background: var(--amber-wash);
  border: 1px solid var(--sand-2);
  border-radius: var(--radius);
  white-space: nowrap;
}
.header-cta:hover { background: var(--amber); color: var(--ink); border-color: var(--amber); }
.nav-toggle {
  display: none; margin-left: auto;
  align-items: center; gap: .5em;
  font: 600 .95rem var(--font-body);
  color: var(--ink); background: var(--white);
  border: 2px solid var(--ink); border-radius: var(--radius);
  padding: 10px 14px; cursor: pointer;
}
.nav-toggle__bars { display: grid; gap: 3px; }
.nav-toggle__bars span { display: block; width: 17px; height: 2px; background: var(--ink); }

/* --- hero ---------------------------------------------------------------- */
.hero { background: var(--sand); border-bottom: 1px solid var(--line); }
.hero__grid {
  display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
  gap: clamp(28px, 4vw, 56px); align-items: center;
  padding-block: clamp(40px, 5vw, 72px);
}
.hero h1 { margin-bottom: .4em; }
.hero h1 em {
  font-style: normal;
  color: var(--amber-deep);
}
.hero__lead { font-size: var(--step1); line-height: 1.5; margin-bottom: 1.3em; }
.hero__ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: .4em; }
.hero__ticks li {
  position: relative; padding-left: 1.7em;
  font-size: var(--step-1); font-weight: 500; color: var(--ink-2);
}
/* Vinkje: een rechthoek met alleen de rechter- en onderrand, 45 graden gedraaid.
   Hoger dan breed, anders wordt het een pijl in plaats van een vink. */
.hero__ticks li::before {
  content: ""; position: absolute; left: 2px; top: .28em;
  width: 7px; height: 12px;
  border: 2.5px solid var(--amber); border-top: 0; border-left: 0;
  transform: rotate(45deg);
}
.hero__photos {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px;
}
.hero__photos figure { margin: 0; }
.hero__photos img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.hero__photos figure:nth-child(2), .hero__photos figure:nth-child(3) { transform: translateY(14px); }

/* --- page hero (subpages) ----------------------------------------------- */
.page-hero { background: var(--sand); border-bottom: 1px solid var(--line); }
.page-hero__inner { padding-block: clamp(34px, 4vw, 60px); }
.page-hero h1 { font-size: var(--step3); max-width: 22ch; }
.page-hero .lead { max-width: 62ch; margin-bottom: 0; }
.crumbs { font-size: .84rem; margin-bottom: 1.1em; color: var(--ink-3); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .45em; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: .45em; color: var(--line); }
.crumbs a { color: var(--ink-3); }
.crumbs a:hover { color: var(--amber-deep); }

/* --- cards --------------------------------------------------------------- */
.grid { display: grid; gap: 18px; }
/* 290px zorgt dat de vijf dienstenkaarten als 3 + 2 uitkomen op een breed
   scherm, in plaats van 4 + 1 met een losse kaart onderaan. */
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.card {
  display: flex; flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px 22px 20px;
  box-shadow: var(--shadow-sm);
}
.card__num {
  font-family: var(--font-display); font-weight: 800;
  font-size: .82rem; letter-spacing: .06em;
  color: var(--amber-deep);
  margin-bottom: .7em;
}
.card h3 { margin-bottom: .45em; }
.card p { margin-bottom: .9em; }
.card ul { margin-bottom: 1.1em; font-size: var(--step-1); }
.card__link {
  margin-top: auto; align-self: flex-start;
  font-weight: 600; text-decoration: none;
  color: var(--ink); border-bottom: 2px solid var(--amber);
  padding-bottom: 1px;
}
.card__link:hover { color: var(--amber-deep); }
a.card { text-decoration: none; color: inherit; transition: box-shadow .14s ease, transform .14s ease; }
a.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

/* --- gallery ------------------------------------------------------------- */
.gallery {
  display: grid; gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  max-width: 1080px;
}
.gallery figure {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery figcaption {
  padding: 12px 14px 14px;
  font-size: var(--step-1); line-height: 1.45; color: var(--ink-2);
}
.gallery figcaption b { display: block; color: var(--ink); font-weight: 600; }

/* --- steps (werkwijze) --------------------------------------------------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; counter-reset: step; }
.steps--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.step { counter-increment: step; padding-top: 22px; position: relative; }
.step::before {
  content: "";
  position: absolute; inset: 0 0 auto 0; height: 11px;
  background-image:
    linear-gradient(to right, var(--amber) 0 1.5px, transparent 1.5px 100%),
    linear-gradient(to bottom, var(--line) 0 2px, transparent 2px 100%);
  background-size: 14px 11px, 100% 2px;
  background-repeat: repeat-x;
}
.section--ink .step::before {
  background-image:
    linear-gradient(to right, var(--amber) 0 1.5px, transparent 1.5px 100%),
    linear-gradient(to bottom, #3a3f47 0 2px, transparent 2px 100%);
}
.step__num {
  display: block;
  font-family: var(--font-display); font-weight: 800; font-size: 1.05rem;
  color: var(--amber-deep); margin-bottom: .35em;
}
.section--ink .step__num { color: #f0a349; }
.step h3 { margin-bottom: .4em; }
.step p { margin-bottom: 0; font-size: var(--step-1); }

/* --- facts / trust ------------------------------------------------------- */
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.facts--4 { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.facts h3 { font-size: var(--step0); margin-bottom: .35em; }
.facts p { margin-bottom: 0; font-size: var(--step-1); }
.facts li { border-left: 3px solid var(--amber); padding-left: 16px; margin: 0; }

.spec { border-collapse: collapse; width: 100%; margin-bottom: 1.4em; font-size: var(--step-1); }
.spec th, .spec td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec th { font-weight: 600; color: var(--ink); width: 38%; background: var(--sand); }
.spec caption { text-align: left; font-weight: 600; color: var(--ink); padding-bottom: .6em; }

/* --- faq ----------------------------------------------------------------- */
.faq { display: grid; gap: 0; max-width: 800px; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq__item h3 { margin-bottom: .4em; font-size: var(--step0); }
.faq__item p:last-child { margin-bottom: 0; }

/* --- cta band ------------------------------------------------------------ */
.cta-band { background: var(--ink); color: #cbd0d7; }
.cta-band h2 { color: var(--white); }
.cta-band__grid {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px); align-items: start;
}
.cta-band a:not(.btn) { color: #f0a349; }
.contact-lines { list-style: none; margin: 0 0 1.2em; padding: 0; font-size: var(--step-1); }
.contact-lines li { display: flex; gap: .7em; padding: 9px 0; border-bottom: 1px solid #2a2e35; }
.contact-lines dt, .contact-lines .k { min-width: 82px; color: #9aa1aa; }

/* --- contact page -------------------------------------------------------- */
.nap { font-size: var(--step0); }
.nap dl { display: grid; grid-template-columns: max-content 1fr; gap: .5em 1.2em; margin: 0 0 1.4em; }
.nap dt { font-weight: 600; color: var(--ink); }
.nap dd { margin: 0; }
.map-link { display: block; text-decoration: none; max-width: 640px; }
.map-link img {
  width: 100%; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.map-link span {
  display: inline-block; margin-top: .7em;
  font-weight: 600; color: var(--ink);
  border-bottom: 2px solid var(--amber);
}
.map-link:hover span { color: var(--amber-deep); }
.map-placeholder {
  display: grid; place-items: center; text-align: center;
  aspect-ratio: 16 / 9; max-width: 640px; padding: 20px;
  background: var(--sand); border: 1px dashed var(--line); border-radius: var(--radius-lg);
  color: var(--ink-3); font-size: var(--step-1);
}

/* --- note / callout ------------------------------------------------------ */
.note {
  background: var(--amber-wash);
  border: 1px solid var(--sand-2);
  border-left: 4px solid var(--amber);
  border-radius: var(--radius);
  padding: 16px 18px;
  font-size: var(--step-1);
}
.note p:last-child { margin-bottom: 0; }

/* --- prose -------------------------------------------------------------- */
.prose > :last-child { margin-bottom: 0; }
.prose h2 { margin-top: 1.8em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.5em; }
.prose ul li::marker { color: var(--amber); }

/* --- footer -------------------------------------------------------------- */
.site-footer { background: var(--ink); color: #9aa1aa; padding-block: 52px 28px; font-size: var(--step-1); }
.site-footer a { color: #cbd0d7; }
.site-footer a:hover { color: var(--amber); }
.site-footer h2, .site-footer h3 { color: var(--white); font-size: var(--step0); margin-bottom: .8em; }
.site-footer__grid {
  display: grid; gap: 30px;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  padding-bottom: 30px;
}
.site-footer__grid ul { list-style: none; margin: 0; padding: 0; }
.site-footer__grid li { margin-bottom: .45em; }
.site-footer .brand__word { color: var(--white); }
.site-footer .brand::after { background: var(--amber); }
.site-footer__bottom {
  border-top: 1px solid #2a2e35; padding-top: 20px;
  display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between;
  font-size: .84rem;
}
.site-footer address { font-style: normal; }

/* --- 404 ----------------------------------------------------------------- */
.err { padding-block: clamp(56px, 8vw, 110px); }
.err h1 { font-size: var(--step3); }

/* --- responsive ---------------------------------------------------------- */
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__photos { max-width: 540px; }
  .hero__photos figure:nth-child(2), .hero__photos figure:nth-child(3) { transform: none; }
  .cta-band__grid { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none; order: 3; width: 100%;
    margin-left: 0; padding-bottom: 14px;
  }
  .site-nav[data-open="true"] { display: block; }
  .site-header__bar { flex-wrap: wrap; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav a { padding: 13px 12px; border-bottom: 1px solid var(--line-soft); border-radius: 0; }
  .site-nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--amber); }
  .header-cta { order: 2; }
}
@media (max-width: 520px) {
  .header-cta { font-size: .92rem; padding: 9px 12px; }
  .brand__word { font-size: 1.28rem; }
  .btn { width: 100%; justify-content: center; }
  .btn-row { gap: 10px; }
  .nap dl { grid-template-columns: 1fr; gap: .1em; }
  .nap dt { margin-top: .7em; }
}

/* --- motion / print ----------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
@media print {
  .site-header, .site-footer, .cta-band, .btn-row { display: none; }
  body { color: #000; }
}
