/* Version 1.2.6: a single, consistent, scoped design system. */
:root{--atcdp-ink:#173d5a;--atcdp-blue:#176aa5;--atcdp-bg:#f2f7fa;--atcdp-border:#d8e6ef}
body.atcdp-unified-header #atcdp-global-header.atcdp-header-active,
body.atcdp-unified-header #atcdp-global-header.atcdp-header-active *{font-family:system-ui,-apple-system,'Segoe UI',Arial,sans-serif!important;font-stretch:normal!important}
body.atcdp-unified-header #atcdp-global-navigation :is(a,.atcdp-global-group-link,button,summary){letter-spacing:0!important;text-transform:none!important}
body.atcdp-unified-header #atcdp-global-navigation>a,
body.atcdp-unified-header #atcdp-global-navigation>.atcdp-global-split>a{color:var(--atcdp-ink)!important}
body.atcdp-unified-header #atcdp-global-navigation .atcdp-global-dropdown a{color:var(--atcdp-ink)!important}
body.atcdp-unified-header #atcdp-global-navigation .atcdp-global-dropdown a:hover{color:var(--atcdp-blue)!important}
body.atcdp-unified-header #atcdp-global-navigation .atcdp-global-cta{color:white!important}
@media not all and (min-width:1200px){
 body.atcdp-unified-header #atcdp-global-navigation>.atcdp-global-link,
 body.atcdp-unified-header #atcdp-global-navigation>.atcdp-global-split>.atcdp-global-group-link,
 body.atcdp-unified-header #atcdp-global-navigation>.atcdp-global-group>summary{
  font-size:16px!important;font-weight:600!important;line-height:1.5!important;min-height:50px!important;
  text-align:left!important;justify-content:flex-start!important;align-items:center!important;
 }
 body.atcdp-unified-header #atcdp-global-navigation>.atcdp-global-split>.atcdp-global-subtoggle{min-height:50px!important}
 body.atcdp-unified-header #atcdp-global-navigation .atcdp-global-dropdown a{font-size:15px!important;line-height:1.5!important;min-height:44px!important}
 body.atcdp-unified-header #atcdp-global-navigation .atcdp-global-cta{
  background:#e8f3fa!important;border:0!important;border-bottom:3px solid #2478aa!important;
  color:#145b87!important;justify-content:flex-start!important;max-width:100%!important;
 }
}
/* The original contact form stays functional; no parent grid must split labels from inputs. */
body.atcdp-contact-page #atcdp-existing-contact-form,
body.atcdp-contact-page #atcdp-existing-contact-form *{box-sizing:border-box!important}
body.atcdp-contact-page #atcdp-existing-contact-form form,
body.atcdp-contact-page #atcdp-existing-contact-form :is(.wpforms-field-container,.wpcf7-form,.nf-form-content,.frm_fields_container){
 display:block!important;grid-template-columns:none!important;max-width:100%!important;width:100%!important;
}
body.atcdp-contact-page #atcdp-existing-contact-form :is(.atcdp124-field,.atcdp-contact-pair,.wpforms-field,.frm_form_field,.nf-field,.wpcf7-form>p,form>p,form>div){
 display:block!important;float:none!important;position:static!important;grid-column:auto!important;
 clear:both!important;max-width:100%!important;width:100%!important;min-width:0!important;
 margin:0 0 16px!important;padding:0!important;transform:none!important;
}
body.atcdp-contact-page #atcdp-existing-contact-form label,
body.atcdp-contact-page #atcdp-existing-contact-form .wpforms-field-label{
 display:block!important;float:none!important;position:static!important;clear:both!important;
 width:100%!important;max-width:100%!important;margin:0 0 6px!important;
 font-size:15px!important;line-height:1.45!important;text-align:left!important;
}
body.atcdp-contact-page #atcdp-existing-contact-form :is(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="submit"]),textarea,select){
 display:block!important;float:none!important;position:static!important;left:auto!important;right:auto!important;
 box-sizing:border-box!important;min-width:0!important;max-width:100%!important;width:100%!important;
 transform:none!important;margin:0!important;padding:11px 12px!important;min-height:46px!important;
 font-size:16px!important;border:1px solid #cbdde9!important;border-radius:10px!important;
}
body.atcdp-contact-page #atcdp-existing-contact-form textarea{min-height:130px!important}
body.atcdp-contact-page #atcdp-existing-contact-form :is(input[type=checkbox],input[type=radio]){width:auto!important;max-width:25px!important;display:inline-block!important;position:static!important}
body.atcdp-contact-page .atcdp-contact-v2-formslot{min-width:0!important;max-width:100%!important;overflow-wrap:anywhere}
/* No duplicate Kadence copyright/legal strips when our footer is enabled. */
body.atcdp-single-footer .site-footer .site-footer-bottom,
body.atcdp-single-footer .site-footer .site-info,
body.atcdp-single-footer .footer-bottom,
body.atcdp-single-footer .footer-copyright,
body.atcdp-single-footer .footer-credits,
body.atcdp-single-footer .atcdp-v126-legacy-credit{display:none!important}

/* Keep the paired training tiles aligned during taps and when descriptions wrap. */
@media (max-width:850px){
  html body.atcdp-training-page .atc-public-inner .atc-public-hub-grid > a.atc-hub-card:is([href*="/wochenplan"],[href*="/unser-trainerteam"]){
    --atcdp-training-caption-height:63px;
    --atcdp-training-caption-bottom:12px;
    --atcdp-training-frame-bottom:calc(var(--atcdp-training-caption-height) + var(--atcdp-training-caption-bottom) + 8px);
    transform:none!important;
  }
  html body.atcdp-training-page .atc-public-inner .atc-public-hub-grid > a.atc-hub-card:is([href*="/wochenplan"],[href*="/unser-trainerteam"])::before,
  html body.atcdp-training-page .atc-public-inner .atc-public-hub-grid > a.atc-hub-card:is([href*="/wochenplan"],[href*="/unser-trainerteam"]) .atc-hub-card-heading{
    bottom:var(--atcdp-training-frame-bottom)!important;
  }
  html body.atcdp-training-page .atc-public-inner .atc-public-hub-grid > a.atc-hub-card:is([href*="/wochenplan"],[href*="/unser-trainerteam"]) .atc-hub-card-inner > p{
    bottom:var(--atcdp-training-caption-bottom)!important;
    min-height:var(--atcdp-training-caption-height)!important;
  }
  html body.atcdp-training-page .atc-public-inner .atc-public-hub-grid > a.atc-hub-card:is([href*="/wochenplan"],[href*="/unser-trainerteam"]) > .atc-hub-card-arrow{
    bottom:var(--atcdp-training-caption-bottom)!important;
    height:var(--atcdp-training-caption-height)!important;
  }
}
@media (max-width:380px){
  html body.atcdp-training-page .atc-public-inner .atc-public-hub-grid > a.atc-hub-card:is([href*="/wochenplan"],[href*="/unser-trainerteam"]){
    --atcdp-training-caption-height:80px;
  }
}

/* Align news articles and registration with the homepage on the wide layout. */
@media (min-width:851px){
  html body.atcdp-home-content-width.atc-public-unified-3536 .atc-public-inner .atc-public-main{
    max-width:1180px!important;
    padding-inline:clamp(16px,2.8vw,38px)!important;
  }
}

html body.atcdp-store-layout .site-container > main,
html body.atcdp-store-layout main#main,
html body.atcdp-store-layout main#inner-wrap{
  box-sizing:border-box!important;
  width:100%!important;
  max-width:1180px!important;
  margin-inline:auto!important;
  padding-inline:clamp(16px,2.8vw,38px)!important;
}
html body.atcdp-store-layout main :is(.content-area,.entry-content){
  box-sizing:border-box!important;
  width:100%!important;
  max-width:100%!important;
  margin-inline:auto!important;
  padding-inline:0!important;
}
.atcdp-page-heading-a11y{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  padding:0!important;
  margin:-1px!important;
  overflow:hidden!important;
  clip-path:inset(50%);
  white-space:nowrap;
  border:0!important;
}
/* Feedback hub */
.atcdp-feedback-page{max-width:1170px;margin:34px auto 60px;color:var(--atcdp-ink);font:400 16px/1.6 system-ui,-apple-system,'Segoe UI',Arial,sans-serif}
.atcdp-feedback-page *{box-sizing:border-box}
.atcdp-feedback-lead{margin:0 0 25px}.atcdp-feedback-lead h1{font-size:clamp(28px,3vw,38px);font-weight:600;line-height:1.25;margin:0 0 10px}
.atcdp-feedback-lead p{max-width:720px;color:#55738a;margin:0;line-height:1.65}
.atcdp-feedback-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(270px,1fr);gap:18px}
.atcdp-feedback-card,.atcdp-feedback-aside{background:#fff;border:1px solid var(--atcdp-border);border-radius:18px;padding:clamp(20px,3vw,32px);min-width:0}
.atcdp-feedback-card h2,.atcdp-feedback-aside h2{font-size:clamp(21px,2vw,25px);line-height:1.3;font-weight:600;margin:0 0 10px}
.atcdp-feedback-card p,.atcdp-feedback-aside p{color:#5b7890;font-size:15px;line-height:1.65;margin:0 0 18px}
.atcdp-feedback-card form{display:flex;flex-direction:column;gap:8px;max-width:100%}
.atcdp-feedback-card form label{font-size:15px;font-weight:600;margin:5px 0 0}
.atcdp-feedback-card form :is(select,textarea){width:100%;min-width:0;max-width:100%;border:1px solid #cbdde9;border-radius:10px;background:#fff;color:var(--atcdp-ink);font-size:16px;padding:12px}
.atcdp-feedback-card textarea{resize:vertical;min-height:170px}
.atcdp-feedback-send{background:var(--atcdp-blue);color:white;border:none;border-radius:9px;min-height:48px;padding:12px 18px;align-self:flex-start;font-size:15px;font-weight:600;cursor:pointer}
.atcdp-feedback-send:hover{background:#125986}
.atcdp-feedback-success,.atcdp-feedback-warning{padding:15px;background:#e8f4fb;border:1px solid #b8d4e5;border-radius:12px}
.atcdp-feedback-warning{background:#fff4ee;border-color:#e9c3ac}
.atcdp-feedback-privacy{font-size:13px!important}
.atcdp-feedback-trap{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important}
@media(max-width:760px){.atcdp-feedback-layout{grid-template-columns:minmax(0,1fr)}.atcdp-feedback-page{padding:0 16px}.atcdp-feedback-card,.atcdp-feedback-aside{padding:20px}}
@media(prefers-reduced-motion:reduce){.atcdp-feedback-page *{scroll-behavior:auto}}
body.atcdp-single-footer .atcdp-v126-legacy-credit{display:none!important}
