/*
Theme Name:  Belettering Westland
Theme URI:   https://beletteringwestland.nl/
Author:      Raak Reclame
Author URI:  https://raakreclame.nl/
Description: Eigen thema voor Belettering Westland. Blauw bewegwijzeringspaneel als
             hoofdvorm, Archivo en DM Mono zelf gehost, geen externe verzoeken.
Version:     1.0.0
Requires PHP: 7.4
Text Domain: belettering-westland
*/

/* zelf gehoste fonts, latin en latin-ext */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(fonts/archivo-100_900-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url(fonts/archivo-100_900-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'DM Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/dm-mono-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'DM Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/dm-mono-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'DM Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/dm-mono-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'DM Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/dm-mono-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
ul { list-style: none; padding: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ---------- tokens ---------- */
:root {
  --drager: #e7e9e3;   /* rugpapier van snijfolie */
  --wit: #ffffff;
  --inkt: #15181b;
  --inkt-zacht: #545b62;
  --signaal: #0b4fa8;  /* RAL 5017 verkeersblauw */
  --signaal-diep: #06336e;
  --tape: #f5c518;     /* RAL 1023 verkeersgeel */
  --lijn: #cbcfc7;

  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "DM Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --gutter: clamp(1.25rem, 4vw, 3rem);
  --maxw: 1240px;
}

/* ---------- basis ---------- */
body {
  font-family: var(--display);
  font-variation-settings: "wdth" 100, "wght" 400;
  background: var(--drager);
  color: var(--inkt);
  font-size: clamp(1rem, .96rem + .2vw, 1.075rem);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--smal { max-width: 1020px; }

.eyebrow {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--signaal);
}

h1, h2, h3 { line-height: 1.02; text-wrap: balance; }

h2.kop {
  font-variation-settings: "wdth" 112, "wght" 800;
  font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3.1rem);
  letter-spacing: -.02em;
  margin-block: .35em .5em;
}

h3.subkop {
  font-variation-settings: "wdth" 108, "wght" 700;
  font-size: clamp(1.15rem, 1rem + .6vw, 1.45rem);
  letter-spacing: -.01em;
}

p.lead {
  font-size: clamp(1.06rem, 1rem + .45vw, 1.3rem);
  color: var(--inkt-zacht);
  max-width: 58ch;
}

:where(a, button, input, textarea, select):focus-visible {
  outline: 3px solid var(--tape);
  outline-offset: 3px;
}

/* ---------- het bord ---------- */
/* Nederlands bewegwijzeringspaneel: blauw vlak, witte inzetrand, afgeronde hoeken */
.bord {
  position: relative;
  background: var(--signaal);
  color: var(--wit);
  border-radius: 20px;
  padding: clamp(1.75rem, 1rem + 4vw, 4.5rem) clamp(1.5rem, 1rem + 3vw, 4rem);
  isolation: isolate;
}
.bord::after {
  content: "";
  position: absolute;
  inset: 11px;
  border: 2.5px solid rgba(255,255,255,.92);
  border-radius: 12px;
  pointer-events: none;
}
.bord--klein { border-radius: 12px; padding: 1rem 1.35rem; }
.bord--klein::after { inset: 6px; border-width: 2px; border-radius: 7px; }

/* ---------- header ---------- */
.kop-balk {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--drager);
  border-bottom: 1px solid var(--lijn);
}
.kop-balk__in {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  min-height: 74px;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.merk { display: flex; align-items: center; text-decoration: none; margin-right: auto; flex: none; }
.merk img { height: 46px; width: auto; }
@media (max-width: 900px) { .merk img { height: 38px; } }
@media (max-width: 380px) { .merk img { height: 33px; } }

.nav { display: flex; gap: clamp(.9rem, 2vw, 1.7rem); }
.nav a {
  text-decoration: none;
  font-size: .93rem;
  font-variation-settings: "wdth" 100, "wght" 500;
  padding-block: .3rem;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.nav a:hover { border-bottom-color: var(--tape); }

/* onder 900px zakt het menu naar een eigen regel die horizontaal scrolt */
@media (max-width: 900px) {
  .kop-balk__in { flex-wrap: wrap; min-height: 0; padding-block: .85rem; row-gap: .6rem; }
  .nav {
    order: 3;
    flex: 1 0 100%;
    overflow-x: auto;
    gap: 1.25rem;
    padding-bottom: .2rem;
    scrollbar-width: none;
  }
  .nav::-webkit-scrollbar { display: none; }
}

.tel {
  font-family: var(--mono);
  font-size: .95rem;
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 2px solid var(--tape);
  padding-bottom: 2px;
}

/* ---------- knoppen ---------- */
.knop {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .95rem 1.6rem;
  border-radius: 8px;
  text-decoration: none;
  font-variation-settings: "wdth" 104, "wght" 700;
  font-size: 1rem;
  border: 2px solid transparent;
  transition: transform .15s ease, background-color .15s ease;
}
.knop:hover { transform: translateY(-2px); }
.knop--geel { background: var(--tape); color: var(--inkt); }
.knop--geel:hover { background: #ffd534; }
.knop--rand { border-color: rgba(255,255,255,.8); color: var(--wit); }
.knop--rand:hover { background: rgba(255,255,255,.12); }
.knop--donker { background: var(--signaal); color: var(--wit); }
.knop--donker:hover { background: var(--signaal-diep); }

/* ---------- hero ---------- */
.hero { padding-block: clamp(2rem, 1rem + 4vw, 4rem) 0; }
.hero__bord { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); }
.hero h1 {
  font-variation-settings: "wdth" 120, "wght" 800;
  font-size: clamp(1.7rem, 7.4vw, 6.4rem);
  letter-spacing: -.035em;
  text-transform: uppercase;
  max-width: 14ch;
  overflow-wrap: break-word;
}
@media (max-width: 560px) {
  .hero h1 { font-variation-settings: "wdth" 108, "wght" 800; }
  .eyebrow { letter-spacing: .1em; }
}
.hero__sub { font-size: clamp(1.05rem, 1rem + .5vw, 1.35rem); max-width: 52ch; color: rgba(255,255,255,.88); }
.hero__acties { display: flex; flex-wrap: wrap; gap: .85rem; }
.hero__eyebrow { color: var(--tape); }

/* ---------- specbalk ---------- */
.spec {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--lijn);
  margin-top: clamp(2rem, 4vw, 3.5rem);
}
.spec > div { padding: 1.35rem 1.35rem 1.35rem 0; border-left: 1px solid var(--lijn); padding-left: 1.35rem; }
.spec > div:first-child { border-left: 0; padding-left: 0; }
.spec dt { font-family: var(--mono); font-size: .68rem; letter-spacing: .15em; text-transform: uppercase; color: var(--inkt-zacht); margin-bottom: .35rem; }
.spec dd { margin: 0; font-variation-settings: "wdth" 104, "wght" 600; font-size: 1.02rem; line-height: 1.3; }
@media (max-width: 820px) {
  .spec { grid-template-columns: 1fr 1fr; }
  .spec > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .spec > div:nth-child(-n+2) { border-bottom: 1px solid var(--lijn); }
}

/* ---------- secties ---------- */
.sectie { padding-block: clamp(3.5rem, 2rem + 6vw, 7rem); }
.sectie--strak { padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem); }
.sectie__kop { max-width: 60ch; margin-bottom: clamp(2rem, 4vw, 3.25rem); }

/* ---------- diensten ---------- */
.diensten { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 1.25rem; }
.dienst {
  background: var(--wit);
  border: 1px solid var(--lijn);
  border-radius: 14px;
  padding: 1.75rem 1.6rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .85rem;
  text-decoration: none;
  transition: border-color .15s ease, transform .15s ease;
}
.dienst:hover { border-color: var(--signaal); transform: translateY(-3px); }
.chip {
  align-self: flex-start;
  font-family: var(--mono);
  font-size: .66rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  background: var(--drager);
  border: 1px solid var(--lijn);
  border-radius: 4px;
  padding: .3rem .55rem;
  color: var(--inkt-zacht);
}
.dienst p { color: var(--inkt-zacht); font-size: .97rem; }
.dienst__meer { margin-top: auto; font-variation-settings: "wdth" 100, "wght" 600; font-size: .93rem; color: var(--signaal); }

/* ---------- werk ---------- */
.werk { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.25rem; }
.werk__item { display: flex; flex-direction: column; gap: .9rem; }
.werk__slot {
  aspect-ratio: 4 / 3;
  background: var(--signaal);
  border-radius: 12px;
  display: grid;
  place-items: center;
  position: relative;
}
.werk__slot::after {
  content: "";
  position: absolute;
  inset: 9px;
  border: 2px dashed rgba(245,197,24,.75);
  border-radius: 7px;
}
.werk__slot span { font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.75); }
.werk__plaats { font-family: var(--mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--signaal); }
.werk__item p { font-size: .97rem; color: var(--inkt-zacht); }

/* ---------- wegwijzer ---------- */
.wegwijzer { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.wegwijzer__lijst { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem 2rem; }
.wegwijzer__paal {
  display: flex;
  align-items: baseline;
  gap: .8rem;
  font-variation-settings: "wdth" 110, "wght" 700;
  font-size: clamp(.95rem, .9rem + .3vw, 1.15rem);
  text-transform: uppercase;
  letter-spacing: -.01em;
}
.wegwijzer__paal::before {
  content: "";
  flex: none;
  width: 0; height: 0;
  border-left: 8px solid var(--tape);
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  transform: translateY(-2px);
}
@media (max-width: 460px) { .wegwijzer__lijst { grid-template-columns: 1fr; } }
@media (max-width: 860px) { .wegwijzer { grid-template-columns: 1fr; } }

/* ---------- cta ---------- */
.cta { display: grid; gap: 1.5rem; justify-items: start; }
.cta h2 {
  font-variation-settings: "wdth" 116, "wght" 800;
  font-size: clamp(1.6rem, 5.6vw, 3.6rem);
  text-transform: uppercase;
  letter-spacing: -.03em;
  max-width: 16ch;
  overflow-wrap: break-word;
}
@media (max-width: 560px) { .cta h2 { font-variation-settings: "wdth" 106, "wght" 800; } }
.cta__acties { display: flex; flex-wrap: wrap; gap: .85rem; }

/* ---------- footer ---------- */
.voet { background: var(--inkt); color: #b9c0c6; padding-block: clamp(3rem, 5vw, 4.5rem); font-size: .95rem; }
.voet a { text-decoration: none; }
.voet a:hover { color: var(--wit); }
.voet__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2.5rem; }
.voet h4 { font-family: var(--mono); font-size: .7rem; letter-spacing: .15em; text-transform: uppercase; color: var(--tape); margin-bottom: .9rem; font-weight: 400; }
.voet li { margin-bottom: .4rem; }
.voet__slot { border-top: 1px solid #2a2f34; margin-top: 2.75rem; padding-top: 1.5rem; font-size: .85rem; color: #7d858c; }

/* ---------- kruimelpad ---------- */
.kruimel { font-family: var(--mono); font-size: .74rem; letter-spacing: .06em; color: var(--inkt-zacht); padding-top: 1.5rem; }
.kruimel a { text-decoration: none; border-bottom: 1px solid var(--lijn); }

/* ---------- paginagrid: tekstkolom plus vaste zijkolom ---------- */
.paginagrid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 3.5rem;
  align-items: start;
}
@media (max-width: 940px) { .paginagrid { grid-template-columns: 1fr; gap: 2.5rem; } }

/* alles in de tekstkolom deelt dezelfde linker- en rechterrand */
.kolom > * { max-width: 100%; }
.kolom > * + * { margin-top: 2.75rem; }

.zijkolom { position: sticky; top: 96px; }
@media (max-width: 940px) { .zijkolom { position: static; } }

.offerteblok { background: var(--wit); border: 1px solid var(--lijn); border-radius: 14px; padding: 1.6rem 1.5rem; display: grid; gap: .9rem; }
.offerteblok h2 { font-variation-settings: "wdth" 108, "wght" 800; font-size: 1.3rem; letter-spacing: -.015em; }
.offerteblok p { font-size: .93rem; color: var(--inkt-zacht); }
.offerteblok .knop { justify-content: center; padding-block: .8rem; font-size: .95rem; }
.offerteblok__voet { font-family: var(--mono); font-size: .7rem; line-height: 1.55; letter-spacing: .04em; color: var(--inkt-zacht); border-top: 1px solid var(--lijn); padding-top: .9rem; }

/* ---------- artikel ---------- */
.artikel { max-width: 68ch; }
.kolom .artikel { max-width: 100%; }
.artikel h2 { font-variation-settings: "wdth" 110, "wght" 800; font-size: clamp(1.55rem, 1.2rem + 1.4vw, 2.15rem); letter-spacing: -.02em; margin-block: 0 .7rem; }
.artikel h2 + p, .artikel h2 + h3 { margin-top: 0; }
.artikel h3 { font-variation-settings: "wdth" 106, "wght" 700; font-size: 1.15rem; margin-block: 1.6rem .4rem; }
.artikel p { margin-bottom: 1.05rem; }
.artikel p:last-child { margin-bottom: 0; }
.artikel ul.punten { display: grid; gap: .55rem; margin-bottom: 1.5rem; }
.artikel ul.punten li { padding-left: 1.4rem; position: relative; }
.artikel ul.punten li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; background: var(--tape); border-radius: 2px; }
.artikel a { color: var(--signaal); }

/* ---------- stappen ---------- */
.stappen { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1.25rem; counter-reset: stap; }
.kolom .stappen { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 520px) { .kolom .stappen { grid-template-columns: 1fr; } }
.stap { background: var(--wit); border: 1px solid var(--lijn); border-radius: 12px; padding: 1.5rem 1.4rem; }
.stap::before {
  counter-increment: stap;
  content: counter(stap, decimal-leading-zero);
  display: block;
  font-family: var(--mono);
  font-size: .8rem;
  color: var(--signaal);
  margin-bottom: .7rem;
}
.stap h3 { font-variation-settings: "wdth" 106, "wght" 700; font-size: 1.05rem; margin-bottom: .35rem; }
.stap p { font-size: .93rem; color: var(--inkt-zacht); }

/* ---------- prijstabel ---------- */
.prijs { width: 100%; border-collapse: collapse; margin-block: 1.25rem 0; font-size: .97rem; }
.prijs caption { text-align: left; font-family: var(--mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--inkt-zacht); padding-bottom: .8rem; }
.prijs th, .prijs td { text-align: left; padding: .85rem .6rem; border-bottom: 1px solid var(--lijn); }
.prijs th { font-variation-settings: "wdth" 100, "wght" 600; }
.prijs td:last-child { font-family: var(--mono); white-space: nowrap; }

@media (max-width: 640px) {
  .prijs { font-size: .87rem; table-layout: fixed; }
  .prijs th, .prijs td { padding: .7rem .35rem; overflow-wrap: break-word; }
  .prijs td:last-child, .prijs th:last-child { white-space: normal; width: 38%; }
}

/* ---------- faq ---------- */
.faq { display: grid; gap: .5rem; }
.faq details { background: var(--wit); border: 1px solid var(--lijn); border-radius: 10px; padding: 1.05rem 1.3rem; }
.faq summary { cursor: pointer; font-variation-settings: "wdth" 102, "wght" 600; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--signaal); font-family: var(--mono); }
.faq details[open] summary::after { content: "\2212"; }
.faq details[open] summary { margin-bottom: .7rem; }
.faq p { color: var(--inkt-zacht); font-size: .97rem; }

/* ---------- subdiensten ---------- */
.sub { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: .75rem; }
.kolom .sub { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 520px) { .kolom .sub { grid-template-columns: 1fr; } }
.sub a {
  background: var(--wit);
  border: 1px solid var(--lijn);
  border-radius: 10px;
  padding: .95rem 1.15rem;
  text-decoration: none;
  font-variation-settings: "wdth" 102, "wght" 600;
  font-size: .95rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  transition: border-color .15s ease;
}
.sub a:hover { border-color: var(--signaal); }
.sub a span { color: var(--signaal); }

/* ---------- plaatsenstrip ---------- */
.plaatsen { display: flex; flex-wrap: wrap; gap: .5rem; }
.plaatsen li {
  font-family: var(--mono);
  font-size: .78rem;
  background: var(--wit);
  border: 1px solid var(--lijn);
  border-radius: 5px;
  padding: .38rem .7rem;
}

/* ---------- skiplink ---------- */
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--tape);
  color: var(--inkt);
  padding: .8rem 1.2rem;
  border-radius: 0 0 8px 0;
  font-variation-settings: "wdth" 100, "wght" 700;
  text-decoration: none;
}
.skip:focus { left: 0; }

/* een artikel dat alleen een kop bevat hoort dicht op het blok eronder te staan */
.kolom > .artikel:has(> h2:only-child) + * { margin-top: 1rem; }

/* ---------- links in lijsten ---------- */
.plaatsen li a { text-decoration: none; }
.plaatsen li:hover { border-color: var(--signaal); }
.wegwijzer__paal a { text-decoration: none; border-bottom: 2px solid transparent; }
.wegwijzer__paal a:hover { border-bottom-color: var(--tape); }

/* ---------- werkgebied in de footer ---------- */
.voet__plaatsen { border-top: 1px solid #2a2f34; margin-top: 2.5rem; padding-top: 1.5rem; }
.voet__plaatsen p { font-size: .88rem; line-height: 1.9; }
.voet__plaatsen a { white-space: nowrap; }
.voet__slot { border-top: 1px solid #2a2f34; margin-top: 1.5rem; padding-top: 1.5rem; font-size: .85rem; color: #7d858c; }

/* de zijkolom mag niet vastplakken als de tekstkolom kort is */
@media (min-width: 941px) { .zijkolom { top: 96px; } }

/* ---------- specbalk op smalle schermen ---------- */
/* een mailadres of een lang woord als "raambelettering" past niet in twee
   kolommen op 320px, dus daaronder gaat de balk naar één kolom */
.spec dd { overflow-wrap: anywhere; }
@media (max-width: 430px) {
  .spec { grid-template-columns: 1fr; }
  .spec > div { border-left: 0; padding-left: 0; border-bottom: 1px solid var(--lijn); padding-block: 1.1rem; }
  .spec > div:last-child { border-bottom: 0; }
}

/* vangnet: geen enkel lang woord mag de layout openbreken */
.hero__sub, .artikel p, .artikel li, .dienst p, .werk__item p, .stap p, .offerteblok p { overflow-wrap: break-word; }

/* ---------- mobiele bediening ---------- */
/* footerlinks waren 18px hoog, Google wil minimaal 24px aanraakvlak */
@media (max-width: 900px) {
  .voet li a,
  .voet__plaatsen a,
  .voet p a { display: inline-block; padding-block: .4rem; }
  .voet li { margin-bottom: 0; }
  .voet__plaatsen p { line-height: 2.2; }

  /* de kleinste labels waren 10,9px, dat leest niet lekker op een telefoon */
  .eyebrow { font-size: .8rem; }
  .spec dt { font-size: .76rem; }
  .offerteblok__voet { font-size: .78rem; }
  .werk__plaats { font-size: .78rem; }
  .kruimel { font-size: .8rem; }
  .chip { font-size: .72rem; }
}

/* ---------- homepage: rustiger bord ---------- */
/* Het paneel vulde 84 procent van het scherm en duwde de specbalk onder de vouw.
   Op de subpagina's klopt de maat wel, dus dit geldt alleen voor de homepage. */
body.home .hero__bord {
  padding: clamp(1.6rem, 1rem + 2.2vw, 3rem) clamp(1.5rem, 1rem + 2.2vw, 3.25rem);
  gap: clamp(1.1rem, 1.8vw, 1.75rem);
}
body.home .hero h1 {
  font-size: clamp(1.7rem, 5.2vw, 4.25rem);
  max-width: 18ch;
}
body.home .hero__sub { max-width: 46ch; }

/* ---------- uitklapmenu ---------- */
/* Zonder javascript: hover en focus-within. Op mobiel blijft het menu een
   horizontaal schuivende strip, want hover werkt daar toch niet. */
.nav__item { position: relative; }
.nav__sub {
  position: absolute; top: 100%; left: -1rem; z-index: 50;
  min-width: 15rem; padding: .6rem 0;
  background: var(--wit); border: 1px solid var(--lijn);
  border-radius: 10px; box-shadow: 0 12px 28px rgba(21,24,27,.13);
  display: grid; opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity .13s ease, transform .13s ease, visibility .13s;
}
.nav__item:hover .nav__sub,
.nav__item:focus-within .nav__sub { opacity: 1; visibility: visible; transform: translateY(0); }
.nav__sub a {
  padding: .5rem 1.15rem; font-size: .92rem; white-space: nowrap;
  border-bottom: 0; border-left: 3px solid transparent;
}
.nav__sub a:hover { background: var(--drager); border-left-color: var(--tape); border-bottom-color: transparent; }
.nav a[aria-current="page"] { border-bottom-color: var(--signaal); }
@media (max-width: 900px) {
  .nav__item { position: static; }
  .nav__sub { display: none; }
}
