:root {
  --bg: #0b0a09;
  --bg-2: #15130f;
  --text: #e8e4dc;
  --muted: #a39d92;
  --gold: #f2b43a;
  --gold-2: #f6d27a;
  --line: rgba(255, 255, 255, .12);
  --wrap: 46rem;
  --font: "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 3.5rem; }
body { margin: 0; background: var(--bg); color: var(--text); font: 1.0625rem/1.7 var(--font); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-2); text-underline-offset: .2em; }
a:hover { color: var(--gold); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.skip { position: absolute; left: -999px; top: 0; background: var(--gold); color: #000; padding: .5rem 1rem; z-index: 10; }
.skip:focus { left: 1rem; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1rem; }
h2, h3 { font-weight: 800; letter-spacing: .08em; text-transform: uppercase; line-height: 1.25; }
h2 { font-size: clamp(1.25rem, 3vw, 1.6rem); margin: 0 0 1.25rem; }
h3 { font-size: .85rem; margin: 1.75rem 0 .4rem; color: var(--muted); }

/* Hero */
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; overflow: hidden; text-align: center; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(11,10,9,.35) 0%, rgba(11,10,9,.85) 75%), linear-gradient(to bottom, transparent 60%, var(--bg)); }
.hero-content { position: relative; padding: 4rem 1rem; }
.hero-logo { width: min(26rem, 78vw); margin: 0 auto; filter: drop-shadow(0 8px 30px rgba(0,0,0,.7)); }
.hero h1 { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.hero-sub { margin: 1.25rem 0 0; letter-spacing: .3em; text-transform: uppercase; font-size: .8rem; color: var(--text); text-shadow: 0 2px 8px #000; }
.hero-down { position: absolute; bottom: 1.5rem; left: 50%; width: 2.25rem; height: 2.25rem; margin-left: -1.125rem; border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(45deg); animation: bob 2s ease-in-out infinite; }
@keyframes bob { 50% { translate: 0 .4rem; } }

/* Navigation */
.topnav { position: sticky; top: 0; z-index: 5; display: flex; justify-content: center; flex-wrap: wrap; gap: .25rem 1.5rem; padding: .8rem 1rem; background: rgba(11,10,9,.92); backdrop-filter: blur(6px); border-bottom: 1px solid var(--line); font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.topnav a { color: var(--text); text-decoration: none; }
.topnav a:hover { color: var(--gold); }

/* Intro */
.intro { padding: 5rem 1rem 4rem; text-align: center; }
.lead { font-size: clamp(1.05rem, 2.2vw, 1.25rem); color: var(--text); }

/* Jahre */
.year { padding-bottom: 4rem; }
.year-hero { min-height: clamp(18rem, 60vh, 34rem); background: center/cover no-repeat fixed; display: flex; align-items: flex-end; position: relative; margin-bottom: 2.5rem; }
.year-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(11,10,9,.05) 40%, rgba(11,10,9,.95)); }
.year-hero h2 { position: relative; z-index: 1; width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 1rem 1.5rem; display: flex; flex-direction: column; gap: .2rem; }
.year-num { font-size: clamp(2.5rem, 9vw, 4.5rem); color: var(--gold); letter-spacing: .04em; line-height: 1; text-shadow: 0 4px 20px rgba(0,0,0,.6); }
.year-title { font-size: clamp(1rem, 3vw, 1.4rem); }
@media (hover: none), (max-width: 800px) { .year-hero { background-attachment: scroll; } }

/* Video mit Klick-Zustimmung */
.video { position: relative; aspect-ratio: 16 / 9; margin: 2rem 0; background: #000; overflow: hidden; border-radius: 4px; }
.video > img { width: 100%; height: 100%; object-fit: cover; opacity: .6; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-play { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .75rem; width: 100%; background: transparent; border: 0; color: var(--text); font: 700 .85rem var(--font); letter-spacing: .12em; text-transform: uppercase; cursor: pointer; }
.play-icon { width: 4.5rem; height: 4.5rem; border-radius: 50%; background: var(--gold); position: relative; box-shadow: 0 6px 24px rgba(0,0,0,.6); transition: transform .2s; }
.play-icon::after { content: ""; position: absolute; left: 53%; top: 50%; transform: translate(-50%, -50%); border-style: solid; border-width: .8rem 0 .8rem 1.3rem; border-color: transparent transparent transparent #111; }
.video-play:hover .play-icon { transform: scale(1.08); }
.video-note { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: .5rem .75rem; font-size: .75rem; line-height: 1.4; color: var(--muted); background: rgba(0,0,0,.65); }
.video.is-playing .video-note, .video.is-playing .video-play, .video.is-playing > img { display: none; }

/* Galerie */
.gallery { list-style: none; padding: 0; margin: 2rem 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr)); gap: .4rem; }
.gallery a { display: block; aspect-ratio: 1; overflow: hidden; background: var(--bg-2); border-radius: 2px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s, opacity .35s; opacity: .92; }
.gallery a:hover img { transform: scale(1.05); opacity: 1; }
.more { color: var(--muted); }

/* Team */
.team { padding: 4rem 0 5rem; border-top: 1px solid var(--line); text-align: center; }
.team-imgs { display: grid; gap: .75rem; margin-bottom: 2rem; }
.btn { display: inline-block; padding: .8rem 1.4rem; border: 2px solid var(--gold); border-radius: 999px; color: var(--gold); font-weight: 700; text-decoration: none; letter-spacing: .04em; }
.btn:hover { background: var(--gold); color: #111; }
.center { text-align: center; }

/* Rechtliches */
.legal { background: var(--bg-2); border-top: 1px solid var(--line); padding: 4rem 0 2rem; font-size: .92rem; color: var(--muted); }
.legal details { border-bottom: 1px solid var(--line); }
.legal details:first-child { border-top: 1px solid var(--line); }
.legal summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.1rem 0; }
.legal summary::-webkit-details-marker { display: none; }
.legal summary h2 { margin: 0; font-size: 1rem; }
.legal summary::after { content: ""; width: .6rem; height: .6rem; border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(45deg); transition: transform .2s; flex: none; margin-right: .3rem; }
.legal details[open] summary::after { transform: rotate(-135deg); }
.legal summary:hover h2 { color: var(--gold); }
.legal details > :last-child { margin-bottom: 1.5rem; }
.legal h2 { color: var(--text); }
.legal p { margin: .3rem 0 .8rem; }
.small { font-size: .8rem; }
.copy { text-align: center; font-size: .78rem; margin: 3rem 0 0; padding: 0 1rem; }

/* Lightbox */
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(0,0,0,.94); color: #fff; }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(0,0,0,.94); }
.lightbox img { max-width: 94vw; max-height: 88vh; width: auto; height: auto; }
.lightbox button { position: absolute; background: rgba(0,0,0,.45); border: 0; color: #fff; font-size: 2.4rem; line-height: 1; width: 3.2rem; height: 3.2rem; border-radius: 50%; cursor: pointer; }
.lightbox button:hover { color: var(--gold); }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: 1rem; top: 50%; translate: 0 -50%; }
.lb-next { right: 1rem; top: 50%; translate: 0 -50%; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-down { animation: none; }
  .hero-video { display: none; }
  .hero { background: url("img/poster.jpg") center/cover; }
  .year-hero { background-attachment: scroll; }
}
.team-imgs a { display: block; cursor: zoom-in; }
.team-imgs a img { transition: opacity .3s; }
.team-imgs a:hover img { opacity: .85; }
