/* === style.css oder Custom CSS === */

[data-agr-tooltip] {
  cursor: help;
  text-decoration: underline;
  text-decoration-color: var(--white);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.tooltip {
  max-width: 280px;
  position: absolute;
  background: var(--white);
  color: #161616;
  padding: 10px 15px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.2;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: 1000;
}
.tooltip.show {
  opacity: 1;
}
/* Pfeil */
.tooltip::after {
  content: '';
  position: absolute;
  width: 0; height: 0;
  border: 6px solid transparent;
}
.tooltip[data-position="top"]::after {
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-top-color: rgba(0, 0, 0, 0.8);
}
.tooltip[data-position="bottom"]::after {
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-bottom-color: rgba(0, 0, 0, 0.8);
}
