#kp-check {
  font-family: Arial, sans-serif;
  color: #333333;
  line-height: 1.5;
  box-sizing: border-box;
}

#kp-check * {
  box-sizing: border-box;
}

.kp-check-container {
  max-width: 980px;
  margin: 0 auto;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.kp-check-hidden-title {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.kp-check-view {
  display: none;
}

.kp-check-view-active {
  display: block;
}

.kp-check-heading {
  font-size: 1.5rem;
  margin-top: 0;
  margin-bottom: 1rem;
  color: #111111;
}

.kp-check-text {
  margin-bottom: 1rem;
  font-size: 1rem;
}

.kp-check-text-small {
  font-size: 0.875rem;
  color: #555555;
  margin-top: 1.5rem;
}

.kp-check-list {
  list-style-type: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
}

.kp-check-list li {
  margin-bottom: 0.5rem;
}

.kp-check-actions {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 600px) {
  .kp-check-actions {
    flex-direction: row;
  }
}

.kp-check-actions-split {
  justify-content: space-between;
}

.kp-check-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  border-radius: 4px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease-in-out;
  min-height: 48px; /* Touch-freundlich */
}

#kp-check a.kp-check-btn,
#kp-check a.kp-check-btn:link,
#kp-check a.kp-check-btn:visited {
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #ffffff !important;
}

#kp-check a.kp-check-btn-primary,
#kp-check a.kp-check-btn-primary:link,
#kp-check a.kp-check-btn-primary:visited,
.kp-check-btn-primary {
  background-color: #0056b3 !important;
  border-color: #0056b3 !important;
  color: #ffffff !important;
  text-decoration: none !important;
}

#kp-check a.kp-check-btn-primary:hover,
#kp-check a.kp-check-btn-primary:focus,
.kp-check-btn-primary:hover,
.kp-check-btn-primary:focus {
  background-color: #004494 !important;
  border-color: #004494 !important;
  color: #ffffff !important;
  text-decoration: none !important;
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.4);
}

#kp-check a.kp-check-btn-secondary,
#kp-check a.kp-check-btn-secondary:link,
#kp-check a.kp-check-btn-secondary:visited,
.kp-check-btn-secondary {
  background-color: #e0e0e0 !important;
  border-color: #e0e0e0 !important;
  color: #004494 !important;
  text-decoration: none !important;
}

#kp-check a.kp-check-btn-secondary:hover,
#kp-check a.kp-check-btn-secondary:focus,
.kp-check-btn-secondary:hover,
.kp-check-btn-secondary:focus {
  background-color: #cccccc !important;
  border-color: #cccccc !important;
  color: #00376f !important;
  text-decoration: none !important;
  outline: none;
  box-shadow: 0 0 0 3px rgba(200, 200, 200, 0.6);
}

#kp-check a.kp-check-btn-cta,
#kp-check a.kp-check-btn-cta:link,
#kp-check a.kp-check-btn-cta:visited,
.kp-check-btn-cta {
  background-color: #e67e22 !important;
  border-color: #d35400 !important;
  color: #ffffff !important;
  text-decoration: none !important;
}

#kp-check a.kp-check-btn-cta:hover,
#kp-check a.kp-check-btn-cta:focus,
.kp-check-btn-cta:hover,
.kp-check-btn-cta:focus {
  background-color: #d35400 !important;
  border-color: #d35400 !important;
  color: #ffffff !important;
  text-decoration: none !important;
  outline: none;
  box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.4);
}

.kp-check-progress {
  margin-bottom: 2rem;
}

.kp-check-progress-text {
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  color: #666666;
}

.kp-check-progress-bar {
  background-color: #e0e0e0;
  height: 8px;
  border-radius: 4px;
  overflow: hidden;
}

.kp-check-progress-fill {
  background-color: #0056b3;
  height: 100%;
  width: 0%;
  transition: width 0.3s ease-in-out;
}

.kp-check-question {
  margin: 0;
  padding: 0;
  border: none;
}

.kp-check-legend {
  font-size: 1.25rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  padding: 0;
  color: #111111;
}

.kp-check-options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.kp-check-option-label {
  display: flex;
  align-items: center;
  padding: 1rem;
  background-color: #ffffff;
  border: 2px solid #dddddd;
  border-radius: 4px;
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s;
  min-height: 48px; /* Touch-freundlich */
}

.kp-check-option-label:hover {
  border-color: #0056b3;
  background-color: #f0f8ff;
}

.kp-check-option-input {
  margin-right: 1rem;
  width: 1.25rem;
  height: 1.25rem;
}

.kp-check-option-input:focus + span {
  outline: 2px solid #0056b3;
  outline-offset: 4px;
}

.kp-check-error {
  color: #d32f2f;
  background-color: #ffebee;
  padding: 1rem;
  border-radius: 4px;
  margin-top: 1rem;
  border: 1px solid #ef9a9a;
}

.kp-check-result-box {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  border-top: 5px solid #0056b3;
}

.kp-check-disclaimer {
  font-size: 0.875rem;
  background-color: #fff3cd;
  color: #856404;
  padding: 1rem;
  border-radius: 4px;
  border: 1px solid #ffeeba;
  margin-top: 2rem;
}
