/* Posteingang-Vorschau im Modul 03 von /funktionen (Briefing Jonas 18.11.2026): Liste mit vier
   unbeantworteten Verläufen (Booking.com, Airbnb, WhatsApp, E-Mail), rechts der Verlauf wie die
   Posteingang-Karte der Startseite (.pmock-* aus stil.css: Übersetzung → tippt → KI-Vorschlag).
   BEISPIELDATEN. Eigene Datei, damit sie stil.css nicht berührt. */
.pv-buehne { padding-top: clamp(24px, 4vw, 40px); }
.pv-fenster { display: grid; grid-template-columns: 300px 1fr; min-height: 440px; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px rgba(20,20,19,.06), 0 30px 60px -28px rgba(20,40,40,.45); font-size: 13px; color: var(--tinte); text-align: left; }

/* Liste */
.pv-liste { border-right: 1px solid var(--linie); background: #FBFAF8; }
.pv-suche { margin: 12px 12px 8px; padding: 8px 12px; border: 1px solid var(--linie); border-radius: 10px; background: #fff; color: var(--leise); font-size: 12px; }
.pv-reiter { display: flex; gap: 6px; padding: 0 12px 10px; border-bottom: 1px solid var(--linie); }
.pv-reiter span { padding: 4px 10px; border-radius: 999px; background: #F1EFEA; color: var(--text); font-size: 12px; font-weight: 500; }
.pv-reiter .an { background: var(--petrol); color: #fff; }
.pv-reiter b { margin-left: 4px; padding: 0 6px; border-radius: 999px; background: rgba(255,255,255,.25); font-size: 11px; }
.pv-verlauf { display: grid; gap: 4px; width: 100%; padding: 12px 14px; border: 0; border-bottom: 1px solid var(--linie); border-left: 3px solid transparent; background: none; font: inherit; text-align: left; color: inherit; cursor: pointer; transition: background-color .15s; }
.pv-verlauf:hover { background: #F4F2EE; }
.pv-verlauf:focus-visible { outline: 2px solid var(--petrol); outline-offset: -2px; }
.pv-verlauf[aria-pressed="true"] { border-left-color: var(--petrol); background: #EFF4F4; }
.pv-zeile1 { display: flex; align-items: baseline; gap: 6px; }
.pv-zeile1 strong { flex: 1; font-size: 13px; font-weight: 600; }
.pv-zeile1 .puls { order: -1; align-self: center; margin-right: 2px; }
.pv-verlauf[aria-pressed="false"] .pv-zeile1 strong::before { display: none; } /* Pulspunkt statt Ungelesen-Punkt: nicht zwei Punkte je Zeile */
.pv-verlauf[aria-pressed="true"] .puls { display: none; }
.pv-zeile1 strong::before { content: ""; display: inline-block; width: 7px; height: 7px; margin: 0 6px 1px 0; border-radius: 50%; background: #E5484D; }
.pv-zeile1 small { font-size: 11px; color: var(--leise); }
.pv-zeile2 { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--leise); }
/* Kanal kräftig in Markenfarbe (Jonas 18.11.: soll mehr herausstechen) */
.pv-kanal { display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px; border-radius: 999px; color: #fff; font-size: 11.5px; font-weight: 600; letter-spacing: .01em; }
.pv-kanal i { display: grid; place-items: center; width: 14px; height: 14px; border-radius: 4px; background: rgba(255,255,255,.22); font-style: normal; font-size: 9px; font-weight: 800; }
.pv-k-booking { background: #003580; }
.pv-k-airbnb { background: #FF385C; }
.pv-k-whatsapp { background: #1DA851; }
.pv-k-email { background: #5B6B73; }
.pv-vorschau { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 12px; color: var(--text); }

/* Verlauf rechts */
.pv-gespraech { display: flex; flex-direction: column; padding: 14px 20px 18px; background: #fff; }
.pv-gespraech .pmock-kopf { border-bottom: 1px solid var(--linie); margin-bottom: 14px; }
.pv-gespraech .pmock-verlauf { flex: 1; align-content: start; }

.pv-buehne .pmock-lernt { right: clamp(16px, 4vw, 48px); bottom: -20px; left: auto; }
.pv-buehne .pv-pille-kanaele { top: -22px; left: clamp(16px, 4vw, 48px); animation-delay: -3s; }

@media (max-width: 860px) {
  .pv-fenster { grid-template-columns: 1fr; }
  /* Handy: Gespräch (Animation) oben, Liste darunter — wie Check-in und Reinigung (Jonas 20.11.2026) */
  .pv-liste { border-right: 0; border-top: 1px solid var(--linie); }
  .pv-gespraech { order: -1; }
  .pv-suche { display: none; }
  .pv-reiter { padding-top: 12px; }
  .pv-gespraech { min-height: 340px; padding: 12px 14px 16px; }
  .pv-gespraech .pmock-sprache { grid-column: 1 / -1; justify-self: start; }
  .pv-buehne .vitrine-pille { font-size: 12px; padding: 8px 12px; white-space: normal; max-width: calc(100% - 32px); }
  .pv-buehne .pmock-lernt { right: 16px; }
  .pv-buehne .pv-pille-kanaele { left: 16px; }
}

/* „Antwort senden“ ist hier klickbar (Jonas 18.11.2026) und zeigt eine kurze Bestätigung */
.pv-senden { display: inline-flex; align-items: center; gap: 8px; border: 0; font: inherit; font-size: 12px; font-weight: 600; cursor: pointer; }
.pv-senden:hover { background: #164a52; }
.pv-senden:focus-visible { outline: 2px solid var(--petrol); outline-offset: 2px; }
.pv-gesendet { flex: none; color: #15803D; font-size: 12px; font-weight: 600; }
.pv-senden[hidden], .pv-gesendet[hidden] { display: none; }

/* Schneller als die Startseite (Jonas 18.11.2026: „sonst hätte ich keinen Bock, mir die Animation anzuschauen“):
   Übersetzung ist sofort da, kein Tipp-Zwischenschritt, der KI-Vorschlag folgt nach 0,4 s. Startseite unverändert. */
.pv-gespraech .pmock-uebersetzt { animation: pv-uebersetzt .3s ease-out both; }
.pv-gespraech .pmock-tippt { display: none; }
.pv-gespraech .pmock-ki { animation: pv-ki .4s ease-out .4s both; }
@keyframes pv-uebersetzt { from { opacity: 0; } }
@keyframes pv-ki { from { opacity: 0; transform: translateY(8px); } }
/* Handy: Hinweis über dem Knopf statt daneben — vorher brach er Wort für Wort um und der Knopf ragte
   über den Rand (Durchsicht 20.11.2026) */
@media (max-width: 560px) {
  .pv-gespraech .pmock-ki-fuss { flex-wrap: wrap; }
  .pv-gespraech .pmock-ki-fuss > span:first-child { flex: 1 1 100%; }
  .pv-gespraech .pmock-ki-fuss > .pv-senden, .pv-gespraech .pmock-ki-fuss > .pv-gesendet { margin-left: auto; }
}
