/* ==========================================================================
   Weapon of Choice Block
   Desktop: 4-column grid    Mobile: Swiper slider
   ========================================================================== */

.cf-weapon {
    position: relative;
    width: 100%;
    background-color: #000000;
}

.cf-weapon__container {
    max-width: 1360px;
    margin: 0 auto;
    padding: clamp(5rem, 8.33vw, 7.5rem) clamp(0.75rem, 2.78vw, 2.5rem);
}

/* === Headline === */
.cf-weapon__headline {
    font-family: 'Inter', sans-serif;
    font-size: clamp(2rem, 1.33rem + 2.78vw, 3rem);
    line-height: 1.1;
    text-align: center;
    text-transform: uppercase;
    color: #FFFFFF;
    margin: 0 0 clamp(3.75rem, 5.56vw, 5rem);
}

.cf-weapon__headline-regular {
    font-weight: 400;
}

.cf-weapon__headline-bold {
    font-weight: 600;
}

/* === Cards === */
.cf-weapon__cards-wrapper {
    width: 100%;
}

.cf-weapon__card {
    position: relative;
    overflow: hidden;
    background-color: #1A1A1A;
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 341px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cf-weapon__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.cf-weapon__card[data-link] {
    cursor: pointer;
}

.cf-weapon__card-inner {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex: 1;
    min-height: 341px;
    padding: 2.5rem;
}

.cf-weapon__card-content {
    flex: 1;
}

.cf-weapon__card-title {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: clamp(1.5rem, 1.17rem + 1.39vw, 2rem);
    line-height: 1.2;
    letter-spacing: -0.96px;
    color: #FFFFFF;
    margin: 0 0 clamp(1.5rem, 2.78vw, 2.5rem);
    min-height: 2.4em; /* 2 Zeilen × line-height 1.2 – Teaser beginnt auf gleicher Höhe */
    hyphens: auto;
    -webkit-hyphens: auto;
}

.cf-weapon__card-text {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.3;
    letter-spacing: 0.16px;
    color: #FFFFFF;
    margin: 0;
}

.cf-weapon__card-link {
    display: inline-block;
    flex-shrink: 0;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.3;
    letter-spacing: 0.16px;
    color: #F9E62B;
    text-decoration: none;
    margin-top: 1.5rem;
    transition: opacity 0.3s ease;
}

.cf-weapon__card-link:hover {
    color: #F9E62B;
    opacity: 0.8;
    text-decoration: underline;
}

/* Yellow triangle on card (hidden, shows on hover) */
.cf-weapon__card-triangle {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 20;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cf-weapon__card:hover .cf-weapon__card-triangle {
    opacity: 1;
}

.cf-weapon__card-triangle-arrow {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 28px;
    height: 28px;
    fill: #1A1A1A;
}



/* === CTA Wrapper === */
.cf-weapon__cta {
    display: flex;
    justify-content: center;
    margin-top: clamp(3.75rem, 5.56vw, 5rem);
}

/* === Swiper Navigation (Mobile only) === */
.cf-weapon__nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 2rem;
}

.cf-weapon__nav button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.cf-weapon__nav button:hover {
    opacity: 1;
}

/* === Desktop: 4-column grid === */
@media (min-width: 768px) {
    .cf-weapon__cards .swiper-wrapper {
        display: grid !important;
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 24px;
        transform: none !important;
    }

    .cf-weapon__cards .swiper-slide {
        display: flex;
        flex-direction: column;
        width: 100% !important;
        min-width: 0 !important;
        margin-right: 0 !important;
    }

    .cf-weapon__nav {
        display: none !important;
    }
}

/* === Mobile === */
@media (max-width: 767px) {
    .cf-weapon__card {
        min-height: 296px;
    }

    .cf-weapon__card-inner {
        min-height: 296px;
        padding: 2rem;
    }

    .cf-weapon__cards .swiper-slide {
        width: 92% !important;
    }
}
