/* ─────────────────────────────────────────────────────────
   RATGEBER — knowledge/advice section (brand oranges)
   ───────────────────────────────────────────────────────── */

.ratgeber {
  background: #ffffff;
  padding: 120px var(--pad) 140px;
}

.ratgeber-inner {
  max-width: 1720px;
  margin: 0 auto;
}

.ratgeber-header {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: end;
  margin-bottom: 64px;
  padding-bottom: 40px;
  border-bottom: 1px solid #e4e4e0;
}

.ratgeber-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #f0824b;
  margin-bottom: 16px;
}

.ratgeber-headline {
  font-size: clamp(36px, 4.8vw, 68px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.03;
  color: var(--text);
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.ratgeber-headline .accent {
  color: #f0824b;
  font-style: italic;
  font-weight: 400;
  font-family: 'Times New Roman', Times, serif;
}

.ratgeber-sub {
  max-width: 440px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
  justify-self: end;
}

/* Grid */
.ratgeber-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ratgeber-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fafaf7;
  border: 1px solid #e4e4e0;
  border-radius: 22px;
  padding: 32px 32px 36px;
  transition: border-color 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
  overflow: hidden;
  cursor: pointer;
  min-height: 340px;
}

.ratgeber-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(240, 130, 75, 0.10) 0%, rgba(240, 130, 75, 0) 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.ratgeber-card:hover {
  border-color: #f0824b;
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(240, 130, 75, 0.12);
  background: #ffffff;
}

.ratgeber-card:hover::before {
  opacity: 1;
}

.ratgeber-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: auto;
  position: relative;
  z-index: 1;
}

.ratgeber-cat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(240, 130, 75, 0.10);
  border: 1px solid rgba(240, 130, 75, 0.25);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c4501a;
}

.ratgeber-cat-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #f0824b;
}

.ratgeber-read {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
}

.ratgeber-card-body {
  margin-top: 60px;
  position: relative;
  z-index: 1;
}

.ratgeber-card-title {
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 14px;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.ratgeber-card-excerpt {
  font-size: 14px;
  line-height: 1.65;
  color: var(--muted);
  margin-bottom: 24px;
}

.ratgeber-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  transition: color 0.3s ease, gap 0.3s ease;
}

.ratgeber-card-link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.ratgeber-card:hover .ratgeber-card-link {
  color: #f0824b;
  gap: 12px;
}

.ratgeber-card:hover .ratgeber-card-link svg {
  transform: translateX(4px);
}

@media (max-width: 1100px) {
  .ratgeber-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .ratgeber {
    padding: 80px var(--pad) 100px;
  }

  .ratgeber-header {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 40px;
    padding-bottom: 28px;
  }

  .ratgeber-sub {
    justify-self: start;
  }

  .ratgeber-grid {
    grid-template-columns: 1fr;
  }

  .ratgeber-card {
    padding: 26px 26px 30px;
    min-height: 280px;
  }

  .ratgeber-card-body {
    margin-top: 40px;
  }
}
