/* ════════════════════════════════════════════════════════════════════════════
   INDEX — styles exclusive to the homepage
   ════════════════════════════════════════════════════════════════════════════ */

/* ─── Desktop: nav sits over the right panel ─────────────────────────── */
@media (min-width: 769px) {
  .site-nav {
    width: var(--panel-w);
    margin-left: var(--header-w);
    background: transparent;
    border-bottom: none;
  }

  .site-nav__inner {
    justify-content: flex-end;
    padding-right: var(--s4);
    padding-left: 0;
  }

  .site-nav .site-nav__home-link { display: none; }
  .site-nav .nav-toggle-btn { display: none; }
}

.is-stuck { border-bottom: 1px solid var(--border); }


/* ════════════════════════════════════════════════════════════════════════════
   HEADER — Split-screen hero
   ════════════════════════════════════════════════════════════════════════════ */
.v4-image {
  width: 60%;
  float: left;
  height: 100vh;
  overflow: hidden;
  min-height: 88svh;
}

.v4-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 30%;
}

.v4-panel {
  width: 40%;
  background: var(--panel-bg);
  color: var(--panel-text);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--s8) var(--s8) 25vh var(--s6);
  height: calc(100vh - var(--nav-h));
  align-self: start;
}

.v4-panel__year {
  position: absolute;
  top: var(--s6);
  right: var(--s6);
  font-size: clamp(3rem, 5vw, 5.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: inherit;
  opacity: 0.12;
  pointer-events: none;
  user-select: none;
}

.v4-panel__season {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: inherit;
  opacity: 0.55;
  margin-bottom: var(--s4);
}

.v4-panel__title {
  font-size: clamp(1.125rem, 1.8vw, 1.75rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: inherit;
  margin-bottom: var(--s3);
}

.v4-panel__divider {
  width: 2.5rem;
  height: 2px;
  background: currentColor;
  opacity: 0.35;
  margin-bottom: var(--s3);
}

.v4-panel__tagline {
  font-size: var(--text-sm);
  line-height: 1.6;
  color: inherit;
  opacity: 0.6;
  max-width: 26ch;
}


/* ─── Scroller brand bar ─────────────────────────────────────────────────── */
.scroller {
  height: var(--nav-h);
  z-index: 99;
  position: sticky;
  top: 0;
  background-color: white;
  display: flex;
  align-items: center;
  padding-left: var(--s4);
}

.scroller__brand {
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: white;
  user-select: none;
  pointer-events: none;
  white-space: nowrap;
  transition: color var(--dur) var(--ease);
}

.scroller.is-stuck .scroller__brand {
  color: var(--ink);
}


/* ════════════════════════════════════════════════════════════════════════════
   SECTION: NEXT EVENT
   ════════════════════════════════════════════════════════════════════════════ */
.next-event {
  background: var(--lit);
  margin-top: var(--s12);
  padding: var(--s12) 0;
}

.next-event__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: var(--s8);
}

.next-event__eyebrow {
  display: block;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: var(--s2);
}

.next-event__title {
  font-size: clamp(var(--text-lg), 3.8vw, var(--text-xl));
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: var(--s3);
}

.next-event__meta {
  display: flex;
  flex-wrap: wrap;
  column-gap: var(--s4);
  row-gap: var(--s1);
  margin-bottom: var(--s4);
}

.next-event__meta-item {
  display: flex;
  align-items: center;
  gap: 0.45em;
  font-size: var(--text-sm);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
}

.next-event__meta-item svg {
  color: rgba(255, 255, 255, 0.9);
  flex-shrink: 0;
}

.next-event__description {
  font-size: var(--text-base);
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  max-width: 58ch;
  margin-bottom: var(--s6);
}

.next-event__aside {
  text-align: center;
  padding: var(--s4) var(--s6);
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.25);
  min-width: 10rem;
}

.next-event__date-day {
  display: block;
  font-size: var(--text-2xl);
  font-weight: 700;
  line-height: 1;
  color: #fff;
  letter-spacing: -0.04em;
}

.next-event__date-month {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 0.3em;
}

@media (max-width: 768px) {
  .next-event {
    margin-top: var(--s6);
    padding: var(--s8) 0;
  }

  .next-event__inner {
    grid-template-columns: 1fr;
  }

  .next-event__aside {
    display: none;
  }
}


/* ════════════════════════════════════════════════════════════════════════════
   SECTION: JOIN / MITGLIED WERDEN
   ════════════════════════════════════════════════════════════════════════════ */
.join-section {
  padding: var(--s16) 0;
  border-top: 1px solid var(--border);
}

.join-section__inner {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: var(--s12);
  align-items: center;
}

.join-section__headline {
  margin-bottom: var(--s4);
}

.join-section__text {
  font-size: var(--text-base);
  color: var(--ink-muted);
  line-height: 1.7;
  max-width: 52ch;
  margin-bottom: var(--s6);
}

.join-section__text p+p {
  margin-top: var(--s3);
}

.join-section__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
}

.join-section__aside {
  padding: var(--s6);
  border-left: 4px solid var(--lit);
  background: var(--lit-light);
}

.join-aside__quote {
  font-size: var(--text-md);
  font-style: italic;
  line-height: 1.6;
  color: var(--ink);
  margin-bottom: var(--s3);
}

.join-aside__attribution {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--ink-muted);
}

@media (max-width: 900px) {
  .join-section__inner {
    grid-template-columns: 1fr;
    gap: var(--s8);
  }
}


/* ─── Mobile: stacked hero ───────────────────────────────────────────── */
@media (max-width: 768px) {
  .v4-image {
    width: 100%;
    float: none;
    height: auto;
    aspect-ratio: 1 / 1;
    min-height: auto;
    max-height: 65vh;
  }

  .v4-panel {
    width: 100%;
    height: auto;
    background: var(--bg);
    color: var(--ink);
    padding: var(--s6) var(--s3) var(--s8);
    justify-content: flex-start;
  }

  .v4-panel__year { display: none; }

  .v4-panel__season {
    color: var(--ink-muted);
    opacity: 1;
  }

  .v4-panel__title {
    font-size: clamp(var(--text-lg), 7vw, var(--text-xl));
    color: var(--ink);
  }

  .v4-panel__divider {
    background: var(--border);
    opacity: 1;
  }

  .v4-panel__tagline {
    color: var(--ink-muted);
    opacity: 1;
  }

  .scroller { display: none; }

  .next-event { margin-top: 0; }
}
