/* Allgemeine Seiten-Einstellungen */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f5f7;
    color: #333;
}

/* Header Layout: Logo links, Titel rechts daneben */
header {
    background-color: #1a365d; /* Dunkelblau passend zum Logo */
    color: white;
    padding: 20px;
    display: flex;
    align-items: center;
}

header img {
    height: 100px;
    margin-right: 20px;
    border-radius: 50%;
}

header h1 {
    margin: 0;
    font-size: 2.2em;
}

/* Haupt-Layout: Flexbox für die Spalten */
.container {
    display: flex;
    max-width: 1200px;
    margin: 30px auto;
    gap: 30px;
    padding: 0 20px;
}

main {
    flex: 3; /* Hauptbereich nimmt mehr Platz ein */
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

aside {
    flex: 1; /* Seitenleiste nimmt weniger Platz ein */
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

/* Überschriften im Textbereich */
h2 {
    color: #1a365d;
    margin-top: 0;
}

/* Listen-Design für die Termine */
.termine-liste {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

.termine-liste li {
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.termine-liste li:last-child {
    border-bottom: none;
}

/* Styling für den Matrix-Button */
.matrix-btn {
    display: inline-block;
    background-color: #1a365d; /* Das Dunkelblau deines Logos */
    color: white;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    margin-top: 20px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Hover-Effekt: Wenn man mit der Maus drüberfährt */
.matrix-btn:hover {
    background-color: #264d85; /* Ein etwas helleres Blau */
    transform: translateY(-2px); /* Der Button hebt sich leicht an */
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

/* Styling für den Footer (Fußzeile) */
footer {
    background-color: #1a365d; /* Dunkelblau passend zum Header */
    color: white;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}

footer p {
    margin: 0 0 10px 0;
    font-size: 0.9em;
}

footer nav a {
    color: #a0aec0; /* Helles Blaugrau für die Links */
    text-decoration: none;
    margin: 0 10px;
    font-size: 0.9em;
    transition: color 0.2s ease;
}

footer nav a:hover {
    color: white;
    text-decoration: underline;
}

/* RESPONSIVE DESIGN für Smartphones und Tablets */
@media (max-width: 768px) {
    /* Setzt die Spalten untereinander statt nebeneinander */
    .container {
        flex-direction: column;
    }
    
    /* Zentriert den Header auf kleinen Bildschirmen */
    header {
        flex-direction: column;
        text-align: center;
    }
    
    header img {
        margin-right: 0;
        margin-bottom: 15px;
    }
}