/* ===== Westas Accountants & Advies ===== */

:root {
  --bg: #F8F5F0;          /* lichte crème */
  --bg-alt: #F0EBE4;      /* iets donkerder beige */
  --dark: #1E1B17;        /* bijna zwart, warm */
  --text: #2A2622;
  --muted: #6E6862;
  --line: #DDD6CC;
  --gold: #B8925A;
  --gold-light: #D4C3A0;

  --serif-display: "Bodoni Moda", "Didot", Georgia, serif;
  --serif: "Libre Caslon Text", Georgia, serif;
  --sans: "Roboto", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: 1380px; margin: 0 auto; padding: 0 40px; }

/* ===== Eyebrow-koppen (— D I E N S T E N) ===== */
.eyebrow {
  display: flex; align-items: center; gap: 22px;
  font-family: var(--serif-display);
  font-weight: 400;
  font-size: clamp(26px, 3vw, 38px);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #3A3530;
  line-height: 1.2;
}
.eyebrow::before {
  content: ""; flex: 0 0 50px; height: 1.5px; background: var(--gold);
}
.eyebrow-dark { color: #D6CFC4; }
.eyebrow-muted { color: #3A3530; }
.eyebrow-muted::before { background: #6E6862; height: 1px; }

.display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(30px, 3.2vw, 42px);
  line-height: 1.3;
  letter-spacing: 0.02em;
}
.display em { font-style: italic; }

/* ===== Knoppen ===== */
.btn {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--sans); font-weight: 700;
  font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase;
  padding: 15px 26px;
  transition: background .2s, color .2s;
}
.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: #3A352E; }
.btn-arrow { padding: 20px 36px; }
.btn-arrow svg { width: 10px; height: 10px; }

/* ===== Header ===== */
.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: box-shadow .3s ease;
}
body { padding-top: 206px; } /* ruimte voor de vaste header (wordt door het script exact gezet) */
.site-header.scrolled { box-shadow: 0 6px 24px rgba(30, 27, 23, 0.07); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 18px; padding-bottom: 22px;
  transition: padding .3s ease;
}
.logo img { height: 165px; width: auto; transition: height .3s ease; }
.site-header.scrolled .header-inner { padding-top: 10px; padding-bottom: 10px; }
.site-header.scrolled .logo img { height: 84px; }

/* Ankerlinks niet onder de meelopende header laten verdwijnen */
section[id] { scroll-margin-top: 110px; }

/* ===== Subtiele animaties ===== */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1);
}
.js .reveal.visible { opacity: 1; transform: none; }
.js .hero-image.reveal { transform: translateY(0) scale(.985); transition-duration: 1.4s; }
.js .hero-image.reveal.visible { transform: none; }
.js .service.reveal { transition: opacity .9s ease, transform .9s cubic-bezier(.2,.7,.2,1), background .25s; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
.main-nav { display: flex; align-items: center; gap: 46px; }
.main-nav a:not(.btn) {
  font-weight: 500; font-size: 13.5px;
  letter-spacing: 0.24em; text-transform: uppercase; color: #3A3530;
}
.main-nav a:not(.btn):hover { color: var(--gold); }
.main-nav .btn { padding: 16px 26px; }

.menu-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.menu-toggle span { display: block; width: 26px; height: 2px; background: var(--dark); margin: 6px 0; }

/* ===== Hero ===== */
.hero { padding: 0; overflow: hidden; }
.hero-inner {
  display: grid; grid-template-columns: 0.9fr 1.3fr; align-items: center; gap: 40px;
  min-height: 580px;
}
.hero-text .eyebrow { margin-bottom: 44px; }
.lead { font-size: 19.5px; line-height: 1.75; color: var(--muted); max-width: 545px; }
.hero-image { padding: 20px 0 50px; margin-right: -50px; }
.hero-image img { width: 100%; max-width: 740px; margin-left: auto; }


/* ===== Secties ===== */
.section { padding: 140px 0; }
.section-alt { background: var(--bg-alt); }

/* ===== Diensten ===== */
#diensten .eyebrow { margin-bottom: 84px; }
.services {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  background: var(--bg);
}
.service {
  padding: 40px 42px 46px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background .25s;
}
.service:nth-child(3n) { border-right: 0; }
.service:nth-last-child(-n+3) { border-bottom: 0; }
.service:hover { background: var(--bg-alt); }
.icon {
  width: 42px; height: 42px; margin-bottom: 44px;
  fill: none; stroke: var(--dark); stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round; color: var(--dark);
}
.service h3 {
  font-family: var(--serif); font-weight: 400;
  font-size: 29px; line-height: 1.4; letter-spacing: 0.015em;
  margin-bottom: 26px; color: #1E1B17;
}
.service p { font-size: 17px; line-height: 1.7; color: var(--muted); }

/* ===== Over ons ===== */
.about { padding: 150px 0 120px; overflow: hidden; }
.about-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 110px; align-items: center;
  max-width: 1560px;
}
.about-image { margin-left: -120px; }
.about-image img { width: 100%; }
.about-text .eyebrow { margin-bottom: 52px; }
.about-text p { color: var(--muted); font-size: 18.5px; line-height: 1.78; margin-bottom: 24px; }
.about-text p.gap { margin-top: 44px; }
.about-text strong { color: var(--dark); font-weight: 400; }
blockquote {
  margin-top: 56px; padding-left: 30px;
  border-left: 2px solid var(--gold);
  font-family: var(--serif); font-style: italic;
  font-size: 30px; line-height: 1.42; color: var(--dark);
}

/* ===== Aanpak ===== */
.approach { background: var(--dark); color: #fff; padding: 150px 0 140px; }
.approach .eyebrow { margin-bottom: 52px; }
.approach .display { color: #fff; max-width: 680px; font-size: clamp(18px, 1.6vw, 21px); }
.approach .display em { color: var(--gold-light); }
.steps {
  list-style: none;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px;
  margin-top: 76px;
}
.steps li { border-top: 1px solid #4A453E; padding-top: 36px; }
.numeral {
  display: block; font-family: var(--serif); font-style: italic;
  font-size: 40px; line-height: 1; color: var(--gold-light); margin-bottom: 34px;
}
.steps h3 {
  font-family: var(--sans); font-weight: 700;
  font-size: 15px; letter-spacing: 0.32em; text-transform: uppercase;
  margin-bottom: 24px;
}
.steps p { color: #C9C3BA; font-size: 17px; line-height: 1.7; }

/* ===== Contact ===== */
.contact { padding: 140px 0 140px; }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 160px; align-items: start; }
.contact-text .eyebrow { margin-bottom: 44px; }
.contact-text .display { margin-bottom: 32px; font-size: clamp(18px, 1.6vw, 21px); }
.contact-text .lead { margin-bottom: 50px; max-width: 560px; }
.contact-list { list-style: none; border-top: 1px solid var(--line); }
.contact-list li {
  display: flex; align-items: center; gap: 25px;
  padding: 25px 0; border-bottom: 1px solid var(--line);
}
.c-icon {
  flex: 0 0 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); background: var(--bg);
}
.c-icon svg {
  width: 23px; height: 23px; fill: none; stroke: var(--dark);
  stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; color: var(--dark);
}
.c-label {
  display: block; font-weight: 500; font-size: 12.5px;
  letter-spacing: 0.28em; text-transform: uppercase; color: #8A847C; line-height: 1.4; margin-bottom: 4px;
}
.contact-list a, .c-value { font-weight: 400; font-size: 19px; color: var(--dark); }
.contact-list a:hover { color: var(--gold); }

/* ===== Footer ===== */
.site-footer { background: var(--dark); color: #A39D94; padding: 24px 0; }
.footer-inner {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
  font-weight: 500; font-size: 13.5px; letter-spacing: 0.16em; text-transform: uppercase;
}
.footer-right { text-align: right; }
.nowrap { white-space: nowrap; }
.footer-logo img { height: 40px; width: auto; opacity: .9; transition: opacity .2s; }
.footer-logo:hover img { opacity: 1; }
.site-footer a:hover { color: #fff; }

/* ===== Responsief ===== */
@media (max-width: 1100px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .service:nth-child(3n) { border-right: 1px solid var(--line); }
  .service:nth-child(2n) { border-right: 0; }
  .service:nth-last-child(-n+3) { border-bottom: 1px solid var(--line); }
  .service:nth-last-child(-n+2) { border-bottom: 0; }
  .about-inner, .contact-inner { gap: 60px; }
  .main-nav { gap: 28px; }
}

@media (max-width: 900px) {
  body { font-size: 16px; }
  .container { padding: 0 20px; }
  .header-inner { padding-top: 18px; padding-bottom: 18px; }
  .logo img { height: 84px; }
  .site-header.scrolled .logo img { height: 58px; }
  body { padding-top: 121px; }
  section[id] { scroll-margin-top: 84px; }
  .menu-toggle { display: block; }
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 22px;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 28px 20px 32px;
  }
  .main-nav.open { display: flex; }

  .hero-inner, .about-inner, .contact-inner { grid-template-columns: 1fr; }
  .hero-inner { min-height: 0; padding-top: 60px; }
  .hero-image { margin-right: 0; padding: 0 0 40px; }
  .about-image { margin-left: 0; order: 2; }
  .lead { font-size: 18px; }

  .section, .about, .approach, .contact { padding: 80px 0; }
  #diensten .eyebrow { margin-bottom: 48px; }
  .services { grid-template-columns: 1fr; }
  .service, .service:nth-child(n) { border-right: 0; border-bottom: 1px solid var(--line); }
  .service:last-child { border-bottom: 0; }
  .service { padding: 34px 26px; }
  .icon { margin-bottom: 28px; }
  .service h3 { font-size: 25px; }

  .steps { grid-template-columns: 1fr; gap: 20px; margin-top: 50px; }
  blockquote { font-size: 24px; }
  .eyebrow { letter-spacing: 0.12em; gap: 16px; }
  .eyebrow::before { flex-basis: 36px; }
  .site-footer { padding: 26px 0; }
  .footer-inner { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 12px; font-size: 11.5px; }
  .footer-logo { order: -1; }
  .footer-inner { letter-spacing: 0.1em; }
  .footer-right { text-align: center; display: flex; flex-direction: column; gap: 4px; }
  .footer-right .sep { display: none; }
}

/* Scheiding tussen e-mail en telefoon in de footer: kleine gouden streep */
.footer-right .sep {
  display: inline-block; width: 1px; height: 14px;
  background: var(--gold-light);
  margin: 0 16px; vertical-align: -2px;
}
@media (max-width: 900px) {
  .footer-right .sep { display: none; }
}

/* Tekst alleen voor zoekmachines en schermlezers */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
/* hoogte meeschalen bij width/height-attributen */
.hero-image img, .about-image img { height: auto; }
