@font-face { font-family: "Bricolage Grotesque"; src: url("fonts/bricolage.woff2") format("woff2-variations"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter.woff2") format("woff2-variations"); font-weight: 100 900; font-display: swap; }

/* Vereinsfarben zentral anpassbar */
:root {
  --navy: #0b2a5b;
  --navy-2: #133e80;
  --navy-deep: #061633;
  --ink: #0d1626;
  --muted: #5a6577;
  --accent: #f5c400;
  --accent-ink: #1a1400;
  --sky: #3aa0ff;
  --bg: #ffffff;
  --tint: #f3f6fb;
  --line: #e2e8f1;
  --radius: 22px;
  --shadow: 0 18px 40px -20px rgba(11, 42, 91, .35);
  --shadow-sm: 0 6px 18px -10px rgba(11, 42, 91, .3);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --header-h: 72px;
  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); color: var(--ink); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { max-width: 100%; display: block; }
a { color: var(--navy-2); }
button { font: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.08; margin: 0 0 .5em; letter-spacing: -.02em; }
h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: min(1200px, 100% - 2 * clamp(16px, 4vw, 40px)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); padding: 8px 14px; border-radius: 8px; z-index: 200; }
.skip:focus { left: 8px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.small { font-size: .9rem; color: var(--muted); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4em; min-height: 48px; padding: .8em 1.5em; border-radius: 999px; font-weight: 600; text-decoration: none; border: 2px solid transparent; transition: transform .3s var(--ease), background .2s, box-shadow .3s, color .2s; cursor: pointer; font-size: 1rem; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-accent { background: var(--accent); color: var(--accent-ink); box-shadow: 0 10px 26px -12px rgba(245, 196, 0, .9); }
.btn-accent:hover { box-shadow: 0 14px 30px -10px rgba(245, 196, 0, .9); }
.btn-ghost { color: #fff; border-color: rgba(255,255,255,.35); }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-ghost span { transition: transform .3s var(--ease); }
.btn-ghost:hover span { transform: translateX(4px); }
.btn-line { color: var(--navy); border-color: var(--navy); background: transparent; }
.btn-line:hover { background: var(--navy); color: #fff; }
.btn-sm { min-height: 40px; padding: .5em 1.1em; font-size: .92rem; }
.btn-block { width: 100%; margin-top: .6rem; }
.round-btn { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; color: var(--navy); cursor: pointer; font-size: 1.1rem; transition: background .2s, color .2s, transform .3s var(--ease); }
.round-btn:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.round-btn:disabled { opacity: .35; pointer-events: none; }

/* Fortschrittsbalken */
.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 70; pointer-events: none; }
.progress span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--accent), var(--sky)); }

/* Header */
.site-header { position: fixed; inset: 0 0 auto; z-index: 60; transition: background .35s, box-shadow .35s, transform .35s var(--ease); }
.site-header.is-scrolled { background: rgba(255,255,255,.86); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px); box-shadow: 0 1px 0 var(--line); }
.site-header.is-hidden { transform: translateY(-100%); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; flex: none; position: relative; z-index: 2; }
.brand img { transition: transform .5s var(--ease); }
.brand:hover img { transform: rotate(-8deg) scale(1.05); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: var(--font-display); font-size: 1.1rem; }
.brand-text small { font-size: .75rem; opacity: .75; }
.is-scrolled .brand { color: var(--navy); }
.nav { display: flex; align-items: center; gap: 20px; }
.nav-links { position: relative; display: flex; gap: 4px; padding: 4px; border-radius: 999px; }
.nav-links a { position: relative; z-index: 1; color: #fff; text-decoration: none; font-weight: 500; font-size: .95rem; padding: .5em 1em; border-radius: 999px; transition: color .25s; }
.is-scrolled .nav-links a { color: var(--ink); }
.nav-pill { position: absolute; top: 4px; bottom: 4px; left: 0; width: 0; border-radius: 999px; background: rgba(255,255,255,.14); opacity: 0; transition: transform .45s var(--ease), width .45s var(--ease), opacity .3s; }
.is-scrolled .nav-pill { background: var(--tint); }
.nav-links a.is-active { color: #fff; }
.is-scrolled .nav-links a.is-active { color: var(--navy); font-weight: 600; }
.nav-mobile-info { display: none; }
.nav-toggle { display: none; position: relative; z-index: 2; background: none; border: 0; width: 48px; height: 48px; padding: 12px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: #fff; margin: 6px 0; border-radius: 2px; transition: transform .35s var(--ease), background .2s; }
.is-scrolled .nav-toggle span { background: var(--navy); }

/* Hero */
.hero { position: relative; min-height: min(100svh, 960px); display: flex; align-items: center; color: #fff; background: radial-gradient(120% 90% at 85% 10%, var(--navy-2) 0%, var(--navy) 45%, var(--navy-deep) 100%); overflow: hidden; padding: calc(var(--header-h) + 48px) 0 96px; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; will-change: transform; }
.orb-1 { width: 520px; height: 520px; background: var(--sky); right: -140px; top: -120px; animation: float 16s ease-in-out infinite; }
.orb-2 { width: 380px; height: 380px; background: var(--accent); left: -160px; bottom: -180px; opacity: .28; animation: float 20s ease-in-out infinite reverse; }
.grid-lines { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 0%, transparent 70%); }
@keyframes float { 50% { transform: translate(-30px, 40px) scale(1.06); } }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; grid-template-areas: "copy visual" "stats stats"; gap: 40px 48px; align-items: center; }
.hero-copy { grid-area: copy; }
.hero-visual { grid-area: visual; }
.stats { grid-area: stats; }
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; font-weight: 600; color: var(--navy-2); margin-bottom: 1rem; }
.hero .eyebrow { color: var(--accent); }
.hero h1 { font-size: clamp(2.6rem, 6.2vw, 5rem); font-weight: 800; letter-spacing: -.035em; margin-bottom: .4em; line-height: 1; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; white-space: nowrap; }
.hero h1 .line > span { display: inline-block; }
.hl { background: linear-gradient(90deg, var(--accent), #ffe27a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 600px; opacity: .88; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }

/* Hero Einstiegsanimation */
.hero-in { opacity: 0; transform: translateY(40px); animation: heroIn .9s var(--ease) forwards; animation-delay: calc(var(--d, 0) * 110ms + 100ms); }
.hero h1 .hero-in { transform: translateY(105%); }
@keyframes heroIn { to { opacity: 1; transform: none; } }

/* Hero Visual */
.hero-visual { position: relative; height: 440px; }
.hero-crest { position: absolute; left: 50%; top: 50%; width: 170px; height: 170px; margin: -85px 0 0 -85px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.15); backdrop-filter: blur(8px); animation: popIn 1s var(--ease) .6s both; }
.hero-crest::before, .hero-crest::after { content: ""; position: absolute; inset: -40px; border-radius: 50%; border: 1px dashed rgba(255,255,255,.18); animation: spin 40s linear infinite; }
.hero-crest::after { inset: -110px; animation-duration: 70s; animation-direction: reverse; }
.hero-crest img { width: 92px; height: auto; filter: drop-shadow(0 10px 20px rgba(0,0,0,.35)); }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes popIn { from { opacity: 0; transform: scale(.6); } to { opacity: 1; transform: none; } }
.float-card { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: 16px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); font-weight: 600; font-size: .95rem; white-space: nowrap; box-shadow: 0 20px 40px -20px rgba(0,0,0,.5); opacity: 0; animation: popIn .8s var(--ease) forwards, bob 6s ease-in-out infinite; }
.float-card span { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; background: rgba(255,255,255,.14); font-size: 1.2rem; }
.fc-1 { left: 4%; top: 6%; animation-delay: .7s, 1.5s; }
.fc-2 { right: 2%; top: 14%; animation-delay: .8s, 2s; }
.fc-3 { left: -2%; top: 46%; animation-delay: .9s, 1s; }
.fc-4 { right: -2%; top: 54%; animation-delay: 1s, 2.6s; }
.fc-5 { left: 10%; bottom: 4%; animation-delay: 1.1s, 1.8s; }
.fc-6 { right: 12%; bottom: 0; animation-delay: 1.2s, 3s; }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); overflow: hidden; margin: 0; backdrop-filter: blur(6px); }
.stats > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; background: rgba(6, 22, 51, .5); padding: clamp(16px, 2.4vw, 26px); }
.stats dd { margin: 0; font-family: var(--font-display); font-size: clamp(1.6rem, 3.2vw, 2.4rem); font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stats dt { font-size: .75rem; font-weight: 500; text-transform: uppercase; letter-spacing: .1em; opacity: .7; margin-top: 4px; }
.scroll-hint { position: absolute; left: 50%; bottom: 24px; width: 28px; height: 44px; margin-left: -14px; border: 2px solid rgba(255,255,255,.4); border-radius: 20px; }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: wheel 1.8s ease-in-out infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* Schnellzugriff */
.quick { position: relative; z-index: 2; margin-top: -48px; }
.quick-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.quick-tile { display: flex; align-items: center; gap: 14px; padding: 18px; background: #fff; border-radius: 18px; box-shadow: var(--shadow); text-decoration: none; color: var(--ink); border: 1px solid var(--line); transition: transform .35s var(--ease), box-shadow .35s, border-color .2s; }
.quick-tile:hover { transform: translateY(-4px); border-color: var(--accent); }
.qi { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--tint); font-size: 1.3rem; transition: transform .4s var(--ease), background .3s; }
.quick-tile:hover .qi { background: var(--accent); transform: rotate(-8deg) scale(1.05); }
.quick-tile strong { display: block; font-family: var(--font-display); font-size: 1.05rem; line-height: 1.2; }
.quick-tile small { color: var(--muted); font-size: .85rem; }
.status-text.is-open { color: #12854a; font-weight: 600; }

/* Sections */
.section { padding: clamp(72px, 9vw, 128px) 0; }
.section-tint { background: var(--tint); }
.section-dark { background: var(--navy); color: #fff; }
.section-dark .eyebrow { color: var(--accent); }
.section-dark .sub { color: rgba(255,255,255,.7); }
.section-head { max-width: 720px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head.split { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.section-head h2 { margin-bottom: .3em; }
.sub { color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.08rem); margin: 0; }

/* News */
.news { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.news-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 2.4vw, 30px); transition: transform .4s var(--ease), box-shadow .4s, border-color .3s; overflow: hidden; }
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.news-card h3 { font-size: clamp(1.15rem, 1.6vw, 1.3rem); }
.news-card p { color: var(--muted); }
.news-card p:last-child { margin-bottom: 0; }
.news-card p strong { color: var(--ink); }
.news-feature { grid-column: span 2; grid-row: span 2; background: linear-gradient(150deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; border: 0; display: flex; flex-direction: column; justify-content: flex-end; min-height: 360px; }
.news-feature::before { content: ""; position: absolute; width: 400px; height: 400px; border-radius: 50%; border: 64px solid rgba(245,196,0,.18); right: -130px; top: -150px; transition: transform 1.2s var(--ease); }
.news-feature:hover::before { transform: scale(1.1) rotate(20deg); }
.news-feature h3 { font-size: clamp(1.7rem, 3.4vw, 2.7rem); font-weight: 800; max-width: 16ch; }
.news-feature p, .news-feature p strong { color: rgba(255,255,255,.9); }
.news-feature a { color: var(--accent); }
.meta { font-size: .9rem; }
.tag { display: inline-block; align-self: flex-start; font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; padding: 5px 10px; border-radius: 999px; background: rgba(58,160,255,.14); color: var(--navy-2); margin-bottom: 14px; position: relative; }
.news-feature .tag { background: var(--accent); color: var(--accent-ink); }
.tag-info { background: rgba(11,42,91,.08); color: var(--navy); }
.tag-warm { background: rgba(245,196,0,.22); color: #6e5300; }
.carousel-nav { display: none; gap: 8px; }
.dots { display: none; justify-content: center; gap: 8px; margin-top: 20px; }
.dots button { width: 8px; height: 8px; padding: 0; border-radius: 999px; border: 0; background: var(--line); transition: width .3s var(--ease), background .3s; cursor: pointer; }
.dots button.is-active { width: 24px; background: var(--navy); }

/* Sport Tools */
.sport-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-bottom: 14px; }
.search { position: relative; flex: 1 1 300px; max-width: 420px; }
.search svg { position: absolute; left: 16px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; }
.search input { width: 100%; height: 50px; padding: 0 18px 0 46px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font: inherit; font-size: 1rem; color: var(--ink); transition: border-color .2s, box-shadow .2s; }
.search input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(19,62,128,.12); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1.5px solid var(--line); background: #fff; min-height: 42px; padding: .45em 1.1em; border-radius: 999px; font-weight: 500; font-size: .92rem; cursor: pointer; color: var(--ink); transition: all .25s var(--ease); white-space: nowrap; }
.chip:hover { border-color: var(--navy); }
.chip.is-active { background: var(--navy); color: #fff; border-color: var(--navy); }
.result-count { font-size: .9rem; color: var(--muted); margin: 0 0 18px; }

/* Sport Grid */
.sports { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.sport { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; text-align: left; padding: 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); cursor: pointer; color: inherit; transition: transform .4s var(--ease), box-shadow .4s, border-color .3s, opacity .3s; overflow: hidden; isolation: isolate; }
.sport::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), rgba(245,196,0,.16), transparent 60%); opacity: 0; transition: opacity .3s; }
.sport:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.sport:hover::before { opacity: 1; }
.sport[hidden] { display: none; }
.sport.is-entering { animation: cardIn .5s var(--ease) both; animation-delay: calc(var(--n, 0) * 35ms); }
@keyframes cardIn { from { opacity: 0; transform: translateY(16px) scale(.97); } }
.sport-icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--tint); font-size: 1.6rem; transition: background .3s, transform .5s var(--ease); }
.sport:hover .sport-icon { background: var(--accent); transform: rotate(-8deg) scale(1.06); }
.sport strong { display: block; font-family: var(--font-display); font-size: 1.15rem; line-height: 1.2; }
.sport small { display: block; color: var(--muted); font-size: .86rem; margin-top: 2px; }
.sport-arrow { position: absolute; right: 18px; top: 22px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--line); color: var(--navy); font-size: .95rem; transition: transform .4s var(--ease), background .3s, color .3s, border-color .3s; }
.sport:hover .sport-arrow { background: var(--navy); color: #fff; border-color: var(--navy); transform: rotate(-45deg); }
.badge-new { display: inline-block; font-family: var(--font-body); font-size: .62rem; font-weight: 700; background: var(--accent); color: var(--accent-ink); padding: 2px 7px; border-radius: 999px; margin-left: 6px; vertical-align: middle; text-transform: uppercase; letter-spacing: .08em; }
.empty { text-align: center; padding: 40px 0; color: var(--muted); }

/* Sport Sheet (Dialog) */
.sheet { border: 0; padding: 0; background: transparent; max-width: 560px; width: calc(100% - 32px); max-height: min(86vh, 760px); overflow: visible; color: var(--ink); }
.sheet::backdrop { background: rgba(6,22,51,.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.sheet[open] { animation: sheetIn .45s var(--ease); }
.sheet[open]::backdrop { animation: fade .35s ease; }
@keyframes sheetIn { from { opacity: 0; transform: translateY(30px) scale(.97); } }
@keyframes fade { from { opacity: 0; } }
.sheet-inner { position: relative; background: #fff; border-radius: 26px; padding: clamp(24px, 4vw, 36px); max-height: min(86vh, 760px); overflow-y: auto; overscroll-behavior: contain; }
.sheet-close { position: absolute; right: 14px; top: 14px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--tint); font-size: 1.6rem; line-height: 1; cursor: pointer; color: var(--navy); transition: transform .3s var(--ease), background .2s; }
.sheet-close:hover { transform: rotate(90deg); background: var(--accent); }
.sheet-head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; padding-right: 48px; }
.sheet-head .eyebrow { margin: 0 0 4px; }
.sheet-head h3 { font-size: clamp(1.5rem, 4vw, 2rem); margin: 0; }
.sheet-icon { flex: none; width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: var(--accent); font-size: 2rem; }
#sheet-text { color: #2c3647; }
#sheet-info { display: grid; gap: 0; margin: 0 0 22px; border-top: 1px solid var(--line); }
#sheet-info div { display: grid; grid-template-columns: 140px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
#sheet-info dt { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; padding-top: 3px; }
#sheet-info dd { margin: 0; }
#sheet-info a { font-weight: 600; }
.sheet-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.sheet-actions .btn { flex: 1 1 200px; }
.sheet-nav { display: flex; justify-content: space-between; margin-top: 18px; }

/* Verein */
.verein { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.verein-story > p { font-size: clamp(1rem, 1.4vw, 1.08rem); color: #2c3647; }
.timeline { list-style: none; padding: 0; margin: 2rem 0 0; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 22px 28px; }
.timeline li::before { content: ""; position: absolute; left: -7px; top: 8px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px #fff; }
.timeline span { display: block; font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: var(--navy); }
.vorstand { background: var(--tint); border-radius: var(--radius); padding: clamp(22px, 3vw, 32px); position: sticky; top: calc(var(--header-h) + 24px); }
.board { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: 12px; }
.board li { display: flex; align-items: center; gap: 14px; background: #fff; padding: 14px; border-radius: 16px; transition: transform .3s var(--ease), box-shadow .3s; }
.board li:hover { transform: translateX(4px); box-shadow: var(--shadow-sm); }
.board strong { display: block; }
.board small { color: var(--muted); }
.avatar { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: #fff; font-weight: 700; font-family: var(--font-display); }
.board-more { font-size: .95rem; color: #2c3647; }
.callout { background: var(--accent); color: var(--accent-ink); border-radius: 16px; padding: 18px 20px; margin: 1.2rem 0; }
.callout p { margin: .3em 0 0; font-size: .95rem; }

/* Sportstätten */
.venues { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.venues li { position: relative; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: 18px; padding: 22px 22px 22px 52px; transition: background .3s, border-color .3s, transform .4s var(--ease); }
.venues li::before { content: ""; position: absolute; left: 22px; top: 27px; width: 14px; height: 14px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--accent); }
.venues li:hover { background: rgba(255,255,255,.1); border-color: var(--accent); transform: translateY(-3px); }
.venues strong { display: block; font-family: var(--font-display); font-size: 1.1rem; margin-bottom: 4px; line-height: 1.25; }
.venues span { font-size: .88rem; opacity: .7; }

/* Mitglied werden */
.join { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.steps { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 22px; counter-reset: s; }
.steps li { display: flex; gap: 18px; }
.steps li > span { flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; }
.steps strong { display: block; font-family: var(--font-display); font-size: 1.15rem; color: var(--ink); }
.steps div { color: var(--muted); }
.join-card { background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: clamp(24px, 3vw, 34px); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.join-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 6px; background: linear-gradient(90deg, var(--navy), var(--sky), var(--accent), var(--navy)); background-size: 300% 100%; animation: shimmer 6s linear infinite; }
@keyframes shimmer { to { background-position: 300% 0; } }
.join-card p { color: var(--muted); }
.checks { list-style: none; padding: 0; margin: 0 0 1.2rem; }
.checks li { padding: 6px 0 6px 32px; position: relative; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 7px; width: 22px; height: 22px; border-radius: 50%; background: rgba(245,196,0,.28); color: #6e5300; font-size: .75rem; font-weight: 700; display: grid; place-items: center; }

/* Kontakt */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
address { font-style: normal; font-size: 1.15rem; margin-bottom: 1.5rem; }
.contact-list { list-style: none; padding: 0; margin: 0 0 1.8rem; }
.contact-list li { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-list span { flex: none; width: 76px; color: var(--muted); font-size: .9rem; }
.contact-list a { font-weight: 600; text-decoration: none; word-break: break-word; }
.hours { background: #fff; border-radius: var(--radius); padding: clamp(22px, 3vw, 32px); box-shadow: var(--shadow); }
.hours-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.hours-head h3 { margin: 0; }
.hours dl { margin: 0 0 1rem; }
.hours dl div { display: flex; justify-content: space-between; gap: 12px; padding: 13px 12px; margin: 0 -12px; border-bottom: 1px solid var(--line); border-radius: 10px; }
.hours dl div.is-today { font-weight: 700; color: var(--navy); background: rgba(245,196,0,.16); border-bottom-color: transparent; }
.hours dd { margin: 0; text-align: right; }
.closed { color: var(--muted); }
.open-now { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .88rem; margin: 0; padding: 6px 12px; border-radius: 999px; }
.open-now::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.open-now.is-open { color: #0f6f3d; background: rgba(18,133,74,.12); }
.open-now.is-open::before { animation: pulse 1.6s ease-out infinite; }
.open-now.is-closed { color: #9b1c22; background: rgba(180,35,42,.08); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(18,133,74,.6); } 100% { box-shadow: 0 0 0 10px rgba(18,133,74,0); } }

/* Footer */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.75); padding: 64px 0 24px; font-size: .95rem; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-brand { display: flex; gap: 16px; align-items: flex-start; }
.footer-brand strong { color: #fff; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links h4 { color: #fff; font-size: 1rem; margin-bottom: 2px; }
.footer-links a, .footer-bottom a { color: rgba(255,255,255,.75); text-decoration: none; transition: color .2s; }
.footer-links a:hover, .footer-bottom a:hover { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid rgba(255,255,255,.1); margin-top: 48px; padding-top: 20px; font-size: .85rem; }

/* Mobile Aktionsleiste */
.action-bar { display: none; }

/* Nach oben */
.to-top { position: fixed; right: 24px; bottom: 24px; z-index: 55; width: 52px; height: 52px; padding: 0; border: 0; border-radius: 50%; background: #fff; box-shadow: var(--shadow); cursor: pointer; opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none; transition: opacity .3s, transform .4s var(--ease); }
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.to-top .ring-bg { fill: none; stroke: var(--line); stroke-width: 3; }
.to-top .ring { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 132; stroke-dashoffset: 132; }
.to-top .arrow { fill: none; stroke: var(--navy); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; transform: rotate(90deg); transform-origin: 24px 24px; }

/* Rechtliche Seiten */
.legal { padding: calc(var(--header-h) + 64px) 0 80px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(2.2rem, 6vw, 3.4rem); }
.legal h2 { font-size: 1.35rem; margin-top: 2rem; }
.page-head { background: var(--navy); }
.page-head .site-header { position: absolute; }

/* Scroll-Animationen */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 80ms); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal, .no-js .hero-in, .no-js .float-card { opacity: 1; transform: none; animation: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .reveal, .hero-in, .float-card { opacity: 1 !important; transform: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Tablet quer / kleine Laptops ---------- */
@media (max-width: 1180px) {
  .nav-links a { padding: .5em .75em; }
  .sports { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .venues { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- Tablet ---------- */
@media (max-width: 1024px) {
  :root { --header-h: 68px; }
  .nav-toggle { display: block; }
  .nav { position: fixed; inset: 0; z-index: 1; flex-direction: column; align-items: stretch; justify-content: center; gap: 28px; padding: calc(var(--header-h) + 24px) clamp(24px, 8vw, 64px) 40px; background: var(--navy-deep); visibility: hidden; clip-path: circle(0 at calc(100% - 44px) 34px); transition: clip-path .6s var(--ease), visibility 0s .6s; }
  .nav-open .nav { visibility: visible; clip-path: circle(150% at calc(100% - 44px) 34px); transition: clip-path .7s var(--ease), visibility 0s; }
  .nav-links { flex-direction: column; gap: 0; padding: 0; }
  .nav-pill { display: none; }
  .nav-links a, .is-scrolled .nav-links a { color: #fff; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.8rem, 6vw, 2.6rem); padding: .2em 0; border-radius: 0; opacity: 0; transform: translateY(20px); transition: opacity .4s, transform .5s var(--ease), color .2s; }
  .nav-links a.is-active, .is-scrolled .nav-links a.is-active { color: var(--accent); }
  .nav-open .nav-links a { opacity: 1; transform: none; }
  .nav-open .nav-links a:nth-child(2) { transition-delay: .12s; }
  .nav-open .nav-links a:nth-child(3) { transition-delay: .17s; }
  .nav-open .nav-links a:nth-child(4) { transition-delay: .22s; }
  .nav-open .nav-links a:nth-child(5) { transition-delay: .27s; }
  .nav-open .nav-links a:nth-child(6) { transition-delay: .32s; }
  .nav-cta { align-self: flex-start; min-height: 52px; font-size: 1.05rem; padding: .8em 1.6em; }
  .nav-mobile-info { display: flex; flex-direction: column; gap: 6px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); }
  .nav-mobile-info a { color: rgba(255,255,255,.75); text-decoration: none; }
  .nav-open { overflow: hidden; }
  .nav-open .site-header { background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav-open .brand { color: #fff; }
  .nav-open .nav-toggle span { background: #fff; }
  .nav-open .nav-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav-open .nav-toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }

  .hero-grid { grid-template-columns: 1fr; grid-template-areas: "copy" "stats"; }
  .hero-visual { display: none; }
  .hero { min-height: auto; padding: calc(var(--header-h) + 56px) 0 110px; }
  .quick-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .news { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .news-feature { grid-column: span 2; grid-row: auto; min-height: 300px; }
  .news-card:last-child { grid-column: span 2; }
  .verein, .join, .contact { grid-template-columns: 1fr; }
  .vorstand { position: static; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
}

/* ---------- Tablet hoch ---------- */
@media (max-width: 820px) {
  .sports { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .venues { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .search { max-width: none; flex-basis: 100%; }
  .filters { flex-wrap: nowrap; overflow-x: auto; margin: 0 calc(-1 * clamp(16px, 4vw, 40px)); padding: 2px clamp(16px, 4vw, 40px); scrollbar-width: none; scroll-snap-type: x proximity; mask-image: linear-gradient(90deg, #000 calc(100% - 32px), transparent); -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 32px), transparent); }
  .filters::-webkit-scrollbar { display: none; }
  .chip { scroll-snap-align: start; }
}

/* ---------- Smartphone ---------- */
@media (max-width: 640px) {
  :root { --header-h: 64px; --radius: 18px; }
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  .brand img { width: 34px; height: auto; }
  .brand-text strong { font-size: 1rem; }
  .hero { padding: calc(var(--header-h) + 40px) 0 96px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .stats { grid-template-columns: 1fr 1fr; }
  .scroll-hint { display: none; }
  .quick { margin-top: -56px; }
  .quick-grid { gap: 10px; }
  .quick-tile { flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px; }
  .quick-tile small { font-size: .8rem; }

  /* News als Wischkarussell */
  .section-head.split { align-items: center; }
  .news { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin: 0 calc(-1 * clamp(16px, 4vw, 40px)); padding: 4px clamp(16px, 4vw, 40px) 16px; scrollbar-width: none; overscroll-behavior-x: contain; }
  .news::-webkit-scrollbar { display: none; }
  .news-card, .news-card:last-child { flex: 0 0 84%; scroll-snap-align: center; }
  .news-feature { min-height: 0; }
  .news .reveal { opacity: 1; transform: none; }
  .dots { display: flex; }

  .sports { grid-template-columns: 1fr; gap: 10px; }
  .sport { flex-direction: row; align-items: center; padding: 14px 16px; }
  .sport:hover { transform: none; }
  .sport-icon { width: 48px; height: 48px; font-size: 1.4rem; border-radius: 14px; }
  .sport-arrow { position: static; margin-left: auto; flex: none; }
  .sport > span:nth-child(2) { min-width: 0; }

  .venues { grid-template-columns: 1fr; gap: 8px; }
  .venues li { padding: 16px 16px 16px 46px; }
  .venues li::before { left: 18px; top: 21px; }

  .sheet { width: 100%; max-width: none; margin: auto 0 0; max-height: 90vh; }
  .sheet-inner { border-radius: 26px 26px 0 0; max-height: 90vh; padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
  .sheet-inner::before { content: ""; display: block; width: 40px; height: 4px; border-radius: 4px; background: var(--line); margin: -10px auto 16px; }
  .sheet[open] { animation: sheetUp .45s var(--ease); }
  @keyframes sheetUp { from { transform: translateY(100%); } }
  #sheet-info div { grid-template-columns: 1fr; gap: 2px; }

  .contact-list li { flex-direction: column; gap: 2px; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; }

  .action-bar { position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 58; display: flex; align-items: stretch; gap: 4px; padding: 6px; border-radius: 22px; background: rgba(6,22,51,.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 20px 40px -16px rgba(0,0,0,.5); transform: translateY(140%); transition: transform .5s var(--ease); }
  .action-bar.is-visible { transform: none; }
  .action-bar a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 52px; color: #fff; text-decoration: none; font-size: .72rem; font-weight: 500; border-radius: 16px; }
  .action-bar a:active { background: rgba(255,255,255,.1); }
  .action-bar svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
  .action-bar .ab-cta { flex: 1.6; background: var(--accent); color: var(--accent-ink); font-size: .9rem; font-weight: 700; }
  .to-top { display: none; }
}

@media (max-width: 380px) {
  .brand-text small { display: none; }
  .quick-grid { grid-template-columns: 1fr; }
  .quick-tile { flex-direction: row; align-items: center; }
  .stats dd { font-size: 1.45rem; }
}

/* Hover nur auf Geräten mit Maus */
@media (hover: none) {
  .news-card:hover, .quick-tile:hover, .venues li:hover, .board li:hover { transform: none; }
}
