/* ==========================================================
   COOKIE / CONSENT BANNER
========================================================== */

.cookie-consent {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 99999;

    background: #ffffff;
    border-top: 1px solid #d8d8d8;

    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.12);

    padding: 22px 24px;
}


/* ==========================================================
   INHALT
========================================================== */

.cookie-consent-content {
    width: min(1180px, 100%);
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
}


/* ==========================================================
   TEXT
========================================================== */

.cookie-consent-text {
    flex: 1;
}

.cookie-consent-text h2 {
    margin: 0 0 8px;

    font-size: 20px;
    line-height: 1.3;

    color: #173b2b;
}

.cookie-consent-text p {
    margin: 0 0 8px;

    font-size: 14px;
    line-height: 1.6;

    color: #444444;
}

.cookie-consent-text a {
    color: #173b2b;

    font-size: 14px;
    font-weight: 600;

    text-decoration: underline;
}

.cookie-consent-text a:hover {
    color: #c89b3c;
}


/* ==========================================================
   BUTTONS
========================================================== */

.cookie-consent-actions {
    display: flex;
    align-items: center;
    gap: 10px;

    flex-shrink: 0;
}


/* ==========================================================
   BUTTON BASIS
========================================================== */

.cookie-btn {
    border: none;
    border-radius: 4px;

    padding: 12px 20px;

    font-family: inherit;
    font-size: 14px;
    font-weight: 600;

    cursor: pointer;

    transition:
        background-color 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}


/* ==========================================================
   NUR NOTWENDIGE
========================================================== */

.cookie-btn-secondary {
    background: #ffffff;

    color: #173b2b;

    border: 1px solid #173b2b;
}

.cookie-btn-secondary:hover {
    background: #173b2b;
    color: #ffffff;
}


/* ==========================================================
   ALLE AKZEPTIEREN
========================================================== */

.cookie-btn-primary {
    background: #c89b3c;

    color: #ffffff;

    border: 1px solid #c89b3c;
}

.cookie-btn-primary:hover {
    background: #173b2b;
    border-color: #173b2b;
}


/* ==========================================================
   MOBILE
========================================================== */

@media (max-width: 800px) {

    .cookie-consent {
        padding: 18px 16px;
    }

    .cookie-consent-content {
        flex-direction: column;
        align-items: stretch;

        gap: 18px;
    }

    .cookie-consent-actions {
        width: 100%;
    }

    .cookie-btn {
        flex: 1;
    }
}


/* ==========================================================
   KLEINE HANDYS
========================================================== */

@media (max-width: 480px) {

    .cookie-consent-text h2 {
        font-size: 18px;
    }

    .cookie-consent-text p,
    .cookie-consent-text a {
        font-size: 13px;
    }

    .cookie-consent-actions {
        flex-direction: column;
    }

    .cookie-btn {
        width: 100%;
    }
}