/* STELLA V2 – LEGAL PAGES */

.stella-legal-page .stella-content {
    min-width: 0;
    box-sizing: border-box;
}

.stella-legal-page .stella-content > article.listing.stadt {
    display: block;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 28px 36px;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 3px 12px rgba(0,0,0,.08);
    box-sizing: border-box;
}

.stella-legal-page .stella-content > article.listing.stadt > section {
    display: block;
    width: 100%;
    padding: 24px 0;
    margin: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    box-sizing: border-box;
    color: #333;
    font-size: 16px;
    line-height: 1.75;
    text-align: left;
}

.stella-legal-page .stella-content > article.listing.stadt > section + section {
    border-top: 1px solid #dfe7ed;
}

.stella-legal-page .stella-content > article.listing.stadt > section:first-child {
    padding-top: 0;
}

.stella-legal-page .stella-content > article.listing.stadt > section:last-child {
    padding-bottom: 0;
}

.stella-legal-page .stella-content h1 {
    color: #1586d0;
    font-size: 30px;
    font-weight: 500;
    line-height: 1.3;
    text-align: left;
    margin: 0 0 20px;
    padding: 0;
}

.stella-legal-page .stella-content h2,
.stella-legal-page .stella-content h3 {
    color: #0076b5;
    font-size: 21px;
    font-weight: 500;
    line-height: 1.4;
    text-align: left;
    margin: 0 0 14px;
    padding: 0;
}

.stella-legal-page .stella-content p {
    color: #333;
    font-size: 16px;
    line-height: 1.75;
    text-align: left;
    margin: 0 0 12px;
}

.stella-legal-page .stella-content p:last-child {
    margin-bottom: 0;
}

.stella-legal-page .stella-content a {
    color: #0076b5;
    text-decoration: underline;
    overflow-wrap: anywhere;
}

/* Echte verschachtelte Listen bleiben erhalten. */
.stella-legal-page .stella-content section ul,
.stella-legal-page .stella-content section ol {
    padding-left: 24px;
    margin: 12px 0;
}

.stella-legal-page .stella-content section li {
    line-height: 1.75;
    margin-bottom: 5px;
}

@media (max-width: 800px) {
    .stella-legal-page .stella-content > article.listing.stadt {
        padding: 22px;
    }

    .stella-legal-page .stella-content h1 {
        font-size: 26px;
    }

    .stella-legal-page .stella-content h2,
    .stella-legal-page .stella-content h3 {
        font-size: 19px;
    }
}

@media (max-width: 480px) {
    .stella-legal-page .stella-content > article.listing.stadt {
        padding: 16px;
    }

    .stella-legal-page .stella-content h1 {
        font-size: 23px;
    }
}
