/* —— Leistungsseiten: Prosa, Layout, Fakten, Prozess —— */

.sbm-section-header {
  margin-bottom: clamp(1.25rem, 2.5vw, 1.75rem);
}

.sbm-section-header .heading_label,
.sbm-section-header .sbm-section-label {
  margin-bottom: 0.4rem;
}

.sbm-section-header h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  color: #111827;
  line-height: 1.2;
}

.sbm-section-header__intro {
  margin: 0;
  max-width: 46rem;
  color: #64748b;
  font-size: 1.02rem;
  line-height: 1.65;
}

/* Fließtext */
.sbm-prose {
  max-width: 52rem;
  color: #334155;
  font-size: 1.02rem;
  line-height: 1.72;
}

.sbm-prose p {
  margin: 0 0 1.15rem;
}

.sbm-prose p:last-child {
  margin-bottom: 0;
}

.sbm-prose--lead {
  font-size: clamp(1.08rem, 1.8vw, 1.2rem);
  line-height: 1.65;
  color: #1e293b;
}

.sbm-prose--wide {
  max-width: none;
}

.sbm-prose h3 {
  margin: 1.75rem 0 0.65rem;
  font-size: 1.08rem;
  color: #111827;
}

.sbm-prose h3:first-child {
  margin-top: 0;
}

.sbm-prose ul {
  margin: 0 0 1.15rem;
  padding-left: 1.35rem;
}

.sbm-prose li {
  margin-bottom: 0.45rem;
  line-height: 1.6;
}

.sbm-prose a {
  color: #9c7300;
  font-weight: 600;
  text-decoration: none;
}

.sbm-prose a:hover {
  text-decoration: underline;
}

/* Intro */
.sbm-leistungen-intro {
  background: #fff;
  padding: clamp(2.75rem, 5.5vw, 4.25rem) 0;
  border-bottom: 1px solid #f1f5f9;
}

.sbm-leistungen-intro__inner {
  max-width: 54rem;
  margin: 0 auto;
  text-align: left;
}

.sbm-leistungen-intro__inner--center {
  text-align: center;
}

.sbm-leistungen-intro__inner--center .sbm-prose {
  margin-left: auto;
  margin-right: auto;
}

.sbm-leistungen-intro__eyebrow {
  display: inline-block;
  margin-bottom: 0.65rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9c7300;
}

.sbm-leistungen-intro__title {
  margin: 0 0 1rem;
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  color: #111827;
  line-height: 1.2;
}

/* Split: Bild + Text */
.sbm-split-section {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  background: #fff;
}

.sbm-split-section--alt {
  background: #f8fafc;
}

.sbm-split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: center;
}

.sbm-split-grid--reverse .sbm-split-grid__media {
  order: 2;
}

.sbm-split-grid__media img {
  width: 100%;
  height: clamp(240px, 32vw, 360px);
  object-fit: cover;
  display: block;
  background: #f1f5f9;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.1);
}

.sbm-split-grid__content .sbm-section-header {
  margin-bottom: 1rem;
}

/* Highlight-Box */
.sbm-highlight-box {
  margin: 1.5rem 0 0;
  padding: 1.15rem 1.25rem;
  background: linear-gradient(135deg, #fffbeb 0%, #fff 100%);
  border-left: 4px solid #f7c600;
  box-shadow: 0 8px 24px rgba(247, 198, 0, 0.12);
}

.sbm-highlight-box p {
  margin: 0;
  color: #334155;
  font-size: 0.98rem;
  line-height: 1.6;
}

.sbm-highlight-box strong {
  color: #111827;
}

/* Service-Teaser (Übersicht) */
.sbm-service-teasers {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  background: #f8fafc;
}

.sbm-service-teaser {
  display: grid;
  grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2rem);
  align-items: start;
  padding: clamp(1.25rem, 2vw, 1.75rem);
  margin-bottom: 1.25rem;
  background: #fff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
  text-decoration: none;
  color: inherit;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.sbm-service-teaser:last-child {
  margin-bottom: 0;
}

.sbm-service-teaser:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.1);
  border-color: rgba(247, 198, 0, 0.45);
}

.sbm-service-teaser__img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  background: #f1f5f9;
}

.sbm-service-teaser__tag {
  display: inline-block;
  margin-bottom: 0.4rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9c7300;
}

.sbm-service-teaser h3 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.1rem, 1.8vw, 1.3rem);
  color: #111827;
}

.sbm-service-teaser__cta {
  display: inline-block;
  margin-top: 0.85rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: #9c7300;
}

/* Zielgruppen */
.sbm-audience-section {
  background: #f8fafc;
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}

.sbm-audience-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}

.sbm-audience-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  padding: 1.35rem 1.25rem;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
  border-top: 3px solid #f7c600;
}

.sbm-audience-card__tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9c7300;
  margin-bottom: 0.45rem;
}

.sbm-audience-card h3 {
  margin: 0 0 0.65rem;
  font-size: 1.08rem;
  color: #111827;
}

.sbm-audience-card p {
  margin: 0 0 0.75rem;
  font-size: 0.94rem;
  line-height: 1.62;
  color: #64748b;
}

.sbm-audience-card p:last-child {
  margin-bottom: 0;
}

/* Mission */
.sbm-mission-section {
  background: #fff;
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  position: relative;
  z-index: 1;
}

.section_vorteile.sbm-leistungen-cards + .sbm-mission-section {
  padding-top: clamp(2rem, 4vw, 3rem);
}

.sbm-mission-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.sbm-mission-item {
  border: 1px solid #e5e7eb;
  padding: 1.25rem 1.1rem;
  background: linear-gradient(180deg, #fafafa 0%, #fff 100%);
  border-left: 3px solid #f7c600;
}

.sbm-mission-item h3 {
  margin: 0 0 0.55rem;
  font-size: 1rem;
  color: #111827;
}

.sbm-mission-item p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.58;
  color: #64748b;
}

/* Service-Detail */
.sbm-service-page-hero .sbm-subpage-hero__subtitle {
  margin: 0.75rem auto 0;
  max-width: 42rem;
  color: #fff;
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.5;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.2);
}

.sbm-service-content {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}

.sbm-service-content--alt {
  background: #f8fafc;
}

.sbm-service-panel {
  background: #fff;
  border: 1px solid #e5e7eb;
  padding: clamp(1.5rem, 2.8vw, 2.25rem);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

.sbm-service-panel--flat {
  box-shadow: none;
  background: transparent;
  border: none;
  padding: 0;
}

.sbm-detail-blocks {
  display: grid;
  gap: 1.75rem;
}

.sbm-detail-block {
  padding-bottom: 1.75rem;
  border-bottom: 1px solid #e5e7eb;
}

.sbm-detail-block:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.sbm-detail-block h3 {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
  color: #111827;
}

.sbm-facts-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 0.5rem;
}

.sbm-fact-card {
  background: linear-gradient(160deg, #fffbeb 0%, #fff 100%);
  border: 1px solid rgba(247, 198, 0, 0.35);
  padding: 1.1rem 0.95rem;
  text-align: center;
}

.sbm-fact-card__value {
  display: block;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.25rem;
}

.sbm-fact-card__label {
  display: block;
  font-size: 0.78rem;
  line-height: 1.35;
  color: #64748b;
}

/* Stromersparnis / Zahlen */
.sbm-savings-section {
  background: #f8fafc;
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  border-top: 1px solid #e5e7eb;
}

.sbm-savings-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.sbm-savings-stat {
  background: #fff;
  border: 1px solid #e5e7eb;
  padding: 1.15rem 1rem;
  text-align: center;
  border-top: 3px solid #f7c600;
}

.sbm-savings-stat__value {
  display: block;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 700;
  color: #111827;
  margin-bottom: 0.3rem;
}

.sbm-savings-stat__label {
  font-size: 0.82rem;
  line-height: 1.4;
  color: #64748b;
}

.sbm-savings-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid #e5e7eb;
  font-size: 0.94rem;
}

.sbm-savings-table th,
.sbm-savings-table td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid #e5e7eb;
}

.sbm-savings-table th {
  background: #111827;
  color: #fff;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.sbm-savings-table tr:last-child td {
  border-bottom: none;
}

.sbm-savings-table td:last-child {
  font-weight: 700;
  color: #111827;
  white-space: nowrap;
}

.sbm-savings-table a {
  color: #9c7300;
  font-weight: 600;
  text-decoration: none;
}

.sbm-savings-table a:hover {
  text-decoration: underline;
}

.sbm-savings-note {
  margin-top: 1rem;
  font-size: 0.82rem;
  color: #64748b;
  line-height: 1.5;
}

.sbm-stats-strip {
  background: #111827;
  padding: clamp(1.5rem, 3vw, 2rem) 0;
}

.sbm-stats-strip__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  text-align: center;
}

.sbm-stats-strip__item strong {
  display: block;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  color: #f7c600;
  margin-bottom: 0.25rem;
}

.sbm-stats-strip__item span {
  font-size: 0.85rem;
  color: #cbd5e1;
  line-height: 1.4;
}

/* Photovoltaik-Fokus (Startseite) */
.sbm-pv-focus {
  background: #f8fafc;
  padding: clamp(2rem, 4vw, 3rem) 0;
  border-top: 1px solid #e5e7eb;
}

.sbm-section-header--center {
  text-align: center;
}

.sbm-section-header--center .sbm-section-header__intro {
  margin-left: auto;
  margin-right: auto;
}

.sbm-pv-focus__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.sbm-pv-focus__item {
  background: #fff;
  border: 1px solid #e5e7eb;
  padding: 1.2rem 1.1rem;
  border-left: 3px solid #f7c600;
}

.sbm-pv-focus__item strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 1.02rem;
  color: #111827;
}

.sbm-pv-focus__item span {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.5;
}

.sbm-section-header__intro a {
  color: #9c7300;
  font-weight: 600;
  text-decoration: none;
}

.sbm-section-header__intro a:hover {
  text-decoration: underline;
}

/* Prozess */
.sbm-process-section {
  background: #111827;
  color: #f8fafc;
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}

.sbm-process-section h2 {
  color: #fff;
  text-align: center;
  margin: 0 0 0.35rem;
  font-size: clamp(1.25rem, 2.2vw, 1.55rem);
}

.sbm-process-section__intro {
  text-align: center;
  color: #94a3b8;
  margin: 0 auto 1.75rem;
  max-width: 40rem;
  font-size: 1rem;
  line-height: 1.6;
}

.sbm-process-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.85rem;
}

.sbm-process-step {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  padding: 1.1rem 0.95rem;
}

.sbm-process-step__num {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #f7c600;
  margin-bottom: 0.35rem;
}

.sbm-process-step h3 {
  margin: 0 0 0.45rem;
  font-size: 0.98rem;
  color: #fff;
}

.sbm-process-step p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.5;
  color: #cbd5e1;
}

/* Projektbilder-Carousel (Leistungs-Unterseiten) */
.sbm-service-carousel {
  padding: clamp(2rem, 4vw, 3rem) 0 clamp(2.5rem, 5vw, 4rem);
  background: #fff;
}

.sbm-service-carousel__splide {
  margin-top: 0.5rem;
}

.sbm-service-carousel__splide .splide__arrow {
  background: #f7c600;
  opacity: 1;
}

.sbm-service-carousel__splide .splide__arrow svg {
  fill: #1e293b;
}

.sbm-service-carousel__splide .splide__pagination__page.is-active {
  background: #f7c600;
}

.sbm-service-carousel__slide {
  border: 1px solid #e5e7eb;
  background: #f8fafc;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.sbm-service-carousel__slide img {
  width: 100%;
  height: clamp(220px, 28vw, 320px);
  object-fit: cover;
  display: block;
}

@media (max-width: 767px) {
  .sbm-service-carousel__slide img {
    height: 220px;
  }
}

/* Galerie */
.sbm-service-gallery {
  padding: clamp(2rem, 4vw, 3rem) 0 clamp(2.5rem, 5vw, 4rem);
  background: #fff;
}

.sbm-service-gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.sbm-service-gallery__grid img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  background: #f1f5f9;
}

.sbm-service-back {
  display: inline-block;
  margin-bottom: 1.25rem;
  color: #64748b;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.92rem;
}

.sbm-service-back:hover {
  color: #111827;
}

/* Leistungs-Übersicht (leistungen.html) */
.main-wrap > .section_vorteile.sbm-leistungen-cards {
  background: #fff;
  z-index: auto !important;
}

.main-wrap > .section_vorteile.sbm-leistungen-cards .padding-section-vorteile {
  padding-top: clamp(2.5rem, 5vw, 4rem) !important;
  padding-bottom: clamp(2rem, 4vw, 3rem) !important;
  margin-bottom: 0 !important;
}

.main-wrap > .section_vorteile.sbm-leistungen-cards + .sbm-savings-section {
  border-top: none;
}

.sbm-process-section .sbm-section-header {
  margin-bottom: 1.75rem;
}

.sbm-process-section .sbm-section-header h2 {
  color: #fff;
  text-align: center;
}

.sbm-process-section .sbm-section-header__intro {
  color: #94a3b8;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.sbm-leistungen-cards .sbm-section-header h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
}

.sbm-savings-section .sbm-savings-note {
  text-align: center;
  max-width: 46rem;
  margin-left: auto;
  margin-right: auto;
}

/* Leistungskarten */
.section_vorteile.sbm-leistungen-cards {
  z-index: auto !important;
}

.sbm-leistungen-cards .vorteile_card {
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
  animation: none !important;
  transform: none !important;
}

.sbm-leistungen-cards .vorteile_card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.sbm-leistungen-cards .vorteile_card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
}

.sbm-leistungen-cards .vorteile_card__cta {
  display: inline-block;
  margin-top: 0.65rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: #ffc107;
}

/* Scope */
.sbm-leistungen-scope {
  background: #f8fafc;
  padding: clamp(2rem, 4vw, 3rem) 0;
}

.sbm-scope-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sbm-scope-list li {
  padding: 0.65rem 0 0.65rem 1.35rem;
  position: relative;
  color: #334155;
  line-height: 1.55;
  font-size: 0.96rem;
  border-bottom: 1px solid #e5e7eb;
}

.sbm-scope-list li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: #f7c600;
  font-weight: 700;
}

@media (max-width: 991px) {
  .sbm-split-grid,
  .sbm-service-teaser {
    grid-template-columns: minmax(0, 1fr);
  }

  .sbm-split-grid--reverse .sbm-split-grid__media {
    order: 0;
  }

  .sbm-audience-grid,
  .sbm-mission-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sbm-facts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sbm-process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .sbm-audience-grid,
  .sbm-mission-grid,
  .sbm-facts-grid,
  .sbm-process-grid,
  .sbm-scope-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .sbm-stats-strip__grid,
  .sbm-savings-stats {
    grid-template-columns: minmax(0, 1fr);
  }

  .sbm-pv-focus__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sbm-savings-table {
    font-size: 0.85rem;
  }

  .sbm-savings-table th,
  .sbm-savings-table td {
    padding: 0.6rem 0.65rem;
  }
}

@media (max-width: 560px) {
  .sbm-pv-focus__grid {
    grid-template-columns: 1fr;
  }
}
