/* ============================================
   PROJECTBOUW AANNEMERS B.V. — STYLE.CSS
   ============================================ */

/* ---------- CSS custom properties ---------- */
:root {
  --color-black: #0a0a0a;
  --color-black-soft: #151515;
  --color-gold: #c0913c; /* warmer brass, matcht logo-goud */
  --color-gold-light: #d9b565;
  --color-gold-text-on-cream: #8f6a26; /* AA contrast op crème */
  --color-grey: #8a8a86;
  --color-cream: #f6f4ef;
  --color-white: #faf9f6;
  --color-text-dark: #1a1a18;

  --font-display: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  --fs-14: 0.875rem;
  --fs-16: 1rem;
  --fs-18: 1.125rem;
  --fs-22: 1.375rem;
  --fs-28: 1.75rem;
  --fs-36: 2.25rem;
  --fs-48: 3rem;
  --fs-64: 4rem;

  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 48px;
  --space-xl: 80px;

  --container-max: 1240px;

  --transition: 0.2s ease;
  --radius: 6px;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--color-text-dark);
  background-color: var(--color-cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul, ol { list-style: none; }

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea, select {
  font-family: inherit;
  font-size: var(--fs-16);
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.15;
  font-weight: 600;
  color: var(--color-text-dark);
}

h1 { font-size: var(--fs-48); font-weight: 700; }
h2 { font-size: var(--fs-36); }
h3 { font-size: var(--fs-22); }
h4 { font-size: var(--fs-18); }

@media (min-width: 1024px) {
  h1 { font-size: var(--fs-64); }
  h2 { font-size: var(--fs-48); }
}

p { font-size: var(--fs-16); }

.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 {
  color: var(--color-white);
}

/* ---------- Focus states ---------- */
:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  background: var(--color-gold);
  color: var(--color-black);
  padding: 10px 20px;
  border-radius: 0 0 8px 8px;
  z-index: 9999;
  font-weight: 600;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }

/* ---------- Container ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

section {
  padding: var(--space-lg) 0;
}

@media (min-width: 1024px) {
  section { padding: var(--space-xl) 0; }
}

.section-dark {
  background-color: var(--color-black);
  color: var(--color-white);
}

.section-cream {
  background-color: var(--color-cream);
}

.section-soft {
  background-color: var(--color-black-soft);
  color: var(--color-white);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-14);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold-text-on-cream);
  margin-bottom: var(--space-sm);
}
.section-dark .eyebrow, .section-soft .eyebrow {
  color: var(--color-gold);
}

.section-head {
  max-width: 700px;
  margin-bottom: var(--space-lg);
}
.section-head p {
  margin-top: var(--space-sm);
  color: var(--color-grey);
  font-size: var(--fs-18);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-16);
  transition: transform var(--transition), box-shadow var(--transition), background-color var(--transition), color var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--color-gold);
  color: var(--color-black);
}
.btn-primary:hover, .btn-primary:focus-visible {
  background-color: var(--color-gold-light);
  transform: scale(1.03);
  box-shadow: 0 8px 24px rgba(201, 162, 75, 0.35);
}

.btn-ghost {
  background-color: transparent;
  color: var(--color-white);
  border: 1.5px solid rgba(250, 249, 246, 0.4);
}
.btn-ghost:hover, .btn-ghost:focus-visible {
  border-color: var(--color-gold);
  color: var(--color-gold);
  transform: scale(1.03);
}

.btn-outline-dark {
  background-color: transparent;
  color: var(--color-text-dark);
  border: 1.5px solid var(--color-text-dark);
}
.btn-outline-dark:hover, .btn-outline-dark:focus-visible {
  border-color: var(--color-gold-text-on-cream);
  color: var(--color-gold-text-on-cream);
  transform: scale(1.03);
}

.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  background-color: transparent;
  transition: background-color var(--transition), padding var(--transition), box-shadow var(--transition);
}

.site-header.scrolled,
.site-header.solid {
  background-color: var(--color-black);
  padding: 12px 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand img {
  height: 64px;
  width: auto;
}
.site-header.scrolled .brand img,
.site-header.solid .brand img {
  height: 54px;
  transition: height var(--transition);
}
@media (max-width: 767px) {
  .brand img { height: 52px; }
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-16);
  color: var(--color-white);
  line-height: 1.1;
}
.brand-name span {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 11px;
  color: var(--color-grey);
  letter-spacing: 0.06em;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav-menu ul {
  display: flex;
  gap: var(--space-md);
}

.nav-menu a:not(.btn) {
  color: var(--color-white);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--fs-16);
  padding: 6px 2px;
  position: relative;
}
.nav-menu a:not(.btn)::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background-color: var(--color-gold);
  transition: width var(--transition);
}
.nav-menu a:not(.btn):hover::after,
.nav-menu a:not(.btn):focus-visible::after,
.nav-menu a.active::after {
  width: 100%;
}

.header-cta {
  display: none;
}

.header-call {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--color-gold);
  color: var(--color-black);
  flex-shrink: 0;
  transition: background-color var(--transition), transform var(--transition);
}
.header-call svg { width: 19px; height: 19px; }
.header-call:hover, .header-call:focus-visible {
  background-color: var(--color-gold-light);
  transform: scale(1.06);
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  z-index: 1100;
}
.hamburger span {
  width: 24px;
  height: 2px;
  background-color: var(--color-white);
  transition: transform var(--transition), opacity var(--transition);
}
.hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 1023px) {
  .nav-menu {
    position: fixed;
    inset: 0;
    background-color: var(--color-black);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--space-lg);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    padding: var(--space-lg);
  }
  .nav-menu.open {
    transform: translateX(0);
  }
  .nav-menu ul {
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
  }
  .nav-menu a:not(.btn) {
    font-size: var(--fs-28);
  }
  .nav-menu .btn {
    font-size: var(--fs-18);
  }
}

@media (min-width: 1024px) {
  .hamburger { display: none; }
  .header-call { display: none; }
  .header-cta { display: inline-flex; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-color: var(--color-black);
  color: var(--color-white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.38;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.55) 0%, rgba(10,10,10,0.85) 70%, var(--color-black) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 100px;
  max-width: 820px;
}

.hero h1 {
  color: var(--color-white);
  margin-bottom: var(--space-md);
}

.hero .split-text span {
  display: inline-block;
}

.hero-payoff {
  font-size: var(--fs-22);
  color: var(--color-grey);
  max-width: 620px;
  margin-bottom: var(--space-lg);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.page-hero {
  position: relative;
  background-color: var(--color-black);
  color: var(--color-white);
  padding: 160px 0 var(--space-xl);
  overflow: hidden;
}
.page-hero .hero-bg { opacity: 0.32; }
.page-hero .hero-content { padding-top: 0; max-width: 780px; }
.page-hero h1 { color: var(--color-white); }
.page-hero .breadcrumb {
  position: relative;
  z-index: 2;
  font-size: var(--fs-14);
  color: var(--color-grey);
  margin-bottom: var(--space-md);
}
.page-hero .breadcrumb a { color: var(--color-gold); }
.page-hero .breadcrumb a:hover { text-decoration: underline; }

/* ---------- Hero diagonal cut (transition into next section) ---------- */
.hero::before,
.hero::after,
.page-hero::before,
.page-hero::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  pointer-events: none;
}
.hero::before,
.page-hero::before {
  height: 59px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-gold-light));
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}
.hero::after,
.page-hero::after {
  height: 56px;
  background: var(--color-cream);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
}
@media (max-width: 640px) {
  .hero::before, .page-hero::before { height: 35px; }
  .hero::after, .page-hero::after { height: 32px; }
}

/* ---------- Marquee ticker ---------- */
.marquee {
  position: relative;
  background: linear-gradient(180deg, #121110 0%, #0a0a0a 60%, #121110 100%);
  border-top: 1px solid rgba(192,145,60,0.3);
  border-bottom: 1px solid rgba(192,145,60,0.3);
  overflow: hidden;
  padding: 20px 0;
  mask-image: linear-gradient(90deg, transparent 0, #000 64px, #000 calc(100% - 64px), transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 64px, #000 calc(100% - 64px), transparent 100%);
}
.marquee.marquee-light {
  padding: 14px 0;
}
.marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: marquee-scroll 32s linear infinite;
}
.marquee-track span {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-22);
  letter-spacing: 0.04em;
  color: var(--color-gold-light);
  text-shadow: 0 0 18px rgba(192,145,60,0.35);
  white-space: nowrap;
  padding: 0 var(--space-md);
}
.marquee.marquee-light .marquee-track span {
  font-size: var(--fs-16);
  text-shadow: none;
}
.marquee-track span::after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: var(--space-md);
  background-color: var(--color-gold);
  opacity: 0.7;
  transform: rotate(45deg);
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; overflow-x: auto; }
}

/* ---------- Intro (2 col) ---------- */
.intro-grid {
  display: grid;
  gap: var(--space-lg);
  align-items: center;
}
@media (min-width: 1024px) {
  .intro-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
  }
  .intro-grid.reverse {
    direction: rtl;
  }
  .intro-grid.reverse > * { direction: ltr; }
}
.intro-grid img {
  border-radius: var(--radius);
  width: 100%;
  aspect-ratio: 5/6;
  object-fit: cover;
}
.intro-grid video {
  border-radius: var(--radius);
  width: 100%;
  aspect-ratio: 1746/1296;
  object-fit: cover;
}
.intro-text p { margin-bottom: var(--space-sm); color: var(--color-text-dark); }
.intro-text p:last-child { margin-bottom: 0; }

/* ---------- Cards grid (diensten) ---------- */
.card-grid {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
}

.card {
  background-color: var(--color-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.card:hover, .card:focus-within {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(0,0,0,0.14);
}
.card-media {
  overflow: hidden;
  aspect-ratio: 4/3;
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.card:hover .card-media img { transform: scale(1.08); }
.card-body {
  padding: var(--space-md);
  flex: 1;
  display: flex;
  flex-direction: column;
}
.card-body h3 { margin-bottom: 8px; }
.card-body p { color: var(--color-grey); font-size: var(--fs-16); flex: 1; margin-bottom: var(--space-sm); }
.card-link {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--color-gold-text-on-cream);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.card-link svg { transition: transform var(--transition); }
.card-link:hover svg, .card:hover .card-link svg { transform: translateX(4px); }

/* ---------- USP section ---------- */
.usp-grid {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .usp-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .usp-grid.cols-5 { grid-template-columns: repeat(5, 1fr); }
  .usp-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
}
.usp-item {
  padding: var(--space-md);
}
.usp-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: rgba(201,162,75,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-sm);
}
.usp-icon svg { width: 26px; height: 26px; stroke: var(--color-gold); }
.usp-item h3 { margin-bottom: 6px; font-size: var(--fs-18); }
.usp-item p { color: var(--color-grey); font-size: var(--fs-16); }
.section-dark .usp-item p, .section-soft .usp-item p { color: var(--color-grey); }

/* ---------- Werkwijze steps ---------- */
.steps {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}
@media (min-width: 1024px) {
  .steps {
    flex-direction: row;
    gap: var(--space-sm);
  }
}
.step {
  flex: 1;
  padding: var(--space-md);
  background-color: var(--color-white);
  border-radius: var(--radius);
  position: relative;
}
.step-number {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-36);
  color: var(--color-gold-text-on-cream);
  margin-bottom: var(--space-xs);
  display: block;
}
.step h3 { margin-bottom: 6px; }
.step p { color: var(--color-grey); }

/* ---------- Projects preview / gallery ---------- */
.project-grid {
  display: grid;
  gap: var(--space-sm);
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .project-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .project-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
  .project-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
}
.project-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.project-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.project-item:hover img { transform: scale(1.08); }
.project-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: var(--space-sm);
  background: linear-gradient(180deg, transparent, rgba(10,10,10,0.85));
  color: var(--color-white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--fs-16);
}
.project-tag {
  display: block;
  font-size: 12px;
  color: var(--color-gold);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ---------- CTA band ---------- */
.cta-band {
  text-align: center;
}
.cta-band h2 { color: var(--color-white); margin-bottom: var(--space-sm); }
.cta-band .eyebrow { color: var(--color-gold); }
.cta-band p {
  color: var(--color-grey);
  max-width: 600px;
  margin: 0 auto var(--space-lg);
  font-size: var(--fs-18);
}
.cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

/* ---------- Footer ---------- */
.site-footer {
  background-color: var(--color-black);
  color: var(--color-grey);
  padding-top: var(--space-xl);
}
.footer-grid {
  display: grid;
  gap: var(--space-lg);
  grid-template-columns: 1fr;
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
}
.footer-brand img {
  height: 84px;
  width: auto;
  margin-bottom: var(--space-md);
}
.footer-brand p { max-width: 320px; font-size: var(--fs-14); }
.footer-col h4 {
  color: var(--color-white);
  font-size: var(--fs-16);
  margin-bottom: var(--space-sm);
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: var(--fs-14); transition: color var(--transition); }
.footer-col a:hover, .footer-col a:focus-visible { color: var(--color-gold); }
.footer-col address { font-style: normal; font-size: var(--fs-14); line-height: 1.8; }
.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  padding: var(--space-md) 0 var(--space-lg);
}
@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}
.footer-bottom-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.footer-copyright,
.footer-credit,
.footer-legal a {
  font-size: var(--fs-14);
}
.footer-copyright { color: var(--color-grey); }
.footer-credit { color: var(--color-grey); }
.footer-credit a { color: var(--color-gold); font-weight: 600; }
.footer-credit a:hover { text-decoration: underline; }
.footer-legal {
  display: flex;
  align-items: center;
  gap: var(--space-sm) var(--space-lg);
  flex-wrap: wrap;
}
@media (min-width: 768px) {
  .footer-legal { justify-content: flex-end; }
}

/* ---------- Project carrousel ---------- */
.carousel {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: var(--color-black-soft);
  box-shadow: var(--shadow-md);
}
.carousel-viewport { overflow: hidden; }
.carousel-track {
  display: flex;
  transition: transform 0.45s ease;
}
.carousel-slide {
  flex: 0 0 100%;
  aspect-ratio: 16 / 10;
}
.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background-color: rgba(10, 10, 10, 0.65);
  color: var(--color-gold);
  cursor: pointer;
  transition: background-color var(--transition), transform var(--transition);
  z-index: 2;
}
.carousel-btn svg { width: 24px; height: 24px; }
.carousel-btn:hover, .carousel-btn:focus-visible {
  background-color: var(--color-black);
  transform: translateY(-50%) scale(1.06);
}
.carousel-prev { left: var(--space-sm); }
.carousel-next { right: var(--space-sm); }
.carousel-counter {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  padding: 6px 14px;
  border-radius: 999px;
  background-color: rgba(10, 10, 10, 0.65);
  color: var(--color-white);
  font-size: var(--fs-14);
  font-weight: 500;
  letter-spacing: 0.04em;
  z-index: 2;
}
.carousel-dots {
  position: absolute;
  bottom: var(--space-sm);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 2;
}
.carousel-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background-color: rgba(250, 249, 246, 0.45);
  cursor: pointer;
  transition: background-color var(--transition), transform var(--transition);
}
.carousel-dot:hover { background-color: rgba(250, 249, 246, 0.8); }
.carousel-dot.active {
  background-color: var(--color-gold);
  transform: scale(1.25);
}
@media (max-width: 767px) {
  .carousel-btn { width: 40px; height: 40px; }
  .carousel-dots { display: none; }
}
.carousel-note {
  margin-top: var(--space-sm);
  font-size: var(--fs-14);
  color: var(--color-grey);
  text-align: center;
}
.carousel-note a {
  color: var(--color-gold-dark, #9c7a2e);
  font-weight: 600;
}
.carousel-note a:hover { text-decoration: underline; }

/* ---------- Instagram band ---------- */
.instagram-band { padding: var(--space-xl) 0; }
.instagram-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  text-align: center;
}
.instagram-icon {
  width: 52px;
  height: 52px;
  color: var(--color-gold);
  flex-shrink: 0;
}
.instagram-inner h2 { color: var(--color-white); margin-bottom: 8px; }
.instagram-inner p { color: var(--color-grey); }
@media (min-width: 768px) {
  .instagram-inner {
    flex-direction: row;
    text-align: left;
    justify-content: center;
    gap: var(--space-lg);
  }
}

/* ---------- Cookie banner ---------- */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2000;
  background-color: var(--color-black-soft);
  color: var(--color-white);
  padding: var(--space-md);
  display: none;
  flex-direction: column;
  gap: var(--space-sm);
  box-shadow: 0 -8px 30px rgba(0,0,0,0.4);
  border-top: 1px solid rgba(201,162,75,0.3);
}
@media (min-width: 768px) {
  #cookie-banner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-md) var(--space-lg);
  }
}
#cookie-banner p { font-size: var(--fs-14); max-width: 600px; }
#cookie-banner a { color: var(--color-gold); text-decoration: underline; }
.cookie-actions { display: flex; gap: var(--space-sm); flex-shrink: 0; }
.cookie-actions button { padding: 10px 22px; border-radius: var(--radius); font-family: var(--font-display); font-weight: 600; font-size: var(--fs-14); }
#accept-cookies { background-color: var(--color-gold); color: var(--color-black); }
#accept-cookies:hover { background-color: var(--color-gold-light); }
#reject-cookies { background-color: transparent; color: var(--color-white); border: 1px solid rgba(255,255,255,0.3); }
#reject-cookies:hover { border-color: var(--color-gold); color: var(--color-gold); }

/* ---------- Forms ---------- */
.form-card {
  background-color: var(--color-white);
  border: 1px solid rgba(10,10,10,0.08);
  border-radius: var(--radius);
  padding: var(--space-lg) var(--space-md);
  box-shadow: 0 2px 12px rgba(10,10,10,0.05);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0 var(--space-sm);
}
@media (min-width: 560px) {
  .form-row.cols-2 { grid-template-columns: 1fr 1fr; }
}
.form-group {
  margin-bottom: var(--space-sm);
}
.form-group label {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--color-text-dark);
  margin-bottom: 7px;
}
.optional-label {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 12px;
  color: var(--color-grey);
  text-transform: none;
  letter-spacing: normal;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: var(--fs-16);
  border: 1.5px solid #e2ded2;
  border-radius: 4px;
  background-color: var(--color-cream);
  color: var(--color-text-dark);
  transition: border-color var(--transition), background-color var(--transition), box-shadow var(--transition);
}
.form-group input:hover,
.form-group textarea:hover {
  border-color: #cfc9b8;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-gold);
  background-color: var(--color-white);
  box-shadow: 0 0 0 3px rgba(192,145,60,0.15);
}
.form-group input.invalid,
.form-group textarea.invalid {
  border-color: #b3413c;
}
.form-group textarea { resize: vertical; min-height: 110px; }

.file-upload {
  position: relative;
  border: 1.5px dashed #d8d3c2;
  border-radius: 4px;
  background-color: var(--color-cream);
  padding: var(--space-md);
  text-align: center;
  transition: border-color var(--transition), background-color var(--transition);
}
.file-upload.dragover {
  border-color: var(--color-gold);
  background-color: rgba(192,145,60,0.08);
}
.file-upload input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}
.file-upload-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--color-grey);
  font-size: 13px;
  pointer-events: none;
}
.file-upload-label svg {
  width: 26px;
  height: 26px;
  color: var(--color-gold-text-on-cream);
}
.file-upload-label strong {
  color: var(--color-text-dark);
  font-family: var(--font-display);
  font-weight: 600;
}
.file-upload-list {
  position: relative;
  z-index: 2;
  list-style: none;
  margin-top: var(--space-sm);
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.file-upload-list:empty { margin-top: 0; }
.file-upload-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 12px;
  background-color: var(--color-white);
  border: 1px solid #e2ded2;
  border-radius: 4px;
  font-size: 13px;
  color: var(--color-text-dark);
}
.file-upload-item span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.file-upload-item button {
  flex-shrink: 0;
  background: none;
  border: none;
  color: var(--color-grey);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  padding: 0 2px;
}
.file-upload-item button:hover { color: #b3413c; }
.field-hint {
  display: block;
  color: var(--color-grey);
  font-size: 12px;
  margin-top: 6px;
}
.error-msg {
  display: block;
  color: #b3413c;
  font-size: 13px;
  margin-top: 6px;
  min-height: 1em;
}
.form-note {
  font-size: var(--fs-14);
  color: var(--color-grey);
  margin-top: var(--space-sm);
  text-align: center;
}
#contact-form .btn-block {
  margin-top: var(--space-xs);
}

.contact-grid {
  display: grid;
  gap: var(--space-xl);
  grid-template-columns: 1fr;
}
@media (min-width: 1024px) {
  .contact-grid { grid-template-columns: 1fr 1fr; }
}
.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-top: var(--space-md);
}
.contact-info-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.contact-info-item svg { flex-shrink: 0; width: 24px; height: 24px; stroke: var(--color-gold-text-on-cream); margin-top: 3px; }
.contact-info-item a:hover { color: var(--color-gold-text-on-cream); }
.map-embed {
  margin-top: var(--space-lg);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16/9;
}
.map-embed iframe { width: 100%; height: 100%; border: 0; }

/* ---------- Modal ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(10,10,10,0.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 3000;
  padding: var(--space-md);
}
.modal-overlay.open { display: flex; }
.modal {
  background-color: var(--color-white);
  border-radius: var(--radius);
  padding: var(--space-lg);
  max-width: 440px;
  width: 100%;
  position: relative;
  text-align: center;
}
.modal-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: rgba(201,162,75,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-md);
}
.modal-icon svg { width: 28px; height: 28px; stroke: var(--color-gold-text-on-cream); }
.modal h3 { margin-bottom: var(--space-sm); }
.modal p { color: var(--color-grey); margin-bottom: var(--space-md); }
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 20px;
  color: var(--color-grey);
}
.modal-close:hover { background-color: var(--color-cream); color: var(--color-text-dark); }

/* ---------- 404 ---------- */
.error-page {
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-color: var(--color-black);
  color: var(--color-white);
  padding: var(--space-xl) var(--space-md);
}
.error-page .error-code {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 7rem;
  color: var(--color-gold);
  line-height: 1;
}
.error-page h1 { color: var(--color-white); margin: var(--space-sm) 0; }
.error-page p { color: var(--color-grey); max-width: 480px; margin: 0 auto var(--space-lg); font-size: var(--fs-18); }
.error-actions { display: flex; gap: var(--space-sm); justify-content: center; flex-wrap: wrap; }

/* ---------- Legal pages ---------- */
.legal-content {
  max-width: 800px;
}
.legal-content h2 { margin-top: var(--space-lg); margin-bottom: var(--space-sm); }
.legal-content h2:first-child { margin-top: 0; }
.legal-content p, .legal-content li { margin-bottom: var(--space-sm); color: var(--color-text-dark); }
.legal-content ul { list-style: disc; padding-left: 1.4em; }
.legal-content ul li { list-style: disc; }
.legal-content ol { list-style: decimal; padding-left: 1.4em; }
.legal-content ol li { list-style: decimal; padding-left: 0.3em; }
.legal-content h3 { margin-top: var(--space-md); margin-bottom: var(--space-xs); }
.legal-content h2 + h3 { margin-top: 0; }

/* ---------- Reveal animation base (also in animations.css) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-lg { margin-top: var(--space-lg); }
.mb-lg { margin-bottom: var(--space-lg); }
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Sitelist page (werkgebied/diensten overview cards with icons) ---------- */
.city-grid {
  display: grid;
  gap: var(--space-md);
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .city-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .city-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Breadcrumb on light pages ---------- */
.breadcrumb-light {
  font-size: var(--fs-14);
  color: var(--color-grey);
  margin-bottom: var(--space-md);
}
.breadcrumb-light a { color: var(--color-gold-text-on-cream); }
.breadcrumb-light a:hover { text-decoration: underline; }

/* ── FAQ (homepage) ─────────────────────────────────────────── */
.faq-accordion { max-width: 760px; margin: 0 auto; }
.faq-accordion .faq-item {
  border-bottom: 1px solid rgba(26, 26, 24, 0.12);
}
.faq-accordion summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) 0;
  font-family: var(--font-display);
  font-size: var(--fs-18);
  font-weight: 600;
  color: var(--color-text-dark);
}
.faq-accordion summary::-webkit-details-marker { display: none; }
.faq-accordion summary::after {
  content: "+";
  font-size: var(--fs-22);
  color: var(--color-gold-text-on-cream);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.faq-accordion details[open] summary::after { transform: rotate(45deg); }
.faq-accordion summary:hover { color: var(--color-gold-text-on-cream); }
.faq-accordion .faq-item p {
  font-family: var(--font-body);
  font-size: var(--fs-16);
  color: var(--color-grey);
  line-height: 1.7;
  padding-bottom: var(--space-md);
  margin: 0;
}

/* ── Leesbaarheid donkere secties + zichtbare prose-links ────────────
   .intro-text p forceert --color-text-dark en de FAQ-accordeon is op de
   crème-homepage ontworpen; binnen .section-dark/.section-soft was die
   tekst vrijwel onzichtbaar. Prose-links erfden bovendien overal de
   tekstkleur (a { color: inherit }) en waren niet als link herkenbaar. */
.intro-text p a {
  color: var(--color-gold-text-on-cream);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.section-dark .intro-text p, .section-soft .intro-text p { color: var(--color-cream); }
.section-dark .intro-text p a, .section-soft .intro-text p a { color: var(--color-gold-light); }
.section-dark .faq-accordion summary { color: var(--color-white); }
.section-dark .faq-accordion summary:hover { color: var(--color-gold); }
.section-dark .faq-accordion summary::after { color: var(--color-gold); }
.section-dark .faq-accordion .faq-item { border-bottom-color: rgba(250, 249, 246, 0.15); }

/* Ademruimte tussen kop en proza in intro-secties (koppen hebben door de
   reset geen eigen marge; gold site-breed, opgemerkt op funderingsherstel). */
.intro-text h2 { margin-bottom: var(--space-md); }
