.card {
  margin: 12px 0;
  padding: 14px;
  border: 1px solid #ccc;
  border-radius: 8px;
  background: #fafafa;
}

.card h3 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 16px;
}

.row {
  display: flex;
  gap: 20px;
}

.row > div {
  flex: 1;
}

/* Button-Card */
.action-card {
  text-align: center;
}

/* Basis Button */
.btn-save {
  width: 100%;
  padding: 14px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 6px;
  border: none;
  cursor: not-allowed;
  background: #ccc;
  color: #666;
  transition: all 0.2s ease;
}

/* Aktiv (bereit zum Speichern) */
.btn-save.enabled {
  background: #2e7d32;
  color: #fff;
  cursor: pointer;
}

.btn-save.enabled:hover {
  background: #256628;
}

.badge{
  display:inline-block;
  padding:6px 10px;
  border-radius:999px;
  font-size:13px;
  border:1px solid #ccc;
  background:#fff;
}

.badge-ok{
  border-color:#2e7d32;
  color:#2e7d32;
}

.badge-bad{
  border-color:#b00020;
  color:#b00020;
}

.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
}

.badge-darkgreen { background: #0a6b0a; }
.badge-lightgreen { background: #2e9b2e; }
.badge-yellow { background: #d6a100; color: #111; }
.badge-red { background: #c62828; }
.badge-gray { background: #777; }

.module-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 0;
  
}

.module-row .module-label {
  width: 100px;     
}

.module-row:first-of-type {
  border-top: none;
}

.form-grid {
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap:12px;
}

.contact-form { margin-top: 10px; }

.contact-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 18px;
  align-items: end;
}

.contact-grid label{
  display: grid;
  gap: 6px;
  font-size: 14px;
}

.contact-grid label > span{
  font-weight: 600;
}

.contact-grid input,
.contact-grid select{
  width: 100%;
  box-sizing: border-box;
  padding: 8px 10px;
  border: 1px solid #99a;
  border-radius: 6px;
}

.contact-grid .span-2{
  grid-column: 1 / -1;
}

.contact-actions{
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
}

.contact-note{
  max-width: 340px;
  opacity: .75;
  font-size: 14px;
  line-height: 1.25;
}

/* Mobile */
@media (max-width: 700px){
  .contact-grid{ grid-template-columns: 1fr; }
  .contact-grid .span-2{ grid-column: auto; }
  .contact-actions{ grid-template-columns: 1fr; }
  .contact-note{ max-width: none; }
}

/* Suggestion card */

.suggestion-block {
  margin-top: 8px;
}

.suggestion-row {
  margin-bottom: 14px;   /* Abstand zwischen Sample und Optional mix */
}

.suggestion-label {
  font-weight: 600;
  margin-bottom: 4px;
}

.suggestion-text {
  padding: 10px 14px;
  margin-left: 12px;
  background: #f6f6f6;
  border-radius: 6px;
}

.suggestion-contact {
  margin-top: 16px;
}

.checkbox-label {
  display: contents;
}

.checkbox-line {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 40px; /* gleiche Höhe wie Input */
}

.checkbox-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.checkbox-box {
  width: 40px;
  height: 40px;
  border: 1px solid #b8b8c8;
  border-radius: 6px;
  background: #fff;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 40px;
  cursor: pointer;
}

.checkbox-text {
  cursor: pointer;
}

/* Haken anzeigen */
.checkbox-input:checked + .checkbox-box::after {
  content: "✓";
  font-size: 32px;
  line-height: 1;
  color: #2f8a34;
  font-weight: 700;
}

/* Fokus sichtbar */
.checkbox-input:focus + .checkbox-box {
  outline: 2px solid #7aa7ff;
  outline-offset: 2px;
}

