/* Epicene voor overlay-menu (o.a. kontakt.html zonder eigen @font-face) */
@font-face {
  font-family: "Epicene Bold";
  src: url("../fonts/epicene-text-bold.woff2") format("woff2"),
    url("../fonts/EpiceneText-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

.page-logo.is-scroll-animated {
  transform-origin: 50% 0%;
  will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
  .page-logo.is-scroll-animated {
    will-change: auto;
  }
}

/* Hamburger rechts + fullscreen navigatie-overlay */
.topbar {
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  max-width: none !important;
  transform: none !important;
  padding-left: var(--chodo-page-gutter) !important;
  padding-right: var(--chodo-page-gutter) !important;
  box-sizing: border-box !important;
}

.topbar .topbar-inner {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
  min-height: 0;
  padding-top: 0;
  padding-bottom: 0;
  background: transparent;
}

.nav-toggle {
  position: fixed;
  top: 16px;
  right: 16px;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  margin: 0;
  border: none;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  color: #000;
  flex-shrink: 0;
  z-index: 120;
  box-sizing: border-box;
  transition: color 0.1s ease, background 0.1s ease;
}

/* Menu open: hamburger verbergen; sluiten met CSS-kruis (.nav-overlay-close-btn), zelfde maat als burger */
body.nav-menu-open .nav-toggle {
  visibility: hidden;
  pointer-events: none;
}

.nav-toggle:hover {
  color: #8b8345;
}

.nav-toggle:focus-visible {
  color: #8b8345;
  outline: 2px solid #000;
  outline-offset: 2px;
}

.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  flex-shrink: 0;
  transition: opacity 0.1s ease;
}

/* Sluitknop: zelfde positie als burger (x.svg) */
.nav-overlay-close-btn {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 8600;
  width: 44px;
  height: 44px;
  padding: 0;
  margin: 0;
  border: none;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  line-height: 0;
  color: #000;
  box-sizing: border-box;
  transition: background 0.1s ease;
}

.nav-overlay.is-open .nav-overlay-close-btn {
  display: flex;
}

.nav-overlay-close-btn:focus-visible {
  outline: 2px solid #000;
  outline-offset: 2px;
}

.nav-overlay-close-btn:hover,
.nav-overlay-close-btn:focus-visible {
  background: #f2f2f2;
}

.nav-overlay-close-img {
  width: 20px;
  height: 20px;
  display: block;
  pointer-events: none;
  transition: filter 0.05s ease;
}

.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 8500;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 0 var(--chodo-page-gutter) 24px;
  background: #85cbfa;
  color: #000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s step-end;
}

.nav-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.28s ease, visibility 0s step-start;
}

.nav-overlay-page-logo {
  flex-shrink: 0;
  align-self: center;
  margin-top: 10px;
  width: 320px;
  height: 130px;
  line-height: 0;
  z-index: 1;
}

.nav-overlay-page-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: filter 0.05s ease;
}

.nav-overlay-page-logo:hover img,
.nav-overlay-page-logo:focus-visible img {
  filter: brightness(0) invert(1);
}

.nav-overlay-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  min-height: 0;
  padding-bottom: 0;
  transform: translateY(-20px);
}

.nav-overlay-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.nav-overlay-menu li + li {
  margin-top: 2px;
}

.nav-overlay-menu a {
  display: block;
  font-family: var(--chodo-font-epicene-bold);
  font-weight: 700;
  font-size: var(--chodo-text-display-title-size);
  line-height: var(--chodo-leading-display-title);
  letter-spacing: var(--chodo-tracking-display-title);
  color: #000;
  text-decoration: none;
  transition: color 0.05s ease;
  cursor: pointer;
}

.nav-overlay-menu a.active {
  color: #000;
}

.nav-overlay-menu a:hover,
.nav-overlay-menu a:focus-visible {
  color: #fff;
}

.nav-overlay-lang {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 40px;
  padding-top: 0;
  padding-bottom: 56px;
  font-family: "neue-haas-grotesk-text", "Neue Haas Grotesk Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: #000;
}

.nav-overlay-lang-segment.lang-segment.view-segment {
  display: inline-flex;
  align-items: stretch;
  padding: 3px;
  background: #000;
  border-radius: 999px;
  gap: 3px;
  min-height: 40px;
  box-sizing: border-box;
}

.nav-overlay .lang-segment-btn {
  border: none;
  background: transparent;
  text-decoration: none;
  color: #85cbfa;
  padding: 0 14px;
  margin: 0;
  font-family: var(--chodo-font-sans);
  font-size: var(--chodo-text-ui-sm-size);
  line-height: var(--chodo-leading-ui-sm);
  letter-spacing: var(--chodo-tracking-none);
  font-weight: 500;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  min-width: 32px;
  box-sizing: border-box;
}

.nav-overlay .lang-segment-btn.active {
  background: #85cbfa;
  color: #000;
}

.nav-overlay .lang-segment-btn:focus-visible {
  outline: 2px solid #000;
  outline-offset: 2px;
}

.nav-overlay-legal {
  position: fixed;
  bottom: 27px;
  left: 50%;
  z-index: 50;
  width: max-content;
  max-width: calc(100% - 40px);
  transform: translateX(-50%);
  text-align: center;
  font-family: var(--chodo-font-sans);
  font-size: var(--chodo-text-ui-2xs-size);
  line-height: var(--chodo-leading-ui-2xs);
  letter-spacing: var(--chodo-tracking-ui-wide);
  font-weight: 400;
  margin: 0;
  padding: 0;
}

.nav-overlay-legal a {
  color: #000;
  text-decoration: none;
  transition: color 0.05s ease;
}

.nav-overlay-legal a:hover,
.nav-overlay-legal a:focus-visible {
  color: #fff;
}

.nav-overlay-legal a.active {
  font-weight: 700;
}

.nav-overlay-legal-sep {
  opacity: 0.55;
  padding: 0 2.5px;
}

.nav-overlay-instagram {
  position: fixed;
  bottom: 27px;
  right: 20px;
  z-index: 50;
  font-family: "neue-haas-grotesk-text", "Neue Haas Grotesk Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.3;
  font-weight: 400;
}

.nav-overlay-instagram a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #000;
  text-decoration: none;
  transition: color 0.05s ease;
}

.nav-overlay-instagram a:hover,
.nav-overlay-instagram a:focus-visible {
  color: #fff;
}

.nav-overlay-instagram-arrow {
  width: 22px;
  height: auto;
  display: block;
  flex-shrink: 0;
  transition: filter 0.15s ease;
}

.nav-overlay-instagram a:hover .nav-overlay-instagram-arrow,
.nav-overlay-instagram a:focus-visible .nav-overlay-instagram-arrow {
  filter: brightness(0) invert(1);
}

/* Gedeelde pill-knop (o.a. homepage, orte, programm) */
.hotspot-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: none;
  background: #85cbfa;
  color: #000;
  padding: 7px 18px;
  min-height: 40px;
  font-family: var(--chodo-font-sans);
  font-size: var(--chodo-text-ui-sm-size);
  line-height: var(--chodo-leading-ui-sm);
  letter-spacing: var(--chodo-tracking-none);
  font-weight: 400;
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  box-sizing: border-box;
  transition: background 0.15s ease, color 0.15s ease;
}

.hotspot-link:hover,
.hotspot-link:focus-visible {
  outline: none;
  background: #000;
  color: #fff;
}

.hotspot-link:active {
  background: #000;
  color: #fff;
}

.hotspot-link img {
  width: 18px;
  height: auto;
  display: block;
  flex-shrink: 0;
  transition: filter 0.15s ease;
}

.hotspot-link:hover img,
.hotspot-link:focus-visible img {
  filter: brightness(0) invert(1);
}

.site-footer {
  margin-top: 72px;
  margin-left: var(--chodo-bleed-breakout-margin);
  margin-right: var(--chodo-bleed-breakout-margin);
  margin-bottom: calc(-24px - env(safe-area-inset-bottom, 0px));
  width: var(--chodo-bleed-breakout-width);
  padding: 20px var(--chodo-page-gutter) calc(30px + env(safe-area-inset-bottom, 0px));
  background: #ffa593;
  color: #000;
  box-sizing: border-box;
}

.site-footer-inner {
  width: 100%;
  max-width: none;
  margin: 0;
  font-family: var(--chodo-font-sans);
  font-size: var(--chodo-text-ui-xs-size);
  line-height: var(--chodo-leading-ui-xs);
  letter-spacing: var(--chodo-tracking-ui);
  font-weight: 400;
}

.site-footer-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
  width: 100%;
  margin-bottom: 0;
}

.site-footer-col--nav,
.site-footer-col--partners-left,
.site-footer-col--partners-right,
.site-footer-col--extra {
  padding-top: 40px;
  min-width: 0;
}

.site-footer-col--nav {
  text-align: left;
}

.site-footer-col--partners-left,
.site-footer-col--partners-right {
  text-align: left;
  justify-self: stretch;
}

.site-footer-col--partners-right .site-footer-partners,
.site-footer-col--partners-left .site-footer-partners {
  width: 100%;
  max-width: 100%;
}

.site-footer-col--logo {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-width: 0;
}

.site-footer-col--extra {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  min-width: 0;
  text-align: right;
}

.site-footer-partners {
  width: 100%;
  max-width: 100%;
}

.site-footer-logo {
  display: block;
  width: 320px;
  max-width: 100%;
  height: 130px;
  margin: 0;
  line-height: 0;
}

.site-footer-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.site-footer-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.site-footer-menu a {
  display: block;
  font-family: var(--chodo-font-sans);
  font-weight: 700;
  font-size: var(--chodo-text-ui-lg-size);
  line-height: var(--chodo-leading-ui-lg);
  letter-spacing: var(--chodo-tracking-ui-lg);
  color: #000;
  text-decoration: none;
  transition: color 0.1s ease;
}

.site-footer-menu a:hover,
.site-footer-menu a:focus-visible {
  color: #fff;
}

.site-footer-menu a.active {
  color: #000;
}

.site-footer-lang-segment.view-segment {
  display: inline-flex;
  align-items: stretch;
  padding: 2px;
  background: #000;
  border-radius: 999px;
  gap: 2px;
  min-height: 28px;
  max-width: 100%;
  flex-shrink: 0;
  box-sizing: border-box;
}

.site-footer .lang-segment-btn {
  border: none;
  background: transparent;
  text-decoration: none;
  color: #ffa593;
  padding: 0 10px;
  margin: 0;
  font-family: inherit;
  font-size: var(--chodo-text-ui-2xs-size);
  line-height: 1.2;
  font-weight: 500;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  min-width: 32px;
  box-sizing: border-box;
}

.site-footer .lang-segment-btn.active {
  background: #ffa593;
  color: #000;
}

.site-footer .lang-segment-btn:not(.active) {
  opacity: 1;
}

.site-footer .lang-segment-btn:hover,
.site-footer .lang-segment-btn:focus-visible {
  color: #ffa593;
}

.site-footer .lang-segment-btn.active:hover,
.site-footer .lang-segment-btn.active:focus-visible {
  color: #000;
}

.site-footer .lang-segment-btn:focus-visible {
  outline: 2px solid #000;
  outline-offset: 2px;
}

.site-footer-partners-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: var(--chodo-text-ui-xs-size);
  line-height: var(--chodo-leading-ui-xs);
  letter-spacing: var(--chodo-tracking-ui);
}

.site-footer-partners-list li {
  margin: 0;
  padding-left: 0;
  text-indent: 0;
  break-inside: avoid;
}

.site-footer-partner-link {
  color: #000;
  text-decoration: none;
  transition: color 0.1s ease;
}

.site-footer-partner-link:hover,
.site-footer-partner-link:focus-visible {
  color: #fff;
}

.site-footer-bottom {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: center;
  gap: 20px;
  width: 100%;
  padding-top: 100px;
}

.site-footer-copyright {
  margin: 0;
  grid-column: 1;
  justify-self: start;
  font-size: var(--chodo-text-ui-2xs-size);
  line-height: var(--chodo-leading-ui-2xs);
  letter-spacing: var(--chodo-tracking-ui-wide);
  font-weight: 400;
  text-align: left;
}

.site-footer-nav {
  grid-column: 2 / 5;
  justify-self: center;
  padding: 0;
  border-top: none;
  text-align: center;
  white-space: nowrap;
  font-size: var(--chodo-text-ui-2xs-size);
  line-height: var(--chodo-leading-ui-2xs);
  letter-spacing: var(--chodo-tracking-ui-wide);
}

.site-footer-nav a {
  color: #000;
  text-decoration: none;
  transition: color 0.1s ease;
}

.site-footer-nav a:hover,
.site-footer-nav a:focus-visible {
  color: #fff;
}

.site-footer-sep {
  opacity: 0.55;
  padding: 0 2.5px;
}

.site-footer-instagram {
  margin: 0;
  grid-column: 5;
  justify-self: end;
  font-family: "neue-haas-grotesk-text", "Neue Haas Grotesk Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.3;
  letter-spacing: 0;
  font-weight: 400;
  max-width: 100%;
  text-align: right;
}

.site-footer-instagram a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #000;
  text-decoration: none;
  transition: color 0.1s ease;
}

.site-footer-instagram a:hover,
.site-footer-instagram a:focus-visible {
  color: #fff;
}

.site-footer-instagram-arrow {
  width: 22px;
  height: auto;
  display: block;
  flex-shrink: 0;
  transition: filter 0.15s ease;
}

.site-footer-instagram a:hover .site-footer-instagram-arrow,
.site-footer-instagram a:focus-visible .site-footer-instagram-arrow {
  filter: brightness(0) invert(1);
}

/* Footer: mobiele volgorde tot desktop (logo → nav → taal → instagram → orte → legal) */
@media (max-width: 980px) {
  .site-footer-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 20px;
    justify-items: stretch;
  }

  .site-footer-grid,
  .site-footer-bottom {
    display: contents;
  }

  .site-footer-col--logo {
    grid-column: 1 / -1;
    order: 1;
    justify-self: center;
  }

  .site-footer-logo {
    width: 270px;
    height: 108px;
  }

  .site-footer-col--nav {
    grid-column: 1 / -1;
    order: 2;
    padding-top: 0;
    text-align: center;
  }

  .site-footer-col--extra {
    grid-column: 1 / -1;
    order: 3;
    padding-top: 0;
    align-items: center;
    justify-content: center;
    justify-self: center;
    text-align: center;
    min-height: 0;
  }

  .site-footer-col--extra .site-footer-lang-segment {
    margin-inline: auto;
  }

  .site-footer-col--partners-left {
    grid-column: 1;
    order: 5;
    padding-top: 0;
    text-align: left;
  }

  .site-footer-col--partners-right {
    grid-column: 2;
    order: 5;
    padding-top: 0;
    text-align: left;
  }

  .site-footer-bottom .site-footer-instagram,
  .site-footer-instagram {
    grid-column: 1 / -1;
    order: 4;
    justify-self: center;
    text-align: center;
    margin: 0;
  }

  .site-footer-bottom .site-footer-nav,
  .site-footer-nav {
    grid-column: 1 / -1;
    order: 6;
    justify-self: center;
    text-align: center;
    white-space: normal;
  }

  .site-footer-bottom .site-footer-copyright,
  .site-footer-copyright {
    grid-column: 1 / -1;
    order: 7;
    justify-self: center;
    text-align: center;
  }

  .site-footer-menu ul {
    align-items: center;
  }
}

body.orte-map-view .site-footer {
  display: none;
}

body.nav-menu-open {
  overflow: hidden;
}

/* Desktop smal: 1025–1200px */
@media (min-width: 1025px) and (max-width: 1200px) {
  .nav-overlay-page-logo {
    width: 380px;
    height: 154px;
  }

  .nav-overlay-body {
    max-width: 900px;
  }
}

/* Tablet: 641–1024px */
@media (min-width: 641px) and (max-width: 1024px) {
  .nav-overlay-page-logo {
    width: 400px;
    height: 162px;
  }

  .nav-overlay-body {
    max-width: 960px;
    transform: none;
  }
}

/* Tablet + mobiel: Instagram boven legal, gecentreerd */
@media (max-width: 1024px) {
  .nav-overlay-instagram {
    bottom: 62px;
    left: 50%;
    right: auto;
    width: max-content;
    max-width: calc(100% - 40px);
    transform: translateX(-50%);
    text-align: center;
  }
}

/* Mobiel: ≤640px */
@media (max-width: 640px) {
  .nav-toggle,
  .nav-overlay-close-btn {
    top: 8px;
    right: var(--chodo-page-gutter);
  }

  .nav-overlay-page-logo {
    width: 239px;
    height: 96px;
  }

  .nav-overlay-lang-segment.lang-segment.view-segment {
    padding: 2px;
    gap: 2px;
    min-height: 30px;
  }

  .nav-overlay .lang-segment-btn {
    padding: 0 11px;
    font-size: calc(var(--chodo-text-ui-sm-size) * 0.75);
    min-height: 26px;
    min-width: 24px;
  }
}
