.vdb-content-strategy-page .vdb-content-strategy,
.vdb-content-strategy-page .vdb-content-strategy * {
    box-sizing: border-box;
}

.vdb-content-strategy-page .vdb-content-strategy {
    width: 100%;
    margin: clamp(1.75rem, 3vw, 2.75rem) 0 0;
    color: #17324f;
    font-size: 1rem;
    line-height: 1.65;
    overflow: hidden;
}

.vdb-content-strategy-page .vdb-content-strategy__wrap {
    width: min(100%, 1180px);
    margin-inline: auto;
    padding: clamp(1.5rem, 3.5vw, 3rem);
    border: 1px solid #d6e0ea;
    border-radius: 1.25rem;
    background: #fff;
    box-shadow: 0 14px 36px rgba(14, 43, 72, .07);
}

/* The qualification article follows a full-width hero with its own spacing. */
.vdb-content-strategy-page .vdb-content-strategy--qualification {
    margin-top: 0;
}

/* The visible gap came from the parent article, not from the child module. */
body.vdb-glf-qualifikation-immobiliensachverstaendiger article.page-content.section {
    padding-top: clamp(2rem, 4vw, 3.5rem) !important;
}

.vdb-content-strategy-page .vdb-content-strategy__kicker {
    margin: 0 0 .55rem;
    color: #8b570f;
    font-size: .82rem;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.vdb-content-strategy-page .vdb-content-strategy h2,
.vdb-content-strategy-page .vdb-content-strategy h3 {
    max-width: 100%;
    color: #123456;
    overflow-wrap: anywhere;
    hyphens: auto;
}

.vdb-content-strategy-page .vdb-content-strategy h2 {
    margin: 0 0 1rem;
    font-size: clamp(1.55rem, 3vw, 2.25rem);
    line-height: 1.18;
}

.vdb-content-strategy-page .vdb-content-strategy h3 {
    margin: 0 0 .65rem;
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    line-height: 1.28;
}

.vdb-content-strategy-page .vdb-content-strategy p,
.vdb-content-strategy-page .vdb-content-strategy li,
.vdb-content-strategy-page .vdb-content-strategy span,
.vdb-content-strategy-page .vdb-content-strategy a {
    overflow-wrap: anywhere;
}

.vdb-content-strategy-page .vdb-content-strategy p:last-child,
.vdb-content-strategy-page .vdb-content-strategy ul:last-child {
    margin-bottom: 0;
}

.vdb-content-strategy-page .vdb-content-strategy__lead {
    max-width: 920px;
    margin: 0 0 1.5rem;
    font-size: clamp(1.03rem, 1.5vw, 1.14rem);
}

.vdb-content-strategy-page .vdb-content-strategy__section {
    padding-top: clamp(2rem, 4vw, 3.5rem);
    scroll-margin-top: 6rem;
}

.vdb-content-strategy-page .vdb-content-strategy__jump,
.vdb-content-strategy-page .vdb-content-strategy__links {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
    margin: 1.5rem 0 0;
}

.vdb-content-strategy-page .vdb-content-strategy__jump a,
.vdb-content-strategy-page .vdb-content-strategy__links a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    padding: .65rem .9rem;
    border: 1px solid #b9cadb;
    border-radius: .7rem;
    color: #123e69;
    background: #f7fafc;
    font-size: .95rem;
    font-weight: 750;
    line-height: 1.35;
    text-decoration: underline;
    text-decoration-thickness: .08em;
    text-underline-offset: .16em;
}

.vdb-content-strategy-page .vdb-content-strategy__jump a:hover,
.vdb-content-strategy-page .vdb-content-strategy__links a:hover,
.vdb-content-strategy-page .vdb-content-strategy__jump a:focus-visible,
.vdb-content-strategy-page .vdb-content-strategy__links a:focus-visible {
    color: #fff;
    background: #123e69;
    outline: 3px solid rgba(197, 139, 30, .35);
    outline-offset: 2px;
}

.vdb-content-strategy-page .vdb-content-strategy__benefits,
.vdb-content-strategy-page .vdb-content-strategy__factors,
.vdb-content-strategy-page .vdb-content-strategy__facts,
.vdb-content-strategy-page .vdb-content-strategy__cards,
.vdb-content-strategy-page .vdb-content-strategy__compare {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.35rem;
}

.vdb-content-strategy-page .vdb-content-strategy__cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.vdb-content-strategy-page .vdb-content-strategy__benefits > div,
.vdb-content-strategy-page .vdb-content-strategy__factors > div,
.vdb-content-strategy-page .vdb-content-strategy__facts > div,
.vdb-content-strategy-page .vdb-content-strategy__cards > article,
.vdb-content-strategy-page .vdb-content-strategy__compare > div {
    min-width: 0;
    padding: 1.25rem;
    border: 1px solid #d8e2ec;
    border-radius: 1rem;
    background: #f8fafc;
}

.vdb-content-strategy-page .vdb-content-strategy__benefits strong,
.vdb-content-strategy-page .vdb-content-strategy__factors strong,
.vdb-content-strategy-page .vdb-content-strategy__facts strong {
    display: block;
    margin-bottom: .35rem;
    color: #123456;
    font-size: 1.05rem;
}

.vdb-content-strategy-page .vdb-content-strategy__benefits span,
.vdb-content-strategy-page .vdb-content-strategy__factors span,
.vdb-content-strategy-page .vdb-content-strategy__facts span {
    display: block;
}

.vdb-content-strategy-page .vdb-content-strategy__cards article a {
    color: #174e7c;
    font-weight: 750;
    text-decoration: underline;
    text-underline-offset: .16em;
}

.vdb-content-strategy-page .vdb-content-strategy__highlight,
.vdb-content-strategy-page .vdb-content-strategy__note,
.vdb-content-strategy-page .vdb-content-strategy__sources {
    margin-top: 1.5rem;
    padding: 1.35rem;
    border: 1px solid #e5c985;
    border-radius: 1rem;
    background: #fff9ee;
}

.vdb-content-strategy-page .vdb-content-strategy__sources h2 {
    font-size: 1.25rem;
}

.vdb-content-strategy-page .vdb-content-strategy__sources a {
    color: #174e7c;
}

.vdb-content-strategy-page .vdb-content-strategy__table-wrap {
    width: 100%;
    margin-top: 1.25rem;
    overflow-x: clip;
    overscroll-behavior-inline: contain;
    border: 1px solid #d8e2ec;
    border-radius: 1rem;
}

.vdb-content-strategy-page .vdb-content-strategy table {
    width: 100%;
    min-width: 0;
    table-layout: fixed;
    margin: 0;
    border-collapse: collapse;
    background: #fff;
}

.vdb-content-strategy-page .vdb-content-strategy th,
.vdb-content-strategy-page .vdb-content-strategy td {
    padding: .85rem 1rem;
    border-bottom: 1px solid #e1e8ef;
    text-align: left;
    vertical-align: top;
    overflow-wrap: anywhere;
    hyphens: auto;
}

/* Existing cost tables use the same no-overflow rules as the new content. */
.vdb-content-strategy-page .vdb-laf-table-wrap {
    max-width: 100%;
    overflow-x: clip;
}

.vdb-content-strategy-page .vdb-laf-table {
    width: 100%;
    min-width: 0 !important;
    table-layout: fixed;
}

.vdb-content-strategy-page .vdb-laf-table th,
.vdb-content-strategy-page .vdb-laf-table td {
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: normal;
    hyphens: auto;
}

/* Compact integration inside the existing cost module; no duplicate article. */
.vdb-content-strategy-page .vdb-cost-integration {
    width: 100%;
    margin-top: 1.75rem;
    padding-top: 1.35rem;
    border-top: 1px solid #d6e0ea;
}

.vdb-content-strategy-page .vdb-cost-integration > p {
    margin: 0 0 .75rem;
    color: #123456;
}

.vdb-content-strategy-page .vdb-cost-integration nav {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
}

.vdb-content-strategy-page .vdb-cost-integration a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    padding: .65rem .85rem;
    border: 1px solid #b9cadb;
    border-radius: .7rem;
    color: #123e69;
    background: #f7fafc;
    font-size: .95rem;
    font-weight: 750;
    line-height: 1.35;
    overflow-wrap: anywhere;
    text-decoration: underline;
    text-underline-offset: .16em;
}

/* Keep the conversion CTA visible without covering the central reading column. */
.vdb-content-strategy-page .vdb-gui-floating {
    left: auto !important;
    right: 18px !important;
    width: auto !important;
    max-width: min(240px, calc(100vw - 36px)) !important;
    padding: .45rem !important;
    transform: none !important;
}

.vdb-content-strategy-page .vdb-gui-floating__question {
    display: none !important;
}

.vdb-content-strategy-page .vdb-gui-floating__button {
    min-height: 44px;
    white-space: nowrap;
}

.vdb-content-strategy-page footer,
.vdb-content-strategy-page .site-footer {
    padding-bottom: 5.5rem;
}

.vdb-content-strategy-page .vdb-content-strategy thead th {
    color: #fff;
    background: #123456;
}

.vdb-content-strategy-page .vdb-content-strategy tbody tr:last-child > * {
    border-bottom: 0;
}

.vdb-content-strategy-page .vdb-content-strategy__steps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .85rem;
    padding: 0;
    list-style: none;
    counter-reset: vdb-cost-step;
}

.vdb-content-strategy-page .vdb-content-strategy__steps li {
    position: relative;
    min-width: 0;
    padding: 1.15rem 1.15rem 1.15rem 3.2rem;
    border-radius: .9rem;
    background: #edf3f8;
    counter-increment: vdb-cost-step;
}

.vdb-content-strategy-page .vdb-content-strategy__steps li::before {
    position: absolute;
    top: 1.05rem;
    left: 1rem;
    display: grid;
    width: 1.65rem;
    height: 1.65rem;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: #b47713;
    font-weight: 800;
    content: counter(vdb-cost-step);
}

.vdb-content-strategy-page .vdb-content-strategy__steps strong,
.vdb-content-strategy-page .vdb-content-strategy__steps span {
    display: block;
}

.vdb-content-strategy-page .vdb-content-strategy__cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.75rem;
    padding: 1.25rem;
    border-radius: 1rem;
    color: #fff;
    background: #102f50;
}

.vdb-content-strategy-page .vdb-content-strategy__cta strong,
.vdb-content-strategy-page .vdb-content-strategy__cta span {
    display: block;
}

.vdb-content-strategy-page .vdb-content-strategy__cta span {
    color: rgba(255, 255, 255, .86);
}

.vdb-content-strategy-page .vdb-content-strategy__cta > a {
    display: inline-flex;
    flex: 0 0 auto;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: .75rem 1rem;
    border-radius: 999px;
    color: #172d45;
    background: #e0a71f;
    font-weight: 800;
    text-decoration: none;
}

@media (max-width: 900px) {
    .vdb-content-strategy-page .vdb-content-strategy__cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .vdb-content-strategy-page .vdb-content-strategy {
        margin-top: 2rem;
        font-size: 1rem;
    }

    .vdb-content-strategy-page .vdb-content-strategy__wrap {
        width: 100%;
        padding: 1.15rem;
        border-radius: 1rem;
    }

    .vdb-content-strategy-page .vdb-content-strategy__benefits,
    .vdb-content-strategy-page .vdb-content-strategy__factors,
    .vdb-content-strategy-page .vdb-content-strategy__facts,
    .vdb-content-strategy-page .vdb-content-strategy__compare,
    .vdb-content-strategy-page .vdb-content-strategy__steps {
        grid-template-columns: 1fr;
    }

    .vdb-content-strategy-page .vdb-content-strategy__jump,
    .vdb-content-strategy-page .vdb-content-strategy__links {
        align-items: stretch;
        flex-direction: column;
    }

    .vdb-content-strategy-page .vdb-content-strategy__jump a,
    .vdb-content-strategy-page .vdb-content-strategy__links a {
        width: 100%;
    }

    .vdb-content-strategy-page .vdb-content-strategy__cta {
        align-items: stretch;
        flex-direction: column;
    }

    .vdb-content-strategy-page .vdb-content-strategy__cta > a {
        width: 100%;
    }

    .vdb-content-strategy-page .vdb-content-strategy table,
    .vdb-content-strategy-page .vdb-laf-table {
        font-size: .79rem;
    }

    .vdb-content-strategy-page .vdb-content-strategy th,
    .vdb-content-strategy-page .vdb-content-strategy td,
    .vdb-content-strategy-page .vdb-laf-table th,
    .vdb-content-strategy-page .vdb-laf-table td {
        padding: .65rem .45rem;
        line-height: 1.42;
    }

    .vdb-content-strategy-page .vdb-cost-integration nav {
        display: grid;
        grid-template-columns: 1fr;
    }

    .vdb-content-strategy-page .vdb-cost-integration a {
        width: 100%;
    }

    .vdb-content-strategy-page .vdb-gui-floating {
        right: 10px !important;
        bottom: 10px !important;
        width: auto !important;
        max-width: min(220px, calc(100vw - 20px)) !important;
        padding: .45rem !important;
    }
}
