/*
 * Van Dungen Automaten op Quark 2
 * Kleuren uit het logo: cyaan #009DE0 en bijna-zwart #19171B.
 * Knoppen en links gebruiken het donkerdere #0077AD (contrast AA op wit).
 * Lettertypes: Barlow (tekst) en Barlow Condensed (koppen), lokaal gehost.
 */
:root,
:root[data-theme='light'],
:root[data-theme='dark'] {
  --vda-cyan: #009DE0;
  --vda-blue: #0077AD;
  --vda-blue-dark: #005E89;
  --vda-ink: #19171B;
  --vda-ink-2: #25222A;
  --vda-text: #2B282F;
  --vda-muted: #6B6670;
  --vda-paper: #F5F1EA;
  --vda-line: #E2DBCF;
  --vda-white: #FFFFFF;

  --q2-bg: #FFFFFF;
  --q2-bg-elev: #FFFFFF;
  --q2-text: var(--vda-text);
  --q2-text-strong: var(--vda-ink);
  --q2-text-muted: var(--vda-muted);
  --q2-accent: var(--vda-blue);
  --q2-link: var(--vda-blue);
  --q2-nav-bg: rgba(255, 255, 255, .96);
  --q2-header-height: 80px;

  --pico-font-family-sans-serif: "Barlow", "Segoe UI", system-ui, sans-serif;
  --pico-font-family-display: "Barlow Condensed", "Barlow", "Arial Narrow", sans-serif;
  --pico-font-size: 18px;
  --pico-line-height: 1.6;
  --pico-background-color: #FFFFFF;
  --pico-color: var(--vda-text);
  --pico-primary: var(--vda-blue);
  --pico-primary-background: var(--vda-blue);
  --pico-primary-hover: var(--vda-blue-dark);
  --pico-primary-hover-background: var(--vda-blue-dark);
  --pico-h1-color: var(--vda-ink);
  --pico-h2-color: var(--vda-ink);
  --pico-h3-color: var(--vda-ink);
  --pico-h4-color: var(--vda-ink);
  color-scheme: light;
}

html { scroll-behavior: smooth; }
body, p, li, dd { hyphens: manual; -webkit-hyphens: manual; }
.vda-hero, .vda-section, .vda-pagehead, .vda-cta, #body-wrapper { margin: 0; }
.module-anchor { height: 0; }
body { background: #fff; color: var(--vda-text); }
h1, h2, h3, h4 {
  font-family: var(--pico-font-family-display);
  font-weight: 700;
  letter-spacing: .005em;
  line-height: 1.08;
  text-wrap: balance;
}
h1, h2 { text-transform: uppercase; }
p { text-wrap: pretty; }
a { color: var(--vda-blue); }
.container { max-width: 1180px; }
.module-anchor { scroll-margin-top: var(--q2-header-height); }
:focus-visible { outline: 3px solid var(--vda-cyan); outline-offset: 2px; }

/* ---------- Header ---------- */
#header { border-bottom: 1px solid var(--vda-line); }
#header .navbar { min-height: var(--q2-header-height); }
#header .navbar-brand img { height: 50px; width: auto; }
#header .dropmenu > ul > li > a,
#header .navigation a {
  font-weight: 600; font-size: 1rem; color: var(--vda-ink);
  text-decoration: none; padding: .5rem .85rem;
}
#header .navigation a:hover { color: var(--vda-blue); }
#header .navigation a.active { color: var(--vda-blue); background: none; box-shadow: inset 0 -2px 0 var(--vda-cyan); border-radius: 0; }
.navbar-section.actions { gap: .5rem; }

.vda-callbtn {
  display: inline-flex; align-items: center; gap: .5rem;
  text-decoration: none; white-space: nowrap;
}
#header .vda-callbtn {
  background: var(--vda-ink); color: #fff; font-weight: 600; font-size: .98rem;
  padding: .55rem 1rem; border-radius: 999px;
  font-variant-numeric: tabular-nums;
}
#header .vda-callbtn:hover { background: var(--vda-blue); color: #fff; }
.vda-mobile-call { margin-top: 2rem; }
.vda-mobile-call .vda-callbtn {
  background: var(--vda-blue); color: #fff; font-weight: 600; font-size: 1.15rem;
  padding: .8rem 1.4rem; border-radius: 999px;
}
.mobile-logo img { height: 52px; width: auto; }
.overlay .overlay-menu a { font-family: var(--pico-font-family-display); text-transform: uppercase; font-size: 1.6rem; color: var(--vda-ink); }

/* ---------- Gedeelde onderdelen ---------- */
.vda-eyebrow {
  font-family: var(--pico-font-family-display);
  text-transform: uppercase; letter-spacing: .14em; font-weight: 600;
  font-size: .95rem; color: var(--vda-blue); margin: 0 0 .75rem;
  display: inline-flex; align-items: center; gap: .6rem;
}
.vda-eyebrow::before { content: ''; width: 28px; height: 3px; background: var(--vda-cyan); border-radius: 2px; }
.vda-section { padding: 6rem 0; }
.vda-section.is-paper { background: var(--vda-paper); }
.vda-section.is-ink { background: var(--vda-ink); color: #E9E6EE; }
.vda-section.is-ink h2, .vda-section.is-ink h3 { color: #fff; }
.vda-section.is-ink .vda-eyebrow { color: var(--vda-cyan); }
.vda-section__head { max-width: 760px; margin: 0 auto 3.5rem; text-align: center; }
.vda-section__head.is-left { margin-left: 0; text-align: left; }
.vda-section__head h2 { font-size: clamp(2.1rem, 4.2vw, 3.1rem); margin: 0 0 1rem; }
.vda-section__intro p { font-size: 1.12rem; color: inherit; opacity: .88; margin: 0; }

.vda-buttons { display: flex; flex-wrap: wrap; gap: .85rem; }
.vda-btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .9rem 1.6rem; border-radius: 999px; border: 2px solid transparent;
  font-weight: 600; font-size: 1.05rem; text-decoration: none; line-height: 1.2;
  transition: background .18s, color .18s, border-color .18s, transform .18s;
}
.vda-btn:hover { transform: translateY(-1px); }
.vda-btn--primary { background: var(--vda-cyan); color: var(--vda-ink); }
.vda-btn--primary:hover { background: #fff; color: var(--vda-ink); }
.vda-btn--ghost-light { color: #fff; border-color: rgba(255,255,255,.55); }
.vda-btn--ghost-light:hover { border-color: #fff; background: rgba(255,255,255,.08); color: #fff; }
.vda-link { font-weight: 600; text-decoration: none; color: var(--vda-blue); }
.vda-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.vda-plainlink { color: inherit; font-weight: 600; }
.vda-plainlink svg { display: none; }

/* ---------- Hero ---------- */
.vda-hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(60% 70% at 78% 55%, rgba(0,157,224,.30) 0%, rgba(0,157,224,0) 70%),
    linear-gradient(180deg, #1D1B20 0%, var(--vda-ink) 100%);
  color: #E9E6EE;
}
.vda-hero::after {
  content: ''; position: absolute; inset: auto 0 0 0; height: 6px;
  background: linear-gradient(90deg, var(--vda-cyan) 0 33%, transparent 33%);
}
.vda-hero__grid {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 2rem; align-items: center; padding-block: 5.5rem 4.5rem;
  min-height: min(760px, calc(100svh - var(--q2-header-height)));
}
.vda-hero .vda-eyebrow { color: var(--vda-cyan); }
.vda-hero h1 { color: #fff; font-size: clamp(2.5rem, 5vw, 3.9rem); text-wrap: wrap; margin: 0 0 1.25rem; }
.vda-hero__lead { font-size: clamp(1.1rem, 1.8vw, 1.28rem); line-height: 1.6; max-width: 36rem; margin: 0 0 2.25rem; color: #D8D4DE; }
.vda-hero__facts {
  list-style: none; padding: 0; margin: 3rem 0 0;
  display: flex; flex-wrap: wrap; gap: 0;
  border-top: 1px solid rgba(255,255,255,.14);
}
.vda-hero__facts li { list-style: none; padding: 1.1rem 1.75rem 0 0; margin: 0 1.75rem 0 0; border-right: 1px solid rgba(255,255,255,.14); }
.vda-hero__facts li:last-child { border-right: 0; margin-right: 0; }
.vda-hero__facts strong { display: block; font-family: var(--pico-font-family-display); font-size: 1.9rem; color: #fff; line-height: 1.1; }
.vda-hero__facts span { font-size: .92rem; color: #B9B4C0; }
.vda-hero__visual {
  /* Flex in plaats van absolute posities: de kasten schalen mee met de hoogte
     en kunnen nooit boven het vak uitsteken (en dus niet over de tekst vallen). */
  position: relative; width: 100%; aspect-ratio: 10 / 9; max-height: 560px;
  display: flex; align-items: flex-end; justify-content: center;
}
.vda-hero__cab {
  position: relative; display: block; width: auto; max-width: none;
  filter: drop-shadow(0 30px 30px rgba(0,0,0,.55));
}
.vda-hero__cab--1 { order: 2; height: 100%; z-index: 3; }
.vda-hero__cab--2 { order: 1; height: 84%; z-index: 2; margin-right: -9%; opacity: .92; }
.vda-hero__cab--3 { order: 3; height: 84%; z-index: 1; margin-left: -9%; opacity: .92; }

/* ---------- Paginakop (tekstpagina's) ---------- */
.vda-pagehead {
  background:
    radial-gradient(50% 120% at 90% 0%, rgba(0,157,224,.25) 0%, rgba(0,157,224,0) 70%),
    var(--vda-ink);
  color: #E9E6EE; padding: 4.5rem 0 3.5rem;
}
.vda-pagehead .vda-eyebrow { color: var(--vda-cyan); }
.vda-pagehead h1 { color: #fff; font-size: clamp(2.4rem, 5.5vw, 4rem); margin: 0 0 1rem; max-width: 18ch; }
.vda-pagehead__intro { font-size: 1.2rem; max-width: 44rem; color: #D8D4DE; margin: 0; }

/* ---------- Diensten ---------- */
.vda-services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.vda-service {
  position: relative; background: #fff; border: 1px solid var(--vda-line);
  border-radius: 14px; padding: 2rem 2rem 1.75rem;
  transition: border-color .18s, box-shadow .18s, transform .18s;
}
.vda-service:hover { border-color: var(--vda-cyan); box-shadow: 0 14px 30px -18px rgba(25,23,27,.35); transform: translateY(-2px); }
.vda-service__num { font-family: var(--pico-font-family-display); font-weight: 700; font-size: 1rem; color: var(--vda-cyan); letter-spacing: .1em; }
.vda-service h3 { font-size: 1.75rem; margin: .4rem 0 .6rem; }
.vda-service p { margin: 0 0 1rem; color: var(--vda-muted); }

/* ---------- Werkwijze ---------- */
.vda-steps-wrap.has-photo { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .9fr); gap: 4rem; align-items: center; }
.vda-steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; gap: 1.5rem; }
.vda-steps li {
  list-style: none; counter-increment: step; position: relative;
  padding: 0 0 0 4.25rem; margin: 0;
}
.vda-steps li::before {
  content: counter(step); position: absolute; left: 0; top: -.15rem;
  width: 2.9rem; height: 2.9rem; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--vda-ink); color: #fff;
  font-family: var(--pico-font-family-display); font-weight: 700; font-size: 1.35rem;
}
.vda-steps-wrap:not(.has-photo) .vda-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 3.5rem; }
.vda-steps-wrap:not(.has-photo) .vda-note { max-width: 760px; }
.vda-steps h3 { font-size: 1.45rem; margin: 0 0 .25rem; text-transform: none; }
.vda-steps p { margin: 0; color: var(--vda-muted); }
.vda-note {
  margin-top: 2.25rem; padding: 1.1rem 1.35rem; border-left: 4px solid var(--vda-cyan);
  background: #fff; border-radius: 0 10px 10px 0; font-size: 1rem;
}
.vda-note p { margin: 0; }
.vda-photo { margin: 0; }
.vda-photo img { width: 100%; height: auto; border-radius: 14px; display: block; box-shadow: 0 24px 50px -24px rgba(25,23,27,.55); }
.vda-photo figcaption { font-size: .9rem; color: var(--vda-muted); margin-top: .75rem; }
.vda-photo--tilt img { transform: rotate(-2deg); border: 10px solid #fff; border-bottom-width: 40px; border-radius: 4px; }

/* ---------- Assortiment ---------- */
.vda-cabinets {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: 2rem 1rem;
  align-items: end;
}
.vda-cabinets li { list-style: none; margin: 0; text-align: center; }
.vda-cabinets { align-items: end; }
.vda-cabinets img {
  height: 300px; width: auto; max-width: 100%; object-fit: contain; display: block; margin: 0 auto;
  filter: drop-shadow(0 18px 18px rgba(0,0,0,.5)); transition: transform .25s;
}
.vda-cabinets li:hover img { transform: translateY(-6px); }
.vda-cabinets span {
  display: block; margin-top: 1rem; font-family: var(--pico-font-family-display);
  text-transform: uppercase; letter-spacing: .08em; font-weight: 600; color: #fff;
}

/* ---------- Over ons ---------- */
.vda-about { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 4.5rem; align-items: center; }
.vda-about .vda-photo { max-width: 380px; justify-self: center; }
.vda-about__text h2 { font-size: clamp(2.1rem, 4.2vw, 3.1rem); margin: 0 0 1.25rem; }
.vda-about__text p { font-size: 1.1rem; }
.vda-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1rem; margin: 2rem 0 0; }
.vda-facts div { border-top: 3px solid var(--vda-ink); padding-top: .75rem; }
.vda-facts dt { font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--vda-muted); font-weight: 600; }
.vda-facts dd { margin: .2rem 0 0; font-weight: 600; color: var(--vda-ink); }

/* ---------- Contact ---------- */
.vda-contact { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 4rem; align-items: start; }
.vda-contact__info h2 { font-size: clamp(2.1rem, 4.2vw, 3.1rem); margin: 0 0 1rem; }
.vda-contact__list { list-style: none; padding: 0; margin: 2rem 0; display: grid; gap: 1.1rem; }
.vda-contact__list li { list-style: none; margin: 0; display: grid; grid-template-columns: 6.5rem 1fr; gap: 1rem; }
.vda-contact__list li > span:first-child { font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; color: var(--vda-muted); font-weight: 600; padding-top: .15rem; }
.vda-contact__list address { font-style: normal; margin: 0; }
.vda-contact__list li > :last-child { justify-self: start; }
.vda-notice {
  background: var(--vda-ink); color: #fff; border-radius: 10px;
  padding: 1rem 1.25rem; font-size: 1rem; margin: 0;
}
.reveal-contact { cursor: pointer; color: var(--vda-blue); border-bottom: 1px dashed currentColor; font-weight: 600; }
.reveal-contact.revealed { border-bottom: 0; }
.vda-form-card {
  background: #fff; border-radius: 16px; padding: 2rem;
  box-shadow: 0 1px 0 var(--vda-line), 0 24px 50px -30px rgba(25,23,27,.45);
}
.vda-form-card label, .vda-form-card .form-label { font-weight: 600; font-size: .98rem; }
.vda-form-card input, .vda-form-card select, .vda-form-card textarea { border-radius: 10px; }
.vda-form-card textarea { min-height: 8.5rem; margin-bottom: 0; }
.vda-form .button-wrapper { margin-top: .5rem; }
.vda-form-card .form-field { margin-bottom: .9rem; }
.vda-form-card button[type=submit], .vda-form-card .button {
  background: var(--vda-ink); border-color: var(--vda-ink); color: #fff; font-weight: 600;
  border-radius: 999px; padding: .85rem 1.8rem; width: auto;
}
.vda-form-card button[type=submit]:hover { background: var(--vda-blue); border-color: var(--vda-blue); }
.vda-form-card .form-message, .vda-form-card .notices, .vda-form-card .alert { margin-bottom: 1rem; }
.vda-form { display: grid; grid-template-columns: 1fr 1fr; column-gap: 1rem; }
.vda-form > .form-field.is-full, .vda-form > .button-wrapper { grid-column: 1 / -1; }
.vda-form .form-label-wrapper { margin-bottom: .3rem; }
.vda-form .form-field { margin-bottom: 1rem; }
.vda-form input:not([type=checkbox]):not([type=radio]), .vda-form select { margin-bottom: 0; }

/* ---------- Tekstpagina ---------- */
.vda-prose { max-width: 760px; margin: 0 auto; }
.vda-prose h2 { font-size: 2rem; margin: 2.75rem 0 .75rem; }
.vda-prose h2:first-child { margin-top: 0; }
.vda-prose h3 { font-size: 1.4rem; margin: 2rem 0 .5rem; }
.vda-prose p, .vda-prose li { font-size: 1.08rem; }
.vda-prose ul li::marker { color: var(--vda-cyan); }
.vda-prose .vda-figure-row p { display: flex; gap: 1.5rem; justify-content: center; align-items: flex-end; margin: 0; }
.vda-prose .vda-figure-row { display: block; gap: 1.5rem; justify-content: center; align-items: flex-end; margin: 2.5rem 0; padding: 2rem 1rem 1.5rem; background: var(--vda-ink); border-radius: 14px; }
.vda-prose .vda-figure-row img { height: 220px; width: auto; filter: drop-shadow(0 14px 14px rgba(0,0,0,.5)); }

/* ---------- CTA-band ---------- */
.vda-cta { background: var(--vda-blue-dark); color: #fff; padding: 3.5rem 0; }
.vda-cta__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; }
.vda-cta h2 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.5rem); margin: 0 0 .4rem; }
.vda-cta p { margin: 0; color: #D7ECF7; max-width: 38rem; }

/* ---------- Footer ---------- */
#footer.vda-footer { background: var(--vda-ink); color: #C9C4D0; padding: 4rem 0 1.75rem; text-align: left; }
.vda-footer h4 { color: #fff; font-size: 1.1rem; text-transform: uppercase; letter-spacing: .1em; margin: 0 0 .9rem; }
.vda-footer p { margin: 0 0 .6rem; color: #C9C4D0; }
.vda-footer a, #footer.vda-footer a { color: #fff; text-decoration: none; }
.vda-footer a:hover { color: var(--vda-cyan); }
.vda-footer .reveal-contact { color: #fff; }
.vda-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
.vda-footer__brand img { width: 232px; height: auto; margin-bottom: 1rem; }
.vda-footer__links { list-style: none; padding: 0; margin: 0; }
.vda-footer__links li { list-style: none; margin: 0 0 .45rem; }
.vda-footer__links a.active { box-shadow: none; }
.vda-footer__bottom {
  margin-top: 3rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.12);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; font-size: .9rem; color: #9A94A2;
}
.vda-footer__bottom a { color: #C9C4D0 !important; }

/* ---------- Responsief ---------- */
@media (min-width: 861px) and (max-width: 1180px) {
  #header .navbar-brand img { height: 42px; }
  #header .navigation a { padding: .5rem .55rem; font-size: .95rem; }
  #header .vda-callbtn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  #header .vda-callbtn { padding: .6rem; }
  .vda-hero__facts li { padding-right: 1rem; margin-right: 1rem; }
  .vda-hero__facts strong { font-size: 1.5rem; }
}
@media (max-width: 1000px) {
  .vda-hero__grid { grid-template-columns: 1fr; padding-block: 4rem 0; min-height: 0; }
  .vda-hero__visual { max-width: 480px; max-height: 430px; margin: 0 auto; }
  .vda-steps-wrap.has-photo, .vda-about, .vda-contact { grid-template-columns: 1fr; gap: 3rem; }
  .vda-steps-wrap .vda-photo { max-width: 460px; }
}
@media (max-width: 860px) {
  #header .navbar-brand img { height: 42px; }
  :root { --q2-header-height: 64px; }
}
@media (max-width: 700px) {
  :root { --pico-font-size: 17px; }
  .vda-section { padding: 4rem 0; }
  .vda-services, .vda-steps-wrap:not(.has-photo) .vda-steps { grid-template-columns: 1fr; }
  .vda-service { padding: 1.5rem; }
  .vda-hero__visual { max-width: 340px; }
  .vda-hero__facts { display: block; border-top: 0; }
  .vda-hero__facts li { display: flex; align-items: baseline; gap: .6rem; padding: .7rem 0; margin: 0; border-right: 0; border-top: 1px solid rgba(255,255,255,.14); }
  .vda-hero__facts strong { display: inline; font-size: 1.3rem; }
  .vda-hero__facts span { font-size: .95rem; }
  .vda-cabinets { grid-template-columns: repeat(2, 1fr); }
  .vda-cabinets img { height: 230px; }
  .vda-form { grid-template-columns: 1fr; }
  .vda-form-card { padding: 1.4rem; }
  .vda-footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .vda-contact__list li { grid-template-columns: 1fr; gap: .1rem; }
  .vda-prose .vda-figure-row img { height: 140px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .vda-btn, .vda-service, .vda-cabinets img { transition: none; }
}

/* ---------- Correcties op Quark 2 ---------- */
.vda-section h2::before, .vda-prose h2::before, .vda-prose h1::before, .vda-cta h2::before, .vda-pagehead h1::before, .vda-hero h1::before { content: none; }
.vda-hero p, .vda-pagehead p { color: inherit; }
.vda-hero .vda-hero__lead { color: #D8D4DE; }
.vda-services, .vda-cabinets, .vda-steps { margin-left: 0; }
