@import url("https://fonts.googleapis.com/css2?family=Oswald:wght@400;600;700&family=Source+Sans+3:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap");

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  /* Brand */
  --red-primary: #AA151B;
  --red-dark: #841115;
  --red-deep: #5C0C10;
  --red-light: #fce8ea;
  --gold: #f1bf00;
  --gold-dark: #c49800;
  --gold-soft: #fde68a;
  --red-accent: #AA151B;

  /* Neutral */
  --text-main: #1a0508;
  --text-muted: #7a3a3e;
  --surface: white;
  --body-background: var(--gold-soft);
  --surface-3: rgba(241, 191, 0, 0.08);
  --border: #f0c9cb;
  --border-strong: #d98a8e;

  /* Shadows */
  --shadow-xs: 0 1px 4px rgba(92, 12, 16, 0.07);
  --shadow-sm: 0 2px 8px rgba(92, 12, 16, 0.09);
  --shadow: 0 4px 16px rgba(92, 12, 16, 0.11);
  --shadow-lg: 0 10px 30px rgba(92, 12, 16, 0.14);
  --shadow-xl: 0 20px 50px rgba(92, 12, 16, 0.18);

  /* Layout */
  --container: 1140px;
  --radius-xs: 6px;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;

  /* Animation */
  --t-fast: 0.15s ease;
  --t-base: 0.25s ease;
  --t-slow: 0.4s ease;

  /* Legacy aliases kept for safety */
  --mint: #fce0e2;

  /* Gradients */
  --header-gradient: linear-gradient(90deg, var(--red-dark) 0%, var(--red-primary) 100%);
  --hero-gradient: linear-gradient(135deg, var(--red-accent) 0%, var(--gold-soft) 100%);
  --overlay-gradient: linear-gradient(108deg,
      #5c0c10ed 0%,
      #841115d1 38%,
      #aa1517a6 58%,
      #f1bf008c 80%,
      #fde68a 100%);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Firefox button reset � removes -moz-focus-inner padding that causes nav sizing differences */
button::-moz-focus-inner {
  border: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
}

body {
  font-family: "Source Sans 3", "Segoe UI", Tahoma, sans-serif;
  font-size: 16px;
  color: var(--text-main);
  line-height: 1.65;
  background: #fdf5f5;
  min-height: 100vh;
}

a {
  color: var(--red-primary);
  text-decoration: none;
  transition: color var(--t-fast);
}

a:hover {
  color: var(--red-dark);
}

h1,
h2,
h3,
h4 {
  font-family: "Source Sans 3", sans-serif;
  letter-spacing: 0.3px;
  line-height: 1.2;
}

h1 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: var(--red-deep);
  margin: 0 0 20px;
}

h2 {
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  color: var(--red-primary);
  margin: 24px 0 10px;
}

h3 {
  font-size: 1.05rem;
  color: var(--text-main);
  margin: 16px 0 8px;
}

p {
  margin: 0 0 14px;
}

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

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ============================================================
   SKIP LINK
   ============================================================ */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 9999;
  background: var(--gold);
  color: var(--red-deep);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 8px 18px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
}

/* ============================================================
   PAGE WRAPPER
   ============================================================ */
#page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ============================================================
   STICKY TOPBAR (header + nav scroll together)
   ============================================================ */
#site-topbar {
  position: sticky;
  top: 0;
  z-index: 110;
}

/* Anchor scroll offset so links land below the sticky header+nav */
[id] {
  scroll-margin-top: 140px;
}

/* ============================================================
   HEADER
   ============================================================ */
#header {
  position: relative;
  background: linear-gradient(125deg, var(--red-deep) 0%, var(--red-dark) 50%, #770D12 100%);
  overflow: hidden;
}

#header::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 92% 50%, rgba(241, 191, 0, 0.22) 0%, transparent 50%),
    radial-gradient(ellipse at 5% 50%, rgba(255, 255, 255, 0.04) 0%, transparent 40%);
  pointer-events: none;
}

#header-inner {
  position: relative;
  z-index: 1;
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 0;
}

.site-title {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.06;
  font-family: "Source Sans 3", sans-serif;
  text-transform: uppercase;
  text-decoration: none;
  transition: opacity var(--t-fast);
  flex: 0 0 auto;
}

.site-title:hover {
  opacity: 0.88;
}

.site-title-line {
  display: block;
}

.site-title-line+.site-title-line {
  margin-top: 0.288rem;
}

.site-title-line-red {
  color: var(--red-accent);
  font-size: clamp(0.702rem, 1.53vw, 1.08rem);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
  text-align: justify;
  text-align-last: justify;
}

.site-title-line-gold {
  color: var(--gold);
  font-size: clamp(0.576rem, 2.7vw, 1.89rem);
  letter-spacing: 0.5px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

.header-logo {
  flex-shrink: 0;
}

.header-logo img {
  width: auto;
  height: clamp(50px, 7.5vw, 88px);
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.35));
}

/* Alias for old .top-actions wrapper */
.top-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-visits {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 6px 14px;
  border-radius: var(--radius-xs);
  background: rgba(0, 0, 0, 0.18);
  border: 1px solid rgba(241, 191, 0, 0.25);
  flex-shrink: 0;
}

.header-visits-label {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
  white-space: nowrap;
}

.header-visits-count {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gold-soft);
  letter-spacing: 0.5px;
  line-height: 1;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
#nav {
  position: relative;
  z-index: 1;
  background: rgba(94, 10, 15, 0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 2px solid rgba(241, 191, 0, 0.38);
  box-shadow: 0 4px 18px rgba(69, 8, 11, 0.3);
  transition: box-shadow var(--t-base);
}

#nav.is-scrolled {
  box-shadow: 0 6px 28px rgba(69, 8, 11, 0.5);
}

#nav-inner {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
  display: flex;
  align-items: center;
}

/* Hamburger */
.nav-toggle {
  display: none;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  align-items: center;
  gap: 10px;
  width: 100%;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  border-radius: var(--radius-sm);
  font-family: "Source Sans 3", sans-serif;
  font-size: 14px;
  font-weight: 600;
  /* text-transform: uppercase; */
  letter-spacing: 0.5px;
  padding: 10px 14px;
  margin: 8px 0;
  cursor: pointer;
  line-height: 1;
  transition: background var(--t-fast), border-color var(--t-fast);
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.07);
}

.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 20px;
  height: 18px;
  flex-shrink: 0;
}

.hamburger span {
  display: block;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  width: 100%;
  transition: transform var(--t-base), opacity var(--t-base), width var(--t-fast);
}

.nav-toggle[aria-expanded="true"] .hamburger span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .hamburger span:nth-child(2) {
  opacity: 0;
  width: 0;
}

.nav-toggle[aria-expanded="true"] .hamburger span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Nav list */
.main-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: stretch;
  flex-wrap: nowrap;
  gap: 0;
  width: 100%;
}

.main-nav-list>li {
  position: relative;
}

.main-nav-list a {
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.88);
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.87rem;
  letter-spacing: 0.3px;
  /* text-transform: uppercase; */
  padding: 14px 11px;
  white-space: nowrap;
  line-height: 1;
  transition: color var(--t-fast), background var(--t-fast);
  position: relative;
}

.main-nav-list a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 8px;
  right: 8px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px 2px 0 0;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--t-base);
}

.main-nav-list>li.active>a,
.main-nav-list a:hover {
  color: var(--gold);
  background: rgba(241, 191, 0, 0.07);
}

.main-nav-list>li.active>a::after,
.main-nav-list a:hover::after {
  transform: scaleX(1);
}

/* Nav parent button � submenu-only trigger, no page navigation */
.main-nav-list>li>.nav-parent-btn {
  display: flex;
  align-items: center;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: transparent;
  border: none;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.88);
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.87rem;
  letter-spacing: 0.3px;
  padding: 14px 11px;
  white-space: nowrap;
  line-height: 1;
  transition: color var(--t-fast), background var(--t-fast);
  position: relative;
}

.main-nav-list>li>.nav-parent-btn::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 8px;
  right: 8px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px 2px 0 0;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--t-base);
}

.main-nav-list>li.active>.nav-parent-btn,
.main-nav-list>li>.nav-parent-btn:hover {
  color: var(--gold);
  background: rgba(241, 191, 0, 0.07);
}

.main-nav-list>li.active>.nav-parent-btn::after,
.main-nav-list>li>.nav-parent-btn:hover::after,
.main-nav-list>li.submenu-open>.nav-parent-btn::after {
  transform: scaleX(1);
}

.main-nav-list>li.submenu-open>.nav-parent-btn .nav-chevron {
  transform: rotate(180deg);
}

/* Dropdown */
.main-nav-list>li>ul {
  list-style: none;
  margin: 0;
  padding: 6px;
  position: absolute;
  left: 0;
  top: 100%;
  min-width: 220px;
  background: rgba(77, 9, 12, 0.98);
  border: 1px solid rgba(241, 191, 0, 0.32);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xl);
  z-index: 200;
  display: none;
  animation: dropIn 0.17s ease;
}

@keyframes dropIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Submenus are shown/hidden exclusively via JS (.submenu-open) — no CSS :hover trigger */
.main-nav-list>li.submenu-open>ul {
  display: block;
}

.main-nav-list>li>ul a {
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.9rem;
  text-transform: none;
  letter-spacing: normal;
  padding: 9px 13px;
  border-radius: var(--radius-sm);
  white-space: normal;
}

.main-nav-list>li>ul a::after {
  display: none;
}

.main-nav-list>li>ul a:hover {
  background: rgba(241, 191, 0, 0.12);
  color: var(--gold);
}

/* Language switcher — integrated as regular nav item */
.language-menu {
  margin-left: auto;
  position: relative;
}

.language-current {
  /* Reset button defaults */
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: transparent;
  border: none;
  cursor: pointer;
  /* Match nav link appearance */
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.88);
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.87rem;
  letter-spacing: 0.3px;
  /* text-transform: uppercase; */
  padding: 14px 11px;
  white-space: nowrap;
  line-height: 1;
  transition: color var(--t-fast), background var(--t-fast);
  position: relative;
}

.language-current::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 8px;
  right: 8px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px 2px 0 0;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--t-base);
}

.language-current:hover,
.language-menu.submenu-open .language-current {
  color: var(--gold);
  background: rgba(241, 191, 0, 0.07);
}

.language-current:hover::after,
.language-menu.submenu-open .language-current::after {
  transform: scaleX(1);
}

.language-dropdown {
  list-style: none;
  margin: 0;
  padding: 6px;
  position: absolute;
  right: 0;
  top: 100%;
  min-width: 180px;
  background: rgba(77, 9, 12, 0.98);
  border: 1px solid rgba(241, 191, 0, 0.32);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xl);
  z-index: 200;
  display: none;
  animation: dropIn 0.17s ease;
}

.language-menu.submenu-open .language-dropdown {
  display: block;
}

.language-dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 13px;
  border-radius: var(--radius-sm);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
  transition: background var(--t-fast), color var(--t-fast);
}

.language-dropdown a:hover,
.language-dropdown a.active {
  background: rgba(241, 191, 0, 0.13);
  color: var(--gold);
}

.flag-box {
  display: inline-flex;
  width: 22px;
  justify-content: center;
  flex-shrink: 0;
  align-items: center;
}

/* Inline SVG flag (replaces the old flag-icons webfont) */
.flag-box .fi {
  width: 1.3em;
  height: auto;
  aspect-ratio: 3 / 2;
  border-radius: 2px;
  flex-shrink: 0;
  display: block;
}

/* Inline SVG social icons (replaces Font Awesome <i> glyphs) */
.header-social-link>svg,
.footer-social-link>svg {
  width: 1em;
  height: 1em;
  display: block;
}

.nav-chevron {
  font-size: 0.62em;
  opacity: 0.75;
  margin-left: 1px;
  display: inline-block;
  transition: transform var(--t-base);
  line-height: 1;
  flex-shrink: 0;
}

.main-nav-list>li.submenu-open>a .nav-chevron,
.language-menu.submenu-open .language-current .nav-chevron {
  transform: rotate(180deg);
}

/* ============================================================
   MAIN CONTENT
   ============================================================ */
#content-wrapper {
  flex: 1;
}

.page-content {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
  padding: 36px 0 56px;
  animation: contentIn 0.3s ease both;
}

.page-content:empty {
  padding: 0;
  margin: 0;
  animation: none;
}

@keyframes contentIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Decorated page h1 */
.page-content>h1:first-child {
  font-size: clamp(1.5rem, 2.5vw, 2.05rem);
  color: var(--red-deep);
  padding-bottom: 14px;
  margin-bottom: 28px;
  border-bottom: 3px solid var(--red-primary);
  position: relative;
}

.page-content>h1:first-child::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 56px;
  height: 3px;
  background: var(--gold);
}

/* ============================================================
   HOME HERO
   ============================================================ */
.home-hero {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 32px;
  box-shadow: var(--shadow-lg);
  background: var(--hero-gradient);
}

.home-hero::before {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(241, 191, 0, 0.16) 0%, transparent 68%);
  pointer-events: none;
}

.home-hero-overlay {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  padding: 52px 40px;
}

.home-hero-text h1 {
  color: #fff;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  border: none;
  margin: 0 0 6px;
}

.home-hero-text h1::after {
  display: none;
}

.home-hero-text p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1rem;
  margin: 0;
}

/* ============================================================
   SECTION LABEL (accent bar)
   ============================================================ */
.section-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Source Sans 3", sans-serif;
  font-size: 1.1rem;
  color: var(--red-dark);
  /* text-transform: uppercase; */
  letter-spacing: 0.4px;
  margin: 0 0 14px;
}

.section-label::before {
  content: "";
  display: block;
  width: 4px;
  height: 20px;
  background: var(--gold);
  border-radius: 2px;
}

/* ============================================================
   MATCH CARDS
   ============================================================ */
.matches-section {
  margin-bottom: 28px;
}

.match-entry {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xs);
  padding: 16px 20px;
  margin-bottom: 12px;
  border-left: 4px solid var(--red-primary);
  transition: box-shadow var(--t-base), transform var(--t-base);
}

.match-entry:hover {
  box-shadow: var(--shadow);
  transform: translateX(3px);
}

.match-date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--red-light);
  color: var(--red-dark);
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  /* text-transform: uppercase; */
  letter-spacing: 0.3px;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 8px;
}

.match-teams {
  font-size: 1.07rem;
  font-weight: 700;
  font-family: "Source Sans 3", sans-serif;
  color: var(--text-main);
  margin-bottom: 4px;
}

.match-location {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.4;
}

/* ============================================================
   GENERIC SECTION CARD
   ============================================================ */
.section-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold-dark);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  margin-bottom: 20px;
  transition: box-shadow var(--t-base), transform var(--t-base);
}

.section-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.section-card-header {
  background: var(--header-gradient);
  padding: 14px 22px;
  border-bottom: 1px solid var(--border);
}

.section-card-header h2 {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: white;
  letter-spacing: 0.2px;
}

.section-card-body {
  padding: 20px 24px;
}

/* ============================================================
   BOARD
   ============================================================ */
.board-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
  margin-bottom: 28px;
}

.board-member {
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 28px 16px 18px;
  transition: box-shadow var(--t-base), transform var(--t-base);
}

.board-member:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

.board-member img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--red-primary);
  box-shadow: 0 4px 14px rgba(170, 21, 27, 0.22);
  margin: 0 auto 14px;
  display: block;
}

.board-member-name {
  font-family: "Source Sans 3", sans-serif;
  font-size: 1.07rem;
  font-weight: 600;
  color: var(--text-main);
  margin: 0 0 6px;
}

.board-member-role {
  display: inline-block;
  background: var(--red-light);
  color: var(--red-dark);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 3px 12px;
  border-radius: 20px;
}

/* Chronik */
.chronik-list {
  list-style: none;
  margin: 0;
  padding: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
}

.chronik-list li {
  padding: 10px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 0.97rem;
  transition: background var(--t-fast);
}

.chronik-list li:last-child {
  border-bottom: none;
}

.chronik-list li:hover {
  background: var(--header-gradient);
  color: white;
}

.chronik-list li a {
  display: flex;
  justify-content: space-between;
  color: var(--text-main);
}

.chronik-list li a:hover {
  color: var(--red-primary);
}

/* ============================================================
   TRAINING
   ============================================================ */
.training-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold-dark);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  margin-bottom: 20px;
  transition: box-shadow var(--t-base), transform var(--t-base);
}

.training-section:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.training-section-header {
  background: var(--header-gradient);
  padding: 13px 22px;
}

.training-section-header h2 {
  color: #fff;
  margin: 0;
  font-size: 1.1rem;
}

.training-section-body {
  padding: 18px 22px;
}

.training-schedule {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 6px 0;
  align-items: baseline;
  margin-bottom: 14px;
}

.training-day {
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--red-dark);
  /* text-transform: uppercase; */
  letter-spacing: 0.3px;
}

.training-time {
  font-weight: 700;
  font-size: 0.97rem;
  color: var(--text-main);
}

.training-coaches {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.training-coaches-label {
  font-weight: 700;
  color: var(--text-muted);
  font-size: 0.88rem;
  /* text-transform: uppercase; */
  letter-spacing: 0.3px;
}

.coach-badge {
  background: var(--body-background);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 3px 12px;
  font-size: 0.9rem;
  color: var(--text-main);
}

.training-img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  margin-bottom: 24px;
  object-fit: cover;
  max-height: 320px;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}

.contact-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold-dark);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow var(--t-base), transform var(--t-base);
}

.contact-section:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.contact-section-header {
  background: var(--header-gradient);
  padding: 12px 20px;
  border-bottom: 1px solid var(--border);
}

.contact-section-header h2 {
  margin: 0;
  font-size: 0.98rem;
  color: white;
}

.contact-section-body {
  padding: 18px 20px;
}

.contact-address {
  line-height: 1.85;
  font-size: 0.97rem;
}

.map-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red-primary);
  color: #fff;
  font-weight: 600;
  font-size: 0.88rem;
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  margin-top: 14px;
  transition: background var(--t-fast), transform var(--t-fast);
}

.map-link:hover {
  background: var(--red-dark);
  color: #fff;
  transform: translateY(-1px);
}

/* ============================================================
   CHANT
   ============================================================ */
.schlachtruf-box {
  background: linear-gradient(145deg, var(--surface) 0%, var(--body-background) 100%);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 24px 28px;
  font-size: 1rem;
  line-height: 2;
  white-space: pre-wrap;
}

/* ============================================================
   LEGAL
   ============================================================ */
.legal-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-xs);
  padding: 20px 24px;
  margin-bottom: 20px;
}

.legal-content h2 {
  font-size: 1.2rem;
  color: var(--red-dark);
  font-weight: 700;
  margin: 2rem 0 0.75rem;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--red-primary);
  position: relative;
}

.legal-content h2::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 36px;
  height: 2px;
  background: var(--gold);
}

.legal-content h3 {
  font-size: 1.05rem;
  color: var(--text-main);
  font-weight: 700;
  margin: 1.5rem 0 0.5rem;
  padding-left: 10px;
  border-left: 3px solid var(--gold);
}

/* ============================================================
   SITEMAP
   ============================================================ */
.sitemap-list {
  list-style: none;
  margin: 0;
  padding: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold-dark);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.sitemap-list li {
  border-bottom: 1px solid var(--border);
}

.sitemap-list li:last-child {
  border-bottom: none;
}

.sitemap-list a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  color: var(--red-primary);
  font-size: 0.97rem;
  font-weight: 500;
  transition: background var(--t-fast), color var(--t-fast), padding-left var(--t-fast), border-left-color var(--t-fast);
}

.sitemap-list a::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-top: 2px solid var(--gold-dark);
  border-right: 2px solid var(--gold-dark);
  transform: rotate(45deg);
  flex-shrink: 0;
  transition: border-color var(--t-fast), transform var(--t-fast);
}

.sitemap-list a:hover {
  background: var(--header-gradient);
  color: white;
  padding-left: 26px;
}

.sitemap-list a:hover::before {
  border-color: var(--gold);
  transform: rotate(45deg) translateX(2px);
}

/* ============================================================
   MEMBERSHIP FORM
   ============================================================ */
.membership-form-wrapper {
  max-width: 720px;
}

.membership-section-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--red-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 32px 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}

.membership-section-title::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 18px;
  background: var(--gold);
  border-radius: 2px;
}

.membership-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 20px;
}

.membership-grid .field-full {
  grid-column: 1 / -1;
}

.membership-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.membership-field label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.2px;
}

.membership-field label .required {
  color: var(--red-accent);
  margin-left: 2px;
}

.membership-field input,
.membership-field select {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 13px;
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.95rem;
  color: var(--text-main);
  background: var(--surface);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}

.membership-field input:focus,
.membership-field select:focus {
  outline: none;
  border-color: var(--red-primary);
  box-shadow: 0 0 0 3px rgba(170, 21, 27, 0.12);
}

.membership-field input.is-invalid {
  border-color: var(--red-accent);
}

.membership-static-value {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 14px;
  margin: 0;
  background: var(--body-background);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  font-weight: 600;
  color: var(--red-deep);
}

/* Custom date picker: three constrained selects replacing <input type="date"> */
.date-picker-custom {
  display: grid;
  grid-template-columns: 0.6fr 1.5fr 1fr;
  gap: 8px;
}

.date-picker-custom select {
  min-width: 0;
  appearance: auto;
  -webkit-appearance: auto;
  padding-right: 4px;
  cursor: pointer;
}

.date-picker-custom.is-invalid select {
  border-color: var(--red-accent);
}

.membership-type-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.membership-type-card {
  position: relative;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 16px;
  cursor: pointer;
  transition: border-color var(--t-fast), background var(--t-fast);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.membership-type-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.membership-type-card:has(input:checked) {
  border-color: var(--red-primary);
  background: var(--red-light);
}

.membership-type-card-title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-main);
}

.membership-type-card-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.membership-type-card-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--red-primary);
  margin-top: 6px;
}

.membership-check-icon {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--red-primary);
  color: #fff;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}

.membership-type-card:has(input:checked) .membership-check-icon {
  display: flex;
}

.membership-submit-row {
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.membership-submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red-primary);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 12px 28px;
  font-family: "Source Sans 3", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--t-fast), transform var(--t-fast);
  appearance: none;
  -webkit-appearance: none;
}

.membership-submit-btn:hover:not(:disabled) {
  background: var(--red-dark);
  transform: translateY(-1px);
}

.membership-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.membership-status {
  font-size: 0.9rem;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  display: none;
}

.membership-status.is-success {
  display: block;
  background: var(--red-light);
  color: var(--red-dark);
  border: 1px solid var(--red-primary);
}

.membership-status.is-error {
  display: block;
  background: #fff0f0;
  color: var(--red-accent);
  border: 1px solid var(--red-accent);
}

.membership-sepa-notice {
  background: var(--body-background);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 24px;
  line-height: 1.55;
}

.membership-sepa-notice strong {
  color: var(--text-main);
  display: block;
  margin-bottom: 4px;
}

@media (max-width: 600px) {
  .membership-grid {
    grid-template-columns: 1fr;
  }

  .membership-grid .field-full {
    grid-column: 1;
  }

  .membership-type-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   FOOTER
   ============================================================ */
#footer {
  background: linear-gradient(120deg, var(--red-deep) 0%, var(--red-dark) 55%, #770D12 100%);
  border-top: 2px solid rgba(241, 191, 0, 0.36);
  margin-top: auto;
}

#footer-inner {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
  padding: 18px 0;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-brand-logo {
  height: 36px;
  width: auto;
  opacity: 0.92;
}

.footer-brand-name {
  font-family: "Source Sans 3", sans-serif;
  font-size: 1rem;
  color: #fff;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--gold-soft);
  font-size: 0.88rem;
  padding: 5px 10px;
  border-radius: var(--radius-xs);
  transition: color var(--t-fast), background var(--t-fast);
}

.footer-links a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.footer-print-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--gold-soft);
  font-size: 0.88rem;
  font-family: inherit;
  padding: 5px 10px;
  border-radius: var(--radius-xs);
  transition: color var(--t-fast), background var(--t-fast);
}

.footer-print-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.footer-links .sep {
  color: rgba(255, 255, 255, 0.2);
  padding: 0 2px;
}

.footer-copy {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.8rem;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer-visits {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
  padding: 8px 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(241, 191, 0, 0.2);
  width: fit-content;
  margin-inline: auto;
}

.footer-visits-icon {
  font-size: 0.85rem;
  opacity: 0.8;
}

.footer-visits-label {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.4px;
  text-transform: uppercase;
  font-weight: 500;
}

.footer-visits-count {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gold-soft);
  letter-spacing: 0.5px;
  min-width: 3ch;
  text-align: center;
}

/* ============================================================
   RESPONSIVE — TABLET (≤ 1023px)
   ============================================================ */
@media (max-width: 1023px) {
  .main-nav-list a {
    padding: 14px 9px;
    font-size: 0.82rem;
  }

  .main-nav-list>li>.nav-parent-btn {
    padding: 14px 9px;
    font-size: 0.82rem;
  }
}

/* ============================================================
   RESPONSIVE — MOBILE NAV (≤ 991px)
   ============================================================ */
@media (max-width: 991px) {
  #nav-inner {
    width: min(100% - 24px, var(--container));
    flex-direction: column;
    align-items: stretch;
  }

  .nav-toggle {
    display: flex;
  }

  .main-nav-list {
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 0 0 10px;
    width: 100%;
  }

  .main-nav-list.open {
    display: flex;
  }

  .main-nav-list>li {
    width: 100%;
  }

  .main-nav-list a {
    font-size: 0.95rem;
    padding: 11px 14px;
    border-radius: var(--radius-sm);
    margin: 1px 0;
  }

  .main-nav-list a::after {
    display: none;
  }

  .main-nav-list>li>.nav-parent-btn {
    font-size: 0.95rem;
    padding: 11px 14px;
    border-radius: var(--radius-sm);
    margin: 1px 0;
    width: 100%;
    justify-content: flex-start;
  }

  .main-nav-list>li>.nav-parent-btn::after {
    display: none;
  }

  .main-nav-list>li>ul {
    position: static !important;
    display: none !important;
    width: 100%;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(69, 9, 11, 0.92);
    box-shadow: none;
    animation: none;
    margin: 2px 0 4px;
    padding: 4px;
  }

  .main-nav-list>li.submenu-open>ul {
    display: block !important;
  }

  .language-menu {
    margin-left: 0;
    width: 100%;
  }

  .language-current {
    width: 100%;
    justify-content: flex-start;
    padding: 11px 14px;
    border-radius: var(--radius-sm);
  }

  .language-current::after {
    display: none;
  }

  .language-dropdown {
    position: static;
    width: 100%;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(69, 9, 11, 0.92);
    box-shadow: none;
    animation: none;
    margin: 2px 0 4px;
  }

  .language-menu:hover .language-dropdown {
    display: none;
  }

  .language-menu.submenu-open .language-dropdown {
    display: block;
  }

  .home-hero-overlay {
    padding: 22px 26px;
  }
}

/* ============================================================
   RESPONSIVE — MOBILE (≤ 767px)
   ============================================================ */
@media (max-width: 767px) {
  #header-inner {
    width: min(100% - 24px, var(--container));
    gap: 14px;
    padding: 12px 0;
  }

  .page-content {
    width: min(100% - 24px, var(--container));
  }

  #footer-inner {
    width: min(100% - 24px, var(--container));
  }

  .board-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

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

  .footer-top {
    flex-direction: column;
    gap: 10px;
  }

  .home-hero {
    border-radius: var(--radius);
  }

  .home-hero-text h1 {
    font-size: 1.25rem;
  }

  .home-hero-text p {
    font-size: 0.9rem;
  }

  .training-schedule {
    grid-template-columns: 110px 1fr;
  }
}

/* ============================================================
   RESPONSIVE — SMALL MOBILE (≤ 480px)
   ============================================================ */
@media (max-width: 480px) {
  .site-title-line-gold {
    font-size: 0.9rem;
  }

  .site-title-line-red {
    font-size: 0.648rem;
  }

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

  .home-hero-overlay {
    padding: 18px 20px;
  }
}

/* ============================================================
   404 NOT FOUND
   ============================================================ */
.not-found-box {
  text-align: center;
  padding: 60px 20px;
  max-width: 520px;
  margin: 0 auto;
}

.not-found-code {
  font-size: clamp(4rem, 14vw, 8rem);
  font-weight: 700;
  line-height: 1;
  color: var(--red-primary);
  opacity: 0.18;
  margin-bottom: 8px;
}

.not-found-sub {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 18px;
}

.not-found-links {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.not-found-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--red-primary);
  color: #fff;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  transition: background var(--t-fast), transform var(--t-fast);
}

.not-found-links a:hover {
  background: var(--red-dark);
  color: #fff;
  transform: translateY(-2px);
}

/* ============================================================
   PRINT
   ============================================================ */
@media print {

  #nav,
  .nav-toggle,
  .skip-link {
    display: none !important;
  }

  #header {
    background: none !important;
    color: #000;
  }

  .site-title-line-red,
  .site-title-line-gold {
    color: #000 !important;
    text-shadow: none;
  }

  body {
    background: #fff;
    font-size: 12pt;
  }

  a {
    color: #000;
  }

  a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
  }
}

/* ============================================================
   HEADER � NEW BRAND DESIGN
   ============================================================ */
.header-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.header-brand:hover {
  opacity: 0.88;
}

.header-brand-logo {
  height: clamp(40px, 6vw, 70px);
  width: auto;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.3));
}

.header-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-family: "Oswald", "Source Sans 3", sans-serif;
  font-size: clamp(0.95rem, 2.1vw, 1.5rem);
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.brand-sub {
  font-size: clamp(0.55rem, 1vw, 0.75rem);
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.header-social {
  display: flex;
  align-items: center;
  gap: 2px;
}

.header-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.88rem;
  transition: color var(--t-fast), background var(--t-fast);
  text-decoration: none;
}

.header-social-link:hover {
  color: var(--gold);
  background: rgba(241, 191, 0, 0.12);
}

.btn-abonar {
  display: inline-flex;
  align-items: center;
  background: var(--gold);
  color: var(--red-deep);
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 8px 15px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  white-space: nowrap;
  transition: background var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.btn-abonar:hover {
  background: #fff;
  color: var(--red-deep);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
  --strip-h: 200px;
  position: relative;
  min-height: 100svh;
  /* siempre ocupa todo el viewport al 100% zoom */
  max-height: 100vh;
  padding-top: var(--strip-h);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  transform: scale(1.04);
  transition: transform 10s ease;
}

.hero-section:hover .hero-bg {
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--overlay-gradient);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
  padding: clamp(16px, 3vh, 40px) 0 clamp(24px, 5vh, 80px);
}

.hero-left {
  max-width: 580px;
}

.hero-tagline {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3.5px;
  color: var(--gold);
  text-transform: uppercase;
  margin: 0 0 16px;
  opacity: 0.9;
}

.tagline-rotate {
  display: inline-block;
  transition: opacity 0.45s ease;
  color: #fff;
}

.tagline-rotate.is-fading {
  opacity: 0;
}

.hero-title {
  font-family: "Oswald", "Source Sans 3", sans-serif;
  font-size: clamp(3.8rem, 8.5vw, 6.5rem);
  font-weight: 700;
  line-height: 0.92;
  margin: 0 0 22px;
  border: none;
  padding-bottom: 0;
}

.hero-title::after {
  display: none;
}

.hero-title-line1 {
  display: block;
  color: #fff;
}

.hero-title-line2 {
  display: block;
  color: var(--gold);
  text-shadow: 0 2px 24px rgba(241, 191, 0, 0.45);
}

.hero-desc {
  font-size: clamp(0.9rem, 1.4vw, 1.05rem);
  color: rgba(255, 255, 255, 0.78);
  margin: 0 0 34px;
  line-height: 1.65;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--gold);
  color: var(--red-deep);
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  letter-spacing: 0.3px;
  transition: background var(--t-fast), transform var(--t-fast), box-shadow var(--t-fast);
  box-shadow: 0 4px 18px rgba(241, 191, 0, 0.38);
}

.hero-btn-primary:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(241, 191, 0, 0.42);
  color: var(--red-deep);
}

.hero-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: #fff;
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 12px 26px;
  border-radius: var(--radius-sm);
  border: 2px solid rgba(255, 255, 255, 0.45);
  text-decoration: none;
  transition: border-color var(--t-fast), color var(--t-fast), background var(--t-fast), transform var(--t-fast);
}

.hero-btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(241, 191, 0, 0.08);
  transform: translateY(-2px);
}

.hero-right {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-logo-badge {
  width: clamp(140px, 17vw, 260px);
  height: auto;
  filter: drop-shadow(0 10px 36px rgba(0, 0, 0, 0.55));
  opacity: 0.9;
  animation: floatLogo 5s ease-in-out infinite;
}

@keyframes floatLogo {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

.hero-dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: background var(--t-fast), transform var(--t-fast);
  padding: 0;
}

.hero-dot--active {
  background: var(--gold);
  transform: scale(1.4);
}

/* ============================================================
   HOME SECTIONS
   ============================================================ */
.home-section {
  padding: 64px 0;
}

.latest-news-section {
  background: var(--body-background);
}

.home-last-updated {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.4px;
  margin: 0;
  padding: 18px 16px;
  background: var(--body-background);
  opacity: 0.85;
}

.home-last-updated time {
  font-weight: 600;
  color: var(--red-deep);
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.section-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.section-heading-bar {
  display: block;
  width: 5px;
  height: 34px;
  background: linear-gradient(to bottom, var(--gold), var(--gold-dark));
  border-radius: 3px;
  flex-shrink: 0;
}

.section-heading-title {
  font-family: "Oswald", "Source Sans 3", sans-serif;
  font-size: clamp(1.3rem, 2.4vw, 1.75rem);
  font-weight: 700;
  color: var(--red-deep);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 0;
  border: none;
}

.section-heading-title::after {
  display: none;
}

.section-view-all {
  margin-left: auto;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--red-primary);
  border: 1px solid var(--border-strong);
  padding: 6px 14px;
  border-radius: var(--radius-xs);
  transition: background var(--t-fast), color var(--t-fast);
  white-space: nowrap;
  text-decoration: none;
}

.section-view-all:hover {
  background: var(--red-primary);
  color: #fff;
}

/* ============================================================
   MATCH CARDS (NEW DESIGN)
   ============================================================ */
.match-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.match-card-new {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 5px solid var(--red-primary);
  border-radius: var(--radius);
  padding: 22px 24px 20px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--t-base), transform var(--t-base), border-left-color var(--t-base);
  position: relative;
  overflow: hidden;
}

.match-card-new::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background: linear-gradient(to bottom, var(--gold), var(--red-primary));
  opacity: 0;
  transition: opacity var(--t-base);
}

.match-card-new:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  border-left-color: var(--gold);
}

.match-card-new:hover::before {
  opacity: 1;
}

.match-card-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--red-primary);
  margin-bottom: 10px;
}

.match-card-date {
  font-family: "Oswald", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--gold-dark);
  margin-bottom: 8px;
}

.match-card-teams {
  font-family: "Oswald", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
  line-height: 1.3;
}

.match-card-location {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ============================================================
   NEWS CARDS
   ============================================================ */
.news-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.news-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--t-base), transform var(--t-base);
}

.news-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.news-card-img {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--surface-3);
}

.news-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
}

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

.news-card-body {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.news-card-category {
  display: inline-block;
  background: var(--red-primary);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
  align-self: flex-start;
}

.news-card-title {
  font-family: "Source Sans 3", sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text-main);
  margin: 0 0 8px;
  line-height: 1.35;
}

.news-card-title a {
  color: inherit;
  text-decoration: none;
  transition: color var(--t-fast);
}

.news-card-title a:hover {
  color: var(--red-primary);
}

.news-card-excerpt {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0 0 14px;
  line-height: 1.55;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.news-card-date {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.news-card-read-more {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--red-primary);
  text-decoration: none;
  transition: color var(--t-fast);
}

.news-card-read-more:hover {
  color: var(--red-dark);
}

.news-empty {
  text-align: center;
  padding: 48px 20px;
  color: var(--text-muted);
  font-size: 1rem;
}

/* ============================================================
   FOOTER � NEW MULTI-COLUMN
   ============================================================ */
.footer-body {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding: 52px 0 40px;
}

.footer-col--brand .footer-col-brand-logo {
  height: 50px;
  width: auto;
  margin-bottom: 14px;
  opacity: 0.95;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
  display: block;
}

.footer-col--brand .footer-col-club-name {
  font-family: "Oswald", "Source Sans 3", sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.5px;
  margin: 0 0 5px;
  line-height: 1.2;
}

.footer-col-address {
  font-style: normal;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.38);
  line-height: 1.6;
  margin: 0 0 20px;
  white-space: nowrap;
}

.footer-col--brand .footer-social-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.88rem;
  text-decoration: none;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
}

.footer-social-link:hover {
  background: var(--gold);
  color: var(--red-deep);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.footer-col h4 {
  font-family: "Oswald", "Source Sans 3", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0 0 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col ul a {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color var(--t-fast), padding-left var(--t-fast);
}

.footer-col ul a:hover {
  color: var(--gold-soft);
  padding-left: 4px;
}

.footer-email {
  display: block;
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 16px;
  text-decoration: none;
  transition: color var(--t-fast);
}

.footer-email:hover {
  color: var(--gold-soft);
}

.footer-visits-block {
  text-align: center;
  padding: 18px 14px;
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.22);
  border: 1px solid rgba(241, 191, 0, 0.18);
  margin-top: 20px;
}

.footer-visits-block .fv-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 600;
  margin-bottom: 6px;
}

.footer-visits-block .fv-count {
  font-family: "Oswald", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.footer-bottom-bar {
  background: rgba(0, 0, 0, 0.28);
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-bottom-inner {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom-copy {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.35);
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.footer-bottom-links a {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.42);
  padding: 4px 10px;
  border-radius: var(--radius-xs);
  transition: color var(--t-fast), background var(--t-fast);
}

.footer-bottom-links a:hover {
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.07);
}

.footer-bottom-sep {
  color: rgba(255, 255, 255, 0.18);
  font-size: 0.72rem;
}

.footer-print-btn-new {
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.42);
  padding: 4px 10px;
  border-radius: var(--radius-xs);
  transition: color var(--t-fast), background var(--t-fast);
}

.footer-print-btn-new:hover {
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.07);
}

/* ============================================================
   RESPONSIVE � HERO & NEW SECTIONS
   ============================================================ */
@media (max-width: 1023px) {
  .footer-body {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    padding: 40px 0 28px;
  }

  .footer-col--brand {
    grid-column: 1 / -1;
  }

  .footer-col--info {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 24px;
    align-items: start;
  }

  .footer-visits-block {
    margin-top: 0;
  }
}

@media (max-width: 991px) {
  .hero-content {
    grid-template-columns: 1fr;
    padding: 70px 0 90px;
  }

  .hero-right {
    display: none;
  }
}

@media (max-width: 767px) {
  .hero-section {
    min-height: 72vh;
  }

  .hero-title {
    font-size: clamp(3rem, 13vw, 4.5rem);
  }

  .news-cards-grid {
    grid-template-columns: 1fr;
  }

  .match-cards-grid {
    grid-template-columns: 1fr;
  }

  .footer-body {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px 0 24px;
  }

  .footer-col--brand,
  .footer-col--info {
    grid-column: unset;
    display: block;
  }

  .footer-visits-block {
    margin-top: 20px;
  }

  .header-social {
    display: none;
  }

  .header-visits {
    display: none;
  }

  .btn-abonar {
    font-size: 0.72rem;
    padding: 7px 11px;
  }

  .brand-sub {
    display: none;
  }

  .footer-bottom-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
  }
}

@media (max-width: 480px) {
  .hero-ctas {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-btn-primary,
  .hero-btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .news-cards-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   COOKIE BANNER
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9000;
  background: rgba(43, 5, 7, 0.97);
  border-top: 2px solid var(--gold);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 16px 0;
  transform: translateY(110%);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.38);
}

.cookie-banner.is-visible {
  transform: translateY(0);
}

.cookie-banner-inner {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-banner-text {
  flex: 1;
  min-width: 0;
}

.cookie-banner-title {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cookie-banner-desc {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.68);
  margin: 0;
  line-height: 1.5;
}

.cookie-banner-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-banner-link {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--t-fast);
  white-space: nowrap;
}

.cookie-banner-link:hover {
  color: var(--gold-soft);
}

.cookie-banner-btn {
  background: var(--gold);
  color: var(--red-deep);
  border: none;
  cursor: pointer;
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.83rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 8px 20px;
  border-radius: var(--radius-xs);
  transition: background var(--t-fast), transform var(--t-fast);
  white-space: nowrap;
}

.cookie-banner-btn:hover {
  background: #fff;
  transform: translateY(-1px);
}

@media (max-width: 600px) {
  .cookie-banner-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .cookie-banner-actions {
    width: 100%;
    justify-content: flex-end;
  }
}

/* ============================================================
   SCROLL TO TOP BUTTON
   ============================================================ */
.scroll-top-btn {
  position: fixed;
  bottom: 80px;
  right: 24px;
  z-index: 8000;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--red-primary);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.18);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateY(16px) scale(0.85);
  transition: opacity var(--t-base), transform var(--t-base), background var(--t-fast);
  pointer-events: none;
}

.scroll-top-btn.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.scroll-top-btn:hover {
  background: var(--red-dark);
}

/* ============================================================
   MATCHES EMPTY STATE & EXTRAS
   ============================================================ */
.matches-empty {
  text-align: center;
  padding: 48px 20px;
  background: var(--surface);
  border: 1px dashed var(--border-strong);
  border-radius: var(--radius-lg);
}

.matches-empty-icon {
  font-size: 2.4rem;
  margin-bottom: 14px;
  opacity: 0.6;
}

.matches-empty-text {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 600;
  margin: 0 0 6px;
}

.matches-empty-hint {
  font-size: 0.85rem;
  color: var(--text-muted);
  opacity: 0.75;
  margin: 0;
}

.match-card-competition {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.match-card-time {
  color: var(--text-muted);
  font-weight: 400;
}

.matches-widget-wrapper {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  position: relative;
}

/* Push the iframe up so the widget header disappears above the overflow:hidden boundary */
.matches-widget-wrapper iframe {
  margin-top: calc(-1 * var(--fbde-header-h) - 10px) !important;
  display: block;
}

.matches-widget-wrapper iframe,
.matches-widget-wrapper>div {
  max-width: 100%;
}

/* Transparent overlay that blocks all clicks inside the widget */
.fbde-click-shield {
  display: none;
  /* kept for reference, no longer inserted */
}

/* ============================================================
   SPONSOR BAR  (static, pre-footer, all pages except home)
   ============================================================ */

#sponsor-bar {
  background: transparent;
  padding: 32px 0;
}

.sponsor-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.sponsor-bar-item {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  flex-shrink: 0;
}

a.sponsor-bar-item {
  transition: opacity var(--t-fast);
}

a.sponsor-bar-item:hover {
  opacity: 0.7;
}

.sponsor-bar-item img {
  max-height: 52px;
  max-width: 140px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* ============================================================
   SPONSOR STRIP
   ============================================================ */

#sponsor-strip {
  background: transparent;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 3;
  overflow: hidden;
}

.sponsor-strip-inner {
  display: flex;
  align-items: center;
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
  height: var(--strip-h);
}

/* -- Main sponsor (always visible, 2� visual weight) -- */
.sponsor-main {
  flex: 2 2 0;
  min-width: 0;
  height: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 12px;
  padding: 0;
  text-decoration: none;
  position: relative;
  transition: opacity var(--t-fast);
}

.sponsor-main:hover {
  opacity: 0.75;
}

.sponsor-main-badge {
  position: absolute;
  top: 0;
  left: 0;
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #fff;
  background: var(--red-primary);
  padding: 2px 8px;
  border-radius: 0 0 4px 0;
  line-height: 1.6;
}

.sponsor-main-logo {
  height: 85%;
  width: auto;
  max-width: 100%;
  max-height: none;
  object-fit: contain;
}

.sponsor-main-text {
  font-family: 'Oswald', 'Source Sans 3', sans-serif;
  font-size: clamp(0.9rem, 1.4vw, 1.15rem);
  font-weight: 700;
  color: var(--red-deep);
  letter-spacing: 0.5px;
  line-height: 1.2;
  text-align: center;
}

/* -- Cycling reel: pure-CSS marquee (no JS) -- */
.sponsor-reel {
  flex: 2 2 0;
  min-width: 0;
  overflow: hidden;
  height: 100%;
  position: relative;
  margin-left: 120px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}

.sponsor-reel-track {
  display: flex;
  height: 100%;
  width: max-content;
  animation: sponsor-marquee 45s linear infinite;
  will-change: transform;
}

@keyframes sponsor-marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.sponsor-reel:hover .sponsor-reel-track,
.sponsor-reel:focus-within .sponsor-reel-track {
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
  .sponsor-reel-track {
    animation: none;
  }
}

.sponsor-mini {
  flex: 0 0 auto;
  width: clamp(190px, 22vw, 320px);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 8px 14px;
  text-decoration: none;
  transition: opacity var(--t-fast);
}

.sponsor-mini:hover {
  opacity: 0.75;
}

.sponsor-mini-logo {
  height: 35%;
  width: auto;
  max-width: 100%;
  max-height: none;
  object-fit: contain;
  flex-shrink: 0;
}

.sponsor-mini-initials {
  width: 54px;
  height: 54px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Oswald', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  letter-spacing: 0.5px;
}

.sponsor-mini-name {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--red-deep);
  line-height: 1.3;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  max-width: 140px;
}

@media (max-width: 480px) {
  .sponsor-mini-name {
    display: none;
  }
}

/* Clip the fussball.de widget header from outside (cross-origin iframe � CSS only).
   The negative margin-top pulls the widget up so the header hides above the
   overflow:hidden boundary of the wrapper.
   Adjust --fbde-header-h if fussball.de redesigns their widget header. */
:root {
  --fbde-header-h: 90px;
}

body {
  background-color: #fde68a !important;
}

#__next>header {
  display: none !important;
  background-color: #841115 !important;
}

/* ============================================================
   POLICY PAGES
   ============================================================ */
.policy-page {
  max-width: 780px;
}

.policy-intro {
  font-size: 1.03rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
  padding: 16px 20px;
  background: rgba(241, 191, 0, 0.08);
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.policy-section {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: none;
  position: relative;
}

.policy-section:not(:last-of-type)::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, var(--gold) 40px, var(--border) 40px);
}

.policy-section h2 {
  font-size: 1.05rem;
  color: var(--red-dark);
  font-weight: 700;
  margin: 0 0 10px;
  padding-left: 12px;
  border-left: 3px solid var(--gold);
}

.policy-section h3 {
  font-size: 0.97rem;
  color: var(--text-main);
  font-weight: 700;
  margin: 20px 0 8px;
}

.policy-section ul {
  padding-left: 1.4rem;
  margin: 8px 0 14px;
  line-height: 1.7;
}

.policy-section address {
  font-style: normal;
  line-height: 1.8;
  margin: 12px 0;
}

.policy-updated {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 40px;
  padding-top: 16px;
  background: linear-gradient(to right, var(--gold) 40px, var(--border) 40px) no-repeat top;
  background-size: 100% 1px;
}

.cookie-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  margin: 14px 0 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.cookie-table th {
  background: var(--body-background);
  color: var(--red-dark);
  font-weight: 700;
  padding: 10px 14px;
  text-align: left;
  border-bottom: 2px solid var(--border);
}

.cookie-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.cookie-table tr:last-child td {
  border-bottom: none;
}

.cookie-table code {
  background: var(--surface-3);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1px 5px;
  font-size: 0.85em;
  color: var(--red-dark);
}

.btn-reset-consent {
  display: inline-flex;
  align-items: center;
  background: transparent;
  border: 1.5px solid var(--red-primary);
  color: var(--red-primary);
  font-family: "Source Sans 3", sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: var(--radius-xs);
  cursor: pointer;
  margin-top: 12px;
  transition: background var(--t-fast), color var(--t-fast);
}

.btn-reset-consent:hover {
  background: var(--red-primary);
  color: #fff;
}

/* ============================================================
   ARTICLES LISTING (noticias page)
   ============================================================ */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.article-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold-dark);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: box-shadow var(--t-base), border-color var(--t-base), transform var(--t-base);
  background: var(--surface);
}

.article-card:hover {
  box-shadow: var(--shadow);
  border-left-color: var(--gold);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.article-card-meta {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
}

.article-card-date {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.article-card-category {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--red-dark);
  background: rgba(241, 191, 0, 0.18);
  padding: 2px 8px;
  border-radius: 99px;
}

.article-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0;
}

.article-card-excerpt {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-card-readmore {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--red-dark);
  margin-top: 0.25rem;
}

.articles-empty {
  color: var(--text-muted);
  margin-top: 1rem;
}

/* ============================================================
   ARTICLE DETAIL PAGE
   ============================================================ */

.article-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 0 2rem;
}

.article-cover {
  margin: 0 0 2rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.article-cover img {
  display: block;
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center center;
}

.article-cover-caption {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
  padding: 0.4rem 0.5rem;
  font-style: italic;
  background: var(--surface);
}

.article-date {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.article-category {
  font-weight: 600;
  color: var(--red-dark);
}

.article-page h1 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--red-deep);
  padding-bottom: 14px;
  margin: 0.5rem 0 1.5rem;
  line-height: 1.25;
  border-bottom: 3px solid var(--red-primary);
  position: relative;
}

.article-page h1::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 56px;
  height: 3px;
  background: var(--gold);
}

.article-excerpt {
  font-size: 1.05rem;
  font-style: italic;
  color: var(--text-muted);
  border-left: 4px solid var(--gold);
  padding: 0.25rem 1rem;
  margin-bottom: 1.5rem;
  background: rgba(241, 191, 0, 0.06);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.article-body {
  line-height: 1.7;
}

.article-body p {
  margin-bottom: 1rem;
}

.article-body h2 {
  color: var(--red-deep);
  font-size: 1.25rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border);
  position: relative;
}

.article-body h2::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 36px;
  height: 2px;
  background: var(--gold);
}

.article-body h3 {
  color: var(--red-dark);
  font-size: 1.1rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  padding-left: 10px;
  border-left: 3px solid var(--gold);
}

.article-body ul,
.article-body ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.article-body a {
  color: var(--red-dark);
  text-decoration: underline;
}

/* ============================================================
   EVENTS PAGE
   ============================================================ */

.events-page {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 0 3rem;
}

.events-page-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--red-deep);
  margin-bottom: 2rem;
}

.events-empty {
  color: var(--text-muted);
  margin-top: 1rem;
}

.events-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.event-card {
  display: flex;
  gap: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--t-base), transform var(--t-base);
}

.event-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.event-card-img {
  flex: 0 0 220px;
  max-width: 220px;
  overflow: hidden;
}

.event-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.event-card-body {
  flex: 1;
  padding: 1.25rem 1.5rem 1.25rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.event-card-date {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--red-primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0;
}

.event-card-title {
  font-family: "Oswald", "Source Sans 3", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--red-deep);
  margin: 0;
  line-height: 1.3;
}

.event-card-excerpt {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 0;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.event-card-readmore {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--red-dark);
  margin-top: 0.25rem;
}

@media (max-width: 600px) {
  .event-card {
    flex-direction: column;
  }

  .event-card-img {
    flex: none;
    max-width: 100%;
    height: 180px;
  }

  .event-card-body {
    padding: 1rem 1rem;
  }
}

/* ============================================================
   EVENT DETAIL PAGE
   ============================================================ */

.event-cover {
  margin: 1rem 0 1.5rem;
  border-radius: var(--radius);
  overflow: hidden;
}

.event-cover img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  display: block;
}

.event-back {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.event-back a {
  color: var(--red-primary);
  font-weight: 600;
  text-decoration: none;
}

.event-back a:hover {
  color: var(--red-dark);
  text-decoration: underline;
}

/* ============================================================
   CONTENT GALLERY (used on articles & events)
   ============================================================ */

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

.gallery-item {
  margin: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--body-background);
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.gallery-item figcaption {
  font-size: 0.8rem;
  color: var(--text-muted);
  padding: 0.4rem 0.6rem;
  line-height: 1.3;
}

/* ============================================================
   CONTENT ATTACHMENTS (used on articles & events)
   ============================================================ */

.content-attachments {
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  background: var(--body-background);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.content-attachments h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--red-deep);
  margin: 0 0 0.75rem;
}

.attachments-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.attachment-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--red-primary);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
}

.attachment-link::before {
  content: "??";
  font-size: 0.9rem;
}

.attachment-link:hover {
  color: var(--red-dark);
  text-decoration: underline;
}



/* Multi-slide carousel replaces single .hero-bg */
@keyframes heroZoom {
  from {
    transform: scale(1.06);
  }

  to {
    transform: scale(1.0);
  }
}

.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 0.9s ease;
  will-change: opacity, transform;
}

.hero-slide.is-active {
  opacity: 1;
  animation: heroZoom 22s ease-in-out infinite alternate;
}

/* Carousel arrow buttons */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(43, 5, 7, 0.55);
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--t-fast), transform var(--t-fast);
  backdrop-filter: blur(6px);
}

.hero-arrow:hover {
  background: rgba(43, 5, 7, 0.82);
  transform: translateY(-50%) scale(1.08);
}

.hero-arrow--prev {
  left: 18px;
}

.hero-arrow--next {
  right: 18px;
}

@media (max-width: 600px) {
  .hero-arrow {
    width: 34px;
    height: 34px;
  }

  .hero-arrow--prev {
    left: 10px;
  }

  .hero-arrow--next {
    right: 10px;
  }
}

/* ============================================================
   TEAM MATCHES SECTION (inside page-content, not hero)
   ============================================================ */
.team-matches-section {
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 2px solid var(--border);
}

.team-matches-section .section-heading {
  margin-bottom: 1.5rem;
}

/* ============================================================
   SOCIAL MEDIA FOLLOW SECTION
   ============================================================ */
.social-section {
  background: var(--red-deep);
  padding: 60px 0;
}

.social-section .section-heading-title {
  color: #fff;
}

.social-follow-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1rem;
  margin-top: 0.5rem;
}

.social-follow-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 24px 16px 20px;
  border-radius: var(--radius);
  text-decoration: none;
  color: #fff;
  transition: transform var(--t-base), box-shadow var(--t-base), filter var(--t-base);
  border: 1px solid rgba(255, 255, 255, 0.12);
  position: relative;
  overflow: hidden;
}

.social-follow-card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity var(--t-base);
}

.social-follow-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
}

.social-follow-card:hover::before {
  opacity: 1;
}

.social-follow-card i {
  font-size: 2rem;
  position: relative;
  z-index: 1;
}

.social-follow-name {
  font-family: "Oswald", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  position: relative;
  z-index: 1;
}

.social-follow-handle {
  font-size: 0.75rem;
  opacity: 0.7;
  text-align: center;
  position: relative;
  z-index: 1;
}

/* Brand colours */
.social-follow-card--instagram {
  background: linear-gradient(135deg, #405de6, #833ab4, #c13584, #e1306c, #fd1d1d);
}

.social-follow-card--instagram::before {
  background: linear-gradient(135deg, #5471ec, #9d4fc4, #d4498e, #f04080, #fd4343);
}

.social-follow-card--facebook {
  background: #1877f2;
}

.social-follow-card--facebook::before {
  background: #3a8ef4;
}

.social-follow-card--tiktok {
  background: #010101;
  border-color: rgba(255, 255, 255, 0.2);
}

.social-follow-card--tiktok::before {
  background: #1a1a1a;
}

.social-follow-card--youtube {
  background: #ff0000;
}

.social-follow-card--youtube::before {
  background: #ff2222;
}

.social-follow-card--x {
  background: #14171a;
  border-color: rgba(255, 255, 255, 0.18);
}

.social-follow-card--x::before {
  background: #2a2a2a;
}

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

@media (max-width: 380px) {
  .social-follow-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   RESPONSIVE � SPONSOR STRIP
   S�lo actualizamos --strip-h; todos los logos escalan solos.
   JS cambia de 2 a 1 slot visible a partir de 991px.
   ============================================================ */

/* Tablet grande */
@media (max-width: 1023px) {
  .hero-section {
    --strip-h: 170px;
  }

  .sponsor-reel {
    margin-left: 50px;
  }
}

/* Tablet / nav m�vil: 1 sponsor secundario visible */
@media (max-width: 991px) {
  .hero-section {
    --strip-h: 145px;
  }

  .sponsor-reel {
    margin-left: 24px;
  }
}

/* M�vil grande */
@media (max-width: 767px) {
  .hero-section {
    --strip-h: 115px;
  }

  .sponsor-reel {
    margin-left: 12px;
  }
}

/* M�vil peque�o */
@media (max-width: 480px) {
  .hero-section {
    --strip-h: 90px;
  }

  .sponsor-reel {
    margin-left: 8px;
  }
}

/* ============================================================
   RESPONSIVE � SECCIONES HOME
   ============================================================ */
@media (max-width: 767px) {
  .home-section {
    padding: 40px 0;
  }

  .section-heading {
    margin-bottom: 24px;
    gap: 10px;
  }

  .section-heading-bar {
    height: 26px;
  }
}

@media (max-width: 480px) {
  .home-section {
    padding: 28px 0;
  }

  .hero-section {
    min-height: 100svh;
    max-height: none;
  }
}

/* ============================================================
   RESPONSIVE � P�GINAS INTERIORES
   ============================================================ */
@media (max-width: 480px) {
  .section-card-header {
    padding: 11px 14px;
  }

  .section-card-body {
    padding: 14px 14px;
  }

  .schlachtruf-box {
    padding: 18px 16px;
  }

  .legal-section {
    padding: 16px 14px;
  }

  .page-content {
    padding: 24px 0 40px;
  }
}

/* ============================================================
   RESPONSIVE � SPONSOR BAR (barra est�tica pre-footer)
   ============================================================ */
@media (max-width: 767px) {
  #sponsor-bar {
    padding: 20px 0;
  }

  .sponsor-bar-inner {
    gap: 20px;
  }

  .sponsor-bar-item img {
    max-height: 40px;
    max-width: 110px;
  }
}

@media (max-width: 480px) {
  .sponsor-bar-inner {
    gap: 12px;
  }
}

/* ============================================================
   RESPONSIVE � DIRECCI�N DEL FOOTER
   ============================================================ */
@media (max-width: 767px) {
  .footer-col-address {
    white-space: normal;
  }
}

/* ============================================================
   RESPONSIVE � TABLA DE COOKIES (scroll horizontal)
   ============================================================ */
@media (max-width: 600px) {
  .cookie-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* ============================================================
   RESPONSIVE � HORARIOS DE ENTRENAMIENTO
   ============================================================ */
@media (max-width: 380px) {
  .training-schedule {
    grid-template-columns: 1fr;
    gap: 2px 0;
  }
}

/* ============================================================
   RESPONSIVE � FORMULARIO DE SOCIO (pantallas muy peque�as)
   ============================================================ */
@media (max-width: 380px) {
  .date-picker-custom {
    grid-template-columns: 1fr 1fr;
  }

  .membership-type-card {
    padding: 14px 12px;
  }
}

/* ============================================================
   RESPONSIVE � PANTALLAS MUY PEQUE�AS (= 320px)
   ============================================================ */
@media (max-width: 320px) {
  .brand-name {
    font-size: 0.85rem;
  }

  .header-brand-logo {
    height: 36px;
  }

  .btn-abonar {
    display: none;
  }

  .date-picker-custom {
    grid-template-columns: 1fr;
  }
}