/* ---------- Reset & Basics ---------- */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Segoe UI", Roboto, Arial, sans-serif;
    background: #f4f6f8;
    color: #2c2c2c;
    line-height: 1.6;
}
#content a {
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: break-word;
}

.sidebar a {
  overflow-wrap: break-word;
  word-wrap: break-word;
  word-break: break-word;
}
/* ---------- Hauptcontainer ---------- */
#main {
    width: 1000px;
    margin: 30px auto;
    background: #ffffff;
    border-radius: 6px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    overflow: hidden;
}

/* ---------- Header ---------- */
#header {
    height: 220px;
    background:
        linear-gradient(rgba(255,255,255,0.15), rgba(255,255,255,0.15)),
        url("../Bild1.jpg") center / cover no-repeat;
    border-radius: 6px 6px 0 0;
}

#logo_text {
    color: #003366;
    background: rgba(255,255,255,0.6);
    display: inline-block;
    padding: 8px 14px;
    border-radius: 4px;
}
/* ---------- Menü ---------- */
/* ---------- Menü ---------- */
/* Menü unter Header */
/* Menü unter Header mit Shadow/Separator */
#menubar {
    background: #005599;
    padding: 0 30px;
    margin-top: 0;
    border-radius: 0 0 6px 6px; /* abgerundet unten */
    box-shadow: 0 4px 8px rgba(0,0,0,0.15); /* sanfter Schatten unter Menü */
    border-bottom: 2px solid rgba(255,255,255,0.2); /* optional: feiner Separator */
    z-index: 10;
    position: relative; /* Shadow korrekt darstellen */
}

/* Menü-Listenelemente */
#menu {
    list-style: none;
    display: flex;
    justify-content: center; /* zentriert */
    margin: 0;
    padding: 0;
}

#menu li {
    margin: 0 10px;
}

#menu li a {
    display: block;
    padding: 12px 22px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.3s ease;
    background: rgba(255,255,255,0);
}

#menu li.selected a {
    background: white;
    color: #005599;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

#menu li a:hover {
    background: rgba(255,255,255,0.2);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* Mobile-Anpassung */
@media (max-width: 768px) {
    #menu {
        flex-direction: column;
        align-items: center;
    }

    #menu li {
        margin: 5px 0;
    }
}


/* Mobile-Anpassung */
@media (max-width: 768px) {
    #menu {
        flex-direction: column;
        align-items: center;
    }

    #menu li {
        margin: 5px 0;
    }
}


@media (max-width: 768px) {
    #menu {
        flex-direction: column;
        align-items: center;
    }

    #menu li {
        margin: 5px 0;
    }
}

/* ---------- Content Bereich ---------- */
#site_content {
    display: flex;
    align-items: flex-start; /* startet oben bündig */
    gap: 25px; /* Abstand zwischen Sidebar und Content */
    padding: 25px;
}

.sidebar {
    width: 280px;
    background: #f0f3f7;
    padding: 20px;
    border-radius: 6px;
}

#content {
    flex: 1; /* füllt den Rest */
    padding: 20px;
    background: #ffffff; /* optional */
    border-radius: 6px;
}
.sidebar h3 {
    color: #003366;
    margin-top: 0;
}

.sidebar h4,
.sidebar h5 {
    color: #005599;
}

/* ---------- Hauptinhalt ---------- */
#content {
    flex: 1;
}

#content h1 {
    margin-top: 0;
    color: #003366;
    font-size: 1.9em;
}

#content p {
    margin-bottom: 1em;
}

/* ---------- Links ---------- */
a {
    color: #005599;
    text-decoration: none;
    font-weight: 500;
}

a:hover {
    text-decoration: underline;
}

/* ---------- Bilder ---------- */
img {
    max-width: 100%;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* ---------- Footer ---------- */
#footer {
    background: #003366;
    color: #ffffff;
    text-align: center;
    padding: 18px;
    font-size: 13px;
}

#footer a {
    color: #dbe7ff;
}

#footer a:hover {
    color: #ffffff;
}