/* SB Bewind stylesheet v2 */
:root {
  --navy-950: #0b2238;
  --navy-900: #0f2d4a;
  --navy-800: #16395c;
  --navy-700: #1f4e79;
  --blue-500: #3573ab;
  --blue-300: #7fa8cc;
  --ice-100:  #e9f0f7;
  --ice-50:   #f4f8fb;
  --sand-50:  #f8f6f2;
  --amber-500:#e3a23c;
  --amber-600:#c98a26;
  --text:     #25303c;
  --muted:    #5d6b7a;
  --border:   #e2e8f0;
  --white:    #ffffff;
  --max:      1120px;
  --radius:   18px;
  --shadow-sm: 0 1px 3px rgba(15, 45, 74, 0.08), 0 4px 14px rgba(15, 45, 74, 0.06);
  --shadow-lg: 0 6px 16px rgba(15, 45, 74, 0.10), 0 18px 44px rgba(15, 45, 74, 0.12);
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Plus Jakarta Sans", "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  line-height: 1.7;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--navy-700); }

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

/* ============ header ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(15, 45, 74, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 1.4rem;
  max-width: var(--max);
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--navy-900);
}
.logo .mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--navy-800), var(--navy-700) 60%, var(--blue-500));
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: -0.5px;
  box-shadow: var(--shadow-sm);
}
.logo .word {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.1;
}
.logo .word small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

nav.main-nav { display: flex; align-items: center; gap: 0.15rem; }

nav.main-nav > a, .has-sub > a {
  text-decoration: none;
  color: var(--navy-900);
  font-size: 0.93rem;
  font-weight: 600;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  transition: background 0.15s ease;
}
nav.main-nav > a:hover, .has-sub > a:hover { background: var(--ice-100); }
nav.main-nav > a.active, .has-sub > a.active { background: var(--ice-100); color: var(--navy-700); }

nav.main-nav a.btn-login {
  background: var(--navy-800);
  color: var(--white);
  margin-left: 0.5rem;
  padding: 0.6rem 1.15rem;
  box-shadow: var(--shadow-sm);
}
nav.main-nav a.btn-login:hover { background: var(--navy-950); }

/* dropdown */
.has-sub { position: relative; }
.has-sub > a::after { content: ""; display: inline-block; margin-left: 0.35rem; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.submenu {
  visibility: hidden;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.15s ease, transform 0.15s ease;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  min-width: 215px;
  padding: 0.45rem;
}
.has-sub:hover .submenu, .has-sub:focus-within .submenu { visibility: visible; opacity: 1; transform: translateY(0); }
.submenu a {
  display: block;
  text-decoration: none;
  color: var(--navy-900);
  font-weight: 500;
  font-size: 0.93rem;
  padding: 0.55rem 0.85rem;
  border-radius: 9px;
}
.submenu a:hover { background: var(--ice-100); }

.nav-toggle {
  display: none;
  background: none;
  border: 1.5px solid var(--navy-800);
  border-radius: 10px;
  color: var(--navy-800);
  font-size: 1.25rem;
  line-height: 1;
  padding: 0.35rem 0.65rem;
  cursor: pointer;
}

@media (max-width: 880px) {
  .nav-toggle { display: block; }
  nav.main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    padding: 0.8rem 1.2rem 1.2rem;
  }
  nav.main-nav.open { display: flex; }
  nav.main-nav > a, .has-sub > a { border-radius: 10px; }
  .submenu {
    visibility: visible;
    opacity: 1;
    transform: none;
    position: static;
    border: none;
    box-shadow: none;
    padding: 0 0 0 1rem;
  }
  nav.main-nav a.btn-login { margin: 0.5rem 0 0; text-align: center; }
}

/* ============ hero ============ */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(53, 115, 171, 0.55), transparent 60%),
    radial-gradient(700px 420px at -10% 110%, rgba(227, 162, 60, 0.18), transparent 55%),
    linear-gradient(150deg, var(--navy-950) 0%, var(--navy-800) 55%, var(--navy-700) 100%);
  color: var(--white);
  padding: 5.5rem 0 6rem;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px 0;
  height: 70px;
  background: var(--white);
  clip-path: ellipse(75% 100% at 50% 100%);
}
.hero .eyebrow { color: var(--amber-500); }
h1, h2, h3 { text-wrap: balance; }
.hero h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2rem, 5vw, 3.3rem);
  line-height: 1.15;
  max-width: 760px;
  letter-spacing: -0.01em;
}
.hero h1 em { font-style: italic; color: var(--blue-300); }
.hero p.sub {
  margin-top: 1.1rem;
  font-size: clamp(1rem, 2vw, 1.18rem);
  color: rgba(255, 255, 255, 0.85);
  max-width: 620px;
  text-wrap: pretty;
}
.hero .actions { margin-top: 2rem; display: flex; gap: 0.9rem; flex-wrap: wrap; }

.trustrow {
  margin-top: 2.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 0.42rem 0.95rem;
  backdrop-filter: blur(4px);
}
.chip svg { width: 15px; height: 15px; stroke: var(--amber-500); }

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.98rem;
  border-radius: 999px;
  padding: 0.8rem 1.6rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--amber-500); color: var(--navy-950); box-shadow: 0 8px 24px rgba(227, 162, 60, 0.35); }
.btn-primary:hover { background: #edb155; }
.btn-outline { border: 1.5px solid rgba(255, 255, 255, 0.55); color: var(--white); }
.btn-outline:hover { background: rgba(255, 255, 255, 0.1); }
.btn-navy { background: var(--navy-800); color: var(--white); box-shadow: var(--shadow-sm); }
.btn-navy:hover { background: var(--navy-950); }

/* ============ page head (subpages) ============ */
.page-head {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(700px 400px at 90% -20%, rgba(53, 115, 171, 0.5), transparent 60%),
    linear-gradient(150deg, var(--navy-950) 0%, var(--navy-800) 60%, var(--navy-700) 100%);
  color: var(--white);
  padding: 3.6rem 0 3.2rem;
}
.page-head h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: -0.01em;
}
.page-head p { color: rgba(255, 255, 255, 0.78); margin-top: 0.4rem; font-size: 1.05rem; }

/* ============ sections ============ */
.eyebrow {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber-600);
  margin-bottom: 0.7rem;
}

section.block { padding: 4.2rem 0; }
section.block.alt { background: var(--sand-50); }
section.block.tight { padding: 3rem 0; }

.block h2 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--navy-900);
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: -0.01em;
  margin-bottom: 1.1rem;
}
.block h3 {
  color: var(--navy-900);
  font-size: 1.12rem;
  font-weight: 700;
  margin: 1.7rem 0 0.55rem;
}
.block p + p { margin-top: 1rem; }
.block ul { margin: 0.9rem 0 0.9rem 1.4rem; }
.block ul li { margin-bottom: 0.45rem; }

.lead { font-size: 1.12rem; color: #36465a; }

.two-col {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: start;
}
@media (max-width: 800px) { .two-col { grid-template-columns: 1fr; gap: 1.5rem; } }

/* checklist */
.checklist { list-style: none; margin: 1.1rem 0 0 !important; }
.checklist li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.7rem !important;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.32em;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  background: var(--ice-100) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%231f4e79" stroke-width="3.4" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"/></svg>') center / 60% no-repeat;
}

/* cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.3rem;
  margin-top: 2rem;
}
.card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.7rem 1.5rem 1.5rem;
  text-decoration: none;
  color: var(--text);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: var(--blue-300); }
.card .icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(140deg, var(--ice-100), #dce9f5);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
}
.card .icon svg { width: 26px; height: 26px; stroke: var(--navy-700); }
.card h3 { color: var(--navy-900); margin: 0 0 0.45rem; font-size: 1.13rem; font-weight: 700; }
.card p { font-size: 0.95rem; color: var(--muted); line-height: 1.6; }
.card .more { display: inline-flex; align-items: center; gap: 0.3rem; margin-top: 1rem; color: var(--navy-700); font-weight: 700; font-size: 0.9rem; }
.card:hover .more { text-decoration: underline; }

/* stats band */
.statband {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.2rem;
  margin-top: 2.2rem;
}
.stat {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 1.4rem 1.5rem;
}
.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--navy-800);
  line-height: 1.2;
}
.stat span { font-size: 0.9rem; color: var(--muted); }

/* ============ tables ============ */
.table-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  margin: 1.4rem 0 2rem;
}
.table-card .table-title {
  background: linear-gradient(140deg, var(--navy-900), var(--navy-700));
  color: var(--white);
  font-weight: 700;
  font-size: 1.02rem;
  padding: 0.85rem 1.3rem;
}
table.tarieven { width: 100%; border-collapse: collapse; font-size: 0.97rem; }
table.tarieven th, table.tarieven td { padding: 0.8rem 1.3rem; text-align: left; }
table.tarieven thead th {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
}
table.tarieven tbody tr + tr td { border-top: 1px solid var(--border); }
table.tarieven tbody tr:nth-child(even) { background: var(--ice-50); }
table.tarieven td.amount, table.tarieven th.amount { text-align: right; white-space: nowrap; width: 9rem; font-variant-numeric: tabular-nums; font-weight: 600; color: var(--navy-800); }

/* ============ contact ============ */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.6rem;
  margin-top: 1.8rem;
}
.person {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.person:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.person img { width: 100%; height: 240px; object-fit: cover; }
.person .pad { padding: 1.4rem 1.6rem 1.7rem; }
.person h3 { font-family: var(--font-display); font-weight: 600; color: var(--navy-900); margin-bottom: 0.7rem; font-size: 1.25rem; }
.person p { font-size: 0.96rem; margin: 0.18rem 0; }
.person .note { color: var(--muted); font-size: 0.88rem; margin-top: 0.7rem; }

/* contact rows */
.crow { display: flex; gap: 0.6rem; align-items: baseline; }
.crow svg { width: 15px; height: 15px; stroke: var(--blue-500); flex: none; transform: translateY(2px); }

/* ============ form links ============ */
.formgroup {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 1.6rem 1.7rem;
  margin: 1.3rem 0;
}
.formgroup h3 { margin-top: 0 !important; }
.formgroup h3 + .formlist { margin-top: 0.4rem; }
.formlist { list-style: none; margin: 0.4rem 0 1rem !important; }
.formlist li { margin: 0.45rem 0; padding-left: 1.7rem; position: relative; }
.formlist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.34em;
  width: 1.05rem;
  height: 1.05rem;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23c98a26" stroke-width="2.4" stroke-linecap="round" stroke-linejoin="round"><path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"/><polyline points="14 2 14 8 20 8"/></svg>') center / contain no-repeat;
}
.formlist a { font-weight: 500; }

.notice {
  display: flex;
  gap: 0.9rem;
  background: var(--ice-100);
  border: 1px solid #d3e2ef;
  border-radius: 14px;
  padding: 1.05rem 1.3rem;
  margin: 1.5rem 0;
  font-size: 0.97rem;
}
.notice::before {
  content: "";
  flex: none;
  width: 1.3rem;
  height: 1.3rem;
  margin-top: 0.15rem;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%231f4e79" stroke-width="2.2" stroke-linecap="round"><circle cx="12" cy="12" r="10"/><line x1="12" y1="10.5" x2="12" y2="17"/><circle cx="12" cy="7.2" r="0.4" fill="%231f4e79"/></svg>') center / contain no-repeat;
}

/* ============ CTA band ============ */
.cta {
  background:
    radial-gradient(600px 300px at 12% 120%, rgba(227, 162, 60, 0.25), transparent 60%),
    linear-gradient(140deg, var(--navy-950), var(--navy-800));
  border-radius: calc(var(--radius) + 6px);
  color: var(--white);
  padding: 2.8rem 2.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  box-shadow: var(--shadow-lg);
}
.cta h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.4rem, 3vw, 1.9rem); margin: 0 0 0.4rem; color: var(--white); }
.cta p { color: rgba(255, 255, 255, 0.8); max-width: 480px; }

/* ============ footer ============ */
.site-footer {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.82);
  margin-top: 4rem;
  padding: 3rem 0 1.8rem;
  font-size: 0.94rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2.2rem;
}
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: var(--white); margin-bottom: 0.8rem; font-size: 1rem; }
.site-footer .flogo { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.9rem; }
.site-footer .flogo .mark {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.12);
  color: #fff; font-family: var(--font-display); font-weight: 700;
  display: flex; align-items: center; justify-content: center; font-size: 1rem;
}
.site-footer .flogo span { font-family: var(--font-display); font-size: 1.2rem; color: var(--white); }
.site-footer a { color: rgba(255, 255, 255, 0.88); }
.site-footer ul { list-style: none; }
.site-footer li { margin: 0.35rem 0; }
.copyright {
  margin-top: 2.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

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