/* =========================================
   PRE-FOOTER – TABLET UND SMARTPHONE
   ========================================= */

@media (max-width: 991px) {

    /* Beide Bereiche nebeneinander */
    .pre-footer-inside {
        display: flex;
        flex-direction: row;
        align-items: stretch;
    }

    /* Logo links – 50% Breite */
    .pre-footer-logo {
        flex: 0 0 50%;
        width: 50%;
        max-width: 50%;
        height: auto;

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

        background-color: #fff;
        border-radius: 0;
        overflow: hidden;
    }

    /* Logo proportional darstellen */
    .pre-footer-logo a {
        display: block;
        width: 100%;
    }

    .pre-footer-logo img {
        display: block;
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    /* Links rechts – 50% Breite */
    .pre-footer-links {
        display: flex;
        flex-direction: column;
        flex: 0 0 50%;
        width: 50%;
        min-width: 0;
    }

    /* Drei Links untereinander */
    .pre-footer-links .pre-link {
        display: flex;
        flex: 0 0 auto;
        justify-content: flex-end;
        align-items: center;

        width: 100%;
        min-height: 40px;
        padding: 10px 25px 10px 10px;

        text-align: right;
        border-right-width: 12px;
        border-bottom: 0;
    }
}
/* =========================================
   PRE-FOOTER – KLEINE SMARTPHONES
   ========================================= */

@media (max-width: 479px) {

    .pre-footer-inside {
        flex-direction: column;
        align-items: center;
    }

    .pre-footer-logo {
        flex: none;
        width: 100%;
        max-width: 100%;
    }

    .pre-footer-links {
        flex: none;
        width: 100%;
    }

    .pre-footer-links .pre-link {
        min-height: 45px;
    }
}