/* Reinigung-&-Team-Modul von /funktionen (Jonas 19.11.2026): Reinigungskalender hinten (Leitung am Rechner),
   davor EIN iPhone mit der Sicht der Reinigungskraft, links vier klickbare Schritte.
   iPhone-Rahmen und Schritt-Karten kommen aus gastvorschau.css (.gv-iphone, .gv-statusleiste, .gv-phase);
   Farben wie die App (assets/bilder/app-reinigung.webp). BEISPIELDATEN. */
.rn-buehne { display: grid; grid-template-columns: 55fr 45fr; grid-template-areas: "schritte handy"; gap: clamp(32px, 5vw, 64px); align-items: center; }
.rn-schritte { grid-area: schritte; display: grid; gap: 12px; }
.rn-handy { grid-area: handy; justify-self: center; }
.rn-handy .gv-iphone { background: #F3F0E8; }
.rn-handy .gv-statusleiste { background: #F3F0E8; }

.rn-schirm { flex: 1; display: grid; align-content: start; gap: 8px; padding: 6px 12px 12px; overflow: hidden; animation: vitrine-rein .3s ease-out; color: #141413; }
.rn-schirm[hidden] { display: none; }
.rn-klein { font-size: 11px; color: #6B6B6B; }
.rn-gruss { font-size: 18px; font-weight: 600; line-height: 1.2; }
.rn-karte { padding: 10px 12px; border: 1px solid #E5E0D4; border-radius: 14px; background: #fff; }
.rn-karte strong { display: block; font-size: 13px; font-weight: 600; }
.rn-karte small { display: block; font-size: 11px; color: #6B6B6B; }

/* Heute */
.rn-note { display: flex; align-items: baseline; gap: 8px; margin-top: 2px; }
.rn-note b { font-size: 30px; font-weight: 700; line-height: 1; color: #1B6F72; font-variant-numeric: tabular-nums; }
.rn-note em { font-style: normal; font-size: 12px; font-weight: 600; color: #15803D; }
.rn-naechster { border: 0; background: #DCEBE8; }
.rn-naechster strong { color: #1B6F72; }
.rn-marken { display: flex; gap: 6px; margin-top: 6px; }
.rn-marke { padding: 2px 8px; border-radius: 999px; background: #F1E4D2; font-size: 10px; font-weight: 600; color: #6B4E2E; }
.rn-marke-laeuft { background: #1B6F72; color: #fff; }
.rn-kacheln { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
.rn-kacheln .rn-karte { padding: 8px 10px; }
.rn-kacheln b { display: block; font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; }
.rn-balken { display: block; height: 5px; margin-top: 6px; border-radius: 999px; background: #E5E0D4; overflow: hidden; }
.rn-balken i { display: block; height: 100%; border-radius: inherit; background: #1B6F72; }

/* Checkliste */
.rn-kopf { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.rn-kopf strong { font-size: 15px; font-weight: 600; }
.rn-abschnitt { margin-top: 4px; font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #6B6B6B; }
.rn-punkte { display: grid; gap: 0; padding: 2px 12px; border: 1px solid #E5E0D4; border-radius: 14px; background: #fff; list-style: none; margin: 0; }
.rn-punkte li { display: flex; align-items: center; gap: 10px; padding: 8px 0; font-size: 12.5px; }
.rn-punkte li + li { border-top: 1px solid #F0ECE3; }
.rn-haken { display: grid; place-items: center; width: 18px; height: 18px; flex: none; border: 1.5px solid #C9C3B5; border-radius: 6px; font-size: 11px; font-weight: 700; color: #fff; }
.rn-haken-an { border-color: #1B6F72; background: #1B6F72; }
.rn-punkte .rn-erledigt { color: #6B6B6B; }
.rn-pflicht { margin-left: auto; padding: 2px 7px; border-radius: 999px; background: #FDECEC; font-size: 10px; font-weight: 600; color: #B42318; white-space: nowrap; }
.rn-foto { margin-left: auto; width: 30px; height: 30px; flex: none; border-radius: 8px; background: linear-gradient(135deg, #B9D5D3, #6FA6A3); }
.rn-knopf { display: block; width: 100%; margin-top: 4px; padding: 11px 14px; border: 0; border-radius: 12px; background: #1B6F72; color: #fff; font: inherit; font-size: 13px; font-weight: 600; text-align: center; }

/* Schaden */
.rn-fotos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.rn-fotos i { aspect-ratio: 1; border-radius: 10px; background: linear-gradient(160deg, #D8D2C4, #A89F8C); }
.rn-fotos i:nth-child(2) { background: linear-gradient(160deg, #C7D3D6, #8BA3A8); }
.rn-fotos span { display: grid; place-items: center; aspect-ratio: 1; border: 1.5px dashed #C9C3B5; border-radius: 10px; font-size: 20px; color: #9A937F; }
.rn-feld { padding: 10px 12px; border: 1px solid #E5E0D4; border-radius: 12px; background: #fff; font-size: 12.5px; line-height: 1.45; }
.rn-feld small { display: block; margin-bottom: 2px; font-size: 10px; font-weight: 600; color: #6B6B6B; }
button.rn-knopf { display: flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; }
button.rn-knopf[hidden] { display: none; }
.rn-gemeldet { display: flex; gap: 8px; align-items: center; padding: 10px 12px; border: 1px solid #BBF7D0; border-radius: 12px; background: #DCFCE7; font-size: 12px; font-weight: 600; color: #14532D; }
.rn-gemeldet[hidden] { display: none; }

/* Team-Chat */
.rn-chatkopf { display: flex; align-items: center; gap: 10px; padding-bottom: 8px; border-bottom: 1px solid #E5E0D4; }
.rn-chatkopf span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 999px; background: #DCEBE8; color: #1B6F72; font-weight: 700; }
.rn-chatkopf strong { display: block; font-size: 14px; font-weight: 600; }
.rn-chatkopf small { display: block; font-size: 11px; color: #6B6B6B; }
.rn-system { padding: 10px 12px; border: 1px solid #F5C9A8; border-radius: 12px; background: #FFF4EA; font-size: 12px; }
.rn-system strong { display: block; font-size: 12px; color: #9A3412; }
.rn-system span { color: #6B4E2E; }
.rn-blase { max-width: 82%; padding: 8px 11px; border-radius: 14px; background: #E9E4D8; font-size: 12.5px; line-height: 1.4; }
.rn-blase small { display: block; font-size: 10px; font-weight: 600; color: #6B6B6B; }
.rn-blase-ich { justify-self: end; background: #1B6F72; color: #fff; }
.rn-chat { display: flex; flex-direction: column; }
.rn-chat .rn-system { margin-top: auto; }
.rn-chat .rn-blase { align-self: flex-start; }
.rn-chat .rn-blase-ich { align-self: flex-end; }
.rn-leiste { background: #FBFAF6; }
.rn-leiste span, .rn-leiste span:first-child { color: #6B6B6B; font-weight: 400; }
.rn-leiste span.an { color: #1B6F72; font-weight: 600; }
.rn-eingabe { margin-top: 4px; padding: 9px 12px; border: 1px solid #E5E0D4; border-radius: 999px; background: #fff; font-size: 12px; color: #9A937F; }

.rn-pille-bewertung { top: -22px; left: clamp(16px, 4vw, 48px); }
.rn-pille-dauer { bottom: -20px; left: clamp(16px, 4vw, 48px); animation-delay: -3s; }

@media (max-width: 860px) {
  .rn-buehne { grid-template-columns: 1fr; grid-template-areas: "handy" "schritte"; gap: 16px; }
  .rn-schritte { grid-template-columns: 1fr 1fr; gap: 8px; }
  .rn-schritte .gv-phase { padding: 12px 14px; }
  .rn-schritte .gv-phase strong { font-size: 14px; line-height: 1.3; }
  .rn-buehne .vitrine-pille { font-size: 12px; padding: 8px 12px; }
}
@media (max-width: 360px) { .rn-handy .gv-iphone { width: 280px; } }
.rn-buehne .gv-phase[aria-pressed="true"] .puls { display: none; }
