/* Cookie Consent Banner - DSGVO & TTDSG konform */

/* Banner Container */
#cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 99999;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    transform: translateY(100%);
    transition: transform 0.4s ease-out;
}

#cookie-consent-banner.show {
    transform: translateY(0);
}

#cookie-consent-banner.hide {
    transform: translateY(100%);
}

.cookie-consent-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 32px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* Text Content */
.cookie-consent-content {
    flex: 1;
    min-width: 300px;
    max-width: 700px;
}

.cookie-consent-title {
    font-family: 'Source Serif 4', Georgia, serif;
    font-size: 18px;
    font-weight: 600;
    color: #1a3a4f;
    margin: 0 0 8px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cookie-consent-title svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.cookie-consent-text {
    font-size: 14px;
    line-height: 1.6;
    color: #4a5568;
    margin: 0;
}

.cookie-consent-text a {
    color: #1a3a4f;
    text-decoration: underline;
    font-weight: 500;
}

.cookie-consent-text a:hover {
    color: #2c5f79;
}

/* Buttons Container */
.cookie-consent-buttons {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

/* Base Button Styles - Gleichwertige Buttons */
.cookie-consent-btn {
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid transparent;
    font-family: inherit;
    white-space: nowrap;
}

/* Akzeptieren Button */
.cookie-consent-btn-accept {
    background: #1a3a4f;
    color: #ffffff;
    border-color: #1a3a4f;
}

.cookie-consent-btn-accept:hover {
    background: #2c5f79;
    border-color: #2c5f79;
}

.cookie-consent-btn-accept:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(26, 58, 79, 0.3);
}

/* Ablehnen Button - gleichwertig gestaltet */
.cookie-consent-btn-decline {
    background: #ffffff;
    color: #1a3a4f;
    border-color: #1a3a4f;
}

.cookie-consent-btn-decline:hover {
    background: #f7fafc;
    border-color: #2c5f79;
    color: #2c5f79;
}

.cookie-consent-btn-decline:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(26, 58, 79, 0.3);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .cookie-consent-inner {
        padding: 20px 16px;
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    .cookie-consent-content {
        min-width: 100%;
        text-align: center;
    }

    .cookie-consent-title {
        justify-content: center;
        font-size: 16px;
    }

    .cookie-consent-text {
        font-size: 13px;
    }

    .cookie-consent-buttons {
        flex-direction: column;
        width: 100%;
    }

    .cookie-consent-btn {
        width: 100%;
        padding: 14px 20px;
        font-size: 14px;
    }
}

/* Animation für sanftes Einblenden */
@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Print - Banner nicht drucken */
@media print {
    #cookie-consent-banner {
        display: none !important;
    }
}

