

/* Kampfkunzen CSS */

:root {
  --bg-kampfkunzen-navbar: #5e7489;
  --bg-kampfkunzen-menuopen: var(--bg-kampfkunzen-navbar);
  --bg-kampfkunzen-menutext: whitesmoke;
  --bg-kampfkunzen-menuopenhover: #6e8499;
  --bg-light: #f8f9fa; 
  --bg-text-overlay: #ededece6; /* #ededecf6 */
  --bg-kampfkunzen-probe: #d1e7dd;        /* alert-success background Helles Grün */
  --bg-kampfkunzen-probe-light: #f3f6f4;  /* sehr helles, kaum sichtbares Grün */
  --bg-kampfkunzen-cta-green: #e6f4ea;    /* zartes grün für CTA-Box-Hintergrund */
  --bg-kampfkunzen-probe-border: #badbcc; /* Mittelgrün für Rahmen */
  --bg-kampfkunzen-probe-color: #0f513c;  /* dunkles grün */
}






.kampfkunzen-section-header {
  width: fit-content;
  background-color: rgba(248,249,250, 0.75);
  /*color: var(--bs-blue);*/
  /* padding: 3rem; */
  /* margin: 3rem; */
}

.kampfkunzen-section-header > h1 {
  color: black;
  font-variant-caps: small-caps;
  margin-left: clamp(1rem, 5vw, 20px);
  margin-right: clamp(1rem, 5vw, 20px);
  text-align: left;
  max-width: 100%;
}

.kampfkunzen-section-header > h2, 
.kampfkunzen-section-header > p, 
.kampfkunzen-section-header > ul, 
.kampfkunzen-section-header > dl, 
.kampfkunzen-section-header > li {
  /*color: inherit;*/
  /*font-size: 1rem;*/
  /*line-height: 120%;*/
  margin-bottom: 0.6rem;
}

a, a[href^="tel:"], a[href^="mailto:"] {
  /* color: #198754; */ 
  color: inherit;
  text-decoration: none;
  font-weight: bold;
  cursor: pointer;
}

a:hover, a[href^="tel:"]:hover {
  /* color: #145c32; */
  text-decoration: underline;
}





.kontakt-link {
  font-size: 1.25rem;     /* entspricht btn-lg */
  font-weight: 500;       /* Bootstrap btn-font-weight */
  line-height: 1.5;
  color: #fff;
  text-decoration: none;
  padding: 0.375rem 0.75rem;  /* ähnlich Button-Padding */
  border-radius: 0.375rem;
  transition: background-color 0.2s, color 0.2s;
}

.kontakt-link:hover {
  background-color: rgba(255, 255, 255, 0.1);
  text-decoration: none;
  color: #fff;
}

/* Hero Uli */

  .uli-front-container {  
    position: relative;
    height: clamp(800px, 100vh, 120vh); 
    overflow: hidden;
  }

  .uli-front-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: clamp(740px,120vh, 1200px);
    object-fit: cover;
    z-index: -1;
    transform: translateY(0);
    will-change: transform;
  }

  .uli-front-overlay-wrapper {
    position: absolute;
    top: clamp(80px, 10vh, 160px);
    left: clamp(1rem, 3vw, 40px);
    right: clamp(1rem, 3vw, 40px);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    z-index: 1;
  }

    .uli-front-overlay-wrapper p,
    .uli-front-overlay-wrapper ul {
      margin-bottom: 0.75rem;
    }

  .uli-front-overlay-block {
    background-color: var(--bg-text-overlay);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    max-width: 46rem;
  }

    .uli-front-overlay-block.wide {
      max-width: 46rem;
    }

    .uli-front-overlay-block.narrow {
      max-width: 32rem;
    }


  /* Mobile Optimierung */
  @media (max-width: 768px) {
    .uli-front-overlay-wrapper {
      top: 5vh;
      gap: 1rem;
    }
    .uli-front-overlay-block {
      max-width: 100%;
    }
    .uli-front-overlay-block.wide,
    .uli-front-overlay-block.narrow {
      max-width: 100%;
    }
  }
/* Hero Uli Ende */

    .title-overlay {
      position: absolute;
      /*
      top: 20px;
      left: 20px;
      */
      background-color: var(--bg-text-overlay);
      padding: 1rem 1.5rem;
      border-radius: 8px;
      z-index: 1;
    }

    /* für Hero Uwe */
    .title-overlay-static {
        background-color: var(--bg-text-overlay);
        padding: 1rem 1.5rem;
        border-radius: 8px;
        display: inline-block;
        margin-bottom: 2rem;
    }


/* Hero Uli Ende */



/* Latest News Cards */

@media (max-width: 800px) {
  .latest-news-card {
    margin-top: 1.5rem;
    margin-bottom: 3.0rem;
  }
  .not-in-small-screen {
    display: none;
  }
}


/* Latest News Cards Ende */






/* Hero Uwe (umfassendes Training) */


.umfassend-hero-overlay {
  position: relative;
  max-height: 300vh;;
  height: fit-content; 
  overflow: visible;
}

.umfassend-background {
  position: sticky;
  top: 0;
  height: 100vh;
  z-index: 1;
}

.umfassend-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 25% 10%;
}



.umfassend-overlay-content {
  position: relative;
  z-index: 2;
  margin-top: -100vh; /* startet direkt über dem Bild */
  padding-top: 10vh;
  padding-bottom: 10vh;
  color: white;
  /* background: rgba(0, 0, 0, 0.4); /* für Kontrast */
  /* backdrop-filter: blur(2px);     /* optionaler Weichzeichner */
}


.umfassend-overlay-content p {
  background-color: transparent;  /* kein eigener Hintergrund */
  padding: 0;                     /* kein Padding */
  margin-bottom: 0.5rem;          /* weniger Abstand */
  color: black;
}


.umfassend-overlay-content .lead.fw-bold {
  background-color: rgba(255, 255, 255, 0.95); /* heller und kräftiger */
  border-left: 5px solid #eea842;             /* optische Markierung */
  font-size: 1.35rem;
  padding: 1.2rem 1.5rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 1rem;
}

/* Gemeinsamer Blockstil für Lead + Folgeabsätze */
.umfassend-overlay-content .text-block {
  background-color: rgba(237, 237, 236, 0.85); /* wie title-overlay */
  border-radius: 8px;
  padding: 1rem 1.5rem;
  margin-bottom: 1.5rem;
  color: black;
}

/* Stil für <p class="lead"> innerhalb eines Blocks */
.umfassend-overlay-content .text-block .lead {
  font-weight: 600;
  font-size: 1.2rem;
}

.umfassend-overlay-content h1 {
    margin-left: clamp(1rem, 5vw, 20px);
    margin-right: clamp(1rem, 5vw, 20px);
}


.text-block-left {
  max-width: 38rem;
  margin-right: auto;
  margin-left: clamp(1rem, 5vw, 20px);
  text-align: left;
}

.text-block-right {
  max-width: 38rem;
  margin-left: auto;
  margin-right: clamp(1rem, 5vw, 20px);
  text-align: left; /* right; */
}

@media (max-width: 800px) {
  .text-block-left,
  .text-block-right {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 800px) {
  .kampfkunzen-section-header > h1 {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  .title-overlay-static {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Hero Uwe Ende */

/* training auswahl cards */

.card-img-top {
  object-fit: cover;
  height: 220px;
}


/* ausprobieren-1-2-3 */

  .step-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1rem;
    line-height: 1;
    flex-shrink: 0;
  }

/* Trainingsraum */

.trainingsraum-section {
  position: relative;
  height: 120vh;
  overflow: visible;
}

.trainingsraum-viewport {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  z-index: 0;
}

#trainingsraum-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  will-change: transform;
}

/* haben wir schon */

.hero-overlay-wrapper {
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 1;
  /* zusätzliche Stile wie Padding etc. */
}


/* ==================================== */
#trainingsraum {
  position: relative;
  width: 100vw;
  min-height: 620px; /* genug Platz für Text auf kleinen Screens */
  height: auto;       /* keine feste Höhe – passt sich an */
  overflow: visible;  /* Inhalt darf über die Box hinaus */
  padding-bottom: 3rem; /* Abstand zum unteren Rand */
}



#trainingsraum .image-viewport {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}




.hero-overlay-wrapper2 {
  position: relative;
  margin-left: clamp(1rem, 3vw, 40px);
  margin-right: clamp(1rem, 3vw, 40px);
  padding-top: clamp(20px, 15vh, 140px);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  z-index: 1;
}



@media (max-width: 768px) {
  .hero-overlay-wrapper2 {
    margin-left: auto;
    margin-right: auto;
    margin-top: 1.5rem;
    width: 90%;
  }
}


.trainingsraum-img {
  height: 220px;
  object-fit: cover;
  width: 100%;
  border-radius: 0.5rem;
  box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.15);
}



.hero-image2 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  
  /* Höhe automatisch basierend auf Aspect-Ratio */
  aspect-ratio: 16 / 9;

  /* Mindesthöhe, damit Text sicher reinpasst */
  min-height: 850px;

  /* Falls das Bild sehr hoch wäre – nicht übertreiben */
  max-height: 140vh;

  object-fit: cover;
  transform: translateY(0%);
  will-change: transform;
  transition: transform 0.1s linear;
}




.parallax-image-wrapper {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.parallax-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 140vh; /* größer für Parallax */
  object-fit: cover;
  object-position: center;
  z-index: -1; /* sichtbar machen! */
  transition: transform 0.1s;
  will-change: transform;
}

.sticky-content {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1; /* über dem Bild */
  padding: 2rem;
}

.content {
  background: rgba(0, 0, 0, 0.5);
  color: white;
  padding: 2rem;
  border-radius: 1rem;
}

/* Trainingsraum Ende */


/* Trainingsraum 2 */
.parallax-section {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.parallax-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 150%;
  overflow: hidden;
  z-index: 1;
}

.parallax-image-wrapper img {
  width: 100%;
  height: auto;
  position: absolute;
  top: 0; /* <<< neu */
  transform: translateY(0); /* Start: kein Versatz */
  will-change: transform;
}


.parallax-content {
  position: relative;
  z-index: 2;
  padding: 4rem 2rem;
  color: white;
  text-shadow: 0 2px 4px rgba(0,0,0,0.6);
}
/* Trainingsraum 2 Ende */


/* --- Trainingsraum Scroll-Fenster --- */
.trainingsraum-section {
  height: 160vh; /* genug Scrollfläche */
  position: relative;
}

.trainingsraum-viewport {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}

#trainingsraum-image {
  width: 100%;
  height: auto;
  transform: translateY(0px);
  will-change: transform;
  z-index: -1;
  position: relative;
}

#trainingsraum .hero-overlay-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  padding-top: clamp(20px, 15vh, 140px);
  margin-left: clamp(1rem, 3vw, 40px);
  margin-right: clamp(1rem, 3vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  z-index: 1;
}

/* Viewport und Overlays */
.hero-overlay-wrapper {
  position: absolute;
  top: 20px;
  left: 0;
  width: 100%;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 2vw;
  padding: 0 4vw;
  box-sizing: border-box;
  color: white;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.hero-overlay-wrapper.visible {
  opacity: 1;
  transform: translateY(0);
}
.hero-overlay-block {
  background-color: rgba(0, 0, 0, 0.6);
  padding: 2vw;
  border-radius: 1vw;
}
.hero-overlay-block.wide {
  flex: 2;
}
.hero-overlay-block.narrow {
  flex: 1;
}
.hero-overlay-block h1 {
  margin-top: 0;
  font-size: 2.5vw;
}
.hero-overlay-block p.lead {
  font-size: 1.2vw;
}
.hero-overlay-block ul {
  padding-left: 1.2em;
  font-size: 1vw;
}
.hero-overlay-block li + li {
  margin-top: 0.5em;
}
@media (max-width: 768px) {
  .hero-overlay-wrapper {
    flex-direction: column;
  }
  .hero-overlay-block h1 {
    font-size: 6vw;
  }
  .hero-overlay-block p,
  .hero-overlay-block ul {
    font-size: 4vw;
  }
}

/* GYM SECTION */

/* === GYM SECTION === */

.viewport  {
  background-color: var(--bg-light);
  background-repeat: no-repeat;
  background-position: center center;   
  background-size: cover;
  background-attachment: fixed;
  min-height: 85vh;
  max-height: 90vh;
  position: relative;
  /* Änderungen an den padding müssen auch an .viewport-overlay-wrapper top, left, right ausgeführt werden */
  padding-top: clamp(20px, 10%, 160px);
  padding-left: clamp(1rem, 3vw, 40px);
  padding-right: clamp(1rem, 3vw, 40px);
  /* dieses padding braucht es nicht in .viewport-overlay-manager */
  padding-bottom: clamp(20px, 10%, 160px);
 }

.gym-viewport {
    background-image: url("../img/Kampfkunstzentrum-2012-training_space.jpg");
}

.trainer-viewport {
    background-image: url("../img/trainer_uwe_lächelnd-1800x1200.jpg");
    background-position: center 30%;
}

.viewport-overlay-wrapper {
  position: sticky;
  /* Änderungen an top left, right müssen auch an den padding der Klasse .viewport aktualisiert werden */
  top: clamp(20px, 10%, 160px);
  left: clamp(1rem, 3vw, 40px);
  right: clamp(1rem, 3vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  z-index: 1;
}

    .viewport-overlay-block {
      background-color: var(--bg-text-overlay);
      padding: 1rem 1.5rem;
      border-radius: 8px;
      max-width: 46rem;
    }

    .viewport-overlay-block h1 {
      text-transform: uppercase;
      letter-spacing: 0.1em;
    }

      .viewport-overlay-block.wide {
        width: fit-content;
        max-width: 56rem;   /* bei uli-hero 46 rem */
      }

      .viewport-overlay-block.narrow {
        max-width: 36rem;   /* bei uli-hero 32rem */
      }


  .viewport-zusatz {
    background-color: var(--bg-light);
    padding-block: 3rem;
  }

  /*
    .viewport-zusatz .zusatz-grid {
      display: flex;
      flex-wrap: wrap;
      gap: 2rem;
      justify-content: center;
    }
  */
    .viewport-zusatz  .zusatz-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 2rem;
    }

@media (min-width: 768px) and (max-width: 991.98px) {
  .zusatz-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .zusatz-grid>.grid-block:last-child {
    grid-column: 1 / -1;
    /* Nimmt die ganze Zeile ein */
    justify-self: center;
    /* Zentriert sich in der Zeile */
    max-width: 320px;
    /* Optional: Breite begrenzen */
  }
}

    .viewport-zusatz > .container {
      margin-top: 5rem;
      margin-bottom: 5rem;
    }

/* Trainingsraum-Zusatz wie News Cards */
.grid-block {
  flex: 1 1 300px;
  max-width: 350px;
  min-width: 250px;
  display: flex;
  flex-direction: column;
  background-color: #fff;
  border: none;
  border-radius: 0.5rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  transition: transform 0.2s;
}

/* .viewport-zusatz .grid-block:hover {
  transform: translateY(-4px);
} */

.grid-block img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 1px solid #eee;
}

.grid-block h3 {
  font-size: 1.25rem;
  margin: 1rem 0 0.5rem;
}

.grid-block p {
  padding: 0 1rem 1rem;
  font-size: 1rem;
  color: #333;
}

/* ergänzt 20.07.2025 */

.viewport-image-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 25% center;
  z-index: -1;
}

#cheftrainer-overlay-block {
  margin-left: 38%;
}

#cheftrainer-overlay-block-small {
  margin-left: 42%;
}

/* Optional: mobil Fokus etwas zentrierter */
@media (max-width: 768px) {
  .viewport-image-img {
    object-position: 30% center;
  }
}


/* ende Ergänzung 20.07.2025 */



.uli-card {
  background-color: #f5f5f5;
  border-radius: 1rem;
  overflow: hidden;
  position: relative;
}

.uli-image {
  position: relative;
}

.uli-image img {
  object-position: left center;
  max-height: 600px;
  object-fit: cover;
  display: block;
}

/* Sanfter Verlauf: oben, links, rechts */
.uli-fade-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background:
    linear-gradient(to right, #f5f5f5 0%, transparent 15%),
    linear-gradient(to bottom, #f5f5f5 0%, transparent 20%),
    linear-gradient(to left, #f5f5f5 0%, transparent 15%);
  z-index: 1;
}

.uli-text {
  background-color: #f5f5f5;
  position: relative;
  z-index: 2;
  margin-left: -150px;
  width: calc(100% + 150px);
  box-sizing: border-box;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

@media (max-width: 991.98px) {
  .uli-card {
    flex-direction: column;
  }

  .uli-text {
    margin-left: 0;
    width: 100%;
  }

  .uli-image img {
    max-height: none;
  }
}

.uli-zitat {
  max-width: 800px;
  background: #f8f9fa;
  border-left: 6px solid #adb5bd;
  border-radius: 0.75rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
}

/* --- Footer --- */

.site-footer {
  font-size: 0.95rem;
  background-color: #222;
  color: #eee;
}

.site-footer a {
  color: #ddd;
  text-decoration: none;
}

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


.cta-button {
  display: inline-block;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  background-color: #198754;
  /* Bootstrap Success-Grün */
  border: none;
  border-radius: 0.375rem;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.2s ease;
  margin-top: auto;
}

.cta-button:hover {
  background-color: #157347;
}

/* Größerer CTA-Button – wie .btn-lg */
.cta-button.cta-button-lg {
  font-size: 1.25rem;
  padding: 0.75rem 1.5rem;
}

/* Großer Schatten – wie .shadow-lg */
.cta-button.cta-shadow {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.cta-button.cta-shadow:hover {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.25);
}

.cta-button.cta-light {
  background-color: transparent;
  color: #198754;
  border: 2px solid #198754;
}

.cta-button.cta-light:hover {
  background-color: #198754;
  color: #fff;
}

/* Horizontales Scrollen für mobile News-Karten */
.scroll-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 1rem; 
  scroll-behavior: smooth;
}

.scroll-wrapper::-webkit-scrollbar {
  display: none;
}

.scroll-wrapper .card {
  flex-shrink: 0;
  min-width: 260px;
  max-width: 300px;
  scroll-snap-align: start;
  border-radius: 0.75rem;
  box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.1);
}

.scroll-arrow,
.carousel-arrow {
  position: absolute;
  top: 40%;
  z-index: 5;
  background-color: rgba(255, 255, 255, 0.8);
  border: none;
  border-radius: 50%;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0.2rem 0.5rem rgba(0, 0, 0, 0.2);
  cursor: pointer;
  font-size: 1.5rem;
}

.carousel-arrow.left,
.left-arrow {
  left: 0.5rem;
}

.carousel-arrow.right,
.right-arrow {
  right: 0.5rem;
}

.scroll-arrow i {
  font-size: 1.2rem;
  color: #333;
}

.carousel-arrow:hover {
  background: rgba(255, 255, 255, 1);
}

.carousel-arrow span {
  display: block;
  line-height: 2.5rem;
  text-align: center;
  color: #333;
}

.scroll-snap-x {
  scroll-snap-type: x mandatory;
}

.scroll-snap-x>* {
  scroll-snap-align: start;
}


/* Nur bei kleinen Bildschirmen anzeigen */
@media (min-width: 768px) {
  .scroll-arrow {
    display: none;
  }
}

/*
  NAVBAR PURE
  ===========

  Button im Hauptmenü: .probetraining-btn
  Button im Dropdown:  .probetraining-btn-inline
*/

        * {
          box-sizing: border-box;
        }
    
        header {
          background: var(--bg-kampfkunzen-navbar);
          padding: 0.5rem 1rem;
          position: relative;
          z-index: 1000;
        }
  

        .navbar {
          display: flex;
          justify-content: space-between;
          align-items: center;
          max-width: 100%;
          overflow: hidden;
          padding-right: 1rem;
        }
    
        .logo-group {
          display: flex;
          align-items: center;
        }
    
        .logo-square {
          height: 40px;
        }
    
        .logo-wide {
          height: clamp(40px, 10vh, 10cm);
          display: none;
          min-width: 150px;
        }
    
        .logo-text {
          font-family: 'Bebas Neue', sans-serif;
          font-size: 1.5rem;
          margin-left: 0.5rem;
          white-space: nowrap;
          color: whitesmoke;
        }
    
        .logo-text-kurz {
          display: none;
        }

        .icn-zielscheibe {
          color:red;
          font-size: 2rem;;
        }
    
        .burger {
          background: none;
          border: none;
          color: white;
          font-size: 1.5rem;
          cursor: pointer;
          z-index: 1001;
        }
    
        .probetraining-btn {
          font-size: 1rem;
          padding: 0.35rem 1.4rem;
          background-color: #198754;
          color: white;
          border: none;
          padding: 0.4rem 2rem;
          font-size: 1.2rem;
          font-weight: bold;
          border-radius: 0.375rem;
          cursor: pointer;
          margin-left: auto;
          display: inline-flex;
          align-items: center;
          gap: 0.5rem;
          transition: all 0.3s ease;
          box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.2);
          text-decoration: none;
        }
    
        .probetraining-btn:hover {
          background-color: #157347;
          transform: scale(1.03);
          box-shadow: 0 0 0.7rem rgba(0, 0, 0, 0.3);
        }
/*    
        nav.menu {
          position: absolute;
          top: 100%;
          left: 0;
          width: 100%;
          background: #222;
          display: none;
          flex-direction: column;
        }
*/    
        nav.menu a {
          padding: 1rem;
          color: whitesmoke;
          text-decoration: none;
          border-top: 1px solid var(--bg-kampfkunzen-menuopenhover);
          transition: all 0.3s ease;
        }

        nav.menu a.active {
          position: relative;
          background: none;
          font-weight: bold;
        }


            @media (min-width: 768px) {
              nav.menu a.active::after {
                content: "";
                position: absolute;
                left: 10%;
                right: 10%;
                bottom: 0.35em;
                height: 3px;
                background: linear-gradient(to right, transparent, #fceabb, transparent);
                border-radius: 2px;
              }
            }
            @media (max-width: 767px) {
              nav.menu a.active {
                padding-left: 1.5rem;
                color: #fff;
              }

              nav.menu a.active::before {
                content: "";
                position: absolute;
                left: 0.5rem;
                top: 50%;
                transform: translateY(-50%);
                width: 4px;
                height: 60%;
                background-color: #fceabb;
                /* Goldgelber Marker */
                border-radius: 2px;
              }
            }
                
        nav.menu a:hover {
          background: #03030330;
          border-radius: 50px;
        }

            @media( max-width: 767px) {
                nav.menu a:hover {
                  border-radius: 0;
                }
            }
/*    
        nav.menu.open {
          display: flex;
          flex-direction: column;
          position: absolute;   
          top: 100%;            
          right: 0;
          width: clamp(15rem, 38vw, 38vw);
          z-index: 1100;    
          background-color: var(--bg-kampfkunzen-menuopen);
          box-shadow: 0 0 1rem rgba(0, 0, 0, 0.1);
          border-bottom-right-radius: 1rem;
        }
*/
        nav.menu.open a {
          color: rgb(243, 242, 242);
          text-decoration: none;
          padding: 0.75rem 1rem;
          display: block;
        }

        nav.menu.open a:hover {
          background-color: var(--bg-kampfkunzen-menuopenhover);
        }
    
        @media (min-width: 768px) {
    
          .logo-square,
          .logo-text,
          .logo-text-kurz {
            display: none;
          }
    
          .logo-wide {
            display: inline-block;
          }
    
          .burger {
            display: none;
          }
    
          .navbar {
            align-items: center;
          }
    
          nav.menu {
            position: static;
            display: flex !important;
            flex-direction: row;
            flex-wrap: wrap;
            justify-content:  center; /* flex-end; */
            flex-grow: 1;
            gap: 0.5rem;
            background: none;
          }
    
          nav.menu a {
            border: none;
            padding: 0.5rem 1rem;
            font-size: 1rem;
          }
        }
    
        @media (min-width: 1000px) {
          nav.menu a {
            font-size: 1.15rem;
            padding: 0.75rem 1.25rem;
          }
    
          .probetraining-btn {
            font-size: 1rem;
            padding: 0.35rem 1.4rem;
            font-size: 1.35rem;
            padding: 0.5rem 2.5rem;
          }
        }
    
        @media (min-width: 1150px) {
          nav.menu a {
            font-size: 1.25rem;
            padding: 0.8rem 1.4rem;
          }
    
          .probetraining-btn {
            font-size: 1rem;
            padding: 0.35rem 1.4rem;
            font-size: 1.5rem;
            padding: 0.55rem 2.8rem;
          }
        }
    
        @media (min-width: 1300px) {
          nav.menu a {
            font-size: 1.35rem;
            padding: 0.9rem 1.6rem;
          }
    
          .probetraining-btn {
            font-size: 1rem;
            padding: 0.35rem 1.4rem;
            font-size: 1.6rem;
            padding: 0.6rem 3rem;
          }
        }
    
        @media (min-width: 1450px) {
          nav.menu a {
            font-size: 1.45rem;
            padding: 1rem 1.8rem;
          }
    
          .probetraining-btn {
            font-size: 1rem;
            padding: 0.35rem 1.4rem;
            font-size: 1.7rem;
            padding: 0.65rem 3.2rem;
          }
        }
    
        @media (max-width: 429px) {
          .probetraining-btn {
            font-size: 1rem;
            padding: 0.35rem 1.4rem;
            display: none;
          }
        }
    
        @media (max-width: 286px) {
          .logo-text {
            display: none;
          }
    
          .logo-text-kurz {
            display: inline-block;
          }
        }
    
        @media (max-width: 175px) {
    
          .logo-square,
          .logo-text,
          .logo-text-kurz {
            display: none !important;
          }
        }
    
        @media (max-width: 499px) {
          .probetraining-btn {
            font-size: 0.9rem;
            padding: 0.3rem 1.2rem;
          }
    
          .probetraining-btn .btn-text {
            display: none;
          }
    
          .probetraining-btn::after {
            content: "Kostenlos testen!";
          }
        }
    
    
        @media (max-width: 767px) {
          .navbar {
            align-items: center;
          }
    
          .probetraining-btn {
            align-self: center;
          }
        }
    
    
        .probetraining-btn-inline {
          display: none !important;
          margin: 1rem auto;
          font-size: 1.2rem;
          padding: 0.6rem 2rem;
          justify-content: center;
        }
    
        @media (max-width: 429px) {
          .probetraining-btn-inline {
            display: inline-flex !important;
          }
    
          .navbar .probetraining-btn {
            display: none;
          }
        }
    
        @media (max-width: 499px) {
          .navbar .probetraining-btn {
            font-size: 0.9rem;
            padding: 0.3rem 1.2rem;
          }
    
          .navbar .probetraining-btn .btn-text {
            display: none;
          }
    
          .navbar .probetraining-btn::after {
            content: "Testen!";
          }
        }
    
        @media (max-width: 259px) {
          .navbar .probetraining-btn {
            display: none !important;
          }
        }
    
    
        @media (max-width: 249px) {
          .probetraining-btn-inline .btn-text {
            display: none;
          }
    
          .probetraining-btn-inline::after {
            content: "Testen!";
          }
        }

/* End of Navbar Pure */

/* Burger soll bei xs und sm fixed sein */

@media (max-width: 767px) {
  .burger {
    position: fixed;
    top: 0.75rem;
    right: 1rem;
    z-index: 2000;
    font-size: 1.6rem;
    background-color: transparent;
    /* oder rgba(0,0,0,0.6) */
    padding: 0.25rem 0.75rem;
    border-radius: 0.25rem;
  }
}

@media (max-width: 767px) {
  .burger {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 2000;
    font-size: 2rem;
    color: #111;
    /* dunkelgrau / fast schwarz */
    background-color: rgba(255, 255, 255, 0.92);
    padding: 0.5rem 0.9rem;
    border-radius: 0.4rem;
    box-shadow: 0 0 0.6rem rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(4px);
    transition: background-color 0.3s, color 0.3s;
  }

  .burger:hover {
    background-color: #fceabb;
    /* freundliches Beige aus deiner Farbwelt */
    color: #000;
    cursor: pointer;
  }
}



  @media (max-width: 767px) {
      nav.menu {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: clamp(16rem, 75vw, 22rem);
        background-color: var(--bg-kampfkunzen-menuopen, #111);
        z-index: 1100;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
        display: flex;
        flex-direction: column;
        opacity: 0;
        pointer-events: none;
      }
  
      nav.menu.open {
        transform: translateX(0);
        opacity: 1;
        pointer-events: auto;
      }
    }

/* end of burger fixed */
