@charset "UTF-8";
template {
  display: none;
}

.modal-title {
  display: inline-block;
}

.modal-header,
.nodeBox {
  background-image: -webkit-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%);
  background-image: -o-linear-gradient(top, #f5f5f5 0%, #e8e8e8 100%);
  background-image: linear-gradient(to bottom, #f5f5f5 0%, #e8e8e8 100%);
  background-repeat: repeat-x;
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#FFF5F5F5", endColorstr="#FFE8E8E8", GradientType=0);
}

.questionBox {
  background-color: #FFF;
  background-image: none;
}

.nodeBox, .nodeBox:hover {
  padding: 10px !important;
  font-size: 14px;
  border: 1px solid #eee;
  border-radius: 5px;
  margin-bottom: 10px;
}

.errorBox {
  border: 1px solid red !important;
}

.theName {
  padding: 4px;
}

.categoryList, .categoryList ol {
  padding: 0;
  list-style-type: none;
  margin: 0;
  position: relative;
}

.childs, .questions {
  padding-left: 20px !important;
}

.placeholder {
  position: relative;
  visibility: visible;
  width: 0;
  height: 0;
  margin-top: -7px;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-left: 15px solid #eee;
}

.dragged {
  position: absolute;
  opacity: 0.5;
  z-index: 2000;
}

.dragged .childs, .dragged .questions {
  display: none;
}

.editCategoryBar {
  text-align: right;
}

.toggler {
  color: #333;
}

.editCategoryBar i {
  margin-right: 10px;
  font-size: 15px;
}

.activeElement {
  -moz-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.5);
  -webkit-box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.5);
  box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.5);
  background-color: #fff;
  position: relative;
  z-index: 1;
}

.acceptButton {
  cursor: pointer;
  color: #393 !important;
  z-index: 2;
  display: none;
}

.questionToggler {
  float: right;
  position: relative;
  top: -7px;
  cursor: pointer;
  font-size: 25px;
}

.rotated {
  transform: rotate(180deg);
  -moz-transform: rotate(180deg);
  -webkit-transform: rotate(180deg);
}

.questionContent {
  display: none;
}

.height-20 {
  height: 20px;
}

.padding-15 {
  padding: 15px;
}

.removeLink {
  margin-right: 10px;
  font-size: 14px;
  position: relative;
  top: 0;
}

.faqEntry {
  text-decoration: underline;
  font-size: 20px;
}

.faqBold {
  font-weight: bold;
}

#accordion-faq {
  margin: 20px 0 50px 50px;
}

#accordion-faq .ui-accordion-header:focus {
  outline: none;
}

#accordion-faq .ui-accordion-header {
  border: none;
  background: none;
  font-size: 16px;
}

.ui-accordion-content {
  border: none;
}

.faqEntry {
  padding: 10px 0;
}

/* ---------- Grundlayout & Nummerierung ---------- */
.faq-section {
  counter-reset: faq-counter; /* Ein globaler Zähler für alle Fragen */
}

.faq-list {
  list-style: none;
  margin: 0 0 20px 0;
  padding: 0;
}

.faq {
  counter-increment: faq-counter;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 6px;
  overflow: hidden;
  background: #f7f7f7;
}

/* ---------- Überschriften ---------- */
.faq-section h3 {
  margin-top: 25px;
  font-size: 18px;
  color: #333;
  border-bottom: 2px solid #ddd;
  padding-bottom: 4px;
}

/* ---------- Fragen (Nummer | Text | Pfeil) ---------- */
.question {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  width: 100%;
  background: #f7f7f7;
  border: none;
  padding: 12px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  text-align: left;
  align-items: flex-start;
  transition: background 0.3s ease;
}

.question:hover {
  background: #f0f0f0;
}

.faq .question::before {
  content: counter(faq-counter) ".";
  min-width: 28px;
  text-align: right;
  color: #333;
}

.text {
  white-space: normal;
  word-wrap: break-word;
}

.arrow {
  transition: transform 0.3s ease;
}

.question.active .arrow {
  transform: rotate(180deg); /* ▼ → ▲ */
}

/* ---------- Antworten (mit weicher Animation) ---------- */
.answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 12px;
  margin-left: 34px; /* bündig mit Text */
  background: #fff;
  border-left: 3px solid #ccc;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.answer.open {
  max-height: 400px; /* genug Platz für längere Antworten */
  padding: 8px 12px;
}