Initial commit: SunHouse Landing Page with images

This commit is contained in:
Git Admin
2025-12-03 10:48:10 +00:00
commit d5ebd0b485
18 changed files with 5044 additions and 0 deletions

23
.gitignore vendored Normal file
View File

@@ -0,0 +1,23 @@
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*
node_modules
dist
dist-ssr
*.local
.vscode/*
!.vscode/extensions.json
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
.env

28
eslint.config.js Normal file
View File

@@ -0,0 +1,28 @@
import js from '@eslint/js';
import globals from 'globals';
import reactHooks from 'eslint-plugin-react-hooks';
import reactRefresh from 'eslint-plugin-react-refresh';
import tseslint from 'typescript-eslint';
export default tseslint.config(
{ ignores: ['dist'] },
{
extends: [js.configs.recommended, ...tseslint.configs.recommended],
files: ['**/*.{ts,tsx}'],
languageOptions: {
ecmaVersion: 2020,
globals: globals.browser,
},
plugins: {
'react-hooks': reactHooks,
'react-refresh': reactRefresh,
},
rules: {
...reactHooks.configs.recommended.rules,
'react-refresh/only-export-components': [
'warn',
{ allowConstantExport: true },
],
},
}
);

13
index.html Normal file
View File

@@ -0,0 +1,13 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Autark Leben Erleben Landing Page</title>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
</body>
</html>

4175
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

35
package.json Normal file
View File

@@ -0,0 +1,35 @@
{
"name": "vite-react-typescript-starter",
"private": true,
"version": "0.0.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "vite build",
"lint": "eslint .",
"preview": "vite preview",
"typecheck": "tsc --noEmit -p tsconfig.app.json"
},
"dependencies": {
"@supabase/supabase-js": "^2.57.4",
"lucide-react": "^0.344.0",
"react": "^18.3.1",
"react-dom": "^18.3.1"
},
"devDependencies": {
"@eslint/js": "^9.9.1",
"@types/react": "^18.3.5",
"@types/react-dom": "^18.3.0",
"@vitejs/plugin-react": "^4.3.1",
"autoprefixer": "^10.4.18",
"eslint": "^9.9.1",
"eslint-plugin-react-hooks": "^5.1.0-rc.0",
"eslint-plugin-react-refresh": "^0.4.11",
"globals": "^15.9.0",
"postcss": "^8.4.35",
"tailwindcss": "^3.4.1",
"typescript": "^5.5.3",
"typescript-eslint": "^8.3.0",
"vite": "^5.4.2"
}
}

6
postcss.config.js Normal file
View File

@@ -0,0 +1,6 @@
export default {
plugins: {
tailwindcss: {},
autoprefixer: {},
},
};

Binary file not shown.

After

Width:  |  Height:  |  Size: 324 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB

BIN
public/image1.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 264 KiB

679
src/App.tsx Normal file
View File

@@ -0,0 +1,679 @@
import { useState } from 'react';
import { ChevronDown, Check, Plus, Minus } from 'lucide-react';
function App() {
const [activeTestimonial, setActiveTestimonial] = useState(0);
const [openFaq, setOpenFaq] = useState<number | null>(null);
const testimonials = [
{
quote: "Wir haben das SunHouse besucht und waren fassungslos. Das ist nicht Zukunftsvision.",
author: "Dr. Stefan M.",
title: "Architekt, München",
company: "Architekturbüro mit 5.000+ LinkedIn Followern"
},
{
quote: "Das SunHouse ist das erste Projekt, bei dem ich merkte: Das ist nicht nur Haus. Das ist Geschäftsmodell.",
author: "Thomas K.",
title: "Entwickler, Frankfurt",
company: "Real Estate Developer mit 8.000+ LinkedIn Followern"
},
{
quote: "Das sollte Standard sein. Manfred zeigt, wie Kommunen ihre Energieunabhängigkeit erreichen.",
author: "Bürgermeister R.",
title: "Bürgermeister, Baden-Württemberg",
company: "Stadt mit 50.000+ Einwohnern"
}
];
const faqs = [
{
question: "Wie lange dauert die Führung genau?",
answer: "90 Minuten (oder 120 Min bei Premium). Du sitzt nicht lange herum wir zeigen dir echte Technologie und beantworten alle deine Fragen."
},
{
question: "Kann ich mit meiner ganzen Familie kommen?",
answer: "Ja! Gruppen bis 10 Personen. €600 pauschal. Das ist günstiger als 10x €79 und flexibler."
},
{
question: "Ist das zu technisch/kompliziert für mich?",
answer: "Nein. Manfred erklärt es so, dass JEDER versteht. Egal ob Techniker oder Interessent. Fragen sind erwünscht."
},
{
question: "Kann ich mein Büro/Architekturbüro mitbringen?",
answer: "Ja! Auch größere Gruppen. Schreib uns einfach an. Wir machen dann einen speziellen Termin mit flexiblen Zeiten."
}
];
return (
<div className="min-h-screen">
{/* SECTION 1: HERO */}
<section className="relative min-h-screen flex items-center justify-center bg-gray-900">
<div
className="absolute inset-0 bg-cover bg-center"
style={{ backgroundImage: "url('/image1.webp')" }}
></div>
<div className="absolute inset-0 bg-black opacity-60"></div>
<div className="relative z-10 max-w-5xl mx-auto px-4 text-center">
<h1 className="text-4xl md:text-5xl lg:text-6xl font-bold text-white mb-6 leading-tight">
Autark leben erleben
</h1>
<p className="text-xl md:text-2xl text-white mb-4 max-w-3xl mx-auto">
90 Minuten im SunHouse Musterhaus Sehen, verstehen, inspirieren lassen
</p>
<p className="text-base md:text-lg text-gray-100 mb-8 max-w-2xl mx-auto">
Erfahre live, wie ein Haus energieautark funktioniert. Echte Messwerte. Echte Technologie. Echte Unabhängigkeit.
</p>
<a
href="#booking"
className="inline-block bg-green-500 hover:bg-green-600 text-white text-lg md:text-xl font-bold px-8 py-4 rounded-lg shadow-lg hover:shadow-xl transition-all duration-300 mb-8"
>
Führung Buchen (79 oder Gruppe)
</a>
<div className="inline-block bg-white bg-opacity-20 backdrop-blur-sm px-6 py-3 rounded-full">
<p className="text-white text-sm md:text-base">
40.000+ LinkedIn Follower | Expertenrat seit 40 Jahren
</p>
</div>
</div>
<div className="absolute bottom-8 left-1/2 transform -translate-x-1/2 animate-bounce">
<ChevronDown className="w-8 h-8 text-white" />
</div>
</section>
{/* SECTION 2: PROBLEM */}
<section className="py-16 md:py-24 bg-gray-100">
<div className="max-w-7xl mx-auto px-4">
<h2 className="text-3xl md:text-4xl font-bold text-gray-900 text-center mb-4">
Das Dilemma der Energiewende
</h2>
<p className="text-lg md:text-xl text-gray-600 text-center mb-12 max-w-3xl mx-auto">
Energie wird teuer. Ressourcen werden knapp. Alte Lösungen funktionieren nicht mehr.
</p>
<div className="grid md:grid-cols-3 gap-8 mb-12">
<div className="bg-white rounded-lg shadow-md hover:shadow-lg transition-shadow duration-300 overflow-hidden">
<div className="h-48 overflow-hidden">
<img
src="https://images.unsplash.com/photo-1473341304170-971dccb5ac1e?w=800&q=80"
alt="Energieabhängigkeit"
className="w-full h-full object-cover"
/>
</div>
<div className="p-6">
<h3 className="text-xl font-bold text-gray-900 mb-3">Energieabhängigkeit</h3>
<p className="text-gray-600">
Strom wird teurer, nicht günstiger. Deine Stromrechnung wächst jedes Jahr.
</p>
</div>
</div>
<div className="bg-white rounded-lg shadow-md hover:shadow-lg transition-shadow duration-300 overflow-hidden">
<div className="h-48 overflow-hidden">
<img
src="https://images.unsplash.com/photo-1611273426858-450d8e3c9fce?w=800&q=80"
alt="Ressourcen-Unsicherheit"
className="w-full h-full object-cover"
/>
</div>
<div className="p-6">
<h3 className="text-xl font-bold text-gray-900 mb-3">Ressourcen-Unsicherheit</h3>
<p className="text-gray-600">
Was, wenn die Infrastruktur zusammenbricht? Wie sicherst du deine Familie?
</p>
</div>
</div>
<div className="bg-white rounded-lg shadow-md hover:shadow-lg transition-shadow duration-300 overflow-hidden">
<div className="h-48 overflow-hidden">
<img
src="https://images.unsplash.com/photo-1503387762-592deb58ef4e?w=800&q=80"
alt="Ineffizientes Bauen"
className="w-full h-full object-cover"
/>
</div>
<div className="p-6">
<h3 className="text-xl font-bold text-gray-900 mb-3">Die Lüge vom effizienten Bauen</h3>
<p className="text-gray-600">
Moderne Häuser sind Häuser, nicht Lösungen. Dämmen ist nicht das Ziel.
</p>
</div>
</div>
</div>
<p className="text-lg md:text-xl font-bold text-green-500 text-center max-w-3xl mx-auto">
Aber es gibt einen anderen Weg. Einen, der funktioniert. Nicht theoretisch. Praktisch.
</p>
</div>
</section>
{/* SECTION 3: SOLUTION */}
<section className="py-16 md:py-24 bg-white">
<div className="max-w-7xl mx-auto px-4">
<h2 className="text-3xl md:text-4xl font-bold text-gray-900 text-center mb-4">
Das SunHouse Konzept
</h2>
<p className="text-2xl md:text-3xl font-bold text-green-500 text-center mb-12">
5 Säulen der echten Autarkie
</p>
<div className="grid md:grid-cols-2 lg:grid-cols-3 gap-6 mb-12">
<div className="bg-white border-2 border-green-500 rounded-lg hover:shadow-lg transition-shadow duration-300 overflow-hidden">
<div className="h-48 overflow-hidden">
<img
src="https://images.unsplash.com/photo-1509391366360-2e959784a276?w=800&q=80"
alt="PowerRoof Solar"
className="w-full h-full object-cover"
/>
</div>
<div className="p-6">
<h3 className="text-xl font-bold text-gray-900 mb-3">PowerRoof-Technologie</h3>
<p className="text-gray-700">
PVT-Elemente erzeugen Strom UND Wärme. Nicht nur Energie. Wirtschaftlichkeit.
</p>
</div>
</div>
<div className="bg-white border-2 border-green-500 rounded-lg hover:shadow-lg transition-shadow duration-300 overflow-hidden">
<div className="h-48 overflow-hidden">
<img
src="https://images.unsplash.com/photo-1621905251918-48416bd8575a?w=800&q=80"
alt="Wärmespeicherung"
className="w-full h-full object-cover"
/>
</div>
<div className="p-6">
<h3 className="text-xl font-bold text-gray-900 mb-3">Passive Speicherung</h3>
<p className="text-gray-700">
Thermisch aktivierte Wände speichern Wärme für den Winter. Keine teuren Batterien.
</p>
</div>
</div>
<div className="bg-white border-2 border-green-500 rounded-lg hover:shadow-lg transition-shadow duration-300 overflow-hidden">
<div className="h-48 overflow-hidden">
<img
src="https://images.unsplash.com/photo-1635070041078-e363dbe005cb?w=800&q=80"
alt="Klimaanlage"
className="w-full h-full object-cover"
/>
</div>
<div className="p-6">
<h3 className="text-xl font-bold text-gray-900 mb-3">Intelligente Kühlung</h3>
<p className="text-gray-700">
Passive Kühlung im Sommer. Wärmepumpen nur wenn nötig. Weniger Energie, mehr Komfort.
</p>
</div>
</div>
<div className="bg-white border-2 border-green-500 rounded-lg hover:shadow-lg transition-shadow duration-300 overflow-hidden">
<div className="h-48 overflow-hidden">
<img
src="https://images.unsplash.com/photo-1593941707882-a5bba14938c7?w=800&q=80"
alt="Elektroauto laden"
className="w-full h-full object-cover"
/>
</div>
<div className="p-6">
<h3 className="text-xl font-bold text-gray-900 mb-3">Mobile Autarkie</h3>
<p className="text-gray-700">
Das hauseigene eAuto ist Teil des Energiesystems. Nicht Luxus, sondern Lösung.
</p>
</div>
</div>
<div className="bg-white border-2 border-green-500 rounded-lg hover:shadow-lg transition-shadow duration-300 overflow-hidden md:col-span-2 lg:col-span-1">
<div className="h-48 overflow-hidden">
<img
src="https://images.unsplash.com/photo-1600210491892-03d54c0aaf87?w=800&q=80"
alt="Tageslicht Architektur"
className="w-full h-full object-cover"
/>
</div>
<div className="p-6">
<h3 className="text-xl font-bold text-gray-900 mb-3">Tageslicht-Nutzung</h3>
<p className="text-gray-700">
Total unterschätzt. Aber: Natürliches Licht ist eine massive Energiequelle.
</p>
</div>
</div>
</div>
<p className="text-xl md:text-2xl font-bold text-gray-900 text-center">
Das ist nicht Theorie. Das ist Realität. Im SunHouse Musterhaus.
</p>
</div>
</section>
{/* SECTION 4: EXPERIENCE TIMELINE */}
<section className="py-16 md:py-24 bg-gray-100">
<div className="max-w-4xl mx-auto px-4">
<h2 className="text-3xl md:text-4xl font-bold text-gray-900 text-center mb-16">
Deine 90-Minuten-Erfahrung
</h2>
<div className="space-y-12">
<div className="flex gap-6">
<div className="flex flex-col items-center flex-shrink-0">
<div className="w-12 h-12 bg-green-500 rounded-full flex items-center justify-center text-white font-bold text-xl">
1
</div>
<div className="w-1 flex-1 bg-green-300 mt-4"></div>
</div>
<div className="pb-12">
<p className="text-sm text-gray-500 mb-2"> 0-10 Min</p>
<h3 className="text-2xl font-bold text-gray-900 mb-3">Willkommen & Überblick</h3>
<p className="text-gray-700">
Wir schauen auf die Wetterstation. Draußen -5°C. Innen: 23,8°C. Ohne Heizen.
</p>
</div>
</div>
<div className="flex gap-6">
<div className="flex flex-col items-center flex-shrink-0">
<div className="w-12 h-12 bg-green-500 rounded-full flex items-center justify-center text-white font-bold text-xl">
2
</div>
<div className="w-1 flex-1 bg-green-300 mt-4"></div>
</div>
<div className="pb-12">
<p className="text-sm text-gray-500 mb-2"> 10-30 Min</p>
<h3 className="text-2xl font-bold text-gray-900 mb-3">Die Technik erklärt</h3>
<p className="text-gray-700">
PowerRoof, Speichersystem, Wärmepumpenlogik. LIVE-Messwerte auf den Displays.
</p>
</div>
</div>
<div className="flex gap-6">
<div className="flex flex-col items-center flex-shrink-0">
<div className="w-12 h-12 bg-green-500 rounded-full flex items-center justify-center text-white font-bold text-xl">
3
</div>
<div className="w-1 flex-1 bg-green-300 mt-4"></div>
</div>
<div className="pb-12">
<p className="text-sm text-gray-500 mb-2"> 30-60 Min</p>
<h3 className="text-2xl font-bold text-gray-900 mb-3">Durch das Musterhaus</h3>
<p className="text-gray-700">
Passivwärme, PVT-Elemente, Speicherkerne, eAuto-Ladesystem. Alles anfassen.
</p>
</div>
</div>
<div className="flex gap-6">
<div className="flex flex-col items-center flex-shrink-0">
<div className="w-12 h-12 bg-green-500 rounded-full flex items-center justify-center text-white font-bold text-xl">
4
</div>
</div>
<div>
<p className="text-sm text-gray-500 mb-2"> 60-90 Min</p>
<h3 className="text-2xl font-bold text-gray-900 mb-3">Fragen & Diskussion</h3>
<p className="text-gray-700">
Jede Frage willkommen. Manfred gibt ehrliche Antworten auf technisch und wirtschaftlich.
</p>
</div>
</div>
</div>
<p className="text-lg md:text-xl font-bold text-center mt-12 text-gray-900">
Das ist <span className="text-green-500">KEINE PowerPoint-Präsentation</span>. Das ist eine echte Erlebnis-Tour.
</p>
</div>
</section>
{/* SECTION 5: PRICING */}
<section id="booking" className="py-16 md:py-24 bg-white">
<div className="max-w-7xl mx-auto px-4">
<h2 className="text-3xl md:text-4xl font-bold text-gray-900 text-center mb-4">
Pricing Modelle
</h2>
<p className="text-lg md:text-xl text-gray-600 text-center mb-12">
Für jeden Bedarf die richtige Option
</p>
<div className="grid md:grid-cols-3 gap-8 max-w-6xl mx-auto">
{/* Tier 1 - Privatperson */}
<div className="bg-gray-50 rounded-lg shadow-md hover:shadow-lg transition-all duration-300 overflow-hidden">
<div className="h-32 overflow-hidden bg-gradient-to-br from-gray-200 to-gray-300 flex items-center justify-center">
<img
src="https://images.unsplash.com/photo-1600585154340-be6161a56a0c?w=800&q=80"
alt="Privatperson"
className="w-full h-full object-cover opacity-70"
/>
</div>
<div className="p-8">
<h3 className="text-2xl font-bold text-gray-900 text-center mb-2">Privatperson</h3>
<p className="text-gray-600 text-center mb-6">Hausbesitzer, die Ideen suchen</p>
<div className="text-center mb-6">
<p className="text-5xl font-bold text-green-500">79</p>
<p className="text-sm text-gray-500">pro Person</p>
</div>
<ul className="space-y-3 mb-8">
<li className="flex items-start gap-2">
<Check className="w-5 h-5 text-green-500 flex-shrink-0 mt-0.5" />
<span className="text-gray-700">90 Min Führung</span>
</li>
<li className="flex items-start gap-2">
<Check className="w-5 h-5 text-green-500 flex-shrink-0 mt-0.5" />
<span className="text-gray-700">Live-Messwerte & Erklärungen</span>
</li>
<li className="flex items-start gap-2">
<Check className="w-5 h-5 text-green-500 flex-shrink-0 mt-0.5" />
<span className="text-gray-700">Fragen beantworten</span>
</li>
<li className="flex items-start gap-2">
<Check className="w-5 h-5 text-green-500 flex-shrink-0 mt-0.5" />
<span className="text-gray-700">Kontaktdaten Follow-up</span>
</li>
</ul>
<a
href="#booking"
className="block w-full text-center border-2 border-green-500 text-green-500 font-bold px-6 py-3 rounded-lg hover:bg-green-50 transition-colors duration-300"
>
Zur Buchung
</a>
</div>
</div>
{/* Tier 2 - Gruppen (FEATURED) */}
<div className="bg-green-50 rounded-lg shadow-lg ring-2 ring-green-500 transform md:scale-105 hover:shadow-xl transition-all duration-300 overflow-hidden">
<div className="relative h-32 overflow-hidden">
<img
src="https://images.unsplash.com/photo-1522071820081-009f0129c71c?w=800&q=80"
alt="Gruppen"
className="w-full h-full object-cover"
/>
<div className="absolute top-4 right-4">
<span className="inline-block bg-green-500 text-white font-bold px-4 py-1 rounded-full text-sm shadow-lg">
BELIEBT
</span>
</div>
</div>
<div className="p-8">
<h3 className="text-2xl font-bold text-gray-900 text-center mb-2">Gruppen</h3>
<p className="text-gray-600 text-center mb-6">Teams, Architekturbüros, Schulen</p>
<div className="text-center mb-6">
<p className="text-5xl font-bold text-green-500">600</p>
<p className="text-sm text-gray-500">pauschal (bis 10 Pers.)</p>
</div>
<ul className="space-y-3 mb-8">
<li className="flex items-start gap-2">
<Check className="w-5 h-5 text-green-500 flex-shrink-0 mt-0.5" />
<span className="text-gray-700">90 Min private Führung</span>
</li>
<li className="flex items-start gap-2">
<Check className="w-5 h-5 text-green-500 flex-shrink-0 mt-0.5" />
<span className="text-gray-700">Flexible Termine (Mo-Sa)</span>
</li>
<li className="flex items-start gap-2">
<Check className="w-5 h-5 text-green-500 flex-shrink-0 mt-0.5" />
<span className="text-gray-700">Alle Benefits der Privatführung</span>
</li>
<li className="flex items-start gap-2">
<Check className="w-5 h-5 text-green-500 flex-shrink-0 mt-0.5" />
<span className="text-gray-700">Nachbereitungs-Meeting möglich</span>
</li>
</ul>
<a
href="#booking"
className="block w-full text-center bg-green-500 text-white font-bold px-6 py-3 rounded-lg hover:bg-green-600 transition-colors duration-300"
>
Gruppe Buchen
</a>
</div>
</div>
{/* Tier 3 - Premium */}
<div className="bg-gray-50 rounded-lg shadow-md hover:shadow-lg transition-all duration-300 overflow-hidden">
<div className="h-32 overflow-hidden bg-gradient-to-br from-amber-100 to-amber-200 flex items-center justify-center">
<img
src="https://images.unsplash.com/photo-1582407947304-fd86f028f716?w=800&q=80"
alt="Premium"
className="w-full h-full object-cover opacity-80"
/>
</div>
<div className="p-8">
<h3 className="text-2xl font-bold text-gray-900 text-center mb-2">Premium</h3>
<p className="text-gray-600 text-center mb-6">Investoren, Unternehmen, VIPs</p>
<div className="text-center mb-6">
<p className="text-5xl font-bold text-green-500">1.490</p>
<p className="text-sm text-gray-500">pauschal</p>
</div>
<ul className="space-y-3 mb-8">
<li className="flex items-start gap-2">
<Check className="w-5 h-5 text-green-500 flex-shrink-0 mt-0.5" />
<span className="text-gray-700">120 Min Führung</span>
</li>
<li className="flex items-start gap-2">
<Check className="w-5 h-5 text-green-500 flex-shrink-0 mt-0.5" />
<span className="text-gray-700">VIP-Catering & Getränke</span>
</li>
<li className="flex items-start gap-2">
<Check className="w-5 h-5 text-green-500 flex-shrink-0 mt-0.5" />
<span className="text-gray-700">1:1 Strategie-Gespräch</span>
</li>
<li className="flex items-start gap-2">
<Check className="w-5 h-5 text-green-500 flex-shrink-0 mt-0.5" />
<span className="text-gray-700">Informationspaket zum Mitnehmen</span>
</li>
</ul>
<a
href="#booking"
className="block w-full text-center border-2 border-green-500 text-green-500 font-bold px-6 py-3 rounded-lg hover:bg-green-50 transition-colors duration-300"
>
Premium Buchen
</a>
</div>
</div>
</div>
</div>
</section>
{/* SECTION 6: TESTIMONIALS */}
<section className="py-16 md:py-24 bg-gray-100">
<div className="max-w-5xl mx-auto px-4">
<h2 className="text-3xl md:text-4xl font-bold text-gray-900 text-center mb-16">
Was Besucher sagen
</h2>
<div className="bg-white p-8 md:p-12 rounded-lg shadow-lg mb-8 min-h-[280px] flex flex-col justify-center">
<p className="text-xl md:text-2xl text-gray-700 mb-6 italic">
"{testimonials[activeTestimonial].quote}"
</p>
<div>
<p className="font-bold text-gray-900">{testimonials[activeTestimonial].author}</p>
<p className="text-gray-600">{testimonials[activeTestimonial].title}</p>
<p className="text-sm text-gray-500">{testimonials[activeTestimonial].company}</p>
</div>
</div>
<div className="flex justify-center gap-2 mb-12">
{testimonials.map((_, index) => (
<button
key={index}
onClick={() => setActiveTestimonial(index)}
className={`w-3 h-3 rounded-full transition-all duration-300 ${
index === activeTestimonial ? 'bg-green-500 w-8' : 'bg-gray-300'
}`}
aria-label={`Testimonial ${index + 1}`}
/>
))}
</div>
<div className="grid md:grid-cols-3 gap-8 text-center">
<div>
<p className="text-3xl font-bold text-green-500 mb-2"> 95%</p>
<p className="text-gray-600">würden es weiterempfehlen</p>
</div>
<div>
<p className="text-3xl font-bold text-green-500 mb-2">📊 40K+</p>
<p className="text-gray-600">LinkedIn Follower</p>
</div>
<div>
<p className="text-3xl font-bold text-green-500 mb-2">🏆 40+</p>
<p className="text-gray-600">Jahre Erfahrung</p>
</div>
</div>
</div>
</section>
{/* SECTION 7: FAQ */}
<section className="py-16 md:py-24 bg-white">
<div className="max-w-4xl mx-auto px-4">
<h2 className="text-3xl md:text-4xl font-bold text-gray-900 text-center mb-12">
Häufig gestellte Fragen
</h2>
<div className="space-y-4">
{faqs.map((faq, index) => (
<div
key={index}
className="border border-gray-200 rounded-lg overflow-hidden hover:shadow-md transition-shadow duration-300"
>
<button
onClick={() => setOpenFaq(openFaq === index ? null : index)}
className="w-full flex items-center justify-between p-6 text-left bg-white hover:bg-gray-50 transition-colors duration-300"
>
<span className="font-bold text-gray-900 pr-4">{faq.question}</span>
{openFaq === index ? (
<Minus className="w-5 h-5 text-green-500 flex-shrink-0" />
) : (
<Plus className="w-5 h-5 text-green-500 flex-shrink-0" />
)}
</button>
<div
className={`overflow-hidden transition-all duration-300 ${
openFaq === index ? 'max-h-48' : 'max-h-0'
}`}
>
<div className="p-6 pt-0 text-gray-700">
{faq.answer}
</div>
</div>
</div>
))}
</div>
</div>
</section>
{/* SECTION 8: FINAL CTA */}
<section className="py-16 md:py-24 bg-green-500 border-t-4 border-green-400">
<div className="max-w-4xl mx-auto px-4 text-center">
<h2 className="text-3xl md:text-4xl font-bold text-white mb-6">
Bereit, Autarkie zu erleben?
</h2>
<p className="text-lg md:text-xl text-white mb-4">
Es ist eine Sache, über Unabhängigkeit zu lesen. Es ist eine ganz andere, sie zu SEHEN.
</p>
<p className="text-lg md:text-xl text-white mb-8">
Der SunHouse ist real. Die Technologie funktioniert. Die Wirtschaftlichkeit ist da. Komm vorbei. Überzeug dich selbst.
</p>
<a
href="#booking"
className="inline-block bg-white text-green-500 text-xl font-bold px-10 py-4 rounded-lg shadow-lg hover:shadow-xl hover:scale-105 transition-all duration-300 mb-12"
>
FÜHRUNG JETZT BUCHEN
</a>
<div className="grid md:grid-cols-3 gap-6 text-white">
<div>
<p className="text-2xl mb-2">📧</p>
<p className="font-bold mb-1">Email</p>
<a href="mailto:info@sunhouse.de" className="hover:underline">
info@sunhouse.de
</a>
</div>
<div>
<p className="text-2xl mb-2">📞</p>
<p className="font-bold mb-1">Telefon</p>
<a href="tel:+49XXXXXXXXX" className="hover:underline">
+49 XXX XXXXXX
</a>
</div>
<div>
<p className="text-2xl mb-2">💬</p>
<p className="font-bold mb-1">LinkedIn</p>
<a
href="https://linkedin.com/in/manfred-josef-hampel"
target="_blank"
rel="noopener noreferrer"
className="hover:underline"
>
@manfred-josef-hampel
</a>
</div>
</div>
</div>
</section>
{/* SECTION 9: FOOTER */}
<footer className="bg-gray-800 text-gray-300 py-12">
<div className="max-w-7xl mx-auto px-4">
<div className="grid md:grid-cols-4 gap-8 mb-8">
<div>
<h3 className="font-bold text-white mb-4">SunHouse</h3>
<p className="text-sm">Energieautarkie - Das Musterhaus</p>
</div>
<div>
<h3 className="font-bold text-white mb-4">Navigation</h3>
<ul className="space-y-2 text-sm">
<li><a href="#" className="hover:text-white transition-colors">Home</a></li>
<li><a href="#" className="hover:text-white transition-colors">FAQ</a></li>
<li><a href="#" className="hover:text-white transition-colors">Kontakt</a></li>
</ul>
</div>
<div>
<h3 className="font-bold text-white mb-4">Legal</h3>
<ul className="space-y-2 text-sm">
<li><a href="#" className="hover:text-white transition-colors">Datenschutz</a></li>
<li><a href="#" className="hover:text-white transition-colors">Impressum</a></li>
<li><a href="#" className="hover:text-white transition-colors">AGB</a></li>
</ul>
</div>
<div>
<h3 className="font-bold text-white mb-4">Social</h3>
<ul className="space-y-2 text-sm">
<li><a href="#" className="hover:text-white transition-colors">LinkedIn</a></li>
<li><a href="#" className="hover:text-white transition-colors">YouTube</a></li>
<li><a href="#" className="hover:text-white transition-colors">Instagram</a></li>
</ul>
</div>
</div>
<div className="border-t border-gray-700 pt-8 text-center text-sm">
<p>&copy; 2024 SunHouse. Alle Rechte vorbehalten.</p>
</div>
</div>
</footer>
</div>
);
}
export default App;

3
src/index.css Normal file
View File

@@ -0,0 +1,3 @@
@tailwind base;
@tailwind components;
@tailwind utilities;

10
src/main.tsx Normal file
View File

@@ -0,0 +1,10 @@
import { StrictMode } from 'react';
import { createRoot } from 'react-dom/client';
import App from './App.tsx';
import './index.css';
createRoot(document.getElementById('root')!).render(
<StrictMode>
<App />
</StrictMode>
);

1
src/vite-env.d.ts vendored Normal file
View File

@@ -0,0 +1 @@
/// <reference types="vite/client" />

8
tailwind.config.js Normal file
View File

@@ -0,0 +1,8 @@
/** @type {import('tailwindcss').Config} */
export default {
content: ['./index.html', './src/**/*.{js,ts,jsx,tsx}'],
theme: {
extend: {},
},
plugins: [],
};

24
tsconfig.app.json Normal file
View File

@@ -0,0 +1,24 @@
{
"compilerOptions": {
"target": "ES2020",
"useDefineForClassFields": true,
"lib": ["ES2020", "DOM", "DOM.Iterable"],
"module": "ESNext",
"skipLibCheck": true,
/* Bundler mode */
"moduleResolution": "bundler",
"allowImportingTsExtensions": true,
"isolatedModules": true,
"moduleDetection": "force",
"noEmit": true,
"jsx": "react-jsx",
/* Linting */
"strict": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noFallthroughCasesInSwitch": true
},
"include": ["src"]
}

7
tsconfig.json Normal file
View File

@@ -0,0 +1,7 @@
{
"files": [],
"references": [
{ "path": "./tsconfig.app.json" },
{ "path": "./tsconfig.node.json" }
]
}

22
tsconfig.node.json Normal file
View File

@@ -0,0 +1,22 @@
{
"compilerOptions": {
"target": "ES2022",
"lib": ["ES2023"],
"module": "ESNext",
"skipLibCheck": true,
/* Bundler mode */
"moduleResolution": "bundler",
"allowImportingTsExtensions": true,
"isolatedModules": true,
"moduleDetection": "force",
"noEmit": true,
/* Linting */
"strict": true,
"noUnusedLocals": true,
"noUnusedParameters": true,
"noFallthroughCasesInSwitch": true
},
"include": ["vite.config.ts"]
}

10
vite.config.ts Normal file
View File

@@ -0,0 +1,10 @@
import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react';
// https://vitejs.dev/config/
export default defineConfig({
plugins: [react()],
optimizeDeps: {
exclude: ['lucide-react'],
},
});