/* ═══════════════════════════════════════
   TOKENS
═══════════════════════════════════════ */
:root {
  --blue:#1a6fff; --blue-dark:#0d4fd4; --blue-glow:rgba(26,111,255,0.25);
  --black:#080808; --dark:#111; --card:#161616; --border:rgba(255,255,255,0.08);
  --white:#fff; --off-white:#f4f4f2; --gray:#888; --gray-l:#bbb;
  --transition:.28s cubic-bezier(.4,0,.2,1);

  /* Typography Tokens: hier kannst du Schriftgrößen zentral anpassen */
  --font-nav:15.5px;
  --font-body:18px;
  --font-small:16px;
  --font-mini:14px;
  --font-button:16px;

  --title-hero:clamp(52px,9.5vw,130px);
  --title-section:clamp(28px,4vw,48px);
  --title-section-large:clamp(34px,5vw,58px);
  --title-card:21px;

  --footer-title:10px;
  --footer-text:13px;
  --footer-bottom:11px;

  --nav-height:66px;
  --section-padding:100px;
  --container-padding:40px;
}
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{font-family:'Barlow',sans-serif;background:var(--black);color:var(--white);overflow-x:hidden}
img{display:block;max-width:100%}
a{color:inherit;text-decoration:none}

/* ═══════════════════════════════════════
   UTILITIES
═══════════════════════════════════════ */
.container{max-width:1240px;margin:0 auto;padding:0 40px}
.btn{display:inline-flex;align-items:center;gap:10px;padding:13px 26px;
  font-family:'Barlow Condensed',sans-serif;font-size:var(--font-button);font-weight:700;
  letter-spacing:1.8px;text-transform:uppercase;border:none;cursor:pointer;
  transition:all var(--transition);white-space:nowrap;text-decoration:none}
.btn svg{width:15px;height:15px;flex-shrink:0;transition:transform var(--transition)}
.btn:hover svg{transform:translateX(3px)}
.btn-primary{background:var(--blue);color:#fff}
.btn-primary:hover{background:var(--blue-dark);transform:translateY(-2px);box-shadow:0 8px 24px var(--blue-glow)}
.btn-outline{background:transparent;color:#fff;border:1.5px solid rgba(255,255,255,0.25)}
.btn-outline:hover{border-color:var(--blue);color:var(--blue);transform:translateY(-2px)}
.btn-white{background:#fff;color:#000}
.btn-white:hover{background:var(--off-white);transform:translateY(-2px)}
.btn-ghost{background:transparent;color:var(--blue);border:1.5px solid var(--blue)}
.btn-ghost:hover{background:var(--blue);color:#fff;transform:translateY(-2px)}

.section-eyebrow{font-size:var(--font-mini);font-weight:700;letter-spacing:3px;text-transform:uppercase;
  color:var(--blue);margin-bottom:12px;display:flex;align-items:center;gap:10px}
.section-eyebrow::before{content:'';display:block;width:24px;height:2px;background:var(--blue)}
.section-title{font-family:'Barlow Condensed',sans-serif;font-size:var(--title-section);
  font-weight:900;text-transform:uppercase;letter-spacing:.5px;line-height:.95}
.section-intro{font-size:var(--font-body);line-height:1.75;color:var(--gray-l);max-width:600px}

/* REVEAL */
.r{opacity:0;transform:translateY(28px);transition:opacity .65s ease,transform .65s ease}
.r.up{opacity:1;transform:none}
.r.d1{transition-delay:.1s}.r.d2{transition-delay:.2s}
.r.d3{transition-delay:.3s}.r.d4{transition-delay:.4s}
.r.d5{transition-delay:.5s}

/* ═══════════════════════════════════════
   NAV
═══════════════════════════════════════ */
nav{
  position:fixed;top:0;left:0;right:0;z-index:200;
  height:var(--nav-height);display:flex;align-items:center;
  padding:0 var(--container-padding);gap:32px;
  background:rgba(8,8,8,.8);backdrop-filter:blur(16px);
  border-bottom:1px solid transparent;
  transition:border-color .3s,background .3s;
}
nav.scrolled{background:rgba(8,8,8,.97);border-color:var(--border)}
.nav-logo{display:flex;align-items:center;gap:11px;flex-shrink:0}
.nav-logo .ring{
  width:42px;height:42px;border-radius:50%;
  border:2px solid var(--blue);
  display:flex;align-items:center;justify-content:center;
  font-family:'Barlow Condensed',sans-serif;font-size:11px;font-weight:900;
  text-align:center;line-height:1.1;color:#fff;
}
.nav-logo .wordmark{font-family:'Barlow Condensed',sans-serif;font-size:14px;font-weight:800;
  text-transform:uppercase;line-height:1.1;letter-spacing:.5px}
.nav-links{display:flex;align-items:center;gap:28px;list-style:none;margin-left:auto}
.nav-links a{font-size:var(--font-nav);font-weight:600;letter-spacing:1px;text-transform:uppercase;
  color:var(--gray-l);transition:color var(--transition);position:relative}
.nav-links a::after{content:'';position:absolute;bottom:-4px;left:0;right:0;height:1.5px;
  background:var(--blue);transform:scaleX(0);transition:transform var(--transition);transform-origin:left}
.nav-links a:hover{color:#fff}
.nav-links a:hover::after{transform:scaleX(1)}
.nav-cta{background:var(--blue);color:#fff!important;padding:8px 16px;border-radius:3px}
.nav-cta::after{display:none!important}
.nav-cta:hover{background:var(--blue-dark)!important}
.hamburger{display:none;flex-direction:column;gap:5px;cursor:pointer;padding:4px;margin-left:auto}
.hamburger span{display:block;width:24px;height:1.8px;background:#fff;transition:.3s}
.mob-menu{display:none;position:fixed;inset:66px 0 0;background:var(--black);z-index:199;
  flex-direction:column;padding:40px;gap:0;overflow-y:auto}
.mob-menu.open{display:flex}
.mob-menu a{font-family:'Barlow Condensed',sans-serif;font-size:30px;font-weight:900;
  text-transform:uppercase;letter-spacing:2px;color:#fff;padding:18px 0;
  border-bottom:1px solid var(--border);transition:color var(--transition)}
.mob-menu a:hover{color:var(--blue)}
.mob-menu .mob-cta{margin-top:32px;background:var(--blue);text-align:center;
  padding:18px;border-radius:3px}

/* ═══════════════════════════════════════
   HERO
═══════════════════════════════════════ */
.hero{
  position:relative;min-height:calc(100vh - var(--nav-height));
  display:flex;flex-direction:column;justify-content:flex-end;
  padding:0 0 80px;overflow:hidden;
}
.hero-bg{
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.88) 0%, rgba(0,0,0,.72) 28%, rgba(0,0,0,.34) 52%, rgba(0,0,0,.10) 72%, rgba(0,0,0,.00) 100%),
    url('https://vanilladev.sg-mgh.de/wp-content/uploads/2026/07/front-sektion-background.png');
  background-repeat:no-repeat;
  background-position:center right;
  background-size:cover;
}

.hero-bg::after{
  content:'';
  position:absolute;
  inset:0;
  background:
    radial-gradient(ellipse 60% 75% at 78% 52%, rgba(26,111,255,.18) 0%, transparent 68%);
  pointer-events:none;
}
/* Grain overlay */
.hero-grain{
  position:absolute;inset:0;opacity:.04;pointer-events:none;
  background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size:200px;
}
.hero-slash{
  position:absolute;right:0;top:0;bottom:0;width:55%;
  background:linear-gradient(160deg,transparent 0%,rgba(26,111,255,.06) 40%,rgba(26,111,255,.1) 100%);
  clip-path:polygon(12% 0,100% 0,100% 100%,0 100%);
}
.hero-num{
  position:absolute;right:6%;top:50%;transform:translateY(-50%);
  font-family:'Barlow Condensed',sans-serif;font-size:clamp(160px,22vw,340px);
  font-weight:900;font-style:italic;line-height:1;
  color:transparent;-webkit-text-stroke:1px rgba(26,111,255,.12);
  user-select:none;pointer-events:none;
}
/* SVG Player */
.hero-player{
  position:absolute;right:4%;bottom:0;height:88%;
  display:flex;align-items:flex-end;pointer-events:none;
}
.hero-player svg{height:100%;width:auto;
  filter:drop-shadow(0 0 80px rgba(26,111,255,.35)) drop-shadow(0 0 20px rgba(26,111,255,.2))}
.hero-content{
  position:relative;z-index:2;
  padding:0 40px 0 60px;max-width:680px;
}
.hero-eyebrow{font-size:12px;font-weight:700;letter-spacing:3.5px;text-transform:uppercase;
  color:var(--blue);margin-bottom:18px;display:flex;align-items:center;gap:12px}
.hero-eyebrow::before{content:'';width:32px;height:2px;background:var(--blue)}
.hero h1{
  font-family:'Barlow Condensed',sans-serif;
  font-size:var(--title-hero);font-weight:900;font-style:italic;
  text-transform:uppercase;line-height:.88;letter-spacing:-1px;margin-bottom:22px;
}
.hero h1 em{color:var(--blue);font-style:italic;display:block}
.hero-sub{font-size:var(--font-body);color:var(--gray-l);letter-spacing:.3px;line-height:1.6;
  margin-bottom:40px;max-width:520px}
.hero-sub strong{color:#fff}
.hero-buttons{display:flex;flex-wrap:wrap;gap:12px}
.hero-stats{
  position:absolute;right:0;bottom:80px;z-index:3;
  display:flex;flex-direction:column;gap:3px;margin-right:40px;
}
.hero-stat{
  background:rgba(8,8,8,.7);backdrop-filter:blur(10px);
  border:1px solid var(--border);border-left:3px solid var(--blue);
  padding:14px 20px;min-width:200px;
}
.hero-stat-label{font-size:10px;letter-spacing:2px;text-transform:uppercase;color:var(--gray);margin-bottom:4px}
.hero-stat-val{font-family:'Barlow Condensed',sans-serif;font-size:22px;font-weight:900;letter-spacing:.5px}
.hero-stat-sub{font-size:11px;color:var(--gray);margin-top:2px}
.hero-scroll-hint{
  position:absolute;bottom:28px;left:60px;
  display:flex;align-items:center;gap:10px;
  font-size:10px;letter-spacing:2.5px;text-transform:uppercase;color:var(--gray);
}
.scroll-line{width:1px;height:44px;background:linear-gradient(to bottom,transparent,var(--gray));
  animation:scl 2.2s ease-in-out infinite}
@keyframes scl{0%,100%{opacity:.6}50%{opacity:.15}}

/* ═══════════════════════════════════════
   QUICK LINKS BAR
═══════════════════════════════════════ */
.quickbar{
  background:var(--white);color:#000;
  display:grid;grid-template-columns:repeat(3,1fr);
}
.qb-item{
  padding:32px 36px;border-right:1px solid #e0e0e0;
  display:flex;flex-direction:column;gap:6px;cursor:pointer;
  transition:background var(--transition);position:relative;overflow:hidden;
}
.qb-item::before{
  content:'';position:absolute;left:0;top:0;bottom:0;width:3px;
  background:var(--blue);transform:scaleY(0);transition:transform var(--transition);transform-origin:bottom;
}
.qb-item:hover::before{transform:scaleY(1)}
.qb-item:hover{background:#f7f9ff}
.qb-item:last-child{border-right:none}
.qb-icon{color:var(--blue);margin-bottom:6px}
.qb-label{font-size:10px;font-weight:700;letter-spacing:2.5px;text-transform:uppercase;color:#888}
.qb-title{font-family:'Barlow Condensed',sans-serif;font-size:22px;font-weight:800;
  text-transform:uppercase;color:#000;line-height:1.1}
.qb-detail{font-size:12px;color:#666;margin-top:2px}
.qb-link{display:flex;align-items:center;gap:6px;font-size:11px;font-weight:700;
  letter-spacing:1.5px;text-transform:uppercase;color:var(--blue);margin-top:8px;
  transition:gap var(--transition)}
.qb-item:hover .qb-link{gap:10px}

/* ═══════════════════════════════════════
   NEWS
═══════════════════════════════════════ */
.news-section{padding:var(--section-padding) 0;background:var(--black)}
.news-header{display:flex;align-items:flex-end;justify-content:space-between;margin-bottom:48px}
.news-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:2px}
.news-card{background:var(--card);overflow:hidden;cursor:pointer;
  transition:transform var(--transition)}
.news-card:hover{transform:translateY(-6px)}
.news-thumb{
  aspect-ratio:16/10;overflow:hidden;position:relative;
  background:linear-gradient(135deg,#0d1f3c,#0a1528);
}
.news-thumb-inner{
  position:absolute;inset:0;display:flex;align-items:center;justify-content:center;
  font-family:'Barlow Condensed',sans-serif;font-size:64px;font-weight:900;
  color:rgba(255,255,255,.05);text-transform:uppercase;letter-spacing:4px;
  transition:transform .6s ease;overflow:hidden;
}
.news-thumb-inner::after{
  content:'';position:absolute;inset:0;
  background:linear-gradient(to bottom right,rgba(26,111,255,.2) 0%,transparent 60%);
}
.news-card:hover .news-thumb-inner{transform:scale(1.06)}
.news-tag{
  position:absolute;top:16px;left:16px;z-index:1;
  background:var(--blue);padding:4px 10px;
  font-size:10px;font-weight:700;letter-spacing:2px;text-transform:uppercase;color:#fff;
}
.news-body{padding:24px}
.news-meta{font-size:10px;letter-spacing:2px;text-transform:uppercase;color:var(--gray);margin-bottom:10px}
.news-title{font-family:'Barlow Condensed',sans-serif;font-size:var(--title-card);font-weight:800;
  line-height:1.15;margin-bottom:10px;transition:color var(--transition)}
.news-card:hover .news-title{color:var(--blue)}
.news-teaser{font-size:var(--font-small);color:var(--gray);line-height:1.6;margin-bottom:16px}
.news-more{font-size:11px;font-weight:700;letter-spacing:1.5px;text-transform:uppercase;
  color:var(--blue);display:inline-flex;align-items:center;gap:6px;
  transition:gap var(--transition)}
.news-card:hover .news-more{gap:10px}
.news-footer{margin-top:56px;text-align:center}

/* ═══════════════════════════════════════
   TEAMS
═══════════════════════════════════════ */
.teams-section{padding:var(--section-padding) 0;background:var(--dark)}
.teams-intro{max-width:540px;margin-bottom:60px}
.teams-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:2px}
.team-card{
  background:var(--card);padding:40px 20px;text-align:center;
  display:flex;flex-direction:column;align-items:center;gap:18px;
  cursor:pointer;transition:background var(--transition),transform var(--transition);
  position:relative;overflow:hidden;text-decoration:none;color:#fff;
}
.team-card::after{
  content:'';position:absolute;bottom:0;left:0;right:0;height:3px;
  background:var(--blue);transform:scaleX(0);transition:transform var(--transition);
}
.team-card:hover::after{transform:scaleX(1)}
.team-card:hover{background:#1c1c1c;transform:translateY(-4px)}
.team-icon-wrap{
  width:72px;height:72px;border-radius:50%;
  border:1.5px solid rgba(26,111,255,.25);
  display:flex;align-items:center;justify-content:center;
  background:rgba(26,111,255,.06);
  transition:border-color var(--transition),background var(--transition);
  color:var(--blue);
}
.team-card:hover .team-icon-wrap{border-color:var(--blue);background:rgba(26,111,255,.12)}
.team-name{font-family:'Barlow Condensed',sans-serif;font-size:16px;font-weight:800;
  letter-spacing:2px;text-transform:uppercase;color:var(--gray-l);transition:color var(--transition)}
.team-card:hover .team-name{color:#fff}
.team-text{font-size:12px;color:var(--gray);line-height:1.5;text-align:center}
.team-btn{font-size:10px;font-weight:700;letter-spacing:1.5px;text-transform:uppercase;
  color:var(--blue);display:flex;align-items:center;gap:4px;transition:gap var(--transition)}
.team-card:hover .team-btn{gap:8px}

/* ═══════════════════════════════════════
   IMPRESSIONS / GALERIE
═══════════════════════════════════════ */
.impressions{padding:var(--section-padding) 0;background:var(--black)}
.impressions-inner{display:grid;grid-template-columns:1.3fr 1fr;gap:60px;align-items:center}
.impressions-left{}
.impressions-right{display:grid;grid-template-columns:1fr 1fr;gap:3px}
.imp-cell{
  aspect-ratio:1;background:var(--card);overflow:hidden;position:relative;cursor:pointer;
}
.imp-cell-inner{
  position:absolute;inset:0;display:flex;align-items:center;justify-content:center;
  font-family:'Barlow Condensed',sans-serif;font-size:40px;font-weight:900;font-style:italic;
  color:rgba(255,255,255,.06);text-transform:uppercase;letter-spacing:3px;
  transition:transform .6s ease;
}
.imp-cell:hover .imp-cell-inner{transform:scale(1.08)}
.imp-cell-overlay{
  position:absolute;inset:0;background:rgba(26,111,255,0);
  transition:background var(--transition);display:flex;align-items:center;justify-content:center;
}
.imp-cell:hover .imp-cell-overlay{background:rgba(26,111,255,.15)}
/* Different tints per cell */
.imp-cell:nth-child(1) .imp-cell-inner{background:linear-gradient(135deg,#0d1f3a,#091628)}
.imp-cell:nth-child(2) .imp-cell-inner{background:linear-gradient(135deg,#0a1f0a,#0d2a0d)}
.imp-cell:nth-child(3) .imp-cell-inner{background:linear-gradient(135deg,#1f130a,#2a1a0d)}
.imp-cell:nth-child(4) .imp-cell-inner{background:linear-gradient(135deg,#1a0a2a,#220d33)}
.imp-cell:nth-child(5){grid-column:span 2;aspect-ratio:2/1}
.imp-cell:nth-child(5) .imp-cell-inner{background:linear-gradient(135deg,#0d1f3a,#1a3060)}

/* ═══════════════════════════════════════
   MITMACHEN / CTA
═══════════════════════════════════════ */
.cta-section{
  background:var(--blue);padding:var(--section-padding) 0;
  position:relative;overflow:hidden;
}
.cta-section::before{
  content:'';position:absolute;right:-5%;top:-20%;
  width:500px;height:500px;
  background:rgba(255,255,255,.06);border-radius:50%;
  pointer-events:none;
}
.cta-section::after{
  content:'HANDBALL';
  position:absolute;right:0;bottom:-30px;
  font-family:'Barlow Condensed',sans-serif;font-size:clamp(80px,12vw,180px);
  font-weight:900;font-style:italic;text-transform:uppercase;
  color:rgba(255,255,255,.06);white-space:nowrap;pointer-events:none;
}
.cta-inner{
  display:grid;grid-template-columns:1.2fr 1fr;gap:80px;align-items:center;
  position:relative;z-index:1;
}
.cta-content .section-eyebrow{color:rgba(255,255,255,.6)}
.cta-content .section-eyebrow::before{background:rgba(255,255,255,.6)}
.cta-content .section-title{font-size:var(--title-section-large);color:#fff;margin-bottom:20px}
.cta-content p{font-size:var(--font-body);color:rgba(255,255,255,.8);line-height:1.7;margin-bottom:28px}
.cta-list{list-style:none;display:flex;flex-direction:column;gap:12px;margin-bottom:36px}
.cta-list li{
  display:flex;align-items:center;gap:12px;
  font-size:14px;color:rgba(255,255,255,.9);font-weight:500;
}
.cta-list li::before{
  content:'';width:6px;height:6px;background:#fff;border-radius:50%;flex-shrink:0;
}
.cta-visual{
  background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.15);
  padding:48px;display:flex;flex-direction:column;align-items:center;gap:20px;text-align:center;
}
.cta-visual-num{
  font-family:'Barlow Condensed',sans-serif;font-size:88px;font-weight:900;
  font-style:italic;color:#fff;line-height:1;
}
.cta-visual-label{font-size:13px;letter-spacing:2px;text-transform:uppercase;
  color:rgba(255,255,255,.7)}
.cta-visual-divider{width:40px;height:1.5px;background:rgba(255,255,255,.3)}

/* ═══════════════════════════════════════
   KONTAKT
═══════════════════════════════════════ */
.kontakt-section{padding:var(--section-padding) 0;background:var(--dark)}
.kontakt-inner{display:grid;grid-template-columns:1fr 1.2fr;gap:80px}
.kontakt-left{display:flex;flex-direction:column;gap:36px}
.contact-block{display:flex;flex-direction:column;gap:4px}
.contact-block-label{font-size:10px;letter-spacing:2.5px;text-transform:uppercase;
  color:var(--gray);margin-bottom:8px}
.contact-block-title{font-family:'Barlow Condensed',sans-serif;font-size:18px;font-weight:800;
  text-transform:uppercase;letter-spacing:.5px;color:#fff;margin-bottom:6px}
.contact-block p{font-size:13px;color:var(--gray-l);line-height:1.8}
.contact-block a{color:var(--blue);transition:opacity var(--transition)}
.contact-block a:hover{opacity:.8}
.contact-divider{width:100%;height:1px;background:var(--border)}
/* Form */
.form-group{display:flex;flex-direction:column;gap:6px;margin-bottom:16px}
.form-group label{font-size:11px;letter-spacing:2px;text-transform:uppercase;color:var(--gray);font-weight:600}
.form-group input,.form-group textarea{
  background:rgba(255,255,255,.05);border:1px solid var(--border);
  color:#fff;padding:14px 16px;font-family:'Barlow',sans-serif;font-size:14px;
  transition:border-color var(--transition);outline:none;
  border-radius:2px;
}
.form-group input:focus,.form-group textarea:focus{border-color:var(--blue)}
.form-group textarea{resize:vertical;min-height:130px}
.form-group input::placeholder,.form-group textarea::placeholder{color:#444}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.maps-btn{
  display:inline-flex;align-items:center;gap:10px;
  padding:12px 22px;background:rgba(26,111,255,.15);
  border:1px solid rgba(26,111,255,.35);color:var(--blue);
  font-family:'Barlow Condensed',sans-serif;font-size:12px;font-weight:700;
  letter-spacing:1.5px;text-transform:uppercase;cursor:pointer;
  transition:all var(--transition);width:100%;justify-content:center;margin-top:8px;
}
.maps-btn:hover{background:rgba(26,111,255,.25);border-color:var(--blue)}
.form-success{
  display:none;background:rgba(26,111,255,.12);border:1px solid rgba(26,111,255,.3);
  padding:20px;text-align:center;font-size:14px;color:var(--blue);
}

/* ═══════════════════════════════════════
   SPONSORS
═══════════════════════════════════════ */
.sponsors-section{padding:80px 0;background:var(--black)}
.sponsors-header{display:grid;grid-template-columns:1fr auto;align-items:end;gap:40px;margin-bottom:48px}
.sponsors-row{
  display:flex;flex-wrap:wrap;gap:2px;
}
.sponsor-tile{
  background:var(--card);padding:28px 40px;flex:1;min-width:160px;
  display:flex;align-items:center;justify-content:center;gap:10px;
  color:var(--gray-l);font-size:13px;font-weight:600;cursor:pointer;
  transition:all var(--transition);
}
.sponsor-tile:hover{background:#1e1e1e;color:#fff}
.sponsor-tile svg{opacity:.5;transition:opacity var(--transition)}
.sponsor-tile:hover svg{opacity:1;color:var(--blue)}

/* ═══════════════════════════════════════
   PRE-FOOTER TEASER
═══════════════════════════════════════ */
.pre-footer{
  padding:64px 0;
  background:linear-gradient(90deg,#0a0a0a 0%,#0d1428 50%,#0a0a0a 100%);
  border-top:1px solid var(--border);border-bottom:1px solid var(--border);
}
.pre-footer-inner{
  display:flex;align-items:center;justify-content:space-between;gap:40px;flex-wrap:wrap;
}
.pre-footer p{font-family:'Barlow Condensed',sans-serif;font-size:clamp(16px,2.5vw,24px);
  font-weight:700;text-transform:uppercase;letter-spacing:1px;color:var(--gray-l)}
.pre-footer p span{color:var(--blue)}
.social-row{display:flex;gap:12px}
.soc-btn{
  width:42px;height:42px;border:1px solid var(--border);
  display:flex;align-items:center;justify-content:center;
  color:var(--gray);transition:all var(--transition);cursor:pointer;
}
.soc-btn:hover{border-color:var(--blue);color:var(--blue)}

/* ═══════════════════════════════════════
   FOOTER
═══════════════════════════════════════ */
footer{background:#050505;padding:60px 0 28px;border-top:1px solid var(--border)}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:60px;margin-bottom:60px}
.footer-brand p{font-size:var(--footer-text);color:var(--gray);line-height:1.7;margin:14px 0 20px}
.footer-logo-row{display:flex;align-items:center;gap:11px;margin-bottom:0}
.footer-ring{width:42px;height:42px;border-radius:50%;border:2px solid var(--blue);
  display:flex;align-items:center;justify-content:center;
  font-family:'Barlow Condensed',sans-serif;font-size:11px;font-weight:900;text-align:center;line-height:1.1}
.footer-wordmark{font-family:'Barlow Condensed',sans-serif;font-size:14px;font-weight:800;
  text-transform:uppercase;line-height:1.1}
.footer-col h5{font-size:var(--footer-title);letter-spacing:2.5px;text-transform:uppercase;color:var(--gray);
  font-weight:700;margin-bottom:18px}
.footer-col ul{list-style:none;display:flex;flex-direction:column;gap:10px}
.footer-col ul a{font-size:var(--footer-text);color:#777;transition:color var(--transition)}
.footer-col ul a:hover{color:#fff}
.footer-contact-info{display:flex;flex-direction:column;gap:6px}
.footer-contact-info p{font-size:var(--footer-text);color:#777;line-height:1.7}
.footer-contact-info a{color:var(--blue);transition:opacity var(--transition)}
.footer-contact-info a:hover{opacity:.8}
.footer-bottom{border-top:1px solid var(--border);padding-top:24px;
  display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px}
.footer-bottom p{font-size:var(--footer-bottom);color:#444}
.footer-bottom-links{display:flex;gap:24px}
.footer-bottom-links a{font-size:var(--footer-bottom);color:#444;transition:color var(--transition)}
.footer-bottom-links a:hover{color:#fff}

/* ═══════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */
@media(max-width:1100px){
  .hero-stats{display:none}
  .teams-grid{grid-template-columns:repeat(3,1fr)}
  .impressions-inner{grid-template-columns:1fr}
  .cta-inner{grid-template-columns:1fr}
  .kontakt-inner{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr 1fr;gap:40px}
}
@media(max-width:768px){
  nav{padding:0 20px}
  .nav-links{display:none}
  .hamburger{display:flex}
  .container{padding:0 20px}
  .hero-content{padding:0 20px}
  .hero-player{display:none}
  .hero-num{font-size:120px;right:0;opacity:.5}
  .news-grid{grid-template-columns:1fr}
  .teams-grid{grid-template-columns:repeat(2,1fr)}
  .quickbar{grid-template-columns:1fr}
  .qb-item{border-right:none;border-bottom:1px solid #e0e0e0}
  .impressions-right{grid-template-columns:1fr 1fr}
  .footer-grid{grid-template-columns:1fr}
  .pre-footer-inner{flex-direction:column;text-align:center}
  .form-row{grid-template-columns:1fr}
  .sponsors-header{grid-template-columns:1fr}
}

/* WordPress helpers */
.admin-bar nav{top:32px}
@media(max-width:782px){.admin-bar nav{top:46px}}
.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

.news-thumb img,.news-image{width:100%;height:100%;object-fit:cover;filter:saturate(.85) contrast(1.05)}
.entry-content a{color:var(--blue)}
.entry-content p{margin-bottom:1.2em}
.entry-content h2,.entry-content h3{font-family:'Barlow Condensed',sans-serif;text-transform:uppercase;margin:1.4em 0 .6em}


.whatsapp-share-btn {
  display: inline-flex;
  margin-top: 32px;
  padding: 14px 22px;
  background: #25D366;
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
}

.whatsapp-share-btn:hover {
  opacity: .85;
}

.hero-live-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:#ff3b3b;
  font-weight:800;
  letter-spacing:.15em;
  margin-bottom:12px;
}

.live-score{
  color:#1a6fff;
  font-size:56px;
}

.hero-live-minute{
  margin-top:10px;
  color:#aaa;
  font-size:14px;
  letter-spacing:.12em;
}


/* HANDBALL.NET WIDGET */
#handball-spielplan {
  background: #0b0b0b;
  color: #fff;
  min-height: 700px;
  font-size: 18px;
  padding: 40px !important;
}

#handball-spielplan * {
  font-family: "Barlow", Arial, sans-serif !important;
}

#handball-spielplan h1,
#handball-spielplan h2,
#handball-spielplan h3 {
  font-family: "Barlow Condensed", Arial, sans-serif !important;
  text-transform: uppercase;
}

#handball-spielplan a {
  color: #1a6fff !important;
}

#handball-spielplan img {
  max-width: 42px;
  height: auto;
}

#handball-spielplan table,
#handball-spielplan .table {
  width: 100%;
}

#handball-spielplan {
  transform: scale(1.08);
  transform-origin: top left;
  width: 92.5%;
}

.handball-widget-card {
  background: #111;
  border: 1px solid rgba(255,255,255,.08);
  padding: 54px;
  overflow: hidden;
}


.handball-widget-box {
  background: #0b0b0b;
  padding: 40px;
  min-height: 420px;
  overflow: hidden;
}

.handball-widget-box * {
  font-family: "Barlow", Arial, sans-serif !important;
}

.handball-widget-box a {
  color: #1a6fff !important;
}

@media (max-width: 768px) {
  .handball-widget-card {
    padding: 28px !important;
  }

  .handball-widget-box {
    padding: 20px;
  }
}


/* ══════════════════ CONTACT QUICK LINKS ══════════════════ */

.contact-mail-links{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:18px;
}

.contact-mail-links a{
  padding:10px 14px;
  border:1px solid rgba(255,255,255,.08);
  background:#121212;
  color:#9f9f9f;
  text-decoration:none;
  font-size:12px;
  font-weight:700;
  letter-spacing:.12em;
  text-transform:uppercase;
  transition:.25s ease;
}

.contact-mail-links a:hover{
  border-color:#1a6fff;
  color:#fff;
  background:#181818;
  transform:translateY(-2px);
}


/* ══════════════════ MENU CTA SCOPING / FOOTER SAFETY ══════════════════ */
.nav-links .menu-cta > a{
  background:#1a6fff;
  color:#fff !important;
  padding:14px 22px !important;
  border-radius:3px;
}

.nav-links .menu-cta > a:hover{
  background:#2b7dff;
}

/* Falls dieselbe CSS-Klasse im Footer-Menü verwendet wird, bleibt sie dort normal */
.footer-col .menu-cta > a,
.footer-bottom .menu-cta > a{
  background:transparent !important;
  color:#777 !important;
  padding:0 !important;
  border-radius:0 !important;
  box-shadow:none !important;
}

.footer-col .menu-cta > a:hover,
.footer-bottom .menu-cta > a:hover{
  color:#fff !important;
}


/* Chronik + Vorstand Grid richtig über volle Containerbreite */
.verein-card-grid{
  display:block !important;
  width:100% !important;
  max-width:100% !important;
  margin:0 0 110px 0 !important;
  padding:0 !important;
}

/* Gutenberg inner wrapper auf volle Breite zwingen */
.verein-card-grid > .wp-block-group__inner-container{
  display:grid !important;
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  gap:2px !important;
  width:100% !important;
  max-width:100% !important;
  margin:0 !important;
  padding:0 !important;
}

/* Falls WordPress den Grid-Wrapper anders verschachtelt */
.verein-card-grid.is-layout-constrained > .wp-block-group__inner-container,
.verein-card-grid.is-layout-flow > .wp-block-group__inner-container{
  max-width:100% !important;
  width:100% !important;
}

/* Cards nicht zusammendrücken */
.verein-card-grid .verein-card{
  width:100% !important;
  max-width:none !important;
  margin:0 !important;
  background:#141414 !important;
  border:1px solid rgba(255,255,255,.08) !important;
  padding:34px !important;
  min-height:180px !important;
  box-sizing:border-box !important;
}

/* Vorstand optisch */
.verein-card-grid .vorstand-card{
  background:linear-gradient(145deg,#151515,#0d0d0d) !important;
}

@media(max-width:1100px){
  .verein-card-grid > .wp-block-group__inner-container{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
}

@media(max-width:700px){
  .verein-card-grid > .wp-block-group__inner-container{
    grid-template-columns:1fr !important;
  }
}

/* ══════════════════ LEGAL / IMPRESSUM EDITOR PAGE ══════════════════ */

.legal-section{
  padding:150px 0 90px;
  background:#080808;
  color:#fff;
  min-height:80vh;
}

.legal-container{
  max-width:980px !important;
}

.legal-head{
  margin-bottom:38px;
}

.legal-title{
  margin-bottom:38px;
}

.legal-content{
  background:#111;
  border:1px solid rgba(255,255,255,.08);
  padding:42px;
  color:#d8d8d8;
  line-height:1.9;
  font-size:16px;
  max-width:none !important;
}

.legal-content p{
  color:#d8d8d8;
  font-size:16px;
  line-height:1.9;
  margin-bottom:18px;
}

.legal-content h2,
.legal-content h3{
  font-family:'Barlow Condensed',sans-serif;
  text-transform:uppercase;
  color:#fff;
  font-size:26px;
  margin:42px 0 16px;
}

.legal-content h2:first-child{
  margin-top:0;
}

.legal-content a{
  color:#1a6fff;
  word-break:break-word;
}

.legal-info-box{
  border:1px solid rgba(255,255,255,.18);
  margin:20px 0 42px;
}

.legal-info-box p{
  margin:0;
  padding:12px;
  border-bottom:1px solid rgba(255,255,255,.18);
}

.legal-info-box p:last-child{
  border-bottom:none;
}

@media(max-width:768px){
  .legal-section{
    padding:120px 0 70px;
  }

  .legal-content{
    padding:28px;
  }

  .legal-content h2,
  .legal-content h3{
    font-size:22px;
  }
}


.sgm-button-clean{
  width:auto !important;
  display:inline-block !important;
}

.sgm-button-clean .wp-block-button__link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#1a6fff;
  color:#fff;
  padding:14px 28px;
  border-radius:3px;
  font-family:'Barlow Condensed',sans-serif;
  font-size:16px;
  font-weight:800;
  letter-spacing:1.8px;
  text-transform:uppercase;
  box-shadow:none;
  width:auto;
}

.sgm-button-clean .wp-block-button__link:hover{
  background:#0d4fd4;
}

.verein-cta .wp-block-buttons{
  background:transparent !important;
  padding:0 !important;
  display:block !important;
  width:auto !important;
}

.verein-cta .wp-block-button{
  width:auto !important;
}

/* Gutenberg Button Fix */
.wp-block-button.btn{
  width:auto !important;
}

.wp-block-button.btn .wp-block-button__link{
  display:inline-flex !important;
  align-items:center;
  justify-content:center;
  gap:10px;

  padding:13px 26px !important;

  font-family:'Barlow Condensed',sans-serif !important;
  font-size:var(--font-button) !important;
  font-weight:700 !important;

  letter-spacing:1.8px;
  text-transform:uppercase;

  text-decoration:none !important;

  border-radius:0 !important;

  transition:all var(--transition);

  width:auto !important;
  min-width:auto !important;

  box-shadow:none !important;
}

.wp-block-button.btn-primary .wp-block-button__link{
  background:var(--blue) !important;
  color:#fff !important;
  border:none !important;
}

.wp-block-button.btn-primary .wp-block-button__link:hover{
  background:var(--blue-dark) !important;
}

.wp-block-button.btn-outline .wp-block-button__link{
  background:transparent !important;
  color:#fff !important;
  border:1.5px solid rgba(255,255,255,.25) !important;
}

.wp-block-button.btn-outline .wp-block-button__link:hover{
  border-color:var(--blue) !important;
  color:var(--blue) !important;
}


.wp-block-button.btn-outline{
	border:none !important;
	padding:0 !important;
	background:transparent !important;
}

/* Verein Seite Layout Fix */
.verein-page{
  background:#080808;
  color:#fff;
  min-height:80vh;
}

.verein-editor-content{
  padding:150px 0 90px;
}

.verein-container{
  max-width:1280px !important;
}

/* Intro oben wieder korrekt sichtbar */
.verein-block-intro{
  max-width:760px !important;
  margin-bottom:90px !important;
}

.verein-block-intro .section-title{
  font-size:clamp(42px,5vw,72px) !important;
  line-height:.95 !important;
}

/* Rechte Kurzinfo-Box wie Original */
.verein-two-col{
  align-items:flex-start !important;
}

.verein-info-box{
  background:linear-gradient(145deg,#151515,#0d0d0d) !important;
  border:1px solid rgba(255,255,255,.08) !important;
  padding:54px !important;
  min-height:420px;
}

/* Text links sauber */
.verein-two-col p{
  font-size:18px;
  line-height:1.75;
  color:#d7d7d7;
}

.verein-two-col .section-title{
  color:#fff;
}

/* Mobile */
@media(max-width:900px){
  .verein-editor-content{
    padding:120px 0 70px;
  }

  .verein-info-box{
    padding:34px !important;
  }
}

/* Gutenberg Editor: Reveal-Klassen im Editor sichtbar halten.
   Frontend-Animation bleibt unverändert. */
.editor-styles-wrapper .r,
.block-editor-page .r{
  opacity:1 !important;
  transform:none !important;
}


/* ═══════════════════════════════════════
   VEREIN GALERIE
═══════════════════════════════════════ */
.verein-gallery-section{
  margin:110px 0;
}

.verein-gallery-head{
  display:grid;
  grid-template-columns:1fr auto;
  align-items:end;
  gap:40px;
  margin-bottom:46px;
}

.verein-gallery-head .section-title{
  max-width:760px;
  margin-bottom:20px;
}

.verein-gallery-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:2px;
}

.verein-gallery-item{
  position:relative;
  min-height:240px;
  aspect-ratio:1;
  overflow:hidden;
  background:linear-gradient(135deg,#0d1f3a,#091628);
  border:1px solid var(--border);
}

.verein-gallery-item.is-featured{
  grid-column:span 2;
  grid-row:span 2;
}

.verein-gallery-item a{
  display:block;
  width:100%;
  height:100%;
}

.verein-gallery-img{
  width:100%;
  height:100%;
  object-fit:cover;
  filter:saturate(.95) contrast(1.05);
  transform:scale(1.01);
  transition:transform .55s ease, filter .55s ease, opacity .55s ease;
  opacity:.86;
}

.verein-gallery-item:hover .verein-gallery-img{
  transform:scale(1.07);
  filter:saturate(1.08) contrast(1.08);
  opacity:1;
}

.verein-gallery-item::after{
  content:'';
  position:absolute;
  inset:0;
  background:linear-gradient(to bottom, transparent 45%, rgba(0,0,0,.62));
  pointer-events:none;
  opacity:.75;
}

.verein-gallery-item figcaption{
  position:absolute;
  left:18px;
  right:18px;
  bottom:16px;
  z-index:2;
  font-size:13px;
  line-height:1.45;
  color:rgba(255,255,255,.82);
}

.verein-gallery-empty{
  border:1px dashed rgba(255,255,255,.2);
  background:rgba(255,255,255,.04);
  padding:34px;
  color:var(--gray-l);
  font-size:15px;
}

#vereinsgalerie{
  scroll-margin-top:calc(var(--nav-height) + 30px);
}

@media(max-width:1000px){
  .verein-gallery-head{
    grid-template-columns:1fr;
    align-items:start;
  }

  .verein-gallery-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media(max-width:640px){
  .verein-gallery-section{
    margin:80px 0;
  }

  .verein-gallery-grid{
    grid-template-columns:1fr;
  }

  .verein-gallery-item,
  .verein-gallery-item.is-featured{
    grid-column:auto;
    grid-row:auto;
    aspect-ratio:16/11;
    min-height:220px;
  }
}

/* ═══════════════════════════════════════
   KONTAKTFORMULAR FUNKTIONAL
═══════════════════════════════════════ */
.sgm-contact-form{
  margin:0;
}

.sgm-hp-field{
  position:absolute!important;
  left:-9999px!important;
  width:1px!important;
  height:1px!important;
  overflow:hidden!important;
}

.form-success.is-visible{
  display:block;
  margin-bottom:18px;
}

.form-error{
  background:rgba(255,70,70,.12);
  border-color:rgba(255,70,70,.35);
  color:#ff8a8a;
}

/* ═══════════════════════════════════════
   DESIGN PASS 1 — LIGHT / PREMIUM RHYTHM
   Ganz unten in main.css einfügen
═══════════════════════════════════════ */

/* ---------- globale Verfeinerung ---------- */

:root {
  --surface-light: #f3f5f8;
  --surface-light-2: #ffffff;
  --text-dark: #080808;
  --text-muted-dark: #5f6670;
  --soft-border: rgba(8, 8, 8, 0.09);
  --premium-shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
  --blue-soft-bg: rgba(26, 111, 255, 0.08);
}

.section-title {
  text-wrap: balance;
}

.section-intro {
  text-wrap: pretty;
}

.btn {
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255,255,255,.16) 45%,
    transparent 70%
  );
  transform: translateX(-120%);
  transition: transform .55s ease;
  pointer-events: none;
}

.btn:hover::before {
  transform: translateX(120%);
}


/* ---------- Quickbar etwas hochwertiger ---------- */

.quickbar {
  box-shadow: 0 18px 60px rgba(0,0,0,.16);
  position: relative;
  z-index: 5;
}

.qb-item {
  min-height: 168px;
  justify-content: center;
}

.qb-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(26,111,255,.08);
  display: flex;
  align-items: center;
  justify-content: center;
}

.qb-icon svg {
  width: 18px;
  height: 18px;
}


/* ---------- NEWS: heller Premium-Bereich ---------- */

.news-section {
  background:
    radial-gradient(circle at 15% 20%, rgba(26,111,255,.08), transparent 32%),
    linear-gradient(180deg, #f6f7fa 0%, #eef1f5 100%);
  color: var(--text-dark);
  position: relative;
  overflow: hidden;
}

.news-section::before {
  content: "NEWS";
  position: absolute;
  right: -2vw;
  top: 40px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(110px, 18vw, 260px);
  font-weight: 900;
  font-style: italic;
  line-height: 1;
  color: rgba(8,8,8,.035);
  pointer-events: none;
}

.news-section .container {
  position: relative;
  z-index: 1;
}

.news-section .section-title {
  color: #050505;
}

.news-section .section-intro {
  color: var(--text-muted-dark);
}

.news-section .btn-outline {
  color: #050505;
  border-color: rgba(8,8,8,.22);
  background: rgba(255,255,255,.5);
}

.news-section .btn-outline:hover {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
}

.news-header {
  align-items: center;
}

.news-grid {
  gap: 22px;
}

.news-card {
  background: #fff;
  color: #050505;
  border: 1px solid rgba(8,8,8,.07);
  box-shadow: 0 18px 50px rgba(13, 31, 60, .09);
  transition:
    transform .28s cubic-bezier(.4,0,.2,1),
    box-shadow .28s cubic-bezier(.4,0,.2,1),
    border-color .28s cubic-bezier(.4,0,.2,1);
}

.news-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 80px rgba(13, 31, 60, .16);
  border-color: rgba(26,111,255,.25);
}

.news-card a {
  display: block;
  height: 100%;
}

.news-thumb {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #0d1f3c, #081225);
}

.news-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s ease, filter .7s ease;
}

.news-card:hover .news-image {
  transform: scale(1.045);
  filter: saturate(1.1) contrast(1.04);
}

.news-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(0,0,0,.04), rgba(0,0,0,.18)),
    linear-gradient(135deg, rgba(26,111,255,.16), transparent 58%);
  pointer-events: none;
}

.news-tag {
  box-shadow: 0 8px 22px rgba(26,111,255,.28);
}

.news-body {
  padding: 28px 28px 30px;
}

.news-meta {
  color: #7a808a;
}

.news-title {
  color: #050505;
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.05;
}

.news-teaser {
  color: #5f6670;
}

.news-more {
  color: var(--blue);
}

.news-footer {
  margin-top: 48px;
}

.news-footer .btn-outline {
  background: #050505;
  color: #fff;
  border-color: #050505;
}

.news-footer .btn-outline:hover {
  background: var(--blue);
  border-color: var(--blue);
}


/* ---------- TEAMS: dunkler, aber hochwertiger ---------- */

.teams-section {
  background:
    radial-gradient(circle at 50% 0%, rgba(26,111,255,.08), transparent 28%),
    linear-gradient(180deg, #0d0d0d 0%, #101014 100%);
  border-top: 1px solid rgba(255,255,255,.04);
  border-bottom: 1px solid rgba(255,255,255,.04);
}

.teams-grid {
  gap: 14px;
}

.team-card {
  min-height: 250px;
  border: 1px solid rgba(255,255,255,.06);
  background:
    linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.018));
  box-shadow: 0 18px 50px rgba(0,0,0,.18);
}

.team-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(26,111,255,.16), transparent 42%);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
}

.team-card:hover::before {
  opacity: 1;
}

.team-card:hover {
  background:
    linear-gradient(180deg, rgba(26,111,255,.08), rgba(255,255,255,.025));
  transform: translateY(-7px);
}

.team-icon-wrap {
  width: 82px;
  height: 82px;
  background:
    radial-gradient(circle, rgba(26,111,255,.18), rgba(26,111,255,.04));
  box-shadow: inset 0 0 0 1px rgba(26,111,255,.12);
}

.team-card:hover .team-icon-wrap {
  box-shadow:
    inset 0 0 0 1px rgba(26,111,255,.45),
    0 0 34px rgba(26,111,255,.16);
}

.team-name {
  color: #fff;
  font-size: 18px;
}

.team-text {
  max-width: 190px;
  color: rgba(255,255,255,.55);
}


/* ---------- IMPRESSIONS: mehr Galerie-Wirkung ---------- */

.impressions {
  background:
    radial-gradient(circle at 82% 40%, rgba(26,111,255,.09), transparent 26%),
    var(--black);
}

.impressions-inner {
  gap: clamp(44px, 6vw, 90px);
}

.impressions-left {
  position: relative;
}

.impressions-left::before {
  content: "";
  position: absolute;
  left: -34px;
  top: -34px;
  width: 110px;
  height: 110px;
  border-left: 2px solid rgba(26,111,255,.32);
  border-top: 2px solid rgba(26,111,255,.32);
  opacity: .7;
  pointer-events: none;
}

.impressions-right {
  filter: drop-shadow(0 24px 70px rgba(0,0,0,.35));
}

.imp-cell {
  border: 1px solid rgba(255,255,255,.06);
}

.imp-cell-inner {
  color: rgba(255,255,255,.09);
}

.imp-cell-overlay::after {
  content: "Mehr ansehen";
  font-family: "Barlow Condensed", sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--transition), transform var(--transition);
}

.imp-cell:hover .imp-cell-overlay::after {
  opacity: 1;
  transform: translateY(0);
}


/* ---------- CTA: Glas-Box stärken ---------- */

.cta-section {
  background:
    radial-gradient(circle at 85% 10%, rgba(255,255,255,.13), transparent 28%),
    linear-gradient(135deg, #1a6fff 0%, #1162ee 54%, #0d55dc 100%);
}

.cta-visual {
  background: rgba(255,255,255,.13);
  border-color: rgba(255,255,255,.25);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.18),
    0 30px 80px rgba(0,0,0,.13);
  backdrop-filter: blur(12px);
}

.cta-visual-num {
  text-shadow: 0 14px 30px rgba(0,0,0,.18);
}


/* ---------- KONTAKT: Formular als Premium-Card ---------- */

.kontakt-section {
  background:
    radial-gradient(circle at 72% 44%, rgba(26,111,255,.08), transparent 24%),
    linear-gradient(180deg, #101010 0%, #0b0b0b 100%);
}

.kontakt-inner > .r.d2 {
  background:
    linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.075);
  padding: clamp(26px, 3vw, 38px);
  box-shadow: 0 26px 80px rgba(0,0,0,.24);
}

.form-group input,
.form-group textarea {
  background: rgba(255,255,255,.075);
  border-color: rgba(255,255,255,.105);
}

.form-group input:hover,
.form-group textarea:hover {
  border-color: rgba(255,255,255,.18);
}

.form-group input:focus,
.form-group textarea:focus {
  background: rgba(255,255,255,.095);
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(26,111,255,.12);
}

.form-success.is-visible,
.form-success[style*="block"] {
  display: block;
}

.form-success {
  margin-bottom: 22px;
  text-align: left;
  border-left: 3px solid var(--blue);
}

.form-error {
  background: rgba(255, 66, 66, .12);
  border-color: rgba(255, 66, 66, .32);
  border-left-color: #ff4b4b;
  color: #ff8b8b;
}

.contact-mail-links a,
.contact-mail-links .btn,
.contact-mail-links button {
  transition: transform var(--transition), border-color var(--transition), color var(--transition), background var(--transition);
}


/* ---------- SPONSOREN: seriöser / heller ---------- */

.sponsors-section {
  background:
    radial-gradient(circle at 18% 10%, rgba(26,111,255,.08), transparent 30%),
    linear-gradient(180deg, #f3f5f8 0%, #e9edf3 100%);
  color: #050505;
}

.sponsors-section .section-title {
  color: #050505;
}

.sponsors-section .section-intro {
  color: var(--text-muted-dark);
}

.sponsors-section .btn-outline {
  color: #050505;
  border-color: rgba(8,8,8,.22);
  background: rgba(255,255,255,.55);
}

.sponsors-section .btn-outline:hover {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
}

.sponsors-row {
  gap: 14px;
}

.sponsor-tile {
  background: #fff;
  color: #303640;
  border: 1px solid rgba(8,8,8,.07);
  box-shadow: 0 15px 45px rgba(13,31,60,.08);
}

.sponsor-tile:hover {
  background: #fff;
  color: #050505;
  transform: translateY(-5px);
  box-shadow: 0 24px 70px rgba(13,31,60,.14);
}


/* ---------- Footer sauberer absetzen ---------- */

.pre-footer {
  background:
    linear-gradient(90deg, #080808 0%, #0d162c 52%, #080808 100%);
}

footer {
  background: #050505;
}


/* ---------- Responsive Feinschliff ---------- */

@media (max-width: 980px) {
  .news-header,
  .sponsors-header {
    grid-template-columns: 1fr;
    display: grid;
    align-items: start;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .teams-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .kontakt-inner > .r.d2 {
    padding: 24px;
  }
}

@media (max-width: 640px) {
  .news-section,
  .teams-section,
  .impressions,
  .cta-section,
  .kontakt-section,
  .sponsors-section {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .news-body {
    padding: 22px;
  }

  .teams-grid {
    grid-template-columns: 1fr;
  }

  .team-card {
    min-height: auto;
    padding: 34px 22px;
  }

  .kontakt-inner > .r.d2 {
    padding: 20px;
  }

  .news-header .btn,
  .sponsors-header .btn {
    width: fit-content;
  }
}


/* ═══════════════════════════════════════
   DESIGN PASS 2 — MICRO INTERACTIONS
   Ganz unten in main.css einfügen
═══════════════════════════════════════ */

/* ---------- kompakter Premium-Header beim Scrollen ---------- */

nav.scrolled {
  height: 58px;
  box-shadow: 0 14px 45px rgba(0,0,0,.24);
}

nav.scrolled .nav-logo .ring {
  width: 36px;
  height: 36px;
  font-size: 10px;
}

nav.scrolled .nav-logo .wordmark {
  font-size: 13px;
}

nav.scrolled .nav-cta {
  padding-top: 7px;
  padding-bottom: 7px;
}

nav,
.nav-logo .ring,
.nav-logo .wordmark,
.nav-cta {
  transition:
    height .28s ease,
    width .28s ease,
    font-size .28s ease,
    padding .28s ease,
    box-shadow .28s ease,
    background .28s ease,
    border-color .28s ease;
}


/* ---------- aktiver Menüpunkt sauberer ---------- */

.nav-links a.is-active {
  color: #fff;
}

.nav-links a.is-active::after {
  transform: scaleX(1);
}


/* ---------- Mouse Glow Cards ---------- */

.news-card,
.team-card,
.sponsor-tile,
.qb-item {
  isolation: isolate;
}

.news-card::before,
.sponsor-tile::before,
.qb-item::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  z-index: 1;
  transition: opacity .28s ease;
  background:
    radial-gradient(
      360px circle at var(--mx, 50%) var(--my, 50%),
      rgba(26,111,255,.18),
      transparent 42%
    );
}

.news-card:hover::before,
.sponsor-tile:hover::before,
.qb-item:hover::after {
  opacity: 1;
}

.news-card > a,
.sponsor-tile > *,
.qb-item > * {
  position: relative;
  z-index: 2;
}

/* Team-Cards haben schon ::before/::after, deshalb hier Licht über Hintergrund */
.team-card {
  --mx: 50%;
  --my: 50%;
}

.team-card:hover {
  background:
    radial-gradient(
      420px circle at var(--mx) var(--my),
      rgba(26,111,255,.18),
      transparent 42%
    ),
    linear-gradient(180deg, rgba(26,111,255,.08), rgba(255,255,255,.025));
}


/* ---------- Karten bewegen sich minimal hochwertig ---------- */

.news-card,
.team-card,
.sponsor-tile,
.imp-cell,
.qb-item {
  will-change: transform;
}

.news-card.is-tilting,
.team-card.is-tilting,
.sponsor-tile.is-tilting {
  transition: transform .08s linear, box-shadow .28s ease;
}


/* ---------- Buttons: Klick-Pulse ---------- */

.btn {
  transform-style: preserve-3d;
}

.btn.is-pressed {
  transform: translateY(0) scale(.985);
}

.btn .btn-ripple {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.45);
  transform: translate(-50%, -50%) scale(0);
  animation: sgmRipple .62s ease-out forwards;
  pointer-events: none;
}

@keyframes sgmRipple {
  to {
    transform: translate(-50%, -50%) scale(18);
    opacity: 0;
  }
}


/* ---------- Hero bekommt leichte Maus-Tiefe ---------- */

.hero {
  --hero-x: 0px;
  --hero-y: 0px;
}

.hero-content {
  transform: translate3d(calc(var(--hero-x) * -0.22), calc(var(--hero-y) * -0.18), 0);
  transition: transform .18s ease-out;
}

.hero-player {
  transform: translate3d(calc(var(--hero-x) * .45), calc(var(--hero-y) * .22), 0);
  transition: transform .18s ease-out;
}

.hero-num {
  transform:
    translateY(-50%)
    translate3d(calc(var(--hero-x) * .18), calc(var(--hero-y) * .12), 0);
}


/* ---------- Impressionen: aktiver Fokus ---------- */

.imp-cell {
  transition:
    transform .32s cubic-bezier(.4,0,.2,1),
    filter .32s cubic-bezier(.4,0,.2,1),
    border-color .32s cubic-bezier(.4,0,.2,1);
}

.impressions-right:hover .imp-cell {
  filter: saturate(.82) brightness(.82);
}

.impressions-right .imp-cell:hover {
  transform: scale(1.035);
  filter: saturate(1.12) brightness(1);
  z-index: 3;
  border-color: rgba(26,111,255,.45);
}


/* ---------- Kontakt: aktive Schnellwahl, falls später genutzt ---------- */

.contact-mail-links a.is-selected,
.contact-mail-links button.is-selected {
  border-color: var(--blue) !important;
  color: var(--blue) !important;
  background: rgba(26,111,255,.12) !important;
}


/* ---------- Motion-Schutz ---------- */

@media (prefers-reduced-motion: reduce) {
  .hero-content,
  .hero-player,
  .hero-num,
  .news-card,
  .team-card,
  .sponsor-tile,
  .imp-cell,
  .qb-item,
  .btn,
  .btn::before {
    transition: none !important;
    animation: none !important;
    transform: none !important;
  }

  .btn .btn-ripple {
    display: none !important;
  }
}


/* ═══════════════════════════════════════
   DESIGN PASS 3 — COLOR SYSTEM & SECTION RHYTHM
   Ganz unten in main.css einfügen
═══════════════════════════════════════ */

/* ---------- neues Premium-Farbsystem ---------- */

:root {
  --black: #07080a;
  --dark: #11141a;
  --dark-2: #141820;
  --card: #181d26;
  --card-soft: #202735;
  --border: rgba(255,255,255,0.09);

  --off-white: #f4f6f8;
  --paper: #ffffff;
  --paper-soft: #edf1f6;

  --gray: #8993a3;
  --gray-l: #c5ccd8;

  --text-dark: #07080a;
  --text-muted-dark: #626b78;

  --blue:#1a6fff;
  --blue-dark:#0d4fd4;
  --blue-soft: rgba(26,111,255,.10);
  --blue-glow: rgba(26,111,255,.26);
}


/* ---------- Grundgefühl: weniger hartes Schwarz ---------- */

body {
  background: var(--black);
  color: var(--white);
}


/* ---------- Hero bleibt tief und sportlich ---------- */

.hero {
  background: var(--black);
}

.hero-bg {
  background:
    radial-gradient(circle at 72% 42%, rgba(26,111,255,.18), transparent 34%),
    linear-gradient(155deg, #030406 0%, #071124 38%, #0b1832 62%, #07080a 100%);
}

.hero-bg::after {
  background:
    radial-gradient(ellipse 70% 70% at 75% 50%, rgba(26,111,255,.16) 0%, transparent 70%);
}

.hero-stat {
  background: rgba(10,12,16,.74);
  border-color: rgba(255,255,255,.10);
  box-shadow: 0 18px 55px rgba(0,0,0,.24);
}


/* ---------- Quickbar: klare weiße Orientierung ---------- */

.quickbar {
  background: #fff;
  color: #050505;
}

.qb-item {
  background: #fff;
  border-right-color: rgba(8,8,8,.08);
}

.qb-item:hover {
  background: #f2f6ff;
}

.qb-detail {
  color: #687080;
}


/* ---------- News: redaktionelle helle Ebene ---------- */

.news-section {
  background:
    radial-gradient(circle at 12% 18%, rgba(26,111,255,.08), transparent 30%),
    linear-gradient(180deg, #f7f8fb 0%, #edf1f6 100%);
}

.news-card {
  background: var(--paper);
  border-color: rgba(8,8,8,.075);
}

.news-body {
  background: linear-gradient(180deg, #fff 0%, #fbfcfe 100%);
}

.news-meta {
  color: #7b8492;
}

.news-teaser {
  color: #5e6876;
}


/* ---------- Teams: Anthrazit statt Schwarz ---------- */

.teams-section {
  background:
    radial-gradient(circle at 48% 0%, rgba(26,111,255,.10), transparent 31%),
    linear-gradient(180deg, #10131a 0%, #151922 52%, #11141a 100%);
}

.teams-section .section-intro {
  color: #aeb7c6;
}

.team-card {
  background:
    linear-gradient(180deg, rgba(255,255,255,.055), rgba(255,255,255,.025)),
    #171c25;
  border-color: rgba(255,255,255,.08);
}

.team-card:hover {
  background:
    radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(26,111,255,.18), transparent 42%),
    linear-gradient(180deg, #1b2330 0%, #171c25 100%);
}

.team-text {
  color: #9ba5b5;
}


/* ---------- Impressionen: emotional dunkler, aber nicht flach schwarz ---------- */

.impressions {
  background:
    radial-gradient(circle at 82% 42%, rgba(26,111,255,.10), transparent 28%),
    radial-gradient(circle at 10% 90%, rgba(255,255,255,.035), transparent 26%),
    linear-gradient(180deg, #090b10 0%, #0d1118 100%);
}

.impressions .section-intro {
  color: #b6bfcc;
}

.imp-cell {
  background: #151a23;
  border-color: rgba(255,255,255,.075);
}

.imp-cell:nth-child(1) .imp-cell-inner {
  background: linear-gradient(135deg,#0f213f,#0a1425);
}

.imp-cell:nth-child(2) .imp-cell-inner {
  background: linear-gradient(135deg,#0d2616,#0b1b14);
}

.imp-cell:nth-child(3) .imp-cell-inner {
  background: linear-gradient(135deg,#2a1b10,#1c130d);
}

.imp-cell:nth-child(4) .imp-cell-inner {
  background: linear-gradient(135deg,#201032,#160d24);
}

.imp-cell:nth-child(5) .imp-cell-inner {
  background: linear-gradient(135deg,#102447,#18325d);
}


/* ---------- CTA: Höhepunkt bleibt Blau ---------- */

.cta-section {
  background:
    radial-gradient(circle at 82% 8%, rgba(255,255,255,.16), transparent 28%),
    radial-gradient(circle at 8% 90%, rgba(0,0,0,.13), transparent 30%),
    linear-gradient(135deg, #1a6fff 0%, #1161ec 54%, #0d4fd4 100%);
}


/* ---------- Kontakt: seriöses Anthrazit ---------- */

.kontakt-section {
  background:
    radial-gradient(circle at 72% 42%, rgba(26,111,255,.085), transparent 25%),
    linear-gradient(180deg, #11141a 0%, #0d1016 100%);
}

.kontakt-section .section-intro,
.contact-block p {
  color: #b9c1ce;
}

.contact-block-label {
  color: #7f8998;
}

.kontakt-inner > .r.d2 {
  background:
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.025)),
    #151a23;
  border-color: rgba(255,255,255,.10);
}

.form-group input,
.form-group textarea {
  background: rgba(255,255,255,.085);
  border-color: rgba(255,255,255,.13);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,.32);
}

.contact-mail-links a {
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.10);
}


/* ---------- Sponsoren: hell, ruhig, vertrauenswürdig ---------- */

.sponsors-section {
  background:
    radial-gradient(circle at 15% 12%, rgba(26,111,255,.075), transparent 30%),
    linear-gradient(180deg, #f5f7fa 0%, #e8edf4 100%);
  color: var(--text-dark);
}

.sponsor-tile {
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(10px);
}

.sponsor-tile:hover {
  border-color: rgba(26,111,255,.22);
}


/* ---------- Pre-Footer als dunkle Brücke ---------- */

.pre-footer {
  background:
    radial-gradient(circle at 72% 50%, rgba(26,111,255,.12), transparent 28%),
    linear-gradient(90deg, #08090d 0%, #101827 52%, #08090d 100%);
}


/* ---------- Footer bleibt Schlussanker ---------- */

footer {
  background:
    linear-gradient(180deg, #06070a 0%, #040405 100%);
}


/* ---------- Sektionstrenner: mehr Tiefe zwischen hell/dunkel ---------- */

.news-section,
.teams-section,
.impressions,
.cta-section,
.kontakt-section,
.sponsors-section {
  position: relative;
}

.news-section::after,
.sponsors-section::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: rgba(0,0,0,.08);
  pointer-events: none;
}

.teams-section::before,
.impressions::before,
.kontakt-section::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.11), transparent);
  pointer-events: none;
}


/* ---------- Typografie auf dunklen Sektionen etwas luftiger ---------- */

.teams-section .section-title,
.impressions .section-title,
.kontakt-section .section-title {
  color: #fff;
  text-shadow: 0 14px 36px rgba(0,0,0,.22);
}

.teams-section .section-eyebrow,
.impressions .section-eyebrow,
.kontakt-section .section-eyebrow {
  color: #4f91ff;
}


/* ---------- Mobile: Hell-Dunkel-Rhythmus bleibt sauber ---------- */

@media (max-width: 760px) {
  .news-section::before {
    opacity: .55;
  }

  .hero-bg {
    background:
      radial-gradient(circle at 65% 25%, rgba(26,111,255,.18), transparent 34%),
      linear-gradient(155deg, #030406 0%, #071124 42%, #07080a 100%);
  }

  .kontakt-inner > .r.d2 {
    background:
      linear-gradient(180deg, rgba(255,255,255,.065), rgba(255,255,255,.03)),
      #151a23;
  }
}


/* ═══════════════════════════════════════
   NEWS GRID — 6 BEITRÄGE / MEHRERE REIHEN
═══════════════════════════════════════ */

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.news-card {
  height: 100%;
}

.news-card > a {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.news-thumb {
  flex-shrink: 0;
}

.news-body {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-teaser {
  flex: 1;
}

.news-more {
  margin-top: auto;
}

@media (max-width: 980px) {
  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .news-grid {
    grid-template-columns: 1fr;
  }
}


/* ═══════════════════════════════════════
   FRONTPAGE DESIGN FINISH — LIGHT TEAMS / CLEAN FLOW
   Ganz unten in main.css einfügen
═══════════════════════════════════════ */

/* ---------- Frontpage Grundrhythmus ---------- */

.home main,
.front-editor-page,
.site-main:has(.hero) {
  background: #f1f4f8;
}

/* ---------- News bleibt hell und redaktionell ---------- */

.home .news-section,
.front-editor-page .news-section,
.site-main:has(.hero) .news-section {
  background:
    radial-gradient(circle at 12% 18%, rgba(26,111,255,.07), transparent 32%),
    linear-gradient(180deg, #f7f8fb 0%, #eef2f7 100%);
}

/* ---------- Teams jetzt hell / freundlich / professionell ---------- */

.home .teams-section,
.front-editor-page .teams-section,
.site-main:has(.hero) .teams-section {
  background:
    radial-gradient(circle at 48% 0%, rgba(26,111,255,.075), transparent 30%),
    linear-gradient(180deg, #eef2f7 0%, #e6ebf2 100%) !important;
  color: #07080a;
  border-top: 1px solid rgba(8,8,8,.06);
  border-bottom: 1px solid rgba(8,8,8,.06);
}

.home .teams-section .section-eyebrow,
.front-editor-page .teams-section .section-eyebrow,
.site-main:has(.hero) .teams-section .section-eyebrow {
  color: var(--blue);
}

.home .teams-section .section-eyebrow::before,
.front-editor-page .teams-section .section-eyebrow::before,
.site-main:has(.hero) .teams-section .section-eyebrow::before {
  background: var(--blue);
}

.home .teams-section .section-title,
.front-editor-page .teams-section .section-title,
.site-main:has(.hero) .teams-section .section-title {
  color: #07080a !important;
  text-shadow: none !important;
}

.home .teams-section .section-intro,
.front-editor-page .teams-section .section-intro,
.site-main:has(.hero) .teams-section .section-intro {
  color: #626b78 !important;
}

.home .teams-grid,
.front-editor-page .teams-grid,
.site-main:has(.hero) .teams-grid {
  gap: 18px;
}

.home .team-card,
.front-editor-page .team-card,
.site-main:has(.hero) .team-card {
  background:
    linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%) !important;
  color: #07080a !important;
  border: 1px solid rgba(8,8,8,.075) !important;
  box-shadow: 0 16px 44px rgba(13,31,60,.08);
  min-height: 260px;
}

.home .team-card::before,
.front-editor-page .team-card::before,
.site-main:has(.hero) .team-card::before {
  background:
    radial-gradient(circle at 50% 0%, rgba(26,111,255,.13), transparent 44%);
}

.home .team-card:hover,
.front-editor-page .team-card:hover,
.site-main:has(.hero) .team-card:hover {
  background:
    radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(26,111,255,.12), transparent 44%),
    linear-gradient(180deg, #ffffff 0%, #f7faff 100%) !important;
  transform: translateY(-7px);
  box-shadow: 0 26px 74px rgba(13,31,60,.15);
}

.home .team-icon-wrap,
.front-editor-page .team-icon-wrap,
.site-main:has(.hero) .team-icon-wrap {
  background: rgba(26,111,255,.08) !important;
  border-color: rgba(26,111,255,.22) !important;
  color: var(--blue);
}

.home .team-card:hover .team-icon-wrap,
.front-editor-page .team-card:hover .team-icon-wrap,
.site-main:has(.hero) .team-card:hover .team-icon-wrap {
  background: rgba(26,111,255,.12) !important;
  border-color: rgba(26,111,255,.42) !important;
  box-shadow: 0 0 34px rgba(26,111,255,.13);
}

.home .team-name,
.front-editor-page .team-name,
.site-main:has(.hero) .team-name {
  color: #111827 !important;
}

.home .team-card:hover .team-name,
.front-editor-page .team-card:hover .team-name,
.site-main:has(.hero) .team-card:hover .team-name {
  color: #07080a !important;
}

.home .team-text,
.front-editor-page .team-text,
.site-main:has(.hero) .team-text {
  color: #667085 !important;
}

.home .team-btn,
.front-editor-page .team-btn,
.site-main:has(.hero) .team-btn {
  color: var(--blue);
}

/* ---------- Impressionen als bewusster dunkler Kontrast ---------- */

.home .impressions,
.front-editor-page .impressions,
.site-main:has(.hero) .impressions {
  background:
    radial-gradient(circle at 82% 42%, rgba(26,111,255,.11), transparent 28%),
    radial-gradient(circle at 8% 92%, rgba(255,255,255,.035), transparent 28%),
    linear-gradient(180deg, #11141a 0%, #0d1016 100%) !important;
}

.home .impressions .section-title,
.front-editor-page .impressions .section-title,
.site-main:has(.hero) .impressions .section-title {
  color: #fff;
}

.home .impressions .section-intro,
.front-editor-page .impressions .section-intro,
.site-main:has(.hero) .impressions .section-intro {
  color: #b9c1ce;
}

/* ---------- Kontakt hell / Formular als weiße Card ---------- */

.home .kontakt-section,
.front-editor-page .kontakt-section,
.site-main:has(.hero) .kontakt-section {
  background:
    radial-gradient(circle at 72% 42%, rgba(26,111,255,.065), transparent 28%),
    linear-gradient(180deg, #f2f5f9 0%, #e8edf4 100%) !important;
  color: #07080a;
}

.home .kontakt-section .section-title,
.front-editor-page .kontakt-section .section-title,
.site-main:has(.hero) .kontakt-section .section-title {
  color: #07080a !important;
  text-shadow: none !important;
}

.home .kontakt-section .section-intro,
.front-editor-page .kontakt-section .section-intro,
.site-main:has(.hero) .kontakt-section .section-intro,
.home .contact-block p,
.front-editor-page .contact-block p,
.site-main:has(.hero) .contact-block p {
  color: #626b78 !important;
}

.home .contact-block-title,
.front-editor-page .contact-block-title,
.site-main:has(.hero) .contact-block-title {
  color: #07080a !important;
}

.home .contact-divider,
.front-editor-page .contact-divider,
.site-main:has(.hero) .contact-divider {
  background: rgba(8,8,8,.10);
}

.home .kontakt-inner > .r.d2,
.front-editor-page .kontakt-inner > .r.d2,
.site-main:has(.hero) .kontakt-inner > .r.d2 {
  background: #ffffff !important;
  color: #07080a;
  border: 1px solid rgba(8,8,8,.08) !important;
  box-shadow: 0 24px 74px rgba(13,31,60,.12);
}

.home .kontakt-inner > .r.d2 .section-eyebrow,
.front-editor-page .kontakt-inner > .r.d2 .section-eyebrow,
.site-main:has(.hero) .kontakt-inner > .r.d2 .section-eyebrow {
  color: var(--blue);
}

.home .form-group label,
.front-editor-page .form-group label,
.site-main:has(.hero) .form-group label {
  color: #667085;
}

.home .form-group input,
.home .form-group textarea,
.front-editor-page .form-group input,
.front-editor-page .form-group textarea,
.site-main:has(.hero) .form-group input,
.site-main:has(.hero) .form-group textarea {
  background: #f5f7fa !important;
  border-color: rgba(8,8,8,.11) !important;
  color: #07080a !important;
}

.home .form-group input::placeholder,
.home .form-group textarea::placeholder,
.front-editor-page .form-group input::placeholder,
.front-editor-page .form-group textarea::placeholder,
.site-main:has(.hero) .form-group input::placeholder,
.site-main:has(.hero) .form-group textarea::placeholder {
  color: #9aa3af !important;
}

.home .form-group input:focus,
.home .form-group textarea:focus,
.front-editor-page .form-group input:focus,
.front-editor-page .form-group textarea:focus,
.site-main:has(.hero) .form-group input:focus,
.site-main:has(.hero) .form-group textarea:focus {
  background: #fff !important;
  border-color: var(--blue) !important;
  box-shadow: 0 0 0 3px rgba(26,111,255,.12);
}

.home .maps-btn,
.front-editor-page .maps-btn,
.site-main:has(.hero) .maps-btn {
  background: rgba(26,111,255,.09);
  border-color: rgba(26,111,255,.24);
}

.home .contact-mail-links a,
.front-editor-page .contact-mail-links a,
.site-main:has(.hero) .contact-mail-links a {
  background: #f5f7fa !important;
  color: #303846 !important;
  border-color: rgba(8,8,8,.10) !important;
}

.home .contact-mail-links a:hover,
.front-editor-page .contact-mail-links a:hover,
.site-main:has(.hero) .contact-mail-links a:hover {
  background: #fff !important;
  color: var(--blue) !important;
  border-color: rgba(26,111,255,.28) !important;
}

/* ---------- Sponsoren hell und ruhig ---------- */

.home .sponsors-section,
.front-editor-page .sponsors-section,
.site-main:has(.hero) .sponsors-section {
  background:
    radial-gradient(circle at 18% 10%, rgba(26,111,255,.06), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f1f4f8 100%) !important;
  color: #07080a;
}

.home .sponsors-section .section-title,
.front-editor-page .sponsors-section .section-title,
.site-main:has(.hero) .sponsors-section .section-title {
  color: #07080a !important;
}

.home .sponsors-section .section-intro,
.front-editor-page .sponsors-section .section-intro,
.site-main:has(.hero) .sponsors-section .section-intro {
  color: #626b78 !important;
}

.home .sponsor-tile,
.front-editor-page .sponsor-tile,
.site-main:has(.hero) .sponsor-tile {
  background: #fff !important;
  color: #303846 !important;
  border: 1px solid rgba(8,8,8,.075) !important;
  box-shadow: 0 14px 40px rgba(13,31,60,.07);
}

.home .sponsor-tile:hover,
.front-editor-page .sponsor-tile:hover,
.site-main:has(.hero) .sponsor-tile:hover {
  color: #07080a !important;
  box-shadow: 0 24px 70px rgba(13,31,60,.13);
}

/* ---------- Footer sauberer Abschluss ---------- */

.footer-grid-clean {
  grid-template-columns: 1.35fr 1fr 1fr;
  align-items: start;
  gap: clamp(44px, 7vw, 110px);
}

.footer-brand-main {
  max-width: 380px;
}

.footer-cta-col,
.footer-contact-col {
  max-width: 340px;
}

.footer-cta-text {
  font-size: var(--footer-text);
  line-height: 1.7;
  color: #777;
  margin: 0 0 20px;
}

.footer-cta-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.footer-cta-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  background: var(--blue);
  color: #fff !important;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.footer-cta-link:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(26,111,255,.22);
}

.footer-link-subtle {
  font-size: var(--footer-text);
  color: #777;
  transition: color var(--transition);
}

.footer-link-subtle:hover {
  color: #fff;
}

/* ---------- Mobile Feinschliff ---------- */

@media (max-width: 1100px) {
  .home .teams-grid,
  .front-editor-page .teams-grid,
  .site-main:has(.hero) .teams-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid-clean {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .footer-brand-main,
  .footer-cta-col,
  .footer-contact-col {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .home .teams-grid,
  .front-editor-page .teams-grid,
  .site-main:has(.hero) .teams-grid {
    grid-template-columns: 1fr;
  }

  .home .team-card,
  .front-editor-page .team-card,
  .site-main:has(.hero) .team-card {
    min-height: auto;
  }
}

/* NEWS: Pfeil bei "Mehr lesen" kleiner machen */
.news-more svg {
  width: 11px;
  height: 11px;
  stroke-width: 2.2;
}

.news-card:hover .news-more svg {
  transform: translateX(2px);
}


/* HEADER LOGO: nur klein im Menü */
.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
  overflow: visible;
}

.nav-logo-img {
  width: 42px !important;
  height: 42px !important;
  max-width: 42px !important;
  max-height: 42px !important;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

nav.scrolled .nav-logo-img {
  width: 36px !important;
  height: 36px !important;
  max-width: 36px !important;
  max-height: 36px !important;
}

/* falls das Bild versehentlich irgendwo im Hero auftaucht */
.hero .nav-logo-img,
.hero img.nav-logo-img {
  display: none !important;
}


/* HERO BACKGROUND IMAGE — SG MGH */
.hero {
  background-image:
    linear-gradient(90deg, rgba(3, 6, 12, .96) 0%, rgba(3, 6, 12, .82) 38%, rgba(3, 6, 12, .30) 72%, rgba(3, 6, 12, .12) 100%),
    url("../images/background-header-sg-mgh.png");
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}

.hero-bg,
.hero-visual {
  display: none !important;
}


.hero-player {
  display: none !important;
}


.hero {
  background-image:
    linear-gradient(90deg, rgba(3, 6, 12, .96) 0%, rgba(3, 6, 12, .82) 38%, rgba(3, 6, 12, .30) 72%, rgba(3, 6, 12, .12) 100%),
    url("https://vanilladev.sg-mgh.de/wp-content/uploads/2026/05/background-header-sg-mgh.png");
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}


/* ═══════════════════════════════════════
   MITGLIEDSCHAFT PAGE
═══════════════════════════════════════ */

.membership-page {
  background: #f2f5f9;
  color: #07080a;
}

.membership-container {
  max-width: 1160px;
}

.membership-hero {
  position: relative;
  padding: 170px 0 105px;
  background:
    linear-gradient(90deg, rgba(3,6,12,.96) 0%, rgba(3,6,12,.88) 42%, rgba(3,6,12,.55) 100%),
    radial-gradient(circle at 82% 30%, rgba(26,111,255,.22), transparent 34%),
    #080808;
  color: #fff;
  overflow: hidden;
}

.membership-hero::after {
  content: "MITGLIED";
  position: absolute;
  right: -3vw;
  bottom: -28px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(88px, 15vw, 230px);
  font-weight: 900;
  font-style: italic;
  color: rgba(26,111,255,.10);
  line-height: 1;
  pointer-events: none;
}

.membership-title {
  font-size: clamp(46px, 7vw, 92px);
  max-width: 850px;
  color: #fff;
}

.membership-title em {
  color: var(--blue);
  font-style: italic;
}

.membership-intro {
  margin-top: 24px;
  color: #d7dce5;
  max-width: 720px;
}

.membership-lead {
  margin-top: 22px;
  max-width: 720px;
  font-size: var(--font-body);
  line-height: 1.75;
  color: #b9c1ce;
}

.membership-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}

.membership-form-section {
  padding: 90px 0;
  background:
    radial-gradient(circle at 78% 32%, rgba(26,111,255,.07), transparent 32%),
    linear-gradient(180deg, #f6f8fb 0%, #eef2f7 100%);
}

.membership-form-card {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 52px;
  align-items: start;
  background: #fff;
  border: 1px solid rgba(8,8,8,.08);
  box-shadow: 0 24px 74px rgba(13,31,60,.10);
  padding: clamp(28px, 4vw, 54px);
}

.membership-form-card .section-title {
  color: #07080a;
}

.membership-form-card .section-intro {
  color: #626b78;
  margin-top: 18px;
}

.membership-form-placeholder {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px dashed rgba(26,111,255,.34);
  background:
    radial-gradient(circle at 50% 0%, rgba(26,111,255,.10), transparent 40%),
    #f5f7fb;
  padding: 34px;
  color: #303846;
}

.membership-form-placeholder p {
  font-size: 17px;
  line-height: 1.7;
}

.membership-form-note {
  margin-top: 12px;
  color: #6b7280;
  font-size: 14px !important;
}

.membership-content-section {
  padding: 100px 0;
  background:
    linear-gradient(180deg, #eef2f7 0%, #e7ecf3 100%);
}

.membership-section-head {
  display: grid;
  grid-template-columns: 1fr .85fr;
  gap: 64px;
  align-items: end;
  margin-bottom: 46px;
}

.membership-section-head .section-title {
  color: #07080a;
}

.membership-section-head .section-intro {
  color: #626b78;
}

.membership-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.membership-acc-item {
  background: #fff;
  border: 1px solid rgba(8,8,8,.08);
  box-shadow: 0 14px 42px rgba(13,31,60,.06);
  overflow: hidden;
}

.membership-acc-item summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 30px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .7px;
  color: #07080a;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.membership-acc-item summary::-webkit-details-marker {
  display: none;
}

.membership-acc-item summary::after {
  content: "+";
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(26,111,255,.09);
  color: var(--blue);
  font-size: 26px;
  line-height: 1;
  flex-shrink: 0;
  margin-left: 20px;
}

.membership-acc-item[open] summary::after {
  content: "–";
}

.membership-acc-content {
  padding: 0 30px 30px;
  color: #4b5563;
}

.membership-acc-content p {
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 16px;
}

.membership-price-list {
  list-style: none;
  display: grid;
  gap: 8px;
  margin: 20px 0 26px;
}

.membership-price-list li {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 16px 18px;
  background: #f5f7fa;
  border: 1px solid rgba(8,8,8,.06);
}

.membership-price-list span {
  color: #303846;
}

.membership-price-list strong {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 22px;
  color: var(--blue);
  white-space: nowrap;
}

.membership-doc-link {
  display: inline-flex;
  margin-top: 10px;
  color: var(--blue);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.membership-download-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.membership-download {
  display: flex;
  align-items: center;
  min-height: 66px;
  padding: 16px 18px;
  background: #f5f7fa;
  border: 1px solid rgba(8,8,8,.08);
  color: #303846;
  font-weight: 700;
  transition: transform var(--transition), border-color var(--transition), color var(--transition), background var(--transition);
}

.membership-download:hover {
  transform: translateY(-3px);
  border-color: rgba(26,111,255,.35);
  color: var(--blue);
  background: #fff;
}

.membership-final-cta {
  padding: 95px 0;
  background: var(--blue);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.membership-final-cta::after {
  content: "SG MGH";
  position: absolute;
  right: -2vw;
  bottom: -34px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(90px, 16vw, 230px);
  font-weight: 900;
  font-style: italic;
  color: rgba(255,255,255,.08);
  line-height: 1;
}

.membership-final-card {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr auto;
  gap: 50px;
  align-items: center;
}

.membership-final-card .section-eyebrow {
  color: rgba(255,255,255,.65);
}

.membership-final-card .section-eyebrow::before {
  background: rgba(255,255,255,.65);
}

.membership-final-card .section-title {
  color: #fff;
  font-size: clamp(36px, 5vw, 66px);
}

.membership-final-card p {
  max-width: 650px;
  color: rgba(255,255,255,.84);
  line-height: 1.75;
  font-size: 18px;
  margin-top: 18px;
}

.membership-final-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}

.membership-final-actions .btn-outline {
  border-color: rgba(255,255,255,.45);
  color: #fff;
}

.membership-final-actions .btn-outline:hover {
  background: #fff;
  color: var(--blue);
}

@media (max-width: 980px) {
  .membership-form-card,
  .membership-section-head,
  .membership-final-card {
    grid-template-columns: 1fr;
  }

  .membership-download-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .membership-final-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

@media (max-width: 640px) {
  .membership-hero {
    padding: 135px 0 78px;
  }

  .membership-form-section,
  .membership-content-section,
  .membership-final-cta {
    padding: 72px 0;
  }

  .membership-price-list li {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .membership-download-grid {
    grid-template-columns: 1fr;
  }

  .membership-acc-item summary {
    padding: 22px;
  }

  .membership-acc-content {
    padding: 0 22px 26px;
  }
}


/* ═══════════════════════════════════════
   TEAMS PAGE — UNSERE MANNSCHAFTEN
═══════════════════════════════════════ */

.teams-page {
  background: #f2f5f9;
  color: #07080a;
}

.teams-page-container {
  max-width: 1160px;
}

.teams-page-hero {
  position: relative;
  padding: 165px 0 100px;
  background:
    linear-gradient(90deg, rgba(3,6,12,.97) 0%, rgba(3,6,12,.90) 48%, rgba(3,6,12,.64) 100%),
    radial-gradient(circle at 84% 32%, rgba(26,111,255,.24), transparent 35%),
    #080808;
  color: #fff;
  overflow: hidden;
}

.teams-page-hero::after {
  content: "TEAMS";
  position: absolute;
  right: -3vw;
  bottom: -34px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(100px, 17vw, 260px);
  font-weight: 900;
  font-style: italic;
  color: rgba(26,111,255,.10);
  line-height: 1;
  pointer-events: none;
}

.teams-page-title {
  font-size: clamp(48px, 7vw, 96px);
  max-width: 900px;
  color: #fff;
}

.teams-page-title em {
  color: var(--blue);
  font-style: italic;
}

.teams-page-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: start;
  margin-top: 36px;
}

.teams-page-intro p {
  color: #c9d0dc;
  font-size: 18px;
  line-height: 1.8;
  max-width: 760px;
  margin-bottom: 18px;
}

.teams-season-card {
  background:
    linear-gradient(180deg, rgba(255,255,255,.075), rgba(255,255,255,.028));
  border: 1px solid rgba(255,255,255,.10);
  border-left: 3px solid var(--blue);
  box-shadow: 0 24px 74px rgba(0,0,0,.28);
  backdrop-filter: blur(14px);
  padding: clamp(28px, 3.5vw, 42px);
}

.teams-season-card span {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.teams-season-card h2 {
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(30px, 3vw, 42px);
  line-height: .95;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.teams-season-card p {
  color: #b9c1ce;
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 14px;
}

.teams-page-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 42px;
}

.teams-overview-section {
  padding: 95px 0;
  background:
    radial-gradient(circle at 14% 16%, rgba(26,111,255,.07), transparent 32%),
    linear-gradient(180deg, #f7f8fb 0%, #eef2f7 100%);
}

.teams-overview-head,
.teams-detail-head {
  display: grid;
  grid-template-columns: 1fr .86fr;
  gap: 64px;
  align-items: end;
  margin-bottom: 48px;
}

.teams-overview-head .section-title,
.teams-detail-head .section-title {
  color: #07080a;
}

.teams-overview-head .section-intro,
.teams-detail-head .section-intro {
  color: #626b78;
}

.teams-overview-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.teams-overview-card {
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: #fff;
  color: #07080a;
  border: 1px solid rgba(8,8,8,.08);
  box-shadow: 0 18px 50px rgba(13,31,60,.08);
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
}

.teams-overview-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(26,111,255,.14), transparent 42%);
  opacity: 0;
  transition: opacity var(--transition);
}

.teams-overview-card:hover {
  transform: translateY(-6px);
  border-color: rgba(26,111,255,.28);
  box-shadow: 0 28px 80px rgba(13,31,60,.14);
}

.teams-overview-card:hover::before {
  opacity: 1;
}

.teams-overview-card span,
.teams-overview-card h3,
.teams-overview-card p {
  position: relative;
  z-index: 1;
}

.teams-overview-card span {
  position: absolute;
  top: 22px;
  left: 24px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 42px;
  font-weight: 900;
  font-style: italic;
  color: rgba(26,111,255,.16);
}

.teams-overview-card h3 {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 30px;
  line-height: .95;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.teams-overview-card p {
  color: #667085;
  font-size: 14px;
  line-height: 1.6;
}

.teams-detail-section {
  padding: 100px 0;
  background:
    linear-gradient(180deg, #eef2f7 0%, #e8edf4 100%);
}

.team-group-block {
  scroll-margin-top: calc(var(--nav-height) + 34px);
  margin-bottom: 76px;
}

.team-group-block:last-child {
  margin-bottom: 0;
}

.team-group-head {
  display: grid;
  grid-template-columns: 1fr .85fr;
  gap: 54px;
  align-items: end;
  margin-bottom: 26px;
}

.team-group-head h3 {
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(34px, 4vw, 58px);
  font-weight: 900;
  line-height: .95;
  text-transform: uppercase;
  color: #07080a;
}

.team-group-head p {
  color: #626b78;
  font-size: 17px;
  line-height: 1.75;
}

.team-training-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.team-training-card {
  background: #fff;
  border: 1px solid rgba(8,8,8,.08);
  box-shadow: 0 14px 42px rgba(13,31,60,.065);
  padding: clamp(24px, 3vw, 34px);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
}

.team-training-card:hover {
  transform: translateY(-4px);
  border-color: rgba(26,111,255,.24);
  box-shadow: 0 24px 70px rgba(13,31,60,.12);
}

.team-training-top span {
  display: inline-flex;
  margin-bottom: 12px;
  background: rgba(26,111,255,.09);
  color: var(--blue);
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.team-training-top h4 {
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(26px, 2.6vw, 36px);
  line-height: .98;
  text-transform: uppercase;
  color: #07080a;
  margin-bottom: 16px;
}

.team-training-text {
  color: #4b5563;
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 24px;
}

.team-training-meta {
  margin-top: auto;
  display: grid;
  gap: 10px;
  border-top: 1px solid rgba(8,8,8,.08);
  padding-top: 18px;
}

.team-training-meta div {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 14px;
  align-items: start;
}

.team-training-meta span {
  color: #8a93a3;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.team-training-meta strong {
  color: #111827;
  font-size: 15px;
  line-height: 1.45;
}

.teams-contact-cta {
  padding: 95px 0;
  background: var(--blue);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.teams-contact-cta::after {
  content: "HANDBALL";
  position: absolute;
  right: -2vw;
  bottom: -30px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(90px, 16vw, 230px);
  font-weight: 900;
  font-style: italic;
  color: rgba(255,255,255,.08);
  line-height: 1;
  pointer-events: none;
}

.teams-contact-card {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr auto;
  gap: 50px;
  align-items: center;
}

.teams-contact-card .section-eyebrow {
  color: rgba(255,255,255,.66);
}

.teams-contact-card .section-eyebrow::before {
  background: rgba(255,255,255,.66);
}

.teams-contact-card .section-title {
  color: #fff;
  font-size: clamp(38px, 5vw, 68px);
}

.teams-contact-card p {
  max-width: 700px;
  color: rgba(255,255,255,.84);
  line-height: 1.75;
  font-size: 18px;
  margin-top: 18px;
}

.teams-contact-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}

.teams-contact-actions .btn-outline {
  border-color: rgba(255,255,255,.45);
  color: #fff;
}

.teams-contact-actions .btn-outline:hover {
  background: #fff;
  color: var(--blue);
}

@media (max-width: 1100px) {
  .teams-overview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .team-training-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .teams-page-hero-grid,
  .teams-overview-head,
  .teams-detail-head,
  .team-group-head,
  .teams-contact-card {
    grid-template-columns: 1fr;
  }

  .teams-page-hero {
    padding: 140px 0 82px;
  }

  .teams-contact-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

@media (max-width: 640px) {
  .teams-overview-section,
  .teams-detail-section,
  .teams-contact-cta {
    padding: 72px 0;
  }

  .teams-overview-grid {
    grid-template-columns: 1fr;
  }

  .teams-overview-card {
    min-height: 190px;
  }

  .team-training-card {
    padding: 24px;
  }

  .team-training-meta div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

/* ═══════════════════════════════════════
   MITGLIEDSCHAFT FORMULAR
═══════════════════════════════════════ */

.membership-form-card {
  grid-template-columns: .8fr 1.2fr;
}

.membership-form-intro {
  position: sticky;
  top: calc(var(--nav-height) + 34px);
}

.membership-form-hint {
  margin-top: 22px;
  font-size: 15px;
  line-height: 1.75;
  color: #667085;
  background: #f5f7fb;
  border-left: 3px solid var(--blue);
  padding: 18px;
}

.membership-form-wrap {
  min-width: 0;
}

.sgm-membership-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.membership-fieldset {
  border: 1px solid rgba(8,8,8,.08);
  background: #fff;
  padding: 26px;
  margin: 0;
}

.membership-fieldset legend {
  padding: 0 10px;
  margin-left: -10px;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 24px;
  font-weight: 900;
  text-transform: uppercase;
  color: #07080a;
}

.membership-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.sgm-membership-form .form-group {
  margin-bottom: 16px;
}

.sgm-membership-form .form-group:last-child {
  margin-bottom: 0;
}

.sgm-membership-form .form-group label {
  color: #667085;
}

.sgm-membership-form input,
.sgm-membership-form textarea {
  width: 100%;
  background: #f5f7fa;
  border: 1px solid rgba(8,8,8,.10);
  color: #07080a;
  padding: 14px 16px;
  font-family: "Barlow", sans-serif;
  font-size: 15px;
  outline: none;
  border-radius: 2px;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.sgm-membership-form input:focus,
.sgm-membership-form textarea:focus {
  background: #fff;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(26,111,255,.12);
}

.membership-radio-grid,
.membership-choice-list {
  display: grid;
  gap: 10px;
}

.membership-radio-grid {
  grid-template-columns: 1fr 1fr;
  margin-bottom: 16px;
}

.membership-choice,
.membership-check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #f5f7fa;
  border: 1px solid rgba(8,8,8,.08);
  padding: 15px 16px;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
}

.membership-choice:hover,
.membership-check:hover {
  background: #fff;
  border-color: rgba(26,111,255,.28);
}

.membership-choice input,
.membership-check input {
  width: auto;
  margin-top: 3px;
  accent-color: var(--blue);
  flex-shrink: 0;
}

.membership-choice span,
.membership-check span {
  color: #303846;
  font-size: 15px;
  line-height: 1.55;
}

.membership-choice strong {
  color: var(--blue);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 18px;
  margin-left: 6px;
}

.membership-smallprint,
.membership-required-note {
  color: #667085;
  font-size: 13px;
  line-height: 1.65;
  margin-top: 12px;
}

.membership-legal-fieldset a {
  color: var(--blue);
  font-weight: 700;
}

.membership-submit {
  justify-content: center;
  width: 100%;
}

.membership-message {
  padding: 18px 20px;
  margin-bottom: 22px;
  font-weight: 700;
  line-height: 1.6;
}

.membership-message-success {
  background: rgba(26,111,255,.10);
  border: 1px solid rgba(26,111,255,.28);
  border-left: 3px solid var(--blue);
  color: #155bd6;
}

.membership-message-error {
  background: rgba(255,70,70,.10);
  border: 1px solid rgba(255,70,70,.28);
  border-left: 3px solid #ff4b4b;
  color: #b42318;
}

@media (max-width: 980px) {
  .membership-form-card {
    grid-template-columns: 1fr;
  }

  .membership-form-intro {
    position: static;
  }
}

@media (max-width: 640px) {
  .membership-form-row,
  .membership-radio-grid {
    grid-template-columns: 1fr;
  }

  .membership-fieldset {
    padding: 22px;
  }
}



/* ═══════════════════════════════════════
   TRAINER:INNEN AUF MANNSCHAFTSSEITE
═══════════════════════════════════════ */

.team-training-trainers {
  margin: 0 0 22px;
  padding: 16px 18px;
  background: rgba(26,111,255,.07);
  border-left: 3px solid var(--blue);
}

.team-training-trainers span {
  display: block;
  margin-bottom: 6px;
  color: #667085;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.team-training-trainers strong {
  display: block;
  color: #111827;
  font-size: 15px;
  line-height: 1.55;
}

.team-support-block {
  margin-top: 88px;
}

.team-support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.team-support-card {
  background: #fff;
  border: 1px solid rgba(8,8,8,.08);
  box-shadow: 0 14px 42px rgba(13,31,60,.065);
  padding: 26px;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
}

.team-support-card:hover {
  transform: translateY(-4px);
  border-color: rgba(26,111,255,.24);
  box-shadow: 0 24px 70px rgba(13,31,60,.12);
}

.team-support-card span {
  display: block;
  margin-bottom: 8px;
  color: #667085;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.team-support-card strong {
  display: block;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 28px;
  line-height: 1;
  text-transform: uppercase;
  color: #07080a;
}

@media (max-width: 700px) {
  .team-support-grid {
    grid-template-columns: 1fr;
  }
}

/* VEREIN: Desktop Liste / Mobile Boxen */
@media (min-width: 769px) {
  .verein-desktop-list {
    display: block !important;
  }

  .verein-mobile-boxes {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .verein-desktop-list {
    display: none !important;
  }

  .verein-mobile-boxes {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 72px 0 !important;
  }

  .verein-mobile-boxes > .wp-block-group__inner-container {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .verein-mobile-boxes .verein-card {
    min-height: auto !important;
    padding: 26px !important;
  }
}


.membership-check-optional {
  background: #f8fafc;
}

.membership-check-optional span::after {
  content: "freiwillig";
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #1a6fff;
  border: 1px solid rgba(26, 111, 255, .28);
  background: rgba(26, 111, 255, .06);
}

.contact-privacy-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 18px 0 22px;
  padding: 16px 18px;
  background: #f3f6fb;
  border: 1px solid rgba(8,8,8,.09);
  color: #5f6670;
  font-size: 14px;
  line-height: 1.6;
}

.contact-privacy-check input {
  margin-top: 5px;
  flex-shrink: 0;
}

.contact-privacy-check a {
  color: var(--blue);
  font-weight: 700;
}

.contact-privacy-check a:hover {
  text-decoration: underline;
}

/* ═══════════════════════════════════════
   SPIELPLAN CUSTOM KALENDER
═══════════════════════════════════════ */

.schedule-page {
  background:#eef2f7;
  color:#07101f;
  min-height:80vh;
}

.schedule-container {
  max-width:1280px;
}

.schedule-hero {
  padding:140px 0 70px;
  background:
    radial-gradient(circle at 84% 42%, rgba(26,111,255,.28), transparent 32%),
    linear-gradient(135deg,#05080f 0%,#071426 52%,#0a2b66 100%);
  color:#fff;
  position:relative;
  overflow:hidden;
}

.schedule-hero::after {
  content:'7';
  position:absolute;
  right:8%;
  bottom:-30px;
  font-family:'Barlow Condensed',sans-serif;
  font-size:260px;
  font-weight:900;
  font-style:italic;
  color:rgba(26,111,255,.16);
  -webkit-text-stroke:1px rgba(255,255,255,.08);
  pointer-events:none;
}

.schedule-breadcrumb {
  font-size:11px;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:rgba(255,255,255,.45);
  margin-bottom:22px;
}

.schedule-breadcrumb span {
  margin:0 8px;
  color:var(--blue);
}

.schedule-title {
  font-family:'Barlow Condensed',sans-serif;
  font-size:clamp(62px,9vw,120px);
  font-weight:900;
  font-style:italic;
  text-transform:uppercase;
  line-height:.88;
  letter-spacing:-1px;
}

.schedule-title span {
  color:var(--blue);
}

.schedule-sub {
  color:rgba(255,255,255,.78);
  font-size:19px;
  line-height:1.65;
  max-width:620px;
  margin-top:24px;
}

.schedule-content {
  padding:38px 0 90px;
}

.schedule-filter-bar {
  display:grid;
  grid-template-columns:minmax(220px,1fr) minmax(430px,1.7fr) minmax(280px,auto);
  gap:14px;
  margin-bottom:28px;
  align-items:stretch;
}

.schedule-filter,
.schedule-download-box {
  background:#fff;
  border:1px solid rgba(8,8,8,.08);
  box-shadow:0 18px 50px rgba(13,31,60,.06);
  padding:14px;
  display:flex;
  flex-direction:column;
  gap:8px;
}

.schedule-filter span,
.schedule-download-box span {
  font-size:11px;
  font-weight:800;
  letter-spacing:.13em;
  text-transform:uppercase;
  color:#536078;
}

.schedule-filter select {
  height:44px;
  border:1px solid rgba(8,8,8,.12);
  background:#f8fafc;
  color:#07101f;
  padding:0 12px;
  font-family:'Barlow',sans-serif;
  font-size:14px;
  outline:none;
}

.schedule-segmented {
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:6px;
}

.schedule-segmented button {
  height:44px;
  border:1px solid rgba(8,8,8,.12);
  background:#f8fafc;
  color:#07101f;
  font-family:'Barlow',sans-serif;
  cursor:pointer;
}

.schedule-segmented button.is-active {
  background:var(--blue);
  border-color:var(--blue);
  color:#fff;
  font-weight:700;
}

.schedule-download-link {
  height:44px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 18px;
  border:1px solid rgba(26,111,255,.28);
  background:rgba(26,111,255,.08);
  color:var(--blue);
  font-family:'Barlow Condensed',sans-serif;
  font-weight:800;
  letter-spacing:.13em;
  text-transform:uppercase;
  cursor:pointer;
  white-space:nowrap;
}

.schedule-download-link.is-disabled {
  opacity:.55;
  cursor:not-allowed;
}

.schedule-layout {
  display:grid;
  grid-template-columns:1fr 1.1fr;
  gap:24px;
  align-items:start;
}

.schedule-calendar-card,
.schedule-day-card,
.schedule-next-section,
.schedule-info-row article {
  background:#fff;
  border:1px solid rgba(8,8,8,.08);
  box-shadow:0 24px 70px rgba(13,31,60,.08);
}

.schedule-calendar-card {
  overflow:hidden;
}

.schedule-calendar-head {
  display:grid;
  grid-template-columns:44px 1fr 44px;
  align-items:center;
  padding:24px;
  border-bottom:1px solid rgba(8,8,8,.08);
}

.schedule-calendar-head h2 {
  text-align:center;
  font-family:'Barlow Condensed',sans-serif;
  font-size:34px;
  font-weight:900;
  text-transform:uppercase;
}

.schedule-calendar-head button {
  width:44px;
  height:44px;
  border:1px solid rgba(8,8,8,.1);
  background:#fff;
  font-size:28px;
  cursor:pointer;
}

.schedule-weekdays {
  display:grid;
  grid-template-columns:repeat(7,1fr);
  border-bottom:1px solid rgba(8,8,8,.08);
}

.schedule-weekdays span {
  padding:14px 6px;
  text-align:center;
  font-size:11px;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:#536078;
}

.schedule-calendar-grid {
  display:grid;
  grid-template-columns:repeat(7,1fr);
}

.schedule-day {
  min-height:82px;
  border:0;
  border-right:1px solid rgba(8,8,8,.06);
  border-bottom:1px solid rgba(8,8,8,.06);
  background:#fff;
  color:#07101f;
  position:relative;
  cursor:pointer;
  font-family:'Barlow',sans-serif;
}

.schedule-day span {
  display:block;
  font-weight:700;
  font-size:16px;
}

.schedule-day small {
  display:block;
  margin-top:4px;
  font-size:11px;
  color:#536078;
}

.schedule-day i {
  width:6px;
  height:6px;
  border-radius:50%;
  display:block;
  margin:6px auto 0;
}

.schedule-day.is-muted {
  color:#a9b1c0;
  background:#fbfcfe;
}

.schedule-day.is-selected {
  background:var(--blue);
  color:#fff;
}

.schedule-day.is-selected small {
  color:rgba(255,255,255,.8);
}

.schedule-day i.is-blue,
.schedule-legend i.is-blue {
  background:var(--blue);
}

.schedule-day i.is-gray,
.schedule-legend i.is-gray {
  background:#c5ccd8;
}

.schedule-day i.is-red,
.schedule-legend i.is-red {
  background:#ff375f;
}

.schedule-day i.is-green,
.schedule-legend i.is-green {
  background:#30b457;
}

.schedule-legend {
  display:flex;
  flex-wrap:wrap;
  gap:18px;
  padding:16px 24px 20px;
  color:#6d7586;
  font-size:13px;
}

.schedule-legend span {
  display:flex;
  align-items:center;
  gap:8px;
}

.schedule-legend i {
  width:7px;
  height:7px;
  border-radius:50%;
}

.schedule-day-card {
  overflow:hidden;
}

.schedule-day-head {
  background:linear-gradient(135deg,#05080f,#092b68);
  color:#fff;
  padding:24px;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:24px;
}

.schedule-day-head span {
  color:var(--blue);
  font-size:12px;
  font-weight:800;
  letter-spacing:.15em;
  text-transform:uppercase;
}

.schedule-day-head h2 {
  font-family:'Barlow Condensed',sans-serif;
  font-size:34px;
  font-weight:900;
  text-transform:uppercase;
  margin-top:8px;
}

.schedule-day-head strong {
  font-size:13px;
  letter-spacing:.12em;
  text-transform:uppercase;
}

.schedule-day-list {
  display:flex;
  flex-direction:column;
}

.schedule-game-card {
  display:grid;
  grid-template-columns:110px 1fr 120px;
  gap:18px;
  align-items:center;
  padding:22px;
  border-bottom:1px solid rgba(8,8,8,.08);
}

.schedule-game-time strong {
  display:block;
  color:var(--blue);
  font-size:24px;
}

.schedule-game-time span,
.schedule-game-time em {
  display:block;
  font-size:12px;
  color:#536078;
  font-style:normal;
  text-transform:uppercase;
  letter-spacing:.06em;
}

.schedule-game-main {
  display:grid;
  grid-template-columns:1fr auto 1fr;
  gap:18px;
  align-items:center;
}

.schedule-game-main strong {
  font-size:15px;
}

.schedule-game-main span {
  font-family:'Barlow Condensed',sans-serif;
  font-weight:900;
  color:#536078;
  text-transform:uppercase;
}

.schedule-game-main small {
  grid-column:1 / -1;
  color:#6d7586;
}

.schedule-game-status {
  text-align:right;
}

.schedule-game-status span {
  display:inline-flex;
  padding:6px 10px;
  background:rgba(26,111,255,.1);
  color:var(--blue);
  font-size:11px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.schedule-game-status em {
  display:block;
  margin-top:8px;
  font-size:11px;
  font-style:normal;
  text-transform:uppercase;
  color:#536078;
}

.schedule-game-card.status-abgesagt .schedule-game-status em,
.schedule-next-row.status-abgesagt em {
  color:#ff375f;
}

.schedule-game-card.status-ergebnis .schedule-game-status em,
.schedule-next-row.status-ergebnis em {
  color:#30b457;
}

.schedule-next-section {
  margin-top:28px;
  overflow:hidden;
}

.schedule-section-head {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:24px;
  padding:26px;
  border-bottom:1px solid rgba(8,8,8,.08);
}

.schedule-section-head h2 {
  font-family:'Barlow Condensed',sans-serif;
  font-size:36px;
  font-weight:900;
  text-transform:uppercase;
}

.schedule-section-head button {
  border:none;
  background:transparent;
  color:var(--blue);
  font-family:'Barlow Condensed',sans-serif;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
  cursor:pointer;
}

.schedule-next-row {
  display:grid;
  grid-template-columns:90px 110px 1.4fr 1fr 120px;
  gap:20px;
  align-items:center;
  padding:18px 26px;
  border-bottom:1px solid rgba(8,8,8,.08);
}

.schedule-next-row div {
  display:flex;
  flex-direction:column;
  gap:4px;
}

.schedule-next-row span {
  color:#6d7586;
  font-size:12px;
}

.schedule-next-row strong {
  color:#07101f;
  font-size:14px;
}

.schedule-next-row div:nth-child(2) strong {
  color:var(--blue);
  font-size:20px;
}

.schedule-next-row em {
  font-style:normal;
  color:var(--blue);
  font-size:12px;
  font-weight:800;
  text-transform:uppercase;
  text-align:right;
}

.schedule-empty {
  padding:28px;
  color:#6d7586;
  font-size:15px;
}

.schedule-info-row {
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:18px;
  margin-top:28px;
}

.schedule-info-row article {
  padding:30px;
  display:flex;
  align-items:flex-start;
  gap:20px;
}

.schedule-info-icon {
  width:46px;
  height:46px;
  border-radius:50%;
  border:2px solid rgba(26,111,255,.25);
  color:var(--blue);
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:900;
  flex-shrink:0;
}

.schedule-info-row h3 {
  font-family:'Barlow Condensed',sans-serif;
  font-size:20px;
  font-weight:900;
  text-transform:uppercase;
  margin-bottom:8px;
}

.schedule-info-row p {
  color:#6d7586;
  line-height:1.6;
  font-size:14px;
}

@media(max-width:1100px) {
  .schedule-filter-bar {
    grid-template-columns:repeat(2,1fr);
  }

  .schedule-layout {
    grid-template-columns:1fr;
  }
}

@media(max-width:768px) {
  .schedule-hero {
    padding:120px 0 56px;
  }

  .schedule-filter-bar {
    grid-template-columns:1fr;
  }

  .schedule-day {
    min-height:62px;
  }

  .schedule-game-card {
    grid-template-columns:1fr;
    text-align:left;
  }

  .schedule-game-main {
    grid-template-columns:1fr;
  }

  .schedule-game-status {
    text-align:left;
  }

  .schedule-next-row {
    grid-template-columns:1fr;
  }

  .schedule-next-row em {
    text-align:left;
  }

  .schedule-info-row {
    grid-template-columns:1fr;
  }
}


.schedule-info-link {
  display: inline-flex;
  margin-top: 14px;
  color: var(--blue);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.schedule-info-link:hover {
  text-decoration: underline;
}


.calendar-game-tooltip {
  position: absolute;
  z-index: 9999;
  display: none;
  width: 280px;
  padding: 0;
  background: #07101f;
  color: #fff;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 24px 70px rgba(0,0,0,.28);
  pointer-events: none;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .14s ease, transform .14s ease;
}

.calendar-game-tooltip.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.calendar-game-tooltip-head {
  padding: 12px 14px;
  background: linear-gradient(135deg,#05080f,#092b68);
  color: #fff;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-bottom: 2px solid var(--blue);
}

.calendar-game-tooltip-item {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255,255,255,.09);
}

.calendar-game-tooltip-item:last-child {
  border-bottom: none;
}

.calendar-game-tooltip-item strong {
  display: block;
  color: var(--blue);
  font-size: 18px;
  line-height: 1;
  margin-bottom: 5px;
}

.calendar-game-tooltip-item span {
  display: block;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.calendar-game-tooltip-item em {
  display: block;
  margin-top: 4px;
  color: rgba(255,255,255,.62);
  font-size: 11px;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.calendar-game-tooltip-more {
  padding: 10px 14px 12px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}


/* Hero Scroll-Hinweis fest unten links */
.hero {
  position: relative;
}

.hero > .hero-scroll-hint {
  position: absolute !important;
  left: 70px !important;
  right: auto !important;
  top: auto !important;
  bottom: 62px !important;
  transform: none !important;

  z-index: 20;

  display: inline-flex !important;
  align-items: center;
  gap: 14px;

  width: auto !important;
  height: auto !important;

  color: rgba(255,255,255,.72);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .28em;
  text-transform: uppercase;
  pointer-events: none;
}

.hero > .hero-scroll-hint .scroll-line {
  display: block;
  width: 1px;
  height: 44px;
  background: rgba(255,255,255,.32);
}

@media (max-width: 900px) {
  .hero > .hero-scroll-hint {
    display: none !important;
  }
}



.schedule-game-main-clean {
  display: flex !important;
  flex-direction: column;
  gap: 6px;
}

.schedule-game-main-clean strong {
  font-size: 15px;
  line-height: 1.35;
}

.schedule-game-main-clean small {
  color: #6d7586;
  font-size: 13px;
  line-height: 1.4;
}

.schedule-game-date {
  display: block;
  color: #6d7586;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}


.calendar-game-tooltip-score {
  margin-top: 7px;
  color: #35b86b;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* ═══════════════════════════════════════
   VEREIN: GUTENBERG-GALERIE IM FILMSTREIFEN-LOOK
   Galerie bleibt im Seiteneditor frei pflegbar.
   Der feste Kopf wird in page-verein.php direkt vor den ersten Galerieblock gesetzt.
═══════════════════════════════════════ */

.verein-page .verein-gallery-fixed-head {
  margin: 110px 0 48px;
  max-width: 1120px;
}

.verein-page .verein-gallery-fixed-head .section-eyebrow {
  margin-bottom: 22px;
}

.verein-page .verein-gallery-fixed-head .section-title {
  margin: 0 0 24px;
  color: #fff;
  font-size: clamp(46px, 6.2vw, 92px);
  line-height: .88;
  max-width: 1180px;
}

.verein-page .verein-gallery-fixed-head .section-intro {
  max-width: 850px;
  color: rgba(255,255,255,.84);
  font-size: clamp(18px, 1.55vw, 25px);
  line-height: 1.65;
}

/* Gutenberg-Galerie: eigene WP-Spalten/Breiten neutralisieren */
.verein-page .verein-editor-content .wp-block-gallery,
.verein-page .verein-editor-content .wp-block-gallery.has-nested-images {
  display: grid !important;
  grid-template-columns: repeat(8, minmax(0, 1fr)) !important;
  grid-auto-flow: dense !important;
  gap: 0 !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 0 120px !important;
  padding: 0 !important;
}

/* Einzelne Bilder */
.verein-page .verein-editor-content .wp-block-gallery.has-nested-images figure.wp-block-image,
.verein-page .verein-editor-content .wp-block-gallery figure.wp-block-image {
  width: auto !important;
  max-width: none !important;
  flex-basis: auto !important;
  flex-grow: 0 !important;
  margin: 0 !important;
  position: relative;
  overflow: hidden;
  background: #07101f;
  border: 0 !important;
  min-height: 255px;
  grid-column: span 2;
  grid-row: span 1;
}

/* Große Highlight-Kacheln */
.verein-page .verein-editor-content .wp-block-gallery.has-nested-images figure.wp-block-image:nth-child(1),
.verein-page .verein-editor-content .wp-block-gallery.has-nested-images figure.wp-block-image:nth-child(11n + 1),
.verein-page .verein-editor-content .wp-block-gallery figure.wp-block-image:nth-child(1),
.verein-page .verein-editor-content .wp-block-gallery figure.wp-block-image:nth-child(11n + 1) {
  grid-column: span 4;
  grid-row: span 2;
  min-height: 510px;
}

/* Breite Filmstreifen-Kacheln */
.verein-page .verein-editor-content .wp-block-gallery.has-nested-images figure.wp-block-image:nth-child(8n + 4),
.verein-page .verein-editor-content .wp-block-gallery figure.wp-block-image:nth-child(8n + 4) {
  grid-column: span 4;
  min-height: 255px;
}

/* Hochformat-/Akzent-Kacheln */
.verein-page .verein-editor-content .wp-block-gallery.has-nested-images figure.wp-block-image:nth-child(9n + 6),
.verein-page .verein-editor-content .wp-block-gallery figure.wp-block-image:nth-child(9n + 6) {
  grid-row: span 2;
  min-height: 510px;
}

/* Bild oder Link muss Kachel vollständig füllen */
.verein-page .verein-editor-content .wp-block-gallery.has-nested-images figure.wp-block-image a,
.verein-page .verein-editor-content .wp-block-gallery figure.wp-block-image a,
.verein-page .verein-editor-content .wp-block-gallery.has-nested-images figure.wp-block-image > div,
.verein-page .verein-editor-content .wp-block-gallery figure.wp-block-image > div {
  display: block;
  width: 100%;
  height: 100%;
}

.verein-page .verein-editor-content .wp-block-gallery.has-nested-images figure.wp-block-image img,
.verein-page .verein-editor-content .wp-block-gallery figure.wp-block-image img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover;
  display: block;
  filter: grayscale(.45) saturate(.78) contrast(1.06);
  transform: scale(1.01);
  transition: transform .55s ease, filter .55s ease, opacity .55s ease;
  opacity: .92;
}

.verein-page .verein-editor-content .wp-block-gallery.has-nested-images figure.wp-block-image:hover img,
.verein-page .verein-editor-content .wp-block-gallery figure.wp-block-image:hover img {
  transform: scale(1.065);
  filter: grayscale(0) saturate(1.12) contrast(1.07);
  opacity: 1;
}

/* leichter dunkler Verlauf wie vorherige Vereinsgalerie */
.verein-page .verein-editor-content .wp-block-gallery.has-nested-images figure.wp-block-image::after,
.verein-page .verein-editor-content .wp-block-gallery figure.wp-block-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(0,0,0,0) 42%, rgba(0,0,0,.66) 100%),
    linear-gradient(135deg, rgba(26,111,255,.10), rgba(0,0,0,0) 48%);
  pointer-events: none;
  opacity: .78;
  transition: opacity .35s ease;
}

.verein-page .verein-editor-content .wp-block-gallery.has-nested-images figure.wp-block-image:hover::after,
.verein-page .verein-editor-content .wp-block-gallery figure.wp-block-image:hover::after {
  opacity: .58;
}

/* Captions als Overlay */
.verein-page .verein-editor-content .wp-block-gallery.has-nested-images figure.wp-block-image figcaption,
.verein-page .verein-editor-content .wp-block-gallery figure.wp-block-image figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  margin: 0 !important;
  padding: 30px 18px 16px;
  color: rgba(255,255,255,.9);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .04em;
  line-height: 1.35;
  text-transform: uppercase;
  background: linear-gradient(to top, rgba(0,0,0,.84), rgba(0,0,0,.34), rgba(0,0,0,0));
  pointer-events: none;
}

/* Tablet */
@media (max-width: 1050px) {
  .verein-page .verein-editor-content .wp-block-gallery,
  .verein-page .verein-editor-content .wp-block-gallery.has-nested-images {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }

  .verein-page .verein-editor-content .wp-block-gallery.has-nested-images figure.wp-block-image,
  .verein-page .verein-editor-content .wp-block-gallery figure.wp-block-image,
  .verein-page .verein-editor-content .wp-block-gallery.has-nested-images figure.wp-block-image:nth-child(8n + 4),
  .verein-page .verein-editor-content .wp-block-gallery figure.wp-block-image:nth-child(8n + 4) {
    grid-column: span 2;
    grid-row: span 1;
    min-height: 250px;
  }

  .verein-page .verein-editor-content .wp-block-gallery.has-nested-images figure.wp-block-image:nth-child(1),
  .verein-page .verein-editor-content .wp-block-gallery.has-nested-images figure.wp-block-image:nth-child(11n + 1),
  .verein-page .verein-editor-content .wp-block-gallery figure.wp-block-image:nth-child(1),
  .verein-page .verein-editor-content .wp-block-gallery figure.wp-block-image:nth-child(11n + 1) {
    grid-column: span 4;
    grid-row: span 2;
    min-height: 430px;
  }
}

/* Smartphone */
@media (max-width: 650px) {
  .verein-page .verein-gallery-fixed-head {
    margin: 80px 0 34px;
  }

  .verein-page .verein-gallery-fixed-head .section-title {
    font-size: clamp(40px, 13vw, 58px);
  }

  .verein-page .verein-editor-content .wp-block-gallery,
  .verein-page .verein-editor-content .wp-block-gallery.has-nested-images {
    grid-template-columns: 1fr !important;
  }

  .verein-page .verein-editor-content .wp-block-gallery.has-nested-images figure.wp-block-image,
  .verein-page .verein-editor-content .wp-block-gallery figure.wp-block-image,
  .verein-page .verein-editor-content .wp-block-gallery.has-nested-images figure.wp-block-image:nth-child(1),
  .verein-page .verein-editor-content .wp-block-gallery.has-nested-images figure.wp-block-image:nth-child(11n + 1),
  .verein-page .verein-editor-content .wp-block-gallery.has-nested-images figure.wp-block-image:nth-child(8n + 4),
  .verein-page .verein-editor-content .wp-block-gallery.has-nested-images figure.wp-block-image:nth-child(9n + 6),
  .verein-page .verein-editor-content .wp-block-gallery figure.wp-block-image:nth-child(1),
  .verein-page .verein-editor-content .wp-block-gallery figure.wp-block-image:nth-child(11n + 1),
  .verein-page .verein-editor-content .wp-block-gallery figure.wp-block-image:nth-child(8n + 4),
  .verein-page .verein-editor-content .wp-block-gallery figure.wp-block-image:nth-child(9n + 6) {
    grid-column: span 1;
    grid-row: auto;
    min-height: 280px;
  }
}



/* ═══════════════════════════════════════
   VEREIN GALERIE LIGHTBOX
═══════════════════════════════════════ */

.sgm-lightbox-open {
  overflow: hidden;
}

.sgm-gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 72px;
  background: rgba(0,0,0,.92);
  backdrop-filter: blur(10px);
}

.sgm-gallery-lightbox.is-open {
  display: flex;
}

.sgm-gallery-lightbox img {
  max-width: min(92vw, 1500px);
  max-height: 86vh;
  width: auto;
  height: auto;
  object-fit: contain;
  box-shadow: 0 30px 120px rgba(0,0,0,.55);
}

.sgm-gallery-lightbox-close,
.sgm-gallery-lightbox-prev,
.sgm-gallery-lightbox-next {
  position: absolute;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(8,8,8,.78);
  color: #fff;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.sgm-gallery-lightbox-close:hover,
.sgm-gallery-lightbox-prev:hover,
.sgm-gallery-lightbox-next:hover {
  background: #1a6fff;
  border-color: #1a6fff;
}

.sgm-gallery-lightbox-close {
  top: 24px;
  right: 28px;
  width: 48px;
  height: 48px;
  font-size: 34px;
  line-height: 1;
}

.sgm-gallery-lightbox-prev,
.sgm-gallery-lightbox-next {
  top: 50%;
  width: 58px;
  height: 72px;
  transform: translateY(-50%);
  font-size: 54px;
  line-height: 1;
}

.sgm-gallery-lightbox-prev {
  left: 28px;
}

.sgm-gallery-lightbox-next {
  right: 28px;
}

@media (max-width: 700px) {
  .sgm-gallery-lightbox {
    padding: 58px 18px;
  }

  .sgm-gallery-lightbox-prev,
  .sgm-gallery-lightbox-next {
    width: 44px;
    height: 56px;
    font-size: 42px;
  }

  .sgm-gallery-lightbox-prev {
    left: 10px;
  }

  .sgm-gallery-lightbox-next {
    right: 10px;
  }

  .sgm-gallery-lightbox-close {
    top: 14px;
    right: 14px;
  }
}

/* Verein-Seite: Eyebrow im Gutenberg-Inhalt immer blau halten */
.verein-page .section-eyebrow,
.verein-page p.section-eyebrow,
.verein-page .wp-block-paragraph.section-eyebrow {
  color: var(--blue) !important;
}

.verein-page .section-eyebrow::before,
.verein-page p.section-eyebrow::before,
.verein-page .wp-block-paragraph.section-eyebrow::before {
  background: var(--blue) !important;
}



/* ═══════════════════════════════════════
   NEWS ARCHIV / BEITRAGSSEITE
═══════════════════════════════════════ */

.news-archive-page {
  background: #080808;
  color: #fff;
  min-height: 70vh;
}

.news-archive-hero {
  padding: 150px 0 70px;
  background:
    radial-gradient(circle at 18% 12%, rgba(26,111,255,.12), transparent 32%),
    #080808;
}

.news-archive-hero .section-title {
  margin-bottom: 24px;
  max-width: 900px;
}

.news-archive-intro {
  max-width: 760px;
  color: rgba(255,255,255,.78);
  font-size: 20px;
  line-height: 1.75;
}

.news-archive-intro p {
  margin-bottom: 1em;
}

.news-archive-fallback {
  max-width: 720px;
}

.news-archive-list {
  padding: 20px 0 100px;
  background: #080808;
}


/* ═══════════════════════════════════════
   KONTAKT: GOOGLE MAP KARTE
═══════════════════════════════════════ */

.contact-map-card {
  margin-top: 18px;
  border: 1px solid rgba(26,111,255,.28);
  background: rgba(26,111,255,.06);
  overflow: hidden;
}

.contact-map-card iframe {
  display: block;
  width: 100%;
  height: 260px;
  border: 0;
  filter: grayscale(.15) contrast(1.02);
}

.contact-map-link {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 13px 18px;
  background: rgba(26,111,255,.10);
  border-top: 1px solid rgba(26,111,255,.22);
  color: var(--blue);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: background .22s ease, color .22s ease;
}

.contact-map-link:hover {
  background: var(--blue);
  color: #fff;
}

@media (max-width: 700px) {
  .contact-map-card iframe {
    height: 220px;
  }
}


/* ═══════════════════════════════════════
   SPIELPLAN: ALLE SPIELE PREVIEW + MODAL
═══════════════════════════════════════ */

.schedule-all-preview-card .schedule-day-head {
  min-height: 118px;
}

.schedule-day-actions {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
}

.schedule-open-all-btn {
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.06);
  color: #fff;
  padding: 11px 14px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .11em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: background .22s ease, border-color .22s ease, transform .22s ease;
}

.schedule-open-all-btn:hover {
  background: var(--blue);
  border-color: var(--blue);
  transform: translateY(-2px);
}

.schedule-open-all-btn:disabled {
  opacity: .45;
  cursor: not-allowed;
  transform: none;
}

.schedule-all-preview-card .schedule-day-list {
  max-height: 582px;
  overflow: hidden;
}

.schedule-all-preview-card .schedule-game-card:nth-child(n + 6) {
  display: none;
}

.schedule-all-preview-more {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 15px 22px 18px;
  background: #f5f8ff;
  color: #536078;
  border-top: 1px solid rgba(8,8,8,.08);
  font-size: 13px;
}

.schedule-all-preview-more strong {
  color: var(--blue);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px;
  line-height: 1;
}

.schedule-section-kicker {
  display: block;
  margin-bottom: 7px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.schedule-current-overview-section .schedule-section-head {
  background: #fff;
}

.schedule-current-overview-section .schedule-next-list .schedule-next-row:nth-child(n + 6) {
  display: none;
}

.schedule-modal-open {
  overflow: hidden;
}

.schedule-games-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
}

.schedule-games-modal.is-open {
  display: block;
}

.schedule-games-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3,6,12,.72);
  backdrop-filter: blur(10px);
}

.schedule-games-modal-panel {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(1120px, calc(100vw - 42px));
  max-height: min(82vh, 840px);
  transform: translate(-50%, -50%);
  background: #fff;
  color: #07101f;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 34px 120px rgba(0,0,0,.42);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.schedule-games-modal-head {
  padding: 28px 34px;
  background: linear-gradient(135deg,#05080f,#092b68);
  color: #fff;
  position: relative;
}

.schedule-games-modal-head span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.schedule-games-modal-head h2 {
  margin-top: 8px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 900;
  line-height: .9;
  text-transform: uppercase;
}

.schedule-games-modal-head p {
  margin-top: 12px;
  color: rgba(255,255,255,.72);
  font-size: 14px;
}

.schedule-games-modal-close {
  position: absolute;
  top: 18px;
  right: 20px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
  color: #fff;
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  transition: background .22s ease, border-color .22s ease;
}

.schedule-games-modal-close:hover {
  background: var(--blue);
  border-color: var(--blue);
}

.schedule-games-modal-list {
  overflow: auto;
  max-height: 62vh;
}

.schedule-games-modal-list .schedule-next-row {
  grid-template-columns: 90px 110px 1.4fr 1fr 120px;
}

@media(max-width:900px) {
  .schedule-day-head {
    flex-direction: column;
  }

  .schedule-day-actions {
    justify-content: flex-start;
  }

  .schedule-open-all-btn {
    width: 100%;
    justify-content: center;
  }

  .schedule-games-modal-panel {
    width: calc(100vw - 22px);
    max-height: 88vh;
  }

  .schedule-games-modal-list .schedule-next-row {
    grid-template-columns: 1fr;
  }
}

@media(max-width:640px) {
  .schedule-games-modal-head {
    padding: 24px 22px;
  }

  .schedule-games-modal-close {
    top: 12px;
    right: 12px;
  }
}

/* ═══════════════════════════════════════
   SPIELPLAN: KOMBINIERTE RECHTE SPIELBOX
   Aktuell + Alle Spiele als Tabs
═══════════════════════════════════════ */

.schedule-combined-preview-card .schedule-day-head {
  min-height: 108px;
}

.schedule-combined-preview-card .schedule-day-actions.is-hidden {
  display: none;
}

.schedule-open-all-btn[hidden] {
  display: none !important;
}

.schedule-preview-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  background: #07101f;
  border-top: 1px solid rgba(255,255,255,.10);
  border-bottom: 1px solid rgba(8,8,8,.08);
}

.schedule-preview-tabs button {
  min-height: 46px;
  border: 0;
  border-right: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.72);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .22s ease, color .22s ease;
}

.schedule-preview-tabs button:last-child {
  border-right: 0;
}

.schedule-preview-tabs button:hover {
  color: #fff;
  background: rgba(26,111,255,.20);
}

.schedule-preview-tabs button.is-active {
  background: var(--blue);
  color: #fff;
}

.schedule-combined-preview-card .schedule-day-list {
  max-height: 582px;
  overflow: hidden;
}

.schedule-combined-preview-card .schedule-game-card:nth-child(n + 6) {
  display: none;
}

.schedule-combined-preview-card .schedule-all-preview-more {
  border-bottom: 0;
}

.schedule-combined-preview-card .schedule-empty {
  margin: 22px;
}

@media(max-width:900px) {
  .schedule-combined-preview-card .schedule-day-head {
    min-height: auto;
  }

  .schedule-preview-tabs {
    grid-template-columns: 1fr 1fr;
  }
}

/* ═══════════════════════════════════════
   SPIELPLAN: KOMBINIERTE BOX + INLINE LISTE
   Keine Modal-Vorschau, keine abgeschnittenen Spiele
═══════════════════════════════════════ */

.schedule-combined-preview-card .schedule-day-head {
  min-height: auto !important;
  padding-bottom: 22px;
}

.schedule-combined-preview-card .schedule-day-actions,
.schedule-combined-preview-card .schedule-day-actions.is-hidden {
  display: none !important;
}

.schedule-combined-preview-card .schedule-day-list {
  max-height: none !important;
  overflow: visible !important;
}

.schedule-combined-preview-card .schedule-game-card:nth-child(n + 6) {
  display: grid !important;
}

.schedule-combined-preview-card .schedule-game-card {
  padding-top: 18px;
  padding-bottom: 18px;
}

.schedule-preview-tabs button[data-tab="all"]::after {
  content: none !important;
}

.schedule-card-footer {
  padding: 16px 22px 20px;
  background: #f6f8fc;
  border-top: 1px solid rgba(8,8,8,.08);
}

.schedule-card-footer[hidden] {
  display: none !important;
}

.schedule-card-footer .schedule-open-all-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(26,111,255,.24);
  background: rgba(26,111,255,.08);
  color: var(--blue);
}

.schedule-card-footer .schedule-open-all-btn:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.schedule-inline-all-section {
  margin-top: 28px;
  background: #fff;
  color: #07101f;
  box-shadow: 0 20px 70px rgba(13,31,60,.08);
}

.schedule-inline-all-section[hidden] {
  display: none !important;
}

.schedule-inline-all-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 32px;
  background: linear-gradient(135deg,#05080f,#092b68);
  color: #fff;
}

.schedule-inline-all-head h2 {
  margin: 6px 0 0;
  color: #fff;
}

.schedule-inline-all-head p {
  margin-top: 10px;
  color: rgba(255,255,255,.68);
  font-size: 14px;
}

.schedule-inline-close-btn {
  flex: 0 0 auto;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.06);
  color: #fff;
  padding: 12px 16px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .11em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .22s ease, border-color .22s ease, transform .22s ease;
}

.schedule-inline-close-btn:hover {
  background: var(--blue);
  border-color: var(--blue);
  transform: translateY(-2px);
}

.schedule-inline-all-list .schedule-next-row {
  grid-template-columns: 90px 110px 1.4fr 1fr 120px;
}

@media(max-width:900px) {
  .schedule-inline-all-head {
    flex-direction: column;
    padding: 24px;
  }

  .schedule-inline-close-btn {
    width: 100%;
  }

  .schedule-inline-all-list .schedule-next-row {
    grid-template-columns: 1fr;
  }
}

/* ══════════════════ SGM DESIGN PALETTEN V6
   Nicht-destruktiv: Die Original-CSS bleibt erhalten. Diese Regeln hängen nur
   Paletten an die vorhandenen Variablen und fixen Kontrast für helle Karten.
══════════════════ */

body.sgm-theme-original, .editor-styles-wrapper.sgm-theme-original, .is-style-sgm-original {
  --blue: #1a6fff;
  --blue-dark: #0d4fd4;
  --blue-glow: rgba(26,111,255,.25);
  --black: #080808;
  --dark: #111111;
  --card: #161616;
  --border: rgba(255,255,255,.08);
  --white: #ffffff;
  --off-white: #f4f4f2;
  --gray: #888888;
  --gray-l: #bbbbbb;
  --sgm-bg: #080808;
  --sgm-surface: #111111;
  --sgm-card: #161616;
  --sgm-text: #ffffff;
  --sgm-muted: #bbbbbb;
  --sgm-muted-2: #888888;
  --sgm-panel: #ffffff;
  --sgm-panel-text: #07101f;
  --sgm-panel-muted: #536078;
  --sgm-panel-soft: #f8fafc;
  --sgm-panel-border: rgba(8,8,8,.08);
  --sgm-soft-shadow: 0 24px 70px rgba(13,31,60,.08);
  --sgm-hero-bg: linear-gradient(155deg,#000 0%,#050d1f 35%,#0a1835 60%,#080808 100%);
  --sgm-schedule-hero-bg: linear-gradient(135deg,#05080f 0%,#071426 52%,#0a2b66 100%);
  --sgm-on-primary: #ffffff;
}


body.sgm-theme-valentine, .editor-styles-wrapper.sgm-theme-valentine, .is-style-sgm-valentine {
  --blue: #e11d58;
  --blue-dark: #be123c;
  --blue-glow: rgba(225,29,88,.25);
  --black: #16060d;
  --dark: #240914;
  --card: #34111f;
  --border: rgba(255,205,222,.16);
  --white: #fff7fa;
  --off-white: #fff1f5;
  --gray: #c9849b;
  --gray-l: #f4bacd;
  --sgm-bg: #16060d;
  --sgm-surface: #240914;
  --sgm-card: #34111f;
  --sgm-text: #fff7fa;
  --sgm-muted: #f4bacd;
  --sgm-muted-2: #c9849b;
  --sgm-panel: #fff7fa;
  --sgm-panel-text: #35101b;
  --sgm-panel-muted: #704256;
  --sgm-panel-soft: #fff0f5;
  --sgm-panel-border: rgba(89,24,45,.14);
  --sgm-soft-shadow: 0 24px 70px rgba(96,15,43,.12);
  --sgm-hero-bg: linear-gradient(155deg,#16060d 0%,#300918 48%,#5d1230 100%);
  --sgm-schedule-hero-bg: linear-gradient(135deg,#16060d 0%,#35101b 50%,#a4133c 100%);
  --sgm-on-primary: #ffffff;
}


body.sgm-theme-calm-sky, .editor-styles-wrapper.sgm-theme-calm-sky, .is-style-sgm-calm-sky, body.sgm-theme-calm-sky .editor-styles-wrapper {
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --blue-glow: rgba(37,99,235,.18);
  --black: #f3f7ff;
  --dark: #ffffff;
  --card: #ffffff;
  --border: rgba(15,23,42,.12);
  --white: #0b172a;
  --off-white: #eef6ff;
  --gray: #64748b;
  --gray-l: #475569;
  --sgm-bg: #f3f7ff;
  --sgm-surface: #ffffff;
  --sgm-card: #ffffff;
  --sgm-text: #0b172a;
  --sgm-muted: #475569;
  --sgm-muted-2: #64748b;
  --sgm-panel: #ffffff;
  --sgm-panel-text: #0b172a;
  --sgm-panel-muted: #526173;
  --sgm-panel-soft: #f8fbff;
  --sgm-panel-border: rgba(15,23,42,.10);
  --sgm-soft-shadow: 0 24px 70px rgba(37,99,235,.10);
  --sgm-hero-bg: linear-gradient(155deg,#eaf2ff 0%,#dbeafe 48%,#bfdbfe 100%);
  --sgm-schedule-hero-bg: linear-gradient(135deg,#eaf2ff 0%,#dbeafe 55%,#93c5fd 100%);
  --sgm-on-primary: #ffffff;
}


body.sgm-theme-evergreen, .editor-styles-wrapper.sgm-theme-evergreen, .is-style-sgm-evergreen {
  --blue: #34d399;
  --blue-dark: #059669;
  --blue-glow: rgba(52,211,153,.22);
  --black: #06110c;
  --dark: #0c1b13;
  --card: #12251a;
  --border: rgba(190,242,211,.14);
  --white: #f3fff8;
  --off-white: #f0fdf4;
  --gray: #7aa48c;
  --gray-l: #b9d7c6;
  --sgm-bg: #06110c;
  --sgm-surface: #0c1b13;
  --sgm-card: #12251a;
  --sgm-text: #f3fff8;
  --sgm-muted: #b9d7c6;
  --sgm-muted-2: #7aa48c;
  --sgm-panel: #f7fff9;
  --sgm-panel-text: #082015;
  --sgm-panel-muted: #315141;
  --sgm-panel-soft: #eef8f0;
  --sgm-panel-border: rgba(8,32,21,.14);
  --sgm-soft-shadow: 0 24px 70px rgba(5,90,60,.14);
  --sgm-hero-bg: linear-gradient(155deg,#06110c 0%,#0b2417 50%,#064e3b 100%);
  --sgm-schedule-hero-bg: linear-gradient(135deg,#06110c 0%,#0b2417 55%,#047857 100%);
  --sgm-on-primary: #ffffff;
}


body.sgm-theme-gold-navy, .editor-styles-wrapper.sgm-theme-gold-navy, .is-style-sgm-gold-navy {
  --blue: #f2b84b;
  --blue-dark: #c78317;
  --blue-glow: rgba(242,184,75,.24);
  --black: #07111f;
  --dark: #0b1d33;
  --card: #102540;
  --border: rgba(255,214,128,.18);
  --white: #f8fbff;
  --off-white: #fff7e6;
  --gray: #8fa3bd;
  --gray-l: #cbd7e6;
  --sgm-bg: #07111f;
  --sgm-surface: #0b1d33;
  --sgm-card: #102540;
  --sgm-text: #f8fbff;
  --sgm-muted: #cbd7e6;
  --sgm-muted-2: #8fa3bd;
  --sgm-panel: #fffaf0;
  --sgm-panel-text: #101828;
  --sgm-panel-muted: #5f6472;
  --sgm-panel-soft: #f8f1e2;
  --sgm-panel-border: rgba(16,24,40,.12);
  --sgm-soft-shadow: 0 24px 70px rgba(7,17,31,.14);
  --sgm-hero-bg: linear-gradient(155deg,#07111f 0%,#0b1d33 54%,#17375e 100%);
  --sgm-schedule-hero-bg: linear-gradient(135deg,#07111f 0%,#0b1d33 55%,#66501e 100%);
  --sgm-on-primary: #ffffff;
}


body.sgm-theme-enabled,
.editor-styles-wrapper.sgm-theme-enabled {
  background: var(--black);
  color: var(--white);
}

body.sgm-theme-enabled:not(.sgm-theme-original) .hero-bg,
.editor-styles-wrapper.sgm-theme-enabled:not(.sgm-theme-original) .hero-bg {
  background: var(--sgm-hero-bg);
}

body.sgm-theme-enabled:not(.sgm-theme-original) nav,
.editor-styles-wrapper.sgm-theme-enabled:not(.sgm-theme-original) nav {
  background: color-mix(in srgb, var(--sgm-bg) 88%, transparent);
  border-bottom-color: var(--border);
}

body.sgm-theme-enabled:not(.sgm-theme-original) .news-section,
body.sgm-theme-enabled:not(.sgm-theme-original) .impressions,
body.sgm-theme-enabled:not(.sgm-theme-original) .sponsors-section,
.editor-styles-wrapper.sgm-theme-enabled:not(.sgm-theme-original) .news-section,
.editor-styles-wrapper.sgm-theme-enabled:not(.sgm-theme-original) .impressions,
.editor-styles-wrapper.sgm-theme-enabled:not(.sgm-theme-original) .sponsors-section {
  background: var(--sgm-bg);
  color: var(--sgm-text);
}

body.sgm-theme-enabled:not(.sgm-theme-original) .teams-section,
body.sgm-theme-enabled:not(.sgm-theme-original) .kontakt-section,
.editor-styles-wrapper.sgm-theme-enabled:not(.sgm-theme-original) .teams-section,
.editor-styles-wrapper.sgm-theme-enabled:not(.sgm-theme-original) .kontakt-section {
  background: var(--sgm-surface);
  color: var(--sgm-text);
}

body.sgm-theme-enabled:not(.sgm-theme-original) .news-card,
body.sgm-theme-enabled:not(.sgm-theme-original) .team-card,
body.sgm-theme-enabled:not(.sgm-theme-original) .sponsor-tile,
body.sgm-theme-enabled:not(.sgm-theme-original) .legal-content,
body.sgm-theme-enabled:not(.sgm-theme-original) .handball-widget-card,
body.sgm-theme-enabled:not(.sgm-theme-original) .handball-widget-box,
.editor-styles-wrapper.sgm-theme-enabled:not(.sgm-theme-original) .news-card,
.editor-styles-wrapper.sgm-theme-enabled:not(.sgm-theme-original) .team-card,
.editor-styles-wrapper.sgm-theme-enabled:not(.sgm-theme-original) .sponsor-tile,
.editor-styles-wrapper.sgm-theme-enabled:not(.sgm-theme-original) .legal-content,
.editor-styles-wrapper.sgm-theme-enabled:not(.sgm-theme-original) .handball-widget-card,
.editor-styles-wrapper.sgm-theme-enabled:not(.sgm-theme-original) .handball-widget-box {
  background: var(--sgm-card) !important;
  color: var(--sgm-text) !important;
  border-color: var(--border) !important;
}

body.sgm-theme-enabled:not(.sgm-theme-original) .section-intro,
body.sgm-theme-enabled:not(.sgm-theme-original) .news-teaser,
body.sgm-theme-enabled:not(.sgm-theme-original) .team-text,
body.sgm-theme-enabled:not(.sgm-theme-original) .contact-block p,
body.sgm-theme-enabled:not(.sgm-theme-original) .footer-brand p,
.editor-styles-wrapper.sgm-theme-enabled:not(.sgm-theme-original) .section-intro,
.editor-styles-wrapper.sgm-theme-enabled:not(.sgm-theme-original) .news-teaser,
.editor-styles-wrapper.sgm-theme-enabled:not(.sgm-theme-original) .team-text,
.editor-styles-wrapper.sgm-theme-enabled:not(.sgm-theme-original) .contact-block p,
.editor-styles-wrapper.sgm-theme-enabled:not(.sgm-theme-original) .footer-brand p {
  color: var(--sgm-muted) !important;
}

body.sgm-theme-enabled:not(.sgm-theme-original) .quickbar,
.editor-styles-wrapper.sgm-theme-enabled:not(.sgm-theme-original) .quickbar {
  background: var(--sgm-panel);
  color: var(--sgm-panel-text);
}

body.sgm-theme-enabled:not(.sgm-theme-original) .qb-item,
.editor-styles-wrapper.sgm-theme-enabled:not(.sgm-theme-original) .qb-item {
  background: var(--sgm-panel);
  color: var(--sgm-panel-text);
  border-color: var(--sgm-panel-border);
}

body.sgm-theme-enabled:not(.sgm-theme-original) .qb-title,
.editor-styles-wrapper.sgm-theme-enabled:not(.sgm-theme-original) .qb-title {
  color: var(--sgm-panel-text);
}

body.sgm-theme-enabled:not(.sgm-theme-original) .qb-label,
body.sgm-theme-enabled:not(.sgm-theme-original) .qb-detail,
.editor-styles-wrapper.sgm-theme-enabled:not(.sgm-theme-original) .qb-label,
.editor-styles-wrapper.sgm-theme-enabled:not(.sgm-theme-original) .qb-detail {
  color: var(--sgm-panel-muted);
}

body.sgm-theme-enabled:not(.sgm-theme-original) .cta-section,
.editor-styles-wrapper.sgm-theme-enabled:not(.sgm-theme-original) .cta-section {
  background: var(--blue);
  color: #fff;
}

body.sgm-theme-enabled:not(.sgm-theme-original) footer,
.editor-styles-wrapper.sgm-theme-enabled:not(.sgm-theme-original) footer {
  background: var(--sgm-bg);
  color: var(--sgm-text);
  border-color: var(--border);
}

body.sgm-theme-enabled:not(.sgm-theme-original) .pre-footer,
.editor-styles-wrapper.sgm-theme-enabled:not(.sgm-theme-original) .pre-footer {
  background: linear-gradient(90deg, var(--sgm-bg), var(--sgm-surface), var(--sgm-bg));
  color: var(--sgm-text);
  border-color: var(--border);
}

body.sgm-theme-enabled:not(.sgm-theme-original) .form-group input,
body.sgm-theme-enabled:not(.sgm-theme-original) .form-group textarea,
.editor-styles-wrapper.sgm-theme-enabled:not(.sgm-theme-original) .form-group input,
.editor-styles-wrapper.sgm-theme-enabled:not(.sgm-theme-original) .form-group textarea {
  background: color-mix(in srgb, var(--sgm-card) 92%, #fff 8%);
  color: var(--sgm-text);
  border-color: var(--border);
}

/* Spielplan: saubere helle Karten mit lesbarem Text, auch wenn die Website-Palette dunkel ist. */
body.sgm-theme-enabled:not(.sgm-theme-original) .schedule-page,
.editor-styles-wrapper.sgm-theme-enabled:not(.sgm-theme-original) .schedule-page {
  background: var(--sgm-panel-soft) !important;
  color: var(--sgm-panel-text) !important;
}

body.sgm-theme-enabled:not(.sgm-theme-original) .schedule-hero,
.editor-styles-wrapper.sgm-theme-enabled:not(.sgm-theme-original) .schedule-hero {
  background: var(--sgm-schedule-hero-bg) !important;
  color: #fff !important;
}

body.sgm-theme-enabled:not(.sgm-theme-original) .schedule-title,
body.sgm-theme-enabled:not(.sgm-theme-original) .schedule-sub,
body.sgm-theme-enabled:not(.sgm-theme-original) .schedule-breadcrumb,
.editor-styles-wrapper.sgm-theme-enabled:not(.sgm-theme-original) .schedule-title,
.editor-styles-wrapper.sgm-theme-enabled:not(.sgm-theme-original) .schedule-sub,
.editor-styles-wrapper.sgm-theme-enabled:not(.sgm-theme-original) .schedule-breadcrumb {
  color: #fff !important;
}

body.sgm-theme-enabled:not(.sgm-theme-original) .schedule-filter,
body.sgm-theme-enabled:not(.sgm-theme-original) .schedule-download-box,
body.sgm-theme-enabled:not(.sgm-theme-original) .schedule-calendar-card,
body.sgm-theme-enabled:not(.sgm-theme-original) .schedule-day-card,
body.sgm-theme-enabled:not(.sgm-theme-original) .schedule-next-section,
body.sgm-theme-enabled:not(.sgm-theme-original) .schedule-info-row article,
body.sgm-theme-enabled:not(.sgm-theme-original) .schedule-games-modal-panel,
.editor-styles-wrapper.sgm-theme-enabled:not(.sgm-theme-original) .schedule-filter,
.editor-styles-wrapper.sgm-theme-enabled:not(.sgm-theme-original) .schedule-download-box,
.editor-styles-wrapper.sgm-theme-enabled:not(.sgm-theme-original) .schedule-calendar-card,
.editor-styles-wrapper.sgm-theme-enabled:not(.sgm-theme-original) .schedule-day-card,
.editor-styles-wrapper.sgm-theme-enabled:not(.sgm-theme-original) .schedule-next-section,
.editor-styles-wrapper.sgm-theme-enabled:not(.sgm-theme-original) .schedule-info-row article,
.editor-styles-wrapper.sgm-theme-enabled:not(.sgm-theme-original) .schedule-games-modal-panel {
  background: var(--sgm-panel) !important;
  color: var(--sgm-panel-text) !important;
  border-color: var(--sgm-panel-border) !important;
  box-shadow: var(--sgm-soft-shadow) !important;
}

body.sgm-theme-enabled:not(.sgm-theme-original) .schedule-filter span,
body.sgm-theme-enabled:not(.sgm-theme-original) .schedule-download-box span,
body.sgm-theme-enabled:not(.sgm-theme-original) .schedule-weekdays span,
body.sgm-theme-enabled:not(.sgm-theme-original) .schedule-day small,
body.sgm-theme-enabled:not(.sgm-theme-original) .schedule-legend,
body.sgm-theme-enabled:not(.sgm-theme-original) .schedule-game-time span,
body.sgm-theme-enabled:not(.sgm-theme-original) .schedule-game-time em,
body.sgm-theme-enabled:not(.sgm-theme-original) .schedule-game-main span,
body.sgm-theme-enabled:not(.sgm-theme-original) .schedule-game-main small,
body.sgm-theme-enabled:not(.sgm-theme-original) .schedule-game-status em,
body.sgm-theme-enabled:not(.sgm-theme-original) .schedule-next-row span,
body.sgm-theme-enabled:not(.sgm-theme-original) .schedule-info-row p,
.editor-styles-wrapper.sgm-theme-enabled:not(.sgm-theme-original) .schedule-filter span,
.editor-styles-wrapper.sgm-theme-enabled:not(.sgm-theme-original) .schedule-download-box span,
.editor-styles-wrapper.sgm-theme-enabled:not(.sgm-theme-original) .schedule-weekdays span,
.editor-styles-wrapper.sgm-theme-enabled:not(.sgm-theme-original) .schedule-day small,
.editor-styles-wrapper.sgm-theme-enabled:not(.sgm-theme-original) .schedule-legend,
.editor-styles-wrapper.sgm-theme-enabled:not(.sgm-theme-original) .schedule-game-time span,
.editor-styles-wrapper.sgm-theme-enabled:not(.sgm-theme-original) .schedule-game-time em,
.editor-styles-wrapper.sgm-theme-enabled:not(.sgm-theme-original) .schedule-game-main span,
.editor-styles-wrapper.sgm-theme-enabled:not(.sgm-theme-original) .schedule-game-main small,
.editor-styles-wrapper.sgm-theme-enabled:not(.sgm-theme-original) .schedule-game-status em,
.editor-styles-wrapper.sgm-theme-enabled:not(.sgm-theme-original) .schedule-next-row span,
.editor-styles-wrapper.sgm-theme-enabled:not(.sgm-theme-original) .schedule-info-row p {
  color: var(--sgm-panel-muted) !important;
}

body.sgm-theme-enabled:not(.sgm-theme-original) .schedule-filter select,
body.sgm-theme-enabled:not(.sgm-theme-original) .schedule-segmented button,
body.sgm-theme-enabled:not(.sgm-theme-original) .schedule-calendar-head button,
body.sgm-theme-enabled:not(.sgm-theme-original) .schedule-day,
.editor-styles-wrapper.sgm-theme-enabled:not(.sgm-theme-original) .schedule-filter select,
.editor-styles-wrapper.sgm-theme-enabled:not(.sgm-theme-original) .schedule-segmented button,
.editor-styles-wrapper.sgm-theme-enabled:not(.sgm-theme-original) .schedule-calendar-head button,
.editor-styles-wrapper.sgm-theme-enabled:not(.sgm-theme-original) .schedule-day {
  background: var(--sgm-panel-soft) !important;
  color: var(--sgm-panel-text) !important;
  border-color: var(--sgm-panel-border) !important;
}

body.sgm-theme-enabled:not(.sgm-theme-original) .schedule-day.is-selected,
body.sgm-theme-enabled:not(.sgm-theme-original) .schedule-segmented button.is-active,
.editor-styles-wrapper.sgm-theme-enabled:not(.sgm-theme-original) .schedule-day.is-selected,
.editor-styles-wrapper.sgm-theme-enabled:not(.sgm-theme-original) .schedule-segmented button.is-active {
  background: var(--blue) !important;
  border-color: var(--blue) !important;
  color: #fff !important;
}

body.sgm-theme-enabled:not(.sgm-theme-original) .schedule-game-main strong,
body.sgm-theme-enabled:not(.sgm-theme-original) .schedule-next-row strong,
body.sgm-theme-enabled:not(.sgm-theme-original) .schedule-calendar-head h2,
body.sgm-theme-enabled:not(.sgm-theme-original) .schedule-section-head h2,
body.sgm-theme-enabled:not(.sgm-theme-original) .schedule-info-row h3,
.editor-styles-wrapper.sgm-theme-enabled:not(.sgm-theme-original) .schedule-game-main strong,
.editor-styles-wrapper.sgm-theme-enabled:not(.sgm-theme-original) .schedule-next-row strong,
.editor-styles-wrapper.sgm-theme-enabled:not(.sgm-theme-original) .schedule-calendar-head h2,
.editor-styles-wrapper.sgm-theme-enabled:not(.sgm-theme-original) .schedule-section-head h2,
.editor-styles-wrapper.sgm-theme-enabled:not(.sgm-theme-original) .schedule-info-row h3 {
  color: var(--sgm-panel-text) !important;
}

body.sgm-theme-enabled:not(.sgm-theme-original) .schedule-day-head,
.editor-styles-wrapper.sgm-theme-enabled:not(.sgm-theme-original) .schedule-day-head {
  background: var(--sgm-schedule-hero-bg) !important;
  color: #fff !important;
}

/* Einzelne Abschnitts-Styles im Block-Editor */
.is-style-sgm-original,
.is-style-sgm-valentine,
.is-style-sgm-calm-sky,
.is-style-sgm-evergreen,
.is-style-sgm-gold-navy {
  background: var(--sgm-bg) !important;
  color: var(--sgm-text) !important;
  border-color: var(--border) !important;
}

.is-style-sgm-original a,
.is-style-sgm-valentine a,
.is-style-sgm-calm-sky a,
.is-style-sgm-evergreen a,
.is-style-sgm-gold-navy a {
  color: var(--blue) !important;
}

/* Light palette navigation/footer cleanup */
body.sgm-theme-calm-sky nav,
body.sgm-theme-calm-sky footer,
.editor-styles-wrapper.sgm-theme-calm-sky nav,
.editor-styles-wrapper.sgm-theme-calm-sky footer {
  background: #0b172a !important;
  color: #fff !important;
}

body.sgm-theme-calm-sky nav a,
body.sgm-theme-calm-sky footer a,
.editor-styles-wrapper.sgm-theme-calm-sky nav a,
.editor-styles-wrapper.sgm-theme-calm-sky footer a {
  color: #e5edf8 !important;
}

/* ═══════════════════════════════════════
   GEMEINSAME BILDVORSCHAU
   Startseiten-Impressionen + Vereinsgalerie
═══════════════════════════════════════ */

.sgm-media-viewer-open {
  overflow: hidden;
}

.impressions .imp-cell.sgm-media-trigger {
  appearance: none;
  display: block;
  width: 100%;
  padding: 0;
  color: inherit;
  font: inherit;
  text-align: left;
  border: 1px solid rgba(255,255,255,.06);
}

.impressions .imp-cell.sgm-media-trigger:focus-visible,
.verein-page .sgm-media-viewer-trigger:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.impressions .imp-cell-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(.92) contrast(1.04);
  transition: transform .6s ease, filter .6s ease;
}

.impressions .imp-cell:hover .imp-cell-inner img,
.impressions .imp-cell:focus-visible .imp-cell-inner img {
  filter: saturate(1.08) contrast(1.06);
}

.verein-page .sgm-media-viewer-trigger {
  cursor: zoom-in;
}

.sgm-media-viewer {
  position: fixed;
  inset: 0;
  z-index: 100000;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease, visibility .22s ease;
}

.sgm-media-viewer.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.sgm-media-viewer-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 35% 30%, rgba(26,111,255,.14), transparent 34%),
    rgba(2,5,11,.94);
  backdrop-filter: blur(14px);
}

.sgm-media-viewer-dialog {
  position: absolute;
  inset: 24px;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0,1fr) 340px;
  max-width: 1560px;
  max-height: 940px;
  margin: auto;
  overflow: hidden;
  background: #060a12;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 40px 140px rgba(0,0,0,.65);
}

.sgm-media-viewer-stage {
  position: relative;
  min-width: 0;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 46px 74px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(26,111,255,.07), transparent 42%),
    #03060b;
}

.sgm-media-viewer-image-wrap {
  width: 100%;
  height: 100%;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sgm-media-viewer-image {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  box-shadow: 0 24px 90px rgba(0,0,0,.5);
}

.sgm-media-viewer-sidebar {
  min-width: 0;
  min-height: 0;
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(180deg, rgba(26,111,255,.12), transparent 230px),
    #0a101c;
  border-left: 1px solid rgba(255,255,255,.1);
}

.sgm-media-viewer-info {
  flex: 0 0 auto;
  padding: 38px 30px 28px;
  border-bottom: 1px solid rgba(255,255,255,.09);
}

.sgm-media-viewer-counter {
  display: block;
  margin-bottom: 14px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.sgm-media-viewer-title {
  margin: 0 0 14px;
  color: #fff;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 900;
  line-height: .95;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.sgm-media-viewer-description {
  margin: 0;
  color: rgba(255,255,255,.66);
  font-size: 14px;
  line-height: 1.65;
}

.sgm-media-viewer-original {
  display: inline-flex;
  margin-top: 22px;
  padding-bottom: 4px;
  color: var(--blue);
  border-bottom: 1px solid rgba(26,111,255,.48);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: color .2s ease, border-color .2s ease;
}

.sgm-media-viewer-original:hover {
  color: #fff;
  border-color: #fff;
}

.sgm-media-viewer-thumbs {
  min-height: 0;
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: 1fr;
  align-content: start;
  gap: 8px;
  padding: 18px;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--blue) rgba(255,255,255,.08);
}

.sgm-media-viewer-thumb {
  appearance: none;
  width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: 84px minmax(0,1fr);
  align-items: center;
  gap: 12px;
  padding: 7px;
  color: rgba(255,255,255,.7);
  text-align: left;
  background: rgba(255,255,255,.035);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.sgm-media-viewer-thumb:hover,
.sgm-media-viewer-thumb.is-active {
  color: #fff;
  background: rgba(26,111,255,.12);
  border-color: rgba(26,111,255,.55);
}

.sgm-media-viewer-thumb img {
  width: 84px;
  height: 60px;
  object-fit: cover;
  display: block;
  background: #05080d;
}

.sgm-media-viewer-thumb span {
  min-width: 0;
  overflow: hidden;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: .06em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.sgm-media-viewer-close,
.sgm-media-viewer-nav {
  appearance: none;
  position: absolute;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(6,10,18,.78);
  border: 1px solid rgba(255,255,255,.18);
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.sgm-media-viewer-close:hover,
.sgm-media-viewer-nav:hover {
  background: var(--blue);
  border-color: var(--blue);
}

.sgm-media-viewer-close {
  top: 18px;
  right: 18px;
  width: 48px;
  height: 48px;
  font-size: 34px;
  line-height: 1;
}

.sgm-media-viewer-nav {
  top: 50%;
  width: 50px;
  height: 68px;
  transform: translateY(-50%);
  font-size: 48px;
  line-height: 1;
}

.sgm-media-viewer-nav:hover {
  transform: translateY(-50%) scale(1.04);
}

.sgm-media-viewer-prev {
  left: 18px;
}

.sgm-media-viewer-next {
  right: 18px;
}

@media (max-width: 980px) {
  .sgm-media-viewer-dialog {
    inset: 14px;
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0,1fr) auto;
  }

  .sgm-media-viewer-stage {
    padding: 58px 62px 28px;
  }

  .sgm-media-viewer-sidebar {
    max-height: 240px;
    border-left: 0;
    border-top: 1px solid rgba(255,255,255,.1);
  }

  .sgm-media-viewer-info {
    padding: 18px 22px 14px;
  }

  .sgm-media-viewer-title {
    font-size: 28px;
    margin-bottom: 8px;
  }

  .sgm-media-viewer-description {
    display: none;
  }

  .sgm-media-viewer-original {
    margin-top: 10px;
  }

  .sgm-media-viewer-thumbs {
    grid-auto-flow: column;
    grid-auto-columns: 170px;
    grid-template-columns: none;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 10px 14px 14px;
  }

  .sgm-media-viewer-thumb {
    grid-template-columns: 58px minmax(0,1fr);
  }

  .sgm-media-viewer-thumb img {
    width: 58px;
    height: 44px;
  }
}

@media (max-width: 620px) {
  .sgm-media-viewer-dialog {
    inset: 0;
    max-width: none;
    max-height: none;
    border: 0;
  }

  .sgm-media-viewer-stage {
    padding: 58px 46px 18px;
  }

  .sgm-media-viewer-sidebar {
    max-height: 220px;
  }

  .sgm-media-viewer-close {
    top: 10px;
    right: 10px;
    width: 42px;
    height: 42px;
  }

  .sgm-media-viewer-nav {
    width: 38px;
    height: 54px;
    font-size: 38px;
  }

  .sgm-media-viewer-prev {
    left: 6px;
  }

  .sgm-media-viewer-next {
    right: 6px;
  }

  .sgm-media-viewer-info {
    padding: 14px 16px 10px;
  }

  .sgm-media-viewer-counter {
    margin-bottom: 7px;
  }

  .sgm-media-viewer-title {
    font-size: 23px;
  }

  .sgm-media-viewer-thumb span {
    font-size: 12px;
  }
}


/* ═══════════════════════════════════════
   VEREINSGALERIE ALS KARUSSELL
   überschreibt nur die bisherige Gutenberg-Galerie
═══════════════════════════════════════ */

.verein-page .verein-editor-content .wp-block-gallery.sgm-gallery-carousel-shell,
.verein-page .verein-editor-content .wp-block-gallery.has-nested-images.sgm-gallery-carousel-shell {
  display: block !important;
  grid-template-columns: none !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 0 120px !important;
  overflow: visible !important;
  background: transparent;
}

.sgm-gallery-carousel-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
  padding: 14px 16px;
  background: linear-gradient(135deg, #07101f, #0a2d6a);
  border: 1px solid rgba(255,255,255,.09);
  color: #fff;
}

.sgm-gallery-carousel-status {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.sgm-gallery-carousel-status > span {
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.sgm-gallery-carousel-status > strong {
  color: rgba(255,255,255,.76);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 17px;
  letter-spacing: .08em;
}

.sgm-gallery-carousel-controls {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
}

.sgm-gallery-carousel-controls button {
  width: 42px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.055);
  color: #fff;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 25px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition:
    background .22s ease,
    border-color .22s ease,
    color .22s ease,
    transform .22s ease;
}

.sgm-gallery-carousel-controls button[data-carousel-toggle] {
  font-size: 16px;
  letter-spacing: -.08em;
}

.sgm-gallery-carousel-controls button:hover,
.sgm-gallery-carousel-controls button:focus-visible {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  transform: translateY(-1px);
  outline: none;
}

.sgm-gallery-carousel-controls button:disabled {
  opacity: .35;
  cursor: default;
  transform: none;
}

.sgm-gallery-carousel-controls button.is-paused {
  color: var(--blue);
}

.sgm-gallery-carousel-viewport {
  position: relative;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  outline: none;
}

.sgm-gallery-carousel-viewport::-webkit-scrollbar {
  display: none;
}

.sgm-gallery-carousel-viewport:focus-visible {
  box-shadow: 0 0 0 3px rgba(26,111,255,.24);
}

.sgm-gallery-carousel-track {
  display: flex;
  align-items: stretch;
  gap: 14px;
  width: max-content;
  min-width: 100%;
  padding: 1px;
}

.verein-page .verein-editor-content .sgm-gallery-carousel-track > figure.wp-block-image,
.verein-page .verein-editor-content .wp-block-gallery.has-nested-images .sgm-gallery-carousel-track > figure.wp-block-image,
.verein-page .verein-editor-content .sgm-gallery-carousel-track > figure.wp-block-image:nth-child(n) {
  position: relative;
  flex: 0 0 calc((100vw - 80px - 28px) / 3) !important;
  width: calc((100vw - 80px - 28px) / 3) !important;
  max-width: calc((1280px - 80px - 28px) / 3) !important;
  min-width: 0 !important;
  min-height: 0 !important;
  aspect-ratio: 4 / 3 !important;
  grid-column: auto !important;
  grid-row: auto !important;
  margin: 0 !important;
  overflow: hidden;
  scroll-snap-align: start;
  background: #07101f;
  border: 1px solid rgba(255,255,255,.08);
  cursor: zoom-in;
  isolation: isolate;
  transition:
    border-color .3s ease,
    box-shadow .3s ease,
    transform .3s ease;
}

@media (min-width: 1280px) {
  .verein-page .verein-editor-content .sgm-gallery-carousel-track > figure.wp-block-image,
  .verein-page .verein-editor-content .wp-block-gallery.has-nested-images .sgm-gallery-carousel-track > figure.wp-block-image,
  .verein-page .verein-editor-content .sgm-gallery-carousel-track > figure.wp-block-image:nth-child(n) {
    flex-basis: calc((1200px - 28px) / 3) !important;
    width: calc((1200px - 28px) / 3) !important;
  }
}

.verein-page .verein-editor-content .sgm-gallery-carousel-track > figure.wp-block-image:hover,
.verein-page .verein-editor-content .sgm-gallery-carousel-track > figure.wp-block-image:focus-visible {
  border-color: rgba(26,111,255,.72);
  box-shadow: 0 22px 55px rgba(0,0,0,.34);
  transform: translateY(-3px);
  outline: none;
}

.verein-page .verein-editor-content .sgm-gallery-carousel-track > figure.wp-block-image a,
.verein-page .verein-editor-content .sgm-gallery-carousel-track > figure.wp-block-image > div {
  display: block;
  width: 100%;
  height: 100%;
}

.verein-page .verein-editor-content .sgm-gallery-carousel-track > figure.wp-block-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block;
  filter: saturate(.88) contrast(1.04);
  transform: scale(1.015);
  transition:
    transform .65s cubic-bezier(.2,.75,.25,1),
    filter .45s ease;
}

.verein-page .verein-editor-content .sgm-gallery-carousel-track > figure.wp-block-image:hover img,
.verein-page .verein-editor-content .sgm-gallery-carousel-track > figure.wp-block-image:focus-visible img {
  transform: scale(1.095);
  filter: saturate(1.08) contrast(1.06);
}

.verein-page .verein-editor-content .sgm-gallery-carousel-track > figure.wp-block-image::after {
  content: 'Groß ansehen';
  position: absolute;
  inset: auto 14px 14px auto;
  z-index: 3;
  padding: 8px 10px;
  background: rgba(5,10,18,.78);
  border: 1px solid rgba(255,255,255,.16);
  color: #fff;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(7px);
  transition: opacity .25s ease, transform .25s ease;
  pointer-events: none;
}

.verein-page .verein-editor-content .sgm-gallery-carousel-track > figure.wp-block-image:hover::after,
.verein-page .verein-editor-content .sgm-gallery-carousel-track > figure.wp-block-image:focus-visible::after {
  opacity: 1;
  transform: translateY(0);
}

.verein-page .verein-editor-content .sgm-gallery-carousel-track > figure.wp-block-image figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  margin: 0 !important;
  padding: 48px 110px 17px 17px;
  background: linear-gradient(to top, rgba(0,0,0,.84), rgba(0,0,0,.34), transparent);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  text-align: left;
  text-transform: uppercase;
  pointer-events: none;
}

@media (max-width: 1020px) {
  .verein-page .verein-editor-content .sgm-gallery-carousel-track > figure.wp-block-image,
  .verein-page .verein-editor-content .wp-block-gallery.has-nested-images .sgm-gallery-carousel-track > figure.wp-block-image,
  .verein-page .verein-editor-content .sgm-gallery-carousel-track > figure.wp-block-image:nth-child(n) {
    flex-basis: calc((100vw - 80px - 14px) / 2) !important;
    width: calc((100vw - 80px - 14px) / 2) !important;
    max-width: none !important;
  }
}

@media (max-width: 680px) {
  .verein-page .verein-editor-content .wp-block-gallery.sgm-gallery-carousel-shell,
  .verein-page .verein-editor-content .wp-block-gallery.has-nested-images.sgm-gallery-carousel-shell {
    margin-bottom: 82px !important;
  }

  .sgm-gallery-carousel-toolbar {
    align-items: flex-start;
    gap: 14px;
    padding: 12px;
  }

  .sgm-gallery-carousel-status {
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
  }

  .sgm-gallery-carousel-controls button {
    width: 38px;
    height: 36px;
  }

  .sgm-gallery-carousel-track {
    gap: 10px;
  }

  .verein-page .verein-editor-content .sgm-gallery-carousel-track > figure.wp-block-image,
  .verein-page .verein-editor-content .wp-block-gallery.has-nested-images .sgm-gallery-carousel-track > figure.wp-block-image,
  .verein-page .verein-editor-content .sgm-gallery-carousel-track > figure.wp-block-image:nth-child(n) {
    flex-basis: calc(100vw - 40px) !important;
    width: calc(100vw - 40px) !important;
    aspect-ratio: 4 / 3 !important;
  }

  .verein-page .verein-editor-content .sgm-gallery-carousel-track > figure.wp-block-image figcaption {
    padding-right: 98px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .verein-page .verein-editor-content .sgm-gallery-carousel-track > figure.wp-block-image,
  .verein-page .verein-editor-content .sgm-gallery-carousel-track > figure.wp-block-image img {
    transition: none !important;
  }
}

/* ═══════════════════════════════════════
   MANNSCHAFTSSEITE – EMOTIONALE TEAMZEILEN
   Jede Mannschaft über die volle Breite mit großem Bild
═══════════════════════════════════════ */

.teams-page .team-training-grid{
  display:flex !important;
  flex-direction:column !important;
  grid-template-columns:none !important;
  gap:24px !important;
}

.teams-page .team-training-card{
  width:100% !important;
  min-height:390px !important;
  display:grid !important;
  grid-template-columns:minmax(340px,43%) minmax(0,57%) !important;
  padding:0 !important;
  overflow:hidden !important;
  position:relative !important;
  background:#fff !important;
  border:1px solid rgba(8,8,8,.075) !important;
  border-radius:6px !important;
  box-shadow:0 18px 55px rgba(13,31,60,.10) !important;
  transition:transform .35s cubic-bezier(.4,0,.2,1),box-shadow .35s cubic-bezier(.4,0,.2,1),border-color .35s ease !important;
}

.teams-page .team-training-card:nth-child(even){
  grid-template-columns:minmax(0,57%) minmax(340px,43%) !important;
}

.teams-page .team-training-card:nth-child(even) .team-training-media{grid-column:2;grid-row:1}
.teams-page .team-training-card:nth-child(even) .team-training-content{grid-column:1;grid-row:1}

.teams-page .team-training-card:hover{
  transform:translateY(-6px) !important;
  border-color:rgba(26,111,255,.24) !important;
  box-shadow:0 30px 85px rgba(13,31,60,.17) !important;
}

.teams-page .team-training-media{
  min-width:0 !important;
  min-height:390px !important;
  height:100% !important;
  margin:0 !important;
  position:relative !important;
  overflow:hidden !important;
  background:radial-gradient(circle at 20% 12%,rgba(26,111,255,.42),transparent 35%),linear-gradient(145deg,#0b1830 0%,#081426 52%,#05080f 100%) !important;
}

.teams-page .team-training-media::before{
  content:"";position:absolute;inset:0;z-index:2;
  background:linear-gradient(to top,rgba(3,8,17,.62),transparent 48%),linear-gradient(135deg,rgba(26,111,255,.16),transparent 52%);
  pointer-events:none;
}

.teams-page .team-training-media::after{
  content:"SG";position:absolute;right:18px;top:8px;z-index:1;
  font-family:"Barlow Condensed",sans-serif;font-size:clamp(90px,10vw,150px);font-weight:900;font-style:italic;line-height:1;
  color:rgba(255,255,255,.055);pointer-events:none;
}

.teams-page .team-training-media img{
  width:100% !important;height:100% !important;min-height:390px !important;max-width:none !important;
  object-fit:cover !important;object-position:center !important;
  filter:saturate(.96) contrast(1.04) !important;transform:scale(1.01);
  transition:transform .75s ease,filter .75s ease !important;
}

.teams-page .team-training-card:hover .team-training-media img{transform:scale(1.065);filter:saturate(1.08) contrast(1.06) !important}

.teams-page .team-training-image-placeholder{
  position:absolute !important;inset:0 !important;z-index:3 !important;
  display:flex !important;flex-direction:column !important;justify-content:flex-end !important;align-items:flex-start !important;
  padding:34px !important;color:#fff !important;background:linear-gradient(to top,rgba(3,8,17,.86),transparent 64%);
}

.teams-page .team-training-image-placeholder span{
  display:inline-flex !important;margin:0 0 9px !important;padding:6px 9px !important;
  background:rgba(26,111,255,.18) !important;border:1px solid rgba(91,151,255,.38) !important;color:#8bb8ff !important;
  font-size:10px !important;font-weight:800 !important;letter-spacing:2px !important;text-transform:uppercase !important;
}

.teams-page .team-training-image-placeholder strong{
  max-width:310px !important;color:#fff !important;font-family:"Barlow Condensed",sans-serif !important;
  font-size:clamp(30px,3vw,45px) !important;font-weight:900 !important;line-height:.95 !important;text-transform:uppercase !important;
}

.teams-page .team-training-content{
  min-width:0 !important;display:flex !important;flex-direction:column !important;justify-content:center !important;
  padding:clamp(34px,4vw,58px) !important;background:radial-gradient(circle at 100% 0,rgba(26,111,255,.055),transparent 36%),#fff !important;
}

.teams-page .team-training-top{display:flex !important;flex-direction:column !important;align-items:flex-start !important;margin:0 0 16px !important}

.teams-page .team-training-top > span{
  display:inline-flex !important;width:auto !important;margin:0 0 12px !important;padding:6px 10px !important;
  background:rgba(26,111,255,.09) !important;border:1px solid rgba(26,111,255,.16) !important;color:#1765e9 !important;
  font-size:10px !important;font-weight:800 !important;letter-spacing:1.6px !important;line-height:1 !important;text-transform:uppercase !important;
}

.teams-page .team-training-top h4{
  margin:0 !important;max-width:760px !important;color:#07080a !important;font-family:"Barlow Condensed",sans-serif !important;
  font-size:clamp(34px,3.7vw,52px) !important;font-weight:900 !important;line-height:.94 !important;letter-spacing:-.01em !important;text-transform:uppercase !important;
}

.teams-page .team-training-text{max-width:780px !important;margin:0 0 22px !important;color:#5f6977 !important;font-size:16px !important;line-height:1.72 !important}

.teams-page .team-training-trainers{
  display:grid !important;grid-template-columns:115px minmax(0,1fr) !important;gap:18px !important;align-items:start !important;
  margin:0 0 20px !important;padding:16px 18px !important;background:#f3f6fb !important;border:0 !important;border-left:3px solid var(--blue) !important;
}

.teams-page .team-training-trainers span,.teams-page .team-training-meta span{
  color:#7b8491 !important;font-size:9px !important;font-weight:800 !important;letter-spacing:1.6px !important;text-transform:uppercase !important;
}

.teams-page .team-training-trainers strong{color:#111827 !important;font-size:14px !important;line-height:1.5 !important}

.teams-page .team-training-meta{display:grid !important;grid-template-columns:1fr 1fr !important;gap:12px !important;margin:0 !important;padding:0 !important;border:0 !important}

.teams-page .team-training-meta > div{
  display:block !important;min-width:0 !important;padding:15px 16px !important;background:#f7f8fb !important;
  border:1px solid rgba(8,8,8,.055) !important;border-radius:3px !important;
}

.teams-page .team-training-meta strong{display:block !important;margin-top:6px !important;color:#111827 !important;font-size:13px !important;line-height:1.45 !important}

@media(max-width:980px){
  .teams-page .team-training-card,.teams-page .team-training-card:nth-child(even){grid-template-columns:minmax(270px,38%) minmax(0,62%) !important}
  .teams-page .team-training-card:nth-child(even) .team-training-media{grid-column:1}
  .teams-page .team-training-card:nth-child(even) .team-training-content{grid-column:2}
  .teams-page .team-training-content{padding:32px !important}
  .teams-page .team-training-meta{grid-template-columns:1fr !important}
}

@media(max-width:720px){
  .teams-page .team-training-grid{gap:18px !important}
  .teams-page .team-training-card,.teams-page .team-training-card:nth-child(even){display:grid !important;grid-template-columns:1fr !important;grid-template-rows:auto auto !important;min-height:0 !important}
  .teams-page .team-training-card .team-training-media,.teams-page .team-training-card:nth-child(even) .team-training-media{grid-column:1 !important;grid-row:1 !important;min-height:245px !important;aspect-ratio:16/10 !important}
  .teams-page .team-training-card .team-training-content,.teams-page .team-training-card:nth-child(even) .team-training-content{grid-column:1 !important;grid-row:2 !important}
  .teams-page .team-training-media img{min-height:245px !important}
  .teams-page .team-training-content{padding:27px 22px 29px !important}
  .teams-page .team-training-top h4{font-size:34px !important}
  .teams-page .team-training-text{font-size:15px !important}
  .teams-page .team-training-trainers{grid-template-columns:1fr !important;gap:6px !important}
  .teams-page .team-training-meta{grid-template-columns:1fr !important}
}

@media(prefers-reduced-motion:reduce){
  .teams-page .team-training-card,.teams-page .team-training-media img{transition:none !important}
}

/* ═══════════════════════════════════════
   HEADER SERVICES – TRAINER LOGIN & JAKO SHOP
   Ergänzt nur die globale Navigation.
   Hero und bestehende Seitenfunktionen bleiben unverändert.
═══════════════════════════════════════ */

nav#nav{
  gap:clamp(14px,1.35vw,24px);
  padding-left:clamp(20px,2.2vw,40px);
  padding-right:clamp(20px,2.2vw,40px);
}

nav#nav .nav-logo{
  margin-right:clamp(2px,.65vw,12px);
}

nav#nav .nav-links{
  min-width:0;
  gap:clamp(12px,1.22vw,24px);
}

nav#nav .nav-links a{
  font-size:clamp(12px,.86vw,15px);
  letter-spacing:.85px;
}

/*
 * Mitgliedschaft bleibt funktional erhalten, wird am Desktop aber
 * als normaler Menüpunkt gezeigt. Der JAKO-Shop ist dadurch der
 * einzige blaue Aktionsbutton und die Navigation bleibt ruhig.
 */
@media(min-width:1281px){
  nav#nav .nav-links .menu-cta > a{
    background:transparent !important;
    color:var(--gray-l) !important;
    padding:0 !important;
    border-radius:0 !important;
  }

  nav#nav .nav-links .menu-cta > a:hover{
    background:transparent !important;
    color:#fff !important;
  }

  nav#nav .nav-links .menu-cta > a::after{
    display:block !important;
  }
}

.nav-service-actions{
  display:flex;
  align-items:center;
  gap:10px;
  flex:0 0 auto;
  margin-left:clamp(0px,.45vw,8px);
}

.nav-service-btn{
  min-height:42px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  padding:10px clamp(13px,1.05vw,19px);
  border:1px solid rgba(255,255,255,.20);
  border-radius:3px;
  color:#fff;
  font-family:"Barlow Condensed",sans-serif;
  font-size:clamp(12px,.82vw,14px);
  font-weight:800;
  letter-spacing:1.15px;
  line-height:1;
  text-transform:uppercase;
  white-space:nowrap;
  position:relative;
  overflow:hidden;
  transition:
    transform var(--transition),
    color var(--transition),
    background var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}

.nav-service-btn::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(
    115deg,
    transparent 0%,
    rgba(255,255,255,.16) 45%,
    transparent 70%
  );
  transform:translateX(-125%);
  transition:transform .55s ease;
  pointer-events:none;
}

.nav-service-btn::after{
  display:none !important;
}

.nav-service-btn:hover::before,
.nav-service-btn:focus-visible::before{
  transform:translateX(125%);
}

.nav-service-btn:hover,
.nav-service-btn:focus-visible{
  transform:translateY(-2px);
  outline:none;
}

.nav-service-btn svg{
  width:17px;
  height:17px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
  flex:0 0 auto;
}

.nav-service-login{
  background:rgba(8,8,8,.28);
  border-color:rgba(255,255,255,.25);
}

.nav-service-login:hover,
.nav-service-login:focus-visible{
  color:#fff;
  border-color:var(--blue);
  background:rgba(26,111,255,.10);
  box-shadow:0 8px 24px rgba(0,0,0,.22);
}

.nav-service-shop{
  background:var(--blue);
  border-color:var(--blue);
  box-shadow:0 8px 22px rgba(26,111,255,.20);
}

.nav-service-shop:hover,
.nav-service-shop:focus-visible{
  color:#fff;
  background:var(--blue-dark);
  border-color:var(--blue-dark);
  box-shadow:0 10px 28px var(--blue-glow);
}

nav.scrolled .nav-service-btn{
  min-height:38px;
  padding-top:8px;
  padding-bottom:8px;
}

/* Mobile Aktionen stehen nur im geöffneten Menü. */
.mob-service-actions{
  display:none;
}

/*
 * Bevor der Desktop-Header eng oder gequetscht wird, wechseln Menü,
 * Trainer-Login und Shop gemeinsam in das vorhandene mobile Menü.
 */
@media(max-width:1280px){
  nav#nav .nav-links,
  nav#nav .nav-service-actions{
    display:none;
  }

  nav#nav .hamburger{
    display:flex;
  }

  .mob-service-actions{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:12px;
    margin-top:28px;
    padding-top:28px;
    border-top:1px solid var(--border);
  }

  .mob-service-btn{
    min-height:54px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    padding:14px 16px;
    border:1px solid rgba(255,255,255,.20);
    border-radius:3px;
    color:#fff;
    font-family:"Barlow Condensed",sans-serif;
    font-size:15px;
    font-weight:800;
    letter-spacing:1.4px;
    text-transform:uppercase;
    text-align:center;
  }

  .mob-service-btn svg{
    width:18px;
    height:18px;
    fill:none;
    stroke:currentColor;
    stroke-width:1.8;
    stroke-linecap:round;
    stroke-linejoin:round;
    flex:0 0 auto;
  }

  .mob-service-login{
    background:rgba(255,255,255,.035);
  }

  .mob-service-shop{
    background:var(--blue);
    border-color:var(--blue);
  }
}

@media(max-width:560px){
  .mob-service-actions{
    grid-template-columns:1fr;
  }
}

@media(prefers-reduced-motion:reduce){
  .nav-service-btn,
  .nav-service-btn::before{
    transition:none !important;
  }
}

/* ═══════════════════════════════════════
   HERO SERVICES – FINAL POSITIONING
   Nur Trainer-Login, JAKO-Shop und deren Positionierung.
═══════════════════════════════════════ */

/* Im freigegebenen Desktop-Entwurf ist Mitgliedschaft nicht im Kopfbereich. */
@media(min-width:1281px){
  nav#nav .nav-links .menu-cta{
    display:none !important;
  }
}

/* Platz für die Serviceleiste schaffen, ohne Hero-Inhalte zu entfernen. */
@media(min-width:901px){
  .hero{
    padding-bottom:188px;
  }

  .hero-stats{
    bottom:176px;
  }

  .hero-stat{
    min-width:235px;
    padding:16px 20px;
  }
}

.hero-service-bar{
  position:absolute;
  left:13.2%;
  bottom:25px;
  z-index:5;
  width:min(1220px,78.3vw);
  min-height:112px;
  display:grid;
  grid-template-columns:1fr 1fr;
  background:
    linear-gradient(115deg,rgba(12,24,45,.96),rgba(5,12,25,.94));
  border:1px solid rgba(255,255,255,.16);
  border-radius:5px;
  box-shadow:
    0 28px 70px rgba(0,0,0,.38),
    inset 0 1px 0 rgba(255,255,255,.045);
  backdrop-filter:blur(16px);
  overflow:hidden;
}

.hero-service-card{
  min-width:0;
  display:grid;
  grid-template-columns:68px minmax(0,1fr) 34px;
  align-items:center;
  gap:20px;
  padding:22px 28px;
  position:relative;
  color:#fff;
  transition:
    background var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
}

.hero-service-card:first-child{
  border-right:1px solid rgba(255,255,255,.13);
}

.hero-service-card::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 18% 50%,rgba(26,111,255,.16),transparent 35%);
  opacity:0;
  transition:opacity var(--transition);
  pointer-events:none;
}

.hero-service-card:hover,
.hero-service-card:focus-visible{
  background:rgba(26,111,255,.055);
  outline:none;
}

.hero-service-card:hover::before,
.hero-service-card:focus-visible::before{
  opacity:1;
}

.hero-service-icon{
  width:58px;
  height:58px;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid rgba(26,111,255,.42);
  border-radius:50%;
  background:rgba(26,111,255,.07);
  color:var(--blue);
  position:relative;
  z-index:1;
  transition:
    background var(--transition),
    border-color var(--transition),
    transform var(--transition);
}

.hero-service-icon svg{
  width:29px;
  height:29px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.hero-service-copy{
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:6px;
  position:relative;
  z-index:1;
}

.hero-service-copy strong{
  font-family:"Barlow Condensed",sans-serif;
  font-size:22px;
  font-weight:900;
  line-height:1;
  letter-spacing:.8px;
  text-transform:uppercase;
}

.hero-service-copy small{
  color:rgba(255,255,255,.62);
  font-size:13px;
  line-height:1.4;
}

.hero-service-arrow{
  color:var(--blue);
  font-family:"Barlow Condensed",sans-serif;
  font-size:29px;
  font-weight:700;
  line-height:1;
  position:relative;
  z-index:1;
  transition:transform var(--transition);
}

.hero-service-card:hover .hero-service-icon,
.hero-service-card:focus-visible .hero-service-icon{
  background:var(--blue);
  border-color:var(--blue);
  color:#fff;
  transform:translateY(-2px);
}

.hero-service-card:hover .hero-service-arrow,
.hero-service-card:focus-visible .hero-service-arrow{
  transform:translateX(5px);
}

@media(max-width:1100px) and (min-width:901px){
  .hero-service-bar{
    left:40px;
    width:calc(100% - 80px);
  }

  .hero-service-card{
    grid-template-columns:54px minmax(0,1fr) 28px;
    gap:14px;
    padding:20px;
  }

  .hero-service-icon{
    width:48px;
    height:48px;
  }

  .hero-service-icon svg{
    width:24px;
    height:24px;
  }

  .hero-service-copy strong{
    font-size:19px;
  }
}

/* Mobil: unter den vorhandenen Hero-Buttons, nicht als Overlay. */
@media(max-width:900px){
  .hero{
    min-height:auto;
    padding-bottom:42px;
  }

  .hero-service-bar{
    position:relative;
    left:auto;
    bottom:auto;
    width:auto;
    min-height:0;
    grid-template-columns:1fr;
    margin:30px 20px 0;
  }

  .hero-service-card{
    grid-template-columns:50px minmax(0,1fr) 26px;
    gap:14px;
    padding:18px;
  }

  .hero-service-card:first-child{
    border-right:0;
    border-bottom:1px solid rgba(255,255,255,.13);
  }

  .hero-service-icon{
    width:46px;
    height:46px;
  }

  .hero-service-icon svg{
    width:23px;
    height:23px;
  }

  .hero-service-copy strong{
    font-size:19px;
  }

  .hero-service-copy small{
    font-size:12px;
  }
}

@media(max-width:430px){
  .hero-service-copy small{
    display:none;
  }
}

@media(prefers-reduced-motion:reduce){
  .hero-service-card,
  .hero-service-icon,
  .hero-service-arrow,
  .hero-service-card::before{
    transition:none !important;
  }
}


/* FINALER HERO-HINTERGRUND – MUSS GANZ UNTEN STEHEN */
body.home .hero > .hero-bg,
body.front-page .hero > .hero-bg,
body.sgm-theme-enabled .hero > .hero-bg {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;

  position: absolute !important;
  inset: 0 !important;

  background-image:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, .94) 0%,
      rgba(0, 0, 0, .82) 29%,
      rgba(0, 0, 0, .42) 50%,
      rgba(0, 0, 0, .08) 72%,
      transparent 100%
    ),
    url("https://vanilladev.sg-mgh.de/wp-content/uploads/2026/07/front-sektion-background.png") !important;

  background-repeat: no-repeat !important;
  background-position: center right !important;
  background-size: cover !important;
  z-index: 0 !important;
  background-position: right top 29% !important;
}

body.home .hero,
body.front-page .hero,
body.sgm-theme-enabled .hero {
  background-image: none !important;
}

body.home .hero-content,
body.front-page .hero-content,
body.sgm-theme-enabled .hero-content {
  position: relative;
  z-index: 2;
}

body.home .hero-stats,
body.front-page .hero-stats,
body.sgm-theme-enabled .hero-stats {
  z-index: 3;
}

@media (max-width: 768px) {
  body.home .hero > .hero-bg,
  body.front-page .hero > .hero-bg,
  body.sgm-theme-enabled .hero > .hero-bg {
    background-position: 68% center !important;
  }
}


/* Hero-Bild weiter nach unten / von oben sichtbar machen */
body.home .hero > .hero-bg,
body.front-page .hero > .hero-bg,
body.sgm-theme-enabled .hero > .hero-bg {
  background-image:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, .88) 0%,
      rgba(0, 0, 0, .72) 28%,
      rgba(0, 0, 0, .34) 52%,
      rgba(0, 0, 0, .10) 72%,
      rgba(0, 0, 0, .00) 100%
    ),
    url("https://vanilladev.sg-mgh.de/wp-content/uploads/2026/07/front-sektion-background.png") !important;

  background-repeat: no-repeat !important;
  background-size: cover !important;

  /* WICHTIG: vorher war center right */
  background-position: right top 29% !important;
}

/* ═══════════════════════════════════════
   FINAL: SPIELPLAN-HERO MIT BILD
   Muss am Ende der Datei stehen.
═══════════════════════════════════════ */
body .schedule-page .schedule-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(135deg, #040914 0%, #07162d 58%, #0a3478 100%) !important;
}

body .schedule-page .schedule-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;

  background-image:
    linear-gradient(
      90deg,
      rgba(3, 8, 18, .98) 0%,
      rgba(3, 8, 18, .92) 30%,
      rgba(3, 8, 18, .62) 52%,
      rgba(3, 8, 18, .18) 76%,
      rgba(3, 8, 18, .04) 100%
    ),
    url("https://vanilladev.sg-mgh.de/wp-content/uploads/2026/07/spielplan-front-image.png");

  background-repeat: no-repeat, no-repeat;
  background-position: center, right center;
  background-size: cover, auto 135%;
}

/* Die große 7 ist bereits im neuen Bild enthalten. */
body .schedule-page .schedule-hero::after {
  content: none !important;
  display: none !important;
}

body .schedule-page .schedule-hero > .schedule-container {
  position: relative;
  z-index: 2;
}

@media (max-width: 900px) {
  body .schedule-page .schedule-hero::before {
    background-image:
      linear-gradient(
        90deg,
        rgba(3, 8, 18, .97) 0%,
        rgba(3, 8, 18, .88) 45%,
        rgba(3, 8, 18, .38) 100%
      ),
      url("https://vanilladev.sg-mgh.de/wp-content/uploads/2026/07/spielplan-front-image.png");

    background-position: center, 72% center;
    background-size: cover, auto 112%;
  }
}

@media (max-width: 600px) {
  body .schedule-page .schedule-hero::before {
    background-image:
      linear-gradient(
        180deg,
        rgba(3, 8, 18, .72) 0%,
        rgba(3, 8, 18, .90) 68%,
        rgba(3, 8, 18, .98) 100%
      ),
      url("https://vanilladev.sg-mgh.de/wp-content/uploads/2026/07/spielplan-front-image.png");

    background-position: center, 76% top;
    background-size: cover, auto 100%;
  }
}
