/**
 * Fassaden CTA Widget Styles
 */

.fassaden-cta-box {
    background-color: #000000;
    border: 2px solid #333333;
    border-radius: 8px;
    padding: 40px 30px;
    text-align: center;
    margin: 30px 0;
    transition: all 0.3s ease;
}

.fassaden-cta-box:hover {
    box-shadow: 0 8px 24px rgba(220, 53, 69, 0.3);
    transform: translateY(-2px);
    border-color: #dc3545;
}

.fassaden-cta-title {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 20px 0;
    line-height: 1.3;
}

.fassaden-cta-phone {
    font-size: 20px;
    color: #ffffff;
    margin: 0 0 25px 0;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.fassaden-cta-phone-icon {
    display: inline-flex;
    align-items: center;
    color: #dc3545;
    animation: phone-ring 2s ease-in-out infinite;
}

@keyframes phone-ring {
    0%, 100% {
        transform: rotate(0deg);
    }
    10%, 30% {
        transform: rotate(-10deg);
    }
    20%, 40% {
        transform: rotate(10deg);
    }
    50% {
        transform: rotate(0deg);
    }
}

.fassaden-cta-phone a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.fassaden-cta-phone a:hover {
    color: #dc3545;
    text-decoration: underline;
}

.fassaden-cta-button {
    display: inline-block;
    background-color: #dc3545;
    color: #ffffff;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.fassaden-cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: -1;
}

.fassaden-cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.fassaden-cta-button:hover {
    background-color: #c82333;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.5);
    color: #ffffff;
    text-decoration: none;
}

.fassaden-cta-button:active {
    transform: translateY(-1px) scale(1.02);
}

/* Pulse Animation für Button */
@keyframes button-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(220, 53, 69, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0);
    }
}

.fassaden-cta-button {
    animation: button-pulse 2s infinite;
}

.fassaden-cta-button:hover {
    animation: none;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .fassaden-cta-box {
        padding: 30px 20px;
    }
    
    .fassaden-cta-title {
        font-size: 24px;
    }
    
    .fassaden-cta-phone {
        font-size: 18px;
        flex-wrap: wrap;
    }
    
    .fassaden-cta-button {
        padding: 12px 25px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .fassaden-cta-box {
        padding: 25px 15px;
    }
    
    .fassaden-cta-title {
        font-size: 20px;
    }
    
    .fassaden-cta-phone {
        font-size: 16px;
        margin-bottom: 20px;
    }
    
    .fassaden-cta-button {
        width: 100%;
        padding: 12px 20px;
        font-size: 14px;
    }
}
