feat: extract and integrate clean HeroAndBento component
All checks were successful
Production Build & Deploy / build-and-deploy (push) Successful in 26s
All checks were successful
Production Build & Deploy / build-and-deploy (push) Successful in 26s
This commit is contained in:
150
src/components/HeroAndBento.astro
Normal file
150
src/components/HeroAndBento.astro
Normal file
@@ -0,0 +1,150 @@
|
||||
<!-- src/components/HeroAndBento.astro -->
|
||||
<!-- Hero-Sektion: Erfüllt 3-Second-Rule & Conversion-UX -->
|
||||
<section class="relative pt-32 pb-20 overflow-hidden bg-[#0B0F19] border-b border-white/5">
|
||||
<!-- Tactile Blueprint-Raster im Hintergrund -->
|
||||
<div class="absolute inset-0 opacity-[0.03] pointer-events-none" style="background-size: 40px 40px; background-image: linear-gradient(to right, #38BDF8 1px, transparent 1px), linear-gradient(to bottom, #38BDF8 1px, transparent 1px);"></div>
|
||||
|
||||
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 relative z-10">
|
||||
<div class="max-w-3xl">
|
||||
<!-- Utility Badge: Vorfilterung -->
|
||||
<div class="inline-flex items-center gap-2 px-3 py-1 rounded-full border border-sky-400/20 bg-sky-400/5 text-sky-400 text-[10px] font-mono font-bold uppercase tracking-wider mb-6">
|
||||
<span class="w-1.5 h-1.5 rounded-full bg-sky-400 animate-pulse"></span>
|
||||
Digitalpartner für den deutschen Mittelstand
|
||||
</div>
|
||||
|
||||
<!-- Haupt-Überschrift (H1): Klarheit in unter 3 Sekunden -->
|
||||
<h1 class="text-4xl sm:text-6xl font-extrabold tracking-tight text-white mb-6 leading-tight">
|
||||
Moderne Websites für Ihren Betrieb.<br/>
|
||||
<span class="bg-clip-text text-transparent bg-gradient-to-r from-sky-400 via-slate-200 to-white">
|
||||
Komplett betreut. Absolut sorgenfrei.
|
||||
</span>
|
||||
</h1>
|
||||
|
||||
<!-- Zielgruppen-Ansprache & Einwand-Vorwegnahme -->
|
||||
<p class="text-zinc-400 text-sm sm:text-base max-w-xl leading-relaxed mb-8">
|
||||
Wir bauen, hosten und pflegen Ihren neuen Internetauftritt. Ohne Zeitaufwand für Sie, rechtssicher nach DSGVO auf deutschen Servern und optimiert für lokale Kunden bei Google.
|
||||
</p>
|
||||
|
||||
<!-- Conversion-Fokus: Direkte CTAs (Optimale Daumenzone mobil) -->
|
||||
<div class="flex flex-wrap gap-4">
|
||||
<a href="#contact"
|
||||
class="inline-flex items-center justify-center gap-2 px-6 py-3.5 bg-sky-500 hover:bg-white text-zinc-950 font-bold text-xs uppercase tracking-wider rounded transition-colors focus:ring-2 focus:ring-offset-2 focus:ring-sky-400 focus:outline-none"
|
||||
aria-label="Kostenloses Erstgespräch anfragen">
|
||||
Erstgespräch buchen
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512" class="w-3 h-3 fill-current"><path d="M438.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L338.8 224 32 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l306.7 0L233.4 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l160-160z"/></svg>
|
||||
</a>
|
||||
<a href="/templates"
|
||||
class="inline-flex items-center justify-center gap-2 px-6 py-3.5 bg-slate-900/60 hover:bg-slate-800 border border-white/10 text-white font-bold text-xs uppercase tracking-wider rounded transition-all focus:ring-2 focus:ring-offset-2 focus:ring-white/20 focus:outline-none"
|
||||
aria-label="Vorlage-Designs ansehen">
|
||||
Templates ansehen
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- Haupt-Bento-Grid: Präzision, Wertigkeit & Content-Mix (Asymmetrisches Bento) -->
|
||||
<section class="py-20 bg-[#0B0F19] relative">
|
||||
<!-- Subtile CSS-Noise Textur für matte Haptik (tactile-craftsman-ui) -->
|
||||
<div class="absolute inset-0 opacity-[0.015] pointer-events-none bg-[radial-gradient(#fff_1px,transparent_1px)] [background-size:16px_16px]"></div>
|
||||
|
||||
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 relative z-10">
|
||||
<div class="grid grid-cols-1 md:grid-cols-3 gap-6 auto-rows-auto">
|
||||
|
||||
<!-- KACHEL 1: Visual Anchor (Haupt-Blickfang, 2 Spalten, 2 Zeilen) -->
|
||||
<div class="md:col-span-2 md:row-span-2 bg-slate-900/40 backdrop-blur-md border border-white/5 hover:border-sky-500/30 rounded-2xl p-8 sm:p-10 flex flex-col justify-between min-h-[380px] relative group overflow-hidden transition-all duration-300">
|
||||
<!-- Blueprint Eckmarkierungen für handwerkliche Präzision -->
|
||||
<span class="absolute top-4 left-4 w-3 h-3 border-t border-l border-sky-400/30"></span>
|
||||
<span class="absolute top-4 right-4 w-3 h-3 border-t border-r border-sky-400/30"></span>
|
||||
<span class="absolute bottom-4 left-4 w-3 h-3 border-b border-l border-sky-400/30"></span>
|
||||
<span class="absolute bottom-4 right-4 w-3 h-3 border-b border-r border-sky-400/30"></span>
|
||||
|
||||
<div>
|
||||
<span class="text-[10px] font-mono font-bold text-sky-400 uppercase tracking-widest">[ DAS KONZEPT ]</span>
|
||||
<h2 class="text-2xl sm:text-3xl font-extrabold text-white mt-4 mb-4">Ihr digitaler Mitarbeiter für Neukunden</h2>
|
||||
<p class="text-zinc-400 text-xs sm:text-sm leading-relaxed max-w-lg">
|
||||
Eine gute Website ist kein Statussymbol, sondern Werkzeug. Wir programmieren Ihren Web-Auftritt so, dass er vollautomatisch Anfragen von echten Kunden aus Ihrer Region generiert.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div class="grid grid-cols-1 sm:grid-cols-3 gap-4 mt-8 pt-6 border-t border-white/5">
|
||||
<div class="flex items-center gap-2 text-xs text-zinc-300">
|
||||
<svg class="w-4 h-4 text-sky-400 shrink-0 fill-current" viewBox="0 0 448 512" xmlns="http://www.w3.org/2000/svg"><path d="M438.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 338.7 393.4 105.4c12.5-12.5 32.8-12.5 45.3 0z"/></svg>
|
||||
<span>Keine Baukästen</span>
|
||||
</div>
|
||||
<div class="flex items-center gap-2 text-xs text-zinc-300">
|
||||
<svg class="w-4 h-4 text-sky-400 shrink-0 fill-current" viewBox="0 0 448 512" xmlns="http://www.w3.org/2000/svg"><path d="M438.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 338.7 393.4 105.4c12.5-12.5 32.8-12.5 45.3 0z"/></svg>
|
||||
<span>100% DSGVO-sicher</span>
|
||||
</div>
|
||||
<div class="flex items-center gap-2 text-xs text-zinc-300">
|
||||
<svg class="w-4 h-4 text-sky-400 shrink-0 fill-current" viewBox="0 0 448 512" xmlns="http://www.w3.org/2000/svg"><path d="M438.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L160 338.7 393.4 105.4c12.5-12.5 32.8-12.5 45.3 0z"/></svg>
|
||||
<span>Feste Monats-Pauschale</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- KACHEL 2: USP Webdesign (1 Spalte) -->
|
||||
<div class="bg-slate-900/40 backdrop-blur-md border border-white/5 hover:border-sky-500/30 rounded-2xl p-6 sm:p-8 flex flex-col justify-between transition-all duration-300 relative group">
|
||||
<div>
|
||||
<div class="p-2.5 bg-sky-400/5 border border-sky-400/10 rounded w-fit mb-4 text-sky-400 group-hover:border-sky-400/30 transition-colors">
|
||||
<svg class="w-5 h-5 fill-current" viewBox="0 0 640 512" xmlns="http://www.w3.org/2000/svg"><path d="M64 96c0-35.3 28.7-64 64-64H512c35.3 0 64 28.7 64 64V352H512V96H128V352H64V96zM0 403.2C0 392.6 8.6 384 19.2 384H620.8c10.6 0 19.2 8.6 19.2 19.2c0 42.4-34.4 76.8-76.8 76.8H76.8C34.4 480 0 445.6 0 403.2zM288 432c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16s-7.2-16-16-16H304c-8.8 0-16 7.2-16 16z"/></svg>
|
||||
</div>
|
||||
<h3 class="text-lg font-bold text-white mb-2">Webdesign & UI/UX</h3>
|
||||
<p class="text-zinc-400 text-xs leading-relaxed">
|
||||
Individuelles Design, maßgeschneidert auf Ihr Handwerk. Extrem schnelle Ladezeiten auf Smartphones.
|
||||
</p>
|
||||
</div>
|
||||
<span class="text-[9px] font-mono text-zinc-600 mt-6 tracking-wider">[ CODESCHREINEREI ]</span>
|
||||
</div>
|
||||
|
||||
<!-- KACHEL 3: USP SEO (1 Spalte) -->
|
||||
<div class="bg-slate-900/40 backdrop-blur-md border border-white/5 hover:border-sky-500/30 rounded-2xl p-6 sm:p-8 flex flex-col justify-between transition-all duration-300 relative group">
|
||||
<div>
|
||||
<div class="p-2.5 bg-sky-400/5 border border-sky-400/10 rounded w-fit mb-4 text-sky-400 group-hover:border-sky-400/30 transition-colors">
|
||||
<svg class="w-5 h-5 fill-current" viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg"><path d="M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376c-34.4 25.2-76.8 40-122.7 40C93.1 416 0 322.9 0 208S93.1 0 208 0S416 93.1 416 208zM208 352a144 144 0 1 0 0-288 144 144 0 1 0 0 288z"/></svg>
|
||||
</div>
|
||||
<h3 class="text-lg font-bold text-white mb-2">Lokale Sichtbarkeit</h3>
|
||||
<p class="text-zinc-400 text-xs leading-relaxed">
|
||||
Google-Optimierung für Ihre Stadt. Damit Kunden Sie finden und nicht die Konkurrenz.
|
||||
</p>
|
||||
</div>
|
||||
<span class="text-[9px] font-mono text-zinc-600 mt-6 tracking-wider">[ GOOGLE-DOMINANZ ]</span>
|
||||
</div>
|
||||
|
||||
<!-- KACHEL 4: USP Hosting (1 Spalte) -->
|
||||
<div class="bg-slate-900/40 backdrop-blur-md border border-white/5 hover:border-sky-500/30 rounded-2xl p-6 sm:p-8 flex flex-col justify-between transition-all duration-300 relative group">
|
||||
<div>
|
||||
<div class="p-2.5 bg-sky-400/5 border border-sky-400/10 rounded w-fit mb-4 text-sky-400 group-hover:border-sky-400/30 transition-colors">
|
||||
<svg class="w-5 h-5 fill-current" viewBox="0 0 448 512" xmlns="http://www.w3.org/2000/svg"><path d="M48 24C48 10.7 37.3 0 24 0S0 10.7 0 24V488c0 13.3 10.7 24 24 24s24-10.7 24-24V24zM128 64c-17.7 0-32 14.3-32 32v48c0 17.7 14.3 32 32 32H384c17.7 0 32-14.3 32-32V96c0-17.7-14.3-32-32-32H128zm0 160c-17.7 0-32 14.3-32 32v48c0 17.7 14.3 32 32 32H384c17.7 0 32-14.3 32-32V256c0-17.7-14.3-32-32-32H128zm0 160c-17.7 0-32 14.3-32 32v48c0 17.7 14.3 32 32 32H384c17.7 0 32-14.3 32-32V416c0-17.7-14.3-32-32-32H128z"/></svg>
|
||||
</div>
|
||||
<h3 class="text-lg font-bold text-white mb-2">Sicheres Hosting</h3>
|
||||
<p class="text-zinc-400 text-xs leading-relaxed">
|
||||
Serverstandort Deutschland. Tägliche Backups, SSL-Verschlüsselung und volle Einhaltung aller DSGVO-Vorgaben.
|
||||
</p>
|
||||
</div>
|
||||
<span class="text-[9px] font-mono text-zinc-600 mt-6 tracking-wider">[ 100% REGELKONFORM ]</span>
|
||||
</div>
|
||||
|
||||
<!-- KACHEL 5: Rhythmusbrecher (Daten / Metrik, 1 Spalte) -->
|
||||
<div class="bg-slate-900/40 backdrop-blur-md border border-white/5 hover:border-sky-500/30 rounded-2xl p-6 sm:p-8 flex flex-col justify-between transition-all duration-300 relative">
|
||||
<div>
|
||||
<!-- Semantisch korrekt: Keine Headline, da reiner Datenpunkt -->
|
||||
<div class="text-[10px] font-mono font-bold text-zinc-500 uppercase tracking-wider mb-2">Google Lighthouse</div>
|
||||
<div class="flex items-baseline gap-2">
|
||||
<span class="text-4xl font-extrabold text-emerald-400 tracking-tight">100/100</span>
|
||||
<span class="text-[10px] font-mono text-zinc-500">Punkte</span>
|
||||
</div>
|
||||
<p class="text-zinc-400 text-xs mt-3 leading-relaxed">
|
||||
Optimierter Code führt zu maximaler Geschwindigkeit im Mobilnetz. Keine Abbrüche bei schwachem Signal.
|
||||
</p>
|
||||
</div>
|
||||
<div>
|
||||
<div class="w-full bg-zinc-800/80 h-1.5 rounded-full overflow-hidden mt-6" aria-hidden="true">
|
||||
<div class="bg-emerald-400 h-full w-[100%] rounded-full shadow-[0_0_8px_#34d399]"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
Reference in New Issue
Block a user