/* v132 Team Spotlight: only adult and youth team presentations */
body.ajax-modern .content>.hero-card{grid-template-columns:minmax(0,1.45fr) minmax(280px,.8fr);gap:20px;align-items:stretch;margin-bottom:22px}
body.ajax-modern .content>.hero-card>.team-photo-wrap{border:0!important;border-radius:18px!important;box-shadow:0 14px 32px rgba(9,43,79,.13);aspect-ratio:3/2!important}
body.ajax-modern .content>.hero-card>.team-photo-wrap img{border-radius:0!important}
body.ajax-modern .content>.hero-card>.info-panel{background:linear-gradient(145deg,#073665,#0d4c87)!important;color:#fff!important;border:0!important;border-radius:18px!important;padding:clamp(22px,3vw,32px)!important;box-shadow:0 14px 32px rgba(9,43,79,.16)!important;display:flex;flex-direction:column;justify-content:center;gap:18px}
body.ajax-modern .content>.hero-card>.info-panel h2{color:#fff!important;font-size:clamp(23px,2.3vw,30px)!important;letter-spacing:-.025em;margin:0 0 5px!important}
body.ajax-modern .content>.hero-card>.info-panel .block{border-top:1px solid rgba(255,255,255,.22)!important;padding:15px 0 0!important}
body.ajax-modern .content>.hero-card>.info-panel .label{color:#bbd7f0!important;font-weight:800!important}
body.ajax-modern .content>.hero-card>.info-panel .value{color:#fff!important;font-size:clamp(17px,1.6vw,21px)!important}
body.ajax-modern .content>.hero-card>.info-panel .trainer-row{gap:17px!important}
body.ajax-modern .content>.hero-card>.info-panel .trainer-photo-wrap{width:90px!important;height:112px!important;flex:0 0 90px!important;border:2px solid rgba(255,255,255,.6)!important;border-radius:12px!important}
body.ajax-modern .content>.hero-card>.info-panel .trainer-photo-wrap img{width:100%!important;height:100%!important;object-fit:cover!important}
body.ajax-modern .content>.section:has(>.training-grid){background:#f4f8fd;border:1px solid #e0eaf5;border-radius:16px;padding:22px;margin-top:22px}
body.ajax-modern .content>.section:has(>.training-grid) h2{letter-spacing:-.025em}
body.ajax-modern .age-panel>.hero-card{display:block!important;margin-bottom:18px!important}
body.ajax-modern .age-panel .trainerteam-photo-row{margin:0!important;padding:0!important;display:block!important;border-radius:18px!important;overflow:hidden!important;box-shadow:0 14px 32px rgba(9,43,79,.12)!important;background:#f1f6fb}
body.ajax-modern .age-panel .trainerteam-photo-row .trainerteam-photo{width:100%!important;max-height:420px!important;height:auto!important;aspect-ratio:16/7!important;object-fit:cover!important;border:0!important;border-radius:0!important;margin:0!important}
body.ajax-modern .age-panel>.section{background:#f5f9fd;border:1px solid #e1eaf3;border-radius:18px;padding:clamp(16px,2.4vw,26px)!important;margin-top:0!important}
body.ajax-modern .age-panel>.section>h2{letter-spacing:-.025em;margin-bottom:17px!important}
body.ajax-modern .age-panel .team-sequence-card{background:#fff!important;border:1px solid #e1eaf3!important;border-left:4px solid #0b4a87!important;border-radius:13px!important;box-shadow:0 8px 20px rgba(9,43,79,.055)!important}
body.ajax-modern .age-panel .team-sequence-card .responsible-trainers{color:#0a3b6e!important;font-weight:800!important}
body.ajax-modern .age-panel .team-sequence-card .team-meta{background:#f4f8fc;border-radius:9px;padding:9px 11px!important}
@media(max-width:900px){body.ajax-modern .content>.hero-card{grid-template-columns:1fr!important}body.ajax-modern .age-panel .trainerteam-photo-row .trainerteam-photo{aspect-ratio:3/2!important;max-height:none!important}}
@media(max-width:600px){body.ajax-modern .content>.hero-card>.info-panel{padding:22px!important}body.ajax-modern .age-panel>.section{padding:15px!important}body.ajax-modern .age-panel .team-sequence-card .team-meta{padding:8px!important}}
@media(prefers-reduced-motion:no-preference){body.ajax-modern .content>.hero-card>.team-photo-wrap,body.ajax-modern .age-panel .team-sequence-card{transition:box-shadow .2s ease,transform .2s ease}body.ajax-modern .content>.hero-card>.team-photo-wrap:hover,body.ajax-modern .age-panel .team-sequence-card:hover{transform:translateY(-2px);box-shadow:0 18px 36px rgba(9,43,79,.15)!important}}

/* v133: Jugendlayout: keine Beschnitte, keine fixen Kartenhöhen, klare responsive Raster */
body.ajax-modern .age-panel>.hero-card{display:block!important;max-width:100%;min-width:0}
body.ajax-modern .age-panel .trainerteam-photo-row{width:100%;max-width:100%;height:auto!important;overflow:visible!important;box-shadow:none!important;background:transparent!important;border-radius:12px!important;text-align:center}
body.ajax-modern .age-panel .trainerteam-photo-row .trainerteam-photo{display:block!important;width:auto!important;max-width:100%!important;height:auto!important;max-height:none!important;aspect-ratio:auto!important;object-fit:contain!important;margin:0 auto!important;border-radius:12px!important;box-shadow:0 10px 28px rgba(9,43,79,.12)!important}
body.ajax-modern .age-panel>.section{min-width:0!important;overflow:visible!important}
body.ajax-modern .age-panel .team-sequence,body.ajax-modern .age-panel .team-sequence-card{min-width:0!important;max-width:100%!important}
body.ajax-modern .age-panel .team-sequence-card{height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important;display:block!important;padding:clamp(16px,2vw,24px)!important}
body.ajax-modern .age-panel .team-sequence-card h3{margin:0 0 14px!important;line-height:1.25!important}
body.ajax-modern .age-panel .team-sequence-card .team-meta{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr)!important;gap:14px!important;min-width:0!important}
body.ajax-modern .age-panel .team-sequence-card .team-meta>div{min-width:0!important;overflow-wrap:anywhere}
body.ajax-modern .age-panel .team-training-row{grid-template-columns:minmax(85px,120px) minmax(120px,180px) minmax(0,1fr)!important;gap:12px!important;height:auto!important;min-height:0!important}
body.ajax-modern .age-panel .team-training-row>*{min-width:0!important;overflow-wrap:break-word}
@media(max-width:820px){body.ajax-modern .age-panel .team-sequence-card .team-meta{grid-template-columns:1fr!important}body.ajax-modern .age-panel .team-training-row{grid-template-columns:1fr!important;gap:4px!important}body.ajax-modern .age-panel>.section{padding:16px!important}}

/* v134: Trainerteamfotos bewusst kompakt, zentriert, ohne Bildbeschnitt. */
body.ajax-modern .age-panel .trainerteam-photo-row{display:flex!important;justify-content:center!important;align-items:center!important;width:100%!important;margin:0 0 20px!important;overflow:visible!important}
body.ajax-modern .age-panel .trainerteam-photo-row .trainerteam-photo{display:block!important;width:min(44%,420px)!important;max-width:420px!important;height:auto!important;max-height:280px!important;aspect-ratio:auto!important;object-fit:contain!important;object-position:center!important;margin:0 auto!important;border-radius:12px!important}
@media(max-width:900px){body.ajax-modern .age-panel .trainerteam-photo-row .trainerteam-photo{width:min(72%,360px)!important;max-width:360px!important;max-height:260px!important}}
@media(max-width:600px){body.ajax-modern .age-panel .trainerteam-photo-row .trainerteam-photo{width:min(86%,320px)!important;max-width:320px!important;max-height:230px!important}}

/* v173: Rahmen passt sich exakt an die bestehende Fotogroesse an. */
body.ajax-modern .content > .hero-card > .team-photo-wrap {
 aspect-ratio:auto !important; height:fit-content !important; min-height:0 !important; max-height:none !important;
 align-self:start !important; padding:0 !important;
}
body.ajax-modern .content > .hero-card > .team-photo-wrap > img.team-photo-image {
 display:block !important; width:100% !important; height:auto !important; max-height:520px !important;
 aspect-ratio:auto !important; object-fit:contain !important;
}
@media(max-width:820px){body.ajax-modern .content > .hero-card > .team-photo-wrap > img.team-photo-image {max-height:340px !important;}}

/* v176: Originalbild vollbreit, Rahmen folgt der natuerlichen Bildhoehe.
   Keine feste Hoehe / max-height: das verursachte die seitlichen Leerflaechen. */
body.ajax-modern .content > .hero-card > .team-photo-wrap,
body.ajax-modern .content > .hero-card > .team-photo-wrap.is-portrait {
 display:block !important; box-sizing:border-box !important;
 width:100% !important; max-width:100% !important;
 height:auto !important; min-height:0 !important; max-height:none !important;
 aspect-ratio:auto !important; overflow:hidden !important;
 padding:0 !important; margin:0 !important; align-self:start !important;
}
body.ajax-modern .content > .hero-card > .team-photo-wrap > img.team-photo-image {
 display:block !important; width:100% !important; max-width:100% !important;
 height:auto !important; min-height:0 !important; max-height:none !important;
 aspect-ratio:auto !important; object-fit:fill !important;
 border:0 !important; padding:0 !important; margin:0 !important;
}
@media(max-width:820px) {
 body.ajax-modern .content > .hero-card > .team-photo-wrap > img.team-photo-image {
  width:100% !important; height:auto !important; max-height:none !important;
 }
}

/* v177: Maennliche C-Jugend – Trainerportraits groesser, Text rechts daneben. */
body.ajax-modern #mc .responsible-trainers {
  display:flex !important;
  flex-direction:column !important;
  align-items:stretch !important;
  gap:18px !important;
}
body.ajax-modern #mc .responsible-trainers > .trainer-name {
  display:flex !important;
  flex-direction:row !important;
  align-items:center !important;
  gap:18px !important;
  width:100% !important;
  min-width:0 !important;
  text-align:left !important;
}
body.ajax-modern #mc .responsible-trainers > .trainer-name > img.managed-trainer-photo {
  display:block !important;
  flex:0 0 130px !important;
  width:130px !important;
  height:170px !important;
  max-width:none !important;
  max-height:none !important;
  margin:0 !important;
  object-fit:contain !important;
  border-radius:8px !important;
}
body.ajax-modern #mc .responsible-trainers > .trainer-name > span {
  display:flex !important;
  flex-direction:column !important;
  min-width:0 !important;
  gap:7px !important;
  line-height:1.35 !important;
  font-size:17px !important;
}
body.ajax-modern #mc .responsible-trainers .managed-trainer-role {
  display:block !important;
  font-size:13px !important;
  line-height:1.35 !important;
}
@media(max-width:480px) {
  body.ajax-modern #mc .responsible-trainers > .trainer-name {gap:12px !important;}
  body.ajax-modern #mc .responsible-trainers > .trainer-name > img.managed-trainer-photo {
    flex-basis:100px !important;
    width:100px !important;
    height:135px !important;
  }
  body.ajax-modern #mc .responsible-trainers > .trainer-name > span {font-size:15px !important;}
}
