/* Nur die Struktur im CSS lassen, Farben übers HTML steuern */
    body { 
    font-family: 'Space Grotesk', sans-serif; 
    margin: 0;
    background-color: #0f1115; /* DAS HIER FEHLTE - macht alles dunkel */
    color: #e2e8f0;
}

/* Das transparente Logo im Hintergrund */
body::before {
	content: "";
	position: fixed;
    top: 0; 
    left: 0; 
    right: 0; 
    bottom: 0;
    /* Pfad hier anpassen, z.B. url('img/logo.png') */
    background-image: url('https://brand-steinpflege.de/beta/assets/img/logo/logo2.webp');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 40%; 
    opacity: 0.05; /* Steuert die Sichtbarkeit */
    z-index: -1;
    pointer-events: none;
}

    .glass { 
        background: rgba(255, 255, 255, 0.03) !important; 
        backdrop-filter: blur(10px); 
        border: 1px solid rgba(255, 255, 255, 0.05); 
    }
	
/* Back to Top */
/* Basis-Setup fürr den Button */
#backToTop {
  position: fixed;
  bottom: 40px; /* Ein Stück höher, um nicht im Footer zu "verschwinden" */
  right: 40px;
  width: 55px; /* Etwas größer für bessere Erkennbarkeit */
  height: 55px;
  background: transparent; /* Neon-Effekt braucht Transparenz */
  color: #00ffcc; /* Neon-Akzentfarbe */
  border: 2px solid #00ffcc; /* Neon-Akzent-Border */
  border-radius: 50%; /* Kreisrund */
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  /* Der Neon-Glow-Effekt */
  box-shadow: 0 0 10px rgba(0, 255, 204, 0.5), /* Erster, weicher Glow */
              0 0 5px rgba(0, 255, 204, 0.3);   /* Zweiter, innerer Glow */
  opacity: 0; /* StandardmÃ¤ÃŸig unsichtbar */
  visibility: hidden;
  z-index: 1000;
  outline: none; /* Verhindert Standard-Fokus-Rahmen */
}

/* Stil fÃ¼r das Icon (Pfeil) */
#backToTop svg {
  width: 26px;
  height: 26px;
  transition: transform 0.3s ease;
}

/* Neon-Glow beim Hover-Effekt */
#backToTop:hover {
  background: rgba(0, 255, 204, 0.1); /* Hauch von Farbe beim Hover */
  border-color: #00ffcc;
  /* Starker, leuchtender Glow beim Hover */
  box-shadow: 0 0 20px rgba(0, 255, 204, 0.9), /* Starker Glow */
              0 0 10px rgba(0, 255, 204, 0.6);  /* Hellerer innerer Glow */
}

/* Icon-Glow beim Hover */
#backToTop:hover svg {
  filter: drop-shadow(0 0 3px rgba(0, 255, 204, 0.8));
}

/* Stil fÃ¼r den Fokus-Status (Tastaturnavigation) */
#backToTop:focus {
  border-color: #ffffff;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.9);
}

/* Sichtbar-Status (wird per JS gesteuert) */
#backToTop.show {
  opacity: 1;
  visibility: visible;
}

/* ResponsivitÃ¤t: Etwas kleiner auf MobilgerÃ¤ten */
@media (max-width: 600px) {
  #backToTop {
    bottom: 25px;
    right: 25px;
    width: 48px;
    height: 48px;
  }
  #backToTop svg {
    width: 22px;
    height: 22px;
  }
}

/* Gallery */

.filmstreifen-container {
    width: 100%;
    overflow: hidden;
    background: #1a1a1a;
    padding: 40px 0;
    position: relative;
    border-top: 10px dashed #333; /* Obere Perforation */
    border-bottom: 10px dashed #333; /* Untere Perforation */
}

.filmstreifen-track {
    display: flex;
    width: max-content;
    gap: 10px;
    animation: scrollen 100s linear infinite;
    will-change: transform;
}

.film-frame {
    background: #000;
    padding: 5px;
    border-left: 2px solid #333;
    border-right: 2px solid #333;
}

.filmstreifen-track img {
    height: 250px;
    width: auto;
    display: block;
    object-fit: cover;
}

/* Steuerungssymbole */
.film-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(0,0,0,0.6);
    color: white;
    padding: 20px 10px;
    cursor: pointer;
    font-size: 24px;
    transition: 0.3s;
}
.nav-prev { left: 0; border-radius: 0 5px 5px 0; }
.nav-next { right: 0; border-radius: 5px 0 0 5px; }
.film-nav:hover { background: #e50914; }

@keyframes scrollen {
    from { transform: translateX(0); }
    to { transform: translateX(-33.33%); } /* Korrigiert für 3-fache Menge */
}

.filmstreifen-container:hover .filmstreifen-track {
    animation-play-state: paused;
}

/* Cache Handler */

    #cacheButton {
        background-color: #e63939;
        color: white;
        border: none;
        padding: 14px 28px;
        font-size: 12px;
        font-weight: bold;
        border-radius: 8px;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 4px 10px rgba(230, 57, 57, 0.3);
    }

    #cacheButton:hover {
        background-color: #c1121f;
        transform: translateY(-2px);
        box-shadow: 0 6px 15px rgba(230, 57, 57, 0.4);
    }

    #cacheButton:active {
        transform: scale(0.98);
    }

    #status {
        margin-top: 15px;
        font-size: 15px;
        font-weight: 500;
        min-height: 22px;
    }