/* ============================================================
   SVS93 – Seegrehna 93 e.V.
   Design-System: Rot/Weiß/Dark · Glowing Borders · Gradients
   ============================================================ */

/* ---- Schriften LOKAL gehostet (DSGVO: keine Verbindung zu Google) ---- */
@font-face { font-family: 'Anton'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/anton-400.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/inter-400.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('../fonts/inter-500.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('../fonts/inter-600.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('../fonts/inter-700.woff2') format('woff2'); }

/* ---------------- Theme-Variablen ---------------- */
:root {
  --red:        #e2122e;
  --red-bright: #ff2e4d;
  --red-deep:   #9b0d22;
  --grad: linear-gradient(135deg, #ff2e4d 0%, #e2122e 45%, #9b0d22 100%);
  --grad-soft: linear-gradient(135deg, rgba(255,46,77,.18), rgba(155,13,34,.05));

  --radius: 18px;
  --maxw: 1180px;
  --ease: cubic-bezier(.22,.61,.36,1);
  --shadow: 0 18px 50px rgba(0,0,0,.18);
}

/* Dark (Standard) */
:root, [data-theme="dark"] {
  --bg:        #0c0d12;
  --bg-2:      #121420;
  --surface:   rgba(255,255,255,.04);
  --surface-2: rgba(255,255,255,.06);
  --border:    rgba(255,255,255,.10);
  --text:      #f2f3f7;
  --muted:     #a4a8b8;
  --glow:      rgba(255,46,77,.55);
  --hero-overlay: linear-gradient(180deg, rgba(8,9,13,.30), rgba(8,9,13,.82));
}

/* Light */
[data-theme="light"] {
  --bg:        #f4f5f9;
  --bg-2:      #ffffff;
  --surface:   #ffffff;
  --surface-2: #ffffff;
  --border:    rgba(15,18,30,.10);
  --text:      #161823;
  --muted:     #5a5f72;
  --glow:      rgba(226,18,46,.40);
  --hero-overlay: linear-gradient(180deg, rgba(20,8,12,.25), rgba(10,8,12,.70));
  --shadow: 0 18px 45px rgba(20,25,50,.12);
}

/* ---------------- Reset ---------------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background .4s var(--ease), color .4s var(--ease);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(92%, var(--maxw)); margin-inline: auto; }
section { position: relative; }

/* Ambient gradient blobs im Hintergrund */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(640px 640px at 12% -5%, rgba(255,46,77,.16), transparent 60%),
    radial-gradient(560px 560px at 96% 8%, rgba(155,13,34,.12), transparent 60%);
}

/* ---------------- Typo-Helfer ---------------- */
.display {
  font-family: 'Anton', sans-serif;
  font-weight: 400; letter-spacing: .5px; line-height: .98;
  text-transform: uppercase;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .78rem; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: var(--red-bright);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--grad); }
.grad-text {
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.section-head { max-width: 640px; margin-bottom: 2.6rem; }
.section-head h2 { font-size: clamp(1.9rem, 4vw, 3rem); margin: .6rem 0 .5rem; }
.section-head p { color: var(--muted); }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .85rem 1.5rem; border-radius: 999px; font-weight: 600;
  border: 1px solid transparent; cursor: pointer; font-size: .95rem;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 30px -8px var(--glow); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 38px -8px var(--glow); }
.btn-ghost { border-color: var(--border); color: var(--text); background: var(--surface); }
.btn-ghost:hover { transform: translateY(-3px); border-color: var(--red-bright); }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(14px);
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.site-header.scrolled { border-bottom-color: var(--border); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .7rem 0; }
.brand { display: flex; align-items: center; gap: .7rem; font-weight: 700; }
.brand img { width: 42px; height: 42px; object-fit: contain;
  filter: drop-shadow(0 4px 12px var(--glow)); }
.brand b { font-family: 'Anton', sans-serif; font-size: 1.25rem; letter-spacing: .5px; }
.brand span { font-size: .7rem; color: var(--muted); display: block; letter-spacing: .12em; }

.nav-links { display: flex; align-items: center; gap: .35rem; }
.nav-links a {
  padding: .55rem .85rem; border-radius: 999px; font-size: .92rem; font-weight: 500;
  color: var(--muted); transition: color .2s, background .2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); background: var(--surface-2); }

.nav-tools { display: flex; align-items: center; gap: .6rem; }
.theme-toggle {
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--border);
  background: var(--surface); color: var(--text); cursor: pointer; font-size: 1.1rem;
  display: grid; place-items: center; transition: transform .4s var(--ease), border-color .3s;
}
.theme-toggle:hover { transform: rotate(25deg) scale(1.08); border-color: var(--red-bright); }
.nav-burger { display: none; width: 42px; height: 42px; border-radius: 12px;
  border: 1px solid var(--border); background: var(--surface); color: var(--text);
  cursor: pointer; font-size: 1.3rem; }

/* ============================================================
   GLOW CARD (wiederverwendbar) – leuchtender Rand bei Hover
   ============================================================ */
.glow {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.glow::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .4s var(--ease);
  pointer-events: none;
}
.glow:hover { transform: translateY(-6px); box-shadow: 0 24px 60px -20px var(--glow); }
.glow:hover::before { opacity: 1; }

/* ============================================================
   HERO
   ============================================================ */
.hero { min-height: 92vh; display: grid; align-items: center; overflow: hidden; }
.hero-bg { position: absolute; inset: -12% 0; z-index: -2; }
.hero-bg img { width: 100%; height: 124%; object-fit: cover; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: var(--hero-overlay); pointer-events: none; }
.hero-inner { display: grid; grid-template-columns: 1.4fr .9fr; gap: 2rem; align-items: center; padding: 4rem 0; }
.hero h1 { font-size: clamp(2.8rem, 7vw, 5.6rem); margin: 1rem 0 1.1rem; }
.hero p.lead { font-size: 1.18rem; color: var(--muted); max-width: 46ch; margin-bottom: 1.8rem; }
.hero-cta { display: flex; gap: .8rem; flex-wrap: wrap; }

.hero-badge {
  justify-self: center; width: clamp(180px, 26vw, 300px); aspect-ratio: 1;
  display: grid; place-items: center;
}
.hero-badge img { width: 100%; filter: drop-shadow(0 20px 50px var(--glow)); animation: float 6s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-18px) } }

.hero-stats { display: flex; gap: 2.4rem; margin-top: 2.6rem; flex-wrap: wrap; }
.hero-stats .num { font-family: 'Anton', sans-serif; font-size: 2.4rem; }
.hero-stats .lbl { font-size: .82rem; color: var(--muted); letter-spacing: .04em; }

/* Scroll-Hinweis */
.scroll-cue { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  color: var(--muted); font-size: .75rem; letter-spacing: .2em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: .4rem; }
.scroll-cue span { width: 1px; height: 34px; background: var(--grad); animation: cue 1.8s infinite; transform-origin: top; }
@keyframes cue { 0%,100% { transform: scaleY(.3); opacity: .4 } 50% { transform: scaleY(1); opacity: 1 } }

/* ============================================================
   PARALLAX FEATURE (Burgstalllauf)
   ============================================================ */
.feature { padding: 6rem 0; }
.feature-card {
  display: grid; grid-template-columns: 1.1fr 1fr; min-height: 460px;
  border-radius: 26px; overflow: hidden;
}
.feature-media { position: relative; overflow: hidden; }
.feature-media img { position: absolute; inset: -14% 0; width: 100%; height: 128%; object-fit: cover; }
.feature-media::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--surface) 60%, transparent)); }
.feature-body { padding: clamp(1.8rem, 4vw, 3.4rem); display: flex; flex-direction: column; justify-content: center; }
.feature-body h2 { font-size: clamp(2rem, 4vw, 3.2rem); margin: .7rem 0 1rem; }
.feature-body p { color: var(--muted); margin-bottom: 1rem; }
.feature-years { display: flex; gap: .5rem; flex-wrap: wrap; margin: 1.2rem 0 1.6rem; }
.feature-years a { padding: .4rem .9rem; border: 1px solid var(--border); border-radius: 999px;
  font-size: .85rem; font-weight: 600; transition: .25s; }
.feature-years a:hover { border-color: var(--red-bright); color: var(--red-bright); transform: translateY(-2px); }

/* ============================================================
   NEWS GRID
   ============================================================ */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.news-card { display: flex; flex-direction: column; }
.news-card .thumb { aspect-ratio: 16/10; overflow: hidden; }
.news-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.news-card:hover .thumb img { transform: scale(1.07); }
.news-card .body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.news-meta { font-size: .78rem; color: var(--muted); letter-spacing: .03em; display: flex; gap: .6rem; align-items: center; }
.tag { background: var(--grad-soft); color: var(--red-bright); border: 1px solid var(--border);
  padding: .15rem .6rem; border-radius: 999px; font-size: .72rem; font-weight: 600; }
.news-card h3 { font-size: 1.22rem; line-height: 1.25; }
.news-card p { color: var(--muted); font-size: .95rem; flex: 1; }
.read-more { color: var(--red-bright); font-weight: 600; font-size: .9rem; display: inline-flex; gap: .35rem; align-items: center; }
.read-more::after { content: "→"; transition: transform .25s; }
.news-card:hover .read-more::after { transform: translateX(4px); }

/* ============================================================
   ABTEILUNGEN / FEATURES
   ============================================================ */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.4rem; }
.icon-card { padding: 1.8rem; }
.icon-card .ic { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  background: var(--grad-soft); border: 1px solid var(--border); font-size: 1.5rem; margin-bottom: 1rem; }
.icon-card h3 { font-size: 1.2rem; margin-bottom: .4rem; }
.icon-card p { color: var(--muted); font-size: .94rem; }

/* ============================================================
   STATS BAND
   ============================================================ */
.stats-band { padding: 4rem 0; }
.stats-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; text-align: center; }
.stat .num { font-family: 'Anton', sans-serif; font-size: clamp(2.4rem, 5vw, 3.6rem); }
.stat .lbl { color: var(--muted); font-size: .9rem; letter-spacing: .04em; }

/* ============================================================
   SPONSOREN MARQUEE
   ============================================================ */
.marquee { overflow: hidden; padding: 1.4rem 0; -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 3.4rem; width: max-content; animation: scroll 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track img { height: 56px; width: auto; object-fit: contain;
  filter: grayscale(1) brightness(1.6) contrast(.8); opacity: .65; transition: .3s; }
[data-theme="light"] .marquee-track img { filter: grayscale(1); opacity: .75; }
.marquee-track img:hover { filter: none; opacity: 1; transform: scale(1.05); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ============================================================
   SHOP STRIP
   ============================================================ */
.shop-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.shop-item { padding: 1rem; text-align: center; }
.shop-item img { aspect-ratio: 3/4; object-fit: contain; margin: 0 auto .6rem; }
.shop-item span { font-size: .85rem; color: var(--muted); }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band { margin: 5rem auto; }
.cta-inner { padding: clamp(2.4rem, 6vw, 4.5rem); text-align: center; background: var(--grad-soft);
  display: flex; flex-direction: column; align-items: center; }
.cta-inner h2 { font-size: clamp(2rem, 5vw, 3.4rem); margin-bottom: 1rem; }
.cta-inner p { color: var(--muted); max-width: 52ch; margin: 0 auto 1.8rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { border-top: 1px solid var(--border); padding: 3.5rem 0 2rem; margin-top: 4rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.footer-grid h4 { font-size: .85rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: 1rem; color: var(--muted); }
.footer-grid a, .footer-grid p { color: var(--muted); font-size: .92rem; display: block; padding: .2rem 0; transition: color .2s; }
.footer-grid a:hover { color: var(--red-bright); }
.footer-brand b { font-family: 'Anton', sans-serif; font-size: 1.4rem; }
.footer-bottom { margin-top: 2.6rem; padding-top: 1.4rem; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; color: var(--muted); font-size: .85rem; }

/* ============================================================
   PAGE HERO (Unterseiten)
   ============================================================ */
.page-hero { padding: 5rem 0 3rem; text-align: center; }
.page-hero h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); margin: .8rem 0 .8rem; }
.page-hero p { color: var(--muted); max-width: 58ch; margin: 0 auto; }

/* ============================================================
   BLOG
   ============================================================ */
.blog-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 1.8rem; padding-bottom: 4rem; }
.blog-empty { text-align: center; color: var(--muted); padding: 4rem 0; }

/* Einzelbeitrag */
.post-wrap { max-width: 780px; margin: 0 auto; padding: 2rem 0 4rem; }
.post-hero-img { border-radius: var(--radius); overflow: hidden; margin: 1.4rem 0 2rem; border: 1px solid var(--border); }
.post-hero-img img { width: 100%; max-height: 460px; object-fit: cover; }
.post-back { color: var(--muted); font-size: .9rem; display: inline-flex; gap: .4rem; }
.post-back:hover { color: var(--red-bright); }
.article { font-size: 1.08rem; }
.article h1, .article h2, .article h3 { line-height: 1.2; margin: 2rem 0 .8rem; }
.article h1 { font-size: 2rem; } .article h2 { font-size: 1.6rem; } .article h3 { font-size: 1.3rem; }
.article p { margin: 1rem 0; }
.article img { border-radius: 14px; margin: 1.6rem 0; border: 1px solid var(--border); }
.article a { color: var(--red-bright); text-decoration: underline; text-underline-offset: 3px; }
.article ul, .article ol { margin: 1rem 0 1rem 1.4rem; }
.article li { margin: .4rem 0; }
.article blockquote { border-left: 3px solid var(--red); padding: .4rem 0 .4rem 1.2rem; margin: 1.4rem 0;
  color: var(--muted); font-style: italic; }
.article code { background: var(--surface-2); padding: .15rem .45rem; border-radius: 6px; font-size: .9em; }
.article hr { border: none; border-top: 1px solid var(--border); margin: 2.2rem 0; }

/* ============================================================
   KONTAKT
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.8rem; padding-bottom: 3rem; }
.contact-card { padding: 2rem; }
.contact-card h3 { margin-bottom: 1rem; }
.contact-row { display: flex; gap: .8rem; align-items: flex-start; padding: .6rem 0; border-bottom: 1px solid var(--border); }
.contact-row:last-child { border-bottom: none; }
.contact-row .ic { font-size: 1.2rem; }
.contact-row b { display: block; font-size: .95rem; }
.contact-row span { color: var(--muted); font-size: .9rem; }
.map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); min-height: 320px; }
.map-embed iframe { width: 100%; height: 100%; min-height: 320px; border: 0; filter: grayscale(.3); }

/* ============================================================
   KADER / MANNSCHAFT
   ============================================================ */
.kader-section { margin-bottom: 3.2rem; }
.kader-section > h2 { font-size: clamp(1.4rem, 3.4vw, 2.1rem); margin-bottom: 1.4rem;
  display: flex; align-items: center; gap: .8rem; }
.kader-section > h2::before { content: ""; width: 32px; height: 3px; background: var(--grad); border-radius: 3px; }
.player-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: 1.2rem; }
.player-card { overflow: hidden; }
.player-photo { position: relative; aspect-ratio: 1; overflow: hidden; }
.player-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.player-card:hover .player-photo img { transform: scale(1.07); }
.player-photo::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, color-mix(in srgb, var(--bg) 78%, transparent)); }
.player-num { position: absolute; top: .55rem; left: .55rem; z-index: 2;
  background: var(--grad); color: #fff; font-family: 'Anton', sans-serif; font-size: .95rem;
  min-width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center;
  padding: 0 .35rem; box-shadow: 0 5px 14px var(--glow); }
.player-info { padding: .85rem .9rem 1.05rem; text-align: center; }
.player-info b { display: block; font-size: 1.02rem; line-height: 1.2; }
.player-info span { font-size: .8rem; color: var(--muted); }

/* ============================================================
   BURGSTALLLAUF-SEITE
   ============================================================ */
.lauf-hero { min-height: 70vh; display: grid; align-items: end; overflow: hidden; }
.lauf-hero .hero-bg img { height: 130%; }
.lauf-hero-inner { padding: 4rem 0 4.5rem; max-width: 720px; }
.lauf-hero h1 { font-size: clamp(2.6rem, 7vw, 5rem); margin: .8rem 0 1rem; }
.lauf-hero p { font-size: 1.15rem; color: var(--muted); }

.lauf-years { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.2rem; }
.year-card { padding: 1.6rem; display: flex; flex-direction: column; gap: .3rem; }
.year-card .yr { font-family: 'Anton', sans-serif; font-size: 2.4rem; line-height: 1; }
.year-card .st { color: var(--muted); font-size: .9rem; margin-bottom: .8rem; }
.year-card .read-more { margin-top: auto; }

.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.2rem; }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.2rem; }
.gallery figure { overflow: hidden; border-radius: var(--radius); }
.gallery img { width: 100%; height: 260px; object-fit: cover; transition: transform .6s var(--ease); }
.gallery figure:hover img { transform: scale(1.06); }

/* ============================================================
   CHRONIK / ZEITLEISTE
   ============================================================ */
.timeline { position: relative; margin-top: 2rem; padding-left: 0; }
.timeline::before { content: ""; position: absolute; left: 22px; top: 8px; bottom: 8px; width: 2px;
  background: linear-gradient(var(--red-bright), transparent); }
.tl-item { position: relative; padding: 0 0 1.6rem 64px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item .tl-year { position: absolute; left: 0; top: 0; width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center; font-family: 'Anton', sans-serif; font-size: .9rem; color: #fff;
  background: var(--grad); box-shadow: 0 6px 16px var(--glow); z-index: 1; }
.tl-item h3 { font-size: 1.15rem; margin-bottom: .25rem; }
.tl-item p { color: var(--muted); }
@media (max-width: 680px) {
  .tl-item { padding-left: 56px; }
  .tl-item .tl-year { width: 40px; height: 40px; font-size: .8rem; }
  .timeline::before { left: 19px; }
}

/* ============================================================
   NAV-DROPDOWN (Verein)
   ============================================================ */
.nav-dd { position: relative; }
.nav-dd-toggle { display: inline-flex; align-items: center; gap: .3rem; }
.nav-dd-toggle .caret { font-size: .7rem; transition: transform .3s var(--ease); }
.nav-dd:hover .nav-dd-toggle .caret, .nav-dd:focus-within .nav-dd-toggle .caret { transform: rotate(180deg); }
.nav-dd-menu {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 220px; background: var(--bg-2); border: 1px solid var(--border); border-radius: 14px;
  padding: .5rem; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: .15rem;
  opacity: 0; visibility: hidden;
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s .2s;
  z-index: 120;
}
.nav-dd-menu::before { content: ""; position: absolute; top: -7px; left: 50%; width: 12px; height: 12px;
  background: var(--bg-2); border-left: 1px solid var(--border); border-top: 1px solid var(--border);
  transform: translateX(-50%) rotate(45deg); }
/* unsichtbare Brücke überbrückt die Lücke zwischen "Verein" und Menü */
.nav-dd::after { content: ""; position: absolute; top: 100%; left: -24px; right: -24px; height: 16px; }
/* per Hover (CSS) UND per .open (JS, mit Verzögerung) sichtbar */
.nav-dd:hover .nav-dd-menu, .nav-dd:focus-within .nav-dd-menu, .nav-dd.open .nav-dd-menu {
  opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); transition-delay: 0s; }
.nav-dd.open .nav-dd-toggle .caret { transform: rotate(180deg); }
.nav-dd-menu a { white-space: nowrap; padding: .55rem .8rem; border-radius: 9px; color: var(--muted); }
.nav-dd-menu a:hover { color: var(--text); background: var(--surface-2); }

/* ============================================================
   HERO-SLIDER
   ============================================================ */
.hero-slider .slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 1.4s var(--ease); }
.hero-slider .slide.active { opacity: 1; }
.hero-dots { position: absolute; bottom: 22px; right: 5%; display: flex; gap: .5rem; z-index: 3; }
.hero-dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.35); transition: .3s; padding: 0; }
.hero-dots button.active { background: var(--red-bright); width: 26px; border-radius: 6px; }

/* ============================================================
   PERSONEN (Vorstand / Beirat) & EHRENMITGLIEDER
   ============================================================ */
.person-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.4rem; }
.person-card { padding: 1.8rem 1.2rem; text-align: center; }
.avatar { width: 88px; height: 88px; border-radius: 50%; margin: 0 auto 1rem; overflow: hidden;
  display: grid; place-items: center; background: var(--grad); color: #fff;
  font-family: 'Anton', sans-serif; font-size: 1.7rem; box-shadow: 0 10px 26px -8px var(--glow); }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.person-card b { display: block; font-size: 1.08rem; }
.person-card .role { color: var(--red-bright); font-size: .85rem; font-weight: 600; margin-top: .2rem; }
.person-card .sub { color: var(--muted); font-size: .82rem; margin-top: .15rem; }
.person-card .contacts { display: flex; justify-content: center; gap: .5rem; margin-top: .75rem; }
.person-card .contacts a { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center;
  border: 1px solid var(--border); background: var(--surface-2); font-size: .95rem; line-height: 1;
  transition: transform .25s var(--ease), border-color .25s; }
.person-card .contacts a:hover { transform: translateY(-2px); border-color: var(--red-bright); }

.honor-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.4rem; }
.honor-card { padding: 1.6rem 1.7rem; display: flex; gap: 1rem; align-items: flex-start; }
.honor-card .medal { font-size: 1.8rem; flex-shrink: 0; line-height: 1; margin-top: .1rem; }
.honor-card .honor-photo { width: 74px; height: 74px; border-radius: 50%; flex-shrink: 0;
  padding: 2px; background: var(--grad); box-shadow: 0 8px 20px -8px var(--glow); }
.honor-card .honor-photo img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: block; }
.honor-card h3 { font-size: 1.15rem; }
.honor-card .since { color: var(--red-bright); font-size: .8rem; font-weight: 600; margin: .15rem 0 .5rem; }
.honor-card p { color: var(--muted); font-size: .92rem; }

/* ============================================================
   DOKUMENT-SEITEN (Satzung / Antrag)
   ============================================================ */
.doc-cta { display: flex; gap: .8rem; flex-wrap: wrap; align-items: center; margin-bottom: 2.4rem; }
.doc-pages { display: flex; flex-direction: column; gap: 1.2rem; max-width: 820px; margin: 0 auto; }
.doc-pages img { width: 100%; border-radius: 14px; border: 1px solid var(--border); }
.doc-hint { color: var(--muted); font-size: .9rem; }

/* ============================================================
   CHRONIKEN-GALERIE + LIGHTBOX
   ============================================================ */
.chronik-nav { display: flex; flex-wrap: wrap; gap: .4rem; justify-content: center; margin: 0 auto 2.8rem; max-width: 900px; }
.chronik-nav a { padding: .35rem .75rem; border: 1px solid var(--border); border-radius: 999px;
  font-size: .82rem; font-weight: 600; color: var(--muted); transition: transform .2s var(--ease), border-color .2s, color .2s; }
.chronik-nav a:hover { border-color: var(--red-bright); color: var(--red-bright); transform: translateY(-2px); }
.chronik-year { margin-bottom: 3.2rem; scroll-margin-top: 90px; }
.chronik-year > h2 { font-family: 'Anton', sans-serif; font-size: clamp(1.8rem, 5vw, 3rem);
  display: flex; align-items: baseline; gap: .8rem; margin-bottom: 1.2rem; }
.chronik-year > h2::before { content: ""; align-self: center; width: 34px; height: 4px; background: var(--grad); border-radius: 4px; }
.chronik-year > h2 .cnt { font-family: 'Inter', sans-serif; font-size: .8rem; color: var(--muted); font-weight: 500; letter-spacing: .03em; }
.chronik-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .7rem; }
.chronik-grid img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 10px; cursor: pointer;
  border: 1px solid var(--border); background: var(--surface-2);
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.chronik-grid img:hover { transform: scale(1.04); box-shadow: 0 12px 26px -8px var(--glow); border-color: var(--red-bright); }

.lightbox { position: fixed; inset: 0; z-index: 1000; background: rgba(6,7,11,.93); backdrop-filter: blur(7px);
  display: none; align-items: center; justify-content: center; padding: 5vw; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 88vh; border-radius: 12px; box-shadow: 0 30px 90px rgba(0,0,0,.65); }
.lightbox button { position: absolute; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18);
  color: #fff; cursor: pointer; border-radius: 50%; display: grid; place-items: center; transition: background .2s; }
.lightbox button:hover { background: var(--red); border-color: var(--red); }
.lightbox .lb-close { top: 20px; right: 22px; width: 46px; height: 46px; font-size: 1.5rem; }
.lightbox .lb-nav { top: 50%; transform: translateY(-50%); width: 54px; height: 54px; font-size: 2rem; }
.lightbox .lb-prev { left: 18px; } .lightbox .lb-next { right: 18px; }
.lightbox .lb-count { top: 22px; left: 24px; background: none; border: none; color: var(--muted); font-size: .85rem;
  width: auto; height: auto; position: absolute; cursor: default; }

/* ============================================================
   FUPA SAISON-WIDGET
   ============================================================ */
.fupa-card { padding: clamp(.8rem, 2.5vw, 1.4rem); }
.fupa-widget { min-height: 130px; border-radius: 14px; overflow: hidden; position: relative; }
.fupa-widget > a { color: var(--red-bright); font-weight: 600; }
/* von FuPa eingefügte Inhalte einbetten */
.fupa-widget iframe { width: 100% !important; border: 0 !important; border-radius: 14px; display: block; }
.fupa-widget :is(table, .fupa-widget__container) { width: 100% !important; }
.fupa-hint { display: flex; align-items: center; justify-content: center; gap: .6rem;
  color: var(--muted); font-size: .92rem; padding: 2.2rem 1rem; text-align: center; }
.fupa-hint .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--grad);
  box-shadow: 0 0 0 0 var(--glow); animation: pulse 1.6s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 var(--glow); } 70% { box-shadow: 0 0 0 10px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }

/* ============================================================
   COOKIE-/CONSENT-BANNER + Platzhalter für externe Inhalte
   ============================================================ */
.consent-banner { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%) translateY(24px);
  width: min(94%, 720px); z-index: 1100; background: var(--bg-2); border: 1px solid var(--border);
  border-radius: 18px; box-shadow: var(--shadow); padding: 1.3rem 1.4rem;
  opacity: 0; pointer-events: none; transition: opacity .4s var(--ease), transform .4s var(--ease); }
.consent-banner::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: var(--grad); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; opacity: .5; pointer-events: none; }
.consent-banner.show { opacity: 1; transform: translateX(-50%) translateY(0); pointer-events: auto; }
.consent-banner h3 { font-size: 1.06rem; margin-bottom: .4rem; }
.consent-banner p { color: var(--muted); font-size: .9rem; margin-bottom: 1rem; }
.consent-banner p a { color: var(--red-bright); }
.consent-actions { display: flex; gap: .7rem; flex-wrap: wrap; }
.consent-actions .btn { font-size: .9rem; padding: .7rem 1.2rem; }

.consent-box { position: relative; }
.consent-ph { display: grid; place-items: center; text-align: center; padding: 2.2rem 1.2rem;
  width: 100%; height: 100%; min-height: inherit; }
.consent-ph .consent-ph-inner { max-width: 380px; }
.consent-ph p { color: var(--muted); font-size: .92rem; margin: 0 0 .35rem; }
.consent-ph p strong { color: var(--text); }
.consent-ph .btn { margin-top: 1rem; }

/* ============================================================
   SVG-ICONS (ersetzen die früheren Emojis)
   ============================================================ */
.icon { width: 24px; height: 24px; display: inline-block; vertical-align: middle; flex-shrink: 0; }
.ic svg { width: 27px; height: 27px; stroke: var(--red-bright); }
.contact-row .ic { display: inline-flex; align-items: center; justify-content: center; }
.contact-row .ic svg { width: 21px; height: 21px; stroke: var(--red-bright); }
.person-card .contacts a { color: var(--muted); }
.person-card .contacts a:hover { color: var(--red-bright); }
.person-card .contacts a svg { width: 17px; height: 17px; }
.theme-toggle svg { width: 19px; height: 19px; }
.consent-banner h3 { display: flex; align-items: center; gap: .5rem; }
.consent-banner h3 svg { width: 21px; height: 21px; stroke: var(--red-bright); flex-shrink: 0; }

/* ============================================================
   HERO-TEXT IMMER HELL (Hintergrund ist stets ein dunkles Bild,
   daher auch im Light-Mode weiße Schrift)
   ============================================================ */
.hero h1, .lauf-hero h1 { color: #fff; }
.hero p.lead, .lauf-hero .lauf-hero-inner p { color: rgba(255,255,255,.85); }
.hero .hero-stats .lbl { color: rgba(255,255,255,.72); }
.hero .scroll-cue { color: rgba(255,255,255,.72); }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s } .reveal.d2 { transition-delay: .16s } .reveal.d3 { transition-delay: .24s }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-badge { order: -1; }
  .hero-cta, .hero-stats, .eyebrow { justify-content: center; }
  .hero-stats { justify-content: center; }
  .feature-card { grid-template-columns: 1fr; }
  .feature-media { min-height: 280px; }
  .feature-media img { position: static; inset: auto; height: 280px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .stats-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .shop-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .nav-links { position: fixed; inset: 64px 4% auto 4%; flex-direction: column; align-items: stretch;
    background: var(--bg-2); border: 1px solid var(--border); border-radius: 18px; padding: .8rem;
    box-shadow: var(--shadow); transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: .3s var(--ease); }
  .nav-links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav-burger { display: grid; place-items: center; }
  .grid-3 { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: 1fr 1fr; }
}

/* Dropdown im Mobile-Menü: als eingerückte Liste anzeigen */
@media (max-width: 680px) {
  .nav-dd { width: 100%; }
  .nav-dd-menu { position: static; transform: none; opacity: 1; visibility: visible; transition: none;
    box-shadow: none; border: none; background: transparent; padding: .1rem 0 .3rem .8rem;
    border-left: 2px solid var(--border); margin: .2rem 0 .2rem .8rem; min-width: 0; }
  .nav-dd-menu::before, .nav-dd::after { display: none; }
  .nav-dd-toggle .caret { display: none; }
  .hero-dots { right: 50%; transform: translateX(50%); }
}

/* Reduzierte Bewegung respektieren */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
