.website-foto {
  display: block;
  min-width: 0;
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.sales-page[data-sales-page="new"] .sales-hero-media img.website-foto {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 45%;
  border-radius: 0;
}

#Piercing-Zertifikat > .wrap > .website-foto,
#moeglichkeiten > .wrap > .website-foto {
  max-width: 370px;
  margin: 16px auto;
}

.starter-fotos {
  margin-block-start: 24px;
}

.starter-fotos h3 {
  margin-block-end: 4px;
}

.starter-fotoraster {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.starter-fotoraster img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #eaf5f1;
}

@media (min-width: 1024px) {
  .sales-hero-grid,
  .verkauf-layout .starter-hero .hero-grid {
    align-items: start;
  }

  .sales-hero-grid > .sales-hero-media,
  .verkauf-layout .starter-hero .hero-visual {
    justify-self: start;
    width: min(100%, 450px);
  }

  .sales-page .sales-hero-grid > .sales-hero-media img {
    max-height: 270px;
  }

  .verkauf-layout .starter-hero .hero-visual {
    min-height: 0;
    margin: 0;
  }

  .verkauf-layout .starter-hero .hero-photo {
    height: 250px;
  }

}

@media (max-width: 950px) {
  .starter-fotoraster { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 650px) {
  .starter-fotoraster { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .sales-page[data-sales-page="new"] .sales-hero-media img.website-foto { max-height: 250px; }
}

@media (min-width: 901px) {
  .sales-hero-grid:has(.sales-hero-picture source) {
    grid-template-columns: minmax(0, 1.16fr) minmax(0, .84fr);
    align-items: center;
    gap: clamp(32px, 5vw, 72px);
  }

  .sales-hero-grid > .sales-hero-media:has(.sales-hero-picture source) {
    justify-self: center;
    width: min(100% - 24px, 405px);
    border: 0;
    background: transparent;
    overflow: visible;
  }

  .sales-hero-picture:has(source) {
    position: relative;
    display: block;
    aspect-ratio: 4 / 5;
  }

  .sales-hero-picture:has(source)::before {
    content: "";
    position: absolute;
    inset: -12px -12px 12px 12px;
    border: 1px solid #37ddca58;
    border-radius: clamp(60px, 8vw, 120px) 20px 20px;
  }

  .sales-page .sales-hero-grid > .sales-hero-media .sales-hero-picture:has(source) img {
    position: relative;
    width: 100%;
    height: 100%;
    max-height: none;
    aspect-ratio: auto;
    object-fit: cover;
    object-position: center;
    border-radius: clamp(60px, 8vw, 120px) 18px 24px 18px;
    box-shadow: 0 18px 55px #0004;
  }

  .sales-page[data-sales-page="hub"] .sales-hero-grid > .sales-hero-media .sales-hero-picture:has(source) img {
    object-position: 25% center;
  }

  .sales-page[data-sales-page="biz"] .sales-hero-grid > .sales-hero-media .sales-hero-picture:has(source) img {
    object-position: right center;
  }

  .sales-hero-media:has(.sales-hero-picture source) figcaption { padding: 8px 0 0; }
}
