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

:root {
  --yellow: #FFE600;
  --yellow-dark: #e6cf00;
  --red: #D62B2B;
  --black: #111111;
  --dark: #1a1a1a;
  --grey: #f5f5f5;
  --grey-mid: #e0e0e0;
  --text: #333333;
  --white: #ffffff;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(0,0,0,0.10);
  --transition: 0.25s ease;
}

html { scroll-behavior: smooth; }

/* Scroll offset voor vaste nav */
section[id] { scroll-margin-top: 80px; }

/* =====================
   KEYFRAMES
   ===================== */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeSlideRight {
  from { opacity: 0; transform: translateX(40px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-14px); }
}
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 4px 16px rgba(255,230,0,0.30); }
  50%       { box-shadow: 0 4px 22px rgba(255,230,0,0.50); }
}
@keyframes progressLoad {
  from { width: 0; }
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

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

body.no-scroll { overflow: hidden; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* =====================
   SCROLL PROGRESS
   ===================== */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  background: var(--yellow);
  z-index: 200;
  width: 0%;
  transition: width 0.1s linear;
  border-radius: 0 2px 2px 0;
}

/* =====================
   BUTTONS
   ===================== */
.btn {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  cursor: pointer;
}
.btn--primary {
  background: var(--yellow);
  color: var(--black);
  box-shadow: 0 4px 16px rgba(255,230,0,0.35);
  animation: pulseGlow 2.8s ease-in-out infinite;
}
.btn--primary:hover {
  background: var(--yellow-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,230,0,0.45);
}
.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.6);
}
.btn--ghost:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-2px);
}
.btn--nav {
  background: var(--yellow);
  color: var(--black);
  padding: 0.55rem 1.3rem;
  font-size: 0.9rem;
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.btn--nav:hover {
  background: var(--yellow-dark);
  transform: translateY(-1px);
  color: var(--black);
}
.nav__links a.btn--nav::after { display: none; }
.nav__links a.btn--nav {
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

/* =====================
   NAVIGATION
   ===================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--yellow);
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
  transform: translateY(0);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav--hidden {
  transform: translateY(-100%);
}
.nav__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--black);
  font-size: 0.95rem;
}
.nav__logo img { height: 44px; width: 44px; object-fit: contain; }
.nav__logo strong { color: var(--red); }
.nav__links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.nav__links a {
  color: rgba(0,0,0,0.6);
  font-size: 0.9rem;
  font-weight: 500;
  position: relative;
  transition: color var(--transition);
}
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--yellow);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.nav__links a:hover, .nav__links a.active { color: var(--black); }
.nav__links a.btn--nav,
.nav__links a.btn--nav:hover,
.nav__links a.btn--nav.active { color: var(--black); }
.nav__links a:hover::after, .nav__links a.active::after { transform: scaleX(1); }

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav__mobile {
  display: none;
  flex-direction: column;
  background: var(--white);
  padding: 1rem 1.5rem 1.5rem;
  gap: 0.75rem;
  border-top: 1px solid var(--grey-mid);
}
.nav__mobile.open { display: flex; }
.nav__mobile a {
  color: rgba(0,0,0,0.7);
  font-size: 1rem;
  font-weight: 500;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.07);
}

/* =====================
   HERO
   ===================== */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--black) 0%, #2a1a00 60%, #1a1a1a 100%);
  display: flex;
  align-items: center;
  padding: 100px 1.5rem 60px;
  position: relative;
  overflow: hidden;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(255,230,0,0.08) 0%, transparent 65%),
              radial-gradient(ellipse at 20% 80%, rgba(214,43,43,0.07) 0%, transparent 55%);
  pointer-events: none;
}
.hero__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  width: 100%;
  position: relative;
  z-index: 1;
}
.hero__content {
  flex: 1;
  max-width: 580px;
}
.hero__tag { animation: fadeSlideUp 0.6s ease 0.1s both; }
.hero h1   { animation: fadeSlideUp 0.6s ease 0.25s both; }
.hero__sub { animation: fadeSlideUp 0.6s ease 0.4s both; }
.hero__cta { animation: fadeSlideUp 0.6s ease 0.55s both; }
.hero__tag {
  display: inline-block;
  background: var(--yellow);
  color: var(--black);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1.25rem;
}
.hero h1 span { color: var(--yellow); }
.hero__sub {
  color: rgba(255,255,255,0.7);
  font-size: 1.1rem;
  max-width: 480px;
  margin-bottom: 2rem;
}
.hero__cta { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero__badge {
  flex-shrink: 0;
  width: min(340px, 36vw);
  opacity: 0.9;
  filter: drop-shadow(0 0 60px rgba(255,230,0,0.35));
  animation: fadeSlideRight 0.8s ease 0.3s both, float 5s ease-in-out 1.1s infinite;
}

/* =====================
   SECTIONS
   ===================== */
.section { padding: 90px 0; }
.section__header { text-align: center; margin-bottom: 3rem; }
.section__tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.5rem;
}
.section__header h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 900;
  color: var(--black);
}
h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 900;
  color: var(--black);
  margin-bottom: 1rem;
}

/* =====================
   DIENSTEN
   ===================== */
.diensten { background: var(--grey); }
.diensten__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.dienst-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--yellow);
  transition: transform var(--transition), box-shadow var(--transition);
  opacity: 0;
  transform: translateY(24px);
}
.dienst-card.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease, transform 0.5s ease, box-shadow var(--transition);
}
.dienst-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.13);
}
.dienst-card__icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  display: inline-block;
  background: var(--yellow);
  width: 54px; height: 54px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.dienst-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 0.6rem;
}
.dienst-card p { font-size: 0.93rem; color: #555; line-height: 1.6; }

/* =====================
   PROJECTEN
   ===================== */
.projecten {
  background: linear-gradient(180deg, #f8f9fb 0%, #f1f3f6 100%);
  color: var(--text);
}
.projecten__grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: stretch;
}
.project-card {
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 0 22px 48px rgba(15,23,42,0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  background: var(--white);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  min-height: 340px;
}
.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 32px 80px rgba(15,23,42,0.16);
}
.project-card figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
}
.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.project-card:hover img {
  transform: scale(1.04);
}
.project-card figcaption {
  padding: 1.3rem;
  font-size: 1rem;
  font-weight: 800;
  color: var(--black);
  line-height: 1.4;
  margin-top: auto;
}
.project-card--double {
  min-height: 400px;
}
.project-card--double figure {
  height: 100%;
}
.project-card--double .project-card__media {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
  padding: 0.65rem;
  background: linear-gradient(135deg, #f6f7fb 0%, #eef1f6 100%);
  flex: 1;
}
.project-card--double .project-card__media img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  border-radius: 14px;
}
.project-card--double figcaption {
  padding-top: 0.85rem;
}
@media (max-width: 768px) {
  .project-card--double .project-card__media {
    grid-template-columns: 1fr;
  }
}
@media (min-width: 1100px) {
  .project-card--wide {
    grid-column: span 2;
  }
  .project-card--double {
    grid-column: span 2;
  }
}
.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(10,12,23,0.88);
  z-index: 1000;
  padding: 1.5rem;
}
.lightbox.open {
  display: flex;
}
.lightbox__content {
  position: relative;
  width: min(1100px, 100%);
  max-height: 90vh;
  background: rgba(255,255,255,0.03);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 36px 120px rgba(0,0,0,0.48);
}
.lightbox__image {
  width: 100%;
  height: min(75vh, 700px);
  object-fit: contain;
  background: #0f172a;
}
.lightbox__caption {
  padding: 1.25rem 1.5rem;
  color: var(--white);
  background: rgba(0,0,0,0.4);
  font-size: 1rem;
  font-weight: 700;
}
.lightbox__button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  color: var(--white);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s ease, transform 0.2s ease;
}
.lightbox__button:hover {
  background: rgba(255,255,255,0.22);
  transform: translateY(-50%) scale(1.05);
}
.lightbox__button--prev { left: 1rem; }
.lightbox__button--next { right: 1rem; }
.lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  border: none;
  color: var(--white);
  cursor: pointer;
}
.lightbox__close:hover {
  background: rgba(255,255,255,0.28);
}

/* =====================
   DIENSTEN DIVIDER
   ===================== */
.diensten__divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  grid-column: 1 / -1;
  margin: 0.5rem 0 0.25rem;
}
.diensten__divider-line {
  flex: 1;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
}
.diensten__divider-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  white-space: nowrap;
  padding: 0 0.5rem;
}

/* =====================
   OVER ONS
   ===================== */
.over { background: var(--white); }
.over__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  align-items: center;
}
.over__text {
  opacity: 0; transform: translateX(-24px);
}
.over__text.visible {
  opacity: 1; transform: translateX(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.over__text p {
  color: #555;
  margin-bottom: 1rem;
  font-size: 1rem;
}
.over__list {
  list-style: none;
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.over__list li {
  font-weight: 600;
  color: var(--black);
  font-size: 0.95rem;
}
.over__logo {
  width: 220px;
  opacity: 0; transform: scale(0.9);
}
.over__logo.visible {
  opacity: 1; transform: scale(1);
  transition: opacity 0.6s ease 0.2s, transform 0.6s ease 0.2s;
}
.over__logo img { width: 100%; filter: drop-shadow(0 8px 24px rgba(0,0,0,0.12)); }

/* =====================
   INFO (OPENINGSTIJDEN + CONTACT)
   ===================== */
.info {
  background: var(--dark);
  color: var(--white);
}
.info__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.info__block {
  opacity: 0; transform: translateY(20px);
}
.info__block.visible {
  opacity: 1; transform: translateY(0);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.info__block .section__tag { color: var(--yellow); }
.info__block h2 { color: var(--white); margin-bottom: 1.5rem; }

/* Contact */
.contact__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.contact__icon {
  font-size: 1.3rem;
  margin-top: 2px;
}
.contact__item strong {
  display: block;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--yellow);
  margin-bottom: 0.2rem;
}
.contact__item p, .contact__item a {
  color: rgba(255,255,255,0.75);
  font-size: 0.97rem;
}
.contact__item a:hover { color: var(--yellow); }

/* Openingstijden */
.hours {
  width: 100%;
  border-collapse: collapse;
}
.hours td {
  padding: 0.65rem 0;
  font-size: 0.97rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.85);
}
.hours td:first-child { font-weight: 600; width: 50%; }
.hours td:last-child { color: var(--yellow); font-weight: 600; }
.hours tr.closed td:last-child { color: rgba(255,255,255,0.35); font-weight: 400; }

/* =====================
   FOOTER
   ===================== */
.footer {
  background: var(--black);
  border-top: 2px solid var(--yellow);
  padding: 2.5rem 0;
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer__logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.footer__logo img { height: 52px; width: 52px; object-fit: contain; }
.footer__logo p { color: rgba(255,255,255,0.55); font-size: 0.85rem; line-height: 1.5; }
.footer__copy { color: rgba(255,255,255,0.35); font-size: 0.8rem; }

.footer__partners {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.footer__partners-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.35);
  font-weight: 600;
}
.footer__partners-logos {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.footer__partner-link {
  opacity: 0.5;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.footer__partner-link:hover {
  opacity: 1;
  transform: translateY(-2px);
}
.footer__partner-logo {
  height: 32px;
  width: auto;
  object-fit: contain;
}
.footer__partner-logo--veb {
  height: 24px;
}

.footer__social {
  display: flex;
  gap: 0.85rem;
  align-items: center;
}
.footer__social a {
  color: rgba(255,255,255,0.45);
  transition: color 0.25s ease, transform 0.25s ease;
  display: flex;
  align-items: center;
}
.footer__social a:hover {
  color: var(--yellow);
  transform: translateY(-3px);
}

/* =====================
   TERUG NAAR BOVEN
   ===================== */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  background: var(--yellow);
  color: var(--black);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 99;
}
.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.back-to-top:hover {
  background: var(--yellow-dark);
  transform: translateY(-2px);
}

/* =====================
   CONTACTFORMULIER
   ===================== */
.contactform { background: var(--grey); }
.form {
  max-width: 780px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}
.form__group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}
.form__row .form__group { margin-bottom: 0; }
.form__group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--black);
}
.form__group label .required { color: var(--red); }
.form__group input,
.form__group textarea {
  padding: 0.7rem 1rem;
  border: 1.5px solid var(--grey-mid);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  outline: none;
  resize: vertical;
}
.form__group input:focus,
.form__group textarea:focus {
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px rgba(255,230,0,0.2);
}
.form__submit { text-align: center; margin-top: 0.5rem; }
.form__submit .btn--primary { padding: 0.85rem 2.5rem; font-size: 1rem; }

/* Form feedback messages */
.form-feedback { margin: 0.75rem 0 1rem; font-size: 0.98rem; }
.form-feedback p { padding: 0.9rem 1rem; border-radius: 10px; margin: 0; }
.form-feedback p.success { background: #e6ffef; color: #067a3a; border: 1px solid rgba(6,122,58,0.12); }
.form-feedback p.error { background: #fff4f4; color: #9b1c1c; border: 1px solid rgba(155,28,28,0.08); }

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 768px) {
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }

  .hero { padding: 100px 1.5rem 60px; }
  .hero__tag { display: none; }
  .hero__inner { flex-direction: column; text-align: center; }
  .hero__content { max-width: 100%; }
  .hero__badge { width: 160px; opacity: 0.6; }
  .hero__cta { justify-content: center; }
  .form__row { grid-template-columns: 1fr; }

  .projecten__grid {
    grid-template-columns: 1fr;
  }
  .project-card:nth-child(1),
  .project-card:nth-child(2),
  .project-card:nth-child(3),
  .project-card:nth-child(4) {
    grid-column: auto;
    grid-row: auto;
  }

  .lightbox__button {
    width: 48px;
    height: 48px;
  }

  .lightbox__close {
    width: 40px;
    height: 40px;
  }

  .over__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .over__logo { width: 140px; margin: 0 auto; }

  .info__grid { grid-template-columns: 1fr; gap: 3rem; }

  .footer__inner { flex-direction: column; text-align: center; }
  .footer__logo { flex-direction: column; }
}
