.question-selector__counter-text {
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: #555;
}

.question-selector__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.question-selector__button {
  flex: 1 1 calc(50% - 0.25rem);
}

@media (max-width: 600px) {
  .question-selector__button {
    flex: 1 1 100%;
  }
}

.question-selector__button {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.65rem 0.85rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  cursor: pointer;
  background: #fff;
  transition: border-color 0.15s, background 0.15s;
  user-select: none;
  box-sizing: border-box;
}

.question-selector__button:hover:not(.question-selector__button--disabled) {
  border-color: #7b5ea7;
  background: #f9f6fd;
}

.question-selector__button--selected {
  border-color: #7b5ea7;
  background: #ede8f7;
  color: #4a2d82;
}

.question-selector__button--disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.question-selector__number {
  flex-shrink: 0;
  font-size: 0.8rem;
  font-weight: 600;
  color: #7b5ea7;
  min-width: 1.2rem;
}

.question-selector__button--selected .question-selector__number {
  color: #4a2d82;
}

.question-selector__label {
  font-size: 0.9rem;
  line-height: 1.35;
}

/* Versteckte Antwortfelder */
.visually-hidden-qs {
  display: none;
}

.question-selector__answer-wrapper {
  margin-bottom: 1rem;
}

.question-selector__answer-wrapper label {
  color: #7b5ea7;
  font-weight: 600;
  margin-bottom: 0.3rem;
  display: block;
}

.question-selector__char-counter {
  font-size: 0.8rem;
  color: #777;
  text-align: right;
  margin-top: 0.2rem;
}
