/* =============================================
   Stile für das DSGVO Cookie-Consent-System
   ============================================= */

#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    z-index: 999999;
    padding: 0;
    font-family: 'Open Sans', sans-serif;
    transform: translateY(100%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.3);
}

#cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
    position: relative;
}

.cookie-banner-text h3 {
    margin: 0 0 15px 0;
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(45deg, #fff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cookie-banner-text h3::before {
    content: '🍪';
    font-size: 28px;
    -webkit-text-fill-color: white;
}

.cookie-banner-text p {
    margin: 0 0 25px 0;
    line-height: 1.6;
    font-size: 16px;
    opacity: 0.95;
    font-weight: 400;
}

.cookie-options {
    margin: 25px 0;
    display: grid;
    gap: 15px;
}

.cookie-option {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    padding: 20px;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.cookie-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.cookie-option:hover::before {
    transform: translateX(100%);
}

.cookie-option:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.cookie-option input[type="checkbox"] {
    margin-right: 15px;
    margin-top: 3px;
    transform: scale(1.2);
    accent-color: #4CAF50;
}

.option-text {
    flex: 1;
}

.option-text strong {
    display: block;
    font-size: 18px;
    margin-bottom: 8px;
    font-weight: 600;
}

.option-text small {
    display: block;
    font-size: 14px;
    opacity: 0.9;
    line-height: 1.5;
    font-weight: 400;
}

.cookie-banner-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin: 30px 0;
    justify-content: flex-start;
}

.cookie-banner-buttons .btn {
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    min-width: 160px;
    justify-content: center;
}

.cookie-banner-buttons .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.cookie-banner-buttons .btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(45deg, #4CAF50, #45a049);
    color: white;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4);
}

.btn-primary:hover {
    background: linear-gradient(45deg, #45a049, #4CAF50);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.cookie-banner-links {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    justify-content: center;
}

.cookie-banner-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.cookie-banner-links a:hover {
    color: white;
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cookie-modal {
    display: none;
    position: fixed;
    z-index: 9999999;
    left: 0; top: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(10px);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    padding: 20px;
}
.cookie-modal.show {
    display: flex;
    opacity: 1;
}
.cookie-modal-content {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 20px;
    padding: 0;
    max-width: 600px;
    width: 90vw;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
    position: relative;
    animation: fadeInModal 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
}
@keyframes fadeInModal {
    from { 
        transform: translateY(40px) scale(0.95); 
        opacity: 0; 
    }
    to { 
        transform: translateY(0) scale(1); 
        opacity: 1; 
    }
}
.cookie-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 30px 20px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
}

.cookie-modal-header h3 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(45deg, #fff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cookie-modal-header h3::before {
    content: '🍪';
    font-size: 28px;
    -webkit-text-fill-color: white;
}

.cookie-modal-close {
    position: static;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.cookie-modal-close:hover {
    color: white;
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.cookie-modal-close svg {
    width: 20px;
    height: 20px;
}

.cookie-modal-body {
    padding: 30px;
}

.cookie-modal-description {
    margin: 0 0 25px 0;
    line-height: 1.6;
    font-size: 16px;
    opacity: 0.95;
    color: #ecf0f1;
    text-align: center;
}

.cookie-modal-options {
    margin: 0;
    display: grid;
    gap: 15px;
}

.cookie-modal-options .cookie-option {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    padding: 20px;
    border-radius: 12px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.cookie-modal-options .cookie-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.cookie-modal-options .cookie-option:hover::before {
    transform: translateX(100%);
}

.cookie-modal-options .cookie-option:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.cookie-modal-options .cookie-option input[type="checkbox"] {
    margin-right: 15px;
    transform: scale(1.3);
    accent-color: #4CAF50;
}

.cookie-modal-options .cookie-option .option-text {
    flex: 1;
}

.cookie-modal-options .cookie-option .option-text strong {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #ecf0f1;
    margin-bottom: 5px;
}

.cookie-modal-options .cookie-option .option-text small {
    display: block;
    font-size: 14px;
    color: #bdc3c7;
    line-height: 1.4;
}

.cookie-modal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px 30px 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-modal-links {
    display: flex;
    gap: 20px;
    flex-shrink: 1;
    min-width: 0;
    margin-right: 20px;
}

.cookie-modal-links a {
    color: #bdc3c7;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.cookie-modal-links a:hover {
    color: #3498db;
}

.cookie-modal-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
    margin-left: auto;
}
.cookie-modal-buttons .btn {
    padding: 12px 20px;
    border: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 140px;
    white-space: nowrap;
    text-align: center;
}
.cookie-modal-buttons .btn-primary {
    background: linear-gradient(45deg, #4CAF50, #45a049);
    color: white;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4);
}
.cookie-modal-buttons .btn-primary:hover {
    background: linear-gradient(45deg, #45a049, #4CAF50);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.6);
}
.cookie-modal-buttons .btn-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
}
.cookie-modal-buttons .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    #cookie-banner {
        padding: 0;
    }
    
    .cookie-banner-content {
        padding: 25px 15px;
    }
    
    .cookie-banner-text h3 {
        font-size: 20px;
    }
    
    .cookie-banner-text p {
        font-size: 14px;
    }
    
    .cookie-options {
        gap: 12px;
    }
    
    .cookie-option {
        padding: 15px;
    }
    
    .cookie-banner-buttons {
        flex-direction: column;
        gap: 12px;
    }
    
    .cookie-banner-buttons .btn {
        width: 100%;
        min-width: auto;
        padding: 14px 20px;
        font-size: 15px;
    }
    
    .cookie-banner-links {
        gap: 15px;
        justify-content: center;
    }
    
    .cookie-banner-links a {
        font-size: 13px;
        padding: 6px 12px;
    }

    .cookie-modal {
        padding: 15px;
    }
    .cookie-modal-content {
        max-width: 95vw;
    }
    .cookie-modal-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        padding: 20px 20px 15px 20px;
    }
    .cookie-modal-header h3 {
        font-size: 20px;
    }
    .cookie-modal-body {
        padding: 20px;
    }
    .cookie-modal-description {
        font-size: 14px;
    }
    .cookie-modal-options .cookie-option {
        padding: 15px;
    }
    .cookie-modal-options .cookie-option .option-text strong {
        font-size: 14px;
    }
    .cookie-modal-options .cookie-option .option-text small {
        font-size: 13px;
    }
    .cookie-modal-footer {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        padding: 15px 20px 20px 20px;
    }
    .cookie-modal-links {
        justify-content: center;
        margin-right: 0;
    }
    .cookie-modal-buttons {
        margin-left: 0;
    }
    .cookie-modal-buttons {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }
    .cookie-modal-buttons .btn {
        width: 100%;
        min-width: auto;
        font-size: 13px;
        padding: 10px 15px;
    }
}

@media (max-width: 480px) {
    .cookie-modal {
        padding: 10px;
    }
    .cookie-modal-header {
        padding: 15px 15px 10px 15px;
    }
    .cookie-modal-header h3 {
        font-size: 18px;
    }
    .cookie-modal-body {
        padding: 15px;
    }
    .cookie-modal-description {
        font-size: 13px;
    }
    .cookie-modal-options .cookie-option {
        padding: 12px;
    }
    .cookie-modal-options .cookie-option .option-text strong {
        font-size: 13px;
    }
    .cookie-modal-options .cookie-option .option-text small {
        font-size: 12px;
    }
    .cookie-modal-footer {
        padding: 10px 15px 15px 15px;
        gap: 15px;
    }
    .cookie-modal-links {
        margin-right: 0;
    }
    .cookie-modal-buttons {
        margin-left: 0;
    }
    .cookie-modal-buttons .btn {
        font-size: 12px;
        padding: 8px 12px;
    }
} 