$(document).ready(function() {
                    $('.thumbs').on('click', '.remaining:not(".open-video")', function(event) {
                        event.preventDefault();
                        setTimeout(function () {
                            MagicZoom.expand('zoom');
                        }, 300);
                        setTimeout(function () {
                            MagicZoom.switchTo('zoom',8);
                        }, 1000);
                    });
                });
            
    Produkteigenschaften:Wellrohrschneiderzum Ablängen von leeren oder fertig konfektionierten Wellrohrendoppelseitige Führung für präzisen SchnittGehäuse aus stabilem Polyamid-Compound-KunststoffTechnische Daten:Gesamtlänge: 100 mmArbeitsbereich Ø: 13,0 - 32,0 mmMarke: KNIPEXFeder: mit ÖffnungsfederGewicht: 47gGriffart: Polyamid-Compound-KunststoffLieferumfang:1x Knipex Abmantelungswerkzeug TwistCut Gesamtlänge 100 mm
- Hersteller
-  KNIPEX-Werk C. Gustav Putsch KG
- 
                                Oberkamper Str. 13,
                                42349 Wuppertal,
                                 Deutschland                            
-  0202/47940
  Knipex Abmantelungswerkzeug TwistCut Gesamtlänge 100 mm
  - Artikel-Nr.: 90 22 01 SB
- EAN: 4003773082286
- Hersteller: KNIPEX

    
                                                const observer = new MutationObserver(() => {
                                                    const el = document.getElementById("delivery-date-template");
                                                    if (el) {
                                                        el.innerHTML = el.innerHTML.replace(
                                                            "Lieferung:",
                                                            "Lieferung:"
                                                        );
                                                        observer.disconnect();
                                                        clearTimeout(timeoutId);
                                                    }
                                                });
                                                observer.observe(document.body, { childList: true, subtree: true });
                                                const timeoutId = setTimeout(() => observer.disconnect(), 2000);
                                            
   DHL Paket   
    if(!document.getElementById('paypal-smart-payment-script'))
    {
    var script = document.createElement("script");
    script.type = "module";
    script.id = "paypal-smart-payment-script";
    script.src = "https://cdn02.plentymarkets.com/qddd911h1zyd/plugin/118/paypal/js/smartPaymentScript.min.js";
    script.setAttribute("data-client-id", "AfslQana4f4CQjHvRBnUc6vBJg5jgJuZFwM-SbrTiGKUAqB7MrxQv3QWFdQ6U1h7ogMDokT1DNBzRxMw");
    script.setAttribute("data-user-id-token", "");
    script.setAttribute("data-merchant-id", "9NUA4DV8EVBB8");
    script.setAttribute("data-currency", "EUR");
    script.setAttribute("data-append-trailing-slash", "");
    script.setAttribute("data-locale", "de_DE");
    script.setAttribute("sandbox", "");
    script.setAttribute("googlePayComponent", 0);
    script.setAttribute("applePayComponent", 0);
    script.setAttribute("logToken", "9a2952441dc76a4ec0fe631fa92bbc2e");
    document.body.appendChild(script);
    } else {
        var script = document.getElementById('paypal-smart-payment-script');
        script.src = "https://cdn02.plentymarkets.com/qddd911h1zyd/plugin/118/paypal/js/smartPaymentScript.min.js";
        script.setAttribute("data-client-id", "AfslQana4f4CQjHvRBnUc6vBJg5jgJuZFwM-SbrTiGKUAqB7MrxQv3QWFdQ6U1h7ogMDokT1DNBzRxMw");
        script.setAttribute("data-user-id-token", "");
        script.setAttribute("data-merchant-id", "9NUA4DV8EVBB8");
        script.setAttribute("data-currency", "EUR");
        script.setAttribute("data-append-trailing-slash", "");
        script.setAttribute("data-locale", "de_DE");
        script.setAttribute("sandbox", "");
        script.setAttribute("googlePayComponent", 0);
        script.setAttribute("applePayComponent", 0);
        script.setAttribute("logToken", "9a2952441dc76a4ec0fe631fa92bbc2e");
    }
  
 
 -  Versandkostenfreie Lieferung in DE ab 100€
-  Kostenloser Rückversand
                        
            $(document).ready(function() {
                setTimeout(function () {
                    if (
                        window.innerWidth < 1200 &&
                        $('#m1').length &&
                        $('#mM').length &&
                        $('#m1').is(':empty')
                    ) {
                        $('#mM').appendTo('#m1');
                                            }
                }, 1000);
                $( window ).resize(function() {
                    if ($(window).outerWidth() < 1200 ) {
                        $('#mM').appendTo('#m1');
                    } else {
                        $('#mM').appendTo('#m2');
                    }
                });
            });
            $(function () {
                const $links = $('.anchors a');
                const nav = document.querySelector('.anchors');
                function updateActiveLink() {
                    const scrollTop = $(document).scrollTop();
                    $links.each(function (i, link) {
                        const targetId = $(link).attr('href');
                        const $target = $(targetId);
                        if (!$target.length) return;
                        const top = $target.offset().top;
                        let bottom;
                        if (i < $links.length - 1) {
                            const nextLinkHref = $($links[i + 1]).attr('href');
                            const $nextTarget = $(nextLinkHref);
                            bottom = $nextTarget.length ? $nextTarget.offset().top : $(document).height();
                        } else {
                            bottom = $(document).height();
                        }
                        if (scrollTop >= top - 120 && scrollTop < bottom - 120) {
                            $links.removeClass('active');
                            $(link).addClass('active');
                            scrollNavToLink(link);
                            return false; // break .each()
                        }
                    });
                }
                function scrollNavToLink(link) {
                    if (!nav) return;
                    const linkLeft = link.offsetLeft;
                    const linkWidth = link.offsetWidth;
                    const navWidth = nav.offsetWidth;
                    const scrollTo = linkLeft - (navWidth / 2) + (linkWidth / 2);
                    nav.scrollTo({ left: scrollTo, behavior: 'smooth' });
                }
                let scrollTimer;
                $(document).on('scroll', function () {
                    updateActiveLink(); // run immediately
                    clearTimeout(scrollTimer);
                    scrollTimer = setTimeout(updateActiveLink, 100); // trailing update
                });
                updateActiveLink(); // on load
            });