/* Willems Restyling - demo homepage
   Thema: donkere werkplaats, lichtlijnen van de uitdeuklamp, rood uit het logo.
   Vormregel: alles 6px radius (knoppen, beeld, velden, labels). */

@font-face {
  font-family: "Saira";
  src: url("../assets/fonts/saira.woff2") format("woff2");
  font-weight: 100 900; font-stretch: 75% 125%; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Saira";
  src: url("../assets/fonts/saira-italic.woff2") format("woff2");
  font-weight: 100 900; font-stretch: 75% 125%; font-style: italic; font-display: swap;
}

:root {
  --bg: #111214;
  --bg-2: #17191c;
  --bg-3: #1f2226;
  --line: rgba(255, 255, 255, .12);
  --text: #eef0f2;
  --muted: #a9aeb5;
  --red: #c3221b;
  --red-hi: #d92a22;
  --red-text: #ff6a60;
  --radius: 6px;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 1.0625rem/1.6 "Saira", system-ui, sans-serif; font-stretch: 100%;
  -webkit-font-smoothing: antialiased; overflow-x: hidden; -webkit-tap-highlight-color: rgba(195, 34, 27, .25);
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 700; }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--red-text); outline-offset: 3px; border-radius: 2px; }

.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--text); color: var(--bg); padding: 10px 14px; border-radius: var(--radius); font-weight: 600; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.h2 {
  font-size: clamp(2rem, 4.2vw, 3.25rem); line-height: 1.08; letter-spacing: -.01em;
  font-stretch: 112%; font-style: italic; font-weight: 750; padding-bottom: .08em;
  text-wrap: balance; max-width: 22ch;
}
.lead { color: var(--muted); font-size: 1.125rem; max-width: 58ch; margin-top: 16px; }
.eyebrow { font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: var(--radius);
  font: inherit; font-weight: 650; font-size: 1rem; text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), transform .1s ease-out;
  touch-action: manipulation;
}
.btn:active { transform: scale(.97); }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-hi); }
.btn--ghost { border-color: rgba(255, 255, 255, .35); color: var(--text); }
.btn--ghost:hover { border-color: var(--text); background: rgba(255, 255, 255, .06); }
.btn--full { width: 100%; }

.ico { width: 18px; height: 18px; flex: none; }

/* Nav */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: rgba(17, 18, 20, .72); backdrop-filter: blur(16px) saturate(160%); -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid transparent; transition: border-color .3s var(--ease);
}
.nav.is-scrolled { border-bottom-color: var(--line); }
.nav__in { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); height: 68px; display: flex; align-items: center; gap: 28px; }
.nav__logo { display: block; width: 190px; flex: none; }
.nav__logo img { width: 100%; }
.nav nav { margin-left: auto; }
.nav__links { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav__links a { text-decoration: none; font-weight: 550; color: var(--muted); transition: color .2s; }
.nav__links a:hover { color: var(--text); }
.nav__call {
  display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px;
  background: var(--red); color: #fff; border-radius: var(--radius); text-decoration: none; font-weight: 650;
  transition: background-color .2s, transform .1s ease-out;
}
.nav__call:hover { background: var(--red-hi); }
.nav__call:active { transform: scale(.97); }

/* Hero */
.hero { position: relative; min-height: 100dvh; display: flex; align-items: center; padding: 108px 0 56px; overflow: hidden; isolation: isolate; }
.lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.lines path { fill: none; stroke: rgba(255, 255, 255, .13); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.lines path.is-hot { stroke: rgba(255, 255, 255, .34); }
.hero::after { /* zachte vignet zodat tekst leesbaar blijft over de lijnen */
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(120% 90% at 20% 50%, rgba(17, 18, 20, .85), rgba(17, 18, 20, 0) 60%);
}
.hero__in { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero__title {
  margin-top: 18px; font-size: clamp(2.75rem, 5.6vw, 5rem); line-height: 1.04; letter-spacing: -.015em;
  font-stretch: 118%; font-weight: 800; font-style: italic; padding-bottom: .1em; text-wrap: balance;
}
.hero__title em { color: var(--red-text); font-style: italic; }
.hero__sub { margin-top: 22px; font-size: 1.1875rem; color: var(--muted); max-width: 40ch; }
.hero__cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }

.hero__pair { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: start; }
.hero__shot { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--bg-3); aspect-ratio: 3 / 4; }
.hero__shot img { width: 100%; height: 100%; object-fit: cover; }
.hero__shot--na { margin-top: 48px; }
.hero__pair figcaption { grid-column: 1 / -1; color: var(--muted); font-size: .9375rem; margin-top: 4px; max-width: 46ch; }

.tag {
  position: absolute; left: 10px; top: 10px; padding: 4px 10px; border-radius: var(--radius);
  background: rgba(17, 18, 20, .82); color: var(--text); font-size: .8125rem; font-weight: 650; letter-spacing: .04em;
}
.tag--red { background: var(--red); color: #fff; }

/* Feiten */
.facts { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-2); }
.facts__in { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: repeat(3, 1fr); }
.fact { padding: 40px 32px 40px 0; }
.fact + .fact { padding-left: 32px; border-left: 1px solid var(--line); }
.fact__big { font-size: clamp(1.75rem, 3vw, 2.375rem); font-weight: 750; font-style: italic; font-stretch: 115%; line-height: 1.1; margin-bottom: 10px; }
.fact p:not(.fact__big) { color: var(--muted); max-width: 36ch; }

/* Voor en na */
.gallery { padding: clamp(80px, 10vw, 128px) 0; }
.viewer { margin-top: 40px; display: grid; grid-template-columns: 240px 1fr; gap: 32px; align-items: start; }
.viewer__tabs { display: flex; flex-direction: column; gap: 4px; }
.viewer__tabs button {
  text-align: left; font: inherit; font-weight: 600; color: var(--muted); background: none;
  border: 0; border-left: 2px solid var(--line); padding: 12px 16px; cursor: pointer; min-height: 44px;
  transition: color .2s, border-color .2s, background-color .2s;
}
.viewer__tabs button:hover { color: var(--text); }
.viewer__tabs button[aria-selected="true"] { color: var(--text); border-left-color: var(--red); background: rgba(255, 255, 255, .04); }
.viewer__pane:focus-visible { outline-offset: 6px; }
.duo { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.duo__img { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--bg-3); aspect-ratio: 4 / 3; }
.duo__img img { width: 100%; height: 100%; object-fit: cover; transition: opacity .35s var(--ease); }
.duo.is-portrait .duo__img { aspect-ratio: 3 / 4; }
.duo.is-swapping img { opacity: 0; }
.more { display: inline-block; margin-top: 28px; color: var(--text); font-weight: 600; text-underline-offset: 5px; text-decoration-color: var(--red); text-decoration-thickness: 2px; }

/* Werkwijze */
.method { display: grid; grid-template-columns: 1fr 1fr; background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.method__media { position: relative; overflow: hidden; min-height: 420px; }
.method__media img { position: absolute; inset: 0; width: 100%; height: 115%; object-fit: cover; }
.method__copy { padding: clamp(56px, 7vw, 104px) var(--gutter) clamp(56px, 7vw, 104px) clamp(32px, 5vw, 72px); max-width: 680px; }
.steps { list-style: none; margin: 36px 0 0; padding: 0; counter-reset: s; display: grid; gap: 28px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; column-gap: 16px; }
.steps li::before {
  content: counter(s); grid-row: span 2; width: 36px; height: 36px; border-radius: var(--radius);
  display: grid; place-items: center; background: var(--red); color: #fff; font-weight: 700; font-style: italic;
}
.steps h3 { font-size: 1.25rem; font-stretch: 108%; line-height: 1.3; }
.steps p { color: var(--muted); margin-top: 4px; }

/* Kan het */
.check { padding: clamp(80px, 10vw, 128px) 0; }
.check__in { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.ticks { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { /* rechte lichtlijn als vinkje: een strakke lijn betekent: hersteld */
  content: ""; position: absolute; left: 0; top: .78em; width: 18px; height: 2px; background: var(--red-text); border-radius: 2px;
}
.check__media { margin: 0; }
.check__media img { border-radius: var(--radius); width: 100%; }
.check__media figcaption { color: var(--muted); font-size: .9375rem; margin-top: 12px; }

/* Zakelijk */
.biz { padding: clamp(80px, 10vw, 128px) 0; background: linear-gradient(180deg, var(--bg) 0%, #1a1011 100%); border-top: 1px solid var(--line); }
.biz__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.biz__copy p { color: var(--muted); margin-top: 16px; max-width: 52ch; }
.biz__copy .btn { margin-top: 28px; }
.biz__media { margin: 0; }
.biz__media img { border-radius: var(--radius); width: 100%; }
.quote { margin: clamp(56px, 7vw, 88px) 0 0; padding-left: 28px; border-left: 3px solid var(--red); max-width: 900px; }
.quote p { font-size: clamp(1.25rem, 2.2vw, 1.75rem); line-height: 1.4; font-style: italic; font-weight: 500; text-wrap: pretty; }
.quote footer { margin-top: 16px; color: var(--muted); }
.quote footer strong { color: var(--text); font-weight: 650; }
.quote--small { margin-top: 40px; }
.quote--small p { font-size: 1.1875rem; }

/* Diensten */
.services { padding: clamp(80px, 10vw, 128px) 0; border-top: 1px solid var(--line); }
.services__in { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.pills { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pills li { padding: 8px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); font-weight: 550; }
.services__media { margin: 0; }
.services__media img { border-radius: var(--radius); width: 100%; }

/* Contact */
.contact { padding: clamp(80px, 10vw, 128px) 0; background: var(--bg-2); border-top: 1px solid var(--line); }
.contact__in { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.details { margin: 36px 0 0; display: grid; gap: 20px; }
.details div { display: grid; grid-template-columns: 90px 1fr; gap: 12px; }
.details dt { color: var(--muted); font-weight: 500; }
.details dd { margin: 0; }
.details a { text-underline-offset: 4px; text-decoration-color: rgba(255, 255, 255, .4); }
.details a:hover { text-decoration-color: var(--red-text); }

.form { background: var(--bg-3); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 36px); }
.form fieldset { border: 0; margin: 0 0 20px; padding: 0; min-width: 0; }
.form legend { font-weight: 700; font-style: italic; font-stretch: 110%; font-size: 1.125rem; margin-bottom: 14px; padding: 0; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.row--3 { grid-template-columns: 1fr 1fr 1fr; }
.field { display: grid; gap: 6px; margin-bottom: 14px; min-width: 0; }
.field label { font-size: .9375rem; font-weight: 550; }
.opt { color: var(--muted); font-weight: 400; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text); background: var(--bg);
  border: 1px solid rgba(255, 255, 255, .22); border-radius: var(--radius); padding: 12px 14px; min-height: 48px;
  transition: border-color .2s;
}
.field input[type="file"] { padding: 10px; color: var(--muted); }
.field input:hover, .field textarea:hover { border-color: rgba(255, 255, 255, .4); }
.field input:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--red-text); outline-offset: 1px; border-color: transparent; }
.field [aria-invalid="true"] { border-color: var(--red-text); }
.err { color: var(--red-text); font-size: .875rem; }
.form__note { margin-top: 14px; color: var(--muted); font-size: .9375rem; }
.form__note:empty { display: none; }

/* Footer */
.foot { padding: 56px 0 120px; border-top: 1px solid var(--line); }
.foot__in { display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 32px; align-items: start; }
.foot__brand img { width: 220px; }
.foot__brand p { color: var(--muted); margin-top: 12px; }
.foot address { font-style: normal; color: var(--muted); line-height: 1.8; }
.foot a { color: var(--text); text-underline-offset: 4px; }
.foot__links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot__copy { margin-top: 40px; color: var(--muted); font-size: .875rem; }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 60; transform: translateX(-50%);
  width: min(92vw, 440px); padding: 14px 18px; border-radius: var(--radius);
  background: var(--text); color: var(--bg); font-weight: 550; box-shadow: 0 12px 40px rgba(0, 0, 0, .45);
}

/* Vaste belbalk op mobiel */
.callbar { display: none; }

/* Reveal (alleen als JS draait en beweging mag) */
.js-motion .reveal { opacity: 0; transform: translateY(18px); }

/* Tablet */
@media (max-width: 980px) {
  .nav__links { display: none; }
  .nav nav { display: none; }
  .nav__call { margin-left: auto; }
  .hero__in { grid-template-columns: 1fr; }
  .hero__pair { max-width: 560px; }
  .viewer { grid-template-columns: 1fr; gap: 20px; }
  .viewer__tabs { flex-direction: row; overflow-x: auto; gap: 8px; scroll-snap-type: x mandatory; padding-bottom: 4px; }
  .viewer__tabs button { border-left: 0; border: 1px solid var(--line); border-radius: var(--radius); white-space: nowrap; scroll-snap-align: start; padding: 10px 14px; }
  .viewer__tabs button[aria-selected="true"] { border-color: var(--red); }
  .method { grid-template-columns: 1fr; }
  .method__media { min-height: 0; aspect-ratio: 16 / 10; }
  .method__copy { padding: 56px var(--gutter); max-width: none; }
  .check__in, .biz__grid, .services__in, .contact__in { grid-template-columns: 1fr; }
  .foot__in { grid-template-columns: 1fr 1fr; }
}

/* Mobiel */
@media (max-width: 640px) {
  html { scroll-padding-bottom: 88px; }
  body { font-size: 1rem; }
  .nav__in { height: 60px; gap: 12px; }
  .nav__logo { width: 150px; }
  .nav__call { padding: 0 12px; min-height: 40px; }
  .nav__call-txt { font-size: .9375rem; }
  .hero { padding: 88px 0 40px; min-height: auto; }
  .hero__title { font-size: clamp(2.25rem, 10.8vw, 3.25rem); }
  .hero__sub { font-size: 1.0625rem; }
  .hero__cta .btn { flex: 1 1 100%; }
  .hero__shot--na { margin-top: 28px; }
  .facts__in { grid-template-columns: 1fr; }
  .fact, .fact + .fact { padding: 28px 0; border-left: 0; }
  .fact + .fact { border-top: 1px solid var(--line); }
  .duo { gap: 8px; }
  .ticks { grid-template-columns: 1fr; }
  .row, .row--3 { grid-template-columns: 1fr; }
  .details div { grid-template-columns: 1fr; gap: 2px; }
  .foot__in { grid-template-columns: 1fr; }
  .callbar {
    display: flex; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 55;
    align-items: center; justify-content: center; gap: 10px; min-height: 52px; border-radius: var(--radius);
    background: var(--red); color: #fff; font-weight: 650; text-decoration: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .5);
    transform: translateY(140%); transition: transform .35s var(--ease);
  }
  .callbar.is-on { transform: none; }
  .toast { bottom: 76px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js-motion .reveal { opacity: 1; transform: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .nav { background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none; }
}
.duo.is-portrait { max-width: 720px; }
@media (max-width: 640px) { .lines { opacity: .5; } .hero::after { background: linear-gradient(180deg, rgba(17, 18, 20, .6), rgba(17, 18, 20, .2) 70%); } }
