/* eSosta QR-Demo Modul - Pfarrwerfen Live-Demo */

/* ---------- Modal ---------- */
.qr-demo-modal {
  position: fixed; inset: 0;
  background: rgba(28, 27, 25, 0.55);
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
  animation: qr-fade 0.2s ease-out;
}
@keyframes qr-fade { from { opacity: 0; } to { opacity: 1; } }

.qr-demo-card {
  background: #ffffff;
  border-radius: 16px;
  max-width: 520px;
  width: 100%;
  max-height: 92vh;
  overflow: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
  animation: qr-scale 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes qr-scale { from { transform: scale(0.94); opacity: 0; } to { transform: scale(1); opacity: 1; } }

.qr-demo-header {
  padding: 28px 28px 22px;
  color: #ffffff;
  border-radius: 16px 16px 0 0;
}
.qr-demo-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 8px;
}
.qr-demo-header h2 {
  font-family: 'General Sans', 'Satoshi', system-ui, sans-serif;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.25;
  margin: 0 0 8px;
  color: #ffffff;
}
.qr-demo-meta {
  font-size: 13px;
  opacity: 0.85;
  font-family: 'Satoshi', system-ui, sans-serif;
}

.qr-demo-body {
  padding: 24px 28px 22px;
  font-family: 'Satoshi', system-ui, sans-serif;
  color: #2E4756;
}
.qr-demo-lead {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 10px;
  color: #01696F;
}
.qr-demo-body p {
  font-size: 15px;
  line-height: 1.55;
  color: #4A4A4A;
  margin: 0 0 16px;
}

.qr-demo-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 18px 0;
}
.qr-demo-option {
  display: block;
  padding: 16px 18px;
  border: 1.5px solid #E8E8E8;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.15s;
  background: #F7F6F2;
}
.qr-demo-option:hover {
  border-color: #01696F;
  background: #ffffff;
  transform: translateX(2px);
  box-shadow: 0 4px 12px rgba(1, 105, 111, 0.1);
}
.qr-demo-badge {
  display: inline-block;
  background: #01696F;
  color: #ffffff;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}
.qr-demo-badge-alt {
  background: #A12C7B;
}
.qr-demo-option h3 {
  font-family: 'General Sans', system-ui, sans-serif;
  font-size: 16px;
  font-weight: 600;
  margin: 4px 0;
  color: #2E4756;
}
.qr-demo-stats {
  font-size: 13px;
  color: #4A4A4A;
  margin-bottom: 4px;
}
.qr-demo-walk {
  font-size: 12px;
  color: #01696F;
  font-weight: 600;
}

.qr-demo-loop {
  margin: 16px 0;
  padding-left: 20px;
}
.qr-demo-loop li {
  font-size: 14px;
  line-height: 1.6;
  color: #4A4A4A;
  margin-bottom: 8px;
}
.qr-demo-loop li strong { color: #2E4756; }

.qr-demo-walk-info {
  background: #F7F6F2;
  border-left: 3px solid #01696F;
  padding: 12px 14px;
  border-radius: 6px;
  font-size: 13px;
  color: #4A4A4A;
  margin: 14px 0;
}

.qr-demo-walk-cta {
  display: flex;
  align-items: center;
  gap: 14px;
  background: linear-gradient(135deg, #01696F 0%, #2E4756 100%);
  color: white;
  text-decoration: none;
  padding: 14px 18px;
  border-radius: 10px;
  margin: 16px 0 8px;
  box-shadow: 0 4px 14px rgba(1, 105, 111, 0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.qr-demo-walk-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(1, 105, 111, 0.35);
}
.qr-demo-walk-cta-icon {
  font-size: 28px;
  line-height: 1;
}
.qr-demo-walk-cta-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.qr-demo-walk-cta-text strong {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.2px;
}
.qr-demo-walk-cta-text small {
  font-size: 12px;
  opacity: 0.85;
}

.qr-demo-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  margin-top: 12px;
  border-top: 1px solid #E8E8E8;
  font-size: 12px;
  color: #7A7974;
}
.qr-demo-close-btn {
  background: #01696F;
  color: #ffffff;
  border: none;
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s;
}
.qr-demo-close-btn:hover { background: #0C4E54; }

/* ---------- Live-Counter im Header ---------- */
.qr-demo-counter {
  position: fixed;
  bottom: 16px;
  right: 16px;
  background: #2E4756;
  color: #ffffff;
  padding: 8px 14px;
  border-radius: 100px;
  font-family: 'Satoshi', system-ui, sans-serif;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 1000;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  animation: qr-pulse-bg 2.5s ease-in-out infinite;
}
@keyframes qr-pulse-bg {
  0%, 100% { box-shadow: 0 4px 16px rgba(0,0,0,0.2); }
  50% { box-shadow: 0 4px 22px rgba(1, 105, 111, 0.4); }
}
.qr-cc-icon {
  display: inline-block;
  animation: qr-blink 1.4s ease-in-out infinite;
  font-size: 9px;
}
@keyframes qr-blink { 0%, 60%, 100% { opacity: 1; } 80% { opacity: 0.3; } }
.qr-cc-label {
  font-size: 11px;
  opacity: 0.8;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-right: 4px;
}
.qr-cc-num {
  background: rgba(255,255,255,0.18);
  padding: 2px 8px;
  border-radius: 100px;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

/* ---------- Erlebnispunkt-Marker auf Karte ---------- */
.qr-demo-erlebnis-icon { background: transparent; border: none; }
.qr-demo-erlebnis-pin {
  width: 36px; height: 36px;
  background: #A12C7B;
  border: 3px solid #ffffff;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}
.qr-demo-erlebnis-pin::before {
  content: "🌄";
  transform: rotate(45deg);
}
.qr-demo-erlebnis-pin > * { display: none; }

/* ---------- Nummerierte Stationsmarker (Loop) ---------- */
.qr-demo-station-icon { background: transparent; border: none; }
.qr-demo-station-pin {
  width: 32px; height: 32px;
  background: #01696F;
  border: 3px solid #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'DM Sans', system-ui, sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: white;
  box-shadow: 0 3px 8px rgba(0,0,0,0.35);
  text-align: center;
  line-height: 1;
}

/* Mobile Anpassung */
@media (max-width: 600px) {
  .qr-demo-card { max-height: 96vh; }
  .qr-demo-header { padding: 22px 20px 18px; }
  .qr-demo-header h2 { font-size: 20px; }
  .qr-demo-body { padding: 20px 20px 18px; }
}
