/* ============================================
   Water Professionals – Nature & Light Glassmorphism
   Maintained by: Gravity Claw AI System
   Last Update: März 2026
   ============================================ */

:root {
    /* Primärfarben (Hell, Natur, Wasser) */
    --bg-light: #f4f9f9;
    --bg-surface: #ffffff;
    
    /* Glassmorphism Tokens (Hell) */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-bg-strong: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-border-hover: rgba(255, 255, 255, 0.8);
    --glass-blur: 24px;
    --glass-blur-strong: 40px;
    
    /* Akzentfarben (Wasser & Natur grün) */
    --accent-teal: #0f9b8e;
    --accent-emerald: #2dca73;
    --accent-glow: rgba(15, 155, 142, 0.15);
    
    /* Text (Dunkel für Lesbarkeit) */
    --text-main: #1a3329;
    --text-dim: #3a5c4f;
    --text-muted: #6e8e81;
    
    /* Schatten für Light Mode */
    --shadow-soft: 0 8px 32px rgba(15, 155, 142, 0.08);
    --shadow-strong: 0 15px 45px rgba(15, 155, 142, 0.15);

    /* Animation */
    --stellar-curve: cubic-bezier(0.23, 1, 0.32, 1);
    --spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    
    /* Typografie */
    --font-display: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; scroll-behavior: smooth; }

body {
    background-color: var(--bg-light);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.7;
    overflow-x: hidden;
    min-height: 100vh;
}

/* ========== AURORA HINTERGRUND (Light Edition) ========== */
.bg-vignette {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(ellipse at 50% 0%, transparent 0%, rgba(244, 249, 249, 0.8) 80%);
    z-index: -1;
    pointer-events: none;
}

.bg-aurora {
    position: fixed;
    top: -50%; left: -50%; width: 200%; height: 200%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(15, 155, 142, 0.12) 0%, transparent 45%),
        radial-gradient(circle at 80% 60%, rgba(45, 202, 115, 0.08) 0%, transparent 45%),
        radial-gradient(circle at 40% 80%, rgba(0, 150, 255, 0.05) 0%, transparent 40%);
    animation: auroraRotate 50s linear infinite;
    z-index: -2;
    filter: blur(80px);
    pointer-events: none;
}

@keyframes auroraRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; position: relative; z-index: 1; }

/* ========== GLASSMORPHISM NAVIGATION ========== */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    margin-top: 1rem;
    border-radius: 20px;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-soft);
    position: sticky;
    top: 1rem;
    z-index: 100;
    transition: all 0.4s var(--stellar-curve);
}

nav:hover {
    border-color: var(--glass-border-hover);
    box-shadow: var(--shadow-strong);
}

.logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    background: linear-gradient(135deg, var(--accent-teal), var(--accent-emerald));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.4s;
}

.logo:hover { 
    filter: drop-shadow(0 0 12px var(--accent-glow));
    letter-spacing: 4px;
}

.nav-links a {
    color: var(--text-dim);
    text-decoration: none;
    margin-left: 2rem;
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0;
    width: 0%; height: 2px;
    background: linear-gradient(90deg, var(--accent-teal), var(--accent-emerald));
    transition: width 0.3s var(--stellar-curve);
    border-radius: 2px;
}

.nav-links a:hover { 
    color: var(--accent-teal); 
}

.nav-links a:hover::after { width: 100%; }

/* ========== HERO SECTION ========== */
.hero {
    position: relative;
    height: 420px;
    margin-top: 2rem;
    border-radius: 32px;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: var(--glass-bg-strong);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-soft);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at top right, rgba(45, 202, 115, 0.05), transparent 60%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 4rem;
    max-width: 800px;
}

.hero-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent-teal);
    background: rgba(15, 155, 142, 0.1);
    border: 1px solid rgba(15, 155, 142, 0.2);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.hero h1 {
    font-family: var(--font-display);
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: -1.5px;
    color: var(--text-main);
}

.hero p {
    font-size: 1.15rem;
    color: var(--text-dim);
    margin-bottom: 2.5rem;
    font-weight: 400;
    max-width: 600px;
}

.btn-cta {
    background: linear-gradient(135deg, var(--accent-teal), var(--accent-emerald));
    color: #fff;
    padding: 1.1rem 2.5rem;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: inline-block;
    transition: all 0.4s var(--stellar-curve);
    box-shadow: 0 10px 30px rgba(15, 155, 142, 0.25);
    position: relative;
    overflow: hidden;
}

.btn-cta::before {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s;
}

.btn-cta:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 40px rgba(15, 155, 142, 0.35);
}

.btn-cta:hover::before { left: 100%; }

/* ========== BLOG SECTION ========== */
.blog-section { padding: 6rem 0 4rem; }

.section-header {
    margin-bottom: 3.5rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-main);
}

.grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* ========== DYNAMISCHE BLOG CARDS (via app.js) ========== */
.blog-card, .glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: all 0.4s var(--stellar-curve);
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-strong);
    border-color: var(--glass-border-hover);
}

.card-image-placeholder {
    height: 180px;
    width: 100%;
}

.card-content {
    padding: 2rem;
}

.card-content .card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.card-content .tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-teal);
    background: rgba(15, 155, 142, 0.1);
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
}

.card-content h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: var(--text-main);
    line-height: 1.3;
}

.card-content p {
    color: var(--text-dim);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.2rem;
}

.read-more {
    color: var(--accent-teal);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.88rem;
    letter-spacing: 0.5px;
    transition: color 0.3s;
}

.read-more:hover {
    color: var(--accent-emerald);
}

/* Scroll Animations */
.fade-up {
    opacity: 0;
    transform: translateY(25px);
    animation: fadeUpAnim 0.7s var(--stellar-curve) forwards;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeUpAnim {
    from { opacity: 0; transform: translateY(25px); }
    to { opacity: 1; transform: translateY(0); }
}

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s, transform 0.6s;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========== FOOTER ========== */
footer {
    padding: 4rem 2rem;
    border-top: 1px solid var(--glass-border);
    text-align: center;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
}

footer p { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 0.75rem; }
footer a { color: var(--text-dim); text-decoration: none; font-weight: 600; }
footer a:hover { color: var(--accent-teal); }

/* Responsive */
@media (max-width: 768px) {
    .hero { height: auto; padding: 2rem 0; }
    .hero-content { padding: 0 1.5rem; }
    .hero h1 { font-size: 2.2rem; }
    nav { flex-direction: column; gap: 1rem; }
}