/* Variablen für einfaches Anpassen der Farben */
:root {
    --navy: #0f172a;
    --berry: #be185d;
    --berry-light: #fdf2f8;
    --slate: #64748b;
    --light-bg: #f8fafc;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--navy);
    background-color: var(--white);
    scroll-behavior: smooth;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #eee;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -1px;
}

.logo span {
    color: var(--berry);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--slate);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--berry);
}

.btn-login {
    background: var(--navy);
    color: white;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
}

.btn-login:hover {
    background: #1e293b;
}

/* Hero */
.hero {
    padding: 100px 0;
    text-align: center;
}

.badge {
    background: var(--berry-light);
    color: var(--berry);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 20px;
    display: inline-block;
}

.hero h1 {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -2px;
}

.text-accent {
    color: var(--berry);
}

.hero p {
    font-size: 20px;
    color: var(--slate);
    max-width: 700px;
    margin: 0 auto 40px;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* Buttons */
.btn-primary {
    background: var(--berry);
    color: white;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary:hover {
    background: #9d174d;
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--light-bg);
    color: var(--navy);
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
}

/* Features */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 80px 20px;
}

.feature-card {
    padding: 40px;
    border-radius: 20px;
    background: var(--light-bg);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    background: var(--white);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.feature-card .icon {
    font-size: 32px;
    font-weight: 800;
    color: var(--berry);
    margin-bottom: 20px;
}

/* Forum Mockup */
.forum-preview {
    background: var(--light-bg);
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.forum-mockup {
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
    overflow: hidden;
    max-width: 800px;
    margin: 0 auto;
}

.mockup-header {
    background: #f1f5f9;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.dots {
    display: flex;
    gap: 6px;
}

.dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cbd5e1;
}

.browser-bar {
    background: white;
    font-size: 12px;
    color: var(--slate);
    padding: 4px 15px;
    border-radius: 4px;
    flex-grow: 1;
}

.mockup-content {
    padding: 30px;
}

.post {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.avatar {
    width: 45px;
    height: 45px;
    background: #e2e8f0;
    border-radius: 50%;
    flex-shrink: 0;
}

.avatar.accent {
    background: var(--berry-light);
}

.post-body h4 {
    margin: 5px 0;
}

.post-meta {
    font-size: 12px;
    color: var(--slate);
}

.reply {
    margin-left: 60px;
}

/* CTA */
.cta {
    padding: 100px 0;
}

.cta-box {
    background: var(--navy);
    color: white;
    padding: 80px;
    border-radius: 30px;
    text-align: center;
}

.cta-form {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.cta-form input {
    padding: 15px 20px;
    border-radius: 8px;
    border: none;
    width: 300px;
}

/* Footer */
.footer {
    padding: 40px 0;
    border-top: 1px solid #eee;
    text-align: center;
    font-size: 14px;
    color: var(--slate);
}

.footer-links {
    margin-top: 10px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.footer-links a {
    color: var(--slate);
    text-decoration: none;
}

/* Styling für interne Seiten (Forum, Profil, etc.) */
.internal-page {
    background-color: var(--light-bg);
    min-height: 80vh;
}

.internal-header {
    background-color: var(--navy);
    color: white;
    padding: 40px 0;
    margin-bottom: 40px;
}

.internal-header h1 {
    margin: 0;
    font-size: 2rem;
}

.content-wrapper {
    background: white;
    padding: 40px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

/* Forum-spezifische Elemente */
.internal-content ul {
    list-style: none;
    padding: 0;
}

.internal-content li {
    padding: 15px 0;
    border-bottom: 1px solid #f1f5f9;
}

/* Desktop/Mobile Utility */
.mobile-only { display: none; }
.desktop-only { display: block; }

/* Burger Button */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--navy);
    transition: 0.3s;
}

@media (max-width: 768px) {
    .menu-toggle { display: flex; }
    .desktop-only { display: none; }
    .mobile-only { display: block; margin-top: 20px; }

    .nav-links {
        display: none; /* Initial versteckt */
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: white;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        text-align: center;
    }

    .nav-links.active {
        display: flex; /* Sichtbar bei Klick */
    }
}


/* Responsive */
@media (max-width: 768px) {
    .hero h1 { font-size: 40px; }
    .nav-links { display: none; }
    .cta-form { flex-direction: column; align-items: center; }
}