/* =========================================
   DSGVO COOKIE BANNER
   ========================================= */

.cookie-banner-wrap {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.1);
    padding: 25px 0;
    z-index: 999999; /* Muss über allem liegen */
    
    /* Standardmäßig ausgeblendet, wird per JS aktiviert */
    display: none; 
    
    /* Kleine Animation beim Erscheinen */
    animation: slideUp 0.5s ease-out forwards;
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.cookie-text h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
    color: #333;
}

.cookie-text p {
    font-size: 14px;
    color: #666;
    margin-bottom: 0;
    line-height: 1.5;
}

.cookie-text a {
    color: #00b2dc; /* ServBotics Blau */
    text-decoration: underline;
}

.cookie-text a:hover {
    color: #eb5f1e; /* ServBotics Orange */
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0; /* Verhindert das Schrumpfen der Buttons */
}

/* Spezielle Buttons für den Banner */
.btn-cookie {
    background-color: #00b2dc;
    color: #fff;
    border: 0px solid #00b2dc;
    padding: 0px 10px;
    border-radius: 5px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.btn-cookie:hover {
    background-color: #009ec4;
    border-color: #009ec4;
}

.btn-outline-cookie {
    background-color: transparent;
    color: #333;
    border: 0px solid #ccc;
    padding: 0px 10px;
    border-radius: 5px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.btn-outline-cookie:hover {
    border-color: #333;
    background-color: #f9f9f9;
}

/* --- Mobile Anpassung --- */
@media (max-width: 991px) {
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .cookie-buttons {
        width: 100%;
        display: flex;
        flex-direction: column;
    }
    
    .btn-cookie, .btn-outline-cookie {
        width: 100%;
        text-align: center;
    }

}

/* --- Anpassung: Flachere Cookie-Buttons --- */
.btn-cookie, 
.btn-outline-cookie {
    /* Der erste Wert (5px) ist oben/unten, der zweite (15px) links/rechts */
    padding: 0px 15px !important; 
    
    /* Sicherheitshalber Zeilenhöhe normalisieren, damit sie nicht künstlich hoch wirken */
    line-height: 1.2 !important;
    min-height: 0 !important; 
}