#three {
  position: relative;
  height: auto;
}

#three h2,
#three p,
#three p a {
  color: white !important;
}

.three-img {
  max-width: 400px;
  width: 30%;
  position: absolute;
  opacity: 1;
  transition: opacity 0.5s;
  padding: none;
}

#blobThree {
  right: -250px;
  top: -250px;
  /* Anfangs außerhalb des Sichtbereichs */
}

#rb3 {
  left: -250px;
  top: -250px;
  /* Anfangs außerhalb des Sichtbereichs */
}

.threeCard {
  border-radius: 25px;
  background: var(--prim-color);
  display: flex;
  padding: 2rem;
}

.masked-img {
  width: 100%;
  height: auto;
  display: block;
  mask-image: url("/gfx/image/blobs/blob4.svg");
  mask-repeat: no-repeat;

  -webkit-mask-image: url("/gfx/image/blobs/blob4.svg");
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;

  mask-position: center;
  mask-size: cover;
  -webkit-mask-size: cover;
  height: 300px;
  object-fit: cover;
}

.blob-mask {
width: 100%;
  height: auto;
  display: block;
  mask-image: url("/gfx/image/blobs/blob6.svg");
  mask-repeat: no-repeat;

  -webkit-mask-image: url("/gfx/image/blobs/blob6.svg");
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;

  mask-position: center;
  mask-size: cover;
  -webkit-mask-size: cover;
  height: auto;
  object-fit: cover;
}

.team-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

#chickThree1 {
  right: -250px;
  bottom: -250px;
  /* Anfangs außerhalb des Sichtbereichs */
  z-index: 1000;
}

#blobThree2 {
  left: -250px;
  bottom: -250px;
  /* Anfangs außerhalb des Sichtbereichs */
  z-index: 1000;
}

@media (max-width: 768px) {
  .three-img {
    width: 50%;
    /* Größere Breite auf mobilen Geräten */
  }

  #blobThree {
    right: -55px;
    top: -55px;
    /* Angepasste Position für mobile Geräte */
  }

  #rb3 {
    left: -55px;
    top: -55px;
    /* Angepasste Position für mobile Geräte */
  }

  .threeCard {
    padding: 0;
  }

  .masked-img {
    mask-size: cover;
    -webkit-mask-size: cover;
    height: 300px;
    object-fit: cover;
  }
}
