/* SHIO x R&B Pay: Startseite (Demo-Zentrale). Setzt tokens.css, fonts.css und ui.css voraus.
   Schwarz, Gold, Weiss; grosse Fotos, feine Goldlinien, viel Luft. Handy bis Desktop. */

html { background: var(--schwarz); scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { background: var(--schwarz); overflow-x: hidden; }

.st-rahmen { width: min(1200px, calc(100% - 64px)); margin-inline: auto; }
[data-icon] { display: inline-flex; align-items: center; }

/* ---------- Leiste oben ---------- */
.st-leiste { position: relative; }
.st-leiste__innen { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.st-leiste__marke { display: inline-flex; align-items: center; gap: 10px; font-size: .72rem; font-weight: 600; letter-spacing: var(--sperrung); text-transform: uppercase; color: var(--text-2); }
.st-leiste__marke img { width: 28px; height: 28px; }
.st-leiste__x { color: var(--gold); font-weight: 400; }

.st-status {
  display: inline-flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 16px 0 14px;
  border-radius: 999px; border: 1px solid var(--linie-stark); background: rgba(255, 255, 255, .03);
  font-size: .8rem; font-weight: 500; color: var(--text-2); white-space: nowrap;
}
.st-status__punkt { width: 9px; height: 9px; border-radius: 50%; background: var(--text-3); flex: none; }
.st-status[data-zustand="pruefen"] .st-status__punkt { animation: st-atmen 1.4s ease-in-out infinite; }
.st-status[data-zustand="online"] { border-color: rgba(79, 207, 141, .35); }
.st-status[data-zustand="online"] .st-status__punkt { background: var(--ok); box-shadow: 0 0 0 4px rgba(79, 207, 141, .16); }
.st-status[data-zustand="langsam"] { border-color: rgba(240, 181, 69, .4); }
.st-status[data-zustand="langsam"] .st-status__punkt { background: var(--warn); box-shadow: 0 0 0 4px rgba(240, 181, 69, .16); }
.st-status[data-zustand="offline"] { border-color: rgba(238, 90, 82, .5); color: #ffc9c4; }
.st-status[data-zustand="offline"] .st-status__punkt { background: var(--alarm); box-shadow: 0 0 0 4px rgba(238, 90, 82, .18); }
.st-status b { color: var(--weiss); font-weight: 600; }
.st-status__zahl { font-variant-numeric: tabular-nums; }
@keyframes st-atmen { 50% { opacity: .35; } }

/* ---------- Kopfbereich ---------- */
.st-held { display: grid; justify-items: center; text-align: center; padding: 28px 0 56px; }
.st-paar { display: flex; align-items: center; justify-content: center; gap: 44px; margin-bottom: 38px; }
.st-paar__shio { width: 148px; height: 148px; }
.st-paar__rbpay { width: 222px; height: auto; }
.st-paar__x { position: relative; width: 26px; height: 26px; flex: none; }
.st-paar__x::before, .st-paar__x::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 34px; height: 1px; margin-left: -17px;
  background: linear-gradient(90deg, transparent, var(--gold) 20%, var(--gold-hell) 50%, var(--gold) 80%, transparent);
  transform: rotate(45deg);
}
.st-paar__x::after { transform: rotate(-45deg); }
.st-held__label { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.st-held__punkt { width: 4px; height: 4px; border-radius: 50%; background: var(--gold); opacity: .7; }
.st-titel { max-width: 18ch; font-size: clamp(2.1rem, 1.2rem + 2.6vw, 3.6rem); font-weight: 300; line-height: 1.1; color: var(--weiss); letter-spacing: -.005em; text-wrap: balance; }
.st-lead { margin-top: 22px; max-width: 58ch; color: var(--text-2); font-size: 1.06rem; line-height: 1.65; text-wrap: pretty; }

/* ---------- Kacheln ---------- */
.st-kacheln { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.st-kachel {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  border-radius: var(--radius-xl); border: 1px solid rgba(255, 255, 255, .09);
  background: linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, 0) 45%), var(--flaeche);
  box-shadow: 0 30px 60px -40px rgba(0, 0, 0, .95);
  transition: border-color 300ms var(--ease), transform 300ms var(--ease), box-shadow 300ms var(--ease);
}
.st-kachel:hover { border-color: rgba(201, 168, 106, .4); transform: translateY(-3px); box-shadow: 0 36px 70px -40px rgba(0, 0, 0, .95), 0 0 0 1px rgba(201, 168, 106, .08); }
.st-kachel__bild { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #0c0d10; }
.st-kachel__bild img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 900ms var(--ease); filter: saturate(.92) contrast(1.02); }
.st-kachel:hover .st-kachel__bild img { transform: scale(1.06); }
.st-kachel__bild img[data-bild="ambiente-1"] { object-position: 50% 58%; }
.st-kachel__bild img[data-bild="sushi-meister"] { object-position: 58% 50%; }
.st-kachel__bild::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7, 8, 10, 0) 38%, rgba(17, 20, 24, .78) 82%, var(--flaeche) 100%);
}
.st-kachel__inhalt { position: relative; display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 0 28px 28px; margin-top: -30px; }
.st-kachel__icon {
  width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 10px;
  background: radial-gradient(circle at 35% 30%, #262b33, #14171c 70%); color: var(--gold-hell);
  border: 1px solid rgba(201, 168, 106, .5); box-shadow: 0 10px 26px -10px rgba(0, 0, 0, .9);
}
.st-kachel__icon .icon { width: 28px; height: 28px; --icon-strich: 1.6; }
.st-kachel__titel { font-size: 1.55rem; font-weight: 500; color: var(--weiss); line-height: 1.2; }
.st-kachel__text { color: var(--text-2); font-size: .96rem; line-height: 1.6; }
.st-kachel__fuss { position: relative; margin-top: auto; padding-top: 30px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.st-kachel__fuss::before { content: ""; position: absolute; left: 0; right: 0; top: 10px; height: 1px; background: linear-gradient(90deg, rgba(201, 168, 106, .45), rgba(201, 168, 106, .08)); }
.st-kachel__fuss .knopf .icon { width: 1.1em; height: 1.1em; }

/* QR-Knopf */
.st-qr {
  display: grid; justify-items: center; gap: 6px; padding: 7px 7px 6px; margin: 0; cursor: pointer;
  border: 1px solid rgba(201, 168, 106, .35); border-radius: 16px; background: rgba(255, 255, 255, .02); color: var(--text-3);
  transition: border-color var(--ui-dauer) var(--ease), transform 150ms var(--ease), background-color var(--ui-dauer) var(--ease);
}
@media (hover: hover) and (pointer: fine) { .st-qr:hover { border-color: var(--gold); background: var(--gold-glanz); color: var(--gold-hell); } }
.st-qr:active { transform: scale(.97); }
.st-qr:focus-visible { outline: 2px solid var(--ui-fokus); outline-offset: 3px; border-radius: 16px; }
.st-qr img { width: 111px; height: 111px; border-radius: 10px; }
.st-qr__text { font-size: .62rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.st-qr--gross { padding: 8px; }
.st-qr--gross img { width: 148px; height: 148px; }

.st-pin { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 26px; color: var(--text-3); font-size: .88rem; text-align: center; }
.st-pin .icon { color: var(--gold); width: 1.05rem; height: 1.05rem; }

/* ---------- Ablauf + Website ---------- */
.st-weiter { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 24px; margin-top: 88px; align-items: start; }
.st-h2 { margin-top: 12px; font-size: clamp(1.5rem, 1.1rem + 1vw, 2rem); font-weight: 400; color: var(--weiss); line-height: 1.2; }
.st-ablauf { padding: 8px 8px 0 0; }
.st-schritte { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 0; position: relative; }
.st-schritte::before { content: ""; position: absolute; left: 27px; top: 28px; bottom: 28px; width: 1px; background: linear-gradient(180deg, rgba(201, 168, 106, .55), rgba(201, 168, 106, .12)); }
.st-schritt { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 22px; padding: 12px 0; align-items: start; }
.st-schritt__nr {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; position: relative; z-index: 1;
  background: var(--schwarz); border: 1px solid rgba(201, 168, 106, .55); color: var(--gold-hell);
  font-size: .95rem; font-weight: 600; letter-spacing: .06em; font-variant-numeric: tabular-nums;
}
.st-schritt__titel { font-size: 1.12rem; font-weight: 600; color: var(--weiss); line-height: 1.3; padding-top: 6px; }
.st-schritt__text { margin-top: 4px; color: var(--text-2); font-size: .95rem; line-height: 1.55; }

.st-website {
  padding: 32px; border-radius: var(--radius-xl); position: relative; overflow: hidden;
  border: 1px solid rgba(201, 168, 106, .38);
  background: radial-gradient(140% 90% at 100% 0%, rgba(201, 168, 106, .1), rgba(201, 168, 106, 0) 60%), var(--flaeche);
  box-shadow: 0 30px 60px -40px rgba(0, 0, 0, .95);
}
.st-website::before { content: ""; position: absolute; left: 32px; right: 32px; top: 0; height: 1px; background: var(--ui-gold-linie); }
.st-website__text { margin-top: 12px; color: var(--text-2); line-height: 1.6; }
.st-website__qr { margin-top: 26px; display: flex; align-items: center; gap: 22px; }
.st-website__adresse { display: grid; gap: 6px; justify-items: start; min-width: 0; }
.st-website__url { color: var(--weiss); font-weight: 500; font-size: .95rem; overflow-wrap: anywhere; margin-bottom: 10px; }
.st-website__adresse .knopf .icon { width: 1.1em; height: 1.1em; }

/* ---------- Demo-Hinweis ---------- */
.st-demo {
  margin-top: 64px; display: flex; align-items: center; gap: 18px; padding: 18px 18px 18px 24px;
  border-radius: 22px; border: 1px dashed rgba(201, 168, 106, .4); background: rgba(201, 168, 106, .05);
}
.st-demo__icon { color: var(--gold); flex: none; display: grid; }
.st-demo__icon .icon { width: 1.5rem; height: 1.5rem; }
.st-demo__text { flex: 1; color: var(--text-2); font-size: .95rem; line-height: 1.55; }
.st-demo__text b { color: var(--weiss); font-weight: 600; }
.st-demo .knopf { flex: none; }
.st-demo__wo { font-weight: 500; color: var(--text-3); font-size: .82em; margin-left: .15em; }

/* ---------- Fuss ---------- */
.st-fuss { margin-top: 72px; padding: 32px 0 calc(40px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: auto 1fr; gap: 10px 32px; align-items: center; position: relative; }
.st-fuss::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--ui-gold-linie); opacity: .6; }
.st-fuss__text { color: var(--text-3); font-size: .82rem; justify-self: end; text-align: right; }
.st-fuss__recht { grid-column: 2; justify-self: end; display: flex; flex-wrap: wrap; gap: 0 24px; margin-top: -8px; }
.st-fuss__recht a { display: inline-flex; align-items: center; min-height: 48px; color: var(--text-2); font-size: .82rem; font-weight: 500; text-decoration: none; }
.st-fuss__recht a:hover { color: var(--gold-hell); }
.st-fuss__recht a:focus-visible { outline: 2px solid var(--ui-fokus); outline-offset: 2px; border-radius: 6px; }
.st-fuss__nachweis { grid-column: 1 / -1; color: var(--text-3); font-size: .74rem; line-height: 1.6; }
.st-fuss__nachweis a { color: var(--text-2); text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .15); }
.st-fuss__nachweis a:hover { color: var(--gold-hell); border-bottom-color: var(--gold); }
.st-noscript { color: var(--text-2); padding: 20px 0 40px; }

/* ---------- QR gross ---------- */
.st-qr-dialog { width: min(420px, calc(100vw - 32px)); }
.st-qr-dialog__bild { width: min(296px, 68vw); height: auto; aspect-ratio: 1; margin: 22px auto 0; border-radius: 18px; box-shadow: 0 0 0 1px rgba(201, 168, 106, .4), 0 24px 60px -20px rgba(0, 0, 0, .8); }
.st-qr-dialog__url { margin-top: 18px; color: var(--weiss); font-weight: 500; overflow-wrap: anywhere; }

/* ---------- Einblenden ---------- */
.st-rein { animation: st-rein 700ms var(--ease) both; }
@keyframes st-rein { from { opacity: 0; transform: translateY(14px); } }

/* ---------- Breiten ---------- */
@media (max-width: 1080px) {
  .st-kacheln { grid-template-columns: 1fr 1fr; }
  .st-kachel:last-child { grid-column: 1 / -1; flex-direction: row; }
  .st-kachel:last-child .st-kachel__bild { aspect-ratio: auto; width: 44%; flex: none; }
  .st-kachel:last-child .st-kachel__bild::after { background: linear-gradient(90deg, rgba(7, 8, 10, 0) 45%, var(--flaeche) 100%); }
  .st-kachel:last-child .st-kachel__inhalt { margin-top: 0; padding-top: 28px; }
  .st-weiter { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .st-rahmen { width: calc(100% - 32px); }
  .st-leiste__innen { min-height: 64px; }
  .st-leiste__marke { gap: 8px; font-size: .64rem; letter-spacing: .14em; white-space: nowrap; }
  .st-status { padding: 0 12px 0 11px; font-size: .74rem; min-height: 36px; gap: 8px; }
  .st-status__lang { display: none; }
  .st-pin { justify-content: flex-start; align-items: flex-start; text-align: left; font-size: .84rem; }
  .st-pin .icon { margin-top: .15rem; flex: none; }
  .st-held { padding: 20px 0 44px; }
  .st-paar { gap: 24px; margin-bottom: 32px; }
  .st-paar__shio { width: 96px; height: 96px; }
  .st-paar__rbpay { width: 150px; }
  .st-paar__x { width: 18px; height: 18px; }
  .st-paar__x::before, .st-paar__x::after { width: 24px; margin-left: -12px; }
  .st-held__label { font-size: .64rem; gap: 8px; }
  .st-lead { font-size: 1rem; }
  .st-kacheln { grid-template-columns: 1fr; gap: 18px; }
  .st-kachel:last-child { flex-direction: column; }
  .st-kachel:last-child .st-kachel__bild { width: auto; aspect-ratio: 16 / 10; }
  .st-kachel:last-child .st-kachel__bild::after { background: linear-gradient(180deg, rgba(7, 8, 10, 0) 38%, rgba(17, 20, 24, .78) 82%, var(--flaeche) 100%); }
  .st-kachel:last-child .st-kachel__inhalt { margin-top: -30px; padding-top: 0; }
  .st-kachel__inhalt { padding: 0 20px 22px; }
  .st-kachel__titel { font-size: 1.4rem; }
  .st-qr img { width: 74px; height: 74px; }
  .st-weiter { margin-top: 56px; }
  .st-schritt { grid-template-columns: 48px minmax(0, 1fr); gap: 16px; }
  .st-schritt__nr { width: 48px; height: 48px; }
  .st-schritte::before { left: 23px; }
  .st-website { padding: 24px 20px; }
  .st-website::before { left: 20px; right: 20px; }
  .st-website__qr { flex-direction: column; align-items: flex-start; }
  .st-demo { flex-direction: column; align-items: flex-start; padding: 18px; margin-top: 44px; }
  .st-fuss { grid-template-columns: 1fr; margin-top: 52px; }
  .st-fuss__text { justify-self: start; text-align: left; }
  .st-fuss__recht { grid-column: 1; justify-self: start; margin-top: -4px; }
}
@media (max-width: 380px) {
  .st-leiste__marke > span { display: none; }
  .st-leiste__marke > span:first-of-type { display: inline; }
}
@media (max-width: 720px) {
  .st-qr--gross img { width: 111px; height: 111px; }
}

/* Vorfuehrung am Laptop: Pult, Kasse, Bondrucker, Tablet-App (13.10.2026) */
.st-laptop { margin-block: 8px 48px; }
.st-laptop__liste { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-top: 18px; }
.st-laptop__link { display: flex; flex-direction: column; gap: 6px; padding: 18px 20px; border: 1px solid rgba(201, 168, 106, .28); border-radius: 18px; background: rgba(255, 255, 255, .03); color: inherit; text-decoration: none; transition: border-color .2s, background .2s; }
.st-laptop__link strong { font-size: 1.15rem; font-weight: 600; color: var(--gold); }
.st-laptop__link span { opacity: .82; font-size: .95rem; line-height: 1.45; }
.st-laptop__link:hover, .st-laptop__link:focus-visible { border-color: var(--gold); background: rgba(201, 168, 106, .08); }