/* =============================================
   ROOT & BOX MODEL
============================================= */
html {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-size: 100%;
}

*, *::before, *::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}

/* =============================================
   FONTS
============================================= */
@font-face {
  font-family: 'Roboto';
  src: url('src/fonts/Roboto-ExtraLight.ttf') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* =============================================
   BASE
============================================= */
body {
  font-family: 'Roboto', system-ui, sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

/* =============================================
   HEADER
============================================= */
header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  height: 10vh;
  font-size: 100%;
  padding: 0 2rem; /* links & rechts Abstand */
}

/* =============================================
   BURGER BUTTON
============================================= */
.burgerBtn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 10vw;
  height: 10vw;
  background: none;
  border: none;
  cursor: pointer;
  padding: 1vw;
}

.burgerBtn span {
  display: block;
  height: 0.5vw;
  background: black;
  transition: all 0.3s;
  transform-origin: center;
}

/* Animiertes X */
.burgerBtn.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burgerBtn.active span:nth-child(2) { opacity: 0; }
.burgerBtn.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =============================================
   MOBILE NAV
============================================= */
.mobileNav {
  position: fixed;
  top: 10vh;
  right: -70vw;
  width: 70vw;
  height: calc(100vh - 10vh);
  background: white;
  border-left: 1px solid #eee;
  z-index: 100;
  transition: right 0.35s ease;
  padding: 2rem 1.5rem;
}

.mobileNav.open {
  right: 0;
}

.mobileNav ul {
  list-style: none;
}

.mobileNav ul li {
  border-bottom: 1px solid #eee;
}

.mobileNav ul li a {
  display: block;
  padding: 1rem 0;
  text-decoration: none;
  color: black;
  font-size: 4vw;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Overlay */
.navOverlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
}

.navOverlay.open {
  opacity: 1;
  pointer-events: all;
}

/* =============================================
   MAIN & SECTIONS
============================================= */
main {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10vw;
  height: 80vh;
  overflow-y: scroll;
  font-size: 18px;
  line-height: 1.6;
}

/* Default: alle Sections zentriert mit Padding */
section {
  text-align: center;
  padding: 0 5vw;
}

/* Bilder und Maps: kein Padding, volle Breite */
.imgLanding,
.mapsFrame {
  width: 100%;
  padding: 0;
}

/* Slider Section: kein seitliches Padding */
.section-gallery {
  padding: 0;
}

/* =============================================
   SOCIAL MEDIA
============================================= */
.socialMediaLinks {
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.socialIcons {
  width: 10vw;
  height: 10vw;
}

.brandIcon {
  width: 25vw;
}

/* =============================================
   SERVICES
============================================= */
.serviceList {
  list-style: none;
}

/* =============================================
   GALLERY / SLIDER
============================================= */
.slider {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.slider-track {
  display: flex;
  transition: transform 0.4s ease;
}

.slide {
  min-width: 100%;
  height: 60vw;
  object-fit: cover;
}

.sliderBtn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  border: none;
  color: white;
  font-size: 1.5rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
}

.prevSlide { left: 0; }
.nextSlide { right: 0; }

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #555555;
  cursor: pointer;
  transition: background 0.2s;
}

.slider-dot.active {
  background: #c8a97e;
}

/* =============================================
   CALENDAR SECTION
============================================= */
.section-title {
  text-align: center;
}

.section-content {
  text-align: left;
  padding: 0 2vw;
}

.cal-widget-header {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1rem;
}

.cal-nav-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.cal-nav-btns {
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.cal-nav-btn {
  width: 17vw;
  height: 8vw;
}

/* Wochentage Header */
.cal-week {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  list-style-type: none;
}

/* Kalender Grid */
.calendarDays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1vw;
  align-items: center;
}

/* Einzelner Tag */
.calDay {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  align-items: center;
  width: 13vw;
  height: 13vw;
  overflow: hidden;
  word-break: break-word;
  font-size: 3.5cqi;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.calDayPara {
  display: inline;
}

/* Verfügbarkeits-Dot */
.calDot {
  display: inline-block;
  width: 3vw;
  height: 3vw;
  border-radius: 50%;
  vertical-align: middle;
}

.calDot.available { background: #8ab88a; }
.calDot.partial   { background: #c8a97e; }
.calDot.booked    { background: #c84a4a; }

/* =============================================
   FOOTER
============================================= */
footer {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  height: 10vh;
  text-align: center;
  width: 100%;
}

@media (min-width: 1024px) {
  body {
    width: 33vw;
    margin: 0 auto;
  }

  main {
    height: auto;
    overflow-y: visible;
  }

  .socialIcons  { width: 3.3vw; height: 3.3vw; }
  .brandIcon    { width: 8.3vw; }

  .burgerBtn        { width: 3.3vw; height: 3.3vw; }
  .burgerBtn span   { height: 0.17vw; }

  .calDay {
    width: auto;
    height: 4vw;
    font-size: 1.2vw;
  }
  .calDot       { width: 0.8vw; height: 0.8vw; }
  .cal-nav-btn  { width: 5.6vw; height: 2.6vw; }
  .calendarDays { gap: 0.3vw; }

  .slide { height: 20vw; }

  /* ✅ Diese 3 Regeln gehören HIER rein */
  .mobileNav {
    width: 23.3vw;
    right: -23.3vw;
  }

  .mobileNav.open {
    right: calc(50% - 16.5vw);
  }

  .mobileNav ul li a {
    font-size: 1.3vw;
  }
} 

/* =============================================
   IMPRESSUM PANEL
============================================= */
.impressumLink {
  display: block;
  font-size: 3vw;
  color: #555;
  text-decoration: none;

}

.impressumPanel {
  position: fixed;
  bottom: -100%;
  left: 0;
  width: 100%;
  max-height: 80vh;
  background: white;
  border-top: 1px solid #eee;
  z-index: 200;
  transition: bottom 0.35s ease;
  border-radius: 1rem 1rem 0 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.impressumPanel.open {
  bottom: 0;
}

.impressumHeader {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  background: white;
}

.impressumClose {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0.5rem;
}

.impressumContent {
  padding: 1.5rem;
  overflow-y: auto;
  font-size: 3.5vw;
  line-height: 1.8;
}

.impressumContent a {
  color: black;
}

.impressumOverlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 190;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
}

.impressumOverlay.open {
  opacity: 1;
  pointer-events: all;
}

@media (min-width: 1024px) {
  .impressumLink { font-size: 1vw; }
  .impressumContent { font-size: 1vw; }
  .impressumPanel { max-height: 70vh; }
}