:root {
  --ruby-tannengruen: #264b3d;    /* dein Tannengrün (anpassen) */
  --ruby-gold: rgba(209,182,98,0.95);
  --header-w:250px;               /* normale Breite */
  --header-w-shrunk: 150px;       /* geschrumpfte Breite */
  --header-transition: 280ms;
}

.geschaeft-slideshow {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
}

.slideshow-track {
  display: flex;
  transition: transform 1.2s ease;
  will-change: transform;
}

.slideshow-track img {
  width: 100%;
  flex-shrink: 0;
  object-fit: cover;
  aspect-ratio: 4 / 5;
}

/* dezenter UX-Hinweis */
.slideshow-hint {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  background: rgba(0,0,0,0.25);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.6s ease;
}

.slideshow-hint.is-visible {
  opacity: 1;
}


.ruby-glassbox {
  position: relative;
  padding: clamp(12px, 2vw, 18px);
  border-radius: 22px;
  border: 3px solid rgba(209, 182, 98, 0.85);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(6px) saturate(115%);
  -webkit-backdrop-filter: blur(6px) saturate(115%);

  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.18),
    inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}


.ruby-glassbox--gallery .geschaeft-slideshow {
  width: 100%;
  height: 100%;
}

.slideshow-track img {
  width: 100%;
  height: 100%;
  flex-shrink: 0;

  object-fit: contain;
  background: rgba(0,0,0,0.08);
}

.slideshow-track img {
  background:
    linear-gradient(
      180deg,
      rgba(0,0,0,0.12),
      rgba(0,0,0,0.04)
    );
}

@media (min-width: 1251px) {
.geschaeft-galerie {
  min-height: 100svh;

  display: flex;
  align-items: center;
  justify-content: center;

  padding-left: var(--header-w);
  margin-top: -50px;
  padding-block: clamp(40px, 8vh, 80px);

  box-sizing: border-box;
}
.ruby-glassbox--gallery {
  width: min(900px, 100%);
  aspect-ratio: 4 / 5;

  max-height: calc(100svh - var(--ruby-footer-safe, 120px));
  height: auto;

  display: flex;
  align-items: center;
  justify-content: center;
}


}


.ruby-glassbox--gallery {
  width: min(900px, 80vw);
  aspect-ratio: 9 / 6;

  display: flex;
  align-items: center;
  justify-content: center;
}

.geschaeft-slideshow {
  width: 100%;
  height: 100%;
}

.slideshow-track {
  height: 100%;
}

.slideshow-track img {
  width: 100%;
  height: 100%;
  flex-shrink: 0;

  object-fit: contain;
}

.geschaeft-slideshow {
  touch-action: pan-y;
  overscroll-behavior: contain;
}


.slideshow-track {
  display: flex;
  transition: transform 0.6s ease;
  will-change: transform;
}

.geschaeft-slideshow {
  touch-action: pan-y;
}


/* ------------- MOBILE ------------------ */ 

@media (max-width: 1250px) {
  .geschaeft-galerie {
    margin-top: 180px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    justify-content: center;
  }
}
