/* ============================================
   DoDrone — stylesheet v2 "Cinematic Trust"
   Navy + sky-blue vertrouwen, oranje conversie-CTA's
   Koppen: Poppins · Tekst: Open Sans
   ============================================ */

:root {
  /* kleur */
  --navy-950: #081120;
  --navy-900: #0C1A2E;
  --navy-800: #122440;
  --navy-700: #1B3358;
  --sky-600: #0284C7;
  --sky-500: #0EA5E9;
  --sky-400: #38BDF8;
  --sky-100: #E0F2FE;
  --sky-50: #F0F9FF;
  --cta: #F97316;
  --cta-dark: #EA580C;
  --bg: #F8FAFC;
  --card: #FFFFFF;
  --text: #0F172A;
  --muted: #475569;
  --border: #E2E8F0;
  --on-dark: #E8F0FA;
  --on-dark-muted: #A3B8D0;
  --on-dark-border: rgba(232, 240, 250, 0.14);
  --error: #DC2626;

  /* vorm & diepte */
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 3px rgba(8, 17, 32, 0.07), 0 1px 2px rgba(8, 17, 32, 0.05);
  --shadow: 0 14px 36px rgba(8, 17, 32, 0.10);
  --shadow-lg: 0 26px 60px rgba(8, 17, 32, 0.16);
  --max-w: 1140px;
  --nav-h: 64px;

  /* beweging */
  --ease: cubic-bezier(0.22, 0.8, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Open Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Poppins", "Segoe UI", system-ui, sans-serif;
  line-height: 1.22;
  letter-spacing: -0.02em;
}

img, svg { display: block; max-width: 100%; }

a { color: var(--sky-600); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--sky-500); }

::selection { background: var(--sky-100); color: var(--navy-900); }

:focus-visible {
  outline: 3px solid var(--sky-500);
  outline-offset: 2px;
  border-radius: 6px;
}

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Zwevende glass-navigatie ---------- */
.site-header {
  position: fixed;
  top: 14px;
  left: 16px;
  right: 16px;
  z-index: 100;
}

.site-header .nav {
  max-width: var(--max-w);
  margin: 0 auto;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px 0 22px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Poppins", sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy-900);
  letter-spacing: -0.02em;
}
.logo:hover { color: var(--navy-900); }
.logo .logo-mark { color: var(--sky-600); }
.logo span em { color: var(--sky-600); font-style: normal; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}

.nav-links a {
  display: inline-block;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 9px 14px;
  border-radius: 999px;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}
.nav-links a:hover { color: var(--navy-900); background: var(--sky-50); }
.nav-links a.active { color: var(--sky-600); background: var(--sky-50); }

.nav-cta {
  background: var(--cta);
  color: #FFFFFF !important;
  font-weight: 700;
  padding: 11px 22px !important;
  margin-left: 8px;
  box-shadow: 0 6px 18px rgba(249, 115, 22, 0.35);
  transition: background 0.2s var(--ease), box-shadow 0.2s var(--ease) !important;
}
.nav-cta:hover { background: var(--cta-dark) !important; box-shadow: 0 8px 22px rgba(249, 115, 22, 0.45); }
.nav-cta.active { background: var(--cta-dark); }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  border-radius: 999px;
  color: var(--navy-900);
  cursor: pointer;
  transition: background 0.2s var(--ease);
}
.nav-toggle:hover { background: var(--sky-50); }
.nav-toggle .icon-close { display: none; }
.nav-toggle.open .icon-menu { display: none; }
.nav-toggle.open .icon-close { display: block; }

/* ---------- Hero: donker & cinematisch ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1100px 520px at 82% -10%, rgba(14, 165, 233, 0.22), transparent 62%),
    radial-gradient(800px 420px at 8% 112%, rgba(2, 132, 199, 0.16), transparent 60%),
    linear-gradient(180deg, var(--navy-950) 0%, var(--navy-900) 70%, var(--navy-800) 100%);
  color: var(--on-dark);
  padding: calc(var(--nav-h) + 84px) 0 96px;
}

/* subtiele hoogtelijnen-textuur */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(115deg, rgba(232, 240, 250, 0.035) 0 1px, transparent 1px 90px);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 56px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sky-400);
  margin-bottom: 20px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--sky-400);
  border-radius: 2px;
}

.hero h1 {
  font-size: clamp(2.4rem, 5.2vw, 3.9rem);
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 22px;
}
.hero h1 .highlight {
  color: var(--sky-400);
  position: relative;
  white-space: nowrap;
}
.hero h1 .highlight::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.04em;
  height: 0.14em;
  background: rgba(14, 165, 233, 0.35);
  border-radius: 99px;
  z-index: -1;
}

.hero p.lead {
  font-size: 1.13rem;
  color: var(--on-dark-muted);
  max-width: 540px;
  margin-bottom: 30px;
}

/* vertrouwensbadges in de hero */
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--on-dark-border);
  border-radius: 999px;
  background: rgba(232, 240, 250, 0.05);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--on-dark);
}
.hero-badge svg { width: 16px; height: 16px; color: var(--sky-400); flex: none; }

.btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 30px;
  border-radius: 999px;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: background 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.btn svg { width: 18px; height: 18px; }

.btn-primary {
  background: var(--cta);
  color: #FFFFFF;
  box-shadow: 0 10px 26px rgba(249, 115, 22, 0.38);
}
.btn-primary:hover { background: var(--cta-dark); color: #FFFFFF; box-shadow: 0 12px 30px rgba(249, 115, 22, 0.5); }

.btn-ghost {
  background: transparent;
  color: var(--on-dark);
  border: 1.5px solid var(--on-dark-border);
}
.btn-ghost:hover { border-color: var(--sky-400); color: var(--sky-400); }

/* lichte secties: ghost-knop donker maken */
.on-light .btn-ghost, main > section:not(.hero):not(.cta-band) .btn-ghost {
  color: var(--navy-900);
  border-color: var(--border);
}
main > section:not(.hero):not(.cta-band) .btn-ghost:hover { border-color: var(--sky-600); color: var(--sky-600); }

.hero-visual { position: relative; }
.hero-visual svg {
  width: 100%;
  height: auto;
  aspect-ratio: 460 / 360;
  filter: drop-shadow(0 30px 50px rgba(8, 17, 32, 0.45));
  border-radius: 20px;
}

/* statistieken-strip onder in de hero */
.hero-stats {
  position: relative;
  display: flex;
  gap: 0;
  margin-top: 56px;
  border: 1px solid var(--on-dark-border);
  border-radius: var(--radius);
  background: rgba(232, 240, 250, 0.04);
  backdrop-filter: blur(6px);
  overflow: hidden;
}
.stat {
  flex: 1;
  padding: 20px 24px;
  text-align: center;
}
.stat + .stat { border-left: 1px solid var(--on-dark-border); }
.stat strong {
  display: block;
  font-family: "Poppins", sans-serif;
  font-size: 1.9rem;
  font-weight: 700;
  color: #FFFFFF;
}
.stat strong span { font-size: inherit; color: inherit; }
.stat strong .accent { color: var(--sky-400); }
.stat > span { color: var(--on-dark-muted); font-size: 0.88rem; }

/* ---------- Secties ---------- */
section { padding: 96px 0; }
section.alt { background: #FFFFFF; }

.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section-head .kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sky-600);
  margin-bottom: 12px;
}
.section-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); font-weight: 700; margin-bottom: 14px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }

/* ---------- Diensten ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}

.card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.card:hover {
  border-color: rgba(14, 165, 233, 0.45);
  box-shadow: var(--shadow);
}
.card .icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--sky-50);
  color: var(--sky-600);
  margin-bottom: 20px;
}
.card .icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.12rem; font-weight: 600; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 0.95rem; overflow-wrap: break-word; }
.card .price {
  display: inline-block;
  margin-top: 16px;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--navy-900);
  background: var(--sky-100);
  padding: 5px 14px;
  border-radius: 999px;
}

/* ---------- Werkwijze: tijdlijn ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  counter-reset: step;
  position: relative;
}
.steps::before {
  content: "";
  position: absolute;
  top: 26px;
  left: calc(12.5% + 26px);
  right: calc(12.5% + 26px);
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--sky-400) 0 8px, transparent 8px 16px);
  opacity: 0.5;
}
.step { position: relative; padding-top: 0; text-align: center; }
.step::before {
  counter-increment: step;
  content: counter(step);
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--navy-900);
  color: #FFFFFF;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  border: 3px solid var(--sky-400);
  box-shadow: 0 8px 20px rgba(8, 17, 32, 0.18);
}
.step h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 0.92rem; }

/* ---------- Waarom DoDrone: vertrouwensband ---------- */
.trust-band {
  background:
    radial-gradient(900px 420px at 88% 0%, rgba(14, 165, 233, 0.16), transparent 60%),
    linear-gradient(180deg, var(--navy-900), var(--navy-950));
  color: var(--on-dark);
}
.trust-band .section-head h2 { color: #FFFFFF; }
.trust-band .section-head p { color: var(--on-dark-muted); }
.trust-band .card {
  background: rgba(232, 240, 250, 0.05);
  border-color: var(--on-dark-border);
  box-shadow: none;
}
.trust-band .card:hover { border-color: rgba(56, 189, 248, 0.5); box-shadow: none; }
.trust-band .card h3 { color: #FFFFFF; }
.trust-band .card p { color: var(--on-dark-muted); }
.trust-band .card .icon { background: rgba(14, 165, 233, 0.14); color: var(--sky-400); }

/* ---------- CTA-band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(800px 380px at 50% -30%, rgba(14, 165, 233, 0.3), transparent 65%),
    linear-gradient(135deg, var(--navy-800), var(--navy-950));
  color: var(--on-dark);
  padding: 88px 0;
}
.cta-band h2 { color: #FFFFFF; font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin-bottom: 14px; }
.cta-band p { color: var(--on-dark-muted); margin-bottom: 30px; font-size: 1.05rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-950);
  color: var(--on-dark-muted);
  border-top: 1px solid var(--on-dark-border);
  padding: 64px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 36px;
  margin-bottom: 44px;
}
.footer-grid h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 16px;
}
.footer-grid p, .footer-grid a { color: var(--on-dark-muted); font-size: 0.93rem; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 9px; }
.footer-grid a:hover { color: var(--sky-400); }
.footer-bottom {
  border-top: 1px solid var(--on-dark-border);
  padding-top: 26px;
  text-align: center;
  font-size: 0.86rem;
}
.footer-bottom a { color: var(--on-dark-muted); text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom a:hover { color: var(--sky-400); }

/* ---------- Pagina-hero (subpagina's) ---------- */
.page-hero {
  background:
    radial-gradient(900px 380px at 80% -20%, rgba(14, 165, 233, 0.2), transparent 60%),
    linear-gradient(180deg, var(--navy-950), var(--navy-900));
  color: var(--on-dark);
  padding: calc(var(--nav-h) + 76px) 0 64px;
  text-align: center;
}
.page-hero h1 { color: #FFFFFF; font-size: clamp(2rem, 4.5vw, 3rem); margin-bottom: 14px; }
.page-hero p { color: var(--on-dark-muted); max-width: 580px; margin: 0 auto; font-size: 1.05rem; }

/* ---------- Portfolio ---------- */
.filter-bar {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}
.filter-btn {
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--muted);
  min-height: 44px;
  padding: 10px 22px;
  border-radius: 999px;
  font-family: "Poppins", sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.filter-btn:hover { color: var(--navy-900); border-color: var(--sky-500); }
.filter-btn.active { background: var(--navy-900); border-color: var(--navy-900); color: #FFFFFF; }

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}
.portfolio-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.portfolio-item:hover { box-shadow: var(--shadow); border-color: rgba(14, 165, 233, 0.4); }
.portfolio-item.hidden { display: none; }
.portfolio-thumb { position: relative; aspect-ratio: 4 / 3; width: 100%; overflow: hidden; }
.portfolio-thumb svg, .portfolio-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--ease); }
.portfolio-item:hover .portfolio-thumb img, .portfolio-item:hover .portfolio-thumb svg { transform: scale(1.04); }

/* play-knop op videothumbnails */
.play-badge {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #FFFFFF;
  pointer-events: none;
}
.play-badge svg {
  width: 64px !important;
  height: 64px !important;
  object-fit: unset !important;
  padding: 18px;
  border-radius: 50%;
  background: rgba(8, 17, 32, 0.62);
  backdrop-filter: blur(4px);
  box-shadow: var(--shadow);
  transition: background 0.2s var(--ease) !important;
}
.portfolio-item:hover .play-badge svg { background: rgba(249, 115, 22, 0.92); transform: none; }

/* video in de lightbox */
.lightbox-media iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 82vh;
  border: 0;
  display: block;
}
.portfolio-info {
  padding: 18px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.portfolio-info h3 { font-size: 1.02rem; font-weight: 600; }
.portfolio-info span {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--sky-600);
  background: var(--sky-50);
  padding: 5px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

/* ---------- Formulieren ---------- */
.form-wrap {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  align-items: start;
}
.form-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 38px;
  box-shadow: var(--shadow);
}

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-grid .full { grid-column: 1 / -1; }

label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 7px;
  color: var(--text);
}
label .req { color: var(--cta); }

input, select, textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--sky-500);
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.15);
}
input.invalid, select.invalid, textarea.invalid { border-color: var(--error); }
textarea { resize: vertical; min-height: 120px; }

select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23475569' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

.field-error { color: var(--error); font-size: 0.82rem; margin-top: 5px; display: none; }
.field.has-error .field-error { display: block; }
.form-note { font-size: 0.86rem; color: var(--muted); margin-top: 18px; }

.form-banner {
  background: #FEF2F2;
  border: 1px solid rgba(220, 38, 38, 0.4);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin-bottom: 20px;
  font-size: 0.92rem;
  color: var(--error);
}

/* samenvatting / zijkaart */
.summary-card {
  background: linear-gradient(180deg, var(--navy-900), var(--navy-950));
  color: var(--on-dark);
  border: 1px solid var(--on-dark-border);
  border-radius: var(--radius);
  padding: 30px;
  position: sticky;
  top: calc(var(--nav-h) + 30px);
  box-shadow: var(--shadow);
}
.summary-card h3 { color: #FFFFFF; margin-bottom: 18px; font-size: 1.1rem; }
.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--on-dark-border);
  font-size: 0.93rem;
}
.summary-row span:first-child { color: var(--on-dark-muted); }
.summary-row.total { border-bottom: none; padding-top: 16px; font-weight: 700; font-size: 1.05rem; }
.summary-row.total span:last-child { color: var(--sky-400); }
.summary-card .form-note { color: var(--on-dark-muted); }

/* succesmelding */
.form-success { display: none; text-align: center; padding: 48px 24px; }
.form-success.visible { display: block; }
.form-success .check {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--sky-100);
  display: grid;
  place-items: center;
  color: var(--sky-600);
}
.form-success .check svg { width: 34px; height: 34px; }
.form-success h3 { font-size: 1.4rem; margin-bottom: 10px; }
.form-success p { color: var(--muted); }

/* ---------- Contact-zijkant ---------- */
.contact-aside .info-block {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 0;
  border-bottom: 1px solid var(--on-dark-border);
}
.contact-aside .info-block:last-child { border-bottom: none; }
.contact-aside .icon {
  width: 44px;
  height: 44px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(14, 165, 233, 0.14);
  color: var(--sky-400);
}
.contact-aside .icon svg { width: 20px; height: 20px; }
.contact-aside h4 { font-size: 0.95rem; color: #FFFFFF; margin-bottom: 2px; }
.contact-aside p { color: var(--on-dark-muted); font-size: 0.92rem; }
.contact-aside a { color: var(--sky-400); }

/* ---------- Lightbox (portfolio-vergroting) ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  place-items: center;
  padding: 28px;
  background: rgba(8, 17, 32, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.lightbox.open { display: grid; }
.lightbox-figure {
  position: relative;
  max-width: min(1100px, 94vw);
  width: 100%;
}
.lightbox-media {
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--navy-900);
}
.lightbox-media img, .lightbox-media svg {
  width: 100%;
  height: auto;
  max-height: 82vh;
  object-fit: contain;
}
.lightbox-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 14px;
  color: var(--on-dark);
}
.lightbox-caption h3 { font-size: 1.05rem; color: #FFFFFF; }
.lightbox-caption span {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--sky-400);
  background: rgba(14, 165, 233, 0.14);
  padding: 5px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
.lightbox-close {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: none;
  border-radius: 50%;
  background: #FFFFFF;
  color: var(--navy-900);
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.lightbox-close:hover { background: var(--sky-100); color: var(--sky-600); }
.lightbox-close svg { width: 20px; height: 20px; }

@media (max-width: 680px) {
  .lightbox { padding: 16px; }
  .lightbox-close { top: -12px; right: -4px; }
}

/* ---------- Tekstpagina's ---------- */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-size: 1.35rem; margin: 38px 0 12px; }
.prose h3 { font-size: 1.1rem; margin: 28px 0 10px; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose p { color: var(--muted); margin-bottom: 16px; }
.prose ul { color: var(--muted); margin: 0 0 16px 22px; }
.prose li { margin-bottom: 6px; }

/* ---------- Responsief ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 480px; margin: 0 auto; order: -1; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
  .form-wrap { grid-template-columns: 1fr; }
  .summary-card { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: calc(var(--nav-h) + 10px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 22px;
    box-shadow: var(--shadow-lg);
    padding: 14px;
    gap: 4px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; text-align: center; padding: 13px 14px; }
  .nav-cta { margin-left: 0; margin-top: 6px; }

  .hero { padding: calc(var(--nav-h) + 56px) 0 64px; }
  .hero-stats { flex-direction: column; }
  .stat + .stat { border-left: none; border-top: 1px solid var(--on-dark-border); }
  .steps { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 26px 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  section { padding: 64px 0; }
}

/* ---------- Beweging met respect voor voorkeuren ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- Toestemmingsvinkje (AVG) ---------- */
.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-weight: 400;
  font-size: 0.92rem;
  color: var(--muted);
  cursor: pointer;
}
.consent-label input[type="checkbox"] {
  width: 22px;
  height: 22px;
  min-height: 22px;
  flex: none;
  margin-top: 2px;
  accent-color: var(--sky-600);
  cursor: pointer;
}
.consent-label a { text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Slidende menu-indicator ---------- */
.nav-links { position: relative; }
.nav-indicator {
  position: absolute;
  background: var(--sky-50);
  border-radius: 999px;
  opacity: 0;
  pointer-events: none;
  transition: left 0.25s var(--ease), width 0.25s var(--ease), top 0.25s var(--ease), height 0.25s var(--ease), opacity 0.2s var(--ease);
}
.nav-links li { position: relative; z-index: 1; }
.nav-links.has-indicator a:hover { background: transparent; }
.nav-links.has-indicator a.active:not(.nav-cta) { background: transparent; }
@media (max-width: 680px) {
  .nav-indicator { display: none; }
  .nav-links.has-indicator a:hover { background: var(--sky-50); }
}

/* ---------- Projectpagina & galerij ---------- */
.back-link { color: var(--on-dark-muted); font-size: 0.9rem; font-weight: 600; }
.back-link:hover { color: var(--sky-400); }

.project-meta {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
}
.gallery-item {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--navy-900);
  cursor: pointer;
  transition: box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.gallery-item:hover { border-color: rgba(14, 165, 233, 0.5); box-shadow: var(--shadow); }
.gallery-item img, .gallery-item svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s var(--ease);
}
.gallery-item:hover img, .gallery-item:hover svg { transform: scale(1.04); }

.media-count {
  position: absolute;
  top: 10px;
  right: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(8, 17, 32, 0.72);
  backdrop-filter: blur(4px);
  color: #FFFFFF;
  font-size: 0.8rem;
  font-weight: 700;
}
.media-count svg { width: 14px; height: 14px; }

/* bladeren in de lightbox */
.lightbox-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 210;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy-900);
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.lightbox-nav:hover { background: var(--sky-100); color: var(--sky-600); }
.lightbox-nav svg { width: 22px; height: 22px; }
.lightbox-prev { left: 18px; }
.lightbox-next { right: 18px; }
.lightbox-counter {
  font-size: 0.85rem !important;
  font-weight: 700;
  letter-spacing: 0.05em;
}
@media (max-width: 680px) {
  .lightbox-nav { width: 44px; height: 44px; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}

/* ---------- Klikbare dienstkaarten ---------- */
.card-link {
  display: block;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}
.card-link:hover { color: inherit; }
.card-link .card-more {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 14px;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--sky-600);
  transition: gap 0.2s var(--ease);
}
.card-link .card-more svg { width: 16px; height: 16px; }
.card-link:hover .card-more { gap: 11px; color: var(--sky-500); }
.card-link .price { display: block; width: fit-content; }

/* ============================================
   Klantportaal
   ============================================ */
body.portal { background: var(--bg); }
.portal-header { background: var(--navy-900); border-bottom: 1px solid var(--on-dark-border); }
.portal-bar { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.portal-header .logo { color: #fff; }
.portal-header .logo em { color: var(--sky-400); }
.portal-nav { display: flex; align-items: center; gap: 20px; }
.portal-nav a { color: var(--on-dark-muted); font-weight: 600; font-size: 0.93rem; }
.portal-nav a:hover { color: #fff; }
.portal-nav .link-btn { background: none; border: none; color: var(--on-dark-muted); font: inherit; font-weight: 600; cursor: pointer; }
.portal-nav .link-btn:hover { color: #fff; }
.portal-main { padding: 40px 0 60px; min-height: 60vh; }
.portal-main h1 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: 6px; }
.portal-main h2 { font-size: 1.2rem; margin: 36px 0 14px; }
.portal-footer { background: var(--navy-950); color: var(--on-dark-muted); padding: 24px 0; text-align: center; font-size: 0.85rem; }
.portal-footer a { color: var(--sky-400); }

.portal-login { max-width: 440px; margin: 30px auto; text-align: center; }
.portal-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; box-shadow: var(--shadow-sm); text-align: left;
}
.portal-card label { margin-top: 14px; }
.portal-card label:first-child { margin-top: 0; }

.portal-note { border-radius: var(--radius-sm); padding: 14px 18px; margin: 18px 0; font-size: 0.95rem; }
.portal-note-ok { background: #ecfdf5; border: 1px solid #6ee7b7; color: #065f46; }
.portal-note-error { background: #fef2f2; border: 1px solid #fca5a5; color: #991b1b; }
.portal-note-action { background: var(--sky-50); border: 1px solid var(--sky-400); color: var(--navy-900); }

.portal-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 22px 0; }
.portal-stat { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; text-align: center; }
.portal-stat-value { display: block; font-family: "Poppins", sans-serif; font-size: 1.8rem; font-weight: 700; color: var(--navy-900); }
.portal-stat-label { color: var(--muted); font-size: 0.88rem; }

.portal-list { display: flex; flex-direction: column; gap: 10px; }
.portal-row {
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 16px 20px; color: var(--text); transition: border-color 0.2s, box-shadow 0.2s;
}
.portal-row:hover { border-color: var(--sky-400); box-shadow: var(--shadow-sm); color: var(--text); }
.portal-row .muted { margin-left: 10px; font-size: 0.85rem; }
.portal-row-right { display: flex; align-items: center; gap: 14px; font-weight: 600; }

.portal-back { display: inline-block; margin-bottom: 14px; font-weight: 600; }
.portal-quote-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.portal-quote-table { width: 100%; border-collapse: collapse; }
.portal-quote-table th { text-align: left; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); padding: 8px 10px; border-bottom: 2px solid var(--border); }
.portal-quote-table td { padding: 10px; border-bottom: 1px solid var(--border); }
.portal-quote-table th:last-child, .portal-quote-table td:last-child { text-align: right; white-space: nowrap; }
.portal-quote-table th:nth-child(2), .portal-quote-table td:nth-child(2), .portal-quote-table th:nth-child(3), .portal-quote-table td:nth-child(3) { text-align: right; white-space: nowrap; }
.portal-quote-table tfoot td { border-bottom: none; color: var(--muted); }
.portal-quote-total td { font-weight: 700; font-size: 1.05rem; color: var(--navy-900); border-top: 2px solid var(--border); }

.portal-sign { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; margin-top: 24px; box-shadow: var(--shadow-sm); }
.sigpad-wrap { position: relative; }
.sigpad {
  width: 100%; height: 180px; background: #fff;
  border: 2px dashed var(--border); border-radius: var(--radius-sm); touch-action: none; cursor: crosshair;
}
.sigpad-clear { position: absolute; top: 10px; right: 10px; background: var(--bg-soft); border: 1px solid var(--border); border-radius: 6px; padding: 4px 12px; font-size: 0.82rem; cursor: pointer; }
.portal-sig-display { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 10px; display: inline-block; }
.portal-decline { margin-top: 22px; }
.portal-decline summary { cursor: pointer; color: var(--muted); font-weight: 600; }
.portal-decline textarea { margin-top: 10px; }

@media (max-width: 640px) {
  .portal-cards { grid-template-columns: 1fr; }
}

/* ---------- Portaal: tickets & galerij ---------- */
.ticket-thread { display: flex; flex-direction: column; gap: 12px; }
.ticket-msg { padding: 12px 16px; border-radius: 12px; max-width: 88%; }
.ticket-msg-meta { font-size: 0.8rem; color: var(--muted); margin-bottom: 4px; }
.ticket-msg-in { background: var(--bg); border: 1px solid var(--border); align-self: flex-start; }
.ticket-msg-out { background: var(--sky-50); border: 1px solid var(--sky-100); align-self: flex-end; }
.portal-gallery { margin-top: 8px; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.gallery-thumb { position: relative; display: block; border-radius: 12px; overflow: hidden; border: 1px solid var(--border); background: var(--card); aspect-ratio: 4/3; cursor: pointer; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; -webkit-user-drag: none; user-select: none; pointer-events: none; }
.gallery-thumb.selectable input { position: absolute; opacity: 0; }
.gallery-check { position: absolute; top: 8px; right: 8px; width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,0.85); border: 2px solid var(--border); display: grid; place-items: center; color: transparent; font-weight: 700; }
.gallery-thumb.selectable input:checked ~ .gallery-check { background: var(--accent, #2dd4bf); border-color: var(--accent, #2dd4bf); color: #04211c; }
.gallery-thumb.selectable:has(input:checked) { outline: 3px solid var(--sky-500); outline-offset: -3px; }
.gallery-pick { position: absolute; bottom: 8px; left: 8px; background: rgba(8,17,32,0.82); color: #fff; font-size: 0.78rem; padding: 4px 10px; border-radius: 6px; }

/* ---------- Kennisbank ---------- */
.kb-list { max-width: 760px; margin: 0 auto; }
.kb-cat { font-size: 1.1rem; margin: 28px 0 10px; color: var(--navy-900); }
.kb-cat:first-child { margin-top: 0; }
.kb-link {
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 16px 20px; margin-bottom: 10px;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-sm);
  color: var(--navy-900); font-weight: 600; transition: border-color .2s var(--ease), transform .2s var(--ease);
}
.kb-link:hover { border-color: var(--sky-500); transform: translateX(3px); color: var(--sky-600); }
.kb-link svg { width: 18px; height: 18px; flex: none; }

/* ---------- Reviews (homepage) ---------- */
.review-stars-inline { display:inline-flex; gap:2px; vertical-align:middle; color:#F59E0B; }
.review-stars-inline .star { width:18px; height:18px; }
.reviews-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(280px,1fr)); gap:22px; }
.review-card {
  background:var(--card); border:1px solid var(--border); border-radius:var(--radius);
  padding:26px; margin:0; box-shadow:var(--shadow-sm);
}
.review-card .review-stars { display:flex; gap:2px; color:#F59E0B; margin-bottom:12px; }
.review-card .review-stars .star { width:18px; height:18px; }
.review-card blockquote { margin:0 0 16px; font-size:1.02rem; line-height:1.6; color:var(--text); }
.review-card figcaption { font-size:0.92rem; }
.review-card figcaption strong { display:block; color:var(--navy-900); }
.review-card figcaption span { color:var(--muted); font-size:0.88rem; }

/* ---------- Klantgalerij: vergroot-knop + lightbox ---------- */
.gallery-thumb { position: relative; }
.gallery-zoom {
  position: absolute; top: 8px; right: 8px; z-index: 3;
  width: 36px; height: 36px; display: grid; place-items: center;
  border: none; border-radius: 50%; cursor: pointer;
  background: rgba(8,17,32,0.62); color: #fff; opacity: 0; transition: opacity .15s, background .15s;
}
.gallery-thumb:hover .gallery-zoom, .gallery-zoom:focus { opacity: 1; }
.gallery-zoom:hover { background: rgba(8,17,32,0.85); }
.gallery-zoom svg { width: 18px; height: 18px; }
@media (hover: none) { .gallery-zoom { opacity: 1; } }

.pg-lightbox {
  position: fixed; inset: 0; z-index: 200; display: none;
  align-items: center; justify-content: center; gap: 8px;
  background: rgba(8,17,32,0.92); padding: 20px;
}
.pg-lightbox.open { display: flex; }
.pg-lb-figure { margin: 0; max-width: 92vw; max-height: 88vh; text-align: center; }
.pg-lb-figure img { max-width: 92vw; max-height: 82vh; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,0.5); user-select: none; }
.pg-lb-count { color: #cbd5e1; font-size: 0.85rem; margin-top: 10px; }
.pg-lb-close { position: absolute; top: 16px; right: 20px; background: none; border: none; color: #fff; font-size: 2.4rem; line-height: 1; cursor: pointer; }
.pg-lb-nav { background: rgba(255,255,255,0.12); color: #fff; border: none; width: 52px; height: 52px; border-radius: 50%; font-size: 2rem; line-height: 1; cursor: pointer; flex: none; transition: background .15s; }
.pg-lb-nav:hover { background: rgba(255,255,255,0.25); }
@media (max-width: 600px) { .pg-lb-nav { width: 42px; height: 42px; font-size: 1.6rem; } .pg-lb-figure img { max-height: 74vh; } }

/* ---------- Spam-honeypot (onzichtbaar voor mensen) ---------- */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
