/* Split Screen Layout */
.split-screen {
  display: flex;
  width: 100%;
  min-height: 100vh;
  position: relative;
  overflow: hidden; /* überflüssigen Scrollbalken vermeiden */
}

.split-left {
  position: fixed;
  top: 0;
  left: 0;
  width: 50%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.split-right {
  width: 50%;
  margin-left: 50%;
  min-height: 100vh;
  position: relative;
  z-index: 2;
}

/* Cover Display für Bilder im linken Bereich */
.cover-display {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cover-display .img {
  width: 100%;
  height: 100%;
}

.cover-display img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Responsive Anpassungen für kleinere Screens */
@media screen and (max-width: 45em) {
  .split-screen {
    flex-direction: column;
  }

  .split-left {
    position: relative;
    width: 100%;
    height: 50vh;
    min-height: 300px;
  }

  .split-right {
    width: 100%;
    margin-left: 0;
    min-height: 50vh;
  }
}
