{"version":3,"file":"shared-lib.CAvfa_fI.mjs","names":["useState"],"sources":["https:/framerusercontent.com/modules/5ItMBQvvG0YTTgY269VZ/4ImUM2cehPD9SivRGWzH/w98p3iCaT.js","https:/framerusercontent.com/modules/wfVj9sNd6SO1CL7Zuxuj/oFcJdUQbWXEfgRmxAVT3/CookieBanner_1.js"],"sourcesContent":["// Generated by Framer (ca8ceca)\nimport{fontStore}from\"framer\";fontStore.loadFonts([\"GF;Farro-regular\",\"GF;Farro-700\"]);export const fonts=[{explicitInter:true,fonts:[{cssFamilyName:\"Farro\",source:\"google\",style:\"normal\",uiFamilyName:\"Farro\",url:\"https://fonts.gstatic.com/s/farro/v15/i7dEIFl3byGNHZVIHLq2cV5d.woff2\",weight:\"400\"},{cssFamilyName:\"Farro\",source:\"google\",style:\"normal\",uiFamilyName:\"Farro\",url:\"https://fonts.gstatic.com/s/farro/v15/i7dJIFl3byGNHa3xM567WkJUQUq7.woff2\",weight:\"700\"}]}];export const css=['.framer-Pb62J .framer-styles-preset-1d3mis:not(.rich-text-wrapper), .framer-Pb62J .framer-styles-preset-1d3mis.rich-text-wrapper p { --framer-font-family: \"Farro\", \"Farro Placeholder\", sans-serif; --framer-font-family-bold: \"Farro\", \"Farro Placeholder\", sans-serif; --framer-font-open-type-features: normal; --framer-font-size: 17px; --framer-font-style: normal; --framer-font-style-bold: normal; --framer-font-variation-axes: normal; --framer-font-weight: 400; --framer-font-weight-bold: 700; --framer-letter-spacing: 0px; --framer-line-height: 1.7em; --framer-paragraph-spacing: 12px; --framer-text-alignment: start; --framer-text-color: var(--token-4f2bfa98-5772-46a8-b692-2f53ceb7b6f7, rgba(255, 249, 243, 0.7)); --framer-text-decoration: none; --framer-text-stroke-color: initial; --framer-text-stroke-width: initial; --framer-text-transform: none; }','@media (max-width: 1199px) and (min-width: 810px) { .framer-Pb62J .framer-styles-preset-1d3mis:not(.rich-text-wrapper), .framer-Pb62J .framer-styles-preset-1d3mis.rich-text-wrapper p { --framer-font-family: \"Farro\", \"Farro Placeholder\", sans-serif; --framer-font-family-bold: \"Farro\", \"Farro Placeholder\", sans-serif; --framer-font-open-type-features: normal; --framer-font-size: 12px; --framer-font-style: normal; --framer-font-style-bold: normal; --framer-font-variation-axes: normal; --framer-font-weight: 400; --framer-font-weight-bold: 700; --framer-letter-spacing: 0px; --framer-line-height: 1.7em; --framer-paragraph-spacing: 12px; --framer-text-alignment: start; --framer-text-color: var(--token-4f2bfa98-5772-46a8-b692-2f53ceb7b6f7, rgba(255, 249, 243, 0.7)); --framer-text-decoration: none; --framer-text-stroke-color: initial; --framer-text-stroke-width: initial; --framer-text-transform: none; } }','@media (max-width: 809px) and (min-width: 0px) { .framer-Pb62J .framer-styles-preset-1d3mis:not(.rich-text-wrapper), .framer-Pb62J .framer-styles-preset-1d3mis.rich-text-wrapper p { --framer-font-family: \"Farro\", \"Farro Placeholder\", sans-serif; --framer-font-family-bold: \"Farro\", \"Farro Placeholder\", sans-serif; --framer-font-open-type-features: normal; --framer-font-size: 9px; --framer-font-style: normal; --framer-font-style-bold: normal; --framer-font-variation-axes: normal; --framer-font-weight: 400; --framer-font-weight-bold: 700; --framer-letter-spacing: 0px; --framer-line-height: 1.7em; --framer-paragraph-spacing: 12px; --framer-text-alignment: start; --framer-text-color: var(--token-4f2bfa98-5772-46a8-b692-2f53ceb7b6f7, rgba(255, 249, 243, 0.7)); --framer-text-decoration: none; --framer-text-stroke-color: initial; --framer-text-stroke-width: initial; --framer-text-transform: none; } }'];export const className=\"framer-Pb62J\";\nexport const __FramerMetadata__ = {\"exports\":{\"className\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"css\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"fonts\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useState,useEffect}from\"react\";import*as ReactDOM from\"react-dom\";import{addPropertyControls,ControlType}from\"framer\";const COOKIE_KEY=\"gcf_cookie_consent\";// Desktop: H1=72px H2=52px H3=32px H4=20px P=18px Lead=22px\n// Tablet:  H1=52px H2=38px H3=26px H4=18px P=17px Lead=20px\n// Mobile:  H1=38px H2=28px H3=22px H4=16px P=16px Lead=18px\n// Small:   H1=30px H2=24px H3=19px H4=15px P=15px Lead=16px\nconst RESPONSIVE_CSS=`\n@media (max-width: 1024px) {\n    h1 { font-size: 52px !important; line-height: 1.18em !important; }\n    h2 { font-size: 38px !important; line-height: 1.22em !important; }\n    h3 { font-size: 26px !important; }\n    h4 { font-size: 18px !important; }\n}\n@media (max-width: 768px) {\n    h1 { font-size: 38px !important; line-height: 1.2em !important; letter-spacing: -0.2px !important; }\n    h2 { font-size: 28px !important; line-height: 1.25em !important; }\n    h3 { font-size: 22px !important; }\n    h4 { font-size: 16px !important; }\n    p  { font-size: 16px !important; line-height: 1.65em !important; }\n}\n@media (max-width: 480px) {\n    h1 { font-size: 30px !important; letter-spacing: 0px !important; }\n    h2 { font-size: 24px !important; }\n    h3 { font-size: 19px !important; }\n    h4 { font-size: 15px !important; }\n    p  { font-size: 15px !important; }\n}\n`;const BANNER_CSS=`\n@keyframes gcf-fade-in {\n    from { opacity: 0; }\n    to   { opacity: 1; }\n}\n@keyframes gcf-slide-up {\n    from { transform: translateY(40px); opacity: 0; }\n    to   { transform: translateY(0);    opacity: 1; }\n}\n.gcf-overlay {\n    position: fixed !important; inset: 0 !important; z-index: 2147483647 !important;\n    display: flex !important; align-items: flex-end !important; justify-content: center !important;\n    padding: 0 16px 32px 16px !important; background: rgba(0,0,0,0.55) !important;\n    backdrop-filter: blur(2px) !important; -webkit-backdrop-filter: blur(2px) !important;\n    animation: gcf-fade-in 0.35s ease both !important; pointer-events: all !important;\n}\n.gcf-card {\n    background: rgb(18,18,18) !important; border: 1px solid rgba(230,194,161,0.25) !important;\n    border-radius: 16px !important; padding: 28px 32px !important; max-width: 740px !important;\n    width: 100% !important; display: flex !important; flex-direction: column !important;\n    gap: 20px !important; box-shadow: 0 -4px 80px rgba(0,0,0,0.8), 0 0 0 1px rgba(230,194,161,0.06) !important;\n    animation: gcf-slide-up 0.4s cubic-bezier(0.16,1,0.3,1) 0.1s both !important; pointer-events: all !important;\n}\n.gcf-deco { display: flex !important; align-items: center !important; gap: 10px !important; }\n.gcf-diamond {\n    width: 10px !important; height: 10px !important; border: 2px solid rgb(230,194,161) !important;\n    transform: rotate(45deg) !important; flex-shrink: 0 !important;\n}\n.gcf-line { flex: 1 !important; height: 1px !important; background: rgba(230,194,161,0.2) !important; }\n.gcf-title {\n    margin: 0 !important; font-family: 'Francois One', sans-serif !important;\n    font-size: 20px !important; color: rgb(255,255,255) !important; line-height: 1.3 !important;\n}\n.gcf-text {\n    margin: 0 !important; font-family: 'Farro', 'Inter', sans-serif !important;\n    font-size: 14px !important; color: rgb(180,180,180) !important; line-height: 1.65 !important;\n}\n.gcf-link { color: rgb(230,194,161) !important; text-decoration: underline !important; text-underline-offset: 3px !important; }\n.gcf-btns { display: flex !important; gap: 12px !important; flex-wrap: wrap !important; }\n.gcf-accept {\n    background: rgb(230,194,161) !important; color: rgb(20,20,20) !important;\n    border: none !important; border-radius: 10px !important; padding: 14px 36px !important;\n    font-family: 'Francois One', sans-serif !important; font-size: 16px !important;\n    cursor: pointer !important; flex: 1 1 auto !important; min-width: 160px !important;\n    transition: transform 0.18s ease, box-shadow 0.18s ease !important; pointer-events: all !important;\n}\n.gcf-accept:hover { transform: scale(1.03) !important; box-shadow: 0 0 0 3px rgba(230,194,161,0.35) !important; }\n.gcf-accept:active { transform: scale(0.97) !important; }\n.gcf-decline {\n    background: transparent !important; color: rgb(204,204,204) !important;\n    border: 2px solid rgba(214,209,206,0.35) !important; border-radius: 10px !important;\n    padding: 14px 36px !important; font-family: 'Francois One', sans-serif !important;\n    font-size: 16px !important; cursor: pointer !important; flex: 1 1 auto !important;\n    min-width: 160px !important;\n    transition: transform 0.18s ease, border-color 0.18s ease, color 0.18s ease !important; pointer-events: all !important;\n}\n.gcf-decline:hover { border-color: rgb(230,194,161) !important; color: rgb(255,255,255) !important; transform: scale(1.03) !important; }\n.gcf-decline:active { transform: scale(0.97) !important; }\n`;function Banner({datenschutzUrl,onConsent}){return /*#__PURE__*/_jsx(\"div\",{className:\"gcf-overlay\",children:/*#__PURE__*/_jsxs(\"div\",{className:\"gcf-card\",children:[/*#__PURE__*/_jsxs(\"div\",{className:\"gcf-deco\",children:[/*#__PURE__*/_jsx(\"div\",{className:\"gcf-diamond\"}),/*#__PURE__*/_jsx(\"div\",{className:\"gcf-line\"}),/*#__PURE__*/_jsx(\"div\",{className:\"gcf-diamond\"})]}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:\"8px\"},children:[/*#__PURE__*/_jsx(\"p\",{className:\"gcf-title\",children:\"Cookies & Datenschutz\"}),/*#__PURE__*/_jsxs(\"p\",{className:\"gcf-text\",children:[\"Wir nutzen Google Analytics, um zu verstehen wie unsere Website genutzt wird und unser Angebot zu verbessern. Ohne Ihre Zustimmung werden keine Analyse-Cookies gesetzt.\",\" \",/*#__PURE__*/_jsx(\"a\",{href:datenschutzUrl,className:\"gcf-link\",children:\"Mehr erfahren\"})]})]}),/*#__PURE__*/_jsxs(\"div\",{className:\"gcf-btns\",children:[/*#__PURE__*/_jsx(\"button\",{className:\"gcf-accept\",onClick:()=>onConsent(true),children:\"Alle akzeptieren\"}),/*#__PURE__*/_jsx(\"button\",{className:\"gcf-decline\",onClick:()=>onConsent(false),children:\"Nur notwendige\"})]})]})});}export default function CookieBanner({datenschutzUrl=\"/datenschutzerklaerung\"}){const[visible,setVisible]=useState(false);const[mounted,setMounted]=useState(false);useEffect(()=>{if(!document.getElementById(\"gcf-styles\")){const tag=document.createElement(\"style\");tag.id=\"gcf-styles\";tag.textContent=BANNER_CSS;document.head.appendChild(tag);}if(!document.getElementById(\"gcf-rtypo\")){const tag=document.createElement(\"style\");tag.id=\"gcf-rtypo\";tag.textContent=RESPONSIVE_CSS;document.head.appendChild(tag);}setMounted(true);try{const consent=localStorage.getItem(COOKIE_KEY);if(!consent)setTimeout(()=>setVisible(true),500);}catch(e){}},[]);const handleConsent=accepted=>{try{localStorage.setItem(COOKIE_KEY,accepted?\"accepted\":\"declined\");}catch(e){}if(typeof window!==\"undefined\"&&window.gtag){window.gtag(\"consent\",\"update\",{analytics_storage:accepted?\"granted\":\"denied\"});}setVisible(false);};if(!mounted||!visible)return null;return /*#__PURE__*/ReactDOM.createPortal(/*#__PURE__*/_jsx(Banner,{datenschutzUrl:datenschutzUrl,onConsent:handleConsent}),document.body);}addPropertyControls(CookieBanner,{datenschutzUrl:{type:ControlType.String,title:\"Datenschutz-URL\",defaultValue:\"/datenschutzerklaerung\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"CookieBanner\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./CookieBanner_1.map"],"mappings":"wOAC8B,GAAU,UAAU,CAAC,mBAAmB,eAAe,CAAC,CAAc,EAAM,CAAC,CAAC,cAAc,GAAK,MAAM,CAAC,CAAC,cAAc,QAAQ,OAAO,SAAS,MAAM,SAAS,aAAa,QAAQ,IAAI,uEAAuE,OAAO,MAAM,CAAC,CAAC,cAAc,QAAQ,OAAO,SAAS,MAAM,SAAS,aAAa,QAAQ,IAAI,2EAA2E,OAAO,MAAM,CAAC,CAAC,CAAC,CAAc,EAAI,CAAC,01BAA01B,g5BAAg5B,44BAA44B,CAAc,EAAU,kBCkFnnG,SAAS,EAAO,CAAC,iBAAe,aAAW,CAAC,OAAoB,EAAK,MAAM,CAAC,UAAU,cAAc,SAAsB,EAAM,MAAM,CAAC,UAAU,WAAW,SAAS,CAAc,EAAM,MAAM,CAAC,UAAU,WAAW,SAAS,CAAc,EAAK,MAAM,CAAC,UAAU,cAAc,CAA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