a:link {text-decoration: none; color: #ffffff}
a:visited {text-decoration: none; color: #ffffff}
a:hover {text-decoration: none; color: rgb(51, 51, 51); background-color: rgb(225, 225, 225)}
a:active {text-decoration: none; color: rgb(223, 177, 6); background-color: rgb(51, 51, 51)}

body {background-position: center; background-position: top; background-color: rgb(223, 177, 6)}

#about {
   background-color: black;
  padding: 2rem;
  border-radius: 12px;
  color: white;
  display: block;
}

.blackbox {
  background-color: black;
  padding: 1.5rem;
  border-radius: 12px;
  color: white;
  line-height: 1.6;
}


 /* Reset & Basis */
    *, *::before, *::after {
      box-sizing: border-box;
    }
    body, html {
      margin: 0; padding: 0;
      height: 100%;
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
      color: #f0f0f0;
      background: #000;
    }

    /* Hintergrundbild + Overlay */

#background-slideshow {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.4);
  z-index: -2;
  transition: background-image 1s ease-in-out;
}

#fade-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: black;
  opacity: 0;
  z-index: -1; /* Important: must be above slideshow but below content */
  transition: opacity 0.5s ease-in-out;
  pointer-events: none;
}

#abschlussbild img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  margin-top: 4rem;
  margin-bottom: -4rem
}

    /* Menü */
    header {
      position: fixed;
      top: 0; left: 0; right: 0;
      background: rgba(0, 0, 0, 0.5);
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 1rem 2rem;
      z-index: 10;
      backdrop-filter: saturate(180%) blur(8px);
    }
    header nav a {
      color: #eee;
      text-decoration: none;
      margin-left: 1.5rem;
      font-weight: 600;
      transition: color 0.3s ease;
    }
    header nav a:hover {
      color: #ffd700;
    }
    header .logo {
      font-size: 1.25rem;
      font-weight: 700;
      color: #ffd700;
      user-select: none;
    }

    /* Hauptbereich */
    main {
      padding: 6rem 2rem 3rem;
      max-width: 900px;
      margin: 0 auto;
    }

    /* Hero-Sektion */
.hero {
      text-align: center;
      margin-bottom: 4rem;
    }
    .hero h1 {
      font-size: 3rem;
      margin-bottom: 0.2rem;
      font-weight: 900;
      letter-spacing: 0.05em;
    }
    .hero p {
      font-size: 1.25rem;
      font-style: italic;
      margin-bottom: 1rem;
      color: #ccc;
    }
    .hero blockquote {
      font-size: 1.1rem;
      color: #ffd700;
      margin: 2rem auto 1rem;
      max-width: 600px;
      font-weight: 600;
      border-left: 4px solid #ffd700;
      padding-left: 1rem;
      font-style: normal;
    }
    .hero .btn-group {
      margin-top: 2rem;
    }
    .btn {
      background-color: #ffd700;
      border: none;
      padding: 0.75rem 1.5rem;
      margin: 0 0.5rem;
      border-radius: 30px;
      font-weight: 700;
      color: #000;
      cursor: pointer;
      transition: background-color 0.3s ease;
      text-decoration: none;
      display: inline-block;
    }
    .btn:hover {
      background-color: #e6c200;
    }

    /* Abschnitte */
    section {
      margin-bottom: 4rem;
    }
    section h2 {
      border-bottom: 2px solid #ffd700;
      padding-bottom: 0.5rem;
      margin-bottom: 1.5rem;
      font-weight: 700;
      font-size: 1.8rem;
    }
    section p {
      line-height: 1.6;
      color: #ddd;
      font-size: 1.1rem;
    }

    /* Zeitstrahl horizontal scroll */
#timeline {
  max-width: 800px;
  margin: 4rem auto;
  padding: 2rem;
  color: #2c2c2c;
}

#timeline h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 2rem;
  letter-spacing: 0.05em;
  color: white;
  border-bottom: 2px solid #ccc;
  padding-bottom: 0.5rem;
}

.timeline-entry {
  margin-bottom: 1.5rem;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #ddd;
  box-shadow: 0 2px 4px rgba(0,0,0,0.06);
  transition: box-shadow 0.3s ease, transform 0.2s ease;
  overflow: hidden;
}

.timeline-entry:hover {
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}

.decade {
  padding: 1rem 1.5rem;
  background: linear-gradient(90deg, #ffd700 0%, black 100%);
  color: #fff;
  font-weight: bold;
  font-size: 1.2rem;
  letter-spacing: 0.03em;
  cursor: default;
}

.entry-list {
  max-height: 0;
  overflow: hidden;
  padding: 0 1.5rem;
  background-color: #faf9f8;
  transition: max-height 0.5s ease, padding 0.4s ease;
}

.timeline-entry:hover .entry-list {
  max-height: 400px;
  padding: 1rem 1.5rem;
}

.entry-list li {
  margin-bottom: 0.8rem;
  padding-left: 1rem;
  position: relative;
  line-height: 1.5;
  color: #444;
}

.entry-list li::before {
  position: absolute;
  left: 0;
  font-weight: bold;
}

.year {
  display: inline-block;
  width: 4ch;
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  color: #ffd700;
  margin-right: 0.5ch;
}

    /* Film & BÃ¼hne - Mosaik */
    .mosaic {
  column-count: 4; /* oder auto mit media queries */
  column-gap: 1rem;
}

.mosaic-item {
  display: inline-block;
  width: 100%;
  margin-bottom: 1rem;
  break-inside: avoid; /* wichtig: verhindert ZerreiÃŸen */
}

.mosaic-item img {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
}
    .mosaic-item p {
      margin: 0;
      font-weight: 600;
      font-size: 0.9rem;
    }

.mosaic-item.expanded {
  width: 30rem;
  background-color: #f9f9f9;
}

.mosaic-item .tooltip {
  display: none;
  margin-top: 0.5rem;
  color: #333;
}

.mosaic-item a {
  text-decoration: none;     /* kein Unterstreichen */
  color: inherit;            /* Farbe wie Eltern-Element */
  background: none;          /* kein Highlight bei Hover */
  display: inline;           /* kein block, sonst kommt der Balken oft */
}

.mosaic-item.expanded .tooltip {
  display: block;
}

.mosaic-item:hover {
  /* Stil fÃ¼r die "expanded"-Version */
  transform: scale(1.1); /* Beispiel fÃ¼r VergrÃ¶ÃŸerung */
  z-index: 10; /* Falls Ãœberlappung entsteht */
  /* oder jede andere Ã„nderung, die du mÃ¶chtest */
}


    /* Footer */
    footer {
      text-align: center;
      padding: 1rem 2rem;
      font-size: 0.9rem;
      color: #888;
      border-top: 1px solid rgba(255 255 255 / 0.1);
      margin-top: 3rem;
    background-color: black;
    }

    /* Responsive */
    @media (max-width: 600px) {
      .hero h1 {
        font-size: 2.2rem;
      }
      header {
        flex-direction: column;
        gap: 0.75rem;
        padding: 1rem 1rem;
      }
      header nav a {
        margin-left: 0.75rem;
      }
      .timeline {
        padding-bottom: 1rem;
      }
    }
