/* ══════════════════════════════════════
   FEATURE SHOWCASE
   ══════════════════════════════════════ */

/* ── Section Header ── */
.cf-showcase__header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 80px 72px 60px;
}

.cf-showcase__eyebrow {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--bs-primary);
    margin-bottom: 16px;
}

.cf-showcase__title {
    font-size: clamp(24px, 3vw, 40px);
    font-weight: 900;
    line-height: 1.15;
    color: var(--bs-tertiary);
    margin-bottom: 16px;
}

.cf-showcase__title p {
    margin: 0;
}

.cf-showcase__intro {
    font-size: clamp(15px, 1.3vw, 17px);
    line-height: 1.7;
    color: rgba(20, 55, 65, 0.5);
    max-width: 600px;
    margin: 0 auto;
}

.cf-showcase__intro p {
    margin: 0;
}


/* ── Feature Block ── */
.cf-feature {
    display: flex;
    align-items: center;
    gap: 56px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 72px;

    /* Scroll reveal */
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.cf-feature.is-visible {
    opacity: 1;
    transform: translateY(0);
}


/* ── Layout: Bild rechts ── */
.cf-feature--image-right {
    flex-direction: row-reverse;
}


/* ── Alternierender Hintergrund (weiß) ── */
.cf-feature--alt {
    background: #fff;
    border-radius: 0;
    /* Full-Bleed */
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    padding-left: calc(50vw - 50% + 72px);
    padding-right: calc(50vw - 50% + 72px);
    max-width: none;
}

/* Inner max-width für alt-bg Features */
.cf-feature--alt .cf-feature__media,
.cf-feature--alt .cf-feature__body {
    max-width: 600px;
}

.cf-feature--alt {
    justify-content: center;
}


/* ── Image / Media Column ── */
.cf-feature__media {
    flex: 0 0 50%;
    min-width: 0;
}

.cf-feature__single,
.cf-feature__carousel {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(20, 55, 65, 0.08);
    background: #f0f0f0;
}

.cf-feature__image {
    width: 100%;
    height: auto;
    display: block;
}

.cf-feature__single a.lightbox,
.cf-feature__slide a.lightbox {
    display: block;
    cursor: zoom-in;
    position: relative;
    overflow: hidden;
}

.cf-feature__single a.lightbox .cf-feature__image,
.cf-feature__slide a.lightbox .cf-feature__image {
    transition: transform 0.5s ease;
}

.cf-feature__single a.lightbox:hover .cf-feature__image,
.cf-feature__slide a.lightbox:hover .cf-feature__image {
    transform: scale(1.03);
}


/* ── Carousel ── */
.cf-feature__slides {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.cf-feature__slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 2.5s ease;
}

.cf-feature__slide.is-active {
    opacity: 1;
}

.cf-feature__slide .cf-feature__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cf-feature__dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 12px 0;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
}

.cf-feature__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    border: none;
    background: rgba(20, 55, 65, 0.2);
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.cf-feature__dot.is-active {
    width: 18px;
    border-radius: 3px;
    background: var(--bs-primary);
}


/* ── Text / Body Column ── */
.cf-feature__body {
    flex: 1;
    min-width: 0;
}

.cf-feature__badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--bs-primary);
    margin-bottom: 12px;
}

.cf-feature__subtitle {
    font-size: 13px;
    font-weight: 500;
    color: rgba(20, 55, 65, 0.4);
    margin-bottom: 8px;
    letter-spacing: 0.02em;
}

.cf-feature__headline {
    font-size: clamp(22px, 2.5vw, 34px);
    font-weight: 800;
    line-height: 1.2;
    color: var(--bs-quaternary);
    margin-bottom: 16px;
}

.cf-feature__headline p {
    margin: 0;
}

.cf-feature__desc {
    font-size: 15px;
    line-height: 1.75;
    color: rgba(20, 55, 65, 0.5);
    margin-bottom: 24px;
}

.cf-feature__desc p {
    margin-bottom: 8px;
}

.cf-feature__desc p:last-child {
    margin-bottom: 0;
}


/* ── Tags ── */
.cf-feature__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cf-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 500;
    padding: 5px 14px;
    border-radius: 100px;
    background: rgba(20, 55, 65, 0.06);
    color: rgba(20, 55, 65, 0.55);
    white-space: nowrap;
}


/* ══════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════ */

@media (max-width: 991px) {
    .cf-showcase__header {
        padding: 60px 24px 40px;
    }

    .cf-feature {
        flex-direction: column !important;
        gap: 32px;
        padding: 48px 24px;
    }

    .cf-feature--alt {
        padding-left: calc(50vw - 50% + 24px);
        padding-right: calc(50vw - 50% + 24px);
    }

    .cf-feature__media {
        flex: none;
        width: 100%;
    }

    .cf-feature__body {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .cf-showcase__header {
        padding: 40px 16px 24px;
    }

    .cf-feature {
        padding: 36px 16px;
        gap: 24px;
    }

    .cf-feature--alt {
        padding-left: calc(50vw - 50% + 16px);
        padding-right: calc(50vw - 50% + 16px);
    }

    .cf-feature__headline {
        font-size: 22px;
    }

    .cf-feature__desc {
        font-size: 14px;
    }
}
