/* Automatische Ländererkennung */
.country-indicator {
  position: fixed !important;
  top: 20px !important;
  right: 20px !important;
  z-index: 9999 !important;
  padding: 8px 12px;
  background: rgba(0, 0, 0, 0.7);
  color: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  font-weight: 600;
  border-radius: 4px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s ease;
  user-select: none;
  transform: translateZ(0); /* Hardware-Beschleunigung */
}

.country-indicator:hover {
  background: rgba(0, 0, 0, 0.8);
  color: rgba(255, 255, 255, 1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

.country-indicator.detecting {
  opacity: 0.6;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 0.9; }
}

/* Mobile Responsive */
@media (max-width: 600px) {
  .country-indicator {
    top: 15px !important;
    right: 15px !important;
    padding: 6px 10px;
    font-size: 11px;
  }
}

/* Versteckte Sprachauswahl für manuelle Umschaltung */
.language-selector {
  display: none;
}

.lang-link {
  display: none;
}