/* Realdar Kasse (public/kasse/kasse.js): Apple Pay / Google Pay / Karte wie die Sunsy-Web-App (luna.css .stripe-*), Marke A hell.
   Alle Knöpfe volle Breite, 52 px hoch, Pille (Radius 26), Zeichen + Name 23 px halbfett als eine Einheit mittig. */
.kasse-knoepfe { display: flex; flex-direction: column; gap: 10px; margin-top: 4px; }
.kasse-wallet[data-platz] { position: relative; height: 60px; margin: -4px 0; display: flex; align-items: center; }
.kasse-wallet[data-platz] > * { width: 100%; position: relative; z-index: 1; }
/* Auf Apple-Geräten steht der Apple-Pay-Platz ab dem ersten Bild (kein Springen), Stripe malt seinen echten Knopf deckungsgleich darüber. */
.kasse-wallet[data-unterlage]::before { content: '\F8FF\00a0Pay'; position: absolute; inset: 4px 0; z-index: 0; border-radius: 26px; background: #000;
  display: flex; align-items: center; justify-content: center; font: 500 23px/1 -apple-system, BlinkMacSystemFont, system-ui, sans-serif; letter-spacing: -.2px; color: #fff; pointer-events: none; }
.kasse-knopf { width: 100%; min-width: 0; height: 52px; padding: 0 20px; border-radius: 26px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; cursor: pointer; border: 0; transition: transform .12s cubic-bezier(.34,1.45,.64,1), box-shadow .24s, background .24s; -webkit-tap-highlight-color: transparent; }
.kasse-knopf:active:not(:disabled) { transform: scale(.97); }
.kasse-knopf:disabled { opacity: .55; cursor: default; }
.kasse-knopf.haupt { background: var(--rd-button, #2B3494); color: #fff; box-shadow: 0 1px 2px rgba(16,20,40,.04), 0 8px 20px -6px rgba(43,52,148,.45); }
.kasse-knopf.zweit { background: #fff; color: #0D0F14; box-shadow: inset 0 0 0 1px rgba(13,15,20,.14); }
.kasse-knopf.zweit:hover:not(:disabled) { box-shadow: inset 0 0 0 1px rgba(13,15,20,.28); }
.kasse-knopf-name { flex: none; font-size: 23px; font-weight: 600; letter-spacing: -.3px; line-height: 1.2; }
.kasse-zeichen { width: 23px; height: 23px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; }
.kasse-zahlen .kasse-knopf-name { font-size: 18px; letter-spacing: -.1px; white-space: nowrap; }   /* Betrag nie umbrechen: kasse.js fit() verkleinert */
.kasse-zahlen[data-laedt] .kasse-knopf-name { opacity: .55; }

body[data-kasse-blatt] { overflow: hidden; }
.kasse-blatt-grund { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: flex-end; justify-content: center; background: rgb(13 15 20 / .28);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: kasse-blende .2s ease-out both; }
@keyframes kasse-blende { from { opacity: 0; } }
.kasse-blatt { width: min(520px, 100%); max-height: 92dvh; overflow: auto; background: #fff; border-radius: 28px 28px 0 0;
  padding: 18px 20px calc(20px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 16px;
  box-shadow: 0 -20px 60px -20px rgba(16,20,40,.25); animation: kasse-ein .55s cubic-bezier(.34,1.45,.64,1) both; }
@media (min-width: 640px) { .kasse-blatt-grund { align-items: center; } .kasse-blatt { border-radius: 28px; } }
@keyframes kasse-ein { from { transform: translateY(40px); opacity: 0; } }
.kasse-blatt-kopf { display: flex; align-items: center; justify-content: space-between; font-size: 18px; color: #0D0F14; }
.kasse-zu { width: 36px; height: 36px; border-radius: 50%; border: 0; background: #F2F4FA; color: #0D0F14; font-size: 22px; line-height: 1; cursor: pointer; }
.kasse-laden { min-height: 120px; display: grid; place-items: center; }
.kasse-ring { width: 22px; height: 22px; border-radius: 50%; border: 2.5px solid #E3E6EC; border-top-color: var(--rd-button, #2B3494); animation: kasse-dreh .8s linear infinite; }
@keyframes kasse-dreh { to { transform: rotate(360deg); } }
.kasse-mail { display: flex; flex-direction: column; gap: 6px; }
.kasse-mail input { width: 100%; height: 48px; padding: 0 14px; border-radius: 14px; border: 1px solid rgba(13,15,20,.12); font: inherit; font-size: 16px; color: #0D0F14; background: #fff; }
.kasse-mail input:focus { outline: 2px solid color-mix(in srgb, #1F2BD1 60%, transparent); outline-offset: 1px; }
.kasse-mail-hinweis { margin: 0; font-size: 13px; color: #B0281A; }
@media (prefers-reduced-motion: reduce) { .kasse-blatt, .kasse-blatt-grund { animation-duration: .01s; } .kasse-ring { animation-duration: 2s; } }
