﻿/* ============================================================================
 * Ecowatt — Design System
 * ----------------------------------------------------------------------------
 * Sitewide visual decisions. Loaded on every page after shared.css and the
 * page-specific stylesheet, so values here win the cascade.
 *
 * Where !important appears, it is to override generated Webflow rules in
 * shared.css / page.css / page-{hash}.css that cannot be edited safely.
 *
 * Sections
 *   1.  Tokens
 *   2.  Base
 *   3.  Typography
 *   4.  Buttons
 *   5.  Eco2 nav bar (private pages)
 *   6.  Eco2 mega panel
 *   7.  Eco2 mobile drawer
 *   8.  Shell nav (business pages)
 *   9.  Shell footer
 *   10. Hero
 *   11. Cards
 *   12. Sections
 *   13. FAQ accordion
 *   14. Wärmepumpe focus block
 *   15. Calculator intro
 *   16. Guide hub
 *   17. Solar slider skeleton
 *   18. About shell + photovoltaik content
 *   19. Produkte dropdown (edd-*)
 *   20. Business-topic pages
 *   21. Responsive overrides
 * ========================================================================= */


/* ----------------------------------------------------------------------------
 * 1. Tokens
 * ------------------------------------------------------------------------- */

:root {
  /* Brand */
  --eco-green:        #39a85b;
  --eco-green-hover:  #2d9851;
  --eco-green-deep:   #2f8f4c;
  --eco-green-soft:   #f4f8f2;
  --eco-green-mist:   #eff5ee;

  /* Surface / ink */
  --ink:              #0c1511;
  --ink-soft:         #4d6256;
  --canvas:           #f9fbf8;
  --canvas-deep:      #f3f7f1;
  --surface:          #ffffff;

  /* Dark surfaces */
  --night:            #0a1410;
  --night-deep:       #0c1511;
  --night-card:       #0f2017;

  /* Aliases retained for legacy class hooks (Webflow export) */
  --midnight-blue:        var(--ink);
  --ecowatt-dark-blue:    var(--ink);
  --ecowatt-light-blue:   #52685b;
  --ecowatt-gold:         var(--eco-green);
  --ecowatt-text-green:   var(--eco-green);
  --ecowatt-banner-green: var(--eco-green);   /* page.css stale token */
  --cornflower-blue:      var(--eco-green);   /* page.css stale blue token */
  --ecowatt-flash-blue:   var(--eco-green);   /* alias of cornflower-blue */
  --orange:               var(--eco-green);
  --orange-2:             var(--eco-green);
  --white-smoke:          var(--eco-green-soft);
  --ecowatt-grey:         var(--eco-green-mist);
  --alice-blue:           #edf7ef;
}


/* ----------------------------------------------------------------------------
 * 2. Base
 * ------------------------------------------------------------------------- */

body {
  color: var(--ink);
  background: linear-gradient(180deg, var(--canvas) 0%, var(--canvas-deep) 100%);
}

a {
  color: var(--ink);
}


/* ----------------------------------------------------------------------------
 * 3. Typography
 * ------------------------------------------------------------------------- */

.h1-new,
.h2-new,
.h3-new,
.h4-new,
.h6-new,
.business-topic-hero h1,
.business-topic-section h2,
.business-topic-card h3,
.business-topic-note h3,
.business-topic-cta h2 {
  color: var(--ink);
  letter-spacing: -0.02em;
}

.h1-new   { letter-spacing: -0.03em; }
.h2-new   { letter-spacing: -0.025em; }

.h2-new .span-h2-variant {
  display: block;
  font-size: inherit;
  line-height: 1.2;
}

.span-h2-variant,
.business-card_kicker,
.business-topic-eyebrow,
.business-topic-sideeyebrow,
.hero-highlight_icon,
.advantages-icon,
.benefit-card-home_number {
  color: var(--eco-green);
}

.p-1-0625,
.business-card_text,
.benefit-card-home_text,
.business-topic-card p,
.business-topic-note p,
.business-topic-cta p,
.business-topic-lead {
  color: var(--ink-soft);
}

/* In-hero copy stays light regardless of cascade */
.hero-new .h1-new,
.hero-new .h2-new,
.hero-new .h3-new,
.hero-new .h4-new,
.hero-new .p-1-0625,
.hero-new .p-0-875 {
  color: inherit;
}

.nav-link,
.nav-links a,
.content_nav-link,
.content_nav-link-mobile {
  color: var(--ink) !important;
}

.nav-link:hover,
.nav-links a:hover,
.content_nav-link:hover,
.content_nav-link-mobile:hover {
  color: var(--eco-green-deep) !important;
}


/* ----------------------------------------------------------------------------
 * 4. Buttons
 *
 * The primary button gets a flat green surface and a subtle drop shadow.
 * Secondary variants (dark, ghost) keep their own appearance and are listed
 * separately so the cascade does not accidentally pick up the primary look.
 * ------------------------------------------------------------------------- */

.button-m:not(.w-variant-45b5bd25-a462-759a-93c2-bd938a8e932c):not(.w-variant-fed8d14b-b65e-a642-e976-9b3d40013e01):not(.w-variant-1f36127b-6bc9-b7cb-82f6-81377d4045f7):not(.cc-secondary-dark),
.button-video,
.e_button:not(.is-secondary):not(.is-text) {
  background: var(--eco-green) !important;
  border-color: var(--eco-green) !important;
  border-radius: 999px !important;
  color: #fff !important;
  box-shadow: 0 2px 10px rgba(57,168,91,0.18) !important;
  transition: background 0.18s, box-shadow 0.18s, transform 0.14s;
}

.button-m:not(.w-variant-45b5bd25-a462-759a-93c2-bd938a8e932c):not(.w-variant-fed8d14b-b65e-a642-e976-9b3d40013e01):not(.w-variant-1f36127b-6bc9-b7cb-82f6-81377d4045f7):not(.cc-secondary-dark):hover,
.button-video:hover,
.e_button:not(.is-secondary):not(.is-text):hover {
  background: var(--eco-green-hover) !important;
  border-color: var(--eco-green-hover) !important;
  color: #fff !important;
  box-shadow: 0 4px 16px rgba(57,168,91,0.25) !important;
  transform: translateY(-1px);
}

/* Secondary button variants — light surface with subtle border */
.button-m:where(.w-variant-289fadd0-ded8-c16f-a8ca-4f89d7d1c7b6),
.button-m:where(.w-variant-fed8d14b-b65e-a642-e976-9b3d40013e01),
.button-m:where(.w-variant-1f36127b-6bc9-b7cb-82f6-81377d4045f7),
.button-m.cc-secondary-dark,
.button-nav {
  color: var(--ink);
  background: rgba(255,255,255,0.92);
  border-color: rgba(57,168,91,0.28);
  border-radius: 999px;
  box-shadow: 0 12px 32px rgba(12,21,17,0.08);
}

.button-nav:where(.w-variant-a3925815-c4d6-f301-d581-d71612d1cdf2) {
  color: #fff;
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.24);
}

.button-nav.track-portal-link:hover,
.button-nav.track-portal-link:hover:where(.w-variant-a3925815-c4d6-f301-d581-d71612d1cdf2),
.button-m:hover:where(.w-variant-289fadd0-ded8-c16f-a8ca-4f89d7d1c7b6),
.button-m:hover:where(.w-variant-fed8d14b-b65e-a642-e976-9b3d40013e01),
.button-m:hover:where(.w-variant-1f36127b-6bc9-b7cb-82f6-81377d4045f7),
.button-m.cc-secondary-dark:hover {
  color: #fff;
  background: var(--eco-green);
  border-color: var(--eco-green);
}


/* ----------------------------------------------------------------------------
 * 5. Eco2 nav bar (private pages)
 *
 * Sticky dark glass strip on every public-facing page. Sits above page
 * content with z-index 200. The mega panel and mobile drawer below
 * inherit positioning from the bar inner.
 * ------------------------------------------------------------------------- */

.nav-bar.ecowatt-shell-nav {
  display: block !important;
  position: sticky !important;
  top: 0 !important;
  overflow: visible !important;
  padding: 0 !important;
  background: rgba(6,14,9,0.52) !important;
  backdrop-filter: blur(28px) saturate(1.6) !important;
  -webkit-backdrop-filter: blur(28px) saturate(1.6) !important;
  border-bottom: 1px solid rgba(255,255,255,0.08) !important;
  box-shadow:
    0 1px 32px rgba(0,0,0,0.18),
    inset 0 1px 0 rgba(255,255,255,0.06) !important;
  z-index: 200 !important;
}

.eco2-bar {
  width: 100%;
  height: 72px;
  display: block;
  box-sizing: border-box;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.eco2-bar__inner {
  width: min(1260px, calc(100% - 3rem));
  height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  position: relative;
}

.eco2-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
  z-index: 1;
}

.eco2-logo__img {
  height: 34px;
  width: auto;
  display: block;
}

.eco2-nav {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  min-width: 0;
}

.eco2-item {
  display: inline-flex;
  align-items: center;
}

/* Triggers: plain text, color shift on hover, no background pill */
.eco2-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: transparent;
  border: none;
  border-radius: 0;
  cursor: pointer;
  font: 600 0.88rem/1 inherit;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: color 0.14s;
}

.eco2-trigger:hover,
.eco2-item.is-active .eco2-trigger {
  color: rgba(255,255,255,0.92);
  background: transparent;
}

.eco2-chevron {
  width: 8px;
  height: 5px;
  flex-shrink: 0;
  opacity: 0.3;
  transition: transform 0.2s, opacity 0.2s;
}

.eco2-item.is-active .eco2-chevron,
.eco2-trigger:hover .eco2-chevron {
  transform: rotate(180deg);
  opacity: 0.65;
}

.eco2-plain-link {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 0;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font: 600 0.88rem/1 inherit;
  letter-spacing: 0.01em;
  transition: color 0.14s;
}

.eco2-plain-link:hover {
  color: rgba(255,255,255,0.92);
  background: transparent;
}

/* Right-hand action buttons */
.eco2-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  z-index: 1;
}

.eco2-biz-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 18px;
  border-radius: 4px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.72);
  font: 500 0.85rem/1 inherit;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.eco2-biz-btn:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.36);
  color: rgba(255,255,255,0.92);
}

.eco2-portal-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 18px;
  border-radius: 4px;
  background: var(--eco-green);
  border: none;
  color: #fff;
  font: 600 0.85rem/1 inherit;
  letter-spacing: 0.02em;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s;
}

.eco2-portal-btn:hover {
  background: var(--eco-green-hover);
  color: #fff;
}

.eco2-biz-btn svg,
.eco2-portal-btn svg {
  flex-shrink: 0;
}

/* Burger toggle (mobile only) */
.eco2-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  margin-left: auto;
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}

.eco2-burger__line {
  display: block;
  height: 1.5px;
  width: 22px;
  background: rgba(255,255,255,0.8);
  border-radius: 1px;
  transition: transform 0.25s, opacity 0.2s;
  transform-origin: center;
}

.eco2-burger.is-open .eco2-burger__line:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.eco2-burger.is-open .eco2-burger__line:nth-child(2) { opacity: 0; transform: scaleX(0); }
.eco2-burger.is-open .eco2-burger__line:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }


/* ----------------------------------------------------------------------------
 * 6. Eco2 mega panel
 *
 * Solid dark dropdown that opens beneath the bar. No glass blur — saves the
 * GPU work and reads cleaner.
 * ------------------------------------------------------------------------- */

.eco2-panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--night);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  box-shadow: 0 16px 48px rgba(0,0,0,0.5);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s 0.22s;
  z-index: 199;
  pointer-events: none;
}

.eco2-panel.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s 0s;
  pointer-events: auto;
}

.eco2-panel__inner {
  width: min(1260px, calc(100% - 3rem));
  margin: 0 auto;
  padding: 28px 0 36px;
  display: flex;
  gap: 0;
  align-items: flex-start;
}

.eco2-panel__sidebar {
  width: 180px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 4px 36px 0 0;
  border-right: 1px solid rgba(255,255,255,0.07);
  align-self: stretch;
}

.eco2-panel__label {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.28);
}

.eco2-panel__tagline {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.38);
}

.eco2-panel__viewall {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
  padding-top: 16px;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255,255,255,0.38);
  text-decoration: none;
  transition: color 0.14s, gap 0.14s;
}

.eco2-panel__viewall:hover {
  color: rgba(255,255,255,0.78);
  gap: 6px;
}

/* Card grid */
.eco2-cards {
  flex: 1;
  display: grid;
  grid-template-columns: 1.65fr 1fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 14px;
  min-width: 0;
}

.eco2-cards--ratgeber { grid-template-columns: repeat(4, 1fr); grid-template-rows: auto; }
.eco2-cards--ueberuns { grid-template-columns: repeat(5, 1fr); grid-template-rows: auto; }

#eco2-panel-produkte .eco2-card:first-child {
  grid-row: 1 / span 2;
}

#eco2-panel-produkte .eco2-card:first-child .eco2-card__img-wrap {
  aspect-ratio: unset;
  flex: 1;
  min-height: 155px;
}

#eco2-panel-produkte .eco2-card:first-child .eco2-card__body {
  padding: 16px 18px 18px;
}

#eco2-panel-produkte .eco2-card:first-child .eco2-card__name {
  font-size: 1.05rem;
}

#eco2-panel-produkte .eco2-card:first-child .eco2-card__desc {
  font-size: 0.8rem;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.eco2-card {
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  text-decoration: none;
  color: inherit;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.18s;
}

.eco2-card:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(57,168,91,0.45);
  box-shadow: 0 10px 32px rgba(0,0,0,0.3);
  transform: translateY(-3px);
}

.eco2-card__img-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: rgba(57,168,91,0.12);
  flex-shrink: 0;
}

.eco2-card__img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.eco2-card__img[alt="Wallbox"] {
  object-position: 50% 30%;
}

.eco2-card:hover .eco2-card__img {
  transform: scale(1.05);
}

.eco2-card__body {
  display: flex;
  flex-direction: column;
  padding: 12px 14px 14px;
  gap: 4px;
  flex: 1;
}

.eco2-card__name {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.25;
  color: rgba(255,255,255,0.92);
}

.eco2-card__desc {
  margin: 3px 0 8px;
  font-size: 0.75rem;
  line-height: 1.55;
  color: rgba(255,255,255,0.52);
  flex: 1;
}

.eco2-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--eco-green);
  transition: gap 0.15s;
}

.eco2-card__cta::after {
  content: '→';
  display: inline-block;
  transition: transform 0.15s;
}

.eco2-card:hover .eco2-card__cta::after {
  transform: translateX(4px);
}

.eco2-backdrop {
  position: fixed;
  inset: 72px 0 0;
  background: rgba(0,0,0,0.22);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s, visibility 0s 0.22s;
  z-index: 198;
  pointer-events: none;
}

.eco2-backdrop.is-visible {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.22s;
  pointer-events: auto;
}


/* ----------------------------------------------------------------------------
 * 7. Eco2 mobile drawer
 * ------------------------------------------------------------------------- */

.eco2-mobile {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  max-height: calc(100dvh - 72px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: #0b1710;
  border-top: 1px solid rgba(255,255,255,0.06);
  z-index: 199;
}

.eco2-mobile.is-open { display: block; }

.eco2-mobile__inner {
  width: min(1260px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 20px 0 32px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.eco2-mobile__group {
  display: flex;
  flex-direction: column;
  margin-bottom: 10px;
}

.eco2-mobile__group-label {
  padding: 8px 12px 6px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.28);
}

.eco2-mobile__link {
  display: block;
  padding: 10px 12px;
  border-radius: 7px;
  color: rgba(255,255,255,0.68);
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  align-self: stretch;
  transition: color 0.12s, background 0.12s;
}

.eco2-mobile__link:hover {
  color: #fff;
  background: rgba(255,255,255,0.06);
}

.eco2-mobile__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

.eco2-mobile__action-biz,
.eco2-mobile__action-portal {
  display: block;
  padding: 14px 18px;
  border-radius: 4px;
  text-align: center;
  font-weight: 600;
  font-size: 0.925rem;
  text-decoration: none;
  align-self: stretch;
  transition: background 0.15s;
}

.eco2-mobile__action-biz {
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.82);
}

.eco2-mobile__action-biz:hover {
  background: rgba(255,255,255,0.07);
  color: #fff;
}

.eco2-mobile__action-portal {
  background: var(--eco-green);
  color: #fff;
}

.eco2-mobile__action-portal:hover {
  background: var(--eco-green-hover);
  color: #fff;
}


/* ----------------------------------------------------------------------------
 * 8. Shell nav (business pages)
 *
 * The B2B pages keep a simpler shell-nav with text links and ghost/primary
 * actions. Visually distinct from the private nav so users always know
 * which area they are in.
 * ------------------------------------------------------------------------- */

.ecowatt-shell-nav_inner {
  display: flex;
  align-items: center;
  width: min(1200px, calc(100% - 2rem));
  height: 64px;
  margin: 0 auto;
  position: relative;
}

.ecowatt-shell-brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
  color: #fff;
}

.ecowatt-shell-brand_img {
  height: 22px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
}

.ecowatt-shell-brand_mark,
.ecowatt-shell-brand_mark::before,
.ecowatt-shell-brand_text { display: none; }

.ecowatt-shell-links {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.ecowatt-shell-link {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.8rem;
  border-radius: 0;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.12s;
}

.ecowatt-shell-link:hover {
  color: rgba(255,255,255,0.95);
  background: transparent;
}

.ecowatt-shell-link.is-active {
  color: #fff;
  position: relative;
}

.ecowatt-shell-link.is-active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0.8rem;
  right: 0.8rem;
  height: 2px;
  background: var(--eco-green);
  border-radius: 1px;
}

.ecowatt-shell-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.ecowatt-shell-ghost {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.5rem;
  color: rgba(255,255,255,0.45);
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.12s;
}

.ecowatt-shell-ghost:hover { color: rgba(255,255,255,0.85); }

.ecowatt-shell-primary {
  display: inline-flex;
  align-items: center;
  padding: 0.46rem 1rem;
  border-radius: 4px;
  background: var(--eco-green);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.12s;
}

.ecowatt-shell-primary:hover {
  background: var(--eco-green-hover);
  color: #fff;
}

.ecowatt-shell-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}

.ecowatt-shell-toggle_lines {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 20px;
}

.ecowatt-shell-toggle_lines span {
  display: block;
  height: 1.5px;
  background: rgba(255,255,255,0.8);
  border-radius: 0;
}

.ecowatt-shell-panel {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  padding: 1rem;
  background: #0f1e16;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 0.375rem;
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
  z-index: 999;
}

.ecowatt-shell-panel.is-open { display: block; }

.ecowatt-shell-panel_links {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin-bottom: 0.875rem;
}

.ecowatt-shell-panel_links .ecowatt-shell-link {
  padding: 0.6rem 0.75rem;
}

.ecowatt-shell-panel_actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.ecowatt-shell-panel_actions a {
  display: block;
  padding: 0.65rem 1rem;
  border-radius: 4px;
  text-align: center;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
}

.ecowatt-shell-panel_actions a:first-child {
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.8);
}

.ecowatt-shell-panel_actions a:last-child {
  background: var(--eco-green);
  color: #fff;
}


/* ----------------------------------------------------------------------------
 * 9. Shell footer (used on every page)
 * ------------------------------------------------------------------------- */

.ecowatt-shell-footer-wrap {
  background: var(--night-deep);
  color: rgba(255,255,255,0.8);
}

.ecowatt-shell-footer {
  width: min(1120px, calc(100% - 4rem));
  margin: 0 auto;
  padding: 4rem 0 2rem;
}

.ecowatt-shell-footer_top {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr);
  gap: 3rem;
  margin-bottom: 3rem;
}

.ecowatt-shell-footer_kicker {
  margin-bottom: 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--eco-green);
}

.ecowatt-shell-footer_intro h2 {
  margin: 0 0 0.85rem;
  color: #fff;
  font-size: 1.4rem;
  line-height: 1.15;
}

.ecowatt-shell-footer_intro p {
  margin: 0 0 1.25rem;
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
  line-height: 1.6;
}

.ecowatt-shell-footer_tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.ecowatt-shell-footer_tag {
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.1);
  background: transparent;
  color: rgba(255,255,255,0.5);
  font-size: 0.82rem;
  font-weight: 600;
}

.ecowatt-shell-footer_cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

.ecowatt-shell-footer_col h3 {
  margin: 0 0 0.85rem;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.ecowatt-shell-footer_col a {
  display: block;
  padding: 0.3rem 0;
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  text-decoration: none;
}

.ecowatt-shell-footer_col a:hover { color: var(--eco-green); }

.ecowatt-shell-footer_bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.ecowatt-shell-footer_bottom p {
  margin: 0;
  color: rgba(255,255,255,0.3);
  font-size: 0.82rem;
}

.ecowatt-shell-footer_bottom a {
  color: rgba(255,255,255,0.4);
  font-size: 0.82rem;
  text-decoration: none;
}

/* Footer link colors used by Webflow-generated content */
.footer_link-list a,
.e_footer_link,
.e_footer_bottom-wrapper a,
.business-topic-footer a {
  color: rgba(255,255,255,0.88);
}

.footer_link-list a:hover,
.e_footer_link:hover,
.e_footer_bottom-wrapper a:hover,
.business-topic-footer a:hover {
  color: #8de0a4;
}


/* ----------------------------------------------------------------------------
 * 10. Hero
 *
 * The home hero sits over a photographic background image. The ::before
 * paints a dark gradient so the foreground copy stays legible. Trust pills
 * (.hero-highlight) below the headline use a solid dark chip — no glass.
 * ------------------------------------------------------------------------- */

.hero-new.cc-home::before {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    rgba(7,14,10,0.60)  0%,
    rgba(9,17,12,0.40) 45%,
    rgba(8,16,12,0.08) 100%
  );
  z-index: 1;
}

.hero-new.cc-home .h1-new {
  color: #f6fbf4;
  text-shadow: 0 8px 24px rgba(7,14,10,0.22);
}

.hero-new.cc-home > :not(.hero-bg-image) {
  position: relative;
  z-index: 2;
}

.hero-new.cc-home > .hero-bg-image {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-highlights {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.65rem;
  padding: 0;
  background: none;
  border: none;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  justify-content: center;
}

@media (max-width: 640px) {
  .hero-highlights {
    flex-wrap: wrap;
  }
}

.hero-highlight {
  padding: 0.65rem 1rem;
  border-radius: 8px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  white-space: nowrap;
  font-size: 0.88rem;
}

/* Subpage trust pills container */
.header_highlights {
  background: rgba(9,18,12,0.72);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}


/* ----------------------------------------------------------------------------
 * 11. Cards
 *
 * Six card variants share one design language: white surface, no decorative
 * green border, soft layered shadow for depth, modest 1–1.25rem radius.
 * ------------------------------------------------------------------------- */

.advantages-card,
.benefit-card-home {
  background: #fff;
  border: none;
  border-radius: 1rem;
  box-shadow:
    0 2px 6px rgba(12,21,17,0.05),
    0 10px 28px rgba(12,21,17,0.07);
  transition: transform 0.18s, box-shadow 0.2s;
}

.benefit-card-home { border-radius: 1.1rem; }

.advantages-card:hover,
.benefit-card-home:hover {
  transform: translateY(-3px);
  box-shadow:
    0 4px 12px rgba(12,21,17,0.08),
    0 16px 40px rgba(12,21,17,0.1);
}

.advantages-card_content {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.25rem 1.5rem;
}

.flow-new.cc-advantages-card {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.advantages-card_content .h6-new { margin: 0; }
.advantages-card_content .p-1-0625 { margin: 0; text-align: left; }

.benefit-card-home { padding: 1.5rem 1.75rem; }

.benefit-card-home_header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.benefit-card-home_header .h6-new { margin: 0; }
.benefit-card-home_text .p-1-0625 { margin: 0; text-align: left; }

/* Video cards on home: heavier shadow because they sit over content */
.video-card {
  border: none;
  border-radius: 1.5rem;
  box-shadow:
    0 4px 14px rgba(12,21,17,0.08),
    0 20px 52px rgba(12,21,17,0.12);
}

/* Business / service cards: neutral structural border */
.business-card,
.business-service_item,
.business-insight_card,
.business-topic-card,
.business-topic-note,
.business-topic-hero-card {
  background: rgba(255,255,255,0.94);
  border: 1px solid rgba(12,21,17,0.07);
  border-radius: 1.25rem;
  box-shadow:
    0 2px 8px rgba(12,21,17,0.04),
    0 12px 32px rgba(12,21,17,0.06);
  transition: transform 0.18s, box-shadow 0.2s, border-color 0.2s;
}

.business-card_link:hover,
.business-topic-primary-link:hover,
.business-topic-card:hover {
  transform: translateY(-4px);
  border-color: rgba(57,168,91,0.35);
  box-shadow:
    0 6px 18px rgba(12,21,17,0.08),
    0 20px 48px rgba(12,21,17,0.09);
}

.business-topic-primary-link {
  background: #f3fbf4;
  border-color: rgba(57,168,91,0.18);
}

.business-topic-primary-link.is-current {
  color: #fff;
  background: var(--eco-green);
  border-color: var(--eco-green);
}

.business-topic-primary-link-private {
  color: #215234;
  background: #e9f7ec;
  border-color: rgba(57,168,91,0.24);
}


/* ----------------------------------------------------------------------------
 * 12. Sections
 *
 * The page body sits on a neutral canvas. Specific sections (community,
 * press marquee, awards, etc.) get a subtle green-tinted gradient instead
 * of the original radial blob.
 * ------------------------------------------------------------------------- */

.section-new.cc-press-marquee,
.section-new.cc-awards,
.section-new.cc-grey-background,
.section-new.cc-wp-monitor,
.section-new.cc-wb-info,
.section-new.cc-community {
  background: linear-gradient(180deg, #f6fbf4 0%, #edf5ea 100%);
}

#query > .layout-l {
  padding-top: 3.5rem;
  padding-bottom: 4rem;
}

.business-topic-topbar {
  background: rgba(249,252,247,0.9);
  border-bottom: 1px solid rgba(57,168,91,0.14);
}

.business-topic-sidecard,
.business-topic-cta,
.footer_wrapper {
  background: linear-gradient(160deg, #0b1510 0%, #143323 55%, #1d4d34 100%);
  border-color: rgba(57,168,91,0.24);
}

/* CTA text on dark gradient background */
.business-topic-cta h2 {
  color: #fff !important;
}
.business-topic-cta p {
  color: rgba(255,255,255,0.72) !important;
}

/* Business topic footer layout */
.business-topic-footer {
  padding: 2rem 0;
  background: #0b1510;
}
.business-topic-footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.business-topic-footer-copy {
  color: rgba(255,255,255,0.42);
  font-size: 0.88rem;
  margin: 0;
}
.business-topic-footer-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.footer_wrapper {
  box-shadow: 0 -24px 70px rgba(12,21,17,0.18);
}

.logo_overlay,
.preise_overlay {
  background-image: radial-gradient(circle, rgba(248,248,248,0), var(--eco-green-soft));
}


/* ----------------------------------------------------------------------------
 * 13. FAQ accordion
 * ------------------------------------------------------------------------- */

.faq_accordion-new {
  margin-bottom: 0.75rem;
  overflow: hidden;
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(57,168,91,0.12);
  border-radius: 1.5rem;
  box-shadow: 0 16px 40px rgba(12,21,17,0.06);
}

.faq_question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.4rem;
  cursor: pointer;
}

.faq_question .h6-new { margin: 0; }

.faq_answer {
  padding: 0 1.4rem 1.1rem;
}

.faq-wrap {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.funnel-wrap,
.usp-list_item {
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(57,168,91,0.12);
  border-radius: 1.5rem;
  box-shadow: 0 16px 40px rgba(12,21,17,0.06);
}

.usp-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.usp-list_item {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.9rem 1.25rem;
}


/* ----------------------------------------------------------------------------
 * 14. Wärmepumpe focus block (homepage)
 * ------------------------------------------------------------------------- */

.ecowatt-home-focus {
  width: min(1120px, calc(100% - 4rem));
  margin: 0 auto 3rem;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 0;
  align-items: stretch;
  background: #fff;
  border-radius: 2rem;
  border: 1px solid #e2ede0;
  box-shadow: 0 8px 40px rgba(12,21,17,0.07);
  overflow: hidden;
  color: var(--ink, #0f1f16);
}

/* Text column — subtle left green tint */
.ecowatt-home-focus > div:first-child {
  padding: 2.75rem;
  background: linear-gradient(145deg, #f4fbf0 0%, #ffffff 100%);
  border-right: 1px solid #e2ede0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #0f1f16;
}

.ecowatt-home-focus .h2-new,
.ecowatt-home-focus .h2-new span,
.ecowatt-home-focus .span-h2-variant,
.ecowatt-home-focus .p-1-0625,
.ecowatt-home-focus p {
  color: #0f1f16 !important;
}

.ecowatt-home-focus_kicker,
.ecowatt-calculator-kicker,
.ecowatt-contact-kicker {
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #91d69d;
}

.ecowatt-home-focus h2,
.ecowatt-calculator-intro h2,
.ecowatt-contact-booking h2{
  margin: 0 0 0.9rem;
  line-height: 1.05;
}

.ecowatt-home-focus p,
.ecowatt-calculator-intro p,
.ecowatt-contact-booking p {
  margin: 0 0 1rem;
}

.ecowatt-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.25rem 0 1.5rem;
}

.ecowatt-chip {
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: rgba(57,168,91,0.09);
  border: 1px solid rgba(57,168,91,0.22);
  color: #1e5c2e;
  font-size: 0.875rem;
  font-weight: 600;
}

.ecowatt-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.ecowatt-secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(57, 168, 91, 0.30);
  color: var(--ink, #0f1f16);
  text-decoration: none;
  font-weight: 600;
  transition: border-color 0.2s, background 0.2s;
}
.ecowatt-secondary-link:hover {
  background: rgba(57, 168, 91, 0.07);
  border-color: rgba(57, 168, 91, 0.55);
}

.ecowatt-home-focus_media {
  position: relative;
  overflow: hidden;
  min-height: 300px;
}
.ecowatt-home-focus_media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}
.ecowatt-calculator-visual img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 1.5rem;
}


/* ----------------------------------------------------------------------------
 * 15. Calculator intro
 * ------------------------------------------------------------------------- */

.ecowatt-calculator-intro {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto 2rem;
  padding: 2rem;
  background: #f3f8f1;
  border-radius: 1.75rem;
  box-shadow: 0 14px 40px rgba(12,21,17,0.08);
}

.ecowatt-calculator-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.4rem;
}

.ecowatt-calculator-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.1rem;
  background: #fff;
  border: 1px solid #e3eee1;
  border-radius: 1.2rem;
}

.ecowatt-calculator-card h3 {
  margin: 0;
  font-size: 1.05rem;
}

.ecowatt-calculator-card a {
  margin-top: auto;
  color: var(--eco-green-deep);
  text-decoration: none;
  font-weight: 700;
}

.ecowatt-contact-booking {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto 2rem;
  padding: 2rem;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 1.5rem;
  align-items: center;
  background: #f3f8f1;
  border-radius: 1.75rem;
}

.ecowatt-contact-booking_card {
  padding: 1.25rem;
  background: #fff;
  border: 1px solid #dfebdc;
  border-radius: 1.25rem;
}

.ecowatt-contact-booking_list {
  margin: 1rem 0 0;
  padding-left: 1rem;
}

.ecowatt-contact-booking_list li { margin-bottom: 0.45rem; }


/* ----------------------------------------------------------------------------
 * 16. Guide hub
 * ------------------------------------------------------------------------- */

.ecowatt-guide-intro {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto 2.5rem;
  padding: 2rem;
  background: #f5f9f4;
  border: 1px solid #e1ece0;
  border-radius: 1.75rem;
}

.ecowatt-guide-intro_grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.ecowatt-guide-chip {
  padding: 1rem 1.1rem;
  background: #fff;
  border: 1px solid #e1ece0;
  border-radius: 1rem;
}

.ecowatt-guide-chip strong {
  display: block;
  margin-bottom: 0.4rem;
}

.ecowatt-guide-hub {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto 2.5rem;
  display: grid;
  gap: 1.25rem;
}

.ecowatt-guide-spotlight {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: 1.5rem;
  padding: 2rem;
  background: linear-gradient(135deg, #0f2017 0%, #183126 100%);
  border-radius: 1.75rem;
  color: #fff;
}

.ecowatt-guide-spotlight h2,
.ecowatt-guide-lane h3 {
  margin: 0 0 0.75rem;
}

.ecowatt-guide-spotlight p,
.ecowatt-guide-lane p {
  margin: 0 0 1rem;
}

.ecowatt-guide-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.25rem;
}

.ecowatt-guide-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.15rem;
  border-radius: 999px;
  background: var(--eco-green);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.ecowatt-guide-action.is-secondary {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
}

.ecowatt-guide-topics {
  display: grid;
  gap: 0.75rem;
}

.ecowatt-guide-topic {
  padding: 1rem 1.1rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 1rem;
}

.ecowatt-guide-topic strong {
  display: block;
  margin-bottom: 0.35rem;
  color: #c8f3d1;
}

.ecowatt-guide-lanes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.ecowatt-guide-lane {
  padding: 1.4rem;
  background: #fff;
  border: 1px solid #e1ece0;
  border-radius: 1.4rem;
  box-shadow: 0 14px 40px rgba(12,21,17,0.06);
}

.ecowatt-guide-links {
  display: grid;
  gap: 0.6rem;
}

.ecowatt-guide-links a {
  color: var(--eco-green-deep);
  text-decoration: none;
  font-weight: 700;
}

.ecowatt-guide-kicker {
  margin-bottom: 0.6rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5f8d6f;
}

.ecowatt-guide-querybar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.ecowatt-guide-query {
  padding: 0.7rem 0.95rem;
  background: #eef5ec;
  border: 1px solid #dbe8d9;
  border-radius: 999px;
  color: #183126;
  font-weight: 600;
}


/* ----------------------------------------------------------------------------
 * 17. Solar slider skeleton (loading state for the calculator embed)
 * ------------------------------------------------------------------------- */

.ecowatt-solar-slider {
  border-radius: 1.75rem;
  overflow: hidden;
}

#slider-skeleton-loader {
  background: linear-gradient(135deg, #0f2017 0%, #183126 100%);
  border-radius: 1.75rem;
}

.sl-title { background: rgba(255,255,255,0.1); }

.sl-card {
  background: rgba(255,255,255,0.07);
  border-radius: 1rem;
  color: rgba(255,255,255,0.8);
}

.sl-gradient {
  background: linear-gradient(
    to right,
    rgba(255,255,255,0.04) 8%,
    rgba(255,255,255,0.12) 38%,
    rgba(255,255,255,0.04) 54%
  );
  background-size: 62rem 40rem;
}


/* ----------------------------------------------------------------------------
 * 18. About shell + photovoltaik content overrides
 *
 * Webflow's photovoltaik content area defaults to a 2-column layout with
 * tight columns. We let it span full width on this site because the copy
 * reads better in a single column.
 * ------------------------------------------------------------------------- */

.layout-l.cc-photovoltaik-content > .col {
  grid-column: 1 / -1 !important;
  width: 100% !important;
}

.layout-l.cc-photovoltaik-content .flow-new.cc-pv-info {
  width: 100% !important;
}

.layout-l.cc-photovoltaik-content .highlight-cards.cc-1x1 {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}

.layout-l.cc-photovoltaik-content .highlight-card {
  width: auto !important;
}

.ecowatt-about-shell {
  width: min(1120px, calc(100% - 4rem));
  margin: 0 auto;
  padding: 7rem 0 4rem;
}

.ecowatt-about-head {
  max-width: 760px;
  margin-bottom: 2rem;
}

.ecowatt-about-head .h2-new { margin: 0; }

.ecowatt-about-simple {
  display: grid;
  grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
  width: 100%;
  max-width: 100%;
}

.ecowatt-about-simple_media,
.ecowatt-about-simple_copy {
  min-width: 0;
  width: 100%;
}

.ecowatt-about-simple_media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 1.5rem;
  object-fit: cover;
}

.ecowatt-about-simple_copy {
  padding: 2rem;
  background: #f7faf5;
  border-radius: 1.5rem;
}

.ecowatt-about-simple_copy p { margin: 0 0 1rem; }
.ecowatt-about-simple_copy p:last-child { margin-bottom: 0; }

body[data-ecowatt-simple-about="true"] .footer_circle { display: none; }


/* ----------------------------------------------------------------------------
 * 19. Produkte dropdown (.edd-* classes)
 *
 * Three-column dark dropdown with a product list, a feature card, and a
 * CTA card. Used on a handful of subpages.
 * ------------------------------------------------------------------------- */

.ecowatt-dd-mega { position: static !important; }

.ecowatt-dd-panel-mega {
  position: absolute;
  top: 64px;
  left: 0;
  width: min(860px, calc(100vw - 2rem));
  padding: 1rem;
  background: #0f1e17;
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.5);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.18s, transform 0.18s;
  z-index: 1001;
}

.ecowatt-dd-mega:hover .ecowatt-dd-panel-mega,
.ecowatt-dd-mega:focus-within .ecowatt-dd-panel-mega,
.ecowatt-dd-mega.is-hovered .ecowatt-dd-panel-mega {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(2px);
}

.ecowatt-dd-panel-mega::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
}

.edd-layout {
  display: grid;
  grid-template-columns: 180px 1fr 220px;
  gap: 0.75rem;
  align-items: stretch;
}

.edd-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.edd-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.55rem 0.65rem;
  border-radius: 5px;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  transition: background 0.1s, color 0.1s;
}

.edd-item:hover {
  background: rgba(255,255,255,0.07);
  color: #fff;
}

.edd-item--active {
  background: rgba(57,168,91,0.18);
  color: #fff;
}

.edd-item--active .edd-item-icon { opacity: 0.9; }

.edd-item-icon {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  opacity: 0.5;
  filter: brightness(0) invert(1);
}

.edd-item-label {
  font-size: 0.845rem;
  font-weight: 500;
  line-height: 1.2;
}

.edd-mid-col {
  padding: 0 0.75rem;
  border-left: 1px solid rgba(255,255,255,0.07);
  border-right: 1px solid rgba(255,255,255,0.07);
}

.edd-card {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  height: 100%;
  position: relative;
}

.edd-card-header {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.edd-card-tag {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--eco-green);
}

.edd-card-title {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
}

.edd-card-body {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.55);
}

.edd-card-img {
  display: block;
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 6px;
}

.edd-card-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(57,168,91,0.2);
  color: var(--eco-green);
  text-decoration: none;
  font-size: 1rem;
  align-self: flex-start;
  transition: background 0.12s;
}

.edd-card-arrow:hover { background: rgba(57,168,91,0.35); }

.edd-right-col {
  display: flex;
  align-items: stretch;
}

.edd-cta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.45rem;
  padding: 1rem 1rem 1.1rem;
  width: 100%;
  background: rgba(12,21,17,0.05);
  border: 1px solid rgba(12,21,17,0.12);
  border-radius: 7px;
}

.edd-cta-tag {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--eco-green);
}

.edd-cta-title {
  display: block;
  font-size: 0.975rem;
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
}

.edd-cta-body {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.5);
}

.edd-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.35rem;
  padding: 0.5rem 1.1rem;
  border-radius: 20px;
  background: var(--eco-green);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  align-self: flex-start;
  transition: background 0.12s;
}

.edd-cta-btn:hover { background: var(--eco-green-hover); }


/* ----------------------------------------------------------------------------
 * 20. Business-topic pages
 *
 * Decorative blur panels on the angebot page and similar B2B sections get
 * replaced with a solid surface — same content, fewer GPU layers.
 * ------------------------------------------------------------------------- */

.row-copy-2.cc-bullets {
  background: rgba(255,255,255,0.97);
  box-shadow: 0 2px 12px rgba(9,15,11,0.07);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* page.css sets a stale yellow-glow radial-gradient on .business-topic-page.
 * Override with the standard canvas gradient. */
.business-topic-page {
  background: linear-gradient(180deg, var(--canvas) 0%, var(--canvas-deep) 100%);
}


/* ----------------------------------------------------------------------------
 * 20b. FAQ divider
 *
 * page-{hash}.css files define .faq_devide with a legacy navy radial-gradient
 * (background-image: radial-gradient(circle, #072543, #fff)).
 * Replace with a subtle brand-green separator.
 * ------------------------------------------------------------------------- */

.faq_devide {
  background-image: none !important;
  background-color: rgba(57, 168, 91, 0.12) !important;
}


/* ----------------------------------------------------------------------------
 * 21. Responsive
 * ------------------------------------------------------------------------- */

@media (max-width: 991px) {
  .nav-bar,
  .nav-bar:where(.w-variant-a3925815-c4d6-f301-d581-d71612d1cdf2) {
    background-color: rgba(12,21,17,0.94);
  }

  .nav-bar_menu {
    background: linear-gradient(180deg, rgba(12,21,17,0.98) 0%, rgba(16,35,24,0.98) 100%);
    border-left: 1px solid rgba(57,168,91,0.12);
  }

  .nav-bar-menu_links,
  .nav-bar-dd_toggle,
  .nav-bar_brand:where(.w-variant-a3925815-c4d6-f301-d581-d71612d1cdf2) {
    color: #fff;
  }

  .eco2-nav,
  .eco2-actions {
    display: none;
  }

  .eco2-burger {
    display: flex;
  }

  .ecowatt-shell-links,
  .ecowatt-shell-actions {
    display: none;
  }

  .ecowatt-shell-toggle {
    display: flex;
  }

  .ecowatt-shell-footer_top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .ecowatt-shell-footer_cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ecowatt-home-focus,
  .ecowatt-contact-booking {
    grid-template-columns: 1fr;
  }

  .ecowatt-home-focus > div:first-child {
    border-right: none;
    border-bottom: 1px solid #e2ede0;
  }

  .ecowatt-home-focus_media {
    min-height: 240px;
  }

  .ecowatt-calculator-grid,
  .ecowatt-guide-intro_grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ecowatt-guide-spotlight,
  .ecowatt-guide-lanes {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .layout-l.cc-photovoltaik-content .highlight-cards.cc-1x1 {
    grid-template-columns: 1fr !important;
  }

  .ecowatt-about-shell {
    width: min(100%, calc(100% - 2rem));
    padding: 6rem 0 3rem;
  }

  .ecowatt-about-simple {
    grid-template-columns: 1fr;
  }

  .ecowatt-about-simple_copy {
    padding: 1.25rem;
  }

  .ecowatt-shell-footer {
    width: calc(100% - 2rem);
    padding: 3rem 0 1.5rem;
  }

  .ecowatt-shell-footer_cols {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .ecowatt-home-focus {
    width: min(100%, calc(100% - 2rem));
  }

  .ecowatt-calculator-grid,
  .ecowatt-guide-intro_grid {
    grid-template-columns: 1fr;
  }

  .ecowatt-calculator-intro,
  .ecowatt-contact-booking,
  .ecowatt-guide-intro {
    padding: 1.25rem;
  }
}

@media (max-width: 600px) {
  .eco2-bar__inner {
    width: calc(100% - 2rem);
  }
}


/* ----------------------------------------------------------------------------
 * 22. Content-page component system (.pg-*)
 *
 * Used by ratgeber-photovoltaik, ratgeber-strom, ratgeber-waermepumpe,
 * stellenanzeigen and any future editorial/standalone pages built outside
 * Webflow. All colour values use the design-token variables from Section 1.
 * ------------------------------------------------------------------------- */

/* ── Page hero ────────────────────────────────────────── */
.pg-hero {
  padding: 88px 0 64px;
  background: var(--night-deep);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.pg-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .16;
}

.pg-hero__inner {
  position: relative;
  width: min(760px, calc(100% - 3rem));
  margin: 0 auto;
}

.pg-badge {
  display: inline-block;
  color: var(--eco-green);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.pg-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin: 0 0 16px;
}

.pg-hero p {
  font-size: 1.05rem;
  color: rgba(255,255,255,.65);
  line-height: 1.65;
  margin: 0 auto;
  max-width: 540px;
}

/* ── Page sections ────────────────────────────────────── */
.pg-section { padding: 64px 0; }
.pg-section--alt { background: var(--eco-green-soft); }

.pg-inner {
  width: min(1100px, calc(100% - 3rem));
  margin: 0 auto;
}

.pg-label {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--eco-green);
  margin: 0 0 8px;
}

.pg-title {
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 36px;
}

/* ── Article card grid ───────────────────────────────── */
.pg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

@media(max-width: 768px) {
  .pg-grid { grid-template-columns: 1fr; }
}

.pg-card {
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid rgba(57,168,91,.12);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  box-shadow:
    0 2px 6px rgba(12,21,17,.04),
    0 8px 24px rgba(12,21,17,.06);
  transition: box-shadow .2s, transform .18s, border-color .2s;
}

.pg-card:hover {
  box-shadow: 0 12px 40px rgba(9,15,11,.1);
  border-color: rgba(57,168,91,.3);
  transform: translateY(-3px);
}

.pg-card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}

.pg-card__body {
  padding: 20px 22px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pg-card__tag {
  font-size: .68rem;
  font-weight: 700;
  color: var(--eco-green);
  text-transform: uppercase;
  letter-spacing: .08em;
}

.pg-card__title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ink);
}

.pg-card__desc {
  font-size: .85rem;
  color: var(--ink-soft);
  line-height: 1.6;
  flex: 1;
}

.pg-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--eco-green);
  margin-top: 10px;
  transition: gap .14s;
}

.pg-card:hover .pg-card__cta { gap: 7px; }

/* ── Topic tiles ─────────────────────────────────────── */
.pg-topics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 44px;
}

@media(max-width: 768px) {
  .pg-topics { grid-template-columns: 1fr; }
}

.pg-topic {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--surface);
  border: 1px solid rgba(57,168,91,.1);
  border-radius: 10px;
  padding: 18px 20px;
  box-shadow:
    0 2px 6px rgba(12,21,17,.04),
    0 8px 20px rgba(12,21,17,.05);
  text-decoration: none;
  color: inherit;
  transition: box-shadow .18s, transform .18s, border-color .18s;
}

.pg-topic:hover {
  border-color: rgba(57,168,91,.28);
  box-shadow:
    0 4px 16px rgba(12,21,17,.08),
    0 14px 36px rgba(12,21,17,.08);
  transform: translateY(-1px);
}

.pg-topic__icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem;
}

.pg-topic__name {
  font-size: .93rem;
  font-weight: 700;
  color: var(--ink);
}

.pg-topic__desc {
  font-size: .78rem;
  color: var(--ink-soft);
  line-height: 1.5;
  margin-top: 2px;
}

/* ── In-page CTA block ──────────────────────────────── */
.pg-cta {
  background: var(--night-deep);
  border-radius: 1rem;
  padding: 48px;
  text-align: center;
  margin-top: 48px;
  color: #fff;
}

.pg-cta h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 0 10px;
}

.pg-cta p {
  color: rgba(255,255,255,.6);
  margin: 0 0 26px;
  font-size: .95rem;
}

.pg-cta a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--eco-green);
  color: #fff;
  padding: 12px 28px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  font-size: .93rem;
  transition: background .18s, transform .14s;
}

.pg-cta a:hover {
  background: var(--eco-green-hover);
  transform: translateY(-2px);
}

/* ── Job listings ────────────────────────────────────── */
.job-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.job-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  background: var(--surface);
  border: 1px solid rgba(57,168,91,.12);
  border-radius: 14px;
  padding: 22px 24px;
  transition: border-color .18s, box-shadow .18s;
}

.job-item:hover {
  border-color: rgba(12,21,17,.15);
  box-shadow: 0 4px 20px rgba(9,15,11,.09);
}

.job-item__info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.job-item__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
}

.job-item__meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.job-tag {
  background: rgba(12,21,17,.06);
  color: var(--ink-soft);
  font-size: .72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 4px;
}

.job-item__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  background: var(--eco-green);
  color: #fff;
  padding: 9px 20px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  font-size: .85rem;
  flex-shrink: 0;
  transition: background .18s;
}

.job-item__btn:hover { background: var(--eco-green-hover); }

@media(max-width: 600px) {
  .pg-cta { padding: 32px 24px; }
  .job-item {
    flex-direction: column;
    align-items: flex-start;
  }
  .job-item__btn { align-self: flex-start; }
}


/* ----------------------------------------------------------------------------
 * 23. Finanzierung page buttons (.btn-primary / .btn-ghost)
 *
 * These two classes appear only on finanzierung/index.html. Pill radius
 * aligns them with the rest of the site's primary CTA style.
 * ------------------------------------------------------------------------- */

.btn-primary {
  border-radius: 999px !important;
}

.btn-ghost {
  border-radius: 999px !important;
}

/* ── 4-column product grid on homepage ───────────────── */
.section-new.business-unified-section .business-hub_grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 900px) {
  .section-new.business-unified-section .business-hub_grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ═══════════════════════════════════════════════════════════════════════════
 * § 24 — LEGACY WEBFLOW COLOR VARIABLE REMAPPING
 * The depth-2 consumer subpages (photovoltaik/*, strom/*, waermepumpe/*)
 * load page-specific CSS that defines old brand variables using the navy-blue
 * color scheme (#072543). This section overrides those variables with the
 * current green brand system, since ecowatt-design.css loads after the
 * page-specific CSS files in the cascade.
 * ─────────────────────────────────────────────────────────────────────────── */

:root {
  /* Old navy-blue primary → new forest dark */
  --midnight-blue:        #0c1511;
  --ecowatt-dark-blue:    #0c1511;
  /* Old blue accent → new brand green */
  --cornflower-blue:      #39a85b;
  --ecowatt-flash-blue:   #39a85b;
  /* Old light blue text → new muted green */
  --ecowatt-light-blue:   #4d6256;
  /* Greens stay green, normalize to exact brand token */
  --medium-sea-green:     #39a85b;
  --ecowatt-banner-green: #39a85b;
  --ecowatt-text-green:   #6a9d78;
  /* Orange/gold CTAs → green (old brand used amber for CTAs) */
  --orange:               #39a85b;
  --orange-2:             #39a85b;
  --ecowatt-gold:         #39a85b;
  --ecowatt-light-yellow: rgba(57,168,91,.12);
  --ecowatt-superlight-yellow: #f4f8f2;
}


/* === Section 25: Hero fixes ===================================== */
/* Ensure hero sections with cc-hero-new always have enough top
   padding to clear the fixed eco2-bar (≈68px / 4.25rem) */
.layout-l.cc-hero-new {
  padding-top: 7rem !important;
}
@media (max-width: 991px) {
  .layout-l.cc-hero-new {
    padding-top: 6rem !important;
  }
}

/* Increase ecowatt-one bg image visibility */
.pg-hero__bg {
  opacity: .28 !important;
}

/* angebot page: remove large white space above hero caused by Webflow
   component injecting nav inside .main; the page-wrap has margin-top
   from the sticky-nav spacer that doesn't apply here */
.page-wrap > .main > header.hero:first-of-type,
.page-wrap > .main > .hero-new:first-of-type {
  padding-top: 7rem;
}

/* ----------------------------------------------------------------------------
 * § 26 — Geschäftskunden Hub: Section spacing + CTA layout
 * -------------------------------------------------------------------------- */

/* Tighter rhythm between hub sections (default section-new is ~5rem top) */
.business-unified-section {
  padding-top: 4rem;
  padding-bottom: 0;
}
.business-unified-section:first-of-type {
  padding-top: 5rem;
}

/* Header + lead inside hub sections */
.business-unified-header {
  margin-bottom: 0.5rem;
}
.business-unified-lead {
  margin-bottom: 1.75rem;
}

/* 7-card grid: 3 cols, wraps to 2 then 1 */
.section-new.business-unified-section .business-hub_grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 900px) {
  .section-new.business-unified-section .business-hub_grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 540px) {
  .section-new.business-unified-section .business-hub_grid {
    grid-template-columns: 1fr;
  }
}

/* Hub-page closing CTA block layout */
.business-topic-cta {
  padding: 4rem 0;
}
.business-topic-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.business-topic-cta__text {
  flex: 1 1 26rem;
}
.business-topic-cta__text .business-topic-eyebrow {
  margin-bottom: 0.5rem;
}
.business-topic-cta__text .h2-new {
  margin-bottom: 0.75rem;
}
.business-topic-cta__action {
  flex: 0 0 auto;
}
@media (max-width: 700px) {
  .business-topic-cta__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* §28 — Hero: Viewport-Höhe fixieren, damit Highlights immer sichtbar */
.hero-new.cc-home {
  height: 100svh !important;
  overflow: hidden;
}
.layout-l.cc-hero-new {
  min-height: unset !important;
  height: 100%;
}

#query .business-hub_grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 900px) {
  #query .business-hub_grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 540px) {
  #query .business-hub_grid {
    grid-template-columns: 1fr;
  }
}