/* Marker: OM-RUHR-OVERRIDES-V19 */
/* Load AFTER omruhr.css + omruhr-responsive.css */

.cloud-divider, .cloud-divider-bg { display:none !important; height:0 !important; margin:0 !important; padding:0 !important; }
.home-hero { overflow:hidden !important; background:
  radial-gradient(1200px 420px at 18% 0%, rgba(18,57,172,.10), transparent 60%),
  radial-gradient(900px 360px at 90% 10%, rgba(10,20,60,.08), transparent 65%),
  linear-gradient(180deg, #f7f9fd 0%, #ffffff 72%) !important;
}
.home-hero .container{ position:relative !important; z-index:2 !important; }

/* Hero layout */
.om-hero2{
  display:grid !important;
  grid-template-columns: 1.15fr 0.85fr !important;
  gap: 28px !important;
  align-items:start !important;
  padding: 26px 0 10px !important;
}
@media (max-width: 991px){
  .om-hero2{ grid-template-columns: 1fr !important; gap:18px !important; }
}

/* Text */
.om-hero2-kicker{
  display:inline-flex !important;
  align-items:center !important;
  gap:10px !important;
  font-size: 14px !important;
  color: rgba(28, 36, 54, .82) !important;
  background: rgba(255,255,255,.88) !important;
  border: 1px solid rgba(16,24,40,.08) !important;
  padding: 8px 12px !important;
  border-radius: 999px !important;
}
.om-hero2-h1{
  margin: 14px 0 10px !important;
  font-weight: 900 !important;
  letter-spacing: -0.02em !important;
  color: #0b1b4a !important;
  line-height: 1.05 !important;
  font-size: clamp(34px, 3.6vw, 56px) !important;
}
.om-hero2-lead{
  font-size: 17px !important;
  line-height: 1.6 !important;
  color: rgba(28,36,54,.86) !important;
  max-width: 62ch !important;
  margin-bottom: 14px !important;
}

/* Bullets */
.om-hero2-bullets{
  list-style:none !important;
  padding:0 !important;
  margin: 0 0 18px 0 !important;
  display:grid !important;
  gap: 10px !important;
}
.om-hero2-bullets li{
  display:flex !important;
  align-items:flex-start !important;
  gap: 10px !important;
  background: rgba(255,255,255,.86) !important;
  border: 1px solid rgba(16,24,40,.08) !important;
  padding: 10px 12px !important;
  border-radius: 14px !important;
  color: rgba(20,30,55,.88) !important;
}
.om-hero2-bullets i{ color: rgba(18,57,172,.92) !important; margin-top: 2px !important; }

/* Buttons */
.om-hero2-ctas{
  display:flex !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
  align-items:center !important;
  margin-top: 10px !important;
  margin-bottom: 12px !important;
}
.om-btn{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  font-weight: 800 !important;
  border-radius: 999px !important;
  padding: 12px 18px !important;
  min-height: 52px !important;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  white-space: nowrap !important;
}
@media (max-width: 520px){
  .om-btn{ width: 100% !important; }
}
.om-btn-primary{
  background: #1239ac !important;
  color: #fff !important;
  box-shadow: 0 18px 40px rgba(18,57,172,.20) !important;
}
.om-btn-primary:hover{ transform: translateY(-1px) !important; box-shadow: 0 22px 52px rgba(18,57,172,.26) !important; }
.om-btn-ghost{
  background: rgba(255,255,255,.90) !important;
  color: #0b1b4a !important;
  border: 1px solid rgba(16,24,40,.10) !important;
}
.om-btn-ghost:hover{ transform: translateY(-1px) !important; box-shadow: 0 16px 36px rgba(16,24,40,.08) !important; }
.om-btn-full{ width: 100% !important; }

.om-hero2-phone{
  display:inline-flex !important;
  align-items:center !important;
  gap: 10px !important;
  padding: 10px 14px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(16,24,40,.10) !important;
  background: rgba(255,255,255,.88) !important;
  color: #0b1b4a !important;
  min-height: 52px !important;
}
@media (max-width: 520px){
  .om-hero2-phone{ width: 100% !important; justify-content:center !important; }
}
.om-hero2-phone-ic{
  width: 38px !important; height: 38px !important;
  display:grid !important; place-items:center !important;
  border-radius: 999px !important;
  background: rgba(255,200,0,.18) !important;
  border: 1px solid rgba(255,200,0,.26) !important;
}
.om-hero2-phone-txt{ font-weight: 900 !important; letter-spacing: .02em !important; }

/* City pills */
.om-hero2-cities{
  display:flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  margin-top: 6px !important;
}
.om-pill{
  display:inline-flex !important;
  align-items:center !important;
  gap: 8px !important;
  padding: 9px 12px !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,.90) !important;
  border: 1px solid rgba(16,24,40,.08) !important;
  color: rgba(20,30,55,.90) !important;
  font-weight: 800 !important;
}
.om-pill i{ color: rgba(18,57,172,.92) !important; }

/* Right trust card */
.om-hero2-card{
  background: rgba(255,255,255,.94) !important;
  border: 1px solid rgba(16,24,40,.10) !important;
  border-radius: 22px !important;
  padding: 16px 16px 14px !important;
  box-shadow: 0 20px 60px rgba(16,24,40,.10) !important;
}
.om-hero2-brand{ display:flex !important; gap: 12px !important; align-items:center !important; }
.om-hero2-logo{
  width: 56px !important; height: 56px !important;
  border-radius: 16px !important;
  object-fit: contain !important;
  background: #fff !important;
  border: 1px solid rgba(16,24,40,.08) !important;
  padding: 6px !important;
}
.om-hero2-name{ font-weight: 900 !important; color: #0b1b4a !important; }
.om-hero2-sub{ color: rgba(28,36,54,.80) !important; font-size: 13.5px !important; }

.om-hero2-badges{
  display:flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin-top: 12px !important;
}
.om-badge{
  display:inline-flex !important;
  align-items:center !important;
  gap: 8px !important;
  background: rgba(18,57,172,.06) !important;
  border: 1px solid rgba(18,57,172,.10) !important;
  color: rgba(11,27,74,.92) !important;
  padding: 8px 10px !important;
  border-radius: 999px !important;
  font-weight: 800 !important;
  font-size: 12.5px !important;
}
.om-hero2-divider{ height:1px !important; background: rgba(16,24,40,.10) !important; margin: 14px 0 12px !important; }

.om-hero2-mini-title{ font-weight: 900 !important; color: #0b1b4a !important; margin-bottom: 8px !important; }
.om-hero2-mini-list{
  list-style:none !important; padding:0 !important; margin:0 0 12px 0 !important;
  display:grid !important; gap: 8px !important;
  color: rgba(28,36,54,.86) !important; font-size: 13.5px !important;
}
.om-dot{ width:8px !important; height:8px !important; border-radius:999px !important; background: rgba(255,200,0,.85) !important; display:inline-block !important; margin-right: 10px !important; }
.om-hero2-mini-list li{ display:flex !important; align-items:flex-start !important; }

.om-hero2-maplink{
  display:flex !important;
  justify-content:center !important;
  gap: 8px !important;
  margin-top: 10px !important;
  color: rgba(18,57,172,.95) !important;
  font-weight: 800 !important;
  text-decoration: none !important;
}
.om-hero2-maplink:hover{ text-decoration: underline !important; }

/* Fix the 4 mini trust boxes under hero (overflow + alignment) */
.trust-row{
  display:grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 14px !important;
  margin-top: 18px !important;
}
@media (max-width: 991px){
  .trust-row{ grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
@media (max-width: 520px){
  .trust-row{ grid-template-columns: 1fr !important; }
}
.trust-item{
  background: rgba(255,255,255,.92) !important;
  border: 1px solid rgba(16,24,40,.08) !important;
  border-radius: 16px !important;
  padding: 14px 12px !important;
  text-align:center !important;
  display:flex !important;
  flex-direction: column !important;
  align-items:center !important;
  gap: 8px !important;
  min-height: 150px !important;
}
.trust-item i{
  width: 44px !important; height: 44px !important;
  display:grid !important; place-items:center !important;
  border-radius: 14px !important;
  background: rgba(18,57,172,.08) !important;
  border: 1px solid rgba(18,57,172,.14) !important;
  color: rgba(18,57,172,.95) !important;
  font-size: 18px !important;
}
.trust-item .t-title{
  font-weight: 900 !important;
  color: #0b1b4a !important;
  margin: 0 !important;
  line-height: 1.2 !important;
}
.trust-item .t-text{
  margin: 0 !important;
  color: rgba(28,36,54,.82) !important;
  line-height: 1.45 !important;
  font-size: 13.5px !important;
  word-break: normal !important;
  hyphens: auto !important;
}

/* Reduce accidental huge gaps if a removed divider kept spacing */
.section-gap-fix{ margin:0 !important; padding:0 !important; }


/* Safety: if any legacy hero fragments exist, hide them */
.home-hero .col-lg-5, .home-hero .row.align-items-center { display:none !important; }


/* =======================================================================
   EXTRA FIXES V20 (Homepage neutrality + no overflow)
   ======================================================================= */
:root{
  --om-text: rgba(14,24,44,.88);
}

/* Feature mini cards (Feste Teams / Qualitätschecks / etc.) */
.feature-card, .om-feature, .mini-feature, .why-card, .why-box{
  overflow: hidden !important;
}
.feature-card h3, .om-feature h3, .mini-feature h3,
.feature-card p, .om-feature p, .mini-feature p{
  word-break: normal !important;
  overflow-wrap: anywhere !important;
  hyphens: auto !important;
}

/* Force icon on top centered if template still uses side icons */
.feature-card .icon, .om-feature .icon, .mini-feature .icon,
.feature-card i:first-child, .mini-feature i:first-child{
  display: grid !important;
  place-items: center !important;
  margin: 0 auto 10px auto !important;
}

/* Make service cards consistent */
.services-grid, .service-grid, .cards-grid{
  align-items: stretch !important;
}
.service-card, .card-service, .service-box{
  height: 100% !important;
  display:flex !important;
  flex-direction: column !important;
}
.service-card .actions, .card-service .actions, .service-box .actions{
  margin-top: auto !important;
}

/* Buttons in cards: prevent height/warp issues */
.service-card a, .card-service a, .service-box a{
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
@media (max-width: 520px){
  .service-card a, .card-service a, .service-box a{ white-space: normal !important; }
}

/* City pills: wrap nicely */
.om-hero2-cities, .hero-cities, .city-pills{
  flex-wrap: wrap !important;
}
.om-pill{ max-width: 100% !important; }

/* Remove any leftover big empty separators */
.cloud-divider, .cloud-divider-bg, .divider-cloud, .hero-divider-cloud{
  display:none !important;
  height:0 !important;
  margin:0 !important;
  padding:0 !important;
}


/* =========================
   V21 FINAL POLISH
   ========================= */

/* SEO Hub */
.seo-hub{
  padding: 60px 0;
  background: linear-gradient(180deg,#f7f9fd 0%,#ffffff 100%);
}
.seo-hub h2{
  font-weight: 900;
  color:#0b1b4a;
  margin-bottom: 12px;
}
.seo-hub p{
  max-width: 80ch;
  color: rgba(20,30,55,.88);
}
.seo-hub-links{
  margin-top: 18px;
  display:flex;
  gap:14px;
  flex-wrap:wrap;
}
.hub-link{
  padding: 12px 18px;
  border-radius: 999px;
  background:#1239ac;
  color:#fff;
  font-weight:800;
}
.hub-link:hover{ background:#0b2b84; }

/* Motion polish */
.service-card, .why-card, .feature-card{
  transition: transform .25s ease, box-shadow .25s ease;
}
.service-card:hover, .why-card:hover, .feature-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(16,24,40,.12);
}

/* =========================
   V22 FINAL FIXES
   ========================= */

/* Gold Google star */
.om-badge i.fa-star, .om-badge .fa-star, .rating i.fa-star, .google-rating i.fa-star{
  color: #d6a21a !important; /* gold */
  text-shadow: 0 1px 0 rgba(0,0,0,.08);
}

/* SEO Hub (now placed correctly) */
.seo-hub{
  padding: 34px 0 10px !important;
  background: transparent !important;
}
.seo-hub .container{
  background: rgba(255,255,255,.90);
  border: 1px solid rgba(16,24,40,.10);
  border-radius: 22px;
  padding: 22px 22px;
  box-shadow: 0 18px 50px rgba(16,24,40,.08);
}
.seo-hub h2{ font-size: clamp(20px,2.0vw,28px); margin: 0 0 10px 0; }
.seo-hub p{ margin: 0; }
.seo-hub-links{ margin-top: 14px; gap: 10px; }
.hub-link--ghost{
  background: rgba(18,57,172,.06) !important;
  color: #0b1b4a !important;
  border: 1px solid rgba(18,57,172,.14) !important;
}
.hub-link--ghost:hover{ background: rgba(18,57,172,.10) !important; }

/* Prevent any footer link low-contrast if overrides not loaded */
.site-footer a{ color:#fff !important; }
.site-footer a:hover{ color:#ffd24a !important; }

/* Guard: never render stray content above navbar */
body > .seo-hub:first-child{ display:none !important; }

/* =========================
   V26: Scroll button + FAQ CTA
   ========================= */

/* Scroll-to-top: never hidden by our overrides */
.scroll-to-top, .scroll-to-target{
  opacity: 1 !important;
  visibility: visible !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}
.scroll-to-top:not(.is-visible), .scroll-to-target:not(.is-visible){
  opacity: 0.0 !important;
  transform: translateY(10px);
  transition: opacity .18s ease, transform .18s ease;
}
.scroll-to-top.is-visible, .scroll-to-target.is-visible{
  opacity: 1 !important;
  transform: translateY(0);
}

/* FAQ CTA button */
.faq-cta{
  margin-top: 18px;
}
.faq-cta__btn{
  display: inline-flex;
  align-items:center;
  justify-content:center;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 900;
  background: #1239ac;
  color: #fff !important;
  border: 1px solid rgba(0,0,0,.0);
  box-shadow: 0 12px 30px rgba(16,24,40,.12);
}
.faq-cta__btn:hover{
  background:#0b2b84;
  color:#fff !important;
}

/* =========================
   V27: FINAL SCROLL + FAQ CTA (OVERRIDES)
   ========================= */

/* Scroll button: always visible, high z-index */
.scroll-to-target.scroll-to-top,
.scroll-to-top,
.scroll-to-target{
  display: inline-flex !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  position: fixed !important;
  right: 22px !important;
  bottom: 22px !important;
  z-index: 99999 !important;
  width: 56px !important;
  height: 56px !important;
  border-radius: 999px !important;
  background: #1239ac !important;
  color: #fff !important;
  box-shadow: 0 18px 44px rgba(16,24,40,.18) !important;
}
.scroll-to-target.scroll-to-top i,
.scroll-to-top i{
  color:#fff !important;
  font-size: 18px !important;
}
.scroll-to-target.scroll-to-top:hover,
.scroll-to-top:hover{
  background:#0b2b84 !important;
}

/* FAQ CTA visible + spaced */
.home-section.faq .faq-cta{
  margin-top: 18px !important;
}
.home-section.faq .faq-cta__btn{
  display:inline-flex !important;
  padding: 12px 18px !important;
  border-radius: 999px !important;
  background:#1239ac !important;
  color:#fff !important;
  font-weight: 900 !important;
}
.home-section.faq .faq-cta__btn:hover{
  background:#0b2b84 !important;
}



/* === Fix: Topbar Trennlinien immer gleich hoch === */
.main-header__top-details-list{
  align-items: stretch !important;
}
.main-header__top-details-list li{
  align-items: center !important;
  min-height: 64px;
}
.main-header__top-details-list li:before{
  top: 10px !important;
  bottom: 10px !important;
}

/* === Fix: Icons in der Topbar (Font Awesome) === */
.main-header__top-details-list li .icon i{
  font-size: 24px;
  line-height: 1;
  color: var(--omruhr-primary, #f6b400);
}
.main-header__top-details-list li .icon a{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}


/* Icons: inline SVG fallback (replaces Font Awesome <i>) */
.om-icon{display:inline-flex;align-items:center;justify-content:center;}
.om-icon .om-svg{width:1em;height:1em;vertical-align:-0.125em;fill:currentColor;}
