// Hero: bold headline + sub + CTA, with auto-cycling product-mockup demo on the right const Hero = ({ onCTA }) => { const slides = [ { id: 'voice', label: 'Voice AI', Comp: window.VoiceMockup, href: 'https://goma-it.at/voice-ai/' }, { id: 'chatbot', label: 'Chatbot', Comp: window.ChatbotMockup, href: 'https://goma-it.at/chatbot-vorarlberg/' }, { id: 'workflow', label: 'Workflow', Comp: window.WorkflowMockup, href: 'https://goma-it.at/agenten-workflows/' }, { id: 'content', label: 'Content', Comp: window.ContentMockup, href: 'https://goma-it.at/content-automation-marketing-bots/' }, { id: 'rag', label: 'Wissens-KI', Comp: window.RagMockup, href: 'https://goma-it.at/rag-wissensdatenbanken/' }, ]; const [idx, setIdx] = React.useState(0); const [paused, setPaused] = React.useState(false); React.useEffect(() => { if (paused) return; const id = setInterval(() => setIdx(i => (i + 1) % slides.length), 4500); return () => clearInterval(id); }, [paused, slides.length]); const current = slides[idx]; const goTo = (href) => { if (href) window.location.href = href; }; return (
KI aus Vorarlberg

Wir automatisieren Ihr Unternehmen mit KI.

Mehr Kapazität, weniger Verwaltung. Goma-IT bringt künstliche Intelligenz in den Mittelstand — vom KI-Telefonassistenten bis zur vollautomatischen Dokumentenverarbeitung.

{/* Right column: cycling mockup carousel */}
setPaused(true)} onMouseLeave={() => setPaused(false)} > {/* Stage: mockups stacked with crossfade */}
goTo(current && current.href)} style={{ position: 'relative', borderRadius: 16, overflow: 'hidden', cursor: current ? 'pointer' : 'default', minHeight: 400, boxShadow: '0 12px 32px rgba(10,10,10,0.06)', }} > {slides.map((s, i) => { const Comp = s.Comp; return (
{Comp ? : null}
); })}
{/* Indicator strip: clickable labels with active dot */}
{slides.map((s, i) => { const active = i === idx; return ( ); })}
); }; window.Hero = Hero;