
:root{
  --dark:#061218;--dark2:#0a1b22;--cyan:#27c5d8;--cyan2:#7fe1ee;--off:#f3f6f7;
  --text:#0b2430;--muted:#5e737c;--radius:24px;--max:1180px;--shadow:0 18px 50px rgba(0,0,0,.10)
}
*{box-sizing:border-box}
html{scroll-behavior:smooth;overflow-x:hidden}
body{margin:0;font-family:Arial,Helvetica,sans-serif;color:var(--text);background:var(--off);line-height:1.55;overflow-x:hidden}
a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto}
.wrap{width:min(var(--max),calc(100% - 40px));margin-inline:auto}
.master-header{position:fixed;inset:0 0 auto;z-index:999;background:rgba(6,18,24,.97);color:#fff;border-bottom:1px solid rgba(39,197,216,.35);backdrop-filter:blur(12px)}
.master-header .nav{height:84px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.master-header .brand{display:flex;align-items:center;gap:14px;min-width:0}
.master-header .brand img{width:64px!important;height:auto!important;max-height:64px!important;object-fit:contain!important;transform:none!important;rotate:none!important;filter:none!important;border-radius:0!important}
.master-header .brand span{display:block;min-width:0}
.master-header .brand strong{display:block;font-size:17px;line-height:1.1;color:#fff;white-space:nowrap}
.master-header .brand small{display:block;margin-top:4px;color:#88d9e5;font-size:10px;letter-spacing:.14em;line-height:1.1}
.master-header .master-links{display:flex;align-items:center;gap:18px;font-size:13px;font-weight:900;text-transform:uppercase;letter-spacing:.02em}
.master-header .master-links>a:not(.master-cta){color:#fff;opacity:.95;padding:10px 0}
.master-header .master-links>a:hover{color:var(--cyan2)}
.master-header .master-cta{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 18px;border-radius:999px;background:var(--cyan);color:#04202a;font-weight:900;box-shadow:none}
.master-header .master-menu{display:none;background:transparent;border:1px solid rgba(255,255,255,.25);color:#fff;border-radius:12px;width:44px;height:44px;font-size:22px;cursor:pointer}
main{display:block}
section{position:relative;isolation:isolate}
section>.wrap,.hero>.wrap,.schedule>.wrap,.pitch>.wrap{position:relative;z-index:2}
h1,h2,h3{font-family:Arial,Helvetica,sans-serif;font-weight:900;letter-spacing:-.035em;overflow:visible;text-wrap:balance}
h1{line-height:.96} h2{line-height:1.04} h3{line-height:1.08}
.section-head{overflow:visible!important;position:relative;z-index:3;margin-bottom:34px}
.section-head h2{margin-top:0!important;padding-top:.06em!important;padding-bottom:.08em!important;overflow:visible!important}
.btn,.master-cta{transition:transform .18s ease,opacity .18s ease}
.btn:hover,.master-cta:hover{transform:translateY(-1px)}
.card,.next-card,.team-panel,.person,.package,.feature-copy,.big-card,.contact-card,.form-card{border-radius:var(--radius)!important}
.next-card,.team-panel,.person,.package{overflow:hidden}
footer{background:#031016!important;color:#b7c6cc!important;padding:38px 0!important}
footer .footer,footer .footer-inner{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:20px!important}
footer nav,footer .footer-links{display:flex!important;gap:18px!important;flex-wrap:wrap!important}
footer a:hover{color:#fff}
.hero:after,.hero::after,.schedule:before,.schedule::before,.pitch:before,.pitch::before{pointer-events:none;z-index:0!important}
@media(max-width:980px){
  .master-header .brand span{display:none}
  .master-header .master-menu{display:block}
  .master-header .master-links{display:none;position:absolute;top:74px;left:16px;right:16px;padding:16px;flex-direction:column;align-items:stretch;gap:3px;background:#061218;border:1px solid rgba(255,255,255,.1);border-radius:18px;box-shadow:0 18px 50px rgba(0,0,0,.28)}
  .master-header .master-links.open{display:flex}
  .master-header .master-links a{padding:11px 12px!important}
  .master-header .master-cta{min-height:44px}
}
@media(max-width:650px){
  .wrap{width:calc(100% - 28px)}
  .master-header .nav{height:74px}
  .master-header .brand img{width:54px!important;max-height:54px!important}
  h1{font-size:clamp(42px,14vw,64px)!important;line-height:.98!important}
  h2{font-size:clamp(30px,9vw,46px)!important;line-height:1.03!important}
  .section-head{margin-bottom:26px}
  footer .footer,footer .footer-inner{flex-direction:column!important;align-items:flex-start!important}
}


/* Finaler Layout-Schutz: keine abgeschnittenen Logos oder Schaltflächen */
.master-header,.master-header .nav,.master-header .brand,.master-header .brand img,.master-header .master-links{overflow:visible!important}
.master-header .brand img{display:block!important;flex:0 0 auto!important;object-position:center!important}
.btn,.master-cta,.package-link,.mail,.filter-btn{position:relative!important;z-index:6!important;max-width:100%!important;white-space:normal!important;line-height:1.2!important;text-align:center!important;overflow:visible!important}
.actions{position:relative;z-index:6;overflow:visible!important;padding:2px 0}
.league-card{overflow:visible!important}
.league-card>img,.league-logo img{display:block;max-width:100%!important;height:auto!important;object-fit:contain!important}
.card,.next-card,.team-panel,.person,.package,.feature-copy,.big-card,.contact-card,.form-card{min-width:0}
section{overflow:visible}
.hero,.schedule,.pitch{overflow:visible}
.live-score-section{background:#fff}
.live-score-card{display:flex;justify-content:center;align-items:flex-start;padding:24px;border:1px solid #dfe8eb;border-radius:var(--radius);background:#fff;box-shadow:var(--shadow);overflow:visible}
.live-score-card iframe{display:block;width:min(400px,100%)!important;max-width:100%!important;height:300px;border:0}
.partner-logo-card{display:flex;align-items:center;justify-content:center;padding:28px;border-radius:var(--radius);background:#fff;border:1px solid #dfe8eb;box-shadow:var(--shadow);overflow:visible}
.partner-logo-card img{display:block;width:min(760px,100%);height:auto;object-fit:contain;transform:none!important;filter:none!important;border-radius:0!important}
@media(max-width:650px){
  .master-header .brand{max-width:calc(100% - 64px)}
  .btn,.master-cta{min-height:46px!important;padding:10px 18px!important}
  .live-score-card,.partner-logo-card{padding:16px}
}
/* Logos werden grundsätzlich unverändert dargestellt. */
.brand-logo,.foot-brand img,.master-header .brand img,.league-card>img,.partner-logo-card img{transform:none!important;rotate:none!important;filter:none!important}


/* Training readability fix: Training.php contains older dark-text rules that must not win on dark panels. */
body.training-page .hero,
body.training-page .facts,
body.training-page .trainer,
body.training-page .twocol,
body.training-page .panel{color:#fff!important}
body.training-page .hero h1,
body.training-page .hero h2,
body.training-page .trainer h2,
body.training-page .trainer h3,
body.training-page .trainer p,
body.training-page .trainer .quote,
body.training-page .panel h2,
body.training-page .panel p,
body.training-page .fact h3,
body.training-page .fact p{color:#fff!important}
body.training-page .hero p,
body.training-page .trainer p,
body.training-page .panel p{color:#dce9ed!important}
body.training-page .eyebrow,
body.training-page .trainer .eyebrow,
body.training-page .trainer .quote strong,
body.training-page .panel h3,
body.training-page .check{color:#27c5d8!important}
body.training-page .trainer .quote{border-color:#27c5d8!important;background:rgba(6,18,24,.22)!important}
body.training-page .fees,body.training-page .contact,
body.training-page .training-map{color:#0b2430!important}
body.training-page .training-map h2,body.training-page .training-map p{color:#0b2430!important}
body.training-page .fees h2,body.training-page .fees .fee,body.training-page .contact h2,body.training-page .contact p,body.training-page .contact a{color:#0b2430!important}

/* Homepage sponsor presentation */
.home-sponsor{padding:72px 0;background:#eef3f5;color:#0b2430}
.home-sponsor-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:32px;align-items:center}
.home-sponsor h2{margin:6px 0 14px;font-size:clamp(38px,5vw,62px)}
.home-sponsor p{color:#5e737c;font-size:18px}
.home-sponsor .partner-logo-card img{width:100%;max-width:680px}
@media(max-width:800px){.home-sponsor-grid{grid-template-columns:1fr}}
