/* TM Service – Startseite (nur /startseite/)
   Ablage: /wp-content/themes/tm-service-theme/assets/css/tm-startseite.css
*/

/* ===== Grundlayout ===== */
body.page-slug-startseite{
  background: linear-gradient(135deg, #1b4dd8 0%, #0b2a7a 35%, #050a18 80%, #02040b 100%) !important;
  background-attachment: fixed;
  color:#ffffff;
}

/* Seitentitel ausblenden */
body.page-slug-startseite .entry-title,
body.page-slug-startseite h1.entry-title{
  display:none !important;
}

/* Links NICHT blau/lila */
body.page-slug-startseite a{
  color: inherit;
  text-decoration: none;
}
body.page-slug-startseite a:visited{
  color: inherit;
}

/* Content-Fläche */
.tm-startseite{
  width:100%;
  max-width:1200px;
  margin:0 auto;
  padding:24px 16px 28px;
  box-sizing:border-box;
}

/* ===== Hero ===== */
.tm-hero{
  display:grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap:20px;
  align-items:stretch;
  padding:22px;
  border-radius:18px;
  background: rgba(0,0,0,.28);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 10px 40px rgba(0,0,0,.25);
}

.tm-hero-left{
  min-width:0;
}

.tm-brand{
  display:flex;
  align-items:center;
  gap:14px;
  margin-bottom:10px;
}

.tm-brand img{
  width:92px;
  height:auto;
  border-radius:10px;
  background:#fff;
  padding:8px;
  box-sizing:border-box;
}

.tm-brand .tm-brand-text{
  line-height:1.1;
}

.tm-brand .tm-brand-text strong{
  display:block;
  font-size:22px;
  letter-spacing:.2px;
}

.tm-brand .tm-brand-text span{
  display:block;
  opacity:.9;
  font-size:14px;
}

.tm-hero h2{
  margin:10px 0 8px;
  font-size:42px;
  line-height:1.08;
}

.tm-hero p{
  margin:0 0 14px;
  opacity:.95;
  font-size:16px;
  line-height:1.55;
  max-width:64ch;
}

.tm-hero-meta{
  margin-top:10px;
  opacity:.95;
  font-size:14px;
  line-height:1.5;
}

.tm-hero-right{
  border-radius:16px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.14);
  padding:16px;
  box-sizing:border-box;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}

.tm-hero-right h3{
  margin:0 0 10px;
  font-size:18px;
}

.tm-pills{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin:0 0 14px;
}

.tm-pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 12px;
  border-radius:999px;
  background: rgba(0,0,0,.25);
  border:1px solid rgba(255,255,255,.14);
  font-size:14px;
  white-space:nowrap;
}

/* ===== Buttons ===== */
.tm-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:12px;
}

.tm-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 16px;
  border-radius:999px;
  font-weight:700;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.25);
  color:#fff !important;
  text-decoration:none !important;
  white-space:nowrap;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}

.tm-btn:hover{
  transform: translateY(-1px);
  background: rgba(0,0,0,.32);
  border-color: rgba(255,255,255,.18);
}

.tm-btn-primary{
  background: #cf152d;
  border-color: rgba(0,0,0,.08);
}
.tm-btn-primary:hover{
  background:#e01935;
}

.tm-btn-light{
  background: rgba(255,255,255,.14);
}

.tm-btn-phone{
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.18);
}

/* ===== Kacheln ===== */
.tm-section{
  margin-top:18px;
}

.tm-section h3{
  margin:0 0 10px;
  font-size:22px;
}

.tm-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:14px;
}

.tm-card{
  background: rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.14);
  border-radius:16px;
  padding:16px;
  box-sizing:border-box;
}

.tm-card h4{
  margin:0 0 8px;
  font-size:18px;
}

.tm-card p{
  margin:0 0 12px;
  opacity:.95;
  line-height:1.55;
}

/* ===== Kontaktbox Wrapper (nimmt euren vorhandenen CSS mit) ===== */
.tm-kontakt-wrap{
  margin-top:18px;
}

/* Footer */
.tm-footerline{
  margin-top:20px;
  opacity:.9;
  font-size:13px;
  text-align:center;
}

/* Responsive */
@media (max-width: 980px){
  .tm-hero{ grid-template-columns: 1fr; }
  .tm-grid{ grid-template-columns: 1fr; }
  .tm-hero h2{ font-size:34px; }
}
