/* ========================
   RESET & BASE
======================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --navy: #0d1b2a;
  --navy-light: #1a2e45;
  --orange: #e07508;
  --orange-dark: #c06200;
  --orange-light: #f5930f;
  --white: #ffffff;
  --light-gray: #f4f6f9;
  --gray: #5a6270;
  --text: #1e2a38;
  --font: 'Inter', sans-serif;
  --radius: 10px;
  --shadow: 0 2px 16px rgba(0,0,0,0.08);
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  min-width: 320px;
}

/* Skip link for keyboard / screen reader users */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--orange);
  color: var(--white);
  padding: 10px 18px;
  border-radius: 0 0 6px 6px;
  font-weight: 700;
  font-size: 0.9rem;
  z-index: 9999;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 0;
}

a {
  text-decoration: none;
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 4px;
}

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

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========================
   BUTTONS
======================== */
.btn {
  display: inline-flex;
  align-items: center;
  padding: 14px 28px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.15s;
  border: 2px solid transparent;
  white-space: nowrap;
  text-align: center;
}
.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}
.btn-primary:hover, .btn-primary:focus-visible {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover, .btn-outline:focus-visible {
  background: var(--white);
  color: var(--navy);
}

/* ========================
   LABELS & TITLES
======================== */
.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 1rem;
  color: var(--gray);
  max-width: 560px;
  line-height: 1.7;
}

/* ========================
   TOPBAR
======================== */
.topbar {
  background: var(--orange);
  color: var(--white);
  font-size: 0.82rem;
  padding: 8px 0;
}

.topbar .container {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
}

.topbar .container span:last-child {
  margin-left: auto;
  white-space: nowrap;
}

.topbar a {
  color: var(--white);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.topbar a:hover { opacity: 0.85; }

/* ========================
   NAVBAR
======================== */
.navbar {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}

.navbar .container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 68px;
  gap: 16px;
}

.logo {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.02em;
  white-space: nowrap;
  flex-shrink: 0;
}
.logo span { color: var(--orange); }

/* Desktop nav links */
.nav-links {
  display: flex;
  list-style: none;
  gap: 28px;
  margin: 0;
  justify-content: center;
}

.nav-links a {
  color: rgba(255,255,255,0.82);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 6px 2px;
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active { color: var(--orange); }

.nav-cta {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: flex-end;
}

.nav-phone {
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
}
.nav-phone:hover { color: var(--orange); }

/* Hamburger button — hidden on desktop */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.2s;
  transform-origin: center;
}

/* Animated X when open */
.nav-toggle.open span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* ========================
   HERO
======================== */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 80px 0 90px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(224,117,8,0.14) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

.hero-single {
  grid-template-columns: 1fr;
  max-width: 740px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(224,117,8,0.15);
  border: 1px solid rgba(224,117,8,0.35);
  color: var(--orange-light);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
}
.hero h1 span { color: var(--orange-light); }

.hero p {
  color: rgba(255,255,255,0.78);
  font-size: 1.05rem;
  margin-bottom: 36px;
  max-width: 540px;
  line-height: 1.7;
}

.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 48px;
  flex-wrap: wrap;
}

.stat { text-align: left; }
.stat-number {
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--orange-light);
}
.stat-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
}

/* ========================
   USP BAND
======================== */
.usp-band {
  background: var(--orange);
  padding: 18px 0;
}

.usp-band .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.usp-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  font-weight: 600;
  font-size: 0.88rem;
}
.usp-icon { font-size: 1.05rem; }

/* ========================
   SERVICES SECTION
======================== */
.services {
  padding: 88px 0;
  background: var(--light-gray);
}

.section-header {
  text-align: center;
  margin-bottom: 52px;
}
.section-header .section-sub { margin: 0 auto; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 26px;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
  border-top: 4px solid transparent;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 36px rgba(0,0,0,0.11);
  border-top-color: var(--orange);
}
.service-icon {
  font-size: 2.1rem;
  margin-bottom: 16px;
}
.service-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.service-card p {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.7;
}

/* ========================
   WHY US
======================== */
.why-us {
  padding: 88px 0;
  background: var(--white);
}

.why-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.why-visual {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: 18px;
  padding: 44px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.why-stat-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 18px;
}
.why-stat-num {
  font-size: 2rem;
  font-weight: 900;
  color: var(--orange-light);
  flex-shrink: 0;
}
.why-stat-label {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.4;
}

.why-list {
  list-style: none;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.why-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.5;
}
.why-check {
  width: 24px;
  height: 24px;
  background: rgba(224,117,8,0.12);
  color: var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ========================
   CTA BANNER
======================== */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 76px 0;
  text-align: center;
}
.cta-banner h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 14px;
}
.cta-banner p {
  color: rgba(255,255,255,0.72);
  font-size: 1rem;
  margin-bottom: 36px;
}
.cta-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ========================
   FOOTER
======================== */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
  padding: 60px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 44px;
  margin-bottom: 44px;
}

.footer-brand .logo {
  margin-bottom: 14px;
  font-size: 1.15rem;
}
.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.7;
  max-width: 280px;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-col ul li a,
.footer-col a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.62);
  transition: color 0.2s;
}
.footer-col ul li a:hover,
.footer-col a:hover { color: var(--orange-light); }
.footer-col p {
  font-size: 0.88rem;
  line-height: 1.8;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  flex-wrap: wrap;
  gap: 8px;
}

/* ========================
   PAGE HERO (inner pages)
======================== */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 60px 0;
  text-align: center;
}
.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 12px;
}
.page-hero p {
  color: rgba(255,255,255,0.72);
  font-size: 1rem;
  max-width: 560px;
  margin: 0 auto;
}

/* ========================
   DIENSTEN PAGE
======================== */
.diensten-full { padding: 76px 0; }

.diensten-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.dienst-item {
  background: var(--light-gray);
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: box-shadow 0.2s;
}
.dienst-item:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.08); }

.dienst-icon { font-size: 1.55rem; flex-shrink: 0; }
.dienst-item h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 5px;
}
.dienst-item p { font-size: 0.88rem; color: var(--gray); line-height: 1.6; }

/* ========================
   PROJECTEN PAGE
======================== */
.projecten-section { padding: 76px 0; }

.project-filters {
  display: flex;
  gap: 10px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 9px 20px;
  border-radius: 20px;
  border: 2px solid var(--navy);
  background: transparent;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  min-height: 44px;
}
.filter-btn.active,
.filter-btn:hover {
  background: var(--navy);
  color: var(--white);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.project-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--white);
  transition: transform 0.2s;
}
.project-card:hover { transform: translateY(-4px); }

.project-img {
  width: 100%;
  height: 190px;
  background: linear-gradient(135deg, var(--navy-light), var(--navy));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.8rem;
}

.project-info { padding: 18px 20px; }
.project-tag {
  font-size: 0.73rem;
  font-weight: 700;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 6px;
}
.project-info h3 {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}
.project-info p { font-size: 0.85rem; color: var(--gray); }

/* ========================
   CONTACT PAGE
======================== */
.contact-section { padding: 76px 0; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 56px;
  align-items: start;
}

.contact-info h2 {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 14px;
}
.contact-info p { color: var(--gray); margin-bottom: 28px; }

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-detail {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.contact-detail-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: rgba(224,117,8,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.contact-detail-label {
  font-size: 0.75rem;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin-bottom: 2px;
}
.contact-detail-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
}
.contact-detail-value a { color: var(--navy); transition: color 0.2s; }
.contact-detail-value a:hover { color: var(--orange); }

/* Form */
.contact-form {
  background: var(--light-gray);
  border-radius: 14px;
  padding: 36px;
}
.contact-form h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 26px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid #d1d5db;
  border-radius: 7px;
  font-size: 0.92rem;
  font-family: var(--font);
  background: var(--white);
  color: var(--text);
  transition: border-color 0.2s;
  outline: none;
  min-height: 44px;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(224,117,8,0.15);
}
.form-group textarea { resize: vertical; min-height: 120px; }

/* ========================
   MAP SECTION
======================== */
.map-section {
  padding: 0 0 76px;
  background: var(--white);
}
.map-header { padding: 56px 0 26px; }
.map-embed iframe {
  width: 100%;
  height: 420px;
  border: none;
  border-radius: 14px;
  box-shadow: 0 4px 28px rgba(0,0,0,0.10);
  display: block;
}

/* ========================
   RESPONSIVE — TABLET (≤900px)
======================== */
@media (max-width: 900px) {
  /* Show hamburger, hide desktop nav items */
  .nav-toggle { display: flex; }
  .navbar .container {
    grid-template-columns: 1fr auto auto;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    justify-content: flex-start;
    gap: 0;
    padding: 12px 0 20px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    z-index: 199;
  }
  .nav-links.open { display: flex; }
  .nav-links li a {
    display: block;
    padding: 13px 24px;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .nav-cta .btn { display: none; }
  .navbar { position: relative; }

  .hero-inner,
  .why-inner,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .why-visual { padding: 32px; }

  .services-grid,
  .projects-grid,
  .diensten-list {
    grid-template-columns: 1fr 1fr;
  }

  .usp-band .container {
    justify-content: flex-start;
    column-gap: 24px;
  }
}

/* ========================
   RESPONSIVE — MOBILE (≤600px)
======================== */
@media (max-width: 600px) {
  .container { padding: 0 16px; }

  .topbar .container { flex-wrap: wrap; }
  .topbar .container span:last-child { margin-left: 0; white-space: normal; }

  .hero { padding: 56px 0 64px; }

  .services-grid,
  .projects-grid,
  .diensten-list {
    grid-template-columns: 1fr;
  }

  .form-row { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-brand p { max-width: 100%; }

  .map-embed iframe { height: 300px; }

  .usp-band .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .cta-btns { flex-direction: column; align-items: center; }
  .cta-btns .btn { width: 100%; justify-content: center; max-width: 320px; }

  .hero-btns { flex-direction: column; }
  .hero-btns .btn { width: 100%; justify-content: center; }

  .contact-form { padding: 24px 18px; }

  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ========================
   REDUCED MOTION
======================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
  html { scroll-behavior: auto; }
}

/* ========================
   FORM VALIDATION STYLES
======================== */
.form-required-note {
  font-size: 0.82rem;
  color: var(--gray);
  margin-bottom: 20px;
}

.field-error {
  display: block;
  font-size: 0.8rem;
  color: #c0392b;
  margin-top: 5px;
  min-height: 1.1em;
  font-weight: 500;
}

.field-invalid {
  border-color: #c0392b !important;
  background-color: #fff8f8 !important;
}
.field-invalid:focus {
  box-shadow: 0 0 0 3px rgba(192,57,43,0.15) !important;
}

.form-submit-error {
  font-size: 0.88rem;
  color: #c0392b;
  font-weight: 600;
  margin-bottom: 12px;
  min-height: 1.2em;
}

.form-success {
  background: #eafaf1;
  border: 2px solid #27ae60;
  border-radius: 8px;
  padding: 18px 20px;
  color: #1a7040;
  font-weight: 600;
  font-size: 0.95rem;
  text-align: center;
  margin-top: 12px;
}
