/* Club Responsive — Showcase-Theme fuer sportyCMS.
 *
 * Aufbau:
 *  1. Tokens / Reset
 *  2. Typografie
 *  3. Header / Navigation
 *  4. Hero
 *  5. Content / Standardseite
 *  6. Buttons
 *  7. Core-Blocks (Klassenvertrag THEME_GUIDE §6)
 *  8. Theme-Blocks (feature-card, sponsor-strip, stats-row, ...)
 *  9. Footer
 * 10. Media-Queries
 */

/* ---------- 1. Tokens / Reset ---------- */

:root {
  --sc-admin-bar-height: 36px;
  --ink: #122029;
  --muted: #586773;
  --line: #d8e1e5;
  --line-strong: #b6c4cc;
  --brand: #176b87;
  --brand-strong: #105770;
  --brand-soft: #e6f1f5;
  --accent: #f4b63f;
  --accent-soft: #fff3d7;
  --surface: #ffffff;
  --surface-sunken: #f5f8f9;
  --shadow-sm: 0 1px 2px rgba(8, 14, 20, .06), 0 1px 4px rgba(8, 14, 20, .04);
  --shadow-md: 0 6px 18px rgba(8, 14, 20, .08), 0 2px 6px rgba(8, 14, 20, .04);
  --shadow-lg: 0 18px 48px rgba(8, 14, 20, .14), 0 6px 16px rgba(8, 14, 20, .06);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: 160ms cubic-bezier(.4, .2, .2, 1);
}

* { box-sizing: border-box; }

html { min-height: 100%; }

body {
  min-height: 100vh;
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.55;
  display: flex;
  flex-direction: column;
}

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

main {
  flex: 1 0 auto;
}

a {
  color: var(--brand);
  text-decoration: underline;
  text-decoration-thickness: .08em;
  text-underline-offset: .22em;
  text-decoration-color: rgba(23, 107, 135, .35);
  transition: color var(--transition), text-decoration-color var(--transition);
}

a:hover { color: var(--brand-strong); text-decoration-color: var(--brand-strong); }

:focus-visible { outline: 3px solid rgba(23, 107, 135, .35); outline-offset: 3px; border-radius: 4px; }

.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;
}

/* ---------- Admin-Bar ---------- */

.sc-admin-bar {
  position: sticky;
  top: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 36px;
  padding: 7px clamp(18px, 4vw, 56px);
  background: #102a36;
  color: #d9eef5;
  font-size: 13px;
  font-weight: 750;
}

.sc-admin-bar a {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  border: 1px solid rgba(217, 238, 245, .32);
  border-radius: var(--radius-sm);
  padding: 3px 9px;
  color: #ffffff;
  text-decoration: none;
  font-weight: 850;
}

.sc-admin-bar a:hover {
  background: rgba(255, 255, 255, .1);
  color: #ffffff;
  text-decoration: none;
}

body:has(.sc-admin-bar) .club-header {
  top: var(--sc-admin-bar-height);
}

/* ---------- 2. Typografie ---------- */

h1, h2, h3, h4 { color: var(--ink); margin: 0 0 .4em; line-height: 1.12; letter-spacing: -.01em; font-weight: 850; }
h1 { font-size: clamp(40px, 7vw, 72px); margin: 10px 0 22px; max-width: 800px; }
h2 { font-size: clamp(26px, 3.4vw, 36px); margin-top: 1.2em; }
h3 { font-size: clamp(20px, 2.2vw, 24px); }
h4 { font-size: 18px; }

p { margin: 0 0 1em; }

.page-kicker,
.hero span {
  display: inline-block;
  color: var(--brand);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 13px;
  margin-bottom: 4px;
}

/* ---------- 3. Header / Navigation ---------- */

.club-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 0 rgba(8, 14, 20, .04);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--brand);
  font-size: 20px;
  font-weight: 900;
  text-decoration: none;
  letter-spacing: -.01em;
}

.brand img { max-height: 38px; width: auto; display: block; }

.club-primary-nav {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center;
}

.club-menu-toggle,
.club-submenu-toggle {
  display: none;
}

.club-menu-toggle {
  align-items: center;
  gap: 9px;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #ffffff;
  color: var(--ink);
  padding: 8px 11px;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.club-menu-lines,
.club-menu-lines::before,
.club-menu-lines::after {
  display: block;
  width: 19px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.club-menu-lines {
  position: relative;
}

.club-menu-lines::before,
.club-menu-lines::after {
  content: '';
  position: absolute;
  left: 0;
}

.club-menu-lines::before { top: -6px; }
.club-menu-lines::after { top: 6px; }

.club-nav-item {
  position: relative;
}

.club-primary-nav a {
  color: var(--ink);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
}

.club-primary-nav a:hover { background: var(--brand-soft); color: var(--brand-strong); }

.club-nav-item.has-dropdown > a::after {
  content: "v";
  margin-left: 6px;
  font-size: 12px;
  color: var(--muted);
}

.club-nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 120;
  min-width: 220px;
  padding: 14px 8px 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  display: none;
}

.club-nav-item.has-dropdown:hover > .club-nav-dropdown,
.club-nav-item.has-dropdown:focus-within > .club-nav-dropdown {
  display: grid;
  gap: 2px;
}

.club-nav-dropdown .club-nav-item { width: 100%; }

.club-primary-nav .club-nav-dropdown a {
  width: 100%;
  justify-content: flex-start;
  padding: 9px 10px;
}

.club-nav-item .club-nav-dropdown .club-nav-dropdown {
  top: -8px;
  left: 100%;
}

.club-nav-item.nav-variant-button > a,
.club-nav-item.nav-variant-button-secondary > a {
  display: inline-flex;
  align-items: center;
  border-radius: var(--radius-sm);
}

.club-nav-item.nav-variant-button > a {
  background: var(--brand);
  color: #ffffff;
  box-shadow: var(--shadow-sm);
}

.club-nav-item.nav-variant-button > a:hover {
  background: var(--brand-strong);
  color: #ffffff;
}

.club-nav-item.nav-variant-button-secondary > a {
  border: 1px solid var(--line-strong);
  background: #ffffff;
}

/* ---------- 4. Hero ---------- */

.hero {
  position: relative;
  min-height: 58vh;
  display: grid;
  align-items: center;
  padding: clamp(48px, 9vw, 110px) clamp(18px, 4vw, 56px);
  background-color: var(--brand-soft);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  border-bottom: 6px solid var(--accent);
  overflow: hidden;
}

.hero.hero-h-sm   { min-height: 40vh; }
.hero.hero-h-md   { min-height: 58vh; }
.hero.hero-h-lg   { min-height: 75vh; }
.hero.hero-h-full { min-height: 100vh; }

.hero.hero-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 14, 20, .20) 0%, rgba(8, 14, 20, .55) 70%, rgba(8, 14, 20, .68) 100%);
  pointer-events: none;
}

.hero > div { position: relative; max-width: 900px; }
.hero.hero-overlay > div { color: #ffffff; }
.hero.hero-overlay h1 { color: #ffffff; text-shadow: 0 1px 24px rgba(0, 0, 0, .25); }
.hero.hero-overlay span { color: var(--accent); }

.hero-lead {
  margin-top: 12px;
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.55;
  max-width: 660px;
  color: var(--muted);
}

.hero.hero-overlay .hero-lead { color: rgba(255, 255, 255, .92); }

.hero-cta { margin-top: 24px; display: flex; gap: 12px; flex-wrap: wrap; }
.button.hero-button-primary {
  background: var(--hero-cta-bg, var(--brand));
  color: var(--hero-cta-text, #fff);
}
.button.hero-button-primary:hover {
  background: var(--hero-cta-bg, var(--brand-strong));
  color: var(--hero-cta-text, #fff);
}
.button.button-ghost.hero-button-secondary {
  color: var(--hero-cta2-text, var(--brand));
  box-shadow: inset 0 0 0 2px var(--hero-cta2-color, var(--brand));
}
.button.button-ghost.hero-button-secondary:hover {
  background: var(--hero-cta2-color, var(--brand));
  color: #fff;
  box-shadow: inset 0 0 0 2px var(--hero-cta2-color, var(--brand));
}

/* ---------- 5. Content / Standardseite ---------- */

.content-page,
.home-content {
  width: min(100%, 1180px);
  max-width: none;
  margin: 0 auto;
}

.content-page { padding: clamp(40px, 7vw, 80px) clamp(18px, 4vw, 56px); }
.home-content { padding: clamp(40px, 6vw, 72px) clamp(18px, 4vw, 56px); }

.richtext {
  max-width: 760px;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.7;
}

.richtext p { margin: 0 0 1em; }
.richtext ul, .richtext ol { padding-left: 1.4em; margin: 0 0 1em; }
.richtext li { margin-bottom: .4em; }

/* ---------- 6. Buttons ---------- */

.button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: .01em;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition);
}

.button:hover {
  background: var(--brand-strong);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
  text-decoration: none;
}

.button:active { transform: translateY(0); box-shadow: var(--shadow-sm); }

.button.button-accent { background: var(--accent); color: var(--ink); }
.button.button-accent:hover { background: #e0a128; color: var(--ink); }

.button.button-ghost {
  background: transparent;
  color: var(--brand);
  box-shadow: inset 0 0 0 2px var(--brand);
}
.button.button-ghost:hover { background: var(--brand); color: #fff; box-shadow: inset 0 0 0 2px var(--brand); }

/* ---------- 7. Core-Block-Klassenvertrag ---------- */

.section {
  width: min(100%, 980px);
  margin: 0 auto;
  padding: clamp(24px, 4vw, 48px) 0;
}

.section.sc-w-normal { width: min(100%, 980px); }
.section.sc-w-wide { width: min(100%, 1180px); }
.section.sc-w-full {
  width: 100%;
  max-width: none;
}

.columns {
  display: grid;
  gap: 24px;
  margin: 24px 0;
  align-items: start;
}

.columns > .sc-col {
  min-width: 0;
}

.columns.sc-cols-2,
.columns:not(.sc-cols-3):not(.sc-cols-4) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.columns.sc-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.columns.sc-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.columns.sc-layout-2-1 { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
.columns.sc-layout-1-2 { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
.columns.sc-layout-3-1 { grid-template-columns: minmax(0, 3fr) minmax(0, 1fr); }
.columns.sc-layout-1-3 { grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); }
.columns.sc-layout-2-1-1 { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); }
.columns.sc-layout-1-2-1 { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) minmax(0, 1fr); }
.columns.sc-layout-1-1-2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 2fr); }

.columns.sc-gap-none { gap: 0; }
.columns.sc-gap-sm { gap: 14px; }
.columns.sc-gap-md { gap: 24px; }
.columns.sc-gap-lg { gap: clamp(28px, 5vw, 52px); }

.columns.sc-row--plain > .sc-col {
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.columns.sc-row--section {
  padding: clamp(20px, 4vw, 34px);
  border-radius: var(--radius-md);
  background: var(--surface-sunken);
  border: 1px solid var(--line);
}

.columns.sc-row--panel > .sc-col {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}

.columns.sc-row--panel > .sc-col:hover { box-shadow: var(--shadow-md); }

.button-row { display: flex; gap: 12px; flex-wrap: wrap; margin: 16px 0; }

.media img,
.richtext img { border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }

.media-link {
  display: inline-block;
  color: inherit;
  text-decoration: none;
}

figure { margin: 24px 0; }
figcaption { color: var(--muted); font-size: 14px; margin-top: 8px; text-align: center; }

.sc-gallery {
  display: grid;
  gap: 18px;
  margin: 24px 0;
}

.sc-gallery-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.sc-gallery-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sc-gallery-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.sc-gallery-gap-sm { gap: 10px; }
.sc-gallery-gap-md { gap: 18px; }
.sc-gallery-gap-lg { gap: 28px; }

.sc-gallery-item {
  margin: 0;
  min-width: 0;
}

.sc-gallery-link {
  display: block;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--surface-sunken);
  box-shadow: var(--shadow-sm);
}

.sc-gallery-link img {
  display: block;
  width: 100%;
  height: 100%;
  transition: transform var(--transition), filter var(--transition);
}

.sc-gallery-aspect-square .sc-gallery-link { aspect-ratio: 1 / 1; }
.sc-gallery-aspect-4-3 .sc-gallery-link { aspect-ratio: 4 / 3; }
.sc-gallery-aspect-square .sc-gallery-link img,
.sc-gallery-aspect-4-3 .sc-gallery-link img {
  object-fit: cover;
}
.sc-gallery-aspect-original .sc-gallery-link img {
  height: auto;
}

.sc-gallery-link:hover img {
  transform: scale(1.035);
  filter: saturate(1.04);
}

/* ---------- 8. Theme-Blocks ---------- */

/* feature-card */
.feature-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px;
  display: grid;
  gap: 12px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: var(--brand);
  transition: background var(--transition), width var(--transition);
}

.feature-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.feature-card:hover::before { background: var(--accent); width: 6px; }

.feature-card h3 { margin: 0; color: var(--ink); }
.feature-card p { margin: 0; color: var(--muted); line-height: 1.6; }
.feature-card .button { justify-self: start; margin-top: 8px; }

/* stats-row */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 24px;
  margin: 32px 0;
  padding: 28px;
  background: var(--surface-sunken);
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
}

.stats-row .stat {
  display: grid;
  gap: 4px;
  text-align: center;
}

.stat-value {
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 900;
  line-height: 1;
  color: var(--brand);
  letter-spacing: -.02em;
}

.stat-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}

/* image-text */
.image-text {
  display: grid;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
  margin: 40px 0;
  grid-template-columns: 1fr 1fr;
}

.image-text--image-right { direction: rtl; }
.image-text--image-right > * { direction: ltr; }

.image-text-media img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: block;
}

.image-text-body h3 { margin-top: 0; }
.image-text-body p { color: var(--muted); font-size: 17px; line-height: 1.65; }

/* club-quote */
.club-quote {
  margin: 40px 0;
  padding: 32px 36px;
  background: linear-gradient(135deg, var(--brand-soft) 0%, #ffffff 100%);
  border-left: 6px solid var(--accent);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.club-quote::before {
  content: '“';
  position: absolute;
  top: 4px;
  right: 24px;
  font-size: 110px;
  line-height: 1;
  color: var(--brand);
  opacity: .15;
  font-family: Georgia, serif;
  pointer-events: none;
}

.club-quote-text {
  font-size: clamp(18px, 2.4vw, 22px);
  line-height: 1.55;
  color: var(--ink);
  font-weight: 500;
  margin: 0 0 16px;
  position: relative;
}

.club-quote-attribution { display: grid; gap: 2px; }
.club-quote-attribution strong { color: var(--ink); font-weight: 800; }
.club-quote-attribution span { color: var(--muted); font-size: 14px; }

/* sponsor-strip */
.sponsor-strip {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 26px;
  background: linear-gradient(135deg, var(--brand) 0%, #1d8aa8 100%);
  color: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  margin: 24px 0;
}

.sponsor-strip strong {
  font-size: 16px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.sponsor-strip span { opacity: .9; flex: 1; }

/* Kontakt-Template */
.contact-page {
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 72px) clamp(18px, 4vw, 56px);
}

.contact-page-head { margin-bottom: 32px; max-width: 720px; }
.contact-page-intro { font-size: 18px; line-height: 1.6; color: var(--muted); }

.contact-page-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  display: grid;
  gap: 16px;
}

.contact-card h3 {
  margin: 0;
  font-size: 16px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brand);
}

.contact-card-block { display: grid; gap: 2px; }

.contact-card-label {
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--muted);
}

.contact-card a { font-weight: 600; }

.contact-page-map {
  margin-top: 36px;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 16 / 9;
  background: var(--surface-sunken);
}

.contact-page-map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Consent / externe Medien ---------- */

.consent-media-frame {
  position: relative;
  display: grid;
  min-height: 280px;
  background: var(--surface-sunken);
}

.consent-media-frame iframe {
  width: 100%;
  height: 100%;
  min-height: inherit;
  border: 0;
}

.consent-media-frame.is-consent-pending iframe,
.consent-media-frame:not(.is-consent-granted) iframe {
  display: none;
}

.consent-media-placeholder {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  min-height: inherit;
  padding: 28px;
  text-align: center;
  color: var(--ink);
  background: linear-gradient(135deg, var(--surface-sunken), #ffffff);
}

.consent-media-placeholder p {
  max-width: 420px;
  margin: 0;
  color: var(--muted);
}

.consent-media-placeholder button {
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--brand);
  color: #fff;
  padding: 10px 14px;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.consent-media-frame.is-consent-granted .consent-media-placeholder {
  display: none;
}

.sc-consent-banner {
  position: fixed;
  inset: auto clamp(14px, 3vw, 28px) clamp(14px, 3vw, 28px);
  z-index: 500;
}

.sc-consent-card {
  width: min(100%, 880px);
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, .98);
  box-shadow: var(--shadow-lg);
  padding: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: end;
}

.sc-consent-copy {
  display: grid;
  gap: 6px;
}

.sc-consent-copy p {
  margin: 0;
  color: var(--muted);
}

.sc-consent-options {
  grid-column: 1 / -1;
  display: grid;
  gap: 8px;
}

.sc-consent-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-sunken);
}

.sc-consent-check input {
  margin-top: 4px;
}

.sc-consent-check span {
  display: grid;
  gap: 2px;
}

.sc-consent-check small {
  color: var(--muted);
}

.sc-consent-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.sc-consent-actions .button {
  border: 0;
  font: inherit;
  cursor: pointer;
}

/* ---------- 9. Footer ---------- */

.club-footer {
  margin-top: auto;
  background: linear-gradient(180deg, #0d2530 0%, #061620 100%);
  color: rgba(255, 255, 255, .82);
  font-size: 14px;
  position: relative;
}

.club-footer::before {
  content: '';
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--brand) 0%, var(--accent) 100%);
}

.club-footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 72px) clamp(18px, 4vw, 56px);
  display: grid;
  gap: 36px;
  grid-template-columns: 1.2fr 1fr 1fr;
  align-items: start;
}

.club-footer-brand strong {
  display: block;
  font-size: 19px;
  color: #ffffff;
  margin-bottom: 10px;
  letter-spacing: .01em;
}

.club-footer-address { line-height: 1.6; color: rgba(255, 255, 255, .68); }

.club-footer-nav { display: grid; gap: 8px; font-weight: 700; }

.club-footer-nav a,
.club-footer-contact a {
  color: rgba(255, 255, 255, .85);
  text-decoration: none;
  text-decoration-color: transparent;
}

.club-footer-nav a:hover,
.club-footer-contact a:hover { color: var(--accent); }

.club-footer-contact { display: grid; gap: 14px; }

.club-footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 13px;
  color: rgba(255, 255, 255, .58);
}

.club-footer-legal a { color: rgba(255, 255, 255, .7); }

.club-footer-note {
  border-top: 1px solid rgba(255, 255, 255, .10);
  padding: 16px clamp(18px, 4vw, 56px);
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, .55);
}

/* ---------- 10. Media-Queries ---------- */

@media (max-width: 900px) {
  .club-footer-inner { grid-template-columns: 1fr 1fr; }
  .club-footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .club-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding-block: 10px;
  }
  .brand {
    min-width: 0;
    font-size: 17px;
    line-height: 1.18;
  }
  .brand span {
    overflow-wrap: normal;
  }
  .club-menu-toggle {
    display: inline-flex;
    flex: 0 0 auto;
  }
  .club-menu-toggle[aria-expanded="true"] {
    border-color: var(--brand);
    background: var(--brand-soft);
    color: var(--brand-strong);
  }
  .club-primary-nav {
    width: 100%;
    grid-column: 1 / -1;
    display: grid;
    gap: 4px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 220ms ease;
  }
  .club-primary-nav.is-open {
    max-height: min(74vh, 720px);
    overflow-y: auto;
    padding-top: 8px;
    border-top: 1px solid var(--line);
  }
  .club-nav-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    width: 100%;
  }
  .club-primary-nav a,
  .club-primary-nav .club-nav-dropdown a {
    min-height: 44px;
    padding: 11px 12px;
  }
  .club-nav-item.has-dropdown > a::after {
    content: none;
  }
  .club-submenu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: #ffffff;
    color: var(--brand);
    cursor: pointer;
  }
  .club-submenu-toggle::before {
    content: "v";
    font-size: 14px;
    font-weight: 900;
    transition: transform var(--transition);
  }
  .club-nav-item.is-open > .club-submenu-toggle::before {
    transform: rotate(180deg);
  }
  .club-nav-dropdown,
  .club-nav-item .club-nav-dropdown .club-nav-dropdown {
    position: static;
    display: none;
    grid-column: 1 / -1;
    box-shadow: none;
    margin: 2px 0 6px 14px;
    min-width: 0;
    padding: 4px 0 4px 10px;
    border: 0;
    border-left: 2px solid var(--line);
    border-radius: 0;
    background: transparent;
  }
  .club-nav-item.is-open > .club-nav-dropdown {
    display: grid;
    gap: 2px;
  }
  .club-nav-item.has-dropdown:hover > .club-nav-dropdown,
  .club-nav-item.has-dropdown:focus-within > .club-nav-dropdown {
    display: none;
  }
  .club-nav-item.has-dropdown.is-open:hover > .club-nav-dropdown,
  .club-nav-item.has-dropdown.is-open:focus-within > .club-nav-dropdown {
    display: grid;
  }
  .club-header-cta {
    justify-content: center;
    width: 100%;
  }
  .columns { grid-template-columns: 1fr !important; }
  .club-footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .sponsor-strip { flex-direction: column; align-items: flex-start; gap: 8px; }
  .image-text { grid-template-columns: 1fr; }
  .image-text--image-right { direction: ltr; }
  .club-quote { padding: 24px 22px; }
  .contact-page-grid { grid-template-columns: 1fr; }
  .stats-row { padding: 20px; }
}
