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

body {
    font-family: 'Montserrat', sans-serif;
    color: #333;
    background-color: white;
    overflow-x: hidden;
}

/* Roter Balken Ã¼ber dem Banner */
.top-bar {
    background-color: #871d33;
    height: 30px;
    width: 100%;
}

/* Banner Section */
header {
    position: relative; /* FÃ¼r die Overlay-Schicht */
    background-image: url('media/banner.jpg'); 
    background-size: cover;
    background-position: center;
    height: 30vh; 
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #333;
    text-align: center;
    padding: 20px;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(237, 237, 237, 0.9);
    z-index: 1;
}

header h1, header p, .logos {
    position: relative; 
    z-index: 2;
}

header h1 {
    font-size: 2.5rem; 
    margin-bottom: 10px;
}

header p {
    font-size: 1.2rem; 
}


.logo-section {
    background-color: #f9f9f9; 
    padding: 40px 0; 
    text-align: center;
}

.logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
}

.logos img {
    width: 150px;
    height: auto;
    transition: transform 0.3s ease;
}

.logos img:hover {
    transform: scale(1.2); 
}

/* Grey Section Below Banner */
.highlight-section {
    background-color: #ededed;
    padding: 60px 20px;
    text-align: center;
}

.highlight-section h2 {
    font-size: 2.5rem;
    color: #871d33;
    margin-bottom: 20px;
}

/* 3x3 Grid of Info Boxes */
.grid-section {
    padding: 60px 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    justify-items: center;
}

.info-box {
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    animation: fadeInUp 1s ease-in-out;
    width: 100%;
    max-width: 300px;
}

.info-box img {
    width: 100px;
    height: auto;
    margin-bottom: 20px;
}

.info-box h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: #871d33;
    text-decoration: none;
}

.info-box p {
    font-size: 1rem;
    color: #666;
    text-decoration: none; 
}

.info-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

a {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

/* Scroll Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Footer Section */
footer {
    background-color: #333;
    color: white;
    padding: 40px 20px;
    text-align: center;
    margin-top: 60px;
}

footer h3 {
    font-size: 1.5rem;
    color: #ededed;
    margin-bottom: 10px;
}

footer p {
    color: #ccc;
    font-size: 1rem;
    margin-bottom: 20px;
}

.footer-content {
    margin-bottom: 20px;
}

.social-icons a {
    display: inline-block;
    margin: 0 10px;
}

.social-icons img {
    width: 30px;
    height: 30px;
    filter: brightness(0) invert(1); 
    transition: transform 0.3s ease;
}

.social-icons a:hover img {
    transform: scale(1.2);
}

.footer-bottom {
    border-top: 1px solid #555;
    padding-top: 20px;
    font-size: 0.875rem;
}

.footer-bottom a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: #fff;
}

/* Responsive Design */
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }

    header p {
        font-size: 1rem; 
    }

    .logos img {
        width: 80px; 
    }

    .logos {
        padding: 10px 20px; 
    }

    .info-box img {
        width: 80px;
    }

    footer h3 {
        font-size: 1.25rem;
    }

    .social-icons img {
        width: 25px;
        height: 25px;
    }
}
