.ajb-ki-survey{max-width:900px;margin:20px auto;font-family:"Montserrat",Arial,Helvetica,sans-serif;color:#20262d}
.ajb-ki-survey h2{font-size:2rem;margin-bottom:10px}
.ajb-section{background:#fff;border:1px solid #d7dde2;border-radius:12px;padding:20px;margin:18px 0}
.ajb-section h3{color:#24485f;margin-top:0}
.ajb-question{margin:0 0 24px}.ajb-question:last-child{margin-bottom:0}
.ajb-qtitle{font-weight:700;margin-bottom:8px}
.ajb-options{display:grid;gap:8px}.ajb-options label{display:flex;gap:8px;align-items:flex-start}
.ajb-scale{display:grid;grid-template-columns:repeat(5,1fr);gap:8px}.ajb-scale label{border:1px solid #d7dde2;border-radius:8px;padding:8px;text-align:center}
.ajb-question textarea{width:100%;min-height:100px;padding:10px;border:1px solid #bbc5cc;border-radius:8px}
.ajb-conditional{margin-top:18px;padding-top:16px;border-top:1px dashed #cbd3d9}
.ajb-notice{padding:12px 14px;background:#eef4f7;border-left:4px solid #315f7d;border-radius:7px;margin:16px 0}
.ajb-consent{display:flex;gap:8px;align-items:flex-start;margin:18px 0}
.ajb-submit{background:#315f7d;color:#fff;border:0;border-radius:8px;padding:11px 16px;font-weight:700;cursor:pointer}
.ajb-success,.ajb-error{padding:12px 14px;border-radius:8px;margin-bottom:16px}.ajb-success{background:#eaf6ef}.ajb-error{background:#fdecec}
.ajb-hp{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important}
@media(max-width:650px){.ajb-scale{grid-template-columns:1fr}.ajb-scale label{text-align:left}}

/* Verbesserte Sichtbarkeit von Checkboxen und Radiobuttons */
.ajb-ki-survey input[type="radio"],
.ajb-ki-survey input[type="checkbox"]{
  -webkit-appearance:none;
  appearance:none;
  width:20px;
  height:20px;
  min-width:20px;
  margin:1px 2px 0 0;
  border:2px solid #6f7b84;
  background:#fff;
  display:inline-grid;
  place-content:center;
  cursor:pointer;
  vertical-align:middle;
  box-shadow:none;
}

.ajb-ki-survey input[type="radio"]{
  border-radius:50%;
}

.ajb-ki-survey input[type="checkbox"]{
  border-radius:4px;
}

.ajb-ki-survey input[type="radio"]::before{
  content:"";
  width:10px;
  height:10px;
  border-radius:50%;
  transform:scale(0);
  transition:transform .12s ease-in-out;
  background:#2f7d4b;
}

.ajb-ki-survey input[type="radio"]:checked::before{
  transform:scale(1);
}

.ajb-ki-survey input[type="checkbox"]::before{
  content:"";
  width:10px;
  height:6px;
  border-left:3px solid #fff;
  border-bottom:3px solid #fff;
  transform:rotate(-45deg) scale(0);
  transition:transform .12s ease-in-out;
  margin-top:-2px;
}

.ajb-ki-survey input[type="checkbox"]:checked{
  background:#2f7d4b;
  border-color:#2f7d4b;
}

.ajb-ki-survey input[type="checkbox"]:checked::before{
  transform:rotate(-45deg) scale(1);
}

.ajb-ki-survey input[type="radio"]:checked{
  border-color:#2f7d4b;
}

.ajb-ki-survey input[type="radio"]:focus-visible,
.ajb-ki-survey input[type="checkbox"]:focus-visible{
  outline:3px solid rgba(47,125,75,.25);
  outline-offset:2px;
}

/* Antwortoptionen als klar erkennbare Klickflächen */
.ajb-options label{
  border:1px solid #d7dde2;
  border-radius:8px;
  padding:9px 11px;
  cursor:pointer;
  transition:border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}

.ajb-options label:hover{
  border-color:#9cacb6;
  background:#f8faf9;
}

.ajb-options label.ajb-selected{
  border:2px solid #2f7d4b;
  background:#edf7f0;
  box-shadow:0 0 0 2px rgba(47,125,75,.08);
}

/* 1-5-Skala: gewählte Antwort deutlich markieren */
.ajb-scale label{
  cursor:pointer;
  transition:border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
  background:#fff;
}

.ajb-scale label:hover{
  border-color:#7ea98c;
  background:#f4faf6;
}

.ajb-scale label.ajb-selected{
  border:2px solid #2f7d4b;
  background:#eaf6ee;
  box-shadow:0 0 0 2px rgba(47,125,75,.10);
  font-weight:700;
}

/* Typografie Frontend */
.ajb-ki-survey,
.ajb-ki-survey button,
.ajb-ki-survey input,
.ajb-ki-survey textarea,
.ajb-ki-survey select{
  font-family:"Montserrat", Arial, Helvetica, sans-serif;
}


/* Montserrat im gesamten Umfrage-Frontend gegen Theme-Regeln erzwingen */
.ajb-ki-survey,
.ajb-ki-survey *,
.ajb-ki-survey h1,
.ajb-ki-survey h2,
.ajb-ki-survey h3,
.ajb-ki-survey h4,
.ajb-ki-survey p,
.ajb-ki-survey div,
.ajb-ki-survey span,
.ajb-ki-survey label,
.ajb-ki-survey strong,
.ajb-ki-survey button,
.ajb-ki-survey input,
.ajb-ki-survey textarea,
.ajb-ki-survey select {
  font-family: "Montserrat", sans-serif !important;
}
