/***************STARTSEITE TEASER VIDEO CONTAINER SB 2024*********************/
/* Video container */
.videoteaser-container {
  position: relative;
  /* background-color: #000;
            max-width: 100%;
            overflow: hidden;
            color: white;
            padding: 0;
            transition: all 0.1s ease-in-out; */
}

/* Video wrapper */
.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  /* 16:9 Aspect Ratio */
  height: 0;
  /* border-radius: 18px; */
  overflow: hidden;
}

.video-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Overlay to darken the video and make text more readable */
.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.2) 100%);
  z-index: 1;
  transition: all 0.3s ease;
}


.video-overlayradial {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse, rgba(30, 10, 5, 0.6) 0%, /* Dark with subtle warm tint */ rgba(30, 10, 5, 0.3) 20%, /* Intermediate layer */ rgba(20, 10, 5, 0) 50% /* Fades to minimal warm tint */);
    z-index: 1;
    transition: all 0.3s ease;
}

/* Darken the overlay a bit more on hover with smooth transition */
.video-wrapper:hover .video-overlay {
  /* background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 100%); */
}

/* Overlay text and button classes */
.videoteaser-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* Center vertically */
  align-items: center;
  /* Center horizontally */
  text-align: center;
  z-index: 2;
  padding: 0 20px;
  /* Added padding to ensure text doesn't touch the edges */
  box-sizing: border-box;
  /* Ensure padding is included in the height */
}

.videoteaser-header {
  font-weight: 600;
  color: white;
  font-size: 48px;
  /* Default font size */
  line-height: 1.2;
  margin: 0;
  /* Remove margin */
}

.videoteaser-button-container {
  position: absolute;
  bottom: 30px;
  /* Position at the bottom with some margin */
  width: 100%;
  text-align: center;
  z-index: 2;
}

.videoteaser-button {
  margin: 0;
}

.videoteaser-button a {
  font-size: 16px;
  padding: 10px 20px;
}

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

.pause-button img {
  width: 19px;
  /* Smaller SVG size (20% reduction) */
  height: 12px;
  /* Adjusted to maintain aspect ratio */
  margin-left: 0px;
  margin-bottom: 3px;
  /* opacity: 0.8; */
}

/* Responsive font sizes */
.videoteaser-header {
  font-weight: 600;
  color: white;
  margin-bottom: 0px;
}

.videoteaser-button a {
  font-size: 16px;
  padding: 10px 20px;
}

/* Large screens */
@media (min-width: 768px) {
  .videoteaser-header {
    font-size: 50px;
    line-height: 1.05;
  }

  .videoteaser-button a {
    font-size: 20px;
    padding: 10px 20px;
  }

  .videoteaser-overlay {
    top: 50%;
    /* Center vertically */
    transform: translateY(-50%);
    /* Adjust for exact centering */
  }
}

@media (max-width: 991px) {
  .videoteaser-header {
    font-size: 38px;
    line-height: 1.05;
  }
}

/* Smaller screens */
@media (max-width: 767px) {
  .videoteaser-header {
    font-size: 45px;
    /* Adjust for smaller screens */
  }

  .videoteaser-button a {
    font-size: 16px;
    padding: 8px 16px;
  }

  .videoteaser-overlay {
    top: auto;
    /* Remove top positioning for smaller screens */
    bottom: 30px;
    /* Move text down for smaller screens */
    transform: none;
    /* Remove vertical centering adjustment */
  }

  /* Video wrapper */
  .video-wrapper {
    position: relative;
    padding-bottom: 85%;
    /* 16:9 Aspect Ratio */
    height: 0;
    /* border-radius: 18px; */
    overflow: hidden;
  }
}
