/* ============================================================
   SV Lindenfeld — Konzept v5 · MOBILE-FIRST
   Vibe: Sport-Editorial, einladend, ultraprofessionell
   Basis = 375px, min-width-Queries erweitern nach oben.
   BrainArts: Geist + Big Shoulders Display, Hairlines,
   Macro-Whitespace, Studio-Easing, dezente Reveals.
   ============================================================ */

:root {
  /* Vereinsfarbe der Demo: Pinie-Grün */
  --rw-red: #1f7a4d;
  --rw-red-deep: #155e3a;
  --rw-red-tint: #e9f4ee;

  --bg: #ffffff;
  --surface-2: #f6f6f7;
  --surface-3: #ececef;
  --ink: #0a0a0b;
  --ink-soft: #1c1c20;
  --muted: #4d4d56;
  --dim: #6e6e78;

  --hair: rgba(10, 10, 11, 0.08);
  --hair-strong: rgba(10, 10, 11, 0.14);

  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-pill: 9999px;

  --ease-studio: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-out: cubic-bezier(0.16, 0.84, 0.34, 1);

  --pad: 20px;   /* container padding — mobil */
  --sec: 64px;   /* section padding — mobil */
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: "Geist", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01", "cv11";
  letter-spacing: -0.005em;
}
body.menu-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; }
::selection { background: var(--rw-red); color: #fff; }

/* Sichtbarer Tastatur-Fokus auf allen interaktiven Elementen */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.chip:focus-visible,
.sparten-table tbody tr:focus-visible {
  outline: 2.5px solid var(--rw-red);
  outline-offset: 2px;
  border-radius: 3px;
}
:focus:not(:focus-visible) { outline: none; }

/* ---------- Konzept-Banner ---------- */
.concept-banner {
  position: sticky; top: 0; z-index: 200;
  background: var(--ink); color: #fff;
  text-align: center; padding: 9px 14px;
  font-size: 11px; font-weight: 500; line-height: 1.5;
}
.concept-banner strong { font-weight: 600; }
.concept-banner a { color: #fff; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* ---------- Topnav ---------- */
.topnav {
  position: sticky; top: 33px; z-index: 150;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--hair);
  backdrop-filter: saturate(180%) blur(8px);
  -webkit-backdrop-filter: saturate(180%) blur(8px);
}
.topnav-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 12px var(--pad);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.topnav-logo { display: inline-flex; align-items: center; gap: 13px; color: var(--ink); }
.topnav-logo img { height: 56px; width: auto; display: block; }
.logo-badge {
  display: inline-grid; place-items: center;
  width: 46px; height: 46px; border-radius: 11px;
  background: var(--rw-red); color: #fff;
  font-family: "Big Shoulders Display", "Geist", sans-serif;
  font-weight: 800; font-size: 21px; letter-spacing: 0.01em;
}
.topnav-logo .name-block { display: flex; flex-direction: column; line-height: 1.1; }
.topnav-logo .small {
  font-size: 9.5px; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--dim); font-weight: 500;
}
.topnav-logo .name {
  font-family: "Geist", sans-serif; font-weight: 700;
  font-size: 16px; letter-spacing: -0.022em; color: var(--ink);
}
.topnav-links { display: none; }
.topnav-cta { display: none; }
.topnav-mobile {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: var(--r-md);
  background: var(--bg); border: 1px solid var(--hair-strong);
  position: relative; flex-shrink: 0;
}
.topnav-mobile span {
  position: absolute; left: 13px; right: 13px; height: 1.7px;
  background: var(--ink);
  transition: transform 400ms var(--ease-studio), opacity 200ms var(--ease-studio);
}
.topnav-mobile span:nth-child(1) { top: 17px; }
.topnav-mobile span:nth-child(2) { top: 22.5px; }
.topnav-mobile span:nth-child(3) { top: 28px; }
body.menu-open .topnav-mobile span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
body.menu-open .topnav-mobile span:nth-child(2) { opacity: 0; }
body.menu-open .topnav-mobile span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* ---------- Burger-Overlay ---------- */
.menu {
  position: fixed; inset: 0; z-index: 140;
  background: var(--bg);
  padding: 104px var(--pad) 36px;
  display: flex; flex-direction: column;
  opacity: 0; visibility: hidden;
  transition: opacity 380ms var(--ease-studio), visibility 380ms;
}
body.menu-open .menu { opacity: 1; visibility: visible; }
.menu nav { border-top: 1px solid var(--hair); }
.menu nav a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 2px; border-bottom: 1px solid var(--hair);
  font-family: "Big Shoulders Display", "Geist", sans-serif;
  font-weight: 700; font-size: 34px; line-height: 1;
  text-transform: uppercase; letter-spacing: -0.005em;
  color: var(--ink);
  opacity: 0; transform: translateY(14px);
  transition: opacity 420ms var(--ease-studio), transform 420ms var(--ease-studio), color 200ms var(--ease-studio);
}
.menu nav a::after { content: "→"; font-family: "Geist", sans-serif; font-size: 0.5em; color: var(--rw-red); }
.menu nav a:hover { color: var(--rw-red); }
body.menu-open .menu nav a { opacity: 1; transform: none; }
body.menu-open .menu nav a:nth-child(1) { transition-delay: 110ms; }
body.menu-open .menu nav a:nth-child(2) { transition-delay: 160ms; }
body.menu-open .menu nav a:nth-child(3) { transition-delay: 210ms; }
body.menu-open .menu nav a:nth-child(4) { transition-delay: 260ms; }
.menu-cta {
  margin-top: 28px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; border-radius: var(--r-pill);
  background: var(--rw-red); color: #fff;
  font-weight: 600; font-size: 16px;
  opacity: 0; transition: opacity 420ms var(--ease-studio) 300ms;
}
body.menu-open .menu-cta { opacity: 1; }
.menu-foot {
  margin-top: auto; padding-top: 32px;
  display: flex; flex-direction: column; gap: 5px;
  font-size: 13px; color: var(--muted);
  opacity: 0; transition: opacity 420ms var(--ease-studio) 340ms;
}
body.menu-open .menu-foot { opacity: 1; }
.menu-foot .k { font-size: 10px; letter-spacing: 0.13em; text-transform: uppercase; color: var(--dim); font-weight: 600; }

/* ---------- Container ---------- */
.container { max-width: 1280px; margin: 0 auto; padding: 0 var(--pad); }

/* ---------- Typografie ---------- */
.display-h1 {
  font-family: "Geist", sans-serif; font-weight: 700;
  font-size: clamp(2.6rem, 9vw, 5.6rem);
  line-height: 1.0; letter-spacing: -0.038em; color: var(--ink);
}
.display-h1 .accent { color: var(--rw-red); }
.display-mega {
  font-family: "Big Shoulders Display", "Geist", sans-serif;
  font-weight: 700; font-size: clamp(4.5rem, 22vw, 14rem);
  line-height: 0.85; letter-spacing: -0.02em;
  text-transform: uppercase; color: var(--ink);
  font-variant-numeric: lining-nums;
}
.display-mega.red { color: var(--rw-red); }
.display-stat {
  font-family: "Big Shoulders Display", "Geist", sans-serif;
  font-weight: 700; font-size: clamp(2.4rem, 9vw, 6rem);
  line-height: 0.9; letter-spacing: -0.015em;
  text-transform: uppercase; color: var(--ink);
  font-variant-numeric: lining-nums;
}
.display-h2 {
  font-family: "Geist", sans-serif; font-weight: 700;
  font-size: clamp(1.8rem, 6vw, 3.2rem);
  line-height: 1.05; letter-spacing: -0.03em; color: var(--ink);
}
.display-h3 {
  font-family: "Geist", sans-serif; font-weight: 600;
  font-size: clamp(1.25rem, 4vw, 1.65rem);
  line-height: 1.2; letter-spacing: -0.022em; color: var(--ink);
}
.kicker {
  display: block; font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.18em;
  font-weight: 600; color: var(--rw-red); margin-bottom: 16px;
}
.lead {
  font-size: 16.5px; line-height: 1.58;
  color: var(--muted); max-width: 60ch;
}

/* ---------- Sections ---------- */
.section { padding: var(--sec) 0; }
.section-hero { padding: 48px 0 var(--sec); }
.section-tight { padding: calc(var(--sec) * 0.8) 0; }
.section-head { display: flex; flex-direction: column; margin-bottom: 40px; max-width: 720px; }
.section-head .display-h2 { margin-top: 4px; }
.section-head .lead { margin-top: 14px; }
.section-rw { background: var(--rw-red); color: #fff; }
.section-rw .kicker { color: rgba(255,255,255,0.7); }
.section-rw .display-h2 { color: #fff; }
.section-rw .lead { color: rgba(255,255,255,0.85); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 24px;
  border-radius: var(--r-pill);
  background: var(--ink); color: #fff;
  font-size: 15px; font-weight: 600; letter-spacing: -0.005em;
  border: 1px solid var(--ink);
  transition: background 300ms var(--ease-studio), transform 300ms var(--ease-studio);
}
.btn::after { content: "→"; transition: transform 300ms var(--ease-studio); }
.btn:hover { background: var(--ink-soft); transform: translateY(-1px); }
.btn:hover::after { transform: translateX(3px); }
.btn:active { transform: scale(0.98); }
.btn-red { background: var(--rw-red); border-color: var(--rw-red); }
.btn-red:hover { background: var(--rw-red-deep); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--hair-strong); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-white { background: #fff; color: var(--rw-red); border-color: #fff; }
.btn-white:hover { background: var(--surface-2); }
.btn-block { display: flex; width: 100%; }

/* ---------- Hero (Sport-Editorial) ---------- */
.hero-editorial { display: flex; flex-direction: column; gap: 32px; }
.hero-editorial-text { display: flex; flex-direction: column; gap: 28px; }
.hero-mega-stack { display: flex; flex-direction: column; }
.hero-mega-stack .display-mega { margin-left: -0.06em; }
.hero-mega-stack .display-stat { margin-top: 8px; }
.hero-ctas { margin-top: 28px; display: flex; flex-direction: column; gap: 10px; }
.hero-visual {
  position: relative; aspect-ratio: 4 / 3;
  border-radius: var(--r-lg); overflow: hidden; background: var(--ink);
}
.hero-visual img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: contrast(1.06) saturate(1.05);
}
.hero-visual::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(150deg, rgba(10,10,11,0) 45%, rgba(10,10,11,0.5) 100%);
  pointer-events: none;
}
.hero-visual .badge {
  position: absolute; bottom: 16px; left: 16px; right: 16px; z-index: 2;
  font-family: "Big Shoulders Display", sans-serif;
  font-size: 11px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.14em; color: #fff;
  background: rgba(0,0,0,0.55); padding: 8px 13px;
  border-radius: var(--r-md); backdrop-filter: blur(4px);
}

/* ---------- Hero (Subpage-Variante) ---------- */
.hero { display: flex; flex-direction: column; gap: 36px; }
.hero-meta {
  display: grid; grid-template-columns: repeat(3, 1fr);
  margin-top: 8px; border-top: 1px solid var(--hair); padding-top: 22px;
}
.hero-meta > div { padding-right: 10px; }
.hero-meta > div + div { padding-left: 14px; border-left: 1px solid var(--hair); }
.hero-meta strong {
  display: block; font-family: "Geist", sans-serif; font-weight: 700;
  font-size: clamp(1.5rem, 5vw, 2.4rem); line-height: 1;
  letter-spacing: -0.028em; color: var(--ink); margin-bottom: 6px;
  font-variant-numeric: tabular-nums;
}
.hero-meta .label {
  font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--dim); font-weight: 500;
}

/* ---------- Sparten-Visual-Tiles ---------- */
.sparten-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.sparten-tiles .tile {
  position: relative; aspect-ratio: 4 / 5;
  border-radius: var(--r-lg); overflow: hidden;
  background: var(--ink); display: block;
  transition: transform 500ms var(--ease-studio);
}
.sparten-tiles .tile:active { transform: scale(0.98); }
.sparten-tiles .tile img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: contrast(1.06) saturate(1.05);
  transition: transform 800ms var(--ease-studio);
}
.sparten-tiles .tile::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 38%, rgba(10,10,11,0.85) 100%);
  pointer-events: none;
}
.sparten-tiles .tile .content {
  position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 2;
  color: #fff; display: flex; flex-direction: column; gap: 3px;
}
.sparten-tiles .tile .name {
  font-family: "Big Shoulders Display", sans-serif; font-weight: 700;
  font-size: clamp(1.5rem, 5vw, 2.4rem); line-height: 0.95;
  text-transform: uppercase; color: #fff;
}
.sparten-tiles .tile .meta {
  font-size: 11.5px; color: rgba(255,255,255,0.85);
  font-variant-numeric: tabular-nums;
}
.sparten-tiles .tile.badge::before {
  content: "Detail-Seite"; position: absolute; top: 12px; left: 12px; z-index: 3;
  font-family: "Big Shoulders Display", sans-serif;
  font-size: 9.5px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.14em; color: #fff; background: var(--rw-red);
  padding: 4px 8px; border-radius: var(--r-sm);
}
.alle-sparten-link {
  margin-top: 28px; display: inline-flex; align-items: center; gap: 10px;
  font-family: "Geist", sans-serif; font-weight: 600; font-size: 16px;
  color: var(--ink); letter-spacing: -0.015em;
  transition: color 300ms var(--ease-studio), gap 300ms var(--ease-studio);
}
.alle-sparten-link::after { content: "→"; }
.alle-sparten-link:hover { color: var(--rw-red); gap: 14px; }

/* ---------- Heritage (Drei-wurde-einer) ---------- */
.heritage {
  background: var(--ink); color: #fff;
  padding: var(--sec) 0; position: relative; overflow: hidden;
}
.heritage .container { display: flex; flex-direction: column; gap: 36px; }
.heritage .kicker {
  font-family: "Big Shoulders Display", sans-serif;
  color: var(--rw-red); font-size: 12px; letter-spacing: 0.18em;
  text-transform: uppercase; font-weight: 600; margin-bottom: 18px;
}
.heritage h2 {
  font-family: "Geist", sans-serif; font-weight: 700;
  font-size: clamp(1.8rem, 6vw, 3.2rem); line-height: 1.05;
  letter-spacing: -0.032em; color: #fff; margin-bottom: 18px;
}
.heritage p {
  font-size: 16px; line-height: 1.6; color: rgba(255,255,255,0.78);
  max-width: 52ch; margin-bottom: 14px;
}
.heritage p strong { color: #fff; font-weight: 600; }
.heritage-roots { display: flex; flex-direction: column; gap: 24px; }
.root { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: baseline; }
.root .year {
  font-family: "Big Shoulders Display", sans-serif; font-weight: 700;
  font-size: clamp(2rem, 8vw, 3.4rem); line-height: 1;
  letter-spacing: -0.015em; color: var(--rw-red);
  font-variant-numeric: lining-nums; text-transform: uppercase; min-width: 4ch;
}
.root .name {
  font-family: "Geist", sans-serif; font-weight: 600; font-size: 16px;
  color: #fff; letter-spacing: -0.018em; line-height: 1.3;
}
.root .name span {
  display: block; font-weight: 400; font-size: 13.5px;
  color: rgba(255,255,255,0.65); margin-top: 3px;
}
.heritage-merger {
  border-top: 1px solid rgba(255,255,255,0.22); padding-top: 24px;
  display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: baseline;
}
.heritage-merger .year {
  font-family: "Big Shoulders Display", sans-serif; font-weight: 700;
  font-size: clamp(3rem, 11vw, 6rem); line-height: 0.9;
  letter-spacing: -0.02em; color: #fff; font-variant-numeric: lining-nums;
}
.heritage-merger .text {
  font-family: "Geist", sans-serif; font-size: 15px;
  line-height: 1.5; color: rgba(255,255,255,0.85);
}
.heritage-merger .text strong { color: #fff; font-weight: 600; }

/* ---------- Probetraining-Banner ---------- */
.probetraining {
  background: var(--rw-red); color: #fff;
  padding: var(--sec) 0; position: relative;
}
.probetraining .container { display: flex; flex-direction: column; gap: 32px; }
.probetraining h2 {
  font-family: "Geist", sans-serif; font-weight: 700;
  font-size: clamp(1.9rem, 7vw, 3.6rem); line-height: 1.0;
  letter-spacing: -0.034em; color: #fff;
}
.probetraining p {
  margin-top: 18px; font-size: 16px; line-height: 1.55;
  color: rgba(255,255,255,0.88); max-width: 48ch;
}
.probetraining .btn-white { margin-top: 24px; }
.probetraining-meta {
  display: flex; flex-direction: column; gap: 18px;
  border-top: 1px solid rgba(255,255,255,0.25); padding-top: 28px;
}
.probetraining-meta .row { display: flex; flex-direction: column; gap: 4px; }
.probetraining-meta .label {
  font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.14em;
  color: rgba(255,255,255,0.6); font-weight: 600;
}
.probetraining-meta .value { font-size: 15.5px; color: #fff; font-weight: 500; line-height: 1.5; }

/* ---------- News Grid ---------- */
.news-grid { display: flex; flex-direction: column; gap: 28px; }
.news-card { display: flex; flex-direction: column; gap: 14px; transition: transform 400ms var(--ease-studio); }
.news-card:active { transform: scale(0.99); }
.news-card .image {
  position: relative; aspect-ratio: 16 / 10;
  border-radius: var(--r-md); overflow: hidden; background: var(--surface-3);
}
.news-card .image img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: contrast(1.06) saturate(1.05);
  transition: transform 600ms var(--ease-studio);
}
.news-card .meta {
  font-family: "Big Shoulders Display", sans-serif; font-size: 12px;
  text-transform: uppercase; letter-spacing: 0.16em; color: var(--rw-red); font-weight: 600;
}
.news-card h3 {
  font-family: "Geist", sans-serif; font-weight: 700; font-size: 20px;
  line-height: 1.2; letter-spacing: -0.024em; color: var(--ink);
}
.news-card p { font-size: 14.5px; color: var(--muted); line-height: 1.55; }
.news-card .more {
  font-size: 13.5px; color: var(--rw-red); font-weight: 600;
  display: inline-flex; align-items: center; gap: 6px;
}
.news-card .more::after { content: "→"; }

/* ---------- Breadcrumb / Page-Head ---------- */
.breadcrumb { margin-top: 24px; font-size: 12px; color: var(--dim); }
.breadcrumb a { color: var(--dim); display: inline-block; padding: 6px 0; }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb span { margin: 0 8px; opacity: 0.4; }
.page-head { padding: 32px 0 44px; border-bottom: 1px solid var(--hair); }
.page-head .container { max-width: 880px; }
.page-head h1 {
  font-family: "Geist", sans-serif; font-weight: 700;
  font-size: clamp(2.2rem, 9vw, 4.8rem); line-height: 1.0;
  letter-spacing: -0.034em; color: var(--ink); margin-bottom: 18px;
}
.page-head h1 .accent { color: var(--rw-red); }
.page-head .kicker { margin-bottom: 18px; }
.page-head .lead { margin-top: 4px; }
.page-head .actions { margin-top: 28px; display: flex; flex-direction: column; gap: 10px; }

/* ---------- Filter-Bar (Sparten) ---------- */
.filter-bar {
  background: var(--surface-2); border: 1px solid var(--hair);
  border-radius: var(--r-lg); padding: 20px;
  display: flex; flex-direction: column; gap: 20px; margin-bottom: 32px;
}
.filter-group { display: flex; flex-direction: column; gap: 11px; }
.filter-group .label {
  font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--dim); font-weight: 600;
}
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center;
  min-height: 44px; padding: 0 16px;
  border-radius: var(--r-pill); background: var(--bg);
  border: 1px solid var(--hair-strong);
  font-size: 13.5px; font-weight: 500; color: var(--ink-soft);
  transition: background 300ms var(--ease-studio), border-color 300ms var(--ease-studio), color 300ms var(--ease-studio);
}
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.search-input {
  display: flex; align-items: center; gap: 11px;
  padding: 0 16px; min-height: 50px;
  border-radius: var(--r-md); background: var(--bg);
  border: 1px solid var(--hair-strong);
  transition: border-color 300ms var(--ease-studio);
}
.search-input:focus-within { border-color: var(--ink); }
.search-input svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--dim); }
.search-input input { flex: 1; border: none; outline: none; background: transparent; font: inherit; font-size: 16px; color: var(--ink); }
.filter-reset {
  align-self: flex-start; font-size: 13px; color: var(--muted);
  background: none; border: none; padding: 6px 0;
  text-decoration: underline; text-underline-offset: 3px;
  transition: color 300ms var(--ease-studio);
}
.filter-reset:hover { color: var(--ink); }
.filter-summary { font-size: 13px; color: var(--dim); font-variant-numeric: tabular-nums; }

/* ---------- Sparten-Tabelle → mobil als Cards ---------- */
.sparten-table-wrap {
  border: 1px solid var(--hair); border-radius: var(--r-lg);
  overflow: hidden; background: var(--bg);
}
.sparten-table { width: 100%; border-collapse: collapse; }
.sparten-table thead { display: none; }
.sparten-table, .sparten-table tbody, .sparten-table tr, .sparten-table td { display: block; }
.sparten-table tbody tr {
  padding: 18px 18px; border-bottom: 1px solid var(--hair); position: relative;
  transition: background 250ms var(--ease-studio);
}
.sparten-table tbody tr:last-child { border-bottom: none; }
.sparten-table tbody tr.hidden { display: none; }
.sparten-table tbody td { padding: 3px 0; font-size: 14px; }
.sparten-table .col-name {
  font-family: "Geist", sans-serif; font-weight: 700;
  font-size: 19px; letter-spacing: -0.022em; color: var(--ink);
  margin-bottom: 6px; padding-right: 30px;
}
.sparten-table .col-name .badge {
  display: inline-block; margin-left: 8px; padding: 3px 8px;
  border-radius: var(--r-sm); font-size: 10px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  background: var(--rw-red-tint); color: var(--rw-red-deep);
}
.sparten-table .col-days, .sparten-table .col-ages,
.sparten-table .col-place, .sparten-table .col-price {
  color: var(--muted); font-variant-numeric: tabular-nums;
}
.sparten-table .col-days::before { content: "Training · "; color: var(--dim); }
.sparten-table .col-ages::before { content: "Alter · "; color: var(--dim); }
.sparten-table .col-place::before { content: "Ort · "; color: var(--dim); }
.sparten-table .col-price::before { content: "Beitrag · "; color: var(--dim); }
.sparten-table .col-arrow {
  position: absolute; top: 18px; right: 16px;
  color: var(--dim); font-size: 16px;
}
.empty-state { padding: 56px 24px; text-align: center; display: none; }
.empty-state.visible { display: block; }
.empty-state h3 { font-family: "Geist", sans-serif; font-weight: 600; font-size: 18px; margin-bottom: 10px; color: var(--ink); }
.empty-state p { font-size: 14.5px; color: var(--muted); margin-bottom: 22px; }

/* ---------- Layout Grid ---------- */
.layout-grid { display: flex; flex-direction: column; gap: 40px; padding: var(--sec) 0; }
.content-block { margin-bottom: 40px; }
.content-block:last-child { margin-bottom: 0; }
.content-block h2 {
  font-family: "Geist", sans-serif; font-weight: 700;
  font-size: clamp(1.6rem, 5vw, 2.2rem); line-height: 1.1;
  letter-spacing: -0.026em; margin-bottom: 20px; color: var(--ink);
}
.content-block h3 {
  font-family: "Geist", sans-serif; font-weight: 600; font-size: 17px;
  letter-spacing: -0.018em; margin-top: 22px; margin-bottom: 9px; color: var(--ink);
}
.content-block p {
  font-size: 16px; line-height: 1.65; color: var(--muted);
  margin-bottom: 13px; max-width: 62ch;
}
.content-block p strong { color: var(--ink); font-weight: 600; }
.content-block ul.dashed { margin: 14px 0; }
.content-block ul.dashed li {
  padding: 7px 0 7px 20px; position: relative;
  color: var(--muted); font-size: 15.5px; line-height: 1.55;
}
.content-block ul.dashed li::before { content: "—"; position: absolute; left: 0; color: var(--rw-red); font-weight: 600; }
.content-block .note { font-size: 13px; color: var(--dim); font-style: italic; }

/* ---------- Sidebar Info-Blocks ---------- */
.info-block {
  background: var(--surface-2); border: 1px solid var(--hair);
  border-radius: var(--r-lg); padding: 24px; margin-bottom: 14px;
}
.info-block h3 {
  font-size: 11.5px; text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--dim); font-weight: 600; margin-bottom: 13px;
}
.info-block p { font-size: 15px; color: var(--ink-soft); line-height: 1.55; margin-bottom: 7px; }
.info-block p strong { color: var(--ink); font-weight: 600; }
.info-block a { color: var(--rw-red); font-weight: 500; }
.info-block a:hover { color: var(--rw-red-deep); }
.info-block ul { margin-top: 4px; }
.info-block ul li {
  padding: 10px 0; border-bottom: 1px solid var(--hair);
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; font-size: 14px;
}
.info-block ul li:last-child { border-bottom: none; }
.info-block .label {
  font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.16em;
  color: var(--dim); font-weight: 600; display: block;
  margin-top: 14px; margin-bottom: 4px;
}

/* ---------- Personen-Listen ---------- */
.person-list { display: flex; flex-direction: column; }
.person-list .person {
  display: grid; grid-template-columns: 52px 1fr; gap: 16px;
  align-items: center; padding: 18px 0; border-bottom: 1px solid var(--hair);
}
.person-list .person:last-child { border-bottom: none; }
.person-list .avatar {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--ink); color: #fff;
  font-family: "Geist", sans-serif; font-weight: 600; font-size: 16px;
  letter-spacing: -0.022em;
  display: inline-flex; align-items: center; justify-content: center;
}
.person-list .info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.person-list .role {
  font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--dim); font-weight: 600;
}
.person-list .name {
  font-family: "Geist", sans-serif; font-size: 16px; font-weight: 700;
  letter-spacing: -0.018em; color: var(--ink);
}
.person-list .mail { font-size: 13px; color: var(--muted); word-break: break-all; }

/* ---------- Training Table ---------- */
.training-table { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.training-table thead { display: none; }
.training-table, .training-table tbody, .training-table tr, .training-table td { display: block; }
.training-table tr {
  padding: 14px 0; border-bottom: 1px solid var(--hair);
}
.training-table tr:last-child { border-bottom: none; }
.training-table td { padding: 2px 0; color: var(--ink-soft); }
.training-table td:first-child { font-weight: 600; font-size: 15px; color: var(--ink); margin-bottom: 4px; }
.training-table td.tt-zeit::before { content: "Zeit · "; color: var(--dim); }
.training-table td.tt-gruppe::before { content: "Gruppe · "; color: var(--dim); }
.training-table td.tt-halle::before { content: "Halle · "; color: var(--dim); }

/* ---------- Form ---------- */
form .field { margin-bottom: 18px; }
form label {
  display: block; font-size: 11px; font-weight: 600;
  letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--dim); margin-bottom: 8px;
}
form input, form textarea, form select {
  width: 100%; min-height: 50px; padding: 13px 15px;
  border-radius: var(--r-md); border: 1px solid var(--hair-strong);
  background: var(--bg); font-family: inherit; font-size: 16px; color: var(--ink);
  transition: border-color 300ms var(--ease-studio);
}
form textarea { min-height: 110px; resize: vertical; }
form input:focus, form textarea:focus, form select:focus { outline: none; border-color: var(--ink); }
form button { margin-top: 6px; }

/* ---------- Map placeholder ---------- */
.map-placeholder {
  background: var(--surface-2); border: 1px dashed var(--hair-strong);
  border-radius: var(--r-md); padding: 44px 22px; text-align: center;
  color: var(--dim); font-size: 13px;
}
.map-placeholder strong { color: var(--ink); font-weight: 600; display: block; margin-bottom: 6px; font-size: 14px; }

/* ---------- Footer ---------- */
footer { background: var(--ink); color: rgba(255,255,255,0.7); padding: var(--sec) 0 40px; }
footer .container { display: flex; flex-direction: column; gap: 36px; }
footer h4 {
  font-family: "Geist", sans-serif; font-weight: 700; font-size: 14px;
  letter-spacing: -0.012em; color: #fff; margin-bottom: 16px;
}
footer p, footer li { font-size: 14px; line-height: 1.65; }
footer li { margin: 2px 0; }
footer li a { display: inline-block; padding: 7px 0; min-height: 24px; }
footer a { color: rgba(255,255,255,0.7); }
footer a:hover { color: #fff; }
footer .copyline {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 20px; padding-top: 22px;
  font-size: 11.5px; color: rgba(255,255,255,0.56);
  display: flex; flex-direction: column; gap: 12px;
}
.ba-signature {
  display: inline-flex; align-items: baseline; gap: 4px;
  font-size: 11.5px; color: rgba(255,255,255,0.55);
}
.ba-signature em { font-style: italic; font-weight: 500; color: rgba(255,255,255,0.85); }
.ba-signature strong { font-weight: 600; color: #fff; }
.ba-signature .dot { color: var(--rw-red); font-weight: 700; }
.ba-signature:hover { color: #fff; }

/* ---------- Scroll-Reveal (progressive enhancement) ---------- */
/* Ohne JS bleibt alles sichtbar. Erst .js (von app.js gesetzt)
   aktiviert den verborgenen Startzustand der Reveal-Animation. */
.js .reveal {
  opacity: 0; transform: translateY(18px);
  transition: opacity 700ms var(--ease-studio), transform 700ms var(--ease-studio);
  will-change: opacity, transform;
}
.js .reveal.in { opacity: 1; transform: translateY(0); }
.js .reveal.delay-1 { transition-delay: 80ms; }
.js .reveal.delay-2 { transition-delay: 160ms; }

/* ============================================================
   TABLET — min-width: 680px
   ============================================================ */
@media (min-width: 680px) {
  :root { --pad: 32px; --sec: 88px; }
  .hero-ctas { flex-direction: row; flex-wrap: wrap; }
  .page-head .actions { flex-direction: row; }
  .sparten-tiles { grid-template-columns: repeat(3, 1fr); }
  .news-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
  .hero-visual { aspect-ratio: 16 / 10; }
  /* Sparten-Tabelle wird echte Tabelle */
  .sparten-table thead { display: table-header-group; }
  .sparten-table, .sparten-table tbody, .sparten-table tr, .sparten-table td { display: revert; }
  .sparten-table { display: table; }
  .sparten-table thead th {
    background: var(--surface-2); text-align: left;
    font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.14em;
    color: var(--dim); font-weight: 600;
    padding: 15px 20px; border-bottom: 1px solid var(--hair); white-space: nowrap;
  }
  .sparten-table tbody tr { border-bottom: 1px solid var(--hair); }
  .sparten-table tbody tr:hover { background: var(--surface-2); cursor: pointer; }
  .sparten-table tbody td { padding: 18px 20px; font-size: 14.5px; vertical-align: middle; }
  .sparten-table .col-name { font-size: 16px; margin-bottom: 0; padding-right: 0; }
  .sparten-table .col-days::before, .sparten-table .col-ages::before,
  .sparten-table .col-place::before, .sparten-table .col-price::before { content: ""; }
  .sparten-table .col-arrow { position: static; width: 32px; text-align: right; }
  .training-table thead { display: table-header-group; }
  .training-table, .training-table tbody, .training-table tr, .training-table td { display: revert; }
  .training-table { display: table; }
  .training-table th {
    text-align: left; font-size: 10.5px; text-transform: uppercase;
    letter-spacing: 0.14em; color: var(--dim); font-weight: 600;
    padding: 13px 14px; border-bottom: 1px solid var(--hair); background: var(--surface-2);
  }
  .training-table td { padding: 14px; border-bottom: 1px solid var(--hair); }
  .training-table tr:last-child td { border-bottom: none; }
  .training-table td:first-child { margin-bottom: 0; font-size: 14px; font-weight: 500; }
  .training-table td.tt-zeit::before, .training-table td.tt-gruppe::before, .training-table td.tt-halle::before { content: ""; }
  .probetraining-meta { flex-direction: row; flex-wrap: wrap; gap: 28px; }
  .probetraining-meta .row { flex: 1; min-width: 160px; }
  footer .container { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
  footer .copyline { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; flex-wrap: wrap; }
}

/* ============================================================
   DESKTOP — min-width: 1000px
   ============================================================ */
@media (min-width: 1000px) {
  :root { --sec: 120px; }
  .topnav-inner { padding: 16px 32px; }
  .topnav-mobile { display: none; }
  .topnav-links { display: flex; align-items: center; gap: 4px; }
  .topnav-links a {
    font-size: 14.5px; font-weight: 500; color: var(--ink-soft);
    padding: 10px 14px; border-radius: var(--r-md);
    transition: background 300ms var(--ease-studio), color 300ms var(--ease-studio);
  }
  .topnav-links a:hover { background: var(--surface-2); color: var(--ink); }
  .topnav-links a.active { color: var(--rw-red); }
  .topnav-cta {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 22px; border-radius: var(--r-pill);
    background: var(--rw-red); color: #fff; font-size: 14.5px; font-weight: 600;
    transition: background 300ms var(--ease-studio), transform 300ms var(--ease-studio);
  }
  .topnav-cta::after { content: "→"; }
  .topnav-cta:hover { background: var(--rw-red-deep); transform: translateY(-1px); }
  .topnav-logo img { height: 60px; }

  .section-hero { padding: 72px 0 var(--sec); }
  .hero-editorial { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
  .hero-editorial-text { gap: 40px; }
  .hero-ctas { margin-top: 32px; }
  .hero { display: grid; grid-template-columns: 1.5fr 1fr; gap: 72px; align-items: end; }
  .hero-meta { margin-top: 56px; padding-top: 26px; }
  .sparten-tiles { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .heritage .container { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
  .heritage-roots { padding-left: 32px; border-left: 1px solid rgba(255,255,255,0.18); }
  .probetraining .container { display: grid; grid-template-columns: 1.5fr 1fr; gap: 72px; align-items: end; }
  .probetraining-meta {
    flex-direction: column; flex-wrap: nowrap;
    border-top: none; border-left: 1px solid rgba(255,255,255,0.25);
    padding-top: 0; padding-left: 32px;
  }
  .layout-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 72px; }
  .section-head { margin-bottom: 56px; }
}

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