* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background: #ffffff;
}

/* Top Header */
.top-header {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    padding: 0.5rem 0;
    font-size: 0.9rem;
}

.top-header a {
    color: #1e3a8a;
    text-decoration: none;
    transition: color 0.2s ease;
}

.top-header a:hover {
    color: #22c55e;
}

/* Main Header */
.main-header {
    background: #ffffff;
    padding: 1.5rem 0;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    position: relative;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex: 1;
}

.logo img {
    height: 60px;
    width: auto;
}

.school-name h1 {
    font-size: 2.2rem;
    font-weight: 300;
    color: #1e3a8a;
    margin-bottom: 0.2rem;
    letter-spacing: -0.5px;
}

.school-name .willi {
    font-weight: 600;
    color: #1e3a8a;
}

.school-name .gesamtschule {
    color: #22c55e;
    font-weight: 400;
}

.school-name .tagline {
    font-size: 0.95rem;
    color: #6b7280;
    font-weight: 400;
    font-style: italic;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: #f8fafc;
    border: 2px solid #1e3a8a;
    font-size: 1.5rem;
    color: #1e3a8a;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 6px;
    transition: all 0.2s ease;
    z-index: 1001;
    position: relative;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
}

.mobile-menu-toggle:hover {
    background-color: #1e3a8a;
    color: white;
}

.mobile-menu-toggle i {
    pointer-events: none;
}

/* Navigation */
.main-nav {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu>li {
    position: relative;
}

.nav-menu>li>a {
    display: block;
    padding: 1rem 1.5rem;
    text-decoration: none;
    color: #374151;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    border-bottom: 2px solid transparent;
}

.nav-menu>li>a:hover {
    color: #1e3a8a;
    background: #ffffff;
    border-bottom-color: #22c55e;
}

/* Dropdown Menüs */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    min-width: 280px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.nav-menu li:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu h4 {
    color: #1e3a8a;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    margin: 0.5rem 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dropdown-menu a {
    display: block;
    padding: 0.5rem 1rem;
    color: #4b5563;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.dropdown-menu a:hover {
    background: #f8fafc;
    color: #1e3a8a;
    padding-left: 1.5rem;
}

/* Container für Seiteninhalt */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Content Section */
.content-section {
    padding: 4rem 0;
}

.section-title {
    font-size: 2.5rem;
    color: #1e3a8a;
    margin-bottom: 1rem;
    font-weight: 600;
}

.section-subtitle {
    font-size: 1.8rem;
    color: #374151;
    margin-bottom: 2rem;
    font-weight: 500;
}

.section-content {
    color: #4b5563;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Content Placeholder Styles */
.content-placeholder {
    background: #f8fafc;
    border: 2px dashed #cbd5e1;
    border-radius: 8px;
    padding: 3rem 2rem;
    margin: 2rem 0;
    text-align: center;
    color: #64748b;
}

.content-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #94a3b8;
}

/* Footer */
footer {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
    color: white;
    padding: 3rem 0 0;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.footer-section h3 {
    color: #22c55e;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    display: block;
    margin: 0.5rem 0;
    transition: color 0.2s ease;
}

.footer-section a:hover {
    color: #22c55e;
}

.footer-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
    align-items: center;
}

.footer-logo {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
}

.footer-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.copyright {
    text-align: center;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.2);
    margin-top: 2rem;
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
}

.back-to-top a {
    background: #1e3a8a;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.back-to-top a:hover {
    background: #22c55e;
    transform: translateY(-3px);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .school-name h1 {
        font-size: 1.5rem;
    }

    .school-name .tagline {
        font-size: 0.85rem;
    }

    .logo img {
        height: 50px;
    }

    .top-header {
        font-size: 0.8rem;
    }

    .top-header div[style*="flex"] {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start !important;
    }

    .nav-container {
        padding: 0;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: 0;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: white;
        box-shadow: -2px 0 10px rgba(0,0,0,0.1);
        padding: 2rem 0;
        overflow-y: auto;
        z-index: 1000;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu > li {
        width: 100%;
    }

    .nav-menu>li>a {
        padding: 1rem 2rem;
        border-bottom: 1px solid #e5e7eb;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        border-radius: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        background: #f8fafc;
    }

    .nav-menu > li:hover .dropdown-menu,
    .nav-menu > li.active .dropdown-menu {
        max-height: 1000px;
    }

    .dropdown-menu a {
        padding-left: 3rem;
    }

    .dropdown-menu h4 {
        padding-left: 2rem;
        font-size: 0.8rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1.5rem;
    }
}
