/* Allgemeine Stile */
:root {
    --primary: #6200ea;
    --primary-dark: #4a148c;
    --primary-light: #b388ff;
    --accent: #00e5ff;
    --text: #e0e0e0;
    --text-secondary: #aaaaaa;
    --bg-dark: #121212;
    --bg-card: #1e1e1e;
    --bg-input: #2d2d2d;
    --border: #333333;
    --error: #ff5252;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text);
    line-height: 1.6;
}

a {
    color: var(--accent);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Header & Navigation */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: rgba(30, 30, 30, 0.9);
    border-bottom: 1px solid var(--border);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo i {
    color: var(--accent);
    font-size: 1.5rem;
}

.logo h1 {
    font-size: 1.5rem;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

nav a {
    color: var(--text);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.3s;
}

nav a:hover, nav a.active {
    background-color: rgba(98, 0, 234, 0.2);
    color: var(--accent);
    text-decoration: none;
}

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s;
    display: inline-block;
}

.primary {
    background-color: var(--primary);
    color: white;
}

.primary:hover {
    background-color: var(--primary-dark);
    text-decoration: none;
}

.secondary {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--primary-light);
}

.secondary:hover {
    background-color: rgba(98, 0, 234, 0.1);
    text-decoration: none;
}

/* Hero Section */
.hero {
    padding: 3rem 2rem;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(90deg, var(--primary-light), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-content h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.hero-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Features */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature {
    background-color: var(--bg-card);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    border: 1px solid var(--border);
    transition: transform 0.3s;
}

.feature:hover {
    transform: translateY(-5px);
}

.feature i {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1rem;
}

.feature h3 {
    margin-bottom: 1rem;
}

.feature p {
    color: var(--text-secondary);
}

/* Auth Forms */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 136px);
    padding: 2rem;
}

.auth-form {
    background-color: var(--bg-card);
    border-radius: 8px;
    padding: 2rem;
    width: 100%;
    max-width: 450px;
    border: 1px solid var(--border);
}

.auth-form h2 {
    text-align: center;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    background-color: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: 4px;
    color: var(--text);
    font-size: 1rem;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-light);
}

.form-check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.auth-form button {
    width: 100%;
    padding: 0.75rem;
    margin-bottom: 1rem;
}

.auth-link {
    text-align: center;
    color: var(--text-secondary);
    margin-top: 1rem;
}

.error {
    color: var(--error);
    text-align: center;
    min-height: 20px;
}

/* Footer */
footer {
    text-align: center;
    padding: 1rem;
    border-top: 1px solid var(--border);
    color: var(--text-secondary);
}

/* Responsive */
@media (max-width: 768px) {
    .buttons {
        flex-direction: column;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content h2 {
        font-size: 1.5rem;
    }
}