1import{j as e,m as b,A as O}from"./motion-CPTsCoBv.js";import{r as u}from"./vendor-CffrGP6S.js";import{S as R,N as V,b as y,P as B,M as U,d as H,f as I,s as k,t as _,B as z,A as X,U as Y}from"./index-6Yb0bfN3.js";import D from"./FooterSection-COjPr7D1.js";import{A as ee}from"./arrow-left-D3nw5gYq.js";import{A as q}from"./arrow-right-B8XcmYNm.js";import{L as se}from"./loader-circle-CcQk8qER.js";import{S as te}from"./send-2A6wZzl5.js";import{G as W}from"./graduation-cap-WdjVv3Ty.js";import{S as L}from"./sparkles-CwFAEXLx.js";import{U as T}from"./users-69Sl9G8a.js";import{E as le}from"./euro-BO7FvCai.js";import"./router-BFuUi11d.js";import"./ui-DoNskkHx.js";const C=[{id:"qcg",title:"Qualifizierungschancengesetz",shortTitle:"QCG",icon:W,desc:"Bis zu 100 % Ãbernahme der Weiterbildungskosten und bis zu 75 % Lohnkostenzuschuss",color:"hsl(var(--gold))"},{id:"kompass",title:"Kompassförderung",shortTitle:"KOMPASS",icon:H,desc:"Individuelle Karriereberatung und gezielte Weiterbildung für Beschäftigte",color:"hsl(200, 70%, 50%)"},{id:"forschung",title:"Forschungszulage",shortTitle:"FZulG",icon:I,desc:"Bis zu 3,5 Mio. ⬠Steuergutschrift für Forschung und Entwicklung",color:"hsl(150, 60%, 45%)"},{id:"unsicher",title:"Noch unsicher",shortTitle:"Beratung",icon:L,desc:"Lass uns gemeinsam herausfinden, welches Programm am besten zu dir passt",color:"hsl(280, 60%, 55%)"}],S=[{id:"1-9",label:"1 â 9 Mitarbeiter",sub:"Kleinstunternehmen"},{id:"10-49",label:"10 â 49 Mitarbeiter",sub:"Kleines Unternehmen"},{id:"50-249",label:"50 â 249 Mitarbeiter",sub:"Mittleres Unternehmen"},{id:"250+",label:"250+ Mitarbeiter",sub:"GroÃunternehmen"}],K=4;function w(){const l=Math.floor(Math.random()*10)+1,a=Math.floor(Math.random()*10)+1;return{a:l,b:a,answer:l+a}}function ke(){const[l,a]=u.useState(0),[t,r]=u.useState(null),[o,m]=u.useState(null),[s,i]=u.useState({name:"",email:"",phone:"",company:"",message:"",qcgMitarbeiterAnzahl:"",qcgInfoEingeholt:"",qcgArbeitsagenturKontakt:"",kompassUnternehmensgroesse:"",forschungskostenLetzte4Jahre:""}),[h,f]=u.useState(!1),[g,d]=u.useState(!1),[A,F]=u.useState(w),[j,N]=u.useState(""),[J,p]=u.useState(!1),$=j.trim()!==""&&parseInt(j.trim(),10)===A.answer,G=l===0&&t||l===1&&(t==="kompass"?s.kompassUnternehmensgroesse.trim()!=="":o)||l===2&&s.name&&s.email&&s.company||l===3,P=async()=>{if(!$){p(!0),F(w()),N("");return}p(!1),d(!0);const n=C.find(v=>v.id===t)?.title||"Noch unsicher",c=t==="kompass"?`${s.kompassUnternehmensgroesse} Mitarbeiter`:S.find(v=>v.id===o)?.label||o||"â",M=crypto.randomUUID(),x=[];t==="qcg"&&(s.qcgMitarbeiterAnzahl&&x.push(`Mitarbeiter zur Förderung: ${s.qcgMitarbeiterAnzahl}`),s.qcgInfoEingeholt&&x.push(`Bereits informiert: ${s.qcgInfoEingeholt}`),s.qcgArbeitsagenturKontakt&&x.push(`Arbeitsagentur-Kontakt: ${s.qcgArbeitsagenturKontakt}`)),t==="forschung"&&s.forschungskostenLetzte4Jahre&&x.push(`Forschungskosten letzte 4 Jahre: ca. ${s.forschungskostenLetzte4Jahre} â¬`);const Q=x.length>0?x.join(` 2`):"",E=[s.message,Q].filter(Boolean).join(` 3 4--- 5Zusätzliche Angaben: 6`);try{await k.functions.invoke("create-crm-lead",{body:{name:s.name,email:s.email,phone:s.phone,company:s.company,program:t,companySize:c,message:E}}),await k.functions.invoke("send-transactional-email",{body:{templateName:"contact-confirmation",recipientEmail:s.email,idempotencyKey:`contact-confirm-${M}`,templateData:{name:s.name,program:n}}}),await k.functions.invoke("send-transactional-email",{body:{templateName:"contact-notification",recipientEmail:"[email protected]",idempotencyKey:`contact-notify-${M}`,templateData:{name:s.name,email:s.email,phone:s.phone,company:s.company,program:n,companySize:c,message:E}}}),f(!0)}catch{_({title:"Fehler beim Senden",description:"Bitte versuche es erneut oder kontaktiere uns direkt.",variant:"destructive"})}finally{d(!1)}},Z=C.find(n=>n.id===t);return e.jsxs("div",{className:"min-h-screen flex flex-col",style:{background:"hsl(var(--background))"},children:[e.jsx(R,{title:"Kontakt | Förder-Consult DE â Kostenlose Erstberatung",description:"Kontaktiere Förder-Consult DE für eine kostenlose Erstberatung zu Fördermitteln und Weiterbildung. Wir melden uns innerhalb von 24 Stunden.",canonical:"/kontakt",keywords:"Förder-Consult Kontakt, Erstberatung Fördermittel, kostenlose Beratung Weiterbildung"}),e.jsx(V,{}),e.jsx("main",{className:"flex-1 pt-32 pb-24",children:e.jsxs("div",{className:"container mx-auto px-6",children:[e.jsxs("div",{className:"text-center mb-16 max-w-3xl mx-auto",children:[e.jsx("span",{className:"section-badge mb-6 inline-block",children:"Kontakt"}),e.jsx("h1",{className:"text-4xl sm:text-5xl font-bold mb-6",style:{color:"hsl(var(--navy))"},children:"Dein Weg zur Förderung beginnt hier"}),e.jsx("p",{className:"text-lg leading-relaxed",style:{color:"hsl(var(--muted-foreground))"},children:"In wenigen Schritten zur passenden Beratung. Wähle dein Förderprogramm, gib uns ein paar Infos und wir melden uns innerhalb von 24 Stunden bei dir."})]}),!h&&e.jsxs("div",{className:"max-w-2xl mx-auto mb-12",children:[e.jsx("div",{className:"flex items-center justify-between mb-3",children:["Programm","Unternehmen","Kontaktdaten","Zusammenfassung"].map((n,c)=>e.jsxs("button",{onClick:()=>{c<l&&a(c)},className:"flex items-center gap-2 text-sm font-semibold transition-all duration-300",style:{color:c<=l?"hsl(var(--navy))":"hsl(var(--muted-foreground))",opacity:c<=l?1:.4,cursor:c<l?"pointer":"default"},children:[e.jsx("span",{className:"w-8 h-8 rounded-full flex items-center justify-center text-xs font-bold transition-all duration-300",style:{background:c<l?"hsl(var(--gold))":c===l?"hsl(var(--navy))":"hsl(var(--border))",color:c<=l?"white":"hsl(var(--muted-foreground))"},children:c<l?e.jsx(y,{className:"w-4 h-4"}):c+1}),e.jsx("span",{className:"hidden sm:inline",children:n})]},n))}),e.jsx("div",{className:"h-1.5 rounded-full overflow-hidden",style:{background:"hsl(var(--border))"},children:e.jsx(b.div,{className:"h-full rounded-full",style:{background:"hsl(var(--gold))"},animate:{width:`${(l+1)/K*100}%`},transition:{duration:.5,ease:[.16,1,.3,1]}})})]}),e.jsxs("div",{className:"max-w-3xl mx-auto",children:[e.jsx(O,{mode:"wait",children:h?e.jsx(ie,{},"success"):e.jsxs(b.div,{initial:{opacity:0,x:40}
6,animate:{opacity:1,x:0},exit:{opacity:0,x:-40},transition:{duration:.35,ease:[.16,1,.3,1]},children:[l===0&&e.jsx(re,{selected:t,onSelect:n=>{r(n),setTimeout(()=>a(1),350)}}),l===1&&e.jsx(ae,{selected:o,selectedProgram:t,kompassSize:s.kompassUnternehmensgroesse,onSelect:n=>{m(n),setTimeout(()=>a(2),350)},onKompassSizeChange:n=>i(c=>({...c,kompassUnternehmensgroesse:n})),onKompassNext:()=>a(2)}),l===2&&e.jsx(ne,{formData:s,onChange:i,selectedProgram:t}),l===3&&e.jsx(oe,{program:Z,size:o,formData:s,selectedProgram:t,captcha:A,captchaInput:j,captchaError:J,onCaptchaChange:n=>{N(n),p(!1)},onRefreshCaptcha:()=>{F(w()),N(""),p(!1)}})]},l)}),!h&&e.jsxs("div",{className:"flex items-center justify-between mt-10",children:[e.jsxs("button",{onClick:()=>a(n=>Math.max(0,n-1)),className:"flex items-center gap-2 text-sm font-semibold transition-opacity duration-200 cursor-pointer",style:{color:"hsl(var(--navy))",opacity:l===0?0:1,pointerEvents:l===0?"none":"auto"},children:[e.jsx(ee,{className:"w-4 h-4"})," Zurück"]}),l===1&&t==="kompass"&&e.jsxs("button",{onClick:()=>a(2),disabled:!s.kompassUnternehmensgroesse.trim(),className:"btn-cta disabled:opacity-40 disabled:cursor-not-allowed",children:["Weiter ",e.jsx(q,{className:"w-5 h-5"})]}),l===2&&e.jsxs("button",{onClick:()=>a(n=>Math.min(K-1,n+1)),disabled:!G,className:"btn-cta disabled:opacity-40 disabled:cursor-not-allowed",children:["Weiter ",e.jsx(q,{className:"w-5 h-5"})]}),l===3&&e.jsx("button",{onClick:P,disabled:g,className:"btn-cta disabled:opacity-60",children:g?e.jsxs(e.Fragment,{children:[e.jsx(se,{className:"w-5 h-5 animate-spin"})," Wird gesendetâ¦"]}):e.jsxs(e.Fragment,{children:["Anfrage absenden ",e.jsx(te,{className:"w-5 h-5"})]})})]})]}),!h&&e.jsx("div",{className:"mt-20 max-w-3xl mx-auto",children:e.jsxs("div",{className:"glass-3d p-8 text-center",children:[e.jsx("p",{className:"text-sm font-semibold mb-4",style:{color:"hsl(var(--navy))"},children:"Lieber direkt sprechen?"}),e.jsxs("div",{className:"flex flex-wrap items-center justify-center gap-6",children:[e.jsxs("a",{href:"tel:+4979357269950",className:"flex items-center gap-2 text-sm font-medium transition-opacity hover:opacity-70",style:{color:"hsl(var(--navy))"},children:[e.jsx(B,{className:"w-4 h-4"})," +49 7935 7269950"]}),e.jsxs("a",{href:"mailto:[email protected]",className:"flex items-center gap-2 text-sm font-medium transition-opacity hover:opacity-70",style:{color:"hsl(var(--navy))"},children:[e.jsx(U,{className:"w-4 h-4"})," [email protected]"]})]})]})})]})}),e.jsx(D,{})]})}function re({selected:l,onSelect:a}){return e.jsxs("div",{children:[e.jsx("h2",{className:"text-2xl font-bold mb-2 text-center",style:{color:"hsl(var(--navy))"},children:"Welches Förderprogramm interessiert dich?"}),e.jsx("p",{className:"text-sm text-center mb-8",style:{color:"hsl(var(--muted-foreground))"},children:"Wähle das Programm, das am besten zu deinem Unternehmen passt."}),e.jsx("div",{className:"grid sm:grid-cols-2 gap-4",children:C.map(t=>{const r=l===t.id,o=t.icon;return e.jsxs("button",{onClick:()=>a(t.id),className:"relative text-left p-6 rounded-[24px] border-2 transition-all duration-300 cursor-pointer group",style:{borderColor:r?t.color:"hsl(var(--border))",background:r?`${t.color}10`:"white",boxShadow:r?`0 8px 32px ${t.color}20`:"0 2px 8px hsla(222,60%,12%,0.04)"},children:[r&&e.jsx(b.div,{layoutId:"program-check",className:"absolute top-4 right-4",initial:{scale:0},animate:{scale:1},transition:{type:"spring",stiffness:400,damping:20},children:e.jsx(y,{className:"w-6 h-6",style:{color:t.color}})}),e.jsx("div",{className:"w-12 h-12 rounded-2xl flex items-center justify-center mb-4 transition-all duration-300",style:{background:r?t.color:"hsl(var(--cream))"},children:e.jsx(o,{className:"w-6 h-6",style:{color:r?"white":"hsl(var(--navy))"}})}),e.jsx("h3",{className:"text-lg font-bold mb-1",style:{color:"hsl(var(--navy))"},children:t.title}),e.jsx("span",{className:"text-[10px] font-bold px-2 py-0.5 rounded-full inline-block mb-3",style:{background:`${t.color}20`,color:t.color},children:t.shortTitle}),e.jsx("p",{className:"text-xs leading-relaxed",style:{color:"hsl(var(--muted-foreground))"},children:t.desc})]},t.id)})})]})}function ae({selected:l,selectedProgram:a,kompassSize:t,onSelect:r,onKompassSizeChange:o,onKompassNext:m}){return a==="kompass"?e.jsxs("div",{children:[e.jsx("h2",{className:"text-2xl font-bold mb-2 text-center",style:{color:"hsl(var(--navy))"}
6,children:"Wie groà ist dein Unternehmen?"}),e.jsx("p",{className:"text-sm text-center mb-8",style:{color:"hsl(var(--muted-foreground))"},children:"Gib die Anzahl der Mitarbeiter in deinem Unternehmen an."}),e.jsx("div",{className:"max-w-md mx-auto",children:e.jsxs("div",{className:"glass-float p-8 text-center",children:[e.jsx("div",{className:"w-16 h-16 rounded-2xl flex items-center justify-center mx-auto mb-6",style:{background:"hsl(var(--cream))"},children:e.jsx(T,{className:"w-8 h-8",style:{color:"hsl(var(--navy))"}})}),e.jsx("label",{className:"text-xs font-semibold mb-3 block",style:{color:"hsl(var(--navy))"},children:"Anzahl Mitarbeiter"}),e.jsx("input",{type:"number",min:"1",value:t,onChange:s=>o(s.target.value),onKeyDown:s=>{s.key==="Enter"&&t.trim()&&m()},placeholder:"z. B. 45",className:"w-full max-w-[200px] mx-auto px-6 py-4 rounded-2xl border text-center text-2xl font-bold outline-none transition-all duration-200",style:{borderColor:"hsl(var(--border))",background:"white",color:"hsl(var(--navy))"},onFocus:s=>s.target.style.borderColor="hsl(var(--gold))",onBlur:s=>s.target.style.borderColor="hsl(var(--border))",autoFocus:!0}),e.jsx("p",{className:"text-xs mt-3",style:{color:"hsl(var(--muted-foreground))"},children:'Drücke Enter oder klicke auf âWeiter"'})]})})]}):e.jsxs("div",{children:[e.jsx("h2",{className:"text-2xl font-bold mb-2 text-center",style:{color:"hsl(var(--navy))"},children:"Wie groà ist dein Unternehmen?"}),e.jsx("p",{className:"text-sm text-center mb-8",style:{color:"hsl(var(--muted-foreground))"},children:"Die Förderhöhe hängt oft von der BetriebsgröÃe ab."}),e.jsx("div",{className:"grid sm:grid-cols-2 gap-4",children:S.map(s=>{const i=l===s.id;return e.jsxs("button",{onClick:()=>r(s.id),className:"relative text-left p-6 rounded-[24px] border-2 transition-all duration-300 cursor-pointer",style:{borderColor:i?"hsl(var(--gold))":"hsl(var(--border))",background:i?"hsla(48,95%,50%,0.06)":"white",boxShadow:i?"0 8px 32px hsla(48,95%,50%,0.15)":"0 2px 8px hsla(222,60%,12%,0.04)"},children:[i&&e.jsx(b.div,{layoutId:"size-check",className:"absolute top-4 right-4",initial:{scale:0},animate:{scale:1},transition:{type:"spring",stiffness:400,damping:20},children:e.jsx(y,{className:"w-6 h-6",style:{color:"hsl(var(--gold))"}})}),e.jsx("div",{className:"w-12 h-12 rounded-2xl flex items-center justify-center mb-4",style:{background:i?"hsl(var(--gold))":"hsl(var(--cream))"},children:e.jsx(z,{className:"w-6 h-6",style:{color:i?"white":"hsl(var(--navy))"}})}),e.jsx("h3",{className:"text-lg font-bold",style:{color:"hsl(var(--navy))"},children:s.label}),e.jsx("p",{className:"text-xs mt-1",style:{color:"hsl(var(--muted-foreground))"},children:s.sub})]},s.id)})})]})}function ne({formData:l,onChange:a,selectedProgram:t}){const r=(s,i)=>a({...l,[s]:i}),o=[{key:"name",label:"Dein Name *",icon:Y,type:"text",placeholder:"Max Mustermann"},{key:"email",label:"E-Mail Adresse *",icon:U,type:"email",placeholder:"[email protected]"},{key:"phone",label:"Telefon (optional)",icon:B,type:"tel",placeholder:"0151 1234567"},{key:"company",label:"Unternehmen *",icon:z,type:"text",placeholder:"Muster GmbH"}],m={borderColor:"hsl(var(--border))",background:"white",color:"hsl(var(--navy))"};return e.jsxs("div",{children:[e.jsx("h2",{className:"text-2xl font-bold mb-2 text-center",style:{color:"hsl(var(--navy))"},children:"Wie können wir dich erreichen?"}),e.jsx("p",{className:"text-sm text-center mb-8",style:{color:"hsl(var(--muted-foreground))"},children:"Damit wir uns schnellstmöglich bei dir melden können."}),e.jsxs("div",{className:"space-y-4",children:[o.map(s=>{const i=s.icon;return e.jsxs("div",{className:"relative",children:[e.jsx("label",{className:"text-xs font-semibold mb-1.5 block",style:{color:"hsl(var(--navy))"},children:s.label}),e.jsxs("div",{className:"relative",children:[e.jsx(i,{className:"absolute left-4 top-1/2 -translate-y-1/2 w-4 h-4",style:{color:"hsl(var(--muted-foreground))"}}),e.jsx("input",{type:s.type,value:l[s.key],onChange:h=>r(s.key,h.target.value),placeholder:s.placeholder,className:"w-full pl-11 pr-4 py-3.5 rounded-2xl border text-sm transition-all duration-200 outline-none",style:m,onFocus:h=>h.target.style.borderColor="hsl(var(--gold))",onBlur:h=>h.target.style.borderColor="hsl(var(--border))"})]})]},s.key)}),t==="qcg"&&e.jsxs("div",{className:"glass-float p-6 space-y-4 mt
6-6",children:[e.jsxs("div",{className:"flex items-center gap-2 mb-2",children:[e.jsx(W,{className:"w-4 h-4",style:{color:"hsl(var(--gold))"}}),e.jsx("span",{className:"text-xs font-bold uppercase tracking-wider",style:{color:"hsl(var(--gold))"},children:"Zusätzliche Angaben zum QCG"})]}),e.jsxs("div",{children:[e.jsx("label",{className:"text-xs font-semibold mb-1.5 block",style:{color:"hsl(var(--navy))"},children:"Wie viele Mitarbeiter sollen gefördert werden?"}),e.jsxs("div",{className:"relative",children:[e.jsx(T,{className:"absolute left-4 top-1/2 -translate-y-1/2 w-4 h-4",style:{color:"hsl(var(--muted-foreground))"}}),e.jsx("input",{type:"number",min:"1",value:l.qcgMitarbeiterAnzahl,onChange:s=>r("qcgMitarbeiterAnzahl",s.target.value),placeholder:"z. B. 5",className:"w-full pl-11 pr-4 py-3.5 rounded-2xl border text-sm transition-all duration-200 outline-none",style:m,onFocus:s=>s.target.style.borderColor="hsl(var(--gold))",onBlur:s=>s.target.style.borderColor="hsl(var(--border))"})]})]}),e.jsxs("div",{children:[e.jsx("label",{className:"text-xs font-semibold mb-1.5 block",style:{color:"hsl(var(--navy))"},children:"Hast du dich bereits über das QCG informiert?"}),e.jsx("div",{className:"flex gap-3",children:["Ja","Nein","Teilweise"].map(s=>e.jsx("button",{type:"button",onClick:()=>r("qcgInfoEingeholt",s),className:"flex-1 py-3 rounded-2xl border text-sm font-semibold transition-all duration-200",style:{borderColor:l.qcgInfoEingeholt===s?"hsl(var(--gold))":"hsl(var(--border))",background:l.qcgInfoEingeholt===s?"hsla(48,95%,50%,0.08)":"white",color:"hsl(var(--navy))"},children:s},s))})]}),e.jsxs("div",{children:[e.jsx("label",{className:"text-xs font-semibold mb-1.5 block",style:{color:"hsl(var(--navy))"},children:"Stehst du bereits mit der Arbeitsagentur in Kontakt?"}),e.jsx("div",{className:"flex gap-3",children:["Ja","Nein"].map(s=>e.jsx("button",{type:"button",onClick:()=>r("qcgArbeitsagenturKontakt",s),className:"flex-1 py-3 rounded-2xl border text-sm font-semibold transition-all duration-200",style:{borderColor:l.qcgArbeitsagenturKontakt===s?"hsl(var(--gold))":"hsl(var(--border))",background:l.qcgArbeitsagenturKontakt===s?"hsla(48,95%,50%,0.08)":"white",color:"hsl(var(--navy))"},children:s},s))})]})]}),t==="forschung"&&e.jsxs("div",{className:"glass-float p-6 space-y-4 mt-6",children:[e.jsxs("div",{className:"flex items-center gap-2 mb-2",children:[e.jsx(I,{className:"w-4 h-4",style:{color:"hsl(150, 60%, 45%)"}}),e.jsx("span",{className:"text-xs font-bold uppercase tracking-wider",style:{color:"hsl(150, 60%, 45%)"},children:"Zusätzliche Angaben zur Forschungszulage"})]}),e.jsxs("div",{children:[e.jsx("label",{className:"text-xs font-semibold mb-1.5 block",style:{color:"hsl(var(--navy))"},children:"Wie hoch waren in etwa die Forschungs-/Entwicklungskosten in den letzten 4 Jahren? (â¬)"}),e.jsxs("div",{className:"relative",children:[e.jsx(le,{className:"absolute left-4 top-1/2 -translate-y-1/2 w-4 h-4",style:{color:"hsl(var(--muted-foreground))"}}),e.jsx("input",{type:"text",value:l.forschungskostenLetzte4Jahre,onChange:s=>r("forschungskostenLetzte4Jahre",s.target.value),placeholder:"z. B. 500.000",className:"w-full pl-11 pr-4 py-3.5 rounded-2xl border text-sm transition-all duration-200 outline-none",style:m,onFocus:s=>s.target.style.borderColor="hsl(var(--gold))",onBlur:s=>s.target.style.borderColor="hsl(var(--border))"})]}),e.jsx("p",{className:"text-[11px] mt-1.5",style:{color:"hsl(var(--muted-foreground))"},children:"Eine grobe Schätzung reicht aus. Wir klären die genauen Zahlen im Gespräch."})]})]}),e.jsxs("div",{children:[e.jsx("label",{className:"text-xs font-semibold mb-1.5 block",style:{color:"hsl(var(--navy))"},children:"Deine Nachricht (optional)"}),e.jsx("textarea",{value:l.message,onChange:s=>r("message",s.target.value),placeholder:"Erzähle uns kurz, was du planst oder welche Fragen du hast...",rows:4,className:"w-full px-4 py-3.5 rounded-2xl border text-sm transition-all duration-200 outline-none resize-none",style:m,onFocus:s=>s.target.style.borderColor="hsl(var(--gold))",onBlur:s=>s.target.style.borderColor="hsl(var(--border))"})]})]})]})}function oe({program:l,size:a,formData:t,selectedProgram:r,captcha:o,captchaInput:m,captchaError:s,onCaptchaChange:i,onRefreshCaptcha:h}){const f=l?.icon||L,g=r==="kompass"?`${t.kompassUnternehmensgroesse} Mitarbeiter`:S.find(d=>d.id===a)?.label||a;return e.jsxs("div",{children:[e.jsx("h2",{className:"text-2xl font-bold mb-2 text-center",style:{color:"hsl(var(--navy))"},children:"Fast geschafft! Prüfe deine Angaben"}),e.jsx("p",{className:"text-sm text-center mb-8",style:{color:"hsl(var(--muted-foreground))"},children:"Alles korrekt? Dann sende deine Anfrage ab."}),e.jsxs("div",{className:"glass-3d p-8 space-y-6",children:[e.jsxs("div",{className:"flex items-center gap-4",children:[e.jsx("div",{className:"w-12 h-12 rounded-2xl flex items-center justify-center flex-shrink-0",style:{background:l?.color||"hsl(var(--cream))"},children:e.jsx(f,{className:"w-6 h-6 text-white"})}),e.jsxs("div",{children:[e.jsx("p",{className:"text-xs",style:{color:"hsl(var(--muted-foreground))"},children:"Förderprogramm"}),e.jsx("p",{className:"font-bold",style:{color:"hsl(var(--navy))"},children:l?.title||"Noch unsicher"})]})]}),e.jsx("hr",{style:{borderColor:"hsl(var(--border))"}}),e.jsxs("div",{className:"flex items-center gap-4",children:[e.jsx("div",{className:"w-12 h-12 rounded-2xl flex items-center justify-center flex-shrink-0",style:{background:"hsl(var(--cream))"},children:e.jsx(z,{className:"w-6 h-6",style:{color:"hsl(var(--navy))"}})}),e.jsxs("div",{children:[e.jsx("p",{className:"text-xs",style:{color:"hsl(var(--muted-foreground))"},children:"BetriebsgröÃe"}),e.jsx("p",{className:"font-bold",style:{color:"hsl(var(--navy))"},children:g})]})]}),e.jsx("hr",{style:{borderColor:"hsl(var(--border))"}}),e.jsx("div",{className:"grid sm:grid-cols-2 gap-4",children:[{label:"Name",value:t.name},{label:"E-Mail",value:t.email},{label:"Telefon",value:t.phone||"â"},{label:"Unternehmen",value:t.company}].map(d=>e.jsxs("div",{children:[e.jsx("p",{className:"text-xs",style:{color:"hsl(var(--muted-foreground))"},children:d.label}),e.jsx("p",{className:"font-semibold text-sm",style:{color:"hsl(var(--navy))"},children:d.value})]},d.label))}),r==="qcg"&&(t.qcgMitarbeiterAnzahl||t.qcgInfoEingeholt||t.qcgArbeitsagenturK
6ontakt)&&e.jsxs(e.Fragment,{children:[e.jsx("hr",{style:{borderColor:"hsl(var(--border))"}}),e.jsxs("div",{className:"space-y-2",children:[e.jsx("p",{className:"text-xs font-semibold",style:{color:"hsl(var(--gold))"},children:"QCG-Details"}),t.qcgMitarbeiterAnzahl&&e.jsxs("div",{className:"flex justify-between text-sm",children:[e.jsx("span",{style:{color:"hsl(var(--muted-foreground))"},children:"Mitarbeiter zur Förderung"}),e.jsx("span",{className:"font-semibold",style:{color:"hsl(var(--navy))"},children:t.qcgMitarbeiterAnzahl})]}),t.qcgInfoEingeholt&&e.jsxs("div",{className:"flex justify-between text-sm",children:[e.jsx("span",{style:{color:"hsl(var(--muted-foreground))"},children:"Bereits informiert"}),e.jsx("span",{className:"font-semibold",style:{color:"hsl(var(--navy))"},children:t.qcgInfoEingeholt})]}),t.qcgArbeitsagenturKontakt&&e.jsxs("div",{className:"flex justify-between text-sm",children:[e.jsx("span",{style:{color:"hsl(var(--muted-foreground))"},children:"Arbeitsagentur-Kontakt"}),e.jsx("span",{className:"font-semibold",style:{color:"hsl(var(--navy))"},children:t.qcgArbeitsagenturKontakt})]})]})]}),r==="forschung"&&t.forschungskostenLetzte4Jahre&&e.jsxs(e.Fragment,{children:[e.jsx("hr",{style:{borderColor:"hsl(var(--border))"}}),e.jsxs("div",{className:"space-y-2",children:[e.jsx("p",{className:"text-xs font-semibold",style:{color:"hsl(150, 60%, 45%)"},children:"Forschungszulage-Details"}),e.jsxs("div",{className:"flex justify-between text-sm",children:[e.jsx("span",{style:{color:"hsl(var(--muted-foreground))"},children:"F&E-Kosten (letzte 4 Jahre)"}),e.jsxs("span",{className:"font-semibold",style:{color:"hsl(var(--navy))"},children:["ca. ",t.forschungskostenLetzte4Jahre," â¬"]})]})]})]}),t.message&&e.jsxs(e.Fragment,{children:[e.jsx("hr",{style:{borderColor:"hsl(var(--border))"}}),e.jsxs("div",{children:[e.jsx("p",{className:"text-xs mb-1",style:{color:"hsl(var(--muted-foreground))"},children:"Nachricht"}),e.jsx("p",{className:"text-sm leading-relaxed",style:{color:"hsl(var(--navy))"},children:t.message})]})]})]}),e.jsxs("div",{className:"mt-6 glass-3d p-6",children:[e.jsxs("label",{className:"text-xs font-semibold mb-2 block",style:{color:"hsl(var(--navy))"},children:["Sicherheitsfrage: Was ergibt ",o.a," + ",o.b,"?"]}),e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsxs("div",{className:"flex items-center gap-2 px-4 py-3 rounded-2xl text-lg font-bold",style:{background:"hsl(var(--cream))",color:"hsl(var(--navy))"},children:[o.a," + ",o.b," ="]}),e.jsx("input",{type:"number",value:m,onChange:d=>i(d.target.value),placeholder:"?",className:"w-20 px-4 py-3 rounded-2xl border text-center text-lg font-bold outline-none transition-all duration-200",style:{borderColor:s?"hsl(0, 70%, 55%)":"hsl(var(--border))",background:"white",color:"hsl(var(--navy))"},onFocus:d=>d.target.style.borderColor="hsl(var(--gold))",onBlur:d=>d.target.style.borderColor=s?"hsl(0, 70%, 55%)":"hsl(var(--border))"}),e.jsx("button",{onClick:h,className:"text-xs font-semibold px-3 py-2 rounded-xl transition-opacity hover:opacity-70",style:{color:"hsl(var(--muted-foreground))"},type:"button",children:"Neue Aufgabe"})]}),s&&e.jsx("p",{className:"text-xs mt-2 font-semibold",style:{color:"hsl(0, 70%, 55%)"},children:"Falsche Antwort. Bitte versuche es erneut."})]})]})}function ie(){return e.jsxs(b.div,{initial:{opacity:0,scale:.95},animate:{opacity:1,scale:1},transition:{duration:.5,ease:[.16,1,.3,1]},className:"text-center py-16",children:[e.jsx(b.div,{initial:{scale:0},animate:{scale:1},transition:{type:"spring",stiffness:300,damping:20,delay:.2},className:"w-20 h-20 rounded-full mx-auto mb-8 flex items-center justify-center",style:{background:"hsl(var(--gold))"},children:e.jsx(y,{className:"w-10 h-10 text-white"})}),e.jsx("h2",{className:"text-3xl font-bold mb-4",style:{color:"hsl(var(--navy))"},children:"Anfrage gesendet!"}),e.jsx("p",{className:"text-base leading-relaxed mb-8 max-w-lg mx-auto",style:{color:"hsl(var(--muted-foreground))"},children:"Vielen Dank für deine Anfrage. Unser Team meldet sich innerhalb von 24 Stunden bei dir mit einer persönlichen Ersteinschätzung zu deinen Fördermöglichkeiten."}),e.jsxs("a",{href:"/",className:"btn-cta",children:["Zurück zur Startseite ",e.jsx(X,{className:"w-5 h-5"})]})]})}export{ke as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.