.produktgalerie {
  --galerie-rand: #bdc8c1;
  --galerie-text: #40564a;
  --galerie-aktiv: #243f32;
  min-width: 0;
}
.detail-motiv { min-width: 0; }
.detail-motiv .produktgalerie {
  --galerie-rand: #59645e;
  --galerie-text: #bdc9c2;
  --galerie-aktiv: #d4e7dd;
}
.galerie-bahn {
  display: flex;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  border-radius: 14px 14px 0 0;
}
.produktgalerie[data-bereit] .galerie-bahn { scrollbar-width: none; }
.produktgalerie[data-bereit] .galerie-bahn::-webkit-scrollbar { display: none; }
.galerie-bahn:focus-visible { outline: 2px solid var(--galerie-aktiv); outline-offset: 3px; }
.galerie-bild {
  flex: 0 0 100%;
  min-width: 0;
  margin: 0;
  scroll-snap-align: start;
}
.galerie-foto, .galerie-bild .produktfotografie, .galerie-bild .originalprodukt {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: 14px;
  background: #f5f5f0;
}
.galerie-bild .originalprodukt { display: grid; }
.galerie-bild .produktfotografie:focus-visible { outline-offset: -3px; }
.galerie-foto img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}
.galerie-foto.enthalten img { object-fit: contain; padding: 4%; mix-blend-mode: multiply; }
.galerie-foto.app-ansicht { background: #e3ebe6; }
.galerie-foto.app-ansicht img { object-fit: contain; }
.produktgalerie .galerie-bild figcaption {
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  gap: 10px;
  margin: 10px 1px 0;
  text-align: left;
  color: inherit;
  font-size: 14px;
  font-weight: 560;
  line-height: 1.4;
}
.galerie-nummer { flex: none; color: var(--galerie-text); font-size: 11px; font-weight: 500; font-variant-numeric: tabular-nums; }
.galerie-leiste { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 6px; }
.galerie-leiste[hidden] { display: none; }
.galerie-vorschauen, .galerie-pfeile { display: flex; align-items: center; gap: 4px; }
.galerie-leiste button {
  display: grid;
  place-items: center;
  padding: 0;
  cursor: pointer;
  border: 0;
  background: transparent;
  color: inherit;
  min-height: 44px;
}
.galerie-vorschauen button { width: clamp(32px, 3.1vw, 48px); }
.galerie-vorschauen img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1.55;
  object-fit: cover;
  border-radius: 5px;
}
.galerie-vorschauen button[aria-current="true"] img { outline: 2px solid var(--galerie-aktiv); outline-offset: 2px; }
.galerie-vorschauen button:hover img { opacity: .8; }
.galerie-pfeile { gap: 0; }
.galerie-pfeile button { width: 44px; }
.galerie-pfeile button::before {
  content: "";
  grid-area: 1 / 1;
  width: 31px;
  height: 31px;
  border: 1px solid var(--galerie-rand);
  border-radius: 50%;
}
.galerie-pfeile button::after {
  content: "";
  grid-area: 1 / 1;
  width: 7px;
  height: 7px;
  border-right: 1.6px solid;
  border-top: 1.6px solid;
  transform: translateX(-1px) rotate(45deg);
}
.galerie-pfeile .zurueck::after { transform: translateX(1px) rotate(-135deg); }
.galerie-pfeile button:hover::before { border-color: currentColor; }
.galerie-pfeile button:disabled { opacity: .32; cursor: default; }
.galerie-meldung {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.detail-motiv > .kauf-link { color: var(--kauf); font-size: 14px; margin-top: 8px; }
@media (max-width: 760px) {
  .galerie-vorschauen { gap: 6px; }
  .galerie-vorschauen button { width: 44px; }
}

.fest-auftakt { position: relative; }
.fest-auftakt .fest-geraet {
  position: absolute;
  display: grid;
  place-items: center;
  right: 3%;
  bottom: 4.5%;
  width: 16%;
  aspect-ratio: 1;
  border-radius: 14%;
  background: #f5f5f0;
}
.fest-auftakt .fest-geraet img {
  width: 76%;
  height: 82%;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.fest-auftakt:focus-visible { outline-offset: -4px; }
.fest-detail .galerie-bild figcaption small {
  display: block;
  color: var(--galerie-text);
  font-size: 14px;
  font-weight: 400;
  margin-top: 3px;
}
@media (min-width: 1100px) {
  .detail-kopf.fest-detail { grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr); }
}

.fest-titel h1 span { display: inline-block; }
.detail-kopf.fest-detail {
  grid-template-areas: "titel galerie" "angebot galerie";
  row-gap: 0;
}
.fest-titel { grid-area: titel; align-self: end; }
.fest-angebot { grid-area: angebot; align-self: start; }
.fest-detail .detail-motiv { grid-area: galerie; }
.fest-detail .galerie-pfeile button { color: var(--galerie-aktiv); }
@media (max-width: 760px) {
  .detail-kopf.fest-detail { grid-template-areas: "titel" "galerie" "angebot"; row-gap: 18px; }
  .fest-detail .detail-text { margin-top: 0; }
}

/* Ortsbeispiele auf georeferenzierten Luftbildern von Geobasis NRW. */
#gps-bild { scroll-margin-top: 74px; }
.gps-karte {
  position: relative;
  isolation: isolate;
  container-type: inline-size;
  color: #fff;
  background: #111314;
}
.gps-karte::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 57% 0 0;
  background: linear-gradient(transparent, rgba(12, 20, 18, .86));
  pointer-events: none;
}
.gps-spur { position: absolute; inset: 0; width: 100%; height: 100%; }
.gps-spur path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.gps-kontur { stroke: #15251f; stroke-width: 8; }
.gps-linie { stroke: #c1f5d3; stroke-width: 4.8; }
.gps-spur circle { stroke: #182e23; stroke-width: 2; fill: #fff; }
.gps-marke {
  position: absolute;
  z-index: 1;
  left: var(--gps-x);
  top: var(--gps-y);
  display: flex;
  align-items: center;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.gps-zeichen {
  display: grid;
  place-items: center;
  width: clamp(27px, 6.7cqw, 43px);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 2px solid #fff;
  background: #163f35;
  box-shadow: 0 0 0 5px rgba(180,205,194,.46), 0 2px 6px #111314;
}
.gps-zeichen svg { display: block; width: 68%; height: 68%; }
.gps-fest .gps-zeichen { background: #223b4f; }
.gps-akku .gps-zeichen { background: #704733; }
.gps-schild {
  position: absolute;
  left: calc(100% + 6px);
  padding: .3em .7em;
  border-radius: 20px;
  background: #18221f;
  color: #fff;
  font-size: clamp(12px, 2.4cqw, 16px);
  font-weight: 570;
  white-space: nowrap;
}
.gps-ort {
  position: absolute;
  z-index: 1;
  bottom: 6%;
  left: 5%;
  max-width: 73%;
  text-shadow: 0 1px 4px #111314;
}
.gps-ort small, .gps-ort strong { display: block; }
.gps-ort small { font-size: clamp(11px, 2.15cqw, 15px); font-weight: 500; }
.gps-ort strong { font-size: clamp(21px, 5.4cqw, 39px); font-weight: 570; letter-spacing: -.045em; line-height: 1.12; }
.gps-massstab {
  position: absolute;
  z-index: 1;
  bottom: 7%;
  right: 5%;
  width: var(--massstab);
  border-bottom: 2px solid currentColor;
  text-align: center;
  font-size: clamp(10px, 1.9cqw, 13px);
  font-variant-numeric: tabular-nums;
  text-shadow: 0 1px 3px #111314;
}
.gps-massstab::before, .gps-massstab::after {
  content: "";
  position: absolute;
  bottom: 0;
  height: 4px;
  border-left: 2px solid currentColor;
}
.gps-massstab::before { left: 0; }
.gps-massstab::after { right: 0; }
@media (max-width: 420px) {
  .galerie-vorschauen { min-width: 0; gap: 4px; }
  .galerie-vorschauen button { min-width: 0; }
  .galerie-pfeile { flex-shrink: 0; }
}
