/* SG Massen · Kacheln (18.11.2026): alle Bereiche als große abgerundete Kacheln mit Abstand,
   die Videos stehen als eigene Kacheln dazwischen. Ausschalten: ?kacheln=aus (merkt sich das), ?kacheln=an */
html.kacheln{--k-rand:clamp(10px,1.6vw,26px);--k-luecke:clamp(22px,3vw,48px);--k-rund:clamp(22px,2.6vw,40px);--k-grund:#0A2414;
  --k-papier:#F1F2F1 url(../img/grundhintergrund.jpg) center bottom/cover fixed}
html.kacheln body{background-color:var(--k-grund)}
html.kacheln body::before{display:none}
html.kacheln main#inhalt{background:var(--k-grund);padding-bottom:var(--k-luecke)}
/* Übergangskeile zwischen den Bereichen entfallen – die Lücke trennt */
html.kacheln #top::after,html.kacheln .akt-keil,html.kacheln #aktuelles::after,
html.kacheln .vkb-keil,html.kacheln .spiele.teams-neu::after{display:none!important}

/* die Kacheln */
html.kacheln main#inhalt>section,html.kacheln main#inhalt>.foto-bruecke,html.kacheln main#inhalt>.pb-band,
html.kacheln main#inhalt>#opelJonas,html.kacheln main#inhalt>.platz-bruecke,html.kacheln footer#kontakt{
  margin:var(--k-luecke) var(--k-rand) 0!important;border-radius:var(--k-rund);overflow:clip;width:auto}
html.kacheln footer#kontakt{margin-bottom:0!important;background:var(--k-papier)!important}

/* helle Bereiche: Papiergrund wie bisher (vorher schien er durch) */
html.kacheln #aktuelles{background:var(--k-papier)!important}
/* Kalender: nicht mehr unter Aktuelles geschoben */
html.kacheln #kalender{margin-top:var(--k-luecke)!important}

/* Jubel-Video als Kachel, Überschrift „Teams & Spiele“ unten darauf */
html.kacheln .foto-bruecke{-webkit-mask-image:none!important;mask-image:none!important;height:clamp(400px,52vw,780px)!important;pointer-events:none}
html.kacheln .foto-bruecke .fb-karte{animation-name:none!important;transform:none!important;border-radius:0!important}
html.kacheln .foto-bruecke .fb-karte::after{background:linear-gradient(to bottom,rgba(17,101,46,.35) 0%,rgba(17,101,46,.45) 50%,rgba(10,50,24,.85) 100%)!important}
html.kacheln .fb-kopf{position:absolute;left:0;right:0;bottom:clamp(30px,4.5vw,72px);z-index:3;margin-left:auto;margin-right:auto}
html.kacheln .fb-kopf .head{margin:0!important;animation:none!important;opacity:1!important;transform:none!important}
html.kacheln .fb-kopf h2{color:#fff;text-shadow:0 2px 24px rgba(4,20,10,.45)}
html.kacheln.mit-fotobruecke .spiele.teams-neu{margin-top:var(--k-luecke)!important;background:var(--green,#11652E)!important;padding-top:clamp(28px,3.4vw,56px)}

/* Trainings-Video als Kachel */
html.kacheln .pb-band{height:clamp(400px,50vw,760px)}
html.kacheln .pb-band .pb-film-rahmen{-webkit-mask-image:none!important;mask-image:none!important}
html.kacheln .pb-band .pb-film-rahmen::after{background:linear-gradient(to bottom,rgba(17,101,46,.35) 0%,rgba(17,101,46,.45) 50%,rgba(10,50,24,.85) 100%)!important}

/* Trainingsplan: Brücke (Luftbild-Bühne) + Bereich bilden eine Kachel; kein overflow-Schnitt, sonst wird die Verwandlung abgeschnitten */
html.kacheln main#inhalt>.platz-bruecke{overflow:visible;border-radius:var(--k-rund) var(--k-rund) 0 0;
  background:var(--k-papier)!important}
html.kacheln main#inhalt>#platz{margin-top:-70px!important;overflow:visible;border-radius:0 0 var(--k-rund) var(--k-rund);
  background:var(--k-papier)!important;padding-bottom:clamp(24px,3vw,48px)}

@media (max-width:760px){
  html.kacheln .foto-bruecke{height:440px!important}
  html.kacheln .pb-band{height:460px}
}

/* Club 100 auf Touch-Geräten ohne Schnitt-Ebene (iPhone-Speicher beim Flug) */
@media (hover:none) and (pointer:coarse){html.kacheln main#inhalt>#sponsoren{overflow:visible}}

/* 18.11.2026 23:05 – zusammengehörige Kacheln:
   Jubel-Video „Teams & Spiele“ + Teamringe/Mannschaftskarte = EINE Kachel,
   Trainings-Video „Wer trainiert auf dem Platz?“ + Luftbild/Trainingsplatz = EINE Kachel */
html.kacheln main#inhalt>.foto-bruecke{border-radius:var(--k-rund) var(--k-rund) 0 0}
html.kacheln.mit-fotobruecke main#inhalt>.spiele.teams-neu{margin-top:0!important;border-radius:0 0 var(--k-rund) var(--k-rund);padding-top:clamp(10px,1.4vw,22px)}
html.kacheln .foto-bruecke .fb-karte::after{background:linear-gradient(to bottom,rgba(17,101,46,.3) 0%,rgba(17,101,46,.42) 55%,#11652E 100%)!important}
html.kacheln main#inhalt>.pb-band{border-radius:var(--k-rund) var(--k-rund) 0 0}
html.kacheln .pb-band .pb-film-rahmen::after{background:linear-gradient(to bottom,rgba(17,101,46,.3) 0%,rgba(17,101,46,.42) 55%,#11652E 100%)!important}
html.kacheln main#inhalt>.platz-bruecke{margin-top:0!important;border-radius:0!important;
  background:linear-gradient(to bottom,#11652E 0,#11652E 22%,rgba(17,101,46,0) 80%),var(--k-papier)!important}

/* Komm in den Verein: Mitgliedsausweis und Karten etwas höher, sie ragen ins Video */
html.neu-aktuelles #mitmachen .mm-paar{margin-top:40px}
@media (max-width:760px){html.neu-aktuelles #mitmachen .mm-paar{margin-top:-210px}}
html.kacheln .fb-kopf h2 em{color:#A9E8B9}

/* Club 100: unten läuft der Rasen in hellen Papiergrund aus (Knopf „Alle Unterstützer“) – wie vorher, nicht ins Dunkelgrün */
html.kacheln main#inhalt>#sponsoren{background:var(--k-papier)!important}
/* Footer: grüne Ecke unten rechts bleibt (Wunsch 18.11.), Rundung wie die Kachel */
html.kacheln footer#kontakt{position:relative}
html.kacheln footer#kontakt::after{border-bottom-right-radius:var(--k-rund)}

/* Mitmachen: Vereinsausweis ragte oben aus der Videokachel – Kartenspalte in der breiten Ansicht tiefer setzen (22.11.2026) */
@media (min-width:761px){
  html.kacheln body #mitmachen .mm-zone{padding-top:64px!important}
}

/* Jubel-Video über „Teams & Spiele“ am Computer etwas flacher (22.11.2026, vorher clamp(400px,52vw,780px)) */
@media (min-width:761px){
  html.kacheln body .foto-bruecke{height:clamp(360px,42vw,620px)!important}
}

/* ===== Mehr Luft zwischen den Bereichen (28.11.2026, Wunsch: „nicht so gedrungen, auch wenn Übergänge wegfallen“) =====
   Zurzeit nur auf der Probeseite test2.html (oder mit ?luft=an); die Startseite bleibt bei den engeren Abständen (Nutzer 28.11.2026). */
html.kacheln.luft{--k-luecke:clamp(44px,7vw,104px)}
/* Innenraum: Überschriften und Inhalte nicht mehr direkt an der Kachelkante */
html.kacheln.luft main#inhalt>#aktuelles{padding-top:clamp(26px,3.6vw,60px)!important}
html.kacheln.luft main#inhalt>#kalender{padding-top:clamp(22px,3vw,48px)!important}
html.kacheln.luft main#inhalt>.spiele.teams-neu{padding-bottom:clamp(34px,4.5vw,72px)!important}
/* Übergänge entfallen: Jubel-Video und Teams & Spiele sind zwei Kacheln mit Abstand */
html.kacheln.luft main#inhalt>.foto-bruecke{border-radius:var(--k-rund)!important}
html.kacheln.mit-fotobruecke.luft main#inhalt>.spiele.teams-neu{margin-top:var(--k-luecke)!important;border-radius:var(--k-rund)!important;padding-top:clamp(30px,4vw,64px)!important}
/* … ebenso Trainings-Video und Trainingsplatz (Luftbild-Bühne + Platz bleiben eine Kachel, sonst würde die Verwandlung abgeschnitten) */
html.kacheln.luft main#inhalt>.pb-band{border-radius:var(--k-rund)!important}
html.kacheln.luft main#inhalt>.platz-bruecke{margin-top:var(--k-luecke)!important;border-radius:var(--k-rund) var(--k-rund) 0 0!important}
html.kacheln.luft .pb-band .pb-film-rahmen::after,html.kacheln.luft .foto-bruecke .fb-karte::after{background:linear-gradient(to bottom,rgba(17,101,46,.25) 0%,rgba(17,101,46,.4) 55%,rgba(10,50,24,.82) 100%)!important}
