/* =========================================================
   GBF Slider (CSP-safe, no inline JS)
   ========================================================= */

.gbf-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #000;
}

.gbf-slider-viewport {
  overflow: hidden;
  width: 100%;
}

.gbf-slider-track {
  display: flex;
  width: 100%;
  transition: transform 300ms ease;
  will-change: transform;
}

.gbf-slide {
  min-width: 100%;
  position: relative;
  margin: 0;
}

.gbf-slide img {
  display: block;
  width: 100%;
  height: auto;
}

/* Optional caption */
.gbf-slide-caption {
  margin-top: 8px;
  font-size: 0.95rem;
  line-height: 1.3;
  color: inherit;
}

/* Arrows */
.gbf-slider-prev,
.gbf-slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  border: 1px solid #000;
  background: rgba(255,255,255,0.9);
  color: #000;
  width: 42px;
  height: 42px;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  padding: 0;
}

.gbf-slider-prev { left: 10px; }
.gbf-slider-next { right: 10px; }

.gbf-slider-prev:hover,
.gbf-slider-next:hover {
  background: #000;
  color: #fff;
}

/* Dots */
.gbf-slider-dots {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  gap: 10px; /* etwas mehr Abstand */
}

.gbf-slider-dot {
  width: 24px;              /* größere Klickfläche */
  height: 24px;             /* größere Klickfläche */
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.gbf-slider-dot::before {
  content: "";
  width: 10px;              /* sichtbarer Punkt bleibt klein */
  height: 10px;
  border-radius: 999px;
  border: 1px solid #000;
  background: rgba(255,255,255,0.9);
  display: block;
}

.gbf-slider-dot.is-active::before {
  background: #000;
}

/* Hide arrows/dots if only one slide */
.gbf-slider.is-single .gbf-slider-prev,
.gbf-slider.is-single .gbf-slider-next,
.gbf-slider.is-single .gbf-slider-dots {
  display: none;
}

.gbf-slider-prev,
.gbf-slider-next {
  display: none !important;
}