/*
 * Fibrolux global footer concept – local Q3 2026 preview.
 * This layer intentionally leaves the existing footer content elements,
 * menus and translations untouched.
 */

body footer.pagefooter.pagefooter--q3 {
    position: relative;
    overflow: hidden;
    padding: 0;
    background: #fff;
    color: #54616c;
    font-size: 16px;
    line-height: 1.5;
    border-top: 1px solid #e4e8eb;
}

body footer.pagefooter.pagefooter--q3::before {
    content: "";
    position: absolute;
    top: -180px;
    right: -130px;
    width: 430px;
    height: 430px;
    border: 1px solid rgba(239, 125, 0, 0.16);
    border-radius: 50%;
    pointer-events: none;
}

body footer.pagefooter.pagefooter--q3::after {
    content: "";
    position: absolute;
    top: -116px;
    right: -64px;
    width: 296px;
    height: 296px;
    border: 38px solid rgba(239, 125, 0, 0.035);
    border-radius: 50%;
    pointer-events: none;
}

body footer.pagefooter.pagefooter--q3 .pagefooter__inner {
    position: relative;
    z-index: 1;
    max-width: 1440px;
    padding-top: clamp(54px, 6vw, 84px);
    padding-bottom: clamp(48px, 5vw, 72px);
}

body footer.pagefooter.pagefooter--q3 .pagefooter__grid {
    display: grid;
    grid-template-columns: minmax(280px, 1.05fr) minmax(400px, 1.35fr) minmax(210px, 0.7fr);
    gap: clamp(48px, 6vw, 96px);
    align-items: start;
}

body footer.pagefooter.pagefooter--q3 .pagefooter__brand {
    display: inline-flex;
    align-items: center;
    width: min(100%, 275px);
    margin: 0 0 28px;
    padding: 0 0 24px;
    border-bottom: 1px solid #dfe4e7;
}

body footer.pagefooter.pagefooter--q3 .pagefooter__brand::after {
    display: none;
}

body footer.pagefooter.pagefooter--q3 .pagefooter__logo {
    display: block;
    width: min(218px, calc(100% - 52px));
    max-width: none;
    height: auto;
}

body footer.pagefooter.pagefooter--q3 .pagefooter__heading,
body footer.pagefooter.pagefooter--q3 .pagefooter__social h2,
body footer.pagefooter.pagefooter--q3 .pagefooter__social h3 {
    margin: 2px 0 26px;
    color: #54616c;
    font-size: 18px;
    font-weight: 300;
    line-height: 1.25;
}

body footer.pagefooter.pagefooter--q3 .pagefooter__heading::before,
body footer.pagefooter.pagefooter--q3 .pagefooter__social h2::before,
body footer.pagefooter.pagefooter--q3 .pagefooter__social h3::before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 1px;
    margin: 0 12px 5px 0;
    background: #ef7d00;
}

body footer.pagefooter.pagefooter--q3 .pagefooter__contact .footercontact--compact {
    display: grid;
    gap: 3px;
    margin: 0;
}

body footer.pagefooter.pagefooter--q3 .pagefooter__contact .footercontact--compact .fc-item {
    min-height: 39px;
    margin: 0;
    padding: 8px 10px 8px 34px;
    border: 0;
    border-radius: 0;
    background-position: 2px center;
    background-size: 18px;
    box-shadow: none;
    color: #54616c;
    font-size: 15px;
    transition: color 180ms ease, transform 180ms ease;
}

body footer.pagefooter.pagefooter--q3 .pagefooter__contact .footercontact--compact .fc-item:hover,
body footer.pagefooter.pagefooter--q3 .pagefooter__contact .footercontact--compact .fc-item:focus-visible {
    color: #ef7d00;
    transform: translateX(3px);
}

body footer.pagefooter.pagefooter--q3 ul.footermenu {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 38px;
    margin: 0;
    padding: 0;
}

body footer.pagefooter.pagefooter--q3 ul.footermenu li {
    min-width: 0;
    border-bottom: 1px solid #e4e8eb;
    list-style: none;
}

body footer.pagefooter.pagefooter--q3 ul.footermenu li a {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 9px 24px 9px 0;
    color: #54616c;
    font-size: 15px;
    font-weight: 300;
    line-height: 1.25;
    text-decoration: none;
    text-shadow: none;
    transition: color 180ms ease, padding-left 180ms ease;
}

body footer.pagefooter.pagefooter--q3 ul.footermenu li a::after {
    content: "";
    position: absolute;
    right: 2px;
    width: 5px;
    height: 5px;
    border-top: 1px solid #a8b0b6;
    border-right: 1px solid #a8b0b6;
    transform: rotate(45deg);
    transition: border-color 180ms ease, right 180ms ease;
}

body footer.pagefooter.pagefooter--q3 ul.footermenu li a:hover,
body footer.pagefooter.pagefooter--q3 ul.footermenu li a:focus-visible {
    padding-left: 5px;
    color: #ef7d00;
    text-shadow: none;
}

body footer.pagefooter.pagefooter--q3 ul.footermenu li a:hover::after,
body footer.pagefooter.pagefooter--q3 ul.footermenu li a:focus-visible::after {
    right: 0;
    border-color: #ef7d00;
}

body footer.pagefooter.pagefooter--q3 .pagefooter__social {
    min-width: 0;
}

body footer.pagefooter.pagefooter--q3 .pagefooter__social h2,
body footer.pagefooter.pagefooter--q3 .pagefooter__social h3 {
    display: none;
}

body footer.pagefooter.pagefooter--q3 .pagefooter__social .frame,
body footer.pagefooter.pagefooter--q3 .pagefooter__social .ce-gallery {
    margin: 0;
    padding: 0;
}

body footer.pagefooter.pagefooter--q3 .pagefooter__social .ce-gallery {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

body footer.pagefooter.pagefooter--q3 .pagefooter__social .ce-gallery .ce-row {
    display: contents;
}

body footer.pagefooter.pagefooter--q3 .pagefooter__social .ce-gallery a {
    position: relative;
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid #dfe4e7;
    border-radius: 50%;
    background: #fff;
    overflow: hidden;
    transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

body footer.pagefooter.pagefooter--q3 .pagefooter__social .ce-gallery a:hover,
body footer.pagefooter.pagefooter--q3 .pagefooter__social .ce-gallery a:focus-visible {
    border-color: #ef7d00;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(239, 125, 0, 0.11);
    transform: translateY(-1px);
}

body footer.pagefooter.pagefooter--q3 .pagefooter__social .ce-gallery img.image-embed-item {
    width: 23px !important;
    max-width: 23px !important;
    height: 23px !important;
    object-fit: contain;
    opacity: 0.78;
    filter: grayscale(1) saturate(0) contrast(1.7);
    transition: filter 180ms ease, opacity 180ms ease;
}

body footer.pagefooter.pagefooter--q3 .pagefooter__social .ce-gallery a::before,
body footer.pagefooter.pagefooter--q3 .pagefooter__social .ce-gallery a::after {
    display: none;
}

body footer.pagefooter.pagefooter--q3 .pagefooter__social .ce-gallery a:hover img.image-embed-item,
body footer.pagefooter.pagefooter--q3 .pagefooter__social .ce-gallery a:focus-visible img.image-embed-item {
    opacity: 1;
    filter: grayscale(1) saturate(0) contrast(2);
}

body footer.pagefooter.pagefooter--q3 .pagefooter__legal {
    position: relative;
    z-index: 1;
    background: #fff;
    border-top: 1px solid #e4e8eb;
}

body footer.pagefooter.pagefooter--q3 .pagefooter__legal-inner {
    max-width: 1440px;
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

body footer.pagefooter.pagefooter--q3 ul.rechtsmenu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px 24px;
    margin: 0;
    padding: 0;
}

body footer.pagefooter.pagefooter--q3 ul.rechtsmenu li {
    display: block;
}

body footer.pagefooter.pagefooter--q3 ul.rechtsmenu li:not(:last-child)::after {
    display: none;
}

body footer.pagefooter.pagefooter--q3 ul.rechtsmenu li a {
    display: inline-block;
    padding: 10px 0;
    color: #77828a;
    font-size: 13px;
    font-weight: 300;
    text-decoration: none;
    text-shadow: none;
    transition: color 180ms ease;
}

body footer.pagefooter.pagefooter--q3 ul.rechtsmenu li a:hover,
body footer.pagefooter.pagefooter--q3 ul.rechtsmenu li a:focus-visible {
    color: #ef7d00;
    text-shadow: none;
}

@media (max-width: 1199px) {
    body footer.pagefooter.pagefooter--q3 .pagefooter__grid {
        grid-template-columns: minmax(270px, 0.9fr) minmax(360px, 1.1fr);
        gap: 52px 72px;
    }

    body footer.pagefooter.pagefooter--q3 .pagefooter__social {
        grid-column: 1 / -1;
        padding-top: 32px;
        border-top: 1px solid #e4e8eb;
    }
}

@media (max-width: 767px) {
    body footer.pagefooter.pagefooter--q3::before {
        display: none;
    }

    body footer.pagefooter.pagefooter--q3::after {
        display: none;
    }

    body footer.pagefooter.pagefooter--q3 .pagefooter__inner {
        padding-top: 42px;
        padding-bottom: 38px;
    }

    body footer.pagefooter.pagefooter--q3 .pagefooter__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 36px;
    }

    body footer.pagefooter.pagefooter--q3 .pagefooter__brand-contact {
        text-align: left;
    }

    body footer.pagefooter.pagefooter--q3 .pagefooter__brand {
        width: min(100%, 245px);
        margin: 0 0 20px;
        padding-bottom: 18px;
    }

    body footer.pagefooter.pagefooter--q3 .pagefooter__contact .footercontact--compact {
        grid-template-columns: minmax(0, 1fr);
        gap: 2px;
        width: 100%;
        max-width: 232px;
        margin-right: 0;
        margin-left: 0;
    }

    body footer.pagefooter.pagefooter--q3 .pagefooter__contact .footercontact--compact .fc-item {
        width: 100%;
        min-height: 38px;
        margin-right: 0;
        margin-left: 0;
        padding-right: 8px;
        font-size: 14px;
        text-align: left;
    }

    body footer.pagefooter.pagefooter--q3 .pagefooter__contact .footercontact--compact .place {
        grid-column: auto;
    }

    body footer.pagefooter.pagefooter--q3 .pagefooter__navigation,
    body footer.pagefooter.pagefooter--q3 .pagefooter__social {
        grid-column: auto;
    }

    body footer.pagefooter.pagefooter--q3 .pagefooter__social {
        padding-top: 0;
        border-top: 0;
        text-align: left;
    }

    body footer.pagefooter.pagefooter--q3 .pagefooter__social h2,
    body footer.pagefooter.pagefooter--q3 .pagefooter__social h3 {
        display: none;
    }

    body footer.pagefooter.pagefooter--q3 ul.footermenu {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0 14px;
    }

    body footer.pagefooter.pagefooter--q3 ul.footermenu li a {
        min-height: 42px;
        padding-right: 18px;
        font-size: 14px;
    }

    body footer.pagefooter.pagefooter--q3 .pagefooter__social .ce-gallery {
        justify-content: flex-start;
        gap: 8px;
    }

    body footer.pagefooter.pagefooter--q3 .pagefooter__social .ce-gallery a {
        width: 40px;
        height: 40px;
    }

    body footer.pagefooter.pagefooter--q3 .pagefooter__legal-inner {
        min-height: 64px;
        justify-content: flex-start;
    }

    body footer.pagefooter.pagefooter--q3 ul.rechtsmenu {
        justify-content: flex-start;
    }
}

@media (max-width: 360px) {
    body footer.pagefooter.pagefooter--q3 ul.footermenu {
        gap: 0 10px;
    }

    body footer.pagefooter.pagefooter--q3 ul.footermenu li a {
        font-size: 13px;
    }
}

@media (prefers-reduced-motion: reduce) {
    body footer.pagefooter.pagefooter--q3 *,
    body footer.pagefooter.pagefooter--q3 *::before,
    body footer.pagefooter.pagefooter--q3 *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
