.background {
  background-image: url("../../images/backgrounds/L-1-Titelbild-werwirsind.png") !important;
  --background-dark: url("../../images/backgrounds/L-1-Titelbild-werwirsind.png") !important;
}

.grid-image {
  grid-column: 1 / span 6; /* half the columns */
  grid-row: 1 / span 5; /* all rows */
  position: relative;
  align-items: center;
  left: -2rem; /* moves the entire element left */
  width: calc(100% + 2rem); /* compensates for the left movement */
  height: calc(100% + 2rem);
}

.team-portrait {
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
}

.grid-image img {
  width: 70%;
  height: 70%;
  object-fit: cover;
}

.team-image {
  mix-blend-mode: multiply;
}

.mitte {
  grid-column: 7 / 10;
  grid-row: 3 / span 2;
}
.rechts {
  grid-column: 10/ 12;
  grid-row: 3 / span 3;
}

.grid-column {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

h2,
h3 {
  font-size: 1.25rem;
  font-style: normal;
  font-weight: 535;
  line-height: 1.625rem; /* 130% */
  margin: 0;
  color: black !important;
}

#margin-top {
  margin-top: 2.25rem;
}

.development {
  padding-top: 2.25rem;
}

.development a:hover {
  text-decoration: none;
}

@media (max-width: 768px) {
  .grid-image {
	display: flex;
  grid-column: 1 / span 2;
  grid-row: auto;
	justify-content: center;
	padding-top: 8rem;
	padding-bottom: 1rem;
  }

  .grid-image img {
    width: 50%;
    height: auto;
    object-fit: cover;
  }

  .mitte,
  .rechts {
    grid-column: auto !important;
    grid-row: 2 !important;
    padding: 0 0.5rem;
  }

  #margin-top {
    margin-top: 1.5rem;
  }
  .development {
    padding-top: 1.25rem;
  }
  #margin-top {
    margin-top: 1.25rem;
  }
}
