/**
 * cta_centered.css
 * Zentrierte CTA mit Blur-Video Background (Landingpages)
 * Upload nach: /media/css/cta_centered.css
 */

/* ========== CTA CENTERED LAYOUT ========== */
.cta-centered {
  position: relative;
  min-height: 500px;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
  margin: 4rem 0;
}

/* Background Video (Blur) */
.cta-centered .cta-bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.cta-centered .cta-bg-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(3px) brightness(0.6);
}

/* Overlay Gradient */
.cta-centered .cta-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, 
    rgba(23,86,140,0.88) 0%, 
    rgba(23,86,140,0.75) 50%,
    rgba(201,165,92,0.7) 100%
  );
  z-index: 1;
}

/* Content Container */
.cta-centered .cta-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 4rem 2rem;
  color: var(--text-white);
}

.cta-centered h2 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1.5rem;
  line-height: 1.1;
  text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.cta-centered p {
  font-family: var(--font-main);
  font-size: 1.4rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  opacity: 0.98;
  text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

/* CTA Button */
.cta-centered .cta-button {
  display: inline-block;
  padding: 1.2rem 3rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 12px 30px rgba(201, 165, 92, 0.4);
  border: none;
  cursor: pointer;
  font-family: var(--font-main);
}

.cta-centered .cta-button:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 18px 40px rgba(201, 165, 92, 0.6);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  /* Video auf Mobile ausblenden */
  .cta-centered .cta-bg-video {
    display: none;
  }

  /* Fallback Gradient wenn Video weg ist */
  .cta-centered {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  }

  .cta-centered .cta-overlay {
    background: none; /* Overlay nicht mehr nötig ohne Video */
  }

  .cta-centered .cta-content {
    padding: 3rem 1.5rem;
  }

  .cta-centered h2 {
    font-size: 2rem;
  }

  .cta-centered p {
    font-size: 1.2rem;
  }
}
