@media (max-width: 767px) {
    /* Tabellenzellen auf dem Handy untereinander anzeigen */
    #sp-component table,
    #sp-component tbody,
    #sp-component tr,
    #sp-component td {
        display: block !important;
        width: 100% !important;
        box-sizing: border-box !important;
        height: auto !important;
        border: none !important;
    }

    /* Leere Abstandszellen ausblenden, damit keine weißen Lücken entstehen */
    #sp-component td:empty {
        display: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    /* Verhindert, dass hohe Bilder in den nächsten Block ragen (Clearfix) */
    #sp-component td::after {
        content: "" !important;
        display: table !important;
        clear: both !important;
    }

    /* Sauberer Abstand zwischen den Referenzobjekten ohne graue Linien */
    #sp-component td {
        padding-bottom: 20px !important;
        margin-bottom: 10px !important;
    }

    /* Trennlinien (<hr>) innerhalb des Beitrags auf dem Handy ausblenden */
    #sp-component hr {
        display: none !important;
    }

    /* Bilder in der Tabelle sauber anpassen */
    #sp-component td img {
        max-width: 48% !important;
        height: auto !important;
        margin-right: 12px !important;
        margin-bottom: 10px !important;
    }
}
@media (max-width: 991px) {
    /* Header und Boxed-Container im Querformat auf volle Breite bringen */
    .layout-boxed .body-innerwrapper,
    #sp-header,
    #sp-header.header-sticky,
    #sp-header .container,
    #sp-header .container-inner {
        max-width: 100% !important;
        width: 100% !important;
        left: 0 !important;
        right: 0 !important;
        margin: 0 !important;
    }

    #sp-header .row {
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
        margin: 0 !important;
    }

    /* Logo sauber links halten, ohne dass es sich breitzieht */
    #sp-logo {
        flex: 0 1 auto !important;
        width: auto !important;
        max-width: 75% !important;
        text-align: left !important;
        padding-right: 0 !important;
    }

    #sp-logo img {
        max-width: 230px !important;
        width: 100% !important;
        height: auto !important;
    }

    /* Hamburger-Symbol ganz nach rechts schieben */
    #sp-menu {
        display: flex !important;
        justify-content: flex-end !important;
        align-items: center !important;
        flex: 0 0 auto !important;
        width: auto !important;
    }

    #sp-menu .sp-megamenu-parent {
        display: none 