/* =====================================================
TOWNWORK FOOTER
Datei: footer.css
===================================================== */

:root {
    --tw-footer-blue-top: #082d62;
    --tw-footer-blue-bottom: #05244f;
    --tw-footer-white: #ffffff;
    --tw-footer-muted: rgba(255, 255, 255, 0.88);
    --tw-footer-orange: #ff7417;
}

.tw-footer {
    width: 100%;
    padding: 46px 0 26px;
    color: var(--tw-footer-white);
    background:
        radial-gradient(circle at 50% 115%, rgba(62, 126, 190, 0.28) 0%, rgba(62, 126, 190, 0) 38%),
        linear-gradient(180deg, var(--tw-footer-blue-top) 0%, var(--tw-footer-blue-bottom) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.24);
    font-family: Arial, Helvetica, sans-serif;
}

.tw-footer-inner {
    width: min(1680px, calc(100% - 160px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.55fr 1fr 0.85fr 0.85fr;
    gap: 82px;
    align-items: start;
}

.tw-footer-brand {
    min-width: 0;
}

.tw-footer-logo {
    display: inline-block;
    text-decoration: none;
}

.tw-footer-logo-img {
    width: 240px;
    height: auto;
    display: block;
}

.tw-footer-claim {
    margin: 26px 0 20px;
    font-size: 18px;
    line-height: 1.35;
    font-weight: 800;
    color: var(--tw-footer-white);
    text-shadow: 1px 2px 0 rgba(0, 0, 0, 0.32);
}

.tw-footer-text {
    margin: 0;
    font-size: 18px;
    line-height: 1.65;
    font-weight: 700;
    color: var(--tw-footer-muted);
    text-shadow: 1px 2px 0 rgba(0, 0, 0, 0.32);
}

.tw-footer-col h3 {
    margin: 0 0 18px;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 900;
    color: var(--tw-footer-white);
    text-shadow: 1px 2px 0 rgba(0, 0, 0, 0.35);
}

.tw-footer-col a {
    width: fit-content;
    display: block;
    margin: 0 0 10px;
    color: var(--tw-footer-muted);
    text-decoration: none;
    font-size: 18px;
    line-height: 1.25;
    font-weight: 700;
    text-shadow: 1px 2px 0 rgba(0, 0, 0, 0.32);
    transition: color 0.16s ease, transform 0.16s ease;
}

.tw-footer-col a:hover {
    color: #ffe6d3;
    transform: translateX(2px);
}

.tw-footer-col .tw-footer-highlight {
    color: var(--tw-footer-orange);
}

.tw-footer-copy {
    width: min(1680px, calc(100% - 160px));
    margin: 34px auto 0;
    text-align: center;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.72);
    text-shadow: 1px 2px 0 rgba(0, 0, 0, 0.3);
}

@media (max-width: 1100px) {
    .tw-footer-inner {
        width: min(100% - 64px, 960px);
        grid-template-columns: 1.3fr 1fr 1fr;
        gap: 44px;
    }

    .tw-footer-brand {
        grid-column: 1 / -1;
    }

    .tw-footer-copy {
        width: min(100% - 64px, 960px);
    }
}

@media (max-width: 720px) {
    .tw-footer {
        padding: 36px 0 22px;
    }

    .tw-footer-inner {
        width: min(100% - 36px, 520px);
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .tw-footer-logo-img {
        width: 210px;
    }

    .tw-footer-claim,
    .tw-footer-text,
    .tw-footer-col a {
        font-size: 16px;
    }

    .tw-footer-copy {
        width: min(100% - 36px, 520px);
        margin-top: 30px;
        font-size: 14px;
    }
}

/* =====================================================
TOWNWORK COOKIE CONSENT
===================================================== */

.tw-cookie-backdrop {
    position: fixed;
    inset: 0;
    z-index: 9997;
    background: rgba(4, 19, 46, 0.36);
    backdrop-filter: blur(4px);
}

.tw-cookie-consent {
    position: fixed;
    left: 50%;
    bottom: 24px;
    z-index: 9998;
    width: min(920px, calc(100% - 32px));
    transform: translateX(-50%);
    font-family: Arial, Helvetica, sans-serif;
}

.tw-cookie-box {
    position: relative;
    padding: 22px;
    border: 1px solid rgba(255, 255, 255, 0.38);
    border-radius: 18px;
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr) auto;
    gap: 18px;
    align-items: start;
    color: #ffffff;
    background:
        radial-gradient(circle at 92% 0%, rgba(255, 116, 23, 0.28), transparent 32%),
        linear-gradient(180deg, #0b397a 0%, #061f5f 100%);
    box-shadow: 0 24px 70px rgba(4, 19, 46, 0.36);
}

.tw-cookie-close {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-size: 24px;
    line-height: 1;
    font-weight: 800;
    cursor: pointer;
}

.tw-cookie-close:hover { background: rgba(255, 255, 255, 0.2); }

.tw-cookie-icon {
    width: 54px;
    height: 54px;
    border-radius: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background: linear-gradient(180deg, #ff8a36 0%, #ff5f00 100%);
    box-shadow: 0 12px 26px rgba(255, 116, 23, 0.32);
    font-size: 26px;
    font-weight: 900;
}

.tw-cookie-content { min-width: 0; }

.tw-cookie-eyebrow {
    margin: 0 0 6px;
    color: #ffb37c;
    font-size: 12px;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.tw-cookie-content h2 {
    margin: 0 0 8px;
    color: #ffffff;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 900;
    text-shadow: 1px 2px 0 rgba(0, 0, 0, 0.26);
}

.tw-cookie-text {
    max-width: 650px;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    line-height: 1.55;
    font-weight: 700;
}

.tw-cookie-links {
    margin-top: 12px;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.tw-cookie-links a {
    color: #ffb37c;
    text-decoration: none;
    font-size: 13px;
    font-weight: 900;
}

.tw-cookie-links a:hover { text-decoration: underline; }

.tw-cookie-actions {
    min-width: 245px;
    padding-right: 28px;
    display: grid;
    gap: 10px;
}

.tw-cookie-btn {
    min-height: 40px;
    padding: 0 14px;
    border-radius: 9px;
    font: inherit;
    font-size: 13px;
    font-weight: 900;
    cursor: pointer;
    white-space: nowrap;
}

.tw-cookie-btn-primary {
    border: 0;
    color: #ffffff;
    background: linear-gradient(180deg, #ff7d23 0%, #fb5b00 100%);
    box-shadow: 0 10px 22px rgba(251, 91, 0, 0.26);
}

.tw-cookie-btn-secondary {
    border: 1px solid rgba(255, 255, 255, 0.34);
    color: #ffffff;
    background: rgba(255, 255, 255, 0.10);
}

.tw-cookie-btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.34);
    color: #ffffff;
    background: transparent;
}

.tw-cookie-btn:hover { transform: translateY(-1px); }

.tw-cookie-settings {
    margin-top: 14px;
    display: grid;
    gap: 10px;
}

.tw-cookie-option {
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 11px;
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    gap: 10px;
    background: rgba(255, 255, 255, 0.08);
    cursor: pointer;
}

.tw-cookie-option.is-disabled {
    cursor: default;
    opacity: 0.88;
}

.tw-cookie-option input {
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    accent-color: #ff7417;
}

.tw-cookie-option strong {
    display: block;
    margin-bottom: 3px;
    color: #ffffff;
    font-size: 13px;
    line-height: 1.25;
    font-weight: 900;
}

.tw-cookie-option small {
    display: block;
    color: rgba(255, 255, 255, 0.78);
    font-size: 12px;
    line-height: 1.35;
    font-weight: 700;
}

.tw-cookie-open { scroll-padding-bottom: 160px; }

@media (max-width: 820px) {
    .tw-cookie-consent {
        bottom: 14px;
        width: min(100% - 24px, 560px);
    }

    .tw-cookie-box {
        grid-template-columns: 44px minmax(0, 1fr);
        gap: 14px;
        padding: 18px;
    }

    .tw-cookie-icon {
        width: 44px;
        height: 44px;
        border-radius: 12px;
        font-size: 22px;
    }

    .tw-cookie-actions {
        grid-column: 1 / -1;
        min-width: 0;
        padding-right: 0;
        grid-template-columns: 1fr;
    }

    .tw-cookie-content h2 { font-size: 20px; }
}

@media (max-width: 520px) {
    .tw-cookie-box { grid-template-columns: 1fr; }

    .tw-cookie-icon { display: none; }

    .tw-cookie-close {
        top: 8px;
        right: 8px;
    }

    .tw-cookie-content { padding-right: 24px; }
}

