* {
  margin: 0;
  box-sizing: border-box;
  text-decoration: none;
}

html {
  scroll-behavior: smooth;
}

:root {
  --accent_colr: #e11d48;
  --accent_color: #993223;
}

body {
  color: #fff;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  background-color: #111;
}

h1, h2, h3, .nav {
  font-family: 'Anton', sans-serif; text-transform: uppercase; letter-spacing: 1px;
  font-weight: 600;
}

p {
 color: rgba(255, 255, 255,0.8);
 font-size: 18px;
}

.more h1, .more h2, .more h3 {
  padding-left: 10px;
}

.more h1 {
  font-size: 50px;
}

.more h2 {
  font-size: 40px;
}

.more h3 {
  font-size: 30px;
}

.more p {
  padding: 20px;
}

.more section {
margin-bottom: 20px;
}

.nav_bar {
  padding:  5px 0 0 5px;
  position: fixed;
  width: 100vw;
  height: 100px;
  display: flex;
  flex-direction: row;
  align-items: center;
  top: 0;
  font-family: 'Anton', sans-serif; text-transform: uppercase; letter-spacing: 1px;
  z-index: 888;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.feather {
  font-family: 'feather' !important; /* Erzwingt, dass die Icon-Schriftart genutzt wird */
  cursor: pointer;
  display: inline-block; /* Damit das transform: scaleX(-1) sauber greift */
}

.nav_next_game.lite {
  padding-left: 10px;
  max-width: 90px;
}

.nav_next_game.lite, .nav_next_game.lite b {
  font-size: 16px;
  white-space: nowrap;
}

.nav_next_game.lite .next_game_p_location, .nav_next_game.lite .next_game_time_p, .nav_next_game.lite .next_game_p_live_score{
  font-size: 10px;
} 

.logo {
  background-image: url('img/logo.jpg');
  min-height: 100px;
  min-width: 100px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.nav {
  position: fixed;
  height: 90dvh;
  width: 90%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); 
  background-color: rgba(0,0,0,0.6);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 25px;
  box-shadow: 10px 10px 0 #fff;
  display: none;
  animation: nav_ani_ope 0.3s ease;
  z-index: 999;
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
}

#nav_mob.close {
  animation: nav_ani_clo 0.3s ease;
}

@media (orientation: landscape) {
  .nav {
    flex-direction: row;
  }
  .nav_legal_link {
    position: absolute;
    bottom: 0;
    right: 0;
    background: #222;
  }
}

.nav h1, .nav h2, .nav h3 {
  font-weight: 600;
}

.nav_next_game {
  padding: 10px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
  justify-content: center;
  align-items: center;
  padding: 10px;
}

.nav_next_game_vs_div_marquee {
  width: 100%;
  overflow: hidden;
  white-space: nowrap; 
}

.nav_next_game_vs_div_marquee .next_game_vs {
  display: inline-block;   /* Wichtig, damit sich der Text bewegen lässt */
  animation: marquee 7s linear infinite;
  font-size: 50px;
}

.feather.icon-sidebar {
  font-size: 30px;
  color: #fff;
  padding: 10px;
}

.next_game_p_next, .next_game_p_live {
  font-size: 16px;
  color: #fff;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 2px;
}

.next_game_p_next {
  padding-top: 10px;
}

.next_game_p_live .blink {
  margin-bottom: 0;
}

.blink {
  font-size: 25px;
  animation: blink 2s infinite;
}

.next_game_vs {
  text-align: center;
}

.nav_next_game_time {
  
}

.next_game_time_p, .next_game_p_live_score, .next_game_p_location {
  font-size: 16px;
  color: #888;
}
/*time*/
.nav_next_game.time .next_game_p_live, .nav_next_game.time .score, .nav_next_game.time .next_game_p_live_score {
  display: none;
}
/*live*/
.nav_next_game.live .next_game_p_next, .nav_next_game.live .nav_next_game_time, .nav_next_game.live .next_game_time_p {
  display: none;
}

.score {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.score_point {
  animation: blink 2s infinite;
}

.nav_next_game.past .score_point {
  animation: none;
}

.nav_a {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 0 20px 0;
  gap: 20px;
  max-height: 80dvh;
  width: 100%;
  overflow-y: auto;
  scroll-behavior: smooth;
}

.nav_a .button {
  width: 80%;
}

 .button {
  display: block;
  padding: 10px;
  transform: skewX(5deg); 
  box-shadow: 2px 2px 0 #fff;
  transition: all 0.2s ease;
  color: #fff;
  border: 1px solid var(--accent_color);
}

 .button:hover {
  box-shadow: 10px 10px 0 #fff;
  transform: scale(1.05); 
  background-color: var(--accent_color);
}

.feather.icon-x {
  position: absolute;
  top: 10px;
  right: 9px;
  font-size: 30px;
}

.nav_legal_link {
  font-size: 12px;
  color: #ccc;
  font-weight: 400;
  padding: 10px;
}

.head {
  padding-top: 30vh; 
  padding-bottom: 40px;
  min-height: 100dvh;
  width: 100%;
  background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.9)), url('/img/img1.jpg'); 
  background-size: cover;
  background-position: center;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px; 
  text-align: center;
}

.acc {
  color: var(--accent_color);
}

.h1_head {
  font-size: 65px;
  font-weight: 600;
  padding: 30px;
}

.p_head {
  font-size: 18px;
  padding: 10px;
}

#links_head {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 5%;
  text-align: center;
  font-size: 20px;
  padding: 20px;
}

.link_head_left, .link_head_right {
  padding: 15px;
  border-radius: 1px;
  color: #fff;
}

.link_head_left {
  background-color: var(--accent_color);
  border: 1px solid var(--accent_color);
}

.link_head_right {
  border: 1px solid #eee;
}

.feather.icon-chevron-down {
  width: 100%;
  position: relative;
  font-size: 50px;
}

p .button {
  padding: 15px;
  border: 1px solid var(--accent_color);
  text-align: center;
  margin: 25px;
  margin-bottom: 0;
  }
/**/  
#next_game {
  border: 1px solid var(--accent_color);
  box-shadow: 10px 10px 0 1px #fff;
  width: calc(100% - 35px);
  margin: 10px;
  padding: 10px;
  background-color: rgba(225, 29, 72, 0.8);
  background-color: var(--accent_color);
}  
/**/

.scroll-container {
  display: flex;
  gap: 35px;
  overflow-x: auto;
  scroll-behavior: smooth;
  width: calc(100% - 10px);
  align-items: flex-start;
  transition: height 0.3s ease;
  scroll-snap-type: x mandatory;
  overflow-y: hidden;
  margin: 10px;
  padding-right: 20px;
}

.scroll-container img {
  width: 100%;
  padding-bottom: 20px;
}

.scroll-item {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  scroll-snap-align: start;
  padding: 20px;
  border: 1px solid var(--accent_color);
  width: calc(100% - 5px);
  height: auto;
  box-shadow: 10px 10px 0 1px #fff;
}

.scroll-item p {
  padding: 0 0 10px 0;
}

.news-btn {
  padding: 15px;
  background-color: var(--accent_color);
  border: 1px solid var(--accent_color);
  z-index: 500;
}

.news-btn.button:hover {
  transform: skewX(5deg);
  box-shadow: 5px 5px 0 1px #fff;
}

.news-btn-div {
  display: flex;
  flex-direction: row;
  gap: 5px;
  justify-content: flex-end;
  align-items: center;
  padding: 10px;
  padding-right: 20px;
  z-index: 500;
}

.news-top-div {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}
/**/
summary { list-style: none; }
summary::-webkit-details-marker {
  display: none;}

.teams-div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px;
}

.teams-div details {
  border: 1px solid var(--accent_color);
  width: 100%;
  box-shadow: 1px 1px 0 1px #fff;
  transition: 0.2s;
}

.teams-div details * {
  
}

.teams-div details summary {
  padding: 20px;
  transition: 0.2s;
}

.teams-div details summary .details_h4 {
  opacity: 0;
  height: 0;
  transition: 0.2s;
}

.teams-div details[open] summary .details_h4 {
  padding-top: 20px;
  opacity: 1;
  height: auto;
  transition: 0.2s;
}

.teams-div details[open] {
  transform: skew(5deg) scale(0.95);
  box-shadow: 5px 5px 0 1px #fff;
  background-color: var(--accent_color);
  transition: 0.2s;
}

.teams-div.Ansprechpartner details summary {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: center;
  justify-content: flex-start;
}

.teams-div.Ansprechpartner details summary img {
  width: 80px;
}

.teams-div.Ansprechpartner details[open] {
  transform: skew(0deg) scale(0.95);
}

.teams-div.Ansprechpartner h3 {
  font-size: 20px;
}

@media (min-width: 600px) {
  .scroll-item {
    max-width: 300px;
  }
  .teams-div details {
    max-width: 300px;
    min-width: 300px;
    min-height: 100px;
  }
  .teams-div {
    flex-direction: row;
    overflow-x: auto;
    scroll-behavior: smooth;
    justify-content: flex-start;
  }
}

@keyframes blink {
  0% { opacity: 100%;}
  50% { opacity: 0;}
  100% { opacity: 100%;}
}

@keyframes marquee {
  0% {
    transform: translateX(100%); }
  100% {
    transform: translateX(-100%); }
}

@keyframes nav_ani_ope {
  from {
  box-shadow: 2px 2px 0 #fff;
  transform: translate(-50%, -50%) skewX(5deg) scale(0.8);
  opacity: 0;
  }
  
  to {
    box-shadow: 10px 10px 0 #fff;
    opacity: 1;
    transform: translate(-50%, -50%) skewX(0deg);
  }
}

@keyframes nav_ani_clo {
  from {
    box-shadow: 10px 10px 0 #fff;
    opacity: 1;
    transform: translate(-50%, -50%) skewX(0deg);
  }
  to {
    box-shadow: 2px 2px 0 #fff;
    transform: translate(-50%, -50%) skewX(5deg) scale(0.9);
    opacity: 0;
  }
}

/*footer*/
.site-footer {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.site-footer p {
  padding: 0;
  font-size: 15px;
}

.site-footer a {
  color: #fff;
}

.footer-container {
  
}
.footer-section {
  font-size: 16px;
  text-align: center;
  padding-bottom: 1px;
}
.footer-section h3 {
  font-size: 20px;
}
.footer-section a {
  margin: 10px;
}
.footer-bottom {
  padding-top: 7px;
  padding-bottom: 20px;
  text-align: center;
  border-top: 0.1px solid #ddd;
  font-weight: 200;
  color: #888;
  font-size: 14px;
}


@media (min-width: 800px) {
  .site-footer {
    display: block;
  }
  .footer-container {
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
  }
  .footer-section {
    text-align: left;
  }
  .footer-section a {
    margin-left: 0;
  }
  .footer-bottom {
    margin-left: 10vw;
    margin-right: 10vw;
    margin-top: 10px;
  }
}
/*s*/
.striped-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  background: transparent;
  cursor: pointer;
}

.striped-slider:focus {
  outline: none;
}

/* --- (THUMB) --- */
.striped-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  height: 40px;
  width: 15px;
  border-radius: 0;
  background: var(--accent_color);
  margin-top: -13px;
}

.striped-slider::-moz-range-thumb {
  height: 20px;
  width: 20px;
  border-radius: 50%;
  background: var(--accent_color);
  border: none;
}

/* --- (TRACK) CHROME --- */
.striped-slider::-webkit-slider-runnable-track {
  width: 100%;
  height: 8px;
  
  /* bc*/
  background: 
    linear-gradient(var(--accent_color), var(--accent_color)) 0 / var(--value) 100% no-repeat,
    linear-gradient(to right, #777 50%, transparent 50%) 0 / 25px 100% repeat-x;
    height: 17px;
    filter: drop-shadow(5px 5px 0 #fff);
    transform: skew(10deg);
    padding: 0px;
}

/* --- (TRACK) FIREFOX --- */
.striped-slider::-moz-range-track {
  width: 100%;
  height: 4px;
  background: 
    linear-gradient(#007bff, #007bff) 0 / var(--value) 100% no-repeat,
    linear-gradient(to right, #ccc 50%, transparent 50%) 0 / 10px 100% repeat-x;
}

.range {
  padding: 20px;
  padding-top: 30px;
}


/* Der neue äußere Container steuert die Höhe */
.range_games_wrapper {
  width: 100%;
  overflow: hidden;
  transition: height 0.3s ease; /* Hier liegt jetzt der flüssige Übergang */
}

/* Deine originale Section erzwingt jetzt den reinen horizontalen Overflow */
#next_game {
  display: flex;
  width: calc(100% - 35px);
  overflow-x: auto;
  scroll-behavior: auto !important;
  scroll-snap-type: x mandatory;
  
  /* Versteckt die Scrollbars */
  -ms-overflow-style: none;
  scrollbar-width: none;
}

#next_game::-webkit-scrollbar {
  display: none;
}

/* Jedes einzelne Spiel darf NIEMALS schrumpfen */
.nav_next_game {
  flex-shrink: 0;
  width: 100%; /* Jedes Spiel ist genau so breit wie der sichtbare Bereich */
  box-sizing: border-box;
  scroll-snap-align: start;
}