<style>
  /* ════════════════════════════════════════════════════════════
   WITTHOEFT TOP-OBJEKTE MIXED SLIDER - Add-on Styles v2
   
   Wird ZUSAETZLICH zum bestehenden witthoeft-listing-styles-v3.css
   geladen.
   ════════════════════════════════════════════════════════════ */

/* ── SLIDER WRAPPER ── */
.wh-top-slider {
  position: relative;
  width: 100%;
}

/* ── HEADER MIT PFEILEN OBEN RECHTS ── */
.wh-top-slider__header {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.75em;
  margin-bottom: 1.5em;
}
@media (max-width: 600px) {
  .wh-top-slider__header { display: none; }
}

/* ── SLIDER GRID = horizontal scroll container ──
   WICHTIG: !important wegen Listing-CSS Konflikt */
.wh-top-slider__grid {
  display: flex !important;
  grid-template-columns: none !important;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 4px;
  align-items: stretch !important;
}
.wh-top-slider__grid::-webkit-scrollbar {
  display: none;
}

/* ── KARTE IM SLIDER ──
   Listing-CSS setzt height:100% via Grid - ueberschreiben! */
.wh-top-slider__grid > .wh-card {
  flex: 0 0 calc((100% - 60px) / 3) !important;
  min-width: 0 !important;
  max-width: calc((100% - 60px) / 3) !important;
  scroll-snap-align: start;
  height: auto !important;
}
@media (max-width: 1200px) {
  .wh-top-slider__grid > .wh-card {
    flex: 0 0 calc((100% - 40px) / 3) !important;
    max-width: calc((100% - 40px) / 3) !important;
  }
}
@media (max-width: 900px) {
  .wh-top-slider__grid > .wh-card {
    flex: 0 0 calc((100% - 20px) / 2) !important;
    max-width: calc((100% - 20px) / 2) !important;
  }
}
@media (max-width: 600px) {
  .wh-top-slider__grid {
    gap: 14px;
  }
  .wh-top-slider__grid > .wh-card {
    flex: 0 0 85% !important;
    max-width: 85% !important;
  }
}

/* ── GOLDENER RAND UM DAS BILD ── */
.wh-card--top .wh-card__img-wrap {
  border: 3px solid rgba(223, 198, 122, 0.9);
  border-radius: 3px;
  box-sizing: border-box;
  transition: border-color 0.3s ease;
}
.wh-card--top:hover .wh-card__img-wrap {
  border-color: rgba(223, 198, 122, 1);
}
@media (max-width: 600px) {
  .wh-card--top .wh-card__img-wrap {
    border-width: 2px;
  }
}

/* ── GOLDENES BADGE "TOP-OBJEKT" in WEISS ── */
.wh-card--top .wh-card__badge {
  background: rgba(223, 198, 122, 0.95) !important;
  color: #fff !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  padding: 9px 16px !important;
  top: 0 !important;
  left: 0 !important;
}
@media (max-width: 600px) {
  .wh-card--top .wh-card__badge {
    font-size: 10px !important;
    padding: 7px 12px !important;
  }
}

/* ── SLIDER-PFEILE (im Header oder Webflow data-top-prev/next) ── */
.wh-top-slider__arrow,
.wh-top-nav__btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #e0e0e0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1a1a1a;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
  padding: 0;
  flex-shrink: 0;
}
.wh-top-slider__arrow:hover:not(.is--hidden),
.wh-top-nav__btn:hover:not(.is--hidden) {
  background: #038c8d;
  border-color: #038c8d;
  color: #fff;
}
.wh-top-slider__arrow.is--hidden,
.wh-top-nav__btn.is--hidden {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}
.wh-top-slider__arrow svg,
.wh-top-nav__btn svg {
  width: 18px;
  height: 18px;
}

/* ── Webflow wh-top-nav Container (Pfeile unter Slider, rechts) ── */
.wh-top-nav {
  display: flex;
  gap: 0.75em;
  margin-top: 1.5em;
  justify-content: flex-end;
}
@media (max-width: 600px) {
  .wh-top-nav { justify-content: center; }
}

/* ── CTA-Pfeil bei Top-Cards (falls in Card-Body) ──
   Wird vom JS automatisch eingefuegt wenn nicht vorhanden */
.wh-card--top .wh-card__cta {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f2f2f2;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
  margin-left: auto;
  color: #333;
}
.wh-card--top:hover .wh-card__cta {
  background: #038c8d;
  color: #fff;
}
.wh-card--top .wh-card__cta svg {
  width: 15px;
  height: 15px;
}
</style>