/* Grundlegendes, audit-sicheres Design */
body {
    font-family: Arial, Helvetica, sans-serif; 
    line-height: 1.6;
    color: #333333;
    background-color: #f4f4f9;
    margin: 0;
    padding-top: 100px; /* Diese Zeile ist neu und extrem wichtig! */
}

/* Die zentrale Inhaltsbreite */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

/* === Kopfbereich und die Navigation === */
header{
    background-color: #ffffff;
    border-bottom: 4px solid #0056b3;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}


.header-container {
    max-width: 1200px; /* Breite erhöht, damit Logo und Menü nebeneinander passen */
    margin: 0 auto;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    max-height: 50px; 
    width: auto;      
    display: block;
}

/* Die moderne Navigation - optimiert für breite Logos */
nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 8px; /* Abstand zwischen den Buttons verringert */
}

nav a {
    text-decoration: none;
    color: #333333;
    font-weight: bold;
    padding: 6px 10px; /* Buttons schmaler gemacht */
    font-size: 0.95rem; /* Schrift minimal verkleinert für bessere Passform */
    border-radius: 4px;
    transition: background-color 0.3s, color 0.3s;
    white-space: nowrap; /* Verhindert Zeilenumbruch im Button */
}

nav a:hover, nav a:focus {
    background-color: #0056b3;
    color: #ffffff;
    outline: 2px solid #ffcc00;
}

nav a.aktiv {
    background-color: #e0e0e0;
    color: #0056b3;
}

/* === Card-Design für Inhalte === */
.lehrgang-karte {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    padding: 24px;
    margin-bottom: 20px;
    border-left: 6px solid #0056b3;
}

.lehrgang-karte h2 {
    margin-top: 0;
    color: #0056b3;
    font-size: 1.5rem;
}

.lehrgang-details {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.button-gruppe {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.download-button {
    display: inline-block;
    background-color: #0056b3;
    color: #ffffff;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

/* === Startseite Ergänzungen === */
.willkommen-bereich {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    padding: 30px;
    margin-bottom: 20px;
    text-align: center;
}

.willkommen-bild {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 20px 0;
}

/* === Team-Layout === */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.team-karte {
    background: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border-top: 4px solid #0055a5;
}

.team-foto {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 3px solid #f0f0f0;
}
.dezenter-hinweis {
    margin-top: 20px;
    padding: 10px;
    background-color: #f9f9f9; /* Ganz helles Grau */
    border-left: 3px solid #0056b3; /* Dezenter blauer Streifen */
    color: #666666; /* Graue Schrift statt Schwarz */
    font-size: 0.9em;
    text-align: center;
}

.kleingedruckt {
    font-size: 0.8em;
    margin-top: 5px;
}