/* Abnehmen im Liegen Quiz Styles */

.ail-quiz-wrapper {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* Progress Bar */
.ail-progress-bar {
    width: 100%;
    height: 8px;
    background: #e0e0e0;
    border-radius: 10px;
    margin-bottom: 40px;
    overflow: hidden;
}

.ail-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #794696 0%, #7a4696 100%);
    transition: width 0.3s ease;
    border-radius: 10px;
}

/* Quiz Content */
.ail-quiz-content {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    min-height: 500px;
}

.ail-quiz-step {
    display: none;
    animation: fadeIn 0.4s ease;
}

.ail-quiz-step.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ail-quiz-step h2 {
    font-size: 32px;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 10px;
    text-align: center;
}

.ail-subtitle {
    text-align: center;
    color: #718096;
    font-size: 18px;
    margin-bottom: 30px;
}

/* Hero Image */
.ail-hero-image {
    text-align: center;
    margin: 40px 0;
}

.ail-hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
}

/* Options */
.ail-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.ail-option-card {
    background: #f7fafc;
    border: 2px solid #794696;
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ail-option-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: #F9C5FA;
}

.ail-option-card.selected {
    background: linear-gradient(135deg, #794696 0%, #F9C5FA 100%);
    border-color: #F9C5FA;
    color: white;
}

.ail-option-card .ail-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.ail-option-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    color: inherit;
}

.ail-option-card p {
    font-size: 14px;
    color: #718096;
    margin: 0;
}

.ail-option-card.selected p {
    color: rgba(255, 255, 255, 0.9);
}

/* Buttons */
.ail-btn {
    display: inline-block;
    padding: 16px 40px;
    font-size: 18px;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
}

.ail-btn-primary {
    background: linear-gradient(135deg, #794696 0%, #F9C5FA 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(135, 50, 135, 0.3);
    width: 100%;
    max-width: 400px;
    margin: 30px auto;
    display: block;
}

.ail-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(135, 50, 135, 0.4);
}

.ail-continue-btn {
    margin-top: 30px;
}

/* Lead Form */
.ail-lead-form {
    max-width: 500px;
    margin: 0 auto;
}

.ail-form-group {
    margin-bottom: 20px;
}

.ail-form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #2d3748;
}

.ail-form-group input[type="text"],
.ail-form-group input[type="email"],
.ail-form-group input[type="tel"] {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.ail-form-group input:focus {
    outline: none;
    border-color: #F9C5FA;
}

.ail-form-group.ail-checkbox {
    display: flex;
    align-items: flex-start;
}

.ail-form-group.ail-checkbox label {
    display: flex;
    align-items: flex-start;
    font-weight: 400;
    cursor: pointer;
}

.ail-form-group.ail-checkbox input[type="checkbox"] {
    margin-right: 10px;
    margin-top: 4px;
    cursor: pointer;
    width: 18px;
    height: 18px;
}

.ail-form-group.ail-checkbox a {
    color: #794696;
    text-decoration: underline;
}

/* Success Page */
.ail-success {
    text-align: center;
    padding: 40px 20px;
}

.ail-success-icon {
    font-size: 80px;
    margin-bottom: 20px;
}

.ail-success h2 {
    color: #2d3748;
    margin-bottom: 20px;
}

.ail-success p {
    font-size: 18px;
    color: #4a5568;
    margin-bottom: 15px;
}

.ail-highlight {
    background: #fdedff;
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #794696;
    margin: 30px 0;
}

.ail-highlight strong {
    color: #794696;
    font-size: 24px;
}

.ail-benefits {
    background: #f7fafc;
    padding: 30px;
    border-radius: 15px;
    margin-top: 30px;
}

.ail-benefits h3 {
    color: #2d3748;
    margin-bottom: 20px;
}

.ail-benefits ul {
    list-style: none;
    padding: 0;
    text-align: left;
    max-width: 400px;
    margin: 0 auto;
}

.ail-benefits li {
    font-size: 18px;
    color: #4a5568;
    margin-bottom: 12px;
    padding-left: 10px;
}

/* Step Indicator */
.ail-step-indicator {
    text-align: center;
    margin-top: 30px;
    font-size: 16px;
    color: #718096;
    font-weight: 500;
}

/* Responsive Design */
@media (max-width: 768px) {
    .ail-quiz-wrapper {
        padding: 15px;
        margin: 20px auto;
    }
    
    .ail-quiz-content {
        padding: 25px 20px;
    }
    
    .ail-quiz-step h2 {
        font-size: 24px;
    }
    
    .ail-subtitle {
        font-size: 16px;
    }
    
    .ail-options {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .ail-option-card {
        padding: 20px 15px;
    }
    
    .ail-option-card .ail-icon {
        font-size: 36px;
    }
    
    .ail-option-card h3 {
        font-size: 18px;
    }
    
    .ail-btn {
        padding: 14px 30px;
        font-size: 16px;
    }
}

/* Loading State */
.ail-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Animations */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.ail-option-card:active {
    animation: pulse 0.3s ease;
}
/* Countdown Timer Styles */
.ail-countdown-box {
    background: linear-gradient(135deg, #d3af37 0%, #f5c518 100%);
    color: white;
    padding: 30px;
    border-radius: 15px;
    margin: 30px 0;
    text-align: center;
    box-shadow: 0 10px 30px rgba(235, 200, 234, 0.3);
    transition: all 0.3s ease;
}

.ail-countdown-icon {
    font-size: 50px;
    margin-bottom: 15px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.ail-countdown-box h3 {
    color: white;
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: 700;
}

.ail-countdown-timer {
    background: rgba(255, 255, 255, 0.2);
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    backdrop-filter: blur(10px);
}

.ail-countdown-label {
    display: block;
    font-size: 14px;
    margin-bottom: 10px;
    opacity: 0.9;
}

.ail-countdown-time {
    font-size: 48px;
    font-weight: 700;
    font-family: 'Courier New', monospace;
    letter-spacing: 3px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.ail-countdown-text {
    font-size: 18px;
    margin: 15px 0 0 0;
    opacity: 0.95;
    color: #ffffff;
}

.ail-countdown-text strong {
    font-size: 24px;
    text-shadow: 1px 1px 2px #794696;
    color: #ffffff;
}

/* Urgent State - unter 2 Minuten */
.ail-countdown-urgent {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    animation: pulse-urgent 1s infinite;
}

@keyframes pulse-urgent {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 10px 30px rgba(255, 107, 107, 0.3);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 15px 40px rgba(255, 107, 107, 0.5);
    }
}

/* Expired State */
.ail-countdown-expired {
    background: linear-gradient(135deg, #7f8c8d 0%, #95a5a6 100%);
    opacity: 0.7;
}

.ail-countdown-expired .ail-countdown-time {
    font-size: 32px;
    opacity: 0.8;
}

/* Inline Countdown in Benefits */
#countdown-inline {
    color: #FF6B6B;
    font-weight: 700;
    font-family: 'Courier New', monospace;
}

/* Mobile Optimierung */
@media (max-width: 768px) {
    .ail-countdown-box {
        padding: 20px 15px;
    }
    
    .ail-countdown-box h3 {
        font-size: 20px;
    }
    
    .ail-countdown-time {
        font-size: 36px;
    }
    
    .ail-countdown-icon {
        font-size: 40px;
    }
}
