


/* Scrollmagic Animation Start SB  */
.scene-scroll {
  position: relative;
  background: url('../img/loftduschen/loftdusche-01.jpg');
  height: 105vH;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden;
  display: flex;
  justify-content: center;
  padding-top: 200px;
}

@media(max-width: 768px) {
  .scene-scroll {
    /* background-position: 70%; */
    padding-top: 200px;
  }
}

.scroll-img {
  position: absolute;
  width: 80%;
  opacity: 0;
}

.scene-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 60%;
  background: linear-gradient(to bottom, rgba(15, 15, 15, 0.6) 60%, rgba(255, 255, 255, 0));
  opacity: 1;
}

@media(max-width: 576px) {
  .scroll-img {
    width: 90%;
  }
}

/*Headlineimage Defintion*/
.headline-animation {
  /* width: 480px; */
  position: absolute;
  top: 25%;
  left: 50%;
  height: auto;
  width: 100% !important;
  /* filter: drop-shadow(1px 1px 7px #222); */
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 80px !important;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.015em;
  font-optical-sizing: auto;
  /* width: 1000px; */
  text-align: center;
}

.headline-animation #headlineB {
  display: block;
  margin: 20px;
  font-size: 32px;
  color: #9c8978;
  font-weight: 400;
  letter-spacing: -0.005em;
  line-height: 1.3;
}

#headlineA, #headlineB, .scene-overlay, .scene-scroll, {
  opacity: 1;
  visibility: visible;
}

#headlineA, #headlineB {
  display: inline-block;
  transform-origin: center center;
}

.scene-scroll-wrapper {
  position: absolute;
  top: 155px;
  left: 0;
  width: 100%;
  height: calc(100vh - 155px);
}

.headline-animation span {
  opacity: 1;
  visibility: visible;
}

@media (max-width: 1140px) {
  .headline-animation {
    width: 500px;
    /* height: auto; */
    font-size: 60px;
  }

  .headline-animation #headlineB {
    font-size: 32px;
  }
}

@media (max-width: 767px) {
  .headline-animation {
    top: 22%;
    left: 50%;
    font-size: 45px;
    text-align: center;
    width: 440px;
    /* height: auto; */
    font-size: 40px !important;
  }

  .scene-scroll-wrapper {
    top: 140px;
    height: calc(100vh - 140px);
  }

  .headline-animation #headlineB {
    margin: 10px;
    font-size: 22px;
  }
}

@media (max-width: 767px) and (orientation: landscape) {
  .headline-animation {
    top: 10%;
    left: 50%;
    font-size: 45px;
    text-align: center;
    width: 440px;
    /* height: auto; */
    font-size: 40px !important;
  }
}

/*STYLE OVERRITES von Main SB*/
p.themenleadpower {
  font-size: 22px;
  line-height: 1.4;
  font-weight: 400;
}

p.themenlead {
  text-align: center !important;
}

@media (max-width: 996px) {
  p.themenleadpower {
    font-size: 18px;
    line-height: 1.3;
    font-weight: 400;
  }
}

@media (max-width: 767px) {
  p.themenlead {
    text-align: left !important;
  }
}

/***self hosted video css***/
/**video css new**/
/* Videocontainer Containerbreite Control SB  */
.container-fluid {
  padding-left: 0;
  padding-right: 0;
  /* max-width: 1600px; */
}

.limited-height-container {
  max-width: 100%;
  /* Keeps the max width constraint */
  /* max-height: 100vH; */
}

.video-section {
  width: 100%;
  height: auto;
  position: relative;
  display: table;
  overflow: hidden;
  left: 0px !important;
}

.video-section .overlay {
  background-color: rgba(0, 0, 0, 0.0);
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.video-section .fs-background-container {
  left: 0;
}

.video-section .video-overlay {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: table-cell;
  vertical-align: middle;
  text-align: center;
  z-index: 2;
}

.video-section .video-overlay h1 {
  color: #fff;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 70px;
  letter-spacing: 0.015em;
}

.video-section .video-overlay p {
  color: #fff;
}

@media (max-width: 996px) {
  .video-section .video-overlay h1 {
    color: #fff;
    text-transform: uppercase;
    font-size: 55px;
  }

  .videoteaser-overlay {
    top: auto;
    bottom: 10px !important;
    transform: none;
  }

  .video-wrapper {
    min-height: 70vH;
  }
}

@media (max-width: 762px) {
  .video-section .video-overlay h1 {
    color: #fff;
    text-transform: uppercase;
    font-size: 45px;
    margin: 57px 0 4px 0;
  }

  .videoteaser-overlay {
    top: auto;
    bottom: 10px !important;
    transform: none;
  }

  .video-wrapper {
    min-height: 70vH;
  }
}

.control-button {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.3);
  border: 0px solid white;
  border-radius: 50%;
  padding: 8px;
  /* Fixed button size */
  cursor: pointer;
  backdrop-filter: blur(10px);
  z-index: 3;
}

.control-button img.controlIcon {
  width: 19px;
  /* Default size for pause/play icons */
  height: 12px;
  margin-left: 0px;
  margin-bottom: 3px;
}

.control-button img.controlIcon.replay-active {
  width: 25px;
  height: 21px;
  margin-left: -2px;
  margin-bottom: 2px;
  padding-left: 2px;
}

.control-button:hover {
  background: rgba(0, 0, 0, 0.5);
  /* Hover effect */
}

.control-button:has(img.replay-active) {
  padding: 6px;
  /* Reduced padding when replay icon is active */
}

/* ######
      Full width -Image with Overlay SB 2025
    ###### */
.loftduschen-section {
  position: relative;
  width: 100%;
  /* max-width: 1600px; */
  margin: 0 auto;
  height: 70vh;
  overflow: hidden;
  background-color: #e3deda;
  /* visible left background */
}

.loftduschen-image-wrapper {
  /* position: absolute; */
  /* bottom: 0; */
  /* right: 0; */
  width: 70%;
  /* control how wide the image area is */
  height: 90%;
  overflow: hidden;
}

.loftduschen-image {
  width: 90%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  bottom: 0;
  right: 0;
}

.loftduschen-overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: linear-gradient(to right,
      rgba(227, 222, 218, 0.9) 0%,
      rgba(227, 222, 218, 0.7) 20%,
      rgba(227, 222, 218, 0.3) 35%,
      rgba(0, 0, 0, 0) 50%);
  pointer-events: none;
  z-index: 1;
}

.loftduschen-text {
  position: absolute;
  top: 30%;
  left: 0;
  transform: translateY(-50%);
  padding: 20px 20px 20px 80px;
  z-index: 2;
  color: #000000;
}

.loftduschen-section h1 {
  font-size: 80px;
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: #000000;
}

.loftduschen-section p {
  font-size: 18px;
  color: #000000;
}

/* Medium screens */
@media (max-width: 996px) {
  .loftduschen-section {
    height: 80vh;
  }

  .loftduschen-image-wrapper {
    width: 100%;
    height: 70%;
    bottom: 0;
    right: 0;
  }

  .loftduschen-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    position: absolute;
    display: block;
    bottom: -30px;
    right: -30px;
  }

  .loftduschen-overlay {
    background: linear-gradient(to bottom,
        rgba(227, 222, 218, 0.8) 0%,
        rgba(227, 222, 218, 0.6) 5%,
        rgba(227, 222, 218, 0.3) 35%,
        rgba(0, 0, 0, 0) 50%);
  }

  .loftduschen-text {
    position: absolute;
    top: 20%;
    left: 0;
    transform: translateY(-50%);
    padding: 50px 20px 20px 50px;
    z-index: 2;
    color: #000000;
  }

  .loftduschen-section h1 {
    font-size: 44px;
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: -.009em;
    margin-bottom: 20px;
  }
}

@media (max-width: 762px) {
  .loftduschen-section {
    height: 75vh;
  }

  .loftduschen-image {
    width: 170%;
    height: auto;
    object-fit: cover;
    position: absolute;
    display: block;
    bottom: 0;
    right: 0;
  }

  .loftduschen-image-wrapper {
    width: 100%;
    height: 70%;
    bottom: 0;
    right: 0;
  }

  .loftduschen-text {
    padding: 70px 20px 20px 20px;
  }

  .loftduschen-section h1 {
    font-weight: 600;
    font-size: 3.0em;
    line-height: 1.2;
    margin-bottom: 20px;
  }
}

@media (max-width: 762px) and (orientation: landscape) {
  .loftduschen-section {
    height: 100vh;
  }

  .loftduschen-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    position: absolute;
    display: block;
    bottom: -80px;
    right: 0;
  }
}

/*Headlinefarbe und Größe Defintion*/
.center-heading-20-margin {
  font-size: 4em !important;
  color: #000000 !important;
  text-align: center;
  margin: 0 0 20px 0 !important;
}

h1.center-heading-20-margin {
  font-size: 80px !important;
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -.015em;
  text-align: center;
  margin: 0 0 20px 0 !important;
}

h2.center-heading-20-margin {
  font-size: 40px !important;
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -.015em;
  text-align: center;
  margin: 0 0 20px 0 !important;
}

/*responsiveness*/
@media(max-width: 992px) {
  .center-heading-20-margin {
    font-size: 52px !important;
    line-height: 1.0625;
    font-weight: 600;
    letter-spacing: -.009em;
  }

  h1.center-heading-20-margin {
    font-size: 52px !important;
    line-height: 1.0625;
    font-weight: 600;
    letter-spacing: -.009em;
    /* margin: 0 0 0px 0 !important; */
  }

  h2.center-heading-20-margin {
    font-size: 26px !important;
    line-height: 1.05;
  }
}

@media(max-width: 762px) {
  .center-heading-20-margin {
    font-size: 38px !important;
    line-height: 1.0625;
    font-weight: 600;
    letter-spacing: -.009em;
  }

  h1.center-heading-20-margin {
    font-size: 38px !important;
    line-height: 1.0625;
    font-weight: 600;
    letter-spacing: -.009em;
    /* margin: 0 0 0px 0 !important; */
  }
}

.whitemoodtext {
  color: white !important;
}

/*###### Revealer Scrollmagiceffect STYLE SB 2021#######*/
.revealer1sb {
  opacity: 0;
  -webkit-transform: scale(0.95);
  -moz-transform: scale(0.95);
  -ms-transform: scale(0.95);
  -o-transform: scale(0.95);
  transform: scale(0.95);
  -webkit-transition: all 1s ease-in-out;
  -moz-transition: all 1s ease-in-out;
  -ms-transition: all 1s ease-in-out;
  -o-transition: all 1s ease-in-out;
  transition: all 1s ease-in-out;
}

.revealer1sb.visible {
  opacity: 1;
  -webkit-transform: none;
  -moz-transform: none;
  -ms-transform: none;
  -o-transform: none;
  transform: none;
}

/*###### FADEINUPSB Scrollmagiceffect STYLE SB 2021#######*/
.fader1sb {
  opacity: 0;
  -webkit-transform: translateY(15px);
  -moz-transform: translateY(15px);
  -ms-transform: translateY(15px);
  -o-transform: translateY(15px);
  transform: translateY(15px);
  -webkit-transition: all 1s ease-out;
  -moz-transition: all 1s ease-out;
  -ms-transition: all 1s ease-out;
  -o-transition: all 1s ease-out;
  transition: all 1s ease-out;
}

.fader1sb.visible {
  opacity: 1;
  -webkit-transform: none;
  -moz-transform: none;
  -ms-transform: none;
  -o-transform: none;
  transform: none;
}

/* OWL MARGIN SB 2025 */
/* Full-width container with a white background */
#carousel-container {
  background-color: white;
  position: relative;
  padding: 50px 0;
  width: 100%;
}

/* Container for centering the carousel */
.center-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

/* Animation Autoplay Styles Video Autoplay*/
.replay-btn {
  color: rgb(85, 85, 85);
  background-color: transparent;
  border: none;
  outline: none;
  padding-left: 0;
  visibility: hidden;
  margin-top: 1rem;
  float: right;
  padding-right: 0 !important;
}

.vcenter {
  display: inline-block;
  vertical-align: bottom;
  float: none;
}

.video-overlayradial-extra {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse, rgb(79 82 91 / 60%) 0%,
      /* Dark with subtle warm tint */
      rgb(66 67 77 / 30%) 20%,
      /* Intermediate layer */
      rgb(10 17 53 / 0%) 50%
      /* Fades to minimal warm tint */
    );
  z-index: 1;
  transition: all 0.3s ease;
}

.weiteremoodtext {
  color: #fff;
  padding: 7px 0px;
  font-size: 20px !important;
  line-height: 1.3;
  letter-spacing: -.015em;
  margin: 3px 40px 0px;
}

@media (max-width: 762px) {
  .weiteremoodtext {
    font-size: 17px !important;
    margin: 3px 20px 0px;
  }
}
