
html {
  /* this makes 1rem */
  font-size: 14px!important;  
  scroll-behavior: smooth;
}

@media (max-width: 991px) {
  :root {
    --fs-h1: 5.5rem!important;  
    --fs-h2: 3.5rem!important; 
  }
}

@media (max-width: 767px) {
  :root {
    --fs-h1: 5.0rem!important;   
  }
}

@media (max-width: 575px) {
  :root {
    --fs-h1: 3.8rem!important;   
    --fs-h2: 3.0rem!important;  
  }
}

:root {
    --fs-base:      1rem;      
    --fs-small:     0.875rem; 
    --fs-h3:        1.25rem;   
    --fs-h2:        4.0rem;    
    --fs-h1:        6.5rem;      

    /* Optional: line-height for readability */
    --lh-base:      1.6;

    /* Colors */
    --color-white: #FFFFFF;
    --color-subwhite: #ebebeb;
    --color-background: #FFFAF5;
    --color-alternative: #E3DAC9;
    --color-title: #5C6151;
    --color-title-dark: #3f4237;
    --color-text: #6B6B6B;

    /* navbar-desktop */

    --nav-height: 5rem;
    --nav-height-scrolled: 4rem;
    --transition-duration: 0.3s;

    /* calendar */
    --cal-color-free: #C8E6C9;
    --cal-color-partial: #FFECB3;
    --cal-color-booked: #E3DAC9;
    --cal-color-select-light: rgba(63, 66, 55, 0.2);
    --cal-color-select-strong: rgba(63, 66, 55, 0.4);
    --cal-gap: 4px;
    --cal-radius: 4px;
    --cal-cell-size: 40px;
    --calendar-width: calc(7 * var(--cal-cell-size) + 8 * var(--cal-gap));
    --cal-transition-speed: 0.1s;
      
}

body {
    font-family: 'Noto Sans'!important;
    font-weight: 400;
    font-size: var(--fs-base);
    line-height: var(--lh-base);
    color: var(--color-text)!important;
    background-color: var(--color-background)!important;
    margin: 0;
    /* only allow vertical pans; block horizontal default scrolling */
    touch-action: pan-y;
    /* prevent scroll “jank” when you hit the edge of the slider */
    overscroll-behavior: contain;
    /* for IE/legacy Edge: */
    -ms-touch-action: pan-y;
}

p {
    font-size: var(--fs-base);
    margin-bottom: 1em;
}

small {
    font-size: var(--fs-small);
}

h1, h2, h3 {
    font-family: 'Playfair Display'!important;
    margin-top: 0!important;
    margin-bottom: 0.5em!important;
    line-height: 1.2!important;
    color: var(--color-title)!important;
}

h1 { 
  font-size: var(--fs-h1)!important; 
  font-weight: 600!important;
}
h2 { 
  font-size: var(--fs-h2)!important; 
  font-weight: 300!important;
}
h3 { 
  font-size: var(--fs-h3)!important; 
  font-weight: 300!important;
}

/* Sticky, rounded container-width navbar-desktop */
#navbar-desktop {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--nav-height);
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    justify-items: stretch;
    background-color: rgba(0, 0, 0, 0.3);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-radius: 50rem;
    padding: 0 1.5rem;
    transition: height var(--transition-duration), background-color var(--transition-duration), padding var(--transition-duration);
}

#navbar-desktop::before {
  content: none!important;
}
#navbar-desktop::after {
  content: none!important;
}

/* Shrink on scroll */
#navbar-desktop.scrolled {
    height: var(--nav-height-scrolled);
    /*background-color: rgba(0, 0, 0, 0.5);*/
    padding: 0 1rem;
}

/* Inline-block nav items to limit hover area */
.nav-item,
.logo {
    display: inline-block;
    width: auto;
    transition: transform var(--transition-duration);
}

/* Positioning each cell's content */
.nav-left {
    justify-self: start;
}
.logo {
    justify-self: center;
    color: #fff;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
}
.nav-right {
    justify-self: end;
}

/* navbar-desktop links */
.nav-item {
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 300;
  position: relative;
  padding: 0.25rem 0;
  display: inline-block;
  overflow: hidden;
  text-decoration: none!important;
}

.nav-item:focus {
  text-decoration: none!important;
  color: #fff;
}

.nav-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  height: 1px;
  width: 100%;
  background-color: #fff;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

/* Left item: animate from right to left */
.nav-item.nav-left::after {
  left: 0;
  transform-origin: right;
}

/* Right item: animate from left to right */
.nav-item.nav-right::after {
  left: 0;
  transform-origin: left;
}

.nav-item:hover::after {
  transform: scaleX(1);
}

.nav-item:hover {
    transform: scale(1.05);
    text-decoration: none;
    color: var(--color-subwhite)!important;
}

.logo img {
  height: 3.5rem;
  transition: transform var(--transition-duration);
  vertical-align: middle;
}
#navbar-desktop.scrolled .logo img {
  transform: scale(0.9);
}
.logo img:hover {
  transform: scale(1.05);
}

.nav-item.active::after {
  transform: scaleX(1) !important;
}

.nav-item.active {
  transform: scale(1.05);
}

/* --- // HERO SECTION // --- */

.hero {
  overflow: hidden;
  position: relative;
  width: 100vw;
  left: 50%;
  background-color: rgb(217, 217, 217);
  transform: translateX(-50%);
  /* pull it up behind the sticky navbar */
  margin-top: calc(-1 * var(--nav-height));
  /* preserve spacing so content isn’t hidden */
  padding-top: var(--nav-height);
  z-index: 0;
  height: 100vh;
  background-image: url(/assets/img/achternhus-main.jpeg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.hero .wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: auto;
  display: block;
  pointer-events: none;
}

.hero .content {
  position: relative; /* so text stays above the SVG */
  top: 20vh;
  z-index: 1;
}

.hero .content p {
  margin: 0;
  color: var(--color-white)!important;
  position: relative;
  top: 1rem;
  left: 2rem;
  font-size: calc(var(--fs-h1) * 0.2);
  font-weight: 300;
}

.hero .content h1 {
  margin: 0;
  color: var(--color-white)!important;
}

.hero .content .learn-more-button {
  position: relative;
  padding: 1.2rem 3rem;
  border: 1px solid var(--color-white);
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.0);
  backdrop-filter: blur(5px);
  color: var(--color-white);
  font-size: var(--fs-base);
  font-weight: 300;
  cursor: pointer;
  overflow: hidden;
  transition: color 0.3s ease;
}

.hero .content .learn-more-button::before {
  content: "";
  position: absolute;
  top: var(--y, 50%);
  left: var(--x, 50%);
  transform: translate(-50%, -50%);
  width: 0;
  aspect-ratio: 1 / 1;
  background: var(--color-white);
  border-radius: 50%;
  z-index: 0;
  transition: width 1s ease;
  pointer-events: none;
}

.hero .content .learn-more-button:hover::before {
  width: 200%;
}

.hero .content .learn-more-button span {
  position: relative;
  z-index: 1;
  transition: color 0.3s ease-in;
}

.hero .content .learn-more-button:hover span {
  color: var(--color-text);
}

.mouse-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  cursor: pointer;
  z-index: 2;
}

.mouse-scroll-indicator .mouse-scroll-svg {
  display: block;
  width: 1.5rem;    /* adjust to your SVG’s natural size */
  height: auto;
  animation: scroll-bounce 3s ease-in-out infinite;
}

/* gentle 3px bounce, quick down/up then long rest */
@keyframes scroll-bounce {
  0%, 20%, 100% {
    transform: translateY(0);
  }
  10% {
    transform: translateY(3px);
  }
}

@media (max-width: 991px) {
  
}

@media (max-width: 767px) {
  .hero .content p {
    top: 0;
    left: 0;
    text-align: center;
    font-size: 1rem!important;

  }
  .hero .content h1 {
    text-align: center;
  }

  .hero .content .learn-more-button {
    display: block;    /* or inline-block with width */
    margin: 5rem auto 0;
  }
}

/* -- // HERO SECTION // -- */

/* -- // VIDEO SECTION // -- */

#video {
  background-color: var(--color-background);
  padding-top: 4rem;
  width: 100%;
  height: auto;
  text-align: center;
}

#video .content p {
  max-width: 500px;
  margin: 2rem auto 0;
}

#video .video-wrapper {
  margin: 3rem auto 4rem;
  position: relative;
  overflow: hidden;
}
#video .video-wrapper video {
  width: 100%;
  height: auto;
  border-radius: 2rem;
  display: block;
  background-color: #c3c3c3;
}
#video .video-control {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background-color: rgba(128, 128, 128, 0.7);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s;
}
#video .video-wrapper:hover .video-control {
  opacity: 1;
}
#video .video-control svg {
  width: 20px;
  height: 20px;
  fill: #fff;
}

@media (max-width: 469px) {
  #video .video-wrapper video {
    height: 35rem;
    object-fit: cover;
  }
}

/* -- // VIDEO SECTION // -- */

/* -- // HOUSE SECTION // --*/

#house {
  width: 100%;
}

#house .wave {
  position: relative;
  bottom: 0;
  left: 0;
  width: 100%;
  height: auto;
  display: block;
  pointer-events: none;
  margin-bottom: -1px;
}

#house .content {
  background-color: var(--color-alternative);
  height: auto;
}

#house .content .headline {
  margin: 4rem auto 0;
}

#house .content .headline i {
  font-weight: 500;
}

#house .content .section-1 {
  display: inline-block;
  text-align: left;
}

#house .content .headline .section-1 .part-3 {
  display: none;
}

#house .content .headline .section-1 .part-2 {
  text-align: right;
  margin: 0; 
}

#house .content .headline .section-1 .part-1,  #house .content .headline .section-1 .part-2{
  margin: 0!important;
  padding: 0!important;
}

#house .content .section-2 {
  display: inline-block;
  text-align: left;
  width: 60%;
  margin-left: 40%;
}

#house .content .section-2 h2 {
  margin: 0;
}

#house .content .section-2 p {
  text-align: left;
}

#house .content .section-2 h1, #house .content .section-2 p {
  margin: 0!important;                /* tighten up spacing */
  padding: 0!important;
}

#house .content .section-2 p {
  margin: 0 0 5rem!important;
}

#house .carousel-wrapper {
  display: flex;
  justify-content: center;
  overflow: hidden;       /* allow overflow so side slides can show */
  padding-bottom: 10rem;
  touch-action: pan-y;
  overscroll-behavior-x: none;
}

#house .carousel-container {
  /* instead of 10%/90%, use 20%/80% so edges fade sooner */
  -webkit-mask-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 0),
    rgba(0, 0, 0, 1) 10%,
    rgba(0, 0, 0, 1) 90%,
    rgba(0, 0, 0, 0)
  );
  mask-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 0),
    rgba(0, 0, 0, 1) 10%,
    rgba(0, 0, 0, 1) 90%,
    rgba(0, 0, 0, 0)
  );
  height: 35rem;
  width: 100%;
  margin: 0 auto;               /* center on page */
  overflow: visible;            /* let slides overflow */
  position: relative;
  touch-action: pan-y;
  overscroll-behavior-x: none;
}

#house .carousel-track {
  display: flex;
  gap: 0.9rem;
  transition: transform 0.5s ease;
  will-change: transform;
  /* only let the browser handle vertical scrolling/pinch-zoom */
  touch-action: pan-y;                        /* 1 */
  /* prevent “go back” navigation & scroll chaining */
  overscroll-behavior: contain;               /* 2 */
  /* (optional) prevent text/image selection on drag */
  -webkit-user-select: none;
  user-select: none;
}
#house .slide {
  flex: 0 0 auto;             /* override 33.333%‐based flex so we can compute width manually */
  width: calc((35rem * 4) / 3); /* ≈533.33px */
  height: 35rem;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  
}
#house .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;           /* maintain aspect ratio while filling height */
  /* prevent native drag “ghost” */
  -webkit-user-drag: none;
  user-drag: none;
  user-select: none;
  /* let the slide catch all pointer events */
  pointer-events: none;
}
/* Dim side slides */
#house .slide.prev img,
#house .slide.next img {
  opacity: 0.6;
}
/* Caption for center slide */
#house .caption {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  display: flex;
  align-items: center;
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 2;
}
#house .slide.active .caption {
  opacity: 1;
}
#house .caption .dot {
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  background: #fff;
  margin-right: 0.5rem;
}
#house .caption .title {
  color: #fff;
  font-size: 1.1rem;
  text-shadow: 0 0 5px rgba(0,0,0,0.7);
}
/* Navigation buttons at bottom-right of center image */
#house .button-group {
  position: absolute;
  bottom: 1.2rem;
  left: calc(50% + 18rem);
  transform: translateX(calc(16.6667% - 45px)); /* half slide width (16.6667%) minus half group width (~45px) */
  display: flex;
  gap: 10px;
  z-index: 3;
}
#house .button-group button {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: none;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0,0,0,0.3);
  transition: all 0.5s;
}

#house .button-group button:hover {
  background: var(--color-alternative);
}

#house .button-group button:focus { outline: none; }
#house .button-group button svg {
  transition: all 0.5s;
  width: 24px;
  height: 24px;
  fill: var(--color-title);
}

#house .button-group button:hover svg {
  fill: var(--color-white);
}

#house .wave-bottom {
  position: relative;
  bottom: 0;
  left: 0;
  width: 100%;
  height: auto;
  display: block;
  pointer-events: none;
}


@media (max-width: 991px) {
  #house .content .section-2 {
    width: 26rem;
    margin-left: 0;
    float: right;
  }
}

@media (max-width: 767px) {

  #house .content .section-1 {
    position: relative;
    left: 50%;
    transform: translate(-50%);
  }

  #house .content .headline .section-1 .part-3 {
    margin: 0 !important;
    padding: 0 !important;
    text-align: right;
    display: block;
  }

  #house .content .section-2 {
    width: 100%;
    text-align: center !important;
    float: none;
    display: block;
    margin: 3rem auto 0;
  }

  #house .content .section-2 h2 {
    display: none;
  }

  #house .content .section-2 p {
    text-align: center;
  }

  #house .carousel-container {
    /* instead of 10%/90%, use 20%/80% so edges fade sooner */
    -webkit-mask-image: none;
    mask-image: none;
    height: 35rem;
  }

  #house .slide {
    flex: 0 0 auto;             /* override 33.333%‐based flex so we can compute width manually */
    width: 100%;
    height: 35rem;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
  }
  #house .carousel-track {
    gap: 0.5rem;
  }

  #house .button-group {
    left: 50%;
  }
}

@media (max-width: 469px) {
  #house .content .headline .section-1 .part-1 {
    text-align: center;
  }
  #house .content .headline .section-1 .part-2 {
    text-align: center;
  }
  #house .content .headline .section-1 .part-3 {
    text-align: center;
  }

}
/* -- // HOUSE SECTION // --*/

/* -- // SURROUNDINGS SECTION // --*/

#surroundings {
  background-color: var(--color-background);
  width: 100%;
  height: auto;
  overflow: hidden;
}

#surroundings .content {
  margin-top: 5rem;
}

#surroundings .content .headline {
  max-width: 54rem;
  margin: 0 auto;
}

#surroundings .content .headline h2 i {
  font-weight: 500;
}

#surroundings .content .headline .h-left {
  text-align: left;
  margin: 0 0 1rem 0 !important;
  padding: 0 !important;
}

#surroundings .content .headline .h-right {
  text-align: right;
  margin: 0 !important;
  padding: 0 !important;
}

#surroundings .content .subtext {
  margin: 3rem auto 0;
  max-width: 50rem;
}

#surroundings .content .subtext p {
  text-align: center;
}

#surroundings .wrapper {
  width: 100%;
  position: relative;
  display: flex;
}

#surroundings .wrapper .items {
  margin-top: 5rem;
  width: 45%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  justify-content: center;
  text-align: center;
}

#surroundings .wrapper .items .circle {
  display: flex;
  width: 6rem;
  height: 6rem;
  border-radius: 100rem;
  background-color: var(--color-title);
  color: var(--color-white);
  transition: all 0.3s;
}

#surroundings .wrapper .item {
  margin: 0 auto;
  width: fit-content;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#surroundings .wrapper .item p {
  width: fit-content;
  margin: 1rem auto;
}

#surroundings .wrapper .item:hover p {
  color: var(--color-title);
}

#surroundings .wrapper .item:hover {
  cursor: pointer;
}

#surroundings .wrapper .item:hover .circle {
  background-color: var(--color-title-dark);
  cursor: pointer;
}

#surroundings .wrapper .items .circle img {
  margin: 0 auto;
  width: 3rem;
  height: auto;
  -webkit-user-drag: none;
  user-drag: none;
  user-select: none;
  transition: all 0.3s;
  filter: none;
}

#surroundings .wrapper .item:hover img {
  filter: brightness(80%);
}

#surroundings .wrapper .map {
  position: relative;
  width: 55%;
  right: 0;
  top: 5rem;
  min-height: 40rem;
  z-index: 1;
}

#surroundings .wrapper .map .map-wrapper {
  position: absolute;
  width: 90%;
  height: auto;
  top: 0rem;
  right: 0rem;
  z-index: 2;
}

#surroundings .wrapper .map .map-wrapper .map-background {
  width: 100%;
  height: auto;
}

#surroundings .wrapper .map .map-wrapper .map-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 3;
  user-drag: none;
  -webkit-user-drag: none;
  user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}

#surroundings .wrapper .map .water-bg {
  position: absolute;
  left: 0;
  top: -9rem;
  width: 55vw;
  height: 37rem;
  z-index: 0;
  display: block;
  z-index: 1;
}

.item-popup {
  position: absolute;
  background: var(--color-alternative);
  border: none;
  box-shadow: none;
  border-radius: 0.5rem;
  overflow: hidden;
  max-width: 40rem;
  display: flex;
  align-items: stretch;
  z-index: 3;

  /* hidden state */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.25s ease,
    visibility 0s linear 0.25s; /* visibility toggles *after* fade-out */
}

/* ----------------------------
   Shown state
   ---------------------------- */
.item-popup.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition:
    opacity 0.25s ease;        /* instant visibility on fade-in */
}

/* image/text columns same as before */
.item-popup .popup-image {
  width: 13rem; height: 13rem;
  flex-shrink: 0;
  background-size: cover;
  background-position: center;
  position: relative;
}
.item-popup .popup-text {
  align-self: center;
  padding-left: 1rem;
  padding-right: 1rem;
  color: var(--color-text);
  font-size: var(--fs-base);
  line-height: 1.4;
}

.item-popup .popup-close {
  display: none;
}

@media (min-width: 1200px) {
  #surroundings .wrapper .map .water-bg {
    height: 42rem;
  }
}

@media (min-width: 1680px) {
  #surroundings .wrapper {
    margin-top: 5rem;
  }
  #surroundings .wrapper .map .water-bg {
    height: 50rem;
    top: -15rem;
  }
}

@media (min-width: 2150px) {
  #surroundings .wrapper {
    margin-top: 8rem;
  }
  #surroundings .wrapper .map {
    min-height: 50rem;
  }
  #surroundings .wrapper .map .water-bg {
    height: 55rem;
    top: -20rem;
  }
}

@media (min-width: 2600px) {
  #surroundings .wrapper .map .water-bg {
    width: 100rem;
    mask-image: linear-gradient(90deg, rgba(0, 0, 0, 1) 60%, rgba(0, 0, 0, 0) 99%);
    -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, 1) 60%, rgba(0, 0, 0, 0) 99%);
  }
}

@media (max-width: 991px) {
  #surroundings .wrapper .map .water-bg {
    top: -7rem;
    width: 55vw;
    height: 30rem;
  }
}

@media (max-width: 767px) {
  #surroundings .wrapper {
    flex-direction: column-reverse;
    justify-items: center;
    margin-top: 3rem;
  }
  #surroundings .wrapper .items {
    justify-content: space-around;
    width: 100%;
    grid-template-columns: repeat(3, 1fr);
  }
  #surroundings .wrapper .map {
    align-self: center;
    width: 90%;
    min-height: 70vw;
  }
  #surroundings .wrapper .map-wrapper {
    width: 100%;
    margin: 0 auto;
    left: 0;
    align-self: center;
    height: auto;
    z-index: 2;
  }

  #surroundings .wrapper .map .water-bg {
    top: -25vw;
    width: 130vw;
    height: 90vw;
  }

  .item-popup {
    flex-direction: column;
    max-width: none;             /* or whatever fits your container */
    width: auto;
  }
  .item-popup .popup-close {
    display: block;
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    font-size: 4rem;
    line-height: 1;
    cursor: pointer;
    z-index: 10;
    fill: var(--color-white);
    color: var(--color-white);
  }
  .item-popup .popup-image {
    width: 100%;
    height: 20rem;        /* modern browsers */
    background-size: cover;
    background-position: center;
  }
  .item-popup .popup-text {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  /* hide the invisible <img> on mobile */
  .item-popup .popup-image img {
    display: none;
  }
}

@media (max-width: 469px) {

  #surroundings .wrapper .items {
    grid-template-columns: repeat(2, 1fr);
  }

  #surroundings .content .headline .h-left,
  #surroundings .content .headline .h-right {
    text-align: center;
    margin: 0 !important;
    padding: 0 !important;
  }

  #surroundings .wrapper .map {
    width: 100%;
    min-height: 85vw;
  }

  #surroundings .wrapper .map .water-bg {
    top: -30vw;
    width: 130vw;
    height: 100vw;
  }

}

/* -- // SURROUNDINGS SECTION // --*/

/* -- // BOOKING SECTION // --*/
#booking {
  margin-top: 3rem;
  width: 100%;
}

#booking .wave {
  position: relative;
  bottom: 0;
  left: 0;
  width: 100%;
  height: auto;
  display: block;
  pointer-events: none;
  margin-bottom: -1px;
}

#booking .content {
  background-color: var(--color-alternative);
  height: auto;
}

#booking .content .headline {
  width: fit-content;
  margin-top: 5rem;
}

#booking .content .headline h2 {
  line-height: 5.5rem !important;
}


#booking .content .headline i {
  font-weight: 500;
}

#booking .content .headline .part-1 {
  text-align: left;
  margin: 0!important;
  padding: 0 !important;
  width: fit-content;
}

#booking .content .headline .part-2 {
  text-align: left;
  margin: 0 12rem!important;
  padding: 0 !important;
  width: fit-content;
}

#booking .content .headline .part-3 {
  text-align: left;
  margin-left: 32rem !important;
  padding: 0 !important;
  width: fit-content;
}

#booking .content .img-text {
  width: 100%;
  display: flex;
  translate: 0 -3rem;

}

#booking .content .img-text img {
  width: 30rem;
  height: 20rem;
  border-radius: 1rem;
  object-fit: cover;
}

#booking .content .img-text .desc {
  margin-left: 2rem;
  margin-top: 1rem;
  position: relative;
}

#booking .content .img-text .desc .p-text {
  margin-top: 3rem;
}

#booking .content .p-text-mobile {
  display: none;
}

#booking .content .img-text .desc .house-overview {
  width: 100%;
  height: 5rem;
  border-radius: 50rem;
  background-color: var(--color-title);
  position: absolute;
  bottom: 0;
  display: flex;
}

#booking .content .img-text .desc .house-overview p {
  margin: 0;
  padding: 0;
  color: var(--color-alternative)!important;
  text-align: center;
}

#booking .content .img-text .desc .house-overview .kalle {
  width: 40%;
  height: 100%;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
}

#booking .content .img-text .desc .house-overview .p-kalle {
  font-size: 1.1rem!important;
}

#booking .content .img-text .desc .house-overview .p-kalle-sub {
  font-size: 0.9rem!important;
}

#booking .content .img-text .desc .house-overview .icon {
  width: 20%;
  height: 100%;
  display: flex;
  align-items: center;
}

#booking .content .img-text .desc .house-overview .icon img {
  height: 3rem;
  width: auto;
  margin: 0 auto;
}


#booking .content .img-text .desc .house-overview .fiete {
  width: 40%;
  height: 100%;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
}

#booking .content .img-text .desc .house-overview .p-fiete {
  font-size: 1.1rem!important;
}


#booking .content .img-text .desc .house-overview .p-fiete-sub {
  font-size: 0.9rem!important;
}

#booking .calendar-section {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  margin-top: 3rem;
}

#booking .calendar-wrapper {
  display: inline-block;
  width: auto;
  max-width: calc(3 * var(--calendar-width) + 2 * var(--cal-gap));
}
#booking .header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--cal-gap);
}
#booking .header button {
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  transition: color var(--cal-transition-speed);
}
#booking .header button:disabled { color: #ccc; cursor: default; }
#booking .header button:hover:enabled { color: var(--color-title-dark); }
#booking .header .title { font-weight: 600; font-size: 1.2rem; }
#booking .month-name {
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: var(--cal-gap);
  color: #333;
}
#booking .calendars {
  display: grid;
  gap: var(--cal-gap);
  justify-content: center;
}
#booking .calendar {
  background: var(--color-background);
  border-radius: var(--cal-radius);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  padding: var(--cal-gap);
  width: var(--calendar-width);
}
#booking .weekdays,
#booking .days {
  display: grid;
  grid-template-columns: repeat(7, var(--cal-cell-size));
  gap: var(--cal-gap);
  text-align: center;
}
#booking .weekdays { margin-bottom: var(--cal-gap); grid-auto-rows: var(--cal-cell-size); }
#booking .weekdays div { line-height: var(--cal-cell-size); font-size: 0.85rem; color: #555; }
#booking .days { grid-template-rows: repeat(6, var(--cal-cell-size)); transition: opacity var(--cal-transition-speed) ease; }
#booking .days div { position: relative; width: var(--cal-cell-size); height: var(--cal-cell-size); line-height: var(--cal-cell-size); border-radius: var(--cal-radius); font-size: 0.9rem; cursor: pointer; transition: background var(--cal-transition-speed); }
#booking .days div::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; border-radius: var(--cal-radius); pointer-events: none; box-sizing: border-box; transition: background var(--cal-transition-speed) ease, border var(--cal-transition-speed) ease, opacity var(--cal-transition-speed) ease; }
#booking .in-range::before { background: var(--cal-color-select-light); opacity: 1; border: none; }
#booking .selected::before { background: var(--cal-color-select-strong); opacity: 1; border: 2px solid var(--color-title); }

#booking .legend {
  width: 100%;
  position: relative;
  display: flex;
  justify-content: right;
}

#booking .legend .item {
  display: flex;
  align-items: center;
  margin-right: 1rem;
}

#booking .legend .item .square {
  height: 1rem;
  width: 1rem;
  margin-right: 0.5rem;
}

#booking .legend .item .free {
  background-color: var(--cal-color-free);
}

#booking .legend .item .partial {
  background-color: var(--cal-color-partial);
}

#booking .legend .item .booked {
  background-color: var(--cal-color-booked);
  border: 1px solid var(--color-text);
}

#booking #availabilityResult { margin-top: 16px; text-align: center; }
#booking #availabilityText { margin-bottom: 8px; font-size: 1rem; }


#booking .booking-select {
  width: 100%;
  position: relative;
  height: 8rem;
  margin-top: 3rem;
}

#booking .booking-button {
  position: absolute;
  margin-left: auto;
  margin-right: auto;
  left: 0;
  right: 0;
  text-align: center;
  padding: 1.2rem 3rem;
  max-width: 30rem;
  border: 1px solid var(--color-title);
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.0);
  color: var(--color-title);
  font-size: var(--fs-base);
  font-weight: 500;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s ease;
  text-decoration: none!important;
}

#booking .booking-button::before {
  content: "";
  position: absolute;
  top: var(--y, 50%);
  left: var(--x, 50%);
  transform: translate(-50%, -50%);
  width: 0;
  aspect-ratio: 1 / 1;
  background: var(--color-title);
  border-radius: 50%;
  z-index: 0;
  transition: width 1s ease;
  pointer-events: none;
}

#booking .booking-button:hover::before {
  width: 200%;
}

#booking .booking-button span {
  position: relative;
  z-index: 2;
  transition: color 0.3s ease-in;
}

#booking .booking-button:hover span {
  color: var(--color-background);
}

/* Disabled state */
#booking .booking-button.disabled {
  opacity: 0.7;
  pointer-events: none;        /* no hover/click */
  cursor: not-allowed;
  border: 1px solid var(--color-text)!important;
  background-color: rgba(255, 255, 255, 0.0);
  color: var(--color-text);
  font-weight: 300!important;
}

/* Stripe‐pattern overlay */
#booking .booking-button.disabled::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-image: repeating-linear-gradient(45deg, rgba(0, 0, 0, 0.2) 0, rgba(0, 0, 0, 0) 2px, transparent 2px, transparent 10px);
  pointer-events: none;        /* allow the button itself to block events */
  z-index: 1;
}

#booking .wave-bottom {
  position: relative;
  bottom: 0;
  left: 0;
  width: 100%;
  height: auto;
  display: block;
  pointer-events: none;
}

#booking .contact {
  display: flex;
  justify-content: center;
  gap: 4rem;
  align-items: center;
  margin-bottom: 5rem;
}

#booking .contact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--color-text);
  transition: color 0.3s ease;
  text-align: center;
}

#booking .contact-item .icon {
  width: 3rem;
  height: 3rem;
  border: 1px solid var(--color-title);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: background-color 0.3s ease, color 0.3s ease;
  color: var(--color-title);
  background-color: transparent;
}

#booking .contact-item:hover .icon {
  background-color: var(--color-title);
  color: var(--color-alternative);
}

#booking .contact-item:hover {
  color: var(--color-title);
}

@media (max-width: 991px) {
  #booking .content .headline {
    width: 100%;
  }
  #booking .content .headline h2 {
    line-height: 1.2!important;
  }
  #booking .content .headline .part-1 {
    text-align: left;
    margin: 0!important;
    width: auto;
  }

  #booking .content .headline .part-2 {
    text-align: center;
    margin: 0!important;
    width: auto;
  }

  #booking .content .headline .part-3 {
    text-align: right;
    margin: 0!important;
    width: auto;
  }

  #booking .content .img-text {
    translate: 0 -0.5rem;
  }

  #booking .content .img-text img {
    width: 22rem;
    height: 20rem;
  }
}

@media (max-width: 767px) {
  #booking .content .p-text-mobile {
    display: block;
    margin-top: 3rem;
  }
  #booking .content .img-text {
    translate: 0;
    margin-top: 2rem;
    flex-direction: column;
  }

  #booking .content .img-text img {
    width: 100%;
    height: 25rem;
  }

  #booking .content .img-text .desc {
    margin-left: 0;
    margin-top: 3rem;
  }

  #booking .content .img-text .desc .p-text { 
    display: none;
  }

  #booking .content .img-text .desc .house-overview {
    position: relative;
  }

  #booking .legend {
    width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
  }

}

@media (max-width: 469px) {
  #booking .content .headline .part-1 {
    text-align: center;
  }
  #booking .content .headline .part-2 {
    text-align: center;
  }
  #booking .content .headline .part-3 {
    text-align: center;
  }

  #booking .content .img-text img {
    width: 100%;
    height: 30rem;
  }
}


@media (max-width: 359px) {
  #booking .contact {
    flex-direction: column;
    gap: 2rem;
  }
}


/* -- // BOOKING SECTION // --*/

/* -- // FOOTER SECTION // -- */

footer .footer-row {
  display: flex;
  margin-top: 5rem;
  justify-content: space-between;
}

footer .footer-row .footer-col-1 .book-now {
  display: flex;
  text-decoration: none!important;
  color: var(--color-title)!important;
  align-items: center;
  width: fit-content;
  margin-top: 1rem;
  transition: all 0.3s;
}

footer .footer-row .footer-col-1 .book-now:hover {
  cursor: pointer;
  translate: 0.5rem;
}

footer .footer-row .footer-col-1 .book-now:hover p {
  color: var(--color-title-dark);
}

footer .footer-row .footer-col-1 .book-now p {
  font-size: 1.1rem;
}

footer .footer-row .footer-col-1 .book-now img {
  width: 1.3rem;
  height: auto;
  margin-left: 0.8rem;
}

footer .footer-row .footer-col-1 .urlaubsarchitektur {
  display: block;
  text-decoration: none!important;
  color: var(--color-title)!important;
  width: fit-content;
  margin-top: 1rem;
  transition: all 0.3s;
}

footer .footer-row .footer-col-1 .urlaubsarchitektur:hover {
  cursor: pointer;
  translate: 0.5rem;
}

footer .footer-row .footer-col-1 .urlaubsarchitektur:hover p {
  color: var(--color-title-dark);
}

footer .footer-row .footer-col-1 .urlaubsarchitektur p {
  font-size: 0.8rem;
  margin: 0;
  padding: 0;
}

footer .footer-row .footer-col-1 .urlaubsarchitektur img {
  height: 1rem;
  width: auto;
}

footer .footer-row .footer-col-1 .instagram {
  display: block;
  text-decoration: none!important;
  color: var(--color-title)!important;
  width: fit-content;
  margin-top: 1.7rem;
  transition: all 0.3s;
}

footer .footer-row .footer-col-1 .instagram:hover {
  cursor: pointer;
  translate: 0.5rem;
}

footer .footer-row .footer-col-1 .instagram:hover p {
  color: var(--color-title-dark);
}

footer .footer-row .footer-col-1 .instagram p {
  font-size: 0.8rem;
  margin: 0;
  padding: 0;
}

footer .footer-row .footer-col-1 .instagram img {
  height: 2.3rem;
  width: auto;
}

footer h2 {
  margin: 0!important;
  padding: 0!important;
}

footer h2 i {
  font-weight: 500;
}

footer .footer-row .footer-col-2 img {
  width: 28rem;
  height: auto;
  overflow: hidden;
}

footer .footer-text {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
}

footer .footer-text p {
  margin-bottom: 0.2rem;
}

footer .footer-text .footer-links {
  display: flex;
  align-items: center;
}

footer .footer-text .footer-links a {
  position: relative;
  text-decoration: none !important;
  color: var(--color-text);
}

footer .footer-text .footer-links a p {
  margin-bottom: 0.2rem;
  color: var(--color-text);
  transition: color 0.3s;
}

footer .footer-text .footer-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;         
  width: 0;
  height: 1px;
  background: var(--color-text);
  transition: all 0.3s ease-in-out;
}

footer .footer-text .footer-links a:hover::after {
  width: 100%;
  background: var(--color-title);
}

footer .footer-text .footer-links a:hover p {
  color: var(--color-title);
}

footer .footer-text .footer-links .datenschutz {
  margin-left: 2rem;
}

@media (max-width: 767px) {
  footer .footer-row {
    flex-direction: column;
    justify-content: center;
  }
  footer .footer-row .footer-col-1 {
    text-align: center;
  }
  footer .footer-row .footer-col-1 .book-now {
    margin: 2rem auto 0;
  }
  footer .footer-row .footer-col-1 .urlaubsarchitektur {
    margin: 2rem auto 0;
  }
  footer .footer-row .footer-col-1 .instagram {
    margin: 2rem auto 0;
  }
  footer .footer-row .footer-col-2 {
    margin-top: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  footer .footer-text {
    flex-direction: column;
  }

}

/* -- // IMPRESSUM SECTION // -- */

/* -- // LEGAL SECTION // -- */

.legal {
  background-color: var(--color-alternative)!important;
}

.legal-content {
  margin-top: 5rem;
}

.legal-content .wave-bottom {
  position: relative;
  bottom: 0;
  left: 0;
  width: 100%;
  height: auto;
  display: block;
  pointer-events: none;
}

.footer-legal {
  background-color: var(--color-background)!important;
}

/* -- // LEGAL SECTION // -- */