/* ========================================
   Flatcast Alternative Page - Specific Styles
   Compatible with main style.css
   ======================================== */

/* ========================================
   HERO SMALL VARIANT (Subpages)
   ======================================== */
.hero_area_small {
  min-height: auto;
  padding-bottom: 3rem;
}

.hero_content_small {
  padding: 2rem 0 3rem;
}

.subpage_intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.subpage_intro h1 {
  color: white;
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.subpage_intro p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

/* ========================================
   FLATCAST GRID (3 Spalten wie cards_3)
   ======================================== */
.flatcast_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media (max-width: 992px) {
  .flatcast_grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .flatcast_grid {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   FLATCAST CARD (Konsistent mit .card)
   ======================================== */
.flatcast_card {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid var(--border-color);
  text-align: center;
  padding: 2rem;
}

.flatcast_card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.flatcast_card:focus-within {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* Icon */
.flatcast_icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-light);
  border-radius: 50%;
  padding: 1rem;
}

.flatcast_icon img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

/* Card Content */
.flatcast_card h3 {
  color: var(--primary-color);
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.flatcast_card p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0;
}

/* ========================================
   SEO SECTION (Konsistent mit Startseite)
   ======================================== */
.seo_section {
  background: var(--bg-light);
}

.seo_box {
  max-width: 900px;
  margin: 0 auto;
  background: white;
  padding: 2.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.seo_box p {
  font-size: 1.05rem;
  line-height: 1.8;
}

.seo_text_spacing {
  margin-top: 1.5rem;
}

.seo_box strong {
  color: var(--primary-color);
}

/* ========================================
   CTA BOX (Konsistent mit Startseite)
   ======================================== */
.cta_box {
  background: linear-gradient(135deg, var(--primary-color) 0%, #0066ff 100%);
  color: white;
  padding: 3rem;
  border-radius: var(--radius);
  text-align: center;
}

.cta_box h2 {
  color: white;
  margin-bottom: 1rem;
}

.cta_box p {
  opacity: 0.95;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
  .subpage_intro h1 {
    font-size: 1.75rem;
  }
  
  .flatcast_icon {
    width: 70px;
    height: 70px;
  }
  
  .flatcast_icon img {
    width: 40px;
    height: 40px;
  }
  
  .flatcast_card {
    padding: 1.5rem;
  }
  
  .flatcast_card h3 {
    font-size: 1.125rem;
  }
  
  .seo_box {
    padding: 1.5rem;
  }
  
  .cta_box {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .subpage_intro h1 {
    font-size: 1.5rem;
  }
  
  .flatcast_card {
    padding: 1.25rem;
  }
}
