/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Nov 29 2026 | 22:29:59 */
/* ============================================
   1. Typografie
   ============================================ */

.wpcf7-form h3 {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.3;
  margin: 30px 0 16px;
  text-align: left;
}

.cf7-field label {
  display: block;
  font-size: 16px;
  font-weight: 700;
  line-height: 18px;
  color: #001A41;
  margin: 0 0 2px;
  text-align: left;
}

.cf7-field input,
.cf7-field select,
.cf7-field textarea {
  font-size: 16px;
  font-weight: 400;
  line-height: 22px;
  color: #001A41;
  text-align: left;
}

.cf7-field input::placeholder,
.cf7-field textarea::placeholder {
  color: #4A5568;
}


/* ============================================
   2. Feld-Box: Rahmen um Label + Eingabe zusammen
   ============================================ */

.cf7-field {
  border: 1px solid #E2E8EF;
  border-radius: 4px;
  background: #ffffff;
  padding: 8px 14px;
  box-sizing: border-box;
}

.cf7-field input[type="text"],
.cf7-field input[type="email"],
.cf7-field input[type="tel"],
.cf7-field input[type="number"],
.cf7-field input[type="date"],
.cf7-field select,
.cf7-field textarea {
  display: block;
  width: 100%;
  border: none;
  background: transparent;
  padding: 0;
  box-sizing: border-box;
}

.cf7-field input.wpcf7-form-control,
.cf7-field textarea.wpcf7-form-control {
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  background: transparent !important;
}

.cf7-field input.wpcf7-form-control:focus,
.cf7-field textarea.wpcf7-form-control:focus {
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
}

.cf7-field input.wpcf7-form-control,
.cf7-field select.wpcf7-form-control,
.cf7-field textarea.wpcf7-form-control,
.cf7-field .wpcf7-form-control-wrap {
  width: 100% !important;
  max-width: 100% !important;
}

.cf7-field .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

.cf7-field input[size] {
  width: 100% !important;
}

.cf7-field input[type="date"] {
  border: none !important;
}

.cf7-field input[type="date"]::-webkit-calendar-picker-indicator {
  filter: none;
  cursor: pointer;
}


/* ============================================
   3. Natives Select – nur Fallback, falls JS nicht lädt
   ============================================ */

.cf7-field select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  border: none !important;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23001A41' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat right 0 center;
  background-size: 16px;
  width: 100%;
  box-sizing: border-box;
  padding: 8px 24px 8px 0;
  margin: 0;
  font-size: 16px;
  line-height: 24px;
  cursor: pointer;
}


/* ============================================
   4. Custom Dropdown (ersetzt natives Select-Rendering)
   ============================================ */

.cf7-select-wrap {
  position: relative;
  width: 100%;
}

.cf7-select-trigger {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 22px !important;
  color: #001A41 !important;
  text-align: left !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  cursor: pointer !important;
  font-family: inherit !important;
  height: auto !important;
  min-height: 0 !important;
}

.cf7-select-trigger:hover,
.cf7-select-trigger:focus {
  background: transparent !important;
  color: #001A41 !important;
  border: none !important;
  box-shadow: none !important;
}

.cf7-select-trigger::after {
  content: '';
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-left: 8px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23001A41' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat center;
  background-size: 16px;
  transition: transform 0.15s ease;
}

.cf7-select-trigger.is-open::after {
  transform: rotate(180deg);
}

.cf7-select-options {
  display: none !important;
  position: absolute !important;
  top: calc(100% + 6px) !important;
  left: -14px !important;
  right: -14px !important;
  background: #fff !important;
  border: 1px solid #E2E8EF !important;
  border-radius: 4px !important;
  box-shadow: 0 8px 20px rgba(0, 26, 65, 0.12) !important;
  z-index: 50 !important;
  max-height: 220px !important;
  overflow-y: auto !important;
  padding: 4px 0 !important;
  margin: 0 !important;
}

.cf7-select-options.is-open {
  display: block !important;
}

.cf7-select-option {
  padding: 10px 14px;
  font-size: 15px;
  color: #001A41;
  cursor: pointer;
}

.cf7-select-option:hover {
  background: #F7F9FC !important;
  color: #009878 !important;
}

.cf7-field .cf7-select-wrap,
.cf7-field .cf7-select-trigger,
.cf7-field .cf7-select-options,
.cf7-field .cf7-select-option {
  font-weight: 400 !important;
}


/* ============================================
   5. Einheitliche Höhe & Breite: Kontaktdaten + Projekt
   ============================================ */

.cf7-grid-section .cf7-field {
  height: auto;
  min-height: 74px;
  overflow: visible;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.cf7-grid-section .cf7-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}

.cf7-grid-section .cf7-row:last-child {
  margin-bottom: 0;
}

.cf7-grid-section .cf7-col {
  flex: 1 1 0;
  min-width: 0;
}

@media (max-width: 600px) {
  .cf7-grid-section .cf7-row {
    flex-direction: column;
  }
}

.cf7-grid-section .cf7-field label {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  height: 100% !important;
}

.cf7-grid-section .cf7-field .cf7-select-wrap {
  display: flex !important;
  align-items: center !important;
  flex: 1 1 auto !important;
}

.cf7-grid-section .cf7-field .cf7-select-trigger {
  height: 100% !important;
  display: flex !important;
  align-items: center !important;
}

.cf7-grid-section .cf7-field .cf7-select-wrap {
  position: relative;
  top: 10px;
}

.cf7-field .cf7-select-wrap {
  position: relative;
  top: 10px;
}


/* ============================================
   6. Zeilen außerhalb der grid-section (Anforderungen)
   ============================================ */

.cf7-row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 20px;
}

.cf7-col {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
}

.cf7-col .cf7-field {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.cf7-grid-section + .cf7-row {
  margin-top: 20px;
}
.cf7-row + .cf7-field {
  margin-top: 20px;
}
.cf7-conditional-field + .cf7-field {
  margin-top: 20px;
}
@media (max-width: 600px) {
  .cf7-row {
    flex-direction: column;
  }
}

.cf7-field-textarea {
  min-height: 90px;
}

.cf7-field-textarea-lg {
  min-height: 120px;
}

.cf7-field textarea {
  resize: vertical;
}

/* ============================================
   7. Zeichenzähler
   ============================================ */

.cf7-char-counter {
  text-align: right;
  font-size: 13px;
  color: #4A5568;
  margin-top: 4px;
  margin-bottom: 20px;
}


/* ============================================
   8. Upload-Box
   ============================================ */

.cf7-upload-box {
  position: relative;
  border: 2px dashed #E2E8EF;
  border-radius: 4px;
  background: #F7F9FC;
  padding: 8px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.cf7-upload-box.is-dragover {
  border-color: #009878;
  background: #EAFBF6;
}

.cf7-upload-button {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  background: transparent !important;
  background-color: transparent !important;
  border: 2px solid #001A41 !important;
  border-radius: 25px !important;
  padding: 10px 22px !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  color: #001A41 !important;
  cursor: pointer !important;
  box-shadow: none !important;
  text-transform: none !important;
  letter-spacing: normal !important;
  height: auto !important;
  min-height: 0 !important;
  transition: transform 250ms ease, background-color 250ms ease, color 250ms ease;
}

.cf7-upload-button:hover,
.cf7-upload-button:focus {
  transform: translateY(-6px);
  background: #001A41 !important;
  background-color: #001A41 !important;
  color: #fff !important;
  border-color: #001A41 !important;
}

.cf7-upload-button .cf7-upload-icon {
  width: 25px;
  height: 25px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: inherit;
}

.cf7-upload-button .cf7-upload-icon svg {
  width: 100%;
  height: 100%;
}

.cf7-upload-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cf7-upload-or {
  font-size: 14px;
  font-weight: 700;
  color: #001A41;
}

.cf7-upload-hint {
  margin: 0;
  font-size: 12px;
  color: #4A5568;
}

.cf7-upload-filenames {
  flex-basis: 100%;
  margin: 8px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cf7-file-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #F7F9FC;
  border: 1px solid #E2E8EF;
  border-radius: 20px;
  padding: 5px 8px 5px 14px;
  font-size: 13px;
  font-weight: 600;
  color: #001A41;
}

.cf7-file-chip button {
  background: none;
  border: none;
  padding: 0;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4A5568;
  cursor: pointer;
  flex-shrink: 0;
  border-radius: 50%;
}

.cf7-file-chip button:hover {
  background-color: #009878 !important;
  color: #fff !important;
  border-radius: 50%;
}

.cf7-file-chip button:focus,
.cf7-file-chip button:active {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 152, 120, 0.35);
}

.cf7-file-chip button svg {
  width: 100%;
  height: 100%;
}

.cf7-upload-box input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}


/* ============================================
   9. Absenden-Bereich
   ============================================ */

.cf7-footnote {
  font-size: 13px;
  color: #4A5568;
  text-align: left;
  margin: 0 0 12px;
}

.cf7-submit-row {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 20px !important;
}

.cf7-submit-row p {
  margin: 0 !important;
  display: contents !important;
}

.cf7-submit-button.wpcf7-form-control {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: #009878 !important;
  border: 2px solid #009878 !important;
  border-radius: 25px !important;
  padding: 12px 28px !important;
  font-weight: 700 !important;
  font-size: 16px !important;
  color: #fff !important;
  cursor: pointer;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  transition: transform 250ms ease, background-color 250ms ease, color 250ms ease, border-color 250ms ease;
}

.cf7-submit-button.wpcf7-form-control:hover {
  transform: translateY(-6px);
  background: #fff !important;
  border-color: #009878 !important;
  color: #009878 !important;
}

.cf7-consent-text {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  display: inline !important;
  font-size: 13px;
  color: #4A5568;
}

.cf7-consent-text a {
  color: #009878;
}
/* ============================================
   10. Formular-Headline
   ============================================ */

.cf7-form-header {
  margin: 0 0 24px !important;
}

.cf7-form-title {
  font-size: 36px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  color: #001A41 !important;
  margin: 0 0 8px !important;
  text-align: left !important;
}

.cf7-form-subtitle {
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 22px !important;
  color: #4A5568 !important;
  margin: 0 !important;
  text-align: left !important;
}
/* ============================================
   11. Produkt-Auswahl-Kacheln (Angebot-Formular)
   ============================================ */

.cf7-section-desc {
  font-size: 14px;
  color: #4A5568;
  margin: -8px 0 16px;
}

.cf7-product-grid .wpcf7-form-control.wpcf7-checkbox {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 14px;
  width: 100%;
}

.cf7-product-grid .wpcf7-list-item {
  margin: 0 !important;
}

.cf7-product-grid .wpcf7-list-item label {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 10px !important;
  border: 1px solid #E2E8EF !important;
  border-radius: 8px !important;
  background: #fff !important;
  padding: 14px 10px 12px !important;
  cursor: pointer !important;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.cf7-product-grid .wpcf7-list-item.is-selected label {
  border-color: #009878 !important;
  box-shadow: 0 0 0 1px #009878 !important;
}

.cf7-product-tile-image {
  display: block;
  width: 100%;
  height: 70px;
  border-radius: 4px;
  overflow: hidden;
  background: #F7F9FC;
}

.cf7-product-tile-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.cf7-product-tile-image--placeholder {
  background: #F7F9FC url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23A0AEC0' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z'/%3E%3Cpath d='M3.27 6.96 12 12.01l8.73-5.05'/%3E%3Cpath d='M12 22.08V12'/%3E%3C/svg%3E") no-repeat center;
  background-size: 28px;
}

.cf7-product-grid .wpcf7-list-item-label {
  display: block !important;
  width: 100%;
  font-size: 14px;
  font-weight: 600;
  color: #001A41;
  text-align: center !important;
}

.cf7-product-grid .wpcf7-list-item-label::before,
.cf7-product-grid .wpcf7-list-item-label::after {
  display: none !important;
  content: none !important;
}

.cf7-product-grid input[type="checkbox"] {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.cf7-multi-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #001A41;
  cursor: pointer;
  margin: 14px 0 24px;
}

.cf7-multi-toggle input {
  width: 16px;
  height: 16px;
  accent-color: #009878;
  cursor: pointer;
}
/* ============================================
   12. Technischer Anschluss-Block (Akkordeon, Angebot-Formular)
   ============================================ */

.cf7-accordion {
  border: 1px solid #E2E8EF;
  border-radius: 8px;
  margin: 24px 0;
  overflow: hidden;
}

.cf7-accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  background: #F7F9FC;
  cursor: pointer;
  font-size: 15px;
  font-weight: 700;
  color: #001A41;
  list-style: none;
}

.cf7-accordion-header::-webkit-details-marker {
  display: none;
}

.cf7-accordion-chevron {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.cf7-accordion[open] .cf7-accordion-chevron {
  transform: rotate(180deg);
}

.cf7-accordion-body {
  padding: 20px;
  border-top: 1px solid #E2E8EF;
}

.cf7-tech-block {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid #E2E8EF;
}

.cf7-tech-block:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.cf7-tech-title {
  font-size: 15px;
  font-weight: 700;
  color: #001A41;
  margin: 20px 0 12px;
}

.cf7-tech-block:first-of-type .cf7-tech-title {
  margin-top: 0;
}

.cf7-inline-checkboxes .wpcf7-form-control.wpcf7-checkbox {
  display: flex !important;
  flex-wrap: wrap;
  gap: 10px;
}

.cf7-inline-checkboxes .wpcf7-list-item {
  margin: 0 !important;
}

.cf7-inline-checkboxes .wpcf7-list-item label {
  display: inline-flex !important;
  align-items: center !important;
  padding: 8px 16px !important;
  border: 1px solid #E2E8EF !important;
  border-radius: 20px !important;
  background: #fff !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #001A41 !important;
  cursor: pointer !important;
  transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.cf7-inline-checkboxes .wpcf7-list-item.is-selected label {
  border-color: #009878 !important;
  background: #EAFBF6 !important;
  color: #009878 !important;
}

.cf7-inline-checkboxes input[type="checkbox"] {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
/* ============================================
   13. Checkbox-Pillen mit sichtbarer Checkbox (Mehrfachauswahl)
   ============================================ */

.cf7-checkbox-pills .wpcf7-form-control.wpcf7-checkbox {
  display: flex !important;
  flex-wrap: wrap;
  gap: 10px;
}

.cf7-checkbox-pills .wpcf7-list-item {
   margin: 0 20px !important;
}

.cf7-checkbox-pills .wpcf7-list-item label {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 8px 16px !important;
  border: 1px solid #E2E8EF !important;
  border-radius: 20px !important;
  background: #fff !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #001A41 !important;
  cursor: pointer !important;
  transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.cf7-checkbox-pills .wpcf7-list-item.is-selected label {
  border-color: #009878 !important;
  background: #EAFBF6 !important;
  color: #009878 !important;
}

.cf7-checkbox-pills input[type="checkbox"] {
  width: 16px !important;
  height: 16px !important;
  accent-color: #009878 !important;
  cursor: pointer !important;
  flex-shrink: 0 !important;
}
/* ============================================
   14. Radio-Pillen (Bevorzugte Kontaktaufnahme)
   ============================================ */

.cf7-radio-pills {
  margin-top: 10px;
}

.cf7-radio-pills .wpcf7-form-control.wpcf7-radio {
  display: flex !important;
  flex-wrap: wrap;
  gap: 10px;
}

.cf7-radio-pills .wpcf7-list-item {
  margin: 2px !important;
}

.cf7-radio-pills .wpcf7-list-item label {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 8px 16px !important;
  border: 0px solid #E2E8EF !important;
  border-radius: 20px !important;
  background: #fff !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #001A41 !important;
  cursor: pointer !important;
  transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}

.cf7-radio-pills .wpcf7-list-item.is-selected label {
  border-color: #009878 !important;
  background: #EAFBF6 !important;
  color: #009878 !important;
}

.cf7-radio-pills input[type="radio"] {
  width: 16px !important;
  height: 16px !important;
  accent-color: #009878 !important;
  cursor: pointer !important;
  flex-shrink: 0 !important;
}


/* ============================================
   15. Modernisierungscheck – Basis & Struktur
   ============================================ */

.mc-header {
  text-align: center;
  margin-bottom: 40px;
}

.mc-eyebrow {
  display: block;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #009878;
  margin-bottom: 12px;
}

.mc-title {
  font-size: 55px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  color: #001A41;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.mc-title-highlight {
  color: #009878;
}

.mc-divider {
  display: block;
  width: 100px;
  height: 2px;
  background: #009878;
  margin: 20px auto 0;
}

.mc-wizard p,
.mc-progress p {
  display: contents !important;
  margin: 0 !important;
}

.mc-wizard {
  max-width: 1600px !important;
  margin: 0 auto !important;
  width: 100% !important;
  box-sizing: border-box;
}


/* ============================================
   16. Fortschrittsanzeige (oben)
   ============================================ */

.mc-progress {
  position: relative;
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  justify-items: center !important;
  width: 100%;
  margin-bottom: 48px;
}

.mc-progress-connector {
  position: absolute;
  top: 21px;
  height: 2px;
  background: #E2E8EF;
  z-index: 0;
  transition: background-color 0.3s ease;
}

.mc-progress-connector.is-complete {
  background: #009878;
}

.mc-progress-connector[data-progress-line="1"] {
  left: calc(12.5% + 22px);
  width: calc(25% - 44px);
}

.mc-progress-connector[data-progress-line="2"] {
  left: calc(37.5% + 22px);
  width: calc(25% - 44px);
}

.mc-progress-connector[data-progress-line="3"] {
  left: calc(62.5% + 22px);
  width: calc(25% - 44px);
}

.mc-progress-step {
  position: relative;
  z-index: 1;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  gap: 8px;
  width: 100% !important;
  box-sizing: border-box;
}

.mc-progress-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid #009878;
  background: rgba(0, 152, 120, 0.1);
  color: #009878;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.mc-progress-step.is-current .mc-progress-circle,
.mc-progress-step.is-complete .mc-progress-circle {
  background: #009878;
  color: #fff;
}

.mc-progress-step.is-complete .mc-progress-circle::before {
  content: none !important;
  display: none !important;
}

.mc-progress-step.is-complete .mc-progress-circle span {
  display: none;
}

.mc-progress-heading {
  font-size: 26px;
  font-weight: 700;
  color: #001A41;
  line-height: 1.25;
}

.mc-progress-sub {
  font-size: 16px;
  color: #4A5568;
  margin-top: -4px;
}

@media (max-width: 900px) {
  .mc-progress {
    display: none;
  }

  .mc-title {
    font-size: 32px;
  }
}


/* ============================================
   17. Panel-Grundgerüst (Titel, Untertitel, Labels)
   ============================================ */

.mc-panel {
  display: none;
  border: 2px solid #E2E8EF;
  border-radius: 20px;
  background: #F7F9FC;
  padding: 40px;
  box-sizing: border-box;
}

.mc-panel.is-active {
  display: block;
  animation: mc-fade-in 0.2s ease;
}

@keyframes mc-fade-in {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.mc-panel-title {
  font-size: 22px;
  font-weight: 700;
  color: #001A41;
  margin: 0 0 20px;
  text-align: center !important;
}

.mc-panel-subtitle {
  display: block;
  max-width: 480px;
  margin: -12px auto 24px;
  text-align: center;
  font-size: 16px;
  color: #4A5568;
}

.mc-field-label {
  display: block;
  font-size: 22px;
  font-weight: 700;
  color: #001A41;
  text-align: center;
}
.mc-field-label--spaced {
  margin-bottom: 20px;
}
.mc-field-hint {
  display: block;
  max-width: 320px;
  margin: -12px auto 12px;
  text-align: center;
  font-size: 16px;
  color: #4A5568;
}

.mc-field-narrow {
  max-width: 320px;
  margin: 0 auto 28px;
  text-align: center;
}

.mc-field-narrow label {
  text-align: center !important;
}

.mc-field-conditional {
  display: none;
  margin: -4px 0 24px;
}

.mc-field-conditional.is-visible {
  display: block;
}

.mc-placeholder-note {
  color: #4A5568;
  font-size: 14px;
  margin-bottom: 24px;
}


/* ============================================
   18. Zweispaltiges Layout (Panel 1–3: Formular + Info-Box)
   ============================================ */

.mc-panel[data-mc-panel="1"].is-active,
.mc-panel[data-mc-panel="2"].is-active,
.mc-panel[data-mc-panel="3"].is-active {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: start;
}

.mc-panel[data-mc-panel="1"] .mc-nav,
.mc-panel[data-mc-panel="2"] .mc-nav,
.mc-panel[data-mc-panel="3"] .mc-nav {
  grid-column: 1 / -1;
}

@media (max-width: 900px) {
  .mc-panel[data-mc-panel="1"].is-active,
  .mc-panel[data-mc-panel="2"].is-active,
  .mc-panel[data-mc-panel="3"].is-active {
    grid-template-columns: 1fr;
  }
}

.mc-panel-main {
  min-width: 0;
}

.mc-panel-sidebar {
  width: 300px;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .mc-panel-sidebar {
    width: 100%;
  }
}

.mc-panel-main .mc-panel-title,
.mc-panel-main .mc-panel-subtitle,
.mc-panel-main .mc-field-label,
.mc-panel-main .mc-field-hint {
  text-align: left !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.mc-panel-main .mc-tile-grid {
  justify-content: flex-start;
}

.mc-panel-main .mc-laenge-slider-wrap {
  margin-left: 0;
  margin-right: 0;
}


/* ============================================
   19. Info-Box (rechte Spalte, Panel 1–3)
   ============================================ */

.mc-info-box {
  background: #fff;
  border: 1px solid #E2E8EF;
  border-radius: 20px;
  padding: 24px;
}

.mc-info-box-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 16px;
  color: #001A41;
  margin-bottom: 18px;
}

.mc-info-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #009878;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  font-style: italic;
  flex-shrink: 0;
}

.mc-info-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.mc-info-list li {
  position: relative;
  padding-left: 28px;
  font-size: 16px;
  line-height: 1.5;
  color: #4A5568;
}

.mc-info-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 1px;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background: #EAFBF6;
  border: 1px solid #009878;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23009878' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px;
}


/* ============================================
   20. Kachel-Grid – generische Basis (alle Auswahl-Kacheln)
   ============================================ */

.mc-tile-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  margin-bottom: 28px;
}

.mc-tile-grid .wpcf7-list-item {
  margin: 0 16px !important;
}

.mc-tile-grid .wpcf7-form-control.wpcf7-radio {
  display: contents !important;
}

.mc-tile-grid .wpcf7-form-control-wrap {
  display: contents !important;
}

.mc-tile-grid .wpcf7-list-item label {
  position: relative;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  border: 1px solid #E2E8EF;
  border-radius: 8px;
  background: #fff;
  padding: 18px 12px;
  box-sizing: border-box;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: #001A41;
  box-shadow: 0 2px 6px rgba(0, 26, 65, 0.06);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.mc-tile-grid .wpcf7-list-item.is-selected label {
  border-color: #009878;
  box-shadow: 0 0 0 1px #009878;
  background: #EAFBF6;
}

.mc-tile-grid .wpcf7-list-item.is-selected label::after {
  content: '';
  position: absolute;
  top: 12px;
  right: 12px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #009878;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px;
}

.mc-tile-grid input[type="radio"] {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.mc-tile-grid .wpcf7-list-item-label::before,
.mc-tile-grid .wpcf7-list-item-label::after {
  display: none !important;
  content: none !important;
}

.mc-tile-icon {
  width: 32px;
  height: 32px;
  color: #009878;
}

.mc-tile-icon svg {
  width: 100%;
  height: 100%;
}


/* ============================================
   21. Land-Kacheln (Panel "land")
   ============================================ */

#mc-tile-land .wpcf7-list-item {
  margin: 0 20px !important;
}

#mc-tile-land .wpcf7-list-item label {
  width: 220px;
  height: 180px;
  padding: 40px 20px !important;
  gap: 20px !important;
  border-radius: 20px;
}

#mc-tile-land .mc-tile-icon {
  width: 64px;
  height: 64px;
  color: #009878;
}

#mc-tile-land .wpcf7-list-item-label,
#mc-tile-land .wpcf7-list-item label > span:last-child {
  font-size: 18px;
}


/* ============================================
   22. Hersteller-Kacheln (Panel 1)
   ============================================ */

#mc-tile-hersteller {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 20px !important;
  margin-top: 20px;
}

#mc-tile-hersteller .wpcf7-form-control-wrap,
#mc-tile-hersteller .wpcf7-form-control.wpcf7-radio {
  display: contents !important;
}

#mc-tile-hersteller .wpcf7-list-item {
  margin: 0 !important;
  vertical-align: top !important;
}

#mc-tile-hersteller .wpcf7-list-item label {
  height: 110px !important;
  min-height: 110px !important;
  max-height: 110px !important;
  border-radius: 20px !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
}

#mc-tile-hersteller .mc-tile-logo {
  width: 110px !important;
  height: 45px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: visible !important;
  flex-shrink: 0 !important;
}

#mc-tile-hersteller .mc-tile-logo img {
  max-width: 100% !important;
  max-height: 100% !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  transform: scale(1.4);
  transform-origin: center;
}

#mc-tile-hersteller .mc-tile-logo + .wpcf7-list-item-label {
  display: none !important;
}

#mc-tile-hersteller .mc-tile-fremd-icon {
  width: 40px !important;
  height: 42px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #A0AEC0;
  flex-shrink: 0 !important;
}

#mc-tile-hersteller .mc-tile-fremd-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

#mc-tile-hersteller .wpcf7-list-item-label {
  font-size: 18px !important;
}

#mc-hersteller-name-wrap {
  max-width: 320px;
  margin-left: 0;
  margin-right: auto;
}

#mc-hersteller-name-wrap label {
  font-size: 16px !important;
  font-weight: 700;
}

#mc-hersteller-name-wrap .cf7-field {
  border-radius: 20px !important;
}


/* ============================================
   23. Bauform-Kacheln (Panel 1, Wizard)
   ============================================ */

#mc-tile-bauform {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 20px !important;
  margin-top: 20px;
}

#mc-tile-bauform .wpcf7-form-control-wrap,
#mc-tile-bauform .wpcf7-form-control.wpcf7-radio {
  display: contents !important;
}

#mc-tile-bauform .wpcf7-list-item {
  margin: 0 !important;
  vertical-align: top !important;
}

#mc-tile-bauform .wpcf7-list-item label {
  height: 220px !important;
  min-height: 220px !important;
  max-height: 220px !important;
  border-radius: 20px !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
}

#mc-tile-bauform .mc-tile-bauform-icon {
  width: 160px !important;
  height: 160px !important;
  max-width: 160px !important;
  max-height: 160px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: visible !important;
  flex-shrink: 0 !important;
}

#mc-tile-bauform .mc-tile-bauform-icon img {
  max-width: 100% !important;
  max-height: 100% !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
}

#mc-tile-bauform .wpcf7-list-item-label {
  font-size: 16px !important;
}


/* ============================================
   24. Ausguss mit Randspüle (Panel 1, Wizard)
   ============================================ */

#mc-tile-randspuele {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 20px !important;
  margin-top: 12px;
  margin-bottom: 28px;
  max-width: 460px;
}

#mc-tile-randspuele .wpcf7-form-control-wrap,
#mc-tile-randspuele .wpcf7-form-control.wpcf7-radio {
  display: contents !important;
}

#mc-tile-randspuele .wpcf7-list-item {
  margin: 0 !important;
  vertical-align: top !important;
}

#mc-tile-randspuele .wpcf7-list-item label {
  height: 70px !important;
  min-height: 70px !important;
  max-height: 70px !important;
  border-radius: 20px !important;
  font-size: 16px !important;
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}


/* ============================================
   25. Breite der Anlage – Slider (Panel 1)
   ============================================ */

#mc-laenge-field {
  border-radius: 20px !important;
}

.mc-laenge-slider-wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 0 auto 24px;
}

.mc-laenge-display {
  display: flex !important;
  align-items: baseline;
  gap: 6px;
  flex-shrink: 0;
  width: auto !important;
  min-width: 140px;
  padding: 14px 20px !important;
  border-radius: 20px !important;
}

.mc-laenge-display input[type="number"] {
  font-size: 24px !important;
  font-weight: 700 !important;
  color: #001a41 !important;
  width: 70px !important;
  -moz-appearance: textfield;
}

.mc-laenge-display input[type="number"]::-webkit-outer-spin-button,
.mc-laenge-display input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.mc-laenge-unit {
  font-size: 14px;
  color: #001a41;
  font-weight: 600;
}

.mc-laenge-slider-track {
  flex: 1;
}

#mc-laenge-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(to right, #001a41 0%, #001a41 var(--fill, 37%), #E2E8EF var(--fill, 37%), #E2E8EF 100%);
  outline: none;
  cursor: pointer;
}

#mc-laenge-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid #001a41;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 26, 65, 0.15);
}

#mc-laenge-range::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid #001a41;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 26, 65, 0.15);
}

.mc-laenge-scale {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 12px;
  color: #4A5568;
}


/* ============================================
   26. Ablehnungs-Hinweise (Land / Kombination / Länge)
   ============================================ */

.mc-reject {
  display: none;
  align-items: center;
  gap: 10px;
  background: #FFF7ED;
  border: 1px solid #FCD9B4;
  border-radius: 20px;
  padding: 12px 18px;
  margin-bottom: 24px;
}

.mc-reject.is-visible {
  display: flex;
}

.mc-reject p {
  display: block !important;
  margin: 0 !important;
  font-size: 16px;
  line-height: 1.4;
  color: #7B341E;
}

.mc-reject-icon {
  display: flex;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  color: #C05621;
}


/* ============================================
   27. Navigation (Weiter / Zurück, alle Panels)
   ============================================ */

.mc-nav {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-top: 8px;
}

.mc-btn-next,
.mc-btn-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 25px !important;
  padding: 12px 26px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: transform 250ms ease, background-color 250ms ease, color 250ms ease, border-color 250ms ease;
}

.mc-btn-next {
  background: #009878;
  border: 2px solid #009878;
  color: #fff;
}

.mc-btn-next:hover:not(:disabled) {
  transform: translateY(-4px);
  background: #fff;
  color: #009878;
}

.mc-btn-next:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.mc-btn-back {
  background: transparent;
  border: 2px solid transparent;
  color: #4A5568;
}

.mc-btn-back:hover {
  transform: translateY(-4px);
  background: #fff;
  color: #009878;
}

.mc-btn-arrow {
  width: 16px !important;
  height: 16px !important;
  flex-shrink: 0 !important;
  display: block !important;
}

.mc-next-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0;
}

.mc-autosave-hint {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: -10px;
  font-size: 11px;
  color: #4A5568;
  line-height: 1;
}

.mc-autosave-hint svg {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  display: block;
  position: relative;
  top: 4px;
}


/* ============================================
   28. Baujahr- & Zustand-Kacheln (Panel 2)
   ============================================ */

#mc-tile-alter,
#mc-tile-zustand {
  display: grid !important;
  grid-template-columns: repeat(5, 1fr) !important;
  gap: 16px !important;
  margin-top: 20px;
}

#mc-tile-alter .wpcf7-form-control-wrap,
#mc-tile-alter .wpcf7-form-control.wpcf7-radio,
#mc-tile-zustand .wpcf7-form-control-wrap,
#mc-tile-zustand .wpcf7-form-control.wpcf7-radio {
  display: contents !important;
}

#mc-tile-alter .wpcf7-list-item,
#mc-tile-zustand .wpcf7-list-item {
  margin: 0 !important;
}

#mc-tile-alter .wpcf7-list-item label,
#mc-tile-zustand .wpcf7-list-item label {
  height: 90px !important;
  min-height: 90px !important;
  max-height: 90px !important;
  border-radius: 20px !important;
  font-size: 14px !important;
  box-sizing: border-box !important;
  padding: 12px 10px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
}

@media (max-width: 900px) {
  #mc-tile-alter,
  #mc-tile-zustand {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

#mc-tile-alter .wpcf7-list-item label {
  gap: 6px !important;
}

.mc-tile-alter-icon {
  width: 40px;
  height: 40px;
  color: #009878;
  flex-shrink: 0;
}

.mc-tile-alter-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

#mc-tile-zustand .wpcf7-list-item label {
  height: 200px !important;
  min-height: 200px !important;
  max-height: 200px !important;
  gap: 8px !important;
  padding: 14px 10px !important;
}

.mc-tile-zustand-img {
  width: 100%;
  height: 90px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
}

.mc-tile-zustand-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.mc-tile-zustand-icon {
  width: 60px;
  height: 14px;
  flex-shrink: 0;
}

.mc-tile-zustand-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}


/* ============================================
   29. Ergebnis-Panel (Panel 4)
   ============================================ */

.mc-panel[data-mc-panel="4"] {
  display: none;
}

.mc-panel[data-mc-panel="4"].is-active {
  display: block;
}

.mc-panel[data-mc-panel="4"] .mc-nav {
  margin-top: 18px;
}

.mc-result-content {
   background: transparent;
  border: none;
  padding: 0;
}


.mc-result-headline {
  font-size: 24px;
  font-weight: 700;
  color: #001A41;
  line-height: 1.3;
  margin: 0 0 8px !important;
  text-align: left;
}

.mc-result-highlight {
  color: var(--mc-score-color, #009878);
}

.mc-result-lead {
  display: block;
  font-size: 15px;
  color: #4A5568;
  line-height: 1.5;
  margin: 0 0 28px;
}

.mc-result-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: stretch;
  margin-bottom: 24px;
}

@media (max-width: 700px) {
  .mc-result-columns {
    grid-template-columns: 1fr;
  }
}

.mc-result-body,
.mc-result-summary {
  background: #fff;
  border: 1px solid #E2E8EF;
  border-radius: 20px;
  padding: 32px;
}

.mc-result-ring-wrap {
  position: relative;
  width: 160px;
  height: 160px;
  flex-shrink: 0;
  margin-bottom: 10px;
}

.mc-result-ring {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.mc-result-ring-bg {
  fill: none;
  stroke: #E2E8EF;
  stroke-width: 12;
}

.mc-result-ring-fill {
  fill: none;
  stroke: var(--mc-score-color, #009878);
  stroke-width: 12;
  stroke-linecap: round;
  stroke-dasharray: 0 440;
  transition: stroke-dasharray 0.6s ease, stroke 0.3s ease;
}

.mc-result-percent-wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.mc-result-percent {
  font-size: 32px;
  font-weight: 700;
  color: var(--mc-score-color, #009878);
  line-height: 1.1;
}

.mc-result-percent-label {
  font-size: 12px;
  color: #4A5568;
  max-width: 100px;
  line-height: 1.3;
}

.mc-result-bullets {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}

.mc-result-bullets li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mc-result-bullet-icon {
  flex-shrink: 0;
  width: 35px;
  height: 35px;
  border-radius: 6px;
  background: var(--mc-score-bg, #EAFBF6);
  color: var(--mc-score-color, #009878);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.mc-result-bullet-text {
  font-size: 16px;
  line-height: 1.5;
  color: #4A5568;
}

.mc-result-bullet-text strong {
  color: #001A41;
}

.mc-result-summary-title {
  font-size: 15px;
  font-weight: 700;
  color: #001A41;
  margin: 0 0 14px;
}

.mc-result-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 24px;
}

@media (max-width: 500px) {
  .mc-result-summary-grid {
    grid-template-columns: 1fr;
  }
}

.mc-result-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  font-size: 16px;
  padding-bottom: 8px;
  border-bottom: 1px dashed #E2E8EF;
}

.mc-result-summary-label {
  color: #4A5568;
  flex-shrink: 0;
}

.mc-result-summary-value {
  color: #001A41;
  font-weight: 600;
  text-align: right;
}

.mc-result-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #F7F9FC;
  border: 1px solid #E2E8EF;
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 13px;
  color: #4A5568;
  line-height: 1.5;
}

.mc-result-disclaimer svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: #4A5568;
  margin-top: 1px;
}


/* ============================================
   30. Kontaktformular „Modernisierung anfragen" – Geräteart
   ============================================ */

#mod-tile-bauform {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 20px !important;
  margin-top: 12px;
  margin-bottom: 28px;
}

#mod-tile-bauform .wpcf7-form-control-wrap,
#mod-tile-bauform .wpcf7-form-control.wpcf7-radio {
  display: contents !important;
}

#mod-tile-bauform .wpcf7-list-item {
  margin: 0 !important;
  vertical-align: top !important;
}

#mod-tile-bauform .wpcf7-list-item label {
  height: 220px !important;
  min-height: 220px !important;
  max-height: 220px !important;
  border-radius: 20px !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
}

#mod-tile-bauform .mc-tile-bauform-icon {
  width: 160px !important;
  height: 160px !important;
  max-width: 160px !important;
  max-height: 160px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: visible !important;
  flex-shrink: 0 !important;
}

#mod-tile-bauform .mc-tile-bauform-icon img {
  max-width: 100% !important;
  max-height: 100% !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
}

#mod-tile-bauform .wpcf7-list-item-label {
  font-size: 16px !important;
}


/* ============================================
   31. Kontaktformular „Modernisierung anfragen" – Randspüle & Labels
   ============================================ */

.cf7-field-label-standalone {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: #001A41;
  margin: 0 0 10px;
}

#mod-tile-randspuele {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 20px !important;
  margin-bottom: 20px;
  max-width: 460px;
}

#mod-tile-randspuele .wpcf7-form-control-wrap,
#mod-tile-randspuele .wpcf7-form-control.wpcf7-radio {
  display: contents !important;
}

#mod-tile-randspuele .wpcf7-list-item {
  margin: 0 !important;
  vertical-align: top !important;
}

#mod-tile-randspuele .wpcf7-list-item label {
  height: 70px !important;
  min-height: 70px !important;
  max-height: 70px !important;
  border-radius: 20px !important;
  font-size: 16px !important;
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
/* ============================================
   32. Bedingtes Feld: Wartungspaket (Service-Formular)
   ============================================ */

.cf7-conditional-field {
  display: none;
}

.cf7-conditional-field.is-visible {
  display: block;
}
/* ============================================
   33. Schulungsformular – Anmerkungsfeld, feste Höhe
   ============================================ */

.cf7-field-textarea-sm textarea.wpcf7-form-control {
  height: 90px !important;
  min-height: 90px !important;
  max-height: 90px !important;
}
/* ============================================
   34. Select-Felder in grid-section – Höhe angleichen
   ============================================ */

.cf7-grid-section .cf7-field .cf7-select-wrap {
  position: static;
  top: 0;
}

.cf7-grid-section .cf7-field label {
  justify-content: center !important;
}

.cf7-grid-section .cf7-field {
  height: 74px;
}

/* ============================================
   35. Bewerbungsformular – Position-Feld ohne Leerraum
   ============================================ */

.cf7-form h3 + .cf7-field {
    padding-top: 12px;
    padding-bottom: 12px;
}

.cf7-form h3 + .cf7-field .wpcf7-form-control-wrap {
    display: block;
}

.cf7-form h3 + .cf7-field input[readonly] {
    font-weight: 700;
    color: #001A41;
}
#bewerbungsformular {
    scroll-margin-top: 120px;
}
/* ============================================
   36. Position-Dropdown – mehr Innenabstand
   ============================================ */

#position-custom-select.cf7-select-wrap {
    padding: 10px 0 !important;
    min-height: 40px !important;
}

#position-custom-select .cf7-select-trigger {
    padding: 8px 0 !important;
    min-height: 24px !important;
}

a[href*="datenschutz"] {
    text-decoration: underline !important;
}
/* ============================================
   37. Feld-Hinweistext (z.B. Schulungsformular)
   ============================================ */

.cf7-field-inline-hint {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  width: 100%;
}

.cf7-field-inline-hint .cf7-field {
  flex: 0 0 65%;
}

.cf7-field-inline-hint .cf7-field-hint {
  flex: 1 1 auto;
  padding-top: 30px;
  font-size: 12px;
  color: #4A5568;
  line-height: 1.4;
}

/* ============================================
   38. Schulungsformular – vergangene Termine sperren
   ============================================ */

.cf7-select-option.is-past {
  text-decoration: line-through;
  color: #A0AEC0 !important;
  cursor: not-allowed;
  pointer-events: none;
  background: #F7F9FC;
}
.cf7-field input.wpcf7-form-control:focus-visible,
.cf7-field textarea.wpcf7-form-control:focus-visible {
  outline: 2px solid #009878 !important;
  outline-offset: 2px !important;
}

/* ============================================
   39. Upload-Box – Fehlermeldung bei falschem Dateityp
   ============================================ */

.cf7-upload-error {
  display: none;
  flex-basis: 100%;
  margin: 8px 0 0;
  font-size: 12px;
  font-weight: 600;
  color: #C05621;
}

.cf7-upload-error.is-visible {
  display: block;
}

.cf7-upload-box.has-error {
  border-color: #FCD9B4;
  background: #FFF7ED;
}