/* ==== LEGEND COMPONENT ==== */
/* Color legend styling */

.legende-titel {
  font-size: var(--font-size-bereich-titel);
  font-weight: bold;
  margin-bottom: var(--spacing-md);
}

.legende-item {
  margin-bottom: var(--spacing-xs);
  padding: var(--spacing-sm);
  color: white;
  text-align: center;
  border-radius: 4px;
}

.legende-filter-item {
  width: 100%;
  border: 2px solid transparent;
  background: #35506b;
  color: #ffffff;
  cursor: pointer;
  transition:
    transform 0.12s ease,
    border-color 0.12s ease,
    opacity 0.12s ease;
}

.legende-filter-item:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}

.legende-filter-item.is-active {
  border-color: #ffffff;
  box-shadow: 0 0 0 2px rgba(15, 76, 129, 0.35);
}

.legende-filter-all {
  background: #0f4c81;
}

.legende-item-titel {
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 8px;
  text-align: center;
}

.legende-item-inhalt {
  font-size: var(--font-size-small);
  line-height: 1.4;
}

.legende-modul {
  margin-bottom: var(--spacing-xs);
}

.legende-description {
  font-size: var(--font-size-small);
  margin-top: var(--spacing-xs);
  color: var(--color-text);
}

/* ==== LEGEND HINT ==== */

.legend-hint {
  background: var(--color-hub-button);
  color: white;
  padding: var(--spacing-lg);
  border-radius: 6px;
  text-align: center;
  font-size: 1rem;
  line-height: 1.6;
}

.legend-hint strong {
  font-weight: 700;
  text-decoration: underline;
}
