/* Solarpower Berlin – Header eine Zeile (Desktop) + Hero-Headline */
@media (min-width: 992px) {
  header.header-1 {
    padding: 0 !important;
  }
  header.header-1 > .container > .row {
    flex-wrap: nowrap !important;
    align-items: center !important;
  }
  header.header-1 .col-lg-2 {
    flex: 0 0 168px !important;
    max-width: 168px !important;
    width: 168px !important;
  }
  header.header-1 .col-lg-10 {
    flex: 1 1 auto !important;
    max-width: none !important;
    width: auto !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
  }
  header.header-1 .logo img,
  .mobile-nav .logo img {
    max-width: 160px !important;
    max-height: 50px !important;
    width: auto !important;
  }
  header.header-1 .menu-wrap,
  header.header-1 .main-menu {
    flex: 1 1 auto;
    min-width: 0;
  }
  header.header-1 .main-menu > ul.menu {
    display: flex !important;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
    align-items: center !important;
    margin: 0 !important;
  }
  header.header-1 .main-menu > ul.menu > li {
    display: flex !important;
    float: none !important;
    line-height: 1 !important;
  }
  header.header-1 .main-menu > ul.menu > li > a,
  header.header-1.sticky .main-menu ul li > a {
    padding: 22px 9px !important;
    font-size: 14px !important;
    white-space: nowrap !important;
    line-height: 1.2 !important;
  }
  header.header-1 .header-right-element {
    flex: 0 0 auto;
    margin-left: 8px;
  }
  header.header-1 .header-right-element .theme-btn {
    padding: 11px 14px !important;
    font-size: 13px !important;
    white-space: nowrap !important;
  }

  .hero-1 .single-slide .hero-contents h1,
  .hero-contents h1.fs-lg,
  h1.fs-lg {
    font-size: clamp(28px, 3.1vw, 44px) !important;
    white-space: nowrap;
    line-height: 1.15 !important;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  header.header-1 .main-menu > ul.menu > li > a,
  header.header-1.sticky .main-menu ul li > a {
    padding: 20px 7px !important;
    font-size: 13px !important;
  }
  header.header-1 .col-lg-2 {
    flex: 0 0 140px !important;
    max-width: 140px !important;
    width: 140px !important;
  }
  header.header-1 .logo img {
    max-width: 132px !important;
  }
}

/* ===== Unterseiten: gerades Raster, Abstände, keine Wortbrüche ===== */
body:not(.home) {
  overflow-x: hidden;
}

body:not(.home) .page-banner-wrap {
  padding-top: 150px;
  padding-bottom: 72px;
}

body:not(.home) .elementor > .elementor-top-section:first-child {
  padding-top: 56px !important;
}

body:not(.home) .block-contents .section-title {
  position: relative;
  margin-top: 8px;
  margin-bottom: 28px;
  padding-top: 8px;
}

/* Outline-Titel aus – die großen Wasserzeichen wirken schief */
body:not(.home) .block-contents .section-title h5 {
  display: none !important;
}

body:not(.home) .block-contents .section-title h2,
body:not(.home) .elementor-widget-heading .elementor-heading-title,
body:not(.home) .elementor-heading-title {
  text-transform: none !important;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: manual;
  line-height: 1.25 !important;
}

body:not(.home) .block-contents .section-title h2 {
  font-size: clamp(28px, 3vw, 42px) !important;
  margin-bottom: 16px;
}

body:not(.home) .elementor-col-50 .block-contents .section-title h2,
body:not(.home) .elementor-col-50 .elementor-heading-title {
  font-size: clamp(24px, 2.4vw, 34px) !important;
}

body:not(.home) .elementor > .elementor-top-section > .elementor-container {
  align-items: flex-start;
}

body:not(.home) .elementor-widget-image {
  margin-bottom: 20px;
}

body:not(.home) .elementor-widget-image img {
  max-width: 100%;
  width: 100%;
  height: auto;
  border-radius: 16px;
  display: block;
}

body:not(.home) .elementor:not(.elementor-365) .elementor-top-section .elementor-col-50 .elementor-widget-image img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: 16px;
}

body:not(.home) .elementor-widget-heading,
body:not(.home) .elementor-widget-text-editor,
body:not(.home) .elementor-widget-icon-list {
  margin-bottom: 14px;
}

body:not(.home) .elementor-widget-button {
  margin-top: 8px;
  margin-bottom: 8px;
}

body:not(.home) .service-single-card-item {
  height: 100%;
}

body:not(.home) .service-single-card-item .card-thumb,
body:not(.home) .card-thumb {
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  border-radius: 16px;
  min-height: 240px;
}

body:not(.home) .elementor-element-ac8dc18 .service-single-card-item .card-thumb {
  min-height: 220px;
}

body:not(.home) .elementor-col-100 .service-single-card-item > .card-thumb {
  min-height: 380px !important;
}

body:not(.home) .elementor-element-ac8dc18 .elementor-container {
  align-items: stretch;
}

body:not(.home) .single-project-grid,
body:not(.home) .single-service-card,
body:not(.home) .service-card {
  margin-bottom: 24px;
  border-radius: 16px;
  overflow: hidden;
}

body:not(.home) .row.grid {
  display: flex !important;
  flex-wrap: wrap !important;
  height: auto !important;
}

body:not(.home) .row.grid > .grid-item {
  position: relative !important;
  left: auto !important;
  top: auto !important;
  transform: none !important;
  float: none !important;
}

body:not(.home) .row.grid > .grid-item:nth-child(n+13) {
  display: none !important;
}

body:not(.home) .elementor-column-gap-default > .elementor-column > .elementor-element-populated,
body:not(.home) .elementor-column-gap-extended > .elementor-column > .elementor-element-populated {
  padding: 15px;
}

@media (max-width: 1199px) {
  body:not(.home) .elementor-element-ac8dc18 .elementor-container {
    flex-wrap: wrap !important;
  }
  body:not(.home) .elementor-element-ac8dc18 > .elementor-container > .elementor-column.elementor-col-25 {
    width: 50% !important;
  }
}

@media (max-width: 991px) {
  body:not(.home) .page-banner-wrap {
    padding-top: 120px;
    padding-bottom: 56px;
  }
  body:not(.home) .elementor > .elementor-top-section:first-child {
    padding-top: 40px !important;
  }
  body:not(.home) .elementor:not(.elementor-365) .elementor-top-section .elementor-col-50 .elementor-widget-image img {
    height: 260px;
  }
  body:not(.home) .elementor-element-ac8dc18 > .elementor-container > .elementor-column.elementor-col-25 {
    width: 50% !important;
  }
}

@media (max-width: 767px) {
  body:not(.home) .elementor-element-ac8dc18 > .elementor-container > .elementor-column.elementor-col-25 {
    width: 100% !important;
  }
}
