/* ==========================================================================
   Printfactory — voorkant (shop + klantomgeving)
   Design system: zie ../../../../DESIGN.md. Licht canvas, inkt, één accent.
   De accentkleur komt uit Beheer → Instellingen → Uiterlijk (--accent).
   ========================================================================== */

:root {
  --bg: #f0efed;
  --surface: #f7f6f4;
  --card: #ffffff;
  --line: rgba(26, 26, 26, .09);
  --line-strong: rgba(26, 26, 26, .18);
  --text: #1a1a1a;
  --muted: #6b6b68;
  --accent: #c9955b;
  --accent-ink: #14100b;
  --danger: #c4452f;
  --ok: #2f7d46;
  --sans: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: var(--sans);
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --radius: 14px;
  --radius-lg: 22px;
  --frame: 10px;
  --frame-r: 40px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --spring: cubic-bezier(.34, 1.4, .64, 1);
  --header-h: 76px;
  color-scheme: light;
}
[data-theme="dark"] {
  --bg: #0f0f0f;
  --surface: #151515;
  --card: #1b1b1b;
  --line: rgba(255, 255, 255, .09);
  --line-strong: rgba(255, 255, 255, .2);
  --text: #f2f1ee;
  --muted: #9a9993;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 16px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; transition: background-color .4s var(--ease), color .4s var(--ease);
}
img, svg, video, canvas { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--sans); font-weight: 500; line-height: 1.04; letter-spacing: -.035em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.6rem, 6.4vw, 5.6rem); letter-spacing: -.045em; }
h2 { font-size: clamp(2rem, 3.8vw, 3.2rem); }
h3 { font-size: 1.35rem; letter-spacing: -.025em; }
ul { padding-left: 1.2em; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: min(1280px, 100% - 48px); margin-inline: auto; }
.container.narrow { width: min(860px, 100% - 48px); }
.section { padding-block: clamp(56px, 7vw, 104px); }
.section.tight { padding-block: clamp(36px, 4.5vw, 64px); }
.section.alt { background: var(--card); margin-inline: var(--frame); border-radius: var(--frame-r); }
.eyebrow { display: inline-flex; align-items: center; gap: .6em; font: 500 .72rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.1rem; }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 58ch; }
.muted { color: var(--muted); }
.serif-i { font-style: normal; font-weight: 500; color: var(--muted); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: clamp(24px, 3.4vw, 44px); flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.link-arrow { font: 500 .78rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; padding: .85em 1.3em; border: 1px solid var(--line-strong); border-radius: 999px; transition: background .3s, color .3s, border-color .3s; }
.link-arrow::after { content: " \2192"; }
.link-arrow:hover { background: var(--text); color: var(--bg); border-color: var(--text); }

/* ---------- Knoppen & formulieren ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .7em; padding: .95em 1.6em; border: 1px solid var(--line-strong); background: transparent; color: var(--text); font: 500 .92rem/1 var(--sans); letter-spacing: -.01em; cursor: pointer; border-radius: 999px; transition: background .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease), transform .25s var(--spring); }
.btn:hover { background: var(--text); color: var(--bg); border-color: var(--text); }
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: var(--text); border-color: var(--text); color: var(--bg); }
.btn-primary:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn-chip { padding: 6px 1.6em 6px 6px; gap: 1.1em; }
.btn-chip::before { content: "\2192"; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 999px; background: var(--bg); color: var(--text); font-size: 1.05rem; transition: transform .45s var(--spring); }
.btn-chip:hover::before { transform: translateX(3px); }
.btn-block { width: 100%; }
.btn-sm { padding: .7em 1.2em; font-size: .82rem; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn-text { background: none; border: 0; padding: 0; color: var(--muted); text-decoration: underline; cursor: pointer; font: inherit; font-size: .85rem; }
.btn-text:hover { color: var(--text); }

label { display: block; font-size: .82rem; color: var(--muted); margin-bottom: .45rem; font-weight: 500; }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=tel], input[type=search], input[type=file], select, textarea {
  width: 100%; padding: .85em 1em; background: var(--card); color: var(--text); border: 1px solid var(--line-strong); border-radius: 12px; font: inherit; font-size: .95rem; transition: border-color .3s, box-shadow .3s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--text); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 30%, transparent); }
textarea { min-height: 120px; resize: vertical; }
.field { margin-bottom: 1.1rem; }
.field .err { color: var(--danger); font-size: .82rem; margin-top: .35rem; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--danger); }
.field .hint { color: var(--muted); font-size: .8rem; margin-top: .35rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0 18px; }
.check { display: flex; gap: .7em; align-items: flex-start; font-size: .9rem; color: var(--text); cursor: pointer; margin-bottom: .9rem; }
.check input { width: 18px; height: 18px; margin-top: .2em; accent-color: var(--text); flex: none; }

.flashes { position: fixed; top: calc(var(--header-h) + 12px); left: 50%; transform: translateX(-50%); z-index: 90; display: grid; gap: 8px; width: min(560px, 100% - 32px); }
.flash { padding: 14px 20px; border-radius: 16px; background: var(--card); border: 1px solid var(--line-strong); box-shadow: 0 16px 48px rgba(0, 0, 0, .14); font-size: .92rem; animation: flash-in .5s var(--ease), flash-out .5s 6s forwards; }
.flash.success { border-color: var(--ok); } .flash.error { border-color: var(--danger); }
@keyframes flash-in { from { opacity: 0; transform: translateY(-10px); } }
@keyframes flash-out { to { opacity: 0; transform: translateY(-10px); visibility: hidden; } }

/* ---------- Header: zwevende glazen pill ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--header-h); display: flex; align-items: center; transition: transform .55s var(--ease); pointer-events: none; }
.site-header > * { pointer-events: auto; }
.site-header.hide { transform: translateY(-110%); }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; height: 58px; padding: 0 8px 0 18px; position: relative; isolation: isolate; border: 1px solid var(--line); border-radius: 999px; box-shadow: 0 10px 34px rgba(0, 0, 0, .06); transition: box-shadow .4s; }
/* Glas op een pseudo-element: backdrop-filter op de pill zelf zou het fixed mobiele menu erin vangen */
.header-inner::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: color-mix(in srgb, var(--card) 76%, transparent); backdrop-filter: saturate(1.5) blur(18px); -webkit-backdrop-filter: saturate(1.5) blur(18px); transition: background .4s; }
.site-header.scrolled .header-inner { box-shadow: 0 14px 44px rgba(0, 0, 0, .12); }
.site-header.scrolled .header-inner::before { background: color-mix(in srgb, var(--card) 88%, transparent); }
.brand { font: 600 1.2rem/1 var(--sans); letter-spacing: -.03em; text-align: center; white-space: nowrap; }
.brand span { color: var(--accent); }
.nav { display: flex; gap: 2px; align-items: center; }
.nav a { white-space: nowrap; font-size: .9rem; color: var(--muted); padding: 9px 14px; border-radius: 999px; transition: color .3s, background .3s; }
.nav a:hover { color: var(--text); background: var(--line); }
.nav a.active { color: var(--text); background: var(--line); }
.tools { display: flex; justify-content: flex-end; align-items: center; gap: 2px; }
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 42px; height: 42px; background: none; border: 0; color: var(--text); cursor: pointer; border-radius: 50%; transition: background .3s, transform .25s var(--spring); }
.icon-btn:hover { background: var(--line); }
.icon-btn:active { transform: scale(.92); }
.icon-btn svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.cart-count { position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--accent); color: var(--accent-ink); font: 600 .66rem/1 var(--mono); display: grid; place-items: center; transition: transform .4s var(--spring); }
.cart-count.bump { transform: scale(1.5); }
.cart-count:empty, .cart-count[data-n="0"] { display: none; }
.menu-toggle { display: none; }
.search-pop { position: absolute; top: calc(100% - 4px); left: 0; right: 0; display: none; }
.search-pop .container { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 14px; box-shadow: 0 20px 60px rgba(0, 0, 0, .12); }
.search-pop.open { display: block; animation: drop .45s var(--ease); }
.search-pop form { display: flex; gap: 10px; }
.search-pop input { font-size: 1.1rem; padding: .9em 1.1em; border-radius: 999px; }
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } }
main { min-height: 70vh; }
.page-top { padding-top: calc(var(--header-h) + clamp(32px, 5vw, 64px)); }

/* ---------- Hero: afgerond canvas dat meeschaalt met scrollen ---------- */
.hero { --hp: 0; position: relative; margin: var(--frame); border-radius: calc(var(--frame-r) + var(--hp) * 24px); min-height: calc(100svh - var(--frame) * 2); display: flex; flex-direction: column; overflow: hidden; isolation: isolate; padding-top: var(--header-h);
  background: linear-gradient(180deg, #f4f3f1 0%, #ece9e4 58%, #34302b 100%); transform: scale(calc(1 - var(--hp) * .045)); transform-origin: 50% 0; will-change: transform; }
[data-theme="dark"] .hero { background: linear-gradient(180deg, #181817 0%, #121211 50%, #050505 100%); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(46% 56% at 76% 42%, color-mix(in srgb, var(--accent) 30%, transparent), transparent 70%); }
.hero-grid { flex: 1; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: clamp(24px, 4vw, 64px); padding-block: 24px; transform: translateY(calc(var(--hp) * 70px)); opacity: calc(1 - var(--hp) * 1.15); }
.hero h1 { margin-bottom: .3em; color: var(--muted); }
.hero h1 em { font-style: normal; color: var(--text); display: block; }
.hero .lead { margin-bottom: 2rem; color: color-mix(in srgb, var(--text) 78%, transparent); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.hero-side { display: flex; flex-direction: column; gap: 14px; min-height: 0; }
.hero-stage { position: relative; flex: 1; min-height: 260px; max-height: 54vh; width: 100%; }
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.4s var(--ease); }
#hero-canvas.ready { opacity: 1; }
.hero-fallback { position: absolute; inset: 4% 14%; display: grid; place-items: center; transition: opacity 1s; }
.hero-fallback .ph-svg { width: auto; height: 86%; filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .25)); animation: float 8s ease-in-out infinite; }
.hero-stage.has-3d .hero-fallback { opacity: 0; pointer-events: none; }
@keyframes float { 50% { transform: translateY(-12px) rotate(1.5deg); } }
.spot { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; align-items: center; padding: 10px 18px 10px 10px; background: color-mix(in srgb, var(--card) 80%, transparent); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid var(--line); border-radius: 26px; transition: transform .5s var(--spring), box-shadow .4s; }
.spot:hover { transform: translateY(-3px); box-shadow: 0 18px 44px rgba(0, 0, 0, .12); }
.spot-img { width: 76px; height: 76px; border-radius: 18px; overflow: hidden; background: var(--surface); }
.spot-img img, .spot-img .ph { width: 100%; height: 100%; object-fit: cover; }
.spot .ph-svg { width: 60%; }
.spot-meta small { display: block; font: 500 .68rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.spot-meta strong { display: block; font-weight: 500; font-size: 1.02rem; letter-spacing: -.02em; line-height: 1.2; }
.spot-meta span { font-size: .9rem; color: var(--muted); }
.spot-go { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--text); color: var(--bg); }
.spot-go svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.6; }
.hero-foot { color: #fff; padding-bottom: 6px; }
.hero-proof { font-size: .92rem; color: rgba(255, 255, 255, .86); max-width: 46ch; margin-bottom: 14px; }
[data-theme="dark"] .hero-proof { color: rgba(255, 255, 255, .7); }

/* Marquee (materialen) */
.usp { overflow: hidden; padding: 16px 0 22px; border-top: 1px solid rgba(255, 255, 255, .14); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.usp-track { display: flex; gap: 56px; width: max-content; animation: marquee 44s linear infinite; }
.usp:hover .usp-track { animation-play-state: paused; }
.usp-track span { font: 500 clamp(1.1rem, 1.8vw, 1.5rem)/1 var(--sans); letter-spacing: -.02em; color: rgba(255, 255, 255, .9); display: inline-flex; align-items: center; gap: 56px; white-space: nowrap; }
.usp-track span::after { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Hero: product-eerst (zoeken, categorieën en een rij echte producten) ---------- */
.hero, [data-theme="dark"] .hero { background: linear-gradient(180deg, #f4f3f1 0%, #ece9e4 100%); }
[data-theme="dark"] .hero { background: linear-gradient(180deg, #181817 0%, #121211 100%); }
.hero-grid { grid-template-columns: .85fr 1.15fr; align-items: center; }
.hero h1 { font-size: clamp(2.4rem, 4.6vw, 4.4rem); }
.hero-search { display: flex; gap: 6px; padding: 6px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; max-width: 480px; margin-bottom: 14px; }
.hero-search input { flex: 1; border: 0; background: transparent; box-shadow: none !important; padding-left: 1.1em; }
.cat-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.cat-chips a { padding: .5em 1.05em; border: 1px solid var(--line-strong); border-radius: 999px; font-size: .86rem; background: var(--card); transition: background .3s, color .3s, border-color .3s; }
.cat-chips a:hover { background: var(--text); color: var(--bg); border-color: var(--text); }
.hero-products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.hero-products .card-media { aspect-ratio: 5 / 4; }
.hero-products .card-cat, .hero-products .card-rating, .hero-products .card-quick { display: none; }
.hero-products .card-body { padding-top: 10px; }
.hero-products .card-title { font-size: .95rem; margin: .2em 0 .15em; }
.hero-products .card-price { font-size: .82rem; }
.hero-products .card-wish { display: none; }
.usp { margin: 0 14px 14px; padding: 14px 0; background: var(--text); border: 0; border-radius: 999px; -webkit-mask-image: none; mask-image: none; }
.usp-track span { color: var(--bg); font-size: clamp(.95rem, 1.4vw, 1.2rem); }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .hero-products { grid-template-columns: repeat(2, 1fr); } }

/* Cijfers */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.stat { padding: 28px 24px 8px 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line); }
.stat b { display: block; font: 500 clamp(2.2rem, 4vw, 3.4rem)/1 var(--mono); letter-spacing: -.05em; }
.stat span { display: block; margin-top: 10px; color: var(--muted); font-size: .92rem; }

/* ---------- Productkaarten ---------- */
.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(20px, 2.4vw, 32px) clamp(14px, 1.6vw, 20px); }
.products.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card { position: relative; display: block; }
.card-media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--surface); border-radius: var(--radius-lg); border: 1px solid var(--line); }
.card-media img, .card-media .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease), opacity .7s var(--ease); }
.card-media img.second { opacity: 0; }
.card:hover .card-media img.first { transform: scale(1.04); }
.card:hover .card-media img.second { opacity: 1; transform: scale(1.04); }
.card:hover .card-media .ph { transform: scale(1.05); }
.ph { background: radial-gradient(80% 60% at 50% 38%, color-mix(in srgb, var(--accent) 22%, var(--surface)), var(--surface) 75%); display: grid; place-items: center; }
.ph-svg { width: 46%; height: auto; }
.card-badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; z-index: 2; flex-wrap: wrap; }
.badge { padding: 5px 10px; font: 500 .64rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; background: var(--card); color: var(--text); border-radius: 999px; border: 1px solid var(--line); }
.badge.sale { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.badge.out { color: var(--muted); }
.card-wish { position: absolute; top: 8px; right: 8px; z-index: 3; opacity: 0; transition: opacity .4s; }
.card:hover .card-wish, .card-wish.on { opacity: 1; }
.card-wish.on svg { fill: var(--accent); stroke: var(--accent); }
.card-quick { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 3; transform: translateY(14px); opacity: 0; transition: transform .5s var(--ease), opacity .5s var(--ease); }
.card:hover .card-quick, .card:focus-within .card-quick { transform: none; opacity: 1; }
.card-quick .btn { background: color-mix(in srgb, var(--card) 86%, transparent); backdrop-filter: blur(10px); width: 100%; }
.card-quick .btn:hover { background: var(--text); color: var(--bg); }
.card-body { padding: 14px 4px 0; }
.card-cat { font: 500 .66rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.card-title { font-size: 1.12rem; line-height: 1.25; margin: .5em 0 .3em; font-weight: 500; letter-spacing: -.02em; }
.card-price { font: 500 .92rem var(--mono); display: flex; gap: 10px; align-items: baseline; letter-spacing: -.02em; }
.card-price s { color: var(--muted); font-size: .82rem; }
.card-rating { font-size: .75rem; color: var(--text); letter-spacing: .05em; margin-top: 2px; }

.tiles { display: grid; grid-template-columns: repeat(12, 1fr); gap: 12px; }
.tile { position: relative; overflow: hidden; border-radius: var(--radius-lg); min-height: 300px; grid-column: span 4; display: flex; align-items: end; padding: 26px; background: var(--surface); isolation: isolate; }
.tile:nth-child(1) { grid-column: span 7; } .tile:nth-child(2) { grid-column: span 5; }
.tile .ph, .tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transition: transform 1.2s var(--ease); }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(0, 0, 0, .62), transparent 60%); }
.tile:hover .ph, .tile:hover img { transform: scale(1.06); }
.tile h3 { margin: 0; color: #fff; font-size: 1.7rem; }
.tile small { display: block; color: rgba(255, 255, 255, .75); font: 500 .68rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; margin-top: 8px; }
.tile .arrow { position: absolute; right: 20px; bottom: 22px; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .16); backdrop-filter: blur(8px); color: #fff; transition: transform .5s var(--spring), background .3s; }
.tile .arrow svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.6; }
.tile:hover .arrow { transform: translateX(4px) rotate(-12deg); background: var(--accent); color: var(--accent-ink); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.split-visual { aspect-ratio: 1; border-radius: var(--radius-lg); background: radial-gradient(70% 60% at 50% 45%, color-mix(in srgb, var(--accent) 28%, var(--surface)), var(--surface) 80%); display: grid; place-items: center; position: relative; overflow: hidden; border: 1px solid var(--line); }
.split-visual .ph-svg { width: 50%; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .2)); }
.steps { list-style: none; padding: 0; margin: 2rem 0; display: grid; gap: 0; counter-reset: s; border-top: 1px solid var(--line); }
.steps li { counter-increment: s; display: grid; grid-template-columns: 56px 1fr; gap: 14px; align-items: start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.steps li::before { content: "0" counter(s); font: 500 .85rem/1.9 var(--mono); color: var(--muted); }
.steps strong { display: block; font-weight: 500; letter-spacing: -.01em; }
.steps span { color: var(--muted); font-size: .92rem; }

/* Sticky stack: stappen schuiven over elkaar tijdens het scrollen */
.stack { display: grid; gap: 14px; }
.stack-card { position: sticky; top: calc(var(--header-h) + var(--i, 0) * 16px); display: grid; grid-template-columns: 90px 1fr auto; gap: 24px; align-items: center; padding: 28px 32px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: 0 -10px 30px rgba(0, 0, 0, .04); }
.stack-card .n { font: 500 2.4rem/1 var(--mono); letter-spacing: -.05em; color: var(--muted); }
.stack-card h3 { margin: 0 0 .15em; }
.stack-card p { margin: 0; color: var(--muted); }
.stack-card .tag { font: 500 .68rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; padding: .7em 1em; border: 1px solid var(--line-strong); border-radius: 999px; white-space: nowrap; }

.mats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.mat { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); transition: transform .5s var(--spring), background .4s, border-color .4s; }
.mat:hover { transform: translateY(-4px); background: var(--bg); border-color: var(--line-strong); }
.mat h3 { margin-bottom: .2em; }
.mat p { color: var(--muted); font-size: .9rem; }
.meter { display: grid; grid-template-columns: 78px 1fr; align-items: center; gap: 10px; font: 500 .66rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }
.meter i { display: block; height: 4px; background: var(--line-strong); border-radius: 2px; position: relative; overflow: hidden; }
.meter i b { position: absolute; inset: 0 auto 0 0; background: var(--text); border-radius: 2px; transform-origin: left; transform: scaleX(0); transition: transform 1.2s var(--ease) .2s; }
.is-visible .meter i b, .meter.is-visible i b { transform: scaleX(1); }

.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.review { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--card); }
.review .stars { color: var(--text); letter-spacing: .1em; margin-bottom: 12px; }
.review blockquote { margin: 0 0 18px; font-size: 1.2rem; line-height: 1.4; letter-spacing: -.02em; }
.review cite { font-style: normal; font-size: .82rem; color: var(--muted); }

.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.post-card .thumb { aspect-ratio: 3 / 2; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); margin-bottom: 16px; }
.post-card .thumb img, .post-card .thumb .ph { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.post-card:hover .thumb img, .post-card:hover .thumb .ph { transform: scale(1.05); }
.post-card h3 { font-size: 1.3rem; margin-bottom: .3em; }
.post-card time { font: 500 .68rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }

.portfolio { columns: 3; column-gap: 16px; }
.work { break-inside: avoid; margin-bottom: 16px; position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--card); border: 1px solid var(--line); }
.work .ph, .work img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.work:nth-child(3n+2) .ph, .work:nth-child(3n+2) img { aspect-ratio: 1; }
.work figcaption { padding: 16px 20px 20px; }
.work h3 { font-size: 1.2rem; margin-bottom: .15em; }
.work small { color: var(--muted); font: 500 .66rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; }

.newsletter { text-align: center; }
.newsletter form { display: flex; gap: 8px; max-width: 520px; margin: 28px auto 0; padding: 6px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; }
.newsletter input { flex: 1; border: 0; background: transparent; box-shadow: none !important; }

/* ---------- Footer ---------- */
.site-footer { background: var(--text); color: var(--bg); margin: var(--frame); border-radius: var(--frame-r); padding: clamp(48px, 6vw, 80px) 0 28px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px; }
.site-footer .brand { font-size: 1.6rem; }
.site-footer h4 { font: 500 .7rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; opacity: .55; margin-bottom: 1.3em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { opacity: .78; transition: opacity .3s; } .site-footer a:hover { opacity: 1; }
.site-footer .muted { color: inherit; opacity: .6; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 24px; opacity: .65; font-size: .8rem; }
[data-theme="dark"] .site-footer { background: var(--card); color: var(--text); }
[data-theme="dark"] .footer-bottom { border-color: var(--line); }
.pay-icons { display: flex; gap: 8px; flex-wrap: wrap; }
.pay-icons span { border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; padding: 4px 11px; font: 500 .66rem/1 var(--mono); letter-spacing: .04em; }

/* ---------- Shoplijst ---------- */
.page-head { margin-bottom: clamp(28px, 4vw, 52px); max-width: 900px; }
.page-head h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); margin-bottom: .2em; }
.shop-layout { display: grid; grid-template-columns: 240px 1fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.filters { position: sticky; top: calc(var(--header-h) + 16px); background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 6px 20px; }
.filter-group { border-top: 1px solid var(--line); padding: 18px 0; }
.filter-group:first-child { border-top: 0; }
.filter-group h4 { font: 500 .68rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.filter-group a { display: flex; justify-content: space-between; padding: 6px 0; color: var(--muted); font-size: .92rem; transition: color .3s, padding .3s; }
.filter-group a:hover, .filter-group a.active { color: var(--text); padding-left: 6px; }
.filter-group a.active { font-weight: 600; }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; color: var(--muted); font-size: .88rem; }
.toolbar select { width: auto; padding: .6em 2.2em .6em 1em; border-radius: 999px; }
.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 56px; }
.pagination a, .pagination span { min-width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; font: 500 .85rem var(--mono); transition: all .3s; background: var(--card); }
.pagination a:hover { background: var(--text); color: var(--bg); }
.pagination .current { background: var(--text); border-color: var(--text); color: var(--bg); }
.empty { text-align: center; padding: 80px 0; color: var(--muted); }
.filter-toggle { display: none; }

/* ---------- Productpagina ---------- */
.crumbs { font: 500 .72rem/1 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin-bottom: 24px; }
.crumbs a:hover { color: var(--text); } .crumbs span { margin-inline: .6em; opacity: .5; }
.product-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.gallery { position: sticky; top: calc(var(--header-h) + 16px); }
.gallery-main { position: relative; aspect-ratio: 1; background: var(--surface); border: 1px solid var(--line); border-radius: var(--frame-r); overflow: hidden; cursor: zoom-in; }
.gallery-main img, .gallery-main .ph { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), opacity .4s; }
.gallery-main.zoom img { transform: scale(1.8); cursor: zoom-out; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 10px; }
.gallery-thumbs button { aspect-ratio: 1; padding: 0; border: 1px solid var(--line); background: var(--surface); border-radius: 16px; overflow: hidden; cursor: pointer; opacity: .6; transition: opacity .3s, border-color .3s; }
.gallery-thumbs button.on, .gallery-thumbs button:hover { opacity: 1; border-color: var(--text); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.viewer-toggle { position: absolute; left: 12px; bottom: 12px; z-index: 4; }
#model-viewer { position: absolute; inset: 0; z-index: 3; background: radial-gradient(70% 70% at 50% 40%, color-mix(in srgb, var(--accent) 18%, var(--surface)), var(--surface)); display: none; cursor: grab; }
#model-viewer.on { display: block; } #model-viewer canvas { width: 100% !important; height: 100% !important; }
.viewer-note { position: absolute; bottom: 14px; right: 14px; z-index: 5; font: 500 .66rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); pointer-events: none; }
.product-info h1 { font-size: clamp(2.2rem, 4vw, 3.4rem); margin-bottom: .2em; }
.product-price { display: flex; align-items: baseline; gap: 14px; font: 500 1.6rem var(--mono); letter-spacing: -.04em; margin: .4rem 0 1.4rem; }
.product-price s { color: var(--muted); font-size: 1.05rem; }
.product-price small { color: var(--muted); font: 400 .78rem var(--sans); letter-spacing: 0; }
.option-label { display: flex; justify-content: space-between; margin-bottom: 10px; font: 500 .7rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.variants { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.variant { position: relative; }
.variant input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.variant span { display: block; padding: .7em 1.2em; border: 1px solid var(--line-strong); border-radius: 999px; font-size: .88rem; transition: all .3s; background: var(--card); }
.variant input:checked + span { border-color: var(--text); background: var(--text); color: var(--bg); }
.variant input:disabled + span { opacity: .4; text-decoration: line-through; }
.variant input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.buy-row { display: flex; gap: 10px; margin-bottom: 14px; }
.qty { display: inline-flex; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--card); }
.qty button { width: 44px; background: none; border: 0; color: var(--text); font-size: 1.1rem; cursor: pointer; border-radius: 999px; }
.qty input { width: 44px; border: 0; background: none; text-align: center; padding: 0; box-shadow: none !important; -moz-appearance: textfield; font-family: var(--mono); }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.facts { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 12px; border-top: 1px solid var(--line); padding-top: 24px; font-size: .9rem; }
.facts li { display: flex; gap: 12px; color: var(--muted); } .facts b { color: var(--text); font-weight: 500; }
.personalize { padding: 22px; border: 1px dashed var(--line-strong); border-radius: var(--radius-lg); margin-bottom: 24px; background: var(--card); }
.personalize h4 { font: 500 .7rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.pers-fonts { display: flex; gap: 8px; margin: 10px 0 14px; flex-wrap: wrap; }
.pers-fonts label { margin: 0; cursor: pointer; } .pers-fonts input { position: absolute; opacity: 0; }
.pers-fonts span { display: block; padding: .4em .9em; border: 1px solid var(--line-strong); border-radius: 30px; font-size: 1rem; color: var(--text); }
.pers-fonts input:checked + span { background: var(--text); color: var(--bg); border-color: var(--text); }
.pers-preview { margin-top: 10px; min-height: 76px; border-radius: 16px; background: linear-gradient(145deg, color-mix(in srgb, var(--accent) 36%, #2a2622), #1b1815); display: grid; place-items: center; padding: 14px; overflow: hidden; }
.pers-preview span { font-size: 1.7rem; color: transparent; background: linear-gradient(180deg, rgba(0, 0, 0, .55), rgba(255, 255, 255, .22)); -webkit-background-clip: text; background-clip: text; text-shadow: 0 1px 0 rgba(255, 255, 255, .25); word-break: break-word; text-align: center; }
.f-serif { font-family: var(--sans); font-weight: 700; } .f-sans { font-family: var(--sans); font-weight: 500; letter-spacing: .06em; text-transform: uppercase; } .f-script { font-family: "Brush Script MT", "Segoe Script", cursive; } .f-mono { font-family: var(--mono); }
.accordion details { border-top: 1px solid var(--line); padding: 18px 0; }
.accordion details:last-child { border-bottom: 1px solid var(--line); }
.accordion summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; font: 500 .74rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.accordion summary::after { content: "+"; font-size: 1.2rem; line-height: .8; transition: transform .4s var(--spring); }
.accordion details[open] summary::after { transform: rotate(45deg); }
.accordion summary::-webkit-details-marker { display: none; }
.accordion details > *:not(summary) { margin-top: 14px; color: var(--muted); font-size: .95rem; }
.prose { max-width: 70ch; } .prose h2 { font-size: 1.8rem; margin-top: 1.6em; } .prose a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--accent); text-decoration-thickness: 2px; } .prose img { border-radius: var(--radius-lg); margin-block: 1.5em; } .prose li { margin-bottom: .4em; }
.prose details { border-top: 1px solid var(--line); padding: 16px 0; } .prose details:last-of-type { border-bottom: 1px solid var(--line); } .prose summary { cursor: pointer; font-size: 1.2rem; letter-spacing: -.02em; }
.bundle { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius-lg); margin-top: 56px; background: var(--card); }
.reviews-list .review { margin-bottom: 12px; } .reviews-list .review img { max-width: 160px; border-radius: 14px; margin-top: 12px; }
.rating-input { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.rating-input input { position: absolute; opacity: 0; } .rating-input label { font-size: 1.7rem; color: var(--line-strong); cursor: pointer; margin: 0; transition: color .2s; }
.rating-input label:hover, .rating-input label:hover ~ label, .rating-input input:checked ~ label { color: var(--accent); }

/* ---------- Winkelwagen / drawer / checkout / account ---------- */
.drawer-backdrop { position: fixed; inset: 0; z-index: 70; background: rgba(15, 15, 15, .4); backdrop-filter: blur(3px); opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility .5s; }
.drawer { position: fixed; top: 10px; right: 10px; bottom: 10px; z-index: 71; width: min(440px, 100% - 20px); background: var(--bg); border: 1px solid var(--line); border-radius: 32px; transform: translateX(110%); transition: transform .65s var(--ease); display: flex; flex-direction: column; overflow: hidden; }
body.drawer-open .drawer { transform: none; } body.drawer-open .drawer-backdrop { opacity: 1; visibility: visible; } body.drawer-open { overflow: hidden; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { margin: 0; font-size: 1.4rem; }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 24px; }
.drawer-foot { padding: 20px 24px; border-top: 1px solid var(--line); background: var(--card); }
.ship-progress { padding: 16px 24px; border-bottom: 1px solid var(--line); font-size: .85rem; color: var(--muted); }
.bar { height: 4px; background: var(--line-strong); border-radius: 2px; margin-top: 10px; overflow: hidden; } .bar b { display: block; height: 100%; background: var(--accent); border-radius: 2px; transition: width .8s var(--ease); }
.line { display: grid; grid-template-columns: 76px 1fr auto; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: start; }
.line-img { aspect-ratio: 1; background: var(--surface); border-radius: 16px; overflow: hidden; } .line-img img, .line-img .ph { width: 100%; height: 100%; object-fit: cover; }
.line h4 { font-size: .95rem; font-weight: 500; margin: 0 0 2px; letter-spacing: -.01em; }
.line small { color: var(--muted); display: block; font-size: .8rem; }
.line .err { color: var(--danger); font-size: .8rem; }
.line-actions { display: flex; align-items: center; gap: 14px; margin-top: 10px; }
.qty.sm button { width: 30px; height: 30px; } .qty.sm input { width: 34px; height: 30px; font-size: .85rem; }
.totals { display: grid; gap: 8px; font-size: .95rem; } .totals div { display: flex; justify-content: space-between; } .totals .grand { font-size: 1.1rem; font-weight: 500; padding-top: 10px; border-top: 1px solid var(--line); margin-top: 6px; } .totals .grand span:last-child { font: 500 1.6rem var(--mono); letter-spacing: -.05em; }
.cart-layout, .checkout-layout { display: grid; grid-template-columns: 1.4fr .8fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.panel { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--card); }
.panel h3 { font-size: 1.4rem; }
.panel + .panel { margin-top: 14px; }
.sticky { position: sticky; top: calc(var(--header-h) + 16px); }
.ship-opt { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border: 1px solid var(--line-strong); border-radius: 18px; margin-bottom: 10px; cursor: pointer; transition: border-color .3s, background .3s; }
.ship-opt:has(input:checked) { border-color: var(--text); background: var(--surface); }
.ship-opt input { accent-color: var(--text); } .ship-opt span:last-child { margin-left: auto; font-family: var(--mono); }
.coupon { display: flex; gap: 8px; margin-top: 16px; } .coupon input { text-transform: uppercase; }
.notice { padding: 14px 18px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--accent); font-size: .9rem; margin-bottom: 20px; }
.notice.error { border-left-color: var(--danger); }

/* Bestelstatus / print voortgang */
.progress { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 28px 0 8px; position: relative; }
.progress div { text-align: center; font: 500 .68rem/1.3 var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--muted); position: relative; padding-top: 30px; }
.progress div::before { content: ""; position: absolute; top: 6px; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--bg); z-index: 2; }
.progress div::after { content: ""; position: absolute; top: 12px; left: -50%; width: 100%; height: 2px; background: var(--line-strong); z-index: 1; }
.progress div:first-child::after { display: none; }
.progress div.done { color: var(--text); } .progress div.done::before { background: var(--accent); border-color: var(--accent); } .progress div.done::after { background: var(--accent); }
.progress div.now::before { box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 30%, transparent); animation: pulse 2.2s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 9px color-mix(in srgb, var(--accent) 8%, transparent); } }
.badge-status { display: inline-block; padding: 5px 12px; border-radius: 999px; font: 500 .66rem/1 var(--mono); letter-spacing: .04em; text-transform: uppercase; border: 1px solid var(--line-strong); }
.badge-status.accent { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
table.plain { width: 100%; border-collapse: collapse; } table.plain th, table.plain td { padding: 14px 10px; text-align: left; border-bottom: 1px solid var(--line); font-size: .92rem; } table.plain th { font: 500 .66rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.table-wrap { overflow-x: auto; }

/* Maatwerk */
.drop { border: 1px dashed var(--line-strong); border-radius: var(--radius-lg); padding: 38px 20px; text-align: center; cursor: pointer; transition: border-color .3s, background .3s; position: relative; background: var(--surface); }
.drop:hover, .drop.over { border-color: var(--text); background: var(--card); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop strong { font-size: 1.3rem; font-weight: 500; display: block; margin-bottom: 4px; letter-spacing: -.02em; }
.swatches { display: flex; flex-wrap: wrap; gap: 10px; }
.swatch { position: relative; } .swatch input { position: absolute; opacity: 0; }
.swatch span { display: block; width: 38px; height: 38px; border-radius: 50%; border: 2px solid transparent; box-shadow: inset 0 0 0 2px var(--bg), 0 0 0 1px var(--line-strong); transition: all .3s var(--spring); }
.swatch input:checked + span { box-shadow: inset 0 0 0 2px var(--bg), 0 0 0 2px var(--text); transform: scale(1.1); }
.estimate { padding: 24px; border: 1px solid var(--line-strong); border-radius: var(--radius-lg); background: var(--card); }
.estimate .big { font: 500 2.6rem/1 var(--mono); letter-spacing: -.06em; margin: 6px 0 12px; }
.estimate dl { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; margin: 0; font-size: .88rem; color: var(--muted); } .estimate dd { margin: 0; text-align: right; color: var(--text); font-family: var(--mono); }
#preview-3d { aspect-ratio: 4 / 3; border-radius: var(--radius-lg); background: radial-gradient(70% 70% at 50% 40%, color-mix(in srgb, var(--accent) 18%, var(--surface)), var(--surface)); margin-top: 14px; display: none; position: relative; }
#preview-3d.on { display: block; }

/* Cookiebanner */
.cookie { position: fixed; left: 20px; bottom: 20px; z-index: 80; width: min(430px, 100% - 40px); padding: 24px; background: var(--card); border: 1px solid var(--line); border-radius: 28px; box-shadow: 0 30px 80px rgba(0, 0, 0, .18); transform: translateY(30px); opacity: 0; visibility: hidden; transition: all .7s var(--ease); font-size: .88rem; }
.cookie.show { transform: none; opacity: 1; visibility: visible; } .cookie p { color: var(--muted); } .cookie .row { display: flex; gap: 10px; }

/* ---------- Animatie ---------- */
/* Alleen verbergen als JS draait (html.js): zonder JS blijft alle inhoud gewoon zichtbaar */
.js [data-reveal] { opacity: 0; transform: translateY(32px) scale(.985); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js [data-reveal="fade"] { transform: none; } .js [data-reveal="left"] { transform: translateX(-32px); } .js [data-reveal="right"] { transform: translateX(32px); }
.js [data-reveal="left"].is-visible, .js [data-reveal="right"].is-visible { transform: none; }
/* Koppen: woord voor woord (scroll.js splitst de woorden) */
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
[data-split] .w > i { display: inline-block; font-style: normal; transform: translateY(105%); transition: transform .9s var(--ease); transition-delay: calc(var(--wi, 0) * 55ms); }
[data-split].is-visible .w > i { transform: none; }
/* Home: zachte snap per sectie, alleen op de homepage */
body.is-home { scroll-snap-type: y proximity; }
body.is-home .hero, body.is-home .section { scroll-snap-align: start; }
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: .28s var(--ease) both vt-out; } ::view-transition-new(root) { animation: .5s var(--ease) both vt-in; }
@keyframes vt-out { to { opacity: 0; } } @keyframes vt-in { from { opacity: 0; transform: translateY(8px); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  [data-split] .w > i { transform: none; }
  .usp-track { animation: none; }
  .hero { transform: none; } .hero-grid { transform: none; opacity: 1; }
  body.is-home { scroll-snap-type: none; }
}

/* ---------- Responsief ---------- */
@media (max-width: 1100px) {
  .products { grid-template-columns: repeat(3, 1fr); }
  .mats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr 1fr; } .stat:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 900px) {
  :root { --header-h: 70px; --frame-r: 28px; }
  .header-inner { grid-template-columns: auto 1fr auto; gap: 8px; padding-left: 8px; }
  .brand { text-align: left; }
  .menu-toggle { display: inline-grid; }
  .nav { position: fixed; inset: calc(var(--header-h) + 8px) 10px 10px 10px; background: var(--card); border: 1px solid var(--line); border-radius: 32px; flex-direction: column; justify-content: center; gap: 6px; transform: translateY(-120%); visibility: hidden; transition: transform .6s var(--ease), visibility 0s .6s; z-index: 49; }
  .nav a { font-size: 1.6rem; letter-spacing: -.03em; color: var(--text); padding: 10px 22px; }
  body.nav-open .nav { transform: none; visibility: visible; transition-delay: 0s; } body.nav-open { overflow: hidden; }
  .header-inner > div:first-child { order: 3; } .header-inner .brand { order: 1; } .header-inner .tools { order: 2; }
  .hero-grid, .split, .cart-layout, .checkout-layout, .product-layout { grid-template-columns: 1fr; }
  .hero { min-height: auto; } .hero-stage { max-height: 38vh; min-height: 220px; order: -1; }
  .gallery, .sticky, .filters { position: static; }
  .shop-layout { grid-template-columns: 1fr; } .filters { display: none; } .filters.open { display: block; } .filter-toggle { display: inline-flex; }
  .tiles { grid-template-columns: 1fr 1fr; } .tile, .tile:nth-child(1), .tile:nth-child(2) { grid-column: span 1; min-height: 240px; }
  .reviews, .posts { grid-template-columns: 1fr; } .portfolio { columns: 2; }
  .split-visual { aspect-ratio: 4 / 3; }
  .stack-card { grid-template-columns: 56px 1fr; } .stack-card .tag { display: none; }
  body.is-home { scroll-snap-type: none; }
}
@media (max-width: 640px) {
  .container { width: calc(100% - 32px); }
  .products, .products.cols-3 { grid-template-columns: repeat(2, 1fr); gap: 22px 12px; }
  .card-title { font-size: 1rem; } .card-quick { display: none; }
  .mats { grid-template-columns: 1fr; } .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .portfolio { columns: 1; } .footer-grid { grid-template-columns: 1fr; }
  .newsletter form { flex-direction: column; border-radius: 28px; } .tiles { grid-template-columns: 1fr; }
  .progress div { font-size: .58rem; }
  .line { grid-template-columns: 64px 1fr; } .line > :last-child { grid-column: 2; }
  .stats { grid-template-columns: 1fr 1fr; } .spot { grid-template-columns: 60px 1fr auto; } .spot-img { width: 60px; height: 60px; }
}
@media print { .site-header, .site-footer, .cookie, .drawer, .drawer-backdrop { display: none !important; } body { background: #fff; color: #000; } }
.card-wish.on-product { position: static; }
