/**
 * special_offer.css
 * Special-Offer-Modul für die Startseite (Magazin-Card, Variante B)
 * Quadratische Bilder werden auf Querformat zugeschnitten (object-fit: cover, Bildmitte)
 * Upload nach: /media/css/special_offer.css
 */

/* ========== CONTAINER ========== */
.special-offer-section {
  padding: 3rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.special-offer {
  background: var(--bg);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(23, 86, 140, 0.1);
  border: 1px solid var(--line);
  max-width: 900px;
  margin: 0 auto;
}

/* ========== HERO (Bildbereich oben) ========== */
.special-offer .so-hero {
  position: relative;
  /* Aspect Ratio - hier ändern, wenn anderes Verhältnis gewünscht:
     21/6 = sehr flacher Banner (riskant bei nicht-mittigen Motiven)
     21/7 = aktuelle Empfehlung (sicherer)
     21/8 = etwas mehr Höhe
     21/9 = klassischer Cinema-Cut */
  aspect-ratio: 21 / 7;
  overflow: hidden;
  background: var(--primary-dark);
}

.special-offer .so-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.special-offer .so-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 58, 95, 0.15) 0%, rgba(13, 58, 95, 0.75) 100%);
  z-index: 1;
}

/* Aktion-Tag oben links */
.special-offer .so-tag {
  position: absolute;
  top: 1.3rem;
  left: 1.5rem;
  background: var(--gold);
  color: white;
  padding: 0.5rem 1.1rem;
  border-radius: 6px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  z-index: 5;
  box-shadow: 0 4px 12px rgba(201, 165, 92, 0.4);
}

/* Titel im Bild unten */
.special-offer .so-hero-text {
  position: absolute;
  left: 1.5rem;
  right: 1.5rem;
  bottom: 1.3rem;
  color: white;
  z-index: 4;
}

.special-offer .so-hero-eyebrow {
  font-family: var(--font-heading);
  font-size: 0.83rem;
  color: var(--gold);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 0.3rem;
}

.special-offer .so-hero-title {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
  letter-spacing: -0.3px;
}

/* ========== BODY (Beschreibung + CTA) ========== */
.special-offer .so-body {
  padding: 1.6rem 2rem 1.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.special-offer .so-body-text {
  color: var(--text);
  line-height: 1.6;
  flex: 1;
  min-width: 280px;
  margin: 0;
  font-size: 0.98rem;
  font-family: var(--font-main);
}

.special-offer .so-cta {
  display: inline-block;
  padding: 0.85rem 1.8rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(201, 165, 92, 0.35);
  white-space: nowrap;
  flex-shrink: 0;
  font-family: var(--font-main);
}

.special-offer .so-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(201, 165, 92, 0.5);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .special-offer-section {
    padding: 2rem 1rem;
  }

  .special-offer .so-hero {
    /* Mobile: weniger flach, mehr quadratisch - sonst zu schmal */
    aspect-ratio: 16 / 9;
  }

  .special-offer .so-hero-title {
    font-size: 1.4rem;
  }

  .special-offer .so-tag {
    top: 1rem;
    left: 1rem;
    font-size: 0.7rem;
    padding: 0.4rem 0.9rem;
  }
}

@media (max-width: 600px) {
  .special-offer .so-hero {
    aspect-ratio: 4 / 3;
  }

  .special-offer .so-hero-title {
    font-size: 1.25rem;
  }

  .special-offer .so-body {
    padding: 1.3rem 1.3rem 1.5rem;
    gap: 1rem;
  }
}
