/* =========================
   Workshop Slider – Gesamt-CSS (optimiert)
   ========================= */

.workshop-module{
  max-width:1200px;
  margin:0 auto;
  font-family:"inter_local", Sans-serif;
  color:#576675;
}

/* ---------- Filter Container + Buttons (wie Screenshot) ---------- */
.workshop-filter{
  display:flex;
  justify-content:center;
  flex-wrap:nowrap;
  gap:0;
  margin:0 0 18px;
  padding:0;
  border-radius:0;
  overflow:hidden;
  background:transparent; /* durchgängige Fläche */
}

.workshop-filter__btn{
  appearance:none;
  border:0;
  background:#DEDBD3;
  color:#576675;
  padding:1.5rem 2rem;
  border-radius:0;
  font-weight:600;
  font-size:18px;
  cursor:pointer;
  line-height:1;
  white-space:nowrap;
  font-family:"inter_local", Sans-serif;
  text-align:center;
}

.workshop-filter__btn.is-active{
  background:#F7F5F3;
  color:#172636;
}

@media (hover:hover){
  .workshop-filter__btn:hover{
    background:#DEDBD3;
    color:#576675;
    opacity:.9;
  }
}

@media (max-width: 1024px){
  .workshop-filter__btn{
    padding:12px 20px;
    font-size:.95rem;
  }
}

/* Handy: WRAP ohne "Kante" -> Buttons füllen Zeilen komplett */
@media (max-width: 767px){
  .workshop-filter{
    justify-content:center;
    flex-wrap:wrap;
    overflow:visible;
    width:100%;
    background:transparent;
    padding:0;
  }

  .workshop-filter__btn{
    flex:1 1 50%;       /* 2 pro Zeile, sauberer Block */
    min-width:50%;
    white-space:normal;
    padding:12px 16px;
    font-size:.9rem;
  }
}

/* Sehr schmale Geräte: 1 pro Zeile */
@media (max-width: 420px){
  .workshop-filter__btn{
    flex:1 1 100%;
    min-width:100%;
    padding:10px 12px;
    font-size:.85rem;
  }
}

/* ---------- Card ---------- */
.workshop-card{
  border:1px solid #e6e6e6;
  overflow:hidden;
  background:#fff;
  height:100%;
  display:flex;
  flex-direction:column;
}

.workshop-card__media{
  position:relative;
  height:210px;
  background:#f3f3f3;
}

.workshop-card__media img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

/* Links oben: Kategorie-Tag */
.workshop-card__catbadge{
  position:absolute;
  top:12px;
  left:12px;
  background:#172636;
  color:#fff;
  padding:6px 10px;
  font-weight:400;
  font-size:12px;
}

/* Rechts oben: Dauer-Tag */
.workshop-card__badge{
  position:absolute;
  top:12px;
  right:12px;
  background-color:rgba(255,255,255,.8);
  color:#172636;
  padding:6px 10px;
  font-weight:400;
  font-size:12px;
}

.workshop-card__body{
  padding:22px;
  display:flex;
  flex-direction:column;
  gap:10px;
  flex:1;
}

.workshop-card__kicker{
  font-size:12px;
  letter-spacing:.04em;
  color:#666;
  font-weight:700;
  text-transform:uppercase;
}

.workshop-card__title{
  margin:0;
  font-size:22px;
  line-height:1.2;
  color:#172636;
}

.workshop-card__text{
  margin:0;
  color:#576675;
  line-height:1.55;
  font-size:.8rem;
}

.workshop-card__sep{
  border:0;
  border-top:1px solid #eee;
  margin:10px 0;
}

.workshop-card__benefit-title{
  font-weight:700;
  color:#172636;
}

/* ---------- Benefits: Standard Bullet Points (ohne Icons) ---------- */
.workshop-card__benefits{
  margin:0;
  padding-left:1.1em;
  list-style:disc;
  display:flex;
  flex-direction:column;
  gap:8px;
  font-size:.8rem;
  color:#576675;
}

.workshop-card__benefits li{
  padding-left:0;
  position:static;
  color:#576675;
  line-height:1.4;
}

.workshop-card__benefits li::marker{
  color:#172636;
}

.workshop-card__benefits li:before,
.workshop-card__benefits li:after{
  content:none !important;
}

/* CTA */
.workshop-card__cta{
  margin-top:auto;
  display:inline-flex;
  justify-content:center;
  align-items:center;
  border:2px solid #ddd;
  padding:12px 14px;
  border-radius:0px;
  font-weight:700;
  text-decoration:none;
  color:#172636;
  background-color:#F7F5F3;
}

.workshop-card__cta:hover{
  border-color:#111;
}

/* ---------- Swiper Basics ---------- */
.swiper-slide{ height:auto; }

.workshop-module .workshop-swiper{
  position:relative;
}

/* ---------- Nav Buttons (Fix für Tablet/Handy: nicht über Text) ---------- */
.workshop-module .swiper-button-prev,
.workshop-module .swiper-button-next{
  width:40px;
  height:40px;
  background-color:#172636;
  color:#fff;
  border-radius:0;
  display:flex;
  align-items:center;
  justify-content:center;
}

.workshop-module .swiper-button-prev::after,
.workshop-module .swiper-button-next::after{
  font-size:13px;
  line-height:1;
}

/* Desktop */
@media (min-width: 1025px){
  .workshop-module .workshop-swiper{
    padding-left:52px;
    padding-right:52px;
  }
  .workshop-module .swiper-button-prev{ left:8px; }
  .workshop-module .swiper-button-next{ right:8px; }
}

/* Tablet */
@media (max-width: 1024px){
  .workshop-module .workshop-swiper{
    padding-left:56px;
    padding-right:56px;
  }

  .workshop-module .swiper-button-prev,
  .workshop-module .swiper-button-next{
    width:36px;
    height:36px;
    background-color:rgba(23,38,54,.35);
    backdrop-filter:blur(4px);
  }

  .workshop-module .swiper-button-prev::after,
  .workshop-module .swiper-button-next::after{
    font-size:12px;
  }

  .workshop-module .swiper-button-prev{ left:10px; }
  .workshop-module .swiper-button-next{ right:10px; }
}

/* Handy */
@media (max-width: 767px){
  .workshop-module .workshop-swiper{
    padding-left:30px;
    padding-right:30px;
  }

  .workshop-module .swiper-button-prev,
  .workshop-module .swiper-button-next{
    width:32px;
    height:32px;
    background-color:rgba(23,38,54,.22);
    backdrop-filter:blur(4px);
  }

  .workshop-module .swiper-button-prev::after,
  .workshop-module .swiper-button-next::after{
    font-size:11px;
  }

  .workshop-module .swiper-button-prev{ left:12px; }
  .workshop-module .swiper-button-next{ right:12px; }
}

/* Hover (nur wenn Hover verfügbar) */
@media (hover:hover){
  .workshop-module .swiper-button-prev:hover,
  .workshop-module .swiper-button-next:hover{
    background-color:rgba(23,38,54,.6);
  }
}

/* ========== Fix: Slides behalten feste Breite (auch bei 1 Treffer) ========== */

.workshop-module .swiper-wrapper{
  align-items:stretch;
}

.workshop-module .swiper-slide{
  width:360px;
  flex-shrink:0;
}

@media (max-width: 1024px){
  .workshop-module .swiper-slide{
    width:320px;
  }
}

@media (max-width: 767px){
  .workshop-module .swiper-slide{
    width:280px;
  }
}
