body {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  background: #1c1c1c;
  color: #222;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

header {
  text-align: center;
  margin-bottom: 60px;
}

header h1 {
  font-size: 3rem;
  margin: 0;
  color: #ffffff;
}

header h2 {
  position: relative;
  display: inline-block;
  color: #c59d5f;
  font-weight: 700;
  overflow: visible;
  font-size: 5rem;
  margin: 0;
  margin-top: -1rem;
  filter: drop-shadow(0px 0px 10px #c59c5fa6);
}

header h2 .stars {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

header h2 .stars::before,
header h2 .stars::after {
  content: '★';
  position: absolute;
  font-size: 1.5rem;
  color: #efd481;
  opacity: 0;
  animation: twinkle 6s infinite;
}

header h2 .stars::before {
  top: 20%;
  left: 15%;
  animation-delay: 0s;
}

header h2 .stars::after {
  top: 50%;
  left: 70%;
  animation-delay: 3s;
}

@keyframes twinkle {
  0% { transform: rotate(0deg); opacity: 0; }
  10% { opacity: 1; }
  50% { transform: rotate(180deg); opacity: 1; }
  90% { opacity: 0; }
  100% { transform: rotate(360deg); opacity: 0; }
}

h3 {
  font-weight: bolder;
  font-size: 1.5rem;
  border-bottom: 1px solid #725c3a;
  color: #c59d5f;
}

p {
  margin-bottom: 5rem;
  color: white;
}

ul {
  margin-bottom: 5rem;
  color: white;
  padding-left: 20px;
}

section {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 60px;
  align-items: center;
}

.section-left .left {
  order: 1;
}

.section-left .right {
  order: 2;
}

.section-right .left {
  order: 1;
}

.section-right .right {
  order: 2;
}

.left, .right {
  flex: 1 1 300px;
}

.left img {
  max-width: 40%;
  border-radius: 12px;
  transition: transform 0.3s ease;
  pointer-events: visible;
}

.right img {
  max-width: 100%;
  border-radius: 12px;
  transition: transform 0.3s ease;
  pointer-events: visible;
}

.left img:hover, .right img:hover {
  transform: scale(1.05);
}

footer {
  text-align: center;
  margin-top: 50px;
  font-size: 0.9rem;
  color: #555;
  background-color: #c59d5f;
  height: 3rem;
  width: 100%;
}

footer p {
  font-size: 1.2rem;
  font-weight: 900;
  padding-top: 0.9rem;
}

/* =================== ANIMATIONEN =================== */
body {
  opacity: 0;
  animation: fadeInPage 1.5s ease forwards;
}

@keyframes fadeInPage {
  to { opacity: 1; }
}

header h1, header h2 {
  transform: translateY(-50px);
  opacity: 0;
  animation: slideDown 1s ease forwards;
}

header h2 {
  animation-delay: 0.3s;
}

@keyframes slideDown {
  to { transform: translateY(0); opacity: 1; }
}

/* Abschnitt 1: Bild von links, Text von rechts */
.section-left .left img {
  transform: translateX(-80px);
  opacity: 0;
  animation: slideInLeft 1.2s ease forwards;
  animation-delay: 0.6s;
}

.section-left .right {
  transform: translateX(80px);
  opacity: 0;
  animation: slideInRight 1.2s ease forwards;
  animation-delay: 0.8s;
}

/* Abschnitt 2: Scroll-trigger */
.section-right.scroll-trigger .left,
.section-right.scroll-trigger .right img {
  animation: none !important;
}

.section-right.scroll-trigger .left {
  opacity: 0;
  transform: translateX(-120px);
  transition: transform 1s ease-out, opacity 1s ease-out;
  will-change: transform, opacity;
}

.section-right.scroll-trigger .right img {
  opacity: 0;
  transform: translateX(120px);
  transition: transform 1s ease-out, opacity 1s ease-out;
  will-change: transform, opacity;
}

.section-right.scroll-trigger.animate-in .left,
.section-right.scroll-trigger.animate-in .right img {
  opacity: 1;
  transform: translateX(0);
}

.section-right.scroll-trigger.animate-in .left {
  transition-delay: 0.15s;
}

.section-right.scroll-trigger.animate-in .right img {
  transition-delay: 0s;
}

@keyframes slideInLeft { to { transform: translateX(0); opacity: 1; } }
@keyframes slideInRight { to { transform: translateX(0); opacity: 1; } }

/* =================== Besucher- & Fanbereich =================== */
.info-board {
  background: linear-gradient(135deg, #c59d5f, #e0b973);
  color: #1c1c1c;
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  margin-bottom: 60px;
  box-shadow: 0 0 20px rgba(197, 157, 95, 0.3);
  font-weight: 700;
  font-size: 1.4rem;
}

.info-board .visitor-count {
  font-weight: bolder;
  margin-bottom: 20px;
  font-size: 1.7rem;
  display: flex;
  flex-direction: column;
}

.info-board span {
  font-weight: bolder;
  margin-bottom: 20px;
  font-size: 3rem;
  color: #ffbb3d;
}

.fan-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

#fanButton {
  background: #1c1c1c;
  color: #c59d5f;
  border: 2px solid #c59d5f;
  border-radius: 10px;
  padding: 12px 25px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

#fanButton:hover {
  background: #c59d5f;
  color: #1c1c1c;
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(197, 157, 95, 0.6);
}

.fan-count {
  font-size: 1.7rem;
  color: #1c1c1c;
}

/* =================== MOBILE STYLES =================== */
@media (max-width: 435px) {
  footer p {
    font-size: 0.7rem;
    padding-top: 1.2rem;
  }
}

@media (max-width: 900px) {
  section {
    flex-direction: column;
  }

  .section-left .left img {
    max-width: 70%; /* Bild breiter auf Handy */
    margin: 0 auto;
  }

  .section-right .right img {
    max-width: 90%; /* Bild breiter auf Handy */
    margin: 0 auto;
  }

  .left, .right {
    flex: 1 1 100%;
  }

  header h1 {
    font-size: 2.2rem;
  }

  header h2 {
    font-size: 3.5rem;
  }

  h3 {
    font-size: 1.3rem;
  }

  p, ul {
    font-size: 1rem;
    margin-bottom: 3rem;
  }

  .info-board {
    padding: 20px;
    font-size: 1.2rem;
  }

  .info-board .visitor-count {
    font-size: 1.5rem;
  }

  .info-board span {
    font-size: 2.5rem;
  }

  #fanButton {
    padding: 10px 20px;
    font-size: 1rem;
  }

  .fan-count {
    font-size: 1.5rem;
  }
}
