/* =========================================================================
   ADA EXPLAIN — globaler "Kurz erklärt"-Popup-Baustein
   Funktioniert auf jeder Seite, die ada-v7.css/js lädt. Übernimmt automatisch
   die Akzentfarbe der jeweiligen Seite über die CSS-Variablen --c / --rgb.
   ========================================================================= */

.adax-info-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 21px;
  height: 21px;
  margin-left: 7px;
  flex: none;
  border-radius: 50%;
  border: 1px solid var(--c, #00eaff);
  background: rgba(var(--rgb, 0, 234, 255), .13);
  color: var(--c, #00eaff);
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-weight: 700;
  font-size: 12px;
  line-height: 1;
  cursor: pointer;
  vertical-align: middle;
  position: relative;
  top: -2px;
  box-shadow: 0 0 0 0 rgba(var(--rgb, 0, 234, 255), .5);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  -webkit-tap-highlight-color: transparent;
}
.adax-info-dot:hover,
.adax-info-dot:focus-visible {
  transform: scale(1.2);
  background: var(--c, #00eaff);
  color: #02050c;
  box-shadow: 0 0 16px rgba(var(--rgb, 0, 234, 255), .65);
}
.adax-info-dot.adax-pulse { animation: adaxPulse 1.9s ease-out 3; }
@keyframes adaxPulse {
  0%   { box-shadow: 0 0 0 0 rgba(var(--rgb, 0, 234, 255), .55); }
  70%  { box-shadow: 0 0 0 10px rgba(var(--rgb, 0, 234, 255), 0); }
  100% { box-shadow: 0 0 0 0 rgba(var(--rgb, 0, 234, 255), 0); }
}
@media (prefers-reduced-motion: reduce) {
  .adax-info-dot.adax-pulse { animation: none; }
}

/* Stand-alone "?"-Chip, wenn ganze Zeilen/Karten erklärbar sein sollen */
.adax-info-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  border: 1px dashed rgba(var(--rgb, 0, 234, 255), .45);
  border-radius: 999px;
  background: rgba(var(--rgb, 0, 234, 255), .06);
  color: var(--c, #00eaff);
  font-family: Rajdhani, Inter, sans-serif;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: .68rem;
  padding: 6px 12px;
  cursor: pointer;
  transition: .18s;
}
.adax-info-chip:hover { background: rgba(var(--rgb, 0, 234, 255), .16); border-style: solid; }

body.adax-modal-active { overflow: hidden; }

.adax-modal {
  position: fixed;
  inset: 0;
  z-index: 3200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.adax-modal.open { opacity: 1; pointer-events: auto; }
.adax-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(2, 4, 10, .82);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}
.adax-modal-box {
  position: relative;
  width: 100%;
  max-width: 460px;
  max-height: 82vh;
  overflow-y: auto;
  background: linear-gradient(180deg, #0c1120, #070a14);
  border: 1px solid var(--c, #00eaff);
  border-radius: 22px;
  padding: 28px 24px 24px;
  box-shadow: 0 40px 100px -20px rgba(0, 0, 0, .85), 0 0 46px -6px rgba(var(--rgb, 0, 234, 255), .4);
  transform: translateY(18px) scale(.96);
  transition: transform .32s cubic-bezier(.2, .9, .25, 1.2), opacity .25s ease;
}
.adax-modal.open .adax-modal-box { transform: translateY(0) scale(1); }
.adax-modal-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 21px;
  margin-bottom: 14px;
  background: rgba(var(--rgb, 0, 234, 255), .14);
  border: 1px solid rgba(var(--rgb, 0, 234, 255), .4);
  box-shadow: 0 0 22px rgba(var(--rgb, 0, 234, 255), .32);
}
.adax-modal-kicker {
  display: inline-block;
  font-family: Rajdhani, Inter, sans-serif;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-size: .66rem;
  color: var(--c, #00eaff);
  margin-bottom: 8px;
}
.adax-modal-box h3 {
  font-family: Rajdhani, Inter, sans-serif;
  text-transform: uppercase;
  letter-spacing: .01em;
  font-size: 1.24rem;
  color: #fff;
  margin: 0 0 12px;
  line-height: 1.18;
  text-shadow: 0 0 16px rgba(var(--rgb, 0, 234, 255), .35);
}
.adax-modal-box p {
  color: #c3d5e4;
  font-size: .93rem;
  line-height: 1.68;
  margin: 0;
}
.adax-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .03);
  color: #fff;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: .15s;
}
.adax-modal-close:hover { color: var(--c, #00eaff); border-color: var(--c, #00eaff); transform: rotate(90deg); }
.adax-modal-ok {
  margin-top: 22px;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--c, #00eaff);
  border-radius: 14px;
  background: rgba(var(--rgb, 0, 234, 255), .13);
  color: var(--c, #00eaff);
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .84rem;
  padding: 13px 18px;
  cursor: pointer;
  transition: .2s;
}
.adax-modal-ok:hover { background: var(--c, #00eaff); color: #02050c; transform: translateY(-1px); }

@media (max-width: 520px) {
  .adax-modal-box { padding: 24px 18px 20px; }
}
