/* ==========================================================================
   HSG Bad Wildungen/Bergheim – Styles (V8)
   modern · clean · regional · nicht futuristisch
   ========================================================================== */
:root {
  --green-950: #0a2a1d; --green-900: #0f3a28; --green-800: #145036; --green-700: #1a6644; --green-600: #218052;
  --green-100: #e5f0e9; --green-50: #f1f7f3;
  --yellow: #f3c300; --yellow-600: #d9ad00; --yellow-100: #fdf4cc;
  --bg: #f4f5f2; --surface: #ffffff; --text: #17211c; --muted: #5c6a63; --line: #e0e5e1;
  --red: #c2412d; --win: #1f7a4d; --draw: #8a7a1c; --loss: #b2432f;
  --radius: 8px; --radius-sm: 6px;
  --shadow-sm: 0 1px 2px rgba(15, 40, 28, .06), 0 1px 1px rgba(15, 40, 28, .04);
  --shadow: 0 2px 6px rgba(15, 40, 28, .07), 0 8px 24px rgba(15, 40, 28, .06);
  --shadow-lg: 0 12px 40px rgba(10, 30, 20, .18);
  --sb-collapsed: 78px; --sb-expanded: 238px; --content-max: 1180px;
  --pad-x: clamp(16px, 4vw, 40px); --section-y: clamp(30px, 5vw, 64px);
  --ease: cubic-bezier(.22, .8, .24, 1);
  --font: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ------------------------------------------------------------------ Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.55; color: var(--text); background: var(--bg); overflow-x: clip; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; display: block; }
a { color: var(--green-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--green-900); }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; line-height: 1.2; letter-spacing: -.012em; color: var(--green-950); }
h1:focus { outline: none; }
p { margin: 0 0 .9em; }
p:last-child { margin-bottom: 0; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; border-radius: 4px; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--yellow); color: var(--green-950); padding: 10px 14px; border-radius: var(--radius-sm); font-weight: 700; }
.skip-link:focus { top: 12px; }
.icon { width: 22px; height: 22px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icon-sm { width: 18px; height: 18px; }
.noscript { padding: 40px; }
.muted { color: var(--muted); }

/* ---------------------------------------------------------------- Layout */
.main { min-height: 100vh; outline: none; }
.app { min-height: 100vh; display: flex; flex-direction: column; }
.page { flex: 1; animation: pageIn .38s var(--ease) both; }
@keyframes pageIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.container { width: 100%; max-width: var(--content-max); margin: 0 auto; padding-left: var(--pad-x); padding-right: var(--pad-x); }
.section { padding-top: var(--section-y); padding-bottom: var(--section-y); }
.section + .section:not(.section--tint) { padding-top: 0; }
.section--tint { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--tint + .section { padding-top: var(--section-y); }
.page-head + .section { padding-top: clamp(20px, 3vw, 32px); }
@media (min-width: 900px) { .main { padding-left: var(--sb-collapsed); } }

/* -------------------------------------------------------------- Sidebar */
.sidebar { display: none; }
@media (min-width: 900px) {
  .sidebar { display: block; position: fixed; z-index: 60; inset: 0 auto 0 0; width: var(--sb-collapsed); overflow: hidden; background: linear-gradient(180deg, var(--green-900) 0%, var(--green-950) 100%); color: #e9f2ec; box-shadow: 1px 0 0 rgba(255,255,255,.04), 4px 0 18px rgba(0,0,0,.08); transition: width .34s var(--ease), box-shadow .34s var(--ease); }
  @media (hover: hover) { .sidebar:hover { width: var(--sb-expanded); box-shadow: var(--shadow-lg); } }
  .sidebar:has(:focus-visible) { width: var(--sb-expanded); box-shadow: var(--shadow-lg); }
}
.sb-inner { width: var(--sb-expanded); height: 100%; display: flex; flex-direction: column; padding: 10px 0 14px; }
.sb-brand { display: grid; grid-template-columns: var(--sb-collapsed) 1fr; align-items: center; height: 84px; margin-bottom: 8px; text-decoration: none; color: #fff; }
.sb-logo { width: var(--sb-collapsed); height: 84px; display: flex; align-items: center; justify-content: center; }
.sb-logo img, .sb-logo svg { width: 52px; height: 52px; object-fit: contain; object-position: center; display: block; }
.sb-wordmark { max-width: 156px; white-space: nowrap; font-size: 11px; line-height: 1.25; font-weight: 800; letter-spacing: .045em; text-transform: uppercase; color: #fff; padding-right: 10px; opacity: 0; transform: translateX(-6px); transition: opacity .22s ease, transform .3s var(--ease); }
.sb-wordmark span { display: block; color: var(--yellow); font-weight: 700; letter-spacing: .14em; }
.sb-nav { display: flex; flex-direction: column; gap: 2px; }
.sb-sep { height: 1px; background: rgba(255,255,255,.09); margin: 10px 18px; }
.sb-link { position: relative; display: grid; grid-template-columns: var(--sb-collapsed) 1fr; align-items: center; height: 46px; color: #cfe0d6; text-decoration: none; font-size: 14.5px; font-weight: 600; }
.sb-link .sb-ico { width: var(--sb-collapsed); height: 46px; display: flex; align-items: center; justify-content: center; position: relative; }
.sb-link .sb-ico::before { content: ""; position: absolute; width: 44px; height: 38px; border-radius: 9px; background: transparent; transition: background .2s ease; }
.sb-link .icon { position: relative; width: 22px; height: 22px; transition: transform .2s var(--ease); }
.sb-label { white-space: nowrap; opacity: 0; transform: translateX(-6px); transition: opacity .2s ease, transform .3s var(--ease); }
.sb-link:hover { color: #fff; }
.sb-link:hover .sb-ico::before { background: rgba(255,255,255,.07); }
.sb-link:hover .icon { transform: scale(1.06); }
.sb-link[aria-current="page"] { color: #fff; }
.sb-link[aria-current="page"] .sb-ico::before { background: rgba(243,195,0,.16); }
.sb-link[aria-current="page"] .icon { color: var(--yellow); }
.sb-link[aria-current="page"]::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 3px; border-radius: 0 3px 3px 0; background: var(--yellow); }
.sb-link--small { height: 40px; font-size: 13.5px; font-weight: 500; color: #a9c2b4; }
.sb-link--small .sb-ico { height: 40px; }
.sb-link--small .icon { width: 19px; height: 19px; }
.sb-foot { margin-top: auto; }
@media (min-width: 900px) and (hover: hover) {
  .sidebar:hover .sb-wordmark, .sidebar:hover .sb-label { opacity: 1; transform: none; }
  .sidebar:hover .sb-label { transition-delay: .06s; }
}
@media (min-width: 900px) { .sidebar:has(:focus-visible) .sb-wordmark, .sidebar:has(:focus-visible) .sb-label { opacity: 1; transform: none; } }
@media (min-width: 900px) and (max-height: 640px) {
  .sb-brand, .sb-logo { height: 70px; }
  .sb-link, .sb-link .sb-ico { height: 40px; }
  .sb-link--small, .sb-link--small .sb-ico { height: 34px; }
}

/* ------------------------------------------------------- Mobile Top-Bar */
.topbar { display: flex; align-items: center; gap: 10px; padding: 10px var(--pad-x); padding-top: max(10px, env(safe-area-inset-top)); background: var(--green-900); color: #fff; position: sticky; top: 0; z-index: 40; }
.topbar a { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; min-width: 0; }
.topbar img, .topbar svg.logo-fallback { width: 34px; height: 34px; object-fit: contain; flex: none; }
.topbar strong { font-size: 13px; line-height: 1.15; letter-spacing: .05em; text-transform: uppercase; }
.topbar strong span { display: block; color: var(--yellow); font-size: 11px; letter-spacing: .1em; }
@media (min-width: 900px) { .topbar { display: none; } }

/* ------------------------------------------------------ Bottom-Navigation */
.bottom-nav { display: none; }
@media (max-width: 899.98px) {
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .bottom-nav { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; z-index: 70; left: 0; right: 0; bottom: 0; background: rgba(255,255,255,.97); border-top: 1px solid var(--line); padding: 6px max(6px, env(safe-area-inset-left)) calc(6px + env(safe-area-inset-bottom)) max(6px, env(safe-area-inset-right)); box-shadow: 0 -4px 18px rgba(10, 30, 20, .07); }
  @supports (backdrop-filter: blur(8px)) { .bottom-nav { background: rgba(255,255,255,.9); backdrop-filter: blur(10px); } }
}
.bn-item { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 52px; min-width: 0; padding: 4px 2px; border: 0; background: none; cursor: pointer; text-decoration: none; color: var(--muted); font-size: 10.5px; font-weight: 600; border-radius: 10px; -webkit-tap-highlight-color: transparent; transition: color .15s ease; }
.bn-item .icon { width: 23px; height: 23px; }
.bn-item span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.bn-item[aria-current="page"] { color: var(--green-800); }
.bn-item[aria-current="page"] .bn-pill { background: var(--green-100); }
.bn-pill { display: flex; align-items: center; justify-content: center; width: 46px; height: 28px; border-radius: 14px; transition: background .2s ease; }
.bn-item:active .bn-pill { background: var(--green-100); transform: scale(.96); }
.sheet { position: fixed; inset: 0; z-index: 90; }
.sheet[hidden] { display: none; }
.sheet-backdrop { position: absolute; inset: 0; background: rgba(8, 24, 16, .45); animation: fadeIn .2s ease both; }
.sheet-panel { position: absolute; left: 0; right: 0; bottom: 0; max-height: 82vh; overflow: auto; background: var(--surface); border-radius: 16px 16px 0 0; padding: 8px 12px calc(16px + env(safe-area-inset-bottom)); animation: sheetUp .28s var(--ease) both; box-shadow: var(--shadow-lg); }
.sheet-grip { width: 40px; height: 4px; background: var(--line); border-radius: 2px; margin: 4px auto 10px; }
.sheet-title { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); padding: 4px 8px 6px; font-weight: 700; }
.sheet-link { display: flex; align-items: center; gap: 14px; min-height: 52px; padding: 0 10px; border-radius: 10px; text-decoration: none; color: var(--text); font-weight: 600; }
.sheet-link:active, .sheet-link:hover { background: var(--green-50); }
.sheet-link .icon { color: var(--green-700); }
.sheet-link .ext { margin-left: auto; color: var(--muted); }
.sheet-small { display: flex; gap: 16px; padding: 10px 10px 2px; font-size: 13px; }
.sheet-small a { color: var(--muted); }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes sheetUp { from { transform: translateY(100%); } }

/* ---------------------------------------------------------------- Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 18px; border-radius: var(--radius-sm); border: 1.5px solid transparent; font-weight: 700; font-size: 15px; text-decoration: none; cursor: pointer; transition: transform .15s var(--ease), background .2s ease, color .2s ease, border-color .2s ease; -webkit-tap-highlight-color: transparent; white-space: nowrap; }
.btn .icon { width: 19px; height: 19px; transition: transform .2s var(--ease); }
.btn:hover .icon-arrow { transform: translateX(3px); }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--yellow); color: var(--green-950); box-shadow: 0 2px 0 var(--yellow-600); }
.btn-primary:hover { background: #ffd21f; color: var(--green-950); }
.btn-green { background: var(--green-700); color: #fff; }
.btn-green:hover { background: var(--green-800); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; border-color: #fff; }
.btn-outline { background: var(--surface); color: var(--green-800); border-color: var(--line); }
.btn-outline:hover { border-color: var(--green-600); color: var(--green-900); }
.btn-sm { min-height: 38px; padding: 0 12px; font-size: 14px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; color: var(--green-700); }
.link-arrow .icon { width: 17px; height: 17px; transition: transform .2s var(--ease); }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ------------------------------------------------------------------- Hero */
.hero { position: relative; color: #fff; background: var(--green-950); overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; transform: scale(1.04); animation: heroZoom 14s ease-out both; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8,32,21,.92) 0%, rgba(8,32,21,.78) 38%, rgba(8,32,21,.25) 72%, rgba(8,32,21,.1) 100%), linear-gradient(0deg, rgba(8,32,21,.55) 0%, rgba(8,32,21,0) 40%); }
.hero-inner { min-height: clamp(420px, 64vh, 580px); display: flex; flex-direction: column; justify-content: center; padding-top: 48px; padding-bottom: 56px; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #d6e6dc; margin-bottom: 14px; }
.hero-eyebrow::before { content: ""; width: 26px; height: 3px; background: var(--yellow); border-radius: 2px; flex: none; }
@media (max-width: 420px) { .hero-eyebrow { font-size: 11.5px; letter-spacing: .09em; } }
.hero h1 { color: #fff; font-size: clamp(2.4rem, 1.4rem + 4.4vw, 4.4rem); font-weight: 850; line-height: 1.02; letter-spacing: -.025em; max-width: 12ch; }
.hero h1 em { font-style: normal; color: var(--yellow); }
.hero-lead { font-size: clamp(1rem, .95rem + .3vw, 1.15rem); color: #e2ece6; max-width: 46ch; margin: 16px 0 26px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-zoom { position: absolute; right: 16px; bottom: 16px; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: rgba(8,32,21,.45); color: #fff; display: flex; align-items: center; justify-content: center; cursor: zoom-in; transition: background .2s ease, transform .2s var(--ease); }
.hero-zoom:hover { background: rgba(8,32,21,.7); transform: scale(1.05); }
.hero-zoom .icon { width: 19px; height: 19px; }
.hero-word { position: absolute; right: -0.04em; bottom: -0.2em; z-index: -1; font-size: clamp(5rem, 14vw, 13rem); font-weight: 900; line-height: 1; color: rgba(255,255,255,.05); letter-spacing: -.04em; pointer-events: none; user-select: none; }
.facts { position: relative; z-index: 2; margin-top: -30px; }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.fact { padding: 16px 18px; border-left: 1px solid var(--line); text-decoration: none; color: inherit; transition: background .2s ease; }
.fact:first-child { border-left: 0; }
a.fact:hover { background: var(--green-50); }
.fact b { display: block; font-size: 1.5rem; line-height: 1.1; color: var(--green-800); font-weight: 850; }
.fact span { font-size: 13px; color: var(--muted); }
@media (max-width: 640px) {
  .facts { margin-top: -22px; }
  .facts-grid { grid-template-columns: repeat(2, 1fr); }
  .fact { padding: 12px 14px; }
  .fact:nth-child(3) { border-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
  .fact b { font-size: 1.25rem; }
}

/* --------------------------------------------------------- Section-Kopf */
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.sec-head h2 { font-size: clamp(1.3rem, 1.05rem + 1vw, 1.75rem); font-weight: 800; }
.sec-head h2.mini-head { font-size: 13px; }
.eyebrow { display: block; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--green-600); margin-bottom: 4px; }
@media (max-width: 560px) { .sec-head { flex-direction: column; align-items: flex-start; gap: 8px; } }
.page-head { background: var(--surface); border-bottom: 1px solid var(--line); }
.page-head .container { padding-top: clamp(22px, 3.5vw, 36px); padding-bottom: clamp(16px, 2.5vw, 22px); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--green-700); text-decoration: underline; }
.crumbs .sep { opacity: .5; }
.page-head h1 { font-size: clamp(1.55rem, 1.2rem + 1.4vw, 2.15rem); font-weight: 850; }
.page-head .rule { height: 3px; width: 44px; background: var(--yellow); border-radius: 2px; margin-top: 12px; }
.page-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ----------------------------------------------------------------- Cards */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.card-pad { padding: clamp(16px, 2.2vw, 22px); }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 960px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .grid-2, .grid-3 { grid-template-columns: minmax(0, 1fr); } }

/* ---------------------------------------------------------- Match-Cards */
.match-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 760px) { .match-cards { grid-template-columns: minmax(0, 1fr); } }
.mc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; transition: box-shadow .25s ease; }
.mc:hover { box-shadow: var(--shadow); }
.mc-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; background: var(--green-900); color: #fff; }
.mc-head a { color: #fff; text-decoration: none; font-weight: 800; font-size: 16px; white-space: nowrap; }
.mc-head a:hover { text-decoration: underline; }
.mc-head small { color: #b9d2c3; font-size: 12.5px; text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.mc-body { display: grid; grid-template-columns: 1fr 1fr; }
.mc-body.is-single { grid-template-columns: minmax(0, 1fr); }
.mc-block { padding: 14px 16px 16px; min-width: 0; }
.mc-block + .mc-block { border-left: 1px solid var(--line); }
@media (max-width: 420px) { .mc-body { grid-template-columns: minmax(0, 1fr); } .mc-block + .mc-block { border-left: 0; border-top: 1px solid var(--line); } }
.mc-label { display: block; font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.mc-score { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 10px; align-items: center; }
.mc-team { font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.mc-team.is-us { color: var(--green-800); font-weight: 800; }
.mc-goals { font-size: 18px; font-weight: 850; font-variant-numeric: tabular-nums; text-align: right; }
.mc-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 8px; margin-top: 10px; font-size: 12.5px; color: var(--muted); }
.mc-when { font-size: 15px; font-weight: 800; color: var(--green-900); margin-bottom: 4px; }
.mc-vs { font-size: 14px; line-height: 1.35; }
.mc-vs .is-us { font-weight: 800; color: var(--green-800); }
.mc-vs .vs { color: var(--muted); }
.mc-empty { font-size: 14px; color: var(--muted); }
.badge { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; padding: 0 7px; border-radius: 11px; font-size: 11.5px; font-weight: 800; letter-spacing: .02em; }
.badge-win { background: #dff0e6; color: var(--win); }
.badge-draw { background: #f4efd2; color: var(--draw); }
.badge-loss { background: #f7e1dc; color: var(--loss); }
.tag { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 4px; font-size: 11.5px; font-weight: 700; background: var(--green-50); color: var(--green-800); border: 1px solid var(--green-100); white-space: nowrap; text-decoration: none; }
.tag-home { background: var(--yellow-100); border-color: #f4e39a; color: #6b5600; }
.mc-foot { padding: 10px 16px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 13px; background: #fbfcfb; }
.mc-foot .link-arrow { font-size: 13.5px; }
.mc-rank { display: inline-flex; align-items: center; gap: 8px; min-width: 0; color: var(--muted); }
.mc-rank b { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 12px; background: var(--green-900); color: #fff; font-size: 12.5px; font-weight: 800; white-space: nowrap; }
.mc-rank span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.data-note { font-size: 12.5px; color: var(--muted); display: flex; align-items: center; gap: 6px; margin-top: 12px; }
.data-note .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green-600); flex: none; }
.data-note .dot.is-warn { background: var(--yellow-600); }
.sk { position: relative; overflow: hidden; background: #eef1ee; border-radius: 4px; height: 14px; }
.sk::after { content: ""; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, rgba(255,255,255,.7), transparent); animation: shimmer 1.3s infinite; }
@keyframes shimmer { to { transform: translateX(100%); } }
.sk + .sk { margin-top: 8px; }
.sk-lg { height: 20px; }
.fallback { font-size: 14px; color: var(--muted); }
.hb-widget { margin-top: 12px; max-width: 100%; overflow-x: auto; font-size: 14px; }
.hb-widget table { width: 100%; border-collapse: collapse; }
.hb-widget td, .hb-widget th { padding: 6px 8px; border-bottom: 1px solid var(--line); }

/* -------------------------------------------------------------- Tabelle */
.standings { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.standings + .standings { margin-top: 14px; }
.st-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: #f7f8f6; font-size: 13px; }
.st-head b { color: var(--green-900); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-head .tag { flex: none; }
.st-table { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.st-table th { white-space: nowrap; font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); text-align: right; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.st-table td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: right; white-space: nowrap; }
.st-table tr:last-child td { border-bottom: 0; }
.st-table th:nth-child(2), .st-table td:nth-child(2) { text-align: left; width: 100%; white-space: normal; }
.st-table th:first-child, .st-table td:first-child { text-align: center; width: 44px; }
.st-table td:first-child { font-weight: 800; color: var(--muted); }
.st-table td:last-child { font-weight: 800; }
.st-table tr.is-us td { background: var(--yellow-100); }
.st-table tr.is-us td:nth-child(2) { font-weight: 800; color: var(--green-900); box-shadow: inset 3px 0 0 var(--yellow); }
.st-table tr.is-us td:first-child { color: var(--green-900); }
@media (max-width: 560px) { .st-table .opt { display: none; } .st-table td, .st-table th { padding: 7px 8px; } }
.st-foot { padding: 8px 14px; font-size: 12.5px; color: var(--muted); border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }

/* -------------------------------------------------------------- Livestream */
.stream-wrap { margin-top: 18px; }
.stream { display: flex; align-items: center; gap: 14px; padding: 12px 14px 12px 16px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.stream-live { position: relative; width: 40px; height: 40px; flex: none; border-radius: 50%; background: #fbe9e5; color: var(--red); display: flex; align-items: center; justify-content: center; }
.stream-live::after { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 2px solid rgba(194,65,45,.35); animation: pulse 1.8s ease-out infinite; }
@keyframes pulse { from { transform: scale(.9); opacity: 1; } to { transform: scale(1.25); opacity: 0; } }
.stream-txt { min-width: 0; flex: 1; }
.stream-txt b { display: block; font-size: 15px; }
.stream-txt span { font-size: 13.5px; color: var(--muted); }
@media (max-width: 520px) { .stream { flex-wrap: wrap; } .stream .btn { width: 100%; } }

/* ------------------------------------------------------------ Team-Chips */
.team-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 860px) { .team-groups { grid-template-columns: minmax(0, 1fr); } }
.tg { padding: 16px; }
.tg h3 { font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.tg h3 .count { font-size: 11.5px; background: var(--green-50); color: var(--green-700); border-radius: 10px; padding: 1px 7px; letter-spacing: 0; }
.chip-list { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px; border-radius: 20px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font-weight: 600; font-size: 14px; text-decoration: none; cursor: pointer; transition: border-color .2s ease, background .2s ease, color .2s ease, transform .15s var(--ease); -webkit-tap-highlight-color: transparent; white-space: nowrap; }
.chip:hover { border-color: var(--green-600); color: var(--green-900); }
.chip:active { transform: scale(.97); }
.chip[aria-pressed="true"] { background: var(--green-800); border-color: var(--green-800); color: #fff; }
.segment { display: inline-flex; padding: 4px; background: #e9ece9; border-radius: 10px; gap: 2px; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.segment::-webkit-scrollbar { display: none; }
.segment button { min-height: 40px; padding: 0 16px; border: 0; border-radius: 7px; background: transparent; font-weight: 700; font-size: 14px; color: var(--muted); cursor: pointer; white-space: nowrap; transition: background .2s ease, color .2s ease, box-shadow .2s ease; }
.segment button[aria-pressed="true"] { background: var(--surface); color: var(--green-900); box-shadow: var(--shadow-sm); }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-bottom: 14px; }
.chip-scroll { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 8px; margin: 0 -2px 6px; scrollbar-width: thin; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
.chip-scroll .chip { scroll-snap-align: start; min-height: 38px; padding: 0 12px; font-size: 13.5px; }
@media (min-width: 900px) { .chip-scroll { flex-wrap: wrap; overflow: visible; } }

/* ------------------------------------------------------------- Spiele-Liste */
.games { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: clip; }
.games-day { padding: 8px 16px; background: #f7f8f6; border-bottom: 1px solid var(--line); font-size: 12.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.game { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 16px; border-bottom: 1px solid var(--line); transition: background .15s ease; }
.game:last-child { border-bottom: 0; }
.game:hover { background: #fafbfa; }
.game-time { font-weight: 800; font-variant-numeric: tabular-nums; font-size: 14.5px; color: var(--green-900); }
.game-main { min-width: 0; }
.game-top { display: flex; align-items: center; gap: 6px; margin-bottom: 2px; flex-wrap: wrap; }
.game-teams { font-size: 14.5px; line-height: 1.35; overflow-wrap: anywhere; }
.game-teams .is-us { font-weight: 800; color: var(--green-800); }
.game-teams .vs { color: var(--muted); padding: 0 4px; }
.game-res { text-align: right; display: flex; align-items: center; gap: 8px; justify-content: flex-end; }
.game-res b { font-size: 16px; font-weight: 850; font-variant-numeric: tabular-nums; }
.game-hall { font-size: 12.5px; color: var(--muted); }
@media (max-width: 520px) {
  .game { grid-template-columns: 48px minmax(0, 1fr); padding: 10px 12px; gap: 10px; }
  .game-res { grid-column: 2; justify-content: flex-start; margin-top: 2px; }
  .games-day { padding: 8px 12px; }
}
.games-empty { padding: 18px 16px; color: var(--muted); font-size: 14.5px; }
.games-more { display: flex; justify-content: center; padding: 12px; border-top: 1px solid var(--line); }
.games-info { margin-top: 12px; font-size: 13.5px; color: var(--muted); }

/* -------------------------------------------------------------- Slider */
.slider { position: relative; }
.slider-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, calc((100% - 32px) / 3)); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 2px 2px 14px; margin: 0 -2px; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.slider-track::-webkit-scrollbar { display: none; }
@media (max-width: 960px) { .slider-track { grid-auto-columns: minmax(250px, calc((100% - 16px) / 2)); } }
@media (max-width: 600px) { .slider-track { grid-auto-columns: 82%; gap: 12px; } }
.slide { scroll-snap-align: start; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); text-decoration: none; color: inherit; transition: box-shadow .25s ease, transform .25s var(--ease); }
.slide:hover { box-shadow: var(--shadow); transform: translateY(-2px); color: inherit; }
.slide-media { aspect-ratio: 16 / 9; overflow: hidden; background: var(--green-100); }
.slide-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.slide:hover .slide-media img { transform: scale(1.04); }
.slide-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.slide-body h3 { font-size: 17px; font-weight: 800; }
.slide-body p { font-size: 14px; color: var(--muted); margin: 0; }
.slide-body .link-arrow { margin-top: auto; padding-top: 6px; font-size: 14px; }
.slider-nav { display: flex; gap: 8px; }
.slider-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--green-800); transition: border-color .2s ease, background .2s ease, opacity .2s ease; }
.slider-btn:hover:not(:disabled) { border-color: var(--green-600); background: var(--green-50); }
.slider-btn:disabled { opacity: .35; cursor: default; }
@media (hover: none) { .slider-nav { display: none; } }
.slider-dots { display: none; justify-content: center; gap: 6px; }
@media (hover: none) { .slider-dots { display: flex; } }
.slider-dots i { width: 6px; height: 6px; border-radius: 3px; background: #cdd5cf; transition: width .25s var(--ease), background .25s ease; }
.slider-dots i.on { width: 18px; background: var(--green-700); }
.dummy { position: relative; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 8px; width: 100%; height: 100%; min-height: 140px; color: rgba(255,255,255,.85); background: radial-gradient(120% 90% at 85% 10%, rgba(243,195,0,.22), transparent 55%), linear-gradient(135deg, var(--green-700), var(--green-900)); font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; text-align: center; padding: 12px; }
.dummy::before { content: ""; position: absolute; inset: 10px; border: 1.5px dashed rgba(255,255,255,.28); border-radius: 6px; pointer-events: none; }
.dummy .icon { width: 34px; height: 34px; stroke-width: 1.3; opacity: .9; }
.cta { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 18px; padding: clamp(18px, 3vw, 28px); border-radius: var(--radius); background: var(--green-900); color: #fff; position: relative; overflow: hidden; }
.cta::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; border: 28px solid rgba(243,195,0,.12); }
.cta h2 { color: #fff; font-size: clamp(1.2rem, 1rem + .8vw, 1.5rem); }
.cta p { color: #cfe0d6; margin: 6px 0 0; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; position: relative; z-index: 1; }
@media (max-width: 720px) { .cta { grid-template-columns: minmax(0, 1fr); } }

/* ------------------------------------------------------- Team-Übersicht */
.team-card { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 12px 14px; text-decoration: none; color: inherit; transition: box-shadow .2s ease, border-color .2s ease; }
.team-card:hover { border-color: #c9d8ce; box-shadow: var(--shadow); color: inherit; }
.team-card .thumb { width: 64px; height: 48px; border-radius: 6px; overflow: hidden; }
.team-card .thumb .dummy { min-height: 0; font-size: 0; }
.team-card .thumb .dummy::before { inset: 4px; }
.team-card .thumb .dummy .icon { width: 20px; height: 20px; }
.team-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.team-card h3 { font-size: 16px; font-weight: 800; }
.team-card p { margin: 2px 0 0; font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.team-card .go { color: var(--green-700); transition: transform .2s var(--ease); }
.team-card:hover .go { transform: translateX(3px); }
.team-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 760px) { .team-list { grid-template-columns: minmax(0, 1fr); } }
.group-title { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 22px 0 10px; }
.group-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
#teamGroups { margin-top: -22px; }

/* ------------------------------------------------------------ Team-Detail */
.team-top { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 18px; align-items: start; }
@media (max-width: 860px) { .team-top { grid-template-columns: minmax(0, 1fr); } }
.team-photo { border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 2; background: var(--green-100); box-shadow: var(--shadow-sm); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; transition: transform .5s var(--ease); }
.team-photo img:hover { transform: scale(1.02); }
.glance { padding: 6px 18px; }
.glance h2 { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); padding: 12px 0 6px; }
.glance-row { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 10px; padding: 11px 0; border-top: 1px solid var(--line); }
.glance-row .icon { color: var(--green-600); width: 20px; height: 20px; margin-top: 2px; }
.glance-row small { display: block; font-size: 12px; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.glance-row div > span, .glance-row div > a { font-size: 15px; font-weight: 600; }
.glance-row ul { list-style: none; padding: 0; margin: 2px 0 0; }
.glance-row li { font-size: 14.5px; display: flex; flex-wrap: wrap; gap: 2px 8px; }
.glance-row li b { min-width: 24px; }
.glance-row li span { color: var(--muted); }
.prose { max-width: 70ch; font-size: 16px; }
.prose .lead { font-size: 1.12rem; font-weight: 600; color: var(--green-900); }
@media (max-width: 600px) { .prose .lead { font-size: 1.04rem; } }
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; }
@media (max-width: 960px) { .content-grid { grid-template-columns: minmax(0, 1fr); } }
.side-stack { display: grid; gap: 16px; }
.mini-head { font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.contact-line { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 14.5px; }
.contact-line:first-of-type { border-top: 0; }
.contact-line .icon { color: var(--green-600); width: 19px; height: 19px; }
.team-pager { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.team-pager a { display: flex; flex-direction: column; padding: 12px 14px; text-decoration: none; color: inherit; }
.team-pager a:hover { border-color: var(--green-600); }
.team-pager small { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; }
.team-pager b { color: var(--green-900); }
.team-pager .next { text-align: right; }

/* --------------------------------------------------------------- Training */
.tr-list { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.tr-row { display: grid; grid-template-columns: minmax(150px, 1.1fr) minmax(0, 2fr); gap: 14px; padding: 12px 16px; border-top: 1px solid var(--line); align-items: start; }
.tr-row:first-child { border-top: 0; }
.tr-team a { font-weight: 800; text-decoration: none; color: var(--green-900); }
.tr-team a:hover { text-decoration: underline; }
.tr-team small { display: block; color: var(--muted); font-size: 12.5px; }
.tr-slots { display: grid; gap: 4px; }
.tr-slot { display: grid; grid-template-columns: 34px 110px minmax(0, 1fr); gap: 8px; font-size: 14.5px; align-items: baseline; }
.tr-slot b { color: var(--green-800); }
.tr-slot span:last-child { color: var(--muted); overflow-wrap: anywhere; }
@media (max-width: 600px) { .tr-row { grid-template-columns: minmax(0, 1fr); gap: 6px; padding: 12px; } .tr-slot { grid-template-columns: 30px 98px minmax(0, 1fr); font-size: 14px; } }
.day-block + .day-block { margin-top: 12px; }
.day-block h3 { font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--green-800); margin: 0 0 8px; }
.halls { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 960px) { .halls { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 460px) { .halls { grid-template-columns: minmax(0, 1fr); } }
.hall { padding: 14px; display: flex; flex-direction: column; gap: 4px; }
.hall b { color: var(--green-900); }
.hall span { font-size: 13.5px; color: var(--muted); }
.hall a { font-size: 13.5px; font-weight: 700; margin-top: auto; padding-top: 6px; }

/* --------------------------------------------------------------- Accordion */
.acc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.acc + .acc { margin-top: 10px; }
.acc summary { list-style: none; display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 16px; cursor: pointer; font-weight: 800; font-size: 16px; color: var(--green-950); -webkit-tap-highlight-color: transparent; }
.acc summary::-webkit-details-marker { display: none; }
.acc-ico { width: 36px; height: 36px; border-radius: 8px; background: var(--green-50); color: var(--green-700); display: flex; align-items: center; justify-content: center; flex: none; }
.acc-ico .icon { width: 20px; height: 20px; }
.acc summary .acc-meta { margin-left: auto; font-size: 13px; color: var(--muted); font-weight: 600; }
.acc summary .chev { transition: transform .25s var(--ease); color: var(--muted); }
.acc[open] summary .chev { transform: rotate(180deg); }
.acc summary:hover { background: #fafbfa; }
.acc-body { padding: 4px 16px 14px; animation: accIn .3s var(--ease) both; }
@keyframes accIn { from { opacity: 0; transform: translateY(-4px); } }
.person { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.person small { display: block; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.person b { font-size: 15px; }
@media (max-width: 420px) { .person { grid-template-columns: minmax(0, 1fr); } .person .btn { justify-self: start; } }
.names { display: flex; flex-wrap: wrap; gap: 6px; }
.names span { font-size: 13.5px; padding: 5px 10px; border-radius: 4px; background: var(--green-50); border: 1px solid var(--green-100); }
.names.is-new span { background: var(--yellow-100); border-color: #f4e39a; }
.media-text { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(18px, 3vw, 32px); align-items: center; }
@media (max-width: 860px) { .media-text { grid-template-columns: minmax(0, 1fr); } }
.media-frame { border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 2; box-shadow: var(--shadow-sm); background: var(--green-100); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; transition: transform .5s var(--ease); }
.media-frame img:hover { transform: scale(1.02); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 860px) { .steps { grid-template-columns: minmax(0, 1fr); } }
.step { padding: 18px; }
.step-num { width: 34px; height: 34px; border-radius: 50%; background: var(--green-800); color: #fff; font-weight: 850; display: flex; align-items: center; justify-content: center; margin-bottom: 10px; }
.step h3 { font-size: 17px; margin-bottom: 6px; }
.step p { font-size: 14.5px; color: var(--muted); }
.dl-list { display: grid; gap: 8px; margin-top: 12px; }
.dl { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm); text-decoration: none; color: inherit; background: #fbfcfb; transition: border-color .2s ease, background .2s ease; }
.dl:hover { border-color: var(--green-600); background: var(--green-50); color: inherit; }
.dl .dl-ico { width: 36px; height: 36px; border-radius: 8px; background: var(--surface); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; color: var(--green-700); }
.dl b { display: block; font-size: 14.5px; }
.dl small { color: var(--muted); font-size: 12.5px; }
.dl > .icon { color: var(--muted); }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 6px; bottom: 6px; width: 2px; background: var(--green-100); }
.timeline li { position: relative; padding: 0 0 18px 32px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--surface); border: 3px solid var(--green-600); }
.timeline .yr { font-size: 12.5px; font-weight: 800; color: var(--green-600); letter-spacing: .06em; }
.timeline h3 { font-size: 16px; margin: 2px 0 4px; }
.timeline p { font-size: 14.5px; color: var(--muted); margin: 0; }
.review-item { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14.5px; }
.review-item:first-child { border-top: 0; }
.review-item b { color: var(--green-800); font-size: 13.5px; }
@media (max-width: 480px) { .review-item { grid-template-columns: minmax(0, 1fr); gap: 2px; } }
.pill-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.feature-ico { width: 40px; height: 40px; border-radius: 8px; background: var(--green-50); color: var(--green-700); display: flex; align-items: center; justify-content: center; margin-bottom: 10px; }

/* ----------------------------------------------------------- Rechtliches */
.legal { max-width: 78ch; padding: clamp(18px, 3vw, 32px); }
.legal h2 { font-size: 1.15rem; margin: 26px 0 8px; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-size: 1rem; margin: 16px 0 4px; color: var(--green-800); }
.legal p, .legal li { font-size: 15px; color: #26332c; }
.legal ul { padding-left: 20px; margin: 0 0 .9em; }
.legal a { overflow-wrap: anywhere; }

/* ----------------------------------------------------------------- Footer */
.footer { margin-top: auto; background: var(--green-950); color: #b7cdbf; font-size: 14px; }
.footer .container { padding-top: 32px; padding-bottom: 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; } }
.footer-brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.footer-brand img, .footer-brand svg { width: 44px; height: 44px; object-fit: contain; }
.footer-brand b { font-size: 14px; letter-spacing: .05em; text-transform: uppercase; line-height: 1.2; }
.footer-brand b span { display: block; color: var(--yellow); font-size: 12px; letter-spacing: .1em; }
.footer h4 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 8px; }
.footer a { color: #d9e7de; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; border-top: 1px solid rgba(255,255,255,.08); margin-top: 22px; padding-top: 16px; font-size: 13px; }
.footer-slogan { color: var(--yellow); font-weight: 800; }

/* ---------------------------------------------------------------- Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 120; background: rgba(6, 20, 13, .92); display: flex; align-items: center; justify-content: center; padding: 56px 16px 24px; animation: fadeIn .2s ease both; }
.lightbox[hidden] { display: none; }
.lightbox-figure { margin: 0; max-width: min(1200px, 100%); max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.lightbox-figure img { max-width: 100%; max-height: calc(100vh - 120px); object-fit: contain; border-radius: 6px; box-shadow: var(--shadow-lg); animation: lbIn .3s var(--ease) both; }
@keyframes lbIn { from { opacity: 0; transform: scale(.97); } }
.lightbox figcaption { color: #cfe0d6; font-size: 14px; text-align: center; }
.lightbox-close { position: absolute; top: max(12px, env(safe-area-inset-top)); right: 12px; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.08); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.lightbox-close:hover { background: rgba(255,255,255,.18); }
[data-lightbox] { cursor: zoom-in; }
.reveal { opacity: 0; transform: translateY(12px); transition: opacity .55s var(--ease), transform .55s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.no-io .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
@media print {
  .sidebar, .bottom-nav, .topbar, .hero-zoom, .slider-nav { display: none !important; }
  .main { padding: 0 !important; }
  body { background: #fff; padding: 0; }
}

/* ===================================================================== V9 */
/* Abstand nach hinterlegtem Bereich (z. B. „Unsere Teams“ -> „Vereinsleben“) */
.section--tint + .section:not(.section--tint) { padding-top: var(--section-y); }

/* Wappen / Logos */
.crest { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; flex: none; border-radius: 50%; overflow: hidden; background: #fff; border: 1px solid var(--line); vertical-align: middle; }
.crest img { width: 100%; height: 100%; object-fit: contain; padding: 1px; }
.crest-ini { background: var(--green-50); border-color: var(--green-100); color: var(--green-700); font-size: 8.5px; font-weight: 800; letter-spacing: .02em; line-height: 1; }
.crest-ini.is-us { background: var(--green-900); border-color: var(--green-900); color: var(--yellow); font-size: 7.5px; }
.tm { display: inline-flex; align-items: center; gap: 7px; min-width: 0; vertical-align: middle; }
.tm > span:last-child { min-width: 0; }
.tm.is-us > span:last-child { font-weight: 800; color: var(--green-800); }
.game-teams { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 4px; }
.game-teams .vs { padding: 0 2px; }
.st-table .tm .crest { width: 20px; height: 20px; }

/* Spielkarten – beide Hälften gleich aufgebaut */
.mc-block { display: flex; flex-direction: column; gap: 10px; }
.mc-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 22px; }
.mc-top .mc-label { margin: 0; }
.mc-rows { display: grid; gap: 6px; }
.mc-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 9px; font-size: 14.5px; }
.mc-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.mc-row.is-us .mc-name { color: var(--green-800); font-weight: 800; }
.mc-row .mc-goals { font-size: 18px; font-weight: 850; font-variant-numeric: tabular-nums; min-width: 2ch; text-align: right; color: var(--muted); }
.mc-row.is-win .mc-goals { color: var(--text); }
.mc-block .mc-meta { margin-top: auto; padding-top: 8px; border-top: 1px dashed var(--line); gap: 6px; }
.mc-meta .sep { opacity: .5; }
.mc-date.is-strong { font-weight: 800; color: var(--green-900); font-size: 13.5px; }
.pill { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 11px; font-size: 11.5px; font-weight: 800; letter-spacing: .02em; white-space: nowrap; }
.pill-win { background: #dff0e6; color: var(--win); }
.pill-loss { background: #f7e1dc; color: var(--loss); }
.pill-draw { background: #f4efd2; color: var(--draw); }
.pill-home { background: var(--yellow-100); color: #6b5600; }
.pill-away { background: var(--green-50); color: var(--green-800); }

/* Slider-Badge (z. B. Shop-Kooperation) */
.slide-media { position: relative; }
.slide-badge { position: absolute; left: 10px; bottom: 10px; padding: 4px 9px; border-radius: 4px; background: rgba(10, 42, 29, .86); color: #fff; font-size: 11.5px; font-weight: 700; letter-spacing: .02em; }

/* Livestream */
.live-tag { display: inline-flex !important; align-items: center; gap: 5px; font-size: 11px !important; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--red) !important; margin-bottom: 1px; }
.live-tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red); animation: blink 1.4s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .25; } }
.stream { border-left: 4px solid var(--red); }
.stream-pop { position: fixed; z-index: 80; right: 18px; bottom: 18px; width: min(360px, calc(100vw - 24px)); display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--red); border-radius: var(--radius); box-shadow: var(--shadow-lg); transform: translateY(24px); opacity: 0; pointer-events: none; transition: transform .45s var(--ease), opacity .35s ease; }
.stream-pop.in { transform: none; opacity: 1; pointer-events: auto; }
.stream-pop .stream-txt { display: grid; gap: 3px; padding-right: 18px; }
.stream-pop .stream-txt b { font-size: 15px; }
.stream-pop .btn { justify-self: start; margin-top: 6px; }
.stream-pop-x { position: absolute; top: 6px; right: 6px; width: 32px; height: 32px; border: 0; background: none; border-radius: 50%; color: var(--muted); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.stream-pop-x:hover { background: var(--green-50); }
.stream-pop-x .icon { width: 18px; height: 18px; }
@media (max-width: 899.98px) { .stream-pop { right: 12px; left: 12px; width: auto; bottom: calc(76px + env(safe-area-inset-bottom)); } }
.mc-top .mc-label { white-space: nowrap; }
.mc-row { min-height: 28px; }
.mc-foot .link-arrow { white-space: nowrap; }

/* ==================================================================== V10 */
/* KI-Kennzeichnung (EU AI Act Art. 50) */
.media-frame, .slide-media, .team-photo { position: relative; }
.ai-badge { position: absolute; right: 8px; top: 8px; z-index: 2; display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; border-radius: 4px; background: rgba(10, 42, 29, .78); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .02em; line-height: 1.4; pointer-events: auto; cursor: help; }
.ai-badge::before { content: "KI"; display: inline-flex; align-items: center; justify-content: center; height: 15px; padding: 0 4px; border-radius: 3px; background: var(--yellow); color: var(--green-950); font-size: 9.5px; font-weight: 900; }
.ai-badge--hero { top: 16px; right: 16px; background: rgba(8, 32, 21, .62); }
@media (max-width: 640px) { .ai-badge--hero { top: 10px; right: 10px; } }
.noscript ul { padding-left: 20px; }

/* ==================================================================== V11 */
.mc-row { grid-template-columns: minmax(0, 1fr) auto; }
.tm { gap: 0; }
.st-table tr[hidden] { display: none; }
.st-toggle { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; min-height: 42px; border: 0; border-top: 1px solid var(--line); background: #fbfcfb; color: var(--green-800); font-weight: 700; font-size: 13.5px; cursor: pointer; }
.st-toggle:hover { background: var(--green-50); }
.st-toggle .icon { width: 17px; height: 17px; transition: transform .2s var(--ease); }
.st-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.st-foot a { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; text-decoration: none; }
.rank-boxes { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; margin-bottom: 14px; }
.rank-box { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: var(--radius); background: var(--green-900); color: #fff; }
.rank-num { font-size: 2rem; font-weight: 900; line-height: 1; color: var(--yellow); font-variant-numeric: tabular-nums; }
.rank-txt { display: grid; gap: 2px; }
.rank-txt b { font-size: 15px; }
.rank-txt small { color: #cfe0d6; font-size: 13px; }

/* ==================================================================== V12 */
/* Mobile Kopfzeile: Name in einer Zeile */
.topbar strong { white-space: nowrap; font-size: clamp(11px, 3.5vw, 13.5px); letter-spacing: .035em; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.topbar strong span { display: inline; font-size: inherit; letter-spacing: inherit; margin-left: .3em; }

/* Spielkarten: Status-Tag unten neben dem Datum (kein Überlaufen mehr) */
.mc-top { min-height: 0; }
.mc-name { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.3; overflow: hidden; }
.mc-block .mc-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 8px; }
.mc-when-txt { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; min-width: 0; }
.mc-meta .pill { flex: none; }

/* Auf einen Blick: nur Platz */
.glance-rank { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; margin-top: 6px; }
.glance-rank b { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 13px; background: var(--green-900); color: #fff; font-size: 13px; }
.glance-rank small { color: var(--muted); font-weight: 700; }
.glance-rank .sep { color: var(--muted); }
.rank-boxes { display: none; }

/* Tabelle aufklappen – dezenter Textlink-Button */
.st-toggle { appearance: none; -webkit-appearance: none; font: inherit; display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; min-height: 44px; margin: 0; padding: 0 16px; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: var(--surface); color: var(--green-800); font-size: 13.5px; font-weight: 700; cursor: pointer; transition: background .2s ease, color .2s ease; }
.st-toggle:hover { background: var(--green-50); color: var(--green-900); }
.st-toggle:focus-visible { outline-offset: -3px; }
.st-toggle .icon { width: 16px; height: 16px; stroke-width: 2; transition: transform .25s var(--ease); }
.st-foot { align-items: center; }
.st-foot a { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; color: var(--green-700); text-decoration: none; }
.st-foot a:hover { text-decoration: underline; }
.st-foot a .icon { width: 14px; height: 14px; }

/* ==================================================================== V13 */
/* Spielkarten: Namen einzeilig, Datum/Uhrzeit + Tag immer in einer Zeile */
.mc-name { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; -webkit-line-clamp: unset; }
.mc-rows { gap: 8px; }
.mc-row { min-height: 26px; }
.mc-block .mc-meta { flex-wrap: nowrap; justify-content: space-between; align-items: center; min-height: 36px; }
.mc-when-txt { flex-wrap: nowrap; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.mc-date, .mc-date.is-strong { white-space: nowrap; font-size: 13px; }
.mc-meta .pill { flex: none; height: 22px; padding: 0 8px; font-size: 11px; }
.mc-block .mc-meta { gap: 6px; }
@media (max-width: 600px) {
  .mc-block { padding: 12px 12px 14px; }
  .mc-row { font-size: 14px; gap: 6px; }
  .mc-row .mc-goals { font-size: 17px; }
  .mc-date, .mc-date.is-strong { font-size: 12px; }
  .mc-meta .pill { padding: 0 7px; font-size: 10.5px; }
}
/* Zwei Karten nebeneinander erst, wenn genug Platz für Datum + Tag ist */
@media (max-width: 1199.98px) { .match-cards { grid-template-columns: minmax(0, 1fr); max-width: 680px; } }
@media (max-width: 520px) {
  .mc-block { padding: 12px 10px 12px; }
  .mc-date, .mc-date.is-strong { font-size: 11.5px; letter-spacing: -.01em; }
  .mc-meta .pill { padding: 0 6px; }
}
@media (max-width: 460px) { .mc-body { grid-template-columns: minmax(0, 1fr); } .mc-block + .mc-block { border-left: 0; border-top: 1px solid var(--line); } }

/* ==================================================================== V14 */
.data-note .dot.is-pulse { animation: blink 1.2s ease-in-out infinite; }

/* Livestream-Seite */
.stream-page { display: grid; gap: 14px; max-width: 1060px; }
.stream-note { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0; font-size: 15px; }
.player { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #0b1f16; box-shadow: var(--shadow); }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.consent { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 20px; text-align: center; color: #e6efe9;
  background: radial-gradient(120% 90% at 50% 0%, rgba(243,195,0,.14), transparent 60%), linear-gradient(160deg, var(--green-800), var(--green-950)); }
.consent b { font-size: 18px; color: #fff; }
.consent p { max-width: 560px; margin: 0; font-size: 13.5px; color: #c9dacf; }
.consent a { color: var(--yellow); }
.consent .stream-live { background: rgba(255,255,255,.1); color: #fff; }
.consent-remember { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: #c9dacf; cursor: pointer; }
.consent-remember input { accent-color: var(--yellow); }
.stream-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.small { font-size: 13px; }
@media (max-width: 520px) { .consent p { font-size: 12.5px; } .consent b { font-size: 16px; } .player { aspect-ratio: 4 / 3; } }
.sb-ico .live-dot, .bn-pill .live-dot { position: absolute; top: 9px; right: 20px; width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 2px var(--green-900); animation: blink 1.4s ease-in-out infinite; }
.bn-pill { position: relative; }
.bn-pill .live-dot { top: 1px; right: 8px; box-shadow: 0 0 0 2px #fff; }
@media (max-width: 640px) {
  .player:has(.consent) { aspect-ratio: auto; }
  .player .consent { position: relative; inset: auto; padding: 22px 16px; }
  .player .consent .stream-live { display: none; }
}

/* =========================================================================
   V15 – Designlinie „Hallenboden & Trikot“
   Sportlich-redaktionell statt App-Baukasten: schmale Trikot-Schrift,
   harte Kanten, Linien statt Schatten, Schal-Streifen als Leitmotiv,
   Spielfeldlinien und Anzeigetafel-Ziffern. Schriften liegen lokal.
   ========================================================================= */
@font-face { font-family: "HSG Condensed"; src: url("assets/fonts/barlow-condensed-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "HSG Condensed"; src: url("assets/fonts/barlow-condensed-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "HSG Condensed"; src: url("assets/fonts/barlow-condensed-700.woff2") format("woff2"); font-weight: 700 900; font-style: normal; font-display: swap; }
@font-face { font-family: "HSG Text"; src: url("assets/fonts/archivo-var.woff2") format("woff2"); font-weight: 300 800; font-style: normal; font-display: swap; }

:root {
  --font: "HSG Text", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --font-cond: "HSG Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
  --bg: #f3f1ea;            /* warmes Papier statt Grau */
  --surface: #fffefb;
  --line: #d8d4c7;
  --line-2: #1d3b2c;
  --text: #15201a;
  --muted: #5b655e;
  --radius: 2px; --radius-sm: 2px;
  --shadow-sm: none; --shadow: none; --shadow-lg: 0 18px 40px rgba(10, 30, 20, .22);
  --scarf: repeating-linear-gradient(-55deg, var(--yellow) 0 12px, var(--green-800) 12px 24px);
  --scarf-thin: repeating-linear-gradient(-55deg, var(--yellow) 0 6px, var(--green-900) 6px 12px);
}
body { font-family: var(--font); font-size: 16px; letter-spacing: .002em; background: var(--bg); }
h1, h2, h3, h4 { font-family: var(--font-cond); font-weight: 700; letter-spacing: .005em; line-height: 1.02; }
:focus-visible { border-radius: 0; }

/* ---------------------------------------------------------- Überschriften */
.sec-head { align-items: flex-end; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 2px solid var(--green-900); position: relative; }
.sec-head::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 74px; height: 6px; background: var(--yellow); clip-path: polygon(0 0, 100% 0, calc(100% - 6px) 100%, 0 100%); }
.sec-head h2 { font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.8rem); text-transform: uppercase; color: var(--green-950); }
.eyebrow { font-family: var(--font-cond); font-size: 14px; font-weight: 600; letter-spacing: .16em; color: var(--green-700); display: inline-flex; align-items: center; gap: 8px; margin-bottom: 2px; }
.eyebrow::before { content: ""; width: 18px; height: 8px; background: var(--scarf-thin); flex: none; }
.mini-head, .glance h2, .group-title, .tg h3, .mc-label { font-family: var(--font-cond); font-weight: 700; font-size: 14px; letter-spacing: .14em; }
.group-title::after { height: 2px; background: var(--green-900); }

/* ------------------------------------------------------------------ Karten */
.card, .mc, .standings, .games, .tr-list, .acc, .slide { border-radius: 0; box-shadow: none; border: 1px solid var(--line); background: var(--surface); }
.card-pad { padding: clamp(16px, 2.2vw, 24px); }
.side-stack .card { border-top: 4px solid var(--green-900); }

/* ------------------------------------------------------------------ Buttons */
.btn { font-family: var(--font-cond); font-weight: 700; font-size: 17px; letter-spacing: .06em; text-transform: uppercase; border-radius: 0; min-height: 48px; padding: 0 22px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%); }
.btn-sm { font-size: 15px; min-height: 40px; padding: 0 14px; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%); }
.btn-primary { background: var(--yellow); color: var(--green-950); box-shadow: none; }
.btn-primary:hover { background: var(--green-950); color: var(--yellow); }
.btn-green { background: var(--green-900); }
.btn-green:hover { background: var(--yellow); color: var(--green-950); }
.btn-ghost { border: 2px solid rgba(255,255,255,.75); }
.btn-ghost:hover { background: #fff; color: var(--green-950); border-color: #fff; }
.btn-outline { background: transparent; border: 2px solid var(--green-900); color: var(--green-900); }
.btn-outline:hover { background: var(--green-900); color: #fff; border-color: var(--green-900); }
.link-arrow { font-family: var(--font-cond); font-size: 16px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--green-800); border-bottom: 2px solid var(--yellow); padding-bottom: 1px; }
.link-arrow:hover { color: var(--green-950); border-bottom-color: var(--green-950); }

/* ------------------------------------------------------------------- Hero */
.hero::after { background: linear-gradient(100deg, rgba(8, 32, 21, .95) 0%, rgba(8, 32, 21, .82) 34%, rgba(8, 32, 21, .3) 66%, rgba(8, 32, 21, .05) 100%); }
.hero-media img { animation: none; transform: none; filter: saturate(.9) contrast(1.05); }
.hero-inner { min-height: clamp(440px, 70vh, 640px); padding-bottom: 72px; }
.hero h1 { font-size: clamp(3.4rem, 2rem + 6.4vw, 7.4rem); font-weight: 700; text-transform: uppercase; line-height: .86; letter-spacing: -.005em; max-width: 9ch; }
.hero h1 em { display: block; color: var(--yellow); }
.hero-eyebrow { font-family: var(--font-cond); font-size: 16px; font-weight: 600; letter-spacing: .2em; color: #fff; }
.hero-eyebrow::before { width: 34px; height: 10px; border-radius: 0; background: var(--scarf-thin); }
.hero-lead { font-size: clamp(1.02rem, .96rem + .35vw, 1.2rem); color: #e8efe9; max-width: 40ch; border-left: 3px solid var(--yellow); padding-left: 14px; margin: 22px 0 28px; }
.hero-word { display: none; }
.hero-court { position: absolute; right: 0; top: 0; height: 100%; width: min(62%, 720px); z-index: -1; fill: none; stroke: rgba(255,255,255,.22); stroke-width: 2.2; pointer-events: none; }
.hero-stripe { position: absolute; left: 0; right: 0; bottom: 0; height: 14px; background: var(--scarf); }
@media (max-width: 640px) { .hero-court { width: 100%; opacity: .6; } .hero-inner { padding-bottom: 56px; } }

/* Fakten als Anzeigetafel-Leiste direkt unter dem Bild */
.facts { margin-top: 0; background: var(--green-950); }
.facts .container { padding-left: 0; padding-right: 0; }
.facts-grid { border-radius: 0; box-shadow: none; background: transparent; }
.fact { padding: 18px 22px 16px; border-left: 1px solid rgba(255,255,255,.12); color: #cfe0d6; }
.fact b { font-family: var(--font-cond); font-size: 2.6rem; font-weight: 700; line-height: .95; color: var(--yellow); font-variant-numeric: tabular-nums; }
.fact span { font-family: var(--font-cond); font-size: 14px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #cfe0d6; }
a.fact:hover { background: rgba(255,255,255,.05); }
@media (max-width: 640px) { .facts { margin-top: 0; } .fact { padding: 14px 16px; } .fact b { font-size: 2rem; } .fact:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.12); } }

/* ----------------------------------------------------- Spielkarten (Anzeigetafel) */
.mc { border: 0; background: var(--green-950); color: #e8efe9; }
.mc-head { background: transparent; border-bottom: 1px solid rgba(255,255,255,.12); padding: 14px 18px 12px; }
.mc-head a { font-family: var(--font-cond); font-size: 24px; text-transform: uppercase; letter-spacing: .02em; }
.mc-head small { font-family: var(--font-cond); font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: #9fb9aa; }
.mc-block { padding: 14px 18px 16px; }
.mc-block + .mc-block { border-left: 1px solid rgba(255,255,255,.12); }
@media (max-width: 460px) { .mc-block + .mc-block { border-top: 1px solid rgba(255,255,255,.12); } }
.mc-label { color: #9fb9aa; }
.mc-row { font-size: 15px; }
.mc-name { color: #fff; font-weight: 600; }
.mc-row.is-us .mc-name { color: var(--yellow); }
.mc-row .mc-goals { font-family: var(--font-cond); font-size: 30px; font-weight: 700; line-height: 1; color: #7f9a8a; min-width: 2.2ch; }
.mc-row.is-win .mc-goals { color: #fff; }
.mc-block .mc-meta { border-top: 1px dashed rgba(255,255,255,.18); color: #b5c9bd; }
.mc-date.is-strong { color: #fff; font-family: var(--font-cond); font-size: 16px; letter-spacing: .03em; }
.mc-empty { color: #9fb9aa; }
.mc .tag { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.15); color: #e8efe9; }
.mc-foot { background: var(--green-900); border-top: 0; }
.mc-foot .muted { color: #9fb9aa; }
.mc-foot .link-arrow { color: #fff; border-bottom-color: var(--yellow); }
.mc-rank b { border-radius: 0; background: var(--yellow); color: var(--green-950); font-family: var(--font-cond); font-size: 15px; letter-spacing: .04em; }
.mc .sk { background: rgba(255,255,255,.08); }
.mc .sk::after { background: linear-gradient(90deg, transparent, rgba(255,255,255,.12), transparent); }
.mc .fallback, .mc .fallback p { color: #cfe0d6; }
.mc .btn-outline { border-color: rgba(255,255,255,.6); color: #fff; }
/* Status: eckige Plaketten */
.pill { border-radius: 0; font-family: var(--font-cond); font-size: 13px !important; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; height: 22px; }
.pill-win { background: #2f9a5f; color: #fff; }
.pill-loss { background: #c2412d; color: #fff; }
.pill-draw { background: #b9a43a; color: #fff; }
.pill-home { background: var(--yellow); color: var(--green-950); }
.pill-away { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.55); }
.data-note { font-family: var(--font-cond); font-size: 14px; letter-spacing: .06em; text-transform: uppercase; }
.data-note .dot { border-radius: 0; width: 8px; height: 8px; }

/* Spiele-Liste */
.games-day { background: var(--green-950); color: #fff; font-family: var(--font-cond); font-size: 15px; letter-spacing: .1em; border-bottom: 0; }
.game-time { font-family: var(--font-cond); font-size: 19px; }
.game-res b { font-family: var(--font-cond); font-size: 22px; }
.tag { border-radius: 0; font-family: var(--font-cond); font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.badge { border-radius: 0; font-family: var(--font-cond); font-size: 13px; }

/* ------------------------------------------------------------------ Tabelle */
.st-head { background: var(--green-950); color: #fff; border-bottom: 0; }
.st-head b { color: #fff; font-family: var(--font-cond); font-size: 17px; letter-spacing: .04em; text-transform: uppercase; }
.st-table th { font-family: var(--font-cond); font-size: 13px; letter-spacing: .1em; color: var(--green-800); border-bottom: 2px solid var(--green-950); }
.st-table td { font-variant-numeric: tabular-nums; }
.st-table td:first-child, .st-table td:last-child { font-family: var(--font-cond); font-size: 17px; }
.st-table tr.is-us td { background: var(--yellow); color: var(--green-950); }
.st-table tr.is-us td:nth-child(2) { box-shadow: none; }
.st-toggle { font-family: var(--font-cond); font-size: 15px; letter-spacing: .08em; text-transform: uppercase; }

/* ------------------------------------------------------------- Chips & Filter */
.chip { border-radius: 0; font-family: var(--font-cond); font-size: 16px; font-weight: 600; letter-spacing: .03em; border: 1.5px solid var(--line); background: var(--surface); }
.chip:hover { border-color: var(--green-900); }
.chip[aria-pressed="true"] { background: var(--green-950); border-color: var(--green-950); }
.segment { border-radius: 0; background: transparent; padding: 0; gap: 0; border: 2px solid var(--green-950); }
.segment button { border-radius: 0; font-family: var(--font-cond); font-size: 16px; letter-spacing: .06em; text-transform: uppercase; color: var(--green-950); min-height: 40px; }
.segment button + button { border-left: 2px solid var(--green-950); }
.segment button[aria-pressed="true"] { background: var(--green-950); color: var(--yellow); box-shadow: none; }
.tg { border-top: 4px solid var(--green-950); }
.tg h3 .count { border-radius: 0; background: var(--yellow); color: var(--green-950); }

/* ------------------------------------------------------------------ Slider */
.slide { border: 0; border-bottom: 4px solid var(--green-950); }
.slide:hover { transform: none; border-bottom-color: var(--yellow); }
.slide-media { aspect-ratio: 4 / 3; }
.slide-body h3 { font-size: 24px; text-transform: uppercase; }
.slider-btn { border-radius: 0; border: 2px solid var(--green-950); }
.slider-dots i { border-radius: 0; }
.slide-badge, .ai-badge { border-radius: 0; }

/* -------------------------------------------------------------------- CTA */
.cta { border-radius: 0; background: var(--yellow); color: var(--green-950); padding-bottom: clamp(30px, 4vw, 40px); }
.cta::after { inset: auto 0 0 0; width: auto; height: 12px; border: 0; border-radius: 0; background: var(--scarf); }
.cta h2 { color: var(--green-950); font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.8rem); text-transform: uppercase; }
.cta p { color: #2c3a31; }
.cta .btn-primary { background: var(--green-950); color: var(--yellow); }
.cta .btn-primary:hover { background: #fff; color: var(--green-950); }
.cta .btn-ghost { border-color: var(--green-950); color: var(--green-950); }
.cta .btn-ghost:hover { background: var(--green-950); color: #fff; }

/* ------------------------------------------------------------- Seitenkopf */
.page-head { background: var(--green-950); border-bottom: 0; position: relative; color: #fff; }
.page-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8px; background: var(--scarf); }
.page-head .container { padding-top: clamp(26px, 4vw, 44px); padding-bottom: clamp(26px, 3.4vw, 36px); }
.page-head h1 { color: #fff; font-size: clamp(2.3rem, 1.5rem + 3vw, 3.9rem); text-transform: uppercase; }
.page-head .rule { display: none; }
.crumbs, .crumbs a { color: #a9c2b4; font-family: var(--font-cond); font-size: 14px; letter-spacing: .1em; text-transform: uppercase; }
.crumbs a:hover { color: var(--yellow); }
.page-head .segment { border-color: rgba(255,255,255,.7); }
.page-head .segment button { color: #fff; }
.page-head .segment button + button { border-left-color: rgba(255,255,255,.7); }
.page-head .segment button[aria-pressed="true"] { background: var(--yellow); color: var(--green-950); }

/* ------------------------------------------------------------ Seitenleiste */
.sidebar { background: var(--green-950); box-shadow: none; }
.sidebar::after { content: ""; position: absolute; top: 0; bottom: 0; right: 0; width: 5px; background: repeating-linear-gradient(180deg, var(--yellow) 0 14px, var(--green-800) 14px 28px); }
.sb-wordmark { font-family: var(--font-cond); font-size: 15px; letter-spacing: .06em; line-height: 1.05; }
.sb-wordmark span { letter-spacing: .14em; }
.sb-link { font-family: var(--font-cond); font-size: 17px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.sb-link--small { font-size: 15px; }
.sb-link .sb-ico::before { border-radius: 0; }
.sb-link[aria-current="page"] .sb-ico::before { background: var(--yellow); }
.sb-link[aria-current="page"] .icon { color: var(--green-950); }
.sb-link[aria-current="page"]::before { display: none; }
.sb-logo img, .sb-logo svg { filter: drop-shadow(0 2px 0 rgba(0,0,0,.25)); }

/* Mobile Kopf- und Fußnavigation */
.topbar { background: var(--green-950); border-bottom: 4px solid transparent; border-image: var(--scarf-thin) 1; }
.topbar strong { font-family: var(--font-cond); font-size: clamp(14px, 4.4vw, 18px); letter-spacing: .06em; }
.bottom-nav { background: var(--green-950) !important; border-top: 0; box-shadow: none; backdrop-filter: none !important; }
.bn-item { color: #a9c2b4; font-family: var(--font-cond); font-size: 13px; letter-spacing: .06em; text-transform: uppercase; border-radius: 0; }
.bn-pill { border-radius: 0; }
.bn-item[aria-current="page"] { color: var(--yellow); }
.bn-item[aria-current="page"] .bn-pill { background: transparent; box-shadow: inset 0 3px 0 var(--yellow); }
.bn-item:active .bn-pill { background: rgba(255,255,255,.08); }
.bn-pill .live-dot { box-shadow: 0 0 0 2px var(--green-950); }
.sheet-panel { border-radius: 0; border-top: 6px solid transparent; border-image: var(--scarf) 1; }
.sheet-link { border-radius: 0; font-family: var(--font-cond); font-size: 18px; letter-spacing: .04em; text-transform: uppercase; }

/* ------------------------------------------------------------ Mannschaften */
.team-card { border-left: 4px solid var(--green-950); }
.team-card:hover { border-left-color: var(--yellow); }
.team-card h3 { font-size: 22px; text-transform: uppercase; }
.team-card .thumb { border-radius: 0; }
.team-photo, .media-frame { border-radius: 0; box-shadow: none; }
.team-photo { border-bottom: 6px solid var(--green-950); }
.glance { border-top: 4px solid var(--yellow) !important; }
.glance-row small { font-family: var(--font-cond); font-size: 13px; letter-spacing: .12em; }
.glance-rank b { border-radius: 0; background: var(--yellow); color: var(--green-950); font-family: var(--font-cond); font-size: 16px; letter-spacing: .04em; }
.prose .lead { font-family: var(--font-cond); font-size: clamp(1.35rem, 1.1rem + .8vw, 1.7rem); font-weight: 600; line-height: 1.15; color: var(--green-950); }
.team-pager a { border-left: 4px solid var(--green-950); }
.team-pager b { font-family: var(--font-cond); font-size: 20px; text-transform: uppercase; }
.dummy { background: var(--green-900); }
.dummy::before { border-radius: 0; inset: 12px; border-color: rgba(243,195,0,.45); }
.dummy span { font-family: var(--font-cond); font-size: 15px; }

/* Social Media je Mannschaft */
.socials { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.social { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 12px 0 9px; border: 1.5px solid var(--green-950); color: var(--green-950); text-decoration: none;
  font-family: var(--font-cond); font-size: 15px !important; font-weight: 700 !important; letter-spacing: .05em; text-transform: uppercase; transition: background .2s ease, color .2s ease; }
.social .icon { width: 19px; height: 19px; }
.social:hover { background: var(--green-950); color: var(--yellow); }
.glance-social > .icon { visibility: hidden; }

/* -------------------------------------------------------- Weitere Elemente */
.acc summary { font-family: var(--font-cond); font-size: 20px; letter-spacing: .03em; text-transform: uppercase; }
.acc-ico, .feature-ico, .dl .dl-ico { border-radius: 0; }
.step { border-top: 4px solid var(--green-950); }
.step-num { border-radius: 0; background: var(--yellow); color: var(--green-950); font-family: var(--font-cond); font-size: 24px; width: 44px; height: 44px; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%); }
.step h3 { font-size: 24px; text-transform: uppercase; }
.dl { border-radius: 0; }
.names span { border-radius: 0; }
.timeline::before { width: 3px; background: var(--green-950); left: 7px; }
.timeline li::before { border-radius: 0; background: var(--yellow); border: 3px solid var(--green-950); transform: rotate(45deg); }
.timeline .yr { font-family: var(--font-cond); font-size: 18px; color: var(--green-800); }
.timeline h3 { font-size: 21px; text-transform: uppercase; }
.day-block h3 { font-size: 18px; }
.tr-team a { font-family: var(--font-cond); font-size: 19px; text-transform: uppercase; letter-spacing: .02em; }
.hall b { font-family: var(--font-cond); font-size: 19px; text-transform: uppercase; }
.legal { border-top: 4px solid var(--green-950); }
.legal h2 { font-size: 1.6rem; text-transform: uppercase; }
.stream { border-radius: 0; }
.stream-pop { border-radius: 0; }
.player { border-radius: 0; }

/* Fußbereich */
.footer { position: relative; background: var(--green-950); }
.footer::before { content: ""; display: block; height: 10px; background: var(--scarf); }
.footer-brand b { font-family: var(--font-cond); font-size: 20px; }
.footer h4 { font-family: var(--font-cond); font-size: 15px; letter-spacing: .14em; color: var(--yellow); }
.footer-slogan { font-family: var(--font-cond); font-size: 26px; text-transform: uppercase; letter-spacing: .02em; }
.btn-ghost, .btn-outline { clip-path: none; }
@media (max-width: 560px) { .sec-head { flex-direction: column; align-items: flex-start; gap: 10px; } .sec-head h2 { font-size: 2rem; } }

/* =========================================================================
   V16 – Statt Schal-Streifen dezente, durchgehende Linien
   ========================================================================= */
:root { --scarf: var(--yellow); --scarf-thin: var(--yellow); }
.hero-stripe { height: 3px; background: var(--yellow); }
.page-head::after { height: 3px; background: var(--yellow); }
.topbar { border-bottom: 2px solid var(--yellow); border-image: none; }
.footer::before { height: 3px; background: var(--yellow); }
.cta::after { height: 3px; background: var(--green-950); }
.sheet-panel { border-top: 3px solid var(--yellow); border-image: none; }
.sidebar::after { width: 2px; background: var(--yellow); opacity: .85; }
.eyebrow::before { width: 16px; height: 2px; background: var(--yellow); }
.hero-eyebrow::before { width: 28px; height: 2px; background: var(--yellow); }
.mc-block .mc-meta { border-top: 1px solid rgba(255,255,255,.12); }
.dummy::before { border: 1px solid rgba(243,195,0,.3); }
.hero-court path[stroke-dasharray] { stroke-dasharray: none; opacity: .7; }

/* =========================================================================
   V17 – Mehr Gelb als Akzent (Grün bleibt die Grundfarbe)
   ========================================================================= */
:root { --yellow-soft: #fbf1cc; --yellow-line: #ecd37a; }

/* Fußbereich */
.footer-text { margin-top: 12px; }
.footer-note { margin: 18px 0 0; font-size: 13px; color: #a9c2b4; }
.footer a:hover { color: var(--yellow); }

/* Überschriften: gelber Balken kräftiger */
.sec-head { border-bottom-color: var(--green-950); }
.sec-head::after { width: 120px; height: 6px; }

/* Hinterlegter Bereich („Unsere Teams“ usw.) in warmem Gelbton */
.section--tint { background: var(--yellow-soft); border-color: var(--yellow-line); }
.section--tint .card, .section--tint .tg { background: #fffdf4; border-color: var(--yellow-line); }

/* Karten-Kanten: Gelb statt Grün */
.tg, .side-stack .card, .step, .glance { border-top-color: var(--yellow) !important; }
.team-card { border-left-color: var(--yellow); }
.team-card:hover { border-left-color: var(--green-950); background: var(--yellow-soft); }
.slide { border-bottom-color: var(--yellow); }
.slide:hover { border-bottom-color: var(--green-950); }
.team-pager a { border-left-color: var(--yellow); }
.legal { border-top-color: var(--yellow); }
.team-photo { border-bottom-color: var(--yellow); }

/* Auswahl-Elemente: aktiv = Gelb */
.chip:hover { background: var(--yellow-soft); border-color: var(--yellow-line); }
.chip[aria-pressed="true"] { background: var(--yellow); border-color: var(--yellow); color: var(--green-950); }
.segment button[aria-pressed="true"] { background: var(--yellow); color: var(--green-950); }
.segment button:not([aria-pressed="true"]):hover { background: var(--yellow-soft); }

/* Symbole in Gelb-Kacheln */
.acc-ico, .feature-ico, .dl .dl-ico { background: var(--yellow); color: var(--green-950); border-color: var(--yellow); }
.contact-line .icon, .glance-row .icon { color: var(--green-700); }

/* Anzeigetafel / dunkle Flächen: Gelb für Namen, Daten, Köpfe */
.mc-head a { color: var(--yellow); }
.mc-head a:hover { color: #fff; }
.games-day { color: var(--yellow); }
.st-head b { color: var(--yellow); }
.crumbs a { color: #e6d27a; }
.page-head .crumbs span:last-child { color: var(--yellow); }

/* Tabelle & Listen: Akzente */
.st-table th { border-bottom-color: var(--yellow); }
.game:hover, .tr-row:hover { background: var(--yellow-soft); }
.acc summary:hover { background: var(--yellow-soft); }
.acc[open] summary { box-shadow: inset 4px 0 0 var(--yellow); }

/* Buttons: grüne Buttons mit gelbem Hover bleiben; Links unterstrichen in Gelb */
.prose a, .legal a, .glance-row a { text-decoration-color: var(--yellow); text-decoration-thickness: 2px; }

/* Seitenleiste: Hover in Gelb */
.sb-link:hover { color: var(--yellow); }
.sb-link:hover .sb-ico::before { background: rgba(243,195,0,.14); }
.bn-item:hover { color: var(--yellow); }

/* =========================================================================
   V18 – Manuelle Zeilenumbrüche aus dem Admin anzeigen + ruhigeres Gelb
   ========================================================================= */
p, li, .lead, .hero-lead, .review-item span, .stream-txt span, .stream-note, .timeline p,
.glance-row div > span, .person b, .slide-body p, .footer-slogan, .footer-text, .footer-note { white-space: pre-line; }

/* „Unsere Teams“: dezenter, warmer Sandton statt kräftigem Gelb */
:root { --yellow-soft: #f4eedd; --yellow-line: #e2d8b9; }
.section--tint { background: #f4eedd; border-color: #e2d8b9; }
.section--tint .card, .section--tint .tg { background: #fffdf7; border-color: #e2d8b9; }

/* =========================================================================
   V19 – Seitenleiste in Gelb, aktive Punkte in Grün
   ========================================================================= */
.sidebar { background: var(--yellow); color: var(--green-950); }
.sidebar::after { width: 1px; background: rgba(10, 42, 29, .22); opacity: 1; }
.sb-wordmark { color: var(--green-950); }
.sb-wordmark span { color: var(--green-700); }
.sb-sep { background: rgba(10, 42, 29, .18); }
.sb-link, .sb-link--small { color: var(--green-950); }
.sb-link .icon { color: var(--green-900); }
.sb-link:hover { color: var(--green-950); }
.sb-link:hover .sb-ico::before { background: rgba(10, 42, 29, .1); }
.sb-link[aria-current="page"] { color: var(--green-950); font-weight: 700; }
.sb-link[aria-current="page"] .sb-ico::before { background: var(--green-950); }
.sb-link[aria-current="page"] .icon { color: var(--yellow); }
.sb-logo img, .sb-logo svg { filter: none; }
.sb-ico .live-dot { box-shadow: 0 0 0 2px var(--yellow); }
.sidebar :focus-visible { outline-color: var(--green-950); }
.team-card .thumb .dummy span { display: none; }

/* =========================================================================
   V20 – Termine, Cookie-Hinweis, Liveticker, Fehlerseite, Zoom-Sperre
   ========================================================================= */
/* Zoom per Doppeltipp/Geste unterbinden; Eingabefelder ≥16px (kein iOS-Auto-Zoom) */
html { touch-action: manipulation; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
input, select, textarea { font-size: 16px; }

/* ---------------------------------------------------------- Liveticker */
.pill-live { background: var(--red); color: #fff; gap: 5px; }
.pill-live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: blink 1.2s ease-in-out infinite; }
.tick-link { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-cond); font-weight: 700; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: var(--red); text-decoration: none; white-space: nowrap; }
.tick-link:hover { text-decoration: underline; }
.tick-link .icon { width: 14px; height: 14px; }
.tick-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--red); animation: blink 1.2s ease-in-out infinite; }
.tick-link--card { justify-content: center; min-height: 40px; margin-top: 8px; background: var(--red); color: #fff; }
.tick-link--card .tick-dot { background: #fff; }
.tick-link--card:hover { background: #a8341f; text-decoration: none; }
.game-res .tick-link { font-size: 13px; }
.st-links { display: inline-flex; flex-wrap: wrap; gap: 6px 14px; }
.st-links a:first-child:not(:only-child) { color: var(--red); }

/* ------------------------------------------------------------- Termine */
.ev-list { display: grid; gap: 10px; }
.ev-list .group-title:first-child { margin-top: 0; }
.ev-list--home { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 960px) { .ev-list--home { grid-template-columns: minmax(0, 1fr); } }
.ev-card { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 12px 16px 12px 12px; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--yellow); text-decoration: none; color: inherit; transition: background .2s ease, border-color .2s ease; }
.ev-card:hover { background: var(--yellow-soft); border-left-color: var(--green-950); color: inherit; }
.ev-thumb { display: none; }
.ev-date { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 58px; min-height: 58px; background: var(--green-950); color: #fff; line-height: 1; }
.ev-date b { font-family: var(--font-cond); font-size: 28px; color: var(--yellow); }
.ev-date span { font-family: var(--font-cond); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin-top: 3px; }
.ev-body { display: grid; gap: 2px; min-width: 0; }
.ev-body small { font-family: var(--font-cond); font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ev-body b { font-family: var(--font-cond); font-size: 21px; line-height: 1.1; text-transform: uppercase; color: var(--green-950); }
.ev-body > span { font-size: 14px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; white-space: normal; }
.ev-card .go { color: var(--green-700); }
@media (min-width: 700px) {
  .ev-list:not(.ev-list--home) .ev-card:has(.ev-thumb) { grid-template-columns: auto auto minmax(0, 1fr) auto; }
  .ev-list:not(.ev-list--home) .ev-thumb { display: block; width: 72px; height: 72px; overflow: hidden; background: var(--green-100); order: 2; }
  .ev-list:not(.ev-list--home) .ev-thumb img { width: 100%; height: 100%; object-fit: cover; }
  .ev-list:not(.ev-list--home) .ev-date { order: 1; }
  .ev-list:not(.ev-list--home) .ev-body { order: 3; }
  .ev-list:not(.ev-list--home) .go { order: 4; }
}
/* Hervorgehobener Termin auf der Startseite */
.feat-wrap { padding-top: clamp(22px, 3vw, 34px); padding-bottom: 0; }
.feat { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); background: var(--yellow); color: var(--green-950); text-decoration: none; overflow: hidden; position: relative; }
.feat:hover { color: var(--green-950); }
.feat-media { position: relative; background: var(--green-950); min-height: 220px; }
.feat-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feat-body { display: grid; align-content: center; gap: 8px; padding: clamp(18px, 3vw, 32px); }
.feat-body .eyebrow { color: var(--green-950); }
.feat-body .eyebrow::before { background: var(--green-950); }
.feat-body b { font-family: var(--font-cond); font-size: clamp(1.9rem, 1.3rem + 2vw, 3rem); line-height: .95; text-transform: uppercase; }
.feat-when { font-family: var(--font-cond); font-size: 18px; letter-spacing: .04em; font-weight: 700; }
.feat-teaser { font-size: 15.5px; color: #2c3a31; max-width: 60ch; }
.feat .btn { justify-self: start; margin-top: 6px; background: var(--green-950); color: var(--yellow); }
.feat:hover .btn { background: #fff; color: var(--green-950); }
.feat:not(:has(.feat-media)) { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 680px) { .feat { grid-template-columns: minmax(0, 1fr); } .feat-media { min-height: 0; aspect-ratio: 16 / 9; } }
/* Termin-Detail */
.ev-detail { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: clamp(18px, 3vw, 36px); align-items: start; }
.ev-detail.no-img { grid-template-columns: minmax(0, 760px); }
@media (max-width: 860px) { .ev-detail { grid-template-columns: minmax(0, 1fr); } }
.ev-poster { position: relative; background: var(--green-950); border-bottom: 6px solid var(--yellow); }
.ev-poster img { width: 100%; height: auto; max-height: 80vh; object-fit: contain; display: block; cursor: zoom-in; }
.ev-poster small { display: block; padding: 6px 10px; font-size: 12.5px; color: #cfe0d6; background: var(--green-950); }
.ev-info { display: grid; gap: 18px; }
.ev-info .glance { margin: 0; }
.banner-past { padding: 10px 14px; background: var(--yellow-soft); border-left: 4px solid var(--yellow); font-weight: 600; }

/* ------------------------------------------------------- Cookie-Hinweis */
.consent-bar { position: fixed; z-index: 110; left: 16px; right: 16px; bottom: 16px; display: flex; justify-content: center; pointer-events: none; transform: translateY(20px); opacity: 0; transition: transform .35s var(--ease), opacity .3s ease; }
.consent-bar.in { transform: none; opacity: 1; }
.consent-box { pointer-events: auto; width: min(640px, 100%); background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--yellow); box-shadow: var(--shadow-lg); padding: 18px 20px; }
.consent-head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; color: var(--green-950); }
.consent-head .icon { color: var(--green-700); }
.consent-head b { font-family: var(--font-cond); font-size: 22px; text-transform: uppercase; letter-spacing: .02em; }
.consent-box p { font-size: 14.5px; margin: 0 0 8px; }
.consent-state { color: var(--muted); font-size: 13px !important; }
.consent-btns { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; margin-top: 6px; }
@media (min-width: 900px) { .consent-bar { left: calc(var(--sb-collapsed) + 16px); } }
@media (max-width: 899.98px) { .consent-bar { bottom: calc(76px + env(safe-area-inset-bottom)); left: 10px; right: 10px; } .consent-btns .btn { flex: 1 1 auto; } }

/* --------------------------------------------------------- Fehlerseite */
.err-page { flex: 1; display: flex; align-items: center; background: var(--bg); min-height: 70vh; }
.err-inner { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px clamp(24px, 5vw, 56px); align-items: center; padding-top: 48px; padding-bottom: 56px; }
.err-code { font-family: var(--font-cond); font-weight: 700; font-size: clamp(7rem, 4rem + 14vw, 13rem); line-height: .8; color: var(--yellow); -webkit-text-stroke: 3px var(--green-950); paint-order: stroke fill; }
.err-page h1 { font-size: clamp(2.2rem, 1.4rem + 3vw, 3.6rem); text-transform: uppercase; color: var(--green-950); margin: 0 0 12px; }
.err-page .prose p { font-size: 17px; }
@media (max-width: 700px) { .err-inner { grid-template-columns: minmax(0, 1fr); } .err-code { font-size: 7.5rem; } }
/* =========================================================================
   V21 – Abstand nach hervorgehobenem Termin + Heimspieltage
   ========================================================================= */
/* Abstand nach dem Termin-Kasten (gleiche Spezifität wie die Grundregel
   „.section + .section:not(.section--tint)“, steht danach -> gewinnt) */
.feat-wrap + .section:not(.section--tint) { padding-top: var(--section-y); }
.feat-wrap + .section--tint { margin-top: var(--section-y); }

/* Heimspieltag: Spiele als Liste unter dem Titel */
.ev-card.is-gameday { border-left-color: var(--green-700); align-items: start; }
.ev-card.is-gameday .ev-date { background: var(--green-700); }
.ev-card.is-gameday .go { align-self: center; }
.ev-body .ev-teaser { font-size: 14px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; white-space: normal; }
.ev-body .ev-games { display: grid; gap: 4px; margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--line); -webkit-line-clamp: unset; overflow: visible; white-space: normal; color: inherit; font-size: 14.5px; }
.ev-game { display: grid; grid-template-columns: 48px minmax(0, auto) minmax(0, 1fr); align-items: baseline; gap: 10px; min-width: 0; }
.ev-game i { font-style: normal; font-family: var(--font-cond); font-weight: 700; font-size: 16px; color: var(--green-700); font-variant-numeric: tabular-nums; }
.ev-team { font-family: var(--font-cond); font-weight: 700; font-size: 16.5px; letter-spacing: .02em; color: var(--green-950); white-space: nowrap; }
.ev-game em { font-style: normal; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
@media (max-width: 480px) {
  .ev-game { grid-template-columns: 42px minmax(0, 1fr); gap: 0 8px; }
  .ev-game em { grid-column: 2; font-size: 13.5px; white-space: normal; overflow: visible; }
}

/* =========================================================================
   V22 – Kalender-Export (Termine & Spielplan)
   ========================================================================= */
.ev-intro { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 24px; margin-bottom: 20px; }
.ev-intro .prose { flex: 1 1 320px; }
.ev-intro .btn, .ics-btn { flex: none; }
.ev-intro .btn[hidden], .ics-btn[hidden] { display: none; }
.toolbar .ics-btn { margin-left: auto; }
@media (max-width: 640px) { .ev-intro .btn, .toolbar .ics-btn { width: 100%; margin-left: 0; } }

/* =========================================================================
   V23 – Filter auf der Termin-Seite
   ========================================================================= */
.ev-lead { margin-bottom: 16px; }
.ev-toolbar { margin-bottom: 18px; }
.seg-count { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 18px; margin-left: 7px; padding: 0 5px; font-size: 12px; font-weight: 700; letter-spacing: 0; background: rgba(10, 42, 29, .08); color: var(--green-950); }
.seg-count:empty { display: none; }
.segment button[aria-pressed="true"] .seg-count { background: var(--green-950); color: var(--yellow); }
.ev-cat { display: inline-block; margin-right: 6px; padding: 0 6px; background: var(--green-950); color: var(--yellow); letter-spacing: .08em; }
.ev-card.is-verein { border-left-color: var(--green-950); }
.ev-card.is-verein .ev-date { background: var(--green-950); }
@media (max-width: 640px) {
  .ev-toolbar .segment { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .ev-toolbar .segment { overflow: visible; }
  .ev-toolbar .segment button { display: flex; align-items: center; justify-content: center; min-width: 0; padding: 0 6px; font-size: 14px; letter-spacing: .03em; white-space: nowrap; }
  .ev-toolbar .seg-count { margin-left: 5px; }
  .ev-toolbar .segment button:nth-child(3) { border-left: 0; }
  .ev-toolbar .segment button:nth-child(n+3) { border-top: 2px solid var(--green-950); }
}

/* =========================================================================
   V27 – Stammvereine (Logos) & Vereinsleben-Seiten
   ========================================================================= */
/* Fußbereich: dezente Logo-Zeile */
.footer-clubs { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 22px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.08); }
.footer-clubs-l { font-family: var(--font-cond); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #8fae9c; }
.fclub { display: inline-flex; align-items: center; gap: 9px; color: #b7cdbf; text-decoration: none; font-size: 13.5px; }
.fclub img { height: 36px; width: auto; max-width: 90px; object-fit: contain; filter: grayscale(1) brightness(1.5); opacity: .8; transition: filter .25s ease, opacity .25s ease; }
a.fclub:hover { color: #fff; text-decoration: none; }
a.fclub:hover img { filter: none; opacity: 1; }
/* Über uns: Logos der Stammvereine */
.about-clubs { display: grid; gap: 10px; }
.aclub { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-top: 1px solid var(--line); color: var(--text); text-decoration: none; font-weight: 700; }
.aclub:first-child { border-top: 0; }
.aclub img { width: 52px; height: 52px; object-fit: contain; flex: none; }
.aclub:not(.has-logo)::before { content: ""; width: 10px; height: 10px; background: var(--yellow); flex: none; }
a.aclub:hover { color: var(--green-800); }
/* Eigene Seite einer Vereinsleben-Kachel */
.club-page { align-items: start; }
.club-page .media-frame { position: relative; }
.club-page .prose + .prose { margin-top: 10px; }

/* =========================================================================
   V28 – Fußbereich: „HSG Bad Wildungen Bergheim“ einheitlich groß
   ========================================================================= */
.footer-brand b { font-family: var(--font-cond); font-size: 20px; font-weight: 700; letter-spacing: .05em; line-height: 1.1; }
.footer-brand b span { display: inline; font-size: inherit; font-weight: inherit; letter-spacing: inherit; color: var(--yellow); margin-left: .3em; }
/* V28 – Fußbereich mobil: „Getragen von“ und jeder Stammverein in eigener Zeile */
@media (max-width: 640px) {
  .footer-clubs { flex-direction: column; align-items: flex-start; gap: 10px; }
  .footer-clubs-l { margin-bottom: 2px; }
}

/* =========================================================================
   V29 – Mobile Navigation wie die Desktop-Seitenleiste:
   Gelb als Grundfläche, aktiver Punkt Dunkelgrün mit gelbem Symbol
   ========================================================================= */
.bottom-nav { background: var(--yellow) !important; border-top: 1px solid rgba(10, 42, 29, .18); box-shadow: 0 -4px 16px rgba(10, 42, 29, .12); }
.bn-item { color: var(--green-950); }
.bn-item .icon { color: var(--green-900); }
.bn-item:hover { color: var(--green-950); }
.bn-item:active .bn-pill { background: rgba(10, 42, 29, .1); }
.bn-item[aria-current="page"] { color: var(--green-950); font-weight: 700; }
.bn-item[aria-current="page"] .bn-pill { background: var(--green-950); box-shadow: none; }
.bn-item[aria-current="page"] .icon { color: var(--yellow); }
.bn-pill .live-dot { box-shadow: 0 0 0 2px var(--yellow); }
.bn-item:focus-visible { outline-color: var(--green-950); }

/* „Mehr“-Menü passend dazu */
.sheet-panel { background: var(--yellow); border-top: 0; }
.sheet-grip { background: rgba(10, 42, 29, .3); }
.sheet-title { color: var(--green-800); }
.sheet-link { color: var(--green-950); }
.sheet-link .icon { color: var(--green-900); }
.sheet-link .ext { color: var(--green-800); }
.sheet-link:hover, .sheet-link:active { background: rgba(10, 42, 29, .08); }
.sheet-link[aria-current="page"] { background: var(--green-950); color: #fff; }
.sheet-link[aria-current="page"] .icon { color: var(--yellow); }
.sheet-small a { color: var(--green-800); }

/* =========================================================================
   V30 – Geschützte Telefonnummern (Anzeige erst nach Klick)
   ========================================================================= */
.person-btns { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.tel-btn .icon { width: 17px; height: 17px; }
.tel-btn.is-open { border-color: var(--green-700); color: var(--green-800); font-variant-numeric: tabular-nums; letter-spacing: .02em; text-transform: none; }
.contact-line .tel-btn { margin-left: auto; flex: none; }
.contact-line > span { min-width: 0; }
@media (max-width: 420px) { .person-btns { justify-content: flex-start; } }
.tel-btn.is-open, .tel-btn.is-open:hover, .tel-btn.is-open:focus { background: var(--yellow-soft, #fbf1cc); border-color: var(--green-700); color: var(--green-950); }
.tel-btn.is-open .icon { color: var(--green-700); }

/* =========================================================================
   V31 – Mitmachen: beliebig viele Schritte
   ========================================================================= */
.steps { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
@media (max-width: 860px) { .steps { grid-template-columns: minmax(0, 1fr); } }
/* =========================================================================
   V33 – Sponsoren im Fußbereich: weiße Kacheln über die volle Breite
   ========================================================================= */
.footer-sponsors { margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.08); }
.footer-sponsors .footer-clubs-l { display: block; margin-bottom: 12px; }
.fsp-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; width: 100%; }
.fsp { display: flex; align-items: center; justify-content: center; aspect-ratio: 5 / 3; min-width: 0; padding: 10px 14px; background: #fff; color: var(--green-950); text-decoration: none; transition: transform .2s var(--ease), box-shadow .2s ease; }
.fsp img { display: block; width: 100%; height: 100%; max-width: 100%; object-fit: contain; }
.fsp span { font-family: var(--font-cond); font-size: 16px; font-weight: 700; line-height: 1.1; letter-spacing: .04em; text-transform: uppercase; text-align: center; overflow-wrap: anywhere; }
a.fsp:hover, a.fsp:focus-visible { transform: translateY(-2px); box-shadow: 0 0 0 2px var(--yellow); text-decoration: none; color: var(--green-950); }
@media (max-width: 640px) {
  .fsp-list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .fsp { padding: 6px 7px; }
  .fsp span { font-size: 12px; letter-spacing: .02em; }
}
@media (max-width: 380px) { .fsp-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* V36: ausgewogene Team-Infobox, nur auf Mannschaftsseiten */
.glance--balanced { padding: 6px 18px 8px; }
.glance--balanced h2 { padding: 10px 0 8px; }
.glance--balanced .glance-row { grid-template-columns: 22px minmax(0, 1fr); gap: 10px; padding: 10px 0; }
.glance--balanced .glance-row > .icon { width: 18px; height: 18px; margin-top: 3px; }
.glance--balanced .glance-row > div { min-width: 0; }
.glance--balanced .glance-row small { margin-bottom: 3px; line-height: 1.3; }
.glance--balanced .glance-row .league-overview { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.glance--balanced .league-copy { min-width: 0; }
.glance--balanced .league-name { display: block; font-size: 15px; font-weight: 600; line-height: 1.35; }
.glance--balanced .league-region { display: block; margin-top: 3px; font-size: 13px; font-weight: 400; line-height: 1.35; color: var(--muted); }
.glance--balanced #glanceRank { flex: 0 1 auto; max-width: 42%; }
.glance--balanced #glanceRank:empty { display: none; }
.glance--balanced .glance-rank { margin: 0; justify-content: flex-end; gap: 4px 6px; }
.glance--balanced .glance-rank b { height: auto; min-height: 28px; padding: 3px 10px; font-size: 16px; white-space: nowrap; }
.glance--balanced .glance-rank small { margin: 0; font-size: 12px; letter-spacing: .03em; text-transform: none; }
.glance--balanced .glance-row ul { margin-top: 4px; }
.glance--balanced .glance-row li { display: grid; grid-template-columns: 24px max-content minmax(0, 1fr); gap: 3px 8px; align-items: baseline; line-height: 1.6; }
.glance--balanced .glance-row li b { min-width: 0; }
.glance--balanced .glance-row li .training-time { color: var(--text); font-variant-numeric: tabular-nums; }
.glance--balanced .glance-row li a { font-size: 13px; overflow-wrap: anywhere; }
.glance--balanced .glance-social > .icon { visibility: visible; }
.glance--balanced .socials { margin-top: 5px; }
.glance--balanced .social { min-height: 34px; padding: 0 10px; font-size: 14px !important; }
.glance--balanced .social .icon { width: 16px; height: 16px; margin: 0; }
@media (max-width: 380px) {
  .glance--balanced { padding-left: 14px; padding-right: 14px; }
  .glance--balanced .glance-row { gap: 8px; }
  .glance--balanced .glance-row li { grid-template-columns: 22px minmax(0, 1fr); gap: 0 6px; }
  .glance--balanced .glance-row li a { grid-column: 2; }
  .glance--balanced .glance-row .league-overview { gap: 8px; }
}
