:root {
    --color-magenta: #e91e63;
    --color-cyan: #00bcd4;
    --color-cyan-dark: #0097a7;
    --color-dark: #333;
    --bg-color: #f0f2f5;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, sans-serif;
    background-color: var(--bg-color);
    color: var(--color-dark);
}

.container { width: 90%; max-width: 1100px; margin: 0 auto; }
a { text-decoration: none; color: inherit; transition: 0.2s; }

/* HEADER */
header {
    background-color: var(--color-cyan);
    color: white;
    padding: 15px 0;
    position: sticky; top: 0; z-index: 1000;
    box-shadow: 0 4px 10px rgba(0,188,212, 0.3);
}

.header-content { display: flex; justify-content: space-between; align-items: center; }

.logo { height: 50px; background: white; padding: 5px; border-radius: 50%; margin-right: 15px; }
.logo-link { display: flex; align-items: center; color: white; }
.school-name { font-weight: 800; font-size: 1.3rem; }
.school-city { display: block; font-size: 0.9rem; opacity: 0.9; }

/* Navigation Desktop */
.nav-list { list-style: none; display: flex; margin: 0; padding: 0; align-items: center; }
.nav-list li { margin-left: 25px; position: relative; }
.nav-list a { font-weight: 600; opacity: 0.9; }
.nav-list a:hover { opacity: 1; text-decoration: underline; }

/* Hamburger Menu Icon (hidden on Desktop) */
.hamburger { display: none; cursor: pointer; flex-direction: column; gap: 5px; }
.hamburger span { width: 25px; height: 3px; background-color: white; border-radius: 5px; }

/* Dropdown */
.dropdown-content { display: none; position: absolute; top: 100%; left: 0; background: white; color: #333; min-width: 160px; box-shadow: 0 5px 15px rgba(0,0,0,0.1); border-radius: 10px; overflow: hidden; }
.dropdown:hover .dropdown-content { display: block; }
.dropdown-content a { display: block; padding: 10px 15px; color: #333; }
.dropdown-content a:hover { background: #f0f0f0; text-decoration: none; }

/* Buttons & Design Elements */
.btn { padding: 10px 25px; border-radius: 50px; font-weight: bold; display: inline-block; box-shadow: 0 4px 6px rgba(0,0,0,0.1); }
.btn-small { padding: 8px 20px; font-size: 0.9rem; }
.btn-cyan { background-color: white; color: var(--color-cyan-dark); } 
.btn-cyan:hover { background-color: var(--color-magenta); color: white; }
.btn-magenta { background-color: var(--color-magenta); color: white; }
.btn-magenta:hover { transform: scale(1.05); }
.btn-outline-white { border: 2px solid white; color: white; }
.btn-outline-white:hover { background: white; color: var(--color-cyan); }

/* Hero & Cards */
.hero-image-placeholder {
    background: linear-gradient(135deg, var(--color-cyan) 0%, var(--color-cyan-dark) 100%);
    color: white; padding: 80px 0; text-align: center;
    border-bottom-left-radius: 50px; border-bottom-right-radius: 50px; margin-bottom: 40px;
}
.hero h1 { font-size: 3rem; margin: 0 0 1rem; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 25px; }
.card { background: white; padding: 30px; border-radius: 20px; box-shadow: 0 10px 20px rgba(0,0,0,0.05); text-align: center; }
.card:hover { transform: translateY(-7px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
.card h3 { color: var(--color-cyan-dark); margin-top: 0; }

/* TABELLEN STYLE (Für Termine) */
.table-container { overflow-x: auto; background: white; border-radius: 20px; box-shadow: 0 5px 15px rgba(0,0,0,0.05); padding: 20px; }
table { width: 100%; border-collapse: collapse; min-width: 600px; }
th, td { text-align: left; padding: 15px; border-bottom: 1px solid #eee; }
th { background-color: var(--color-cyan); color: white; font-weight: bold; }
tr:last-child td { border-bottom: none; }
tr:hover { background-color: #f9f9f9; }

/* Footer */
footer { text-align: center; padding: 40px 0; color: #666; font-size: 0.9rem; }

/* --- MOBILE OPTIMIERUNG --- */
@media (max-width: 768px) {
    .hamburger { display: flex; } /* Icon anzeigen */
    
    /* Navigation verstecken & stylen */
    .nav-list { 
        display: none; /* Standardmäßig ausblenden */
        flex-direction: column; 
        width: 100%; 
        position: absolute; 
        top: 80px; left: 0; 
        background: white; 
        color: #333;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        padding: 20px 0;
        border-radius: 0 0 20px 20px;
    }

    /* Wenn Klasse "open" per JS gesetzt wird, anzeigen */
    nav.open .nav-list { display: flex; }
    
    .nav-list li { margin: 10px 0; text-align: center; width: 100%; }
    .nav-list a { color: #333; display: block; padding: 10px; }
    .dropdown-content { position: static; box-shadow: none; background: #f9f9f9; text-align: center; }
    
    .hero h1 { font-size: 2rem; }
    .header-content { flex-wrap: wrap; }
}