1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/index-COZbFGRV.js","assets/react-B4L68OGK.js","assets/radix-DjD5lmjs.js","assets/query-BPG6VFGJ.js","assets/supabase-DC3VomA8.js","assets/index-BQYLI49f.css"])))=>i.map(i=>d[i]); 2import{E as P,b as B,F as D,c as j,_ as K,J as O,M as R,K as S,r as q,L as W,d as $,e as b,N as i,I as o,a as H,O as u,s as z}from"./index-COZbFGRV.js";import{r as h,j as e}from"./react-B4L68OGK.js";import{T as U}from"./textarea-nkVAIaPi.js";import{B as V}from"./BotGuard-DXVaryiV.js";import{s as J}from"./netlifyForms-mMRJQsTl.js";import"./radix-DjD5lmjs.js";import"./query-BPG6VFGJ.js";import"./supabase-DC3VomA8.js";const A="https://www.openstreetmap.org/search?query=Gewerbestrasse%2012%2C%208800%20Thalwil",Z="Z813568_Axperience_Office.jpg",ne=()=>{const{toast:p}=P(),{t,language:a}=B(),[y,v]=h.useState(!1),c=h.useRef(null),[N,T]=h.useState(""),x=h.useRef(!1),F=D("contact.delivery_mode","netlify"),M=()=>{x.current||(x.current=!0,u("form_start",{form_name:"kontakt",language:a}))},G=j("contact","hero_title",t("contact.hero.title")),C=j("contact","hero_description",t("contact.hero.description")),E=j("contact","intro",t("contact.form.description"));h.useEffect(()=>{K(async()=>{const{toPublicImageUrl:s}=await import("./index-COZbFGRV.js").then(l=>l.bo);return{toPublicImageUrl:s}},__vite__mapDeps([0,1,2,3,4,5])).then(({toPublicImageUrl:s})=>{T(s("/media/assets/karriere/"+Z))})},[]);const I=[{icon:O,title:t("contact.info.phone"),content:"+41 44 521 33 00",href:"tel:+41445213300"},{icon:R,title:t("contact.info.email"),content:"[email protected]",href:"mailto:[email protected]"},{icon:S,title:t("contact.info.address"),content:"Gewerbestrasse 12, 8800 Thalwil",href:A},{icon:q,title:t("contact.info.hours"),content:t("contact.info.hoursValue"),href:null}],L=async s=>{s.preventDefault();const l=c.current?.validate()??null;if(l!==null){if(l!==""){p({title:a==="de"?"Hinweis":"Notice",description:l,variant:"destructive"});return}p({title:t("contact.form.success.title"),description:t("contact.form.success.description")}),s.target.reset(),c.current?.reset();return}v(!0);const k=s.target,n=new FormData(k),f=String(n.get("firstName")??""),g=String(n.get("lastName")??""),r={firstName:f,lastName:g,company:String(n.get("company")??""),email:String(n.get("email")??""),phone:String(n.get("phone")??""),subject:String(n.get("subject")??""),message:String(n.get("message")??"")};try{const m=c.current?.getToken();let d=null;F==="netlify"&&(d=await J("kontakt",{name:`${f} ${g}`.trim(),email:r.email,company:r.company,phone:r.phone,subject:r.subject,message:r.message,locale:a,page_url:window.location.href,page_title:document.title,source:"kontakt"}),d.ok||console.warn("Netlify Forms failed, falling back to SMTP",d));const w=d?.ok===!0,{error:_}=await z.functions.invoke("submit-contact",{body:{source:"kontakt",page_url:window.location.href,page_title:document.title,locale:a,name:`${f} ${g}`.trim(),email:r.email,company:r.company,phone:r.phone,subject:r.subject,message:r.message,payload:r,hp:m?.honeypot??"",elapsed_ms:m?.elapsedMs??0,delivery:w?"netlify":"smtp",netlify:d??void 0}});if(_)throw _;u("generate_lead",{form_name:"kontakt",language:a,delivery:w?"netlify":"smtp"}),p({title:t("contact.form.success.title"),description:t("contact.form.success.description")}),k.reset(),x.current=!1,c.current?.reset()}catch(m){u("form_error",{form_name:"kontakt",language:a,reason:String(m?.message??"unknown").slice(0,100)}),p({title:"Fehler",description:m?.message??"Bitte später erneut versuchen.",variant:"destructive"})}finally{v(!1)}};return e.jsxs(W,{children:[e.jsx($,{title:a==="de"?"Kontakt - Axperience AG":"Contact - Axperience AG",description:a==="de"?"Nehmen Sie Kontakt mit Axperience auf. Wir beraten Sie gerne zu Microsoft Dynamics 365 Finance & Supply Chain Management - persönlich, ehrlich, kompetent.":"Get in touch with Axperience in Thalwil. We advise you on Microsoft Dynamics 365 Finance & Supply Chain Management - personally, honestly, competently.",path:a==="de"?"/kontakt":"/contact",jsonLd:{"@context":"https://schema.org","@type":"LocalBusiness",name:"Axperience AG",image:"https://axperience.ch/media/brand/Axperience-Logo-RGB.png",telephone:"+41-44-521-33-00",email:"[email protected]",url:"https://axperience.ch/kontakt",address:{"@type":"PostalAddress",streetAddress:"Gewerbestrasse 12",postalCode:"8800",addressLocality:"Thalwil",addressCountry:"CH"},areaServed:["CH","DE","AT","LI"],priceRange:"$$"}}),e.jsxs("section",{className:"relative py-24 md:py-32 bg-brand-gradient-orange overflow-hidden",children:[e.jsx("div",{className:"absolute inset-0 opacity-20",children:e.jsx("div",{className:"absolute top-20 right-20 w-96 h-96 bg-background rounded-full blur-3xl"})}),e.jsx("div",{className:"container-custom relative z-10",children:e.jsxs("div",{className:"max-w-3xl",children:[e.jsxs("h1",{className:"text-4xl md:text-5xl lg:text-6xl font-heading font-bold text-background mb-6",children:[G,e.jsx(b,{variant:"secondary"})]}),e.jsx("p",{className:"text-xl text-background/95",children:C})]})})]}),e.jsx("section",{className:"section-padding bg-background",children:e.jsx("div",{className:"container-custom",children:e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-16",children:[e.jsxs("div",{children:[e.jsxs("h2",{className:"text-2xl md:text-3xl font-heading font-bold mb-6",children:[t("contact.form.title"),e.jsx(b,{variant:"primary"})]}),e.jsx("p",{className:"text-muted-foreground mb-8",children:E}),e.jsxs("form",{onSubmit:L,onInput:M,className:"space-y-6",children:[e.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsxs(i,{htmlFor:"firstName",children:[t("contact.form.firstName")," *"]}),e.jsx(o,{id:"firstName",name:"firstName",required:!0,placeholder:"Max"})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsxs(i,{htmlFor:"lastName",children:[t("contact.form.lastName")," *"]}),e.jsx(o,{id:"lastName",name:"lastName",required:!0,placeholder:"Muster"})]})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(i,{htmlFor:"company",children:t("contact.form.company")}),e.jsx(o,{id:"company",name:"company",placeholder:"Muster AG"})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsxs(i,{htmlFor:"email",children:[t("contact.form.email")," *"]}),e.jsx(o,{id:"email",name:"email",type:"email",required:!0,placeholder:"[email protected]"})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(i,{htmlFor:"phone",children:t("contact.form.phone")}),e.jsx(o,{id:"phone",name:"phone",type:"tel",placeholder:"+41 79 123 45 67"})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsxs(i,{htmlFor:"subject",children:[t("contact.form.subject")," *"]}),e.jsx(o,{id:"subject",name:"subject",required:!0})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsxs(i,{htmlFor:"message",children:[t("contact.form.message")," *"]}),e.jsx(U,{id:"message",name:"message",required:!0,rows:6,placeholder:t("contact.form.messagePlaceholder")})]}),e.jsx(V,{ref:c,className:"relative"}),e.jsx(H,{type:"submit",size:"lg",className:"w-full btn-hover",disabled:y,children:t(y?"contact.form.submitting":"contact.form.submit")})]})]}),e.jsxs("div",{children:[e.jsxs("h2",{className:"text-2xl md:text-3xl font-heading font-bold mb-6",children:[t("contact.
2info.title"),e.jsx(b,{variant:"primary"})]}),e.jsx("p",{className:"text-muted-foreground mb-8",children:t("contact.info.description")}),e.jsx("div",{className:"space-y-6 mb-12",children:I.map(s=>e.jsxs("div",{className:"flex items-start gap-4",children:[e.jsx("div",{className:"w-12 h-12 rounded-xl bg-accent flex items-center justify-center flex-shrink-0",children:e.jsx(s.icon,{className:"h-6 w-6 text-primary"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"font-medium mb-1",children:s.title}),s.href?e.jsx("a",{href:s.href,onClick:()=>u("contact_click",{method:s.href.startsWith("tel:")?"phone":s.href.startsWith("mailto:")?"email":"map",language:a}),target:s.href.startsWith("http")?"_blank":void 0,rel:s.href.startsWith("http")?"noopener noreferrer":void 0,className:"text-muted-foreground hover:text-primary transition-colors",children:s.content}):e.jsx("span",{className:"text-muted-foreground",children:s.content})]})]},s.title))}),e.jsxs("a",{href:A,target:"_blank",rel:"noopener noreferrer",className:"group block relative rounded-2xl overflow-hidden border border-border shadow-lg aspect-video","aria-label":a==="de"?"Standort auf Karte öffnen":"Open location on map",children:[N?e.jsx("img",{src:N,alt:a==="de"?"Pausenraum und Küche im Axperience Büro in Thalwil":"Break room and kitchen at the Axperience office in Thalwil",loading:"lazy",className:"absolute inset-0 w-full h-full object-cover transition-transform duration-500 group-hover:scale-105"}):e.jsx("div",{className:"absolute inset-0 bg-muted"}),e.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-foreground
2/80 via-foreground/40 to-transparent"}),e.jsx("div",{className:"absolute inset-0 flex flex-col justify-end p-6 text-background",children:e.jsxs("div",{className:"flex items-start gap-3 mb-4",children:[e.jsx(S,{className:"h-6 w-6 flex-shrink-0 mt-1 text-secondary"}),e.jsxs("div",{children:[e.jsx("p",{className:"font-heading font-semibold text-lg leading-tight",children:"Axperience AG"}),e.jsx("p",{className:"text-sm text-background/90",children:"Gewerbestrasse 12, 8800 Thalwil"})]})]})})]})]})]})})})]})};export{ne 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.