.ratgeber-article {
  max-width: 860px;
  margin-inline: auto;
  display: grid;
  gap: 1.5rem;
}

.ratgeber-article h1,
.ratgeber-article h2,
.ratgeber-article h3,
.ratgeber-article h4,
.ratgeber-article h5,
.ratgeber-article h6 {
  line-height: 1.3;
  margin: 1rem 0 0.55rem;
}

.ratgeber-article h1:first-child,
.ratgeber-article h2:first-child,
.ratgeber-article h3:first-child,
.ratgeber-article h4:first-child,
.ratgeber-article h5:first-child,
.ratgeber-article h6:first-child {
  margin-top: 0;
}

.ratgeber-article p,
.ratgeber-article ul,
.ratgeber-article ol {
  margin: 0;
}

.ratgeber-article__header {
  display: grid;
  gap: 0.3rem;
}

.ratgeber-toc {
  border: 1px solid var(--color-border);
  background: var(--color-surface-muted);
  border-radius: 0.2rem;
  padding: 0.55rem 1.05rem;
}

.ratgeber-toc > ol {
  margin-top: 0.3rem;
  padding-left: 1.3rem;
}

.ratgeber-toc ol ol {
  margin-top: 0.3rem;
}

.ratgeber-toc li + li {
  margin-top: 0.25rem;
}

.ratgeber-cause {
  border: 1px solid var(--color-border);
  border-radius: 0.2rem;
  padding: 0.55rem;
  background: #fff;
}

.ratgeber-cause + .ratgeber-cause {
  margin-top: 0.55rem;
}

.ratgeber-cause ul,
#selbst-testen ul {
  margin-top: 0.4rem;
  padding-left: 1.2rem;
}

.ratgeber-cause li + li,
#selbst-testen li + li {
  margin-top: 0.55rem;
}

.ratgeber-faq {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.3rem;
}

.ratgeber-faq section {
  border-top: 1px solid var(--color-border);
  padding-top: 0.45rem;
}

.ratgeber-faq section:first-of-type {
  border-top: 0;
  padding-top: 0.25rem;
}
