"use client"; import { Check } from "lucide-react"; import { useState } from "react"; import { Badge } from "@/components/ui/badge"; import { Button } from "@/components/ui/button"; import { Separator } from "@/components/ui/separator"; import { Tabs, TabsList, TabsTrigger } from "@/components/ui/tabs"; import { cn } from "@/lib/utils"; interface PricingPlan { name: string; badge: string; price: string; description?: string; features: string[]; buttonText: string; isPopular?: boolean; } interface Pricing4Props { title?: string; description?: string; plans?: PricingPlan[]; className?: string; } const Pricing4 = ({ title = "Entwicklungspakete", description = "Alle Websites laufen auf deutschen Servern, sind DSGVO-konform und kommen ohne Cookie-Banner aus. Auf Wunsch erhalten Sie monatlich einen Einblick, wie viele Menschen Ihre Website besuchen haben — und woher sie kommen.", plans = [ { name: "BASIS", badge: "799 €", price: "799 €", features: [ "Eine Seite, fünf Sektionen", "Kontaktformular", "Impressum & Datenschutz", "Mobilfreundlich & für Google optimiert", "DSGVO-konformes Kontaktformular", "Cookiefreies Analytics — ohne Abmahnrisiko", ], buttonText: "Kostenloses Angebot anfordern", }, { name: "PROFI", badge: "1.499 € ⭐ Empfehlung", price: "1.499 €", features: [ "Bis zu 5 Unterseiten", "Google Maps Integration", "SEO-Basis (bessere Auffindbarkeit bei Google)", "Optionaler Blog", "DSGVO-konformes Kontaktformular", "Cookiefreies Analytics — ohne Abmahnrisiko", "Alles aus Basis inklusive", ], buttonText: "Kostenloses Angebot anfordern", isPopular: true, }, { name: "MASSARBEIT", badge: "2.499 €", price: "2.499 €", features: [ "Individuelles Design nach Ihren Wünschen", "CMS — Sie pflegen Inhalte selbst", "DSGVO-konformes Kontaktformular", "Cookiefreies Analytics — ohne Abmahnrisiko", "Alles aus Profi inklusive", ], buttonText: "Kostenloses Angebot anfordern", }, ], className, }: Pricing4Props) => { const [isMonthly, setIsMonthly] = useState(false); return (

{title}

{description}

setIsMonthly(value === "monthly") } className="w-fit shrink-0" aria-label="Leistungsvariante" > Entwicklung Hosting & Wartung
{isMonthly ? ( plans.map((plan) => (
{plan.badge}

{plan.price}

Einmalpreis

    {plan.features.map((feature, featureIndex) => (
  • ))}
)) ) : ( [ { name: "BASIC HOSTING", badge: "19 €/Monat", price: "19 €", features: [ "Hosting auf deutschen Servern in Sachsen", "Grünes Schloss im Browser (SSL) — sicher & von Google bevorzugt", "Tägliche Backups — Ihre Daten sind immer geschützt", "Domain inklusive", "Monatlicher Einblick in Ihre Besucherzahlen", ], }, { name: "WARTUNG", badge: "39 €/Monat ⭐ Empfehlung", price: "39 €", features: [ "Alles aus Basic Hosting inklusive", "Regelmäßige Updates & Sicherheitschecks", "1 Stunde Support pro Monat", "Monitoring — ich merke bevor Sie es tun, wenn etwas nicht stimmt", "Wöchentlicher Einblick in Ihre Besucherzahlen", ], isPopular: true, }, { name: "FULL SERVICE", badge: "69 €/Monat", price: "69 €", features: [ "Alles aus Wartung inklusive", "Kleinere Inhaltsänderungen (bis 2 Stunden/Monat)", "Täglicher Einblick in Ihre Besucherzahlen", ], }, ].map((plan) => (
{plan.badge}

{plan.price}

Monatlicher Preis

    {plan.features.map((feature, featureIndex) => (
  • ))}
)) )}
); }; export { Pricing4 };