:root {
  /* Logo-kleuren */
  --accent: #019ee3;       /* cyaan-blauw uit logo */
  --accent-2: #33b5ec;     /* lichtere variant */
  --accent-dark: #0379a8;  /* donkerder, voor hover */
  --ink: #20242b;          /* donkere tekst */
  --ink-soft: #3d434d;

  /* Grijze tinten */
  --bg: #d7dde4;           /* basis grijs */
  --bg-2: #cfd6df;         /* iets dieper grijs */
  --bg-3: #c4ccd6;         /* donkerste band */
  --surface: #eef1f5;      /* kaarten, lichter grijs */
  --surface-2: #e6eaf0;
  --line: rgba(30, 45, 65, 0.14);
  --text: #20242b;
  --muted: #5b626d;
  --radius: 16px;
  --radius-sm: 11px;
  --maxw: 1140px;
  --shadow: 0 18px 50px rgba(25, 40, 65, 0.18);
  --shadow-soft: 0 8px 24px rgba(25, 40, 65, 0.10);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, .nav__cta { font-family: 'Poppins', sans-serif; }

a { color: inherit; text-decoration: none; }

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

.accent { color: var(--accent); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; font-weight: 600; font-size: 1rem;
  padding: 14px 26px; border-radius: 999px; cursor: pointer;
  border: 1px solid transparent; transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn--accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #ffffff; box-shadow: 0 10px 26px rgba(1, 158, 227, 0.30);
}
.btn--accent:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(1, 158, 227, 0.42); }
.btn--ghost { background: rgba(255, 255, 255, 0.45); color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent-dark); transform: translateY(-2px); }
.btn--sm { padding: 10px 18px; font-size: .9rem; }
.btn--full { width: 100%; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
  padding: 16px 0;
}
.nav.scrolled {
  background: rgba(231, 235, 240, 0.90);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line), 0 6px 24px rgba(25, 40, 65, 0.10);
  padding: 10px 0;
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; }
.nav__brand { display: flex; align-items: center; }
.nav__logo {
  height: 70px; width: auto; display: block;
  transition: height .3s ease;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.35));
}
.nav.scrolled .nav__logo { height: 54px; filter: none; }

.nav__links { display: flex; align-items: center; gap: 28px; }
.nav__links a { color: #ffffff; font-weight: 500; transition: color .2s ease; text-shadow: 0 1px 8px rgba(0,0,0,0.3); }
.nav__links a:hover { color: var(--accent-2); }
.nav.scrolled .nav__links a { color: var(--ink-soft); text-shadow: none; }
.nav.scrolled .nav__links a:hover { color: var(--accent-dark); }
.nav__cta { color: #ffffff !important; text-shadow: none !important; }

.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav__toggle span { width: 26px; height: 2px; background: #ffffff; border-radius: 2px; transition: .3s; }
.nav.scrolled .nav__toggle span { background: var(--ink); }
.nav__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 0; display: flex; align-items: center; padding: 112px 0 36px; overflow: hidden; }
.hero__img {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; object-fit: cover; object-position: center 28%;
}
.hero__overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(12, 18, 28, 0.55) 0%, rgba(12, 18, 28, 0.45) 40%, rgba(201, 209, 218, 0.92) 100%),
    linear-gradient(90deg, rgba(8, 14, 22, 0.70) 0%, rgba(8, 14, 22, 0.30) 55%, transparent 100%);
}
.hero__inner { position: relative; z-index: 2; max-width: 760px; }
.hero__eyebrow {
  display: inline-block; color: #ffffff; font-weight: 600; letter-spacing: .06em;
  text-transform: uppercase; font-size: .8rem; margin-bottom: 18px;
  padding: 7px 14px; border: 1px solid rgba(255, 255, 255, 0.35); border-radius: 999px;
  background: rgba(1, 158, 227, 0.30); backdrop-filter: blur(4px);
}
.hero__title { font-size: clamp(2.05rem, 3.6vw, 3.15rem); line-height: 1.08; font-weight: 800; letter-spacing: -0.02em; color: #ffffff; text-shadow: 0 2px 20px rgba(0,0,0,0.35); }
.hero__title .accent { color: var(--accent-2); }
.hero__sub { color: rgba(255, 255, 255, 0.92); font-size: clamp(1rem, 1.5vw, 1.12rem); margin: 14px 0 22px; max-width: 560px; text-shadow: 0 1px 12px rgba(0,0,0,0.3); }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__cta .btn--ghost { background: rgba(255, 255, 255, 0.12); color: #ffffff; border-color: rgba(255, 255, 255, 0.5); }
.hero__cta .btn--ghost:hover { background: rgba(255, 255, 255, 0.22); border-color: #ffffff; color: #ffffff; }
.hero__badges { list-style: none; display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.hero__badges li {
  font-size: .9rem; color: #ffffff; padding: 8px 15px;
  border: 1px solid rgba(255, 255, 255, 0.3); border-radius: 999px; background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(4px);
}

/* ---------- Feature (split: beeld + tekst) ---------- */
.feature { padding: 64px 0; background: var(--bg-2); border-top: 1px solid var(--line); }
.feature--alt { background: var(--bg); }
.feature__inner { display: grid; grid-template-columns: minmax(0, 360px) 1fr; gap: 40px; align-items: center; }
.feature--alt .feature__inner { grid-template-columns: 1fr minmax(0, 360px); }
.feature__media { border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-soft); aspect-ratio: 16 / 10; border: 1px solid var(--line); }
.feature__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.feature__text .section-head__title { text-align: left; margin-bottom: 16px; }
.feature__text > p { color: var(--muted); margin-bottom: 18px; }
.feature__list { list-style: none; display: flex; flex-direction: column; gap: 11px; margin-bottom: 26px; }
.feature__list li { position: relative; padding-left: 28px; color: var(--ink-soft); }
.feature__list li::before {
  content: ""; position: absolute; left: 0; top: .5em;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 4px rgba(1, 158, 227, 0.15);
}

/* ---------- Uitvaart (sober) ---------- */
.memorial { padding: 64px 0; background: var(--bg-3); border-top: 1px solid var(--line); }
.memorial__inner { display: grid; grid-template-columns: minmax(0, 300px) 1fr; gap: 36px; align-items: center; }
.memorial__media { border-radius: 12px; overflow: hidden; box-shadow: none; aspect-ratio: 16 / 10; border: 1px solid var(--line); }
.memorial__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.memorial__card {
  text-align: left;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 36px 32px; box-shadow: var(--shadow-soft);
}
.memorial__icon { font-size: 2rem; display: block; margin-bottom: 14px; }
.memorial__card .section-head__title { margin-bottom: 14px; text-align: left; }
.memorial__lead { color: var(--muted); margin-bottom: 24px; }
.memorial__items { display: grid; grid-template-columns: 1fr; gap: 12px; text-align: left; }
.memorial__item {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 20px; display: flex; flex-direction: column; gap: 6px;
}
.memorial__item strong { font-family: 'Poppins', sans-serif; color: var(--ink); }
.memorial__item span { color: var(--muted); font-size: .9rem; }

/* ---------- Galerij ---------- */
.gallery { padding: 56px 0; background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.gallery .section-head { margin-bottom: 28px; }
.gallery__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  max-width: 880px; margin: 0 auto;
}
.gallery__item {
  position: relative; margin: 0; border-radius: 12px; overflow: hidden;
  box-shadow: none; border: 1px solid var(--line); aspect-ratio: 16 / 10; cursor: pointer;
}
.gallery__item--wide { grid-column: auto; aspect-ratio: 16 / 10; }
.gallery__item img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .5s ease;
}
.gallery__item:hover img { transform: scale(1.04); }
.gallery__item figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  font-family: 'Poppins', sans-serif; font-weight: 500; color: #fff;
  padding: 16px 12px 8px; font-size: .78rem;
  background: linear-gradient(180deg, transparent, rgba(8, 14, 22, 0.72));
}

/* ---------- Gelegenheden pills ---------- */
.events { padding: 44px 0; background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.events__intro { text-align: center; color: var(--muted); font-weight: 500; margin-bottom: 22px; }
.events__grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.event-pill {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Poppins', sans-serif; font-weight: 600; font-size: 1rem; color: var(--ink);
  padding: 12px 20px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-soft);
}
.event-pill span { font-size: 1.2rem; }

/* ---------- Sections ---------- */
.section-head { max-width: 680px; margin: 0 auto 52px; text-align: center; }
.section-head__eyebrow { color: var(--accent-dark); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; font-size: .8rem; margin-bottom: 12px; }
.section-head__title { font-size: clamp(1.8rem, 4vw, 2.7rem); line-height: 1.15; letter-spacing: -.01em; color: var(--ink); }
.section-head__lead { color: var(--muted); margin-top: 14px; font-size: 1.1rem; }

.services { padding: 100px 0; background: var(--bg); }
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px;
  box-shadow: var(--shadow-soft);
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-6px); border-color: rgba(1, 158, 227, 0.45); box-shadow: var(--shadow); }
.card__icon {
  width: 58px; height: 58px; border-radius: 14px; display: grid; place-items: center;
  font-size: 1.7rem; margin-bottom: 18px;
  background: rgba(1, 158, 227, 0.12); border: 1px solid rgba(1, 158, 227, 0.24);
}
.card h3 { font-size: 1.3rem; margin-bottom: 8px; color: var(--ink); }
.card p { color: var(--muted); font-size: .96rem; margin-bottom: 16px; }
.card ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.card li { color: var(--ink-soft); font-size: .92rem; padding-left: 24px; position: relative; }
.card li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: 9px; height: 9px; border-radius: 50%; background: var(--accent);
}

/* ---------- About ---------- */
.about { padding: 100px 0; background: var(--bg-3); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.about__inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.about__text .section-head__title { text-align: left; margin-bottom: 18px; }
.about__text p { color: var(--muted); margin-bottom: 16px; }
.about__quote {
  color: var(--ink) !important; font-family: 'Poppins', sans-serif; font-size: 1.25rem; font-weight: 600;
  border-left: 3px solid var(--accent); padding-left: 18px; margin-top: 8px;
}
.about__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mini-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 22px; display: flex; flex-direction: column; gap: 8px; box-shadow: var(--shadow-soft);
}
.mini-card strong { font-family: 'Poppins', sans-serif; font-size: 1.05rem; color: var(--accent-dark); }
.mini-card span { color: var(--muted); font-size: .9rem; }

/* ---------- Recensies ---------- */
.reviews { padding: 100px 0; background: var(--bg); }
.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review {
  margin: 0; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px 26px; box-shadow: var(--shadow-soft);
  display: flex; flex-direction: column; gap: 14px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.review:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.review__stars { color: #f5b301; letter-spacing: 2px; font-size: 1.05rem; }
.review blockquote {
  margin: 0; color: var(--ink-soft); font-size: .98rem; line-height: 1.6; font-style: italic;
  position: relative;
}
.review figcaption { display: flex; flex-direction: column; gap: 2px; margin-top: auto; }
.review figcaption strong { font-family: 'Poppins', sans-serif; color: var(--ink); }
.review figcaption span { color: var(--muted); font-size: .85rem; }
.reviews__add { text-align: center; margin-top: 36px; }
.review-form {
  max-width: 640px; margin: 22px auto 0; text-align: left;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-soft); display: flex; flex-direction: column; gap: 16px;
}
.review-form__intro { color: var(--muted); font-size: .92rem; margin: 0; }
.review-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.review-form .field label .opt { color: var(--muted); font-weight: 400; }
.review-form select {
  background: #fbfdff; border: 1px solid var(--line); border-radius: 10px;
  padding: 12px 14px; color: var(--text); font: inherit; font-size: .95rem;
}
.review-form select:focus, .review-form input:focus, .review-form textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(1, 158, 227, 0.16);
}
@media (max-width: 560px) { .review-form__row { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact { padding: 100px 0; background: var(--bg-2); }
.contact__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact__info .section-head__title { text-align: left; margin-bottom: 16px; }
.contact__info > p { color: var(--muted); margin-bottom: 28px; }
.contact__list { list-style: none; display: flex; flex-direction: column; gap: 20px; }
.contact__list li { display: flex; gap: 16px; align-items: center; }
.contact__ico {
  width: 48px; height: 48px; flex: 0 0 48px; border-radius: 12px; display: grid; place-items: center;
  font-size: 1.3rem; background: rgba(1, 158, 227, 0.12); border: 1px solid rgba(1, 158, 227, 0.24);
}
.contact__label { display: block; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.contact__list a { font-weight: 600; color: var(--ink); transition: color .2s; }
.contact__list a:hover { color: var(--accent-dark); }

.contact__form {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; display: flex; flex-direction: column; gap: 16px; box-shadow: var(--shadow-soft);
}
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: .85rem; color: var(--muted); font-weight: 500; }
.field input, .field textarea {
  background: #fbfdff; border: 1px solid var(--line); border-radius: 10px;
  padding: 12px 14px; color: var(--text); font: inherit; font-size: .95rem; resize: vertical;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(1, 158, 227, 0.16);
}
.form-status {
  margin: 2px 0 0; font-size: .92rem; font-weight: 500; min-height: 1.2em;
}
.form-status--ok {
  color: #0c7a4a; background: rgba(16, 185, 102, 0.10);
  border: 1px solid rgba(16, 185, 102, 0.30); border-radius: 10px; padding: 12px 14px;
}
.form-status--err {
  color: #b3261e; background: rgba(214, 40, 40, 0.08);
  border: 1px solid rgba(214, 40, 40, 0.28); border-radius: 10px; padding: 12px 14px;
}

/* ---------- Footer ---------- */
.footer { padding: 50px 0 40px; background: #b9c2cd; border-top: 1px solid var(--line); }
.footer__inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; }
.footer__logo { height: 76px; }
.footer__tag { color: var(--ink); font-weight: 500; }
.footer__copy { color: var(--ink-soft); font-size: .85rem; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .about__inner, .contact__inner { grid-template-columns: 1fr; gap: 36px; }
  .feature__inner, .feature--alt .feature__inner { grid-template-columns: 1fr; gap: 28px; }
  .feature__media, .memorial__media { aspect-ratio: 16 / 10; max-width: 420px; width: 100%; margin-inline: auto; }
  .memorial__inner { grid-template-columns: 1fr; gap: 24px; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); max-width: none; }
  .gallery__item, .gallery__item--wide { grid-column: auto; aspect-ratio: 16 / 10; }
  .reviews__grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
}
@media (max-width: 760px) {
  .nav__toggle { display: flex; }
  .nav__links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(231, 235, 240, 0.97); backdrop-filter: blur(12px);
    padding: 10px 24px 24px; border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(25, 40, 65, 0.12);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: .25s ease;
  }
  .nav__links.open { transform: none; opacity: 1; pointer-events: auto; }
  /* in het open mobiele menu staat een lichte achtergrond: donkere tekst */
  .nav__links a { padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink-soft); text-shadow: none; }
  .nav__links a:hover { color: var(--accent-dark); }
  .nav__cta { margin-top: 12px; text-align: center; }
  .events__grid { grid-template-columns: repeat(2, 1fr); }
  .about__cards { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .services__grid { grid-template-columns: 1fr; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
}
