diff --git a/src/components/DenseBg.astro b/src/components/DenseBg.astro
new file mode 100644
index 0000000..baa24fa
--- /dev/null
+++ b/src/components/DenseBg.astro
@@ -0,0 +1,82 @@
+---
+import { animate } from 'motion';
+---
+
+
+
+---
diff --git a/src/components/HeroAndLiquidGlass.astro b/src/components/HeroAndLiquidGlass.astro
index dfa9a44..f2e8ceb 100644
--- a/src/components/HeroAndLiquidGlass.astro
+++ b/src/components/HeroAndLiquidGlass.astro
@@ -254,59 +254,7 @@ const heroTemplates = [
Abmahnsicher
-
-
-
-
-
-
-
Einfacher Spar-Rechner
-
- Sehen Sie selbst, wie viel Zeit und Geld Sie sparen, wenn wir die Arbeit für Sie übernehmen.
-
-
-
-
-
Ihre Geld-Ersparnis:
-
-
0 Stunden gerettete Freizeit im Jahr
-
-
-
-
+
diff --git a/src/components/Navbar.astro b/src/components/Navbar.astro
index f97357a..d441a1d 100644
--- a/src/components/Navbar.astro
+++ b/src/components/Navbar.astro
@@ -121,13 +121,14 @@ import { FaBars, FaTimes } from 'react-icons/fa';
updateToggleIcons();
themeToggleBtn?.addEventListener('click', () => {
- // Toggle class
- if (document.documentElement.classList.contains('dark')) {
- document.documentElement.classList.remove('dark');
- localStorage.setItem('theme', 'light');
- } else {
+ if (document.documentElement.classList.contains('light')) {
+ document.documentElement.classList.remove('light');
document.documentElement.classList.add('dark');
localStorage.setItem('theme', 'dark');
+ } else {
+ document.documentElement.classList.remove('dark');
+ document.documentElement.classList.add('light');
+ localStorage.setItem('theme', 'light');
}
updateToggleIcons();
});
diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro
index 1a5e31a..ac5bd1e 100644
--- a/src/layouts/Layout.astro
+++ b/src/layouts/Layout.astro
@@ -8,13 +8,20 @@ import '@fontsource/space-grotesk/400.css';
import '@fontsource/space-grotesk/500.css';
import '@fontsource/space-grotesk/600.css';
import '@fontsource/space-grotesk/700.css';
+import '../styles/glassmorphism.css';
+import { loadWaasConfigs } from '../utils/configLoader';
+import { THEME_PRESETS } from '../utils/themePresets';
interface Props {
title: string;
description?: string;
}
-const { title, description = "Professionelles Webdesign & moderne Websites für Kleinbetriebe, Handwerker und Selbstständige. N&D i-t SOLUTIONS erstellt Ihre Homepage bezahlbar und schnell." } = Astro.props;
+const { siteConfig, themeConfig } = loadWaasConfigs();
+const activePreset = THEME_PRESETS[themeConfig.activePreset] || THEME_PRESETS.corporateDark;
+const colors = activePreset.colors;
+
+const { title, description = "Professionelles Webdesign & moderne Websites." } = Astro.props;
---
@@ -26,19 +33,44 @@ const { title, description = "Professionelles Webdesign & moderne Websites für
{title}
-
+
+
+
-
+
diff --git a/src/styles/glassmorphism.css b/src/styles/glassmorphism.css
new file mode 100644
index 0000000..80c4232
--- /dev/null
+++ b/src/styles/glassmorphism.css
@@ -0,0 +1,48 @@
+/* Central Color Pattern & WaaS Utility Token System */
+:root {
+ --theme-bg: #0B0F19;
+ --theme-card-bg: rgba(15, 23, 42, 0.4);
+ --theme-text: #F8FAFC;
+ --theme-accent: #38BDF8;
+ --theme-border: rgba(255, 255, 255, 0.1);
+}
+
+body {
+ background-color: var(--theme-bg) !important;
+ color: var(--theme-text) !important;
+}
+
+.glass-panel {
+ background: var(--theme-card-bg);
+ backdrop-filter: blur(16px);
+ -webkit-backdrop-filter: blur(16px);
+ border: 1px solid var(--theme-border);
+ box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
+}
+
+.glass-panel-hover {
+ transition: all 0.3s ease;
+}
+
+.glass-panel-hover:hover {
+ border-color: var(--theme-accent);
+ box-shadow: 0 0 25px -5px var(--theme-accent);
+}
+
+.aurora-glow {
+ position: absolute;
+ border-radius: 50%;
+ filter: blur(80px);
+ pointer-events: none;
+ opacity: 0.2;
+ z-index: 0;
+}
+
+.aurora-glow-sky {
+ background: radial-gradient(circle, var(--theme-accent) 0%, transparent 70%);
+}
+
+.aurora-glow-indigo {
+ background: radial-gradient(circle, var(--theme-accent) 0%, transparent 70%);
+}
+