/* SIGNATURE onepage (kleur van de POS-banner) — rustig en donker. Goud alleen voor logo, streepjes en de knop. */
@font-face { font-family: "Unbounded"; src: url("/assets/fonts/unbounded-latin-wght-normal.woff2") format("woff2"); font-weight: 200 900; font-display: swap; }
@font-face { font-family: "Work Sans"; src: url("/assets/fonts/work-sans-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Space Mono"; src: url("/assets/fonts/space-mono-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --bg: #321c1f;              /* wijnbruin van de POS-banner */
  --bg-rgb: 50 28 31;
  --line: rgb(230 224 214 / 0.14);
  --line-strong: rgb(230 224 214 / 0.34);
  --gold: #c8aa4f;
  --gold-hi: #d6bd6e;
  --text: #e6e0d6;            /* Cloud */
  --text-soft: #c4b8ad;       /* gedempt Cloud, 8:1 op --bg */
  --error: #e39a8f;
  --font-display: "Unbounded", sans-serif;
  --font-body: "Work Sans", system-ui, sans-serif;
  --font-mono: "Space Mono", ui-monospace, monospace;
  --gutter: clamp(1.25rem, 0.6rem + 3vw, 3rem);
  --space: clamp(6rem, 4rem + 8vw, 11rem);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font-body); font-weight: 350; font-size: clamp(1.0625rem, 1rem + 0.15vw, 1.125rem); line-height: 1.75; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 0.25em; text-decoration-thickness: 1px; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 400; text-wrap: balance; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--gold); color: var(--bg); }
:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; }
.wrap { width: min(100% - 2 * var(--gutter), 1180px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Koppen: Unbounded licht en in gewone zinsopbouw; IJ niet samenvoegen */
.hero__title, .heading { font-family: var(--font-display); font-weight: 350; letter-spacing: -0.01em; font-feature-settings: "locl" 0; }

/* De streepjeslijn uit het logo: één keer, onder de hero-kop */
.stripes { display: flex; gap: 0.35rem; margin: 1.75rem 0; }
.stripes i { display: block; width: 1.1rem; height: 2px; background: var(--gold); transform-origin: left center; }

/* Eén knopstijl */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0.9rem 1.75rem; border: 1px solid var(--gold); cursor: pointer;
  background: var(--gold); color: var(--bg);
  font-family: var(--font-mono); font-weight: 700; font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
  transition: background-color 200ms var(--ease), border-color 200ms var(--ease);
}
.btn:hover { background: var(--gold-hi); border-color: var(--gold-hi); }
.btn--block { width: 100%; }
.btn:disabled { opacity: 0.7; cursor: progress; }

/* Menubalk: transparant boven de hero, donker zodra je scrolt */
.top { position: fixed; inset: 0 0 auto; z-index: 30; transition: background-color 400ms var(--ease), border-color 400ms var(--ease), backdrop-filter 400ms var(--ease); border-bottom: 1px solid transparent; }
.top__inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 84px; transition: height 400ms var(--ease); }
.top.is-scrolled { background: rgb(var(--bg-rgb) / 0.86); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom-color: var(--line); }
.top.is-scrolled .top__inner { height: 68px; }
.top__logo { display: inline-block; }
.top__logo img { width: clamp(130px, 11vw, 160px); }
.top__nav { display: flex; align-items: center; gap: clamp(1.25rem, 2.5vw, 2.25rem); }
.top__nav a:not(.btn) { font-size: 0.9375rem; color: var(--text-soft); text-decoration: none; transition: color 200ms var(--ease); }
.top__nav a:not(.btn):hover { color: var(--text); }
.btn--sm { min-height: 42px; padding: 0.6rem 1.2rem; font-size: 0.6875rem; }
html { scroll-padding-top: 72px; }

/* ───────── Hero ───────── */
.hero { position: relative; isolation: isolate; min-height: min(100svh, 960px); display: grid; align-items: center; padding: 8rem 0 5rem; overflow: hidden; }
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__media { left: 40%; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
/* geen harde splitsing: het gerecht loopt vanaf links zacht over in het effen vlak */
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(var(--bg-rgb) / 0.8) 0%, rgb(var(--bg-rgb) / 0) 20%), linear-gradient(0deg, var(--bg) 0%, rgb(var(--bg-rgb) / 0) 28%), linear-gradient(90deg, var(--bg) 0%, rgb(var(--bg-rgb) / 0.85) 22%, rgb(var(--bg-rgb) / 0.25) 55%, rgb(var(--bg-rgb) / 0) 80%); }
.hero__title { font-size: clamp(2rem, 1.25rem + 2.6vw, 3.5rem); line-height: 1.14; max-width: 15ch; }
.hero__lead { max-width: 40ch; color: var(--text-soft); margin-bottom: 2.5rem; }

/* ───────── Wat we doen ───────── */
.offer { padding: var(--space) 0; }
.heading { font-size: clamp(1.5rem, 1.15rem + 1.2vw, 2.25rem); line-height: 1.2; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 3rem); }
.tile__img { aspect-ratio: 3 / 4; overflow: hidden; margin-bottom: 1.5rem; }
.tile__img img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.88); transition: transform 1200ms var(--ease); }
.tile:hover .tile__img img { transform: scale(1.025); }
.tile h3 { font-family: var(--font-body); font-weight: 500; font-size: 1.125rem; margin-bottom: 0.25rem; }
.tile p { color: var(--text-soft); margin: 0; font-size: 1rem; }

/* ───────── Contact ───────── */
.contact { padding: var(--space) 0; border-top: 1px solid var(--line); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(3rem, 8vw, 8rem); align-items: start; }
.contact__text .heading { margin-bottom: 1.5rem; }
.contact__text p { max-width: 36ch; color: var(--text-soft); }
.contact__mail { font-size: 1rem; }
.contact__mail a { color: var(--text); }

/* Velden: alleen een lijn, geen kaders */
.form { display: grid; gap: 1.5rem; }
.field { display: grid; gap: 0.25rem; }
.field label { font-size: 0.875rem; color: var(--text-soft); }
.field__opt { opacity: 0.8; }
.field input, .field textarea {
  width: 100%; padding: 0.5rem 0 0.65rem; border: 0; border-bottom: 1px solid var(--line-strong); border-radius: 0;
  background: transparent; color: var(--text); font: inherit; font-size: 1.0625rem;
  transition: border-color 200ms var(--ease);
}
.field textarea { resize: vertical; min-height: 4.5rem; line-height: 1.5; }
.field input:focus, .field textarea:focus { outline: none; border-bottom-color: var(--gold); }
.field input:-webkit-autofill { -webkit-box-shadow: 0 0 0 1000px var(--bg) inset; -webkit-text-fill-color: var(--text); caret-color: var(--text); }
.field.is-invalid input { border-bottom-color: var(--error); }
.field__error { margin: 0.25rem 0 0; font-size: 0.875rem; color: var(--error); }
.form .btn { margin-top: 0.5rem; }
.form__hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__note { margin: 0; font-size: 0.8125rem; color: var(--text-soft); }
.form__status { margin: 0; font-size: 0.9375rem; color: var(--error); }
.form__status a { color: inherit; }
.thanks:focus { outline: none; }
.thanks__title { font-family: var(--font-display); font-weight: 350; font-size: 1.5rem; margin-bottom: 0.5rem; }
.thanks p:last-child { color: var(--text-soft); }

/* ───────── Footer ───────── */
.foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; padding: 2.5rem 0 3rem; border-top: 1px solid var(--line); font-size: 0.875rem; color: var(--text-soft); }
.foot img { width: 120px; opacity: 0.85; }
.foot p { margin: 0; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--text); }

/* Privacypagina */
.prose { padding: 10rem 0 6rem; max-width: 64ch; }
.prose .heading { margin-bottom: 2rem; }
.prose p { color: var(--text-soft); }
.prose a { color: var(--text); }

/* ───────── Vaste knop (mobiel) ───────── */
.sticky { display: none; }

/* ───────── Responsief ───────── */
@media (max-width: 860px) {
  .top__nav .btn { display: none; }
  .top__nav { gap: 1.25rem; }
  .top__nav a:not(.btn) { font-size: 0.875rem; }
  .top__inner { height: 68px; }
  .hero { min-height: min(92svh, 760px); align-items: end; padding: 7rem 0 3rem; }
  .hero__media { left: 0; bottom: auto; height: 62%; }
  .hero__media img { object-position: 50% 40%; }
  .hero__media::after { background: linear-gradient(0deg, var(--bg) 0%, rgb(var(--bg-rgb) / 0.6) 30%, rgb(var(--bg-rgb) / 0.15) 65%, rgb(var(--bg-rgb) / 0.8) 100%); }
  .hero__text .btn { width: 100%; }
  .tiles { grid-template-columns: 1fr; gap: 3rem; }
  .tile__img { aspect-ratio: 4 / 3; }
  .contact__grid { grid-template-columns: 1fr; gap: 3rem; }
  body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .sticky { display: block; position: fixed; inset: auto 0 0; z-index: 20; padding: 0.75rem var(--gutter) calc(0.75rem + env(safe-area-inset-bottom)); background: rgb(var(--bg-rgb) / 0.94); border-top: 1px solid var(--line); transition: transform 320ms var(--ease); }
  .sticky.is-hidden { transform: translateY(110%); }
}

/* ───────── Beweging: rustig ───────── */
.js .stripes:not(.is-drawn) i { transform: scaleX(0); }
.js .stripes i { transition: transform 700ms var(--ease); }
.js .stripes.is-drawn i:nth-child(2) { transition-delay: 80ms; }
.js .stripes.is-drawn i:nth-child(3) { transition-delay: 160ms; }
.js .stripes.is-drawn i:nth-child(4) { transition-delay: 240ms; }
.js .stripes.is-drawn i:nth-child(5) { transition-delay: 320ms; }
.js .stripes.is-drawn i:nth-child(6) { transition-delay: 400ms; }
.js [data-reveal] { opacity: 0; transform: translateY(10px); transition: opacity 900ms var(--ease), transform 900ms var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js .tile:nth-child(2) { transition-delay: 100ms; }
.js .tile:nth-child(3) { transition-delay: 200ms; }

@media (prefers-reduced-motion: reduce) {
  .top, .top__inner { transition: none; }
  html { scroll-behavior: auto; }
  .js [data-reveal] { transform: none; transition: opacity 300ms linear; }
  .js .stripes:not(.is-drawn) i { transform: none; opacity: 0; }
  .js .stripes i { transition: opacity 300ms linear; transition-delay: 0ms !important; }
  .tile__img img { transition: none; }
  .tile:hover .tile__img img { transform: none; }
}
