@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

:root {
  --color-1: #b24f21; /*(rostrot)*/
  --color-2: #ead7aa; /*(creme/beige Hintergrund)*/
  --color-3: #3c1f0c; /*(dunkelbraun/Schrift)*/
  --color-4: #f1e5c6; /*(helles Beige, z. B. Schrift auf Ärmeln)*/
  --color-5: #874628; /*(dunkleres Rostrot)*/

  --primary-normal: #ff1744;
  --primary-normal-hover: #e6153d;
  --primary-dark: #bf1133;
  --primary-dark-hover: #990e29;
}
/* Basis-Layout */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: "Montserrat", sans-serif;
}
html,
body.menu-open {
  touch-action: none;
  overscroll-behavior: none;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 1.5rem;
}
.container h1,h2,h3,h4,h5,h6 span {
  color: var(--primary-normal);
}
.bronze {
  color: rgb(144, 64, 11) !important;

}
.silber {
  color: silver !important;
}
.gold {
  color: gold !important;  
}
/* NAV */
.main-nav {
  position: fixed;
  width: 100%;
  background-color: #222;
  color: white;
  padding: 1rem;
  z-index: 1000;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1001;
  position: relative;
}

.nav-brand {
  font-size: 1.3rem;
  font-weight: bold;
  color: white;
  z-index: 1001;
  display: flex;
  align-items: center;
}
.nav-brand img {
  display: block;
  width: 80px;
}

.nav-toggle {
  width: 30px;
  height: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  cursor: pointer;
  position: relative;
  z-index: 1001;
}

.nav-toggle span {
  position: absolute;
  width: 100%;
  height: 3px;
  background-color: white;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 10px; }
.nav-toggle span:nth-child(3) { top: 20px; }

.nav-toggle.open span:nth-child(1) {
  transform: rotate(45deg);
  top: 10px;
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  transform: rotate(-45deg);
  top: 10px;
}

/* === Fullscreen Menü === */
.nav-links {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #111;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transform: translateY(-100%);
  transition: transform 0.4s ease;
  z-index: 1000;
  padding-top: 5rem;
}

.nav-links.active {
  transform: translateY(0);
}

.nav-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

.nav-links li {
  margin: 1.5rem 0;
}

.nav-links a {
  text-decoration: none;
  color: white;
  font-size: 1.5rem;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--primary-normal-hover);
}

/* Hero-Bereich */
.hero {
  background: linear-gradient(to right, #1e1e1e, #282828), url('../img/bg.jpg') center/cover no-repeat; 
  background-blend-mode: overlay;
  min-height: 100vh;
  position: relative;
  color: white;
}

.hero-overlay {
  background: rgba(0, 0, 0, 0.5); /* optional: dunkler Schleier */
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.hero-content {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  padding: 2rem;
  text-align: center;

  /* Wichtig: Positionierung im oberen Drittel */
  top: 20%;
  transform: translateY(-20%);
}

.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero-content h1 span {
  color: var(--primary-normal);
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.hero-button {
  background-color: var(--primary-normal);
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
}

.hero-button:hover {
  background-color: var(--primary-normal-hover);
}

/* SPONSOREN */
.sponsoren-section {
  padding: 2rem 0;
  background: #f9f9f9;
  text-align: center;
  overflow: hidden;
}

.sponsoren-section h2 {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  color: #333;
}

.sponsoren-carousel {
  overflow: hidden;
  width: 100%;
}

.sponsoren-track {
  display: flex;
  gap: 2rem;
  width: fit-content;
  animation: scroll-left 50s linear infinite;
}

.sponsoren-track img {
  height: 80px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: 0.3s ease;
}

.sponsoren-track img:hover {
  filter: none;
  opacity: 1;
}
.sponsor-cta {
  color: white;
  padding: 4rem 0rem;
  text-align: center;
  position: relative;
  background: url("../img/bg_2.jpg") center center / cover no-repeat fixed;
  overflow: hidden;
}
.sponsor-cta h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.sponsor-cta p {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.shirt-preview {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin: 2rem 0;
}

.shirt-preview img {
  max-width: 160px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Sponsoring Pakete */
.sponsor-table {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.sponsor-package {
  background: white;
  color: #333;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  width: 220px;
  text-align: center;
}

.sponsor-package h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #ff1744;
}

.sponsor-package .price {
  font-weight: bold;
  font-size: 1.1rem;
  margin-top: 0.5rem;
  color: #222;
}
/* TEAM */

.team-section {
  padding: 4rem 1rem;
  background-color: #f9f9f9;
  text-align: center;
}

.team-section h2 {
  font-size: 2.5rem;
  margin-bottom: 2.5rem;
  color: #111;
}

.team-section h2 span {
  color: #ff1744; /* Akzentfarbe */
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.team-member {
  background: white;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.team-member img {
  width: 100%;
  max-width: 160px;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: #fff;
  padding: 0.5rem;
}

.team-member h3 {
  margin: 0.5rem 0 0.2rem;
  font-size: 1.2rem;
  color: #333;
}

.team-member p {
  margin: 0;
  font-size: 0.95rem;
  color: #777;
  font-style: italic;
}
.strike-level {
  margin-top: 1rem;
  text-align: left;
}

.strike-label {
  font-size: 0.8rem;
  color: #444;
  margin-bottom: 0.3rem;
}

.strike-bar {
  background-color: #ddd;
  height: 8px;
  border-radius: 4px;
  overflow: hidden;
}

.strike-fill {
  height: 100%;
  width: 0%;
  background-color: red; /* wird dynamisch überschrieben */
  border-radius: 4px;
  position: relative;
  cursor: help;
  transition: width 0.5s ease, background-color 0.5s ease;
}

/* Tooltip */
.strike-fill::after {
  content: attr(data-tooltip);
  position: absolute;
  top: -1.8rem;
  left: 50%;
  transform: translateX(-50%);
  background: #333;
  color: #fff;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 10;
}

.strike-fill:hover::after {
  opacity: 1;
}
/* Kontakt */
.contact-section {
  background: #f9f9f9;
  padding: 4rem 1rem;
  text-align: center;
}

.contact-section h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.contact-section h2 span {
  color: #ff1744;
}

.contact-text {
  max-width: 600px;
  margin: 0 auto 2rem;
  color: #555;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
}

.form-group {
  margin-bottom: 1.5rem;
}

label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: bold;
  color: #333;
}

input,
textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-family: inherit;
  font-size: 1rem;
}

.contact-button {
  background-color: #ff1744;
  color: white;
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 30px;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
}

.contact-button:hover {
  background-color: #d50000;
}

/* FOOTER */
.site-footer {
  background-color: #111;
  color: #eee;
  padding: 3rem 1rem;
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  text-align: center;
}
.footer-brand {
  display: none;
}

.footer-grid h3,
.footer-grid h4 {
  color: #ff1744;
  margin-bottom: 0.5rem;
}

.footer-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-grid ul li {
  margin-bottom: 0.4rem;
}

.footer-grid a {
  color: #eee;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-grid a:hover {
  color: #ff5f52;
}
.footer-bottom {
  width: 100%;
  display: flex;
  justify-content: center;
}

/* team grid */
/* Responsive Grid */
@media (min-width: 600px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    text-align: left;
  }
}

@media (min-width: 900px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .footer-brand {
    display: block;
  }
  .footer-brand img {
    margin-top: 20px;
    width: 200px;
  }
}

/* Keyframes für Endloslauf */
@keyframes scroll-left {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}


/* === Desktop Ansicht === */
@media (min-width: 768px) {
  .nav-brand img {
    display: block;
    width: 80px;
  }
  .nav-brand p {
    display: none;
  }
  .hero-content h1 {
    font-size: 3.5rem;
  }
  .hero-content p {
    font-size: 1.3rem;
  }
  .nav-toggle {
    display: none;
  }
  .nav-links {
    position: static;
    transform: none !important;
    height: auto;
    flex-direction: row;
    background: none;
    justify-content: flex-end;
    align-items: center;
    padding-top: 0;
  }
  .nav-links ul {
    display: flex;
    flex-direction: row;
    gap: 2rem;
  }
  .nav-links li {
    margin: 0;
  }
}