/* Sportschule Gladiator Theme – public styles */
:root {
  --sg-theme-header-bg: #fff;
  --sg-theme-header-text: #1a1a1f;
  --sg-theme-accent: #e30613;
  --sg-theme-accent-contrast: #fff;
  --sg-theme-footer-bg: #121216;
  --sg-theme-footer-text: #fff;
  --sg-theme-container: 1360px;
  --sg-theme-header-container: 1600px;
  --sg-theme-header-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --sg-theme-header-font-size: 13px;
  --sg-theme-header-mobile-font-size: 16px;
  --sg-theme-header-submenu-font-size: 14px;
  --sg-theme-header-font-weight: 800;
  --sg-theme-header-letter-spacing: 0px;
  --sg-theme-header-text-transform: none;
  --sg-theme-header-cta-font-size: 13px;
  --sg-theme-header-cta-mobile-font-size: 14px;
  --sg-theme-header-cta-font-weight: 900;
  --sg-theme-header-cta-letter-spacing: .35px;
  --sg-theme-header-cta-text-transform: uppercase;
  --sg-theme-border: rgba(20, 20, 25, .1);
  --sg-theme-shadow: 0 12px 34px rgba(12, 12, 16, .08);
  --sg-theme-radius: 12px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: #1a1a1f; background: #fff; font-family: Arial, Helvetica, sans-serif; line-height: 1.65; text-rendering: optimizeLegibility; }
body.sg-menu-open { overflow: hidden; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.screen-reader-text:focus { top: 8px; left: 8px; z-index: 100000; width: auto; height: auto; padding: 12px 16px; clip: auto !important; background: #fff; color: #111; box-shadow: 0 0 0 3px var(--sg-theme-accent); }
.sg-skip-link { position: fixed; top: -100px; left: 16px; z-index: 100001; padding: 12px 18px; border-radius: 6px; background: #111; color: #fff; text-decoration: none; }
.sg-skip-link:focus { top: 16px; }

/* Header */
.sg-site-header { position: relative; z-index: 9990; width: 100%; border-bottom: 1px solid var(--sg-theme-border); background: var(--sg-theme-header-bg); color: var(--sg-theme-header-text); box-shadow: 0 3px 14px rgba(0,0,0,.035); }
.sg-has-sticky-header .sg-site-header { position: sticky; top: 0; }
.admin-bar.sg-has-sticky-header .sg-site-header { top: 32px; }
.sg-site-header__inner { display: grid; grid-template-columns: 205px minmax(0, 1fr) auto; gap: 18px; align-items: center; width: min(calc(100% - 32px), var(--sg-theme-header-container)); min-height: 88px; margin: 0 auto; }
.sg-header-logo, .sg-footer-logo { display: inline-flex; align-items: center; text-decoration: none; }
.sg-header-logo__image { display: block; width: min(100%, 205px); max-height: 74px; object-fit: contain; object-position: left center; }
.sg-primary-navigation { min-width: 0; width: 100%; justify-self: stretch; }
.sg-menu { margin: 0; padding: 0; list-style: none; }
.sg-menu--header, .sg-menu--primary { display: flex; gap: 1px; align-items: center; justify-content: center; }
.sg-menu--header > li, .sg-menu--primary > li { position: relative; }
.sg-menu--header > li > a, .sg-menu--primary > li > a { display: flex; min-height: 44px; align-items: center; padding: 10px 8px; border-radius: 8px; color: var(--sg-theme-header-text); font-family: var(--sg-theme-header-font-family); font-size: var(--sg-theme-header-font-size); font-weight: var(--sg-theme-header-font-weight); letter-spacing: var(--sg-theme-header-letter-spacing); line-height: 1.2; text-decoration: none; text-transform: var(--sg-theme-header-text-transform); white-space: nowrap; transition: background .18s ease, color .18s ease; }
.sg-menu--header > li > a:hover, .sg-menu--primary > li > a:hover { background: rgba(0,0,0,.055); color: var(--sg-theme-header-text); box-shadow: inset 0 -3px 0 var(--sg-theme-accent); }
.sg-menu--header > li > a:focus-visible, .sg-menu--primary > li > a:focus-visible { background: #fff; color: var(--sg-theme-header-text); outline: 3px solid var(--sg-theme-accent); outline-offset: 2px; }
.sg-menu--header > .current-menu-item > a, .sg-menu--header > .current-menu-ancestor > a, .sg-menu--header > .current-page-ancestor > a, .sg-menu--primary > .current-menu-item > a, .sg-menu--primary > .current-menu-ancestor > a, .sg-menu--primary > .current-page-ancestor > a { background: var(--sg-theme-accent); color: var(--sg-theme-accent-contrast); box-shadow: none; }
.sg-menu--header .sub-menu, .sg-menu--primary .sub-menu { position: absolute; top: calc(100% + 10px); left: 50%; z-index: 40; min-width: 245px; padding: 10px; visibility: hidden; opacity: 0; transform: translate(-50%, 8px); border: 1px solid rgba(0,0,0,.08); border-radius: 12px; background: #fff; box-shadow: 0 20px 46px rgba(0,0,0,.14); transition: opacity .16s ease, transform .16s ease, visibility .16s ease; }
.sg-menu--header .sub-menu::before, .sg-menu--primary .sub-menu::before { content: ''; position: absolute; top: -11px; right: 0; left: 0; height: 12px; }
.sg-menu--header li:hover > .sub-menu, .sg-menu--header li:focus-within > .sub-menu, .sg-menu--primary li:hover > .sub-menu, .sg-menu--primary li:focus-within > .sub-menu { visibility: visible; opacity: 1; transform: translate(-50%, 0); }
.sg-menu--header .sub-menu li, .sg-menu--primary .sub-menu li { position: relative; }
.sg-menu--header .sub-menu a, .sg-menu--primary .sub-menu a { display: block; padding: 11px 12px; border-radius: 7px; color: #1b1b20; font-family: var(--sg-theme-header-font-family); font-size: var(--sg-theme-header-submenu-font-size); font-weight: 700; letter-spacing: var(--sg-theme-header-letter-spacing); line-height: 1.35; text-decoration: none; text-transform: var(--sg-theme-header-text-transform); }
.sg-menu--header .sub-menu a:hover, .sg-menu--primary .sub-menu a:hover { background: #f2f2f4; color: #1b1b20; box-shadow: inset 3px 0 0 var(--sg-theme-accent); }
.sg-menu--header .sub-menu a:focus-visible, .sg-menu--primary .sub-menu a:focus-visible { background: #fff; color: #1b1b20; outline: 3px solid var(--sg-theme-accent); outline-offset: -1px; }
.sg-menu--header .sub-menu .current-menu-item > a, .sg-menu--header .sub-menu .current-menu-ancestor > a, .sg-menu--header .sub-menu .current-page-ancestor > a, .sg-menu--primary .sub-menu .current-menu-item > a, .sg-menu--primary .sub-menu .current-menu-ancestor > a, .sg-menu--primary .sub-menu .current-page-ancestor > a { background: var(--sg-theme-accent); color: var(--sg-theme-accent-contrast); box-shadow: none; }
.sg-menu--header .sub-menu .sub-menu, .sg-menu--primary .sub-menu .sub-menu { top: -10px; left: calc(100% + 12px); transform: translate(8px, 0); }
.sg-menu--header .sub-menu li:hover > .sub-menu, .sg-menu--header .sub-menu li:focus-within > .sub-menu, .sg-menu--primary .sub-menu li:hover > .sub-menu, .sg-menu--primary .sub-menu li:focus-within > .sub-menu { transform: translate(0, 0); }
.sg-header-cta { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 12px 16px; border: 2px solid var(--sg-theme-accent); border-radius: 8px; background: var(--sg-theme-accent); color: var(--sg-theme-accent-contrast); font-family: var(--sg-theme-header-font-family); font-size: var(--sg-theme-header-cta-font-size); font-weight: var(--sg-theme-header-cta-font-weight); letter-spacing: var(--sg-theme-header-cta-letter-spacing); line-height: 1.15; text-align: center; text-decoration: none; text-transform: var(--sg-theme-header-cta-text-transform); white-space: nowrap; box-shadow: 0 10px 24px color-mix(in srgb, var(--sg-theme-accent) 28%, transparent); transition: transform .18s ease, box-shadow .18s ease; }
.sg-header-cta:hover, .sg-header-cta:focus-visible { transform: translateY(-2px); box-shadow: 0 14px 30px color-mix(in srgb, var(--sg-theme-accent) 38%, transparent); outline: 3px solid color-mix(in srgb, var(--sg-theme-accent) 25%, transparent); outline-offset: 2px; }
.sg-menu-toggle, .sg-submenu-toggle, .sg-mobile-menu-cta { display: none; }
.sg-menu-backdrop { display: none; }

/* Content */
.sg-site-main--editor { width: 100%; min-height: 1px; }
.sg-site-main--editor > :first-child { margin-top: 0; }
.sg-site-main--editor > :last-child { margin-bottom: 0; }
.sg-site-main--standard { min-height: 55vh; padding: clamp(54px, 7vw, 94px) 20px; background: #fff; }
.sg-page-title-hidden .sg-site-main--standard { padding-top: clamp(30px, 4vw, 54px); }
.sg-standard-content { width: min(100%, 920px); margin: 0 auto; }
.sg-standard-content--wide { width: min(100%, var(--sg-theme-container)); }
.sg-entry-header { margin-bottom: 38px; }
.sg-entry-header h1 { margin: 0; color: #18181d; font-size: clamp(42px, 7vw, 78px); line-height: .98; letter-spacing: -1.5px; }
.sg-entry-content { font-size: 17px; }
.sg-entry-content > * + * { margin-top: 1.25em; }
.sg-entry-content h2, .sg-entry-content h3 { margin-top: 1.8em; line-height: 1.1; }
.sg-entry-content a { color: var(--sg-theme-accent); text-underline-offset: 3px; }
.sg-entry-content img { border-radius: 14px; }
.sg-entry-meta { margin: 0 0 8px; color: #777780; font-size: 14px; font-weight: 700; }
.sg-entry-thumbnail { margin: 0 0 38px; }
.sg-entry-thumbnail img { width: 100%; border-radius: 16px; }
.sg-post-list { display: grid; gap: 22px; }
.sg-post-card { padding: 28px; border: 1px solid var(--sg-theme-border); border-radius: 14px; background: #fff; box-shadow: 0 12px 28px rgba(0,0,0,.045); }
.sg-post-card h2 { margin: 0 0 12px; font-size: clamp(26px, 4vw, 38px); line-height: 1.08; }
.sg-post-card h2 a { text-decoration: none; }
.sg-post-card h2 a:hover { color: var(--sg-theme-accent); }
.sg-button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: 12px 22px; border-radius: 8px; background: var(--sg-theme-accent); color: #fff; font-weight: 900; text-decoration: none; }
.sg-error-page { text-align: center; }
.sg-error-code { margin: 0; color: var(--sg-theme-accent); font-family: Impact, 'Arial Narrow', Arial, sans-serif; font-size: clamp(100px, 20vw, 220px); line-height: .8; }
.sg-error-page h1 { margin: 26px 0 18px; font-size: clamp(36px, 6vw, 68px); line-height: 1; }
.sg-error-actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: center; margin-top: 30px; }
.sg-error-actions .search-form { display: flex; gap: 8px; }
.sg-error-actions input[type='search'] { min-height: 50px; padding: 10px 14px; border: 1px solid #ccc; border-radius: 8px; }
.sg-error-actions input[type='submit'] { min-height: 50px; padding: 10px 16px; border: 0; border-radius: 8px; background: #1a1a1f; color: #fff; font-weight: 800; }

/* Footer */
.sg-site-footer { background: var(--sg-theme-footer-bg); color: var(--sg-theme-footer-text); }
.sg-site-footer__main { padding: clamp(52px, 7vw, 86px) 20px; }
.sg-site-footer__grid { display: grid; grid-template-columns: minmax(260px, 1.35fr) minmax(180px, .8fr) minmax(180px, .7fr); gap: clamp(38px, 6vw, 90px); width: min(100%, var(--sg-theme-container)); margin: 0 auto; }
.sg-footer-logo__image { display: block; width: min(100%, 270px); max-height: 100px; object-fit: contain; object-position: left center; }
.sg-site-footer__brand p { max-width: 440px; margin: 25px 0 0; color: color-mix(in srgb, var(--sg-theme-footer-text) 68%, transparent); font-size: 15px; }
.sg-site-footer h2 { margin: 0 0 20px; color: var(--sg-theme-footer-text); font-size: 15px; letter-spacing: 1.1px; text-transform: uppercase; }
.sg-menu--footer { display: grid; gap: 7px; }
.sg-menu--footer a { color: color-mix(in srgb, var(--sg-theme-footer-text) 74%, transparent); font-size: 15px; font-weight: 700; text-decoration: none; }
.sg-menu--footer a:hover, .sg-menu--footer a:focus-visible { color: var(--sg-theme-footer-text); text-decoration: underline; text-underline-offset: 4px; }
.sg-social-links { display: flex; flex-wrap: wrap; gap: 10px; }
.sg-social-link { display: inline-flex; width: 46px; height: 46px; align-items: center; justify-content: center; border: 1px solid color-mix(in srgb, var(--sg-theme-footer-text) 18%, transparent); border-radius: 9px; background: color-mix(in srgb, var(--sg-theme-footer-text) 6%, transparent); color: var(--sg-theme-footer-text); transition: transform .18s ease, border-color .18s ease, background .18s ease; }
.sg-social-link img { width: 22px; height: 22px; }
.sg-social-link:hover, .sg-social-link:focus-visible { transform: translateY(-2px); border-color: var(--sg-theme-accent); background: var(--sg-theme-accent); outline: none; }
.sg-site-footer__bottom { border-top: 1px solid color-mix(in srgb, var(--sg-theme-footer-text) 12%, transparent); background: color-mix(in srgb, var(--sg-theme-footer-bg) 88%, #000); }
.sg-site-footer__bottom-inner { display: flex; gap: 28px; align-items: center; justify-content: space-between; width: min(calc(100% - 40px), var(--sg-theme-container)); min-height: 70px; margin: 0 auto; }
.sg-copyright { margin: 0; color: var(--sg-theme-footer-text); font-size: 13px; font-weight: 700; }
.sg-menu--legal { display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: flex-end; }
.sg-menu--legal a { color: color-mix(in srgb, var(--sg-theme-footer-text) 75%, transparent); font-size: 12px; font-weight: 700; text-decoration: none; }
.sg-menu--legal a:hover, .sg-menu--legal a:focus-visible { color: var(--sg-theme-footer-text); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 1320px) {
  .sg-site-header__inner { grid-template-columns: minmax(180px, 230px) 1fr auto; min-height: 80px; }
  .sg-primary-navigation { position: fixed; top: 0; right: 0; z-index: 10001; width: min(90vw, 430px); height: 100dvh; padding: 104px 24px 34px; overflow-x: hidden; overflow-y: auto; visibility: hidden; background: #fff; color: #1a1a1f; box-shadow: -18px 0 48px rgba(0,0,0,.18); transform: translateX(105%); transition: transform .24s ease, visibility .24s ease; }
  .admin-bar .sg-primary-navigation { padding-top: 132px; }
  .sg-menu-open .sg-primary-navigation { visibility: visible; transform: translateX(0); }
  .sg-menu--header, .sg-menu--primary { display: block; width: 100%; }
  .sg-menu--header > li, .sg-menu--primary > li { display: grid; grid-template-columns: minmax(0, 1fr) auto; width: 100%; min-height: 0; border-bottom: 1px solid #ececf0; }
  .sg-menu--header > li > a, .sg-menu--primary > li > a { min-width: 0; min-height: 56px; padding: 15px 8px; color: #1a1a1f; font-size: var(--sg-theme-header-mobile-font-size); white-space: normal; }

  /* Mobile submenu reset: protects the menu from page/plugin CSS and nested-menu desktop rules. */
  .sg-primary-navigation .sg-menu .sub-menu,
  .sg-primary-navigation .sg-menu .sub-menu .sub-menu {
    position: static !important;
    inset: auto !important;
    grid-column: 1 / -1;
    display: none !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 0 0 12px 16px !important;
    overflow: visible !important;
    visibility: visible !important;
    opacity: 1 !important;
    clip: auto !important;
    clip-path: none !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;
    transition: none !important;
  }
  .sg-primary-navigation .sg-menu li.sg-submenu-open > .sub-menu {
    display: grid !important;
  }
  .sg-primary-navigation .sg-menu .sub-menu > li {
    position: relative !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    visibility: visible !important;
    opacity: 1 !important;
    border: 0 !important;
    background: transparent !important;
    transform: none !important;
  }
  .sg-primary-navigation .sg-menu .sub-menu > li + li {
    border-top: 1px solid #f0f0f2 !important;
  }
  .sg-primary-navigation .sg-menu .sub-menu > li > a {
    position: relative !important;
    z-index: 1;
    display: flex !important;
    min-width: 0 !important;
    min-height: 44px !important;
    height: auto !important;
    align-items: center;
    margin: 0 !important;
    padding: 10px 9px !important;
    overflow: visible !important;
    visibility: visible !important;
    opacity: 1 !important;
    clip: auto !important;
    clip-path: none !important;
    color: #494952 !important;
    background: transparent;
    font-family: var(--sg-theme-header-font-family) !important;
    font-size: var(--sg-theme-header-submenu-font-size) !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    text-indent: 0 !important;
    white-space: normal !important;
    transform: none !important;
  }
  .sg-primary-navigation .sg-menu .sub-menu > li:not(.menu-item-has-children) > a {
    grid-column: 1 / -1;
  }
  .sg-primary-navigation .sg-menu .sub-menu > li > .sub-menu {
    grid-column: 1 / -1;
    padding-left: 14px !important;
  }
  .sg-menu-toggle { display: inline-flex; position: relative; z-index: 10002; width: 48px; height: 48px; align-items: center; justify-content: center; justify-self: end; padding: 0; border: 1px solid rgba(0,0,0,.1); border-radius: 9px; background: #fff; color: #17171c; cursor: pointer; }
  .sg-menu-toggle__lines { display: grid; gap: 5px; width: 22px; }
  .sg-menu-toggle__lines span { display: block; height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
  .sg-menu-open .sg-menu-toggle__lines span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .sg-menu-open .sg-menu-toggle__lines span:nth-child(2) { opacity: 0; }
  .sg-menu-open .sg-menu-toggle__lines span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .sg-submenu-toggle { display: inline-flex; width: 48px; height: 48px; align-items: center; justify-content: center; align-self: center; margin-right: 1px; padding: 0; border: 0; border-radius: 8px; background: #f1f1f3; color: #222229; cursor: pointer; }
  .sg-submenu-toggle__icon { width: 10px; height: 10px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s ease; }
  .sg-submenu-toggle[aria-expanded='true'] .sg-submenu-toggle__icon { transform: translateY(2px) rotate(225deg); }
  .sg-header-cta { justify-self: end; min-height: 46px; }
  .sg-mobile-menu-cta { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; margin-top: 22px; padding: 14px 20px; border-radius: 8px; background: var(--sg-theme-accent); color: var(--sg-theme-accent-contrast); font-family: var(--sg-theme-header-font-family); font-size: var(--sg-theme-header-cta-mobile-font-size); font-weight: var(--sg-theme-header-cta-font-weight); letter-spacing: var(--sg-theme-header-cta-letter-spacing); text-decoration: none; text-transform: var(--sg-theme-header-cta-text-transform); }
  .sg-menu-backdrop { position: fixed; inset: 0; z-index: 9980; display: block; background: rgba(0,0,0,.55); backdrop-filter: blur(2px); }
  .sg-menu-backdrop[hidden] { display: none; }
}

@media (max-width: 782px) {
  .admin-bar.sg-has-sticky-header .sg-site-header { top: 46px; }
  .admin-bar .sg-primary-navigation { padding-top: 148px; }
  .sg-site-header__inner { grid-template-columns: minmax(150px, 1fr) auto; gap: 12px; width: min(calc(100% - 28px), var(--sg-theme-header-container)); min-height: 74px; }
  .sg-header-logo__image { width: min(100%, 220px); max-height: 62px; }
  .sg-header-cta { display: none; }
  .sg-site-footer__grid { grid-template-columns: 1fr 1fr; }
  .sg-site-footer__brand { grid-column: 1 / -1; }
  .sg-site-footer__bottom-inner { align-items: flex-start; flex-direction: column; justify-content: center; padding: 22px 0; }
  .sg-menu--legal { justify-content: flex-start; }
}

@media (max-width: 560px) {
  .sg-site-header__inner { min-height: 68px; }
  .sg-header-logo__image { width: min(100%, 190px); max-height: 56px; }
  .sg-menu-toggle { width: 44px; height: 44px; }
  .sg-primary-navigation { width: min(94vw, 400px); padding-right: 18px; padding-left: 18px; }
  .sg-site-main--standard { padding-right: 15px; padding-left: 15px; }
  .sg-entry-header h1 { letter-spacing: -.7px; }
  .sg-site-footer__main { padding-right: 15px; padding-left: 15px; }
  .sg-site-footer__grid { grid-template-columns: 1fr; }
  .sg-site-footer__brand { grid-column: auto; }
  .sg-site-footer__bottom-inner { width: min(calc(100% - 30px), var(--sg-theme-container)); }
  .sg-menu--legal { display: grid; gap: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
