Files
e-tib.com/.next/static/chunks/fb4360ef78ba79a7.js

4 lines
18 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]="00b78d9e-4745-448a-350f-d0aa6b7b514c")}catch(e){}}();
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,7284,e=>{"use strict";function t(){for(var e,t,r=0,a="",s=arguments.length;r<s;r++)(e=arguments[r])&&(t=function e(t){var r,a,s="";if("string"==typeof t||"number"==typeof t)s+=t;else if("object"==typeof t)if(Array.isArray(t)){var i=t.length;for(r=0;r<i;r++)t[r]&&(a=e(t[r]))&&(s&&(s+=" "),s+=a)}else for(a in t)t[a]&&(s&&(s+=" "),s+=a);return s}(e))&&(a&&(a+=" "),a+=t);return a}e.s(["clsx",()=>t])},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:text-white hover:shadow-primary/20 hover:shadow-xl",ghost:"text-primary hover:shadow-lg",white:"bg-white text-primary shadow-md hover:shadow-primary/30 hover:shadow-2xl hover:text-white",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:"bg-primary-dark",secondary:"bg-secondary-light",accent:"bg-accent-dark",saturated:"bg-primary",outline:"bg-primary",ghost:"bg-primary-light/10",white:"bg-primary-light",destructive:"bg-destructive/90"};function n({variant:e="primary"}){return(0,t.jsx)("span",{className:(0,a.cn)("absolute inset-0 translate-y-[101%] group-hover/btn:translate-y-0 transition-transform duration-500 ease-out",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:(0,a.cn)("relative z-10 flex items-center justify-center gap-2 transition-colors duration-500","white"===l?"group-hover/btn:text-primary-dark":""),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);let s=[{title:"E-TIB GmbH",url:"https://www.e-tib.com/",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"}],i={hidden:{opacity:0},visible:{opacity:1,transition:{staggerChildren:.15}}},l={hidden:{opacity:0,y:30},visible:{opacity:1,y:0,transition:{duration:.8,ease:[.16,1,.3,1]}}};function n(e){let{data:n}=e,o=e.badge||n?.badge,d=e.title||n?.title,c=e.companies||n?.companies,x=c?.map(e=>({title:e.title,url:e.url,backgroundImage:e.backgroundImage?.url||e.backgroundImage||"/assets/photos/DJI_0243.JPG"}))||s;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:[(o||d)&&(0,t.jsxs)("div",{className:"text-center max-w-3xl mx-auto mb-16",children:[o&&(0,t.jsx)("h2",{className:"text-primary font-bold tracking-wider uppercase text-sm mb-3",children:o}),d&&(0,t.jsx)("h3",{className:"font-heading text-4xl md:text-5xl font-extrabold text-white",children:d})]}),(0,t.jsx)(r.motion.div,{className:"grid grid-cols-1 md:grid-cols-3 gap-6",variants:i,initial:"hidden",whileInView:"visible",viewport:{once:!0,margin:"-50px"},children:x.map((e,s)=>{let i=e.url?"a":"div",n=e.url?{href:e.url,target:"_blank",rel:"noopener noreferrer"}:{},o=e.title.includes("E-TIB"),d=e.title.includes("Ingenieur"),c=e.title.includes("NEMO");return(0,t.jsx)(r.motion.div,{variants:l,className:"h-full",children:(0,t.jsxs)(i,{...n,className:"group relative overflow-hidden aspect-[4/3] flex flex-col justify-center items-center shadow-xl border border-white/5 transition-all duration-500 hover:shadow-2xl hover:-translate-y-1 bg-neutral-dark cursor-pointer block w-full h-full sm:rounded-xl",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 opacity-40 group-hover:opacity-30 group-hover:scale-110 transition-all duration-1000 ease-out grayscale-[50%] group-hover:grayscale-0",sizes:"(max-width: 768px) 100vw, 33vw"})}),(0,t.jsx)("div",{className:"absolute inset-0 bg-gradient-to-t from-[#0a192f]/90 via-[#0a192f]/60 to-[#0a192f]/40 z-0 group-hover:from-primary/90 group-hover:to-primary/20 transition-colors duration-700 mix-blend-multiply"}),(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:o?(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"})}),d&&(0,t.jsx)("div",{className:"text-white/80 tracking-[0.3em] text-xs font-semibold uppercase mt-1",children:"Ingenieurgesellschaft"})]}):c?(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"})})]})})]})},s)})})]})})}e.s(["SubCompanyTiles",()=>n])},285997,e=>{"use strict";var t=e.i(452797),r=e.i(184868),a=e.i(663067),s=e.i(112086),i=e.i(907358);function l(e){let{data:l}=e,[n,o]=(0,i.useState)(!1);(0,i.useEffect)(()=>{o(!0)},[]);let d=e.badge||l?.badge||"Leistungsspektrum",c=e.title||l?.title||"Umfassende Lösungen für komplexe Netzwerke",x=e.ctaLabel||l?.ctaLabel||"Alle Kompetenzen ansehen",m=e.ctaHref||l?.ctaHref||"/kompetenzen",h=e.items||l?.items||[];return n?(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:d}),(0,t.jsx)("h3",{className:"font-heading text-4xl md:text-5xl font-extrabold text-neutral-dark mb-4",children:c})]}),(0,t.jsxs)(r.default,{href:m,className:"inline-flex items-center font-bold text-primary hover:text-primary-dark transition-colors group mt-6 md:mt-0 bg-primary/5 hover:bg-primary/10 px-6 py-3 rounded-xl",children:[x,(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:h.map((e,r)=>{let i="large"===e.size,l="medium"===e.size,n="accent"===e.size,o=e.image?.url,d="rounded-2xl overflow-hidden relative group ";return(i?d+="md:col-span-2 md:row-span-2":l?d+="md:col-span-2 lg:col-span-2":n?d+="md:col-span-1 bg-primary text-white p-6 md:p-8 flex flex-col justify-center border-none shadow-md":d+="md:col-span-1",n)?(0,t.jsxs)(s.motion.div,{initial:{opacity:0,y:20},whileInView:{opacity:1,y:0},viewport:{once:!0},transition:{delay:.1*r},className:d,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)("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})]},r):(0,t.jsxs)(s.motion.div,{initial:{opacity:0,scale:.95},whileInView:{opacity:1,scale:1},viewport:{once:!0},transition:{delay:.1*r},className:d,children:[!o&&(0,t.jsx)("div",{className:"absolute inset-0 bg-neutral-dark z-0 transition-colors duration-500 group-hover:bg-primary-dark"}),o&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"absolute inset-0 bg-white z-0",children:(0,t.jsx)(a.default,{src:o,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.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})]})]},r)})})]})}):(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:d}),(0,t.jsx)("h3",{className:"font-heading text-4xl md:text-5xl font-extrabold text-neutral-dark mb-4",children:c})]})}),(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",()=>l])},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);function l(e){let{data:l}=e,n=e.references||[],o=r.useRef(null),d=e.badge||l?.badge||"Ausgewählte Projekte",c=e.title||l?.title||"Referenzen & Erfolge",x=e.description||l?.description||"Ein Auszug unserer erfolgreich abgeschlossenen Projekte im Bereich Kabeltiefbau, Bohrtechnik und Netzinfrastruktur.",m=e.ctaLabel||l?.ctaLabel||"Alle Referenzen ansehen",h=e.ctaHref||l?.ctaHref||"/referenzen";if(!n||0===n.length)return null;let u=["/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",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:d}),(0,t.jsx)("h3",{className:"font-heading text-4xl md:text-5xl font-extrabold",children:c})]}),(0,t.jsx)("p",{className:"text-white/60 max-w-md",children:x})]}),(0,t.jsx)("div",{className:"relative z-10",children:(0,t.jsx)("div",{ref:o,className:"flex gap-6 overflow-x-auto pb-12 pt-4 snap-x snap-mandatory px-[calc((100vw-min(100%,1280px))/2)] [scrollbar-width:none] [-ms-overflow-style:none] [&::-webkit-scrollbar]:hidden",children:n.map((e,r)=>{let s=e.image&&"object"==typeof e.image&&e.image.url?e.image.url:u[r%u.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 cursor-pointer",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"}),(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"}),(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",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:h,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:[m,(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",()=>l])}]);
//# debugId=00b78d9e-4745-448a-350f-d0aa6b7b514c