1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[931],{7229:function(e,t,s){Promise.resolve().then(s.bind(s,5652)),Promise.resolve().then(s.bind(s,6943)),Promise.resolve().then(s.bind(s,7081)),Promise.resolve().then(s.bind(s,6602)),Promise.resolve().then(s.bind(s,4904)),Promise.resolve().then(s.t.bind(s,5878,23)),Promise.resolve().then(s.t.bind(s,2972,23))},5652:function(e,t,s){"use strict";s.d(t,{ContactForm:function(){return m}});var n=s(7437),a=s(2265),l=s(4438),r=s(9345),i=s(1817),o=s(4743),d=s(4904),c=s(9575);function m(){let[e,t]=(0,a.useState)({name:"",email:"",message:""}),[s,m]=(0,a.useState)(!1),u=e=>{let{name:s,value:n}=e?.target??{};t(e=>({...e??{},[s]:n}))},x=async s=>{if(s?.preventDefault?.(),!e?.name?.trim?.()||!e?.email?.trim?.()||!e?.message?.trim?.()){l.Am.error("Bitte f\xfclle alle Felder aus.");return}m(!0);try{let s=await fetch("/api/contact",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(e)}),n=await s.json();s.ok&&n?.success?(l.Am.success("Vielen Dank! Deine Nachricht wurde gesendet."),t({name:"",email:"",message:""})):l.Am.error(n?.message??"Etwas ist schiefgelaufen. Bitte versuche es erneut.")}catch{l.Am.error("Verbindungsfehler. Bitte versuche es sp\xe4ter erneut.")}finally{m(!1)}};return(0,n.jsx)("section",{id:"kontakt",className:"bg-secondary/50 py-20 lg:py-28",children:(0,n.jsxs)("div",{className:"mx-auto max-w-[1200px] px-4 sm:px-6 lg:px-8",children:[(0,n.jsxs)(d.FadeIn,{children:[(0,n.jsx)("p",{className:"text-center text-sm font-semibold uppercase tracking-[0.2em] text-gold",children:"Kontakt"}),(0,n.jsx)("h2",{className:"mx-auto mt-3 max-w-3xl text-center font-display text-3xl font-bold tracking-tight text-brand-blue sm:text-4xl",children:"Schreib uns"}),(0,n.jsx)("p",{className:"mx-auto mt-4 max-w-2xl text-center text-lg text-slate-600",children:"Feedback, Themenw\xfcnsche oder Fragen? Wir freuen uns \xfcber deine Nachricht."})]}),(0,n.jsx)(d.FadeIn,{delay:.1,children:(0,n.jsxs)("form",{onSubmit:x,className:"mx-auto mt-10 max-w-2xl rounded-xl border border-border bg-white p-6 shadow-[0_6px_24px_rgba(0,0,0,0.06)] sm:p-8",children:[(0,n.jsxs)("div",{className:"grid gap-5 sm:grid-cols-2",children:[(0,n.jsxs)("div",{className:"sm:col-span-1",children:[(0,n.jsx)("label",{htmlFor:"name",className:"mb-1.5 block text-sm font-medium text-slate-700",children:"Name"}),(0,n.jsx)("input",{id:"name",name:"name",type:"text",value:e?.name??"",onChange:u,required:!0,className:"w-full rounded-md border border-input bg-white px-3.5 py-2.5 text-sm text-slate-900 outline-none transition-colors placeholder:text-slate-400 focus:border-brand-blue focus:ring-2 focus:ring-brand-blue/20",placeholder:"Dein Name"})]}),(0,n.jsxs)("div",{className:"sm:col-span-1",children:[(0,n.jsx)("label",{htmlFor:"email",className:"mb-1.5 block text-sm font-medium text-slate-700",children:"E-Mail"}),(0,n.jsx)("input",{id:"email",name:"email",type:"email",value:e?.email??"",onChange:u,required:!0,className:"w-full rounded-md border border-input bg-white px-3.5 py-2.5 text-sm text-slate-900 outline-none transition-colors placeholder:text-slate-400 focus:border-brand-blue focus:ring-2 focus:ring-brand-blue/20",placeholder:"[email protected]"})]}),(0,n.jsxs)("div",{className:"sm:col-span-2",children:[(0,n.jsx)("label",{htmlFor:"message",className:"mb-1.5 block text-sm font-medium text-slate-700",children:"Nachricht"}),(0,n.jsx)("textarea",{id:"message",name:"message",value:e?.message??"",onChange:u,required:!0,rows:5,className:"w-full resize-y rounded-md border border-input bg-white px-3.5 py-2.5 text-sm text-slate-900 outline-none transition-colors placeholder:text-slate-400 focus:border-brand-blue focus:ring-2 focus:ring-brand-blue/20",placeholder:"Deine Nachricht an uns â¦"})]})]}),(0,n.jsxs)("div",{className:"mt-6 flex flex-col items-center justify-between gap-4 sm:flex-row",children:[(0,n.jsxs)("p",{className:"flex items-center gap-2 text-sm text-slate-500",children:[(0,n.jsx)(r.Z,{className:"h-4 w-4"}),(0,n.jsx)(c.ObfuscatedEmail,{asLink:!1})]}),(0,n.jsx)("button",{type:"submit",disabled:s,className:"inline-flex w-full items-center justify-center gap-2 rounded-md bg-brand-blue px-6 py-3 text-sm font-semibold text-white shadow-sm transition-all hover:brightness-110 hover:shadow-md disabled:cursor-not-allowed disabled:opacity-70 sm:w-auto",children:s?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(i.Z,{className:"h-4 w-4 animate-spin"}),"Wird gesendet â¦"]}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(o.Z,{className:"h-4 w-4"}),"Nachricht senden"]})})]}),(0,n.jsxs)("p",{className:"mt-4 text-center text-xs text-slate-400 sm:text-left",children:["Mit dem Absenden stimmst du der Verarbeitung deiner Angaben gem\xe4\xdf unserer"," ",(0,n.jsx)("a",{href:"/datenschutz",className:"underline hover:text-brand-blue",children:"Datenschutzerkl\xe4rung"})," ","zu."]})]})})]})})}},6943:function(e,t,s){"use strict";s.d(t,{FeaturedEpisode:function(){return m}});
1var n=s(7437),a=s(3145),l=s(2265),r=s(2023),i=s(1047),o=s(1723),d=s(9227),c=s(3276);function m({episode:e}){let t=(0,l.useRef)(null),[s,m]=(0,l.useState)(!1),[u,x]=(0,l.useState)(!1),h=!u&&e.imageUrl?e.imageUrl:"/logo-lehrerfolg.png";return(0,n.jsx)("div",{className:"mx-auto max-w-4xl",children:(0,n.jsx)("div",{className:"overflow-hidden rounded-2xl border border-white/10 bg-brand-blue text-white shadow-[0_20px_50px_rgba(30,90,142,0.35)]",children:(0,n.jsxs)("div",{className:"grid gap-0 md:grid-cols-[240px_1fr]",children:[(0,n.jsx)("div",{className:"relative flex items-center justify-center bg-brand-blue-dark p-6 md:p-8",children:(0,n.jsx)("div",{className:"relative aspect-square w-full max-w-[200px]",children:(0,n.jsx)(a.default,{src:h,alt:`Cover der Folge: ${e.title}`,fill:!0,sizes:"(max-width: 768px) 200px, 200px",className:"rounded-xl object-contain",onError:()=>x(!0)})})}),(0,n.jsxs)("div",{className:"flex flex-col p-6 sm:p-8",children:[(0,n.jsxs)("div",{className:"flex flex-wrap items-center gap-3",children:[(0,n.jsxs)("span",{className:"inline-flex items-center gap-1.5 rounded-full bg-gold px-3 py-1 text-xs font-bold uppercase tracking-wider text-gold-foreground",children:[(0,n.jsx)(r.Z,{className:"h-3.5 w-3.5"}),"Neueste Folge"]}),e.episodeNumber?(0,n.jsxs)("span",{className:"text-sm font-semibold text-white/70",children:["Folge ",e.episodeNumber]}):null]}),(0,n.jsx)("h3",{className:"mt-4 font-display text-xl font-bold leading-snug sm:text-2xl",children:e.title}),(0,n.jsxs)("div",{className:"mt-3 flex flex-wrap items-center gap-x-5 gap-y-2 text-sm text-white/70",children:[e.pubDateFormatted?(0,n.jsxs)("span",{className:"inline-flex items-center gap-1.5",children:[(0,n.jsx)(i.Z,{className:"h-4 w-4 text-gold"}),e.pubDateFormatted]}):null,e.durationFormatted?(0,n.jsxs)("span",{className:"inline-flex items-center gap-1.5",children:[(0,n.jsx)(o.Z,{className:"h-4 w-4 text-gold"}),e.durationFormatted]}):null]}),e.description?(0,n.jsx)("p",{className:"mt-4 line-clamp-6 text-[15px] leading-relaxed text-white/85",children:e.description}):null,(0,n.jsxs)("div",{className:"mt-auto pt-6",children:[(0,n.jsxs)("button",{type:"button",onClick:()=>{let e=t.current;e&&(e.paused?(e.play(),m(!0)):(e.pause(),m(!1)))},className:"inline-flex items-center gap-2.5 rounded-full bg-gold px-6 py-3 text-sm font-bold text-gold-foreground shadow-lg transition-transform hover:scale-[1.03] focus:outline-none focus-visible:ring-2 focus-visible:ring-gold focus-visible:ring-offset-2 focus-visible:ring-offset-brand-blue","aria-label":s?"Folge pausieren":"Folge abspielen",children:[s?(0,n.jsx)(d.Z,{className:"h-5 w-5"}):(0,n.jsx)(c.Z,{className:"h-5 w-5"}),s?"Pausieren":"Jetzt abspielen"]}),(0,n.jsx)("audio",{ref:t,src:e.audioUrl,controls:!0,preload:"none",onPlay:()=>m(!0),onPause:()=>m(!1),onEnded:()=>m(!1),className:"mt-4 w-full",children:"Dein Browser unterst\xfctzt das Audio-Element nicht."})]})]})]})})})}},7081:function(e,t,s){"use strict";s.d(t,{Hero:function(){return o}});var n=s(7437),a=s(3145),l=s(3287),r=s(5471),i=s(5051);function o(){let e=e=>{let t="undefined"!=typeof document?document.getElementById(e):null;t?.scrollIntoView?.({behavior:"smooth",block:"start"})};return(0,n.jsxs)("section",{id:"top",className:"hero-gradient relative overflow-hidden",children:[(0,n.jsx)("div",{className:"pointer-events-none absolute -top-32 left-1/2 h-96 w-96 -translate-x-1/2 rounded-full bg-white/10 blur-3xl"}),(0,n.jsxs)("div",{className:"relative mx-auto flex max-w-[1200px] flex-col items-center px-4 pb-20 pt-32 text-center sm:px-6 sm:pt-36 lg:px-8 lg:pb-28",children:[(0,n.jsx)(l.E.div,{initial:{opacity:0,scale:.9},animate:{opacity:1,scale:1},transition:{duration:.6,ease:"easeOut"},className:"relative h-52 w-52 overflow-hidden rounded-2xl shadow-[0_10px_40px_rgba(0,0,0,0.35)] ring-4 ring-white/10 sm:h-64 sm:w-64",children:(0,n.jsx)(a.default,{src:"/logo-lehrerfolg.png",alt:"Lehrerfolg â Der Lehr-Lern-Podcast Logo",fill:!0,sizes:"256px",priority:!0,className:"object-cover"})}),(0,n.jsx)("h1",{className:"sr-only",children:"Lehrerfolg â Der Lehr-Lern-Podcast"}),(0,n.jsxs)(l.E.p,{initial:{opacity:0,y:16}
1,animate:{opacity:1,y:0},transition:{duration:.6,delay:.2,ease:"easeOut"},className:"mt-10 max-w-3xl font-display text-2xl font-bold tracking-tight text-white sm:text-3xl lg:text-4xl",children:["Wissenschaftlich fundiert."," ",(0,n.jsx)("span",{className:"text-gold",children:"Praktisch relevant."})]}),(0,n.jsxs)(l.E.div,{initial:{opacity:0,y:16},animate:{opacity:1,y:0},transition:{duration:.6,delay:.45,ease:"easeOut"},className:"mt-10 flex flex-col gap-3 sm:flex-row",children:[(0,n.jsxs)("button",{onClick:()=>e("anhoeren"),className:"inline-flex items-center justify-center gap-2 rounded-md bg-gold px-6 py-3 text-base font-semibold text-gold-foreground shadow-lg transition-all hover:brightness-105 hover:shadow-xl",children:[(0,n.jsx)(r.Z,{className:"h-5 w-5"}),"Folgen anh\xf6ren"]}),(0,n.jsxs)("button",{onClick:()=>e("ueber"),className:"inline-flex items-center justify-center gap-2 rounded-md border border-white/30 bg-white/5 px-6 py-3 text-base font-semibold text-white backdrop-blur transition-all hover:bg-white/15",children:["Mehr erfahren",(0,n.jsx)(i.Z,{className:"h-5 w-5"})]})]})]})]})}},6602:function(e,t,s){"use strict";s.d(t,{Navbar:function(){return u}});var n=s(7437),a=s(2265),l=s(3145),r=s(2489),i=s(6840),o=s(1994),d=s(3335);function c(...e){return(0,d.m6)((0,o.W)(e))}let m=[{label:"\xdcber den Podcast",id:"ueber"},{label:"Hosts",id:"hosts"},{label:"Kontakt",id:"kontakt"}];function u(){let[e,t]=(0,a.useState)(!1),[s,o]=(0,a.useState)(!1);(0,a.useEffect)(()=>{let e=()=>t((window?.scrollY??0)>20);return e(),window?.addEventListener?.("scroll",e),()=>window?.removeEventListener?.("scroll",e)},[]);let d=e=>{o(!1);let t="undefined"!=typeof document?document.getElementById(e):null;t?.scrollIntoView?.({behavior:"smooth",block:"start"})};return(0,n.jsxs)("header",{className:c("fixed top-0 left-0 right-0 z-50 transition-all duration-normal",e?"bg-white/95 backdrop-blur shadow-[0_2px_10px_rgba(0,0,0,0.08)]":"bg-transparent"),children:[(0,n.jsxs)("div",{className:"mx-auto flex h-16 max-w-[1200px] items-center justify-between px-4 sm:px-6 lg:px-8",children:[(0,n.jsxs)("button",{onClick:()=>d("top"),className:"flex items-center gap-2.5","aria-label":"Zum Seitenanfang",children:[(0,n.jsx)("span",{className:"relative h-10 w-10 overflow-hidden rounded-md",children:(0,n.jsx)(l.default,{src:"/logo-lehrerfolg.png",alt:"Lehrerfolg Logo",fill:!0,sizes:"40px",className:"object-cover"})}),(0,n.jsx)("span",{className:c("font-display text-lg font-extrabold tracking-tight transition-colors",e?"text-brand-blue":"text-white"),children:"Lehrerfolg"})]}),(0,n.jsxs)("nav",{className:"hidden items-center gap-1 md:flex",children:[m.map(t=>(0,n.jsx)("button",{onClick:()=>d(t.id),className:c("rounded-md px-3 py-2 text-sm font-medium transition-colors",e?"text-slate-700 hover:bg-secondary hover:text-brand-blue":"text-white/90 hover:bg-white/10 hover:text-white"),children:t.label},t.id)),(0,n.jsx)("button",{onClick:()=>d("anhoeren"),className:"ml-2 rounded-md bg-gold px-4 py-2 text-sm font-semibold text-gold-foreground shadow-sm transition-all hover:brightness-105 hover:shadow-md",children:"Jetzt reinh\xf6ren"})]}),(0,n.jsx)("button",{className:c("md:hidden",e?"text-brand-blue":"text-white"),onClick:()=>o(e=>!e),"aria-label":"Men\xfc \xf6ffnen",children:s?(0,n.jsx)(r.Z,{className:"h-6 w-6"}):(0,n.jsx)(i.Z,{className:"h-6 w-6"})})]}),s&&(0,n.jsx)("div",{className:"border-t border-border bg-white md:hidden",children:(0,n.jsx)("nav",{className:"mx-auto flex max-w-[1200px] flex-col gap-1 px-4 py-3",children:m.map(e=>(0,n.jsx)("button",{onClick:()=>d(e.id),className:"rounded-md px-3 py-2.5 text-left text-sm font-medium text-slate-700 hover:bg-secondary hover:text-brand-blue",children:e.label},e.id))})})]})}},9575:function(e,t,s){"use strict";s.d(t,{ObfuscatedEmail:function(){return l}});var n=s(7437),a=s(2265);function l({user:e="kontakt",domain:t="lehrerfolg.de",className:s,asLink:l=!0}){let[r,i]=(0,a.useState)(null);return((0,a.useEffect)(()=>{i(`${e}\u0040${t}`)},[e,t]),r)?l?(0,n.jsx)("a",{href:`mailto:${r}`,className:s,children:r}):(0,n.jsx)("span",{className:s,children:r}):(0,n.jsxs)("span",{className:s,children:[e,(0,n.jsx)("span",{"aria-hidden":"true",children:" [at] "}),t]})}},4904:function(e,t,s){"use strict";s.r(t),s.d(t,{FadeIn:function(){return r},HoverLift:function(){return u},PressScale:function(){return x},ScaleIn:function(){return i},SkeletonPulse:function(){return h},SlideIn:function(){return d},Stagger:function(){return c},StaggerItem:function(){return m}});var n=s(7437),a=s(3287);let l={once:!0,margin:"-60px"};function r({children:e,delay:t=0,duration:s=.4,className:r}){return(0,n.jsx)(a.E.div,{initial:{opacity:0,y:8},whileInView:{opacity:1,y:0},viewport:l,transition:{duration:s,delay:t,ease:"easeOut"},className:r,children:e})}function i({children:e,delay:t=0,className:s}){return(0,n.jsx)(a.E.div,{initial:{opacity:0,scale:.95},whileInView:{opacity:1,scale:1},viewport:l,transition:{duration:.3,delay:t,ease:"easeOut"},className:s,children:e})}let o={bottom:{y:20,x:0},top:{y:-20,x:0}
1,left:{x:-20,y:0},right:{x:20,y:0}};function d({children:e,from:t="bottom",delay:s=0,className:r}){return(0,n.jsx)(a.E.div,{initial:{opacity:0,...o[t]},whileInView:{opacity:1,x:0,y:0},viewport:l,transition:{duration:.4,delay:s,ease:"easeOut"},className:r,children:e})}function c({children:e,staggerDelay:t=.08,className:s}){return(0,n.jsx)(a.E.div,{variants:{show:{transition:{staggerChildren:t}}},initial:"hidden",whileInView:"show",viewport:l,className:s,children:e})}function m({children:e,className:t}){return(0,n.jsx)(a.E.div,{variants:{hidden:{opacity:0,y:16},show:{opacity:1,y:0,transition:{duration:.4,ease:"easeOut"}}},className:t,children:e})}function u({children:e,className:t}){return(0,n.jsx)(a.E.div,{whileHover:{y:-2,boxShadow:"var(--shadow-lg)"},transition:{duration:.15,ease:"easeOut"},className:t,children:e})}function x({children:e,className:t}){return(0,n.jsx)(a.E.div,{whileTap:{scale:.98},transition:{duration:.1,ease:"easeOut"},className:t,children:e})}function h({className:e}){return(0,n.jsx)(a.E.div,{animate:{opacity:[.4,1,.4]},transition:{duration:1.5,repeat:1/0,ease:"easeInOut"},className:`rounded-md bg-muted ${e??""}`})}}},function(e){e.O(0,[609,438,987,971,117,744],function(){return e(e.s=7229)}),_N_E=e.O()}]);
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.