/*
Theme Name: ML-Express Skyline
Theme URI: https://ml-express-gebäudeservice.de/
Description: Modernes WordPress Child-Theme für ML-Express Gebäudeservice in Frankfurt – Skyline und Servicefahrzeug, Gold + Navy Design, responsive und SEO-freundlich.
Author: ML-Express Gebäudeservice
Template: ml-express-premium
Version: 3.9.14
Text Domain: ml-express-premium-child
*/

/* ─────────────────────────────────────────────────────────────
   Navigation – kräftiger, klarer und mit dezenter Hover-Animation
   ───────────────────────────────────────────────────────────── */
.mlp-nav-links a:not(.mlp-nav-cta) {
  position:relative;
  color:var(--navy) !important;
  overflow:hidden;
}
.mlp-nav-links a:not(.mlp-nav-cta)::after {
  content:"";
  position:absolute;
  left:.82rem;
  right:.82rem;
  bottom:.24rem;
  height:2px;
  background:var(--gold);
  transform:scaleX(0);
  transform-origin:center;
  transition:transform .28s ease;
}
.mlp-nav-links a:not(.mlp-nav-cta)::before {
  content:"";
  position:absolute;
  inset:0;
  background:var(--gold-bg);
  border-radius:var(--r);
  transform:scale(.92);
  opacity:0;
  transition:transform .28s ease, opacity .28s ease;
  z-index:-1;
}
.mlp-nav-links a:not(.mlp-nav-cta):hover,
.mlp-nav-links a:not(.mlp-nav-cta):focus-visible {
  color:var(--navy) !important;
  transform:translateY(-1px);
}
.mlp-nav-links a:not(.mlp-nav-cta):hover::after,
.mlp-nav-links a:not(.mlp-nav-cta):focus-visible::after { transform:scaleX(1); }
.mlp-nav-links a:not(.mlp-nav-cta):hover::before,
.mlp-nav-links a:not(.mlp-nav-cta):focus-visible::before { transform:scale(1); opacity:1; }
.mlp-nav-cta { font-weight:800 !important; }

@media (max-width:860px) {
  .mlp-nav-links a:not(.mlp-nav-cta) { font-weight:700 !important; }
  .mlp-mob-menu a { font-weight:800 !important; }
  .mlp-mob-menu a:hover,
  .mlp-mob-menu a:focus-visible { transform:translateX(5px); transition:transform .25s ease, background .25s ease, color .25s ease; }
}

/* ─────────────────────────────────────────────────────────────
   Karriere – vollständige Stellenanzeigen, PDF-Inhalte als Webdesign
   ───────────────────────────────────────────────────────────── */
.mlp-career-page { background:var(--white); }
.mlp-career-wrap { max-width:1180px; margin:0 auto; padding:0 3vw; }
.mlp-career-hero {
  position:relative; overflow:hidden; background:var(--navy); color:#fff;
  border-top:3px solid var(--gold);
}
.mlp-career-hero-bg {
  position:absolute; inset:0; opacity:.2;
  background-image:linear-gradient(100deg,rgba(17,24,39,.94),rgba(26,43,74,.55)),url('../images/ffm-skyline.webp');
  background-size:cover; background-position:center 45%;
}
.mlp-career-hero-inner { position:relative; max-width:1180px; margin:0 auto; padding:4.9rem 3vw 4.6rem; }
.mlp-career-kicker {
  display:inline-flex; align-items:center; gap:.55rem; color:var(--gold-l);
  font-family:'Manrope',sans-serif; font-size:.68rem; font-weight:800; letter-spacing:.19em; text-transform:uppercase;
}
.mlp-career-kicker span { width:20px; height:2px; background:currentColor; border-radius:2px; }
.mlp-career-kicker.dark { color:var(--gold-d); }
.mlp-career-hero h1 {
  color:#fff; font-family:'Manrope',sans-serif; font-size:clamp(1.7rem,3.2vw,2.6rem);
  line-height:1.12; font-weight:800; letter-spacing:-.02em; max-width:780px; margin:1rem 0 1rem;
}
.mlp-career-hero p { color:rgba(255,255,255,.82); max-width:760px; font-size:clamp(1rem,1.5vw,1.12rem); line-height:1.75; }
.mlp-career-meta { display:flex; flex-wrap:wrap; gap:.7rem; margin-top:2rem; }
.mlp-career-meta span { padding:.58rem .95rem; border:1px solid rgba(226,191,106,.3); background:rgba(255,255,255,.07); border-radius:50px; color:rgba(255,255,255,.86); font-size:.8rem; }
.mlp-career-meta b { color:var(--gold-l); margin-right:.2rem; }

.mlp-career-intro { padding:4.5rem 0 5.2rem; background:var(--off); }
.mlp-career-section-head { display:grid; grid-template-columns:1.1fr .9fr; gap:2.4rem; align-items:end; margin-bottom:2rem; }
.mlp-career-section-head h2,
.mlp-career-contact-box h2 { font-size:clamp(1.65rem,2.8vw,2.3rem); font-weight:800; line-height:1.12; letter-spacing:-.02em; margin-top:.55rem; }
.mlp-career-section-head p { color:var(--muted); max-width:480px; line-height:1.8; }
.mlp-career-jobs { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1.4rem; }
.mlp-job-card {
  background:#fff; border:1px solid var(--border); border-radius:20px; padding:1.7rem;
  box-shadow:0 5px 25px rgba(17,24,39,.05); border-top:3px solid transparent;
  display:flex; flex-direction:column; transition:transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.mlp-job-card:hover { transform:translateY(-5px); border-top-color:var(--gold); box-shadow:0 18px 48px rgba(17,24,39,.11); }
.mlp-job-top { display:flex; align-items:center; justify-content:space-between; margin-bottom:1rem; }
.mlp-job-icon { width:46px; height:46px; border-radius:14px; background:var(--gold-bg); border:1px solid var(--gold-bd); color:var(--gold-d); display:grid; place-items:center; }
.mlp-job-icon svg { width:23px; height:23px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.mlp-job-number { color:#b0b6c0; font-family:'Manrope',sans-serif; font-weight:800; font-size:.75rem; letter-spacing:.12em; }
.mlp-job-card h3 { font-size:1.08rem; line-height:1.3; font-weight:800; margin-bottom:.9rem; color:var(--navy); }
.mlp-job-card h3 span { color:var(--gold-d); font-size:.78em; white-space:nowrap; }
.mlp-job-facts { background:var(--off); border:1px solid #eee; border-radius:13px; padding:.75rem 1rem; margin-bottom:1.15rem; }
.mlp-job-facts div { display:grid; grid-template-columns:112px 1fr; gap:.8rem; padding:.28rem 0; font-size:.78rem; line-height:1.45; }
.mlp-job-facts strong { color:var(--gold-d); font-weight:800; }
.mlp-job-facts span { color:#4b5563; }
.mlp-job-intro { color:var(--muted); font-size:.86rem; line-height:1.7; margin-bottom:1.2rem; }
.mlp-job-section { margin-top:1rem; }
.mlp-job-section h4 { color:var(--navy); font-size:.84rem; font-weight:800; line-height:1.25; padding-bottom:.4rem; border-bottom:1px solid var(--gold); margin-bottom:.5rem; }
.mlp-job-section ul { display:flex; flex-direction:column; gap:.38rem; }
.mlp-job-section li { position:relative; padding-left:1.15rem; color:#4b5563; font-size:.79rem; line-height:1.55; }
.mlp-job-section li::before { content:""; position:absolute; left:0; top:.58em; width:5px; height:5px; border-radius:50%; background:var(--gold); }
.mlp-job-apply { margin-top:1.45rem; padding-top:1.1rem; border-top:1px solid var(--border); display:flex; align-items:center; justify-content:space-between; gap:1rem; }
.mlp-job-apply strong { display:block; color:var(--navy); font-family:'Manrope',sans-serif; font-size:.9rem; margin-bottom:.15rem; }
.mlp-job-apply p { color:var(--muted); font-size:.72rem; line-height:1.45; max-width:300px; }
.mlp-job-btn { display:inline-flex; align-items:center; gap:.45rem; flex-shrink:0; background:var(--navy); color:#fff; border-radius:50px; padding:.72rem 1rem; font-size:.75rem; font-weight:800; transition:transform .25s ease, background .25s ease, box-shadow .25s ease; }
.mlp-job-btn:hover { background:var(--gold-d); transform:translateY(-2px); box-shadow:0 8px 22px rgba(160,120,50,.22); }
.mlp-job-btn span { font-size:1rem; transition:transform .25s ease; }
.mlp-job-btn:hover span { transform:translateX(3px); }

.mlp-career-contact { padding:0 0 5.5rem; background:var(--off); }
.mlp-career-contact-box { background:var(--navy); border-radius:22px; padding:2.4rem; color:#fff; position:relative; overflow:hidden; }
.mlp-career-contact-box::after { content:""; position:absolute; width:280px; height:280px; right:-100px; bottom:-170px; border:1px solid rgba(226,191,106,.18); border-radius:50%; box-shadow:0 0 0 45px rgba(226,191,106,.04),0 0 0 90px rgba(226,191,106,.025); }
.mlp-career-contact-box h2 { color:#fff; }
.mlp-career-contact-box > div:first-child p { color:rgba(255,255,255,.7); max-width:560px; line-height:1.75; margin-top:.7rem; }
.mlp-career-contact-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:.8rem; margin-top:1.8rem; position:relative; z-index:1; }
.mlp-career-contact-grid a { background:rgba(255,255,255,.07); border:1px solid rgba(255,255,255,.1); border-radius:13px; padding:1rem; transition:background .25s ease, border-color .25s ease, transform .25s ease; }
.mlp-career-contact-grid a:hover { background:rgba(255,255,255,.11); border-color:rgba(226,191,106,.45); transform:translateY(-2px); }
.mlp-career-contact-grid small { display:block; color:var(--gold-l); text-transform:uppercase; letter-spacing:.1em; font-size:.62rem; font-weight:800; margin-bottom:.35rem; }
.mlp-career-contact-grid strong { color:#fff; font-size:.86rem; font-weight:700; word-break:break-word; }
.mlp-career-area { margin-top:1rem; color:rgba(255,255,255,.7); font-size:.78rem; position:relative; z-index:1; }
.mlp-career-area span { color:var(--gold-l); font-weight:800; margin-right:.35rem; }

@media (max-width:980px) {
  .mlp-career-section-head { grid-template-columns:1fr; gap:1rem; align-items:start; }
  .mlp-career-jobs { grid-template-columns:1fr; }
  .mlp-career-contact-grid { grid-template-columns:1fr; }
}
@media (max-width:600px) {
  .mlp-career-hero-inner { padding:3.7rem 1.1rem 3.5rem; }
  .mlp-career-hero h1 { font-size:1.7rem; line-height:1.12; }
  .mlp-career-section-head h2,
  .mlp-career-contact-box h2 { font-size:1.65rem; }
  .mlp-career-meta { gap:.5rem; }
  .mlp-career-meta span { width:100%; text-align:center; }
  .mlp-career-intro { padding:3.4rem 0 4rem; }
  .mlp-job-card { padding:1.25rem; border-radius:17px; }
  .mlp-job-facts div { grid-template-columns:1fr; gap:.08rem; padding:.38rem 0; }
  .mlp-job-apply { flex-direction:column; align-items:stretch; }
  .mlp-job-btn { justify-content:center; }
  .mlp-career-contact-box { padding:1.5rem; border-radius:18px; }
}

@media (prefers-reduced-motion: reduce) {
  .mlp-nav-links a:not(.mlp-nav-cta), .mlp-job-card, .mlp-job-btn, .mlp-career-contact-grid a { transition:none !important; }
}

/* v3.9.14 FINAL – mobile-only services heading alignment */
@media (max-width:767px) {
  #mlp-leistungen .mlp-svc-head {
    display:block;
    text-align:center;
  }
  #mlp-leistungen .mlp-svc-head > div {
    width:100%;
  }
  #mlp-leistungen .mlp-svc-head .mlp-tag {
    display:flex;
    justify-content:center;
    align-items:center;
    margin-left:auto;
    margin-right:auto;
  }
  #mlp-leistungen .mlp-svc-head .mlp-title,
  #mlp-leistungen .mlp-svc-head .mlp-svc-count {
    text-align:center;
    margin-left:auto;
    margin-right:auto;
  }
}
/* Navigation: same visual weight, but clearly readable at desktop/tablet */
.mlp-nav-links a:not(.mlp-nav-cta) {
  font-size:.92rem !important;
  font-weight:700 !important;
}
.mlp-nav-links .mlp-nav-cta {
  font-size:.86rem !important;
  font-weight:800 !important;
}

@media (max-width:860px) {
  .mlp-mob-menu a {
    font-size:1.55rem !important;
    font-weight:800 !important;
  }
}

/* v3.9.14 FINAL – desktop only: align services intro vertically with heading block */
@media (min-width: 768px) {
  #mlp-leistungen .mlp-svc-head {
    align-items: center;
  }
}
