/* Van Baasbank Finance — stylesheet
   Kleuren uit het logo: donkerblauw + groen. Geen externe fonts (privacy + snelheid). */

:root {
  --navy: #0d2650;
  --navy-soft: #1c3a6e;
  --green: #4a9e4f;
  --green-dark: #2f7d3b;
  --ink: #1d2733;
  --muted: #5b6675;
  --line: #e3e8ee;
  --tint: #f5f8f6;
  --white: #ffffff;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1080px;
  --radius: 14px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 116px; -webkit-text-size-adjust: 100%; }

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

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

a { color: var(--navy); text-underline-offset: 3px; }
a:hover { color: var(--green-dark); }

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

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }

.skip {
  position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff;
  padding: .75rem 1rem; z-index: 100;
}
.skip:focus { left: 0; color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 100px;
}
.brand img { width: 290px; }

.nav { display: flex; align-items: center; gap: 1.75rem; }
.nav a {
  text-decoration: none; font-size: .95rem; font-weight: 500; color: var(--navy);
  padding: .4rem 0; border-bottom: 2px solid transparent;
}
.nav a:hover { border-bottom-color: var(--green); color: var(--navy); }
.nav .btn { padding: .55rem 1.1rem; border-bottom: 0; color: #fff; }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: 10px;
  width: 44px; height: 44px; cursor: pointer; padding: 0;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 20px; height: 2px; background: var(--navy); margin: auto; position: relative;
  content: "";
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font: inherit; font-weight: 600; font-size: 1rem; line-height: 1.2;
  padding: .9rem 1.5rem; border-radius: 999px; border: 2px solid var(--navy);
  background: var(--navy); color: #fff; text-decoration: none; cursor: pointer;
  transition: background .15s, border-color .15s, color .15s;
}
.btn:hover { background: var(--green-dark); border-color: var(--green-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--navy); }
.btn-ghost:hover { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- Sections ---------- */
section { padding: 6rem 0; }
.tint { background: var(--tint); }

.label {
  display: inline-flex; align-items: center; gap: .75rem;
  font-size: .8rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--green-dark); margin: 0 0 1rem;
}
.label::before { content: ""; width: 32px; height: 2px; background: var(--green); }

h1, h2, h3 { font-family: var(--serif); color: var(--navy); line-height: 1.15; margin: 0; font-weight: 700; }
h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); letter-spacing: -.01em; }
h3 { font-size: 1.25rem; }

.section-head { max-width: 640px; margin-bottom: 3rem; }
.section-head p:not(.label) { color: var(--muted); margin: 1rem 0 0; }

/* ---------- Hero ---------- */
.hero { padding: 5.5rem 0 6.5rem; }
.hero .wrap {
  display: grid; grid-template-columns: 1.25fr .75fr; gap: 4rem; align-items: center;
}
.hero h1 { font-size: clamp(2.5rem, 6.2vw, 4.25rem); letter-spacing: -.02em; }
.hero h1 em { font-style: normal; color: var(--green-dark); }
.hero .lead { font-size: 1.2rem; color: var(--muted); max-width: 34rem; margin: 1.5rem 0 2.25rem; }
.actions { display: flex; flex-wrap: wrap; gap: .9rem; }

.portrait { position: relative; width: min(100%, 320px); margin-inline: auto; }
.portrait img {
  width: 100%; aspect-ratio: 1; border-radius: 50%; object-fit: cover;
  border: 6px solid #fff; box-shadow: 0 0 0 1px var(--line), 0 24px 48px -24px rgba(13, 38, 80, .35);
}
/* de groene 'swoosh' uit het logo, als boog langs de foto */
.portrait::after {
  content: ""; position: absolute; inset: -16px; border-radius: 50%;
  border: 3px solid transparent; border-bottom-color: var(--green); border-left-color: var(--green);
  transform: rotate(-18deg); pointer-events: none;
}

/* ---------- Wat ik doe ---------- */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.service {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.75rem 1.5rem; border-top: 3px solid var(--green);
}
.service svg { width: 34px; height: 34px; color: var(--navy); margin-bottom: 1.1rem; }
.service p { margin: .6rem 0 0; color: var(--muted); font-size: .98rem; line-height: 1.6; }

/* ---------- Over mij ---------- */
.about { display: grid; grid-template-columns: 150px minmax(0, 660px); gap: 4.5rem; justify-content: center; align-items: start; }
.about-mark { position: sticky; top: 140px; }
.about-mark img { width: 150px; }
.about p { margin: 0 0 1.15rem; }
.about h2 { margin-bottom: 1.5rem; }
.quote {
  margin: 2rem 0 0; padding: 1.5rem 1.75rem; background: var(--tint);
  border-left: 3px solid var(--green); border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--serif); font-size: 1.2rem; line-height: 1.5; color: var(--navy);
}

/* ---------- Ervaring ---------- */
.clients { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; list-style: none; margin: 0; padding: 0; }
.client {
  background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--green);
  border-radius: var(--radius); padding: 1.5rem 1.5rem; display: flex; align-items: center; min-height: 92px;
}
.client h3 { font-size: 1.15rem; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: 1.15fr .85fr; gap: 4rem; align-items: start; }

form { display: grid; gap: 1.1rem; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
label { display: block; font-weight: 600; font-size: .92rem; color: var(--navy); margin-bottom: .35rem; }
label small { font-weight: 400; color: var(--muted); }
input, textarea {
  width: 100%; font: inherit; color: var(--ink); background: #fff;
  border: 1px solid #c9d2dc; border-radius: 10px; padding: .8rem .95rem;
}
input:focus, textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(74, 158, 79, .25); }
textarea { min-height: 150px; resize: vertical; }
.hint { font-size: .88rem; color: var(--muted); margin: -.4rem 0 0; }
.hint.error { color: #b3261e; font-weight: 600; }
.hp { position: absolute; left: -9999px; }
.form-note { font-size: .88rem; color: var(--muted); margin: 0; }

.contact-card {
  background: var(--navy); color: #dfe6f1; border-radius: var(--radius); padding: 2.25rem 2rem;
}
.contact-card h3 { color: #fff; margin-bottom: 1.5rem; }
.contact-card dl { margin: 0; display: grid; gap: 1.4rem; }
.contact-card dt { font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: #9fd3a3; font-weight: 700; }
.contact-card dd { margin: .25rem 0 0; }
.contact-card a { color: #fff; word-break: break-word; }
.contact-card a:hover { color: #9fd3a3; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 2.25rem 0; font-size: .9rem; color: var(--muted); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem 0; }
.site-footer li + li::before { content: "|"; margin: 0 .8rem; color: #c9d2dc; }
.site-footer strong { color: var(--navy); }
.site-footer a { color: var(--muted); }

/* ---------- Tekstpagina's (privacy, bedankt) ---------- */
.page { padding: 4.5rem 0 6rem; }
.page .wrap { max-width: 720px; }
.page h1 { font-size: clamp(2rem, 5vw, 2.8rem); margin-bottom: 1.25rem; }
.page h2 { font-size: 1.35rem; margin: 2.25rem 0 .6rem; }
.page p, .page ul { margin: 0 0 1rem; }
.page .back { display: inline-block; margin-bottom: 2rem; font-weight: 600; text-decoration: none; }
.center { text-align: center; }
.center .actions { justify-content: center; margin-top: 2rem; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .clients { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 820px) {
  section { padding: 4.25rem 0; }
  .hero { padding: 3rem 0 4.5rem; }
  .hero .wrap, .about, .contact { grid-template-columns: 1fr; gap: 3rem; }
  .hero .portrait { order: -1; width: 220px; margin-inline: 0; }
  .about { gap: 2rem; }
  .about-mark { position: static; }
  .about-mark img { width: 72px; }

  .site-header .wrap { min-height: 80px; }
  .brand img { width: 230px; }
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: .5rem 1.25rem 1.25rem;
  }
  .nav.open { display: flex; }
  .nav a { padding: .9rem 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 1rem; justify-content: center; padding: .9rem; }
}

@media (max-width: 560px) {
  body { font-size: 1rem; }
  .services, .clients, .row { grid-template-columns: 1fr; }
  .brand img { width: 210px; }
  .site-footer ul { flex-direction: column; }
  .site-footer li + li::before { content: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
