/* Schriften lokal: woff2-Dateien in assets/fonts/ ablegen (siehe LIESMICH.txt); sie werden dann automatisch eingebunden. Ohne Dateien greift die Ersatzschrift. */
:root{--sgm-blau:#1f3f8f;--sgm-hellblau:#3a8fd6;--sgm-gruen:#1e9a4b;--sgm-rot:#d6254a;--sgm-akzent:#1f4e9e;--sgm-dunkel:#0a0d12;
--sgm-anzeige:"Barlow Condensed","Arial Narrow","Roboto Condensed",sans-serif}
/* Streifenband unter dem Header */
#masthead::after,.site-header::after{content:"";display:block;height:29px;
background:linear-gradient(to bottom,var(--sgm-blau) 0 5px,transparent 5px 8px,var(--sgm-hellblau) 8px 13px,transparent 13px 16px,var(--sgm-gruen) 16px 21px,transparent 21px 24px,var(--sgm-rot) 24px 29px)}
/* Überschriften */
h1,h2{font-family:var(--sgm-anzeige);text-transform:uppercase;font-weight:800;letter-spacing:.02em}
.wp-block-button__link,.sgm-btn{border-radius:999px}
/* Hero */
.sgm-hero{background:linear-gradient(135deg,#0a0d12 0%,#16243f 85%);color:#fff;padding:64px 32px 88px;border-radius:12px;clip-path:polygon(0 0,100% 0,100% 90%,0 100%)}
.sgm-kicker{font-family:var(--sgm-anzeige);text-transform:uppercase;font-weight:700;letter-spacing:.1em;color:var(--sgm-hellblau);font-size:1.25rem;margin-bottom:8px}
.sgm-hero h1{color:#fff;font-size:clamp(2.4rem,7vw,4.6rem);line-height:.98;margin:0 0 12px}
.sgm-hero p{font-size:1.3rem;max-width:40ch;margin:0 0 22px}
.sgm-btn{display:inline-block;padding:12px 26px;margin:4px 8px 4px 0;background:#fff;color:var(--sgm-dunkel)!important;font-weight:700;text-decoration:none!important}
.sgm-btn.zwei{background:transparent;color:#fff!important;border:2px solid #fff}
.sgm-btn:hover{background:var(--sgm-hellblau);color:#fff!important}
/* Mannschaftskacheln */
.sgm-tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:16px;margin:20px 0}
.sgm-tile{display:flex;flex-direction:column;gap:2px;padding:18px;background:#fff;border:1px solid #dde2dc;border-top:8px solid var(--c);border-radius:10px;text-decoration:none!important;color:var(--sgm-dunkel)!important;transition:transform .15s,box-shadow .15s}
.sgm-tile:hover{transform:translateY(-3px);box-shadow:0 8px 18px rgba(0,0,0,.14)}
.sgm-tile b{font-family:var(--sgm-anzeige);font-size:1.7rem;text-transform:uppercase;font-weight:800;line-height:1.1}
.sgm-tile span,.sgm-tile small{color:#4b5563}
.sgm-tile small{margin-top:8px}
.sgm-tile small::before{content:"";display:inline-block;width:10px;height:10px;border-radius:50%;background:var(--c);margin-right:8px}

/* Infokarten */
.sgm-info{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:20px;margin:20px 0}
.sgm-info-karte{background:#0a0d12;color:#fff;border-radius:12px;padding:26px;border-top:8px solid var(--c);display:flex;flex-direction:column;gap:10px}
.sgm-info-karte h3{font-family:var(--sgm-anzeige);text-transform:uppercase;font-weight:800;font-size:1.8rem;line-height:1.05;margin:0;color:#fff}
.sgm-info-karte p{margin:0;color:#d5dce8;flex:1}
.sgm-info-karte a{color:#fff!important;font-weight:700;text-decoration:none!important}
.sgm-info-karte a:hover{color:var(--sgm-hellblau)!important}

/* Dummy-Grafiken */
.sgm-dummy{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;background:linear-gradient(135deg,#e3e8f0,#cfd8e6);color:#8a97ab;border-radius:10px;overflow:hidden;text-align:center}
.sgm-dummy svg{width:38%;max-width:200px;height:auto;opacity:.75}
.sgm-dummy span{font-size:.8rem;color:#4b5563}
.sgm-dummy.sgm-foto{aspect-ratio:3/2;width:100%;max-width:640px}
.sgm-dummy.sgm-quadrat{aspect-ratio:1/1;width:100%}
.sgm-dummy.sgm-widget{min-height:160px;padding:20px}
.sgm-dummy.sgm-logo{aspect-ratio:2/1;font-weight:700}
.sgm-dummy-reihe{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,220px));gap:16px;margin:12px 0}
.sgm-dummy-karte{display:flex;flex-direction:column;gap:2px}
.sgm-dummy-karte small{color:#4b5563}
.sgm-dummy-logos{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:14px;margin:12px 0}

/* fussball.de-Karte */
.sgm-fd{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px 24px;background:#0a0d12;color:#fff;border-radius:12px;border-top:8px solid var(--sgm-hellblau);padding:24px 28px;margin:12px 0}
.sgm-fd h3{margin:0 0 4px;color:#fff;font-family:var(--sgm-anzeige);text-transform:uppercase;font-weight:800;font-size:1.6rem;line-height:1.05}
.sgm-fd p{margin:0;color:#d5dce8}

.sgm-fd-btns{display:flex;flex-wrap:wrap;gap:8px}
.sgm-fd-btns .sgm-btn{margin:0}

/* Mannschaftsseiten im Design-Layout */
html{overflow-x:clip}
.sgm-team .entry-hero,.sgm-team .page-hero-section{display:none}
.sgm-team .entry.content-bg{background:transparent;box-shadow:none}
.sgm-team .entry-content-wrap{padding:0}
.sgm-teamhero{width:100vw;margin-left:calc(50% - 50vw);box-sizing:border-box;background:linear-gradient(135deg,#0a0d12 0%,#16243f 85%);color:#fff;padding:clamp(40px,6vw,72px) max(20px,calc((100vw - 1200px)/2 + 20px)) clamp(44px,6vw,72px);margin-bottom:32px}
.sgm-crumb,.sgm-crumb a{color:#c7d2e4!important;font-size:.95rem}
.sgm-team-titel{font-family:var(--sgm-anzeige);text-transform:uppercase;font-weight:800;font-size:clamp(3rem,10vw,7rem);line-height:.95;margin:8px 0;color:#fff}
.sgm-teamhero p{font-size:1.3rem;margin:0}
.sgm-teamfoto img,.sgm-teamfoto .sgm-dummy{width:100%;max-width:none;border-radius:12px;display:block;height:auto}
.sgm-2col{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:32px;margin:40px 0}
.sgm-h2{font-family:var(--sgm-anzeige);text-transform:uppercase;font-weight:800;font-size:clamp(1.8rem,4vw,2.6rem);line-height:1.05;margin:32px 0 16px}
.sgm-2col .sgm-h2{margin-top:0}
.sgm-training{background:#fff;border:1px solid #dde2dc;border-top:8px solid #1f4e9e;border-radius:10px;padding:22px;display:flex;flex-direction:column;gap:14px}
.sgm-tr{display:flex;flex-direction:column;gap:2px}.sgm-tr span{color:#4b5563}
.sgm-punkt{display:inline-block;width:10px;height:10px;border-radius:50%;margin-right:8px}
.sgm-trainerslot{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:16px}
.sgm-trainerslot p{margin:0}.sgm-trainerslot .sgm-dummy-reihe{display:contents}
.sgm-quadrat-echt img{width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:10px;display:block}
.sgm-cta{background:#1f4e9e;color:#fff;border-radius:12px;padding:36px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:20px;margin:48px 0}
.sgm-cta h3{margin:0;color:#fff;font-family:var(--sgm-anzeige);text-transform:uppercase;font-weight:800;font-size:2.2rem;line-height:1.05}
.sgm-cta p{margin:0;color:#e6ecf7}
.sgm-sponsoren{margin-bottom:8px}
.sgm-logo-echt{background:#fff;border:1px solid #dde2dc;border-radius:10px;padding:14px;display:flex;align-items:center;justify-content:center;aspect-ratio:2/1}
.sgm-logo-echt img{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}

/* Design für alle übrigen Seiten */
.sgm-seite .entry-hero,.sgm-seite .page-hero-section{display:none}
.sgm-seite .entry.content-bg{background:transparent;box-shadow:none}
.sgm-seite .entry-content-wrap{padding:0}
.sgm-seitenhero .sgm-team-titel{font-size:clamp(2.4rem,8vw,5rem)}
.sgm-inhalt{max-width:1000px}
.sgm-seite .entry-content h2:not(.sgm-team-titel),.sgm-seite .entry-content h3{font-family:var(--sgm-anzeige);text-transform:uppercase;font-weight:800;line-height:1.05}
.sgm-seite .entry-content h2:not(.sgm-team-titel){font-size:clamp(1.8rem,4vw,2.4rem);margin:40px 0 14px}
.sgm-seite .entry-content h3{font-size:clamp(1.4rem,3vw,1.8rem);margin:28px 0 10px}
.sgm-seite .sgm-inhalt li{margin-bottom:6px}
.sgm-seite .sgm-inhalt a:not(.sgm-btn):not(.wp-block-button__link){color:var(--sgm-akzent)}
.sgm-seite .sgm-inhalt table{border-collapse:separate;border-spacing:0;width:100%;background:#fff;border:1px solid #dde2dc;border-radius:10px;overflow:hidden}
.sgm-seite .sgm-inhalt th{background:#0a0d12;color:#fff;text-align:left;padding:12px 16px}
.sgm-seite .sgm-inhalt td{padding:12px 16px;border-top:1px solid #e6eaf0;vertical-align:top}
.sgm-seite .sgm-inhalt tr:nth-child(even) td{background:#f7f9fc}

/* Titel im Kopfband: auf dem Handy kleiner, Trennung nur an Silbengrenzen */
.sgm-team-titel{hyphens:none!important;-webkit-hyphens:none!important;overflow-wrap:normal!important;word-break:keep-all!important}
.sgm-seitenhero .sgm-team-titel{font-size:clamp(1.2rem,5.5vw,5rem)!important}

/* Hauptvereine */
.sgm-vereine-intro{font-size:1.1rem;max-width:60ch}
.sgm-vereine{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:20px;margin:20px 0}
.sgm-verein{background:#fff;border:1px solid #dde2dc;border-top:8px solid var(--c);border-radius:10px;padding:18px;display:flex;flex-direction:column;gap:10px}
.sgm-verein-logo{display:flex;align-items:center;justify-content:center;aspect-ratio:3/2;background:#fff;border-radius:8px;overflow:hidden;text-decoration:none!important}
.sgm-verein-logo img{max-width:80%;max-height:80%;width:auto;height:auto;object-fit:contain}
.sgm-verein-logo .sgm-dummy{width:100%;height:100%}
.sgm-seite .sgm-inhalt .sgm-verein h3{margin:0}
.sgm-verein a:not(.sgm-verein-logo){font-weight:700}

/* Kein Leerraum zwischen Streifenband und Kopfband */
.sgm-seite .content-area,.sgm-team .content-area{margin-top:0}

/* ---------- Feinschliff v1.11 ---------- */
/* Kopfband: flacher, Titel näher am Pfad, Streifenband als Abschluss */
.sgm-seitenhero{padding-top:clamp(24px,3.5vw,44px);padding-bottom:clamp(40px,5vw,64px)}
.sgm-teamhero{position:relative}
.sgm-teamhero::after{content:"";position:absolute;left:0;right:0;bottom:0;height:15px;
background:linear-gradient(to bottom,var(--sgm-blau) 0 3px,transparent 3px 4px,var(--sgm-hellblau) 4px 7px,transparent 7px 8px,var(--sgm-gruen) 8px 11px,transparent 11px 12px,var(--sgm-rot) 12px 15px)}
.sgm-team-titel{margin:4px 0 0}
.sgm-crumb a{text-decoration:none!important;opacity:.85}
.sgm-crumb a:hover{text-decoration:underline!important;opacity:1}
/* Inhaltsbreite: Karten und Tabellen nutzen die ganze Breite, Fließtext bleibt gut lesbar */
.sgm-inhalt{max-width:none}
.sgm-inhalt>p,.sgm-inhalt>ul,.sgm-inhalt>ol{max-width:75ch}
/* Vereinskarten: Inhalt mittig, Logos einheitlich groß */
.sgm-verein{align-items:center;text-align:center}
.sgm-verein-logo{width:100%;aspect-ratio:4/3}
.sgm-verein-logo img{max-width:70%;max-height:70%}
.sgm-seite .sgm-inhalt .sgm-verein h3{font-size:clamp(1.3rem,2.2vw,1.7rem)}
/* Menüpunkt als Button: im Menü beim Eintrag die CSS-Klasse menu-anmelden eintragen */
.menu-anmelden>a{background:var(--sgm-akzent);color:#fff!important;border-radius:999px;padding:8px 18px!important;font-weight:700}
.menu-anmelden>a:hover{background:var(--sgm-hellblau)}

/* ---------- v1.12 ---------- */
/* Gleiche Breite für Kopfzeile, Inhalt und Footer */
body{--global-content-width:1200px;--global-content-edge-padding:20px}
/* Kopfzeile kompakter und beim Scrollen sichtbar */
#masthead{position:sticky;top:0;z-index:100;background:#fff}
.admin-bar #masthead{top:32px}
@media (max-width:782px){.admin-bar #masthead{top:46px}}
.site-branding img.custom-logo{max-width:100px!important;width:100px!important;height:auto}
@media (max-width:767px){.site-branding img.custom-logo{max-width:80px!important;width:80px!important}}
/* Kopfband mit Foto: Beitragsbild nicht doppelt zeigen */
.sgm-seite .post-thumbnail{display:none}
/* Chronik als Zeitstrahl */
.sgm-slug-chronik .sgm-inhalt{max-width:900px}
.sgm-slug-chronik .sgm-inhalt>h3{position:relative;margin:36px 0 8px;padding-left:28px;color:var(--sgm-akzent);font-size:clamp(2rem,5vw,3rem)}
.sgm-slug-chronik .sgm-inhalt>h3::before{content:"";position:absolute;left:0;top:.45em;width:14px;height:14px;border-radius:50%;background:var(--sgm-akzent)}
.sgm-slug-chronik .sgm-inhalt>p{margin:0 0 0 5px;padding:0 0 20px 23px;border-left:3px solid #dde2dc;max-width:75ch}
.sgm-slug-chronik .sgm-inhalt img{border-radius:10px;max-width:100%;height:auto;margin:12px 0}
/* Ansprechperson */
.sgm-person{display:flex;gap:20px;align-items:center;background:#fff;border:1px solid #dde2dc;border-top:8px solid var(--sgm-akzent);border-radius:10px;padding:20px;max-width:560px;margin:12px 0}
.sgm-person .sgm-dummy,.sgm-person .sgm-quadrat-echt{width:110px;flex:none}
.sgm-person b{display:block;font-family:var(--sgm-anzeige);text-transform:uppercase;font-size:1.5rem;font-weight:800;line-height:1.1}
.sgm-person small{display:block;color:#4b5563}.sgm-person p{margin:6px 0 0}
/* Fehlerseite */
.sgm-404 .sgm-btn{background:var(--sgm-akzent);color:#fff!important}
.sgm-404 .sgm-btn:hover{background:var(--sgm-hellblau)}

/* ---------- v1.12.1: Kopfband flacher (auch bei Mannschaften) ---------- */
.sgm-teamhero{padding-top:clamp(20px,3vw,36px);padding-bottom:clamp(28px,4vw,48px)}
.sgm-teamhero .sgm-team-titel{margin:6px 0 4px!important;line-height:1}
.sgm-teamhero p{margin:0!important}
.sgm-team .sgm-teamhero .sgm-team-titel{font-size:clamp(2.4rem,7vw,4.5rem)!important}
.sgm-teamhero p{font-size:1.15rem}
/* Mannschaftsfoto: nicht übergroß, Dummy sauber zentriert */
.sgm-teamfoto img{max-height:520px;object-fit:cover}
.sgm-teamfoto .sgm-dummy{display:flex;aspect-ratio:16/7;height:auto}

/* Sponsorenlogos mit Link */
.sgm-logo-echt a{display:flex;align-items:center;justify-content:center;width:100%;height:100%}

/* ---------- Bisher im Customizer unter "Zusätzliches CSS", jetzt im Plugin ---------- */
:root{--sgm-w:1200px}
.sgm-hero{width:100vw;margin-left:calc(50% - 50vw);border-radius:0;box-sizing:border-box;padding:clamp(40px,6vw,88px) max(20px,calc((100vw - var(--sgm-w))/2 + 20px)) clamp(64px,8vw,110px)}
#colophon{background:#0a0d12!important;color:#c7d2e4;margin-top:clamp(32px,5vw,64px)}
#colophon::before{content:"";display:block;height:29px;background:linear-gradient(to bottom,#1f3f8f 0 5px,transparent 5px 8px,#3a8fd6 8px 13px,transparent 13px 16px,#1e9a4b 16px 21px,transparent 21px 24px,#d6254a 24px 29px)}
#colophon .site-footer-row-container-inner{background:transparent!important}
#colophon .site-middle-footer-inner-wrap{padding:36px 0 12px}
#colophon a{color:#fff!important;text-decoration:none!important}
#colophon a:hover{color:#3a8fd6!important}
#colophon .footer-navigation .menu{display:flex;flex-wrap:wrap;justify-content:center;gap:12px 32px}
#colophon .footer-navigation .menu a{padding:0;font-weight:700;font-size:.85rem;letter-spacing:.08em;text-transform:uppercase}
#colophon .site-bottom-footer-wrap{border-top:1px solid rgba(255,255,255,.14)}
#colophon .footer-html,#colophon .site-info{color:#9fb0c8;font-size:.9rem}
@media (max-width:600px){#colophon .footer-navigation .menu{flex-direction:column;align-items:center;gap:14px}}
@media (max-width:767px){
  #colophon .footer-widget-area,#colophon .footer-navigation,#colophon .footer-html,#colophon .site-info{text-align:center!important;justify-content:center!important;align-items:center!important}
  #colophon .footer-navigation .menu{width:100%;margin:0;padding:0;align-items:center}
  #colophon .footer-navigation .menu li{text-align:center}
  #colophon .footer-html-inner,#colophon .footer-html-inner p{text-align:center!important}
}

/* Training und Orte */
.sgm-saison-hinweis{margin:0 0 12px}
.sgm-tz+.sgm-tz{margin-top:8px}
.sgm-ortzeile{color:#4b5563;font-size:.95em}
.sgm-orte{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px;margin:16px 0}
.sgm-ort{background:#fff;border:1px solid #dde2dc;border-top:8px solid var(--c);border-radius:10px;padding:16px}
.sgm-seite .sgm-inhalt .sgm-ort h3{margin:0 0 2px}
.sgm-ort small{color:#4b5563}.sgm-ort p{margin:8px 0}
.sgm-ort a{font-weight:700}

.sgm-plaetze-link{margin:10px 0 0}.sgm-plaetze-link a{font-weight:700}

/* ---------- Design-Feinschliff v1.20: zeitgemäß und intuitiv ---------- */
:root{--sgm-radius:14px;--sgm-schatten:0 1px 2px rgba(10,13,18,.05),0 8px 24px rgba(10,13,18,.06);--sgm-schatten-hover:0 2px 4px rgba(10,13,18,.06),0 14px 32px rgba(10,13,18,.12)}
html{scroll-behavior:smooth}
::selection{background:#cfe0f7}
/* Karten: weiche Schatten statt harter Linien, ruhige Hover-Effekte */
.sgm-tile,.sgm-ort,.sgm-verein,.sgm-person,.sgm-training,.sgm-logo-echt,.sgm-adm-team{border-color:#e6eaf0;border-radius:var(--sgm-radius);box-shadow:var(--sgm-schatten)}
.sgm-info-karte,.sgm-fd,.sgm-cta,.sgm-hero{border-radius:var(--sgm-radius)}
.sgm-tile,.sgm-verein,.sgm-ort,.sgm-info-karte{transition:transform .2s ease,box-shadow .2s ease}
.sgm-tile:hover,.sgm-verein:hover,.sgm-ort:hover,.sgm-info-karte:hover{transform:translateY(-3px);box-shadow:var(--sgm-schatten-hover)}
/* Buttons: gut tippbar, mit Rückmeldung */
.sgm-btn{display:inline-flex;align-items:center;min-height:44px;transition:transform .15s ease,background .15s ease,box-shadow .15s ease}
.sgm-btn:hover{transform:translateY(-1px);box-shadow:0 6px 16px rgba(10,13,18,.18)}
.menu-anmelden>a{min-height:40px;display:inline-flex;align-items:center}
/* Tastatur-Bedienung sichtbar machen */
a:focus-visible,button:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #3a8fd6;outline-offset:2px;border-radius:6px}
/* Menü etwas klarer */
#masthead .header-navigation .menu>li>a{font-weight:600;letter-spacing:.01em}
#masthead .header-navigation .menu>li>a:hover{color:var(--sgm-akzent)}
/* Lesbarkeit */
.sgm-inhalt p,.sgm-inhalt li{line-height:1.7}
.sgm-h2{margin-top:clamp(32px,5vw,56px)}
/* Mannschaftskacheln mit Trainingszeiten */
.sgm-tile small{display:block;margin-top:6px;font-size:.88rem;line-height:1.35}
.sgm-tile small+small{margin-top:2px}
.sgm-tile small::before{content:none}
.sgm-tile .sgm-punkt{width:9px;height:9px;margin-right:7px;vertical-align:middle}
/* Trainiert hier: */
.sgm-chips{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0 6px}
.sgm-chip{display:inline-block;padding:4px 10px;border-radius:999px;background:#eef3fa;color:#1f3f8f!important;font-size:.85rem;font-weight:600;text-decoration:none!important}
.sgm-chip:hover{background:#dbe7f7}
/* Handy: kompaktere Kacheln, zwei pro Zeile */
@media (max-width:600px){
  .sgm-tiles{grid-template-columns:repeat(2,1fr);gap:12px}
  .sgm-tile{padding:14px}
  .sgm-tile b{font-size:1.35rem}
  .sgm-orte,.sgm-vereine{grid-template-columns:1fr}
}
/* Bewegung reduzieren, wenn das Gerät es wünscht */
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .sgm-tile,.sgm-verein,.sgm-ort,.sgm-info-karte,.sgm-btn{transition:none}
  .sgm-tile:hover,.sgm-verein:hover,.sgm-ort:hover,.sgm-info-karte:hover,.sgm-btn:hover{transform:none}
}

/* ---------- v1.21: Suche, nächstes Training, Kalender, Handy-Button, Druck ---------- */
.sgm-filter{width:100%;max-width:460px;padding:12px 16px;border:1px solid #cfd6e1;border-radius:999px;font-size:1rem;background:#fff;box-shadow:var(--sgm-schatten)}
.sgm-filter:focus{border-color:var(--sgm-akzent);outline:none;box-shadow:0 0 0 3px rgba(58,143,214,.3)}
.sgm-next{display:block;margin:0 0 12px;padding:10px 14px;border-radius:10px;background:#eef3fa;color:#1f3f8f;font-weight:700}
.sgm-next[hidden]{display:none!important}
.sgm-kal{margin:12px 0 0}.sgm-kal a{font-weight:700}
.sgm-fab{display:none}
@media (max-width:767px){
  .sgm-fab{display:inline-flex;align-items:center;position:fixed;right:16px;bottom:calc(16px + env(safe-area-inset-bottom,0px));z-index:90;min-height:48px;padding:0 22px;border-radius:999px;background:var(--sgm-akzent);color:#fff!important;font-weight:700;text-decoration:none!important;box-shadow:0 8px 24px rgba(10,13,18,.35)}
  #colophon{padding-bottom:72px}
}
@media print{
  #masthead,#colophon,.sgm-fab,.sgm-filter,.sgm-kal,.menu-anmelden,.sgm-teamhero::after{display:none!important}
  body{background:#fff!important}
  .sgm-teamhero{background:#fff!important;color:#000!important;padding:0!important;width:auto!important;margin:0!important}
  .sgm-team-titel,.sgm-crumb,.sgm-crumb a{color:#000!important}
  .sgm-tile,.sgm-ort,.sgm-training,.sgm-info-karte{box-shadow:none!important;break-inside:avoid}
}

/* ---------- v1.22: einheitliche Darstellung der Trainingsplätze ---------- */
.sgm-ort-badge{display:inline-flex;align-items:center;gap:6px;padding:3px 10px;border-radius:999px;background:#eef3fa;background:color-mix(in srgb,var(--c) 12%,#fff);color:#1d2521;font-size:.85rem;font-weight:600;line-height:1.4;white-space:nowrap}
.sgm-ort-badge::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--c);flex:none}
.sgm-ort-badge em{font-style:normal;font-weight:400;color:#4b5563}
/* Mannschaftskachel: Tage, Zeit, Plätze */
.sgm-tile-tage{margin-top:8px;font-size:.92rem;font-weight:600;color:#1d2521}
.sgm-tile .sgm-ort-badge{margin:6px 6px 0 0;font-size:.8rem}
/* Trainingskasten auf der Mannschaftsseite */
.sgm-training{gap:0}
.sgm-ort-eine{margin:0 0 6px}
.sgm-tr{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;gap:4px 14px;padding:10px 0;border-top:1px solid #eef1f5}
.sgm-ort-eine+.sgm-tr{border-top:0}
.sgm-tr b{min-width:6.5em}
.sgm-tr-zeit{color:#4b5563}
.sgm-tr .sgm-ort-badge{margin-left:auto}
/* Trainingszeiten-Tabelle */
.sgm-trainingstabelle td{vertical-align:top}
.sgm-tz+.sgm-tz{margin-top:8px}
.sgm-trainingstabelle td small{color:#4b5563}
.sgm-label{display:block;font-weight:700;margin:0 0 6px}
select.sgm-filter{cursor:pointer;min-height:46px}
/* Trainingsplätze */
.sgm-ort h3{margin:0}
.sgm-ort small{display:block;margin-top:2px}
.sgm-karte{display:inline-block;margin-top:6px}
@media (max-width:600px){.sgm-tr .sgm-ort-badge{margin-left:0}}

/* ---------- Vorlagen (drei Schritte, App-Buttons) ---------- */
.sgm-schritte{gap:20px;counter-reset:sgm-s;margin:28px 0}
.sgm-schritte>.wp-block-column{display:flex}
.sgm-schritt{counter-increment:sgm-s;width:100%;background:#fff;border:1px solid #e6eaf0;border-radius:var(--sgm-radius);box-shadow:var(--sgm-schatten);padding:24px!important}
.sgm-schritt::before{content:counter(sgm-s);display:flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:50%;background:var(--sgm-akzent);color:#fff;font-family:var(--sgm-anzeige);font-weight:800;font-size:1.5rem;margin-bottom:14px}
.sgm-schritt h3{margin:0 0 6px!important}
.sgm-schritt p{margin:0;color:#4b5563}
.sgm-store-buttons{gap:12px;margin:8px 0 24px}
.sgm-store-buttons .wp-block-button__link{background:#0a0d12;color:#fff;font-weight:700;padding:12px 24px;transition:background .15s ease,transform .15s ease}
.sgm-store-buttons .wp-block-button__link:hover{background:var(--sgm-akzent);transform:translateY(-1px)}

/* Vier Karten: auf dem Tablet zwei mal zwei */
@media (min-width:782px) and (max-width:1000px){
  .sgm-schritte,.sgm-karten{flex-wrap:wrap!important}
  .sgm-schritte>.wp-block-column,.sgm-karten>.wp-block-column{flex-basis:calc(50% - 10px)!important;flex-grow:0!important}
}

/* ---------- Karten mit Button (Kurse, Vereine) ---------- */
.sgm-karten{gap:20px;margin:24px 0}
.sgm-karten>.wp-block-column{display:flex}
.sgm-karte{width:100%;background:#fff;border:1px solid #e6eaf0;border-top:6px solid var(--sgm-akzent);border-radius:var(--sgm-radius);box-shadow:var(--sgm-schatten);padding:22px!important}
.sgm-karte h3{margin:0 0 4px!important}
.sgm-karte p{margin:0 0 14px;color:#4b5563}
.sgm-karten-button{margin:0}
.sgm-karten-button .wp-block-button__link{background:var(--sgm-akzent);color:#fff;font-weight:700;padding:10px 20px;transition:background .15s ease}
.sgm-karten-button .wp-block-button__link:hover{background:#0a0d12}

/* ---------- v1.26: Hinweisbalken, Mitmachen-Band, Probetraining-Buttons ---------- */
.sgm-hinweis{background:#fff3cd;color:#4d3a00;padding:10px 16px;text-align:center;font-weight:600;font-size:.95rem}
.sgm-hinweis a{color:#4d3a00;text-decoration:underline}
.sgm-cta-btns{display:flex;flex-wrap:wrap;gap:10px}
.sgm-btn-hell{background:transparent;color:#fff!important;border:2px solid #fff}
.sgm-btn-hell:hover{background:#fff;color:#1f4e9e!important}
.sgm-band{background:linear-gradient(135deg,#1f4e9e 0%,#16243f 100%);color:#fff;border-radius:var(--sgm-radius);padding:clamp(24px,4vw,44px)!important;margin:32px 0}
.sgm-band h2{color:#fff;margin:0 0 8px!important}
.sgm-band p{color:#e6ecf7;margin:0 0 18px}
.sgm-band-buttons .wp-block-button__link{font-weight:700;padding:12px 24px;transition:transform .15s ease,background .15s ease}
.sgm-band-buttons .wp-block-button:first-child .wp-block-button__link{background:#fff;color:#0a0d12}
.sgm-band-buttons .wp-block-button:last-child .wp-block-button__link{background:transparent;border:2px solid #fff;color:#fff}
.sgm-band-buttons .wp-block-button__link:hover{transform:translateY(-1px)}

/* ---------- v1.27: ausgebaute Fußzeile, Häufige Fragen ---------- */
.sgm-footer-info{display:none}
.sgm-footer-info.sgm-bereit{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:28px;max-width:var(--global-content-width,1200px);margin:0 auto;padding:40px 20px 16px;color:#c7d2e4;font-size:.95rem}
.sgm-footer-info b{display:block;color:#fff;font-family:var(--sgm-anzeige);text-transform:uppercase;font-weight:800;font-size:1.2rem;margin-bottom:8px}
.sgm-footer-info ul{list-style:none;margin:0;padding:0}
.sgm-footer-info li{margin:5px 0}
.sgm-footer-info p{margin:0 0 8px;color:#9fb0c8}
.sgm-footer-info a{color:#fff!important;text-decoration:none!important}
.sgm-footer-info a:hover{color:#3a8fd6!important}
@media (max-width:767px){.sgm-footer-info.sgm-bereit{text-align:center;gap:22px}}
.wp-block-details{background:#fff;border:1px solid #e6eaf0;border-radius:12px;padding:14px 18px;margin:0 0 10px;box-shadow:var(--sgm-schatten)}
.wp-block-details summary{font-weight:700;cursor:pointer}
.wp-block-details[open] summary{margin-bottom:8px}
.wp-block-details p{margin:0;color:#4b5563}
@media print{.sgm-footer-info{display:none!important}}

/* Trainer ohne Foto (wenn der Dummy-Modus aus ist) */
.sgm-ohne-foto{display:flex;align-items:center;justify-content:center;aspect-ratio:1/1;background:#e3e8f0;color:#9aa7ba;border-radius:10px}
.sgm-ohne-foto svg{width:50%;height:auto}

/* ---------- v1.30.3: Badges auf Kacheln, Mitmachen-Band mittig, Mannschaftsseiten mittig ---------- */
/* Trainingsplatz-Marke: nie breiter als ihr Kasten; auf den schmalen Kacheln ohne Zusatz "Kunstrasen" */
.sgm-ort-badge{max-width:100%}
.sgm-tile .sgm-ort-badge{flex-wrap:wrap;white-space:normal}
.sgm-tile .sgm-ort-badge em{display:none}
/* Mitmachen-Band mittig */
.sgm-band{text-align:center}
.sgm-band .wp-block-buttons,.sgm-band-buttons{justify-content:center}
/* Mannschaftsseiten: Überschriften und Inhalte mittig */
.sgm-teamseite .sgm-h2{text-align:center}
.sgm-teamseite .sgm-2col{max-width:980px;margin-left:auto;margin-right:auto;justify-content:center}
.sgm-teamseite .sgm-training{text-align:center}
.sgm-teamseite .sgm-ort-eine,.sgm-teamseite .sgm-next,.sgm-teamseite .sgm-kal,.sgm-teamseite .sgm-plaetze-link{text-align:center}
.sgm-teamseite .sgm-tr{justify-content:center}
.sgm-teamseite .sgm-tr .sgm-ort-badge{margin-left:0}
.sgm-teamseite .sgm-trainerslot{display:flex;flex-wrap:wrap;justify-content:center;gap:16px}
.sgm-teamseite .sgm-trainerslot .sgm-dummy-karte{width:200px;max-width:100%;text-align:center}
.sgm-teamseite .sgm-fd{flex-direction:column;justify-content:center;text-align:center}
.sgm-teamseite .sgm-fd-btns{justify-content:center}
.sgm-teamseite .sgm-cta{flex-direction:column;justify-content:center;text-align:center}
.sgm-teamseite .sgm-cta-btns{justify-content:center}
.sgm-teamseite .sgm-dummy-logos{justify-content:center}

/* ---------- v1.30.4: keine Wörter mitten im Titel umbrechen (Schritte und Karten) ---------- */
.sgm-schritt h3,.sgm-karte h3{font-size:clamp(1.05rem,1.55vw + .2rem,1.45rem)!important;line-height:1.12!important;overflow-wrap:normal!important;word-break:normal!important;-webkit-hyphens:none!important;hyphens:none!important}
.sgm-schritt,.sgm-karte{padding:22px 20px!important}

/* ---------- v1.30.5: Links als Buttons statt unterstrichenem Text ---------- */
:is(body.sgm-seite:not(.sgm-slug-impressum):not(.sgm-slug-datenschutz) .sgm-inhalt>p>a:not([class]),body.sgm-seite:not(.sgm-slug-impressum):not(.sgm-slug-datenschutz) .sgm-inhalt>ul>li>a:not([class]),body.sgm-seite:not(.sgm-slug-impressum):not(.sgm-slug-datenschutz) .sgm-inhalt>ol>li>a:not([class]),.sgm-kal a,.sgm-plaetze-link a,a.sgm-kartenlink){display:inline-flex;align-items:center;gap:8px;padding:8px 16px;margin:4px 6px 4px 0;border-radius:999px;background:#e8f0fb;color:#1f3f8f!important;font-weight:700;line-height:1.3;text-decoration:none!important;transition:background .15s ease,color .15s ease}
:is(body.sgm-seite:not(.sgm-slug-impressum):not(.sgm-slug-datenschutz) .sgm-inhalt>p>a:not([class]),body.sgm-seite:not(.sgm-slug-impressum):not(.sgm-slug-datenschutz) .sgm-inhalt>ul>li>a:not([class]),body.sgm-seite:not(.sgm-slug-impressum):not(.sgm-slug-datenschutz) .sgm-inhalt>ol>li>a:not([class]),.sgm-kal a,.sgm-plaetze-link a,a.sgm-kartenlink)::after{content:"\2192";font-weight:700}
:is(body.sgm-seite:not(.sgm-slug-impressum):not(.sgm-slug-datenschutz) .sgm-inhalt>p>a:not([class]),body.sgm-seite:not(.sgm-slug-impressum):not(.sgm-slug-datenschutz) .sgm-inhalt>ul>li>a:not([class]),body.sgm-seite:not(.sgm-slug-impressum):not(.sgm-slug-datenschutz) .sgm-inhalt>ol>li>a:not([class]),.sgm-kal a,.sgm-plaetze-link a,a.sgm-kartenlink)[target="_blank"]::after{content:"\2197"}
:is(body.sgm-seite:not(.sgm-slug-impressum):not(.sgm-slug-datenschutz) .sgm-inhalt>p>a:not([class]),body.sgm-seite:not(.sgm-slug-impressum):not(.sgm-slug-datenschutz) .sgm-inhalt>ul>li>a:not([class]),body.sgm-seite:not(.sgm-slug-impressum):not(.sgm-slug-datenschutz) .sgm-inhalt>ol>li>a:not([class]),.sgm-kal a,.sgm-plaetze-link a,a.sgm-kartenlink)[href^="mailto:"]::after{content:"\2709"}
:is(body.sgm-seite:not(.sgm-slug-impressum):not(.sgm-slug-datenschutz) .sgm-inhalt>p>a:not([class]),body.sgm-seite:not(.sgm-slug-impressum):not(.sgm-slug-datenschutz) .sgm-inhalt>ul>li>a:not([class]),body.sgm-seite:not(.sgm-slug-impressum):not(.sgm-slug-datenschutz) .sgm-inhalt>ol>li>a:not([class]),.sgm-kal a,.sgm-plaetze-link a,a.sgm-kartenlink):hover{background:var(--sgm-akzent);color:#fff!important}
.sgm-kartenlink{margin-top:10px!important}
/* Namenskonflikt: der Kartenlink darf nicht wie eine Karte aussehen */
a.sgm-kartenlink{width:auto;box-shadow:none;border:0}

/* ---------- v1.30.6: Mannschaftsfoto nicht beschneiden, nur zentrieren ---------- */
.sgm-teamfoto img{width:auto;max-width:min(100%,960px);max-height:none;height:auto;object-fit:contain;display:block;margin:0 auto}
.sgm-teamfoto .sgm-dummy{max-width:960px;margin:0 auto}

/* ---------- v1.32: Wappen groß und hängend, schrumpft beim Scrollen; Wasserzeichen ---------- */
:root{--sgm-wappen:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 116'%3E%3Cpath d='M4 4H96V70Q96 98 50 112Q4 98 4 70Z' fill='none' stroke='white' stroke-width='5'/%3E%3Ctext x='50' y='38' font-family='Arial,Helvetica,sans-serif' font-weight='900' font-size='30' text-anchor='middle' fill='white'%3ESGM%3C/text%3E%3Ctext x='50' y='53' font-family='Arial,Helvetica,sans-serif' font-weight='700' font-size='9' text-anchor='middle' fill='white'%3EPLIEZHAUSEN%3C/text%3E%3Crect x='15' y='62' width='70' height='4' fill='%231f4e9e'/%3E%3Crect x='15' y='68' width='70' height='4' fill='%233a8fd6'/%3E%3Crect x='15' y='74' width='70' height='4' fill='%231e9a4b'/%3E%3Crect x='15' y='80' width='70' height='4' fill='%23d6254a'/%3E%3C/svg%3E")}
#masthead .site-branding{position:relative;z-index:130}
#masthead .site-branding img.custom-logo{position:relative;z-index:130;transform-origin:top left;transform:scale(1.55);filter:drop-shadow(0 6px 10px rgba(10,13,18,.28));transition:transform .25s ease,filter .25s ease}
body.sgm-scrolled #masthead .site-branding img.custom-logo{transform:scale(1);filter:none}
@media (max-width:767px){#masthead .site-branding img.custom-logo{transform:scale(1.3)}body.sgm-scrolled #masthead .site-branding img.custom-logo{transform:scale(1)}}
@media (prefers-reduced-motion:reduce){#masthead .site-branding img.custom-logo{transition:none}}
.sgm-hero{position:relative;overflow:hidden}
.sgm-hero::before{content:"";position:absolute;right:max(20px,calc((100vw - var(--sgm-w,1200px))/2 + 20px));top:50%;transform:translateY(-50%);width:clamp(180px,26vw,380px);aspect-ratio:100/116;background:var(--sgm-wappen) center/contain no-repeat;opacity:.12;pointer-events:none}
.sgm-hero>*{position:relative}
.sgm-teamhero::before{content:"";position:absolute;right:max(20px,calc((100vw - 1200px)/2 + 20px));top:50%;transform:translateY(-50%);width:clamp(70px,9vw,120px);aspect-ratio:100/116;background:var(--sgm-wappen) center/contain no-repeat;opacity:.22;pointer-events:none}
@media (max-width:600px){.sgm-teamhero::before{display:none}}

/* ---------- v1.32.1: Wappen im Footer ---------- */
.sgm-footer-info .sgm-footer-wappen{grid-column:1/-1;width:96px;aspect-ratio:100/116;margin:0 auto;background:var(--sgm-wappen) center/contain no-repeat}
.sgm-footer-info .sgm-footer-seit{grid-column:1/-1;margin:-14px 0 10px;text-align:center;font-family:var(--sgm-anzeige);font-weight:800;text-transform:uppercase;letter-spacing:.22em;font-size:1rem;color:#9fb0c8}

/* ---------- v1.32.2: Wappen als hängende Plakette, Wasserzeichen dezenter ---------- */
#masthead .site-branding img.custom-logo{border-radius:0 0 18px 18px;background:#fff}
body.sgm-scrolled #masthead .site-branding img.custom-logo{border-radius:0 0 10px 10px}
.sgm-hero::before{opacity:.09}

/* ---------- v1.32.3: Footer mittig, ohne Doppelungen ---------- */
.sgm-footer-info.sgm-bereit{grid-template-columns:repeat(auto-fit,minmax(200px,240px));justify-content:center;gap:34px 56px;text-align:center;max-width:1160px;padding:44px 20px 32px;border-bottom:1px solid rgba(255,255,255,.08)}
.sgm-footer-info a{overflow-wrap:anywhere}
.sgm-footer-info b{margin-bottom:10px}
.sgm-footer-info li{margin:7px 0}
.sgm-footer-info p{margin:0 0 10px;line-height:1.55}
#colophon .footer-navigation{width:100%}
#colophon .footer-navigation ul.menu{display:flex;flex-wrap:wrap;justify-content:center;gap:10px 30px}

/* ---------- v1.32.4: vier Spalten nebeneinander, Footer-Menü in einer Reihe ---------- */
.sgm-footer-info.sgm-bereit{grid-template-columns:repeat(auto-fit,minmax(190px,220px));gap:34px 40px;border-bottom:0}
.sgm-footer-info .footer-navigation{grid-column:1/-1;margin-top:6px;padding-top:26px;border-top:1px solid rgba(255,255,255,.08);width:100%}
.sgm-footer-info .footer-navigation .menu-container{display:block}
.sgm-footer-info .footer-navigation ul.menu{display:flex;flex-wrap:wrap;justify-content:center;gap:10px 30px;margin:0;padding:0;list-style:none}
.sgm-footer-info .footer-navigation li{margin:0}

/* ---------- v1.32.5: Footer mit drei Spalten und eigener, mittiger Linkzeile ---------- */
#colophon .site-top-footer-wrap{display:none}
.sgm-footer-info .sgm-footer-recht{grid-column:1/-1;display:flex;flex-wrap:wrap;justify-content:center;gap:10px 32px;margin-top:6px;padding-top:26px;border-top:1px solid rgba(255,255,255,.08);text-align:center}
.sgm-footer-info .sgm-footer-recht a{font-weight:800;letter-spacing:.08em;text-transform:uppercase;font-size:.85rem}

/* ---------- v1.32.6: alte Footer-Linkzeile des Themes ausblenden ---------- */
#colophon .footer-navigation{display:none!important}

/* ---------- v1.32.7: Footer wirklich mittig (Spalten in eigenem Container) ---------- */
.sgm-footer-info.sgm-bereit{display:block!important;text-align:center;max-width:1160px;margin:0 auto;padding:44px 20px 32px;border-bottom:0}
.sgm-footer-info .sgm-footer-wappen{margin:0 auto}
.sgm-footer-info .sgm-footer-seit{margin:10px 0 38px}
.sgm-footer-info .sgm-footer-spalten{display:flex;flex-wrap:wrap;justify-content:center;gap:34px 72px}
.sgm-footer-info .sgm-footer-spalte{flex:0 1 210px;min-width:0}
.sgm-footer-info .sgm-footer-recht{margin-top:42px}

/* ---------- v1.33: Jugendleitung als Karten mit Foto ---------- */
.sgm-jl{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,240px));gap:24px;justify-content:center;margin:24px 0}
.sgm-jl-karte{background:#fff;border:1px solid #dde2dc;border-top:8px solid var(--sgm-akzent);border-radius:10px;padding:16px;text-align:center;align-items:stretch}
.sgm-jl-karte b{font-family:var(--sgm-anzeige);text-transform:uppercase;font-size:1.4rem;font-weight:800;line-height:1.1;margin-top:10px}
.sgm-jl-karte .sgm-quadrat-echt{width:100%}
.sgm-jl-kontakt{display:flex;flex-direction:column;gap:8px;margin-top:12px}
.sgm-jl-mail{display:block;text-align:center;font-size:.9rem;padding:.55em 1em}
.sgm-jl-frei{border-top-color:#c3cbd6;border-style:dashed;border-top-style:solid}
.sgm-jl-frei b{color:#4b5563}
.sgm-jl-leer{background:#f3f5f8;border:2px dashed #c3cbd6}
.sgm-jl-hinweis{text-align:center;margin:28px 0}

/* ---------- v1.33.1: Jugendleitung Feinschliff (Abstand oben, sichtbare Buttons) ---------- */
.sgm-jl{margin:56px 0 24px}
.sgm-jl-kontakt{margin-top:auto;padding-top:14px}
.sgm-jl-karte .sgm-jl-mail,.sgm-jl-hinweis .sgm-btn{background:var(--sgm-akzent);color:#fff!important;justify-content:center;margin:0}
.sgm-jl-karte .sgm-jl-mail:hover,.sgm-jl-hinweis .sgm-btn:hover{background:var(--sgm-hellblau)}
.sgm-jl-frei .sgm-jl-mail{background:#fff;color:var(--sgm-akzent)!important;border:2px solid var(--sgm-akzent)}
.sgm-jl-frei .sgm-jl-mail:hover{background:var(--sgm-akzent);color:#fff!important}

/* ---------- v1.33.2: Jugendleitung nutzt das normale Seiten-Kopfband ---------- */
.sgm-slug-jugendleitung .sgm-inhalt>p:empty{display:none}

/* ---------- v1.33.4: Jugendleitung-Button mittig ---------- */
.sgm-inhalt .sgm-jl-hinweis{max-width:none;margin:32px 0;display:flex;justify-content:center}
.sgm-inhalt .sgm-jl{max-width:none}

/* ---------- v1.34: Google-Karte mit Zwei-Klick-Lösung ---------- */
.sgm-karte-box{margin:12px 0;border-radius:10px;overflow:hidden;background:#eef2f7;aspect-ratio:4/3;display:flex}
.sgm-karte-box iframe{width:100%;height:100%;border:0;display:block}
.sgm-karte-hinweis{margin:auto;padding:16px;text-align:center}
.sgm-karte-hinweis p{margin:0 0 12px!important;font-size:.85rem;color:#4b5563;font-weight:400}
.sgm-karte-hinweis a{font-weight:400}
.sgm-karte-laden{background:var(--sgm-akzent);color:#fff!important;border:0;cursor:pointer;font-size:.95rem;margin:0}
.sgm-karte-laden:hover{background:var(--sgm-hellblau)}

/* ---------- v1.34.1: Brotkrumen nicht mehr vom hängenden Wappen verdeckt ---------- */
@media (min-width:601px){
.sgm-teamhero,.sgm-seitenhero{padding-top:72px!important}
}
@media (max-width:600px){
.sgm-teamhero,.sgm-seitenhero{padding-top:56px!important}
}

/* ---------- v1.34.3: Trainingszeile einheitlich: Tag und Zeit oben, Ort immer darunter ---------- */
.sgm-tr{flex-direction:column;align-items:flex-start;gap:6px}
.sgm-tr-kopf{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 14px}
.sgm-tr .sgm-ort-badge{margin-left:0}
.sgm-teamseite .sgm-tr{align-items:center}
.sgm-teamseite .sgm-tr-kopf{justify-content:center}
.sgm-teamseite .sgm-tr b{min-width:0}

/* ---------- v1.35: Kontakt-Seite als Karten ---------- */
.sgm-kontakt{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,300px));gap:24px;justify-content:center;margin:48px 0 24px}
.sgm-kontakt-karte{background:#fff;border:1px solid #dde2dc;border-top:8px solid var(--sgm-akzent);border-radius:10px;padding:24px 20px;text-align:center;display:flex;flex-direction:column;align-items:center;box-shadow:var(--sgm-schatten)}
.sgm-kontakt-icon{width:56px;height:56px;border-radius:50%;background:#e8f0fb;color:var(--sgm-akzent);display:flex;align-items:center;justify-content:center;margin-bottom:10px}
.sgm-kontakt-icon svg{width:28px;height:28px}
.sgm-inhalt .sgm-kontakt-karte h3{margin:0 0 6px;font-family:var(--sgm-anzeige);text-transform:uppercase;font-size:1.5rem}
.sgm-kontakt-karte p{margin:0 0 10px;color:#4b5563;max-width:none}
.sgm-kontakt-karte .sgm-kontakt-wert{color:var(--sgm-dunkel);font-weight:700;overflow-wrap:anywhere}
.sgm-kontakt-karte .sgm-btn{margin:auto 0 0;background:var(--sgm-akzent);color:#fff!important;justify-content:center}
.sgm-kontakt-karte .sgm-btn:hover{background:var(--sgm-hellblau)}

/* ---------- v1.35.1: Kontakt: E-Mail bricht nur nach dem @, Karten mittig ---------- */
.sgm-inhalt .sgm-kontakt{max-width:none}
.sgm-kontakt-karte .sgm-kontakt-wert{overflow-wrap:normal;font-size:.95rem}

/* ---------- v1.36: Trainer-gesucht-Seite: Karten mit Aufzählung ---------- */
.sgm-karte-liste ul{list-style:none;margin:0;padding:0;text-align:left}
.sgm-karte-liste li{position:relative;padding:6px 0 6px 30px;margin:0;color:#1f2937}
.sgm-karte-liste li::before{content:"";position:absolute;left:0;top:.7em;width:18px;height:18px;border-radius:50%;background:var(--sgm-akzent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center/70% no-repeat}
.sgm-karte-liste h3{text-align:left}

/* ---------- v1.36.1: Aufzählung in Karten bündig mit der Überschrift ---------- */
.sgm-karte.sgm-karte-liste ul.wp-block-list{padding-left:0!important;margin-left:0!important;margin-top:6px!important}

/* ---------- v1.37.1: Kinderschutz: Verhaltenskodex als nummerierte Karten (zwei pro Reihe) ---------- */
.sgm-kodex-wrap{counter-reset:sgm-s;margin:24px 0}
.sgm-kodex-reihe{gap:20px;margin:0 0 20px}
.sgm-kodex-reihe>.wp-block-column{display:flex}

/* ---------- v1.38: Hallenturnier: Termine und Anmeldung ---------- */
.sgm-tm{max-width:980px;margin:0 auto}
.sgm-inhalt .sgm-tm{max-width:980px}
.sgm-tm h3{margin:32px 0 10px}
.sgm-tm h4{margin:0 0 10px;font-family:var(--sgm-anzeige);text-transform:uppercase;font-size:1.3rem;color:var(--sgm-akzent)}
.sgm-tm-hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.sgm-tm-hilfe{color:#4b5563;margin:0 0 14px}
.sgm-tm-felder{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 18px}
.sgm-tm-felder label,.sgm-tm-notiz{display:flex;flex-direction:column;gap:6px;font-weight:700;font-size:.95rem}
.sgm-tm input[type=text],.sgm-tm input[type=email],.sgm-tm input[type=tel],.sgm-tm textarea,.sgm-tm select{width:100%;padding:12px 14px;border:1px solid #c9d1dc;border-radius:10px;background:#fff;font:inherit;font-weight:400;box-sizing:border-box}
.sgm-tm select{width:auto;min-width:4.5em;padding:8px 10px}
.sgm-tm input:focus,.sgm-tm textarea:focus,.sgm-tm select:focus{outline:3px solid #bcd0f2;border-color:var(--sgm-akzent)}
.sgm-tm-woche{background:#fff;border:1px solid #e6eaf0;border-top:6px solid var(--sgm-akzent);border-radius:var(--sgm-radius);box-shadow:var(--sgm-schatten);padding:18px 18px 8px;margin:0 0 20px}
.sgm-tm-zeile{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;padding:12px 10px;margin:0 -10px;border-top:1px solid #eef1f5;border-radius:10px}
.sgm-tm-zeile:first-of-type{border-top:0}
.sgm-tm-zeile.sgm-tm-an{background:#eef4fd}
.sgm-tm-wahl{display:flex;flex-wrap:wrap;align-items:center;gap:6px 16px;flex:1 1 420px;cursor:pointer;margin:0;font-weight:400}
.sgm-tm-ansicht .sgm-tm-wahl{cursor:default}
.sgm-tm-wahl input[type=checkbox]{width:22px;height:22px;flex:none;accent-color:var(--sgm-akzent)}
.sgm-tm-tag{display:flex;flex-direction:column;min-width:13.5em;line-height:1.25}
.sgm-tm-tag em{font-style:normal;color:#4b5563;font-size:.92rem}
.sgm-tm-klasse{font-weight:700;flex:1 1 11em}
.sgm-tm-badge{display:inline-block;padding:3px 10px;border-radius:999px;background:#e8f6ed;color:#14653a;font-size:.85rem;font-weight:700;white-space:nowrap}
.sgm-tm-badge.sgm-tm-voll{background:#fdecec;color:#a11b2b}
.sgm-tm-teams{display:flex;align-items:center;gap:8px;font-size:.92rem;margin:0}
.sgm-tm-check{display:flex;gap:10px;align-items:flex-start;margin:18px 0}
.sgm-tm-check input{width:22px;height:22px;flex:none;margin-top:2px;accent-color:var(--sgm-akzent)}
.sgm-tm-senden{margin:18px 0 0}
.sgm-tm-senden .sgm-btn{background:var(--sgm-akzent);color:#fff!important;border:0;cursor:pointer;font-size:1.05rem;padding:14px 32px}
.sgm-tm-senden .sgm-btn:hover{background:var(--sgm-hellblau)}
.sgm-tm-ok{background:#e8f6ed;border:1px solid #b9e2c8;border-radius:var(--sgm-radius);padding:24px;text-align:center}
.sgm-tm-ok h3{margin:0 0 6px;color:#14653a}
.sgm-tm-fehler{background:#fdecec;border:1px solid #f3b9bf;color:#7d1420;border-radius:10px;padding:12px 16px;margin:14px 0;font-weight:700}
.sgm-tm-zu{background:#fff4dc;border:1px solid #f0d58f;border-radius:10px;padding:12px 16px;margin:0 0 18px}
.sgm-tm-schluss,.sgm-tm-startgeld{margin:0 0 8px}
@media (max-width:700px){.sgm-tm-felder{grid-template-columns:1fr}.sgm-tm-tag{min-width:0}}

/* ---------- v1.39: Turnierseite: Eckdaten als große Zahlen ---------- */
.sgm-zahlen{gap:20px;margin:28px 0}
.sgm-zahlen>.wp-block-column{display:flex}
.sgm-zahl{width:100%;text-align:center;background:linear-gradient(135deg,#1f4e9e 0%,#16243f 100%);color:#fff;border-radius:var(--sgm-radius);padding:22px 16px!important}
.sgm-zahl p{margin:0;color:inherit}
.sgm-zahl .sgm-zahl-wert{font-family:var(--sgm-anzeige);font-size:clamp(2.4rem,5vw,3.6rem);font-weight:800;line-height:1}
.sgm-zahl .sgm-zahl-text{font-size:.95rem;margin-top:6px;color:#dbe5f6}
@media (max-width:781px){.sgm-zahlen{flex-wrap:wrap!important}.sgm-zahlen>.wp-block-column{flex-basis:calc(50% - 10px)!important;flex-grow:0!important}}

/* v1.40: Auswahlverfahren */
.sgm-tm-hinweis{background:#eef3fb;border:1px solid #cbd9f0;border-radius:10px;padding:12px 16px;margin:0 0 18px;text-align:left}
.sgm-tm-pdf{text-align:center;margin:0 0 14px}
.sgm-tm-schluss,.sgm-tm-startgeld{text-align:center;margin:0 0 8px}
.sgm-tm-eins{font-size:.9em;color:#50575e}

/* v1.41: Turnierband (Startseite) und Namenssponsor */
.sgm-turnierband{width:100vw;margin:40px 0 40px calc(50% - 50vw);box-sizing:border-box;background:linear-gradient(135deg,#0a0d12 0%,#16243f 85%);color:#fff;padding:clamp(32px,5vw,56px) max(20px,calc((100vw - var(--sgm-w))/2 + 20px));display:flex;flex-wrap:wrap;gap:28px 48px;align-items:center;justify-content:center;text-align:center}
.sgm-turnierband-text{flex:1 1 360px;max-width:640px}
.sgm-turnierband .sgm-kicker{display:block;font-size:.8rem;letter-spacing:.12em;text-transform:uppercase;opacity:.8;margin-bottom:8px}
.sgm-turnierband h2{color:#fff;margin:0 0 10px;font-size:clamp(1.6rem,4vw,2.4rem);line-height:1.15}
.sgm-turnierband p{margin:0 0 14px;color:#e6ebf5}
.sgm-turnierband-btns{display:flex;flex-wrap:wrap;gap:12px;justify-content:center;margin:18px 0 0!important}
.sgm-namens-klein{flex:0 1 260px;background:#fff;border-radius:var(--sgm-radius);padding:16px 20px;color:#16243f;text-align:center;box-shadow:0 6px 24px rgba(0,0,0,.25)}
.sgm-namens-klein span{display:block;font-size:.75rem;letter-spacing:.12em;text-transform:uppercase;color:#5b6577;margin-bottom:8px}
.sgm-namens-logo img{max-width:100%;max-height:90px;width:auto;height:auto;object-fit:contain}
.sgm-namens-logo a{display:inline-block}
.sgm-namens{display:flex;flex-wrap:wrap;gap:20px 40px;align-items:center;justify-content:center;text-align:center;background:linear-gradient(135deg,#f4f7fc 0%,#e6edf9 100%);border:2px solid #1f4e9e;border-radius:var(--sgm-radius);padding:28px 24px;margin:0 0 28px}
.sgm-namens-text{flex:1 1 280px}
.sgm-namens-kicker{display:inline-block;background:#1f4e9e;color:#fff;font-size:.75rem;letter-spacing:.12em;text-transform:uppercase;border-radius:999px;padding:4px 14px;margin-bottom:10px}
.sgm-namens-text b{display:block;font-size:clamp(1.3rem,3vw,1.8rem);color:#16243f}
.sgm-namens-text p{margin:8px 0 0;color:#50575e}
.sgm-namens .sgm-namens-logo{flex:0 1 300px;background:#fff;border-radius:12px;padding:18px}
.sgm-namens .sgm-namens-logo img{max-height:140px}
.sgm-turnierband .sgm-kicker{color:#cfd9ee!important}

/* v1.41.2: alles mittig, ohne Beschriftung "Namenssponsor" */
.sgm-turnierband{flex-direction:column;text-align:center}
.sgm-turnierband-text{margin:0 auto}
.sgm-namens-klein{margin:0 auto;flex:0 0 auto;width:min(100%,300px)}
.sgm-namens-logo{text-align:center}
.sgm-namens-logo a,.sgm-namens-logo img{display:block;margin:0 auto}
.sgm-namens{flex-direction:column;text-align:center}
.sgm-namens-text{flex:0 0 auto;margin:0 auto}
.sgm-namens .sgm-namens-logo{flex:0 0 auto;width:min(100%,320px);margin:0 auto}

/* v1.41.3: Turnierseite komplett mittig */
body.sgm-slug-hallenturnier .sgm-inhalt :is(h2,h3,h4,p,.sgm-h2){text-align:center}
body.sgm-slug-hallenturnier .sgm-karten{justify-content:center}
body.sgm-slug-hallenturnier .sgm-karten>.wp-block-column{flex:0 1 560px!important;max-width:560px;margin:0 auto}
body.sgm-slug-hallenturnier .sgm-karte-liste ul{display:inline-block;text-align:left;margin-left:auto;margin-right:auto}
body.sgm-slug-hallenturnier .sgm-tm-hinweis,body.sgm-slug-hallenturnier .sgm-tm-fehler{text-align:center}

/* v1.41.4: Der Website-Titel neben dem Logo wird nicht angezeigt (bleibt für Suchmaschinen und Screenreader im Code) */
#masthead .site-branding:has(.custom-logo) :is(.site-title,.site-description,.ast-site-title-wrap),
#masthead :is(.site-title,.site-description){position:absolute!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}

/* v1.42: durchgehend mittig (Startseite und Inhaltsseiten) */
.sgm-hero{text-align:center}
.sgm-hero p{margin-left:auto;margin-right:auto}
body.home .entry-content>:is(p,h2,.sgm-h2){text-align:center}
body.home .entry-content>p{margin-left:auto;margin-right:auto}
.sgm-tiles{display:flex;flex-wrap:wrap;justify-content:center;gap:16px}
.sgm-tiles>.sgm-tile{flex:0 1 calc((100% - 80px)/6);min-width:150px}
@media (max-width:767px){.sgm-tiles{gap:12px}.sgm-tiles>.sgm-tile{flex:0 1 calc(50% - 6px);min-width:0}}
.sgm-turnierband{gap:18px}
body.sgm-seite:not(.sgm-slug-impressum):not(.sgm-slug-datenschutz):not(.sgm-slug-chronik) .sgm-inhalt>:is(h2,h3,.sgm-h2){text-align:center}
body.sgm-seite:not(.sgm-slug-impressum):not(.sgm-slug-datenschutz):not(.sgm-slug-chronik):not(.sgm-slug-kinderschutz) .sgm-inhalt>p{text-align:center;margin-left:auto;margin-right:auto}
body.sgm-seite:not(.sgm-slug-impressum):not(.sgm-slug-datenschutz):not(.sgm-slug-chronik):not(.sgm-slug-kinderschutz) .sgm-inhalt>:is(ul,ol){width:fit-content;max-width:75ch;margin-left:auto;margin-right:auto}
.sgm-info-karte,.sgm-tile{text-align:center}
.sgm-tile *{justify-content:center}
.sgm-info-karte{display:flex;flex-direction:column;align-items:center}
.sgm-inhalt :is(.sgm-schritt,.sgm-karte,.sgm-verein),.sgm-inhalt :is(.sgm-schritt,.sgm-karte,.sgm-verein) :is(h2,h3,p){text-align:center}
.sgm-inhalt .sgm-karte-liste li{text-align:left}
.sgm-inhalt .wp-block-buttons{justify-content:center}
.sgm-sponsoren{display:flex;flex-wrap:wrap;justify-content:center;gap:16px}
.sgm-sponsoren>.sgm-logo-echt,.sgm-sponsoren>.sgm-dummy{flex:0 1 calc((100% - 96px)/7);min-width:130px}
.sgm-slug-chronik .sgm-inhalt{max-width:760px;margin-left:auto;margin-right:auto}
.sgm-band{margin-top:32px}
@media (max-width:767px){.sgm-sponsoren>.sgm-logo-echt,.sgm-sponsoren>.sgm-dummy{flex:0 1 calc(50% - 8px);min-width:0}}
.sgm-namens-solo{margin:0 auto 28px}
.sgm-turnierband-text>p:last-child{margin-bottom:0!important}
.sgm-turnierband{gap:6px 48px}
.sgm-turnierband-text{flex:0 0 auto;width:100%}

/* v1.42.10 Bestätigung nach Anmeldung: Anker mit Abstand zum Header, deutlicher */
#wintercup-anmeldung{scroll-margin-top:110px}
.sgm-tm-ok{padding:36px 24px;box-shadow:0 6px 24px rgba(20,101,58,.15)}
.sgm-tm-ok h3{font-size:1.6rem}
.sgm-tm-ok h3:before{content:"\2713";display:flex;align-items:center;justify-content:center;width:56px;height:56px;margin:0 auto 14px;border-radius:50%;background:#14653a;color:#fff;font-size:30px}

/* v1.42.16 Ansprechperson (Kinderschutz) mittig, passend zum Rest der Seite */
.sgm-person{margin:16px auto;justify-content:center;max-width:620px}
body.sgm-slug-kinderschutz .sgm-inhalt>p{text-align:center}

/* v1.44 Trainingsgruppen */
.sgm-tr-gruppe{display:inline-block;padding:2px 10px;border-radius:999px;background:#eaf1fb;color:#1f4e9e;font-size:.85rem;font-weight:700;white-space:nowrap}
.sgm-tr-gruppe.sgm-tr-wetter{background:#fff4d6;color:#8a5a00}

/* v1.45.1 Porträtfotos: Zuschnitt nach oben ausrichten, damit Köpfe nicht abgeschnitten werden */
.sgm-quadrat-echt img{object-position:50% 12%}

/* v1.46 Sponsoren-Bereiche (Trikot/Textil, Event/Veranstaltung) */
.sgm-stufen{display:flex;flex-direction:column;gap:34px;margin:12px 0}
.sgm-stufe{text-align:center}
.sgm-stufe-titel{font-family:var(--sgm-anzeige);text-transform:uppercase;letter-spacing:.08em;font-size:1.3rem;font-weight:700;color:var(--sgm-akzent);margin:0 0 14px}
.sgm-stufe .sgm-dummy-logos{margin:0}
.sgm-unterseiten{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin:34px 0 10px}
.sgm-unterseiten .sgm-btn{margin:0;background:var(--sgm-akzent);color:#fff!important}
.sgm-unterseiten .sgm-btn:hover{background:var(--sgm-hellblau)}
/* Fackellauf */
.sgm-fk{max-width:640px;margin:0 auto;text-align:center}
.sgm-fk-kopf h2{margin:0 0 6px}
.sgm-fk-wann{font-weight:700;color:var(--sgm-akzent);font-size:1.15rem;margin:0 0 14px}
.sgm-fk-intro{margin:0 0 24px}
.sgm-fk-form{text-align:left;background:#fff;border:1px solid #dde4ee;border-radius:var(--sgm-radius);padding:24px;box-shadow:0 6px 24px rgba(10,30,70,.06)}
.sgm-fk-form label{display:block;font-weight:600;margin:0 0 16px}
.sgm-fk-form label small{display:block;font-weight:400;color:#5b6678;margin:2px 0 4px}
.sgm-fk-form input[type=text],.sgm-fk-form input[type=number],.sgm-fk-form select{display:block;width:100%;margin-top:6px;padding:11px 12px;border:1px solid #c5cedb;border-radius:10px;font-size:16px;background:#fff}
.sgm-fk-zeile{display:grid;grid-template-columns:1fr 1fr;gap:0 14px}
.sgm-fk-form fieldset{border:0;padding:0;margin:0 0 16px}
.sgm-fk-form legend{font-weight:700;padding:0;margin-bottom:8px}
.sgm-fk-wahl label{display:flex;align-items:center;gap:10px;font-weight:500;margin:0 0 8px;padding:12px 14px;border:1px solid #c5cedb;border-radius:10px}
.sgm-fk-wahl input{width:auto;margin:0}
.sgm-fk-hinweis{font-size:.92rem;color:#5b6678;margin:0 0 10px}
.sgm-fk-sorten label{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0 0 8px;padding:6px 6px 6px 14px;border:1px solid #dde4ee;border-radius:10px;font-weight:500}
.sgm-fk-sorten input{width:84px!important;margin:0!important;text-align:center}
.sgm-fk-summe{margin:8px 0 0;font-weight:700;color:#b42318}
.sgm-fk-summe.ok{color:#14653a}
.sgm-fk-fehler{background:#fdecea;border:1px solid #f3b8b2;color:#8a1c12;border-radius:10px;padding:12px 16px;margin:0 0 16px;font-weight:600}
.sgm-fk-zu{font-weight:700}
.sgm-fk-senden{width:100%;margin:6px 0 0!important;background:var(--sgm-akzent)!important;color:#fff!important;border:0;font-size:1.05rem;cursor:pointer}
.sgm-fk-pop{position:fixed;inset:0;z-index:99999;background:rgba(6,12,24,.72);display:flex;align-items:center;justify-content:center;padding:16px;overflow:auto}
.sgm-fk-pop-box{background:#fff;color:#0a0d12;max-width:440px;width:100%;border-radius:20px;padding:30px 24px;text-align:center;box-shadow:0 20px 60px rgba(0,0,0,.4)}
.sgm-fk-haken{width:60px;height:60px;margin:0 auto 12px;border-radius:50%;background:#14653a;color:#fff;font-size:32px;display:flex;align-items:center;justify-content:center}
.sgm-fk-pop-box h3{margin:0 0 10px}
.sgm-fk-pop-box ul{list-style:none;margin:0 0 12px;padding:0}
.sgm-fk-pop-tipp{font-size:.88rem;color:#5b6678}
.sgm-fk-pop-box .sgm-btn{background:var(--sgm-akzent);color:#fff!important;border:0;cursor:pointer;margin:4px 0 0}
@media(max-width:520px){.sgm-fk-zeile{grid-template-columns:1fr}}
.sgm-fk-form .sgm-fk-chk{display:flex;align-items:center;gap:10px;font-weight:600;margin:0 0 12px}
.sgm-fk-form .sgm-fk-chk input{width:auto;margin:0}
.sgm-fk-kind{display:grid;grid-template-columns:1fr 1fr 1.2fr;gap:8px;margin:0 0 8px}
.sgm-fk-kind input,.sgm-fk-kind select{margin:0!important}
.sgm-fk-form label span{display:block}
@media(max-width:520px){.sgm-fk-kind{grid-template-columns:1fr}}
.sgm-fk-hero{margin:0 -20px 26px;border-radius:var(--sgm-radius);overflow:hidden;box-shadow:0 10px 30px rgba(10,30,70,.25)}
.sgm-fk-hero img{display:block;width:100%;height:auto;aspect-ratio:18/6;object-fit:cover}
.sgm-fk-galerie{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:26px}
.sgm-fk-galerie img{display:block;width:100%;height:100%;aspect-ratio:3/2;object-fit:cover;border-radius:14px}
@media(max-width:520px){.sgm-fk-hero{margin:0 0 20px}.sgm-fk-hero img{aspect-ratio:16/8}.sgm-fk-galerie{grid-template-columns:1fr}}
