/* ==========================================================================
   SPORTPIRATEN — Bold Minimalist Theme
   Dark-dominant with white accent sections.
   Viga for headlines, Rokkitt for body.
   Accent #ec1e8e used sparingly.
   ========================================================================== */

/* Local fonts — no external requests to Google */
@font-face {
  font-family: 'Viga';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/viga-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Rokkitt';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/rokkitt-variable.woff2') format('woff2');
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --black: #000;
  --dark: #0a0a0a;
  --dark-mid: #111;
  --dark-card: #141414;
  --white: #fff;
  --off-white: #f5f5f3;
  --accent: #ec1e8e;
  --accent-glow: rgba(236, 30, 142, 0.15);
  --gray-300: #bbb;
  --gray-400: #999;
  --gray-500: #8a8a8a;
  --gray-600: #555;
  --gray-800: #1e1e1e;
  --font-headline: 'Viga', system-ui, sans-serif;
  --font-body: 'Rokkitt', Georgia, serif;
  --container: 1120px;
  --gap: 2.5rem;
  --radius: 0.5rem;
  --radius-lg: 1rem;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.75;
  color: var(--gray-300);
  background: var(--black);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headline);
  font-weight: 400;
  color: var(--white);
  line-height: 1.1;
}

p {
  margin-bottom: 0.875rem;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--white);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, color 0.3s;
}

a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Keyboard focus — visible ring only on Tab navigation */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

a:focus-visible {
  border-color: transparent;
}

img {
  max-width: 100%;
  display: block;
}

ul {
  list-style: none;
}

strong {
  font-weight: 600;
  color: var(--white);
}

::selection {
  background: var(--accent);
  color: var(--white);
}

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(2.5rem);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* Hidden by GSAP until ScrollTrigger fires — no JS flash */
.gsap-hidden {
  opacity: 0;
  transform: translateY(2.5rem);
}

/* ==========================================================================
   SKIP LINK (Accessibility)
   ========================================================================== */

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--accent);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-family: var(--font-headline);
  font-size: 0.875rem;
  z-index: 9999;
  text-decoration: none;
}

.skip-link:focus {
  top: 1rem;
}

.high-contrast .skip-link,
.high-contrast .skip-link:hover,
.high-contrast .skip-link:focus {
  background: #ffff00 !important;
  color: #000 !important;
}

#main-content:focus {
  outline: none;
}

/* Screen reader only — visually hidden but accessible */
.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;
}

/* ==========================================================================
   LAYOUT
   ========================================================================== */

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gap);
}

.grid {
  display: grid;
  gap: var(--gap);
}

.grid-2 {
  grid-template-columns: 1fr 1fr;
}

.grid-3 {
  grid-template-columns: 1fr 1fr 1fr;
}

/* ==========================================================================
   HEADER / NAV
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background 0.3s;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.5rem;
}

.logo-group {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-img {
  height: 1.5rem;
  width: auto;
  filter: brightness(0) invert(1);
  transition: transform 0.3s;
}

.logo-skull {
  height: 2.5rem;
  filter: none;
}

.logo-spacer {
  width: 1px;
  height: 1.5rem;
  background: var(--gray-800);
  flex-shrink: 0;
}

.logo-link {
  border: none;
  display: flex;
  align-items: center;
}

.logo-link:hover {
  border: none;
}

.logo-img:hover {
  transform: scale(1.05);
}

.site-nav {
  display: flex;
  gap: 2.25rem;
}

.site-nav .nav-logos {
  display: none;
}

.site-nav a {
  font-family: var(--font-headline);
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-400);
  border: none;
  position: relative;
  padding: 0.25rem 0;
}

.site-nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s, left 0.3s;
}

.site-nav a:hover {
  color: var(--white);
}

.site-nav a:hover::after {
  width: 100%;
  left: 0;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 2rem;
  height: 1.5rem;
  position: relative;
  flex-direction: column;
  justify-content: space-between;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--white);
  transition: transform 0.3s, opacity 0.3s;
  transform-origin: center;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(0.625rem) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-0.625rem) rotate(-45deg);
}

/* ==========================================================================
   HERO — Full-screen video
   ========================================================================== */

.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--black);
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.5) 0%,
    rgba(0, 0, 0, 0.15) 35%,
    rgba(0, 0, 0, 0.5) 75%,
    rgba(0, 0, 0, 1) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4rem;
  margin-bottom: 2.5rem;
  animation: hero-fade-in 1.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-logo {
  height: clamp(40px, 6vw, 60px);
  width: auto;
  filter: brightness(0) invert(1);
}

.hero-sub {
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.7);
  max-width: 34rem;
  margin-bottom: 2.5rem;
  line-height: 1.7;
  animation: hero-fade-in 1.2s 0.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  animation: hero-fade-in 1.2s 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes hero-fade-in {
  from {
    opacity: 0;
    transform: translateY(1.5rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  animation: hero-fade-in 1.2s 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-scroll-line {
  width: 1px;
  height: 3rem;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0%, 100% { opacity: 0.4; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
  display: inline-block;
  padding: 0.875rem 2.5rem;
  font-family: var(--font-headline);
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border: 2px solid;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border-bottom: 2px solid;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

.btn-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--accent-glow);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.25);
}

.btn-outline:hover {
  border-color: var(--white);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-accent {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.btn-accent:hover {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
  transform: translateY(-2px);
}

/* ==========================================================================
   SECTIONS
   ========================================================================== */

.section {
  padding: 7rem 0;
  position: relative;
}

.section-dark,
.section-black {
  background: var(--black);
}

/* Divider line between dark sections */
.section-dark + .section-black,
.section-black + .section-dark,
.section-dark + .section-dark,
.section-black + .section-black,
.section-butcherjam + .section-black,
.section-butcherjam + .section-dark,
.section-dark + .section-butcherjam,
.section-black + .section-butcherjam {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* Accent dash divider between dark sections */
.section-dark + .section-black::before,
.section-black + .section-dark::before,
.section-dark + .section-dark::before,
.section-black + .section-black::before,
.section-butcherjam + .section-black::before,
.section-butcherjam + .section-dark::before,
.section-dark + .section-butcherjam::before,
.section-black + .section-butcherjam::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: min(var(--container), calc(100% - 3rem));
  height: 1px;
  background: var(--accent);
  opacity: 0.35;
}

.section-light {
  background: var(--white);
  color: var(--black);
}

.section-light h2,
.section-light h3 {
  color: var(--black);
}

.section-light strong {
  color: var(--black);
}

.section-light a {
  color: var(--black);
  border-color: transparent;
}

.section-light a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.section-light .meta {
  color: var(--gray-500);
}

/* Section label — small accent line + text */
.section-label {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  font-family: var(--font-headline);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--accent);
}

.section-label::before {
  content: '';
  width: 2rem;
  height: 2px;
  background: var(--accent);
  flex-shrink: 0;
}

.section-label + h2 {
  margin-top: 0;
}

.section-light .section-label {
  color: var(--accent);
}

.section h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  margin-bottom: 2.5rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.section h3 {
  font-family: var(--font-headline);
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.meta {
  color: var(--gray-500);
  font-size: 0.875rem;
  text-transform: none;
  letter-spacing: 0;
}

.accent {
  color: var(--accent);
}

/* ==========================================================================
   CARDS
   ========================================================================== */

.card {
  border: 1px solid var(--gray-800);
  padding: 2rem;
  background: var(--dark-card);
  border-radius: var(--radius);
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.section-light .card {
  border-color: #e8e8e8;
  background: var(--white);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.section-light .card:hover {
  border-color: #d0d0d0;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.card h3 {
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--gray-800);
}

.section-light .card h3 {
  border-color: #e8e8e8;
}

.card ul {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.card li {
  font-size: 1rem;
  line-height: 1.65;
}

/* ==========================================================================
   TIMELINE (Jahresplan)
   ========================================================================== */

.timeline {
  display: grid;
  gap: 1.75rem;
}

.timeline-group {
  display: grid;
  gap: 0.25rem;
}

.timeline-month {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--accent);
  padding-bottom: 0.625rem;
  margin-bottom: 0.25rem;
  border-bottom: 1px solid var(--gray-800);
}

.timeline-item {
  display: flex;
  gap: 1.5rem;
  padding: 0.625rem 0.75rem;
  font-size: 1rem;
  color: var(--gray-300);
  line-height: 1.5;
  border-radius: var(--radius);
  transition: background 0.3s, color 0.3s;
}

.timeline-item:hover {
  background: rgba(255, 255, 255, 0.03);
  color: var(--white);
}

.timeline-item.highlight {
  color: var(--white);
  font-weight: 500;
  background: var(--accent-glow);
  border-left: 3px solid var(--accent);
}

.timeline-date {
  flex-shrink: 0;
  width: 8.5rem;
  font-weight: 500;
  color: var(--gray-400);
  font-variant-numeric: tabular-nums;
  font-size: 0.9375rem;
}

/* ==========================================================================
   VIDEO EMBEDS
   ========================================================================== */

.video-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  background: var(--dark-mid);
  border-radius: var(--radius);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.video-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Lite YouTube — thumbnail + play button, loads iframe on click */
.lite-yt {
  cursor: pointer;
}

.lite-yt img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lite-yt-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: none;
  background: none;
  cursor: pointer;
  z-index: 1;
  opacity: 0.85;
  transition: opacity 0.2s, transform 0.2s;
}

.lite-yt-play svg {
  width: 68px;
  height: 48px;
}

.lite-yt:hover .lite-yt-play {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.1);
}

/* ==========================================================================
   SUPPORT LINKS
   ========================================================================== */

.support-links {
  list-style: none;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.support-links li {
  line-height: 1.65;
}

.support-links a {
  color: var(--accent) !important;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.support-links a:hover {
  border-color: var(--accent) !important;
}

.support-links a strong {
  color: var(--accent);
}

.support-links .link-arrow {
  display: inline-block;
  transition: transform 0.2s;
  margin-left: 0.125rem;
}

.support-links a:hover .link-arrow {
  transform: translateX(3px);
}

/* ==========================================================================
   DONATE / BANK DETAILS
   ========================================================================== */

.bank-details {
  margin-top: 1.25rem;
  padding: 1.75rem;
  border: 2px solid var(--black);
  border-radius: var(--radius);
  background: var(--off-white);
  font-variant-numeric: tabular-nums;
}

.bank-details p {
  margin-bottom: 0.1875rem;
  font-size: 1rem;
  line-height: 1.65;
}

.donate-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1.25rem;
}

.donate-row .bank-details {
  margin-top: 0;
  width: min(480px, 100%);
  flex-shrink: 0;
}

.donate-qr {
  flex-shrink: 0;
}

.donate-qr img {
  width: 120px;
  height: 120px;
  border-radius: var(--radius);
}

.donate-qr-hint {
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--gray-500);
  max-width: 14rem;
  margin: 0;
}

.section-light .donate-qr-hint {
  color: #595959;
}

@media (max-width: 768px) {
  .donate-row {
    flex-direction: column;
    align-items: stretch;
  }

  .donate-qr {
    display: flex;
    align-items: center;
    gap: 1rem;
  }

  .donate-qr img {
    width: 100px;
    height: 100px;
  }
}

/* ==========================================================================
   PARTNERS (homepage section)
   ========================================================================== */

.partner-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: center;
  justify-content: center;
}

.partner-logo {
  padding: 1.125rem 1.75rem;
  border: 1px solid var(--gray-800);
  border-radius: var(--radius);
  font-family: var(--font-headline);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-400);
  transition: all 0.3s;
}

.partner-logo:hover {
  border-color: var(--accent);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px var(--accent-glow);
}

/* ==========================================================================
   SOCIAL LINKS
   ========================================================================== */

.social-links {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.social-links li {
  border-bottom: 1px solid var(--gray-800);
}

.social-links li:last-child {
  border-bottom: none;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.875rem 0;
  font-weight: 400;
  font-size: 1rem;
  color: var(--gray-300);
  border: none;
  transition: color 0.3s, padding-left 0.3s;
}

.social-links a::after {
  content: '\2192';
  opacity: 0;
  transform: translateX(-0.5rem);
  transition: opacity 0.3s, transform 0.3s;
}

.social-links a:hover {
  color: var(--accent);
  padding-left: 0.5rem;
}

.social-links a:hover::after {
  opacity: 1;
  transform: translateX(0);
}

/* ==========================================================================
   PAGE HERO (header image)
   ========================================================================== */

.page-hero {
  position: relative;
  height: 55vh;
  min-height: 360px;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin-top: 4.5rem;
}

.page-hero-plain {
  background: var(--dark);
  min-height: 220px;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.15) 0%,
    rgba(0, 0, 0, 0.65) 75%,
    rgba(10, 10, 10, 1) 100%
  );
}

.page-hero-content {
  position: relative;
  z-index: 2;
  padding-bottom: 2.5rem;
}

.page-hero-content h1 {
  font-size: clamp(2.25rem, 5.5vw, 4rem);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  animation: hero-fade-in 1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* ==========================================================================
   PAGE BODY (subpages)
   ========================================================================== */

.page-body {
  padding-top: 3.5rem;
  padding-bottom: 5rem;
  color: var(--black);
}

.page-body p {
  margin-bottom: 1rem;
  font-size: 1.0625rem;
  line-height: 1.85;
  color: #444;
}

.page-body h2 {
  margin-top: 3.5rem;
  margin-bottom: 1.25rem;
  color: var(--black);
}

.page-body h2:first-child,
.page-body .section-label + h2 {
  margin-top: 0;
}

.page-body h3 {
  margin-top: 2.25rem;
  margin-bottom: 0.75rem;
  color: var(--black);
}

.page-body strong {
  color: var(--black);
}

.page-body a {
  color: var(--accent);
  border-color: transparent;
}

.page-body a:hover {
  border-color: var(--accent);
}

.page-body ul {
  margin-bottom: 1.5rem;
  padding-left: 1.25rem;
  list-style: disc;
}

.page-body li {
  margin-bottom: 0.375rem;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: #444;
}

.page-body li::marker {
  color: var(--accent);
}

/* Document download buttons */
.doc-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

/* Dark page sections (multi-section pages like Verein) */
.page-body-dark {
  color: var(--gray-300);
}

.page-body-dark p {
  margin-bottom: 1rem;
  font-size: 1.0625rem;
  line-height: 1.85;
}

.page-body-dark h2 {
  color: var(--white);
}

.page-body-dark ul {
  margin-bottom: 1.5rem;
  padding-left: 1.25rem;
  list-style: disc;
}

.page-body-dark li {
  margin-bottom: 0.375rem;
  font-size: 1.0625rem;
  line-height: 1.7;
}

.page-body-dark li::marker {
  color: var(--accent);
}

/* Section photo (container width) */
.verein-photo {
  overflow: hidden;
  border-radius: var(--radius);
  margin-bottom: 2rem;
}

.verein-photo img {
  width: 100%;
  height: auto;
  display: block;
}

/* Membership card grid */
.membership-grid {
  margin-top: 2rem;
}

.membership-grid .card ul {
  padding-left: 1.25rem;
  list-style: disc;
}

.membership-grid .card li {
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 0.375rem;
}

/* ==========================================================================
   SUPPORTER LOGO GRID
   ========================================================================== */

.supporter-logos {
  margin-top: 3rem;
}

.supporter-logos h3 {
  margin-bottom: 1.5rem;
}

.supporter-logo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  align-items: center;
}

.supporter-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.3s, background 0.3s, transform 0.3s;
  aspect-ratio: 3 / 2;
}

.supporter-logo-item:hover {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-2px);
}

.supporter-logo-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.7;
  transition: opacity 0.3s;
}

.supporter-logo-item:hover img {
  opacity: 1;
}

/* Light section variant */
.section-light .supporter-logo-item {
  border-color: #e8e8e8;
  background: var(--off-white);
}

.section-light .supporter-logo-item:hover {
  border-color: var(--accent);
  background: var(--white);
}

.section-light .supporter-logo-item img {
  filter: none;
  opacity: 0.6;
}

.section-light .supporter-logo-item:hover img {
  opacity: 1;
}

@media (max-width: 768px) {
  .supporter-logo-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .supporter-logo-item {
    padding: 0.75rem;
  }
}

/* ==========================================================================
   PARTNER LOGO SLIDER
   ========================================================================== */

.partner-slider {
  background: var(--dark-mid);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding: 2.5rem 0;
  overflow: hidden;
}

.partner-slider-track {
  display: flex;
  align-items: center;
  gap: 4rem;
  width: max-content;
  will-change: transform;
}

@keyframes slider-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(var(--slider-width)); }
}

.partner-slider-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 2.5rem;
}

.partner-slider-item img {
  height: 100%;
  width: auto;
  object-fit: contain;
  opacity: 0.3;
  filter: brightness(0) invert(1);
  transition: opacity 0.4s, transform 0.4s;
}

.partner-slider-item img:hover {
  opacity: 0.9;
  transform: scale(1.1);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
  background: var(--black);
  color: var(--gray-600);
  padding: 3.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.9375rem;
  line-height: 1.65;
}

.footer-logo {
  display: block;
  margin-bottom: 0.75rem;
}

.site-footer .logo-img {
  height: 2rem;
  opacity: 0.4;
  filter: none;
  transition: opacity 0.3s;
}

.site-footer .logo-img:hover {
  opacity: 0.8;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2.5rem;
}

.site-footer a {
  color: var(--gray-600);
  border-color: transparent;
}

.site-footer a:hover {
  color: var(--white);
  border-color: var(--accent);
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

/* ==========================================================================
   BUTCHER JAM — Feature section
   ========================================================================== */

.section-butcherjam {
  position: relative;
  background: var(--black);
  color: var(--white);
  padding: 0 0 5rem;
}

/* Full-bleed photo */
.bj-photo {
  width: 100%;
  overflow: hidden;
}

.bj-photo img {
  width: 100%;
  height: 50vh;
  min-height: 320px;
  object-fit: cover;
  display: block;
  filter: contrast(1.05) saturate(1.1);
}

/* Content area */
.bj-content {
  padding-top: 1px;
  padding-bottom: 0;
  text-align: center;
  position: relative;
}

/* Logo */
.bj-logo {
  margin-top: -3.5rem;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
}

.bj-logo img {
  width: min(90%, 480px);
  height: auto;
}

/* Date — big, bold, accent-colored */
.bj-date {
  font-family: var(--font-headline);
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  color: var(--accent);
  letter-spacing: 0.04em;
  margin-bottom: 2rem;
}

/* Activity tags — scattered pill layout */
.bj-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.625rem;
  margin-bottom: 2.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.bj-tag {
  font-family: var(--font-headline);
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.5rem 1.25rem;
  border: 1.5px solid var(--white);
  color: var(--white);
  transition: all 0.3s ease;
}

.bj-tag:nth-child(odd) {
  transform: rotate(-1deg);
}

.bj-tag:nth-child(even) {
  transform: rotate(1deg);
}

.bj-tag:nth-child(3n) {
  border-color: var(--accent);
  color: var(--accent);
}

/* Tag hover — fill animation */
.bj-tag:hover {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
  transform: rotate(0deg) scale(1.05);
}

.bj-tag:nth-child(3n):hover {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

/* Tagline */
.bj-tagline {
  font-size: 1.25rem;
  font-style: italic;
  color: var(--gray-400);
  margin-bottom: 2.5rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* Video buttons */
.bj-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.bj-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.bj-play-icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

/* Staggered tag entrance animation */
.section-butcherjam .bj-tag {
  opacity: 0;
  transform: translateY(12px) rotate(0deg);
  transition: opacity 0.4s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.section-butcherjam .visible .bj-tag {
  opacity: 1;
}

.section-butcherjam .visible .bj-tag:nth-child(1) { transition-delay: 0.05s; transform: translateY(0) rotate(-1deg); }
.section-butcherjam .visible .bj-tag:nth-child(2) { transition-delay: 0.1s; transform: translateY(0) rotate(1deg); }
.section-butcherjam .visible .bj-tag:nth-child(3) { transition-delay: 0.15s; transform: translateY(0) rotate(-1deg); }
.section-butcherjam .visible .bj-tag:nth-child(4) { transition-delay: 0.2s; transform: translateY(0) rotate(1deg); }
.section-butcherjam .visible .bj-tag:nth-child(5) { transition-delay: 0.25s; transform: translateY(0) rotate(-1deg); }
.section-butcherjam .visible .bj-tag:nth-child(6) { transition-delay: 0.3s; transform: translateY(0) rotate(1deg); }

/* Buttons on dark bg */
.section-butcherjam .btn-accent:hover {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}

.section-butcherjam .btn-outline {
  color: var(--white);
  border-color: var(--white);
}

.section-butcherjam .btn-outline:hover {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 768px) {
  :root {
    --gap: 1.5rem;
  }

  body {
    font-size: 1rem;
  }

  .menu-toggle {
    display: flex;
  }

  /* Remove backdrop-filter so fixed children work correctly */
  .site-header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: #000;
  }

  .site-nav {
    display: none;
  }

  .site-nav.open {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    position: fixed;
    top: 4.5rem;
    left: 0;
    right: 0;
    bottom: 0;
    background: #000;
    padding: 3rem 1.5rem;
    z-index: 999;
  }

  .site-nav a {
    font-size: 1.25rem;
    color: var(--white);
  }

  /* Hide Sportpiraten + Schlachthof logos from header, keep only skull */
  .logo-group .logo-spacer,
  .logo-group .logo-link:not(:first-child) {
    display: none;
  }

  /* Show logos inside flyout nav */
  .site-nav .nav-logos {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-logos .logo-img {
    height: 1.5rem;
    filter: brightness(0) invert(1);
  }

  .nav-logos .logo-spacer {
    display: block;
    width: 1px;
    height: 1.5rem;
    background: rgba(255, 255, 255, 0.2);
  }

  .hero {
    min-height: 100svh;
  }

  .hero-logos {
    gap: 2.5rem;
  }

  .hero-logo {
    height: clamp(30px, 8vw, 45px);
  }

  .hero-sub {
    font-size: 1.0625rem;
    padding: 0 1rem;
  }

  .hero-scroll {
    display: none;
  }

  .section {
    padding: 4rem 0;
  }

  .section h2 {
    font-size: clamp(1.5rem, 6vw, 2rem);
    margin-bottom: 1.5rem;
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .timeline-item {
    flex-direction: column;
    gap: 0.125rem;
    padding: 0.5rem;
  }

  .timeline-date {
    width: auto;
    font-size: 0.8125rem;
  }

  .footer-grid {
    flex-direction: column;
  }

  .partner-logos {
    gap: 0.75rem;
  }

  .partner-logo {
    padding: 0.875rem 1.25rem;
    font-size: 0.6875rem;
  }

  .page-hero {
    height: 45vh;
    min-height: 280px;
  }

  .page-hero-content h1 {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
  }

  .page-body p,
  .page-body li {
    font-size: 1rem;
  }

  .bj-photo img {
    height: 35vh;
    min-height: 220px;
  }

  .bj-content {
    padding-top: 0;
    padding-bottom: 0;
  }

  .bj-logo {
    margin-top: -2.5rem;
  }

  .bj-logo img {
    width: min(85%, 320px);
  }

  .bj-tag {
    font-size: 0.6875rem;
    padding: 0.375rem 0.875rem;
  }

  .bj-buttons {
    flex-direction: column;
    align-items: center;
  }

  /* Buttons — smaller padding on mobile */
  .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.75rem;
  }

  .doc-buttons {
    flex-direction: column;
  }

  .doc-buttons .btn {
    text-align: center;
  }

  /* Logo group — smaller on mobile */
  .logo-group {
    gap: 0.5rem;
  }

  .logo-img {
    height: 1.125rem;
  }

  .logo-skull {
    height: 2rem;
  }

  .logo-spacer {
    height: 1.125rem;
  }

  /* Bank details — prevent IBAN overflow */
  .bank-details {
    padding: 1.25rem;
    font-size: 0.875rem;
    word-break: break-all;
  }

  /* Support links in grid */
  .support-links li {
    font-size: 0.9375rem;
  }

  /* Map hotspots — larger tap target on mobile */
  .map-hotspot {
    width: 1.75rem;
    height: 1.75rem;
  }

  /* Supporter logo grid — 2 columns on mobile */
  .supporter-logo-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Social links */
  .social-links {
    font-size: 0.9375rem;
  }
}

/* Tablet breakpoint */
@media (min-width: 769px) and (max-width: 1024px) {
  .container {
    padding: 0 2rem;
  }

  .supporter-logo-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .logo-img {
    height: 1.25rem;
  }

  .logo-skull {
    height: 2.25rem;
  }
}

/* Very small screens */
@media (max-width: 380px) {
  .container {
    padding: 0 1rem;
  }

  .countdown {
    gap: 0.5rem;
  }

  .countdown-unit {
    min-width: 3rem;
  }

  .countdown-number {
    font-size: 1.25rem;
  }

  .stat-number {
    font-size: 1.75rem;
  }

  .bj-tag {
    font-size: 0.625rem;
    padding: 0.25rem 0.625rem;
  }
}

/* ==========================================================================
   SCROLL PROGRESS BAR
   ========================================================================== */

.scroll-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: var(--accent);
  width: 0%;
  z-index: 101;
  pointer-events: none;
}

/* ==========================================================================
   FLOATING SECTION LABEL
   ========================================================================== */

.floating-label {
  position: fixed;
  left: 1.25rem;
  top: 50%;
  transform: rotate(-90deg) translateX(-50%);
  transform-origin: left center;
  font-family: var(--font-headline);
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--accent);
  z-index: 50;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .floating-label {
    display: none;
  }
}

/* ==========================================================================
   BLUR-UP IMAGE LOADING
   ========================================================================== */

.blur-up {
  filter: blur(15px);
  transition: filter 0.6s ease;
}

.blur-up.loaded {
  filter: blur(0);
}

/* ==========================================================================
   COUNTER STATS
   ========================================================================== */

.stats-row {
  display: flex;
  gap: 3rem;
  margin-top: 2.5rem;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-headline);
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--accent);
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.25rem;
}

@media (max-width: 768px) {
  .stats-row {
    flex-direction: column;
    gap: 1.5rem;
  }
}

/* ==========================================================================
   BUTCHER JAM COUNTDOWN
   ========================================================================== */

.countdown {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 4.5rem;
}

.countdown-number {
  font-family: var(--font-headline);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  color: var(--white);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.countdown-label {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gray-400);
  margin-top: 0.375rem;
}

.cd-message {
  display: none;
  font-family: var(--font-headline);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  color: var(--accent);
  text-align: center;
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .countdown {
    gap: 0.75rem;
  }

  .countdown-unit {
    min-width: 3.5rem;
  }
}

/* ==========================================================================
   LIGHTBOX GALLERY
   ========================================================================== */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.gallery-item {
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  opacity: 0;
  transition: opacity 0.3s;
}

.gallery-item:hover::after {
  opacity: 1;
}

/* Lightbox overlay */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.lightbox.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  font-size: 2.5rem;
  line-height: 1;
  padding: 0.5rem;
  opacity: 0.6;
  transition: opacity 0.2s;
  z-index: 201;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  opacity: 1;
}

.lightbox-close {
  top: 1.5rem;
  right: 1.5rem;
  font-size: 3rem;
}

.lightbox-prev {
  left: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 3.5rem;
}

.lightbox-next {
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 3.5rem;
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .lightbox-prev,
  .lightbox-next {
    display: none; /* use swipe on mobile */
  }
}

/* ==========================================================================
   WEATHER WIDGET
   ========================================================================== */

.weather-widget {
  display: none; /* shown by JS when data loads */
  margin-top: 1.5rem;
}

.weather-status {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
  font-size: 0.9375rem;
}

.weather-status--dry {
  border: 1px solid rgba(80, 200, 120, 0.3);
  background: rgba(80, 200, 120, 0.08);
  color: #50c878;
}

.weather-status--wet {
  border: 1px solid rgba(236, 30, 142, 0.3);
  background: rgba(236, 30, 142, 0.08);
  color: var(--accent);
}

.weather-icon {
  font-size: 1.25rem;
}

.weather-temp {
  font-family: var(--font-headline);
  font-weight: 700;
}

/* ==========================================================================
   INTERACTIVE MAP HOTSPOTS
   ========================================================================== */

.map-wrap {
  position: relative;
  border-radius: var(--radius);
  margin-bottom: 2rem;
}

.map-img {
  width: 100%;
  height: auto;
  display: block;
}

.map-hotspot {
  position: absolute;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--white);
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition: transform 0.2s, box-shadow 0.2s;
  z-index: 2;
  box-shadow: 0 0 0 0 rgba(236, 30, 142, 0.4);
  animation: hotspot-pulse 2s ease-in-out infinite;
}

.map-hotspot:hover {
  transform: translate(-50%, -50%) scale(1.3);
  box-shadow: 0 0 12px rgba(236, 30, 142, 0.6);
  animation: none;
}

@keyframes hotspot-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(236, 30, 142, 0.4); }
  50% { box-shadow: 0 0 0 8px rgba(236, 30, 142, 0); }
}

.map-tooltip {
  position: absolute;
  padding: 0.625rem 1rem;
  background: var(--black);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  color: var(--white);
  font-size: 0.8125rem;
  line-height: 1.5;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
  z-index: 3;
  max-width: 220px;
  white-space: normal;
}

.map-tooltip.visible {
  opacity: 1;
}

.map-tooltip strong {
  display: block;
  color: var(--accent);
  font-family: var(--font-headline);
  margin-bottom: 0.125rem;
}

@media (max-width: 768px) {
  .map-hotspot {
    width: 1.25rem;
    height: 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .map-hotspot {
    animation: none;
  }
}

/* ==========================================================================
   INSTAGRAM GRID
   ========================================================================== */

.insta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-top: 2rem;
}

.insta-item {
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 1;
  position: relative;
}

.insta-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.insta-item:hover img {
  transform: scale(1.08);
}

.insta-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  opacity: 0;
  transition: opacity 0.3s;
}

.insta-item:hover::after {
  opacity: 1;
}

@media (max-width: 768px) {
  .insta-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================================================
   COOKIE BANNER
   ========================================================================== */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 500;
  background: var(--dark-mid);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.25rem var(--gap);
}

.cookie-banner.hidden {
  display: none;
}

.cookie-banner-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.cookie-banner p {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--gray-300);
  margin: 0;
}

.cookie-banner a {
  color: var(--accent);
  border-bottom: 1px solid transparent;
}

.cookie-banner a:hover {
  border-color: var(--accent);
}

.cookie-banner-buttons {
  flex-shrink: 0;
}

.cookie-banner .btn {
  padding: 0.625rem 1.5rem;
  font-size: 0.75rem;
}

@media (max-width: 768px) {
  .cookie-banner-inner {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
}

/* ==========================================================================
   HIGH CONTRAST MODE
   ========================================================================== */

.contrast-toggle {
  background: none;
  border: 1px solid var(--gray-600);
  color: var(--gray-400);
  padding: 0.375rem 0.75rem;
  font-size: 0.6875rem;
  font-family: var(--font-headline);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  border-radius: var(--radius);
  transition: border-color 0.2s, color 0.2s;
}

.contrast-toggle:hover,
.contrast-toggle:focus-visible {
  border-color: var(--accent);
  color: var(--white);
}

.high-contrast .contrast-toggle {
  background: #fff;
  color: #000;
  border-color: #fff;
}

/* High contrast overrides — triggered by .high-contrast class or OS preference */
.high-contrast {
  --accent: #ffff00;
  --accent-glow: rgba(255, 255, 0, 0.15);
  --gray-300: #fff;
  --gray-400: #ddd;
  --gray-500: #ccc;
  --gray-600: #aaa;
}

.high-contrast,
.high-contrast body {
  background: #000 !important;
  color: #fff !important;
}

.high-contrast .section-light,
.high-contrast .section-light .card {
  background: #000 !important;
  color: #fff !important;
  border-color: #fff !important;
}

.high-contrast .section-light h2,
.high-contrast .section-light h3,
.high-contrast .section-light strong,
.high-contrast .page-body,
.high-contrast .page-body p,
.high-contrast .page-body li,
.high-contrast .page-body h2,
.high-contrast .page-body h3,
.high-contrast .page-body strong {
  color: #fff !important;
}

.high-contrast .section-light a,
.high-contrast .page-body a {
  color: #ffff00 !important;
}

.high-contrast a {
  color: #ffff00 !important;
}

.high-contrast a:hover {
  color: #fff !important;
}

.high-contrast .btn {
  border-width: 2px !important;
}

.high-contrast .btn-primary {
  background: #fff !important;
  color: #000 !important;
  border-color: #fff !important;
}

.high-contrast .btn-primary:hover {
  background: #ffff00 !important;
  color: #000 !important;
  border-color: #ffff00 !important;
}

.high-contrast .btn-accent {
  background: #ffff00 !important;
  color: #000 !important;
  border-color: #ffff00 !important;
}

.high-contrast .btn-accent:hover {
  background: #fff !important;
  color: #000 !important;
  border-color: #fff !important;
}

.high-contrast .btn-outline {
  background: transparent !important;
  color: #fff !important;
  border-color: #fff !important;
}

.high-contrast .btn-outline:hover {
  background: #fff !important;
  color: #000 !important;
  border-color: #fff !important;
}

.high-contrast .section-label {
  color: #ffff00 !important;
}

.high-contrast .accent,
.high-contrast .stat-number {
  color: #ffff00 !important;
}

.high-contrast .card {
  border-color: #fff !important;
  background: #111 !important;
}

.high-contrast .bank-details {
  border-color: #fff !important;
  background: #111 !important;
  color: #fff !important;
}

.high-contrast .bank-details p {
  color: #fff !important;
}

.high-contrast .site-header {
  background: #000 !important;
  border-bottom-color: #fff !important;
}

.high-contrast .hero-overlay {
  background: rgba(0, 0, 0, 0.7) !important;
}

.high-contrast .bj-tag {
  border-color: #fff !important;
  color: #fff !important;
}

.high-contrast .bj-tag:hover,
.high-contrast .bj-tag:nth-child(3n):hover {
  background: #ffff00 !important;
  color: #000 !important;
  border-color: #ffff00 !important;
}

.high-contrast .timeline-item {
  border-color: rgba(255, 255, 255, 0.2) !important;
}

.high-contrast .timeline-item.highlight {
  color: #ffff00 !important;
}

.high-contrast .cookie-banner {
  background: #000 !important;
  border-color: #fff !important;
}

.high-contrast .cookie-banner p {
  color: #fff !important;
}

.high-contrast .partner-slider {
  background: #000 !important;
}

.high-contrast .partner-slider-item img {
  filter: brightness(0) invert(1) !important;
  opacity: 1 !important;
}

.high-contrast .map-hotspot {
  background: #ffff00 !important;
  border-color: #000 !important;
}

.high-contrast .weather-status--dry {
  border-color: #0f0 !important;
  color: #0f0 !important;
  background: transparent !important;
}

.high-contrast .weather-status--wet {
  border-color: #f00 !important;
  color: #f00 !important;
  background: transparent !important;
}

/* Auto-activate for OS-level high contrast preference */
@media (prefers-contrast: more) {
  :root {
    --gray-300: #fff;
    --gray-400: #ddd;
    --gray-500: #ccc;
    --accent: #ffff00;
  }
}

/* ==========================================================================
   PREFERS REDUCED MOTION
   ========================================================================== */

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

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero-scroll-line {
    animation: none;
  }

  .blur-up {
    filter: none;
  }

  .partner-slider-track {
    animation: none;
  }
}
