/* =============================================
   TM24 ANKAUF – CTA BUTTONS
   Scoped: .between-cta-*, .final-cta-*, 
           .hero-cta-btn, .btn-ankauf, .ankauf-preisbox-cta
   ============================================= */

/* ===== HERO CTA ===== */
.hero-cta-btn {
    display: inline-block;
    padding: 16px 40px;
    background: #fff;
    color: var(--tm-blue, #2e2bcb);
    font-size: 18px;
    font-weight: 800;
    border-radius: 14px;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transition: all 0.2s;
    border: 2px solid transparent;
}

.hero-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
    color: var(--tm-blue, #2e2bcb);
    text-decoration: none;
}

/* ===== ZWISCHEN-CTA ===== */
.between-cta-section {
    text-align: center;
    padding: 30px 0 20px;
    background: #fff;
}

.between-cta-btn {
    display: inline-block;
    padding: 16px 40px;
    background: linear-gradient(135deg, #2e2bcb, #5856d6);
    color: #fff !important;
    font-size: 18px;
    font-weight: 700;
    border-radius: 14px;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(46, 43, 203, 0.25);
    transition: all 0.2s;
    position: relative;
    overflow: hidden;
}

.between-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(46, 43, 203, 0.35);
    color: #fff !important;
    text-decoration: none;
}

/* Shimmer-Effekt */
.between-cta-btn::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: btn-shine 3.5s infinite;
}

.between-cta-sub {
    display: block;
    margin-top: 10px;
    font-size: 13px;
    color: var(--tm-text-secondary, #475569);
}

/* ===== ABSCHLUSS-CTA ===== */
.final-cta-section {
    padding: 56px 0;
    background: linear-gradient(135deg, #f0f0ff 0%, #e8e7ff 50%, #f0f0ff 100%);
    text-align: center;
    border-top: 1px solid #e0e0f0;
}

.final-cta-section h2 {
    font-size: 28px;
    font-weight: 800;
    color: var(--tm-text-headline, #0f172a);
    margin-bottom: 10px;
}

.final-cta-sub {
    font-size: 16px;
    color: var(--tm-text-secondary, #475569);
    margin-bottom: 28px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

.final-cta-btn {
    background: linear-gradient(135deg, #2e2bcb, #5856d6) !important;
    color: #fff !important;
    padding: 18px 48px !important;
    font-size: 18px !important;
    border-radius: 50px !important;
    box-shadow: 0 8px 28px rgba(46, 43, 203, 0.3) !important;
}

.final-cta-btn:hover {
    box-shadow: 0 12px 36px rgba(46, 43, 203, 0.4) !important;
}

.final-cta-trust {
    margin-top: 24px;
    display: flex;
    justify-content: center;
    gap: 24px;
    font-size: 14px;
    color: var(--tm-text-secondary, #475569);
    font-weight: 500;
}

.final-cta-trust span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* ===== PREISBOX CTA ===== */
.ankauf-preisbox-cta {
    display: block;
    width: 100%;
    padding: 18px 24px;
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, #2E2BCB 0%, #5856d6 100%);
    border: none;
    border-radius: 14px;
    cursor: pointer;
    text-align: center;
    box-shadow: 0 4px 20px rgba(46, 43, 203, 0.3);
    transition: all 0.2s;
    margin-top: 14px;
}

.ankauf-preisbox-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(46, 43, 203, 0.4);
}

.ankauf-preisbox-cta:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* ===== LEGACY btn-ankauf ===== */
.btn-ankauf {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 64px;
    padding: 18px 28px;
    border: 0;
    border-radius: 18px;
    background: linear-gradient(90deg, #2f2fd6 0%, #4a4ae8 100%);
    color: #fff;
    font-size: 22px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 8px 28px rgba(47, 47, 214, 0.3);
    transition: all 0.2s ease;
}

.btn-ankauf:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 36px rgba(47, 47, 214, 0.4);
}

/* ===== ANIMATIONS ===== */
@keyframes btn-shine {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

@keyframes cta-glow {
    0%, 100% { box-shadow: 0 14px 34px rgba(47,47,214,0.28), 0 0 0 0 rgba(47,47,214,0); }
    50% { box-shadow: 0 14px 34px rgba(47,47,214,0.28), 0 0 24px 4px rgba(47,47,214,0.12); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .final-cta-section h2 {
        font-size: 22px;
    }

    .final-cta-sub {
        font-size: 14px;
    }

    .final-cta-trust {
        flex-direction: column;
        gap: 8px;
        font-size: 13px;
    }

    .between-cta-btn {
        padding: 14px 32px;
        font-size: 16px;
    }
}
