/* F.C. Red Star Zürich, Testseite */
:root {
  --green: #00693c;        /* Pantone 349 */
  --green-dark: #004a2a;
  --red: #e0001b;          /* Pantone RED 032 */
  --gold: #e9a23b;         /* Pantone 7409 */
  --ink: #141414;
  --ink-2: #3c3c3c;
  --muted: #6b6b6b;
  --line: #e4e4e4;
  --bg: #ffffff;
  --bg-soft: #f5f5f3;
  --radius: 10px;
  --wrap: 1120px;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-head: 'Barlow Condensed', 'Arial Narrow', sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}
img { max-width: 100%; height: auto; }
a { color: var(--green); }
h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: .01em;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); text-transform: uppercase; }
h2 { font-size: 2rem; text-transform: uppercase; }
h3 { font-size: 1.45rem; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.block { padding-top: 56px; padding-bottom: 56px; }
.muted { color: var(--muted); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.site-header::before {
  content: ""; display: block; height: 4px;
  background: linear-gradient(90deg, var(--green) 0 70%, var(--red) 70% 85%, var(--gold) 85%);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; flex-wrap: wrap; }
.brand img { object-fit: contain; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); font-family: var(--font-head); font-size: 1.35rem; font-weight: 600; text-transform: uppercase; }
.brand strong { color: var(--green); }
.main-nav { display: flex; gap: 4px; flex-wrap: wrap; }
.main-nav a {
  padding: 8px 14px; border-radius: 6px;
  text-decoration: none; color: var(--ink-2); font-weight: 500;
}
.main-nav a:hover { background: var(--bg-soft); color: var(--ink); }
.main-nav a[aria-current="page"] { color: var(--green); box-shadow: inset 0 -2px 0 var(--green); border-radius: 0; }

/* Hero */
.hero {
  background: var(--green-dark);
  background-image: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%);
  color: #fff;
}
.hero-inner { display: flex; align-items: center; gap: 40px; padding-top: 72px; padding-bottom: 72px; }
.hero-logo { width: 140px; height: 140px; object-fit: contain; flex-shrink: 0; }
.hero h1 { color: #fff; }
.hero-text { font-size: 1.2rem; max-width: 36em; opacity: .92; margin: 0 0 28px; }
.eyebrow { font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--gold); margin: 0 0 8px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.btn { display: inline-block; padding: 12px 22px; border-radius: 6px; font-weight: 600; text-decoration: none; transition: background .15s; }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: #b80016; }
.btn-ghost { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.6); }
.btn-ghost:hover { background: rgba(255,255,255,.1); }

/* Sections */
.block-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.more { font-weight: 600; text-decoration: none; }
.more::after { content: " \2192"; }
.band { background: var(--bg-soft); }

.grid { display: grid; gap: 20px; }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; display: flex; flex-direction: column;
}
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a:hover { color: var(--green); }
.card p { margin: 0 0 16px; color: var(--ink-2); }
.card .more { margin-top: auto; }
.card-date { display: block; font-size: .85rem; color: var(--muted); margin-bottom: 6px; }
.card-link { text-decoration: none; color: inherit; transition: border-color .15s, transform .15s; border-top: 4px solid var(--green); }
.card-link:hover { border-color: var(--green); transform: translateY(-2px); }
.label { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-right: 6px; }

.team-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 18px; text-decoration: none; color: var(--ink); font-weight: 500;
}
.chip:hover { border-color: var(--green); color: var(--green); }
.group-title { border-bottom: 2px solid var(--line); padding-bottom: 8px; }

/* Page head */
.page-head { background: var(--bg-soft); border-bottom: 1px solid var(--line); padding: 48px 0 36px; }
.page-head .lead { font-size: 1.2rem; color: var(--ink-2); margin: 0; max-width: 40em; }
.back { display: inline-block; font-size: .9rem; font-weight: 600; text-decoration: none; margin-bottom: 16px; }
.back::before { content: "\2190 "; }

/* Prose */
.prose h2 { font-size: 1.7rem; margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose ul { margin: 0 0 1em; }

/* Team detail */
.team-detail { display: grid; grid-template-columns: 280px 1fr; gap: 40px; align-items: start; }
.facts { margin: 0; background: var(--bg-soft); border-radius: var(--radius); padding: 20px 24px; border-left: 4px solid var(--red); }
.facts div + div { margin-top: 16px; }
.facts dt { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.facts dd { margin: 2px 0 0; font-weight: 500; }

.pager { display: flex; gap: 20px; justify-content: center; align-items: center; margin-top: 32px; }

/* Footer */
.site-footer { background: var(--ink); color: #cfcfcf; font-size: .95rem; margin-top: 40px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding-top: 36px; padding-bottom: 36px; }
.site-footer strong { color: #fff; }
.site-footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
.site-footer a { color: #cfcfcf; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer .muted { color: #8a8a8a; }

@media (max-width: 720px) {
  .hero-inner { flex-direction: column; align-items: flex-start; gap: 24px; padding-top: 48px; padding-bottom: 48px; }
  .hero-logo { width: 88px; height: 88px; }
  .team-detail { grid-template-columns: 1fr; }
  .brand span { font-size: 1.15rem; }
}

/* Spielplan */
.match-list { display: flex; flex-direction: column; gap: 10px; }
.match {
  display: grid; grid-template-columns: 90px 1fr; gap: 6px 20px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 20px; border-left: 4px solid var(--line);
}
.match.is-home { border-left-color: var(--green); }
.match-date { display: flex; flex-direction: column; line-height: 1.25; font-size: .9rem; color: var(--muted); grid-row: span 2; }
.match-date strong { font-family: var(--font-head); font-size: 1.4rem; color: var(--ink); }
.match-day { text-transform: uppercase; font-size: .75rem; font-weight: 600; letter-spacing: .08em; }
.match-teams { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; font-weight: 600; }
.match-team { display: flex; align-items: center; gap: 10px; min-width: 0; }
.match-team span { overflow: hidden; text-overflow: ellipsis; }
.match-team-away { justify-content: flex-end; text-align: right; }
.match-score { font-family: var(--font-head); font-size: 1.3rem; color: var(--muted); min-width: 44px; text-align: center; }
.match[hidden] { display: none; }
.match-meta { grid-column: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; font-size: .85rem; color: var(--muted); }
.match-team.is-own { color: var(--green); }
.tag { display: inline-block; font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; padding: 2px 8px; border-radius: 4px; background: var(--bg-soft); color: var(--ink-2); border: 1px solid var(--line); }
.tag-alert { background: #fff6e0; border-color: #f3d9a4; color: #7a4d00; }
.filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filter .chip { font: inherit; font-size: .9rem; cursor: pointer; }
.filter .chip.is-active { background: var(--green); border-color: var(--green); color: #fff; }
.team-logo { width: 36px; height: 36px; object-fit: contain; flex-shrink: 0; }
.team-initials {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--bg-soft); border: 1px solid var(--line);
  font-size: .75rem; font-weight: 700; color: var(--muted);
}
.notice { background: #fff6e0; border-left: 4px solid var(--gold); padding: 12px 16px; border-radius: 6px; }

@media (max-width: 720px) {
  .match { grid-template-columns: 1fr; }
  .match-date { flex-direction: row; gap: 8px; align-items: baseline; grid-row: auto; }
  .match-teams { grid-template-columns: 1fr; gap: 6px; }
  .match-team-away { justify-content: flex-start; flex-direction: row-reverse; text-align: left; }
  .match-score { text-align: left; }
  .match-meta { grid-column: 1; }
}

/* News mit Bildern */
.card.has-image { padding: 0; overflow: hidden; }
.card-image { display: block; aspect-ratio: 16 / 10; background: var(--bg-soft); overflow: hidden; }
.card-image img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.card:hover .card-image img { transform: scale(1.03); }
.card-body { display: flex; flex-direction: column; flex: 1; }
.card.has-image .card-body { padding: 20px 24px 24px; }
.card-lead { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.article-image { margin-top: 32px; margin-bottom: 0; }
.article-image img { width: 100%; border-radius: var(--radius); display: block; }
.prose img { border-radius: var(--radius); margin: 8px 0; }
.prose figure { margin: 24px 0; }
.prose figcaption { font-size: .85rem; color: var(--muted); }
.prose blockquote { margin: 24px 0; padding-left: 20px; border-left: 4px solid var(--green); font-style: italic; color: var(--ink-2); }

/* Verein */
.verein-group h2 { font-size: 1.6rem; }
.verein-group h2 a { color: var(--ink); text-decoration: none; }
.verein-group h2 a:hover { color: var(--green); }
.link-list { list-style: none; margin: 0; padding: 0; }
.link-list li { border-top: 1px solid var(--line); }
.link-list a { display: block; padding: 10px 0; text-decoration: none; color: var(--ink-2); font-weight: 500; }
.link-list a:hover { color: var(--green); }
.link-list a::after { content: " \2192"; color: var(--muted); }
.crumbs { display: flex; gap: 8px; font-size: .9rem; margin-bottom: 12px; color: var(--muted); }
.crumbs a { text-decoration: none; font-weight: 600; }
.with-sidebar { display: grid; grid-template-columns: 240px 1fr; gap: 48px; align-items: start; }
.sidebar { position: sticky; top: 100px; font-size: .95rem; }
.sidebar-group + .sidebar-group { margin-top: 20px; }
.sidebar-title { display: block; font-family: var(--font-head); font-size: 1.15rem; font-weight: 700; text-transform: uppercase; color: var(--ink); text-decoration: none; margin-bottom: 6px; }
.sidebar ul { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--line); }
.sidebar li a { display: block; padding: 5px 0 5px 14px; margin-left: -2px; border-left: 2px solid transparent; color: var(--ink-2); text-decoration: none; }
.sidebar a:hover { color: var(--green); }
.sidebar a.is-active, .sidebar-title.is-active { color: var(--green); }
.sidebar li a.is-active { border-left-color: var(--green); font-weight: 600; }
.grid-2 { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.prose table { width: 100%; border-collapse: collapse; margin: 16px 0; }
.prose th, .prose td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); }
@media (max-width: 860px) {
  .with-sidebar { grid-template-columns: 1fr; }
  .sidebar { position: static; order: 2; border-top: 1px solid var(--line); padding-top: 24px; }
}

/* Dropdown im Hauptmenü */
.main-nav { align-items: center; }
.nav-item { position: relative; display: flex; align-items: center; }
.nav-item > a { padding-right: 4px !important; }
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 32px; padding: 0; border: 0; background: none; cursor: pointer;
  color: var(--muted); border-radius: 6px;
}
.nav-toggle:hover { color: var(--ink); background: var(--bg-soft); }
.nav-toggle svg { transition: transform .2s; }
.has-dropdown.is-open .nav-toggle svg { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: calc(100% + 10px); right: 0; z-index: 20;
  display: grid; gap: 28px; padding: 24px 28px;
  background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--green);
  border-radius: 0 0 var(--radius) var(--radius); box-shadow: 0 16px 40px rgba(0,0,0,.12);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .15s, transform .15s, visibility .15s;
}
.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.dropdown-cols-1 { grid-template-columns: minmax(180px, auto); }
.dropdown-cols-2 { grid-template-columns: repeat(2, minmax(170px, auto)); }
.dropdown-cols-3 { grid-template-columns: repeat(3, minmax(170px, auto)); }
.has-dropdown.is-open .dropdown,
.has-dropdown:has(:focus-visible) .dropdown { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) and (min-width: 721px) {
  .has-dropdown:hover .dropdown { opacity: 1; visibility: visible; transform: none; }
}
.dropdown-title {
  display: block; margin-bottom: 8px; padding: 0 !important;
  font-family: var(--font-head); font-size: 1.05rem; font-weight: 700; text-transform: uppercase;
  color: var(--ink) !important; text-decoration: none; box-shadow: none !important;
}
a.dropdown-title:hover { color: var(--green) !important; background: none !important; }
.dropdown ul { list-style: none; margin: 0; padding: 0; }
.dropdown li a {
  display: block; padding: 5px 0 !important; border-radius: 0 !important;
  color: var(--ink-2); font-weight: 400; white-space: nowrap; box-shadow: none !important;
}
.dropdown li a:hover { background: none !important; color: var(--green); }
.dropdown li a[aria-current="page"] { color: var(--green); font-weight: 600; }

@media (max-width: 720px) {
  .main-nav { width: 100%; }
  .nav-item { flex-wrap: wrap; }
  .dropdown {
    position: static; display: none; width: 100%; margin: 4px 0 8px;
    grid-template-columns: 1fr !important; gap: 16px; padding: 16px 18px;
    opacity: 1; visibility: visible; transform: none; box-shadow: none;
    border-radius: var(--radius);
  }
  .has-dropdown.is-open { flex-basis: 100%; }
  .has-dropdown.is-open .dropdown { display: grid; }
}

/* Tabellen im Text */
.prose table { display: block; overflow-x: auto; font-size: .95rem; }
.prose thead th, .prose tr:first-child td strong { color: var(--ink); }
.prose tbody tr:nth-child(even) { background: var(--bg-soft); }

/* Teamseiten */
.team-photo { margin-top: 32px; }
.team-photo img { max-height: 560px; object-fit: cover; }
.team-main h2 { font-size: 1.6rem; }
.team-card.has-image { border-top-width: 1px; }
.team-card .card-body h3 { margin-bottom: 4px; }
.team-card .card-body p { margin: 0 0 6px; }

/* Teamseite: Kopfbereich */
.team-hero { position: relative; background: var(--green-dark); background-image: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%); color: #fff; overflow: hidden; }
.team-hero.has-photo { min-height: clamp(320px, 48vw, 620px); display: flex; align-items: flex-end; }
.team-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.team-hero.has-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,20,10,.85) 100%); }
.team-hero-content { position: relative; z-index: 1; width: 100%; padding: 48px 0 40px; }
.team-hero h1 { color: #fff; font-size: clamp(2.6rem, 6vw, 4.6rem); margin-bottom: 4px; }
.team-hero .back { color: rgba(255,255,255,.85); }
.team-hero .back:hover { color: #fff; }
.team-hero-liga { font-size: 1.15rem; margin: 0; opacity: .9; }

/* Eckdaten-Leiste */
.team-bar { border-bottom: 1px solid var(--line); background: #fff; }
.team-bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px 40px; flex-wrap: wrap; padding-top: 20px; padding-bottom: 20px; }
.team-facts { display: flex; flex-wrap: wrap; gap: 12px 40px; margin: 0; }
.team-facts dt { font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.team-facts dd { margin: 2px 0 0; font-weight: 600; }
.team-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.btn-outline { color: var(--green); box-shadow: inset 0 0 0 1.5px var(--green); }
.btn-outline:hover { background: var(--green); color: #fff; }

/* Personen */
.section-title { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; }
.section-title::after { content: ""; flex: 1; height: 2px; background: var(--line); }
.people { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 28px 20px; }
.people-staff { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.person { margin: 0; }
.person-photo { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: linear-gradient(160deg, #e9ece9, #d9dfda); }
.person-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; transition: transform .35s ease; }
.person:hover .person-photo img { transform: scale(1.04); }
.person-photo::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.person:hover .person-photo::after { transform: scaleX(1); }
.person-initials { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-size: 2.6rem; font-weight: 700; color: var(--green); opacity: .55; }
.person figcaption { padding-top: 10px; line-height: 1.3; }
.person figcaption strong { display: block; font-weight: 600; }
.person figcaption span { display: block; margin-top: 3px; font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .07em; color: var(--red); }
.person-large figcaption strong { font-size: 1.05rem; }

/* Partner */
.team-partners { border-top: 1px solid var(--line); }
.partner-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 20px; }
.partner { margin: 0; text-align: center; }
.partner-logo { height: 120px; display: flex; align-items: center; justify-content: center; padding: 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.partner-logo img { max-width: 100%; max-height: 100%; object-fit: contain; filter: grayscale(1); opacity: .8; transition: filter .2s, opacity .2s; }
.partner:hover .partner-logo img { filter: none; opacity: 1; }
.partner figcaption { margin-top: 8px; font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }

@media (max-width: 720px) {
  .people { grid-template-columns: repeat(2, 1fr); gap: 20px 14px; }
  .people-staff { grid-template-columns: repeat(2, 1fr); }
  .team-bar-inner { flex-direction: column; align-items: flex-start; }
}

/* Partner als Links */
a.partner { display: block; text-decoration: none; color: inherit; }
.partner .partner-logo { display: flex; }
.partner-label { display: block; margin-top: 8px; font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }
a.partner:hover .partner-logo { border-color: var(--green); }
a.partner:hover .partner-label { color: var(--green); }
a.partner .partner-label::after { content: " \2197"; }

/* Teamfoto vergrössern */
.team-hero-zoom {
  position: absolute; z-index: 2; right: 20px; top: 20px;
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px;
  border-radius: 999px; background: rgba(0,0,0,.45); color: #fff; text-decoration: none;
  font-size: .85rem; font-weight: 600; backdrop-filter: blur(6px); transition: background .15s;
}
.team-hero-zoom:hover { background: rgba(0,0,0,.7); }
.person-photo a { display: block; width: 100%; height: 100%; cursor: zoom-in; }

/* Lightbox */
.lightbox { padding: 0; border: 0; background: transparent; max-width: 96vw; max-height: 96vh; overflow: visible; }
.lightbox::backdrop { background: rgba(8,14,11,.88); backdrop-filter: blur(3px); }
.lightbox-figure { margin: 0; display: flex; flex-direction: column; align-items: center; }
.lightbox-img { display: block; max-width: 96vw; max-height: calc(96vh - 64px); width: auto; height: auto; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lightbox-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; padding: 12px 2px 0; color: #fff; }
.lightbox-caption { font-weight: 600; }
.lightbox-actions { display: flex; gap: 8px; }
.lightbox-btn {
  display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px;
  border: 0; border-radius: 999px; cursor: pointer; font: inherit; font-size: .9rem; font-weight: 600;
  color: #fff; background: rgba(255,255,255,.14); text-decoration: none;
}
.lightbox-btn:hover { background: rgba(255,255,255,.26); }
.lightbox-download { background: var(--green); }
.lightbox-download:hover { background: var(--green-dark); }
.lightbox-download[hidden] { display: none; }
.lightbox-close { width: 38px; padding: 0; justify-content: center; }
@media (max-width: 720px) {
  .team-hero-zoom span { display: none; }
  .team-hero-zoom { padding: 10px; }
}

/* =========================================================
   Header (neu): Meta-Leiste, Hauptleiste mit Wappen, Mega-Menü
   ========================================================= */
.hd { position: sticky; top: 0; z-index: 50; }
.hd a { text-decoration: none; }

/* Meta-Leiste */
.hd-top { background: #0e0f0f; color: #bfc3c0; font-size: .8rem; overflow: hidden; max-height: 40px; transition: max-height .25s ease; }
.hd-top-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 36px; }
.hd-next { display: flex; align-items: center; gap: 10px; color: #e7e9e7; min-width: 0; white-space: nowrap; overflow: hidden; }
.hd-next-label { color: var(--gold); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: .68rem; }
.hd-next-date { font-weight: 600; }
.hd-next-match { overflow: hidden; text-overflow: ellipsis; color: #bfc3c0; }
.hd-next-match em { font-style: normal; color: var(--red); font-weight: 700; margin: 0 2px; }
a.hd-next:hover .hd-next-match { color: #fff; }
.hd-quick { display: flex; gap: 20px; flex-shrink: 0; }
.hd-quick a { color: #bfc3c0; font-weight: 500; }
.hd-quick a:hover { color: #fff; }

/* Hauptleiste */
.hd-main {
  position: relative;
  background: var(--green);
  background-image:
    repeating-linear-gradient(135deg, rgba(255,255,255,.035) 0 14px, transparent 14px 28px),
    linear-gradient(90deg, var(--green-dark) 0%, var(--green) 55%);
  box-shadow: 0 2px 0 var(--gold), 0 8px 24px rgba(0,0,0,.18);
}
.hd-main-inner { display: flex; align-items: center; gap: 28px; height: 78px; transition: height .25s ease; }

.hd-brand { display: flex; align-items: center; gap: 14px; color: #fff; flex-shrink: 0; }
.hd-crest { position: relative; width: 74px; height: 78px; flex-shrink: 0; }
.hd-crest img {
  position: absolute; left: 0; top: 6px; width: 74px; height: auto;
  filter: drop-shadow(0 6px 10px rgba(0,0,0,.35));
  transition: width .25s ease, top .25s ease;
}
.hd-wordmark { display: flex; flex-direction: column; line-height: .95; font-family: var(--font-head); text-transform: uppercase; }
.hd-wordmark span { font-size: .95rem; font-weight: 600; letter-spacing: .14em; color: rgba(255,255,255,.8); }
.hd-wordmark strong { font-size: 1.9rem; font-weight: 700; letter-spacing: .02em; }

.hd-nav { margin-left: auto; height: 100%; }
.hd-nav > ul { display: flex; height: 100%; margin: 0; padding: 0; list-style: none; }
.hd-item { display: flex; align-items: center; height: 100%; }
.hd-link {
  position: relative; display: flex; align-items: center; height: 100%; padding: 0 14px;
  font-family: var(--font-head); font-size: 1.2rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em;
  color: #fff;
}
.hd-link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 0; height: 4px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform .2s ease;
}
.hd-item:hover .hd-link::after, .hd-item.is-active .hd-link::after, .hd-item.is-open .hd-link::after { transform: scaleX(1); }
.has-mega .hd-link { padding-right: 4px; }
.hd-caret { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 32px; margin-right: 6px; padding: 0; border: 0; background: none; color: rgba(255,255,255,.75); cursor: pointer; }
.hd-caret svg { transition: transform .2s; }
.has-mega:hover .hd-caret svg, .has-mega.is-open .hd-caret svg { transform: rotate(180deg); }

.hd-cta {
  flex-shrink: 0; padding: 11px 18px; border-radius: 6px;
  background: var(--red); color: #fff; font-weight: 700; font-size: .9rem; letter-spacing: .02em;
  box-shadow: 0 4px 12px rgba(224,0,27,.35); transition: background .15s, transform .15s;
}
.hd-cta:hover { background: #b80016; transform: translateY(-1px); }

/* Mega-Menü: volle Breite unter der Leiste */
.hd-mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: #fff; border-top: 2px solid var(--gold); box-shadow: 0 24px 48px rgba(0,0,0,.18);
  opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-6px); transition: opacity .18s, transform .18s, visibility .18s;
}
.hd-mega * { pointer-events: none; }
.has-mega.is-open .hd-mega, .has-mega.is-open .hd-mega *, .has-mega:has(:focus-visible) .hd-mega, .has-mega:has(:focus-visible) .hd-mega * { pointer-events: auto; }
@media (hover: hover) and (min-width: 961px) {
  .has-mega:hover .hd-mega, .has-mega:hover .hd-mega * { pointer-events: auto; }
}
.has-mega.is-open .hd-mega, .has-mega:has(:focus-visible) .hd-mega { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) and (min-width: 961px) {
  .has-mega:hover .hd-mega { opacity: 1; visibility: visible; transform: none; }
}
.hd-mega-inner { display: flex; gap: 48px; padding-top: 32px; padding-bottom: 36px; }
.hd-mega-cols { flex: 1; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 28px; }
.hd-mega-title { display: block; margin-bottom: 10px; padding-bottom: 8px; border-bottom: 2px solid var(--line); font-family: var(--font-head); font-size: 1.1rem; font-weight: 700; text-transform: uppercase; color: var(--ink); }
a.hd-mega-title:hover { color: var(--green); }
.hd-mega ul { list-style: none; margin: 0; padding: 0; }
.hd-mega li a { display: block; padding: 5px 0; color: var(--ink-2); transition: color .15s, transform .15s; }
.hd-mega li a:hover, .hd-mega li a[aria-current="page"] { color: var(--green); transform: translateX(3px); }
.hd-feature {
  flex: 0 0 300px; display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden;
  background: var(--green); color: #fff; min-height: 200px;
}
.hd-feature img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; display: block; }
.hd-feature-body { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; flex: 1; justify-content: flex-end; }
.hd-feature-eyebrow { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--gold); }
.hd-feature strong { font-family: var(--font-head); font-size: 1.5rem; text-transform: uppercase; line-height: 1.05; }
.hd-feature-body span:last-child:not(.hd-feature-eyebrow) { font-size: .9rem; opacity: .85; }
.hd-feature:hover strong { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }

/* Kompakt beim Scrollen */
.hd.is-scrolled .hd-top { max-height: 0; }
.hd.is-scrolled .hd-main-inner { height: 62px; }
.hd.is-scrolled .hd-crest img { width: 52px; top: 5px; }

/* Burger + Mobile-Menü */
.hd-burger { display: none; margin-left: auto; width: 44px; height: 44px; padding: 10px; border: 0; background: none; cursor: pointer; }
.hd-burger span { display: block; height: 2px; margin: 6px 0; background: #fff; border-radius: 2px; transition: transform .2s, opacity .2s; }
.hd-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hd-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hd-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.hd-mobile { background: var(--green-dark); color: #fff; max-height: calc(100vh - 70px); overflow-y: auto; padding: 12px 20px 28px; }
.hd-mobile a { color: #fff; }
.hd-m-link, .hd-m-group summary { display: block; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.12); font-family: var(--font-head); font-size: 1.4rem; font-weight: 600; text-transform: uppercase; cursor: pointer; list-style: none; }
.hd-m-group summary::-webkit-details-marker { display: none; }
.hd-m-group summary::after { content: "+"; float: right; color: var(--gold); }
.hd-m-group[open] summary::after { content: "\2212"; }
.hd-m-group a { display: block; padding: 7px 0 7px 12px; color: rgba(255,255,255,.85); }
.hd-m-overview { font-weight: 600; color: var(--gold) !important; }
.hd-m-coltitle { margin: 12px 0 2px; font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.hd-m-cta { display: block; margin-top: 20px; text-align: center; }
body.menu-open { overflow: hidden; }

@media (max-width: 1100px) {
  .hd-cta { display: none; }
  .hd-link { padding: 0 10px; font-size: 1.1rem; }
}
@media (max-width: 960px) {
  .hd-nav { display: none; }
  .hd-burger { display: block; }
  .hd-quick a:not(:last-child) { display: none; }
  .hd-main-inner { height: 66px; }
  .hd-crest { width: 56px; height: 66px; }
  .hd-crest img { width: 56px; }
  .hd-wordmark strong { font-size: 1.5rem; }
}
@media (max-width: 520px) {
  .hd-next-match { display: none; }
  .hd-wordmark span { font-size: .8rem; }
}
/* Lange Listen im Mega-Menü (z.B. Junioren) zweispaltig */
.hd-mega-col:has(li:nth-child(9)) { grid-column: span 2; }
.hd-mega-col:has(li:nth-child(9)) ul { columns: 2; column-gap: 28px; }
.hd-mega-col li { break-inside: avoid; }
.hd-wordmark span { margin-bottom: 3px; }
.ext { font-size: .8em; color: var(--muted); }

/* Aufruf Probetraining */
.cta-band {
  display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap;
  margin: 8px 0 16px; padding: 36px 40px; border-radius: var(--radius);
  background: var(--red); color: #fff;
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.05) 0 14px, transparent 14px 28px), linear-gradient(120deg, #e0001b, #b80016);
}
.cta-band h2 { color: #fff; margin: 0 0 6px; }
.cta-band p { margin: 0; max-width: 38em; opacity: .95; }
.cta-band .eyebrow { color: #ffd68a; margin-bottom: 6px; }
.btn-light { background: #fff; color: var(--red); flex-shrink: 0; }
.btn-light:hover { background: #fff3f4; }
@media (max-width: 720px) { .cta-band { padding: 28px 24px; } }

/* Newsletter-Buttons */
.page-head-btn { margin-top: 20px; }
.block-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.btn-sm { padding: 8px 14px; font-size: .88rem; }

/* Menü mit sieben Punkten */
.hd-link { padding: 0 12px; font-size: 1.12rem; }
.hd-link::after { left: 12px; right: 12px; }
.hd-main-inner { gap: 20px; }
@media (max-width: 1280px) {
  .hd-cta { display: none; }
}
@media (max-width: 1100px) {
  .hd-link { padding: 0 8px; font-size: 1.02rem; letter-spacing: .03em; }
  .hd-link::after { left: 8px; right: 8px; }
}

/* Wechselnde Teamkarte im Mega-Menü */
.hd-feature-rotator { position: relative; flex: 0 0 300px; min-height: 290px; }
.hd-feature-rotator .hd-feature { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s; }
.hd-feature-rotator .hd-feature.is-current { opacity: 1; visibility: inherit; }
.hd-rotator-dots { position: absolute; right: 12px; top: 12px; z-index: 2; display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; max-width: 60%; }
.hd-rotator-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.45); }
.hd-rotator-dots i.is-current { background: var(--gold); }
/* Header etwas breiter als der Inhalt, damit Menü und Button Platz haben */
.hd .wrap { max-width: 1360px; }
@media (max-width: 1280px) { .hd-cta { display: inline-block; } }
@media (max-width: 1199px) { .hd-cta { display: none; } }

/* Instagram */
.ig { border-top: 1px solid var(--line); }
.ig-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.ig-item { position: relative; display: block; aspect-ratio: 1; overflow: hidden; border-radius: 8px; background: var(--bg-soft); }
.ig-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.ig-item:hover img { transform: scale(1.06); }
.ig-caption {
  position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 12px;
  font-size: .8rem; line-height: 1.35; color: #fff;
  background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,40,20,.85));
  opacity: 0; transition: opacity .25s;
}
.ig-item:hover .ig-caption { opacity: 1; }
.ig-video { position: absolute; top: 8px; right: 10px; color: #fff; font-size: .9rem; text-shadow: 0 1px 4px rgba(0,0,0,.6); }
.ig-empty {
  display: flex; flex-direction: column; gap: 6px; padding: 28px 32px; border-radius: var(--radius);
  background: linear-gradient(120deg, var(--green), var(--green-dark)); color: #fff; text-decoration: none;
}
.ig-empty strong { font-family: var(--font-head); font-size: 1.6rem; text-transform: uppercase; }
@media (max-width: 900px) { .ig-grid { grid-template-columns: repeat(3, 1fr); } }

/* Vereinsseiten mit Personen (z.B. Schiedsrichter) */
.people-page { margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--line); }
.people-page .person-photo { background: linear-gradient(160deg, var(--bg-soft) 0%, #e9ece8 100%); }
.people-page .person-initials { opacity: .8; font-size: 3rem; }
.prose a[href="/kontakt"]:only-child { display: inline-block; padding: 12px 22px; border-radius: 6px; background: var(--green); color: #fff; font-weight: 600; text-decoration: none; }
.prose a[href="/kontakt"]:only-child:hover { background: var(--green-dark); }

/* Kontaktformular */
.contact-form-wrap { padding: 32px; border: 1px solid var(--line); border-top: 4px solid var(--green); border-radius: var(--radius); background: #fff; }
.contact-form-wrap h2 { margin-top: 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; margin: 20px 0 24px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field-full { grid-column: 1 / -1; }
.form-field label { font-weight: 600; font-size: .95rem; }
.form-field input[type=text], .form-field input[type=email], .form-field input[type=tel], .form-field select, .form-field textarea {
  width: 100%; padding: 11px 13px; border: 1px solid #cfcfcf; border-radius: 6px; font: inherit; background: #fff; color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
}
.form-field textarea { resize: vertical; min-height: 140px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(0,105,60,.15); }
.form-field.has-error input, .form-field.has-error textarea { border-color: var(--red); }
.form-error { margin: 0; color: var(--red); font-size: .9rem; }
.form-check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400 !important; }
.form-check input { margin-top: 4px; accent-color: var(--green); width: 18px; height: 18px; flex: none; }
.form-captcha { grid-column: 1 / -1; max-width: 360px; padding: 14px 16px; background: var(--bg-soft); border-radius: 6px; }
.form-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-alert { margin: 16px 0 0; padding: 12px 16px; border-left: 4px solid var(--red); background: #fff3f4; color: #8a0012; border-radius: 4px; }
.form-success { padding: 20px; border-left: 4px solid var(--green); background: #eef6f1; border-radius: 4px; }
.form-success p { margin: 6px 0 0; }
@media (max-width: 640px) {
  .contact-form-wrap { padding: 22px 18px; }
  .form-grid { grid-template-columns: 1fr; }
}
.people-page-title { margin: 40px 0 20px; padding-top: 32px; border-top: 1px solid var(--line); }
.people-page.has-title { margin-top: 0; padding-top: 0; border-top: 0; }

/* Kontaktseite */
.prose a[href*="list-manage.com/subscribe"] { display: inline-block; padding: 12px 22px; border-radius: 6px; background: var(--green); color: #fff; font-weight: 600; text-decoration: none; transition: background .15s; }
.prose a[href*="list-manage.com/subscribe"]:hover { background: var(--green-dark); color: #fff; }
.prose p:empty { display: none; }
.contact-block { padding-top: 0; }
.block:has(+ .contact-block) { padding-bottom: 28px; }
.block:has(+ .contact-block) > :last-child { margin-bottom: 0; }

/* Freier Sponsorenplatz */
.partner-open .partner-logo { flex-direction: column; gap: 6px; border: 2px dashed #c9d6cf; background: var(--bg-soft); text-align: center; transition: border-color .2s, background .2s; }
.partner-open .partner-logo strong { font-family: var(--font-head); font-size: 1.15rem; text-transform: uppercase; color: var(--green); }
.partner-open .partner-logo span { font-size: .78rem; line-height: 1.35; color: var(--ink-2); }
a.partner-open:hover .partner-logo { border-color: var(--green); background: #eef6f1; }
a.partner-open .partner-label::after { content: " \2192"; }

/* Vereinsseiten ohne Seitenleiste */
.wrap-read { max-width: 880px; }
.related-band .section-title { margin-top: 0; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.related-card { display: flex; flex-direction: column; gap: 6px; padding: 20px 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); transition: border-color .15s, transform .15s; }
.related-card strong { font-family: var(--font-head); font-size: 1.2rem; text-transform: uppercase; }
.related-card strong::after { content: " \2192"; color: var(--green); }
.related-card span { font-size: .9rem; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.related-card:hover { border-color: var(--green); transform: translateY(-2px); }
.related-card:hover strong { color: var(--green); }

/* Bildergalerie im Fliesstext */
.prose .gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 28px 0; }
.prose .gallery-2 { grid-template-columns: repeat(2, 1fr); }
.prose .gallery-4 { grid-template-columns: repeat(2, 1fr); }
.prose .gallery-5 .gallery-item:first-child { grid-column: span 2; grid-row: span 2; }
.gallery-item { position: relative; display: block; aspect-ratio: 1; overflow: hidden; border-radius: 6px; background: var(--bg-soft); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; margin: 0 !important; border-radius: 0 !important; transition: transform .35s ease; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,0); transition: background .2s; }
.gallery-item:hover::after { background: rgba(0,0,0,.12); }
.gallery-item.is-hidden { display: none; }
.gallery-item[data-more]::after { content: attr(data-more); display: flex; align-items: center; justify-content: center; background: rgba(0,74,42,.72); color: #fff; font-family: var(--font-head); font-size: 2rem; font-weight: 700; }
.prose a.zoomable { display: block; cursor: zoom-in; }
.gallery-item { cursor: zoom-in; }
@media (max-width: 640px) {
  .prose .gallery, .prose .gallery-4 { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .prose .gallery-3 .gallery-item:first-child { grid-column: span 2; aspect-ratio: 16 / 10; }
  .prose .gallery-5 .gallery-item:first-child { grid-column: span 2; grid-row: auto; aspect-ratio: 16 / 10; }
}

/* Lightbox: Blättern */
.lightbox-stage { position: relative; }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(0,0,0,.45); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background .15s; }
.lightbox-nav:hover { background: rgba(0,0,0,.7); }
.lightbox-nav[hidden] { display: none; }
.lightbox-prev { left: 10px; }
.lightbox-next { right: 10px; }
.lightbox-count { margin-right: 12px; padding: 2px 8px; border-radius: 999px; background: rgba(255,255,255,.16); font-size: .85rem; font-variant-numeric: tabular-nums; }
.lightbox-count[hidden] { display: none; }

/* Personenkarte: E-Mail */
.person-mail { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 5px 10px; border: 1px solid var(--line); border-radius: 999px; font-size: .8rem; font-weight: 600; color: var(--green); text-decoration: none; transition: border-color .15s, background .15s; }
.person-mail:hover { border-color: var(--green); background: #eef6f1; }
.person figcaption .person-mail { display: inline-flex; }

/* Alle Bilder vergrösserbar */
a.zoomable { display: block; cursor: zoom-in; }
.lightbox.can-zoom .lightbox-img { cursor: zoom-in; }
.lightbox.is-zoomed { overflow: auto; max-height: 96vh; }
.lightbox.is-zoomed .lightbox-img { max-width: none; max-height: none; cursor: zoom-out; }
.lightbox.is-zoomed .lightbox-nav { position: fixed; }

/* Red Star Magazin */
.mag-feature { display: grid; grid-template-columns: minmax(200px, 300px) 1fr; gap: 40px; align-items: center; margin: 32px 0 48px; padding: 28px; background: var(--bg-soft); border-radius: var(--radius); }
.mag-feature h2 { margin: 4px 0 12px; font-size: 2.2rem; }
.mag-story { font-family: var(--font-head); font-size: 1.5rem; font-weight: 700; line-height: 1.15; text-transform: uppercase; color: var(--green); margin: 0 0 6px; }
.mag-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.mag-actions small { font-weight: 400; opacity: .8; }
.mag-cover { position: relative; display: block; aspect-ratio: 700 / 969; border-radius: 6px; overflow: hidden; background: #fff; box-shadow: 0 10px 28px rgba(0,0,0,.14); transition: transform .25s ease, box-shadow .25s ease; }
.mag-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mag-cover:hover { transform: translateY(-4px) rotate(-.6deg); box-shadow: 0 18px 40px rgba(0,0,0,.2); }
.mag-cover-lg { box-shadow: 0 16px 40px rgba(0,0,0,.2); }
.mag-fallback { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-start; gap: 6px; padding: 18px; color: #fff; background: repeating-linear-gradient(90deg, var(--green) 0 26px, #fff 26px 30px, var(--gold) 30px 32px, #fff 32px 36px); }
.mag-fallback strong, .mag-fallback span { background: rgba(0,74,42,.92); padding: 4px 8px; width: fit-content; }
.mag-fallback strong { font-family: var(--font-head); font-size: 1.8rem; letter-spacing: .02em; }
.mag-archive-title { margin-top: 8px; }
.mag-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 32px 24px; margin-top: 16px; }
.mag-card { margin: 0; }
.mag-card h3 { margin: 14px 0 4px; font-size: 1.15rem; }
.mag-card-story { margin: 0 0 6px; font-size: .9rem; color: var(--ink-2); line-height: 1.35; }
.mag-card-links { margin: 0; font-size: .85rem; display: flex; gap: 6px; flex-wrap: wrap; }
.mag-card-links a { color: var(--green); font-weight: 600; text-decoration: none; }
.mag-card-links a:hover { text-decoration: underline; }
@media (max-width: 640px) {
  .mag-feature { grid-template-columns: 1fr; gap: 22px; padding: 20px; }
  .mag-feature .mag-cover-lg { max-width: 240px; margin: 0 auto; }
  .mag-feature h2 { font-size: 1.8rem; }
  .mag-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 14px; }
}

/* Magazin-Archiv */
.mag-archive { margin-top: 36px; }
.mag-year + .mag-year { margin-top: 40px; }
.mag-year-title { display: flex; align-items: center; gap: 16px; margin: 0 0 18px; font-size: 1.6rem; color: var(--green); }
.mag-year-title::after { content: ""; flex: 1; height: 2px; background: var(--line); }
.mag-archive .mag-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 240px)); }
.mag-cover-hint { position: absolute; left: 50%; bottom: 14px; transform: translate(-50%, 8px); padding: 6px 14px; border-radius: 999px; background: var(--green); color: #fff; font-size: .8rem; font-weight: 600; opacity: 0; transition: opacity .2s, transform .2s; }
.mag-cover:hover .mag-cover-hint, .mag-cover:focus-visible .mag-cover-hint { opacity: 1; transform: translate(-50%, 0); }
.mag-card-story { font-weight: 600; color: var(--ink); }
.mag-card-portrait { margin: 0 0 8px; font-size: .8rem; color: var(--muted); }
.mag-notice { margin: 8px 0 0; padding: 18px 20px; border-left: 4px solid var(--gold); background: #fdf6ea; border-radius: 4px; }
@media (max-width: 640px) {
  .mag-archive .mag-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Generalversammlung */
.prose-generalversammlung blockquote { margin: 28px 0; padding: 22px 24px 22px 76px; position: relative; border: 0; border-radius: var(--radius); background: var(--green); color: #fff; font-style: normal; }
.prose-generalversammlung blockquote::before { content: ""; position: absolute; left: 24px; top: 24px; width: 34px; height: 34px; background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23e9a23b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M3 10h18M8 3v4M16 3v4'/%3E%3C/svg%3E"); }
.prose-generalversammlung blockquote p { margin: 0; color: rgba(255,255,255,.9); }
.prose-generalversammlung blockquote p + p { margin-top: 6px; }
.prose-generalversammlung blockquote strong { display: block; font-family: var(--font-head); font-size: 1.5rem; text-transform: uppercase; color: #fff; }
.prose-generalversammlung blockquote a { color: #fff; }
.gv-list { margin-top: 40px; }
.gv-grid { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.gv-link { display: flex; align-items: center; gap: 18px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--ink); text-decoration: none; transition: border-color .15s, transform .15s, box-shadow .15s; }
.gv-link:hover { border-color: var(--green); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,.06); }
.gv-year { flex: none; width: 64px; font-family: var(--font-head); font-size: 1.9rem; font-weight: 700; color: var(--green); line-height: 1; }
.gv-body { flex: 1; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.gv-body strong { font-size: .95rem; }
.gv-meta { font-size: .85rem; color: var(--ink-2); line-height: 1.35; }
.gv-file { font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.gv-icon { flex: none; width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--bg-soft); color: var(--green); transition: background .15s, color .15s; }
.gv-link:hover .gv-icon { background: var(--green); color: #fff; }
@media (max-width: 700px) {
  .gv-grid { grid-template-columns: 1fr; }
  .prose-generalversammlung blockquote { padding: 70px 20px 20px; }
  .prose-generalversammlung blockquote::before { top: 20px; left: 20px; }
}

/* Topbar: Hinweis auf die 1. Mannschaft */
.hd-next-team { display: inline-block; margin-left: 6px; padding: 1px 7px; border: 1px solid rgba(233,162,59,.6); border-radius: 999px; color: #fff; letter-spacing: .06em; }
@media (max-width: 640px) { .hd-next-team { margin-left: 4px; padding: 0 5px; } }

/* Abstand um Einzelbilder im Fliesstext (z.B. Kinderschutz) */
.prose > p:has(> a.zoomable:only-child),
.prose > p:has(> img:only-child),
.prose > figure { margin: 28px 0 36px; }
.prose > p:has(> a.zoomable:only-child) img,
.prose > p:has(> img:only-child) img { margin: 0; }
.prose > .gallery + *, .prose > figure + h2, .prose > figure + h3 { margin-top: 36px; }

/* Vereinsseiten: Titelbild näher an den Seitenkopf, Abstand zum Text */
.wrap-read.block > .article-image:first-child { margin-top: 0 !important; margin-bottom: 36px; }

/* Ehrenmitglieder: Ehrentafel */
.prose-ehrenmitglieder > p:first-child { font-size: 1.15rem; line-height: 1.6; color: var(--ink); }
.honor { position: relative; margin-top: 40px; padding: 44px 40px 40px; border-radius: 14px; color: #fff; background: radial-gradient(120% 90% at 50% 0%, #0b7a48 0%, var(--green) 45%, var(--green-dark) 100%); box-shadow: 0 20px 50px rgba(0,74,42,.25); overflow: hidden; }
.honor::before { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(233,162,59,.55); border-radius: 8px; pointer-events: none; }
.honor-head { position: relative; text-align: center; margin-bottom: 30px; }
.honor-star { color: var(--gold); filter: drop-shadow(0 2px 6px rgba(0,0,0,.25)); }
.honor-star path { fill: var(--gold); }
.honor-head h2 { margin: 6px 0 4px; font-size: 2.4rem; letter-spacing: .08em; text-transform: uppercase; color: #fff; }
.honor-head p { margin: 0; font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.honor-list { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.honor-item { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 18px 12px 16px; border-radius: 8px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); transition: background .2s, border-color .2s; }
.honor-item:hover { background: rgba(255,255,255,.1); border-color: rgba(233,162,59,.6); }
.honor-first { font-size: .95rem; color: rgba(255,255,255,.85); }
.honor-last { font-family: var(--font-head); font-size: 1.45rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; line-height: 1.1; }
.honor-year { margin-top: 8px; padding-top: 8px; border-top: 1px solid rgba(233,162,59,.5); font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
@media (max-width: 640px) {
  .honor { padding: 32px 18px 22px; }
  .honor-head h2 { font-size: 1.9rem; }
  .honor-list { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .honor-last { font-size: 1.2rem; }
}

/* Kleinerer Abstand zwischen grauem Seitenkopf und Inhalt (alle Seiten) */
.page-head + .block, .page-head + section.block, .page-head + article.block { padding-top: 32px; }
.page-head + .article-image { margin-top: 32px; }
.page-head + .article-image + .block { padding-top: 32px; }

/* ===== Sponsoring ===== */
.sp-hero { position: relative; color: #fff; background: var(--green-dark); overflow: hidden; }
.sp-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.sp-hero.has-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,40,22,.94) 0%, rgba(0,60,33,.82) 45%, rgba(0,60,33,.35) 100%); }
.sp-hero-inner { position: relative; z-index: 1; padding-top: 88px; padding-bottom: 88px; max-width: var(--wrap); }
.sp-hero h1 { max-width: 14em; margin: 0 0 16px; font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.02; color: #fff; }
.sp-hero-text { max-width: 36em; font-size: 1.15rem; line-height: 1.55; color: rgba(255,255,255,.9); }
.sp-hero-text p { margin: 0 0 .8em; }
.sp-hero-text a { color: #fff; }
.sp-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.sp-hero .btn-ghost, .sp-cta .btn-ghost { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.7); }
.sp-stats { background: var(--ink); color: #fff; }
.sp-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.sp-stat { padding: 28px 12px; text-align: center; border-left: 1px solid rgba(255,255,255,.1); }
.sp-stat:first-child { border-left: 0; }
.sp-stat strong { display: block; font-family: var(--font-head); font-size: 2.6rem; line-height: 1; color: var(--gold); }
.sp-stat span { display: block; margin-top: 6px; font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.75); }
.sp-intro { max-width: 44em; margin-bottom: 26px; }
.sp-intro .section-title { margin-bottom: 8px; }
.sp-reasons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.sp-reason { position: relative; padding: 26px 24px 22px; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; }
.sp-reason-num { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; border-radius: 50%; background: var(--green); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; }
.sp-reason h3 { margin: 14px 0 8px; font-size: 1.25rem; }
.sp-reason p { margin: 0; color: var(--ink-2); }
.sp-offers { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 20px; }
.sp-offer { position: relative; display: flex; flex-direction: column; padding: 26px 24px 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--green); transition: transform .2s, box-shadow .2s; }
.sp-offer:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0,0,0,.08); }
.sp-offer.is-highlight { border-top-color: var(--gold); background: linear-gradient(180deg, #fffaf1 0%, #fff 40%); }
.sp-tag { align-self: flex-start; padding: 3px 10px; border-radius: 999px; background: #eef6f1; color: var(--green); font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.sp-offer.is-highlight .sp-tag { background: #fbeed6; color: #9a6410; }
.sp-offer h3 { margin: 12px 0 6px; font-size: 1.35rem; }
.sp-offer-text { margin: 0 0 14px; color: var(--ink-2); }
.sp-offer ul { list-style: none; margin: 0 0 18px; padding: 0; flex: 1; }
.sp-offer li { position: relative; padding: 6px 0 6px 24px; border-top: 1px solid var(--line); font-size: .92rem; }
.sp-offer li::before { content: ""; position: absolute; left: 2px; top: 12px; width: 12px; height: 7px; border-left: 2px solid var(--green); border-bottom: 2px solid var(--green); transform: rotate(-45deg); }
.sp-offer-link { align-self: flex-start; font-weight: 700; color: var(--green); text-decoration: none; }
.sp-offer-link::after { content: " \2192"; }
.sp-offer-link:hover { text-decoration: underline; }
.sp-private { margin: 24px 0 0; color: var(--ink-2); }
.sp-private a { color: var(--green); font-weight: 600; }
.sp-steps { list-style: none; counter-reset: sp; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.sp-steps li { counter-increment: sp; position: relative; padding: 0 0 0 64px; }
.sp-steps li::before { content: counter(sp); position: absolute; left: 0; top: -4px; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; border-radius: 50%; border: 2px solid var(--gold); color: var(--green); font-family: var(--font-head); font-size: 1.5rem; font-weight: 700; }
.sp-steps strong { display: block; font-size: 1.1rem; }
.sp-steps span { color: var(--ink-2); }
.sp-logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px; }
.sp-logo { display: flex; align-items: center; justify-content: center; height: 110px; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: border-color .2s; }
.sp-logo img { max-width: 100%; max-height: 100%; object-fit: contain; filter: grayscale(1); opacity: .8; transition: filter .2s, opacity .2s; }
a.sp-logo:hover { border-color: var(--green); }
.sp-logo:hover img { filter: none; opacity: 1; }
.sp-quartier { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.sp-quartier li > * { display: flex; align-items: center; min-height: 64px; padding: 12px 16px; border-left: 4px solid var(--gold); border-radius: 6px; background: var(--bg-soft); font-weight: 600; color: var(--green-dark); text-decoration: none; transition: background .15s, transform .15s; }
.sp-quartier li > a:hover { background: #eef6f1; transform: translateY(-2px); }
.sp-quartier li > a::after { content: "\2197"; margin-left: auto; padding-left: 8px; color: var(--green); font-size: .85rem; }
.sp-cta { background: radial-gradient(120% 120% at 0% 0%, #0b7a48 0%, var(--green) 40%, var(--green-dark) 100%); color: #fff; }
.sp-cta-inner { display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center; padding-top: 64px; padding-bottom: 64px; }
.sp-cta h2 { margin: 0 0 10px; font-size: clamp(1.9rem, 4vw, 2.8rem); color: #fff; }
.sp-cta-text p { color: rgba(255,255,255,.88); margin: 0; }
.sp-cta .eyebrow { color: var(--gold); }
.sp-contact { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 26px 30px; border-radius: 14px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); min-width: 240px; }
.sp-contact-photo { width: 120px; height: 120px; margin-bottom: 10px; border-radius: 50%; overflow: hidden; border: 3px solid var(--gold); background: rgba(255,255,255,.12); display: flex; align-items: center; justify-content: center; }
.sp-contact-photo img { width: 100%; height: 100%; object-fit: cover; }
.sp-contact-photo span { font-family: var(--font-head); font-size: 2.4rem; font-weight: 700; color: #fff; }
.sp-contact strong { font-size: 1.15rem; }
.sp-contact span { font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.sp-contact a { margin-top: 6px; color: #fff; font-size: .9rem; }
@media (max-width: 900px) {
  .sp-reasons, .sp-steps { grid-template-columns: 1fr; }
  .sp-cta-inner { grid-template-columns: 1fr; }
  .sp-contact { justify-self: start; }
}
@media (max-width: 640px) {
  .sp-hero-inner { padding-top: 56px; padding-bottom: 56px; }
  .sp-hero.has-img::after { background: linear-gradient(180deg, rgba(0,40,22,.9), rgba(0,60,33,.8)); }
  .sp-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .sp-stat:nth-child(3) { border-left: 0; }
  .sp-stat { border-top: 1px solid rgba(255,255,255,.1); }
  .sp-stat strong { font-size: 2.1rem; }
}

/* Sponsoring: Ausrüster */
.sp-supplier-wrap { padding-bottom: 0; }
.sp-supplier { display: grid; grid-template-columns: 240px 1fr; gap: 36px; align-items: center; padding: 28px 32px; border-radius: var(--radius); border: 1px solid var(--line); border-left: 5px solid var(--gold); background: #fff; }
.sp-supplier-logo { display: flex; align-items: center; justify-content: center; height: 120px; padding: 12px; }
.sp-supplier-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.sp-supplier-text h2 { margin: 0 0 6px; font-size: 1.8rem; }
.sp-supplier-text p { margin: 0 0 10px; color: var(--ink-2); }
.sp-supplier-text .eyebrow { margin-bottom: 4px; }
@media (max-width: 640px) {
  .sp-supplier { grid-template-columns: 1fr; gap: 12px; padding: 22px 20px; }
  .sp-supplier-logo { height: 90px; justify-content: flex-start; padding: 0; }
}

/* Quartierpartner: alle Kacheln gleich gross */
.sp-quartier { grid-auto-rows: 1fr; }
.sp-quartier li { display: flex; min-width: 0; }
.sp-quartier li > * { flex: 1; height: 100%; min-height: 72px; box-sizing: border-box; line-height: 1.3; }

/* Fehlerseiten */
.error-page { padding: 80px 0 96px; text-align: center; }
.error-page .wrap { display: flex; flex-direction: column; align-items: center; }
.error-code { margin: 0; font-family: var(--font-head); font-size: 5rem; font-weight: 700; line-height: 1; color: var(--green); opacity: .25; }
.error-page h1 { margin: 6px 0 10px; }
.error-page .lead { max-width: 32em; margin: 0 auto 26px; color: var(--ink-2); }
.error-links { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.footer-legal a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

/* Abgesagte Spiele (nur auf der Spielplan-Seite sichtbar) */
.match.is-cancelled { opacity: .6; }
.match.is-cancelled .match-teams { text-decoration: line-through; text-decoration-color: rgba(224,0,27,.6); }

/* Handy: in der schwarzen Leiste Datum und Gegner statt Beschriftung zeigen */
@media (max-width: 640px) {
  .hd-next { gap: 6px; }
  .hd-next-label { font-size: 0; letter-spacing: 0; }
  .hd-next-label .hd-next-team { font-size: .66rem; margin-left: 0; }
  .hd-next-date { font-size: .74rem; }
  .hd-next-match { font-size: .74rem; }
}

/* Handy: Gastteam gleich linksbündig wie Heimteam (Logo links, Name rechts daneben) */
@media (max-width: 720px) {
  .match-team-away { flex-direction: row-reverse; justify-content: flex-end; text-align: left; }
  .match-score { padding-left: 46px; }
}

/* Startseite: Weiterlesen unter dem Geschichtsblock */
.prose .home-more { margin-top: 1.5rem; }
.prose .home-more a.btn { text-decoration: none; color: #fff; }

/* Einwilligung Google Analytics */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 900; display: flex; justify-content: center; }
.consent[hidden] { display: none; }
.consent-inner { max-width: 720px; width: 100%; background: #fff; color: var(--ink); border-top: 4px solid var(--green); border-radius: 8px; box-shadow: 0 10px 40px rgba(0,0,0,.22); padding: 18px 20px; display: flex; gap: 18px; align-items: center; }
.consent-inner p { margin: 0; font-size: .92rem; line-height: 1.5; }
.consent-actions { display: flex; gap: 10px; flex-shrink: 0; }
@media (max-width: 640px) {
  .consent-inner { flex-direction: column; align-items: stretch; }
  .consent-actions { justify-content: flex-end; }
}
