@media print {

     .notice1 {color: #000 !important;
        text-decoration: none !important;
    }

.notice2 {color: #000 !important;
        text-decoration: none !important;
    }

.notice3 {color: #000 !important;
        text-decoration: none !important;
    }


/* ----------------------------------------------------------------
     * Seitenränder und Schriftgröße
     * ---------------------------------------------------------------- */
    @page {
        margin: 1.5cm 2cm;
    }

    body {
        font-size: 12pt !important;
        line-height: 1.5 !important;
        color: #000 !important;
        background: #fff !important;
    }

    /* ----------------------------------------------------------------
     * Floats zurücksetzen – verhindert Überlappung von Bild und Notice
     * ---------------------------------------------------------------- */
    figure,
    figure.left,
    figure.right {
        float: none !important;
        display: block !important;
        width: 100% !important;
        margin: 1em 0 !important;
        break-inside: avoid !important;
        page-break-inside: avoid !important;
    }

    figcaption {
        display: block !important;
        width: 100% !important;
        margin-top: 4px !important;
	font-size: 11pt !important;
    }


 /* Notice-Blöcke nicht anschneiden und sauber trennen */
    div[class^="notice"],
    div[class*=" notice"] {
        float: none !important;
        clear: both !important;
        break-inside: avoid !important;
        page-break-inside: avoid !important;
        margin-top: 1em !important;
    }


    img {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        max-width: 100% !important;
        height: auto !important;
        break-inside: avoid !important;   /* moderner Standard */
        page-break-inside: avoid !important; /* Firefox-Fallback */
    }

    /* Bild zusammen mit seiner Beschriftung auf einer Seite halten */
    figure,
    .wp-block-image,
    .image-wrap {
        break-inside: avoid !important;
        page-break-inside: avoid !important;
    }

    /* ----------------------------------------------------------------
     * Absätze, Überschriften, Tabellen nicht anschneiden
     * ---------------------------------------------------------------- */
    h1, h2, h3, h4, h5, h6 {
        break-after: avoid !important;
        page-break-after: avoid !important;
        color: #000 !important;
    }

    p, li, blockquote {
        break-inside: avoid !important;
        page-break-inside: avoid !important;
        orphans: 3; /* mind. 3 Zeilen am Seitenende */
        widows: 3;  /* mind. 3 Zeilen am Seitenanfang */
    }

    table {
        break-inside: avoid !important;
        page-break-inside: avoid !important;
        width: 100% !important;
    }

    /* ----------------------------------------------------------------
     * Lazy-Load-Klassen sichtbar machen
     * ---------------------------------------------------------------- */
    img.lazy,
    img.lazyload,
    img[loading="lazy"],
    img[data-src] {
        content: attr(data-src) !important;
    }

    /* ----------------------------------------------------------------
     * Glossar
     * ---------------------------------------------------------------- */
    .glossar-begriff {
        color: #000 !important;
        text-decoration: none !important;
    }

    .glossar-tooltip {
        display: none !important;
    }

    /* ----------------------------------------------------------------
     * Google-Werbung ausblenden
     * ---------------------------------------------------------------- */
    ins.adsbygoogle,
    .adsbygoogle,
    .googletag-ad,
    div[id^="div-gpt-ad"],
    iframe[id^="google_ads_iframe"],
    [data-google-query-id],
    [data-ad-client],
    [data-ad-slot],
    #google_esf,
    .google-auto-placed,
    #google_image_div,
    [id^="google_ads_iframe"],
    [id^="aswift_"],
    [id^="ad_iframe"],
    div[id^="google-auto-placed"],
    .GoogleActiveViewElement,
    [data-google-av-cxn],
    body > ins[data-anchor],
    body > div[data-anchor],
    [data-ad-format="auto"],
    [data-ad-format="fluid"],
    [data-ad-format="autorelaxed"] {
        display: none !important;
        visibility: hidden !important;
    }
}

