/* =============================================
   Maniac Knowshop — Anfrage-Formulare
   ============================================= */

/* Wrapper pro Angebot */
.mk-anfrage-wrap {
  margin-top: 24px;
}

/* "Jetzt anfragen"-Button */
.mk-anfrage-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #2d7a4f;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 12px 24px;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
  transition: background 0.2s;
}
.mk-anfrage-btn svg {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.mk-anfrage-btn:hover {
  background: #25633f;
}
.mk-anfrage-btn:hover svg {
  transform: translateX(3px);
}
.mk-anfrage-btn.open {
  background: #1a4a2e;
}

/* Expand-Container */
.mk-anfrage-form {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.mk-anfrage-form.open {
  max-height: 1200px;
}
.mk-anfrage-inner {
  margin-top: 16px;
  background: #1a1510;
  border: 1px solid #372e23;
  border-radius: 8px;
  padding: 20px;
}

/* Offering-Badge */
.mk-offering-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 18px;
}
.mk-offering-badge-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 9px;
  color: #2d7a4f;
  letter-spacing: 3px;
  text-transform: uppercase;
}
.mk-offering-badge-name {
  background: rgba(45, 122, 79, 0.15);
  border: 1px solid rgba(45, 122, 79, 0.4);
  color: #2d7a4f;
  padding: 3px 10px;
  border-radius: 3px;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
}

/* Zeilen-Layout */
.mk-form-row {
  display: grid;
  gap: 12px;
  margin-bottom: 14px;
}
.mk-form-row.cols-2 { grid-template-columns: 1fr 1fr; }
.mk-form-row.cols-3 { grid-template-columns: 1fr 1fr 1fr; }

/* Feldgruppe */
.mk-field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

/* Labels */
.mk-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 9px;
  color: #90816e;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* Inputs */
.mk-input,
.mk-textarea,
.mk-select {
  background: #100e0a;
  border: 1px solid #5b4c39;
  border-radius: 4px;
  padding: 8px 10px;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  color: #d6d4cb;
  width: 100%;
  box-sizing: border-box;
  outline: none;
  transition: border-color 0.2s;
}
.mk-input:focus,
.mk-textarea:focus,
.mk-select:focus {
  border-color: #2d7a4f;
}
.mk-textarea {
  height: 72px;
  resize: vertical;
}
.mk-select {
  appearance: none;
  cursor: pointer;
}

/* Button-Picker (Anzahl-Auswahl) */
.mk-picker {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.mk-picker-btn {
  background: #100e0a;
  border: 1px solid #5b4c39;
  color: #90816e;
  padding: 5px 10px;
  border-radius: 4px;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.mk-picker-btn.selected {
  background: #2d7a4f;
  border-color: #2d7a4f;
  color: #fff;
}
.mk-picker-btn:hover:not(.selected) {
  border-color: #796853;
  color: #d6d4cb;
}

/* Radio-Cards (Lokalität) */
.mk-radio-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mk-radio-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #100e0a;
  border: 2px solid #372e23;
  border-radius: 5px;
  padding: 8px 12px;
  cursor: pointer;
  transition: border-color 0.15s;
}
.mk-radio-card.selected {
  border-color: #2d7a4f;
}
.mk-radio-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid #5b4c39;
  background: transparent;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, border-color 0.15s;
}
.mk-radio-card.selected .mk-radio-dot {
  background: #2d7a4f;
  border-color: #2d7a4f;
}
.mk-radio-dot-inner {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff;
  display: none;
}
.mk-radio-card.selected .mk-radio-dot-inner {
  display: block;
}
.mk-radio-text {
  font-family: 'Montserrat', sans-serif;
}
.mk-radio-title {
  font-size: 11px;
  color: #fff;
}
.mk-radio-sub {
  font-size: 9px;
  color: #90816e;
}
.mk-radio-card.selected .mk-radio-sub {
  color: #2d7a4f;
}

/* Feste Lokalität (nicht wählbar) */
.mk-location-fixed {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #100e0a;
  border: 2px solid #2d7a4f;
  border-radius: 5px;
  padding: 8px 12px;
}
.mk-location-fixed-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #2d7a4f;
  flex-shrink: 0;
}
.mk-location-fixed-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  color: #fff;
}
.mk-location-fixed-sub {
  font-family: 'Montserrat', sans-serif;
  font-size: 9px;
  color: #2d7a4f;
}

/* Submit-Button */
.mk-submit-btn {
  display: inline-block;
  background: #2d7a4f;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 11px 28px;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
  transition: background 0.2s;
  margin-top: 4px;
}
.mk-submit-btn:hover {
  background: #25633f;
}
.mk-submit-btn:disabled {
  background: #372e23;
  color: #5b4c39;
  cursor: not-allowed;
}

/* Trennlinie + Nachrichten-Feld */
.mk-divider {
  border: none;
  border-top: 1px solid #372e23;
  margin: 14px 0;
}

/* Response-Nachricht */
.mk-form-response {
  display: none;
  margin-top: 12px;
  padding: 10px 14px;
  border-radius: 4px;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
}
.mk-form-response.success {
  display: block;
  background: rgba(45, 122, 79, 0.15);
  border: 1px solid rgba(45, 122, 79, 0.4);
  color: #2d7a4f;
}
.mk-form-response.error {
  display: block;
  background: rgba(180, 60, 60, 0.1);
  border: 1px solid rgba(180, 60, 60, 0.3);
  color: #c07070;
}

/* Social-Links-Block */
.mk-social-alt {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #372e23;
}
.mk-social-alt-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 9px;
  color: #90816e;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.mk-social-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.mk-social-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 5px;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.2s;
}
.mk-social-btn:hover { opacity: 0.85; }
.mk-social-btn.whatsapp { background: #25D366; color: #fff; }
.mk-social-btn.instagram { background: #C13584; color: #fff; }
.mk-social-btn.linkedin { background: #0077B5; color: #fff; }

/* ── Light Mode (highlight schema) ─────────────────────────────── */
[data-mk-schema="highlight"] .mk-anfrage-inner {
  background: #f7f5f2;
  border-color: #c8c4bc;
  color: #100e0a;
}
[data-mk-schema="highlight"] .mk-input,
[data-mk-schema="highlight"] .mk-textarea,
[data-mk-schema="highlight"] .mk-select {
  background: #fff;
  border-color: #c8c4bc;
  color: #100e0a;
}
[data-mk-schema="highlight"] .mk-input::placeholder,
[data-mk-schema="highlight"] .mk-textarea::placeholder {
  color: #a29e8f;
}
[data-mk-schema="highlight"] .mk-label { color: #90816e; }
[data-mk-schema="highlight"] .mk-radio-card {
  background: #fff;
  border-color: #c8c4bc;
}
[data-mk-schema="highlight"] .mk-radio-card.selected { border-color: #2d7a4f; }
[data-mk-schema="highlight"] .mk-radio-title { color: #100e0a; }
[data-mk-schema="highlight"] .mk-radio-sub { color: #796853; }
[data-mk-schema="highlight"] .mk-radio-card.selected .mk-radio-sub { color: #2d7a4f; }
[data-mk-schema="highlight"] .mk-radio-dot { border-color: #c8c4bc; }
[data-mk-schema="highlight"] .mk-picker-btn {
  background: #fff;
  border-color: #c8c4bc;
  color: #796853;
}
[data-mk-schema="highlight"] .mk-picker-btn.selected {
  background: #2d7a4f;
  border-color: #2d7a4f;
  color: #fff;
}
[data-mk-schema="highlight"] .mk-picker-btn:hover:not(.selected) {
  border-color: #796853;
  color: #100e0a;
}
[data-mk-schema="highlight"] .mk-location-fixed {
  background: #fff;
  border-color: #2d7a4f;
}
[data-mk-schema="highlight"] .mk-location-fixed-title { color: #100e0a; }
[data-mk-schema="highlight"] .mk-divider { border-color: #e8e4dd; }
[data-mk-schema="highlight"] .mk-social-alt { border-color: #e8e4dd; }
[data-mk-schema="highlight"] .mk-social-alt-label { color: #796853; }
[data-mk-schema="highlight"] .mk-offering-badge-name { background: rgba(45,122,79,0.1); }

/* Responsive */
@media (max-width: 600px) {
  .mk-form-row.cols-2,
  .mk-form-row.cols-3 {
    grid-template-columns: 1fr;
  }
}
