/* =========================================
   @font-face - Louize
   ========================================= */
@font-face {
  font-family: 'Louize';
  src: url('dist/fonts/Louize.woff2') format('woff2'),
       url('dist/fonts/Louize.otf') format('opentype');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Louize';
  src: url('dist/fonts/Louize-Italic.woff2') format('woff2'),
       url('dist/fonts/Louize-Italic.otf') format('opentype');
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'Louize';
  src: url('dist/fonts/Louize-Medium.woff2') format('woff2'),
       url('dist/fonts/Louize-Medium.otf') format('opentype');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Louize';
  src: url('dist/fonts/Louize-MediumItalic.woff2') format('woff2'),
       url('dist/fonts/Louize-MediumItalic.otf') format('opentype');
  font-weight: 500; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'Louize';
  src: url('dist/fonts/Louize-Bold.woff2') format('woff2'),
       url('dist/fonts/Louize-Bold.otf') format('opentype');
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Louize';
  src: url('dist/fonts/Louize-BoldItalic.woff2') format('woff2'),
       url('dist/fonts/Louize-BoldItalic.otf') format('opentype');
  font-weight: 700; font-style: italic; font-display: swap;
}

/* =========================================
   @font-face - Calibre
   ========================================= */
@font-face {
  font-family: 'Calibre';
  src: url('dist/fonts/Calibre-Thin.woff2') format('woff2'),
       url('dist/fonts/Calibre-Thin.otf') format('opentype');
  font-weight: 100; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Calibre';
  src: url('dist/fonts/Calibre-Light.woff2') format('woff2'),
       url('dist/fonts/Calibre-Light.otf') format('opentype');
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Calibre';
  src: url('dist/fonts/Calibre-Regular.woff2') format('woff2'),
       url('dist/fonts/Calibre-Regular.otf') format('opentype');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Calibre';
  src: url('dist/fonts/Calibre-RegularItalic.woff2') format('woff2'),
       url('dist/fonts/Calibre-RegularItalic.otf') format('opentype');
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: 'Calibre';
  src: url('dist/fonts/Calibre-Medium.woff2') format('woff2'),
       url('dist/fonts/Calibre-Medium.otf') format('opentype');
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Calibre';
  src: url('dist/fonts/Calibre-Semibold.woff2') format('woff2'),
       url('dist/fonts/Calibre-Semibold.otf') format('opentype');
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Calibre';
  src: url('dist/fonts/Calibre-Bold.woff2') format('woff2'),
       url('dist/fonts/Calibre-Bold.otf') format('opentype');
  font-weight: 700; font-style: normal; font-display: swap;
}


/* =========================================
   Variables
   ========================================= */
:root {
  --ss-bg:      #f5ede3;
  --ss-text:    #2e2e2e;
  --ss-border:  #b8ad9e;
  --ss-white:   #ffffff;

  --font-serif: 'Louize', Georgia, 'Times New Roman', serif;
  --font-sans:  'Calibre', 'Helvetica Neue', Arial, sans-serif;
}


/* =========================================
   Base
   ========================================= */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 18px;                 /* design body - Louize 18 px (cls-16) */
  line-height: 1.78;
  color: var(--ss-text);
  background-color: var(--ss-bg);
  margin: 0;
  padding: 0;
  overflow-x: hidden;              /* contain row negative-margin spillover */
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
p   { margin: 0; }
a   { color: inherit; }
ul  { list-style: none; margin: 0; padding: 0; }


/* =========================================
   Typography - px values pulled directly from XD/SVG
   ========================================= */

/* h1 / h2 - main display headings · cls-12 = 42 px Louize */
h1, h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 42px;
  letter-spacing: 0.05em;
  line-height: 1.12;
  margin: 0;
}

/* h3 - section sub-headings · cls-15 = 35 px Louize */
h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 35px;
  letter-spacing: 0.05em;
  line-height: 1.15;
  margin: 0;
}

/* h5 - destination/group titles · cls-26 = 32 px Louize */
h5 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 32px;
  letter-spacing: 0.05em;
  line-height: 1.2;
  margin: 0;
}

/* h4 - uppercase eyebrow label · cls-27 = 17 px Calibre Medium */
h4 {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 17px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ss-text);
  margin: 0;
}

/* Bootstrap .lead override - 20 px Louize (cls-7) */
.lead {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 20px;
  line-height: 1.65;
}

/* Discover more link - cls-18 = 19 px Calibre Regular underline */
.discover-more {
  display: inline-block;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 19px;
  color: var(--ss-text);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: opacity 0.2s ease;
}
.discover-more:hover { opacity: 0.6; color: var(--ss-text); }


/* =========================================
   Bootstrap container - design content width 1510 px
   We strip the container's horizontal padding so the inner width
   equals the full 1510 px, giving rows the exact pixel budget
   the design expects (3-col → 466 px each, 2-col → 715 px each).
   ========================================= */
@media (min-width: 1570px) {
  .container,
  .container-xl,
  .container-xxl {
    max-width: 1510px;
    padding-left: 0;
    padding-right: 0;
  }
}


/* =========================================
   HERO
   ========================================= */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  z-index: 0;
}
/* Two gradient overlays - top fade (for nav legibility) + bottom fade */
.hero__overlay {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 1;
  pointer-events: none;
}
/* Top: black 0.495 → transparent · height 322/1080 ≈ 30 % */
.hero__overlay--top {
  top: 0;
  height: 30%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.495), transparent);
}
/* Bottom: transparent → black 0.495 */
.hero__overlay--bottom {
  bottom: 0;
  height: 30%;
  background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.495));
}


/* =========================================
   SITE HEADER (over hero)
   ========================================= */
.site-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 10;
  height: 120px;
  display: flex;
  align-items: center;
  padding: 0 60px;
}
.site-header__left {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex: 1;
}
.site-header__center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.site-header__right {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

.site-logo img { width: 252px; height: auto; }   /* XD: 252 px wide · ratio 10.32 → ~24 px tall */
.site-logo .logo--dark  { display: none; }
.site-logo .logo--white { display: block; }

.hamburger {
  background: none;
  border: none;
  padding: 4px 0;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hamburger__line {
  display: block;
  width: 41px;
  height: 2.5px;
  background: var(--ss-white);
}

.search-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  line-height: 0;
}

/* Header nav rows */
.header-nav-secondary,
.header-nav-primary {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.header-nav-secondary a {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 15px;
  letter-spacing: 0.09em;
  color: var(--ss-white);
  text-decoration: none;
  transition: opacity 0.2s;
}
.header-nav-primary a {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 20px;
  letter-spacing: 0.09em;
  color: var(--ss-white);
  text-decoration: none;
  transition: opacity 0.2s;
}
.header-nav-secondary a:hover,
.header-nav-primary a:hover { opacity: 0.7; }


/* =========================================
   SECTION - INTRO
   ========================================= */
.section-intro {
  padding: 130px 0 145px;
}
.page--plain-header .section-intro {
  padding-top: 102px;
}
.section-intro h4 { margin-bottom: 35px; }
.section-intro h1 { margin-bottom: 2.5rem; }


/* =========================================
   SECTION - DESTINATIONS  (3-col · 56 px gutter)
   ========================================= */
.section-destinations { padding: 0 0 78px; }

/* 3-col row gutter scales with container width.
   56px / 1510px ≈ 3.7 %  - at narrower viewports the gutter shrinks
   proportionally instead of staying locked at 56 px. Percentage padding
   on cols resolves against the row's (= container's) width. */
.row--3col {
  --bs-gutter-x: 3.7%;
  --bs-gutter-y: 0px;
}

.destination-card__image {
  aspect-ratio: 466 / 582;
  overflow: hidden;
}
.destination-card__image img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.destination-card { display: flex; flex-direction: column; height: 100%; }
.destination-card__body { padding-top: 36px; display: flex; flex-direction: column; flex: 1; }
.destination-card__body h4 { font-size: 16px; margin-bottom:16px; }
.destination-card__body h5 { margin-bottom: 1.5rem; }
.destination-card__body p  { margin-bottom: 1.375rem; }
.destination-card__body .discover-more { margin-top: auto; }

/* Two-link row (Discover more + More Inspiration) used on coming-soon cards */
.destination-card__link-row {
  display: flex;
  gap: 80px;
  margin-top: auto;
}
.destination-card__link-row .discover-more { margin-top: 0; }
.coming-soon-label {
  font-family: var(--font-sans);
  font-size: 19px;
  color: var(--ss-text);
}


/* =========================================
   SECTION - ETHOS  (2-col · 80 px gutter)
   ========================================= */
.section-ethos { padding: 78px 0 78px; }

/* 2-col row gutter scales with container width.
   80px / 1510px ≈ 5.3 % */
.row--2col {
  --bs-gutter-x: 5.3%;
  --bs-gutter-y: 0px;
}

.ethos__text {
  display: flex;
  flex-direction: column;
  padding-top: clamp(0px, 7.15vw, 108px);
}
.ethos__text h4 { font-size: 16px; margin-bottom: 1.125rem; }
.ethos__text h3 { margin-bottom: 1.875rem; }
.ethos__text p  { margin-bottom: 1.25rem; }
.ethos__text .discover-more { margin-top: 1rem; }

/* Ethos image slider (comingsoon) */
.ethos-swiper {
  width: 100%;
  aspect-ratio: 715 / 894;
  --swiper-pagination-color: white;
  --swiper-pagination-bullet-inactive-color: white;
  --swiper-pagination-bullet-inactive-opacity: 0.5;
}
.ethos-swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}


/* =========================================
   SECTION - TEXT + IMAGE ROW (ethos page)
   715 × 894 px portrait image · text col vertically centered.
   `--text-left` / `--text-right` reverses image position via grid order.
   ========================================= */
.section-text-image { padding: 70px 0; }
.section-text-image .row--2col { --bs-gutter-y: 30px; }

/* Image fills its column at design aspect (715:894) */
.text-image__img {
  display: block;
  width: 100%;
  aspect-ratio: 715 / 894;
  object-fit: cover;
}

/* Text column - vertically centered alongside the image, and horizontally centered text */
.text-image__text {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
/* XD: text box is 590 px wide inside the 715 px text column.
   At narrower viewports the column is already < 590 px so this cap is a no-op. */
.text-image__text > div { width: 100%; max-width: 590px; }
.text-image__text h3 { margin-bottom: 1.75rem; }
.text-image__text p  { margin-bottom: 1.25rem; }
.text-image__text p:last-child { margin-bottom: 0; }

/* Desktop only: for "text-left" variant the HTML is image-first (so mobile stacks
   image-on-top). Swap visual column order here so text appears on the left. */
@media (min-width: 768px) {
  .section-text-image--text-left .row > :nth-child(1) { order: 2; }
  .section-text-image--text-left .row > :nth-child(2) { order: 1; }
}


/* =========================================
   QUOTE - large centered headline between text-image rows
   ========================================= */
.section-ethos-quote { padding: 60px 0 60px; }
.section-ethos-quote h2 { line-height: 1.25; }


/* =========================================
   SECTION-DESTINATIONS - ETHOS variant
   Square images (466 × 466) · no body paragraph · 3 cols desktop
   Mobile: horizontal swipe slider with custom progress bar
   ========================================= */
.section-destinations--ethos { padding: 70px 0 100px; }
.section-destinations--ethos .section-destinations__heading { margin-bottom: 48px; }

.destination-card--compact .destination-card__body { padding-top: 36px; }
.destination-card__image--square { aspect-ratio: 1 / 1; }

/* Slider track - desktop renders as a normal grid (3 cards, equal width).
   Gap scales with container width like the row--3col gutter (56/1510 ≈ 3.7 %). */
.destinations-slider { position: relative; }
.destinations-slider__track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3.7%;
}
/* Hide the progress bar on desktop */
.destinations-slider__progress { display: none; }


/* =========================================
   SECTION - 4 TILES  (2 × 2 grid)
   ========================================= */
.section-tiles { padding: 0 0 6rem; }
.section-tiles .row--2col { --bs-gutter-y: 4.5rem; }

.tile-card__image {
  aspect-ratio: 715 / 548;
  overflow: hidden;
}
.tile-card__image img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.tile-card__body { padding-top: 48px; }
.tile-card__body h4 { font-size: 16px; margin-bottom: 20px; }
.tile-card__body h3 { margin-bottom: 24px; }
.tile-card__body p  { margin-bottom: 2rem; }


/* =========================================
   SECTION - INSTAGRAM
   ========================================= */
.section-instagram { padding: 78px 0 78px;  }
.section-instagram h2 { margin-bottom: 3.25rem; }

.instagram-placeholder {

}


/* =========================================
   FOOTER
   ========================================= */
.site-footer { background-color: var(--ss-bg); margin-top:75px;}

.footer-divider {
  height: 1px;
  background-color: var(--ss-border);
}

/* Newsletter strip */
.footer-newsletter { padding: 58px 0 58px }
.footer-newsletter h4 { font-size: 20px; margin-bottom: 0.625rem; }

.newsletter-cta {
  display: inline-block;
  border: 1.5px solid var(--ss-border);
  padding: 1.125rem 2rem;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 20px;
  letter-spacing: 0.05em;
  color: var(--ss-text);
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.2s;
}
.newsletter-cta:hover { opacity: 0.65; color: var(--ss-text); }

/* Link columns - 3 cols · INSPIRATION sits below DESTINATIONEN in col 1 */
.footer-links { padding: 3.5rem 0; }
.footer-links h4 { font-size: 18px; margin-bottom: 0.675rem; }

.footer-links li { line-height: 40px; }
.footer-links a {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 19px;
  color: var(--ss-text);
  text-decoration: none;
  transition: opacity 0.2s;
}
.footer-links a:hover { opacity: 0.6; }

/* Vertical gap between DESTINATIONEN block and INSPIRATION block in col 1 */
.footer-col-spacer { height: 3.5rem; }


.col-information { padding-right: 58px; }

/* Bottom area - logo (133×133, centered) · full-width divider · legal text */
.footer-brandmark-wrap {
  padding: 3.5rem 0 30px;            /* XD: 30 px margin below brandmark before divider */
}
.footer-brandmark-wrap img {
  display: inline-block;
  width: 90px;                       /* XD: 90 px wide · SVG aspect 1.176 → ~77 px tall */
  height: auto;
}

.footer-legal {
  padding: 1.5rem 0 2.5rem;
}
.footer-legal p {
  font-family: var(--font-serif);
  font-size: 14px;
  margin-bottom: 1.5rem;
}
.footer-legal p:last-child { margin-bottom: 0; }
.footer-legal .sep { margin: 0 2rem; }
.footer-legal a { text-decoration: none; }
.footer-legal a:hover { text-decoration: underline; }


/* =========================================
   PAGE VARIANT - Plain header (no hero image)
   Applied via <body class="page--plain-header">
   Flips header from absolute/white to in-flow/dark.
   ========================================= */
.page--plain-header .site-header {
  position: relative;
  background-color: var(--ss-bg);
}
.page--plain-header .hamburger__line          { background: var(--ss-text); }
.page--plain-header .search-btn svg circle,
.page--plain-header .search-btn svg line      { stroke: var(--ss-text); }
.page--plain-header .site-logo .logo--dark    { display: block; }
.page--plain-header .site-logo .logo--white   { display: none; }
.page--plain-header .header-nav-secondary a,
.page--plain-header .header-nav-primary a     { color: var(--ss-text); }


/* =========================================
   STICKY HEADER - fixed, slides in on scroll
   ========================================= */
.sticky-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 120px;
  background: var(--ss-bg);
  display: flex;
  align-items: center;
  padding: 0 60px;
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}
.sticky-header.is-visible { transform: translateY(0); }
.sticky-header .hamburger__line          { background: var(--ss-text); }
.sticky-header .search-btn svg circle,
.sticky-header .search-btn svg line      { stroke: var(--ss-text); }
.sticky-header .logo--dark  { display: block; }
.sticky-header .logo--white { display: none; }
.sticky-header .header-nav-secondary a,
.sticky-header .header-nav-primary a     { color: var(--ss-text); }


/* =========================================
   MOBILE STICKY FOOTER CTA - fixed bottom, slides up on scroll
   ========================================= */
.sticky-footer-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 100;
  height: 68px;
  background: var(--ss-bg);
  align-items: center;
  justify-content: center;
  gap: 19px;
  padding: 0 43px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}
.sticky-footer-cta.is-visible { transform: translateY(0); }
.sticky-footer-cta__btn {
  flex: 1;
  height: 35px;
  border: 1px solid var(--ss-border);
  background: transparent;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--ss-text);
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
}


/* =========================================
   MENU OVERLAY - full-screen nav
   ========================================= */
.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.35s ease, visibility 0.35s;
}
.menu-overlay.is-open {
  visibility: visible;
  opacity: 1;
}

/* Left panel - content-based width; right bg-image fills remaining space */
.menu-overlay__panel {
  position: relative;
  background: var(--ss-bg);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  overflow-y: auto;
  transform: translateX(-24px);
  transition: transform 0.35s ease;
}
.menu-overlay.is-open .menu-overlay__panel {
  transform: translateX(0);
}

/* Panel header row - same height as site-header */
.menu-overlay__panel-header {
  position: relative;
  height: 150px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  padding: 0 60px 0 197px;
}

/* Logo: left-aligned at x=197 - natural flex item, no centering on desktop */
.menu-overlay__logo { flex-shrink: 0;padding-top:90px; }
.menu-overlay__logo img { width: 252px; height: auto; display: block; }

/* Desktop close X - top right of panel */
.menu-overlay__close {
  position: absolute;
  right: 60px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

/* Mobile elements - hidden on desktop */
.menu-overlay__close-mobile,
.menu-overlay__lang,
.menu-overlay__cta { display: none; }

/* Gallery link - not in desktop design */
.menu-overlay__nav-gallery { display: none; }

/* Nav body */
.menu-overlay__body {
  flex: 1;
  padding: 90px 230px 60px 205px;
}

/* Inner flex row - divider stretches to content height, not full panel */
.menu-overlay__cols {
  display: flex;
  align-items: stretch;
}

/* Main nav items - fixed 270px column; negative margin cancels top half-leading */
.menu-overlay__nav { flex: 0 0 270px; align-self: flex-start; margin-top: -19px; }
.menu-overlay__nav a {
  display: block;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 22px;
  letter-spacing: 0.03em;
  color: var(--ss-text);
  text-decoration: none;
  line-height: 60px;
}
.menu-overlay__nav a:hover { opacity: 0.55; }
.menu-overlay__nav a.has-submenu::after {
  content: '';
  display: inline-block;
  width: 25px;
  height: 14px;
  margin-left: 12px;
  vertical-align: middle;
  background-image: url('images/menu-arrow.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;margin-bottom: 7px;
}

/* Vertical divider - stretches to tallest of nav/destinations columns */
.menu-overlay__col-divider {
  width: 1px;
  background: var(--ss-border);
  margin: 0 90px;
  flex-shrink: 0;
}

/* Destinations sub-nav - align-self: flex-start so divider matches content height */
.menu-overlay__destinations { flex-shrink: 0; align-self: flex-start; }
.menu-overlay__sub-group { margin-bottom: 48px; }
.menu-overlay__sub-group h4 {
  font-size: 16px;
  margin-top: 0;
  margin-bottom: 12px;
}
.menu-overlay__sub-group a {
  display: block;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 20px;
  color: var(--ss-text);
  text-decoration: none;
  line-height: 40px;
}
.menu-overlay__sub-group a:hover { opacity: 0.55; }

/* Right image panel - hero bg + 50% tint */
.menu-overlay__bg-image {
  flex: 1;
  position: relative;
  background-image: url('images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  cursor: pointer;
}
.menu-overlay__bg-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(245, 237, 227, 0.5);
}

/* Scroll lock when menu open */
body.menu-is-open { overflow: hidden; }

/* =========================================
   MENU OVERLAY - tablet (768–1023px)
   Reduce padding so content fits within 100vw
   ========================================= */
@media (min-width: 768px) and (max-width: 1023.98px) {
  .menu-overlay__panel-header { padding: 0 40px 0 100px; }
  .menu-overlay__close { right: 40px; }
  .menu-overlay__body { padding: 50px 110px 50px 110px; }


  .menu-overlay__nav { flex: 0 0 220px; }
  .menu-overlay__col-divider { margin: 0 40px; }

}

@media (max-width: 1100px) {
  .menu-overlay__panel-header {

    height: 120px;

  }

  .menu-overlay__logo { padding-top:30px; }
  .menu-overlay__body {
    padding-top:60px;
  }
}

/* =========================================
   SECTION - PAGE HEADING (request / inner pages)
   ========================================= */
.section-page-heading { padding: 70px 0 60px; }
.section-page-heading h4 { margin-bottom: 28px; }
.section-page-heading h1 { margin-bottom: 1.5rem; }


/* =========================================
   REQUEST FORM
   ========================================= */
.section-request-form { padding: 0 0 6rem; }

/* Label-left / input-right row */
.form-row {
  display: flex;
  align-items: baseline;
  margin-bottom: 20px;
}
.form-row__label {
  flex: 0 0 35%;
  font-family: var(--font-serif);
  font-size: 20px;
  line-height: 41px;
  padding-right: 1rem;
}
.form-row__control { flex: 1; min-width: 0; }

/* Base input / select / textarea */
.form-control-custom {
  display: block;
  width: 100%;
  height: 41px;
  padding: 0 12px;
  background: transparent;
  border: 1px solid var(--ss-border);
  border-radius: 0;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 15px;
  color: var(--ss-text);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.form-control-custom:focus { border-color: var(--ss-text); }

.form-textarea {
  height: 101px;
  padding-top: 10px;
  resize: vertical;
}
.form-row--textarea              { align-items: flex-start; }
.form-row--textarea .form-row__label { line-height: 1.5; padding-top: 10px; }

/* Wrapper - adds custom chevron for selects */
.form-input-wrap { position: relative; }
.form-input-wrap--select::after {
  content: '';
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid var(--ss-text);
  pointer-events: none;
}

/* Date options strip (GENAUE REISEDATEN …) */
.form-date-options {
  font-family: var(--font-sans);
  font-size: 15px;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}
.form-date-options a { text-decoration: underline; color: var(--ss-text); }
.form-input-wrap--date { margin-bottom: 8px; }

/* 3-cell sub-date row */
.form-date-sub-row { display: flex; }
.form-date-sub-cell { flex: 1; position: relative; }
.form-date-sub-cell + .form-date-sub-cell .form-control-custom { border-left: none; }

/* 2-cell split (Kinderdetails) */
.form-input-split { display: flex; }
.form-input-split__cell { flex: 1; position: relative; }
.form-input-split__cell + .form-input-split__cell .form-control-custom { border-left: none; }

/* Sub-labels inside date / split inputs */
.form-sub-label {
  position: absolute;
  top: 8px;
  left: 12px;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 11px;
  color: var(--ss-text);
  pointer-events: none;
  z-index: 1;
}

/* + Weiteres Zimmer link */
.form-add-room { margin: 1rem 0 1.75rem; }
.form-add-link {
  font-family: var(--font-sans);
  font-size: 15px;
  letter-spacing: 0.05em;
  color: var(--ss-text);
  text-decoration: none;
}
.form-add-link:hover { opacity: 0.6; }

/* House Buy Out block */
.form-house-buyout { margin-top: 0.25rem; }
.form-house-buyout__desc {
  font-family: var(--font-serif);
  font-size: 14px;
  line-height: 1.65;
  margin: 0.75rem 0 0.5rem;
}
.form-house-buyout__details {
  margin: 0.75rem 0;
  padding: 0;
}
.form-house-buyout__details li {
  font-family: var(--font-serif);
  font-size: 12px;
  line-height: 1.6;
  list-style: none;
  padding-left: 1em;
  text-indent: -1em;
  margin-bottom: 0.2rem;
}
.form-house-buyout__details li::before { content: '- '; }
.form-house-buyout__note {
  font-family: var(--font-serif);
  font-size: 12px;
  line-height: 1.6;
}

/* Checkbox */
.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  cursor: pointer;
}
.form-checkbox input[type="checkbox"] { display: none; }
.form-checkbox__box {
  flex: 0 0 15px;
  width: 15px;
  height: 15px;
  border: 1px solid var(--ss-border);
  background: var(--ss-white);
  margin-top: 2px;
}
.form-checkbox input[type="checkbox"]:checked + .form-checkbox__box {
  background: var(--ss-text);
}
.form-checkbox__label {
  font-family: var(--font-sans);
  font-size: 15px;
  letter-spacing: 0.05em;
}

/* Privacy */
.form-privacy { margin: 2rem 0 1rem; }
.form-privacy-link { text-decoration: underline; color: var(--ss-text); }

/* Submit */
.form-submit-wrap { display: flex; justify-content: flex-end; }
.form-submit-btn {
  border: 1px solid var(--ss-border);
  background: transparent;
  padding: 0.8rem 2rem;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 16px;
  letter-spacing: 0.05em;
  color: var(--ss-text);
  cursor: pointer;
  transition: opacity 0.2s;
}
.form-submit-btn:hover { opacity: 0.65; }


/* =========================================
   GALLERY (page) - filter switch + image rows
   Design canvas: 1920 × 5271 · content width 1509 px
   Image height in design: 849 px · gaps: 35 px ≈ 2.32 %
   cqw resolves against the nearest ancestor with container-type.
   We mark the section's .container as the query container so BOTH
   the row gap (vertical) and the grid column gap (horizontal)
   reference the same stepped container width - they stay equal.
   ========================================= */
.section-gallery { padding: 30px 0 60px; }
.section-gallery > .container { container-type: inline-size; }

/* Filter row - first button left, last button right, evenly spaced in between */
.gallery-filter {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  border-bottom: 1px solid var(--ss-border);
  margin-bottom: 35px;
  padding-bottom: 22px;
}
.gallery-filter__btn {
  position: relative;
  background: none;
  border: 0;
  padding: 0;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 17px;
  letter-spacing: 0.05em;
  color: var(--ss-text);
  cursor: pointer;
  white-space: nowrap;
  text-transform: uppercase;
  transition: opacity 0.2s ease;
}
.gallery-filter__btn:hover { opacity: 0.65; }
.gallery-filter__btn::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -23px;       /* sits exactly on the .gallery-filter bottom border */
  height: 1.5px;
  background: #695f50;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s ease;
}
.gallery-filter__btn.is-active::after { transform: scaleX(1); }

/* Gallery grid - gap references the .container query host above */
.gallery-grid {
  display: flex;
  flex-direction: column;
  gap: 2.32cqw;
}

/* Row layout - grid columns proportional to design widths · gap 2.32 cqw ≈ 35/1509 */
.gallery-row {
  display: grid;
  gap: 2.32cqw;
  opacity: 1;
  transition: opacity 0.3s ease;
}
.gallery-row.is-fading { opacity: 0; }
.gallery-row.is-hidden { display: none; }

.gallery-row--full           { grid-template-columns: 1fr; }
.gallery-row--split-942-532  { grid-template-columns: 942fr 532fr; }
.gallery-row--split-738-737  { grid-template-columns: 738fr 737fr; }
.gallery-row--split-532-943  { grid-template-columns: 532fr 943fr; }

/* Image figure - aspect-ratio set by class */
.gallery-img {
  margin: 0;
  overflow: hidden;
}
.gallery-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Desktop aspect ratios (image height = 849 in design) */
.gallery-img--d-full { aspect-ratio: 1509 / 849; }
.gallery-img--d-942  { aspect-ratio:  942 / 849; }
.gallery-img--d-532  { aspect-ratio:  532 / 849; }
.gallery-img--d-738  { aspect-ratio:  738 / 849; }
.gallery-img--d-737  { aspect-ratio:  737 / 849; }
.gallery-img--d-943  { aspect-ratio:  943 / 849; }


/* =========================================
   BACK TO TOP
   ========================================= */
.section-back-to-top {
  padding: 40px 0 40px;
  text-align: center;
}
.back-to-top {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 19px;
  color: var(--ss-text);
  text-decoration: none;
  transition: opacity 0.2s ease;
}
.back-to-top:hover { opacity: 0.65; color: var(--ss-text); }

/* Arrow wrapper - layout box matches the visual after the SVG is rotated.
   The SVG itself is 25 × 14 (horizontal) - we render it at native size
   and rotate -90° inside a 14 × 25 box so spacing measurements are correct. */
.back-to-top__arrow {
  display: block;
  width: 14px;
  height: 25px;
  position: relative;
}
.back-to-top__arrow img {
  position: absolute;
  width: 25px;
  height: 14px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-90deg);
}


/* =========================================
   RESPONSIVE - Mobile (< 768 px)
   ========================================= */
@media (max-width: 767.98px) {

  /* XD canvas: 390 px · content 340 px wide · 25 px inset each side */
  .container { padding-left: 25px; padding-right: 25px; }

  body { font-size: 14px; line-height: 1.6; }

  h1, h2 { font-size: 28px; line-height: 1.15; }
  h3     { font-size: 22px; line-height: 1.2; }
  h5     { font-size: 24px; line-height: 1.2; letter-spacing: 0.03em;}
  h4     { font-size: 10px; }
  .lead  { font-size: 14px; line-height: 1.55; }
  .discover-more { font-size: 14px; }

  /* Hero */
  .hero { min-height: 680px; }
  .site-header { height: 68px; padding: 36px 25px 0; align-items: flex-start; }
  .site-header__center { top: 36px; }   /* abs-positioned logo: explicit top replaces flex-center */
  .site-logo img { width: 132px; height: auto; }   /* XD mobile: 132 px wide */
  .hamburger__line { width: 18px; height: 2px; }
  .hamburger { gap: 4px; }
  .header-nav-secondary { display: none; }
  .header-nav-primary a { font-size: 11px; letter-spacing: 0.09em; }
  .header-nav-primary a:last-child { display: none; }  /* ANFRAGEN hidden; only BUCHEN shown */
  .search-btn { display: none; }
  .destination-card__body h4 {

    margin-bottom: 13px;
  }
  .section-intro h4 {
    margin-bottom: 13px;
  }
  .section-intro h1 {
    margin-bottom: 26px;
  }
  /* Section spacing */
  .section-intro        { padding: 4rem 0 3.5rem; }
  .page--plain-header .section-intro {
    padding-top: 52px;
  }

  .section-destinations { padding: 18px 0 3rem; }
  .section-ethos        { padding: 38px 0; }
  .section-ethos .row--2col { --bs-gutter-y: 20px; } /* XD: 20 px gap image → ethos heading */
  .section-welt-heading { padding: 3.5rem 0 1.5rem; }
  .section-tiles        { padding: 0 0 3rem; }
  .section-instagram    { padding: 3rem 0 4rem; }

  .destination-card__body {
    padding-top: 22px;
  }
  .destination-card__body h5 {
    margin-bottom: 15px;
  }
  /* Stack columns */
  .row--3col {
    --bs-gutter-x: 0px;
    --bs-gutter-y: 3.5rem;   /* discover-more → next card image: ~65 px in XD */
  }
  .row--2col {
    --bs-gutter-x: 0px;
    --bs-gutter-y: 2.5rem;
  }
  .section-tiles .row--2col { --bs-gutter-y: 2.5rem; }

  /* Mobile image ratios */
  .destination-card__image { aspect-ratio: 1 / 1; }   /* XD: 340 × 340 square */
  .tile-card__image         { aspect-ratio: 340 / 248; }
  .instagram-placeholder    { aspect-ratio: 340 / 167; }

  /* Card body small overrides */
  .destination-card__body h4,
  .tile-card__body h4,
  .ethos__text h4 { font-size: 10px; }
  .ethos__text h4 ,  .tile-card__body h4 {

    margin-bottom: 14px;
  }

  .ethos__text h3 {
    margin-bottom: 18px;
  }
  .ethos__text     { padding-top: 0; }          /* stacked: no top offset needed */
  .ethos__text .discover-more {
    margin-top: 0;
  }
  .tile-card__body p {
    margin-bottom: 0.8rem;
  }
  .tile-card__body { padding-top: 1.25rem; }    /* XD: ~20 px gap image → eyebrow */
  .tile-card__body h3 {
    margin-bottom: 20px;
  }

  /* =========================================
     Ethos page - mobile
     ========================================= */
  /* Text-image rows: text below image, full-width image, smaller gap */
  .section-text-image { padding: 30px 0; }
  .section-text-image .row--2col { --bs-gutter-y: 22px; }
  .text-image__img { aspect-ratio: 1 / 1; }    /* XD: 340 × 340 square crop */
  .text-image__text h3 { margin-bottom: 14px; font-size: 22px; }
  .text-image__text p  { margin-bottom: 14px; }

  /* Quote - 24 px Louize, centered, narrower */
  .section-ethos-quote { padding: 24px 0; }
  .section-ethos-quote h2 { font-size: 24px; line-height: 1.45; letter-spacing: 0.05em; }

  /* ── Destinations slider (ethos page) ── */
  .section-destinations--ethos { padding: 32px 0 48px; }
  .section-destinations--ethos .section-destinations__heading {
    text-align: left;
    margin-bottom: 22px;
  }

  /* Slider track turns into a horizontally-scrollable, snap-aligned strip.
     Extend to the screen edges via negative margins so the cards
     start at the container's left edge but the strip bleeds right. */
  .section-destinations--ethos .destinations-slider__track {
    display: flex;
    grid-template-columns: none;
    gap: 25px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-right: 47px;          /* fade-out room on right edge - matches XD Rechteck_85 (47 px) */
    margin-right: -25px;          /* bleed past container's right edge */
  }
  .section-destinations--ethos .destinations-slider__track::-webkit-scrollbar { display: none; }
  .section-destinations--ethos .destinations-slider__track > .destination-card {
    flex: 0 0 267px;              /* XD: card width 267 px @ 390 viewport */
    scroll-snap-align: start;
  }
  /* Last card can't snap to the left edge (no scroll room past it) - snap to right instead */
  .section-destinations--ethos .destinations-slider__track > .destination-card:last-child {
    scroll-snap-align: end;
  }
  .section-destinations--ethos .destinations-slider__track .destination-card__image--square {
    aspect-ratio: 1 / 1;
  }
  .section-destinations--ethos .destination-card__body { padding-top: 22px; }

  /* Progress bar - full grey track + brown thumb that scales 1/N → 1 with scrollLeft */
  .destinations-slider__progress {
    display: block;
    position: relative;
    width: 153px;
    height: 1.5px;
    margin: 36px auto 0;
    background: var(--ss-border);
  }
  .destinations-slider__progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #695f50;
    transform-origin: left center;
    transform: scaleX(0.333);
    transition: transform 0.12s ease-out;
  }
  /* Footer */
  .footer-newsletter { padding: 2rem 0; }
  .footer-newsletter h4 { font-size: 11px; }
  .newsletter-cta { font-size: 12px; padding: 0.625rem 1rem; }
  .footer-links { padding: 2rem 0 0; }
  .footer-links h4 { font-size: 10px; margin-bottom: 0.475rem; }
  .footer-links li { line-height: 25px; }
  .footer-links a { font-size: 13px; }
  .footer-col-spacer { height: 2rem; }
  .col-information { padding-right: 0; margin-left: 0 !important; } /* left-aligned, override ms-auto */
  .footer-brandmark-wrap { padding: 2rem 0 30px; }
  .footer-brandmark-wrap img { width: 47px; height: auto; }  /* XD mobile: 47 px wide */
  .footer-legal { padding: 1rem 0 1.5rem; }
  .footer-legal p { font-size: 10px; margin-bottom: 0.5rem; }
  .footer-legal .sep { margin: 0 0.75rem; }

  /* Plain header (mobile) - keep same 36px top padding as hero header */
  .page--plain-header .site-header { padding: 36px 25px 0; }
  /* comingsoon: language nav is the only nav - must stay visible */
  .page--comingsoon .header-nav-secondary { display: flex; }

  /* Sticky header mobile */
  .sticky-header {
    height: 68px;
    padding: 36px 25px 0;
    align-items: flex-start;
  }
  .sticky-header .site-header__center { top: 36px; }
  .sticky-header .header-nav-secondary { display: none; }
  .sticky-header .header-nav-primary a:last-child { display: none; }

  /* Mobile sticky footer CTA - visible on mobile */
  .sticky-footer-cta { display: flex; }

  /* Menu overlay - mobile */
  .menu-overlay__panel { width: 100%; min-width: 0; transform: none; }
  .menu-overlay__bg-image { display: none; }

  .menu-overlay__panel-header { height: 68px; padding: 36px 25px 0; align-items: flex-start; }
  /* Logo: re-apply absolute centering on mobile */
  .menu-overlay__logo {
    position: absolute;
    left: 50%;
    top: 36px;
    transform: translateX(-50%);
  }
  .menu-overlay__logo img { width: 132px; height: auto; }

  /* Mobile: X close at top-left (same spot as hamburger) */
  .menu-overlay__close { display: none; }
  .menu-overlay__close-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
  }

  /* Mobile: language links at right of panel header */
  .menu-overlay__lang {
    display: flex;
    gap: 10px;
    margin-left: auto;
    font-family: var(--font-sans);
    font-weight: 500;
    font-size: 11px;
    letter-spacing: 0.09em;
  }
  .menu-overlay__lang a { color: var(--ss-text); text-decoration: none; }

  /* Mobile nav body */
  .menu-overlay__body { padding: 60px 25px 16px 43px; }
  .menu-overlay__nav { flex: 0 0 142px; margin-top: -11px; } /* half-leading for 40px/18px */
  .menu-overlay__nav a { font-size: 18px; line-height: 40px; }
  .menu-overlay__nav a.has-submenu::after { width: 20px; height: 11px; }
  .menu-overlay__col-divider { margin: 0 33px 0 0; }
  .menu-overlay__sub-group a { font-size: 14px; line-height: 36px; }
  .menu-overlay__sub-group h4 { font-size: 10px; }
  .menu-overlay__sub-group { margin-bottom: 24px; }
  .menu-overlay__nav-gallery { display: block; }

  /* Mobile CTA footer inside overlay */
  .menu-overlay__cta {
    display: flex;
    gap: 19px;
    padding: 0 43px;
    height: 68px;
    align-items: center;
    margin-top: auto;
    flex-shrink: 0;
  }

  /* Page heading */
  .section-page-heading { padding: 36px 0 28px; }

  /* Form */
  .form-row__label { flex: 0 0 42%; font-size: 16px; line-height: 30px; }
  .form-control-custom { height: 30px; font-size: 11px; }
  .form-textarea { height: 91px; }
  .form-date-options { font-size: 11px; }
  .form-checkbox__label { font-size: 12px; }
  .form-submit-btn { font-size: 12px; padding: 0.5rem 1.25rem; }

  /* Gallery - horizontally scrollable filter row (space-between → flex-start so scroll works) */
  .section-gallery { padding: 20px 0 40px; }
  .gallery-filter {
    justify-content: flex-start;
    gap: 24px;
    margin-bottom: 20px;
    padding-bottom: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* extend filter row to the screen edges so the scrollable area
       starts at the container's left and bleeds past the right */
    margin-left: -25px;
    margin-right: -25px;
    padding-left: 25px;
    padding-right: 25px;
  }
  .gallery-filter::-webkit-scrollbar { display: none; }
  .gallery-filter__btn {
    font-size: 14px;
    flex-shrink: 0;
  }
  .gallery-filter__btn::after { bottom: -15px; height: 1px; }

  /* Mobile: every row stacks; image figures become full-width with their mobile crops */
  .gallery-grid { gap: 20px; }
  .gallery-row {
    display: flex;
    flex-direction: column;
    gap: 20px;
    grid-template-columns: none;
  }
  .gallery-img--m-square    { aspect-ratio: 1 / 1; }
  .gallery-img--m-landscape { aspect-ratio: 340 / 220; }
  .gallery-img--m-portrait  { aspect-ratio: 340 / 440; }

  /* Back to top - arrow stays 14×25, only text shrinks */
  .section-back-to-top { padding: 24px 0 50px; }
  .back-to-top { font-size: 12px; gap: 2px; }
}


.search-btn {display:none; }