/* Sapori Team: Ergaenzungen zu app/app.css (gleicher Auftritt wie die Gaeste-App).
   Aufgabenliste wie die iPhone-Erinnerungen: runder Haken links, Titel, Kuerzel rechts. */

.rot { color: var(--rot-hell); }
.durch { text-decoration: line-through; text-decoration-color: rgba(255,255,255,.4); color: var(--text-2); }
.opt { color: var(--text-3); font-weight: 400; letter-spacing: 0; text-transform: none; }

/* ---------- Titel mit rundem Plus ---------- */
.titel--mit-knopf { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.rund-knopf { flex: none; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin-bottom: 2px;
  border-radius: 50%; background: var(--rot); color: #fff; box-shadow: 0 6px 16px rgba(200, 48, 58, .35); }
.rund-knopf:active { transform: scale(.94); background: var(--rot-dunkel); }
.rund-knopf svg { width: 24px; height: 24px; stroke-width: 2; }
.nav__plus { color: var(--rot-hell); opacity: 0; transition: opacity .2s; }
.nav__plus svg { width: 26px; height: 26px; stroke-width: 2; }
body.gescrollt .nav__plus, .nav--fest .nav__plus { opacity: 1; }

/* ---------- Ansichten: schlichte Reiter mit Unterstrich ---------- */
.reiterleiste { display: flex; gap: 22px; margin: 0 4px 4px; overflow-x: auto; scrollbar-width: none; border-bottom: .5px solid var(--trenner); }
.reiterleiste::-webkit-scrollbar { display: none; }
.reiterleiste a { flex: none; padding: 8px 0 10px; color: var(--text-2); font-size: 15px; font-weight: 700; text-decoration: none; border-bottom: 2px solid transparent; margin-bottom: -.5px; }
.reiterleiste a[aria-current="page"] { color: #fff; border-bottom-color: var(--rot); }
.zahl { display: inline-block; min-width: 20px; margin-left: 4px; padding: 0 6px; border-radius: 10px; background: rgba(255,255,255,.12); color: var(--text-2); font-size: 12px; line-height: 20px; text-align: center; }
.reiterleiste a[aria-current="page"] .zahl { background: var(--rot); color: #fff; }
.person-wahl { margin: 12px 0 0; }
.eingabe--klein { min-height: 42px; padding: 8px 12px; font-size: 16px; }
.block__fuss--oben { margin-top: 10px; }
.block__fuss a, .titel__text a { color: var(--rot-hell); }

/* ---------- Aufgabenliste ---------- */
.aufgaben > li + li::before { left: 56px; }
.aufgabe { display: flex; align-items: center; gap: 10px; min-height: 58px; padding: 0 14px 0 6px; transition: opacity .3s; }
.aufgabe__haken { flex: none; margin: 0; }
.haken { position: relative; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; }
.haken > span { display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; border: 2px solid rgba(255,255,255,.35); border-radius: 50%; transition: background .2s, border-color .2s; }
.haken svg { width: 14px; height: 14px; stroke-width: 2.6; opacity: 0; color: #fff; transition: opacity .15s; }
.haken.prio--hoch > span { border-color: var(--gold); }
.haken.prio--dringend > span { border-color: var(--rot-hell); }
.haken--voll > span, .aufgabe--fertig .haken > span { border-color: var(--gruen); background: var(--gruen); }
.haken--voll svg, .aufgabe--fertig .haken svg { opacity: 1; }
.haken--still { cursor: default; opacity: .5; }
.aufgabe--fertig .aufgabe__titel { text-decoration: line-through; color: var(--text-2); }
.aufgabe--fertig { opacity: .55; }
.aufgabe__text { flex: 1; min-width: 0; padding: 10px 0; color: var(--text); text-decoration: none; }
.aufgabe__text:active { opacity: .7; }
.aufgabe__titel { display: block; font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; }
.aufgabe__unter { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 10px; margin-top: 2px; color: var(--text-3); font-size: 14px; }
.aufgabe__symbol svg { width: 15px; height: 15px; }
.aufgabe--erledigt .aufgabe__titel { color: var(--text-2); text-decoration: line-through; text-decoration-color: rgba(255,255,255,.3); }
.prio-zeichen { color: var(--gold); font-weight: 700; }
.prio-zeichen--dringend { color: var(--rot-hell); }

/* Kuerzel der zustaendigen Person */
.kuerzel { flex: none; display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%;
  background: #4a4540; color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .5px; }
.kuerzel svg { width: 18px; height: 18px; }
.kuerzel--team { background: transparent; border: 1px dashed rgba(255,255,255,.3); color: var(--text-3); }
.kuerzel--gross { width: 44px; height: 44px; background: var(--rot); font-size: 15px; }

/* Leerer Zustand */
.leer { margin: 48px 16px; text-align: center; color: var(--text-2); }
.leer__titel { margin-bottom: 4px; color: #fff; font-size: 20px; font-weight: 700; }
.leer .knopf { margin-top: 10px; }

/* ---------- Aufgabe im Detail ---------- */
.zeile__symbol--rot { background: var(--rot); }
.text-feld { padding: 14px 16px; border: 1px solid var(--rand); border-radius: 12px; background: var(--flaeche); white-space: pre-line; overflow-wrap: anywhere; line-height: 1.5; }
.knopf-reihe form { margin: 0; }
.verlauf { margin: 0 0 12px; padding: 0 0 0 16px; list-style: none; border-left: 1px solid var(--trenner); }
.verlauf__eintrag { position: relative; padding: 0 0 14px 4px; }
.verlauf__eintrag::before { content: ""; position: absolute; left: -21px; top: 7px; width: 9px; height: 9px; border-radius: 50%; background: #4a4540; }
.verlauf__eintrag--kommentar::before { background: var(--rot); }
.verlauf__kopf { display: block; color: var(--text-3); font-size: 13px; }
.verlauf__kopf strong { color: var(--text-2); }
.verlauf__text { display: block; color: var(--text-2); font-size: 15px; white-space: pre-line; overflow-wrap: anywhere; }
.verlauf__eintrag--kommentar .verlauf__text { color: #fff; font-size: 16px; }
.notiz-form { display: flex; gap: 8px; align-items: flex-end; }
.notiz-form .eingabe { flex: 1; min-height: 50px; resize: vertical; }
.notiz-form .knopf { flex: none; min-height: 50px; }
.loeschen { text-align: center; }
.textknopf--rot { color: var(--rot-hell); }

/* ---------- Formular ---------- */
.formular textarea.eingabe { resize: vertical; line-height: 1.45; }
select.eingabe { appearance: none; -webkit-appearance: none; padding-right: 40px;
  background-image: linear-gradient(45deg, transparent 50%, rgba(255,255,255,.6) 50%), linear-gradient(135deg, rgba(255,255,255,.6) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
input[type="date"].eingabe, input[type="time"].eingabe { -webkit-appearance: none; appearance: none; min-width: 0; color-scheme: dark; }
.feld-reihe { display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; }
fieldset.feld { margin: 12px 0 0; padding: 0; border: 0; min-width: 0; }
fieldset.feld legend { margin: 0 4px 6px; padding: 0; color: var(--text-3); font-size: 13px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; }
.feld__hilfe { margin: -6px 4px 0; color: var(--text-3); font-size: 13px; }
.feld--fehler .eingabe { border-color: var(--rot-hell); }
.feld--fehler label, .feld--fehler legend { color: var(--rot-hell); }
.segment--3 { grid-template-columns: repeat(3, 1fr); }
.segment__wahl { position: relative; display: block; }
.segment__wahl input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.segment__wahl span { display: flex; align-items: center; justify-content: center; min-height: 34px; border-radius: 8px; font: 700 14px/1 var(--jura); transition: background .2s; }
.segment__wahl input:checked + span { background: #636366; box-shadow: 0 3px 8px rgba(0,0,0,.25); }
.segment__wahl input:focus-visible + span { outline: 2px solid var(--rot-hell); }
.schnellwahl { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 0; }
.schnellwahl button { padding: 6px 12px; border: 1px solid var(--rand); border-radius: 8px; background: var(--flaeche); color: var(--text-2); font-size: 14px; cursor: pointer; }
.schnellwahl button:active { background: var(--flaeche-hoch); }

/* ---------- Anmeldung ---------- */
.warten { display: flex; align-items: center; gap: 12px; margin: 4px 0 6px; padding: 14px 16px; border: 1px solid var(--rand); border-radius: 12px; background: var(--flaeche); color: var(--text-2); }
.warten__punkt { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); animation: pulsieren 1.4s ease-in-out infinite; }
.warten--aus .warten__punkt { animation: none; background: var(--text-3); }
@keyframes pulsieren { 0%, 100% { opacity: .3; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.1); } }
@media (prefers-reduced-motion: reduce) { .warten__punkt { animation: none; } .aufgabe, .haken > span { transition: none; } }

/* Leiste oben: Textknoepfe ohne Unterstrich, Reiter enger */
.nav__rechts.textknopf, a.nav__links { text-decoration: none; }
.reiterleiste { gap: 18px; }
.feld .segment__wahl, .segment__wahl { margin: 0; color: #fff; font-size: 14px; letter-spacing: 0; text-transform: none; }
.schnellwahl { gap: 6px; }
.schnellwahl button { padding: 6px 11px; }
.gruppe--abstand { margin-top: 18px; }

/* Untere Leiste: so viele Spalten wie Reiter (Heute/Woche/Infos kommen dazu, sobald es sie gibt) */
.leiste--2 { max-width: 220px; } .leiste--2 ul { grid-template-columns: repeat(2, 1fr); }
.leiste--3 { max-width: 300px; } .leiste--3 ul { grid-template-columns: repeat(3, 1fr); }
.leiste--4 { max-width: 380px; } .leiste--4 ul { grid-template-columns: repeat(4, 1fr); }
