/**
 * Footer voor Wieke Logistics.
 */


/* =========================================================
   1. FOOTERBASIS
   ========================================================= */

.site-footer {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: var(--wieke-purple-darker);
    color: var(--wieke-white);
}

.site-footer::before {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 5;
    width: clamp(9rem, 28vw, 24rem);
    height: 0.4rem;
    border-radius: 0 0 var(--wieke-radius-pill) 0;
    background: var(--wieke-orange);
    content: "";
}

.site-footer::after {
    position: absolute;
    top: -8rem;
    right: -7rem;
    z-index: -1;
    width: 24rem;
    height: 24rem;
    border: 3.5rem solid rgba(255, 255, 255, 0.025);
    border-radius: 50%;
    content: "";
}


/* =========================================================
   2. ROUTEDECORATIE
   ========================================================= */

.site-footer__route {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.site-footer__route-line {
    position: absolute;
    top: 24%;
    right: 4%;
    width: 42%;
    height: 42%;
    border-right: 2px dashed rgba(255, 255, 255, 0.07);
    border-bottom: 2px dashed rgba(255, 255, 255, 0.07);
    border-radius: 0 0 7rem 0;
}

.site-footer__route-point {
    position: absolute;
    width: 0.8rem;
    height: 0.8rem;
    border: 0.18rem solid var(--wieke-purple-dark);
    border-radius: 50%;
    background: var(--wieke-orange);
    box-shadow:
        0 0 0 0.2rem rgba(235, 103, 9, 0.14);
}

.site-footer__route-point--one {
    top: 23%;
    right: 4%;
}

.site-footer__route-point--two {
    top: 65%;
    right: 43%;
}


/* =========================================================
   3. BOVENSTE FOOTER
   ========================================================= */

.site-footer__top {
    position: relative;
    z-index: 2;
    padding-block:
        clamp(4rem, 7vw, 6rem)
        clamp(3rem, 6vw, 5rem);
    background:
        radial-gradient(
            circle at 9% 18%,
            rgba(235, 103, 9, 0.1),
            transparent 22rem
        ),
        linear-gradient(
            125deg,
            var(--wieke-purple-darker) 0%,
            var(--wieke-purple-dark) 56%,
            var(--wieke-purple) 100%
        );
}

.site-footer__grid {
    display: grid;
    grid-template-columns:
        minmax(19rem, 1.2fr)
        minmax(10rem, 0.58fr)
        minmax(16rem, 0.9fr)
        minmax(14rem, 0.75fr);
    align-items: start;
    gap: clamp(2rem, 4vw, 3.5rem);
}


/* =========================================================
   4. MERKKAART
   ========================================================= */

.site-footer__brand-card {
    position: relative;
    overflow: hidden;
    padding: clamp(1.5rem, 3vw, 2rem);
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius:
        1.8rem 1.8rem 0.4rem 1.8rem;
    background:
        linear-gradient(
            155deg,
            var(--wieke-white) 0%,
            #f5f4f8 100%
        );
    color: var(--wieke-text);
    box-shadow:
        0 1.5rem 3.5rem rgba(20, 18, 30, 0.25);
}

.site-footer__brand-card::before {
    position: absolute;
    top: 0;
    right: 0;
    width: 32%;
    height: 0.35rem;
    border-radius: 0 0 0 var(--wieke-radius-pill);
    background: var(--wieke-orange);
    content: "";
}

.site-footer__brand-card::after {
    position: absolute;
    right: -3rem;
    bottom: -3rem;
    width: 8rem;
    height: 8rem;
    border: 1.2rem solid rgba(89, 86, 115, 0.045);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.site-footer__brand {
    position: relative;
    z-index: 2;
    display: inline-flex;
    max-width: 100%;
    align-items: center;
    margin-bottom: 1.35rem;
    text-decoration: none;
}

.site-footer__brand .custom-logo-link {
    display: inline-flex;
    max-width: 100%;
    align-items: center;
}

.site-footer__brand .custom-logo {
    display: block;
    width: auto;
    max-width: min(100%, 21rem);
    max-height: 5.2rem;
    object-fit: contain;
    object-position: left center;
    transition:
        opacity var(--wieke-transition),
        transform var(--wieke-transition);
}

.site-footer__brand:hover .custom-logo {
    opacity: 0.92;
    transform: translateY(-0.1rem);
}

.site-footer__brand-fallback {
    display: flex;
    flex-direction: column;
}

.site-footer__brand-fallback strong {
    color: var(--wieke-purple-dark);
    font-family: var(--wieke-font-heading);
    font-size: 1.45rem;
    font-weight: 900;
}

.site-footer__brand-fallback small {
    margin-top: 0.3rem;
    color: var(--wieke-orange-dark);
    font-weight: 750;
}

.site-footer__intro {
    position: relative;
    z-index: 2;
    margin-bottom: 1.4rem;
    color: var(--wieke-text);
    font-size: 0.92rem;
    line-height: 1.7;
}

.site-footer__brand-actions {
    position: relative;
    z-index: 2;
}

.site-footer__brand-actions .wieke-button {
    min-height: 3.15rem;
    padding-inline: 1.2rem;
    font-size: 0.9rem;
}


/* =========================================================
   5. KOLOMTITELS
   ========================================================= */

.site-footer__column {
    position: relative;
    min-width: 0;
}

.site-footer__column:not(.site-footer__column--brand) {
    padding-top: 0.6rem;
}

.site-footer__title {
    position: relative;
    margin-bottom: 1.4rem;
    padding-bottom: 0.85rem;
    color: var(--wieke-white);
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.site-footer__title::after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 2.75rem;
    height: 0.2rem;
    border-radius: var(--wieke-radius-pill);
    background: var(--wieke-orange);
    content: "";
}


/* =========================================================
   6. NAVIGATIE
   ========================================================= */

.site-footer__links {
    display: grid;
    gap: 0.2rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer__links li {
    margin: 0;
}

.site-footer__links a {
    position: relative;
    display: flex;
    min-height: 2.55rem;
    align-items: center;
    gap: 0.65rem;
    padding: 0.45rem 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-weight: 650;
    text-decoration: none;
    transition:
        color var(--wieke-transition),
        transform var(--wieke-transition);
}

.site-footer__links a::before {
    width: 0.48rem;
    height: 0.48rem;
    flex: 0 0 0.48rem;
    border-radius: 50%;
    background: var(--wieke-orange);
    content: "";
    opacity: 0.7;
    transition:
        opacity var(--wieke-transition),
        transform var(--wieke-transition);
}

.site-footer__links a:hover {
    color: var(--wieke-white);
    transform: translateX(0.25rem);
}

.site-footer__links a:hover::before {
    opacity: 1;
    transform: scale(1.25);
}


/* =========================================================
   7. CONTACTGEGEVENS
   ========================================================= */

.site-footer__contact {
    display: grid;
    gap: 0.75rem;
}

.site-footer__contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    min-width: 0;
    padding: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: var(--wieke-radius-medium);
    background: rgba(255, 255, 255, 0.055);
    color: var(--wieke-white);
    text-decoration: none;
    transition:
        border-color var(--wieke-transition),
        background-color var(--wieke-transition),
        transform var(--wieke-transition);
}

a.site-footer__contact-item:hover {
    border-color: rgba(235, 103, 9, 0.5);
    background: rgba(255, 255, 255, 0.09);
    transform: translateX(0.2rem);
}

.site-footer__contact-icon {
    display: inline-flex;
    width: 2.7rem;
    height: 2.7rem;
    flex: 0 0 2.7rem;
    align-items: center;
    justify-content: center;
    border-radius: 0.8rem;
    background: rgba(235, 103, 9, 0.16);
    color: var(--wieke-orange-light);
}

.site-footer__contact-content {
    display: flex;
    min-width: 0;
    flex-direction: column;
    line-height: 1.4;
}

.site-footer__contact-content small {
    margin-bottom: 0.2rem;
    color: rgba(255, 255, 255, 0.48);
    font-size: 0.7rem;
    font-weight: 750;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.site-footer__contact-content strong {
    overflow-wrap: anywhere;
    color: var(--wieke-white);
    font-size: 0.82rem;
    font-weight: 700;
}


/* =========================================================
   8. BEDRIJFSGEGEVENS
   ========================================================= */

.site-footer__details {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-footer__details li {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin: 0;
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.site-footer__details li:first-child {
    padding-top: 0;
}

.site-footer__details li:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.site-footer__details span {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.site-footer__details strong {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.5;
}


/* =========================================================
   9. ONDERSTE FOOTERBALK
   ========================================================= */

.site-footer__bottom {
    position: relative;
    z-index: 3;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(22, 21, 30, 0.64);
}

.site-footer__bottom-inner {
    display: flex;
    min-height: 5rem;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding-block: 1rem;
}

.site-footer__copyright {
    max-width: 43rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.47);
    font-size: 0.76rem;
    line-height: 1.55;
}

.site-footer__legal {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.55rem 1.4rem;
}

.site-footer__legal a {
    position: relative;
    color: rgba(255, 255, 255, 0.57);
    font-size: 0.76rem;
    font-weight: 650;
    text-decoration: none;
    transition: color var(--wieke-transition);
}

.site-footer__legal a:not(:last-child)::after {
    position: absolute;
    top: 50%;
    right: -0.78rem;
    width: 0.22rem;
    height: 0.22rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.24);
    content: "";
    transform: translateY(-50%);
}

.site-footer__legal a:hover {
    color: var(--wieke-orange-light);
}


/* =========================================================
   10. TOEGANKELIJKHEID
   ========================================================= */

.site-footer a:focus-visible {
    outline-color: var(--wieke-orange-light);
}


/* =========================================================
   11. RESPONSIVE FOOTER
   ========================================================= */

@media (max-width: 1180px) {

    .site-footer__grid {
        grid-template-columns:
            minmax(18rem, 1.1fr)
            minmax(10rem, 0.55fr)
            minmax(15rem, 0.85fr);
    }

    .site-footer__column:last-child {
        grid-column: 2 / 4;
    }

    .site-footer__details {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 1rem;
    }

    .site-footer__details li {
        padding: 0;
        border-bottom: 0;
    }
}

@media (max-width: 860px) {

    .site-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .site-footer__column:last-child {
        grid-column: auto;
    }

    .site-footer__column--brand {
        grid-column: 1 / -1;
    }

    .site-footer__brand-card {
        display: grid;
        grid-template-columns:
            minmax(13rem, 0.7fr)
            minmax(0, 1fr);
        align-items: center;
        gap: 1.5rem 2rem;
    }

    .site-footer__brand {
        grid-row: 1 / 3;
        margin-bottom: 0;
    }

    .site-footer__intro {
        margin-bottom: 0;
    }

    .site-footer__details {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .site-footer__details li {
        padding: 0.8rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.09);
    }
}

@media (max-width: 680px) {

    .site-footer__top {
        padding-block: 3.5rem 3rem;
    }

    .site-footer__grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .site-footer__column--brand {
        grid-column: auto;
    }

    .site-footer__column:not(.site-footer__column--brand) {
        padding-top: 0;
    }

    .site-footer__brand-card {
        display: block;
        padding: 1.4rem;
    }

    .site-footer__brand {
        display: flex;
        margin-bottom: 1.2rem;
    }

    .site-footer__brand .custom-logo {
        max-width: 100%;
        max-height: 4.5rem;
    }

    .site-footer__intro {
        margin-bottom: 1.3rem;
    }

    .site-footer__brand-actions .wieke-button {
        width: 100%;
    }

    .site-footer__bottom-inner {
        min-height: 0;
        align-items: flex-start;
        flex-direction: column;
        padding-block: 1.4rem;
    }

    .site-footer__legal {
        align-items: flex-start;
        flex-direction: column;
        justify-content: flex-start;
        gap: 0.55rem;
    }

    .site-footer__legal a::after {
        display: none;
    }
}
.site-footer {
    margin-top: 56px;
}

.site-footer__main {
    padding-top: 56px;
}

.site-footer__bottom {
    padding: 18px 0;
}

.site-footer__bottom-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
}

.site-footer__bottom-inner p {
    margin: 0;
    line-height: 1.4;
}

.site-footer__bottom-inner > p:first-child {
    justify-self: start;
}

.site-footer__bottom-inner > p:nth-child(2) {
    justify-self: center;
}

.site-footer__bottom-inner > p:last-child {
    justify-self: end;
}

.site-footer__credits {
    white-space: nowrap;
}

.site-footer__credits a {
    color: inherit;
    text-decoration: none;
    font-weight: 600;
}

.site-footer__credits a:hover {
    text-decoration: underline;
}

@media (max-width: 900px) {
    .site-footer {
        margin-top: 40px;
    }

    .site-footer__main {
        padding-top: 44px;
    }

    .site-footer__bottom-inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 10px;
    }

    .site-footer__bottom-inner > p:first-child,
    .site-footer__bottom-inner > p:nth-child(2),
    .site-footer__bottom-inner > p:last-child {
        justify-self: center;
    }
}