
.ratgeber-hero {
  position: relative;
  overflow: hidden;
  padding: 4rem 0 3rem;
  background:
    radial-gradient(circle at top right, rgba(35,165,87,.12), transparent 28rem),
    linear-gradient(180deg, rgba(255,255,255,.82), rgba(240,243,255,.65));
  border-bottom: 1px solid rgba(189,202,187,.35);
}
.ratgeber-hero__inner {
  display: grid;
  grid-template-columns: 1.3fr .8fr;
  gap: 2rem;
  align-items: stretch;
}
.ratgeber-hero h1 {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -.03em;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 1rem;
}
.ratgeber-hero p {
  color: #475569;
  font-size: 1.08rem;
  line-height: 1.8;
}
.ratgeber-hero__box {
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(189,202,187,.45);
  border-radius: 1.75rem;
  box-shadow: 0 20px 48px rgba(15,23,42,.06);
  padding: 1.5rem;
}
.ratgeber-hero__icon {
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--primary-mid));
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.ratgeber-hero__box h2 {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  color: #0f172a;
  margin-bottom: .6rem;
}
.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}
.guide-card {
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(189,202,187,.45);
  border-radius: 1.5rem;
  padding: 1.35rem;
  box-shadow: 0 14px 34px rgba(15,23,42,.05);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.guide-card:hover,
.guide-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 22px 42px rgba(15,23,42,.08);
  border-color: rgba(35,165,87,.45);
  outline: none;
}
.guide-card__top {
  display: flex;
  justify-content: space-between;
  gap: .75rem;
  align-items: center;
  margin-bottom: 1rem;
}
.guide-card__badge {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: .35rem .8rem;
  border-radius: 999px;
  background: rgba(35,165,87,.09);
  color: var(--primary);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.guide-card__time {
  color: #64748b;
  font-size: .84rem;
  font-weight: 700;
  white-space: nowrap;
}
.guide-card h3 {
  font-family: 'Manrope', sans-serif;
  color: #0f172a;
  font-size: 1.18rem;
  line-height: 1.35;
  font-weight: 800;
  margin: 0 0 .9rem;
}
.guide-card p {
  color: #475569;
  line-height: 1.75;
  font-size: .97rem;
  margin: 0;
}
.guide-card__footer {
  margin-top: auto;
  padding-top: 1rem;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: var(--primary);
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
}
.ratgeber-backwrap {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}
.ratgeber-backbtn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  min-height: 3rem;
  padding: .9rem 1.3rem;
  border-radius: 999px;
  border: 1px solid rgba(189,202,187,.55);
  background: #fff;
  color: #0f172a;
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(15,23,42,.05);
  transition: transform .2s ease, box-shadow .2s ease, color .2s ease;
}
.ratgeber-backbtn:hover {
  transform: translateY(-1px);
  color: var(--primary);
  box-shadow: 0 16px 30px rgba(15,23,42,.08);
}
.guide-modal {
  position: fixed;
  inset: 0;
  z-index: 140;
}
.guide-modal.hidden {
  display: none;
}
.guide-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(15,23,42,.52);
  backdrop-filter: blur(6px);
}
.guide-modal__dialog {
  position: relative;
  z-index: 1;
  max-width: 900px;
  width: calc(100% - 2rem);
  margin: 4vh auto;
  max-height: 92vh;
  background: #fff;
  border-radius: 1.75rem;
  box-shadow: 0 24px 80px rgba(15,23,42,.18);
  overflow: hidden;
}
.guide-modal__scroll {
  max-height: 92vh;
  overflow-y: auto;
  padding: 2rem 2rem 2.25rem;
}
.guide-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.4rem;
  height: 2.4rem;
  border: 0;
  border-radius: 999px;
  background: rgba(15,23,42,.06);
  color: #0f172a;
  font-size: 1.4rem;
  font-weight: 800;
  cursor: pointer;
  z-index: 2;
}
.guide-modal__article {
  display: none;
}
.guide-modal__article.is-active {
  display: block;
}
.guide-modal__meta {
  display: flex;
  align-items: center;
  gap: .8rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.guide-modal__article h2 {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(1.65rem, 3vw, 2.4rem);
  line-height: 1.18;
  letter-spacing: -.02em;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 1.25rem;
  padding-right: 3rem;
}
.guide-article__content p,
.guide-article__content li {
  color: #334155;
  line-height: 1.9;
  font-size: 1rem;
}
.guide-article__content p {
  margin: 0 0 1rem;
}
.guide-article__content h3 {
  font-family: 'Manrope', sans-serif;
  font-size: 1.18rem;
  line-height: 1.35;
  color: #0f172a;
  font-weight: 800;
  margin: 1.5rem 0 .6rem;
}
@media (max-width: 1100px) {
  .guide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 850px) {
  .ratgeber-hero__inner {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 700px) {
  .guide-grid {
    grid-template-columns: 1fr;
  }
  .guide-modal__dialog {
    width: calc(100% - 1rem);
    margin: 2vh auto;
    border-radius: 1.25rem;
  }
  .guide-modal__scroll {
    padding: 1.25rem 1rem 1.5rem;
  }
  .guide-modal__close {
    top: .7rem;
    right: .7rem;
  }
  .guide-modal__article h2 {
    padding-right: 2.5rem;
  }
}


.ratgeber-topback {
  margin-bottom: 1.5rem;
}
