:root {
    --bg: #f5efe6;
    --bg-soft: #fbf7ef;
    --sand: #e9ded1;
    --charcoal: #252220;
    --charcoal-2: #171615;
    --ink: #252321;
    --muted: #766b60;
    --bronze: #b77949;
    --bronze-dark: #8d5632;
    --bronze-light: #d6a06f;
    --line: rgba(183, 121, 73, .28);
    --white: #fffaf2;
    --shadow: 0 16px 42px rgba(29, 24, 20, .12);
    --shadow-dark: 0 18px 44px rgba(0,0,0,.24);
    --radius: 8px;
    --radius-sm: 5px;
    --header-h: 74px;
    --container: 1180px;
    font-size: 16px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--charcoal-2);
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at 10% 0%, rgba(183,121,73,.10), transparent 34rem),
        radial-gradient(circle at 90% 100%, rgba(183,121,73,.10), transparent 28rem),
        #151413;
    pointer-events: none;
    z-index: -2;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button, input, select, textarea { font: inherit; }
h1, h2, h3, p, figure { margin-top: 0; }
.skip-link, .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}
.skip-link:focus {
    width: auto;
    height: auto;
    clip: auto;
    z-index: 9999;
    left: 1rem;
    top: 1rem;
    background: var(--charcoal);
    color: #fff;
    padding: .75rem 1rem;
    border-radius: var(--radius);
}

.page {
    background: var(--bg);
    overflow: clip;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 90;
    width: 100%;
    min-height: var(--header-h);
    background: rgba(249, 244, 236, .94);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 8px 24px rgba(29, 24, 20, .08);
}
.site-header__inner {
    width: min(100%, var(--container));
    min-height: var(--header-h);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: .62rem 1rem .58rem;
}
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; }
.brand img { width: 11.7rem; height: auto; max-height: 3.65rem; object-fit: contain; }
.desktop-nav, .header-actions { display: none; }

.menu-button {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(37, 34, 32, .14);
    border-radius: var(--radius);
    background: rgba(255,255,255,.64);
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    color: var(--charcoal);
    cursor: pointer;
}
.menu-button span:not(.sr-only) {
    width: 19px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform .2s ease, opacity .2s ease;
}
body.menu-open .menu-button span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.menu-open .menu-button span:nth-child(2) { opacity: 0; }
body.menu-open .menu-button span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    z-index: 80;
    display: none;
    background: rgba(31, 29, 27, .98);
    color: #fff;
    border-bottom: 1px solid rgba(183,121,73,.38);
    box-shadow: 0 28px 60px rgba(0,0,0,.38);
}
body.menu-open .mobile-menu { display: block; }
.mobile-menu__inner { width: min(100%, 540px); margin: 0 auto; padding: 1.25rem; }
.mobile-menu a:not(.button) {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .94rem 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
    font-weight: 720;
}
.mobile-menu a:not(.button)::after { content: "→"; color: var(--bronze-light); }
.mobile-menu__cta { display: grid; gap: .78rem; padding-top: 1.2rem; }

.hero {
    position: relative;
    min-height: calc(100svh - var(--header-h));
    display: flex;
    align-items: flex-end;
    isolation: isolate;
    background: #111;
}
.hero picture, .hero__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}
/*
 * Keep the decorative hero layers below the real content. The <picture>
 * element itself covers the complete hero and used to sit in front of the
 * text/buttons in some browsers, even though its image had a negative
 * z-index. That invisible layer intercepted clicks and text selection.
 */
.hero picture {
    z-index: 0;
    pointer-events: none;
}
.hero__image {
    object-fit: cover;
    object-position: 58% 45%;
    z-index: auto;
    pointer-events: none;
}
.hero__shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(180deg, rgba(0,0,0,.24) 0%, rgba(0,0,0,.18) 34%, rgba(0,0,0,.76) 84%, rgba(0,0,0,.90) 100%),
        linear-gradient(90deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,.24) 66%, rgba(0,0,0,.36) 100%);
}
.hero__content {
    position: relative;
    z-index: 2;
    width: min(100%, var(--container));
    margin: 0 auto;
    padding: 6rem 1.15rem 2.8rem;
    color: #fff;
}
.eyebrow {
    margin: 0 0 .65rem;
    color: var(--bronze-light);
    font-size: .74rem;
    font-weight: 820;
    letter-spacing: .16em;
    text-transform: uppercase;
}
h1 {
    max-width: 13ch;
    margin-bottom: 1rem;
    font-size: clamp(2.08rem, 10.2vw, 4rem);
    line-height: .96;
    letter-spacing: -.06em;
    font-weight: 880;
}
h1 span, h2 span, .model-name span { color: var(--bronze-light); }
.hero__text {
    max-width: 31ch;
    margin-bottom: 1.35rem;
    color: rgba(255,255,255,.88);
    font-size: 1rem;
    line-height: 1.55;
}

.button-row,
.hero__actions,
.inline-actions,
.form-button-row,
.section-button-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: .72rem;
}
.button {
    display: inline-flex;
    min-height: 50px;
    min-width: min(100%, 220px);
    align-items: center;
    justify-content: center;
    gap: .45rem;
    border-radius: var(--radius);
    padding: .84rem 1.1rem;
    text-align: center;
    font-weight: 830;
    letter-spacing: -.01em;
    border: 1px solid transparent;
    box-shadow: 0 12px 28px rgba(0,0,0,.12);
}
.button--primary { background: linear-gradient(135deg, var(--bronze-light), var(--bronze-dark)); color: #fff; }
.button--ghost { background: rgba(17,16,15,.38); color: #fff; border-color: rgba(214,160,111,.68); box-shadow: none; }
.button--ghost-light { background: rgba(255,255,255,.78); color: var(--charcoal); border-color: rgba(183,121,73,.38); box-shadow: none; }
.text-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .4rem;
    color: var(--bronze-dark);
    font-weight: 850;
    font-size: 1.03rem;
}
.text-link::after { content: "→"; }

.quick-contact {
    background: linear-gradient(90deg, #181716, #2a2522, #181716);
    color: #fff;
    border-top: 1px solid rgba(214,160,111,.28);
    border-bottom: 1px solid rgba(214,160,111,.20);
    padding: .5rem 1rem;
}
.quick-contact__inner {
    width: min(100%, var(--container));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: .65rem;
}
.quick-contact a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 54px;
    padding: .86rem .95rem;
    border: 1px solid rgba(214,160,111,.54);
    border-radius: var(--radius);
    background: rgba(255,255,255,.035);
}
.quick-contact span { color: rgba(255,255,255,.72); font-size: .88rem; }
.quick-contact strong { color: #fff; font-size: .96rem; text-align: right; }

.section {
    padding: 3.2rem max(1rem, env(safe-area-inset-left)) 3.2rem max(1rem, env(safe-area-inset-right));
}
.section + .section { border-top: 1px solid rgba(37,34,32,.08); }
.section--dark {
    background:
        radial-gradient(circle at 10% 0%, rgba(183,121,73,.18), transparent 20rem),
        linear-gradient(180deg, #262321, #171615);
    color: #fff;
}
.section--sand { background: #eee4d8; }

.intro-section {
    display: grid;
    gap: 1rem;
}
.card-soft {
    background: rgba(255,255,255,.64);
    border: 1px solid rgba(183,121,73,.22);
    border-radius: var(--radius);
    padding: 1.1rem;
    box-shadow: var(--shadow);
}
.intro-card h2, .section-heading h2, .showroom__content h2, .form-intro h2, .bottom-cta h2 {
    margin-bottom: .78rem;
    color: var(--charcoal);
    font-size: clamp(1.6rem, 6.4vw, 2.45rem);
    line-height: 1.04;
    letter-spacing: -.045em;
    font-weight: 880;
}
.intro-card h2 span { display: block; color: var(--bronze-dark); }
.intro-card p, .section-heading p, .showroom__content p, .form-intro p, .bottom-cta p { color: var(--muted); }
.image-card {
    margin: 0;
    overflow: hidden;
    border-radius: var(--radius);
    border: 1px solid rgba(183,121,73,.20);
    box-shadow: var(--shadow);
    background: #fff;
}
.image-card img { width: 100%; height: 100%; object-fit: cover; }
.image-card--split { min-height: 235px; }
.equal-tile { min-height: 300px; }

.section-heading {
    margin-bottom: 1.55rem;
    text-align: center;
}
.section-heading h2 { margin-bottom: .58rem; }
.section-heading--dark h2 { color: #fff; }
.section-heading--dark p:not(.eyebrow) { color: rgba(255,255,255,.72); }

.model-list--exact {
    display: grid;
    gap: 1rem;
}
.model-card--exact {
    display: block;
    overflow: hidden;
    border-radius: var(--radius-sm);
    background: #f2eadf;
    box-shadow: 0 10px 26px rgba(0,0,0,.18);
}
.model-card--exact > img {
    display: block;
    width: 100%;
    aspect-ratio: 1500 / 712;
    height: auto;
    object-fit: contain;
    object-position: center center;
    border: 0;
}
.section-button-row { margin-top: 1.5rem; }

.code-system-visual {
    width: 100%;
}
.code-system-visual__desktop {
    display: none;
}
.code-system-visual__mobile {
    display: grid;
    gap: .9rem;
}
.code-system-visual img {
    width: 100%;
    border-radius: var(--radius-sm);
    box-shadow: 0 12px 30px rgba(30, 23, 17, .16);
}
.code-system-visual__mobile img {
    background: transparent;
}

.photo-stack { display: grid; gap: .95rem; }
.photo-feature {
    position: relative;
    margin: 0;
    overflow: hidden;
    border-radius: var(--radius);
    background: #111;
    box-shadow: var(--shadow);
    min-height: 270px;
}
.photo-feature img {
    width: 100%;
    min-height: 270px;
    object-fit: cover;
}
.photo-feature figcaption {
    position: absolute;
    left: .75rem;
    right: .75rem;
    bottom: .75rem;
    padding: .72rem .82rem;
    border: 1px solid rgba(214,160,111,.42);
    border-radius: var(--radius);
    background: rgba(20,18,16,.66);
    backdrop-filter: blur(12px);
    color: #fff;
    font-weight: 760;
    font-size: .88rem;
}

.benefit-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: .82rem;
}
.benefit-card {
    min-height: 165px;
    padding: 1rem;
    border-radius: var(--radius);
    border: 1px solid rgba(183,121,73,.24);
    background: rgba(255,255,255,.56);
    box-shadow: 0 12px 32px rgba(32,24,16,.08);
}
.benefit-card__mark {
    display: inline-block;
    width: 32px;
    height: 32px;
    margin-bottom: .7rem;
    border-radius: 50%;
    border: 2px solid var(--bronze);
    position: relative;
}
.benefit-card__mark::after { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: var(--bronze); }
.benefit-card h3 { margin-bottom: .35rem; font-size: 1rem; line-height: 1.15; }
.benefit-card p { margin: 0; color: var(--muted); font-size: .9rem; }

.showroom {
    display: grid;
    gap: 1rem;
    background: var(--charcoal);
    color: #fff;
}
.showroom__content h2 { color: #fff; }
.showroom__content p { color: rgba(255,255,255,.76); }
.showroom .card-soft { background: rgba(255,255,255,.06); border-color: rgba(214,160,111,.30); box-shadow: none; }

.step-list { display: grid; gap: .85rem; }
.step-card {
    display: grid;
    grid-template-columns: 50px 1fr;
    gap: .82rem;
    align-items: start;
    min-height: 145px;
    padding: .95rem;
    border-radius: var(--radius);
    background: rgba(255,255,255,.68);
    border: 1px solid rgba(183,121,73,.24);
}
.step-card > span {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius);
    background: var(--charcoal);
    color: var(--bronze-light);
    font-weight: 900;
}
.step-card h3 { margin: 0 0 .25rem; font-size: 1rem; }
.step-card p { margin: 0; color: var(--muted); font-size: .9rem; }

.form-section {
    background: linear-gradient(180deg, rgba(37,34,32,.94), rgba(23,22,21,.98)), url('../img/content/spijlen-closeup.webp') center/cover;
    color: #fff;
}
.form-intro {
    text-align: center;
}
.form-intro h2 { color: #fff; }
.form-intro p { color: rgba(255,255,255,.74); }
.form-message {
    padding: .9rem 1rem;
    border-radius: var(--radius);
    margin: 1rem 0;
    font-weight: 760;
}
.form-message--ok { background: rgba(95, 160, 110, .16); border: 1px solid rgba(143, 198, 153, .5); }
.form-message--error { background: rgba(180, 72, 55, .18); border: 1px solid rgba(230, 130, 110, .5); }
.form-message p { margin: 0; }
.form-message p + p { margin-top: .35rem; }
.lead-form {
    display: grid;
    gap: .82rem;
    padding: 1rem;
    background: rgba(255,255,255,.075);
    border: 1px solid rgba(214,160,111,.30);
    border-radius: var(--radius);
    backdrop-filter: blur(8px);
}
.lead-form label {
    display: grid;
    gap: .34rem;
    color: rgba(255,255,255,.84);
    font-size: .88rem;
    font-weight: 760;
}
.lead-form input, .lead-form select, .lead-form textarea {
    width: 100%;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: var(--radius);
    background: rgba(255,255,255,.92);
    color: var(--charcoal);
    min-height: 50px;
    padding: .82rem .9rem;
    outline: none;
}
.lead-form textarea { resize: vertical; min-height: 112px; }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus {
    border-color: var(--bronze-light);
    box-shadow: 0 0 0 3px rgba(214,160,111,.18);
}
.hp-field { position: absolute; left: -9999px; }

.bottom-cta {
    position: relative;
    margin: 0;
    padding: 1rem;
    min-height: 460px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    isolation: isolate;
    background: #111;
    color: #fff;
}
.bottom-cta img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}
.bottom-cta::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.88));
    z-index: -1;
}
.bottom-cta > div {
    width: 100%;
    padding: 1rem;
    border-radius: var(--radius);
    border: 1px solid rgba(214,160,111,.36);
    background: rgba(16,15,14,.58);
    backdrop-filter: blur(8px);
}
.bottom-cta h2 { color: #fff; }
.bottom-cta p { color: rgba(255,255,255,.76); }


.floating-cta {
    position: fixed;
    left: max(.72rem, env(safe-area-inset-left));
    right: max(.72rem, env(safe-area-inset-right));
    bottom: max(.72rem, env(safe-area-inset-bottom));
    z-index: 110;
    display: grid;
    grid-template-columns: 1.25fr 1fr 1fr;
    gap: .45rem;
    padding: .45rem;
    border: 1px solid rgba(214,160,111,.42);
    border-radius: 10px;
    background: rgba(31, 29, 27, .94);
    box-shadow: 0 18px 44px rgba(0,0,0,.32);
    backdrop-filter: blur(14px);
}
.floating-cta a {
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    text-align: center;
    color: #fff;
    font-weight: 850;
    font-size: .92rem;
}
.floating-cta a:first-child {
    background: linear-gradient(135deg, var(--bronze-light), var(--bronze-dark));
}
.floating-cta a:not(:first-child) {
    background: rgba(255,255,255,.08);
}

.footer {
    padding: 2rem 1.05rem calc(2rem + 82px + env(safe-area-inset-bottom));
    background: #171615;
    color: rgba(255,255,255,.76);
}
.footer__brand img {
    width: 11.5rem;
    filter: brightness(2.6) saturate(.3);
    opacity: .94;
    margin-bottom: .55rem;
}
.footer__brand p {
    margin: 0 0 1.2rem;
    color: var(--bronze-light);
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: .7rem;
}
.footer__links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .75rem;
    margin-bottom: 1.5rem;
}
.footer__links a { color: #fff; font-weight: 780; }
.footer address { font-style: normal; color: rgba(255,255,255,.68); font-size: .9rem; }
.footer address a { color: #fff; }

@media (min-width: 640px) {
    .quick-contact__inner { grid-template-columns: repeat(3, 1fr); }
    .section { padding-left: 1.5rem; padding-right: 1.5rem; }
    .photo-stack { grid-template-columns: repeat(3, 1fr); }
    .photo-feature, .photo-feature img { min-height: 280px; }
    .benefit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 768px) {
    :root { --header-h: 84px; }
    .floating-cta { display: none; }
    .footer { padding-bottom: 2rem; }
    .hero { min-height: 720px; }
    .hero__image { object-position: center center; }
    .hero__shade { background: linear-gradient(90deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.52) 34%, rgba(0,0,0,.16) 72%, rgba(0,0,0,.36) 100%); }
    .hero__content { padding: 8rem 2rem 6rem; }
    h1 { font-size: clamp(3.2rem, 6.2vw, 5.6rem); max-width: 11.8ch; }
    .hero__text { max-width: 38ch; font-size: 1.12rem; }
    .button { min-width: 230px; }
    .intro-section, .showroom { grid-template-columns: 1fr 1fr; align-items: stretch; }
    .intro-section .image-card { order: 2; }
    .intro-section .intro-card { order: 1; }
    .model-list--exact { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.15rem; }
    .step-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
    .lead-form { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 1.25rem; }
    .lead-form label:has(textarea), .lead-form .form-button-row, .lead-form .hp-field { grid-column: 1 / -1; }
}

@media (min-width: 980px) {
    .site-header__inner { padding-left: 2rem; padding-right: 2rem; }
    .desktop-nav { display: flex; align-items: center; justify-content: center; gap: 1.2rem; font-size: .87rem; font-weight: 780; color: rgba(37,34,32,.76); }
    .desktop-nav a { position: relative; padding: .45rem 0; }
    .desktop-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: .1rem; height: 1px; transform: scaleX(0); transform-origin: left; background: var(--bronze); transition: transform .2s ease; }
    .desktop-nav a:hover::after { transform: scaleX(1); }
    .header-actions { display: flex; align-items: center; gap: .8rem; }
    .header-link { color: var(--bronze-dark); font-weight: 820; }
    .header-button { min-height: 42px; display: inline-flex; align-items: center; padding: .55rem .95rem; border-radius: var(--radius); color: #fff; font-weight: 850; background: linear-gradient(135deg, var(--bronze-light), var(--bronze-dark)); }
    .menu-button { display: none; }
    .mobile-menu { display: none !important; }

    .section { padding: 5.4rem 2rem; }
    .section > .section-heading,
    .section > .model-list,
    .section > .section-button-row,
    .section > .code-system-visual,
    .section > .photo-stack,
    .section > .benefit-grid,
    .section > .step-list,
    .section > .form-intro,
    .section > .lead-form,
    .section > .form-message {
        width: min(100%, var(--container));
        margin-left: auto;
        margin-right: auto;
    }
    .intro-section {
        width: min(100%, var(--container));
        margin-left: auto;
        margin-right: auto;
        padding-top: 5.4rem;
        padding-bottom: 5.4rem;
    }
    .section-heading { max-width: 760px; text-align: center; }
    .section-heading h2 { font-size: clamp(2.4rem, 4vw, 4.2rem); }

    .quick-contact {
        padding: .6rem 2rem;
        margin: 0;
        width: 100%;
    }
    .quick-contact__inner {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: .9rem;
    }
    .quick-contact a {
        min-height: 58px;
        padding: .72rem 1.1rem;
    }

    .intro-section .card-soft {
        padding: 2.2rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .equal-tile { min-height: 460px; }
    .image-card--split { min-height: 460px; }

    .model-list--exact { gap: 1.4rem; }
    .model-card--exact {
        border-radius: 6px;
        transition: transform .2s ease, box-shadow .2s ease;
    }
    .model-card--exact:hover {
        transform: translateY(-4px);
        box-shadow: 0 18px 44px rgba(0,0,0,.25);
    }
    .section--dark .button--primary {
        max-width: 360px;
    }

    .code-system-visual__desktop {
        display: block;
    }
    .code-system-visual__mobile {
        display: none;
    }
    .code-system-visual__desktop img {
        border-radius: 6px;
        box-shadow: var(--shadow-dark);
    }

    .photo-stack { gap: 1rem; }
    .photo-feature, .photo-feature img { min-height: 420px; }

    .benefit-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .benefit-card {
        min-height: 195px;
        padding: 1.25rem;
    }

    .showroom {
        grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
        align-items: stretch;
        padding-left: max(2rem, calc((100vw - var(--container)) / 2));
        padding-right: max(2rem, calc((100vw - var(--container)) / 2));
    }
    .showroom__content {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .step-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .step-card { grid-template-columns: 1fr; min-height: 210px; }

    .form-intro { max-width: 740px; }
    .lead-form { max-width: 900px; }

    .bottom-cta {
        min-height: 620px;
        padding: 2rem;
    }
    .bottom-cta > div {
        width: min(100%, 620px);
        margin-left: max(0rem, calc((100vw - var(--container)) / 2));
        padding: 2rem;
    }
    .bottom-cta h2 { font-size: clamp(2.4rem, 4vw, 4.1rem); }

    .footer {
        padding: 3.2rem 2rem;
        display: grid;
        grid-template-columns: 1.1fr 1fr 1fr;
        gap: 2rem;
        align-items: start;
    }
    .footer__links { grid-template-columns: 1fr 1fr; margin-bottom: 0; }
}

@media (min-width: 1280px) {
    .hero { min-height: 780px; }
    .hero__content { padding-left: 2rem; padding-right: 2rem; }
}




/* v1.2 refinement: original CODE-systeem kleuren, compact contactbar, mobile floating CTA */
.quick-contact {
    padding-top: .5rem;
    padding-bottom: .5rem;
}
.quick-contact a {
    min-height: 46px;
    padding-top: .55rem;
    padding-bottom: .55rem;
}

.floating-cta {
    left: max(.72rem, env(safe-area-inset-left));
    right: max(.72rem, env(safe-area-inset-right));
    bottom: max(.72rem, env(safe-area-inset-bottom));
    display: grid;
    grid-template-columns: 1.25fr 1fr 1fr;
    gap: .4rem;
    padding: .38rem;
    border-color: rgba(183, 121, 73, .62);
    border-radius: var(--radius);
    background: rgba(37, 34, 32, .96);
    box-shadow: 0 18px 46px rgba(0,0,0,.30);
}
.floating-cta a {
    min-height: 50px;
    border-radius: var(--radius-sm);
    font-weight: 880;
    font-size: .93rem;
}

@media (max-width: 767px) {
    body { padding-bottom: 5.1rem; }
    .quick-contact {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

@media (min-width: 768px) {
    body { padding-bottom: 0; }
    .floating-cta { display: none; }
}

@media (min-width: 980px) {
    .quick-contact {
        padding-top: .6rem;
        padding-bottom: .6rem;
    }
    .quick-contact a {
        min-height: 50px;
        padding-top: .58rem;
        padding-bottom: .58rem;
    }
}

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

/* v1.3: vijf dakmodellen, data-editor, koperkleurige CODE-systeembeelden */
.content-text p { margin-top: 0; }
.content-text p:last-child { margin-bottom: 0; }
.model-list--count-5 .model-card--exact:last-child { justify-self: stretch; }
.code-system-visual__desktop img,
.code-system-visual__mobile img {
    background: transparent;
    object-fit: contain;
}

@media (min-width: 980px) {
    .model-list--count-5 .model-card--exact:last-child {
        grid-column: 1 / -1;
        width: min(100%, calc((var(--container) - 1.4rem) / 2));
        justify-self: center;
    }
    .code-system-visual__desktop img {
        width: 100%;
        max-height: 560px;
        object-fit: contain;
        box-shadow: 0 14px 42px rgba(28, 22, 18, .14);
    }
}

/* v1.4: video, gallery, upload field, reCAPTCHA and editor link */
.video-card {
    margin: 0;
    overflow: hidden;
    border-radius: var(--radius);
    border: 1px solid rgba(214,160,111,.42);
    background: #111;
    box-shadow: var(--shadow-dark);
    position: relative;
}
.video-card::before {
    content: "";
    display: block;
    padding-top: 56.25%;
}
.video-card iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.showroom .video-card.equal-tile { min-height: auto; }

.gallery-section { background: var(--bg-soft); }
.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: .92rem;
}
.gallery-card {
    margin: 0;
    overflow: hidden;
    border-radius: var(--radius);
    border: 1px solid rgba(183,121,73,.22);
    background: #171615;
    box-shadow: var(--shadow);
    position: relative;
}
.gallery-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    height: auto;
    object-fit: cover;
    transition: transform .28s ease;
}
.gallery-card:hover img { transform: scale(1.025); }
.gallery-card figcaption {
    position: absolute;
    left: .65rem;
    right: .65rem;
    bottom: .65rem;
    padding: .58rem .7rem;
    border-radius: var(--radius-sm);
    color: #fff;
    background: rgba(23,22,21,.70);
    border: 1px solid rgba(214,160,111,.36);
    backdrop-filter: blur(10px);
    font-size: .84rem;
    font-weight: 760;
}
.lead-form input[type="file"] {
    padding: .68rem .8rem;
    cursor: pointer;
}
.lead-form small {
    color: rgba(255,255,255,.62);
    font-weight: 520;
    line-height: 1.35;
}
.footer__admin {
    display: inline-block;
    margin-top: 1rem;
    color: rgba(255,255,255,.36) !important;
    font-size: .78rem;
    font-weight: 620 !important;
}
.footer__admin:hover { color: var(--bronze-light) !important; }

@media (min-width: 640px) {
    .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 768px) {
    .showroom .video-card.equal-tile { min-height: 460px; }
    .showroom .video-card::before { display: none; }
    .showroom .video-card iframe { position: static; display: block; width: 100%; height: 100%; min-height: 460px; }
    .lead-form label:has(input[type="file"]) { grid-column: 1 / -1; }
}

@media (min-width: 980px) {
    .section > .gallery-grid {
        width: min(100%, var(--container));
        margin-left: auto;
        margin-right: auto;
    }
    .gallery-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
    .gallery-card img { aspect-ratio: 1 / 1; }
    .showroom .video-card.equal-tile { min-height: 560px; }
    .showroom .video-card iframe { min-height: 560px; }
    .footer__admin { grid-column: 1 / -1; width: max-content; }
}

/* v1.5: database forms, improved gallery, large video and page templates */
.grecaptcha-badge { visibility: hidden; }

.recaptcha-note {
    grid-column: 1 / -1;
    margin: -.2rem 0 .2rem;
    color: rgba(255,255,255,.58);
    font-size: .78rem;
    line-height: 1.4;
}

.header-button { white-space: nowrap; }

.quick-contact {
    padding-top: .25rem !important;
    padding-bottom: .25rem !important;
}
@media (min-width: 980px) {
    .quick-contact {
        padding-top: .35rem !important;
        padding-bottom: .35rem !important;
    }
}

.code-system-visual img {
    border-radius: 6px;
}
.code-system-visual__desktop img,
.code-system-visual__mobile img {
    width: 100%;
    box-shadow: 0 14px 38px rgba(29, 23, 18, .14);
}

.showroom {
    background: var(--charcoal);
}
.showroom .video-card {
    align-self: stretch;
}
@media (min-width: 980px) {
    .showroom {
        grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) !important;
        gap: 1.65rem;
    }
    .showroom .video-card.equal-tile,
    .showroom .video-card iframe {
        min-height: 580px !important;
    }
    .showroom__content {
        min-height: 580px;
    }
}

.gallery-grid {
    gap: .7rem;
}
.gallery-card {
    display: block;
    text-decoration: none;
    cursor: zoom-in;
}
.gallery-card img {
    display: block;
    aspect-ratio: 4 / 3;
}
.gallery-card span {
    position: absolute;
    left: .48rem;
    right: .48rem;
    bottom: .48rem;
    padding: .45rem .55rem;
    border-radius: 5px;
    color: #fff;
    background: rgba(23,22,21,.70);
    border: 1px solid rgba(214,160,111,.34);
    backdrop-filter: blur(10px);
    font-size: .78rem;
    font-weight: 760;
}
@media (min-width: 980px) {
    .gallery-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
        gap: .9rem !important;
    }
    .gallery-card img {
        aspect-ratio: 4 / 3 !important;
    }
}

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    padding: 1rem;
    background: rgba(10,9,8,.86);
}
.lightbox[hidden] { display: none; }
.lightbox img {
    max-width: min(96vw, 1280px);
    max-height: 82vh;
    object-fit: contain;
    border-radius: 6px;
    box-shadow: 0 20px 80px rgba(0,0,0,.55);
}
.lightbox p {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    text-align: center;
    color: #fff;
    margin: 0;
    font-weight: 780;
}
.lightbox__close {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 2;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(214,160,111,.56);
    border-radius: 50%;
    background: rgba(20,18,16,.88);
    color: #fff;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
}
.lightbox-open { overflow: hidden; }

.page-hero {
    position: relative;
    min-height: 52vh;
    display: grid;
    align-items: end;
    padding: 7rem 1rem 2rem;
    color: #fff;
    background: #181615;
    overflow: hidden;
}
.page-hero img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .58;
}
.page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.22), rgba(0,0,0,.78));
}
.page-hero__content {
    position: relative;
    z-index: 1;
    width: min(100%, var(--container));
    margin: 0 auto;
}
.page-hero h1 {
    max-width: 12ch;
    color: #fff;
    font-size: clamp(2.2rem, 10vw, 5rem);
}
.page-content {
    padding: 3rem 1rem;
}
.page-content__inner {
    width: min(100%, var(--container));
    margin: 0 auto;
    display: grid;
    gap: 1.2rem;
}
.text-panel {
    background: rgba(255,255,255,.70);
    border: 1px solid rgba(183,121,73,.22);
    border-radius: var(--radius);
    padding: 1.2rem;
    box-shadow: var(--shadow);
}
.text-panel h2, .text-panel h3 {
    color: var(--charcoal);
}
.text-panel p, .text-panel li {
    color: var(--muted);
}
.page-two-column {
    display: grid;
    gap: 1rem;
}
.contact-actions {
    display: grid;
    gap: .7rem;
}
.contact-actions a {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: .9rem 1rem;
    border: 1px solid rgba(183,121,73,.38);
    border-radius: var(--radius);
    background: #262321;
    color: #fff;
    font-weight: 820;
}
.calendly-wrap {
    border: 1px solid rgba(183,121,73,.26);
    border-radius: var(--radius);
    overflow: hidden;
    background: #fff;
    box-shadow: var(--shadow);
}
@media (min-width: 980px) {
    .page-two-column {
        grid-template-columns: 1fr 1fr;
        align-items: stretch;
    }
    .page-two-column > * {
        min-height: 460px;
    }
    .text-panel { padding: 2rem; }
}


/* v1.6: homepage-only refinement — larger film, single mobile CODE set, 3-column gallery, hidden badge */
body.home-page {
    overflow-x: clip;
}

/* Invisible reCAPTCHA must never create a visible/off-canvas badge. Branding remains in the form note. */
.grecaptcha-badge,
body > .grecaptcha-badge {
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    position: fixed !important;
    left: -10000px !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    width: 1px !important;
    min-width: 1px !important;
    max-width: 1px !important;
    height: 1px !important;
    min-height: 1px !important;
    max-height: 1px !important;
    overflow: hidden !important;
    box-shadow: none !important;
}

/* On phone/tablet show only the two supplied 1–3 and 4–6 panels. */
@media (max-width: 979px) {
    .home-page .code-system-visual__desktop {
        display: none !important;
    }
    .home-page .code-system-visual__mobile {
        display: grid !important;
    }
}

@media (min-width: 980px) {
    /* The film is the main element: roughly 75% film / 25% explanation. */
    .home-page .showroom {
        grid-template-columns: minmax(0, 3fr) minmax(280px, 1fr) !important;
        gap: 1.35rem !important;
    }
    .home-page .showroom .video-card.equal-tile,
    .home-page .showroom .video-card iframe {
        min-height: 620px !important;
    }
    .home-page .showroom__content {
        min-height: 620px !important;
        padding: 1.45rem !important;
    }
    .home-page .showroom__content h2 {
        font-size: clamp(2rem, 2.8vw, 3.15rem);
    }
    .home-page .showroom__content .inline-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .home-page .showroom__content .button {
        width: 100%;
        min-width: 0;
    }

    /* Twelve images: four clean rows of three on laptop and desktop. */
    .home-page .gallery-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 1rem !important;
    }

    /* Desktop keeps only the single supplied six-panel overview. */
    .home-page .code-system-visual__desktop {
        display: block !important;
    }
    .home-page .code-system-visual__mobile {
        display: none !important;
    }
}

/* v2.0 - afgeronde pagina-voor-pagina wijzigingen */

/* Homepage: hetzelfde dakmodellen-submenu als op de binnenpagina's. */
@media (min-width: 980px) {
    .desktop-nav {
        display: flex;
        align-items: center;
        gap: 1.35rem;
        margin-left: auto;
    }
    .desktop-nav > a,
    .desktop-nav__parent {
        position: relative;
        display: inline-flex;
        align-items: center;
        min-height: 52px;
        gap: .28rem;
        color: #514b45;
        font-size: .94rem;
        font-weight: 780;
        white-space: nowrap;
    }
    .desktop-nav__group { position: relative; }
    .desktop-nav__submenu {
        position: absolute;
        top: calc(100% - 2px);
        left: 50%;
        z-index: 120;
        width: 240px;
        transform: translate(-50%, 8px);
        padding: .55rem;
        border: 1px solid rgba(183,121,73,.22);
        border-radius: 8px;
        background: rgba(31,29,27,.99);
        color: #fff;
        opacity: 0;
        visibility: hidden;
        transition: opacity .16s ease, transform .16s ease, visibility .16s;
        box-shadow: 0 20px 50px rgba(0,0,0,.30);
    }
    .desktop-nav__submenu a {
        display: block;
        padding: .72rem .75rem;
        border-radius: 5px;
        color: #fff;
        font-weight: 720;
        white-space: nowrap;
    }
    .desktop-nav__submenu a::after { display: none !important; }
    .desktop-nav__submenu a:hover,
    .desktop-nav__submenu a:focus-visible { background: rgba(183,121,73,.18); }
    .desktop-nav__group:hover .desktop-nav__submenu,
    .desktop-nav__group:focus-within .desktop-nav__submenu {
        opacity: 1;
        visibility: visible;
        transform: translate(-50%, 0);
    }
}

.mobile-menu__models {
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.mobile-menu__models summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 52px;
    padding: .94rem 0;
    color: #fff;
    font-weight: 720;
    cursor: pointer;
    list-style: none;
}
.mobile-menu__models summary::-webkit-details-marker { display: none; }
.mobile-menu__models summary::after {
    content: "+";
    color: var(--bronze-light);
    font-size: 1.25rem;
    line-height: 1;
}
.mobile-menu__models[open] summary::after { content: "−"; }
.mobile-menu__submenu {
    display: grid;
    padding: 0 0 .6rem 1rem;
}
.mobile-menu__submenu a:not(.button) {
    padding: .72rem 0;
    border-bottom: 0;
    color: rgba(255,255,255,.82);
    font-size: .94rem;
}

/* De vijf volledige dakmodelkaarten zijn klikbaar. */
.model-card--exact {
    cursor: pointer;
    text-decoration: none;
}
.model-card--exact:focus-visible {
    outline: 3px solid var(--bronze-light);
    outline-offset: 4px;
}

/* Zes gelijke stappen: één kolom op telefoon, twee op tablet, drie op desktop. */
.process .section-heading p:not(.eyebrow) {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}
.home-page .step-list { grid-auto-rows: 1fr; }
.home-page .step-card { height: 100%; min-height: 190px; }
@media (min-width: 640px) {
    .home-page .step-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 980px) {
    .home-page .step-list { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
    .home-page .step-card { min-height: 230px; }
}

/* Op het compacte offerteformulier staan herkomst en upload naast elkaar. */
@media (min-width: 768px) {
    .lead-form .form-field--how-found,
    .lead-form .form-field--uploads { grid-column: auto !important; }
}

/* Het uploadveld staat op brede schermen naast de vraag hoe men ons vond. */
@media (min-width: 768px) {
    .home-page .lead-form .form-field--how-found,
    .home-page .lead-form .form-field--uploads {
        grid-column: auto !important;
    }
}

/* v2.1 - meer uitleg, opties en veelgestelde vragen op de homepage */
.home-explainer {
    background: linear-gradient(180deg, #f8f2e9 0%, #eee3d7 100%);
}
.home-explainer__grid,
.home-options__grid {
    display: grid;
    gap: 1rem;
    width: min(100%, var(--container));
    margin: 1.75rem auto 0;
}
.home-explainer__card,
.home-options__card {
    height: 100%;
    padding: 1.35rem;
    border: 1px solid rgba(183,121,73,.25);
    border-radius: var(--radius);
    background: rgba(255,250,242,.82);
    box-shadow: var(--shadow);
}
.home-explainer__card > span {
    display: inline-grid;
    place-items: center;
    min-width: 48px;
    height: 40px;
    margin-bottom: 1rem;
    border-radius: var(--radius-sm);
    background: var(--charcoal);
    color: var(--bronze-light);
    font-weight: 900;
}
.home-explainer__card h3,
.home-options__card h3 {
    margin-bottom: .55rem;
    color: var(--charcoal);
    font-size: 1.25rem;
}
.home-explainer__card p,
.home-options__card p {
    margin-bottom: 0;
    color: var(--muted);
}
.home-explainer__note,
.section-note {
    width: min(100%, 820px);
    margin: 1.35rem auto 0;
    padding: 1rem 1.1rem;
    border-left: 3px solid var(--bronze);
    background: rgba(255,250,242,.74);
    color: var(--muted);
    text-align: left;
}
.section-note--dark {
    border: 1px solid rgba(214,160,111,.35);
    border-left: 3px solid var(--bronze-light);
    background: rgba(255,255,255,.07);
    color: rgba(255,255,255,.82);
}
.home-options {
    background: #fbf7ef;
}
.home-options__card {
    box-shadow: none;
    background: #fffaf2;
}
.home-faq {
    background: #f5efe6;
}
.home-faq__list {
    width: min(100%, 900px);
    margin: 1.8rem auto 0;
    display: grid;
    gap: .72rem;
}
.home-faq__item {
    border: 1px solid rgba(183,121,73,.28);
    border-radius: var(--radius);
    background: #fffaf2;
    box-shadow: 0 10px 24px rgba(29,24,20,.07);
    overflow: hidden;
}
.home-faq__item summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 58px;
    padding: 1rem 1.15rem;
    color: var(--charcoal);
    font-weight: 850;
    cursor: pointer;
    list-style: none;
}
.home-faq__item summary::-webkit-details-marker { display: none; }
.home-faq__item summary::after {
    content: "+";
    flex: 0 0 auto;
    color: var(--bronze-dark);
    font-size: 1.45rem;
    line-height: 1;
}
.home-faq__item[open] summary::after { content: "−"; }
.home-faq__item > div {
    padding: 0 1.15rem 1.05rem;
}
.home-faq__item p {
    max-width: 76ch;
    margin: 0;
    color: var(--muted);
}

@media (min-width: 680px) {
    .home-explainer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .home-options__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 980px) {
    .home-explainer__card,
    .home-options__card { padding: 1.65rem; }
    .home-options__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* v2.1 - duidelijke toetsenbordbediening */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
    outline: 3px solid var(--bronze-light);
    outline-offset: 3px;
}

/* v2.2 - duidelijke keuze voor een showroomafspraak in het offerteformulier */
.home-page .form-checkbox-card {
    grid-column: 1 / -1;
    display: grid !important;
    grid-template-columns: auto 1fr;
    align-items: start;
    gap: .7rem;
    padding: 1rem;
    border: 1px solid rgba(214,160,111,.34);
    border-radius: 8px;
    background: rgba(214,160,111,.08);
}
.home-page .form-checkbox-card input[type="checkbox"] {
    width: 1.35rem !important;
    height: 1.35rem !important;
    min-height: 0 !important;
    margin-top: .16rem;
    accent-color: var(--bronze-dark);
}
.home-page .form-checkbox-card span { display: block; font-weight: 800; }
.home-page .form-checkbox-card small { grid-column: 2; display: block; margin-top: -.3rem; color: var(--muted); font-weight: 560; }


/* v2.2 - extra zakelijk submenu zonder overvolle header op kleine laptops. */
@media (min-width: 980px) and (max-width: 1239px) {
    .desktop-nav,
    .header-actions { display: none !important; }
    .menu-button { display: inline-flex !important; }
    .mobile-menu { display: none !important; }
    body.menu-open .mobile-menu { display: block !important; }
}
@media (min-width: 1240px) {
    .site-header__inner { width: min(100%, 1420px); padding-left: 1.25rem; padding-right: 1.25rem; }
    .desktop-nav { gap: .95rem; font-size: .84rem; }
    .header-actions { gap: .65rem; }
    .header-button { padding-left: .82rem; padding-right: .82rem; }
}

/* =========================================================
   Cookievoorkeuren en geblokkeerde externe media - v2.6
   ========================================================= */
.cookie-banner[hidden], .cookie-modal[hidden] { display: none !important; }
.cookie-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 5000;
    padding: .85rem;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .18s ease, transform .18s ease;
    pointer-events: none;
}
.cookie-banner.is-visible { opacity: 1; transform: translateY(0); pointer-events: auto; }
.cookie-banner__inner {
    width: min(1180px, 100%);
    margin: 0 auto;
    padding: 1.1rem;
    border: 1px solid rgba(214,160,111,.55);
    border-radius: 10px;
    background: rgba(31,29,27,.985);
    color: #fff;
    box-shadow: 0 18px 60px rgba(0,0,0,.42);
}
.cookie-banner__copy h2 { margin: 0 0 .45rem; color: #fff; font-size: clamp(1.35rem, 3vw, 2rem); }
.cookie-banner__copy p { margin: 0; color: rgba(255,255,255,.80); line-height: 1.55; }
.cookie-banner__copy .eyebrow { margin-bottom: .35rem; color: var(--bronze-light); }
.cookie-banner__links { margin-top: .55rem !important; font-size: .92rem; }
.cookie-banner__links a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.cookie-banner__actions { display: grid; gap: .6rem; margin-top: 1rem; }
.cookie-button {
    min-height: 48px;
    padding: .75rem 1rem;
    border: 1px solid rgba(214,160,111,.7);
    border-radius: 7px;
    background: transparent;
    color: #fff;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    text-align: center;
}
.cookie-button:hover, .cookie-button:focus-visible { background: rgba(214,160,111,.14); }
.cookie-button--primary { background: var(--bronze); color: #1f1d1b; }
.cookie-button--primary:hover, .cookie-button--primary:focus-visible { background: var(--bronze-light); }
.cookie-modal {
    position: fixed;
    inset: 0;
    z-index: 5100;
    display: grid;
    place-items: center;
    padding: 1rem;
}
.cookie-modal__backdrop { position: absolute; inset: 0; background: rgba(15,14,13,.72); backdrop-filter: blur(3px); }
.cookie-modal__panel {
    position: relative;
    z-index: 1;
    width: min(680px, 100%);
    max-height: min(88vh, 760px);
    overflow: auto;
    padding: clamp(1.2rem, 3vw, 2rem);
    border: 1px solid rgba(183,121,73,.35);
    border-radius: 10px;
    background: #fffaf2;
    color: var(--charcoal);
    box-shadow: 0 30px 80px rgba(0,0,0,.35);
    outline: none;
}
.cookie-modal__panel h2 { margin: 0 0 .55rem; }
.cookie-modal__panel > p:not(.eyebrow) { color: var(--muted); }
.cookie-modal__close {
    position: absolute;
    top: .65rem;
    right: .65rem;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(183,121,73,.3);
    border-radius: 6px;
    background: transparent;
    color: var(--charcoal);
    font-size: 1.7rem;
    cursor: pointer;
}
.cookie-choice {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1rem;
    align-items: center;
    margin-top: .8rem;
    padding: 1rem;
    border: 1px solid rgba(183,121,73,.25);
    border-radius: 8px;
    background: #fff;
}
.cookie-choice strong { display: block; margin-bottom: .25rem; }
.cookie-choice p { margin: 0; color: var(--muted); font-size: .94rem; }
.cookie-choice--fixed > span { color: var(--bronze-dark); font-weight: 800; white-space: nowrap; }
.cookie-choice input { position: absolute; opacity: 0; pointer-events: none; }
.cookie-switch {
    position: relative;
    width: 54px;
    height: 30px;
    border-radius: 999px;
    background: #b9b3ad;
    transition: background .16s ease;
}
.cookie-switch::after {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,.24);
    transition: transform .16s ease;
}
.cookie-choice input:checked + .cookie-switch { background: var(--bronze); }
.cookie-choice input:checked + .cookie-switch::after { transform: translateX(24px); }
.cookie-choice input:focus-visible + .cookie-switch { outline: 3px solid rgba(183,121,73,.35); outline-offset: 3px; }
.cookie-modal__actions { display: grid; gap: .65rem; margin-top: 1rem; }
.cookie-modal__actions .cookie-button:not(.cookie-button--primary) { color: var(--charcoal); }
.cookie-modal-open { overflow: hidden; }
.cookie-preferences-button {
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}
/* Meer lucht tussen de maatmelding en de dakmodelkaarten. */
.section-note--dark { margin-bottom: clamp(1.75rem, 3vw, 2.75rem); }

@media (min-width: 720px) {
    .cookie-banner__inner { display: grid; grid-template-columns: minmax(0,1fr) minmax(450px,.78fr); gap: 1.25rem; align-items: end; }
    .cookie-banner__actions { grid-template-columns: repeat(3,minmax(0,1fr)); margin-top: 0; }
    .cookie-modal__actions { grid-template-columns: 1fr 1fr; }
}

/* Langere, duidelijkere namen van de dakmodellen in het submenu. */
@media (min-width: 980px) {
    .desktop-nav__submenu { width: min(390px, 90vw); }
    .desktop-nav__submenu a { white-space: normal; line-height: 1.3; }
}

/* v2.6: centrale cookiekeuze en extra ruimte bij dakmodellen */
.cookie-button--reject { background: rgba(255,255,255,.07); }
.cookie-banner__actions .cookie-button { width: 100%; }
.cookie-modal__actions { grid-template-columns: 1fr; }
.section-note--dark { margin-bottom: clamp(2rem, 4vw, 3.25rem) !important; }
.section-note--dark + .model-list,
.section-note--dark + .model-list--exact { margin-top: 0 !important; }
@media (min-width: 720px) {
    .cookie-modal__actions { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

/* v2.6.1: drie toestemmingscategorieën en compacte, goed leesbare bediening. */
.cookie-modal__panel { max-height: calc(100vh - 2rem); overflow-y: auto; overscroll-behavior: contain; }
.cookie-modal__actions { grid-template-columns: 1fr !important; }
.cookie-banner__actions .cookie-button,
.cookie-modal__actions .cookie-button { min-height: 48px; }
@media (min-width: 720px) {
    .cookie-modal__actions { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}

/* Core v2.7: formulieren, performance en bedankpagina */
.grecaptcha-badge,.recaptcha-runtime-holder{visibility:hidden!important;position:fixed!important;right:-10000px!important;bottom:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important}
img{max-width:100%;height:auto}

/* Core v2.7.2: telefoonpopup op desktop; mobiele tel:-links blijven direct bellen. */
.phone-dialog[hidden] { display: none !important; }
.phone-dialog {
    position: fixed;
    inset: 0;
    z-index: 6200;
    display: grid;
    place-items: center;
    padding: 1rem;
}
.phone-dialog__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 14, 13, .72);
    backdrop-filter: blur(3px);
}
.phone-dialog__panel {
    position: relative;
    z-index: 1;
    width: min(520px, 100%);
    padding: clamp(1.4rem, 4vw, 2.25rem);
    border: 1px solid rgba(214, 160, 111, .7);
    border-radius: 10px;
    background: #fffaf2;
    color: var(--charcoal);
    box-shadow: 0 28px 80px rgba(0, 0, 0, .38);
    outline: none;
    text-align: center;
}
.phone-dialog__panel .eyebrow { margin-bottom: .45rem; }
.phone-dialog__panel h2 { margin: 0; font-size: clamp(1.8rem, 5vw, 2.8rem); }
.phone-dialog__intro { margin: .8rem 0 .25rem; color: var(--muted); }
.phone-dialog__number {
    margin: .15rem 0 1.3rem;
    color: var(--bronze-dark);
    font-size: clamp(2rem, 7vw, 3.2rem);
    font-weight: 900;
    letter-spacing: .02em;
    user-select: all;
}
.phone-dialog__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .7rem;
}
.phone-dialog__actions .button { width: 100%; justify-content: center; }
.phone-dialog__close {
    position: absolute;
    top: .55rem;
    right: .55rem;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(183, 121, 73, .3);
    border-radius: 6px;
    background: transparent;
    color: var(--charcoal);
    font-size: 1.7rem;
    line-height: 1;
    cursor: pointer;
}
.phone-dialog__close:hover,
.phone-dialog__close:focus-visible { background: rgba(183, 121, 73, .12); }
.phone-dialog__status { min-height: 1.5em; margin: .8rem 0 0; color: var(--bronze-dark); font-weight: 700; }
.phone-dialog-open { overflow: hidden; }
@media (max-width: 899px), (hover: none), (pointer: coarse) {
    .phone-dialog { display: none !important; }
}
@media (max-width: 520px) {
    .phone-dialog__actions { grid-template-columns: 1fr; }
}

/* Core v2.7.3: drie foto's op homepage-intro en Pergomove.
   Telefoon: alle drie onder elkaar. Desktop: één foto zichtbaar als diavoorstelling. */
.image-showcase {
    position: relative;
    min-width: 0;
}
.image-showcase__viewport {
    display: grid;
    gap: .85rem;
}
.image-showcase__slide {
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(183,121,73,.22);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
}
.image-showcase__slide img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: center;
}
.image-showcase__controls { display: none; }
.image-showcase--intro {
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
}
.model-story-image--showcase {
    position: relative;
    top: auto;
    overflow: visible;
}
.model-story-image--showcase .image-showcase__slide img {
    min-height: 0;
    max-height: none;
}

@media (min-width: 768px) {
    .image-showcase {
        overflow: hidden;
        border: 1px solid rgba(183,121,73,.20);
        border-radius: var(--radius);
        background: #fff;
        box-shadow: var(--shadow);
    }
    .image-showcase__viewport {
        position: absolute;
        inset: 0;
        display: block;
    }
    .image-showcase__slide {
        position: absolute;
        inset: 0;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity .42s ease, visibility .42s ease;
    }
    .image-showcase__slide.is-active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
    .image-showcase__slide img,
    .model-story-image--showcase .image-showcase__slide img {
        width: 100%;
        height: 100%;
        min-height: 100%;
        max-height: none;
        aspect-ratio: auto;
        object-fit: cover;
    }
    .image-showcase__controls {
        position: absolute;
        z-index: 4;
        left: 50%;
        bottom: .85rem;
        transform: translateX(-50%);
        display: flex;
        align-items: center;
        gap: .55rem;
        padding: .38rem .5rem;
        border: 1px solid rgba(214,160,111,.42);
        border-radius: 999px;
        background: rgba(25,23,21,.78);
        box-shadow: 0 8px 24px rgba(0,0,0,.25);
        backdrop-filter: blur(8px);
    }
    .image-showcase__arrow,
    .image-showcase__dot {
        margin: 0;
        border: 0;
        color: #fff;
        cursor: pointer;
    }
    .image-showcase__arrow {
        display: grid;
        place-items: center;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background: rgba(255,255,255,.10);
        font-size: 1.55rem;
        line-height: 1;
    }
    .image-showcase__arrow:hover,
    .image-showcase__arrow:focus-visible { background: var(--bronze-dark); }
    .image-showcase__dots { display: flex; align-items: center; gap: .38rem; }
    .image-showcase__dot {
        width: 9px;
        height: 9px;
        padding: 0;
        border-radius: 50%;
        background: rgba(255,255,255,.42);
    }
    .image-showcase__dot.is-active { background: var(--bronze-light); transform: scale(1.22); }
    .image-showcase__arrow:focus-visible,
    .image-showcase__dot:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
    .model-story-image--showcase {
        position: sticky;
        top: calc(var(--inner-header-h) + 1rem);
        min-height: 590px;
        max-height: 720px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .image-showcase__slide { transition: none !important; }
}

/* Core v2.7.4: Pergomove-diavoorstelling in het introblok naast "In het kort". */
.model-intro-card--showcase {
    min-width: 0;
    padding: 0;
    overflow: visible;
    background: transparent;
}
@media (min-width: 768px) {
    .model-intro-card--showcase {
        min-height: 100%;
        overflow: hidden;
    }
}
.model-intro-card--showcase .image-showcase__slide img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: center;
}
@media (min-width: 768px) {
    .model-intro-card--showcase .image-showcase__slide img {
        height: 100%;
        aspect-ratio: auto;
    }
}


/* Core v2.7.5: Pergomove productkaart als eerste van vier slides. */
.model-intro-card--showcase .image-showcase__slide--card {
    background: #f6eee4;
}
.model-intro-card--showcase .image-showcase__slide--card img {
    object-fit: contain;
    object-position: center;
    background: #f6eee4;
}

/* Core v2.7.6: Pergomove-kaart zonder lege stroken.
   Telefoon toont de kaart in de natuurlijke beeldverhouding.
   Desktop gebruikt dezelfde verhouding voor de volledige diavoorstelling. */
@media (max-width: 767px) {
    .image-showcase--model .image-showcase__slide--card img,
    .image-showcase--pergomove .image-showcase__slide--card img {
        width: 100%;
        height: auto !important;
        aspect-ratio: auto !important;
        object-fit: contain !important;
        background: transparent !important;
    }
}


/* Core v2.7.7: desktop rollback van v2.7.6.
   Mobiel behoudt natuurlijke verhouding zonder lichte stroken.
   Desktop gebruikt opnieuw de oorspronkelijke grote slideshowhoogte. */


/* Core v2.8.0: dezelfde vierbeeld-carrousel op alle vijf dakmodelpagina's. */
.image-showcase--model .image-showcase__slide--card {
    background: #f6eee4;
}
.image-showcase--model .image-showcase__slide--card img {
    object-fit: contain;
    object-position: center;
    background: #f6eee4;
}
