/* =========================================================
   OWK FOOTER
   Globaler Footer auf allen Seiten
   ========================================================= */

.owk-global-footer {
    margin-top: 0;

    background: var(--owk-bg-surface-2);
    color: var(--owk-text);

    border-top: 1px solid rgba(0, 0, 0, 0.08);

    text-align: center;
}

.owk-global-footer__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 42px 24px 24px;
}

.owk-global-footer__grid {
    display: grid;
    grid-template-columns: 33% 33% 17% 17%;
    gap: 32px;
    align-content: start;
}

.owk-global-footer__col h3 {
    margin: 0 0 12px;

    color: var(--owk-text);

    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.2;

    text-align: center;
}

.owk-global-footer__col p {
    margin: 0;

    color: var(--owk-text-soft);

    font-size: 0.98rem;
    font-weight: 600;
    line-height: 1.65;

    text-align: center;
}

.owk-global-footer__col a {
    color: var(--owk-link);

    text-align: center;
    text-decoration: none;
}

.owk-global-footer__col a:hover {
    color: var(--owk-link-hover);
}

.owk-global-footer__menu {
    margin: 0;
    padding: 0;

    list-style: none;
}

.owk-global-footer__menu li {
    margin: 0 0 10px;
    padding: 0;

    line-height: 1.45;
}

.owk-global-footer__menu li:last-child {
    margin-bottom: 0;
}

.owk-global-footer__menu a {
    display: inline-block;

    color: var(--owk-link);

    font-size: 0.98rem;
    font-weight: 600;
    line-height: 1.45;

    text-decoration: none;
}

.owk-global-footer__menu a:hover {
    color: var(--owk-link-hover);
}

/* =========================================================
   OWK Footer – untere Zeile mit Login rechts
   ========================================================= */

.owk-global-footer__bottom {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 34px;
    margin-top: 28px;
    padding: 18px 92px 0;

    border-top: 1px solid rgba(0, 0, 0, 0.08);

    color: var(--owk-text-muted);

    font-size: 0.92rem;
    line-height: 34px;
    text-align: center;
}

.owk-global-footer__copyright {
    display: inline-block;

    line-height: 34px;
}

.owk-footer-login-link {
    position: absolute;
    top: calc(18px + 17px);
    right: 18px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 34px;
    padding: 0 12px;

    transform: translateY(-50%);

    border: 1px solid transparent;
    border-radius: 999px;

    color: inherit;
    opacity: 0.18;

    font-size: 0.82em;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;

    box-sizing: border-box;

    transition:
        opacity 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        background-color 0.2s ease;
}

.owk-footer-login-link:hover,
.owk-footer-login-link:focus {
    opacity: 0.95;

    border-color: rgba(40, 125, 70, 0.38);
    background: rgba(40, 125, 70, 0.06);

    color: inherit;
    text-decoration: none;

    outline: none;
}

/* =========================================================
   OWK Footer – Darkmode
   ========================================================= */

body.owk-darkmode .owk-global-footer {
    background: var(--owk-bg-surface);
    border-top-color: rgba(255, 255, 255, 0.08);
}

body.owk-darkmode .owk-global-footer__col h3 {
    color: var(--owk-text);
}

body.owk-darkmode .owk-global-footer__col p,
body.owk-darkmode .owk-global-footer__bottom {
    color: var(--owk-text-soft);
}

body.owk-darkmode .owk-global-footer__menu a {
    color: var(--owk-link);
}

body.owk-darkmode .owk-global-footer__menu a:hover {
    color: var(--owk-link-hover);
}

body.owk-darkmode .owk-global-footer__bottom {
    border-top-color: rgba(255, 255, 255, 0.08);
}

body.owk-darkmode .owk-footer-login-link:hover,
body.owk-darkmode .owk-footer-login-link:focus {
    border-color: rgba(255, 255, 255, 0.42);
    background: rgba(255, 255, 255, 0.08);
}

/* =========================================================
   OWK Footer – Responsive
   ========================================================= */

@media (max-width: 1024px) {
    .owk-global-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px;
    }
}

@media (max-width: 768px) {
    .owk-global-footer__inner {
        padding: 32px 18px 22px;
    }

    .owk-global-footer__grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .owk-global-footer__col h3 {
        font-size: 1.05rem;
    }

    .owk-global-footer__col p,
    .owk-global-footer__menu a {
        font-size: 0.95rem;
        line-height: 1.55;
    }

    .owk-global-footer__menu li {
        margin-bottom: 8px;
    }

    .owk-global-footer__bottom {
        min-height: auto;
        margin-top: 22px;
        padding: 14px 0 0;

        font-size: 0.88rem;
        line-height: 1.45;

        flex-direction: column;
        gap: 8px;
    }

    .owk-global-footer__copyright {
        line-height: 1.45;
    }

    .owk-footer-login-link {
        position: static;

        min-height: 28px;
        padding: 0 10px;

        transform: none;
    }
}