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

/* Erzwingt helles Farbschema – verhindert, dass Android/Browser
   eine eigene Dark-Mode-Version generieren */
:root {
    color-scheme: only light;
}

body {
    font-family: Futura, "Trebuchet MS", Arial, sans-serif;
    background-color: #ECF1FA;
    color: #162A70;
    overflow-x: hidden;
}

/* Header */
.header {
    background-color: #162A70;
    padding: 0;
    position: relative;
}
.nav-bar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 10px 40px;
    position: relative;
    min-height: 120px;
}
.logo {
    width: 100px;
    height: 100px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    left: 40px;
    transform: translateY(-50%);
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    transition: transform 0.3s ease;
}
.logo img {
    width: 90px;
    height: 90px;
    align-items: center;
}
.logo:hover {
    transform: translateY(-50%) scale(1.05);
}
.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}
.nav-menu a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
}
.nav-menu a:hover {
    text-decoration: underline;
}

/* Hero Section */
.hero-section {
    background-image: url('../img/rollstuhl-bild.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 300px;
    display: flex;
    align-items: center;
    padding: 0 40px;
    position: relative;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(44, 74, 139, 0.3);
    z-index: 1;
}
.hero-title {
    position: relative;
    z-index: 2;
    background-color: rgba(74, 144, 226, 0.9);
    color: white;
    padding: 20px 40px;
    font-size: 48px;
    font-weight: bold;
    margin-left: auto;
    margin-right: 100px;
}

/* Main Content */
.main-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 80px 40px;
    line-height: 1.6;
}

/* Section titles */
.section-title {
    color: #162A70;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 24px;
}
.section-title--center {
    text-align: center;
}

/* Text block */
.text-block {
    margin-bottom: 70px;
}
.text-block p {
    color: #162A70;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 18px;
}

/* Fotogalerie – Bilder behalten ihr eigenes Format */
.gallery-block {
    margin-bottom: 80px;
}
.gallery-grid {
    column-count: 3;
    column-gap: 16px;
}
.gallery-grid img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 16px;
    background-color: #d8dbe2;
    break-inside: avoid;
}

/* Sponsoren */
.sponsors-block {
    margin-bottom: 0;
}
.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 10px;
}
.sponsor {
    background-color: #ffffff;
    border-radius: 6px;
    padding: 14px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.sponsor img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Footer */
.footer {
    background-color: #162A70;
    color: white;
    padding: 40px;
    margin-top: 0;
}
.footer-content {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
}
.footer-column {
    flex: 1;
    margin-right: 40px;
    padding-right: 40px;
    border-right: 1px solid rgba(255, 255, 255, 0.4);
}
.footer-column:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}
.footer-column h4 {
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: bold;
}
.footer-column p {
    font-size: 14px;
    line-height: 1.4;
}
.footer-links {
    text-align: left;
}
.footer-links a {
    color: white;
    text-decoration: none;
    display: block;
    margin-bottom: 18px;
    font-size: 15px;
    letter-spacing: 0.5px;
}
.footer-links a:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-bar {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 40px 20px 24px;
        justify-content: center;
        min-height: auto;
    }

    .logo {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        margin-bottom: 10px;
    }

    .logo:hover {
        transform: scale(1.05);
    }

    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }

    .hero-title {
        font-size: 36px;
        margin: 0;
        text-align: center;
        max-width: 100%;
        padding: 16px 20px;
        word-break: break-word;
    }

    .main-content {
        padding: 50px 20px;
    }

    .section-title {
        font-size: 24px;
    }

    .text-block,
    .gallery-block {
        margin-bottom: 50px;
    }

    .gallery-grid {
        column-count: 2;
        column-gap: 12px;
    }
    .gallery-grid img {
        margin-bottom: 12px;
    }

    .sponsors-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
    }

    .footer-column {
        margin-right: 0;
        padding-right: 0;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.4);
        padding-bottom: 30px;
    }

    .footer-column:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .footer-links {
        text-align: left;
    }
}