{"version":3,"file":"Button-dbEBmY.Do41ZOpb.mjs","names":["_jsx","__esmMin","c","init_jsx_runtime","init_framer_BWzg2IRg","addPropertyControls","ControlType","init_framer_motion_1EwlFBEG","motion","Button","props","text","link","variant","style","isPrimary","base","hover","EASE","init_Button","init_Button_dbEBmY"],"sources":["https:/framerusercontent.com/modules/d9Dj0574RCsTYLXD4EyA/TRMGDGkj1nW9eiASElRY/Button.js","https:/framer.com/m/Button-dbEBmY.js@TRMGDGkj1nW9eiASElRY"],"sourcesContent":["// ============================================================\n// PIA YourSpace — Button (Code Component)\n// ============================================================\n// Primary: schwarz / weiße Schrift — Hover: leicht größer + weicher Schatten\n// Secondary: weiß / schwarzer Rand — Hover: füllt sich schwarz, Schrift weiß\n// Radius: 999 (voll gerundet), Bewegung: ruhig & elegant (kein Bounce)\n// ============================================================\nimport{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{motion}from\"framer-motion\";const EASE=[.16,1,.3,1];export default function Button(props){const{text,link,variant,style}=props;const isPrimary=variant===\"Primary\";const base={display:\"inline-flex\",alignItems:\"center\",justifyContent:\"center\",padding:\"18px 36px\",borderRadius:999,fontFamily:\"Inter, -apple-system, BlinkMacSystemFont, sans-serif\",fontSize:16,fontWeight:600,textDecoration:\"none\",cursor:\"pointer\",boxSizing:\"border-box\",border:\"1px solid #000000\",background:isPrimary?\"#000000\":\"#FFFFFF\",color:isPrimary?\"#FFFFFF\":\"#000000\",whiteSpace:\"nowrap\"};const hover=isPrimary?{scale:1.03,boxShadow:\"0 14px 34px rgba(0, 0, 0, 0.18)\"}:{scale:1.03,backgroundColor:\"#000000\",color:\"#FFFFFF\",boxShadow:\"0 14px 34px rgba(0, 0, 0, 0.14)\"};return /*#__PURE__*/_jsx(motion.a,{href:link?.href??\"#\",target:link?.target,rel:link?.target===\"_blank\"?\"noopener noreferrer\":undefined,style:{...base,...style},initial:false,whileHover:hover,whileTap:{scale:.97},transition:{duration:.4,ease:EASE},children:text});}Button.defaultProps={text:\"Jetzt starten\",variant:\"Primary\",link:{href:\"#\"}};addPropertyControls(Button,{text:{type:ControlType.String,title:\"✏️ Button-Text\",defaultValue:\"Jetzt starten\"},link:{type:ControlType.Link,title:\"✏️ Link-Ziel\"},variant:{type:ControlType.Enum,title:\"Variante\",options:[\"Primary\",\"Secondary\"],optionTitles:[\"Primary (schwarz)\",\"Secondary (outline)\"],defaultValue:\"Primary\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Button\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Button.map","/*\n * Button\n *\n * Learn More: https://www.framer.com/asset-urls\n */\n\nexport * from \"https://framerusercontent.com/modules/d9Dj0574RCsTYLXD4EyA/TRMGDGkj1nW9eiASElRY/Button.js\"\nexport { default } from \"https://framerusercontent.com/modules/d9Dj0574RCsTYLXD4EyA/TRMGDGkj1nW9eiASElRY/Button.js\"\n"],"mappings":"A,6MAOyJ,SAAwBS,EAAOC,EAAM,CAAC,GAAK,CAACC,OAAKC,OAAKC,UAAQC,SAAOJ,EAAYK,EAAUF,IAAU,UAAgBG,EAAK,CAAC,QAAQ,cAAc,WAAW,SAAS,eAAe,SAAS,QAAQ,YAAY,aAAa,IAAI,WAAW,uDAAuD,SAAS,GAAG,WAAW,IAAI,eAAe,OAAO,OAAO,UAAU,UAAU,aAAa,OAAO,oBAAoB,WAAWD,EAAU,UAAU,UAAU,MAAMA,EAAU,UAAU,UAAU,WAAW,QAAQ,EAAQE,EAAMF,EAAU,CAAC,MAAM,KAAK,UAAU,iCAAiC,EAAE,CAAC,MAAM,KAAK,gBAAgB,UAAU,MAAM,UAAU,UAAU,iCAAiC,EAAE,MAAoBf,gBAAKQ,EAAO,EAAE,CAAC,KAAKI,GAAM,MAAM,IAAI,OAAOA,GAAM,OAAO,IAAIA,GAAM,SAAS,SAAS,sBAAsB,IA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