/* ========================================
   COOKIE-BANNER - DSGVO-KONFORM
   ========================================

   Banner am unteren Bildschirmrand.
   Wird per JavaScript angezeigt wenn noch
   keine Cookie-Zustimmung vorliegt.

   ANPASSEN:
   - Suche nach "HIER ÄNDERN" für anpassbare Stellen
======================================== */

.ffw-cookie-banner {
    /* Fixiert am unteren Rand */
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;

    /* HIER ÄNDERN: Hintergrundfarbe des Banners */
    background-color: #2B2B2B;
    color: #fff;

    /* Über allen anderen Elementen */
    z-index: 10000;

    /* HIER ÄNDERN: Schatten über dem Banner */
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);

    /* Animation beim Ein-/Ausblenden */
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.ffw-cookie-inner {
    max-width: var(--container-max-width, 1200px);
    margin: 0 auto;
    padding: 1rem var(--container-padding, 2rem);

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* ----------------------------------------
   Text-Bereich
   ---------------------------------------- */

.ffw-cookie-text {
    flex: 1;
    min-width: 280px;
}

.ffw-cookie-text p {
    margin: 0;
    /* HIER ÄNDERN: Schriftgröße des Hinweistextes */
    font-size: 0.875rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
}

.ffw-cookie-text strong {
    color: #fff;
}

/* Link zur Datenschutzseite */
.ffw-cookie-text a {
    /* HIER ÄNDERN: Farbe des Datenschutz-Links */
    color: #FFD54F;
    text-decoration: underline;
}

.ffw-cookie-text a:hover {
    color: #FFF;
}

/* ----------------------------------------
   Buttons
   ---------------------------------------- */

.ffw-cookie-buttons {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
    flex-wrap: wrap;
}

/* Basis-Button-Stil */
.ffw-cookie-btn {
    padding: 0.625rem 1.25rem;
    border: none;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
    white-space: nowrap;
}

.ffw-cookie-btn:active {
    transform: scale(0.97);
}

/* "Alle akzeptieren" Button - auffällig */
.ffw-cookie-accept {
    /* HIER ÄNDERN: Farbe des Akzeptieren-Buttons */
    background-color: var(--red, #C1272D);
    color: #fff;
}

.ffw-cookie-accept:hover {
    background-color: #a01f25;
}

/* "Nur notwendige" Button - dezent */
.ffw-cookie-necessary {
    /* HIER ÄNDERN: Farbe des Notwendig-Buttons */
    background-color: transparent;
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.ffw-cookie-necessary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.7);
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 768px) {
    .ffw-cookie-inner {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
        gap: 1rem;
    }

    .ffw-cookie-text {
        min-width: auto;
    }

    .ffw-cookie-buttons {
        width: 100%;
        justify-content: center;
    }

    .ffw-cookie-btn {
        flex: 1;
        min-width: 140px;
    }
}
