        /* Grundlegendes Styling (Identisch zur Startseite) */
        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
            font-family: 'Comic Sans MS', 'Chalkboard SE', sans-serif;
        }

        body {
            background-color: #ffffff;
            display: flex;
            flex-direction: column;
            min-height: 100vh;
        }

        /* --- Menüleiste --- */
        .top-nav {
            display: flex;
            border-bottom: 4px solid black;
            background-color: white;
            position: sticky;
            top: 0;
            z-index: 100;
            align-items: center;
            height: 60px; 
        }

        .nav-empty {
            width: 60px; 
            height: 100%;
            border-right: 4px solid black;
            flex-shrink: 0;
            display: flex; /* Damit wir das Bild perfekt zentrieren können */
            justify-content: center;
            align-items: center;
            text-decoration: none; /* Verhindert Rahmen um den Link */
            overflow: hidden; /* Verhindert, dass ein zu großes Bild übersteht */
            background-color: white; /* Hintergrundfarbe hinter dem Logo */
            transition: transform 0.2s; /* Optionaler Hover-Effekt */
        }

        .logo-img {
            width: 100%;
            height: 100%;
            object-fit: contain; /* 'contain' zeigt das ganze Bild. Nutze 'cover', wenn es das Feld randlos ausfüllen soll */
            padding: 5px; /* Ein kleiner Abstand zum Rand, damit es schöner aussieht. Bei randlosem Design einfach löschen. */
        }

        .logo-img:hover {
            transform: scale(1.05); /* Das Logo wird beim Drüberfahren minimal größer */
        }

        .nav-links {
            display: flex;
            flex: 1;
            height: 100%;
        }

        .nav-link, .nav-link_box, .nav-link_mat, .nav-link_wosh, .nav-link_proj, .nav-link_contr {
            flex: 1;
            display: flex;
            align-items: center;     
            justify-content: center; 
            text-decoration: none;
            color: black;
            font-weight: bold;
            font-size: 1.2rem;
            border-right: 4px solid black;
            transition: background-color 0.3s, color 0.3s;
            min-width: 120px;
            height: 100%; 
        }


        .nav-links a:last-child { border-right: none; }
        .nav-link_box:hover { background-color: #f3cbe1; color: #000; }
        .nav-link_mat:hover { background-color: #3aaf71; color: #000; }
        .nav-link_wosh:hover { background-color: #6b85c3; color: #000; }
        .nav-link_proj:hover { background-color: #edce76; color: #000; }
        .nav-link_contr:hover { background-color: #278807; color: #000; }

        /* --- Burger Menü Icon --- */
        .burger-menu {
            display: none;
            flex-direction: column;
            justify-content: space-between;
            width: 35px;
            height: 25px;
            cursor: pointer;
            margin: 0 20px;
            margin-left: auto;
        }

        .burger-menu .line {
            width: 100%;
            height: 5px;
            border-radius: 3px;
            border: 1px solid black;
        }

        .burger-menu .line1 { background-color: #f3cbe1; } 
        .burger-menu .line2 { background-color: #3aaf71; } 
        .burger-menu .line3 { background-color: #6b85c3; } 

        @media (max-width: 768px) {
            .nav-links {
                display: none;
                flex-direction: column;
                position: absolute;
                top: 100%; 
                left: 0;
                width: 100%;
                background-color: white;
                border-bottom: 4px solid black;
                height: auto; 
            }
            .nav-links.active { display: flex; }
            .nav-link, .nav_link_mat, .nav-link3, .nav-link4, .nav-link5 {
                border-right: none;
                border-bottom: 2px solid black;
                width: 100%;
                height: 55px; 
            }
            .nav-links a:last-child { border-bottom: none; }
            .burger-menu { display: flex; }
        }
        
        /* --- Hauptbereich --- */
        .main-container {
            display: flex;
            flex: 1;
        }

        .sidebar {
            width: 60px; 
            border-right: 4px solid black;
            display: flex;
            flex-direction: column;
            flex-shrink: 0;
        }

        .sidebar-box {
            height: 150px;
            border-bottom: 4px solid black;
        }

        /* --- NEU: Content Bereich für den Markdown-Text --- */
        .content-area {
            flex: 1;
            padding: 40px;
            max-width: 900px; /* Begrenzt die Textbreite, damit man besser lesen kann */
            line-height: 1.6;
        }

        /* Styling für die Markdown-Elemente */
        .content-area h1 { margin-bottom: 20px; font-size: 2.5rem; }
        .content-area h2 { margin-top: 30px; margin-bottom: 15px; }
        .content-area p { margin-bottom: 20px; font-size: 1.1rem; }
        .content-area ul, .content-area ol { margin-bottom: 20px; padding-left: 30px; font-size: 1.1rem;}
        .content-area li { margin-bottom: 10px; }
        
        /* Sorgt dafür, dass Bilder aus dem Markdown nicht zu groß werden */
        .content-area img {
            max-width: 100%;
            max-height: 300px; /* NEU: Maximale Höhe auf 300px begrenzen */
            height: auto;
            width: auto; /* Stellt sicher, dass die Breite sich anpasst, wenn die Höhe begrenzt wird */
            border: 4px solid black; /* Passt optisch zum Rest der Seite */
            margin-bottom: 20px;
        }
