/* BC Corvus – Farben aus dem Clublokal: Schwarz, Leder, Neonrot, Knochenweiss */
@font-face {
  font-family: "Uncial Antiqua";
  src: url("fonts/uncial-antiqua.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0d0a0a;
  --surface: #171212;
  --surface-2: #211a19;
  --line: #342927;
  --text: #ece5db;
  --muted: #a89d92;
  --neon: #ff2d40;
  --oxblood: #6b1016;
  --bone: #d9cfbf;
  --display: Impact, Haettenschweiler, "Arial Narrow Bold", "Franklin Gothic Bold", "Helvetica Neue", sans-serif;
  --neon-font: "Uncial Antiqua", "Luminari", "Papyrus", fantasy;
  --body: "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .03em;
  line-height: 1;
  margin: 0;
  text-wrap: balance;
}
h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h3 { font-size: 1.25rem; letter-spacing: .06em; }
p { margin: 0 0 1em; }
address { font-style: normal; }

.eyebrow {
  font-size: .78rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--neon);
  margin: 0 0 .9rem;
  font-weight: 700;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: .85rem 1.5rem;
  font-family: var(--display);
  font-size: 1.05rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid var(--neon);
  transition: background .15s, color .15s, box-shadow .15s;
}
.btn-primary { background: var(--neon); color: #14090a; }
.btn-primary:hover { box-shadow: 0 0 22px rgba(255, 45, 64, .55); }
.btn-ghost { border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--bone); }
a:focus-visible { outline: 2px solid var(--bone); outline-offset: 3px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .6rem clamp(1rem, 4vw, 2.5rem);
  background: rgba(13, 10, 10, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex; align-items: center; gap: .7rem;
  text-decoration: none;
  font-family: var(--neon-font);
  font-size: 1.2rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.brand img { border-radius: 50%; }
.site-header nav { display: flex; align-items: center; gap: clamp(.9rem, 2.2vw, 2rem); }
.site-header nav a {
  text-decoration: none;
  font-size: .82rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  padding: .4rem 0;
}
.site-header nav a:hover { color: var(--text); }
.site-header nav .nav-cta { color: var(--neon); }

/* Hero */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  min-height: min(86vh, 820px);
  border-bottom: 1px solid var(--line);
}
.hero-text {
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1rem, 5vw, 4rem);
}
.hero h1 {
  font-family: var(--neon-font);
  font-size: clamp(3rem, 6vw, 6rem);
  line-height: 1.02;
  letter-spacing: .01em;
  color: var(--bone);
  -webkit-text-stroke: .05em var(--neon);
  paint-order: stroke fill;
  text-shadow: 0 0 .12em rgba(255, 45, 64, .9), 0 0 .45em rgba(255, 45, 64, .55), 0 0 1.1em rgba(255, 45, 64, .3);
}
.hero h1 span { display: block; }
.lead {
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  max-width: 30ch;
  margin: 1.6rem 0 2rem;
  color: var(--text);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.open-sign {
  margin: 2.2rem 0 0;
  font-size: .85rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #ffc9ce;
  text-shadow: 0 0 12px rgba(255, 45, 64, .8);
  display: flex; align-items: center; gap: .7rem;
}
.dot {
  width: .6rem; height: .6rem; border-radius: 50%; flex: none;
  background: var(--neon);
  box-shadow: 0 0 10px 2px rgba(255, 45, 64, .8);
}
.hero-photo { margin: 0; position: relative; min-height: 320px; }
.hero-photo img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 30%;
}
.hero-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--bg) 0%, rgba(13, 10, 10, 0) 22%);
}

/* Faktenleiste */
.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}
.facts > div {
  padding: 1.4rem clamp(1rem, 3vw, 2.5rem);
  border-left: 1px solid var(--line);
}
.facts > div:first-child { border-left: 0; }
.facts strong {
  display: block;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.4rem, 2.6vw, 2.1rem);
  text-transform: uppercase;
  letter-spacing: .04em;
  line-height: 1.1;
  color: var(--bone);
}
.facts span { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* Sections */
.section {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: clamp(4rem, 9vw, 7.5rem) clamp(1rem, 4vw, 2.5rem);
}
.section-head { max-width: 46rem; margin-bottom: 2.5rem; }
.section-head h2 { margin-bottom: 1rem; }
.section-head p:last-child { color: var(--muted); margin: 0; }

/* Club */
.club {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.club-badge { position: sticky; top: 110px; }
.club-badge img {
  width: 100%; max-width: 380px; margin: 0 auto;
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--line), 0 0 70px rgba(255, 45, 64, .22);
}
.club-text h2 { margin-bottom: 1.4rem; }
.club-text > p { max-width: 38rem; color: #d3cac0; }
.values {
  list-style: none; padding: 0; margin: 2.5rem 0 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.values li { background: var(--surface); padding: 1.5rem 1.3rem; }
.values h3 { color: var(--bone); margin-bottom: .7rem; }
.values p { margin: 0; font-size: .95rem; color: var(--muted); }

/* Fotos */
.photo { margin: 0; position: relative; overflow: hidden; background: var(--surface); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo figcaption {
  position: absolute; left: 0; bottom: 0;
  padding: .45rem .9rem;
  background: rgba(13, 10, 10, .85);
  font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--bone);
}

/* Clublokal */
.lokal-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}
.photo-wide { grid-column: span 8; aspect-ratio: 4 / 3; }
.photo-tall { grid-column: span 4; }
.info-card {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto;
  align-items: center;
  gap: 1rem 2rem;
  padding: 1.8rem clamp(1.2rem, 3vw, 2.2rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--neon);
}
.info-card h3 { color: var(--muted); font-size: .95rem; }
.info-card p, .info-card address { margin: 0; }
.info-card .big {
  font-family: var(--display);
  font-size: 1.7rem; line-height: 1.1;
  text-transform: uppercase; letter-spacing: .04em;
  color: #ffd5d9;
  text-shadow: 0 0 14px rgba(255, 45, 64, .7);
}

/* Ausfahrten */
.rides-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1rem;
}
.r1 { grid-column: span 7; aspect-ratio: 4 / 3; }
.r2 { grid-column: span 5; }
.r3 { grid-column: span 4; aspect-ratio: 3 / 4; }
.r4 { grid-column: span 4; aspect-ratio: 3 / 4; }
.r5 { grid-column: span 4; aspect-ratio: 3 / 4; }
.r4 img { object-position: 50% 45%; }

/* Events */
.event-list { display: grid; gap: 1rem; }
.event {
  display: grid; grid-template-columns: 7.5rem 1fr;
  background: var(--surface);
  border: 1px solid var(--line);
}
.event-date {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 1.4rem .5rem;
  background: var(--oxblood);
  color: var(--bone);
}
.event-date span { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; }
.event-date strong { font-family: var(--display); font-weight: 400; font-size: 3rem; line-height: 1; text-transform: uppercase; }
.event-body { padding: 1.5rem clamp(1.1rem, 3vw, 2rem); }
.event-body h3 { font-size: 1.6rem; margin-bottom: .6rem; color: var(--bone); }
.event-body p { max-width: 44rem; color: #d3cac0; }
.event-body p:last-child { margin-bottom: 0; }
.event-meta { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--neon) !important; font-weight: 700; }
.event-pending .event-date { background: var(--surface-2); color: var(--muted); }
.event-pending .event-body p { color: var(--muted); }

.visitor-info { margin-top: 2.5rem; }
.visitor-info h3 { color: var(--muted); margin-bottom: 1rem; }
.visitor-info ul { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.visitor-info li { padding: .9rem 0; border-bottom: 1px solid var(--line); }
.visitor-info strong { display: inline-block; min-width: 4.5rem; color: var(--bone); }

/* Besuch */
.visit {
  text-align: center;
  max-width: none;
  background:
    radial-gradient(60% 80% at 50% 0%, rgba(255, 45, 64, .16), transparent 70%),
    var(--surface);
  border-top: 1px solid var(--line);
}
.visit h2 { font-size: clamp(2.6rem, 7vw, 5rem); color: var(--bone); margin-bottom: 1.2rem; }
.visit p { max-width: 36rem; margin: 0 auto 1.4rem; color: #d3cac0; }
.visit address {
  font-size: .85rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 2rem;
}
.contact {
  max-width: 34rem;
  margin: 3rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.contact h3 { color: var(--muted); margin-bottom: .8rem; }
.contact p { margin-bottom: 1rem; }
.contact-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 2rem; }
.contact-links a {
  font-family: var(--display);
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  letter-spacing: .04em;
  color: var(--bone);
  text-decoration-color: var(--neon);
  text-underline-offset: .25em;
}
.contact-links a:hover { color: #fff; }
.visitor-info a, .site-footer a { color: var(--bone); text-underline-offset: .2em; }
.site-footer a { text-transform: none; letter-spacing: .04em; }
.constellation { width: 84px; margin: 0 auto 1.6rem; display: block; overflow: visible; }
.constellation polygon, .constellation line { fill: none; stroke: var(--muted); stroke-width: 1; }
.constellation circle { fill: var(--bone); }

/* Footer */
.site-footer {
  padding: 2.5rem 1rem 3rem;
  text-align: center;
  border-top: 1px solid var(--line);
  font-size: .82rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted);
}
.site-footer img { border-radius: 50%; margin: 0 auto 1rem; }
.site-footer p { margin: 0 0 .3rem; }
.site-footer strong { color: var(--text); }

/* Tablet */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-photo { order: -1; aspect-ratio: 6 / 5; min-height: 0; }
  .hero-photo::after { background: linear-gradient(0deg, var(--bg) 0%, rgba(13, 10, 10, 0) 30%); }
  .hero-text { padding-top: 1.5rem; }
  .hero h1 { font-size: clamp(3rem, 15vw, 6rem); }
  .club { grid-template-columns: 1fr; }
  .club-badge { position: static; }
  .club-badge img { max-width: 240px; }
  .info-card { grid-template-columns: auto 1fr; }
  .info-card .btn { grid-column: 1 / -1; text-align: center; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .facts > div:nth-child(3) { border-left: 0; }
  .facts > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* Mobile */
@media (max-width: 640px) {
  body { font-size: 16px; }
  .site-header { flex-direction: column; align-items: stretch; gap: .2rem; padding-bottom: .3rem; }
  .site-header nav { justify-content: space-between; gap: .6rem; overflow-x: auto; }
  .site-header nav a { font-size: .7rem; letter-spacing: .08em; white-space: nowrap; }
  html { scroll-padding-top: 110px; }
  .values { grid-template-columns: 1fr; }
  .photo-wide, .photo-tall, .r1, .r2, .r3, .r4, .r5 { grid-column: 1 / -1; }
  .photo-tall, .r2 { aspect-ratio: 4 / 3; }
  .r3, .r4 { aspect-ratio: 4 / 5; }
  .r5 { aspect-ratio: 4 / 3; }
  .info-card { grid-template-columns: 1fr; gap: .5rem; }
  .info-card h3:not(:first-child) { margin-top: 1rem; }
  .info-card .btn { margin-top: 1rem; }
  .event { grid-template-columns: 5rem 1fr; }
  .event-date strong { font-size: 2.2rem; }
}

/* ---------- Animationen ---------- */

/* Hero: gestaffelter Einstieg */
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.hero-text > * { animation: rise .7s cubic-bezier(.2, .7, .2, 1) both; }
.hero-text > :nth-child(1) { animation-delay: .05s; }
.hero-text > :nth-child(2) { animation-delay: .15s; }
.hero-text > :nth-child(3) { animation-delay: .45s; }
.hero-text > :nth-child(4) { animation-delay: .6s; }
.hero-text > :nth-child(5) { animation-delay: .75s; }

/* Neon springt an und flackert danach ab und zu */
@keyframes neon-on {
  0%, 12%, 16%, 24%, 30% { text-shadow: none; -webkit-text-stroke-color: #5a1218; color: #6d665e; }
  14%, 20%, 28%, 36%, 100% { text-shadow: 0 0 .12em rgba(255, 45, 64, .9), 0 0 .45em rgba(255, 45, 64, .55), 0 0 1.1em rgba(255, 45, 64, .3); -webkit-text-stroke-color: var(--neon); color: var(--bone); }
}
@keyframes neon-flicker {
  0%, 91%, 93%, 96%, 100% { opacity: 1; }
  92%, 95% { opacity: .72; }
}
.hero h1 { animation: rise .7s cubic-bezier(.2, .7, .2, 1) .15s both, neon-on 1.6s linear .3s both; }
.hero h1 span { animation: neon-flicker 7s linear 3s infinite; }

/* «Geöffnet»-Punkt pulsiert */
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 10px 2px rgba(255, 45, 64, .8); }
  50% { box-shadow: 0 0 18px 6px rgba(255, 45, 64, .35); }
}
.dot { animation: pulse 2.2s ease-in-out infinite; }

/* Hero-Foto zoomt langsam */
@keyframes slow-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero-photo { overflow: hidden; }
.hero-photo img { animation: slow-zoom 9s ease-out both; }

/* Einblenden beim Scrollen (nur mit JS) */
.js .reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1);
  transition-delay: var(--d, 0ms);
}
.js .reveal.in { opacity: 1; transform: none; }

/* Fotos: Zoom beim Hover */
.photo img { transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.photo:hover img { transform: scale(1.05); }

/* Karten und Buttons */
.values li { transition: background .25s; }
.values li:hover { background: var(--surface-2); }
.event { transition: border-color .25s, transform .25s; }
.event:hover { border-color: var(--oxblood); transform: translateX(4px); }
.btn { transition: background .15s, color .15s, box-shadow .15s, transform .15s; }
.btn:hover { transform: translateY(-2px); }
.site-header nav a { transition: color .15s; }

/* Sternbild zeichnet sich */
.js .constellation polygon, .js .constellation line { stroke-dasharray: 260; stroke-dashoffset: 260; transition: stroke-dashoffset 1.8s ease .3s; }
.js .constellation.in polygon, .js .constellation.in line { stroke-dashoffset: 0; }
@keyframes twinkle { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }
.constellation circle { animation: twinkle 3.4s ease-in-out infinite; }
.constellation circle:nth-of-type(2) { animation-delay: .8s; }
.constellation circle:nth-of-type(3) { animation-delay: 1.6s; }
.constellation circle:nth-of-type(4) { animation-delay: 2.3s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .constellation polygon, .js .constellation line { stroke-dashoffset: 0; }
}
