/* ---- KID IMMO: kleine, risikoarme Korrekturen für Ultimatum/WonderFoundry ---- */

/* 1) Uralt-Filter neutralisieren (verhindert IE-progid Fehlermeldungen) */
[class], [id] { filter: none !important; }

/* 2) Text-/Box-Shadow alt auf neutral – reduziert -moz-* Mecker,
      ohne das Layout grob zu zerschießen */
* { text-shadow: none !important; box-shadow: none !important; }

/* 3) Robuste Typo-Defaults (ersetzt ungültige font-weight-Werte wie 'regular/book') */
html { -webkit-text-size-adjust: 100%; }
body, button, input, select, textarea {
  font-weight: 400 !important;
  font-family: Arial, Helvetica, "Nimbus Sans", sans-serif !important;
}
b, strong { font-weight: 700 !important; }

/* 4) Häufige ungültige Inline-Werte entschärfen (tauchen in preset_styles.css/Inline auf) */
*[style*="min-width: none"], *[style*="min-width:none"] { min-width: 0 !important; }
*[style*="padding-bottom: auto"], *[style*="padding-bottom:auto"] { padding-bottom: initial !important; }

/* 5) Exotische Legacy-Display-Werte entschärfen (z. B. 'display: box') */
*[style*="display: box"], *[style*="display:box"] { display: block !important; }

/* 6) Buttons/Links minimal abrunden, ohne Theme-Layout zu brechen */
a, .button, button, input[type=submit] { border-radius: .25rem !important; text-decoration: none; }

/* 7) Icon-Font-Fallback, wenn genericons/alte FA entfernt sind */
.fa, [class^="fa-"], [class*=" fa-"],
[class^="icon-"], [class*=" icon-"] {
  font-family: "Font Awesome 4","FontAwesome","Genericons", Arial, sans-serif !important;
  font-weight: 400 !important;
}

/* 8) Keine harte Farbüberschreibung mehr (vermeidet Menü-Nebeneffekte) */
/* Falls weiterhin Farbwarnungen auftreten, lieber gezielt pro Element überschreiben. */
