/* ==========================================================================
   Site-specific additions on top of the template (style.css)
   ========================================================================== */

/* ---------- Leistungen: Detailseite ---------- */
.lst-hero img {
  width: 100%;
  height: 440px;
  object-fit: cover;
}
.lst-gallery img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}
.lst-lead {
  font-size: 19px;
  line-height: 1.6;
  color: var(--title-color);
  padding-left: 20px;
  border-left: 3px solid var(--theme-color2);
  margin-bottom: 22px;
}

.lst-sign {
  height: 100%;
  padding: 26px 24px;
  border: 1px solid var(--th-border-color6);
  border-radius: 20px;
  background: #fff;
  transition: border-color .3s, box-shadow .3s, transform .3s;
}
.lst-sign:hover {
  border-color: var(--theme-color);
  box-shadow: 0 14px 34px rgba(0, 82, 218, .10);
  transform: translateY(-4px);
}
.lst-sign_icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--gray-color);
  color: var(--theme-color);
  font-size: 22px;
  margin-bottom: 16px;
}
.lst-sign_title {
  font-size: 18px;
  margin-bottom: 6px;
}
.lst-sign_text {
  font-size: 15px;
  line-height: 1.55;
  margin: 0;
}

.lst-scope {
  padding: 36px 36px 30px;
  border-radius: 24px;
  background: var(--gray-color);
}
.lst-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 30px;
}
.lst-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--title-color);
  font-weight: 500;
  line-height: 1.45;
}
.lst-checklist li i {
  color: var(--theme-color);
  font-size: 18px;
  margin-top: 3px;
  flex: none;
}

.lst-detail .service-page-card.lst-step {
  display: flex;
  position: relative;
  height: 100%;
  overflow: hidden;
}
.lst-step_no {
  position: absolute;
  right: 20px;
  top: 16px;
  font-family: var(--title-font);
  font-size: 44px;
  font-weight: 700;
  line-height: 1;
  color: rgba(0, 82, 218, .10);
  pointer-events: none;
}

/* ---------- FAQ (details/summary) ---------- */
.lst-faq_item {
  border: 1px solid var(--th-border-color6);
  border-radius: 18px;
  background: #fff;
  transition: border-color .3s, box-shadow .3s;
}
.lst-faq_item + .lst-faq_item {
  margin-top: 14px;
}
.lst-faq_item[open] {
  border-color: var(--theme-color);
  box-shadow: 0 14px 34px rgba(0, 82, 218, .08);
}
.lst-faq_item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 24px;
  font-family: var(--title-font);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--title-color);
}
.lst-faq_item summary::-webkit-details-marker {
  display: none;
}
.lst-faq_item summary::after {
  content: "+";
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--gray-color);
  color: var(--theme-color);
  font-family: var(--body-font);
  font-size: 22px;
  font-weight: 400;
  line-height: 32px;
  text-align: center;
  transition: background .3s, color .3s;
}
.lst-faq_item[open] summary::after {
  content: "–";
  background: var(--theme-color);
  color: #fff;
}
.lst-faq_item summary:focus-visible {
  outline: 2px solid var(--theme-color);
  outline-offset: 2px;
  border-radius: 18px;
}
.lst-faq_item p {
  margin: 0;
  padding: 0 24px 22px;
  max-width: 64ch;
}

/* ---------- CTA-Band ---------- */
.lst-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px 30px;
  padding: 36px;
  border-radius: 24px;
  background: var(--title-color);
}
.lst-cta > div:first-child {
  flex: 1 1 280px;
}
.lst-cta_title {
  color: #fff;
  margin-bottom: 6px;
}
.lst-cta .lst-cta_text {
  color: rgba(255, 255, 255, .78);
  margin: 0;
}
.lst-cta .btn-wrap {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 24px;
}
.lst-cta_phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-family: var(--title-font);
  font-size: 20px;
  font-weight: 600;
  white-space: nowrap;
}
.lst-cta_phone i {
  color: var(--theme-color2);
}
.lst-cta_phone:hover {
  color: var(--theme-color2);
}

/* ---------- Sidebar ---------- */
.lst-detail .widget_categories li.active a {
  color: #fff;
  background: var(--theme-color);
}

.widget.lst-contact {
  background: var(--theme-color);
  border-radius: 24px;
}
.lst-contact_list {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
}
.lst-contact_list li {
  display: flex;
  gap: 14px;
  color: #fff;
  line-height: 1.45;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .18);
  overflow-wrap: anywhere;
}
.lst-contact_list li:first-child {
  padding-top: 0;
}
.lst-contact_list li i {
  flex: none;
  width: 22px;
  margin-top: 4px;
  font-size: 18px;
  color: var(--theme-color2);
}
.lst-contact_list li span {
  display: block;
  font-size: 13px;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .7);
}
.lst-contact_list li a {
  color: #fff;
  font-weight: 600;
}
.lst-contact_list li a:hover {
  color: var(--theme-color2);
}

/* ---------- Weitere Leistungen ---------- */
.lst-related {
  background: var(--gray-color);
}
.lst-related_card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 24px;
  background: #fff;
  overflow: hidden;
  transition: box-shadow .3s, transform .3s;
}
.lst-related_card:hover {
  box-shadow: 0 20px 44px rgba(1, 9, 22, .10);
  transform: translateY(-6px);
}
.lst-related_img {
  overflow: hidden;
}
.lst-related_img img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform .6s;
}
.lst-related_card:hover .lst-related_img img {
  transform: scale(1.06);
}
.lst-related_body {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 44px 28px 28px;
}
.lst-related_icon {
  position: absolute;
  top: -32px;
  left: 28px;
  width: 64px;
  height: 64px;
  padding: 12px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(1, 9, 22, .10);
}
.lst-related_body .box-title {
  font-size: 24px;
  margin-bottom: 8px;
}
.lst-related_body .box-text {
  margin-bottom: 18px;
}
.lst-related_link {
  margin-top: auto;
  color: var(--theme-color);
  font-weight: 600;
}
.lst-related_link i {
  margin-left: 6px;
  transition: transform .3s;
}
.lst-related_card:hover .lst-related_link i {
  transform: translateX(5px);
}

/* ---------- Leistungen: Übersicht ---------- */
.lst-benefits {
  padding-bottom: 20px;
}
.lst-benefit {
  display: flex;
  gap: 16px;
  height: 100%;
  padding: 26px 24px;
  border-radius: 20px;
  background: var(--gray-color);
}
.lst-benefit_icon {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--theme-color);
  color: #fff;
  font-size: 21px;
}
.lst-benefit_title {
  font-size: 19px;
  margin-bottom: 4px;
}
.lst-benefit_text {
  font-size: 15px;
  line-height: 1.55;
  margin: 0;
}

.lst-process {
  background: var(--title-color);
  border-radius: 30px;
  margin: 0 20px 120px;
}
.lst-process .sub-title {
  color: #fff;
  border-color: rgba(255, 255, 255, .5);
}
.lst-process .sec-title {
  color: #fff;
}
.lst-process .sec-title span {
  color: var(--theme-color2);
}
.lst-process_card {
  height: 100%;
  padding: 30px 26px;
  border: 1px solid var(--th-border-color5);
  border-radius: 20px;
  transition: border-color .3s, background .3s;
}
.lst-process_card:hover {
  border-color: var(--theme-color2);
  background: rgba(255, 255, 255, .04);
}
.lst-process_no {
  display: block;
  font-family: var(--title-font);
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  color: var(--theme-color2);
  margin-bottom: 18px;
}
.lst-process_title {
  color: #fff;
  font-size: 22px;
  margin-bottom: 8px;
}
.lst-process_text {
  color: rgba(255, 255, 255, .7);
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

.lst-emergency {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 18px 26px 18px 18px;
  border-radius: 20px;
  background: var(--gray-color);
}
.lst-emergency_icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--theme-color);
  color: #fff;
  font-size: 20px;
}
.lst-emergency_label {
  display: block;
  font-size: 14px;
}
.lst-emergency_phone {
  font-family: var(--title-font);
  font-size: 24px;
  font-weight: 700;
  color: var(--title-color);
}
.lst-emergency_phone:hover {
  color: var(--theme-color);
}

/* ---------- Über uns: Karten liefen in den Footer ---------- */
.why-sec-4 {
  margin-bottom: 0;
}

@media (max-width: 1199px) {
  .lst-hero img {
    height: 360px;
  }
  .lst-process {
    margin: 0 12px 80px;
  }
}
@media (max-width: 767px) {
  .lst-hero img {
    height: 260px;
  }
  .lst-gallery img {
    height: 220px;
  }
  .lst-checklist {
    grid-template-columns: 1fr;
  }
  .lst-scope,
  .lst-cta {
    padding: 26px 22px;
  }
  .lst-faq_item summary {
    font-size: 16px;
    padding: 16px 18px;
  }
  .lst-faq_item p {
    padding: 0 18px 18px;
  }
  .lst-lead {
    font-size: 17px;
  }
  .lst-process {
    margin: 0 0 60px;
    border-radius: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .lst-sign,
  .lst-related_card,
  .lst-related_img img,
  .lst-related_link i {
    transition: none;
  }
}

/* ---------- Geschäftskunden ---------- */
.geschaeftskunden-page .title-area.text-center .sec-text {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.geschaeftskunden-page .feature-card,
.geschaeftskunden-page .contact-info {
  height: 100%;
}

/* ---------- Header: Wortmarke neben dem Logo ---------- */
.header-logo a {
  align-items: center;
  gap: 12px;
}
.site-wordmark {
  display: flex;
  flex-direction: column;
  font-family: var(--title-font);
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.01em;
  color: #fff;
  white-space: nowrap;
}
.site-wordmark small {
  margin-top: 6px;
  font-family: var(--body-font);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--theme-color2);
}
.header-logo a:hover .site-wordmark {
  color: #fff;
}
@media (min-width: 992px) and (max-width: 1299px) {
  .header-logo a {
    gap: 9px;
  }
  .header-logo .site-logo {
    max-height: 54px;
  }
  .site-wordmark {
    font-size: 19px;
  }
  .site-wordmark small {
    margin-top: 5px;
    font-size: 9px;
  }
}
@media (max-width: 991px) {
  .site-wordmark {
    font-size: 22px;
  }
}

/* Top-Leiste darf zwischen 992px und 1299px nicht umbrechen, sonst verrutscht die Menüform */
@media (min-width: 992px) and (max-width: 1299px) {
  .header-default .header-top .row {
    flex-wrap: nowrap;
  }
  .header-default .header-top .header-links li:nth-child(3) {
    display: none;
  }
}

/* ---------- Formulare: Statusmeldungen ---------- */
.form-status {
  margin-bottom: 24px;
  padding: 16px 20px;
  border-radius: 14px;
  color: #fff;
  font-weight: 500;
  line-height: 1.5;
}
.form-status--success {
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .45);
}
.form-status--error {
  background: #B42318;
  border: 1px solid #F97066;
}
.form-status ul {
  margin: 0;
  padding-left: 18px;
}
.form-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- Karte: erst nach Klick laden ---------- */
.map-consent {
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px 20px;
  text-align: center;
  background: var(--gray-color);
}
.map-consent.is-loaded {
  padding: 0;
  display: block;
}
.map-consent.is-loaded iframe {
  display: block;
  width: 100%;
  height: 480px;
  border: 0;
}
.map-consent_inner {
  max-width: 520px;
}
.map-consent_icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--theme-color);
  color: #fff;
  font-size: 24px;
  margin-bottom: 18px;
}
.map-consent_title {
  font-size: 24px;
  margin-bottom: 8px;
}
.map-consent_text {
  font-size: 15px;
  margin-bottom: 24px;
}
.map-consent_text a {
  text-decoration: underline;
}
.map-consent_actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px 26px;
}
.map-consent_link {
  font-weight: 600;
  color: var(--theme-color);
}
.map-consent_link i {
  margin-left: 6px;
  font-size: 13px;
}

/* ---------- Fehlerseiten ---------- */
.error-page_code {
  display: block;
  font-family: var(--title-font);
  font-size: clamp(90px, 16vw, 180px);
  font-weight: 700;
  line-height: 1;
  color: var(--theme-color);
  margin-bottom: 16px;
}
.error-page .sec-text {
  max-width: 520px;
}
.error-page_actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px 28px;
}
.error-page_phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--title-font);
  font-size: 20px;
  font-weight: 600;
  color: var(--title-color);
}
.error-page_phone i {
  color: var(--theme-color);
}

/* ---------- Leistungskarten: einheitliche Bildhöhe ---------- */
.service-card.style2 .box-img img {
  height: 180px;
  object-fit: cover;
}

/* ---------- Kontakt: eigenes Bannerfoto + Formularbild ---------- */
.breadcumb-photo {
  position: relative;
  background-position: center 30%;
}
.breadcumb-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(1, 9, 22, .92) 0%, rgba(1, 9, 22, .78) 38%, rgba(1, 9, 22, .25) 100%);
}
.breadcumb-photo > .container {
  position: relative;
  z-index: 1;
}
.kontakt-img img {
  width: 100%;
  height: auto;
  aspect-ratio: 796 / 650;
  object-fit: cover;
  object-position: 38% center;
}
.lst-detail .lst-step .box-title {
  padding-right: 46px;
}

/* ---------- Mobil: Top-Leiste aus, Anruf-Button in der unteren Leiste ---------- */
@media (max-width: 991px) {
  .header-default .header-top {
    display: none;
  }
  .mobile-bottom-bar {
    gap: 10px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    align-items: stretch;
  }
  .mobile-bottom-bar .mob-call {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 6px 14px;
    border-radius: 10px;
    background: var(--theme-color2);
    color: var(--title-color);
    font-family: var(--title-font);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.15;
    white-space: nowrap;
  }
  .mobile-bottom-bar .mob-call i {
    font-size: 18px;
  }
  .mobile-bottom-bar .mob-call small {
    display: block;
    font-family: var(--body-font);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
  }
  .mobile-bottom-bar .mob-call:active {
    background: #e9a31d;
  }
  .mobile-bottom-bar .mob-notdienst {
    flex: 0 0 auto;
    justify-content: center;
    min-height: 48px;
    padding: 8px 16px;
    border-radius: 10px;
  }
  body {
    padding-bottom: calc(68px + env(safe-area-inset-bottom));
  }
}

/* ---------- Mobil: Menü-Button (Hamburger) ---------- */
.th-header .th-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  font-size: 22px;
  border-radius: 12px;
}
