/* TRAUKLAR CMS/Ratgeber – angeglichen an trauklar.de */

.ratgeber-listing {
    padding: 1px 0 5.5rem;
}

.directory-header {
    width: min(1240px, calc(100% - 40px));
    margin: 3rem auto 2rem;
}

.directory-header h1 {
    margin: 0;
    color: #243c35;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 4.5vw, 3.4rem);
    font-weight: 400;
    letter-spacing: -.03em;
}

.directory-filters {
    display: flex;
    width: min(1240px, calc(100% - 40px));
    margin: 0 auto 3rem;
    gap: .75rem;
    flex-wrap: wrap;
}

.directory-filter-item {
    display: inline-flex;
    padding: .75rem 1rem;
    border: 1px solid #e5e2da;
    border-radius: 999px;
    background: #fff;
    color: #243c35;
    font-size: .85rem;
    font-weight: 700;
    text-decoration: none;
}

.directory-filter-item:hover,
.directory-filter-item:focus-visible,
.directory-filter-item.is-active {
    border-color: #244a40;
    background: #244a40;
    color: #fff;
    text-decoration: none;
}

.trauklar-ratgeber-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    margin-top: 0;
}

.trauklar-ratgeber-card {
    overflow: hidden;
    border: 1px solid #e5e2da;
    border-radius: 20px;
    background: #fff;
}

.trauklar-ratgeber-card-image {
    display: block;
    height: 170px;
    overflow: hidden;
    background: #eef0f2;
}

.trauklar-ratgeber-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}

.trauklar-ratgeber-card:hover .trauklar-ratgeber-card-image img {
    transform: scale(1.02);
}

.trauklar-ratgeber-placeholder {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    color: #66716c;
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: .18em;
}

.trauklar-ratgeber-card-cat {
    display: block;
    margin: 1rem 1.5rem 0;
    color: #244a40;
    font-size: .72rem;
    font-weight: 850;
    letter-spacing: .07em;
    text-transform: uppercase;
}

.trauklar-ratgeber-card h2 {
    margin: .75rem 1.5rem;
    color: #243c35;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.2;
}

.trauklar-ratgeber-card h2 a {
    color: inherit;
    text-decoration: none;
}

.trauklar-ratgeber-card h2 a:hover {
    color: #b96f57;
}

.trauklar-ratgeber-card p {
    margin: 0 1.5rem 1.5rem;
    color: #66716c;
    font-size: .88rem;
    line-height: 1.55;
}

.ratgeber-pagination {
    width: min(1240px, calc(100% - 40px));
    margin: 2.5rem auto 0;
}

.cms-empty {
    grid-column: 1 / -1;
    padding: 2rem;
    border-radius: 18px;
    background: #f2eee7;
    color: #243c35;
}

.article-editorial {
    --article-ink: #243c35;
    --article-muted: #66716c;
    --article-accent: #b96f57;
    --article-surface: #f2eee7;
    --article-border: rgba(36, 60, 53, .14);
    color: var(--article-ink);
    padding: 4.5rem 20px 5rem;
}

.article-editorial a {
    text-decoration: none;
}

.article-editorial-header {
    max-width: 1000px;
    margin: 0 auto 46px;
    text-align: center;
}

.article-editorial-eyebrow {
    display: inline-block;
    margin-bottom: 20px;
    color: var(--article-accent);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.article-editorial-eyebrow:hover {
    color: #914f3c;
}

.article-editorial-header h1 {
    max-width: 980px;
    margin: 0 auto;
    color: var(--article-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(3rem, 6vw, 5.6rem);
    font-weight: 400;
    line-height: .97;
    letter-spacing: -.04em;
}

.article-deck {
    max-width: 760px;
    margin: 28px auto 0;
    color: #52605a;
    font-size: clamp(1.05rem, 1.4vw, 1.22rem);
    line-height: 1.7;
}

.article-editorial-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 26px;
    gap: 9px;
    flex-wrap: wrap;
    color: var(--article-muted);
    font-size: .88rem;
}

.article-editorial-share {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 22px;
    gap: 10px;
    flex-wrap: wrap;
}

.article-editorial-share > span {
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.article-editorial-share a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 12px;
    border: 1px solid var(--article-border);
    border-radius: 999px;
    background: #fff;
    color: var(--article-ink);
    font-size: .8rem;
    font-weight: 600;
}

.article-editorial-share a:hover,
.article-editorial-share a:focus-visible {
    border-color: var(--article-accent);
    color: var(--article-accent);
}

.article-editorial-cover {
    max-width: 1120px;
    aspect-ratio: 16 / 9;
    margin: 0 auto 52px;
    overflow: hidden;
    border-radius: 28px;
    background: #eef0f2;
    box-shadow: 0 18px 50px rgba(36, 60, 53, .09);
}

.article-editorial-cover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-toc {
    max-width: 760px;
    margin: 0 auto 52px;
    padding: 24px 28px;
    border: 1px solid var(--article-border);
    border-radius: 20px;
    background: var(--article-surface);
}

.article-toc > p {
    margin: 0 0 14px;
    color: var(--article-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.35rem;
}

.article-toc ol {
    margin: 0;
    padding-left: 1.25rem;
    columns: 2;
    column-gap: 38px;
}

.article-toc li {
    margin: 0 0 8px;
    padding-left: 3px;
    break-inside: avoid;
    color: var(--article-muted);
}

.article-toc a {
    color: var(--article-ink);
    line-height: 1.45;
}

.article-toc a:hover {
    color: var(--article-accent);
}

.article-editorial-layout {
    display: grid;
    grid-template-columns: 180px minmax(0, 760px) 180px;
    justify-content: center;
    align-items: start;
    gap: 32px;
}

.article-reading-rail {
    position: sticky;
    top: 140px;
    padding-top: 8px;
    border-top: 1px solid var(--article-border);
}

.article-reading-rail span {
    display: block;
    margin-bottom: 7px;
    color: var(--article-muted);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.article-reading-rail a {
    color: var(--article-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.08rem;
    line-height: 1.35;
}

.article-reading-rail a:hover {
    color: var(--article-accent);
}

.article-reading-rail--spacer {
    visibility: hidden;
}

.article-editorial-main {
    min-width: 0;
}

.article-editorial-body.ck-content {
    color: #33413c;
    font-size: clamp(1.02rem, 1.2vw, 1.09rem);
    line-height: 1.86;
}

.article-editorial-body.ck-content > p {
    margin: 0 0 1.45em;
}

.article-editorial-body.ck-content h2,
.article-editorial-body.ck-content h3,
.article-editorial-body.ck-content h4 {
    color: var(--article-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
    letter-spacing: -.025em;
    scroll-margin-top: 120px;
}

.article-editorial-body.ck-content h2 {
    margin: 1.65em 0 .65em;
    font-size: clamp(2.25rem, 4vw, 3rem);
    line-height: 1.08;
}

.article-editorial-body.ck-content h3 {
    margin: 1.5em 0 .6em;
    font-size: clamp(1.65rem, 2.8vw, 2.05rem);
    line-height: 1.18;
}

.article-editorial-body.ck-content h4 {
    margin: 1.4em 0 .55em;
    font-size: 1.35rem;
}

.article-editorial-body.ck-content ul,
.article-editorial-body.ck-content ol {
    margin: 0 0 1.55em;
    padding-left: 1.35em;
}

.article-editorial-body.ck-content li {
    margin-bottom: .55em;
}

.article-editorial-body.ck-content a {
    color: #8e4f3d;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.article-editorial-body.ck-content blockquote {
    margin: 2em 0;
    padding: 24px 28px;
    border: 0;
    border-left: 4px solid var(--article-accent);
    border-radius: 0 18px 18px 0;
    background: var(--article-surface);
    color: var(--article-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.2rem;
    line-height: 1.65;
}

.article-editorial-body.ck-content img {
    max-width: 100%;
    height: auto;
    border-radius: 18px;
}

.article-editorial-body.ck-content table {
    display: block;
    max-width: 100%;
    overflow-x: auto;
}

.article-editorial-cta {
    display: flex;
    max-width: 960px;
    margin: 64px auto 0;
    padding: 38px 42px;
    align-items: center;
    justify-content: space-between;
    gap: 34px;
    border-radius: 28px;
    background: var(--article-ink);
    color: #fff;
}

.article-editorial-cta span,
.article-related-heading > span,
.article-editorial-footer span {
    display: block;
    margin-bottom: 8px;
    color: #d8a795;
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.article-editorial-cta h2 {
    margin: 0 0 8px;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 400;
}

.article-editorial-cta p {
    max-width: 610px;
    margin: 0;
    color: rgba(255, 255, 255, .76);
    line-height: 1.65;
}

.article-editorial-cta > a {
    flex: 0 0 auto;
    padding: 13px 20px;
    border-radius: 999px;
    background: #fff;
    color: var(--article-ink);
    font-weight: 700;
}

.article-editorial-cta > a:hover {
    background: #f3e7e1;
    color: #8e4f3d;
}

.article-related {
    max-width: 960px;
    margin: 72px auto 0;
}

.article-related-heading {
    margin-bottom: 28px;
    text-align: center;
}

.article-related-heading > span {
    color: var(--article-accent);
}

.article-related-heading h2 {
    margin: 0;
    color: var(--article-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(2.1rem, 4vw, 3rem);
    font-weight: 400;
}

.article-related-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.article-related-card {
    overflow: hidden;
    border: 1px solid var(--article-border);
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 12px 35px rgba(36, 60, 53, .07);
}

.article-related-image {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #eef0f2;
}

.article-related-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.article-related-card:hover .article-related-image img {
    transform: scale(1.025);
}

.article-related-card > div {
    padding: 24px;
}

.article-related-category {
    display: inline-block;
    margin-bottom: 10px;
    color: var(--article-accent);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.article-related-card h3 {
    margin: 0 0 12px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.55rem;
    font-weight: 400;
    line-height: 1.2;
}

.article-related-card h3 a {
    color: var(--article-ink);
}

.article-related-card h3 a:hover {
    color: var(--article-accent);
}

.article-related-card p {
    margin: 0 0 16px;
    color: var(--article-muted);
    font-size: .82rem;
}

.article-related-more {
    color: var(--article-ink);
    font-weight: 700;
}

.article-related-more:hover {
    color: var(--article-accent);
}

.article-editorial-footer {
    display: flex;
    max-width: 960px;
    margin: 28px auto 0;
    padding: 28px 34px;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    border-radius: 22px;
    background: var(--article-surface);
}

.article-editorial-footer span {
    color: var(--article-accent);
}

.article-editorial-footer h2 {
    margin: 0;
    color: var(--article-ink);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(1.7rem, 3vw, 2.25rem);
    font-weight: 400;
}

.article-editorial-footer > a {
    flex: 0 0 auto;
    padding: 11px 18px;
    border: 1px solid var(--article-ink);
    border-radius: 999px;
    color: var(--article-ink);
    font-weight: 700;
}

.article-editorial-footer > a:hover {
    background: var(--article-ink);
    color: #fff;
}

@media (max-width: 1050px) {
    .article-editorial-layout {
        grid-template-columns: minmax(0, 760px);
    }

    .article-reading-rail {
        position: static;
        display: flex;
        padding: 0 0 16px;
        align-items: baseline;
        gap: 9px;
        border-top: 0;
        border-bottom: 1px solid var(--article-border);
    }

    .article-reading-rail span {
        margin: 0;
    }

    .article-reading-rail--spacer {
        display: none;
    }
}

@media (max-width: 900px) {
    .trauklar-ratgeber-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .ratgeber-listing {
        padding-bottom: 4rem;
    }

    .directory-header,
    .directory-filters,
    .ratgeber-pagination {
        width: min(100% - 28px, 1240px);
    }

    .directory-header {
        margin-top: 2rem;
    }

    .directory-filters {
        margin-bottom: 2rem;
        gap: .5rem;
    }

    .directory-filter-item {
        padding: .65rem .85rem;
        font-size: .8rem;
    }

    .article-editorial {
        padding: 3rem 14px 4rem;
    }

    .article-editorial-header {
        margin-bottom: 32px;
        text-align: left;
    }

    .article-editorial-eyebrow {
        margin-bottom: 14px;
    }

    .article-editorial-header h1 {
        font-size: clamp(2.45rem, 12vw, 3.8rem);
        line-height: 1;
    }

    .article-deck {
        margin-top: 20px;
        font-size: 1rem;
    }

    .article-editorial-meta,
    .article-editorial-share {
        justify-content: flex-start;
    }

    .article-editorial-cover {
        aspect-ratio: 4 / 3;
        margin-bottom: 34px;
        border-radius: 20px;
    }

    .article-toc {
        margin-bottom: 36px;
        padding: 20px;
        border-radius: 16px;
    }

    .article-toc ol {
        columns: 1;
    }

    .article-editorial-layout {
        display: block;
    }

    .article-reading-rail {
        margin-bottom: 28px;
    }

    .article-editorial-body.ck-content {
        font-size: 1rem;
        line-height: 1.78;
    }

    .article-editorial-body.ck-content h2 {
        font-size: 2.15rem;
    }

    .article-editorial-body.ck-content h3 {
        font-size: 1.65rem;
    }

    .article-editorial-cta,
    .article-editorial-footer {
        padding: 28px 24px;
        align-items: flex-start;
        flex-direction: column;
        border-radius: 20px;
    }

    .article-editorial-cta > a,
    .article-editorial-footer > a {
        width: 100%;
        text-align: center;
    }

    .article-related {
        margin-top: 52px;
    }

    .article-related-grid {
        grid-template-columns: 1fr;
    }

    .article-related-card > div {
        padding: 20px;
    }
}

/* TRAUKLAR PRIVACY LAYOUT START */
/* TRAUKLAR Datenschutzerklärung: Darstellung, ohne Änderung des Inhaltstextes. */
.cms-article--privacy {
    padding: 2.75rem 0 5rem;
}

.cms-article--privacy .cms-reading-width {
    width: min(52rem, calc(100% - 2.5rem));
    max-width: none;
    margin-inline: auto;
}

.cms-article--privacy .cms-hero {
    margin-bottom: 1.25rem;
}

.cms-article--privacy .cms-hero h1 {
    margin: 0;
    font-size: clamp(2.35rem, 4.6vw, 3.6rem);
    line-height: 1.12;
    letter-spacing: -.035em;
    overflow-wrap: anywhere;
}

.cms-article--privacy .cms-prose {
    color: #293d35;
    font-size: 1.0625rem;
    line-height: 1.75;
}

.cms-article--privacy .cms-prose > p {
    margin: 0 0 1.2rem;
}

.cms-article--privacy .cms-prose > p:empty {
    display: none;
}

.cms-article--privacy .cms-prose > p:first-child {
    margin-bottom: 2rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(36, 70, 60, .16);
    color: #52645c;
    font-size: .95rem;
}

.cms-article--privacy .cms-prose > h2 {
    margin: 2.5rem 0 .85rem;
    color: #24463c;
    font-size: clamp(1.5rem, 2.3vw, 1.85rem);
    font-weight: 600;
    line-height: 1.28;
    letter-spacing: -.02em;
    overflow-wrap: anywhere;
    scroll-margin-top: 6rem;
}

.cms-article--privacy .cms-prose > h2:first-of-type {
    margin-top: 0;
}

.cms-article--privacy .cms-prose > h3 {
    margin: 2rem 0 .75rem;
    color: #24463c;
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.35;
}

.cms-article--privacy .cms-prose > ul,
.cms-article--privacy .cms-prose > ol {
    margin: 0 0 1.5rem;
    padding-left: 1.5rem;
}

.cms-article--privacy .cms-prose li {
    margin-bottom: .35rem;
    padding-left: .15rem;
}

.cms-article--privacy .cms-prose li p {
    margin: 0;
}

.cms-article--privacy .cms-prose a,
.cms-article--privacy .cms-prose code {
    overflow-wrap: anywhere;
}

.cms-article--privacy .cms-prose > :last-child {
    margin-bottom: 0;
}

@media (max-width: 640px) {
    .cms-article--privacy {
        padding: 2rem 0 3.5rem;
    }

    .cms-article--privacy .cms-reading-width {
        width: calc(100% - 2rem);
    }

    .cms-article--privacy .cms-hero h1 {
        font-size: clamp(2rem, 9vw, 2.8rem);
    }

    .cms-article--privacy .cms-prose {
        font-size: 1rem;
        line-height: 1.7;
    }

    .cms-article--privacy .cms-prose > h2 {
        font-size: 1.5rem;
    }
}
/* TRAUKLAR PRIVACY LAYOUT END */

/* TRAUKLAR IMPRINT LAYOUT V3 START */
/* Impressum: Leselayout wie auf der Datenschutzerklärung. */
.cms-article--imprint {
    padding: 2.75rem 0 5rem;
}

.cms-article--imprint .cms-reading-width {
    width: min(52rem, calc(100% - 2.5rem));
    max-width: none;
    margin-inline: auto;
}

.cms-article--imprint .cms-hero {
    margin-bottom: 1.25rem;
}

.cms-article--imprint .cms-hero h1 {
    margin: 0;
    font-size: clamp(2.35rem, 4.6vw, 3.6rem);
    line-height: 1.12;
    letter-spacing: -.035em;
    overflow-wrap: anywhere;
}

.cms-article--imprint .cms-prose {
    color: #293d35;
    font-size: 1.0625rem;
    line-height: 1.75;
}

.cms-article--imprint .cms-prose > h2 {
    margin: 2.5rem 0 .85rem;
    color: #24463c;
    font-size: clamp(1.5rem, 2.3vw, 1.85rem);
    font-weight: 600;
    line-height: 1.28;
    letter-spacing: -.02em;
}

.cms-article--imprint .cms-prose > h2:first-of-type {
    margin-top: 0;
}

.cms-article--imprint .cms-prose > p {
    margin: 0;
}

.cms-article--imprint .cms-prose > p:empty {
    display: none;
}

.cms-article--imprint .cms-prose a {
    overflow-wrap: anywhere;
}

@media (max-width: 640px) {
    .cms-article--imprint {
        padding: 2rem 0 3.5rem;
    }

    .cms-article--imprint .cms-reading-width {
        width: calc(100% - 2rem);
    }

    .cms-article--imprint .cms-hero h1 {
        font-size: clamp(2rem, 9vw, 2.8rem);
    }

    .cms-article--imprint .cms-prose {
        font-size: 1rem;
        line-height: 1.7;
    }

    .cms-article--imprint .cms-prose > h2 {
        font-size: 1.5rem;
    }
}
/* TRAUKLAR IMPRINT LAYOUT V3 END */
