/* ==========================================================================
   Glaszetbedrijf Masker - layout
   ========================================================================== */

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(var(--narrow) + var(--gutter) * 2); }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: calc(var(--section-y) * 0.55); }
.section--paper { background: var(--paper); --bg: var(--paper); }
.section--ink { background: var(--ink); color: rgba(255, 255, 255, 0.78); --bg: var(--ink); }
.section--ink h2, .section--ink h3, .section--ink strong { color: var(--white); }
.section--ink .lead { color: rgba(255, 255, 255, 0.72); }

.section-head { display: grid; gap: var(--sp-5); margin-bottom: var(--sp-10); }
.section-head h2 { margin: 0; max-width: 20ch; }
.section-head p { margin: 0; max-width: 54ch; color: var(--muted); font-size: var(--fs-md); }
@media (min-width: 960px) {
    .section-head--split { grid-template-columns: 1.2fr 1fr; align-items: end; }
    .section-head--split > :last-child { justify-self: end; }
}
.grid { display: grid; gap: var(--sp-6); }
@media (min-width: 640px) { .grid--2, .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Topbar met live dienststatus ---------- */
.topbar { background: var(--ink); color: rgba(255, 255, 255, 0.75); font-family: var(--mono); font-size: var(--fs-xs); letter-spacing: 0.04em; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-6); min-height: 38px; }
.topbar a { text-decoration: none; }
.topbar a:hover { color: var(--white); }
.topbar strong { color: var(--white); font-weight: 600; }
.topbar__right { display: flex; gap: var(--sp-6); }
@media (max-width: 860px) { .topbar__right { display: none; } }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--white); border-bottom: var(--rule); }
.site-header__inner { display: flex; align-items: center; gap: var(--sp-6); min-height: var(--header-h); }
.site-logo { flex: none; }
.site-logo img { width: 184px; }
@media (max-width: 480px) { .site-logo img { width: 148px; } }
.site-nav { margin-left: auto; }
.site-nav__list { display: flex; align-items: center; margin: 0; padding: 0; list-style: none; }
.site-nav__list > li { position: relative; margin: 0; }
.site-nav__link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: var(--header-h);
    padding: 0 var(--sp-3);
    border: 0;
    background: none;
    font-size: var(--fs-sm);
    font-weight: 750;
    font-stretch: 108%;
    color: var(--ink);
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: inset 0 -4px 0 transparent;
}
.site-nav__link:hover { color: var(--red); }
.site-nav__link.is-current { box-shadow: inset 0 -4px 0 var(--red); }
.site-nav__link svg { width: 12px; height: 12px; transition: transform 0.15s; }
.has-dropdown.is-open > .site-nav__link svg { transform: rotate(180deg); }

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 280px;
    padding: var(--sp-3) 0;
    background: var(--white);
    border: var(--rule);
    border-top: 4px solid var(--red);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.12s, visibility 0.12s;
}
.has-dropdown:hover > .dropdown,
.has-dropdown:focus-within > .dropdown,
.has-dropdown.is-open > .dropdown { opacity: 1; visibility: visible; }
.dropdown--mega { display: grid; grid-template-columns: repeat(2, 260px) 240px; width: max-content; padding: var(--sp-3); gap: 0 var(--sp-3); }
.dropdown__list { margin: 0; padding: 0; list-style: none; }
.dropdown__list li + li { margin: 0; }
.dropdown__link { display: block; padding: var(--sp-2) var(--sp-4); font-size: var(--fs-sm); font-weight: 700; color: var(--ink); text-decoration: none; }
.dropdown__link small { display: block; font-family: var(--mono); font-weight: 400; font-size: 0.7rem; letter-spacing: 0.03em; color: var(--muted); }
.dropdown__link:hover { background: var(--paper); color: var(--red); }
.dropdown__promo { grid-row: span 2; display: flex; flex-direction: column; justify-content: space-between; gap: var(--sp-4); padding: var(--sp-5); background: var(--red); color: var(--white); text-decoration: none; }
.dropdown__promo strong { color: var(--white); font-stretch: 125%; font-weight: 900; text-transform: uppercase; font-size: var(--fs-md); line-height: 1; }
.dropdown__promo span { font-family: var(--mono); font-size: var(--fs-sm); }

.site-header__actions { display: flex; align-items: center; gap: var(--sp-3); }
.nav-toggle { display: none; align-items: center; justify-content: center; width: 50px; height: 50px; border: var(--rule); background: var(--white); cursor: pointer; }
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-open { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }

@media (max-width: 1200px) { .site-header__offerte { display: none; } }
@media (max-width: 1060px) {
    .nav-toggle { display: inline-flex; }
    .site-header__actions { margin-left: auto; }
    .site-nav {
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        height: calc(100dvh - var(--header-h));
        margin: 0;
        padding: 0 var(--gutter) 120px;
        background: var(--white);
        overflow-y: auto;
        border-top: var(--rule);
        display: none;
    }
    .nav-open .site-nav { display: block; }
    .site-nav__list { flex-direction: column; align-items: stretch; }
    .site-nav__list > li { border-bottom: 1px solid var(--line); }
    .site-nav__link { width: 100%; justify-content: space-between; min-height: 60px; padding: 0; font-size: var(--fs-md); box-shadow: none; }
    .dropdown, .dropdown--mega { position: static; display: none; width: auto; min-width: 0; padding: 0 0 var(--sp-4); border: 0; opacity: 1; visibility: visible; }
    .has-dropdown.is-open > .dropdown { display: block; }
    .dropdown__link { padding-left: 0; }
    .dropdown__promo { margin-top: var(--sp-3); }
}
@media (max-width: 600px) {
    .site-header__call .btn__label { display: none; }
    .site-header__call { width: 50px; padding: 0; }
}
body.nav-open { overflow: hidden; }

/* ---------- Hero: de bus. Overdag rood, 's nachts inkt ---------- */
.hero { --hero-bg: var(--ink); --hero-accent: var(--red); --bg: var(--ink); background: var(--hero-bg); color: var(--white); overflow: hidden; }
.hero__grid { display: grid; gap: var(--sp-10); padding-block: clamp(2.5rem, 1.5rem + 4vw, 5rem) var(--sp-10); }
@media (min-width: 1000px) { .hero__grid { grid-template-columns: 1.25fr 1fr; gap: var(--sp-16); align-items: end; } }
.hero__status { display: inline-flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-4); margin-bottom: var(--sp-6); padding: var(--sp-2) var(--sp-3); border: 1px solid rgba(255, 255, 255, 0.55); font-family: var(--mono); font-size: var(--fs-xs); letter-spacing: 0.06em; text-transform: uppercase; }
.hero__status time { color: var(--white); font-weight: 700; }
.hero h1 { margin: 0 0 var(--sp-6); color: var(--white); font-size: var(--fs-3xl); }
.hero__kicker { display: block; margin-bottom: var(--sp-4); font-family: var(--mono); font-size: var(--fs-sm); font-weight: 600; letter-spacing: 0.22em; color: var(--white); opacity: 0.9; }
.hero__accent { color: var(--hero-accent); }
.hero__phone { display: inline-block; margin-bottom: var(--sp-3); font-weight: 900; font-stretch: 125%; font-size: clamp(2rem, 1.2rem + 3.6vw, 4.2rem); line-height: 1; letter-spacing: -0.01em; color: var(--white); text-decoration: none; border-bottom: 6px solid var(--hero-accent); }
.hero__phone:hover { color: var(--paper); }
.hero__sub { margin: var(--sp-3) 0 0; max-width: 46ch; font-size: var(--fs-md); color: rgba(255, 255, 255, 0.88); }
.hero__media { --bg: var(--hero-bg); color: rgba(255, 255, 255, 0.85); }
.hero__media .measured { aspect-ratio: 4 / 4.6; }
.hero__media figcaption { margin-top: var(--sp-3); font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; }

/* Snelkeuze onderin de hero, als belettering op de zijkant van de bus */
.routes { display: grid; border-top: 2px solid rgba(255, 255, 255, 0.9); }
@media (min-width: 860px) { .routes { grid-template-columns: repeat(3, 1fr); } }
.route { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: var(--sp-4); padding: var(--sp-5) var(--sp-5) var(--sp-5) 0; color: var(--white); text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, 0.35); }
@media (min-width: 860px) { .route { border-bottom: 0; border-right: 1px solid rgba(255, 255, 255, 0.35); padding-left: var(--sp-5); } .route:first-child { padding-left: 0; } .route:last-child { border-right: 0; } }
.route__no { font-family: var(--mono); font-size: var(--fs-xs); opacity: 0.8; }
.route__title { display: block; font-weight: 900; font-stretch: 120%; text-transform: uppercase; font-size: var(--fs-md); line-height: 1.05; }
.route__text { display: block; margin-top: 2px; font-size: var(--fs-sm); opacity: 0.85; }
.route svg { width: 24px; height: 24px; transition: transform 0.15s; }
.route:hover svg { transform: translateX(4px); }
.route:hover .route__title { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 5px; }

/* ---------- Belettering-strook ---------- */
.lettering { background: var(--white); border-bottom: var(--rule); overflow: hidden; }
.lettering__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--sp-3) var(--sp-6); padding-block: var(--sp-5); }
.lettering__word { font-weight: 900; font-stretch: 125%; text-transform: uppercase; font-size: clamp(1.1rem, 0.6rem + 2vw, 2.1rem); line-height: 1; color: var(--ink); }
.lettering__sep { width: clamp(18px, 2vw, 28px); height: clamp(18px, 2vw, 28px); flex: none; color: var(--red); }

/* ---------- Spoed / nachtlog ---------- */
.nightlog__grid { display: grid; gap: var(--sp-12); }
@media (min-width: 1000px) { .nightlog__grid { grid-template-columns: 1fr 1fr; gap: var(--sp-16); align-items: start; } }
.nightlog__title { color: var(--white); font-size: var(--fs-2xl); }
.nightlog__title span { display: block; color: var(--red); }
.nightlog__phone { display: inline-block; margin: var(--sp-4) 0 var(--sp-8); font-weight: 900; font-stretch: 125%; font-size: clamp(1.8rem, 1rem + 3vw, 3.2rem); color: var(--white); text-decoration: none; border-bottom: 4px solid var(--red); line-height: 1.05; }
.log { margin: 0; padding: 0; list-style: none; font-family: var(--mono); font-size: var(--fs-sm); border-top: 1px solid var(--ink-3); }
.log li { display: grid; grid-template-columns: 4.2rem 1fr; gap: var(--sp-4); margin: 0; padding: var(--sp-4) 0; border-bottom: 1px solid var(--ink-3); }
.log time { color: var(--red); font-weight: 700; }
.log strong { display: block; font-family: var(--font); font-stretch: 108%; font-size: var(--fs-base); }
.log span { color: rgba(255, 255, 255, 0.65); }
.log__note { margin-top: var(--sp-3); font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255, 255, 255, 0.45); }

/* ---------- Split ---------- */
.split { display: grid; gap: var(--sp-12); align-items: center; }
@media (min-width: 960px) { .split { grid-template-columns: 1fr 1fr; gap: var(--sp-16); } .split--reverse > :last-child { order: -1; } }
.split .measured { aspect-ratio: 4 / 3.2; }
.split .measured--tall { aspect-ratio: 4 / 5; }
.panel { margin-top: var(--sp-8); padding: var(--sp-6) 0 0; border-top: var(--rule); }

/* ---------- Projecten ---------- */
.mosaic { display: grid; gap: var(--sp-3); grid-template-columns: repeat(2, 1fr); grid-auto-rows: 190px; }
.mosaic .werkfoto:first-child { grid-column: span 2; grid-row: span 2; }
@media (min-width: 960px) { .mosaic { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 250px; } }
.projects-grid { display: grid; gap: var(--sp-3); grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.projects-grid .werkfoto { aspect-ratio: 4 / 3.2; }

/* ---------- Werkwijze als rolmaat ---------- */
.tape {
    position: relative;
    height: 58px;
    margin-bottom: var(--sp-8);
    background:
        repeating-linear-gradient(90deg, var(--white) 0 1px, transparent 1px 1%) left bottom / 100% 12px no-repeat,
        repeating-linear-gradient(90deg, var(--white) 0 2px, transparent 2px 5%) left bottom / 100% 22px no-repeat,
        var(--red);
    border-top: 2px solid var(--ink);
    border-bottom: 2px solid var(--ink);
}
.tape__marks { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.tape__marks span { padding: 6px 8px; font-weight: 900; font-stretch: 125%; color: var(--white); font-size: 1.1rem; line-height: 1; border-left: 2px solid var(--white); }
.steps { display: grid; gap: var(--sp-8); }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1060px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { padding-right: var(--sp-4); }
.step__no { display: none; font-family: var(--mono); color: var(--red); font-weight: 700; }
.step h3 { margin-bottom: var(--sp-2); text-transform: uppercase; font-stretch: 118%; font-weight: 900; }
.step p { color: var(--muted); font-size: var(--fs-sm); }
@media (max-width: 1059px) { .tape { display: none; } .step__no { display: block; margin-bottom: var(--sp-2); } }

/* ---------- Reviews: één grote quote, de rest als lijst ---------- */
.quote-feature { display: grid; gap: var(--sp-10); margin-bottom: var(--sp-12); }
@media (min-width: 1000px) { .quote-feature { grid-template-columns: 280px 1fr; gap: var(--sp-16); } }
.score { align-self: start; padding: var(--sp-5); border: var(--rule); text-decoration: none; display: block; }
.score__big { display: block; font-weight: 900; font-stretch: 125%; text-transform: uppercase; font-size: var(--fs-xl); line-height: 1; color: var(--ink); }
.score__meta { display: flex; align-items: center; gap: var(--sp-2); margin-top: var(--sp-3); font-family: var(--mono); font-size: var(--fs-xs); color: var(--muted); }
.quote-feature blockquote { margin: 0; }
.quote-feature blockquote p { font-weight: 800; font-stretch: 108%; font-size: var(--fs-xl); line-height: 1.15; color: var(--ink); letter-spacing: -0.01em; }
.quote-feature blockquote p::before { content: "\201C"; color: var(--red); }
.quote-feature blockquote p::after { content: "\201D"; color: var(--red); }
.quote-feature cite, .quote-list cite { display: block; margin-top: var(--sp-5); font-style: normal; font-family: var(--mono); font-size: var(--fs-xs); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.quote-list { display: grid; gap: 0; border-top: var(--rule); }
@media (min-width: 760px) { .quote-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .quote-list { grid-template-columns: repeat(3, 1fr); } }
.quote-list blockquote { margin: 0; padding: var(--sp-6) var(--sp-6) var(--sp-6) 0; border-bottom: 1px solid var(--line); }
@media (min-width: 760px) { .quote-list blockquote + blockquote { padding-left: var(--sp-6); border-left: 1px solid var(--line); } }
@media (min-width: 1100px) { .quote-list blockquote:nth-child(3n + 1) { padding-left: 0; border-left: 0; } }
@media (min-width: 760px) and (max-width: 1099px) { .quote-list blockquote:nth-child(2n + 1) { padding-left: 0; border-left: 0; } }
.quote-list p { margin: var(--sp-2) 0 0; color: var(--text); }
.quote-list cite { margin-top: var(--sp-3); }

/* ---------- Werkgebied als ritbord ---------- */
.board-wrap { display: grid; gap: var(--sp-10); }
@media (min-width: 1000px) { .board-wrap { grid-template-columns: 1fr 1.3fr; gap: var(--sp-16); align-items: start; } }
.board { background: var(--ink); color: var(--white); border: 2px solid var(--ink); }
.board__head, .board a { display: grid; grid-template-columns: 1fr 6.5rem 4.5rem 24px; gap: var(--sp-4); align-items: center; padding: var(--sp-3) var(--sp-5); }
.board__head { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.5); border-bottom: 1px solid var(--ink-3); }
.board ul { margin: 0; padding: 0; list-style: none; }
.board li { margin: 0; border-bottom: 1px solid var(--ink-3); }
.board li:last-child { border-bottom: 0; }
.board a { text-decoration: none; min-height: 58px; }
.board a:hover { background: var(--ink-2); }
.board__city { font-weight: 900; font-stretch: 118%; text-transform: uppercase; font-size: var(--fs-md); line-height: 1.05; }
.board__km, .board__h { font-family: var(--mono); font-size: var(--fs-sm); color: rgba(255, 255, 255, 0.8); }
.board__h { color: #2fd36b; }
.board a svg { width: 20px; height: 20px; color: var(--red); }
.board li:first-child .board__city { color: var(--red); }
@media (max-width: 520px) { .board__head, .board a { grid-template-columns: 1fr 4.6rem 22px; } .board__h, .board__head span:nth-child(3) { display: none; } }

/* ---------- FAQ-layout ---------- */
.faq__grid { display: grid; gap: var(--sp-10); }
@media (min-width: 960px) { .faq__grid { grid-template-columns: 0.75fr 1.25fr; gap: var(--sp-16); } .faq__intro { position: sticky; top: calc(var(--header-h) + var(--sp-8)); align-self: start; } }
.faq__intro p { color: var(--muted); }

/* ---------- Kennisbank-rijen ---------- */
.kb-list { border-top: var(--rule); }
.kb-row { display: grid; grid-template-columns: 7rem 1fr 24px; gap: var(--sp-6); align-items: center; padding: var(--sp-5) 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.kb-row__meta { font-family: var(--mono); font-size: var(--fs-xs); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.kb-row__title { display: block; font-weight: 850; font-stretch: 110%; font-size: var(--fs-lg); line-height: 1.12; }
.kb-row__text { display: block; margin-top: 4px; color: var(--muted); font-size: var(--fs-sm); }
.kb-row svg { width: 24px; height: 24px; color: var(--red); transition: transform 0.15s; }
.kb-row:hover .kb-row__title { color: var(--red-dark); }
.kb-row:hover svg { transform: translateX(4px); }
@media (max-width: 640px) { .kb-row { grid-template-columns: 1fr 22px; } .kb-row__meta { grid-column: 1 / -1; } }

/* ---------- Contactband met werkbon ---------- */
.contact-band__grid { display: grid; gap: var(--sp-10); }
@media (min-width: 1000px) { .contact-band__grid { grid-template-columns: 1fr 1.1fr; gap: var(--sp-16); align-items: start; } }
.contact-band__phone { display: inline-block; margin: var(--sp-6) 0 var(--sp-6); font-weight: 900; font-stretch: 125%; font-size: clamp(1.8rem, 1rem + 3vw, 3.2rem); line-height: 1; color: var(--ink); text-decoration: none; border-bottom: 5px solid var(--red); }
.contact-band__phone:hover { color: var(--red); }
.contact-facts { margin: 0; border-top: var(--rule); }
.contact-facts div { display: grid; grid-template-columns: 7.5rem 1fr; gap: var(--sp-4); padding: var(--sp-3) 0; border-bottom: 1px solid var(--line); font-size: var(--fs-sm); }
.contact-facts dt { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.contact-facts dd { margin: 0; font-weight: 600; color: var(--ink); }
.contact-facts a { text-decoration: none; }

/* ---------- Page hero ---------- */
.page-hero { background: var(--paper); --bg: var(--paper); border-bottom: var(--rule); }
.page-hero__grid { display: grid; gap: var(--sp-10); padding-block: clamp(2.5rem, 1.5rem + 3.5vw, 4.5rem); align-items: center; }
@media (min-width: 1000px) { .page-hero__grid { grid-template-columns: 1.2fr 1fr; gap: var(--sp-16); } }
.page-hero h1 { max-width: 18ch; margin-bottom: var(--sp-5); }
.page-hero__lead { max-width: 56ch; margin-bottom: var(--sp-8); font-size: var(--fs-md); color: var(--muted); }
.page-hero__labels { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin-top: var(--sp-8); }
.page-hero .measured { aspect-ratio: 4 / 3; }
.page-hero--simple .page-hero__grid { grid-template-columns: 1fr; }
.page-hero--simple h1 { max-width: 24ch; }
.page-hero--ink { background: var(--ink); --bg: var(--ink); color: rgba(255, 255, 255, 0.78); border-bottom: 0; }
.page-hero--ink h1 { color: var(--white); }
.page-hero--ink .page-hero__lead { color: rgba(255, 255, 255, 0.75); }
.page-hero--ink .measured { color: rgba(255, 255, 255, 0.7); }
.page-hero--red { background: var(--red); --bg: var(--red); color: var(--white); border-bottom: 0; }
.page-hero--red h1 { color: var(--white); }
.page-hero--red .page-hero__lead { color: rgba(255, 255, 255, 0.9); }
.page-hero--red .measured { color: rgba(255, 255, 255, 0.85); }
.page-hero--red .breadcrumbs ol, .page-hero--red .breadcrumbs [aria-current] { color: var(--white); }

/* ---------- Inhoud met zijbalk ---------- */
.content-layout { display: grid; gap: var(--sp-12); }
@media (min-width: 1000px) { .content-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: var(--sp-16); } }
.sidebar { display: grid; gap: var(--sp-5); align-content: start; }
@media (min-width: 1000px) { .sidebar { position: sticky; top: calc(var(--header-h) + var(--sp-6)); } }
.sidebar-card { padding: var(--sp-6); border: var(--rule); background: var(--white); }
.sidebar-card h3 { margin-bottom: var(--sp-3); }
.sidebar-card p { font-size: var(--fs-sm); color: var(--muted); }
.sidebar-card .btn { width: 100%; margin-top: var(--sp-3); }
.sidebar-card--red { background: var(--red); border-color: var(--red); color: var(--white); }
.sidebar-card--red h3 { color: var(--white); }
.sidebar-card--red p { color: rgba(255, 255, 255, 0.88); }
.sidebar-card__phone { display: block; margin-top: var(--sp-3); font-weight: 900; font-stretch: 125%; font-size: var(--fs-lg); color: var(--white); text-decoration: none; line-height: 1; }
.toc { margin: 0; padding: 0; list-style: none; font-size: var(--fs-sm); counter-reset: toc; }
.toc li { margin: 0; counter-increment: toc; }
.toc a { display: grid; grid-template-columns: 2rem 1fr; padding: var(--sp-2) 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.toc a::before { content: counter(toc, decimal-leading-zero); font-family: var(--mono); color: var(--red); font-size: var(--fs-xs); padding-top: 2px; }
.toc a:hover { color: var(--red); }

/* ---------- Genummerde toepassingen ---------- */
.numbered { display: grid; gap: 0; border-top: var(--rule); counter-reset: num; }
@media (min-width: 760px) { .numbered { grid-template-columns: repeat(2, 1fr); } }
.numbered__item { padding: var(--sp-6) var(--sp-6) var(--sp-6) 0; border-bottom: 1px solid var(--line); counter-increment: num; }
@media (min-width: 760px) { .numbered__item:nth-child(even) { padding-left: var(--sp-6); border-left: 1px solid var(--line); } }
.numbered__item::before { content: counter(num, decimal-leading-zero); display: block; margin-bottom: var(--sp-3); font-family: var(--mono); font-size: var(--fs-sm); font-weight: 700; color: var(--red); }
.numbered__item h3 { margin-bottom: var(--sp-2); }
.numbered__item p { color: var(--muted); font-size: var(--fs-sm); }

.nearby { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin: 0; padding: 0; list-style: none; }
.nearby li { margin: 0; }
.nearby a { display: inline-flex; padding: var(--sp-2) var(--sp-4); border: 2px solid var(--ink); font-size: var(--fs-sm); font-weight: 700; text-decoration: none; color: var(--ink); background: var(--white); }
.nearby a:hover { background: var(--ink); color: var(--white); }
.area-tags { display: flex; flex-wrap: wrap; gap: var(--sp-2); margin: 0 0 var(--sp-6); padding: 0; list-style: none; }
.area-tags li { margin: 0; padding: 4px 10px; border: 1px solid var(--ink); font-family: var(--mono); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: 0.05em; }

/* ---------- Artikel ---------- */
.article-meta { display: flex; flex-wrap: wrap; gap: var(--sp-3) var(--sp-6); font-family: var(--mono); font-size: var(--fs-xs); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.article-figure { margin: 0 0 var(--sp-10); }
.article-figure .measured { aspect-ratio: 16 / 8; }
.answer-box { margin: 0 0 var(--sp-10); padding: var(--sp-6); background: var(--paper); border-left: 6px solid var(--red); }
.answer-box__label { display: block; margin-bottom: var(--sp-2); font-family: var(--mono); font-size: var(--fs-xs); letter-spacing: 0.14em; text-transform: uppercase; color: var(--red-dark); }
.callout { margin: var(--sp-8) 0; padding: var(--sp-5) var(--sp-6); border: var(--rule); }
.callout--glass { border-color: var(--ink); background: var(--paper); }

/* ---------- Over ons ---------- */
.values { display: grid; border-top: var(--rule); }
@media (min-width: 860px) { .values { grid-template-columns: repeat(3, 1fr); } }
.value { padding: var(--sp-6) var(--sp-6) var(--sp-6) 0; border-bottom: 1px solid var(--line); }
@media (min-width: 860px) { .value + .value { padding-left: var(--sp-6); border-left: 1px solid var(--line); } }
.value__num { display: block; margin-bottom: var(--sp-4); font-weight: 900; font-stretch: 125%; font-size: var(--fs-2xl); color: var(--red); line-height: 1; }
.value p { color: var(--muted); font-size: var(--fs-sm); }

/* ---------- Contactpagina ---------- */
.contact-grid { display: grid; gap: var(--sp-10); }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: 1fr 1.2fr; gap: var(--sp-16); } }
.map-embed { margin-top: var(--sp-8); aspect-ratio: 16 / 9; display: grid; place-items: center; padding: var(--sp-6); border: 1px dashed var(--ink); color: var(--muted); font-family: var(--mono); font-size: var(--fs-xs); text-align: center; background: var(--paper); }

/* ---------- Footer: achterkant van de bus ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, 0.7); font-size: var(--fs-sm); }
.site-footer__van { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--sp-3) var(--sp-8); padding-block: var(--sp-12) var(--sp-8); border-bottom: 1px solid var(--ink-3); }
.site-footer__van a { display: block; font-weight: 900; font-stretch: 125%; font-size: clamp(1.9rem, 1rem + 3.2vw, 3.6rem); line-height: 1; letter-spacing: -0.02em; color: var(--white); text-decoration: none; }
.site-footer__van a:hover { color: var(--red); }
.site-footer__van span { display: block; margin-top: 0; font-weight: 800; font-stretch: 125%; text-transform: uppercase; letter-spacing: 0.32em; color: var(--red); font-size: clamp(0.8rem, 0.5rem + 1vw, 1.3rem); }
.site-footer__top { display: grid; gap: var(--sp-10); padding-block: var(--sp-12); }
@media (min-width: 720px) { .site-footer__top { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1060px) { .site-footer__top { grid-template-columns: 1.3fr 1fr 1fr 1fr; } }
.site-footer__logo { display: inline-block; padding: var(--sp-3) var(--sp-4); background: var(--white); }
.site-footer__logo img { width: 180px; }
.site-footer__about { margin: var(--sp-6) 0; max-width: 36ch; }
.site-footer h2 { margin-bottom: var(--sp-5); font-family: var(--mono); font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--white); }
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li + li { margin-top: var(--sp-2); }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.site-footer address { line-height: 1.8; }
.site-footer__links { margin-top: var(--sp-6) !important; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--sp-4); padding-block: var(--sp-6); border-top: 1px solid var(--ink-3); font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.04em; }
.site-footer__bottom ul { display: flex; flex-wrap: wrap; gap: var(--sp-6); }
.site-footer__bottom li + li { margin: 0; }

/* ---------- Mobiele actiebalk ---------- */
.action-bar { display: none; }
@media (max-width: 860px) {
    .action-bar { position: fixed; z-index: 90; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1.4fr 1fr; border-top: var(--rule); padding-bottom: env(safe-area-inset-bottom); background: var(--white); }
    .action-bar .btn { min-height: 58px; }
    body { padding-bottom: 60px; }
}

/* ---------- Correcties ronde 2 ---------- */
.steps { list-style: none; padding: 0; margin: 0; }
.steps li + li { margin-top: 0; }
.score__big { font-size: var(--fs-lg); }
.quote-feature blockquote p { font-size: var(--fs-lg); max-width: 34ch; }
@media (min-width: 1000px) { .quote-feature blockquote p { font-size: var(--fs-xl); } }
.hero .measured { color: rgba(255, 255, 255, 0.9); }
.sidebar { min-width: 0; }
.sidebar .glaslabel { display: none; }
.sidebar .spec-list--compact .spec-row { grid-template-columns: 1fr 24px; }
.contact-band__grid > *, .contact-grid > *, .board-wrap > *, .nightlog__grid > *, .hero__grid > * { min-width: 0; }
.rating { flex-wrap: wrap; }
@media (max-width: 480px) {
    .contact-band__phone, .nightlog__phone { font-size: 1.75rem; }
    .hero__phone { font-size: 2rem; }
    .contact-facts div { grid-template-columns: 5.5rem 1fr; }
}
.form__row > *, .field, .field select, .content-layout > *, .werkbon { min-width: 0; }
.werkbon__head { flex-wrap: wrap; }
.form > * { min-width: 0; }
.form__row { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .form__row--2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }

/* ---------- Hero: foto over de hele sectie ---------- */
.hero { position: relative; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, var(--hero-bg) 0%, var(--hero-bg) 34%, color-mix(in srgb, var(--hero-bg) 82%, transparent) 52%, color-mix(in srgb, var(--hero-bg) 25%, transparent) 78%, color-mix(in srgb, var(--hero-bg) 10%, transparent) 100%);
}
.hero__grid { grid-template-columns: minmax(0, 1fr); min-height: min(68vh, 640px); align-items: end; }
@media (min-width: 1000px) { .hero__grid { grid-template-columns: minmax(0, 0.62fr); } }
.hero__caption { position: absolute; right: var(--gutter); top: var(--sp-6); margin: 0; padding: 4px 8px; background: var(--white); color: var(--ink); font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; }
.hero__inner { position: relative; }
.routes { background: color-mix(in srgb, var(--hero-bg) 92%, transparent); }
@media (max-width: 999px) {
    .hero::before { background: linear-gradient(180deg, color-mix(in srgb, var(--hero-bg) 55%, transparent) 0%, var(--hero-bg) 42%, var(--hero-bg) 100%); }
    .hero__bg { height: 46%; bottom: auto; }
    .hero__grid { min-height: 0; padding-top: 38vw; }
    .hero__caption { display: none; }
}
.hero h1 { font-size: clamp(2.1rem, 1.3rem + 3vw, 4rem); }
@media (min-width: 1000px) { .hero__grid { min-height: min(56vh, 520px); align-items: center; } }

/* ---------- Page hero met foto over de hele sectie ---------- */
.page-hero--photo { --ph-bg: var(--ink); position: relative; isolation: isolate; overflow: hidden; background: var(--ph-bg); color: var(--white); border-bottom: 0; }
.page-hero--photo.page-hero--red { --ph-bg: var(--red); }
.page-hero__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.page-hero--photo::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, var(--ph-bg) 0%, var(--ph-bg) 32%, color-mix(in srgb, var(--ph-bg) 82%, transparent) 52%, color-mix(in srgb, var(--ph-bg) 30%, transparent) 80%, color-mix(in srgb, var(--ph-bg) 12%, transparent) 100%);
}
.page-hero--photo h1 { color: var(--white); }
.page-hero--photo .page-hero__lead { color: rgba(255, 255, 255, 0.88); }
.page-hero--photo .breadcrumbs ol { color: rgba(255, 255, 255, 0.75); }
.page-hero--photo .breadcrumbs [aria-current] { color: var(--white); }
.page-hero--photo .page-hero__grid { grid-template-columns: minmax(0, 1fr); min-height: min(56vh, 520px); align-items: center; }
@media (min-width: 1000px) { .page-hero--photo .page-hero__grid { grid-template-columns: minmax(0, 0.62fr); } }
@media (max-width: 999px) {
    .page-hero--photo::before { background: linear-gradient(180deg, color-mix(in srgb, var(--ph-bg) 50%, transparent) 0%, var(--ph-bg) 44%, var(--ph-bg) 100%); }
    .page-hero__bg { height: 46%; bottom: auto; }
    .page-hero--photo .page-hero__grid { min-height: 0; padding-top: 34vw; }
}

/* ---------- Mobiel, ronde 3 ---------- */
@media (max-width: 760px) {
    /* Belettering als 2x2 raster, geen losse scheidingstekens */
    .lettering__inner { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-3) var(--sp-4); }
    .lettering__sep { display: none; }
    .lettering__word { display: flex; align-items: center; gap: var(--sp-2); font-size: 1.15rem; }
    .lettering__word::before { content: ""; width: 12px; height: 12px; flex: none; background: var(--red); }

    /* Dienstenlijst compacter */
    .spec-row { grid-template-columns: 64px 1fr 22px; gap: var(--sp-2) var(--sp-4); padding: var(--sp-3) 0; }
    .spec-row__img { width: 64px; height: 52px; grid-row: span 2; }
    .spec-row__name { font-size: 1.05rem; }
    .spec-row .glaslabel { font-size: 0.64rem; }
    .spec-row .glaslabel span { padding: 4px 6px; }
    .spec-list--compact .spec-row { grid-template-columns: 1fr 22px; }

    /* Werkfoto's als veegbare strook */
    .mosaic { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 82%; grid-auto-rows: 260px; overflow-x: auto; scroll-snap-type: x mandatory; margin-right: calc(var(--gutter) * -1); padding-right: var(--gutter); scrollbar-width: none; }
    .mosaic::-webkit-scrollbar { display: none; }
    .mosaic .werkfoto, .mosaic .werkfoto:first-child { grid-column: auto; grid-row: auto; scroll-snap-align: start; }
    .werkfoto figcaption { padding: var(--sp-2) var(--sp-3); }

    /* Maatlijnen iets krapper */
    .measured { margin: 28px 26px 0 0; }
}
@media (max-width: 760px) {
    .page-hero .btn-row .btn { width: 100%; }
    .sidebar .score { display: none; }
    .table-scroll .spec-table { min-width: 560px; }
    .nearby a { font-size: var(--fs-xs); padding: 6px 10px; }
}
@media (max-width: 760px) {
    .projects-grid { grid-template-columns: 1fr 1fr; gap: var(--sp-2); }
    .projects-grid .werkfoto { aspect-ratio: 1 / 1.05; }
    .projects-grid .werkfoto figcaption { position: absolute; left: 0; right: 0; max-width: none; padding: 6px 8px; border-top-width: 3px; }
    .projects-grid .werkfoto__cat { display: none; }
    .projects-grid .werkfoto__title { font-size: 0.78rem; }
    .filter-pills { flex-wrap: nowrap; overflow-x: auto; width: auto; max-width: none; margin-right: calc(var(--gutter) * -1); scrollbar-width: none; }
    .filter-pills::-webkit-scrollbar { display: none; }
    .filter-pills button { flex: none; }
    .sidebar .sidebar-card:has(.toc) { display: none; }
    .choice span { padding: 0 var(--sp-3); font-size: var(--fs-xs); }
}
.hero__status { align-items: center; }
.status__dot { align-self: center; }
