/*************************************************
 * FORMAVIS HOME · Startseite / Landing
 * Hero, Sections, Grids, Testimonials, CTA
 *************************************************/

/* ============================================
   1) GRUNDLAYOUT STARTSEITE
   ============================================ */

/* Wrapper für die komplette Startseite (Gutenberg + eigene Sektionen) */
.formavis-home {
  background: radial-gradient(circle at top, #020617 0, var(--fv-bg) 45%, #000 100%);
  color: var(--fv-text);
  padding-bottom: 4rem;
}

.formavis-home a {
  color: inherit;
}

/* Gemeinsamer Section-Wrapper */
.formavis-home .fv-section {
  padding: 4rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* Section-Header (Titel + Untertitel) */
.formavis-home .fv-section-header {
  max-width: 720px;
  margin-bottom: 2.5rem;
}

.formavis-home h1,
.formavis-home h2,
.formavis-home h3 {
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--fv-text);
}

.formavis-home h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.formavis-home .fv-section-subtitle {
  color: var(--fv-text-muted);
  max-width: 640px;
  margin: 0;
}

/* ============================================
   2) HERO-BEREICH
   ============================================ */

.fv-hero {
  padding: 5rem 1.5rem 4rem;
  background: radial-gradient(
    circle at top left,
    rgba(44, 156, 124, 0.35) 0,
    var(--fv-bg-elevated) 42%,
    #020617 100%
  );
  box-shadow: 0 28px 55px rgba(0, 0, 0, 0.8);
}

.fv-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 3rem;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  align-items: center;
}

/* Linke Seite – Text */
.fv-hero-text h1 {
  font-size: 2.6rem;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.fv-hero-text p {
  font-size: 1.05rem;
  color: var(--fv-text-soft);
  max-width: 600px;
}

/* Badge über der Headline */
.fv-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(124, 252, 200, 0.5);
  color: #bbf7d0;
  margin-bottom: 0.75rem;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.7);
}

/* Buttons im Hero (nutzen globale Button-Styles) */
.fv-hero-ctas {
  margin-top: 1.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Vertrauens-Icons / Benefits unter Buttons */
.fv-hero-trust {
  list-style: none;
  padding: 0;
  margin: 1.8rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.8rem;
  font-size: 0.9rem;
  color: var(--fv-text-soft);
}

/* Rechte Seite – Hero-Visual/Card */
.fv-hero-visual {
  display: flex;
  justify-content: flex-end;
}

.fv-hero-card {
  background: var(--fv-bg-elevated);
  border-radius: 1.5rem;
  padding: 1.5rem 1.5rem 1.8rem;
  box-shadow:
    0 22px 44px rgba(0, 0, 0, 0.75),
    0 0 0 1px rgba(15, 23, 42, 0.9);
  border: 1px solid var(--fv-border);
  max-width: 360px;
}

.fv-hero-card h3 {
  margin-bottom: 0.5rem;
}

.fv-hero-card p {
  font-size: 0.95rem;
  color: var(--fv-text-soft);
}

/* ============================================
   3) GRIDS & CARDS
   ============================================ */

/* 3er / 4er Grids */
.fv-grid-3,
.fv-grid-4 {
  display: grid;
  gap: 1.5rem;
}

.fv-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fv-grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* Cards auf Startseite – auf globaler .fv-card-Basis */
.formavis-home .fv-card {
  background: rgba(12, 13, 14, 0.96);
  border-radius: 1rem;
  padding: 1.6rem 1.4rem;
  border: 1px solid var(--fv-border);
  box-shadow:
    0 22px 44px rgba(0, 0, 0, 0.65),
    0 0 0 1px rgba(15, 23, 42, 0.8);
  transition: 0.25s ease;
}

.formavis-home .fv-card-highlight {
  border-color: rgba(44, 156, 124, 0.8);
  background: radial-gradient(
    circle at top left,
    rgba(44, 156, 124, 0.18),
    rgba(12, 13, 14, 0.98)
  );
  box-shadow:
    0 26px 55px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(44, 156, 124, 0.45);
}

.formavis-home .fv-card:hover {
  border-color: rgba(44, 156, 124, 0.7);
  box-shadow:
    0 26px 55px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(44, 156, 124, 0.45);
  transform: translateY(-3px);
}

.formavis-home .fv-card h3 {
  margin-bottom: 0.4rem;
  color: var(--fv-text);
}

.formavis-home .fv-card p {
  font-size: 0.95rem;
  color: var(--fv-text-soft);
}

/* Text-Link unter Card-Content */
.fv-link {
  display: inline-flex;
  align-items: center;
  margin-top: 0.7rem;
  font-size: 0.9rem;
  color: var(--fv-primary-strong);
  text-decoration: none;
}

.fv-link:hover {
  color: var(--fv-accent);
  text-decoration: underline;
}

/* ============================================
   4) „HOW IT WORKS“ · STEPS
   ============================================ */

.fv-how-it-works .fv-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.fv-step {
  position: relative;
  padding: 1.4rem 1.4rem 1.6rem;
  background: rgba(12, 13, 14, 0.96);
  border-radius: 1.2rem;
  border: 1px solid var(--fv-border);
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(15, 23, 42, 0.85);
}

.fv-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--fv-primary), var(--fv-primary-strong));
  color: #020617;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  box-shadow: 0 12px 25px rgba(16, 185, 129, 0.45);
}

/* ============================================
   5) TESTIMONIAL / KUNDENSTIMME
   ============================================ */

.fv-testimonial {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.fv-testimonial-inner {
  background: radial-gradient(
    circle at top,
    rgba(44, 156, 124, 0.2),
    rgba(12, 13, 14, 0.98)
  );
  border-radius: 1.5rem;
  padding: 2.5rem 2rem;
  border: 1px solid rgba(44, 156, 124, 0.6);
  box-shadow:
    0 28px 52px rgba(0, 0, 0, 0.85),
    0 0 0 1px rgba(15, 23, 42, 0.85);
}

.fv-testimonial-quote {
  font-size: 1.1rem;
  color: var(--fv-text);
  margin-bottom: 1rem;
}

.fv-testimonial-name {
  font-size: 0.9rem;
  color: #cbd5f5;
}

/* ============================================
   6) KONTAKT-CTA BEREICH
   ============================================ */

.fv-contact-cta .fv-contact-inner {
  background: var(--fv-bg-elevated);
  border-radius: 1.5rem;
  padding: 2.5rem 2rem;
  border: 1px solid var(--fv-border);
  box-shadow:
    0 22px 44px rgba(0, 0, 0, 0.75),
    0 0 0 1px rgba(15, 23, 42, 0.85);
  text-align: center;
}

.fv-contact-inner p {
  color: var(--fv-text-soft);
  max-width: 520px;
  margin: 0.5rem auto 1.8rem;
}

/* Aktionen im CTA (Buttons etc.) */
.fv-contact-actions {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  align-items: center;
}

/* Meta-Infos: Mail, Telefon */
.fv-contact-meta p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--fv-text-soft);
}

.fv-contact-meta a {
  color: var(--fv-primary-strong);
  text-decoration: none;
}

.fv-contact-meta a:hover {
  color: var(--fv-accent);
  text-decoration: underline;
}

/* ============================================
   7) RESPONSIVE · MOBILE & TABLET BREAKPOINTS
   ============================================ */

@media (max-width: 900px) {
  .fv-hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .fv-hero-visual {
    justify-content: flex-start;
    margin-top: 0.5rem;
  }

  .fv-grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }

  .fv-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fv-how-it-works .fv-steps {
    grid-template-columns: minmax(0, 1fr);
  }

  .formavis-home .fv-section {
    padding: 3rem 1.25rem;
  }
}

@media (max-width: 600px) {
  .fv-grid-4 {
    grid-template-columns: minmax(0, 1fr);
  }

  .fv-hero-text h1 {
    font-size: 2.1rem;
  }
}

/* ============================================
   8) GLOBALER BG FÜR STARTSEITE
   (Gutenberg-Wrapper + Theme-Container)
   ============================================ */

/* Verhindert doppelte Hintergründe vom Theme auf Home (Container, nicht body) */
.home #page,
.home .hfeed,
.home .site,
.home .site-content,
.home .content-area,
.home .site-main,
.home .ast-container,
.home .ast-separate-container,
.home .entry-content,
.home .page,
.home .page-template,
.home .wp-site-blocks {
  background: transparent !important;
  box-shadow: none !important;
}

/* Gutenberg-Blöcke auf Home transparent halten */
.home .wp-block-group,
.home .wp-block-cover,
.home .wp-block-cover__inner-container {
  background: transparent !important;
}

/* ============================================
   Ende · FORMAVIS HOME
   ============================================ */