/* ============ RESET & THEMA ============ */
* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --accent: #e63946;
  --bg: #0b0f17;                 /* fallback achtergrondkleur */
  --text: #f5f7fa;
  --muted: rgba(255,255,255,0.85);
  --border: rgba(255,255,255,0.08);

  /* Hoogtecompensatie voor vaste header (alleen voor subpagina-hero tekst) */
  --hero-offset-mobile: 88px;
  --hero-offset-desktop: 110px;
}

html, body { height: 100%; }
body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: #120b11;
  line-height: 1.6;
}

/* ============ HEADER / NAV ============ */
.header {
  width: 100%;
  position: fixed;
  top: 0; left: 0;
  z-index: 50;
  background: transparent;        /* geen donker vlak */
  backdrop-filter: none;
  border-bottom: 1px solid var(--border);
}
.nav {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;    /* links uitlijnen */
  gap: 24px;
  padding: 14px 18px;
}
.nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  opacity: 0.9;
}
.nav a:hover { opacity: 1; text-decoration: underline; }

/* ============ HERO (VIDEO) ============ */
/* Home-hero: full screen */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 0 18px;               /* géén top-padding; video moet exact als home staan */
}
/* Subpagina-hero: zelfde framing als home; alleen tekst schuift omlaag */
.hero--sub {
  min-height: 100vh;
  padding: 0;                    /* belangrijk: geen padding op de hero zelf */
}
.video-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: -2;
}
.video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.05) brightness(0.95);
}
/* Overlay uit (bewust transparant) */
.video-overlay { display: none; background: transparent; }

/* Hero-typografie */
.hero h1 {
  font-size: clamp(28px, 4.5vw, 54px);
  letter-spacing: 0.4px;
  margin-bottom: 12px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.55);
}
/* Sierlijk lettertype optioneel voor koppen */
.siertekst {
  font-family: "Arima Madurai", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 0 1px 12px rgba(0,0,0,0.35);
}
/* Intro-regeltje onder H1 */
.intro { margin-top: 6px; color: var(--muted); }

/* Subpagina: schuif alléén het tekstblok omlaag i.v.m. de vaste header */
.hero--sub .copy-block {
  margin-top: var(--hero-offset-mobile);
}
@media (min-width: 768px) {
  .hero--sub .copy-block { margin-top: var(--hero-offset-desktop); }
}

/* ============ CONTENT BLOKKEN ============ */
.section {
  padding: 64px 18px;
  max-width: 1100px;
  margin: 0 auto;
}
.content { display: grid; gap: 24px; }

/* Transparante tekstblokken (geen donkere panelen) */
.copy-block {
  max-width: 900px;
  margin: 12px auto 0;
  background: transparent;
  box-shadow: none;
  border: none;
  padding: 0.5rem 0;
  color: var(--muted);
  font-size: clamp(16px, 2.5vw, 18px);
}

/* FAQ: zorg voor vaste buffer tussen hero en FAQ-content */
.faq-content { margin-top: 56px; }

/* ============ FAQ (details/summary) ============ */
details {
  background: rgba(0,0,0,0.22);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
}
details + details { margin-top: 10px; }
summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--text);
  list-style: none;              /* verberg marker in sommige browsers */
}
summary::-webkit-details-marker { display: none; }
details[open] { background: rgba(0,0,0,0.28); }
details p { margin-top: 10px; color: var(--muted); }

/* ============ LINKS / FOCUS ============ */
a { color: var(--text); }
a:focus-visible, button:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

/* ============ FOOTER ============ */
.footer {
  text-align: center;
  padding: 28px 18px;
  color: #cfd6df;
  font-size: 14px;
  border-top: 1px solid var(--border);
  background: rgba(0,0,0,0.25);
  margin-top: 32px;
}

/* ============ OPTIONEEL: PULSE-KNOP (alleen home) ============ */
.pulse-wrap {
  margin: 24px auto 12px;
  display: grid;
  place-items: center;
  transform: translateY(100px);

@media (max-width: 767px) {
  .pulse-wrap {
    transform: translateY(200px); /* iets lager op mobiel */
  }
}

}
.pulse-button {
  width: clamp(140px, 28vw, 240px);
  aspect-ratio: 1/1;
  border-radius: 50%;
  border: none;
  background: transparent;
  cursor: pointer;
  position: relative;
  display: grid;
  place-items: center;
  text-decoration: none;
}
.pulse-button img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: block;
  box-shadow: 0 10px 30px rgba(0,0,0,0.45);
}
.pulse-button::after, .pulse-button::before {
  content: "";
  position: absolute;
  inset: -6%;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,0.65);
  animation: pulse 1.8s ease-out infinite;
}
.pulse-button::before { animation-delay: .9s; }
@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.9; }
  70% { transform: scale(1.2); opacity: 0; }
  100% { opacity: 0; }
}

/* === MOBILE OVERRIDE: moet als laatste in het bestand staan === */
@media screen and (max-width: 767px) {
  .pulse-wrap {
    transform: translateY(150px) !important; /* forceer mobiel lager */
  }

  /* optioneel: iets kleiner op mobiel */
  .pulse-button {
    width: clamp(120px, 42vw, 200px);
  }
}