/* =========================
   RESET & BASIS
   ========================= */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #000;
    color: #fff;
}

/* =========================
   HEADER (OBERER BEREICH)
   ========================= */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: linear-gradient(#111, #000);
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #000;
    color: #fff;
}


/* Titelbereich */
.header-title {
    text-align: center;
    padding: 30px 10px 20px;
}

.header-title h1 {
    font-size: 34px;
    font-weight: bold;
    margin-bottom: 8px;
}

.header-title p {
    font-size: 16px;
    color: #ddd;
}

/* =========================
   NAVIGATION
   ========================= */
.main-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    background: #000;
    border-top: 1px solid #222;
    border-bottom: 2px solid #900;
}

.main-nav a {
    color: #fff;
    text-decoration: none;
    padding: 14px 18px;
    font-size: 15px;
}

.main-nav a:hover {
    background: #900;
}

/* =========================
   SEITENINHALT
   ========================= */

main {
    max-width: 1100px;
    margin: auto;
    padding: 190px 15px 40px;
    text-align: center;
}


/* =========================
   STANDARD-ELEMENTE
   ========================= */
h1 {
    text-decoration: underline;
    margin-bottom: 30px;
}

h2 {
    color: #ff5555;
    margin-top: 30px;
}

section {
    background: rgba(0,0,0,0.7);
    padding: 20px;
    border-left: 4px solid #900;
    margin-bottom: 25px;
    text-align: left;
}

section p {
    margin-bottom: 18px;
}




/* =========================
   BILDER & GALERIEN
   ========================= */
img {
    max-width: 100%;
    height: auto;
}

.viewer img {
    border: 3px solid #900;
}

.controls button {
    padding: 10px 20px;
    margin: 5px;
    background: #900;
    color: #fff;
    border: none;
    cursor: pointer;
}

.controls button:hover {
    background: #c00;
}

/* =========================
   FOOTER
   ========================= */
footer {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid #333;
    font-size: 13px;
    color: #aaa;
    text-align: center;
}

/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 700px) {
    .header-title h1 {
        font-size: 24px;
    }

    .main-nav a {
        padding: 10px 12px;
        font-size: 14px;
    }

    main {
        padding-top: 220px;
    }
}

/* =========================
   MITGLIEDER – VORSTAND
   ========================= */
.board {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin: 30px 0;
}

.member {
    text-align: center;
}

.member img {
    border: 3px solid #900;
    cursor: pointer;
}

/* =========================
   MITGLIEDER GALERIE
   ========================= */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
    margin: 30px 0;

    justify-items: center;   /* ← DAS ist der Fix */
    align-items: center;     /* ← optional, aber sauber */
}


.gallery img {
    border: 2px solid #555;
    cursor: pointer;
    transition: transform 0.2s;
}

.gallery img:hover {
    transform: scale(1.05);
}

/* =========================
   LIGHTBOX (BILDER + VIDEOS)
   ========================= */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    z-index: 3000;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.lightbox img {
    max-width: 90%;
    max-height: 80vh;
    border: 4px solid #900;
}

.lightbox video {
    max-width: 90%;
    max-height: 70vh;
    border: 4px solid #900;
}

.lightbox button {
    margin-top: 20px;
    padding: 10px 25px;
    font-size: 16px;
    background: #900;
    color: #fff;
    border: none;
    cursor: pointer;
}

.lightbox button:hover {
    background: #c00;
}

/* =========================
   VIDEOS (VORSCHAUBILDER)
   ========================= */
.videos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    justify-items: center;
    gap: 25px;
    margin: 30px 0;
    text-align: center;
}

.videos img {
    width: 180px;
    height: 100px;
    object-fit: cover;
    border: 3px solid #900;
    cursor: pointer;
}

.video-item p {
    margin-top: 8px;
    font-size: 14px;
    color: #ddd;
}

/* =========================
   GALERIE – JAHRESNAVIGATION
   ========================= */

.year-wrapper {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 25px;
    margin: 40px 0 100px; /* unten deutlich mehr Luft */
}

/* Bilder links & rechts */
.year-image {
    width: 210px;
    height: 210px;
    object-fit: cover;
    border: none;   /* ← Rahmen weg */
}

/* Button-Grid */
.year-buttons {
    display: grid;
    grid-template-columns: repeat(6, 1fr); /* GENAU 6 Buttons pro Reihe */
    gap: 15px;
    justify-items: center;
}


/* Buttons */
.year-buttons a {
    display: inline-block;
    width: 100%;
    max-width: 120px;
    padding: 10px 0;
    background: #222;
    border: 2px solid #900;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    text-align: center;
}

.year-buttons a:hover {
    background: #900;
}


/* =========================
   HEADLINE – NIE VERGESSENE BRÜDER
   ========================= */

.headline {
    text-align: center;
    font-size: 2em;
    font-weight: bold;
    text-decoration: none;
}

.headline img {
    border: 2px solid black;
    vertical-align: middle;
}

.headline span {
    font-size: 1.4em;
    font-weight: 800;
    margin: 0 15px;
    display: inline-block;
}


.rip-image {
    height: 200px;
    width: auto;
    display: block;
    margin: 30px auto;
}

