/* 2025 Modern Web Design - Glassmorphism & Aurora Gradients */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary-glow: conic-gradient(from 180deg at 50% 50%, #10b981 0deg, #0ea5e9 180deg, #10b981 360deg);
    --glass-border: 1px solid rgba(255, 255, 255, 0.2);
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: #f8fafc;
    background-image: 
        radial-gradient(at 0% 0%, rgba(16, 185, 129, 0.15) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(14, 165, 233, 0.15) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(16, 185, 129, 0.15) 0px, transparent 50%),
        radial-gradient(at 0% 100%, rgba(14, 165, 233, 0.15) 0px, transparent 50%);
    background-attachment: fixed;
    color: #1e293b;
    overflow-x: hidden;
}

/* Scrollbar Modern */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(16, 185, 129, 0.3);
    border-radius: 10px;
    backdrop-filter: blur(5px);
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(16, 185, 129, 0.6);
}

/* Glassmorphism Classes */
.glass-panel {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.02),
        0 2px 4px -1px rgba(0, 0, 0, 0.02),
        inset 0 0 0 1px rgba(255, 255, 255, 0.6);
}

.glass-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 10px 40px -10px rgba(0,0,0,0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.glass-card:hover {
    transform: translateY(-8px) scale(1.01);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 
        0 20px 40px -10px rgba(16, 185, 129, 0.15),
        0 0 0 1px rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.2);
}

/* Modern Typography */
h1, h2, h3, h4, h5, h6 {
    letter-spacing: -0.03em;
    color: #0f172a;
}

h1 {
    background: linear-gradient(135deg, #0f172a 0%, #334155 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    padding-bottom: 0.1em; /* Für Buchstaben-Unterlängen */
}

/* Floating Navigation (Sidebar) */
.floating-sidebar {
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-right: 1px solid rgba(255, 255, 255, 0.6);
}

.nav-item {
    position: relative;
    transition: all 0.3s ease;
    border-radius: 12px;
    margin-bottom: 4px;
    overflow: hidden;
}

.nav-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, rgba(16, 185, 129, 0.1) 0%, transparent 100%);
    transition: width 0.3s ease;
    z-index: 0;
}

.nav-item:hover::before {
    width: 100%;
}

.nav-item.active {
    background: rgba(16, 185, 129, 0.08);
    color: #059669;
}

.nav-item.active::after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 20px;
    width: 3px;
    background: #10b981;
    border-radius: 0 4px 4px 0;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

/* Buttons 3.0 */
.btn-modern {
    position: relative;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 
        0 4px 12px rgba(16, 185, 129, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-modern:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 8px 20px rgba(16, 185, 129, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-modern::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 60%);
    opacity: 0;
    transform: scale(0.5);
    transition: opacity 0.3s, transform 0.3s;
}

.btn-modern:hover::after {
    opacity: 1;
    transform: scale(1);
    transition: 0s;
}

.btn-outline-modern {
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #059669;
    border-radius: 12px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-modern:hover {
    background: rgba(16, 185, 129, 0.05);
    border-color: #10b981;
    transform: translateY(-2px);
}

/* Article Blur Overlay (Modern) */
.article-blur-overlay {
    position: relative;
    margin-top: -8rem;
    padding: 8rem 2rem 4rem;
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, #f8fafc 40%, #f8fafc 100%);
    z-index: 10;
}

.blur-content {
    display: none; /* Hide actual text for security/layout */
}

.blur-message {
    text-align: center;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    padding: 3rem;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 
        0 20px 50px -12px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.5);
    max-width: 600px;
    margin: 0 auto;
}

/* Floating Labels Modern */
.form-group-modern {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-input-modern {
    width: 100%;
    padding: 1rem 1.25rem;
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    color: #1e293b;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.form-input-modern::placeholder {
    color: transparent;
}

.form-input-modern:focus {
    outline: none;
    background: white;
    border-color: #10b981;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
}

.form-label-modern {
    position: absolute;
    left: 1rem;
    top: 1rem;
    color: #64748b;
    pointer-events: none;
    transition: all 0.2s ease;
    font-size: 1rem;
    font-weight: 500;
}

.form-input-modern:focus ~ .form-label-modern,
.form-input-modern:not(:placeholder-shown) ~ .form-label-modern {
    top: -0.6rem;
    left: 0.8rem;
    font-size: 0.75rem;
    color: #059669;
    background: white;
    padding: 0 0.5rem;
    border-radius: 4px;
    font-weight: 600;
}

/* Animations */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

@keyframes pulse-glow {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.pulse-glow {
    animation: pulse-glow 2s infinite;
}

/* Hero Blob Background */
.hero-blobs {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
}

.blob {
    position: absolute;
    filter: blur(60px);
    opacity: 0.6;
    animation: float 10s infinite ease-in-out alternate;
}

.blob-1 {
    top: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: rgba(16, 185, 129, 0.2);
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
}

.blob-2 {
    bottom: -10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: rgba(14, 165, 233, 0.2);
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    animation-delay: -5s;
}

/* Breadcrumbs Modern */
.breadcrumbs-modern {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: #64748b;
    background: rgba(255, 255, 255, 0.5);
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    backdrop-filter: blur(4px);
    width: fit-content;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.breadcrumbs-modern a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s;
    font-weight: 500;
}

.breadcrumbs-modern a:hover {
    color: #10b981;
}

.breadcrumbs-modern span.divider {
    color: #cbd5e1;
}

.breadcrumbs-modern span.current {
    color: #1e293b;
    font-weight: 600;
    background: rgba(16, 185, 129, 0.1);
    padding: 0.1rem 0.5rem;
    border-radius: 6px;
}

/* Article Content Styles */
.article-content-wrapper {
    position: relative;
}

.article-section {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes gradient {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.animate-gradient {
    animation: gradient 3s ease infinite;
    background-size: 200% auto;
}

.article-section h2 {
    position: relative;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
}

.article-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #10b981, #0ea5e9);
    border-radius: 2px;
}

.article-section h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.prose {
    line-height: 1.8;
}

.prose p {
    margin-bottom: 1.25rem;
}

.prose ul, .prose ol {
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
}

.prose li {
    margin-bottom: 0.5rem;
}

.prose strong {
    font-weight: 700;
    color: #0f172a;
}

/* Article Blur Overlay */
.article-blur-overlay {
    position: relative;
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 2px dashed #cbd5e1;
}

.blur-content {
    filter: blur(8px);
    opacity: 0.3;
    pointer-events: none;
    user-select: none;
}

.blur-message {
    text-align: center;
    padding: 2rem;
}

/* Canvas Styles */
canvas {
    display: block;
    max-width: 100%;
    height: auto;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

/* Breadcrumbs */
.breadcrumbs a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumbs a:hover {
    color: #10b981;
}
