/* ============================================
   SCH Club Page – sch-club-page.css
   Design System: --sch-blue: #00006b, --sch-blue-dark: #000050
   ============================================ */

:root {
  --sch-blue: #00006b;
  --sch-blue-dark: #000050;
}

/* ── BASE ── */
.sch-club * { box-sizing: border-box; }
.sch-club { font-family: "General Sans", system-ui, sans-serif; }

/* ── NAV – JS fixiert sie direkt unter dem Header ── */
.sch-club__nav {
  position: sticky;
  top: var(--sch-club-nav-top, var(--sch-header-height, 84px));
  z-index: 3000;
  background: #fff;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,107,0.10);
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 0 6vw;
}
.sch-club__nav::-webkit-scrollbar { display: none; }

/* fixed-Zustand – wird per JS gesetzt */
.sch-club__nav--fixed {
  position: fixed !important;
  top: var(--sch-club-nav-top, 0) !important;
  left: 0;
  right: 0;
  z-index: 3000;
  width: 100%;
  max-width: 100vw;
  box-shadow:
    0 -44px 0 #fff,
    0 1px 0 rgba(0,0,107,0.10);
}
/* Platzhalter verhindert Layout-Sprung wenn Nav fixed wird */
.sch-club__nav-placeholder {
  display: none;
}
.sch-club__nav-placeholder--active {
  display: block;
}
.sch-club__nav-link {
  flex: 0 0 auto;
  font-family: "General Sans", system-ui, sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(0,0,107,0.55);
  text-decoration: none;
  padding: 16px 14px;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: color .18s, border-color .18s;
}
.sch-club__nav-link:hover,
.sch-club__nav-link.active {
  color: var(--sch-blue);
  border-color: var(--sch-blue);
}

/* ── SECTIONS ── */
.sch-club__section { padding: 72px 6vw; }
.sch-club__section:first-of-type { padding-top: 140px; }
.sch-club__section--white    { background: #ffffff; }
.sch-club__section--offwhite { background: #f4f7ff; }
.sch-club__section--blue {
  background: linear-gradient(180deg, var(--sch-blue) 0%, var(--sch-blue-dark) 100%);
  color: #fff;
}
.sch-club__inner { max-width: 1100px; margin: 0 auto; }

/* ── EYEBROW ── */
.sch-club__eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sch-blue);
  margin: 0 0 10px;
}
.sch-club__section--blue .sch-club__eyebrow { color: rgba(255,255,255,0.65); }

/* ── TITLE – Anton Bold, SCH Blau ── */
.sch-club__title {
  font-family: "Anton", system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(36px, 5vw, 64px);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1;
  margin: 0 0 40px;
  color: var(--sch-blue);
}
.sch-club__section--blue .sch-club__title { color: #fff; }

/* ── LOADING ── */
.sch-club__loading { padding: 24px 0; color: rgba(0,0,107,0.5); font-size: 14px; font-weight: 500; }
.sch-club__loading--white { color: rgba(255,255,255,0.55); }

/* ── BUTTONS ── */
.sch-club__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "General Sans", system-ui, sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  padding: 12px 20px;
  border-radius: 10px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: opacity .18s, transform .18s;
  width: fit-content;
}
.sch-club__btn:hover { opacity: 0.85; transform: translateY(-1px); }
.sch-club__btn--white   { background: #fff; color: var(--sch-blue); }
.sch-club__btn--outline { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,0.5); }
.sch-club__btn--blue    { background: var(--sch-blue); color: #fff; }

/* ============================================
   1. GESCHICHTE – Timeline
   ============================================ */
.sch-club__timeline {
  position: relative;
  max-width: 860px;
  padding-left: 32px;
}
.sch-club__timeline::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: rgba(0,0,107,0.15);
}
.sch-tl__item { position: relative; margin-bottom: 40px; }
.sch-tl__dot {
  position: absolute;
  left: -39px; top: 7px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--sch-blue);
  border: 3px solid #f4f7ff;
  box-shadow: 0 0 0 3px rgba(0,0,107,0.18);
}
.sch-tl__year {
  font-family: "Anton", system-ui, sans-serif;
  font-weight: 700;
  font-size: 30px;
  color: var(--sch-blue);
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: 0.03em;
}
.sch-tl__text { font-size: 16px; color: #333; line-height: 1.6; }

/* ============================================
   2. VORSTAND – Cards
   ============================================ */
.sch-club__vorstand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}
.sch-vc {
  background: #fff;
  border-radius: 18px;
  padding: 28px 24px;
  box-shadow: 0 12px 36px rgba(0,0,0,0.10);
  border-top: 4px solid var(--sch-blue);
  transition: transform .22s, box-shadow .22s;
}
.sch-vc:hover { transform: translateY(-4px); box-shadow: 0 24px 56px rgba(0,0,0,0.14); }
.sch-vc__avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sch-blue), var(--sch-blue-dark));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
  overflow: hidden;
}
.sch-vc__avatar-initials { font-family: "Anton", system-ui, sans-serif; font-size: 22px; color: #fff; letter-spacing: 0.02em; }
.sch-vc__avatar-img { width: 100%; height: 100%; object-fit: cover; }
.sch-vc__role { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sch-blue); margin-bottom: 8px; }
.sch-vc__name { font-size: 20px; font-weight: 600; line-height: 1.2; margin-bottom: 6px; }
.sch-vc__desc { font-size: 14px; color: #666; line-height: 1.5; margin: 0 0 10px; }
.sch-vc__mail {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 500;
  color: rgba(0,0,107,0.75); text-decoration: none; margin-top: 10px;
}
.sch-vc__mail:hover { color: var(--sch-blue); }

/* ============================================
   3. MITGLIEDSCHAFT
   ============================================ */
.sch-club__mitglied-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 22px;
}
.sch-mc {
  background: rgba(255,255,255,0.13);
  border-radius: 18px;
  padding: 32px 26px;
  border: 1px solid rgba(255,255,255,0.20);
  transition: background .2s;
  display: flex; flex-direction: column; gap: 0;
}
.sch-mc:hover { background: rgba(255,255,255,0.20); }
.sch-mc--highlight { background: rgba(255,255,255,0.22); border-color: rgba(255,255,255,0.38); }
.sch-mc__badge {
  display: inline-block;
  background: rgba(255,255,255,0.18); color: #fff;
  font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px; margin-bottom: 18px; width: fit-content;
}
.sch-mc__price { font-family: "Anton", system-ui, sans-serif; font-weight: 700; font-size: 52px; color: #fff; line-height: 1; letter-spacing: 0.02em; margin-bottom: 4px; }
.sch-mc__price span { font-size: 20px; opacity: 0.70; }
.sch-mc__label { font-size: 14px; color: rgba(255,255,255,0.68); font-weight: 500; margin-bottom: 20px; }
.sch-mc__list { list-style: none; padding: 0; margin: 0 0 28px; flex-grow: 1; }
.sch-mc__list li {
  font-size: 14px; color: rgba(255,255,255,0.85);
  padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,0.10);
  display: flex; align-items: center; gap: 8px;
}
.sch-mc__list li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,0.55); flex-shrink: 0; }

/* ============================================
   4. SPONSOREN
   ============================================ */
.sch-club__sponsor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 16px;
}
.sch-sp {
  background: #fff; border-radius: 14px; padding: 22px 18px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.07);
  border: 1px solid rgba(0,0,107,0.08);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 10px; text-align: center; min-height: 100px;
  text-decoration: none; transition: box-shadow .2s, transform .2s;
}
.sch-sp:hover { box-shadow: 0 16px 42px rgba(0,0,0,0.13); transform: translateY(-2px); }
.sch-sp--nolink { cursor: default; }
.sch-sp--nolink:hover { box-shadow: 0 6px 20px rgba(0,0,0,0.07); transform: none; }
.sch-sp__img { max-height: 48px; width: auto; max-width: 120px; object-fit: contain; }
.sch-sp__placeholder { font-size: 14px; font-weight: 700; color: var(--sch-blue); }
.sch-sp__name { font-size: 13px; font-weight: 600; color: #222; }
.sch-sp__type { font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(0,0,107,0.60); font-weight: 600; }

/* Ballspende */
.sch-club__ballspende { margin-top: 52px; padding-top: 40px; border-top: 1px solid rgba(0,0,107,0.10); }
.sch-club__ballspende-cta {
  background: linear-gradient(135deg, var(--sch-blue), var(--sch-blue-dark));
  border-radius: 18px; padding: 34px 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.sch-club__ballspende-title { font-family: "Anton", system-ui, sans-serif; font-weight: 700; font-size: 26px; color: #fff; text-transform: uppercase; letter-spacing: 0.03em; margin: 0 0 6px; }
.sch-club__ballspende-cta p { color: rgba(255,255,255,0.75); font-size: 15px; margin: 0; }

/* ============================================
   5. TERMINE
   ============================================ */
.sch-club__termine-list { display: flex; flex-direction: column; gap: 12px; }
.sch-tr {
  background: #fff; border-radius: 14px; padding: 20px 24px;
  display: grid; grid-template-columns: 80px 1fr auto; align-items: center; gap: 18px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.07); border-left: 4px solid var(--sch-blue);
  transition: transform .18s, box-shadow .18s;
}
.sch-tr:hover { transform: translateX(4px); box-shadow: 0 10px 28px rgba(0,0,0,0.10); }
.sch-tr__date { text-align: center; }
.sch-tr__day { font-family: "Anton", system-ui, sans-serif; font-weight: 700; font-size: 28px; color: var(--sch-blue); line-height: 1; }
.sch-tr__month { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(0,0,107,0.55); }
.sch-tr__title { font-size: 17px; font-weight: 600; color: #111; line-height: 1.2; }
.sch-tr__meta  { font-size: 13px; color: #666; margin-top: 3px; }
.sch-tr__tag { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; background: rgba(0,0,107,0.10); color: var(--sch-blue); white-space: nowrap; }

/* ============================================
   6. FORMULARE
   ============================================ */
.sch-club__form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 18px;
}
.sch-fc {
  background: rgba(255,255,255,0.13); border-radius: 16px; padding: 26px 22px;
  border: 1px solid rgba(255,255,255,0.18);
  display: flex; flex-direction: column; gap: 12px; transition: background .2s;
}
.sch-fc:hover { background: rgba(255,255,255,0.20); }
.sch-fc__icon { width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,0.18); display: flex; align-items: center; justify-content: center; }
.sch-fc__icon svg { width: 22px; height: 22px; }
.sch-fc__title { font-size: 17px; font-weight: 600; color: #fff; line-height: 1.2; }
.sch-fc__desc  { font-size: 13px; color: rgba(255,255,255,0.70); line-height: 1.55; flex-grow: 1; }

/* ── DESKTOP: Nav-Leiste höher machen ── */
@media (min-width: 769px) {
  .sch-club__nav {
    padding-top: 10px;
    padding-bottom: 10px;
  }
}

/* ── MOBILE ── */
@media (max-width: 768px) {
  .sch-club__section { padding: 52px 5vw; }
  .sch-club__section:first-of-type { padding-top: 100px; }
  .sch-club__nav {
    position: sticky;
    top: var(--sch-header-height, 84px);
    z-index: 1000;
    padding: 0 4vw;
  }
  .sch-club__nav-link { font-size: 11px; padding: 13px 10px; }
  .sch-tr { grid-template-columns: 64px 1fr; }
  .sch-tr__tag { grid-column: 2; justify-self: start; }
  .sch-club__timeline { padding-left: 24px; }
  .sch-tl__dot { left: -31px; }
  .sch-club__ballspende-cta { flex-direction: column; }
}
