/* ===========================
   Ratgeber – Seiten-Styles
   =========================== */

/* Hero */
.ratgeber-hero {
  padding: 56px 0 40px;
  background: linear-gradient(135deg, #f0f4ff 0%, #e8f0fe 100%);
  border-bottom: 1px solid #dde3f0;
}

.ratgeber-hero__title {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: #1a2340;
  letter-spacing: -0.02em;
}

.ratgeber-hero__intro {
  margin: 0;
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: #4a5568;
  max-width: 600px;
  line-height: 1.7;
}

/* Artikel-Bereich */
.ratgeber-grid-section {
  padding: 56px 0 64px;
}

.ratgeber-section__title {
  margin: 0 0 36px;
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  font-weight: 700;
  color: #1a2340;
}

/* Grid der Artikel-Karten */
.ratgeber-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

/* Karte */
.ratgeber-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px 24px 24px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(63, 104, 224, 0.06);
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.ratgeber-card:hover {
  box-shadow: 0 8px 28px rgba(63, 104, 224, 0.13);
  transform: translateY(-3px);
  border-color: #c0cffc;
}

.ratgeber-card__icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eef2ff;
  border-radius: 12px;
  color: #3f68e0;
  flex-shrink: 0;
}

.ratgeber-card__icon svg {
  width: 24px;
  height: 24px;
}

.ratgeber-card__title {
  margin: 0;
  font-size: 1.12rem;
  font-weight: 700;
  color: #1a2340;
  line-height: 1.3;
}

.ratgeber-card__text {
  margin: 0;
  font-size: 0.97rem;
  color: #4a5568;
  line-height: 1.7;
  flex: 1;
}

.ratgeber-card__badge {
  display: inline-block;
  align-self: flex-start;
  margin-top: 4px;
  padding: 4px 12px;
  background: #f0f4ff;
  color: #3f68e0;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 999px;
  border: 1px solid #c0cffc;
  letter-spacing: 0.02em;
}

/* CTA-Bereich */
.ratgeber-cta {
  padding: 56px 0;
  background: linear-gradient(135deg, #3f68e0 0%, #2d4fc7 100%);
  color: #ffffff;
}

.ratgeber-cta__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.ratgeber-cta__title {
  margin: 0;
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  color: #ffffff;
}

.ratgeber-cta__text {
  margin: 0;
  font-size: clamp(0.97rem, 1.6vw, 1.1rem);
  color: rgba(255, 255, 255, 0.88);
  max-width: 520px;
  line-height: 1.65;
}

.ratgeber-cta__btn {
  margin-top: 8px;
  background: #ffffff;
  color: #3f68e0;
  border-color: #ffffff;
  border-radius: 999px;
  min-width: 220px;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease;
}

.ratgeber-cta__btn:hover,
.ratgeber-cta__btn:focus-visible {
  background: #eef2ff;
  color: #2d4fc7;
  border-color: #eef2ff;
}

/* Responsive */
@media (max-width: 640px) {
  .ratgeber-hero {
    padding: 36px 0 28px;
  }

  .ratgeber-grid {
    grid-template-columns: 1fr;
  }

  .ratgeber-cta__inner {
    align-items: stretch;
  }

  .ratgeber-cta__btn {
    text-align: center;
    min-width: unset;
  }
}
