/* ============================================================
   SEA-coach.nl — gedeelde stylesheet
   ============================================================ */

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

:root {
  --navy: #0A2540; --blue: #1A6FE8; --blue-light: #E8F1FD;
  --bg: #F5F8FF; --white: #ffffff;
  --text: #1A2535; --text-mid: #4A5568; --text-light: #718096; --border: #D1DCF0;
}

html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { font-family: 'Inter', sans-serif; background: var(--bg); color: var(--text); margin: 0; }
h1,h2,h3,h4 { font-family: 'Space Grotesk', sans-serif; }
img { max-width: 100%; height: auto; }

.sl { font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--blue); margin-bottom: 0.75rem; font-family: 'Space Grotesk', sans-serif; }

/* ---------- Navigatie ---------- */
nav { background: var(--navy); padding: 0 2rem; display: flex; align-items: center; justify-content: space-between; height: 60px; position: sticky; top: 0; z-index: 100; transition: box-shadow 0.25s ease; }
nav.scrolled { box-shadow: 0 4px 20px rgba(10,37,64,0.18); }
.nav-logo { color: #fff; font-family: 'Space Grotesk', sans-serif; font-size: 18px; font-weight: 700; letter-spacing: -0.5px; text-decoration: none; }
.nav-logo span { color: #60A5FA; }
.nav-menu { display: flex; align-items: center; gap: 1.5rem; }
.nav-menu a { color: rgba(255,255,255,0.75); text-decoration: none; font-size: 14px; font-weight: 500; }
.nav-menu a:hover, .nav-menu a.active { color: #fff; }
.nav-cta { background: var(--blue); color: #fff !important; padding: 8px 18px; border-radius: 8px; font-family: 'Space Grotesk', sans-serif; font-size: 14px; font-weight: 600; }
.nav-cta.is-current { background: rgba(255,255,255,0.2); }

/* Hamburger */
.nav-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 40px; height: 40px; background: none; border: none; cursor: pointer; padding: 0; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: transform 0.25s, opacity 0.25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Knoppen ---------- */
.btn-primary { background: var(--blue); color: #fff; border: none; padding: 14px 28px; border-radius: 9px; font-family: 'Space Grotesk', sans-serif; font-size: 15px; font-weight: 600; text-decoration: none; display: inline-block; cursor: pointer; }
.btn-white { background: #fff; color: var(--navy); border: none; padding: 14px 28px; border-radius: 9px; font-family: 'Space Grotesk', sans-serif; font-size: 15px; font-weight: 700; text-decoration: none; display: inline-block; cursor: pointer; }

/* ---------- Prijs-cards ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 900px; margin: 0 auto; }
.price-card { background: var(--white); border: 1.5px solid var(--border); border-radius: 12px; padding: 1.75rem 1.5rem; display: flex; flex-direction: column; text-align: center; }
.price-card.featured { border: 2px solid var(--blue); }
.price-tag { font-family: 'Space Grotesk', sans-serif; font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; background: var(--blue-light); color: var(--blue); padding: 5px 12px; border-radius: 6px; display: inline-block; align-self: center; }
.price-tag.hot { background: var(--blue); color: #fff; }
h3.card-title { font-family: 'Space Grotesk', sans-serif; font-size: 17px; font-weight: 700; color: var(--navy); line-height: 1.3; margin: 0.85rem 0; }
.price-amount { font-family: 'Space Grotesk', sans-serif; font-size: 2rem; font-weight: 700; color: var(--navy); line-height: 1; }
.price-amount.sm { font-size: 1.7rem; }
.price-unit { font-size: 13px; color: var(--text-light); margin-left: 4px; }
.price-amount-wrap { margin-bottom: 0.85rem; }
.card-desc { font-size: 13px; color: var(--text-mid); line-height: 1.65; margin-bottom: 1rem; }
.divider-line { height: 1px; background: var(--border); margin-bottom: 1rem; }
.price-features { list-style: none; display: inline-flex; flex-direction: column; gap: 8px; text-align: left; width: fit-content; margin: 0 auto 1.5rem; }
.price-features li { font-size: 13px; color: var(--text-mid); display: flex; gap: 8px; align-items: flex-start; }
.price-features li .chk { color: var(--blue); font-weight: 700; flex-shrink: 0; margin-top: 1px; }
.price-cta { display: block; text-align: center; background: var(--blue); color: #fff; border: none; padding: 12px; border-radius: 9px; font-family: 'Space Grotesk', sans-serif; font-size: 14px; font-weight: 600; text-decoration: none; cursor: pointer; margin-top: auto; }
.price-cta.ghost { background: transparent; color: var(--blue); border: 1.5px solid var(--blue); }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-of-type { border-top: 1px solid var(--border); }
.faq-q { width: 100%; background: none; border: none; text-align: left; padding: 1.1rem 0; display: flex; justify-content: space-between; align-items: center; gap: 1rem; cursor: pointer; font-family: 'Space Grotesk', sans-serif; font-size: 15px; font-weight: 600; color: var(--navy); }
.faq-q .arrow { font-size: 18px; color: var(--blue); flex-shrink: 0; transition: transform 0.2s; display: inline-block; }
.faq-q.open .arrow { transform: rotate(45deg); }
.faq-a { font-size: 14px; color: var(--text-mid); line-height: 1.75; max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.2s; }
.faq-a.open { max-height: 400px; padding-bottom: 1.1rem; }

/* ---------- Campagnebeheer ---------- */
.campagne-blok { background: var(--blue-light); border-radius: 14px; padding: 2rem; text-align: center; max-width: 900px; margin: 0 auto; }
.campagne-blok h3 { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 0.5rem; font-family: 'Space Grotesk', sans-serif; }
.campagne-blok p { font-size: 13px; color: var(--text-mid); line-height: 1.6; margin-bottom: 1.25rem; }
.campagne-btn { background: var(--blue); color: #fff; padding: 10px 24px; border-radius: 9px; font-family: 'Space Grotesk', sans-serif; font-size: 13px; font-weight: 600; text-decoration: none; display: inline-block; cursor: pointer; }

/* ---------- Formulieren ---------- */
.form-card { background: var(--white); border: 1.5px solid var(--border); border-radius: 14px; padding: 2rem; }
.form-card h3 { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 1.5rem; font-family: 'Space Grotesk', sans-serif; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.form-row .form-group { margin-bottom: 0; }
.form-group label { font-size: 12px; font-weight: 600; color: var(--text-mid); }
.form-group input, .form-group select, .form-group textarea { background: #F8FAFF; border: 1.5px solid var(--border); border-radius: 8px; padding: 10px 14px; font-size: 14px; width: 100%; font-family: 'Inter', sans-serif; color: var(--text); }
.form-group select { appearance: none; }
.form-group textarea { resize: vertical; min-height: 90px; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.form-submit { width: 100%; background: var(--blue); color: #fff; border: none; padding: 13px; border-radius: 9px; font-family: 'Space Grotesk', sans-serif; font-size: 15px; font-weight: 600; cursor: pointer; }
.form-note { font-size: 11px; color: var(--text-light); text-align: center; margin-top: 10px; }
/* Honeypot — onzichtbaar voor mensen, zichtbaar voor bots */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Footer ---------- */
footer { text-align: center; padding: 2rem; font-size: 13px; color: var(--text-light); border-top: 1px solid var(--border); margin-top: 3rem; }
footer a { color: var(--blue); text-decoration: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet en kleiner: hamburgermenu */
@media (max-width: 768px) {
  nav { padding: 0 1.25rem; }
  .nav-toggle { display: flex; }
  .nav-menu {
    position: absolute; top: 60px; left: 0; right: 0;
    background: var(--navy); flex-direction: column; align-items: stretch;
    gap: 0; padding: 0; max-height: 0; overflow: hidden;
    transition: max-height 0.3s ease; box-shadow: 0 12px 24px rgba(10,37,64,0.25);
  }
  .nav-menu.open { max-height: 360px; padding: 0.5rem 0 1rem; }
  .nav-menu a { padding: 0.9rem 1.5rem; font-size: 15px; }
  .nav-cta { margin: 0.5rem 1.5rem 0; text-align: center; border-radius: 8px; }

  /* Prijzen stapelen */
  .pricing-grid { grid-template-columns: 1fr; }

  /* Tweekoloms formulierrij wordt enkel */
  .form-row { grid-template-columns: 1fr; gap: 12px; }
  .form-row .form-group { margin-bottom: 12px; }

  /* Algemene paddingverkleining */
  section, .section { padding-left: 1.25rem; padding-right: 1.25rem; }
}

/* Generieke twee-/driekoloms grids stapelen op smal scherm.
   Deze regels vangen de inline-grids in de pagina's af. */
@media (max-width: 768px) {
  .grid-2, .grid-3, .grid-split, .grid-aside, .grid-stats { grid-template-columns: 1fr !important; }
  .grid-stats { gap: 1.25rem !important; }
  .pad-xl { padding: 2rem 1.5rem !important; }
  .pad-lg { padding: 1.75rem 1.5rem !important; }
}

@media (max-width: 560px) {
  .grid-stats { grid-template-columns: 1fr 1fr !important; }
  h1 { letter-spacing: -0.5px; }
}

/* ---------- Toegankelijkheid: skip-link ---------- */
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0; z-index: 1000; font-size: 14px; font-family: 'Space Grotesk', sans-serif; }
.skip-link:focus { left: 0; }

/* ---------- Formulier-foutmelding ---------- */
.form-error { background: #FDECEC; border: 1.5px solid #F5B5B5; color: #9B2C2C; padding: 12px 14px; border-radius: 9px; font-size: 13px; margin-bottom: 1rem; }

/* Zichtbare focus voor toetsenbordgebruikers */
a:focus-visible, button:focus-visible, .nav-toggle:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
nav a:focus-visible, .nav-cta:focus-visible { outline-color: #fff; }

/* ---------- Logo- en avatar-afbeeldingen ---------- */
.nav-logo-img { height: 34px; width: auto; max-width: 200px; display: block; }
.avatar-img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
