/* ==========================================================================
   Deuropkleur.nl — design system
   Palet uit het logo en de oude huisstijl: crème en zand (#f6f0dd, #ddd49b),
   antraciet letters (#414341), de groene streep (#33b534) en het groen van
   de site (#37aa6f), met de kleurvlakken blauwgrijs (#9fb5c6), mauve
   (#85798a) en steen (#cecac6) als motief. Serif-koppen zoals het logo.
   ========================================================================== */

@font-face {
    font-family: "Fraunces";
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url("../fonts/fraunces-latin.woff2") format("woff2");
}

@font-face {
    font-family: "Inter";
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url("../fonts/inter-latin.woff2") format("woff2");
}

:root {
    /* Merkkleuren */
    --color-cream: #f6f0dd;
    --color-sand: #ddd49b;
    --color-sand-light: #eeeacd;
    --color-charcoal: #414341;
    --color-logo-green: #33b534;
    --color-green: #37aa6f;
    --color-green-deep: #1f6f45;
    --color-blue: #9fb5c6;
    --color-mauve: #85798a;
    --color-stone: #cecac6;
    --color-periwinkle: #8291c7;
    --color-khaki: #8a866f;
    --color-paint-red: #e43c0b;
    /* Alias voor admin.css (gedeeld met elkodesign.nl) */
    --color-spray-deep: #b3320b;

    /* Semantische tokens — licht */
    --bg: #faf7ee;
    --bg-tint: #f3eedd;
    --bg-sand: #ece5bf;
    --surface: #ffffff;
    --surface-2: #f4efe1;
    --border: #e2dac4;
    --border-strong: #cbc2a8;
    --text: #2b2d2b;
    --text-muted: #5a5c57;
    --heading: #1f2421;
    --link: #1b6a41;
    --link-hover: #0f4d2c;
    --eyebrow: #6b5f70;
    --primary: var(--color-green-deep);
    --primary-hover: #175a37;
    --on-primary: #ffffff;
    --accent: var(--color-logo-green);
    --accent-hover: #2ea12f;
    --on-accent: #0f2410;
    --focus: #1b6a41;
    --success-bg: #e5f4ea;
    --success-text: #155232;
    --error: #b3261e;
    --error-bg: #fbe9e7;
    --door-default: var(--color-green);
    --logo-text: var(--color-charcoal);
    --logo-blue: var(--color-blue);
    --logo-mauve: var(--color-mauve);
    --logo-stone: var(--color-stone);
    --header-bg: rgb(255 255 255 / 0.94);
    --shadow-sm: 0 1px 2px rgb(43 45 43 / 0.06), 0 2px 8px rgb(43 45 43 / 0.05);
    --shadow-md: 0 4px 12px rgb(43 45 43 / 0.07), 0 16px 40px rgb(43 45 43 / 0.08);
    --shadow-lg: 0 24px 60px rgb(31 36 33 / 0.18);

    /* Schaal */
    --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --font-display: "Fraunces", Georgia, "Times New Roman", serif;
    --step--1: clamp(0.84rem, 0.82rem + 0.1vw, 0.9rem);
    --step-0: clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);
    --step-1: clamp(1.15rem, 1.08rem + 0.35vw, 1.35rem);
    --step-2: clamp(1.35rem, 1.2rem + 0.75vw, 1.8rem);
    --step-3: clamp(1.7rem, 1.4rem + 1.4vw, 2.5rem);
    --step-4: clamp(2.2rem, 1.6rem + 2.8vw, 3.9rem);
    --step-5: clamp(2.5rem, 1.6rem + 4.2vw, 4.6rem);

    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 24px;
    --gutter: clamp(16px, 4vw, 32px);
    --container: 1200px;
    --header-h: 76px;
    --section-y: clamp(3.5rem, 2.5rem + 5vw, 6.5rem);
    --ease: cubic-bezier(0.2, 0.7, 0.2, 1);

    color-scheme: light;
}

:root[data-theme="dark"] {
    --bg: #161917;
    --bg-tint: #1c201d;
    --bg-sand: #24231b;
    --surface: #202421;
    --surface-2: #282d29;
    --border: #353b36;
    --border-strong: #4a514b;
    --text: #ebe7da;
    --text-muted: #b6b3a7;
    --heading: #fbf8ee;
    --link: #7fd6a3;
    --link-hover: #b3ecc9;
    --eyebrow: #c3b6c6;
    --primary: #4cc47f;
    --primary-hover: #6ad397;
    --on-primary: #0c1d13;
    --accent: #45c946;
    --accent-hover: #63d663;
    --on-accent: #0c1d0c;
    --focus: #7fd6a3;
    --success-bg: #183324;
    --success-text: #a5e6bf;
    --error: #ff8a80;
    --error-bg: #3a1d1a;
    --logo-text: #f1ede0;
    --logo-blue: #5d7486;
    --logo-mauve: #6a5f6f;
    --logo-stone: #8a8681;
    --header-bg: rgb(22 25 23 / 0.84);
    --shadow-sm: 0 1px 2px rgb(0 0 0 / 0.3);
    --shadow-md: 0 8px 24px rgb(0 0 0 / 0.35);
    --shadow-lg: 0 24px 60px rgb(0 0 0 / 0.5);

    color-scheme: dark;
}

/* ------------------------------------------------------------------ Reset */

*, *::before, *::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-padding-top: calc(var(--header-h) + 16px);
}

@media (prefers-reduced-motion: no-preference) {
    html { scroll-behavior: smooth; }
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: var(--font-body);
    font-size: var(--step-0);
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

body[data-menu-open] { overflow: hidden; }

main { flex: 1; display: block; }
main:focus { outline: none; }

img, svg, video { display: block; max-width: 100%; height: auto; }
img { border-style: none; }

h1, h2, h3, h4 {
    margin: 0 0 0.5em;
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.15;
    color: var(--heading);
    letter-spacing: -0.015em;
    font-variation-settings: "SOFT" 50, "WONK" 0;
    text-wrap: balance;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

a {
    color: var(--link);
    text-decoration-thickness: 1px;
    text-underline-offset: 0.18em;
    transition: color 0.15s;
}
a:hover { color: var(--link-hover); }

:focus-visible {
    outline: 3px solid var(--focus);
    outline-offset: 3px;
    border-radius: 4px;
}

::selection { background: var(--color-sand); color: #1f2421; }

button { font: inherit; color: inherit; }

address { font-style: normal; }

code {
    font-size: 0.9em;
    padding: 0.1em 0.35em;
    border-radius: 4px;
    background: var(--surface-2);
}

[hidden] { display: none !important; }

.visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0);
    white-space: nowrap; border: 0;
}

.skip-link {
    position: absolute;
    top: 8px; left: 8px;
    z-index: 200;
    padding: 0.6em 1em;
    border-radius: var(--radius-sm);
    background: var(--primary);
    color: var(--on-primary);
    font-weight: 600;
    transform: translateY(-160%);
    transition: transform 0.2s var(--ease);
}
.skip-link:focus { transform: none; color: var(--on-primary); }

.icon {
    width: 1.15em; height: 1.15em;
    flex: none;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ----------------------------------------------------------------- Layout */

.container {
    width: 100%;
    max-width: calc(var(--container) + 2 * var(--gutter));
    margin-inline: auto;
    padding-inline: var(--gutter);
}
.container--narrow { max-width: calc(820px + 2 * var(--gutter)); }

.section { padding-block: var(--section-y); position: relative; }
.section--flush-top { padding-top: 0; }
.section--tint { background: var(--bg-tint); }
.section--sand { background: var(--bg-sand); }

.section__head { max-width: 720px; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3rem); }
.section__title { font-size: var(--step-3); }
.section__lead { font-size: var(--step-1); color: var(--text-muted); max-width: 64ch; }
.section__more {
    display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem;
    margin-top: 2rem;
}

.eyebrow {
    display: inline-flex; align-items: center; gap: 0.6em;
    margin: 0 0 0.9rem;
    font-size: var(--step--1);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--eyebrow);
}
.eyebrow::before {
    content: "";
    width: 1.8em; height: 4px;
    border-radius: 2px;
    background: var(--accent);
}

.split {
    display: grid;
    gap: clamp(2rem, 1rem + 4vw, 4.5rem);
    align-items: center;
}
@media (min-width: 900px) {
    .split { grid-template-columns: 1fr 1fr; }
    .split--reverse .split__media { order: 2; }
    .split__media--small { justify-self: center; }
}
.split__media { display: grid; gap: 1.25rem; justify-items: center; }

.prose { max-width: 68ch; }
.prose--narrow { margin-inline: auto; max-width: 760px; }
.prose h2 { font-size: var(--step-2); margin-top: 2.2em; }
.prose h3 { font-size: var(--step-1); margin-top: 1.8em; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: 0.4em; }
.prose li::marker { color: var(--primary); }
.prose--lead-first > p:first-child { font-size: var(--step-1); color: var(--heading); }

.text-link {
    display: inline-flex; align-items: center; gap: 0.4em;
    font-weight: 600;
    text-decoration: none;
}
.text-link .icon { transition: transform 0.2s var(--ease); }
.text-link:hover .icon { transform: translateX(3px); }

/* ---------------------------------------------------------------- Buttons */

.button {
    --btn-bg: var(--surface);
    --btn-fg: var(--heading);
    --btn-border: var(--border-strong);
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
    min-height: 46px;
    padding: 0.65em 1.3em;
    border: 1.5px solid var(--btn-border);
    border-radius: 999px;
    background: var(--btn-bg);
    color: var(--btn-fg);
    font-weight: 600;
    font-size: var(--step-0);
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.18s, color 0.18s, border-color 0.18s, transform 0.18s var(--ease), box-shadow 0.18s;
    -webkit-tap-highlight-color: transparent;
}
.button:hover { color: var(--btn-fg); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.button:active { transform: translateY(0); }
.button:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.button--primary { --btn-bg: var(--primary); --btn-fg: var(--on-primary); --btn-border: var(--primary); }
.button--primary:hover { --btn-bg: var(--primary-hover); --btn-border: var(--primary-hover); }
.button--accent { --btn-bg: var(--accent); --btn-fg: var(--on-accent); --btn-border: var(--accent); }
.button--accent:hover { --btn-bg: var(--accent-hover); --btn-border: var(--accent-hover); }
.button--secondary { --btn-bg: transparent; }
.button--secondary:hover { --btn-bg: var(--surface); --btn-border: var(--primary); }
.button--ghost { --btn-bg: transparent; --btn-border: transparent; }
.button--ghost:hover { --btn-bg: var(--surface-2); box-shadow: none; }
.button--ghost-light { --btn-bg: transparent; --btn-fg: #fbf8ee; --btn-border: rgb(255 255 255 / 0.4); }
.button--ghost-light:hover { --btn-bg: rgb(255 255 255 / 0.1); --btn-border: #fbf8ee; }
.button--lg { min-height: 54px; padding: 0.8em 1.6em; font-size: var(--step-1); }
.button--sm { min-height: 38px; padding: 0.45em 1em; font-size: var(--step--1); }
.button--block { width: 100%; }

.button.is-loading { position: relative; color: transparent !important; }
.button.is-loading::after {
    content: "";
    position: absolute; inset: 0; margin: auto;
    width: 1.2em; height: 1.2em;
    border: 2px solid var(--on-primary);
    border-right-color: transparent;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.icon-button {
    display: inline-grid; place-items: center;
    width: 44px; height: 44px;
    border: 1.5px solid transparent;
    border-radius: 50%;
    background: transparent;
    color: var(--heading);
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}
.icon-button:hover { background: var(--surface-2); color: var(--heading); }

.link-button {
    padding: 0; border: 0; background: none;
    color: var(--link);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.18em;
    cursor: pointer;
}
.link-button:hover { color: var(--link-hover); }

.badge {
    display: inline-block;
    padding: 0.1em 0.6em;
    border-radius: 999px;
    background: var(--surface-2);
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 600;
    vertical-align: middle;
}
.badge--ok { background: var(--success-bg); color: var(--success-text); }

/* ------------------------------------------------------------------- Logo */

/* Origineel logo (PNG, gemaakt voor een witte achtergrond: de randen zijn wit).
   De header is daarom wit; elders (footer, dark mode) staat het op een wit plaatje. */
.logo { width: 210px; height: auto; }
.brand--footer .logo, :root[data-theme="dark"] .logo { padding: 5px 8px; border-radius: 6px; background: #fff; box-sizing: content-box; }

.brand { display: inline-flex; align-items: center; text-decoration: none; flex: none; }

/* ----------------------------------------------------------------- Notice */

.site-notice {
    background: var(--color-sand);
    color: #1f2421;
    font-size: var(--step--1);
    font-weight: 600;
}
.site-notice .container { display: flex; align-items: center; justify-content: center; gap: 0.5em; padding-block: 0.55rem; text-align: center; }

/* ----------------------------------------------------------------- Header */

.site-header {
    position: sticky; top: 0; z-index: 50;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s, box-shadow 0.2s;
}
/* De blur op een pseudo-element: backdrop-filter op de header zelf zou hem
   het referentiekader maken voor het fixed mobiele menu (dat dan wordt
   afgekapt op de hoogte van de header). */
.site-header::before {
    content: "";
    position: absolute; inset: 0; z-index: -1;
    background: var(--header-bg);
    backdrop-filter: saturate(1.4) blur(14px);
    -webkit-backdrop-filter: saturate(1.4) blur(14px);
}
body[data-menu-open] .site-header::before { background: var(--bg); }
.site-header[data-scrolled] { border-bottom-color: var(--border); box-shadow: var(--shadow-sm); }

.site-header__inner {
    display: flex; align-items: center; gap: 1rem;
    min-height: var(--header-h);
}
.site-header__actions { display: flex; align-items: center; gap: 0.25rem; margin-left: auto; }

.site-nav__list { display: flex; align-items: center; gap: 0.25rem; margin: 0; padding: 0; list-style: none; }
.site-nav__link {
    position: relative;
    display: block;
    padding: 0.5em 0.8em;
    border-radius: 999px;
    color: var(--heading);
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
}
.site-nav__link:hover { background: var(--surface-2); color: var(--heading); }
.site-nav__link[aria-current="page"]::after {
    content: "";
    position: absolute; left: 0.8em; right: 0.8em; bottom: 0.15em;
    height: 3px; border-radius: 2px;
    background: var(--accent);
}
.site-nav__cta { margin-left: 0.5rem; }
.site-nav__cta .button { min-height: 42px; padding-inline: 1.1em; white-space: nowrap; }
.site-nav__phone { display: none; }

.theme-toggle .icon--sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon--sun { display: block; }
:root[data-theme="dark"] .theme-toggle .icon--moon { display: none; }

.menu-toggle { display: none; }
.menu-toggle__bars { display: grid; gap: 5px; width: 20px; }
.menu-toggle__bars span { display: block; height: 2px; border-radius: 2px; background: currentColor; transition: transform 0.25s var(--ease), opacity 0.2s; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.site-header__call { display: none; }

@media (min-width: 1080px) {
    .site-nav { margin-left: auto; }
    .site-header__actions { margin-left: 0.25rem; }
}

@media (max-width: 1240px) and (min-width: 1080px) {
    .site-nav__link { padding-inline: 0.6em; }
}

@media (max-width: 1079px) {
    :root { --header-h: 64px; }
    .logo { width: 178px; }
    .menu-toggle, .site-header__call { display: inline-grid; }

    /* Zonder JS: menu gewoon onder de header zichtbaar. */
    .site-nav { order: 3; width: 100%; padding-bottom: 0.75rem; }
    .site-header__inner { flex-wrap: wrap; }
    .site-nav__list { flex-wrap: wrap; }

    .js .site-nav {
        position: fixed;
        inset: var(--header-h) 0 0 0;
        z-index: 49;
        width: auto;
        padding: 1.25rem var(--gutter) 2rem;
        overflow-y: auto;
        background: var(--bg);
        visibility: hidden;
        opacity: 0;
        transform: translateY(-8px);
        transition: opacity 0.2s, transform 0.25s var(--ease), visibility 0s 0.25s;
    }
    .js .site-nav[data-open] { visibility: visible; opacity: 1; transform: none; transition: opacity 0.2s, transform 0.25s var(--ease); }
    .js .site-header__inner { flex-wrap: nowrap; }
    .js .site-nav__list { flex-direction: column; align-items: stretch; gap: 0.25rem; }
    .js .site-nav__link { padding: 0.85em 1em; font-size: var(--step-1); border-radius: var(--radius-sm); }
    .js .site-nav__link[aria-current="page"] { background: var(--surface-2); }
    .js .site-nav__link[aria-current="page"]::after { left: 0; right: auto; top: 0.6em; bottom: 0.6em; width: 4px; height: auto; }
    .site-nav__cta { margin: 0.75rem 0 0; }
    .site-nav__cta .button { width: 100%; min-height: 52px; font-size: var(--step-1); }
    .site-nav__phone { display: block; margin-top: 0.5rem; }
    .site-nav__phone a { display: flex; align-items: center; justify-content: center; gap: 0.5em; padding: 0.8em; font-weight: 600; text-decoration: none; }
}

/* ------------------------------------------------------------------- Hero */

.hero {
    position: relative;
    overflow: hidden;
    padding-block: clamp(2.5rem, 1.5rem + 5vw, 6rem) clamp(3rem, 2rem + 5vw, 6.5rem);
    isolation: isolate;
}
/* De kleurvlakken van het logo als achtergrondmotief. */
.hero__blocks { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__blocks span { position: absolute; border-radius: 6px; }
.hero__blocks span:nth-child(1) { width: 34vw; height: 28vw; max-width: 460px; max-height: 380px; right: 22%; top: 8%; background: var(--logo-blue); opacity: 0.35; }
.hero__blocks span:nth-child(2) { width: 38vw; height: 30vw; max-width: 520px; max-height: 400px; right: -4%; top: 0; background: var(--logo-mauve); opacity: 0.3; }
.hero__blocks span:nth-child(3) { width: 18vw; height: 22vw; max-width: 240px; max-height: 300px; right: 30%; top: 46%; background: var(--logo-stone); opacity: 0.45; }

.hero__inner { display: grid; gap: clamp(2rem, 1rem + 4vw, 4rem); align-items: center; }
@media (min-width: 900px) { .hero__inner { grid-template-columns: 1.15fr 0.85fr; } }

.hero__title { font-size: var(--step-5); font-weight: 600; line-height: 1.04; margin-bottom: 0.45em; }
.hero__highlight {
    display: inline;
    color: var(--primary);
    background: linear-gradient(transparent 78%, rgb(51 181 52 / 0.35) 78%);
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}
.hero__lead { font-size: var(--step-1); color: var(--text-muted); max-width: 56ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }
.hero__usps {
    display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem;
    margin: 2rem 0 0; padding: 0; list-style: none;
    font-size: var(--step--1); font-weight: 500; color: var(--heading);
}
.hero__usps li { display: inline-flex; align-items: center; gap: 0.45em; }
.hero__usps .icon { color: var(--primary); }

.hero__visual { position: relative; display: grid; justify-items: center; gap: 1.25rem; }
.hero__door { position: relative; width: min(230px, 52vw); }
.hero__door .door { filter: drop-shadow(0 22px 30px rgb(31 36 33 / 0.22)); transition: filter 0.3s; }
.hero__shadow {
    position: absolute; left: 50%; bottom: -14px;
    width: 120%; height: 18px;
    transform: translateX(-50%);
    border-radius: 50%;
    background: radial-gradient(closest-side, rgb(31 36 33 / 0.28), transparent);
}

.price-badge {
    position: absolute; top: 6%; left: max(0px, calc(50% - 250px));
    display: grid; justify-items: center;
    width: 132px; aspect-ratio: 1;
    place-content: center;
    margin: 0;
    padding: 0.75rem;
    border-radius: 50%;
    background: var(--accent);
    color: var(--on-accent);
    text-align: center;
    line-height: 1.15;
    box-shadow: var(--shadow-md);
    transform: rotate(-9deg);
}
.price-badge__label { font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.price-badge__value { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; white-space: nowrap; }
.price-badge__note { font-size: 0.66rem; font-weight: 500; }
@media (max-width: 520px) { .price-badge { width: 112px; left: 0; } .price-badge__value { font-size: 1.25rem; } }

.swatch-picker { text-align: center; }
.swatch-picker__label { margin-bottom: 0.6rem; font-size: var(--step--1); color: var(--text-muted); }
.swatch-picker__label strong { color: var(--heading); }
.swatch-picker__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; }
.swatch {
    width: 36px; height: 36px;
    padding: 0;
    border: 2px solid var(--surface);
    border-radius: 50%;
    background: var(--swatch);
    box-shadow: 0 0 0 1.5px var(--border-strong);
    cursor: pointer;
    transition: transform 0.15s var(--ease), box-shadow 0.15s;
}
.swatch:hover { transform: scale(1.1); }
.swatch[aria-pressed="true"] { box-shadow: 0 0 0 2.5px var(--primary); transform: scale(1.1); }

/* --------------------------------------------------------- Deur-tekening */

.door { width: 100%; height: auto; }
.door__frame { fill: #2f3130; }
.door__leaf { fill: var(--door, var(--door-default)); transition: fill 0.45s var(--ease); }
.door__panel {
    fill: var(--door, var(--door-default));
    stroke: rgb(0 0 0 / 0.16);
    stroke-width: 1.5;
    filter: brightness(1.06);
    transition: fill 0.45s var(--ease);
}
.door__glass { fill: #cfe0ea; stroke: rgb(0 0 0 / 0.18); stroke-width: 1.5; }
:root[data-theme="dark"] .door__glass { fill: #6f8796; }
.door__handle { fill: #d9d4c7; }
.door__lock { fill: #a8a397; }
:root[data-theme="dark"] .door__frame { fill: #0d0f0e; }

/* ------------------------------------------------------------------ Cards */

.card {
    position: relative;
    padding: clamp(1.4rem, 1rem + 1.5vw, 2.2rem);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}
.card--accent { background: linear-gradient(160deg, var(--surface) 55%, color-mix(in srgb, var(--accent) 12%, var(--surface))); }
.card__title { font-size: var(--step-2); }
.card__icon {
    display: inline-grid; place-items: center;
    width: 48px; height: 48px;
    margin-bottom: 1rem;
    border-radius: 14px;
    background: color-mix(in srgb, var(--accent) 16%, transparent);
    color: var(--primary);
}
.card__icon .icon { width: 24px; height: 24px; }
.card__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.5rem; }
.card .button { margin-top: 0.5rem; }

.content-grid { display: grid; gap: 1.25rem; }
@media (min-width: 900px) { .content-grid { grid-template-columns: repeat(3, 1fr); align-items: start; } }

.photo-card {
    margin: 0;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-md);
    max-width: 448px;
    width: 100%;
}
.photo-card img { width: 100%; }
.photo-card figcaption { padding: 0.8rem 1.1rem; font-size: var(--step--1); color: var(--text-muted); }
.photo-card--portrait { max-width: 220px; border-radius: 120px 120px var(--radius-lg) var(--radius-lg); }
.photo-card--tilt { max-width: 340px; transform: rotate(2deg); margin-top: -2rem; justify-self: end; border: 6px solid var(--surface); }

/* --------------------------------------------------------------- Benefits */

.benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1rem;
    margin: 0; padding: 0; list-style: none;
}
.benefit {
    display: flex; align-items: flex-start; gap: 0.9rem;
    padding: 1.25rem;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--border);
    font-weight: 500;
    color: var(--heading);
}
.benefit__icon {
    display: grid; place-items: center; flex: none;
    width: 42px; height: 42px;
    border-radius: 12px;
    background: var(--primary);
    color: var(--on-primary);
}

.unique {
    display: flex; align-items: center; gap: 1.25rem;
    margin-top: 1.5rem;
    padding: clamp(1.25rem, 1rem + 1.5vw, 2rem);
    border-radius: var(--radius-lg);
    background: #2b2d2b;
    color: #f1ede0;
}
.unique__icon { display: grid; place-items: center; flex: none; width: 56px; height: 56px; border-radius: 50%; background: var(--color-logo-green); color: #0f2410; }
.unique__icon .icon { width: 28px; height: 28px; fill: currentColor; }
.unique__title { color: #fbf8ee; font-size: var(--step-2); margin-bottom: 0.2em; }
.unique p { color: #d9d5c8; }
:root[data-theme="dark"] .unique { background: #0e100f; border: 1px solid var(--border); }

/* ------------------------------------------------------------------ Steps */

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin: 0; padding: 0; list-style: none;
    counter-reset: step;
}
.step-card {
    position: relative;
    padding: 1.6rem 1.4rem 1.4rem;
    border-radius: var(--radius-lg);
    background: var(--surface);
    border: 1px solid var(--border);
    overflow: hidden;
}
.step-card__number {
    position: absolute; top: -0.12em; right: 0.15em;
    font-family: var(--font-display);
    font-size: 5.5rem;
    font-weight: 700;
    line-height: 1;
    color: var(--color-sand);
    opacity: 0.55;
    pointer-events: none;
}
:root[data-theme="dark"] .step-card__number { color: #4a4736; }
.step-card__icon { position: relative; display: inline-grid; place-items: center; width: 46px; height: 46px; margin-bottom: 0.9rem; border-radius: 12px; background: var(--primary); color: var(--on-primary); }
.step-card__title { position: relative; font-size: var(--step-1); margin-bottom: 0.35em; }
.step-card p { position: relative; color: var(--text-muted); font-size: var(--step--1); line-height: 1.6; }

/* ----------------------------------------------------------------- Colors */

.color-brands { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }
.color-brands span {
    padding: 0.35em 0.9em;
    border-radius: 999px;
    background: var(--surface);
    border: 1px solid var(--border);
    font-weight: 600;
    font-size: var(--step--1);
    color: var(--heading);
}
.color-chips__title { font-weight: 600; color: var(--heading); justify-self: start; margin: 0; }
.color-chips {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.75rem;
    width: 100%;
    margin: 0; padding: 0; list-style: none;
}
.color-chip {
    display: grid;
    padding: 0.5rem 0.5rem 0.8rem;
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}
.color-chip__swatch { height: 72px; margin-bottom: 0.6rem; border-radius: 10px; background: var(--swatch); box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.08); }
.color-chip__code { padding-inline: 0.3rem; font-weight: 700; color: var(--heading); font-size: var(--step--1); }
.color-chip__name { padding-inline: 0.3rem; color: var(--text-muted); font-size: 0.82rem; }

.gloss-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; width: 100%; }
.gloss-compare__item {
    display: grid; align-content: end;
    min-height: 92px;
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    color: #fff;
    font-weight: 600;
    background: var(--color-green-deep);
}
.gloss-compare__item--satin { background: linear-gradient(160deg, #2f8a5b, #1f6f45); }
.gloss-compare__item--gloss {
    background:
        linear-gradient(115deg, transparent 30%, rgb(255 255 255 / 0.55) 42%, transparent 50%),
        linear-gradient(160deg, #3bb878, #1f6f45);
}

/* ------------------------------------------------------- Deurtypes/prijzen */

.door-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1rem;
    margin: 0; padding: 0; list-style: none;
}
.door-card__link {
    display: grid; justify-items: center; gap: 0.35rem;
    height: 100%;
    padding: 1.4rem 1rem 1.2rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface);
    color: var(--heading);
    text-align: center;
    text-decoration: none;
    transition: transform 0.2s var(--ease), box-shadow 0.2s, border-color 0.2s;
}
.door-card__link:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--primary); color: var(--heading); }
.door-card__visual { width: 64px; margin-bottom: 0.6rem; }
.door-card__name { font-weight: 600; line-height: 1.3; }
.door-card__price { margin-top: auto; font-family: var(--font-display); font-size: var(--step-1); font-weight: 600; color: var(--primary); }
.door-card__from { font-family: var(--font-body); font-size: 0.75rem; font-weight: 500; color: var(--text-muted); }

.discount-note {
    display: flex; align-items: center; gap: 0.6rem;
    width: fit-content;
    margin-top: 1.5rem;
    padding: 0.7rem 1.1rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--accent) 15%, var(--surface));
    color: var(--heading);
}
.discount-note .icon { color: var(--primary); }

.price-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr));
    gap: 1.25rem;
    margin: 0; padding: 0; list-style: none;
}
.price-card {
    display: grid; grid-template-columns: 60px minmax(0, 1fr); gap: 1.25rem; align-items: start;
    padding: 1.5rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}
.price-card__name { font-size: var(--step-1); margin-bottom: 0.25em; }
.price-card__desc { font-size: var(--step--1); color: var(--text-muted); }
.price-card__prices { display: grid; gap: 0.35rem; margin: 0.9rem 0 1rem; }
.price-card__prices div { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: 0.35rem; border-bottom: 1px dashed var(--border); }
.price-card__prices dt { color: var(--text-muted); }
.price-card__prices dd { margin: 0; white-space: nowrap; font-weight: 700; color: var(--heading); font-variant-numeric: tabular-nums; }

.table-wrap { overflow-x: auto; margin: 1.5rem 0; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: var(--step--1); }
.table-wrap th, .table-wrap td { padding: 0.75rem 1rem; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
.table-wrap thead th { background: var(--surface-2); color: var(--heading); font-weight: 600; }
.table-wrap tbody tr:last-child td { border-bottom: 0; }
.discount-table td:last-child, .discount-table th:last-child { text-align: right; }
.discount-table strong { color: var(--primary); font-size: var(--step-0); }

.example, .callout, .form-note {
    display: flex; align-items: flex-start; gap: 0.6rem;
    padding: 0.9rem 1.1rem;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--border);
    font-size: var(--step--1);
}
.example .icon, .callout .icon, .form-note .icon { margin-top: 0.15em; color: var(--primary); }
.callout { margin-top: 1.5rem; max-width: 720px; background: color-mix(in srgb, var(--color-sand) 40%, var(--surface)); border-color: var(--color-sand); color: var(--heading); font-weight: 500; }
:root[data-theme="dark"] .callout { background: var(--bg-sand); border-color: #4a4736; }

/* ---------------------------------------------------------- Hoe werkt het */

.check-list { display: grid; gap: 0.7rem; margin: 0; padding: 0; list-style: none; }
.check-list li { display: flex; gap: 0.6rem; }
.check-list .icon { margin-top: 0.25em; color: var(--primary); }

.timeline { display: grid; gap: 0; margin: 1.25rem 0 0; padding: 0; list-style: none; }
.timeline li {
    position: relative;
    padding: 0 0 0.9rem 1.6rem;
    font-size: var(--step--1);
    color: var(--text-muted);
}
.timeline li::before { content: ""; position: absolute; left: 0.3rem; top: 0.45em; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
.timeline li::after { content: ""; position: absolute; left: calc(0.3rem + 4px); top: 1.3em; bottom: 0; width: 2px; background: var(--border-strong); }
.timeline li:last-child::after { display: none; }
.timeline strong { display: block; color: var(--heading); }

.rules {
    padding: clamp(1.4rem, 1rem + 1.5vw, 2.2rem);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    border-left: 6px solid var(--color-mauve);
    background: var(--surface);
}
.rules__title { display: flex; align-items: center; gap: 0.5rem; font-size: var(--step-2); }
.rules__title .icon { color: var(--color-mauve); }
.rules__more { margin-top: 1rem; font-weight: 600; }

/* -------------------------------------------------------------------- FAQ */

.faq { display: grid; gap: 0.75rem; }
.faq__item { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.faq__question {
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    padding: 1.1rem 1.25rem;
    font-weight: 600;
    color: var(--heading);
    cursor: pointer;
    list-style: none;
}
.faq__question::-webkit-details-marker { display: none; }
.faq__chevron { transition: transform 0.25s var(--ease); color: var(--primary); }
.faq__item[open] .faq__chevron { transform: rotate(180deg); }
.faq__answer { padding: 0 1.25rem 1.2rem; color: var(--text-muted); }

/* ------------------------------------------------------------------- Quote */

.quote {
    margin: 2.5rem 0;
    padding: 1.5rem 1.75rem;
    border-left: 5px solid var(--accent);
    border-radius: 0 var(--radius) var(--radius) 0;
    background: var(--surface);
    font-family: var(--font-display);
    font-size: var(--step-2);
    line-height: 1.35;
    color: var(--heading);
}
.signature { font-style: italic; color: var(--text-muted); }

/* --------------------------------------------------------------- CTA band */

.cta-band { position: relative; overflow: hidden; padding-block: clamp(2.5rem, 2rem + 3vw, 4rem); background: #2b2d2b; color: #e9e5d8; isolation: isolate; }
:root[data-theme="dark"] .cta-band { background: #0e100f; border-top: 1px solid var(--border); }
.cta-band__inner { display: grid; gap: 1.5rem; align-items: center; }
@media (min-width: 900px) { .cta-band__inner { grid-template-columns: auto 1fr auto; gap: 2.5rem; } }
.cta-band__title { color: #fbf8ee; font-size: var(--step-3); margin-bottom: 0.25em; }
.cta-band p { color: #cfcbbd; max-width: 60ch; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.cta-band__swatches { display: flex; }
.cta-band__swatches span { width: 46px; height: 64px; border-radius: 6px; margin-right: -14px; box-shadow: 0 6px 16px rgb(0 0 0 / 0.3); }
.cta-band__swatches span:nth-child(1) { background: var(--color-blue); transform: rotate(-8deg); }
.cta-band__swatches span:nth-child(2) { background: var(--color-mauve); transform: rotate(-2deg); }
.cta-band__swatches span:nth-child(3) { background: var(--color-sand); transform: rotate(4deg); }
.cta-band__swatches span:nth-child(4) { background: var(--color-logo-green); transform: rotate(10deg); }
@media (max-width: 899px) { .cta-band__swatches { display: none; } }

/* ------------------------------------------------------------- Page hero */

.page-hero { position: relative; padding-block: clamp(2rem, 1.5rem + 3vw, 4rem) clamp(2rem, 1.5rem + 3vw, 3.5rem); overflow: hidden; isolation: isolate; }
.page-hero::before, .page-hero::after { content: ""; position: absolute; z-index: -1; border-radius: 6px; pointer-events: none; }
.page-hero::before { width: 260px; height: 180px; right: 8%; top: -40px; background: var(--logo-blue); opacity: 0.3; }
.page-hero::after { width: 300px; height: 200px; right: -60px; top: 30px; background: var(--logo-mauve); opacity: 0.22; }
.page-hero--small::before, .page-hero--small::after { opacity: 0.14; }
.page-hero__title { font-size: var(--step-4); max-width: 20ch; }
.page-hero__lead { font-size: var(--step-1); color: var(--text-muted); max-width: 62ch; }

.page-hero--thanks { text-align: center; }
.page-hero--thanks .page-hero__title, .page-hero--thanks .page-hero__lead { margin-inline: auto; }
.thanks__icon { display: inline-grid; place-items: center; width: 76px; height: 76px; margin-bottom: 1.25rem; border-radius: 50%; background: var(--accent); color: var(--on-accent); }
.thanks__icon .icon { width: 38px; height: 38px; stroke-width: 2.5; }
.thanks__reference { display: inline-block; margin-top: 0.5rem; padding: 0.5rem 1.1rem; border-radius: 999px; background: var(--surface); border: 1px dashed var(--border-strong); }
.numbered-list { display: grid; gap: 0.9rem; margin: 0 0 1.25rem; padding-left: 1.4em; }
.numbered-list li::marker { font-weight: 700; color: var(--primary); }

.breadcrumbs { margin-bottom: 1.25rem; font-size: var(--step--1); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 0.35rem; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 0.35rem; color: var(--text-muted); }
.breadcrumbs li + li::before { content: "/"; color: var(--border-strong); }
.breadcrumbs a { color: var(--text-muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--link); text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--heading); font-weight: 500; }

/* --------------------------------------------------------------- 404 */

.error-page { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 760px) { .error-page { grid-template-columns: 200px 1fr; gap: 4rem; } }
.error-page__visual { width: 160px; margin-inline: auto; }
.door--ajar { --door: var(--color-mauve); transform: perspective(600px) rotateY(-24deg); transform-origin: left center; }
.error-code { margin: 0; font-family: var(--font-display); font-size: var(--step-5); font-weight: 700; line-height: 1; color: var(--color-sand); }

/* ------------------------------------------------------------------ Forms */

.form { display: grid; gap: 1.1rem; }
.form__row { display: grid; gap: 1.1rem; }
@media (min-width: 640px) {
    .form__row { grid-template-columns: 1fr 1fr; }
    .form__row--name { grid-template-columns: 1fr 1fr 2fr; }
    .form__row--address { grid-template-columns: 1.2fr 1fr 0.8fr; }
}

.field { display: grid; gap: 0.35rem; align-content: start; min-width: 0; }
.field > label, .field > legend { font-weight: 600; font-size: var(--step--1); color: var(--heading); padding: 0; }
fieldset.field { margin: 0; padding: 0; border: 0; min-width: 0; }
.req { color: var(--error); }
.field-optional { font-weight: 400; color: var(--text-muted); }
.field-hint, .form-hint { margin: 0; font-size: var(--step--1); color: var(--text-muted); }

input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="password"], input[type="search"], select, textarea {
    width: 100%;
    min-height: 48px;
    padding: 0.65em 0.9em;
    border: 1.5px solid var(--border-strong);
    border-radius: 10px;
    background: var(--surface);
    color: var(--text);
    font: inherit;
    font-size: 1rem; /* geen zoom op iOS */
    transition: border-color 0.15s, box-shadow 0.15s;
}
textarea { min-height: 120px; resize: vertical; line-height: 1.55; }
select {
    appearance: none;
    padding-right: 2.4em;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b6d68' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75em center;
    background-size: 1.1em;
}
input::placeholder, textarea::placeholder { color: var(--text-muted); opacity: 0.7; }
input:hover, select:hover, textarea:hover { border-color: var(--text-muted); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 25%, transparent); }
[aria-invalid="true"] { border-color: var(--error) !important; }
[aria-invalid="true"]:focus { box-shadow: 0 0 0 3px color-mix(in srgb, var(--error) 22%, transparent) !important; }
.field-error { margin: 0; font-size: var(--step--1); font-weight: 500; color: var(--error); }
.field-error::before { content: "⚠ "; }

.field--check { grid-template-columns: auto 1fr; align-items: start; gap: 0.7rem; }
.field--check input { width: 22px; height: 22px; margin: 0.15em 0 0; accent-color: var(--primary); }
.field--check label { font-weight: 400; font-size: var(--step-0); color: var(--text); }
.field--check .field-error { grid-column: 2; }

.form__hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form__more { border: 1px dashed var(--border-strong); border-radius: var(--radius); padding: 0.75rem 1rem; }
.form__more summary { cursor: pointer; font-weight: 600; color: var(--link); }
.form__more[open] summary { margin-bottom: 1rem; }
.form__more > .field + .form__row, .form__more > .field + .field { margin-top: 1.1rem; }

.form-status {
    display: flex; align-items: flex-start; gap: 0.6rem;
    padding: 0.9rem 1.1rem;
    border-radius: var(--radius);
    font-weight: 500;
}
.form-status--success { background: var(--success-bg); color: var(--success-text); }
.form-status--error { background: var(--error-bg); color: var(--error); }
.form-status .icon { margin-top: 0.2em; }

.segmented { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 12px; background: var(--surface-2); border: 1.5px solid var(--border); }
.segmented__option { position: relative; display: block; cursor: pointer; }
.segmented__option input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.segmented__option span { display: grid; place-items: center; min-height: 38px; padding: 0.3em 0.6em; border-radius: 9px; font-size: var(--step--1); font-weight: 600; color: var(--text-muted); transition: background 0.15s, color 0.15s; }
.segmented__option input:checked + span { background: var(--surface); color: var(--heading); box-shadow: var(--shadow-sm); }
.segmented__option input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 1px; }

.stepper-input { display: flex; align-items: stretch; }
.stepper-input input { text-align: center; font-variant-numeric: tabular-nums; -moz-appearance: textfield; appearance: textfield; }
.stepper-input input::-webkit-outer-spin-button, .stepper-input input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.js .stepper-input input { border-radius: 0; border-inline: 0; min-width: 0; }
.stepper-input__btn { display: grid; place-items: center; flex: none; width: 44px; border: 1.5px solid var(--border-strong); background: var(--surface-2); cursor: pointer; color: var(--heading); }
.stepper-input__btn:first-child { border-radius: 10px 0 0 10px; }
.stepper-input__btn:last-child { border-radius: 0 10px 10px 0; }
.stepper-input__btn:hover { background: var(--border); }

/* ------------------------------------------------------- Bestelformulier */

.order-layout { display: grid; gap: 1.5rem; align-items: start; }
@media (min-width: 1000px) { .order-layout { grid-template-columns: minmax(0, 1fr) 360px; gap: 2rem; } }

.order-form { gap: 1.25rem; }
.order-step { margin: 0; min-width: 0; display: grid; gap: 1.1rem; }
.order-step__title { display: flex; align-items: center; gap: 0.7rem; padding: 0; margin-bottom: 0.25rem; font-family: var(--font-display); font-size: var(--step-2); font-weight: 600; color: var(--heading); float: left; width: 100%; }
.order-step__title + * { clear: both; }
.order-step__title:focus { outline: none; }
.order-step__number { display: inline-grid; place-items: center; flex: none; width: 2em; height: 2em; border-radius: 50%; background: var(--primary); color: var(--on-primary); font-family: var(--font-body); font-size: 0.6em; font-weight: 700; }
.order-step__nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem; margin-top: 0.5rem; padding-top: 1.25rem; border-top: 1px solid var(--border); }
.order-step__nav--submit { justify-content: flex-end; }
.order-step__nav--submit [data-prev] { margin-right: auto; }

.stepper { display: flex; gap: 0.5rem; margin: 0; padding: 0; list-style: none; counter-reset: s; }
.stepper li { flex: 1; }
.stepper button {
    display: flex; align-items: center; justify-content: center; gap: 0.5em;
    width: 100%;
    padding: 0.6rem 0.5rem;
    border: 0;
    border-bottom: 4px solid var(--border);
    background: none;
    color: var(--text-muted);
    font-weight: 600;
    font-size: var(--step--1);
    cursor: pointer;
}
.stepper button span { display: inline-grid; place-items: center; width: 1.8em; height: 1.8em; border-radius: 50%; background: var(--surface-2); font-size: 0.85em; }
.stepper button[aria-current] { color: var(--heading); border-bottom-color: var(--accent); }
.stepper button[aria-current] span { background: var(--accent); color: var(--on-accent); }
.stepper button.is-done { color: var(--primary); border-bottom-color: var(--primary); }
.stepper button.is-done span { background: var(--primary); color: var(--on-primary); }

.order-lines { display: grid; gap: 1rem; }
.order-line {
    position: relative;
    display: grid;
    gap: 0.9rem;
    padding: 1.1rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface-2);
}
.order-line__label { margin: 0; font-weight: 700; color: var(--heading); font-size: var(--step--1); text-transform: uppercase; letter-spacing: 0.06em; }
.order-line__price { margin: 0; font-weight: 600; color: var(--primary); font-variant-numeric: tabular-nums; min-height: 1.5em; }
.order-line__remove { position: absolute; top: 0.5rem; right: 0.5rem; color: var(--text-muted); }
.order-line__remove:hover { color: var(--error); }
@media (min-width: 560px) {
    .order-line { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
    .order-line__label, .order-line__price { grid-column: 1 / -1; }
    .order-line__price { text-align: right; margin-top: -0.25rem; }
}
@media (min-width: 560px) and (max-width: 999px), (min-width: 1280px) {
    .order-line__qty { max-width: 220px; }
}
.order-line .field select, .order-line .field input { background-color: var(--surface); }

.order-review { padding: 1rem 1.25rem; border-radius: var(--radius); background: var(--surface-2); }
.order-review__title { font-size: var(--step-1); }

.order-summary { display: grid; gap: 1rem; }
@media (min-width: 1000px) { .order-summary { position: sticky; top: calc(var(--header-h) + 1rem); } }
.order-summary__card { padding: 1.4rem; }
.order-summary__title { display: flex; align-items: center; gap: 0.5rem; font-size: var(--step-1); }
.order-summary__empty { color: var(--text-muted); font-size: var(--step--1); }
.order-summary__lines { display: grid; gap: 0.75rem; margin: 0 0 1rem; padding: 0; list-style: none; }
.order-summary__lines li { display: grid; grid-template-columns: 1fr auto; gap: 0 0.75rem; padding-bottom: 0.75rem; border-bottom: 1px dashed var(--border); }
.order-summary__name { font-weight: 600; color: var(--heading); }
.order-summary__price { font-weight: 600; font-variant-numeric: tabular-nums; }
.order-summary__meta { grid-column: 1 / -1; font-size: 0.85rem; color: var(--text-muted); }
.order-summary__totals { display: grid; gap: 0.45rem; margin: 0; }
.order-summary__totals div { display: flex; justify-content: space-between; gap: 1rem; }
.order-summary__totals dt { color: var(--text-muted); }
.order-summary__totals dd { margin: 0; font-variant-numeric: tabular-nums; font-weight: 600; }
.order-summary__discount dd { color: var(--primary); }
.order-summary__total { margin-top: 0.4rem; padding-top: 0.8rem; border-top: 2px solid var(--heading); }
.order-summary__total dt { color: var(--heading); font-weight: 700; }
.order-summary__total dd { font-family: var(--font-display); font-size: var(--step-2); color: var(--heading); }
.order-summary__next { margin: 1rem 0 0; padding: 0.6rem 0.8rem; border-radius: 10px; background: color-mix(in srgb, var(--accent) 15%, var(--surface)); font-size: var(--step--1); font-weight: 600; color: var(--heading); }
.order-summary__usps { display: grid; gap: 0.55rem; margin: 0; padding: 0 0.5rem; list-style: none; font-size: var(--step--1); }
.order-summary__usps li { display: flex; align-items: center; gap: 0.5rem; }
.order-summary__usps .icon { color: var(--primary); }

/* --------------------------------------------------------------- Contact */

.contact-grid { display: grid; gap: 1.5rem; align-items: start; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 2rem; } }
.contact-aside { display: grid; gap: 1.25rem; }
.contact-list { display: grid; gap: 1rem; margin: 0 0 1.25rem; padding: 0; list-style: none; }
.contact-list li { display: flex; gap: 0.7rem; align-items: flex-start; }
.contact-list > li > .icon { margin-top: 0.3em; color: var(--primary); }
.contact-list__strong { font-weight: 700; font-size: var(--step-1); }
.contact-legal { font-size: var(--step--1); color: var(--text-muted); }

.email-reveal { display: inline-flex; align-items: center; gap: 0.6rem; }
.email-reveal .icon { color: var(--primary); }

/* ----------------------------------------------------------------- Legal */

.legal-layout { display: grid; gap: 2rem; align-items: start; }
@media (min-width: 1000px) { .legal-layout { grid-template-columns: 280px minmax(0, 1fr); gap: 3rem; } .legal-toc { position: sticky; top: calc(var(--header-h) + 1rem); } }
.legal-toc__details { padding: 1rem 1.25rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); font-size: var(--step--1); }
.legal-toc summary { font-weight: 700; cursor: pointer; color: var(--heading); }
.legal-toc ol { display: grid; gap: 0.35rem; margin: 0.75rem 0 0; padding: 0; list-style: none; }
.legal-toc a { color: var(--text-muted); text-decoration: none; }
.legal-toc a:hover { color: var(--link); text-decoration: underline; }
.terms-article { padding-top: 0.5rem; }
.terms-article + .terms-article { margin-top: 2rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.terms-article h2 { margin-top: 0; }
.terms-article__number { display: block; font-family: var(--font-body); font-size: var(--step--1); font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--eyebrow); }
.prose--legal ol ol, .prose--legal ol ul { margin-top: 0.5em; }
.legal-print { margin-top: 3rem; }

/* ---------------------------------------------------------------- Footer */

.site-footer { margin-top: auto; padding-top: clamp(3rem, 2rem + 3vw, 4.5rem); background: var(--bg-tint); border-top: 1px solid var(--border); font-size: var(--step--1); }
.site-footer__grid { display: grid; gap: 2.5rem; }
@media (min-width: 700px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .site-footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; } }
.site-footer__slogan { margin: 1rem 0 1.25rem; color: var(--text-muted); }
.site-footer__address { display: grid; gap: 0.7rem; }
.site-footer__line { display: flex; gap: 0.6rem; align-items: flex-start; }
.site-footer__line > .icon { margin-top: 0.3em; color: var(--primary); }
.site-footer__title { margin-bottom: 1rem; font-family: var(--font-body); font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--eyebrow); }
.site-footer__col ul { display: grid; gap: 0.55rem; margin: 0; padding: 0; list-style: none; }
.site-footer__col a { color: var(--text); text-decoration: none; }
.site-footer__col a:hover { color: var(--link); text-decoration: underline; }
.site-footer__cta p { color: var(--text-muted); margin-bottom: 1.25rem; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1.5rem; margin-top: 3rem; padding-block: 1.5rem; border-top: 1px solid var(--border); color: var(--text-muted); font-size: 0.82rem; }
.site-footer__bottom p { margin: 0; }
.site-footer__bottom a { color: inherit; }

/* ---------------------------------------------------------- Cookiebanner */

.cookie-banner {
    position: fixed;
    left: var(--gutter); right: var(--gutter); bottom: var(--gutter);
    z-index: 90;
    display: grid; gap: 1rem;
    max-width: 720px;
    margin-inline: auto;
    padding: 1.4rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface);
    box-shadow: var(--shadow-lg);
    font-size: var(--step--1);
    animation: slide-up 0.4s var(--ease);
}
@keyframes slide-up { from { transform: translateY(20px); opacity: 0; } }
.cookie-banner__title { font-size: var(--step-1); margin-bottom: 0.4em; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: flex-end; }
@media (max-width: 560px) { .cookie-banner__actions .button { flex: 1 1 100%; } }

.cookie-dialog {
    width: min(560px, calc(100% - 2 * var(--gutter)));
    max-height: calc(100dvh - 2rem);
    padding: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--surface);
    color: var(--text);
    box-shadow: var(--shadow-lg);
}
.cookie-dialog::backdrop { background: rgb(20 22 20 / 0.55); backdrop-filter: blur(3px); }
.cookie-dialog__form { display: grid; gap: 1rem; padding: 1.5rem; }
.cookie-dialog__header { display: flex; align-items: center; justify-content: space-between; }
.cookie-dialog__header h2 { margin: 0; font-size: var(--step-2); }
.cookie-dialog__footer { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: flex-end; padding-top: 0.5rem; }
.consent-option { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem; border-radius: var(--radius); background: var(--surface-2); }
.consent-option h3 { margin: 0 0 0.2em; font-family: var(--font-body); font-size: var(--step-0); }
.consent-option p { margin: 0; font-size: var(--step--1); color: var(--text-muted); }

.switch { position: relative; flex: none; display: inline-block; width: 50px; height: 28px; }
.switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.switch__track { position: absolute; inset: 0; border-radius: 999px; background: var(--border-strong); transition: background 0.2s; }
.switch__track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-sm); transition: transform 0.2s var(--ease); }
.switch input:checked + .switch__track { background: var(--primary); }
.switch input:checked + .switch__track::after { transform: translateX(22px); }
.switch input:disabled + .switch__track { opacity: 0.6; }
.switch input:focus-visible + .switch__track { outline: 3px solid var(--focus); outline-offset: 2px; }

/* ----------------------------------------------------------- Back to top */

.back-to-top {
    position: fixed; right: var(--gutter); bottom: var(--gutter); z-index: 40;
    display: grid; place-items: center;
    width: 48px; height: 48px;
    border: 1px solid var(--border);
    border-radius: 50%;
    background: var(--surface);
    color: var(--heading);
    box-shadow: var(--shadow-md);
    cursor: pointer;
    opacity: 0; visibility: hidden; transform: translateY(10px);
    transition: opacity 0.2s, transform 0.2s var(--ease), visibility 0s 0.2s;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; transition: opacity 0.2s, transform 0.2s var(--ease); }

/* -------------------------------------------------------------- Motion */

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
    .js .reveal { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------- Print */

@media print {
    .site-header, .site-footer, .cookie-banner, .cookie-dialog, .back-to-top, .cta-band, .legal-toc, .legal-print, .skip-link, .site-notice, .hero__blocks { display: none !important; }
    body { background: #fff; color: #000; font-size: 11pt; }
    .page-hero::before, .page-hero::after { display: none; }
    .legal-layout { display: block; }
    a { color: #000; }
    .prose a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.85em; }
}

/* Kleurvlakken niet achter de koppen op kleine schermen. */
@media (max-width: 899px) {
    .hero__blocks span:nth-child(1) { top: auto; bottom: 18%; right: 50%; width: 46vw; height: 40vw; opacity: 0.22; }
    .hero__blocks span:nth-child(2) { top: auto; bottom: 26%; right: -10%; width: 50vw; height: 46vw; opacity: 0.2; }
    .hero__blocks span:nth-child(3) { display: none; }
    .page-hero::before, .page-hero::after { opacity: 0.12; top: -90px; }
}

:root[data-theme="dark"] .hero__blocks span { opacity: 0.16; }
:root[data-theme="dark"] .page-hero::before, :root[data-theme="dark"] .page-hero::after { opacity: 0.12; }
