/* =====================================================================
   Startseite – Übersicht (start_uebersicht.php) – 11.10.2026
   ===================================================================== */
.su { max-width: 1000px; margin: 8px auto 18px; font-family: Arial, Helvetica, sans-serif; color: #1B1F24; text-align: left; display: flex; flex-direction: column; gap: 16px; }
.su a { text-decoration: none; }
.su-kacheln { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.su-kachel { background: #fff; border: 1px solid #E3E7EC; border-radius: 16px; padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; color: #1B1F24; min-width: 0; }
a.su-kachel:hover { border-color: #B9C1CC; }
.su-blau { background: #04519B; border-color: #04519B; color: #fff; }
.su-blau:hover { background: #033E77; }
.su-gelb { background: #FFF6E5; border-color: #F2B33D; }
.su-klein { font-size: 12px; font-weight: bold; letter-spacing: .06em; color: #4A5361; }
.su-blau .su-klein { color: #CFE0F2; }
.su-gelb .su-klein { color: #7A5200; }
.su-gross { font-family: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif; font-size: 24px; line-height: 1.1; overflow-wrap: anywhere; }
.su-blau span { color: #DCE8F5; font-size: 14px; }
.su-blau .su-link { color: #fff; font-weight: bold; margin-top: 2px; }
.su-zahlen { font-size: 15px; }
.su-zahlen b { font-family: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif; font-size: 30px; }
.su-prozent { font-family: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif; font-size: 42px; line-height: 1; }
.su-klein2 { font-size: 13px; color: #4A5361; }
.su-balken { height: 8px; border-radius: 99px; background: #E9ECF0; overflow: hidden; display: flex; gap: 2px; }
.su-balken i { display: block; height: 100%; }
.su-balken .k { background: #1E7B34; } .su-balken .o { background: #F2B33D; } .su-balken .n { background: #C8102E; } .su-balken .t { background: #04519B; }
.su-aktionen { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 2px; }
.su-aktionen a { font-weight: bold; font-size: 14px; color: #5C3D00; }
.su-kachel:not(.su-gelb) .su-aktionen a { color: #04519B; }
.su-offen { grid-column: 1 / -1; }
.su-offen-zeile { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-top: 1px solid #F2DDB0; flex-wrap: wrap; }
.su-offen-text { flex: 1; min-width: 180px; display: flex; flex-direction: column; }
.su-offen-text b { font-size: 15px; }
.su-offen-text small { font-size: 13px; color: #5C3D00; }
.su-wahl { display: flex; gap: 8px; font-weight: bold; color: #5C3D00; }
.su-wahl button { font: inherit; font-size: 14px; font-weight: bold; min-height: 40px; padding: 0 14px; border-radius: 10px; cursor: pointer; }
.su-wahl button[data-status="kann"] { background: #1E7B34; color: #fff; border: 0; }
.su-wahl button[data-status="kann_nicht"] { background: #fff; color: #A10E25; border: 1px solid #E8A7B1; }
.su-wahl button:disabled { opacity: .5; cursor: default; }
.su-offen-zeile.erledigt .su-offen-text { opacity: .6; }
.su-naechste { background: #fff; border: 1px solid #E3E7EC; border-radius: 16px; padding: 14px 18px; }
.su-kopf { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; }
.su .su-kopf h2 { margin: 0; font-family: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif; font-size: 22px; color: #1B1F24; text-transform: none; letter-spacing: 0; }
.su-kopf a { font-weight: bold; font-size: 14px; color: #04519B; }
.su-liste { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 8px; }
.su-termin { display: flex; gap: 10px; align-items: center; padding: 8px; border-radius: 12px; color: #1B1F24; }
.su-termin:hover { background: #F4F6F8; }
.su-datum { width: 46px; flex: none; text-align: center; background: #E3EEF8; border-radius: 10px; padding: 4px 0; color: #04519B; display: flex; flex-direction: column; line-height: 1.05; }
.su-datum small { font-size: 10px; font-weight: bold; }
.su-datum b { font-family: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif; font-size: 22px; }
.su-termin-text { min-width: 0; display: flex; flex-direction: column; }
.su-termin-text b { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.su-termin-text small { font-size: 12px; color: #4A5361; }
.su-termin-text .su-art { color: #B3121F; font-weight: bold; letter-spacing: .04em; font-size: 11px; }
@media (max-width: 760px) { .su { margin: 8px 10px 14px; } }

/* =====================================================================
   Startseite – Kopf, Demnächst, Neuigkeiten (start_neu.php) – 12.10.2026
   ===================================================================== */
/* alte Hüllen von pflege_news.php nicht einengen */
.tableklein:has(> form > .sn), .tableNews:has(.sn) { display: block; width: auto; }
.sn { max-width: 1000px; margin: 8px auto 24px; padding: 0 2px; font-family: Arial, Helvetica, sans-serif; color: #1B1F24; text-align: left; display: flex; flex-direction: column; gap: 16px; }
.sn *, .sn *::before, .sn *::after { box-sizing: border-box; }
.sn a { text-decoration: none; }
.sn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.sn .su { margin: 0; max-width: none; }

/* Kopf */
.sn-kopf { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); background: linear-gradient(135deg, #04519B 0%, #033E77 100%); color: #fff; border-radius: 20px; overflow: hidden; min-height: 240px; }
.sn-kopf.sn-ohne-bild { grid-template-columns: 1fr; min-height: 0; }
.sn-kopf-text { padding: 26px 28px; display: flex; flex-direction: column; justify-content: center; gap: 6px; min-width: 0; }
.sn-gruss { font-size: 13px; color: #CFE0F2; }
.sn .sn-kopf h1 { margin: 2px 0; font-family: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif; font-size: 46px; line-height: 1; color: #fff; text-transform: none; letter-spacing: 0; text-align: left; overflow-wrap: anywhere; }
.sn .sn-kopf h1.sn-lang { font-size: 34px; line-height: 1.05; }
.sn-unter { font-size: 15px; color: #E6EEF7; }
.sn-verein { margin-top: 10px; font-size: 12px; font-weight: bold; letter-spacing: .08em; text-transform: uppercase; color: #9FC0E3; }
.sn-bild { margin: 0; position: relative; min-height: 240px; background: #0B2E52; }
.sn-bild img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.sn-kopf-verein .sn-bild { background: #fff; }
.sn-kopf-verein .sn-bild img { object-fit: contain; padding: 18px; }
.sn-bild::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 70px; background: linear-gradient(90deg, #04519B, rgba(4, 81, 155, 0)); z-index: 1; pointer-events: none; }
.sn-kopf-verein .sn-bild::before { display: none; }
.sn-foto-knopf { position: absolute; right: 12px; bottom: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: rgba(15, 23, 33, .62); color: #fff !important; font-size: 13px; font-weight: bold; backdrop-filter: blur(4px); }
.sn-foto-knopf:hover { background: rgba(15, 23, 33, .8); }
.sn-ohne-bild .sn-foto-knopf { background: rgba(255, 255, 255, .16); }

/* Demnächst im Verein */
.sn-demnaechst { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.sn-kachel { background: #fff; border: 1px solid #E3E7EC; border-radius: 16px; padding: 16px 18px; display: flex; flex-direction: column; gap: 4px; color: #1B1F24 !important; }
.sn-kachel:hover { border-color: #B9C1CC; }
.sn-kachel b { font-family: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif; font-size: 24px; line-height: 1.1; }
.sn-kachel span { font-size: 14px; color: #4A5361; }
.sn-kachel .sn-klein { font-size: 12px; font-weight: bold; letter-spacing: .06em; color: #4A5361; }
.sn-kachel .sn-link { font-weight: bold; color: #04519B; margin-top: 4px; }
.sn-hinweis { background: #FFF6E5; border-color: #F2B33D; }

/* Karten, Neuigkeiten */
.sn-karte { background: #fff; border: 1px solid #E3E7EC; border-radius: 16px; padding: 16px 18px; }
.sn-karte-kopf { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.sn .sn-karte h2 { margin: 0; font-family: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif; font-size: 22px; color: #1B1F24; text-transform: none; letter-spacing: 0; text-align: left; }
.sn-knoepfe { display: flex; gap: 8px; flex-wrap: wrap; }
.sn-knopf { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border-radius: 10px; border: 1px solid #C9D1DB; background: #fff; color: #04519B !important; font-size: 14px; font-weight: bold; }
.sn-knopf:hover { border-color: #8F9BAA; }
.sn-primaer { background: #04519B; border-color: #04519B; color: #fff !important; }
.sn-primaer:hover { background: #033E77; }
.sn-leer { margin: 6px 0 2px; color: #4A5361; font-size: 14px; }
.sn-liste { display: flex; flex-direction: column; }
.sn-eintrag { padding: 14px 0 14px 14px; border-top: 1px solid #EEF1F4; border-left: 3px solid transparent; display: flex; flex-direction: column; gap: 8px; }
.sn-eintrag:first-child { border-top: 0; }
.sn-wichtig { border-left-color: #C8102E; }
.sn-alt { opacity: .65; }
.sn-eintrag-kopf { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 13px; }
.sn-datum { font-weight: bold; color: #04519B; }
.sn-bis { color: #4A5361; font-size: 12px; }
.sn-schild { font-size: 11px; font-weight: bold; border-radius: 999px; padding: 2px 8px; background: #EEF1F4; color: #33404F; }
.sn-rot { background: #FDE2E5; color: #9B0D23; }
.sn-bearbeiten { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: bold; color: #04519B !important; }
.sn-bearbeiten svg { width: 15px; height: 15px; }
.sn-text { font-size: 15px; line-height: 1.5; overflow-wrap: anywhere; }
.sn-text-rot { color: #B3121F; font-weight: bold; }
.sn-text a { color: #04519B; text-decoration: underline; }
.sn-anhang { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 10px; background: #F1F5FA; color: #04519B !important; font-weight: bold; font-size: 14px; }
.sn-anhang:hover { background: #E3EEF8; }
.sn-news-bild { max-width: 100%; max-height: 420px; border-radius: 12px; align-self: flex-start; }

@media (max-width: 760px) {
  .sn { margin: 8px 0 16px; }
  .sn-kopf { grid-template-columns: 1fr; }
  .sn-bild { order: -1; min-height: 0; aspect-ratio: 16 / 9; }
  .sn-kopf-verein .sn-bild { aspect-ratio: 5 / 2; }
  .sn-bild::before { display: none; }
  .sn-kopf-text { padding: 18px 18px 20px; }
  .sn .sn-kopf h1 { font-size: 36px; }
  .sn .sn-kopf h1.sn-lang { font-size: 28px; }
  .sn-foto-knopf { top: 10px; bottom: auto; }
}

/* Teams eines Bereichs (Jugend, Liga) – 12.10.2026 */
.sn-anzahl { font-family: Arial, Helvetica, sans-serif; font-size: 13px; font-weight: bold; color: #4A5361; background: #EEF1F4; border-radius: 999px; padding: 2px 8px; vertical-align: middle; }
.sn-teams { display: flex; flex-wrap: wrap; gap: 8px; }
.sn-team-chip { display: inline-flex; align-items: baseline; gap: 6px; padding: 8px 12px; border-radius: 10px; border: 1px solid #C9D1DB; background: #fff; color: #04519B; font: 14px Arial, Helvetica, sans-serif; cursor: pointer; }
.sn-team-chip:hover { border-color: #04519B; background: #F1F5FA; }
.sn-team-chip small { color: #4A5361; font-size: 12px; }
