:root {
  --color-white: #ffffff;
  --color-black: #000000;
  --color-gray-dark: #252525;
  --color-gray-medium: #d3d3d3;
  --color-gray-light: #f0f0f0;
  --color-muted: #666666;
  --color-red: #b32126;
  --color-blue: #6ec1e4;
  --color-blue-strong: #3498db;
  --color-blue-light: #819ede;
  --font-system: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* =========================================================
   Dunkler Modus (nur Überschreibung der Farb-Tokens)
   ========================================================= */
:root[data-theme="dark"] {
  color-scheme: dark;
  --color-white: #121212;
  --color-black: #000000;
  --color-gray-dark: #ececec;
  --color-gray-medium: #3a3a3a;
  --color-gray-light: #1e1e1e;
  --color-muted: #a3a3a3;
  --color-red: #e5484d;
  --color-blue: #6ec1e4;
  --color-blue-strong: #5aa9e6;
  --color-blue-light: #3d4f7a;
}
/* Text auf Bild und roten Flächen bleibt weiss */
:root[data-theme="dark"] .hero-content,
:root[data-theme="dark"] .hero .eyebrow,
:root[data-theme="dark"] .btn,
:root[data-theme="dark"] .turn-group a,
:root[data-theme="dark"] .course,
:root[data-theme="dark"] .club-cta,
:root[data-theme="dark"] .tournament-icon,
:root[data-theme="dark"] .archive-year > summary:hover,
:root[data-theme="dark"] .archive-year[open] > summary {
  color: #ffffff;
}
:root[data-theme="dark"] .club-cta .btn:hover {
  background: #3a3a3a;
  border-color: #3a3a3a;
  color: #ffffff;
}
:root[data-theme="dark"] .copyright {
  background: #000000;
  color: #ffffff;
}
/* Header ist halbtransparent: dunkler Grund statt Weiss */
:root[data-theme="dark"] .nav-wrap {
  background: rgba(18, 18, 18, 0.9);
}
:root[data-theme="dark"] .nav .menu-toggle:hover {
  background: #2a2a2a;
}
:root[data-theme="dark"] .nav .menu-toggle[aria-expanded="true"] span {
  background: #ffffff;
}
:root[data-theme="dark"] #mainNav .submenu a {
  color: var(--color-muted);
}
/* Footer und Links auf dunklem Grund */
:root[data-theme="dark"] footer {
  background: #1e1e1e;
}
:root[data-theme="dark"] .footer-grid a {
  color: #ff8a8e;
}
:root[data-theme="dark"] .brand-logo {
  filter: invert(1);
}

/* =========================================================
   Basis
   ========================================================= */
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: var(--color-gray-dark);
  line-height: 1.65;
  background: var(--color-white);
}
/* Footer ans Seitenende schieben, wenn der Inhalt den Viewport nicht füllt */
body:has(#footer-container) {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  box-sizing: border-box;
}
#footer-container {
  margin-top: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  color: var(--color-red);
}
img {
  max-width: 100%;
  display: block;
}
.wrap {
  width: min(1140px, calc(100% - 40px));
  margin: auto;
}

/* =========================================================
   Navigation
   Vorsicht beim Aufräumen: nav-menu.css überschreibt einen Teil dieser
   Regeln (z.B. .nav-wrap position/background, .nav min-height), aber
   .nav nav vererbt font-size/weight/letter-spacing weiter an #mainNav,
   und .nav-wrap liefert hier den border-bottom, den nav-menu.css nicht
   setzt. Sieht nach totem Code aus, ist es aber nur teilweise.
   ========================================================= */
.nav-wrap {
  background: var(--color-white);
  border-bottom: 1px solid var(--color-gray-medium);
  position: sticky;
  top: 0;
  z-index: 20;
}
.nav {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-gray-dark);
  letter-spacing: 0.08em;
}
.nav nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 0.08em;
}
.nav nav > a {
  padding: 32px 0;
  border-bottom: 2px solid transparent;
}
.nav nav > a:hover,
.nav nav > a.active {
  color: var(--color-red);
  border-bottom-color: var(--color-red);
}
.search-btn {
  border: 0;
  background: none;
  font-size: 26px;
  cursor: pointer;
}
.menu-toggle {
  display: none;
  border: 0;
  background: none;
  font-size: 28px;
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  height: 590px;
  position: relative;
  overflow: hidden;
}
.hero > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 12, 15, 0.72), rgba(8, 12, 15, 0.18));
}
.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--color-white);
}
.eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--color-red);
  margin: 0 0 8px;
}
.hero .eyebrow {
  color: var(--color-white);
}
.hero h1 {
  font-size: clamp(42px, 7vw, 78px);
  line-height: 1.03;
  margin: 0 0 16px;
  max-width: 750px;
}
.hero p:not(.eyebrow) {
  font-size: 20px;
  max-width: 570px;
  margin: 0 0 28px;
}
.hero-actions {
  display: flex;
  gap: 12px;
}

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-block;
  background: var(--color-red);
  color: var(--color-white);
  padding: 12px 23px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--color-red);
  border-radius: 4px;
}
.btn:hover {
  background: var(--color-white);
  color: var(--color-red);
}
.btn-normal {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-gray-dark);
  background: none;
  border: none;
  cursor: pointer;
}
.btn-light {
  background: var(--color-white);
  color: var(--color-gray-dark);
  border-color: var(--color-white);
}
.btn-light:hover {
  background: var(--color-red);
  color: var(--color-white);
}

/* =========================================================
   Intro & Sprachumschalter
   ========================================================= */
.intro {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 80px;
  padding: 90px 0;
}
.intro h2,
.section h2 {
  font-size: 2rem;
  line-height: 1.15;
  margin: 0 0 20px;
}
.intro p {
  color: var(--color-gray-dark);
}
.intro-heading-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 6px;
}
.intro-heading-panel {
  flex: 1;
}
.intro-heading-row .eyebrow {
  margin: 0;
}
.intro-title {
  margin: 0;
}
.intro-title h2 {
  margin-top: 0;
  margin-bottom: 12px;
}
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--color-gray-medium);
  background: var(--color-gray-light);
  padding: 3px 8px;
}
.lang-option {
  border: 0;
  background: transparent;
  padding: 4px 6px;
  font: inherit;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gray-dark);
  cursor: pointer;
  transition: color 0.2s ease;
}
.lang-option:hover,
.lang-option.is-active {
  color: var(--color-red);
}
.lang-option.is-active {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.lang-panel {
  display: none;
}
.lang-panel.is-active {
  display: block;
}
.lang-panel p {
  margin: 0 0 0.9em;
}
.lang-panel p:last-child {
  margin-bottom: 0;
}

/* =========================================================
   Karten & Sektionen
   ========================================================= */
.quick-card {
  border-top: 4px solid var(--color-red);
  padding: 28px;
  background: var(--color-gray-medium);
}
.quick-card h3 {
  font-size: 24px;
  margin: 8px 0;
}
.contact-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
.quick-card a,
.text-link,
.card a {
  color: var(--color-red);
  font-weight: 800;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.section {
  padding: 43px 0;
}
.section-gray {
  background: var(--color-gray-medium);
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 35px;
}
.section-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}
.card {
  background: var(--color-white);
  border: 1px solid var(--color-gray-medium);
  transition: transform 0.2s ease;
}
.card:hover {
  transform: scale(1.02);
}
.card > img {
  height: 190px;
  width: 100%;
  object-fit: cover;
}
.card-body {
  padding: 22px;
}
.card small {
  color: var(--color-gray-dark);
}
.card h3 {
  font-size: 21px;
  line-height: 1.25;
  margin: 7px 0 10px;
}
.card p {
  color: var(--color-gray-dark);
  font-size: 14px;
}

/* =========================================================
   Agenda (Startseite)
   ========================================================= */
.agenda {
  border-top: 1px solid var(--color-gray-medium);
}
.event {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 30px;
  padding: 24px 0;
  border-bottom: 1px solid var(--color-gray-medium);
  align-items: center;
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s ease;
}
.event:hover {
  transform: scale(1.01);
}
a.event {
  cursor: pointer;
}
#home-agenda-list .event {
  grid-template-columns: 110px 1fr 90px;
}
#home-agenda-list .event-media {
  width: 90px;
  overflow: hidden;
  border-radius: 10px;
  background: var(--color-gray-light);
}
#home-agenda-list .event-media img {
  display: block;
  width: 90px;
  height: 90px;
  object-fit: cover;
}
.date {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.date b {
  font-size: 42px;
  line-height: 1;
}
.date span {
  font-size: 11px;
  font-weight: bold;
  letter-spacing: 0.08em;
  color: var(--color-gray-dark);
}
.date.date-range {
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}
.date.date-range b {
  font-size: 28px;
}
.date.date-range span {
  font-size: 10px;
  letter-spacing: 0;
}
.event h3 {
  margin: 4px 0 0;
  font-size: 21px;
}
.event p {
  margin: 2px 0;
  color: var(--color-gray-dark);
}
.tag {
  font-size: 10px;
  font-weight: bold;
  letter-spacing: 0.12em;
  color: var(--color-red);
}

/* =========================================================
   Feature, Klub, Kurs
   ========================================================= */
.feature-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 55px;
  align-items: center;
}
.feature-image img {
  width: 100%;
  height: 370px;
  object-fit: cover;
}
.feature-copy h3 {
  font-size: 30px;
  line-height: 1.2;
}
.club-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 70px;
  margin-top: 40px;
}
.people {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--color-gray-medium);
}
.people li {
  display: flex;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--color-gray-medium);
}
.people b {
  font-size: 13px;
}
.people span {
  color: var(--color-gray-dark);
}
.location-card {
  background: var(--color-gray-medium);
  padding: 35px;
}
.location-card h3 {
  font-size: 25px;
  margin: 5px 0 12px;
}
.location-card h4 {
  margin-top: 25px;
}
.course {
  background: var(--color-red);
  color: var(--color-white);
}
.course-inner {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 70px;
  align-items: center;
  padding: 75px 0;
}
.course .eyebrow {
  color: var(--color-white);
}
.course h2 {
  font-size: 42px;
  margin: 0 0 15px;
}
.course p {
  max-width: 650px;
}
.course img {
  width: 220px;
  height: 300px;
  object-fit: cover;
}

/* =========================================================
   Kontakt
   ========================================================= */
.contact-section {
  background: var(--color-white);
  padding: 76px 20px 56px;
}
.contact-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(0, 1.8fr);
  gap: 38px;
  width: min(1140px, 100%);
  margin: 0 auto;
  align-items: stretch;
}
.contact-heading {
  margin-bottom: 35px;
}
.contact-copy {
  padding: 4px 0;
}
.contact-copy p {
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.5;
}
.contact-copy address {
  margin: 18px 0 22px;
  font-size: 17px;
  font-style: normal;
  font-weight: 600;
  line-height: 1.55;
}
.contact-copy h3 {
  margin: 0 0 18px;
  font-size: 19px;
}
.contact-copy .contact-venue {
  margin-top: 22px;
  color: var(--color-red);
  font-family: Georgia, serif;
  font-weight: 700;
}
.contact-directions {
  display: inline-block;
  margin-top: 4px;
  color: var(--color-gray-dark);
  font-size: 14px;
}
.contact-directions:hover {
  color: var(--color-red);
  text-decoration: underline;
}
.contact-map {
  min-height: 400px;
  overflow: hidden;
  background: var(--color-blue-light);
}
.contact-map iframe {
  min-height: 400px;
}
.contact-form {
  display: grid;
  gap: 10px;
  width: min(640px, 100%);
  margin: 38px auto 0;
}
.contact-form h3 {
  margin: 0 0 6px;
  font-size: 19px;
}
.contact-form label {
  font-size: 13px;
  font-weight: 600;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-bottom: 8px;
  padding: 12px 14px;
  border: 1px solid var(--color-gray-medium);
  border-radius: 4px;
  background: var(--color-white);
  color: var(--color-gray-dark);
  font: inherit;
}
.contact-form textarea {
  resize: vertical;
}
.contact-form input:focus-visible,
.contact-form textarea:focus-visible {
  outline: 2px solid var(--color-red);
  outline-offset: 2px;
}
.contact-form .btn {
  justify-self: start;
  border: none;
  cursor: pointer;
}
.contact-form .btn:disabled {
  opacity: 0.6;
  cursor: wait;
}
.contact-form-status {
  margin: 4px 0 0;
  color: var(--color-muted);
  font-size: 14px;
}
.contact-form-trap {
  position: absolute;
  left: -9999px;
}

/* =========================================================
   Footer
   ========================================================= */
footer {
  background: var(--color-gray-medium);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  padding: 55px 10%;
}
.footer-grid h4 {
  margin: 0 0 12px;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.1em;
}
.footer-grid p {
  color: var(--color-gray-dark);
  font-size: 13px;
}
.footer-grid a {
  color: var(--color-red);
}
.footer-brand {
  margin-bottom: 12px;
}
.footer-brand .brand-logo {
  height: 150px;
}
.copyright {
  border-top: 1px solid var(--color-gray-medium);
  text-align: center;
  background: var(--color-gray-dark);
  color: var(--color-white);
  font-size: 15px;
  padding: 18px 0;
}

/* =========================================================
   Suche
   ========================================================= */
.search-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 50;
  align-items: flex-start;
  justify-content: center;
  padding-top: 13vh;
}
.search-modal.open {
  display: flex;
}
.search-box {
  background: var(--color-white);
  width: min(650px, calc(100% - 30px));
  padding: 35px;
  position: relative;
}
.close {
  position: absolute;
  right: 15px;
  top: 8px;
  border: 0;
  background: none;
  font-size: 30px;
  cursor: pointer;
}
.search-box h2 {
  margin-top: 0;
}
.search-box input {
  width: 100%;
  padding: 15px;
  border: 1px solid var(--color-gray-medium);
  font-size: 16px;
}
.result {
  padding: 14px 0;
  border-bottom: 1px solid var(--color-gray-medium);
}

@media (max-width: 800px) {
  .wrap {
    width: min(100% - 28px, 1140px);
  }
  .nav {
    min-height: 68px;
  }
  .menu-toggle {
    display: block;
  }
  .nav nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--color-white);
    flex-direction: column;
    gap: 0;
    padding: 8px 20px;
    border-bottom: 1px solid var(--color-gray-medium);
  }
  .nav nav.open {
    display: flex;
  }
  .nav nav > a {
    width: 100%;
    padding: 13px 0;
  }
  .search-btn {
    position: absolute;
    right: 22px;
    top: 10px;
  }
  .hero {
    height: 510px;
  }
  .hero h1 {
    font-size: 46px;
  }
  .intro,
  .feature-grid,
  .club-grid,
  .course-inner,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 65px 0;
  }
  .section-head {
    align-items: start;
    gap: 15px;
    flex-direction: column;
  }
  .event {
    grid-template-columns: 95px 1fr;
    gap: 15px;
  }
  #home-agenda-list .event {
    grid-template-columns: 1fr;
  }
  #home-agenda-list .event-media {
    grid-column: 1;
    width: 100%;
  }
  #home-agenda-list .event-media img {
    width: 100%;
    height: 160px;
  }
  .date {
    display: block;
  }
  .date b {
    display: block;
  }
  .date.date-range b {
    font-size: 20px;
  }
  .date span {
    font-size: 9px;
  }
  .course img {
    width: 160px;
    height: 220px;
  }
  .contact-section {
    margin-top: 50px;
    padding: 50px 0 56px;
  }
  .contact-map,
  .contact-map iframe {
    min-height: 340px;
  }
  .footer-grid {
    grid-template-columns: 0.5fr 1fr 1fr;
    margin: 0 10px 0 5px;
    padding: 10px;
    gap: 5px;
  }
  .footer-grid p,
  .footer-grid a {
    font-size: 11px;
  }
  .footer-brand {
    margin-bottom: 6px;
  }
  .footer-brand .brand-logo {
    height: 70px;
  }
}

/* =========================================================
   Agenda-Seite
   ========================================================= */
.agenda-page {
  padding: 42px 0 64px;
}
.agenda-site {
  font-family: var(--font-system);
  background: var(--color-white);
  color: var(--color-gray-dark);
}
.agenda-page h1 {
  margin: 0 0 12px;
  font-size: 2rem;
  line-height: 1.2;
}
.agenda-intro {
  margin: 0 0 32px;
  color: var(--color-gray-dark);
}
.agenda-page .agenda {
  max-width: 1200px;
  margin: 0 auto;
}
.agenda-page .event {
  grid-template-columns: 150px minmax(280px, 1fr) 150px;
  gap: 40px;
}
.agenda-page .event p {
  max-width: 720px;
}
.agenda-page .date {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.agenda-page .date b,
.agenda-page .date span,
#home-agenda-list .date b,
#home-agenda-list .date span {
  color: var(--color-gray-dark);
}
.agenda-page .date span,
#home-agenda-list .date span {
  text-transform: uppercase;
}
.agenda-page .date.date-range {
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}
.agenda-page .date.date-range b {
  font-size: 28px;
}
.agenda-page .date.date-range span {
  font-size: 10px;
  letter-spacing: 0;
}
.agenda-page .event-media {
  position: relative;
  width: 150px;
  overflow: hidden;
  border-radius: 10px;
  background: var(--color-gray-light);
}
.agenda-page .event-media img {
  width: 150px;
  height: auto;
  object-fit: cover;
}
.agenda-page .event-copy,
#home-agenda-list .event-copy {
  min-width: 0;
}
.agenda-page .tag,
#home-agenda-list .tag {
  display: inline-block;
  margin-bottom: 6px;
  font-weight: 800;
}
.agenda-page .event-copy h3,
#home-agenda-list .event-copy h3 {
  margin: 0 0 7px;
  color: var(--color-gray-dark);
  font-size: 21px;
  line-height: 1.25;
}
.agenda-page .event-copy p,
#home-agenda-list .event-copy p {
  margin: 0;
  color: var(--color-muted);
  font-size: 14px;
}
.agenda-page .event-copy p.event-desc,
#home-agenda-list .event-copy p.event-desc {
  margin-bottom: 6px;
  color: var(--color-gray-dark);
  font-size: 17px;
  line-height: 1.35;
}
@media (max-width: 900px) {
  .agenda-page .event {
    grid-template-columns: 130px minmax(0, 1fr) 150px;
    gap: 24px;
  }
  .agenda-page .event-copy {
    grid-column: 2;
  }
  .agenda-page .event-media {
    grid-column: 3;
  }
}
@media (max-width: 800px) {
  .agenda-page {
    padding: 36px 0 52px;
  }
}
@media (max-width: 620px) {
  .agenda-page .event {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .agenda-page .event-media,
  .agenda-page .event-copy {
    grid-column: 1;
    grid-row: auto;
  }
}

/* =========================================================
   Archiv
   ========================================================= */
.archive-site {
  background: var(--color-white);
  color: var(--color-gray-dark);
}
.archive-page {
  width: min(1140px, calc(100% - 40px));
  margin: 0 auto;
  padding: 42px 0 64px;
}
.archive-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.year-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.archive-year {
  min-width: 0;
}
.archive-year[open] {
  grid-column: 1 / -1;
}
.archive-year > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding: 0 20px;
  background: var(--color-gray-light);
  border: 1px solid var(--color-gray-medium);
  color: var(--color-gray-dark);
  font-family: inherit;
  font-size: 17px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  list-style: none;
}
.archive-year > summary::-webkit-details-marker {
  display: none;
}
.archive-year > summary::after {
  content: "";
  width: 9px;
  height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s ease;
}
.archive-year[open] > summary::after {
  transform: rotate(225deg) translateY(-2px);
}
.archive-year > summary:hover,
.archive-year[open] > summary {
  background: var(--color-red);
  border-color: var(--color-red);
  color: var(--color-white);
}
.archive-content {
  padding: 22px 20px 28px;
  background: var(--color-white);
  border: 1px solid var(--color-gray-medium);
  border-top: 0;
}
.archive-content h2 {
  margin: 0 0 20px;
  font-size: 23px;
  line-height: 1.2;
}
.archive-result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px 32px;
}
.archive-result-section {
  min-width: 0;
}
.archive-result-section:last-child {
  grid-column: 1 / -1;
}
.archive-result-section h3 {
  margin: 0 0 10px;
  font-size: 16px;
}
.archive-table-wrap {
  width: 100%;
  overflow-x: auto;
}
.archive-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.45;
}
.archive-table th,
.archive-table td {
  padding: 9px 10px;
  border-bottom: 1px solid var(--color-gray-medium);
  text-align: left;
  vertical-align: top;
}
.archive-table thead th {
  background: var(--color-gray-light);
}
.archive-table th {
  font-weight: 700;
}
.archive-table a {
  color: var(--color-red);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.archive-table a:hover {
  color: var(--color-gray-dark);
}
@media (max-width: 700px) {
  .year-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .archive-year > summary {
    min-height: 58px;
    padding: 0 14px;
  }
  .archive-result-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .archive-result-section:last-child {
    grid-column: auto;
  }
  .archive-content {
    padding: 18px 12px 22px;
  }
}
@media (max-width: 380px) {
  .year-nav {
    grid-template-columns: 1fr;
  }
}

/* Archiv Vereinsmeisterschaft */
.vm-archive h1 {
  margin: 0 0 8px;
  font-size: 32px;
  line-height: 1.15;
}
.vm-intro {
  margin: 0 0 28px;
}
.vm-seasons {
  display: grid;
  gap: 14px;
}
.vm-note {
  font-size: 15px;
  font-weight: 400;
  color: var(--color-muted);
}
.vm-links {
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}
.vm-links li + li {
  margin-top: 6px;
}
.vm-links a {
  color: var(--color-red);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.vm-links a:hover {
  color: var(--color-gray-dark);
}
.vm-season .turn-groups {
  margin: 0;
}
.vm-block {
  border-bottom: 1px solid var(--color-gray-medium);
}
.vm-block:first-of-type {
  border-top: 1px solid var(--color-gray-medium);
}
.vm-block > summary {
  padding: 12px 4px;
  font-weight: 700;
  cursor: pointer;
}
.vm-block > summary:hover,
.vm-block[open] > summary {
  color: var(--color-red);
}
.vm-block[open] {
  padding-bottom: 20px;
}
.vm-block .archive-table-wrap + .archive-table-wrap {
  margin-top: 24px;
}
.vm-table {
  font-size: 13px;
}
.vm-table caption {
  padding: 4px 0 8px;
  font-weight: 700;
  text-align: left;
}
.vm-table th,
.vm-table td {
  padding: 6px 8px;
  white-space: nowrap;
}
.vm-table .vm-head th {
  background: var(--color-gray-light);
}
.vm-table .vm-sub th {
  padding-top: 18px;
  background: var(--color-white);
  color: var(--color-red);
}
.vm-table tr:first-child.vm-sub th {
  padding-top: 6px;
}
@media (max-width: 700px) {
  .vm-archive h1 {
    font-size: 26px;
  }
}

/* =========================================================
   News
   ========================================================= */
.news-page {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0 64px;
}
.news-heading {
  margin: 0 0 18px;
  font-size: 2rem;
  line-height: 1.2;
}
.news-list.cards {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.news-list .card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
@media (max-width: 900px) {
  .news-list.cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  .news-page {
    width: calc(100% - 22px);
    padding-top: 14px;
  }
  .news-heading {
    font-size: 1.6rem;
  }
  .news-list.cards {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   Turnier- und Vereinsseiten
   ========================================================= */
.tournament-page,
.turn-page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 42px 0 64px;
}
.turn-heading {
  margin: 0 0 18px;
  font-size: 2rem;
  line-height: 1.2;
}
.tournament-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(160px, 1fr));
  gap: 34px 18px;
  justify-items: center;
}
.tournament-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: 170px;
  color: var(--color-gray-dark);
}
.tournament-icon {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--color-gray-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: 3rem;
  font-weight: 700;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.tournament-item:hover .tournament-icon,
.tournament-item:focus-visible .tournament-icon {
  background: var(--color-red);
  transform: scale(1.05);
  box-shadow: 0 8px 18px rgba(110, 193, 228, 0.25);
}
.tournament-item span:last-child {
  font-size: 1.05rem;
  text-align: center;
}

.turn-hero {
  max-width: 820px;
  margin: 0 auto 42px;
  text-align: center;
}
.turn-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  line-height: 1.15;
  font-weight: 500;
}
.turn-hero p {
  margin: 0;
  color: var(--color-gray-dark);
  font-size: 1.1rem;
}
.turn-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.turn-group {
  padding: 24px;
  border: 1px solid var(--color-gray-medium);
  border-top: 4px solid var(--color-red);
  border-radius: 8px;
  background: var(--color-white);
}
.turn-group h3 {
  margin: 0 0 10px;
  font-size: 1.35rem;
}
.turn-group p {
  margin: 0 0 18px;
  color: var(--color-gray-dark);
}
.turn-group a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 16px;
  border: 1px solid var(--color-red);
  border-radius: 4px;
  background: var(--color-red);
  color: var(--color-white);
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.turn-group a:hover {
  background: var(--color-white);
  color: var(--color-red);
  transform: scale(1.02);
}
a.normal-link,
a.normal-link:hover,
a.normal-link:focus,
a.normal-link:active,
a.normal-link p {
  background: var(--color-white) !important;
  color: var(--color-black) !important;
  text-decoration: none !important;
  transform: none !important;
  box-shadow: none !important;
}
a.normal-link p {
  margin: 0;
}
.turn-note {
  margin-top: 30px;
  padding: 22px 26px;
  border-left: 4px solid var(--color-blue);
  background: var(--color-gray-medium);
}
.turn-note h2 {
  margin: 0 0 10px;
  font-size: 1.2rem;
}
.turn-note p {
  margin: 0;
  color: var(--color-gray-dark);
}

@media (max-width: 900px) {
  .tournament-grid {
    grid-template-columns: repeat(2, minmax(160px, 1fr));
  }
}
@media (max-width: 760px) {
  .turn-page {
    padding: 30px 16px 60px;
  }
  .turn-group {
    padding: 20px;
  }
  .turn-groups {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 520px) {
  .tournament-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   Klubseite
   ========================================================= */
.club-hero {
  height: 440px;
}
.club-section {
  padding: 64px 0;
  scroll-margin-top: 90px;
}
.club-section-gray {
  background: var(--color-gray-light);
}
.club-head {
  max-width: 680px;
  margin-bottom: 32px;
}
.club-head h2 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.15;
}
.club-head p:not(.eyebrow) {
  margin: 0;
  font-size: 17px;
  color: var(--color-muted);
}

/* Vorstand */
.club-board {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.club-board th,
.club-board td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--color-gray-medium);
  text-align: left;
  vertical-align: top;
}
.club-board thead th {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-muted);
  border-bottom: 2px solid var(--color-red);
}
.club-board tbody th {
  font-weight: 700;
  color: var(--color-red);
}
.club-board tbody tr:hover {
  background: var(--color-gray-light);
}
.club-board a {
  overflow-wrap: anywhere;
}
.club-board a:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Klubabend & Spiellokal */
.club-venue {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: 24px;
}
.club-venue-info {
  display: grid;
  gap: 24px;
}
.club-card {
  padding: 26px 28px;
  background: var(--color-white);
  border-top: 4px solid var(--color-red);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}
.club-card-label {
  margin: 0 0 4px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-red);
}
.club-card h3 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.25;
}
.club-card p,
.club-card address {
  margin: 0 0 12px;
  font-style: normal;
}
.club-card > :last-child {
  margin-bottom: 0;
}
.club-link {
  display: inline-block;
  color: var(--color-red);
  font-weight: 700;
}
.club-link:hover {
  color: var(--color-gray-dark);
  text-decoration: underline;
}
.club-map {
  min-height: 380px;
  background: var(--color-gray-medium);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}
.club-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 380px;
  border: 0;
}

/* Statuten */
.club-doc {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  background: var(--color-gray-light);
  box-shadow: none;
}
.club-doc p {
  max-width: 640px;
  margin: 0;
}
.club-doc .btn {
  flex-shrink: 0;
}
#mitglied {
  padding-top: 0;
}

/* Mitglied werden */
.club-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 40px 44px;
  background: var(--color-red);
  color: var(--color-white);
  border-radius: 4px;
}
.club-cta .eyebrow {
  color: var(--color-white);
  opacity: 0.85;
}
.club-cta h2 {
  margin: 0 0 8px;
  font-size: clamp(24px, 3.2vw, 32px);
  line-height: 1.2;
}
.club-cta p:not(.eyebrow) {
  margin: 0;
  max-width: 560px;
}
.club-cta .btn {
  flex-shrink: 0;
}
.club-cta .btn:hover {
  background: var(--color-gray-dark);
  border-color: var(--color-gray-dark);
  color: var(--color-white);
}

@media (max-width: 800px) {
  .club-hero {
    height: 420px;
  }
  .club-section {
    padding: 44px 0;
  }
  .club-venue {
    grid-template-columns: 1fr;
  }
  .club-map,
  .club-map iframe {
    min-height: 300px;
  }
  .club-cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 24px;
  }
  .club-doc {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  /* Vorstandstabelle als Karten */
  .club-board thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
  }
  .club-board,
  .club-board tbody,
  .club-board tr,
  .club-board th,
  .club-board td {
    display: block;
  }
  .club-board tr {
    padding: 14px 0;
    border-bottom: 1px solid var(--color-gray-medium);
  }
  .club-board tbody tr:hover {
    background: none;
  }
  .club-board th,
  .club-board td {
    padding: 2px 0;
    border: 0;
  }
  .club-board tbody th {
    margin-bottom: 4px;
  }
  .club-board td[data-label="Name"] {
    font-weight: 700;
  }
}
@media (max-width: 480px) {
  .club-hero .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* =========================================================
   Barrierefreiheit
   ========================================================= */
:where(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid var(--color-blue);
  outline-offset: 3px;
}

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

.smm-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 12px 0;
}
