/* Software-Kopf neu (Dirk 26.10.; 29.10. fuenfte Zeile Chat, App dafuer hoeher): Grund wie der Websites-Kopf (Punkte + weiches Licht, kein Bauplan-Raster), Headline zweizeilig,
   rechts die eine App, schraeg im Licht („Ruhig“). Verhalten sw-hero.js. */
.pr .sh-hero { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  background: radial-gradient(38% 52% at 70% 50%, rgba(244,245,242,.06), transparent 72%),
    radial-gradient(circle, rgba(255,255,255,.075) 1.1px, transparent 1.6px) 0 0 / 30px 30px fixed, #090a0b; }
.pr .sh-hero .pr-h1 > span { white-space: nowrap; }

.pr .sh-stage { position: relative; z-index: 2; justify-self: center; width: min(100%, 680px); aspect-ratio: 640 / 570; margin-top: 8vh; perspective: 1600px; --p: 1; }
.pr .sh-app { position: absolute; inset: 0; transform-origin: 70% 50%; transform: rotateY(-10deg) rotateX(3deg); }
.pr .sh-stage .sw-app { box-shadow: 0 0 0 1px rgba(197,247,79,.6), 0 0 80px -10px rgba(197,247,79,.35), 0 60px 90px -40px #000; }
.pr .sh-pings { z-index: 5; }
html[data-wh] .pr .sh-pings { left: -10%; bottom: -12%; width: 290px; }
/* unten rechts das Mail-Objekt aus dem alten Kopf (statt des Handys), schwebt wie dort */
.pr .sh-obj { right: -10%; bottom: -16%; width: 21%; rotate: -8deg; z-index: 4; }
.pr .sw-row.ping { animation: sh-row .9s var(--ease); } @keyframes sh-row { 30% { background: rgba(197,247,79,.14); } }

@media (max-width: 900px) {
  .pr .sh-hero { grid-template-columns: minmax(0, 1fr); }
  .pr .sh-stage { width: 92%; margin: 70px auto 60px; }
  .pr .sh-obj { right: -2%; width: 18%; }
  html[data-wh] .pr .sh-pings { left: -2%; bottom: -16%; width: 250px; }
}

/* Fenster hell wie die Website im Websites-Kopf (Dirk 26.10.: dunkel „erkennt man fast gar nicht“): Papier, Leiste wie .wb-bar, Schrift dunkelgruen */
.pr .sh-stage .sw-app { background: #f2efe6; color: #1e3a2c; }
.pr .sh-stage .sw-top { background: #dcd8cd; border-bottom: 0; }
.pr .sh-stage .sw-top i { background: rgba(11,15,6,.25); }
.pr .sh-stage .sw-top b { color: #1e3a2c; }
.pr .sh-stage .sw-new { background: #1e3a2c; color: #f2efe6; }
.pr .sh-stage .sw-side { border-right-color: rgba(30,58,44,.12); }
.pr .sh-stage .sw-side span { color: rgba(30,58,44,.6); }
.pr .sh-stage .sw-side .on { background: rgba(30,58,44,.1); color: #1e3a2c; }
.pr .sh-stage .sw-row { background: #fff; box-shadow: 0 0 0 1px rgba(30,58,44,.08), 0 6px 14px -10px rgba(30,58,44,.4); }
.pr .sh-stage .sw-row b { color: #1e3a2c; }
.pr .sh-stage .sw-row small { color: rgba(30,58,44,.6); }
.pr .sh-stage .sw-row em { color: #1e3a2c; box-shadow: inset 0 0 0 1px rgba(30,58,44,.35); }
.pr .sh-stage .sw-row em.ok { background: var(--lime); color: var(--dk); box-shadow: none; }
.pr .sh-stage .sw-row.ping { animation-name: sh-row-l; } @keyframes sh-row-l { 30% { background: #eefbd0; } }

/* Meldungen: alle in derselben Zelle, die neue blendet ueber der alten ein – nichts rutscht (Dirk 26.10.: „springen wie wild herum“) */
.pr .sh-stage .sh-pings { display: grid; align-items: end; }
.pr .sh-stage .sh-pings > .wb-ping { grid-area: 1 / 1; margin: 0; }
/* Startzustand schon im CSS, sonst blitzen App und Brief auf, bevor sw-hero.js (defer) laeuft */
@media (prefers-reduced-motion: no-preference) { .pr .sh-stage { --p: 0; } .pr .sh-obj { visibility: hidden; } }
/* Handy: App ohne Seitenleiste und etwas hoeher, damit alle fuenf Zeilen einzeilig hineinpassen */
@media (max-width: 600px) {
  .pr .sh-stage { aspect-ratio: 1 / 1.08; width: 96%; margin-top: 50px; }
  .pr .sh-stage .sw-app { grid-template-columns: 1fr; grid-template-rows: 50px 1fr; }
  .pr .sh-stage .sw-side { display: none; }
  .pr .sh-stage .sw-row { column-gap: 10px; padding: 9px 10px; }
  .pr .sh-stage .sw-row :is(b, small) { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .pr .sh-stage .sw-row em { padding: 4px 8px; font-size: 9.5px; }
  .pr .sh-obj { width: 22%; right: -3%; bottom: -12%; }
  html[data-wh] .pr .sh-pings { width: 230px; bottom: -24%; }
}
/* mittlere Breiten (29.10.): Zeilentexte einzeilig wie am Handy, sonst brechen sie um und die unteren Zeilen fallen aus der App */
@media (min-width: 601px) and (max-width: 1100px) {
  .pr .sh-stage .sw-row { column-gap: 10px; }
  .pr .sh-stage .sw-row :is(b, small) { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}
