/* ============================================
   LifeScience Pro – Glassmorphism Premium Design
   Maintained by: Gravity Claw AI System
   Last Update: März 2026
   
   HOW TO MAINTAIN (für andere KIs / Agenten):
   1. Neue Blog-Posts: HTML in /blog/ erstellen, 
      Card in index.html hinzufügen mit class="card reveal"
   2. Farben: CSS Custom Properties unten ändern
   3. Glassmorphism: --glass-* Variablen anpassen
   4. Deploy: node ftp_upload.js welcome_lifesciencepro
   ============================================ */

:root {
    /* Primärfarben */
    --bg-dark: #05060b;
    --bg-surface: #0a0c14;
    
    /* Glassmorphism Tokens */
    --glass-bg: rgba(255, 255, 255, 0.04);
    --glass-bg-strong: rgba(255, 255, 255, 0.07);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-border-hover: rgba(255, 255, 255, 0.18);
    --glass-blur: 24px;
    --glass-blur-strong: 40px;
    
    /* Akzentfarben */
    --accent-teal: #00f5ff;
    --accent-violet: #bc4be3;
    --accent-emerald: #00e68c;
    --accent-glow: rgba(0, 245, 255, 0.15);
    --accent-glow-violet: rgba(188, 75, 227, 0.12);
    
    /* Text */
    --text-main: #f0f2f5;
    --text-dim: #a0a6b1;
    --text-muted: #6a7080;
    
    /* 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-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.7;
    overflow-x: hidden;
    min-height: 100vh;
}

/* ========== AURORA HINTERGRUND ========== */
.bg-vignette {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(ellipse at 50% 0%, transparent 0%, var(--bg-dark) 75%);
    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(0, 245, 255, 0.06) 0%, transparent 45%),
        radial-gradient(circle at 80% 60%, rgba(188, 75, 227, 0.06) 0%, transparent 45%),
        radial-gradient(circle at 40% 80%, rgba(0, 230, 140, 0.03) 0%, transparent 40%);
    animation: auroraRotate 40s linear infinite;
    z-index: -2;
    filter: blur(100px);
    pointer-events: none;
}

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

/* Floating Particles Effekt über CSS */
.bg-aurora::after {
    content: '';
    position: absolute;
    top: 30%; left: 60%;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(0, 245, 255, 0.08) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite alternate;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-100px, 60px) scale(1.3); }
    100% { transform: translate(50px, -40px) scale(0.8); }
}

.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);
    position: sticky;
    top: 1rem;
    z-index: 100;
    transition: all 0.4s var(--stellar-curve);
}

nav:hover {
    border-color: var(--glass-border-hover);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.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-violet));
    -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-main);
    text-decoration: none;
    margin-left: 2rem;
    font-size: 0.82rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s;
    opacity: 0.6;
    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-violet));
    transition: width 0.3s var(--stellar-curve);
    border-radius: 2px;
}

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

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

/* ========== HERO SECTION ========== */
.hero {
    position: relative;
    height: 380px;
    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: 
        0 30px 60px rgba(0,0,0,0.5),
        inset 0 1px 0 rgba(255,255,255,0.05);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, 
        rgba(5, 6, 11, 0.92) 0%, 
        rgba(5, 6, 11, 0.6) 40%, 
        rgba(5, 6, 11, 0.3) 70%,
        rgba(5, 6, 11, 0.1) 100%);
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 120px;
    background: linear-gradient(to top, var(--bg-dark), transparent);
    z-index: 1;
}

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

.hero-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--accent-teal);
    background: rgba(0, 245, 255, 0.08);
    border: 1px solid rgba(0, 245, 255, 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: 4rem;
    line-height: 1.05;
    margin-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: -2px;
}

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

.btn-cta {
    background: linear-gradient(135deg, var(--accent-teal), var(--accent-violet));
    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(0, 245, 255, 0.2);
    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.2), transparent);
    transition: left 0.6s;
}

.btn-cta:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 245, 255, 0.25);
}

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

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

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3.5rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--text-main) 0%, var(--text-dim) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

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

/* ========== GLASSMORPHISM CARDS ========== */
.card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.6s var(--stellar-curve);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    position: relative;
    display: flex;
    align-items: center;
}

@media (max-width: 768px) {
    .card {
        flex-direction: column;
        align-items: stretch;
    }
}

.card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
    z-index: 2;
}

.card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--accent-glow) 0%, transparent 50%, var(--accent-glow-violet) 100%);
    opacity: 0;
    transition: opacity 0.6s;
    pointer-events: none;
    z-index: 0;
}

.card:hover {
    transform: translateY(-8px) scale(1.01);
    border-color: var(--glass-border-hover);
    box-shadow: 
        0 30px 60px rgba(0, 0, 0, 0.4),
        0 0 80px rgba(0, 245, 255, 0.04);
}

.card:hover::after { opacity: 1; }

/* Scroll Reveal System */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s var(--stellar-curve);
    pointer-events: none;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* Staggered reveal delays */
.card:nth-child(1) { transition-delay: 0s; }
.card:nth-child(2) { transition-delay: 0.1s; }
.card:nth-child(3) { transition-delay: 0.2s; }
.card:nth-child(4) { transition-delay: 0.3s; }

.card-img {
    height: 100%;
    min-height: 240px;
    width: 350px;
    object-fit: cover;
    transition: transform 0.8s var(--stellar-curve);
    display: block;
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .card-img {
        width: 100%;
        height: 200px;
        min-height: 200px;
    }
}

.card:hover .card-img { transform: scale(1.06); }

.card-body { 
    padding: 2rem 2rem 2.5rem; 
    position: relative; 
    z-index: 1;
}

.tag {
    font-size: 0.65rem;
    color: var(--accent-teal);
    text-transform: uppercase;
    font-weight: 800;
    margin-bottom: 1rem;
    display: inline-block;
    letter-spacing: 2px;
    background: rgba(0, 245, 255, 0.08);
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    border: 1px solid rgba(0, 245, 255, 0.15);
}

.card-body h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.25;
}

.card-body p {
    color: var(--text-dim);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    font-weight: 300;
    line-height: 1.6;
}

.read-more {
    color: var(--accent-teal);
    text-decoration: none;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.3s;
}

.read-more::after {
    content: '→';
    margin-left: 8px;
    transition: transform 0.3s var(--spring);
    font-size: 1.1em;
}

.read-more:hover { color: #fff; }
.read-more:hover::after { transform: translateX(6px); }

/* ========== 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: 500; 
    transition: color 0.3s; 
}
footer a:hover { color: var(--accent-teal); }

/* ========== ARTIKEL-SEITEN (Blog Posts) ========== */
.article-content { 
    max-width: 820px; 
    margin: 4rem auto; 
    position: relative; 
    z-index: 1; 
}

.article-hero { 
    height: 420px; 
    border-radius: 28px; 
    margin-bottom: 3rem; 
    border: 1px solid var(--glass-border); 
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    background-size: cover;
    background-position: center;
}

.article-content h1 { 
    font-size: 3.5rem; 
    margin-bottom: 1.5rem; 
    font-family: var(--font-display); 
    line-height: 1.1; 
    letter-spacing: -2px; 
}

.article-content .meta { 
    color: var(--accent-teal); 
    font-weight: 800; 
    margin-bottom: 2rem; 
    display: block; 
    text-transform: uppercase; 
    letter-spacing: 2px; 
    font-size: 0.75rem; 
}

.article-content p { 
    margin-bottom: 1.8rem; 
    font-size: 1.1rem; 
    color: var(--text-dim); 
    font-weight: 300; 
    line-height: 1.8;
}

.article-content h2 { 
    color: var(--text-main); 
    margin: 3rem 0 1.5rem; 
    font-family: var(--font-display); 
    font-size: 2rem;
}

/* Glassmorphism Insight Box */
.insight-box { 
    background: var(--glass-bg-strong);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-left: 3px solid var(--accent-teal);
    padding: 2rem; 
    border-radius: 4px 16px 16px 4px; 
    margin: 2.5rem 0; 
}

.insight-box h4 { 
    margin-bottom: 0.75rem; 
    color: var(--accent-teal); 
    text-transform: uppercase; 
    letter-spacing: 2px;
    font-size: 0.8rem;
}

.insight-box p {
    margin-bottom: 0;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .hero { height: auto; min-height: 400px; border-radius: 20px; }
    .hero-content { padding: 3rem 1.5rem; }
    .hero h1 { 
        font-size: 2.1rem; 
        word-wrap: break-word;
        hyphens: auto;
    }
    .hero p { font-size: 0.95rem; }
    nav { flex-direction: column; gap: 1rem; padding: 1rem 1.5rem; }
    .nav-links a { margin-left: 1rem; }
    .grid { grid-template-columns: 1fr; gap: 2rem; }
    .section-title { font-size: 2rem; }
    .article-content h1 { font-size: 2.2rem; }
    .card-body h3 { font-size: 1.3rem; }
}
