{"version":3,"file":"Cursor.DVY7oZXx.mjs","names":["__esmMin","init_npm_react_18_3_1","ce","init_jsx_runtime","c","init_framer_BL70qLPA","Frame","addPropertyControls","CustomCursor","style","cursor","moveCursor","hoverElements","el","init_Cursor"],"sources":["https:/framerusercontent.com/modules/g6BuLQDR9BNdFUEH1krO/7pgX3Bhw9nObG99NWVPc/Cursor.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import*as React from\"react\";import{Frame,addPropertyControls}from\"framer\";export function CustomCursor(){React.useEffect(()=>{// CSS für den benutzerdefinierten Cursor hinzufügen\nconst style=document.createElement(\"style\");style.type=\"text/css\";style.innerHTML=`\n            body, a, button, input, [onclick], .hover-target {\n                cursor: none !important; /* Ausblenden des Standard-Cursors \\xfcberall */\n            }\n            .custom-cursor {\n                width: 20px;\n                height: 20px;\n                border-radius: 50%;\n                background-color: rgba(205, 162, 116, 0.85); /* Cursor-Farbe zu RGBA mit 85% Transparenz ge\\xe4ndert */\n                position: fixed;\n                pointer-events: none;\n                z-index: 1000;\n                transition: width 0.2s ease, height 0.2s ease, background-color 0.2s ease; /* Weiche \\xdcberg\\xe4nge */\n            }\n            .custom-cursor.hover-effect {\n                width: 24px; /* Gr\\xf6\\xdfe im Hover-State */\n                height: 24px;\n                background-color: rgba(205, 162, 116, 0.85); /* Cursor-Farbe im Hover-State zu RGBA mit 85% Transparenz ge\\xe4ndert */\n                animation: pulse 1s infinite; /* Puls-Effekt */\n            }\n\n            @keyframes pulse {\n                0% { transform: scale(1); }\n                50% { transform: scale(1.1); }\n                100% { transform: scale(1); }\n            }\n        `;document.head.appendChild(style);// Cursor-Element erstellen\nconst cursor=document.createElement(\"div\");cursor.classList.add(\"custom-cursor\");document.body.appendChild(cursor);// Cursor-Position bei Mausbewegung aktualisieren\nconst moveCursor=e=>{cursor.style.left=e.clientX+\"px\";cursor.style.top=e.clientY+\"px\";};document.addEventListener(\"mousemove\",moveCursor);// Cursor-Stil ändern, wenn über hover-fähigen Elementen\nconst hoverElements=document.querySelectorAll(\"a, button, input, [onclick], .hover-target\")// Weitere hover-fähige Selektoren können hinzugefügt werden\n;hoverElements.forEach(el=>{el.addEventListener(\"mouseenter\",()=>cursor.classList.add(\"hover-effect\"));el.addEventListener(\"mouseleave\",()=>cursor.classList.remove(\"hover-effect\"));});// Bereinigung\nreturn()=>{document.removeEventListener(\"mousemove\",moveCursor);hoverElements.forEach(el=>{el.removeEventListener(\"mouseenter\",()=>cursor.classList.add(\"hover-effect\"));el.removeEventListener(\"mouseleave\",()=>cursor.classList.remove(\"hover-effect\"));});document.head.removeChild(style);document.body.removeChild(cursor);};},[]);return /*#__PURE__*/_jsx(Frame,{size:\"100%\",background:null});}addPropertyControls(CustomCursor,{});\nexport const __FramerMetadata__ = {\"exports\":{\"CustomCursor\":{\"type\":\"reactComponent\",\"name\":\"CustomCursor\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Cursor.map"],"mappings":"A,0KAAqH,SAAgBQ,GAAc,CAgCqL,OAhCpLN,MAAoB,CACxK,IAAMO,EAAM,SAAS,cAAc,OAAO,EAAE,EAAM,KAAK,WAAW,EAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;UA0BxE,SAAS,KAAK,YAAYA,CAAK,EACzC,IAAMC,EAAO,SAAS,cAAc,KAAK,EAAEA,EAAO,UAAU,IAAI,eAAe,EAAE,SAAS,KAAK,YAAYA,CAAM,EACjH,IAAMC,EAAW,GAAG,CAAC,EAAO,MAAM,KAAK,EAAE,QAAQ,KAAK,EAAO,MAAM,IAAI,EAAE,QAAQ,IAAK,EAAE,SAAS,iBAAiB,YAAYA,CAAU,EACxI,IAAMC,EAAc,SAAS,iBAAiB,4CAA4C,EAE1F,OADCA,EAAc,QAAQ,GAAI,CAACC,EAAG,iBAAiB,iBAAiBH,EAAO,UAAU,IAAI,cAAc,CAAC,EAAEG,EAAG,iBAAiB,iBAAiBH,EAAO,UAAU,OAAO,cAAc,CAAC,CAAE,CAAC,MAC5K,CAAC,SAAS,oBAAoB,YAAYC,CAAU,EAAEC,EAAc,QAAQ,GAAI,CAACC,EAAG,oBAAoB,iBAAiBH,EAAO,UAAU,IAAI,cAAc,CAAC,EAAEG,EAAG,oBAAoB,iBAAiBH,EAAO,UAAU,OAAO,cAAc,CAAC,CAAE,CAAC,EAAE,SAAS,KAAK,YAAYD,CAAK,EAAE,SAAS,KAAK,YAAYC,CAAM,CAAE,CAAE,EAAE,CAAC,CAAC,EAAsB,gBAAKJ,EAAM,CAAC,KAAK,OAAO,WAAW,IAAI,CAAC,CAAE,C,0CAACC,EAAoBC,EAAa,CAAC,CAAC,C"}