/* General Styles */

body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: #f9fafb;
  color: #1f2937;
  line-height: 1.6;
}

a {
  color: #0d47a1;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header */
.site-header {
  background: #ffffff;
  border-bottom: 3px solid #0d47a1;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0;
}

.brand {
  display: flex;
  align-items: center;
  font-size: 1.25rem;
  font-weight: 600;
  color: #0d47a1;
}

.brand-logo {
  width: 42px;
  height: 42px;
  margin-right: 0.5rem;
}

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1rem;
}

.main-nav a {
  padding: 0.5rem 0;
  color: #0d47a1;
  font-weight: 500;
}

.main-nav a.active {
  border-bottom: 3px solid #c62828;
  color: #c62828;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #0d47a1 0%, #1976d2 100%);
  color: #ffffff;
  padding: 3rem 0;
  text-align: center;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: 2.5rem;
}

.hero p {
  max-width: 640px;
  margin: 0 auto 2rem;
  font-size: 1.125rem;
}

/* Card grid */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  color: #c62828;
}

.card p {
  margin: 0.5rem 0 1.5rem;
  color: #374151;
}

.button {
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  background: #c62828;
  color: #ffffff;
  font-weight: 600;
}

.button:hover {
  background: #b71c1c;
}

/* Sections */
section {
  padding: 3rem 0;
}

.section-title {
  font-size: 2rem;
  color: #0d47a1;
  margin-bottom: 1rem;
  text-align: center;
}

/* Vereins- und Sportangebotssuche des LandesSportBunds Niedersachsen. */
.club-finder-section { background: #eef4fb; }
.club-finder-intro { max-width: 720px; margin: 0 auto 1.5rem; text-align: center; }
.club-finder-note { max-width: 720px; margin: 1.5rem auto 0; padding: .85rem 1rem; border-left: 4px solid #0d47a1; background: #fff; }

/* Footer */
footer.site {
  background: #0d47a1;
  color: #ffffff;
  padding: 2rem 0;
  font-size: 0.875rem;
  text-align: center;
}

footer.site a {
  color: #bbdefb;
  margin: 0 0.5rem;
  text-decoration: none;
}

footer.site a:hover {
  text-decoration: underline;
}
/* Shared navigation and responsive layouts. Navigation remains usable without JavaScript. */
* { box-sizing: border-box; }
body { overflow-wrap: break-word; }
main { min-height: 55vh; }
h1 { font-size: clamp(1.65rem, 4vw, 2.5rem); line-height: 1.2; }
img { max-width: 100%; }
.site-header .nav-wrap { padding: .75rem 1rem; gap: 1rem; flex-wrap: wrap; }
.brand { flex-shrink: 0; }
.brand-logo { object-fit: contain; }
.main-nav ul { flex-wrap: wrap; gap: .25rem 1rem; }
.main-nav a { display: block; }
.nav-toggle { display: none; font: inherit; padding: .5rem .75rem; background: white; color: #0d47a1; border: 1px solid #0d47a1; border-radius: 4px; cursor: pointer; }
[hidden] { display: none !important; }
.skip-link { position: absolute; left: 1rem; top: -100px; background: white; padding: .75rem; z-index: 10; }
.skip-link:focus { top: .5rem; }
:focus-visible { outline: 3px solid #c62828; outline-offset: 3px; }
.cards { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.audience-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); text-align: left; }
.audience-cards .card { min-height: 250px; display: flex; flex-direction: column; align-items: flex-start; }
.audience-cards .button { margin-top: auto; }
.info-note { max-width: 760px; margin: 2rem auto 0; padding: 1.25rem 1.5rem; background: #eaf1fb; border-left: 4px solid #0d47a1; }
.info-note h2 { margin: 0 0 .35rem; font-size: 1.15rem; color: #0d47a1; }
.info-note p { margin: .35rem 0; }
@media (min-width: 1100px) { .cards > .training-note { grid-column: 3; margin: 0; align-self: start; } }
.ladv-frame { display: block; width: 100%; min-height: 720px; margin-top: 1rem; border: 1px solid #d5dbe3; background: #fff; }
.back-navigation { margin: 0 auto 2rem; max-width: 1200px; padding: 0 1rem; }
.back-navigation a { font-weight: 600; }

/* Engagement-Finder */
.engagement-finder { margin: 2.5rem 0; padding: 2rem; border: 1px solid #cbd8e8; border-radius: 12px; background: #eef4fb; }
.finder-intro { max-width: 780px; }
.finder-intro .button { margin-top: .5rem; }
.finder-questions { margin-top: 2rem; }
.finder-heading { max-width: 780px; }
.finder-heading h2, .engagement-values h2 { color: #0d47a1; margin: 0 0 .5rem; }
.finder-subtitle { font-weight: 700; color: #c62828; font-size: 1.15rem; }
.finder-fieldset { border: 0; padding: 0; margin: 2rem 0; }
.finder-fieldset legend { font-size: 1.25rem; font-weight: 700; color: #0d47a1; margin-bottom: .75rem; }
.choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.choice-grid label { display: flex; align-items: flex-start; gap: .65rem; padding: .85rem 1rem; border: 1px solid #aebfd3; border-radius: 7px; background: white; cursor: pointer; }
.choice-grid label:has(input:checked) { border-color: #0d47a1; box-shadow: inset 0 0 0 1px #0d47a1; background: #eaf1fb; }
.choice-grid input { width: 1.1rem; height: 1.1rem; margin-top: .15rem; accent-color: #0d47a1; flex: 0 0 auto; }
.finder-results { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid #cbd8e8; }
.result-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 1.5rem; }
.result-heading h2 { color: #0d47a1; margin: 0 0 .5rem; }
.button-secondary { border: 1px solid #c62828; background: white; color: #c62828; white-space: nowrap; cursor: pointer; font: inherit; }
.button-secondary:hover { background: #fff3f3; }
.finder-status { font-weight: 600; color: #52627a; }
.result-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 1rem; }
.engagement-result { background: white; border: 1px solid #d5dbe3; border-radius: 8px; padding: 1.25rem; }
.engagement-result h3 { color: #c62828; margin: 0 0 .4rem; }
.engagement-motto { font-weight: 700; color: #0d47a1; }
.engagement-result dl { margin: 1rem 0; }
.engagement-result dl div { margin-top: .6rem; }
.engagement-result dt { font-weight: 700; }
.engagement-result dd { margin: .1rem 0 0; }
.engagement-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1rem; margin: 1.25rem 0 0; }
.finder-fallback { margin: 1.5rem 0 0; padding: 1rem; border-left: 4px solid #0d47a1; background: white; }
.engagement-values { max-width: 820px; margin: 3rem auto; padding: 1.75rem 2rem; border-left: 4px solid #c62828; background: white; }
.card h2 { font-size: 1.3rem; color: #c62828; margin-top: 0; }
.table-scroll { max-width: 100%; overflow-x: auto; margin: 1.5rem 0; }
.table { width: 100%; border-collapse: collapse; background: white; }
.table th, .table td { padding: .75rem; border-bottom: 1px solid #d5dbe3; text-align: left; vertical-align: top; }
.table th { background: #edf2f7; }
.table tbody tr:nth-child(even) { background: #f9fafb; }
.hero > .container > p { color: white; }
.hero .card p { color: #374151; }
@media (max-width: 900px) {
  .site-header .nav-wrap { padding: .75rem 1rem; }
  .nav-toggle:not([hidden]) { display: inline-block; margin-left: auto; }
  .main-nav { width: 100%; }
  .main-nav.enhanced:not(.open) { display: none; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav a { padding: .65rem 0; }
  .hero { padding: 2rem 0; }
  section { padding: 2rem 0; }
  .audience-cards { grid-template-columns: 1fr; }
  .ladv-frame { min-height: 620px; }
  .engagement-finder { padding: 1.25rem; }
  .choice-grid { grid-template-columns: 1fr; }
  .result-heading { display: block; }
  .button-secondary { margin-top: .75rem; }
}
@media (prefers-reduced-motion: reduce) { .card { transition: none; } .card:hover { transform: none; } }

/* Zahlen und Fakten */
.numbers-teaser{display:grid;grid-template-columns:1fr 1.15fr;align-items:center;gap:2rem;padding:2.5rem;background:#102d56;color:white;border-radius:16px;text-decoration:none}
.numbers-teaser:hover{text-decoration:none;background:#173d70}
.numbers-teaser:focus-visible{outline-offset:5px}
.numbers-teaser img{width:100%;height:auto}
.eyebrow{margin:0 0 .8rem;font-size:.8rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#0d47a1}
.numbers-teaser .eyebrow,.facts-hero .eyebrow{color:#c6ddff}
.numbers-teaser h2{color:white;font-size:clamp(1.8rem,3vw,2.5rem);line-height:1.15;margin:0 0 1rem}
.teaser-cta{display:inline-block;margin-top:.5rem;color:#f5c85b;font-weight:700}
.roster-facts{border-left:4px solid #0d47a1;background:#eaf1fb;padding:.5rem 1.2rem;margin:1.5rem 0}
.numeric{text-align:right!important;font-variant-numeric:tabular-nums;white-space:nowrap}
.data-note{color:#52627a;font-size:.9rem}
.facts-hero{background:#102d56;color:white;padding:4rem 0 3rem}
.facts-hero h1{margin:0 0 1rem;font-size:clamp(2.2rem,5vw,3.5rem)}
.facts-intro{max-width:48rem;font-size:1.2rem;color:#e1ebfa}
.facts-kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem;margin-top:2rem}
.facts-kpis>div{border-top:1px solid #567396;padding-top:1.2rem}
.facts-kpis strong{display:block;color:#f5c85b;font-size:clamp(2rem,4vw,3.2rem);line-height:1.2;margin-bottom:.5rem}
.facts-kpis span{color:#e1ebfa}
.hero-footnote{color:#c6d6ec;font-size:.85rem;margin-top:2rem}
.facts-section{padding:3.5rem 0}
.facts-section h2{line-height:1.25;font-size:clamp(1.5rem,3vw,2rem);color:#102d56;margin:0 0 1rem}
.facts-tint{background:#edf2f8}
.section-heading{display:flex;flex-wrap:wrap;gap:1rem;align-items:start;justify-content:space-between}
.section-heading>div:first-child{max-width:44rem}
.period-controls{display:flex;gap:.5rem;flex-wrap:wrap}
.period-controls button{border:1px solid #0d47a1;border-radius:6px;padding:.7rem 1rem;font:inherit;background:white;color:#0d47a1;cursor:pointer}
.period-controls button[aria-pressed="true"]{color:white;background:#0d47a1}
.trend-chart{width:100%;height:auto;display:block;font-family:inherit}
.chart-panel{background:white;border:1px solid #dce3ee;border-radius:12px;margin:1.2rem 0;padding:1rem}
.facts-details summary{cursor:pointer;color:#0d47a1;font-weight:600;padding:.5rem 0}
.facts-two-col{display:grid;grid-template-columns:1fr 1fr;gap:3rem;align-items:center}
.age-row{display:grid;grid-template-columns:10rem 1fr 2.5rem 3.5rem;gap:.7rem;align-items:center;margin:1rem 0;font-size:.95rem}
.age-track{background:#dce3ee;height:15px;border-radius:4px}
.age-fill{height:100%;background:#0d47a1;border-radius:4px}
.age-fill.young{background:#b9252a}
.age-percent{text-align:right;color:#52627a;font-size:.85rem}
.youth-meter,.gender-meter{display:flex;height:24px;background:#0d47a1;border-radius:6px;overflow:hidden;margin-top:1.5rem}
.youth-meter span{background:#b9252a}
.gender-meter{background:#52778c}
.gender-meter span{background:#0d47a1}
.meter-labels{display:flex;justify-content:space-between;gap:1rem;font-size:.9rem}
.fact-callout{background:#eaf1fb;border-radius:12px;padding:2rem}
.fact-callout>strong{font-size:4rem;line-height:1.2;color:#0d47a1}
.facts-filters{display:flex;gap:1.5rem;flex-wrap:wrap;margin:1.5rem 0}
.facts-filters label{display:grid;gap:.4rem;font-weight:600}
.facts-filters input,.facts-filters select{padding:.7rem;font:inherit;background:white;border:1px solid #8b9db5;border-radius:5px;max-width:100%}
.club-stats th[scope="row"]{font-weight:500;background:inherit}
.club-stats tfoot th,.club-stats tfoot td{font-weight:700;background:#e1eaf8;border-top:2px solid #0d47a1}
.table caption{text-align:left;padding:.5rem 0;color:#52627a;font-size:.9rem}
.zero-note{display:block;font-size:.8rem;color:#52627a}
.source-notes{max-width:900px}
@media(max-width:900px){
.numbers-teaser{grid-template-columns:1fr;gap:.5rem;padding:1.5rem}
.numbers-teaser img{max-width:620px;margin:0 auto}
.facts-two-col{grid-template-columns:1fr;gap:1.5rem}
.facts-kpis{grid-template-columns:1fr;gap:1rem}
.facts-kpis>div{display:grid;grid-template-columns:9rem 1fr;align-items:center;gap:1rem}
.facts-kpis strong{margin:0}
.facts-section{padding:2.5rem 0}
.facts-hero{padding:2.5rem 0}
}
@media(max-width:500px){
.chart-panel{padding:.15rem}
.age-row{grid-template-columns:8.5rem 1fr 2rem;gap:.5rem;font-size:.85rem}
.age-percent{display:none}
.facts-kpis>div{grid-template-columns:7rem 1fr}
.facts-filters{display:grid;grid-template-columns:1fr}
}

@media(max-width:500px){.facts-kpis>div{grid-template-columns:8rem 1fr}.facts-kpis strong{white-space:nowrap;font-size:1.9rem}.chart-panel{overflow-x:auto}.trend-chart{min-width:600px}}
