/* BTG Hockey – Stylesheet
   Layout-Idee: Der Kunstrasen als Leitmotiv. Bänder in BTG-Blau mit weißen
   Platzlinien wechseln mit ruhigen hellen Flächen; Himmelblau ist der einzige Akzent. */

@font-face { font-family: "Archivo"; src: url("../fonts/archivo-var.woff2") format("woff2"); font-weight: 400 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("../fonts/barlow-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --turf: #06456f;        /* BTG-Blau aus dem Logo */
  --turf-deep: #04304f;
  --ink: #0c1830;
  --paper: #f5f8f4;
  --card: #ffffff;
  --muted: #56627c;
  --rule: #d9e3d6;
  --ball: #ffffff;        /* Weiß wie Ball und Linien */
  --grass: #2f7d3c;       /* Kunstrasengrün */
  --mint: #c6ecbd;
  --callout: #e3f2de;
  --on-turf: #ffffff;
  --on-turf-soft: rgba(255,255,255,.72);
  --pitch-line: rgba(255,255,255,.22);
  --shadow: 0 1px 2px rgba(12,24,48,.06), 0 8px 24px rgba(12,24,48,.06);

  --f-display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --f-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;

  --step--1: .875rem;
  --step-0: 1.0625rem;
  --step-1: 1.3rem;
  --step-2: 1.75rem;
  --step-3: clamp(2rem, 4vw, 2.75rem);
  --step-4: clamp(2.5rem, 7vw, 5rem);

  --wrap: 72rem;
  --radius: 14px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --turf: #0a5285; --turf-deep: #03253d; --ink: #e6eef5; --paper: #0a1410; --card: #13211a;
    --muted: #9fb0a6; --rule: #22352b; --ball: #ffffff; --grass: #245f2e; --mint: #b5e3aa; --callout: #16301d; --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.25);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --turf: #0a5285; --turf-deep: #03253d; --ink: #e6eef5; --paper: #0a1410; --card: #13211a;
  --muted: #9fb0a6; --rule: #22352b; --ball: #ffffff; --grass: #245f2e; --mint: #b5e3aa; --callout: #16301d; --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.25);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--f-body); font-size: var(--step-0); line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: .2em; }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 3px solid var(--grass); box-shadow: 0 0 0 5px #fff; outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--f-display); font-stretch: 112%; line-height: 1.05; text-wrap: balance; margin: 0; letter-spacing: -.01em; }
h1 { font-size: var(--step-4); font-weight: 850; }
h2 { font-size: var(--step-3); font-weight: 800; }
h3 { font-size: var(--step-1); font-weight: 750; }
p { margin: 0; }
.prose { display: grid; gap: 1em; max-width: 65ch; }
.prose h2 { font-size: var(--step-2); margin-top: .6em; }
.prose h3 { margin-top: .4em; }
.prose ul { margin: 0; padding-left: 1.2em; display: grid; gap: .3em; }

.wrap {
  max-width: var(--wrap); margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.eyebrow {
  font-family: var(--f-display); font-stretch: 100%; font-weight: 700; font-size: var(--step--1);
  letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}
.band-turf .eyebrow { color: var(--mint); }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ball); color: #0c1830; padding: .5em 1em; z-index: 100; border-radius: 6px; }
.skip:focus { left: 8px; }

/* ---------- Kopfzeile ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--turf-deep); }
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: color-mix(in srgb, var(--turf-deep) 92%, transparent);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  color: var(--on-turf);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 64px; }
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; color: inherit; }
.brand-mark { width: 38px; height: 38px; flex: none; }
.brand-text { font-family: var(--f-display); font-weight: 850; font-stretch: 120%; font-size: 1.15rem; letter-spacing: .01em; line-height: 1; }
.brand-text small { display: block; font-family: var(--f-body); font-weight: 500; font-stretch: 100%; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--on-turf-soft); margin-top: 3px; }
.nav { display: flex; gap: .25rem; align-items: center; }
.nav a {
  text-decoration: none; font-weight: 600; font-size: .98rem; padding: .45rem .75rem; border-radius: 999px;
  color: var(--on-turf-soft); transition: color .15s, background-color .15s;
}
.nav a:hover { color: var(--on-turf); background: rgba(255,255,255,.08); }
.nav a[aria-current="page"] { color: #0c1830; background: var(--ball); }
.nav-toggle { display: none; background: none; border: 1px solid rgba(255,255,255,.35); color: var(--on-turf); border-radius: 999px; padding: .4rem .9rem; font: 600 .95rem var(--f-body); cursor: pointer; }
@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--turf-deep); padding: .5rem max(16px, env(safe-area-inset-right, 0px)) 1rem max(16px, env(safe-area-inset-left, 0px)); display: none; }
  .nav.open { display: flex; }
  .nav a { border-radius: 10px; padding: .75rem .9rem; font-size: 1.05rem; }
}

/* ---------- Bänder ---------- */
.band { padding-block: clamp(3rem, 7vw, 5.5rem); }
.band-turf { background: var(--grass); color: var(--on-turf); position: relative; overflow: hidden; isolation: isolate; }
.band-turf .muted { color: var(--on-turf-soft); }
.band-card { background: var(--card); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 1rem 2rem; flex-wrap: wrap; margin-bottom: 2rem; }
.section-head > div { display: grid; gap: .5rem; min-width: 0; }

.brand-logo { height: 46px; width: auto; flex: none; }
/* Platzlinien als Hintergrund */
.pitch-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.pitch-bg svg { width: 100%; height: 100%; }
.pitch-bg path, .pitch-bg line, .pitch-bg circle { stroke: var(--pitch-line); fill: none; stroke-width: 2; vector-effect: non-scaling-stroke; }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(3.5rem, 9vw, 7rem) clamp(3rem, 7vw, 5rem); }
.hero .wrap { display: grid; gap: 2rem; }
.hero h1 { font-stretch: 125%; max-width: 14ch; }
.hero h1 em { font-style: normal; color: var(--mint); }
.hero-lead { font-size: var(--step-1); max-width: 40ch; color: var(--on-turf-soft); line-height: 1.45; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.facts { display: flex; flex-wrap: wrap; gap: 1.25rem 2.5rem; margin-top: 1rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.2); }
.fact { display: grid; gap: .15rem; }
.fact b { font-family: var(--f-display); font-stretch: 120%; font-weight: 850; font-size: var(--step-2); line-height: 1; font-variant-numeric: tabular-nums; }
.fact span { font-size: var(--step--1); color: var(--on-turf-soft); letter-spacing: .02em; }
.ball { position: absolute; width: 22px; height: 22px; border-radius: 50%; background: var(--ball);
  box-shadow: inset -4px -4px 0 rgba(0,0,0,.12); right: 12%; top: 22%; z-index: -1; background: #fff;
  animation: roll 2.4s cubic-bezier(.2,.7,.2,1) both; }
@keyframes roll { from { transform: translateX(-60vw) rotate(-720deg); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .ball { animation: none; } html { scroll-behavior: auto; } }

.page-hero { padding-block: clamp(2.75rem, 6vw, 4.5rem); }
.page-hero .wrap { display: grid; gap: .9rem; }
.page-hero h1 { font-size: clamp(2.2rem, 6vw, 4rem); font-stretch: 122%; }
.page-hero p { max-width: 56ch; font-size: var(--step-1); line-height: 1.45; color: var(--on-turf-soft); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .8rem 1.3rem; border-radius: 999px; font-weight: 600; text-decoration: none; border: 2px solid transparent; transition: transform .15s, background-color .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-ball { background: #fff; color: var(--turf-deep); }
.btn-ghost { border-color: rgba(255,255,255,.5); color: var(--on-turf); }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-line { border-color: var(--rule); color: var(--ink); background: var(--card); }
.link-arrow { font-weight: 600; text-decoration: none; white-space: nowrap; }
.link-arrow::after { content: " →"; transition: margin .15s; }
.link-arrow:hover::after { margin-left: .2em; }

/* ---------- Raster ---------- */
.grid { display: grid; gap: 1.25rem; }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr)); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr)); }
.split { display: grid; gap: 2.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 26rem), 1fr)); align-items: start; }
.split > * { min-width: 0; }

/* ---------- News-Karten ---------- */
.news-card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.4rem 1.4rem 1.3rem; display: grid; gap: .6rem; align-content: start; text-decoration: none; transition: transform .2s; position: relative; }
.news-card:hover { transform: translateY(-3px); }
.news-card h3 { font-size: 1.25rem; }
.news-card p { color: var(--muted); }
.news-card .tag { justify-self: start; }
.news-meta { display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; font-size: var(--step--1); color: var(--muted); }
.tag { display: inline-block; font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: .2rem .6rem; border-radius: 999px; background: color-mix(in srgb, var(--turf) 12%, transparent); color: var(--turf); }
:root[data-theme="dark"] .tag { color: #8fc8ef; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tag { color: #8fc8ef; } }

/* ---------- Termine ---------- */
.event-list { display: grid; gap: .75rem; list-style: none; margin: 0; padding: 0; }
.event { display: grid; grid-template-columns: 5.2rem 1fr; gap: 1.1rem; align-items: center; background: var(--card); border-radius: var(--radius); padding: 1rem 1.2rem; box-shadow: var(--shadow); }
.event > div { min-width: 0; display: grid; gap: .2rem; }
.event-date { display: grid; justify-items: center; line-height: 1; padding: .6rem 0; border-radius: 10px; background: var(--turf); color: var(--on-turf); font-variant-numeric: tabular-nums; }
.event-date .d { font-family: var(--f-display); font-stretch: 120%; font-weight: 850; font-size: 1.7rem; }
.event-date .m { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; margin-top: .3rem; font-weight: 600; }
.event-date.range .d { font-size: 1.1rem; }
.event h3 { font-size: 1.12rem; }
.event p { color: var(--muted); font-size: .98rem; }
.event .when { font-size: var(--step--1); color: var(--muted); font-weight: 600; }
.event.past { opacity: .6; box-shadow: none; }
.event.past .event-date { background: var(--muted); }
.band-turf .event { color: var(--ink); }
.empty { color: var(--muted); padding: 1rem 0; }
.year-head { margin: 2rem 0 .75rem; font-size: var(--step-1); }

/* ---------- Teams ---------- */
.team-group { display: grid; gap: 1rem; }
.team-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { display: inline-flex; align-items: baseline; gap: .4rem; padding: .5rem .9rem; border-radius: 10px; background: var(--card); box-shadow: var(--shadow); font-weight: 600; }
.chip small { font-weight: 500; color: var(--muted); font-size: .8rem; }
.team-card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.5rem; display: grid; gap: .8rem; align-content: start; }
.team-card .age { font-family: var(--f-display); font-stretch: 120%; font-weight: 850; font-size: 2.2rem; color: var(--turf); line-height: 1; }
:root[data-theme="dark"] .team-card .age { color: #8fc8ef; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .team-card .age { color: #8fc8ef; } }

/* ---------- Personen ---------- */
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; }
.person { background: var(--card); padding: 1.1rem 1.2rem; display: grid; gap: .2rem; align-content: start; min-width: 0; }
.person .role { font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.person .name { font-weight: 600; font-size: 1.08rem; }
.person a, .person span.c { font-size: .95rem; color: var(--muted); overflow-wrap: anywhere; }

/* ---------- Orte ---------- */
.place { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 1.4rem; display: grid; gap: .4rem; align-content: start; }
.place .kind { font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.place address { font-style: normal; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .6rem; }
.faq details { background: var(--card); border-radius: 12px; box-shadow: var(--shadow); padding: 0 1.2rem; }
.faq summary { cursor: pointer; font-weight: 600; padding: 1rem 0; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--f-display); font-weight: 800; font-size: 1.3rem; line-height: 1; color: var(--turf); }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding-bottom: 1.1rem; color: var(--muted); display: grid; gap: .6rem; max-width: 65ch; }

/* ---------- Callout ---------- */
.callout { background: var(--callout); color: var(--ink); border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 2.5rem); display: grid; gap: 1rem; }
.callout h2 { font-size: var(--step-2); }
.callout .btn-line { border-color: var(--ink); background: transparent; color: var(--ink); }

/* ---------- Artikel ---------- */
.article { display: grid; gap: 1.5rem; }
.article-body { display: grid; gap: 1em; max-width: 65ch; font-size: 1.1rem; }
.article-body img { border-radius: var(--radius); }

/* ---------- Fußzeile ---------- */
.site-footer { background: var(--turf-deep); color: var(--on-turf-soft); padding-block: 3rem 2rem; margin-top: 0; }
.site-footer .cols { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); }
.site-footer h4 { color: var(--on-turf); font-size: 1rem; font-stretch: 110%; margin-bottom: .6rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .35rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--on-turf); }
.site-footer .legal { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.15); display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; font-size: var(--step--1); }

/* Kleine Einblend-Animation, Ausgangszustand bleibt sichtbar */
@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise .6s cubic-bezier(.2,.7,.2,1) both; }
  .rise:nth-child(2) { animation-delay: .06s; } .rise:nth-child(3) { animation-delay: .12s; }
  @keyframes rise { from { transform: translateY(10px); } to { transform: none; } }
}

/* Korrekturen */
.split, .grid, .team-group { min-width: 0; }
.event .tag, .news-card .tag { justify-self: start; }
address.place { font-style: normal; }

/* Tor und Ball im Hero */
.pitch-bg .goal .net { stroke: rgba(255,255,255,.75); stroke-width: 2.5; }
.pitch-bg .goal .mesh { stroke: rgba(255,255,255,.28); stroke-width: 1; }
.pitch-bg .goal .post { stroke: #fff; stroke-width: 4; }
.pitch-bg circle.hero-ball { fill: #fff; stroke: none; filter: drop-shadow(0 0 6px rgba(255,255,255,.55)); }
@media (prefers-reduced-motion: no-preference) {
  .pitch-bg circle.hero-ball { animation: torschuss 8s linear 0.4s infinite both; transform-box: view-box; transform-origin: 1162px 300px; }
  .pitch-bg .goal .net { animation: netz 8s ease-out 0.4s infinite both; transform-box: fill-box; transform-origin: left center; }
}
/* Ball wird von der Mittellinie über außen in den Schusskreis geführt und dann ins Tor geschossen */
@keyframes torschuss {
  0% { transform: translate(-574px, 0px); opacity: 0; animation-timing-function: linear; }
  4% { transform: translate(-574px, 0px); opacity: 1; animation-timing-function: linear; }
  9.4% { transform: translate(-522px, 45px); opacity: 1; animation-timing-function: linear; }
  15.5% { transform: translate(-462px, 95px); opacity: 1; animation-timing-function: linear; }
  21.7% { transform: translate(-392px, 130px); opacity: 1; animation-timing-function: linear; }
  28.1% { transform: translate(-312px, 145px); opacity: 1; animation-timing-function: linear; }
  33.7% { transform: translate(-242px, 132px); opacity: 1; animation-timing-function: linear; }
  38.8% { transform: translate(-182px, 105px); opacity: 1; animation-timing-function: linear; }
  42.0% { transform: translate(-147px, 85px); opacity: 1; animation-timing-function: linear; }
  46% { transform: translate(-147px, 85px); opacity: 1; animation-timing-function: cubic-bezier(.5,0,1,1); }
  49.5% { transform: translate(0px, -6px) scale(1.25, .8); opacity: 1; animation-timing-function: ease-out; }
  52% { transform: translate(4px, -6px) scale(1); opacity: 1; }
  85% { transform: translate(4px, -6px); opacity: 1; }
  100% { transform: translate(4px, -6px); opacity: 0; }
}
@keyframes netz {
  0%, 49% { transform: none; }
  51% { transform: scaleX(1.35); }
  54% { transform: scaleX(.95); }
  57%, 100% { transform: none; }
}

/* ---------- Trainingszeiten ---------- */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.tt-controls { display: grid; gap: .9rem; }
.tt-search input { width: 100%; font: 500 1.05rem var(--f-body); padding: .9rem 1.1rem .9rem 2.8rem; border-radius: 999px; border: 2px solid var(--rule); background: var(--card) no-repeat 1rem center / 1.1rem url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2356627c' stroke-width='2.5'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-4-4'/%3E%3C/svg%3E"); color: var(--ink); }
.tt-search input:focus { border-color: var(--grass); outline: none; }
.tt-days { display: flex; flex-wrap: wrap; gap: .4rem; }
.tt-days button { font: 600 .92rem var(--f-body); padding: .45rem .9rem; border-radius: 999px; border: 1px solid var(--rule); background: var(--card); color: var(--ink); cursor: pointer; }
.tt-days button[aria-pressed="true"] { background: var(--grass); border-color: var(--grass); color: #fff; }
.tt-count { color: var(--muted); font-size: var(--step--1); margin: 1rem 0 .5rem; }
.tt-wrap { overflow-x: auto; border-radius: var(--radius); box-shadow: var(--shadow); background: var(--card); }
.tt { width: 100%; border-collapse: collapse; font-size: .98rem; }
.tt th { text-align: left; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: .9rem 1rem; border-bottom: 1px solid var(--rule); }
.tt td { padding: .8rem 1rem; border-bottom: 1px solid var(--rule); vertical-align: top; }
.tt tr:last-child td { border-bottom: 0; }
.tt tr.today td:first-child { box-shadow: inset 4px 0 0 var(--grass); }
.tt .num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.tt mark { background: var(--callout); color: inherit; border-radius: 3px; padding: 0 .1em; }
.tt-empty { text-align: center; color: var(--muted); padding: 2rem 1rem !important; }
.tt-note { font-size: var(--step--1); color: var(--muted); margin-top: .8rem; }
@media (max-width: 640px) {
  .tt thead { display: none; }
  .tt, .tt tbody, .tt tr, .tt td { display: block; width: 100%; }
  .tt tr { padding: .8rem 1rem; border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: 1fr auto; grid-template-areas: "team zeit" "tag tag" "ort ort" "coach coach"; gap: .1rem .8rem; }
  .tt td[data-l="Team"] { grid-area: team; } .tt td[data-l="Zeit"] { grid-area: zeit; } .tt td[data-l="Tag"] { grid-area: tag; font-weight: 600; font-size: .92rem; }
  .tt td[data-l="Ort"] { grid-area: ort; } .tt td[data-l="Coaches"] { grid-area: coach; } .tt td.leer { display: none; }
  .tt td { padding: 0; border: 0; }
  .tt td[data-l="Team"] { font-size: 1.1rem; }
  .tt td[data-l="Zeit"] { text-align: right; font-weight: 600; }
  .tt td[data-l="Ort"], .tt td[data-l="Coaches"] { color: var(--muted); font-size: .92rem; }
  .tt tr.today td:first-child { box-shadow: none; }
  .tt tr.today { box-shadow: inset 4px 0 0 var(--grass); }
}
.tt-demo { background: #fff4d6; color: #5a4300; border-radius: 10px; padding: .7rem 1rem; margin-bottom: 1rem; font-size: .95rem; }
.slot-list { list-style: none; margin: .3rem 0; padding: 0; display: grid; gap: .35rem; }
.slot-list li { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: .35rem; border-bottom: 1px solid var(--rule); }
.slot-list li:last-child { border-bottom: 0; }
.team-card .people { margin-top: .2rem; }
.downloads { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.downloads a { font-weight: 600; }
.info-grid a.team-card { text-decoration: none; }
.article h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); font-stretch: 112%; }

/* ---------- Fotos ---------- */
.news-thumb { margin: -1.4rem -1.4rem .3rem; width: calc(100% + 2.8rem); max-width: none; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius) var(--radius) 0 0; background: var(--callout); }
.article-hero { margin: 0; max-width: 56rem; }
.article-hero img { width: 100%; max-height: 75vh; object-fit: contain; background: var(--callout); border-radius: var(--radius); }
.article-hero figcaption, .gallery figcaption, figure.poster figcaption, figure.wide figcaption, figure.photo-card figcaption { color: var(--muted); font-size: .92rem; margin-top: .45rem; }
.gallery { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15rem), 1fr)); }
.gallery-wide { grid-template-columns: repeat(auto-fill, minmax(min(100%, 22rem), 1fr)); margin-top: .5rem; }
.prose .gallery-wide { max-width: none; }
.gallery figure { margin: 0; min-width: 0; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; background: var(--callout); transition: transform .2s, box-shadow .2s; }
.gallery a:hover img, .gallery a:focus-visible img { transform: translateY(-2px); box-shadow: var(--shadow); }
figure.poster, figure.wide, figure.photo-card { margin: 0; }
figure.poster img { width: 100%; max-width: 30rem; border-radius: 10px; box-shadow: var(--shadow); }
figure.wide img { width: 100%; border-radius: var(--radius); }
figure.photo-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.band-turf figure.photo-card figcaption { color: var(--on-turf-soft); }
.table-scroll { overflow-x: auto; }
.simple-table { border-collapse: collapse; width: 100%; font-size: .95rem; }
.simple-table th, .simple-table td { text-align: left; padding: .5rem .7rem; border-bottom: 1px solid var(--rule); vertical-align: top; }
.simple-table th { font-family: var(--f-display); font-weight: 700; }

.lightbox { border: 0; padding: 0; margin: 0; width: 100vw; height: 100vh; max-width: none; max-height: none; background: rgba(6, 14, 28, .94); color: #fff; }
.lightbox::backdrop { background: rgba(6, 14, 28, .6); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox figure { margin: 0; display: grid; gap: .6rem; justify-items: center; padding: 3.5rem 1rem 1.5rem; max-width: 100%; }
.lightbox img { max-width: min(100%, 1400px); max-height: calc(100vh - 8rem); width: auto; height: auto; border-radius: 6px; }
.lightbox figcaption { color: rgba(255,255,255,.85); text-align: center; font-size: .95rem; }
.lightbox button { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; border-radius: 999px; width: 3rem; height: 3rem; font-size: 2rem; line-height: 1; cursor: pointer; }
.lightbox button:hover, .lightbox button:focus-visible { background: rgba(255,255,255,.25); }
.lb-close { top: .8rem; right: .8rem; }
.lb-prev { left: .8rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: .8rem; top: 50%; transform: translateY(-50%); }
.lightbox.single .lb-prev, .lightbox.single .lb-next { display: none; }
@media (max-width: 600px) { .lb-prev, .lb-next { top: auto; bottom: .8rem; transform: none; } }

/* ---------- Jubiläum ---------- */
.video-card { margin: 0; }
.video-card video { width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: var(--radius); background: #0c1830; box-shadow: var(--shadow); display: block; }
.video-card figcaption { color: var(--muted); font-size: .92rem; margin-top: .45rem; }
.gallery-duo { grid-template-columns: 1fr 1fr; }
.gallery-duo img { aspect-ratio: 3 / 4; object-fit: cover; }
.photo-link img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.jubi-strip { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: .6rem; aspect-ratio: 16 / 10; }
.jubi-strip img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; transition: transform .2s; }
.jubi-strip img:first-child { grid-row: span 2; }
.jubi-strip:hover img { transform: translateY(-2px); }
@media (max-width: 600px) {
  .gallery { grid-template-columns: 1fr 1fr; gap: .6rem; }
  .gallery figcaption { font-size: .8rem; }
  .gallery-wide { grid-template-columns: 1fr; }
}

/* ---------- Kopfbilder ---------- */
.hero-photo { padding-block: clamp(4rem, 10vw, 7.5rem); background: #16482a; }
.hero-media { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(18, 62, 32, .93) 0%, rgba(18, 62, 32, .78) 42%, rgba(18, 62, 32, .28) 100%); }
.hero-photo h1, .hero-photo p, .hero-photo .eyebrow { text-shadow: 0 1px 12px rgba(0, 0, 0, .25); }
.hero-photo p { color: rgba(255, 255, 255, .88); }
@media (max-width: 700px) { .hero-media::after { background: linear-gradient(180deg, rgba(18, 62, 32, .62) 0%, rgba(18, 62, 32, .88) 100%); } }
.hero-slides .hero-media img { opacity: 0; transition: opacity 1.6s ease; }
.hero-slides .hero-media img.on { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .hero-slides .hero-media img.on { animation: heroZoom 9s ease-out both; }
}
@keyframes heroZoom { from { transform: scale(1.06); } to { transform: scale(1); } }
.page-hero h1 { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; }

/* ---------- Mini-Spiel „Schusskreis“ (mitmachen.html, assets/js/schusskreis.js) ---------- */
.game-lead { max-width: 46ch; margin: 0; }
.game { display: grid; gap: 1rem; }
.game-stage { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: 0 0 0 3px rgba(255,255,255,.85), 0 18px 40px rgba(0,0,0,.25); background: #2f7f3c; }
.game canvas { display: block; width: 100%; aspect-ratio: 16 / 9; outline: none; }
.game.is-playing canvas { touch-action: none; }
.game-hud { position: absolute; top: .6rem; left: .75rem; display: flex; gap: .5rem; flex-wrap: wrap; pointer-events: none; }
.game-hud span { background: rgba(4,48,79,.78); color: #fff; border-radius: 999px; padding: .2rem .7rem; font-size: var(--step--1); }
.game-hud b { font-family: var(--f-display); font-stretch: 115%; font-variant-numeric: tabular-nums; }
.game-overlay { position: absolute; inset: 0; display: grid; place-items: center; padding: 1rem; background: rgba(4,48,79,.55); }
.game-overlay[hidden] { display: none; }
.game-card { background: var(--turf-deep); color: #fff; border-radius: var(--radius); padding: clamp(1rem, 3vw, 1.75rem); max-width: 30rem; display: grid; gap: .7rem; box-shadow: 0 10px 30px rgba(0,0,0,.3); }
.game-card .eyebrow { color: var(--mint); }
.game-card p { margin: 0; color: rgba(255,255,255,.85); }
.game-card .btn { font: inherit; font-weight: 600; cursor: pointer; }
.game-controls { display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: .6rem; }
.game-btn { position: relative; display: grid; gap: .15rem; text-align: left; padding: .8rem 1rem; border-radius: 12px; border: 2px solid rgba(255,255,255,.55);
  background: rgba(255,255,255,.08); color: #fff; font: inherit; cursor: pointer; touch-action: manipulation; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.game-btn b { font-family: var(--f-display); font-stretch: 115%; font-size: var(--step-1); line-height: 1.1; }
.game-btn span { font-size: var(--step--1); color: var(--on-turf-soft); line-height: 1.3; }
.game-btn kbd { position: absolute; top: .55rem; right: .65rem; font: 600 .75rem var(--f-body); border: 1px solid rgba(255,255,255,.5); border-radius: 5px; padding: 0 .35rem; color: var(--on-turf-soft); }
.game-btn:active { background: #fff; color: var(--turf-deep); }
.game-btn:active span, .game-btn:active kbd { color: var(--turf-deep); }
.game-sound { align-self: center; background: none; border: 1px solid rgba(255,255,255,.4); color: var(--on-turf-soft); border-radius: 999px; padding: .4rem .9rem; font: 500 var(--step--1) var(--f-body); cursor: pointer; }
@media (max-width: 640px) {
  .game-controls { grid-template-columns: repeat(3, 1fr); }
  .game-btn { padding: .85rem .3rem; text-align: center; min-width: 0; }
  .game-btn b { font-size: 1rem; }
  .game-btn span, .game-btn kbd { display: none; }
  .game-sound { grid-column: 1 / -1; justify-self: center; }
  .game-hud { top: .35rem; left: .4rem; }
  .game-hud span { font-size: .75rem; padding: .1rem .5rem; }
}
@media (hover: none) { .game-btn kbd { display: none; } }
.game { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent; }
.game-card .nur-touch { display: none; }
@media (hover: none) and (pointer: coarse) { .game-card .nur-touch { display: block; } .game-card .nur-maus { display: none; } }
/* Handy hochkant: höheres Spielfeld, kompakte Startkarte */
@media (max-width: 559px) {
  .game canvas { aspect-ratio: 4 / 3; }
  .game-overlay { padding: .5rem; }
  .game-card { padding: .9rem 1rem; gap: .45rem; }
  .game-card h3 { font-size: 1.15rem; }
  .game-card p { font-size: .9rem; line-height: 1.35; }
  .game-card .btn { padding: .6rem 1.1rem; }
}
/* Handy quer: Feld und Knöpfe nebeneinander, alles passt auf einen Bildschirm */
@media (orientation: landscape) and (max-height: 520px) {
  .game { grid-template-columns: minmax(0, 1fr) 9.5rem; align-items: center; gap: .6rem; }
  .game-stage { width: min(100%, calc((100svh - 84px) * 16 / 9)); justify-self: center; }
  .game-controls { grid-template-columns: 1fr; gap: .45rem; }
  .game-btn { padding: .6rem .5rem; text-align: center; }
  .game-btn span, .game-btn kbd { display: none; }
  .game-btn b { font-size: 1rem; }
  .game-sound { justify-self: center; }
  .game-card { padding: .8rem 1rem; gap: .4rem; }
  .game-card h3 { font-size: 1.1rem; }
  .game-card p { font-size: .88rem; line-height: 1.35; }
}

/* Großes BTG-Logo im Startseiten-Spielfeld: blendet ein und wandert in die Kopfzeile (Skript in site.js) */
.hero-crest { position: absolute; z-index: -1; pointer-events: none; top: 50%; right: clamp(1rem, 9vw, 9rem); height: 84%; aspect-ratio: 277 / 341; transform: translateY(-50%); }
.hero-crest img { display: block; width: 100%; height: 100%; opacity: .07; }
.hero.intro .hero-ball, .hero.intro .goal .net { animation-play-state: paused; }
.crest-flyer { position: fixed; z-index: 55; pointer-events: none; margin: 0; transform-origin: 0 0; will-change: transform, opacity; }
@media (max-width: 760px) {
  .hero-crest { right: auto; left: 50%; height: 68%; transform: translate(-50%, -50%); }
  .hero-crest img { opacity: .05; }
}

/* Leichte BTG-Wasserzeichen auf den Unterseiten (gesetzt von site.js, ohne Animation) */
.has-mark { position: relative; overflow: clip; isolation: isolate; }
.btg-mark { position: absolute; z-index: -1; pointer-events: none; aspect-ratio: 277 / 341; background: var(--ink); opacity: .055;
  -webkit-mask: url(../img/logo-btg-weiss.svg) center / contain no-repeat; mask: url(../img/logo-btg-weiss.svg) center / contain no-repeat; }
.band-turf .btg-mark { background: #fff; opacity: .07; }
