        /* --- 1. GRUNDEINSTELLUNGEN & TYPOGRAFIE --- */
        /* Hier werden die Schriftarten geladen und globale Regeln für das Layout festgelegt. */

        /* quicksand-300 - latin */
        @font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Quicksand';
  font-style: normal;
  font-weight: 300;
  src: url('../fonts/quicksand-v37-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
        }   

        /* quicksand-regular - latin */
        @font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Quicksand';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/quicksand-v37-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
        }

/* quicksand-500 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Quicksand';
  font-style: normal;
  font-weight: 500;
  src: url('../fonts/quicksand-v37-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* quicksand-600 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Quicksand';
  font-style: normal;
  font-weight: 600;
  src: url('../fonts/quicksand-v37-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* quicksand-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Quicksand';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/quicksand-v37-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}


        :root {
            --bg-main: #121212;
            --bg-card: #1e1e1e;
            --action-orange: #ff5e00;
            --text-light: #e0e0e0;
            --text-muted: #888888;
            --text-dark-muted: #555;
            --main-font: 'Quicksand', sans-serif;
            --schwarz: #000000;
        }

        body, html {
            margin: 0;
            padding: 0;
            font-family: var(--main-font);
            background-color: var(--bg-main);
            color: var(--text-light);
            scroll-behavior: smooth; /* Sorgt dafür, dass der Klick auf den Pfeil weich scrollt */
        }

        /* --- VOLLBILD-HERO BEREICH --- */
        /* Definiert das Intro-Bild der Startseite, das immer die volle Bildschirmhöhe einnimmt. */
        .hero-section {
            position: relative; /* Wichtig für die Positionierung des Pfeils */
            background-image: url('../images/index/gambia-fluss.webp');
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            height: 100vh; /* Exakt 100% der Bildschirmhöhe */
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            padding: 20px;
            box-sizing: border-box;
        }

        .title {
            color: var(--action-orange);
            font-size: 5rem;
            font-weight: 700;
            text-transform: none;
            letter-spacing: 5px;
            margin: 0 0 10px 0;
            line-height: 1;
            text-shadow: 0 2px 10px rgba(0,0,0,0.5);
            /*-webkit-text-stroke: 1px var(--schwarz);*/

            /* NEU: Der 8-Wege-Schatten-Trick (Verhindert die dreieckigen Spitzen im "M"!) */
            text-shadow: 
            -2px -2px 0 #000,  
             2px -2px 0 #000,  
            -2px  2px 0 #000,  
             2px  2px 0 #000,  
            -2px  0px 0 #000,  
             2px  0px 0 #000,  
             0px  2px 0 #000,  
             0px -2px 0 #000,  
             0px  2px 10px rgba(0,0,0,0.5); /* Der weiche Drop-Shadow obendrauf */

        }

        .subtitle {
            color: var(--text-dark-muted);
            font-size: 1.8rem;
            font-weight: 600;
            margin: 0;
            line-height: 1.2;
            letter-spacing: 2px;
            text-shadow: 0 1px 5px rgba(0,0,0,0.3);
            -webkit-text-stroke: 0.5px var(--schwarz);
        }


        /* --- DER HÜPFENDE PFEIL --- */
        .scroll-down {
            position: absolute;
            bottom: 40px;
            left: 50%;
            transform: translateX(-50%);
            color: var(--action-orange);
            font-size: 4rem;
            text-decoration: none;
            animation: bounce 2s infinite;
            text-shadow: 0 2px 5px rgba(0,0,0,0.5);
            -webkit-text-stroke: 1px black;
        }

        @keyframes bounce {
            0%, 20%, 50%, 80%, 100% {
                transform: translateY(0) translateX(-50%);
            }
            40% {
                transform: translateY(-20px) translateX(-50%);
            }
            60% {
                transform: translateY(-10px) translateX(-50%);
            }
        }

        /* --- TIMELINE BEREICH --- */
        /* Das Layout für deine Blog/Galerie-Übersicht in der Mitte der Startseite. */
        .timeline-wrapper {
            padding: 80px 20px;
        }

        .timeline {
            position: relative;
            max-width: 1000px;
            margin: 0 auto;
            padding: 20px 0;
        }

        .timeline::after {
        /* Die vertikale Linie in der Timeline */
            content: '';
            position: absolute;
            width: 2px;
            background: var(--action-orange);
            top: 0;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            box-shadow: 0 0 10px rgba(255, 94, 0, 0.4);
        }

        .container {
            padding: 10px 50px;
            position: relative;
            width: 50%;
            box-sizing: border-box;
        }

        .left { left: 0; text-align: right; }
        .right { left: 50%; text-align: left; }

        .container::after {
            content: '';
            position: absolute;
            width: 14px;
            height: 14px;
            background-color: var(--action-orange);
            border-radius: 50%;
            top: 40px;
            z-index: 1;
            box-shadow: 0 0 15px var(--action-orange);
        }

        .left::after { right: -7px; }
        .right::after { left: -7px; }

        /* --- KARTEN --- */
        .card {
            background-color: var(--bg-card);
            padding: 30px;
            border-radius: 12px;
            position: relative;
            text-decoration: none;
            display: block;
            color: inherit;
            border: 1px solid rgba(255,255,255,0.03);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }

        .card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(0,0,0,0.5), 0 0 15px rgba(255, 94, 0, 0.1);
            border-color: rgba(255, 94, 0, 0.3);
        }

        .card::before {
            content: " ";
            height: 0;
            position: absolute;
            top: 36px;
            width: 0;
            z-index: 1;
            border: medium solid var(--bg-card);
        }

        .left .card::before {
            right: -10px;
            border-width: 10px 0 10px 10px;
            border-color: transparent transparent transparent var(--bg-card);
        }

        .right .card::before {
            left: -10px;
            border-width: 10px 10px 10px 0;
            border-color: transparent var(--bg-card) transparent transparent;
        }

        .date {
            display: block;
            font-size: 0.85rem;
            color: var(--action-orange);
            margin-bottom: 8px;
            text-transform: uppercase;
            letter-spacing: 1px;
            font-weight: 600;
        }

        .card h2 {
            margin: 0 0 10px 0;
            font-size: 1.5rem;
            font-weight: 600;
            color: #ffffff;
        }

        .card p {
            margin: 0;
            font-size: 1rem;
            font-weight: 300;
            color: #a0a0a0;
        }

        /* --- RESPONSIVE --- */
        @media screen and (max-width: 768px) {
            .title { font-size: 3.5rem; letter-spacing: 3px; }
            .subtitle { font-size: 1.3rem; }

            .timeline::after {
                left: 31px;
                transform: none;
            }
            .container {
                width: 100%;
                padding-left: 70px;
                padding-right: 20px;
                text-align: left;
            }
            .right { left: 0; }
            .left::after, .right::after { left: 24px; }
            .left .card::before, .right .card::before {
                left: -10px;
                border-width: 10px 10px 10px 0;
                border-color: transparent var(--bg-card) transparent transparent;
            }
        }

/* --- 4. GALERIE & LAYOUT FIX --- BEM Standart */
/* Hier sorgt der Flex-Grow (flex: 1) dafür, dass die Galerie den Platz zwischen Header und Footer ausfüllt. */
.gallery-section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-header {
    text-align: center;
    margin-bottom: 50px;
}

.gallery-header__title {
    color: var(--action-orange);
    font-size: 3rem;
    margin-bottom: 10px;
    text-transform: none;
}

.gallery-header__back-link {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
}

.gallery-header__back-link:hover {
    color: var(--action-orange);
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.gallery__item {
    margin: 0;
    overflow: hidden;
    border-radius: 8px;
    background-color: var(--bg-card);
}

.gallery__link {
    display: block;
    cursor: pointer;
}

.gallery__image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery__link:hover .gallery__image {
    transform: scale(1.05);
}


/* --- 5. LIGHTBOX (VOLLBILD-MODUS) --- */
/* Ein verstecktes Overlay, das erst bei Klick auf ein Bild per JavaScript eingeblendet wird. */

/*.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    align-items: center;
    justify-content: center;
    flex-direction: column;

 */
.lightbox {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    display: none; /* Erst per JS auf flex geändert */
    align-items: center;
    justify-content: center;
    flex-direction: column;

}



.lightbox--active {
    display: flex;
}

.lightbox__image {
    max-width: 90%;
    max-height: 80vh;
    box-shadow: 0 0 20px rgba(0,0,0,0.8);
    border: 2px solid var(--bg-card);
    margin-bottom: 20px;
}

.lightbox__close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: var(--text-light);
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.lightbox__close:hover {
    color: var(--action-orange);
}

/* --- 6. FOOTER & DOWNLOAD --- */
/* Der Bereich am unteren Ende der Unterseiten. */

.lightbox__downloads {
    display: flex;
    gap: 15px;
}

.footer-download {
    padding: 40px;
    text-align: center;
}

.lightbox__btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--text-muted);
    color: var(--text-dark-muted);
    text-decoration: none;
    border: 1px solid var(--text-dark-muted);
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.lightbox__btn:hover {
    background-color: var(--action-orange);
    color: #000;
    border-color: var(--action-orange);
    box-shadow: 0 0 10px rgba(255, 94, 0, 0.3);
}



/* --- 7. LIGHTBOX NAVIGATION (SAUBER) --- */

.lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    font-size: 3rem;
    color: var(--text-muted); /* Helles Grau */
    cursor: pointer;
    padding: 20px;
    z-index: 1001;
    transition: all 0.3s ease;
}

.lightbox__nav:hover {
    color: var(--action-orange); /* Orange beim Hover */
}

.lightbox__nav--prev { left: 20px; }
.lightbox__nav--next { right: 20px; }

/* Download-Button wieder zentrieren */
.lightbox__downloads {
    
    text-align: center;
    
    width: 100%;             /* Nimmt die volle Breite ein */
    display: flex;           /* Aktiviert Flexbox */
    justify-content: center; /* Zentriert den Inhalt (den Button) horizontal */
    margin-top: 20px;        /* Abstand zum Bild */
    padding-bottom: 20px;    /* Abstand zum unteren Rand */
}

/* --- 5. LIGHTBOX NAVIGATION (MOBILE OPTIMIERUNG) --- */

@media screen and (max-width: 768px) {
    .lightbox__nav {
        font-size: 2rem;      /* Pfeile kleiner machen */
        padding: 10px;        /* Weniger Platz drumherum */
    }

    .lightbox__nav--prev { left: 5px; } /* Weiter an den Rand */
    .lightbox__nav--next { right: 5px; }
}

/* --- BLOG SEITE STYLING --- */

/* --- BLOG HEADER DESIGN --- */
.blog-header {
text-align: center;
margin-bottom: 60px;
padding-bottom: 30px;
padding-top: 60px;
border-bottom: 1px solid var(--bg-card);
}

.blog-header__back {
display: inline-block;
color: var(--text-muted);
text-decoration: none;
margin-bottom: 20px;
transition: color 0.3s ease;
}

.blog-header__back:hover {
color: var(--action-orange);
}

.blog-header__title {
font-size: 3rem;
color: var(--action-orange);
margin: 0 0 15px 0;
text-transform: none
}

.blog-header__date {
display: block;
color: var(--text-muted);
font-size: 1rem;
letter-spacing: 1px;
}




.blog-page {
line-height: 1.6;
color: var(--text-light);
}

.blog-post {
max-width: 800px;
margin: 0 auto;
padding: 80px 20px;
}

.blog-post__back {
display: inline-block;
color: var(--action-orange);
text-decoration: none;
margin-bottom: 20px;
}

.blog-post__title {
font-size: 2.5rem;
margin-bottom: 10px;
color: #fff;
}

.blog-post__date {
display: block;
color: var(--text-muted);
margin-bottom: 40px;
}

.blog-post__content p {
margin-bottom: 20px;
font-size: 1.1rem;
}

.blog-post__figure {
margin: 40px 0;
}

.blog-post__image {
width: 100%;
border-radius: 8px;
box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.blog-post__caption {
margin-top: 10px;
font-size: 0.9rem;
color: var(--text-muted);
font-style: italic;
}