/* ============ Basis ============ */
:root{
  --bg: #ffffff;
  --bg-soft: #f5f5f6;
  --text: #1f2328;
  --muted: #5b616b;
  --card: #ffffff;
  --border: rgba(31,35,40,.10);
  --shadow: 0 10px 30px rgba(0,0,0,.08);
  --radius: 18px;

  /* Accentkleur voor CTA */
  --accent: #111827; /* kan later naar merk-kleur */
  --accentText: #ffffff;

  --container: 1400px;
}

*{ box-sizing:border-box; }
html, body{ height:100%; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
}

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

.container{
  width: min(var(--container), calc(100% - 2rem));
  margin-inline: auto;
}

/* ============ Navigatie ============ */
.header{
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background .25s ease, box-shadow .25s ease, border-color .25s ease;
  background: transparent;
  border-bottom: 1px solid transparent;
}

.header.scrolled{
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 20px rgba(0,0,0,.06);
  border-bottom-color: var(--border);
}

.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: .9rem 0;
}

.brand{
  display:flex;
  gap:.75rem;
  align-items:center;
  font-weight: 800;
  letter-spacing: .2px;
}

.brand img{
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.nav-links{
  display:flex;
  gap: 1rem;
  align-items:center;
}

.nav-links a{
  padding: .55rem .7rem;
  border-radius: 999px;
  color: rgba(31,35,40,.85);
  transition: background .15s ease, color .15s ease;
  font-weight: 650;
  font-size: .95rem;
}

.nav-links a:hover{
  background: rgba(17,24,39,.06);
  color: var(--text);
}

.nav-cta{
  display:flex;
  gap:.6rem;
  align-items:center;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.5rem;
  padding: .8rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--card);
  font-weight: 750;
  cursor: pointer;
}

.btn.primary{
  background: var(--accent);
  color: var(--accentText);
  border-color: transparent;
}

.btn.primary:hover{ filter: brightness(.95); }

/* Hamburger */
.burger{
  display:none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.75);
  backdrop-filter: blur(10px);
  align-items:center;
  justify-content:center;
  cursor:pointer;
}

.burger span{
  width: 18px;
  height: 2px;
  background: var(--text);
  display:block;
  position:relative;
}
.burger span::before,
.burger span::after{
  content:"";
  width:18px;
  height:2px;
  background: var(--text);
  position:absolute;
  left:0;
}
.burger span::before{ top:-6px; }
.burger span::after{ top:6px; }

.mobile-panel{
  display:none;
  position: fixed;
  top: 72px;
  left: 1rem;
  right: 1rem;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: .75rem;
  z-index: 60;
}

.mobile-panel a{
  display:block;
  padding: .9rem .9rem;
  border-radius: 12px;
  font-weight: 750;
  color: rgba(31,35,40,.9);
}
.mobile-panel a:hover{ background: rgba(17,24,39,.06); }

.mobile-panel .btn{
  width:100%;
  margin-top:.5rem;
}

/* ============ HERO ============ */
.hero{
  min-height: 100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding-top: 84px; /* ruimte voor fixed header */
  background:
    radial-gradient(1200px 600px at 50% 0%, rgba(17,24,39,.06), transparent 55%),
    linear-gradient(180deg, var(--bg-soft), var(--bg));
}

.hero-inner{
  text-align:center;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap: 1.1rem;
  padding: 2rem 0 3rem;
}

.hero-logo{
  width: 300px;
  height: auto;
  filter: drop-shadow(0 18px 28px rgba(0,0,0,.12));
  user-select:none;
  -webkit-user-drag:none;
}

.hero-title{
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  line-height: 1.15;
  margin: 0;
  max-width: 40ch;
}

.hero-sub{
  margin: 0;
  color: var(--muted);
  max-width: 75ch;
  font-size: 1.05rem;
}

.hero-actions{
  display:flex;
  gap: .75rem;
  align-items:center;
  justify-content:center;
  flex-wrap: wrap;
  margin-top: .2rem;
}

/* ============ Secties ============ */
.section{
  padding: 4.25rem 0;
}

.section.alt{
  background: linear-gradient(180deg, var(--bg), var(--bg-soft));
}

.section-title{
  font-size: 1.6rem;
  margin: 0 0 .8rem;
}
.section-lead{
  color: var(--muted);
  margin: 0 0 1.75rem;
  max-width: 70ch;
}

.grid{
  display:grid;
  gap: 1rem;
}
.grid.cols-3{ grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid.cols-2{ grid-template-columns: repeat(2, minmax(0,1fr)); }

.card{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.15rem;
  box-shadow: 0 8px 26px rgba(0,0,0,.05);
}

.card h3{ margin: 0 0 .4rem; }
.card p{ margin: 0; color: var(--muted); }

/* Simple badges */
.badge-row{ display:flex; flex-wrap:wrap; gap:.5rem; margin-top:.8rem;}
.badge{
  display:inline-flex;
  padding: .35rem .6rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-weight: 700;
  font-size: .85rem;
  color: rgba(31,35,40,.85);
  background: rgba(255,255,255,.7);
}

/* CTA band */
.cta-band{
  background: var(--accent);
  color: var(--accentText);
  border-radius: calc(var(--radius) + 10px);
  padding: 2.2rem;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 1rem;
}
.cta-band p{ margin: 0; opacity: .9; }
.cta-band .btn{
  background: var(--accentText);
  color: var(--accent);
  border-color: transparent;
  font-weight: 850;
}

/* Forms */
.form{
  display:grid;
  gap: .8rem;
}
.field{
  display:grid;
  gap: .35rem;
}
label{ font-weight: 750; }
input, textarea{
  width: 100%;
  padding: .85rem .95rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.85);
  font: inherit;
}
textarea{ min-height: 140px; resize: vertical; }

/* Footer */
.footer{
  padding: 2.5rem 0;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: .95rem;
}

/* ============ Responsive ============ */
@media (max-width: 900px){
  .grid.cols-3{ grid-template-columns: 1fr; }
  .grid.cols-2{ grid-template-columns: 1fr; }
  .hero-logo{ width: 220px; }
  .cta-band{ flex-direction: column; align-items:flex-start; }
}

@media (max-width: 760px){
  .nav-links, .nav-cta{ display:none; }
  .burger{ display:inline-flex; }
}
/* Case cards met foto's */
.card.case { overflow: hidden; }

.case-cover{
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  margin: .5rem 0 .75rem;
}

.case-gallery{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .5rem;
  margin-top: .75rem;
}

.case-gallery a{
  display: block;
  border-radius: 10px;
  overflow: hidden;
}

.case-gallery img{
  width: 100%;
  height: 78px;
  object-fit: cover;
  display: block;
  transition: transform .18s ease;
}

.case-gallery a:hover img{
  transform: scale(1.04);
}

#jeep{
  position: fixed;
  left: -120px;          /* start buiten beeld */
  top: 60%;
  width: 90px;           /* schaal naar wens */
  height: auto;
  z-index: 9999;
  pointer-events: none;  /* jeep blokkeert geen knoppen */
  user-select: none;
  will-change: transform;
}
/* Dust particles: mag NOOIT layout/hoogte beïnvloeden */
.dust{
  position: fixed;
  left: var(--x);
  top: var(--y);
  width: 10px;
  height: 10px;
  border-radius: 999px;
  pointer-events: none;
  z-index: 9998;
  filter: blur(.2px);
  opacity: .9;
  animation: dustPuff .55s ease-out forwards;
}

@keyframes dustPuff{
  0%   { transform: translate(0,0) scale(1); opacity: .9; }
  100% { transform: translate(calc(var(--x2) - var(--x)), calc(var(--y2) - var(--y))) scale(1.6); opacity: 0; }
}
.grid.cols-2.story{
  align-items: start;
  gap: 2rem;
}

.profile-photo{
  display: flex;
  justify-content: center;
}

.profile-photo img{
  width: 100%;
  max-width: 220px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

@media (max-width: 900px){
  .profile-photo img{
    max-width: 180px;
  }
}
/* ===== Mijn verhaal layout (tekst + foto per blok) ===== */
.story{
  display: grid;
  gap: 2rem;
}

.story-row{
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
  align-items: start;
}

.story-text p{
  margin-bottom: 1rem;
}

.story-media{
  height: 100%;
  display: flex;
  align-items: stretch;
}

.story-media img{
  width: 100%;
  height: 100%;
  max-height: 420px;   /* pas aan naar smaak */
  object-fit: cover;   /* crop netjes zonder vervormen */
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

/* mobiel: onder elkaar */
@media (max-width: 900px){
  .story-row{
    grid-template-columns: 1fr;
  }
}
#image-popup{
  display:none;
  position:fixed;
  z-index:9999;
  left:0;
  top:0;
  width:100%;
  height:100%;
  background:rgba(0,0,0,0.9);
  justify-content:center;
  align-items:center;
}

#image-popup img{
  max-width:90%;
  max-height:90%;
}

#image-popup .close{
  position:absolute;
  top:20px;
  right:40px;
  font-size:40px;
  color:white;
  cursor:pointer;
}