PageSourceSearch

https://valtis-restore-lane.pages.dev/assets/EFCheck-CBB6vbOP.js

js valtis-restore-lane.pages.dev collected 2026-10-03 05:47:18 UTC 26,143 bytes, 1 lines download raw bytes

1import{r,H as te,j as e,ax as se,B as W,o as J,U as ne,A as C,I as v,L as T,ay as ae,aN as le,aJ as H,C as re}from"./index-D8d0swLk.js";import{T as ie}from"./ToolEmailCapture-pgvWictb.js";import{m as l}from"./proxy-DDYIzmzM.js";import{W as R}from"./wallet-zbCyUPQh.js";import{C as ce}from"./chart-column-BDJktsHl.js";import{A as oe}from"./index-BLZslE12.js";import{M as Y}from"./map-pin-SvwFaELu.js";import{C as _}from"./calendar-CfIPgoQu.js";import{R as de}from"./ruler-DG2lYg7_.js";import{T as V}from"./triangle-alert-DLRVO7OZ.js";import{A as xe}from"./arrow-left-DwinG5x_.js";import"./check-CeE5OI2w.js";import"./file-text-BLT9exXs.js";import"./user-BJHZR_b8.js";import"./mail-BgdBQUzC.js";import"./shield-DknB_7IR.js";import"./clock-C3mNAErB.js";function he(s,c,o,d,n){const b=2026-s,a=c*o,y=[{name:"Dach / Flachdach",costPerM2:120,cycleYears:30},{name:"Fassade / Aussenwärmedämmung",costPerM2:150,cycleYears:35},{name:"Fensterersatz",costPerM2:80,cycleYears:25},{name:"Heizungsersatz",costPerM2:60,cycleYears:20},{name:"Sanitärleitungen",costPerM2:70,cycleYears:40},{name:"Elektroinstallationen",costPerM2:40,cycleYears:35},{name:"Lift (falls vorhanden)",costPerM2:c>6?30:0,cycleYears:25}].filter(i=>i.costPerM2>0).map(i=>{const z=Math.floor(b/i.cycleYears)*i.cycleYears+i.cycleYears,I=Math.max(0,z-b);return{name:i.name,cost:Math.round(i.costPerM2*a),dueIn:I}}).sort((i,m)=>i.dueIn-m.dueIn),g=15,u=y.filter(i=>i.dueIn<=g).reduce((i,m)=>i+m.cost,0),N=d+n*12*g,k=Math.max(0,u-N),x=u>0?Math.round(k/u*100):0,A=u>d?Math.round((u-d)/(g*12)):n;let h="ok";return x>50?h="critical":x>20&&(h="warning"),{status:h,currentBalance:d,expectedNeed:u,gap:k,gapPercent:x,recommendedMonthly:A,renovations:y.slice(0,5)}}function w(s){return"CHF "+s.toLocaleString("de-CH")}const $=[{id:1,label:"Liegenschaft",icon:W},{id:2,label:"Finanzen",icon:R},{id:3,label:"Ergebnis",icon:ce}];function me(){r.useEffect(()=>{const s=[H({"@context":"https://schema.org","@type":"WebPage",name:"Erneuerungsfonds-Check",url:"https://valtis.ch/ef-check",description:"Prüfen Sie in 60 Sekunden ob Ihr Erneuerungsfonds für die nächsten 15 Jahre reicht."}),H({"@context":"https://schema.org","@type":"FAQPage",mainEntity:[{"@type":"Question",name:"Wie hoch sollte der Erneuerungsfonds sein?",acceptedAnswer:{"@type":"Answer",text:"Als Richtwert gilt eine jährliche Einlage von 0.5–1% des Gebäudeversicherungswerts. Über 20 Jahre sollte der Fonds mindestens 5–10% des Gebäudeversicherungswerts erreichen."}},{"@type":"Question",name:"Was passiert wenn der EF nicht reicht?",acceptedAnswer:{"@type":"Answer",text:"Die Eigentümerversammlung muss Sonderumlagen beschliessen. Diese können mehrere zehntausend Franken pro Einheit betragen."}},{"@type":"Question",name:"Kann man den EF steuerlich abziehen?",acceptedAnswer:{"@type":"Answer",text:"Einzahlungen sind als Liegenschaftsunterhalt steuerlich abzugsfähig — allerdings erst im Jahr der tatsächlichen Verwendung."}},{"@type":"Question",name:"Wie oft sollte der EF überprüft werden?",acceptedAnswer:{"@type":"Answer",text:"Mindestens alle 5 Jahre, bei Liegenschaften über 30 Jahren jährlich."}},{"@type":"Question",name:"Was ändert sich mit der Eigenmietwert-Abschaffung?",acceptedAnswer:{"@type":"Answer",text:"Unterhaltsabzüge entfallen voraussichtlich. Einzahlungen wären nicht mehr steuerlich absetzbar."}}]})];return()=>s.forEach(c=>c())},[])}function Ie(){const[s,c]=r.useState(1),[o,d]=r.useState(0),[n,b]=r.useState(null),[a,E]=r.useState(!1),y=r.useRef(!1),[g,u]=r.useState(""),[N,k]=r.useState(""),[x,A]=r.useState(""),[h,i]=r.useState(""),[m,z]=r.useState("85"),[I,K]=r.useState(""),[F,q]=r.useState(""),[B,Q]=r.useState(""),[U,O]=r.useState("");te({title:"Erneuerungsfonds-Check — Kostenloser EF-Rechner für STWE | Valtis",description:"Prüfen Sie in 60 Sekunden ob Ihr Erneuerungsfonds für die nächsten 15 Jahre reicht. Kostenloser Rechner mit Sanierungskosten-Prognose."}),me();const M=x&&h&&m&&parseInt(x)>=1900&&parseInt(x)<=2025&&parseInt(h)>0,G=M&&F&&B,L=()=>{y.current||(y.current=!0,v.efCheckStart())},Z=()=>{if(s===1&&M)d(1),c(2);else if(s===2&&G){const t=he(parseInt(x),parseInt(h),parseInt(m),parseInt(F),parseInt(B));
1b(t),le("ef-check",{baujahr:x,units:h,avgSize:m,balance:F,monthly:B},{...t},{stage:"computed"}),v.efCheckComplete(t.status,t.gap),d(1),c(3),setTimeout(()=>E(!0),400)}},X=()=>{s>1&&(d(-1),c(s-1),s===3&&(E(!1),b(null)))},ee=()=>{d(-1),c(1),b(null),E(!1),v.efCheckNewCalculation()},P={enter:t=>({x:t>0?300:-300,opacity:0}),center:{x:0,opacity:1},exit:t=>({x:t<0?300:-300,opacity:0})},j={ok:{color:"#10B981",bg:"#D1FAE5",border:"#6EE7B7",icon:J,label:"Auf gutem Weg",desc:"Ihr Erneuerungsfonds reicht voraussichtlich für die anstehenden Sanierungen."},warning:{color:"#F59E0B",bg:"#FEF3C7",border:"#FCD34D",icon:V,label:"Finanzierungslücke möglich",desc:"Ihr Fonds könnte für anstehende Sanierungen nicht ausreichen. Eine Detailprüfung ist empfehlenswert."},critical:{color:"#EF4444",bg:"#FEE2E2",border:"#FCA5A5",icon:V,label:"Erhebliche Lücke",desc:"Ihr Fonds reicht voraussichtlich nicht. Wir empfehlen dringend eine professionelle Analyse."}};return e.jsxs("div",{className:"min-h-screen bg-white",children:[e.jsx(se,{}),e.jsxs("main",{className:"pt-[72px]",children:[e.jsx("section",{className:"px-4 sm:px-6",children:e.jsx("div",{className:"max-w-[680px] mx-auto pt-12 sm:pt-20 pb-10 text-center",children:e.jsxs(l.div,{initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.5},children:[e.jsxs("div",{className:"inline-flex items-center gap-2 px-3 py-1.5 rounded-full mb-5",style:{background:"rgba(29,78,216,0.06)"},children:[e.jsx(W,{className:"w-3.5 h-3.5",style:{color:"#2563EB"}}),e.jsx("span",{className:"text-[11px] font-bold uppercase tracking-[0.12em]",style:{color:"#2563EB"},children:"Erneuerungsfonds-Check"})]}),e.jsxs("h1",{className:"text-[1.75rem] sm:text-[2.5rem] font-bold tracking-tight leading-[1.15] mb-4",style:{color:"#0B1120"},children:["Reicht Ihr Erneuerungsfonds",e.jsx("br",{className:"hidden sm:block"})," für die nächste Sanierung?"]}),e.jsx("p",{className:"text-[15px] sm:text-base leading-relaxed max-w-[680px] mx-auto text-slate-500",children:"Prüfen Sie in 60 Sekunden, ob Ihr Fonds für die nächsten 15 Jahre ausreicht — kostenlos und anonym."})]})})}),e.jsx("section",{className:"px-4 sm:px-6 pb-6",children:e.jsxs("div",{className:"max-w-[680px] mx-auto",children:[e.jsx("div",{className:"grid grid-cols-1 sm:grid-cols-3 gap-3",children:[{val:"21%",label:"der STWE-Gebäude über 30 Jahre haben einen Sanierungsstau"},{val:"0.3–0.5%",label:"des Gebäudeversicherungswerts pro Jahr als Richtwert"},{val:"15 Jahre",label:"Planungshorizont für anstehende Sanierungen"}].map((t,p)=>e.jsxs("div",{className:"rounded-xl px-4 py-3 text-center",style:{background:"#F8FAFC",border:"1px solid #E2E8F0"},children:[e.jsx("p",{className:"text-lg font-bold",style:{color:"#2563EB"},children:t.val}),e.jsx("p",{className:"text-[11px] text-slate-500 leading-snug",children:t.label})]},p))}),e.jsx("p",{className:"text-[13px] text-slate-400 text-center mt-4 leading-relaxed max-w-[520px] mx-auto",children:"Viele Stockwerkeigentümer-Gemeinschaften unterschätzen den Sanierungsbedarf ihrer Liegenschaft. Unser Erneuerungsfonds-Rechner vergleicht Ihren aktuellen Fondsstand mit den geschätzten Sanierungskosten der nächsten 15 Jahre — basierend auf Gebäudealter, Grösse und Branchenrichtwerten."})]})}),e.jsx("section",{className:"px-4 sm:px-6 pb-4",children:e.jsx("div",{className:"max-w-[680px] mx-auto",children:e.jsx("div",{className:"flex items-center justify-between",children:$.map((t,p)=>{const f=s===t.id,S=s>t.id,D=t.icon;return e.jsxs("div",{className:"flex items-center flex-1",children:[e.jsxs("div",{className:"flex flex-col items-center",children:[e.jsx(l.div,{className:"w-11 h-11 sm:w-12 sm:h-12 rounded-full flex items-center justify-center transition-all duration-300",style:{background:f||S?"#2563EB":"#F1F5F9",boxShadow:f?"0 0 0 4px rgba(29,78,216,0.12)":"none"},animate:{scale:f?1:.92},children:S?e.jsx(J,{className:"w-5 h-5 text-white"}):e.jsx(D,{className:"w-5 h-5",style:{color:f?"#fff":"#94A3B8"}})}),e.jsx("span",{className:"text-[11px] font-semibold mt-1.5",style:{color:f?"#2563EB":"#94A3B8"},children:t.label})]}),p<$.length-1&&e.jsx("div",{className:"flex-1 h-[2px] mx-2 sm:mx-3 -mt-5 rounded-full overflow-hidden",style:{background:"#E2E8F0"},children:e.jsx(l.div,{className:"h-full rounded-full",style:{background:"#2563EB"},initial:{width:"0%"},animate:{width:s>
1t.id?"100%":"0%"},transition:{duration:.4}})})]},t.id)})})})}),e.jsx("section",{className:"px-4 sm:px-6 pb-16 sm:pb-24",children:e.jsxs("div",{className:"max-w-[680px] mx-auto",children:[e.jsxs("div",{className:"rounded-2xl overflow-hidden",style:{border:"1px solid #E2E8F0",boxShadow:"0 1px 3px rgba(0,0,0,0.04), 0 8px 24px rgba(0,0,0,0.04)"},children:[e.jsx("div",{className:"relative min-h-[420px]",children:e.jsxs(oe,{initial:!1,custom:o,mode:"wait",children:[s===1&&e.jsxs(l.div,{custom:o,variants:P,initial:"enter",animate:"center",exit:"exit",transition:{type:"spring",stiffness:300,damping:30,opacity:{duration:.2}},className:"p-6 sm:p-8",children:[e.jsx("h2",{className:"text-lg sm:text-xl font-bold mb-1",style:{color:"#0B1120"},children:"Ihre Liegenschaft"}),e.jsx("p",{className:"text-[13px] text-slate-400 mb-6",children:"Grunddaten Ihres Gebäudes"}),e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"flex items-center gap-1.5 text-[13px] font-semibold text-slate-700 mb-1.5",children:[e.jsx(Y,{className:"w-3.5 h-3.5 text-slate-400"})," Strasse / Nr."]}),e.jsx("input",{type:"text",value:g,onChange:t=>u(t.target.value),onFocus:L,placeholder:"z.B. Bahnhofstrasse 12",className:"w-full h-12 px-4 rounded-xl border border-slate-200 bg-slate-50/50 text-[14px] text-slate-900 placeholder:text-slate-300 focus:outline-none focus:border-[#2563EB] focus:ring-2 focus:ring-[#2563EB]/10 focus:bg-white transition-all"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"flex items-center gap-1.5 text-[13px] font-semibold text-slate-700 mb-1.5",children:[e.jsx(Y,{className:"w-3.5 h-3.5 text-slate-400"})," PLZ / Ort"]}),e.jsx("input",{type:"text",value:N,onChange:t=>k(t.target.value),placeholder:"z.B. 6003 Luzern",className:"w-full h-12 px-4 rounded-xl border border-slate-200 bg-slate-50/50 text-[14px] text-slate-900 placeholder:text-slate-300 focus:outline-none focus:border-[#2563EB] focus:ring-2 focus:ring-[#2563EB]/10 focus:bg-white transition-all"})]})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"flex items-center gap-1.5 text-[13px] font-semibold text-slate-700 mb-1.5",children:[e.jsx(_,{className:"w-3.5 h-3.5 text-slate-400"})," Baujahr *"]}),e.jsx("input",{type:"number",value:x,onChange:t=>A(t.target.value),onFocus:L,placeholder:"z.B. 1992",className:"w-full h-12 px-4 rounded-xl border border-slate-200 bg-slate-50/50 text-[14px] text-slate-900 placeholder:text-slate-300 focus:outline-none focus:border-[#2563EB] focus:ring-2 focus:ring-[#2563EB]/10 focus:bg-white transition-all"})]}),e.jsxs("div",{className:"grid grid-cols-2 gap-4",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"flex items-center gap-1.5 text-[13px] font-semibold text-slate-700 mb-1.5",children:[e.jsx(ne,{className:"w-3.5 h-3.5 text-slate-400"})," Einheiten *"]}),e.jsx("input",{type:"number",value:h,onChange:t=>i(t.target.value),placeholder:"z.B. 12",className:"w-full h-12 px-4 rounded-xl border border-slate-200 bg-slate-50/50 text-[14px] text-slate-900 placeholder:text-slate-300 focus:outline-none focus:border-[#2563EB] focus:ring-2 focus:ring-[#2563EB]/10 focus:bg-white transition-all"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"flex items-center gap-1.5 text-[13px] font-semibold text-slate-700 mb-1.5",children:[e.jsx(de,{className:"w-3.5 h-3.5 text-slate-400"})," Ø Grösse *"]}),e.jsxs("div",{className:"relative",children:[e.jsx("input",{type:"number",value:m,onChange:t=>z(t.target.value),placeholder:"85",className:"w-full h-12 px-4 pr-12 rounded-xl border border-slate-200 bg-slate-50/50 text-[14px] text-slate-900 placeholder:text-slate-300 focus:outline-none focus:border-[#2563EB] focus:ring-2 focus:ring-[#2563EB]/10 focus:bg-white transition-all"}),e.jsx("span",{className:"absolute right-4 top-1/2 -translate-y-1/2 text-[12px] text-slate-400",children:"m²"})]})]})]})]})]},"step1"),s===2&&e.jsxs(l.div,{custom:o,variants:P,initial:"enter",animate:"center",exit:"exit",transition:{type:"spring",stiffness:300,damping:30,opacity:{duration:.2}},className:"p-6 sm:p-8",children:[e.jsx("h2",{className:"text-lg sm:text-xl font-bold mb-1",style:{color:"#0B1120"},children:"Erneuerungsfonds"}),e.jsx("p",{className:"text-[13px] text-slate-400 mb-6",children:"Aktuelle Finanzsituation Ihres Fonds"}),e.jsxs("div",{className:"space-y-4",children:[e.jsxs("div",{children:[e.jsxs("label",{className:"flex items-center gap-1.5 text-[13px] font-semibold text-slate-700 mb-1.5",children:[e.jsx(W,{className:"w-3.5 h-3.5 text-slate-400"})," Gebäudeversicherungswert"]}),e.jsxs("div",{className:"relative",children:[e.jsx("input",{type:"number",value:I,onChange:t=>K(t.target.value),placeholder:"z.B. 4'000'000",className:"w-full h-12 px-4 pr-14 rounded-xl border border-slate-200 bg-slate-50/50 text-[14px] text-slate-900 placeholder:text-slate-300 focus:outline-none focus:border-[#2563EB] focus:ring-2 focus:ring-[#2563EB]/10 focus:bg-white transition-all"}),e.jsx("span",{className:"absolute right-4 top-1/2 -translate-y-1/2 text-[12px] text-slate-400",children:"CHF"})]}),e.jsx("p",{className:"text-[11px] text-slate-400 mt-1",children:"Steht auf Ihrer Gebäudeversicherungspolice"})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"flex items-center gap-1.5 text-[13px] font-semibold text-slate-700 mb-1.5",children:[e.jsx(R,{className:"w-3.5 h-3.5 text-slate-400"})," Aktueller Fondsstand *"]}),e.jsxs("div",{className:"relative",children:[e.jsx("input",{type:"number",value:F,onChange:t=>q(t.target.value),placeholder:"z.B. 120'000",className:"w-full h-12 px-4 pr-14 rounded-xl border border-slate-200 bg-slate-50/50 text-[14px] text-slate-900 placeholder:text-slate-300 focus:outline-none focus:border-[#2563EB] focus:ring-2 focus:ring-[#2563EB]/10 focus:bg-white transition-all"}),e.jsx("span",{className:"absolute right-4 top-1/2 -translate-y-1/2 text-[12px] text-slate-400",children:"CHF"})]})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"flex items-center gap-1.5 text-[13px] font-semibold text-slate-700 mb-1.5",children:[e.jsx(R,{className:"w-3.5 h-3.5 text-slate-400"})," Monatliche Einzahlung (gesamt) *"]}),e.jsxs("div",{className:"relative",children:[e.jsx("input",{type:"number",value:B,onChange:t=>Q(t.target.value),placeholder:"z.B. 1'200",className:"w-full h-12 px-4 pr-20 rounded-xl border border-slate-200 bg-slate-50/50 text-[14px] text-slate-900 placeholder:text-slate-300 focus:outline-none focus:border-[#2563EB] focus:ring-2 focus:ring-[#2563EB]/10 focus:bg-white transition-all"}),e.jsx("span",{className:"absolute right-4 top-1/2 -translate-y-1/2 text-[12px] text-slate-400",children:"CHF/Mt."})]})]}),e.jsxs("div",{children:[e.jsxs("label",{className:"flex items-center gap-1.5 text-[13px] font-semibold text-slate-700 mb-1.5",children:[e.jsx(_,{className:"w-3.5 h-3.5 text-slate-400"})," Letzte grössere Sanierung"]}),e.jsx("input",{type:"number",value:U,onChange:t=>O(t.target.value),placeholder:"z.B. 2015 (optional)",className:"w-full h-12 px-4 roun
1ded-xl border border-slate-200 bg-slate-50/50 text-[14px] text-slate-900 placeholder:text-slate-300 focus:outline-none focus:border-[#2563EB] focus:ring-2 focus:ring-[#2563EB]/10 focus:bg-white transition-all"})]})]})]},"step2"),s===3&&n&&e.jsxs(l.div,{custom:o,variants:P,initial:"enter",animate:"center",exit:"exit",transition:{type:"spring",stiffness:300,damping:30,opacity:{duration:.2}},className:"p-6 sm:p-8",children:[e.jsx("h2",{className:"text-lg sm:text-xl font-bold mb-1",style:{color:"#0B1120"},children:"Ihre Analyse"}),e.jsx("p",{className:"text-[13px] text-slate-400 mb-5",children:g&&N?`${g}, ${N}`:`Baujahr ${x}, ${h} Einheiten`}),e.jsxs(l.div,{initial:{opacity:0,y:10},animate:{opacity:a?1:0,y:a?0:10},transition:{delay:.1},className:"rounded-xl p-4 mb-5 flex items-start gap-3",style:{background:j[n.status].bg,border:`1px solid ${j[n.status].border}`},children:[(()=>{const t=j[n.status].icon;return e.jsx(t,{className:"w-5 h-5 mt-0.5 shrink-0",style:{color:j[n.status].color}})})(),e.jsxs("div",{children:[e.jsx("p",{className:"text-[14px] font-bold",style:{color:"#0B1120"},children:j[n.status].label}),e.jsx("p",{className:"text-[12px] text-slate-600 leading-relaxed",children:j[n.status].desc})]})]}),e.jsxs("div",{className:"grid grid-cols-2 gap-3 mb-5",children:[e.jsxs(l.div,{initial:{opacity:0,y:10},animate:{opacity:a?1:0,y:a?0:10},transition:{delay:.2},className:"rounded-xl p-4",style:{background:"#F8FAFC",border:"1px solid #E2E8F0"},children:[e.jsx("p",{className:"text-[10px] font-bold uppercase tracking-[0.1em] text-slate-400 mb-1",children:"Aktueller Fonds"}),e.jsx("p",{className:"text-xl font-bold",style:{color:"#0B1120"},children:w(n.currentBalance)})]}),e.jsxs(l.div,{initial:{opacity:0,y:10},animate:{opacity:a?1:0,y:a?0:10},transition:{delay:.3},className:"rounded-xl p-4",style:{background:"#F8FAFC",border:"1px solid #E2E8F0"},children:[e.jsx("p",{className:"text-[10px] font-bold uppercase tracking-[0.1em] text-slate-400 mb-1",children:"Bedarf (15 Jahre)"}),e.jsx("p",{className:"text-xl font-bold",style:{color:"#0B1120"},children:w(n.expectedNeed)})]}),n.gap>0&&e.jsxs(e.Fragment,{children:[e.jsxs(l.div,{initial:{opacity:0,y:10},animate:{opacity:a?1:0,y:a?0:10},transition:{delay:.4},className:"rounded-xl p-4",style:{background:"#FEF2F2",border:"1px solid #FECACA"},children:[e.jsx("p",{className:"text-[10px] font-bold uppercase tracking-[0.1em] text-slate-400 mb-1",children:"Lücke"}),e.jsx("p",{className:"text-xl font-bold text-red-600",children:w(n.gap)})]}),e.jsxs(l.div,{initial:{opacity:0,y:10},animate:{opacity:a?1:0,y:a?0:10},transition:{delay:.5},className:"rounded-xl p-4",style:{background:"rgba(29,78,216,0.04)",border:"1px solid rgba(29,78,216,0.12)"},children:[e.jsx("p",{className:"text-[10px] font-bold uppercase tracking-[0.1em] text-slate-400 mb-1",children:"Empfohlen"}),e.jsxs("p",{className:"text-xl font-bold",style:{color:"#2563EB"},children:[w(n.recommendedMonthly),"/Mt."]})]})]})]}),e.jsxs(l.div,{initial:{opacity:0,y:10},animate:{opacity:a?1:0,y:a?0:10},transition:{delay:.6},children:[e.jsx("p",{className:"text-[11px] font-bold uppercase tracking-[0.1em] text-slate-400 mb-3",children:"Anstehende Sanierungen"}),e.jsx("div",{className:"space-y-2.5",children:n.renovations.map((t,p)=>{const f=Math.max(...n.renovations.map(D=>D.cost)),S=t.cost/f*100;return e.jsxs(l.div,{initial:{opacity:0,x:-20},animate:{opacity:a?1:0,x:a?0:-20},transition:{delay:.7+p*.1},children:[e.jsxs("div",{className:"flex items-center justify-between text-[12px] mb-1",children:[e.jsx("span",{className:"text-slate-700 font-medium",children:t.name}),e.jsx("span",{className:"text-slate-400",children:t.dueIn===0?"Überfällig":`in ${t.dueIn} J.`})]}),e.jsx("div",{className:"h-2 rounded-full overflow-hidden",style:{background:"#F1F5F9"},children:e.jsx(l.div,{className:"h-full rounded-full",style:{background:t.dueIn===0?"#EF4444":t.dueIn<=5?"#F59E0B":"#2563EB"},initial:{width:0},animate:{width:a?`${S}%`:0},transition:{delay:.8+p*.1,duration:.6}})}),e.jsx("div",{className:"flex justify-end mt-0.5",children:e.jsx("span",{className:"text-[11px] font-semibold text-slate-500",children:w(t.cost)})})]},t.name)}
1)})]}),e.jsx(l.p,{initial:{opacity:0},animate:{opacity:a?.7:0},transition:{delay:1.1},className:"text-[11px] text-slate-400 mt-5 leading-relaxed text-center",children:"Hinweis: Die Ergebnisse basieren auf geschätzten Werten und Branchenstandards. Sie ersetzen keine professionelle Zustandsanalyse. Für eine verbindliche Einschätzung empfehlen wir eine individuelle Prüfung."}),e.jsxs(l.div,{initial:{opacity:0,y:10},animate:{opacity:a?1:0,y:a?0:10},transition:{delay:1.2},className:"mt-6 rounded-xl p-5 text-center",style:{background:"#0B1120"},children:[e.jsx("p",{className:"text-[14px] font-bold text-white mb-1",children:"Detaillierten Report erhalten"}),e.jsx("p",{className:"text-[12px] text-white/60 mb-4",children:"Individuelle Analyse Ihres Erneuerungsfonds — kostenlos und unverbindlich."}),e.jsxs("a",{href:"https://calendly.com/fachbriefing/30min?utm_source=valtis&utm_medium=tool&utm_campaign=erneuerungsfonds_check",target:"_blank",rel:"noopener noreferrer",onClick:()=>v.calendlyClick("ef-check"),className:"inline-flex items-center gap-2 px-5 py-2.5 rounded-xl text-[13px] font-semibold text-white transition-all hover:opacity-90 active:scale-[0.98]",style:{background:"#2563EB"},children:["Termin vereinbaren ",e.jsx(C,{className:"w-3.5 h-3.5"})]})]})]},"step3")]})}),e.jsxs("div",{className:"flex items-center justify-between px-6 sm:px-8 py-4",style:{borderTop:"1px solid #F1F5F9"},children:[e.jsxs("button",{onClick:s===3?ee:X,disabled:s===1,className:"inline-flex items-center gap-1.5 text-[13px] font-semibold text-slate-400 hover:text-slate-700 transition-colors disabled:opacity-0 disabled:pointer-events-none",children:[e.jsx(xe,{className:"w-3.5 h-3.5"}),s===3?"Neue Berechnung":"Zurück"]}),s<3&&e.jsxs("button",{onClick:Z,disabled:s===1?!M:!G,className:"inline-flex items-center gap-2 px-6 py-3 rounded-xl text-[13px] font-semibold text-white transition-all hover:opacity-90 active:scale-[0.98] disabled:opacity-40 disabled:cursor-not-allowed",style:{background:"#2563EB"},children:[s===2?"Berechnen":"Weiter",e.jsx(C,{className:"w-3.5 h-3.5"})]})]})]}),e.jsx("p",{className:"text-center text-[11px] text-slate-400 mt-4",children:"Kostenlos · Anonym · Keine Registrierung nötig · Geschätzte Werte basierend auf Branchenstandards"})]})}),e.jsx("section",{className:"px-4 sm:px-6",style:{background:"#F8FAFC"},children:e.jsxs("div",{className:"max-w-[680px] mx-auto py-14 sm:py-20",children:[e.jsx("h2",{className:"text-xl sm:text-2xl font-bold tracking-tight mb-6",style:{color:"#0B1120"},children:"Häufige Fragen"}),e.jsx("div",{className:"space-y-0",style:{borderTop:"1px solid #E2E8F0"},children:[{q:"Wie hoch sollte der Erneuerungsfonds sein?",a:"Als Richtwert gilt eine jährliche Einlage von 0.5–1% des Gebäudeversicherungswerts. Über 20 Jahre sollte der Fonds mindestens 5–10% des Gebäudeversicherungswerts erreichen."},{q:"Was passiert wenn der EF nicht reicht?",a:"Die Eigentümerversammlung muss Sonderumlagen beschliessen. Diese können mehrere zehntausend Franken pro Einheit betragen und sind sofort fällig."},{q:"Kann man den EF steuerlich abziehen?",a:"Einzahlungen sind als Liegenschaftsunterhalt steuerlich abzugsfähig — allerdings erst im Jahr der tatsächlichen Verwendung für Sanierungen."},{q:"Was ändert sich mit der Eigenmietwert-Abschaffung?",a:"Unterhaltsabzüge entfallen voraussichtlich. Einzahlungen wären dann nicht mehr steuerlich absetzbar. Sanierungen werden de facto teurer."}].map((t,p)=>e.jsx(ue,{q:t.q,a:t.a},p))})]})}),n&&e.jsx("section",{className:"px-4 sm:px-6 py-14 sm:py-20",style:{background:"#FFFFFF"},children:e.jsxs("div",{className:"max-w-[560px] mx-auto",children:[e.jsx(ie,{toolName:"ef-check",resultData:{status:n.status,currentBalance:n.currentBalance,expectedNeed:n.expectedNeed,gap:n.gap,gapPercent:n.gapPercent,recommendedMonthly:n.recommendedMonthly}}),e.jsxs("div",{className:"mt-6 text-center",children:[e.jsx("p",{className:"text-[13px] text-[#475569] mb-1.5",children:"Wer verwaltet Ihren Erneuerungsfonds professionell?"}),e.jsxs(T,{to:"/privatvermieter",className:"inline-flex items-center gap-1.5 text-[13px] font-medium text-[#2563EB] hover:text-[#1D4ED8] transition-colors",children:["So funktioniert Valtis für Vermieter ",e.jsx(C,{className:"w-3.5 h-3.5"})]})]})]})}),e.jsx("section",{className:"px-4 sm:px-6",style:{background:"#0B1120"},children:e.jsxs("div",{className:"max-w-[680px] mx-auto py-14 sm:py-20 text-center",children:[e.jsx("h2",{className:"text-xl sm:text-2xl font-bold tracking-tight text-white mb-3",children:"Erneuerungsfonds professionell verwalten?"}),e.jsx("p",{className:"text-[14px] text-white/60 mb-6",children:"Valtis erstellt Ihre langfristige Sanierungsplanung — damit Sie keine Überraschungen erleben."}),e.jsxs("div",{className:"flex flex-col sm:flex-row gap-3 justify-center",children:[e.jsxs("a",{href:"https://calendly.com/fachbriefing/30min?utm_source=valtis&utm_medium=tool&utm_campaign=erneuerungsfonds_check",target:"_blank",rel:"noopener noreferrer",onClick:()=>v.calendlyClick("ef-check"),className:"inline-flex items-center justify-center gap-2 px-6 py-3.5 rounded-xl text-[14px] font-semibold text-white transition-all hover:opacity-90 active:scale-[0.98]",style:{background:"#2563EB"},children:["Kostenloses Gespräch vereinbaren ",e.jsx(C,{className:"w-4 h-4"})]}),e.jsx(T,{to:"/stockwerkeigentum",className:"inline-flex items-center justify-center gap-2 px-6 py-3.5 rounded-xl text-[14px] font-semibold text-white/80 transition-all hover:bg-white/10 active:scale-[0.98]",style:{border:"1px solid rgba(255,255,255,0.2)"},children:"Mehr zu Stockwerkeigentum"})]})]})})]}),e.jsx(ae,{})]})}function ue({q:s,a:c}){const[o,d]=r.useState(!1);return e.jsxs("div",{style:{borderBottom:"1px solid #E2E8F0"},children:[e.jsxs("button",{onClick:()=>d(!o),className:"w-full flex items-center justify-between py-4 text-left",children:[e.jsx("span",{className:"text-[14px] font-semibold pr-4 transition-colors",style:{color:o?"#2563EB":"#0B1120"},children:s}),e.jsx(re,{className:`w-4 h-4 shrink-0 transition-transform duration-300 ${o?"rotate-180":""}`,style:{color:"#94A3B8"}})]}),e.jsx("div",{className:`overflow-hidden transition-all duration-300 ${o?"max-h-[500px] pb-4":"max-h-0"}`,children:e.jsx("p",{className:"text-[13px] leading-relaxed text-slate-500",children:c})})]})}export{Ie 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.