/* Multiklus B. Hesselink — huisstijl
   Palet: rustige bouw- en houttinten (zie briefing).
   Signatuur: zaagtand-rand op donkere banden, spijkerkop-bullets. */

:root {
  --teer: #291f16;        /* donker gebeitst hout */
  --teer-2: #35291d;
  --zand: #f4ede1;        /* licht geschaafd hout */
  --zand-2: #ece2d0;
  --eiken: #8a5a33;       /* midden-eiken */
  --potlood: #d9821b;     /* timmermanspotlood, accent */
  --potlood-d: #b96a10;
  --duin: #5c6b4e;        /* Amelander duingroen */
  --ink: #2a2119;
  --ink-soft: #5c5142;
  --line: #d8cbb4;
  --radius: 10px;
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--zand);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--eiken); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--potlood-d); }
:focus-visible { outline: 3px solid var(--potlood); outline-offset: 2px; border-radius: 2px; }

.wrap { max-width: 72rem; margin-inline: auto; padding-inline: 1.25rem; }

.skiplink {
  position: absolute; left: -999px; top: 0; z-index: 99;
  background: var(--teer); color: #fff; padding: .6rem 1rem;
}
.skiplink:focus { left: 0; }

/* ------------------------------------------------------------- type */
h1, h2, h3 {
  font-variation-settings: "wdth" 118;
  font-weight: 850;
  line-height: 1.08;
  text-transform: uppercase;
  letter-spacing: .01em;
  color: var(--teer);
  text-wrap: balance;
}
h1 { font-size: clamp(1.9rem, 4.2vw, 3.1rem); margin: .3em 0 .4em; }
h2 { font-size: clamp(1.35rem, 2.6vw, 1.9rem); margin: 1.8em 0 .5em; }
h3 { font-size: 1.1rem; margin: .8em 0 .3em; }
.section h2:first-child, .page-head h1:first-of-type { margin-top: 0; }

.eyebrow {
  font-weight: 700; text-transform: uppercase; letter-spacing: .12em;
  font-size: .78rem; color: var(--duin); margin: 0 0 .6rem;
}
.eyebrow-light { color: #cdd6bd; }
.lede { font-size: 1.15rem; color: var(--ink-soft); max-width: 46em; }

/* ------------------------------------------------------------- topbar */
.topbar {
  background: var(--teer); color: #fff;
  position: sticky; top: 0; z-index: 50;
  border-bottom: 3px solid var(--potlood);
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: .55rem; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: #fff; }
.brand-mark {
  display: grid; place-items: center;
  width: 2.2rem; height: 2.2rem; border-radius: 6px;
  background: var(--potlood); color: var(--teer);
  font-weight: 900; font-size: 1.3rem; font-variation-settings: "wdth" 125;
}
.brand-text { line-height: 1.15; font-size: .95rem; }
.brand-text strong { display: block; text-transform: uppercase; letter-spacing: .06em; font-variation-settings: "wdth" 120; font-size: 1.05rem; }
.brand-text span { color: #cbbfa8; font-size: .78rem; }

.mainnav ul { list-style: none; display: flex; flex-wrap: wrap; gap: .1rem; margin: 0; padding: 0; align-items: center; }
.mainnav a {
  display: block; padding: .45rem .6rem; color: #f0e8d8;
  text-decoration: none; font-weight: 600; font-size: .92rem; border-radius: 6px;
}
.mainnav a:hover { background: var(--teer-2); color: #fff; }
.mainnav a[aria-current="page"] { background: var(--teer-2); color: var(--potlood); }
.nav-cta a { background: var(--potlood); color: var(--teer); font-weight: 800; margin-left: .4rem; }
.nav-cta a:hover { background: #e89230; color: var(--teer); }
.nav-toggle { display: none; }

@media (max-width: 62rem) {
  .nav-toggle {
    display: block; background: var(--teer-2); color: #fff;
    border: 1px solid #4a3b2a; border-radius: 6px;
    padding: .45rem .9rem; font: inherit; font-weight: 700; cursor: pointer;
  }
  .mainnav ul {
    display: none; position: absolute; right: 1rem; left: 1rem; top: 100%;
    background: var(--teer); flex-direction: column; align-items: stretch;
    padding: .5rem; border-radius: 0 0 var(--radius) var(--radius);
    border: 1px solid #4a3b2a; border-top: 0;
  }
  .mainnav ul.open { display: flex; }
  .nav-cta a { margin: .3rem 0 0; text-align: center; }
}

/* ------------------------------------------------------------- signatuur: zaagtand */
.sawtooth-top { position: relative; }
.sawtooth-top::before {
  content: ""; display: block; height: 14px;
  background: conic-gradient(from -63.43deg at 50% 0, transparent 126.87deg, var(--zand) 0) top/28px 100%;
}
.section-alt + .cta-band.sawtooth-top::before,
.section-alt ~ .cta-band.sawtooth-top::before {
  background: conic-gradient(from -63.43deg at 50% 0, transparent 126.87deg, var(--zand-2) 0) top/28px 100%;
}

/* ------------------------------------------------------------- hero */
.hero { padding-block: 2.5rem 2rem; }
.hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 2.5rem; align-items: center; }
.hero-photo { position: relative; }
.hero-photo img { border-radius: var(--radius); box-shadow: 0 14px 34px rgba(41, 31, 22, .25); }
.photo-caption {
  position: absolute; left: .8rem; bottom: .8rem; margin: 0;
  background: var(--teer); color: #f0e8d8; font-size: .8rem; font-weight: 600;
  padding: .3rem .7rem; border-radius: 4px;
}
.hero-sub { font-size: .92rem; color: var(--ink-soft); }
@media (max-width: 52rem) {
  .hero-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .hero-photo img { max-height: 420px; width: 100%; object-fit: cover; object-position: top; }
}

/* ------------------------------------------------------------- knoppen */
.btn-row { display: flex; flex-wrap: wrap; gap: .7rem; margin-block: 1.1rem; }
.btn {
  display: inline-block; padding: .78rem 1.4rem; border-radius: 8px;
  font-weight: 800; text-decoration: none; font-size: 1rem;
  border: 2px solid transparent; transition: transform .12s ease, background .12s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-accent { background: var(--potlood); color: var(--teer); }
.btn-accent:hover { background: #e89230; color: var(--teer); }
.btn-dark { background: var(--teer); color: #fff; }
.btn-dark:hover { background: var(--teer-2); color: #fff; }
.btn-ghost { border-color: #f0e8d8; color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; }

/* ------------------------------------------------------------- chips */
.chips-band { background: var(--zand-2); border-block: 1px solid var(--line); }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem 2rem; margin: 0; padding: .8rem 0; }
.chips li { font-weight: 700; font-size: .92rem; color: var(--ink-soft); display: flex; align-items: center; gap: .5rem; }
.chips li::before, .checks li::before {
  content: ""; flex: 0 0 auto; width: .7rem; height: .7rem; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #b9c0aa, var(--duin) 65%);
  box-shadow: inset 0 -1px 2px rgba(0,0,0,.35);
}

/* ------------------------------------------------------------- secties */
.section { padding-block: 2.8rem; }
.section-alt { background: var(--zand-2); }
.page-head { padding-block: 2.2rem .4rem; }
.crumbs { font-size: .85rem; color: var(--ink-soft); margin-bottom: .6rem; }
.crumbs a { color: var(--ink-soft); }
.toc { font-size: .95rem; }

.two-col { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2.5rem; align-items: start; }
.two-col aside { display: grid; gap: 1rem; }
.two-col aside img { border-radius: var(--radius); box-shadow: 0 8px 20px rgba(41,31,22,.16); }
@media (max-width: 52rem) { .two-col { grid-template-columns: 1fr; } }

.checks { list-style: none; padding: 0; margin: .6rem 0 1rem; display: grid; gap: .45rem; }
.checks li { display: flex; align-items: baseline; gap: .6rem; }
.checks li::before { transform: translateY(.1em); }

.steps { padding-left: 1.2rem; display: grid; gap: .5rem; }
.steps li::marker { font-weight: 900; color: var(--potlood-d); }

/* ------------------------------------------------------------- kaarten */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 1.2rem; }
.card {
  display: block; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink);
  transition: transform .15s ease, box-shadow .15s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(41,31,22,.16); color: var(--ink); }
.card img { width: 100%; height: 170px; object-fit: cover; }
.card h3 { margin: .8rem 1rem .2rem; }
.card p { margin: 0 1rem 1rem; font-size: .95rem; color: var(--ink-soft); }
@media (max-width: 62rem) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 40rem) { .cards { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------- story band */
.story-band { background: var(--teer); color: #ece4d4; padding-bottom: 3rem; }
.story-band h2 { color: #fff; }
.story-band .wrap { padding-top: 2.6rem; }
.story-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2.5rem; align-items: center; }
.story-grid img { border-radius: var(--radius); box-shadow: 0 14px 34px rgba(0,0,0,.4); }
.story-band a:not(.btn) { color: var(--potlood); }
.story-band blockquote { margin: 0; padding-left: 1rem; border-left: 3px solid var(--potlood); font-style: italic; }
@media (max-width: 52rem) { .story-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------- galerij */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: .9rem; margin-block: 1rem 2rem; }
.gallery-4 { grid-template-columns: repeat(4, 1fr); }
.ph { display: block; border-radius: 8px; overflow: hidden; }
.ph img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .2s ease; }
.ph:hover img { transform: scale(1.04); }
@media (max-width: 52rem) { .gallery-4 { grid-template-columns: repeat(2, 1fr); } }

/* ------------------------------------------------------------- spec tabellen */
.spec-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 1.2rem; margin-block: 1rem 1.5rem; }
.spec { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.spec figcaption { font-weight: 800; padding: .7rem .9rem .4rem; }
.spec table { width: 100%; border-collapse: collapse; font-size: .93rem; font-variant-numeric: tabular-nums; }
.spec th, .spec td { text-align: left; padding: .4rem .9rem; }
.spec thead th { color: var(--ink-soft); font-size: .78rem; text-transform: uppercase; letter-spacing: .07em; }
.spec tbody tr:nth-child(odd) { background: var(--zand); }

/* ------------------------------------------------------------- faq */
.faq { display: grid; gap: .6rem; max-width: 52em; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: .2rem 1rem; }
.section-alt .faq details { background: var(--zand); }
.faq summary { font-weight: 700; cursor: pointer; padding-block: .6rem; }
.faq summary:hover { color: var(--potlood-d); }
.faq p { margin-top: 0; color: var(--ink-soft); }

/* ------------------------------------------------------------- contact */
.contact-cards { display: grid; gap: .8rem; margin-block: .5rem 1.5rem; }
.contact-card {
  display: block; background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--potlood);
  border-radius: 8px; padding: .8rem 1.1rem; text-decoration: none; color: var(--ink);
  transition: transform .12s ease, box-shadow .12s ease;
}
.contact-card:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(41,31,22,.14); color: var(--ink); }
.contact-label { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); }
.contact-value { font-size: 1.25rem; font-weight: 800; }
.map-link { position: relative; display: block; border-radius: var(--radius); overflow: hidden; box-shadow: 0 8px 20px rgba(41,31,22,.16); }
.map-link img { width: 100%; }
.map-link span {
  position: absolute; left: .8rem; bottom: .8rem;
  background: var(--teer); color: #fff; font-size: .85rem; font-weight: 700;
  padding: .35rem .8rem; border-radius: 5px;
}

/* ------------------------------------------------------------- cta band */
.cta-band { background: var(--teer); color: #ece4d4; text-align: center; padding-bottom: 3rem; }
.cta-band h2 { color: #fff; margin-top: 0; }
.cta-band .wrap { padding-top: 2.6rem; max-width: 46rem; }
.cta-band .btn-row { justify-content: center; }
.cta-band a:not(.btn) { color: var(--potlood); }

/* ------------------------------------------------------------- footer */
.footer { background: var(--teer); color: #cbbfa8; font-size: .95rem; }
.cta-band + .footer::before { display: none; }
.cta-band + .footer { border-top: 1px solid #4a3b2a; }
.footer a { color: #f0e8d8; }
.footer a:hover { color: var(--potlood); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2rem; padding-block: 2.4rem 1.2rem; }
.footer-brand { text-transform: uppercase; letter-spacing: .05em; color: #fff; font-size: 1.1rem; }
.footer-head { font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; color: #fff; }
.footer-nav { list-style: none; margin: 0; padding: 0; display: grid; gap: .25rem; }
.footer-bottom { border-top: 1px solid #4a3b2a; padding-block: 1rem; font-size: .85rem; }
@media (max-width: 52rem) { .footer-grid { grid-template-columns: 1fr; gap: 1.2rem; } }
