/* EEA Engineering — Light/Dark mode goed werkend */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --teal: #2dd4bf;
  /* Light mode (default) */
  --bg: #ffffff;
  --bg-alt: #f5f5f3;
  --fg: #111111;
  --fg-soft: #444;
  --border: #e5e5e2;
  --muted: #888;
  /* Side nav kleuren: witte sidebar in light mode */
  --side-bg: #ffffff;
  --side-border: rgba(0,0,0,0.08);
  --side-link: rgba(0,0,0,0.5);
  --side-email: rgba(0,0,0,0.4);
  --logo-filter: none;
  /* Topbar tekst in light mode is donker (wordt op donkere hero overschreven) */
  --topbar-fg: #111;
  --hamb-bg: #111;
  --nav-w: 200px;
  /* Page hero kleuren (subpagina's) */
  --p-hero-bg: #f5f5f3;
  --p-hero-fg: #111;
  --p-hero-fg-soft: rgba(0,0,0,0.6);
  --p-hero-overlay: linear-gradient(to bottom, rgba(245,245,243,0.3), rgba(245,245,243,0.8));
  --p-hero-bg-opacity: 0.4;
}

body.dark {
  --bg: #0e0e0e;
  --bg-alt: #161616;
  --fg: #f0f0ee;
  --fg-soft: #cccccc;
  --border: #2a2a2a;
  --muted: #888;
  --side-bg: #0e0e0e;
  --side-border: rgba(255,255,255,0.08);
  --side-link: rgba(255,255,255,0.5);
  --side-email: rgba(255,255,255,0.35);
  --logo-filter: brightness(0) invert(1);
  --topbar-fg: #fff;
  --hamb-bg: #fff;
  --p-hero-bg: #0a0a0a;
  --p-hero-fg: #fff;
  --p-hero-fg-soft: rgba(255,255,255,0.6);
  --p-hero-overlay: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.75));
  --p-hero-bg-opacity: 0.3;
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--fg);
  overflow-x: hidden;
  transition: background 0.3s, color 0.3s;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { border: 0; cursor: pointer; font-family: inherit; background: none; color: inherit; }

/* TOPBAR — kleur past zich aan aan thema */
.topbar { position: fixed; top: 0; right: 0; z-index: 100; display: flex; align-items: center; gap: 1.5rem; padding: 1.5rem 2rem; }
.mode-btn { display: flex; align-items: center; gap: 0.4rem; color: var(--topbar-color, #fff); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.85; transition: opacity 0.2s, color 0.3s; white-space: nowrap; }
.mode-btn:hover { opacity: 1; }
.hamb { display: flex; flex-direction: column; gap: 5px; padding: 4px; }
.hamb span { display: block; width: 26px; height: 2px; background: var(--topbar-color, #fff); }

/* SIDE NAV — in light mode wit, in dark mode zwart */
.side {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  width: var(--nav-w);
  z-index: 90;
  padding: 1.5rem 0.8rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: transparent;
  border-right: none;
  transition: background 0.3s;
  pointer-events: none;
}
.side > * { pointer-events: all; }
.side-logo {
  display: block;
  padding: 0 0.2rem;
}
.side-logo img {
  width: 100% !important;
  height: auto !important;
  display: block;
  filter: var(--logo-filter);
  transition: filter 0.3s;
}
.side-logo span {
  display: none;
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--fg);
}
.side-nav { list-style: none; display: flex; flex-direction: column; gap: 1.3rem; }
.side-nav a {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--side-link);
  transition: color 0.2s;
}
.side-nav a:hover, .side-nav a.active { color: var(--teal); }
.side-email {
  font-size: 0.6rem;
  color: var(--side-email);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  letter-spacing: 0.08em;
}


/* HERO LOGO — linksboven in de hero */
.hero-logo {
  position: absolute;
  top: 1.5rem;
  left: 2rem;
  z-index: 10;
  display: block;
}
.hero-logo img {
  height: 70px;
  width: auto;
  /* wit maken zodat het zichtbaar is op donkere hero */
  filter: brightness(0) invert(1);
  transition: opacity 0.2s;
}
.hero-logo:hover img { opacity: 0.8; }

/* Op subpagina's met lichte hero: logo donker */
body:not([data-page="home"]):not(.dark) .hero-logo img {
  filter: none;
}

/* MENU OVERLAY */
.menu { position: fixed; inset: 0; z-index: 200; visibility: hidden; opacity: 0; transition: opacity 0.3s, visibility 0.3s; display: flex; }
.menu.open { visibility: visible; opacity: 1; }
.menu-panel { width: 440px; max-width: 90vw; background: #fff; padding: 2rem 2.5rem; display: flex; flex-direction: column; overflow-y: auto; position: relative; transform: translateX(-20px); transition: transform 0.4s; }
.menu.open .menu-panel { transform: translateX(0); }
.menu-panel::before { content: ''; position: absolute; inset: 0; background-image: url('images/blueprint-bg.png'); background-size: cover; opacity: 0.06; pointer-events: none; }
.menu-dim { flex: 1; background: rgba(0,0,0,0.55); }
.menu-close { align-self: flex-start; font-size: 1.7rem; color: #111; margin-bottom: 2rem; position: relative; z-index: 1; }
.menu-links { list-style: none; position: relative; z-index: 1; flex: 1; }
.menu-links li { border-bottom: 1px solid #e5e5e2; }
.menu-links a { display: flex; justify-content: space-between; align-items: center; padding: 1rem 0; font-size: 1.5rem; font-weight: 700; text-transform: uppercase; color: #111; transition: color 0.2s; }
.menu-links a:hover { color: var(--teal); }
.menu-links a span { font-size: 0.9rem; opacity: 0.4; }
.menu-info { position: relative; z-index: 1; margin-top: 1.8rem; display: flex; flex-direction: column; gap: 0.3rem; font-size: 0.78rem; color: #666; }
.menu-social { position: relative; z-index: 1; margin-top: 1rem; display: flex; gap: 1rem; }
.menu-social a { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #888; }
.menu-social a:hover { color: var(--teal); }

/* MAIN */
.main { margin-left: var(--nav-w); }


/* Hero contact knop */
.hero-contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2.5rem;
  background: var(--teal);
  color: #000;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 1rem 2.5rem;
  border: none;
  transition: all 0.25s;
  align-self: flex-start;
}
.hero-contact-btn:hover {
  background: #fff;
  color: #000;
}

/* BUTTONS */
.btn { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--teal); color: #000; font-size: 0.82rem; font-weight: 700; padding: 0.8rem 1.7rem; transition: all 0.2s; }
.btn:hover { background: #26bfac; }
.btn-out { display: inline-flex; align-items: center; gap: 0.5rem; border: 2px solid var(--teal); color: var(--teal); font-size: 0.82rem; font-weight: 700; padding: 0.7rem 1.6rem; transition: all 0.2s; }
.btn-out:hover { background: var(--teal); color: #000; }
.btn-c { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--teal); color: var(--teal); display: inline-flex; align-items: center; justify-content: center; transition: all 0.2s; }
.btn-c:hover { background: var(--teal); color: #000; }
.btn-big { width: 130px; height: 130px; border-radius: 50%; background: rgba(0,0,0,0.35); backdrop-filter: blur(4px); border: 2.5px solid var(--teal); color: var(--teal); display: inline-flex; align-items: center; justify-content: center; font-size: 0.95rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; transition: all 0.25s; flex-shrink: 0; }
.btn-big:hover { background: var(--teal); color: #000; transform: scale(1.05); }

/* HERO — altijd donker */
.hero { min-height: 100vh; background: #111; position: relative; display: flex; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0.45; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(0,0,0,0.55), rgba(0,0,0,0.2)); }
.hero-grid { position: absolute; inset: 0; opacity: 0.04; background-image: linear-gradient(rgba(255,255,255,1) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,1) 1px, transparent 1px); background-size: 120px 120px; }
.hero-inner { position: relative; z-index: 2; width: 100%; padding: 6rem 4rem 5rem; display: flex; flex-direction: column; justify-content: flex-end; min-height: 100vh; }
.hero-sub { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.65); margin-bottom: 1.5rem; display: flex; align-items: center; gap: 0.5rem; }
.hero-sub::before { content: '·'; color: var(--teal); font-size: 1.2rem; }
.hero-title { font-size: clamp(2.5rem, 5vw, 5rem); font-weight: 900; line-height: 1.0; color: #fff; text-transform: uppercase; letter-spacing: -0.01em; }
.hero-right { display: flex; flex-direction: column; align-items: flex-end; justify-content: center; gap: 3rem; }
.hero-desc { display: block; font-size: 1.1rem; line-height: 1.7; color: rgba(255,255,255,0.88); max-width: 580px; text-align: left; font-weight: 400; margin-top: 2rem; }

/* Op hero (zwart): topbar tekst altijd wit */
.hero ~ .topbar,
body:not(.scrolled) .topbar { /* fallback */ }

/* INTRO */
.intro { background: var(--bg-alt); padding: 7rem 5rem 6rem; position: relative; overflow: hidden; text-align: center; }
.intro-bg { position: absolute; inset: 0; background-image: url('images/blueprint-bg.png'); background-size: cover; opacity: 0.05; }
.tag { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.5rem; display: inline-flex; align-items: center; gap: 0.4rem; position: relative; z-index: 1; }
.tag::before { content: '·'; color: var(--teal); font-size: 1rem; }
.intro-title { font-size: clamp(2rem, 4.5vw, 4.2rem); font-weight: 900; text-transform: uppercase; line-height: 1.05; letter-spacing: -0.02em; margin-bottom: 2rem; position: relative; z-index: 1; color: var(--fg); }
.intro-desc { font-size: 0.95rem; line-height: 1.75; color: var(--fg-soft); max-width: 520px; margin: 0 auto 2.5rem; position: relative; z-index: 1; }
.intro-img { width: 100%; height: 320px; object-fit: cover; margin-top: 3rem; position: relative; z-index: 1; }

/* CARDS */
.cards { background: var(--bg-alt); padding: 3rem 5rem 6rem; }
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--border); }
.card { padding: 3rem 2.5rem 3rem 0; border-right: 1px solid var(--border); }
.card:last-child { border-right: 0; padding-right: 0; }
.card:not(:first-child) { padding-left: 2.5rem; }
.card-ico { width: 50px; height: 50px; opacity: 0.4; margin-bottom: 1.8rem; color: var(--fg); }
.card-title { font-size: 1rem; font-weight: 800; text-transform: uppercase; line-height: 1.25; margin-bottom: 1rem; color: var(--fg); }
.card-desc { font-size: 0.84rem; line-height: 1.8; color: var(--fg-soft); margin-bottom: 1.8rem; }

/* FILOSOFIE — altijd donker */
.philo { background: #111; color: #fff; display: grid; grid-template-columns: 1fr 1fr; min-height: 65vh; }
.philo-left { padding: 6rem 4rem 6rem 5rem; display: flex; flex-direction: column; justify-content: center; }
.philo-tag { font-size: 0.68rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 1.5rem; display: inline-flex; align-items: center; gap: 0.4rem; }
.philo-tag::before { content: '·'; color: var(--teal); }
.philo-title { font-size: clamp(1.8rem, 3.5vw, 3rem); font-weight: 800; line-height: 1.15; margin-bottom: 2.5rem; color: #fff; }
.philo-photos { display: grid; grid-template-columns: 1fr 1fr; }
.philo-photo { position: relative; overflow: hidden; aspect-ratio: 1; }
.philo-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.philo-photo:hover img { transform: scale(1.04); }

/* PROCES */
.proces { background: var(--bg-alt); padding: 6rem 5rem; }
.proces .philo-tag { color: var(--muted); }
.proces-title { font-size: clamp(1.5rem, 2.8vw, 2.4rem); font-weight: 800; line-height: 1.2; max-width: 520px; margin-bottom: 1.5rem; color: var(--fg); }
.proces-desc { font-size: 0.9rem; line-height: 1.85; color: var(--fg-soft); max-width: 500px; margin-bottom: 2rem; }
.proces-body { display: grid; grid-template-columns: 1fr 1fr; margin-top: 4rem; border-top: 1px solid var(--border); }
.proces-img { overflow: hidden; min-height: 480px; }
.proces-img img { width: 100%; height: 100%; object-fit: cover; }
.proces-steps { background: var(--bg); padding: 2.5rem 3rem; border-left: 1px solid var(--border); }
.step { display: flex; gap: 1rem; padding: 1.3rem 0; border-bottom: 1px solid var(--border); }
.step:last-child { border-bottom: 0; }
.step-ico { width: 34px; height: 34px; flex-shrink: 0; opacity: 0.4; color: var(--fg); }
.step-h { font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 0.3rem; color: var(--fg); }
.step-p { font-size: 0.77rem; line-height: 1.65; color: var(--fg-soft); }

/* PAGE HERO — past zich aan thema aan */
.p-hero { background: var(--p-hero-bg); min-height: 55vh; display: flex; align-items: flex-end; padding: 5rem 5rem 4rem; position: relative; overflow: hidden; }
.p-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: var(--p-hero-bg-opacity); }
.p-hero-over { position: absolute; inset: 0; background: var(--p-hero-overlay); }
.p-hero-c { position: relative; z-index: 2; }
.p-hero-tag { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--p-hero-fg-soft); margin-bottom: 1rem; display: inline-flex; align-items: center; gap: 0.5rem; }
.p-hero-tag::before { content: '·'; color: var(--teal); }
.p-hero-t { font-size: clamp(2.5rem, 5vw, 4.8rem); font-weight: 900; text-transform: uppercase; line-height: 1.0; color: var(--p-hero-fg); }

/* DIENSTEN PAGINA */
.d-item { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; padding: 5rem; border-bottom: 1px solid var(--border); background: var(--bg); align-items: start; }
.d-item:nth-child(even) { background: var(--bg-alt); }
.d-num { font-size: 5rem; font-weight: 900; color: var(--border); line-height: 1; margin-bottom: 0.5rem; }
.d-title { font-size: 1.6rem; font-weight: 800; text-transform: uppercase; line-height: 1.2; margin-bottom: 1rem; color: var(--fg); }
.d-desc { font-size: 0.9rem; line-height: 1.85; color: var(--fg-soft); margin-bottom: 1.5rem; }
.d-list { list-style: none; margin-bottom: 2rem; display: flex; flex-direction: column; gap: 0.5rem; }
.d-list li { font-size: 0.85rem; color: var(--fg-soft); padding-left: 1.2rem; position: relative; }
.d-list li::before { content: '—'; position: absolute; left: 0; color: var(--teal); }
.d-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

/* PORTFOLIO */
.pf-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.pf-item { aspect-ratio: 3/4; position: relative; overflow: hidden; background: #111; }
.pf-img { width: 100%; height: 100%; object-fit: cover; opacity: 0.65; transition: all 0.5s; }
.pf-item:hover .pf-img { transform: scale(1.05); opacity: 0.4; }
.pf-info { position: absolute; inset: auto 0 0 0; padding: 2rem; background: linear-gradient(transparent, rgba(0,0,0,0.9)); opacity: 0; transform: translateY(10px); transition: all 0.4s; }
.pf-item:hover .pf-info { opacity: 1; transform: translateY(0); }
.pf-cat { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--teal); margin-bottom: 0.3rem; }
.pf-name { font-size: 1.2rem; font-weight: 700; color: #fff; }
.pf-year { font-size: 0.72rem; color: rgba(255,255,255,0.55); margin-top: 0.2rem; }

/* OVER ONS */
.over { display: grid; grid-template-columns: 1fr 1fr; }
.over-l { padding: 6rem 4rem 6rem 5rem; background: var(--bg); }
.over-r { padding: 6rem 5rem 6rem 4rem; background: #111; color: #fff; }
.over-tag { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--teal); margin-bottom: 1.2rem; display: inline-flex; align-items: center; gap: 0.4rem; }
.over-tag::before { content: '·'; }
.over-title { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; text-transform: uppercase; line-height: 1.2; margin-bottom: 1.5rem; color: var(--fg); }
.over-text { font-size: 0.9rem; line-height: 1.9; color: var(--fg-soft); margin-bottom: 1.2rem; }
.over-r .over-title { color: #fff; }
.over-r .over-text { color: rgba(255,255,255,0.7); }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 2.5rem; }
.stat-n { font-size: 2.8rem; font-weight: 900; color: var(--teal); line-height: 1; }
.stat-l { font-size: 0.65rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-top: 0.3rem; }
.team { padding: 5rem; background: var(--bg-alt); }
.team-tag { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--teal); margin-bottom: 0.8rem; display: inline-flex; align-items: center; gap: 0.4rem; }
.team-tag::before { content: '·'; }
.team-h { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; text-transform: uppercase; margin-bottom: 3rem; color: var(--fg); }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--border); }
.t-card { background: var(--bg); padding: 2.5rem 2rem; }
.t-av { width: 60px; height: 60px; border-radius: 50%; background: var(--border); display: flex; align-items: center; justify-content: center; margin-bottom: 1.2rem; }
.t-av svg { color: var(--muted); width: 28px; height: 28px; }
.t-n { font-size: 1rem; font-weight: 700; margin-bottom: 0.3rem; color: var(--fg); }
.t-r { font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal); margin-bottom: 0.7rem; }
.t-d { font-size: 0.82rem; line-height: 1.7; color: var(--fg-soft); }

/* BLOG */
.bg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--border); padding: 3rem 5rem 5rem; }
.bg-card { background: var(--bg); cursor: pointer; transition: background 0.2s; }
.bg-card:hover { background: var(--bg-alt); }
.bg-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.bg-body { padding: 1.8rem; }
.bg-cat { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--teal); margin-bottom: 0.5rem; }
.bg-t { font-size: 1.05rem; font-weight: 800; text-transform: uppercase; line-height: 1.3; margin-bottom: 0.7rem; color: var(--fg); }
.bg-e { font-size: 0.82rem; line-height: 1.7; color: var(--fg-soft); margin-bottom: 1rem; }
.bg-m { font-size: 0.7rem; color: var(--muted); }

/* CONTACT */
.ct-grid { display: grid; grid-template-columns: 1fr 1fr; }
.ct-l { padding: 6rem 4rem 6rem 5rem; background: #111; color: #fff; }
.ct-r { padding: 6rem 5rem 6rem 4rem; background: var(--bg-alt); }
.ct-l h2 { font-size: clamp(1.5rem, 3vw, 2.3rem); font-weight: 800; text-transform: uppercase; margin-bottom: 2.5rem; color: #fff; }
.ct-items { display: flex; flex-direction: column; gap: 1.4rem; }
.ct-item { display: flex; gap: 1rem; align-items: flex-start; }
.ct-ico { width: 38px; height: 38px; min-width: 38px; border: 1px solid rgba(255,255,255,0.15); display: flex; align-items: center; justify-content: center; }
.ct-l-tag { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--teal); margin-bottom: 0.2rem; }
.ct-v { font-size: 0.9rem; color: rgba(255,255,255,0.85); }
.ct-r h3 { font-size: 1.3rem; font-weight: 800; text-transform: uppercase; margin-bottom: 2rem; color: var(--fg); }
.fg { margin-bottom: 1.1rem; }
.fg label { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 0.4rem; }
.fg input, .fg textarea, .fg select { width: 100%; background: var(--bg); border: 1px solid var(--border); color: var(--fg); padding: 0.8rem 1rem; font-family: inherit; font-size: 0.88rem; outline: none; transition: border-color 0.2s; }
.fg input:focus, .fg textarea:focus, .fg select:focus { border-color: var(--teal); }
.fg textarea { min-height: 120px; resize: vertical; }
.fg-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.fg-check { display: flex; gap: 0.7rem; align-items: flex-start; margin-bottom: 1.5rem; }
.fg-check input { min-width: 15px; margin-top: 3px; accent-color: var(--teal); }
.fg-check label { font-size: 0.78rem; color: var(--muted); line-height: 1.6; }

/* FOOTER */
footer { background: var(--bg); border-top: 1px solid var(--border); padding: 4rem 5rem; display: grid; grid-template-columns: 2fr 1fr 1.2fr; gap: 4rem; }
.f-name { font-size: 1.8rem; font-weight: 900; letter-spacing: -0.02em; margin-bottom: 1rem; display: block; color: var(--fg); }
.f-desc { font-size: 0.82rem; line-height: 1.8; color: var(--muted); max-width: 240px; margin-bottom: 1.5rem; }
.f-soc { display: flex; gap: 0.7rem; }
.f-soc a { width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 0.7rem; font-weight: 700; color: var(--muted); transition: all 0.2s; }
.f-soc a:hover { border-color: var(--teal); color: var(--teal); }
.f-col h4 { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--teal); margin-bottom: 1.2rem; }
.f-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.f-col ul a { font-size: 0.82rem; color: var(--muted); transition: color 0.2s; }
.f-col ul a:hover { color: var(--fg); }
.f-col p { font-size: 0.82rem; color: var(--muted); line-height: 2; }
.f-btm { background: var(--bg); border-top: 1px solid var(--border); padding: 1.2rem 5rem; display: flex; justify-content: space-between; font-size: 0.75rem; color: var(--muted); }

/* WhatsApp */
.wa-btn { position: fixed; bottom: 2rem; right: 2rem; width: 52px; height: 52px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; z-index: 60; transition: transform 0.2s; box-shadow: 0 4px 12px rgba(37,211,102,0.4); }
.wa-btn:hover { transform: scale(1.1); }
.wa-btn svg { width: 28px; height: 28px; fill: #fff; }



/* Topbar kleur per pagina/thema */
body:not([data-page="home"]):not(.dark) { --topbar-color: #111; }
body:not([data-page="home"]).dark { --topbar-color: #fff; }
body[data-page="home"] { --topbar-color: #fff; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .side { display: none; }
  .main { margin-left: 0; }
  .hero-inner { grid-template-columns: 1fr; padding: 6rem 1.5rem 4rem; gap: 2rem; }
  .hero-right { align-items: flex-start; }
  .hero-title { font-size: clamp(2rem, 9vw, 3.2rem); line-height: 1.05; word-break: break-word; }
  .hero-desc { font-size: 1rem; line-height: 1.65; max-width: 100%; margin-top: 1.5rem; padding-right: 1rem; }
  .btn-big { width: 110px; height: 110px; font-size: 0.85rem; }
  .intro, .cards, .proces, .team { padding: 4rem 2rem; }
  .cards-grid { grid-template-columns: 1fr; border: 0; }
  .card { border-right: 0; padding: 2rem 0; border-bottom: 1px solid var(--border); }
  .card:not(:first-child) { padding-left: 0; }
  .philo { grid-template-columns: 1fr; }
  .philo-left { padding: 4rem 2rem; }
  .philo-photos { grid-template-columns: 1fr 1fr; }
  .proces-body { grid-template-columns: 1fr; }
  .p-hero { padding: 6rem 2rem 3rem; }
  .d-item { grid-template-columns: 1fr; gap: 2rem; padding: 4rem 2rem; }
  .pf-grid { grid-template-columns: 1fr 1fr; }
  .over { grid-template-columns: 1fr; }
  .over-l, .over-r { padding: 4rem 2rem; }
  .team-grid { grid-template-columns: 1fr; }
  .bg-grid { grid-template-columns: 1fr; padding: 2rem; }
  .ct-grid { grid-template-columns: 1fr; }
  .ct-l, .ct-r { padding: 4rem 2rem; }
  footer { grid-template-columns: 1fr 1fr; padding: 3rem 2rem; gap: 2rem; }
  .f-btm { flex-direction: column; gap: 0.5rem; padding: 1.2rem 2rem; }
}
@media (max-width: 580px) {
  .pf-grid { grid-template-columns: 1fr; }
  .philo-photos { grid-template-columns: 1fr; }
  .fg-row { grid-template-columns: 1fr; }
  footer { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  /* btn-c op telefoon iets groter */
  .btn-c { width: 48px; height: 48px; }
  .hero { padding: 0; }
  .hero-inner { padding: 5rem 1.2rem 3rem; gap: 1.5rem; }
  .hero-title { font-size: 2.2rem; line-height: 1.05; }
  .hero-sub { font-size: 0.62rem; letter-spacing: 0.15em; }
  .hero-desc { font-size: 0.95rem; padding-right: 0; }
  .btn-big { width: 100px; height: 100px; font-size: 0.78rem; }
  .topbar { padding: 1rem 1.2rem; gap: 1rem; }
  .mode-btn { font-size: 0.6rem; }
  .p-hero-t { font-size: 2.2rem; }
  .intro-title { font-size: 1.8rem; }
  .filosofie__title, .philo-title { font-size: 1.6rem; }
  .proces-title { font-size: 1.4rem; }
}
