/*
	Theme Name: Khan Autoschluesseldienst Custom
	Theme URI: https://zundschloss-reparatur.de/
	Description: Independent custom-coded theme for Khan Autoschluesseldienst.
	Author: Khan Autoschluesseldienst
	Author URI: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
	Version: 3.5.1
	Stable tag: 3.5.1
	Requires at least: 6.0
	Tested up to: 7.0
	Requires PHP: 7.4
	License: GNU General Public License v3 or later.
	License URI: https://www.gnu.org/licenses/gpl-3.0.html
	Text Domain: hello-elementor
	Tags: accessibility-ready, flexible-header, custom-colors, custom-menu, custom-logo, featured-images, rtl-language-support, threaded-comments, translation-ready,
*/

/* Site-wide kicker / box-label style */
:where(
  [class*="-kicker"]:not(.kh-s11-kicker),
  [class$="-tag"]:not(.kh-s03-tag,.kh-s04-tag,.kh-order-service-tag,.kh-order-symptom-tag),
  [class*="-box-tag"],
  [class*="-symptom-tag"]:not(.kh-order-symptom-tag),
  [class*="-guide-label"]:not(.kh-s07-guide-label),
  [class*="-actions-label"]:not(.kh-s11-actions-label),
  [class*="-cta-panel-label"],
  [class*="-feature-label"],
  [class*="-diff-label"],
  [class*="-trust-label"]
){
  width:max-content!important;
  max-width:100%!important;
  min-height:0!important;
  padding:6px 14px!important;
  border:1px solid rgba(12,101,216,.22)!important;
  border-radius:999px!important;
  background:linear-gradient(180deg,rgba(255,255,255,.94),rgba(228,244,255,.92))!important;
  box-shadow:0 5px 14px rgba(12,101,216,.10)!important;
  color:#075ea5!important;
  -webkit-text-fill-color:#075ea5!important;
  font-family:Inter,Arial,sans-serif!important;
  font-size:15px!important;
  font-weight:800!important;
  letter-spacing:.045em!important;
  line-height:1.2!important;
  text-transform:none!important;
}

/* Sub-page hero left panels: keep headings/kickers only. */
html body:not(.kh-copy-page) [class*="-hero-left"] p{display:none!important}

/* Example-image labels: black/white and placed below images, never over the image. */
html body .kh-ezs2-card-img{
  flex-direction:column!important;
}
html body .kh-ezs2-card-img > img{
  height:calc(100% - 30px)!important;
}
html body .kh-ezs2-example,
html body .kh-ezs-model-example,
html body .kh-w245h3-example{
  position:static!important;
  inset:auto!important;
  z-index:3!important;
  width:max-content!important;
  max-width:100%!important;
  margin:5px auto 0!important;
  padding:5px 9px!important;
  border:1px solid rgba(255,255,255,.72)!important;
  border-radius:7px!important;
  background:#071821!important;
  box-shadow:0 4px 12px rgba(0,0,0,.18)!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  font-family:Inter,Arial,sans-serif!important;
  font-size:11px!important;
  font-weight:800!important;
  line-height:1.15!important;
  letter-spacing:.025em!important;
  white-space:nowrap!important;
}
html body [class*="h3-product-media"]:has(> .kh-w245h3-example){
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
}
@media(max-width:767px){
  html body .kh-ezs2-example,
  html body .kh-ezs-model-example,
  html body .kh-w245h3-example{
    font-size:10px!important;
    padding:4px 7px!important;
  }
}

/* Small square system labels (EZS / KEY / ELV): white + blue style to match numbered badges. */
html body .kh-ezs2-part b{
  border:1px solid rgba(12,101,216,.22)!important;
  border-radius:12px!important;
  background:linear-gradient(180deg,#fff,#e4f4ff)!important;
  box-shadow:0 7px 16px rgba(12,101,216,.10)!important;
  color:#075ea5!important;
  -webkit-text-fill-color:#075ea5!important;
  font-weight:900!important;
}

/* Site-wide numbered step/count badges: same white + blue style as Reparaturablauf. */
html body :is(
  [class$="-step-no"],
  [class$="-process-no"],
  [class$="-panel-no"],
  [class$="-cost-no"],
  [class$="-ship-option-no"],
  [class$="-family-no"]
):not(.kh-email-step-no){
  width:46px!important;
  height:46px!important;
  min-width:46px!important;
  min-height:46px!important;
  flex:0 0 46px!important;
  display:grid!important;
  place-items:center!important;
  padding:0!important;
  border:1px solid rgba(12,101,216,.22)!important;
  border-radius:50%!important;
  background:linear-gradient(180deg,#fff,#e4f4ff)!important;
  box-shadow:0 7px 16px rgba(12,101,216,.10)!important;
  color:#075ea5!important;
  -webkit-text-fill-color:#075ea5!important;
  font-size:15px!important;
  font-weight:900!important;
  line-height:1!important;
}

/* Strong site-wide normalization for all visual kicker/badge labels */
html body[class] :is(
  [class*="-kicker"]:not(.kh-s03-kicker,.kh-s04-kicker,.kh-s11-kicker),
  [class$="-tag"],
  [class*="-box-tag"],
  [class*="-symptom-tag"]:not(.kh-order-symptom-tag),
  [class*="-model-tag"],
  [class*="-badge"],
  [class*="-sendlabel"],
  [class*="-guide-label"]:not(.kh-s07-guide-label),
  [class*="-actions-label"]:not(.kh-s11-actions-label),
  [class*="-cta-panel-label"],
  [class*="-feature-label"],
  [class*="-diff-label"],
  [class*="-trust-label"],
  [class*="-code-id"],
  [class*="-network-module"],
  [class*="-network-code"],
  [class*="-part-family"],
  [class*="-tech-label"],
  [class*="-s08-label"]
):not(.kh-ecu2-badge,.kh-ecu-sendlabel,.kh-s03-tag,.kh-s04-tag,.kh-s05-badge,.kh-s06-badge,.kh-s07-guide-label,.kh-s08-label,.kh-s11-actions-label,.kh-order-service-tag,.kh-order-symptom-tag),
html body[class] [class*="-parthead"] > span,
html body[class] [class$="-tags"] > span,
html body[class] [class*="-highlight"]:not(.kh-s11-highlight) > small{
  width:max-content!important;
  max-width:100%!important;
  min-width:0!important;
  min-height:0!important;
  height:auto!important;
  padding:6px 14px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  border:1px solid rgba(12,101,216,.22)!important;
  border-radius:999px!important;
  background:linear-gradient(180deg,rgba(255,255,255,.94),rgba(228,244,255,.92))!important;
  box-shadow:0 5px 14px rgba(12,101,216,.10)!important;
  color:#075ea5!important;
  -webkit-text-fill-color:#075ea5!important;
  font-family:Inter,Arial,sans-serif!important;
  font-size:15px!important;
  font-weight:800!important;
  letter-spacing:.045em!important;
  line-height:1.2!important;
  text-transform:none!important;
}

/* Hero typography normalization: use EZS hub hero sizes across site. */
@media(min-width:1500px){
  html body :is(.kh-ezs-hero,.kh-elv-hero,.khmdl-hero,.kh-island-hero,[class$="h3"],[class*="-hero"]) h1,
  html body .kh-island-hero .kh-codehero-title{
    font-size:44px!important;
    line-height:1.06!important;
    letter-spacing:-.038em!important;
  }
  html body :is(.kh-ezs-hero,.kh-elv-hero,.khmdl-hero,[class$="h3"],[class*="-hero"]) :is([class$="-lead"],[class*="-hero-lead"]){
    font-size:15.8px!important;
    line-height:1.62!important;
  }
  html body :is(.kh-ezs-hero,.kh-elv-hero,[class$="h3"],[class*="-hero"]) :is([class$="-btn"],[class*="-hero-btn"]){
    font-size:13.4px!important;
  }
  html body :is(.kh-ezs-hero,.kh-elv-hero,[class$="h3"],[class*="-hero"]) :is([class*="-product-copy"] strong,[class*="-product-copy"] > strong){
    font-size:21px!important;
    line-height:1.24!important;
  }
  html body :is(.kh-ezs-hero,.kh-elv-hero,[class$="h3"],[class*="-hero"]) :is([class*="-product-copy"] p,[class*="-product-copy"] > p){
    font-size:14.5px!important;
    line-height:1.5!important;
  }
}
@media(min-width:768px) and (max-width:1499px){
  html body :is(.kh-ezs-hero,.kh-elv-hero,.khmdl-hero,.kh-island-hero,[class$="h3"],[class*="-hero"]) h1,
  html body .kh-island-hero .kh-codehero-title{
    font-size:38px!important;
    line-height:1.06!important;
    letter-spacing:-.038em!important;
  }
  html body :is(.kh-ezs-hero,.kh-elv-hero,.khmdl-hero,[class$="h3"],[class*="-hero"]) :is([class$="-lead"],[class*="-hero-lead"]){
    font-size:14.8px!important;
    line-height:1.62!important;
  }
  html body :is(.kh-ezs-hero,.kh-elv-hero,[class$="h3"],[class*="-hero"]) :is([class$="-btn"],[class*="-hero-btn"]){
    font-size:12.4px!important;
  }
  html body :is(.kh-ezs-hero,.kh-elv-hero,[class$="h3"],[class*="-hero"]) :is([class*="-product-copy"] strong,[class*="-product-copy"] > strong){
    font-size:21px!important;
    line-height:1.24!important;
  }
  html body :is(.kh-ezs-hero,.kh-elv-hero,[class$="h3"],[class*="-hero"]) :is([class*="-product-copy"] p,[class*="-product-copy"] > p){
    font-size:14.5px!important;
    line-height:1.5!important;
  }
}
@media(max-width:767px){
  html body :is(.kh-ezs-hero,.kh-elv-hero,.khmdl-hero,.kh-island-hero,[class$="h3"],[class*="-hero"]) h1,
  html body .kh-island-hero .kh-codehero-title{
    font-size:clamp(29px,8vw,36px)!important;
    line-height:1.07!important;
    letter-spacing:-.035em!important;
  }
  html body :is(.kh-ezs-hero,.kh-elv-hero,.khmdl-hero,[class$="h3"],[class*="-hero"]) :is([class$="-lead"],[class*="-hero-lead"]){
    font-size:13.2px!important;
    line-height:1.55!important;
  }
  html body :is(.kh-ezs-hero,.kh-elv-hero,[class$="h3"],[class*="-hero"]) :is([class$="-btn"],[class*="-hero-btn"]){
    font-size:12.5px!important;
  }
  html body :is(.kh-ezs-hero,.kh-elv-hero,[class$="h3"],[class*="-hero"]) :is([class*="-product-copy"] strong,[class*="-product-copy"] > strong){
    font-size:18px!important;
    line-height:1.24!important;
  }
  html body :is(.kh-ezs-hero,.kh-elv-hero,[class$="h3"],[class*="-hero"]) :is([class*="-product-copy"] p,[class*="-product-copy"] > p){
    font-size:13.5px!important;
    line-height:1.5!important;
  }
}

/* Keep all Beispielabbildung labels black/white even after global badge normalization. */
html body[class] .kh-global-example-badge,
html body[class] .kh-ezs2-example,
html body[class] .kh-ezs-model-example,
html body[class] .kh-w245h3-example{
  position:static!important;
  inset:auto!important;
  width:max-content!important;
  max-width:100%!important;
  min-width:0!important;
  min-height:0!important;
  height:auto!important;
  margin:6px auto 0!important;
  padding:7px 14px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  border:1px solid rgba(255,255,255,.72)!important;
  border-radius:7px!important;
  background:#071821!important;
  box-shadow:0 4px 12px rgba(0,0,0,.18)!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  font-family:Inter,Arial,sans-serif!important;
  font-size:15px!important;
  font-weight:800!important;
  letter-spacing:.025em!important;
  line-height:1.15!important;
  text-transform:none!important;
  white-space:nowrap!important;
}

/* Site-wide FAQ master: match homepage FAQ accordion on every non-home page. */
html body:not(.kh-copy-page) [class*="-faq"]:has(> details:not(:has(details))){
  width:100%!important;
  max-width:none!important;
  margin:26px auto 0!important;
  padding:0!important;
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  column-gap:12px!important;
  row-gap:24px!important;
  align-items:start!important;
  font-family:Inter,Arial,sans-serif!important;
}
html body:not(.kh-copy-page) [class*="-faq"]:has(> details:not(:has(details))) > details:not(:has(details)){
  position:relative!important;
  width:100%!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  overflow:hidden!important;
  border:1px solid rgba(77,194,229,.55)!important;
  border-radius:12px!important;
  background:radial-gradient(circle at 88% 10%,rgba(54,190,236,.22) 0%,rgba(54,190,236,.08) 24%,transparent 50%),linear-gradient(145deg,#06131f 0%,#082a43 42%,#0b5278 72%,#0d7098 100%)!important;
  box-shadow:0 15px 34px rgba(3,28,46,.18)!important;
  color:#fff!important;
  -webkit-tap-highlight-color:transparent!important;
}
html body:not(.kh-copy-page) [class*="-faq"]:has(> details:not(:has(details))) > details:not(:has(details)):not([open]){
  height:70px!important;
  min-height:70px!important;
  max-height:70px!important;
}
html body:not(.kh-copy-page) [class*="-faq"]:has(> details:not(:has(details))) > details:not(:has(details))[open]{
  height:auto!important;
  min-height:70px!important;
  max-height:none!important;
  border-color:#48d8ff!important;
  box-shadow:0 19px 41px rgba(3,28,46,.25)!important;
}
html body:not(.kh-copy-page) [class*="-faq"]:has(> details:not(:has(details))) > details:not(:has(details)) > summary{
  position:relative!important;
  width:100%!important;
  height:70px!important;
  min-height:70px!important;
  max-height:70px!important;
  margin:0!important;
  padding:7px 43px 9px 16px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  overflow:hidden!important;
  list-style:none!important;
  background:transparent!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  font-family:Inter,Arial,sans-serif!important;
  font-size:15.7px!important;
  font-weight:600!important;
  line-height:1.18!important;
  letter-spacing:0!important;
  text-align:center!important;
  cursor:pointer!important;
}
html body:not(.kh-copy-page) [class*="-faq"]:has(> details:not(:has(details))) > details:not(:has(details)) > summary::-webkit-details-marker{
  display:none!important;
}
html body:not(.kh-copy-page) [class*="-faq"]:has(> details:not(:has(details))) > details:not(:has(details)) > summary::before{
  content:none!important;
  display:none!important;
}
html body:not(.kh-copy-page) [class*="-faq"]:has(> details:not(:has(details))) > details:not(:has(details)) > summary::after{
  content:"+"!important;
  position:absolute!important;
  right:9px!important;
  top:50%!important;
  width:35px!important;
  height:35px!important;
  display:grid!important;
  place-items:center!important;
  border:1px solid rgba(53,217,255,.8)!important;
  border-radius:50%!important;
  background:rgba(7,55,89,.35)!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  transform:translateY(-50%)!important;
  font-family:Inter,Arial,sans-serif!important;
  font-size:25.5px!important;
  font-weight:700!important;
  line-height:1!important;
}
html body:not(.kh-copy-page) [class*="-faq"]:has(> details:not(:has(details))) > details:not(:has(details))[open] > summary::after{
  content:"−"!important;
  background:#25bce8!important;
  border-color:#47ddff!important;
}
html body:not(.kh-copy-page) [class*="-faq"]:has(> details:not(:has(details))) > details:not(:has(details)) > summary > [class*="-faq-q"]{
  width:100%!important;
  max-width:100%!important;
  margin:0 auto!important;
  display:-webkit-box!important;
  overflow:hidden!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:2!important;
  line-clamp:2!important;
  max-height:2.36em!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  text-align:center!important;
}
html body:not(.kh-copy-page) [class*="-faq"]:has(> details:not(:has(details))) > details:not(:has(details)) > :is(p,[class*="-faq-answer"],div):not(summary){
  margin:0!important;
  padding:15px 17px 17px!important;
  border-top:1px solid rgba(77,194,229,.28)!important;
  background:#fff!important;
  color:#334155!important;
  -webkit-text-fill-color:#334155!important;
  font-family:Inter,Arial,sans-serif!important;
  font-size:15.8px!important;
  font-weight:500!important;
  line-height:1.68!important;
  text-align:left!important;
}
html body:not(.kh-copy-page) [class*="-faq"]:has(> details:not(:has(details))) > details:not(:has(details)) > :is(p,[class*="-faq-answer"],div):not(summary) a{
  color:#0c65d8!important;
  -webkit-text-fill-color:#0c65d8!important;
  font-weight:700!important;
}

/* Tablet: homepage-style two-column FAQ layout. */
@media(min-width:768px) and (max-width:1100px){
  html body:not(.kh-copy-page) [class*="-faq"]:has(> details:not(:has(details))){
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:12px!important;
    margin-top:22px!important;
  }
  html body:not(.kh-copy-page) [class*="-faq"]:has(> details:not(:has(details))) > details:not(:has(details)):not([open]){
    height:68px!important;
    min-height:68px!important;
    max-height:68px!important;
  }
  html body:not(.kh-copy-page) [class*="-faq"]:has(> details:not(:has(details))) > details:not(:has(details))[open]{
    min-height:68px!important;
  }
  html body:not(.kh-copy-page) [class*="-faq"]:has(> details:not(:has(details))) > details:not(:has(details)) > summary{
    height:68px!important;
    min-height:68px!important;
    max-height:68px!important;
    padding:9px 43px 9px 14px!important;
    font-size:14.6px!important;
    line-height:1.28!important;
  }
  html body:not(.kh-copy-page) [class*="-faq"]:has(> details:not(:has(details))) > details:not(:has(details)) > :is(p,[class*="-faq-answer"],div):not(summary){
    padding:14px 15px 16px!important;
    font-size:14.4px!important;
    line-height:1.58!important;
  }
}

/* Mobile: same homepage FAQ cards, one column with flexible question height. */
@media(max-width:767px){
  html body:not(.kh-copy-page) [class*="-faq"]:has(> details:not(:has(details))){
    grid-template-columns:1fr!important;
    gap:8px!important;
    margin-top:15px!important;
  }
  html body:not(.kh-copy-page) [class*="-faq"]:has(> details:not(:has(details))) > details:not(:has(details)),
  html body:not(.kh-copy-page) [class*="-faq"]:has(> details:not(:has(details))) > details:not(:has(details)):not([open]),
  html body:not(.kh-copy-page) [class*="-faq"]:has(> details:not(:has(details))) > details:not(:has(details))[open]{
    height:auto!important;
    min-height:60px!important;
    max-height:none!important;
    border-radius:13px!important;
    box-shadow:0 9px 20px rgba(3,28,46,.13)!important;
  }
  html body:not(.kh-copy-page) [class*="-faq"]:has(> details:not(:has(details))) > details:not(:has(details))[open]{
    box-shadow:0 12px 26px rgba(3,28,46,.19)!important;
  }
  html body:not(.kh-copy-page) [class*="-faq"]:has(> details:not(:has(details))) > details:not(:has(details)) > summary{
    height:auto!important;
    min-height:60px!important;
    max-height:none!important;
    padding:11px 45px 11px 13px!important;
    font-size:14px!important;
    font-weight:760!important;
    line-height:1.35!important;
    white-space:normal!important;
  }
  html body:not(.kh-copy-page) [class*="-faq"]:has(> details:not(:has(details))) > details:not(:has(details)) > summary > [class*="-faq-q"]{
    display:block!important;
    max-height:none!important;
    overflow:visible!important;
    -webkit-line-clamp:unset!important;
    line-clamp:unset!important;
    white-space:normal!important;
  }
  html body:not(.kh-copy-page) [class*="-faq"]:has(> details:not(:has(details))) > details:not(:has(details)) > summary::after{
    right:10px!important;
    width:30px!important;
    height:30px!important;
    font-size:21px!important;
    font-weight:500!important;
  }
  html body:not(.kh-copy-page) [class*="-faq"]:has(> details:not(:has(details))) > details:not(:has(details)) > :is(p,[class*="-faq-answer"],div):not(summary){
    padding:13px 14px 15px!important;
    font-size:13.5px!important;
    line-height:1.55!important;
  }
}
