.ratgeber-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 2rem 0 0.75rem;
}
.ratgeber-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 1.5rem 0 0.5rem;
}
.ratgeber-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 1.25rem 0 0.5rem;
}
.ratgeber-content p {
    margin: 0.75rem 0;
    line-height: 1.7;
}
.ratgeber-content ul,
.ratgeber-content ol {
    padding-left: 1.5rem;
    margin: 0.75rem 0;
}
.ratgeber-content ul { list-style: disc; }
.ratgeber-content ol { list-style: decimal; }
.ratgeber-content li {
    margin: 0.25rem 0;
    line-height: 1.6;
}
.ratgeber-content a {
    color: var(--color-primary, #0062a3);
    text-decoration: underline;
}
.ratgeber-content a:hover {
    text-decoration: none;
}
.ratgeber-content code {
    background: #f3f4f6;
    padding: 0.1em 0.3em;
    border-radius: 0.25rem;
    font-size: 0.9em;
}
.ratgeber-content strong { font-weight: 700; }
.ratgeber-content em { font-style: italic; }
.ratgeber-content hr {
    border: 0;
    border-top: 1px solid #e5e7eb;
    margin: 2rem 0;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Detail page: 2-column grid (main content + sidebar) on lg+ */
.ratgeber-detail .ratgeber-layout {
    display: grid;
    gap: 2rem;
    grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 1024px) {
    .ratgeber-detail .ratgeber-layout {
        grid-template-columns: minmax(0, 1fr) 20rem;
    }
    .ratgeber-detail .ratgeber-sidebar {
        position: sticky;
        top: 6rem;
        align-self: start;
    }
}

.ratgeber-sidebar > * + * {
    margin-top: 1.5rem;
}
