Files
e-tib.com/.next/static/chunks/de8915a8ec646e64.js
2026-05-07 15:49:20 +02:00

4 lines
19 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]="e3220fd8-accf-58bc-87b0-d8d115a03ea1")}catch(e){}}();
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,676525,e=>{"use strict";var t=e.i(452797),r=e.i(184868),a=e.i(111023);let s={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"},i={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"},l={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 n({variant:e="primary"}){return(0,t.jsx)("span",{className:(0,a.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",l[e])})}function o({className:e,variant:l="primary",size:o="md",href:d,...c}){let x=function(e="primary",t="md",r){return(0,a.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",s[e],i[t],r)}(l,o,e),m=(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{className:"relative z-10 flex items-center justify-center gap-2",children:c.children}),(0,t.jsx)(n,{variant:l})]});return d?(0,t.jsx)(r.default,{href:d,className:x,children:m}):(0,t.jsx)("button",{className:x,...c,children:m})}e.s(["Button",()=>o])},610408,e=>{"use strict";var t=e.i(452797),r=e.i(676525),a=e.i(112086);function s(e){let{data:s}=e,i=e.title||s?.title||"DIE EXPERTEN FÜR KABELTIEFBAU",l=e.subtitle||e.description||s?.subtitle||"Wir verbinden Infrastruktur mit Präzision. Von Horizontalbohrungen bis zu komplexen Leitungsnetzen.",n=e.videoUrl||s?.videoUrl||"/assets/dummy-hero.mp4",o=s?.posterImage?.url||"/assets/photos/DJI_0048.JPG";s?.posterImage?.alt;let d=e.ctaLabel||e.linkText||s?.ctaLabel||"Unternehmen entdecken",c=e.ctaHref||e.linkHref||s?.ctaHref||"#unternehmen",x=e.secondaryCtaLabel||s?.secondaryCtaLabel||"Projekt anfragen",m=e.secondaryCtaHref||s?.secondaryCtaHref||"/kontakt";return(0,t.jsxs)("div",{className:"relative w-full h-[100svh] flex items-center justify-center overflow-hidden bg-neutral-dark",children:[(0,t.jsx)("div",{className:"absolute inset-0 z-0 bg-neutral-dark"}),n&&(0,t.jsx)("video",{className:"absolute inset-0 w-full h-full object-cover z-1 pointer-events-none filter contrast-125 saturate-110 brightness-90",src:n,poster:o,autoPlay:!0,muted:!0,loop:!0,playsInline:!0,preload:"auto"}),(0,t.jsx)("div",{className:"absolute inset-0 bg-[#0a192f]/30 z-[2] mix-blend-multiply"}),(0,t.jsx)("div",{className:"absolute inset-0 bg-[radial-gradient(ellipse_at_center,_var(--tw-gradient-stops))] from-transparent via-black/20 to-black/80 z-[2]"}),(0,t.jsx)("div",{className:"absolute inset-0 bg-gradient-to-t from-neutral-dark via-neutral-dark/60 to-transparent z-[3]"}),(0,t.jsx)("div",{className:"container relative z-[4] text-center px-4",children:(0,t.jsxs)(a.motion.div,{initial:{opacity:0,y:40},animate:{opacity:1,y:0},transition:{duration:1.2,ease:[.16,1,.3,1]},children:[(0,t.jsx)("h1",{className:"font-heading font-bold text-4xl md:text-6xl lg:text-8xl text-white mb-6 uppercase tracking-tight drop-shadow-lg",dangerouslySetInnerHTML:{__html:i.replace("KABELTIEFBAU",'<span class="text-primary-light">KABELTIEFBAU</span>').replace(/\n/g,"<br />")}}),(0,t.jsx)("p",{className:"text-lg md:text-xl lg:text-2xl text-white/90 max-w-3xl mx-auto mb-12 drop-shadow",children:l}),(0,t.jsxs)("div",{className:"flex flex-col sm:flex-row items-center justify-center gap-6",children:[(0,t.jsx)(r.Button,{href:c,variant:"primary",size:"lg",children:d}),(0,t.jsx)(r.Button,{href:m,variant:"outline",size:"lg",className:"border-white/60 text-white hover:text-primary hover:bg-white",children:x})]})]})})]})}e.s(["HeroVideo",()=>s])},138557,e=>{"use strict";var t=e.i(452797),r=e.i(112086),a=e.i(663067),s=e.i(808496),i=e.i(976819);let l=[{title:"E-TIB GmbH",backgroundImage:"/assets/photos/DJI_0243.JPG"},{title:"E-TIB Ingenieurgesellschaft mbH",url:"https://www.etib-ing.com/",backgroundImage:"/assets/photos/DSC01137.JPG"},{title:"NEMO GmbH",url:"https://www.nemo-gmbh.de/",backgroundImage:"/assets/photos/DJI_0048.JPG"}],n={hidden:{opacity:0},visible:{opacity:1,transition:{staggerChildren:.15}}},o={hidden:{opacity:0,y:30},visible:{opacity:1,y:0,transition:{duration:.8,ease:[.16,1,.3,1]}}};function d(e){let{data:d}=e,c=e.badge||d?.badge,x=e.title||d?.title,m=e.companies||d?.companies,h=(0,i.usePathname)(),u=h?.startsWith("/de")??!0,p=m?.map(e=>({title:e.title,url:e.url,backgroundImage:e.backgroundImage?.url||e.backgroundImage||"/assets/photos/DJI_0243.JPG"}))||l;return(0,t.jsx)("section",{id:"unternehmen",className:"py-24 bg-neutral-dark border-b border-neutral-800",children:(0,t.jsxs)("div",{className:"container relative z-10 px-4",children:[(c||x)&&(0,t.jsxs)("div",{className:"text-center max-w-3xl mx-auto mb-16",children:[c&&(0,t.jsx)("h2",{className:"text-primary font-bold tracking-wider uppercase text-sm mb-3",children:c}),x&&(0,t.jsx)("h3",{className:"font-heading text-4xl md:text-5xl font-extrabold text-white",children:x})]}),(0,t.jsx)(r.motion.div,{className:"grid grid-cols-1 md:grid-cols-3 gap-6",variants:n,initial:"hidden",whileInView:"visible",viewport:{once:!0,margin:"-50px"},children:p.map((e,i)=>{let l=!e.url,n=l?{}:{href:e.url,target:"_blank",rel:"noopener noreferrer"},d=e.title.includes("E-TIB"),c=e.title.includes("Ingenieur"),x=e.title.includes("NEMO");return(0,t.jsx)(r.motion.div,{variants:o,className:"h-full",children:(0,t.jsxs)(l?"div":"a",{...n,className:`group relative overflow-hidden aspect-[4/3] flex flex-col justify-center items-center shadow-xl transition-all duration-500 bg-neutral-dark block w-full h-full sm:rounded-xl select-none ${l?"border-2 border-primary shadow-[0_0_30px_rgba(17,124,97,0.15)] cursor-default":"border border-white/5 hover:shadow-2xl hover:-translate-y-1 hover:border-white/10 cursor-pointer"}`,children:[(0,t.jsx)("div",{className:"absolute inset-0 bg-[#0a192f] z-0",children:(0,t.jsx)(a.default,{src:e.backgroundImage,alt:"Background",fill:!0,className:`object-cover transition-all duration-1000 ease-out ${l?"opacity-30 grayscale-0 scale-105":"opacity-40 grayscale-[50%] group-hover:opacity-30 group-hover:grayscale-0 group-hover:scale-110"}`,sizes:"(max-width: 768px) 100vw, 33vw"})}),(0,t.jsx)("div",{className:`absolute inset-0 z-0 transition-colors duration-700 mix-blend-multiply ${l?"bg-gradient-to-t from-[#0a192f]/90 via-[#0a192f]/60 to-[#0a192f]/40":"bg-gradient-to-t from-[#0a192f]/90 via-[#0a192f]/60 to-[#0a192f]/40 group-hover:from-primary/90 group-hover:to-primary/20"}`}),!l&&(0,t.jsx)(s.HoverShineOverlay,{}),l&&(0,t.jsx)("div",{className:"absolute top-6 right-6 z-20",children:(0,t.jsxs)("div",{className:"flex items-center space-x-2 bg-neutral-dark/80 backdrop-blur-md border border-primary/40 px-3 py-1.5 rounded-full shadow-lg",children:[(0,t.jsxs)("span",{className:"relative flex h-2 w-2",children:[(0,t.jsx)("span",{className:"animate-ping absolute inline-flex h-full w-full rounded-full bg-primary opacity-75"}),(0,t.jsx)("span",{className:"relative inline-flex rounded-full h-2 w-2 bg-primary"})]}),(0,t.jsx)("span",{className:"text-[10px] font-bold uppercase tracking-widest text-primary/90",children:u?"Aktuell hier":"You are here"})]})}),(0,t.jsx)("div",{className:"relative z-10 flex flex-col items-center justify-center w-full h-full p-8 transform group-hover:scale-105 transition-transform duration-500",children:d?(0,t.jsxs)("div",{className:"flex flex-col items-center",children:[(0,t.jsx)("div",{className:"relative w-48 h-14 mb-2",children:(0,t.jsx)(a.default,{src:"/assets/logo-white.png",alt:"E-TIB Logo",fill:!0,className:"object-contain"})}),c&&(0,t.jsx)("div",{className:"text-white/80 tracking-[0.3em] text-xs font-semibold uppercase mt-1",children:"Ingenieurgesellschaft"})]}):x?(0,t.jsxs)("div",{className:"flex flex-col items-center",children:[(0,t.jsx)("div",{className:"text-5xl font-heading font-black text-white tracking-tight",children:"NEMO"}),(0,t.jsx)("div",{className:"text-white/60 tracking-widest text-xs font-semibold uppercase mt-1",children:"GmbH"})]}):(0,t.jsx)("div",{className:"text-2xl font-heading font-bold text-white uppercase text-center",children:e.title})}),e.url&&(0,t.jsx)("div",{className:"absolute bottom-6 left-0 right-0 flex justify-center opacity-0 group-hover:opacity-100 transform translate-y-4 group-hover:translate-y-0 transition-all duration-500 z-20",children:(0,t.jsxs)("div",{className:"flex items-center text-white font-bold uppercase text-xs tracking-widest bg-white/10 backdrop-blur-md px-4 py-2 rounded-full border border-white/20",children:["Website Besuchen",(0,t.jsx)("svg",{className:"w-4 h-4 ml-2",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:(0,t.jsx)("path",{d:"M5 12h14M12 5l7 7-7 7"})})]})})]})},i)})})]})})}e.s(["SubCompanyTiles",()=>d])},285997,e=>{"use strict";var t=e.i(452797),r=e.i(663067),a=e.i(112086),s=e.i(907358),i=e.i(676525),l=e.i(808496);function n(e){let{data:n}=e,[o,d]=(0,s.useState)(!1);(0,s.useEffect)(()=>{d(!0)},[]);let c=e.badge||n?.badge||"Leistungsspektrum",x=e.title||n?.title||"Umfassende Lösungen für komplexe Netzwerke",m=e.ctaLabel||n?.ctaLabel||"Alle Kompetenzen ansehen",h=e.ctaHref||n?.ctaHref||"/kompetenzen",u=e.items||n?.items||[];return o?(0,t.jsx)("section",{className:"py-24 bg-neutral text-neutral-dark overflow-hidden relative",children:(0,t.jsxs)("div",{className:"container",children:[(0,t.jsxs)("div",{className:"flex flex-col md:flex-row justify-between items-end mb-12",children:[(0,t.jsxs)("div",{className:"max-w-2xl",children:[(0,t.jsx)("h2",{className:"text-primary font-bold tracking-wider uppercase text-sm mb-3",children:c}),(0,t.jsx)("h3",{className:"font-heading text-4xl md:text-5xl font-extrabold text-neutral-dark mb-4",children:x})]}),(0,t.jsxs)(i.Button,{href:h,variant:"ghost",className:"mt-6 md:mt-0 bg-primary/5 hover:bg-primary/10",children:[m,(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"w-5 h-5 ml-2 transform group-hover:translate-x-1 transition-transform",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,t.jsx)("line",{x1:"5",y1:"12",x2:"19",y2:"12"}),(0,t.jsx)("polyline",{points:"12 5 19 12 12 19"})]})]})]}),(0,t.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-3 lg:grid-cols-4 gap-4 auto-rows-[220px]",children:u.map((e,s)=>{let i="large"===e.size,n="medium"===e.size,o="accent"===e.size,d=e.image?.url,c="rounded-2xl overflow-hidden relative group select-none ";return(i?c+="md:col-span-2 md:row-span-2":n?c+="md:col-span-2 lg:col-span-2":o?c+="md:col-span-1 bg-primary text-white p-6 md:p-8 flex flex-col justify-center border-none shadow-md":c+="md:col-span-1",o)?(0,t.jsxs)(a.motion.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:.1*s},className:c,children:[(0,t.jsx)("div",{className:"absolute top-0 right-0 w-32 h-32 bg-primary/30 blur-3xl rounded-full -mr-10 -mt-10 group-hover:bg-primary/50 transition-colors duration-500"}),(0,t.jsx)(l.HoverShineOverlay,{shineColor:"via-white/30"}),(0,t.jsx)("h4",{className:"font-bold text-xl md:text-2xl relative z-10 leading-snug",children:e.title}),e.description&&(0,t.jsx)("p",{className:"text-white/60 text-sm mt-3 relative z-10",children:e.description})]},s):(0,t.jsxs)(a.motion.div,{initial:{opacity:0,scale:.95},whileInView:{opacity:1,scale:1},viewport:{once:!0},transition:{delay:.1*s},className:c,children:[!d&&(0,t.jsx)("div",{className:"absolute inset-0 bg-neutral-dark z-0 transition-colors duration-500 group-hover:bg-primary-dark"}),d&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"absolute inset-0 bg-white z-0",children:(0,t.jsx)(r.default,{src:d,alt:e.title||"",fill:!0,className:"object-cover opacity-90 group-hover:scale-105 group-hover:opacity-100 transition-all duration-700 ease-in-out",sizes:i?"(max-width: 768px) 100vw, 50vw":"(max-width: 768px) 100vw, 25vw"})}),(0,t.jsx)("div",{className:"absolute inset-0 bg-gradient-to-t from-black/80 via-black/20 to-transparent opacity-90 transition-opacity duration-500 z-0"})]}),(0,t.jsx)(l.HoverShineOverlay,{}),(0,t.jsxs)("div",{className:"relative z-10 p-8 flex flex-col justify-end h-full text-white",children:[e.tag&&(0,t.jsx)("span",{className:"inline-block px-3 py-1 bg-primary/20 backdrop-blur-md rounded-full text-xs font-bold uppercase tracking-wider text-primary-light mb-3 w-fit border border-primary/30",children:e.tag}),(0,t.jsx)("h4",{className:`font-heading font-extrabold mb-2 ${i?"text-3xl md:text-5xl":"text-xl md:text-2xl"}`,children:e.title}),e.description&&(0,t.jsx)("p",{className:`text-white/80 ${i?"text-lg md:text-xl max-w-sm":"text-sm"}`,children:e.description})]})]},s)})})]})}):(0,t.jsx)("section",{className:"py-24 bg-neutral text-neutral-dark overflow-hidden relative",children:(0,t.jsxs)("div",{className:"container",children:[(0,t.jsx)("div",{className:"flex flex-col md:flex-row justify-between items-end mb-12",children:(0,t.jsxs)("div",{className:"max-w-2xl",children:[(0,t.jsx)("h2",{className:"text-primary font-bold tracking-wider uppercase text-sm mb-3",children:c}),(0,t.jsx)("h3",{className:"font-heading text-4xl md:text-5xl font-extrabold text-neutral-dark mb-4",children:x})]})}),(0,t.jsx)("div",{className:"grid grid-cols-1 md:grid-cols-3 lg:grid-cols-4 gap-4 auto-rows-[220px]"})]})})}e.s(["CompetenceBentoGrid",()=>n])},677705,e=>{"use strict";var t=e.i(452797),r=e.i(907358),a=e.i(112086),s=e.i(184868),i=e.i(663067),l=e.i(808496);function n(e){let{data:n}=e,o=e.references||[],d=r.useRef(null),[c,x]=r.useState(!1),[m,h]=r.useState(0),[u,p]=r.useState(0),g=e.badge||n?.badge||"Ausgewählte Projekte",b=e.title||n?.title||"Referenzen & Erfolge",v=e.description||n?.description||"Ein Auszug unserer erfolgreich abgeschlossenen Projekte im Bereich Kabeltiefbau, Bohrtechnik und Netzinfrastruktur.",f=e.ctaLabel||n?.ctaLabel||"Alle Referenzen ansehen",w=e.ctaHref||n?.ctaHref||"/referenzen";if(!o||0===o.length)return null;let y=["/assets/photos/DSC01123.JPG","/assets/photos/DSC00850.JPG","/assets/photos/DSC01129.JPG","/assets/photos/DSC00010.JPG"];return(0,t.jsxs)("section",{className:"py-24 bg-neutral-dark text-white overflow-hidden relative select-none",children:[(0,t.jsx)("div",{className:"absolute inset-0 bg-gradient-to-b from-neutral-dark via-neutral-900 to-neutral-dark z-0"}),(0,t.jsxs)("div",{className:"container relative z-10 mb-12 flex flex-col md:flex-row justify-between items-end gap-6",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("h2",{className:"text-primary-light font-bold tracking-wider uppercase text-sm mb-3",children:g}),(0,t.jsx)("h3",{className:"font-heading text-4xl md:text-5xl font-extrabold",children:b})]}),(0,t.jsx)("p",{className:"text-white/60 max-w-md",children:v})]}),(0,t.jsx)("div",{className:"relative z-10",children:(0,t.jsx)("div",{ref:d,onMouseDown:e=>{d.current&&(x(!0),h(e.pageX-d.current.offsetLeft),p(d.current.scrollLeft))},onMouseLeave:()=>{x(!1)},onMouseUp:()=>{x(!1)},onMouseMove:e=>{if(!c||!d.current)return;e.preventDefault();let t=e.pageX-d.current.offsetLeft;d.current.scrollLeft=u-(t-m)*2},className:`flex gap-6 overflow-x-auto pb-12 pt-4 px-[calc((100vw-min(100%,1280px))/2)] [scrollbar-width:none] [-ms-overflow-style:none] [&::-webkit-scrollbar]:hidden ${c?"cursor-grabbing snap-none":"cursor-grab snap-x snap-mandatory"}`,children:o.map((e,r)=>{let s=e.image&&"object"==typeof e.image&&e.image.url?e.image.url:y[r%y.length];return(0,t.jsx)(a.motion.div,{initial:{opacity:0,x:50},whileInView:{opacity:1,x:0},viewport:{once:!0},transition:{delay:.1*r,duration:.6,ease:"easeOut"},className:"flex-shrink-0 w-[320px] md:w-[480px] snap-center group pointer-events-auto",children:(0,t.jsxs)("div",{className:"relative aspect-[16/10] bg-neutral-800 rounded-2xl overflow-hidden mb-5 border border-white/5 shadow-2xl",children:[(0,t.jsx)(i.default,{src:s,alt:e.title,fill:!0,sizes:"(max-width: 768px) 320px, 480px",className:"object-cover saturate-50 opacity-70 group-hover:scale-105 group-hover:opacity-100 group-hover:saturate-100 transition-all duration-700 ease-in-out pointer-events-none"}),(0,t.jsx)("div",{className:"absolute inset-0 bg-gradient-to-t from-black/90 via-black/30 to-transparent opacity-80 group-hover:opacity-90 transition-opacity duration-300 pointer-events-none"}),(0,t.jsx)(l.HoverShineOverlay,{}),(0,t.jsxs)("div",{className:"absolute bottom-6 left-8 right-8 transform translate-y-4 group-hover:translate-y-0 transition-transform duration-500 pointer-events-none",children:[(0,t.jsx)("span",{className:"inline-block py-1.5 px-4 rounded-full bg-primary/30 backdrop-blur-md text-white text-xs font-bold uppercase tracking-widest mb-3 border border-primary/50",children:e.category}),(0,t.jsx)("h4",{className:"font-heading text-2xl md:text-3xl font-bold line-clamp-2",children:e.title})]})]})},e.id)})})}),(0,t.jsx)("div",{className:"container relative z-10 mt-4 flex justify-center",children:(0,t.jsxs)(s.default,{href:w,className:"px-8 py-4 rounded-xl bg-white/5 border border-white/20 hover:bg-white hover:text-neutral-dark hover:shadow-[0_0_20px_rgba(255,255,255,0.3)] transition-all font-bold flex items-center gap-3 backdrop-blur-sm",children:[f,(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"w-5 h-5",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round",children:[(0,t.jsx)("line",{x1:"5",y1:"12",x2:"19",y2:"12"}),(0,t.jsx)("polyline",{points:"12 5 19 12 12 19"})]})]})})]})}e.s(["ReferencesSlider",()=>n])}]);
//# debugId=e3220fd8-accf-58bc-87b0-d8d115a03ea1