/* ═══════════════════════════════════════════
   E-azy Advies — Hoofd CSS
═══════════════════════════════════════════ */

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

:root {
  --ink: #0F110E;
  --ink-mid: #444;
  --ink-muted: #888;
  --ink-faint: #bbb;
  --rule: #E2E2E0;
  --surface: #F7F7F5;
  --white: #fff;
  --dark-bg: #111210;
  --accent: #C8873A;
  --accent-light: #FDF3E7;
  --font: 'Segoe UI', system-ui, -apple-system, sans-serif;

  /* Merkblauw — afgeleid van het E-azy logo (hue ~217°) */
  --brand-navy-deep: #0a0d12;   /* bijna zwart, lichte blauwzweem */
  --brand-navy-dark: #0e1624;   /* diepe navy — vervangt zwart */
  --brand-navy: #193056;        /* rijkere navy — gradient-eind / knoppen */
  --brand-blue: #508cf0;        /* levendig logo-blauw — accent/hover */
}

html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }

/* ─── NAV ─── */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: var(--white);
  border-bottom: 1px solid var(--rule);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px; height: 64px;
}
.site-logo img { height: 44px; width: auto; display: block; }

.main-nav { display: flex; align-items: center; }
.main-nav ul {
  display: flex; align-items: center; gap: 32px;
  list-style: none; margin: 0; padding: 0;
}
.main-nav li { list-style: none; }
.main-nav a {
  font-size: 13px; color: var(--ink-muted);
  transition: color .15s; letter-spacing: 0.1px;
}
.main-nav a:hover,
.main-nav a.current-menu-item,
.main-nav .current-menu-item > a { color: var(--ink); }

/* Laatste menu-item automatisch als CTA-knop (bv. "Contact" / "Gesprek aanvragen") */
.main-nav ul > li:last-child > a {
  background: linear-gradient(135deg, var(--brand-navy-dark), var(--brand-navy));
  color: var(--white) !important;
  border: none; padding: 9px 20px;
  font-size: 13px; font-weight: 500;
  letter-spacing: 0.2px; transition: opacity .15s;
  display: inline-block;
}
.main-nav ul > li:last-child > a:hover { opacity: .85; color: var(--white) !important; }

/* ─── HAMBURGER (mobiel) ─── */
.burger {
  display: none;
  flex-direction: column; justify-content: center; gap: 5px;
  width: 32px; height: 32px;
  background: none; border: none; cursor: pointer; padding: 0;
}
.burger span {
  display: block; width: 100%; height: 2px;
  background: var(--ink);
  transition: transform .2s ease, opacity .2s ease;
}
.burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-cta {
  background: linear-gradient(135deg, var(--brand-navy-dark), var(--brand-navy));
  color: var(--white) !important;
  border: none; padding: 9px 20px;
  font-size: 13px; font-weight: 500; cursor: pointer;
  letter-spacing: 0.2px; transition: opacity .15s;
  display: inline-block;
}
.nav-cta:hover { opacity: .85; }

/* ─── KNOPPEN ─── */
.btn-primary {
  background: linear-gradient(135deg, var(--brand-navy-dark), var(--brand-navy));
  color: var(--white);
  border: none; padding: 14px 28px;
  font-size: 14px; font-weight: 500; cursor: pointer;
  letter-spacing: 0.2px; transition: opacity .15s;
  display: inline-flex; align-items: center; gap: 10px;
}
.btn-primary:hover { opacity: .85; color: var(--white); }
.btn-outline {
  background: none; color: var(--ink);
  border: 1px solid var(--rule); padding: 13px 24px;
  font-size: 14px; cursor: pointer;
  transition: border-color .15s; display: inline-block;
}
.btn-outline:hover { border-color: var(--ink); }

/* ─── HERO ─── */
.hero {
  padding: 96px 48px 80px;
  border-bottom: 1px solid var(--rule);
  max-width: 1000px;
  position: relative; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: right center;
  opacity: 0.13; pointer-events: none; z-index: 0;
}
.hero-content { position: relative; z-index: 1; }
.hero-eyebrow {
  font-size: 11px; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--ink-faint); margin-bottom: 36px;
  display: flex; align-items: center; gap: 12px;
}
.hero-eyebrow::before {
  content: ''; display: block;
  width: 24px; height: 1px; background: var(--ink-faint);
}
.hero h1 {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 300; line-height: 1.1;
  letter-spacing: -1.5px; color: var(--ink);
  margin-bottom: 32px;
}
.hero h1 strong { font-weight: 600; }
.hero-sub {
  font-size: 17px; color: var(--ink-mid);
  line-height: 1.8; max-width: 540px; margin-bottom: 48px;
}
.hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hero-note { font-size: 12px; color: var(--ink-faint); }

/* ─── DIENSTEN STRIP ─── */
.diensten-strip {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--rule);
}
.ds-item {
  padding: 48px; border-right: 1px solid var(--rule);
  transition: background .15s;
}
.ds-item:last-child { border-right: none; }
.ds-item:hover { background: var(--surface); }
.ds-nr { font-size: 11px; color: var(--ink-faint); letter-spacing: 2px; margin-bottom: 24px; }
.ds-item h3 { font-size: 18px; font-weight: 500; margin-bottom: 12px; letter-spacing: -0.3px; }
.ds-item p { font-size: 14px; color: var(--ink-mid); line-height: 1.7; margin-bottom: 24px; }
.ds-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--ink); border-bottom: 1px solid var(--ink); padding-bottom: 2px;
}

/* ─── DARK BAND ─── */
.dark-band { background: linear-gradient(135deg, var(--brand-navy-deep) 0%, var(--brand-navy-dark) 100%); padding: 80px 48px; }
.dark-band .section-label { color: #555; }
.dark-band h2 { color: var(--white); }
.usp-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 48px; margin-top: 56px;
}
.usp-item h4 { font-size: 14px; font-weight: 600; color: var(--white); margin-bottom: 8px; }
.usp-item p { font-size: 13px; color: #666; line-height: 1.65; }

/* ─── OVER GRID ─── */
.over-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--rule);
}
.over-l { padding: 80px 48px; border-right: 1px solid var(--rule); }
.over-r { padding: 80px 48px; }
.over-photo {
  width: 100%; aspect-ratio: 4/3;
  background: var(--surface); overflow: hidden; margin-bottom: 24px;
}
.over-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ─── PROJECT LIST ─── */
.project-list { border-top: 1px solid var(--rule); }
.project-row {
  display: grid; grid-template-columns: 80px 1fr auto;
  gap: 24px; padding: 24px 0;
  border-bottom: 1px solid var(--rule); align-items: start;
}
.proj-tag { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--ink-faint); padding-top: 2px; }
.proj-title { font-size: 15px; font-weight: 500; margin-bottom: 4px; }
.proj-sub { font-size: 13px; color: var(--ink-mid); }

/* ─── CONTACT GRID ─── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; }
.contact-l { padding: 80px 48px; border-right: 1px solid var(--rule); }
.contact-r { padding: 80px 48px; background: var(--surface); }
.contact-details { margin-top: 40px; display: flex; flex-direction: column; gap: 28px; }
.cd-label { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 3px; }
.cd-val { font-size: 16px; font-weight: 500; }
.map-wrapper { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--rule); }
.map-wrapper iframe { width: 100%; height: 220px; border: 0; display: block; filter: grayscale(100%); }

/* ─── FORMULIER ─── */
.contact-r .wpcf7 input,
.contact-r .wpcf7 select,
.contact-r .wpcf7 textarea,
.contact-r .wpforms-field input,
.contact-r .wpforms-field select,
.contact-r .wpforms-field textarea {
  width: 100%; padding: 12px 14px;
  border: 1px solid var(--rule); background: var(--white);
  font-family: var(--font); font-size: 14px; color: var(--ink);
  outline: none; transition: border-color .15s;
  -webkit-appearance: none; appearance: none;
  margin-bottom: 14px;
}
.contact-r .wpcf7 input:focus,
.contact-r .wpcf7 select:focus,
.contact-r .wpcf7 textarea:focus { border-color: var(--ink); }
.contact-r .wpcf7 textarea { min-height: 100px; resize: vertical; }
.contact-r .wpcf7 input[type="submit"],
.contact-r .wpforms-submit {
  background: var(--ink); color: var(--white);
  border: none; padding: 14px 24px;
  font-size: 14px; font-weight: 500; cursor: pointer;
  width: 100%; letter-spacing: 0.2px; transition: opacity .15s;
}
.contact-r .wpcf7 input[type="submit"]:hover { opacity: .85; }
.contact-r p.form-label {
  font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--ink-mid); margin-bottom: 6px; display: block;
}

/* ─── SECTION HELPERS ─── */
.section { padding: 80px 48px; }
.section-label {
  font-size: 11px; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--ink-faint); margin-bottom: 20px;
  display: flex; align-items: center; gap: 12px;
}
.section-label::before {
  content: ''; display: block; width: 20px; height: 1px; background: var(--ink-faint);
}
h1.page-title, h2.section-title {
  font-size: clamp(26px, 3.5vw, 40px); font-weight: 300;
  letter-spacing: -0.8px; line-height: 1.2; margin-bottom: 20px;
}
h1.page-title strong, h2.section-title strong { font-weight: 600; }
.section-sub {
  font-size: 16px; color: var(--ink-mid); line-height: 1.8;
  max-width: 560px; margin-bottom: 48px;
}

/* ─── PAGE HEADER ─── */
.page-header {
  padding: 64px 48px 48px;
  border-bottom: 1px solid var(--rule);
}

/* ─── DIENST PAGINA ─── */
.dienst-hero {
  padding: 80px 48px 64px;
  border-bottom: 1px solid var(--rule);
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: start;
}
.dienst-hero-img { width: 100%; aspect-ratio: 16/10; overflow: hidden; background: var(--surface); }
.dienst-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 14px; margin: 32px 0; }
.feature-list li {
  display: flex; gap: 14px; align-items: flex-start;
  font-size: 15px; color: var(--ink-mid); line-height: 1.6;
}
.feature-list li::before {
  content: ''; display: block; width: 1px; min-height: 20px;
  background: var(--ink); margin-top: 4px; flex-shrink: 0;
}
.callout {
  background: var(--surface); border-left: 2px solid var(--ink);
  padding: 20px 24px; margin: 32px 0;
}
.callout p { font-size: 14px; color: var(--ink-mid); line-height: 1.7; }
.callout strong { color: var(--ink); font-weight: 600; }
.cert-row { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 32px; }
.cert-badge {
  border: 1px solid var(--rule); padding: 10px 16px;
  font-size: 12px; color: var(--ink-mid); letter-spacing: 0.5px;
}
.accent-box {
  background: var(--accent-light); border-left: 2px solid var(--accent);
  padding: 20px 24px; margin: 24px 0;
}
.accent-box p { font-size: 14px; color: #7a4e1a; line-height: 1.7; }

/* ─── VIERLUIK GRID ─── */
.quad-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--rule);
}
.quad-cell {
  padding: 32px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.quad-cell:nth-child(even) { border-right: none; }
.quad-tag { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 12px; }
.quad-title { font-size: 16px; font-weight: 500; margin-bottom: 8px; }
.quad-cell p { font-size: 14px; color: var(--ink-mid); line-height: 1.7; }

/* ─── STAPPEN ─── */
.steps-grid {
  display: grid; grid-template-columns: repeat(4,1fr);
  border-top: 1px solid var(--rule);
}
.step-cell { padding: 32px; border-right: 1px solid var(--rule); }
.step-cell:last-child { border-right: none; }
.step-nr { font-size: 32px; font-weight: 300; color: var(--rule); margin-bottom: 16px; }
.step-title { font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.step-cell p { font-size: 13px; color: var(--ink-mid); line-height: 1.7; }

/* ─── BERICHTEN ─── */
.bericht-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--rule);
}
.bericht-card {
  padding: 40px 48px;
  border-bottom: 1px solid var(--rule);
  border-right: 1px solid var(--rule);
  transition: background .15s;
}
.bericht-card:nth-child(even) { border-right: none; }
.bericht-card:hover { background: var(--surface); }
.bericht-date { font-size: 11px; color: var(--ink-faint); letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 14px; }
.bericht-card h2 { font-size: 18px; font-weight: 500; letter-spacing: -0.3px; margin-bottom: 10px; line-height: 1.3; }
.bericht-card p { font-size: 14px; color: var(--ink-mid); line-height: 1.7; }
.bericht-read { font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--ink); margin-top: 20px; display: block; }

/* ─── ENKELVOUDIG BERICHT ─── */
.single-post { max-width: 720px; padding: 64px 48px; }
.single-post h1 { font-size: clamp(24px,3.5vw,38px); font-weight: 500; letter-spacing: -0.5px; margin-bottom: 20px; line-height: 1.25; }
.single-post .post-meta { font-size: 12px; color: var(--ink-faint); letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 40px; }
.single-post .post-content p { font-size: 16px; color: var(--ink-mid); line-height: 1.85; margin-bottom: 20px; }
.single-post .post-content h2 { font-size: 22px; font-weight: 500; margin: 36px 0 12px; }
.single-post .post-content ul { margin: 12px 0 20px 20px; }
.single-post .post-content ul li { font-size: 15px; color: var(--ink-mid); line-height: 1.8; margin-bottom: 6px; }

/* ─── PRIVACY ─── */
.prose { max-width: 720px; padding: 64px 48px; }
.prose h3 { font-size: 17px; font-weight: 600; margin: 36px 0 12px; }
.prose p { font-size: 15px; color: var(--ink-mid); line-height: 1.8; margin-bottom: 16px; }
.prose ul { margin: 12px 0 16px 20px; }
.prose ul li { font-size: 15px; color: var(--ink-mid); line-height: 1.8; margin-bottom: 6px; }

/* ─── CTA SECTIE ─── */
.cta-section {
  padding: 80px 48px;
  border-top: 1px solid var(--rule);
  text-align: center;
}
.cta-pre { font-size: 13px; color: var(--ink-faint); margin-bottom: 24px; }

/* ─── FOOTER ─── */
.site-footer {
  background: var(--brand-navy-dark);
  padding: 48px; display: flex;
  align-items: flex-start; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
}
.footer-logo img { height: 40px; width: auto; opacity: 0.85; margin-bottom: 10px; }
.footer-tagline { font-size: 12px; color: #555; line-height: 1.6; max-width: 280px; }
.footer-col-title {
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  color: #444; margin-bottom: 16px; font-weight: 400;
}
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: 13px; color: #555; transition: color .15s; }
.footer-links a:hover { color: #aaa; }
.footer-contact { display: flex; flex-direction: column; gap: 6px; }
.footer-contact span { font-size: 13px; color: #555; }
.footer-bottom {
  background: var(--brand-navy-deep);
  padding: 20px 48px 28px;
  border-top: 1px solid #1a2433;
  display: flex; justify-content: space-between; align-items: center;
}
.footer-bottom span { font-size: 12px; color: #444; }

/* ─── WIDGET SIDEBAR (WordPress standaard) ─── */
.widget-area { display: none; }

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .site-header { padding: 0 20px; }
  .burger { display: flex; }
  .main-nav { display: none; }
  .main-nav.open {
    display: flex;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--rule);
    padding: 8px 20px 20px;
    box-shadow: 0 8px 16px -8px rgba(0,0,0,0.08);
  }
  .main-nav.open ul {
    flex-direction: column; align-items: stretch;
    gap: 2px; width: 100%;
  }
  .main-nav.open ul > li > a {
    display: block; padding: 12px 4px;
    font-size: 14px; border-bottom: 1px solid var(--rule);
  }
  .main-nav.open ul > li:last-child > a {
    margin-top: 12px; text-align: center;
    border-bottom: none; padding: 12px 20px;
  }
  .hero, .section { padding-left: 20px; padding-right: 20px; }
  .hero { padding-top: 56px; padding-bottom: 48px; }
  .hero-eyebrow { margin-bottom: 24px; }
  .hero h1 { margin-bottom: 20px; }
  .hero-sub { margin-bottom: 32px; }
  .diensten-strip { grid-template-columns: 1fr; }
  .ds-item { border-right: none; border-bottom: 1px solid var(--rule); padding: 32px 20px; }
  .usp-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .over-grid, .contact-grid { grid-template-columns: 1fr; }
  .over-l, .over-r, .contact-l, .contact-r { padding: 40px 20px; border-right: none; }
  .over-r { border-top: 1px solid var(--rule); }
  .contact-r { border-top: 1px solid var(--rule); }
  .dienst-hero { grid-template-columns: 1fr; padding: 40px 20px; gap: 32px; }
  .bericht-grid { grid-template-columns: 1fr; }
  .bericht-card { border-right: none; padding: 32px 20px; }
  .quad-grid { grid-template-columns: 1fr; }
  .quad-cell { border-right: none; }
  .steps-grid { grid-template-columns: 1fr 1fr; }
  .step-cell:nth-child(even) { border-right: none; }
  .project-row { grid-template-columns: 1fr; gap: 4px; }
  .page-header { padding: 40px 20px 32px; }
  .dark-band { padding: 48px 20px; }
  .site-footer { padding: 32px 20px; }
  .footer-bottom { padding: 16px 20px 24px; flex-direction: column; gap: 8px; text-align: center; }
  .single-post, .prose { padding: 40px 20px; }
  .cta-section { padding: 56px 20px; }
  .contact-details { margin-top: 28px; }
}

@media (max-width: 600px) {
  .usp-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .step-cell { border-right: none; border-bottom: 1px solid var(--rule); }
  .hero-actions { flex-direction: column; align-items: flex-start; }
}
