body {
    font-family: wosa;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    color: black;
    overflow-x: hidden; /* Verhindert horizontales Scrollen */

}

@font-face {
    font-family: snb;
    src: url(/assets/fonts/StickNoBills-VariableFont_wght.ttf);
}

@font-face {
    font-family: wosa;
    src: url(/assets/fonts/Work_Sans/WorkSans-VariableFont_wght.ttf);
}

.banner {
    position: relative; /* Wichtig: Ermöglicht die absolute Positionierung des Kindelements */
    display: inline-block; /* Oder block, je nachdem, wie dein Bild im Layout ist */
}

.banner img {
    display: block; /* Entfernt zusätzlichen Platz unter dem Bild */
    max-width: 100%; /* Stellt sicher, dass das Bild responsiv ist */
    height: auto;
    margin-bottom: 2rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header Bereich Styling */
header {
    background-color: var(--dark-background);
    color: var(--light-text-color);
    padding: 80px 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

header::before { /* Pseudo-Element für subtilen Hintergrundeffekt */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(74, 0, 0, 0.8), rgba(26, 26, 26, 0.8));
    z-index: 0;
    opacity: 0.8;
}

header h1 {
    font-size: 4.5em;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
    position: relative; /* Über dem Pseudo-Element */
    z-index: 1;
}


header p {
    font-size: 1.4em;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

/* Allgemeine Sektionen Styling */
.section-padding {

    padding-bottom: 80px;
    text-align: center;
}

.section-heading {
    font-family: snb;
    font-size: 3.2em;
    color: var(--primary-color);
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-heading::after { /* Unterstreichungseffekt */
    content: '';
    position: absolute;
    left: 50%;
    bottom: -15px;
    transform: translateX(-50%);
    width: 100px;
    height: 5px;
    background-color: var(--primary-color);
    border-radius: 3px;
}

/* Bandmitglieder Bereich */
.band-members-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 60px;
    margin-top: 60px;
}

.member-card {
    background-color: var(--light-text-color);
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    padding: 40px;
    text-align: center;
    width: 420px; /* Feste Breite für die Karten */
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent; /* Für den Hover-Effekt */
}

.member-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.25);
    border-color: var(--primary-color);
}

.member-card img {
    width: 220px;
    height: 250px; /* Angepasst für rechteckige Form */
    object-fit: cover;
    border-radius: 10%; /* Abrundung für rechteckige Bilder */
    border: 6px solid var(--primary-color);
    margin-bottom: 30px;
    box-shadow: 0 0 0 10px rgba(74, 0, 0, 0.1); /* Subtiler Halo-Effekt */
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.member-card:hover img {
    border-color: var(--dark-background);
    box-shadow: 0 0 0 10px rgba(26, 26, 26, 0.15);
}

.member-card h3 {
    font-family: var(--font-heading);
    font-size: 2.5em;
    color: var(--dark-background);
    margin-bottom: 10px;
    text-transform: capitalize;
}

.member-card p {
    font-size: 1.15em;
    color: #555;
    margin-bottom: 25px;
    text-align: left; /* Text in der Karte linksbündig */
}

.member-card strong {
    color: var(--primary-color);
}

.member-social {
    list-style: none;
    padding: 0;
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.member-social a {
    color: var(--primary-color);
    font-size: 1.8em;
    transition: color 0.3s ease, transform 0.3s ease;
}

.member-social a:hover {
    color: var(--dark-background);
    transform: scale(1.2);
}

/* Bandgeschichte Bereich */
.band-story-content {
    display: flex;
    flex-direction: row; /* Standard: nebeneinander */
    align-items: center;
    justify-content: center;
    gap: 80px;
    flex-wrap: wrap; /* Erlaubt Umbruch auf kleinen Bildschirmen */
    margin-top: 50px;
}

.band-story-text {
    flex: 1;
    min-width: 300px; /* Mindestbreite, bevor es umbricht */
    max-width: 700px;
    text-align: left;
}

.band-story-text p {
    font-size: 1.2em;
    color: #444;
    margin-bottom: 20px;
}

.band-story-image {
    flex-shrink: 0; /* Verhindert, dass das Bild schrumpft */
    max-width: 500px;
    width: 100%;
}

.band-story-image img {
    width: 100%;
    height: auto;
    border-radius: 1rem; /* Abrundung für rechteckige Bilder */
    transition: transform 0.3s ease;
}

.band-story-image img:hover {
    transform: scale(1.03);
}

/* Responsive Design */
@media (max-width: 1024px) {
    header h1 {
        font-size: 3.5em;
    }
    .section-heading {
        font-size: 2.8em;
    }
    .band-members-grid {
        gap: 40px;
    }
    .member-card {
        width: 90%;
        max-width: 380px; /* Max-Breite beibehalten, damit es nicht zu riesig wird */
    }
    .band-story-content {
        gap: 50px;
    }
    .band-story-image {
        max-width: 90%;
    }
}

@media (max-width: 768px) {
            header h1 {
                font-size: 2.8em;
            }
            header p {
                font-size: 1.2em;
            }
            .section-padding {
                padding: 60px 0;
            }
            .section-heading {
                font-size: 2.5em;
                margin-bottom: 40px;
            }
            .section-heading::after {
                width: 80px;
            }
            .member-card img {
                width: 180px;
                height: 200px; /* Angepasst für rechteckige Form */
            }
            .member-card h3 {
                font-size: 2em;
            }
            .member-card p {
                font-size: 1.05em;
            }
            .band-story-text p {
                font-size: 1.1em;
            }
            .band-story-content {
                flex-direction: column; /* Stapelt Bild und Text untereinander */
                gap: 40px;
            }
        }

@media (max-width: 480px) {
    header {
        padding: 50px 15px;
    }
    header h1 {
        font-size: 2em;
    }
    header p {
        font-size: 1em;
    }
    .section-padding {
        padding: 40px 0;
    }
    .section-heading {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .section-heading::after {
        height: 3px;
        width: 60px;
    }
    .member-card {
        padding: 30px;
    }
    .member-card img {
        width: 150px;
        height: 170px; /* Angepasst für rechteckige Form */
        border-width: 4px;
    }
    .member-card h3 {
        font-size: 1.8em;
    }
    .member-card p {
        font-size: 0.95em;
    }
    .member-social a {
        font-size: 1.5em;
    }
    .band-story-text p {
        font-size: 1em;
    }
}
