/* ============================================================
   HOME PAGE — index.html
   ============================================================ */

/* ── Fade-in animation (data-fade elements) ── */
[data-fade] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

[data-fade].is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-fade="delay-1"] { transition-delay: 0.10s; }
[data-fade="delay-2"] { transition-delay: 0.20s; }
[data-fade="delay-3"] { transition-delay: 0.30s; }
[data-fade="delay-4"] { transition-delay: 0.40s; }
[data-fade="delay-5"] { transition-delay: 0.50s; }

/* ── HERO ── */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: var(--space-7) 0;
  position: relative;
  overflow: hidden;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--space-6);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 55%;
  height: 100%;
  background: var(--color-bg-soft);
  z-index: -1;
  border-radius: 0 0 0 60px;
}

.hero-content {
  padding-right: var(--space-4);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  background: var(--color-accent-light);
  border: 1px solid var(--color-accent);
  border-radius: var(--radius-pill);
  padding: 6px 16px;
  font-size: 13px;
  font-weight: var(--font-weight-medium);
  color: var(--color-primary);
  letter-spacing: 0.04em;
  margin-bottom: var(--space-3);
}

.hero h1 {
  font-size: var(--font-size-h1);
  color: var(--color-primary);
  margin-bottom: var(--space-3);
  line-height: 1.15;
}

.hero h1 em {
  font-style: normal;
  color: var(--color-accent);
}

.hero-subline {
  font-size: var(--font-size-lg);
  color: var(--color-text-muted);
  margin-bottom: var(--space-5);
  max-width: 520px;
}

.hero-ctas {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
  margin-bottom: var(--space-4);
}

.hero-trust-badges {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.hero-image {
  position: relative;
}

.hero-image .img-placeholder {
  min-height: 560px;
  border-radius: var(--radius-xl);
}

.hero-image-badge {
  position: absolute;
  bottom: var(--space-4);
  left: -var(--space-3);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-2) var(--space-3);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  min-width: 200px;
}

.hero-image-badge .badge-icon {
  font-size: 32px;
}

.hero-image-badge p {
  font-size: 13px;
  color: var(--color-text-muted);
  max-width: none;
}

.hero-image-badge strong {
  display: block;
  font-size: 15px;
  color: var(--color-primary);
}

/* ── TARGET GROUPS ── */
.target-group-card {
  padding: var(--space-4);
}

.target-group-card .tg-icon {
  font-size: 40px;
  margin-bottom: var(--space-2);
}

.target-group-card h3 {
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-1);
  color: var(--color-primary);
}

.target-group-card p {
  font-size: 16px;
  color: var(--color-text-muted);
  max-width: none;
}

/* ── Hero & About photos – show in original format ── */
.hero-photo,
.about-photo {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

/* ── ABOUT TEASER ── */
.about-teaser-img .img-placeholder {
  min-height: 460px;
}

.about-teaser-content {
  padding: var(--space-2) 0;
}

.about-teaser-content .checklist {
  margin: var(--space-4) 0;
}

/* ── ARBEITSWEISE (Process Steps) ── */

.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-4);
  margin-top: var(--space-6);
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 31px;
  left: calc(10% + 24px);
  right: calc(10% + 24px);
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-primary));
  opacity: 0.25;
  pointer-events: none;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.process-step-number {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--space-3);
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 18px rgba(46, 134, 171, 0.30);
  flex-shrink: 0;
}

.process-step h3 {
  font-size: 16px;
  color: var(--color-primary);
  margin-bottom: var(--space-1);
}

.process-step p {
  font-size: 13px;
  color: var(--color-text-muted);
  max-width: 160px;
  margin: 0 auto;
  line-height: 1.55;
}

@media (max-width: 800px) {
  .process-steps {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin-left: auto;
    margin-right: auto;
    gap: var(--space-3);
  }

  .process-steps::before {
    top: 0;
    left: 30px;
    right: auto;
    width: 2px;
    height: calc(100% - 62px);
    background: linear-gradient(180deg, var(--color-accent), var(--color-primary));
  }

  .process-step {
    flex-direction: row;
    text-align: left;
    gap: var(--space-3);
    align-items: flex-start;
  }

  .process-step-number {
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .process-step p {
    max-width: none;
  }
}

/* ── TESTIMONIAL SECTION ── */
.testimonial-section {
  background: var(--color-bg-soft);
}

/* ── RESPONSIVE ── */
@media (max-width: 992px) {
  .hero-image-badge {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: var(--space-5) 0;
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .hero::before {
    display: none;
  }

  .hero-content {
    padding-right: 0;
    order: 1;
  }

  .hero-image {
    order: 0;
  }

  .hero-image .img-placeholder {
    min-height: 320px;
  }

  .hero h1 {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  .hero-subline {
    max-width: 100%;
    font-size: 17px;
  }

  .about-teaser-img .img-placeholder {
    min-height: 300px;
  }
}

@media (max-width: 640px) {
  .hero {
    padding: var(--space-4) 0;
  }

  .hero-ctas {
    flex-direction: column;
  }

  .hero-ctas .btn {
    width: 100%;
    justify-content: center;
  }

  .hero h1 {
    font-size: 26px;
  }

  .hero-trust-badges {
    gap: var(--space-1);
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 23px;
  }
}
