/* S.I.F. Skydning – Klubbens baner.
   Samme verden som Riffel, Pistol, Ungdom og Kontingent: foto-hero med dyb havblå scrim, havblå accent,
   lys/mørk rytme. Boksene har deres eget udtryk: mørke plader med tallet stort (25 m), flader uden kant
   med tegnede baner (15 m) og rækker med ikon på mørk flade (Sports Quantum). Rolige hover, ingen låst scene.
   Spec: docs/superpowers/specs/2026-11-06-baner-restyle-design.md */

.ba-page {
  --ba-dark: var(--dark);
  --ba-dark-2: var(--dark-2);
  --ba-dark-3: var(--dark-3);
  --ba-on-dark: var(--tekst-moerk);
  --ba-on-dark-2: var(--tekst-moerk-2);
  --ba-lys: #9cc2d0;
  --ba-tone: #f3f3f0;
  --ba-r: 20px;
}
.ba-page ::selection { background: var(--accent); color: #fff; }

/* ---------- Hero: 15 m-hallen ---------- */
.ba-hero {
  position: relative; min-height: 88svh; overflow: hidden; isolation: isolate;
  display: flex; align-items: flex-end;
  background: var(--ba-dark); color: var(--ba-on-dark);
  padding: 120px 0 clamp(40px, 7vh, 80px);
}
.ba-hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: var(--ba-dark); }
.ba-hero-bg img, .ba-film { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
/* Filmen af klubbens baner toner ind oven på stillbilledet, når den spiller */
.ba-film { opacity: 0; transition: opacity 0.8s var(--ease); }
.ba-film.er-taendt { opacity: 1; }
.ba-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(19, 38, 45, 0.95) 0%, rgba(19, 38, 45, 0.74) 32%, rgba(19, 38, 45, 0.2) 64%, rgba(19, 38, 45, 0.35) 100%), /* taste-skill-ignore: scrim over fotoet, som på Riffel og Pistol */
    rgba(19, 38, 45, 0.18);
}
.ba-hero h1 { color: #fff; font-size: clamp(42px, 9vw, 116px); line-height: 0.95; letter-spacing: -0.045em; }
.ba-hero .indledning { color: var(--ba-on-dark-2); margin-top: 22px; max-width: 34em; } /* ca. 70 tegn pr. linje */
.ba-hero .handlinger { margin-top: 28px; }
.ba-hero .mere { color: #fff; }
.ba-knap-moerk { background: rgba(19, 38, 45, 0.6); color: #fff; border-color: rgba(255, 255, 255, 0.28); }
@media (hover: hover) { .ba-knap-moerk:hover { background: rgba(19, 38, 45, 0.85); } }
.ba-fakta { list-style: none; padding: 0; margin: clamp(28px, 4vh, 44px) 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.ba-fakta li {
  display: flex; align-items: baseline; gap: 10px; margin: 0; padding: 10px 16px; border-radius: 999px;
  background: rgba(19, 38, 45, 0.7);
  font-size: 15px; color: var(--ba-on-dark-2);
}
.ba-fakta strong { color: #fff; font-weight: 700; font-variant-numeric: tabular-nums; }
@media (max-width: 860px) {
  .ba-hero { min-height: 92svh; padding-top: 104px; padding-bottom: 112px; }
  .ba-scrim { /* taste-skill-ignore: scrim over fotoet */ background: linear-gradient(to top, rgba(19, 38, 45, 0.96) 0%, rgba(19, 38, 45, 0.88) 55%, rgba(19, 38, 45, 0.66) 82%, rgba(19, 38, 45, 0.5) 100%); }
  .ba-fakta li { font-size: 14px; padding: 8px 13px; }
  .ba-fakta { padding-right: 56px; }
}

/* Fotos i sektionerne får samme bløde hjørner som på de andre sider */
.ba-page .delt > img, .ba-page .foto-par img { border-radius: var(--ba-r); }

/* ---------- 25 m: mørke plader med tallet stort ---------- */
.ba-plader { display: grid; gap: 12px; margin-top: 28px; }
.ba-plade {
  display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 18px; align-items: start;
  padding: 22px 24px; border-radius: 16px; background: var(--ba-dark); color: var(--ba-on-dark-2);
  transition: background-color 0.3s var(--ease);
}
.ba-plade-tal {
  font-size: 64px; line-height: 0.85; font-weight: 750; letter-spacing: -0.05em; color: #fff;
  font-variant-numeric: tabular-nums; transition: color 0.3s var(--ease);
}
.ba-plade h3 { color: #fff; font-size: 19px; line-height: 1.25; margin: 2px 0 6px; }
.ba-plade p { margin: 0; font-size: 16px; line-height: 1.5; }
@media (hover: hover) {
  .ba-plade:hover { background: var(--ba-dark-2); }
  .ba-plade:hover .ba-plade-tal { color: var(--ba-lys); }
}

/* ---------- 15 m: flader uden kant med tegnede baner ---------- */
.ba-flader { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.ba-flade {
  display: flex; flex-direction: column; gap: 10px; margin: 0;
  padding: 24px 24px 28px; border-radius: var(--ba-r); background: var(--ba-tone); overflow: hidden;
  transition: background-color 0.3s var(--ease);
}
.ba-striber {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; height: 104px; margin: auto -24px -28px; padding: 14px 24px 0;
  border-radius: 0 0 var(--ba-r) var(--ba-r); background: var(--bg);
}
.ba-striber i {
  position: relative; display: block; border-radius: 4px 4px 0 0; background: #e6e9e7;
  transition: background-color 0.35s var(--ease);
}
.ba-striber i::before {
  content: ""; position: absolute; left: 50%; top: 7px; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%;
  background: var(--bg); border: 2px solid #c9cfcc; transition: border-color 0.35s var(--ease);
}
.ba-striber--flex i::after {
  content: ""; position: absolute; left: 3px; right: 3px; bottom: 30%; height: 3px; border-radius: 2px;
  background: #c9cfcc; transition: background-color 0.35s var(--ease);
}
.ba-striber--seta i { background: transparent; border: 1.5px dashed #c9cfcc; border-bottom: 0; }
.ba-striber--seta i::before { border-style: dashed; background: transparent; }
.ba-striber i:nth-child(2) { transition-delay: 0.04s; } .ba-striber i:nth-child(3) { transition-delay: 0.08s; }
.ba-striber i:nth-child(4) { transition-delay: 0.12s; } .ba-striber i:nth-child(5) { transition-delay: 0.16s; }
.ba-striber i:nth-child(6) { transition-delay: 0.2s; }
.ba-etiket { margin: 0; font-size: 15px; font-weight: 650; color: var(--accent); }
.ba-flade .h-kort { margin: 0; }
.ba-flade > p { margin: 0; }
.ba-flade > p:not(.ba-etiket) { margin-bottom: 22px; }
@media (hover: hover) {
  .ba-flade:hover { background: #eceeea; }
  .ba-flade:not(.ba-flade--seta):hover .ba-striber i { background: var(--accent-soft); }
  .ba-flade:not(.ba-flade--seta):hover .ba-striber i::before { border-color: var(--accent); }
  .ba-flade:hover .ba-striber--flex i::after { background: var(--accent); }
}

/* ---------- Sports Quantum: mørk sektion, rækker med ikon ---------- */
.ba-page .sek.ba-sq { background: var(--ba-dark); color: var(--ba-on-dark-2); border: 0; }
.ba-sq .h-sek { color: #fff; }
.ba-sq .indledning { color: var(--ba-on-dark-2); }
.ba-sq .mere { color: #fff; } /* "Kontakt klubben" nederst: hvid på den mørke flade */
.ba-page .ba-liste { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 10px; }
.ba-liste li {
  display: flex; align-items: center; gap: 16px; margin: 0; padding: 16px 20px; border-radius: 14px;
  background: var(--ba-dark-2); transition: background-color 0.3s var(--ease);
}
.ba-liste h3 { color: #fff; font-size: 18px; line-height: 1.25; margin: 0 0 2px; }
.ba-liste p { margin: 0; font-size: 15.5px; color: var(--ba-on-dark-2); }
.ba-ring {
  flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  color: var(--ba-lys); border: 1.5px solid rgba(156, 194, 208, 0.45);
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.ba-ring svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: hover) {
  .ba-liste li:hover { background: var(--ba-dark-3); }
  .ba-liste li:hover .ba-ring { background: var(--accent); color: #fff; border-color: var(--accent); }
}

@media (prefers-reduced-motion: reduce) {
  .ba-plade, .ba-plade-tal, .ba-flade, .ba-striber i, .ba-striber i::before, .ba-liste li, .ba-ring { transition-duration: 0.01s; transition-delay: 0s; }
}

.ba-flader + .foto-par { margin-top: 20px; }
