/* ============================================================
   BOVECO — All Styles
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;600;700;900&display=swap');

:root {
  --gold: #CEA549;
  --gold-bar: #C4A361;
  --black: #000000;
  --white: #FFFFFF;
  --grey: #F0F0F0;
  --text-muted: #6B6B6B;
  --border: #CCCCCC;
  --font: 'Cairo', 'Helvetica Neue', Arial, sans-serif;
  --ease-lux: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 300ms;
  --dur-crawl: 1400ms;
  --pad: 90px;
}

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

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

body {
  font-family: var(--font);
  color: var(--black);
  background: var(--white);
  overflow-x: hidden;
}

p {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-weight: 400;
  line-height: 1;
}

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

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

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

ul,
ol {
  list-style: none;
}

address {
  font-style: normal;
}

/* ── Overline ── */
.overline {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.6875rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.overline::before {
  content: '';
  display: inline-block;
  width: 11px;
  height: 15px;
  background: url('/images/icon-mark.svg') center/contain no-repeat;
  flex-shrink: 0;
}

/* ── Text link (underline style like Figma) ── */
.text-link {
  display: inline-block;
  font-family: var(--font);
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--black);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 1px;
  margin-top: 1.75rem;
  transition: opacity var(--dur-fast) var(--ease-lux);
}

.text-link:hover {
  opacity: 0.55;
}

/* ── Scroll reveal ── */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity var(--dur-crawl) var(--ease-out),
    transform var(--dur-crawl) var(--ease-out);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

[data-reveal-delay="1"] {
  transition-delay: 100ms;
}

[data-reveal-delay="2"] {
  transition-delay: 220ms;
}

[data-reveal-delay="3"] {
  transition-delay: 340ms;
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 768px) {
  :root {
    --pad: 24px;
  }

  h1,
  h2 {
    font-size: clamp(1.625rem, 6vw, 2.25rem) !important;
  }
}


/* ══════════════════════════════════════
   NAVIGATIE
══════════════════════════════════════ */
.nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  overflow: visible;
  transition: background 300ms var(--ease-lux), box-shadow 300ms var(--ease-lux);
}

.nav.sticky {
  position: fixed;
  top: 0;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 1px 24px rgba(0, 0, 0, .08);
}

.nav__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 80px var(--pad);
}

.nav.sticky .nav__inner {
  padding: 20px var(--pad);
  transition: none;
}

.nav__slot--left {
  justify-self: start;
}

.nav__slot--center {
  justify-self: center;
}

.nav__slot--right {
  justify-self: end;
}

.nav__logo img {
  height: 54px;
  width: auto;
  object-fit: contain;
}

.nav:not(.sticky):not(.nav--light) .nav__logo img {
  filter: brightness(0) invert(1);
}

/* Inline SVG logo: letters wit op hero, zwart na scroll; icoontje altijd goud */
.nav__logo-svg {
  height: 54px;
  width: auto;
  display: block;
}

.nav__logo-svg .nav__logo-letters {
  fill: #000;
  transition: fill 300ms;
}

.nav__logo-svg .nav__logo-icon {
  fill: #CEA549;
}

.nav:not(.sticky) .nav__logo-svg .nav__logo-letters {
  fill: #fff;
}

.nav.sticky .nav__logo-svg .nav__logo-letters {
  fill: #000;
}

.nav--light {
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 1px 24px rgba(0, 0, 0, .08);
  position: fixed;
}

.nav--light .nav__meer-btn {
  color: var(--black);
}

.nav--light .nav__inner {
  padding: 20px var(--pad);
}

/* Meer knop */
.nav__meer {
  position: relative;
}

.nav__meer-btn {
  font-family: var(--font);
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--white);
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 0;
  letter-spacing: 0.03em;
  transition: color 200ms;
}

.nav.sticky .nav__meer-btn {
  color: var(--black);
}

.nav__meer-btn:hover {
  opacity: 0.6;
}

.nav__meer-arrow {
  font-size: 10px;
  display: inline-block;
  transition: transform 200ms;
}

.nav__meer.open .nav__meer-arrow {
  transform: rotate(180deg);
}

/* Dropdown */
.nav__dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 4px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
  min-width: 180px;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 200ms ease, visibility 200ms ease, transform 200ms ease;
  z-index: 200;
}

.nav__meer.open .nav__dropdown,
.nav__meer:hover .nav__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav__dropdown-link {
  display: block;
  padding: 0.75rem 1.25rem;
  font-size: 0.9375rem;
  color: var(--black);
  border-bottom: 1px solid rgba(0, 0, 0, .06);
  transition: color 150ms;
}

.nav__dropdown-link:last-child {
  border-bottom: none;
}

.nav__dropdown-link:hover {
  color: var(--gold);
}

/* Mobiel */
@media (max-width: 768px) {
  .nav {
    position: fixed !important;
    background: var(--white) !important;
    box-shadow: 0 1px 24px rgba(0, 0, 0, .08) !important;
    height: 60px;
  }

  .nav__inner {
    height: 60px;
    padding: 0 var(--pad);
  }

  .nav__logo img,
  .nav__logo-svg {
    filter: none !important;
    height: 29px !important;
    width: auto !important;
    margin-bottom: 8px !important;
    padding-bottom: 0 !important;
  }

  .nav__logo-svg .nav__logo-letters {
    fill: #000 !important;
  }

  .nav__meer-btn {
    color: var(--black);
  }

  .nav__dropdown {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    width: 100%;
    min-width: unset;
    border-radius: 0;
    border-left: none;
    border-right: none;
    border-top: 1px solid rgba(0, 0, 0, .06);
  }

  .nav__dropdown-link {
    padding: 1rem var(--pad);
    font-size: 1.1rem;
  }
}


/* ══════════════════════════════════════
   HERO
══════════════════════════════════════ */
.hero {
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 580px;
  padding: 40px;
  box-sizing: border-box;
}

.hero__img {
  position: absolute;
  inset: 40px;
  width: calc(100% - 80px);
  height: calc(100% - 80px);
  object-fit: cover;
  object-position: center center;
  border-radius: 4px;

}

.hero__overlay {
  position: absolute;
  inset: 40px;
  width: calc(100% - 80px);
  height: calc(100% - 80px);
  border-radius: 4px;
  background: linear-gradient(to top,
      rgba(0, 0, 0, 0.5) 0%,
      rgba(0, 0, 0, 0.1) 45%,
      transparent 100%);
  pointer-events: none;
}

@media (max-width: 768px) {
  .hero {
    padding: 0;
  }

  .hero__img {
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 0;
  }

  .hero__overlay {
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 0;
  }

  .hero__content {
    bottom: 5rem;
    left: 10px !important;
    right: 10px !important;
    max-width: 100%;
  }

  .hero__title {
    font-size: 1.75rem;
  }

  .hero__sub {
    max-width: 100%;
    margin-bottom: 1rem;
  }

  .hero__scroll {
    right: 20px;
    bottom: 2rem;
  }
}

.hero__content {
  position: absolute;
  bottom: calc(40px + 40px);
  left: var(--pad);
  right: var(--pad);
  max-width: 680px;
  z-index: 1;
}

.hero__title {
  font-size: clamp(1.875rem, 4.5vw, 3.25rem);
  font-weight: 600;
  line-height: 1.18;
  color: var(--white);
  margin-bottom: 0.875rem;
}

.hero__sub {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 0.9375rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.78;
  max-width: 500px;
  margin-bottom: 1.5rem;
}

.hero__cta {
  display: inline-block;
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--white);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 1px;
  transition: opacity var(--dur-fast) var(--ease-lux);
}

.hero__cta:hover {
  opacity: 0.55;
}

.hero__scroll {
  position: absolute;
  bottom: clamp(2.5rem, 5vh, 4rem);
  right: var(--pad);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.hero__scroll-label {
  font-size: 0.5625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  writing-mode: vertical-lr;
  user-select: none;
}

.hero__scroll-line {
  width: 1px;
  height: 44px;
  background: rgba(255, 255, 255, 0.5);
  animation: scrollPulse 2.2s ease-in-out infinite;
}

@keyframes scrollPulse {

  0%,
  100% {
    opacity: 0.35;
    transform: scaleY(1);
    transform-origin: top;
  }

  50% {
    opacity: 1;
    transform: scaleY(0.55);
    transform-origin: top;
  }
}


/* ══════════════════════════════════════
   OVER ONS
══════════════════════════════════════ */
.about {
  display: grid;
  grid-template-columns: 45fr 55fr;
  min-height: 80vh;
  padding-bottom: 40px;
}

.about__photo-col {
  overflow: hidden;
  padding: 40px 40px 40px 0;
}

.about__photo-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  border-radius: 4px;
}

.about__text-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3rem, 7vw, 5.5rem) clamp(2.5rem, 5vw, 4.5rem);
}

.about__text-col h2 {
  font-size: clamp(1.875rem, 3.5vw, 2.625rem);
  font-weight: 600;
  line-height: 1.18;
  margin-bottom: 1.25rem;
}

.about__text-col p {
  font-size: 0.9375rem;
  line-height: 1.78;
  color: var(--text-muted);
  max-width: 42ch;
}

.about--reversed {
  grid-template-columns: 55fr 45fr;
  height: 80vh;
  min-height: 600px;
}

.about__photo-col--left {
  padding: 40px 40px 40px var(--pad);
  height: 100%;
}

.about__photo-col--left .about-slider {
  height: 100%;
}

/* Slider in about--reversed */
.about-slider {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 4px;
  overflow: hidden;
}

.about-slider__track {
  display: flex;
  height: 100%;
  transition: transform 700ms cubic-bezier(0.76, 0, 0.24, 1);
}

.about-slider__slide {
  flex: 0 0 100%;
  height: 100%;
}

.about-slider__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0;
}

.about-slider__prev,
.about-slider__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, .85);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: background 200ms, opacity 200ms;
}

.about-slider__prev:hover,
.about-slider__next:hover {
  background: #fff;
}

.about-slider__prev {
  left: 12px;
}

.about-slider__next {
  right: 12px;
}

.about-slider__dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2;
}

.about-slider__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .5);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 200ms, transform 200ms;
}

.about-slider__dot.active {
  background: #fff;
  transform: scale(1.3);
}

@media (max-width: 768px) {
  .about {
    display: flex;
    flex-direction: column;
    padding-bottom: 0;
  }

  .about__photo-col {
    height: 70vw;
    padding: 0;
  }

  .about__photo-col--left {
    padding: 0;
  }

  .about__text-col {
    padding: 2rem var(--pad) 2rem;
  }
}


/* ══════════════════════════════════════
   SERVICES TRIO
══════════════════════════════════════ */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  padding: 0 40px 40px;
  scroll-margin-top: 100px;
}

.service-block {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  display: block;
  cursor: pointer;
}

.service-block img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms var(--ease-lux);
}

.service-block:hover img {
  transform: scale(1.05);
}

.service-block::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(0, 0, 0, 0.55) 0%,
      rgba(0, 0, 0, 0.1) 45%,
      transparent 100%);
  pointer-events: none;
}

.service-block__label {
  position: absolute;
  bottom: 2rem;
  left: 0;
  right: 0;
  z-index: 1;
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}

.service-block__name {
  display: inline-block;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 4px;
}

@media (max-width: 768px) {
  .services {
    grid-template-columns: 1fr;
    padding: 0 0 24px 0;
    gap: 10px;
  }

  .service-block {
    aspect-ratio: 16 / 9;
    border-radius: 0;
  }
}


/* ══════════════════════════════════════
   TECHNIEKEN
══════════════════════════════════════ */
.tech__split {
  display: grid;
  grid-template-columns: 40fr 60fr;
  min-height: 70vh;
}

.tech__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3rem, 7vw, 5.5rem) clamp(2.5rem, 5vw, 4.5rem);
}

.tech__text h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.tech__text p {
  font-size: 0.9375rem;
  line-height: 1.78;
  color: var(--text-muted);
  max-width: 42ch;
}

.tech__photo {
  overflow: hidden;
  padding: 40px 40px 40px 0;
}

.tech__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

/* 2×2 grid below the split */
.tech__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.tech__grid-item {
  aspect-ratio: 1;
  overflow: hidden;
  margin: 0;
}

.tech__grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms var(--ease-lux);
}

.tech__grid-item:hover img {
  transform: scale(1.04);
}

@media (max-width: 768px) {
  .tech__split {
    grid-template-columns: 1fr;
  }

  .tech__photo {
    height: 60vw;
  }

  .tech__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* ══════════════════════════════════════
   REALISATIES
══════════════════════════════════════ */
.realisaties__top {
  display: grid;
  grid-template-columns: 60fr 40fr;
  align-items: stretch;
  min-height: 60vh;
  padding: 40px var(--pad);
  gap: 40px;
}

.realisaties__hero-img {
  margin: 0;
  overflow: hidden;
  border-radius: 4px;
  height: 100%;
  min-height: 480px;
}

.realisaties__hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.realisaties__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0;
}

.realisaties__text h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.realisaties__text p {
  font-size: 0.9375rem;
  line-height: 1.78;
  color: var(--text-muted);
  max-width: 36ch;
}

.realisaties__bottom {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  height: 450px;
  padding: 15px 40px 40px;
  gap: 15px;
}

.real-bottom-item {
  margin: 0;
  overflow: hidden;
  border-radius: 4px;
}

.real-bottom-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms var(--ease-lux);
}

.real-bottom-item:hover img {
  transform: scale(1.04);
}

@media (max-width: 768px) {
  .realisaties__top {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .realisaties__hero-img {
    height: 70vw;
    border-radius: 0;
  }

  .realisaties__text {
    padding: 2rem var(--pad) 1.5rem;
  }

  .realisaties__bottom {
    grid-template-columns: 1fr;
    height: auto;
    padding: 10px 0 24px;
    gap: 10px;
  }

  .real-bottom-item {
    height: 56vw;
    border-radius: 0;
  }
}


/* ══════════════════════════════════════
   CONTACT
══════════════════════════════════════ */
.contact {
  background: var(--grey);
}

.contact__divider {
  display: flex;
  align-items: center;
  padding: 3.5rem var(--pad) 0;
  max-width: 1320px;
  margin-inline: auto;
}

.contact__divider::before,
.contact__divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.contact__divider::before {
  margin-right: 1.25rem;
}

.contact__divider::after {
  margin-left: 1.25rem;
}

.contact__divider img {
  flex-shrink: 0;
  width: 20px;
  height: auto;
  object-fit: contain;
}

.contact__body {
  display: grid;
  grid-template-columns: 1fr 2fr;
  max-width: 1320px;
  margin-inline: auto;
  padding: 3rem var(--pad) 4.5rem;
  gap: clamp(2rem, 5vw, 4rem);
}

/* Left: brand */
.contact__brand {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  padding-top: 0.5rem;
}

.contact__logo img {
  height: 27px;
  width: auto;
  object-fit: contain;
}

.contact__address {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
}

.contact__pin {
  flex-shrink: 0;
  margin-top: 3px;
  width: 12px;
  height: 16px;
}

.contact__address div {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.contact__socials {
  display: flex;
  gap: 1rem;
}

.contact__social {
  color: var(--gold);
  transition: opacity var(--dur-fast);
  display: flex;
  align-items: center;
}

.contact__social:hover {
  opacity: 0.65;
}

.contact__brand { align-self: stretch; }

.contact__socials-photo {
  position: relative;
  margin-top: 0.5rem;
  border-radius: 4px;
  overflow: hidden;
  flex: 1 1 0;
  min-height: 0;
  max-width: 480px;
  width: 100%;
}
.contact__socials-photo img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow, 0.6s) ease;
}
.contact__socials-photo:hover img { transform: scale(1.02); }

/* Right: form */
.contact__form-col h2 {
  font-size: clamp(1.375rem, 2.5vw, 1.875rem);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--black);
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-bottom: 2rem;
}

.contact__info a,
.contact__info span {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.contact__info a:hover {
  color: var(--black);
}

/* Form */
.contact__form {
  display: flex;
  flex-direction: column;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 2.5rem;
}

.form-field {
  border-bottom: 1px solid #333;
  margin-bottom: 1.75rem;
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-field input,
.form-field textarea {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  padding: 0.5rem 0 0.625rem;
  font-family: var(--font);
  font-size: 0.9375rem;
  font-weight: 300;
  color: var(--black);
  resize: none;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #999;
  font-weight: 300;
}

.form-check-row {
  margin-bottom: 1.75rem;
}

.form-check {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  cursor: pointer;
}

.form-check input[type="checkbox"] {
  width: 14px;
  height: 14px;
  border: 1px solid #888;
  border-radius: 2px;
  flex-shrink: 0;
  cursor: pointer;
  accent-color: var(--gold);
}

.form-check span {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.form-submit {
  align-self: flex-start;
  font-family: var(--font);
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--black);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--black);
  padding-bottom: 2px;
  cursor: pointer;
  transition: opacity var(--dur-fast) var(--ease-lux);
}

.form-submit:hover {
  opacity: 0.45;
}

@media (max-width: 768px) {
  .contact__body {
    grid-template-columns: 1fr;
  }

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

  .contact__socials-photo {
    flex: 0 0 auto;
    aspect-ratio: 3 / 2;
    height: auto;
  }
}


/* ══════════════════════════════════════
   FOOTER BAR
══════════════════════════════════════ */
.footer {
  background: var(--gold-bar);
  padding: 1rem var(--pad);
}

.footer__inner {
  max-width: 1320px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.footer__links {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.8125rem;
  color: var(--white);
}

.footer__links a {
  color: var(--white);
  transition: opacity var(--dur-fast);
}

.footer__links a:hover {
  opacity: 0.7;
}

.footer__dash {
  opacity: 0.5;
  margin: 0 0.25rem;
}

@media (max-width: 768px) {
  .footer__inner {
    justify-content: center;
  }

  .footer__links {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    gap: 0.375rem;
    font-size: 0.75rem;
  }
}
/* ============================================================
   COOKIE CONSENT
   ============================================================ */
.cc {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}
.cc.cc--open { display: block; }

.cc__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.28);
  opacity: 0;
  transition: opacity var(--dur-fast) var(--ease-out);
}
.cc--open .cc__overlay { opacity: 1; }

.cc__panel {
  position: absolute;
  left: 50%;
  bottom: clamp(1rem, 3vw, 2.25rem);
  transform: translate(-50%, 24px);
  width: min(620px, calc(100vw - 2rem));
  max-height: calc(100vh - 4rem);
  overflow-y: auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  border-radius: 10px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
  padding: clamp(1.5rem, 4vw, 2.25rem);
  opacity: 0;
  transition: transform var(--dur-fast) var(--ease-out),
              opacity   var(--dur-fast) var(--ease-out);
}
.cc--open .cc__panel { transform: translate(-50%, 0); opacity: 1; }

.cc__title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.cc__body {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}
.cc__link {
  color: var(--black);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
}
.cc__link:hover { color: var(--gold); }

.cc__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.625rem;
  justify-content: flex-end;
}
.cc__btn {
  flex: 1 1 auto;
  min-width: 130px;
  padding: 0.75rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 6px;
  transition: background var(--dur-fast), color var(--dur-fast),
              border-color var(--dur-fast), opacity var(--dur-fast);
}
.cc__btn--solid {
  background: var(--gold);
  color: var(--black);
}
.cc__btn--solid:hover { background: var(--black); color: var(--white); }
.cc__btn--outline {
  background: transparent;
  color: var(--black);
  border: 1px solid var(--border);
}
.cc__btn--outline:hover { border-color: var(--black); }
.cc__btn--ghost {
  background: transparent;
  color: var(--text-muted);
  flex: 0 0 auto;
  min-width: 0;
}
.cc__btn--ghost:hover { color: var(--black); }

/* Voorkeuren */
.cc__cat {
  display: block;
  padding: 1rem 0;
  border-top: 1px solid var(--border);
  cursor: pointer;
}
.cc__cat:first-of-type { cursor: default; }
.cc__cat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.35rem;
}
.cc__cat-name { font-weight: 700; font-size: 0.9375rem; }
.cc__cat-always {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.cc__cat-desc {
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--text-muted);
}
.cc__prefs .cc__actions { margin-top: 1.5rem; }

/* Toggle switch */
.cc__switch { position: relative; display: inline-block; width: 42px; height: 24px; flex: 0 0 auto; }
.cc__switch input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.cc__slider {
  position: absolute;
  inset: 0;
  background: var(--border);
  border-radius: 999px;
  transition: background var(--dur-fast);
}
.cc__slider::before {
  content: '';
  position: absolute;
  width: 18px; height: 18px;
  left: 3px; top: 3px;
  background: var(--white);
  border-radius: 50%;
  transition: transform var(--dur-fast);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}
.cc__switch input:checked + .cc__slider { background: var(--gold); }
.cc__switch input:checked + .cc__slider::before { transform: translateX(18px); }
.cc__switch input:focus-visible + .cc__slider { outline: 2px solid var(--black); outline-offset: 2px; }

/* Heropenen */
.cc-reopen {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 9998;
  width: 44px; height: 44px;
  display: none;
  align-items: center;
  justify-content: center;
  background: var(--white);
  color: var(--black);
  border: 1px solid var(--border);
  border-radius: 50%;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.16);
  transition: transform var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast);
}
.cc-reopen--show { display: flex; }
.cc-reopen:hover { color: var(--gold); border-color: var(--gold); transform: translateY(-2px); }

@media (max-width: 520px) {
  .cc__panel { left: 0.5rem; right: 0.5rem; width: auto; transform: translateY(24px); }
  .cc--open .cc__panel { transform: translateY(0); }
  .cc__btn { min-width: 0; }
  .cc__btn--ghost { flex: 1 1 100%; order: 3; }
}
