/*
 * RETRO BOXING e. V. – Public Theme v1341
 * Ein konsolidierter Theme-Layer: Dark nutzt die bestehende Gestaltung,
 * Light spiegelt dieselbe Formensprache mit hellen Flächen und sicheren Kontrasten.
 */
html[data-rb-theme="dark"]{color-scheme:dark}
html[data-rb-theme="light"]{color-scheme:light}

/* Gemeinsame Header-Aktionsgruppe: Theme-Schalter und Burger bleiben als Einheit zusammen. */
.rb-public-header-actions{display:inline-flex;align-items:center;justify-content:flex-end;gap:8px;flex:0 0 auto;margin-left:auto;position:relative;z-index:1202;pointer-events:auto;isolation:isolate}
.rb-public-theme-toggle{
  appearance:none;display:inline-flex;align-items:center;justify-content:center;gap:7px;
  flex:0 0 auto;min-height:42px;padding:0 12px;border:1px solid rgba(255,255,255,.12);
  border-radius:14px;background:rgba(255,255,255,.035);color:#e3e6eb;font:inherit;
  font-size:11px;font-weight:850;line-height:1;cursor:pointer;white-space:nowrap;box-shadow:none;
  transition:background .18s ease,border-color .18s ease,transform .18s ease;
  position:relative;z-index:1203;pointer-events:auto;touch-action:manipulation;
}
.rb-public-theme-toggle:hover{background:rgba(255,255,255,.075);border-color:rgba(255,255,255,.2)}
.rb-public-theme-toggle:active{transform:translateY(1px)}
.rb-public-theme-toggle:focus-visible{outline:3px solid rgba(234,181,82,.9);outline-offset:3px}
.rb-public-theme-action{display:grid;place-items:center;width:20px;height:20px;flex:0 0 20px}
.rb-public-theme-action svg{display:block;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.rb-public-theme-action--off{display:none}
.rb-public-theme-label{min-width:38px;text-align:left}
html[data-rb-theme="light"] .rb-public-theme-action--on{display:none}
html[data-rb-theme="light"] .rb-public-theme-action--off{display:grid}

/* v1378 – wichtige Header-Steuerung bleibt wirklich auf der Bedienebene; kein Ghost-/Durchklicken. */
.topbar.rb-header-original-fixed{z-index:1200!important;isolation:isolate!important}
.topbar.rb-header-original-fixed .main-nav{position:relative;z-index:1201}


@media(min-width:901px){
  .topbar.rb-header-original-fixed .brand{order:1}
  .topbar.rb-header-original-fixed .main-nav{order:2;margin-left:auto!important}
  .topbar.rb-header-original-fixed .rb-public-header-actions{order:3;margin-left:2px}
  .topbar.rb-header-original-fixed .rb-public-header-actions .mobile-nav-toggle{display:none!important}
}
@media(max-width:900px){
  .topbar.rb-header-original-fixed .topbar-inner{
    display:grid!important;grid-template-columns:minmax(0,1fr) max-content!important;
    align-items:center!important;justify-content:stretch!important;column-gap:10px!important;row-gap:8px!important;
    width:min(var(--max),calc(100% - 28px))!important;max-width:calc(100% - 28px)!important;
    margin-left:auto!important;margin-right:auto!important;box-sizing:border-box!important;overflow:visible!important;
  }
  .topbar.rb-header-original-fixed .brand{
    grid-column:1!important;grid-row:1!important;order:unset!important;min-width:0!important;max-width:100%!important;
    width:100%!important;overflow:hidden!important;
  }
  .topbar.rb-header-original-fixed .brand-logo{
    width:44px!important;height:44px!important;flex:0 0 44px!important;padding:0!important;
  }
  .topbar.rb-header-original-fixed .brand>div{min-width:0!important;max-width:100%!important;overflow:hidden!important}
  .topbar.rb-header-original-fixed .brand-title,
.topbar.rb-header-original-fixed .brand-sub{max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
  .topbar.rb-header-original-fixed .rb-public-header-actions{
    grid-column:2!important;grid-row:1!important;order:unset!important;justify-self:end!important;align-self:center!important;
    margin:0!important;gap:8px!important;max-width:100%!important;box-sizing:border-box!important;
  }
  .topbar.rb-header-original-fixed .rb-public-theme-toggle,
.topbar.rb-header-original-fixed .rb-public-header-actions .mobile-nav-toggle{
    width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;
    max-width:44px!important;max-height:44px!important;padding:0!important;margin:0!important;
    flex:0 0 44px!important;border-radius:14px!important;align-self:center!important;transform:none!important;
  }

  .rb-public-theme-toggle .rb-public-theme-label{display:none!important}
  .rb-public-theme-toggle .rb-public-theme-action{width:22px;height:22px;flex-basis:22px}
  .rb-public-theme-toggle .rb-public-theme-action svg{width:22px;height:22px}
}
@media(max-width:390px){
  .topbar.rb-header-original-fixed .rb-public-header-actions{gap:6px!important}
  .topbar.rb-header-original-fixed .rb-public-theme-toggle,
.topbar.rb-header-original-fixed .rb-public-header-actions .mobile-nav-toggle{width:42px!important;height:42px!important;min-width:42px!important;min-height:42px!important;flex-basis:42px!important}
}

@media screen {
  html[data-rb-theme="light"]{
    --bg:#e9eef2;
    --bg-soft:#dfe6eb;
    --panel:#f8fafb;
    --panel-2:#eef2f5;
    --line:rgba(28,39,54,.30);
    --text:#141d25;
    --muted:#31404c;
    --shadow:0 10px 28px rgba(17,24,32,.10);
    --rb-public-surface:#f3f6f8;
    --rb-public-surface-soft:#e5ebef;
    --rb-public-surface-alt:#dbe3e8;
    --rb-public-border:var(--rb-ui-border-strong);
    --rb-public-border-soft:var(--rb-ui-border);
    --rb-public-text:#111820;
    --rb-public-muted:#2c3a45;
    --rb-public-faint:#43535f;
    --rb-public-red:#a92a29;
  }
  html[data-rb-theme="light"] body{
    color:var(--rb-public-text)!important;
    background:linear-gradient(180deg,#f4f7f9 0%,#e8edf1 46%,#dfe6eb 100%)!important;
  }
  html[data-rb-theme="light"] body .site-shell{background:transparent!important;color:var(--rb-public-text)!important}

  /* Header: gleiche Formensprache, nur hell. */
  html[data-rb-theme="light"] body .topbar.rb-header-original-fixed{
    background:rgba(255,255,255,.97)!important;border-bottom-color:var(--rb-ui-border-strong)!important;
    box-shadow:0 .35rem 1.1rem rgba(17,24,32,.10)!important;
  }
  html[data-rb-theme="light"] body .brand-title,
html[data-rb-theme="light"] body .brand-title .rb-brand-ev{color:#111820!important;-webkit-text-fill-color:#111820!important}
  html[data-rb-theme="light"] body .brand-sub{color:#52606c!important}
  html[data-rb-theme="light"] body .topbar.rb-header-original-fixed .brand{background:transparent!important;box-shadow:none!important}
  html[data-rb-theme="light"] body .topbar.rb-header-original-fixed .brand-logo{
    background:transparent!important;padding:0!important;filter:none!important;
    box-shadow:0 5px 14px rgba(17,24,32,.12)!important;
  }
  html[data-rb-theme="light"] body .topbar.rb-header-original-fixed .rb-public-theme-toggle,
html[data-rb-theme="light"] body .topbar.rb-header-original-fixed .mobile-nav-toggle{
    background:#fff!important;border:1px solid var(--rb-ui-border-strong)!important;color:#1f2c36!important;
    box-shadow:0 3px 10px rgba(17,24,32,.055)!important;
  }
  html[data-rb-theme="light"] body .topbar.rb-header-original-fixed .rb-public-theme-toggle:hover,
html[data-rb-theme="light"] body .topbar.rb-header-original-fixed .mobile-nav-toggle:hover{
    background:var(--rb-ui-hover)!important;border-color:var(--rb-ui-border-strong)!important;
  }
  html[data-rb-theme="light"] body .mobile-menu-icon span{background:#26343f!important;box-shadow:none!important}
  html[data-rb-theme="light"] body .rb-public-theme-action--off{color:#41505d!important}
  html[data-rb-theme="light"] body .rb-public-theme-label{color:#25323e!important}

  /* Desktop-Navigation bleibt dezent; Mobile-Menü behält die bekannte Form, aber hell. */
  html[data-rb-theme="light"] body .main-nav a{
    background:#fff!important;border-color:var(--rb-ui-border)!important;color:#1f2c36!important;
  }
  html[data-rb-theme="light"] body .main-nav a:hover,
html[data-rb-theme="light"] body .main-nav a:focus-visible{
    background:var(--rb-ui-hover)!important;border-color:var(--rb-ui-border-strong)!important;color:#111820!important;
  }
  html[data-rb-theme="light"] body .main-nav a.active{
    background:#fff0f0!important;border-color:#b95a5a!important;color:#7b1f1f!important;
  }
  @media(max-width:900px){
    html[data-rb-theme="light"] body .topbar.rb-header-original-fixed .main-nav.open,
html[data-rb-theme="light"] body .topbar.rb-header-original-fixed .main-nav.rb-menu-open,
html[data-rb-theme="light"] body .topbar.rb-header-original-fixed .main-nav.is-open,
html[data-rb-theme="light"] body .topbar.rb-header-original-fixed .main-nav.active{
      background:linear-gradient(180deg,#eef2f5,#e4e9ed)!important;
      border:3px solid #b95352!important;border-radius:20px!important;
      box-shadow:0 18px 40px rgba(17,24,32,.20)!important;padding:12px!important;
    }
    html[data-rb-theme="light"] body .topbar.rb-header-original-fixed .main-nav.open a,
html[data-rb-theme="light"] body .topbar.rb-header-original-fixed .main-nav.rb-menu-open a,
html[data-rb-theme="light"] body .topbar.rb-header-original-fixed .main-nav.is-open a,
html[data-rb-theme="light"] body .topbar.rb-header-original-fixed .main-nav.active a{
      background:linear-gradient(180deg,#f9fafb,#eef2f5)!important;
      border:1px solid rgba(169,57,56,.58)!important;color:#18232d!important;
      box-shadow:inset 0 1px 0 rgba(255,255,255,.78),0 4px 12px rgba(17,24,32,.065)!important;
    }
    html[data-rb-theme="light"] body .topbar.rb-header-original-fixed .main-nav.open a:hover,
html[data-rb-theme="light"] body .topbar.rb-header-original-fixed .main-nav.open a:focus-visible{
      background:#fff0f0!important;border-color:#b95352!important;color:#6f2020!important;
    }
  }

  /* Normale Inhaltsflächen: Foto-Heros werden absichtlich nicht aufgehellt. */
  html[data-rb-theme="light"] body :is(.section-card,.content-box,.service-card,.feature-item,.download-card,.welcome-box,.notice,.mini-notice,.faq-item,.contact-card,.info-line){
    background:linear-gradient(145deg,#edf2f5,#dde5ea)!important;border-color:#657783!important;color:#111820!important;
    box-shadow:0 7px 20px rgba(17,24,32,.075)!important;
  }
  html[data-rb-theme="light"] body .hero-card:not(.rb-home-hero-gallery):not(.rb-service-page-hero){
    background:linear-gradient(145deg,#edf2f5,#dbe4e9)!important;border-color:#657783!important;color:#111820!important;
    box-shadow:0 8px 22px rgba(17,24,32,.065)!important;
  }
  html[data-rb-theme="light"] body .hero-card:not(.rb-home-hero-gallery):not(.rb-service-page-hero) :is(.hero-title,.hero-text){color:#17212b!important;text-shadow:none!important}
  html[data-rb-theme="light"] body .hero-card:not(.rb-home-hero-gallery):not(.rb-service-page-hero)>.badge{
    background:#e3e9ed!important;border:1px solid #7d8b96!important;color:#273540!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.72),0 3px 8px rgba(17,24,32,.055)!important;
  }
  html[data-rb-theme="light"] body :is(.section-title,.section-card h2,.section-card h3,.content-box h2,.content-box h3,.service-body h3,.faq-question){color:#111820!important}
  html[data-rb-theme="light"] body :is(.section-sub,.help,.service-body p,.feature-item p,.content-box p,.content-box li,.section-card p,.section-card li){color:#2f3e49!important}
  html[data-rb-theme="light"] body .hero{background:linear-gradient(180deg,rgba(246,248,249,.96),rgba(228,234,238,.72) 58%,rgba(223,230,235,.30))!important}

  /* Foto-Hero der Startseite bleibt markant; Sparten-Heros werden im Light-Theme wirklich hell übersetzt. */
  html[data-rb-theme="light"] body .page-slug-home .hero-card.rb-home-hero-gallery{color:#fff!important;background-color:#0f1114!important}
  html[data-rb-theme="light"] body .page-slug-home .hero-card.rb-home-hero-gallery :is(.hero-title,.hero-text,.home-hero-intro,.rb-hero-day__title,.rb-hero-day__item,.rb-hero-day__empty){color:#fff!important;-webkit-text-fill-color:currentColor!important}
  html[data-rb-theme="light"] body .page-slug-home .rb-hero-day{background:rgba(7,8,10,.48)!important;border-color:rgba(255,255,255,.12)!important;color:#fff!important}
  html[data-rb-theme="light"] body .page-slug-home .rb-home-hero-gallery-button,
html[data-rb-theme="light"] body .page-slug-home .rb-home-hero-gallery .btn-dark{background:rgba(18,18,18,.48)!important;border-color:rgba(255,255,255,.20)!important;color:#fff!important}

  html[data-rb-theme="light"] body .rb-service-page-hero{background:#e7edf1!important;border-color:#6f7f8a!important;color:#111820!important}
  html[data-rb-theme="light"] body .rb-service-page-hero .rb-service-page-hero__media>img{filter:brightness(1.10) saturate(.92) contrast(.96)!important}
  html[data-rb-theme="light"] body .rb-service-page-hero .rb-service-page-hero__shade{
    background:linear-gradient(90deg,rgba(246,248,249,.94) 0%,rgba(242,246,248,.84) 34%,rgba(240,244,247,.58) 62%,rgba(240,244,247,.18) 100%),linear-gradient(180deg,rgba(255,255,255,.08) 0%,rgba(255,255,255,.04) 45%,rgba(232,238,242,.42) 100%)!important;
  }
  html[data-rb-theme="light"] body .rb-service-page-hero .rb-service-page-hero__glow{opacity:.18!important;mix-blend-mode:normal!important}
  html[data-rb-theme="light"] body .rb-service-page-hero :is(.hero-title,.hero-text){color:#17212b!important;-webkit-text-fill-color:#17212b!important;text-shadow:none!important}
  html[data-rb-theme="light"] body .rb-service-page-hero>.rb-service-page-hero__content>.badge,
html[data-rb-theme="light"] body .rb-service-page-hero .badge{background:rgba(239,243,246,.92)!important;border:1px solid #6f7f8a!important;color:#24323d!important;box-shadow:0 3px 10px rgba(17,24,32,.08)!important}
  html[data-rb-theme="light"] body .rb-service-page-hero .btn-dark{background:#f4f7f9!important;border-color:#6f7f8a!important;color:#17212b!important}
  @media(max-width:760px){html[data-rb-theme="light"] body .rb-service-page-hero .rb-service-page-hero__shade{background:linear-gradient(90deg,rgba(246,248,249,.95) 0%,rgba(243,246,248,.86) 42%,rgba(240,244,247,.55) 72%,rgba(240,244,247,.18) 100%),linear-gradient(180deg,rgba(255,255,255,.08),rgba(229,235,239,.40))!important}}

  /* Buttons außerhalb von Fotobereichen. */
  html[data-rb-theme="light"] body .btn-soft,
html[data-rb-theme="light"] body .btn-dark{background:#fff!important;border-color:#8d99a3!important;color:#25323e!important}
  html[data-rb-theme="light"] body .btn-soft:hover,
html[data-rb-theme="light"] body .btn-dark:hover{background:#edf2f5!important;border-color:#657480!important}

  /* Startseite – aufklappbare Bereiche und Infokarten. */
  
  
  
  
  
  html[data-rb-theme="light"] body main.page-slug-home details.rb-home-fold>summary:hover{background:#c4cfd6!important}
  html[data-rb-theme="light"] body main.page-slug-home details.rb-home-fold-unified>summary:hover{background:#c4cfd6!important}
  html[data-rb-theme="light"] body main.page-slug-home details.rb-home-fold>summary:focus-visible{background:#c4cfd6!important}
  html[data-rb-theme="light"] body main.page-slug-home details.rb-home-fold-unified>summary:focus-visible{background:#c4cfd6!important}
  html[data-rb-theme="light"] body main.page-slug-home details.rb-home-fold-unified[open]>.rb-home-fold-content{background:#e3e9ed!important;color:#17212b!important}
  
  html[data-rb-theme="light"] body main.page-slug-home details.rb-home-fold-unified[open]>.rb-home-fold-content :is(h2,h3,h4,strong){color:#17212b!important;-webkit-text-fill-color:currentColor!important}

  html[data-rb-theme="light"] body .page-slug-home .rb-home-entry-card,
html[data-rb-theme="light"] body .page-slug-home .rb-home-why,
html[data-rb-theme="light"] body .page-slug-home .rb-home-first-worries{
    background:linear-gradient(145deg,#f6f8f9,#e8edf1)!important;border-color:#7f8d98!important;color:#141d25!important;
    box-shadow:0 9px 24px rgba(17,24,32,.075)!important;
  }
  html[data-rb-theme="light"] body .page-slug-home .rb-home-entry-lead,
html[data-rb-theme="light"] body .page-slug-home .rb-home-entry-cta small,
html[data-rb-theme="light"] body .page-slug-home .rb-home-why-head p{color:#3f4d59!important}
  html[data-rb-theme="light"] body .page-slug-home .rb-home-entry-step,
html[data-rb-theme="light"] body .page-slug-home .rb-home-parent-item,
html[data-rb-theme="light"] body .page-slug-home .rb-home-why-points strong,
html[data-rb-theme="light"] body .page-slug-home .rb-home-first-worries li{
    background:#e9eef2!important;border-color:#8e9ba5!important;color:#22303b!important;box-shadow:none!important;
  }
  html[data-rb-theme="light"] body .page-slug-home .rb-home-entry-number{
    background:#fff!important;border-color:#9ba7b0!important;color:#a32828!important;box-shadow:none!important;
  }
  html[data-rb-theme="light"] body .page-slug-home .rb-home-parent-item strong,
html[data-rb-theme="light"] body .page-slug-home .rb-home-why-points strong,
html[data-rb-theme="light"] body .page-slug-home .rb-home-first-worries :is(h3,strong){color:#17212b!important}
  html[data-rb-theme="light"] body .page-slug-home .rb-home-parent-item p,
html[data-rb-theme="light"] body .page-slug-home .rb-home-first-worries li span{color:#3f4d59!important}
  html[data-rb-theme="light"] body .page-slug-home .rb-home-kids-offers>.service-grid>.service-card,
html[data-rb-theme="light"] body .page-slug-home .rb-home-other-offers>.service-grid>.service-card{
    background:linear-gradient(145deg,#f8fafb,#eaf0f3)!important;color:#17212b!important;
  }
  /* Trainingsangebote: dieselben Spartenkarten wie Dark, aber mit hellerer Bildwirkung und klarer Light-Typografie. */
  html[data-rb-theme="light"] body main.page-slug-home .services-section .services-section-sub{
    color:#263642!important;-webkit-text-fill-color:#263642!important;opacity:1!important;font-weight:720!important;
  }
  html[data-rb-theme="light"] body main.page-slug-home .services-section .service-grid-linked>.service-card.service-card-linked .service-media{
    background:#e5ebef!important;
  }
  html[data-rb-theme="light"] body main.page-slug-home .services-section .service-grid-linked>.service-card.service-card-linked .service-media:not(.is-placeholder)>img{
    filter:brightness(1.10) saturate(.98) contrast(.98)!important;
  }
  html[data-rb-theme="light"] body main.page-slug-home .services-section .service-grid-linked>.service-card.service-card-linked .service-media:not(.is-placeholder)::after{
    background:radial-gradient(ellipse 84% 78% at 50% 48%,rgba(255,255,255,0) 48%,rgba(255,255,255,.055) 67%,rgba(255,255,255,.14) 85%,rgba(255,255,255,.24) 100%)!important;
    box-shadow:inset 0 0 24px rgba(255,255,255,.10),inset 0 0 58px rgba(255,255,255,.07)!important;
  }
  html[data-rb-theme="light"] body main.page-slug-home .services-section .service-grid-linked>.service-card.service-card-linked .service-body h3{
    color:#141d25!important;-webkit-text-fill-color:#141d25!important;text-shadow:none!important;
  }
  html[data-rb-theme="light"] body main.page-slug-home .services-section .service-grid-linked>.service-card.service-card-linked .service-body p{
    color:#263642!important;-webkit-text-fill-color:#263642!important;opacity:1!important;
  }
  html[data-rb-theme="light"] body main.page-slug-home .services-section .service-grid-linked>.service-card.service-card-linked .offer-pill{
    background:linear-gradient(180deg,#f8fafb,#e4eaee)!important;border-color:#8e9ba5!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.9)!important;
  }
  html[data-rb-theme="light"] body main.page-slug-home .services-section .service-grid-linked>.service-card.service-card-linked .offer-price{
    background:linear-gradient(180deg,#fff1f1,#f1dede)!important;border-color:#b86a69!important;
  }
  html[data-rb-theme="light"] body main.page-slug-home .services-section .service-grid-linked>.service-card.service-card-linked .offer-pill small{
    color:#43525e!important;-webkit-text-fill-color:#43525e!important;
  }
  html[data-rb-theme="light"] body main.page-slug-home .services-section .service-grid-linked>.service-card.service-card-linked .offer-pill strong{
    color:#17212b!important;-webkit-text-fill-color:#17212b!important;
  }
  html[data-rb-theme="light"] body main.page-slug-home .services-section .service-grid-linked>.service-card.service-card-linked .offer-price strong{
    color:#7e2525!important;-webkit-text-fill-color:#7e2525!important;
  }
  /* Das große Trainingskarten-Foto bleibt als Bildkomponente erkennbar, wird im Light Theme aber sichtbar heller. */
  html[data-rb-theme="light"] body main.page-slug-home .services-section .rb-home-trainingcards{
    background:#dbe3e8!important;border-color:#667984!important;color:#17212b!important;
  }
  html[data-rb-theme="light"] body main.page-slug-home .services-section .rb-home-trainingcards__image{opacity:1!important;filter:brightness(1.20) saturate(.82) contrast(.90)!important}
  html[data-rb-theme="light"] body main.page-slug-home .services-section .rb-home-trainingcards__shade{
    background:linear-gradient(90deg,rgba(234,239,242,.90),rgba(234,239,242,.58) 58%,rgba(234,239,242,.28)),linear-gradient(0deg,rgba(220,228,233,.80),rgba(238,242,244,.18) 72%)!important;
  }
  html[data-rb-theme="light"] body main.page-slug-home .services-section .rb-home-trainingcards :is(h3,h4,p){color:#17212b!important;-webkit-text-fill-color:#17212b!important;text-shadow:none!important}
  html[data-rb-theme="light"] body main.page-slug-home .services-section .rb-home-trainingcards p{color:#263642!important;-webkit-text-fill-color:#263642!important;font-weight:650!important}
  html[data-rb-theme="light"] body main.page-slug-home .services-section .rb-home-trainingcards>div:last-child>span{
    background:#d7dee3!important;border-color:#7b8994!important;color:#6f1f1f!important;box-shadow:none!important;
  }
  html[data-rb-theme="light"] body .rb-training-card-page{color:#17212b!important}
  html[data-rb-theme="light"] body .rb-training-card-section{
    background:linear-gradient(145deg,#e8edf1,#dbe3e8)!important;border-color:#6c7d88!important;color:#17212b!important;
    box-shadow:0 9px 24px rgba(17,24,32,.08)!important;
  }
  html[data-rb-theme="light"] body .rb-training-card-hero{background:#d7e0e5!important}
  html[data-rb-theme="light"] body .rb-training-card-hero:before{filter:brightness(1.18) saturate(.82) contrast(.90)!important}
  html[data-rb-theme="light"] body .rb-training-card-hero:after{
    background:linear-gradient(90deg,rgba(232,238,241,.92),rgba(232,238,241,.62) 60%,rgba(232,238,241,.28)),linear-gradient(0deg,rgba(218,226,231,.82),rgba(238,242,244,.16) 66%)!important;
  }
  html[data-rb-theme="light"] body .rb-training-card-hero :is(h1,h3,p){color:#17212b!important;-webkit-text-fill-color:#17212b!important;text-shadow:none!important}
  html[data-rb-theme="light"] body .rb-training-card-hero .rb-training-card-hero-intro{color:#263642!important}
  html[data-rb-theme="light"] body .rb-training-card-kicker{background:#bc2625!important;border-color:#a42c2b!important;color:#fff!important}
  html[data-rb-theme="light"] body .rb-training-card-step,
html[data-rb-theme="light"] body .rb-training-card-price-card{
    background:#eef2f5!important;border-color:#83919b!important;color:#17212b!important;box-shadow:none!important;
  }
  html[data-rb-theme="light"] body .rb-training-card-step:nth-child(1),
html[data-rb-theme="light"] body .rb-training-card-step:nth-child(2),
html[data-rb-theme="light"] body .rb-training-card-step:nth-child(3){background:#e5ebef!important;border-color:#7c8a95!important}
  html[data-rb-theme="light"] body .rb-training-card-page :is(p,li){color:#2b3b47!important;opacity:1!important}
  html[data-rb-theme="light"] body .rb-training-card-price-row{border-top-color:#a8b2ba!important}
  html[data-rb-theme="light"] body .rb-training-card-duration{background:#e1e7eb!important;border-color:#8896a0!important;color:#17212b!important}
  html[data-rb-theme="light"] body main.page-slug-home .rb-home-school-ag{color:#46545f!important}
  html[data-rb-theme="light"] body main.page-slug-home .rb-home-school-ag a{color:#7a2525!important;border-bottom-color:rgba(122,37,37,.34)!important}
  html[data-rb-theme="light"] body main.page-slug-home .rb-home-school-ag a:hover,
html[data-rb-theme="light"] body main.page-slug-home .rb-home-school-ag a:focus-visible{color:#5f1c1c!important;border-bottom-color:#7a2525!important}

  /* Öffnungszeiten / Kontakt / Anfahrt. */
  html[data-rb-theme="light"] body .rb-home-hours__card{
    background:linear-gradient(160deg,#fff,#f4f7f9)!important;border-color:#b65a59!important;box-shadow:0 12px 30px rgba(17,24,32,.08)!important;
  }
  html[data-rb-theme="light"] body .rb-home-hours__head h2{color:#17212b!important}
  html[data-rb-theme="light"] body .rb-home-hours__day{background:#eef2f5!important;color:#273540!important;border-color:#aeb8c0!important}
  html[data-rb-theme="light"] body .rb-home-hours__day.is-today,
html[data-rb-theme="light"] body .rb-home-hours__time{background:#eef8f1!important;color:#23623c!important;border-color:#91bda0!important}
  html[data-rb-theme="light"] body .rb-home-hours__time.is-closed{background:#fff2f2!important;color:#8e2929!important;border-color:#d7a0a0!important}
  html[data-rb-theme="light"] body .page-slug-home .rb-home-location--variant-e,
html[data-rb-theme="light"] body :is(.rb-contact-location--variant-a,.rb-contact-location--variant-b,.rb-contact-location--variant-c,.rb-contact-location--variant-d){
    background:#fff!important;border-color:#87949f!important;color:#17212b!important;box-shadow:0 8px 22px rgba(17,24,32,.06)!important;
  }
  html[data-rb-theme="light"] body .rb-contact-location__group{background:#f8fafb!important;border-color:#9eabb5!important;border-top-color:#b94b4a!important}
  html[data-rb-theme="light"] body .rb-contact-location__group h3{color:#17212b!important}
  html[data-rb-theme="light"] body .rb-contact-location__row{border-bottom-color:#d2d8dd!important;color:#273540!important}
  html[data-rb-theme="light"] body .rb-contact-location__row strong{color:#46545f!important}
  html[data-rb-theme="light"] body .rb-contact-location__row a{color:#7f2424!important}
  html[data-rb-theme="light"] body .rb-map-heading{color:#17212b!important;text-shadow:none!important}

  /* Startseiten-Bewertungen: gleiche Slider-Logik, aber heller Rahmen und dunkle Schrift. */
  html[data-rb-theme="light"] body main.page-slug-home .rb-review-slider-title{
    color:#26313b!important;-webkit-text-fill-color:#26313b!important;text-shadow:none!important;
  }
  html[data-rb-theme="light"] body main.page-slug-home .rb-review-slider-title .rb-review-title-summary{
    background:rgba(255,255,255,.88)!important;border-color:#aeb8c0!important;color:#3f4d59!important;
    text-shadow:none!important;box-shadow:0 5px 14px rgba(17,24,32,.06)!important;
  }
  html[data-rb-theme="light"] body main.page-slug-home .rb-review-slider-title .rb-review-title-count{color:#9a7625!important}
  html[data-rb-theme="light"] body main.page-slug-home .rb-review-slider-title .rb-review-title-percent,
html[data-rb-theme="light"] body main.page-slug-home .rb-review-slider-title .rb-review-title-label{color:#3f4d59!important}
  html[data-rb-theme="light"] body main.page-slug-home .rb-review-slider-title .rb-review-title-stars{color:#e2b736!important;-webkit-text-fill-color:#e2b736!important}
  html[data-rb-theme="light"] body main.page-slug-home .rb-review-slider{
    background:linear-gradient(145deg,#f7f8fa,#eceff2)!important;border-color:#c18a89!important;
    box-shadow:0 13px 30px rgba(17,24,32,.08)!important;scrollbar-color:#bc2625 #dce1e5!important;
  }
  html[data-rb-theme="light"] body main.page-slug-home .rb-review-slider::-webkit-scrollbar-track{background:#dce1e5!important}
  html[data-rb-theme="light"] body main.page-slug-home .rb-review-slider::-webkit-scrollbar-thumb{border-color:#f0f2f4!important}
  html[data-rb-theme="light"] body main.page-slug-home .rb-review-slider:before{background:linear-gradient(90deg,#eef1f3,rgba(238,241,243,0))!important}
  html[data-rb-theme="light"] body main.page-slug-home .rb-review-slider:after{background:linear-gradient(270deg,#eef1f3,rgba(238,241,243,0))!important}
  html[data-rb-theme="light"] body main.page-slug-home .rb-review-slide-card{
    background:#fff!important;border-color:#d1b2b2!important;color:#15191d!important;box-shadow:0 9px 24px rgba(17,24,32,.09)!important;
  }
  html[data-rb-theme="light"] body main.page-slug-home .rb-review-slide-card :is(.rb-review-text,.rb-review-name){color:#171b1f!important}
  html[data-rb-theme="light"] body main.page-slug-home .rb-review-slide-card .rb-review-date{color:#64717c!important}
  html[data-rb-theme="light"] body main.page-slug-home .rb-review-slide-card .rb-review-course,
html[data-rb-theme="light"] body main.page-slug-home .rb-review-slide-card .rb-review-course-link{color:#9c2c2b!important}

  /* Bewertungen im Probetraining-Bereich. */
  html[data-rb-theme="light"] body .probetraining-review-card{background:#fff8f8!important;border-color:#d5a5a5!important}
  html[data-rb-theme="light"] body .probetraining-review-heading{color:#7e2525!important;-webkit-text-fill-color:#7e2525!important}
  html[data-rb-theme="light"] body .rb-review-inline-bubbles__bubble{background:#fff!important;border-color:#d9b6b6!important;box-shadow:0 7px 18px rgba(60,20,20,.07)!important}
  html[data-rb-theme="light"] body .rb-review-inline-bubbles__text{color:#222a31!important;-webkit-text-fill-color:#222a31!important;text-shadow:none!important}
  html[data-rb-theme="light"] body .rb-review-inline-bubbles__stars{color:#a92a29!important;-webkit-text-fill-color:#a92a29!important;text-shadow:none!important}
  html[data-rb-theme="light"] body .rb-review-inline-bubbles .rb-star.is-filled{background:none!important;color:#a92a29!important;-webkit-text-fill-color:#a92a29!important}
  html[data-rb-theme="light"] body .rb-review-inline-bubbles .rb-star.is-empty{color:#aeb5bb!important;-webkit-text-fill-color:#aeb5bb!important}

  /* Weitere öffentliche Seiten: helle Flächen mit sicherem Textkontrast. */
  html[data-rb-theme="light"] body .page-slug-warum-wir .rb-why-card p{color:#35434e!important}
  html[data-rb-theme="light"] body .page-slug-warum-wir .rb-why-proof p{color:#394752!important}
  html[data-rb-theme="light"] body .rb-logo-download .rb-logo-download-intro,
html[data-rb-theme="light"] body .rb-logo-download .rb-logo-download-card{
    background:linear-gradient(145deg,#fff,#f4f7f9)!important;border-color:#8d9aa4!important;color:#17212b!important;
    box-shadow:0 7px 20px rgba(17,24,32,.06)!important;
  }
  html[data-rb-theme="light"] body .rb-logo-download .rb-logo-download-intro{border-top-color:#b75b5a!important}
  html[data-rb-theme="light"] body .rb-logo-download :is(h2,h3){color:#17212b!important}
  html[data-rb-theme="light"] body .rb-logo-download .rb-logo-download-intro p,
html[data-rb-theme="light"] body .rb-logo-download .rb-logo-download-card p{color:#35434e!important}
  html[data-rb-theme="light"] body .rb-logo-download .rb-logo-download-note,
html[data-rb-theme="light"] body .rb-logo-download .rb-logo-download-footer-note{color:#52606b!important}
  html[data-rb-theme="light"] body .rb-ticket-card{background:#fff!important;border-color:#8d9aa4!important;color:#17212b!important}
  html[data-rb-theme="light"] body .rb-ticket-row{border-top-color:#b1bbc3!important}
  html[data-rb-theme="light"] body .rb-price-value{color:#17212b!important}
  html[data-rb-theme="light"] body .rb-price-meta{color:#46545f!important;opacity:1!important}
  html[data-rb-theme="light"] body .rb-past-events{border-top-color:#a7b1b9!important}
  html[data-rb-theme="light"] body .rb-past-events>summary{color:#17212b!important}

  /* Weitere Dark-Komponenten derselben Website werden im Light Theme als dieselben Karten übersetzt. */
  html[data-rb-theme="light"] body .page-slug-home .contact-role-card,
html[data-rb-theme="light"] body .behind-board-grid .behind-board-person,
html[data-rb-theme="light"] body .behind-board-contact-grid .behind-board-person,
html[data-rb-theme="light"] body .press-link-card{
    background:linear-gradient(145deg,#f6f8f9,#e8edf1)!important;
    border-color:#84929d!important;color:#141d25!important;
    box-shadow:0 7px 18px rgba(17,24,32,.06)!important;
  }
  html[data-rb-theme="light"] body .behind-board-grid .behind-board-person :is(strong,span),
html[data-rb-theme="light"] body .behind-board-contact-grid .behind-board-person strong,
html[data-rb-theme="light"] body .press-link-card strong{color:#141d25!important;-webkit-text-fill-color:#141d25!important}
  html[data-rb-theme="light"] body .behind-board-contact-grid .behind-board-person a,
html[data-rb-theme="light"] body .press-link-card small{color:#40505c!important;-webkit-text-fill-color:#40505c!important;opacity:1!important}
  html[data-rb-theme="light"] body .behind-board-grid button.behind-board-person:hover,
html[data-rb-theme="light"] body .behind-board-grid button.behind-board-person:focus-visible,
html[data-rb-theme="light"] body .press-link-card:hover{background:#e7ecef!important;border-color:#b14e4d!important}
  html[data-rb-theme="light"] body .behind-board-contact-grid .behind-board-person a:hover{color:#7b2323!important}

  html[data-rb-theme="light"] body .rb-seo-faq-box .rb-faq-item{border-top-color:#aab5bd!important}
  html[data-rb-theme="light"] body .rb-seo-faq-box .rb-faq-item:first-of-type{border-top-color:transparent!important}

  /* Seiten mit eingebettetem Seitendesign: feste Dark-Schriftwerte ebenfalls mitübersetzen. */
  html[data-rb-theme="light"] body .page-slug-mitgliedschaften-verbaende .rb-membership-lead-v1056 p,
html[data-rb-theme="light"] body .page-slug-mitgliedschaften-verbaende .rb-membership-copy-v1056{color:#35434e!important;-webkit-text-fill-color:#35434e!important}
  html[data-rb-theme="light"] body .page-slug-mitgliedschaften-verbaende .rb-membership-card-v1056 h2 a{color:#141d25!important;-webkit-text-fill-color:#141d25!important}
  html[data-rb-theme="light"] body .page-slug-mitgliedschaften-verbaende .rb-membership-badge-v1056{
    background:#e8f5ec!important;border-color:#86b995!important;color:#245d38!important;-webkit-text-fill-color:#245d38!important;
  }
  html[data-rb-theme="light"] body .page-slug-mitgliedschaften-verbaende .rb-membership-finish-v1056{
    background:#e9eef2!important;border-color:#87949f!important;color:#31404c!important;-webkit-text-fill-color:#31404c!important;
  }

  /* Formulare. */
  html[data-rb-theme="light"] body label{color:#26343f!important}
  html[data-rb-theme="light"] body input:not([type="checkbox"]):not([type="radio"]),
html[data-rb-theme="light"] body select,
html[data-rb-theme="light"] body textarea{
    background:#f8fafb!important;color:#141d25!important;-webkit-text-fill-color:#141d25!important;border:2px solid #7d8b96!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.82),0 2px 6px rgba(17,24,32,.045)!important;
  }
  html[data-rb-theme="light"] body input::placeholder,
html[data-rb-theme="light"] body textarea::placeholder{color:#4d5c68!important;-webkit-text-fill-color:#4d5c68!important;opacity:1!important}
  html[data-rb-theme="light"] body :is(input,select,textarea):focus{border-color:#a82d2d!important;box-shadow:0 0 0 3px rgba(188,38,37,.13)!important}

  /* Aufklappflächen / FAQ: dieselbe Tiefenlogik wie im Dark-Modus, nur hell. */
  html[data-rb-theme="light"] body .faq-item{
    background:#dce4e9!important;border-color:#657783!important;box-shadow:0 7px 18px rgba(17,24,32,.06)!important;
  }
  html[data-rb-theme="light"] body .faq-question{background:#e5ebef!important;color:#111820!important;-webkit-text-fill-color:#141d25!important}
  html[data-rb-theme="light"] body .faq-item[open]>.faq-question{background:#d2dce2!important}
  html[data-rb-theme="light"] body .faq-item .faq-answer,
html[data-rb-theme="light"] body .faq-item[open] .faq-answer{
    background:#e8edf1!important;border-top:2px solid #7f8d98!important;color:#24333f!important;-webkit-text-fill-color:#283743!important;opacity:1!important;
  }
  html[data-rb-theme="light"] body .faq-item .faq-answer :is(p,span,li,strong){color:inherit!important;-webkit-text-fill-color:currentColor!important}

  /* Erstes Training: Dark-Karten werden als erkennbare helle Gegenstücke übersetzt. */
  html[data-rb-theme="light"] body .page-slug-erstes-training :is(.list-card,.step){
    background:linear-gradient(145deg,#eef2f5,#e1e7eb)!important;border-color:#7d8b96!important;color:#141d25!important;
    box-shadow:0 7px 18px rgba(17,24,32,.065)!important;
  }
  html[data-rb-theme="light"] body .page-slug-erstes-training :is(.list-card,.step) :is(h3,strong){color:#141d25!important;-webkit-text-fill-color:#141d25!important}
  html[data-rb-theme="light"] body .page-slug-erstes-training :is(.list-card,.step) p{color:#31404c!important;-webkit-text-fill-color:#31404c!important;opacity:1!important}

  /* Freie Inhaltsblöcke: dieselbe Komponente wie Dark, im Light-Theme mit klarer lesbarer Typografie. */
  html[data-rb-theme="light"] body :is(.trainer-page-card,.trainer-quote-box,.rb-kids-youth-page,.rb-seo-service-page,.rb-service-body,.rb-service-content) :is(h2,h3,h4,strong){color:#17212b!important;-webkit-text-fill-color:currentColor!important;text-shadow:none!important}
  html[data-rb-theme="light"] body :is(.trainer-page-card,.trainer-quote-box,.rb-kids-youth-page,.rb-seo-service-page,.rb-service-body,.rb-service-content) :is(p,li,span:not(.badge)){color:#30404b!important;-webkit-text-fill-color:currentColor!important;opacity:1!important}
  html[data-rb-theme="light"] body .trainer-quote-box{background:linear-gradient(135deg,#e5ebef,#dbe3e8)!important;border-color:#7b8994!important;box-shadow:0 10px 26px rgba(17,24,32,.08)!important}
  html[data-rb-theme="light"] body .trainer-quote-box p{font-weight:700!important}

  /* Kontakt/Probetraining: Inputs bleiben auch auf weißen Karten sichtbar. */
  html[data-rb-theme="light"] body .page-slug-kontakt .rb-contact-form-card :is(input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),select,textarea),
html[data-rb-theme="light"] body .page-slug-probetraining .probetraining-form-card :is(input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),select,textarea){
    border:2px solid #71808b!important;background:#f5f8fa!important;color:#141d25!important;-webkit-text-fill-color:#141d25!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.86),0 2px 7px rgba(17,24,32,.055)!important;opacity:1!important;
  }
  html[data-rb-theme="light"] body .page-slug-kontakt .rb-contact-form-card :is(input,select,textarea):focus,
html[data-rb-theme="light"] body .page-slug-probetraining .probetraining-form-card :is(input,select,textarea):focus{
    border-color:#a52a29!important;background:#fff!important;box-shadow:0 0 0 3px rgba(188,38,37,.14),0 3px 10px rgba(17,24,32,.07)!important;
  }
  html[data-rb-theme="light"] body .page-slug-kontakt .rb-contact-form-card :is(label,.help),
html[data-rb-theme="light"] body .page-slug-probetraining .probetraining-form-card :is(label,.help){color:#263642!important;opacity:1!important}

  /* Tabellen. */
  html[data-rb-theme="light"] body .table-wrap{background:#fff!important;border-color:#87949f!important}
  html[data-rb-theme="light"] body .table{background:#fff!important;color:#17212b!important}
  html[data-rb-theme="light"] body .table th{background:#edf2f5!important;color:#273541!important;border-bottom-color:#87949f!important}
  html[data-rb-theme="light"] body .table td{color:#26343f!important;border-bottom-color:#a7b1b9!important}
  html[data-rb-theme="light"] body .table tbody tr:hover td{background:#f4f7f9!important}

  /* Trainingszeiten: dieselbe Tabellenlogik wie Dark, nur hell uebersetzt.
     Die sticky Uhrzeit-Spalte darf im Light-Theme nicht schwarz bleiben. */
  html[data-rb-theme="light"] body .schedule-wrapper{background:#f8fafb!important;border-color:#87949f!important}
  html[data-rb-theme="light"] body .schedule{background:#f8fafb!important;color:#17212b!important}
  html[data-rb-theme="light"] body .schedule th{background:#e7edf1!important;color:#1f2c36!important;border-bottom-color:#87949f!important}
  html[data-rb-theme="light"] body .schedule th:first-child{background:#dfe6eb!important;color:#18232d!important;border-right:1px solid #98a5af!important}
  html[data-rb-theme="light"] body .schedule td{background:#f8fafb!important;color:#26343f!important;border-bottom-color:#a7b1b9!important}
  html[data-rb-theme="light"] body .schedule td.time,
html[data-rb-theme="light"] body .schedule .time{background:#eef2f5!important;color:#18232d!important;border-right:1px solid #a7b1b9!important}
  html[data-rb-theme="light"] body .schedule .time .schedule-time-pill,
html[data-rb-theme="light"] body .schedule td.time .schedule-time-pill{
    background:linear-gradient(180deg,#fff,#e9eef2)!important;
    color:#18232d!important;
    border-color:color-mix(in srgb,var(--time-row-color,#bc2625) 58%,#87949f 42%)!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.9),0 4px 10px rgba(17,24,32,.07)!important;
  }
  html[data-rb-theme="light"] body .schedule tr:hover td{background:#f1f5f7!important}
  html[data-rb-theme="light"] body .schedule tr:hover td.time{background:#e6ecef!important}

  /* Trainings-/Spartenseiten. */
  html[data-rb-theme="light"] body :is(.rb-seo-service-hero,.rb-seo-benefit-card,.rb-seo-local-card,.rb-seo-faq-box,.rb-service-times-card,.rb-service-final--variant-b,.rb-age-class-card,.rb-story-card){
    background:linear-gradient(145deg,#fff,#f7f9fb)!important;border-color:#8d9aa4!important;border-top-color:#b75b5a!important;color:#17212b!important;box-shadow:0 7px 20px rgba(17,24,32,.055)!important;
  }
  html[data-rb-theme="light"] body :is(.rb-seo-service-hero,.rb-seo-benefit-card,.rb-seo-local-card,.rb-seo-faq-box,.rb-service-times-card,.rb-service-final--variant-b,.rb-age-class-card,.rb-story-card) :is(h2,h3,h4,strong){color:#17212b!important}
  html[data-rb-theme="light"] body :is(.rb-seo-service-hero,.rb-seo-benefit-card,.rb-seo-local-card,.rb-seo-faq-box,.rb-service-times-card,.rb-service-final--variant-b,.rb-age-class-card,.rb-story-card) :is(p,li,span){color:#394752!important}
  html[data-rb-theme="light"] body .rb-seo-facts-grid>div{background:#f7f9fb!important;border-color:#b7c0c8!important;color:#17212b!important}
  html[data-rb-theme="light"] body .rb-seo-facts-grid small{color:#52606b!important}
  html[data-rb-theme="light"] body .rb-service-times-card>.rb-service-times-intro{color:#4a5864!important}
  html[data-rb-theme="light"] body .rb-service-time-row{background:#f7f9fb!important;border-color:#b7c0c8!important;border-left-color:var(--rb-service-time-color,#bc2625)!important;color:#17212b!important}
  html[data-rb-theme="light"] body .rb-service-time-row small{color:#4a5864!important}

  /* Schließtage / Galerie / Consent. */
  html[data-rb-theme="light"] body :is(.rb-closures,.rb-closures__calendar,.rb-closures__week-day,.rb-closures__upcoming-card){background:#fff!important;border-color:#98a5af!important;color:#17212b!important}
  html[data-rb-theme="light"] body .rb-closures__week-day{background:#f7f9fb!important}
  html[data-rb-theme="light"] body .rb-closures__week-day small,
html[data-rb-theme="light"] body .rb-closures__week-day span,
html[data-rb-theme="light"] body .rb-closures__upcoming-card small,
html[data-rb-theme="light"] body .rb-closures__weekdays span{color:#52606b!important}
  html[data-rb-theme="light"] body .rb-closures__week-day.is-closed span,
html[data-rb-theme="light"] body .rb-closures__upcoming-card span{color:#8b2b2b!important}
  html[data-rb-theme="light"] body :is(.rb-closures__status p,.rb-closures__section-head p){color:#46545f!important}
  html[data-rb-theme="light"] body .rb-closures__week-count{background:#eef2f5!important;border-color:#98a5af!important;color:#394752!important}
  html[data-rb-theme="light"] body :is(.rb-gallery-caption,.rb-gallery-status){color:#4a5864!important}
  html[data-rb-theme="light"] body .rb-gallery-item{background:#fff!important;border-color:#8d9aa4!important;box-shadow:0 8px 22px rgba(17,24,32,.07)!important}
  html[data-rb-theme="light"] body .rb-gallery-caption strong{color:#17212b!important}
  html[data-rb-theme="light"] body .rb-gallery-caption p{color:#394752!important}
  html[data-rb-theme="light"] body .rb-gallery-single-link{color:#7a2525!important}
  html[data-rb-theme="light"] body .rb-gallery-pagination .rb-gallery-ellipsis{color:#52606b!important}
  html[data-rb-theme="light"] body .rb-gallery-status strong{color:#17212b!important}
  html[data-rb-theme="light"] body .rb-gallery-status>span:last-child{background:#fff3f3!important;border-color:#ce8d8c!important;color:#6f2b2b!important;box-shadow:none!important}
  html[data-rb-theme="light"] body .rb-gallery-pagination a,
html[data-rb-theme="light"] body .rb-gallery-pagination span.rb-gallery-page-current{background:#fff!important;border-color:#9eabb4!important;color:#273540!important}
  html[data-rb-theme="light"] body .rb-gallery-pagination .rb-gallery-page-current{background:#fff1f1!important;border-color:#b84b4a!important;color:#7f2424!important;text-shadow:none!important;box-shadow:none!important}
  html[data-rb-theme="light"] body .rb-recaptcha-consent,
html[data-rb-theme="light"] body .rb-map-gate__placeholder{background:#f7f9fb!important;border-color:#8d9aa4!important;color:#394752!important}
  html[data-rb-theme="light"] body .rb-map-gate__placeholder strong{color:#17212b!important}

  /* Modals: Dialog hell, Backdrop bewusst dunkel. */
  html[data-rb-theme="light"] body #cookieBanner.rb-cookie,
html[data-rb-theme="light"] body #rbSparringInfoModal .rb-sparring-modal-dialog,
html[data-rb-theme="light"] body :is(.board-contact-dialog,.board-modal-dialog,.event-flyer-dialog,.event-modal-dialog,.offer-schedule-modal-dialog,.review-modal-dialog,.trial-detail-dialog,.rb-review-modal__dialog){
    background:#f2f5f7!important;border-color:#778691!important;color:#17212b!important;box-shadow:0 28px 70px rgba(17,24,32,.24)!important;
  }
  html[data-rb-theme="light"] body #cookieBanner.rb-cookie :is(p,small,span,#rbCookieText){color:#2f3e49!important;-webkit-text-fill-color:currentColor!important}
  html[data-rb-theme="light"] body #cookieBanner.rb-cookie #rbCookieTitle{color:#111820!important}
  html[data-rb-theme="light"] body #cookieBanner.rb-cookie a{color:#8a2727!important;text-decoration-color:#b65a59!important}
  html[data-rb-theme="light"] body #rbSparringInfoModal .rb-sparring-modal-dialog :is(h2,h3,strong),
html[data-rb-theme="light"] body :is(.board-contact-dialog,.board-modal-dialog,.event-modal-dialog,.offer-schedule-modal-dialog,.review-modal-dialog,.trial-detail-dialog,.rb-review-modal__dialog) :is(h2,h3,strong){color:#17212b!important}
  html[data-rb-theme="light"] body #rbSparringInfoModal .rb-sparring-modal-sub,
html[data-rb-theme="light"] body #rbSparringInfoModal .rb-sparring-modal-note,
html[data-rb-theme="light"] body :is(.board-contact-dialog,.board-modal-dialog,.event-modal-dialog,.offer-schedule-modal-dialog,.review-modal-dialog,.trial-detail-dialog,.rb-review-modal__dialog) :is(p,small,.help,.muted){color:#394752!important}

  /* Gewichtsklassen. */
  html[data-rb-theme="light"] body .page-slug-gewichtsklassen .rb-weight-welcome-v1276{background:linear-gradient(135deg,#fff1f1,#fff)!important;border-color:#b75f5f!important}
  html[data-rb-theme="light"] body .page-slug-gewichtsklassen .rb-weight-kicker-v1276{color:#8d2424!important}
  html[data-rb-theme="light"] body .page-slug-gewichtsklassen :is(.rb-weight-welcome-v1276 p,.rb-weight-card-head-v1276 p,.rb-weight-trainer-note-v1276,.rb-weight-rule-v1276 span,.rb-weight-oz-v1276 small){color:#3f4d59!important}
  html[data-rb-theme="light"] body .page-slug-gewichtsklassen :is(.rb-weight-quick-v1276 span,.rb-weight-card-head-v1276>span,.rb-weight-oz-v1276 span){background:#f7f9fb!important;border-color:#9aa5af!important;color:#17212b!important}
  html[data-rb-theme="light"] body .page-slug-gewichtsklassen .rb-weight-jump-v1276 a{background:#fff!important;border-color:#87949f!important;color:#26343f!important}
  html[data-rb-theme="light"] body .page-slug-gewichtsklassen .rb-weight-table-v1276 th{background:#e9eef2!important;color:#273541!important;border-color:#87949f!important}
  html[data-rb-theme="light"] body .page-slug-gewichtsklassen .rb-weight-table-v1276 td{background:#fff!important;color:#17212b!important;border-color:#b7c0c8!important}
  html[data-rb-theme="light"] body .page-slug-gewichtsklassen .rb-weight-table-v1276 tbody tr:nth-child(even) td{background:#f7f9fb!important}
  html[data-rb-theme="light"] body .page-slug-gewichtsklassen .rb-weight-table-v1276 td:last-child{color:#812626!important}
  html[data-rb-theme="light"] body .page-slug-gewichtsklassen .rb-weight-rule-v1276{background:#fff8e8!important;border-color:#bd9b4e!important;color:#4f3b10!important}

  /* Footer: Struktur bleibt gleich. Social Media behält Markenfarben/Wiedererkennung. */
  html[data-rb-theme="light"] body .footer{background:#d8e0e5!important;border-top-color:#74838f!important;color:#1b2934!important}
  html[data-rb-theme="light"] body .footer-meta,
html[data-rb-theme="light"] body .footer-meta :is(p,small,span){color:#394752!important}
  html[data-rb-theme="light"] body .footer .hero-actions a{color:#26343f!important}
  html[data-rb-theme="light"] body .footer .social-row a{background:rgba(255,255,255,.28)!important;border-color:rgba(72,84,96,.10)!important;color:#3d4a55!important;box-shadow:none!important}
  html[data-rb-theme="light"] body .footer .social-row a:hover{background:rgba(255,255,255,.58)!important;border-color:rgba(72,84,96,.20)!important}
  html[data-rb-theme="light"] body .footer .social-row .social-icon-phone{color:#3d4a55!important}
  html[data-rb-theme="light"] body .footer .social-row .social-icon-whatsapp{color:#25D366!important}
  html[data-rb-theme="light"] body .footer .social-row .social-icon-facebook{color:#1877F2!important}
  html[data-rb-theme="light"] body .footer .social-row .social-icon-instagram{color:#E4405F!important}
  html[data-rb-theme="light"] body .footer .social-row .social-icon-tiktok{color:#111820!important}
  html[data-rb-theme="light"] body .footer .social-row .social-icon-youtube{color:#FF0000!important}
  html[data-rb-theme="light"] body .footer .social-row .social-label{color:#3d4a55!important}

  /* Kleine Resttexte und Links. */
  html[data-rb-theme="light"] body main.site-main a:not(.btn):not(.service-card-link):not(.rb-gallery-open){color:#7e2626}
  html[data-rb-theme="light"] body main.site-main :is(.muted,.subtle,.meta,.caption){color:#46545f!important}
}


/* v1341 – finaler Light-Feinschliff: Dark-Struktur bleibt unangetastet,
 * Light bekommt dieselbe Hierarchie mit hellen Flächen und kräftigen Texten. */
.rb-public-theme-toggle--desktop{display:none!important}
@media(min-width:901px){
  .topbar.rb-header-original-fixed .rb-public-header-actions{display:none!important}
  .topbar.rb-header-original-fixed .main-nav>.rb-public-theme-toggle--desktop{
    display:inline-flex!important;width:42px!important;height:40px!important;min-width:42px!important;min-height:40px!important;
    padding:0!important;margin:0 4px 0 0!important;border-radius:14px!important;flex:0 0 42px!important;
  }
}
@media(max-width:900px){
  .topbar.rb-header-original-fixed .main-nav>.rb-public-theme-toggle--desktop{display:none!important}
  .topbar.rb-header-original-fixed .rb-public-theme-toggle--mobile{display:inline-flex!important}
}

/* Popup-Kopfzone: X bleibt immer oberhalb der Trennlinie und nie im Textfluss. */
html body #cookieBanner.rb-cookie,
html body #rbSparringInfoModal .rb-sparring-modal-dialog{padding-top:78px!important}
html body #cookieBanner.rb-cookie::after{
  content:""!important;position:absolute!important;top:64px!important;left:0!important;right:0!important;height:1px!important;
  background:rgba(255,255,255,.12)!important;pointer-events:none!important;z-index:10010!important;
}
html body #cookieClose,
html body #rbSparringInfoModal .rb-sparring-modal-dialog>.rb-sparring-modal-head>.rb-sparring-modal-close,
html body .offer-schedule-modal-dialog>.offer-schedule-modal-close,
html body .rb-review-modal__dialog>.rb-review-modal__close,
html body .event-flyer-dialog>.event-flyer-close,
html body .board-contact-dialog>.board-contact-close,
html body .trial-detail-dialog>.trial-detail-close,
html body .gallery-lightbox__dialog>.gallery-lightbox__close{
  position:absolute!important;top:11px!important;right:12px!important;left:auto!important;bottom:auto!important;
  float:none!important;margin:0!important;transform:none!important;translate:none!important;
}
@media(max-width:640px){
  html body #cookieBanner.rb-cookie,
html body #rbSparringInfoModal .rb-sparring-modal-dialog{padding-top:68px!important}
  html body #cookieBanner.rb-cookie::after{top:56px!important}
}

@media screen {
  html[data-rb-theme="light"]{
    --rb-public-surface:#ffffff;
    --rb-public-surface-soft:#f2f5f7;
    --rb-public-surface-alt:#e8edf0;
    --rb-public-border:var(--rb-ui-border-strong);
    --rb-public-border-soft:var(--rb-ui-border);
    --rb-public-text:#101820;
    --rb-public-muted:#293944;
    --rb-public-faint:#3e4d58;
  }
  html[data-rb-theme="light"] body{
    color:#101820!important;
    background:linear-gradient(180deg,#f6f7f8 0%,#eceff1 48%,#e4e8eb 100%)!important;
  }
  html[data-rb-theme="light"] body :is(.section-sub,.help,.service-body p,.feature-item p,.content-box p,.content-box li,.section-card p,.section-card li){
    color:#293944!important;-webkit-text-fill-color:currentColor!important;opacity:1!important;
  }
  html[data-rb-theme="light"] body main.site-main :is(.muted,.subtle,.meta,.caption){color:#3e4d58!important;opacity:1!important}

  /* Header-Schalter direkt links neben Startseite, ohne sichtbaren Text. */
  html[data-rb-theme="light"] body .topbar.rb-header-original-fixed .main-nav>.rb-public-theme-toggle--desktop{
    background:#fff!important;border:1px solid var(--rb-ui-border)!important;color:#202d37!important;box-shadow:0 2px 7px rgba(17,24,32,.05)!important;
  }
  html[data-rb-theme="light"] body .topbar.rb-header-original-fixed .main-nav>.rb-public-theme-toggle--desktop:hover,
html[data-rb-theme="light"] body .topbar.rb-header-original-fixed .main-nav>.rb-public-theme-toggle--desktop:focus-visible{
    background:var(--rb-ui-hover)!important;border-color:var(--rb-ui-border-strong)!important;color:#101820!important;
  }

  /* Startseiten-Aufklapper: Pfeile im Hellmodus wirklich dunkel. */

  /* Angebote: Wochenhinweis und Erklärungstexte auf allen Karten kontraststark. */
  html[data-rb-theme="light"] body .page-slug-angebote .offers-overview-lead,
html[data-rb-theme="light"] body .page-slug-angebote .offers-service-card .service-body>p,
html[data-rb-theme="light"] body .page-slug-angebote .offers-service-card .service-body p{
    color:#24333e!important;-webkit-text-fill-color:#24333e!important;opacity:1!important;font-weight:650!important;
  }
  html[data-rb-theme="light"] body .page-slug-angebote .offers-service-card .service-body h3,
html[data-rb-theme="light"] body .page-slug-angebote .offers-service-card .offer-title-link{color:#111820!important;-webkit-text-fill-color:#111820!important}
  html[data-rb-theme="light"] body .page-slug-angebote .offer-weekly-trigger{
    background:#eef2f4!important;border-color:#6e7c87!important;color:#17212b!important;box-shadow:none!important;
  }
  html[data-rb-theme="light"] body .page-slug-angebote .offer-weekly-trigger span{color:#17212b!important;-webkit-text-fill-color:#17212b!important}

  /* Kontakt: Inputs, Dropdown-Optionen und Mail-/Telefonzeilen bleiben vollständig hell. */
  html[data-rb-theme="light"] body .page-slug-kontakt .rb-contact-form-card,
html[data-rb-theme="light"] body .page-slug-kontakt .rb-contact-location--variant-a,
html[data-rb-theme="light"] body .page-slug-kontakt .rb-contact-location__group{background:#fff!important;color:#101820!important}
  html[data-rb-theme="light"] body .page-slug-kontakt .rb-contact-form-card :is(input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),select,textarea){
    background:#fff!important;color:#101820!important;-webkit-text-fill-color:#101820!important;border-color:#697984!important;
  }
  html[data-rb-theme="light"] body .page-slug-kontakt .rb-contact-form-card select option{background:#fff!important;color:#101820!important}
  html[data-rb-theme="light"] body .page-slug-kontakt .rb-contact-location__row :is(span,a){color:#263640!important;-webkit-text-fill-color:#263640!important;background:transparent!important}
  html[data-rb-theme="light"] body .page-slug-kontakt .rb-contact-location__row a{color:#762222!important;text-decoration-color:#a95050!important}

  /* Trainer: der rosa/pinke Übergang um das Foto entfällt im Light-Theme. */
  html[data-rb-theme="light"] body .page-slug-trainer .trainer-profile-card{
    background:linear-gradient(145deg,#ffffff,#edf1f3)!important;border-color:#788792!important;
    box-shadow:0 12px 30px rgba(17,24,32,.09)!important;
  }
  html[data-rb-theme="light"] body .page-slug-trainer .trainer-profile-photo{
    background:#e8ecef!important;border-color:#83909a!important;
    box-shadow:inset 0 0 0 1px rgba(17,24,32,.05),0 12px 24px rgba(17,24,32,.11)!important;
  }
  html[data-rb-theme="light"] body .page-slug-trainer .trainer-profile-text p{color:#293944!important;-webkit-text-fill-color:#293944!important}

  /* Events: kein schwarzer Beschreibungsblock, klarerer Aufklappbutton. */
  html[data-rb-theme="light"] body .page-slug-events .event-card{background:#fff!important;border-color:#768590!important;color:#101820!important}
  html[data-rb-theme="light"] body .page-slug-events .event-body :is(h3,.event-location,.event-meta){color:#24333e!important;-webkit-text-fill-color:currentColor!important}
  html[data-rb-theme="light"] body .page-slug-events .rb-event-description{
    margin-top:10px!important;border:1px solid #83919b!important;border-radius:14px!important;background:#f7f9fa!important;color:#24333e!important;overflow:hidden!important;
  }
  html[data-rb-theme="light"] body .page-slug-events .rb-event-description>summary{
    display:flex!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;
    min-height:44px!important;padding:10px 12px!important;background:#edf1f3!important;color:#111820!important;-webkit-text-fill-color:#111820!important;font-weight:900!important;cursor:pointer!important;
  }
  html[data-rb-theme="light"] body .page-slug-events .rb-event-description>div{
    padding:12px 14px!important;border-top:1px solid #a6b0b7!important;background:#fff!important;color:#293944!important;-webkit-text-fill-color:#293944!important;line-height:1.6!important;
  }

  /* Popup-Trennlinien im Hellmodus dunkel genug sichtbar. */
  html[data-rb-theme="light"] body #cookieBanner.rb-cookie::after,
html[data-rb-theme="light"] body #rbSparringInfoModal .rb-sparring-modal-dialog::after,
html[data-rb-theme="light"] body :is(.gallery-lightbox__dialog,.event-flyer-dialog,.board-contact-dialog,.trial-detail-dialog,.offer-schedule-modal-dialog,.rb-review-modal__dialog)::after{
    background:rgba(17,24,32,.18)!important;
  }
  html[data-rb-theme="light"] body #rbSparringInfoModal .rb-sparring-info-list li{
    background:#fff!important;border-color:#a3adb5!important;color:#263640!important;
  }
  html[data-rb-theme="light"] body #rbSparringInfoModal .rb-sparring-modal-note{
    background:#fff3f3!important;border-color:#d4a1a1!important;color:#5d2a2a!important;
  }
}


/* v1342 – Light-Hotfix: Angebote behalten ihre Fachfarben, bleiben aber hell und lesbar. */
@media screen {
  html[data-rb-theme="light"] body .page-slug-angebote .offers-service-card{
    background:linear-gradient(145deg,#ffffff,#eef3f6)!important;
    box-shadow:0 10px 26px rgba(17,24,32,.08),inset 0 1px 0 rgba(255,255,255,.78)!important;
  }
  html[data-rb-theme="light"] body .page-slug-angebote .offers-service-card .service-media{
    background:linear-gradient(180deg,color-mix(in srgb,var(--service-color,#bc2625) 12%,#f9fbfc),#edf2f5)!important;
  }
  html[data-rb-theme="light"] body .page-slug-angebote .offers-service-card .service-body h3,
html[data-rb-theme="light"] body .page-slug-angebote .offers-service-card .offer-title-link{
    color:color-mix(in srgb,var(--service-color,#bc2625) 72%,#101820)!important;
    -webkit-text-fill-color:color-mix(in srgb,var(--service-color,#bc2625) 72%,#101820)!important;
    text-shadow:none!important;
  }
  html[data-rb-theme="light"] body .page-slug-angebote .offers-service-card .offer-weekly-trigger{
    background:color-mix(in srgb,var(--service-color,#bc2625) 10%,#ffffff)!important;
    border-color:color-mix(in srgb,var(--service-color,#bc2625) 36%,#72808b)!important;
    color:color-mix(in srgb,var(--service-color,#bc2625) 78%,#101820)!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.78)!important;
  }
  html[data-rb-theme="light"] body .page-slug-angebote .offers-service-card .offer-weekly-trigger span{
    color:color-mix(in srgb,var(--service-color,#bc2625) 78%,#101820)!important;
    -webkit-text-fill-color:color-mix(in srgb,var(--service-color,#bc2625) 78%,#101820)!important;
  }
  html[data-rb-theme="light"] body .page-slug-angebote .offers-service-card .offer-pill{
    background:color-mix(in srgb,var(--service-color,#bc2625) 8%,#f8fafb)!important;
    border-color:color-mix(in srgb,var(--service-color,#bc2625) 24%,#93a0aa)!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.84)!important;
  }
  html[data-rb-theme="light"] body .page-slug-angebote .offers-service-card .offer-pill small{
    color:#42515d!important;
    -webkit-text-fill-color:#42515d!important;
  }
  html[data-rb-theme="light"] body .page-slug-angebote .offers-service-card .offer-pill strong{
    color:color-mix(in srgb,var(--service-color,#bc2625) 66%,#101820)!important;
    -webkit-text-fill-color:color-mix(in srgb,var(--service-color,#bc2625) 66%,#101820)!important;
  }
  html[data-rb-theme="light"] body .page-slug-home .services-section .service-grid-linked>.service-card.service-card-linked[style*="--service-color"] .service-body h3{
    color:color-mix(in srgb,var(--service-color,#bc2625) 68%,#101820)!important;
    -webkit-text-fill-color:color-mix(in srgb,var(--service-color,#bc2625) 68%,#101820)!important;
  }
  html[data-rb-theme="light"] body .page-slug-home .services-section .service-grid-linked>.service-card.service-card-linked[style*="--service-color"] .offer-pill{
    border-color:color-mix(in srgb,var(--service-color,#bc2625) 22%,#8e9ba5)!important;
    background:color-mix(in srgb,var(--service-color,#bc2625) 7%,#f8fafb)!important;
  }
}


/* v1342 – Startseiten-Aufklapper im Light Theme: alle realen SVG-Pfeilvarianten schwarz.
 * Diese Selektoren sind bewusst spezifischer als die historischen layout.css-Regeln mit stroke:#fff!important. */



/* v1342 – Light-Logik fuer neutrale Aufklappflaechen:
 * helle/offwhite Flaeche, dunkler Text, schwarzer Pfeil und dezenter grauer Border.
 * Fach-/Statusfarben bleiben davon unberuehrt. */
@media screen {
  
  
  html[data-rb-theme="light"] body main.page-slug-home details.rb-home-fold > .rb937-head{
    background:#f7f9fa!important;
    background-image:none!important;
    color:#111820!important;
    -webkit-text-fill-color:#111820!important;
    text-shadow:none!important;
  }
  html[data-rb-theme="light"] body main.page-slug-home details.rb-home-fold > .rb937-head :is(span,strong,b) {
    color:#111820!important;
    -webkit-text-fill-color:#111820!important;
    text-shadow:none!important;
  }
  html[data-rb-theme="light"] body main.page-slug-home details.rb-home-fold > summary:hover{
    background:#eef2f4!important;
  }
  html[data-rb-theme="light"] body main.page-slug-home details.rb-home-fold > summary:focus-visible{
    background:#eef2f4!important;
  }
  html[data-rb-theme="light"] body main.page-slug-home details.rb-home-fold > .rb937-head:hover,
html[data-rb-theme="light"] body main.page-slug-home details.rb-home-fold > .rb937-head:focus-visible{
    background:#eef2f4!important;
  }
  
  html[data-rb-theme="light"] body main.page-slug-home details.rb-home-fold[open] > .rb937-head{
    background:#f2f5f7!important;
    color:#111820!important;
    -webkit-text-fill-color:#111820!important;
  }
  html[data-rb-theme="light"] body main.page-slug-home details.rb-home-fold > .rb-home-fold-content,
html[data-rb-theme="light"] body main.page-slug-home details.rb-home-fold > .rb-home-main-content{
    background:#ffffff!important;
    color:#17212b!important;
  }
  

  /* Alle echten Pfeilvarianten der Startseite – geschlossen und geoeffnet identisch schwarz. */
  html[data-rb-theme="light"] body main.page-slug-home details.rb-home-fold .rb-home-main-arrow,
html[data-rb-theme="light"] body main.page-slug-home details.rb-home-fold .rb-home-main-arrow *,
html[data-rb-theme="light"] body main.page-slug-home details.rb-home-fold > .rb937-head::after{
    color:#111820!important;
    -webkit-text-fill-color:#111820!important;
    stroke:#111820!important;
    border-color:#9ca8b1!important;
  }

  /* FAQ: gleiche neutrale Light-Sprache, rotes Plus/Minus bleibt als Vereinsakzent. */
  html[data-rb-theme="light"] body .faq-item{
    background:#f7f9fa!important;
    border:1px solid #a8b2ba!important;
    box-shadow:0 5px 16px rgba(17,24,32,.05)!important;
  }
  html[data-rb-theme="light"] body .faq-question,
html[data-rb-theme="light"] body .faq-item[open]>.faq-question{
    background:#f7f9fa!important;
    color:#111820!important;
    -webkit-text-fill-color:#111820!important;
  }
  html[data-rb-theme="light"] body .faq-question:hover,
html[data-rb-theme="light"] body .faq-question:focus-visible{background:#eef2f4!important}
  html[data-rb-theme="light"] body .faq-item .faq-answer,
html[data-rb-theme="light"] body .faq-item[open] .faq-answer{
    background:#ffffff!important;
    border-top:1px solid #c1c9cf!important;
    color:#24333f!important;
    -webkit-text-fill-color:#24333f!important;
  }

  /* Events: neutrale Aufklapper ebenfalls hell, dunkel beschriftet und grau umrandet. */
  html[data-rb-theme="light"] body .page-slug-events .rb-event-description{
    background:#f7f9fa!important;
    border:1px solid #a8b2ba!important;
  }
  html[data-rb-theme="light"] body .page-slug-events .rb-event-description>summary{
    background:#f7f9fa!important;
    color:#111820!important;
    -webkit-text-fill-color:#111820!important;
  }
  html[data-rb-theme="light"] body .page-slug-events .rb-event-description>summary:hover,
html[data-rb-theme="light"] body .page-slug-events .rb-event-description>summary:focus-visible{background:#eef2f4!important}
  html[data-rb-theme="light"] body .page-slug-events .rb-event-description>div{
    background:#ffffff!important;
    border-top:1px solid #c1c9cf!important;
    color:#24333f!important;
  }
  html[data-rb-theme="light"] body .page-slug-events .rb-past-events>summary{
    color:#111820!important;
    -webkit-text-fill-color:#111820!important;
  }
}


/* v1343 – Light-Finish: sechs Haupt-Aufklapper, Kontaktkarten, dynamische Trainingszeit und Trainer-Badge. */
@media screen {
  /* Die sechs grossen Startseiten-Aufklapper als klares helles Negativ zum Dark Design. */
  
  
  html[data-rb-theme="light"] body main.page-slug-home details.rb-home-main-fold > .rb937-head{
    background:#f3f6f8!important;
    background-image:none!important;
    color:#111820!important;
    -webkit-text-fill-color:#111820!important;
    border-color:transparent!important;
    text-shadow:none!important;
  }
  html[data-rb-theme="light"] body main.page-slug-home details.rb-home-main-fold > summary:hover{
    background:#e9eef1!important;
  }
  html[data-rb-theme="light"] body main.page-slug-home details.rb-home-main-fold > summary:focus-visible{
    background:#e9eef1!important;
  }
  html[data-rb-theme="light"] body main.page-slug-home details.rb-home-main-fold > .rb937-head:hover,
html[data-rb-theme="light"] body main.page-slug-home details.rb-home-main-fold > .rb937-head:focus-visible{
    background:#e9eef1!important;
  }
  
  html[data-rb-theme="light"] body main.page-slug-home details.rb-home-main-fold[open] > .rb937-head{
    background:#f0f4f6!important;
  }
  
  html[data-rb-theme="light"] body main.page-slug-home details.rb-home-main-fold > :is(.rb-home-main-content,.rb-home-fold-content){
    background:#fff!important;
    color:#17212b!important;
  }

  /* Kontaktseite: die Bereichskarten duerfen im Hellmodus keine dunklen Restflaechen behalten. */
  html[data-rb-theme="light"] body main.page-slug-kontakt .contact-role-card,
html[data-rb-theme="light"] body .page-slug-kontakt .contact-role-card{
    background:linear-gradient(145deg,#f8fafb,#eef2f5)!important;
    border:1px solid #cbd3d9!important;
    color:#17212b!important;
    box-shadow:0 6px 18px rgba(17,24,32,.05)!important;
  }
  html[data-rb-theme="light"] body .page-slug-kontakt .contact-role-card :is(h2,h3,strong){
    color:#111820!important;
    -webkit-text-fill-color:#111820!important;
  }
  html[data-rb-theme="light"] body .page-slug-kontakt .contact-role-card :is(p,li,span){
    color:#2b3944!important;
    -webkit-text-fill-color:#2b3944!important;
  }
  html[data-rb-theme="light"] body .page-slug-kontakt .contact-role-card a{
    color:#762222!important;
    -webkit-text-fill-color:#762222!important;
    text-decoration-color:#b36a69!important;
  }
}

/* Trainerkennzeichnung auf der oeffentlichen Trainervorstellung: gruen statt rot. */
body .page-slug-trainer .trainer-role{
  background:rgba(47,176,97,.20)!important;
  border-color:rgba(86,196,121,.46)!important;
  color:#dfffe8!important;
  -webkit-text-fill-color:#dfffe8!important;
}
html[data-rb-theme="light"] body .page-slug-trainer .trainer-role{
  background:#e6f5eb!important;
  border-color:#74a986!important;
  color:#18552f!important;
  -webkit-text-fill-color:#18552f!important;
}


/* v1344 – Abschluss-Audit Light: sichtbare Flächen/Borders, Modal-Zentrierung und Kontrastparität. */
@media screen {
  /* Exakt die sechs grossen Startseiten-Aufklapper: helles Negativ zum Dark-Design. */
  
  
  html[data-rb-theme="light"] body main.page-slug-home details.rb-home-fold.rb-home-fold-unified.rb-home-main-fold>summary:hover{
    background:#e9eef1!important;
  }
  html[data-rb-theme="light"] body main.page-slug-home details.rb-home-fold.rb-home-fold-unified.rb-home-main-fold>summary:focus-visible{
    background:#e9eef1!important;
  }
  html[data-rb-theme="light"] body main.page-slug-home details.rb-home-fold.rb-home-fold-unified.rb-home-main-fold>.rb-home-fold-content.rb-home-main-content{
    background:#fafbfc!important;
    color:#17212b!important;
  }
  /* Nur die Minuten der wechselnden Trainingsbeginn-Anzeige wechseln von Weiss (Dark) auf Schwarz (Light). */
  html[data-rb-theme="light"] body main.page-slug-home{--rb-training-switch-minute:#111820;}

  /* Kontaktformular: leicht graue Arbeitsflaechen, klare graue Kontur, dunkle Schrift. */
  html[data-rb-theme="light"] body main.page-slug-kontakt .rb-contact-form-card{
    background:#f7f9fa!important;
    border:1px solid #c5ced5!important;
  }
  html[data-rb-theme="light"] body main.page-slug-kontakt .rb-contact-form-card .form-row>input,
html[data-rb-theme="light"] body main.page-slug-kontakt .rb-contact-form-card .form-row>select,
html[data-rb-theme="light"] body main.page-slug-kontakt .rb-contact-form-card .form-row>textarea,
html[data-rb-theme="light"] body main.page-slug-kontakt .rb-contact-form-card .phone-input-group>input,
html[data-rb-theme="light"] body main.page-slug-kontakt .rb-contact-form-card .phone-input-group>select{
    background:#fbfcfd!important;
    border:1px solid #aab5bd!important;
    color:#111820!important;
    -webkit-text-fill-color:#111820!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.85)!important;
  }
  html[data-rb-theme="light"] body main.page-slug-kontakt .rb-contact-form-card :is(input,select,textarea):focus{
    border-color:#8e9aa3!important;
    box-shadow:0 0 0 3px rgba(104,119,130,.13)!important;
  }
  html[data-rb-theme="light"] body main.page-slug-kontakt .rb-contact-form-card :is(input,textarea)::placeholder{
    color:#697681!important;
    opacity:1!important;
  }
  html[data-rb-theme="light"] body main.page-slug-kontakt .rb-contact-form-card :is(label,.help,.section-sub){
    color:#34434f!important;
    opacity:1!important;
  }
  html[data-rb-theme="light"] body main.page-slug-kontakt .rb-contact-location__map{
    background:#eef2f4!important;
    border:1px solid #c5ced5!important;
  }

  /* Events: auch der gesamte aktuelle/vergangene Bereich bleibt im Light wirklich hell. */
  html[data-rb-theme="light"] body main.page-slug-events .events-page-card,
html[data-rb-theme="light"] body main.page-slug-events .rb-events-page{
    background:linear-gradient(145deg,#f8fafb,#eef2f5)!important;
    border-color:#c3ccd3!important;
    color:#111820!important;
  }
  html[data-rb-theme="light"] body main.page-slug-events .rb-past-events{
    margin-top:18px!important;
    padding:14px!important;
    background:#f3f6f8!important;
    border:1px solid #c8d0d6!important;
    border-radius:16px!important;
  }
  html[data-rb-theme="light"] body main.page-slug-events .rb-past-events>summary{
    color:#111820!important;
    -webkit-text-fill-color:#111820!important;
  }
  html[data-rb-theme="light"] body main.page-slug-events .event-card{
    background:#ffffff!important;
    border-color:#c2cbd2!important;
    color:#111820!important;
  }
  html[data-rb-theme="light"] body main.page-slug-events .event-media{
    background:#edf1f4!important;
  }

  /* Bewertungspopup: Name klar dunkel, Datum bewusst etwas dezenter. */
  html[data-rb-theme="light"] body .rb-review-modal__dialog .rb-review-modal__name,
html[data-rb-theme="light"] body .rb-review-popup .rb-review-modal__name,
html[data-rb-theme="light"] body .rb-review-full-modal .rb-review-modal__name{
    color:#17212b!important;
    -webkit-text-fill-color:#17212b!important;
    border-top-color:#c7cfd5!important;
    opacity:1!important;
  }
  html[data-rb-theme="light"] body .rb-review-modal__dialog .rb-review-date,
html[data-rb-theme="light"] body .rb-review-popup .rb-review-date,
html[data-rb-theme="light"] body .rb-review-full-modal .rb-review-date,
html[data-rb-theme="light"] body .rb-review-modal__name .rb-review-date{
    color:#596874!important;
    -webkit-text-fill-color:#596874!important;
    opacity:1!important;
  }

  /* Generische Themen-Badges in Inhaltskarten: Fachfarbe sichtbar statt flacher grauer Kontur. */
  html[data-rb-theme="light"] body main.site-main :is(.section-card,.content-box,.trainer-page-card)>.badge{
    background:#fff2f2!important;
    border:1px solid #c88685!important;
    color:#762525!important;
    -webkit-text-fill-color:#762525!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.88)!important;
  }
}

/* Mobile: jedes oeffentliche Modal wirklich in der sichtbaren Viewport-Hoehe zentrieren. */
@media(max-width:700px){
  html body #galleryLightbox.is-open,
html body .gallery-lightbox.is-open,
html body #offerScheduleModal:not([hidden]),
html body .offer-schedule-modal:not([hidden]),
html body #rbReviewModal:not([hidden]),
html body .rb-review-modal:not([hidden]),
html body .rb-review-popup:not([hidden]),
html body .rb-review-full-modal:not([hidden]),
html body #rbSparringInfoModal:not([hidden]),
html body .flyer-modal.is-open,
html body .event-flyer-modal.is-open,
html body .board-contact-modal:not([hidden]),
html body .trial-detail-modal:not([hidden]){
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    min-height:100dvh!important;
    padding:max(10px,env(safe-area-inset-top)) 10px max(10px,env(safe-area-inset-bottom))!important;
    overflow:hidden!important;
  }
  html body :is(.offer-schedule-modal-dialog,.gallery-lightbox__dialog,.rb-review-modal__dialog,.review-modal-dialog,.trial-detail-dialog,.event-flyer-dialog,.event-modal-dialog,.board-contact-dialog,.board-modal-dialog,.rb-sparring-modal-dialog){
    margin:0 auto!important;
    max-height:calc(100dvh - 24px)!important;
    overflow:auto!important;
    overscroll-behavior:contain!important;
  }
}


/* v1345 – finaler öffentlicher Light-Layer: Formulare, Modals, Player, Galerie-Ladefläche und Hero. */
@media screen {
  /* Kontaktformular: sichtbar graue Felder + klarer heller Border. */
  html[data-rb-theme="light"] body main.page-slug-kontakt .rb-contact-form-card :is(
    input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),select,textarea
  ){
    background:#eef2f4!important;
    background-image:none!important;
    border:1.5px solid #9eabb4!important;
    color:#111820!important;
    -webkit-text-fill-color:#111820!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.92),0 1px 2px rgba(17,24,32,.04)!important;
    opacity:1!important;
  }
  html[data-rb-theme="light"] body main.page-slug-kontakt .rb-contact-form-card :is(
    input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),select,textarea
  ):focus{
    background:#f8fafb!important;
    border-color:#7f8d97!important;
    box-shadow:0 0 0 3px rgba(85,104,118,.14),inset 0 1px 0 rgba(255,255,255,.95)!important;
    outline:none!important;
  }
  html[data-rb-theme="light"] body main.page-slug-kontakt .rb-contact-form-card :is(input,textarea)::placeholder{
    color:#5a6873!important;
    -webkit-text-fill-color:#5a6873!important;
    opacity:1!important;
  }
  html[data-rb-theme="light"] body main.page-slug-kontakt .rb-contact-form-card select option{
    background:#f8fafb!important;color:#111820!important;
  }

  /* Die sechs Haupt-Aufklapper: heller, aber sichtbarer grauer Außenrahmen. */
  

  /* Alle öffentlichen Overlay-/Popup-Flächen folgen dem hellen Theme statt als dunkle Insel zu bleiben. */
  html[data-rb-theme="light"] body :is(
    .gallery-lightbox,.rb-music-modal,.rb-music-info-modal,.offer-schedule-modal,.rb-review-modal,
    .flyer-modal,.event-flyer-modal,.board-contact-modal,.trial-detail-modal
  ){
    background:rgba(239,243,246,.88)!important;
    color:#111820!important;
  }
  html[data-rb-theme="light"] body :is(
    .gallery-lightbox__backdrop,.offer-schedule-modal-backdrop,.rb-review-modal__backdrop,
    .event-flyer-backdrop,.trial-detail-backdrop,.rb-sparring-modal-backdrop
  ){
    background:rgba(232,237,241,.84)!important;
    backdrop-filter:blur(6px)!important;
    -webkit-backdrop-filter:blur(6px)!important;
  }
  html[data-rb-theme="light"] body #rbSparringInfoModal{
    background:rgba(239,243,246,.72)!important;
  }
  html[data-rb-theme="light"] body :is(
    .gallery-lightbox__dialog,.rb-music-player,.rb-music-info-box,.offer-schedule-modal-dialog,
    .rb-review-modal__dialog,.review-modal-dialog,.event-flyer-dialog,.event-modal-dialog,
    .board-contact-dialog,.board-modal-dialog,.trial-detail-dialog,#rbSparringInfoModal .rb-sparring-modal-dialog
  ){
    background:linear-gradient(145deg,#ffffff,#eef2f5)!important;
    border-color:#a5b1b9!important;
    color:#111820!important;
    box-shadow:0 24px 64px rgba(31,43,52,.20)!important;
  }
  html[data-rb-theme="light"] body :is(
    .gallery-lightbox__dialog,.rb-music-player,.rb-music-info-box,.offer-schedule-modal-dialog,
    .rb-review-modal__dialog,.review-modal-dialog,.event-flyer-dialog,.event-modal-dialog,
    .board-contact-dialog,.board-modal-dialog,.trial-detail-dialog,#rbSparringInfoModal .rb-sparring-modal-dialog
  ) :is(h1,h2,h3,h4,strong){
    color:#111820!important;
    -webkit-text-fill-color:#111820!important;
  }
  html[data-rb-theme="light"] body :is(
    .gallery-lightbox__dialog,.rb-music-player,.rb-music-info-box,.offer-schedule-modal-dialog,
    .rb-review-modal__dialog,.review-modal-dialog,.event-flyer-dialog,.event-modal-dialog,
    .board-contact-dialog,.board-modal-dialog,.trial-detail-dialog,#rbSparringInfoModal .rb-sparring-modal-dialog
  ) :is(p,small,.help,.muted){
    color:#34434f!important;
    -webkit-text-fill-color:#34434f!important;
  }

  /* Galerie: auch der Lade-/Bildhintergrund ist sofort hell, bevor das Bild sichtbar wird. */
  html[data-rb-theme="light"] body .gallery-lightbox,
html[data-rb-theme="light"] body .gallery-lightbox__dialog,
html[data-rb-theme="light"] body .gallery-lightbox__media-wrap,
html[data-rb-theme="light"] body .gallery-lightbox__image{
    background-color:#f1f4f6!important;
  }
  html[data-rb-theme="light"] body .gallery-lightbox__media-wrap{
    border-color:#c4cdd4!important;
  }

  /* Musikplayer: komplette Oberfläche hell, Controls bleiben klar sichtbar. */
  html[data-rb-theme="light"] body .rb-music-player::before{
    background:radial-gradient(circle at 18% 10%,rgba(188,38,37,.09),transparent 36%),radial-gradient(circle at 90% 0,rgba(93,111,124,.08),transparent 32%)!important;
  }
  html[data-rb-theme="light"] body .rb-music-player :is(.rb-music-hint,.rb-music-copyright),
html[data-rb-theme="light"] body .rb-music-info-box :is(p,.rb-music-copyright){
    color:#42515d!important;
    -webkit-text-fill-color:#42515d!important;
  }
  html[data-rb-theme="light"] body .rb-music-player .rb-music-track{
    color:#8b2929!important;
    -webkit-text-fill-color:#8b2929!important;
  }
  html[data-rb-theme="light"] body .rb-music-player .rb-music-control,
html[data-rb-theme="light"] body .rb-music-player .rb-music-control-primary.is-ready,
html[data-rb-theme="light"] body .rb-music-info-box .rb-music-info-ok{
    background:#f4f7f9!important;
    border-color:#9aa7b0!important;
    color:#24323d!important;
  }
  html[data-rb-theme="light"] body .rb-music-player .rb-music-control svg,
html[data-rb-theme="light"] body .rb-music-info-box .rb-music-info-icon svg{
    color:#24323d!important;
    fill:currentColor!important;
  }
  html[data-rb-theme="light"] body .rb-music-player .rb-music-control-primary.is-playing{
    background:linear-gradient(135deg,#c93635,#a82322)!important;
    border-color:#a82322!important;
    color:#fff!important;
  }

  /* Schließen-X und neutrale Popup-Buttons im Light: weiße Fläche, dunkles Symbol, grauer Border. */
  html[data-rb-theme="light"] body :is(
    .gallery-lightbox__close,.offer-schedule-modal-close,.rb-review-modal__close,.event-flyer-close,
    .board-contact-close,.trial-detail-close,.rb-sparring-modal-close,.rb-music-close,.rb-music-info-close
  ){
    background:#ffffff!important;
    border-color:#98a5ae!important;
    color:#111820!important;
    box-shadow:0 8px 20px rgba(17,24,32,.10)!important;
  }
  html[data-rb-theme="light"] body :is(
    .gallery-lightbox__close,.offer-schedule-modal-close,.rb-review-modal__close,.event-flyer-close,
    .board-contact-close,.trial-detail-close,.rb-sparring-modal-close,.rb-music-close,.rb-music-info-close
  )::before,
html[data-rb-theme="light"] body :is(
    .gallery-lightbox__close,.offer-schedule-modal-close,.rb-review-modal__close,.event-flyer-close,
    .board-contact-close,.trial-detail-close,.rb-sparring-modal-close,.rb-music-close,.rb-music-info-close
  )::after{
    color:#111820!important;
    background-color:#111820!important;
  }

  /* Startseiten-Hero im Light: Wechselbild sichtbar hell statt dunklem Filter. */
  html[data-rb-theme="light"] body main.page-slug-home .hero-card.rb-home-hero-gallery{
    background:#e7edf1!important;
    color:#111820!important;
  }
  html[data-rb-theme="light"] body main.page-slug-home .hero-card.rb-home-hero-gallery .rb-home-hero-image{
    opacity:.88!important;
    filter:brightness(1.14) saturate(.88) contrast(.92)!important;
  }
  html[data-rb-theme="light"] body main.page-slug-home .hero-card.rb-home-hero-gallery::after{
    background:linear-gradient(180deg,rgba(255,255,255,.08) 0%,rgba(255,255,255,.24) 28%,rgba(255,255,255,.52) 58%,rgba(255,255,255,.82) 82%,rgba(255,255,255,.97) 100%)!important;
  }
  html[data-rb-theme="light"] body main.page-slug-home .hero-card.rb-home-hero-gallery :is(.hero-title,.hero-text,.home-hero-intro,.hero-title-home){
    color:#101820!important;
    -webkit-text-fill-color:#101820!important;
    text-shadow:0 1px 0 rgba(255,255,255,.95),0 2px 12px rgba(255,255,255,.82)!important;
  }
  html[data-rb-theme="light"] body main.page-slug-home .rb-hero-day{
    background:rgba(248,250,251,.82)!important;
    border-color:#aeb9c1!important;
    color:#111820!important;
    box-shadow:0 8px 24px rgba(17,24,32,.09)!important;
  }
  html[data-rb-theme="light"] body main.page-slug-home .rb-hero-day :is(.rb-hero-day__title,.rb-hero-day__item,.rb-hero-day__empty){
    color:#111820!important;
    -webkit-text-fill-color:#111820!important;
  }
  html[data-rb-theme="light"] body main.page-slug-home .rb-home-hero-gallery-button,
html[data-rb-theme="light"] body main.page-slug-home .rb-home-hero-gallery .btn-dark{
    background:rgba(255,255,255,.88)!important;
    border-color:#9ca8b1!important;
    color:#111820!important;
    box-shadow:0 8px 22px rgba(17,24,32,.08)!important;
  }
}


/* v1346 – Hero-Schrift im Light wieder im originalen Marken-Look; Bild/Overlay bleiben v1345-Light. */
@media screen {
  /* Kontaktformular: etwas dunkleres Hellgrau und klar sichtbarer, dezenter grauer Border. */
  html[data-rb-theme="light"] body main.page-slug-kontakt .rb-contact-form-card :is(
    input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),select,textarea
  ){
    background:#e3e8ec!important;
    background-image:none!important;
    border:1.5px solid #87949e!important;
    color:#111820!important;
    -webkit-text-fill-color:#111820!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.78),0 1px 3px rgba(17,24,32,.055)!important;
  }
  html[data-rb-theme="light"] body main.page-slug-kontakt .rb-contact-form-card :is(
    input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),select,textarea
  ):focus{
    background:#edf1f4!important;
    border-color:#687782!important;
    box-shadow:0 0 0 3px rgba(86,104,117,.15),inset 0 1px 0 rgba(255,255,255,.86)!important;
  }

  /* Nur die Schrift des Startseiten-Heros zurück in den ursprünglichen Wiedererkennungs-Look. */
  html[data-rb-theme="light"] body main.page-slug-home .hero-card.rb-home-hero-gallery .hero-title-home,
html[data-rb-theme="light"] body main.page-slug-home .hero-card.rb-home-hero-gallery .hero-title-home .brand-title-inline{
    color:#fff!important;
    -webkit-text-fill-color:#fff!important;
    text-shadow:0 1px 1px rgba(0,0,0,.40),0 2px 5px rgba(0,0,0,.18)!important;
  }
  html[data-rb-theme="light"] body main.page-slug-home .hero-card.rb-home-hero-gallery .hero-title-home .rb-red,
html[data-rb-theme="light"] body main.page-slug-home .hero-card.rb-home-hero-gallery .hero-title-home .hero-tagline-wissen,
html[data-rb-theme="light"] body main.page-slug-home .hero-card.rb-home-hero-gallery .hero-title-home .hero-tagline-boxen{
    color:#bc2625!important;
    -webkit-text-fill-color:#bc2625!important;
    text-shadow:0 0 16px rgba(188,38,37,.22)!important;
  }
  html[data-rb-theme="light"] body main.page-slug-home .hero-card.rb-home-hero-gallery .hero-title-home .rb-ev{
    color:#fff!important;
    -webkit-text-fill-color:#fff!important;
    opacity:.70!important;
  }
  html[data-rb-theme="light"] body main.page-slug-home .hero-card.rb-home-hero-gallery .hero-title-home .hero-tagline-zu{
    color:#e5e7eb!important;
    -webkit-text-fill-color:#e5e7eb!important;
  }
  html[data-rb-theme="light"] body main.page-slug-home .hero-card.rb-home-hero-gallery .hero-title-home .hero-tagline-bang{
    color:#fff!important;
    -webkit-text-fill-color:#fff!important;
  }
  html[data-rb-theme="light"] body main.page-slug-home .hero-card.rb-home-hero-gallery .home-hero-intro{
    color:#d4d8df!important;
    -webkit-text-fill-color:#d4d8df!important;
    text-shadow:0 1px 1px rgba(0,0,0,.40),0 2px 5px rgba(0,0,0,.18)!important;
  }
  html[data-rb-theme="light"] body main.page-slug-home .hero-card.rb-home-hero-gallery .home-hero-intro strong,
html[data-rb-theme="light"] body main.page-slug-home .hero-card.rb-home-hero-gallery .rb-home-growth-line{
    color:#f5f6f8!important;
    -webkit-text-fill-color:#f5f6f8!important;
  }
  html[data-rb-theme="light"] body main.page-slug-home .hero-card.rb-home-hero-gallery .rb-hero-day{
    color:#fff!important;
    -webkit-text-fill-color:#fff!important;
    text-shadow:0 2px 8px rgba(0,0,0,.72)!important;
  }
  html[data-rb-theme="light"] body main.page-slug-home .hero-card.rb-home-hero-gallery .rb-hero-day__title{
    color:rgba(255,255,255,.78)!important;
    -webkit-text-fill-color:rgba(255,255,255,.78)!important;
  }
  html[data-rb-theme="light"] body main.page-slug-home .hero-card.rb-home-hero-gallery .rb-hero-day__item,
html[data-rb-theme="light"] body main.page-slug-home .hero-card.rb-home-hero-gallery .rb-hero-day__time,
html[data-rb-theme="light"] body main.page-slug-home .hero-card.rb-home-hero-gallery .rb-hero-day__course,
html[data-rb-theme="light"] body main.page-slug-home .hero-card.rb-home-hero-gallery .rb-hero-day__duration{
    color:#fff!important;
    -webkit-text-fill-color:#fff!important;
  }
  html[data-rb-theme="light"] body main.page-slug-home .hero-card.rb-home-hero-gallery .rb-hero-day__empty{
    color:rgba(255,255,255,.67)!important;
    -webkit-text-fill-color:rgba(255,255,255,.67)!important;
  }
}


/* v1347 – Restkorrekturen: Hero Heute/Morgen wie Dark, Kontaktfelder klarer,
 * Musikplayer-Logo original und Bewertungs-Popup mobil wirklich viewport-mittig. */
@media screen {
  /* Heute/Morgen: exakt die visuelle Schriftlogik des dunklen Moduls beibehalten.
     Der helle Hero-Hintergrund aus v1345/v1346 bleibt unverändert. */
  html[data-rb-theme="light"] body main.page-slug-home .hero-card.rb-home-hero-gallery .rb-hero-day{
    text-shadow:0 2px 8px rgba(0,0,0,.72)!important;
  }
  html[data-rb-theme="light"] body main.page-slug-home .hero-card.rb-home-hero-gallery .rb-hero-day__title{
    color:rgba(255,255,255,.78)!important;
    -webkit-text-fill-color:rgba(255,255,255,.78)!important;
    font-weight:900!important;
  }
  html[data-rb-theme="light"] body main.page-slug-home .hero-card.rb-home-hero-gallery .rb-hero-day-rotator__item .rb-hero-day__time,
html[data-rb-theme="light"] body main.page-slug-home .hero-card.rb-home-hero-gallery .rb-hero-day-rotator__item .rb-hero-day__course,
html[data-rb-theme="light"] body main.page-slug-home .hero-card.rb-home-hero-gallery .rb-hero-day-rotator__item .rb-hero-day__course-link,
html[data-rb-theme="light"] body main.page-slug-home .hero-card.rb-home-hero-gallery .rb-hero-day-rotator__item .rb-hero-day__duration{
    color:var(--rb-hero-course-color,rgba(255,255,255,.70))!important;
    -webkit-text-fill-color:var(--rb-hero-course-color,rgba(255,255,255,.70))!important;
  }
  html[data-rb-theme="light"] body main.page-slug-home .hero-card.rb-home-hero-gallery .rb-hero-day__time{font-weight:950!important;}
  html[data-rb-theme="light"] body main.page-slug-home .hero-card.rb-home-hero-gallery .rb-hero-day__course,
html[data-rb-theme="light"] body main.page-slug-home .hero-card.rb-home-hero-gallery .rb-hero-day__course-link{font-weight:800!important;}
  html[data-rb-theme="light"] body main.page-slug-home .hero-card.rb-home-hero-gallery .rb-hero-day__duration{font-weight:750!important;}
  html[data-rb-theme="light"] body main.page-slug-home .hero-card.rb-home-hero-gallery .rb-hero-day__empty{
    color:rgba(255,255,255,.67)!important;
    -webkit-text-fill-color:rgba(255,255,255,.67)!important;
  }

  /* Kontakt: bewusst etwas dunkleres Hellgrau, 2px neutraler Border. */
  html[data-rb-theme="light"] body main.page-slug-kontakt .rb-contact-form-card :is(
    input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),select,textarea
  ),
html[data-rb-theme="light"] body main.page-slug-home .home-contact-form-card :is(
    input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),select,textarea
  ){
    appearance:none!important;
    background:#dce3e7!important;
    background-image:none!important;
    border:2px solid #7d8a94!important;
    color:#111820!important;
    -webkit-text-fill-color:#111820!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.72),0 1px 3px rgba(17,24,32,.06)!important;
    opacity:1!important;
  }
  html[data-rb-theme="light"] body main.page-slug-kontakt .rb-contact-form-card :is(
    input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),select,textarea
  ):focus,
html[data-rb-theme="light"] body main.page-slug-home .home-contact-form-card :is(
    input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),select,textarea
  ):focus{
    background:#e6ebee!important;
    border-color:#61717c!important;
    box-shadow:0 0 0 3px rgba(97,113,124,.16),inset 0 1px 0 rgba(255,255,255,.82)!important;
    outline:none!important;
  }
  html[data-rb-theme="light"] body main.page-slug-kontakt .rb-contact-form-card :is(input,textarea)::placeholder,
html[data-rb-theme="light"] body main.page-slug-home .home-contact-form-card :is(input,textarea)::placeholder{
    color:#56646f!important;
    -webkit-text-fill-color:#56646f!important;
    opacity:1!important;
  }
  html[data-rb-theme="light"] body main.page-slug-kontakt .rb-contact-form-card select option,
html[data-rb-theme="light"] body main.page-slug-home .home-contact-form-card select option{
    background:#eef2f4!important;
    color:#111820!important;
  }

  /* Musikplayer: Vereinslogo unverfälscht/original, ohne runde Maske/Glow-Platte. */
  html body .rb-music-player .rb-music-disc.rb-music-disc-hero{
    width:132px!important;
    height:132px!important;
    background:transparent!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
    overflow:visible!important;
  }
  html body .rb-music-player .rb-music-disc.rb-music-disc-hero::before{
    content:none!important;
    display:none!important;
  }
  html body .rb-music-player .rb-music-disc.rb-music-disc-hero img{
    width:100%!important;
    height:100%!important;
    object-fit:contain!important;
    border-radius:0!important;
    border:0!important;
    box-shadow:none!important;
    filter:none!important;
    background:transparent!important;
  }

  /* Musikplayer-X im Light: keine schwarze Scheibe. */
  html[data-rb-theme="light"] body .rb-music-modal button.rb-music-close,
html[data-rb-theme="light"] body .rb-music-info-modal button.rb-music-info-close{
    background:#ffffff!important;
    background-image:none!important;
    border:1px solid #98a5ae!important;
    color:transparent!important;
    -webkit-text-fill-color:transparent!important;
    box-shadow:0 8px 20px rgba(17,24,32,.10)!important;
  }
  html[data-rb-theme="light"] body .rb-music-modal button.rb-music-close::before,
html[data-rb-theme="light"] body .rb-music-info-modal button.rb-music-info-close::before{
    color:#111820!important;
    -webkit-text-fill-color:#111820!important;
    background:transparent!important;
  }
  html[data-rb-theme="light"] body .rb-music-modal button.rb-music-close::after,
html[data-rb-theme="light"] body .rb-music-info-modal button.rb-music-info-close::after{
    content:none!important;
    display:none!important;
  }
}

/* Bewertung „Mehr lesen“: auf Mobile immer exakt im sichtbaren Viewport zentriert. */
@media(max-width:700px){
  html body #rbReviewModal:not([hidden]),
html body .rb-review-modal:not([hidden]){
    position:fixed!important;
    top:0!important;
    right:0!important;
    bottom:auto!important;
    left:0!important;
    width:100vw!important;
    height:100dvh!important;
    min-height:0!important;
    max-height:100dvh!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    padding:max(10px,env(safe-area-inset-top)) 10px max(10px,env(safe-area-inset-bottom))!important;
    margin:0!important;
    overflow:hidden!important;
    transform:none!important;
  }
  html body #rbReviewModal:not([hidden]) .rb-review-modal__dialog,
html body .rb-review-modal:not([hidden]) .rb-review-modal__dialog{
    position:relative!important;
    inset:auto!important;
    width:min(620px,calc(100vw - 20px))!important;
    max-width:calc(100vw - 20px)!important;
    max-height:calc(100dvh - 24px)!important;
    margin:0!important;
    overflow:auto!important;
    transform:none!important;
    overscroll-behavior:contain!important;
  }
}


/* v1348 – final konsolidierte Light-Komponenten.
 * Keine neue Designlogik: gleiche Komponenten erhalten dieselbe Light-Uebersetzung.
 * Dark Mode bleibt unberuehrt. */
@media screen {
  /* Normale Lesetexte auf hellen Inhaltsflaechen: klar dunkel statt ausgewaschen. */
  html[data-rb-theme="light"] body main.site-main :is(
    .section-card,.content-box,.welcome-box,.welcome-item,.rb-home-entry-card,.rb-home-why,
    .rb-home-first-worries,.rb-home-parent-item,.rb-seo-local-card,.rb-seo-benefit-card,.rb-age-class-card
  ) :is(h2,h3,h4,p,li){
    color:#111820!important;
    -webkit-text-fill-color:#111820!important;
    opacity:1!important;
  }
  html[data-rb-theme="light"] body main.site-main :is(.section-sub,.help,.rb-service-times-intro){
    color:#263640!important;
    -webkit-text-fill-color:#263640!important;
    opacity:1!important;
  }

  /* Trainings-/Angebotsseiten: Faktenkarten und gleichartige Infotexte. */
  html[data-rb-theme="light"] body main.site-main .rb-seo-facts-grid>div{
    background:#f3f6f8!important;
    border:1px solid #b5c0c8!important;
    color:#111820!important;
    box-shadow:none!important;
  }
  html[data-rb-theme="light"] body main.site-main .rb-seo-facts-grid>div small{
    color:#394954!important;
    -webkit-text-fill-color:#394954!important;
    opacity:1!important;
  }
  html[data-rb-theme="light"] body main.site-main .rb-seo-facts-grid>div strong,
html[data-rb-theme="light"] body main.site-main .rb-age-class-card :is(h3,strong),
html[data-rb-theme="light"] body main.site-main .rb-service-times-intro{
    color:#111820!important;
    -webkit-text-fill-color:#111820!important;
    opacity:1!important;
  }
  html[data-rb-theme="light"] body main.site-main .rb-age-class-card p,
html[data-rb-theme="light"] body main.site-main .rb-seo-benefit-card p,
html[data-rb-theme="light"] body main.site-main .rb-seo-local-card p{
    color:#24343f!important;
    -webkit-text-fill-color:#24343f!important;
    opacity:1!important;
  }

  /* Startseite: genau die sechs grossen Haupt-Aufklapper nutzen eine gemeinsame Komponente. */
  
  
  
  
  html[data-rb-theme="light"] body main.page-slug-home details.rb-home-main-fold>.rb-home-main-content{
    background:#fbfcfd!important;
    color:#111820!important;
  }
  html[data-rb-theme="light"] body main.page-slug-home details.rb-home-main-fold>.rb-home-main-content :is(h2,h3,h4,p,li){
    color:#111820!important;
    -webkit-text-fill-color:#111820!important;
    opacity:1!important;
  }

  /* Kontakt: echte Formularfelder direkt absichern – sichtbare graue Flaeche + klarer Border. */
  html[data-rb-theme="light"] body main.page-slug-kontakt .rb-contact-form-card :is(
    #contactDepartmentSelect,#contactFirstName,#contactLastName,#contactEmail,#contactPhone,#contactMessage,
    .phone-input-group>select,.phone-input-group>input
  ),
html[data-rb-theme="light"] body main.page-slug-home .home-contact-form-card :is(
    input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),select,textarea
  ){
    display:block!important;
    min-height:54px!important;
    background:#d7dfe4!important;
    background-image:none!important;
    border:2px solid #778792!important;
    border-radius:16px!important;
    color:#111820!important;
    -webkit-text-fill-color:#111820!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.80),0 2px 5px rgba(17,24,32,.07)!important;
    opacity:1!important;
    outline:none!important;
  }
  html[data-rb-theme="light"] body main.page-slug-kontakt .rb-contact-form-card #contactMessage,
html[data-rb-theme="light"] body main.page-slug-home .home-contact-form-card textarea{
    min-height:130px!important;
  }
  html[data-rb-theme="light"] body main.page-slug-kontakt .rb-contact-form-card :is(
    #contactDepartmentSelect,#contactFirstName,#contactLastName,#contactEmail,#contactPhone,#contactMessage,
    .phone-input-group>select,.phone-input-group>input
  ):focus,
html[data-rb-theme="light"] body main.page-slug-home .home-contact-form-card :is(input,select,textarea):focus{
    background:#e2e8ec!important;
    border-color:#5f707c!important;
    box-shadow:0 0 0 3px rgba(95,112,124,.16),inset 0 1px 0 rgba(255,255,255,.88)!important;
  }
  html[data-rb-theme="light"] body main.page-slug-kontakt .rb-contact-form-card :is(#contactFirstName,#contactLastName,#contactEmail,#contactPhone,#contactMessage)::placeholder,
html[data-rb-theme="light"] body main.page-slug-home .home-contact-form-card :is(input,textarea)::placeholder{
    color:#4e5e69!important;
    -webkit-text-fill-color:#4e5e69!important;
    opacity:1!important;
  }

  /* Events: ganze Uebersicht inklusive der spaeten Dark-event-body-Regel hell uebersetzen. */
  html[data-rb-theme="light"] body main.page-slug-events .events-page-card,
html[data-rb-theme="light"] body main.page-slug-events .rb-events-page,
html[data-rb-theme="light"] body main.page-slug-events .rb-past-events{
    background:#f4f7f9!important;
    border-color:#bcc6ce!important;
    color:#111820!important;
  }
  html[data-rb-theme="light"] body main.page-slug-events .events-page-card .event-card{
    background:#ffffff!important;
    border-color:#b8c3cb!important;
    color:#111820!important;
  }
  html[data-rb-theme="light"] body main.page-slug-events .events-page-card .event-card .event-body{
    background:#ffffff!important;
    background-image:none!important;
    color:#111820!important;
  }
  html[data-rb-theme="light"] body main.page-slug-events .events-page-card .event-card .event-body :is(h3,p,.event-location,.event-meta,.event-meta span){
    color:#111820!important;
    -webkit-text-fill-color:#111820!important;
    opacity:1!important;
  }
  html[data-rb-theme="light"] body main.page-slug-events .events-page-card .event-card .event-media{
    background:#edf2f5!important;
  }
  html[data-rb-theme="light"] body main.page-slug-events .rb-past-events>summary{
    color:#111820!important;
    -webkit-text-fill-color:#111820!important;
  }

  /* Alle oeffentlichen Dialoge im Light: Dialogflaeche hell, Inhalt dunkel. */
  html[data-rb-theme="light"] body :is(
    .gallery-lightbox__dialog,.event-flyer-dialog,.event-modal-dialog,.offer-schedule-modal-dialog,
    .review-modal-dialog,.rb-review-modal__dialog,.trial-detail-dialog,.board-contact-dialog,.board-modal-dialog,
    #rbSparringInfoModal .rb-sparring-modal-dialog,.rb-music-modal .rb-music-player,.rb-music-info-modal .rb-music-info-dialog
  ){
    background:#ffffff!important;
    background-image:none!important;
    border-color:#aeb9c1!important;
    color:#111820!important;
  }
  html[data-rb-theme="light"] body :is(
    .gallery-lightbox__dialog,.event-flyer-dialog,.event-modal-dialog,.offer-schedule-modal-dialog,
    .review-modal-dialog,.rb-review-modal__dialog,.trial-detail-dialog,.board-contact-dialog,.board-modal-dialog,
    #rbSparringInfoModal .rb-sparring-modal-dialog,.rb-music-modal .rb-music-player,.rb-music-info-modal .rb-music-info-dialog
  ) :is(h2,h3,h4,p,small,strong,label){
    color:#111820!important;
    -webkit-text-fill-color:#111820!important;
  }

  /* Schliessen-X: im Light nie schwarze Kachel/Glow; X selbst dunkel. */
  html[data-rb-theme="light"] body :is(
    .gallery-lightbox__close,.event-flyer-close,.board-contact-close,.trial-detail-close,
    .offer-schedule-modal-close,.rb-review-modal__close,.rb-review-full-close,
    #rbSparringInfoModal .rb-sparring-modal-close,.rb-modal-close,.rb-music-close,.rb-music-info-close
  ){
    background:#ffffff!important;
    background-image:none!important;
    border:1px solid #96a4ae!important;
    color:#111820!important;
    box-shadow:0 5px 14px rgba(17,24,32,.10)!important;
  }
  html[data-rb-theme="light"] body :is(
    .gallery-lightbox__close,.event-flyer-close,.board-contact-close,.trial-detail-close,
    .offer-schedule-modal-close,.rb-review-modal__close,.rb-review-full-close,
    #rbSparringInfoModal .rb-sparring-modal-close,.rb-modal-close,.rb-music-close,.rb-music-info-close
  )::before{
    color:#111820!important;
    -webkit-text-fill-color:#111820!important;
    background:transparent!important;
    box-shadow:none!important;
  }
  html[data-rb-theme="light"] body :is(
    .gallery-lightbox__close,.event-flyer-close,.board-contact-close,.trial-detail-close,
    .offer-schedule-modal-close,.rb-review-modal__close,.rb-review-full-close,
    #rbSparringInfoModal .rb-sparring-modal-close,.rb-modal-close,.rb-music-close,.rb-music-info-close
  )::after{
    content:none!important;
    display:none!important;
    background:transparent!important;
    box-shadow:none!important;
  }

  /* Galerie: Laden, Teilen/Kopieren und Toolbar im Light sichtbar. */
  html[data-rb-theme="light"] body .gallery-lightbox__media-wrap,
html[data-rb-theme="light"] body .gallery-lightbox__image{
    background:#eef2f4!important;
  }
  html[data-rb-theme="light"] body .gallery-lightbox__toolbar{
    background:transparent!important;
  }
  html[data-rb-theme="light"] body .gallery-lightbox__toolbar .gallery-lightbox__share,
html[data-rb-theme="light"] body .gallery-lightbox__toolbar button.gallery-lightbox__share.event-share-btn{
    display:inline-flex!important;
    visibility:visible!important;
    opacity:1!important;
    min-height:40px!important;
    background:#ffffff!important;
    background-image:none!important;
    border:1px solid #8f9da7!important;
    color:#111820!important;
    -webkit-text-fill-color:#111820!important;
    box-shadow:0 5px 14px rgba(17,24,32,.10)!important;
  }
  html[data-rb-theme="light"] body .gallery-lightbox__toolbar .gallery-lightbox__share :is(.event-share-icon,.event-share-text),
html[data-rb-theme="light"] body .gallery-lightbox__toolbar .gallery-lightbox__share svg{
    color:#111820!important;
    fill:#111820!important;
    opacity:1!important;
  }

  /* Bewertungsnamen/-datum auch ausserhalb des Popups auf hellen Karten gut lesbar. */
  html[data-rb-theme="light"] body main.page-slug-home .rb-review-slide-card .rb-review-name,
html[data-rb-theme="light"] body main.page-slug-home .rb-review-slide-card .rb-review-author{
    color:#111820!important;
    -webkit-text-fill-color:#111820!important;
    opacity:1!important;
  }
  html[data-rb-theme="light"] body main.page-slug-home .rb-review-slide-card .rb-review-date{
    color:#586772!important;
    -webkit-text-fill-color:#586772!important;
    opacity:1!important;
  }

  /* Hero-Light-Verlauf: kein harter weisser Ansatz / keine horizontale Trennlinie. */
  html[data-rb-theme="light"] body main.page-slug-home .hero-card.rb-home-hero-gallery::after{
    border:0!important;
    background:linear-gradient(180deg,
      rgba(255,255,255,0) 0%,
      rgba(255,255,255,.05) 18%,
      rgba(255,255,255,.18) 38%,
      rgba(255,255,255,.42) 62%,
      rgba(255,255,255,.74) 84%,
      rgba(255,255,255,.96) 100%)!important;
    background-clip:border-box!important;
  }
}

@media(max-width:640px){
  html[data-rb-theme="light"] body .gallery-lightbox__toolbar .gallery-lightbox__share,
html[data-rb-theme="light"] body .gallery-lightbox__toolbar button.gallery-lightbox__share.event-share-btn{
    max-width:calc(100vw - 74px)!important;
    min-width:48px!important;
    min-height:38px!important;
    padding:8px 12px!important;
  }
}


/* v1350 – eine gemeinsame Light-Komponente für alle sechs Haupt-Aufklapper. */
@media screen {
  
  
  html[data-rb-theme="light"] body main.page-slug-home details.rb-home-fold.rb-home-fold-unified.rb-home-main-fold[open]>.rb-home-main-content{
    background:#f8fafb!important;
    color:#111820!important;
  }
  /* Hero-Abschluss wie im Dark-Design: vorhandene untere Kante im Light ruhig weiss-grau uebersetzen. */
  html[data-rb-theme="light"] body main.page-slug-home .hero-card.rb-home-hero-gallery{
    border-bottom:0!important;
  }
  html[data-rb-theme="light"] body main.page-slug-home .rb-home-hero-red-edge{
    background:linear-gradient(to top,rgba(154,166,175,.24) 0%,rgba(203,211,217,.17) 38%,rgba(237,241,244,.10) 68%,rgba(255,255,255,0) 100%)!important;
  }
  html[data-rb-theme="light"] body main.page-slug-home .rb-home-hero-red-edge::after{
    background:#b9c3ca!important;
    opacity:.72!important;
    height:1px!important;
  }
  /* Der untere Buttonbereich bleibt wie im Dark-Design als eigene Zone erkennbar,
   * im Light-Theme aber nur mit einer ruhigen weiss-grauen Trennkante. */
  html[data-rb-theme="light"] body main.page-slug-home .hero-card.rb-home-hero-gallery .hero-actions.hero-actions-centered{
    border-top:1px solid rgba(116,130,140,.28)!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.52)!important;
  }
}

/* v1351 – letzter Light-Abgleich für ältere Startseiten-Hilfsklassen. */
@media screen {
  html[data-rb-theme="light"] body main.page-slug-home .rb-home-decision-strip span{
    color:#42515d!important;-webkit-text-fill-color:#42515d!important;
  }
  html[data-rb-theme="light"] body main.page-slug-home .rb-home-entry-steps-intro{
    background:#eaf4ec!important;border-color:#8db59a!important;color:#285a39!important;
    box-shadow:none!important;
  }
  html[data-rb-theme="light"] body main.page-slug-home .rb-home-entry-label{
    color:#263540!important;-webkit-text-fill-color:#263540!important;
  }
  html[data-rb-theme="light"] body main.page-slug-home .rb-home-location--variant-f{
    background:#f8fafb!important;border-color:#929fa9!important;color:#17212b!important;
  }
  html[data-rb-theme="light"] body main.page-slug-home .rb-home-location__item--variant-b,
html[data-rb-theme="light"] body main.page-slug-home .rb-home-location__item--wide--variant-a{
    border-bottom-color:#c9d1d7!important;
  }
  html[data-rb-theme="light"] body main.page-slug-home .rb-home-location__label{color:#5b6873!important}
  html[data-rb-theme="light"] body main.page-slug-home .rb-home-location__value,
html[data-rb-theme="light"] body main.page-slug-home .rb-home-location__value a{
    color:#1f2e39!important;-webkit-text-fill-color:#1f2e39!important;
  }
}

/* v1353 – Startseite Light exakt an Dark-Geometrie angeglichen.
 * Wichtig: Die volle helle Zone wird ausschließlich vom Hero-Pseudo-Element erzeugt.
 * Dadurch reicht der Verlauf wirklich von Außenkante zu Außenkante und hat exakt
 * dieselbe Höhe/Geometrie wie im Dark-Modus. Der Button-Container selbst bleibt transparent. */
@media screen {
  html[data-rb-theme="light"] body main.page-slug-home .hero-card.rb-home-hero-gallery::after{
    left:-3px!important;
    right:-3px!important;
    bottom:-1px!important;
    width:auto!important;
    height:28%!important;
    border:3px solid transparent!important;
    background:linear-gradient(180deg,
      rgba(255,255,255,.12) 0%,
      rgba(255,255,255,.28) 26%,
      rgba(247,249,250,.58) 56%,
      rgba(240,244,247,.84) 81%,
      rgba(235,240,243,.98) 100%)!important;
    background-clip:padding-box!important;
    border-top-left-radius:0!important;
    border-top-right-radius:0!important;
    border-bottom-left-radius:inherit!important;
    border-bottom-right-radius:inherit!important;
    box-shadow:none!important;
    clip-path:none!important;
    transform:none!important;
  }
  html[data-rb-theme="light"] body main.page-slug-home .hero-card.rb-home-hero-gallery .hero-actions.hero-actions-centered{
    width:100%!important;
    max-width:none!important;
    margin-left:0!important;
    margin-right:0!important;
    align-self:stretch!important;
    background:transparent!important;
    background-image:none!important;
    border-top:0!important;
    border-left:0!important;
    border-right:0!important;
    border-bottom:0!important;
    box-shadow:none!important;
  }

  /* Die letzten drei Haupt-Aufklapper im Light explizit mit derselben Kartenlogik
   * wie die oberen Aufklapper. Die ID-Regeln verhindern, dass ältere Sonderregeln
   * Weißschrift/Pfeile oder einen zu schwachen Rahmen zurückholen. */
  
  
  
  
  
  
}
@media screen and (max-width:760px){
  html[data-rb-theme="light"] body main.page-slug-home .hero-card.rb-home-hero-gallery::after{
    height:205px!important;
  }
}

/* v1354 – finale externe Light-Absicherung fuer Startseiten-Unterkante und Kontakt. */
@media screen {
  html[data-rb-theme="light"] body main.page-slug-home .rb-home-hero-red-edge{background:linear-gradient(to top,rgba(66,78,87,.30) 0%,rgba(91,104,114,.17) 38%,rgba(133,146,155,.07) 68%,rgba(255,255,255,0) 100%)!important;opacity:1!important}
  html[data-rb-theme="light"] body main.page-slug-home .rb-home-hero-red-edge::after{background:#687680!important;opacity:1!important;height:2px!important;box-shadow:0 -2px 8px rgba(66,78,87,.16)!important}
  html[data-rb-theme="light"] body main.page-slug-home .rb-home-fold-contact .contact-role-card{background:#f4f7f9!important;background-image:none!important;border-color:#a4afb7!important;color:#111820!important}
  html[data-rb-theme="light"] body main.page-slug-home .rb-home-fold-contact .contact-role-card :is(h2,h3,p,strong,span,a){color:#111820!important;-webkit-text-fill-color:#111820!important;opacity:1!important}
}


/* v1356 – Startseite Light final: vorhandene Haupt-Aufklapper und Chips-Fotokarte direkt absichern.
   Keine neue Komponente, Dark Mode bleibt unveraendert. */
@media screen {
  
  
  
  
  
  
  html[data-rb-theme="light"] #rbHomeServicesTitle .rb-fold-title,
html[data-rb-theme="light"] #rbHomeContactTitle .rb-fold-title,
html[data-rb-theme="light"] #rbHomeNewsletterTitle .rb-fold-title{
    color:#111820!important;
    -webkit-text-fill-color:#111820!important;
    text-shadow:none!important;
    opacity:1!important;
  }
  html[data-rb-theme="light"] .rb-home-trainingcards{
    background:#e5ebef!important;
    border:1px solid #7f8d98!important;
    color:#17212b!important;
  }
  html[data-rb-theme="light"] .rb-home-trainingcards__image{
    opacity:1!important;
    filter:brightness(1.24) saturate(.88) contrast(.92)!important;
  }
  html[data-rb-theme="light"] .rb-home-trainingcards__shade{
    background:linear-gradient(90deg,rgba(248,250,251,.88) 0%,rgba(244,247,249,.70) 52%,rgba(239,244,247,.40) 100%),linear-gradient(0deg,rgba(231,238,242,.76),rgba(248,250,251,.14) 72%)!important;
  }
  html[data-rb-theme="light"] .rb-home-trainingcards :is(h3,h4,p){
    color:#17212b!important;
    -webkit-text-fill-color:#17212b!important;
    text-shadow:none!important;
    opacity:1!important;
  }
  html[data-rb-theme="light"] .rb-home-trainingcards p{
    color:#263642!important;
    -webkit-text-fill-color:#263642!important;
    font-weight:650!important;
  }
}

/* v1357 – Startseite Light: vorhandene Info-Karten bewusster dunkel und kontrastreich. */
html[data-rb-theme="light"] body .page-slug-home .rb-home-fold-parents .rb-home-parent-item strong,
html[data-rb-theme="light"] body .page-slug-home .rb-home-fold-other .rb-home-parent-item strong{
  color:#111820!important;
  -webkit-text-fill-color:#111820!important;
  opacity:1!important;
}
html[data-rb-theme="light"] body .page-slug-home .rb-home-fold-parents .rb-home-parent-item p,
html[data-rb-theme="light"] body .page-slug-home .rb-home-fold-other .rb-home-parent-item p{
  color:#24313a!important;
  -webkit-text-fill-color:#24313a!important;
  opacity:1!important;
}


/* v1361 – Light Mode: Startseite Trainingsangebote und Anfahrt/Kontakt klar lesbar, ohne Dark-Design anzutasten. */
html[data-rb-theme="light"] body .page-slug-home .services-section .service-card{
  background:#f7f9fa!important;border-color:#8997a1!important;color:#17212b!important;
}
html[data-rb-theme="light"] body .page-slug-home .services-section .service-body :is(h2,h3,h4,strong){color:#111820!important;-webkit-text-fill-color:#111820!important;text-shadow:none!important;opacity:1!important}
html[data-rb-theme="light"] body .page-slug-home .services-section .service-body p{
  color:#2c3b46!important;-webkit-text-fill-color:#2c3b46!important;text-shadow:none!important;opacity:1!important;font-weight:600!important;
}
html[data-rb-theme="light"] body .page-slug-home .services-section .service-card :is(.service-meta,.service-note,small){color:#475863!important;-webkit-text-fill-color:#475863!important;opacity:1!important}

html[data-rb-theme="light"] body .page-slug-home .rb-home-location--variant-f,
html[data-rb-theme="light"] body .page-slug-home .rb-home-location--variant-f .rb-home-location__panel,
html[data-rb-theme="light"] body .page-slug-home .rb-home-location--variant-f .rb-home-location-item{
  background:#f7f9fa!important;border-color:#8997a1!important;color:#17212b!important;
}
html[data-rb-theme="light"] body .page-slug-home .rb-home-location--variant-f :is(h2,h3,h4,strong,.rb-home-location__label,.rb-home-location__value){
  color:#111820!important;-webkit-text-fill-color:#111820!important;text-shadow:none!important;opacity:1!important;
}
html[data-rb-theme="light"] body .page-slug-home .rb-home-location--variant-f :is(p,span,small,.rb-home-location__text){
  color:#334550!important;-webkit-text-fill-color:#334550!important;text-shadow:none!important;opacity:1!important;
}
html[data-rb-theme="light"] body .page-slug-home .rb-home-location--variant-f .rb-home-location-item{box-shadow:0 1px 0 rgba(24,34,43,.03)!important}
html[data-rb-theme="light"] body .page-slug-home :is(.rb-home-contact-card,.rb-home-map-card){background:#f7f9fa!important;border-color:#8997a1!important;color:#17212b!important}
html[data-rb-theme="light"] body .page-slug-home :is(.rb-home-contact-card,.rb-home-map-card) :is(p,span,small){color:#334550!important;-webkit-text-fill-color:#334550!important;opacity:1!important}


/* v1361 – tatsächlicher Anfahrt-&-Kontakt-Block (variant-g / home-map-card) im Light Mode. */
html[data-rb-theme="light"] body main.page-slug-home .home-contact-section .home-map-card,
html[data-rb-theme="light"] body main.page-slug-home .home-contact-section .home-contact-form-card{
  background:#f7f9fa!important;border-color:#8997a1!important;color:#17212b!important;
}
html[data-rb-theme="light"] body main.page-slug-home .rb-home-location--variant-g .contact-role-card{
  background:#fff!important;border:1px solid #9da9b2!important;box-shadow:none!important;color:#17212b!important;
}
html[data-rb-theme="light"] body main.page-slug-home .rb-home-location--variant-g .contact-role-card :is(h2,h3,strong){
  color:#111820!important;-webkit-text-fill-color:#111820!important;text-shadow:none!important;opacity:1!important;
}
html[data-rb-theme="light"] body main.page-slug-home .rb-home-location--variant-g .contact-role-card :is(p,span,a){
  color:#30414d!important;-webkit-text-fill-color:#30414d!important;text-shadow:none!important;opacity:1!important;
}
html[data-rb-theme="light"] body main.page-slug-home .home-map-card :is(.section-title,.rb-map-heading){color:#111820!important;-webkit-text-fill-color:#111820!important}
html[data-rb-theme="light"] body main.page-slug-home .home-map-card .rb-home-location-intro{color:#334550!important;-webkit-text-fill-color:#334550!important;opacity:1!important}
html[data-rb-theme="light"] body main.page-slug-home .rb-home-map-frame{border-color:#9da9b2!important;background:#eef2f5!important}


/* v1362 – Light Mode konsistent: Standortkarten hell, Menü-Hover ohne Startseiten-Sonderschatten, Galerie-Aktionen bündig. */
html[data-rb-theme="light"] body main.page-slug-home .rb-home-location--variant-g .contact-cards-grid>.contact-role-card{background:#f8fafb!important;background-image:none!important;border:1px solid #8b99a3!important;box-shadow:none!important;color:#17212b!important}
html[data-rb-theme="light"] body main.page-slug-home .rb-home-location--variant-g .contact-cards-grid>.contact-role-card :is(h2,h3,strong,p,span,a,.phone){color:#17212b!important;-webkit-text-fill-color:#17212b!important;text-shadow:none!important;opacity:1!important}
html[data-rb-theme="light"] body main.page-slug-home .rb-home-location--variant-g .contact-cards-grid>.contact-role-card p{color:#3b4a55!important;-webkit-text-fill-color:#3b4a55!important}
@media(hover:hover) and (pointer:fine){html[data-rb-theme="light"] body.page-home .main-nav a:hover,
html[data-rb-theme="light"] body .page-slug-home~* .main-nav a:hover,
html[data-rb-theme="light"] body .main-nav a:hover,
html[data-rb-theme="light"] body .main-nav a:focus-visible{box-shadow:none!important;transform:none!important}}
html body .gallery-lightbox__toolbar .gallery-lightbox__share.event-share-btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:42px!important;height:42px!important;padding:0 16px!important;line-height:1!important;box-sizing:border-box!important}
html body .gallery-lightbox__toolbar .gallery-lightbox__share.event-share-btn .event-share-text{display:inline-flex!important;align-items:center!important;justify-content:center!important;line-height:1!important;margin:0!important;padding:0!important;transform:none!important}
html body .gallery-lightbox__toolbar .gallery-lightbox__share.event-share-btn .event-share-icon{display:inline-flex!important;align-items:center!important;justify-content:center!important;line-height:0!important;margin:0!important}

/* v1363 – Light Mode als echte Spiegelung des Dark Designs: gleiche Struktur, helle Flächen, klare Borders. */








html[data-rb-theme="light"] body main.page-slug-home details.rb-home-fold-services.rb-home-fold-unified>.rb-home-fold-content,
html[data-rb-theme="light"] body main.page-slug-home details.rb-home-fold-parents.rb-home-fold-unified>.rb-home-fold-content,
html[data-rb-theme="light"] body main.page-slug-home details.rb-home-fold-other.rb-home-fold-unified>.rb-home-fold-content,
html[data-rb-theme="light"] body main.page-slug-home details.rb-home-fold-contact.rb-home-fold-unified>.rb-home-fold-content{
  background:#f8fafb!important;background-image:none!important;color:#17212b!important;
}
html[data-rb-theme="light"] body main.page-slug-home .services-section .service-grid-linked>.service-card.service-card-linked{
  background:#fff!important;background-image:none!important;color:#17212b!important;box-shadow:0 8px 20px rgba(25,35,43,.055)!important;
}
html[data-rb-theme="light"] body main.page-slug-home .services-section .service-grid-linked>.service-card.service-card-linked .service-body{background:#fff!important;color:#17212b!important}
html[data-rb-theme="light"] body main.page-slug-home .services-section .service-grid-linked>.service-card.service-card-linked .service-body h3{color:#111820!important;-webkit-text-fill-color:#111820!important;text-shadow:none!important}
html[data-rb-theme="light"] body main.page-slug-home .services-section .service-grid-linked>.service-card.service-card-linked .service-body p{color:#344550!important;-webkit-text-fill-color:#344550!important;text-shadow:none!important;opacity:1!important}
html[data-rb-theme="light"] body main.page-slug-home .services-section .service-grid-linked>.service-card.service-card-linked .offer-pill{background:#eef2f5!important;border-color:#9ba8b1!important;color:#17212b!important}
html[data-rb-theme="light"] body main.page-slug-home .services-section .service-grid-linked>.service-card.service-card-linked .offer-pill :is(small,strong){color:#17212b!important;-webkit-text-fill-color:#17212b!important}
html[data-rb-theme="light"] body main.page-slug-home .rb-home-fold-parents .rb-home-parent-item,
html[data-rb-theme="light"] body main.page-slug-home .rb-home-fold-other .rb-home-parent-item{background:#fff!important;background-image:none!important;border:1px solid #a5b0b8!important;color:#17212b!important;box-shadow:none!important}
html[data-rb-theme="light"] body main.page-slug-home .rb-home-fold-parents .rb-home-parent-item strong,
html[data-rb-theme="light"] body main.page-slug-home .rb-home-fold-other .rb-home-parent-item strong{color:#111820!important;-webkit-text-fill-color:#111820!important}
html[data-rb-theme="light"] body main.page-slug-home .rb-home-fold-parents .rb-home-parent-item p,
html[data-rb-theme="light"] body main.page-slug-home .rb-home-fold-other .rb-home-parent-item p,
html[data-rb-theme="light"] body main.page-slug-home .rb-home-fold-parents .section-sub,
html[data-rb-theme="light"] body main.page-slug-home .rb-home-fold-other .section-sub{color:#3e4f5a!important;-webkit-text-fill-color:#3e4f5a!important;opacity:1!important}
html[data-rb-theme="light"] body main.page-slug-home .home-contact-section .home-map-card,
html[data-rb-theme="light"] body main.page-slug-home .home-contact-section .home-contact-form-card{background:#f8fafb!important;background-image:none!important;border:1px solid #8f9da7!important;color:#17212b!important}
html[data-rb-theme="light"] body main.page-slug-home .rb-home-location--variant-g .rb-home-contact-cards>section.contact-role-card{background:#fff!important;background-image:none!important;border:1px solid #98a5ae!important;color:#17212b!important;box-shadow:none!important}
html[data-rb-theme="light"] body main.page-slug-home .rb-home-location--variant-g .rb-home-contact-cards>section.contact-role-card :is(h2,h3,h4,strong){color:#111820!important;-webkit-text-fill-color:#111820!important;text-shadow:none!important}
html[data-rb-theme="light"] body main.page-slug-home .rb-home-location--variant-g .rb-home-contact-cards>section.contact-role-card :is(p,span,a,.phone){color:#344550!important;-webkit-text-fill-color:#344550!important;text-shadow:none!important;opacity:1!important}
html[data-rb-theme="light"] body main.page-slug-home .home-map-card :is(.section-title,.rb-map-heading){color:#111820!important;-webkit-text-fill-color:#111820!important}
html[data-rb-theme="light"] body main.page-slug-home .home-map-card .rb-home-location-intro{color:#3e4f5a!important;-webkit-text-fill-color:#3e4f5a!important;opacity:1!important}
@media(hover:hover) and (pointer:fine){html[data-rb-theme="light"] body .main-nav a:hover,
html[data-rb-theme="light"] body .main-nav a:focus-visible{box-shadow:none!important;filter:none!important;transform:none!important}}
@media(min-width:761px){html body .gallery-lightbox__toolbar .gallery-lightbox__share.event-share-btn .event-share-icon{display:none!important}html body .gallery-lightbox__toolbar .gallery-lightbox__share.event-share-btn{display:inline-flex!important;align-items:center!important;justify-content:center!important;height:42px!important;min-height:42px!important;padding:0 18px!important}html body .gallery-lightbox__toolbar .gallery-lightbox__share.event-share-btn .event-share-text{display:block!important;line-height:42px!important;text-align:center!important;margin:0!important;padding:0!important;transform:none!important}}

/* ==========================================================================
 * v1366 – Light-Mode-Finish / zentrales öffentliches Designsystem
 * Gleiche Informationshierarchie wie Dark, nur mit hellen Flächen.
 * Bewusst am Dateiende: alte Einzelregeln dürfen die Grundkontraste nicht
 * wieder überstimmen. Foto-Heros und farbcodierte Status-/CTA-Flächen bleiben
 * semantisch unverändert.
 * ========================================================================== */
html[data-rb-theme="dark"]{
  --rb-ds-page:var(--rb-ui-page);
  --rb-ds-surface:var(--rb-ui-surface);
  --rb-ds-surface-2:var(--rb-ui-surface-2);
  --rb-ds-surface-3:var(--rb-ui-surface-3);
  --rb-ds-border:var(--rb-ui-border);
  --rb-ds-border-strong:var(--rb-ui-border-strong);
  --rb-ds-text:var(--rb-ui-text);
  --rb-ds-muted:var(--rb-ui-muted);
  --rb-ds-faint:var(--rb-ui-faint);
  --rb-ds-hover:var(--rb-ui-hover);
  --rb-ds-focus:var(--rb-ui-focus);
}
html[data-rb-theme="light"]{
  --rb-ds-page:var(--rb-ui-page);
  --rb-ds-surface:var(--rb-ui-surface);
  --rb-ds-surface-2:var(--rb-ui-surface-2);
  --rb-ds-surface-3:var(--rb-ui-surface-3);
  --rb-ds-border:var(--rb-ui-border);
  --rb-ds-border-strong:var(--rb-ui-border-strong);
  --rb-ds-text:var(--rb-ui-text);
  --rb-ds-muted:var(--rb-ui-muted);
  --rb-ds-faint:var(--rb-ui-faint);
  --rb-ds-hover:var(--rb-ui-hover);
  --rb-ds-focus:var(--rb-ui-focus);
  --rb-ds-shadow:var(--rb-ui-shadow);
}
@media screen{
  html[data-rb-theme="light"] body{
    --bg:var(--rb-ds-page)!important;
    --bg-soft:#dfe6eb!important;
    --panel:var(--rb-ds-surface)!important;
    --panel-2:var(--rb-ds-surface-2)!important;
    --line:var(--rb-ds-border)!important;
    --text:var(--rb-ds-text)!important;
    --muted:var(--rb-ds-muted)!important;
  }

  /* Eine helle Oberflächenfamilie für echte Inhalts-/UI-Flächen. */
  html[data-rb-theme="light"] body :is(
    .section-card,.content-box,.feature-item,.download-card,.welcome-box,.notice,.mini-notice,
    .faq-item,.faq-intro,.contact-card,.contact-role-card,.info-line,.rb-home-parent-item,
    .rb-home-entry-card,.rb-home-hours__card,.rb-ticket-card,.rb-gallery-item
  ){
    background:var(--rb-ds-surface)!important;
    background-image:none!important;
    border-color:var(--rb-ds-border)!important;
    color:var(--rb-ds-text)!important;
    box-shadow:var(--rb-ds-shadow)!important;
  }

  /* Sekundäre Flächen sichtbar vom Hauptpanel trennen, ohne neue Kartenschlacht. */
  html[data-rb-theme="light"] body :is(
    .service-body,.rb-home-fold-content,.faq-answer,.rb-home-other-info,
    .rb-home-entry-steps,.training-info-box
  ){
    background-color:var(--rb-ds-surface-2)!important;
    color:var(--rb-ds-text)!important;
  }

  /* Typografie auf hellen Inhaltsflächen: keine weißen Alttexte mehr. */
  html[data-rb-theme="light"] body :is(
    .section-card,.content-box,.service-card,.feature-item,.download-card,.welcome-box,
    .faq-item,.faq-intro,.contact-card,.contact-role-card,.info-line,.rb-home-parent-item,
    .rb-home-entry-card,.rb-home-hours__card,.rb-home-fold-content
  ) :is(h1,h2,h3,h4,h5,strong):not(.btn):not(.badge):not(.course){
    color:var(--rb-ds-text)!important;
    -webkit-text-fill-color:var(--rb-ds-text)!important;
    text-shadow:none!important;
  }
  html[data-rb-theme="light"] body :is(
    .section-card,.content-box,.service-card,.feature-item,.download-card,.welcome-box,
    .faq-item,.faq-intro,.contact-card,.contact-role-card,.info-line,.rb-home-parent-item,
    .rb-home-entry-card,.rb-home-hours__card,.rb-home-fold-content
  ) :is(p,small,.section-sub,.help,.service-note,.service-meta):not(.btn):not(.badge){
    color:var(--rb-ds-muted)!important;
    -webkit-text-fill-color:var(--rb-ds-muted)!important;
    text-shadow:none!important;
    opacity:1!important;
  }

  /* Aufklapper: gleiche Geometrie wie Dark, mit klarer Kopf-/Inhaltsstufe. */
  html[data-rb-theme="light"] body :is(.faq-item,details.rb-home-fold-unified){
    border-color:var(--rb-ds-border-strong)!important;
    background:var(--rb-ds-surface)!important;
  }
  html[data-rb-theme="light"] body :is(.faq-item,details.rb-home-fold-unified)>summary{
    background:var(--rb-ds-surface-2)!important;
    border-color:var(--rb-ds-border)!important;
    color:var(--rb-ds-text)!important;
    -webkit-text-fill-color:var(--rb-ds-text)!important;
    text-shadow:none!important;
  }
  html[data-rb-theme="light"] body :is(.faq-item,details.rb-home-fold-unified)[open]>summary{
    background:var(--rb-ds-surface-3)!important;
    border-bottom-color:var(--rb-ds-border-strong)!important;
  }

  /* Startseite: Trainingsangebote bleiben dieselben Karten, aber in Hell lesbar. */
  html[data-rb-theme="light"] body main.page-slug-home .services-section .service-card,
html[data-rb-theme="light"] body main.page-slug-home .services-section .service-card .service-body{
    background:var(--rb-ds-surface)!important;
    background-image:none!important;
    border-color:var(--rb-ds-border)!important;
    color:var(--rb-ds-text)!important;
  }
  html[data-rb-theme="light"] body main.page-slug-home .services-section .service-card .service-body :is(h2,h3,h4,strong){
    color:var(--rb-ds-text)!important;
    -webkit-text-fill-color:var(--rb-ds-text)!important;
  }
  html[data-rb-theme="light"] body main.page-slug-home .services-section .service-card .service-body :is(p,small,.service-meta,.service-note){
    color:var(--rb-ds-muted)!important;
    -webkit-text-fill-color:var(--rb-ds-muted)!important;
    opacity:1!important;
  }

  /* Startseite: Anfahrt/Kontakt – gleiche vier Karten in einer eindeutigen Hierarchie. */
  html[data-rb-theme="light"] body main.page-slug-home .rb-home-location--variant-g :is(
    .home-map-card,.home-contact-form-card,.contact-role-card
  ){
    background:var(--rb-ds-surface)!important;
    background-image:none!important;
    border-color:var(--rb-ds-border)!important;
    color:var(--rb-ds-text)!important;
    box-shadow:var(--rb-ds-shadow)!important;
  }
  html[data-rb-theme="light"] body main.page-slug-home .rb-home-location--variant-g .contact-role-card :is(h2,h3,h4,strong){
    color:var(--rb-ds-text)!important;
    -webkit-text-fill-color:var(--rb-ds-text)!important;
  }
  html[data-rb-theme="light"] body main.page-slug-home .rb-home-location--variant-g .contact-role-card :is(p,span,a,.phone,small){
    color:var(--rb-ds-muted)!important;
    -webkit-text-fill-color:var(--rb-ds-muted)!important;
    opacity:1!important;
  }
  html[data-rb-theme="light"] body main.page-slug-home .rb-home-map-frame{
    background:var(--rb-ds-surface-2)!important;
    border-color:var(--rb-ds-border)!important;
  }

  /* Tabellen: klare Kopfzeile, ruhige Zeilen, gleiche Borders. */
  html[data-rb-theme="light"] body :is(.table-wrap,.schedule-wrapper){
    background:var(--rb-ds-surface)!important;
    border-color:var(--rb-ds-border)!important;
    box-shadow:none!important;
  }
  html[data-rb-theme="light"] body :is(.table,.schedule){
    color:var(--rb-ds-text)!important;
    background:var(--rb-ds-surface)!important;
  }
  html[data-rb-theme="light"] body :is(.table,.schedule) th{
    background:var(--rb-ds-surface-3)!important;
    color:#273741!important;
    border-color:var(--rb-ds-border)!important;
  }
  html[data-rb-theme="light"] body :is(.table,.schedule) td{
    color:#1d2a33!important;
    border-color:#b3bdc5!important;
  }
  html[data-rb-theme="light"] body :is(.table,.schedule) tbody tr:hover td{
    background:var(--rb-ds-hover)!important;
  }

  /* Formulare und Suchfelder: sichtbar, nicht blendend weiß auf weiß. */
  html[data-rb-theme="light"] body :is(input,select,textarea):not([type="checkbox"]):not([type="radio"]):not([type="file"]){
    background:#fbfcfd!important;
    border-color:var(--rb-ds-border-strong)!important;
    color:var(--rb-ds-text)!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.8)!important;
  }
  html[data-rb-theme="light"] body :is(input,select,textarea):focus{
    border-color:var(--rb-ds-focus)!important;
    box-shadow:0 0 0 3px rgba(169,42,41,.13)!important;
    outline:0!important;
  }
  html[data-rb-theme="light"] body :is(input,textarea)::placeholder{
    color:#62717c!important;
    opacity:1!important;
  }

  /* Fokus ist in beiden Themes klar, ohne übertriebenen Shadow. */
  html body :is(a,button,input,select,textarea,summary):focus-visible{
    outline:3px solid rgba(188,38,37,.32)!important;
    outline-offset:2px!important;
  }

  /* Hover im hellen Header wie auf allen Unterseiten: keine Sonderbewegung/-schatten. */
  @media(hover:hover) and (pointer:fine){
    html[data-rb-theme="light"] body .main-nav a:hover,
html[data-rb-theme="light"] body .main-nav a:focus-visible{
      background:var(--rb-ds-hover)!important;
      border-color:var(--rb-ds-border-strong)!important;
      box-shadow:none!important;
      transform:none!important;
      filter:none!important;
    }
  }
}

/* v1377 – gemeinsame Public-Komponenten: Felder und Medienflächen folgen einer Theme-Quelle. */
html body .site-shell :is(input,select,textarea):not([type="checkbox"]):not([type="radio"]):not([type="file"]):not([type="submit"]):not([type="button"]){
  background:var(--rb-ui-field-bg)!important;
  border:2px solid var(--rb-ui-field-border)!important;
  color:var(--rb-ui-text)!important;
  box-shadow:inset 0 1px 0 color-mix(in srgb,var(--rb-ui-text) 4%,transparent)!important;
}
html body .site-shell :is(input,select,textarea):focus{
  border-color:var(--rb-ui-focus)!important;
  box-shadow:0 0 0 3px color-mix(in srgb,var(--rb-ui-focus) 14%,transparent)!important;
  outline:0!important;
}
html body .site-shell :is(.service-media,.event-media,.media-thumb,.rb-service-page-hero__media,.rb-gallery-media,.rb-home-gallery-thumb,.rb-training-card-hero,.rb-home-trainingcards,.rb-home-hero-gallery){
  background-color:var(--rb-ui-media-bg)!important;
}
html[data-rb-theme="light"] body .site-shell :is(.service-media,.event-media,.media-thumb,.rb-service-page-hero__media,.rb-gallery-media,.rb-home-gallery-thumb,.rb-training-card-hero,.rb-home-trainingcards,.rb-home-hero-gallery){
  background-color:var(--rb-ui-media-bg)!important;
}
html body .rb-faq-search-v520.section-card{padding:var(--rb-ui-space-4)!important;border-color:var(--rb-ui-border)!important}
html body .rb-faq-search-v520.section-card input{margin-top:6px!important}



/* v1378 – Light bleibt hell, aber Texte/Borders und Vereinsfarben sind eindeutig lesbar. */
@media screen{
  html[data-rb-theme="light"] body .legal-music-note{
    color:var(--rb-ui-text)!important;background:var(--rb-ui-brand-soft)!important;
    border-color:color-mix(in srgb,var(--rb-ui-brand) 38%,var(--rb-ui-border))!important;
  }
  html[data-rb-theme="light"] body .legal-music-note strong{color:var(--rb-ui-brand-strong)!important}
  html[data-rb-theme="light"] body :is(.section-sub,.help,.small){color:var(--rb-ui-muted)!important}
  html[data-rb-theme="light"] body .btn-primary{
    background:linear-gradient(135deg,var(--rb-ui-brand),var(--rb-ui-brand-strong))!important;
    border-color:var(--rb-ui-brand-strong)!important;color:#fff!important;
  }
}

/* v1378 – helle Ladeflächen statt dunklem Aufblitzen im Light-Mode. */
html[data-rb-theme="light"] body .rb-map-loading-brand{
  background:var(--rb-ui-media-bg)!important;
  color:var(--rb-ui-text)!important;
}


/* v1380 – Public: redundante Sammelrahmen entfernen, Aufklapper ruhig und vertikal. */
html body main.page-slug-home .home-about-card .welcome-box{
  width:100%!important;max-width:none!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;
  background:transparent!important;box-shadow:none!important;overflow:visible!important;color:inherit!important
}
html body main.page-slug-home .home-about-card .welcome-box::before,
html body main.page-slug-home .home-about-card .welcome-box::after{content:none!important;display:none!important}
html body main.page-slug-home .home-about-card .welcome-heading{margin:0 0 18px!important}
html body main.page-slug-home .home-about-card .welcome-grid{width:100%!important;max-width:none!important;gap:14px!important}
html body main.page-slug-home .home-about-card .welcome-item{
  min-width:0!important;width:100%!important;box-sizing:border-box!important;border-color:var(--rb-ui-border)!important;overflow:hidden!important
}
html[data-rb-theme="light"] body main.page-slug-home .home-about-card .welcome-item{
  background:var(--rb-ui-surface)!important;border-color:var(--rb-ui-border-strong)!important;color:var(--rb-ui-text)!important
}

/* FAQ und Startseiten-Folds: derselbe dezente Plus-Schalter, kein seitliches Wegspringen. */

html body .faq-item>.faq-question{
  position:relative!important;box-sizing:border-box!important;padding-right:58px!important;overflow:hidden!important
}
html body main.page-slug-home details.rb-home-fold-unified>.rb-home-fold-content,
html body .faq-item>.faq-answer{transform:none!important;translate:none!important;max-width:100%!important;box-sizing:border-box!important}
@media(max-width:560px){
  html body .faq-item>.faq-question{padding-right:52px!important}
}

/* ========================================================================== */
/* v1390/v1393 – Public Theme Contrast & Background-Parität                   */
/* Standardseiten nutzen im Light-Mode einen durchgehenden Seitenhintergrund. */
/* Der äußere Legacy-Content-Wrapper ist keine zweite Großfläche; echte       */
/* Karten innerhalb der Seite behalten ihre eigene Oberfläche.                */
/* Die Startseiten-/Dark-Korrektur darunter bleibt bewusst unverändert.        */
/* ========================================================================== */
@media screen{
  html[data-rb-theme="light"] body main.site-main:not(.page-slug-home) > .hero,
html[data-rb-theme="light"] body main.site-main:not(.page-slug-home) > .section{
    background:transparent!important;
    background-image:none!important;
  }
  html[data-rb-theme="light"] body main.site-main:not(.page-slug-home) .rb-managed-content > .content-box{
    background:transparent!important;
    background-image:none!important;
    border-color:transparent!important;
    box-shadow:none!important;
  }

  html[data-rb-theme="dark"] body main.page-slug-home .home-about-card .welcome-heading{
    color:var(--rb-ui-text-strong)!important;
    -webkit-text-fill-color:var(--rb-ui-text-strong)!important;
    text-shadow:none!important;
  }
  html[data-rb-theme="dark"] body main.page-slug-home .home-about-card .welcome-heading .welcome-brand-line,
html[data-rb-theme="dark"] body main.page-slug-home .home-about-card .welcome-heading .welcome-brand-plain{
    color:var(--rb-ui-text-strong)!important;
    -webkit-text-fill-color:var(--rb-ui-text-strong)!important;
    opacity:1!important;
    text-shadow:none!important;
  }
  html[data-rb-theme="dark"] body main.page-slug-home .home-about-card .welcome-heading .welcome-slogan,
html[data-rb-theme="dark"] body main.page-slug-home .home-about-card .welcome-heading .welcome-slogan-plain{
    color:var(--rb-ui-muted)!important;
    -webkit-text-fill-color:var(--rb-ui-muted)!important;
    opacity:1!important;
    text-shadow:none!important;
  }
}

/* Gemeinsamer Menüakzent: Probetraining, Boxtimer und Trainingszeiten (v1436).
 * Vorhandene Vereinsrot-Werte, Geometrie und Zustände bleiben erhalten.
 * Die drei Links verwenden dieselbe Regel in Desktop- und Mobilnavigation.
 */
html[data-rb-theme="dark"] body .topbar.rb-header-original-fixed .main-nav a:is(.rb-nav-probetraining, .rb-nav-boxtimer),
html[data-rb-theme="dark"] body .topbar.rb-header-original-fixed .main-nav a.rb-nav-trainingszeiten{
  background:rgba(188,38,37,.14)!important;
  border-color:rgba(211,61,60,.38)!important;
  color:#ffe1e1!important;
}
html[data-rb-theme="light"] body .topbar.rb-header-original-fixed .main-nav a:is(.rb-nav-probetraining, .rb-nav-boxtimer),
html[data-rb-theme="light"] body .topbar.rb-header-original-fixed .main-nav a.rb-nav-trainingszeiten{
  background:#fff2f2!important;
  border-color:#c45a5a!important;
  color:#842323!important;
}
@media(hover:hover) and (pointer:fine){
  html[data-rb-theme="dark"] body .topbar.rb-header-original-fixed .main-nav a:is(.rb-nav-probetraining, .rb-nav-boxtimer):hover,
  html[data-rb-theme="dark"] body .topbar.rb-header-original-fixed .main-nav a.rb-nav-trainingszeiten:hover,
html[data-rb-theme="dark"] body .topbar.rb-header-original-fixed .main-nav a:is(.rb-nav-probetraining, .rb-nav-boxtimer):focus-visible,
html[data-rb-theme="dark"] body .topbar.rb-header-original-fixed .main-nav a.rb-nav-trainingszeiten:focus-visible{
    background:rgba(188,38,37,.24)!important;
    border-color:rgba(225,73,72,.62)!important;
    color:#fff!important;
  }
  html[data-rb-theme="light"] body .topbar.rb-header-original-fixed .main-nav a:is(.rb-nav-probetraining, .rb-nav-boxtimer):hover,
  html[data-rb-theme="light"] body .topbar.rb-header-original-fixed .main-nav a.rb-nav-trainingszeiten:hover,
html[data-rb-theme="light"] body .topbar.rb-header-original-fixed .main-nav a:is(.rb-nav-probetraining, .rb-nav-boxtimer):focus-visible,
html[data-rb-theme="light"] body .topbar.rb-header-original-fixed .main-nav a.rb-nav-trainingszeiten:focus-visible{
    background:#ffe7e7!important;
    border-color:#ad3b3b!important;
    color:#711919!important;
  }
}

