/* ===============================
   GLOBAL RESET
================================ */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

/* ===============================
   BASICS
================================ */
body{
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu;
    background:#0a0a0a;
    color:#ffffff;
    line-height:1.5;
}


/* ===============================
   MAIN CONTENT
================================ */
main{
    width:100%;
    margin:0;
    padding:0;
}

/* ===============================
   FOOTER
================================ */
footer{
    position:relative;
    padding:70px 20px 24px;
    text-align:center;
    font-size:14px;
    color:#888;
}

/* Verlaufender Akzent-Strich */
footer::before{
    content:"";
    position:absolute;
    top:0;
    left:50%;
    transform:translateX(-50%);
    width:1000px;         /* Gesamtlänge */
    height:1.5px;           /* Grunddicke */
    background:linear-gradient(
        to right,
        transparent,
        rgba(242,201,76,0.25),
        rgba(242,201,76,0.9),
        rgba(242,201,76,0.25),
        transparent
    );
    box-shadow:
        0 0 20px rgba(242,201,76,.55);
}

/* ===============================
   STARTSEITE
================================ */
.home{
    display:flex;
    flex-direction:column;
    gap:40px;
}

/* ===============================
   HERO – DIREKT UNTER NAVBAR
================================ */
.hero{
    padding:24px 20px 32px;
}

.hero-inner{
    max-width:1200px;
    margin:0 auto;
    display:flex;
    align-items:flex-start;
    gap:32px;
}

/* Logo */
.hero-logo{
    width:150px;
    flex-shrink:0;
    filter:
        drop-shadow(0 0 12px rgba(77,163,255,.45))
        drop-shadow(0 0 28px rgba(77,163,255,.25));
    transition:transform .3s ease;
}

.hero-logo:hover{
    transform:scale(1.03);
}

/* Text */
.hero-text h1{
    font-size:clamp(42px,6vw,72px);
    line-height:1.1;
    font-weight:800;
}

.hero-text h1 span{
    color:#0057A8;
}

.hero-sub{
    margin-top:16px;
    font-size:17px;
    color:#555;
}

/* ===============================
   CONTENT BLOCKS
================================ */
.block{
    max-width:900px;
    margin:0 auto;
    padding:0 20px;
}

.block h2{
    font-size:28px;
    margin-bottom:16px;
}

.block p{
    font-size:17px;
    margin-bottom:14px;
    color:#333;
}

/* Highlight */
.block.highlight{
    padding-left:24px;
    border-left:4px solid #0057A8;
}

/* ===============================
   CLOSING
================================ */
.closing{
    text-align:center;
    padding:60px 20px;
}

.closing p{
    font-size:22px;
    line-height:1.6;
    margin-bottom:20px;
}

.closing .name{
    font-size:18px;
    color:#555;
}

/* ===============================
   NAVBAR (zentriert + aktiv)
================================ */
/* Navbar Sticky mit hoher Z-Index, um sicherzustellen, dass sie immer vorne bleibt */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;  /* Hoher Wert, um sicherzustellen, dass die Navbar im Vordergrund bleibt */
    display: flex;
    justify-content: center; /* Zentriert die Navbar insgesamt */
    align-items: center;
    gap: 36px;
    padding: 16px 0;
    background: #0b56a7;  /* Solide Farbe für die Navbar */
    width: 100%;
}


/* Container für Links und Logo */
.nav-inner {
    display: flex;
    justify-content: center; /* Zentriert alles in der Navbar */
    align-items: center;
    width: 100%;
    max-width: 1400px; /* Maximale Breite der Navbar */
    margin: 0 auto; /* Zentriert den Container */
}

/* Logo Styling */
.navbar-logo {
    display: flex;
    align-items: center;
    margin-right: 20px; /* Abstand nach rechts */
}

.navbar-logo-img {
    height: 40px; /* Größe des Logos anpassen */
    width: auto;
}

/* NAVIGATION LINKS */
.navbar-links {
    display: flex; /* Links horizontal anzeigen */
    gap: 36px; /* Abstand zwischen den Links */
    justify-content: center; /* Links in der Mitte */
}

/* NAVIGATION LINKS */
.navbar a {
    position: relative;
    text-decoration: none;
    color: #ffe338;
    font-weight: 500;
    padding-bottom: 6px;
    transition: color .2s ease;
}

.navbar a:hover {
    color: #ffe338;
}

.navbar a.active::after {
    content: "";
    position: absolute;
    left: -12px;
    right: -12px;
    bottom: -10px;
    height: 3px;
    background: #ffe338;
    box-shadow:
        0 0 10px rgba(255, 227, 56, 1),
        0 0 28px rgba(255, 227, 56, .85),
        0 0 60px rgba(255, 227, 56, .65);
    border-radius: 2px;
}

@keyframes glowPulse {
    0% { box-shadow: 0 0 12px rgba(255, 227, 56, .6); }
    50% { box-shadow: 0 0 42px rgba(255, 227, 56, 1); }
    100% { box-shadow: 0 0 12px rgba(255, 227, 56, .6); }
}

/* Aktiver Link – Strich hinzufügen */
.navbar a.active {
    position: relative;
}

.navbar a.active::after {
    content: "";
    position: absolute;
    bottom: -5px;  /* Abstand nach unten */
    left: 0;
    right: 0;
    height: 3px;  /* Höhe des Strichs */
    background: #ffe338;  /* Schwefelgelber Strich */
    box-shadow:
        0 0 10px rgba(255, 227, 56, 1),
        0 0 28px rgba(255, 227, 56, .85),
        0 0 60px rgba(255, 227, 56, .65);
    border-radius: 2px;
    /* Optional: Animation für das Leuchten */
    animation: glowPulse 2.6s ease-in-out infinite;
}

/* Animation für den leuchtenden Strich */
@keyframes glowPulse {
    0% { box-shadow: 0 0 12px rgba(255, 227, 56, .6); }
    50% { box-shadow: 0 0 42px rgba(255, 227, 56, 1); }
    100% { box-shadow: 0 0 12px rgba(255, 227, 56, .6); }
}


/* ===============================
   MOBILE
================================ */
@media(max-width:900px){
    .hero-inner{
        flex-direction:column;
        text-align:center;
    }

    .hero-logo{
        margin-bottom:20px;
    }
}

/* ===============================
   2 BOXEN – SCHWEFELGELB GLOW
================================ */

.job-grid{
	max-width:1200px;
	margin:0 auto;
	padding:0 20px;
	display:grid;
	grid-template-columns: 1fr 1fr;
	gap:34px;
}

.job-box {
    position: relative;
    padding: 32px;
    border-radius: 14px;

    /* Dunkle Card */
    background: rgba(10, 10, 10, .72);
    border: 1px solid rgba(255, 255, 255, .08);

    /* Schwefelgelb Glow */
    box-shadow:
        0 0 0 1px rgba(255, 227, 56, .18),
        0 0 40px rgba(255, 227, 56, .18),
        0 0 90px rgba(255, 227, 56, .10);

    backdrop-filter: blur(8px);

    /* Text Zentrierung */
    text-align: center;  /* Horizontaler Text-Align */
    display: flex;
    flex-direction: column;
    justify-content: center;  /* Vertikale Zentrierung */
    align-items: center;  /* Horizontal zentrieren */
    min-height: 200px; /* Minimum Höhe für die Box */
}

.job-box::before{
    content:"";
    position:absolute;
    inset:-2px;
    border-radius:16px;
    background:radial-gradient(circle at top left,
        rgba(255,227,56,.30),
        transparent 60%);
    pointer-events:none;
}

.job-box h2 {
    color: #fff;
    font-size: 26px;
    margin-bottom: 16px;
}

.job-box p {
    color: rgba(255, 255, 255, .80);
    font-size: 16.5px;
    line-height: 1.65;
    margin-bottom: 14px;
}

.job-strong {
    font-weight: 700;
    color: #fff;
}

.job-lines {
    font-weight: 600;
    color: #fff;
}

/* Mobile: untereinander */
@media (max-width: 900px) {
    .job-grid {
        grid-template-columns: 1fr;
    }
}


/* ===============================
   JOB BOXEN – SCHWEFELGELB
================================ */

.job-grid{
    max-width:1200px;
    margin:40px auto;
    padding:0 20px;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:36px;
}

.job-box{
    position:relative;
    padding:36px;
    border-radius:14px;

    background:#0f0f0f;

    border:1px solid rgba(255,255,255,.12);

    box-shadow:
        0 0 0 1px rgba(255, 227, 56, .25),
        0 0 40px rgba(255, 227, 56, .25),
        0 0 120px rgba(255, 227, 56, .15);
}

.job-box h2{
    font-size:26px;
    margin-bottom:18px;
    color:#ffffff;
}

.job-box p{
    font-size:16.5px;
    line-height:1.65;
    color:#dddddd;
    margin-bottom:14px;
}

.job-strong{
    font-weight:700;
    color:#ffffff;
}

.job-lines{
    font-weight:600;
    color:#ffffff;
}

/* Mobile */
@media(max-width:900px){
    .job-grid{
        grid-template-columns:1fr;
    }
}

/* ===============================
   MOBILE ANPASSUNGEN (Unter 700px)
================================ */
@media (max-width: 700px) {
    .statement {
        font-size: 18px; /* Kleinere Schriftgröße */
        white-space: normal; /* Text darf umbrechen */
        word-wrap: break-word; /* Lange Wörter werden umgebrochen */
        padding: 0 15px; /* Etwas Abstand auf den Seiten für den Text */
    }
    
    .signature {
        font-size: 14px; /* Kleinere Signatur auf mobilen Geräten */
        margin-top: 30px; /* Weniger Abstand zur Signatur */
    }
}

/* ===============================
   STATEMENT ROTATOR
================================ */
.statement-rotator{
    margin: 40px auto 80px; /* Deutlich näher an die Boxen */
    text-align: center;
    position: relative;
}

.statement {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;

    white-space: nowrap;        /* 🔥 IMMER eine Zeile */
    text-align: center;

    font-size: 22px;
    font-weight: 600;
    color: #fff;

    transition: opacity 1.2s ease;

    text-shadow:
        0 0 12px #ffe43873,
        0 0 32px #ffe33840;
}

.statement.active {
    opacity: 1;
}

.signature {
    display: block;
    margin-top: 60px;
    font-size: 16px;
    color: #fff;
    letter-spacing: .5px;
}


/* ===============================
   HERO – IMPRESSUM
================================ */
.hero {
    padding: 24px 20px 32px;
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    gap: 32px;
}

/* Logo */
.hero-logo {
    width: 150px;
    flex-shrink: 0;
    filter: drop-shadow(0 0 12px #4da3ff73) drop-shadow(0 0 28px rgba(77, 163, 255, .25));
    transition: transform .3s ease;
}

.hero-logo:hover {
    transform: scale(1.03);
}

/* Text */
.hero-text h1 {
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1.1;
    font-weight: 800;
}

.hero-text h1 span {
    color: #0057A8;
}

.hero-sub {
    margin-top: 16px;
    font-size: 17px;
    color: #555;
}

/* ===============================
   HERO – IMPRESSUM
================================ */
.hero {
    padding: 24px 20px 32px;
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    gap: 32px;
}

/* Logo */
.hero-logo {
    width: 150px;
    flex-shrink: 0;
    filter: drop-shadow(0 0 12px rgba(77, 163, 255, .45)) drop-shadow(0 0 28px rgba(77, 163, 255, .25));
    transition: transform .3s ease;
}

.hero-logo:hover {
    transform: scale(1.03);
}

/* Text */
.hero-text h1 {
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1.1;
    font-weight: 800;
}

.hero-text h1 span {
    color: #0057A8;
}

.hero-sub {
    margin-top: 16px;
    font-size: 17px;
    color: #555;
}

.email-link {
    display: inline-block;
    background-color: #ffe338; /* Blau für den Button */
    color: #fff; /* Weißer Text */
    padding: 12px 20px; /* Abstände rund um den Text */
    border-radius: 8px; /* Abgerundete Ecken */
    font-size: 16px; /* Schriftgröße */
    font-weight: bold; /* Fettgedruckt */
    text-decoration: none; /* Keine Unterstreichung */
    box-shadow: 0 4px 8px #ffe338; /* Schatten für 3D-Effekt */
    transition: background-color 0.3s, transform 0.3s; /* Für sanfte Übergänge */
}

.email-link:hover {
    background-color: #ffe338; /* Dunkleres Blau beim Hover */
    transform: translateY(-2px); /* Button hebt sich leicht */
}

.email-link:active {
    transform: translateY(2px); /* Button „drückt“ sich leicht nach unten */
}

.impressum-wrap {
    max-width: 900px; /* Maximale Breite auf 900px gesetzt */
    margin: 0 auto;
    padding: 0 20px 80px;
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.impressum-wide {
    max-width: 900px; /* Maximale Breite auf 900px gesetzt */
    margin: 0 auto;
    padding: 50px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, .08);
    box-shadow:
        0 0 0 1px rgba(255, 227, 56, .18),
        0 0 60px rgba(255, 227, 56, .18),
        0 0 160px rgba(255, 227, 56, .10);
    background: #0f0f0f; /* Dunkler Hintergrund für die Box */
    text-align: center;  /* Zentriert den Text in der Box */
}

.impressum-wide h3 {
    font-size: 26px;
    margin-bottom: 20px;
    color: #fff; /* Weißer Text für den Header */
}

.impressum-wide p {
    max-width: 900px;
    margin: 0 auto;  /* Zentriert den Text */
    line-height: 1.75;
    color: rgba(255, 255, 255, .8); /* Helles Grau für den Text */
}

/* ===============================
   LOGIN FORM DESIGN
================================ */
.login-form {
    display: flex;
    justify-content: center;
    padding: 50px 20px;
}

.job-box {
    background: rgba(10, 10, 10, .72);
    padding: 36px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, .08);
    box-shadow:
        0 0 0 1px rgba(255, 227, 56, .18),
        0 0 40px rgba(255, 227, 56, .18),
        0 0 90px rgba(255, 227, 56, .10);
    backdrop-filter: blur(8px);
    width: 100%;
    max-width: 400px; /* Setze die Breite auf 400px */
}

.job-box h2 {
    font-size: 26px;
    color: #fff;
    margin-bottom: 20px;
}

label {
    font-size: 16px;
    color: #fff;
    margin-bottom: 6px;
    display: block;
}

input {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, .2);
    background-color: #333;
    color: #fff;
    font-size: 16px;
}

button {
    width: 100%;
    padding: 12px;
    background-color: #ffe338;
    color: #000;
    border: none;
    font-size: 16px;
    cursor: pointer;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #ffbb33;
}

/* Fehlernachricht im Login */
.error-message {
    color: red;
    font-size: 16px;
    margin-bottom: 10px;
}

/* ===============================
   GALERIE – UPLOAD FORMULAR
================================ */
.upload-form {
    display: flex;
    justify-content: center; /* Zentriert das Formular horizontal */
    align-items: center; /* Zentriert das Formular vertikal */
    height: 100vh; /* Volle Höhe des Viewports */
}

.job-box {
    background: #1e1e1e; /* Dunkler Hintergrund für die Box */
    padding: 36px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, .12);
    box-shadow: 
        0 0 0 1px rgba(255, 227, 56, .25),
        0 0 60px rgba(255, 227, 56, .18),
        0 0 160px rgba(255, 227, 56, .12);
    width: 100%;
    max-width: 600px; /* Maximalbreite der Box */
    text-align: center; /* Text zentrieren */
}

.job-box h2 {
    font-size: 26px;
    margin-bottom: 18px;
    color: #fff;
}

/* ===============================
   GALERIE – UPLOAD FORMULAR
================================ */
.upload-form {
    display: flex;
    justify-content: center; /* Zentriert das Formular horizontal */
    align-items: flex-start; /* Setzt das Formular an den oberen Rand */
    padding-top: 20px; /* Reduziert den oberen Abstand */
    margin-top: 0; /* Entfernt den zusätzlichen Abstand */
    height: auto; /* Keine feste Höhe mehr */
}

.job-box {
    background: #1e1e1e; /* Dunkler Hintergrund für die Box */
    padding: 36px;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, .12);
    box-shadow: 
        0 0 0 1px rgba(255, 227, 56, .25),
        0 0 60px rgba(255, 227, 56, .18),
        0 0 160px rgba(255, 227, 56, .12);
    width: 100%;
    max-width: 600px; /* Maximalbreite der Box */
    text-align: center; /* Text zentrieren */
}

.job-box h2 {
    font-size: 26px;
    margin-bottom: 18px;
    color: #fff;
}

/* ===============================
   FORM ELEMENTS STYLING
================================ */
.upload-form label {
    color: #fff;
    font-size: 16px;
    margin-bottom: 8px;
    display: block;
    text-align: left;
}

.upload-form input[type="file"],
.upload-form textarea {
    width: 100%;
    padding: 12px;
    background: #121821;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 12px;
    color: #e6f1ff;
    margin-bottom: 16px;
    font-size: 16px;
}

.upload-form textarea {
    min-height: 100px; /* Höhe des Textareas anpassen */
    resize: vertical;
}

/* ===============================
   BUTTON STYLING
================================ */
.upload-form button {
    background: #ffe338;
    color: #0b0f14;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: box-shadow .3s ease, transform .3s ease;
}

.upload-form button:hover {
    box-shadow: 0 0 25px #ffe338;
    transform: translateY(-2px);
}

/* Versteckt den Standard-Datei-Input */
.file-upload-input {
    display: none;
}

/* Styling für den benutzerdefinierten Button */
.file-upload-button {
    background: #121821;
    color: #e6f1ff;
    padding: 12px 28px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    display: inline-block;
    margin-bottom: 16px;
    transition: box-shadow .3s ease, transform .3s ease;
    border: 1px solid rgba(255, 255, 255, .15);
}

.file-upload-button:hover {
    box-shadow: 0 0 25px #ffe338;
    transform: translateY(-2px);
}

/* ===============================
   GALERIE DESIGN (optimiert)
================================ */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); /* Flexibles Grid */
    gap: 20px;
    padding: 20px;
    justify-items: center; /* Bilder werden mittig ausgerichtet */
}

/* Galerie Item Style */
.gallery-item {
    background: rgba(10, 10, 10, 0.8);  /* Dunkler Hintergrund für die Box */
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(255, 227, 56, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

/* Hover-Effekt für die Galerie-Items */
.gallery-item:hover {
    transform: scale(1.05); /* Leichte Vergrößerung beim Hover */
    box-shadow: 0 0 40px rgba(255, 227, 56, 0.8);  /* Erhöhter Schatten */
}

/* Bild Darstellung – Einheitliche Größe */
.gallery-image {
    width: 100%;
    height: 200px; /* Max Höhe auf 200px setzen */
    object-fit: cover;  /* Skaliert das Bild ohne Verzerrung */
    border-radius: 8px;
    margin-bottom: 10px;
}

/* Beschreibung der Bilder */
.gallery-description {
    font-size: 14px;
    color: #fff;
    margin-top: 10px;
    line-height: 1.4;
    word-wrap: break-word; /* Textumbruch, falls der Text zu lang ist */
}

/* Responsive Anpassung für mobile Geräte */
@media (max-width: 600px) {
    .gallery-item {
        width: 100%;
    }

    .gallery-image {
        height: 150px; /* Kleinere Bilder auf mobilen Geräten */
    }
}



.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
    justify-items: center;
}

.image-gallery-item {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.image-gallery-item:hover {
    transform: scale(1.05);
}

/* Galerie Bilder Styling */
.gallery-images {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.image-card {
    background: #1e1e1e;
    padding: 16px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 0 20px rgba(255, 227, 56, 0.25);
    transition: transform .3s ease;
}

.image-card:hover {
    transform: scale(1.05);
}

.gallery-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 10px;
    box-shadow: 0 0 8px rgba(255, 227, 56, 0.35);
}

.image-description {
    color: #fff;
    font-size: 14px;
    margin-top: 10px;
    font-weight: 600;
    word-wrap: break-word;
}

/* Optional: Textfarbe für die Bildunterschrift */
.image-description {
    color: #fff;
    font-size: 14px;
    margin-top: 10px;
    font-weight: 600;
}

/* ===============================
   GALERIE ANZEIGE STYLING
================================ */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); /* Flexibles Grid mit mindestens 250px pro Spalte */
    gap: 16px;
    padding: 20px;
    justify-items: center;
}

.gallery-item {
    background-color: #1e1e1e; /* Dunkler Hintergrund für jedes Bild */
    padding: 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 20px rgba(255, 227, 56, 0.3); /* Sanfte Umrandung */
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px); /* Leichtes Heben beim Hover */
    box-shadow: 0 0 40px rgba(255, 227, 56, 0.7); /* Intensivierter Schatten */
}

.gallery-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 8px;
}

.gallery-description {
    font-size: 14px;
    color: #fff;
    margin-top: 10px;
    line-height: 1.4;
}

/* Responsives Verhalten für kleinere Geräte */
@media (max-width: 600px) {
    .gallery {
        grid-template-columns: 1fr; /* Einspaltige Ansicht für kleine Bildschirme */
    }
}

/* ===============================
   POPUP DESIGN
================================ */
.image-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.image-popup img {
    max-width: 90%;
    max-height: 80%;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(255, 227, 56, 0.8);
}

.image-popup .close-btn {
    position: absolute;
    top: 10px;
    right: 20px;
    color: #fff;
    font-size: 36px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
}

.image-popup .prev-btn, .image-popup .next-btn {
    position: absolute;
    top: 50%;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.image-popup .prev-btn {
    left: 10px;
}

.image-popup .next-btn {
    right: 10px;
}

/* Galerie Box Styling */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
    justify-items: center;
}

.gallery-item {
    background: rgba(10, 10, 10, 0.8);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(255, 227, 56, 0.5);
    transition: transform 0.3s ease;
    text-align: center;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-image {
    width: 100%;
    max-height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 10px;
}

.gallery-description {
    font-size: 14px;
    color: #fff;
}

/* ===============================
   POPUP DESIGN
================================ */
#image-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Dunkler Hintergrund */
    backdrop-filter: blur(4px); /* Optional: Verwischung des Hintergrunds */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 0 40px rgba(255, 227, 56, 1); /* Schwefelgelbes Leuchten um das Popup */
}

/* Bild im Popup */
#popup-image {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    border-radius: 20px;
    box-shadow: 0 0 40px rgba(255, 227, 56, 1); /* Schwefelgelbes Leuchten um das Bild */
}

/* Schließen-Button oben rechts */
.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 36px;
    color: white;
    cursor: pointer;
    z-index: 2;
}

/* Navigationspfeile links und rechts */
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 60px;
    color: rgba(235, 255, 255, 0.7);
    cursor: pointer;
    user-select: none;
    padding: 20px;
    transition: 0.25s;
    z-index: 10000;
}

/* Hover-Effekt für die Pfeile */
.lightbox-nav:hover {
    color: #ffe338;
    text-shadow: 0 0 12px rgba(255, 227, 56, 1), 0 0 24px rgba(255, 227, 56, 0.8); /* Schwefelgelbes Leuchten */
}

/* Linker Pfeil */
.lightbox-prev {
    left: 30px;
}

/* Rechter Pfeil */
.lightbox-next {
    right: 30px;
}


/* Besuchszähler Design */
.visitor-counter {
    margin-top: 40px;
    text-align: center;
    position: relative; /* Sicherstellen, dass der Transporter relativ zum Container bewegt wird */
}

/* Besuchszähler Box */
.visitor-count {
    background: #121821; /* Dunkler Hintergrund */
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(242, 201, 76, 0.25); /* Schwefelgelber Glow */
    max-width: 300px;
    margin: 20px auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative; /* Sicherstellen, dass die Animation innerhalb der Box funktioniert */
}

/* Transporter-Animation */
.transporter {
    position: absolute;
    bottom: 10px; /* Position des Transporters unten */
    right: -150px; /* Startposition außerhalb des Bildschirms auf der rechten Seite */
    animation: driveTransporter 5s linear infinite; /* 5 Sekunden für eine Fahrt */
}

.transporter-img {
    width: 100px; /* Größe des Transporters */
    transition: transform 0.3s ease;
}

/* Fahrt des Transporters von rechts nach links */
@keyframes driveTransporter {
    0% {
        right: -150px; /* Startpunkt außerhalb des Bildschirms rechts */
    }
    50% {
        right: 50%; /* Mitte des Bildschirms */
        transform: translateX(50%); /* Sicherstellen, dass es in der Mitte bleibt */
    }
    100% {
        right: 100%; /* Endpunkt außerhalb des Bildschirms links */
    }
}

/* Hover-Effekt auf die Besucherbox */
.visitor-count:hover {
    transform: translateY(-5px); /* Leichtes Anheben */
    box-shadow: 0 0 30px rgba(242, 201, 76, 0.45); /* Verstärkter Glow beim Hover */
}

/* Text Styling */
.visitor-text {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.7); /* Helles Grau für den Text */
    font-weight: 600;
}

.visitor-number {
    font-size: 32px;
    color: #ffe338; /* Schwefelgelb für die Besucherzahl */
    font-weight: 700;
    margin-top: 10px;
}

/* Styling für die Navbar */
.navbar {
    position: relative;
    overflow: hidden; /* Damit das Auto nicht außerhalb der Navbar sichtbar ist */
}

/* Container für das Transporter-Bild */
.transporter-navbar {
    position: absolute;
    top: 50%;
    transform: translateY(-50%); /* Zentriert das Bild vertikal */
    right: -120px; /* Startpunkt außerhalb des Bildschirms auf der rechten Seite */
    animation: moveTransporter 10s linear infinite; /* Animation von rechts nach links */
}

/* Styling für das Transporter-Bild */
.transporter-img-navbar {
    width: 100px; /* Setze die gewünschte Breite des Transporters */
    height: auto;
}

/* Animation von rechts nach links */
@keyframes moveTransporter {
    0% {
        right: -120px; /* Startpunkt (außerhalb des Bildschirms auf der rechten Seite) */
    }
    100% {
        right: 100%; /* Endpunkt (außerhalb des Bildschirms auf der linken Seite) */
    }
}

/* Container für die Upload-Formulare nebeneinander */
.upload-form-container {
    display: flex;
    justify-content: space-between; /* Verteilt den Platz gleichmäßig */
    gap: 20px; /* Abstand zwischen den Boxen */
}

/* Einzelne Upload-Box */
.upload-form {
    flex: 1; /* Jede Box nimmt gleich viel Platz ein */
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #f9f9f9;
    box-sizing: border-box;
}

/* Container für die Upload-Formulare mit Grid */
.upload-form-container {
    display: flex;
    justify-content: center; /* Horizontale Zentrierung */
    gap: 30px; /* Abstand zwischen den Boxen */
    padding: 20px;
}

/* Einzelne Upload-Box */
.upload-form {
    width: 100%; /* Boxen nehmen 100% der verfügbaren Breite ein */
    max-width: 500px; /* Maximale Breite der Box */
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #f9f9f9;
    box-sizing: border-box;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Schönerer Schatten für die Boxen */
}

/* Bei sehr kleinen Bildschirmen die Boxen untereinander anordnen */
@media (max-width: 768px) {
    .upload-form-container {
        flex-direction: column; /* Boxen untereinander auf kleineren Bildschirmen */
        gap: 15px; /* Weniger Abstand auf kleinen Bildschirmen */
    }

    .upload-form {
        max-width: 100%; /* Boxen nehmen 100% der Breite auf mobilen Geräten ein */
    }
}

