
/* Container für SVG und Detailpanel */
#container {
  position: relative;
  width: 100%;        /* statt 768px */
  max-width: 768px;   /* Desktop-Begrenzung */
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;     /* sauber zentrieren */
}
/* SVG-Rad-Styling */
svg {
  border: 1px solid #ccc;
  border-radius: 10px;
  background-color: #fafafa;
  width:500px;
  height:500px;
}
/* Styling für äußere Segmente */
.outer-segment {
  transition: transform 0.3s ease;
  cursor: pointer;
}
.outer-segment:hover {
  transform: scale(1.05);
}
/* Alle Texte */
text {
  font-family: sans-serif;
  font-size: 12px;
  pointer-events: none;
}
.outer-text {
  font-size: 10px;  /* Hier den gewünschten Wert eintragen */
}

/* Das Detailpanel rechts vom Rad */
#detailPanel {
  font-family: Verdana, sans-serif;
  margin-left: 20px;
  width: 200px;
  border: 1px solid #ccc;
  background: #fff;
  padding: 10px;
  height: 300px;
  border-radius: 10px;
  overflow-y: auto;
}

@media (max-width: 640px) {
  #container {
    flex-direction: column;
  }

  svg {
  max-width: 100%;
  height: auto;
}



}
