@font-face{
  font-family: "Rubik";
  src: url("../../font/Rubik-VariableFont_wght.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root{
  --bg: #f7f8fa;
  --surface: #ffffff;
  --surface-2: #f1f3f5;

  --text: #111827;
  --muted: #4b5563;

  --border: #d1d5db;
  --shadow: 0 10px 26px rgba(0,0,0,0.08);

  --brand: #0f766e;      /* teal */
  --brand-dark: #115e59; /* hover */
  --focus: #1d4ed8;      /* focus ring (WCAG vriendelijk) */

  --radius: 16px;
  --radius-sm: 12px;

  --max: 1120px;
  --pad: 18px;

  --h1: clamp(1.9rem, 5vw, 2.7rem);
  --h2: clamp(1.35rem, 3vw, 1.95rem);
  --h3: clamp(1.05rem, 2.2vw, 1.25rem);

  --lh: 1.6;
}

*{ box-sizing:border-box; }
html, body{ height:100%; }

body{
  margin:0;
  font-family: "Rubik", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: var(--lh);
}

img{ max-width:100%; display:block; }

a{
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 2px;
}
a:hover{ text-decoration-thickness: 2px; }
a:focus-visible{
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 8px;
}

button, input, textarea, select{ font: inherit; }
button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible{
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.container{
  width:min(var(--max), 100%);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.skip-link{
  position:absolute;
  left:-999px;
  top:0;
  background:#fff;
  color:#000;
  border:2px solid var(--border);
  padding:10px 12px;
  border-radius:10px;
  z-index:9999;
}
.skip-link:focus{ left:12px; top:12px; }

/* Header / Nav (polished) */
.header{
  position: sticky;
  top:0;
  z-index:50;
  background: rgba(255,255,255,0.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(10px);
}

.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding: 10px 0; /* compacter */
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
  color: var(--text);
  min-width: unset;           /* FIX: geen rare spacing */
}
.brand:hover{ text-decoration:none; }

.brand-mark{
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--border);
  flex: 0 0 auto;
  object-fit: cover;          /* voor <img class="brand-mark"> */
  background: var(--surface);
}

.brand-name{
  display:flex;
  flex-direction:column;
  line-height:1.15;
}
.brand-name strong{ font-size: 1.02rem; }
.brand-name span{ font-size: .88rem; color: var(--muted); }

.nav-toggle{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  cursor:pointer;
}
.nav-toggle:hover{ background: var(--surface-2); }

.nav-links{
  display:none;
  flex-direction:column;
  gap:6px;
  padding:12px;
  margin-bottom:14px;
  border:1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.nav-links a{
  padding:10px 12px;
  border-radius: 999px;   /* professional pill nav */
  text-decoration:none;
  color: var(--text);
  font-weight: 500;
}
.nav-links a:hover{ background: var(--surface-2); }
.nav-links a.active{
  background: rgba(15,118,110,0.10);
  border: 1px solid rgba(15,118,110,0.18);
}

.nav-cta{
  display:none;
  gap:12px;
  align-items:center;
}

/* Professionele iconen (SVG) i.p.v. emoji */
.icon{
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  color: var(--brand);
  display:inline-block;
}

.chip{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 12px;
  border-radius:999px;
  border:1px solid var(--border);
  background: rgba(255,255,255,0.80);
  color: var(--text);
  text-decoration:none;
  white-space:nowrap;
}
.chip:hover{ background: var(--surface-2); }
.chip small{ color: var(--muted); }

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding: 11px 14px; /* iets compacter */
  border-radius: 12px;
  border: 1px solid var(--brand);
  background: var(--brand);
  color: #fff;
  cursor:pointer;
  text-decoration:none;
}
.btn:hover{ background: var(--brand-dark); }

.btn.secondary{
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
}
.btn.secondary:hover{ background: var(--surface-2); }

/* Layout helpers */
.section{ padding: 18px 0; }
.section h2{ font-size: var(--h2); margin: 0 0 10px; }
.section p.lead{ margin: 0 0 16px; color: var(--muted); }

.grid{ display:grid; gap: 12px; }
.grid.cols-3{ grid-template-columns: 1fr; }
.grid.cols-2{ grid-template-columns: 1fr; }

.card{
  border:1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.card .pad{ padding:16px; }

.icon-line{
  display:flex;
  gap:12px;
  align-items:flex-start;
}
.icon-box{
  width:40px;
  height:40px;
  border-radius: 12px;
  border:1px solid var(--border);
  background: var(--surface-2);
  display:flex;
  align-items:center;
  justify-content:center;
}
.icon-box .icon{
  width: 20px;
  height: 20px;
}

.badges{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top: 12px;
}
.badge{
  padding: 7px 10px;
  border-radius:999px;
  border:1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  font-size: .95rem;
}

.list{
  margin:10px 0 0;
  padding-left: 18px;
  color: var(--muted);
}
.list li{ margin: 6px 0; }

.split{
  display:grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

/* Foto-achtergrond voor main (pas bestandsnaam aan) */
main{
  background:
    linear-gradient(rgba(247,248,250,0.92), rgba(247,248,250,0.92)),
    url("../img/neutrale_achtergrond.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Hero */
.hero{ padding: 18px 0 10px; }
.hero-card{
  border:1px solid var(--border);
  border-radius: calc(var(--radius) + 2px);
  overflow:hidden;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.hero-grid{ display:grid; grid-template-columns: 1fr; }
.hero-content{ padding: 18px; }
.hero-content h1{ margin:0 0 10px; font-size: var(--h1); letter-spacing:-0.01em; }
.hero-content p{ margin:0 0 16px; color: var(--muted); font-size: 1.02rem; }
.hero-actions{ display:flex; flex-wrap:wrap; gap: 10px; }

.kicker{
  display:inline-flex;
  gap:10px;
  align-items:center;
  margin-bottom: 10px;
  padding: 8px 10px;
  border-radius:999px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--muted);
  font-size: .95rem;
}

.hero-media{ min-height: 220px; background:#e5e7eb; }
.hero-media img{ width:100%; height:100%; object-fit: cover; }

/* Gallery */
.gallery{
  display:grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.gallery-item{
  border:1px solid var(--border);
  border-radius: var(--radius);
  overflow:hidden;
  background: var(--surface);
  cursor:pointer;
  text-decoration:none;
  color: inherit;
}
.gallery-item:hover{ background: var(--surface-2); }
.gallery-item img{ width:100%; height: 220px; object-fit: cover; }
.gallery-item .meta{ padding: 12px 14px; }
.gallery-item .meta strong{ display:block; margin-bottom:4px; }
.gallery-item .meta span{ color: var(--muted); font-size: .95rem; }

/* Modal */
.modal{
  position:fixed;
  inset:0;
  display:none;
  align-items:center;
  justify-content:center;
  padding:16px;
  background: rgba(17,24,39,0.55);
  z-index:100;
}
.modal.open{ display:flex; }
.modal-card{
  width:min(980px, 100%);
  border-radius: 18px;
  overflow:hidden;
  border:1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.modal-grid{ display:grid; grid-template-columns: 1fr; }
.modal-media img{ width:100%; height: 280px; object-fit: cover; }
.modal-content{ padding: 14px 16px 16px; }
.modal-head{
  display:flex;
  justify-content: space-between;
  gap:12px;
  align-items:flex-start;
}

.modal-close{
  width:42px;
  height:42px;
  border-radius:12px;
  border:1px solid var(--border);
  background: var(--surface);
  cursor:pointer;
}
.modal-close:hover{ background: var(--surface-2); }
.modal-content p{ margin: 8px 0 0; color: var(--muted); }

/* Forms */
.form{ display:grid; gap: 12px; }
.field label{ display:block; margin:0 0 6px; font-size: .95rem; }
.field input, .field textarea, .field select{
  width:100%;
  padding:12px;
  border-radius: 12px;
  border:1px solid var(--border);
  background:#fff;
  color: var(--text);
}
.field input:focus, .field textarea:focus, .field select:focus{
  border-color: var(--focus);
  box-shadow: 0 0 0 3px rgba(29,78,216,0.18);
  outline: none;
}
.field textarea{ min-height: 140px; resize: vertical; }

.two{ display:grid; grid-template-columns: 1fr; gap: 12px; }

/* Map */
.map{
  border:1px solid var(--border);
  border-radius: var(--radius);
  overflow:hidden;
  background:#fff;
}
.map iframe{ width:100%; height: 360px; border:0; }

/* Footer */
.footer{
  margin-top: 22px;
  border-top:1px solid var(--border);
  background: var(--surface);
  padding: 20px 0;
}
.footer-grid{
  display:grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.footer small{ color: var(--muted); }
.footer a{ color: var(--brand); }

/* Desktop enhancements */
@media (min-width: 768px){
  :root{ --pad: 22px; }

  .nav-toggle{ display:none; }

  .nav-links{
    display:flex !important;
    flex-direction: row;
    gap: 8px;
    padding:0;
    margin:0;
    border:none;
    background: transparent;
  }

  .nav-cta{ display:flex; }

  /* Enkel op laptop/desktop: logo groter */
  .brand-mark{
    width: 46px;
    height: 46px;
    border-radius: 14px;
  }

  .hero{ padding: 24px 0 14px; }
  .hero-grid{ grid-template-columns: 1.1fr 0.9fr; }
  .hero-media{ min-height: 420px; }
  .hero-content{ padding: 22px; }

  .grid.cols-3{ grid-template-columns: repeat(3, 1fr); }
  .grid.cols-2{ grid-template-columns: repeat(2, 1fr); }
  .split{ grid-template-columns: 1.05fr 0.95fr; }

  .two{ grid-template-columns: 1fr 1fr; }
  .gallery{ grid-template-columns: repeat(2, 1fr); }

  .modal-grid{ grid-template-columns: 1.15fr 0.85fr; }
  .modal-media img{ height: 100%; min-height: 420px; }

  .footer-grid{ grid-template-columns: 1.2fr 0.8fr; }
}

@media (min-width: 1024px){
  .gallery{ grid-template-columns: repeat(3, 1fr); }

  /* Nog iets groter op brede schermen */
  .brand-mark{
    width: 54px;
    height: 54px;
    border-radius: 16px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  *{ scroll-behavior: auto !important; }
}
.header{
  position: sticky;
  top: 0;
  z-index: 50;

  /* light smoked look */
  background: rgba(245, 246, 248, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  border-bottom: 1px solid rgba(209,213,219,0.9);
}

/* 2) Logo icoon: geen kader, enkel icoon, ~20% groter */
.brand-mark{
  /* geen kader meer */
  border: 0 !important;
  background: transparent !important;
  border-radius: 0 !important;

  /* icoon groter */
  width: 48px;   /* was 40px -> ~20% groter */
  height: 48px;
  object-fit: contain;

  /* optioneel: iets zachter (kan weg) */
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.10));
}

/* 3) Nog iets groter op laptop/desktop (blijft subtiel) */
@media (min-width: 768px){
  .brand-mark{
    width: 58px;
    height: 58px;
  }
}

/* mobiel: standaard dicht */
.nav-links{
  display: none;
}

/* JS togglet deze class */
.nav-links.open{
  display: flex;
}

/* desktop: altijd open */
@media (min-width: 768px){
  .nav-links{
    display: flex !important;
  }
}
/* screenreader-only */
.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;
}

/* hamburger */
.hamburger{
  width: 22px;
  height: 16px;
  display:inline-flex;
  flex-direction:column;
  justify-content:space-between;
}

.hamburger span{
  height: 2px;
  width: 100%;
  background: currentColor;
  border-radius: 999px;
}

/* nav button: maak het icoon dezelfde kleur als tekst (niet blauw) */
.nav-toggle{
  color: var(--text);
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.8);
}
.nav-toggle:hover{ background: var(--surface-2); }
/* Screenreader-only */
.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;
}

/* Header "light smoked" */
.header{
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(209,213,219,0.85);
}

/* Logo: geen kader, ~20% groter */
.brand-mark{
  width: 43px;      /* 36px * 1.2 ≈ 43px */
  height: 43px;
  border: 0;
  background: transparent;
  border-radius: 10px; /* mag, maar geen "badge" kader */
  object-fit: contain;
  display:block;
  flex: 0 0 auto;
}

/* Hamburger button */
.nav-toggle{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(209,213,219,0.9);
  background: rgba(255,255,255,0.55);
  cursor:pointer;
}
.nav-toggle:hover{ background: rgba(241,243,245,0.75); }

/* 3 lijntjes */
.hamburger{
  width: 20px;
  height: 14px;
  position: relative;
  display:inline-block;
}
.hamburger::before,
.hamburger::after{
  content:"";
  position:absolute;
  left:0;
  width:100%;
  height:2px;
  background: var(--text);
  border-radius: 2px;
}
.hamburger::before{ top:0; }
.hamburger::after{ bottom:0; }
.hamburger{
  background: var(--text);
  height:2px;
  border-radius:2px;
}

/* Nav links open/close via class */
.nav-links{ display:none; }
.nav-links.is-open{ display:flex; }

/* Desktop: altijd zichtbaar, toggle weg */
@media (min-width: 768px){
  .nav-toggle{ display:none; }
  .nav-links{
    display:flex !important;
    flex-direction: row;
    gap:6px;
    padding:0;
    margin:0;
    border:none;
    background: transparent;
  }
  /* Logo iets groter op desktop */
  .brand-mark{
    width: 52px;
    height: 52px;
  }
}
