/* Mitarbeiter-App: Inhalte (Heute, Woche, Infos, Muell, Anleitungen, Aushaenge) – app/web/team_inhalte.py.
   Baut auf app/app.css und team/team.css auf: Abschnitte ueber Ueberschrift und Linie, Daten sichtbar (Zeitbalken). */

.gold { color: var(--gold); }
.lokal { font-weight: 700; }
.lokal::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 6px; border-radius: 50%; vertical-align: 1px; background: var(--rot-hell); }
.lokal--auf::before { background: var(--gruen); }
.stand { display: flex; align-items: center; gap: 6px; margin: -6px 4px 10px; color: var(--gold); font-size: 13px; }
.stand svg { width: 15px; height: 15px; flex: none; }
.block__neben { color: var(--text-3); font-size: 15px; }
.hinweis__dach { display: flex; align-items: center; gap: 6px; margin: 0 0 4px; color: var(--rot-hell); font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; }
.hinweis__dach svg { width: 16px; height: 16px; }
.knopf-zeile { display: flex; align-items: center; gap: 16px; margin: 10px 0 0; }
.knopf-zeile .knopf { min-height: 42px; padding: 8px 18px; }
.du { color: #fff; font-weight: 700; }
.nummer { font-variant-numeric: tabular-nums; color: var(--rot-hell); }
.neu-punkt { display: inline-block; width: 8px; height: 8px; margin: 0 7px 1px 0; border-radius: 50%; background: var(--rot-hell); }
.entwurf { color: var(--gold); }

/* ---------- Muell ---------- */
.tonnen { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 3px; }
.tonnen-rechts { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 10px; }
.tonne { display: inline-flex; align-items: center; gap: 6px; color: var(--text-2); font-size: 15px; white-space: nowrap; }
.tonne__punkt { width: 12px; height: 14px; border-radius: 2px 2px 3px 3px; background: #8a847c; box-shadow: inset 0 3px 0 rgba(0,0,0,.25); }
.tonne--rest .tonne__punkt { background: #5b5f63; }
.tonne--bio .tonne__punkt { background: #8a5a2b; }
.tonne--papier .tonne__punkt { background: #3f6fd1; }
.tonne--gelb .tonne__punkt { background: #e3c53a; }
.tonne--remondis .tonne__punkt { background: #1f8a8a; }
.muell-hinweis { display: flex; align-items: center; gap: 14px; margin: 16px 0 0; padding: 14px 16px; border: 1px solid rgba(226, 181, 82, .4); border-radius: 12px; background: rgba(226, 181, 82, .1); color: #fff; text-decoration: none; }
.muell-hinweis--abholung { border-color: var(--rand); background: var(--flaeche); }
.muell-hinweis__symbol { flex: none; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; background: #a07a24; }
.muell-hinweis--abholung .muell-hinweis__symbol { background: #4a4540; }
.muell-hinweis__symbol svg { width: 24px; height: 24px; }
.muell-hinweis__text { flex: 1; min-width: 0; }
.muell-hinweis__titel { display: block; font-weight: 700; line-height: 1.3; }
.muell-hinweis__tonnen { display: flex; flex-wrap: wrap; gap: 4px 12px; margin-top: 4px; }
.muell-hinweis__unter { display: block; margin-top: 2px; color: var(--text-2); font-size: 14px; }
.abfuhr .datum { width: 40px; }
.abfuhr .zeile--heute { background: rgba(226, 181, 82, .08); }

/* ---------- Dienste als Zeitbalken (8 bis 24 Uhr) ---------- */
.dienste > li + li::before { left: 16px; }
.dienst { display: grid; grid-template-columns: 84px 1fr 88px; align-items: center; gap: 10px; min-height: 44px; padding: 8px 16px; }
.dienst__name { display: flex; align-items: center; gap: 7px; min-width: 0; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dienst__du { padding: 0 5px; border-radius: 4px; background: var(--rot); color: #fff; font-size: 11px; letter-spacing: .5px; text-transform: uppercase; }
.dienst__punkt { flex: none; width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.25); }
.dienst--da .dienst__punkt { background: var(--gruen); }
.dienst--pause .dienst__punkt { background: var(--gold); }
.dienst--kommt .dienst__punkt { background: transparent; border: 1.5px solid rgba(255,255,255,.55); }
.dienst--war { color: var(--text-3); }
.dienst--war .dienst__name { color: var(--text-3); }
.dienst__zeit { color: var(--text-2); font-size: 14px; font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.dienst--du { background: rgba(200, 48, 58, .08); }
.spur { width: 100%; height: 14px; overflow: visible; }
.spur__grund { fill: rgba(255,255,255,.1); }
.spur__raster { fill: rgba(255,255,255,.14); }
.spur__dienst { fill: rgba(255,255,255,.55); }
.spur__dienst--da { fill: var(--gruen); }
.spur__dienst--pause { fill: var(--gold); }
.spur__dienst--kommt, .spur__dienst--geplant { fill: rgba(255,255,255,.6); }
.spur__dienst--war { fill: rgba(255,255,255,.2); }
.dienst--du .spur__dienst { fill: var(--rot-hell); }
.dienst--du.dienst--da .spur__dienst { fill: var(--gruen); }
.spur__jetzt { fill: var(--rot-hell); }
.dienst-achse { display: grid; grid-template-columns: 84px 1fr 88px; gap: 10px; margin: 6px 0 0; padding: 0 16px; color: var(--text-3); font-size: 11px; font-variant-numeric: tabular-nums; }
.dienst-achse__skala { display: flex; justify-content: space-between; }
.dienst-legende { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 8px 16px 0; color: var(--text-3); font-size: 13px; }
.dienst-legende > span { display: inline-flex; align-items: center; gap: 6px; }

/* ---------- Termine ---------- */
.termin { display: flex; align-items: flex-start; gap: 12px; min-height: 48px; padding: 11px 16px; }
.termin__zeit { flex: none; width: 44px; padding-top: 18px; color: var(--text-2); font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; }
.termin__art { display: flex; align-items: center; gap: 6px; color: var(--text-3); font-size: 12px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; }
.termin__art::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #8a847c; }
.termin--catering .termin__art::before { background: var(--rot-hell); }
.termin--anfrage .termin__art::before { background: transparent; border: 1.5px solid var(--rot-hell); }
.termin--lieferung .termin__art::before { background: #e08a3c; }
.termin--veranstaltung .termin__art::before { background: var(--gold); }
.termin--italien .termin__art::before, .termin--wein .termin__art::before { background: #3d9a5a; }
.termin--geburtstag .termin__art::before { background: #c873c9; }
.termin--lieferant .termin__art::before { background: #5c8fd6; }
.termin--sonderzeit .termin__art::before, .termin--feiertag .termin__art::before { background: var(--rot); }

/* ---------- Woche ---------- */
.tag { margin-top: 26px; }
.tag__kopf { display: flex; align-items: center; gap: 12px; margin: 0 4px 8px; }
.tag__kopf .datum { width: 40px; }
.tag__name { flex: 1; min-width: 0; font-size: 20px; font-weight: 700; line-height: 1.2; }
.tag__datum { color: var(--text-3); font-size: 15px; font-weight: 400; }
.tag__unter { display: block; color: var(--text-3); font-size: 14px; font-weight: 400; }
.tag__wetter { flex: none; text-align: right; font-size: 18px; font-weight: 700; line-height: 1.1; }
.tag__wetter span { display: block; color: var(--text-3); font-size: 12px; font-weight: 400; }
.tag--heute .datum__tag { color: var(--rot-hell); }
.tag--frei .gruppe { opacity: .75; }
.zeile--du { background: rgba(200, 48, 58, .1); }
.zeile--du .zeile__wert { color: #fff; font-weight: 700; }
.schichten { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 4px; }
.schicht { color: var(--text-2); font-size: 15px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.schicht strong { color: #fff; }
.schicht--du strong { color: var(--rot-hell); }
.schicht__bereich { color: var(--text-3); font-size: 13px; }

/* ---------- Infos und Suche ---------- */
.suche { position: relative; margin: 0 0 6px; }
.suche__symbol { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--text-3); pointer-events: none; }
.suche__symbol svg { width: 20px; height: 20px; }
.suche__feld { padding-left: 44px; -webkit-appearance: none; appearance: none; }
.anhang-zahl { display: inline-flex; align-items: center; gap: 4px; color: var(--text-3); font-size: 14px; }
.anhang-zahl svg { width: 16px; height: 16px; }

/* ---------- Aushaenge ---------- */
.aushang { margin: 0 0 14px; padding: 16px 16px 14px; border: 1px solid var(--rand); border-radius: 12px; background: var(--flaeche); }
.aushang--wichtig { border-color: rgba(240, 100, 109, .45); box-shadow: inset 3px 0 0 var(--rot); }
.aushang--einzeln { margin-top: 4px; }
.aushang__dach { margin: 0 0 4px; color: var(--text-3); font-size: 13px; }
.aushang--wichtig .aushang__dach { color: var(--rot-hell); }
.aushang__titel { margin: 0 0 6px; font-size: 20px; line-height: 1.25; }
.aushang__titel a { color: #fff; text-decoration: none; }
.aushang__ok { margin: 10px 0 0; color: var(--gruen); font-weight: 700; }
.aushang form { margin: 12px 0 0; }

/* ---------- Text aus der Auszeichnung (Anleitungen, Aushaenge) ---------- */
.text { color: var(--text-2); line-height: 1.6; overflow-wrap: anywhere; }
.text h3 { margin: 22px 0 6px; color: #fff; font-size: 19px; }
.text h3:first-child { margin-top: 0; }
.text strong { color: #fff; }
.text a { color: var(--rot-hell); }
.text ul { margin: 6px 0 12px; padding-left: 22px; }
.text li { margin: 4px 0; }
.text .schritte { counter-reset: schritt; margin: 8px 0 14px; padding: 0; list-style: none; color: var(--text); }
.text .schritte li { position: relative; counter-increment: schritt; margin: 0; padding: 10px 0 10px 44px; border-top: .5px solid var(--trenner); }
.text .schritte li:first-child { border-top: 0; }
.text .schritte li::before { content: counter(schritt); position: absolute; left: 0; top: 9px; display: flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%; background: var(--rot); color: #fff; font-size: 14px; font-weight: 700; }
.text .achtung { margin: 12px 0; padding: 10px 14px; border-left: 3px solid var(--rot-hell); background: rgba(200, 48, 58, .12); color: #fff; }
.text .achtung::before { content: "Achtung: "; color: var(--rot-hell); font-weight: 700; }
.text .tipp { margin: 12px 0; padding: 10px 14px; border-left: 3px solid var(--gold); background: rgba(226, 181, 82, .1); color: #fff; }
.text .tipp::before { content: "Tipp: "; color: var(--gold); font-weight: 700; }
.anleitung { padding: 2px 4px; font-size: 17px; }

/* Fotos zur Anleitung */
.fotos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.foto { margin: 0; }
.foto img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; background: var(--flaeche-hoch); }
.foto figcaption { margin-top: 4px; color: var(--text-3); font-size: 13px; line-height: 1.35; }
@media (min-width: 520px) { .fotos { grid-template-columns: repeat(3, 1fr); } }
