/* Stekelenburg Financieel Advies — stylesheet
   Kleuren via variabelen: pas hier aan om het palet te wijzigen. */
:root {
  --navy: #062B4F;
  --navy-2: #0B3A66;
  --teal: #007BC3;
  --teal-dark: #005A91;
  --cyan: #80B926;
  --ink: #0B2540;
  --text: #3A4656;
  --muted: #6B7787;
  --line: #E3E8EE;
  --bg: #FFFFFF;
  --bg-soft: #F4F7F9;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(6, 43, 79, .08);
  --shadow-lg: 0 24px 60px rgba(6, 43, 79, .18);
  --max: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; transition: color .2s; }
a:hover { color: var(--teal-dark); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.25; margin: 0 0 .6em; font-weight: 600; }
h1 { font-size: clamp(2rem, 4.2vw, 3.2rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); letter-spacing: -.01em; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1.1em; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 0; background: var(--cyan); color: var(--navy); padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #fff; /* geen backdrop-filter: die breekt het vaste mobiele menu */
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 20px rgba(6, 43, 79, .06);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 96px; gap: 24px; }
.logo-img { height: 86px; width: auto; }
.logo-link { display: flex; align-items: center; flex: none; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.brand:hover { color: #fff; }
.brand-mark { width: 40px; height: 40px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-weight: 600; letter-spacing: .18em; font-size: 1.02rem; }
.brand-sub { font-size: .72rem; letter-spacing: .14em; color: var(--cyan); text-transform: uppercase; margin-top: 4px; }

.main-nav ul { list-style: none; margin: 0; padding: 0; }
.main-nav > ul { display: flex; align-items: center; gap: 6px; }
.main-nav li { position: relative; }
.main-nav a {
  display: flex; align-items: center; gap: 6px;
  color: var(--ink); font-size: .95rem; font-weight: 500;
  padding: 10px 14px; border-radius: 10px;
}
.main-nav a:hover, .main-nav a[aria-current="page"], .main-nav li.active > a { color: var(--teal); background: var(--bg-soft); }
.main-nav li.active > a { box-shadow: inset 0 -2px 0 var(--cyan); border-radius: 10px 10px 0 0; }
.main-nav .caret { width: 10px; height: 10px; opacity: .7; transition: transform .2s; }
.sub {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 270px;
  background: #fff; border-radius: 12px; padding: 8px; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s ease;
}
.sub::before { content: ""; position: absolute; top: -10px; left: 0; right: 0; height: 10px; }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.has-sub:hover .caret { transform: rotate(180deg); }
.sub a { color: var(--ink); padding: 10px 14px; border-radius: 8px; font-size: .92rem; }
.sub a:hover, .sub a[aria-current="page"] { background: var(--bg-soft); color: var(--teal); }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 24px; border-radius: 999px; font-weight: 600; font-size: .95rem;
  border: 2px solid transparent; transition: .2s ease; cursor: pointer; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--cyan); color: var(--navy); }
.btn-primary:hover { background: #fff; color: var(--navy); transform: translateY(-1px); }
.btn-ghost { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); }
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: var(--teal-dark); color: #fff; }
.nav-cta { padding: 10px 18px; font-size: .9rem; background: var(--teal); color: #fff; }
.nav-cta:hover { background: var(--teal-dark); color: #fff; }

.nav-toggle { display: none; background: none; border: 0; color: var(--teal); padding: 8px; cursor: pointer; }
.nav-toggle svg { width: 28px; height: 28px; }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(0, 123, 195, .55), transparent 60%),
    radial-gradient(600px 400px at 10% 110%, rgba(128, 185, 38, .14), transparent 60%),
    var(--navy);
}
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, #000 30%, transparent);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; padding: 96px 0 104px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .8rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--cyan); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--cyan); }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--cyan); }
.hero p.lead { font-size: 1.1rem; color: rgba(255, 255, 255, .8); max-width: 580px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-photo { position: relative; justify-self: center; width: min(400px, 100%); }
.hero-photo .frame { position: relative; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 5; }
.hero-photo .frame img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.hero-photo::before { content: ""; position: absolute; inset: -14px 14px 14px -14px; border: 2px solid var(--cyan); border-radius: 26px; opacity: .55; }
.hero-badge {
  position: absolute; left: -28px; bottom: 28px; z-index: 2;
  background: #fff; color: var(--ink); border-radius: 14px; padding: 14px 18px; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 12px; font-size: .85rem; line-height: 1.35;
}
.hero-badge strong { display: block; font-size: 1.5rem; color: var(--teal); line-height: 1; }

/* ---------- Page header (sub pages) ---------- */
.page-head {
  position: relative; overflow: hidden; color: #fff; padding: 72px 0 64px;
  background: radial-gradient(700px 400px at 90% 0%, rgba(0, 123, 195, .6), transparent 65%), var(--navy);
}
.page-head h1 { color: #fff; margin-bottom: .25em; font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.page-head p { color: rgba(255, 255, 255, .78); max-width: 680px; margin: 0; font-size: 1.05rem; }
.crumbs { font-size: .85rem; color: rgba(255, 255, 255, .6); margin-bottom: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs a { color: rgba(255, 255, 255, .75); }
.crumbs a:hover { color: var(--cyan); }
.crumbs span[aria-hidden] { opacity: .5; }

/* ---------- Sections ---------- */
.section { padding: 88px 0; }
.section.soft { background: var(--bg-soft); }
.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head .eyebrow { color: var(--teal); }
.section-head .eyebrow::before { background: var(--teal); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.wide-left { grid-template-columns: 1.3fr .7fr; align-items: start; }
.media { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media.tall { aspect-ratio: 4 / 5; }
.media.wide { aspect-ratio: 4 / 3; }

.prose { max-width: 760px; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.8em; color: var(--ink); }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose ul { padding-left: 0; list-style: none; margin: 0 0 1.4em; }
.prose ul li { position: relative; padding-left: 30px; margin-bottom: .55em; }
.prose ul li::before {
  content: ""; position: absolute; left: 0; top: .55em; width: 16px; height: 16px; border-radius: 50%;
  background: rgba(0, 123, 195, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23007BC3' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 10px no-repeat;
}

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.cards.four { grid-template-columns: repeat(4, 1fr); }
.card {
  position: relative; display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px 26px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
  color: var(--text);
}
a.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; color: var(--text); }
.card .icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 20px;
  background: linear-gradient(135deg, var(--teal), var(--navy)); color: var(--cyan);
}
.card .icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: .4em; }
.card p { font-size: .95rem; margin-bottom: 1.2em; }
.card .more { margin-top: auto; font-weight: 600; font-size: .9rem; color: var(--teal); display: inline-flex; align-items: center; gap: 8px; }
.card .more svg { width: 16px; height: 16px; transition: transform .2s; }
a.card:hover .more svg { transform: translateX(4px); }
.card.img-card { padding: 0; overflow: hidden; }
.card.img-card .thumb { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-soft); }
.card.img-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
a.card.img-card:hover .thumb img { transform: scale(1.05); }
.card.img-card .body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }

/* Values strip */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-radius: var(--radius); overflow: hidden; background: var(--navy); color: #fff; }
.values > div { padding: 30px 28px; border-right: 1px solid rgba(255, 255, 255, .08); }
.values > div:last-child { border-right: 0; }
.values h3 { color: #fff; font-size: 1.05rem; margin-bottom: .3em; display: flex; gap: 10px; align-items: center; }
.values h3 svg { width: 22px; height: 22px; color: var(--cyan); flex: none; }
.values p { color: rgba(255, 255, 255, .7); font-size: .9rem; margin: 0; }

/* Info panel / aside */
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); }
.panel h3 { font-size: 1.1rem; }
.panel.dark { background: var(--navy); border-color: var(--navy); color: rgba(255, 255, 255, .8); }
.panel.dark h3 { color: #fff; }
.panel dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; font-size: .92rem; }
.panel dt { color: var(--muted); }
.panel.dark dt { color: rgba(255, 255, 255, .55); }
.panel dd { margin: 0; color: var(--ink); font-weight: 500; }
.panel.dark dd, .panel.dark dd a { color: #fff; }
.panel.dark dd a:hover { color: var(--cyan); }
.sticky { position: sticky; top: 120px; }

.contact-lines { list-style: none; padding: 0; margin: 0 0 22px; }
.contact-lines li { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; }
.contact-lines svg { width: 20px; height: 20px; color: var(--cyan); flex: none; margin-top: 4px; }
.contact-lines a { color: #fff; }
.contact-lines a:hover { color: var(--cyan); }

/* Downloads */
.downloads { display: grid; gap: 12px; margin: 0 0 40px; padding: 0; list-style: none; }
.downloads a {
  display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-radius: 12px;
  border: 1px solid var(--line); background: #fff; color: var(--ink); font-weight: 500;
  transition: .2s ease;
}
.downloads a:hover { border-color: var(--teal); box-shadow: var(--shadow); color: var(--teal); }
.downloads .ficon { width: 42px; height: 42px; border-radius: 10px; background: rgba(0, 123, 195, .1); color: var(--teal); display: grid; place-items: center; flex: none; }
.downloads .ficon svg { width: 20px; height: 20px; }
.downloads .meta { margin-left: auto; font-size: .78rem; color: var(--muted); font-weight: 500; text-transform: uppercase; letter-spacing: .06em; }
.download-group h3 { margin-bottom: 16px; }

.logos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.logos a { display: grid; place-items: center; min-height: 150px; padding: 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: .2s; }
.logos a:hover { box-shadow: var(--shadow); border-color: transparent; }
.logos img { max-height: 100px; width: auto; }
.logos span { display: block; margin-top: 12px; font-size: .82rem; color: var(--muted); text-align: center; }

/* Terms */
.terms h3 { font-size: 1.05rem; padding-top: 1.4em; margin-top: 1.4em; border-top: 1px solid var(--line); }
.terms h3:first-of-type { border-top: 0; margin-top: 0; padding-top: 0; }
.terms p { font-size: .95rem; }
.terms .num { font-weight: 600; color: var(--teal); margin-right: 6px; }
.toc { list-style: none; padding: 0; margin: 0; font-size: .88rem; }
.toc li { margin-bottom: 6px; }
.toc a { color: var(--text); }
.toc a:hover { color: var(--teal); }

/* Highlight box */
.note { border-left: 4px solid var(--cyan); background: var(--bg-soft); padding: 22px 26px; border-radius: 0 12px 12px 0; margin: 28px 0; }
.note p:last-child { margin: 0; }

/* Price tiles (uitvaart) */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 24px 0 32px; }
.tile { background: var(--bg-soft); border-radius: 12px; padding: 22px; text-align: center; }
.tile strong { display: block; font-size: 1.45rem; color: var(--ink); line-height: 1.2; }
.tile span { font-size: .85rem; color: var(--muted); }

/* CTA band */
.cta-band {
  position: relative; overflow: hidden; border-radius: 22px; padding: 56px; color: #fff;
  background: radial-gradient(600px 300px at 100% 0%, rgba(128, 185, 38, .25), transparent 60%), linear-gradient(120deg, var(--teal-dark), var(--navy));
  display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center;
}
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { color: rgba(255, 255, 255, .8); margin: 0; max-width: 560px; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, .7); padding: 72px 0 0; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; }
.site-footer h4 { color: #fff; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: rgba(255, 255, 255, .75); }
.site-footer a:hover { color: var(--cyan); }
.footer-about p { max-width: 320px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 22px 0; display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; font-size: .82rem; color: rgba(255, 255, 255, .5); }
.footer-bottom .reg { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.social { display: flex; gap: 10px; margin-top: 18px; }
.social a { width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 255, .06); color: #fff; }
.social a:hover { background: var(--cyan); color: var(--navy); }
.social svg { width: 18px; height: 18px; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .cards, .cards.four { grid-template-columns: repeat(2, 1fr); }
  .values { grid-template-columns: repeat(2, 1fr); }
  .values > div:nth-child(2) { border-right: 0; }
  .values > div:nth-child(-n+2) { border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .split.wide-left { grid-template-columns: 1fr; }
  .sticky { position: static; }
}
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-cta { display: none; }
  .main-nav {
    position: fixed; inset: 80px 0 0 0; background: #fff; padding: 16px 24px 40px; overflow-y: auto;
    transform: translateX(100%); transition: transform .3s ease; visibility: hidden;
  }
  .main-nav.open { transform: none; visibility: visible; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .main-nav a { padding: 14px 12px; font-size: 1.05rem; }
  .main-nav li.active > a { box-shadow: inset 3px 0 0 var(--cyan); border-radius: 8px; }
  .main-nav .caret { display: none; }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; background: transparent; padding: 0 0 8px 14px; min-width: 0; }
  .sub a { color: var(--muted); font-size: .95rem; padding: 10px 12px; }
  .sub a:hover, .sub a[aria-current="page"] { background: var(--bg-soft); color: var(--teal); }
  .logo-img { height: 70px; }
  .nav-wrap { height: 80px; }
  .main-nav .mobile-cta { display: flex; margin-top: 20px; }
  .hero-grid { grid-template-columns: 1fr; padding: 64px 0 80px; gap: 48px; }
  .hero-photo { width: min(320px, 85%); }
  .hero-badge { left: -12px; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .cta-band { grid-template-columns: 1fr; padding: 40px 28px; }
  .logos { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 901px) { .main-nav .mobile-cta { display: none; } }
@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .section { padding: 64px 0; }
  .cards, .cards.two, .cards.four, .values, .tiles, .logos { grid-template-columns: 1fr; }
  .values > div { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .footer-grid { grid-template-columns: 1fr; }
  .brand-name { font-size: .9rem; letter-spacing: .14em; }
  .page-head { padding: 52px 0 44px; }
  .downloads .meta { display: none; }
}
