/* Eigene Korrekturen für alle Seiten – wird nach dem Webflow-CSS geladen.
   Das Webflow-CSS (kmcf.webflow.shared.css) selbst nicht bearbeiten. */

/* Navigation ist in Webflow 100vw breit. 100vw schließt eine sichtbare Scrollleiste ein (Mac mit Maus,
   Windows), dadurch war die Seite um die Breite der Scrollleiste zu breit -> horizontaler Scroll auf
   Impressum, Datenschutz und Blog (Start/Landingpages haben einen Wrapper, der das abschneidet). */
.navbar {
  max-width: 100%;
}

/* --- Kontaktformular: Erfolgs- und Fehlermeldung ------------------------------- */
.success-message .form-done { text-align: left; }
.form-done-title {
  margin: 0 0 12px;
  font-family: Oswald Custom, sans-serif;
  font-size: 24px;
  line-height: 30px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.form-done-text { margin: 0 0 10px; font-size: 16px; line-height: 25px; }
.form-done-text:last-child { margin-bottom: 0; }
.form-done a,
.form-fail a { color: inherit; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.form-fail { text-transform: none; letter-spacing: 0; font-size: 15px; }
@media screen and (max-width: 767px) {
  .success-message .form-done { padding-left: 20px; padding-right: 20px; }
  .form-done-title { font-size: 21px; line-height: 27px; }
}

/* --- Handy: fixe Leiste "Gratis Probetraining" ---------------------------------- */
/* Erscheint nach dem ersten Bildschirm, verschwindet beim Formular, im Footer und solange
   der Cookie-Banner offen ist. Der WhatsApp-Button sitzt rechts in der Leiste. */
.mobile-cta { display: none; }
@media screen and (max-width: 767px) {
  .mobile-cta {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    padding: .5rem calc(4rem + 1rem) calc(.5rem + env(safe-area-inset-bottom)) .5rem;
    background: #000;
    border-top: 3px solid var(--red);
    transform: translateY(110%);
    visibility: hidden; /* ausgeblendet auch nicht per Tastatur/Screenreader erreichbar */
    transition: transform .3s ease, visibility 0s linear .3s;
  }
  .mobile-cta.is-visible { transform: none; visibility: visible; transition: transform .3s ease; }
  .mobile-cta[hidden] { display: none; }
  .mobile-cta-button {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 4rem;
    background: var(--red);
    color: #fff;
    font-family: Oswald Custom, sans-serif;
    font-size: 17px;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
  }
}

/* --- 404-Seite ------------------------------------------------------------------ */
.not-found ul { margin-bottom: 0; }
.not-found-buttons { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 32px; }
.not-found-buttons .button { margin: 0; }

/* --- Google-Bewertungen: Badge (Hero + über dem Formular) --------------------- */
.g-badge {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
  padding: 12px 20px 12px 14px;
  background: rgba(10, 10, 10, .72);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 14px;
  color: #fff;
}
/* Im Hero immer in eigener Zeile unter dem Button (manche Hero-Spalten sind normale Blöcke) */
#start .g-badge { display: flex; width: fit-content; margin-top: 24px; }
.g-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.g-logo { flex: none; width: 36px; height: 36px; }
.g-badge-text { display: flex; flex-direction: column; gap: 2px; }
.g-badge-count { font-family: Lato Custom, sans-serif; font-size: 17px; line-height: 22px; }
.g-badge-rating { display: flex; align-items: center; gap: 8px; }
.g-badge-score { font-family: Lato Custom, sans-serif; font-size: 20px; line-height: 24px; font-weight: 700; }
.g-stars { display: block; width: 100px; height: 20px; fill: #FBBC05; }
.free-pass-cta-section .g-badge { margin: 0 0 24px; }

/* --- Google-Bewertungen: Bereich vor dem Formular ------------------------------- */
.g-reviews .container { max-width: 1240px; }
.g-reviews, .g-badge, .g-summary { letter-spacing: normal; text-align: left; }
.g-reviews-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 40px;
  margin-bottom: 40px;
}
.g-reviews-title { margin-bottom: 0; }
.g-summary {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 14px 22px 14px 16px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .1);
  color: #111;
}
.g-summary .g-logo { width: 40px; height: 40px; }
.g-summary-score { font-family: Oswald Custom, sans-serif; font-size: 44px; line-height: 1; }
.g-summary-text { display: flex; flex-direction: column; gap: 4px; font-family: Lato Custom, sans-serif; font-size: 15px; line-height: 20px; color: #444; }
.g-reviews-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: start; }
.g-col { display: flex; flex-direction: column; gap: 24px; }
.g-review {
  margin: 0;
  padding: 28px 28px 24px;
  background: #fff;
  border-top: 4px solid var(--red);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .08);
}
.g-review-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.g-review-top .g-logo { width: 22px; height: 22px; }
.g-review-text { max-width: none; margin: 0; padding: 0; border: 0; letter-spacing: normal; font-family: Lato Custom, sans-serif; font-size: 16px; line-height: 26px; color: #222; font-style: normal; }
.g-review-text p { margin: 0 0 12px; }
.g-review-text p:last-child { margin-bottom: 0; }
.g-review-name {
  display: flex;
  flex-direction: column;
  margin-top: 18px;
  text-align: left;
  font-family: Oswald Custom, sans-serif;
  font-size: 17px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #111;
}
.g-review-name span { font-family: Lato Custom, sans-serif; font-size: 13px; letter-spacing: 0; text-transform: none; color: #777; }
.g-review-cta { background: #0d0d0d; color: #fff; }
.g-review-cta-title { margin: 0 0 8px; font-family: Oswald Custom, sans-serif; font-size: 28px; line-height: 34px; text-transform: uppercase; }
.g-review-cta-text { margin: 0; font-family: Lato Custom, sans-serif; font-size: 16px; line-height: 25px; color: rgba(255, 255, 255, .8); }
.g-review-cta .button { display: inline-block; margin: 20px 0 4px; }

@media screen and (max-width: 991px) {
  .g-reviews-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .g-col:nth-child(3) { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; align-items: start; }
}
@media screen and (max-width: 767px) {
  .g-badge { gap: 12px; padding: 10px 16px 10px 12px; }
  .g-logo { width: 30px; height: 30px; }
  .g-badge-count { font-size: 15px; line-height: 20px; }
  .g-reviews-head { margin-bottom: 24px; }
  .g-summary-score { font-size: 36px; }
  /* Handy: Karten nebeneinander zum Wischen */
  .g-col, .g-col:nth-child(3) { display: contents; }
  .g-reviews-list {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    align-items: flex-start;
    margin: 0 -3vw;
    padding: 4px 3vw 18px;
    scrollbar-width: none;
  }
  .g-reviews-list::-webkit-scrollbar { display: none; }
  .g-review { flex: 0 0 84%; margin: 0; scroll-snap-align: center; padding: 24px 22px 20px; }
  .g-review-cta { display: flex; flex-direction: column; justify-content: center; }
}

/* --- Buttons: weicher Farbwechsel beim Hover (Webflow: 0,2 s, wirkte abrupt) ------- */
.button,
.button-secondary {
  transition: border-color .35s ease, background-color .35s ease, color .35s ease;
}
