:root{
  /* Layout */
  --radius: 14px;
  --shadow: 0 12px 30px rgba(15,23,42,0.08);
  --border: rgba(15,23,42,0.10);

  /* Colors */
  --bg-page: #f4f7fb;
  --bg-soft: #eef3fb;
  --bg-card: #ffffff;

  --hero-1: #c6c1c1;
  --hero-2: rgba(171, 167, 167, 0.95);

  --text-main: #0f172a;
  --text-muted: #475569;
  --text-invert: rgba(0, 0, 0, 0.92);

  --brand: #2563eb;
  --brand-soft: #dbeafe;

  --success: #16a34a;
  --warning: #d97706;

  --header-h: 72px;
}

*{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }

body{
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  background: var(--bg-page);
  color: var(--text-main);
}

a{ color: inherit; }


/* Container */
.container{
  max-width: 1150px;
  margin: 0 auto;
  padding: 10px 0px 0px;
}

/* Header */
header{
  background: #ffffff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 99;
}

.header-inner{
  max-width: 1200px;
  margin: 0 auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px;
}

.logo-container{
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  gap: 10px;
}

.logo{
  height: 50px;
  width: auto;
  border-radius: 10px;
}

.company-name{
  font-size: 1.55rem;
  font-weight: 450;
  letter-spacing: 0.6px;
  color: var(--text-main);
}



.menu-toggle{
  display: none;
  font-size: 2rem;
  cursor: pointer;
  background: none;
  border: none;
  color: var(--text-main);
  padding: 8px 10px;
  border-radius: 12px;
}

.menu-toggle:hover{
  background: rgba(15,23,42,0.06);
}

.nav ul{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 26px;
}

.nav ul li a{
  text-decoration: none;
  color: var(--text-main);
  opacity: 0.85;
  font-size: 1rem;
  padding: 8px 0;
  display: block;
  border-bottom: 2px solid transparent;
  transition: opacity 0.18s ease, border-color 0.18s ease;
}

.nav ul li a:hover{
  opacity: 1;
  border-bottom-color: rgba(37,99,235,0.45);
}

.nav ul li a.active{
  opacity: 1;
  border-bottom-color: var(--brand);
}

/* Scroll state */
header.is-scrolled{
  box-shadow: 0 10px 26px rgba(15,23,42,0.10);
}

/* Mobile hamburger */
@media (max-width: 650px){
  .menu-toggle{ display: block; }

  .nav{
    position: absolute;
    top: var(--header-h);
    left: 0;
    width: 100vw;
    background: #ffffff;
    border-bottom: 1px solid var(--border);
    display: none;
    z-index: 100;
    animation: slideDown 0.22s ease;
  }

  .nav ul{
    flex-direction: column;
    gap: 0;
    padding: 10px 0;
  }

  .nav ul li a{
    padding: 14px 22px;
    font-size: 1.05rem;
    border-bottom: 1px solid rgba(15,23,42,0.06);
  }

  .nav-open{ display: block !important; }

  @keyframes slideDown{
    from{ transform: translateY(-18px); opacity: 0.1; }
    to{ transform: translateY(0); opacity: 1; }
  }
}

/* Hero */

.hero{
  padding: 80px 0 70px;
  text-align: center;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.92), #102f52);
  color: #ffffff;
}
.section-after-hero{
  background: #f4f7fb;
  padding: 64px 0;
  position: relative;
}
.section-after-hero::before{
  content: "";
  position: absolute;
  top: -40px;
  left: 0;
  width: 100%;
  height: 40px;
}

.section-after-hero .service-card,
.section-after-hero .about-stats,
.section-after-hero .value,
.section-after-hero .timeline-panel{
  background: #ffffff;
  border: 1px solid rgba(15,23,42,0.08);
}
.section-after-hero h2{
  color: #0f172a;
}

.hero h1{
  font-size: clamp(2.2rem, 3vw, 3rem);
  margin: 0 0 12px 0;
  letter-spacing: 0.3px;
}

.hero p{
  font-size: 1.1rem;
  max-width: 720px;
  margin: 0 auto;
  opacity: 0.92;
  line-height: 1.7;
}

/* Page header */
.page-header{
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
  position: static;
}

.lead{
  font-size: 1.03rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin: 0px 0 0 0;
}

/* Buttons and inputs */
.cta-row{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 16px 0 0 0;
}

.btn-primary, .btn-secondary{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 800;
  border: 1px solid transparent;
}

.btn-primary{
  background: var(--brand);
  color: #fff;
  box-shadow: 0 8px 18px rgba(37,99,235,0.25);
}

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

.btn-secondary{
  background: var(--bg-soft);
  border-color: var(--border);
  color: var(--text-main);
}

.btn-secondary:hover{ filter: brightness(0.98); }

.btn-link{
  text-decoration: none;
  font-weight: 800;
  color: var(--brand);
}

.btn-link:hover{
  text-decoration: underline;
}

.tool-row{
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 12px;
  margin: 16px 0 0 0;
}

.input, .select{
  background: #ffffff;
  border: 1px solid var(--border);
  color: var(--text-main);
  border-radius: 12px;
  padding: 12px 12px;
  outline: none;
}

.input::placeholder{ color: rgba(71,85,105,0.75); }

@media (max-width: 980px){
  .tool-row{ grid-template-columns: 1fr; }
}

/* Projecten preview */
.projecten-preview{
  max-width: 1100px;
  margin: 26px auto 0 auto;
  padding: 0 24px 48px 24px;
  text-align: center;
}

.projecten-preview h2{
  font-size: 2rem;
  margin-bottom: 18px;
}

.projecten-row{
  display: flex;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.project-card{
  background: var(--bg-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  padding: 18px 14px 20px 14px;
  max-width: 320px;
  min-width: 240px;
  flex: 1 1 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.18s ease;
}

.project-card:hover{
  transform: translateY(-2px);
}

.project-card img{
  width: 100%;
  max-width: 280px;
  border-radius: 12px;
  margin-bottom: 12px;
  object-fit: cover;
  height: 160px;
}

.project-card h3{
  font-size: 1.12rem;
  margin: 8px 0 8px 0;
}

.project-card p{
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

.meer-projecten-btn{
  display: inline-block;
  background: var(--brand);
  color: #fff;
  padding: 12px 28px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.05rem;
  transition: filter 0.17s;
}

.meer-projecten-btn:hover{ filter: brightness(1.05); }

/* Diensten layout */
.services-layout{
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 18px;
  margin-top: 18px;
}

.services-nav{
  position: sticky;
  top: calc(var(--header-h) + 18px);
  align-self: start;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: var(--shadow);
}

.services-nav a{
  display: block;
  text-decoration: none;
  color: var(--text-muted);
  padding: 10px 10px;
  border-radius: 12px;
  transition: background 0.18s ease, color 0.18s ease;
}

.services-nav a:hover{
  background: rgba(37,99,235,0.08);
  color: var(--text-main);
}

.services-nav a.is-active{
  background: var(--brand-soft);
  color: var(--brand);
  border: 1px solid rgba(37,99,235,0.20);
}

.services-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.service-card{
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
  transition: transform 0.18s ease;
}

.service-card:hover{ transform: translateY(-2px); }

.service-card h2{
  font-size: 1.15rem;
  margin: 8px 0 10px 0;
}

.service-card p{
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}

.checklist{
  margin: 12px 0 0 0;
  padding-left: 18px;
  color: var(--text-muted);
}

.service-actions{ margin-top: 14px; }

.badge{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  border: none;
  margin-bottom: 10px;
}

.badge.badge-green{
  background: #dcfce7;
  color: var(--success);
}

.badge.badge-warn{
  background: #ffedd5;
  color: var(--warning);
}

@media (max-width: 980px){
  .services-layout{ grid-template-columns: 1fr; }
  .services-nav{ position: relative; top: auto; }
  .services-grid{ grid-template-columns: 1fr; }
}

/* FAQ */
.faq{
  margin-top: 28px;
}

.faq h2{
  margin: 0 0 14px 0;
}

.faq-item{
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 12px;
  box-shadow: var(--shadow);
}

.faq-item summary{
  cursor: pointer;
  font-weight: 900;
  color: var(--text-main);
}

.faq-item p{
  color: var(--text-muted);
  line-height: 1.65;
  margin: 10px 0 0 0;
}

/* CTA Box */
.final-cta{ margin-top: 22px; }

.cta-box{
  background: linear-gradient(135deg, rgba(37,99,235,0.10), rgba(37,99,235,0.04));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}

.cta-box h2{ margin: 0 0 10px 0; }

.cta-box p{
  margin: 0;
  color: var(--text-muted);
  line-height: 1.7;
}

.cta-box .cta-row{ margin-top: 14px; }

/* Footer */
/* VERVANG je huidige .site-footer blok door deze versie */
.site-footer{
  /* was: background: #0f2a44; */
  background-image: url("../static/pics/footerbg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  color: #ffffff;
  margin-top: 48px;
  position: relative;
  overflow: hidden;
}

/* TOEVOEGEN: overlay voor betere leesbaarheid */
.site-footer::before{
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.76); /* tint, pas eventueel 0.65-0.85 aan */
  /*background: linear-gradient(180deg, rgb(0, 0, 0), rgba(0, 0, 0, 0.69));*/
  z-index: 0;
}

/* TOEVOEGEN: zorg dat content boven de overlay blijft */
.footer-inner,
.footer-bottom{
  position: relative;
  z-index: 1;
}

/* REST van je CSS kan hetzelfde blijven */
.footer-inner{
  max-width: 1200px;
  margin: 0 auto;
  padding: 42px 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.site-footer h4{
  margin: 0 0 12px 0;
  font-size: 1.05rem;
}

.site-footer p{
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
}

.site-footer ul{
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer li{ margin: 10px 0; }

.site-footer a{
  color: #ffffff;
  text-decoration: none;
  opacity: 0.9;
}

.site-footer a:hover{
  opacity: 1;
  text-decoration: underline;
}

.footer-bottom{
  border-top: 1px solid rgba(255,255,255,0.18);
  padding: 16px 24px;
  text-align: center;
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
}

@media (max-width: 900px){
  .footer-inner{ grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 520px){
  .footer-inner{ grid-template-columns: 1fr; }
}

/* Over ons */
.about-hero{
  background: rgba(255,255,255,0.08);
  color: var(--text-invert);
  padding: 36px 0 24px;
}
.about-hero .btn-secondary{
  background: rgb(255, 255, 255);
  border: 1px solid rgb(255, 255, 255);
  color: rgba(0, 0, 0, 0.92);
}
.about-hero .btn-secondary:hover{
  background: rgba(223, 219, 219, 0.84);
}


.about-hero-inner{
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  align-items: start;
}

.about-hero-text h1{
  margin: 0 0 10px 0;
  font-size: 2.2rem;
}

.about-hero .lead{
  color: rgba(0, 0, 0, 0.92);
  margin-top: 0px;
}

.highlight{
  background: rgb(65, 106, 128);
  border: 1px solid rgb(65, 106, 128);
}
.about-highlights{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 16px;
}

.highlight{
  background: rgb(255, 255, 255);
  border: 1px solid rgb(255, 255, 255);
  border-radius: var(--radius);
  padding: 12px;
    margin-top: 30px;
}

.highlight-sub{
  opacity: 0.88;
  margin-top: 4px;
  font-size: 0.95rem;
  line-height: 1.4;
}

.about-hero-card{
    background: rgb(255, 255, 255);
  border: 1px solid rgb(255, 255, 255);
  color: rgba(0, 0, 0, 0.92);
  border-radius: var(--radius);
  padding: 16px;
}
.about-hero-card li{
  line-height: 1.65;
}

.about-card-title{
  font-weight: 900;
  margin-bottom: 25px;
    margin-top: 5px;
}

.about-bullets{
  margin: 0;
  padding-left: 18px;
  line-height: 1.7;
  opacity: 0.92;
    padding-bottom: 47px ;
}

.about-section{
  padding: 32px 0;
}

.about-section.alt{
  background: var(--bg-soft);
}

.section-grid{
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  align-items: start;
}

.values{
  margin-top: 16px;
  display: grid;
  gap: 12px;
}

.value{
  display: grid;
  grid-template-columns: 12px 1fr;
  gap: 10px;
  align-items: start;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px;
  box-shadow: var(--shadow);
}

.value-dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--brand);
  margin-top: 6px;
}

.muted{
  color: var(--text-muted);
  margin-top: 2px;
  line-height: 1.5;
}

.about-stats{
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}

.stat{
  padding: 12px 0;
  border-bottom: 1px solid rgba(15,23,42,0.06);
}

.stat:last-child{
  border-bottom: none;
}

.stat-number{
  font-size: 2rem;
  font-weight: 900;
  color: var(--brand);
  line-height: 1.1;
}

.stat-label{
  color: var(--text-muted);
  margin-top: 4px;
  line-height: 1.4;
}

.stat-note{
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Timeline */
.timeline{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 14px;
}

.timeline-item{
  appearance: none;
  border: 1px solid var(--border);
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 12px;
  box-shadow: var(--shadow);
  text-align: left;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.timeline-item:hover{
  transform: translateY(-1px);
  border-color: rgba(37,99,235,0.25);
}

.timeline-item.is-active{
  border-color: rgba(37,99,235,0.35);
  box-shadow: 0 14px 34px rgba(37,99,235,0.12);
}

.timeline-nr{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 900;
  margin-right: 8px;
}

.timeline-title{
  font-weight: 900;
}

.timeline-desc{
  display: block;
  margin-top: 6px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.4;
}

.timeline-panel{
  margin-top: 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}

.timeline-panel h3{
  margin: 0 0 8px 0;
}

@media (max-width: 980px){
  .about-hero-inner{ grid-template-columns: 1fr; }
  .about-highlights{ grid-template-columns: 1fr; }
  .section-grid{ grid-template-columns: 1fr; }
  .timeline{ grid-template-columns: 1fr; }
}

.hero-compact{
  padding: 56px 0 42px;
}

.hero-sub{
  margin: 10px 0 0 0;
  opacity: 0.9;
  line-height: 1.7;
  max-width: 760px;
}

.section-after-hero{
  background: #f4f7fb;
  padding: 56px 0;
}

.contact-grid{
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  align-items: start;
}

.contact-card{
  background: #ffffff;
  border: 1px solid rgba(15,23,42,0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
}

.contact-form{
  margin-top: 14px;
}

.form-row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.field label{
  display: block;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-main);
}

.textarea{
  resize: vertical;
  min-height: 140px;
}

.checkbox{
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-muted);
  line-height: 1.5;
}

.checkbox input{
  margin-top: 3px;
}

.form-actions{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.form-note{
  margin: 10px 0 0 0;
  color: var(--text-muted);
}

.form-note.is-error{ color: #b91c1c; }
.form-note.is-ok{ color: #166534; }

.info-list{
  display: grid;
  gap: 12px;
  margin-top: 10px;
}

.info-item{
  padding: 10px 12px;
  border: 1px solid rgba(15,23,42,0.06);
  border-radius: 12px;
  background: rgba(15,23,42,0.02);
}

.info-title{
  font-weight: 800;
  margin-bottom: 4px;
}

.info-link{
  text-decoration: none;
  color: var(--brand);
  font-weight: 800;
}

.info-link:hover{
  text-decoration: underline;
}

.divider{
  height: 1px;
  background: rgba(15,23,42,0.08);
  margin: 14px 0;
}

@media (max-width: 980px){
  .contact-grid{
    grid-template-columns: 1fr;
  }
  .form-row{
    grid-template-columns: 1fr;
  }
}
/* Projecten */
.projects-toolbar{
  display: grid;
  grid-template-columns: 1fr 240px auto;
  gap: 12px;
  align-items: center;
  margin-bottom: 16px;
}

.projects-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.project-card-v2{
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.project-media{
  width: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  display: block;
}

.project-media img{
  width: 100%;
  height: 230px;
  object-fit: cover; /* cards mogen gecropt zijn */
  display: block;
}

.project-body{
  padding: 16px;
}

.project-badges{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.project-card-v2 h2{
  margin: 0 0 10px 0;
  font-size: 1.15rem;
}

.project-card-v2 p{
  margin: 0;
  color: var(--text-muted);
  line-height: 1.65;
}

.project-card-v2 .checklist{
  margin-top: 12px;
}

/* Modal */
.modal{
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
}

.modal.is-open{
  display: block;
}

.modal-backdrop{
  position: absolute;
  inset: 0;
  background: rgba(2,6,23,0.6);
}

.modal-card{
  position: relative;
  max-width: 980px;
  margin: 5vh auto;
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(15,23,42,0.10);
  box-shadow: 0 24px 80px rgba(0,0,0,0.35);
}

/* Nieuwe wrapper voor slider + counter */
.modal-media{
  position: relative;
  background: #0b1220;
}

/* Belangrijk: in de modal niet croppen */
.modal-card img{
  width: 100%;
  height: min(70vh, 640px);
  object-fit: contain; /* geen zoom/crop */
  background: #0b1220;
  display: block;
}

/* Vorige/volgende knoppen */
.modal-nav{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(2,6,23,0.55);
  color: #ffffff;
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
  display: grid;
  place-items: center;
}

.modal-prev{ left: 12px; }
.modal-next{ right: 12px; }

.modal-counter{
  position: absolute;
  bottom: 10px;
  right: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(2,6,23,0.55);
  color: rgba(255,255,255,0.92);
  border: 1px solid rgba(255,255,255,0.18);
  font-weight: 700;
  font-size: 0.95rem;
}

.modal-body{
  padding: 14px 16px 18px 16px;
}

.modal-title{
  font-weight: 900;
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.modal-desc{
  color: var(--text-muted);
  line-height: 1.6;
}

.modal-close{
  position: absolute;
  top: 10px;
  right: 10px;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.3);
  background: rgba(2,6,23,0.55);
  color: #ffffff;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  z-index: 2; /* boven image */
}

.modal-close:hover{
  filter: brightness(1.1);
}

/* Responsive */
@media (max-width: 980px){
  .projects-toolbar{
    grid-template-columns: 1fr;
  }
  .projects-grid{
    grid-template-columns: 1fr;
  }
  .modal-card{
    margin: 6vh 14px;
  }
  .modal-card img{
    height: min(60vh, 420px);
  }
  .modal-prev{ left: 10px; }
  .modal-next{ right: 10px; }
}
/* Klik-indicatie project afbeeldingen */
.project-media{
  position: relative;
  overflow: hidden;
}

/* Subtiele zoom */
.project-media img{
  transition: transform 0.35s ease;
}

.project-media:hover img{
  transform: scale(1.04);
}

/* Overlay */
.media-overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(2,6,23,0.55),
    rgba(2,6,23,0.05)
  );
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 14px;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.project-media:hover .media-overlay{
  opacity: 1;
}

.media-label{
  background: rgba(255,255,255,0.92);
  color: #0f172a;
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
}

/* Meerdere-afbeeldingen icoon */
.media-multi{
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(2,6,23,0.65);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-size: 16px;
  border: 1px solid rgba(255,255,255,0.25);
  pointer-events: none;
}

/* Home additions (plak onderaan index.css) */
.hero-home{
  background: linear-gradient(180deg, var(--hero-1), var(--hero-2));
  color: var(--text-invert);
  padding: 70px 0 56px;
}

.hero-inner{
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  align-items: start;
}

.hero-copy h1{
  margin: 0 0 10px 0;
  font-size: 2.6rem;
}

.hero-lead{
  margin: 0;
  opacity: 0.92;
  line-height: 1.7;
  max-width: 760px;
}

.hero-points{
  margin-top: 16px;
  display: grid;
  gap: 10px;
}

.point{
  display: flex;
  gap: 10px;
  align-items: center;
  opacity: 0.92;
}

.point .dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.9);
}

.hero-card{
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius);
  padding: 16px;
}

.hero-card h2{
  margin: 0 0 8px 0;
  font-size: 1.15rem;
}

.home-section{
  padding: 44px 0;
}

.home-intro{
  margin-bottom: 14px;
}

.home-actions{
  display: flex;
  gap: 12px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.service-cards{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.service-card{
  text-decoration: none;
  background: #ffffff;
  border: 1px solid rgba(15,23,42,0.08);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: var(--shadow);
  color: var(--text-main);
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.service-card:hover{
  transform: translateY(-1px);
  border-color: rgba(37,99,235,0.25);
}

.service-title{
  font-weight: 900;
  margin-bottom: 6px;
}

.service-text{
  color: var(--text-muted);
  line-height: 1.55;
}

.service-meta{
  margin-top: 10px;
  color: var(--brand);
  font-weight: 800;
}

.split{
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  align-items: start;
}

.steps{
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

.step{
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  align-items: start;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px;
  box-shadow: var(--shadow);
}

.step-nr{
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand);
  display: grid;
  place-items: center;
  font-weight: 900;
}

.step-title{
  font-weight: 900;
  margin-bottom: 3px;
}

.stats-card{
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}

.stat{
  padding: 10px 0;
  border-bottom: 1px solid rgba(15,23,42,0.06);
}

.stat:last-child{
  border-bottom: none;
}

.stat-number{
  font-size: 2rem;
  font-weight: 900;
  color: var(--brand);
  line-height: 1.1;
}

.stat-label{
  color: var(--text-muted);
  margin-top: 4px;
  line-height: 1.4;
}

.projecten-row{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.project-card{
  display: block;
  text-decoration: none;
  background: #ffffff;
  border: 1px solid rgba(15,23,42,0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  color: var(--text-main);
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.project-card:hover{
  transform: translateY(-1px);
  border-color: rgba(37,99,235,0.25);
}

.project-card img{
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
}

.project-card h3{
  margin: 12px 14px 6px 14px;
  font-size: 1.05rem;
}

.project-card p{
  margin: 0 14px 12px 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.project-link{
  display: inline-block;
  margin: 0 14px 14px 14px;
  color: var(--brand);
  font-weight: 800;
}

@media (max-width: 980px){
  .hero-inner{
    grid-template-columns: 1fr;
  }
  .service-cards{
    grid-template-columns: 1fr;
  }
  .split{
    grid-template-columns: 1fr;
  }
  .projecten-row{
    grid-template-columns: 1fr;
  }
}
/* Home page additions, plak onderaan index.css */
.home-intro,
.home-services,
.home-steps,
.projecten-preview,
.home-cta{
  padding: 30px 0;
}

.section-head{
  margin-bottom: 14px;
}
.section-head h2{
  position: relative;
  display: inline-block;
  padding-bottom: 6px;
}

.section-head h2::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 36px;
  height: 3px;
  background: var(--brand);
  border-radius: 3px;
}

.lead{
  line-height: 1.7;
  max-width: 820px;
}

.muted{
  color: var(--text-muted);
  line-height: 1.65;
}

.intro-actions,
.home-actions,
.cta-row{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.intro-points{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.intro-point{
  background: #ffffff;
  border: 1px solid rgba(15,23,42,0.08);
  border-radius: var(--radius);
  padding: 12px;
  box-shadow: var(--shadow);
  font-weight: 800;
}

.service-cards{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.service-card{
  text-decoration: none;
  background: #ffffff;
  border: 1px solid rgba(15,23,42,0.08);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: var(--shadow);
  color: var(--text-main);
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.service-card:hover{
  transform: translateY(-1px);
  border-color: rgba(37,99,235,0.25);
}

.service-title{
  font-weight: 900;
  margin-bottom: 6px;
}

.service-text{
  color: var(--text-muted);
  line-height: 1.55;
}

.service-meta{
  margin-top: 10px;
  color: var(--brand);
  font-weight: 800;
}

.split{
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  align-items: start;
}

.steps{
  margin-top: 14px;
  display: grid;
  gap: 10px;
}

.step{
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  align-items: start;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px;
  box-shadow: var(--shadow);
}

.step-nr{
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand);
  display: grid;
  place-items: center;
  font-weight: 900;
}

.step-title{
  font-weight: 900;
  margin-bottom: 3px;
}

.stats-card{
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}

.stat{
  padding: 10px 0;
  border-bottom: 1px solid rgba(15,23,42,0.06);
}

.stat:last-child{
  border-bottom: none;
}

.stat-number{
  font-size: 2rem;
  font-weight: 900;
  color: var(--brand);
  line-height: 1.1;
}

.stat-label{
  color: var(--text-muted);
  margin-top: 4px;
  line-height: 1.4;
}

.projecten-row{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 12px;
}

.project-card{
  display: block;
  text-decoration: none;
  background: #ffffff;
  border: 1px solid rgba(15,23,42,0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  color: var(--text-main);
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.project-card:hover{
  transform: translateY(-1px);
  border-color: rgba(37,99,235,0.25);
}

.project-card img{
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
}

.project-card h3{
  margin: 12px 14px 6px 14px;
  font-size: 1.05rem;
}

.project-card p{
  margin: 0 14px 12px 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.project-link{
  display: inline-block;
  margin: 0 14px 14px 14px;
  color: var(--brand);
  font-weight: 800;
}

@media (max-width: 980px){
  .intro-points{
    grid-template-columns: 1fr;
  }
  .service-cards{
    grid-template-columns: 1fr;
  }
  .split{
    grid-template-columns: 1fr;
  }
  .projecten-row{
    grid-template-columns: 1fr;
  }
}
.hero-video-wrap{
  position: relative;
  height: clamp(320px, 55vh, 520px);
  overflow: hidden;
  padding: 0;
  background: #0b1220;
}

/* Video */
.hero-video{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;

  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: transform;
}

/* Shadow / dark overlay */
.hero-overlay{
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(0,0,0,0.12), rgba(0,0,0,0.38)),
    linear-gradient(180deg, rgba(2,6,23,0.45), rgba(2,6,23,0.55));
  z-index: 2;
}

/* Tekst */
.hero-content{
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 72px 24px 64px;
}

.hero-content h1{
  font-size: clamp(2.2rem, 3vw, 3rem);
  margin-top: 60px;
}

.hero-content p{
  max-width: 720px;
  margin: 0 auto;
  opacity: 0.95;
}

/* Mobile */
@media (max-width: 650px){
  .hero-video-wrap{
    height: clamp(260px, 45vh, 400px);
  }

  .hero-content{
    padding: 56px 20px 48px;
  }
}
.section-divider{
  position: relative;
}

.section-divider::after{
  content: "";
  display: block;
  height: 1px;
  width: 100%;
  margin-top: 48px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(15,23,42,0.12),
    transparent
  );
}
.service-card,
.project-card,
.step,
.stats-card{
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(15,23,42,0.08);
}
.section-light{
  background: var(--bg-page);
}

.section-soft{
  background: var(--bg-soft);
}
/* =========================
   MOBILE FIX PACK (non-breaking)
   Plak onderaan index.css
   ========================= */

/* 1) Voorkom horizontale overflow (meest voorkomende oorzaak op mobiel) */
html, body{
  width: 100%;
  overflow-x: hidden;
}

img, video, iframe{
  max-width: 100%;
  height: auto;
  display: block;
}

/* 2) Container moet op mobiel side-padding krijgen (desktop blijft gelijk) */
.container{
  /* behoud je max-width, maar laat padding responsive zijn */
  padding-left: 24px;
  padding-right: 24px;
  box-sizing: border-box;
}

/* jouw huidige container had padding: 10px 0, die gaf 0 zijruimte op mobiel.
   Desktop blijft vrijwel hetzelfde, alleen iets netter qua zijruimte. */

/* 3) Header en menu: betere tap-area + geen rare iOS button styling */
.menu-toggle{
  appearance: none;
  -webkit-appearance: none;
  line-height: 1;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0;
}

/* 4) Belangrijk: 100vw veroorzaakt vaak overflow op iPhone (door scrollbar/safe-area)
      Zet mobile nav naar 100% zodat het niet breder wordt dan het scherm */
@media (max-width: 650px){
  .nav{
    width: 100%;
    left: 0;
    right: 0;
  }
}

/* 5) Mobile spacing: compacter, maar alleen op klein scherm */
@media (max-width: 650px){
  .container{
    padding-left: 16px;
    padding-right: 16px;
  }

  .header-inner{
    padding-left: 14px;
    padding-right: 14px;
  }

  .company-name{
    font-size: 1.25rem;
  }

  /* Buttons onder elkaar wanneer er weinig breedte is */
  .cta-row{
    display: grid;
    gap: 12px;
  }
  .cta-row a{
    width: 100%;
    text-align: center;
  }

  /* Over ons heading mag nooit buiten beeld vallen */
  .about-hero-text h1,
  .section-head h2,
  h1, h2{
    word-break: break-word;
    overflow-wrap: anywhere;
  }
}

/* 6) Extra: elementen met grid/flex mogen niet breder worden door lange content */
.services-grid,
.projects-grid,
.projecten-row,
.hero-inner,
.about-hero-inner,
.section-grid,
.contact-grid,
.projects-toolbar{
  min-width: 0;
}

.service-card,
.project-card,
.project-card-v2,
.about-hero-card,
.page-header,
.contact-card,
.stats-card{
  min-width: 0;
}
/* FIX: hamburger alleen op mobiel, desktop blijft zoals nu */
.menu-toggle{
  display: none;            /* desktop: verbergen */
  appearance: none;
  -webkit-appearance: none;
  line-height: 1;
}

/* desktop navigatie blijft zichtbaar */
@media (min-width: 651px){
  .nav{ display: block !important; }
}

/* mobiel: hamburger aan, nav dropdown */
@media (max-width: 650px){
  .menu-toggle{
    display: grid;          /* mobiel: tonen */
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
  }

  .nav{
    width: 100%;            /* geen 100vw, voorkomt overflow */
    left: 0;
    right: 0;
  }
}
/* menu-toggle: default blijft hidden, alleen styling hier */
.menu-toggle{
  appearance: none;
  -webkit-appearance: none;
  line-height: 1;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 0;
  /* BELANGRIJK: geen display hier */
}
html, body{
  overflow-x: hidden;
  overscroll-behavior-y: none;
}
/* Projecten preview, mobiel centreren */
@media (max-width: 650px){
  .projecten-row{
    grid-template-columns: 1fr;
    justify-items: center;   /* centreert de cards */
  }

  .project-card{
    width: 100%;
    max-width: 420px;        /* zorgt dat hij niet te breed wordt */
  }

  /* Tekst in card centreren, je gebruikt margins links/rechts */
  .project-card h3,
  .project-card p,
  .project-link{
    text-align: center;
  }

  .project-link{
    display: block;
  }
}
@media (max-width: 650px){
  .project-card img{
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
}
.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0f2a44;
  color: #ffffff;
  text-align: center;
}

.error-container {
  max-width: 480px;
  padding: 32px;
}

.error-container h1 {
  font-size: 5rem;
  margin-bottom: 8px;
}

.error-container h2 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.error-container p {
  opacity: 0.9;
  margin-bottom: 24px;
}


html, body{
  height: 100%;
}

body{
  overflow: hidden; /* body zelf niet meer scrollen */
}

/* De echte scroll container */
#pageScroll{
  height: 100dvh;               /* beter dan 100vh op mobiel */
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: none;     /* werkt hier beter dan op body */
}
