/* KellnerCall – Bewertungen am Tisch / Screenshot- & Mockup-Ergänzungen
   bewusst separat gehalten, damit andere Funktionsseiten nicht beeinflusst werden. */

.kc-reviews-detail-page .kc-reviews-hero-copy {
  max-width: 670px;
}

.kc-reviews-detail-page .kc-reviews-hero-phone-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 560px;
  background: transparent;
}

.kc-reviews-phone-open {
  display: block;
  margin: 0 auto;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.kc-reviews-phone-open .kc-reviews-phone-shell,
.kc-reviews-phone-open .kc-reviews-phone-screen {
  display: block;
}

.kc-reviews-phone-shell {
  position: relative;
  width: min(338px, 78vw);
  aspect-ratio: 500 / 970;
  padding: 10px;
  border: 2px solid #4d5560;
  border-radius: 54px;
  background: linear-gradient(145deg, #12171d 0%, #2c333b 100%);
  box-shadow: 0 24px 64px rgba(15, 23, 42, .22), inset 0 0 0 1px rgba(255, 255, 255, .08);
}

.kc-reviews-phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 42px;
  background: #d6d9d6;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1);
}

.kc-reviews-phone-screen img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  opacity: 0;
  transform: translateX(14px);
  transition: opacity .28s ease, transform .28s ease;
  background: #d6d9d6;
  border-radius: 42px;
  pointer-events: none;
}

.kc-reviews-phone-screen img.is-active {
  opacity: 1;
  transform: translateX(0);
}

.kc-reviews-phone-open:focus-visible {
  outline: 3px solid rgba(25, 135, 84, .28);
  outline-offset: 7px;
  border-radius: 58px;
}

.kc-reviews-phone-steps {
  margin-top: 18px;
  display: flex;
  justify-content: center;
  gap: 7px;
  flex-wrap: wrap;
}

.kc-reviews-phone-steps button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid #e1e7e4;
  background: #fff;
  color: #5f6c65;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: .16s ease;
}

.kc-reviews-phone-steps button:hover,
.kc-reviews-phone-steps button.is-active {
  border-color: #b8dcc8;
  background: #edf9f2;
  color: #176f48;
}

.kc-reviews-phone-steps i {
  color: #198754;
}

.kc-reviews-proof-section,
.kc-reviews-flow-section,
.kc-reviews-context-section,
.kc-reviews-alert-section {
  background: transparent !important;
}

.kc-reviews-flow-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.kc-reviews-flow-card {
  height: 100%;
  padding: 15px;
  display: flex;
  flex-direction: column;
  border: 1px solid #e2e8e5;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, .05);
}

.kc-reviews-flow-card .kc-reviews-flow-number {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  background: #eaf7ef;
  color: #198754;
  font-size: 13px;
  font-weight: 900;
}

.kc-reviews-flow-card h3 {
  margin: 0 0 6px;
  min-height: 48px;
  font-size: 18px;
  font-weight: 800;
}

.kc-reviews-flow-card p {
  margin: 0 0 12px;
  min-height: 86px;
  overflow: hidden;
  color: #66736c;
  font-size: 14px;
  line-height: 1.55;
}

.kc-reviews-flow-thumb {
  display: block;
  margin-top: auto;
  width: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: zoom-in;
}

.kc-reviews-flow-thumb img {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top center;
  border-radius: 16px;
  border: 1px solid #e4e8e6;
  background: #f5f7f6;
}

.kc-reviews-proof-shot {
  position: relative;
  border-radius: 24px;
  background: transparent;
  border: 0;
  box-shadow: none;
  overflow: visible;
}

.kc-reviews-proof-shot button,
.kc-reviews-review-proof button,
.kc-reviews-alert-proof button {
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: zoom-in;
}

.kc-reviews-proof-shot img,
.kc-reviews-review-proof img,
.kc-reviews-alert-proof img {
  display: block;
  width: 100%;
  height: auto;
}

.kc-reviews-proof-shot > button > img {
  border-radius: 24px;
}

.kc-reviews-proof-caption {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 16px;
  padding: 16px 18px 18px;
  border: 1px solid rgba(220, 232, 225, .16);
  border-radius: 18px;
  background: rgba(246, 251, 248, .96);
}

.kc-reviews-proof-caption > i {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eaf7ef;
  color: #198754;
  font-size: 18px;
}

.kc-reviews-proof-caption strong,
.kc-reviews-proof-caption span {
  display: block;
}

.kc-reviews-proof-caption strong {
  margin-bottom: 2px;
  color: #183225;
  font-size: 15px;
  font-weight: 800;
}

.kc-reviews-proof-caption span {
  color: #526159;
  font-size: 13px;
  line-height: 1.5;
}

.kc-reviews-context-top {
  margin-bottom: 28px;
}

.kc-reviews-context-copy {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.kc-reviews-context-points,
.kc-reviews-admin-points {
  display: grid;
  gap: 16px;
  margin-top: 0;
}

.kc-reviews-context-points {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.kc-reviews-context-points article,
.kc-reviews-admin-points article {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 15px;
  border: 1px solid #e3e9e6;
  border-radius: 16px;
  background: #fff;
}

.kc-reviews-context-points article > i,
.kc-reviews-admin-points article > i {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eaf7ef;
  color: #198754;
  font-size: 18px;
}

.kc-reviews-context-points h3,
.kc-reviews-admin-points h3 {
  margin: 0 0 3px;
  font-size: 16px;
  font-weight: 800;
}

.kc-reviews-context-points p,
.kc-reviews-admin-points p {
  margin: 0;
  color: #68756e;
  font-size: 14px;
  line-height: 1.55;
}

.kc-reviews-review-proof {
  border: 1px solid #e2e8e5;
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 16px 46px rgba(15, 23, 42, .07);
}

.kc-reviews-review-proof img {
  border-radius: 22px;
}

.kc-reviews-alert-box {
  max-width: 850px;
  margin: 0 auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.kc-reviews-alert-proof {
  display: flex;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: transparent;
  overflow: hidden;
}

.kc-reviews-alert-proof img {
  max-width: 600px;
  margin: 0 auto;
}

.kc-reviews-alert-copy {
  margin-top: 22px;
  text-align: center;
}

.kc-reviews-alert-copy h3 {
  margin: 0 0 8px;
  color: #f8fcfa;
  font-size: 24px;
  font-weight: 850;
}

.kc-reviews-alert-copy p {
  max-width: 720px;
  margin: 0 auto;
  color: rgba(245, 249, 247, .84);
  line-height: 1.65;
}

.kc-reviews-benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.kc-reviews-benefit-card {
  padding: 24px;
  border: 1px solid #e2e8e5;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, .045);
}

.kc-reviews-benefit-card > i {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  background: #eaf7ef;
  color: #198754;
  font-size: 21px;
}

.kc-reviews-benefit-card h3 {
  margin: 0 0 8px;
  font-size: 19px;
  font-weight: 850;
}

.kc-reviews-benefit-card p {
  margin: 0;
  color: #69766f;
  line-height: 1.6;
}

.kc-reviews-micro-note {
  max-width: 920px;
  margin: 24px auto 0;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid #dce8e1;
  background: #f6fbf8;
  color: #4d5e54;
}

.kc-reviews-micro-note i {
  color: #198754;
  font-size: 19px;
}

.kc-reviews-micro-note p {
  margin: 0;
  line-height: 1.55;
}

.kc-reviews-proof-section .section-title p,
.kc-reviews-context-section .section-title p,
.kc-reviews-alert-section .section-title p,
.kc-reviews-context-copy .lead {
  color: rgba(245, 249, 247, .84);
}

/* eigener Bild-Viewer: öffnet Bilder nie als separaten Browser-Pfad */
.kc-reviews-modal {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(8, 12, 16, .88);
  backdrop-filter: blur(4px);
}

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

.kc-reviews-modal-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(96vw, 1500px);
  height: min(92vh, 1000px);
  background: transparent;
}

.kc-reviews-modal-image {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 14px;
  background: transparent;
}

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

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

@media (max-width: 1199.98px) {
  .kc-reviews-flow-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .kc-reviews-benefit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991.98px) {
  .kc-reviews-detail-page .kc-reviews-hero-phone-wrap {
    min-height: auto;
    padding-top: 8px;
  }

  .kc-reviews-phone-shell {
    width: min(330px, 84vw);
  }

  .kc-reviews-context-points {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .kc-reviews-flow-grid,
  .kc-reviews-benefit-grid {
    grid-template-columns: 1fr;
  }

  .kc-reviews-flow-card {
    padding: 14px;
  }

  .kc-reviews-flow-card h3,
  .kc-reviews-flow-card p {
    min-height: 0;
    height: auto;
    overflow: visible;
  }

  .kc-reviews-alert-box {
    padding: 0;
  }

  .kc-reviews-proof-caption {
    padding: 14px;
  }

  .kc-reviews-phone-steps {
    gap: 5px;
  }

  .kc-reviews-phone-steps button {
    font-size: 11px;
    padding: 5px 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .kc-reviews-phone-screen img {
    transition: none;
  }

  .kc-reviews-phone-screen img.is-active {
    opacity: 1;
    transform: none;
  }
}
