@import url('https://fonts.googleapis.com/css2?family=Source+Serif+4:opsz,wght@8..60,400;8..60,500;8..60,600;8..60,700&family=Public+Sans:wght@400;500;600;700&display=swap');

:root {
  --bg: #FAF8F3;
  --bg-raised: #F2EEE4;
  --teal: #26454B;
  --teal-deep: #1B3237;
  --sage: #7FA08A;
  --sage-soft: #DCE7DF;
  --gold: #BF9B5E;
  --ink: #232B28;
  --ink-soft: #55625C;
  --line: #D8D2C2;
  --radius: 6px;
  --serif: 'Source Serif 4', Georgia, serif;
  --sans: 'Public Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --max-w: 1120px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

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

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

h1, h2, h3 {
  font-family: var(--serif);
  color: var(--teal-deep);
  line-height: 1.15;
  font-weight: 600;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.1rem, 4.2vw, 3.15rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.05rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1.1em; max-width: 66ch; }

.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 18px;
  padding-bottom: 18px;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--teal-deep);
}

.brand-mark {
  height: 46px;
  width: auto;
  flex: none;
  display: block;
}

nav.main-nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
}

nav.main-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.98rem;
  position: relative;
  padding: 4px 0;
}

nav.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--sage);
  transition: right 0.2s ease;
}

nav.main-nav a:hover::after,
nav.main-nav a[aria-current="page"]::after {
  right: 0;
}

nav.main-nav a[aria-current="page"] {
  color: var(--teal-deep);
  font-weight: 600;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 8px 10px;
  cursor: pointer;
}

.nav-toggle svg { display: block; }

@media (max-width: 760px) {
  nav.main-nav {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 8px 32px 20px;
  }
  nav.main-nav.open { display: block; }
  nav.main-nav ul {
    flex-direction: column;
    gap: 4px;
  }
  nav.main-nav a { display: block; padding: 10px 0; }
  .nav-toggle { display: inline-flex; }
  .site-header { position: relative; }
}

/* ---------- Horizon motif ---------- */

.horizon-divider {
  width: 100%;
  height: 28px;
  display: block;
}

.horizon-divider path {
  stroke: var(--sage);
  stroke-width: 1.4;
  fill: none;
  opacity: 0.7;
}

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

.hero {
  padding: 76px 0 64px;
  overflow: hidden;
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-eyebrow {
  color: var(--sage);
}

.hero h1 { margin-bottom: 0.4em; }

.hero-lede {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 46ch;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.hero-art { width: 100%; height: auto; }

@media (max-width: 820px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-art { max-width: 320px; margin: 0 auto; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: var(--sans);
}

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

.btn-ghost {
  background: transparent;
  color: var(--teal-deep);
  border-color: var(--teal-deep);
}
.btn-ghost:hover { background: var(--sage-soft); }

/* ---------- Sections ---------- */

section { padding: 56px 0; }

.section-intro {
  max-width: 62ch;
  margin-bottom: 36px;
}

.section-intro p:last-child { margin-bottom: 0; }

.lede {
  font-size: 1.1rem;
  color: var(--teal-deep);
  font-family: var(--serif);
  max-width: 60ch;
}

/* ---------- Info grid / who is this for ---------- */

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 0;
}

.chip {
  border: 1px solid var(--line);
  background: var(--bg-raised);
  color: var(--teal-deep);
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 500;
}

/* ---------- Definition blocks (wat is bewindvoering) ---------- */

.def-list {
  display: flex;
  flex-direction: column;
}

.def-item {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
}

.def-item:last-child { border-bottom: 1px solid var(--line); }

.def-item h3 {
  color: var(--sage);
  font-family: var(--sans);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}

.def-item .def-term {
  font-family: var(--serif);
  color: var(--teal-deep);
  font-size: 1.3rem;
  display: block;
  margin-bottom: 6px;
}

@media (max-width: 700px) {
  .def-item { grid-template-columns: 1fr; gap: 8px; }
}

/* ---------- Process / phases ---------- */

.phase-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.phase {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  padding-bottom: 40px;
  position: relative;
}

.phase:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 31px;
  top: 46px;
  bottom: 0;
  width: 1px;
  background: var(--line);
}

.phase-num {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  border: 1px solid var(--sage);
  color: var(--teal-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 1.3rem;
  background: var(--bg);
  flex: none;
}

.phase-steps {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  color: var(--ink-soft);
}

.phase-steps li {
  padding: 5px 0 5px 20px;
  position: relative;
}

.phase-steps li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sage);
}

/* ---------- Pricing cards ---------- */

.tier-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 48px;
}

.tier-card {
  border: 1px solid var(--line);
  border-left: 4px solid var(--teal);
  border-radius: var(--radius);
  background: var(--bg-raised);
  padding: 30px 30px 26px;
}

.tier-card.alt { border-left-color: var(--sage); }

.tier-card h3 {
  font-family: var(--serif);
  font-size: 1.4rem;
  margin-bottom: 4px;
}

.tier-card .tier-note {
  color: var(--ink-soft);
  font-size: 0.92rem;
  margin-bottom: 20px;
}

.tier-rows {
  border-top: 1px solid var(--line);
}

.tier-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}

.tier-row .label { color: var(--ink); }
.tier-row .sub { display: block; color: var(--ink-soft); font-size: 0.86rem; margin-top: 2px; }

.tier-row .amount {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--teal-deep);
  white-space: nowrap;
  font-size: 1.05rem;
}

.tier-row .amount .per {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 0.8rem;
  color: var(--ink-soft);
}

.extra-costs {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.extra-costs table {
  width: 100%;
  border-collapse: collapse;
}

.extra-costs caption {
  text-align: left;
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--teal-deep);
  padding: 20px 24px 14px;
}

.extra-costs th, .extra-costs td {
  text-align: left;
  padding: 12px 24px;
  border-top: 1px solid var(--line);
  font-weight: 400;
}

.extra-costs thead th {
  font-size: 0.8rem;
  color: var(--ink-soft);
  font-weight: 600;
  border-top: none;
  background: var(--bg-raised);
}

.extra-costs td.amount, .extra-costs th.amount {
  text-align: right;
  font-family: var(--serif);
  color: var(--teal-deep);
}

.cost-note {
  margin-top: 28px;
  padding: 20px 24px;
  background: var(--sage-soft);
  border-radius: var(--radius);
  color: var(--teal-deep);
}

.cost-note p { margin: 0; max-width: none; }

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}

.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-raised);
  padding: 28px;
}

.contact-card h3 { font-size: 1.05rem; margin-bottom: 14px; }

.contact-line {
  display: flex;
  gap: 12px;
  padding: 8px 0;
  color: var(--ink-soft);
}

.contact-line strong { color: var(--ink); font-weight: 600; min-width: 84px; }

form.contact-form { display: flex; flex-direction: column; gap: 18px; }

.field { display: flex; flex-direction: column; gap: 6px; }

.field label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--teal-deep);
}

.field input,
.field textarea {
  font-family: var(--sans);
  font-size: 1rem;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--ink);
}

.field textarea { resize: vertical; min-height: 130px; }

.form-note {
  font-size: 0.85rem;
  color: var(--ink-soft);
}

@media (max-width: 820px) {
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .tier-grid { grid-template-columns: 1fr; }
}

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

footer.site-footer {
  border-top: 1px solid var(--line);
  padding: 40px 0 48px;
  margin-top: 40px;
}

footer.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

footer.site-footer strong { color: var(--teal-deep); font-family: var(--serif); font-size: 1.05rem; display: block; margin-bottom: 6px; }

footer.site-footer a { color: var(--ink-soft); }

/* ---------- Skip link ---------- */

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--teal);
  color: #fff;
  padding: 10px 18px;
  z-index: 100;
  border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; }
