/* ============================================================
   ADR Construct — Ademruimte landingspagina
   ============================================================ */

:root {
  --color-footer-green: #E9EBBB;
  --color-title-green: #A7BC41;
  --color-dark-green: #282D1F;
  --color-beige: #F8F2EA;

  --color-text-muted: #5C6152;
  --color-white: #FFFFFF;

  --font-display: "Fraunces", serif;
  --font-body: "Manrope", sans-serif;

  --container-width: 1760px;
  --gutter: clamp(24px, 5vw, 80px);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-dark-green);
  background: var(--color-beige);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
ul, ol { list-style: none; margin: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
button { font-family: inherit; cursor: pointer; }

:focus-visible {
  outline: 2px solid var(--color-title-green);
  outline-offset: 3px;
}

/* ---------- Utility ---------- */
.eyebrow {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-dark-green);
}

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 0;
  border-radius: 0;
  transition: background 0.25s ease, color 0.25s ease;
}
.btn--outline {
  border-bottom: 1px solid var(--color-dark-green);
  color: var(--color-dark-green);
  background: transparent;
}
.btn--outline:hover {
  background: var(--color-dark-green);
  color: var(--color-beige);
}

.divider {
  border: none;
  border-top: 1px solid rgba(40, 45, 31, 0.35);
  width: 100%;
  margin: 60px auto 0;
}

/* ============================================================
   ANIMATIES — subtiel en sereen (lichtgewicht)
   ============================================================ */

/* Hero: zachte inloop bij laden — kort en eenmalig, geen doorlopende kost */
.hero-in {
  animation: heroRise 1.1s cubic-bezier(.16,.8,.24,1) both;
  will-change: opacity, transform;
}
.hero-in--1 { animation-delay: .1s; }
.hero-in--2 { animation-delay: .25s; }
.hero-in--3 { animation-delay: .4s; }
.hero-in--4 { animation-delay: .5s; }

@keyframes heroRise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Scroll-reveal: basistoestand is goedkoop (geen permanente transition/laag). 
   De transition wordt pas dynamisch toegevoegd door script.js vlak voor het
   element in beeld komt, en nadien weer verwijderd — zo blijft de pagina
   niet vol staan met actieve compositing-lagen tijdens het scrollen. */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
}
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

.js .reveal-line {
  transform: scaleX(0);
  transform-origin: center;
}
.js .reveal-line.is-visible {
  transform: scaleX(1);
}

/* Zachte stagger voor kaarten en kolommen die samen verschijnen */
.aanbod__card.reveal:nth-child(2) { transition-delay: .08s; }
.aanbod__card.reveal:nth-child(3) { transition-delay: .16s; }

.footer__bottom .footer__col.reveal:nth-child(2) { transition-delay: .06s; }
.footer__bottom .footer__col.reveal:nth-child(3) { transition-delay: .12s; }

/* Reduced motion: alles onmiddellijk zichtbaar, geen beweging */
@media (prefers-reduced-motion: reduce) {
  .hero-in,
  .js .reveal,
  .js .reveal-line {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  display: flex;
  flex-wrap: wrap;
  height: 100vh;
  min-height: 640px;
}

.hero__image {
  position: relative;
  flex: 1 1 50%;
  height: 100%;
  overflow: hidden;
}
.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__logo {
  position: absolute;
  left: clamp(24px, 4vw, 56px);
  bottom: clamp(24px, 4vw, 48px);
  width: clamp(180px, 20vw, 260px);
}
.hero__logo img { width: 100%; height: auto; display: block; }

.hero__panel {
  flex: 1 1 50%;
  height: 100%;
  background: var(--color-dark-green);
  color: var(--color-beige);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(30px, 2vw, 60px) clamp(28px, 5vw, 72px);
  position: relative;
  overflow: hidden;
}

.hero__title-wrap {
  flex: 0 0 auto;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 2.2vw;
  line-height: 1;
  color: var(--color-title-green);
  max-width: 620px;
}

.hero__bottom-row {
  flex: 0 0 auto;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(20px, 3vw, 48px);
}

.hero__text {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 12px;
  line-height: 1.4;
  max-width: 380px;
  color: var(--color-beige);
  opacity: 1;
}

.hero__small-image {
  flex: 0 0 auto;
  width: min(240px, 34%);
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
  position: relative;
  z-index: 2;
}

/* ============================================================
   INTRO
   ============================================================ */
.intro {
  background: var(--color-beige);
  text-align: center;
  padding: clamp(70px, 10vw, 140px) var(--gutter) 60px;
}

.intro__text {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(15px, 2vw, 24px);
  line-height: 1.4;
  color: var(--color-dark-green);
  max-width: 980px;
  margin: 0 auto 40px;
}

/* ============================================================
   ONS AANBOD
   ============================================================ */
.aanbod {
  background: var(--color-beige);
  padding: 10px var(--gutter) 40px;
  max-width: var(--container-width);
  margin: 0 auto;
}

.aanbod .eyebrow { margin-bottom: 18px; }

.aanbod__title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 2vw;
  line-height: 1;
  color: var(--color-dark-green);
  max-width: 640px;
  margin-bottom: 64px;
}

.aanbod__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4vw, 56px);
}

.aanbod__number {
  display: block;
  font-family: var(--font-display);
  font-weight: 320;
  font-size: clamp(30px, 3vw, 40px);
  color: var(--color-title-green);
  margin-bottom: 18px;
}

.aanbod__rule {
  border: none;
  border-top: 1px solid rgba(40, 45, 31, 0.3);
  margin-bottom: 22px;
}

.aanbod__card-title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-dark-green);
  margin-bottom: 16px;
  margin-top: 10px;
}

.aanbod__card-text {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--color-text-muted);
  margin-bottom: 28px;
}

.aanbod__image {
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.aanbod__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s cubic-bezier(.16,.8,.24,1);
}
.aanbod__card:hover .aanbod__image img {
  transform: scale(1.045);
}

/* ============================================================
   GALLERY
   ============================================================ */
.gallery {
  position: relative;
  width: 100%;
  margin-top: 100px;
}

.gallery__slider {
  overflow: hidden;
}

.gallery__slider img {
  width: 100%;
  height: clamp(380px, 46vw, 720px);
  object-fit: cover;
}

.gallery__badge {
  position: absolute;
  bottom: clamp(40px, 4vw, 20px);
  right: clamp(20px, 6vw, 90px);
  width: clamp(80px, 8vw, 120px);
  height: clamp(80px, 8vw, 120px);
  border-radius: 50%;
  background-color: transparent;
  border: none;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: spin 40s linear infinite;
  will-change: transform;
}
@media (prefers-reduced-motion: reduce) {
  .gallery__badge { animation: none; }
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.gallery__badge-img {
  width: 100%;
  height: 100%;
}

.gallery__dots {
  position: absolute;
  left: clamp(20px, 6vw, 60px);
  bottom: 28px;
  display: flex;
  gap: 10px;
}
.gallery__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid var(--color-white);
  background: transparent;
  padding: 0;
  transition: background 0.2s ease;
}
.gallery__dot.is-active { background: var(--color-white); }

/* ============================================================
   DREAM CTA
   ============================================================ */
.dream {
  background: var(--color-beige);
  text-align: center;
  padding: clamp(90px, 12vw, 150px) var(--gutter);
}

.dream__text {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(15px, 2vw, 24px);
  line-height: 1.4;
  color: var(--color-dark-green);
  margin-bottom: 26px;
}

.dream__address {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-dark-green);
  border-bottom: 1px solid var(--color-dark-green);
  padding-bottom: 2px;
  transition: opacity 0.35s ease;
}
.dream__address:hover { opacity: 0.65; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--color-footer-green);
  padding: clamp(56px, 7vw, 90px) var(--gutter) 40px;
}

.footer__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  max-width: var(--container-width);
  margin: 0 auto;
}

.footer__newsletter { max-width: 420px; }

.footer__newsletter-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(15px, 2vw, 24px);
  line-height: 1.4;
  color: var(--color-dark-green);
  margin-bottom: 18px;
}

.footer__newsletter-text {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 12px;
  line-height: 1.4;
  color: var(--color-dark-green);
  margin-bottom: 24px;
}

.footer__form {
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--color-dark-green);
  padding: 5px 0;
  max-width: 380px;
}
.footer__form input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 10px 0;
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--color-dark-green);
  min-width: 0;
}
.footer__form input::placeholder { color: rgba(40,45,31,0.6); }
.footer__form input:focus { outline: none; }
.footer__form button {
  border: 1px solid var(--color-dark-green);
  background: transparent;
  color: var(--color-dark-green);
  border-radius: 999px;
  padding: 5px 10px;
  font-weight: 600;
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ---------- Brevo nieuwsbrief-formulier: herstijld naar ADR-look ---------- */
.footer__brevo,
.footer__brevo #sib-form-container,
.footer__brevo #sib-container {
  all: unset;
  display: block;
}
.footer__brevo {
  max-width: 380px;
}
.footer__brevo * { box-sizing: border-box; }

.footer__brevo .footer__form {
  align-items: stretch;
}

.footer__brevo .sib-input.sib-form-block {
  flex: 1;
  min-width: 0;
  padding: 0;
}
.footer__brevo .footer__form-submit {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

.footer__brevo .form__entry,
.footer__brevo .form__label-row,
.footer__brevo .entry__field {
  display: block;
  width: 100%;
  background: transparent;
  border:none;
}

.footer__brevo input.input {
  width: 100%;
  border: none;
  background: transparent;
  padding: 4px 0;
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--color-dark-green);
}
.footer__brevo input.input::placeholder { color: rgba(40,45,31,0.6); }
.footer__brevo input.input:focus { outline: none; }

.footer__brevo .sib-form-block__button {
  border: 1px solid var(--color-dark-green);
  background: transparent;
  color: var(--color-dark-green);
  border-radius: 999px;
  padding: 8px 16px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.3s ease, color 0.3s ease;
}
.footer__brevo .sib-form-block__button:hover {
  background: var(--color-dark-green);
  color: var(--color-beige);
}
.footer__brevo .sib-form-block__button svg { width: 12px; height: 12px; fill: currentColor; }

.footer__brevo .entry__error {
  display: block;
  font-family: var(--font-body);
  font-size: 11px;
  color: #b3402f;
  margin-top: 6px;
}
.footer__brevo .entry__error:empty { display: none; }

.footer__brevo .sib-form-message-panel {
  font-family: var(--font-body);
  font-size: 12px;
  border-radius: 4px;
  padding: 10px 14px;
  margin-bottom: 12px;
}
.footer__brevo .sib-form-message-panel__inner-text { margin-left: 6px; }
.footer__brevo .sib-icon { width: 16px; height: 16px; }

.footer__logo {
  width: clamp(220px, 20vw, 340px);
  flex-shrink: 0;
}
.footer__logo img { width: 100%; height: auto; display: block; }

.footer__divider {
  border: none;
  border-top: 1px solid rgba(40, 45, 31, 0.35);
  max-width: var(--container-width);
  margin: 48px auto;
}

.footer__bottom {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: var(--container-width);
  margin: 0 auto;
}

.footer__col h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.footer__col p {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 12px;
  line-height: 1.4;
  margin-bottom: 14px;
}

.footer__col p a { text-decoration: underline; }

.footer__col--social {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
.footer__col--social a {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: opacity 0.35s ease, letter-spacing 0.35s ease;
}
.footer__col--social a:hover {
  text-decoration: underline;
  opacity: 0.7;
  letter-spacing: 0.14em;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .hero { height: auto; }
  .hero__image { flex-basis: 100%; height: auto; min-height: 420px; }
  .hero__panel { flex-basis: 100%; height: auto; }
  .hero__small-image { margin-bottom: 0; }

  .aanbod__grid { grid-template-columns: 1fr; gap: 56px; }

  .footer__top { flex-direction: column; }
  .footer__logo { align-items: flex-start; text-align: left; }

  .footer__bottom { grid-template-columns: 1fr; gap: 36px; }
  .footer__col--social { align-items: flex-start; }
}

@media (max-width: 640px) {
  .hero__bottom-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .hero__small-image { width: min(220px, 60%); }
  .hero__title { font-size: clamp(24px, 6vw, 34px); }
}

@media (max-width: 560px) {
  .hero__logo { font-size: 26px; }
  .intro__text { font-size: 19px; }
  .aanbod__title { font-size: 28px; }
  .gallery__badge { display: none; }
  .footer__form { flex-direction: row; }
}
