/* BSC Göppingen 93 e.V. — statische Vereinsseite (dark) */

:root {
  --bg: #0a1510;
  --surface: #11221a;
  --surface-2: #162b21;
  --hero-bg: #060e0a;
  --felt-deep: #060e0a;
  --felt-mid: #11221a;
  --felt-light: #86c98f;
  --green-accent: #9ed4a5;
  --gold: #e0c058;
  --gold-bright: #edd06a;
  --gold-muted: #d7b64e;
  --chalk: #b8d4e0;
  --chalk-dim: #9eb5c4;
  --wood-warm: #6b5340;
  --ink: #e9e6dd;
  --ink-muted: #c4c0b4;
  --ink-faint: #a8a49a;
  --line: rgba(233, 230, 220, 0.14);
  --line-strong: rgba(233, 230, 220, 0.22);
  --focus: #86c98f;
  --max: 72rem;
  --serif: Georgia, "Iowan Old Style", "Palatino Linotype", "Times New Roman", serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
}

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

html {
  scroll-behavior: smooth;
}

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

::selection {
  background: rgba(134, 201, 143, 0.35);
  color: var(--ink);
}

body {
  margin: 0;
  overflow-x: hidden;
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse 100% 60% at 100% 0%, rgba(46, 168, 46, 0.06), transparent 55%),
    radial-gradient(ellipse 80% 50% at 0% 100%, rgba(215, 182, 78, 0.04), transparent 50%);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--felt-light);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--green-accent);
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  padding: 0.75rem 1.25rem;
  background: var(--gold-muted);
  color: var(--hero-bg);
  font-weight: 600;
}

.skip-link:focus {
  left: 0;
}

.text-emphasis {
  color: var(--ink);
}

/* —— Site chrome —— */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 21, 16, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.site-header__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

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

.brand:hover {
  color: inherit;
}

.brand__mark {
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand__short {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-weight: 600;
}

.brand__name {
  font-family: var(--serif);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  cursor: pointer;
}

.nav-toggle__bar {
  display: block;
  width: 1.25rem;
  height: 2px;
  margin: 0 auto;
  background: var(--ink);
  transition: transform 0.25s var(--ease), opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) {
  transform: translateY(7px) 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(-7px) rotate(-45deg);
}

.site-nav {
  display: none;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  padding: 1rem 1.25rem 1.5rem;
}

.site-nav.is-open {
  display: block;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  display: block;
  padding: 0.6rem 0;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}

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

@media (min-width: 900px) {
  .nav-toggle {
    display: none;
  }

  .site-header__inner {
    padding: 1rem 2rem;
  }

  .site-nav {
    display: block;
    position: static;
    border: none;
    padding: 0;
    background: transparent;
  }

  .site-nav ul {
    display: flex;
    gap: 0.25rem 1.75rem;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .site-nav a {
    border: none;
    padding: 0.25rem 0;
    font-size: 0.875rem;
    letter-spacing: 0.02em;
  }
}

/* —— Hero —— */

.hero {
  position: relative;
  background: var(--hero-bg);
  color: var(--ink);
  overflow: hidden;
  isolation: isolate;
  border-bottom: 1px solid var(--line);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 70% at 70% 20%, rgba(46, 168, 46, 0.08), transparent 55%),
    radial-gradient(ellipse 60% 50% at 10% 90%, rgba(215, 182, 78, 0.06), transparent 50%),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.02) 0,
      rgba(255, 255, 255, 0.02) 1px,
      transparent 1px,
      transparent 4px
    );
  pointer-events: none;
}

.hero__ball-motif {
  position: absolute;
  right: 0;
  bottom: -15%;
  width: min(45vw, 18rem);
  max-width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--gold-bright), var(--gold) 45%, #8a6b1a 100%);
  opacity: 0.1;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: 3rem 1.25rem 3.5rem;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--chalk-dim);
  margin-bottom: 1.5rem;
}

.hero__meta span::before {
  content: "— ";
  color: var(--gold-muted);
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 6vw, 3.25rem);
  font-weight: 400;
  line-height: 1.1;
  margin: 0 0 1.25rem;
  max-width: 18ch;
  letter-spacing: -0.03em;
}

.hero__lead {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink-muted);
  max-width: 38ch;
  margin: 0 0 2rem;
}

.hero__exits {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.btn-exit {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  padding: 0.85rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.2s, border-color 0.2s;
}

.btn-exit--primary {
  background: var(--green-accent);
  color: var(--hero-bg);
  border-color: var(--green-accent);
}

.btn-exit--primary:hover {
  background: #b5e0bb;
  color: var(--hero-bg);
}

.btn-exit--secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}

.btn-exit--secondary:hover {
  border-color: var(--gold);
  color: var(--gold-bright);
}

.btn-exit__hint {
  font-size: 0.75rem;
  font-weight: 400;
  opacity: 0.85;
}

@media (min-width: 900px) {
  .hero__inner {
    padding: 5rem 2rem 5.5rem;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: end;
  }

  .hero__exits {
    align-self: end;
    padding-bottom: 0.5rem;
  }

  .hero__ball-motif {
    right: 5%;
    bottom: 10%;
    opacity: 0.14;
  }
}

/* —— Main layout —— */

.main-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem 4rem;
}

@media (min-width: 900px) {
  .main-wrap {
    padding: 0 2rem 5rem;
  }
}

.section {
  padding-top: 3.5rem;
  border-top: 1px solid var(--line);
  margin-top: 3.5rem;
}

.section:first-child {
  margin-top: 2.5rem;
  border-top: none;
  padding-top: 0;
}

.section__head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem 1.5rem;
  align-items: baseline;
  margin-bottom: 1.75rem;
}

.section__num {
  font-family: var(--serif);
  font-size: 2.5rem;
  font-weight: 400;
  line-height: 1;
  color: var(--gold-muted);
  letter-spacing: -0.04em;
}

.section__title {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 400;
  margin: 0;
  letter-spacing: -0.02em;
}

.section__kicker {
  grid-column: 1 / -1;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: -0.5rem 0 0;
}

@media (min-width: 900px) {
  .section__head {
    grid-template-columns: 4rem 1fr;
  }

  .section__num {
    grid-column: 1;
    grid-row: 1;
  }

  .section__title {
    grid-column: 2;
    grid-row: 1;
  }

  .section__kicker {
    grid-column: 2;
    grid-row: 2;
    margin-top: 0.25rem;
  }
}

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

.prose--compact {
  font-size: 0.85rem;
}

.prose p {
  margin: 0 0 1.1rem;
  max-width: 62ch;
}

.prose p:last-child {
  margin-bottom: 0;
}

.prose strong {
  color: var(--ink);
}

.split {
  display: grid;
  gap: 2rem;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .split--wide-left {
    grid-template-columns: 1.35fr 0.65fr;
  }
}

.section-rail-top {
  border-top: 2px solid var(--line-strong);
  padding-top: 1.25rem;
}

.section__head--rule {
  border-top: 2px solid var(--line-strong);
  padding-top: 1.75rem;
  margin-top: 0.5rem;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.data-table th,
.data-table td {
  text-align: left;
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.data-table th {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  font-weight: 600;
}

.data-table td {
  color: var(--ink-muted);
}

.data-table td:first-child {
  color: var(--ink);
  font-weight: 500;
}

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 1.25rem;
}

.table-scroll table {
  min-width: 40rem;
}

@media (max-width: 899px) {
  .data-table thead th:nth-child(3),
  .data-table tbody td:nth-child(3) {
    display: none;
  }

  .table-scroll table {
    min-width: 0;
    width: 100%;
  }
}

@media (min-width: 900px) {
  .data-table thead th:nth-child(3),
  .data-table tbody td:nth-child(3) {
    display: table-cell;
  }

  .table-scroll table {
    min-width: 0;
    width: 100%;
  }
}

.heim-card {
  background: var(--surface-2);
  color: var(--ink);
  padding: 2rem 1.5rem;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
}

.heim-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(160deg, rgba(215, 182, 78, 0.08) 0%, transparent 50%),
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 8px,
      rgba(0, 0, 0, 0.15) 8px,
      rgba(0, 0, 0, 0.15) 9px
    );
  pointer-events: none;
}

.heim-card__inner {
  position: relative;
}

.heim-card address {
  font-style: normal;
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1.5;
  margin: 0 0 1.25rem;
  color: var(--ink);
}

.heim-card p {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  color: var(--ink-muted);
}

.heim-card a {
  color: var(--felt-light);
}

.heim-card a:hover {
  color: var(--green-accent);
}

.saison-facts {
  border-left: 3px solid var(--gold);
  padding: 0.35rem 0 0.35rem 1rem;
  margin: 0;
}

.saison-facts__season {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 400;
  color: var(--ink);
  margin: 0 0 0.5rem;
  line-height: 1.2;
}

.saison-facts__meta {
  font-size: 0.88rem;
  color: var(--ink-muted);
  line-height: 1.55;
  margin: 0;
  max-width: 28ch;
}

.season-note {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.35rem 0.65rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  background: var(--surface);
  border-left: 3px solid var(--gold);
  color: var(--ink-muted);
}

.member-notice-wrap {
  border-top: 1px solid var(--line-strong);
  margin-top: 3.5rem;
  padding-top: 1.5rem;
}

.member-notice {
  font-size: 0.9rem;
  color: var(--ink-faint);
  line-height: 1.65;
  margin: 0;
  padding: 0.15rem 0 0.15rem 0.75rem;
  border-left: 3px solid var(--gold);
  max-width: 65ch;
}

.member-notice a {
  color: var(--felt-light);
}

.cue-line {
  height: 4px;
  margin: 2rem 0;
  background:
    linear-gradient(90deg, var(--wood-warm) 0%, var(--wood-warm) 45%, transparent 45%),
    linear-gradient(90deg, transparent 55%, var(--gold-muted) 55%, var(--gold-muted) 100%);
  opacity: 0.6;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--line-strong);
  background: var(--felt-deep);
  color: var(--ink-muted);
  font-size: 0.875rem;
}

.site-footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.5rem 1.25rem 2rem;
}

.site-footer a {
  color: var(--chalk);
}

.site-footer a:hover {
  color: var(--gold-bright);
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 900px) {
  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 3rem;
  }

  .site-footer__inner {
    padding: 3rem 2rem 2.5rem;
  }
}

.footer-title {
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 400;
  color: var(--ink);
  margin: 0 0 0.75rem;
}

.footer-grid ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-grid li {
  margin-bottom: 0.4rem;
}

.footer-fine {
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.75rem;
  color: var(--ink-faint);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
}

/* Legal page */

.legal-page {
  max-width: 42rem;
  padding-top: 2rem;
}

.legal-page h1 {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 400;
  margin: 0 0 2rem;
}

.legal-page h2 {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 400;
  margin: 2rem 0 0.75rem;
  color: var(--ink);
}

.legal-page h3 {
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 1.5rem 0 0.5rem;
  color: var(--ink-faint);
}

.legal-intro {
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--ink-muted);
  margin: 0 0 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}

.legal-page p,
.legal-page address {
  color: var(--ink-muted);
  margin: 0 0 1rem;
}

.legal-page address {
  font-style: normal;
}

.back-link {
  display: inline-block;
  margin-bottom: 2rem;
  font-size: 0.9rem;
  text-decoration: none;
}
