/* =====================================================
   FOOTER – FINAL (PC · iPad · Mobile)
   ===================================================== */

.site-footer {
    margin-top: 120px;
    padding: 48px 20px 40px;
    border-top: 1px solid rgba(0,0,0,.08);
    background: #f1f5f9;
}

body.dark .site-footer {
    background: #020617;
    border-top-color: rgba(255,255,255,.12);
}

/* INNER */
.footer-inner {
    max-width: 1200px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

/* LEFT */
.footer-left p {
    margin: 0;
    font-size: 14px;
    color: #475569;
}

body.dark .footer-left p {
    color: #94a3b8;
}

/* RIGHT */
.footer-right {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
}

.footer-right a {
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    color: #2563eb;
    position: relative;
}

/* Unterstrich beim Hover */
.footer-right a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 0;
    height: 2px;
    background: #2563eb;
    transition: width .2s ease;
}

.footer-right a:hover::after {
    width: 100%;
}

body.dark .footer-right a {
    color: #93c5fd;
}

body.dark .footer-right a::after {
    background: #93c5fd;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 700px) {
    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .footer-right {
        justify-content: center;
    }
}

/* =====================================================
   COOKIE BANNER – FINAL
   ===================================================== */

.cookie-banner {
    position: fixed;
    box-shadow: 0 20px 40px rgba(0,0,0,.35);
    border-radius: 16px;
    padding: 22px;
    max-width: 720px;
}

/* INNER */
.cookie-inner {
    max-width: 100%;
}

/* TEXT */
.cookie-text {
    margin: 0 0 16px;
    line-height: 1.6;
    font-size: 14.5px;
}

/* CATEGORIES */
.cookie-categories {
    margin: 0 0 18px;
    padding-left: 18px;
    font-size: 14px;
}

.cookie-categories li {
    margin-bottom: 6px;
}

/* BUTTONS */
.cookie-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.cookie-buttons button {
    border: none;
    border-radius: 10px;
    padding: 12px 22px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;

    background: #2563eb;
    color: #fff;

    transition: transform .12s ease, box-shadow .12s ease, opacity .12s ease;
}

.cookie-buttons button#cookie-reject {
    background: #64748b;
}

.cookie-buttons button:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(0,0,0,.25);
    opacity: .95;
}

/* =====================================================
   COOKIE POSITIONEN
   ===================================================== */

.cookie-banner.bottom {
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
}

.cookie-banner.top {
    left: 50%;
    top: 24px;
    transform: translateX(-50%);
}

.cookie-banner.center {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.cookie-banner.bottom-left {
    left: 24px;
    bottom: 24px;
}

.cookie-banner.bottom-right {
    right: 24px;
    bottom: 24px;
}

.cookie-banner.top-left {
    left: 24px;
    top: 24px;
}

.cookie-banner.top-right {
    right: 24px;
    top: 24px;
}

/* =====================================================
   COOKIE LAYOUTS
   ===================================================== */

.cookie-banner.bar {
    width: calc(100% - 48px);
    max-width: none;
    border-radius: 0;
}

.cookie-banner.box {
    max-width: 720px;
}

.cookie-banner.modal {
    max-width: 640px;
}

/* =====================================================
   COOKIE BLOCKER
   ===================================================== */

#cookie-blocker {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    z-index: 10000;
}

/* BODY LOCK */
body.cookie-locked {
    overflow: hidden;
    height: 100vh;
}

/* =====================================================
   MOBILE
   ===================================================== */

@media (max-width: 768px) {

    .cookie-banner {
        left: 12px !important;
        right: 12px !important;
        bottom: 12px !important;
        top: auto !important;
        transform: none !important;
        border-radius: 14px;
    }

    .cookie-buttons {
        flex-direction: column;
    }

    .cookie-buttons button {
        width: 100%;
    }
}
