/* =========================================================
   ShootingZone – Ljust tema (sport/taktiskt känsla)
   - Modern, luftig grid-design med mjuka skuggor och röd accent
   ========================================================= */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap");

:root{
  /* Färger */
  --ink:#101114;              /* primär text (nära svart) */
  --muted:#5b616a;            /* sekundär text */
  --red:#e10600;              /* varumärkesaccent */
  --red-dark:#b10600;
  --red-soft:rgba(225,6,0,.08);

  --bg:#f4f6f8;               /* sidbakgrund (ljus) */
  --surface:#ffffff;          /* kort/ytor */
  --surface-2:#f8fafc;        /* lätt tonad yta för omväxling */
  --line:rgba(16,17,20,.08);  /* tunna linjer */

  --shadow-sm: 0 2px 8px rgba(16,17,20,.06);
  --shadow: 0 8px 24px rgba(16,17,20,.08);
  --shadow-lg: 0 20px 48px rgba(16,17,20,.14);

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* Mörkt läge */
:root[data-theme="dark"]{
  --ink:#eef1f4;
  --muted:#a3a9b2;
  --bg:#0d0f12;
  --surface:#181b20;
  --surface-2:#14171b;
  --line:rgba(255,255,255,.10);
  --red-soft:rgba(225,6,0,.14);

  --shadow-sm: 0 2px 8px rgba(0,0,0,.35);
  --shadow: 0 8px 24px rgba(0,0,0,.45);
  --shadow-lg: 0 24px 56px rgba(0,0,0,.55);
}

/* Reset + bas */
*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
html{ min-height:100%; }
body{ min-height:100vh; }
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  font-size:16px;
  line-height:1.5;
  color:var(--ink);
  background:
    radial-gradient(1200px 600px at -10% -10%, rgba(225,6,0,.06) 0%, transparent 60%),
    linear-gradient(180deg, #f8fafc 0%, var(--bg) 100%);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color .25s ease, color .25s ease;
}

:root[data-theme="dark"] body{
  background:
    radial-gradient(1200px 600px at -10% -10%, rgba(225,6,0,.10) 0%, transparent 60%),
    linear-gradient(180deg, #0a0c0f 0%, var(--bg) 100%);
}

img{ max-width:100%; height:auto; display:block; }
a{ color:inherit; text-decoration:none; }
::selection{ background: rgba(225,6,0,.25); color: var(--ink); }

:focus-visible{ outline: 2px solid rgba(225,6,0,.6); outline-offset: 2px; border-radius: 4px; }

/* Container */
.container{ width:100%; max-width:1200px; margin-inline:auto; padding-inline:16px; }

/* Header / Navigering */
header{
  position:sticky; top:0; z-index:50;
  backdrop-filter: saturate(140%) blur(10px);
  background:rgba(255,255,255,.7);
  border-bottom:1px solid transparent;
  transition: background-color .25s ease, border-color .25s ease, box-shadow .25s ease;
}
header.is-scrolled{
  background:rgba(255,255,255,.88);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}
:root[data-theme="dark"] header{ background:rgba(13,15,18,.7); }
:root[data-theme="dark"] header.is-scrolled{ background:rgba(13,15,18,.9); }

.nav{ display:flex; align-items:center; justify-content:space-between; gap:16px; padding:14px 0; position:relative; }
.brand{ font-weight:800; letter-spacing:.2px; display:inline-flex; align-items:center; gap:10px; color:var(--ink); transition: opacity .15s ease; }
.brand:hover{ opacity:.85; }
.brand{ flex-shrink:0; }
.brand img{ height:40px; width:auto; max-width:none; flex-shrink:0; transition: transform .2s var(--ease); }
.brand:hover img{ transform: scale(1.04); }

/* Meny */
.primary-nav ul{ display:flex; align-items:center; justify-content:center; list-style:none; gap:6px; margin:0; padding:0; }
.primary-nav a{
  position:relative;
  display:inline-block;
  padding:8px 12px;
  border-radius:999px;
  color:var(--ink); opacity:.82; font-weight:600; font-size:.96rem;
  transition: color .15s ease, opacity .15s ease, background-color .15s ease;
  white-space:nowrap;
}
.primary-nav a:hover{ opacity:1; background: var(--red-soft); color:var(--red); }
.primary-nav a[aria-current="page"]{ opacity:1; color:var(--red); background: var(--red-soft); }

/* Burger-knapp */
.burger{ display:none; background:#fff; border:1px solid var(--line); color:var(--ink); border-radius:10px; padding:6px 10px; font-size:1.2rem; line-height:1; cursor:pointer; box-shadow:var(--shadow-sm); transition: transform .15s ease, background-color .2s ease; }
.burger:hover{ transform: translateY(-1px); }
:root[data-theme="dark"] .burger{ background:var(--surface); }

/* Mörkt-läge-knapp */
.theme-toggle{
  display:inline-flex; align-items:center; justify-content:center;
  width:38px; height:38px; flex:0 0 auto;
  background:#fff; border:1px solid var(--line); color:var(--ink);
  border-radius:999px; font-size:1rem; cursor:pointer;
  box-shadow: var(--shadow-sm);
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .15s var(--ease);
}
.theme-toggle:hover{ transform:translateY(-2px) rotate(8deg); color:var(--red); }
:root[data-theme="dark"] .theme-toggle{ background:var(--surface); }

@media (max-width: 900px){
  .burger{ display:inline-flex; align-items:center; justify-content:center; }
  .primary-nav ul{ display:none; position:absolute; left:0; right:0; top:100%; background:#ffffff; border-bottom:1px solid var(--line); padding:12px 16px 16px; flex-direction:column; align-items:stretch; gap:6px; box-shadow:var(--shadow-lg); border-radius: 0 0 var(--radius) var(--radius); }
  .primary-nav ul li a{ display:block; }
  .primary-nav.open ul{ display:flex; }
  :root[data-theme="dark"] .primary-nav ul{ background:var(--surface); }
}

/* Hero + slider */
.hero{ position:relative; isolation:isolate; overflow:hidden; border-radius: 0 0 var(--radius-lg) var(--radius-lg); padding:0; }
.slider{
  position:relative; height:min(26vh, 560px); min-height:280px;
  background:#0e1013; /* gunmetal-känsla bakom bilden */
}
.slides{ height:100%; display:flex; gap:0; transition: transform .8s var(--ease); width:100%; }
.slider figure, .slide{ margin:0; }
.slide{ position:relative; overflow:hidden; flex:0 0 100%; min-width:100%; height:100%; }
.slide>img{ width:100%; height:100%; object-fit:cover; transform:scale(1.04); }
.slide::after{ content:""; position:absolute; inset:0; background:linear-gradient(180deg, rgba(8,9,11,.55) 0%, rgba(8,9,11,.25) 45%, rgba(8,9,11,.6) 100%); }

.hero-content{ position:absolute; inset:0; display:grid; place-items:center; z-index:2; text-align:center; padding:24px; color:#fff; }
.hero-content > *{ animation: hero-rise .7s var(--ease) both; }
.hero-content h1{ font-size:clamp(1.9rem, 3.6vw + 1rem, 3.6rem); margin:.6rem 0 .5rem; line-height:1.08; letter-spacing:-.01em; text-shadow: 0 6px 24px rgba(0,0,0,.5); }
.hero-content p{ max-width:62ch; margin:0 auto 1.3rem; color:#f1f5f9; font-size:1.05rem; animation-delay:.08s; }
.hero-content a.btn{ animation-delay:.16s; }

@keyframes hero-rise{
  from{ opacity:0; transform: translateY(14px); }
  to{ opacity:1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce){
  .hero-content > *{ animation: none; }
}

/* Knapp-stilar */
.btn{
  display:inline-flex; align-items:center; gap:10px; padding:13px 22px;
  border-radius:999px; font-weight:700; font-size:.96rem; letter-spacing:.2px;
  border:1px solid transparent; cursor:pointer;
  transition: transform .15s var(--ease), box-shadow .2s ease, filter .2s ease, background-color .2s ease, border-color .2s ease;
}
.btn.primary{ background:linear-gradient(180deg, var(--red) 0%, var(--red-dark) 100%); color:#fff; box-shadow:0 10px 24px rgba(225,6,0,.28); }
.btn.primary:hover{ filter:brightness(1.06); transform: translateY(-2px); box-shadow:0 14px 30px rgba(225,6,0,.34); }
.btn.primary:active{ transform: translateY(0); }
.btn.ghost{ background:#fff; border-color:var(--line); color:var(--ink); box-shadow:var(--shadow-sm); }
.btn.ghost:hover{ transform: translateY(-2px); border-color: rgba(225,6,0,.35); color:var(--red); }
:root[data-theme="dark"] .btn.ghost{ background:var(--surface); }

/* Matchblock */
.match-block{ padding: clamp(32px, 5vw, 64px) 0; }
.match-block + .match-block{ border-top: 1px solid var(--line); }
.match-head{ text-align:center; }
.match-head h2{ margin: 6px 0 10px; font-size: clamp(1.7rem, 2vw + 1rem, 2.4rem); }
.match-date{
  display:inline-block; background: var(--red); color:#fff; font-weight:700; font-size:.85rem;
  letter-spacing:.05em; text-transform:uppercase; border-radius:999px; padding:6px 14px;
}
.match-head .lead-text{ margin-top: 0; }

/* Sektioner */
section{ padding: clamp(48px, 7vw, 88px) 0; }
h2{ font-size:clamp(1.3rem,2vw + 1rem,2.1rem); margin:0 0 18px; color:var(--ink); letter-spacing:-.01em; }

/* Footer – ljus yta med grid */
footer{ background:var(--surface-2); border-top:1px solid var(--line); color:var(--ink); transition: background-color .25s ease, border-color .25s ease; }
:root[data-theme="dark"] footer{ background:#11141a; }
.footer-grid{ display:grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap:28px; padding:48px 0 32px; }
.footer-brand img{ margin-bottom:12px; height:46px; width:auto; max-width:none; }
.footer-grid h4{ margin:0 0 14px; font-size:.85rem; letter-spacing:.08em; text-transform:uppercase; color:var(--muted); }
.footer-nav ul{ list-style:none; padding:0; margin:0; }
.footer-nav li{ margin-bottom:10px; }
.footer-nav a{ color:var(--ink); opacity:.85; transition:color .2s, opacity .2s; }
.footer-nav a:hover{ color:var(--red); opacity:1; }
.footer-contact p, .footer-social p{ margin:8px 0; }
.footer-contact a, .footer-social a{ color:var(--ink); opacity:.85; transition:color .2s, opacity .2s; }
.footer-contact a:hover, .footer-social a:hover{ color:var(--red); opacity:1; }
.footer-social p{ display:flex; gap:14px; }
.footer-social i{ font-size:1.3rem; transition: transform .2s var(--ease); display:inline-block; }
.footer-social a:hover i{ transform: translateY(-2px) scale(1.1); }
footer p{ margin:0; }

/* Utility */
.sr-only{ position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }

/* Tillbaka-till-toppen */
.to-top{
  position: fixed; right: 20px; bottom: 20px; z-index: 60;
  width: 44px; height: 44px; display:inline-flex; align-items:center; justify-content:center;
  background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 999px;
  box-shadow: var(--shadow-lg); cursor: pointer;
  opacity: 0; transform: translateY(10px); pointer-events: none;
  transition: opacity .2s ease, transform .2s var(--ease), color .2s ease, background-color .2s ease;
}
.to-top.is-visible{ opacity:1; transform: translateY(0); pointer-events:auto; }
.to-top:hover{ color: var(--red); transform: translateY(-3px); }

/* ================================
   Lead-text – centrerad ingångstext
   ================================ */
.lead{ padding: clamp(32px, 5vw, 56px) 0 0; }
.lead-text{
  max-width: 70ch; margin: 0 auto; text-align: center;
  color: var(--muted); font-size: clamp(1.02rem, .4vw + 1rem, 1.18rem); line-height: 1.65;
}

/* ================================
   CTA-kort – centrerad uppmaning
   ================================ */
.cta-card{
  max-width: 720px; margin: 0 auto; text-align: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); padding: clamp(28px, 5vw, 48px);
}
.cta-card h2{ margin-bottom: 10px; }
.cta-card p{ color: var(--muted); margin: 0 auto 18px; max-width: 52ch; }
.cta-card .btn-row{ display:flex; gap:10px; flex-wrap:wrap; justify-content:center; }

/* ================================
   Info-block (bild + text)
   ================================ */
.info-block { padding: clamp(40px, 6vw, 80px) 0; }

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.info-image img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.info-text h2 {
  margin-top: 0;
  margin-bottom: 16px;
}

.info-text p {
  margin-bottom: 14px;
  color: var(--muted);
  line-height: 1.65;
  max-width: 60ch;
}
.info-text ul{ color: var(--muted); padding-left: 20px; }
.info-text li{ margin-bottom: 6px; }

@media (max-width: 768px) {
  .info-grid { grid-template-columns: 1fr; }
  .info-image { order: -1; }
}

/* ================================
   Features - kort-grid
   ================================ */
.features { padding: clamp(36px, 6vw, 64px) 0; }

.features-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.events-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.education-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }

.feature-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .25s var(--ease), box-shadow .25s ease, border-color .25s ease;
}
.feature-card:hover{ transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(225,6,0,.18); }

.feature-card img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }

.feature-body { padding: 16px; display: flex; flex-direction: column; flex: 1; }
.feature-body h4 { margin: 4px 0 6px; color: var(--ink); }
.feature-body p { margin: 0 0 12px; color: var(--muted); flex-grow: 1; line-height:1.55; }
.feature-body a.btn { margin-top: auto; align-self: flex-start; }

@media (max-width: 980px) {
  .features-grid, .events-grid, .education-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .features-grid, .events-grid, .education-grid { grid-template-columns: 1fr; }
}

/* Bild-wrapper i feature-card med overlay-knapp */
.feature-image{ position: relative; overflow: hidden; border-radius: var(--radius); }
.feature-card > .feature-image > img{
  display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover;
  position: relative; z-index: 1; transition: transform .4s var(--ease);
}
.feature-card:hover > .feature-image > img{ transform: scale(1.05); }

.overlay-btn{
  position: absolute; z-index: 3; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(180deg, var(--red) 0%, var(--red-dark) 100%);
  color: #fff; font-weight: 700; padding: 12px 20px; border-radius: 999px;
  text-decoration: none; box-shadow: 0 10px 24px rgba(225,6,0,.35);
  transition: transform .25s var(--ease), filter .2s ease;
  cursor: pointer;
}
.overlay-btn:hover, .overlay-btn:focus-visible{ filter:brightness(1.06); transform: translate(-50%,-50%) scale(1.06); outline: none; }

.feature-image::after {
  content: ""; position: absolute; inset: 0;
  background: rgba(0, 0, 0, 0.4); z-index: 2;
  transition: background .3s ease;
}
.feature-card:hover .feature-image::after{ background: rgba(0,0,0,.5); }

/* =========================
   Sponsors
   ========================= */
.sponsors{ padding-top: 28px; padding-bottom: 28px; }

.sponsor-row{
  list-style: none; display: flex; flex-wrap: wrap;
  align-items: center; justify-content: center;
  gap: 24px 36px; margin: 0; padding: 0;
}
.sponsor-row li{ flex: 0 1 auto; }
.sponsor-row li a{
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 6px; color: var(--ink); font-weight: 700; text-decoration: none;
}
.sponsor-row img{
  height: 42px; width: auto; filter: grayscale(100%); opacity: .6;
  transition: opacity .2s ease, filter .2s ease, transform .2s var(--ease);
}
.sponsor-name{ font-size: 0.9rem; line-height: 1.2; }

.sponsor-row a:hover img, .sponsor-row a:focus-visible img{ filter: grayscale(0%); opacity: 1; transform: translateY(-2px); }
.sponsor-row a:hover .sponsor-name, .sponsor-row a:focus-visible .sponsor-name{ color: var(--red); }

@media (max-width: 600px){
  .sponsor-row{ gap: 18px 24px; }
  .sponsor-row img{ height: 36px; }
  .sponsor-name{ font-size: 0.85rem; }
}

/* ================================
   FAQ – Vanliga frågor & svar
   ================================ */
.faq { padding: clamp(36px, 6vw, 64px) 0; }
.faq h2 { margin-bottom: 16px; }

.faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  margin-bottom: 12px;
  overflow: hidden;
  transition: box-shadow .2s ease, border-color .2s ease;
}
.faq-item:hover{ box-shadow: var(--shadow); }
.faq-item[open]{ border-color: rgba(225,6,0,.2); }

.faq-item > summary {
  list-style: none; cursor: pointer; padding: 18px 20px;
  font-weight: 700; color: var(--ink); position: relative; outline: none;
}
.faq-item > summary::after {
  content: "▾"; position: absolute; right: 18px; top: 50%;
  transform: translateY(-50%) rotate(0deg);
  transition: transform .25s var(--ease); opacity: .6; color: var(--red);
}
.faq-item[open] > summary::after { transform: translateY(-50%) rotate(180deg); opacity: 1; }

.faq-item > summary:hover { background: var(--surface-2); }
:root[data-theme="dark"] .faq-item > summary:hover { background: rgba(255,255,255,.04); }
.faq-item > summary:focus-visible { outline: 2px solid rgba(225,6,0,.6); outline-offset: 2px; border-radius: calc(var(--radius) - 2px); }

.faq-content { padding: 0 20px 18px 20px; color: var(--muted); }
.faq-content p { margin: 12px 0 0 0; line-height: 1.65; }
.faq-content a { color: var(--red); font-weight: 600; text-decoration: none; }
.faq-content a:hover { text-decoration: underline; }

/* ================================
   Contact / Kontakta oss
   ================================ */
.contact { padding: clamp(40px, 6vw, 72px) 0; }
.contact h2 { margin: 0 0 16px 0; }

.contact-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-bottom: 22px; }

.contact-card {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); color: var(--ink); text-decoration: none;
  transition: transform .2s var(--ease), box-shadow .2s ease, border-color .2s ease;
}
.contact-card:hover{ transform: translateY(-3px); box-shadow: var(--shadow); border-color: rgba(225,6,0,.2); }

.contact-card i{
  font-size: 1.2rem; flex: 0 0 auto; color: var(--red);
  width:44px; height:44px; display:inline-flex; align-items:center; justify-content:center;
  background: var(--red-soft); border-radius: 999px;
}

.contact-card-body h3 { margin: 0 0 4px 0; font-size: 1.05rem; color: var(--ink); }
.contact-card-body p { margin: 0; color: var(--muted); }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }

.company-box {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: 20px;
}
.company-box h3 { margin: 0 0 10px 0; }
.company-box ul { margin: 0 0 12px 0; padding: 0; list-style: none; }
.company-box li { margin: 8px 0; color: var(--muted); }
.company-box a { color: var(--ink); }
.company-box a:hover { color: var(--red); }
.company-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.contact-form {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: 20px;
}
.contact-form h3 { margin-top: 0; margin-bottom: 10px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label { font-weight: 700; color: var(--ink); }

.form-field input, .form-field textarea {
  border: 1px solid var(--line); border-radius: 10px; padding: 11px 14px;
  font: inherit; color: var(--ink); background: #fff; outline: none;
  transition: border-color .15s ease, box-shadow .15s ease, background-color .25s ease;
}
:root[data-theme="dark"] .form-field input, :root[data-theme="dark"] .form-field textarea { background: var(--surface); }

.form-field input:focus, .form-field textarea:focus {
  border-color: rgba(225,6,0,.5); box-shadow: 0 0 0 3px rgba(225,6,0,.12);
}

.hp-field { display:none; }

@media (max-width: 980px) {
  .contact-cards { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/* =================================
   AUTHORITIES – kompakt layout
   ================================= */
.authorities-page section { padding: clamp(28px, 4vw, 42px) 0; }
.authorities-page .info-block { padding: clamp(20px, 3vw, 28px) 0; }
.authorities-page .info-text { max-width: 100%; }
.authorities-page .info-text p { margin-bottom: 10px; }
.authorities-page .info-text ul { margin: 10px 0 0; }

/* ================================
   Split-grid – separata kort med synligt mellanrum
   (används av t.ex. Mynd/Säk, Boka event, Träning)
   ================================ */
.split-grid{
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 6px 24px;
  align-items: start;
  margin-top: 12px;
}

.split-panel{
  grid-column: span 6;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.split-panel h2, .split-panel h3{ margin: 0 0 10px 0; }
.split-panel ul{ padding-left: 18px; margin: 8px 0 0; color: var(--muted); }
.split-panel li{ margin-bottom: 6px; }
.split-panel p{ margin: 0 0 10px 0; color: var(--muted); line-height: 1.6; }

@media (max-width: 980px){
  .split-panel{ grid-column: span 12; }
  .authorities-page section{ padding: 28px 0; }
  .authorities-page .info-block{ padding: 18px 0; }
}

/* ================================
   Scroll-reveal (tillämpas av script.js)
   ================================ */
.reveal{ opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-visible{ opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce){
  .reveal{ opacity:1; transform:none; transition:none; }
}


/* ================================
   Matchsida
   ================================ */
.match-page{ padding: 0 10px; }

/* Nyckelfakta – rad med brickor */
.match-facts{
  display:grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap:16px;
  margin-top: 28px;
}
.match-fact{
  background: var(--surface); border:1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 20px 18px; text-align:center;
}
.match-fact i{ color: var(--red); font-size:1.3rem; margin-bottom:8px; }
.match-fact .label{ display:block; font-size:.78rem; letter-spacing:.06em; text-transform:uppercase; color: var(--muted); }
.match-fact .value{ display:block; margin-top:4px; font-weight:700; font-size:1.05rem; }

/* Sektioner */
.match-section{ padding: clamp(28px, 5vw, 56px) 0 0; }
.match-section h3{ margin: 0 0 6px; font-size:1.25rem; }
.match-section .sub{ color: var(--muted); margin: 0 0 22px; max-width: 62ch; }

/* Klasser som "chips" */
.match-chips{ display:flex; flex-wrap:wrap; gap:10px; padding:0; margin:0; list-style:none; }
.match-chips li{
  background: var(--red-soft); color: var(--ink); border:1px solid rgba(225,6,0,.18);
  border-radius: 999px; padding: 8px 16px; font-weight:600; font-size:.95rem;
}

/* Schema – 2x2 kort */
.match-schedule{ display:grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap:16px; }
.match-slot{
  background: var(--surface); border:1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-sm); padding: 20px 22px; border-left: 4px solid var(--red);
}
.match-slot .day{ font-weight:700; font-size:1.1rem; }
.match-slot .time{ color: var(--muted); margin-top:2px; }
.match-slot .squads{ margin-top:10px; font-weight:600; }
.match-slot .squads span{ color: var(--red); }

/* Notis */
.match-note{
  background: var(--surface-2); border:1px solid var(--line); border-radius: var(--radius);
  padding: 18px 22px; display:flex; gap:14px; align-items:flex-start; color: var(--muted);
}
.match-note i{ color: var(--red); margin-top:4px; }
.match-note p{ margin:0; }
.match-note strong{ color: var(--ink); }

.match-cta{ padding: clamp(32px, 5vw, 64px) 0; }

@media (max-width: 900px){
  .match-facts{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 600px){
  .match-schedule{ grid-template-columns: 1fr; }
}


/* Matchsida – hoppa-knappar och nedräkning */
.match-jump{
  display:grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap:12px;
  padding-top: 24px;
}
.match-jump a{
  display:flex; flex-direction:column; gap:2px; padding:14px 18px;
  background: var(--surface); border:1px solid var(--line); border-left:4px solid var(--red);
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), box-shadow .2s ease;
}
.match-jump a:hover{ transform: translateY(-2px); box-shadow: var(--shadow); }
.match-jump strong{ font-size:1rem; }
.match-jump span{ color: var(--muted); font-size:.9rem; }

.match-countdown{
  display:inline-block; margin-left:8px; font-weight:700; font-size:.85rem;
  color: var(--red); background: var(--red-soft); border-radius:999px; padding:6px 12px;
}
.match-countdown[hidden]{ display:none; }
.match-block{ scroll-margin-top: 80px; }

/* Matchsida – mobil */
@media (max-width: 600px){
  .match-page{ padding: 0 6px; }

  .match-block{ padding: 24px 0; }

  /* Rubriken som ett kort */
  .match-head{
    background: var(--surface); border:1px solid var(--line); border-radius: var(--radius-lg);
    box-shadow: var(--shadow); padding: 22px 18px; max-width: calc(100% - 20px);
    border-top: 4px solid var(--red);
  }
  .match-head .lead-text{ font-size:.98rem; line-height:1.55; text-align:left; }
  .match-countdown{ margin: 6px 0 0; display:block; width:fit-content; margin-inline:auto; }
  .match-countdown[hidden]{ display:none; }

  /* Fakta: kompakta brickor med ikon till vänster */
  .match-facts{ gap:10px; margin-top:16px; }
  .match-fact{
    display:grid; grid-template-columns: 28px 1fr; column-gap:10px; align-items:center;
    text-align:left; padding: 12px 12px;
  }
  .match-fact i{ grid-row: 1 / span 2; margin:0; font-size:1.15rem; text-align:center; }
  .match-fact .label{ font-size:.68rem; }
  .match-fact .value{ margin-top:0; font-size:.92rem; }

  /* Sektionsrubriker med röd markering */
  .match-section{ padding-top: 24px; }
  .match-section h3{ padding-left:10px; border-left:4px solid var(--red); line-height:1.2; }

  /* Klasser: en rad som går att svepa i sidled */
  .match-chips{ flex-wrap:nowrap; overflow-x:auto; padding-bottom:8px; -webkit-overflow-scrolling:touch; scrollbar-width:none; }
  .match-chips::-webkit-scrollbar{ display:none; }
  .match-chips li{ white-space:nowrap; flex:0 0 auto; }

  /* Schema: kompakta rader */
  .match-schedule{ gap:10px; }
  .match-slot{
    display:grid; grid-template-columns: 1fr auto; align-items:center; padding:14px 16px;
  }
  .match-slot .squads{ grid-row: 1 / span 2; grid-column:2; margin:0; text-align:right; }
  .match-slot .day{ font-size:1rem; }
  .match-slot .time{ font-size:.88rem; }

  .match-note{ padding:16px; font-size:.95rem; }
  .match-section .btn-row .btn{ width:100%; text-align:center; justify-content:center; }
}



/* Logotyp över slidern på startsidan */
.hero-logo{
  width:min(230px, 48vw); height:auto; margin:0 auto;
  filter: drop-shadow(0 0 5px rgba(255,255,255,.35));
}

.hero-content h1.hero-welcome{
  color:#101114; font-size:clamp(1.6rem, 2.2vw + 1rem, 2.6rem); margin:0 0 4px;
  text-shadow: none;
  filter: drop-shadow(0 0 5px rgba(255,255,255,.35));
}
