{"version":3,"file":"shared-lib.eYoDgA5e.mjs","names":["React.useState"],"sources":["https:/framerusercontent.com/modules/5bhSpHYIBYfT2gOCCFrt/WPjl0Y5yOvw4YtR5WfHM/Button_animated.js","https:/framerusercontent.com/modules/jGMJfUyLMKliBMp6E5XY/F6ifuYr9DW0jMC0UwyDy/p9aTUBevb.js","https:/framerusercontent.com/modules/9KW5rZa4Tp2MjPdKT4O8/QwuiJx3MqxoMocxuH1F1/siteMetadata.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType}from\"framer\";/**\n * @framerIntrinsicWidth 320\n * @framerIntrinsicHeight 64\n */export default function ElegantGoldButton(props){const{textColor,fontSize,radius,animationSpeed,tintColor,fontName,shimmerOpacity,linkTarget}=props;// Zustand für Hover\nconst[isHovered,setIsHovered]=React.useState(false);// --- NEU: Click Handler für Scroll ---\nconst handleClick=()=>{if(!linkTarget)return;// Fall 1: Es ist eine Section-ID (beginnt mit #) -> Weiches Scrollen\nif(linkTarget.startsWith(\"#\")){const element=document.querySelector(linkTarget);if(element){element.scrollIntoView({behavior:\"smooth\",block:\"start\"});}else{console.warn(`Abschnitt mit ID \"${linkTarget}\" nicht gefunden.`);}}else{window.open(linkTarget,\"_self\");}};// --- Animation Styles ---\nconst animationStyle={animation:`soft-flow ${animationSpeed}s infinite linear`};const currentTintStyle={...tintStyle,backgroundColor:isHovered?tintColor:\"transparent\"};// Text Animation (Exakt deine weichen Einstellungen)\nconst text1Style={opacity:isHovered?0:1,transform:isHovered?\"translateY(-8px)\":\"translateY(0px)\",filter:isHovered?\"blur(4px)\":\"blur(0px)\",pointerEvents:isHovered?\"none\":\"auto\"};const text2Style={opacity:isHovered?1:0,transform:isHovered?\"translateY(0px)\":\"translateY(8px)\",filter:isHovered?\"blur(0px)\":\"blur(4px)\",pointerEvents:isHovered?\"auto\":\"none\"};const combinedTextStyle={...commonTextStyle,color:textColor,fontSize:fontSize,fontFamily:`\"${fontName}\", sans-serif`};return /*#__PURE__*/_jsxs(\"div\",{style:{...containerStyle,borderRadius:radius},onMouseEnter:()=>setIsHovered(true),onMouseLeave:()=>setIsHovered(false),onClick:handleClick,children:[/*#__PURE__*/_jsx(\"style\",{children:`\n                @keyframes soft-flow {\n                    0% { transform: translateX(-50%) skewX(-20deg); }\n                    100% { transform: translateX(50%) skewX(-20deg); }\n                }\n                `}),/*#__PURE__*/_jsx(\"div\",{style:baseGradientStyle}),/*#__PURE__*/_jsx(\"div\",{style:currentTintStyle}),/*#__PURE__*/_jsx(\"div\",{style:pixelGridStyle}),/*#__PURE__*/_jsx(\"div\",{style:{...shimmerStyle,...animationStyle,background:`linear-gradient(90deg, transparent 0%, rgba(255,255,255,${shimmerOpacity}) 50%, transparent 100%)`}}),/*#__PURE__*/_jsxs(\"div\",{style:textContainerStyle,children:[/*#__PURE__*/_jsx(\"span\",{style:{...combinedTextStyle,...text1Style},children:\"Jetzt Marktf\\xfchrer werden\"}),/*#__PURE__*/_jsx(\"span\",{style:{...combinedTextStyle,...text2Style},children:\"Lass uns sprechen\"})]})]});}// --- Einstellmöglichkeiten ---\naddPropertyControls(ElegantGoldButton,{linkTarget:{type:ControlType.String,title:\"Link / Section\",placeholder:\"#kontakt\",description:\"z.B. '#kontakt' f\\xfcr Scrollen oder 'https://google.com'\"},fontName:{type:ControlType.String,title:\"Schriftart\",defaultValue:\"PP Neue Montreal\"},textColor:{type:ControlType.Color,title:\"Textfarbe\",defaultValue:\"#FFFFFF\"},fontSize:{type:ControlType.Number,title:\"Gr\\xf6\\xdfe\",defaultValue:16,min:10,max:40,step:1},radius:{type:ControlType.Number,title:\"Rundung\",defaultValue:12,min:0,max:100},animationSpeed:{type:ControlType.Number,title:\"Speed (s)\",defaultValue:8,min:2,max:20,step:1},shimmerOpacity:{type:ControlType.Number,title:\"Glanz-St\\xe4rke\",defaultValue:.05,min:0,max:.5,step:.01,displayStepper:true},tintColor:{type:ControlType.Color,title:\"Hover-T\\xf6nung\",defaultValue:\"rgba(255, 255, 255, 0.05)\"}});// --- Styles (Unverändert) ---\nconst containerStyle={width:\"100%\",height:\"100%\",position:\"relative\",overflow:\"hidden\",boxShadow:\"0 4px 20px rgba(199, 128, 40, 0.2)\",display:\"flex\",justifyContent:\"center\",alignItems:\"center\",cursor:\"pointer\",perspective:\"1000px\"};const textContainerStyle={position:\"relative\",zIndex:10,width:\"100%\",height:\"100%\",display:\"flex\",justifyContent:\"center\",alignItems:\"center\"};const commonTextStyle={position:\"absolute\",width:\"100%\",textAlign:\"center\",fontWeight:400,userSelect:\"none\",transition:\"all 0.6s cubic-bezier(0.16, 1, 0.3, 1)\",padding:\"0 20px\",willChange:\"transform, opacity, filter\"};const baseGradientStyle={position:\"absolute\",inset:0,background:\"linear-gradient(90deg, #c78028 0%, #dca34b 50%, #c78028 100%)\",zIndex:1};const tintStyle={position:\"absolute\",inset:0,zIndex:2,transition:\"background-color 0.5s ease\"};const pixelGridStyle={position:\"absolute\",inset:0,zIndex:3,opacity:.25,mixBlendMode:\"overlay\",backgroundImage:`\n        linear-gradient(rgba(255, 255, 255, 0.15) 1px, transparent 1px),\n        linear-gradient(90deg, rgba(255, 255, 255, 0.15) 1px, transparent 1px)\n    `,backgroundSize:\"6px 6px\",pointerEvents:\"none\"};const shimmerStyle={position:\"absolute\",top:0,left:-100,width:\"200%\",height:\"100%\",zIndex:4,pointerEvents:\"none\"};\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ElegantGoldButton\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerIntrinsicHeight\":\"64\",\"framerIntrinsicWidth\":\"320\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Button_animated.map","// Generated by Framer (29c58de)\nimport{fontStore}from\"framer\";fontStore.loadFonts([]);export const fonts=[{explicitInter:true,fonts:[]}];export const css=[\".framer-2XTzt .framer-styles-preset-1c66jkp:not(.rich-text-wrapper), .framer-2XTzt .framer-styles-preset-1c66jkp.rich-text-wrapper a { --framer-link-text-color: #262626; }\"];export const className=\"framer-2XTzt\";\nexport const __FramerMetadata__ = {\"exports\":{\"fonts\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"css\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"className\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// Generated by Framer (62e9832)\nexport default function metadata(params,activeLocale){return{description:\"Marketing f\\xfcr Finanzdienstleister: Mit mehrFINANZ t\\xe4glich Neukunden gewinnen, Prozesse automatisieren & Expertenstatus aufbauen. Jetzt Partnerschaft anfragen.\",favicon:\"https://framerusercontent.com/assets/Ni4w4rKG7bR0JhlmfXs4Pl59fFc.png\",robots:\"max-image-preview:large\",socialImage:\"https://framerusercontent.com/assets/s0P3Jw80Kt50zpKmYsFhaR1tqo.png\",title:\"mehrFINANZ I Der Marketingpartner f\\xfcr Finanzdienstleister\"};}export const metadataVersion=1;\nexport const __FramerMetadata__ = {\"exports\":{\"metadataVersion\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"sMAGG,SAAwB,EAAkB,EAAM,CAAC,GAAK,CAAC,YAAU,WAAS,SAAO,iBAAe,YAAU,WAAS,iBAAe,cAAY,EAC5I,CAAC,EAAU,GAAcA,EAAe,GAAM,CAC7C,MAAgB,CAAK,KAC3B,GAAG,EAAW,WAAW,IAAI,CAAC,CAAC,IAAM,EAAQ,SAAS,cAAc,EAAW,CAAI,EAAS,EAAQ,eAAe,CAAC,SAAS,SAAS,MAAM,QAAQ,CAAC,CAAO,QAAQ,KAAK,qBAAqB,EAAW,mBAAmB,MAAQ,EAAO,KAAK,EAAW,QAAQ,EAC7P,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