h2 {
  font-family: 'lora', serif;
  font-weight: 700;
  font-size: 2rem;
  font-style: normal;
  color: rgb(40, 40, 40);
}
h3 {
  font-family: 'lora', serif;
  font-weight: 700;
  font-size: 1rem;
  font-style: normal;
  color: rgb(40, 40, 40);
}
h4 {
  font-family: 'lora', serif;
  font-weight: 700;
  font-size: 6rem;
  font-style: normal;
  color: rgb(40, 40, 40);
}
p {
  font-family: 'source-sans-3', sans-serif;
  font-weight: 200;
  font-style: normal;
  font-size: 1rem;
  color: rgb(40, 40, 40);
}

/* ===== NAV DESKTOP ===== */
/* ===== DESKTOP NAV ===== */
/* ===== DESKTOP ===== */
/* ===== NAV (DESKTOP) ===== */
/* ===== NAV BASE ===== */
/* ===============================
   NAV — DESKTOP + MOBILE
   Hamburger vanaf 750px
   =============================== */

/* ===== DESKTOP ===== */
/* ===============================
   NAV — DESKTOP tot 500px, daarna hamburger
   Vereist:
   - <button class="nav-toggle">...</button>
   - <div class="nav-links" id="navLinks">...</div>
   =============================== */

/* ===== DESKTOP BASIS ===== */
/* ===============================
   NAV — Desktop mooi gecentreerd + Hamburger vanaf 750px
   =============================== */

/* container breedte zodat links niet tegen de randen hangen */
/* ===== DESKTOP ===== */
/* =========================
   DESKTOP (standaard)
========================= */
.nav {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr; /* links | logo | rechts */
  align-items: center;

  height: 100px;
  padding: 0 2rem;
  column-gap: 2rem;
}

/* Links/rechts blokken */
.nav-left {
  justify-self: end;
}
.nav-right {
  justify-self: start;
}

/* lijsten */
.nav ul {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

/* links */
.nav a {
  text-decoration: none;
  color: black;
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.2;
  padding: 0.35rem 0;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  transition: color 0.25s ease;
}

.nav a:hover {
  color: rgb(176, 133, 154);
}
/* logo */
.nav-logo {
  height: 4.25rem;
  width: auto;
  display: block;
  justify-self: center;
  align-self: center;
}

/* hamburger (desktop uit) */
.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0.5rem;
  justify-self: end;
}

.nav-toggle span {
  display: block;
  width: 28px;
  height: 2px;
  background: #000;
  margin: 6px 0;
  transition: transform 200ms ease, opacity 200ms ease;
}

/* dropdown container (desktop uit) */
.nav-links {
  display: none;
}

/* =========================
   IETS COMPACTER < 900px
========================= */
@media (max-width: 900px) {
  .nav {
    padding: 0 1.25rem;
    column-gap: 1.25rem;
    height: 90px;
  }

  .nav ul {
    gap: 1.25rem;
  }
  .nav a {
    font-size: 0.95rem;
  }
  .nav-logo {
    height: 3.6rem;
  }
}

/* =========================
   MOBIEL < 750px (hamburger)
========================= */
@media (max-width: 750px) {
  .nav {
    grid-template-columns: auto 1fr auto; /* logo | ruimte | hamburger */
    height: 76px;
    padding: 0 1rem;
    column-gap: 0.75rem;
  }

  /* logo links op mobiel */
  .nav-logo {
    justify-self: start;
    height: 3rem;
  }

  /* toon hamburger */
  .nav-toggle {
    display: block;
    justify-self: end;
  }

  /* verberg desktop menus */
  .nav > .nav-left,
  .nav > .nav-right {
    display: none;
  }

  /* dropdown menu (kaartje) */
  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 1rem;
    right: 1rem;

    background: #fff;
    border-radius: 14px;
    padding: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    z-index: 999;
  }

  .nav-links.is-open {
    display: block;
  }

  /* dropdown lijsten verticaal */
  .nav-links ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }

  /* scheiding tussen de 2 groepen */
  .nav-links ul + ul {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
  }

  /* hamburger -> X animatie */
  .nav-toggle.is-open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .nav-toggle.is-open span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle.is-open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}

@media (max-width: 750px) {
  /* dropdown: zorg dat ALLES onder elkaar komt */
  .nav-links {
    text-align: center;
  }

  /* maak beide ul's full width en reset rare flex effecten */
  .nav-links ul {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;

    padding: 0;
    margin: 0;
  }

  /* geef ruimte tussen de 2 groepen (left / right) */
  .nav-links ul + ul {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
  }

  /* maak list items “proper” */
  .nav-links li {
    width: 100%;
  }

  /* links mooi gecentreerd + klikvlak breder */
  .nav-links a {
    width: 100%;
    justify-content: center;
    padding: 0.6rem 0;
    display: flex;
  }
}

/* =========================
   AANBOD PAGINA
   ========================= */

.aanbod-header {
  max-width: 1100px;
  margin: 2.5rem auto 1rem;
  padding: 0 1.5rem;
  text-align: center;
}

.aanbod-bg {
  position: absolute;
  left: 50%;
  bottom: -140px; /* overlap naar beneden: speel met deze waarde */
  transform: translateX(-50%);
  width: min(1200px, 100%);
  height: auto;
  z-index: 1;
  pointer-events: none;
}

.aanbod-cta {
  position: relative;
  padding: 4rem 1.5rem 7rem;
  overflow: visible;
  margin-top: clamp(0px, 3vw, 40px); /* subtiele mee-schuif */
}
.aanbod-cta > h2 {
  color: rgb(120, 90, 105);
}
.aanbod-header h1 {
  margin: 0 0 0.5rem;
}

.aanbod-header p {
  margin: 0;
  opacity: 0.8;
}

/* Tabs */
.aanbod-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;

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

.tab {
  border: 1px solid rgb(120, 90, 105);
  background: transparent;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
}

.tab.is-active {
  background: rgb(120, 90, 105);
  color: #fff;
}

/* Panes */

.pane {
  display: none;
}

.pane.is-active {
  display: block;
}

.pane h2 {
  margin: 0 0 1rem;
  text-align: center;
}

/* Items grid */
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.card {
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 0.9rem;
  padding: 1rem;
  text-align: center;
}

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

/* Mini navigatie op aanbod pagina */
.aanbod-mini-nav {
  margin: 2.5rem auto 3rem;
  padding: 0 1.5rem;
}

.aanbod-mini-nav ul {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.aanbod-mini-nav a {
  text-decoration: none;
  font-weight: 600;
  padding: 0.6rem 1.4rem;
  border: 1px solid rgb(120, 90, 105);
  border-radius: 999px;
  color: rgb(120, 90, 105);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.aanbod-mini-nav a:hover {
  background: rgb(120, 90, 105);
  color: rgb(40, 40, 40);
}

/* Secties */
.aanbod-section {
  max-width: 1100px;
  margin: 0 auto 4rem;
  padding: 0 1.5rem;
}

.aanbod-section h2 {
  margin-bottom: 0.75rem;
}

/* mini tabs */
.aanbod-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;

  margin: 2rem auto 1.5rem;
  padding: 0 1.5rem;
}

.tab {
  border: 1px solid rgb(120, 90, 105);
  background: transparent;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 600;
}

.tab.is-active {
  background: rgb(120, 90, 105);
  color: #fff;
}

/* inhoud */
/* ====== AANBOD CONTENT ====== */
.aanbod-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
}

/* basis grid */
.aanbod-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

/* ====== DESKTOP KOLommen ====== */
#ijs .aanbod-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

#ijsstronken .aanbod-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

#feest .aanbod-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* ====== ITEMS ====== */
.aanbod-item {
  text-align: center;
}

.aanbod-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  border-radius: 0.9rem;
}

.smaak {
  margin-top: 0.5rem;
  font-weight: 500;
}

/* ====== TITELS + INTROTEKST ====== */
.pane h2 {
  text-align: center;
  margin-bottom: 1.25rem;
}

.pane > p {
  max-width: 640px;
  margin: 0 auto 1rem;
  line-height: 1.6;
  text-align: center;
}

.pane > p:last-of-type {
  margin-bottom: 2rem;
}

/* ====== RESPONSIVE (alleen voor ijs/ijstaarten/feest) ====== */
@media (max-width: 750px) {
  #ijs .aanbod-grid,
  #ijsstronken .aanbod-grid,
  #feest .aanbod-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  #ijs .aanbod-grid,
  #ijsstronken .aanbod-grid,
  #feest .aanbod-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }
}

@media (max-width: 420px) {
  #ijs .aanbod-grid,
  #ijsstronken .aanbod-grid,
  #feest .aanbod-grid {
    grid-template-columns: 1fr;
  }
}

/* Fix + typografie */
h5 {
  font-family: 'lora', serif;
  font-weight: 300;
  font-size: 20px; /* 👈 punt i.p.v. komma */
  font-style: normal; /* 👈 "bolk" bestaat niet */
  color: rgb(40, 40, 40);
  margin: 0;
}

h6 {
  font-family: 'lora', serif;
  font-weight: 200;
  font-size: 13px;
  font-style: normal;
  color: rgb(40, 40, 40);
  margin: 0.25rem 0 0; /* 👈 klein beetje onder h5 */
}

/* ====== MENU LAYOUT (alleen binnen #gerechten) ====== */
/* ====== MENU CARD LOOK (zoals screenshot) ====== */
/* ====== MENU CARD ====== */
/* Bovenste lijn van heel menu */
/* ====== MENU (GERECHTEN) ====== */
/* ====== MENU (GERECHTEN) ====== */
/* wrapper breedte + lijn */
/* =========================
   GERECHTEN (container)
   ========================= */
#gerechten .menu-card {
  width: min(80%, 920px); /* inhoud op 80% (max 920px) */
  margin: 1rem auto 0;
  padding-top: 1rem; /* ruimte bovenaan (zonder lijn) */
}

/* =========================
     FOTO'S (wafels)
     ========================= */
.wafels {
  width: 80%; /* samen 80% breedte */
  margin: 0 auto; /* centreren */
  padding: 1rem 0; /* wat ademruimte */
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap; /* responsive: breekt op kleinere schermen */
}

.wafels img {
  width: calc(25% - 1rem); /* 4 naast elkaar */
  height: auto;
  object-fit: cover;
  display: block;
}

/* Tablet: 2 per rij */
@media (max-width: 768px) {
  .wafels {
    width: 90%; /* niet meer 100% */
  }

  .wafels img {
    width: calc(45% - 1rem); /* iets kleiner dan 50% */
  }
}

/* GSM */
@media (max-width: 480px) {
  .wafels {
    width: 85%; /* smaller container */
  }

  .wafels img {
    width: 80%; /* geen full width meer */
    margin: 0 auto; /* centreren */
  }
}

/* =========================
     MENU SECTIONS
     (lijn hoort hier, niet boven foto's)
     ========================= */
#gerechten .menu-section {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 20rem;
  align-items: start;

  padding: 2rem 0;
  border-top: 2px solid rgba(0, 0, 0, 0.25);
}

/* eerste menu-section geen lijn (zodat er geen lijn boven de foto's komt) */
#gerechten .menu-section:first-of-type {
  border-top: 0;
  padding-top: 0;
}

/* h2 links */
#gerechten .menu-cat {
  margin: 0;
  text-align: left;
  line-height: 1.05;
}

/* lijst rechts */
#gerechten .menu-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  text-align: left;
  max-width: 520px;
}

#gerechten .menu-item {
  display: flex;
  flex-direction: column;
}

/* h5/h6 reset */
#gerechten .menu-item h5 {
  margin: 0;
  line-height: 1.2;
}

#gerechten .menu-item h6 {
  margin: 0.2rem 0 0;
  line-height: 1.2;
  opacity: 0.85;
}

/* =========================
     RESPONSIVE MENU LAYOUT
     ========================= */
@media (max-width: 1000px) {
  #gerechten .menu-section {
    gap: 6rem;
  }
}

@media (max-width: 800px) {
  #gerechten .menu-card {
    width: min(92%, 920px);
    padding-top: 1.5rem;
  }

  #gerechten .menu-section {
    gap: 3rem;
  }

  #gerechten .menu-list {
    margin-left: 0;
    margin-right: auto;
  }
}

/* vanaf 600px: onder elkaar */
@media (max-width: 600px) {
  #gerechten .menu-section {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  #gerechten .menu-cat {
    text-align: left;
  }

  #gerechten .menu-list {
    max-width: 100%;
  }
}

.intro {
  display: flex;
  align-items: center;
  gap: 3rem;
}

/* tekst links */
.intro {
  max-width: 75rem;
  margin: 0 auto;
  padding: 3rem;

  display: flex;
  align-items: center;
  gap: 5rem; /* ruimte tussen tekst & foto */
}

/* linker helft – tekst */
.intro > .intro-text {
  flex: 1; /* 50% */
}

.intro > .intro-text h2 {
  margin-bottom: 1rem;
}

.intro > .intro-text p {
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

/* rechter helft – foto */
.intro > .intro-image {
  flex: 1; /* 50% */
}

.intro > .intro-image img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  object-fit: cover;
}

@media (max-width: 900px) {
  #gerechten .menu-card {
    width: min(90%, 920px);
  }

  #gerechten .menu-section {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  #gerechten .menu-cat {
    text-align: left; /* mobiel logischer */
  }
}

/* button */
.intro > .intro-text > .btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: rgb(176, 133, 154);
  color: rgb(247, 241, 245);
  text-decoration: none;
  border-radius: 6px;

  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.intro > .intro-text > .btn:hover {
  transform: scale(1.07); /* speel met 1.05 – 1.1 */
}

@media (max-width: 700px) {
  .intro {
    flex-direction: column;
    gap: 2rem;
    padding: 2rem 1.25rem;
  }

  .intro > .intro-text,
  .intro > .intro-image {
    width: 100%;
  }

  .intro > .intro-image img {
    width: 100%;
    height: auto;
  }
}

/* overons pagina */
/* ====== GESCHIEDENIS (strakker, consistenter) ====== */

/* Intro over ons */
.overons {
  display: flex;
  justify-content: center;
  padding: 4rem 1.5rem 1.5rem; /* 👈 onderaan kleiner */
  text-align: center;
}

.overons-geschiedenis {
  max-width: 640px;
  margin: 0 auto;
}

.overons-geschiedenis h2 {
  margin: 0;
}

.overons-geschiedenis p {
  margin-top: 1.25rem;
  line-height: 1.6;
}

.geschiedenis {
  display: flex;
  justify-content: center;
  padding: 3rem 1.5rem 0;
  padding-bottom: 4rem;
}

.geschiedenis-container {
  width: min(1100px, 100%);
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

/* grid rij */
.geschiedenis-rij {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

/* foto container (handig voor radius/overflow) */
.geschiedenis-foto {
  min-width: 0;
  overflow: hidden;
  border-radius: 12px;
}

.geschiedenis-lijn {
  width: 75%;
  height: 1px;
  background-color: #000;
  margin: 0 auto 1.5rem; /* 👈 compacter */
}

.geschiedenis-foto img {
  width: 100%;
  height: clamp(220px, 28vw, 380px);
  object-fit: cover;
  display: block;
}

/* tekstblokken: zelfde styling voor beide */
.tekst-bakker,
.tekst-begijnhof {
  min-width: 0;
  text-align: left;
}

.tekst-bakker h4,
.tekst-begijnhof h4 {
  margin: 0;
  line-height: 1;
}

.tekst-bakker p,
.tekst-begijnhof p {
  margin: 1rem 0 0;
  line-height: 1.6;
}

/* geen <br> nodig; dit vangt meerdere paragrafen mooi op */
.tekst-bakker p + p,
.tekst-begijnhof p + p {
  margin-top: 0.75rem;
}

/* ====== Responsive: altijd foto boven, tekst onder ====== */
@media (max-width: 900px) {
  .geschiedenis-rij {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  /* Forceer volgorde: foto eerst, tekst daarna (ook bij rij 1974) */
  @media (max-width: 900px) {
    .geschiedenis-foto img {
      height: 320px; /* kies 280–360px naar smaak */
      object-fit: cover;
      object-position: center; /* of: center top */
    }
  }

  .tekst-bakker,
  .tekst-begijnhof {
    order: 2;
  }
}

/* footer */
.footer {
  background-color: #f6f4ef; /* zachte, ambachtelijke tint */
  padding: 2rem 0;
  font-size: 0.95rem;
}

.footer-container {
  width: 80%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

/* Logo */
.footer-logo img {
  max-width: 180px;
}

/* Titels */
.footer h3 {
  margin-bottom: 1rem;
  font-weight: 700;
}

/* Openingsuren */
.footer-openingsuren ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-openingsuren li {
  margin-bottom: 0.4rem;
}

/* Contact */
.footer-contact p {
  margin-bottom: 1rem;
  line-height: 1.6;
}

.footer-contact a {
  color: inherit;
  text-decoration: none;
}

.footer-contact a:hover {
  text-decoration: underline;
}

/* Socials */
.footer-socials {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.footer-socials img {
  width: 24px;
  height: 24px;
}

/* Mobiel */
@media (max-width: 900px) {
  .footer-container {
    width: 90%;
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-socials {
    justify-content: center;
  }

  .footer-logo img {
    margin: 0 auto;
  }
}

.footer-bottom {
  width: 80%;
  margin: 2rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
  text-align: center;
}

.footer-bottom a {
  color: inherit;
  text-decoration: none;
  font-weight: 600;
}

.footer-bottom a:hover {
  text-decoration: underline;
  color: rgb(176, 133, 154);
}

/* Mobiel */
@media (max-width: 900px) {
  .footer-bottom {
    width: 90%;
  }
}

.ijsautomaat {
  position: relative;
  overflow: hidden;

  /* basis */
  min-height: 60vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 0 1.5rem; /* voorkomt afsnijden links/rechts */

  /* decoratieve afbeelding (ijsautomaat) */
  background-image: url('/img/ijsautomaat.png');
  background-repeat: no-repeat;
  background-position: 60% bottom; /* rustig, niet te hoekig */
  background-size: clamp(420px, 55vw, 875px) auto; /* 👈 vloeiend schalen */
}

/* SVG-vorm (beige golf) */
.ijsautomaat::before {
  content: '';
  position: absolute;
  inset: 0;

  background-image: url('/img/ijsautomaat-vorm.svg'); /* jouw SVG */
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: 120% auto;

  z-index: 0; /* helemaal achteraan */
}

/* Tekstcontainer */
/* Tekstcontainer */
.ijsautomaat > div {
  width: min(680px, 90%);
  margin-left: auto;
  margin-right: auto;

  transform: translateX(-28%); /* 👈 schuift tekst naar links */

  text-align: left;
  margin-top: 6rem;

  position: relative;
  z-index: 1;
}

/* Paragraaf iets smaller */
.ijsautomaat > div > p {
  max-width: 520px; /* 👈 mooier leesbaar */
  margin-top: 1.25rem;
  line-height: 1.6;
}

/* Mobiel */
@media (max-width: 900px) {
  .ijsautomaat {
    min-height: 55vh;
    background-position: 62% bottom;
    background-size: clamp(360px, 60vw, 520px) auto; /* 👈 nog steeds geleidelijk */
  }

  .ijsautomaat::before {
    background-size: 140% auto;
  }

  .ijsautomaat > div {
    width: min(520px, 88%);
    margin-top: 3.5rem;
    transform: translateX(-6%); /* tekst iets meer links */
  }

  .ijsautomaat > div > p {
    max-width: 100%;
  }
}
@media (max-width: 820px) {
  .ijsautomaat {
    background-image: none; /* 👈 foto weg */
    min-height: auto;
    padding-bottom: 3rem;
  }

  .ijsautomaat::before {
    background-size: 170% auto; /* optional: iets groter golfje */
  }

  .ijsautomaat > div {
    transform: none;
    text-align: center; /* 👈 tekst in midden */
    margin-top: 3rem;
  }

  .ijsautomaat > div > p {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 1070px) and (min-width: 901px) {
  .ijsautomaat > div {
    transform: none; /* of bv. translateX(-10px) */
    padding-left: 0.75rem; /* kleine duw naar binnen */
    padding-right: 0.75rem;
  }
}

.aanbod-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
  padding: 3rem 1.5rem;
}

.aanbod-cta img {
  width: 450px;
  height: auto;
}

.btn-aanbod {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: rgb(176, 133, 154);
  color: rgb(247, 241, 245);
  text-decoration: none;
  border-radius: 6px;

  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-aanbod:hover {
  transform: scale(1.05);
}

/* Carousel wrapper */
.image-carousel {
  width: 100%;
  max-width: 1100px; /* was 700px -> te smal voor 3 full foto's */
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* viewport snijdt links/rechts af zodat je buur-foto's half ziet */
.img-viewport {
  width: 100%;
  overflow: hidden;
}

/* track schuift */
.img-track {
  display: flex;
  gap: 1.5rem; /* iets minder dan 2.5rem */
  will-change: transform;
  transition: transform 450ms ease;
  align-items: center;
}

.img-slide {
  flex: 0 0 30%; /* 3 foto's passen nu */
  max-width: 320px; /* optioneel, houdt het netjes */
  height: auto;
  display: block;

  opacity: 0.45;
  transform: scale(0.94);
  transition: opacity 250ms ease, transform 250ms ease;
}

.img-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

/* Hover alleen op de middelste/actieve foto */
.img-slide.is-active:hover {
  transform: scale(1.06);
}

/* pijltjes naast de “middenfoto” (overlay) */
.img-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;

  border: none;
  cursor: pointer;

  font-size: 2.5rem;
  line-height: 1;
  padding: 0.25rem 0.75rem;

  background: rgba(255, 255, 255, 0.75);
  border-radius: 999px;
}

.img-btn.prev {
  left: -0.25rem;
}
.img-btn.next {
  right: -0.25rem;
}

/* optioneel: mobiel iets breder */
@media (max-width: 480px) {
  /* Titel kleiner */
  .aanbod-cta h2 {
    font-size: 1.4rem;
    line-height: 1.2;
  }

  /* Button compacter */
  .btn-aanbod {
    font-size: 0.9rem;
    padding: 0.6rem 1.2rem;
  }

  /* Carousel = 1 foto */
  .image-carousel {
    max-width: 100%;
    padding: 0;
  }

  .img-viewport {
    width: 100%;
    overflow: hidden;
  }

  .img-track {
    gap: 0;
  }

  .img-slide {
    flex: 0 0 100%;
    max-width: 100%;
    opacity: 1;
    transform: scale(1);
  }

  /* hover uit op mobiel */
  .img-slide.is-active:hover {
    transform: scale(1);
  }

  /* pijlen iets kleiner & netjes gecentreerd */
  .img-btn {
    font-size: 2rem;
    padding: 0.25rem 0.5rem;
    background: rgba(255, 255, 255, 0.85);
  }

  .img-btn.prev {
    left: 0.25rem;
  }
  .img-btn.next {
    right: 0.25rem;
  }
}

.contact-layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 1.5rem;

  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
  text-align: center;
}

.contact-text {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 520px;
}

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

.contact-text a:hover {
  text-decoration: underline;
}

/* Jaarlijks verlof: wat extra ruimte t.o.v. contacttekst */
.contact-notice {
  max-width: 720px;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.contact-notice p {
  margin: 0;
  line-height: 1.5;
}

/* Foto full width, maar niet te hoog */
.contact-image {
  width: 100%;
  max-width: 1000px;
  min-width: 0; /* ✅ belangrijk: mag krimpen */
  overflow: hidden; /* ✅ voorkomt dat img “uitsteekt” bij border-radius */
  border-radius: 12px; /* zet radius hier i.p.v. op img (mag ook op beide) */
}

.contact-image img {
  display: block;
  width: 100%;
  max-width: 100%; /* ✅ extra zekerheid */
  height: auto; /* ✅ op mobiel: schaalt netjes mee */
  object-fit: cover;
}

/* Alleen op grotere schermen terug je ‘banner’ hoogte */
@media (min-width: 768px) {
  .contact-image img {
    height: min(45vh, 380px);
  }
}

/* Onder de foto */
.contact-bottom {
  width: 100%;
  max-width: 1000px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  text-align: left;
}

@media (min-width: 768px) {
  .contact-bottom {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 3rem;
    align-items: start;
  }
}

.info-block h2 {
  margin: 0 0 0.75rem;
}

.info-block p {
  margin: 0;
  line-height: 1.6;
  max-width: 52ch;
}

/* Vanaf tablet/desktop naast elkaar */

/* achtergrond golven */
.kleur {
  position: relative;
  background-color: rgb(239, 227, 234);
  overflow: hidden;
}
.kleur > section {
  position: relative;
  z-index: 1;
}
.golf {
  position: absolute;
  left: 0;

  top: clamp(
    400px,
    22vw,
    370px
  ); /* 👈 “370px op desktop”, maar zakt mee op kleiner scherm */
  width: 100%;
  height: auto;

  max-height: 65%;

  object-fit: contain;
  object-position: left top;

  z-index: 0;
  pointer-events: none;
}

@media (max-width: 1200px) {
  .golf {
    top: 400px; /* 👈 iets lager dan je 370px */
    width: auto;
    height: 500px;
    max-height: none;
  }
}

@media (max-width: 1163px) and (min-width: 965px) {
  .golf {
    width: 100% !important;
    height: 500px !important;
    max-width: none !important; /* override reset.css */
    object-fit: fill !important; /* garandeert: geen gat */
    transform: none !important; /* als je nog translate had ergens */
  }
}

@media (max-width: 700px) {
  .golf {
    top: clamp(700px, 60vw, 600px);
    width: auto;
    height: 500px;
    max-height: none;
  }
}

@media (max-width: 550px) {
  .golf {
    top: clamp(600px, 60vw, 600px);
    width: auto;
    height: 450px;
    max-height: none;
  }
}

@media (max-width: 450px) {
  .golf {
    top: clamp(600px, 60vw, 600px);
    width: auto;
    height: 550px;
    max-height: none;
  }
}

/*aanbod pagina */
.aanbod-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.5rem;

  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 👈 4 naast elkaar */
  gap: 2.5rem; /* ruimte tussen ijsjes */
}
.aanbod-item {
  text-align: center;
}

.aanbod-item img {
  width: 90%; /* iets kleiner dan kolom */
  margin: 0 auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 16px;
}
.smaak {
  margin-top: 0.75rem;
  font-weight: 600;
}

/* ====== SFEER ====== */
.sfeer {
  padding: 4rem 1.5rem;
  text-align: center;
}

.sfeer h2 {
  margin-bottom: 2rem;
}

/* Raster */
.sfeer-fotos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;

  max-width: 700px; /* 👈 centreert het raster */
  margin: 0 auto;
}

/* Vierkante foto’s */
.sfeer-fotos img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  border-radius: 12px; /* optioneel */
}

/* Tablet */
@media (max-width: 900px) {
  .sfeer-fotos {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobiel */
@media (max-width: 500px) {
  .sfeer-fotos {
    grid-template-columns: 1fr;
  }
}

/* Tablet */
@media (max-width: 900px) {
  .sfeer-fotos {
    grid-template-columns: repeat(2, 1fr);
    max-width: 520px; /* 👈 krimpt het geheel */
    padding: 0 0.75rem; /* 👈 extra ruimte langs zijkanten */
  }
}

/* Mobiel */
@media (max-width: 500px) {
  .sfeer-fotos {
    grid-template-columns: 1fr;
    max-width: 340px; /* 👈 smaller zodat 1 foto niet full width is */
    padding: 0 0.75rem; /* 👈 zijkanten */
  }
}

/*wandelignen*/

/* ====== WANDELINGEN ====== */
.wandelingen {
  padding: 4rem 1.5rem;
}

.wandelingen-title {
  text-align: center;
  margin: 0 0 2rem;
}

/* Card gecentreerd */
.wandeling-card {
  max-width: 1100px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

/* Linkerkant */
.wandeling-content h3 {
  margin: 0 0 1rem;
}

.wandeling-content p {
  margin: 0 0 1.5rem;
  line-height: 1.6;
  max-width: 62ch;
}

/* Button als link */
.wandeling-btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: rgb(176, 133, 154);
  color: rgb(247, 241, 245);
  text-decoration: none;
  border-radius: 6px;

  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.wandeling-btn:hover {
  transform: scale(1.07);
}

/* Rechterkant foto */
.wandeling-image {
  min-width: 0;
}

.wandeling-image img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  border-radius: 14px; /* afgeronde hoeken */
}

/* Responsive */
@media (max-width: 900px) {
  .wandeling-card {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: left;
  }

  .wandeling-content p {
    max-width: 100%;
  }

  .wandeling-image img {
    aspect-ratio: 16 / 10;
  }
}

/* ruimte tussen de kaarten */
.wandeling-card + .wandeling-card {
  margin-top: 4rem;
}

/* Foto links, tekst rechts */
.wandeling-card.is-reversed {
  grid-template-columns: 1fr 1.4fr;
}

.wandeling-card.is-reversed .wandeling-image {
  order: -1;
}

/* Mobiel: altijd tekst boven, foto onder */
@media (max-width: 900px) {
  .wandeling-card,
  .wandeling-card.is-reversed {
    grid-template-columns: 1fr;
  }

  .wandeling-card.is-reversed .wandeling-image {
    order: 0;
  }
}

/* ====== PRIVACYBELEID ====== */
.privacybeleid {
  max-width: 800px; /* 👈 fijne leesbreedte */
  margin: 0 auto; /* 👈 centreert het blok */
  padding: 4rem 1.5rem; /* 👈
   ruimte langs de randen */
  text-align: left;
  overflow-wrap: anywhere;
  word-break: normal;
  hyphens: auto;
}

/* Kleine titel */
.privacybeleid h4 {
  margin: 0 0 1.5rem;
  font-weight: 1000;
  font-size: clamp(3rem, 2.5vw, 1.1rem);
  margin: 0 0 1.5rem;
}

/* Hoofdtitels */
.privacybeleid h2 {
  margin: 2.5rem 0 0.75rem;
  line-height: 1.3;
}

/* Paragrafen */
.privacybeleid p {
  margin: 0 0 1rem;
  line-height: 1.7;
  max-width: 70ch; /* 👈 superleesbaar */
}

/* Lijsten */
.privacybeleid ul {
  margin: 0 0 1.5rem 1.25rem;
  padding: 0;
  list-style: disc;
  padding-left: 1.25rem; /* ruimte voor puntjes */
}

.privacybeleid li {
  margin-bottom: 0.4rem;
  line-height: 1.6;
  list-style-position: outside;
}
.privacybeleid li::marker {
  color: rgb(176, 133, 154);
}

/* Mobiel: iets minder padding */
@media (max-width: 600px) {
  .privacybeleid {
    padding: 3rem 1.25rem;
  }
}

@media (max-width: 360px) {
  .privacybeleid {
    padding: 2.25rem 1rem;
  }

  .privacybeleid p,
  .privacybeleid li {
    font-size: 0.95rem;
  }
}
