* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            --primary-black: #0a0a0a;
            --secondary-black: #1a1a1a;
            --accent-blue: #2563eb;
            --light-blue: #3b82f6;
            --text-white: #ffffff;
            --text-gray: #a1a1aa;
            --border-color: #374151;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: linear-gradient(135deg, var(--primary-black) 0%, var(--secondary-black) 100%);
            color: var(--text-white);
            min-height: 100vh;
        }

        /* Navigation */
        nav {
            background: rgba(26, 26, 26, 0.95);
            backdrop-filter: blur(10px);
            padding: 1rem 0;
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 1000;
            border-bottom: 1px solid var(--border-color);
        }

        .nav-container {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 2rem;
        }

        .logo {
            font-size: 1.8rem;
            font-weight: bold;
            color: var(--light-blue);
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .penguin-icon {
            width: 48px;   /* 3x Upscale von 16px für sauberes Pixelraster */
            height: 48px;
            background: none;
            background-image: url('Pictures/Icon.png');
            background-size: 100% 100%;     /* füllt den Container exakt aus */
            background-repeat: no-repeat;
            background-position: center;

            /* Scharfes Upscaling (Pixelart) */
            image-rendering: pixelated;
            image-rendering: crisp-edges;
            -ms-interpolation-mode: nearest-neighbor;

            border-radius: 0; /* entfernt die alte runde Form */
        }


        .penguin-icon::before {
            content: none;
        }

        .nav-links {
            display: flex;
            list-style: none;
            gap: 2rem;
        }

        .nav-links a {
            color: var(--text-white);
            text-decoration: none;
            padding: 0.5rem 1rem;
            border-radius: 0.5rem;
            transition: all 0.3s ease;
        }

        .nav-links a:hover, .nav-links a.active {
            background: var(--accent-blue);
            transform: translateY(-2px);
        }

        /* Main Content */
        main {
            margin-top: 80px;
            min-height: calc(100vh - 80px);
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 2rem;
        }

        .page {
            display: none;
            animation: fadeIn 0.5s ease-in;
        }

        .page.active {
            display: block;
        }

        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }

        /* Hero Section */
        .hero {
            text-align: center;
            padding: 4rem 0;
            background: linear-gradient(45deg, rgba(37, 99, 235, 0.1), rgba(59, 130, 246, 0.1));
            border-radius: 1rem;
            margin-bottom: 3rem;
        }

        .hero h1 {
            font-size: 3.5rem;
            margin-bottom: 1rem;
            background: linear-gradient(135deg, var(--light-blue), var(--accent-blue));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .hero p {
            font-size: 1.2rem;
            color: var(--text-gray);
            max-width: 600px;
            margin: 0 auto;
        }

        /* Cards */
        .card {
            background: rgba(26, 26, 26, 0.8);
            border: 1px solid var(--border-color);
            border-radius: 1rem;
            padding: 2rem;
            margin-bottom: 2rem;
            backdrop-filter: blur(10px);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .card:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 40px rgba(37, 99, 235, 0.2);
        }

        .card h2 {
            color: var(--light-blue);
            margin-bottom: 1rem;
            font-size: 1.8rem;
        }

        /* Feature Cards */
        .feature-card {
            background: rgba(26, 26, 26, 0.8);
            border: 1px solid var(--border-color);
            border-radius: 1rem;
            padding: 2rem;
            margin-bottom: 2rem;
            backdrop-filter: blur(10px);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .feature-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 40px rgba(37, 99, 235, 0.2);
        }

        .feature-card h2 {
            color: var(--light-blue);
            margin-bottom: 0.5rem;
            font-size: 1.8rem;
        }

        .feature-card .feature-short {
            color: var(--text-gray);
            font-size: 1rem;
            margin-bottom: 1rem;
            font-weight: 600;
        }

        .feature-card .feature-long {
            color: var(--text-white);
            line-height: 1.6;
        }

        /* Version Cards */
        .version-card {
            background: rgba(26, 26, 26, 0.8);
            border: 1px solid var(--border-color);
            border-radius: 1rem;
            padding: 2rem;
            margin-bottom: 2rem;
            backdrop-filter: blur(10px);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .version-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 40px rgba(37, 99, 235, 0.2);
        }

        .version-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1rem;
        }

        .version-header h3 {
            color: var(--light-blue);
            font-size: 1.5rem;
            margin: 0;
        }

        .version-badge {
            background: var(--accent-blue);
            color: white;
            padding: 0.3rem 0.8rem;
            border-radius: 1rem;
            font-size: 0.9rem;
            font-weight: 600;
        }

        .version-description {
            color: var(--text-gray);
            margin-bottom: 1.5rem;
            line-height: 1.6;
        }

        .version-actions {
            display: flex;
            gap: 1rem;
            flex-wrap: wrap;
        }

        .changelog-btn, .download-link {
            background: var(--accent-blue);
            color: white;
            border: none;
            padding: 0.8rem 1.5rem;
            border-radius: 0.5rem;
            text-decoration: none;
            font-size: 0.9rem;
            cursor: pointer;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
        }

        .changelog-btn:hover, .download-link:hover {
            background: var(--light-blue);
            transform: translateY(-2px);
        }

        /* Download Panel */
        .download-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            margin-top: 2rem;
        }

        .download-item {
            background: rgba(37, 99, 235, 0.1);
            border: 2px solid var(--accent-blue);
            border-radius: 1rem;
            padding: 2rem;
            text-align: center;
            transition: all 0.3s ease;
        }

        .download-item:hover {
            background: rgba(37, 99, 235, 0.2);
            transform: scale(1.05);
        }

        .download-btn {
            background: linear-gradient(135deg, var(--accent-blue), var(--light-blue));
            color: white;
            border: none;
            padding: 1rem 2rem;
            border-radius: 0.5rem;
            font-size: 1.1rem;
            cursor: pointer;
            transition: all 0.3s ease;
            text-decoration: none;
            display: inline-block;
            margin-top: 1rem;
        }

        .download-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
        }

        /* Comment Panel */
        .comment-form {
            background: rgba(26, 26, 26, 0.6);
            padding: 2rem;
            border-radius: 1rem;
            border: 1px solid var(--border-color);
            margin-bottom: 2rem;
        }

        .form-group {
            margin-bottom: 1.5rem;
        }

        .form-group label {
            display: block;
            margin-bottom: 0.5rem;
            color: var(--light-blue);
            font-weight: 600;
        }

        .form-group input,
        .form-group textarea {
            width: 100%;
            padding: 1rem;
            background: rgba(10, 10, 10, 0.8);
            border: 1px solid var(--border-color);
            border-radius: 0.5rem;
            color: var(--text-white);
            font-size: 1rem;
        }

        .form-group input:focus,
        .form-group textarea:focus {
            outline: none;
            border-color: var(--accent-blue);
            box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
        }

        .comment-item {
            background: rgba(26, 26, 26, 0.4);
            border: 1px solid var(--border-color);
            border-radius: 0.5rem;
            padding: 1.5rem;
            margin-bottom: 1rem;
        }

        .comment-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1rem;
        }

        .comment-author {
            color: var(--light-blue);
            font-weight: 600;
        }

        .comment-date {
            color: var(--text-gray);
            font-size: 0.9rem;
        }

        /* Loading and Error States */
        .loading {
            text-align: center;
            color: var(--text-gray);
            padding: 2rem;
            font-style: italic;
        }

        .error {
            text-align: center;
            color: #ef4444;
            padding: 2rem;
            background: rgba(239, 68, 68, 0.1);
            border: 1px solid rgba(239, 68, 68, 0.3);
            border-radius: 0.5rem;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .nav-links {
                display: none;
            }
            
            .hero h1 {
                font-size: 2.5rem;
            }
            
            .container {
                padding: 1rem;
            }

            .version-actions {
                flex-direction: column;
            }

            .changelog-btn, .download-link {
                width: 100%;
                justify-content: center;
            }
        }

        /* Changelog Modal */
        .modal {
            display: none;
            position: fixed;
            z-index: 2000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.8);
            backdrop-filter: blur(5px);
        }

        .modal-content {
            background: var(--secondary-black);
            margin: 10% auto;
            padding: 2rem;
            border: 1px solid var(--border-color);
            border-radius: 1rem;
            width: 90%;
            max-width: 400px;
        }

        .changelog-modal {
            max-width: 800px;
            max-height: 80vh;
            overflow-y: auto;
        }

        .changelog-content {
            max-height: 60vh;
            overflow-y: auto;
            margin-top: 1rem;
        }

        .changelog-text {
            color: var(--text-white);
            line-height: 1.6;
        }

        .changelog-text h4 {
            color: var(--light-blue);
            margin-top: 1.5rem;
            margin-bottom: 0.5rem;
        }

        .changelog-text ul {
            margin-left: 1.5rem;
            margin-bottom: 1rem;
        }

        .changelog-text li {
            margin-bottom: 0.3rem;
            color: var(--text-gray);
        }

        .changelog-text p {
            margin-bottom: 1rem;
            color: var(--text-white);
        }

        .close {
            color: var(--text-gray);
            float: right;
            font-size: 28px;
            font-weight: bold;
            cursor: pointer;
        }

        .close:hover {
            color: var(--text-white);
        }

/* Suchleiste */
.search-container {
    margin-bottom: 2rem;
}

.search-input {
    width: 100%;
    padding: 1rem 1.5rem;
    background: rgba(10, 10, 10, 0.8);
    border: 2px solid var(--border-color);
    border-radius: 0.75rem;
    color: var(--text-white);
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.2);
}

.search-input::placeholder {
    color: var(--text-gray);
}

/* Ordner-Styles */
.folder-header {
    cursor: pointer;
    user-select: none;
    padding: 0.5rem;
    margin: -0.5rem;
    border-radius: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.folder-header:hover {
    background: rgba(37, 99, 235, 0.1);
}

.folder-icon {
    margin-right: 0.5rem;
}

.folder-subtitle {
    color: var(--text-gray);
    font-size: 0.9rem;
    font-weight: normal;
    display: block;
    margin-top: 0.25rem;
}

.folder-toggle {
    color: var(--text-gray);
    font-size: 1.2rem;
}

.folder-content {
    display: none;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.folder-content.open {
    display: block;
}

/* Verschachtelte Versionen */
.nested-version {
    background: rgba(10, 10, 10, 0.5);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.nested-version:last-child {
    margin-bottom: 0;
}

.nested-version:hover {
    border-color: var(--accent-blue);
    background: rgba(37, 99, 235, 0.05);
}

.nested-version .version-header h4 {
    color: var(--light-blue);
    font-size: 1.2rem;
    margin: 0;
}

.empty-folder {
    text-align: center;
    color: var(--text-gray);
    padding: 2rem;
    font-style: italic;
}