﻿/* --- Globales Styling & Reset --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    background: linear-gradient(135deg, #0b132b, #1c2541, #3a506b);
    background-attachment: fixed;
    color: #ffffff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

h1, h2, .logo {
    font-family: 'Montserrat', sans-serif;
}

/* --- Horizontale Linkleiste (Navbar) --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 5%;
    background-color: rgba(11, 19, 43, 0.9); /* Dunkelblau, leicht transparent */
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 2px;
    color: #4cc9f0; /* Neon-Blau Akzent */
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: #e0e1dd;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease, border-bottom 0.3s ease;
    padding-bottom: 5px;
}

.nav-links a:hover {
    color: #4cc9f0;
    border-bottom: 2px solid #4cc9f0;
}

/* --- Hero Section --- */
.hero {
    text-align: center;
    padding: 5rem 1rem 3rem 1rem;
    background: radial-gradient(circle at center, rgba(76, 201, 240, 0.15) 0%, transparent 70%);
}

.hero h1 {
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: 3px;
    margin-bottom: 1rem;
    color: #ffffff;
    text-shadow: 0 0 15px rgba(76, 201, 240, 0.4);
}

.hero p {
    max-width: 600px;
    margin: 0 auto 2rem auto;
    font-size: 1.1rem;
    color: #c0c7d6;
    line-height: 1.6;
}

.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: #4cc9f0;
    color: #0b132b;
    font-weight: 700;
    border-radius: 30px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(76, 201, 240, 0.5);
}

/* --- Content / Grid Section --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
    flex: 1; /* Schiebt das Footer nach unten */
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2rem;
    backdrop-filter: blur(5px);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    border-color: #4cc9f0;
}

.card h2 {
    color: #4cc9f0;
    margin-bottom: 1rem;
}

.card p {
    color: #c0c7d6;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.card-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.card-link:hover {
    color: #4cc9f0;
}

/* --- Footer --- */
footer {
    text-align: center;
    padding: 2rem;
    background-color: #0b132b;
    color: #6c757d;
    font-size: 0.9rem;
    margin-top: 3rem;
}

/* --- Responsive Design (Mobilgeräte) --- */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 1rem;
    }

    .hero h1 {
        font-size: 2.2rem;
    }
}
/* Styling für das Band-Grid */
.member-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.member-card {
    background: #ffffff; /* bzw. deine Card-Hintergrundfarbe */
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Erzwingt exakt gleiche Bildgrößen */
.img-wrapper {
    width: 100%;
    height: 250px; /* Feste Höhe für alle Bild-Container */
    overflow: hidden;
    border-radius: 6px;
    margin-bottom: 15px;
}

.img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Schneidet Bilder sauber zu, ohne sie zu verzerren */
    object-position: center;
}

.member-card h3 {
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.member-card .role {
    font-size: 0.9rem;
    color: #666;
    font-weight: 600;
}

.back-link-wrapper {
    margin-top: 40px;
    margin-bottom: 20px;
}
/* Layout-Container für die Karten */
.member-grid {
    display: grid;
    /* Große Bildschirme: Automatisch mehrere Spalten (mind. 280px breit) nebeneinander */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px; /* Abstand zwischen den Bildern */
    width: 100%;
}

/* Karten-Styling */
.member-card {
    background-color: #f9f9f9; /* Optional: Hintergrundfarbe für die Karten */
    border-radius: 8px;
    padding: 15px;
    box-sizing: border-box;
}

/* Responsive Bilder & Skalierung */
.img-wrapper img {
    width: 100%;       /* Das Bild passt sich voll an die Karte an */
    height: auto;      /* Behält das Seitenverhältnis bei */
    display: block;
    border-radius: 4px;
}

/* Media Query für kleine Bildschirme (Mobile) */
@media (max-width: 600px) {
    .member-grid {
        /* Bricht auf 1 Spalte um (untereinander) */
        grid-template-columns: 1fr; 
    }
}