/**
 * ONOC Dolibarr - Order Form Styles
 * Modernes Bestellformular mit Contact Form 7
 * 
 * Diese Datei enthält alle Styles für das Bestellformular.
 * Wird automatisch geladen wenn CF7 aktiv ist.
 * 
 * WICHTIG: Styles sind auf .onoc-form-section beschränkt,
 * damit andere CF7-Formulare (z.B. Newsletter) nicht betroffen sind.
 */

/* =====================================================
   VARIABLES - Corporate Colors
   ===================================================== */
:root {
  --onoc-primary: #1e73be;
  --onoc-primary-light: #3498db;
  --onoc-primary-dark: #1557a0;
  --onoc-orange: #F84F2B;
  --onoc-orange-light: #fff5f3;
  --onoc-green: #1FB457;
  --onoc-green-light: #e8f8ef;
  --onoc-teal: #17a2b8;
  --onoc-teal-light: #e8f6f8;
  --onoc-text: #1f2937;
  --onoc-text-light: #6b7280;
  --onoc-text-muted: #9ca3af;
  --onoc-bg: #ffffff;
  --onoc-bg-input: #f6f9fc;
  --onoc-border: #c7d2df;
  --onoc-border-focus: #1e73be;
  --onoc-accent: #1FB457;
  --onoc-accent-bg: #e8f8ef;
  --onoc-error: #ef4444;
  --onoc-radius: 12px;
  --onoc-radius-lg: 20px;
}

/* =====================================================
   PRODUKT-KARTEN
   ===================================================== */
.order-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 20px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
}

.order-title {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  color: var(--onoc-text);
  margin-bottom: 12px;
}

.order-subtitle {
  text-align: center;
  font-size: 18px;
  color: var(--onoc-text-light);
  margin-bottom: 48px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

@media (max-width: 768px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
}

.product-card {
  background: var(--onoc-bg);
  border: 2px solid var(--onoc-border);
  border-radius: var(--onoc-radius-lg);
  padding: 32px 24px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.product-card:hover {
  border-color: var(--onoc-primary);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(124, 58, 237, 0.15);
}

.product-card.selected {
  border-color: var(--onoc-primary);
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.05) 0%, rgba(139, 92, 246, 0.05) 100%);
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--onoc-primary) 0%, var(--onoc-primary-dark) 100%);
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.product-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--onoc-text);
  margin-bottom: 8px;
}

.product-description {
  font-size: 14px;
  color: var(--onoc-text-light);
  margin-bottom: 24px;
}

.product-price {
  font-size: 48px;
  font-weight: 800;
  color: var(--onoc-text);
  line-height: 1;
}

.product-price span {
  font-size: 18px;
  font-weight: 400;
  color: var(--onoc-text-light);
}

.product-period {
  font-size: 14px;
  color: var(--onoc-text-muted);
  margin-bottom: 24px;
}

.product-features {
  text-align: left;
  list-style: none;
  padding: 0;
  margin: 0;
}

.product-features li {
  padding: 8px 0;
  font-size: 14px;
  color: #4b5563;
  display: flex;
  align-items: center;
  gap: 10px;
}

.product-features li::before {
  content: "✓";
  color: var(--onoc-accent);
  font-weight: bold;
}

.product-select-btn {
  width: 100%;
  margin-top: 24px;
  padding: 14px;
  border: 2px solid var(--onoc-primary);
  background: transparent;
  color: var(--onoc-primary);
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.product-card.selected .product-select-btn,
.product-select-btn:hover {
  background: linear-gradient(135deg, var(--onoc-primary) 0%, var(--onoc-primary-dark) 100%);
  color: white;
  border-color: transparent;
}

/* =====================================================
   ORDER FORM CONTAINER
   Nur .onoc-form-section betroffen!
   ===================================================== */
.onoc-form-section {
  background: var(--onoc-bg) !important;
  border-radius: var(--onoc-radius-lg) !important;
  padding: 26px 30px !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.04) !important;
  max-width: 800px;
  margin: 0 auto;
  border-top: 4px solid var(--onoc-primary) !important;
}

/* Formular-Titel mit Farbe */
.onoc-form-section h2 {
  font-size: 26px;
  font-weight: 700;
  color: var(--onoc-text);
  margin: 0 0 8px 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.onoc-form-section h2::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 28px;
  background: linear-gradient(180deg, var(--onoc-orange) 0%, var(--onoc-green) 100%);
  border-radius: 3px;
}

.onoc-form-section > p {
  font-size: 16px;
  color: var(--onoc-text-light);
  margin: 0 0 18px 18px;
}

.form-section h2:first-of-type {
  display: none;
}

/* =====================================================
   SECTION HEADERS MIT BUNTEN ICONS
   ===================================================== */
.onoc-form-group-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
  padding-top: 8px;
}

.onoc-form-group-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
}

.onoc-form-group-icon:hover {
  transform: scale(1.05);
}

/* Personal Section - Orange */
.onoc-form-group-icon.personal {
  background: linear-gradient(135deg, #F84F2B 0%, #e6432a 100%);
  color: white;
}

/* Address Section - Grün */
.onoc-form-group-icon.address {
  background: linear-gradient(135deg, #1FB457 0%, #19a34e 100%);
  color: white;
}

/* Consent Section - Blau */
.onoc-form-group-icon.consent {
  background: linear-gradient(135deg, #1e73be 0%, #1557a0 100%);
  color: white;
}

/* Payment Section - Teal */
.onoc-form-group-icon.payment {
  background: linear-gradient(135deg, #17a2b8 0%, #138496 100%);
  color: white;
}

.onoc-form-group-icon svg,
.onoc-form-group-icon i {
  width: 24px;
  height: 24px;
  font-size: 22px;
}

.onoc-form-group-info h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--onoc-text);
  margin: 0 0 4px;
}

.onoc-form-group-info p {
  font-size: 14px;
  color: var(--onoc-text-light);
  margin: 0;
}

.onoc-form-header-divider,
.onoc-form-section .wpcf7 hr {
  border: none;
  border-top: 2px solid var(--onoc-border);
  margin: 20px 0 24px;
}

/* =====================================================
   ZWEI-SPALTEN LAYOUT FÜR FELDER
   (Nur innerhalb .onoc-form-section)
   ===================================================== */
.onoc-form-section .wpcf7 .form-row {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 16px !important;
  margin-bottom: 0 !important;
}

.onoc-form-section .wpcf7 .form-row > div,
.onoc-form-section .wpcf7 .field {
  margin-bottom: 10px !important;
}

.onoc-form-section .wpcf7 .field.full {
  margin-bottom: 10px !important;
}

.onoc-form-section .wpcf7 .form-row > div.small,
.onoc-form-section .wpcf7 .field.small {
  max-width: 140px !important;
}

@media (max-width: 600px) {
  .onoc-form-section .wpcf7 .form-row {
    grid-template-columns: 1fr !important;
  }
  .onoc-form-section .wpcf7 .form-row > div.small,
  .onoc-form-section .wpcf7 .field.small {
    max-width: 100% !important;
  }
}

/* =====================================================
   LABELS (nur Order Form)
   ===================================================== */
.onoc-form-section .wpcf7 label {
  display: block !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  color: var(--onoc-text) !important;
  margin: 0 0 4px 0 !important;
  padding: 0 !important;
  line-height: 1.3 !important;
}

.onoc-form-section .wpcf7 .wpcf7-form-control-wrap {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
}

.onoc-form-section .wpcf7 br {
  display: none !important;
}

.onoc-form-section .wpcf7 p {
  margin: 0 !important;
  padding: 0 !important;
}

.onoc-form-section .wpcf7 .field {
  margin-bottom: 12px !important;
}

.onoc-form-section .wpcf7 .form-row {
  margin-bottom: 0 !important;
}

.onoc-form-section .wpcf7 .form-row .field {
  margin-bottom: 12px !important;
}

.onoc-form-section .wpcf7 label .required,
.onoc-field-label .required {
  color: var(--onoc-error) !important;
  margin-left: 2px;
}

.onoc-form-section .wpcf7 label .optional,
.onoc-field-label .optional {
  font-weight: 400 !important;
  color: var(--onoc-text-muted) !important;
  font-size: 13px !important;
}

/* =====================================================
   INPUT FELDER (nur Order Form)
   ===================================================== */
.onoc-form-section .wpcf7 input[type="text"],
.onoc-form-section .wpcf7 input[type="email"],
.onoc-form-section .wpcf7 input[type="tel"],
.onoc-form-section .wpcf7 select,
.onoc-form-section .wpcf7 .wpcf7-quiz-label + input,
.onoc-input {
  width: 100% !important;
  height: 44px !important;
  padding: 0 14px !important;
  background: var(--onoc-bg-input) !important;
  border: 1.5px solid var(--onoc-border) !important;
  border-radius: var(--onoc-radius) !important;
  font-size: 15px !important;
  color: var(--onoc-text) !important;
  transition: all 0.2s ease !important;
  box-sizing: border-box !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75) !important;
}

.onoc-form-section .wpcf7 input::placeholder,
.onoc-input::placeholder {
  color: var(--onoc-text-muted) !important;
}

.onoc-form-section .wpcf7 input:focus,
.onoc-form-section .wpcf7 select:focus,
.onoc-input:focus {
  outline: none !important;
  border-color: var(--onoc-primary) !important;
  background: var(--onoc-bg) !important;
  box-shadow: 0 0 0 4px rgba(30, 115, 190, 0.15) !important;
}

.onoc-form-section .wpcf7 select {
  appearance: none !important;
  -webkit-appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 16px center !important;
  padding-right: 48px !important;
}

.onoc-form-section .wpcf7 p {
  margin: 0 0 16px !important;
}

.onoc-form-section .wpcf7 .wpcf7-form-control-wrap {
  display: block !important;
}

/* =====================================================
   QUIZ FELD
   ===================================================== */
.onoc-form-section .wpcf7 .wpcf7-quiz-label {
  display: block !important;
  font-size: 14px !important;
  color: var(--onoc-text-light) !important;
  margin-bottom: 8px !important;
  font-weight: 400 !important;
}

.onoc-quiz-group {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--onoc-border);
}

/* =====================================================
   CHECKBOX / CONSENT FELDER (nur Order Form)
   ===================================================== */
.onoc-form-section .wpcf7 .wpcf7-acceptance,
.onoc-form-section .wpcf7 .wpcf7-checkbox {
  display: block !important;
  margin-bottom: 12px !important;
}

/* CF7 acceptance markup is wrapped by .checkbox-label in our forms */
.onoc-form-section .wpcf7 .form-group .checkbox-label {
  display: flex !important;
  align-items: flex-start !important;
  gap: 14px !important;
  cursor: pointer !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  color: var(--onoc-text) !important;
  line-height: 1.45 !important;
  margin: 0 !important;
  padding: 14px 16px !important;
  background: var(--onoc-bg-input) !important;
  border: 1.5px solid var(--onoc-border) !important;
  border-radius: var(--onoc-radius) !important;
  transition: all 0.2s ease !important;
}

.onoc-form-section .wpcf7 .form-group .checkbox-label:hover {
  border-color: var(--onoc-primary) !important;
  background: linear-gradient(135deg, rgba(30, 115, 190, 0.03) 0%, rgba(21, 87, 160, 0.03) 100%) !important;
}

.onoc-form-section .wpcf7 .form-group .checkbox-label > .wpcf7-form-control-wrap {
  display: block !important;
  margin-top: 2px !important;
  flex-shrink: 0 !important;
}

.onoc-form-section .wpcf7 .form-group .checkbox-label .wpcf7-list-item {
  margin: 0 !important;
}

.onoc-form-section .wpcf7 .form-group .checkbox-label > span {
  flex: 1 1 auto !important;
  display: block !important;
}

.onoc-form-section .wpcf7 .wpcf7-acceptance label,
.onoc-form-section .wpcf7 .wpcf7-checkbox label,
.onoc-form-section .wpcf7 .wpcf7-list-item label {
  display: flex !important;
  align-items: flex-start !important;
  gap: 14px !important;
  cursor: pointer !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  color: var(--onoc-text-light) !important;
  line-height: 1.6 !important;
  padding: 14px 16px !important;
  background: var(--onoc-bg-input) !important;
  border-radius: var(--onoc-radius) !important;
  border: 2px solid var(--onoc-border) !important;
  transition: all 0.2s ease !important;
}

.onoc-form-section .wpcf7 .wpcf7-acceptance label:hover,
.onoc-form-section .wpcf7 .wpcf7-checkbox label:hover {
  border-color: var(--onoc-primary) !important;
  background: linear-gradient(135deg, rgba(30, 115, 190, 0.03) 0%, rgba(21, 87, 160, 0.03) 100%) !important;
}

/* Custom Checkbox Design */
.onoc-form-section .wpcf7 .wpcf7-acceptance input[type="checkbox"],
.onoc-form-section .wpcf7 .wpcf7-checkbox input[type="checkbox"] {
  appearance: none !important;
  -webkit-appearance: none !important;
  width: 24px !important;
  height: 24px !important;
  min-width: 24px !important;
  border: 2px solid var(--onoc-border) !important;
  border-radius: 8px !important;
  background: var(--onoc-bg) !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  position: relative !important;
  margin: 0 !important;
  flex-shrink: 0 !important;
}

.onoc-form-section .wpcf7 .form-group .checkbox-label input[type="checkbox"] {
  appearance: none !important;
  -webkit-appearance: none !important;
  width: 24px !important;
  height: 24px !important;
  min-width: 24px !important;
  border: 2px solid var(--onoc-border) !important;
  border-radius: 8px !important;
  background: var(--onoc-bg) !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  position: relative !important;
  margin: 0 !important;
}

.onoc-form-section .wpcf7 .wpcf7-acceptance input[type="checkbox"]:hover,
.onoc-form-section .wpcf7 .wpcf7-checkbox input[type="checkbox"]:hover {
  border-color: var(--onoc-primary) !important;
}

.onoc-form-section .wpcf7 .form-group .checkbox-label input[type="checkbox"]:hover {
  border-color: var(--onoc-primary) !important;
}

.onoc-form-section .wpcf7 .wpcf7-acceptance input[type="checkbox"]:checked,
.onoc-form-section .wpcf7 .wpcf7-checkbox input[type="checkbox"]:checked {
  background: linear-gradient(135deg, var(--onoc-primary) 0%, var(--onoc-primary-dark) 100%) !important;
  border-color: var(--onoc-primary) !important;
}

.onoc-form-section .wpcf7 .form-group .checkbox-label input[type="checkbox"]:checked {
  background: linear-gradient(135deg, var(--onoc-primary) 0%, var(--onoc-primary-dark) 100%) !important;
  border-color: var(--onoc-primary) !important;
}

/* Animated Checkmark */
.onoc-form-section .wpcf7 .wpcf7-acceptance input[type="checkbox"]:checked::after,
.onoc-form-section .wpcf7 .wpcf7-checkbox input[type="checkbox"]:checked::after {
  content: "" !important;
  position: absolute !important;
  left: 7px !important;
  top: 3px !important;
  width: 6px !important;
  height: 12px !important;
  border: solid white !important;
  border-width: 0 2.5px 2.5px 0 !important;
  transform: rotate(45deg) !important;
  animation: checkmark 0.2s ease-out !important;
}

.onoc-form-section .wpcf7 .form-group .checkbox-label input[type="checkbox"]:checked::after {
  content: "" !important;
  position: absolute !important;
  left: 7px !important;
  top: 3px !important;
  width: 6px !important;
  height: 12px !important;
  border: solid white !important;
  border-width: 0 2.5px 2.5px 0 !important;
  transform: rotate(45deg) !important;
  animation: checkmark 0.2s ease-out !important;
}

@keyframes checkmark {
  from {
    opacity: 0;
    transform: rotate(45deg) scale(0);
  }
  to {
    opacity: 1;
    transform: rotate(45deg) scale(1);
  }
}

/* Focus State */
.onoc-form-section .wpcf7 .wpcf7-acceptance input[type="checkbox"]:focus,
.onoc-form-section .wpcf7 .wpcf7-checkbox input[type="checkbox"]:focus {
  outline: none !important;
  box-shadow: 0 0 0 4px rgba(30, 115, 190, 0.15) !important;
}

.onoc-form-section .wpcf7 .form-group .checkbox-label input[type="checkbox"]:focus {
  outline: none !important;
  box-shadow: 0 0 0 4px rgba(30, 115, 190, 0.15) !important;
}

/* Links in Checkbox Labels */
.onoc-form-section .wpcf7 .wpcf7-acceptance a,
.onoc-form-section .wpcf7 .wpcf7-checkbox a {
  color: var(--onoc-primary) !important;
  text-decoration: underline !important;
  font-weight: 500 !important;
  transition: color 0.2s !important;
}

.onoc-form-section .wpcf7 .form-group .checkbox-label a {
  color: var(--onoc-primary) !important;
  text-decoration: underline !important;
  font-weight: 600 !important;
}

.onoc-form-section .wpcf7 .wpcf7-acceptance a:hover,
.onoc-form-section .wpcf7 .wpcf7-checkbox a:hover {
  color: var(--onoc-primary-dark) !important;
}

/* Validation Error für Checkbox */
.onoc-form-section .wpcf7 .wpcf7-acceptance.wpcf7-not-valid label,
.onoc-form-section .wpcf7 .wpcf7-checkbox.wpcf7-not-valid label {
  border-color: var(--onoc-error) !important;
  background: #fef2f2 !important;
}

.onoc-form-section .wpcf7 .form-group:has(.wpcf7-acceptance.wpcf7-not-valid) .checkbox-label {
  border-color: var(--onoc-error) !important;
  background: #fef2f2 !important;
}

.onoc-form-section .wpcf7 .form-group .privacy-note {
  margin: 8px 0 4px 38px !important;
  font-size: 13px !important;
  line-height: 1.35 !important;
  color: var(--onoc-text-light) !important;
}

.onoc-form-section .wpcf7 .wpcf7-acceptance .wpcf7-not-valid-tip,
.onoc-form-section .wpcf7 .wpcf7-checkbox .wpcf7-not-valid-tip {
  margin-top: 8px !important;
  margin-left: 0 !important;
}

/* =====================================================
   SUBMIT BUTTON - CTA Orange (nur Order Form)
   ===================================================== */
.onoc-form-section .wpcf7 input[type="submit"],
.onoc-submit-btn {
  width: 100% !important;
  height: 52px !important;
  background: linear-gradient(135deg, var(--onoc-orange) 0%, #e6432a 100%) !important;
  color: white !important;
  border: none !important;
  border-radius: var(--onoc-radius) !important;
  font-size: 17px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  margin-top: 24px !important;
  transition: all 0.3s ease !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}

.onoc-form-section .wpcf7 input[type="submit"]:hover,
.onoc-submit-btn:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 10px 30px rgba(248, 79, 43, 0.4) !important;
}

.onoc-form-section .wpcf7 input[type="submit"]:active {
  transform: translateY(-1px) !important;
}

.onoc-form-section .wpcf7 input[type="submit"]:disabled {
  opacity: 0.6 !important;
  cursor: not-allowed !important;
  transform: none !important;
}

/* =====================================================
   SUBMIT FOOTER INFO
   ===================================================== */
.onoc-submit-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
  padding: 0;
  font-size: 14px;
  color: var(--onoc-text-muted);
}

.onoc-submit-info span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.onoc-submit-info .icon-lock::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2310b981' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='18' height='11' x='3' y='11' rx='2' ry='2'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.onoc-submit-info .icon-mail::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2310b981' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect width='20' height='16' x='2' y='4' rx='2'/%3E%3Cpath d='m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

.onoc-submit-info .separator {
  color: var(--onoc-border);
}

/* =====================================================
   AUSGEWÄHLTES PRODUKT
   ===================================================== */
.selected-product-info,
.onoc-selected-product {
  background: linear-gradient(135deg, var(--onoc-green-light) 0%, #d5f2e3 100%);
  border: 2px solid #1FB457;
  border-radius: var(--onoc-radius);
  padding: 20px 24px;
  margin-bottom: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.selected-product-info .name {
  font-weight: 600;
  color: var(--onoc-text);
  font-size: 16px;
}

.selected-product-info .price {
  font-weight: 700;
  color: var(--onoc-green);
  font-size: 20px;
}

/* =====================================================
   VALIDATION MESSAGES (nur Order Form)
   ===================================================== */
.onoc-form-section .wpcf7-not-valid {
  border-color: var(--onoc-error) !important;
  background-color: #fef2f2 !important;
}

.onoc-form-section .wpcf7-not-valid-tip {
  color: var(--onoc-error) !important;
  font-size: 13px !important;
  margin-top: 6px !important;
  display: block !important;
}

/* =====================================================
   HONEYPOT
   ===================================================== */
.profession-field,
input.profession-field,
.wpcf7 .profession-field {
  display: none !important;
  visibility: hidden !important;
  position: absolute !important;
  left: -9999px !important;
}

/* =====================================================
   RESPONSIVE (Order Form)
   ===================================================== */
@media (max-width: 600px) {
  .onoc-form-section {
    padding: 20px 16px !important;
  }

  .onoc-form-section .wpcf7 .form-group .checkbox-label {
    gap: 10px !important;
    font-size: 14px !important;
    padding: 12px 12px !important;
  }

  .onoc-form-section .wpcf7 .form-group .privacy-note {
    margin-left: 34px !important;
    font-size: 12.5px !important;
  }

  .onoc-form-section .wpcf7 .form-group .checkbox-label input[type="checkbox"] {
    width: 22px !important;
    height: 22px !important;
    min-width: 22px !important;
  }
  
  .onoc-submit-info {
    flex-direction: column;
    gap: 8px;
  }
  
  .onoc-submit-info .separator {
    display: none;
  }
}


/* Footer Newsletter Styles sind jetzt in footer-newsletter.css */
