!function(){"use strict";const u={SCROLL_THRESHOLD_SHOW:150,SCROLL_THRESHOLD_FORCE:250,SCROLL_DURATION:400,SCROLL_THROTTLE:100,COUNTER_DEBOUNCE:300,OBSERVER_THRESHOLD:.1},e={id_Titel:{max:150,type:"chars"},id_Text:{max:5e3,type:"chars"},id_TextDigits:{max:10,type:"digits"}};const r={},p=[];let t=null;function b(){Object.keys(r).forEach(e=>{clearTimeout(r[e]),delete r[e]}),p.forEach(e=>{try{e.disconnect()}catch(e){}}),p.length=0,t&&(cancelAnimationFrame(t),t=null)}function h(){document.querySelectorAll(".toklapp").forEach((i,e)=>{var t="kl_"+e,n=(i.setAttribute("id",t),document.createElement("div"));n.className="klapp";const a=document.createElement("a");a.setAttribute("rel","nofollow noindex"),a.setAttribute("role","button"),a.setAttribute("aria-expanded","false"),a.setAttribute("aria-controls",t),a.className="xbtnBlue",a.id="klapp"+e,a.href="#",a.innerHTML='<span aria-hidden="true"></span>&nbsp;<span>...&nbsp;&dArr;&nbsp;einblenden&nbsp;&dArr;&nbsp;...</span>',a.addEventListener("click",function(e){var t,n;e.preventDefault(),e=i,t=a,e&&t&&("none"===e.style.display||!((n=e)&&(0<n.offsetWidth||0<n.offsetHeight))?(e.style.display="block",t.innerHTML='<span aria-hidden="true"></span>&nbsp;<span aria-live="polite">...&nbsp;&uArr;&nbsp;ausblenden&nbsp;&uArr;&nbsp;...</span>',t.setAttribute("aria-expanded","true")):(e.style.display="none",t.innerHTML='<span aria-hidden="true"></span>&nbsp;<span aria-live="polite">...&nbsp;&dArr;&nbsp;einblenden&nbsp;&dArr;&nbsp;...</span>',t.setAttribute("aria-expanded","false")))}),n.appendChild(a),i.parentNode.insertBefore(n,i)})}function m(t){t&&(document.querySelectorAll(".accordion").forEach(e=>{var t=e.nextElementSibling;t&&t.classList.contains("accordionPanel")&&(t.style.display="block",e.classList.add("active"),e.setAttribute("aria-expanded",!0),t=e.querySelector(".accordionArrow"))&&t.classList.add("active")}),setTimeout(()=>{var e=document.querySelector(t);e&&e.scrollIntoView({behavior:"smooth"})},100))}function y(n){const i=document.getElementById(n);if(i){const a=i.querySelector(`.${n}Title`),s=i.querySelector(`.${n}List`);var e;a&&s&&(a.addEventListener("click",function(){s.classList.toggle(n+"IsHidden"),i.classList.toggle("open");var e=!s.classList.contains(n+"IsHidden");a.setAttribute("aria-expanded",e)}),document.addEventListener("click",function(e){var e=i.contains(e.target),t=!s.classList.contains(n+"IsHidden");!e&&t&&(s.classList.add(n+"IsHidden"),i.classList.remove("open"),a.setAttribute("aria-expanded","false"))}),e=!s.classList.contains(n+"IsHidden"),a.setAttribute("aria-expanded",e))}}function c(t,n,i,a="chars"){t=document.getElementById(t),n=document.getElementById(n);if(t&&n){i=i-t.value.length;let e="";e=0<=i?("digits"===a?"genau":"noch maximal")+` ${i} `+("digits"===a?"Ziffern":"Zeichen"):(t="digits"===a?"Ziffern":"Zeichen",`<span class="hinweisTxtFehler">Achtung: ${Math.abs(i)} ${t} zu viel!</span>`),n.innerHTML=e}}function f(){Object.entries(e).forEach(([e,t])=>{var n,i,a,s=document.getElementById(e);const o="id_Titel"===e?"counterTitel":"counterText";s&&(c(e,o,t.max,t.type),s.addEventListener("input",(n=()=>c(e,o,t.max,t.type),i=u.COUNTER_DEBOUNCE,a="counter_"+e,function(...e){clearTimeout(r[a]),r[a]=setTimeout(()=>{n.apply(this,e),delete r[a]},i)})))})}function n(){try{h(),document.querySelectorAll(".accordion").forEach(e=>{e.addEventListener("click",function(){this.classList.toggle("active");var e,t=this.querySelector(".accordionArrow"),t=(t&&t.classList.toggle("active"),this.nextElementSibling);t&&t.classList.contains("accordionPanel")&&(e="block"===t.style.display,t.style.display=e?"none":"block",this.setAttribute("aria-expanded",!e))});var t=e.nextElementSibling,t=t&&"block"===t.style.display;e.setAttribute("aria-expanded",t)});{const i=document.querySelectorAll(".accordion");if(0!==i.length){let n=!1;const a=document.createElement("button");a.textContent="> einblenden <",a.setAttribute("aria-label","Alle Bereiche ein-/ausblenden"),a.className="kiToggleButton",a.style.bottom="90px",document.body.appendChild(a),a.addEventListener("click",function(){n=!n,i.forEach(e=>{var t=e.nextElementSibling;t&&t.classList.contains("accordionPanel")&&(t.style.display=n?"block":"none",e.classList.toggle("active",n),e.setAttribute("aria-expanded",n),t=e.querySelector(".accordionArrow"))&&t.classList.toggle("active",n)}),a.textContent=n?"< ausblenden >":"> einblenden <"})}}if(document.querySelector(".KIsection")){const n=document.querySelectorAll("details.details_pMetaHeading");if(0!==n.length){var e=n[0].hasAttribute("open");const s=document.createElement("button");s.textContent=e?"KI Ausblenden":"KI Einblenden",s.className="kiToggleButton",s.setAttribute("aria-label","Alle KI-Inhalte ein-/ausblenden"),document.body.appendChild(s),s.addEventListener("click",function(){const t=n[0].hasAttribute("open");n.forEach(e=>{t?e.removeAttribute("open"):e.setAttribute("open","")}),s.textContent=t?"KI Einblenden":"KI Ausblenden"})}}if(y("pInhaltSticky"),y("fInhaltSticky"),"IntersectionObserver"in window){var t=document.querySelectorAll(".podcastAudio");if(0!==t.length){let n=0;const o=t.length,r=new IntersectionObserver((e,t)=>{e.forEach(e=>{if(e.isIntersecting){var e=e.target;e.querySelectorAll("source").forEach(e=>{var t=e.getAttribute("data-src");t&&(e.src=t,e.removeAttribute("data-src"))});try{e.load()}catch(e){console.warn("Fehler beim Laden von Audio:",e)}t.unobserve(e),++n>=o&&(t.disconnect(),-1<(e=p.indexOf(t)))&&p.splice(e,1)}})},{threshold:u.OBSERVER_THRESHOLD});p.push(r),t.forEach(e=>r.observe(e))}}else console.warn("IntersectionObserver nicht unterstützt - Lazy-Loading deaktiviert");{const c=document.getElementById("navLeft"),l=document.querySelector(".hamburgerToggle"),d=document.getElementById("navLeftWrapper");c&&l&&d&&document.addEventListener("click",function(e){var t=d.contains(e.target),e=e.target===l;t||e?e&&(c.style.opacity="1"):(c.style.opacity="0",l.checked=!1)})}f(),window.location.hash&&m(window.location.hash),window.addEventListener("hashchange",function(){m(window.location.hash)}),window.addEventListener("beforeunload",b)}catch(e){console.error("Fehler bei Initialisierung:",e)}}"loading"===document.readyState?document.addEventListener("DOMContentLoaded",n):n()}();