/* vlyou.nl — dag/nacht-design. Merk: navy + geel, Montserrat/Nunito, zevenhoek. */

@font-face {
  font-family: 'Montserrat';
  src: url('/assets/fonts/montserrat-var.woff2') format('woff2');
  font-weight: 400 900;
  font-display: swap;
}
@font-face {
  font-family: 'Nunito';
  src: url('/assets/fonts/nunito-var.woff2') format('woff2');
  font-weight: 300 900;
  font-display: swap;
}

:root {
  --navy-deep: #141F2B;
  --navy-panel: #1B2A3A;
  --navy-brand: #2C3E50;
  --accent: #FFC300;
  --light: #F7F7F7;
  --white: #FFFFFF;
  --ink: #22303C;
  --ink-soft: #5F6E7B;
  --ink-on-dark: #B8C4CF;
  --powder: #B0E0E6;
  --danger: #E63946;
  --line: #E2E6EA;
  --radius: 14px;
  --font-head: 'Montserrat', 'Segoe UI', sans-serif;
  --font-body: 'Nunito', 'Segoe UI', sans-serif;
  --pad-section: clamp(4.5rem, 9vw, 8rem);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
body > main { flex: 1 0 auto; }
section[id] { scroll-margin-top: 76px; }

h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; }
h1 { font-size: clamp(2.3rem, 5.5vw, 3.7rem); font-weight: 800; letter-spacing: -0.015em; }
h2 { font-size: clamp(1.65rem, 3.4vw, 2.3rem); font-weight: 800; color: var(--ink); letter-spacing: -0.01em; }
h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: .55rem; }
p + p { margin-top: .9em; }
a { color: inherit; }
img { max-width: 100%; display: block; }

.container { width: min(1100px, 100% - 3rem); margin-inline: auto; }
.container--narrow { width: min(780px, 100% - 3rem); margin-inline: auto; }

.skiplink {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--accent); color: var(--navy-deep);
  padding: .6rem 1.2rem; font-weight: 700; text-decoration: none;
}
.skiplink:focus { left: 0; }

/* ---------- knoppen ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 0;
  border-radius: 10px;
  padding: .85rem 1.6rem;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.btn-accent { background: var(--accent); color: var(--navy-deep); }
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(255, 195, 0, .28); }
.btn-ghost { background: transparent; color: #DCE4EA; border: 1px solid #3D4E5E; }
.btn-ghost:hover { border-color: #6B7B8A; transform: translateY(-2px); }
.btn:focus-visible, a:focus-visible, summary:focus-visible {
  outline: 3px solid var(--accent); outline-offset: 2px;
}

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding: .9rem 0;
  transition: background-color .25s ease, box-shadow .25s ease, padding .25s ease;
}
.site-header.is-scrolled {
  background: var(--navy-deep);
  box-shadow: 0 2px 18px rgba(10, 16, 23, .45);
  padding: .55rem 0;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand-logo { width: auto; height: 34px; }
.site-nav { display: flex; align-items: center; gap: 1.4rem; }
.site-nav a { color: var(--ink-on-dark); text-decoration: none; font-weight: 600; font-size: .95rem; }
.site-nav a:hover { color: var(--white); }
.site-nav .lang-switch { color: #7E8E9C; font-size: .88rem; border: 1px solid #33465A; border-radius: 8px; padding: .25rem .6rem; }
.site-nav .lang-switch:hover { color: var(--white); border-color: #56697B; }
.site-nav a.btn-accent { color: var(--navy-deep); }
.site-nav a.btn-accent:hover { color: var(--navy-deep); }
.btn-nav { padding: .5rem 1.15rem; font-size: .92rem; }
.btn-nav:hover { transform: none; box-shadow: 0 4px 14px rgba(255, 195, 0, .3); }

/* ---------- secties ---------- */
.section { padding-block: var(--pad-section); }
.section--light { background: var(--light); }
.section--white { background: var(--white); }
.section--night { background: var(--navy-deep); color: var(--ink-on-dark); }
.section--night h2 { color: var(--white); }
.section-intro { max-width: 46rem; color: var(--ink-soft); margin-top: .9rem; }
.section-intro--dark { color: var(--ink-on-dark); }
h2 + .grid-3, .section-intro + .grid-3, .section-intro + .steps { margin-top: 2.6rem; }

.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem 1.6rem;
  transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(20, 31, 43, .09); }
.card p { color: var(--ink-soft); font-size: .98rem; }

.bridge {
  margin-top: 2.8rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  max-width: 44rem;
}
.bridge-strong {
  font-family: var(--font-head);
  font-size: clamp(1.25rem, 2.6vw, 1.6rem);
  font-weight: 700;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 92svh;
  display: flex;
  align-items: center;
  padding-block: clamp(7rem, 16vh, 10rem) clamp(4rem, 9vh, 6rem);
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 2px; height: 2px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  box-shadow:
    12vw 18vh 0 0 rgba(255, 255, 255, .55),
    24vw 9vh 0 0 rgba(176, 224, 230, .45),
    38vw 24vh 0 1px rgba(255, 255, 255, .3),
    52vw 12vh 0 0 rgba(255, 195, 0, .5),
    63vw 30vh 0 0 rgba(176, 224, 230, .4),
    72vw 8vh 0 1px rgba(255, 255, 255, .45),
    81vw 22vh 0 0 rgba(255, 255, 255, .35),
    88vw 40vh 0 0 rgba(176, 224, 230, .5),
    93vw 14vh 0 0 rgba(255, 255, 255, .4),
    18vw 42vh 0 0 rgba(255, 255, 255, .25),
    45vw 48vh 0 0 rgba(176, 224, 230, .3),
    68vw 55vh 0 1px rgba(255, 255, 255, .28),
    85vw 68vh 0 0 rgba(255, 195, 0, .35),
    30vw 70vh 0 0 rgba(255, 255, 255, .22);
}
.hero .overline { margin-bottom: 1.1rem; }
.overline {
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
}
.hero h1 { color: var(--white); max-width: 13em; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-sub { max-width: 40rem; margin-top: 1.4rem; font-size: 1.08rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.2rem; }
.hero-inner { position: relative; z-index: 2; }

.hero-constellation {
  position: absolute;
  right: -6%;
  top: 8%;
  width: min(58vw, 760px);
  color: var(--accent);
  opacity: .14;
  z-index: 1;
}
.hero-constellation .constellation-dots circle { opacity: .9; }

/* ---------- keten ---------- */
.hepta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px; height: 58px;
  background: var(--accent);
  color: var(--navy-deep);
  clip-path: polygon(0% 63.9%, 9.7% 20.5%, 49.1% 0.7%, 89.5% 20.1%, 99.3% 63.9%, 71.8% 99.1%, 27.4% 99.1%);
  margin-bottom: 1.1rem;
}
.hepta-icon svg { width: 26px; height: 26px; }
.chain-step {
  display: inline-block;
  font-family: var(--font-head);
  color: var(--accent);
  margin-right: .5rem;
}
.chain-step::after { content: '/'; color: var(--line); margin-left: .5rem; }

/* ---------- timeline ---------- */
.night .timeline { margin-top: 3.4rem; }
.timeline {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.2rem;
  position: relative;
  padding-top: 2.2rem;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 6px; left: 6px; right: 6px;
  height: 3px;
  background: var(--navy-brand);
  border-radius: 2px;
}
.timeline::after {
  content: '';
  position: absolute;
  top: 6px; left: 6px; right: 6px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 2.4s cubic-bezier(.25, .1, .25, 1);
}
.timeline--play::after { transform: scaleX(1); }
.timeline-stop { position: relative; }
.timeline-stop::before {
  content: '';
  position: absolute;
  top: -2.2rem; left: 0;
  width: 15px; height: 15px;
  border-radius: 50%;
  background: var(--accent);
  transform: translateY(0.05rem);
}
.timeline-stop--end::before { background: var(--white); }
.timeline-stop time {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--accent);
  margin-bottom: .25rem;
}
.timeline-stop--end time { color: var(--white); }
.timeline-stop span { font-size: .95rem; line-height: 1.5; display: block; }
.night-note { margin-top: 2.6rem; font-size: .92rem; color: #8FA0AF; max-width: 44rem; }

/* ---------- cases ---------- */
.case-label {
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #8A97A3;
  margin-bottom: .8rem;
}
.case-card--featured { border: 2px solid var(--accent); }
.case-card--featured .case-label { color: #A87F00; }
.case-result {
  margin-top: 1rem;
  font-weight: 700;
  color: var(--ink) !important;
  font-size: .95rem !important;
}
.case-link {
  display: inline-block;
  margin-top: .8rem;
  font-weight: 700;
  font-size: .92rem;
  color: var(--ink);
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.case-link:hover { color: #A87F00; }

/* ---------- waarom ---------- */
.why-grid { row-gap: 2.4rem; }
.why-item h3 { display: flex; align-items: baseline; gap: .55rem; font-size: 1.05rem; }
.why-item h3::before {
  content: '';
  flex: 0 0 12px;
  width: 12px; height: 12px;
  background: var(--accent);
  clip-path: polygon(0% 63.9%, 9.7% 20.5%, 49.1% 0.7%, 89.5% 20.1%, 99.3% 63.9%, 71.8% 99.1%, 27.4% 99.1%);
  transform: translateY(1px);
}
.why-item p { color: var(--ink-soft); font-size: .96rem; }

/* ---------- stappen ---------- */
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
  counter-reset: step;
}
.step { counter-increment: step; }
.step::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 2.6rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: .7rem;
}
.step p { color: var(--ink-soft); font-size: .97rem; }

/* ---------- over ---------- */
.about-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}
.about-text p { max-width: 38rem; margin-top: 1rem; color: var(--ink-soft); }
.about-text blockquote { margin-top: 2rem; border-left: 4px solid var(--accent); padding-left: 1.3rem; }
.about-text blockquote p { font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; color: var(--ink); margin: 0; }
.about-text blockquote footer { margin-top: .6rem; font-size: .92rem; color: var(--ink-soft); }
.about-mark { justify-self: center; opacity: .95; }
.about-mark img { width: min(360px, 100%); height: auto; }

/* ---------- faq ---------- */
#faq h2 { margin-bottom: 1.8rem; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.02rem;
  padding: 1.15rem 2.2rem 1.15rem 0;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '';
  position: absolute;
  right: .4rem; top: 50%;
  width: 9px; height: 9px;
  border-right: 2.5px solid var(--accent);
  border-bottom: 2.5px solid var(--accent);
  transform: translateY(-70%) rotate(45deg);
  transition: transform .25s ease;
}
.faq-item[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq-item p { padding: 0 0 1.3rem; color: var(--ink-soft); max-width: 44rem; }

/* ---------- contact ---------- */
.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 3rem;
  align-items: start;
}
.contact-text p { margin-top: 1rem; color: var(--ink-soft); max-width: 30rem; }
.contact-direct a { font-weight: 700; color: var(--ink); text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.contact-form { display: flex; flex-direction: column; gap: 1.05rem; }
.contact-form:hover { transform: none; box-shadow: none; }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field label { font-weight: 700; font-size: .92rem; }
.field input, .field textarea {
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  border: 1px solid #D6DCE1;
  border-radius: 9px;
  padding: .7rem .85rem;
  background: var(--white);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; min-height: 108px; }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--navy-brand);
  box-shadow: 0 0 0 3px rgba(255, 195, 0, .3);
}
.field input.is-invalid, .field textarea.is-invalid { border-color: var(--danger); }
.btn-submit { width: 100%; }
.btn-submit[disabled] { opacity: .65; cursor: wait; transform: none; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.form-msg { font-size: .95rem; font-weight: 700; margin: 0; }
.form-msg--ok { color: #2E7D32; }
.form-msg--err { color: var(--danger); }

/* ---------- footer ---------- */
.site-footer { padding-block: 2.6rem; }
.footer-inner { display: grid; gap: .9rem; justify-items: start; }
.footer-brand img { width: 200px; height: auto; }
.footer-tagline { font-size: .95rem; }
.footer-meta { display: flex; flex-wrap: wrap; gap: 1.4rem; font-size: .9rem; }
.footer-meta a { color: var(--ink-on-dark); }
.footer-meta a:hover { color: var(--white); }
.footer-copy { font-size: .82rem; color: #6B7B8A; }

/* ---------- 404 ---------- */
.page-404 { min-height: 100svh; display: grid; place-items: center; color: var(--ink-on-dark); }
.nf { text-align: center; padding: 4rem 0; display: grid; justify-items: center; gap: 1.1rem; }
.nf h1 { color: var(--white); font-size: clamp(1.8rem, 4vw, 2.6rem); }
.nf .cta-row { justify-content: center; margin-top: .6rem; }

/* ---------- prose (privacy) ---------- */
.prose { max-width: 44rem; }
.prose h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: 1.4rem; }
.prose h2 { font-size: 1.25rem; margin-top: 2rem; margin-bottom: .6rem; }
.prose p, .prose li { color: var(--ink-soft); }
.prose ul { padding-left: 1.2rem; margin-top: .5rem; }
.prose a { text-decoration-color: var(--accent); text-decoration-thickness: 2px; }

/* ---------- reveals ---------- */
.reveal--pending { opacity: 0; transform: translateY(20px); }
.reveal--in { opacity: 1; transform: translateY(0); transition: opacity .6s ease, transform .6s ease; }
.grid-3 .reveal--in:nth-child(2), .steps .reveal--in:nth-child(2) { transition-delay: .1s; }
.grid-3 .reveal--in:nth-child(3), .steps .reveal--in:nth-child(3) { transition-delay: .2s; }
.grid-3 .reveal--in:nth-child(4) { transition-delay: .1s; }
.grid-3 .reveal--in:nth-child(5) { transition-delay: .2s; }
.grid-3 .reveal--in:nth-child(6) { transition-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .timeline--play::after, .timeline::after { transform: scaleX(1); }
  .reveal--pending { opacity: 1; transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-constellation { opacity: .09; }
}
@media (max-width: 820px) {
  .site-nav a:not(.lang-switch):not(.btn-nav) { display: none; }
  .grid-3 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 2rem; }
  .about-inner { grid-template-columns: 1fr; }
  .about-mark { order: -1; justify-self: start; }
  .about-mark img { width: 120px; height: 120px; }
  .contact-inner { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; gap: 1.6rem; padding-top: 0; padding-left: 2rem; }
  .timeline::before, .timeline::after {
    top: 8px; bottom: 4px; left: 6px; right: auto;
    width: 3px; height: auto;
  }
  .timeline::after { transform: scaleY(0); transform-origin: top; }
  .timeline--play::after { transform: scaleY(1); }
  .timeline-stop::before { top: 2px; left: -2rem; }
  .hero { min-height: auto; }
  .hero-constellation { width: 100vw; right: -30%; top: 0; opacity: .07; }
}
@media (max-width: 480px) {
  .container, .container--narrow { width: calc(100% - 2.2rem); }
  .cta-row .btn { width: 100%; text-align: center; }
  .site-nav { gap: .7rem; }
}
