* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body,
html {
  height: 100%;
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
  scroll-behavior: smooth;
}



/* Header */
.member-counter-container {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto; /* nach rechts schieben */
}

.member-label {
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  color: #ccc;
}

.member-count {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: bold;
  color: rgb(56, 254, 196);
  margin-right: 6rem;
}

#main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.2rem 2rem;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  transition: background-color 0.3s ease;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background-color: rgba(0, 0, 0, 0.7);
  transition: all 0.3s ease-in-out;
  z-index: 1000;
}

.site-header .logo img {
  height: 40px;
  width: 40px;
  border-radius: 50%;
  object-fit: cover;
  transition: all 0.3s ease-in-out;
}

/* Verkleinerter Header beim Scrollen */
.site-header.shrink {
  padding: 0.5rem 2rem;
  background-color: rgba(0, 0, 0, 0.9);
}

.site-header.shrink .logo img {
  height: 30px;
  width: 30px;
}

.logo img {
  height: 80px;
  width: 80px;
  border-radius: 50%;
  object-fit: cover;
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.main-nav li a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
}

/* Farben für Sections */
#main-header.deponie {
  background-color: rgba(0, 80, 120, 0.7);
}
#main-header.spenden {
  background-color: rgba(0, 120, 80, 0.7);
}
#main-header.news {
  background-color: rgba(120, 80, 0, 0.7);
}
#main-header.impressum {
  background-color: rgba(80, 0, 120, 0.7);
}


/* Responsive Design */
@media (max-width: 768px) {
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.95);
    flex-direction: column;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
  }

  .main-nav.active {
    max-height: 300px;
  }

  .main-nav ul {
    flex-direction: column;
    width: 100%;
    padding: 1rem 0;
  }

  .main-nav li {
    text-align: center;
    margin: 0.5rem 0;
  }

  .hamburger {
    display: block;
  }
}

/* Fullscreen Slider - jetzt auf 50vh reduziert */
.slider {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
}

.slide.active {
  opacity: 1;
}

.slide-content h1 {
  color: #efefef;
  font-size: clamp(1rem, 10vw, 4rem);
  padding: 0 1rem;
  line-height: 1.2;
  text-align: center;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
  text-shadow: 2px 4px #181818;
  /*-webkit-text-stroke: 2px #4c4c4c;*/
}

/* Hauptinhalt unter dem Slider */

.section-bg {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 8rem 2rem;
  color: white;
}

.section-bg .overlay {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 1;
}

.section-content {
  position: relative;
  z-index: 1;
  min-width: 100%;
  margin: auto;
  padding: 0;
  margin-top: -5rem;
}

.section-content h2 {
  font-weight: 700;
  margin-bottom: 1rem;
}

.section-content p {
  font-weight: 400;
  line-height: 1.6;
}

/* Zweispaltenlayout für Bilder + Text */
.section-inner {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  gap: 4rem;
  max-width: 100%;
  margin: auto;
  padding: 1rem 0;
}

.section-col-image,
.section-col-text {
  max-width: 100%;
  box-sizing: border-box;
  
}

.section-col-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  transition: transform 0.3s ease;
  cursor: zoom-in;
}

.section-col-image img:hover {
  transform: scale(1.02);
}

.section-col-text {
  flex: 1;
  font-size: larger;
  min-width: 50vh;
  color: lightgray;
}

.section-col-text a {
  color: inherit;
}
/* --- ZWEISpaltiges layout für große bildschirme --- */
@media (min-width: 1024px) {
  .section-inner {
    flex-wrap: nowrap;
    align-items: flex-start;
  }

  .section-col-image {
    flex: 1 0 50%; /* Beide nehmen 45 % ein → 10 % Abstand */
    max-width: 500px; /* Maximalbreite für Bilder auf großen Bildschirmen */
  }

  .section-col-text {
    padding-left: 2rem;
  }
}
@media (max-width: 768px) {
  .section-inner {
    flex-direction: column;
    text-align: center;
  }

  .section-col-image {
    width: 100%;
    max-width: 90vh;
  }
}

/* Lightbox Modal */
.lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
}

.lightbox-caption {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.9rem;
  color: #ccc;
}

.lightbox-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 80vh;
  border-radius: 8px;
  animation-name: zoom;
  animation-duration: 0.3s;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 35px;
  color: white;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  z-index: 9999;
}

@keyframes zoom {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}

/* Zurück zum Anfang Button */
#backToTop {
  display: none;
  position: fixed;
  bottom: 30px;
  right: 30px;
  padding: 12px 16px;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  font-size: 1.2rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  z-index: 9999;
  transition: background-color 0.3s ease;
}

#backToTop:hover {
  background-color: #000;
}

/* Footer */
.footer {
  background-color: #111;
  color: white;
  padding: 2rem 1rem;
  text-align: center;
}

.footer-content {
  max-width: 1200px;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.footer p {
  font-size: 0.9rem;
  color: #aaa;
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icons a {
  color: white;
  font-size: 1.5rem;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: #333;
  transition: background-color 0.3s ease;
}

.social-icons a:hover {
  background-color: #555;
}

/* --- SLIDER --- */
.slide-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.stop-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.stop-button {
  font-size: clamp(1.5rem, 4vw, 3rem);
  font-weight: bold;
  color: white;
  border: 4px solid red;
  padding: 0.5em 1em;
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 8px;
  cursor: pointer;
  text-transform: uppercase;
  transition: all 0.8s ease;
  text-decoration: none;
}

.stop-button:hover {
  background-color: rgba(255, 0, 0, 0.8);
  color: #fff;
  border-color: darkred;
  text-decoration: none;
}

.stop-wrapper i {
  font-size: 2rem;
  color: red;
  transition: transform 0.3s ease;
}

.stop-wrapper i:hover {
  transform: scale(1.2);
}

/* --- FOOTER --- */
.footer a {
  text-decoration: none;
  color: white;
}

.footer a:hover {
  opacity: 0.8;
}

.footer .social-icons i {
  font-size: 1.6rem;
}

.floating-spenden-button {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9998;
  background-color: rgb(56, 254, 196);
  color: #000;
  padding: 0.5rem;
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(56, 254, 196, 0.6);
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
  text-decoration: none;
}

.floating-spenden-button i {
  font-size: 2.9rem;
  color: #000000;
  
}

.floating-spenden-button:hover {
  transform: scale(1.1);
}

/* === MOBILE VERSION === */
@media (max-width: 768px) {
  .floating-spenden-button {
    bottom: 30px;
    right: 15px;
    padding: 0.3rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  }

  .floating-spenden-button i {
    font-size: 1.3rem;
  }
}
/* --- FACTS SECTION --- */

.fact-container {
  width: 100%;
}

.fact {
  position: relative;
  background-color: var(--bg);
  color: white;
  padding: 2rem 10% 2rem 10%;
  overflow: hidden;
  transform-origin: center;
  min-height: 120px;
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
}
.fact1 {
  position: relative;
  background-color: var(--bg);
  color: white;
  padding: 1rem 5% 3rem 10%;
  overflow: hidden;
  transform-origin: center;
  height: 30px;
  border-radius: 25px 25px 0 0
}

.fact2 {
  position: relative;
  background-color: var(--bg);
  color: white;
  padding: 1rem 5% 10rem 10%;
  overflow: hidden;
  transform-origin: center;
  height: 30px;
  border-radius: 0 0 25px 25px;
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
}

.fact__content {
  position: relative;
  z-index: 2;
  transform: none;
}

/* Kippung */
.fact--odd {
  transform: skewY(-3deg);
  color: #292929;
}
.fact--even {
  transform: skewY(-3deg);
  color: #efefef;
}

/* Farben werden über --bg gesetzt */
.fact::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 100%;
  background-color: var(--bg);
  z-index: 1;
  transform: skewY(0deg); /* Wieder gerade für saubere Kante */
}

/* Optional: Trennlinien oben/unten */
.fact::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.3);
}

/* Für mobile Geräte: alle Elemente normal anzeigen 
@media (max-width: 768px) {
  .fact--odd,
  .fact--even {
    transform: none;
  }
}*/
/* button für auklappbarer bereich */
.toggle-more-btn {
  background-color: rgba(255, 255, 255, 0.9);
  color: #000;
  font-size: 1rem;
  font-weight: bold;
  padding: 0.2rem 1rem;
  border-radius: 6px;
  border: 2px solid rgba(0, 0, 0, 0.1);
  cursor: pointer;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.toggle-more-btn:hover {
  background-color: white;
  transform: scale(1.03);
}