/* Desktop-Version */
.heatmap-tooltip {
  position: absolute;
  background: #222;
  color: #eee;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 12px;
  max-width: 210px;
  min-width: 210px;
  z-index: 1000;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  white-space: normal;
  text-align: center;
  transform: translateX(-50%);
}

/* Mobile-Version */
@media (max-width: 600px) {
  #touch-tooltip {
    position: absolute;
    padding: 4px 6px;
    background: rgba(0, 0, 0, 0.85); /* feste Transparenz */
    color: #fff;                     /* feste Textfarbe */
    border-radius: 6px;              /* abgerundete Ecken */
    font-size: 11px;
    pointer-events: none;
    z-index: 1000;
    display: none;
    min-width: 110px;
    max-width: 110px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    transform: translateX(-50%);
    white-space: normal;
    word-wrap: break-word;
    word-break: keep-all;
  
 /* Zeilenbegrenzung */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
 }

 