/* ==========================================================================
   Hässleholms RC Buggy Klubb – tema ovanpå Bootstrap 5.3
   Färger och typsnitt styrs av variablerna i :root.
   ========================================================================== */

@font-face {
  font-family: "Exo 2";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/exo-2-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Exo 2";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/exo-2-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --brand: #e2672a;          /* klubbens orange – ytor, detaljer */
  --brand-strong: #bf4f17;   /* orange för text/knappar (klarar kontrastkrav på vitt) */
  --brand-hover: #a3420f;
  --ink: #16181b;            /* kolsvart – meny, sidfot */
  --ink-2: #202328;
  --font-display: "Exo 2", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --bs-body-font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --bs-body-color: #23262b;
  --bs-body-bg: #fff;
  --bs-secondary-bg: #f4f2ee;
  --bs-tertiary-bg: #f8f7f4;
  --bs-border-color: #e4e1da;
  --bs-link-color: var(--brand-strong);
  --bs-link-color-rgb: 191, 79, 23;
  --bs-link-hover-color: var(--brand-hover);
  --bs-link-hover-color-rgb: 163, 66, 15;
  --bs-primary: var(--brand-strong);
  --bs-primary-rgb: 191, 79, 23;
  --bs-border-radius: .625rem;
  --bs-border-radius-lg: 1rem;
  --bs-focus-ring-color: rgba(226, 103, 42, .35);

  --surface-soft: #f8f7f4;
  --shadow-sm: 0 1px 2px rgba(16, 18, 20, .06), 0 2px 8px rgba(16, 18, 20, .05);
  --shadow-md: 0 8px 30px rgba(16, 18, 20, .10);
}

[data-bs-theme="dark"] {
  --bs-body-color: #e6e4df;
  --bs-body-bg: #121417;
  --bs-secondary-bg: #1b1e22;
  --bs-tertiary-bg: #181b1f;
  --bs-border-color: #2c3036;
  --bs-link-color: #f29560;
  --bs-link-color-rgb: 242, 149, 96;
  --bs-link-hover-color: #ffb185;
  --bs-link-hover-color-rgb: 255, 177, 133;
  --surface-soft: #1a1d21;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, .45);
}

html { scroll-padding-top: 5rem; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, .btn, .navbar, .eyebrow, .breadcrumb {
  font-family: var(--font-display);
}
h1, h2, h3, .h1, .h2, .h3 { font-weight: 800; letter-spacing: -.01em; }
h4, h5, h6, .h4, .h5, .h6 { font-weight: 700; }
img { max-width: 100%; height: auto; }
main:focus { outline: none; }
a { text-underline-offset: .18em; text-decoration-thickness: from-font; }

.icon { width: 1em; height: 1em; fill: currentColor; vertical-align: -.125em; flex-shrink: 0; }
.icon-xl { width: 2.5rem; height: 2.5rem; }
.text-brand { color: var(--brand) !important; }

.skip-link {
  position: absolute; z-index: 2000; top: .5rem; left: .5rem;
  background: var(--brand); color: #fff; padding: .6rem 1rem; border-radius: .5rem; font-weight: 600;
}

/* ---------- Knappar ---------- */
.btn { font-weight: 700; letter-spacing: .01em; border-radius: .625rem; }
.btn-lg { padding: .8rem 1.5rem; font-size: 1.05rem; }
.btn-brand {
  --bs-btn-color: #fff; --bs-btn-bg: var(--brand-strong); --bs-btn-border-color: var(--brand-strong);
  --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--brand-hover); --bs-btn-hover-border-color: var(--brand-hover);
  --bs-btn-active-color: #fff; --bs-btn-active-bg: var(--brand-hover); --bs-btn-active-border-color: var(--brand-hover);
  --bs-btn-focus-shadow-rgb: 226, 103, 42;
  box-shadow: 0 4px 14px rgba(191, 79, 23, .25);
}
.btn-outline-light { --bs-btn-hover-color: var(--ink); }

.link-arrow {
  display: inline-flex; align-items: center; gap: .4rem;
  font-family: var(--font-display); font-weight: 700; text-decoration: none;
}
.link-arrow .icon { transition: transform .2s ease; }
.link-arrow:hover .icon { transform: translateX(4px); }

.eyebrow {
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--bs-link-color); margin-bottom: .5rem;
}
.eyebrow-light { color: #ffb185; }

/* ---------- Meny ---------- */
.site-nav {
  background: rgba(22, 24, 27, .92);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  padding: .65rem 0;
}
.brand { display: inline-flex; align-items: center; gap: .65rem; color: #fff; text-decoration: none; }
.brand:hover { color: #fff; }
.brand-mark { width: 2.1rem; height: 2.1rem; color: #fff; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; font-family: var(--font-display); }
.brand-text span:first-child { font-weight: 800; font-size: 1.05rem; letter-spacing: -.01em; }
.brand-text span:last-child { font-weight: 500; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--brand); }
.site-nav .nav-link { font-weight: 600; color: rgba(255, 255, 255, .8); padding: .5rem .8rem !important; border-radius: .5rem; }
.site-nav .nav-link:hover, .site-nav .nav-link:focus-visible { color: #fff; background: rgba(255, 255, 255, .06); }
.site-nav .nav-link.active { color: #fff; }
.site-nav .nav-link.active::after { content: none; }
@media (min-width: 992px) {
  .site-nav .nav-link.active { box-shadow: inset 0 -2px 0 var(--brand); border-radius: .5rem .5rem 0 0; }
}
.site-nav .dropdown-menu {
  --bs-dropdown-bg: var(--ink-2); --bs-dropdown-border-color: rgba(255, 255, 255, .08);
  --bs-dropdown-link-active-bg: var(--brand-strong); --bs-dropdown-link-hover-bg: rgba(255, 255, 255, .07);
  --bs-dropdown-item-padding-y: .5rem; border-radius: .75rem; padding: .4rem; box-shadow: var(--shadow-md);
}
.site-nav .dropdown-item { border-radius: .45rem; font-family: var(--bs-body-font-family); }
.navbar-toggler { border: 0; padding: .4rem; }
.navbar-toggler:focus { box-shadow: 0 0 0 .2rem rgba(226, 103, 42, .5); }
@media (max-width: 991.98px) {
  .site-nav .navbar-collapse { padding: .75rem 0 .5rem; }
  .site-nav .dropdown-menu { box-shadow: none; background: transparent; border: 0; padding-left: 1rem; }
}

/* ---------- Startsidans hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: clamp(30rem, 82vh, 46rem);
  display: flex; align-items: flex-end;
  background: var(--ink); color: #fff;
}
.hero picture, .hero-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; z-index: -2;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(14, 15, 17, .9) 0%, rgba(14, 15, 17, .6) 45%, rgba(14, 15, 17, .15) 100%),
    linear-gradient(0deg, rgba(14, 15, 17, .85) 0%, rgba(14, 15, 17, 0) 55%);
}
.hero-inner { padding-top: 6rem; padding-bottom: clamp(3rem, 8vh, 5rem); }
.hero-title {
  font-size: clamp(2.6rem, 6.5vw, 5rem); line-height: .98; font-weight: 900; letter-spacing: -.025em;
  text-transform: uppercase; margin-bottom: 1.25rem; max-width: 14ch;
}
.hero-title span { color: var(--brand); }
.hero-lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 38rem; color: rgba(255, 255, 255, .85); margin-bottom: 2rem; }

/* Status: öppet nu / nästa körtid */
.status {
  display: inline-flex; align-items: center; gap: .65rem;
  padding: .55rem 1rem .55rem .85rem; border-radius: 999px;
  background: var(--bs-secondary-bg); border: 1px solid var(--bs-border-color);
  font-weight: 600; font-size: .95rem;
}
.hero .status { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .18); color: #fff; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.hero .status a { color: #fff; }
.status-dot { width: .7rem; height: .7rem; border-radius: 50%; background: #9aa0a6; flex-shrink: 0; }
.status.is-open .status-dot { background: #22c55e; box-shadow: 0 0 0 0 rgba(34, 197, 94, .6); animation: pulse 2s infinite; }
.status.is-later .status-dot { background: #f5a524; }
.status.is-closed .status-dot { background: #ef4444; }
@keyframes pulse { 70% { box-shadow: 0 0 0 .6rem rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }

/* Siffror under hero */
.stats { background: var(--brand-strong); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); margin: 0; }
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stats-grid > div { padding: 1.4rem 1rem; text-align: center; border-right: 1px solid rgba(255, 255, 255, .18); }
.stats-grid > div:nth-child(2n) { border-right: 0; }
@media (min-width: 768px) {
  .stats-grid > div:nth-child(2n) { border-right: 1px solid rgba(255, 255, 255, .18); }
  .stats-grid > div:last-child { border-right: 0; }
}
.stats dt { font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; opacity: .85; }
.stats dd { font-family: var(--font-display); font-size: clamp(1.2rem, 3vw, 2rem); white-space: nowrap; font-weight: 800; margin: 0; }

/* ---------- Sektioner ---------- */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-sm { padding-top: clamp(2rem, 5vw, 3.5rem); padding-bottom: clamp(3rem, 6vw, 4.5rem); }
.section-alt { background: var(--bs-secondary-bg); }
.section-title { font-size: clamp(1.75rem, 3.5vw, 2.5rem); margin-bottom: 1.25rem; }

.img-feature { width: 100%; border-radius: var(--bs-border-radius-lg); box-shadow: var(--shadow-md); transform: rotate(1.2deg); }

.card { --bs-card-border-color: var(--bs-border-color); --bs-card-border-radius: var(--bs-border-radius-lg); }
.card-soft { background: var(--surface-soft); border: 1px solid var(--bs-border-color); }

/* Kom igång – steg */
.step { border: 1px solid var(--bs-border-color); box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease; }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step .card-body { padding: 1.75rem; }
.step-num {
  display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; margin-bottom: 1rem;
  border-radius: .75rem; background: var(--brand); color: #fff;
  font-family: var(--font-display); font-weight: 900; font-size: 1.25rem;
}

/* Veckoschema */
.week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .5rem; list-style: none; padding: 0; margin: 0; }
.week .day {
  display: flex; flex-direction: column; gap: .3rem; min-height: 7.5rem;
  padding: .85rem .6rem; border-radius: .75rem;
  background: var(--surface-soft); border: 1px solid var(--bs-border-color); border-top: 4px solid var(--brand);
}
.week .day.is-closed { border-top-color: var(--bs-border-color); color: var(--bs-secondary-color); }
.week .day.is-today { background: var(--ink); color: #fff; border-color: var(--ink); border-top-color: var(--brand); box-shadow: var(--shadow-md); }
[data-bs-theme="dark"] .week .day.is-today { background: #2a2e34; border-color: #3a3f46; }
.week .day.is-today .day-name::after { content: "Idag"; display: block; font-size: .65rem; letter-spacing: .1em; color: var(--brand); }
.day-name { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: .85rem; letter-spacing: .06em; }
.day-time { font-family: var(--font-display); font-weight: 700; font-size: 1rem; }
.day-note { font-size: .72rem; line-height: 1.25; opacity: .8; }
@media (max-width: 767.98px) {
  .week { grid-template-columns: 1fr; gap: .4rem; }
  .week .day { flex-direction: row; align-items: baseline; min-height: 0; border-top-width: 1px; border-left: 4px solid var(--brand); padding: .7rem 1rem; gap: 1rem; }
  .week .day.is-closed { border-left-color: var(--bs-border-color); }
  .day-name { width: 3.2rem; }
  .day-note { margin-left: auto; text-align: right; }
  .week .day.is-today .day-name::after { display: inline; margin-left: .3rem; }
}

/* Klasser */
.class-list li { display: flex; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--bs-border-color); }
.class-list li:last-child { border-bottom: 0; }
.class-list .icon { width: 2.5rem; height: 2.5rem; padding: .6rem; border-radius: .7rem; background: rgba(226, 103, 42, .12); color: var(--brand); }
.class-list strong { display: block; font-family: var(--font-display); font-size: 1.1rem; }
.class-list span { color: var(--bs-secondary-color); }

/* Facebook-banner */
.cta-band {
  padding: 2.75rem 0; color: #fff;
  background: linear-gradient(120deg, var(--brand-strong), var(--brand) 60%, #f08a4b);
}
.cta-band .btn-light { color: var(--ink); }

/* ---------- Inre sidor ---------- */
.page-header {
  position: relative; isolation: isolate; color: #fff; background: var(--ink);
  padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2rem, 5vw, 3.5rem); overflow: hidden;
}
.page-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .28;
  background: url("../img/banan-1200.jpg") center 60% / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 15%, #000 85%);
  mask-image: linear-gradient(90deg, transparent 15%, #000 85%);
}
.page-header::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px;
  background: repeating-linear-gradient(90deg, #fff 0 12px, var(--ink) 12px 24px);
  opacity: .9;
}
.page-header h1 { font-size: clamp(1.6rem, 7vw, 3.4rem); overflow-wrap: anywhere; hyphens: auto; font-weight: 900; text-transform: uppercase; letter-spacing: -.02em; margin: 0; }
.page-lead { font-size: 1.15rem; color: rgba(255, 255, 255, .78); max-width: 42rem; margin: .75rem 0 0; }
.breadcrumb { --bs-breadcrumb-divider-color: rgba(255, 255, 255, .4); --bs-breadcrumb-item-active-color: rgba(255, 255, 255, .85); font-size: .85rem; font-weight: 600; margin-bottom: .75rem; }
.breadcrumb a { color: rgba(255, 255, 255, .65); text-decoration: none; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb-item + .breadcrumb-item::before { color: rgba(255, 255, 255, .4); }
.breadcrumb-item { color: rgba(255, 255, 255, .65); }

.prose { font-size: 1.05rem; line-height: 1.7; }
.prose h2 { font-size: 1.6rem; margin: 2.5rem 0 1rem; }
.prose h2:first-child { margin-top: 0; }
.prose > p, .prose > ul { max-width: 68ch; }

.callout {
  display: flex; gap: 1rem; align-items: flex-start; margin: 1.75rem 0; padding: 1.25rem 1.4rem;
  border-radius: var(--bs-border-radius-lg); background: rgba(226, 103, 42, .08); border-left: 4px solid var(--brand);
}
.callout .icon { width: 1.5rem; height: 1.5rem; color: var(--brand); margin-top: .15rem; }

.check-list { list-style: none; padding: 0; }
.check-list li { position: relative; padding-left: 2rem; margin: .65rem 0; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .3em; width: 1.2rem; height: 1.2rem; border-radius: 50%;
  background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='white'%3E%3Cpath d='M12.7 4.3a1 1 0 0 1 0 1.4l-5.5 5.5a1 1 0 0 1-1.4 0L3.3 8.7a1 1 0 1 1 1.4-1.4l1.8 1.8 4.8-4.8a1 1 0 0 1 1.4 0'/%3E%3C/svg%3E") center / .85rem no-repeat;
}

.timeline { list-style: none; padding: 0; margin: 0 0 2rem; border-left: 2px solid var(--bs-border-color); }
.timeline li { position: relative; padding: 0 0 1.25rem 1.6rem; }
.timeline li::before {
  content: ""; position: absolute; left: -.5rem; top: .35rem; width: .9rem; height: .9rem;
  border-radius: 50%; background: var(--bs-body-bg); border: 3px solid var(--brand);
}
.timeline-year { font-family: var(--font-display); font-weight: 800; color: var(--bs-link-color); }
.timeline p { margin: .1rem 0 0; }

.side-links li + li { margin-top: .35rem; }
.side-links a { display: flex; align-items: center; gap: .65rem; padding: .45rem .5rem; margin: 0 -.5rem; border-radius: .5rem; text-decoration: none; color: var(--bs-body-color); font-weight: 600; }
.side-links a:hover { background: var(--bs-secondary-bg); color: var(--bs-link-color); }
.side-links .icon { color: var(--brand); }

/* Utomhusbanan */
.panorama { margin: 0 0 1rem; }
.panorama img { width: 100%; border-radius: var(--bs-border-radius-lg); box-shadow: var(--shadow-md); }
.panorama figcaption { font-size: .85rem; color: var(--bs-secondary-color); margin-top: .6rem; }
.fact {
  height: 100%; display: flex; flex-direction: column; gap: .15rem; padding: 1.25rem;
  border-radius: var(--bs-border-radius-lg); background: var(--surface-soft); border: 1px solid var(--bs-border-color);
}
.fact .icon { width: 1.6rem; height: 1.6rem; color: var(--brand); margin-bottom: .5rem; }
.fact strong { font-family: var(--font-display); font-size: 1.15rem; }
.fact span { color: var(--bs-secondary-color); font-size: .9rem; }

/* Öppettider */
.hours-table { --bs-table-bg: transparent; margin: 1.25rem 0 1rem; font-size: 1.05rem; }
.hours-table th { width: 40%; font-family: var(--font-display); font-weight: 700; }
.hours-table th, .hours-table td { padding: .85rem .75rem; }
.hours-time { font-weight: 600; font-variant-numeric: tabular-nums; }
.hours-note { display: block; font-size: .85rem; color: var(--bs-secondary-color); }
.hours-table .is-closed { color: var(--bs-secondary-color); }
.hours-table tr.is-today > * { background: rgba(226, 103, 42, .1); }
.hours-table tr.is-today th { box-shadow: inset 4px 0 0 var(--brand); }
.hours-table tr.is-today th::after {
  content: "Idag"; margin-left: .5rem; padding: .1rem .45rem; border-radius: 999px; vertical-align: .1em;
  background: var(--brand-strong); color: #fff; font-size: .7rem; letter-spacing: .06em; text-transform: uppercase;
}

/* Priser */
.price-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .7rem 0; border-bottom: 1px dashed var(--bs-border-color); }
.price-list li:last-child { border-bottom: 0; }
.price-list strong { font-family: var(--font-display); font-size: 1.15rem; white-space: nowrap; }
.price-card {
  height: 100%; padding: 1.5rem; border-radius: var(--bs-border-radius-lg);
  background: var(--bs-body-bg); border: 1px solid var(--bs-border-color); box-shadow: var(--shadow-sm);
}
.price-card h3 { text-transform: uppercase; letter-spacing: .1em; color: var(--bs-secondary-color); }
.price-card.is-featured { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand), var(--shadow-md); }
.price-big { font-family: var(--font-display); font-size: 2rem; font-weight: 800; line-height: 1.1; margin: .25rem 0 .75rem; }
.price-big span { font-size: .9rem; font-weight: 500; color: var(--bs-secondary-color); }

/* Medlemsanmälan */
.doc-list li + li { margin-top: .25rem; }
.doc-list a { display: flex; align-items: center; gap: .6rem; padding: .55rem .6rem; margin: 0 -.6rem; border-radius: .5rem; text-decoration: none; font-weight: 600; }
.doc-list a:hover { background: var(--bs-secondary-bg); }
.doc-list span { margin-left: auto; font-size: .7rem; font-weight: 700; padding: .1rem .4rem; border-radius: .3rem; background: var(--bs-secondary-bg); color: var(--bs-secondary-color); }
.form-embed { margin-top: 1.5rem; padding: .5rem; border-radius: var(--bs-border-radius-lg); background: #fff; border: 1px solid var(--bs-border-color); box-shadow: var(--shadow-sm); min-height: 20rem; }
.form-embed iframe { width: 100% !important; border: 0; }

/* Kontakt */
.contact-card {
  display: flex; flex-direction: column; gap: .25rem; height: 100%; padding: 1.5rem;
  border-radius: var(--bs-border-radius-lg); background: var(--surface-soft); border: 1px solid var(--bs-border-color);
  color: var(--bs-body-color); text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.contact-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--brand); color: var(--bs-body-color); }
.contact-card .icon { width: 1.75rem; height: 1.75rem; color: var(--brand); margin-bottom: .75rem; }
.contact-label { font-size: .85rem; color: var(--bs-secondary-color); }
.contact-card strong { font-family: var(--font-display); font-size: 1.2rem; word-break: break-word; }

/* Karta (laddas vid klick) */
.map-facade {
  position: relative; aspect-ratio: 16 / 10; border-radius: var(--bs-border-radius-lg); overflow: hidden;
  background: var(--bs-secondary-bg) url("../img/banan-1200.jpg") center / cover;
  border: 1px solid var(--bs-border-color);
}
.map-facade-inner {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 1.5rem; text-align: center; color: #fff; background: rgba(14, 15, 17, .72);
}
.map-facade-inner .icon { margin-bottom: .75rem; color: var(--brand); }
.map-facade iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Sponsorer ---------- */
.sponsors-band { padding: clamp(3rem, 6vw, 4.5rem) 0 0; background: var(--bs-body-bg); border-top: 1px solid var(--bs-border-color); }
.marquee {
  overflow: hidden; padding: .5rem 0 1rem;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.marquee-track { display: flex; gap: 1rem; width: max-content; list-style: none; margin: 0; padding: 0 1rem; }
.marquee.is-running .marquee-track { animation: marquee var(--marquee-duration, 60s) linear infinite; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee-track li {
  flex: 0 0 auto; display: flex; align-items: center; justify-content: center; width: 11rem; height: 6rem; padding: .9rem 1.1rem;
  background: #fff; border-radius: .75rem; border: 1px solid #ebe8e1; box-shadow: var(--shadow-sm);
}
.marquee-track img { display: block; max-width: 8.8rem; max-height: 4.2rem; width: auto; height: auto; object-fit: contain; }
@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee-track { flex-wrap: wrap; justify-content: center; width: auto; }
}
.partners {
  display: grid; gap: 1.5rem; align-items: center; margin-top: 2.5rem; padding: 2rem 0 clamp(3rem, 6vw, 4rem);
  border-top: 1px solid var(--bs-border-color);
}
@media (min-width: 768px) { .partners { grid-template-columns: 1fr 22rem; } }
.partners-text { margin: 0; color: var(--bs-secondary-color); max-width: 40rem; }
.partners img { width: 100%; background: #fff; border-radius: .75rem; padding: .75rem; border: 1px solid #ebe8e1; }

/* ---------- Sidfot ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .78); padding: 3.5rem 0 1.5rem; }
.site-footer a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.site-footer a:hover { color: var(--brand); }
.site-footer .btn-outline-light { --bs-btn-border-color: rgba(255, 255, 255, .3); }
.site-footer .btn-outline-light:hover { color: var(--ink); }
.footer-title { font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 1rem; }
.footer-links li { display: flex; align-items: baseline; margin-bottom: .55rem; }
.footer-links .icon { color: var(--brand); }
.footer-hours { margin-bottom: .75rem; }
.footer-hours li { display: flex; justify-content: space-between; max-width: 15rem; padding: .25rem 0; border-bottom: 1px solid rgba(255, 255, 255, .07); font-variant-numeric: tabular-nums; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; margin-top: 3rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .1); font-size: .85rem; color: rgba(255, 255, 255, .55);
}

/* ---------- Rörelse ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

@media print {
  .site-nav, .sponsors-band, .cta-band, .site-footer, .map-facade { display: none !important; }
  .page-header, .hero { background: none !important; color: #000 !important; }
}

/* Sidokort som följer med vid scroll – bara på stora skärmar */
@media (min-width: 992px) { .sticky-side { position: sticky; top: 6rem; } }

/* Säsongsuppehåll */
.season-notice {
  display: flex; gap: 1rem; align-items: flex-start; margin: 1rem 0; padding: 1.5rem;
  border-radius: var(--bs-border-radius-lg); background: var(--surface-soft);
  border: 1px solid var(--bs-border-color); border-left: 4px solid var(--brand);
}
.season-notice > .icon { width: 1.75rem; height: 1.75rem; color: var(--brand); margin-top: .1rem; }
.season-notice strong { display: block; font-family: var(--font-display); font-size: 1.15rem; margin-bottom: .35rem; }
.season-notice p { margin-bottom: .75rem; color: var(--bs-secondary-color); }
.season-notice a { font-weight: 600; }
