PageSourceSearch

https://energyiq.de/assets/index-D4QL73M9.js

js energyiq.de collected 2026-10-07 22:26:01 UTC 86,805 bytes, 28 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/api-DQbFBMJr.js","assets/index-BHSftCjs.js","assets/vendor-8evPHt-B.js","assets/index-CyhpheQP.css","assets/api-D0-phaaE.js","assets/uploadLimits-DAwWeT5x.js","assets/CalculatorStep-Dul9Juje.js","assets/Combobox-BvYyCrOt.js","assets/search-BFKhJNQJ.js","assets/proxy-COEdhoiZ.js","assets/calculator-EKwovZGr.js","assets/loader-circle-WLnKnFIL.js","assets/CalculatorResultStep-BVFKRCKv.js","assets/zap-BmzqOf3D.js","assets/user-check-CJsMeX4x.js","assets/file-text-DgT8_807.js","assets/circle-question-mark-CeJ-1mDx.js","assets/clock-D2VTSOSM.js","assets/EmailStep-DIIYAGcN.js","assets/schemas-CkxGROsp.js","assets/FunnelCard-wiELP2V-.js","assets/StepFooter-8dllwEkC.js","assets/arrow-left-BhZIrBcj.js","assets/InvoiceAndSitesStep-Dw6WfCTl.js","assets/useDeliveryPointEntries-DDp-fBQE.js","assets/upload-B6X9tulj.js","assets/triangle-alert-Cljif_-K.js","assets/circle-alert-DNFYTFJj.js","assets/pencil-CbSXr_ay.js","assets/trash-2-DuU_Kl5k.js","assets/plus-CLhyNbvC.js","assets/companyNameMatching-CUwtkHZR.js","assets/DeclarationsStep-unGLzn0m.js","assets/DeclarationFields-DUWYHzys.js","assets/factory-DBLLAjOD.js","assets/building-2-EHppiFfN.js","assets/house-KTcXZs5j.js","assets/flame-D-uX_HJF.js","assets/clipboard-check-CpV5xLYr.js","assets/CompanyStep-Siu-dsEF.js","assets/user-D46oy76a.js","assets/AuthorizationStep-q3BF-Id2.js","assets/useAdobeSigningSession-BiRxd_CS.js","assets/external-link-9CSxqZU5.js","assets/LawFirmDocument-DF9wv828.js","assets/companyLegalName-BUsO0mus.js","assets/banknote-CX1nWDJ3.js","assets/CompletionStep-Ba-gyd6M.js","assets/landmark-B2OAbn23.js","assets/copy-DRys3_r6.js","assets/file-pen-line-ZW1Q3X5B.js","assets/scroll-text-BG5FhbIb.js","assets/download-C2v1A9tj.js","assets/TerminatedStep-DB1FBGZq.js","assets/lightbulb-CktzvKxV.js"])))=>i.map(i=>d[i]);
2import{p as se,u as F,j as e,H as ge,a2 as zt,$ as Kt,ax as $t,a_ as Ft,i as N,ad as E,A as He,aw as Be,aj as Ue,ak as Ve,K as Mt,o as Ee,ai as Ot,aD as te,k as Q,s as V,_ as O,t as $,F as Ht,a as Bt,a$ as Ut,g as We,M as Vt,P as Wt,b0 as Qt,b1 as Gt,b2 as Yt,b3 as B}from"./index-BHSftCjs.js";import{r,a as fe,L as ne,c as nt,u as Jt,b as Zt}from"./vendor-8evPHt-B.js";import{i as Xt,a as ea}from"./pv_rooftop--2Yfd7Q1.js";import{i as ta,m as aa}from"./substation-tJHi5s-K.js";import{NotFound as Le}from"./NotFound-D0wXwEvl.js";import{g as ie,a as st}from"./domains-CGvoDUmj.js";import{T as na,F as sa,P as ia,a as ra}from"./LandingSections-BgZ-cX4u.js";import{R as it}from"./receipt-text-BLOV-XxL.js";import{F as oa}from"./factory-DBLLAjOD.js";import{L as la}from"./landmark-B2OAbn23.js";import{L as rt}from"./lock-keyhole-CC4gJ_p4.js";import{F as ca}from"./file-check-corner-BE0U0xnE.js";import{C as ot}from"./cloud-upload-CDLuvPUk.js";import{C as lt}from"./clock-3-L2NAC-pW.js";import{C as ct}from"./circle-x-DQZtX50i.js";import{C as da}from"./calendar-clock-BzBEptQ4.js";import{F as dt}from"./file-text-DgT8_807.js";import{F as ua}from"./file-up-DkNdPjgB.js";import{S as ma}from"./search-check-DkxOFU_k.js";import{P as pa}from"./pen-line-BAsfLZ7B.js";import{B as ha}from"./banknote-CX1nWDJ3.js";import{A as ga}from"./arrow-up-right-CFXFr-OX.js";import{d as Re,l as ut,m as fa,g as M,n as xa,o as ja,S as W,p as va,q as ba,a as ya,r as _a,s as wa}from"./api-D0-phaaE.js";import"./LanguageToggle-Cc2oKUbl.js";import"./proxy-COEdhoiZ.js";import"./uploadLimits-DAwWeT5x.js";/**
3 * @license lucide-react v0.563.0 - ISC
4 *
5 * This source code is licensed under the ISC license.
6 * See the LICENSE file in the root directory of this source tree.
7 */const Sa=[["path",{d:"M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z",key:"3c2336"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],mt=se("badge-check",Sa);/**
8 * @license lucide-react v0.563.0 - ISC
9 *
10 * This source code is licensed under the ISC license.
11 * See the LICENSE file in the root directory of this source tree.
12 */const Na=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}
12]],Ra=se("circle-dot",Na);/**
13 * @license lucide-react v0.563.0 - ISC
14 *
15 * This source code is licensed under the ISC license.
16 * See the LICENSE file in the root directory of this source tree.
17 */const Ca=[["path",{d:"M22 13V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v12c0 1.1.9 2 2 2h9",key:"1j9vog"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}],["path",{d:"m17 17 4 4",key:"1b3523"}],["path",{d:"m21 17-4 4",key:"uinynz"}]],ka=se("mail-x",Ca);/**
18 * @license lucide-react v0.563.0 - ISC
19 *
20 * This source code is licensed under the ISC license.
21 * See the LICENSE file in the root directory of this source tree.
22 */const Ea=[["path",{d:"M13 2a9 9 0 0 1 9 9",key:"1itnx2"}],["path",{d:"M13 6a5 5 0 0 1 5 5",key:"11nki7"}],["path",{d:"M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384",key:"9njp5v"}]],La=se("phone-call",Ea);/**
23 * @license lucide-react v0.563.0 - ISC
24 *
25 * This source code is licensed under the ISC license.
26 * See the LICENSE file in the root directory of this source tree.
27 */const Aa=[["path",{d:"M21 10.656V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h12.344",key:"2acyp4"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]],pt=se("square-check-big",Aa),Ia="data:image/webp;base64,UklGRhICAABXRUJQVlA4IAYCAABwDACdASpIAEgAPm02lkikIqIhIUqogA2JZwB34hApQCn1WMX1zlND3f7vnE/7HkmSZRpvvUi/e/FZ9F+wF+pvV59EAeG1Xi/SviB2MApHfv30+BGTBbZmumsrIGRI6zLyHBuFDlurYGs6EmAA/vhBy//V3U/hQgn5roq+f63Nkva1H9Hie9szcfrj9Cpbt+THGOpUT194g/+0YC9vYkYvH0je/cm7IjPGJpotEOlLL4JPpTorDjKSemqCDZNCKPG4/fx8oSHeKQO7/XN/NKgBeJRKSnTpdU+aWcTnd5+LzuxTR/RS4EQ5qFPs4Yq7QpcpjQgxL/iWou0LEmhrw04FIrY/u6wXcsfkzgCTUbIe2d2Xf7VDQjZdiI9Q+M5C0YU5MDjg6PWsRPGSHqVnmV+4k2BysfiEbcwuznMj9egUXhIpNDj0Ruene1vD7RZkqav5UotkMOrbSmFrSKwZNfjdKEH72fDc6ix2hDVbrA5yqTZ8G3kMO5Jge/ZFkcv2hxxslBTVM5v9VopIzNKz4ZMgjMgDwxjISfSbyqn8jUgaUOrgEl93ow/enSyyAMMpSuJ32OyRuAmDvx+queIY/pvBUgEhSbyIvve73mvDafukd6B1XZfNy4GgUeJhrbsYYxtNbSzjtyJt3+qUWWi/3YCPWLsZzaSvnyp/5GcxWle9RfJKAAAAAA==",Pa=["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"];function me(a){const t=/^(\d{4})-(\d{2})-(\d{2})$/.exec(a);if(!t)return a;const n=Number(t[2]),i=Number(t[3]);return n<1||n>12||i<1||i>31?a:`${i}. ${Pa[n-1]} ${t[1]}`}const Da="/assets/money-move-CfuJbl_L.webp",qa="/assets/process-artifacts-eMzrFbSo.webp",ue="/assets/stromsteuer-industrial-hero-BfGoIHMz.webp";function pe(a){if(a.heroImage?.url)return a.heroImage.url;const t=a.path.toLowerCase();return t.includes("formular")?qa:t.includes("antrag")?ta:t.includes("berechnen")||t.includes("strompreiskompensation")?Xt:t.includes("dekarbonisierung")?ea:t.includes("frist")?Da:t.startsWith("/stromsteuer/")?ue:aa}function ae(a){return a.heroImage?.alt?.trim()??""}function Ta(a){return a.replace(/\/+$/,"")}function za(a,t){const n=Ta(t),i=`${n}${a.path}`,o={"@type":"Person","@id":`${n}/about#${a.author.slug}`,name:a.author.name,jobTitle:a.author.jobTitle,url:`${n}/about`};a.author.sameAs.length&&(o.sameAs=a.author.sameAs);const d={"@type":"Article","@id":`${i}#article`,mainEntityOfPage:{"@type":"WebPage","@id":i}
27,headline:a.title,description:a.metaDescription,inLanguage:"de",datePublished:a.firstPublishedOn??a.standDate,dateModified:a.standDate,author:o,publisher:{"@type":"Organization","@id":`${n}/#organization`,name:"EnergyIQ GmbH"},citation:a.sources.map(p=>p.url)};a.section&&(d.isPartOf={"@type":"WebPage","@id":`${n}${a.section.path}`});const m=[d];if(a.schemaType==="howto"){const p=new Set(a.toc.map(f=>f.id));m.push({"@type":"HowTo","@id":`${i}#howto`,name:a.title,description:a.metaDescription,inLanguage:"de",step:a.howtoSteps.map((f,_)=>({"@type":"HowToStep",position:_+1,name:f.name,text:f.text,...f.anchor&&p.has(f.anchor)?{url:`${i}#${f.anchor}`}:{}}))})}const j=[{"@type":"ListItem",position:1,name:"EnergyIQ",item:`${n}/`}];return a.section&&j.push({"@type":"ListItem",position:2,name:a.section.title,item:`${n}${a.section.path}`}),j.push({"@type":"ListItem",position:j.length+1,name:a.title,item:i}),m.push({"@type":"BreadcrumbList","@id":`${i}#breadcrumb`,itemListElement:j}),a.faqItems.length&&m.push({"@type":"FAQPage","@id":`${i}#faq`,mainEntity:a.faqItems.map(p=>({"@type":"Question",name:p.question,acceptedAnswer:{"@type":"Answer",text:p.answer}}))}),m.push(...a.extraSchema),{"@context":"https://schema.org","@graph":m}}const Ka=typeof window>"u"?r.useEffect:r.useLayoutEffect;function $a(a){const[t,n]=r.useState(a[0]??null),i=a.join("|");return r.useEffect(()=>{const o=i.split("|");let d=0;const m=()=>{d=0;const p=o.map(h=>document.getElementById(h)).filter(h=>h!==null);if(!p.length)return;const f=window.innerHeight/2;let _=p[0];for(const h of p)if(h.getBoundingClientRect().top<=f)_=h;else break;n(_.id)},j=()=>{d||(d=window.requestAnimationFrame(m))};return m(),window.addEventListener("scroll",j,{passive:!0}),window.addEventListener("resize",j),()=>{window.removeEventListener("scroll",j),window.removeEventListener("resize",j),d&&window.cancelAnimationFrame(d)}},[i]),t}function Fa({items:a}){const{t}=F(),n=$a(a.map(p=>p.id)),i=r.useRef(null),[o,d]=r.useState(null),m=a.findIndex(p=>p.id===n);Ka(()=>{const p=i.current;if(!p)return;const f=()=>{const h=n?p.querySelector(`[data-toc-id="${CSS.escape(n)}"]`):null,k=p.querySelector("[data-toc-id]");return d(h&&k?{start:k.offsetTop,top:h.offsetTop,height:h.offsetHeight}:null),h},_=f();if(_){const h=_.offsetTop+_.offsetHeight;(_.offsetTop<p.scrollTop||h>p.scrollTop+p.clientHeight)&&p.scrollTo({top:_.offsetTop-p.clientHeight/2,behavior:"smooth"})}return window.addEventListener("resize",f),()=>window.removeEventListener("resize",f)},[n]);const j=o?{"--toc-trail-start":`${o.start}px`,"--toc-marker-top":`${o.top}px`,"--toc-marker-height":`${o.height}px`}:void 0;return e.jsxs("nav",{"data-track-view":"article_toc.nav",ref:i,className:`eiq-article-toc${o?" has-marker":""}`,"aria-labelledby":"article-toc-title",style:j,children:[e.jsx("p",{id:"article-toc-title",children:t("article.contents")}),e.jsx("span",{className:"eiq-article-toc-trail","aria-hidden":"true"}),e.jsx("span",{className:"eiq-article-toc-marker","aria-hidden":"true"}),e.jsx("ol",{children:a.map((p,f)=>{const _=[p.level===3?"is-subheading":"",f===m?"is-active":"",m>-1&&f<m?"is-read":""].filter(Boolean).join(" ");return e.jsx("li",{className:_||void 0,children:e.jsx("a",{"data-track":"article_toc.a",href:`#${p.id}`,"data-toc-id":p.id,"aria-current":f===m?"location":void 0,children:p.text})},p.id)})})]})}function Ma(a){return a.replace(/\/+$/,"")}function Oa(a){return a.split(/\s+/).filter(Boolean).slice(0,2).map(t=>t[0]?.toUpperCase()).join("")}function Ha(a){return a.replace(/<p>\s*(?:<strong>)?\s*\[CTA:\s*([\s\S]*?)\]\s*(?:<\/strong>)?\s*<\/p>/gi,(t,n)=>`<a class="eiq-article-cta" href="/app"><span>EnergyIQ</span><strong>${n.trim()}</strong><span aria-hidden="true">→</span></a>`).replace(/<p><strong>([^<]+)<\/strong>\n/g,`<p class="eiq-article-qa"><strong>$1</strong>
28`).split(/(<[^>]*>)/).map(t=>t.startsWith("<")?t:t.replace(/\[([^[\]:\n]{2,160})\]/g,'<span class="eiq-article-cite">[$1]</span>')).join("").replace(/<table>/g,'<div class="eiq-article-table"><table>').replace(/<\/table>/g,"</table></div>")}const Qe=96;function Ba(){const a=r.useRef(null),[t,n]=r.useState(!1);return r.useEffect(()=>{const i=a.current;if(!i||typeof IntersectionObserver>"u")return;
28const o=new IntersectionObserver(([d])=>n(!d.isIntersecting&&d.boundingClientRect.top<Qe),{rootMargin:`-${Qe}px 0px 0px 0px`});return o.observe(i),()=>o.disconnect()},[]),{heroRef:a,pastHero:t}}function ht({article:a,origin:t,preview:n=!1}){const{t:i}=F(),o=Ma(t),d=`${o}${a.path}`,m=n||a.preview,j=a.firstPublishedOn??a.standDate,p=za(a,o),f=a.section?.slug==="stromsteuer"?"/og/stromsteuer-erstattung.png":"/og/energyiq-platform.png",_=`${o}${f}`,h=a.toc.filter(g=>g.level===2).length,k=r.useMemo(()=>({__html:Ha(a.bodyHtml)}),[a.bodyHtml]),S=ae(a),{heroRef:K,pastHero:R}=Ba(),q=h>=4,G=["eiq-article-reading-grid",q?"has-toc":"",q&&R?"is-reading":""].filter(Boolean).join(" ");return e.jsxs("div",{className:"eiq-root eiq-article-page",children:[e.jsxs(ge,{children:[e.jsx("html",{lang:"de",className:"notranslate",translate:"no"}),e.jsx("title",{children:a.metaTitle}),e.jsx("meta",{name:"description",content:a.metaDescription}),e.jsx("link",{rel:"canonical",href:d}),m?e.jsx("meta",{name:"robots",content:"noindex, nofollow"}):null,e.jsx("meta",{property:"og:type",content:"article"}),e.jsx("meta",{property:"og:title",content:a.metaTitle}),e.jsx("meta",{property:"og:description",content:a.metaDescription}),e.jsx("meta",{property:"og:url",content:d}),e.jsx("meta",{property:"og:image",content:_}),e.jsx("meta",{property:"og:image:width",content:"1200"}),e.jsx("meta",{property:"og:image:height",content:"630"}),e.jsx("meta",{property:"og:locale",content:"de_DE"}),e.jsx("meta",{property:"og:site_name",content:"EnergyIQ"}),e.jsx("meta",{property:"article:published_time",content:j}),e.jsx("meta",{property:"article:modified_time",content:a.standDate}),e.jsx("meta",{name:"twitter:card",content:"summary_large_image"}),e.jsx("meta",{name:"twitter:title",content:a.metaTitle}),e.jsx("meta",{name:"twitter:description",content:a.metaDescription}),e.jsx("meta",{name:"twitter:image",content:_}),e.jsx("script",{type:"application/ld+json",children:JSON.stringify(p)})]}),m?e.jsx("div",{className:"eiq-article-preview-banner",role:"status",children:i("article.preview")}):null,e.jsx("div",{className:"eiq-article-hero",children:e.jsxs("div",{className:"eiq-container",children:[e.jsx("nav",{"data-track-view":"article_layout.nav",className:"eiq-article-breadcrumb","aria-label":"Breadcrumb",children:e.jsxs("ol",{children:[e.jsx("li",{children:e.jsx("a",{"data-track":"article_layout.a",href:"/",children:"EnergyIQ"})}),a.section?e.jsx("li",{children:e.jsx("a",{"data-track":"article_layout.a_2",href:a.section.path,children:a.section.title})}):null,e.jsx("li",{"aria-current":"page",children:a.title})]})}),e.jsxs("header",{"data-track-view":"article_layout.header",className:"eiq-article-header",children:[e.jsx("p",{className:"eiq-article-kicker",children:a.section?.title??"EnergyIQ"}),e.jsx("h1",{className:"eiq-h1",children:a.title}),e.jsx("p",{className:"eiq-article-deck",children:a.metaDescription}),e.jsxs("div",{className:"eiq-article-byline",children:[e.jsx("span",{className:"eiq-article-author-mark","aria-hidden":"true",children:Oa(a.author.name)}),e.jsxs("p",{children:[e.jsx("span",{children:i("article.by")}),e.jsx("a",{"data-track":"article_layout.a_3",href:`/about#${a.author.slug}`,children:a.author.name}),a.author.jobTitle?e.jsx("small",{children:a.author.jobTitle}):null]}),e.jsx("span",{className:"eiq-article-byline-divider","aria-hidden":"true"}),e.jsxs("p",{children:[e.jsxs("span",{children:[i("article.stand"),":"]}),e.jsx("time",{dateTime:a.standDate,children:me(a.standDate)})]})]}),a.reviewerNote?e.jsx("p",{className:"eiq-article-reviewer",children:a.reviewerNote}):null]})]})}),e.jsx("div",{ref:K,className:"eiq-container eiq-article-hero-media","aria-hidden":S?void 0:!0,children:e.jsx("img",{src:pe(a),alt:S,fetchPriority:"high"})}),e.jsxs("div",{className:"eiq-container eiq-article-shell",children:[e.jsxs("div",{className:G,children:[e.jsxs("div",{className:"eiq-article-content-column",children:[e.jsx("article",{"data-track-view":"article_layout.article",className:"eiq-article",dangerouslySetInnerHTML:k}),a.sources.length?e.jsxs("section",{"data-track-view":"article_layout.quellen_view",id:"quellen",className:"eiq-article-sources","aria-labelledby":"article-sources-title",children:[e.jsx("h2",{id:"article-sources-title",className:"eiq-h2",children:i("article.sources")}),e.jsx("ol",{children:a.sources.map(g=>e.jsx("li",{children:e.jsx("a",{"data-track":"article_layout.a_4",href:g.url,target:"_blank",rel:"noopener noreferrer",children:g.label})},g.url))})]}):null]}),q?e.jsx("aside",{className:"eiq-article-toc-wrap",children:e.jsx(Fa,{items:a.toc})}):null]}),a.related.length?e.jsxs("section",{"data-track-view":"article_layout.section_view",className:"eiq-article-related","aria-labelledby":"article-related-title",children:[e.jsx("h2",{id:"article-related-title",className:"eiq-articles-section-label",children:i("article.related")}),e.jsx("div",{className:"eiq-articles-grid",children:a.related.map(g=>e.jsxs("a",{"data-track":"article_layout.a_5",className:"eiq-articles-card",href:g.path,children:[e.jsx("div",{className:"eiq-articles-card-media","aria-hidden":"true",children:e.jsx("img",{src:pe(g),alt:"",loading:"lazy"})}),e.jsxs("div",{className:"eiq-articles-card-copy",children:[e.jsx("h3",{children:g.title}),e.jsx("p",{children:g.metaDescription}),e.jsxs("div",{className:"eiq-articles-card-meta",children:[e.jsx("span",{children:g.section?.title??"EnergyIQ"}),e.jsx("time",{dateTime:g.firstPublishedOn??g.standDate,children:me(g.firstPublishedOn??g.standDate)})]})]})]},g.path))})]}):null]})]})}const Ua="",Ae=`${Ua}/api/content`;async function gt(a){let t;try{t=await fetch(a)}catch{return{status:"error"}}if(t.status===404)return{status:"not_found"};if(!t.ok)return{status:"error"};const n=await t.json().catch(()=>null);return!n||typeof n!="object"||typeof n.path!="string"?{status:"error"}:{status:"ok",article:n}}
28function Va(a){const t=a.split("/").filter(Boolean).map(encodeURIComponent);return`${Ae}/article/${t.join("/")}/`}function Wa(a){return gt(Va(a))}function Qa(a){return gt(`${Ae}/preview/${encodeURIComponent(a)}/`)}async function Ga(a){const t="";let n;try{n=await fetch(`${Ae}/articles/${t}`)}catch{return{status:"error"}}if(!n.ok)return{status:"error"};const i=await n.json().catch(()=>null);return!i||!Array.isArray(i.articles)?{status:"error"}:{status:"ok",articles:i.articles}}function Ya(a){return null}function Ja(a){return a.replace(/\/+$/,"")||"/"}function ft(a){if(typeof document>"u")return Ya();const t=document.getElementById("__EIQ_ARTICLE__");if(!t?.textContent)return null;try{const n=JSON.parse(t.textContent);return n?.path===a?n:null}catch{return null}}function Ge(a){const t=ft(a);return t?{path:a,status:"ok",article:t}:{path:a,status:"loading"}}function Za(a,t){return t.status==="ok"?{path:a,status:"ok",article:t.article}:{path:a,status:t.status}}function xt(){const a=fe(),t=Ja(a.pathname),[n,i]=r.useState(()=>Ge(t)),o=n.path===t?n:Ge(t);return r.useEffect(()=>{if(ft(t))return;let m=!0;return window.__EIQ_PRERENDER_HOLD__=!0,window.prerenderReady=!1,Wa(t).then(j=>{m&&i(Za(t,j))}),()=>{m=!1,window.__EIQ_PRERENDER_HOLD__=!1}},[t]),r.useEffect(()=>{o.status!=="loading"&&(window.__EIQ_PRERENDER_HOLD__=!1,window.prerenderReady=!0)},[o.status]),o.status==="loading"?e.jsx("p",{className:"eiq-article-state",children:"Artikel wird geladen …"}):o.status==="not_found"?e.jsx(Le,{}):o.status==="error"?e.jsxs("section",{"data-track-view":"article_page.section_view",className:"eiq-root eiq-article-state","aria-live":"polite",children:[e.jsx("h1",{className:"eiq-h2",children:"Artikel derzeit nicht verfügbar"}),e.jsx("p",{children:"Bitte versuchen Sie es später erneut."})]}):e.jsx(ht,{article:o.article,origin:ie()})}function Xa(a){const t=/^\/vorschau\/([^/]+)\/?$/.exec(a);if(!t)return null;try{return decodeURIComponent(t[1])}catch{return null}}function en(a,t){return t.status==="ok"?{token:a,status:"ok",article:t.article}:{token:a,status:t.status}}function tn(){const{pathname:a}=fe(),t=Xa(a),[n,i]=r.useState(()=>t?{token:t,status:"loading"}:{token:t,status:"not_found"}),o=n.token===t?n:t?{status:"loading"}:{status:"not_found"};return r.useEffect(()=>{if(!t)return;let d=!0;return window.__EIQ_PRERENDER_HOLD__=!0,window.prerenderReady=!1,Qa(t).then(m=>{d&&i(en(t,m))}),()=>{d=!1,window.__EIQ_PRERENDER_HOLD__=!1}},[t]),r.useEffect(()=>{o.status!=="loading"&&(window.__EIQ_PRERENDER_HOLD__=!1,window.prerenderReady=!0)},[o.status]),o.status==="loading"?e.jsx("p",{className:"eiq-article-state",children:"Vorschau wird geladen …"}):o.status==="not_found"?e.jsx(Le,{}):o.status==="error"?e.jsxs("section",{"data-track-view":"article_preview_page.section_view",className:"eiq-root eiq-article-state","aria-live":"polite",children:[e.jsx("h1",{className:"eiq-h2",children:"Vorschau derzeit nicht verfügbar"}),e.jsx("p",{children:"Bitte versuchen Sie es später erneut."})]}):e.jsx(ht,{article:o.article,origin:ie(),preview:!0})}function Ye(a,t){return a===t?0:a>t?-1:1}function an(a){return[...a].sort((t,n)=>{const i=Ye(t.firstPublishedOn??t.standDate,n.firstPublishedOn??n.standDate);if(i!==0)return i;const o=Ye(t.updatedAt??"",n.updatedAt??"");return o!==0?o:t.title===n.title?0:t.title<n.title?-1:1})}function nn(a){return a.replace(/\/+$/,"")}function Je(a,t){return a.section?.title??t}function sn({articles:a,origin:t}){const{t:n}=F(),i=nn(t),o=`${i}/ratgeber`,d=an(a),[m,...j]=d,p=n("article.index.metaTitle"),f=n("article.index.metaDescription"),_={"@context":"https://schema.org","@type":"CollectionPage","@id":o,name:p,description:f,inLanguage:"de",mainEntity:{"@type":"ItemList",itemListElement:d.map((h,k)=>({"@type":"ListItem",position:k+1,url:`${i}${h.path}`,name:h.title}))}};return e.jsxs("div",{className:"eiq-root eiq-articles-page",children:[e.jsxs(ge,{children:[e.jsx("html",{lang:"de",className:"notranslate",translate:"no"}),e.jsx("title",{children:p}),e.jsx("meta",{name:"description",content:f}),e.jsx("link",{rel:"canonical",href:o}),e.jsx("meta",{property:"og:type",content:"website"}),e.jsx("meta",{property:"og:title",content:p}),e.jsx("meta",{property:"og:description",content:f}),e.jsx("meta",{property:"og:url",content:o}),e.jsx("meta",{property:"og:image",content:`${i}/og/energyiq-platform.png`}),e.jsx("meta",{property:"og:locale",content:"de_DE"}),e.jsx("meta",{property:"og:site_name",content:"EnergyIQ"}),e.jsx("meta",{name:"twitter:card",content:"summary_large_image"}),e.jsx("meta",{name:"twitter:title",content:p}),e.jsx("meta",{name:"twitter:description",content:f}),e.jsx("meta",{name:"twitter:image",content:`${i}/og/energyiq-platform.png`}),e.jsx("script",{type:"application/ld+json",children:JSON.stringify(_)})]}),e.jsx("header",{"data-track-view":"articles_page.header",className:"eiq-articles-masthead",children:e.jsxs("div",{className:"eiq-container eiq-articles-masthead-inner",children:[e.jsx("nav",{"data-track-view":"articles_page.nav",className:"eiq-articles-breadcrumb","aria-label":"Breadcrumb",children:e.jsxs("ol",{children:[e.jsx("li",{children:e.jsx(ne,{"data-track":"articles_page.link_2",to:"/",children:"EnergyIQ"})}),e.jsx("li",{"aria-current":"page",children:n("article.index.name")}
28)]})}),e.jsx("p",{className:"eiq-articles-kicker",children:n("article.index.kicker")}),e.jsx("h1",{className:"eiq-h1",children:n("article.index.heading")}),e.jsx("p",{className:"eiq-articles-lede",children:n("article.index.description")}),e.jsx("p",{className:"eiq-articles-count",children:n("article.index.count",{count:d.length})})]})}),e.jsx("div",{className:"eiq-container eiq-articles-content",children:m?e.jsxs(e.Fragment,{children:[e.jsx("section",{"data-track-view":"articles_page.section_view_2",className:"eiq-articles-featured","aria-labelledby":"latest-article-title",children:e.jsxs(ne,{"data-track":"articles_page.link_3",className:"eiq-articles-featured-card",to:m.path,children:[e.jsxs("div",{className:"eiq-articles-featured-copy",children:[e.jsx("p",{className:"eiq-articles-featured-kicker",children:n("article.index.latest")}),e.jsx("h2",{id:"latest-article-title",children:m.title}),e.jsx("p",{className:"eiq-articles-featured-dek",children:m.metaDescription}),e.jsxs("div",{className:"eiq-articles-card-meta",children:[e.jsx("span",{children:Je(m,n("article.index.name"))}),e.jsx("time",{dateTime:m.firstPublishedOn??m.standDate,children:me(m.firstPublishedOn??m.standDate)})]}),e.jsxs("span",{className:"eiq-articles-read-link",children:[n("article.index.readArticle")," ",e.jsx("span",{"aria-hidden":"true",children:"→"})]})]}),e.jsx("div",{className:"eiq-articles-featured-media","aria-hidden":ae(m)?void 0:!0,children:e.jsx("img",{src:pe(m),alt:ae(m),loading:"eager"})})]})}),j.length?e.jsxs("section",{"data-track-view":"articles_page.section_view_3",className:"eiq-articles-list","aria-labelledby":"more-articles-title",children:[e.jsx("h2",{className:"eiq-articles-section-label",id:"more-articles-title",children:n("article.index.moreArticles")}),e.jsx("div",{className:"eiq-articles-grid",children:j.map(h=>e.jsxs(ne,{"data-track":"articles_page.link_4",className:"eiq-articles-card",to:h.path,children:[e.jsx("div",{className:"eiq-articles-card-media","aria-hidden":ae(h)?void 0:!0,children:e.jsx("img",{src:pe(h),alt:ae(h),loading:"lazy"})}),e.jsxs("div",{className:"eiq-articles-card-copy",children:[e.jsx("h3",{children:h.title}),e.jsx("p",{children:h.metaDescription}),e.jsxs("div",{className:"eiq-articles-card-meta",children:[e.jsx("span",{children:Je(h,n("article.index.name"))}),e.jsx("time",{dateTime:h.firstPublishedOn??h.standDate,children:me(h.firstPublishedOn??h.standDate)})]})]})]},h.path))})]}):null]}):e.jsxs("section",{"data-track-view":"articles_page.section_view",className:"eiq-articles-empty","aria-live":"polite",children:[e.jsx("h2",{children:n("article.index.emptyTitle")}),e.jsx("p",{children:n("article.index.emptyDescription")})]})})]})}function rn(){const{t:a}=F(),[t,n]=r.useState({status:"loading"});return r.useEffect(()=>{let i=!0;return window.__EIQ_PRERENDER_HOLD__=!0,window.prerenderReady=!1,Ga().then(o=>{i&&n(o.status==="ok"?{status:"ok",articles:o.articles}:{status:"error"})}),()=>{i=!1,window.__EIQ_PRERENDER_HOLD__=!1}},[]),r.useEffect(()=>{t.status!=="loading"&&(window.__EIQ_PRERENDER_HOLD__=!1,window.prerenderReady=!0)},[t.status]),t.status==="loading"?e.jsx("section",{"data-track-view":"articles_page.section_view_4",className:"eiq-root eiq-articles-state","aria-live":"polite",children:e.jsx("p",{children:a("article.index.loading")})}):t.status==="error"?e.jsxs("section",{"data-track-view":"articles_page.section_view_5",className:"eiq-root eiq-articles-state","aria-live":"polite",children:[e.jsx("h1",{className:"eiq-h2",children:a("article.index.errorTitle")}),e.jsx("p",{children:a("article.index.errorDescription")})]}):e.jsx(sn,{articles:t.articles,origin:ie()})}const on=/^\/[a-z0-9-]+(?:\/[a-z0-9-]+)?$/,ln=/^\/vorschau\/[^/]+$/;function js(){const{pathname:a}=fe(),t=a.replace(/\/+$/,"")||"/";return ln.test(t)?e.jsx(tn,{}):t==="/ratgeber"?e.jsx(rn,{}):on.test(t)?e.jsx(xt,{}):e.jsx(Le,{})}const Ze=["taxRelief.phase.calculate","taxRelief.phase.review","taxRelief.phase.authorize"];function cn({currentPhase:a}){const{t}=F();return e.jsx("div",{className:"w-full",children:e.jsx("div",{className:"flex items-center justify-between",children:Ze.map((n,i)=>{const o=i<a,d=i===a,m=i>a;return e.jsxs("div",{className:"flex items-center flex-1 last:flex-none",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("div",{className:`flex h-7 w-7 items-center justify-center rounded-full text-xs font-bold transition-colors ${o||d?"bg-primary-500 text-white":"border-2 border-slate-300 text-slate-400"}`,children:o?e.jsx(zt,{className:"h-3.5 w-3.5"}):i+1}),e.jsx("span",{className:`text-sm font-medium hidden sm:inline ${d||o?"text-primary-600":"text-slate-400"}`,children:t(n)})]}),i<Ze.length-1&&e.jsx("div",{className:`mx-3 h-0.5 flex-1 rounded-full transition-colors ${m?"bg-slate-200":"bg-primary-500"}`})]},n)})})})}function dn({estimatedRefund:a,exactRefund:t,visible:n}){const{t:i,i18n:o}=F(),d=o.language==="de"?"de-DE":"en-US",m=t!==null&&t>0,j=m?t:a,p=i(m?"taxRelief.stickyBar.exactLabel":"taxRelief.stickyBar.estimatedLabel");return!n||j<=0?null:e.jsx("div",{className:"overflow-hidden",children:e.jsx("div",{className:"bg-primary-900 py-2.5 px-4",children:e.jsxs("div",{className:"mx-auto flex max-w-3xl items-center justify-center gap-3 text-sm",children:[e.jsx("span",{className:"text-white/80",children:p}),e.jsx("span",{className:"font-bold text-white",children:Kt(j,d)}),e.jsxs("span",{className:"inline-flex items-center gap-1 rounded-full bg-white/10 px-2.5 py-0.5 text-xs text-white/70",children:[e.jsx($t,{className:"h-3 w-3"}),i("taxRelief.stickyBar.rejectedBadge")]})]})})})}const un="/assets/knautz-photo-ChZ22a6y.webp",Se="/assets/stromsteuer-industrial-hero-900-BSmkEnqA.webp",mn=[{key:"windorfer-rode",kind:"logo",src:Ia,alt:"WINDORFER RODE Rechtsanwälte",href:"https://www.win-legal.com",imgClass:"h-[52px] rounded-md"},{key:"bvmw",kind:"logo",src:Ft,alt:"BVMW · Der Mittelstand. Bundesverband Mittelständische Wirtschaft",imgClass:"h-[72px]"}];function pn(){const{t:a}=F();return e.jsx("section",{"data-track-view":"partner_trust_bar.section_view",className:"border-y border-line bg-surface",children:e.jsxs("div",{className:"mx-auto max-w-7xl px-5 py-5 sm:px-8 sm:py-6 lg:px-12",children:[e.jsx("p",{className:"text-center text-small font-semibold uppercase tracking-(--type-caps-tracking) text-fg-muted",children:a("taxReliefLanding.partnerTrustBar.eyebrow")}),e.jsx("ul",{className:"mt-5 flex flex-wrap items-center justify-center gap-x-12 gap-y-4 sm:gap-x-16",children:mn.map(t=>e.jsx("li",{className:"flex h-24 items-center justify-center text-center",children:t.kind==="logo"?t.href?e.jsx("a",{"data-track":"partner_trust_bar.a",href:t.href,target:"_blank",rel:"noopener noreferrer","aria-label":t.alt,className:"flex h-full items-center transition-opacity hover:opacity-80",children:e.jsx("img",{src:t.src,alt:t.alt,loading:"lazy",className:`w-auto object-contain ${t.imgClass}`})}):e.jsx("img",{src:t.src,alt:t.alt,loading:"lazy",className:`w-auto object-contain ${t.imgClass}`}):e.jsxs("div",{className:"flex h-full flex-col items-center justify-center rounded-md border border-dashed border-line px-3 py-1.5",children:[e.jsx("span",{className:"text-small font-semibold text-fg-2",children:a(t.labelKey)}),t.sublineKey&&e.jsx("span",{className:"mt-0.5 text-small uppercase tracking-(--type-caps-tracking) text-fg-muted",children:a(t.sublineKey)})]})},t.key))})]})})}function hn(){const{t:a}=F(),t=E.contact.bookingUrl;return r.useEffect(()=>{window.matchMedia("(min-width: 640px)").matches&&N("Specialist Offer Shown",{cta_location:"pre_funnel_bar"})},[t]),e.jsx("div",{className:"grossverbraucher-prefunnel-bar relative z-30 w-full text-white shadow-sm",children:e.jsxs("div",{className:"mx-auto flex max-w-7xl flex-col items-center gap-2 px-5 py-2.5 text-center sm:flex-row sm:justify-center sm:gap-4 sm:py-2.5 sm:text-left",children:[e.jsx("div",{className:"flex items-center gap-2 text-small",children:e.jsx("span",{className:"font-medium leading-snug",children:a("taxReliefLanding.grossverbraucherBar.message")})}),e.jsx("a",{"data-track":"grossverbraucher_prefunnel_bar.tax_relief_landing_grossverbraucher_bar_cta",href:t,target:"_blank",rel:"noopener noreferrer",onClick:()=>N("Book Call Clicked",{cta_location:"pre_funnel_bar",segment:"grossverbraucher"}),className:"grossverbraucher-bar-cta inline-flex flex-shrink-0 items-center gap-1.5 rounded-lg px-3.5 py-1.5 text-small font-semibold transition-colors",children:a("taxReliefLanding.grossverbraucherBar.cta")})]})})}const gn=[la,Ee,rt,La],fn=[ca,Ot,ot,mt,lt],xn=[ct,rt,da,dt,ka],jn=[oa,it,Ee],vn=[ua,ma,pa,ha],bn={win:pt,warn:lt,muted:Ra};function yn(a){const n=a/1e3*20,i=250,o=Math.max(n-i,0);return{gross:n,deductible:i,netRefund:o}}
28function Ne(a,t){return`${a.toLocaleString(t,{minimumFractionDigits:0,maximumFractionDigits:0})} €`}function _n({onStartFunnel:a}){const{t,i18n:n}=F(),i=`${E.energyLawPartner.name} | ${n.language==="de"?E.energyLawPartner.qualification:E.energyLawPartner.qualificationEn}`,o=n.language==="de"?"de-DE":"en-US",d=ie(),m=`${d}/stromsteuer`,j=st("stromsteuer"),p=[{code:"25.62.0",labelKey:"manufacturing",consumptionHint:5e5},{code:"10.71.0",labelKey:"foodBeverage",consumptionHint:3e5},{code:"01.11.0",labelKey:"agriculture",consumptionHint:15e4},{code:"41.20.1",labelKey:"construction",consumptionHint:2e5},{code:"05.10.0",labelKey:"mining",consumptionHint:8e5},{code:"35.11.1",labelKey:"energyWater",consumptionHint:1e6}],[f,_]=r.useState("25.62.0"),[h,k]=r.useState(8e5),S=yn(h),K=Math.min(100,Math.max(0,(h-4e4)/996e4*100)),R=l=>{if(N("CTA Clicked",{cta:"start_calculator",cta_location:l}),l==="hero"){N("Calculator Started"),a({industryCode:f,consumptionKwh:h,autoCalculate:!0});return}a()},q=[0,1,2,3,4,5,6,7],G=(l,x)=>{x&&N("FAQ Expanded",{question:t(`taxReliefLanding.faq.items.${l}.slug`)})},g=E.contact.phone,w=E.contact.phoneDisplay,T=E.contact.bookingUrl;let P=null,Y=!1;P=T,Y=!0;const U=(l,x)=>{x==="book"?N("Book Call Clicked",{cta_location:`landing_${l}`}):N("Contact Clicked",{method:"call",cta_location:`landing_${l}`})},J={"@context":"https://schema.org","@type":"FAQPage",mainEntity:q.map(l=>({"@type":"Question",name:t(`taxReliefLanding.faq.items.${l}.q`),acceptedAnswer:{"@type":"Answer",text:t(`taxReliefLanding.faq.items.${l}.a`)}}))},xe={"@context":"https://schema.org","@type":"Service",name:"Stromsteuer-Erstattung nach §9b StromStG",description:"Digitale Prüfung und Prozesskoordination für Stromsteuerentlastung bei Unternehmen des produzierenden Gewerbes. Erfolgsbasiert – keine Erstattung, keine Kosten.",provider:{"@id":`${d}/#organization`},areaServed:{"@type":"Country",name:"DE"},audience:{"@type":"BusinessAudience",audienceType:"Produzierendes Gewerbe & Land-/Forstwirtschaft (WZ 2003: Abschnitte C, D, E, F + A)"},offers:{"@type":"Offer",price:"0",priceCurrency:"EUR",description:"Kostenlose Berechnung. Vergütung nur bei erfolgreicher Erstattung."}},re={"@context":"https://schema.org","@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",position:1,name:"EnergyIQ",item:`${d}/`},{"@type":"ListItem",position:2,name:"Stromsteuer-Erstattung",item:`${d}/stromsteuer`}]},je={"@context":"https://schema.org","@type":"HowTo",name:"Stromsteuer-Erstattung nach §9b StromStG beantragen",description:"So beantragen Sie die Stromsteuerentlastung für Ihr produzierendes Unternehmen über EnergyIQ in 5 Schritten.",totalTime:"PT10M",step:[{"@type":"HowToStep",position:1,name:"Rückerstattung prüfen",text:"Geben Sie Ihren jährlichen Stromverbrauch in kWh ein und berechnen Sie Ihre voraussichtliche Erstattung kostenlos."},{"@type":"HowToStep",position:2,name:"Stromrechnung hochladen",text:"Laden Sie eine aktuelle Stromrechnung hoch. EnergyIQ liest Verbrauch, Zeitraum und Versorger für die Schnellprüfung aus."},{"@type":"HowToStep",position:3,name:"Daten prüfen und bestätigen",text:"Überprüfen Sie die extrahierten Daten und bestätigen Sie die Angaben für den Erstattungsantrag."},{"@type":"HowToStep",position:4,name:"Vollmacht digital unterschreiben",text:"Unterschreiben Sie die Vollmacht digital, damit die Unterlagen für die Einreichung durch den mandatierten Partner vorbereitet werden können."},{"@type":"HowToStep",position:5,name:"Erstattung erhalten",text:"Das Hauptzollamt prüft den Antrag und überweist die Erstattung direkt auf Ihr Firmenkonto. Bearbeitungszeit: 4–8 Wochen."}]},oe=["manufacturing","electricity","noDeMinimis"],v=["upload","check","submit","receive"],le=["lawFirm","noRisk","gdpr","personal"],ve=[{url:"https://www.gesetze-im-internet.de/stromstg/__9b.html"},{url:"https://www.gesetze-im-internet.de/stromstg/__2.html"},{url:"https://www.gesetze-im-internet.de/stromstg/index.html"},{url:"https://www.gesetze-im-internet.de/stromstv/index.html"},{url:"https://www.zoll.de/DE/Fachthemen/Steuern/Verbrauchsteuern/Strom-Energie/strom-energie_node.html"}],Z=[0,1,2,3,4,5],be=[[t("taxReliefLanding.fees.scopeLabel"),t("taxReliefLanding.fees.scopeValue")],[t("taxReliefLanding.fees.priceLabel"),t("taxReliefLanding.fees.priceValue")],[t("taxReliefLanding.fees.triggerLabel"),t("taxReliefLanding.fees.triggerValue")]];return e.jsxs(e.Fragment,{children:[e.jsxs(ge,{children:[e.jsx("title",{children:t("taxReliefLanding.seo.title")}),e.jsx("meta",{name:"description",content:t("taxReliefLanding.seo.description")}),e.jsx("link",{rel:"canonical",href:m}),e.jsx("meta",{property:"og:title",content:t("taxReliefLanding.seo.title")}),e.jsx("meta",{property:"og:description",content:t("taxReliefLanding.seo.description")}),e.jsx("meta",{property:"og:type",content:"website"}),e.jsx("meta",{property:"og:url",content:m}),e.jsx("meta",{property:"og:image",content:j.url}),e.jsx("meta",{property:"og:image:width",content:j.width}),e.jsx("meta",{property:"og:image:height",content:j.height}),e.jsx("meta",{property:"og:locale",content:"de_DE"}),e.jsx("meta",{property:"og:site_name",content:"EnergyIQ"}),e.jsx("meta",{name:"twitter:card",content:"summary_large_image"}),e.jsx("meta",{name:"twitter:title",content:t("taxReliefLanding.seo.title")}),e.jsx("meta",{name:"twitter:description",content:t("taxReliefLanding.seo.description")}),e.jsx("meta",{name:"twitter:image",content:j.url}),e.jsx("script",{type:"application/ld+json",children:JSON.stringify(J)}),e.jsx("script",{type:"application/ld+json",children:JSON.stringify(xe)}),e.jsx("script",{type:"application/ld+json",children:JSON.stringify(re)}),e.jsx("script",{type:"application/ld+json",children:JSON.stringify(je)})]}),e.jsxs("div",{className:"st-root",lang:n.language.startsWith("de")?"de":"en",children:[e.jsx(hn,{}),e.jsx("link",{rel:"preload",as:"image",href:Se,media:"(max-width: 899px)",fetchPriority:"high"}),e.jsx("link",{rel:"preload",as:"image",href:ue,media:"(min-width: 900px)",fetchPriority:"high"}),e.jsxs("section",{"data-track-view":"tax_relief_landing.section_view",className:"st-intro","aria-labelledby":"st-intro-title",children:[e.jsxs("picture",{className:"st-intro-art","aria-hidden":"true",children:[e.jsx("source",{media:"(max-width: 899px)",srcSet:Se}),e.jsx("img",{src:ue,alt:"",width:1672,height:941,fetchPriority:"high"})]}),e.jsx("div",{className:"st-container",children:e.jsxs("div",{className:"st-intro-grid",children:[e.jsxs("div",{className:"st-intro-copy",children:[e.jsx("span",{className:"st-pill",children:t("taxReliefLanding.hero.badge")}),e.jsxs("h1",{id:"st-intro-title",className:"st-title",children:[t("taxReliefLanding.hero.title")," ",e.jsx("span",{children:t("taxReliefLanding.hero.titleHighlight")})]}),e.jsx("p",{className:"st-lede",children:t("taxReliefLanding.hero.subtitle")}),e.jsx("div",{className:"st-intro-actions",children:e.jsxs(ne,{"data-track":"tax_relief_landing.landing_v2_nav_calculate",to:"/app",className:"st-btn st-btn--primary",children:[t("landingV2.nav.calculate"),e.jsx(He,{size:18,strokeWidth:1.8,"aria-hidden":"true"})]})}),e.jsxs("div",{className:"st-time-compare",children:[e.jsxs("div",{children:[e.jsx("span",{children:t("taxReliefLanding.hero.compareSelfLabel")}),e.jsx("strong",{children:t("taxReliefLanding.hero.compareSelfValue")})]}),e.jsx("span",{"aria-hidden":"true",className:"st-time-divider"}),e.jsxs("div",{children:[e.jsx("span",{children:t("taxReliefLanding.hero.compareEiqLabel")}),e.jsx("strong",{children:t("taxReliefLanding.hero.compareEiqValue")})]})]}),e.jsxs("div",{className:"st-contacts",children:[e.jsxs("span",{className:"st-contacts-photos","aria-hidden":"true",children:[e.jsx("img",{src:Be,alt:""}),e.jsx("img",{src:Ue,alt:""}),e.jsx("img",{src:Ve,alt:""})]}),e.jsxs("div",{className:"st-contacts-body",children:[e.jsx("span",{className:"st-contacts-eyebrow",children:t("taxReliefLanding.trustContactBar.eyebrow")}),e.jsxs("div",{className:"st-contacts-names",children:["Pascal Kober · ",E.taxAdvisor.name," ·"," ",E.energyLawPartner.name]}),e.jsxs("p",{className:"st-contacts-text",children:[t("taxReliefLanding.trustContactBar.desc")," ",e.jsx("a",{"data-track":"tax_relief_landing.tax_relief_landing_hero_trust_call_cta",href:`tel:${g}`,onClick:()=>U("hero","call"),children:t("taxReliefLanding.heroTrust.callCta")}),P?" · ":null,P&&e.jsx("a",{"data-track":"tax_relief_landing.tax_relief_landing_hero_trust_book_cta",href:P,...Y?{target:"_blank",rel:"noopener noreferrer"}:{},onClick:()=>U("hero","book"),children:t("taxReliefLanding.heroTrust.bookCta")})]})]})]})]}),e.jsxs("div",{className:"st-calculator",role:"region","aria-label":t("taxReliefLanding.heroCard.title"),children:[e.jsxs("div",{className:"st-calc-top",children:[e.jsx("span",{className:"st-calc-icon","aria-hidden":"true",children:e.jsx(it,{size:21,strokeWidth:1.5})}),e.jsxs("div",{children:[e.jsx("h2",{children:t("taxReliefLanding.heroCard.title")}),e.jsx("p",{children:t("taxReliefLanding.heroCard.subtitle")})]})]}),e.jsxs("div",{className:"st-form-grid",children:[e.jsxs("div",{className:"st-field",children:[e.jsx("label",{htmlFor:"hero-industry",children:t("taxRelief.calculator.industryLabel")}),e.jsx("div",{className:"st-select-wrap",children:e.jsx(Mt,{"data-track":"tax_relief_landing.hero_industry",id:"hero-industry",value:f,onChange:l=>{const x=l.target.value;_(x);const D=p.find(L=>L.code===x),X=D?.consumptionHint||h;D&&k(X),N("Calculator Started")},placeholder:t("taxRelief.calculator.categoryPlaceholder"),options:p.map(({code:l,labelKey:x})=>({value:l,label:t(`taxRelief.calculator.industryCategories.${x}`)}
28))})})]}),e.jsxs("label",{className:"st-field",children:[e.jsx("span",{children:t("taxReliefLanding.heroCard.inputLabel")}),e.jsxs("span",{className:"st-kwh-wrap",children:[e.jsx("input",{"data-track":"tax_relief_landing.st_consumption",id:"st-consumption",type:"text",inputMode:"numeric",value:h.toLocaleString(o),onChange:l=>{const x=l.target.value.replace(/\D/g,""),D=parseInt(x,10);if(isNaN(D))x===""&&(k(0),N("Calculator Started"));else{const X=Math.min(D,1e7);k(X),N("Calculator Started")}},placeholder:t("taxReliefLanding.heroCard.inputPlaceholder")}),e.jsx("em",{children:"kWh"})]})]})]}),e.jsx("input",{"data-track":"tax_relief_landing.st_consumption_range",id:"st-consumption-range",type:"range",min:4e4,max:1e7,step:5e3,value:h,onChange:l=>{const x=Number(l.target.value);k(x),N("Calculator Started")},className:"st-range focus-ring",style:{"--st-range-progress":`${K}%`},"aria-label":t("taxReliefLanding.heroCard.inputLabel"),"aria-valuetext":`${h.toLocaleString(o)} kWh`}),S.netRefund>0?e.jsxs("div",{className:"st-calc-result",children:[e.jsx("span",{id:"st-result-label",children:t("taxReliefLanding.heroCard.net")}),e.jsx("output",{htmlFor:"st-consumption st-consumption-range","aria-labelledby":"st-result-label",children:Ne(S.netRefund,o)}),e.jsx("p",{children:t("taxReliefLanding.heroCard.netSub")}),e.jsxs("dl",{children:[e.jsxs("div",{children:[e.jsx("dt",{children:t("taxReliefLanding.heroCard.gross")}),e.jsx("dd",{children:Ne(S.gross,o)})]}),e.jsxs("div",{children:[e.jsx("dt",{children:t("taxReliefLanding.heroCard.deductible")}),e.jsxs("dd",{children:["-",Ne(S.deductible,o)]})]})]}),e.jsxs("button",{"data-track":"tax_relief_landing.tax_relief_landing_hero_cta",type:"button",className:"st-btn st-btn--primary",onClick:()=>R("hero"),children:[t("taxReliefLanding.hero.cta"),e.jsx(He,{size:18,strokeWidth:1.8,"aria-hidden":"true"})]}),e.jsx("small",{children:t("taxReliefLanding.heroCard.ctaHint")})]}):e.jsx("div",{className:"st-calc-empty",children:t("taxReliefLanding.heroCard.belowThreshold")})]})]})})]}),e.jsx("div",{className:"st-partners",children:e.jsx(pn,{})}),e.jsx("section",{"data-track-view":"tax_relief_landing.section_view_2",className:"st-section st-context-section",children:e.jsxs("div",{className:"st-container",children:[e.jsxs("div",{className:"st-context-grid",children:[e.jsxs("div",{className:"st-context-copy",children:[e.jsx("span",{className:"st-eyebrow",children:t("taxReliefLanding.seoContent.freshness")}),e.jsx("h2",{className:"st-heading",children:t("taxReliefLanding.seoContent.whatIs9b.title")}),e.jsx("p",{children:t("taxReliefLanding.seoContent.whatIs9b.p1")}),e.jsx("p",{children:t("taxReliefLanding.seoContent.whatIs9b.p2")}),e.jsxs("div",{className:"st-stat-row",children:[e.jsxs("div",{children:[e.jsx("span",{children:t("taxReliefLanding.hero.avgRefund")}),e.jsx("strong",{children:"20 €/MWh"})]}),e.jsxs("div",{children:[e.jsx("span",{children:t("taxReliefLanding.stats.stat4")}),e.jsx("strong",{children:"§9b StromStG"})]})]})]}),e.jsxs("figure",{className:"st-industrial-card",children:[e.jsxs("picture",{children:[e.jsx("source",{media:"(max-width: 899px)",srcSet:Se}),e.jsx("img",{src:ue,alt:t("taxReliefLanding.eligibility.imageAlt"),width:1672,height:941,loading:"lazy"})]}),e.jsx("figcaption",{children:e.jsx("span",{children:t("taxReliefLanding.eligibility.manufacturing.title")})})]})]}),e.jsxs("div",{className:"st-eligibility-panel",children:[e.jsxs("div",{className:"st-eligibility-copy",children:[e.jsx("h2",{className:"st-heading",children:t("taxReliefLanding.seoContent.eligibilityDetailed.title")}),e.jsx("p",{children:t("taxReliefLanding.seoContent.eligibilityDetailed.p1")}),e.jsx("ul",{children:["wzC","wzD","wzE","wzF","wzA"].map(l=>e.jsx("li",{children:t(`taxReliefLanding.seoContent.eligibilityDetailed.${l}`)},l))}),e.jsx("p",{children:t("taxReliefLanding.seoContent.eligibilityDetailed.p2")})]}),e.jsx("div",{className:"st-eligibility-cards",children:oe.map((l,x)=>{const D=jn[x]??mt;return e.jsxs("article",{"data-track-view":"tax_relief_landing.article",children:[e.jsx("span",{className:"st-eligibility-icon","aria-hidden":"true",children:e.jsx(D,{size:20,strokeWidth:2.1})}),e.jsxs("div",{className:"st-eligibility-card-body",children:[e.jsx("h3",{children:t(`taxReliefLanding.eligibility.${l}.title`)}),e.jsx("p",{children:t(`taxReliefLanding.eligibility.${l}.description`)})]})]},l)})})]})]})}),e.jsx(na,{containerClassName:"st-container",sectionClassName:"st-section st-proof-section",heading:{className:"st-section-head",title:t("taxReliefLanding.trustStrip.title"),titleClassName:"st-heading",subt
28itle:t("taxReliefLanding.trustStrip.subtitle"),subtitleClassName:"st-lede"},items:le.map((l,x)=>({key:l,icon:gn[x]??Ee,title:t(`taxReliefLanding.trustStrip.${l}.title`),value:t(`taxReliefLanding.trustStrip.${l}.value`),description:t(`taxReliefLanding.trustStrip.${l}.sub`)})),note:t("taxReliefLanding.trustStrip.valueProp"),ledgerClassName:"st-proof-grid",itemClassName:"st-proof-card",iconClassName:"st-proof-icon",titleClassName:"st-proof-title",noteClassName:"st-proof-note",titleAs:"span",descriptionAs:"p",iconSize:22}),e.jsx(sa,{containerClassName:"st-container",sectionClassName:"st-section st-founder-section",layoutClassName:"st-founder",portrait:{src:Be,alt:"Pascal Kober",as:"figure"},contentClassName:"st-founder-copy",eyebrow:t("taxReliefLanding.founderNote.eyebrow"),eyebrowClassName:"st-eyebrow",title:t("taxReliefLanding.founderNote.title"),titleClassName:"st-heading",lead:t("taxReliefLanding.founderNote.p1"),leadClassName:"st-founder-lead",body:[t("taxReliefLanding.founderNote.p2"),t("taxReliefLanding.founderNote.p3")],signature:e.jsxs("div",{className:"st-signature",children:[e.jsxs("div",{children:[e.jsx("strong",{children:t("taxReliefLanding.founderNote.signatureName")}),e.jsx("span",{children:t("taxReliefLanding.founderNote.signatureRole")})]}),e.jsx("a",{"data-track":"tax_relief_landing.tax_relief_landing_founder_note_linkedin_cta",href:"https://www.linkedin.com/in/pascal-kober/",target:"_blank",rel:"noopener noreferrer","aria-label":t("taxReliefLanding.founderNote.linkedinCta"),children:"LinkedIn"})]}),aside:e.jsxs("aside",{className:"st-lawyer-aside",children:[e.jsxs("div",{className:"st-lawyer-person",children:[e.jsx("img",{src:Ue,alt:"RA Patrick Rode",loading:"lazy"}),e.jsxs("div",{children:[e.jsx("span",{children:t("taxReliefLanding.team.rodeLabel")}),e.jsxs("blockquote",{children:["“",t("taxReliefLanding.team.rodeQuote"),"”"]}),e.jsxs("p",{children:[e.jsx("strong",{children:"RA Patrick Rode"}),","," ",t("taxReliefLanding.team.rodeRole")]})]})]}),e.jsxs("div",{className:"st-lawyer-person",children:[e.jsx("img",{src:Ve,alt:E.energyLawPartner.name,loading:"lazy"}),e.jsx("div",{children:e.jsxs("p",{children:[e.jsx("strong",{children:i}),","," ",E.energyLawPartner.position," ·"," ",E.energyLawPartner.focus]})})]})]})}),e.jsx("section",{"data-track-view":"tax_relief_landing.section_view_3",className:"st-section st-klartext-section",children:e.jsxs("div",{className:"st-container",children:[e.jsxs("div",{className:"st-section-head",children:[e.jsx("span",{className:"st-eyebrow",children:t("taxReliefLanding.klartext.eyebrow")}),e.jsx("h2",{className:"st-heading",children:t("taxReliefLanding.klartext.title")}),e.jsx("p",{className:"st-lede",children:t("taxReliefLanding.klartext.subtitle")})]}),e.jsxs("div",{className:"st-promise-ledger",children:[e.jsxs("div",{className:"st-promise-ledger-head",children:[e.jsx("h3",{children:t("taxReliefLanding.klartext.weDo.title")}),e.jsx("h3",{children:t("taxReliefLanding.klartext.weDont.title")})]}),[0,1,2,3,4].map(l=>{const x=fn[l]??pt,D=xn[l]??ct;return e.jsxs("div",{className:"st-promise-ledger-row",children:[e.jsxs("p",{children:[e.jsx("span",{className:"st-promise-row-icon","aria-hidden":"true",children:e.jsx(x,{size:18,strokeWidth:2.1})}),e.jsx("span",{children:t(`taxReliefLanding.klartext.weDo.items.${l}`)})]}),e.jsxs("p",{className:"negative",children:[e.jsx("span",{className:"st-promise-row-icon","aria-hidden":"true",children:e.jsx(D,{size:18,strokeWidth:2.1})}),e.jsx("span",{children:t(`taxReliefLanding.klartext.weDont.items.${l}`)})]})]},l)})]})]})}),e.jsx(ia,{containerClassName:"st-container",id:"so-funktionierts",sectionClassName:"st-section st-process-section",heading:{className:"st-section-head",title:t("taxReliefLanding.howItWorks.title"),titleClassName:"st-heading",subtitle:t("taxReliefLanding.howItWorks.subtitle"),subtitleClassName:"st-lede"},steps:v.map((l,x)=>({key:l,icon:vn[x]??dt,title:t(`taxReliefLanding.howItWorks.steps.${l}.title`),description:t(`taxReliefLanding.howItWorks.steps.${l}.description`)})),listClassName:"st-process-list",iconClassName:"st-process-icon",iconSize:18,actionClassName:"st-center-action",action:e.jsxs(e.Fragment,{children:[e.jsxs("button",{"data-track":"tax_relief_landing.tax_relief_landing_how_it_works_upload_cta",type:"button",className:"st-btn st-btn--primary",onClick:()=>R("how-it-works"),children:[e.jsx(ot,{size:18,strokeWidth:2.1,"aria-hidden":"true"}),t("taxReliefLanding.howItWorks.uploadCta")]}),e.jsx("button",{"data-track":"tax_relief_landing.tax_relief_landing_hero_cta_2",type:"button",className:"st-btn st-btn--outline",onClick:()=>R("how-it-works"),children:t("taxReliefLanding.hero.cta")})]})}),e.jsx("section",{"data-track-view":"tax_relief_landing.section_view_4",className:"st-section st-pricing-section",children:e.jsx("div",{className:"st-container",children:e.jsxs("div",{className:"st-pricing-grid",children:[e.jsxs("div",{children:[e.jsx("span",{className:"st-eyebrow",children:t("taxReliefLanding.fees.title")}),e.jsx("h2",{className:"st-heading",children:t("taxReliefLanding.fees.subtitle")}),e.jsx("p",{children:t("taxReliefLanding.fees.zeroRiskText")})]}),e.jsxs("div",{className:"st-fee-card",children:[e.jsx("div",{className:"st-fee-head",children:e.jsx("strong",{children:t("taxReliefLanding.fees.zeroRiskTitle")})}),e.jsx("div",{className:"st-fee-table",children:be.map(([l,x])=>e.jsxs("div",{children:[e.jsx("span",{children:l}),e.jsx("strong",{children:x})]},l))}),e.jsx("small",{children:t("taxReliefLanding.fees.footnote")})]})]})})}),e.jsx("section",{"data-track-view":"tax_relief_landing.section_view_5",className:"st-section st-deadline-section",children:e.jsx("div",{className:"st-container",children:e.jsxs("div",{className:"st-deadline-card",children:[e.jsxs("div",{children:[e.jsx("span",{className:"st-eyebrow",children:t("taxReliefLanding.hero.urgencyBanner")}),e.jsx("h2",{className:"st-heading",children:t("taxReliefLanding.seoContent.deadline.title")}),e.jsx("p",{children:t("taxReliefLanding.seoContent.deadline.p1")}),e.jsx("p",{children:t("taxReliefLanding.seoContent.deadline.p2")})]}),e.jsx("button",{"data-track":"tax_relief_landing.tax_relief_landing_seo_content_deadline_cta_text",type:"button",className:"st-btn st-btn--light",onClick:()=>R("deadline"),children:t("taxReliefLanding.seoContent.deadline.ctaText")})]})})}),e.jsx("section",{"data-track-view":"tax_relief_landing.section_view_6",className:"st-section st-comparison-section",children:e.jsxs("div",{className:"st-container",children:[e.jsxs("div",{className:"st-section-head",children:[e.jsx("h2",{className:"st-heading",children:t("taxReliefLanding.comparison3.title")}),e.jsx("p",{className:"st-lede",children:t("taxReliefLanding.comparison3.subt
28itle")})]}),e.jsx(ra,{className:"st-comparison",headClassName:"st-comparison-head",rowClassName:"st-comparison-row",cellClassName:"st-comparison-cell",labelClassName:"st-comparison-label",iconClassName:"st-comparison-icon",toneIcons:bn,columns:[{key:"energyiq",label:t("taxReliefLanding.comparison3.headerEnergyiq")},{key:"steuerberater",label:t("taxReliefLanding.comparison3.headerSteuerberater")},{key:"self",label:t("taxReliefLanding.comparison3.headerSelf")}],rows:Z.map(l=>{const x=t(`taxReliefLanding.comparison3.rows.${l}`,{returnObjects:!0});return{key:String(l),label:x.label,cells:[{key:"energyiq",label:t("taxReliefLanding.comparison3.headerEnergyiq"),tone:"win",content:x.energyiq},{key:"steuerberater",label:t("taxReliefLanding.comparison3.headerSteuerberater"),tone:"warn",content:x.steuerberater},{key:"self",label:t("taxReliefLanding.comparison3.headerSelf"),tone:"muted",content:x.self}]}})})]})}),e.jsx("section",{"data-track-view":"tax_relief_landing.section_view_7",className:"st-section st-testimonial-section",children:e.jsxs("div",{className:"st-container",children:[e.jsxs("div",{className:"st-section-head",children:[e.jsx("span",{className:"st-eyebrow",children:t("taxReliefLanding.testimonialsSection.eyebrow")}),e.jsx("h2",{className:"st-heading",children:t("taxReliefLanding.testimonialsSection.title")}),e.jsx("p",{className:"st-lede",children:t("taxReliefLanding.testimonialsSection.subtitle")})]}),e.jsxs("div",{className:"st-testimonial-grid",children:[e.jsxs("article",{"data-track-view":"tax_relief_landing.article",className:"st-testimonial-card",children:[e.jsxs("blockquote",{children:["“",t("taxReliefLanding.customerTestimonial.quote"),"”"]}),e.jsxs("footer",{children:[e.jsx("img",{src:un,alt:t("taxReliefLanding.customerTestimonial.name"),loading:"lazy"}),e.jsxs("div",{children:[e.jsx("strong",{children:t("taxReliefLanding.customerTestimonial.name")}),e.jsx("span",{children:t("taxReliefLanding.customerTestimonial.role")})]})]})]}),e.jsxs("aside",{className:"st-testimonial-policy",children:[e.jsx("strong",{children:t("taxReliefLanding.testimonialsSection.moreComingLabel")}),e.jsx("p",{children:t("taxReliefLanding.testimonialsSection.moreComingText")})]})]})]})}),e.jsx("section",{"data-track-view":"tax_relief_landing.section_view_8",className:"st-section st-articles-section",children:e.jsxs("div",{className:"st-container",children:[e.jsxs("div",{className:"st-section-head",children:[e.jsx("span",{className:"st-eyebrow",children:t("taxReliefLanding.articles.eyebrow")}),e.jsx("h2",{className:"st-heading",children:t("taxReliefLanding.articles.title")}),e.jsx("p",{className:"st-lede",children:t("taxReliefLanding.articles.subtitle")})]}),e.jsx("div",{className:"st-article-list",children:ve.map((l,x)=>e.jsxs("a",{"data-track":"tax_relief_landing.a",href:l.url,target:"_blank",rel:"noopener noreferrer",onClick:()=>N("Article Link Clicked",{article_index:x}),children:[e.jsx("span",{className:"source",children:t(`taxReliefLanding.articles.items.${x}.source`)}),e.jsx("strong",{children:t(`taxReliefLanding.articles.items.${x}.title`)}),e.jsx("span",{children:t(`taxReliefLanding.articles.items.${x}.readTime`)}),e.jsx(ga,{size:20,strokeWidth:1.5,"aria-hidden":"true"})]},l.url))})]})}),e.jsx("section",{"data-track-view":"tax_relief_landing.section_view_9",className:"st-section st-faq-section",children:e.jsxs("div",{className:"st-container",children:[e.jsx("div",{className:"st-section-head",children:e.jsx("h2",{className:"st-heading",children:t("taxReliefLanding.faq.title")})}),e.jsx("div",{className:"st-faq-list",children:q.map((l,x)=>e.jsxs("details",{"data-track":"tax_relief_landing.disclosure",className:"st-faq-item",open:x===0,onToggle:D=>G(l,D.currentTarget.open),children:[e.jsxs("summary",{"data-track":"tax_relief_landing.summary",children:[e.jsx("span",{children:t(`taxReliefLanding.faq.items.${l}.q`)}),e.jsx("span",{"aria-hidden":"true",className:"st-faq-toggle"})]}),e.jsx("p",{children:t(`taxReliefLanding.faq.items.${l}.a`)})]},l))}),e.jsx("div",{className:"st-center-action",children:e.jsx("button",{"data-track":"tax_relief_landing.tax_relief_landing_hero_cta_3",type:"button",className:"st-btn st-btn--primary",onClick:()=>R("faq"),children:t("taxReliefLanding.hero.cta")})}),e.jsx("div",{className:"st-faq-overview-action",children:e.jsx(ne,{"data-track":"tax_relief_landing.landing_v2_faq_all_questions",to:"/faq",className:"st-btn st-btn--outline",children:t("landingV2.faq.allQuestions")})})]})}),e.jsx("section",{"data-track-view":"tax_relief_landing.section_view_10",className:"st-final-section",children:e.jsx("div",{className:"st-container",children:e.jsxs("div",{className:"st-final-card",children:[e.jsxs("div",{children:[e.jsx("span",{className:"st-eyebrow",children:t("taxReliefLanding.finalCtaTrust.eyebrow")}),e.jsx("h2",{className:"st-heading",children:t("taxReliefLanding.finalCtaTrust.title")}),e.jsx("p",{children:t("taxReliefLanding.finalCtaTrust.subtitle")})]}),e.jsxs("div",{className:"st-final-actions",children:[e.jsx("button",{"data-track":"tax_relief_landing.tax_relief_landing_hero_cta_4",type:"button",className:"st-btn st-btn--light",onClick:()=>R("bottom"),children:t("taxReliefLanding.hero.cta")}),e.jsx("small",{children:t("taxReliefLanding.finalCta.note")}),e.jsxs("div",{children:[e.jsx("a",{"data-track":"tax_relief_landing.a_2",href:`tel:${g}`,onClick:()=>U("final","call"),children:w}),P&&e.jsx("a",{"data-track":"tax_relief_landing.tax_relief_landing_hero_trust_book_cta_3",href:P,...Y?{target:"_blank",rel:"noopener noreferrer"}:{},onClick:()=>U("final","book"),children:t("taxReliefLanding.heroTrust.bookCta")})]})]})]})})})]})]})}function Xe({canonicalUrl:a}){const t=st("stromsteuer");return e.jsxs(ge,{children:[e.jsx("title",{children:"Stromsteuer-Erstattung nach §9b berechnen | EnergyIQ"}),e.jsx("meta",{name:"description",content:"Berechnen Sie Ihre Stromsteuer-Erstattung nach §9b StromStG und starten Sie die digitale Rückforderung mit EnergyIQ. Erfolgsbasiert, ohne Vorabkosten."}),e.jsx("link",{rel:"canonical",href:a}),e.jsx("meta",{property:"og:title",content:"Stromsteuer-Erstattung nach §9b berechnen"}),e.jsx("meta",{property:"og:description",content:"Anspruch in Minuten prüfen und die Rückforderung digital starten. Für produzierende Unternehmen, erfolgsbasiert mit EnergyIQ."}),e.jsx("meta",{property:"og:type",content:"website"}),e.jsx("meta",{property:"og:url",content:a}),e.jsx("meta",{property:"og:image",content:t.url}),e.jsx("meta",{property:"og:image:width",content:t.width}),e.jsx("meta",{property:"og:image:height",content:t.height}),e.jsx("meta",{property:"og:locale",content:"de_DE"}),e.jsx("meta",{property:"og:site_name",content:"EnergyIQ"}),e.jsx("meta",{name:"twitter:card",content:"summary_large_image"}),e.jsx("meta",{name:"twitter:title",content:"Stromsteuer-Erstattung nach §9b berechnen"}),e.jsx("meta",{name:"twitter:description",content:"Anspruch prüfen, Erstattung sehen, Rückforderung digital starten."}),e.jsx("meta",{name:"twitter:image",content:t.url}),e.jsx("script",{type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org","@type":"WebApplication",name:"Stromsteuer-Rechner",description:"Berechnen Sie Ihre Stromsteuer-Erstattung nach §9b StromStG",url:a,applicationCategory:"BusinessApplication",operatingSystem:"Web",offers:{"@type":"Offer",price:"0",priceCurrency:"EUR",description:"Kostenlose Berechnung der Erstattungshö
28he"},inLanguage:"de",audience:{"@type":"BusinessAudience",audienceType:"Produzierende Unternehmen"}})})]})}const et=new Set(["vollmacht_uploaded","vollmacht_awaiting_post","vollmacht_received","vollmacht_rejected","application_submitted","order_sent","hza_processing","decision_received","payout_completed"]),wn="taxRelief_currentStep_",he={landing:0,calculator:1,calculatorResult:2,email:3,invoiceAndSites:4,declarations:5,company:6,authorization:7,completion:8,terminated:9};function Sn(a){return he[a]}function Ie(a){return`${wn}${a}`}function Nn(a){try{const t=localStorage.getItem(Ie(a));return!t||!(t in he)?null:t}catch{return null}}function Rn(a,t){try{localStorage.setItem(Ie(a),t)}catch{}}function Cn(a){try{localStorage.removeItem(Ie(a))}catch{}}const Ce={companyName:"",legalForm:"",ceoName:"",street:"",postalCode:"",city:""};function tt(a){if(a.companyName||a.legalForm||a.address?.street)return{companyName:a.companyName||"",legalForm:a.legalForm||"",ceoName:a.managingDirector||"",street:a.address?.street||"",postalCode:a.address?.postalCode||"",city:a.address?.city||""};const t=(a.abnahmestellen??[])[0];return t?{...Ce,companyName:t.label||"",street:t.streetAddress||"",postalCode:t.postalCode||"",city:t.city||""}:Ce}function ke(){const a=te.getState();return a.attributionSource==="code"&&a.referralCodeEntered?{referralCode:a.referralCodeEntered}
28:a.attributionSource==="link"&&a.slug?{partnerSlug:a.slug}:{}}function kn(a,t,n){const i=a&&t?(()=>{try{return new URL(t).origin}catch{return}})():void 0;return{...n&&a&&{embed:!0},...i&&{embedOrigin:i}}}const En={email_captured:"invoiceAndSites",no_invoice_report_sent:"invoiceAndSites",invoice_uploaded:"invoiceAndSites",data_confirmed:"declarations",declarations_completed:"company",company_data_entered:"authorization",vollmacht_downloaded:"authorization",vollmacht_uploaded:"completion",vollmacht_awaiting_post:"completion",vollmacht_received:"completion",vollmacht_rejected:"completion",application_submitted:"completion",order_sent:"completion",hza_processing:"completion",decision_received:"completion",payout_completed:"completion"};function Ln(a,t){const n=En[a.status]||"invoiceAndSites",i=(a.abnahmestellen??[]).length>0,o=(a.consumptionKwh??0)>0;return!i&&!o&&n!=="completion"&&n!=="terminated"?"invoiceAndSites":n==="completion"||n==="terminated"?n:t&&t!=="landing"&&he[t]<=he[n]?t:n}async function An(a){const{t}=a;try{const n=await Re(a.applicationId);a.onApplication(n);const i=n.consumptionKwh;if(!(i>0))return a.onError(t("common.error"),t("taxRelief.invoiceSites.errors.noSites")),{outcome:"stay"};const o=await ut({consumptionKwh:i,wzCode:a.wzCode||n.wzCode||"",...ke()});if(o.is_eligible===!1||o.customer_receives_eur<=0){const d=o.ineligible_reason==="industry"?"taxRelief.calculator.industryNotEligible":"taxRelief.calculator.belowThreshold";return a.onError(t("common.error"),t(d)),{outcome:"stay"}}a.onResult({result:o,authoritativeKwh:i}),a.previousConsumptionKwh>0&&Math.abs(i-a.previousConsumptionKwh)>100&&a.onConsumptionChanged({oldKwh:a.previousConsumptionKwh,newKwh:i,oldRefund:a.previousEstimatedRefund,newRefund:o.customer_receives_eur});try{await fa(a.applicationId,{consumptionKwh:i})}catch(d){const{title:m,message:j}=M(d,t);return a.onError(m,j),{outcome:"stay"}}return{outcome:"advance",result:o,authoritativeKwh:i}}catch(n){const{title:i,message:o}=M(n,t);return a.onError(i,o),{outcome:"stay"}}}async function In(a){try{const t=await xa(a.applicationId,a.payload);a.onSubmitted(t)}catch(t){Q("submit_application",t);const{title:n,message:i}=M(t,a.t);return a.onError(n,i),"stay"}try{await ja(a.applicationId)}catch(t){Q("generate_document",t);const{title:n,message:i}=M(t,a.t);a.onError(n,i)}return"advance"}function Pn(a){switch(a){case"calculator":case"calculatorResult":case"email":return 0;case"invoiceAndSites":return 1;case"declarations":case"company":case"authorization":return 2;default:return null}}function Dn(){const{t:a}=F(),{applicationId:t}=nt(),n=Jt(),i=fe(),[o,d]=r.useState("landing"),[m,j]=r.useState(!1),p=r.useRef(!0);r.useEffect(()=>{window.scrollTo({top:0});const s=()=>N("Step Viewed",{step:o,step_index:Sn(o)});p.current?(p.current=!1,De||s()):s()},[o]);const[f,_]=r.useState(""),[h,k]=r.useState(""),[S,K]=r.useState(0),[R,q]=r.useState(0),[G,g]=r.useState(!0),[w,T]=r.useState(""),[P,Y]=r.useState(""),[U,J]=r.useState(""),[xe,re]=r.useState(""),[je,oe]=r.useState(!1),[v,le]=r.useState(null),[ve,Z]=r.useState(""),[be,l]=r.useState(null),[x,D]=r.useState(null),[X,L]=r.useState(!1),[jt,ye]=r.useState(!1),[ce,Pe]=r.useState(null),[De,ee]=r.useState(()=>!!t&&(!!localStorage.getItem(V)||!!new URLSearchParams(window.location.search).get("token"))),[qe,Te]=r.useState([]),[vt,ze]=r.useState(null),bt=qe.some(s=>s.aggregation?.wasAnnualized),[yt,Ke]=r.useState("standard");r.useEffect(()=>{if(v){if(o==="landing"){Cn(v);return}Rn(v,o)}},[v,o]),r.useEffect(()=>{o!=="calculatorResult"&&m&&j(!1)},[o,m]);const[C,$e]=r.useState({activityMix:null,revenueSplitStatus:null,productionRevenueSharePct:null,hasPvSystem:!1,pvCapacityKw:0,producesNutzenergie:!1,noFinancialDifficulties:!1,noEuRecoveryOrder:!1,isSmallestEntity:!0,hasPrivateUsage:!1,privateUsageKwh:0,hasEvCharging:!1,evHasSeparateMeter:!1,evMeterConsumptionKwh:0,evChargingEventsPerYear:0,evAvgKwhPerCharge:30,evVehicleType:"bev"}),[A,_e]=r.useState(Ce),Fe=r.useRef(!1),Me=r.useCallback(s=>{le(s.id),Z(s.status),D(s.billing?.successFee??null),T(s.firstName||""),Y(s.lastName||""),J(s.email),re(s.phone||""),s.wzCode&&(_(s.wzCode),k(s.wzDescription?`${s.wzCode} - ${s.wzDescription}`:s.wzCode)),K(s.consumptionKwh),q(s.estimatedRefund),_e(tt(s));const c=s.declarations;if(c){const I=c.evEstimationMethod||"";$e({activityMix:c.activityMix??null,revenueSplitStatus:c.revenueSplitStatus??null,productionRevenueSharePct:c.productionRevenueSharePct??null,hasPvSystem:c.hasPvSystem??!1,pvCapacityKw:c.pvCapacityKw??0,producesNutzenergie:c.producesNutzenergie??!1,noFinancialDifficulties:c.noFinancialDifficulties??!1,noEuRecoveryOrder:c.noEuRecoveryOrder??!1,isSmallestEntity:c.isSmallestEntity??!0,hasPrivateUsage:c.hasPrivateUsage??!1,privateUsageKwh:c.privateUsageKwh??0,hasEvCharging:c.hasEvCharging??!1,evHasSeparateMeter:I==="metered",evMeterConsumptionKwh:c.evMeterConsumptionKwh??0,evChargingEventsPerYear:c.evChargingEventsPerYear??0,evAvgKwhPerCharge:c.evAvgKwhPerCharge??30,evVehicleType:c.evVehicleType||"bev"})}const u=s.calculation;u&&u.customerReceives>0&&l({consumption_kwh:s.consumptionKwh,consumption_mwh:s.consumptionKwh/1e3,private_consumption_kwh:0,electric_vehicle_kwh:0,tax_exempt_kwh:0,total_deductions_kwh:0,taxable_consumption_kwh:s.consumptionKwh,taxable_consumption_mwh:s.consumptionKwh/1e3,is_eligible:u.isEligible??null,industry_review_required:u.industryReviewRequired??u.
28isEligible==null,ineligible_reason:u.ineligibleReason??void 0,wz_code:s.wzCode,wz_description:s.wzDescription,refund_rate_eur_per_mwh:20,gross_refund_eur:u.grossRefund,base_deductible_eur:250,net_refund_eur:u.netRefund,platform_fee_rate:u.platformFeeRate??0,platform_fee_nominal_rate:u.platformFeeNominalRate??void 0,minimum_fee_applied:u.minimumFeeApplied??void 0,platform_fee_eur:u.platformFee,customer_receives_eur:u.customerReceives}),Te(s.abnahmestellen??[]),ze(s.antragsjahr??null),Ke(s.agbVariant==="partner"?"partner":"standard");const b=te.getState();return s.partner?s.attributionSource==="link"?b.setFromLink({slug:s.partner.slug,name:s.partner.name,logoUrl:s.partner.logoUrl||null}):b.setFromCode({slug:s.partner.slug,name:s.partner.name,code:""}):b.clear(),ye(et.has(s.status)),s.status==="no_invoice_report_sent"?g(!1):s.status==="invoice_uploaded"&&g(!0),Ln(s,Nn(s.id))},[]);r.useEffect(()=>{if(!t){let u=!1;try{u=window.sessionStorage.getItem("eiq_partner_link_seen")==="1"}catch{}u&&!te.getState().attributionSource&&O(async()=>{const{apiPartnerSessionCurrent:y}=await import("./api-DQbFBMJr.js");return{apiPartnerSessionCurrent:y}},__vite__mapDeps([0,1,2,3,4,5])).then(({apiPartnerSessionCurrent:y})=>y()).then(y=>{y.status==="ok"&&y.slug&&y.name&&!te.getState().attributionSource&&te.getState().setFromLink({slug:y.slug,name:y.name,logoUrl:y.logoUrl??null})}).catch(()=>{});const b=localStorage.getItem(W),I=localStorage.getItem(V);b&&I?Re(b).then(y=>{et.has(y.status)?(localStorage.removeItem(W),localStorage.removeItem(V)):Pe({id:y.id,status:y.status,consumptionKwh:y.consumptionKwh})}).catch(y=>{const z=y?.status;(z===403||z===404)&&(localStorage.removeItem(W),localStorage.removeItem(V))}):d("landing"),ee(!1);return}if(!localStorage.getItem(V)){n("/stromsteuer",{replace:!0}),ee(!1);return}if(v){ee(!1);return}let c=!1;return ee(!0),(async()=>{try{const u=await Re(t);if(c)return;const b=Me(u);localStorage.setItem(W,u.id),d(b),!Fe.current&&b!=="completion"&&(Fe.current=!0,$.success(a("taxRelief.resumeBanner")))}catch(u){Q("resume_application",u);const b=u?.status;if(b===403||b===404)localStorage.removeItem(W),localStorage.removeItem(V),n("/stromsteuer",{replace:!0});else{const{title:I,message:y}=M(u,a);$.error(I,y),n("/stromsteuer",{replace:!0})}}finally{c||ee(!1)}})(),()=>{c=!0}},[t,n,Me]),r.useEffect(()=>{const s=i.state;s?.consumptionKwh&&s.consumptionKwh>0&&!t&&!localStorage.getItem(W)&&(K(s.consumptionKwh),s.wzCode&&_(s.wzCode),d("calculator"),n(i.pathname,{replace:!0,state:null}))},[]);const _t=r.useCallback(async(s,c)=>{try{const u=await ut({consumptionKwh:c,wzCode:s,...ke()});return l(u),{eligible:u.is_eligible,refund:u.customer_receives_eur,ineligibleReason:u.ineligible_reason}}catch(u){Q("calculate",u);const{title:b,message:I}=M(u,a);return $.error(b,I),null}},[a]),de=r.useCallback(async(s,c)=>{if(q(s),g(c),v){t!==v&&n(`/stromsteuer/${v}`,{replace:!0}),d("invoiceAndSites");return}L(!0);try{const u=Ht(),{partnerSlug:b,referralCode:I}=ke(),y=typeof window<"u"&&window.top!==window.self,z=kn(y,typeof document<"u"?document.referrer:void 0,b),{id:H,sessionToken:Tt}=await va({firstName:"",lastName:"",wzCode:f,consumptionKwh:S,estimatedRefund:s,hasInvoice:c,...u.gclid&&{gclid:u.gclid},...u.gbraid&&{gbraid:u.gbraid},...u.wbraid&&{wbraid:u.wbraid},...I&&{referralCode:I},...b&&{partnerSlug:b},...z});le(H),N("Application Started",{has_invoice:c},{value:s,kwh:S,applicationId:H,once:H}),localStorage.setItem(W,H),localStorage.setItem(V,Tt),n(`/stromsteuer/${H}`,{replace:!0}),d("invoiceAndSites")}catch(u){Q("start_application",u);const{title:b,message:I}=M(u,a);$.error(b,I)}finally{L(!1)}},[v,t,f,S,n,a]),wt=r.useCallback(s=>{de(s,!0)},[de]),St=r.useCallback(()=>{ce&&(N("CTA Clicked",{cta:"resume_application"}),n(`/stromsteuer/${ce.id}`))},[ce,n]),Nt=r.useCallback(()=>{localStorage.removeItem(W),localStorage.removeItem(V),Pe(null)},[]),Rt=r.useCallback(s=>{de(s,!1)},[de]),Ct=r.useCallback(async()=>{d("invoiceAndSites")},[]),kt=r.useCallback(async()=>{if(v){L(!0);try{const s=await An({applicationId:v,wzCode:f,previousConsumptionKwh:S,previousEstimatedRefund:R,t:a,onApplication:c=>{Te(c.abnahmestellen??[]),ze(c.antragsjahr??null),_e(tt(c)),Ke(c.agbVariant==="partner"?"partner":"standard")},onResult:c=>{l(c.result),q(c.result.customer_receives_eur),K(c.authoritativeKwh)},onError:(c,u)=>$.error(c,u),onConsumptionChanged:({oldKwh:c,newKwh:u,oldRefund:b,newRefund:I})=>{const y=z=>
28Math.round(z).toLocaleString(a("common.locale")==="de"?"de-DE":"en-US");$.info(a("taxRelief.invoiceSites.consumptionUpdatedTitle"),a("taxRelief.invoiceSites.consumptionUpdatedMessage",{oldKwh:y(c),newKwh:y(u),oldRefund:y(b),newRefund:y(I)}))}});s.outcome==="advance"&&(N("Delivery Points Confirmed",{},{value:s.result.customer_receives_eur,kwh:s.authoritativeKwh}),j(!0),d("calculatorResult"))}catch(s){Q("confirm_invoice_data",s);const{title:c,message:u}=M(s,a);$.error(c,u)}finally{L(!1)}}},[v,f,a,S,R]),Et=r.useCallback(()=>{j(!1),d("declarations")},[]),Lt=r.useCallback(async s=>{if($e(s),v){L(!0);try{await ba(v,{activityMix:s.activityMix,revenueSplitStatus:s.revenueSplitStatus,productionRevenueSharePct:s.productionRevenueSharePct,pvSystem:s.hasPvSystem,pvCapacityKw:s.pvCapacityKw,producesNutzenergie:s.producesNutzenergie,noFinancialDifficulties:s.noFinancialDifficulties,isSmallestEntity:s.isSmallestEntity,hasPrivateUsage:s.hasPrivateUsage,privateUsageKwh:s.privateUsageKwh,hasEvCharging:s.hasEvCharging,evEstimationMethod:s.hasEvCharging?s.evHasSeparateMeter?"metered":"estimated":"",evMeterConsumptionKwh:s.evHasSeparateMeter?s.evMeterConsumptionKwh:0,evChargingEventsPerYear:s.evHasSeparateMeter?null:s.evChargingEventsPerYear,evAvgKwhPerCharge:s.evHasSeparateMeter?null:s.evAvgKwhPerCharge,evVehicleType:s.evHasSeparateMeter?"":s.evVehicleType})}catch(c){Q("save_declarations",c);const{title:u,message:b}=M(c,a);$.error(u,b),L(!1);return}L(!1)}d("company")},[v,a]),At=r.useCallback(async s=>{if(_e(s),T(s.firstName),Y(s.lastName),re(s.phone),v){L(!0);try{await ya(v,{name:s.companyName,legalForm:s.legalForm,managingDirector:s.ceoName,address:{street:s.street,postalCode:s.postalCode,city:s.city},firstName:s.firstName,lastName:s.lastName,phone:s.phone})}catch(c){Q("save_company",c);const{title:u,message:b}=M(c,a);$.error(u,b),L(!1);return}L(!1)}d("authorization")},[v,a]),Oe=r.useCallback(s=>({calculatorState:{wzCode:f,annualConsumptionKwh:S,privateConsumptionPersons:0,privateUsageKwh:C.hasPrivateUsage?C.privateUsageKwh:0,electricVehicleKwh:C.hasEvCharging?C.evHasSeparateMeter?C.evMeterConsumptionKwh:C.evChargingEventsPerYear*C.evAvgKwhPerCharge:0,taxExemptKwh:0,acceptsTerms:!0,acceptsPlatformFee:!0,sepaMandateAccepted:!0},companyData:{name:A.companyName,legalForm:A.legalForm,managingDirector:A.ceoName,address:{street:A.street,postalCode:A.postalCode,city:A.city}},email:s}),[f,S,C,A]),we=r.useRef(""),It=r.useMemo(()=>({createSession:()=>v?wa(v,Oe(we.current)):Promise.reject(new Error("no application")),fetchStatus:()=>v?_a(v):Promise.reject(new Error("no application"))}),[v,Oe]),Pt=r.useCallback((s,c)=>{we.current=c},[]),Dt=r.useCallback(()=>{J(we.current||U),oe(!0),ye(!0),Z("application_submitted"),N("Vollmacht Signed",{},{value:R,applicationId:v??void 0,once:v??"adobe"}),d("completion")},[U,R,v]),qt=r.useCallback(async(s,c,u)=>{if(!c.startsWith("data:image/png;base64,")||c.length>512e3){$.error(a("common.error"),a("errors.validation"));return}if(L(!0),v&&await In({applicationId:v,payload:{calculatorState:{wzCode:f,annualConsumptionKwh:S,privateConsumptionPersons:0,privateUsageKwh:C.hasPrivateUsage?C.privateUsageKwh:0,electricVehicleKwh:C.hasEvCharging?C.evHasSeparateMeter?C.evMeterConsumptionKwh:C.evChargingEventsPerYear*C.evAvgKwhPerCharge:0,taxExemptKwh:0,acceptsTerms:!0,acceptsPlatformFee:!0,sepaMandateAccepted:!0},companyData:{name:A.companyName,legalForm:A.legalForm,managingDirector:A.ceoName,address:{street:A.street,postalCode:A.postalCode,city:A.city}},signatureDataUrl:c,signedAt:new Date().toISOString(),email:u},t:a,onSubmitted:z=>{J(u),oe(!0),z.calculation&&l(z.calculation),ye(!0),Z("application_submitted");const H=z.calculation?.customer_receives_eur??R;N("Vollmacht Signed",{},{value:H,applicationId:v,once:v})},onError:(z,H)=>$.error(z,H)})==="stay"){L(!1);return}L(!1),d("completion")},[v,f,S,A,R,C,a]);return{currentStep:o,setCurrentStep:d,isResuming:De,applicationId:v,applicationStatus:ve,calcResult:be,successFeeBilling:x,wzCode:f,wzDisplayValue:h,consumptionKwh:S,estimatedRefund:R,hasInvoice:G,firstName:w,lastName:P,email:U,phone:xe,consentGiven:je,companyData:A,declarationsData:C,isSubmitting:X,isLocked:jt,abnahmestellen:qe,antragsjahr:vt,hasAnnualizedSites:bt,postInvoiceFlow:m,agbVariant:yt,storedApplication:ce,handleCalculate:_t,handleClaimRefund:wt,handleResumeStoredApplication:St,handleDiscardStoredApplication:Nt,handleNoInvoice:Rt,handleEmailSubmit:Ct,handleInvoiceAndSitesContinue:kt,handleCalculatorResultContinue:Et,handleDeclarationsSubmit:Lt,handleCompanySubmit:At,handleAuthorizationComplete:qt,adobeAdapter:It,handleAdobeStart:Pt,handleAdobeSigned:Dt,setWzCode:_,setWzDisplayValue:k,setConsumptionKwh:K,setHasInvoice:g}}const qn=B(()=>O(()=>import("./CalculatorStep-Dul9Juje.js"),__vite__mapDeps([6,1,2,3,7,8,9,0,4,5,10,11])),a=>a.CalculatorStep),Tn=B(()=>O(()=>import("./CalculatorResultStep-BVFKRCKv.js"),__vite__mapDeps([12,1,2,3,13,9,10,14,15,16,17])
28),a=>a.CalculatorResultStep),zn=B(()=>O(()=>import("./EmailStep-DIIYAGcN.js"),__vite__mapDeps([18,1,2,3,19,20,9,21,22])),a=>a.EmailStep),Kn=B(()=>O(()=>import("./InvoiceAndSitesStep-Dw6WfCTl.js"),__vite__mapDeps([23,1,2,3,20,9,21,22,24,11,25,15,26,27,28,29,30,5,4,31])),a=>a.InvoiceAndSitesStep),$n=B(()=>O(()=>import("./DeclarationsStep-unGLzn0m.js"),__vite__mapDeps([32,1,2,3,33,34,35,26,36,13,37,16,20,9,38,22])),a=>a.DeclarationsStep),Fn=B(()=>O(()=>import("./CompanyStep-Siu-dsEF.js"),__vite__mapDeps([39,1,2,3,19,20,9,21,22,31,35,40])),a=>a.CompanyStep),Mn=B(()=>O(()=>import("./AuthorizationStep-q3BF-Id2.js").then(a=>a.a),__vite__mapDeps([41,1,2,3,42,43,44,45,20,9,14,17,46,22])),a=>a.AuthorizationStep),On=B(()=>O(()=>import("./CompletionStep-Ba-gyd6M.js"),__vite__mapDeps([47,1,2,3,4,5,48,9,49,15,50,51,52,35,36])),a=>a.CompletionStep),Hn=B(()=>O(()=>import("./TerminatedStep-DB1FBGZq.js"),__vite__mapDeps([53,1,2,3,9,26,54,36])),a=>a.TerminatedStep),at=new Set(["landing","calculator","calculatorResult","email","invoiceAndSites","declarations","company","authorization","completion","terminated"]);function Bn(){const{t:a}=F(),t=Dn(),n=Bt("adobe-sign"),[i,o]=Zt(),[d,m]=r.useState(!1),j=r.useRef(!1);r.useEffect(()=>{if(t.isResuming)return;let g;const w=()=>{g||!Qt("statistics")||(j.current||(j.current=!0,Gt(t.applicationId?"resume":t.currentStep==="landing"?"landing":"calculator")),g=Yt())},T=requestAnimationFrame(w),P=Ut(w);return()=>{cancelAnimationFrame(T),P(),g?.()}},[t.applicationId,t.currentStep,t.isResuming]),r.useEffect(()=>{if(i.get("start")==="calculator"&&t.currentStep==="landing"){const g=i.get("industry"),w=Number(i.get("kwh")),P=g?{agriculture:{code:"01.11.0",labelKey:"agriculture"},landwirtschaft:{code:"01.11.0",labelKey:"agriculture"},landforst:{code:"01.11.0",labelKey:"agriculture"},manufacturing:{code:"25.62.0",labelKey:"manufacturing"},produktion:{code:"25.62.0",labelKey:"manufacturing"},foodBeverage:{code:"10.71.0",labelKey:"foodBeverage"},construction:{code:"41.20.1",labelKey:"construction"},mining:{code:"05.10.0",labelKey:"mining"},energyWater:{code:"35.11.1",labelKey:"energyWater"}}[g]:null;P&&(t.setWzCode(P.code),t.setWzDisplayValue(a(`taxRelief.calculator.industryCategories.${P.labelKey}`))),Number.isFinite(w)&&w>0&&t.setConsumptionKwh(w),f.current=!0,t.setCurrentStep("calculator"),o({},{replace:!0})}},[i,t,o,a]),r.useEffect(()=>{const g=i.get("payment");g==="success"&&N("Payment Completed",{purpose:"success_fee"},{once:"stripe_return"}),g==="cancelled"&&N("Payment Cancelled",{purpose:"success_fee"},{once:"stripe_return"})},[i]),r.useEffect(()=>{if(!t.isResuming){if(!at.has(t.currentStep)){f.current=!0,t.setCurrentStep("invoiceAndSites");return}t.currentStep==="calculatorResult"&&!t.calcResult&&(f.current=!0,t.setCurrentStep("invoiceAndSites"))}},[t.currentStep,t.calcResult,t.isResuming,t]),r.useEffect(()=>{t.isResuming||t.isLocked&&t.currentStep!=="completion"&&t.currentStep!=="terminated"&&(f.current=!0,t.setCurrentStep("completion"))},[t.isLocked,t.currentStep,t.isResuming,t]);const p=r.useRef(!1),f=r.useRef(!1);r.useEffect(()=>{history.replaceState({funnelStep:t.currentStep},"")},[]);const _=r.useRef(t.currentStep);r.useEffect(()=>{if(t.currentStep!==_.current){if(_.current=t.currentStep,p.current){p.current=!1;return}if(f.current){f.current=!1,history.replaceState({funnelStep:t.currentStep},"");return}history.pushState({funnelStep:t.currentStep},"")}},[t.currentStep]);const h=r.useCallback(g=>{const w=g.state?.funnelStep;if(w&&at.has(w)){if(t.isLocked&&w!=="completion"&&w!=="terminated")return;p.current=!0,t.setCurrentStep(w)}},[t]);r.useEffect(()=>(window.addEventListener("popstate",h),()=>window.removeEventListener("popstate",h)),[h]);const k=r.useRef(null);r.useEffect(()=>{window.location.hash&&history.replaceState({...history.state,funnelStep:t.currentStep},"",window.location.pathname+window.location.search),window.scrollTo({top:0});const g=requestAnimationFrame(()=>window.scrollTo({top:0}));return()=>cancelAnimationFrame(g)},[t.currentStep,t.calcResult]);const S=Pn(t.currentStep),K=t.calcResult?.customer_receives_eur??t.estimatedRefund,R=`${ie()}/stromsteuer`,q=!["landing","calculator","calculatorResult","completion","terminated"].includes(t.currentStep)&&t.estimatedRefund>0,G=t.calcResult&&["declarations","company","authorization"].includes(t.currentStep)?t.calcResult.customer_receives_eur:null;return t.isResuming?e.jsxs("div",{className:"mx-auto max-w-5xl px-4 pb-8 pt-4 sm:px-6 sm:pb-12 sm:pt-6",children:[e.jsx(Xe,{canonicalUrl:R}),e.jsxs("div",{className:"flex flex-col items-center justify-center py-24",children:[e.jsx(We,{size:"lg"}),e.jsx("p",{className:"mt-4 text-sm text-slate-500",children:a("common.loading")})]})]}):t.currentStep==="landing"?e.jsx(e.Fragment,{children:e.jsx(_n,{onStartFunnel:g=>{if(g){const w=[{code:"25.62.0",labelKey:"manufacturing"},{code:"10.71.0",labelKey:"foodBeverage"},{code:"01.11.0",labelKey:"agriculture"},{code:"41.20.1",labelKey:"construction"},{code:"05.10.0",labelKey:"mining"},{code:"35.11.1",labelKey:"energyWater"}].find(T=>T.code===g.industryCode);w&&(t.setWzCode(w.code),t.setWzDisplayValue(a(`taxRelief.calculator.industryCategories.${w.labelKey}`))),t.setConsumptionKwh(g.consumptionKwh),g.autoCalculate&&m(!0)}t.setCurrentStep("calculator")}})}):e.jsxs("div",{children:[e.jsx(dn,{estimatedRefund:t.estimatedRefund,exactRefund:G,visible:q}),e.jsxs("div",{className:"mx-auto max-w-5xl px-4 pb-8 pt-4 sm:px-6 sm:pb-12 sm:pt-6",children:[e.jsx("div",{ref:k,className:"scroll-mt-16"}),e.jsx(Xe,{canonicalUrl:R}),t.currentStep!=="calculator"&&t.currentStep!=="completion"&&t.currentStep!=="terminated"&&e.jsxs("div",{className:"mb-6 flex flex-wrap items-center justify-center gap-4 roun
28ded-lg border border-slate-200 bg-slate-50 px-4 py-2.5 text-sm text-slate-600",children:[e.jsxs("a",{"data-track":"tax_relief.a",href:`mailto:${E.contact.email}`,className:"flex items-center gap-1.5 hover:text-primary-600",children:[e.jsx(Vt,{className:"h-3.5 w-3.5"}),E.contact.email]}),e.jsxs("a",{"data-track":"tax_relief.a_2",href:`tel:${E.contact.phone}`,className:"flex items-center gap-1.5 hover:text-primary-600",children:[e.jsx(Wt,{className:"h-3.5 w-3.5"}),E.contact.phoneDisplay]})]}),S!==null&&e.jsx("div",{className:"mb-8",children:e.jsx(cn,{currentPhase:S})}),t.storedApplication&&!t.applicationId&&(t.currentStep==="calculator"||t.currentStep==="calculatorResult")&&e.jsxs("div",{className:"mx-auto mb-6 flex max-w-3xl flex-col gap-3 rounded-xl border border-primary-200 bg-primary-50 px-4 py-3 sm:flex-row sm:items-center sm:justify-between",children:[e.jsxs("div",{className:"min-w-0",children:[e.jsx("p",{className:"text-sm font-semibold text-slate-900",children:a("taxRelief.storedApplication.title")}),e.jsx("p",{className:"mt-0.5 text-xs text-slate-600",children:t.storedApplication.consumptionKwh>0?a("taxRelief.storedApplication.bodyWithKwh",{kwh:Math.round(t.storedApplication.consumptionKwh).toLocaleString(a("common.locale")==="de"?"de-DE":"en-US")}):a("taxRelief.storedApplication.body")})]}),e.jsxs("div",{className:"flex flex-shrink-0 items-center gap-2",children:[e.jsx("button",{"data-track":"tax_relief.tax_relief_stored_application_discard",type:"button",onClick:t.handleDiscardStoredApplication,className:"rounded-lg px-3 py-2 text-xs font-medium text-slate-600 hover:bg-white hover:text-slate-900",children:a("taxRelief.storedApplication.discard")}),e.jsx("button",{"data-track":"tax_relief.tax_relief_stored_application_resume",type:"button",onClick:t.handleResumeStoredApplication,className:"rounded-lg bg-(--btn-primary-bg) px-3 py-2 text-xs font-semibold text-white hover:bg-(--btn-primary-hover)",children:a("taxRelief.storedApplication.resume")})]})]}),e.jsxs(r.Suspense,{fallback:e.jsx("div",{className:"flex items-center justify-center py-24",children:e.jsx(We,{size:"lg"})}),children:[t.currentStep==="calculator"&&e.jsx(qn,{wzCode:t.wzCode,wzDisplayValue:t.wzDisplayValue,consumptionKwh:t.consumptionKwh,calcResult:t.calcResult,autoCalculate:d,onAutoCalculateConsumed:()=>m(!1),onWzCodeChange:(g,w,T)=>{t.setWzCode(g),t.setWzDisplayValue(w),T>0&&t.setConsumptionKwh(T)},onConsumptionChange:t.setConsumptionKwh,onCalculate:t.handleCalculate,onResultReady:()=>t.setCurrentStep("calculatorResult")}),t.currentStep==="calculatorResult"&&t.calcResult&&e.jsx(Tn,{calcResult:t.calcResult,postInvoiceFlow:t.postInvoiceFlow,hasApplication:!!t.applicationId,onClaimRefund:t.handleClaimRefund,onNoInvoice:t.handleNoInvoice,onRecalculate:()=>t.setCurrentStep("calculator"),onContinueToDeclarations:t.handleCalculatorResultContinue,onBack:()=>t.setCurrentStep("invoiceAndSites")}),t.currentStep==="email"&&e.jsx(zn,{email:t.email,consentGiven:t.consentGiven,isSubmitting:t.isSubmitting,onSubmit:t.handleEmailSubmit,onBack:()=>t.setCurrentStep("calculatorResult")}),t.currentStep==="invoiceAndSites"&&e.jsx(Kn,{applicationId:t.applicationId,abnahmestellen:t.abnahmestellen,antragsjahr:t.antragsjahr,isSubmitting:t.isSubmitting,onContinue:t.handleInvoiceAndSitesContinue,onBack:()=>t.setCurrentStep("calculatorResult")}),t.currentStep==="declarations"&&e.jsx($n,{data:t.declarationsData,hasInvoice:t.hasInvoice,feeRate:t.calcResult?.platform_fee_rate??null,isPartner:t.agbVariant==="partner",onSubmit:t.handleDeclarationsSubmit,onBack:()=>t.setCurrentStep("invoiceAndSites")}),t.currentStep==="company"&&e.jsx(Fn,{data:t.companyData,abnahmestellen:t.abnahmestellen,firstName:t.firstName,lastName:t.lastName,phone:t.phone,onSubmit:t.handleCompanySubmit,onBack:()=>t.setCurrentStep("declarations")}),t.currentStep==="authorization"&&e.jsx(Mn,{companyData:t.companyData,feeRate:t.calcResult?.platform_fee_rate??null,refundAmount:K,isSubmitting:t.isSubmitting,initialEmail:t.email&&!t.email.endsWith("@pending.energyiq.de")?t.email:"",agbVariant:t.agbVariant,onComplete:t.handleAuthorizationComplete,adobeAdapter:n?t.adobeAdapter:null,onAdobeStart:t.handleAdobeStart,onAdobeSigned:t.handleAdobeSigned,onBack:()=>t.setCurrentStep("company")}),t.currentStep==="completion"&&e.jsx(On,{estimatedRefund:K,hasInvoice:t.hasInvoice,applicationId:t.applicationId,email:t.email,calcResult:t.calcResult,companyName:t.companyData.companyName,applicationStatus:t.applicationStatus,successFeeBilling:t.successFeeBilling}),t.currentStep==="terminated"&&e.jsx(Hn,{})]})]})]})}const Un=/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i;function vs(){const{applicationId:a}=nt();return!a||Un.test(a)?e.jsx(Bn,{}):e.jsx(xt,{})}export{ht as ArticleLayout,js as ArticleOrNotFound,xt as ArticlePage,tn as ArticlePreviewPage,sn as ArticlesIndexLayout,rn as ArticlesPage,vs as StromsteuerRoute};

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.