
/* ==========================================
   BRILLANTANA – WINTER-SLIDER
   ========================================== */


/* ==========================================
   1. WINTER-SLIDE – GRUNDLAGE
   ========================================== */

.custom-slide--winter {
  position: absolute;
  inset: 0;

  overflow: hidden;
  isolation: isolate;

  color: #ffffff;
}


/* ==========================================
   2. WINTERHINTERGRUND
   ========================================== */

.custom-slide--winter > .winter-slide__background {
  position: absolute;
  inset: 0;

  display: block;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;

  z-index: 0;
}


/* ==========================================
   3. ABDUNKLUNG DES HINTERGRUNDS
   ========================================== */

.winter-slide__overlay {
  position: absolute;
  inset: 0;

  background: linear-gradient(
    to bottom,
    rgba(8, 20, 34, 0.30),
    rgba(8, 20, 34, 0.48)
  );

  z-index: 1;
}


/* ==========================================
   4. GESAMTER WINTER-INHALT
   ========================================== */

.winter-slide__content {
  position: relative;
  z-index: 2;

  width: min(calc(100% - 180px), 1050px);
  height: 100%;

  margin: 0 auto;
  padding: 35px 0 45px;

  box-sizing: border-box;

  display: flex;
  flex-direction: column;

  align-items: center;
  justify-content: center;

  gap: 30px;

  text-align: center;
}


/* ==========================================
   5. TEXTBEREICH
   ========================================== */

.winter-slide__text {
  width: 100%;
  max-width: 850px;
  min-width: 0;
}

.winter-slide__text h2,
.winter-slide__text p {
  max-width: 100%;

  white-space: normal;
  overflow-wrap: break-word;
  hyphens: auto;
}


/* ==========================================
   6. ÜBERSCHRIFT
   ========================================== */

.winter-slide__text h2 {
  margin: 0 0 15px;

  font-size: clamp(34px, 4vw, 58px);
  font-weight: 700;
  line-height: 1.1;

  color: #f2d39b;

  text-shadow:
    0 3px 12px rgba(0, 0, 0, 0.5);
}


/* ==========================================
   7. AKTIONSTEXT
   ========================================== */

.winter-slide__text p {
  margin: 0;

  font-size: clamp(16px, 1.7vw, 23px);
  line-height: 1.5;

  color: #ffffff;

  text-shadow:
    0 2px 8px rgba(0, 0, 0, 0.7);
}


/* ==========================================
   8. PRODUKTBEREICH
   ========================================== */

.winter-slide__products {
  width: 100%;

  display: flex;

  align-items: center;
  justify-content: center;

  gap: 35px;
}


/* ==========================================
   9. EINZELNE PRODUKTE
   ========================================== */

.winter-slide__product {
  flex: 0 1 310px;
  min-width: 0;
}


/* ==========================================
   10. PRODUKTBILDFLÄCHEN
   ========================================== */

.winter-slide__image-box {
  width: 100%;
  aspect-ratio: 4 / 3;

  padding: 18px;
  box-sizing: border-box;

  background: rgba(18, 32, 48, 0.65);

  border: 2px solid rgba(242, 211, 155, 0.9);
  border-radius: 16px;

  box-shadow:
    0 8px 30px rgba(0, 0, 0, 0.35),
    inset 0 0 20px rgba(255, 255, 255, 0.05);

  overflow: hidden;
}


/* ==========================================
   11. PRODUKTBILDER
   ========================================== */

.custom-slide--winter .winter-slide__image-box img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: contain;
  object-position: center;
}


/* ==========================================
   12. PRODUKTBEZEICHNUNGEN
   ========================================== */

.winter-slide__product-label {
  display: block;

  margin-top: 12px;

  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;

  color: #ffffff;

  text-shadow:
    0 2px 8px rgba(0, 0, 0, 0.7);
}


/* ==========================================
   13. PLUSZEICHEN
   ========================================== */

.winter-slide__plus {
  flex: 0 0 auto;

  font-size: 56px;
  font-weight: 300;
  line-height: 1;

  color: #f2d39b;

  text-shadow:
    0 2px 8px rgba(0, 0, 0, 0.5);
}


/* ==========================================
   14. KI-HINWEIS
   ========================================== */

/*
   Der KI-Hinweis befindet sich direkt
   innerhalb von .custom-slider,
   aber außerhalb der einzelnen Slides.

   Dadurch liegt er über den
   Navigationsverläufen.
*/

.winter-slide__ai-note {
  position: absolute;

  right: 20px;
  bottom: 52px;

  z-index: 20;

  display: none;

  max-width: calc(100% - 40px);
  box-sizing: border-box;

  padding: 8px 12px;

  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;

  color: #ffffff;

  background: rgba(12, 22, 34, 0.94);

  border: 1px solid rgba(242, 211, 155, 0.85);
  border-radius: 6px;

  box-shadow:
    0 3px 12px rgba(0, 0, 0, 0.4);

  pointer-events: none;
}


/* ==========================================
   15. KI-HINWEIS NUR BEIM WINTER-SLIDE
   ========================================== */

.custom-slider:has(.custom-slide--winter.active)
.winter-slide__ai-note {
  display: block;
}


/* ==========================================
   16. SCHMALERE DESKTOPS
   BIS 1100 PX
   ========================================== */

@media (max-width: 1100px) {

  .winter-slide__text {
    max-width: 600px;
  }

  .winter-slide__text p {
    font-size: clamp(15px, 2vw, 19px);
    line-height: 1.45;
  }

}


/* ==========================================
   17. TABLET
   BIS 991 PX
   ========================================== */

@media (max-width: 991px) {

  .winter-slide__content {
    width: calc(100% - 130px);

    padding: 25px 0 40px;

    gap: 22px;
  }

  .winter-slide__products {
    gap: 18px;
  }

  .winter-slide__product {
    flex-basis: 240px;
  }

  .winter-slide__image-box {
    padding: 12px;
  }

  .winter-slide__plus {
    font-size: 40px;
  }

  .winter-slide__product-label {
    font-size: 15px;
  }

}


/* ==========================================
   18. SMARTPHONE
   BIS 767 PX
   ========================================== */

@media (max-width: 767px) {

  /* Winter-Slider höher darstellen */

  .custom-slider:has(.custom-slide--winter.active) {
    height: 540px;
  }


  /* Gesamter Inhalt */

  .winter-slide__content {
    width: calc(100% - 70px);

    padding: 25px 0 48px;

    gap: 22px;
  }


  /* Textbereich */

  .winter-slide__text {
    width: 100%;
    max-width: 290px;

    margin: 0 auto;
  }


  /* Überschrift */

  .winter-slide__text h2 {
    font-size: clamp(27px, 7vw, 38px);
    line-height: 1.15;

    margin-bottom: 12px;
  }


  /* Aktionstext */

  .winter-slide__text p {
    font-size: 14px;
    line-height: 1.45;

    text-wrap: balance;
  }


  /* Produkte untereinander */

  .winter-slide__products {
    flex-direction: column;

    gap: 10px;
  }


  /* Einzelne Produkte */

  .winter-slide__product {
    flex: 0 0 auto;

    width: min(100%, 180px);
  }


  /* Produktbildflächen */

  .winter-slide__image-box {
    aspect-ratio: 16 / 9;

    padding: 7px;

    border-radius: 10px;
  }


  /* Produktbezeichnungen */

  .winter-slide__product-label {
    margin-top: 5px;

    font-size: 12px;
  }


  /* Pluszeichen */

  .winter-slide__plus {
    font-size: 26px;
  }


  /* KI-Hinweis */

  .winter-slide__ai-note {
    right: 8px;
    bottom: 35px;

    max-width: calc(100% - 16px);

    padding: 6px 8px;

    font-size: 10px;
    line-height: 1.3;
  }

}


/* ==========================================
   19. SEHR KLEINE SMARTPHONES
   BIS 380 PX
   ========================================== */

@media (max-width: 380px) {

  .custom-slider:has(.custom-slide--winter.active) {
    height: 560px;
  }


  .winter-slide__content {
    width: calc(100% - 65px);

    gap: 16px;
  }


  .winter-slide__text {
    max-width: 245px;
  }


  .winter-slide__text p {
    font-size: 13px;
  }


  .winter-slide__product {
    width: min(100%, 165px);
  }

}


/* ==========================================
   20. NAVIGATIONSPFEILE
   ========================================== */

/*
   Für den Winter-Slide werden bewusst
   KEINE eigenen Pfeilgrößen oder
   Pfeilpositionen definiert.

   Die Pfeile übernehmen vollständig
   die Einstellungen aus new-slider.css.

   Dadurch sind sie bei allen vier Slides
   auf Desktop, Tablet und Smartphone
   einheitlich.
*/
