html {
    scroll-behavior: smooth;
  }
  @media (max-width: 768px) {
    .step {
    scroll-margin-top: 50vh;
    }
  }
  @media (min-width: 769px) {
    .step {
    scroll-margin-top: 100px; /* je nach sticky header Höhe */
    }
  }
  
  .menu{
    position: fixed;
    z-index: 100;
  }
  
body {
  margin: 0;
  font-family: "audi_regular";
  background-color: #121212!important;
}

#video-header{
  z-index: 10000;
  position: relative;
}
.vertical-center{
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center; /* vertikal zentrieren */
  align-items: center; /* horizontal zentrieren */
  text-align: center; /* Text innerhalb der Elemente zentrieren */
}
.btn-group-lg>.btn.button-teaser, .btn-lg {
  padding: .5rem 1rem;
  font-size: 1.25rem;
  line-height: 1.5;
  border-radius: 0rem;
}
@media (max-width: 991px){
  .btn-group-lg>.btn.button-teaser, .btn-lg.button-teaser {
    padding: .5rem 1rem;
    font-size: 1.25rem;
    line-height: 1.5;
    border-radius: 0rem;
  }
}
.mod_article.dark{
 background: #111; 
}
.mod_article.dark h2, .mod_article.dark p{
 color: #fff; 
 padding: 0;
 margin: 0;
}
.inside{
  max-width: 100vw;
  overflow: visible;
}
.ce_text.block{
  position: relative;
  color: #fff;
}
/* Standard Schriftgrößen */
.performance_kachel h1,
.kacheln h2, 
.performance_kachel h5.card-title {
  font-size: 3rem; /* z.B. Desktop-Größe */
}

.performance_kachel ul, .kacheln p {
  font-size: 2rem;
}

/* Größere Schrift auf kleinen Bildschirmen (Mobil) */
@media (max-width: 767.98px) {
  .performance_kachel h1, 
  .performance_kachel h5.card-title {
  font-size: 3.5rem; /* deutlich größer auf Mobil */
  }
  
  .performance_kachel ul {
  font-size: 2.25rem; /* größere Listenpunkte */
  }
}

.performance_kachel {
  border-radius: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: #111;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  margin: 1rem; /* mehr Abstand zueinander */
  padding: 2rem; /* mehr Innenabstand auf Desktop */
}

/* Max-Breite und zentriert auf Desktop */
@media (min-width: 768px) {
  .performance_kachel {
  margin-left: auto;
  margin-right: auto;
  }
}

.performance_kachel:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

/* Bild passt sich an Card-Breite an */
.performance_kachel .card-img-top {
  object-fit: cover;
  height: 180px;
  width: 100%;
}

/* Überschrift */
.performance_kachel h5.card-title {
  margin-bottom: 1.5rem;
  color: #222;
}

/* Liste ohne Standard-Bullets */
.performance_kachel ul {
  list-style: none;
  padding-left: 0;
  color: #444;
  margin-bottom: 0;
}

/* Jeder Listenpunkt mit eigenem Icon (Pfeil) */
.performance_kachel ul li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 1rem;
  line-height: 1.4;
}

/* Pfeil-Icon als Ersatz für Bullet */
.performance_kachel ul li::before {
  content: "\27A4"; 
  position: absolute;
  left: 0;
  font-weight: bold;
  font-size: 1rem;
  line-height: 2.75;
  color: #444;
}


.content svg#clublogo{
  width: 30vw;
  height: auto;
}
/* Mobile Schriftgrößen größer */
@media (max-width: 767.98px) {
  .performance_kachel h5.card-title {
  margin-bottom: 2rem;
  }

  .performance_kachel ul li {
  margin-bottom: 1.5rem;
  }

  .performance_kachel .card-img-top {
  height: 220px;
  }
}

/* Verbesserungen für Mobilgeräte: mehr Innenabstand, fast volle Breite, größere Schrift und Pfeile */
@media (max-width: 767.98px) {
  .performance_kachel {
  margin: 1rem 0.5rem;   /* oben/unten 1rem, seitlich 0.5rem */
  padding: 2rem 1.5rem;  /* mehr Innenabstand */
  width: calc(100% - 1rem); /* fast volle Breite */
  max-width: 600px; /* optional maximale Breite */
  }

  .performance_kachel h5.card-title {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 2.5rem;
  line-height: 1.1;
  }

  .performance_kachel ul, .kacheln p {
  font-size: 2.5rem;
  }

  .performance_kachel ul li {
  margin-bottom: 2rem;
  padding-left: 35px;
  line-height: 1.5;
  }

  .performance_kachel ul li::before {
  font-size: 1.8rem;
  line-height: 2.5;
  left: 0;
  color: #007bff; /* schöner Blauton */
  }

  .performance_kachel .card-img-top {
  height: 260px;
  }
}








a.active{
  color: #fff;
  
}
a.inactive{
  color: #444;
  
}
a.active, a.inactive{
  margin-left: 20px;
  margin-right: 20px;
}
.scroll-wrapper {
  display: flex;
  flex-direction: row;
  min-height: 100vh; 
  background: #111;     
}

.left-column {
  flex: 0 0 50%;
  position: relative;
}

.right-column {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center; /* vertikal zentrieren */
  padding: 3rem 2rem;
  background: #111;
  /* KEIN height: 100vh */
}


.trenner{
  padding-bottom: 15rem;
  padding-top: 15rem;
}





/* Zweiter Bereich: Reihenfolge umdrehen + beide Spalten 50% */
.scroll-wrapper.second-section {
  flex-direction: row-reverse;
}

.scroll-wrapper.second-section .left-column,
.scroll-wrapper.second-section .right-column {
  flex: 0 0 50%;
  max-width: 50%;
}



.sticky-left {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  overflow: hidden;
  z-index: 10;

  /* Für smootheres Ein-/Ausblenden */
  will-change: opacity, transform;
  transition: opacity 0.3s ease;
  opacity: 1;
  pointer-events: auto;
}

/* Klasse für versteckte sticky-Elemente */
.sticky-left.hidden {
  opacity: 0;
  pointer-events: none;
  /* visibility: hidden;  nicht mehr nötig */
}


.background-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
  transition: background-image 0.5s ease;
}

.number-label {
  position: relative;
  z-index: 1;
  color: white;
  text-align: center;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 1rem;
  margin-bottom: 3rem;
  width: 80%;
  max-width: 300px;
}
.first-section .number-label {
    left: 30px;
    top: 30px;
    position: absolute;
    width: 20%;

}
.number-label .step-number {
  font-family: "audi_regular";
  font-size: 4rem;
  font-weight: bold;
}

.number-label .step-label {
  font-family: "audi_regular";
  font-size: 1.2rem;
  opacity: 0.8;
}

.right-column {
  padding: 3rem 2rem;
  background: #111;
}
.right-column p, .right-column h1, .right-column h2, .right-column h3, .right-column ul li{
  color: #fff;
}
.step {
  min-height: 100vh;
  padding: 2rem;
  position: relative;
  display: flex;
  flex-direction: column;
}
.step-content {
  display: flex;
  flex-direction: column;
  justify-content: center; /* vertikale Zentrierung */
  height: 100%; /* Wichtig: Höhe des Containers */
}
.step-content h2{
    font-size: 2.25rem;
}

ul {
  list-style: none; /* Entfernt Standard-Bullets */
  padding-left: 0;  /* Entfernt Einrückung links */
  margin: 0;        /* Optional, um äußeren Abstand zu kontrollieren */
}

ul li {
  border-bottom: 1px solid rgba(0,0,0,0.1); /* feine Linie unter jedem Listeneintrag */
  padding: 0.5rem 0;
  font-size: 1.2rem;  /* vertikaler Abstand */
}

ul li:last-child {
  border-bottom: none; /* bei letztem Listeneintrag keine Linie */
}
.trenner a{
  display: inline-block;
  font-weight: 400;
  text-align: center;
  vertical-align: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  background-color: transparent;
  border: 1px solid transparent;
  padding: .375rem .75rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: 0rem;
  transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
  color: #000000 !important;
  background-color: #FFFFFF;
  /*box-shadow: 0px 0px 10px rgba(255, 255, 255, 0.3);*/
}


.trenner h2 a, 
.trenner h2 a:focus,  
.trenner h2 a:active,  
.trenner h2 a:visited{
  display: inline-block;
  background-color: #cc0033;
  color: white!important;
  padding: 10px 20px;
  margin: 8px 5px 5px 0px;
  text-decoration: none;
  font-weight: bold;
  transform: skew(-20deg)!important;
  transition: background-color 0.3s;
  border-radius: 0rem;
}
.trenner h2 a.startstop{
  transform: skew(0deg)!important;
}
/* Damit der Text nicht mitskewed wird, inneren Inhalt zurückskewen */
.trenner h2 a span, 
.trenner h2 a:focus span, 
.trenner h2 a:visited span, 
.trenner h2 a:active span {
  display: inline-block;
  transform: skew(20deg)!important;
}
.videolinks a, 
.videolinks a:focus,
.videolinks a:active,
.videolinks a:visited{
  display: inline-block;
  background-color: #cc0033;
  color: white!important;
  padding: 10px 20px;
  margin: 8px 5px 5px 0px;
  text-decoration: none;
  font-weight: bold;
  transform: skew(-20deg)!important;
  transition: background-color 0.3s;
  border-radius: 0rem;
}

/* Damit der Text nicht mitskewed wird, inneren Inhalt zurückskewen */
.videolinks a span, 
.videolinks a:focus span,
.videolinks a:active span, 
.videolinks a:visited span {
  display: inline-block;
  transform: skew(20deg)!important;
}
/* Optional: inaktive Buttons anders stylen */
.trenner h2 a.inactive {
  background-color: #cc0033;
  opacity: 0.6;
}

/* Hover-Effekt */
.trenner h2 a:hover,  .videolinks a:hover {
  background-color: #990027;
  opacity: 1;
}

/* Mobile Ansicht für beide Bereiche */

@media (max-width: 768px) {
  .videolinks a {
      transform-origin: center center!important;
  }
  .videolinks a {
      display: inline-block;
      background-color: #cc0033;
      color: white !important;
      padding: 10px 20px;
      margin: 8px 5px 5px 0;
      text-decoration: none;
      font-weight: bold;
      transform: skew(0deg) !important;
      border-radius: 0;
      -webkit-tap-highlight-color: transparent;
      user-select: none;
      outline: none;
      box-shadow: none;
      transition: background-color 0.3s;
  }
  
  .videolinks a span {
      display: inline-block;
      transform: skew(0deg) !important;
  }
  
  .videolinks a:focus,
  .videolinks a:active {
      background-color: #990027 !important;
      transform: skew(0deg) !important;
      outline: none !important;
      box-shadow: none !important;
  }
  
  .videolinks a:focus span,
  .videolinks a:active span {
      transform: skew(0deg) !important;
  }
  .btn-group-lg>.btn.button-teaser, .btn-lg.button-teaser{
      padding: .5rem 1rem;
      font-size: 1rem;
      line-height: 2;
      border-radius: 0rem;
  }
  a.active,a.inactive{
    margin-left: 20px;
    margin-right: 20px;
    font-size: 1.5rem;
  }

  /* Überschriften in .step-content (z.B. h1, h2, h3) kleiner machen */
  .step-content h2 {
    font-size: 1.2rem; /* Beispielgröße, anpassen nach Wunsch */
  }
  .step-content h3 {
    font-size: 1.6rem; /* Beispielgröße, anpassen nach Wunsch */
  }
  .step-content p {
    font-size: 1.5rem; /* Beispielgröße, anpassen nach Wunsch */
  }
  /* Button im .step-content kleiner machen */
  .step-content button,
  .step-content .btn {
    font-size: 1rem; /* Beispiel */
    padding: 0.4rem 0.8rem; /* kleinerer Innenabstand */
  }
  .scroll-wrapper {
    display: flex !important;
    flex-direction: column !important;
    min-height: auto !important;
  }
  .step-content {
    justify-content: flex-start;  /* Text oben ausrichten */
    padding-top: 20vh; 
  
  }
  .left-column,
  .right-column {
    flex: 0 0 100% !important;
    max-width: 100% !important;
    width: 100% !important;
  }
  .left-column .sticky-left {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 50vh !important;
    z-index: 7500 !important;
    background: black !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    align-items: center !important;
    overflow: hidden !important;
    pointer-events: auto !important;
    opacity: 1 !important;
    transition: opacity 0.3s ease !important;
    will-change: opacity, transform !important;
  }
  .sticky-left.hidden {
    opacity: 0 !important;
    pointer-events: none !important;
  }
  .right-column {
    margin-top: 40vh !important;
    padding: 1rem !important;
    background: #111 !important;
  }
  .step {
    min-height: 60vh !important;
    margin-bottom: 2rem !important;
  }
  .left-column .sticky-left .background-image {
    position: absolute !important;
    inset: 0 !important;
    background-size: cover !important;
    background-position: center !important;
    z-index: 0 !important;
  }
  .left-column .sticky-left .number-label {
    position: absolute !important;
    bottom: 1rem !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    background: rgba(0,0,0,0.5) !important;
    padding: 1rem !important;
    border-radius: 0.75rem !important;
    color: #fff !important;
    text-align: center !important;
    z-index: 1 !important;
    width: 80% !important;
    max-width: none !important;
  }
  
  .first-section .left-column .sticky-left .number-label {
    height: fit-content;
    position: absolute !important;
    bottom: 20px !important;
    left: 20px !important;
    width: 20% !important;
    transform: translateX(0%) !important;

  }
}







.step-content ul li {
  position: relative;
  padding: 10px 50px 10px 15%;
  color: #000;
  background-color: transparent;
  z-index: 1;
  margin-right: 60px;
  min-height: 75px;
  /* Hintergrund mit rotem Balken, der via background-size animiert wird */
  background-image: linear-gradient(to right, #cc0033 100%, transparent 0%);
  background-repeat: no-repeat;
  background-position: left top;
  background-size: 0% 100%; /* Start: keine Breite */
  transition: background-size 0.5s ease, color 0.5s ease;
  left: -50px;
  overflow: hidden;
}

@media (max-width: 600px) {
    .step-content ul li {
      padding: 10px 20px;
      left: 0;
      margin-right: 0px;
    }
    .step-content ul li::before,
    .step-content ul li::after {
      display: none;
    }
}
/* Rauten bleiben unverändert, nur opacity gesteuert */
.step-content ul li::before,
.step-content ul li::after {
  content: "";
  position: absolute;
  background-repeat: no-repeat;
  background-size: cover;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.step-content ul li::before {
  left: -1px;
  top: -1px;
  width: 50%;
  bottom: -1px;
  background-position: 15%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1500 665' preserveAspectRatio='xMidYMid meet'%3E%3Cpolygon points='0.5 664.389 186.611 664.389 506.056 0.5 0.5 0.5 0.5 664.389' style='fill:%23111;'/%3E%3C/svg%3E");
}

.step-content ul li::after {
  right: -30px;
  top: 0;
  background-position: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1500 665' preserveAspectRatio='xMidYMid meet'%3E%3Cpolygon points='1492.167 664.389 1492.167 .5 1331.056 .5 1011.611 664.389 1492.167 664.389' style='fill:%23111;'/%3E%3C/svg%3E");

  z-index: 10;
  width: 300px;
  height: 100%;
}

/* Aktiver Zustand: Textfarbe weiß */
.step-content ul li.active {
  color: white;
  margin-top: 10px;
  margin-bottom: 10px;
}

/* Aktive rote Fläche komplett sichtbar */
.step-content ul li.active {
  background-size: 100% 100%;
}

/* Rauten erst nach Verzögerung sichtbar */
.step-content ul li.active.show-rhombus::before,
.step-content ul li.active.show-rhombus::after {
  opacity: 1;
}



  
a.startstop{
  background-color: transparent!important;
  box-shadow: none;
  animation: pulse 2s infinite ease-in-out;
}
 a.startstop:hover{
   animation: pulse-more 2s infinite ease-in-out;
 } 





/* Hintergrund schwarz und Zentrierung des gesamten Formularblocks */
.tableform {
  background-color: #2a2a2a; /* sehr dunkles Grau statt rein schwarz für angenehmeren Look */
  padding: 30px 20px;
  max-width: 900px;
  margin: 40px auto;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(0,0,0,0.7);
  color: #eee;
  font-family: "audi_regular";
  font-size: 1.15rem; /* etwas größer */

}

/* Formular auf 100% Breite, damit es sich im Container anpasst */
.tableform form {
  width: 100%;
}

/* Tabelle auf 100% Breite, damit Labels und Inputs nebeneinander sind */
.tableform table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 15px;
}

/* Labels */
.tableform label {
  display: block;
  margin-top: 12px;
  font-weight: 600;
  font-size: 1.15rem;
  line-height: 1.6;
  color: #ccc;
}

/* Text-Inputs und Selects */
.tableform input[type="text"],
.tableform select {
  width: 100%;
  padding: 14px 16px;        /* mehr Innenabstand */
  font-size: 1.15rem;        /* größere Schrift */
  border-radius: 6px;
  border: 1px solid #444;
  background-color: #222;
  color: #eee;
  box-sizing: border-box;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Fokus-Effekt */
.tableform input[type="text"]:focus,
.tableform select:focus {
  border-color: #5a9bf6;
  box-shadow: 0 0 8px #5a9bf6;
  outline: none;
  background-color: #2a2a2a;
  color: #fff;
}
.tableform input.mandatory{
  background-color: #000000;
}
.tableform select {
  color: #888;
  background-color: #222;
}

.tableform select.selected {
  color: #fff;
}

.tableform select:focus {
  color: #fff;
}
/* Checkboxen größer und besser sichtbar */
.tableform input[type="checkbox"] {
  width: 22px;
  height: 22px;
  margin-right: 10px;
  vertical-align: middle;
  accent-color: #5a9bf6;
  cursor: pointer;
}

/* Checkbox-Label */
.tableform .checkbox_container label {
  font-weight: normal;
  font-size: 1.1rem;
  cursor: pointer;
  vertical-align: middle;
}

/* Submit-Button größer und abgerundet */
.tableform input[type="submit"]{
  background-color: #5e5f60;
}
.tableform input[type="submit"]{
  
  border: none;
  color: #fff!important;
  padding: 16px 36px;
  font-size: 1.25rem;
  font-weight: 700;
  border-radius: 0px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: inline-block;
  min-width: 140px;
  /* Animation hinzufügen */
  /* animation: pulse 2s infinite ease-in-out; */
}
a.btn-reservieren {
  border: none;
  color: #fff!important;
  padding: 16px 36px;
  font-size: 1.25rem;
  font-weight: 700;
  border-radius: 0px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: inline-block;
  min-width: 140px;
  /* Animation hinzufügen */
  /* animation: pulse 2s infinite ease-in-out; */
}
a.btn-reservieren{
  background-color: #cc0033;

}
@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.05);
  }
}
@keyframes pulse-more{
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.15);
  }
}
.tableform input[type="submit"]:hover, a.btn-reservieren:hover{
  background-color: #404246;
  text-decoration: none;
}

/* Tabellenzellen: mehr Abstand zwischen Label und Input */
.tableform td.col_0 {
  padding-right: 20px;
  vertical-align: top;
}

/* Mehr Abstand zwischen den Zeilen */
.tableform table tr {
  margin-bottom: 18px;
}
.tableform .invisible{
  display: none;
}
.explanation{
  padding-top: 50px;
  padding-left: 20px;
}
.explanation a{
  text-decoration: none;
  color: #fff;
}
.explanation a:hover{
  text-decoration: none;
  color: #ccc;
}
/* Responsive: Labels über Inputs auf kleinen Bildschirmen */
@media (max-width: 480px) {
  .tableform td.col_0,
  .tableform td.col_1 {
    display: block;
    width: 100%;
    padding: 0;
  }

  .tableform td.col_0 {
    margin-bottom: 6px;
    padding-right: 0;
  }

  .tableform .submit_container {
    text-align: center;
  }
}
.footer{
  padding: 20px;
}
.footer a{
  color: #ddd;
  text-decoration: none;
  padding: 10px

}
.footer a:hover{
  color: #fff;
  text-decoration: none;
}

.footer img.logo-abt{
  height: 120px;
  padding-left: 30px;
}
.footer img.logo-performance{
  height: 240px;
}
@media (max-width: 920px) {
  .footer img.logo-abt{
    height: 40px;
  }
  .footer img.logo-performance{
    height: 100px;
  }
}










#karte{
  height: 100vh;
  z-index: 20000;
  position: absolute;
  padding: 50px;
}
@media (max-width: 768px) {
  #karte{
    height: 50vh;
    z-index: 20000;
    position: absolute;
    padding: 20px;
  }
}

svg .parallelogramm { fill: black; transition: fill 0.3s; }
svg .parallelogramm.active { fill: #cc0033; }