/**
 * Zielgruppen Landing Page CSS
 * Ergaenzt ratgeber-landing.css (Hero, Container, Sections werden wiederverwendet)
 * Ergaenzt anbieter-landing.css (CTA Block wird wiederverwendet)
 * Mobile-First Design fuer /zahnzusatzversicherung/
 */

/* ===== TRUST SIGNALS (im Hero) ===== */
.zg-landing-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-top: 20px;
}

.zg-landing-trust__item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

/* ===== CARD GRID ===== */
.zg-landing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  width: 100%;
}

/* ===== ZIELGRUPPEN CARD ===== */
.zg-landing-card {
  display: flex;
  text-decoration: none;
  background: var(--ratgeber-card-bg, #ffffff);
  border: 1px solid var(--ratgeber-border, #e2e8f0);
  border-radius: var(--ratgeber-radius, 12px);
  overflow: hidden;
  transition: all 0.2s ease;
  width: 100%;
  border-left: 4px solid var(--ratgeber-primary, #23cfb2);
}

.zg-landing-card:hover {
  border-color: var(--ratgeber-primary, #23cfb2);
  border-left-color: var(--ratgeber-primary-dark, #1db89d);
  box-shadow: var(--ratgeber-shadow-hover, 0 4px 16px rgba(0, 0, 0, 0.12));
  transform: translateY(-2px);
}

/* ===== CARD BODY ===== */
.zg-landing-card__body {
  padding: 16px 16px 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.zg-landing-card__title {
  font-size: 17px;
  font-weight: 600;
  color: var(--ratgeber-text, #2d3748);
  margin: 0;
  line-height: 1.3;
}

.zg-landing-card__description {
  font-size: 14px;
  color: var(--ratgeber-text-light, #718096);
  margin: 0;
  line-height: 1.6;
  flex: 1;
}

.zg-landing-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  gap: 12px;
}

.zg-landing-card__price {
  font-size: 15px;
  font-weight: 700;
  color: var(--ratgeber-primary-dark, #1db89d);
  white-space: nowrap;
}

.zg-landing-card__link {
  font-size: 13px;
  font-weight: 500;
  color: var(--ratgeber-primary, #23cfb2);
  white-space: nowrap;
  margin-left: auto;
}

/* ===== TABLET (768px+) ===== */
@media (min-width: 768px) {
  .zg-landing-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .zg-landing-card__body {
    padding: 20px;
  }

  .zg-landing-card__title {
    font-size: 18px;
  }

  .zg-landing-trust__item {
    font-size: 14px;
  }
}

/* ===== DESKTOP (1024px+) ===== */
@media (min-width: 1024px) {
  /* 2-column groups stay 2 columns, 3-column groups get 3 */
  .zg-landing-grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .zg-landing-grid {
    gap: 24px;
  }

  .zg-landing-card__body {
    padding: 24px;
  }

  .zg-landing-card__title {
    font-size: 19px;
  }

  .zg-landing-card__description {
    font-size: 14px;
  }
}
