/* Originalportraits und Teamraster, nur auf der Über-uns-Seite. */
.about-page .portrait {
  position: relative;
  overflow: hidden;
  background: #0a0e1a;
}

.about-page .portrait > img {
  position: absolute;
  left: 0;
  top: 0;
  width: var(--portrait-width, 100%);
  height: auto;
  max-width: none;
  aspect-ratio: auto;
  object-fit: initial;
  border: 0;
  border-radius: 0;
  margin: 0;
  transform: translate(var(--portrait-x, 0%), var(--portrait-y, 0%));
  display: block;
}

/* Individuelle Ausschnitte: vergleichbare Gesichtsgröße, Platz über dem Kopf. */
.about-page .portrait--ralf {
  --portrait-width: 100%;
  --portrait-x: 0%;
  --portrait-y: 0%;
}
.about-page .portrait--ahmet {
  --portrait-width: 113.2075%;
  --portrait-x: -10.8333%;
  --portrait-y: -2.7778%;
}
.about-page .portrait--chantal {
  --portrait-width: 126.3158%;
  --portrait-x: -12.9167%;
  --portrait-y: -5.1389%;
}
.about-page .portrait--daniel {
  --portrait-width: 101.6949%;
  --portrait-x: 0%;
  --portrait-y: 0%;
}
.about-page .portrait--goran {
  --portrait-width: 100%;
  --portrait-x: 0%;
  --portrait-y: -6.7961%;
}
.about-page .portrait--justin {
  --portrait-width: 100%;
  --portrait-x: 0%;
  --portrait-y: -2.0833%;
}
.about-page .portrait--kenneth {
  --portrait-width: 156.8627%;
  --portrait-x: -17.5%;
  --portrait-y: -7.6389%;
}
.about-page .portrait--maja {
  --portrait-width: 108.1081%;
  --portrait-x: -7.5%;
  --portrait-y: 0%;
}
.about-page .portrait--rahim {
  --portrait-width: 107.1429%;
  --portrait-x: -6.6667%;
  --portrait-y: -1.25%;
}
.about-page .portrait--ramin {
  --portrait-width: 100%;
  --portrait-x: 0%;
  --portrait-y: -3.4722%;
}
.about-page .portrait--sarah {
  --portrait-width: 102.1277%;
  --portrait-x: -1.4583%;
  --portrait-y: -2.9167%;
}
.about-page .portrait--stefanie {
  --portrait-width: 120.603%;
  --portrait-x: -3.75%;
  --portrait-y: 0%;
}

.about-page .abouthero__faces {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  width: 100%;
  max-width: 480px;
  gap: 10px;
  margin-inline: auto;
}

.about-page .aface {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  border-radius: 12px;
}

.about-page .founder__portrait,
.about-page .tmember__portrait {
  width: 100%;
  aspect-ratio: 4 / 5;
}

.about-page .founder__portrait {
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
}

.about-page .tmember__portrait {
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 12px;
}

.about-page .team-compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.about-page .tmember {
  min-width: 0;
}

.about-page .tmember__role {
  margin-bottom: 0;
  overflow-wrap: anywhere;
}

@media (min-width: 760px) {
  .about-page .team-compact {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .about-page .abouthero__faces {
    gap: 8px;
  }

  .about-page .aface {
    border-radius: 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-page .aface:hover,
  .about-page .tmember:hover {
    transform: none;
  }
}
