(window.webpackJsonp_N_E=window.webpackJsonp_N_E||[]).push([[61],{"+oNs":function(t,e,n){"use strict";n("pNMO"),n("TeQF"),n("QWBl"),n("2B1R"),n("HRxU"),n("eoL8"),n("5DmW"),n("27RR"),n("tkto"),n("07d7"),n("5s+n"),n("FZtP");var c=n("rePB"),r=n("o0o1"),o=n.n(r),i=(n("ls82"),n("HaE+")),a=n("nKUr"),u=n("a6RD"),b=n.n(u),d=(n("q1tI"),n("hzdJ"));function j(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(t);e&&(c=c.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,c)}return n}function l(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?j(Object(n),!0).forEach((function(e){Object(c.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):j(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var p=b()(Object(i.a)(o.a.mark((function t(){return o.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",Promise.resolve().then(n.bind(null,"i97o")));case 1:case"end":return t.stop()}}),t)}))),{ssr:!1,loadableGenerated:{webpack:function(){return["i97o"]},modules:["src/common/components/elements/Asset/Asset"]}}),O=b()(Object(i.a)(o.a.mark((function t(){return o.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",n.e(64).then(n.bind(null,"PN2k")));case 1:case"end":return t.stop()}}),t)}))),{ssr:!1,loadableGenerated:{webpack:function(){return["PN2k"]},modules:["../../components/common/TextElement/TextElement"]}}),s=b()(Object(i.a)(o.a.mark((function t(){return o.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",Promise.resolve().then(n.bind(null,"IJOB")));case 1:case"end":return t.stop()}}),t)}))),{ssr:!1,loadableGenerated:{webpack:function(){return["IJOB"]},modules:["src/common/BaseComponents/UniversalCompoentRenderer/UniversalComponentsRenderer"]}});e.a=function(t){var e=t.components,n=t.hasContainerPaddingWrapper,c=t.hasCustomParagraphTokenRichtext;return Object(a.jsx)(a.Fragment,{children:e&&e.length>0&&e.map((function(t,e){switch(null===t||void 0===t?void 0:t.__typename){case"Asset":return Object(a.jsx)(p,l(l({},t),{},{hasContainerPaddingWrapper:n}),e);case"HtmlEmbedding":return Object(a.jsx)(d.HtmlEmbedding,l({},t),"".concat(e));case"PhotoGallery":case"ContinuingPageGallery":return Object(a.jsx)(s,{items:[t],shouldRenderNewPhotoGallery:!0},e);case"TextElement":return Object(a.jsx)(O,l(l({},t),{},{hasContainerPaddingWrapper:n,hasCustomParagraphTokenRichtext:c}),e);default:return null}}))})}},eTpi:function(t,e,n){"use strict";n.r(e),n.d(e,"PageContactT27",(function(){return Mc}));n("pNMO"),n("ma9I"),n("TeQF"),n("fbCW"),n("QWBl"),n("+2oP"),n("HRxU"),n("eoL8"),n("5DmW"),n("27RR"),n("tkto"),n("FZtP");var c=n("rePB"),r=n("KQm4"),o=n("nKUr"),i=n("cMC3"),a=n("q1tI"),u=n("DOsn"),b=n("rvEI"),d=n("jqkC"),j=n("3WFz"),l=n("uFww"),p=(n("sMBO"),n("bsCH")),O=n("h4VS"),s=n("TvGt"),f=n("vOnD"),v=n("3+Re"),h=n("hY4Y");function m(){var t=Object(O.a)(["",""]);return m=function(){return t},t}function g(){var t=Object(O.a)(["",""]);return g=function(){return t},t}function x(){var t=Object(O.a)(["",""]);return x=function(){return t},t}function w(){var t=Object(O.a)(["",""]);return w=function(){return t},t}var y=Object(f.c)(["padding-bottom:48px;form{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:24px;.right-side{width:100%;display:flex;flex-direction:column;align-items:center;justify-content:space-between;gap:12px;.frc{&-captcha{background-color:var(--back-1);margin:0;padding:5px 10px;width:100%;&[data-attached]{background-color:var(--back-3);}}&-container{display:flex;align-items:center;}&-icon{color:var(--front-2);fill:var(--front-2);stroke:var(--front-2);margin:0;margin-right:10px;}&-content{button{color:var(--front-2);border-color:var(--front-2);}}&-banner{&,a{&,b{color:var(--front-2);}}}}}.left-side{width:100%;display:flex;align-items:center;justify-content:center;}input,textarea{width:100%;border:none;background-color:var(--back-3);"," ","}}"],s.N,h.a),k=Object(f.c)(["form{flex-direction:row;input,textarea{","}}"],s.P),C=Object(f.c)([""]),P=Object(f.c)(["padding-bottom:76px;form{gap:38px;.right-side{gap:19px;}input,textarea{","}}"],s.L),I=Object(f.c)([""]),N=f.d.div.withConfig({componentId:"sc-1ekn81v-0"})([""," ",";",";",";",";"],y,Object(v.e)(w(),k),Object(v.c)(x(),C),Object(v.d)(g(),P),Object(v.b)(m(),I)),E=n("thNt");function D(){var t=Object(O.a)(["",""]);return D=function(){return t},t}function S(){var t=Object(O.a)(["",""]);return S=function(){return t},t}function R(){var t=Object(O.a)(["",""]);return R=function(){return t},t}function _(){var t=Object(O.a)(["",""]);return _=function(){return t},t}var z=Object(f.c)(["align-self:flex-end;width:100%;background-color:var(--primary-100);padding:12px;color:var(--special-logobg);"," ",""],E.P,h.a),T=Object(f.c)(["padding:10.5px 22px;",""],E.R),B=Object(f.c)([""]),q=Object(f.c)(["padding:21px 38px;margin-top:calc(61px - 19px);",""],E.N),M=Object(f.c)([""]),F=f.d.button.withConfig({componentId:"t8kyjl-0"})([""," ",";",";",";",";"],z,Object(v.e)(_(),T),Object(v.c)(R(),B),Object(v.d)(S(),q),Object(v.b)(D(),M));function U(){var t=Object(O.a)(["",""]);return U=function(){return t},t}function W(){var t=Object(O.a)(["",""]);return W=function(){return t},t}function J(){var t=Object(O.a)(["",""]);return J=function(){return t},t}function A(){var t=Object(O.a)(["",""]);return A=function(){return t},t}var G=Object(f.c)(["text-align:center;color:#DC3925;margin-bottom:10px;&.text-overwrite{font-weight:700;}"]),H=Object(f.c)([""]),L=Object(f.c)([""]),K=Object(f.c)([""]),Q=Object(f.c)([""]),Y=f.d.h4.withConfig({componentId:"sc-1iopsby-0"})([""," ",";",";",";",";"],G,Object(v.e)(A(),H),Object(v.c)(J(),L),Object(v.d)(W(),K),Object(v.b)(U(),Q));function V(){var t=Object(O.a)(["",""]);return V=function(){return t},t}function Z(){var t=Object(O.a)(["",""]);return Z=function(){return t},t}function X(){var t=Object(O.a)(["",""]);return X=function(){return t},t}function $(){var t=Object(O.a)(["",""]);return $=function(){return t},t}var tt=Object(f.c)(["padding:12px;"]),et=Object(f.c)(["padding:10.5px 22px;"]),nt=Object(f.c)([""]),ct=Object(f.c)(["padding:21px 38px;"]),rt=Object(f.c)([""]),ot=f.d.input.withConfig({componentId:"b2kxle-0"})([""," ",";",";",";",";"],tt,Object(v.e)($(),et),Object(v.c)(X(),nt),Object(v.d)(Z(),ct),Object(v.b)(V(),rt));function it(){var t=Object(O.a)(["",""]);return it=function(){return t},t}function at(){var t=Object(O.a)(["",""]);return at=function(){return t},t}function ut(){var t=Object(O.a)(["",""]);return ut=function(){return t},t}function bt(){var t=Object(O.a)(["",""]);return bt=function(){return t},t}var dt=Object(f.c)(['width:100%;display:flex;align-items:center;gap:12px;.checkbox{position:relative;background-color:var(--back-3);width:48px;height:48px;cursor:pointer;input[type="checkbox"]{width:100%;height:100%;visibility:hidden;}svg{position:absolute;top:0;left:0;width:50%;height:50%;transform:translate(50%,50%);transition:opacity 0.3s ease;opacity:',";}&-content{color:var(--front-2);font-size:14px;font-weight:400;line-height:140% !important;a{color:var(--primary-100);text-decoration:underline;line-height:140% !important;font-size:14px;","}}}"],(function(t){return t.isChecked?1:0}),h.a),jt=Object(f.c)([".checkbox{&-content{&,a{font-size:15px;}}}"]),lt=Object(f.c)([""]),pt=Object(f.c)(["gap:19px;.checkbox{width:76px;height:76px;&-content{&,a{font-size:21px;}}}"]),Ot=Object(f.c)([""]),st=f.d.label.withConfig({componentId:"sc-141ap3p-0"})([""," ",";",";",";",";"],dt,Object(v.e)(bt(),jt),Object(v.c)(ut(),lt),Object(v.d)(at(),pt),Object(v.b)(it(),Ot));function ft(){var t=Object(O.a)(["",""]);return ft=function(){return t},t}function vt(){var t=Object(O.a)(["",""]);return vt=function(){return t},t}function ht(){var t=Object(O.a)(["",""]);return ht=function(){return t},t}function mt(){var t=Object(O.a)(["",""]);return mt=function(){return t},t}var gt=Object(f.c)(["text-align:center;color:#4BB543;&.text-overwrite{font-weight:700;}"]),xt=Object(f.c)([""]),wt=Object(f.c)([""]),yt=Object(f.c)([""]),kt=Object(f.c)([""]),Ct=f.d.h4.withConfig({componentId:"tnemdy-0"})([""," ",";",";",";",";"],gt,Object(v.e)(mt(),xt),Object(v.c)(ht(),wt),Object(v.d)(vt(),yt),Object(v.b)(ft(),kt));function Pt(){var t=Object(O.a)(["",""]);return Pt=function(){return t},t}function It(){var t=Object(O.a)(["",""]);return It=function(){return t},t}function Nt(){var t=Object(O.a)(["",""]);return Nt=function(){return t},t}function Et(){var t=Object(O.a)(["",""]);return Et=function(){return t},t}var Dt=Object(f.c)(["padding:10px 12px;min-height:250px;"]),St=Object(f.c)(["padding:22px;min-height:340px;"]),Rt=Object(f.c)([""]),_t=Object(f.c)(["padding:38px;min-height:528px;"]),zt=Object(f.c)([""]),Tt=f.d.textarea.withConfig({componentId:"sc-33ts3h-0"})([""," ",";",";",";",";"],Dt,Object(v.e)(Et(),St),Object(v.c)(Nt(),Rt),Object(v.d)(It(),_t),Object(v.b)(Pt(),zt)),Bt=n("bxiF"),qt=n("urN6"),Mt=n("ZOIj"),Ft=n("YFqc"),Ut=n.n(Ft);function Wt(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(t);e&&(c=c.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,c)}return n}function Jt(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Wt(Object(n),!0).forEach((function(e){Object(c.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Wt(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var At=function(){var t,e=Object(a.useState)(!1),n=e[0],c=e[1],r=Object(a.useState)(!1),u=r[0],b=r[1],d=Object(a.useState)(!1),j=d[0],l=d[1],O=Object(a.useContext)(i.b),s=null===O||void 0===O?void 0:O.UniversalTexts,f=Object(qt.useForm)(),v=f.register,h=f.handleSubmit,m=f.reset,g=(null===s||void 0===s?void 0:s.name)||"Name",x=(null===s||void 0===s?void 0:s.eMail)||"E-Mail",w=(null===s||void 0===s?void 0:s.message)||"Nachricht";return Object(o.jsxs)(N,{children:[j&&Object(o.jsx)(Ct,{className:"text-overwrite",children:"Ihre Nachricht wurde erfolgreich versendet, vielen Dank."}),u&&Object(o.jsx)(Y,{className:"text-overwrite",children:"Es ist ein Fehler aufgetreten. Bitte pr\xfcfen Sie Ihre Eingaben."}),!j&&Object(o.jsxs)("form",{className:"withfc",onSubmit:h((function(t){var e,n,c,r,o=null===(e=document.querySelector(".frc-captcha-solution"))||void 0===e?void 0:e.value;r=document.title,Object(Mt.a)(Jt(Jt({fcValue:o||sessionStorage.getItem("fcaptcha")},t),{},{line:null===O||void 0===O||null===(n=O.CompanyInformationPrivate)||void 0===n?void 0:n.line,subject:"Neue Anfrage \xfcber Ihre Homepage ".concat((null===t||void 0===t?void 0:t.Name)?"von ".concat(null===t||void 0===t?void 0:t.Name," "):"").concat(r?"- ".concat(r):""),dealerMail:null===O||void 0===O||null===(c=O.CompanyInformationPublic)||void 0===c?void 0:c.email,templateId:"d-26922068a30343d98a725c3fdaa663da"})).then((function(t){m(),l(!0)})).catch((function(t){console.log("err",t),b(!0)}))})),children:[Object(o.jsx)("div",{className:"left-side",children:Object(o.jsx)(Tt,{required:!0,name:w,placeholder:w,rows:2,ref:v({required:!0})})}),Object(o.jsxs)("div",{className:"right-side",children:[Object(o.jsx)(ot,{type:"text",required:!0,name:g,placeholder:g,ref:v({options:{required:!0,unique:!0},min:12})}),Object(o.jsx)(ot,{type:"email",required:!0,name:x,placeholder:"E-Mail",ref:v({options:{required:!0,unique:!0},min:4})}),Object(o.jsx)(p.FriendlyCaptcha,{}),Object(o.jsxs)(st,{htmlFor:"checkbox",isChecked:n,children:[Object(o.jsxs)("span",{className:"checkbox",children:[Object(o.jsx)(Bt.a,{}),Object(o.jsx)(ot,{id:"checkbox",type:"checkbox",required:!0,name:"checkbox",onChange:function(t){return c(t.target.checked)},checked:n,placeholder:"Ich akzeptiere die Datenschutzerkl\xe4rung",ref:v({required:!0})})]}),Object(o.jsxs)("span",{className:"checkbox-content",children:["Ich akzeptiere die\xa0",Object(o.jsx)(Ut.a,{href:"/".concat(null===(t=O.PageImprint)||void 0===t?void 0:t.slug),children:Object(o.jsx)("a",{children:"Datenschutzerkl\xe4rung"})})]})]}),Object(o.jsx)(F,{type:"submit",value:(null===s||void 0===s?void 0:s.Submit)||"Absenden",children:(null===s||void 0===s?void 0:s.Submit)||"Absenden"})]})]})]})};function Gt(){var t=Object(O.a)(["",""]);return Gt=function(){return t},t}function Ht(){var t=Object(O.a)(["",""]);return Ht=function(){return t},t}function Lt(){var t=Object(O.a)(["",""]);return Lt=function(){return t},t}function Kt(){var t=Object(O.a)(["",""]);return Kt=function(){return t},t}var Qt=Object(f.c)(["display:flex;flex-direction:column;gap:15px;"]),Yt=Object(f.c)(["gap:24px;"]),Vt=Object(f.c)([""]),Zt=Object(f.c)(["gap:38px;"]),Xt=Object(f.c)([""]),$t=f.d.div.withConfig({componentId:"sc-7ldm59-0"})(["",";",";",";",";",";"],Qt,Object(v.e)(Kt(),Yt),Object(v.c)(Lt(),Vt),Object(v.d)(Ht(),Zt),Object(v.b)(Gt(),Xt));function te(){var t=Object(O.a)(["",""]);return te=function(){return t},t}function ee(){var t=Object(O.a)(["",""]);return ee=function(){return t},t}function ne(){var t=Object(O.a)(["",""]);return ne=function(){return t},t}function ce(){var t=Object(O.a)(["",""]);return ce=function(){return t},t}var re=Object(f.c)(["color:var(--primary-100);"," padding-bottom:24px;"],E.u),oe=Object(f.c)(["",""],E.w),ie=Object(f.c)([""]),ae=Object(f.c)([""," padding-bottom:38px;"],E.s),ue=Object(f.c)([""]),be=f.d.h1.withConfig({componentId:"sc-1k7qrjf-0"})(["",";",";",";",";",";"],re,Object(v.e)(ce(),oe),Object(v.c)(ne(),ie),Object(v.d)(ee(),ae),Object(v.b)(te(),ue));function de(){var t=Object(O.a)(["",""]);return de=function(){return t},t}function je(){var t=Object(O.a)(["",""]);return je=function(){return t},t}function le(){var t=Object(O.a)(["",""]);return le=function(){return t},t}function pe(){var t=Object(O.a)(["",""]);return pe=function(){return t},t}var Oe=Object(f.c)(["display:flex;flex-direction:column;gap:15px;padding-bottom:48px;border-bottom:1px solid var(--back-3);"]),se=Object(f.c)(["flex-direction:row;gap:24px;> *{width:50%;}"]),fe=Object(f.c)([""]),ve=Object(f.c)(["gap:38px;padding-bottom:76px;"]),he=Object(f.c)([""]),me=f.d.div.withConfig({componentId:"r7tf4m-0"})(["",";",";",";",";",";"],Oe,Object(v.e)(pe(),se),Object(v.c)(le(),fe),Object(v.d)(je(),ve),Object(v.b)(de(),he));function ge(){var t=Object(O.a)(["",""]);return ge=function(){return t},t}function xe(){var t=Object(O.a)(["",""]);return xe=function(){return t},t}function we(){var t=Object(O.a)(["",""]);return we=function(){return t},t}function ye(){var t=Object(O.a)(["",""]);return ye=function(){return t},t}var ke=Object(f.c)(["padding-top:48px;"]),Ce=Object(f.c)(["padding-top:76px;"]),Pe=Object(f.c)([""]),Ie=Object(f.c)(["padding-top:48px;"]),Ne=Object(f.c)([""]),Ee=f.d.div.withConfig({componentId:"sc-962lon-0"})(["",";",";",";",";",";"],ke,Object(v.e)(ye(),Ce),Object(v.c)(we(),Pe),Object(v.d)(xe(),Ie),Object(v.b)(ge(),Ne)),De=n("jzPg");function Se(){var t=Object(O.a)(["",""]);return Se=function(){return t},t}function Re(){var t=Object(O.a)(["",""]);return Re=function(){return t},t}function _e(){var t=Object(O.a)(["",""]);return _e=function(){return t},t}function ze(){var t=Object(O.a)(["",""]);return ze=function(){return t},t}var Te=Object(f.c)([""," max-width:50%;"],De.a),Be=Object(f.c)([""]),qe=Object(f.c)([""]),Me=Object(f.c)([""]),Fe=Object(f.c)([""]),Ue=f.d.div.withConfig({componentId:"sc-1j3aml8-0"})(["",";",";",";",";",";"],Te,Object(v.e)(ze(),Be),Object(v.c)(_e(),qe),Object(v.d)(Re(),Me),Object(v.b)(Se(),Fe));function We(){var t=Object(O.a)(["",""]);return We=function(){return t},t}function Je(){var t=Object(O.a)(["",""]);return Je=function(){return t},t}function Ae(){var t=Object(O.a)(["",""]);return Ae=function(){return t},t}function Ge(){var t=Object(O.a)(["",""]);return Ge=function(){return t},t}var He=Object(f.c)(["display:flex;flex-direction:column;gap:15px;justify-content:space-between;padding-bottom:48px;"]),Le=Object(f.c)(["flex-direction:row;gap:24px;"]),Ke=Object(f.c)([""]),Qe=Object(f.c)(["gap:38px;padding-bottom:76px;"]),Ye=Object(f.c)([""]),Ve=f.d.div.withConfig({componentId:"x8gecy-0"})(["",";",";",";",";",";"],He,Object(v.e)(Ge(),Le),Object(v.c)(Ae(),Ke),Object(v.d)(Je(),Qe),Object(v.b)(We(),Ye));function Ze(){var t=Object(O.a)(["",""]);return Ze=function(){return t},t}function Xe(){var t=Object(O.a)(["",""]);return Xe=function(){return t},t}function $e(){var t=Object(O.a)(["",""]);return $e=function(){return t},t}function tn(){var t=Object(O.a)(["",""]);return tn=function(){return t},t}var en=Object(f.c)(["padding-bottom:48px;> div{padding-bottom:0;&:not(:last-of-type){","}}"],(function(t){return t.hasMoreThanOneElement&&Object(f.c)(["padding-bottom:48px;"])})),nn=Object(f.c)(["padding-bottom:0px;> div{&.textElement__wrapper > div{width:100%;}}"]),cn=Object(f.c)([""]),rn=Object(f.c)(["> div{&:not(:last-of-type){","}}"],(function(t){return t.hasMoreThanOneElement&&Object(f.c)(["padding-bottom:76px;"])})),on=Object(f.c)([""]),an=f.d.div.withConfig({componentId:"y8m32g-0"})(["",";",";",";",";",";"],en,Object(v.e)(tn(),nn),Object(v.c)($e(),cn),Object(v.d)(Xe(),rn),Object(v.b)(Ze(),on));function un(){var t=Object(O.a)(["",""]);return un=function(){return t},t}function bn(){var t=Object(O.a)(["",""]);return bn=function(){return t},t}function dn(){var t=Object(O.a)(["",""]);return dn=function(){return t},t}function jn(){var t=Object(O.a)(["",""]);return jn=function(){return t},t}var ln=Object(f.c)(["display:flex;flex-direction:column;gap:24px;padding-top:48px;> h2{color:var(--front-2);","}"],E.u),pn=Object(f.c)(["> h2{","}"],E.w),On=Object(f.c)([""]),sn=Object(f.c)(["gap:28px;padding-top:76px;> h2{","}"],E.s),fn=Object(f.c)([""]),vn=f.d.div.withConfig({componentId:"sc-1k3dwe3-0"})(["",";",";",";",";",";"],ln,Object(v.e)(jn(),pn),Object(v.c)(dn(),On),Object(v.d)(bn(),sn),Object(v.b)(un(),fn));function hn(){var t=Object(O.a)(["",""]);return hn=function(){return t},t}function mn(){var t=Object(O.a)(["",""]);return mn=function(){return t},t}function gn(){var t=Object(O.a)(["",""]);return gn=function(){return t},t}function xn(){var t=Object(O.a)(["",""]);return xn=function(){return t},t}var wn=Object(f.c)(["display:flex;flex-direction:column;gap:15px;"]),yn=Object(f.c)(["gap:24px;"]),kn=Object(f.c)([""]),Cn=Object(f.c)(["gap:38px;"]),Pn=Object(f.c)([""]),In=f.d.div.withConfig({componentId:"sc-14zc0f4-0"})(["",";",";",";",";",";"],wn,Object(v.e)(xn(),yn),Object(v.c)(gn(),kn),Object(v.d)(mn(),Cn),Object(v.b)(hn(),Pn));function Nn(){var t=Object(O.a)(["",""]);return Nn=function(){return t},t}function En(){var t=Object(O.a)(["",""]);return En=function(){return t},t}function Dn(){var t=Object(O.a)(["",""]);return Dn=function(){return t},t}function Sn(){var t=Object(O.a)(["",""]);return Sn=function(){return t},t}var Rn=Object(f.c)(["padding-top:60px;"]),_n=Object(f.c)(["padding-top:60px;"]),zn=Object(f.c)(["padding-top:60px;"]),Tn=Object(f.c)(["padding-top:0px;"]),Bn=Object(f.c)([""]),qn=f.d.div.withConfig({componentId:"sel1pi-0"})(["",";",";",";",";",";"],Rn,Object(v.e)(Sn(),_n),Object(v.c)(Dn(),zn),Object(v.d)(En(),Tn),Object(v.b)(Nn(),Bn));function Mn(){var t=Object(O.a)(["",""]);return Mn=function(){return t},t}function Fn(){var t=Object(O.a)(["",""]);return Fn=function(){return t},t}function Un(){var t=Object(O.a)(["",""]);return Un=function(){return t},t}function Wn(){var t=Object(O.a)(["",""]);return Wn=function(){return t},t}var Jn=Object(f.c)(["> h2{"," color:var(--primary-100);}> p{color:var(--front-2);}> .company_address{"," &.mb{margin-bottom:16px;}}> .company_contact{"," > span{color:var(--primary-100);","}}"],E.C,E.f,E.g,E.C),An=Object(f.c)(["> h2{","}> .company_address{","}> .company_contact{"," > span{","}}"],E.D,E.h,E.i,E.D),Gn=Object(f.c)([""]),Hn=Object(f.c)(["> h2{","}> .company_address{","}> .company_contact{"," > span{","}}"],E.B,E.d,E.e,E.B),Ln=Object(f.c)([""]),Kn=f.d.div.withConfig({componentId:"sc-70az0g-0"})(["",";",";",";",";",";"],Jn,Object(v.e)(Wn(),An),Object(v.c)(Un(),Gn),Object(v.d)(Fn(),Hn),Object(v.b)(Mn(),Ln));function Qn(){var t=Object(O.a)(["",""]);return Qn=function(){return t},t}function Yn(){var t=Object(O.a)(["",""]);return Yn=function(){return t},t}function Vn(){var t=Object(O.a)(["",""]);return Vn=function(){return t},t}function Zn(){var t=Object(O.a)(["",""]);return Zn=function(){return t},t}var Xn=Object(f.c)(["display:flex;flex-direction:column;gap:12px;> button{width:100%;background-color:var(--primary-100);padding:12px;color:var(--special-logobg);transition:opacity 0.3s ease;"," &:hover{opacity:0.8;}}"],E.P),$n=Object(f.c)(["> button{font-size:18px;padding:10.5px 22px;","}"],E.R),tc=Object(f.c)([""]),ec=Object(f.c)(["gap:20px;> button{font-size:24px;padding:21px 38px;","}"],E.N),nc=Object(f.c)([""]),cc=f.d.form.withConfig({componentId:"sc-1qmrny8-0"})(["",";",";",";",";",";"],Xn,Object(v.e)(Zn(),$n),Object(v.c)(Vn(),tc),Object(v.d)(Yn(),ec),Object(v.b)(Qn(),nc));function rc(){var t=Object(O.a)(["",""]);return rc=function(){return t},t}function oc(){var t=Object(O.a)(["",""]);return oc=function(){return t},t}function ic(){var t=Object(O.a)(["",""]);return ic=function(){return t},t}function ac(){var t=Object(O.a)(["",""]);return ac=function(){return t},t}var uc=Object(f.c)(["position:relative;> input{width:100%;padding:12px;border:none;background-color:var(--back-3);"," ","}> svg{cursor:pointer;position:absolute;top:50%;transform:translateY(-50%);right:12px;fill:var(--front-2);}"],E.Q,h.a),bc=Object(f.c)(["> input{padding:10.5px 22px;","}> svg{right:22px;width:26px;height:26px;}"],E.S),dc=Object(f.c)([""]),jc=Object(f.c)(["> input{padding:21px 38px;","}> svg{right:38px;width:32px;height:32px;}"],E.O),lc=Object(f.c)([""]),pc=f.d.div.withConfig({componentId:"bkoyq2-0"})(["",";",";",";",";",";"],uc,Object(v.e)(ac(),bc),Object(v.c)(ic(),dc),Object(v.d)(oc(),jc),Object(v.b)(rc(),lc));function Oc(){var t=Object(O.a)(["",""]);return Oc=function(){return t},t}function sc(){var t=Object(O.a)(["",""]);return sc=function(){return t},t}function fc(){var t=Object(O.a)(["",""]);return fc=function(){return t},t}function vc(){var t=Object(O.a)(["",""]);return vc=function(){return t},t}var hc=Object(f.c)(["max-height:400px;overflow-y:auto;table:not(.adp-placemark){tr{"," td{padding:8px 0;border-top-width:1px;line-height:150%;&:first-child{padding-left:5px;width:10% !important;}&:nth-child(2){width:5% !important;font-weight:500;font-size:14px;}&:nth-child(3){width:70% !important;font-weight:500;}&:nth-child(4){width:15% !important;}}}}table.adp-placemark{width:100%;"," margin:0;tr{padding:8px 10px;display:flex;align-items:center;justify-content:space-between;gap:12px;}}.adp-summary{"," padding:8px 10px;}"],E.g,E.f,E.g),mc=Object(f.c)(["table:not(.adp-placemark){tr{","}}table.adp-placemark{","}.adp-summary{","}"],E.i,E.h,E.i),gc=Object(f.c)([""]),xc=Object(f.c)(["max-height:600px;table:not(.adp-placemark){tr{","}}table.adp-placemark{","}.adp-summary{","}"],E.e,E.d,E.e),wc=Object(f.c)([""]),yc=f.d.div.withConfig({componentId:"sc-1eyqhor-0"})(["",";",";",";",";",";"],hc,Object(v.e)(vc(),mc),Object(v.c)(fc(),gc),Object(v.d)(sc(),xc),Object(v.b)(Oc(),wc));function kc(){var t=Object(O.a)(["",""]);return kc=function(){return t},t}function Cc(){var t=Object(O.a)(["",""]);return Cc=function(){return t},t}function Pc(){var t=Object(O.a)(["",""]);return Pc=function(){return t},t}function Ic(){var t=Object(O.a)(["",""]);return Ic=function(){return t},t}var Nc=Object(f.c)(["width:100%;height:200px;"]),Ec=Object(f.c)(["height:250px;"]),Dc=Object(f.c)([""]),Sc=Object(f.c)(["height:400px;"]),Rc=Object(f.c)([""]),_c=f.d.div.withConfig({componentId:"ypeco-0"})(["",";",";",";",";",";"],Nc,Object(v.e)(Ic(),Ec),Object(v.c)(Pc(),Dc),Object(v.d)(Cc(),Sc),Object(v.b)(kc(),Rc)),zc=n("+oNs"),Tc=n("XtVl");function Bc(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var c=Object.getOwnPropertySymbols(t);e&&(c=c.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,c)}return n}function qc(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Bc(Object(n),!0).forEach((function(e){Object(c.a)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Bc(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var Mc=function(){var t,e,n=Object(a.useContext)(i.b),c=Object(a.useState)(""),p=c[0],O=c[1],s=Object(a.useState)(null),f=s[0],v=s[1],h=null===n||void 0===n?void 0:n.PageContact,m=null===n||void 0===n?void 0:n.UniversalTexts,g=null===n||void 0===n?void 0:n.CompanyInformationPublic,x=Object(Tc.a)(),w=null===h||void 0===h||null===(t=h.elements)||void 0===t?void 0:t.find((function(t){return"TextElement"===t.__typename&&t.headline})),y=w&&w.headline?w.headline:n.PageContact.nameInNavigation||"Kontakt",k=[].concat(Object(r.a)(w?[qc(qc({},w),{},{headline:null})]:[]),Object(r.a)((w?null===h||void 0===h||null===(e=h.elements)||void 0===e?void 0:e.slice(1):null===h||void 0===h?void 0:h.elements)||[]));Object(a.useEffect)((function(){var t,e;v({lat:null===h||void 0===h||null===(t=h.location)||void 0===t?void 0:t.latitude,lng:null===h||void 0===h||null===(e=h.location)||void 0===e?void 0:e.longitude})}),[]),Object(a.useEffect)((function(){var t,e,n,c;if(f){if(!(null===(t=window)||void 0===t?void 0:t.google)){var r=null===(e=document)||void 0===e?void 0:e.createElement("script");r.type="text/javascript",r.src="https://maps.google.com/maps/api/js?key=".concat("AIzaSyC3R3hK-wYEJ-oan_SlEq2PiUJJCiJQrWA");var o=null===(n=document)||void 0===n?void 0:n.getElementsByTagName("script")[0];return null===o||void 0===o||null===(c=o.parentNode)||void 0===c||c.insertBefore(r,o),null===r||void 0===r||r.addEventListener("load",C),function(){return null===r||void 0===r?void 0:r.removeEventListener("load",C)}}C()}}),[f]);var C=function(){var t,e,n;if(f){var c=null===(t=window)||void 0===t||null===(e=t.google)||void 0===e?void 0:e.maps,r=document.getElementById("map"),o=new c.Map(r,{zoom:(null===h||void 0===h||null===(n=h.location)||void 0===n?void 0:n.zoom)||12,center:f,disableDefaultUI:!0});new c.Marker({position:f,map:o})}};return Object(o.jsxs)(a.Fragment,{children:[Object(o.jsx)(d.a,{}),Object(o.jsxs)(l.a,{children:[Object(o.jsxs)(qn,{children:[Object(o.jsxs)(me,{children:[Object(o.jsxs)(Ee,{children:[y&&Object(o.jsx)(be,{children:y}),Object(o.jsxs)("div",{className:"company__info",children:[Object(o.jsxs)(Ve,{children:[Object(o.jsxs)(Kn,{children:[((null===g||void 0===g?void 0:g.companyNameOverwriteContact)||(null===g||void 0===g?void 0:g.companyName))&&Object(o.jsx)("h2",{children:Object(u.getContactCompanyNamePrefix)()}),(null===g||void 0===g?void 0:g.street)&&Object(o.jsx)("p",{className:"company_address",children:g.street}),(null===g||void 0===g?void 0:g.postcode)&&g.place&&Object(o.jsxs)("p",{className:"company_address mb",children:[g.postcode,"\xa0",g.place]}),(null===g||void 0===g?void 0:g.phone)&&Object(o.jsxs)("p",{className:"company_contact",children:[Object(o.jsx)("span",{children:"Tel:"}),"\xa0",g.phone]}),(null===g||void 0===g?void 0:g.fax)&&Object(o.jsxs)("p",{className:"company_contact",children:[Object(o.jsx)("span",{children:"Fax:"}),"\xa0",g.fax]})]}),x&&Object(o.jsx)(Ue,{hasCustomParagraphTokenRichtext:!0,children:Object(o.jsx)(i.k,{textContent:x,fragment:!0})})]}),(null===k||void 0===k?void 0:k.length)>0&&Object(o.jsx)(an,{hasMoreThanOneElement:(null===k||void 0===k?void 0:k.length)>1,children:Object(o.jsx)(zc.a,{components:k,hasContainerPaddingWrapper:!1,hasCustomParagraphTokenRichtext:!0})})]})]}),Object(o.jsxs)($t,{children:[Object(o.jsx)(_c,{id:"map"}),Object(o.jsxs)(In,{children:[Object(o.jsxs)(cc,{onSubmit:function(t){t.preventDefault(),t.stopPropagation()},children:[Object(o.jsxs)(pc,{children:[Object(o.jsx)("input",{type:"text",name:"UserLocation",placeholder:(null===m||void 0===m?void 0:m.yourLocation)||"Ihr Standort",value:p,onChange:function(t){return O(t.target.value)}}),Object(o.jsx)("svg",{onClick:function(){var t,e;(null===(t=navigator)||void 0===t?void 0:t.geolocation)?null===(e=navigator)||void 0===e||e.geolocation.getCurrentPosition((function(t){var e,n;O("".concat(null===t||void 0===t||null===(e=t.coords)||void 0===e?void 0:e.latitude,",").concat(null===t||void 0===t||null===(n=t.coords)||void 0===n?void 0:n.longitude))}),(function(t){console.info("Standort konnte nicht abgerufen werden: ",t)})):console.info("Standort konnte nicht abgerufen werden")},xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",children:Object(o.jsx)("path",{d:"M24 11h-2.051c-.469-4.725-4.224-8.48-8.949-8.95v-2.05h-2v2.05c-4.725.47-8.48 4.225-8.949 8.95h-2.051v2h2.051c.469 4.725 4.224 8.48 8.949 8.95v2.05h2v-2.05c4.725-.469 8.48-4.225 8.949-8.95h2.051v-2zm-11 8.931v-3.931h-2v3.931c-3.611-.454-6.478-3.32-6.931-6.931h3.931v-2h-3.931c.453-3.611 3.32-6.477 6.931-6.931v3.931h2v-3.931c3.611.454 6.478 3.319 6.931 6.931h-3.931v2h3.931c-.453 3.611-3.32 6.477-6.931 6.931zm1-7.931c0 1.104-.896 2-2 2s-2-.896-2-2 .896-2 2-2 2 .896 2 2z"})})]}),Object(o.jsx)("button",{onClick:function(){var t,e;document.getElementById("routePanel").innerHTML=null;var n=null===(t=window)||void 0===t||null===(e=t.google)||void 0===e?void 0:e.maps,c=new n.DirectionsService,r=new n.DirectionsRenderer,o=new n.Map(document.getElementById("map"));r.setMap(o),r.setPanel(document.getElementById("routePanel"));var i={origin:p,destination:"".concat(f.lat,",").concat(f.lng),travelMode:"DRIVING"};c.route(i,(function(t,e){"OK"===e?r.setDirections(t):C()}))},type:"submit",name:"Route berechnen",children:(null===m||void 0===m?void 0:m.CalculateRoute)||"Route berechnen"})]}),Object(o.jsx)(yc,{id:"routePanel"})]})]})]}),Object(o.jsxs)(vn,{children:[Object(o.jsx)("h2",{children:(null===m||void 0===m?void 0:m.contactForm)||"Kontaktformular"}),Object(o.jsx)(At,{})]})]}),Object(o.jsx)(j.a,{})]}),Object(o.jsx)(b.a,{})]})};Mc.displayName="PageContactT27"}}]);
//# sourceMappingURL=61.5265b067b8049eaf8ad0.js.map