
/* === TM Service — Center & Footer Fix (global) === */

/* Hauptcontainer neutralisieren & mittig halten */
#main, .site, .site-content, .content-area, .entry-content,
.container, .fusion-main-wrapper, .ast-container,
.elementor-section, .elementor-container {
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
    float: none !important;
    position: static !important;
}

/* Eigene zentrierte Wrapper (falls in Seiten-HTML genutzt) */
.tm-root { display:flex !important; justify-content:center !important; width:100% !important; }
.tm-inner { width:min(1200px,100%); padding:0 20px; box-sizing:border-box; }

/* Karten-Container (zwei Boxen nebeneinander, mittig) */
.tm-cards{
    display:flex !important; flex-wrap:wrap !important;
    justify-content:center !important; align-items:stretch !important;
    gap:20px !important; margin:22px auto !important; width:100% !important;
    max-width:900px !important;
}
.tm-card{ flex:0 0 420px !important; max-width:420px !important; min-width:280px; }

/* Kontaktbox innen zentriert */
.tm-kontakt{ max-width:1200px; margin:0 auto; }

/* --- Footer-Bereinigung --- */
/* Alle Theme-/Widget-Footer ausblenden */
footer, .site-footer, #colophon, .footer-area,
.fusion-footer, .avada-footer, .ast-footer-wrap,
.elementor-location-footer, .footer-widget-area,
.fusion-copyright-notice, .fusion-footer-widget-area,
.widget_nav_menu, .menu-footer, .menu,
nav[role="navigation"] {
    display: none !important;
}

/* Alle Impressum/Datenschutz-Links global verstecken … */
a[href*="/impressum/"]:not(.tm-footer-link),
a[href*="/datenschutz/"]:not(.tm-footer-link) {
    display: none !important;
}

/* … und nur unsere eigenen Footer-Links anzeigen (grau, nebeneinander) */
.tm-footer{ text-align:center; font-size:12px; color:#555; margin:18px 0 36px; }
.tm-footer .tm-footer-link{ display:inline-block !important; color:#555 !important; text-decoration:none; margin:0 10px; }
.tm-footer .tm-footer-link:hover{ text-decoration:underline; }

/* Telefon-Icons der Themes entfernen */
a[href^="tel:"], a[href^="tel:"]::before, a[href^="tel:"]::after,
.fa-phone:before, .dashicons-phone:before, [class*="icon-phone"]:before, svg.phone {
    content:none !important; background:none !important; box-shadow:none !important;
    width:auto !important; height:auto !important; display:inline !important;
}

/* Responsive Kontaktbox */
@media (max-width:980px){
    .tm-kontakt{ grid-template-columns:1fr !important; }
}
