:root {
  --navy: #16407F;
  --navy-deep: #0C2A57;
  --gold: #F8C119;
  --paper: #FFFFFF;
  --ink: #142339;
  --mist: #EFF3F8;
  --line: #D8E0EA;

  --font-display: 'Oswald', 'Arial Narrow', sans-serif;
  --font-body: 'Barlow', system-ui, sans-serif;

  /* Basis 1920x1080: Inhalt füllt bis 120rem, darüber seitlicher Rand */
  --content-width: 120rem;
  --gutter: 1.25rem;
}

@media (min-width: 800px) {
  :root {
    --gutter: 2.5rem;
  }
}

*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--navy);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
label:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

.wrap {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Kopfbereich: zwei Zeilen auf einheitlich weissem Grund. Obere Zeile
   (Social) scrollt weg, die Hauptzeile mit Logo und Navigation bleibt kleben. */

:root {
  --topbar-h: 52px;
  --header-overhang: 3rem;
}

.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: calc(var(--topbar-h) * -1);
  z-index: 10;
}

.site-topbar {
  height: var(--topbar-h);
}

.site-topbar__inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
  padding: 4px var(--gutter) 0;
  max-width: var(--content-width);
  margin: 0 auto;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 80px;
  padding: 0 var(--gutter);
  max-width: var(--content-width);
  margin: 0 auto;
}

.site-brand {
  display: flex;
  align-items: center;
  align-self: flex-start;
  position: relative;
  z-index: 2;
  color: var(--navy);
  text-decoration: none;
}

/* Logo haengt ueber die Unterkante des Headers hinaus */
.site-brand__logo {
  flex: 0 0 auto;
  height: 116px;
  width: 116px;
  display: block;
  margin-top: 6px;
  background: var(--paper);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--paper), 0 6px 18px rgba(12, 42, 87, 0.28);
  opacity: 1;
  transition: opacity 0.25s ease;
}

.site-brand__logo--hidden {
  opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
  .site-brand__logo {
    transition: none;
  }
}

.site-social {
  display: flex;
  gap: 0.75rem;
}

.site-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  border: 1px solid var(--line);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.site-social svg {
  width: 19px;
  height: 19px;
}

.site-social a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-deep);
}

.site-social a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.nav-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.nav-burger {
  margin-left: auto;
  order: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  border-radius: 4px;
}

.nav-burger span {
  display: block;
  height: 2px;
  background: var(--navy);
  border-radius: 1px;
}

.nav-toggle:focus-visible + .nav-burger {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

.site-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 16px rgba(12, 42, 87, 0.12);
}

.nav-toggle:checked ~ .site-nav {
  display: block;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  /* oben Platz fuer das ueberhaengende Logo */
  padding: 3.5rem 0 0.5rem;
}

.site-nav a {
  display: block;
  padding: 0.6rem 1.25rem;
  color: var(--navy);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1rem;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  border-bottom-color: var(--gold);
}

@media (min-width: 800px) {
  .nav-burger {
    display: none;
  }

  .site-nav {
    display: block;
    position: static;
    order: 0;
    margin-left: auto;
    background: none;
    border-bottom: none;
    box-shadow: none;
  }

  .site-nav ul {
    display: flex;
    gap: 1.75rem;
    padding: 0;
  }

  .site-nav a {
    padding: 0.2rem 0;
  }
}

/* Hero */

.hero {
  position: relative;
  background: var(--navy-deep);
  color: var(--paper);
  overflow: hidden;
}

.hero__inner {
  position: relative;
  z-index: 2;
  max-width: 34rem;
  padding: 3rem var(--gutter) 4rem;
  margin: 0 auto;
}

@media (min-width: 800px) {
  .hero__inner {
    /* linksbündig zum Container, auch wenn der Viewport breiter ist */
    max-width: calc(54rem + var(--gutter) * 2);
    margin: 0 0 0 max(0px, calc((100% - var(--content-width)) / 2));
    padding: 4rem var(--gutter) 5.5rem;
  }
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

@media (min-width: 800px) {
  .hero__content {
    flex-direction: row;
    align-items: center;
    gap: 2.5rem;
  }
}

.hero__emblem {
  display: block;
  flex: 0 0 auto;
  width: 110px;
  height: 110px;
  margin: 0 0 1.5rem;
}

@media (min-width: 800px) {
  .hero__emblem {
    width: 180px;
    height: 180px;
    margin-bottom: 0;
  }
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 2.75rem);
  color: var(--paper);
}

.hero p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 30rem;
}

.hero__cta {
  margin-top: 0.5rem;
}

.hero__skyline {
  position: absolute;
  z-index: 1;
  top: 2rem;
  bottom: 2rem;
  left: 0;
  right: 0;
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  justify-content: flex-end;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.15);
  pointer-events: none;
}

.hero__skyline svg {
  display: block;
  width: auto;
  height: 100%;
}

@media (min-width: 800px) {
  .hero__skyline {
    top: 3rem;
    bottom: 3rem;
  }
}

.button {
  display: inline-block;
  background: var(--gold);
  color: var(--navy-deep);
  font-family: var(--font-display);
  font-weight: 600;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: 2px;
  transition: transform 0.15s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {
  .button {
    transition: none;
  }

  .button:hover,
  .button:focus-visible {
    transform: none;
  }
}

/* Aktuelles */

.news {
  padding: 3rem 0;
}

.news h2 {
  font-size: 1.5rem;
  color: var(--navy);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 360px));
  gap: 1.5rem;
  margin: 1.5rem 0 0;
}

/* Komplett klickbare Kachel */
.news-card {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 1.1rem 1.25rem;
  background: var(--paper);
  border: 1px solid rgba(20, 35, 57, 0.14);
  border-left: 5px solid var(--gold);
  box-shadow: 0 6px 18px rgba(12, 42, 87, 0.08);
  color: inherit;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.news-card:hover,
.news-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(12, 42, 87, 0.16);
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* Titelbild der News-Kachel (bis an den Kachelrand, ueber das Innenpolster) */
.news-card__thumb {
  display: block;
  width: calc(100% + 2.5rem);
  height: auto;
  aspect-ratio: 16 / 9;
  margin: -1.1rem -1.25rem 0.6rem;
  object-fit: cover;
}

.news-card__date {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
}

.news-card__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--navy-deep);
}

.news-card__excerpt {
  margin: 0;
  color: var(--ink);
}

/* Ende Detailseite-Abschnitt */
.news-detail {
  margin: 1.75rem 0 0;
  max-width: 46rem;
  color: var(--ink);
  line-height: 1.6;
}

.news-detail__image {
  display: block;
  width: 100%;
  height: auto;
  max-height: 34rem;
  margin: 0 0 1.25rem;
  object-fit: contain;
  border-radius: 4px;
}

.news-detail__back {
  margin: 2rem 0 0;
}

/* Quicklinks */

.app-promo {
  padding: 2.5rem 0;
}

.app-promo__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2.5rem;
}

.app-promo__copy {
  flex: 1 1 22rem;
  max-width: 44rem;
}

.app-promo__copy p {
  margin: 0.5rem 0 0;
}

.app-promo__hint {
  font-size: 0.95rem;
  opacity: 0.8;
}

.button--icon {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.button__icon {
  width: 1.3em;
  height: 1.3em;
  flex: none;
}

.app-promo__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.quicklinks {
  background: var(--mist);
  padding: 2.5rem 0 3rem;
}

.quicklinks__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

.quicklink {
  display: block;
  padding-bottom: 0.4rem;
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.05rem;
  border-bottom: 3px solid var(--line);
  transition: border-color 0.15s ease;
}

.quicklink:hover,
.quicklink:focus-visible {
  border-color: var(--gold);
}

@media (prefers-reduced-motion: reduce) {
  .quicklink {
    transition: none;
  }
}

/* Fuss */

.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.85);
  padding: 2.5rem 0;
}

.site-footer__brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-footer__logo {
  height: 40px;
  width: auto;
  flex: 0 0 auto;
}

.site-footer h2 {
  color: var(--paper);
  font-size: 1.1rem;
  margin: 0;
}

.site-footer__sub {
  margin: 0.1rem 0 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
}

.site-footer a {
  color: var(--paper);
}

.site-footer__nav ul {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}

.site-footer__meta {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

.site-footer__meta a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.site-footer__meta a:hover {
  color: var(--paper);
}

/* Teams */

.teams-group {
  padding: 1.5rem 0 2rem;
}

.teams-group h2 {
  border-bottom: 3px solid var(--gold);
  padding-bottom: 0.3rem;
  display: inline-block;
}

.teams-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
  gap: 2rem 1.75rem;
  margin-top: 1.5rem;
  padding-bottom: 0.5rem;
}

.team-card {
  display: block;
  position: relative;
  padding: 0.45rem 0.45rem 0;
  color: var(--ink);
  text-decoration: none;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0.4rem 0.4rem 0 var(--gold), 0 0.6rem 1.25rem rgba(20, 35, 57, 0.12);
  transform: rotate(-1deg);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.team-card:nth-child(even) {
  transform: rotate(1deg);
}

.team-card:hover,
.team-card:focus-visible {
  transform: rotate(0deg) translateY(-0.2rem);
  box-shadow: 0.55rem 0.55rem 0 var(--gold), 0 0.8rem 1.5rem rgba(20, 35, 57, 0.16);
}

.team-card__badge {
  position: absolute;
  right: -0.6rem;
  bottom: -0.7rem;
  width: 3.4rem;
  height: auto;
  padding: 0.2rem;
  background: var(--paper);
  border-radius: 50%;
  transform: rotate(-8deg);
  box-shadow: 0 2px 6px rgba(12, 42, 87, 0.35);
}

.team-card--foto .team-card__body {
  padding-right: 3.4rem;
}

.team-card__body {
  display: block;
  padding: 0.9rem 1rem 1rem;
}

.team-card__name {
  display: block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.2;
}

.team-card__liga {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.9rem;
  color: rgba(20, 35, 57, 0.7);
}

.team-photo {
  display: block;
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--mist);
}

.team-photo__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-photo__fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.team-photo__fallback img {
  width: 48%;
  height: auto;
}

/* Teamseite: Hero */

.button--ghost {
  background: transparent;
  color: var(--paper);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.55);
}

.team-hero {
  position: relative;
  overflow: hidden;
  color: var(--paper);
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%);
  padding: calc(var(--header-overhang) + 2rem) 0 4.5rem;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 2rem), 0 100%);
}

.team-hero__skyline {
  position: absolute;
  inset: 0;
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  color: rgba(255, 255, 255, 0.07);
  pointer-events: none;
}

.team-hero__skyline svg {
  display: block;
  height: 75%;
  width: auto;
}

.team-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
}

.team-hero__back {
  margin: 0 0 1rem;
  font-size: 0.9rem;
}

.team-hero__back a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.team-hero__back a:hover,
.team-hero__back a:focus-visible {
  color: var(--gold);
}

.team-hero__sticker {
  display: inline-block;
  background: var(--gold);
  color: var(--navy-deep);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.2rem 0.85rem;
  transform: rotate(-3deg);
}

.team-hero h1 {
  margin: 0.5rem 0 0.75rem;
  font-size: clamp(2.6rem, 8vw, 4.75rem);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--paper);
}

.team-hero h1::after {
  content: "";
  display: block;
  width: 4.5rem;
  height: 6px;
  margin-top: 0.6rem;
  background: var(--gold);
  transform: skewX(-25deg);
}

.team-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
}

.team-hero__chips li {
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  padding: 0.15rem 0.85rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.03em;
}

.team-hero__text {
  max-width: 34rem;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.9);
}

.team-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.team-hero__media {
  position: relative;
  padding: 0.5rem 0.9rem 1rem 0.3rem;
}

.team-polaroid {
  position: relative;
  margin: 0;
  max-width: 34rem;
  padding: 0.55rem 0.55rem 1.7rem;
  background: var(--paper);
  box-shadow: 0.6rem 0.6rem 0 var(--gold);
  transform: rotate(1.5deg);
}

.team-polaroid__badge {
  position: absolute;
  right: -0.9rem;
  bottom: -1.1rem;
  width: 5.25rem;
  height: auto;
  padding: 0.3rem;
  background: var(--paper);
  border-radius: 50%;
  transform: rotate(-8deg);
  box-shadow: 0 2px 8px rgba(12, 42, 87, 0.35);
}

@media (min-width: 48rem) {
  .team-hero {
    padding: calc(var(--header-overhang) + 2.5rem) 0 6rem;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 3.5rem), 0 100%);
  }

  .team-hero__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: 3rem;
  }

  .team-polaroid {
    transform: rotate(2.5deg);
  }
}

/* Teamseite: Koerper */

.team-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  padding-top: 1rem;
  padding-bottom: 2.5rem;
}

.team-aside {
  display: grid;
  gap: 1.25rem;
  align-content: start;
}

.info-card {
  background: var(--mist);
  border-left: 5px solid var(--gold);
  padding: 1.1rem 1.25rem 1.25rem;
}

.info-card h2 {
  margin: 0 0 0.75rem;
  font-size: 1.3rem;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.training-list,
.staff-list,
.players-grid,
.sponsor-grid {
  list-style: none;
  margin: 0;
  padding: 0;
}

.training-list {
  display: grid;
  gap: 0.6rem;
}

.training-item {
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  gap: 0 0.5rem;
  align-items: baseline;
}

.training-item__day {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--navy);
}

.training-item__time {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.training-item__place {
  grid-column: 2;
  font-size: 0.9rem;
  color: rgba(20, 35, 57, 0.7);
}

.staff-list {
  display: grid;
  gap: 0.9rem;
}

.staff-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
}

.staff-item__name {
  display: block;
  font-weight: 600;
  line-height: 1.25;
}

.staff-item__role {
  display: block;
  font-size: 0.9rem;
  color: rgba(20, 35, 57, 0.7);
}

.staff-contact-btn {
  font: inherit;
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--navy);
  background: var(--paper);
  border: 2px solid var(--navy);
  border-radius: 999px;
  padding: 0.2rem 0.85rem;
  cursor: pointer;
}

.staff-contact-btn[hidden] {
  display: none;
}

.staff-contact-btn:hover,
.staff-contact-btn:focus-visible {
  background: var(--navy);
  color: var(--paper);
}

.staff-contact-btn:disabled {
  opacity: 0.6;
  cursor: progress;
}

.team-main {
  min-width: 0;
}

@media (min-width: 60rem) {
  .team-body {
    grid-template-columns: minmax(0, 1fr) 20rem;
    align-items: start;
  }

  .team-aside {
    grid-column: 2;
    grid-row: 1;
  }

  .team-main {
    grid-column: 1;
    grid-row: 1;
  }

  .team-body--solo {
    grid-template-columns: minmax(0, 1fr);
  }

  .team-body--solo .team-aside {
    grid-column: 1;
    grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
  }
}

/* Registerkarten (reines CSS, Radio-Buttons) */

.tabs__radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.tabs__bar {
  display: flex;
  gap: 0.35rem;
  border-bottom: 3px solid var(--navy);
  margin-bottom: 1.5rem;
}

.tabs__tab {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1.25rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--navy);
  background: var(--mist);
  border-radius: 6px 6px 0 0;
  cursor: pointer;
}

.tabs__tab:hover {
  background: var(--line);
}

.tabs__count {
  font-size: 0.8rem;
  background: var(--paper);
  border-radius: 999px;
  padding: 0 0.5rem;
  line-height: 1.5;
}

.tabs__panel {
  display: none;
}

.tabs--solo .tabs__panel {
  display: block;
}

#tab-kader:checked ~ .tabs__panel--kader,
#tab-spielplan:checked ~ .tabs__panel--spielplan {
  display: block;
}

#tab-kader:checked ~ .tabs__bar label[for="tab-kader"],
#tab-spielplan:checked ~ .tabs__bar label[for="tab-spielplan"] {
  background: var(--navy);
  color: var(--paper);
}

#tab-kader:checked ~ .tabs__bar label[for="tab-kader"] .tabs__count,
#tab-spielplan:checked ~ .tabs__bar label[for="tab-spielplan"] .tabs__count {
  background: var(--gold);
  color: var(--navy-deep);
}

.tabs__radio:focus-visible ~ .tabs__bar label {
  outline: none;
}

#tab-kader:focus-visible ~ .tabs__bar label[for="tab-kader"],
#tab-spielplan:focus-visible ~ .tabs__bar label[for="tab-spielplan"] {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

.tabs--solo .tabs__panel > h2 {
  margin: 0 0 1rem;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* Kader-Karten */

.players-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr));
  gap: 1.25rem;
}

@media (min-width: 48rem) {
  .players-grid {
    grid-template-columns: repeat(auto-fill, minmax(11.5rem, 1fr));
  }
}

.player-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.25rem 0 1rem;
  background: var(--paper);
  border-radius: 6px;
  box-shadow: 0 2px 12px rgba(12, 42, 87, 0.13);
}

.player-card__top {
  display: flex;
  align-items: center;
  align-self: stretch;
  gap: 0.6rem;
  margin-bottom: 0.7rem;
}

.player-card__top::before,
.player-card__top::after {
  content: "";
  flex: 1;
  height: 3px;
  background: var(--gold);
}

.player-card__photo {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 75%;
  max-width: 10rem;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  object-fit: cover;
  background: var(--mist);
  border: 3px solid var(--navy);
  box-shadow: 0 0 0 3px var(--paper), 0 3px 10px rgba(12, 42, 87, 0.3);
}

.player-card__photo--empty img {
  width: 62%;
  height: auto;
  opacity: 0.85;
}

.player-card__name {
  display: block;
  padding: 0 0.6rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  line-height: 1.2;
  color: var(--navy-deep);
}

.player-card__meta {
  display: block;
  margin-top: 0.15rem;
  padding: 0 0.5rem;
  overflow-wrap: anywhere;
  font-size: 0.9rem;
  color: rgba(20, 35, 57, 0.65);
}

/* Trainer & Betreuer als Kacheln unter dem Kader */

.roster-heading {
  margin: 2.5rem 0 1.25rem;
  font-size: 1.35rem;
  color: var(--navy-deep);
}

.player-card--staff .staff-contact-btn {
  margin-top: 0.75rem;
}

/* Sponsoren */

.team-sponsors {
  background: var(--mist);
  padding: 2rem 0 2.5rem;
}

.team-sponsors h2 {
  font-size: 1.2rem;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.sponsor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(6.5rem, 9.5rem));
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.sponsor-tile {
  aspect-ratio: 3 / 2;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 1px 6px rgba(12, 42, 87, 0.12);
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

/* Nur verlinkte Kacheln heben sich beim Hover/Fokus an. Der Schatten
   sitzt auf der Kachel selbst, weil overflow: hidden ihn als Kind
   sonst wieder abschneiden wuerde. */
.sponsor-tile--link:hover,
.sponsor-tile--link:focus-within {
  transform: translateY(-3px);
  box-shadow: 0 0.5rem 1.25rem rgba(12, 42, 87, 0.25);
}

.sponsor-tile__link {
  display: block;
  height: 100%;
}

.sponsor-tile__link:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: -2px;
}

.sponsor-tile__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Fallback fuer Altdaten ohne Logo: Name als Text in der Kachel */
.sponsor-tile__name {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 0.75rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  text-align: center;
  color: var(--navy);
}

/* Kontakt-Dialog (Klick-Reveal) */

.contact-dialog {
  inset: 0;
  margin: auto;
  width: min(26rem, calc(100vw - 2rem));
  padding: 1.75rem 1.5rem 1.5rem;
  border: 0;
  border-top: 6px solid var(--gold);
  border-radius: 4px;
  color: var(--ink);
  box-shadow: 0 10px 40px rgba(12, 42, 87, 0.45);
}

.contact-dialog::backdrop {
  background: rgba(12, 42, 87, 0.65);
}

.contact-dialog h2 {
  margin: 0 2rem 0.1rem 0;
  color: var(--navy);
}

.contact-dialog__role {
  margin: 0 0 1rem;
  color: rgba(20, 35, 57, 0.7);
}

.contact-dialog__close {
  position: absolute;
  top: 0.5rem;
  right: 0.6rem;
  width: 2.25rem;
  height: 2.25rem;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--navy);
  background: transparent;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.contact-dialog__close:hover,
.contact-dialog__close:focus-visible {
  background: var(--mist);
}

.contact-dialog__list {
  margin: 0;
}

.contact-dialog__list > div {
  padding: 0.6rem 0;
  border-top: 1px solid var(--line);
}

.contact-dialog__list dt {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(20, 35, 57, 0.6);
}

.contact-dialog__list dd {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.contact-dialog__error {
  margin: 0;
  color: #9b1c1c;
}

/* News-Popup-Dialog (Klick auf eine News-Kachel) */

.news-dialog {
  inset: 0;
  margin: auto;
  width: min(34rem, calc(100vw - 2rem));
  max-height: min(80vh, 40rem);
  overflow-y: auto;
  padding: 1.75rem 1.5rem 1.5rem;
  border: 0;
  border-top: 6px solid var(--gold);
  border-radius: 4px;
  color: var(--ink);
  box-shadow: 0 10px 40px rgba(12, 42, 87, 0.45);
}

.news-dialog::backdrop {
  background: rgba(12, 42, 87, 0.65);
}

.news-dialog h2 {
  margin: 0 2rem 0.1rem 0;
  color: var(--navy);
}

.news-dialog__date {
  margin: 0 0 1rem;
  color: rgba(20, 35, 57, 0.7);
}

.news-dialog__close {
  position: absolute;
  top: 0.5rem;
  right: 0.6rem;
  width: 2.25rem;
  height: 2.25rem;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--navy);
  background: transparent;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.news-dialog__close:hover,
.news-dialog__close:focus-visible {
  background: var(--mist);
}

.news-dialog__image {
  display: block;
  width: 100%;
  height: auto;
  max-height: 24rem;
  margin: 0 0 1rem;
  object-fit: contain;
  border-radius: 4px;
}

.news-dialog__body {
  line-height: 1.6;
}

.news-dialog__body p {
  margin: 0;
}

.news-dialog__body p + p {
  margin-top: 0.9rem;
}

@media (prefers-reduced-motion: reduce) {
  .team-card {
    transition: none;
  }
}

/* Spielplan (Tab) */

.fixture-heading {
  margin: 1.5rem 0 0.75rem;
  font-size: 1.15rem;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.fixture-heading:first-child {
  margin-top: 0;
}

.fixture-list {
  display: grid;
  gap: 0.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.fixture {
  display: grid;
  grid-template-columns: 4.75rem minmax(0, 1fr);
  gap: 0.25rem 1rem;
  align-items: start;
  padding: 0.85rem 1rem 0.85rem 0.85rem;
  background: var(--paper);
  border-left: 5px solid var(--line);
  border-radius: 0 6px 6px 0;
  box-shadow: 0 2px 12px rgba(12, 42, 87, 0.12);
}

.fixture--home {
  border-left-color: var(--gold);
}

.fixture__date {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.35rem 0.25rem;
  background: var(--navy);
  color: var(--paper);
  border-radius: 4px;
  font-family: var(--font-display);
  line-height: 1.2;
  text-align: center;
}

.fixture__day {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}

.fixture__dm {
  font-size: 1.15rem;
}

.fixture__time {
  font-size: 0.8rem;
  opacity: 0.85;
}

.fixture__badge {
  display: inline-block;
  margin-bottom: 0.2rem;
  padding: 0 0.55rem;
  border: 2px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(20, 35, 57, 0.75);
}

.fixture__badge--home {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-deep);
}

.fixture__teams {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.1rem;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.fixture__team--own {
  color: var(--navy);
  font-weight: 700;
}

.fixture__vs {
  padding: 0 0.25rem;
  color: rgba(20, 35, 57, 0.5);
}

.fixture__meta {
  margin: 0.2rem 0 0;
  font-size: 0.85rem;
  color: rgba(20, 35, 57, 0.7);
}

.fixture__side {
  grid-column: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.75rem;
}

.fixture__side:empty {
  display: none;
}

.fixture__score {
  padding: 0 0.7rem;
  background: var(--mist);
  border-radius: 4px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-variant-numeric: tabular-nums;
  color: var(--navy-deep);
}

.fixture--win .fixture__score {
  background: var(--gold);
}

.fixture__done {
  font-size: 0.85rem;
  color: rgba(20, 35, 57, 0.6);
}

.fixture__link {
  font-size: 0.85rem;
}

.fixture__map {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 0.2em;
}

.fixture__map:hover,
.fixture__map:focus-visible {
  color: var(--navy);
}

.fixture-note {
  padding: 1rem 1.25rem;
  background: var(--mist);
  border-left: 5px solid var(--gold);
}

.fixture-note p {
  margin: 0;
}

.fixture-source {
  margin: 1.5rem 0 0;
  font-size: 0.85rem;
  color: rgba(20, 35, 57, 0.65);
}

@media (min-width: 40rem) {
  .fixture {
    grid-template-columns: 4.75rem minmax(0, 1fr) auto;
    align-items: center;
  }

  .fixture__side {
    grid-column: 3;
    flex-direction: column;
    align-items: flex-end;
  }
}

.fixture-more {
  margin-top: 0.75rem;
}

.fixture-more > summary {
  display: inline-block;
  padding: 0.35rem 1rem;
  font-family: var(--font-display);
  color: var(--navy);
  border: 2px solid var(--navy);
  border-radius: 999px;
  cursor: pointer;
}

.fixture-more > summary:hover,
.fixture-more > summary:focus-visible {
  background: var(--navy);
  color: var(--paper);
}

.fixture-more[open] > summary {
  margin-bottom: 0.75rem;
}

/* Spielplan aller Teams (Startseite, /spielplan) */

.fixture__team-label {
  display: inline-block;
  margin: 0 0.5rem 0.25rem 0;
  padding: 0.1rem 0.6rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--paper);
  background: var(--navy);
  border-radius: 999px;
}

.home-fixtures {
  padding-block: 3rem 1rem;
}

.home-fixtures h2 {
  margin: 0 0 1.5rem;
  font-size: 1.5rem;
  color: var(--navy);
}

.home-fixtures h3 {
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.home-fixtures__columns {
  display: grid;
  gap: 2rem;
}

.home-fixtures__empty {
  margin: 0;
  color: rgba(20, 35, 57, 0.7);
}

@media (min-width: 64rem) {
  .home-fixtures__columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.5rem;
  }
}

.fixtures-page {
  padding-block: 2rem 3rem;
}

.fixtures-page__heading {
  margin: 2rem 0 0.75rem;
  font-size: 1.15rem;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.fixtures-page__empty {
  margin: 0;
  color: rgba(20, 35, 57, 0.7);
}

.fixture-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 0.5rem;
}

.fixture-filter__chip {
  padding: 0.35rem 1rem;
  font-family: var(--font-display);
  color: var(--navy);
  text-decoration: none;
  border: 2px solid var(--navy);
  border-radius: 999px;
}

.fixture-filter__chip:hover,
.fixture-filter__chip:focus-visible,
.fixture-filter__chip.is-active {
  background: var(--navy);
  color: var(--paper);
}

/* Rechtstexte (Impressum, Datenschutz) */

.legal {
  padding: 1rem 0 3rem;
}

.legal__text {
  /* linksbuendig zum Raster (Kopf, Ueberschrift), auch auf breiten Monitoren */
  max-width: calc(46rem + var(--gutter) * 2);
  margin-left: max(0px, calc((100% - var(--content-width)) / 2));
  margin-right: auto;
}

.legal__text h2 {
  margin: 2rem 0 0.5rem;
  font-size: 1.25rem;
}

.legal__text p {
  margin: 0 0 1rem;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.legal__text .todo {
  background: var(--gold);
  color: var(--navy, inherit);
  padding: 0 0.2em;
}

/* Seite "Ueber uns" (/ueber-uns) */

.about-section {
  padding: 2.75rem 0;
}

/* Wechselnde Hintergruende: weiss / --mist / Navy */
.about-section--mist {
  background: var(--mist);
}

.about-section__lead {
  max-width: 46rem;
  margin: 0 0 1.5rem;
  font-size: 1.05rem;
  color: rgba(20, 35, 57, 0.8);
}

.about-section__action {
  margin-top: 1.75rem;
}

/* Kopfbereich: Kennzahlen + Sprungmarken */

.about-stats {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0 0 1.75rem;
  padding: 0;
}

.about-stat {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 4px;
  padding: 0.85rem 1rem;
  box-shadow: 0 0.4rem 1rem rgba(4, 16, 36, 0.25);
}

.about-stat__value {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1.05;
  color: var(--gold);
}

.about-stat__label {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.82);
}

.about-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.about-jump__chip {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--paper);
  text-decoration: none;
  font-size: 0.9rem;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.about-jump__chip:hover,
.about-jump__chip:focus-visible {
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--gold);
}

/* Team-Streifen */

.about-teams__strip {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: var(--gutter);
  padding: 0.75rem var(--gutter) 1.5rem;
  -webkit-overflow-scrolling: touch;
}

.about-teams__strip > .team-card {
  flex: 0 0 15rem;
  scroll-snap-align: start;
}

/* Spielstaette */

.about-venue {
  padding: 2.75rem 0;
  background: var(--mist);
}

.about-venue__layout {
  display: grid;
  gap: 1.5rem;
}

.about-venue__card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 1.25rem 1.25rem 1rem;
  box-shadow: 0 0.5rem 1.25rem rgba(20, 35, 57, 0.08);
}

.about-venue__card h3 {
  margin: 0 0 0.5rem;
}

.about-venue__card p {
  margin: 0 0 1rem;
}

.about-chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
}

.about-chip {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: var(--mist);
  border: 1px solid var(--line);
  font-size: 0.9rem;
}

.about-note {
  margin: 1rem 0 0;
  padding: 0.85rem 1rem;
  border-left: 4px solid var(--gold);
  background: rgba(248, 193, 25, 0.14);
  font-size: 0.95rem;
}

.about-venue__media {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
  gap: 0.75rem;
  align-items: start;
}

.about-venue__hall {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  max-height: 16rem;
  object-fit: cover;
  border-radius: 4px;
  margin: 0;
  box-shadow: 0 0.5rem 1.25rem rgba(20, 35, 57, 0.12);
}

.about-venue__map {
  margin: 0;
}

.about-venue__map a {
  display: block;
}

.about-venue__map img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  max-height: 16rem;
  object-fit: cover;
  object-position: 40% 50%;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--paper);
}

.about-venue__map figcaption {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: rgba(20, 35, 57, 0.7);
}

/* Foerderverein-Teaser */

.about-support {
  background: var(--navy-deep);
  color: var(--paper);
  padding: 2.75rem 0;
}

.about-support__inner {
  border-left: 5px solid var(--gold);
  padding-left: 1.25rem;
}

.about-support h2 {
  color: var(--paper);
  margin: 0 0 0.75rem;
}

.about-support__text {
  max-width: 46rem;
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.86);
}

.about-support__fee {
  margin: 0 0 1.5rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--gold);
}

.about-support__fee span {
  display: block;
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

/* Partner */

.about-partner__intro {
  max-width: 46rem;
  margin-bottom: 0;
}


/* Schlussleiste */

.about-docs {
  background: var(--mist);
  padding: 2rem 0;
}

.about-docs__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: center;
  justify-content: space-between;
}

.about-docs h2 {
  font-size: 1.35rem;
  margin: 0 0 0.25rem;
}

.about-docs__text {
  margin: 0;
  max-width: 40rem;
}

@media (min-width: 64rem) {
  .about-stats {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .about-venue__layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.6fr);
    gap: 2rem;
    align-items: start;
  }
}

@media (min-width: 80rem) {
  .about-teams__strip {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
    gap: 2rem 1.5rem;
    overflow: visible;
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 0 var(--gutter);
  }

  .about-teams__strip > .team-card {
    flex: initial;
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-jump__chip,
  .sponsor-tile {
    transition: none;
  }

  .sponsor-tile--link:hover,
  .sponsor-tile--link:focus-within {
    transform: none;
  }
}

/* --- Foerderverein (/foerderverein) --- */

.fv-hero {
  position: relative;
  overflow: hidden;
  color: var(--paper);
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%);
  padding: calc(var(--header-overhang) + 2rem) 0 4rem;
  margin-bottom: 2rem;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 2rem), 0 100%);
}

/* Dezente Skyline wie im Team-Kopf (.team-hero__skyline) */
.fv-hero__skyline {
  position: absolute;
  inset: 0;
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  color: rgba(255, 255, 255, 0.07);
  pointer-events: none;
}

.fv-hero__skyline svg {
  display: block;
  height: 75%;
  width: auto;
}

.fv-hero__copy {
  position: relative;
  z-index: 1;
}

.fv-hero h1 {
  margin: 0 0 1rem;
}

.fv-hero__lead {
  max-width: 38rem;
  margin: 0 0 1.5rem;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.88);
}

/* Schmaler Seitenkopf fuer Seiten ohne grossen Hero (Teams, Downloads, Kontakt, Training) */
.fv-hero--slim {
  padding-bottom: 3.25rem;
  margin-bottom: 0.5rem;
}

.fv-hero--slim h1 {
  margin-bottom: 0.5rem;
}

.fv-hero--slim .fv-hero__lead {
  margin-bottom: 0;
}

.fv-hero--slim .fv-hero__skyline svg {
  height: 90%;
}

.fv-hero__lead a {
  color: var(--gold);
  text-underline-offset: 3px;
}

/* "Als Naechstes" im Kopf der Trainingsseite: halbtransparent auf Navy */
.fv-hero .training-page__next {
  width: fit-content;
  max-width: 100%;
  margin-top: 1rem;
  background: rgba(255, 255, 255, 0.1);
}

/* Footer liegt auch auf kurzen Seiten am unteren Fensterrand (body-Regel oben) */
main {
  flex: 1 0 auto;
}

.fv-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Zweispaltig erst ab 64rem, mobil untereinander */
.fv-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.fv-text p {
  margin: 0 0 1rem;
}

.fv-lead {
  font-size: 1.15rem;
  color: var(--navy-deep);
}

/* Beitrags-Karte: bewusst als dunkler Blickfang (Call-to-Action) */
.fv-card {
  padding: 1.5rem 1.25rem;
  background: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 100%);
  border-top: 6px solid var(--gold);
  border-radius: 4px;
  color: var(--paper);
  box-shadow: 0 0.6rem 1.6rem rgba(12, 42, 87, 0.28);
}

.fv-card h2 {
  margin: 0 0 0.75rem;
  font-size: 1.2rem;
  color: var(--gold);
}

.fv-fee {
  margin: 0;
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1.1;
  color: var(--paper);
}

.fv-fee__hint {
  margin: 0.15rem 0 1.25rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.65);
}

.fv-card__download {
  display: inline-block;
}

.fv-card__note {
  margin: 1rem 0 0;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
}

.fv-card__contact {
  margin-top: 1rem;
}

/* Gefoerderte Beispiele als Kachel-Raster */
.fv-examples-block {
  margin-top: 2rem;
}

.fv-examples-block h2 {
  margin: 0 0 1rem;
  font-size: 1.35rem;
  color: var(--navy-deep);
}

.fv-examples {
  list-style: none;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.75rem;
  margin: 0;
  padding: 0;
}

.fv-example {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.9rem 1rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 2px 12px rgba(12, 42, 87, 0.13);
}

.fv-example__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 1.9rem;
  height: 1.9rem;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy-deep);
}

.fv-example__icon svg {
  display: block;
  width: 1.1rem;
  height: 1.1rem;
}

.fv-example__text {
  font-size: 0.98rem;
  line-height: 1.4;
  color: var(--ink);
}

/* Schmales Zitat-Band vor dem Vorstand */
.fv-band {
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%);
  padding: 1.75rem 0;
  margin-bottom: 2.5rem;
}

.fv-band__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.fv-band__quote {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.2;
  color: var(--paper);
}

.fv-board {
  padding: 0 0 3rem;
}

.fv-board h2 {
  margin: 0 0 1.25rem;
  font-size: 1.4rem;
  color: var(--navy-deep);
}

.fv-board .players-grid {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Anschrift im Kontakt-Dialog mehrzeilig, reiner Text */
.contact-dialog__address {
  white-space: pre-line;
}

@media (min-width: 40rem) {
  .fv-examples {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fv-band__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
  }
}

@media (min-width: 64rem) {
  .fv-layout {
    grid-template-columns: minmax(0, 1fr) 22rem;
    align-items: start;
  }

  .fv-card {
    position: sticky;
    top: 1.5rem;
  }
}

@media (min-width: 80rem) {
  .fv-examples {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Training-Seite */
.training-page {
  padding: 1rem 0 3rem;
}

.training-page__intro {
  max-width: 42rem;
  color: rgba(20, 35, 57, 0.8);
}

.training-page__empty {
  background: var(--mist);
  border-left: 5px solid var(--gold);
  padding: 1.1rem 1.25rem;
  max-width: 42rem;
  margin: 1.5rem 0 0;
}

/* "Als Naechstes": Navy-Flaeche mit Gold-Akzent */
.training-page__next {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.9rem;
  margin: 1.25rem 0 0;
  padding: 0.85rem 1rem 0.9rem;
  background: var(--navy-deep);
  border-left: 6px solid var(--gold);
  color: var(--paper);
}

.training-page__next-label {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.training-page__next-text {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.3;
}

.training-page__next-text a {
  color: var(--paper);
  text-decoration: underline;
  text-decoration-color: rgba(248, 193, 25, 0.75);
  text-underline-offset: 3px;
}

.training-page__next-text a:hover,
.training-page__next-text a:focus-visible {
  color: var(--gold);
}

.training-page__next-jahrgang {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.72);
  white-space: nowrap;
}

/* Sprungleiste */
.training-page__jump {
  margin: 1.5rem 0 0.5rem;
}

.training-page__jump-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.training-page__jump-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.7rem;
  padding: 0.3rem 0.6rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--navy);
  background: var(--mist);
  border: 2px solid transparent;
}

.training-page__jump-link:hover,
.training-page__jump-link:focus-visible {
  background: var(--paper);
  border-color: var(--navy);
}

.training-page__jump-link--today {
  background: var(--gold);
  color: var(--navy-deep);
}

.training-page__jump-link--today:hover,
.training-page__jump-link--today:focus-visible {
  border-color: var(--navy-deep);
}

/* Tagesabschnitte */
.training-page__day {
  padding: 1.5rem 0 0.75rem;
  scroll-margin-top: 8rem;
}

.training-page__day--today {
  background: linear-gradient(180deg, rgba(248, 193, 25, 0.16), rgba(248, 193, 25, 0) 68%);
  padding: 1.5rem 0.85rem 1.1rem;
  margin-top: 1rem;
}

.training-page__day-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}

.training-page__day h2 {
  margin: 0;
  padding-bottom: 0.2rem;
  border-bottom: 3px solid var(--gold);
  font-size: clamp(1.5rem, 4vw, 2rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--navy-deep);
}

.training-page__today-sticker {
  display: inline-block;
  background: var(--gold);
  color: var(--navy-deep);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.15rem 0.7rem;
  transform: rotate(-3deg);
}

/* Terminkarten */
.training-page__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.9rem;
}

.training-page__item {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  padding: 0.9rem 1rem 1rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 6px solid var(--gold);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.training-page__item--jugend {
  border-left-color: var(--gold);
}

.training-page__item--senioren {
  border-left-color: var(--navy);
}

.training-page__item--freizeit {
  border-left-color: rgba(20, 35, 57, 0.35);
}

.training-page__time {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.1rem 0.6rem;
  padding: 0.4rem 0.75rem 0.45rem;
  background: var(--navy-deep);
  color: var(--paper);
  font-family: var(--font-display);
  font-variant-numeric: tabular-nums;
}

.training-page__time-start {
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.02em;
}

.training-page__time-end {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--gold);
}

.training-page__body {
  min-width: 0;
  display: grid;
  gap: 0.4rem;
  align-content: start;
}

.training-page__headline {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.4rem 0.6rem;
}

.training-page__team {
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.01em;
  color: var(--navy);
  text-decoration: none;
}

.training-page__team:hover,
.training-page__team:focus-visible {
  color: var(--navy-deep);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-underline-offset: 3px;
}

.training-page__kategorie {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--paper);
  background: var(--navy);
  padding: 0.12rem 0.5rem;
}

.training-page__item--jugend .training-page__kategorie {
  color: var(--navy-deep);
  background: var(--gold);
}

.training-page__item--freizeit .training-page__kategorie {
  background: rgba(20, 35, 57, 0.45);
}

.training-page__place {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  font-size: 0.95rem;
  color: rgba(20, 35, 57, 0.75);
}

.training-page__pin {
  flex: none;
  color: var(--gold);
}

.training-page__staff {
  list-style: none;
  margin: 0.35rem 0 0;
  padding: 0.75rem 0 0;
  border-top: 1px dashed var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* Nur fuer Screenreader */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Trainer als Namens-Chips: eine Person = ein Element. Mit Kontaktdaten
   ist der ganze Chip klickbar (oeffnet den Kontakt-Dialog). */
.staff-chip {
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0 0.45rem;
  max-width: 100%;
  font: inherit;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.3rem 0.85rem;
  text-align: left;
}

.staff-chip__name {
  font-weight: 600;
  font-size: 0.95rem;
}

.staff-chip__role {
  font-size: 0.8rem;
  color: rgba(20, 35, 57, 0.65);
}

.staff-chip__icon {
  align-self: center;
  flex: none;
  color: var(--navy);
}

.staff-chip--contact {
  cursor: pointer;
  border-color: var(--navy);
  border-width: 2px;
  padding: calc(0.3rem - 1px) calc(0.85rem - 1px);
  transition: background 0.15s ease, color 0.15s ease;
}

.staff-chip--contact:hover,
.staff-chip--contact:focus-visible {
  background: var(--navy);
  color: var(--paper);
}

.staff-chip--contact:hover .staff-chip__role,
.staff-chip--contact:focus-visible .staff-chip__role,
.staff-chip--contact:hover .staff-chip__icon,
.staff-chip--contact:focus-visible .staff-chip__icon {
  color: var(--gold);
}

@media (min-width: 48rem) {
  .training-page__item {
    grid-template-columns: 8rem minmax(0, 1fr);
    gap: 0 1.25rem;
    align-items: start;
    padding: 1rem 1.25rem;
  }

  .training-page__time {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.1rem;
    padding: 0.6rem 0.7rem;
  }

  .training-page__time-start {
    font-size: 1.9rem;
  }
}

@media (min-width: 75rem) {
  .training-page__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 1.25rem;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .training-page__item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(12, 42, 87, 0.14);
  }
}

@media (prefers-reduced-motion: reduce) {
  .training-page__item:hover {
    box-shadow: 0 6px 16px rgba(12, 42, 87, 0.12);
  }
}

/* Jahrgang */
.team-card__jahrgang {
  display: block;
  margin-top: 0.2rem;
  font-family: 'Barlow', sans-serif;
  font-size: 0.9rem;
  color: rgba(20, 35, 57, 0.55);
}

.training-page__jahrgang {
  display: inline-block;
  font-family: 'Barlow', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--navy);
  border: 1px solid rgba(22, 64, 127, 0.45);
  border-radius: 999px;
  padding: 0.05rem 0.55rem;
  white-space: nowrap;
}

.team-hero__sticker--jahrgang {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.75);
  color: var(--paper);
  transform: none;
  margin-left: 0.35rem;
}

/* Downloads-Seite */
.downloads-page {
  padding: 1rem 0 3rem;
}

.downloads-page__intro {
  max-width: 42rem;
  color: rgba(20, 35, 57, 0.8);
}

.downloads-page__empty {
  background: var(--mist);
  border-left: 5px solid var(--gold);
  padding: 1.1rem 1.25rem;
  max-width: 42rem;
  margin: 1.5rem 0 0;
}

.downloads-page__list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.downloads-page__item {
  margin: 0;
}

/* Komplett klickbare Kachel */
.downloads-page__card {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.95rem 1.1rem;
  background: var(--paper);
  border: 1px solid rgba(20, 35, 57, 0.14);
  border-left: 5px solid var(--gold);
  box-shadow: 0 6px 18px rgba(12, 42, 87, 0.08);
  color: inherit;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.downloads-page__card:hover,
.downloads-page__card:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(12, 42, 87, 0.16);
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.downloads-page__icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  background: var(--navy-deep);
  color: var(--gold);
  border-radius: 50%;
}

.downloads-page__body {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  min-width: 0;
}

.downloads-page__title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.25;
  color: var(--navy-deep);
}

.downloads-page__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.downloads-page__badge {
  font-family: 'Barlow', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy-deep);
  background: var(--mist);
  border: 1px solid rgba(22, 64, 127, 0.3);
  border-radius: 999px;
  padding: 0.1rem 0.55rem;
}

.downloads-page__size {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: rgba(20, 35, 57, 0.7);
}

.downloads-page__note {
  max-width: 42rem;
  margin: 1.75rem 0 0;
  font-size: 0.92rem;
  color: rgba(20, 35, 57, 0.78);
}

.downloads-page__note a,
.downloads-page__empty a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.downloads-page__note a:hover,
.downloads-page__note a:focus-visible,
.downloads-page__empty a:hover,
.downloads-page__empty a:focus-visible {
  color: var(--navy-deep);
}

@media (min-width: 48rem) {
  .downloads-page {
    padding: 1.5rem 0 4rem;
  }

  .downloads-page__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }
}

/* Kontaktseite */
.contact-page {
    padding: 1rem 0 3rem;
}

.contact-page__intro {
    max-width: 42rem;
    color: rgba(20, 35, 57, 0.8);
}

.contact-page__grid {
    display: grid;
    gap: 1.5rem;
    margin-top: 0.5rem;
}

/* Formular als Karte (wie die Karten auf der Mitgliedschaftsseite) */
.contact-page__card {
    background: var(--paper);
    border: 1px solid rgba(20, 35, 57, 0.14);
    border-top: 4px solid var(--gold);
    box-shadow: 0 6px 18px rgba(12, 42, 87, 0.08);
    padding: 1.4rem 1.25rem 1.5rem;
}

.contact-page__card-title {
    margin: 0 0 1rem;
    font-size: 1.35rem;
    color: var(--navy-deep);
}

.contact-page__row {
    display: grid;
    gap: 1.1rem;
}

/* Fehlerkasten: deutlich sichtbar, rot abgesetzt */
.contact-page__error {
    background: #FDECEC;
    border-left: 5px solid #B3261E;
    color: #7A1A15;
    padding: 1rem 1.25rem;
    margin: 0 0 1rem;
    font-weight: 600;
}

.contact-page__form {
    display: grid;
    gap: 1.1rem;
}

.contact-page__field {
    display: grid;
    gap: 0.35rem;
}

.contact-page__field--consent {
    gap: 0;
}

.contact-page__label {
    font-family: var(--font-display);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--navy-deep);
}

.contact-page__input {
    font: inherit;
    color: var(--ink);
    background: var(--paper);
    border: 1px solid rgba(20, 35, 57, 0.28);
    border-radius: 2px;
    /* grosse Touch-Ziele */
    padding: 0.85rem 0.9rem;
    min-height: 3rem;
    width: 100%;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.contact-page__textarea {
    min-height: 9rem;
    resize: vertical;
}

.contact-page__input:hover {
    border-color: rgba(20, 35, 57, 0.5);
}

/* Klarer Fokus-Zustand */
.contact-page__input:focus,
.contact-page__input:focus-visible {
    outline: none;
    border-color: var(--navy);
    box-shadow: 0 0 0 3px rgba(248, 193, 25, 0.55);
}

.contact-page__consent {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.92rem;
    line-height: 1.5;
    cursor: pointer;
}

.contact-page__consent input[type='checkbox'] {
    flex: 0 0 auto;
    width: 1.35rem;
    height: 1.35rem;
    margin: 0.1rem 0 0;
    accent-color: var(--navy);
}

.contact-page__consent a {
    color: var(--navy);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.contact-page__submit {
    margin: 0.25rem 0 0;
}

.contact-page__submit .button {
    border: 0;
    cursor: pointer;
    font-size: 1rem;
}

/* Honeypot: fuer Menschen unsichtbar, fuer Bots im Formular vorhanden */
.contact-page__honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Erfolgszustand */
.contact-page__success {
    background: var(--mist);
    border-left: 6px solid var(--gold);
    padding: 1.5rem 1.5rem 1.35rem;
    max-width: 42rem;
    margin: 1.5rem 0 0;
}

.contact-page__success-text {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--navy-deep);
    margin: 0 0 1rem;
}

.contact-page__success-link {
    margin: 0;
}

/* Schnell weiter: Kacheln */
.contact-page__aside {
    display: flex;
    flex-direction: column;
}

.contact-page__aside-title {
    font-size: 1rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin: 0 0 0.75rem;
    color: var(--navy-deep);
}

.contact-page__links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.75rem;
    flex: 1;
}

.contact-page__links a {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.15rem;
    height: 100%;
    padding: 1rem 3rem 1rem 1.25rem;
    background: var(--mist);
    border-left: 5px solid var(--gold);
    color: var(--navy-deep);
    text-decoration: none;
    transition: background-color 0.15s ease;
}

.contact-page__links a::after {
    content: "\2192";
    position: absolute;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.25rem;
    color: var(--navy);
    transition: transform 0.15s ease;
}

.contact-page__links a:hover,
.contact-page__links a:focus-visible {
    background: #E3EAF3;
}

.contact-page__links a:hover::after,
.contact-page__links a:focus-visible::after {
    transform: translate(4px, -50%);
}

.contact-page__link-title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
}

.contact-page__link-text {
    font-size: 0.9rem;
    color: rgba(20, 35, 57, 0.75);
}

@media (min-width: 40rem) {
    .contact-page__row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.25rem;
    }
}

@media (min-width: 48rem) {
    .contact-page {
        padding: 1.5rem 0 4rem;
    }

    .contact-page__card {
        padding: 2rem 2rem 2.25rem;
    }
}

@media (min-width: 64rem) {
    .contact-page__grid {
        /* links Hinweis + Kacheln, rechts das Formular; Kacheln fuellen die Hoehe der Karte */
        grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
        grid-template-areas:
            "intro card"
            "aside card";
        grid-template-rows: auto 1fr;
        column-gap: 3rem;
        row-gap: 1.5rem;
    }

    .contact-page__intro {
        grid-area: intro;
        margin: 0;
    }

    .contact-page__card {
        grid-area: card;
    }

    .contact-page__aside {
        grid-area: aside;
    }

    .contact-page__links {
        grid-auto-rows: 1fr;
    }
}

/* Mitgliedschaft (/mitgliedschaft) */

/* Beitragsuebersicht: eine Kachel je Eintrag, Preis gross rechts */
.membership-fees {
  margin: 2.5rem 0 0;
}

.membership-fees h2 {
  margin: 0 0 1rem;
  font-size: 1.35rem;
  color: var(--navy-deep);
}

.membership-fee-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.membership-fee {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0.95rem 1.1rem;
  background: var(--paper);
  border: 1px solid rgba(20, 35, 57, 0.14);
  border-left: 5px solid var(--gold);
  box-shadow: 0 6px 18px rgba(12, 42, 87, 0.08);
}

.membership-fee__body {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.membership-fee__label {
  font-weight: 600;
  color: var(--ink);
}

.membership-fee__note {
  font-size: 0.85rem;
  color: rgba(20, 35, 57, 0.65);
}

.membership-fee__price {
  font-family: var(--font-display);
  font-size: 1.4rem;
  line-height: 1.15;
  color: var(--navy-deep);
}

/* Zahlungshinweis: bewusst klein und unaufdringlich */
.membership-payment {
  margin-top: 1.25rem;
}

.membership-payment p {
  margin: 0 0 0.6rem;
  max-width: 42rem;
  font-size: 0.9rem;
  color: rgba(20, 35, 57, 0.7);
}

/* Schritte: mobil untereinander, ab 48rem zweispaltig, ab 80rem vierspaltig */
.membership-steps {
  padding: 0.5rem 0 2rem;
}

.membership-steps__list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.membership-step {
  position: relative;
  background: var(--paper);
  border: 1px solid rgba(20, 35, 57, 0.14);
  border-left: 5px solid var(--gold);
  box-shadow: 0 6px 18px rgba(12, 42, 87, 0.08);
  padding: 1.2rem 1.25rem 1.35rem;
}

.membership-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: var(--navy-deep);
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1;
  margin-bottom: 0.7rem;
}

.membership-step__title {
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
}

.membership-step__text {
  margin: 0;
  color: rgba(20, 35, 57, 0.82);
}

.membership-step__text a {
  color: var(--navy-deep);
  font-weight: 600;
}

.membership-step__cta {
  display: inline-block;
  margin-top: 0.9rem;
}

/* Vierter Schritt (Handball360): optisch abgesetzt statt Teil der Reihe */
.membership-step--extra::before {
  content: "";
  position: absolute;
  top: -1rem;
  left: 0;
  right: 0;
  border-top: 2px dashed rgba(20, 35, 57, 0.3);
}

.membership-step__extra-label {
  margin: 0 0 0.7rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--navy);
}

/* Mitgliedschaft beenden: Text + Kassenwart-Kacheln */
.membership-end {
  padding: 2rem 0 1rem;
}

.membership-end__text {
  max-width: 42rem;
}

.membership-end__text p {
  margin: 0 0 0.75rem;
}

.membership-end__label {
  margin: 1.75rem 0 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--navy-deep);
}

/* Foerderverein-Teaser */
.membership-support {
  padding: 1rem 0 2rem;
}

.membership-support__inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
  background: var(--paper);
  border: 1px solid rgba(20, 35, 57, 0.14);
  border-left: 5px solid var(--gold);
  box-shadow: 0 6px 18px rgba(12, 42, 87, 0.08);
  padding: 1.3rem 1.35rem;
}

.membership-support__inner h2 {
  margin: 0 0 0.35rem;
  font-size: 1.3rem;
}

.membership-support__inner p {
  margin: 0;
  max-width: 40rem;
  color: rgba(20, 35, 57, 0.82);
}

/* Verweis auf den Downloadbereich */
.membership-more {
  padding: 0 0 3rem;
}

.membership-more__inner {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  align-items: flex-start;
}

.membership-more__inner p {
  margin: 0;
  max-width: 42rem;
  color: rgba(20, 35, 57, 0.82);
}

.membership-more__link {
  color: var(--navy-deep);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(22, 64, 127, 0.25);
  padding-bottom: 0.15rem;
}

.membership-more__link:hover,
.membership-more__link:focus-visible {
  color: var(--navy);
  border-bottom-color: var(--gold);
}

@media (min-width: 48rem) {
  .membership-fee {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
  }

  .membership-fee__price {
    flex: 0 0 auto;
    text-align: right;
  }

  .membership-steps {
    padding: 0.5rem 0 3rem;
  }

  .membership-steps__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
  }

  /* In der zweispaltigen Ansicht keine Trennung */
  .membership-step--extra::before {
    display: none;
  }

  .membership-end {
    padding: 2.5rem 0 1.5rem;
  }

  .membership-support {
    padding: 1rem 0 2.5rem;
  }

  .membership-support__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
  }

  .membership-more__inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
  }
}

@media (min-width: 80rem) {
  .membership-steps__list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  /* Ueberschrift des 4. Schritts sitzt ueber der Kachel, damit alle
     vier Kacheln oben buendig und gleich aufgebaut sind */
  .membership-steps__list {
    margin-top: 3.25rem;
  }

  .membership-step__extra-label {
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    margin: 0 0 0.45rem;
  }

  /* Senkrechte Linie zwischen Schritt 3 und 4 */
  .membership-step--extra::before {
    display: block;
    top: 0;
    bottom: 0;
    right: auto;
    left: -0.85rem;
    width: 0;
    border-top: 0;
    border-left: 2px dashed rgba(20, 35, 57, 0.3);
  }
}

.contact-page__intro--team {
    margin-top: 0;
}

/* Links in der dunklen Beitrags-Karte */
.fv-card__note a {
  color: var(--gold);
  text-underline-offset: 3px;
}

/* Downloads-Seite: Kategorie-Gruppen */
.downloads-page__group {
  padding: 1.5rem 0 0;
}

.downloads-page__group h2 {
  border-bottom: 3px solid var(--gold);
  padding-bottom: 0.3rem;
  display: inline-block;
}

.downloads-page__group + .downloads-page__group {
  padding-top: 2.5rem;
}

/* Familienantrag-Button unter dem Aufnahmeantrag (dunkle Karte) */
.fv-card__download--family {
  margin-top: 0.4rem;
}

/* Hinweis auf den Familienantrag in Schritt 1 (heller Hintergrund) */
.membership-step__family {
  margin: 0.75rem 0 0;
  font-size: 0.95rem;
}

.membership-step__family a {
  color: var(--navy);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Skyline als dezente Deko in grossen Freiflaechen (nur breite Viewports).
   Sitzt am rechten Ende des Content-Containers, buendig zur Navigation. */
.skyline-deco {
  display: none;
}

@media (min-width: 80rem) {
  .has-skyline-deco {
    position: relative;
  }

  .skyline-deco {
    display: flex;
    position: absolute;
    z-index: 0;
    right: var(--gutter);
    bottom: 0;
    height: 18rem;
    color: rgba(12, 42, 87, 0.09);
    pointer-events: none;
  }

  .skyline-deco svg {
    display: block;
    height: 100%;
    width: auto;
  }

  .has-skyline-deco > :not(.skyline-deco) {
    position: relative;
    z-index: 1;
  }

  /* Mitgliedschaft beenden: Skyline fuellt die Hoehe des Abschnitts */
  .membership-end .skyline-deco {
    top: 0;
    height: auto;
  }
}

/* ---------- Galerie (Etappe 6): Album-Uebersicht, Foto-Grid, CSS-only-Lightbox ---------- */

.gallery-page { padding: 2rem 0 3rem; }
.gallery-page__empty { color: var(--ink); }
.gallery-page__back { margin: 0 0 1.25rem; }

.gallery-album-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gallery-album-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid rgba(20, 35, 57, 0.14);
  box-shadow: 0 6px 18px rgba(12, 42, 87, 0.08);
  color: inherit;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.gallery-album-card:hover,
.gallery-album-card:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(12, 42, 87, 0.16);
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.gallery-album-card__cover {
  display: block;
  width: 100%;
  height: 11rem;
  object-fit: cover;
}
.gallery-album-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 1rem 1.15rem 1.15rem;
}
.gallery-album-card__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--navy-deep);
}
.gallery-album-card__date {
  font-size: 0.85rem;
  color: var(--ink);
  opacity: 0.75;
}
.gallery-album-card__count {
  font-size: 0.85rem;
  color: var(--ink);
  opacity: 0.75;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr));
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.gallery-grid__link {
  display: block;
  border-radius: 2px;
  overflow: hidden;
}
.gallery-grid__link img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.15s ease;
}
.gallery-grid__link:hover img,
.gallery-grid__link:focus-visible img {
  transform: scale(1.04);
}
.gallery-grid__link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* CSS-only-Lightbox ueber :target - ohne CSS/JS bleiben die Anker normale
   Sprungziele, das Overlay-Bild ist zusaetzlich als Direktlink nutzbar. */
.gallery-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem;
}
.gallery-lightbox:target { display: flex; }
.gallery-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 20, 34, 0.88);
}
.gallery-lightbox__figure {
  position: relative;
  z-index: 1;
  max-width: 90vw;
  max-height: 85vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  align-items: center;
}
.gallery-lightbox__figure img {
  display: block;
  max-width: 90vw;
  max-height: 72vh;
  width: auto;
  height: auto;
  object-fit: contain;
}
.gallery-lightbox__figure figcaption {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #fff;
  font-size: 0.9rem;
}
.gallery-lightbox__close {
  color: #fff;
  text-decoration: underline;
}

.maintenance-banner {
  background: var(--gold);
  color: var(--ink);
  padding: .5rem var(--gutter);
  font-size: .9rem;
  text-align: center;
}
.maintenance-banner a { color: var(--ink); font-weight: 600; }
