/* ============ CTA-Block (2026) ============
   Bild + ruhiger dunkler Verlauf, weißer Text, Pill-Button – analog zum Hero. */
.cb-cta {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    overflow: hidden;
    border-radius: 20px;
    margin: 0 0 clamp(1.25rem, 3vw, 2rem);
    padding: clamp(2rem, 4.5vw, 3rem) clamp(1.25rem, 5vw, 3rem);
    isolation: isolate;
}

/* Hintergrundbild füllt die ganze Karte */
.cb-cta .cb-cta-bg {
    position: absolute;
    inset: 0;
    display: block;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -2;
}

/* Abdunkelnder Verlauf für lesbaren Text */
.cb-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(16, 38, 52, .58), rgba(16, 38, 52, .70));
    z-index: -1;
}

/* Inhalt */
.cb-cta .overlay {
    position: relative;
    background: none;
    padding: 0;
    width: 100%;
    max-width: 640px;
    text-align: center;
    color: #fff;
}
.cb-cta .overlay h2,
.cb-cta .overlay h3 {
    color: #fff;
    text-align: center;
    margin: 0 0 .6em;
}
.cb-cta .overlay p {
    color: rgba(255, 255, 255, .94);
    margin: 0 0 1.1em;
    text-align: center;
}
.cb-cta .overlay p:last-child { margin-bottom: 0; }
.cb-cta .overlay strong { color: #fff; }
.cb-cta .overlay a:not(.btn-cta) {
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.cb-cta .overlay a:not(.btn-cta):hover { text-decoration-thickness: 2px; }

/* Häkchen-Liste */
.cb-cta ul {
    list-style: none;
    padding-left: 0;
    margin: 0 auto 1.6em;
    display: inline-block;
    text-align: left;
}
.cb-cta ul li {
    position: relative;
    padding-left: 1.9rem;
    margin: 0 0 .55em;
    color: rgba(255, 255, 255, .94);
}
.cb-cta ul li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #8FC7E0;
    font-weight: 700;
}

/* Button im Systemstil */
.cb-cta .btn-cta {
    display: inline-block;
    margin-top: .6rem;
    background: var(--brand-btn, #0077A6);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    padding: .9rem 1.8rem;
    text-align: center;
    text-decoration: none;
    border: 0;
    border-radius: 999px;
    transition: background .2s ease;
}
.cb-cta .btn-cta:hover,
.cb-cta .btn-cta:focus-visible {
    background: var(--brand-deep, #0A5E85);
    color: #fff;
}
.cb-cta .btn-cta:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    .cb-cta .btn-cta { transition: none; }
}
