/* be.Fiscaliteit – De Buyst — huisstijl
   Sobiel, vertrouwenwekkend, warm. Geen schreeuwerige kleuren. */

:root {
  --navy: #006569;
  --navy-soft: #00807f;
  --ink: #1f2a37;
  --muted: #5b6b7d;
  --line: #e3e8ef;
  --bg: #ffffff;
  --bg-soft: #f6f8fa;
  --accent: #e2a63c;
  --accent-soft: #fdf1da;
  --radius: 4px;
  --maxw: 1120px;
  --shadow: 0 1px 2px rgba(0, 101, 105, .07), 0 8px 24px -12px rgba(0, 101, 105, .20);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

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

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

a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--accent); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.2;
  color: var(--navy);
  margin: 0 0 .6em;
  letter-spacing: -.01em;
}

h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h2 { font-size: clamp(1.55rem, 2.8vw, 2.1rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

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

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--navy); color: #fff; padding: 12px 18px;
}
.skip:focus { left: 12px; top: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; min-height: 76px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 38px; height: 38px; flex: 0 0 38px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: grid; place-items: center;
  font-family: var(--serif); font-size: 17px; font-weight: 700;
  letter-spacing: -.02em;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-family: var(--serif); font-size: 1.06rem; font-weight: 700; color: var(--navy); }
.brand-sub { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  padding: 9px 14px; border-radius: var(--radius);
  font-size: .94rem; font-weight: 500; color: var(--ink);
}
.nav a:hover { background: var(--bg-soft); color: var(--navy); }
.nav .btn-nav {
  background: var(--navy); color: #fff; padding: 11px 20px; font-weight: 600;
}
.nav .btn-nav:hover { background: var(--navy-soft); color: #fff; }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 9px 11px; cursor: pointer;
  font-size: 1rem; color: var(--navy); line-height: 1;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(180deg, #f7fbfb 0%, #eef6f6 100%);
  border-bottom: 1px solid var(--line);
  padding: clamp(56px, 9vw, 104px) 0 clamp(48px, 7vw, 88px);
}
/* Transparante merk-tagline als achtergrond, bovenaan gecentreerd */
.hero-watermark {
  position: absolute;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  text-align: center;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  font-style: italic;
  font-size: clamp(1.8rem, 6vw, 4.6rem);
  line-height: 1;
  letter-spacing: -0.01em;
  white-space: nowrap;
  color: #006569;
  opacity: .12;
}
.hero .wrap { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }

/* --- Hero met brede sfeerfoto -------------------------------------------
   De foto loopt full-bleed achter de hele hero. Een wit verloop links houdt
   de tekst leesbaar; rechts blijft het beeld zichtbaar. Zonder foto (geen
   .hero-has-photo) blijft de oude lichte gradient staan.                */
.hero-media {
  position: absolute; inset: 0; z-index: 0; overflow: hidden;
}

.hero-media picture { display: block; width: 100%; height: 100%; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 72% 50%;
}
/* Wit verloop over de foto, sterker links (waar de tekst staat) */
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg,
    rgba(255,255,255,.97) 0%,
    rgba(255,255,255,.94) 34%,
    rgba(255,255,255,.72) 56%,
    rgba(255,255,255,.28) 78%,
    rgba(255,255,255,.10) 100%);
}
.hero-has-photo {
  background: #f6f8fa;
  border-bottom: 1px solid var(--line);
  padding: clamp(64px, 10vw, 118px) 0 clamp(56px, 8vw, 96px);
}
.hero-has-photo .hero-watermark {
  opacity: .085;
  /* Binnen de tekstkolom houden: nooit onder de foto rechts doorlopen */
  left: 0; right: auto; transform: none;
  width: 100%;
  padding-left: max(24px, calc((100% - var(--maxw)) / 2 + 24px));
  text-align: left;
  font-size: clamp(1.5rem, 4.2vw, 3.4rem);
}
/* Op de foto is de gouden eyebrow te licht: iets donkerder maken */
.hero-has-photo .eyebrow { color: #a97614; }
.hero-has-photo .hero-grid { grid-template-columns: minmax(0, 1.02fr) minmax(0, .78fr); }
.hero-has-photo .hero-copy { max-width: 640px; }
/* Reservebeeld binnen de kolom: alleen op smalle schermen zichtbaar, waar de
   full-bleed foto wordt uitgeschakeld (zie de media query hieronder). */
.hero-inline { display: none; }
.hero-inline img { width: 100%; height: auto; border-radius: 6px; }
@media (max-width: 900px) {
  /* Op smalle schermen geen foto achter de tekst (slecht leesbaar) maar een
     gewoon beeld tussen de tekst en de kaart: de full-bleed laag gaat uit en
     de foto binnen de kolom komt in de plaats. */
  .hero-has-photo { padding-bottom: 0; }
  .hero-has-photo .hero-media { display: none; }
  .hero-has-photo .hero-inline {
    display: block;
    margin: 6px 0 32px;
  }
  .hero-has-photo .hero-inline img { border-radius: 6px; }
  /* Specificiteit gelijk trekken met de desktopregel hierboven */
  .hero-has-photo .hero-grid { grid-template-columns: 1fr; gap: 0; }
  .hero-has-photo .hero-copy { max-width: none; }
  .hero-has-photo .hero-watermark {
    font-size: clamp(1.15rem, 6vw, 1.9rem);
    padding-right: 24px;
    top: 16px;
  }
  .hero-has-photo .eyebrow { letter-spacing: .1em; }
  .hero-has-photo .hero-card { margin-top: 4px; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-has-photo .hero-media img { transform: scale(1.01); }
}
.eyebrow {
  display: inline-block; margin-bottom: 18px;
  font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent);
}
.hero h1 { margin-bottom: 20px; }
.hero .lead { font-size: 1.13rem; color: var(--muted); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 26px; border-radius: var(--radius);
  font-weight: 600; font-size: .96rem; border: 1px solid transparent;
  cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-soft); color: #fff; }
.btn-ghost { background: transparent; color: var(--navy); border-color: #c8d2de; }
.btn-ghost:hover { background: #fff; border-color: var(--navy); color: var(--navy); }

.hero-card {
  background: #fff; border: 1px solid var(--line); border-radius: 6px;
  padding: 30px; box-shadow: var(--shadow);
}
.hero-card h3 { font-size: 1.02rem; margin-bottom: 16px; }
.hero-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.hero-card li { display: flex; gap: 11px; font-size: .94rem; color: var(--ink); align-items: flex-start; }
.hero-card li::before {
  content: "✓"; flex: 0 0 20px; height: 20px; margin-top: 2px;
  background: var(--accent-soft); color: var(--accent);
  border-radius: 50%; font-size: .72rem; font-weight: 700;
  display: grid; place-items: center;
}

/* ---------- Sections ---------- */
.section { padding: clamp(52px, 7vw, 88px) 0; }
.section-soft { background: var(--bg-soft); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head--compact { margin-bottom: 20px; }
.section-head--steps { margin-bottom: 32px; }
.section-cont { padding-top: 0; }
.section-head p { color: var(--muted); }
.center { text-align: center; margin-inline: auto; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: 6px;
  padding: 28px;
}
.card h3 { margin-bottom: 10px; }
.card p { font-size: .95rem; color: var(--muted); }
.team-functie { font-size: .82rem; font-weight: 600; color: var(--accent);
  text-transform: uppercase; letter-spacing: .08em; margin: -4px 0 12px; }
.card-icon {
  width: 42px; height: 42px; border-radius: var(--radius);
  background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center; margin-bottom: 18px;
  font-size: 1.15rem;
}

/* ---------- Steps ---------- */
.steps { display: grid; gap: 0; }
.step {
  display: grid; grid-template-columns: 64px 1fr; gap: 24px;
  padding: 26px 0; border-bottom: 1px solid var(--line);
}
.step:last-child { border-bottom: 0; }
.step-num {
  font-family: var(--serif); font-size: 1.5rem; font-weight: 700;
  color: var(--accent); line-height: 1;
}
.step h3 { margin-bottom: 6px; }
.step p { color: var(--muted); font-size: .96rem; margin: 0; }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
/* Split met de stappen ernaast: bovenaan uitlijnen en de lijst compacter. */
.split--steps { align-items: start; gap: 48px; }
.split--steps .steps { gap: 0; }
.split--steps .step { padding: 20px 0; }
.split--steps .step:first-child { padding-top: 0; }

/* ---------- CTA ---------- */
.cta {
  background: var(--navy); color: #fff; border-radius: 8px;
  padding: clamp(36px, 5vw, 60px); text-align: center;
}
.cta h2 { color: #fff; }
.cta p { color: #c9d6e4; max-width: 620px; margin: 0 auto 28px; }
.cta .btn-primary { background: #fff; color: var(--navy); }
.cta .btn-primary:hover { background: var(--accent-soft); color: var(--navy); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; }
.contact-list li { display: grid; gap: 3px; }
.contact-list .label {
  font-size: .72rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); font-weight: 700;
}
.contact-list .value { font-size: 1.02rem; color: var(--navy); font-weight: 500; }

form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-size: .86rem; font-weight: 600; color: var(--ink); }
.field input, .field textarea, .field select {
  font: inherit; font-size: .95rem; color: var(--ink);
  padding: 12px 14px; border: 1px solid #cfd8e3; border-radius: var(--radius);
  background: #fff; width: 100%;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: 2px solid var(--navy); outline-offset: -1px; border-color: var(--navy);
}
.field textarea { resize: vertical; min-height: 130px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: .82rem; color: var(--muted); }
.form-status { padding: 12px 16px; border-radius: var(--radius); font-size: .92rem; display: none; }
.form-status.ok { display: block; background: #e8f5ec; color: #1c6b3a; border: 1px solid #bfe3cc; }
.form-status.err { display: block; background: #fdeceb; color: #a02a22; border: 1px solid #f3c8c4; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #b9c8d8; padding: 56px 0 28px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-logins { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.footer-logins a { font-weight: 600; }
.site-footer .brand-name { color: #fff; }
.site-footer .brand-sub { color: #8ea3b8; }
.site-footer h4 {
  color: #fff; font-family: var(--font); font-size: .78rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-footer a { color: #b9c8d8; }
.site-footer a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12); padding-top: 22px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: .84rem; color: #8ea3b8;
}

/* ---------- 404 ---------- */
.page-404 { padding: clamp(80px, 12vw, 150px) 0; text-align: center; }
.page-404 .code { font-family: var(--serif); font-size: clamp(4rem, 12vw, 7rem); color: var(--line); line-height: 1; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid, .split, .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav { display: none; position: absolute; top: 76px; left: 0; right: 0;
         background: #fff; border-bottom: 1px solid var(--line);
         flex-direction: column; align-items: stretch; padding: 12px; gap: 4px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 14px; }
  .nav .btn-nav { text-align: center; margin-top: 6px; }
  .nav-toggle { display: block; }
  .site-header { position: relative; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .grid-3, .grid-2, .footer-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .step { grid-template-columns: 44px 1fr; gap: 16px; }
}

/* ---------- Logo ---------- */
.brand-logo { display: block; width: 200px; height: auto; max-width: 100%; }
.footer-logo { width: 170px; filter: brightness(0) invert(1); opacity: .95; }
@media (max-width: 620px) {
  .brand-logo { width: 160px; }
  .footer-logo { width: 150px; }
}

/* ---------- Juridische pagina's ---------- */
.legal { max-width: 800px; }
.legal h2 {
  font-size: 1.18rem; margin-top: 2.2em; padding-top: 1.1em;
  border-top: 1px solid var(--line);
}
.legal h2:first-of-type { border-top: 0; margin-top: 1.6em; }
.legal ul, .legal ol { margin: 0 0 1.2em; padding-left: 1.35em; }
.legal li { margin-bottom: .45em; }
.legal-meta { font-size: .86rem; color: var(--muted); margin-bottom: 1.6em; }
.legal-note {
  background: var(--accent-soft); border: 1px solid #f2e0b8;
  border-left: 3px solid var(--accent);
  padding: 16px 20px; border-radius: var(--radius);
  font-size: .92rem; margin-bottom: 2em;
}
.fill {
  background: #fff8e6; border-bottom: 1px dashed var(--accent);
  padding: 0 3px; font-size: .95em; color: #7a5a15;
}
.legal-table {
  width: 100%; border-collapse: collapse; margin: 0 0 1.4em;
  font-size: .88rem; display: block; overflow-x: auto;
}
.legal-table th, .legal-table td {
  border: 1px solid var(--line); padding: 10px 12px;
  text-align: left; vertical-align: top;
}
.legal-table th { background: var(--bg-soft); font-weight: 600; color: var(--navy); white-space: nowrap; }

/* ---------- Footer-bottom ---------- */
.footer-bottom {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 20px 40px; flex-wrap: wrap;
}
.footer-legal {
  display: grid; grid-template-columns: auto auto; gap: 2px 18px;
  align-items: baseline;
}
.footer-copy { color: #cfdae6; white-space: nowrap; }
.footer-addr { white-space: nowrap; }
.footer-ids { grid-column: 1 / -1; opacity: .85; }
.footer-ai { max-width: 420px; text-align: right; margin-left: auto; }
@media (max-width: 900px) {
  .footer-ai { text-align: left; margin-left: 0; }
}
@media (max-width: 560px) {
  .footer-legal { grid-template-columns: 1fr; }
  .footer-copy, .footer-addr { white-space: normal; }
}

/* ---------- Lokale landingspagina's ---------- */
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 22px; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--navy); }
.local-hero { max-width: 760px; }
.local-hero .lead { font-size: 1.1rem; color: var(--muted); }

/* ---------- BTW-kalender ---------- */
.btw-table {
  width: 100%; border-collapse: collapse; margin: 0 0 18px; font-size: .94rem;
  background: #fff; border: 1px solid var(--line); border-radius: 6px; overflow: hidden;
}
.btw-table caption {
  text-align: left; font-size: .8rem; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted); padding-bottom: 8px;
}
.btw-table th {
  background: var(--navy); color: #fff; text-align: left;
  padding: 11px 16px; font-weight: 600; font-size: .88rem;
}
.btw-table td { padding: 11px 16px; border-top: 1px solid var(--line); }
.btw-table tbody tr:nth-child(even) { background: var(--bg-soft); }
.btw-table td:last-child { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--navy); white-space: nowrap; }

/* ---------- Kalender-tabs ---------- */
.kal-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.kal-tab {
  display: inline-block; padding: 10px 18px; border-radius: var(--radius);
  border: 1px solid var(--line); background: #fff; font-size: .92rem;
  font-weight: 600; color: var(--navy);
}
.kal-tab:hover { border-color: var(--navy); background: var(--bg-soft); }
@media (max-width: 620px) { .kal-tab { flex: 1 1 100%; text-align: center; } }

/* ---------- Contactformulier: extra velden ---------- */
.label-opt { font-weight: 400; color: var(--muted); font-size: .82em; }
.field-check { margin-top: 2px; }
.field .check {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: .88rem; font-weight: 400; line-height: 1.5;
  color: var(--ink); cursor: pointer;
}
.field .check input[type="checkbox"] {
  width: 18px; height: 18px; min-width: 18px; margin: 2px 0 0;
  padding: 0; accent-color: var(--navy); cursor: pointer;
}
.field .check a { color: var(--navy); text-decoration: underline; }
.field input:invalid:not(:placeholder-shown) { border-color: #e0a19b; }
.form-legal { margin-top: 6px; font-size: .76rem; line-height: 1.6; }
.grecaptcha-badge { visibility: visible; }
