/* Reset und Basis-Stile */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #fff;
    background: #0a0a0a;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-x: hidden;
}

/* RGB Hintergrund-Effekt */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(125deg, #ff0000, #00ff00, #0000ff, #ff00ff, #ff0000);
    background-size: 500% 500%;
    opacity: 0.15;
    z-index: -2;
    animation: rgbFlow 15s ease infinite;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(0,0,0,0) 0%, #0a0a0a 80%);
    z-index: -1;
}

@keyframes rgbFlow {
    0% { background-position: 0% 0%; }
    25% { background-position: 100% 0%; }
    50% { background-position: 100% 100%; }
    75% { background-position: 0% 100%; }
    100% { background-position: 0% 0%; }
}

main {
    flex: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    width: 100%;
}

/* Header & Navigation mit RGB-Effekt */
.navbar {
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid transparent;
    border-image: linear-gradient(90deg, #ff0000, #00ff00, #0000ff, #ff00ff) 1;
    border-image-slice: 1;
    padding: 1rem 0;
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.3);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    color: #fff;
    text-decoration: none;
    font-size: 2rem;
    font-weight: bold;
    text-shadow: 0 0 10px #ff00ff, 0 0 20px #00ffff;
    animation: rgbText 3s infinite;
}

@keyframes rgbText {
    0% { text-shadow: 0 0 10px #ff0000, 0 0 20px #ff0000; }
    33% { text-shadow: 0 0 10px #00ff00, 0 0 20px #00ff00; }
    66% { text-shadow: 0 0 10px #0000ff, 0 0 20px #0000ff; }
    100% { text-shadow: 0 0 10px #ff0000, 0 0 20px #ff0000; }
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-menu a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
    z-index: 1;
}

.nav-menu a::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.5s;
    z-index: -1;
}

.nav-menu a:hover::before {
    left: 100%;
}

.nav-menu a:hover,
.nav-menu a.active {
    background: linear-gradient(45deg, #ff0000, #00ff00, #0000ff);
    background-size: 200% 200%;
    animation: rgbGradient 3s ease infinite;
    box-shadow: 0 0 20px rgba(255,0,255,0.5);
}

@keyframes rgbGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Hero Section mit RGB */
.hero {
    text-align: center;
    padding: 4rem 0;
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    margin-bottom: 3rem;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 0 30px rgba(255,0,255,0.2);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, #ff0000, #00ff00, #0000ff, #ff00ff, #ff0000);
    animation: rgbRotate 10s linear infinite;
    opacity: 0.1;
    z-index: -1;
}

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

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #ff0000, #00ff00, #0000ff, #ff00ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 300% 300%;
    animation: rgbTextGradient 6s ease infinite;
}

@keyframes rgbTextGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero p {
    font-size: 1.3rem;
    color: rgba(255,255,255,0.9);
    text-shadow: 0 0 10px rgba(255,0,255,0.3);
}

/* Features Grid */
.features {
    text-align: center;
}

.features h2 {
    margin-bottom: 2rem;
    font-size: 2.2rem;
    text-shadow: 0 0 10px #00ff00, 0 0 20px #0000ff;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(10px);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(255,0,255,0.1);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255,0,255,0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: #ff00ff;
    box-shadow: 0 0 30px rgba(255,0,255,0.3);
}

.feature-card:hover::before {
    transform: translateX(100%);
}

.feature-card h3 {
    background: linear-gradient(45deg, #ff0000, #00ff00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

/* About Page */
.about-section {
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 0 30px rgba(0,255,255,0.2);
}

.about-section h1 {
    background: linear-gradient(45deg, #ff0000, #00ff00, #0000ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.about-section h2 {
    background: linear-gradient(45deg, #00ff00, #0000ff, #ff00ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 2rem 0 1rem;
}

.about-section ul {
    list-style: none;
    margin-left: 1rem;
}

.about-section li {
    margin-bottom: 0.8rem;
    padding-left: 2rem;
    position: relative;
}

.about-section li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: #ff00ff;
    animation: rgbPulse 1.5s infinite;
}

@keyframes rgbPulse {
    0% { opacity: 0.5; text-shadow: 0 0 5px #ff00ff; }
    50% { opacity: 1; text-shadow: 0 0 15px #ff00ff, 0 0 30px #00ffff; }
    100% { opacity: 0.5; text-shadow: 0 0 5px #ff00ff; }
}

/* Contact Page */
.contact-section {
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 0 30px rgba(255,0,255,0.2);
    max-width: 600px;
    margin: 0 auto;
}

.contact-section h1 {
    background: linear-gradient(45deg, #ff0000, #00ff00, #0000ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 2.2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #fff;
    text-shadow: 0 0 5px rgba(255,0,255,0.3);
}

.form-group input,
.form-group textarea {
    padding: 1rem;
    background: rgba(0,0,0,0.3);
    border: 2px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    font-size: 1rem;
    color: #fff;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ff00ff;
    box-shadow: 0 0 20px rgba(255,0,255,0.3);
    background: rgba(0,0,0,0.5);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255,255,255,0.3);
}

.submit-btn {
    background: linear-gradient(45deg, #ff0000, #00ff00, #0000ff, #ff00ff);
    background-size: 300% 300%;
    color: white;
    padding: 1.2rem;
    border: none;
    border-radius: 10px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    animation: rgbGradient 6s ease infinite;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.submit-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 0 30px rgba(255,0,255,0.5);
}

.success-message {
    text-align: center;
    padding: 3rem;
    background: rgba(0,255,0,0.1);
    border: 2px solid #00ff00;
    border-radius: 10px;
    color: #00ff00;
    text-shadow: 0 0 10px #00ff00;
    animation: rgbPulse 2s infinite;
}

.error-message {
    background: rgba(255,0,0,0.1);
    border: 2px solid #ff0000;
    color: #ff0000;
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    text-align: center;
    text-shadow: 0 0 10px #ff0000;
    animation: rgbPulse 1.5s infinite;
}

/* Footer */
footer {
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    border-top: 2px solid transparent;
    border-image: linear-gradient(90deg, #ff0000, #00ff00, #0000ff, #ff00ff) 1;
    border-image-slice: 1;
    margin-top: 3rem;
    box-shadow: 0 -5px 20px rgba(255,0,255,0.2);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
    background: linear-gradient(45deg, #ff0000, #00ff00, #0000ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: rgbText 3s infinite;
}

.footer-nav {
    list-style: none;
}

.footer-nav li {
    margin-bottom: 0.5rem;
}

.footer-nav a {
    color: #fff;
    text-decoration: none;
    transition: all 0.3s;
    position: relative;
    padding-left: 1.2rem;
}

.footer-nav a::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #ff00ff;
    animation: rgbPulse 2s infinite;
}

.footer-nav a:hover {
    color: #ff00ff;
    text-shadow: 0 0 10px #ff00ff;
    padding-left: 1.5rem;
}

.footer-bottom {
    background: rgba(0,0,0,0.3);
    text-align: center;
    padding: 1.5rem;
    font-size: 0.9rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.7);
}

.footer-bottom p {
    animation: rgbText 5s infinite;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .contact-section,
    .about-section {
        padding: 1.5rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #0a0a0a;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #ff0000, #00ff00, #0000ff, #ff00ff);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #ff00ff, #0000ff, #00ff00, #ff0000);
}

/* Loading Animation für Status-Werte */
.status-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 3rem 0;
}

.status-item {
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(255,255,255,0.1);
}

.status-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.status-name {
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.status-value {
    background: linear-gradient(45deg, #ff0000, #00ff00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: bold;
}

.progress-bar {
    width: 100%;
    height: 20px;
    background: rgba(0,0,0,0.3);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff0000, #00ff00, #0000ff, #ff00ff);
    background-size: 300% 100%;
    animation: rgbGradient 3s ease infinite;
    border-radius: 10px;
    transition: width 0.5s ease;
}

.status-time {
    text-align: right;
    margin-top: 0.5rem;
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
}
