/* KellnerCall – Einrichtung & QR-Codes / echte Produkt-Screenshots
   Separat gehalten, damit andere Funktionsseiten nicht beeinflusst werden. */

.kc-setup-qr-detail-page .kc-setup-proof {
  margin: 0;
}

.kc-setup-qr-detail-page .kc-setup-proof > button,
.kc-setup-qr-detail-page .kc-setup-phone-frame > button {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.kc-setup-qr-detail-page .kc-setup-proof img,
.kc-setup-qr-detail-page .kc-setup-phone-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.kc-setup-proof-hero {
  max-width: 720px;
  margin-inline: auto !important;
}

.kc-setup-proof-hero > button {
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 28px 70px rgba(0, 0, 0, .20);
}

.kc-setup-proof-hero img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 30px;
}

.kc-setup-proof figcaption {
  margin-top: 12px;
  text-align: center;
  color: rgba(240, 245, 242, .78);
  font-size: 13px;
  line-height: 1.45;
}

.kc-setup-proof-wide > button,
.kc-setup-proof-admin > button {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .12);
}

.kc-setup-proof-wide img,
.kc-setup-proof-admin img {
  border-radius: 24px;
}

.kc-setup-proof-admin {
  max-width: 1460px;
  margin: 0 auto 16px !important;
}

.kc-setup-proof-pdf {
  max-width: 610px;
  margin-inline: auto !important;
}

.kc-setup-proof-pdf > button {
  width: auto !important;
  margin-inline: auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 54px rgba(0, 0, 0, .14);
}

.kc-setup-proof-pdf img {
  width: auto !important;
  max-width: 100%;
  max-height: 780px;
  object-fit: contain;
  border-radius: 20px;
}

.kc-setup-proof-poster {
  max-width: 500px;
  margin-inline: auto !important;
}

.kc-setup-proof-poster > button {
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 18px 48px rgba(0, 0, 0, .12);
}

.kc-setup-proof-poster img {
  border-radius: 22px;
}

.kc-setup-staff-phone-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}

.kc-setup-phone-card {
  min-width: 0;
}

.kc-setup-phone-frame {
  position: relative;
  width: min(100%, 330px);
  margin-inline: auto;
  padding: 10px;
  border: 2px solid #4c535b;
  border-radius: 46px;
  background: linear-gradient(145deg, #151a20, #303840);
  box-shadow: 0 22px 52px rgba(0, 0, 0, .20), inset 0 0 0 1px rgba(255,255,255,.08);
}

.kc-setup-phone-frame::before {
  content: '';
  position: absolute;
  z-index: 2;
  top: 7px;
  left: 50%;
  width: 86px;
  height: 20px;
  transform: translateX(-50%);
  border-radius: 0 0 14px 14px;
  background: #11161b;
  pointer-events: none;
}

.kc-setup-phone-frame > button {
  overflow: hidden;
  border-radius: 36px;
}

.kc-setup-phone-frame img {
  aspect-ratio: 9 / 18.2;
  object-fit: cover;
  object-position: top center;
  border-radius: 36px;
  background: #fff;
}

.kc-setup-phone-card h3 {
  margin: 16px 0 6px;
  text-align: center;
  font-size: 18px;
  font-weight: 800;
}

.kc-setup-phone-card p {
  max-width: 330px;
  margin: 0 auto;
  text-align: center;
  color: rgba(240, 245, 242, .78);
  font-size: 14px;
  line-height: 1.55;
}

/* Screenshots sind klickbar, aber niemals normale Links auf die Bilddatei. */
.kc-setup-modal {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 26px;
  background: rgba(7, 11, 15, .90);
  backdrop-filter: blur(5px);
}

.kc-setup-modal.is-open {
  display: flex;
}

.kc-setup-modal-stage {
  width: min(96vw, 1600px);
  height: min(92vh, 1040px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.kc-setup-modal-image {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 14px;
  background: transparent;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .30);
}

.kc-setup-modal-close {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 2;
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 13px;
  background: #2a2f36;
  color: #fff;
  font-size: 23px;
  cursor: pointer;
}

.kc-setup-modal-close:hover {
  background: #373e46;
}

body.kc-setup-modal-lock {
  overflow: hidden;
}

.kc-setup-modal-trigger:focus-visible,
.kc-setup-modal-close:focus-visible {
  outline: 3px solid rgba(25, 135, 84, .35);
  outline-offset: 4px;
}

@media (max-width: 1199.98px) {
  .kc-setup-proof-pdf img {
    max-height: 690px;
  }
}

@media (max-width: 991.98px) {
  .kc-setup-proof-hero {
    max-width: 660px;
  }

  .kc-setup-staff-phone-grid {
    max-width: 760px;
    margin-inline: auto;
  }
}

@media (max-width: 767.98px) {
  .kc-setup-proof-hero > button,
  .kc-setup-proof-hero img,
  .kc-setup-proof-wide > button,
  .kc-setup-proof-wide img,
  .kc-setup-proof-admin > button,
  .kc-setup-proof-admin img {
    border-radius: 18px;
  }

  .kc-setup-staff-phone-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .kc-setup-phone-frame {
    width: min(100%, 350px);
  }

  .kc-setup-modal {
    padding: 12px;
  }

  .kc-setup-modal-close {
    top: 10px;
    right: 10px;
  }
}

/* V3: echter Token-Erneuern-Dialog statt illustrativem Platzhalter. */
.kc-setup-proof-token {
  max-width: 520px;
  margin-inline: auto !important;
}

.kc-setup-proof-token > button {
  width: auto !important;
  margin-inline: auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 54px rgba(0, 0, 0, .14);
}

.kc-setup-proof-token img {
  width: auto !important;
  max-width: 100%;
  max-height: 610px;
  object-fit: contain;
  border-radius: 20px;
}

@media (max-width: 991.98px) {
  .kc-setup-proof-token {
    max-width: 560px;
  }
}
