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

:root {
  --radius: 4px;
  --bgcolors: #005584;
}

body {
  margin: 0;
  font-family: "Roboto", system-ui, sans-serif;
}

/* Gesamtlayout */
.mainsite {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  grid-template-columns: 1fr;
  min-height: calc(100vh - 40px);
  max-width: 1200px;
  margin: 10px auto;
}

/* Header-Foto (einspaltig) */
.header_foto {
  width: 100%;
}

.header_foto img {
  display: block;
  width: 20%;
  height: auto;
  border-radius: var(--radius);
  overflow: hidden;
}

.header_img {
  display: block;
  width: 300px;
  height: auto;
  border-radius: var(--radius);
  overflow: hidden;
}

/* Menüleiste (zweispaltig: links Platz, rechts Menü) */
.header_menubar {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1rem;
  padding: 1.0rem 3rem;
  background: var(--bgcolors);
  color: #fff;
  border-top-left-radius: var(--radius);
  border-top-right-radius: var(--radius);

  text-transform: uppercase;
}





.header_menubar__menu {
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.header_menubar__menu a {
  color: inherit;
  text-decoration: none;
}

.header_menubar__menu a:hover {
  /*text-decoration: underline;*/
}

/* Content-Bereich: 1, 2 oder 3 Spalten */
.content_pane {
  display: grid;
  gap: 1.5rem;
  padding: 1.5rem 1rem;
  grid-template-columns: 1fr; /* Standard: eine Spalte */
  padding-left:30px;
  border-left: 2px solid var(--bgcolors);
  border-right: 2px solid var(--bgcolors);

}

.content_pane.cols-1 { grid-template-columns: 1fr; }
.content_pane.cols-2 { grid-template-columns: repeat(2, 1fr); }
.content_pane.cols-3 { grid-template-columns: repeat(3, 1fr); }

/* Footer */
.footer {
  padding: 1rem;
  background: var(--bgcolors);
  color: #fff;
  text-align: center;
  border-bottom-left-radius: var(--radius);
  border-bottom-right-radius: var(--radius);

}

/* Responsive: auf schmalen Bildschirmen alles untereinander */
@media (max-width: 768px) {
  .content_pane.cols-2,
  .content_pane.cols-3 {
    grid-template-columns: minmax(0, 1fr);
  }

  .header_menubar {
    grid-template-columns: minmax(0, 1fr);
    padding: 1.0rem 1rem;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    align-items: center;

  }

  .header_menubar__menu {
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
    text-align: center;
    margin-bottom:10px;
  }

  .mainsite {
    margin: 0px auto;
  }


  .training_info_center {
    font-size: smaller;
    text-align:center;
    margin-top:5px;
  }

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

}

@media (min-width: 800px) {
  .training_info {
    grid-column: span 2;
  }
}

a,
a:hover,
a:focus {
  text-decoration: none;
}

.linkactive:link {

  font-weight:700;
  text-decoration: underline;
}
.linkactive {
  font-weight:700;
}



.footer_menu {
  display: flex;
  gap: 3rem;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align:center;
  justify-content: center;
}
.footer_menu a {
  color: inherit;
  text-decoration: none;
}

.subheader {font-size:130%;}

.training-past { color: #DDDDDD}
.training-today { color: black; font-weight: bold; }
.training-soon { color: black}
.training-next { color: black; font-weight: bold; }
.training-holiday { color: gray;}
.training-gameday { color: orange }

.training_info {
  padding: 0.5rem 0.5rem;
  margin-top:-20px;
  width:100%;
  background: var(--bgcolors);
  color: #fff;
  text-align: center;
  font-size: small;
  height:1rem;
  text-transform:none;

}
