/* =========================================================
   slider.css – Hero-Bildslider für Café Mischeria
   Crossfade-Effekt, automatischer Wechsel alle 5 Sekunden,
   manuelle Navigation per Pfeile und Punkte.
   ========================================================= */

.hero-slider {
  position: relative;
  width: 100%;
  height: 520px;
  overflow: hidden;
  background: #1a1410;
}

/* Einzelne Slides */
.slider-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  background-size: cover;
  background-position: center;
}
.slider-slide.active {
  opacity: 1;
  z-index: 1;
}

/* Dunkles Overlay damit Text lesbar bleibt */
.slider-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26,20,16,0.72) 0%,
    rgba(26,20,16,0.38) 55%,
    rgba(26,20,16,0.60) 100%
  );
  z-index: 1;
}

/* Text-Inhalte auf dem Slide */
.slider-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  padding: 0 24px;
  max-width: 1280px;
  margin: 0 auto;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
}
.slider-text {
  max-width: 620px;
  color: #fbf3e7;
}
.slider-eyebrow {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: #f3e6d3;
  margin-bottom: 0.5em;
  font-family: "Poppins", Arial, sans-serif;
}
.slider-text h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.15;
  color: #ffffff;
  margin: 0 0 0.4em;
}
.slider-text p {
  font-family: "Poppins", Arial, sans-serif;
  font-size: 1.05rem;
  color: #f3e6d3;
  margin: 0 0 1.4em;
  max-width: 480px;
}
.slider-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Pfeile Links / Rechts */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(26,20,16,0.55);
  border: 1px solid rgba(201,162,39,0.4);
  color: #fbf3e7;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s;
}
.slider-btn:hover {
  background: rgba(201,162,39,0.75);
}
.slider-btn-prev { left: 18px; }
.slider-btn-next { right: 18px; }

/* Punkte-Navigation */
.slider-dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 8px;
}
.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(251,243,231,0.45);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.25s, transform 0.25s;
}
.slider-dot.active {
  background: #c9a227;
  transform: scale(1.25);
}

/* Responsiv: auf kleinen Screens etwas flacher */
@media (max-width: 760px) {
  .hero-slider { height: 360px; }
  .slider-text h2 { font-size: 1.7rem; }
  .slider-text p  { display: none; }
  .slider-btn { width: 36px; height: 36px; font-size: 1.1rem; }
}
