/* Koordinator: Altinhalte mit Inline-Styles auf die Premium-Marke ziehen (Inhalte in der DB bleiben unverändert). */

/* Kontaktseite: vier Karten (Telefon, E-Mail, Adresse, Öffnungszeiten) */
.entry-content div[style*="grid-template-columns:repeat(auto-fit,minmax(200px,1fr))"]{gap:1px!important;background:var(--mx-line);border:1px solid var(--mx-line);border-radius:var(--mx-radius-lg);overflow:hidden;margin-bottom:3rem!important}
.entry-content div[style*="grid-template-columns:repeat(auto-fit,minmax(200px,1fr))"]>div[style*="border:2px solid"]{border:0!important;border-radius:0!important;background:#fff;padding:1.75rem 1.5rem!important;text-align:left!important}
.entry-content div[style*="grid-template-columns:repeat(auto-fit,minmax(200px,1fr))"]>div>div[style*="font-size:1.5rem"]{display:none}
.entry-content div[style*="grid-template-columns:repeat(auto-fit,minmax(200px,1fr))"] strong[style*="color:#094c7d"]{font-size:.75rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--mx-text-2)!important;margin-bottom:.6rem}
.entry-content div[style*="grid-template-columns:repeat(auto-fit,minmax(200px,1fr))"] p{margin:0}
.entry-content div[style*="grid-template-columns:repeat(auto-fit,minmax(200px,1fr))"] p>br:first-of-type{display:none}
.entry-content div[style*="grid-template-columns:repeat(auto-fit,minmax(200px,1fr))"] a[style*="color:#00a19a"]{color:var(--mx-ink)!important;font-size:1.125rem;font-weight:400!important;text-decoration:none;border-bottom:1px solid var(--mx-line)}
.entry-content div[style*="grid-template-columns:repeat(auto-fit,minmax(200px,1fr))"] a[style*="color:#00a19a"]:hover{border-bottom-color:var(--mx-ink)}
.entry-content div[style*="grid-template-columns:repeat(auto-fit,minmax(200px,1fr))"] span[style*="color:#475569"]{font-size:1.0625rem!important;color:var(--mx-ink)!important;line-height:1.5;display:block}
.entry-content h3[style*="margin-bottom:0.5rem"]{font-size:clamp(1.5rem,2.4vw,2rem);font-weight:300;letter-spacing:-.02em}
.entry-content p[style*="color:#64748b"]{color:var(--mx-text-2)!important}

/* „Weitere Leistungen“-Raster: letzte Zeile unvollständig → keine graue Restfläche */
.mfm-related__grid{background:none!important;gap:0!important;border:0!important;border-top:1px solid var(--mx-line)!important;border-left:1px solid var(--mx-line)!important}
.mfm-related__item{border-right:1px solid var(--mx-line)!important;border-bottom:1px solid var(--mx-line)!important}

/* Tabellenköpfe mit Inline-Hintergrund: einheitlich dunkel mit heller Schrift (Kontrast) */
.entry-content th[style*="background"]{background:var(--mx-ink)!important;color:#fff!important;border-color:var(--mx-ink)!important}
.entry-content tr[style*="background"]>th,.entry-content thead[style*="background"] th,.entry-content table[style*="background"] th{color:#fff!important}
.entry-content tr[style*="background"],.entry-content thead[style*="background"]{background:var(--mx-ink)!important}

/* Inline-Farben aus Alt-Inhalten auf AA-taugliche Werte (Text) */
.entry-content [style*="color:#30a8d8"]:not(.mfm-store-cta *),.entry-content [style*="color: #30a8d8"]:not(.mfm-store-cta *){color:var(--mx-accent-strong)!important}
.entry-content [style*="color:#dc2626"],.entry-content [style*="color: #dc2626"]{color:#b91c1c!important}
.entry-content [style*="color:#059669"],.entry-content [style*="color: #059669"]{color:#047857!important}
.entry-content [style*="color:#d97706"],.entry-content [style*="color: #d97706"]{color:#b45309!important}
.entry-content [style*="color:#16a34a"],.entry-content [style*="color: #16a34a"]{color:#15803d!important}
.entry-content [style*="color:#94a3b8"],.entry-content [style*="color: #94a3b8"]{color:#55606f!important}

/* Links in umgefärbten dunklen Altboxen */
.entry-content div[style*="linear-gradient"] a:not([class]),.entry-content div[style*="background:#0"] a:not([class]){color:#fff!important;text-decoration:underline}
.entry-content .mfm-cta-section a:not(.btn):not([class]),.mfm-cta-section p a{color:#fff!important;text-decoration:underline}
