:root {
  --bg: #070a12;
  --bg-elevated: #0f1424;
  --surface: rgba(255, 255, 255, 0.04);
  --border: rgba(255, 255, 255, 0.08);
  --text: #e8ecf5;
  --muted: #9aa3b5;
  --accent: #5eead4;
  --accent-2: #a78bfa;
  --accent-3: #38bdf8;
  --danger: #fb7185;
  --radius-lg: 20px;
  --radius-md: 14px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --header-h: 72px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --font-sans: "DM Sans", system-ui, sans-serif;
  --font-display: "Outfit", var(--font-sans);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Animated background (fixed = nimmt keinen Platz im Flex-Flow) */
.bg-orbs {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
  animation: float-orb 18s var(--ease-out) infinite;
}

.orb--1 {
  width: min(42vw, 420px);
  height: min(42vw, 420px);
  background: radial-gradient(circle at 30% 30%, var(--accent-3), transparent 65%);
  top: -8%;
  left: -5%;
  animation-delay: 0s;
}

.orb--2 {
  width: min(50vw, 520px);
  height: min(50vw, 520px);
  background: radial-gradient(circle at 70% 40%, var(--accent-2), transparent 60%);
  bottom: 5%;
  right: -10%;
  animation-delay: -6s;
}

.orb--3 {
  width: min(35vw, 360px);
  height: min(35vw, 360px);
  background: radial-gradient(circle at 50% 50%, var(--accent), transparent 55%);
  top: 40%;
  left: 35%;
  opacity: 0.25;
  animation-delay: -12s;
}

@keyframes float-orb {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(4%, 6%) scale(1.05);
  }
  66% {
    transform: translate(-3%, -4%) scale(0.95);
  }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background 0.35s var(--ease-out), border-color 0.35s var(--ease-out),
    backdrop-filter 0.35s var(--ease-out);
}

.site-header.is-scrolled {
  background: rgba(7, 10, 18, 0.72);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
}

.site-header__inner {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo__mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-3));
  box-shadow: 0 8px 28px rgba(56, 189, 248, 0.35);
  position: relative;
  animation: pulse-mark 3.5s ease-in-out infinite;
}

.logo__mark::after {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 8px;
  border: 2px solid rgba(7, 10, 18, 0.35);
  border-top-color: transparent;
  animation: spin-slow 8s linear infinite;
}

@keyframes pulse-mark {
  0%,
  100% {
    transform: scale(1);
    filter: brightness(1);
  }
  50% {
    transform: scale(1.04);
    filter: brightness(1.08);
  }
}

@keyframes spin-slow {
  to {
    transform: rotate(360deg);
  }
}

.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.logo__sub {
  font-size: 0.75rem;
  color: var(--muted);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.nav-toggle:hover {
  border-color: rgba(255, 255, 255, 0.18);
}

.nav-toggle__bar {
  display: block;
  width: 20px;
  height: 2px;
  margin-inline: auto;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out), opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.site-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.25rem 1.75rem;
}

.site-nav a {
  text-decoration: none;
  font-size: 0.95rem;
  color: var(--muted);
  transition: color 0.2s;
}

.site-nav a:hover {
  color: var(--text);
}

.site-nav__cta {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-3));
  color: #041018 !important;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(94, 234, 212, 0.25);
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s;
}

.site-nav__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 36px rgba(94, 234, 212, 0.35);
}

/* Main layout */
main,
.site-header,
.site-footer {
  position: relative;
  z-index: 1;
}

/* Hero */
.hero {
  padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(4rem, 10vw, 6rem);
}

.hero__grid {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero__eyebrow {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin: 0 0 1rem;
  animation: fade-in-up 0.8s var(--ease-out) both;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4.5vw, 3.35rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 1.25rem;
}

.text-gradient {
  background: linear-gradient(120deg, var(--accent), var(--accent-3), var(--accent-2));
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: gradient-shift 6s ease infinite;
}

@keyframes gradient-shift {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.hero__lead {
  margin: 0 0 1.75rem;
  color: var(--muted);
  max-width: 36ch;
  font-size: 1.08rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-bottom: 2.25rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s, background 0.2s, border-color 0.2s;
}

.btn--primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-3));
  color: #041018;
  box-shadow: 0 12px 32px rgba(56, 189, 248, 0.28);
}

.btn--primary:hover {
  transform: translateY(-2px);
}

.btn--ghost {
  border-color: var(--border);
  background: var(--surface);
  color: var(--text);
}

.btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn--full {
  width: 100%;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--border);
}

.stat {
  margin: 0;
}

.stat__label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin: 0 0 0.35rem;
}

.stat__value {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
}

/* Hero track visual */
.hero__visual {
  display: flex;
  justify-content: center;
}

.track {
  position: relative;
  width: min(100%, 380px);
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, var(--bg-elevated), #121a2e);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
  animation: card-float 7s ease-in-out infinite;
}

@keyframes card-float {
  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
  }
  50% {
    transform: translateY(-10px) rotate(1deg);
  }
}

.track__lane {
  position: absolute;
  left: 12%;
  right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
}

.track__lane:nth-child(1) {
  top: 28%;
  animation: lane-glow 4s ease-in-out infinite;
}

.track__lane:nth-child(2) {
  top: 46%;
  animation: lane-glow 4s ease-in-out infinite 0.6s;
}

.track__lane:nth-child(3) {
  top: 64%;
  animation: lane-glow 4s ease-in-out infinite 1.2s;
}

@keyframes lane-glow {
  0%,
  100% {
    opacity: 0.35;
  }
  50% {
    opacity: 1;
  }
}

.track__figure {
  position: absolute;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  left: 18%;
  top: 42%;
  background: radial-gradient(circle at 30% 30%, #fff 0%, var(--accent) 45%, var(--accent-3) 100%);
  box-shadow: 0 0 0 6px rgba(94, 234, 212, 0.15);
  animation: run-lap 5.5s var(--ease-out) infinite;
}

@keyframes run-lap {
  0% {
    transform: translate(0, 0) scale(1);
  }
  25% {
    transform: translate(180%, -18%) scale(1.05);
  }
  50% {
    transform: translate(220%, 12%) scale(1);
  }
  75% {
    transform: translate(40%, 22%) scale(0.98);
  }
  100% {
    transform: translate(0, 0) scale(1);
  }
}

/* Sections */
.section {
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
}

.section--tint {
  background: linear-gradient(180deg, rgba(15, 20, 36, 0.65), rgba(7, 10, 18, 0.2));
  border-block: 1px solid var(--border);
}

.section__inner {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}

.section__inner--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}

.section__head {
  text-align: center;
  max-width: 56ch;
  margin: 0 auto 2.75rem;
}

.section__head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

.section__intro {
  margin: 0;
  color: var(--muted);
}

.section__intro--left {
  text-align: left;
}

/* Reveal animations */
[data-reveal],
[data-reveal-stagger] > * {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}

.is-visible[data-reveal],
[data-reveal-stagger].is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal-stagger].is-visible > *:nth-child(1) {
  transition-delay: 0.05s;
}
[data-reveal-stagger].is-visible > *:nth-child(2) {
  transition-delay: 0.12s;
}
[data-reveal-stagger].is-visible > *:nth-child(3) {
  transition-delay: 0.19s;
}
[data-reveal-stagger].is-visible > *:nth-child(4) {
  transition-delay: 0.26s;
}
[data-reveal-stagger].is-visible > *:nth-child(5) {
  transition-delay: 0.33s;
}
[data-reveal-stagger].is-visible > *:nth-child(6) {
  transition-delay: 0.4s;
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Cards */
.cards {
  display: grid;
  gap: 1.25rem;
}

.cards--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  padding: 1.5rem 1.35rem;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform 0.35s var(--ease-out), border-color 0.35s, box-shadow 0.35s;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(94, 234, 212, 0.35);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.card h3 {
  font-family: var(--font-display);
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.card__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  margin-bottom: 1rem;
  position: relative;
  overflow: hidden;
}

.card__icon::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: conic-gradient(from 120deg, var(--accent), var(--accent-3), var(--accent-2), var(--accent));
  animation: spin-slow 10s linear infinite;
  opacity: 0.85;
}

.card__icon::after {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 10px;
  background: var(--bg-elevated);
}

.card__icon--1::after {
  background: linear-gradient(135deg, #0f1424, #152038);
}
.card__icon--2::after {
  background: linear-gradient(135deg, #0f1424, #1a1f35);
}
.card__icon--3::after {
  background: linear-gradient(135deg, #0f1424, #14232e);
}

/* Timeline */
.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 640px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.timeline__item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.1rem;
  align-items: start;
  padding: 1.25rem 1.25rem 1.25rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  transition: border-color 0.3s, transform 0.3s var(--ease-out);
}

.timeline__item:hover {
  border-color: rgba(167, 139, 250, 0.35);
  transform: translateX(4px);
}

.timeline__dot {
  width: 12px;
  height: 12px;
  margin-top: 0.35rem;
  border-radius: 50%;
  background: var(--accent-2);
  box-shadow: 0 0 0 6px rgba(167, 139, 250, 0.2);
  animation: dot-pulse 2.8s ease-in-out infinite;
}

@keyframes dot-pulse {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(167, 139, 250, 0.2);
  }
  50% {
    transform: scale(1.08);
    box-shadow: 0 0 0 10px rgba(167, 139, 250, 0.12);
  }
}

.timeline__item h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.timeline__item p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

/* Club list */
.club-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 560px;
  margin-inline: auto;
}

.club-list__item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--surface);
  transition: transform 0.25s var(--ease-out), border-color 0.25s;
}

.club-list__item:hover {
  transform: translateX(6px);
  border-color: rgba(56, 189, 248, 0.35);
}

.club-list__badge {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.12);
  color: var(--accent-3);
  font-weight: 600;
}

.club-list__name {
  font-weight: 600;
}

/* Events */
.events {
  display: grid;
  gap: 1rem;
  max-width: 720px;
  margin-inline: auto;
}

.event {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  align-items: center;
  padding: 1.15rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.event:hover {
  border-color: rgba(94, 234, 212, 0.3);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.event__date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  padding: 0.5rem 0.65rem;
  border-radius: 12px;
  background: linear-gradient(145deg, var(--accent), var(--accent-3));
  color: #041018;
  font-weight: 700;
  line-height: 1.1;
  animation: date-tilt 6s ease-in-out infinite;
}

@keyframes date-tilt {
  0%,
  100% {
    transform: rotate(-2deg);
  }
  50% {
    transform: rotate(2deg);
  }
}

.event__day {
  font-size: 1.35rem;
  font-family: var(--font-display);
}

.event__month {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.event h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
}

.event p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Contact */
.contact-block {
  margin: 1.5rem 0 0;
  font-style: normal;
  color: var(--muted);
}

.contact-block a {
  color: var(--accent);
  text-decoration: none;
}

.contact-block a:hover {
  text-decoration: underline;
}

.contact-form {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.field input,
.field textarea {
  font: inherit;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.25);
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(94, 234, 212, 0.45);
  box-shadow: 0 0 0 3px rgba(94, 234, 212, 0.12);
}

.form-hint {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
}

/* Footer */
.site-footer {
  flex-shrink: 0;
  border-top: 1px solid var(--border);
  padding: 1.75rem 0 2.5rem;
}

.site-footer__inner {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-footer__brand {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer__nav {
  display: flex;
  gap: 1.25rem;
}

.site-footer__nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
}

.site-footer__nav a:hover {
  color: var(--text);
}

/* Verbands-Layout (Sidebar wie früheres Frameset) */
.top-banner {
  flex-shrink: 0;
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid transparent;
  transition: background 0.35s var(--ease-out), border-color 0.35s var(--ease-out),
    backdrop-filter 0.35s var(--ease-out);
}

.top-banner.is-scrolled {
  background: rgba(7, 10, 18, 0.78);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
}

.top-banner__inner {
  width: min(1200px, 100% - 2rem);
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 1rem 1.5rem;
  padding: 0.65rem 0;
  min-height: 72px;
}

.top-banner__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem 0.75rem;
  margin-left: auto;
  flex-shrink: 0;
}

.top-banner__actions .sidebar-toggle {
  margin-left: 0;
}

.top-banner__logo {
  width: min(120px, 28vw);
  height: auto;
  border-radius: 10px;
  flex-shrink: 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.top-banner__titles {
  flex: 1;
  min-width: 0;
}

.top-banner__org {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1rem, 2.4vw, 1.35rem);
  letter-spacing: -0.02em;
  color: #f4b6c2;
  text-shadow: 0 0 40px rgba(153, 0, 51, 0.35);
}

.sidebar-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 0;
  margin-left: auto;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.sidebar-toggle:hover {
  border-color: rgba(255, 255, 255, 0.18);
}

.sidebar-toggle__bar {
  display: block;
  width: 20px;
  height: 2px;
  margin-inline: auto;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out), opacity 0.2s;
}

.sidebar-toggle[aria-expanded="true"] .sidebar-toggle__bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.sidebar-toggle[aria-expanded="true"] .sidebar-toggle__bar:nth-child(2) {
  opacity: 0;
}

.sidebar-toggle[aria-expanded="true"] .sidebar-toggle__bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.layout {
  flex: 1 0 auto;
  width: min(1200px, 100% - 2rem);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
  padding: 1.25rem 0 3rem;
  position: relative;
  z-index: 1;
  min-height: 0;
}

.layout__backdrop {
  display: none;
}

.sidebar {
  position: sticky;
  top: calc(var(--header-h, 72px) + 12px);
  align-self: start;
}

.sidebar__inner {
  padding: 0.75rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: rgba(15, 20, 36, 0.85);
  box-shadow: var(--shadow);
}

.sidebar-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.sidebar-nav__item a {
  display: block;
  padding: 0.45rem 0.65rem;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.35);
  background: linear-gradient(180deg, #ffcc33, #f0a000);
  color: #5a0606 !important;
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none !important;
  transition: transform 0.2s var(--ease-out), filter 0.2s, box-shadow 0.2s;
}

.sidebar-nav__item a:hover {
  filter: brightness(1.05);
  transform: translateX(3px);
}

.sidebar-nav__item.is-active a {
  box-shadow: 0 0 0 2px rgba(94, 234, 212, 0.45);
  filter: brightness(1.08);
}

.sidebar-nav__item--login {
  margin-top: 0.65rem;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.sidebar-nav__item--login a {
  background: linear-gradient(180deg, #2a3f5c, #1a2a3d);
  color: #e2edf8 !important;
  border-color: rgba(120, 170, 220, 0.35);
}

.sidebar-nav__item--login a:hover {
  filter: brightness(1.12);
}

.sidebar-nav__auth {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

button.sidebar-nav__auth-btn,
a.sidebar-nav__auth-btn {
  display: block;
  width: 100%;
  padding: 0.45rem 0.65rem;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.35);
  font: inherit;
  font-weight: 600;
  font-size: 0.88rem;
  text-align: center;
  text-decoration: none !important;
  cursor: pointer;
  transition: transform 0.2s var(--ease-out), filter 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}

button.sidebar-nav__auth-btn {
  background: linear-gradient(180deg, #2a3f5c, #1a2a3d);
  color: #e2edf8 !important;
  border-color: rgba(120, 170, 220, 0.35);
}

button.sidebar-nav__auth-btn:hover {
  filter: brightness(1.12);
}

.sidebar-nav__auth-btn--primary {
  background: linear-gradient(180deg, #2a3f5c, #1a2a3d);
  color: #e2edf8 !important;
  border-color: rgba(120, 170, 220, 0.35);
}

.sidebar-nav__auth-btn--primary:hover {
  filter: brightness(1.12);
}

a.sidebar-nav__auth-btn--admin {
  background: linear-gradient(135deg, var(--accent), var(--accent-3));
  color: #041018 !important;
  border-color: rgba(94, 234, 212, 0.45);
  box-shadow: 0 4px 18px rgba(94, 234, 212, 0.22);
}

a.sidebar-nav__auth-btn--admin:hover {
  filter: brightness(1.06);
  transform: translateX(2px);
}

a.sidebar-nav__auth-btn--secondary {
  background: linear-gradient(180deg, #3a4d66, #243042);
  color: #e8eef5 !important;
  border-color: rgba(140, 170, 210, 0.28);
}

a.sidebar-nav__auth-btn--secondary:hover {
  filter: brightness(1.08);
}

.site-footer__nav .site-footer__auth-link {
  display: inline;
  padding: 0;
  margin: 0;
  border: none;
  background: none;
  font: inherit;
  font-size: inherit;
  color: inherit;
  text-decoration: underline;
  cursor: pointer;
  opacity: 0.95;
}

.site-footer__nav .site-footer__auth-link:hover {
  opacity: 1;
}

/* Anmelde-Modal (site-shell.js) – direkt in main.css, damit kein @import auf dem Server ausfällt */
.lav-auth-modal[hidden] {
  display: none !important;
}

.lav-auth-modal:not([hidden]) {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  box-sizing: border-box;
}

.lav-auth-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 8, 18, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.lav-auth-modal__dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 400px;
  padding: 1.5rem 1.35rem 1.35rem;
  border-radius: var(--radius-lg, 16px);
  border: 1px solid rgba(120, 160, 200, 0.28);
  background: rgba(15, 20, 36, 0.96);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
  color: var(--text);
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.lav-auth-modal__x {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.lav-auth-modal__x:hover {
  background: rgba(255, 255, 255, 0.12);
}

.lav-auth-modal__title {
  margin: 0 0 0.35rem;
  padding-right: 2rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
}

.lav-auth-modal__lead {
  margin: 0 0 1rem;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.45;
}

.lav-auth-modal__err {
  margin: 0 0 0.75rem;
  padding: 0.5rem 0.65rem;
  border-radius: 8px;
  background: rgba(240, 113, 120, 0.12);
  border: 1px solid rgba(240, 113, 120, 0.35);
  color: #ffc9cc;
  font-size: 0.88rem;
}

.lav-auth-modal__form {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  width: 100%;
  margin: 0;
}

.lav-auth-modal__label {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0.65rem 0 0.25rem;
}

.lav-auth-modal__label:first-of-type {
  margin-top: 0;
}

.lav-auth-modal__input {
  display: block;
  width: 100%;
  max-width: 100%;
  padding: 0.5rem 0.65rem;
  border-radius: 8px;
  border: 1px solid rgba(120, 160, 200, 0.28);
  background: rgba(8, 12, 22, 0.9);
  color: var(--text);
  font: inherit;
  box-sizing: border-box;
}

.lav-auth-modal__submit {
  margin-top: 1rem;
  width: 100%;
  padding: 0.55rem 1rem;
  border: none;
  border-radius: 10px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  background: linear-gradient(135deg, var(--accent-3), var(--accent));
  color: #041018;
}

body.lav-auth-modal-open {
  overflow: hidden;
}

.layout__main {
  min-width: 0;
}

.content-panel {
  padding: 1.35rem 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: rgba(15, 20, 36, 0.72);
  box-shadow: var(--shadow);
}

.content-panel h1 {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.5vw, 1.85rem);
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

.content-panel .lead {
  margin: 0 0 1rem;
  color: var(--muted);
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  color: var(--muted);
}

.news-list {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--text);
}

.news-list li {
  margin-bottom: 0.5rem;
}

.news-list li strong {
  color: var(--danger);
}

.link-stack {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  max-height: min(70vh, 640px);
  overflow: auto;
  padding-right: 0.25rem;
}

.link-stack__item a {
  display: block;
  padding: 0.5rem 0.65rem;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--accent-3) !important;
  text-decoration: none !important;
  font-size: 0.95rem;
  transition: border-color 0.2s, transform 0.2s var(--ease-out);
}

.link-stack__item a:hover {
  border-color: rgba(56, 189, 248, 0.45);
  transform: translateX(4px);
}

.link-stack--cards .link-stack__item a {
  min-height: 3.25rem;
  display: flex;
  align-items: center;
  font-weight: 600;
  font-size: 0.98rem;
}

.two-col-links {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 0.5rem;
}

.two-col-links a {
  display: block;
  padding: 0.55rem 0.65rem;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--accent-3) !important;
  text-decoration: none !important;
  font-size: 0.92rem;
}

.two-col-links a:hover {
  border-color: rgba(167, 139, 250, 0.4);
}

.figure-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.65rem;
}

.figure-grid a {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s;
}

.figure-grid a:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.figure-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.contact-grid {
  display: grid;
  gap: 0.75rem;
}

.contact-card {
  padding: 1rem 1.1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--surface);
}

.contact-card h2 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-family: var(--font-display);
}

.contact-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.contact-card a {
  color: var(--accent);
  text-decoration: none;
}

.contact-card a:hover {
  text-decoration: underline;
}

.prose-muted {
  color: var(--muted);
  font-size: 0.98rem;
}

.prose-muted a {
  color: var(--accent-3);
}

/* —— Ergebnisse: moderne Jahres-Karten —— */
.results-page {
  padding: 0;
  border: none;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.results-hero {
  position: relative;
  padding: clamp(1.75rem, 4vw, 2.75rem) clamp(1.25rem, 3vw, 2rem);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(15, 20, 36, 0.95) 0%, rgba(30, 27, 75, 0.55) 50%, rgba(15, 30, 45, 0.9) 100%);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.4);
  margin-bottom: 2rem;
  overflow: hidden;
}

.results-hero::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto auto;
  width: min(70%, 420px);
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(94, 234, 212, 0.18) 0%, transparent 68%);
  pointer-events: none;
  animation: results-glow 14s ease-in-out infinite;
}

@keyframes results-glow {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
    opacity: 0.9;
  }
  50% {
    transform: translate(-8%, 6%) scale(1.08);
    opacity: 1;
  }
}

.results-hero__eyebrow {
  position: relative;
  margin: 0 0 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

.results-hero h1 {
  position: relative;
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4vw, 2.45rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.results-hero__lead {
  position: relative;
  margin: 0;
  max-width: 42ch;
  color: var(--muted);
  font-size: 1.02rem;
}

.results-hero__chips {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.results-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  color: var(--text);
}

.results-chip--pulse {
  border-color: rgba(94, 234, 212, 0.45);
  box-shadow: 0 0 0 0 rgba(94, 234, 212, 0.35);
  animation: chip-pulse 2.8s ease-in-out infinite;
}

@keyframes chip-pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(94, 234, 212, 0.25);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(94, 234, 212, 0);
  }
}

.results-section {
  margin-bottom: 2rem;
}

.results-section__title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--muted);
}

.results-bento {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.75rem;
}

@media (min-width: 720px) {
  .results-bento--featured {
    grid-template-columns: repeat(4, 1fr);
  }

  .results-bento--featured .year-card--feature {
    grid-column: span 2;
    grid-row: span 2;
    min-height: 180px;
  }
}

.year-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 96px;
  padding: 1rem 1.1rem;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.06) 0%, rgba(15, 20, 36, 0.85) 100%);
  text-decoration: none !important;
  color: var(--text) !important;
  overflow: hidden;
  transition: transform 0.35s var(--ease-out), border-color 0.25s, box-shadow 0.35s;
}

.year-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 40%, rgba(56, 189, 248, 0.12) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform 0.6s var(--ease-out);
  pointer-events: none;
}

.year-card:hover {
  transform: translateY(-5px) scale(1.02);
  border-color: rgba(94, 234, 212, 0.35);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.year-card:hover::after {
  transform: translateX(100%);
}

.year-card--feature {
  background: linear-gradient(145deg, rgba(56, 189, 248, 0.15) 0%, rgba(15, 20, 36, 0.92) 55%, rgba(167, 139, 250, 0.12) 100%);
  border-color: rgba(56, 189, 248, 0.25);
}

.year-card__year {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(120deg, var(--text), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.year-card--feature .year-card__year {
  font-size: clamp(2rem, 4vw, 2.75rem);
}

.year-card__hint {
  margin: 0.35rem 0 0;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.year-card--archiv {
  grid-column: 1 / -1;
  min-height: 112px;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0%, rgba(15, 20, 36, 0.9) 100%);
}

.year-card--archiv .year-card__year {
  font-size: 1.65rem;
}

/* —— Modal: Legacy-HTML im Overlay —— */
body.sidebar-open,
body.lav-modal-open,
body.lav-lightbox-open {
  overflow: hidden;
}

.lav-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease-out);
}

.lav-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lav-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 6, 12, 0.72);
  backdrop-filter: blur(10px);
}

.lav-modal__sheet {
  position: relative;
  width: min(960px, 100%);
  max-height: min(88vh, 900px);
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.55);
  overflow: hidden;
  transform: translateY(16px) scale(0.98);
  transition: transform 0.35s var(--ease-out);
}

.lav-modal.is-open .lav-modal__sheet {
  transform: translateY(0) scale(1);
}

.lav-modal__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 1rem 0.9rem;
  border-bottom: 1px solid rgba(94, 234, 212, 0.12);
  background: linear-gradient(105deg, rgba(15, 20, 36, 0.98) 0%, rgba(25, 35, 55, 0.95) 45%, rgba(15, 22, 40, 0.98) 100%);
  position: relative;
}

.lav-modal__toolbar::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 1rem;
  width: 48px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-3));
  opacity: 0.85;
}

.lav-modal__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.lav-modal__actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.lav-modal__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.95rem;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid rgba(56, 189, 248, 0.25);
  background: rgba(56, 189, 248, 0.08);
  color: var(--accent-3);
  cursor: pointer;
  text-decoration: none !important;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.lav-modal__btn:hover {
  border-color: rgba(94, 234, 212, 0.45);
  background: rgba(94, 234, 212, 0.12);
  color: var(--accent);
}

.lav-modal__btn--ghost {
  background: transparent;
}

.lav-modal__iframe {
  flex: 1;
  width: 100%;
  min-height: min(70vh, 640px);
  border: 0;
  background: #070a12;
  opacity: 1;
  transition: opacity 0.2s ease;
}

.lav-modal__iframe.lav-modal__iframe--loading {
  opacity: 0;
}

.lav-modal__close {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.lav-modal__close:hover {
  border-color: rgba(251, 113, 133, 0.45);
  color: var(--danger);
}

/* —— Lightbox-Galerie —— */
.photo-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.75rem;
}

.photo-gallery__cell {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  border-radius: 14px;
  overflow: hidden;
  cursor: zoom-in;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s, border-color 0.25s;
}

.photo-gallery__cell:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.4);
  border-color: rgba(167, 139, 250, 0.45);
}

.photo-gallery__cell:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.photo-gallery__cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.photo-gallery__shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 45%, rgba(255, 255, 255, 0.08) 50%, transparent 55%);
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}

.photo-gallery__cell:hover .photo-gallery__shine {
  opacity: 1;
}

.photo-gallery__badge {
  position: absolute;
  bottom: 0.5rem;
  right: 0.5rem;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  pointer-events: none;
}

.lav-lightbox {
  position: fixed;
  inset: 0;
  z-index: 210;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease-out);
  touch-action: manipulation;
}

.lav-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lav-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 4, 10, 0.88);
  backdrop-filter: blur(12px);
}

.lav-lightbox__stage {
  position: relative;
  z-index: 1;
  width: min(96vw, 1200px);
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 3rem 0.5rem 0.5rem;
}

.lav-lightbox__frame {
  position: relative;
  width: 100%;
  flex: 1;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  overflow: visible;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #000;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

.lav-lightbox__img {
  max-width: 100%;
  max-height: min(78vh, 820px);
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.lav-lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s;
}

.lav-lightbox__nav:hover {
  background: rgba(94, 234, 212, 0.2);
  border-color: var(--accent);
}

.lav-lightbox__prev {
  left: 0.5rem;
}

.lav-lightbox__next {
  right: 0.5rem;
}

.lav-lightbox__top {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  right: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  z-index: 2;
  pointer-events: none;
}

.lav-lightbox__top > * {
  pointer-events: auto;
}

.lav-lightbox__counter {
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.lav-lightbox__close {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s;
}

.lav-lightbox__close:hover {
  background: rgba(251, 113, 133, 0.35);
}

.lav-lightbox__caption {
  margin: 0;
  text-align: center;
  font-size: 0.92rem;
  color: var(--muted);
  max-width: 48ch;
}

@media (prefers-reduced-motion: reduce) {
  .results-hero::before,
  .results-chip--pulse,
  .year-card::after {
    animation: none !important;
  }

  .year-card:hover {
    transform: none;
  }
}

@media (max-width: 960px) {
  .sidebar-toggle {
    display: flex;
  }

  .layout {
    grid-template-columns: 1fr;
  }

  .layout__backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s var(--ease-out);
    z-index: 35;
  }

  .layout__backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  .sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(280px, 88vw);
    z-index: 45;
    padding: 4.5rem 0.75rem 1rem;
    background: rgba(7, 10, 18, 0.96);
    border-right: 1px solid var(--border);
    transform: translateX(-102%);
    transition: transform 0.3s var(--ease-out);
    overflow-y: auto;
  }

  .sidebar.is-open {
    transform: translateX(0);
  }

  .sidebar__inner {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
  }
}

/* Responsive */
@media (max-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }

  .hero__visual {
    order: -1;
  }

  .cards--3 {
    grid-template-columns: 1fr;
  }

  .section__inner--split {
    grid-template-columns: 1fr;
  }

  .hero__stats {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    padding: 1rem 1.25rem 1.25rem;
    background: rgba(7, 10, 18, 0.95);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    transform-origin: top;
    transform: scaleY(0.92);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s var(--ease-out), transform 0.25s var(--ease-out);
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: scaleY(1);
  }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }

  .site-nav a {
    display: block;
    padding: 0.65rem 0.5rem;
  }

  .site-nav__cta {
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  [data-reveal],
  [data-reveal-stagger] > * {
    opacity: 1;
    transform: none;
  }
}
