.bild[data-astro-cid-sahewloj] {
  width: 100%;
}

.bild[data-astro-cid-sahewloj].schmal {
  max-width: 420px;
  margin-inline: auto;
}

.rahmen[data-astro-cid-sahewloj] {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--linie);
  border-radius: 12px;
  overflow: hidden;
  background: var(--weiss);
  box-shadow: 0 18px 40px -22px #0d182959, 0 1px 3px #0d182914;
  font: inherit;
  color: inherit;
  cursor: zoom-in;
  transition: transform .18s, box-shadow .18s;
}

.rahmen[data-astro-cid-sahewloj] img[data-astro-cid-sahewloj] {
  display: block;
  width: 100%;
  height: auto;
}

.rahmen[data-astro-cid-sahewloj].fest {
  cursor: default;
}

.rahmen[data-astro-cid-sahewloj].fest:hover {
  transform: none;
  box-shadow: 0 18px 40px -22px #0d182959, 0 1px 3px #0d182914;
}

button[data-astro-cid-sahewloj].rahmen:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 48px -20px #0d18296b, 0 1px 3px #0d18291f;
}

.rahmen[data-astro-cid-sahewloj]:focus-visible {
  outline: 3px solid var(--petrol);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .rahmen[data-astro-cid-sahewloj] {
    transition: none;
  }

  .rahmen[data-astro-cid-sahewloj]:hover {
    transform: none;
  }
}

.lupe[data-astro-cid-sahewloj] {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0d1829c7;
  color: var(--weiss);
}

.rahmen[data-astro-cid-sahewloj]:hover .lupe[data-astro-cid-sahewloj], .rahmen[data-astro-cid-sahewloj]:focus-visible .lupe[data-astro-cid-sahewloj] {
  background: var(--tuerkis);
  color: var(--nacht);
}

.gross[data-astro-cid-sahewloj] {
  width: min(1400px, 94vw);
  max-height: 94vh;
  padding: 0;
  border: 0;
  overflow: visible;
  background: none;
  color: var(--weiss);
}

.gross[data-astro-cid-sahewloj]:popover-open {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gross[data-astro-cid-sahewloj]::backdrop {
  background: #080e1af0;
}

.gross-kopf[data-astro-cid-sahewloj] {
  flex: none;
  display: flex;
  justify-content: flex-end;
}

.zu[data-astro-cid-sahewloj] {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 18px 0 14px;
  border-radius: 999px;
  border: 0;
  background: var(--weiss);
  color: var(--nacht);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 10px 30px -10px #0009;
  transition: background-color .15s, color .15s;
}

.zu[data-astro-cid-sahewloj]:hover, .zu[data-astro-cid-sahewloj]:focus-visible {
  background: var(--tuerkis);
  color: var(--nacht);
}

.zu[data-astro-cid-sahewloj]:focus-visible {
  outline: 3px solid var(--weiss);
  outline-offset: 3px;
}

.gross-bild[data-astro-cid-sahewloj] {
  overflow: auto;
  min-height: 0;
  border-radius: 14px;
  background: var(--weiss);
  box-shadow: 0 40px 120px #0009;
}

.gross[data-astro-cid-sahewloj] img[data-astro-cid-sahewloj] {
  display: block;
  width: 100%;
  height: auto;
}

.gross-fuss[data-astro-cid-sahewloj] {
  flex: none;
  margin: 0;
  padding-inline: 4px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--auf-dunkel);
}

.wisch[data-astro-cid-sahewloj], .lupe-text[data-astro-cid-sahewloj], .dreh[data-astro-cid-sahewloj] {
  display: none;
}

@media (width <= 720px) {
  .bild[data-astro-cid-sahewloj] {
    max-width: var(--handy-max, none);
    margin-inline: auto;
  }

  .lupe[data-astro-cid-sahewloj], .rahmen[data-astro-cid-sahewloj]:hover .lupe[data-astro-cid-sahewloj], .rahmen[data-astro-cid-sahewloj]:focus-visible .lupe[data-astro-cid-sahewloj] {
    position: static;
    width: 100%;
    height: 36px;
    border-radius: 0;
    gap: 7px;
    background: var(--flaeche);
    color: var(--petrol);
    border-top: 1px solid var(--linie);
    font-size: 13px;
    font-weight: 600;
  }

  .lupe-text[data-astro-cid-sahewloj] {
    display: inline;
  }

  .gross[data-astro-cid-sahewloj] {
    width: 96vw;
    gap: 10px;
  }

  .gross-bild[data-astro-cid-sahewloj] {
    border-radius: 12px;
  }

  .gross-bild[data-astro-cid-sahewloj] {
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .gross-bild[data-astro-cid-sahewloj] img[data-astro-cid-sahewloj] {
    width: max(100%, var(--original));
    max-width: none;
  }

  .gross-fuss[data-astro-cid-sahewloj] {
    font-size: 13px;
    line-height: 1.4;
  }

  .wisch[data-astro-cid-sahewloj] {
    display: inline;
  }

  .echt[data-astro-cid-sahewloj] {
    display: none;
  }
}

@media (width <= 720px) and (orientation: portrait) {
  .gross[data-astro-cid-sahewloj].ganz {
    --lang: min(calc(96vw * var(--b) / var(--h)), calc(100vh - 170px));
    width: auto;
    align-items: center;
  }

  .gross[data-astro-cid-sahewloj].ganz .gross-kopf[data-astro-cid-sahewloj] {
    align-self: stretch;
  }

  .gross[data-astro-cid-sahewloj].ganz .gross-bild[data-astro-cid-sahewloj] {
    position: relative;
    overflow: hidden;
    flex: none;
    width: calc(var(--lang) * var(--h) / var(--b));
    height: var(--lang);
  }

  .gross[data-astro-cid-sahewloj].ganz .gross-bild[data-astro-cid-sahewloj] img[data-astro-cid-sahewloj] {
    position: absolute;
    top: 0;
    left: 0;
    width: var(--lang);
    max-width: none;
    height: auto;
    transform-origin: 0 0;
    transform: rotate(90deg) translateY(-100%);
  }

  .gross[data-astro-cid-sahewloj].ganz .wisch[data-astro-cid-sahewloj] {
    display: none;
  }

  .gross[data-astro-cid-sahewloj].ganz .dreh[data-astro-cid-sahewloj] {
    display: inline;
  }

  .gross[data-astro-cid-sahewloj].ganz .gross-fuss[data-astro-cid-sahewloj] {
    align-self: stretch;
  }
}

@media (width <= 720px) {
  .bild[data-astro-cid-sahewloj].ganz .rahmen[data-astro-cid-sahewloj] {
    pointer-events: none;
    cursor: default;
  }

  .bild[data-astro-cid-sahewloj].ganz .lupe[data-astro-cid-sahewloj], .bild[data-astro-cid-sahewloj].ganz .gross[data-astro-cid-sahewloj] {
    display: none;
  }
}

@supports not selector(:popover-open) {
  .gross[data-astro-cid-sahewloj], .lupe[data-astro-cid-sahewloj] {
    display: none;
  }

  .rahmen[data-astro-cid-sahewloj] {
    cursor: default;
  }
}
