{"version":3,"file":"ProblemALC.CCqVoh57.mjs","names":["p","__esmMin","p","c","init_jsx_runtime","addPropertyControls","init_framer_Bf4_tcb2","ProblemALC","p$1","props","A","items","l","x","a","img","u","s","ch","n","ratio","css","bildUrl","i","it","init_ProblemALC","fallback","ControlType"],"sources":["https:/framerusercontent.com/modules/rq0x4Kj7Tj4k6bXibdD5/vdTql9Cs6MMQa17Ubd20/ProblemALC.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";/**\n * ALC Leistungsseite, „Kennst du das?“: links Kleinzeile, Überschrift und Foto,\n * rechts nummerierte Situationen. Situationen: je Zeile „Titel | Text“.\n * „Foto Format“ (Standard 16/11 = bisher) und „Foto Ausschnitt“ (object-position, leer = Mitte),\n * damit Köpfe nicht abgeschnitten werden.\n * Situationstitel sind H3 (Feedback ALC 15.10.2026: Überschriften sauber auszeichnen).\n *\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight auto\n * @framerIntrinsicWidth 1440\n */const bildUrl=(img,fallback)=>img&&img.src?String(img.src).split(\"?\")[0]:fallback;export default function ProblemALC(props){const p=props;const A=p.accent;const items=String(p.items||\"\").split(\"\\n\").map(l=>l.split(\"|\").map(x=>x.trim())).filter(a=>a[0]);const img=(u,s)=>u&&u.includes(\"framerusercontent\")&&!u.includes(\"?\")?u+\"?scale-down-to=\"+s:u;const ch=n=>`polygon(${n}px 0,100% 0,100% calc(100% - ${n}px),calc(100% - ${n}px) 100%,0 100%,0 ${n}px)`;const ratio=/^\\d+(\\.\\d+)?\\s*\\/\\s*\\d+(\\.\\d+)?$/.test(String(p.imgRatio||\"\"))?p.imgRatio:\"16/11\";const css=`\n@font-face{font-family:\"ALC Squarix\";src:url(\"https://framerusercontent.com/assets/c98ubWZo9idiFZETmB14mBIrEyk.woff2\") format(\"woff2\");font-display:swap}\n@font-face{font-family:\"ALC Debugger\";src:url(\"https://framerusercontent.com/assets/5cql8S8KWPth1QEZXYohmsUQU.woff2\") format(\"woff2\");font-weight:400;font-display:swap}\n.alcpr{container-type:inline-size;width:100%}\n.alcpr-in{--gut:clamp(16px,3cqw,44px);background:${p.bg};color:#f4f2ee;font-family:\"Funnel Sans\",\"Inter\",\"Helvetica Neue\",Arial,sans-serif;padding:clamp(72px,8cqw,128px) var(--gut);display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:clamp(28px,4cqw,72px);align-items:start;box-sizing:border-box}\n.alcpr-in *{box-sizing:border-box}\n.alcpr-k{font-family:\"ALC Debugger\",monospace;font-size:12px;letter-spacing:.16em;text-transform:uppercase;color:${A};margin:0 0 14px}\n.alcpr-h{font-family:\"ALC Squarix\",\"Arial Narrow\",sans-serif;font-weight:400;font-size:clamp(36px,4.4cqw,64px);line-height:.98;margin:0;text-wrap:balance}\n.alcpr-h em{font-style:normal;color:${A}}\n.alcpr-img{display:block;width:100%;margin-top:32px;aspect-ratio:${ratio};object-fit:cover;filter:grayscale(1);clip-path:${ch(18)};-webkit-clip-path:${ch(18)}}\n.alcpr-l{list-style:none;margin:0;padding:0}\n.alcpr-l li{display:grid;grid-template-columns:64px minmax(0,1fr);gap:18px;padding:26px 0;border-top:1px solid rgba(244,242,238,.12)}\n.alcpr-l li:last-child{border-bottom:1px solid rgba(244,242,238,.12)}\n.alcpr-n{font-family:\"ALC Squarix\",sans-serif;font-size:44px;line-height:1;color:transparent;-webkit-text-stroke:1px ${A}}\n.alcpr-l h3{display:block;font-family:\"ALC Squarix\",sans-serif;font-weight:400;font-size:clamp(22px,2cqw,28px);line-height:1.1;margin:0 0 6px}\n.alcpr-l span{color:#b6b4af;font-size:17px;line-height:1.6}\n@container (max-width:900px){.alcpr-in{grid-template-columns:1fr}}\n@container (max-width:600px){.alcpr-l li{grid-template-columns:44px minmax(0,1fr);gap:12px}.alcpr-n{font-size:32px}}\n`;return /*#__PURE__*/_jsxs(\"div\",{className:\"alcpr\",children:[/*#__PURE__*/_jsx(\"style\",{dangerouslySetInnerHTML:{__html:css}}),/*#__PURE__*/_jsxs(\"section\",{className:\"alcpr-in\",\"aria-label\":p.kicker,children:[/*#__PURE__*/_jsxs(\"div\",{children:[/*#__PURE__*/_jsx(\"p\",{className:\"alcpr-k\",children:p.kicker}),/*#__PURE__*/_jsxs(\"h2\",{className:\"alcpr-h\",children:[p.heading,\" \",/*#__PURE__*/_jsx(\"em\",{children:p.headingAccent})]}),bildUrl(p.imgBild,p.img)?/*#__PURE__*/_jsx(\"img\",{className:\"alcpr-img\",src:img(bildUrl(p.imgBild,p.img),1024),alt:p.imgBild&&p.imgBild.alt?p.imgBild.alt:p.alt,style:p.imgPos?{objectPosition:p.imgPos}:undefined,loading:\"lazy\",decoding:\"async\"}):null]}),/*#__PURE__*/_jsx(\"ol\",{className:\"alcpr-l\",children:items.map((it,i)=>/*#__PURE__*/_jsxs(\"li\",{children:[/*#__PURE__*/_jsx(\"span\",{className:\"alcpr-n\",\"aria-hidden\":\"true\",children:String(i+1).padStart(2,\"0\")}),/*#__PURE__*/_jsxs(\"div\",{children:[/*#__PURE__*/_jsx(\"h3\",{children:it[0]}),it[1]?/*#__PURE__*/_jsx(\"span\",{children:it[1]}):null]})]},i))})]})]});}ProblemALC.defaultProps={accent:\"#C23A45\",bg:\"#121214\",kicker:\"Kennst du das?\",heading:\"Physiotherapie, bei der du\",headingAccent:\"nicht wei\\xdft, wo du stehst.\",img:\"https://framerusercontent.com/images/62Whh4QjVk4m431IYXpnNzu6ZgE.webp\",alt:\"Knie mit Pflastern nach einer Operation\",imgRatio:\"16/11\",imgPos:\"\",items:\"Jedes Mal ein anderer Therapeut. | Du erz\\xe4hlst deine Geschichte zum dritten Mal.\\nNach der OP sagt dir jeder etwas anderes. | Der Arzt, der Physio, das Internet.\\nDer Schmerz ist weg, aber du traust deinem Knie nicht. | Beim ersten Sprint hast du ein mulmiges Gef\\xfchl.\\nDas Rezept ist aufgebraucht, aber belastbar bist du nicht. | Treppe geht, Fu\\xdfball noch lange nicht.\"};addPropertyControls(ProblemALC,{accent:{type:ControlType.Color,title:\"Akzentfarbe\"},bg:{type:ControlType.Color,title:\"Hintergrund\"},kicker:{type:ControlType.String,title:\"Kleinzeile\"},heading:{type:ControlType.String,title:\"\\xdcberschrift\"},headingAccent:{type:ControlType.String,title:\"\\xdcberschrift Akzent\"},img:{type:ControlType.String,title:\"Foto (leer = aus)\"},imgBild:{type:ControlType.ResponsiveImage,title:\"Bild: Foto\"},alt:{type:ControlType.String,title:\"Foto Alt\"},imgRatio:{type:ControlType.String,title:\"Foto Format (z. B. 16/11, 1/1)\"},imgPos:{type:ControlType.String,title:\"Foto Ausschnitt (z. B. 50% 0%)\"},items:{type:ControlType.String,title:\"Situationen (Titel | Text)\",displayTextArea:true}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ProblemALC\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ProblemALC.map"],"mappings":"A,8JAUqF,SAAwBO,EAAW,EAAM,CAAC,IAAMP,EAAES,EAAYC,EAAEV,EAAE,OAAaW,EAAM,OAAOX,EAAE,OAAO,EAAE,CAAC,CAAC,MAAM;CAAI,CAAC,CAAC,IAAI,GAAGY,EAAE,MAAM,GAAG,CAAC,CAAC,IAAI,GAAGC,EAAE,KAAK,CAAC,CAAC,CAAC,CAAC,OAAO,GAAGC,EAAE,EAAE,EAAQC,GAAK,EAAE,IAAIC,GAAGA,EAAE,SAAS,mBAAmB,GAAG,CAACA,EAAE,SAAS,GAAG,EAAEA,EAAE,kBAAkBC,EAAED,EAAQE,EAAG,GAAG,WAAWC,EAAE,+BAA+BA,EAAE,kBAAkBA,EAAE,oBAAoBA,EAAE,KAAWC,EAAM,mCAAmC,KAAK,OAAOpB,EAAE,UAAU,EAAE,CAAC,EAAEA,EAAE,SAAS,QAAcqB,EAAI;;;;mDAI7frB,EAAE,GAAG;;m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