:root {
  --color-primary: #1f5fae;
  --color-primary-dark: #14457e;
  --color-primary-light: #edf3fb;
  --color-bg: #ffffff;
  --color-muted: #6b7280;
  --color-text: #1f2933;
  --radius-lg: 18px;
  --shadow-soft: 0 16px 40px rgba(15, 40, 80, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* HEADER */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(15, 40, 80, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 0;
}

.logo img {
  height: 70px;
}

.main-nav ul {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text);
}

.main-nav a:hover {
  color: var(--color-primary-dark);
}

/* MOBILE NAV BUTTON */

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: var(--color-text);
}

/* HERO */

.hero {
  padding: 4.2rem 0 3.6rem;
  background: radial-gradient(circle at top left, #edf3fb 0, #ffffff 45%);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 3.2fr) minmax(0, 2.3fr);
  gap: 2.6rem;
  align-items: center;
}

.hero-tagline {
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.76rem;
  color: var(--color-primary-dark);
  font-weight: 600;
  margin-bottom: 0.6rem;
}

.hero h1 {
  margin: 0 0 0.9rem;
  font-size: clamp(2.2rem, 3.4vw, 2.8rem);
  line-height: 1.1;
  color: var(--color-primary-dark);
}

.hero-subtitle {
  margin: 0 0 1.8rem;
  max-width: 34rem;
  color: var(--color-muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 1.1rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.8rem;
}

.hero-badges span {
  padding: 0.38rem 0.75rem;
  border-radius: 999px;
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
}

/* HERO FACTS */

.hero-facts {
  display: grid;
  gap: 0.9rem;
  padding: 1.4rem 1.3rem;
  border-radius: 1.6rem;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(15, 40, 80, 0.06);
}

.fact {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.fact-number {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--color-primary-dark);
}

.fact-label {
  font-size: 0.9rem;
  color: var(--color-muted);
}

/* BUTTONS */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 0.7rem 1.4rem;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease,
    background 0.12s ease, color 0.12s ease, border-color 0.12s ease;
}

.btn-primary {
  background: var(--color-primary);
  color: #ffffff;
  box-shadow: 0 12px 30px rgba(31, 95, 174, 0.32);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(20, 69, 126, 0.38);
  text-decoration: none;
}

.btn-outline {
  background: #ffffff;
  border-color: rgba(31, 95, 174, 0.22);
  color: var(--color-primary-dark);
}

.btn-outline:hover {
  background: var(--color-primary-light);
  text-decoration: none;
}

.btn-full {
  width: 100%;
}

/* USP STRIP */

.usp-strip {
  padding: 1.6rem 0;
  border-bottom: 1px solid rgba(15, 40, 80, 0.06);
}

.usp-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.8rem;
}

.usp-item h3 {
  margin: 0 0 0.3rem;
  font-size: 1rem;
  color: var(--color-primary-dark);
}

.usp-item p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-muted);
}

/* GENERIC SECTIONS */

.section {
  padding: 4rem 0;
}

.section-light {
  background: #f7f9fc;
}

.section-accent {
  background: linear-gradient(135deg, #1f5fae 0%, #14457e 100%);
  color: #ffffff;
}

.section-header {
  text-align: center;
  margin-bottom: 2.4rem;
}

.section-header h2 {
  margin: 0 0 0.5rem;
  font-size: 1.7rem;
  color: var(--color-primary-dark);
}

.section-light .section-header h2 {
  color: var(--color-primary-dark);
}

.section-header p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-muted);
}

/* GRID HELPERS */

.grid {
  display: grid;
  gap: 1.8rem;
}

.services-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sector-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.project-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* CARDS */

.card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.4rem;
  box-shadow: 0 12px 32px rgba(15, 40, 80, 0.04);
  border: 1px solid rgba(15, 40, 80, 0.04);
}

.service-card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
  color: var(--color-primary-dark);
}

.service-card p {
  margin: 0 0 0.7rem;
  font-size: 0.9rem;
  color: var(--color-muted);
}

.service-card ul {
  margin: 0;
  padding-left: 1.2rem;
  font-size: 0.9rem;
  color: var(--color-text);
}

/* SECTOREN */

.sector-card h3 {
  margin-top: 0;
  margin-bottom: 0.4rem;
  font-size: 1.05rem;
  color: var(--color-primary-dark);
}

.sector-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-muted);
}

/* PROJECTEN + GALLERY */

.project-header h3 {
  margin: 0 0 0.3rem;
  font-size: 1.05rem;
  color: var(--color-primary-dark);
}

.project-type {
  margin: 0 0 0.7rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--color-primary);
}

.project-card p {
  font-size: 0.9rem;
  color: var(--color-muted);
}

/* GALLERY */

.project-gallery {
  margin-bottom: 0.8rem;
}

/* vaste hoogte hoofdafbeeldingen */
.project-gallery-main {
  width: 100%;
  height: 220px;
  border-radius: 12px;
  object-fit: cover;
  margin-bottom: 0.6rem;
}

/* thumbnails onder de hoofdafbeelding */
.project-thumbs {
  display: flex;
  gap: 0.4rem;
}

.project-thumbs img {
  width: 30%;
  height: 70px;
  border-radius: 10px;
  cursor: pointer;
  object-fit: cover;
  opacity: 0.7;
  border: 2px solid transparent;
  transition: opacity 0.12s ease, border-color 0.12s ease,
    transform 0.12s ease;
}

.project-thumbs img:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.project-thumbs img.active {
  opacity: 1;
  border-color: var(--color-primary);
}

/* OVER ONS / WERKWIJZE */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 3fr);
  gap: 2.5rem;
  align-items: center;
}

.about-grid h2 {
  margin-top: 0;
  color: var(--color-primary-dark);
}

.about-grid p {
  font-size: 0.95rem;
  color: var(--color-muted);
}

/* STEPS (werkwijze) */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
}

.step {
  padding: 1.1rem 1rem;
  border-radius: 1.2rem;
  background: #f7f9fc;
  border: 1px solid rgba(15, 40, 80, 0.05);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--color-primary-light);
  color: var(--color-primary-dark);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
}

.step h3 {
  margin: 0 0 0.3rem;
  font-size: 1rem;
  color: var(--color-primary-dark);
}

.step p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-muted);
}

/* OFFERTE / CONTACT */

.offerte-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 3fr);
  gap: 2.4rem;
  align-items: flex-start;
}

.section-accent h2 {
  color: #ffffff;
}

.section-accent p {
  color: rgba(255, 255, 255, 0.86);
}

.contact-details {
  list-style: none;
  margin: 1.2rem 0 0;
  padding: 0;
  font-size: 0.94rem;
}

.section-accent .contact-details a {
  color: #ffffff;
  text-decoration: underline;
}

/* FORM */

.contact-form-card {
  background: #ffffff;
  color: var(--color-text);
  border-radius: 1.4rem;
  padding: 1.6rem 1.4rem;
  box-shadow: var(--shadow-soft);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

label {
  font-size: 0.85rem;
  font-weight: 500;
}

input,
textarea,
select {
  border-radius: 10px;
  border: 1px solid rgba(15, 40, 80, 0.18);
  padding: 0.55rem 0.65rem;
  font-size: 0.9rem;
  font-family: inherit;
}

input:focus,
textarea:focus,
select:focus {
  outline: 2px solid rgba(31, 95, 174, 0.35);
  border-color: transparent;
}

textarea {
  resize: vertical;
}

.form-note {
  margin: 0;
  font-size: 0.8rem;
  color: var(--color-muted);
}

/* FOOTER */

.site-footer {
  padding: 1.8rem 0 2.2rem;
  background: #0b1b33;
  color: rgba(255, 255, 255, 0.8);
}

/* standaard (voor pagina’s waar footer-inner nog gebruikt wordt) */
.footer-inner {
  text-align: center;
  font-size: 0.85rem;
}

.footer-small {
  margin-top: 0.2rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ✅ NIEUW: footer layout voor jouw homepage HTML (footer-flex / footer-contact) */
.footer-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  text-align: left; /* voorkomt dat alles centreert */
}

.footer-text p {
  margin: 0;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.55rem;
}

.footer-mail {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  font-size: 0.9rem;
  text-decoration: none;
}

.footer-mail:hover {
  text-decoration: underline;
}

/* LinkedIn “badge” zoals in screenshot */
.footer-linkedin {
  display: inline-flex;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.10);
  transition: transform 0.12s ease, background 0.12s ease;
}

.footer-linkedin:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.16);
  text-decoration: none;
}

.footer-linkedin img {
  width: 18px;
  height: 18px;
}

/* PROJECTS MORE BUTTON (onder projecten op home) */

.projects-more {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.projects-more .btn {
  padding: 0.85rem 1.8rem;
  font-size: 1rem;
}

/* THANK YOU PAGE */

.thankyou-section {
  min-height: calc(100vh - 140px);
  display: flex;
  align-items: center;
}

.thankyou-inner {
  max-width: 720px;
  margin: 0 auto;
}

.thankyou-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 2.4rem 2.2rem 2.2rem;
  box-shadow: var(--shadow-soft);
  text-align: left;
}

.thankyou-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 1.4rem;
}

.thankyou-icon svg {
  width: 80px;
  height: 80px;
}

/* cirkel en checkmark stylen */
.thankyou-icon svg circle {
  fill: var(--color-primary-light);
  stroke: var(--color-primary);
  stroke-width: 2;
}

.thankyou-icon svg path {
  fill: none;
  stroke: var(--color-primary-dark);
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.thankyou-card h1 {
  margin: 0 0 0.8rem;
  font-size: 1.6rem;
  color: var(--color-primary-dark);
  text-align: center;
}

.thankyou-text {
  margin: 0 0 1.4rem;
  color: var(--color-muted);
  text-align: center;
}

.thankyou-extra p {
  margin: 0 0 0.4rem;
  font-weight: 600;
}

.thankyou-extra ul {
  margin: 0 0 1.6rem 1.2rem;
  padding: 0;
  color: var(--color-muted);
  font-size: 0.95rem;
}

.thankyou-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  justify-content: center;
}

@media (max-width: 720px) {
  .thankyou-card {
    padding: 2rem 1.4rem 1.8rem;
  }

  .thankyou-icon svg {
    width: 64px;
    height: 64px;
  }
}

/* RESPONSIVE */

@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-facts {
    max-width: 380px;
    margin-inline: auto;
  }

  .services-grid,
  .sector-grid,
  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-grid,
  .offerte-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .header-inner {
    padding: 0.55rem 0;
  }

  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: absolute;
    inset: 100% 0 auto;
    background: #ffffff;
    border-bottom: 1px solid rgba(15, 40, 80, 0.08);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.18s ease-out;
  }

  .main-nav.open {
    max-height: 260px;
  }

  .main-nav ul {
    flex-direction: column;
    padding: 0.7rem 1.5rem 1rem;
    gap: 0.9rem;
  }

  .hero {
    padding-top: 3.4rem;
  }

  .usp-grid,
  .services-grid,
  .sector-grid,
  .project-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  /* LOGO alleen op mobiel iets naar rechts */
  .logo {
    margin-left: 14px;
  }

  /* ✅ footer onder elkaar en gecentreerd op mobiel */
  .footer-flex {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-contact {
    align-items: center;
  }
}
