/* KGZ – Shopware 5 Mobile Offcanvas Fix */

@media screen and (max-width: 767px) {

    /* Übergeordneten Container is--wide aufheben */
    .hero--text.panel--body.is--wide {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }

    /* Offcanvas-Panel auf volle Breite */
    .teaser--text-offcanvas.off-canvas,
    .teaser--text-offcanvas.is--right,
    .teaser--text-offcanvas {
        width: 100% !important;
        max-width: 100% !important;
        left: 0 !important;
        right: 0 !important;
        top: 0 !important;
        bottom: 0 !important;
        box-sizing: border-box !important;
    }

    /* Innerer Content-Bereich */
    .teaser--text-offcanvas .offcanvas--content {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 15px !important;
    }

    /* Tabellen im Offcanvas responsiv */
    .teaser--text-offcanvas table,
    .offcanvas--content table {
        width: 100% !important;
        max-width: 100% !important;
        table-layout: fixed !important;
        border-collapse: collapse;
    }

    /* Feste Word-Zellbreiten aufheben */
    .teaser--text-offcanvas td,
    .offcanvas--content td {
        width: auto !important;
        max-width: none !important;
        box-sizing: border-box;
        overflow-wrap: break-word;
        word-wrap: break-word;
        padding: 5px !important;
        font-size: 13px;
    }

    /* Bilder begrenzen */
    .teaser--text-offcanvas img,
    .offcanvas--content img {
        max-width: 100%;
        height: auto;
    }

}