/* ==========================================================================
   Bos Mechanisatie - vormgeving (MMX Page Builder v21.2)
   Systeem: kantlijn 1320 (30/15 px), raster 12 kolommen goot 30, ruimte in stappen van 5/10,
   geen schaduw, radius 0. Kleur uit het logo (#1d3150) met geel accent.
   Vormtaal: de moer en steeksleutel uit het logo. De moer (volvlakke zeskant) is de vaste vorm,
   de sleutel verschijnt alleen waar iets gebeurt. Schuine lijnen alleen onder 30/60 graden.
   ========================================================================== */
:root {
    --navy: #1d3150;
    --navy-dk: #121f33;
    --navy-lt: #2b4570;
    --geel: #f2b705;
    --geel-dk: #d9a300;
    --zand: #f2f3f0;
    --inkt: #16202e;
    --grijs: #566174;
    --lijn: #d9dee6;
    --wit: #fff;
    --maxw: 1320px;
    --rand: 30px;
    --edge: max(var(--rand), calc((100vw - var(--maxw)) / 2));
    --kop: 'Barlow Condensed', 'Arial Narrow', sans-serif;
    --tekst: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --head-h: 84px;
    --sectie: 100px;
    --zeskant: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
    --draai: cubic-bezier(.6, .05, .3, 1);
}
@media (max-width: 991px) { :root { --head-h: 68px; --sectie: 70px; } }
@media (max-width: 767px) { :root { --rand: 15px; --sectie: 60px; } }

/* ── Basis ── */
html { scroll-padding-top: calc(var(--head-h) + 20px); }
body { font-family: var(--tekst); font-size: 18px; line-height: 1.55; color: var(--inkt); background: var(--wit); overflow-x: clip; -webkit-font-smoothing: antialiased; }
@media (max-width: 767px) { body { font-size: 17px; } }
:where(h1, h2, h3, h4) { font-family: var(--kop); font-weight: 700; line-height: 1.02; letter-spacing: .005em; color: inherit; }
a { color: var(--navy); transition: color .2s, background-color .2s, border-color .2s; }
a:hover { color: var(--navy-lt); }
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--geel); outline-offset: 2px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 10px; top: -60px; z-index: 2000; background: var(--geel); color: var(--navy-dk); padding: 10px 16px; font-weight: 700; }
.skip-link:focus { top: 10px; }
.wrap { width: min(var(--maxw), calc(100% - 2 * var(--rand))); margin-inline: auto; }
.bos-ico { flex: 0 0 auto; display: inline-block; vertical-align: middle; }

/* Typografische schaal (verhouding ~1,33) */
.bos-kop-xl { font-size: clamp(2.5rem, 1.6rem + 3.4vw, 4.75rem); text-transform: uppercase; }
.bos-kop-l  { font-size: clamp(2rem, 1.5rem + 1.9vw, 3.25rem); text-transform: uppercase; color: var(--navy); }
.bos-kop-m  { font-size: clamp(1.5rem, 1.3rem + .7vw, 2rem); text-transform: uppercase; color: var(--navy); }
.bos-kop-s  { font-family: var(--tekst); font-size: .8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--grijs); margin-bottom: 10px; }
.bos-lees p, .bos-lees ul { max-width: 38em; }
.bos-lees p + p, .bos-lees p + ul, .bos-lees ul + p { margin-top: 1em; }
.bos-lees ul { padding-left: 1.1em; }
.bos-lees li { margin: .2em 0; }
.bos-lees li::marker { color: var(--geel-dk); }

/* ── Knoppen ── */
.bos-knoppen { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 30px; }
.bos-knop { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 12px 34px; border-radius: 0; border: 0; clip-path: polygon(15px 0, calc(100% - 15px) 0, 100% 50%, calc(100% - 15px) 100%, 15px 100%, 0 50%); font-family: var(--tekst); font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer; white-space: nowrap; }
.bos-knop .bos-ico { transition: transform .2s; }
.bos-knop:hover .bos-ico:last-child { transform: translateX(3px); }
.bos-knop-groot { min-height: 60px; font-size: 1.125rem; padding-inline: 38px; }
.bos-knop .bos-ico.bos-ico-moer { transition: transform .4s var(--draai); }
.bos-knop:hover .bos-ico.bos-ico-moer { transform: rotate(60deg); }
.bos-knop-geel { background: var(--geel); color: var(--navy-dk); }
.bos-knop-geel:hover { background: var(--geel-dk); color: var(--navy-dk); }
.bos-knop-navy { background: var(--navy); color: var(--wit); }
.bos-knop-navy:hover { background: var(--navy-dk); color: var(--wit); }
.bos-knop-lijn { color: var(--navy); background: var(--lijn); }
.bos-knop-lijn:hover { background: var(--navy); color: var(--wit); }
.bos-knop-wit-lijn { color: var(--wit); background: rgba(255,255,255,.16); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.bos-knop-wit-lijn:hover { background: var(--wit); color: var(--navy-dk); }
.bos-link-pijl { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--navy); text-decoration: none; }
.bos-link-pijl .bos-ico { color: var(--geel-dk); transition: transform .2s; }
.bos-link-pijl:hover { color: var(--navy-dk); }
.bos-link-pijl:hover .bos-ico { transform: translateX(4px); }
.bos-link-knop { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; color: var(--navy); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* ── Kop van de site ── */
.site-head { position: fixed; top: 0; left: 0; right: 0; z-index: 900; height: var(--head-h); background: var(--wit); border-bottom: 1px solid var(--lijn); transition: background-color .3s, border-color .3s, height .3s; }
.site-head-in { width: min(var(--maxw), calc(100% - 2 * var(--rand))); margin-inline: auto; height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.site-logo { display: block; position: relative; z-index: 2; flex: 0 0 auto; }
.site-logo img { height: 30px; width: auto; }
.site-logo .logo-wit { position: absolute; inset: 0; opacity: 0; transition: opacity .3s; }
.site-logo .logo-donker { transition: opacity .3s; }
.bos-menu { list-style: none; display: flex; align-items: center; gap: 6px; margin: 0; padding: 0; }
.bos-menu a { display: block; padding: 10px 14px; font-weight: 600; font-size: 1.0625rem; color: var(--navy); text-decoration: none; position: relative; }
.bos-menu a:not(.btn-bel)::after { content: ''; position: absolute; left: 50%; bottom: 0; width: 12px; height: 11px; margin-left: -6px; background: var(--geel); clip-path: var(--zeskant); transform: scale(0) rotate(-60deg); transition: transform .4s var(--draai); }
.bos-menu a:hover::after, .bos-menu a.active::after { transform: scale(1) rotate(0deg); }
.nav-bel { margin-left: 10px; }
.btn-bel { display: inline-flex !important; align-items: center; gap: 8px; background: var(--geel); color: var(--navy-dk) !important; border-radius: 0; clip-path: polygon(12px 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 12px 100%, 0 50%); padding: 10px 26px !important; font-weight: 700 !important; white-space: nowrap; }
.btn-bel:hover { background: var(--geel-dk); }
.bos-toggle { display: none; }
/* Boven de kopfoto: transparant, wit logo */
.site-head.is-over-hero:not(.is-vast) { background: transparent; border-color: transparent; }
.site-head.is-over-hero:not(.is-vast)::before { content: ''; position: absolute; inset: 0 0 -40px; background: linear-gradient(rgba(18,31,51,.55), rgba(18,31,51,0)); pointer-events: none; }
.site-head.is-over-hero:not(.is-vast) .logo-wit { opacity: 1; }
.site-head.is-over-hero:not(.is-vast) .logo-donker { opacity: 0; }
.site-head.is-over-hero:not(.is-vast) .bos-menu a:not(.btn-bel) { color: var(--wit); }
.site-head.is-vast { height: calc(var(--head-h) - 10px); }
main.main-pad { padding-top: var(--head-h); }

@media (max-width: 1100px) and (min-width: 992px) { .bos-menu a { padding-inline: 10px; } .btn-bel span { display: none; } }
@media (max-width: 991px) {
    .site-logo img { height: 24px; }
    .bos-toggle { display: flex; flex-direction: column; justify-content: center; gap: 6px; width: 48px; height: 48px; margin-right: -10px; padding: 12px; background: none; border: 0; cursor: pointer; position: relative; z-index: 2; }
    .bos-toggle span { display: block; height: 2px; background: var(--navy); transition: transform .3s, opacity .2s; }
    .site-head.is-over-hero:not(.is-vast) .bos-toggle span { background: var(--wit); }
    .bos-toggle.active span { background: var(--wit) !important; }
    .bos-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .bos-toggle.active span:nth-child(2) { opacity: 0; }
    .bos-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
    .site-nav { position: fixed; inset: 0; background: var(--navy-dk); padding: calc(var(--head-h) + 30px) var(--rand) 40px; overflow-y: auto; visibility: hidden; opacity: 0; transition: opacity .3s, visibility .3s; }
    .menu-open .site-nav { visibility: visible; opacity: 1; }
    .menu-open .site-logo .logo-wit { opacity: 1; }
    .menu-open .site-logo .logo-donker { opacity: 0; }
    .bos-menu { flex-direction: column; align-items: stretch; gap: 0; }
    .bos-menu a { color: var(--wit) !important; font-family: var(--kop); font-size: 2.25rem; font-weight: 700; text-transform: uppercase; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
    .bos-menu a::after { display: none; }
    .nav-bel { margin: 30px 0 0; }
    .btn-bel { font-family: var(--tekst) !important; font-size: 1.125rem !important; text-transform: none !important; justify-content: center; padding: 16px 24px !important; border: 0 !important; }
    body.menu-open { overflow: hidden; }
}

/* ── Secties ── */
.bos-sectie { padding: var(--sectie) 0; }
.bos-sectie-zand { background: var(--zand); }
.bos-sectie-navy { background: var(--navy); color: var(--wit); }
.bos-sectie-navy .bos-kop-l, .bos-sectie-navy .bos-kop-m { color: var(--wit); }
.bos-sectie-kop { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px 40px; flex-wrap: wrap; margin-bottom: 40px; }
.bos-sectie-intro { margin-top: 20px; max-width: 38em; font-size: 1.125rem; color: var(--grijs); }
.bos-sectie-navy .bos-sectie-intro { color: #c9d1de; }
.bos-sectie-intro p + p { margin-top: .8em; }
.bos-edit-hint { margin-top: 20px; padding: 10px 14px; background: #fff8dd; border: 1px dashed var(--geel-dk); color: var(--inkt); font-size: .95rem; }

/* ── Kopfoto ── */
.bos-hero { position: relative; display: flex; align-items: flex-end; color: var(--wit); background: var(--navy-dk); overflow: hidden; isolation: isolate; }
.bos-hero-groot { min-height: max(560px, min(92vh, 940px)); }
.bos-hero-klein { min-height: max(360px, 48vh); }
.bos-hero-beeld { position: absolute; inset: 0; z-index: -1; }
.bos-hero-beeld { overflow: hidden; }
.bos-hero-beeld img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 50%; }
.bos-hero-dia { opacity: 0; transition: opacity 1.2s ease; }
/* De vorige foto houdt zijn zoom vast tijdens het uitfaden (was-actief), anders springt hij terug naar 100%: dat gaf een 'tik' */
/* Ken Burns wordt op een canvas getekend (assets/js/kenburns.min.js, via bos.js); de foto zelf is dan alleen bron */
canvas.bos-hero-dia { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.bos-hero-bron { display: none !important; }
.bos-hero-dia.is-actief { opacity: 1; z-index: 1; }
.bos-hero-beeld::after { content: ''; position: absolute; inset: 0;  z-index: 2; background: linear-gradient(90deg, rgba(18,31,51,.82) 0%, rgba(18,31,51,.45) 50%, rgba(18,31,51,.1) 100%), linear-gradient(0deg, rgba(18,31,51,.7) 0%, rgba(18,31,51,0) 55%); }
.bos-hero-in { padding: calc(var(--head-h) + 60px) 0 100px; }
.bos-hero-klein .bos-hero-in { padding-bottom: 60px; }
.bos-hero-tekst { max-width: 980px; }
.bos-hero-intro, .bos-hero-tekst .bos-knoppen { max-width: 780px; }
.bos-hero-titel { font-size: clamp(2.75rem, 1.4rem + 4.6vw, 5.25rem); text-transform: uppercase; line-height: .95; letter-spacing: 0; }
.bos-hero-klein .bos-hero-titel { font-size: clamp(2.5rem, 1.6rem + 3.6vw, 4.75rem); }
.bos-hero-intro { margin-top: 24px; font-size: clamp(1.125rem, 1rem + .4vw, 1.375rem); line-height: 1.45; max-width: 34em; color: #e6eaf1; }
/* Steeksleutel als fotowisselaar: elke slag van de sleutel = volgende sfeerbeeld */
.bos-sleutel { position: absolute; right: var(--edge); bottom: 34px; z-index: 2; display: flex; align-items: center; gap: 14px; padding: 6px; background: none; border: 0; color: var(--wit); cursor: pointer; }
.bos-sleutel-svg { width: 118px; height: 96px; overflow: visible; }
.bos-sleutel-svg .bs-moer, .bos-sleutel-svg .bs-sleutel { fill: var(--geel); transition: transform .7s var(--draai); }
.bos-sleutel-svg .bs-moer, .bos-sleutel-svg .bs-sleutel { transform: rotate(-30deg); }
.bos-sleutel-teller { font-family: var(--kop); font-weight: 700; font-size: 1.125rem; letter-spacing: .06em; color: rgba(255,255,255,.85); }
.bos-sleutel-teller b { color: var(--geel); font-weight: 700; }
.bos-sleutel:focus-visible { outline-offset: 4px; }
@media (max-width: 767px) { .bos-sleutel { bottom: 16px; right: var(--rand); } .bos-sleutel-svg { width: 84px; height: 68px; } .bos-sleutel-teller { font-size: 1rem; } .heeft-dias .bos-hero-in { padding-bottom: 110px; } }
/* 404: een losgedraaide moer rolt uit beeld */
.bos-losse-moer { position: absolute; left: 46%; bottom: 0; width: 56px; height: 50px; background: var(--geel); clip-path: var(--zeskant); animation: bos-rol 2.6s cubic-bezier(.5, 0, .9, .6) .9s forwards; }
@keyframes bos-rol { 0% { transform: none; } 12% { transform: rotate(-14deg); } 22% { transform: rotate(10deg); } 30% { transform: rotate(0); } 100% { transform: translateX(70vw) rotate(720deg); } }
@media (max-width: 767px) { .bos-hero-titel br { display: none; } .bos-hero-titel, .bos-hero-klein .bos-hero-titel { font-size: clamp(2rem, 9.6vw, 3.25rem); } .bos-hero-in { padding-bottom: 60px; } .bos-hero-groot { min-height: max(520px, 86svh); } .bos-knoppen .bos-knop { flex: 1 1 100%; } }

/* ── Aanbod: filter en kaarten ── */
.bos-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 15px 20px; padding-bottom: 30px; margin-bottom: 40px; border-bottom: 1px solid var(--lijn); }
.bos-filter-groep { display: flex; flex-wrap: wrap; gap: 10px; }
.bos-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 24px; border-radius: 0; border: 0; clip-path: polygon(11px 0, calc(100% - 11px) 0, 100% 50%, calc(100% - 11px) 100%, 11px 100%, 0 50%); background: var(--zand); font: inherit; font-weight: 600; font-size: 1rem; color: var(--navy); cursor: pointer; }
.bos-chip:hover { background: var(--lijn); }
.bos-chip.is-actief { background: var(--navy); color: var(--wit); }
.bos-chip .aantal { font-size: .8125rem; background: rgba(255,255,255,.18); border-radius: 999px; padding: 0 8px; }
.bos-chip:not(.is-actief) .aantal { background: var(--wit); }
.bos-filter-merk select { min-height: 44px; padding: 8px 44px 8px 18px; border-radius: 0; border: 2px solid var(--lijn); font: inherit; font-weight: 600; font-size: 1rem; color: var(--navy); background: var(--wit) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231d3150' stroke-width='2' fill='none'/%3E%3C/svg%3E") no-repeat right 18px center; -webkit-appearance: none; appearance: none; cursor: pointer; }
.bos-filter-merk select:hover { border-color: var(--navy); }
.bos-filter-aantal { margin-left: auto; color: var(--grijs); font-weight: 600; }
.bos-kaarten { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 30px; }
@media (max-width: 991px) { .bos-kaarten { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .bos-kaarten { grid-template-columns: 1fr; gap: 30px; } .bos-filter-aantal { margin-left: 0; width: 100%; } }
.bos-kaart-link { display: flex; flex-direction: column; height: 100%; color: var(--inkt); text-decoration: none; }
/* Verkocht: blijft in het overzicht (altijd achteraan) met een eigen label; foto iets gedempt */
.bos-label.bos-label-verkocht { background: var(--wit); color: var(--navy-dk); }
.bos-kaart.is-verkocht .bos-kaart-beeld img { filter: grayscale(.85); opacity: .85; }
.bos-kaart.is-verkocht .bos-kaart-prijs { color: var(--grijs, #5b6370); }
.bos-kaart-beeld { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--zand); clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 38px, 100% 100%, 0 100%); }
.bos-kaart-beeld img { width: 100%; height: 100%; object-fit: cover; transition: scale .5s; }
.bos-kaart-link:hover .bos-kaart-beeld img { scale: 1.06; }
.bos-geen-foto-tekst { position: absolute; inset: 0; display: grid; place-items: center; color: var(--grijs); font-weight: 600; }
.bos-label { display: inline-block; font-size: .8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding: 5px 20px 5px 12px; clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 50%, calc(100% - 9px) 100%, 0 100%); background: var(--navy); color: var(--wit); }
.bos-label-nieuw { background: var(--geel); color: var(--navy-dk); }
.bos-label-zgan { background: var(--wit); color: var(--navy); }
.bos-kaart-beeld .bos-label { position: absolute; left: 0; top: 20px; }
.bos-kaart-tekst { display: flex; flex-direction: column; flex: 1; padding-top: 20px; border-bottom: 2px solid var(--lijn); transition: border-color .25s; }
.bos-kaart-link:hover .bos-kaart-tekst { border-color: var(--geel); }
.bos-kaart-titel { font-size: 1.75rem; text-transform: uppercase; color: var(--navy); line-height: 1.02; }
.bos-kaart-titel .merk { display: block; font-family: var(--tekst); font-size: .8125rem; font-weight: 700; letter-spacing: .12em; color: var(--grijs); margin-bottom: 5px; }
.bos-kaart-kort { margin-top: 10px; color: var(--grijs); }
.bos-kaart-prijs { margin-top: auto; padding: 15px 0; display: flex; align-items: center; justify-content: space-between; font-weight: 700; color: var(--navy); }
.bos-kaart-link:hover .bos-kaart-prijs .bos-ico { transform: translateX(4px); }
.bos-kaart-prijs .bos-ico { transition: transform .2s; color: var(--geel-dk); }
.bos-kaart.is-verborgen { display: none; }
.bos-leeg, .bos-leeg-aanbod { padding: 30px; background: var(--zand); font-size: 1.125rem; }
.bos-onder-knop { margin-top: 60px; text-align: center; }

/* ── Tekst met foto tot de schermrand ── */
.bos-tekst-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 30px; align-items: center; }
.bos-tekst-inhoud { grid-column: 1 / -1; }
.bos-tekst.heeft-beeld .bos-tekst-inhoud { grid-column: 1 / span 6; }
.bos-tekst-beeld { grid-column: 8 / -1; margin: 0 calc(-1 * var(--edge)) 0 0; align-self: stretch; min-height: 480px; position: relative; }
.bos-tekst-beeld img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bos-tekst.beeld-links .bos-tekst-inhoud { grid-column: 7 / -1; grid-row: 1; }
.bos-tekst.beeld-links .bos-tekst-beeld { grid-column: 1 / span 5; grid-row: 1; margin: 0 0 0 calc(-1 * var(--edge)); }
.bos-tekst .bos-kop-l { margin-bottom: 30px; }
.bos-tekst.heeft-beeld { padding-block: 0; }
.bos-tekst.heeft-beeld .bos-tekst-inhoud { padding-block: var(--sectie); }
.bos-sectie-navy .bos-lees { color: #e6eaf1; }
.bos-punten { margin-top: 40px; padding-top: 30px; border-top: 1px solid var(--lijn); }
.bos-sectie-navy .bos-punten { border-color: rgba(255,255,255,.18); }
.bos-punten ul { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 30px; }
.bos-punten li { position: relative; padding-left: 26px; line-height: 1.4; font-weight: 500; }
.bos-punten li::before { content: ''; position: absolute; left: 0; top: .4em; width: 14px; height: 12px; background: var(--geel); clip-path: var(--zeskant); }
@media (max-width: 991px) {
    .bos-tekst.heeft-beeld .bos-tekst-inhoud, .bos-tekst.beeld-links .bos-tekst-inhoud { grid-column: 1 / -1; grid-row: 1; padding-block: var(--sectie) 0; }
    .bos-tekst-beeld, .bos-tekst.beeld-links .bos-tekst-beeld { grid-column: 1 / -1; grid-row: 2; margin: 0 calc(-1 * var(--rand)); min-height: 0; aspect-ratio: 3 / 2; }
    .bos-tekst.heeft-beeld { padding-bottom: 0; }
}
@media (max-width: 600px) { .bos-punten ul { grid-template-columns: 1fr; } }

/* ── Werkzaamheden ── */
/* Werkzaamheden: één band per dienst (wit / zand om en om); foto loopt uit tot de rand, tekstvlak in de andere tint overlapt de foto */
.bos-dienst { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 0 30px; align-items: center; }
.bos-dienst-beeld { grid-column: 1 / span 8; grid-row: 1; margin: 0 0 0 calc(-1 * var(--edge)); aspect-ratio: 16 / 10; overflow: hidden; }
.bos-dienst-beeld img { width: 100%; height: 100%; object-fit: cover; }
.bos-dienst-tekst { grid-column: 7 / -1; grid-row: 1; position: relative; z-index: 1; background: var(--zand); padding: 56px 56px 60px; }
.bos-dienst-band.is-omgekeerd .bos-dienst-tekst { background: var(--wit); grid-column: 1 / span 6; }
.bos-dienst-band.is-omgekeerd .bos-dienst-beeld { grid-column: 5 / -1; margin: 0 calc(-1 * var(--edge)) 0 0; }
.bos-dienst.zonder-beeld .bos-dienst-tekst { grid-column: 1 / span 8; }
.bos-dienst-nr { position: relative; display: grid; place-items: center; width: 92px; height: 80px; margin-bottom: 24px; font-family: var(--kop); font-weight: 700; font-size: 2.25rem; line-height: 1; color: var(--navy-dk); isolation: isolate; }
.bos-dienst-nr::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--geel); clip-path: var(--zeskant); transform: rotate(-60deg); transition: transform .9s var(--draai); }
.bos-dienst-nr.is-vast::before { transform: rotate(0deg); }
.bos-dienst .bos-kop-m { margin-bottom: 20px; }
.bos-dienst-tekst .bos-lees > :last-child { margin-bottom: 0; }
@media (max-width: 991px) {
    .bos-dienst-beeld, .bos-dienst-band.is-omgekeerd .bos-dienst-beeld { grid-column: 1 / -1; grid-row: 1; margin: 0 calc(-1 * var(--rand)); }
    .bos-dienst-tekst, .bos-dienst-band.is-omgekeerd .bos-dienst-tekst { grid-column: 1 / -1; grid-row: 2; margin: -48px 16px 0; padding: 36px 28px 40px; }
    .bos-dienst-nr { width: 76px; height: 66px; font-size: 1.875rem; }
}

/* ── Merken ── */
.bos-logos { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); border-top: 1px solid var(--lijn); border-left: 1px solid var(--lijn); }
.bos-logo { background: var(--wit); border-right: 1px solid var(--lijn); border-bottom: 1px solid var(--lijn); }
.bos-logo a { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: var(--navy); }
.bos-logo img { width: 100%; height: auto; aspect-ratio: 5 / 3; object-fit: contain; padding: 20px 30px; transition: scale .3s; }
.bos-logo a:hover img { scale: 1.05; }
.bos-logo-naam { display: flex; justify-content: space-between; align-items: center; padding: 10px 20px 15px; font-size: .9375rem; font-weight: 600; border-top: 1px solid var(--zand); }
.bos-logo a:hover .bos-logo-naam { color: var(--navy-dk); background: var(--zand); }
.is-strook .bos-logo { border: 0; }
/* Merk zonder logo: naam als woordbeeld in dezelfde tegelmaat */
.bos-logo-tekst { display: grid; place-items: center; width: 100%; aspect-ratio: 5 / 3; padding: 10px 20px; font-family: var(--kop); font-weight: 700; font-size: 1.75rem; letter-spacing: .04em; text-transform: uppercase; color: var(--navy); text-align: center; line-height: 1; }
.is-strook .bos-logo img { padding: 10px 15px; }
/* Logoband: over de volle schermbreedte, loopt automatisch door; stopt bij aanwijzen */
.bos-logoband { display: flex; overflow: hidden; padding-block: 1px; width: var(--schermb, 100vw); margin-left: calc(50% - var(--schermb, 100vw) / 2); }
.bos-logos-loop { display: flex; flex-shrink: 0; gap: 20px; padding-right: 20px; border: 0; animation: bos-band var(--duur, 40s) linear infinite; }
.bos-logos-loop .bos-logo { flex: 0 0 230px; border: 1px solid var(--lijn); }
.bos-logoband:hover .bos-logos-loop { animation-play-state: paused; }
@keyframes bos-band { to { transform: translateX(-100%); } }
@media (max-width: 767px) { .bos-logos-loop { gap: 12px; padding-right: 12px; } .bos-logos-loop .bos-logo { flex-basis: 150px; } }
@media (prefers-reduced-motion: reduce) { .bos-logos-loop { animation: none; } .bos-logos-loop[aria-hidden] { display: none; } .bos-logoband { overflow-x: auto; } }
@media (max-width: 600px) { .bos-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); } .bos-logo img { padding: 15px; } }

/* ── Facebook (navy, strook die tot de schermrand loopt) ── */
.bos-fb .bos-sectie-kop { align-items: flex-end; }
/* Kop: link naar Facebook + zeskant-pijlen met teller (zelfde taal als de kopfoto) */
.bos-fb-bediening { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.bos-fb-volg { display: inline-flex; align-items: center; gap: 10px; color: var(--wit); font-weight: 700; text-decoration: none; }
.bos-fb-volg .bos-ico { color: var(--geel); }
.bos-fb-volg:hover { color: var(--geel); }
.bos-fb-nav { display: flex; align-items: center; gap: 14px; }
.bos-fb-pijl { display: grid; place-items: center; width: 58px; height: 50px; padding: 0; border: 0; background: var(--geel); color: var(--navy-dk); clip-path: var(--zeskant); cursor: pointer; transition: background-color .2s, opacity .2s; }
.bos-fb-pijl:hover { background: var(--wit); }
.bos-fb-pijl[data-fb-vorige] .bos-ico { transform: rotate(180deg); }
.bos-fb-pijl:disabled { cursor: default; background: rgba(255,255,255,.08); color: rgba(255,255,255,.3); }
.bos-fb-nav[hidden] { display: none; }
.bos-fb-teller { font-family: var(--kop); font-weight: 700; font-size: 1.125rem; letter-spacing: .06em; color: rgba(255,255,255,.7); min-width: 4.2em; text-align: center; }
.bos-fb-teller b { color: var(--geel); font-weight: 700; }
/* Rail: begint op de lijn van de pagina, loopt rechts door tot de rand; geen schuifbalk */
/* Rail echt over de volle schermbreedte: van rand tot rand, altijd hele kaarten (aantal hangt af van de schermbreedte) */
.bos-fb-rail { --per: 5; --gat: 20px; display: grid; grid-auto-flow: column; gap: var(--gat); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none;
    width: var(--schermb, 100vw); margin-left: calc(50% - var(--schermb, 100vw) / 2); padding-inline: var(--gat); scroll-padding-inline: var(--gat);
    grid-auto-columns: calc((var(--schermb, 100vw) - (var(--per) + 1) * var(--gat)) / var(--per)); }
@media (max-width: 1700px) { .bos-fb-rail { --per: 4; } }
@media (max-width: 1300px) { .bos-fb-rail { --per: 3; } }
@media (max-width: 950px) { .bos-fb-rail { --per: 2; --gat: 14px; } }
@media (max-width: 600px) { .bos-fb-rail { --per: 1; } }
.bos-fb-rail::-webkit-scrollbar { display: none; }
.bos-fb-post { scroll-snap-align: start; display: flex; }
.bos-fb-post a { display: flex; flex-direction: column; width: 100%; color: var(--wit); text-decoration: none; background: rgba(255,255,255,.05); transition: background-color .25s; }
.bos-fb-post a:hover { background: rgba(255,255,255,.1); }
.bos-fb-beeld { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy-dk); }
/* Afgeschuinde hoek in geel (op donkere ondergrond) */
.bos-fb-beeld::after { content: ''; position: absolute; top: 0; right: 0; z-index: 1; width: 22px; height: 38px; background: var(--geel); clip-path: polygon(0 0, 100% 0, 100% 100%); }
.bos-fb-beeld img { width: 100%; height: 100%; object-fit: cover; transition: scale .5s; }
.bos-fb-post a:hover img { scale: 1.05; }
.bos-fb-datum { position: absolute; left: 0; bottom: 16px; background: var(--geel); color: var(--navy-dk); font-size: .8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding: 5px 20px 5px 14px; clip-path: polygon(0 0, calc(100% - 9px) 0, 100% 50%, calc(100% - 9px) 100%, 0 100%); }
.bos-fb-tekst { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.bos-fb-tekst p { color: #dbe1ea; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin: 0 0 18px; }
.bos-fb-lees { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-size: .9375rem; font-weight: 700; color: var(--wit); }
.bos-fb-lees .bos-ico { color: var(--geel); transition: transform .2s; }
.bos-fb-post a:hover .bos-fb-lees .bos-ico { transform: translateX(4px); }
@media (max-width: 767px) { .bos-fb-bediening { width: 100%; justify-content: space-between; } .bos-fb-pijl { width: 50px; height: 44px; } }

/* ── Contactband ── */
.bos-cta { position: relative; background: var(--navy); color: var(--wit); overflow: hidden; isolation: isolate; }
.bos-cta-beeld { position: absolute; inset: 0; z-index: -1; }
.bos-cta-beeld img { width: 100%; height: 100%; object-fit: cover; opacity: .38; filter: grayscale(.4); }
.bos-cta-in { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 30px; align-items: end; padding: var(--sectie) 0; }
.bos-cta-tekst { grid-column: 1 / span 7; }
.bos-cta-tekst p { margin-top: 20px; font-size: 1.25rem; color: #dbe1ea; max-width: 30em; }
.bos-cta-knoppen { grid-column: 8 / -1; display: flex; flex-direction: column; gap: 10px; }
.bos-cta-knoppen .bos-knop { justify-content: flex-start; }
@media (max-width: 991px) { .bos-cta-tekst, .bos-cta-knoppen { grid-column: 1 / -1; } }

/* ── Contact ── */
.bos-contact.heeft-beeld { padding-block: 0; }
.bos-contact-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 30px; }
.bos-contact-tekst { grid-column: 1 / -1; }
.bos-contact.heeft-beeld .bos-contact-tekst { grid-column: 1 / span 7; padding-block: var(--sectie); }
.bos-contact-beeld { grid-column: 9 / -1; margin: 0 calc(-1 * var(--edge)) 0 0; position: relative; min-height: 520px; }
.bos-contact-beeld img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bos-contact-blokken { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 30px; margin-top: 40px; }
.bos-contact-blok p + p, .bos-contact-blok p + .bos-link-pijl { margin-top: 15px; }
.bos-contact-blok .bos-link-pijl { margin-top: 20px; }
.bos-open-info { color: var(--grijs, #5b6370); max-width: 34em; margin-top: -6px; }
.bos-open { font-weight: 600; color: var(--navy); }
.bos-contact-lijst { list-style: none; display: grid; gap: 10px; }
.bos-contact-lijst a { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; text-decoration: none; color: var(--navy); font-size: 1.125rem; }
.bos-contact-lijst a:hover { color: var(--navy-lt); text-decoration: underline; }
.bos-contact-lijst .bos-ico { color: var(--geel-dk); }
.bos-contact-klein { color: var(--grijs); font-size: 1rem; }
@media (max-width: 991px) {
    .bos-contact.heeft-beeld .bos-contact-tekst { grid-column: 1 / -1; padding-bottom: 0; }
    .bos-contact-beeld { grid-column: 1 / -1; margin: 0 calc(-1 * var(--rand)); min-height: 0; aspect-ratio: 3 / 2; }
}
@media (max-width: 600px) { .bos-contact-blokken { grid-template-columns: 1fr; } }

/* ── Fotostrook ── */
.bos-fotostrip { padding: var(--sectie) 0 0; }
.bos-fotostrip .bos-kop-l { margin-bottom: 30px; }
.bos-fotostrip-rij { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 1fr); overflow-x: auto; scroll-snap-type: x mandatory; }
.bos-fotostrip-rij figure { aspect-ratio: 4 / 3; scroll-snap-align: start; }
.bos-fotostrip-rij img { width: 100%; height: 100%; object-fit: cover; }

/* ── Machinepagina ── */
.bos-machine { padding-top: calc(var(--head-h) + 30px); }
.bos-kruimel { margin-bottom: 30px; }
.bos-kruimel a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; }
.bos-kruimel a:hover { text-decoration: underline; }
.bos-machine-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 30px 40px; align-items: start; }
.bos-galerij { grid-column: 1 / span 8; min-width: 0; }
.bos-machine-info { grid-column: 9 / -1; position: sticky; top: calc(var(--head-h) + 20px); }
.bos-galerij-groot { position: relative; aspect-ratio: 4 / 3; background: var(--zand); overflow: hidden; }
.bos-galerij-item { position: absolute; inset: 0; opacity: 0; transition: opacity .35s; cursor: zoom-in; }
.bos-galerij-item.is-actief { opacity: 1; z-index: 1; }
.bos-galerij-item img { width: 100%; height: 100%; object-fit: cover; }
.bos-geen-foto { display: grid; place-items: center; color: var(--grijs); font-weight: 600; }
.bos-galerij-pijl { position: absolute; top: 50%; translate: 0 -50%; z-index: 2; width: 58px; height: 50px; border: 0; border-radius: 0; clip-path: var(--zeskant); background: rgba(18,31,51,.75); color: var(--wit); display: grid; place-items: center; cursor: pointer; }
.bos-galerij-pijl:hover { background: var(--navy-dk); }
.bos-galerij-pijl.vorige { left: 15px; }
.bos-galerij-pijl.volgende { right: 15px; }
.bos-galerij-teller { position: absolute; right: 15px; bottom: 15px; z-index: 2; background: rgba(18,31,51,.75); color: var(--wit); font-weight: 600; font-size: .9375rem; padding: 4px 16px; clip-path: polygon(8px 0, calc(100% - 8px) 0, 100% 50%, calc(100% - 8px) 100%, 8px 100%, 0 50%); }
.bos-galerij-duimen { display: flex; gap: 10px; margin-top: 10px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x proximity; }
.bos-duim { flex: 0 0 110px; aspect-ratio: 4 / 3; padding: 0; border: 3px solid transparent; background: var(--zand); cursor: pointer; scroll-snap-align: start; opacity: .75; transition: opacity .2s, border-color .2s; }
.bos-duim img { width: 100%; height: 100%; object-fit: cover; }
.bos-duim:hover { opacity: 1; }
.bos-duim.is-actief { border-color: var(--geel); opacity: 1; }
.bos-machine-titel { margin-top: 15px; color: var(--navy); text-transform: uppercase; font-size: clamp(2.25rem, 1.7rem + 2vw, 3.25rem); line-height: .98; }
.bos-machine-titel .merk { display: block; font-family: var(--tekst); font-size: .9375rem; font-weight: 700; letter-spacing: .12em; color: var(--grijs); margin-bottom: 8px; }
.bos-machine-prijs { margin-top: 20px; font-family: var(--kop); font-weight: 700; font-size: 1.75rem; color: var(--navy); }
.bos-interesse { margin-top: 30px; padding: 30px; background: var(--navy); color: var(--wit); }
.bos-interesse-kop { font-size: 1.75rem; text-transform: uppercase; margin-bottom: 20px; }
.bos-interesse-knoppen { display: grid; gap: 10px; }
.bos-interesse-knoppen .bos-knop { justify-content: flex-start; }
.bos-interesse .bos-knop-navy { background: var(--wit); color: var(--navy); }
.bos-interesse .bos-knop-navy:hover { background: var(--zand); color: var(--navy-dk); }
.bos-interesse .bos-knop-lijn { background: rgba(255,255,255,.14); color: var(--wit); }
.bos-interesse .bos-knop-lijn:hover { background: var(--wit); color: var(--navy-dk); }
.bos-interesse-noot { margin-top: 15px; font-size: .9375rem; color: #c9d1de; }
.bos-specs { margin-top: 30px; }
.bos-specs div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 15px; padding: 10px 0; border-bottom: 1px solid var(--lijn); }
.bos-specs dt { color: var(--grijs); }
.bos-specs dd { font-weight: 600; }
.bos-machine-tekst { margin-top: var(--sectie); padding-top: 40px; border-top: 1px solid var(--lijn); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 30px; padding-bottom: var(--sectie); }
.bos-machine-tekst .bos-kop-m { grid-column: 1 / span 3; }
.bos-machine-tekst .bos-lees { grid-column: 4 / span 8; }
.bos-machine-tekst .bos-lees ul { columns: 2; column-gap: 40px; max-width: none; }
.bos-machine-tekst .bos-lees li { break-inside: avoid; }
.bos-meer .bos-sectie-kop { margin-bottom: 40px; }
.bos-mobiel-balk { display: none; }
@media (max-width: 991px) {
    .bos-galerij, .bos-machine-info { grid-column: 1 / -1; }
    .bos-machine-info { position: static; }
    .bos-galerij { margin-inline: calc(-1 * var(--rand)); }
    .bos-galerij-duimen { padding-inline: var(--rand); }
    .bos-machine-tekst .bos-kop-m, .bos-machine-tekst .bos-lees { grid-column: 1 / -1; }
    .bos-mobiel-balk { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 800; padding: 10px var(--rand) calc(10px + env(safe-area-inset-bottom)); background: var(--wit); border-top: 1px solid var(--lijn); translate: 0 110%; transition: translate .3s; }
    .bos-mobiel-balk.is-zichtbaar { translate: 0 0; }
    .bos-mobiel-balk .bos-knop { min-height: 50px; padding-inline: 10px; }
    body:has(.bos-mobiel-balk) .site-foot { padding-bottom: 80px; }
}
@media (max-width: 600px) { .bos-machine-tekst .bos-lees ul { columns: 1; } .bos-galerij-pijl { width: 50px; height: 44px; } .bos-duim { flex-basis: 84px; } }

/* Lichtbak */
.bos-lightbox { position: fixed; inset: 0; z-index: 2000; background: rgba(12,20,33,.96); display: grid; place-items: center; padding: 60px 70px; }
.bos-lightbox img { max-width: 100%; max-height: calc(100vh - 120px); object-fit: contain; }
.bos-lb-sluit, .bos-lb-pijl { position: absolute; width: 60px; height: 52px; border-radius: 0; clip-path: var(--zeskant); border: 0; background: rgba(255,255,255,.1); color: var(--wit); display: grid; place-items: center; cursor: pointer; }
.bos-lb-sluit:hover, .bos-lb-pijl:hover { background: rgba(255,255,255,.22); }
.bos-lb-sluit { top: 15px; right: 15px; }
.bos-lb-pijl { top: 50%; translate: 0 -50%; }
.bos-lb-pijl.vorige { left: 10px; }
.bos-lb-pijl.volgende { right: 10px; }
@media (max-width: 600px) { .bos-lightbox { padding: 70px 10px; } .bos-lb-pijl { top: auto; bottom: 15px; translate: none; } }

/* ── Voet ── */
.site-foot { background: var(--navy-dk); color: #b9c2d0; font-size: 1rem; }
.site-foot a { color: var(--wit); text-decoration: none; }
.site-foot a:hover { color: var(--geel); }
.site-foot-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 40px 30px; padding: var(--sectie) 0 60px; }
.foot-merk { grid-column: 1 / span 4; }
.foot-merk img { width: 160px; height: auto; }
.foot-merk p { margin-top: 20px; max-width: 26em; }
.foot-blok { grid-column: span 2; }
.foot-blok:nth-of-type(2) { grid-column: 6 / span 2; }
.foot-blok:nth-of-type(3) { grid-column: 8 / span 3; }
.foot-blok:nth-of-type(4) { grid-column: 11 / span 2; }
.foot-kop { font-family: var(--tekst); font-size: .8125rem; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--geel); margin-bottom: 15px; }
.foot-blok p + p { margin-top: 10px; }
.foot-open { color: var(--wit); }
.foot-lijst { list-style: none; display: grid; gap: 8px; }
.foot-lijst a, .foot-link { display: inline-flex; align-items: center; gap: 8px; }
.foot-lijst .bos-ico, .foot-link .bos-ico { color: var(--geel); }
.foot-onder { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 30px; padding: 20px 0 30px; border-top: 1px solid rgba(255,255,255,.12); font-size: .875rem; }
.foot-sep { opacity: .5; margin: 0 4px; }
.site-foot .edit-icon { display: inline-flex; vertical-align: middle; margin-left: 10px; opacity: .35; }
.site-foot .edit-icon:hover { opacity: 1; }
@media (max-width: 991px) {
    .foot-merk { grid-column: 1 / -1; }
    .foot-blok:nth-of-type(n) { grid-column: span 4; }
}
@media (max-width: 600px) { .foot-blok:nth-of-type(n) { grid-column: 1 / -1; } }

/* ── Scroll-moer: draait per stuk pagina een vlak verder; klik = naar boven ── */
.bos-scrollmoer { position: fixed; right: 24px; bottom: 24px; z-index: 850; width: 56px; height: 50px; padding: 0; border: 0; background: none; color: var(--navy-dk); cursor: pointer; display: grid; place-items: center; isolation: isolate; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.bos-scrollmoer::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--geel); clip-path: var(--zeskant); transform: rotate(var(--hoek, 0deg)); transition: transform .5s var(--draai), background-color .2s; }
.bos-scrollmoer.is-zichtbaar { opacity: 1; visibility: visible; }
.bos-scrollmoer:hover::before { background: var(--geel-dk); }
@media (max-width: 991px) { .bos-scrollmoer { display: none; } }

/* ── Minder beweging ── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ── Editor (alleen ingelogd) ── */
body.edit-mode .site-head { right: 380px; }
body.edit-mode .site-head { position: absolute; }
body.edit-mode main { padding-top: var(--head-h); }
@media (max-width: 1024px) { body.edit-mode .site-head { right: 0; } }
.pb-sidebar, .modal-box { font-family: 'Barlow', system-ui, sans-serif; font-size: 15px; color: #1e293b; }
.pb-sidebar :where(h1, h2, h3, h4), .modal-box :where(h1, h2, h3, h4) { font-family: 'Barlow', system-ui, sans-serif; text-transform: none; }
