body {
    background-color: #000000;
    background-image: linear-gradient(to bottom, #1a1a00, #0d0700);
    min-height: 100vh;
    color: #e0e0e0;
    font-family: 'Nunito', sans-serif;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

p, h1, h2, h3, h4, h5, h6, li, blockquote, pre, code {
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
    cursor: auto;
}

input, textarea {
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
    -ms-user-select: text !important;
    user-select: text !important;
}

img {
    -webkit-user-drag: none;
    user-select: none;
    pointer-events: none;
}

html {
    scroll-padding-top: 6rem;
    scrollbar-width: thin;
    scrollbar-color: #F59E0B #1a1a1a;
}
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: #1a1a1a; }
::-webkit-scrollbar-thumb { background: #F59E0B; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #D48A08; }

#bg-canvas {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1;
    opacity: 0.2;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

@keyframes mobileBgPulse {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@media (max-width: 768px) {
    #bg-canvas { display: none !important; }
    body {
        background: linear-gradient(135deg, #000000, #1a1a00, #000000);
        background-size: 400% 400%;
        animation: mobileBgPulse 8s ease infinite;
    }
}

.text-gradient-accent {
    background: linear-gradient(90deg, #F59E0B, #FFA500, #EAB308, #F59E0B);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 10s linear infinite;
}

.lang-toggle {
    background: transparent;
    border: 1px solid #444;
    color: #999;
    padding: 0.25rem 0.75rem;
    border-radius: 33px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
}
.lang-toggle.active {
    background: linear-gradient(90deg, #F59E0B, #EAB308);
    border-color: #F59E0B;
    color: #0a0a0a;
    font-weight: 700;
}
@media (min-width: 768px) {
    .lang-toggle:hover:not(.active) { border-color: #777; color: #e0e0e0; }
}

.project-card, .social-button, .contact-card {
    background-color: rgba(17, 17, 17, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 2px solid #27272a;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
    text-decoration: none;
}

.social-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}
@media (min-width: 768px) {
    .social-buttons { grid-template-columns: repeat(4, 1fr); }
}

.social-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    border-radius: 33px;
    color: #e0e0e0;
    font-weight: 500;
}

.social-button i { font-size: 2rem; margin-bottom: 0.5rem; transition: transform 0.3s ease, color 0.3s ease; }

@media (min-width: 768px) {
    .project-card:hover, .social-button:hover, .contact-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 0 25px -5px rgba(245, 158, 11, 0.4);
        border-color: transparent;
        background: linear-gradient(rgba(17,17,17,0.7), rgba(17,17,17,0.7)) padding-box, 
                    linear-gradient(120deg, #F59E0B, #EAB308, #FFA500) border-box;
    }
    
    .social-button:hover i, .social-button:hover span {
        transform: scale(1.1);
        color: #F59E0B;
    }
}

.typing-cursor {
    display: inline-block;
    width: 2px;
    height: 1em;
    background-color: #F59E0B;
    margin-left: 2px;
    animation: blink 1s infinite;
    vertical-align: middle;
}
@keyframes blink { 50% { opacity: 0; } }

.legal-content { user-select: text; }
body:not(.legal-page) { user-select: none; }

.status-border-online { 
    border-color: rgba(34, 197, 94, 0.5) !important; 
    box-shadow: 0 0 15px rgba(34, 197, 94, 0.15); 
}

.status-border-offline { 
    border-color: rgba(239, 68, 68, 0.5) !important; 
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.1); 
}

.status-dot-pulse {
    animation: dot-pulse 2s infinite;
}

@keyframes dot-pulse {
    0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
    70% { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}
/* Animation Keyframes */
@keyframes blurReveal {
    0% {
        opacity: 0;
        filter: blur(12px);
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        filter: blur(0);
        transform: translateY(0);
    }
}

/* Klasse für die einzelnen Wörter */
.word-animate {
    opacity: 0; /* Startet unsichtbar */
    display: inline-block;
    animation: blurReveal 0.8s cubic-bezier(0.2, 0.65, 0.3, 0.9) forwards;
    will-change: transform, opacity, filter;
}