:root {
  --nav-text: #2e2f2c;
}

body {
font-size: 18px; 
line-height: 1.8rem; 
font-family: 'Source Sans 3', sans-serif;
background-color:#fff;
color:#333;
font-weight: 400;
  background: url(../../img/mainbg.jpg);
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}


#header {
  background-image: url(../../img/bg_headnav.png);
  background-position: bottom;
  position: sticky;
  top: 0;
  z-index: 3;
}

#container {
  max-width: 1570px;
  margin: -20px auto 0; 
  background-image: url(../../img/bg_paper.jpg);
/*  background: #fff; */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  padding: 0 15px;
}


.alpensee {
  min-height: 400px;
  display: flex;
  background-image: url(../../img/alpensee.jpg);
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  z-index: 2;
  transform: none!important;
}

.strandweg {
  min-height: 900px;
  display: flex;
  background-image: url(../../img/113---IMG_3782.jpg);
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  z-index: 2;
  transform: none!important;
  color: #f9f5f2;
  font-size: 1.4rem;
  text-align: center;
  line-height: 2.8rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.strandweg.mod_article .content-text {
  width: 100%;
  background: rgba(0,0,0,0.4);
  max-width: 100%;
}

.baby {
  font-family: 'Oooh Baby', sans-serif;
  font-size: 2rem;
}


.hero .content-text {
  flex: 1;
  display: flex;
  justify-content: center;

}

.hero-text {
  font-family: 'Oooh Baby', sans-serif;
  font-size: 5rem;
  line-height: 4rem;
  color: #fff;
  text-align: center;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}


#main {
  background-image: url(../../img/duene.jpg);
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

#main .mod_article { 
}

#main .mod_article.bg1,
#main .mod_article.alpensee .content-text,
body.warum #main .mod_article .content-text { 
  margin: 50vh auto 10rem;
  padding: 2rem 4rem;
  max-width: fit-content;
  background: rgba(255,255,255,0);
  z-index: 2;
  position: relative;
  background-image: url(../../img/paper.png);
  background-size: 100% 100%;
}

body.warum.about #main .mod_article .content-text { 
  margin: 0 auto;
  padding: 2rem 4rem;
  max-width: fit-content;
  background: rgba(255,255,255,0);
  z-index: 2;
  position: relative;
  background-image: url(../../img/paper.png);
  background-size: 100% 100%;
}



.mod_article .content-text  {
  max-width: 500px;
  margin: auto;
}


body.warum .bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

body.warum #main {
  position: relative;
  z-index: 1;
  background-image: none;
}

body.warum .bg-inner {
  max-width: 1570px;
  margin: auto;
  position: relative;
  width: 100%;
  height: 100vh; 
}

body.warum .bg .content-image {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 2.2s ease;
}

body.warum .bg .content-image.active {
  opacity: 1;
}

/* WICHTIG: Bild sichtbar machen */
body.warum .bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: 1570px;
  object-fit: cover;
}

#footer {
  margin: auto;
  padding: 0.5rem 0 1rem;
  position: relative;
  z-index: 5;
  background: none;

}

#footer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: calc(100% + 2rem);
  background-image: url(../../img/bg_footnav.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top center;
  z-index: -1;
  pointer-events: none;
}