Files
e-tib.com/.next/server/chunks/ssr/[root-of-the-server]__e511aed8._.js
Marc Mintel 2a372421a7 feat(ui): make header shine fully scroll-bound using Framer Motion useScroll
Former-commit-id: 0eaf5d4e24987a8fc73b06cb4025dfcd9dcd9c13
2026-05-07 18:44:33 +02:00

5 lines
17 KiB
JavaScript

;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="ae044da7-5ba3-26f6-1885-e94df6ea6003")}catch(e){}}();
module.exports=[324725,(a,b,c)=>{b.exports=a.x("next/dist/server/app-render/after-task-async-storage.external.js",()=>require("next/dist/server/app-render/after-task-async-storage.external.js"))},912466,a=>{"use strict";var b=a.i(526156),c=a.i(841757),d=a.i(829091);let e={primary:"bg-primary text-white shadow-md hover:shadow-primary/30 hover:shadow-2xl",secondary:"bg-secondary text-white shadow-md hover:shadow-secondary/30 hover:shadow-2xl",accent:"bg-accent text-primary-dark shadow-md hover:shadow-accent/30 hover:shadow-2xl",saturated:"bg-saturated text-white shadow-md hover:shadow-primary/30 hover:shadow-2xl",outline:"border-2 border-primary bg-transparent text-primary hover:bg-primary/5 hover:shadow-primary/20 hover:shadow-xl",ghost:"text-primary hover:bg-primary/5 hover:shadow-lg",white:"bg-white text-primary shadow-md hover:shadow-primary/30 hover:shadow-2xl",destructive:"bg-destructive text-destructive-foreground shadow-md hover:shadow-destructive/30 hover:shadow-2xl"},f={sm:"h-9 px-4 text-sm md:text-base",md:"h-11 px-6 text-base md:text-lg",lg:"h-14 px-5 md:px-8 text-base md:text-lg",xl:"h-16 px-6 md:px-10 text-lg md:text-xl"},g={primary:"via-white/30",secondary:"via-white/30",accent:"via-white/40",saturated:"via-white/30",outline:"via-primary/20",ghost:"via-primary/10",white:"via-primary/20",destructive:"via-white/30"};function h({variant:a="primary"}){return(0,b.jsx)("span",{className:(0,d.cn)("absolute top-0 -left-[150%] h-[200%] w-[150%] bg-gradient-to-r from-transparent to-transparent skew-x-[-20deg] group-hover/btn:left-[100%] transition-all duration-1000 ease-[cubic-bezier(0.16,1,0.3,1)] z-30 pointer-events-none",g[a])})}function i({className:a,variant:g="primary",size:i="md",href:j,...k}){let l=function(a="primary",b="md",c){return(0,d.cn)("inline-flex items-center justify-center whitespace-nowrap rounded-full font-semibold transition-all duration-500 ease-out focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary focus-visible:ring-offset-2 disabled:opacity-50 disabled:pointer-events-none active:scale-95 hover:-translate-y-1 hover:scale-[1.02] relative overflow-hidden group/btn isolate",e[a],f[b],c)}(g,i,a),m=(0,b.jsxs)(b.Fragment,{children:[(0,b.jsx)("span",{className:"relative z-10 flex items-center justify-center gap-2",children:k.children}),(0,b.jsx)(h,{variant:g})]});return j?(0,b.jsx)(c.default,{href:j,className:l,children:m}):(0,b.jsx)("button",{className:l,...k,children:m})}a.s(["Button",()=>i])},64293,(a,b,c)=>{b.exports=a.x("pino-2e79642258e38174",()=>require("pino-2e79642258e38174"))},274209,281682,a=>{"use strict";var b=a.i(150765),c=a.i(475625);function d(){let a=(0,c.getAppServices)();return{trackEvent:(0,b.useCallback)((b,c)=>{a.analytics.track(b,c)},[a]),trackPageview:(0,b.useCallback)(b=>{a.analytics.trackPageview(b)},[a])}}a.s(["useAnalytics",()=>d],274209),a.s(["AnalyticsEvents",0,{PAGE_VIEW:"pageview",PAGE_SCROLL:"page_scroll",PAGE_EXIT:"page_exit",SCROLL_DEPTH:"scroll_depth",BUTTON_CLICK:"button_click",LINK_CLICK:"link_click",FORM_SUBMIT:"form_submit",FORM_START:"form_start",FORM_ERROR:"form_error",FORM_FIELD_FOCUS:"form_field_focus",PRODUCT_VIEW:"product_view",PRODUCT_ADD_TO_CART:"product_add_to_cart",PRODUCT_REMOVE_FROM_CART:"product_remove_from_cart",PRODUCT_PURCHASE:"product_purchase",PRODUCT_WISHLIST_ADD:"product_wishlist_add",PRODUCT_WISHLIST_REMOVE:"product_wishlist_remove",PRODUCT_TAB_SWITCH:"product_tab_switch",SEARCH:"search",FILTER_APPLY:"filter_apply",FILTER_CLEAR:"filter_clear",USER_SIGNUP:"user_signup",USER_LOGIN:"user_login",USER_LOGOUT:"user_logout",USER_PROFILE_UPDATE:"user_profile_update",BLOG_POST_VIEW:"blog_post_view",VIDEO_PLAY:"video_play",VIDEO_PAUSE:"video_pause",VIDEO_COMPLETE:"video_complete",DOWNLOAD:"download",MODAL_OPEN:"modal_open",MODAL_CLOSE:"modal_close",TOGGLE_SWITCH:"toggle_switch",ACCORDION_TOGGLE:"accordion_toggle",TAB_SWITCH:"tab_switch",TOC_CLICK:"toc_click",ERROR:"error",PERFORMANCE:"performance",API_ERROR:"api_error",API_SUCCESS:"api_success",QUOTE_REQUEST:"quote_request",CONTACT_FORM_SUBMIT:"contact_form_submit",NEWSLETTER_SUBSCRIBE:"newsletter_subscribe",BROCHURE_DOWNLOAD:"brochure_download"}],281682)},586793,a=>{"use strict";var b=a.i(526156),c=a.i(841757),d=a.i(274209),e=a.i(281682);function f({href:a,eventName:f=e.AnalyticsEvents.LINK_CLICK,eventProperties:g={},className:h,children:i,onClick:j}){let{trackEvent:k}=(0,d.useAnalytics)();return(0,b.jsx)(c.default,{href:a,className:h,onClick:()=>{try{k(f,{href:a,...g})}catch{}j&&j()},children:i})}a.s(["default",()=>f])},104186,a=>{"use strict";var b=a.i(526156),c=a.i(150765),d=a.i(608986),e=a.i(253026),f=a.i(122847);let g=[{date:"2015",title:"Gründung der E-TIB GmbH",desc:"Gründung im brandenburgischen Guben mit Fokus auf Tiefbauarbeiten und Kabelmontagen."},{date:"Wachstum",title:"Erweiterung der Kompetenzen",desc:"Konsequenter Ausbau der Leistungen um Horizontalspülbohrungen und Kabelpflugarbeiten."},{date:"Unternehmensgruppe",title:"Zusammenschluss",desc:"Bündelung der Fachbereiche mit der NEMO GmbH und der E-TIB Ingenieurgesellschaft mbH."},{date:"Heute",title:"Die E-TIB Gruppe",desc:"Ein starker Verbund mit über 50 Mitarbeitern für bundesweite Infrastrukturprojekte."}];function h({badge:a="Unsere Geschichte",title:h="Meilensteine der Entwicklung",milestones:i=g}){let j=c.useRef(null),{scrollYProgress:k}=(0,e.useScroll)({target:j,offset:["start center","end center"]}),l=(0,f.useTransform)(k,[0,1],["0%","100%"]);return(0,b.jsx)("section",{className:"py-24 bg-white relative",children:(0,b.jsxs)("div",{className:"container max-w-4xl",children:[(0,b.jsxs)("div",{className:"text-center mb-16",children:[(0,b.jsx)("h2",{className:"text-primary font-bold tracking-wider uppercase text-sm mb-3",children:a}),(0,b.jsx)("h3",{className:"font-heading text-4xl font-extrabold text-neutral-dark",children:h})]}),(0,b.jsxs)("div",{ref:j,className:"relative",children:[(0,b.jsx)("div",{className:"absolute left-4 md:left-1/2 top-0 bottom-0 w-1 bg-neutral-200 -translate-x-1/2 rounded-full overflow-hidden",children:(0,b.jsx)(d.motion.div,{className:"w-full bg-primary",style:{height:l}})}),(0,b.jsx)("div",{className:"space-y-12 md:space-y-0",children:i.map((a,c)=>{let e=c%2==0;return(0,b.jsxs)(d.motion.div,{initial:{opacity:0,y:30},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-100px"},transition:{duration:.6},className:"relative flex flex-col w-full",children:[(0,b.jsx)("div",{className:"absolute left-4 md:left-1/2 top-8 md:top-1/2 w-6 h-6 rounded-full bg-white border-4 border-primary z-10 -translate-x-1/2 md:-translate-y-1/2 shadow-lg"}),(0,b.jsx)("div",{className:`w-full md:w-[calc(50%-2.5rem)] pl-16 md:pl-0 ${e?"md:mr-auto md:text-right":"md:ml-auto md:text-left"}`,children:(0,b.jsxs)("div",{className:"bg-neutral-50 p-6 md:p-8 rounded-2xl shadow-sm border border-neutral-100 hover:shadow-md transition-shadow relative",children:[(0,b.jsx)("span",{className:"inline-block py-1.5 px-4 rounded-full bg-primary/10 text-primary font-bold text-sm mb-4",children:a.date}),(0,b.jsx)("h4",{className:"font-heading font-bold text-2xl md:text-3xl mb-3 text-neutral-dark leading-tight",children:a.title}),(0,b.jsx)("p",{className:"text-text-secondary leading-relaxed",children:a.desc})]})})]},c)})})]})]})})}a.s(["CompanyTimeline",()=>h])},85422,a=>{"use strict";var b=a.i(526156),c=a.i(608986),d=a.i(422657);let e={hidden:{opacity:0},visible:{opacity:1,transition:{staggerChildren:.1}}},f={hidden:{opacity:0,y:40},visible:{opacity:1,y:0,transition:{duration:.7,ease:[.16,1,.3,1]}}},g={energy:(0,b.jsxs)("svg",{width:"64",height:"64",viewBox:"0 0 64 64",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"w-full h-full",children:[(0,b.jsx)("path",{d:"M32 4L12 36H30L26 60L52 24H34L32 4Z",stroke:"currentColor",strokeWidth:"1",strokeLinejoin:"miter"}),(0,b.jsx)("circle",{cx:"32",cy:"32",r:"30",stroke:"currentColor",strokeWidth:"1",strokeDasharray:"4 4"}),(0,b.jsx)("line",{x1:"32",y1:"2",x2:"32",y2:"62",stroke:"currentColor",strokeWidth:"0.5",strokeDasharray:"2 2"}),(0,b.jsx)("line",{x1:"2",y1:"32",x2:"62",y2:"32",stroke:"currentColor",strokeWidth:"0.5",strokeDasharray:"2 2"})]}),fiber:(0,b.jsxs)("svg",{width:"64",height:"64",viewBox:"0 0 64 64",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"w-full h-full",children:[(0,b.jsx)("circle",{cx:"32",cy:"32",r:"8",stroke:"currentColor",strokeWidth:"1"}),(0,b.jsx)("circle",{cx:"12",cy:"16",r:"4",stroke:"currentColor",strokeWidth:"1"}),(0,b.jsx)("circle",{cx:"52",cy:"16",r:"4",stroke:"currentColor",strokeWidth:"1"}),(0,b.jsx)("circle",{cx:"12",cy:"48",r:"4",stroke:"currentColor",strokeWidth:"1"}),(0,b.jsx)("circle",{cx:"52",cy:"48",r:"4",stroke:"currentColor",strokeWidth:"1"}),(0,b.jsx)("path",{d:"M15 19L27 28M49 19L37 28M15 45L27 36M49 45L37 36M32 40V60M32 4V24",stroke:"currentColor",strokeWidth:"1"}),(0,b.jsx)("rect",{x:"2",y:"2",width:"60",height:"60",stroke:"currentColor",strokeWidth:"0.5",strokeDasharray:"2 4"})]}),hdd:(0,b.jsxs)("svg",{width:"64",height:"64",viewBox:"0 0 64 64",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"w-full h-full",children:[(0,b.jsx)("path",{d:"M4 32H20L28 20H44L52 32H60",stroke:"currentColor",strokeWidth:"1",strokeLinejoin:"miter"}),(0,b.jsx)("path",{d:"M28 44H44L52 32",stroke:"currentColor",strokeWidth:"1",strokeLinejoin:"miter",strokeDasharray:"4 4"}),(0,b.jsx)("circle",{cx:"12",cy:"32",r:"2",fill:"currentColor"}),(0,b.jsx)("circle",{cx:"36",cy:"20",r:"2",fill:"currentColor"}),(0,b.jsx)("circle",{cx:"56",cy:"32",r:"2",fill:"currentColor"}),(0,b.jsx)("path",{d:"M0 48H64",stroke:"currentColor",strokeWidth:"1"}),(0,b.jsx)("path",{d:"M0 54H64M0 60H64",stroke:"currentColor",strokeWidth:"0.5",strokeDasharray:"2 2"})]}),planning:(0,b.jsxs)("svg",{width:"64",height:"64",viewBox:"0 0 64 64",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"w-full h-full",children:[(0,b.jsx)("path",{d:"M10 54L32 10L54 54",stroke:"currentColor",strokeWidth:"1"}),(0,b.jsx)("path",{d:"M20 34H44",stroke:"currentColor",strokeWidth:"1"}),(0,b.jsx)("circle",{cx:"32",cy:"10",r:"4",stroke:"currentColor",strokeWidth:"1"}),(0,b.jsx)("rect",{x:"4",y:"4",width:"56",height:"56",stroke:"currentColor",strokeWidth:"0.5",strokeDasharray:"2 2"}),(0,b.jsx)("line",{x1:"4",y1:"20",x2:"60",y2:"20",stroke:"currentColor",strokeWidth:"0.5",strokeDasharray:"1 3"}),(0,b.jsx)("line",{x1:"4",y1:"44",x2:"60",y2:"44",stroke:"currentColor",strokeWidth:"0.5",strokeDasharray:"1 3"})]}),survey:(0,b.jsxs)("svg",{width:"128",height:"64",viewBox:"0 0 128 64",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"w-full h-full",children:[(0,b.jsx)("path",{d:"M10 32H118",stroke:"currentColor",strokeWidth:"1"}),(0,b.jsx)("path",{d:"M64 10V54",stroke:"currentColor",strokeWidth:"1"}),(0,b.jsx)("circle",{cx:"64",cy:"32",r:"16",stroke:"currentColor",strokeWidth:"1"}),(0,b.jsx)("circle",{cx:"64",cy:"32",r:"24",stroke:"currentColor",strokeWidth:"0.5",strokeDasharray:"4 4"}),(0,b.jsx)("path",{d:"M64 24L72 32L64 40L56 32L64 24Z",stroke:"currentColor",strokeWidth:"1"}),(0,b.jsx)("rect",{x:"4",y:"4",width:"120",height:"56",stroke:"currentColor",strokeWidth:"0.5",strokeDasharray:"2 4"}),(0,b.jsx)("path",{d:"M24 32V24M44 32V28M84 32V28M104 32V24",stroke:"currentColor",strokeWidth:"1"})]})};function h({badge:a,title:h,descriptionParagraphs:i,problemStatement:j,solutionStatement:k,panels:l}){return(0,b.jsx)("section",{className:"bg-neutral-50 py-24 border-b border-neutral-100 relative overflow-hidden",children:(0,b.jsxs)("div",{className:"container relative z-10 px-4 max-w-7xl mx-auto",children:[(0,b.jsxs)("div",{className:"max-w-3xl mx-auto text-center mb-20",children:[a&&(0,b.jsx)("h2",{className:"text-primary font-bold tracking-wider uppercase text-sm mb-4",children:a}),h&&(0,b.jsx)("h3",{className:"font-heading text-3xl md:text-5xl font-extrabold text-neutral-dark mb-6",children:h}),(0,b.jsx)("div",{className:"w-20 h-2 bg-primary mx-auto mb-8"}),(0,b.jsx)("div",{className:"space-y-6 text-text-secondary text-lg leading-relaxed",children:i?.map((a,c)=>{let d=a.split("**");return d.length>1?(0,b.jsx)("p",{children:d.map((a,c)=>c%2==1?(0,b.jsx)("strong",{className:"text-neutral-dark font-bold",children:a},c):a)},c):(0,b.jsx)("p",{children:a},c)})})]}),(j||k)&&(0,b.jsxs)(c.motion.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-50px"},transition:{duration:.7,ease:[.16,1,.3,1]},className:"max-w-4xl mx-auto mb-20 grid md:grid-cols-2 gap-0 bg-white rounded-2xl overflow-hidden shadow-lg border border-neutral-200 text-left",children:[j&&(0,b.jsxs)("div",{className:"p-8 md:p-12 border-b md:border-b-0 md:border-r border-neutral-100 bg-red-50/50",children:[(0,b.jsxs)("div",{className:"flex items-center mb-6 text-red-600",children:[(0,b.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"mr-3",children:[(0,b.jsx)("circle",{cx:"12",cy:"12",r:"10"}),(0,b.jsx)("line",{x1:"12",y1:"8",x2:"12",y2:"12"}),(0,b.jsx)("line",{x1:"12",y1:"16",x2:"12.01",y2:"16"})]}),(0,b.jsx)("h4",{className:"font-bold text-xl",children:j.title})]}),(0,b.jsx)("p",{className:"text-text-secondary leading-relaxed",children:j.text})]}),k&&(0,b.jsxs)("div",{className:"p-8 md:p-12 bg-primary/5",children:[(0,b.jsxs)("div",{className:"flex items-center mb-6 text-primary",children:[(0,b.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",className:"mr-3",children:[(0,b.jsx)("path",{d:"M22 11.08V12a10 10 0 1 1-5.93-9.14"}),(0,b.jsx)("polyline",{points:"22 4 12 14.01 9 11.01"})]}),(0,b.jsx)("h4",{className:"font-bold text-xl",children:k.title})]}),(0,b.jsx)("p",{className:"text-text-secondary leading-relaxed",children:k.text})]})]}),(0,b.jsx)(c.motion.div,{className:"grid grid-cols-1 md:grid-cols-2 gap-8",variants:e,initial:"hidden",whileInView:"visible",viewport:{once:!0,margin:"-50px"},children:l.map((a,e)=>{let h=a.fullWidth,i=String(e+1).padStart(2,"0");return(0,b.jsxs)(c.motion.div,{variants:f,className:`group relative overflow-hidden bg-white border border-neutral-200 rounded-3xl p-8 md:p-12 transition-all duration-500 hover:border-primary/40 hover:shadow-[0_20px_40px_-15px_rgba(0,0,0,0.05)] hover:-translate-y-1 select-none ${h?"md:col-span-2":""}`,children:[(0,b.jsx)("div",{className:"absolute -right-8 -bottom-12 text-[12rem] font-heading font-black text-neutral-50 z-0 pointer-events-none select-none transition-all duration-700 group-hover:scale-105 group-hover:-translate-y-4 group-hover:text-primary/[0.03]",children:i}),(0,b.jsx)(d.HoverShineOverlay,{shineColor:"via-primary/5"}),(0,b.jsxs)("div",{className:"relative z-10 flex flex-col md:flex-row justify-between items-start mb-12 gap-6",children:[(0,b.jsxs)("div",{className:"pt-2",children:[(0,b.jsx)("h4",{className:"text-2xl md:text-3xl font-extrabold text-neutral-dark uppercase tracking-wider",children:a.title}),(0,b.jsx)("div",{className:"h-1 w-12 bg-primary mt-6 transition-all duration-700 group-hover:w-24 rounded-full"})]}),(0,b.jsxs)("div",{className:"relative shrink-0",children:[(0,b.jsx)("div",{className:"absolute inset-0 bg-primary/20 rounded-2xl blur-xl transition-all duration-500 group-hover:bg-primary/30 group-hover:blur-2xl"}),(0,b.jsx)("div",{className:`relative flex items-center justify-center bg-white border border-primary/10 rounded-2xl shadow-sm text-primary transition-transform duration-700 group-hover:scale-110 group-hover:-rotate-3 ${h?"w-32 h-20 p-4":"w-20 h-20 p-4"}`,children:g[a.icon]})]})]}),(0,b.jsx)("div",{className:`relative z-10 grid gap-y-2 gap-x-12 ${h?"md:grid-cols-2":"grid-cols-1"}`,children:a.lists.map((a,c)=>(0,b.jsx)("ul",{className:"space-y-1",children:a.map((a,c)=>(0,b.jsxs)("li",{className:"group/item flex items-start py-3 -mx-4 px-4 rounded-xl hover:bg-neutral-50/80 transition-colors",children:[(0,b.jsx)("span",{className:"text-primary mr-4 mt-1 opacity-80 group-hover/item:translate-x-1 transition-transform",children:(0,b.jsx)("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"3",strokeLinecap:"round",strokeLinejoin:"round",children:(0,b.jsx)("polyline",{points:"9 18 15 12 9 6"})})}),(0,b.jsx)("span",{className:"leading-snug text-text-secondary group-hover/item:text-neutral-900 transition-colors font-medium",children:a})]},c))},c))})]},a.id)})})]})})}a.s(["ServiceDetailGrid",()=>h])},163041,a=>{a.v(b=>Promise.all(["server/chunks/ssr/[root-of-the-server]__6335de4a._.js","server/chunks/ssr/node_modules__pnpm_2ad0b5ae._.js"].map(b=>a.l(b))).then(()=>b(17814)))}];
//# debugId=ae044da7-5ba3-26f6-1885-e94df6ea6003
//# sourceMappingURL=%5Broot-of-the-server%5D__e511aed8._.js.map