/* Van Eijk & van der Sterren, demo-homepage
   Basis: koel lichtgrijs uit het logo, merkrood als enige accent, Source Sans 3 (humanistisch, verwant aan TheSans uit het logo).
   Hoeken: overal scherp (2px), net als het beeldmerk. */

@font-face {
  font-family: "Source Sans 3";
  src: url("../assets/fonts/source-sans-3-latin.woff2") format("woff2");
  font-weight: 200 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../assets/fonts/source-sans-3-latin-italic.woff2") format("woff2");
  font-weight: 200 900; font-style: italic; font-display: swap;
}

:root {
  --bg: #f3f3f2;
  --surface: #fbfbfa;
  --ink: #1d1f22;
  --muted: #53565b;
  --line: #d6d7d8;
  --grey-1: #9d9ea1;   /* linkervlak logo */
  --grey-2: #b1b2b4;   /* bovenvlak logo */
  --red: #e2001a;      /* merkrood, voor vlakken en knoppen */
  --red-ink: #c4001a;  /* rood voor tekst op licht */
  --on-red: #ffffff;
  --shadow: 0 18px 50px -24px rgb(40 42 46 / .35);
  --radius: 2px;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --header-h: 72px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #151618;
    --surface: #1d1f22;
    --ink: #ececeb;
    --muted: #a9abaf;
    --line: #34373b;
    --grey-1: #5d5f63;
    --grey-2: #74767a;
    --red-ink: #ff5a66;
    --logo-red: #ff3347;
    --shadow: 0 18px 50px -24px rgb(0 0 0 / .7);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-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; background: var(--bg); color: var(--ink);
  font: 400 1.0625rem/1.6 "Source Sans 3", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.05; font-weight: 800; letter-spacing: -.02em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
a, button, input, textarea, label { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: var(--radius); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 16px; text-decoration: none; }
.skip:focus { top: 12px; }
.top-sentinel { position: absolute; top: 0; left: 0; width: 1px; height: 8px; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.i { width: 1.15em; height: 1.15em; fill: currentColor; flex: none; }

/* Knoppen */
.btn {
  display: inline-flex; align-items: center; gap: .6em; white-space: nowrap;
  min-height: 52px; padding: 0 1.4em; border-radius: var(--radius);
  font-weight: 700; font-size: 1.0625rem; text-decoration: none; border: 2px solid transparent;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .15s ease-out;
  cursor: pointer;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--red); color: var(--on-red); }
.btn-primary:hover { background: #c20016; }
.btn-primary .i { transition: transform .3s var(--ease); }
.btn-primary:hover .i { transform: translateX(4px); }
.btn-ghost { border-color: currentColor; color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.text-link { display: inline-flex; align-items: center; gap: .45em; font-weight: 700; color: var(--red-ink); text-decoration: none; margin-top: 1.25rem; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.text-link .i { transition: transform .3s var(--ease); }
.text-link:hover .i { transform: translateX(4px); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(16px) saturate(160%); -webkit-backdrop-filter: blur(16px) saturate(160%);
  transition: box-shadow .3s ease;
}
.site-header.is-scrolled { box-shadow: 0 1px 0 var(--line); }
@media (prefers-reduced-transparency: reduce) { .site-header { background: var(--bg); backdrop-filter: none; } }
.header-inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand-mark { width: 46px; height: auto; flex: none; }
.brand-mark .f-left { fill: var(--grey-1); }
.brand-mark .f-top { fill: var(--grey-2); }
.brand-mark .f-bottom { fill: var(--red); }
.brand-word { display: grid; line-height: .95; font-weight: 800; text-transform: uppercase; font-size: 1.02rem; letter-spacing: .005em; color: var(--muted); }
.brand-word em { font-style: normal; color: var(--logo-red, var(--red)); }
.brand-word small { font-size: max(.6rem, 10px); letter-spacing: .06em; margin-top: 4px; font-weight: 700; }
.menu { display: flex; gap: 4px; }
.menu a { display: block; padding: 10px 14px; font-weight: 600; text-decoration: none; border-radius: var(--radius); transition: color .2s; }
.menu a:hover { color: var(--red-ink); }
.header-call { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; padding: 10px 14px; border: 2px solid var(--line); border-radius: var(--radius); transition: border-color .2s; }
.header-call:hover { border-color: var(--red); }
.nav-toggle { display: none; }

@media (max-width: 860px) {
  :root { --header-h: 64px; }
  .brand-mark { width: 40px; }
  .brand-word { font-size: .92rem; }
  .header-call span { display: none; }
  .header-call { order: 2; padding: 10px; min-width: 44px; min-height: 44px; justify-content: center; }
  .nav { order: 3; }
  .nav-toggle { display: grid; place-items: center; width: 44px; height: 44px; background: none; border: 2px solid var(--line); border-radius: var(--radius); cursor: pointer; }
  .bars, .bars::before, .bars::after { display: block; width: 18px; height: 2px; background: currentColor; position: relative; transition: transform .3s var(--ease), background-color .2s; }
  .bars::before, .bars::after { content: ""; position: absolute; left: 0; }
  .bars::before { top: -6px; } .bars::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] .bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-6px) rotate(-45deg); }
  .menu { position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; gap: 0; padding: 8px var(--gutter) 20px; background: var(--bg); box-shadow: 0 12px 30px -12px rgb(0 0 0 / .25); visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s .25s; }
  .menu.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .menu a { padding: 14px 0; font-size: 1.25rem; border-bottom: 1px solid var(--line); border-radius: 0; }
}

/* Hero */
.hero { padding-block: clamp(28px, 6vh, 72px) clamp(56px, 9vh, 104px); overflow: clip; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 5vw, 72px); align-items: center; min-height: min(calc(100dvh - var(--header-h) - 120px), 720px); }
.hero-title { font-size: clamp(3rem, 7.2vw, 6.4rem); font-weight: 900; line-height: .94; letter-spacing: -.035em; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .line > span { display: inline-block; }
.hero-title .line:last-child > span { color: var(--red-ink); }
.hero-sub { margin-top: 28px; max-width: 42ch; font-size: clamp(1.125rem, 1.5vw, 1.3rem); color: var(--muted); line-height: 1.5; }
.hero-cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero-cube { margin: 0; position: relative; }
.hero-cube svg { width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 30px 40px rgb(40 42 46 / .18)); }
.hero-cube .tint { fill: var(--red); mix-blend-mode: multiply; opacity: .78; }
.face { transform-box: view-box; }
.cube-legend { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 18px; font-size: .95rem; color: var(--muted); }
.cube-legend b { color: var(--ink); font-weight: 700; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; gap: 36px; }
  .hero-cube { max-width: 460px; justify-self: center; width: 92%; }
  .hero-title { font-size: clamp(2.9rem, 13vw, 4.6rem); }
}

/* Standaard */
.standard { padding-block: clamp(72px, 12vw, 150px); border-top: 1px solid var(--line); }
.standard-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 32px 24px; }
.standard-title { grid-column: 1 / span 5; font-size: clamp(2rem, 3.6vw, 3.2rem); font-weight: 800; }
.standard-list { grid-column: 7 / span 6; display: grid; gap: 28px; }
.standard-list li { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start; }
.standard-list .num { font-weight: 900; font-size: 3.4rem; line-height: .8; color: var(--red-ink); font-variant-numeric: tabular-nums; }
.standard-list p { font-size: clamp(1.35rem, 2.1vw, 1.75rem); font-weight: 600; line-height: 1.25; letter-spacing: -.01em; }
.standard-body { grid-column: 7 / span 5; color: var(--muted); max-width: 60ch; }
@media (max-width: 860px) {
  .standard-title, .standard-list, .standard-body { grid-column: 1 / -1; }
}

/* Diensten */
.services { padding-block: clamp(72px, 10vw, 130px); background: var(--surface); }
.section-title { font-size: clamp(2rem, 3.8vw, 3.4rem); font-weight: 800; }
.services-grid { margin-top: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); }
.services-sticky { position: sticky; top: calc(var(--header-h) + 5vh); display: grid; gap: 28px; }
.svc-cube { width: min(240px, 60%); height: auto; }
.svc-cube polygon { fill: var(--grey-2); transition: fill .5s var(--ease), transform .6s var(--ease); transform-box: fill-box; transform-origin: center; }
.svc-cube .f-left { fill: var(--grey-1); }
.svc-cube[data-active="top"] .f-top,
.svc-cube[data-active="left"] .f-left,
.svc-cube[data-active="bottom"] .f-bottom { fill: var(--red); transform: scale(1.04); }
.svc-photos { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); background: var(--line); }
.svc-photos img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity .6s var(--ease), transform 1.2s var(--ease); }
.svc-photos img.is-active { opacity: 1; transform: none; }
.svc { padding-block: clamp(20px, 6vh, 64px); min-height: 62vh; display: flex; flex-direction: column; justify-content: center; }
.svc + .svc { border-top: 1px solid var(--line); }
.svc h3 { font-size: clamp(1.9rem, 3vw, 2.6rem); font-weight: 800; transition: color .4s var(--ease); }
.svc.is-active h3 { color: var(--red-ink); }
.svc-lead { margin-top: 16px; font-size: 1.25rem; font-weight: 600; line-height: 1.4; max-width: 44ch; }
.svc p:not(.svc-lead) { margin-top: 14px; color: var(--muted); max-width: 60ch; }
.svc-inline { display: none; }
.reno { margin: 20px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 28px; }
.reno div { border-top: 2px solid var(--ink); padding-top: 10px; }
.reno dt { font-weight: 800; }
.reno dd { margin: 4px 0 0; color: var(--muted); font-size: .98rem; line-height: 1.45; }
@media (max-width: 860px) {
  .services-grid { grid-template-columns: 1fr; }
  .services-visual { display: none; }
  .svc { min-height: 0; padding-block: 36px; }
  .svc-inline { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); margin-bottom: 22px; }
  .reno { grid-template-columns: 1fr; }
}

/* Totaalpakket */
.package { background: var(--red); color: var(--on-red); padding-block: clamp(64px, 9vw, 120px); position: relative; overflow: hidden; }
.package::after { /* het beeldmerk als groot watermerk */
  content: ""; position: absolute; right: -4%; bottom: -30%; width: 46vw; max-width: 620px; aspect-ratio: 153 / 133; opacity: .12; pointer-events: none;
  background: url("../assets/favicon.svg") center / contain no-repeat; filter: brightness(0) invert(1);
}
.package-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 5fr 7fr; gap: 32px clamp(32px, 6vw, 96px); align-items: start; }
.package-title { font-size: clamp(2.4rem, 5vw, 4.4rem); font-weight: 900; letter-spacing: -.03em; }
.package-points { display: grid; gap: 24px; font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.45; }
.package-points strong { display: block; font-size: 1.2em; font-weight: 800; margin-bottom: 4px; }
@media (max-width: 860px) { .package-grid { grid-template-columns: 1fr; } }

/* Werkwijze */
.process { padding-block: clamp(72px, 10vw, 140px); }
.process-grid { display: grid; grid-template-columns: 6fr 5fr; gap: clamp(32px, 6vw, 96px); }
.process-sticky { position: sticky; top: calc(var(--header-h) + 5vh); }
.process-frame { position: relative; aspect-ratio: 596 / 446; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); background: var(--line); }
.process-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .7s var(--ease); }
.process-frame img.is-active { opacity: 1; }
.process-caption { margin-top: 14px; font-weight: 700; color: var(--muted); }
.process-intro { margin-top: 16px; font-size: 1.2rem; color: var(--muted); max-width: 40ch; }
.steps { margin-top: 36px; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding: 18px 0 18px 64px; border-top: 1px solid var(--line); transition: opacity .4s var(--ease); }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 14px; width: 42px; height: 42px; display: grid; place-items: center; font-weight: 800; border: 2px solid var(--line); border-radius: var(--radius); transition: background-color .4s var(--ease), border-color .4s var(--ease), color .4s var(--ease); }
.steps li.is-on::before { background: var(--red); border-color: var(--red); color: var(--on-red); }
.steps h3 { font-size: 1.3rem; font-weight: 800; letter-spacing: -.01em; }
.steps p { margin-top: 4px; color: var(--muted); }
@media (max-width: 860px) {
  .process-grid { grid-template-columns: 1fr; }
  .process-sticky { position: static; }
  .process-visual { order: 2; }
}

/* Projecten */
.projects { padding-block: clamp(72px, 10vw, 130px); background: var(--surface); }
.projects-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px 32px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 44px; padding: 0 16px; border: 2px solid var(--line); background: transparent; border-radius: var(--radius); font-weight: 700; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.chip:hover { border-color: var(--ink); }
.chip.is-active { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.project-grid { margin-top: 40px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.project.p-wide { grid-column: span 2; }
.project[hidden] { display: none; }
.project button { all: unset; display: block; width: 100%; cursor: zoom-in; border-radius: var(--radius); }
.project button:focus-visible { outline: 3px solid var(--red); outline-offset: 4px; }
.ph { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: var(--line); }
.project-grid { --ph-h: calc((min(100vw, var(--wrap)) - 2 * var(--gutter) - 60px) / 4 * .75); }
.project .ph, .project.p-wide .ph { aspect-ratio: auto; height: var(--ph-h); }
.ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.project button:hover .ph img { transform: scale(1.05); }
.meta { display: grid; gap: 2px; padding-top: 12px; }
.cat { font-size: .88rem; font-weight: 700; color: var(--red-ink); }
.name { font-weight: 700; font-size: 1.1rem; line-height: 1.25; }
.count { font-size: .92rem; color: var(--muted); }
.projects-more { margin-top: 44px; }
@media (max-width: 1000px) { .project-grid { grid-template-columns: repeat(2, 1fr); --ph-h: calc((100vw - 2 * var(--gutter) - 20px) / 2 * .75); } }
@media (max-width: 560px) {
  .project-grid { grid-template-columns: 1fr; gap: 28px; }
  .project.p-wide { grid-column: auto; }
  .project .ph, .project.p-wide .ph { aspect-ratio: 4 / 3; height: auto; }
}

/* Werkgebied */
.area { padding-block: 34px; border-block: 1px solid var(--line); overflow: hidden; }
.marquee-track { display: flex; width: max-content; gap: 0; animation: marquee 40s linear infinite; }
.marquee-track span { font-size: clamp(1.8rem, 4vw, 3.2rem); font-weight: 800; letter-spacing: -.02em; color: var(--grey-1); padding-inline: .7em; position: relative; }
.marquee-track span::after { content: ""; position: absolute; right: -.18em; top: 50%; width: .32em; height: .28em; background: var(--red); transform: translateY(-50%) skewX(-24deg); }
.area:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; flex-wrap: wrap; width: auto; } }

/* Contact */
.contact { padding-block: clamp(72px, 10vw, 140px); }
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(36px, 6vw, 96px); }
.contact-lead { margin-top: 16px; font-size: 1.2rem; color: var(--muted); max-width: 40ch; }
.contact-lines { margin-top: 32px; display: grid; gap: 16px; }
.contact-lines li { display: flex; gap: 14px; align-items: flex-start; }
.contact-lines .i { margin-top: .25em; color: var(--red-ink); }
.contact-lines a { font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.contact-lines a:hover { color: var(--red-ink); }
.form { display: grid; gap: 20px; align-content: start; background: var(--surface); padding: clamp(22px, 4vw, 40px); border-radius: var(--radius); box-shadow: var(--shadow); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.field label, .field legend { font-weight: 700; padding: 0; }
.field legend { margin-bottom: 8px; }
input[type="text"], input[type="email"], input[type="tel"], textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--bg); border: 2px solid var(--line); border-radius: var(--radius); padding: 12px 14px; min-height: 50px; transition: border-color .2s;
}
textarea { resize: vertical; min-height: 130px; }
input:hover, textarea:hover { border-color: var(--grey-1); }
input:focus-visible, textarea:focus-visible { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--red) 40%, transparent); }
[aria-invalid="true"] { border-color: var(--red-ink) !important; }
.err { color: var(--red-ink); font-size: .95rem; font-weight: 600; }
.pick { display: flex; flex-wrap: wrap; gap: 8px; }
.pick label { position: relative; }
.pick input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.pick span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 2px solid var(--line); border-radius: var(--radius); font-weight: 600; transition: background-color .2s, border-color .2s, color .2s; }
.pick input:hover + span { border-color: var(--ink); }
.pick input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.pick input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }
.form .btn { justify-self: start; }
.form-note { padding: 14px 16px; border-left: 4px solid var(--red); background: var(--bg); font-weight: 600; }
@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .form .btn { justify-self: stretch; justify-content: center; }
}

/* Footer */
.site-footer { background: #1d1f22; color: #d9dadb; padding-block: 56px 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; font-size: .98rem; }
.footer-brand { display: flex; gap: 14px; align-items: center; }
.footer-brand .brand-mark .f-left { fill: #5d5f63; }
.footer-brand .brand-mark .f-top { fill: #74767a; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-base { margin-top: 40px; padding-top: 20px; border-top: 1px solid #34373b; font-size: .9rem; color: #a9abaf; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* Lightbox */
.lightbox { border: 0; padding: 0; margin: auto; width: min(960px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); background: var(--surface); color: var(--ink); border-radius: var(--radius); box-shadow: 0 30px 80px rgb(0 0 0 / .45); }
.lightbox { overscroll-behavior: contain; }
html:has(.lightbox[open]) { overflow: hidden; }
.lightbox::backdrop { background: rgb(15 16 18 / .82); }
.lightbox[open] { animation: lb-in .35s var(--ease); }
@keyframes lb-in { from { opacity: 0; transform: scale(.97); } }
.lb-inner { display: grid; gap: 14px; padding: 16px; }
.lb-top { display: flex; align-items: center; gap: 16px; }
.lb-title { font-size: 1.25rem; font-weight: 800; margin-right: auto; }
.lb-count { color: var(--muted); font-variant-numeric: tabular-nums; }
.lb-figure { margin: 0; background: var(--bg); display: grid; place-items: center; aspect-ratio: 4 / 3; max-height: calc(100dvh - 190px); }
.lb-figure img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.lb-nav { display: flex; justify-content: flex-end; gap: 8px; }
.lb-btn { display: grid; place-items: center; width: 48px; height: 48px; background: transparent; border: 2px solid var(--line); border-radius: var(--radius); cursor: pointer; transition: border-color .2s, background-color .2s; }
.lb-btn:hover { border-color: var(--ink); }
.lb-btn .i { width: 22px; height: 22px; }

/* Melding */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 90; transform: translateX(-50%); max-width: calc(100vw - 32px); background: var(--ink); color: var(--bg); padding: 14px 20px; border-radius: var(--radius); font-weight: 600; box-shadow: var(--shadow); }
.toast.is-in { animation: toast-in .35s var(--ease); }
@keyframes toast-in { from { opacity: 0; transform: translate(-50%, 10px); } }

/* Beweging: startstanden alleen als JS en beweging aan staan */
.js-motion .reveal { opacity: 0; transform: translateY(24px); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js-motion .reveal { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { .marquee-track span:nth-child(n+10) { display: none; } }
