.hfw-fleet .hfwf-gallery-hero [hidden] { display: none; }
.hfw-fleet .hfwf-gallery-frame { position: relative; touch-action: pan-y pinch-zoom; }
.hfw-fleet .hfwf-gallery-stage {
  position: relative;
  width: 100%;
  height: 100%;
}
.hfw-fleet .hfwf-gallery-stage picture,
.hfw-fleet .hfwf-gallery-stage img {
  display: block;
  width: 100%;
  height: 100%;
}
.hfw-fleet .hfwf-gallery-pending { position: absolute; inset: 0; opacity: 0; pointer-events: none; }
.hfw-fleet .hfwf-gallery-arrow {
  position: absolute;
  z-index: 1;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgb(255 255 255 / .7);
  border-radius: 8px;
  background: #16181ee8;
  color: #fff;
  cursor: pointer;
}
.hfw-fleet .hfwf-gallery-arrow:hover { background: #9b2029; }
.hfw-fleet .hfwf-gallery-arrow[data-step="-1"] { left: 11px; }
.hfw-fleet .hfwf-gallery-arrow[data-step="1"] { right: 11px; }
.hfw-fleet .hfwf-gallery-hero:focus-visible,
.hfw-fleet .hfwf-gallery-hero button:focus-visible {
  outline: 3px solid var(--signal);
  outline-offset: 3px;
}
.hfw-fleet .hfwf-gallery-counter {
  position: absolute;
  top: 11px;
  right: 11px;
  padding: 3px 9px;
  border: 1px solid rgb(255 255 255 / .38);
  border-radius: 6px;
  color: #fff;
  background: #16181ee8;
  font-size: .78rem;
  font-variant-numeric: tabular-nums;
}
.hfw-fleet .hfwf-gallery-hero figcaption {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px 12px;
  min-height: 20px;
}
.hfw-fleet .hfwf-gallery-hero .hfwf-photo-context {
  text-align: right;
  white-space: normal;
}
.hfw-fleet .hfwf-gallery-hero .hfwf-photo-context a { color: inherit; text-underline-offset: 3px; }
.hfw-fleet .hfwf-gallery-thumbs {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(44px, 84px);
  gap: 7px;
  margin-top: 9px;
  padding-bottom: 4px;
  overflow: auto;
}
.hfw-fleet .hfwf-gallery-thumb {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 44px;
  padding: 2px;
  border: 2px solid #484950;
  border-radius: 7px;
  background: #202227;
  cursor: pointer;
}
.hfw-fleet .hfwf-gallery-thumb[aria-current="true"] { border-color: var(--signal); }
.hfw-fleet .hfwf-gallery-thumb:focus-visible { outline-offset: -2px; }
.hfw-fleet .hfwf-gallery-thumb picture,
.hfw-fleet .hfwf-gallery-thumb img { display: block; width: 100%; }
.hfw-fleet .hfwf-gallery-thumb img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: 3px; }
.hfw-fleet .hfwf-gallery-status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.hfw-fleet .hfwf-gallery-anchor[id] { scroll-margin-top: 112px; }
.hfw-fleet .hfwf-gallery-source { margin-top: 15px; color: var(--muted); font-size: .86rem; }
.hfw-fleet .hfwf-gallery-source a { color: #972027; text-underline-offset: 3px; }
.hfw-fleet #bereiche .hfwf-srfa-card .hfwf-showroom-titles {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.hfw-fleet #bereiche .hfwf-srfa-card .hfwf-showroom-titles strong { font-size: 1rem; line-height: 1.2; }
.hfw-fleet #bereiche .hfwf-srfa-card .hfwf-showroom-name { color: var(--muted); font-size: .82rem; font-weight: 500; }
@media (max-width: 820px) {
  .hfw-fleet .hfwf-gallery-arrow[data-step="-1"] { left: 8px; }
  .hfw-fleet .hfwf-gallery-arrow[data-step="1"] { right: 8px; }
  .hfw-fleet .hfwf-gallery-counter { top: 8px; right: 8px; }
  .hfw-fleet .hfwf-gallery-thumbs { grid-auto-columns: minmax(44px, 64px); gap: 5px; }
  .hfw-fleet .hfwf-gallery-anchor[id] { scroll-margin-top: 84px; }
}

.hfw-fleet .hfwf-gallery-stage img.hfwf-gallery-contain { object-fit: contain; }
