.tsvb-hinweis { color: #666; }
.tsvb-kacheln { display: grid; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); gap: 1rem; margin: 1rem 0; padding: 0; list-style: none; }
.tsvb-kacheln > li { margin: 0; padding: 0; }
/* border-box: Das Template setzt content-box, sonst ragt die Kachel mit Innenabstand aus ihrer Rasterzelle */
.tsvb-kachel { box-sizing: border-box; display: block; height: 100%; padding: 1rem; border: 1px solid #ddd; border-left: 4px solid #fa5a22; border-radius: 8px; color: inherit; text-decoration: none; }
.tsvb-kachel:hover { background: #f6f6f6; }
.tsvb-kachel-bild { display: block; aspect-ratio: 4 / 3; margin-bottom: .5rem; overflow: hidden; border-radius: 4px; background: #eee; }
.tsvb-kachel-bild img { display: block; width: 100%; height: 100% !important; object-fit: cover; }
.tsvb-bearbeiten { font-size: .9rem; }
.tsvb-modul-kacheln { margin-bottom: 2.5rem; }

/* Bereichskacheln (Modul): groß, zentriert, Foto mit Abdunklung, Akzentleiste in den Template-Farben */
.tsvb-bereich-kacheln { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; max-width: 1000px; margin: 1rem auto; padding: 0; list-style: none; }
.tsvb-bereich-kacheln > li { margin: 0; padding: 0; }
/* !important: Das Template setzt für Links in Modul-Listen display: block */
.tsvb-bereich-kachel { position: relative; display: flex !important; align-items: flex-end; box-sizing: border-box; min-height: 320px; overflow: hidden; border-radius: 12px; border-bottom: 6px solid #fa5a22; background: #1d1d1d; color: #fff !important; text-decoration: none !important; box-shadow: 0 8px 24px rgba(0, 0, 0, .18); transition: transform .25s, box-shadow .25s; }
.tsvb-bereich-jugend { border-bottom-color: #2895f1; }
.tsvb-bereich-kachel img { position: absolute; inset: 0; width: 100%; height: 100% !important; object-fit: cover; transition: transform .4s; }
.tsvb-bereich-kachel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .8) 0%, rgba(0, 0, 0, .25) 55%, rgba(0, 0, 0, .05) 100%); }
.tsvb-ohne-bild.tsvb-bereich-senioren { background: linear-gradient(135deg, #fa5a22, #b8360a); }
.tsvb-ohne-bild.tsvb-bereich-jugend { background: linear-gradient(135deg, #2895f1, #0f5fa6); }
.tsvb-ohne-bild::after { background: none; }
.tsvb-bereich-text { position: relative; z-index: 1; display: flex; flex-direction: column; gap: .3rem; padding: 2rem; }
.tsvb-bereich-text i { font-size: 2.5rem; line-height: 1; color: #fa5a22; }
.tsvb-bereich-jugend .tsvb-bereich-text i { color: #2895f1; }
.tsvb-ohne-bild .tsvb-bereich-text i { color: #fff; }
.tsvb-bereich-text strong { font-family: 'Open Sans', sans-serif; font-size: 2.4rem; font-weight: 800; line-height: 1.1; text-transform: uppercase; letter-spacing: .02em; }
.tsvb-bereich-text span { font-size: 1.1rem; }
.tsvb-bereich-mehr { margin-top: .6rem; font-weight: bold; text-transform: uppercase; font-size: .95rem !important; letter-spacing: .05em; }
.tsvb-bereich-kachel:hover, .tsvb-bereich-kachel:focus { transform: translateY(-4px); box-shadow: 0 14px 32px rgba(0, 0, 0, .28); }
.tsvb-bereich-kachel:hover img, .tsvb-bereich-kachel:focus img { transform: scale(1.05); }
@media (max-width: 700px) {
    .tsvb-bereich-kacheln { grid-template-columns: minmax(0, 1fr); }
    .tsvb-bereich-kachel { min-height: 220px; }
}

/* Teamseite und Ergebnisse: Aufbau wie die alten Teamseiten (Übersicht links, Template-Boxen rechts) */
.tsvb-teamname { margin-bottom: 2rem; }
.tsvb-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 3rem; align-items: start; }
.tsvb-box { margin-bottom: 3rem; scroll-margin-top: 90px; }
.tsvb-seite .tsvb-box { margin-bottom: 0; }
.tsvb-uebersicht { list-style: none; margin: 0; padding: 0; }
.tsvb-uebersicht li { margin: 0 0 .6rem; }
.tsvb-uebersicht li.active a { font-weight: bold; }
.tsvb-reihe { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 3rem; align-items: start; }
.tsvb-reihe-einzeln { grid-template-columns: minmax(0, 1fr); }
.tsvb-mit-bild { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 3rem; align-items: start; }
.tsvb-ohne-bild { grid-template-columns: minmax(0, 1fr); }
.tsvb-titel { font-size: 2rem; margin: 2rem 0 1.5rem; }
.tsvb-mit-bild > div > .tsvb-titel:first-child { margin-top: 0; }
.tsvb-tabelle { width: 100%; max-width: 600px; }
#spielplan .tsvb-tabelle, #dienstplan .tsvb-tabelle { max-width: none; }
.tsvb-tabelle th { font-weight: bold; }
.tsvb-bilder figure { margin: 0 0 1.5rem; }
.tsvb-bilder img, .tsvb-fotos img { display: block; width: 100%; height: auto; }
.tsvb-bilder figcaption { margin-top: .4rem; }
.tsvb-fotos a + a img { margin-top: 1rem; }
.tsvb-bericht h4 { margin-bottom: .2rem; }
.tsvb-datum { color: #666; font-size: .9rem; }
.tsvb-berichtliste { padding-left: 0; list-style: none; }
.tsvb-berichtliste li { margin-bottom: .4rem; }
.tsvb-berichtliste .tsvb-datum { margin-right: .6rem; }
.tsvb-dbb iframe { width: 100%; height: 600px; border: 0; }

@media (max-width: 1050px) {
    .tsvb-layout, .tsvb-reihe, .tsvb-mit-bild { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
    .tsvb-bilder { max-width: 400px; }
}
