.menschen {
  color: var(--dark);
  z-index: 2;
}

.menschen .container {
  max-width: 1000px;
}

.menschen .grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 6rem 3.8rem;
  justify-items: center;
  margin-bottom: 12rem;
}


.menschen .text {
  grid-column: 1 / -1;
  width: 100%;

  >* {
    max-width: 650px;
  }
}

.menschen .team-slide {
  grid-column-end: span 2;
  width: 100%;
  position: relative;
  transition: color .5s;

  &#lothar-lockl {
    grid-column-end: span 3;
  }
}

.menschen .team-slide a:hover {
  text-decoration: none;
}

.menschen figure {
  position: relative;
  z-index: 0;
  transform: translateZ(0);
  transition: z-index 0s linear .5s;
}

.menschen picture,
.nojs .menschen noscript {
  display: block;
  padding-top: 65%;
  position: relative;
}

.menschen img {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  object-fit: cover;
  object-position: 50% 20%;
  font-family: "object-fit: cover; object-position: 50% 20%;";
}

.menschen figcaption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.menschen figcaption .h4 {
  max-width: calc(100% - 40px);
  line-height: 1;
}

.menschen figcaption .small {
  display: block;
  margin-top: 3px;
}

.menschen figcaption .icon {
  width: 22px;
  height: 22px;
  transition: transform .5s;
}

.menschen .expanded {
  color: white;
}

.menschen .expanded .icon {
  transform: rotate(135deg);
}

.menschen .expanded figure {
  z-index: 3;
  transition: z-index 0s linear 0s;
}

.menschen .team-infoview {
  position: absolute;

  z-index: 2;

  width: 100%;
  pointer-events: none;
  transition: opacity .5s;
  opacity: 0;
}

.menschen .team-infoview .wrapper {
  position: relative;
}

.menschen .team-infoview:before {
  content: '';
  position: fixed;

  top: 0;
  left: 0;

  width: 100%;
  height: 100%;
  background-color: var(--dark);
}

@media not all and (min-resolution:.001dpcm) {
  @media {
    .menschen .team-infoview:before {
      background-color: rgba(var(--rgb_dark), 0.65);
      -webkit-backdrop-filter: blur(100px);
      backdrop-filter: blur(100px);
    }
  }
}

.nojs .team-slide:target .team-infoview,
.team-slide.expanded .team-infoview {
  opacity: 1;
  pointer-events: all;
}

@media screen and (max-width: 1023px) {

  .menschen .team-slide {
    position: static;
  }

  .menschen figcaption {
    position: relative;
  }

  .menschen figcaption h3 {
    width: calc(100% - 15px)
  }

  .menschen .team-infoview {
    top: auto;
    left: 50%;
    width: 100vw;

    margin-left: -50vw;
    padding: 0;
  }

  .menschen .team-infoview .wrapper {
    width: calc(100% - 2 * var(--margin));
    margin: 0 auto;
    position: relative;
    padding: 0;
  }
}

@media screen and (max-width: 767px) {

  .menschen .grid {
    grid-gap: 3rem 1rem;
    margin-bottom: 8rem;
  }

  .menschen .grid .text {
    padding-bottom: 3rem;
  }

  .menschen figcaption .icon {
    width: 12px;
    height: 12px;
    position: absolute;
    top: 2rem;
    right: 0rem;
  }
}