{"version":3,"file":"Button.Di2B-puF.mjs","names":["__esmMin","p","c","init_jsx_runtime","addPropertyControls","init_framer_BisrWwwE","Button","props","CSS","STYLE","stil","link","neuerTab","text","init_Button","ControlType"],"sources":["https:/framerusercontent.com/modules/5BIf5akbalsaBdePV4Y7/28qJrOy2mRWCWHci7lrD/Button.js"],"sourcesContent":["// Button für hildebrandt.coach: Text, Link, Stil (Primär / Kontur / auf dunklem Bild).\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";const L=`--hb-wine:#8E0F2E;--hb-wine-ink:#FFFFFF;`;const D=`--hb-wine:#E0637F;--hb-wine-ink:#1A0F12;`;const CSS=`.hbb{${L}display:inline-flex}@media (prefers-color-scheme:dark){.hbb{${D}}}\n.hbb a{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:13px 22px;border-radius:999px;background:var(--hb-wine);color:var(--hb-wine-ink);font:600 16px/1 \"Source Sans 3\",\"Segoe UI\",system-ui,sans-serif;text-decoration:none;border:1px solid var(--hb-wine);cursor:pointer;white-space:nowrap;transition:filter .2s;-webkit-font-smoothing:antialiased}\n.hbb a:hover{filter:brightness(1.08)}\n.hbb a:focus-visible{outline:2px solid var(--hb-wine);outline-offset:3px}\n.hbb a.ghost{background:transparent;color:var(--hb-wine)}\n.hbb a.light{background:#8E0F2E;border-color:#8E0F2E;color:#fff}\n.hbb a.ghost-light{background:transparent;border-color:#fff;color:#fff}\n.hbb a.full{width:100%}`;const STYLE={primaer:\"\",kontur:\"ghost\",hell:\"light\",\"kontur-hell\":\"ghost-light\"};/**\n * @framerSupportedLayoutWidth auto\n * @framerSupportedLayoutHeight auto\n */export default function Button(props){const{text=\"Erstgespr\\xe4ch vereinbaren\",link=\"/kontakt\",stil=\"primaer\",neuerTab=false}=props;return /*#__PURE__*/_jsxs(\"div\",{className:\"hbb\",style:{...props.style,position:\"relative\"},children:[/*#__PURE__*/_jsx(\"style\",{children:CSS}),/*#__PURE__*/_jsx(\"a\",{className:STYLE[stil]||\"\",href:link,target:neuerTab?\"_blank\":undefined,rel:neuerTab?\"noopener\":undefined,children:text})]});}addPropertyControls(Button,{text:{type:ControlType.String,title:\"Text\",defaultValue:\"Erstgespr\\xe4ch vereinbaren\"},link:{type:ControlType.String,title:\"Link\",defaultValue:\"/kontakt\",description:\"Pfad (/kontakt), Anker (#erstgespraech) oder URL\"},stil:{type:ControlType.Enum,title:\"Stil\",options:[\"primaer\",\"kontur\",\"hell\",\"kontur-hell\"],optionTitles:[\"Prim\\xe4r\",\"Kontur\",\"Prim\\xe4r auf Bild\",\"Kontur auf Bild\"],defaultValue:\"primaer\"},neuerTab:{type:ControlType.Boolean,title:\"Neuer Tab\",defaultValue:false}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Button\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"auto\",\"framerSupportedLayoutWidth\":\"auto\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Button.map"],"mappings":"A,8JAWG,SAAwBM,EAAO,EAAM,CAAC,GAAK,CAAC,OAAK,2BAA8B,OAAK,WAAW,OAAK,UAAU,WAAS,IAAOC,EAAM,MAAoB,gBAAM,MAAM,CAAC,UAAU,MAAM,MAAM,CAAC,GAAGA,EAAM,MAAM,SAAS,UAAU,EAAE,SAAS,CAAc,gBAAK,QAAQ,CAAC,SAASC,CAAG,CAAC,EAAe,gBAAK,IAAI,CAAC,UAAUC,EAAMC,IAAO,GAAG,KAAKC,EAAK,OAAOC,EAAS,SAAS,IAAA,GAAU,IAAIA,EAAS,WAAW,IAAA,GAAU,SAASC,CAAI,CAAC,CAAC,CAAC,CAAC,CAAE,C,8CAVjN,EAAI;;;;;;;yBAO9L,EAAM,CAAC,QAAQ,GAAG,OAAO,QAAQ,KAAK,QAAQ,cAAc,aAAa,EAGmUT,EAAoBE,EAAO,CAAC,KAAK,CAAC,KAAKS,EAAY,OAAO,MAAM,OAAO,aAAa,0BAA6B,EAAE,KAAK,CAAC,KAAKA,EAAY,OAAO,MAAM,OAAO,aAAa,WAAW,YAAY,kDAAkD,EAAE,KAAK,CAAC,KAAKA,EAAY,KAAK,MAAM,OAAO,QAAQ,CAAC,UAAU,SAAS,OAAO,aAAa,EAAE,aAAa,CAAC,SAAY,SAAS,kBAAqB,iBAAiB,EAAE,aAAa,SAAS,EAAE,SAAS,CAAC,KAAKA,EAAY,QAAQ,MAAM,YAAY,aAAa,EAAK,CAAC,CAAC,C"}