'use client'; import React from 'react'; import { motion } from 'framer-motion'; export function GrowthChart() { const data = [ { year: '2023', hdd: 29436, kabel: 76727 }, { year: '2024', hdd: 28680, kabel: 131964 }, { year: '2025', hdd: 44655, kabel: 163470 }, ]; const maxVal = 163470; // Highest value for scaling return (

Bewiesene Leistungsfähigkeit

Unsere verlässliche Baukapazität der letzten drei Jahre (in Metern)

{data.map((item, index) => { const hddWidth = (item.hdd / maxVal) * 100; const kabelWidth = (item.kabel / maxVal) * 100; return (
{item.year}
{/* Kabelverlegung Bar */}
Kabel: {new Intl.NumberFormat('de-DE').format(item.kabel)}m
{/* HDD Bar */}
HDD: {new Intl.NumberFormat('de-DE').format(item.hdd)}m
); })}
Kabelverlegung
HDD Spülbohrung
); }