/* Fonts */
@font-face { font-family: 'Poppins-Extralight'; src: url('pop/Poppins-Extralight.eot'); src: url('pop/Poppins-Extralight.eot?#iefix') format('embedded-opentype'), url('pop/Poppins-Extralight.woff2') format('woff2'), url('pop/Poppins-Extralight.woff') format('woff'), url('pop/Poppins-Extralight.ttf') format('truetype'); font-weight: 200; font-style: normal; }
@font-face { font-family: 'Poppins-Light'; src: url('pop/Poppins-Light.eot'); src: url('pop/Poppins-Light.eot?#iefix') format('embedded-opentype'), url('pop/Poppins-Light.woff2') format('woff2'), url('pop/Poppins-Light.woff') format('woff'), url('pop/Poppins-Light.ttf') format('truetype'); font-weight: 300; font-style: normal; }
@font-face { font-family: 'Poppins-Medium'; src: url('pop/Poppins-Medium.eot'); src: url('pop/Poppins-Medium.eot?#iefix') format('embedded-opentype'), url('pop/Poppins-Medium.woff2') format('woff2'), url('pop/Poppins-Medium.woff') format('woff'), url('pop/Poppins-Medium.ttf') format('truetype'); font-weight: 500; font-style: normal; }
@font-face { font-family: 'Poppins-Semibold'; src: url('pop/Poppins-SemiBold.eot'); src: url('pop/Poppins-SemiBold.eot?#iefix') format('embedded-opentype'), url('pop/Poppins-SemiBold.woff2') format('woff2'), url('pop/Poppins-SemiBold.woff') format('woff'), url('pop/Poppins-SemiBold.ttf') format('truetype'); font-weight: 600; font-style: normal; }
@font-face { font-family: 'carlasanslight'; src: url('pop/carlasanslight.eot'); src: url('pop/carlasanslight.eot?#iefix') format('embedded-opentype'), url('pop/carlasanslight.woff2') format('woff2'), url('pop/carlasanslight.woff') format('woff'), url('pop/carlasanslight.ttf') format('truetype'); font-weight: 200; font-style: normal; }

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Poppins-Extralight', sans-serif;
  letter-spacing: 0.03em;
  height: 100%;
}

/* Preise */
#preistitel {
  width: 67%;
  float: left;
  display: block;
  margin-bottom: 6px;
}

hr {
  content: "";
  clear: both;
  margin-bottom: -15px;
}

#preis {
  width: 33%;
  float: left;
  display: block;
  text-align: right;
}


/* Scrollbar Styling via SimpleBar */
[data-simplebar] { max-height: 100%; }
.simplebar-scrollbar:before {
  background-color: none !important;
  border-radius: 0 !important; /* eckig */
}
.simplebar-track.simplebar-vertical { width: 15px !important; }

/* Header */
.header {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: 25px; padding-right: 0;
  background: transparent; 
  z-index: 10;
}

.header .logo img { height: 150px; top: 10px; position: fixed; }

/* Neuer fester Button links neben Hamburger */
.header-button {
  position: fixed;
  top: 26px;
  right: 105px;
  background-color: #126078;
  color: #fff;
  padding: 10px 20px 8px 20px;
  font-size: 1.3rem;
  font-family: 'Poppins-Extralight', sans-serif;
  text-decoration: none;
  border-radius: 20px;
  z-index: 12;
  transition: background 0.3s ease;
}
.header-button:hover { background-color: #0f4c5e; }

/* Hamburger */
.header .hamburger {
  position: fixed;
  top: 35px; right: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 35px; height: 22px;
  cursor: pointer;
  z-index: 11;
}
.header .hamburger span { display: block; height: 4px; background-color: #116078; border-radius: 2px; }

/* Overlay Navigation */
.overlay-nav {
  position: fixed; top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(17, 96, 120, 0.95);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: 20;
}
.overlay-nav.active { opacity: 1; pointer-events: auto; }
.overlay-nav a {
  color: #fff;
  font-size: clamp(2rem, 5vw, 3rem);
  text-decoration: none;
  margin: 20px 0;
  font-family: 'Poppins-Extralight', sans-serif;
}

.overlay-nav a:hover {
  color: #82b0be;
}

.overlay-close { position: absolute; top: 22px; right: 43px; font-size: 55px; color: #fff; cursor: pointer; z-index: 21; }

/* Parallax Background */
.parallax { position: absolute; top: 0; left: 0; width: 100%; height: 100vh; background-image: url('img/headspa-hoyerswerda.jpg'); background-size: cover; background-position: center; z-index: -1; }

.overlay { position: fixed; inset: 0; background: rgba(0,0,0,0); pointer-events: none; z-index: 0; }

.bg { position: relative; width: 100%; height: 100vh; display: flex; align-items: center; justify-content: center; }
.content { position: relative; z-index: 2; color: white; text-align: center; padding: 2rem; max-width: 1000px; }

h1 { font-family: 'carlasanslight', serif; font-size: clamp(2rem, 5vw, 2.3rem); margin: 0 0 2.5rem 0; }
p { font-size: clamp(0.7rem, 1.35vw, 1.8rem); margin: 0; }

/* Main content */
main { display: flex; min-height: 300px; padding: 0; position: relative; z-index: 1; margin-bottom: 50px; margin-top: -15%;}
.left-column { flex: 0 0 40%; padding: 15px; box-sizing: border-box; }
.right-column { flex: 0 0 60%; padding: 15px; color: #fff; box-sizing: border-box; }
.right-column img { width: 100%; margin-bottom: -2px; padding: 0; }
.right-column-txt { display: flex; justify-content: space-between; background: #ae7d4c; width: 100%; margin: 0; padding: 0 0 5% 5%; box-sizing: border-box; }
.right-column-text { display: flex; justify-content: space-between; background: #ae7d4c; width: 100%; margin: 0; padding: 5% 0 5% 5%; box-sizing: border-box; }
.full { width: 100%; padding-bottom: 20px; background: #ae7d4c; line-height: 1.4;}
.full h2 { margin: 0; padding: 6% 0 0 6%; font-weight: normal; font-family: 'carlasanslight', serif; font-size: clamp(1.2rem, 2.5vw, 2.8rem); }
.left { width: 70%; padding-right: 0; padding-bottom: 20px; font-size: clamp(1rem, 2vw, 1.5rem); line-height: 1.4;}
.right { width: 25%; padding-right: 3%; display: flex; justify-content: center; text-align: center; color: #fff; font-size: clamp(0.4rem, 1.6vw, 1.2rem); line-height: 1.4;}
.left-column h2, .right-column h2 { margin-top: 0; margin-bottom: 10px; font-family: 'carlasanslight', serif; font-size: clamp(1.2rem, 2.4vw, 2.8rem); line-height: 1.2; }

/* Side menu "Start" */
#sidenav {
  position: fixed;
  color: #126078;
  top: 37%;
  left: 50px;
  z-index: 9;
  display: block;
  font-size: clamp(1.7rem, 2.35vw, 2.5rem);
  line-height: 1.55;
  /* Neu: sanfte Einblendung */
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

#sidenav.visible {
  opacity: 1;
  transform: translateX(0);
  display: block;
}

#sidenav a{
  color: #126078;
  text-decoration: none;
}

/* Side menu "Footer" */
#footer {
  display: block;
  font-size: clamp(1rem, 1.5vw, 1.5rem);
  line-height: 1.5;
  width: 80%;
  padding: 10%;
  text-align: center;
}

#footer img{
  width: 52px;
  padding: 7px;
}

#footer h3{
  font-size: clamp(1.5rem, 2.0vw, 2.0rem);
  line-height: 1.45;
  font-weight: normal;
}

.claim{
  position: absolute;
  transform: translateY(-50%);
  top: 50%;
  right: 10%;
  width: 40%;
}

.claim img{
  width: 100%;
}

html {
  scroll-behavior: smooth; 
}

.voll {
  width: 100%;
  font-size: clamp(1rem, 2vw, 1.5rem);
  line-height: 1.4;
  color: #383838;
  text-align: left;
    content: "";
  clear: both;
}

.voll img{
  width: 50%;
  float: left;
}

.voll h2 {
  margin-bottom: 20px;
  padding: 0;
  font-weight: normal;
  font-family: 'carlasanslight', serif;
  font-size: clamp(1.7rem, 2.5vw, 2.8rem);
  line-height: 1.3;
  text-align: left;
}

.vollhalb {
  width: 50%;
  padding: 5%; 
  float: left;
  margin-left: 40%;
  text-align: left;
}

.vollhalb img{
  width: 100%;
}

.volleindrittel {
  width: 20%;
  padding: 5%; 
  float: left;
  text-align: left;
}

.vollzweidrittel {
  width: 60%;
  padding: 5%; 
  float: left;
  text-align: left;
}

.vollzweidrittel a{
  color: #116078;
}

.vollzweidrittelp {
  width: 75%;
  padding: 5%; 
  float: left;
  text-align: left;
}

.vollzweidrittelp a{
  color: #116078;
}

.vollbild {
  width: 100%;
  font-size: clamp(1rem, 2vw, 1.5rem);
  line-height: 1.4;
  color: #383838;
  text-align: left;
  padding-bottom: 40px;
  content: "";
  clear: both;
}

.vollbild img{
  width: 100%;
  float: left;
  padding-bottom: 25px;
  padding-top: 25px;
}

.clearfix::after {
  content: "";
  clear: both;
}

#meta {
  color: #116078;
  font-size: 17px;
  font-family: 'Poppins-Light', sans-serif;
  position: fixed;
  bottom: 30px;
  left: 40px;
  letter-spacing: 0;
  padding-top: 30px;
  position: fixed;
}

#meta a{
  color: #116078;
  font-size: 17px;
  text-decoration: none;
  padding: 5px;
}

@media (max-width: 768px) {
  main { 
    flex-direction: column; 
    margin-top: -50px; 
  }

  .left-column, .right-column { 
    flex: 0 0 100%; 
    padding: 0; 
  }

  .right-column-txt {
    display: flex;
    flex-direction: column;  /* Spalten untereinander */
    width: 100%;
    margin: 0;
    padding: 0 5% 5% 5%;     /* Abstand rundherum */
  }

  /* Integrierter Block für Textgrößen und Layout */
  .left, .right {
    width: 100%;              /* volle Breite */
    padding: 2% 0;            /* Abstand oben/unten */
    font-size: 1.2rem;        /* größere Schrift für bessere Lesbarkeit */
    line-height: 1.6;         /* angenehmes Zeilenintervall */
  }

  .right {
    justify-content: flex-start;
    text-align: left;         /* besser lesbar */
  }

  .right-column img {
    width: 100%;
    margin-bottom: -2px;
    padding: 0;
  }
  
  p { font-size: clamp(1.0rem, 1.35vw, 1.8rem); margin: 0; }

  .full { 
    width: 100%; 
    padding-bottom: 20px; 
    background: #ae7d4c; 
  }

  .full h2 { 
    margin: 0; 
    padding: 6% 0 0 6%; 
    font-weight: normal; 
    font-family: 'carlasanslight', serif; 
    font-size: clamp(1.7rem, 3.5vw, 3.8rem); 
  }
  
  .claim{
  position: absolute;
  transform: translateY(-50%);
  top: 65%;
  right: 5%;
  width: 70%;
}

.claim img{
  width: 100%;
}

/* Overlay Navigation */
.overlay-nav {
  position: fixed; 
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(17, 96, 120, 0.95);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
  z-index: 10; /* liegt über #sidenav */
}

/* Header */
.header {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: 25px; padding-right: 0;
  background: transparent; 
  z-index: 10;
}

.header .logo img { height: 105px; top: 7px; position: absolute; }

  .header-button{
    /* Wichtig: top zurücksetzen, sonst bleibt top:26px aus der Desktop-Regel aktiv */
    top: auto !important;

    position: fixed;
    bottom: 20px;                 /* Abstand vom unteren Rand */
    display: inline-block;        /* verhindert dass er vollflächig wird */
    width: auto;                  /* keine volle Breite */
    max-width: calc(100% - 40px); /* verhindert Überlaufen auf sehr kleinen Bildschirmen */
    box-sizing: border-box;
    height: auto;                 /* stellt sicher, dass Höhe nicht gestreckt wird */
    line-height: 1.2;
    white-space: nowrap;          /* verhindert Zeilenumbruch im Button-Text */
    padding: 10px 20px;           /* kompakte Größe */
    font-size: 1.1rem;
    border-radius: 20px;
    text-decoration: none;
    left: 50%;
    width: 217px;
    margin-left: -107px;
    z-index: 9999;
  }
  
  /* Side menu "Footer" */
#footer {
  display: block;
  font-size: clamp(1rem, 1.5vw, 1.5rem);
  line-height: 1.5;
  width: 80%;
  padding: 8% 10% 20% 10%;
  text-align: center;
}

#footer img{
  width: 52px;
  padding: 7px;
}

#footer h3{
  font-size: clamp(1.5rem, 2.0vw, 2.0rem);
  line-height: 1.45;
  font-weight: normal;
}

/* Side menu "Start" */
#sidenav {
  position: fixed;
  color: #126078;
  top: 37%;
  left: 50px;
  z-index: 9;
  display: none;
  font-size: clamp(1.7rem, 2.35vw, 2.5rem);
  line-height: 1.55;
  /* Neu: sanfte Einblendung */
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

#sidenav.visible {
  opacity: 1;
  transform: translateX(0);
  display: none;
}

.voll {
  width: 100%;
  font-size: clamp(1.05rem, 2vw, 1.5rem);
  line-height: 1.5;
  color: #383838;
  text-align: left;
}

.voll img{
  width: 100%;
  float: none;
}

.voll h2 {
  margin-bottom: 20px;
  padding: 0;
  font-weight: normal;
  font-family: 'carlasanslight', serif;
  font-size: clamp(1.5rem, 2.5vw, 2.8rem);
  text-align: left;
}

.vollhalb {
  width: 90%;
  padding: 5%; 
  float: none;
  margin-left: 0;
  text-align: left;
}

.vollhalb img{
  width: 80%;
}

.volleindrittel {
  width: 100%;
  padding: 0; 
  float: none;
  text-align: left;
}

.vollzweidrittel {
  width: 90%;
  padding: 0 0 8% 5% ; 
  float: left;
  text-align: left;
}

.vollzweidrittelp {
  width: 90%;
  padding: 0 0 8% 5% ; 
  float: left;
  text-align: left;
}

#meta {
  color: #116078;
  font-size: 17px;
  font-family: 'Poppins-Light', sans-serif;
  position: fixed;
  letter-spacing: 0;
  padding-top: 30px;
  position: relative;
  bottom: 0;
  left: 0;
}

#meta a{
  color: #116078;
  font-size: 17px;
  text-decoration: none;
  padding: 5px;
}

}
