/* MARGIN ABSTAND REGELUNG BEI ZWEI BILDERN SMALL DEVICE SB 2025  */
@media (max-width: 767px) {
  .row .col-xs-6:first-child {
    padding-right: 5px;
    /* was 15px */
  }

  .row .col-xs-6:last-child {
    padding-left: 5px;
    /* was 15px */
  }
}

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

@media(max-width: 768px) {
  .scene-scroll {
    background-position: 38% center;
    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(5, 15, 21, 0.8) 15%, rgba(255, 255, 255, 0));
  opacity: 1;
}

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

/*Headlineimage Defintion*/
.headline-animation {
  /* width: 480px; */
  position: absolute;
  top: 10%;
  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;
}

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

#headlineA {
  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;
  }
}

@media (max-width: 767px) {
  .headline-animation {
    top: 7%;
    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);
  }
}

@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;
  }
}

/*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; */
  }
}

/* -------------------------------------------------
   UEBERUNS – VIDEO SECTIONS (no CTA)
------------------------------------------------- */
.ueberuns-video-section {
  position: relative;
  width: 100%;
  height: 105vh;
  overflow: hidden;
}

.ueberuns-video-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

/* LINIE FIX zwischen Video wrappern SB 2025  */
.scrollmagic-pin-spacer {
  margin-bottom: -1px !important;
}

/* VIDEO */
.ueberuns-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* OVERLAY */
.ueberuns-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .30);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

/* END OVERLAY – fades in at scroll end */
.ueberuns-end-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  /* fully transparent initially */
  pointer-events: none;
  z-index: 4;
  opacity: 0;
  /* start hidden */
  transition: background 0.6s ease, opacity 0.6s ease;
  /* smooth fade if class toggles */
}

.ueberuns-end-overlay.active {
  background: rgba(0, 0, 0, 0.75);
  opacity: 1;
}

/* TEXT BLOCKS */
.ueberuns-text-blocks-wrapper {
  max-width: 1000px;
  width: 80%;
  margin: 0 auto;
  padding: 60px 20px;
  display: flex;
  flex-direction: column;
  color: #fff;
  margin-top: 50%;
  z-index: 5;
}

.ueberuns-text-block {
  text-align: center;
}

.ueberuns-title {
  font-size: 54px;
  line-height: 1.05;
  font-weight: 600;
  margin-bottom: 20px;
  color: #ffffff;
  /* font-style: italic; */
}

.ueberuns-title-boom {
  font-size: 110px;
  line-height: 1.05;
  font-weight: 600;
  margin-bottom: 20px;
  /* color: #ccff7c73; */
  color: #ffffffe0;
  text-shadow: 1px 1px 50px rgb(255 255 255 / 20%);
}

.ueberuns-paragraph {
  font-size: 18px;
  line-height: 26px;
  color: #ddd;
  opacity: 0;
}

/* MOBILE: Force visible from the start */
@media (max-width: 768px) {
  .ueberuns-paragraph {
    opacity: 1 !important;
  }
}

/* PAUSE BUTTON – with fade */
.pause-button {
  position: absolute;
  bottom: 80px;
  right: 80px;
  background: rgba(0, 0, 0, 0.3);
  border: 0;
  border-radius: 50%;
  padding: 8px;
  cursor: pointer;
  backdrop-filter: blur(10px);
  z-index: 6;
  opacity: 0;
  /* Start hidden */
  transition: opacity 0.4s ease;
}

.pause-button.ios-fixed {
  position: fixed !important;
  bottom: 50px;
}

.pause-button.visible {
  opacity: 1;
}

.pause-button.paused {
  opacity: 1;
}

.pause-button img {
  width: 19px;
  height: 12px;
  margin-bottom: 3px;
  /* display: block; */
}


/* MOOD PARAGRAPH SECTION */
.paramoodsection {
  background-color: #f0f0f0;
  /* light grey */
  width: 100%;
  padding: 400px 0;
  /* add some vertical spacing */
}

/* RESPONSIVE */
@media (max-width:992px) {
  .ueberuns-title {
    font-size: 4.6rem;
  }

  .ueberuns-title-boom {
    font-size: 75px;
  }

  .ueberuns-paragraph {
    font-size: 17px;
  }

  .paramoodsection {
    padding: 300px 0;
  }
}

@media (max-width:768px) {
  .ueberuns-text-blocks-wrapper {
    width: 100%;
  }
  .paramoodsection {
    padding: 100px 0;
  }

  .ueberuns-title {
    font-size: 2.9rem;
  }

  .ueberuns-title-boom {
    font-size: 45px;
    line-height: 1.05;
    font-weight: 600;
    margin-bottom: 20px;
    /* color: #ccff7c73; */
    color: #ffffffe0;
    text-shadow: 1px 1px 50px rgb(255 255 255 / 20%);
  }

  .pause-button {
    width: 44px;
    height: 44px;
    padding: 6px;
  }

  .pause-button img {
    width: 16px;
    height: 10px;
  }
}



.subhead {
  font-size: 15px !important;
  text-transform: uppercase;
  letter-spacing: 0.33rem;
  text-align: center;
  margin: 30px 0 20px 0 !important;
}

.subheadhell {
  font-size: 15px !important;
  color: #c3c3c373;
  text-transform: uppercase;
  letter-spacing: 0.33rem;
  text-align: center;
  margin: 30px 0 20px 0 !important;
}
