/* Ratgeber listing + articles (Bootstrap-compatible) */

.ratgeber-hero {
  position: relative;
  overflow: hidden;
}

.ratgeber-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 420px at 18% 10%, rgba(25, 135, 84, 0.22), rgba(25, 135, 84, 0)),
    radial-gradient(900px 420px at 82% 0%, rgba(13, 110, 253, 0.16), rgba(13, 110, 253, 0)),
    linear-gradient(180deg, rgba(248, 249, 250, 1), rgba(248, 249, 250, 0.55));
  pointer-events: none;
}

.ratgeber-hero > .container {
  position: relative;
  z-index: 1;
}

.ratgeber-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(25, 135, 84, 0.08);
  border: 1px solid rgba(25, 135, 84, 0.18);
  color: #2f2f2f;
}

.ratgeber-card {
  background: #fff;
  border: 1px solid rgba(210, 210, 210, 0.7);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.ratgeber-card--soft {
  background: linear-gradient(180deg, #ffffff, #fbfbfb);
}

.ratgeber-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(25, 135, 84, 0.12);
  border: 1px solid rgba(25, 135, 84, 0.22);
}

.ratgeber-divider {
  height: 1px;
  background: rgba(210, 210, 210, 0.8);
}

/* Listing cards (reuse existing guide markup) */
.guide-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid rgba(210, 210, 210, 0.75);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  text-decoration: none;
  color: inherit;
  transition: transform 120ms ease, box-shadow 120ms ease, border-color 120ms ease;
}

.guide-card:hover,
.guide-card:focus {
  border-color: rgba(25, 135, 84, 0.45);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.10);
  transform: translateY(-2px);
}

.guide-card__img img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
}

.guide-card__body {
  padding: 1.15rem 1.15rem 1.35rem;
}

.guide-card__kicker {
  color: #145c38;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.guide-card__title {
  color: #2a2a2a;
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}

.guide-card__text {
  color: #545454;
  margin-bottom: 1rem;
}

.guide-card__cta {
  color: #198754;
  font-weight: 800;
}

@media (min-width: 768px) {
  .guide-card__img img {
    height: 220px;
  }
}

/* Article pages */
.ratgeber-article-nav a {
  font-weight: 700;
  text-decoration: none;
}

.ratgeber-article-card {
  background: #fff;
  border: 1px solid rgba(210, 210, 210, 0.75);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  padding: 18px;
}

@media (min-width: 768px) {
  .ratgeber-article-card {
    padding: 26px;
  }
}

.ratgeber-article-card .article-img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  display: block;
}

.ratgeber-article-card .article-teaser {
  color: #545454;
}

.ratgeber-article-card .article-body {
  color: #2a2a2a;
}

.ratgeber-article-card .article-body h2 {
  color: #2a2a2a;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-top: 1.6rem;
}

.ratgeber-article-card .article-body p,
.ratgeber-article-card .article-body li {
  color: #545454;
}

