.mobile-site-menu[hidden]{display:none!important}
.mobile-site-menu{display:none}
.mobile-menu-button{display:none}

@media(min-width:861px){
  body>header,
  body>.site-header{column-gap:clamp(18px,2vw,32px)!important}
  body>header>nav.links,
  body>.site-header>.main-nav{
    position:absolute!important;
    left:50%!important;
    margin:0!important;
    transform:translateX(-50%)!important;
  }
  body>header>.theme-toggle,
  body>.site-header>.theme-toggle{margin-left:auto!important}
  body>header>.theme-toggle+.nav-cta,
  body>.site-header>.theme-toggle+.header-cta,
  body>header .theme-toggle+.whatsapp-contact,
  body>.site-header>.theme-toggle+.whatsapp-contact{margin-left:0!important}
}

@media(min-width:861px) and (max-width:1180px){
  body>header>nav.links,
  body>.site-header>.main-nav{gap:clamp(12px,1.6vw,18px)!important}
  body>header :is(.nav-cta,.header-cta),
  body>.site-header :is(.nav-cta,.header-cta){
    min-width:104px!important;
    padding-inline:14px!important;
    font-size:0!important;
  }
  body>header :is(.nav-cta,.header-cta)::after,
  body>.site-header :is(.nav-cta,.header-cta)::after{
    content:"Anfragen";
    font-size:11px;
  }
  body>header .nav-cta .eqbars{display:none!important}
}

@media(max-width:860px){
  /* Verbindliche Reihenfolge auf Mobile und Tablet: Marke | Anfrage | Menü. Das Menü bleibt immer ganz rechts. */
  :root{--pad:var(--mobile-gutter)!important}
  body{font-size:var(--ra-text-base)}
  body.mobile-menu-open{overflow:hidden!important}

  body>header,
  body>.site-header{
    position:fixed!important;
    inset:0 0 auto!important;
    z-index:900!important;
    min-height:var(--ra-header-height-mobile)!important;
    height:var(--ra-header-height-mobile)!important;
    display:grid!important;
    grid-template-columns:minmax(0,1fr) auto auto!important;
    align-items:center!important;
    gap:var(--ra-space-2)!important;
    padding:var(--ra-space-3) var(--mobile-gutter)!important;
    border-bottom:1px solid var(--site-line)!important;
    background:color-mix(in srgb,var(--site-bg) 90%,transparent)!important;
    color:var(--site-ink)!important;
    backdrop-filter:blur(18px) saturate(1.15)!important;
    -webkit-backdrop-filter:blur(18px) saturate(1.15)!important;
  }

  body>header .brand,
  body>.site-header .brand{
    grid-column:1!important;
    grid-row:1!important;
    min-width:0!important;
    min-height:var(--ra-icon-control-size)!important;
    display:inline-flex!important;
    align-items:center!important;
    font-size:24px!important;
    line-height:1!important;
    color:var(--site-ink)!important;
  }

  body>header .brand :is(.ad,span),
  body>.site-header .brand :is(.ad,span){color:var(--site-accent)!important}

  body>header :is(.links,.main-nav,.burger,.menu-button),
  body>.site-header :is(.links,.main-nav,.burger,.menu-button),
  #mnav{display:none!important}

  body>header .nav-right{display:contents!important}
  body>header :is(.nav-cta,.header-cta),
  body>.site-header :is(.nav-cta,.header-cta){
    grid-column:2!important;
    min-width:0!important;
    min-height:var(--ra-icon-control-size)!important;
    height:var(--ra-icon-control-size)!important;
    max-width:108px!important;
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    margin:0!important;
    padding:var(--ra-space-2) var(--ra-space-4)!important;
    border:0!important;
    border-radius:var(--ra-radius-pill)!important;
    background:var(--site-accent)!important;
    color:var(--site-on-accent)!important;
    font-size:12px!important;
    font-weight:900!important;
    line-height:1!important;
    letter-spacing:.035em!important;
    text-transform:uppercase!important;
    white-space:nowrap!important;
  }

  body>header :is(.nav-cta,.header-cta) .eqbars{display:none!important}

  body>header .whatsapp-contact,
  body>.site-header .whatsapp-contact{
    grid-column:2!important;
    grid-row:1!important;
    min-width:0!important;
    max-width:108px!important;
    margin:0!important;
    position:relative!important;
    inset:auto!important;
  }

  body>header .whatsapp-contact__trigger,
  body>.site-header .whatsapp-contact__trigger{
    width:100%!important;
    min-height:var(--ra-icon-control-size)!important;
    height:var(--ra-icon-control-size)!important;
    padding:var(--ra-space-2) var(--ra-space-4)!important;
    box-shadow:none!important;
    white-space:nowrap!important;
  }

  .mobile-menu-button{
    grid-column:3;
    grid-row:1;
    width:var(--ra-icon-control-size);
    height:var(--ra-icon-control-size);
    display:grid;
    place-items:center;
    margin:0;
    padding:0;
    border:1px solid var(--site-line);
    border-radius:50%;
    background:transparent;
    color:var(--site-ink);
    cursor:pointer;
  }
  .mobile-menu-button svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}

  .mobile-site-menu{
    position:fixed;
    inset:0;
    z-index:1000;
    display:grid;
    grid-template-rows:var(--ra-header-height-mobile) minmax(0,1fr) auto;
    padding:0 var(--mobile-gutter) max(20px,env(safe-area-inset-bottom));
    overflow-y:auto;
    background:var(--site-bg);
    color:var(--site-ink);
  }
  .mobile-site-menu__top{
    display:flex;
    align-items:center;
    justify-content:space-between;
    border-bottom:1px solid var(--site-line);
  }
  .mobile-site-menu__brand{font-family:var(--ra-font-display);font-size:24px;line-height:1;text-transform:uppercase}
  .mobile-site-menu__brand span{color:var(--site-accent)}
  .mobile-site-menu__close{
    width:var(--ra-icon-control-size);height:var(--ra-icon-control-size);display:grid;place-items:center;border:1px solid var(--site-line);border-radius:50%;background:transparent;color:inherit;cursor:pointer
  }
  .mobile-site-menu__close svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
  .mobile-site-menu__nav{
    display:flex;
    flex-direction:column;
    justify-content:center;
    padding:var(--ra-space-6) 0;
  }
  .mobile-site-menu__nav a{
    width:max-content;
    max-width:100%;
    padding:.13em 0;
    color:var(--site-ink);
    font-family:var(--ra-font-display);
    font-size:clamp(2.7rem,12vw,4.5rem);
    line-height:1;
    text-transform:uppercase;
  }
  .mobile-site-menu__nav a[aria-current="page"]{color:var(--site-accent)}
  .mobile-site-menu__nav a[aria-current="page"]::after{content:"";display:inline-block;width:.55em;height:.11em;margin-left:.2em;background:currentColor;vertical-align:.18em}
  .mobile-site-menu__foot{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:center;padding-top:18px;border-top:1px solid var(--site-line)}
  .mobile-site-menu__foot .theme-toggle{position:static!important;width:var(--ra-control-height)!important;height:var(--ra-control-height)!important;margin:0!important;display:grid!important;place-items:center!important}
  .mobile-site-menu__cta{min-height:var(--ra-control-height);display:inline-flex;align-items:center;justify-content:center;border-radius:var(--ra-radius-pill);background:var(--site-accent);color:var(--site-on-accent);font-size:var(--ra-text-xs);font-weight:900;letter-spacing:.04em;text-transform:uppercase}
  /*
    Ein mobiles Seitenraster für alle Seitentypen. Nur echte Vollbild-Heros
    führen ihren Abstand selbst; verschachtelte Sektionen werden nicht ein
    zweites Mal eingerückt.
  */
  main>section:not(.video-hero):not(.hero):not(.course-hero),
  main>aside.trust-strip{
    padding-inline:var(--mobile-gutter)!important;
  }
  body>footer,
  body>.site-footer,
  body>.footer-new{
    padding-inline:var(--mobile-gutter)!important;
  }
  main>section:not(.course-hero)>*,
  main>aside.trust-strip>*,
  body>footer>*{
    min-width:0;
    max-width:100%;
  }
  .section{padding:var(--ra-header-height-mobile) var(--mobile-gutter)!important}
  .section-inner{width:100%!important}
  .hero{padding-inline:var(--mobile-gutter)!important}
  .hero h1{
    max-width:100%!important;
    font-size:clamp(3.6rem,16vw,5.7rem)!important;
    overflow-wrap:normal!important;
    hyphens:auto;
  }
  .inquiry-hero h1{
    max-width:100%!important;
    font-size:clamp(3.05rem,14vw,4.7rem)!important;
    overflow-wrap:anywhere!important;
  }
  .course-hero{padding-top:var(--ra-header-height-mobile)}
  .course-hero .hero-copy{padding:60px var(--mobile-gutter) 44px!important}
  .course-hero .hero-media{width:calc(100% - (2 * var(--mobile-gutter)))!important;max-width:none!important;margin:0 var(--mobile-gutter) 28px!important;min-height:52svh!important;border-radius:0!important}
  .course-hero .hero-copy h1{max-width:100%!important;font-size:clamp(4rem,17vw,6.3rem)!important;hyphens:auto;overflow-wrap:normal}
  .course-hero .hero-copy h1.is-long-title{font-size:clamp(3.25rem,12vw,4.8rem)!important;line-height:.92}

  .hero-card{display:none!important}
  .actions{gap:var(--ra-space-5)!important}
  .actions .btn{min-height:50px}

  .program-card,
  .location-offer{
    min-height:0!important;
    padding:26px 0!important;
    border:0!important;
    border-top:1px solid var(--site-line)!important;
    border-radius:0!important;
    background:transparent!important;
  }
  .program-grid,.location-offer-grid{gap:0!important}
  .program-grid>:last-child,.location-offer-grid>:last-child{border-bottom:1px solid var(--site-line)!important}
  .location-contact-card{display:none!important}
  .location-contact{display:block!important}
  .location-page-badge{display:none!important}
  .location-page-visual{border-radius:0!important}

  .inquiry-card{
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    background:transparent!important;
    box-shadow:none!important;
  }
  .inquiry-flow{background:var(--site-bg-2)!important}
  .inquiry-card :is(.choice span,.field input,.field select,.field textarea,.schedule-choice span){border-radius:var(--ra-radius-small)!important}
  .inquiry-card .step-actions{margin-inline:0!important;padding-inline:0!important;background:linear-gradient(to top,var(--site-bg-2) 72%,transparent)!important}

  .mobile-cta{padding-inline:var(--mobile-gutter)!important;background:color-mix(in srgb,var(--site-bg-2) 94%,transparent)!important;color:var(--site-ink)!important;border-top:1px solid var(--site-line);box-shadow:none!important}
  .mobile-cta>span{min-width:0;max-width:58vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .mobile-cta .button{white-space:nowrap;background:var(--site-accent)!important;color:var(--site-on-accent)!important}

  /* Scrollende Stimmen starten optisch am selben 20-Pixel-Raster. */
  .reviews .review-summary{margin-inline:0!important}
  .reviews .review-rail{
    width:calc(100% + (2 * var(--mobile-gutter)))!important;
    max-width:none!important;
    margin-inline:calc(var(--mobile-gutter) * -1)!important;
    padding-inline:var(--mobile-gutter)!important;
  }
  .coaches .coach-carousel{max-width:none!important}

  html[data-theme="light"] :is(.programs-section,.final-cta){background:var(--site-bg-2)!important;color:var(--site-ink)!important}
  html[data-theme="light"] :is(.programs-section,.final-cta) p{color:var(--site-muted)!important}
  html[data-theme="light"] :is(.schedule-slot,.program-card){border-color:var(--site-line)!important;background:transparent!important;color:var(--site-ink)!important}
  html[data-theme="light"] :is(.schedule-slot,.program-card) :is(small,em,p){color:var(--site-muted)!important}
  html[data-theme="light"] .program-card .button.secondary{color:var(--site-accent)!important}

}

@media(max-width:360px){
  :root{--mobile-gutter:16px}
  body>header,body>.site-header{gap:4px!important}
  body>header .brand,body>.site-header .brand,.mobile-site-menu__brand{font-size:20px!important}
  body>header :is(.nav-cta,.header-cta),body>.site-header :is(.nav-cta,.header-cta),body>header .whatsapp-contact__trigger,body>.site-header .whatsapp-contact__trigger{padding-inline:9px!important;font-size:10px!important}
}

@media(max-width:430px){
  body>header,
  body>.site-header{
    grid-template-columns:minmax(0,1fr) 104px 40px!important;
    gap:6px!important;
    padding-inline:16px!important;
  }
  body>header .whatsapp-contact,
  body>.site-header .whatsapp-contact{max-width:104px!important}
  body>header .whatsapp-contact__trigger,
  body>.site-header .whatsapp-contact__trigger{
    gap:5px!important;
    padding-inline:10px!important;
    font-size:9.5px!important;
  }
  body>header .whatsapp-contact__trigger svg,
  body>.site-header .whatsapp-contact__trigger svg{display:block!important;width:24px!important;height:24px!important;flex:0 0 24px!important}
}

@media(prefers-reduced-motion:reduce){
  .mobile-site-menu{scroll-behavior:auto}
}
