/* Custom styles based on Sunrise Construction Company template */
:root {
  --theme-color1: #1e7fba;
  --theme-color2: #0d1b2a;
  --theme-color3: #2c97de;
  --theme-color4: #145a87;
  --theme-color1-rgb: 30,127,186;
  --theme-color2-rgb: 13,27,42;
  --theme-color4-rgb: 20,90,135;
  --headings-color: #0d1b2a;
  --text-color: rgba(13,27,42,0.65);
  --theme-accent-light: #7fb3f5;
  --theme-accent-light-rgb: 127,179,245;
  --theme-accent-dark: #1a6ea2;
  --theme-accent-dark-rgb: 26,110,162;
}

.main-header {
  position: relative;
  left: 0px;
  top: 0px;
  z-index: 1000;
  width: 100%;
  transition: all 500ms ease;
}

.main-header .header-upper {
  position: relative;
  background: #ffffff;
  z-index: 5;
  transition: all 500ms ease;
}

.main-header .logo-outer {
  position: relative;
  z-index: 25;
  padding: 10px 0px;
}

.main-header .logo-outer .logo img {
  position: relative;
  display: inline-block;
  max-width: 100%;
  max-height: 42px;
}

.main-header .header-lower {
  position: relative;
  top: 0px;
  width: 100%;
  z-index: 5;
  background: #ffffff;
}

.main-header .header-lower:before {
  content: '';
  position: absolute;
  top: 0;
  left: -100vw;
  width: calc(100vw + 25% + 80px);
  height: 100%;
  background: var(--theme-color1);
}

.main-header .header-lower:after {
  content: '';
  position: absolute;
  top: 0;
  left: calc(25% + 60px);
  width: 90px;
  height: 100%;
  background: var(--theme-color1);
  transform: skewX(24deg);
}

.sticky-header:before {
  content: '';
  position: absolute;
  top: 0;
  left: -100vw;
  width: calc(100vw + 25% + 80px);
  height: 100%;
  background: var(--theme-color1);
}

.sticky-header:after {
  content: '';
  position: absolute;
  top: 0;
  left: calc(25% + 60px);
  width: 90px;
  height: 100%;
  background: var(--theme-color1);
  transform: skewX(24deg);
}

.main-menu {
  float: left;
  padding: 0px;
}

.nav-outer {
  position: relative;
  z-index: 10;
}

.main-menu .navbar-header {
  z-index: 1000;
  position: relative;
}

.main-menu .navbar-collapse {
  float: left;
  padding: 0px;
}

.main-menu .navigation {
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-menu .navigation > li {
  position: relative;
  float: left;
}

.main-menu .navigation > li > a {
  position: relative;
  display: block;
  font-size: 14px;
  color: #0d1b2a;
  line-height: 24px;
  font-weight: 500;
  letter-spacing: 1px;
  opacity: 1;
  text-transform: uppercase;
  padding: 18px 14px;
  transition: all 500ms ease;
  font-family: 'Oswald', sans-serif;
  text-decoration: none;
}

.hvr-link {
  display: inline-block;
  vertical-align: middle;
  transform: perspective(1px) translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  position: relative;
  transition-property: color;
  transition-duration: 0.3s;
}

.hvr-link:before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--theme-color3);
  transform: scaleY(0);
  transform-origin: 50%;
  transition-property: transform;
  transition-duration: 0.3s;
  transition-timing-function: ease-out;
}

.hvr-link:hover, .hvr-link:focus, .hvr-link:active {
  color: white !important;
}

.hvr-link:hover:before, .hvr-link:focus:before, .hvr-link:active:before {
  transform: scaleY(1);
}

.main-header .sticky-header .main-menu .navigation > li > a {
  color: #0d1b2a;
  padding: 17px 12px !important;
  line-height: 30px;
  font-size: 15px;
  font-weight: 500;
  background: none;
  border: 0px;
}

.main-header .header-lower .main-menu .navigation > li > a {
  color: #0d1b2a !important;
  padding: 17px 12px !important;
  line-height: 30px !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  background: none !important;
  border: 0px !important;
}

.main-header .header-lower .main-menu .navigation > li:hover > a,
.main-header .header-lower .main-menu .navigation > li.current > a {
  color: var(--theme-color1) !important;
}

.main-header .main-menu .navigation > li.dropdown > a:after {
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: .3em;
  vertical-align: middle;
  content: "";
  border-top: .3em solid;
  border-right: .3em solid transparent;
  border-left: .3em solid transparent;
}

.sticky-header.fixed-header {
  z-index: 99999 !important;
  opacity: 1 !important;
  visibility: visible !important;
  animation-name: fadeInDown;
  animation-duration: 500ms;
  animation-timing-function: linear;
  animation-iteration-count: 1;
}

.sticky-header {
  position: fixed;
  opacity: 0;
  visibility: hidden;
  left: 0px;
  top: 0px;
  width: 100%;
  padding: 0px 0px;
  background: #424141;
  z-index: 0;
  transition: all 500ms ease;
  box-shadow: 0 0 1px 1px rgba(0, 0, 0, 0.07);
}

.sticky-header .logo {
  padding: 10px 0px 8px;
}

.sticky-header .logo img {
  max-height: 44px;
}

.main-menu .navigation > li:hover > a,
.main-menu .navigation > li.current > a,
.main-menu .navigation > li.current-menu-item > a {
  color: #fff;
  opacity: 1;
}

.main-header .sticky-header .main-menu .navigation > li:hover > a,
.main-header .sticky-header .main-menu .navigation > li.current > a,
.main-header .sticky-header .main-menu .navigation > li.current-menu-item > a {
  color: #fff;
  opacity: 1;
}

.main-menu .navigation > li > ul {
  position: absolute;
  left: 0px;
  top: 100%;
  width: 250px;
  padding: 0px;
  z-index: 100;
  display: none;
  background: #ffffff;
  border-top: 2px solid var(--theme-color1);
  border-bottom: 2px solid var(--theme-color1);
  box-shadow: 2px 2px 5px 1px rgba(0, 0, 0, 0.05), -2px 0px 5px 1px rgba(0, 0, 0, 0.05);
}

.main-menu .navigation > li > ul > li {
  position: relative;
  width: 100%;
  color: #fff;
  background-color: #222222;
  border-bottom: 1px solid #333;
}

.main-menu .navigation > li > ul > li:last-child {
  border-bottom: none;
}

.main-menu .navigation > li > ul > li > a {
  position: relative;
  display: block;
  padding: 10px 20px;
  line-height: 24px;
  font-weight: 400;
  font-size: 14px;
  color: #fff;
  text-align: left;
  text-transform: uppercase;
  transition: all 500ms ease;
  font-family: 'Oswald', sans-serif;
  text-decoration: none;
}

.main-menu .navigation > li > ul > li:hover > a {
  color: #ffffff;
  padding-left: 35px;
  background: var(--theme-color1);
}

.main-menu .navigation > li.dropdown:hover > ul {
  display: block;
}

/* Header Top */
.main-header .header-top {
  position: relative;
  background-color: #111;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.main-header .header-top .top-left p {
  margin: 0;
  font-size: 13px;
  color: #d6d6d6;
  font-weight: 400;
  line-height: 24px;
}

.main-header .header-top .top-social-icons {
  list-style: none;
  margin: 0;
  padding: 0;
  float: left;
}

.main-header .header-top .top-social-icons li {
  display: inline-block;
  margin-right: 15px;
}

.main-header .header-top .top-social-icons li a {
  color: #a2a2a2;
  font-size: 16px;
  transition: all 0.3s;
}

.main-header .header-top .top-social-icons li a:hover {
  color: var(--theme-color3);
}

.main-header .header-top .btn-box {
  float: right;
}

.main-header .header-top .btn-box .brochure-btn {
  line-height: 24px;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 2px 16px;
  background-color: var(--theme-color1);
  text-transform: uppercase;
  border: 1px solid var(--theme-color1);
  border-radius: 4px;
  transition: all 0.3s;
}

.main-header .header-top .btn-box .brochure-btn:hover {
  background-color: var(--theme-color3);
  border-color: var(--theme-color3);
  color: #fff !important;
}

/* Inner Heading (Subpages Breadcrumb Banner) */
.inner-heading {
  background: url('../images/heading-bg.jpg') 0 36% no-repeat;
  background-size: cover;
  background-color: #f7f7f7;
  display: block;
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 80px 0 60px 0;
  text-align: center;
}

.inner-heading::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(30, 127, 186, 0.75), rgba(20, 90, 135, 0.75));
  z-index: 1;
}

.inner-heading .container {
  position: relative;
  z-index: 2;
}

.inner-heading h1 {
  font-size: 42px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 10px;
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.xs-breadcumb {
  list-style: none;
  padding: 0;
  margin: 0;
  display: inline-flex;
  gap: 6px;
  justify-content: center;
}

.xs-breadcumb li {
  font-size: 15px;
  font-weight: 600;
  color: #FFFFFF;
  text-transform: uppercase;
  font-family: 'Oswald', sans-serif;
}

.xs-breadcumb li a {
  color: var(--theme-color3);
  text-decoration: none;
  transition: all 0.3s;
}

.xs-breadcumb li a:hover {
  color: #fff;
}

/* Responsive / Mobile Styles */
@media (max-width: 991px) {
  .main-header .header-lower:before,
  .main-header .header-lower:after,
  .sticky-header:before,
  .sticky-header:after {
    display: none;
  }
  .main-header .header-lower {
    background: #424141;
  }
  .main-header .logo-outer {
    text-align: center;
    padding: 12px 0;
  }
  .main-menu {
    width: 100%;
    float: none;
  }
  .main-menu .navbar-header {
    float: none;
    display: block;
    text-align: left;
    width: 100%;
    padding: 8px 15px;
    z-index: 12;
  }
  .main-menu .navbar-header .navbar-toggle {
    display: inline-block;
    border: 1px solid #ffffff;
    float: right;
    margin: 0;
    padding: 6px 10px;
    background: var(--theme-color1);
    border-radius: 4px;
  }
  .main-menu .navbar-header .navbar-toggle .icon-bar {
    background: #ffffff;
    display: block;
    width: 22px;
    height: 2px;
    border-radius: 1px;
    margin-top: 4px;
  }
  .main-menu .navbar-header .navbar-toggle .icon-bar:first-child {
    margin-top: 0;
  }
  .main-menu .navbar-collapse {
    width: 100%;
    float: none;
    background: #333;
    padding: 0;
    display: none;
  }
  .main-menu .navbar-collapse.show,
  .main-menu .navbar-collapse.in {
    display: block !important;
  }
  .main-menu .navigation {
    float: none !important;
    margin: 0;
    width: 100%;
  }
  .main-menu .navigation > li {
    float: none;
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }
  .main-menu .navigation > li > a {
    padding: 12px 20px !important;
    line-height: 24px;
    font-size: 14px;
  }
  .main-menu .navigation > li > ul {
    position: static;
    display: none;
    width: 100%;
    box-shadow: none;
    border: none;
    background: #222;
  }
  .main-menu .navigation > li.dropdown:hover > ul {
    display: none;
  }
  .main-menu .navigation > li.dropdown.open > ul {
    display: block;
  }
  .main-menu .navigation > li > ul > li {
    background: transparent;
    border-bottom: 1px solid rgba(255,255,255,0.03);
  }
  .main-menu .navigation > li > ul > li > a {
    padding-left: 30px;
  }
  .main-header .header-top {
    display: none;
  }
}

/* Button Styles for template Hero Slider */
.main-btn {
  border: none;
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
  color: #fff;
  background: none;
  cursor: pointer;
  padding: 12px 45px;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  outline: none;
  position: relative;
  transition: all 0.3s;
  text-decoration: none;
}

.main-btn:after {
  content: '';
  position: absolute;
  z-index: -1;
  transition: all 0.3s;
}

.btn-1 {
  border: 3px solid var(--theme-color1);
  color: #fff;
}

.btn-1e {
  overflow: hidden;
}

.btn-1e:after {
  width: 100%;
  height: 0;
  top: 50%;
  left: 50%;
  background: var(--theme-color1);
  opacity: 0;
  transform: translateX(-50%) translateY(-50%) rotate(45deg);
}

.btn-1e:hover, .btn-1e:active {
  color: #fff !important;
}

.btn-1e:hover:after {
  height: 260%;
  opacity: 1;
}

.btn-1e:active:after {
  height: 400%;
  opacity: 1;
}

.white_color {
  color: #fff !important;
  border-color: #fff !important;
}

.white_color:hover {
  border-color: var(--theme-color3) !important;
}

@media (min-width: 992px) {
  .main-menu .navbar-collapse {
    display: block !important;
  }
}

@media (max-width: 767px) {
  .header-phone-inline {
    display: none !important;
  }
}

/* Quick Quote CTA Bar */
.quick-quote {
  padding: 30px 0;
  position: relative;
  background-color: var(--theme-color1);
  background-image: linear-gradient(rgba(30,127,186, 0.88), rgba(30,127,186, 0.88)), url(../images/qoute-pattern.jpg);
  background-repeat: repeat;
}
.quick-quote h2 {
  color: #fff;
  margin: 0px;
  font-size: 24px;
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  margin-top: 10px;
  text-shadow: 0 0 1px rgba(0, 0, 0, 0.36);
}
.quick-quote p {
  color: #FFF;
  font-size: 16px;
  margin-top: 10px;
}
.quick-quote .quote-btn {
  text-align: center;
  margin-top: 10px;
}
.quick-quote .quote-btn a {
  background: #fff;
  color: var(--theme-color1);
  font-size: 18px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 10px 27px;
  font-weight: bold;
  display: inline-block;
  transition: all 0.3s ease;
}
.quick-quote .quote-btn a:hover {
  background: #000;
  color: #fff;
}

/* Stretch navigation items to fill header height and align dropdown submenu to bottom edge */
@media (min-width: 992px) {
  .main-header .header-lower,
  .sticky-header {
    height: 60px !important;
    padding: 0 !important;
  }
  
  .main-header .header-lower > .container,
  .main-header .header-lower > .container > .row,
  .sticky-header > .container,
  .sticky-header > .container > .row {
    height: 100% !important;
    display: flex !important;
    align-items: stretch !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
  }

  .main-header .header-lower .col-md-4,
  .sticky-header .col-md-4 {
    display: flex !important;
    align-items: center !important;
    height: 100% !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    width: calc(25% + 80px) !important;
  }

  .main-header .header-lower .col-md-8,
  .sticky-header .col-md-8 {
    display: flex !important;
    align-items: stretch !important;
    height: 100% !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    width: calc(75% - 80px) !important;
  }

  .main-header .logo-outer,
  .sticky-header .logo {
    display: flex !important;
    align-items: center !important;
    height: 100% !important;
    margin: 0 0 0 -70px !important;
    padding: 0 !important;
  }

  .main-header .logo-outer .logo {
    display: flex !important;
    align-items: center !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .header-phone-inline {
    display: flex !important;
    align-items: center !important;
    height: 100% !important;
    margin: 0 0 0 20px !important;
    padding: 0 !important;
  }

  .main-header .nav-outer {
    display: flex !important;
    align-items: stretch !important;
    justify-content: flex-end !important;
    height: 100% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background: none !important;
  }

  .main-header .main-menu {
    display: flex !important;
    align-items: stretch !important;
    height: 100% !important;
    margin: 0 0 0 auto !important;
    padding: 0 0 0 140px !important;
  }

  .main-header .navbar-collapse {
    display: flex !important;
    align-items: stretch !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .main-header .navigation {
    display: flex !important;
    align-items: stretch !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .main-header .navigation > li {
    display: flex !important;
    align-items: stretch !important;
    height: 100% !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .main-header .navigation > li > a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 100% !important;
    padding: 0 10px 0 16px !important;
    margin: 0 !important;
    line-height: 1 !important;
  }

  .sticky-header {
    background: #ffffff !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08) !important;
  }

  /* Force blue hover background block */
  .hvr-link:before {
    background: var(--theme-color3) !important;
    top: 0 !important;
    bottom: 0 !important;
    height: 100% !important;
  }

  /* Active link color (theme blue) when not hovered */
  .main-header .navigation > li.current > a,
  .main-header .navigation > li.current-menu-item > a,
  .sticky-header .main-menu .navigation > li.current > a {
    color: var(--theme-color3) !important;
  }

  /* Ensure hover/active states have white text when hovered over */
  .main-header .navigation > li:hover > a,
  .sticky-header .main-menu .navigation > li:hover > a {
    color: #ffffff !important;
  }

  /* Force white color on logo column phone link */
  .header-phone-inline,
  .header-phone-inline a {
    color: #ffffff !important;
  }

  /* Dropdown start position */
  .main-menu .navigation > li > ul {
    top: 100% !important;
  }
}

/* Footer Section Compacting and Color Tuning */
.main-footer {
  padding-top: 20px !important;
  padding-bottom: 20px !important;
}

.main-footer .widgets-section {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.footer-style-one .outer-container .widgets-section {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.footer-style-one .outer-container .upper-box {
  display: none !important;
}

/* Hide the duplicate info box at the top (phone & email) */
.main-footer .upper-box .info-box {
  display: none !important;
}

/* Keep the website logo in the footer in full color (not inverted/white) */
.main-footer .logo img,
.footer-style-one .logo img {
  filter: none !important;
}

/* Öffnungszeiten font color fix for plain list items */
.main-footer .user-links li {
  color: rgba(255,255,255,0.75) !important;
}

/* Shift Impressum, AGB, Datenschutz links to the left to prevent collision with Back to Top button */
.main-footer .footer-bottom ul {
  padding-right: 60px !important;
}

.main-footer .footer-bottom {
  padding-top: 15px !important;
  padding-bottom: 15px !important;
}

/* Ensure the website logo in the header and sticky header remains full-color (never inverted) */
.main-header .logo img,
.main-header .logo-outer img,
.sticky-header .logo img,
.sticky-header img,
.fixed-header img,
.logo-default {
  filter: none !important;
  mix-blend-mode: normal !important;
}

/* Footer widget section compacting & right column horizontal centering */
.footer-style-one .outer-container .widgets-section .footer-column .footer-widget .about-widget {
  padding: 20px 0 !important;
}

.main-footer .footer-column.col-lg-8 .footer-widget {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
}

.main-footer .footer-column.col-lg-8 .user-links {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Disable CSS mask image on working-block images to ensure they are always visible on load */
.working-block .inner-block .image {
  -webkit-mask-image: none !important;
  mask-image: none !important;
}

/* Force the logo and brand text next to each other in the navbar lower on all viewports */
.main-header .logo-outer {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  flex-wrap: nowrap !important;
  gap: 8px !important;
  margin: 0 !important;
  padding: 0 !important;
  z-index: 25;
}

.main-header .logo-outer .logo {
  display: flex !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
  flex-shrink: 0 !important;
}

.main-header .logo img,
.logo-default {
  height: 60px !important;
  width: auto !important;
  display: block !important;
  filter: none !important;
  flex-shrink: 0 !important;
  mix-blend-mode: normal !important;
}

.main-header .header-brand-text {
  color: #ffffff !important;
  font-family: 'Outfit', sans-serif !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
  margin-left: 0 !important;
  letter-spacing: 0.5px !important;
}

@media (max-width: 479.98px) {
  .main-header .header-brand-text {
    font-size: 0.95rem !important;
  }
}
@media (min-width: 480px) and (max-width: 991.98px) {
  .main-header .header-brand-text {
    font-size: 1.1rem !important;
  }
}
@media (min-width: 992px) {
  .main-header .header-brand-text {
    font-size: 1.15rem !important;
  }
}

/* ── LOGO: MITTE DES BLAUEN BALKENS ──────────────────────────────
   Das ::before-Pseudo erstreckt sich von 0 bis calc(25vw + 80px).
   Mitte = calc(12.5vw + 40px) vom linken Viewport-Rand.
   Damit das Logo relativ zu header-lower (= volle Breite) positioniert
   werden kann, müssen Container und Spalte position:static haben.
──────────────────────────────────────────────────────────────────── */
@media (min-width: 992px) {
  .main-header .header-lower > .container,
  .main-header .header-lower .col-md-4,
  .sticky-header > .container,
  .sticky-header .col-md-4 {
    position: static !important;
  }

  .main-header .header-lower .logo-outer {
    position: absolute !important;
    left: calc(12.5vw + 40px) !important;
    top: 50% !important;
    transform: translateX(-50%) translateY(-50%) !important;
    margin: 0 !important;
    height: auto !important;
  }

  .sticky-header .logo {
    position: absolute !important;
    left: calc(12.5vw + 40px) !important;
    top: 50% !important;
    transform: translateX(-50%) translateY(-50%) !important;
    margin: 0 !important;
    height: auto !important;
  }
}

/* ── UNIFIED HEADER & NAVBAR STYLING ── */
.main-header .header-lower .main-menu .navigation > li > a,
.sticky-header .main-menu .navigation > li > a {
  color: #0d1b2a !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  text-transform: uppercase !important;
  font-family: 'Oswald', sans-serif !important;
  display: block !important;
  height: auto !important;
  padding: 17px 12px !important;
  line-height: 30px !important;
  background: none !important;
  border: 0px !important;
}

.main-header .header-lower .main-menu .navigation > li:hover > a,
.main-header .header-lower .main-menu .navigation > li.current > a,
.sticky-header .main-menu .navigation > li:hover > a,
.sticky-header .main-menu .navigation > li.current > a {
  color: var(--theme-color1) !important;
}

/* ── NAV: MITTE DES WEISSEN BEREICHS ──────────────────────────────
   Weißer Bereich: von Ende der Schräge (25vw + 150px) bis 100vw.
   Mitte = calc(62.5vw + 75px). Menü absolut relativ zu header-lower
   bzw. sticky-header positioniert (Spalten auf position:static).
──────────────────────────────────────────────────────────────────── */
@media (min-width: 992px) {
  .main-header .header-lower .col-md-8,
  .sticky-header .col-md-8,
  .main-header .header-lower .nav-outer {
    position: static !important;
  }

  .main-header .header-lower .main-menu,
  .sticky-header .main-menu {
    position: absolute !important;
    left: calc(62.5vw + 75px) !important;
    top: 0 !important;
    height: 100% !important;
    transform: translateX(-50%) !important;
    display: flex !important;
    align-items: stretch !important;
    margin: 0 !important;
    padding: 0 !important;
  }
}

/* ── RESPONSIVE RESPACING TO PREVENT SLANT OVERLAP ── */
@media (min-width: 992px) and (max-width: 1220px) {
  .main-header .header-lower .main-menu .navigation > li > a,
  .sticky-header .main-menu .navigation > li > a {
    padding: 15px 5px !important;
    font-size: 12px !important;
    line-height: 24px !important;
  }
}

@media (min-width: 1221px) and (max-width: 1440px) {
  .main-header .header-lower .main-menu .navigation > li > a,
  .sticky-header .main-menu .navigation > li > a {
    padding: 17px 9px !important;
    font-size: 13.5px !important;
    line-height: 30px !important;
  }
}




/* ── RESPONSIVE HEADLINE & LINE-BREAK PROTECTION ── */
.slidertext1,
.slidertext4,
.slidertext2,
.sec-title h2,
.sec-title .title,
.quick-quote h2 {
  word-wrap: break-word;
  overflow-wrap: break-word;
}

@media (max-width: 991px) {
  .slidertext1 {
    font-size: 42px !important;
    line-height: 1.2 !important;
    margin-left: 0 !important;
  }
  .slidertext4 {
    font-size: 24px !important;
    margin-left: 0 !important;
  }
  .slidertext2 {
    font-size: 15px !important;
    line-height: 1.5 !important;
    margin-left: 0 !important;
  }
  .slidertext3 {
    margin-left: 0 !important;
  }
}

@media (max-width: 575px) {
  .slidertext1 {
    font-size: 30px !important;
    line-height: 1.25 !important;
  }
  .slidertext4 {
    font-size: 18px !important;
  }
  .slidertext2 {
    font-size: 13px !important;
  }
  .slidertext3 a {
    padding: 8px 18px !important;
    font-size: 14px !important;
    margin: 5px 4px !important;
  }
}

/* ── CRISP HERO SLIDER CAPTIONS (Z-INDEX ABOVE OVERLAY) ── */
.tp-banner .tp-caption {
  z-index: 9999 !important;
  color: #ffffff !important;
}
.tp-banner .slotholder:after {
  content: '' !important;
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background: linear-gradient(135deg, rgba(30, 127, 186, 0.28) 0%, rgba(20, 90, 135, 0.22) 50%, rgba(0, 0, 0, 0.20) 100%) !important;
  z-index: 1 !important;
  pointer-events: none !important;
}


/* ==========================================================================
   ROBUST MOBILE NAVBAR & HAMBURGER STYLING
   ========================================================================== */

/* Mobile Toggle Button */
.hz-mobile-toggle {
  display: none;
  background: var(--theme-color1, #1e7fba) !important;
  border: 1px solid rgba(255,255,255,0.3) !important;
  border-radius: 8px !important;
  padding: 8px 10px !important;
  cursor: pointer !important;
  outline: none !important;
  transition: all 0.2s ease !important;
  box-shadow: 0 2px 8px rgba(30,127,186,0.3) !important;
}

.hz-mobile-toggle:hover,
.hz-mobile-toggle.active {
  background: var(--theme-color4, #145a87) !important;
}

.hz-mobile-toggle .icon-bar {
  display: block !important;
  width: 24px !important;
  height: 3px !important;
  background: #ffffff !important;
  border-radius: 2px !important;
  margin: 4px 0 !important;
  transition: all 0.25s ease !important;
}
.hz-mobile-toggle .icon-bar:first-child { margin-top: 0 !important; }
.hz-mobile-toggle .icon-bar:last-child { margin-bottom: 0 !important; }

/* Mobile Menu Footer (Inside Drawer) */
.hz-mobile-menu-footer {
  display: none;
}

/* ── MOBILE MEDIA QUERIES (max-width: 991.98px) ── */
@media (max-width: 991.98px) {
  .main-header {
    position: relative !important;
    z-index: 99999 !important;
  }

  .main-header .header-top {
    padding: 6px 0 !important;
    background: #0d1b2a !important;
  }

  .main-header .header-lower {
    background: #ffffff !important;
    height: auto !important;
    min-height: 60px !important;
    padding: 8px 0 !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08) !important;
    position: relative !important;
  }

  .header-lower-row {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: wrap !important;
    margin: 0 !important;
  }

  .header-brand-col {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    padding: 0 !important;
  }

  .main-header .logo-outer,
  .sticky-header .logo {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    margin: 0 !important;
    position: static !important;
    transform: none !important;
  }

  .main-header .logo img,
  .main-header .logo-default {
    height: 42px !important;
    max-height: 42px !important;
    width: auto !important;
  }

  .main-header .header-brand-text {
    color: #0d1b2a !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
  }

  .hz-mobile-toggle {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
  }

  .header-nav-col {
    width: 100% !important;
    padding: 0 !important;
  }

  .main-header .nav-outer {
    width: 100% !important;
  }

  .main-header .main-menu {
    width: 100% !important;
    position: static !important;
    transform: none !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .main-header .navbar-collapse {
    display: none !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    background: #0d1b2a !important;
    box-shadow: 0 16px 36px rgba(0,0,0,0.4) !important;
    border-top: 2px solid var(--theme-color1, #1e7fba) !important;
    z-index: 999999 !important;
    max-height: calc(100vh - 75px) !important;
    overflow-y: auto !important;
    padding: 12px 0 20px !important;
  }

  .main-header .navbar-collapse.show {
    display: block !important;
    animation: fadeInDownMenu 0.25s ease-out forwards !important;
  }

  @keyframes fadeInDownMenu {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .main-header .navigation {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .main-header .navigation > li {
    display: block !important;
    width: 100% !important;
    float: none !important;
    border-bottom: 1px solid rgba(255,255,255,0.08) !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .main-header .header-lower .main-menu .navigation > li > a,
  .main-header .main-menu .navigation > li > a {
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    padding: 12px 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    line-height: 24px !important;
  }

  .main-header .navigation > li.current > a,
  .main-header .navigation > li:hover > a {
    color: var(--theme-accent-light, #7fb3f5) !important;
    background: rgba(30,127,186,0.12) !important;
  }

  /* Submenu in mobile drawer */
  .main-header .main-menu .navigation > li > ul.dropdown-menu-list,
  .main-header .main-menu .navigation > li > ul {
    position: static !important;
    display: none !important;
    width: 100% !important;
    background: rgba(0,0,0,0.3) !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .main-header .main-menu .navigation > li.dropdown.open > ul.dropdown-menu-list,
  .main-header .main-menu .navigation > li.dropdown.open > ul {
    display: block !important;
  }

  .main-header .main-menu .navigation > li > ul > li {
    border-bottom: 1px solid rgba(255,255,255,0.04) !important;
  }

  .main-header .main-menu .navigation > li > ul > li > a {
    color: rgba(255,255,255,0.85) !important;
    padding: 10px 20px 10px 35px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    display: block !important;
  }

  .main-header .main-menu .navigation > li > ul > li > a:hover,
  .main-header .main-menu .navigation > li > ul > li.current > a {
    color: #ffffff !important;
    background: var(--theme-color1, #1e7fba) !important;
  }

  /* Mobile Drawer Action Buttons */
  .hz-mobile-menu-footer {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    padding: 18px 20px 8px !important;
  }

  .hz-mob-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 12px 18px !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    text-decoration: none !important;
    text-align: center !important;
  }

  .hz-mob-btn-quote {
    background: var(--theme-color1, #1e7fba) !important;
    color: #ffffff !important;
  }

  .hz-mob-btn-call {
    background: rgba(255,255,255,0.12) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255,255,255,0.25) !important;
  }

  .sticky-header {
    display: none !important;
  }
}


/* ── HERO SLIDER TYPOGRAPHY & COLLISION PREVENTION ── */
.tp-banner .slidertext4 {
  font-size: 26px !important;
  font-weight: 600 !important;
  text-transform: none !important;
  text-align: center !important;
  font-family: 'Oswald', sans-serif !important;
  letter-spacing: 0.5px !important;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6) !important;
}

.tp-banner .slidertext1 {
  font-size: 54px !important;
  line-height: 1.15 !important;
  font-weight: 700 !important;
  text-transform: none !important;
  text-align: center !important;
  font-family: 'Oswald', sans-serif !important;
  letter-spacing: 0.5px !important;
  text-shadow: 0 2px 10px rgba(0,0,0,0.7) !important;
  margin: 0 !important;
  padding: 0 !important;
}

.tp-banner .slidertext2 {
  font-size: 16px !important;
  line-height: 1.45 !important;
  font-weight: 500 !important;
  text-transform: none !important;
  text-align: center !important;
  font-family: 'Roboto', sans-serif !important;
  text-shadow: 0 1px 6px rgba(0,0,0,0.6) !important;
  max-width: 900px !important;
}

.tp-banner .slidertext3 {
  text-align: center !important;
}

@media (min-width: 1200px) {
  .tp-banner .slidertext1 {
    font-size: 58px !important;
    line-height: 1.15 !important;
  }
}

@media (max-width: 991.98px) {
  .tp-banner .slidertext4 {
    font-size: 20px !important;
  }
  .tp-banner .slidertext1 {
    font-size: 38px !important;
    line-height: 1.2 !important;
  }
  .tp-banner .slidertext2 {
    font-size: 14px !important;
    line-height: 1.4 !important;
  }
}

@media (max-width: 575.98px) {
  .tp-banner .slidertext4 {
    font-size: 16px !important;
  }
  .tp-banner .slidertext1 {
    font-size: 28px !important;
    line-height: 1.25 !important;
  }
  .tp-banner .slidertext2 {
    font-size: 12.5px !important;
  }
  .tp-banner .slidertext3 a {
    padding: 8px 16px !important;
    font-size: 13.5px !important;
    margin: 4px !important;
  }
}

/* ── NAVBAR & DROPDOWN HOVER: WHITE FONT COLOR GUARANTEE ── */
.main-menu .navigation > li > ul > li > a:hover,
.main-menu .navigation > li > ul > li:hover > a,
.main-menu .navigation > li > ul > li.current > a,
.main-header .main-menu .navigation > li > ul > li > a:hover,
.main-header .main-menu .navigation > li > ul > li:hover > a,
.main-header .main-menu .navigation > li > ul > li.current > a,
.main-header .header-lower .main-menu .navigation > li > ul > li > a:hover,
.main-header .header-lower .main-menu .navigation > li > ul > li:hover > a,
.sticky-header .main-menu .navigation > li > ul > li > a:hover,
.sticky-header .main-menu .navigation > li > ul > li:hover > a,
.main-header .main-menu .navigation > li > ul.dropdown-menu-list > li > a:hover,
.main-header .main-menu .navigation > li > ul.dropdown-menu-list > li:hover > a,
.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus {
  color: #ffffff !important;
  background-color: var(--theme-color1, #1e7fba) !important;
}
/* Direkter Link von den Leistungsseiten zur passenden FAQ-Kategorie */
.hz-faq-more-wrap{text-align:center;margin-top:2rem;}
.hz-faq-more{display:inline-flex;align-items:center;gap:.55rem;color:var(--theme-color1,#1e7fba);font-size:.9rem;font-weight:700;text-decoration:none;transition:gap .2s ease,color .2s ease;}
.hz-faq-more:hover{gap:.8rem;color:#145a87;text-decoration:none;}

/* Vollständig klickbare Ratgeber-Karten */
.hz-ratgeber-link{display:block;height:100%;color:inherit;text-decoration:none;}
.hz-ratgeber-link:hover,.hz-ratgeber-link:focus{color:inherit;text-decoration:none;}

/* Einheitlicher Seitenrhythmus: Inhaltssektionen bleiben auf allen Geräten kompakt. */
.legal-body,
.oeffnung-section,
.hz-oeffnung,
.hz-abv-section,
.hz-intro,
.hz-lk-section,
.hz-cta-band,
.hz-schritte,
.hz-ref,
.hz-vorteile,
.hz-faq,
.hz-trust,
.hz-leist,
.hz-kosten,
.hz-foerd,
.hz-split,
.hz-steps,
.hz-cta,
.hz-warum,
.hz-safe,
.hz-ablauf,
.hz-notfall,
.hz-prod,
.hz-einspar,
.hz-costs,
.hz-wart,
.hz-faq-main,
.hz-faq-cta,
.hz-topic-menu,
.contact-info-section,
.contact-content-section,
.partner-section,
.hz-vision,
.hz-leistungen-teaser,
.service-section-two,
.about-section,
.why-choose-us-section,
.projects-section,
.blog-section,
#bad-designer,
#kontakt {
  padding-top: 35px !important;
  padding-bottom: 35px !important;
}

.working-section > .outer-box,
.faq-section > .outer-box {
  padding-top: 35px !important;
  padding-bottom: 35px !important;
}

.hz-schritt { margin-bottom: 35px !important; }

@media (max-width: 991.98px) {
  .page-wrapper .row.g-5 { --bs-gutter-y: 24px; }
}

@media (max-width: 767.98px) {
  .legal-body,
  .oeffnung-section,
  .hz-oeffnung,
  .hz-abv-section,
  .hz-intro,
  .hz-lk-section,
  .hz-cta-band,
  .hz-schritte,
  .hz-ref,
  .hz-vorteile,
  .hz-faq,
  .hz-trust,
  .hz-leist,
  .hz-kosten,
  .hz-foerd,
  .hz-split,
  .hz-steps,
  .hz-cta,
  .hz-warum,
  .hz-safe,
  .hz-ablauf,
  .hz-notfall,
  .hz-prod,
  .hz-einspar,
  .hz-costs,
  .hz-wart,
  .hz-faq-main,
  .hz-faq-cta,
  .hz-topic-menu,
  .contact-info-section,
  .contact-content-section,
  .partner-section,
  .hz-vision,
  .hz-leistungen-teaser,
  .service-section-two,
  .about-section,
  .why-choose-us-section,
  .projects-section,
  .blog-section,
  #bad-designer,
  #kontakt {
    padding-top: 28px !important;
    padding-bottom: 28px !important;
  }

  .working-section > .outer-box,
  .faq-section > .outer-box {
    padding-top: 28px !important;
    padding-bottom: 28px !important;
  }

  .hz-vision-body { padding-top: 28px !important; }
}

/* ==========================================================================
   GAS NOTRUF 128 & 5-SCHRITTE SICHERHEITS-POPUP (WIENER NETZE STYLE)
   ========================================================================== */
.hz-gasgeruch-section {
  padding: 60px 0;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.hz-gasgeruch-wrapper {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.hz-gasgeruch-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #dc2626;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.hz-gasgeruch-title {
  font-family: 'Oswald', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: #0d233a;
  margin-bottom: 6px;
}

.hz-gasgeruch-subtitle {
  font-size: 1.15rem;
  color: #64748b;
  margin-bottom: 24px;
}

.hz-gasgeruch-box {
  background: #fff5f5;
  border-left: 5px solid #dc2626;
  border-radius: 12px;
  padding: 22px 24px;
  margin-bottom: 25px;
}

.hz-gasgeruch-box h4 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: #991b1b;
  margin-bottom: 10px;
}

.hz-gasgeruch-box p {
  font-size: 1.02rem;
  line-height: 1.6;
  color: #334155;
  margin-bottom: 16px;
}

.hz-btn-gas-popup {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: #dc2626;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-family: 'Oswald', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.35);
  transition: all 0.25s ease;
}

.hz-btn-gas-popup:hover {
  background: #b91c1c;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(220, 38, 38, 0.45);
}

.hz-company-gas-cta {
  background: #f0f7fc;
  border: 1px solid #bae6fd;
  border-radius: 14px;
  padding: 22px 24px;
}

.hz-cta-hours-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #e0f2fe;
  color: #0369a1;
  font-size: 0.92rem;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 12px;
}

.hz-company-gas-cta p {
  font-size: 0.98rem;
  color: #334155;
  margin-bottom: 14px;
  line-height: 1.55;
}

.hz-company-phone-wrap {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hz-company-phone-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--theme-color1, #1e7fba);
  color: #ffffff;
  font-family: 'Oswald', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.25s ease;
}

.hz-company-phone-btn:hover {
  background: #155a84;
  color: #ffffff;
}

.hz-emergency-hint {
  font-size: 0.9rem;
  color: #64748b;
}

.hz-emergency-hint strong {
  color: #dc2626;
}

.hz-gas-van-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
}

.hz-gas-van-img {
  width: 100%;
  border-radius: 12px;
  display: block;
}

.hz-van-caption {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.hz-van-caption .notruf-num {
  font-family: 'Oswald', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #dc2626;
}

.hz-van-caption .notruf-txt {
  font-size: 0.9rem;
  font-weight: 500;
  color: #475569;
  text-align: left;
  line-height: 1.35;
}

/* ── 5-STEP POPUP MODAL STYLES (MATCHING IMAGE 2) ── */
.hz-gas-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(13, 35, 58, 0.75);
  backdrop-filter: blur(5px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  padding: 20px;
}

.hz-gas-modal-overlay.active {
  display: flex !important;
}

.hz-gas-modal-wrap {
  background: #ffffff;
  max-width: 680px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 20px;
  padding: 35px 30px;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
}

.hz-gas-modal-header {
  margin-bottom: 24px;
}

.hz-modal-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #dc2626;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.hz-gas-modal-header h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.85rem;
  font-weight: 700;
  color: #991b1b;
  margin-bottom: 10px;
}

.hz-gas-modal-header p {
  color: #475569;
  font-size: 0.98rem;
  line-height: 1.55;
  margin: 0;
}

.hz-gas-steps-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.hz-gas-step-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px 20px;
}

.hz-gas-step-card.hz-step-urgent {
  background: #fef2f2;
  border-color: #fca5a5;
}

.hz-step-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}

.hz-step-num {
  font-family: 'Oswald', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #0369a1;
}

.hz-step-num.alert-red {
  color: #dc2626;
}

.hz-step-header h4 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: #0f172a;
  margin: 0;
}

.hz-step-urgent .hz-step-header h4 {
  color: #991b1b;
}

.hz-gas-step-card p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #475569;
}

.hz-step-call-btn-wrap {
  margin-top: 14px;
}

.hz-btn-notruf-128 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #dc2626;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 6px;
  font-family: 'Oswald', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.hz-btn-notruf-128:hover {
  background: #b91c1c;
  color: #ffffff;
}

.hz-gas-modal-footer {
  border-top: 1px solid #e2e8f0;
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hz-gas-modal-footer p {
  font-size: 0.88rem;
  color: #64748b;
  margin: 0;
}

.hz-gas-modal-footer a {
  color: #0284c7;
  font-weight: 600;
  text-decoration: none;
}

/* Robust Gas Modal Popup Overlay (Works locally & server) */
#hz-gas-modal.modal-overlay {
  display: none;
  opacity: 0;
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 999999 !important;
  background: rgba(13, 35, 58, 0.8) !important;
  backdrop-filter: blur(6px) !important;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  transition: opacity 0.25s ease;
}

#hz-gas-modal.modal-overlay.open,
#hz-gas-modal.modal-overlay.active {
  display: flex !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  visibility: visible !important;
}

#hz-gas-modal .modal-wrap {
  background: #ffffff !important;
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 20px;
  padding: 35px 30px;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  transform: translateY(0) scale(1) !important;
  opacity: 1 !important;
}

/* ==========================================================================
   WER WIR SIND — COMPACT & WIDE TEXT LAYOUT (TITLE ON TOP, NO DASHES)
   ========================================================================== */
.about-section p {
  color: #f1f5f9 !important;
}

.hz-about-text-card {
  background: rgba(8, 23, 39, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 26px 28px;
  margin-top: 1.8rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.hz-about-badge {
  display: inline-block;
  background: var(--theme-color1, #1e7fba);
  color: #ffffff !important;
  font-family: 'Oswald', sans-serif;
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.hz-about-lead {
  font-size: 1.05rem !important;
  line-height: 1.7 !important;
  color: #ffffff !important;
  font-weight: 400;
  margin-bottom: 18px !important;
}

.hz-about-pillars-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}

@media (max-width: 767.98px) {
  .hz-about-pillars-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

.hz-about-pillar-item {
  display: block !important;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 16px 20px;
}

.hz-about-pillar-item h6 {
  display: block !important;
  width: 100% !important;
  font-family: 'Oswald', sans-serif;
  font-size: 1.18rem;
  font-weight: 600;
  color: #38bdf8 !important;
  margin: 0 0 8px 0 !important;
  line-height: 1.3 !important;
}

.hz-about-pillar-item p {
  display: block !important;
  width: 100% !important;
  font-size: 0.94rem !important;
  line-height: 1.6 !important;
  color: #cbd5e1 !important;
  margin: 0 !important;
}

.hz-about-footer-note {
  background: rgba(14, 165, 233, 0.12);
  border-left: 4px solid #0284c7;
  padding: 12px 18px;
  border-radius: 8px;
  font-size: 0.94rem !important;
  color: #e0f2fe !important;
  margin: 0 !important;
  line-height: 1.5;
}

.hz-about-footer-note i {
  color: #38bdf8;
  font-size: 1.1rem;
}
