@import url('/css/base.css');

.sprite { position: absolute; width: 0; height: 0; }

.skip {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 20;
  padding: 10px 16px;
  background: #fff;
  border-radius: var(--radius-small);
}
.skip:focus { top: 12px; }

/* Kop */
.top {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 70px;
  padding: 10px var(--gutter);
  background: rgba(6, 38, 74, .93);
  backdrop-filter: blur(10px);
  color: #fff;
}
.top-nav { display: flex; gap: 28px; margin-left: auto; }
.top-nav a { color: var(--on-navy); text-decoration: none; transition: color .2s; }
.top-nav a:hover { color: #fff; }
.top :focus-visible, .hero :focus-visible, .signup :focus-visible, .footer :focus-visible { outline-color: var(--sky); }

/* Golven tussen de secties */
.wave { display: block; width: 100%; height: clamp(36px, 6vw, 92px); margin-top: -1px; }
.wave-flip { transform: scaleX(-1); }
.wave-navy-white { background: linear-gradient(var(--navy) 3px, var(--paper) 3px); fill: var(--navy); }
.wave-white-tint { background: var(--tint); fill: var(--paper); }
.wave-tint-white { background: var(--paper); fill: var(--tint); }
.wave-white-navy { background: var(--navy); fill: var(--paper); }
.wave-navy-deep { background: linear-gradient(var(--navy) 3px, var(--navy-deep) 3px); fill: var(--navy); }

/* Hero */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 40px 32px;
  padding: clamp(44px, 6vw, 88px) var(--gutter) clamp(28px, 3vw, 44px);
  background:
    radial-gradient(60% 90% at 88% 20%, rgba(95, 214, 246, .16), transparent 70%),
    var(--navy);
  color: #fff;
}
.hero-copy { max-width: 780px; }
.hero-mark {
  width: clamp(200px, 22vw, 320px);
  height: clamp(200px, 22vw, 320px);
  color: #a9e6f8;
  animation: hover-float 7s ease-in-out infinite;
}
@keyframes hover-float {
  50% { transform: translateY(-14px) rotate(2deg); }
}
.eyebrow {
  margin-bottom: 12px;
  color: var(--sky);
  font-family: var(--display);
  font-style: italic;
  font-size: 1.2rem;
}
.eyebrow-dark { color: var(--sky-strong); }
h1 { font-size: clamp(2.7rem, 6vw, 5.4rem); line-height: 1.04; }
h1 em { color: var(--sky); font-weight: 400; }
.lead { margin-top: 22px; max-width: 34em; color: var(--on-navy); font-size: 1.2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* Voordelen */
.benefits {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 26px clamp(22px, 3vw, 44px);
  margin-top: clamp(8px, 2vw, 24px);
  padding: 0;
  list-style: none;
}
.benefits h2 { margin-bottom: 6px; font-size: 1.3rem; }
.benefits p { color: var(--on-navy); font-size: 1rem; line-height: 1.5; }
.benefit-icon {
  width: 34px;
  height: 34px;
  margin-bottom: 12px;
  padding: 8px;
  border-radius: 50%;
  background: rgba(95, 214, 246, .16);
  color: var(--sky);
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Voor/na-vergelijker */
.ba {
  --pos: 50%;
  position: relative;
  overflow: hidden;
  aspect-ratio: 7 / 5;
  border-radius: var(--radius);
  background: var(--line);
  box-shadow: var(--shadow);
  isolation: isolate;
}
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; user-select: none; }
.ba-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 2px;
  margin-left: -1px;
  background: rgba(255, 255, 255, .95);
  box-shadow: 0 0 16px 3px rgba(255, 255, 255, .5);
  pointer-events: none;
}
.ba-drone {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #fff;
  color: var(--navy);
  box-shadow: 0 6px 22px rgba(6, 38, 74, .35);
}
.ba-drone svg { width: 38px; height: 38px; }
.drone-eye { fill: var(--sky); }
.ba-tag {
  position: absolute;
  top: 14px;
  z-index: 1;
  padding: 3px 14px;
  border-radius: 999px;
  background: rgba(6, 38, 74, .82);
  color: #fff;
  font-size: .88rem;
  font-weight: 600;
  pointer-events: none;
}
.ba-tag-before { left: 14px; }
.ba-tag-after { right: 14px; background: var(--sky); color: var(--navy); }
.ba-range {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  touch-action: pan-y;
  -webkit-appearance: none;
  appearance: none;
}
.ba-range::-webkit-slider-thumb { -webkit-appearance: none; width: 3px; height: 100vh; }
.ba-range::-moz-range-thumb { width: 3px; height: 100vh; border: 0; }
.ba:has(.ba-range:focus-visible) .ba-drone { outline: 3px solid var(--sky-strong); outline-offset: 3px; }

/* Secties */
.section { padding: clamp(36px, 5vw, 72px) var(--gutter); }
.section-tint { background: var(--tint); }
.section-head {
  max-width: 40em;
  margin: 0 auto clamp(30px, 4vw, 52px);
  text-align: center;
}
h2 { font-size: clamp(2.1rem, 3.8vw, 3.3rem); }
.section-head h2 + p { margin-top: 12px; color: var(--muted); }

/* Galerij */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: clamp(26px, 3vw, 40px);
  max-width: 1500px;
  margin: 0 auto;
}
.gallery .ba-drone { width: 46px; height: 46px; }
.gallery .ba-drone svg { width: 32px; height: 32px; }
.project-text { padding: 16px 4px 0; text-align: center; }
.project-title { font-size: 1.3rem; line-height: 1.25; }
.project-meta { margin-top: 2px; color: var(--muted); font-size: .95rem; }
.gallery-error { color: var(--danger); text-align: center; }

/* Diensten */
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: clamp(18px, 2vw, 28px);
  max-width: 1500px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
.services li {
  padding: clamp(24px, 2.4vw, 34px);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}
.service-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 18px;
  padding: 14px;
  border-radius: 50%;
  background: var(--sky-soft);
  color: var(--sky-strong);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.services h3 { margin-bottom: 8px; font-size: 1.45rem; }
.services p { color: var(--body-soft); }
.audience { margin-top: 30px; text-align: center; color: var(--body-soft); }
.audience strong { color: var(--ink); font-weight: 600; }

/* Vergelijking */
.compare-wrap {
  overflow-x: auto;
  max-width: 1040px;
  margin: 0 auto;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}
.compare { width: 100%; min-width: 620px; border-collapse: collapse; text-align: left; }
.compare th, .compare td { padding: 17px 24px; vertical-align: top; }
.compare tbody tr + tr th, .compare tbody tr + tr td { border-top: 1px solid var(--line); }
.compare thead th { font-family: var(--display); font-size: 1.15rem; font-weight: 500; }
.compare tbody th { width: 30%; font-weight: 600; }
.compare td { color: var(--muted); }
.compare .compare-us { background: var(--tint); color: var(--ink); }
.compare thead .compare-us { color: var(--sky-strong); font-style: italic; }

/* Stappen */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: clamp(28px, 3vw, 48px);
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  counter-reset: step;
  text-align: center;
}
.steps li { position: relative; counter-increment: step; }
.steps li::before {
  content: counter(step);
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow);
  color: var(--sky-strong);
  font-family: var(--display);
  font-size: 1.8rem;
  font-style: italic;
}
.steps h3 { margin-bottom: 8px; font-size: 1.45rem; }
.steps p { max-width: 24em; margin: 0 auto; color: var(--body-soft); }

/* Vragen */
.faq { display: grid; gap: 10px; max-width: 800px; margin: 0 auto; }
.faq details { border-radius: 16px; background: var(--tint); transition: background-color .2s; }
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 24px;
  border-radius: 16px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  flex: none;
  color: var(--sky-strong);
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1;
  transition: transform .25s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 24px 20px; color: var(--body-soft); max-width: 40em; }

/* Wachtlijst */
.signup {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(28px, 5vw, 80px);
  padding: clamp(36px, 5vw, 72px) var(--gutter) clamp(44px, 6vw, 88px);
  background:
    radial-gradient(45% 45% at 8% 50%, rgba(95, 214, 246, .13), transparent 70%),
    var(--navy);
  color: #fff;
}
.signup-copy p:last-child { margin-top: 16px; color: var(--on-navy); }
.signup-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
  max-width: 820px;
}
.field-wide { grid-column: 1 / -1; }
.field label:not(.check) { display: block; margin-bottom: 6px; font-weight: 500; }
.optional { color: #a9c0d4; font-weight: 400; }
.field input:not([type='checkbox']), .field select, .field textarea {
  display: block;
  width: 100%;
  min-height: 50px;
  padding: 11px 16px;
  border: 1.5px solid transparent;
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
}
.field textarea { resize: vertical; }
.field textarea::placeholder { color: var(--muted); }
.field [aria-invalid='true'] { border-color: var(--danger-on-dark); box-shadow: 0 0 0 2px var(--danger-on-dark); }
.field-error { color: var(--danger-on-dark); font-size: .95rem; margin-top: 5px; }
.field-error:empty { display: none; }
.field-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.check { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
.check input { flex: none; width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--sky); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form-status { color: var(--danger-on-dark); }
.form-status:empty { display: none; }
.signup-done { align-self: center; padding: 8px 0; }
.signup-done:focus { outline: none; }
.signup-done svg { width: 84px; height: 84px; margin-bottom: 14px; color: var(--sky); }
.signup-done h3 { margin-bottom: 8px; font-size: 1.9rem; }
.signup-done p { color: var(--on-navy); }
.signup-done[hidden], .signup-form[hidden] { display: none; }

/* Welkomstmelding */
.welcome {
  width: min(calc(100% - 32px), 440px);
  padding: clamp(28px, 6vw, 40px);
  border: 0;
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 30px 80px -20px rgba(4, 28, 56, .55);
  color: var(--ink);
  text-align: center;
}
.welcome::backdrop { background: rgba(4, 28, 56, .6); backdrop-filter: blur(3px); }
.welcome-drone { width: 64px; height: 64px; margin: 0 auto 14px; color: var(--navy); }
.welcome h2 { color: var(--navy); font-size: clamp(1.6rem, 6vw, 2rem); }
.welcome p { margin: 10px 0 24px; color: var(--body-soft); }
.welcome .btn { min-width: 200px; }
.welcome-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}
.welcome-close:hover { background: var(--tint); color: var(--ink); }

/* Privacypagina */
.top-end { margin-left: auto; }
.prose { max-width: 760px; margin: 0 auto; }
.prose h1 { color: var(--navy); font-size: clamp(2.2rem, 4vw, 3.2rem); margin-bottom: 20px; }
.prose h2 { margin: 32px 0 8px; font-size: 1.5rem; }

/* Voet */
.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 32px;
  padding: 26px var(--gutter) 34px;
  background: var(--navy-deep);
  color: var(--on-navy);
}
.footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer nav a:hover { color: #fff; }

@media (min-width: 900px) {
  /* Stippellijn tussen de stappen */
  .steps li:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 34px;
    left: calc(50% + 50px);
    width: calc(100% - 100px + clamp(28px, 3vw, 48px));
    border-top: 2px dotted #a6c8da;
  }
}

@media (max-width: 900px) {
  .top-nav { display: none; }
  .top .btn { margin-left: auto; }
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero-mark { display: none; }
  .signup { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 560px) {
  .signup-form { grid-template-columns: minmax(0, 1fr); }
  .hero-actions .btn, .form-actions .btn { width: 100%; }
  .benefits { grid-template-columns: minmax(0, 1fr); }
  .benefits li { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; }
  .benefit-icon { grid-row: 1 / 3; margin: 0; }
  .benefits h2 { margin-bottom: 2px; }
}
