/* ==========================================================================
   Grizzlys Bergkamen — Design System
   Palette: weiß-dominant, blau als Leitfarbe, dezente schwarze Akzente
   ========================================================================== */

:root {
  --primary: #2277bb;
  --primary-dark: #17547f;
  --cyan: #0693e3;
  --light-gray: #f0f0f0;
  --dark-gray: #777777;
  --black: #353535;
  --cyan-bluish-gray: #abb8c3;
  --white: #ffffff;

  --bg: var(--white);
  --surface: var(--white);
  --surface-alt: var(--light-gray);
  --text: var(--black);
  --text-muted: var(--dark-gray);
  --border: #e4e7ea;

  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(23, 84, 127, 0.08);
  --shadow-lg: 0 16px 48px rgba(23, 84, 127, 0.16);
  --header-h: 84px;
  --container: 1200px;

  --font: 'Barlow', 'Segoe UI', Arial, sans-serif;
  --font-display: 'Barlow Condensed', 'Segoe UI', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html { font-size: var(--font-base, 18px); }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
  font-size: 1rem;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0 0 0.5em;
  color: var(--black);
}
h1 { font-size: var(--font-h1, clamp(2.6rem, 5.5vw, 4.2rem)); line-height: 1.05; }
.article-title { font-size: var(--font-h1, clamp(2rem, 3.6vw, 2.9rem)); line-height: 1.15; }

.article-nav {
  margin-top: 50px; padding-top: 30px; border-top: 1px solid var(--border);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px;
}
.article-nav__all { justify-self: center; }
.article-nav__link {
  display: flex; flex-direction: column; gap: 4px; padding: 14px 18px; border-radius: var(--radius-sm);
  border: 1px solid var(--border); transition: border-color .2s, background .2s; max-width: 100%;
}
.article-nav__link:hover { border-color: var(--primary); background: var(--surface-alt); }
.article-nav__link--next { text-align: right; align-items: flex-end; justify-self: end; }
.article-nav__link--prev { justify-self: start; }
.article-nav__label { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 0.75rem; letter-spacing: 0.04em; color: var(--primary); }
.article-nav__title { font-size: 0.9rem; color: var(--text); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 260px; }

@media (max-width: 700px) {
  .article-nav { grid-template-columns: 1fr; text-align: center; }
  .article-nav__link--next { text-align: center; align-items: center; justify-self: center; }
  .article-nav__link--prev { justify-self: center; }
  .article-nav__title { max-width: 100%; white-space: normal; }
  .article-nav__all { order: -1; }
}
h2 { font-size: var(--font-h2, clamp(2rem, 3.8vw, 2.8rem)); }
h3 { font-size: var(--font-h3, 1.6rem); }
p { margin: 0 0 1em; color: var(--text-muted); font-size: 1.05rem; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.14em; font-size: 0.8rem; color: var(--primary);
  margin-bottom: 10px;
}
.eyebrow::before { content: ''; width: 22px; height: 3px; background: var(--primary); border-radius: 2px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px; font-weight: 700; font-size: 0.95rem;
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.04em;
  border: 2px solid transparent; cursor: pointer; transition: all 0.2s ease;
}
.btn-primary { background: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-outline { background: transparent; border-color: var(--black); color: var(--black); }
.btn-outline:hover { background: var(--black); color: var(--white); }
.btn-outline-white { background: transparent; border-color: var(--white); color: var(--white); }
.btn-outline-white:hover { background: var(--white); color: var(--primary-dark); }
.btn-sm { padding: 9px 18px; font-size: 0.82rem; }
.btn-block { width: 100%; }

/* ===== Header ===== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--header-h);
  background: var(--black);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: background-color 0.25s ease, box-shadow 0.25s ease, height 0.25s ease;
}
.site-header.is-scrolled {
  height: 62px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.35); background: rgba(53,53,53,0.97); backdrop-filter: blur(10px);
}
.site-header .container {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 100%; gap: 18px;
  position: relative;
}
/* When scrolled, the bar compresses — nav items shrink their own vertical padding instead of
   bottom-anchoring (which made the two sides drift out of alignment when their box heights
   differed), so both sides stay centered and level with each other and the logo. */
.site-header.is-scrolled .main-nav { padding: 8px 0; }
.site-header.is-scrolled .header-actions .btn { padding: 7px 16px; font-size: 0.78rem; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); }
.brand .logo-mark {
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(145deg, var(--primary), var(--cyan));
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-weight: 800; font-size: 1.3rem;
  box-shadow: 0 6px 16px rgba(34,119,187,0.35);
  overflow: hidden;
}
.brand .logo-mark img { width: 100%; height: 100%; object-fit: contain; }
.brand .brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand .brand-text strong { font-size: 1.15rem; font-weight: 800; text-transform: uppercase; color: var(--black); }
.brand .brand-text span { font-size: 0.7rem; color: var(--primary); letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; }

/* Site-header brand: big floating logo, centered, no text */
.site-header .brand {
  justify-self: center; position: relative; z-index: 2;
}
.site-header .brand .logo-mark {
  width: var(--logo-size, 120px); height: var(--logo-size, 120px);
  background: transparent; box-shadow: none; border-radius: 0;
  color: var(--white); font-size: calc(var(--logo-size, 120px) * 0.28);
  transform: translateY(calc(var(--logo-size, 120px) * 0.16));
  transition: transform .25s ease, width .25s ease, height .25s ease;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,0.35));
}
.site-header.is-scrolled .brand .logo-mark {
  transform: translateY(4px);
  width: calc(var(--logo-size, 120px) * 0.7); height: calc(var(--logo-size, 120px) * 0.7);
  font-size: calc(var(--logo-size, 120px) * 0.2);
}
.site-header .brand .logo-mark img { width: 100%; height: 100%; }
.site-header .brand .brand-text { display: none; }

.main-nav { display: flex; align-items: center; gap: 2px; height: 100%; white-space: nowrap; flex-wrap: nowrap; padding: 18px 0; justify-self: start; }
.nav-side.nav-right { display: flex; align-items: center; gap: 10px; justify-self: end; flex-wrap: nowrap; }
.header-actions { justify-self: end; flex-shrink: 0; }
.main-nav a {
  padding: 10px 10px; font-family: var(--font-display); font-weight: 700;
  text-transform: uppercase; font-size: 0.8rem; letter-spacing: 0.02em;
  color: var(--white); border-radius: 999px; position: relative; transition: color .2s, background .2s;
  white-space: nowrap; flex-shrink: 0; display: inline-flex; align-items: center;
}
.main-nav a:hover, .main-nav a.active { color: var(--cyan); background: rgba(255,255,255,0.08); }
.main-nav .dropdown { position: relative; flex-shrink: 0; display: flex; align-items: center; height: 100%; }
.main-nav .dropdown-panel {
  position: absolute; top: calc(100% + 8px); left: 0; min-width: 220px; z-index: 10;
  background: var(--white); border-radius: var(--radius-sm); box-shadow: var(--shadow-lg);
  border: 1px solid var(--border); padding: 8px; opacity: 0; visibility: hidden;
  transform: translateY(6px); transition: all .18s ease;
}
.main-nav .dropdown:hover .dropdown-panel { opacity: 1; visibility: visible; transform: translateY(0); }
.main-nav .dropdown-panel a { display: block; border-radius: 8px; padding: 10px 12px; font-size: 0.85rem; color: var(--black); }
.main-nav .dropdown-panel a:hover { background: var(--surface-alt); color: var(--primary); }
.dropdown-panel--teams { min-width: 240px; }
/* The last couple of nav dropdowns (closest to the right edge of the viewport) open growing
   leftward instead of rightward, so their panel doesn't overflow off-screen. */
.main-nav > .dropdown:nth-last-of-type(-n+2) .dropdown-panel { left: auto; right: 0; }
.dropdown-group { padding: 4px 0 8px; border-bottom: 1px solid var(--border); margin-bottom: 8px; }
.dropdown-group:last-of-type { border-bottom: none; margin-bottom: 0; }
.dropdown-group__label {
  display: block; padding: 6px 12px 4px; font-family: var(--font-display); font-weight: 700;
  text-transform: uppercase; font-size: 0.72rem; letter-spacing: 0.08em; color: var(--primary);
}
.dropdown-group__empty { display: block; padding: 4px 12px 6px; font-size: 0.8rem; color: var(--text-muted); }
.dropdown-panel__all {
  display: block; margin-top: 6px; padding: 10px 12px; border-radius: 8px; text-align: center;
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 0.78rem;
  letter-spacing: 0.04em; color: var(--primary); background: var(--surface-alt);
}
.dropdown-panel__all:hover { background: var(--primary); color: var(--white); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.burger { display: none; width: 44px; height: 44px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.2); background: transparent; align-items: center; justify-content: center; cursor: pointer; }
.burger span, .burger span::before, .burger span::after {
  content: ''; display: block; width: 20px; height: 2px; background: var(--white); position: relative; transition: .2s;
}
.burger span::before { position: absolute; top: -6px; }
.burger span::after { position: absolute; top: 6px; }

/* ===== Hero ===== */
.hero {
  position: relative; margin-top: var(--header-h); min-height: 680px; display: flex; align-items: center;
  background: radial-gradient(1200px 600px at 80% -10%, rgba(6,147,227,0.25), transparent 60%), linear-gradient(160deg, var(--black) 0%, #10202c 45%, var(--primary-dark) 100%);
  color: var(--white); overflow: hidden;
}
.hero.has-image { background-color: var(--black); background-size: cover; background-repeat: no-repeat; background-position: center; min-height: 760px; }
.hero.has-image h1, .hero.has-image .eyebrow, .hero.has-image p.lead { text-shadow: 0 2px 16px rgba(0,0,0,0.6); }
.hero::after {
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(115deg, rgba(255,255,255,0.035) 0 2px, transparent 2px 90px);
  pointer-events: none;
}
.hero.has-image::after { display: none; }
.hero .container { position: relative; z-index: 2; display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 40px; align-items: center; padding-top: 60px; padding-bottom: 60px; }
.hero .container.hero-solo { grid-template-columns: 1fr; max-width: 720px; }
.hero .eyebrow { color: var(--cyan); }
.hero h1 { color: var(--white); }
.hero h1 em { font-style: normal; color: var(--cyan); }
.hero p.lead { color: rgba(255,255,255,0.8); font-size: 1.1rem; max-width: 480px; }
.hero-actions { display: flex; gap: 14px; margin-top: 26px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 30px; margin-top: 42px; flex-wrap: wrap; }
.hero-stats div strong { display: block; font-family: var(--font-display); font-size: 2rem; color: var(--white); }
.hero-stats div span { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.6); }
.hero-card {
  background: rgba(10,14,18,0.72); border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius); padding: 26px; backdrop-filter: blur(10px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}
.hero-card h3 { color: var(--white); font-size: 1rem; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.hero-card h3::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: #ff5a5f; box-shadow: 0 0 0 4px rgba(255,90,95,0.25); }
.next-game { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 8px; margin: 0 -8px; border-bottom: 1px solid rgba(255,255,255,0.12); border-radius: 8px; transition: background 0.15s; }
.next-game:last-child { border-bottom: none; }
.next-game > div:first-child { flex: 1; min-width: 0; }
.next-game .ng-team {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase; color: var(--white);
  line-height: 1.25; font-size: clamp(0.7rem, 1.4vw, 0.95rem);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block;
}
.next-game .ng-date { flex-shrink: 0; }
.next-game .ng-meta { font-size: 0.78rem; color: rgba(255,255,255,0.55); }
.next-game .ng-date { text-align: right; font-size: 0.85rem; color: var(--cyan); font-weight: 700; }
.next-game--home { cursor: pointer; }
.next-game--home:hover { background: rgba(6,147,227,0.12); }
.next-game--home .ng-meta { color: var(--cyan); font-weight: 600; }

/* "Nächste Spiele" as a full-width strip below the hero instead of a card inside it */
.games-strip { display: flex; gap: 16px; overflow-x: auto; padding-bottom: 6px; }
.games-strip .next-game {
  flex: 0 0 320px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm);
  box-shadow: 0 4px 16px rgba(0,0,0,0.05); padding: 18px; margin: 0; border-bottom: none;
}
.games-strip .next-game .ng-team { color: var(--text); }
.games-strip .next-game .ng-meta { color: var(--text-muted); }
.games-strip .next-game--home .ng-meta { color: var(--primary); }
.games-strip .next-game--home:hover { background: rgba(34,119,187,0.06); }
.games-strip .next-game .ng-date { color: var(--primary-dark); }

/* Scrollable "parallax" background band between homepage sections */
.parallax-band {
  height: 340px; background-size: cover; background-position: center; background-attachment: fixed;
}
@media (max-width: 900px) {
  /* background-attachment:fixed is unreliable/unsupported on many mobile browsers — fall back to a normal scrolling image */
  .parallax-band { background-attachment: scroll; height: 220px; }
}

/* ===== Section framing ===== */
.section { padding: 90px 0; }
.section-alt { background: var(--surface-alt); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 40px; gap: 20px; flex-wrap: wrap; position: relative; }
.section-head p { max-width: 520px; margin: 0; }
.section-head.outlined { padding-top: 20px; }
.section-head.outlined::before {
  content: attr(data-word); position: absolute; top: -34px; left: -4px;
  font-family: var(--font-display); font-weight: 800; font-size: clamp(4.5rem, 11vw, 8.5rem);
  color: transparent; -webkit-text-stroke: 1.5px rgba(34,119,187,0.14); text-stroke: 1.5px rgba(34,119,187,0.14);
  text-transform: uppercase; letter-spacing: 0.01em; z-index: 0; pointer-events: none; white-space: nowrap; line-height: 1;
}
.section-head.outlined > * { position: relative; z-index: 1; }

/* ===== News ===== */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.news-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border); transition: transform .25s ease, box-shadow .25s ease;
  display: flex; flex-direction: column;
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.news-card .thumb { aspect-ratio: 16/10; background: linear-gradient(135deg, var(--primary), var(--cyan)); position: relative; overflow: hidden; }
.news-card .thumb img { width: 100%; height: 100%; object-fit: contain; background: var(--surface-alt); }
.news-card.is-pinned { border-color: var(--primary); box-shadow: 0 0 0 2px rgba(34,119,187,0.15); }
.pin-badge {
  position: absolute; top: 10px; left: 10px; z-index: 2; background: var(--primary); color: var(--white);
  font-size: 0.7rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.04em;
}
.news-card .body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.news-card .date { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--primary); font-weight: 700; }
.news-card h3 { font-size: 1.15rem; margin: 0; }
.news-card p { font-size: 0.92rem; flex: 1; }
.news-card .read-more { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 0.8rem; color: var(--black); display: inline-flex; align-items: center; gap: 6px; }
.news-card:hover .read-more { color: var(--primary); }

/* ===== Teams grid ===== */
.teams-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.team-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  text-align: center; transition: all .2s ease; position: relative; overflow: hidden;
  display: flex; flex-direction: column;
}
.team-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; z-index: 2;
  background: linear-gradient(90deg, var(--primary), var(--cyan)); transform: scaleX(0); transform-origin: left; transition: transform .3s ease;
}
.team-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.team-card:hover::before { transform: scaleX(1); }
.team-card .team-thumb { aspect-ratio: 4/3; background-color: var(--surface-alt); overflow: hidden; }
.team-card .team-body { padding: 20px 18px; }
.team-card h3 { font-size: 1rem; margin-bottom: 4px; }
.team-card span.tag { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); }

/* ===== Tabs (team detail) ===== */
.tabs { display: flex; gap: 6px; border-bottom: 2px solid var(--border); margin-bottom: 34px; flex-wrap: wrap; }
.tab-btn {
  padding: 14px 22px; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 0.9rem;
  color: var(--text-muted); border-bottom: 3px solid transparent; margin-bottom: -2px; cursor: pointer; background: none; border-top: none; border-left: none; border-right: none;
}
.tab-btn.active, .tab-btn:hover { color: var(--primary); border-bottom-color: var(--primary); }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeIn .3s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }

.poster-frame-wrap { border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.poster-frame { width: 100%; height: 1400px; border: none; display: block; background: var(--white); }
@media (max-width: 700px) { .poster-frame { height: 1800px; } }

/* Kader-Abschnitte (Trainer / Torwart / Verteidigung / Sturm) */
.kader-section { margin-bottom: 48px; }
.kader-section:last-child { margin-bottom: 0; }
.kader-section__title {
  text-align: center; font-size: 1.1rem; letter-spacing: 0.08em; color: var(--primary);
  margin-bottom: 24px; position: relative;
}
.kader-section__title::after { content: ''; display: block; width: 40px; height: 3px; background: var(--primary); border-radius: 2px; margin: 10px auto 0; }
.roster-grid--coaches { max-width: 700px; }

/* Kader (roster) — 4 large player cards fit comfortably in half the screen width, centered.
   Flexbox instead of grid so a partial last row (e.g. 2 goalies) centers instead of hugging the left. */
.roster-grid {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 28px;
  max-width: 900px; width: 100%; margin: 0 auto;
}
.roster-grid .player-card { width: calc(25% - 21px); }
.player-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 20px 14px; text-align: center; transition: box-shadow .2s; }
.player-card:hover { box-shadow: var(--shadow); }
.player-card .num {
  width: var(--player-photo-size, 220px); height: var(--player-photo-size, 220px); max-width: 100%; aspect-ratio: 1;
  border-radius: 50%; background: var(--primary); color: var(--white);
  display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; font-family: var(--font-display); font-weight: 800;
  font-size: calc(var(--player-photo-size, 220px) * 0.22);
}
.player-card .player-photo {
  width: var(--player-photo-size, 220px); height: var(--player-photo-size, 220px); max-width: 100%; aspect-ratio: 1;
  border-radius: 18px; margin: 0 auto 14px;
  background-color: var(--surface-alt); background-size: contain; background-repeat: no-repeat; background-position: center;
  border: 3px solid var(--surface-alt); box-shadow: 0 4px 14px rgba(23,84,127,0.18);
  cursor: pointer; transition: transform .2s ease, box-shadow .2s ease;
}
.player-card .player-photo:hover { transform: scale(1.03); box-shadow: 0 8px 22px rgba(23,84,127,0.28); }
.player-card .pname { font-weight: 700; font-size: 1.05rem; }
.player-card .ppos { font-size: 0.82rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 2000; background: rgba(20,20,20,0.94);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity .2s ease;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox__figure { margin: 0; max-width: 80vw; max-height: 82vh; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.lightbox__img { max-width: 80vw; max-height: 72vh; width: auto; height: auto; object-fit: contain; border-radius: var(--radius-sm); background: rgba(255,255,255,0.06); }
.lightbox__caption { color: var(--white); font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; font-size: 1rem; text-align: center; }
.lightbox__close {
  position: absolute; top: 24px; right: 28px; background: none; border: none; color: var(--white);
  font-size: 2.2rem; line-height: 1; cursor: pointer; opacity: 0.8;
}
.lightbox__close:hover { opacity: 1; }
.lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.1); border: none; color: var(--white);
  width: 56px; height: 56px; border-radius: 50%; font-size: 2rem; cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background .2s ease;
}
.lightbox__nav:hover { background: rgba(255,255,255,0.22); }
.lightbox__prev { left: 24px; }
.lightbox__next { right: 24px; }
@media (max-width: 600px) {
  .lightbox__nav { width: 44px; height: 44px; font-size: 1.5rem; }
  .lightbox__prev { left: 8px; }
  .lightbox__next { right: 8px; }
  .lightbox__close { top: 12px; right: 16px; }
}

@media (max-width: 900px) {
  .roster-grid { max-width: 100%; }
  .roster-grid .player-card { width: calc(50% - 14px); }
}
@media (max-width: 480px) {
  .roster-grid .player-card { width: 100%; }
}

/* Spielplan (schedule) */
.schedule-table { width: 100%; border-collapse: collapse; }
.schedule-table th { text-align: left; font-family: var(--font-display); text-transform: uppercase; font-size: 0.75rem; letter-spacing: 0.08em; color: var(--text-muted); padding: 10px 14px; border-bottom: 2px solid var(--border); }
.schedule-table td { padding: 16px 14px; border-bottom: 1px solid var(--border); font-size: 0.92rem; }
.schedule-table tr:hover td { background: var(--surface-alt); }
.schedule-table tr.row-heim td { background: rgba(34,119,187,0.08); }
.schedule-table tr.row-heim:hover td { background: rgba(34,119,187,0.15); }
.badge { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }
.badge-heim { background: rgba(34,119,187,0.12); color: var(--primary-dark); }
.badge-auswaerts { background: var(--surface-alt); color: var(--text-muted); }

/* Contacts — centered, uniform photo size across every team (matches Kader treatment) */
.contact-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; max-width: 900px; width: 100%; margin: 0 auto; }
.contact-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 20px 14px;
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px;
  width: calc(25% - 18px); min-width: 180px;
}
.contact-card .avatar {
  width: var(--contact-photo-size, 96px); height: var(--contact-photo-size, 96px); max-width: 100%; aspect-ratio: 1;
  border-radius: 18px; background-color: var(--surface-alt); background-repeat: no-repeat;
  display: flex; align-items: center; justify-content: center; margin-bottom: 12px;
  font-family: var(--font-display); font-weight: 800; font-size: calc(var(--contact-photo-size, 96px) * 0.32); color: var(--primary); flex-shrink: 0;
}
.contact-card .avatar[style*="background-image"] { background-size: contain !important; background-position: center !important; }
.contact-card .role { font-size: 0.72rem; text-transform: uppercase; color: var(--primary); font-weight: 700; letter-spacing: 0.05em; }
@media (max-width: 900px) { .contact-card { width: calc(50% - 12px); } }
@media (max-width: 480px) { .contact-card { width: 100%; } }
.contact-card a { color: var(--text-muted); font-size: 0.88rem; display: block; }
.contact-card a:hover { color: var(--primary); }

/* ===== Newsletter CTA ===== */
.newsletter-cta {
  background: linear-gradient(135deg, var(--black), var(--primary-dark));
  color: var(--white); border-radius: var(--radius); padding: 56px; display: grid;
  grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; position: relative; overflow: hidden;
}
.newsletter-cta::before { content: ''; position: absolute; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, rgba(6,147,227,0.35), transparent 70%); top: -120px; right: -80px; }
.newsletter-cta h2 { color: var(--white); position: relative; }
.newsletter-cta p { color: rgba(255,255,255,0.75); position: relative; }
.newsletter-form { display: flex; gap: 10px; position: relative; }
.newsletter-form input[type=email] {
  flex: 1; padding: 15px 18px; border-radius: 999px; border: none; font-size: 0.95rem; font-family: var(--font);
}
.newsletter-form .btn-primary { background: var(--cyan); }
.newsletter-form .btn-primary:hover { background: var(--white); color: var(--primary-dark); }
.form-note { font-size: 0.75rem; color: rgba(255,255,255,0.5); margin-top: 10px; }

/* ===== Forms (shop, checkout, tickets) ===== */
.form-group { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.form-group label { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-muted); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-actions { display: flex; gap: 12px; margin-top: 22px; flex-wrap: wrap; }
input[type=text], input[type=email], input[type=tel], input[type=password], input[type=number], select, textarea {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font-family: var(--font); font-size: 0.95rem; color: var(--text); background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s; appearance: none;
}
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%23777' stroke-width='2' fill='none' fill-rule='evenodd'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px;
}
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(34,119,187,0.14);
}
input::placeholder, textarea::placeholder { color: #b0b6bc; }

/* ===== Footer ===== */
.site-footer { background: var(--black); color: rgba(255,255,255,0.7); padding: 70px 0 30px; }
.sponsor-thanks {
  text-align: center; font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; font-size: 0.85rem; color: rgba(255,255,255,0.55); margin: 0 0 20px;
}
.sponsor-row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 36px;
  padding-bottom: 44px; margin-bottom: 44px; border-bottom: 1px solid rgba(255,255,255,0.1);
}
.sponsor-row img { height: 40px; max-width: 140px; object-fit: contain; }
.sponsor-row span { color: rgba(255,255,255,0.6); font-weight: 700; font-family: var(--font-display); text-transform: uppercase; letter-spacing: 0.04em; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-grid h4 { color: var(--white); font-size: 0.85rem; letter-spacing: 0.08em; margin-bottom: 18px; }
.footer-grid a, .footer-grid p { display: block; color: rgba(255,255,255,0.6); font-size: 0.88rem; margin-bottom: 10px; }
.footer-grid a:hover { color: var(--cyan); }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 24px; font-size: 0.78rem; color: rgba(255,255,255,0.4); flex-wrap: wrap; gap: 10px; }
.social-row { display: flex; gap: 10px; margin-top: 6px; }
.social-row a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; font-size: 0.8rem; margin: 0; }
.social-row a:hover { background: var(--primary); }

/* ===== Generic page header ===== */
.page-hero { margin-top: var(--header-h); background: var(--black); color: var(--white); padding: 70px 0 50px; position: relative; overflow: hidden; }
.page-hero::after { content:''; position:absolute; inset:0; background: radial-gradient(800px 400px at 90% 0%, rgba(6,147,227,0.28), transparent 60%); pointer-events: none; }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { color: var(--white); margin-bottom: 8px; }
.page-hero--photo { min-height: 520px; display: flex; align-items: center; text-align: center; padding: 130px 0 50px; }
.page-hero--photo::after { display: none; }
.page-hero--photo .container { display: flex; flex-direction: column; align-items: center; }
.page-hero--photo .breadcrumb { align-self: flex-start; }
.team-hero-backdrop {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  filter: blur(28px) brightness(0.55) saturate(1.1); transform: scale(1.15); z-index: 0;
}
.team-hero-photo {
  width: 100%; max-width: var(--team-photo-size, 900px); height: auto; display: block;
  border-radius: var(--radius); border: 5px solid rgba(255,255,255,0.9); box-shadow: 0 20px 50px rgba(0,0,0,0.45);
  margin: 18px 0 24px; position: relative; z-index: 1;
}
.breadcrumb { font-size: 0.8rem; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 0.06em; }
.breadcrumb a:hover { color: var(--cyan); }

/* Shop */
.shop-filter { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 24px; }
.shop-filter a { padding: 8px 16px; border-radius: 20px; border: 1px solid rgba(0,0,0,0.12); font-size: 0.85rem; color: var(--text); }
.shop-filter a.active, .shop-filter a:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.shop-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.shop-card { display: block; background: #fff; border-radius: var(--radius-sm); overflow: hidden; box-shadow: 0 6px 18px rgba(0,0,0,0.06); transition: transform 0.2s; }
.shop-card:hover { transform: translateY(-4px); }
.shop-card__img { position: relative; height: 200px; background: #eee; }
.shop-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shop-card__placeholder { width: 100%; height: 100%; background: #eee; }
.shop-card__badge { position: absolute; top: 10px; right: 10px; background: #b3261e; color: #fff; font-size: 0.7rem; padding: 4px 10px; border-radius: 12px; font-weight: 700; }
.shop-card__body { padding: 16px; }
.shop-card__body h3 { margin: 0 0 6px; font-size: 1.05rem; }
.shop-card__price { font-weight: 700; color: var(--primary-dark); display: block; }
.shop-card__tax-hint { font-size: 0.75rem; color: var(--text-muted); }
/* Product detail page */
.shop-crumb-bar { margin-top: var(--header-h); border-bottom: 1px solid var(--border); padding: 20px 0; }
.shop-crumb-bar .container { font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.shop-crumb-bar a { color: var(--text-muted); }
.shop-crumb-bar a:hover { color: var(--primary); }
.shop-crumb-bar span { margin: 0 6px; }
.product-page { padding: 64px 0 80px; background: var(--surface-alt); }
.product-detail {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start;
  background: #fff; border-radius: var(--radius); border: 1px solid var(--border);
  box-shadow: var(--shadow); padding: 48px; max-width: 1080px; margin: 0 auto;
}
.product-detail__img img { width: 100%; border-radius: var(--radius-sm); border: 1px solid var(--border); display: block; }
.product-detail__body { padding-top: 4px; max-width: 480px; }
.product-eyebrow { display: inline-block; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--primary); margin-bottom: 6px; }
.product-detail__body h1 { margin: 0 0 16px; font-size: clamp(1.8rem, 3vw, 2.4rem); }
.product-price-row { display: flex; align-items: center; gap: 12px; margin-bottom: 4px; }
.product-price { font-family: var(--font); font-size: 1.7rem; font-weight: 700; color: var(--text); letter-spacing: 0; }
.product-stock-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 0.78rem; font-weight: 600; color: var(--text-muted); }
.product-stock-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.product-stock-badge--ok { color: #1e8f4e; }
.product-stock-badge--out { color: #b3261e; }
.product-tax-line { font-size: 0.78rem; color: var(--text-muted); margin: 0 0 8px; }
.product-delivery-estimate { font-size: 0.85rem; color: var(--text); background: var(--surface-alt); display: inline-block; padding: 8px 14px; border-radius: 999px; margin: 0 0 24px; }
.checkout-delivery-estimate { font-size: 0.82rem; color: var(--text); margin: 10px 0 0; }
.product-description { color: var(--text-muted); margin-bottom: 8px; line-height: 1.75; border-top: 1px solid var(--border); padding-top: 20px; }
.product-buybox { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--border); }
.product-order-form { display: flex; flex-direction: column; gap: 22px; }
.option-group { display: flex; flex-direction: column; gap: 10px; }
.option-group__label { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text); }
.option-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.option-chip { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 10px 18px; font-weight: 600; font-size: 0.88rem; cursor: pointer; transition: border-color 0.15s, background 0.15s, color 0.15s; }
.option-chip:hover { border-color: var(--black); }
.option-chip.is-selected { background: var(--black); border-color: var(--black); color: #fff; }
.option-chips--sizes .option-chip--size { min-width: 52px; text-align: center; }
.option-hint { font-size: 0.8rem; color: var(--text-muted); margin: 0; }
.btn-lg { padding: 16px 24px; font-size: 1rem; }
.product-trust-row { display: flex; flex-direction: column; gap: 10px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--border); font-size: 0.82rem; color: var(--text-muted); }
.product-cart-link { margin-top: 16px; }
.product-cart-link a { font-size: 0.85rem; font-weight: 600; color: var(--primary); }

/* Checkout page — one centered card, split into form + summary */
.checkout-page { margin-top: var(--header-h); background: var(--surface-alt); padding: 56px 0 88px; min-height: 60vh; }
.checkout-crumb { margin-bottom: 18px; }
.checkout-crumb a { font-size: 0.85rem; color: var(--text-muted); font-weight: 600; }
.checkout-crumb a:hover { color: var(--primary); }
.checkout-heading { font-size: 1.9rem; margin-bottom: 28px; }
.checkout-card {
  display: grid; grid-template-columns: 1fr 380px; background: #fff; border-radius: var(--radius);
  border: 1px solid var(--border); box-shadow: var(--shadow); max-width: 1080px; margin: 0 auto; overflow: hidden;
}
.checkout-card__form { padding: 44px; }
.checkout-card__summary { background: var(--surface-alt); padding: 44px 36px; border-left: 1px solid var(--border); }
.checkout-summary__heading { margin: 0 0 22px; font-size: 1.05rem; }
.checkout-step { padding-bottom: 28px; margin-bottom: 28px; border-bottom: 1px solid var(--border); }
.checkout-step--last { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.checkout-step__title { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 1rem; text-transform: none; letter-spacing: 0; margin-bottom: 20px; font-family: var(--font); }
.checkout-step__num { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; border-radius: 50%; background: var(--black); color: #fff; font-size: 0.78rem; flex-shrink: 0; }
.checkout-checkbox { display: flex; align-items: flex-start; gap: 10px; font-weight: 400; font-size: 0.86rem; margin-bottom: 14px; cursor: pointer; color: var(--text-muted); line-height: 1.5; }
.checkout-checkbox input { width: auto; margin-top: 3px; flex-shrink: 0; }
.checkout-checkbox a { color: var(--text); font-weight: 600; }
.checkout-pay-box { background: var(--surface-alt); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; margin-top: 20px; }
.checkout-pay-box__total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 16px; font-size: 0.95rem; }
.checkout-pay-box__total strong { font-size: 1.5rem; color: var(--text); }
.checkout-trust-note { font-size: 0.76rem; color: var(--text-muted); margin: 12px 0 0; text-align: center; }
.checkout-summary__items { display: flex; flex-direction: column; gap: 18px; margin-bottom: 24px; }
.checkout-summary__item { display: flex; align-items: center; gap: 14px; }
.checkout-summary__item-img { position: relative; width: 52px; height: 52px; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; overflow: hidden; flex-shrink: 0; }
.checkout-summary__item-img img { width: 100%; height: 100%; object-fit: cover; }
.checkout-summary__item-badge { position: absolute; top: -8px; right: -8px; background: var(--black); color: #fff; font-size: 0.68rem; font-weight: 700; border-radius: 50%; min-width: 19px; height: 19px; display: flex; align-items: center; justify-content: center; padding: 0 4px; border: 2px solid var(--surface-alt); }
.checkout-summary__item-body { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.checkout-summary__item-name { font-weight: 500; font-size: 0.86rem; }
.checkout-summary__item-price { font-weight: 600; font-size: 0.86rem; white-space: nowrap; }
.checkout-summary__totals { border-top: 1px solid var(--border); padding-top: 14px; }
.checkout-summary__row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 0.88rem; color: var(--text-muted); }
.checkout-summary__row--total { border-top: 1px solid var(--border); margin-top: 8px; padding-top: 14px; font-weight: 700; font-size: 1.15rem; color: var(--text); }
@media (max-width: 860px) {
  .checkout-card { grid-template-columns: 1fr; max-width: 560px; }
  .checkout-card__summary { order: -1; border-left: none; border-bottom: 1px solid var(--border); }
  .checkout-card__form, .checkout-card__summary { padding: 32px 28px; }
}
.cart-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }
.cart-row { display: grid; grid-template-columns: 64px 1fr auto auto auto; gap: 16px; align-items: center; background: #fff; border-radius: var(--radius-sm); padding: 12px 16px; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.cart-row__img { width: 64px; height: 64px; border-radius: 8px; overflow: hidden; background: #eee; display: flex; align-items: center; justify-content: center; }
.cart-row__img img { width: 100%; height: 100%; object-fit: cover; }
.cart-row__icon { font-size: 1.6rem; }
.cart-row__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cart-row__name { font-weight: 600; }
.cart-row__price { font-size: 0.8rem; color: var(--text-muted); }
.cart-row__qty input { width: 60px; padding: 6px 8px; border-radius: 6px; border: 1px solid rgba(0,0,0,0.15); text-align: center; }
.cart-row__qty-fixed { font-weight: 600; color: var(--text-muted); }
.cart-row__total { font-weight: 700; min-width: 70px; text-align: right; color: var(--primary-dark); }
.cart-row__remove { background: none; border: none; color: var(--text-muted); font-size: 1rem; cursor: pointer; padding: 6px; border-radius: 50%; line-height: 1; }
.cart-row__remove:hover { background: #fdeceb; color: #b3261e; }
.cart-actions-row { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 24px; }
.cart-summary { background: #fff; border-radius: var(--radius-sm); padding: 20px 24px; box-shadow: 0 2px 10px rgba(0,0,0,0.05); max-width: 360px; margin-left: auto; }
.cart-summary__row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 0.95rem; }
.cart-summary__row--total { border-top: 1px solid rgba(0,0,0,0.08); margin-top: 6px; padding-top: 12px; font-weight: 700; font-size: 1.1rem; color: var(--primary-dark); }
.btn-block { display: block; width: 100%; text-align: center; margin-top: 14px; }
@media (max-width: 600px) {
  .cart-row { grid-template-columns: 48px 1fr auto; grid-template-areas: "img body remove" "img qty total"; row-gap: 8px; }
  .cart-row__img { grid-area: img; width: 48px; height: 48px; }
  .cart-row__body { grid-area: body; }
  .cart-row__remove { grid-area: remove; }
  .cart-row__qty { grid-area: qty; }
  .cart-row__total { grid-area: total; }
  .cart-summary { max-width: none; }
}
/* Tickets */
.ticket-game-list { display: flex; flex-direction: column; gap: 20px; }
.ticket-game-card { display: grid; grid-template-columns: 80px 1fr auto; gap: 24px; background: #fff; border-radius: var(--radius); box-shadow: 0 6px 20px rgba(0,0,0,0.06); padding: 24px; align-items: start; }
.ticket-game-card__date { display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--primary); color: #fff; border-radius: 12px; padding: 12px 8px; min-width: 80px; }
.ticket-game-card__day { font-family: 'Barlow Condensed', sans-serif; font-size: 2.2rem; font-weight: 800; line-height: 1; }
.ticket-game-card__month { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; opacity: 0.9; }
.ticket-game-card__body { min-width: 0; }
.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; }

/* Matchup — home team (with logo) vs. away team (with logo), correctly assigned per side */
.matchup { display: flex; align-items: center; justify-content: flex-start; gap: 14px; margin: 0 0 4px; flex-wrap: wrap; }
.matchup__side { display: flex; align-items: center; gap: 10px; min-width: 0; }
.matchup__side--away { flex-direction: row-reverse; }
.matchup__logo { height: 36px; width: 36px; object-fit: contain; border-radius: 4px; flex-shrink: 0; }
.matchup__team { font-weight: 700; font-size: 1.15rem; font-family: var(--font-display); text-transform: uppercase; }
.matchup__vs { color: var(--text-muted); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; flex-shrink: 0; }
.matchup--lg .matchup__logo { height: 56px; width: 56px; }
.matchup--lg .matchup__team { font-size: 1.8rem; }
.page-hero .matchup { color: var(--white); }
.page-hero .matchup__vs { color: rgba(255,255,255,0.55); }
.ticket-game-card__meta { color: var(--text-muted); font-size: 0.9rem; margin: 0 0 14px; }
.ticket-cat-list { display: flex; flex-direction: column; gap: 8px; }
.ticket-cat-row { display: flex; align-items: center; gap: 14px; background: var(--bg-alt, #f6f8fa); border-radius: 10px; padding: 10px 14px; }
.ticket-cat-row__info { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.ticket-cat-row__name { font-weight: 600; }
.ticket-cat-row__stock { font-size: 0.75rem; color: var(--text-muted); }
.ticket-cat-row__price { font-weight: 700; color: var(--primary-dark); white-space: nowrap; }
.ticket-cat-row__soldout { background: #eee; color: #888; font-size: 0.75rem; font-weight: 700; padding: 6px 12px; border-radius: 20px; white-space: nowrap; }
.ticket-game-card__cta { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; text-align: right; }
.ticket-game-card__from { font-size: 0.75rem; color: var(--text-muted); }
.ticket-game-card__price { font-size: 1.3rem; font-weight: 800; color: var(--primary-dark); }
@media (max-width: 700px) {
  .ticket-game-card { grid-template-columns: 60px 1fr; }
  .ticket-game-card__cta { grid-column: 1 / -1; flex-direction: row; align-items: center; justify-content: space-between; text-align: left; margin-top: 12px; padding-top: 12px; border-top: 1px solid rgba(0,0,0,0.06); }
}

.ticket-picker-list { display: flex; flex-direction: column; gap: 14px; }
.ticket-picker-card { display: flex; align-items: center; justify-content: space-between; gap: 20px; background: #fff; border-radius: var(--radius-sm); box-shadow: 0 4px 16px rgba(0,0,0,0.06); padding: 18px 22px; flex-wrap: wrap; }
.ticket-picker-card.is-soldout { opacity: 0.6; }
.ticket-picker-card__info { display: flex; flex-direction: column; gap: 2px; }
.ticket-picker-card__name { font-weight: 700; font-size: 1.05rem; }
.ticket-picker-card__price { color: var(--primary-dark); font-weight: 700; }
.ticket-picker-card__stock { font-size: 0.8rem; color: var(--text-muted); }
.ticket-picker-card__form { display: flex; align-items: center; gap: 12px; }
.qty-stepper { display: flex; align-items: center; border: 1px solid rgba(0,0,0,0.15); border-radius: 8px; overflow: hidden; }
.qty-stepper__btn { background: #f6f8fa; border: none; width: 34px; height: 34px; font-size: 1.1rem; cursor: pointer; color: var(--primary-dark); }
.qty-stepper__btn:hover { background: #eaeef1; }
.qty-stepper__input { width: 44px; border: none; border-left: 1px solid rgba(0,0,0,0.1); border-right: 1px solid rgba(0,0,0,0.1); text-align: center; height: 34px; -moz-appearance: textfield; }
.qty-stepper__input::-webkit-outer-spin-button, .qty-stepper__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.cart-icon-link { position: relative; font-size: 1.2rem; text-decoration: none; padding: 4px 8px; }
.cart-icon-badge { position: absolute; top: -4px; right: -4px; background: var(--primary); color: #fff; font-size: 0.65rem; font-weight: 700; border-radius: 50%; min-width: 16px; height: 16px; display: flex; align-items: center; justify-content: center; padding: 0 3px; }

/* Alerts / forms */
.alert { padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 20px; font-size: 0.9rem; }
.alert-success { background: rgba(34,119,187,0.1); color: var(--primary-dark); border: 1px solid rgba(34,119,187,0.25); }
.alert-error { background: #fdeceb; color: #b3261e; border: 1px solid #f4c7c3; }

/* Utility */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.empty-state { text-align: center; padding: 60px 20px; color: var(--text-muted); }

@media (max-width: 1320px) {
  .main-nav, .header-actions { display: none; }
  .site-header .container { grid-template-columns: auto 1fr auto; }
  .site-header .brand { justify-self: start; grid-column: 1; }
  .burger { display: flex; grid-column: 3; justify-self: end; }
  .hero .container { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .teams-grid { grid-template-columns: repeat(2, 1fr); }
  .shop-grid { grid-template-columns: repeat(2, 1fr); }
  .product-detail { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .newsletter-cta { grid-template-columns: 1fr; padding: 36px; }
}
@media (max-width: 600px) {
  .news-grid { grid-template-columns: 1fr; }
  .teams-grid { grid-template-columns: 1fr; }
  .shop-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .newsletter-form { flex-direction: column; }
  .section { padding: 60px 0; }
}

/* Mobile nav drawer */
.mobile-nav {
  position: fixed; inset: 0; background: var(--white); z-index: 1100; padding: 100px 24px 24px;
  transform: translateX(100%); transition: transform .3s ease; overflow-y: auto;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav a { display: block; padding: 16px 4px; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 1.2rem; border-bottom: 1px solid var(--border); }
.mobile-nav .close-btn { position: absolute; top: 26px; right: 24px; width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; background: none; }
.mobile-nav__group {
  padding: 18px 4px 6px; font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  font-size: 0.8rem; letter-spacing: 0.08em; color: var(--primary);
}
.mobile-nav a.mobile-nav__sub { font-size: 1rem; padding: 10px 4px 10px 16px; text-transform: none; font-weight: 600; color: var(--dark-gray); border-bottom: none; }
