/* ══════════════════════════════════════════════
   TOKENS
══════════════════════════════════════════════ */
:root {
  --bg:            #060810;
  --bg-card:       #0e1122;
  --bg-raised:     #141828;
  --accent:        #d41367;
  --accent-dim:    rgba(212, 19, 103, 0.22);
  --accent-glow:   rgba(212, 19, 103, 0.45);
  --gold:          #f7a81b;
  --text:          #ffffff;
  --text-muted:    rgba(255, 255, 255, 0.45);
  --text-sub:      rgba(255, 255, 255, 0.7);
  --border:        rgba(255, 255, 255, 0.07);
  --border-accent: rgba(212, 19, 103, 0.55);

  --f-display: 'Bebas Neue', sans-serif;
  --f-head:    'Syne', sans-serif;
  --f-body:    'Inter', sans-serif;
}

/* ══════════════════════════════════════════════
   RESET
══════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { scroll-behavior: smooth; overflow-x: hidden; }
img  { display: block; max-width: 100%; }

body {
  font-family: var(--f-body);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  background-image: radial-gradient(circle, rgba(212,19,103,0.07) 1px, transparent 1px);
  background-size: 28px 28px;
}

::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-thumb { background: var(--accent); }

/* ══════════════════════════════════════════════
   LAYOUT
══════════════════════════════════════════════ */
.inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 2rem;
}

.section { padding: 9rem 0; }

/* ══════════════════════════════════════════════
   HERO
══════════════════════════════════════════════ */
#hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 6rem 2rem 7rem;
  gap: 0;
}

/* Magenta-Bloom links */
#hero::before {
  content: '';
  position: absolute;
  top: -20%; left: -20%;
  width: 80vw; height: 80vw;
  background: radial-gradient(circle, rgba(212,19,103,0.28) 0%, transparent 60%);
  pointer-events: none;
}

/* Bloom rechts unten */
#hero::after {
  content: '';
  position: absolute;
  bottom: -20%; right: -10%;
  width: 55vw; height: 55vw;
  background: radial-gradient(circle, rgba(212,19,103,0.12) 0%, transparent 65%);
  pointer-events: none;
}

.hero-top-rule {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent 60%);
}

/* ══════════════════════════════════════════════
   COVER
══════════════════════════════════════════════ */
#cover {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 4rem 2rem;
  border-bottom: 1px solid var(--border-accent);
}

#cover::before {
  content: '';
  position: absolute;
  top: -10%; left: 50%;
  transform: translateX(-50%);
  width: 70vw; height: 70vw;
  background: radial-gradient(circle, rgba(212,19,103,0.18) 0%, transparent 65%);
  pointer-events: none;
}

.cover-logo {
  width: 75vw;
  max-width: 900px;
  height: auto;
  filter: invert(1) hue-rotate(180deg);
  mix-blend-mode: screen;
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 1;
  animation: fadeSlideUp 0.8s cubic-bezier(0.16,1,0.3,1) both;
}

.cover-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}

.cover-title {
  font-family: var(--f-display);
  font-size: clamp(3.5rem, 12vw, 8rem);
  line-height: 0.9;
  letter-spacing: 0.04em;
  color: var(--text);
  margin-bottom: 1.25rem;
  animation: fadeSlideUp 0.9s cubic-bezier(0.16,1,0.3,1) 0.2s both;
}

.cover-sub {
  font-family: var(--f-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  animation: fadeSlideUp 0.9s cubic-bezier(0.16,1,0.3,1) 0.35s both;
}

/* Scroll-Hint */
.hero-scroll {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-family: var(--f-head);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  animation: fadeSlideUp 1s cubic-bezier(0.16,1,0.3,1) 0.8s both;
}

.hero-scroll-bar {
  width: 1px; height: 3rem;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollBarAnim 1.8s ease-in-out infinite 1s;
}

@keyframes scrollBarAnim {
  0%   { opacity: 0; transform: scaleY(0); transform-origin: top; }
  50%  { opacity: 1; transform: scaleY(1); transform-origin: top; }
  100% { opacity: 0; transform: scaleY(1); transform-origin: bottom; }
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 72rem;
  margin: 0 auto;
  width: 100%;
}

.hero-text {
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 1;
  max-width: 54ch;
}

/* Profilbild */
.hero-photo {
  width: 180px; height: 180px;
  border-radius: 50%;
  border: 2px solid var(--border-accent);
  background: var(--bg-raised);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  font-size: 3.5rem;
  margin-bottom: 1.75rem;
  flex-shrink: 0;
  box-shadow: 0 0 0 8px rgba(212,19,103,0.1), 0 0 48px rgba(212,19,103,0.22);
  animation: fadeSlideUp 0.7s cubic-bezier(0.16,1,0.3,1) both;
}

.hero-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 12%;
}

/* Eyebrow */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--f-head);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  animation: fadeSlideUp 0.8s cubic-bezier(0.16,1,0.3,1) both;
}

.hero-dot {
  width: 5px; height: 5px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse-dot 2.5s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 var(--accent-glow); }
  50%       { box-shadow: 0 0 0 6px transparent; }
}

/* Name */
.hero-name {
  font-family: var(--f-display);
  font-size: clamp(2.75rem, 6vw, 5.5rem);
  line-height: 0.88;
  letter-spacing: 0.01em;
  margin-bottom: 1.25rem;
  animation: fadeSlideUp 0.9s cubic-bezier(0.16,1,0.3,1) 0.1s both;
}

.hero-name span {
  display: block;
  position: relative;
  width: fit-content;
}

.hero-name span::after {
  content: '';
  display: block;
  height: 4px;
  background: var(--accent);
  width: 0;
  animation: lineGrow 0.8s cubic-bezier(0.16,1,0.3,1) 0.9s forwards;
}

@keyframes lineGrow { to { width: 100%; } }

/* Rolle */
.hero-role {
  font-family: var(--f-head);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  margin-bottom: 1.75rem;
  animation: fadeSlideUp 0.9s cubic-bezier(0.16,1,0.3,1) 0.2s both;
}

/* Bio */
.hero-bio {
  font-size: 0.95rem;
  color: var(--text-sub);
  line-height: 1.85;
  border-left: 2px solid var(--border-accent);
  padding-left: 1.25rem;
  animation: fadeSlideUp 0.9s cubic-bezier(0.16,1,0.3,1) 0.3s both;
}

.hero-bio--reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1);
  margin-top: 0.75rem;
  border-left: none;
  padding-left: 0;
}
.hero-bio--reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Glitch-Effekt auf "Nerd" */
.glitch-word {
  color: var(--accent);
  font-weight: 700;
  display: inline-block;
}
.glitch-word.is-glitching {
  animation: glitch-shake 0.5s steps(2) 2;
}
@keyframes glitch-shake {
  0%   { transform: translateX(0);    text-shadow: -3px 0 #0ff, 3px 0 var(--accent); }
  25%  { transform: translateX(-3px); text-shadow:  3px 0 #0ff, -3px 0 #fff; }
  50%  { transform: translateX(3px);  text-shadow: -2px 0 var(--accent), 2px 0 #0ff; }
  75%  { transform: translateX(-1px); text-shadow:  2px 0 #fff, -2px 0 var(--accent); }
  100% { transform: translateX(0);    text-shadow: none; }
}
@media (prefers-reduced-motion: reduce) {
  .glitch-word.is-glitching { animation: none; }
  .hero-bio--reveal { transition: none; }
}

/* ══════════════════════════════════════════════
   EHRENAMT — Strip im Hero
══════════════════════════════════════════════ */
.hero-ehrenamt-strip {
  position: relative;
  z-index: 1;
  max-width: 72rem;
  margin: 2.5rem auto 0;
  width: 100%;
}

.ea-strip-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--f-head);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.ea-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-top: 1.5rem;
}

.ea-card {
  background: var(--bg-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: background 0.25s;
}

.ea-card:hover { background: var(--bg-raised); }

.ea-visual {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.ea-visual img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.6s cubic-bezier(0.16,1,0.3,1);
}

.ea-card:hover .ea-visual img { transform: scale(1.04); }

.ea-visual--icon {
  background: rgba(212,19,103,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.ea-visual--icon svg { width: 4.5rem; height: 4.5rem; }

.ea-body { padding: 0.75rem 1rem 1rem; }

.ea-title {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--text);
  margin-bottom: 0.3rem;
}

.ea-desc {
  font-size: 0.85rem;
  color: var(--text-sub);
  line-height: 1.7;
}

/* ══════════════════════════════════════════════
   SECTION HEADER
══════════════════════════════════════════════ */
.sh-wrap { margin-bottom: 4rem; }

.sh-label {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--f-head);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.sh-label::before {
  content: '';
  display: inline-block;
  width: 1.75rem; height: 1.5px;
  background: var(--accent);
  flex-shrink: 0;
}


.sh-title {
  font-family: var(--f-head);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
  letter-spacing: -0.01em;
}


/* ══════════════════════════════════════════════
   VORSTAND
══════════════════════════════════════════════ */
#vorstand {
  border-top: 1px solid var(--border-accent);
  position: relative;
}

#vorstand::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 50vw; height: 50vw;
  background: radial-gradient(circle, rgba(212,19,103,0.13) 0%, transparent 65%);
  pointer-events: none;
}

/* Board-Grid */
.board-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  width: 100%;
  min-width: 0;
  overflow: hidden;
}

.board-card {
  background: var(--bg-card);
  padding: 1.75rem 1.5rem;
  border-left: 3px solid rgba(212,19,103,0.25);
  transition: border-color 0.25s, background 0.25s;
  position: relative;
  min-width: 0;
  overflow: hidden;
}

.board-card:hover {
  border-left-color: var(--accent);
  background: var(--bg-raised);
}

.board-card--featured {
  background: rgba(212,19,103,0.07);
  border-left-color: var(--accent);
}
.board-card--featured:hover { background: rgba(212,19,103,0.13); }
.board-card--featured::before {
  background: rgba(212,19,103,0.2);
  border-color: var(--accent);
  width: 3.25rem; height: 3.25rem;
  font-size: 0.85rem;
  box-shadow: 0 0 0 4px rgba(212,19,103,0.15), 0 0 16px rgba(212,19,103,0.3);
}
.board-card--featured .b-name { font-size: 1.05rem; }

/* Initial-Kreis — auto-gesetzt via JS aus dem Namen */
.board-card::before {
  content: attr(data-initial);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem; height: 3.25rem;
  border-radius: 50%;
  background: rgba(212,19,103,0.1);
  border: 1px solid var(--border-accent);
  font-family: var(--f-head);
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  color: var(--accent);
  margin-bottom: 1rem;
}

.b-name {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
  overflow-wrap: break-word;
  word-break: break-word;
}

.b-role {
  font-family: var(--f-head);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 0.3rem;
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
  -webkit-hyphens: auto;
}

.b-info {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

.board-sublabel {
  font-family: var(--f-head);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 2.5rem;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.board-sublabel::before {
  content: '';
  display: inline-block;
  width: 1.5rem;
  height: 1px;
  background: var(--accent);
  opacity: 0.6;
}

/* ══════════════════════════════════════════════
   HIGHLIGHTS
══════════════════════════════════════════════ */
#highlights {
  border-top: 1px solid var(--border-accent);
  position: relative;
}

#highlights::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 55vw; height: 55vw;
  background: radial-gradient(circle, rgba(212,19,103,0.14) 0%, transparent 65%);
  pointer-events: none;
}

.hl-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  position: relative;
  z-index: 1;
  width: 100%;
  min-width: 0;
  overflow: hidden;
}

.hl-card {
  background: var(--bg-card);
  padding: 2.25rem 2rem;
  border-top: 2px solid rgba(212,19,103,0.2);
  transition: border-color 0.3s, background 0.3s;
  position: relative;
  overflow: hidden;
}

.hl-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0% 0%, var(--accent-dim), transparent 55%);
  opacity: 0.3;
  transition: opacity 0.35s;
}

.hl-card:hover {
  border-top-color: var(--accent);
  background: var(--bg-raised);
}

.hl-card:hover::before { opacity: 1; }

.hl-head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

/* Kategorie-Icon (ersetzt die generischen Nummern) */
.hl-icon {
  width: 2.25rem; height: 2.25rem;
  color: var(--accent);
  flex-shrink: 0;
  opacity: 0.75;
  transition: opacity 0.3s, filter 0.3s;
}

.hl-icon svg { width: 100%; height: 100%; }

.hl-card:hover .hl-icon {
  opacity: 1;
  filter: drop-shadow(0 0 8px rgba(212,19,103,0.6));
}

.hl-title {
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.2;
}

.hl-body {
  font-size: 0.875rem;
  color: var(--text-sub);
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

/* ══════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════ */
footer {
  border-top: 1px solid var(--border-accent);
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.footer-text {
  font-family: var(--f-head);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Gold als einziger warmer Akzent — hebt das Clubjahr hervor */
.footer-year {
  font-family: var(--f-display);
  font-size: 0.85rem;
  color: var(--gold);
  letter-spacing: 0.08em;
}

/* ── Sticky corner wheel ── */
.corner-wheel {
  position: fixed;
  bottom: 1.75rem; right: 1.75rem;
  width: 68px; height: 68px;
  opacity: 0.32;
  z-index: 20;
  pointer-events: none;
  will-change: transform;
  transform-origin: center center;
}

/* ══════════════════════════════════════════════
   SCROLL ANIMATIONEN
══════════════════════════════════════════════ */
[data-scroll] {
  opacity: 0;
  transition: opacity 0.85s cubic-bezier(0.16,1,0.3,1),
              transform 0.85s cubic-bezier(0.16,1,0.3,1);
}

[data-scroll="fade-up"]    { transform: translateY(60px); }
[data-scroll="fade-right"] { transform: translateX(-70px); }
[data-scroll="fade-left"]  { transform: translateX(70px); }

[data-scroll].is-visible { opacity: 1; transform: none; }

[data-scroll].is-above {
  opacity: 0;
  transform: translateY(-55px) !important;
}

/* ══════════════════════════════════════════════
   HERO — CSS-only Animationen
══════════════════════════════════════════════ */
@keyframes fadeSlideUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  [data-scroll] { opacity: 1 !important; transform: none !important; transition: none !important; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

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

@media (max-width: 768px) {
  .board-grid          { grid-template-columns: 1fr 1fr; }
  .hl-grid             { grid-template-columns: 1fr; }
  .section             { padding: 6rem 0; }
  .inner               { padding: 0 1.25rem; }
  #hero                { padding: 5rem 1.25rem 6rem; }
  #cover               { padding: 4rem 1.25rem; }
  .cover-logo          { width: 85vw; }
  .hero-ehrenamt-strip { margin-top: 2rem; }
}

