/* ─── Variables ─────────────────────────────────────────── */
:root {
  --orange: #ff6b00;
  --orange-dark: #e05e00;
  --dark: #1a1a1a;
  --grey-bg: #f5f5f5;
  --white: #ffffff;
  --text-muted: #555;
  --border: #e0e0e0;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.14);
  --radius: 6px;
  --transition: 0.28s ease;
  --font-head: "Barlow Condensed", sans-serif;
  --font-body: "DM Sans", sans-serif;
}

/* ─── Reset & Base ──────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--dark);
  line-height: 1.65;
  overflow-x: hidden;
}
img {
  display: block;
  max-width: 100%;
}
a {
  text-decoration: none;
  color: inherit;
}

/* ─── Utilities ─────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.section-label {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 10px;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--dark);
  margin-bottom: 16px;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--orange);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 107, 0, 0.35);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.7);
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
  transform: translateY(-2px);
}

/* Fade-in animation */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.65s ease,
    transform 0.65s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in-delay-1 {
  transition-delay: 0.1s;
}
.fade-in-delay-2 {
  transition-delay: 0.2s;
}
.fade-in-delay-3 {
  transition-delay: 0.3s;
}

/* ─── Navbar ────────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition:
    box-shadow var(--transition),
    border-color var(--transition);
}
#navbar.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  border-color: var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav-logo img {
  height: 44px;
  width: auto;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}
.nav-links a {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--dark);
  padding: 6px 12px;
  border-radius: var(--radius);
  transition:
    color var(--transition),
    background var(--transition);
}
.nav-links a:hover {
  color: var(--orange);
  background: rgba(255, 107, 0, 0.06);
}
.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--orange);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 9px 18px;
  border-radius: var(--radius);
  transition: all var(--transition);
}
.nav-phone:hover {
  background: var(--orange-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(255, 107, 0, 0.3);
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 16px 24px 20px;
  gap: 4px;
}
.mobile-menu.open {
  display: flex;
}
.mobile-menu a {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--dark);
  padding: 10px 0;
  border-bottom: 1px solid var(--grey-bg);
  transition: color var(--transition);
}
.mobile-menu a:hover {
  color: var(--orange);
}
.mobile-menu .mobile-cta {
  margin-top: 12px;
  text-align: center;
}

/* ─── Hero ──────────────────────────────────────────────── */
#home {
  padding-top: 68px;
}
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-image:
    linear-gradient(to right, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.38) 50%, rgba(0,0,0,0.0) 100%),
    url('hero-glasvezelnetwerk-desktop.webp');
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
  overflow: hidden;
}
.hero-grid-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.08;
}
.hero-fiber-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  opacity: 0.18;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 80px 0;
  max-width: 45%;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 20px;
}
.hero-eyebrow::before {
  content: "";
  display: block;
  width: 28px;
  height: 2px;
  background: var(--orange);
}
.hero-title {
  font-family: var(--font-head);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 800;
  line-height: 1;
  color: var(--white);
  margin-bottom: 24px;
  max-width: 700px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.6);
}
.hero-title span {
  color: var(--orange);
}
.hero-title .hero-title-sub {
  display: block;
  margin-top: 20px;
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.55vw, 1.3rem);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.92);
  max-width: 540px;
}
.hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.9);
  text-shadow: 0 1px 12px rgba(0,0,0,0.5);
  max-width: 520px;
  margin-bottom: 40px;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.btn-hero-primary {
  background: var(--orange);
  color: var(--white);
  animation: pulse-cta 3s infinite;
}
.btn-hero-primary:hover {
  animation: none;
  background: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 107, 0, 0.35);
}
.btn-hero-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}
.btn-hero-outline:hover {
  background: var(--white);
  color: var(--dark);
  transform: translateY(-2px);
}

@keyframes pulse-cta {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(255, 107, 0, 0.4);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(255, 107, 0, 0);
  }
}

/* Grid line animation */
@keyframes grid-pulse {
  0%,
  100% {
    opacity: 0.35;
  }
  50% {
    opacity: 0.08;
  }
}
.grid-line-h,
.grid-line-v {
  animation: grid-pulse 4s ease-in-out infinite;
}
.grid-line-h:nth-child(2n) {
  animation-delay: 0.8s;
}
.grid-line-h:nth-child(3n) {
  animation-delay: 1.6s;
}
.grid-line-v:nth-child(2n) {
  animation-delay: 1.2s;
}
.grid-line-v:nth-child(3n) {
  animation-delay: 2s;
}

/* Fiber animation */
.fiber-path {
  fill: none;
  stroke: var(--orange);
  stroke-width: 1.5;
  stroke-linecap: round;
  opacity: 0;
}
.fiber-path:nth-child(1) {
  animation: fiber-travel 6s ease-in-out 0s infinite;
}
.fiber-path:nth-child(2) {
  animation: fiber-travel 6s ease-in-out 1.5s infinite;
}
.fiber-path:nth-child(3) {
  animation: fiber-travel 6s ease-in-out 3s infinite;
}
.fiber-path:nth-child(4) {
  animation: fiber-travel 6s ease-in-out 4.5s infinite;
}

@keyframes fiber-travel {
  0% {
    stroke-dashoffset: 1200;
    stroke-dasharray: 0 1200;
    opacity: 0;
  }
  10% {
    opacity: 0.6;
  }
  50% {
    stroke-dasharray: 400 800;
    opacity: 0.5;
  }
  90% {
    opacity: 0.2;
  }
  100% {
    stroke-dashoffset: -200;
    stroke-dasharray: 0 1200;
    opacity: 0;
  }
}

/* ─── Stats Bar ─────────────────────────────────────────── */
#stats {
  background: var(--dark);
  padding: 48px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item {
  text-align: center;
  padding: 20px 16px;
  position: relative;
}
.stat-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 20%;
  bottom: 20%;
  width: 1px;
  background: rgba(255, 255, 255, 0.1);
}
.stat-num {
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
  display: block;
}
.stat-label {
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 6px;
}

/* ─── Diensten ──────────────────────────────────────────── */
#diensten {
  padding: 100px 0;
  background: var(--white);
}
.section-header {
  margin-bottom: 60px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
  border-top: 3px solid var(--orange);
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid transparent;
  border-radius: var(--radius);
  transition: border-color var(--transition);
  pointer-events: none;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}
.service-card:hover::before {
  border-color: var(--orange);
}
.service-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 24px;
  color: var(--orange);
}
.service-title {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.service-desc {
  font-size: 0.96rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ─── Werkwijze ─────────────────────────────────────────── */
#werkwijze {
  padding: 100px 0;
  background: var(--grey-bg);
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  position: relative;
  margin-top: 60px;
}
.steps-grid::before {
  content: "";
  position: absolute;
  top: 48px;
  left: calc(16.67% + 28px);
  right: calc(16.67% + 28px);
  height: 2px;
  background: repeating-linear-gradient(
    to right,
    var(--orange) 0,
    var(--orange) 8px,
    transparent 8px,
    transparent 18px
  );
}
.step-item {
  text-align: center;
  padding: 0 32px;
}
.step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 16px rgba(255, 107, 0, 0.3);
}
.step-title {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 10px;
}
.step-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ─── Projecten ─────────────────────────────────────────── */
#projecten {
  padding: 100px 0;
  background: var(--white);
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 60px;
}
.project-card {
  position: relative;
  height: 280px;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  display: block;
  border: 2px solid transparent;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.project-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.project-card.visible:hover {
  transform: scale(1.03);
  border-color: var(--orange);
  box-shadow: 0 8px 32px rgba(255, 107, 0, 0.22);
}
.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.project-card-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 60%);
  pointer-events: none;
}
.project-card-info {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  color: #fff;
}
.project-card-title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 4px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}
.project-card-count {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.72);
  margin: 0;
}
.project-card-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--orange);
  color: #fff;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 6px 13px;
  border-radius: 4px;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
  white-space: nowrap;
}
.project-card.visible:hover .project-card-btn {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Over Ons ──────────────────────────────────────────── */
#over-ons {
  padding: 100px 0;
  background: var(--grey-bg);
}
.over-ons-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 80px;
  align-items: center;
}
.over-ons-text p {
  font-size: 1.02rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}
.kvk-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px 16px;
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 24px;
}
.over-ons-stat {
  background: var(--orange);
  border-radius: var(--radius);
  padding: 56px 40px;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.over-ons-stat::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}
.over-ons-stat::after {
  content: "";
  position: absolute;
  bottom: -60px;
  left: -20px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.07);
}
.over-ons-num {
  font-family: var(--font-head);
  font-size: 7rem;
  font-weight: 800;
  line-height: 1;
  display: block;
  position: relative;
  z-index: 1;
}
.over-ons-label {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.85;
  position: relative;
  z-index: 1;
}

/* ─── Contact CTA ───────────────────────────────────────── */
#contact {
  padding: 100px 0;
  background: var(--orange);
  text-align: center;
  position: relative;
  overflow: hidden;
}
#contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 40px,
    rgba(0, 0, 0, 0.025) 40px,
    rgba(0, 0, 0, 0.025) 80px
  );
}
.contact-inner {
  position: relative;
  z-index: 1;
}
.contact-title {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 24px;
  line-height: 1.1;
}
.contact-phone {
  display: inline-block;
  font-family: var(--font-head);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  color: var(--white);
  text-decoration: none;
  margin-bottom: 28px;
  transition: opacity var(--transition);
  letter-spacing: 0.02em;
}
.contact-phone:hover {
  opacity: 0.85;
}
.contact-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25d366;
  color: var(--white);
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: all var(--transition);
}
.btn-whatsapp:hover {
  background: #1ebe5d;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}
.btn-bel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.7);
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: all var(--transition);
}
.btn-bel:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}
.contact-sub {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

/* ─── Footer ────────────────────────────────────────────── */
footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 280px 1fr 1fr;
  gap: 64px;
  align-items: start;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.footer-logo img {
  height: 90px;
  width: auto;
  margin-bottom: 20px;
}
.footer-logo p {
  font-size: 0.875rem;
  max-width: 240px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.55);
}
.footer-col-title {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 20px;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-nav a {
  font-size: 0.925rem;
  color: rgba(255, 255, 255, 0.65);
  transition: color var(--transition);
}
.footer-nav a:hover {
  color: var(--orange);
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 0.925rem;
}
.footer-contact a {
  color: rgba(255, 255, 255, 0.65);
  transition: color var(--transition);
}
.footer-contact a:hover {
  color: var(--orange);
}
.footer-contact-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.footer-contact-label {
  font-size: 0.75rem;
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
}
.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.3);
  flex-wrap: wrap;
  gap: 8px;
}

/* ─── Floating WhatsApp ─────────────────────────────────── */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  animation: wa-bounce 3s ease-in-out 2s infinite;
}
.wa-float:hover {
  transform: scale(1.12);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.55);
  animation: none;
}
.wa-float svg {
  width: 30px;
  height: 30px;
}
@keyframes wa-bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-8px);
  }
  60% {
    transform: translateY(-4px);
  }
}

/* ─── Responsive ────────────────────────────────────────── */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .over-ons-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .over-ons-stat {
    max-width: 320px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-logo {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .nav-links,
  .nav-cta {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .steps-grid::before {
    display: none;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-item:nth-child(2)::after,
  .stat-item:nth-child(4)::after {
    display: none;
  }
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-nav {
    justify-content: flex-start;
  }
  .footer-contact {
    text-align: left;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .wa-float {
    width: 48px;
    height: 48px;
    bottom: 18px;
    right: 18px;
  }
  .wa-float svg {
    width: 26px;
    height: 26px;
  }
  .contact-actions {
    flex-direction: column;
    align-items: center;
  }
}

#hero .container {
  padding-left: 0;
}
@media (max-width: 768px) {
  #hero {
    background-image:
      linear-gradient(to bottom, rgba(0,0,0,0.60) 0%, rgba(0,0,0,0.25) 50%, rgba(0,0,0,0.10) 100%),
      url('hero-glasvezelnetwerk-mobiel.webp');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    align-items: center;
    min-height: 100svh;
  }
  #hero .container {
    padding-left: 20px;
    padding-right: 20px;
  }
  .hero-content {
    background: none;
    border-radius: 0;
    padding: 0;
    margin: 0;
    max-width: none;
  }
  .hero-actions {
    flex-direction: column;
    gap: 12px;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
  .btn-hero-outline {
    display: flex;
  }
}
@media (max-width: 768px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 36px;
  }
  .project-card:nth-child(4) {
    grid-column-start: auto;
  }
  .project-card {
    height: 200px;
  }
}

/* ─── Subpagina's ───────────────────────────────────────── */
.subpage-hero {
  padding: 150px 0 70px;
  background: var(--dark);
  position: relative;
  overflow: hidden;
}
.subpage-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 20% 0%,
    rgba(255, 107, 0, 0.16),
    transparent 60%
  );
  pointer-events: none;
}
.subpage-hero .container {
  position: relative;
  z-index: 1;
}
.subpage-hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  font-weight: 800;
  line-height: 1.08;
  color: var(--white);
  max-width: 760px;
  margin-bottom: 18px;
}
.subpage-hero h1 span {
  color: var(--orange);
}
.subpage-hero .lead {
  font-size: 1.12rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.86);
  max-width: 600px;
  margin-bottom: 32px;
}

.breadcrumb {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 18px;
}
.breadcrumb a {
  color: rgba(255, 255, 255, 0.75);
  transition: color var(--transition);
}
.breadcrumb a:hover {
  color: var(--orange);
}
.breadcrumb span {
  margin: 0 8px;
  opacity: 0.5;
}

.section {
  padding: 90px 0;
  background: var(--white);
}
.section-alt {
  padding: 90px 0;
  background: var(--grey-bg);
}
.narrow {
  max-width: 760px;
}
.prose p {
  font-size: 1.03rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 18px;
}
.prose p strong {
  color: var(--dark);
  font-weight: 600;
}
.prose h3 {
  font-family: var(--font-head);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--dark);
  margin: 34px 0 12px;
}

/* Urgentieblok met genummerde stappen */
.urgent-box {
  background: var(--white);
  border-left: 4px solid var(--orange);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px 34px;
  margin: 8px 0 0;
}
.urgent-box ol {
  list-style: none;
  counter-reset: urgent;
}
.urgent-box li {
  counter-increment: urgent;
  position: relative;
  padding-left: 46px;
  margin-bottom: 20px;
  line-height: 1.65;
  color: var(--text-muted);
}
.urgent-box li:last-child {
  margin-bottom: 0;
}
.urgent-box li::before {
  content: counter(urgent);
  position: absolute;
  left: 0;
  top: -1px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.urgent-box li strong {
  color: var(--dark);
  display: block;
  margin-bottom: 2px;
  font-weight: 600;
}

/* FAQ */
.faq-list {
  max-width: 820px;
}
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
}
.faq-item:first-child {
  border-top: 1px solid var(--border);
}
.faq-item h3 {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}
.faq-item p {
  color: var(--text-muted);
  line-height: 1.75;
}
.disclaimer {
  margin-top: 28px;
  font-size: 0.86rem;
  line-height: 1.65;
  color: var(--text-muted);
  opacity: 0.85;
  border-left: 2px solid var(--border);
  padding-left: 16px;
}

@media (max-width: 768px) {
  .subpage-hero {
    padding: 120px 0 54px;
  }
  .section,
  .section-alt {
    padding: 64px 0;
  }
  .urgent-box {
    padding: 26px 22px;
  }
}

/* ─── Navigatie: spoeditem ──────────────────────────────── */
.nav-links a.nav-spoed,
.mobile-menu a.nav-spoed {
  color: var(--orange);
  font-weight: 700;
}
.nav-links a.nav-spoed::before,
.mobile-menu a.nav-spoed::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  margin-right: 7px;
  vertical-align: middle;
}

/* ─── Verwijzing onderaan een dienstkaart ───────────────── */
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--orange);
  transition: gap var(--transition);
}
.service-link:hover {
  gap: 12px;
}
.service-link::after {
  content: "→";
  font-size: 1.05rem;
}

/* ─── Uitklapmenu ───────────────────────────────────────── */
.nav-links li {
  position: relative;
}
.nav-links .nav-parent {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: default;
}
.nav-links .nav-parent::after {
  content: "";
  width: 5px;
  height: 5px;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg) translate(-1px, -1px);
  transition: transform var(--transition);
}
.nav-links li:hover .nav-parent::after,
.nav-links li:focus-within .nav-parent::after {
  transform: rotate(225deg) translate(-2px, -2px);
}
.dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 282px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
  padding: 8px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition:
    opacity var(--transition),
    transform var(--transition),
    visibility var(--transition);
}
.nav-links li:hover > .dropdown,
.nav-links li:focus-within > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 0;
  right: 0;
  height: 8px;
}
.dropdown li {
  width: 100%;
}
.dropdown a {
  display: block;
  width: 100%;
  padding: 9px 12px;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--dark);
  border-radius: 4px;
}
.dropdown a:hover {
  background: var(--grey-bg);
  color: var(--orange);
}
.dropdown .dropdown-note {
  display: block;
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  color: var(--text-muted);
  margin-top: 1px;
}
.dropdown a:hover .dropdown-note {
  color: var(--text-muted);
}
.dropdown-sep {
  height: 1px;
  background: var(--border);
  margin: 6px 4px;
}

/* Mobiel: uitgeklapte groepen in plaats van hover */
.mobile-group-title {
  font-family: var(--font-head);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
  padding: 16px 0 4px;
}
.mobile-menu a.mobile-sub {
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  padding: 9px 0 9px 14px;
  border-bottom: none;
  color: var(--text-muted);
}
.mobile-menu a.mobile-sub:hover {
  color: var(--orange);
}

@media (max-width: 900px) {
  .dropdown {
    display: none;
  }
}

/* ─── Plaatsenlijst op regiopagina's ────────────────────── */
.plaats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
  gap: 10px;
  margin-top: 26px;
}
.plaats-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 13px 16px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--dark);
}
.section-alt .plaats-item {
  background: var(--white);
}
.section .plaats-item {
  background: var(--grey-bg);
  border-color: transparent;
}

/* ─── Werkgebiedblok op de homepage ─────────────────────── */
.regio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.regio-card {
  display: block;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow);
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}
.regio-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.regio-card h3 {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 8px;
}
.regio-card p {
  font-size: 0.96rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.regio-card .service-link {
  margin-top: 0;
}

/* ─── Werkgebied- en FAQ-sectie op de homepage ──────────── */
#werkgebied {
  padding: 100px 0;
  background: var(--white);
}
#faq {
  padding: 100px 0;
}
#faq .faq-list {
  max-width: 860px;
}

/* ─── 404 ───────────────────────────────────────────────── */
.notfound {
  min-height: 68vh;
  display: flex;
  align-items: center;
  padding: 150px 0 90px;
  background: var(--dark);
  text-align: center;
}
.notfound h1 {
  font-family: var(--font-head);
  font-size: clamp(3.4rem, 9vw, 6rem);
  font-weight: 800;
  line-height: 1;
  color: var(--orange);
  margin-bottom: 10px;
}
.notfound h2 {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}
.notfound p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  max-width: 520px;
  margin: 0 auto 32px;
}
.notfound .hero-actions {
  justify-content: center;
}
.notfound-links {
  margin-top: 44px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.notfound-links a {
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  padding: 9px 16px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  transition:
    border-color var(--transition),
    color var(--transition);
}
.notfound-links a:hover {
  border-color: var(--orange);
  color: var(--orange);
}

@media (max-width: 768px) {
  #werkgebied,
  #faq {
    padding: 64px 0;
  }
}

/* ─── E-mail in het contactblok ─────────────────────────── */
.contact-mail {
  display: inline-block;
  margin-top: 24px;
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  padding-bottom: 2px;
  transition:
    color var(--transition),
    border-color var(--transition);
}
.contact-mail:hover {
  color: var(--white);
  border-color: var(--white);
}
