/**
 * hero_compact.css
 * Kompakter Hero für Landingpages (Split mit Facts)
 * Upload nach: /media/css/hero_compact.css
 */

.hero-compact {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 35vh;
  align-items: center;
  overflow: hidden;
  margin-top: 20px;
}

.hero-compact .hero-compact-left {
  padding: 4rem 4rem 4rem 6rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
}

.hero-compact .hero-compact-left h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--text-white);
}

.hero-compact .hero-compact-left p {
  font-family: var(--font-main);
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  line-height: 1.7;
  color: rgba(255,255,255,0.95);
  margin-bottom: 2rem;
}

.hero-compact .hero-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);
  align-self: flex-start;
}

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

.hero-compact .hero-compact-right {
  position: relative;
  height: 100%;
  min-height: 35vh;
  background-size: cover;
  background-position: center;
}

.hero-compact .hero-compact-right::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(23,86,140,0.75) 0%, rgba(23,86,140,0.5) 100%);
}

.hero-compact .hero-facts-overlay {
  position: relative;
  z-index: 2;
  padding: 4rem 3rem;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.hero-compact .hero-facts-overlay h2 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: white;
  font-weight: 700;
}

.hero-compact .hero-facts-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hero-compact .hero-facts-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  line-height: 1.6;
  font-family: var(--font-main);
}

.hero-compact .hero-facts-list li::before {
  content: "✓";
  color: var(--gold);
  font-weight: bold;
  font-size: 1.5rem;
  flex-shrink: 0;
}

@media (max-width: 1024px) {
  .hero-compact {
    grid-template-columns: 1fr;
    min-height: auto;
    margin-top: 80px;
  }

  .hero-compact .hero-compact-left {
    padding: 3rem 2rem;
  }

  .hero-compact .hero-compact-right {
    min-height: 50vh;
  }

  .hero-compact .hero-facts-overlay {
    padding: 3rem 2rem;
  }
}

@media (max-width: 768px) {
  .hero-compact .hero-compact-left {
    padding: 2rem 1.5rem;
  }

  .hero-compact .hero-compact-left h1 {
    font-size: 2rem;
  }

  .hero-compact .hero-compact-right {
    min-height: 40vh;
  }

  .hero-compact .hero-facts-list li {
    font-size: 1rem;
  }
}
