body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    display: flex;
    min-height: 100vh;
}

#page-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
}

#nav {
    border-right: 1px solid #ddd;
    border-top: 1px solid #ddd;
    position: fixed;
    top: 150px; /* Gleiche Höhe wie der Header */
    left: 0;
    height: calc(100% - 120px); /* Höhe exakt an den Header angepasst */
    width: 200px;
    background: white;
    padding-top: 20px;
    z-index: 1100;
}

#nav a {
    display: block;
    color: black;
    text-decoration: none;
    padding: 10px;
}

header {
    height: 150px; /* Feste Höhe */
    display: flex;
    flex-direction: row; /* Horizontal ausgerichtet */
    align-items: center;
    justify-content: space-between; /* Platzierung von Bild und Titel */
    padding: 10px;
    border-bottom: 1px solid #ddd;
    background: white;
    box-sizing: border-box;
    overflow: hidden; /* Kein Überlappen über den Header hinaus */
}

#banner-image {
    height: 100%; /* Maximale Höhe an den Header angepasst */
    width: auto; /* Automatische Breite zur Proportionserhaltung */
    object-fit: contain; /* Bild innerhalb des Headers beschränken */
    margin: 0; /* Kein Abstand nach unten */
    border-radius: 10px; /* Optional für abgerundete Ecken */
}

#header-title {
    font-size: 1.2rem;
    margin: 0;
    padding-left: 10px;
    white-space: nowrap; /* Verhindert Umbrüche */
}

#main-content {
    padding: 20px;
    flex: 1;
    margin-left: 200px; /* Platz für das Menü */
    overflow-y: auto;
    box-sizing: border-box;
}
