/* =====================================================
   DIETZ BADGE SYSTEM - Enhanced with Glassmorphism
   ===================================================== */

/* Badge Styles for Contact Form */
.aktion-badge-small {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    vertical-align: middle;
    white-space: nowrap;
    padding: 6px 12px;
    background: linear-gradient(135deg, rgba(237, 28, 36, 0.1) 0%, rgba(237, 28, 36, 0.05) 100%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(237, 28, 36, 0.2);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-color);
    box-shadow: 
        0 2px 8px rgba(237, 28, 36, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    animation: badgePulse 2s ease-in-out infinite, fadeIn 0.3s ease-out;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.aktion-badge-small:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 
        0 4px 12px rgba(237, 28, 36, 0.25),
        0 8px 24px rgba(237, 28, 36, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.aktion-badge-small i {
    font-size: 0.9em;
    animation: sparkle 1.5s ease-in-out infinite;
}

[data-theme="dark"] .aktion-badge-small {
    background: linear-gradient(135deg, rgba(237, 28, 36, 0.25) 0%, rgba(237, 28, 36, 0.15) 100%);
    border-color: rgba(237, 28, 36, 0.35);
    color: var(--primary-light);
    box-shadow: 
        0 2px 8px rgba(237, 28, 36, 0.3),
        0 4px 16px rgba(0, 0, 0, 0.2),
        0 0 20px rgba(237, 28, 36, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .aktion-badge-small:hover {
    box-shadow: 
        0 4px 12px rgba(237, 28, 36, 0.4),
        0 8px 24px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(237, 28, 36, 0.25);
}

/* Standard Aktion Badge */
.aktion-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    font-size: 0.9rem;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 
        0 4px 12px rgba(237, 28, 36, 0.35),
        0 8px 24px rgba(237, 28, 36, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    animation: badgeFloat 3s ease-in-out infinite;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.aktion-badge:hover {
    transform: translateY(-3px) scale(1.08);
    box-shadow: 
        0 6px 20px rgba(237, 28, 36, 0.45),
        0 12px 36px rgba(237, 28, 36, 0.3),
        0 0 50px rgba(237, 28, 36, 0.2);
}

.aktion-badge i {
    font-size: 1em;
    animation: sparkle 1.5s ease-in-out infinite;
}

[data-theme="dark"] .aktion-badge {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    box-shadow: 
        0 4px 12px rgba(237, 28, 36, 0.5),
        0 8px 24px rgba(0, 0, 0, 0.35),
        0 0 30px rgba(237, 28, 36, 0.25),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .aktion-badge:hover {
    box-shadow: 
        0 6px 20px rgba(237, 28, 36, 0.6),
        0 12px 36px rgba(0, 0, 0, 0.4),
        0 0 60px rgba(237, 28, 36, 0.35);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from { 
        opacity: 0; 
        transform: scale(0.9) translateY(-5px); 
    }
    to { 
        opacity: 1; 
        transform: scale(1) translateY(0); 
    }
}

@keyframes badgePulse {
    0%, 100% { 
        box-shadow: 
            0 2px 8px rgba(237, 28, 36, 0.15),
            inset 0 1px 0 rgba(255, 255, 255, 0.5);
    }
    50% { 
        box-shadow: 
            0 2px 8px rgba(237, 28, 36, 0.25),
            0 0 20px rgba(237, 28, 36, 0.1),
            inset 0 1px 0 rgba(255, 255, 255, 0.5);
    }
}

@keyframes badgeFloat {
    0%, 100% { 
        transform: translateY(0); 
    }
    50% { 
        transform: translateY(-3px); 
    }
}

@keyframes sparkle {
    0%, 100% { 
        opacity: 1; 
        transform: scale(1); 
    }
    50% { 
        opacity: 0.7; 
        transform: scale(1.15); 
    }
}

/* ===== STATUS BADGES ===== */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.status-badge--success {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(16, 185, 129, 0.08) 100%);
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.3);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.15);
}

.status-badge--warning {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.15) 0%, rgba(245, 158, 11, 0.08) 100%);
    color: #d97706;
    border: 1px solid rgba(245, 158, 11, 0.3);
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.15);
}

.status-badge--error {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(239, 68, 68, 0.08) 100%);
    color: #dc2626;
    border: 1px solid rgba(239, 68, 68, 0.3);
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.15);
}

.status-badge--info {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(59, 130, 246, 0.08) 100%);
    color: #2563eb;
    border: 1px solid rgba(59, 130, 246, 0.3);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.15);
}

[data-theme="dark"] .status-badge--success {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.25) 0%, rgba(16, 185, 129, 0.15) 100%);
    color: #34d399;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.25), 0 0 20px rgba(16, 185, 129, 0.1);
}

[data-theme="dark"] .status-badge--warning {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.25) 0%, rgba(245, 158, 11, 0.15) 100%);
    color: #fbbf24;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.25), 0 0 20px rgba(245, 158, 11, 0.1);
}

[data-theme="dark"] .status-badge--error {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.25) 0%, rgba(239, 68, 68, 0.15) 100%);
    color: #f87171;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.25), 0 0 20px rgba(239, 68, 68, 0.1);
}

[data-theme="dark"] .status-badge--info {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.25) 0%, rgba(59, 130, 246, 0.15) 100%);
    color: #60a5fa;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.25), 0 0 20px rgba(59, 130, 246, 0.1);
}
