/* ==========================================================================
   Bikaver — style.css
   Statische website voor Cloudflare Pages. Geen frameworks, geen buildproces.
   Kleurenpalet: donkerblauw / warm wit / lichtgrijs / teal-accent.
   ========================================================================== */

:root {
  /* Kleuren */
  --navy-900: #0d2338;
  --navy-800: #123049;
  --navy-700: #1b4160;
  --ink: #1c2b38;
  --slate: #4c5d6b;
  --paper: #faf8f4;
  --white: #ffffff;
  --mist: #eef2f5;
  --line: #dde4e9;
  --teal: #0f8b80;
  --teal-deep: #0b6b62;
  --teal-soft: #e2f2f0;
  --amber: #d9982f;

  /* Typografie */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;

  /* Maat en ritme */
  --max-width: 1120px;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(13, 35, 56, 0.06), 0 2px 8px rgba(13, 35, 56, 0.06);
  --shadow-md: 0 2px 4px rgba(13, 35, 56, 0.06), 0 10px 28px rgba(13, 35, 56, 0.10);
  --transition: 180ms ease;
}

/* ---------- Reset en basis ---------- */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

h1, h2, h3, h4 {
  line-height: 1.15;
  color: var(--navy-900);
  letter-spacing: -0.015em;
  margin: 0 0 0.6em;
  text-wrap: balance;
}

h1 { font-size: clamp(2rem, 5.5vw, 3.1rem); font-weight: 800; }
h2 { font-size: clamp(1.55rem, 3.5vw, 2.15rem); font-weight: 750; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.005em; }

p { margin: 0 0 1em; }

a {
  color: var(--teal-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover { color: var(--teal); }

ul { padding-left: 1.25rem; }

:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: var(--teal-soft);
  color: var(--navy-900);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy-900);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 var(--radius-sm) 0;
  z-index: 200;
}

.skip-link:focus {
  left: 0;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 4rem 0;
}

.section--tint { background: var(--mist); }
.section--dark {
  background: var(--navy-900);
  color: #dbe6ee;
}
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark a { color: #8fd6cf; }

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-bottom: 0.75rem;
}

.section--dark .eyebrow { color: #8fd6cf; }

.lead {
  font-size: 1.15rem;
  color: var(--slate);
  max-width: 46rem;
}

.section--dark .lead { color: #b9c9d6; }

.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Knoppen ---------- */

.btn {
  display: inline-block;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition),
    border-color var(--transition), transform var(--transition),
    box-shadow var(--transition);
}

.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--teal);
  color: #fff;
}

.btn--primary:hover {
  background: var(--teal-deep);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

.btn--ghost {
  background: transparent;
  color: var(--navy-900);
  border-color: var(--line);
}

.btn--ghost:hover {
  border-color: var(--navy-900);
  color: var(--navy-900);
}

.section--dark .btn--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.section--dark .btn--ghost:hover { border-color: #fff; color: #fff; }

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

/* ---------- Header en navigatie ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 248, 244, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
}

.logo {
  color: var(--navy-900);
  text-decoration: none;
  display: inline-flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo__name {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: baseline;
  gap: 0.15rem;
}

.logo__tag {
  white-space: nowrap;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-top: 0.1rem;
}

.logo:hover { color: var(--navy-900); }

.logo__dot {
  width: 0.5em;
  height: 0.5em;
  border-radius: 50%;
  background: var(--teal);
  display: inline-block;
  transform: translateY(-0.05em);
}

.nav-toggle {
  display: none;
  background: none;
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.7rem;
  cursor: pointer;
  color: var(--navy-900);
  font: inherit;
  font-weight: 700;
}

.nav-toggle:hover { border-color: var(--navy-900); }

.site-nav ul {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 1.6vw, 1.35rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  white-space: nowrap;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.97rem;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
  transition: color var(--transition), border-color var(--transition);
}

.site-nav a:hover { color: var(--teal-deep); }

.site-nav a[aria-current="page"] {
  color: var(--teal-deep);
  border-bottom-color: var(--teal);
}

.site-nav .btn {
  padding: 0.6rem 1.15rem;
  font-size: 0.95rem;
}

/* ---------- Hero ---------- */

.hero {
  padding: 4.5rem 0 4rem;
}

/* Compacte hero voor pagina's waar de inhoud snel moet volgen (bijv. contact) */
.hero--compact {
  padding: 2.5rem 0 1.5rem;
}

/* Sectie die direct op de hero aansluit, zonder grote tussenruimte */
.section--flush-top {
  padding-top: 1rem;
}

.hero__grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  grid-template-columns: 1.15fr 0.85fr;
}

.hero .lead { font-size: 1.2rem; }

.hero__media {
  position: relative;
}

.hero__media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
  background: var(--mist);
}

.hero__badge {
  position: absolute;
  left: -0.75rem;
  bottom: -0.75rem;
  background: var(--navy-900);
  color: #fff;
  border-radius: var(--radius-sm);
  padding: 0.6rem 1rem;
  font-size: 0.88rem;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

.hero__badge span { color: #8fd6cf; }

/* Checkmarklijst */

.check-list {
  list-style: none;
  padding: 0;
  margin: 1.75rem 0 0;
  display: grid;
  gap: 0.55rem;
}

.check-list li {
  padding-left: 1.85rem;
  position: relative;
  font-weight: 600;
  color: var(--navy-800);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.28em;
  width: 1.15em;
  height: 1.15em;
  border-radius: 50%;
  background: var(--teal-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b6b62' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4 10-10'/%3E%3C/svg%3E");
  background-size: 60%;
  background-position: center;
  background-repeat: no-repeat;
}

.section--dark .check-list li { color: #e7eef4; }

/* ---------- Kaarten en grids ---------- */

.grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2.25rem;
}

.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition),
    border-color var(--transition);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #cbd6dd;
}

.card__icon {
  width: 3rem;
  height: 3rem;
  border-radius: 12px;
  background: var(--teal-soft);
  color: var(--teal-deep);
  display: grid;
  place-items: center;
  margin-bottom: 1.1rem;
}

.card__icon svg { width: 1.5rem; height: 1.5rem; }

.card p { color: var(--slate); }

.card ul {
  color: var(--slate);
  margin: 0 0 1.25rem;
  font-size: 0.97rem;
}

.card__link {
  margin-top: auto;
  font-weight: 700;
  text-decoration: none;
}

.card__link::after {
  content: " →";
  transition: margin-left var(--transition);
  display: inline-block;
}

.card:hover .card__link::after { margin-left: 0.25rem; }

.card--plain:hover { transform: none; box-shadow: var(--shadow-sm); }

/* Probleem-sectie */

.pain-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
}

.pain-list li {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--amber);
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  color: var(--slate);
  font-weight: 550;
}

/* ---------- Werkwijze / stappen ---------- */

.steps {
  counter-reset: stap;
  list-style: none;
  padding: 0;
  margin: 2.25rem 0 0;
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(3, 1fr);
}

.steps li {
  counter-increment: stap;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.steps li::before {
  content: counter(stap, decimal-leading-zero);
  display: block;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--teal-deep);
  margin-bottom: 0.6rem;
}

.steps h3 { margin-bottom: 0.4rem; }
.steps p { color: var(--slate); margin: 0; font-size: 0.98rem; }

/* ---------- Verhaal (heritage) ---------- */

.story {
  border-top: 3px double var(--line);
  border-bottom: 3px double var(--line);
  background: linear-gradient(180deg, #fdfcf9 0%, var(--paper) 100%);
}

.story__grid {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
}

.story__years {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--navy-900);
  letter-spacing: -0.02em;
}

.story__years .rule {
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, var(--line), var(--teal));
  border-radius: 2px;
  min-width: 3rem;
}

.story__years small {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--slate);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.story blockquote {
  margin: 1.5rem 0 0;
  padding-left: 1.25rem;
  border-left: 3px solid var(--teal);
  color: var(--slate);
  font-style: italic;
}

/* ---------- FAQ ---------- */

.faq {
  max-width: 46rem;
  margin: 2.25rem auto 0;
  display: grid;
  gap: 0.85rem;
}

.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0;
  overflow: hidden;
  transition: border-color var(--transition);
}

.faq details[open] { border-color: var(--teal); }

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 3rem 1rem 1.25rem;
  font-weight: 700;
  color: var(--navy-900);
  position: relative;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  position: absolute;
  right: 1.15rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--teal-deep);
  transition: transform var(--transition);
}

.faq details[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq .faq__body {
  padding: 0 1.25rem 1.15rem;
  color: var(--slate);
}

.faq .faq__body p:last-child { margin-bottom: 0; }

/* ---------- Media-secties ---------- */

.media-split {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  margin-top: 2.25rem;
}

.media-split img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
  background: var(--mist);
}

/* ---------- CTA-band ---------- */

.cta-band {
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  color: #dbe6ee;
  border-radius: var(--radius);
  padding: 3rem 2rem;
  text-align: center;
}

.cta-band h2 { color: #fff; }
.cta-band p { color: #b9c9d6; max-width: 40rem; margin: 0 auto 0.5rem; }
.cta-band .btn-row { justify-content: center; }

/* ---------- Breadcrumbs ---------- */

.breadcrumbs {
  padding: 1.1rem 0 0;
  font-size: 0.9rem;
}

.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  color: var(--slate);
}

.breadcrumbs li + li::before {
  content: "/";
  margin-right: 0.4rem;
  color: var(--line);
}

.breadcrumbs a { color: var(--slate); text-decoration: none; }
.breadcrumbs a:hover { color: var(--teal-deep); text-decoration: underline; }

/* ---------- Formulier ---------- */

.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.form-grid {
  display: grid;
  gap: 1.15rem;
  grid-template-columns: 1fr 1fr;
}

.form-field { display: flex; flex-direction: column; gap: 0.35rem; }
.form-field--full { grid-column: 1 / -1; }

.form-field label {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy-900);
}

.form-field .hint {
  font-size: 0.85rem;
  color: var(--slate);
}

input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
  font: inherit;
  padding: 0.75rem 0.9rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  color: var(--ink);
  width: 100%;
  transition: border-color var(--transition), background var(--transition);
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--teal);
  background: #fff;
  box-shadow: 0 0 0 3px var(--teal-soft);
}

textarea { min-height: 8rem; resize: vertical; }

.checkbox-field {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.95rem;
  color: var(--slate);
}

.checkbox-field input {
  width: 1.2rem;
  height: 1.2rem;
  margin-top: 0.2rem;
  accent-color: var(--teal);
  flex-shrink: 0;
}

/* Honeypot: visueel en voor hulptechnologie verborgen */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  margin-top: 1rem;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  display: none;
}

.form-status--success {
  display: block;
  background: var(--teal-soft);
  color: var(--teal-deep);
  border: 1px solid #bfe3df;
}

.form-status--error {
  display: block;
  background: #fdeeea;
  color: #a13c22;
  border: 1px solid #f2cfc4;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy-900);
  color: #b9c9d6;
  padding: 3.5rem 0 2rem;
  margin-top: 4rem;
}

.site-footer a { color: #dbe6ee; text-decoration: none; }
.site-footer a:hover { color: #8fd6cf; text-decoration: underline; }

.site-footer .logo { color: #fff; }
.site-footer .logo__tag { color: rgba(255,255,255,0.65); }

.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  margin-bottom: 2.5rem;
}

.footer-grid h3 {
  color: #fff;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.9rem;
}

.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
  font-size: 0.97rem;
}

.footer-grid p { font-size: 0.97rem; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  font-size: 0.9rem;
}

/* ---------- Scroll-reveal (subtiel) ---------- */

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Zonder JavaScript blijft alles gewoon zichtbaar */
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- 404 ---------- */

.error-hero {
  min-height: 55vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 4rem 0;
}

.error-hero .code {
  font-size: clamp(4rem, 12vw, 7rem);
  font-weight: 800;
  color: var(--line);
  line-height: 1;
  letter-spacing: -0.04em;
}

/* ---------- Juridische pagina's ---------- */

.prose {
  max-width: 46rem;
}

.prose h2 { margin-top: 2.25rem; font-size: 1.4rem; }
.prose h3 { margin-top: 1.5rem; }
.prose ul { color: var(--slate); }

.notice {
  background: #fdf6e8;
  border: 1px solid #eddcb4;
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  color: #7a5b17;
  font-weight: 600;
  margin: 1.5rem 0;
}

/* ---------- Responsief ---------- */

@media (max-width: 960px) {
  .hero__grid,
  .story__grid,
  .media-split { grid-template-columns: 1fr; }

  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* Navigatie: 8 items + knop passen pas op brede schermen,
   dus het hamburgermenu geldt tot 1150px */
@media (max-width: 1150px) {
  .nav-toggle { display: inline-flex; align-items: center; gap: 0.4rem; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    display: none;
  }

  .site-nav.is-open { display: block; }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 1.25rem 1.25rem;
  }

  .site-nav a {
    display: block;
    padding: 0.8rem 0.25rem;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a[aria-current="page"] { border-bottom-color: var(--teal); }

  .site-nav li:last-child { margin-top: 0.85rem; }
  .site-nav .btn { display: block; text-align: center; }
}

/* Layout: kolommen en witruimte klappen pas op kleine schermen om */
@media (max-width: 720px) {
  .section { padding: 3rem 0; }

  .grid--2,
  .grid--3,
  .pain-list,
  .steps,
  .form-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; }

  .hero { padding: 3rem 0; }
  .hero--compact { padding: 1.75rem 0 1rem; }
  .hero__badge { left: 0.75rem; bottom: 0.75rem; }
}

/* ---------- Reduced motion ---------- */

@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;
  }

  .reveal { opacity: 1; transform: none; }
  .card:hover { transform: none; }
}

/* ---------- Print ---------- */

@media print {
  .site-header, .site-footer, .cta-band, .btn { display: none !important; }
  body { background: #fff; }
}
