/* Energie-Service Startseite und globale WhatsApp-/Hero-Elemente */

:root {
  --energy-navy: #12366d;
  --energy-blue: #0b78d1;
  --energy-blue-dark: #075ea7;
  --energy-mint: #eaf8f5;
  --energy-soft: #f5f8fc;
  --energy-border: #d9e4f1;
  --energy-text: #2d4058;
  --energy-muted: #617086;
  --energy-white: #ffffff;
  --energy-whatsapp: #25d366;
}

.energy-container {
  width: min(1120px, calc(100% - 32px));
  max-width: 1120px !important;
  margin: 0 auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.energy-section-heading {
  max-width: 860px;
  margin: 0 auto 2rem !important;
  text-align: center;
}

.energy-section-heading h2 {
  margin-top: .45rem;
  margin-bottom: .8rem;
  font-weight: 600;
}

.energy-section-heading p,
.energy-lead {
  max-width: 820px;
  margin: 0 auto;
  line-height: 1.65;
}

.energy-kicker {
  display: inline-block;
  color: var(--energy-blue-dark);
  font-size: .82rem;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.energy-kicker--light {
  color: #dff7ff;
}

.energy-intro {
  position: relative;
  overflow: hidden;
}

.energy-intro::before {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  right: -160px;
  top: -180px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(74, 164, 154, .15), rgba(67, 97, 194, .08));
  pointer-events: none;
}

.energy-trust-grid,
.energy-service-grid,
.energy-promise-grid {
  display: grid;
  gap: 1rem;
}

.energy-trust-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 1.75rem 0;
}

.energy-trust-card,
.energy-service-card,
.energy-promise-card {
  background: var(--energy-white);
  border: 1px solid var(--energy-border);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(30, 64, 105, .08);
  text-align: left;
}

.energy-trust-card {
  padding: 1.35rem 1.15rem;
  text-align: center;
}

.energy-trust-card > i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: .8rem;
  border-radius: 14px;
  background: linear-gradient(135deg, #e5f5ff, #e7f9f3);
  color: var(--energy-blue-dark);
  font-size: 1.25rem;
}

.energy-trust-card h3,
.energy-service-card h3,
.energy-promise-card h3,
.energy-process-card h3 {
  margin: 0 0 .5rem;
  color: var(--energy-navy);
  font-size: 1.08rem;
  line-height: 1.3;
  font-weight: 700;
}

.energy-trust-card p,
.energy-service-card p,
.energy-promise-card p,
.energy-process-card p {
  margin: 0;
  color: var(--energy-muted);
  font-size: .95rem;
  line-height: 1.55;
}

.energy-cta-row {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: .8rem;
  flex-wrap: wrap;
  margin-top: 1.4rem;
}

.energy-cta-row .button {
  width: auto !important;
  min-width: min(320px, 100%);
  max-width: 420px !important;
  min-height: 48px;
  padding: .75rem 1.2rem !important;
  line-height: 1.25 !important;
  height: auto !important;
}

.energy-whatsapp-cta {
  min-height: 48px !important;
  height: auto !important;
  border-radius: 10px !important;
  padding: .75rem 1.2rem !important;
  color: #fff !important;
}

.energy-microcopy,
.energy-disclaimer,
.energy-map-copy {
  margin: .8rem auto 0;
  text-align: center;
  font-size: .9rem;
  color: var(--energy-muted);
}

/* Google-Bewertungen */
#bewertungen .google-header-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

#bewertungen .google-header {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .7rem 1rem;
  border-radius: 12px;
  background: #fff;
  color: #24364d;
}

#bewertungen .google-logo {
  height: 40px;
  width: auto;
}

#bewertungen .rating-info {
  text-align: center;
}

#bewertungen .average-rating {
  font-size: 1.65rem;
  line-height: 1.1;
  font-weight: 700;
  color: #24364d;
}

#bewertungen .total-reviews {
  color: #5d6b7b;
  font-size: .85rem;
}

#bewertungen .write-review-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .6rem 1rem;
  border: 0;
  border-radius: 8px;
  background: #4285f4;
  color: #fff !important;
  font-weight: 700;
  text-decoration: none;
}

#bewertungen .review-carousel {
  overflow-x: auto;
  scroll-behavior: smooth;
}

/* Laufende Betreuung */
.energy-service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.energy-service-card {
  position: relative;
  padding: 1.4rem 1.3rem;
}

.energy-service-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  border-radius: 0 0 16px 16px;
  background: linear-gradient(90deg, #4fa49a, #4361c2);
  opacity: .75;
}

.energy-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: .8rem;
  border-radius: 12px;
  background: #edf5ff;
  color: var(--energy-blue-dark);
}

/* Ablauf */
.energy-process-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: .8rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.energy-process-card {
  position: relative;
  min-height: 245px;
  padding: 1.3rem 1.05rem;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 16px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 10px 28px rgba(9, 37, 75, .15);
  text-align: left;
}

.energy-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: .9rem;
  border-radius: 12px;
  background: linear-gradient(135deg, #4fa49a, #4361c2);
  color: #fff;
  font-weight: 700;
  font-size: 1.2rem;
}

.energy-cta-row--on-dark .button:not(.whatsapp-button) {
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.95), 0 8px 20px rgba(0,0,0,.1);
}

/* Serviceversprechen */
.energy-promise-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.energy-promise-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.45rem;
}

.energy-promise-card > i {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e4f4ff, #e8faee);
  color: var(--energy-blue-dark);
  font-size: 1.1rem;
}

/* Fakten */
#fakten .facts-grid {
  margin-top: 1.25rem;
}

#fakten .energy-disclaimer {
  color: rgba(255, 255, 255, .84);
}

#fakten .partners {
  margin-top: 2.5rem;
}

/* Über mich */
.energy-about-grid,
.energy-pv-grid {
  display: grid;
  grid-template-columns: minmax(230px, .72fr) minmax(0, 1.65fr);
  gap: 2.5rem;
  align-items: center;
  max-width: 980px;
  margin: 0 auto;
}

.energy-about-photo img {
  display: block;
  width: 100%;
  max-width: 310px;
  height: auto;
  margin: 0 auto;
  border-radius: 18px;
  box-shadow: 0 18px 38px rgba(19, 54, 109, .16);
}

.energy-about-copy {
  text-align: left;
}

.energy-about-copy p {
  margin-bottom: 1rem;
  line-height: 1.65;
}

.energy-about-copy .button {
  margin-top: .3rem;
}

/* FAQ Startseite */
.home-faq-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .8rem;
  max-width: 980px;
  margin: 0 auto;
}

.home-faq-list details {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 12px;
  background: rgba(255, 255, 255, .96);
  color: var(--energy-text);
  text-align: left;
}

.home-faq-list summary {
  position: relative;
  padding: 1rem 3rem 1rem 1.1rem;
  color: var(--energy-navy);
  cursor: pointer;
  font-weight: 700;
  line-height: 1.4;
  list-style: none;
}

.home-faq-list summary::-webkit-details-marker {
  display: none;
}

.home-faq-list summary::after {
  content: "+";
  position: absolute;
  right: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--energy-blue-dark);
  font-size: 1.4rem;
  font-weight: 400;
}

.home-faq-list details[open] summary::after {
  content: "−";
}

.home-faq-list details p {
  margin: 0;
  padding: 0 1.1rem 1.1rem;
  color: var(--energy-muted);
  line-height: 1.55;
}

/* Karte */
#einsatzgebiet-karte {
  width: 100%;
  height: 400px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(30, 64, 105, .12);
}

#einsatzgebiet-fallback {
  max-width: 820px;
  margin: 0 auto;
  padding: 1.3rem;
  border: 1px solid var(--energy-border);
  border-radius: 14px;
  background: var(--energy-soft);
  text-align: center;
}

#einsatzgebiet-fallback ul {
  display: inline-block;
  margin: .4rem auto .7rem;
  padding-left: 1.25rem;
  text-align: left;
  list-style: disc;
}

/* Photovoltaik */
.energy-pv-section {
  border-top: 1px solid #edf1f6;
}

.energy-pv-grid {
  grid-template-columns: minmax(0, 1.3fr) minmax(220px, .7fr);
  text-align: left;
}

.energy-pv-grid p {
  margin-bottom: 1rem;
}

.energy-pv-logo {
  text-align: center;
}

.energy-pv-logo img {
  width: 100%;
  max-width: 330px;
  height: auto;
}

/* Abschluss-CTA */
.energy-final-cta .container {
  max-width: 900px !important;
  text-align: center;
}

.energy-final-cta h2 {
  margin: .5rem 0 .8rem;
  color: #fff;
  font-weight: 600;
}

.energy-final-cta p {
  max-width: 760px;
  margin: 0 auto;
}


/* SEO: Hero-Titel ist semantisch kein H1 mehr, soll optisch aber exakt wie vorher wirken. */
#header .hero-title {
  display: block;
  font-size: 2em;
  line-height: 1.15;
  margin: 0.67em 0;
}
#header .hero-title strong {
  font-weight: 700;
}

/* Header */
#header .hero-text {
  max-width: 760px;
}

#header .hero-sub {
  max-width: 720px;
  margin-left: auto !important;
  margin-right: auto !important;
}

#header .hero-actions {
  display: flex;
  justify-content: center;
  gap: .65rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

#header .hero-actions .button {
  width: auto;
  min-width: 240px;
  min-height: 44px;
  height: auto;
  padding: .65rem 1rem;
  line-height: 1.25;
}

#header .hero-actions .whatsapp-button {
  background: var(--energy-whatsapp) !important;
  border: 0;
  box-shadow: 0 5px 16px rgba(0, 0, 0, .16);
}

#header .hero-proof {
  display: flex;
  justify-content: center;
  gap: .55rem;
  flex-wrap: wrap;
  margin-top: .85rem;
}

#header .hero-proof span {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .35rem .65rem;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  color: #fff;
  font-size: .82rem;
  line-height: 1.2;
}

/* Fester WhatsApp-Button, links damit der Cookie-Button rechts frei bleibt */
.whatsapp-float {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 9997;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 52px;
  padding: .7rem 1rem;
  border: 0 !important;
  border-radius: 999px;
  background: var(--energy-whatsapp);
  color: #fff !important;
  box-shadow: 0 10px 28px rgba(0,0,0,.24);
  text-decoration: none !important;
  font-weight: 700;
  line-height: 1;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.whatsapp-float i {
  font-size: 1.35rem;
}

.whatsapp-float:hover {
  background: #1dbb59;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(0,0,0,.28);
}

.whatsapp-float:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

@media (max-width: 980px) {
  .energy-trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .energy-service-grid,
  .energy-promise-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .energy-process-card:last-child {
    grid-column: 1 / -1;
    min-height: auto;
  }
}

@media (max-width: 736px) {
  .energy-container {
    width: min(100% - 24px, 1120px);
  }

  .energy-section-heading {
    margin-bottom: 1.4rem !important;
  }

  .energy-section-heading h2 {
    font-size: 1.55rem;
  }

  .energy-trust-grid,
  .energy-service-grid,
  .energy-promise-grid,
  .energy-process-grid,
  .home-faq-list,
  .energy-about-grid,
  .energy-pv-grid {
    grid-template-columns: 1fr;
  }

  .energy-process-card,
  .energy-process-card:last-child {
    grid-column: auto;
    min-height: auto;
  }

  .energy-about-copy,
  .energy-pv-grid {
    text-align: center;
  }

  .energy-about-copy p,
  .energy-pv-grid p {
    text-align: left;
  }

  #einsatzgebiet-karte {
    height: 320px;
  }

  #header .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  #header .hero-actions .button {
    width: min(100%, 360px);
  }

  #header .hero-proof {
    gap: .35rem;
  }

  .whatsapp-float {
    left: 14px;
    bottom: 14px;
    width: 52px;
    height: 52px;
    min-height: 52px;
    padding: 0;
  }

  .whatsapp-float span {
    display: none;
  }
}

@media (max-width: 480px) {
  .energy-trust-card,
  .energy-service-card,
  .energy-promise-card,
  .energy-process-card {
    border-radius: 12px;
  }

  .energy-cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .energy-cta-row .button {
    min-width: 0;
    width: 100% !important;
  }

  #einsatzgebiet-karte {
    height: 280px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .whatsapp-float,
  .energy-trust-card,
  .energy-service-card,
  .energy-promise-card {
    transition: none !important;
  }
}

/* ===== Optische Verfeinerung: lebendige Hover-Zustände ===== */
.energy-trust-card,
.energy-service-card,
.energy-promise-card,
.energy-process-card,
.home-faq-list details,
#bewertungen .write-review-btn,
.energy-pv-logo,
.energy-about-photo img {
  transition:
    transform .24s cubic-bezier(.2,.75,.25,1),
    box-shadow .24s ease,
    border-color .24s ease,
    background-color .24s ease,
    filter .24s ease;
}

.energy-trust-card > i,
.energy-service-card .energy-icon,
.energy-promise-card > i,
.energy-process-card .energy-step-number {
  transition: transform .24s cubic-bezier(.2,.75,.25,1), background .24s ease, color .24s ease;
}

@media (hover: hover) and (pointer: fine) {
  .energy-trust-card:hover,
  .energy-service-card:hover,
  .energy-promise-card:hover,
  .energy-process-card:hover {
    transform: translateY(-8px) scale(1.012);
    border-color: rgba(11, 120, 209, .38);
    box-shadow: 0 20px 42px rgba(18, 54, 109, .18);
  }

  .energy-trust-card:hover {
    background: linear-gradient(180deg, #fff 0%, #f4fbff 100%);
  }

  .energy-service-card:hover,
  .energy-promise-card:hover {
    background: linear-gradient(180deg, #fff 0%, #f7fbff 100%);
  }

  .energy-trust-card:hover > i,
  .energy-service-card:hover .energy-icon,
  .energy-promise-card:hover > i {
    transform: translateY(-2px) scale(1.12) rotate(-3deg);
    background: linear-gradient(135deg, #d7efff, #d9f8ec);
  }

  .energy-process-card:hover .energy-step-number {
    transform: translateY(-2px) scale(1.1) rotate(-3deg);
    box-shadow: 0 9px 18px rgba(30, 64, 175, .26);
  }

  .home-faq-list details:hover {
    transform: translateY(-4px);
    border-color: rgba(96, 165, 250, .72);
    box-shadow: 0 14px 28px rgba(8, 35, 72, .2);
  }

  .home-faq-list details:hover summary::after {
    transform: translateY(-50%) scale(1.18);
  }

  #bewertungen .write-review-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(66, 133, 244, .3);
    background: #2f73df;
  }

  .energy-about-photo img:hover {
    transform: translateY(-6px) scale(1.025);
    box-shadow: 0 26px 52px rgba(19, 54, 109, .24);
  }

  .energy-pv-logo:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 42px rgba(8, 35, 72, .24);
  }
}

.energy-trust-card:focus-within,
.energy-service-card:focus-within,
.energy-promise-card:focus-within,
.energy-process-card:focus-within,
.home-faq-list details:focus-within {
  outline: 3px solid rgba(11, 120, 209, .3);
  outline-offset: 3px;
}

/* FAQ-CTA: lange Beschriftung darf nicht gequetscht werden. */
.energy-wide-cta {
  width: min(100%, 460px) !important;
  min-width: min(460px, 100%) !important;
  max-width: 100% !important;
  min-height: 54px !important;
  height: auto !important;
  padding: .9rem 1.5rem !important;
  line-height: 1.25 !important;
  white-space: normal !important;
}

/* Header nach Entfernung der beiden großen Aktionsbuttons kompakter. */
#header .hero-proof {
  margin-top: 1rem;
}

#header .desktop-nav {
  margin-top: 14px !important;
}

/* Durchgehend wechselnde hell/dunkel Reihenfolge am Seitenende. */
.energy-pv-section.style2 {
  border-top: 0;
}

.energy-pv-section.style2 .energy-pv-grid,
.energy-pv-section.style2 .energy-pv-grid p,
.energy-pv-section.style2 .energy-pv-grid strong,
.energy-pv-section.style2 .energy-pv-grid a:not(.button) {
  color: #fff;
}

.energy-pv-section.style2 .energy-pv-logo {
  padding: 1.25rem;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 18px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 14px 32px rgba(8, 35, 72, .16);
}

.energy-final-cta.style1 h2 {
  color: var(--energy-navy);
}

.energy-final-cta.style1 p {
  color: var(--energy-muted);
}

/* Aktiver Navigationspunkt. */
.desktop-nav a[aria-current="page"],
.desktop-nav a[aria-current="location"] {
  background: rgba(255,255,255,.2) !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.55), 0 8px 18px rgba(15,23,42,.16);
  transform: translateY(-1px);
}

.mobile-nav a[aria-current="page"],
.mobile-nav a[aria-current="location"] {
  background: #eaf3ff !important;
  color: var(--energy-navy) !important;
  font-weight: 700;
}

@media (max-width: 600px) {
  nav.mobile-nav {
    position: fixed !important;
    top: var(--mobile-nav-top, 210px) !important;
    right: 12px !important;
    left: 12px !important;
    width: auto !important;
    max-width: none !important;
    max-height: 0;
    overflow-y: auto;
  }

  nav.mobile-nav.visible {
    max-height: min(70vh, 520px);
  }
}

@media (max-width: 480px) {
  .energy-wide-cta {
    min-width: 0 !important;
    width: 100% !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .energy-trust-card,
  .energy-service-card,
  .energy-promise-card,
  .energy-process-card,
  .home-faq-list details,
  #bewertungen .write-review-btn,
  .energy-pv-logo,
  .energy-about-photo img,
  .energy-trust-card > i,
  .energy-service-card .energy-icon,
  .energy-promise-card > i,
  .energy-process-card .energy-step-number {
    transition: none !important;
    transform: none !important;
  }
}

/* Feinschliff für die fünf Kennzahlen und Aktionsbuttons. */
#fakten .fact-box--1 .fact-head {
  font-size: clamp(1.6rem, 2.1vw, 1.95rem);
  overflow-wrap: anywhere;
}

.home-faq-list summary::after,
.energy-service-card::after {
  transition: transform .22s ease, height .22s ease, opacity .22s ease;
}

@media (hover: hover) and (pointer: fine) {
  .energy-service-card:hover::after {
    height: 6px;
    opacity: 1;
  }

  .energy-cta-row .button:hover {
    transform: translateY(-3px) scale(1.025) !important;
    box-shadow: 0 12px 24px rgba(8, 35, 72, .2) !important;
  }
}


/* ===== Stabiler Theme-, Lesbarkeits- und Interaktions-Fix V3 ===== */
/* Die Farbfolge der Startseite darf nicht vom Cookie-Status abhängen. */
.main.energy-fixed-light {
  background: #fff !important;
  background-image: none !important;
  color: #666 !important;
}

.main.energy-fixed-dark {
  background-color: #333 !important;
  color: rgb(255 255 255 / .78) !important;
  background-attachment: fixed, fixed !important;
  background-image: url(images/overlay1.png), url(../../images/header.jpg) !important;
  background-size: auto, cover !important;
}

.main.energy-fixed-dark :is(h1, h2, h3, h4, h5, h6, strong, b),
.main.energy-fixed-dark header p {
  color: #fff;
}

/* Weiße Ablaufkarten benötigen unabhängig vom dunklen Abschnitt dunkle Texte. */
.main.energy-fixed-dark .energy-process-card h3 {
  color: var(--energy-navy) !important;
}

.main.energy-fixed-dark .energy-process-card p {
  color: var(--energy-muted) !important;
}

/* Geöffnete FAQ-Karten dürfen die geschlossene Nachbarkarte nicht in die Höhe ziehen. */
.home-faq-list {
  align-items: start;
}

.home-faq-list details {
  width: 100%;
}

/* Die erste Kennzahl bleibt auf Desktop in einer Zeile. */
@media (min-width: 721px) {
  #fakten .fact-box--1 .fact-head {
    font-size: clamp(1.52rem, 1.75vw, 1.78rem);
    white-space: nowrap;
    overflow-wrap: normal;
    word-break: normal;
  }
}

/* Leistungen/Ablauf dürfen nach dem Klick nicht wie dauerhaft gehovert wirken. */
.desktop-nav a[aria-current="location"] {
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
}

@media (max-width: 600px) {
  /* Mehr Luft zwischen dem letzten Service-Hinweis und der mobilen Navigation. */
  #header .hero-proof {
    margin-bottom: .9rem !important;
  }

  #nav-toggle {
    margin-top: .35rem !important;
  }
}

/* ===== Feinschliff V4: CTA, Cookie-Ansicht, FAQ und Partnerseite ===== */

/* CTA-Schaltflächen einheitlich ohne weißen Innenrahmen. Die Navigation bleibt unberührt. */
.energy-cta-row .button,
.energy-cta-row a.button,
.main.style2 .energy-cta-row .button,
.main.style2 .energy-cta-row a.button,
.energy-cta-row .button.primary,
.main.style2 .energy-cta-row .button.primary,
.energy-cta-row .whatsapp-button {
  border: 0 !important;
  box-shadow: 0 8px 20px rgba(8, 35, 72, .16) !important;
}

.energy-cta-row .button:hover,
.energy-cta-row a.button:hover,
.main.style2 .energy-cta-row .button:hover,
.main.style2 .energy-cta-row a.button:hover {
  box-shadow: 0 12px 26px rgba(8, 35, 72, .22) !important;
}

/* Hash-Sprunglinks im Header erhalten keinen dauerhaften Sonderzustand. */
.desktop-nav a[aria-current="location"],
.mobile-nav a[aria-current="location"] {
  background: inherit !important;
  color: inherit !important;
  box-shadow: inherit !important;
  transform: none !important;
}

/* Bei abgelehnten optionalen Cookies entfällt der Bewertungsabschnitt.
   Der erste Inhaltsblock übernimmt dann bewusst den dunklen Stil, damit die Reihenfolge stimmt. */
body.consent-declined #energie-service.energy-fixed-light {
  background-color: #333 !important;
  color: rgba(255, 255, 255, .82) !important;
  background-attachment: fixed, fixed !important;
  background-image: url(images/overlay1.png), url(../../images/header.jpg) !important;
  background-size: auto, cover !important;
}

body.consent-declined #energie-service .energy-section-heading h2,
body.consent-declined #energie-service .energy-section-heading p,
body.consent-declined #energie-service .energy-lead {
  color: #fff !important;
}

body.consent-declined #energie-service .energy-kicker {
  color: #dff7ff !important;
}

body.consent-declined #energie-service .energy-microcopy {
  color: rgba(255, 255, 255, .82) !important;
}

/* Solar: Wird der Bewertungsblock ohne optionale Cookies entfernt,
   wechselt der nachfolgende Hinweisblock auf hell und hält die Abfolge sauber. */
body.consent-declined #solar-hinweis.main.style2 {
  background: #fff !important;
  background-image: none !important;
  color: #666 !important;
}

body.consent-declined #solar-hinweis.main.style2 :is(h1, h2, h3, h4, h5, h6, strong, b) {
  color: #555 !important;
}

body.consent-declined #solar-hinweis.main.style2 p {
  color: #666 !important;
}

/* FAQ: zwei unabhängige Spalten verhindern Leerflächen beim Öffnen einer Karte. */
.home-faq-list {
  align-items: start;
}

.home-faq-column {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: .8rem;
}

.home-faq-column details {
  flex: 0 0 auto;
}

/* Kompakter WhatsApp-Button auf der Kontaktseite. */
#kontakt-scope .contact-whatsapp-compact {
  display: inline-flex !important;
  width: auto !important;
  min-width: 170px !important;
  max-width: 220px !important;
  min-height: 44px !important;
  height: auto !important;
  padding: .65rem 1.05rem !important;
  gap: .55rem;
  border: 0 !important;
  border-radius: 8px !important;
  box-shadow: 0 7px 18px rgba(16, 105, 58, .18) !important;
  text-transform: uppercase;
  letter-spacing: .08em;
}

#kontakt-scope .contact-whatsapp-compact i {
  margin: 0 !important;
  font-size: 1.2em;
}

/* Tippgeber-Bereich auf der Partnerseite. */
.partner-container {
  width: min(1100px, calc(100% - 32px));
  max-width: 1100px !important;
  margin: 0 auto !important;
}

.partner-heading {
  max-width: 860px;
  margin: 0 auto 2rem !important;
  text-align: center;
}

.partner-heading p {
  max-width: 800px;
  margin: 0 auto;
}

.partner-tip-grid,
.partner-tip-areas {
  display: grid;
  gap: 1rem;
}

.partner-tip-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.partner-tip-card,
.partner-tip-areas article {
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 16px;
  background: rgba(255, 255, 255, .96);
  color: var(--energy-text);
  box-shadow: 0 12px 30px rgba(8, 35, 72, .16);
  text-align: left;
}

.partner-tip-card {
  padding: 1.35rem;
}

.partner-tip-card > i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: .75rem;
  border-radius: 13px;
  background: linear-gradient(135deg, #e5f5ff, #e7f9f3);
  color: var(--energy-blue-dark);
}

.partner-referral-section .partner-tip-card h3,
.partner-referral-section .partner-tip-areas h3 {
  color: var(--energy-navy) !important;
  font-weight: 700;
}

.partner-referral-section .partner-tip-card p,
.partner-referral-section .partner-tip-areas p {
  color: var(--energy-muted) !important;
}

.partner-tip-areas {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1rem;
}

.partner-tip-areas article {
  padding: 1.25rem 1.35rem;
}

.partner-tip-areas h3 i {
  margin-right: .35rem;
  color: var(--energy-blue-dark);
}

.partner-legal-note {
  max-width: 900px;
  margin: 1.25rem auto 0;
  color: rgba(255, 255, 255, .86) !important;
  text-align: center;
  font-size: .92rem;
}

@media (hover: hover) and (pointer: fine) {
  .partner-tip-card,
  .partner-tip-areas article {
    transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
  }

  .partner-tip-card:hover,
  .partner-tip-areas article:hover {
    transform: translateY(-6px);
    border-color: rgba(96, 165, 250, .72);
    box-shadow: 0 20px 42px rgba(8, 35, 72, .24);
  }
}

@media (max-width: 736px) {
  .home-faq-list {
    display: flex;
    flex-direction: column;
  }

  .home-faq-column {
    display: contents;
  }

  .home-faq-list details[data-faq-order="1"] { order: 1; }
  .home-faq-list details[data-faq-order="2"] { order: 2; }
  .home-faq-list details[data-faq-order="3"] { order: 3; }
  .home-faq-list details[data-faq-order="4"] { order: 4; }
  .home-faq-list details[data-faq-order="5"] { order: 5; }
  .home-faq-list details[data-faq-order="6"] { order: 6; }

  .partner-tip-grid,
  .partner-tip-areas {
    grid-template-columns: 1fr;
  }

  #kontakt-scope .contact-whatsapp-compact {
    width: 100% !important;
    max-width: 260px !important;
  }
}



/* ===== Finaler Feinschliff V4.1 ===== */
/* Alle farbigen Inhalts-CTAs ohne weißen bzw. eingezogenen Rahmen. */
#main-content a.button:not(.affiliate-button),
#main-content button.button:not(.affiliate-button),
.main a.button:not(.affiliate-button),
.main button.button:not(.affiliate-button),
section a.button:not(.affiliate-button),
section button.button:not(.affiliate-button) {
  border: 0 !important;
  box-shadow: 0 8px 20px rgba(8, 35, 72, .16) !important;
}

#main-content a.button:not(.affiliate-button):hover,
#main-content button.button:not(.affiliate-button):hover,
.main a.button:not(.affiliate-button):hover,
.main button.button:not(.affiliate-button):hover,
section a.button:not(.affiliate-button):hover,
section button.button:not(.affiliate-button):hover {
  box-shadow: 0 12px 26px rgba(8, 35, 72, .22) !important;
}

/* Ein angesprungener Header-Link sieht wieder wie die übrigen Navigationsbuttons aus. */
#header .desktop-nav a[aria-current="location"] {
  background: transparent !important;
  color: #fff !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .72) !important;
  transform: none !important;
}

/* Der erste Inhaltsabschnitt bleibt bei abgelehnten optionalen Cookies sicher dunkel/grau. */
html body.consent-declined #energie-service.main.style1,
html body.consent-declined #energie-service.energy-fixed-light {
  background-color: #333 !important;
  background-image: url(images/overlay1.png), url(../../images/header.jpg) !important;
  background-attachment: fixed, fixed !important;
  background-size: auto, cover !important;
  color: rgba(255, 255, 255, .82) !important;
}

html body.consent-declined #energie-service .energy-section-heading :is(h2, p),
html body.consent-declined #energie-service .energy-kicker,
html body.consent-declined #energie-service .energy-microcopy {
  color: #fff !important;
}

/* Die FAQ-Spalten wachsen unabhängig voneinander; geöffnete Karten verschieben nur ihre eigene Spalte. */
.home-faq-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start !important;
}

.home-faq-column {
  align-self: start;
}

/* Kontaktseite: kompakter WhatsApp-CTA mit nur Icon und Bezeichnung. */
#kontakt-scope .contact-whatsapp-compact span {
  display: inline !important;
  white-space: nowrap;
}

@media (max-width: 736px) {
  .home-faq-list {
    grid-template-columns: 1fr;
  }
}

/* FAQ: Maus-Klick erzeugt keinen dauerhaft blauen Außenrahmen; Tastaturfokus bleibt sichtbar. */
.home-faq-list details:focus-within {
  outline: none !important;
}

.home-faq-list summary:focus-visible {
  outline: 3px solid rgba(11, 120, 209, .34);
  outline-offset: -3px;
  border-radius: 10px;
}

/* ===== Feinschliff V5: Partnerseite, Translate-Abstand und Kontakt-WhatsApp ===== */

/* Der Übersetzer-Host darf im Dokumentfluss keine eigene Zeile erzeugen. */
#translate-placeholder {
  position: fixed !important;
  inset: 0 auto auto 0 !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  display: block;
  z-index: 2147483646;
}

#translate-placeholder:empty {
  display: none !important;
}

#main-content,
#page-root {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Falls bei abgelehnten Cookies während des dynamischen Ladens noch ein Zwischenraum entsteht,
   erhält er dieselbe Grundfarbe wie der erste dunkle Startseitenabschnitt. */
body.consent-declined #main-content:has(#energie-service) {
  background-color: #333;
}

/* Kontaktseite: schlanker, klarer WhatsApp-Button mit weißer Schrift. */
#kontakt-scope a.contact-whatsapp-compact,
#kontakt-scope a.contact-whatsapp-compact:visited {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-width: 150px !important;
  max-width: 180px !important;
  min-height: 40px !important;
  height: 40px !important;
  padding: 0 .9rem !important;
  gap: .5rem !important;
  border: 0 !important;
  border-radius: 7px !important;
  background: #25d366 !important;
  color: #fff !important;
  box-shadow: 0 5px 14px rgba(16, 105, 58, .2) !important;
  font-size: .86rem !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  letter-spacing: .065em !important;
  text-transform: uppercase;
}

#kontakt-scope a.contact-whatsapp-compact i,
#kontakt-scope a.contact-whatsapp-compact span {
  color: #fff !important;
  line-height: 1 !important;
}

#kontakt-scope a.contact-whatsapp-compact i {
  font-size: 1.1rem !important;
}

#kontakt-scope a.contact-whatsapp-compact:hover {
  background: #1ab74e !important;
  color: #fff !important;
  transform: translateY(-2px) scale(1.02) !important;
  box-shadow: 0 8px 18px rgba(16, 105, 58, .26) !important;
}

/* Partnerseite: Energiemakler und Tippgeber nutzen dieselbe visuelle Struktur. */
.partner-role-section {
  overflow: hidden;
}

.partner-role-section .partner-heading h2 {
  margin-top: .45rem;
  margin-bottom: .8rem;
  font-weight: 600;
}

.partner-role-section.style1 .partner-heading h2 {
  color: var(--energy-navy) !important;
}

.partner-role-section.style1 .partner-heading p {
  color: var(--energy-muted) !important;
}

.partner-role-section.style2 .partner-heading h2,
.partner-role-section.style2 .partner-heading p {
  color: #fff !important;
}

.partner-role-grid,
.partner-detail-grid {
  display: grid;
  gap: 1rem;
}

.partner-role-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.partner-detail-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1rem;
}

.partner-role-card,
.partner-detail-card {
  min-width: 0;
  border: 1px solid var(--energy-border);
  border-radius: 16px;
  background: rgba(255, 255, 255, .97);
  color: var(--energy-text);
  box-shadow: 0 12px 30px rgba(8, 35, 72, .13);
  text-align: left;
  transition: transform .24s cubic-bezier(.2,.75,.25,1), box-shadow .24s ease, border-color .24s ease, background .24s ease;
}

.partner-role-section.style1 .partner-role-card,
.partner-role-section.style1 .partner-detail-card {
  background: linear-gradient(180deg, #fff 0%, #f7fbff 100%);
}

.partner-role-card {
  padding: 1.4rem 1.3rem;
  text-align: center;
}

.partner-role-card > i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: .8rem;
  border-radius: 14px;
  background: linear-gradient(135deg, #e5f5ff, #e7f9f3);
  color: var(--energy-blue-dark);
  font-size: 1.2rem;
  transition: transform .24s cubic-bezier(.2,.75,.25,1), background .24s ease;
}

.partner-role-card h3,
.partner-detail-card h3 {
  margin: 0 0 .55rem;
  color: var(--energy-navy) !important;
  font-size: 1.08rem;
  line-height: 1.3;
  font-weight: 700;
}

.partner-role-card p,
.partner-detail-card p,
.partner-detail-card li {
  color: var(--energy-muted) !important;
  font-size: .95rem;
  line-height: 1.55;
}

.partner-role-card p {
  margin: 0;
}

.partner-detail-card {
  padding: 1.35rem 1.45rem;
}

.partner-detail-card h3 i {
  margin-right: .4rem;
  color: var(--energy-blue-dark);
}

.partner-detail-card ul {
  margin: .2rem 0 0;
  padding-left: 1.25rem;
  list-style: none;
}

.partner-detail-card li {
  position: relative;
  margin: 0 0 .55rem;
  padding-left: 1.05rem;
}

.partner-detail-card li:last-child {
  margin-bottom: 0;
}

.partner-detail-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--energy-blue-dark);
  font-weight: 800;
}

.partner-note {
  max-width: 900px;
  margin: 1.25rem auto 0;
  text-align: center;
  font-size: .92rem;
  line-height: 1.55;
}

.partner-note--light {
  color: var(--energy-muted) !important;
}

.partner-note--dark {
  color: rgba(255, 255, 255, .86) !important;
}

@media (hover: hover) and (pointer: fine) {
  .partner-role-card:hover,
  .partner-detail-card:hover {
    transform: translateY(-7px) scale(1.01);
    border-color: rgba(11, 120, 209, .4);
    box-shadow: 0 20px 42px rgba(8, 35, 72, .22);
  }

  .partner-role-card:hover > i {
    transform: translateY(-2px) scale(1.12) rotate(-3deg);
    background: linear-gradient(135deg, #d7efff, #d9f8ec);
  }
}

@media (max-width: 820px) {
  .partner-role-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .partner-role-grid .partner-role-card:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 736px) {
  .partner-role-grid,
  .partner-detail-grid {
    grid-template-columns: 1fr;
  }

  .partner-role-grid .partner-role-card:last-child {
    grid-column: auto;
  }

  #kontakt-scope a.contact-whatsapp-compact {
    width: auto !important;
    min-width: 145px !important;
    max-width: 180px !important;
  }
}

/* Konkretes Preisbeispiel: Flyer-Klarheit kombiniert mit dem Website-Stil */
.energy-price-example {
  max-width: 1040px;
  margin: 2.2rem auto 0;
  padding: clamp(1.1rem, 2.7vw, 2rem);
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 22px;
  background: rgba(255, 255, 255, .08);
  box-shadow: 0 18px 46px rgba(7, 24, 52, .2);
  backdrop-filter: blur(3px);
}

.energy-price-example__header {
  max-width: 820px;
  margin: 0 auto 1.45rem;
  text-align: center;
}

.energy-price-example__eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: .55rem;
  padding: .32rem .72rem;
  border-radius: 999px;
  background: rgba(113, 190, 47, .18);
  color: #e7ffd5;
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.energy-price-example__header h3 {
  margin: 0 0 .5rem;
  color: #fff;
  font-size: clamp(1.45rem, 2.7vw, 2.15rem);
  line-height: 1.18;
}

.energy-price-example__header p {
  margin: 0;
  color: #e2e8f0;
  font-size: .98rem;
  line-height: 1.55;
}

.energy-price-example__header p strong {
  color: #fff;
  font-weight: 800;
}

.energy-price-comparison {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: clamp(.9rem, 2vw, 1.35rem);
}

.energy-price-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(220, 230, 241, .95);
  border-radius: 18px;
  background: #fff;
  color: var(--energy-text);
  text-align: left;
  box-shadow: 0 12px 30px rgba(5, 25, 52, .18);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.energy-price-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(5, 25, 52, .25);
}

.energy-price-card--basic:hover {
  border-color: rgba(211, 47, 38, .55);
}

.energy-price-card--offer {
  border-color: rgba(73, 145, 25, .55);
}

.energy-price-card--offer:hover {
  border-color: rgba(73, 145, 25, .85);
}

.energy-price-card__brand {
  min-height: 112px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .15rem;
  padding: 1rem 1.1rem;
  color: #fff;
  text-align: center;
  position: relative;
}

.energy-price-card__brand--basic {
  background: linear-gradient(135deg, #ef2a18 0%, #bd1d16 100%);
}

.energy-price-card__brand--offer {
  background: linear-gradient(135deg, #6dad22 0%, #347e12 100%);
}

.energy-price-card__brand-name {
  color: #fff;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 900;
  letter-spacing: .02em;
  line-height: 1;
}

.energy-price-card__brand-subtitle {
  color: #fff;
  font-size: .93rem;
  font-weight: 900;
  letter-spacing: .065em;
  line-height: 1.25;
  text-transform: uppercase;
}

.energy-price-card__brand img {
  display: block;
  width: auto;
  max-width: 190px;
  max-height: 45px;
  padding: .42rem .72rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, .96);
  object-fit: contain;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .12);
}

.energy-price-card__selection {
  position: absolute;
  top: .55rem;
  right: .6rem;
  padding: .22rem .48rem;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 999px;
  background: rgba(4, 62, 24, .28);
  color: #fff;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.energy-price-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: clamp(1rem, 2.2vw, 1.35rem);
}

.energy-price-details {
  display: grid;
  gap: .2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.energy-price-details li {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: .85rem;
  padding: .58rem 0;
  border-bottom: 1px solid #e4eaf0;
  color: #35465b;
  font-size: .92rem;
  line-height: 1.35;
}

.energy-price-details strong {
  color: var(--energy-navy);
  text-align: right;
  white-space: nowrap;
}

.energy-price-total {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 1rem 0 .8rem;
  padding: 1rem .5rem .85rem;
  border-top: 2px solid #d8dee6;
  border-bottom: 1px solid #e4eaf0;
  text-align: center;
}

.energy-price-total small {
  margin-bottom: .42rem;
  color: #27384b;
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.energy-price-total strong {
  color: #d32920;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 900;
  letter-spacing: -.035em;
  line-height: 1;
}

.energy-price-card--offer .energy-price-total strong {
  color: #438d19;
}

.energy-price-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .42rem;
  margin: 0 0 .85rem;
}

.energy-price-features span {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .34rem .55rem;
  border-radius: 999px;
  background: #edf8e7;
  color: #256b16;
  font-size: .72rem;
  font-weight: 800;
  line-height: 1.25;
}

.energy-price-verdict {
  min-height: 54px;
  display: flex;
  align-items: center;
  gap: .7rem;
  margin-top: auto;
  padding-top: .85rem;
  border-top: 1px solid #e4eaf0;
  color: #26384c;
  font-size: .86rem;
  font-weight: 700;
  line-height: 1.35;
}

.energy-price-verdict i {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  font-size: 1rem;
}

.energy-price-verdict--negative i {
  background: #e52b20;
}

.energy-price-verdict--positive i {
  background: #4a981a;
}

.energy-price-savings-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(.9rem, 2.4vw, 1.5rem);
  margin-top: 1.15rem;
  padding: clamp(1rem, 2.4vw, 1.35rem) clamp(1rem, 3vw, 2rem);
  border: 1px solid rgba(126, 211, 33, .55);
  border-radius: 17px;
  background: linear-gradient(135deg, #061b30 0%, #0c2f4a 100%);
  color: #fff;
  text-align: center;
  box-shadow: 0 14px 32px rgba(3, 17, 31, .3);
}

.energy-price-savings-banner__icon {
  flex: 0 0 74px;
  width: 74px;
  height: 74px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #78bb21, #3c8a12);
  color: #fff;
  font-size: 2rem;
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, .14), 0 8px 18px rgba(51, 128, 12, .3);
}

.energy-price-savings-banner__copy {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.energy-price-savings-banner__copy > span {
  color: #fff;
  font-size: .86rem;
  font-weight: 900;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.energy-price-savings-banner__copy strong {
  margin: .2rem 0 .12rem;
  color: #80c629;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  letter-spacing: -.035em;
  line-height: 1;
}

.energy-price-savings-banner__copy small {
  color: #e2e8f0;
  font-size: .86rem;
  line-height: 1.4;
}

.energy-price-note {
  max-width: 920px;
  margin: .95rem auto 0;
  color: #d4dfeb;
  font-size: .78rem;
  line-height: 1.55;
  text-align: center;
}

@media (max-width: 760px) {
  .energy-price-comparison {
    grid-template-columns: 1fr;
  }

  .energy-price-card__brand {
    min-height: 102px;
  }

  .energy-price-savings-banner {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .energy-price-example {
    padding: .9rem;
    border-radius: 17px;
  }

  .energy-price-example__header p {
    font-size: .9rem;
  }

  .energy-price-card__body {
    padding: 1rem;
  }

  .energy-price-card__brand img {
    max-width: 165px;
  }

  .energy-price-card__selection {
    position: static;
    margin-bottom: .22rem;
  }

  .energy-price-details li {
    gap: .5rem;
    font-size: .86rem;
  }

  .energy-price-total strong {
    font-size: 2.15rem;
  }

  .energy-price-verdict {
    font-size: .81rem;
  }

  .energy-price-savings-banner__icon {
    flex-basis: 64px;
    width: 64px;
    height: 64px;
    font-size: 1.7rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .energy-price-card {
    transition: none;
  }

  .energy-price-card:hover {
    transform: none;
  }
}

/* Farben innerhalb der hellen Vergleichskarten gegen globale style2-Regeln absichern */
#fakten .energy-price-card .energy-price-details,
#fakten .energy-price-card .energy-price-details span,
#fakten .energy-price-card .energy-price-verdict {
  color: #35465b;
}

#fakten .energy-price-card .energy-price-details strong {
  color: var(--energy-navy);
}

#fakten .energy-price-card--basic .energy-price-total strong {
  color: #d32920;
}

#fakten .energy-price-card--offer .energy-price-total strong {
  color: #438d19;
}

#fakten .energy-price-savings-banner__copy strong {
  color: #80c629;
}

/* ===== V8: Preisvergleich + Partner als eigener heller Abschnitt ===== */
.energy-price-partners-section {
  --bg: #fff;
}

.energy-price-partners-section .energy-price-example {
  margin-top: 0;
  border-color: #dbe4ee;
  background: linear-gradient(180deg, #f8fafc 0%, #f3f6f9 100%);
  box-shadow: 0 18px 42px rgba(8, 35, 72, .12);
  backdrop-filter: none;
}

.energy-price-partners-section .energy-price-example__eyebrow {
  background: #e9f5df;
  color: #4a811f;
}

.energy-price-partners-section .energy-price-example__header h3,
.energy-price-partners-section .partners-title {
  color: var(--energy-navy);
}

.energy-price-partners-section .energy-price-example__header p,
.energy-price-partners-section .energy-price-note {
  color: var(--energy-muted);
}

.energy-price-partners-section .energy-price-example__header p strong {
  color: var(--energy-navy);
}

.energy-price-partners-section .partners {
  margin-top: 1.25rem;
  padding-top: 1.4rem;
  padding-bottom: .5rem;
}

.energy-price-partners-section .partners-viewport {
  border-color: #dbe4ee;
  background: #fff;
  box-shadow: 0 10px 24px rgba(8, 35, 72, .07);
}

/* Nach abgelehnten Cookies bleiben die Partnerlogos auf dem weißen Abschnitt sichtbar. */
body.consent-declined .energy-price-partners-section .partner-item img {
  filter: grayscale(1) contrast(1.05) brightness(1) !important;
}

/* Die nun helle FAQ-Sektion braucht sichtbare Kartenkanten auch ohne Hover. */
.home-faq-section.style1 .home-faq-list details {
  border-color: #dbe4ee;
  box-shadow: 0 8px 22px rgba(8, 35, 72, .08);
}

/* Lesbarkeit der nachfolgenden, alternierenden Abschnitte. */
#ueber-mich.style2 .energy-about-copy p {
  color: rgba(255, 255, 255, .84);
}

#einsatzgebiet.style2 #einsatzgebiet-fallback {
  border-color: rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .96);
  color: var(--energy-text);
}

#einsatzgebiet.style2 #einsatzgebiet-fallback :is(p, li, strong) {
  color: var(--energy-text) !important;
}

/* Einsatzgebiet: Begleittexte müssen auch bei aktivierter Google-Maps-Einbindung
   auf dem dunklen Hintergrund klar lesbar bleiben. */
#einsatzgebiet.style2 .energy-map-copy,
#einsatzgebiet.energy-fixed-dark .energy-map-copy {
  color: rgba(255, 255, 255, .88) !important;
}

/* ===== V10: Preisvergleich, Google-Bewertungen und Header-Hinweise ===== */

/* Auch die Grundversorgung erhält eine kompakte Merkmalszeile, damit beide
   Vergleichskarten optisch gleichgewichtig aufgebaut sind. */
.energy-price-features--basic span {
  border: 1px solid #f0c9c5;
  background: #fff1ef;
  color: #a52b24;
}

/* Google-Logo und Bewertungssterne sind reine Informationen und sollen
   bewusst keine Hover-Reaktion auslösen. */
#bewertungen .google-header,
#bewertungen .google-header:hover,
#bewertungen .rating-info,
#bewertungen .rating-info:hover {
  transform: none !important;
  box-shadow: none !important;
  filter: none !important;
}

#bewertungen .google-header *,
#bewertungen .rating-info * {
  cursor: default;
}

/* Dezenter Hover für die drei Servicehinweise im Header. */
#header .hero-proof span {
  transition:
    transform .18s ease,
    background-color .18s ease,
    border-color .18s ease,
    box-shadow .18s ease;
}

#header .hero-proof span i {
  transition: transform .18s ease;
}

@media (hover: hover) and (pointer: fine) {
  #header .hero-proof span:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, .55);
    background: rgba(255, 255, 255, .17);
    box-shadow: 0 7px 16px rgba(8, 35, 72, .16);
  }

  #header .hero-proof span:hover i {
    transform: scale(1.12);
  }
}

@media (prefers-reduced-motion: reduce) {
  #header .hero-proof span,
  #header .hero-proof span i {
    transition: none !important;
    transform: none !important;
  }
}


/* ===== V14: Mobile Navigation erweitert den Header statt als Popup mitzuscrollen ===== */
@media (max-width: 600px) {
  #header .inner {
    overflow: visible !important;
  }

  #nav-toggle {
    position: relative;
    z-index: 1;
    margin-bottom: .35rem !important;
  }

  #nav-toggle .nav-toggle-icon {
    display: inline-block;
    font-size: 1.15em;
    line-height: 1;
    transition: transform .25s ease;
  }

  #nav-toggle[aria-expanded="true"] .nav-toggle-icon {
    transform: rotate(90deg);
  }

  #header nav.mobile-nav {
    position: static !important;
    inset: auto !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    z-index: auto !important;
    width: 95% !important;
    max-width: 520px !important;
    max-height: 0;
    margin: 0 auto;
    padding: 0 .5rem;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    border: 0 solid rgba(255, 255, 255, .28);
    border-radius: 14px;
    background: rgba(255, 255, 255, .08);
    box-shadow: none;
    filter: none !important;
    transform: translateY(-8px) !important;
    will-change: max-height, opacity, transform;
    transition:
      max-height .32s ease,
      padding .32s ease,
      margin .32s ease,
      opacity .2s ease,
      transform .32s ease,
      border-width .15s ease;
  }

  #header nav.mobile-nav.visible {
    max-height: 560px;
    margin-top: .3rem;
    margin-bottom: 1rem;
    padding: .55rem;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    border-width: 1px;
    transform: translateY(0) !important;
  }

  #header nav.mobile-nav ul {
    display: grid;
    gap: .35rem;
    width: 100%;
    margin: 0;
    padding: 0;
  }

  #header nav.mobile-nav li {
    margin: 0;
  }

  #header nav.mobile-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: .55rem .85rem;
    color: #fff !important;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.2;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 9px;
    background: rgba(255, 255, 255, .08) !important;
    box-shadow: none !important;
    transition: background-color .18s ease, border-color .18s ease, transform .18s ease;
  }

  #header nav.mobile-nav a:hover,
  #header nav.mobile-nav a:focus-visible,
  #header nav.mobile-nav a[aria-current="page"] {
    color: #fff !important;
    border-color: rgba(255, 255, 255, .42);
    background: rgba(255, 255, 255, .2) !important;
  }

  #header nav.mobile-nav a:active {
    transform: scale(.985);
  }
}

@media (prefers-reduced-motion: reduce) {
  #header nav.mobile-nav,
  #nav-toggle .nav-toggle-icon {
    transition: none !important;
  }
}

/* ===== Feinschliff V15: Kontaktaktionen auf Mobilgeräten ===== */
#kontakt-scope .contact-details-list {
  margin: 0 0 1rem !important;
  padding: 0 !important;
}

#kontakt-scope .contact-details-list li {
  margin: 0 !important;
  padding: .42rem 0 !important;
  border: 0 !important;
  box-shadow: none !important;
}

#kontakt-scope .contact-direct-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: .75rem;
  margin-top: .75rem;
}

#kontakt-scope .contact-vcard-button,
#kontakt-scope .contact-vcard-button:visited {
  align-items: center !important;
  justify-content: center !important;
  gap: .45rem !important;
  min-height: 40px !important;
  height: 40px !important;
  margin: 0 !important;
  padding: 0 1rem !important;
  border: 0 !important;
  border-radius: 7px !important;
  background: #0d6efd !important;
  color: #fff !important;
  font-size: .78rem !important;
  font-weight: 700 !important;
  line-height: 1.1 !important;
  letter-spacing: .08em !important;
  text-align: center;
  text-transform: uppercase;
  box-shadow: 0 5px 14px rgba(13, 110, 253, .2) !important;
}

#kontakt-scope .contact-vcard-button:hover {
  background: #0b5ed7 !important;
  color: #fff !important;
}

@media (max-width: 820px), (hover: none) and (pointer: coarse) {
  #kontakt-scope .contact-direct-actions {
    width: 100%;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    gap: .75rem;
  }

  #kontakt-scope .contact-direct-actions > a.contact-whatsapp-compact,
  #kontakt-scope .contact-direct-actions > a.contact-vcard-button {
    display: inline-flex !important;
    width: min(100%, 290px) !important;
    min-width: 0 !important;
    max-width: 290px !important;
    min-height: 42px !important;
    height: 42px !important;
    margin: 0 !important;
  }
}


/* ===== Feinschliff V16: Mobile Kontaktbuttons unterschiedlich breit, gleich hoch ===== */
@media (max-width: 820px), (hover: none) and (pointer: coarse) {
  #kontakt-scope .contact-direct-actions > a.contact-whatsapp-compact {
    width: auto !important;
    min-width: 150px !important;
    max-width: 180px !important;
    min-height: 42px !important;
    height: 42px !important;
    padding-inline: 1rem !important;
  }

  #kontakt-scope .contact-direct-actions > a.contact-vcard-button {
    width: min(100%, 290px) !important;
    min-width: 0 !important;
    max-width: 290px !important;
    min-height: 42px !important;
    height: 42px !important;
  }
}

/* Kompakter Markenhinweis am Ende des ersten Abschnitts */
.energy-intro-brandline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  flex-wrap: wrap;
  width: 100%;
  margin: .95rem auto 0;
  text-align: center;
}

.energy-intro-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 38px;
  padding: .42rem .72rem;
  border-radius: 999px;
  border: 1px solid rgba(18, 54, 109, .12);
  background: rgba(255, 255, 255, .78);
  color: var(--energy-navy);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: -.01em;
  box-shadow: 0 10px 24px rgba(30, 64, 105, .08);
}

.energy-intro-brand img {
  flex: 0 0 auto;
  display: block;
  object-fit: contain;
}

.energy-intro-brand--energy img {
  width: 26px;
  height: 26px;
  border-radius: 999px;
}

.energy-intro-brand--insurance {
  background: linear-gradient(135deg, #2b2f3a, #141722);
  border-color: rgba(255, 255, 255, .12);
  color: #fff;
}

.energy-intro-brand--insurance img {
  width: 150px;
  max-width: 45vw;
  height: 24px;
}

.energy-price-card__brand-name--offer {
  display: block;
  margin-top: .1rem;
  font-size: clamp(1.25rem, 2.5vw, 1.85rem);
  line-height: 1.1;
}

.energy-price-card--offer .energy-price-card__brand-subtitle {
  max-width: 280px;
  letter-spacing: .045em;
}

.energy-price-card--basic .energy-price-card__brand-name {
  max-width: 280px;
  font-size: clamp(1.3rem, 2.6vw, 1.8rem);
  line-height: 1.08;
}

@media (max-width: 520px) {
  .energy-intro-brandline {
    gap: .45rem;
    margin-top: .8rem;
  }

  .energy-intro-brand {
    width: min(100%, 340px);
    justify-content: center;
    font-size: .78rem;
  }

  .energy-intro-brand--insurance img {
    width: 138px;
    max-width: 42vw;
  }
}

/* Sichtbarer SEO-/Leistungsbereich: Energie & Versicherung regional */
.energy-seo-service-area {
  position: relative;
  overflow: hidden;
}

.energy-seo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.energy-seo-card {
  padding: 1.35rem 1.25rem;
  border: 1px solid var(--energy-border);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(30, 64, 105, .08);
  text-align: left;
}

.energy-seo-card--wide {
  grid-column: 1 / -1;
}

.energy-seo-card h3 {
  margin: 0 0 .55rem;
  color: var(--energy-navy);
  font-size: 1.08rem;
  font-weight: 800;
}

.energy-seo-card p {
  margin: 0;
  color: var(--energy-muted);
  font-size: .96rem;
  line-height: 1.6;
}

@media (max-width: 760px) {
  .energy-seo-grid {
    grid-template-columns: 1fr;
  }
}


/* SEO Topic Hub und Landingpages */
.energy-topic-hub {
  margin-top: 1.75rem;
  padding: 1.25rem;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(10, 116, 184, .08), rgba(30, 184, 166, .08));
  border: 1px solid rgba(18, 54, 109, .10);
  text-align: left;
}

.energy-topic-hub h3,
.energy-landing-highlight h3 {
  margin: 0 0 .85rem;
  color: var(--energy-navy);
  font-weight: 850;
}

.energy-topic-link-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .65rem;
}

.energy-topic-link-grid a,
.energy-topic-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: .55rem .75rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(18, 54, 109, .12);
  color: var(--energy-navy);
  font-weight: 800;
  font-size: .9rem;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(30, 64, 105, .07);
}

.energy-topic-link-grid a:hover,
.energy-topic-pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(30, 64, 105, .12);
}

.energy-topic-pill--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--energy-blue), var(--energy-teal));
  border-color: transparent;
}

.energy-topic-landing .energy-section-heading {
  max-width: 920px;
}

.energy-landing-highlight {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  gap: 1rem;
  margin-top: 1.5rem;
  align-items: stretch;
}

.energy-landing-highlight > div,
.energy-landing-contact-card {
  padding: 1.35rem 1.25rem;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(18, 54, 109, .10);
  box-shadow: 0 12px 30px rgba(30, 64, 105, .08);
}

.energy-landing-highlight ul {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--energy-muted);
  line-height: 1.7;
}

.energy-landing-contact-card strong {
  display: block;
  color: var(--energy-navy);
  font-size: 1.12rem;
  margin-bottom: .45rem;
}

.energy-landing-contact-card p {
  color: var(--energy-muted);
  margin: 0 0 1rem;
}

.energy-landing-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding: 0;
  margin: 1.5rem 0 0;
  list-style: none;
}

.energy-landing-steps li {
  padding: 1.25rem;
  border-radius: 20px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.16);
  color: #fff;
}

.energy-landing-steps span {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  color: var(--energy-navy);
  font-weight: 900;
  margin-bottom: .85rem;
}

.energy-landing-steps p {
  margin: 0;
  color: rgba(255,255,255,.86);
  line-height: 1.6;
}

.energy-topic-related {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  justify-content: center;
  margin-top: 1.25rem;
}

.home-faq-column--insurance {
  margin-top: 1rem;
}

@media (max-width: 980px) {
  .energy-topic-link-grid,
  .energy-landing-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .energy-landing-highlight {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .energy-topic-link-grid,
  .energy-landing-steps {
    grid-template-columns: 1fr;
  }
  .energy-topic-link-grid a,
  .energy-topic-pill {
    justify-content: center;
    width: 100%;
  }
}


/* ===== SEO/UX Feinschliff V17: Markenleiste, FAQ-Lücke, Preislabel ===== */
.energy-intro-brandline {
  display: flex !important;
  width: min(100%, 760px) !important;
  margin: 1.05rem auto 0 !important;
  align-items: center !important;
  justify-content: center !important;
  gap: .6rem !important;
  flex-wrap: wrap !important;
  text-align: left !important;
}

.energy-intro-brandline__label {
  color: var(--energy-muted);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.energy-intro-brand {
  min-height: 46px !important;
  padding: .45rem .65rem !important;
  border-radius: 18px !important;
  background: rgba(255,255,255,.88) !important;
  border: 1px solid rgba(18,54,109,.12) !important;
  box-shadow: 0 12px 28px rgba(30,64,105,.09) !important;
}

.energy-intro-brand__copy {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.energy-intro-brand__copy strong {
  color: var(--energy-navy);
  font-size: .84rem;
  font-weight: 900;
}

.energy-intro-brand__copy small {
  color: var(--energy-muted);
  font-size: .72rem;
  font-weight: 800;
}

.energy-intro-brand--energy img {
  width: 30px !important;
  height: 30px !important;
  border-radius: 999px !important;
}

.energy-intro-brand--insurance {
  gap: .62rem !important;
  color: var(--energy-navy) !important;
}

.energy-intro-brand__logo-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  height: 34px;
  padding: .34rem .6rem;
  border-radius: 12px;
  background: linear-gradient(135deg, #242833, #111827);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
}

.energy-intro-brand--insurance .energy-intro-brand__logo-box img {
  width: 132px !important;
  max-width: 132px !important;
  height: auto !important;
  max-height: 26px !important;
  object-fit: contain !important;
}

.energy-price-card__selection {
  display: none !important;
}

.home-faq-column--insurance {
  margin-top: 0 !important;
}

.energy-region-actions {
  margin-top: .9rem;
}

.energy-region-actions .energy-topic-pill {
  width: auto;
}

@media (max-width: 620px) {
  .energy-intro-brandline {
    align-items: stretch !important;
  }
  .energy-intro-brandline__label {
    width: 100%;
    text-align: center;
  }
  .energy-intro-brand {
    width: min(100%, 360px) !important;
  }
  .energy-intro-brand__logo-box {
    min-width: 140px;
  }
}


/* ===== Logo-Leiste transparent ohne zusätzliche Hintergründe ===== */
.energy-intro-brandline {
  gap: .95rem !important;
}

.energy-intro-brand {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: .25rem .2rem !important;
  border-radius: 0 !important;
}

.energy-intro-brand--insurance {
  background: transparent !important;
  color: var(--energy-navy) !important;
}

.energy-intro-brand__logo-box {
  min-width: 0 !important;
  width: auto !important;
  height: auto !important;
  padding: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.energy-intro-brand--insurance .energy-intro-brand__logo-box img {
  width: 158px !important;
  max-width: 34vw !important;
  height: auto !important;
  max-height: 34px !important;
  object-fit: contain !important;
}

.energy-intro-brand--energy img {
  box-shadow: none !important;
}

@media (max-width: 620px) {
  .energy-intro-brandline {
    gap: .65rem !important;
  }
  .energy-intro-brand {
    width: auto !important;
  }
  .energy-intro-brand--insurance .energy-intro-brand__logo-box img {
    width: 150px !important;
    max-width: 48vw !important;
  }
}


/* ===== Korrektur V18: Landingpage-Links unten, saubere Buttons, transparente Logos ===== */
.energy-intro-brandline__label {
  display: none !important;
}

.energy-intro-brandline {
  justify-content: center !important;
}

.energy-cta-row {
  width: 100% !important;
  max-width: 100% !important;
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: stretch !important;
  gap: .8rem !important;
  overflow: visible !important;
}

.energy-cta-row .button,
.energy-cta-row a.button,
.energy-landing-contact-card .button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: .42rem !important;
  box-sizing: border-box !important;
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  word-break: normal !important;
  overflow-wrap: anywhere !important;
  text-align: center !important;
  line-height: 1.25 !important;
  min-width: 0 !important;
}

.energy-cta-row .button,
.energy-cta-row a.button {
  flex: 1 1 270px !important;
  width: auto !important;
  max-width: min(100%, 420px) !important;
}

.energy-cta-row .button i,
.energy-cta-row a.button i {
  flex: 0 0 auto !important;
}

.energy-region-actions {
  display: flex !important;
  justify-content: flex-start !important;
  margin-top: .95rem !important;
}

.energy-region-actions .energy-topic-pill {
  width: auto !important;
  min-width: 0 !important;
  max-width: 100% !important;
  padding-inline: 1rem !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
}

.energy-topic-pill--primary {
  color: #fff !important;
  background: linear-gradient(135deg, var(--energy-blue), var(--energy-teal)) !important;
  border-color: transparent !important;
}

.energy-topic-hub-section {
  padding-top: 3rem !important;
}

.energy-topic-hub-section .energy-topic-hub {
  margin-top: 1.1rem !important;
}

.energy-topic-link-grid a,
.energy-topic-pill {
  box-sizing: border-box !important;
  min-width: 0 !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
}

.energy-topic-related .energy-topic-pill {
  flex: 1 1 220px !important;
  max-width: 360px !important;
}

.home-faq-list {
  align-items: start !important;
}

.home-faq-column {
  align-self: start !important;
}

@media (max-width: 760px) {
  .energy-cta-row .button,
  .energy-cta-row a.button {
    flex-basis: min(100%, 360px) !important;
    max-width: min(100%, 360px) !important;
  }
}

@media (max-width: 520px) {
  .energy-cta-row {
    gap: .65rem !important;
  }

  .energy-cta-row .button,
  .energy-cta-row a.button {
    width: 100% !important;
    max-width: 100% !important;
    flex-basis: 100% !important;
    padding-inline: .9rem !important;
    letter-spacing: .08em !important;
  }

  .energy-topic-related .energy-topic-pill {
    flex-basis: 100% !important;
    max-width: 100% !important;
  }
}


/* ===== SEO/UX Feinschliff V18: Logos, Landingpage-Buttons, CTA-Umbrüche ===== */
.energy-intro-brandline {
  gap: clamp(1.35rem, 3.2vw, 2.6rem) !important;
}

.energy-intro-brand {
  gap: .48rem !important;
  align-items: center !important;
}

.energy-intro-brand--insurance {
  gap: .48rem !important;
}

.energy-intro-brand--insurance .energy-intro-brand__logo-box img {
  width: 108px !important;
  max-width: 108px !important;
  max-height: 30px !important;
}

.energy-intro-brand__copy strong,
.energy-intro-brand__copy small {
  white-space: nowrap;
}

.energy-cta-row {
  max-width: min(100%, 1040px);
  margin-left: auto;
  margin-right: auto;
}

.energy-cta-row .button,
.energy-cta-row a.button,
.energy-landing-contact-card .button,
.energy-landing-contact-card a.button {
  min-width: 0 !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  word-break: normal !important;
  text-align: center !important;
}

.energy-cta-row .button,
.energy-cta-row a.button {
  flex: 1 1 260px;
  max-width: 430px !important;
}

.energy-cta-row .whatsapp-button,
.energy-cta-row a.whatsapp-button {
  flex-basis: 270px;
}

.energy-topic-related {
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.energy-topic-related .energy-topic-pill {
  min-width: 0 !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
}

.energy-topic-related .energy-topic-pill--primary {
  color: #fff !important;
  background: linear-gradient(135deg, var(--energy-blue), var(--energy-teal)) !important;
  border-color: transparent !important;
}

@media (min-width: 760px) {
  .energy-cta-row .button,
  .energy-cta-row a.button {
    flex-grow: 0;
  }
}

@media (max-width: 620px) {
  .energy-intro-brandline {
    gap: .75rem !important;
  }
  .energy-intro-brand--insurance .energy-intro-brand__logo-box img {
    width: 96px !important;
    max-width: 96px !important;
  }
  .energy-cta-row .button,
  .energy-cta-row a.button {
    flex: 1 1 100%;
    max-width: 100% !important;
  }
}

/* ===== UI Fix: Einsatzgebiet-Button + Kontakt-WhatsApp zentriert ===== */
#energie-versicherung-region .energy-region-actions a.energy-topic-pill,
#energie-versicherung-region .energy-region-actions a.energy-topic-pill:visited,
#energie-versicherung-region .energy-region-actions a[href="#einsatzgebiet"],
#energie-versicherung-region .energy-region-actions a[href="#einsatzgebiet"]:visited {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: 100% !important;
  min-height: 42px !important;
  padding: .72rem 1.15rem !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, #0878d8 0%, #15b8c6 100%) !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  font-weight: 850 !important;
  line-height: 1.2 !important;
  text-align: center !important;
  text-decoration: none !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  box-shadow: 0 10px 24px rgba(8, 120, 216, .24) !important;
}

#energie-versicherung-region .energy-region-actions a.energy-topic-pill:hover,
#energie-versicherung-region .energy-region-actions a[href="#einsatzgebiet"]:hover {
  background: linear-gradient(135deg, #076dc2 0%, #109ca8 100%) !important;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 14px 30px rgba(8, 120, 216, .30) !important;
}

@media (min-width: 821px) {
  #kontakt-scope section[aria-label="Direkte Kontaktmöglichkeiten"] {
    text-align: center !important;
  }

  #kontakt-scope .contact-details-list {
    text-align: center !important;
  }

  #kontakt-scope .contact-direct-actions {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
  }
}

/* ===== UI Fix V19: Markenleiste Abstand + Lesbarkeit bei abgelehnten Cookies ===== */
.energy-intro-brand,
.energy-intro-brand--insurance {
  gap: .48rem !important;
}

.energy-intro-brand__logo-box {
  flex: 0 0 auto !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 30px !important;
  min-width: 30px !important;
  max-width: 30px !important;
  height: 30px !important;
  padding: 0 !important;
  overflow: visible !important;
}

.energy-intro-brand--insurance .energy-intro-brand__logo-box img {
  display: block !important;
  width: 30px !important;
  min-width: 30px !important;
  max-width: 30px !important;
  height: 30px !important;
  min-height: 30px !important;
  max-height: 30px !important;
  object-fit: contain !important;
}

body.consent-declined #energie-service .energy-intro-brand__copy strong,
body.consent-declined #energie-service .energy-intro-brand__copy small,
html body.consent-declined #energie-service .energy-intro-brand__copy strong,
html body.consent-declined #energie-service .energy-intro-brand__copy small {
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  text-shadow: 0 1px 3px rgba(0,0,0,.25) !important;
}

body.consent-declined #energie-service .energy-intro-brand,
html body.consent-declined #energie-service .energy-intro-brand {
  color: #fff !important;
}

@media (max-width: 620px) {
  .energy-intro-brand__logo-box,
  .energy-intro-brand--insurance .energy-intro-brand__logo-box img {
    width: 30px !important;
    min-width: 30px !important;
    max-width: 30px !important;
    height: 30px !important;
    min-height: 30px !important;
    max-height: 30px !important;
  }
}
