

@layer components {

  
  .mh-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
  .mh-compass-card {
    text-align: center;
    padding: 1rem;
    border: 1px solid #000;
    cursor: pointer;
    transition: 0.2s;
  }
  .mh-compass-card:hover { background: var(--mh-soft, rgba(0, 0, 0, 0.05)); }
  .mh-compass-card.active { background: #000; color: var(--mh-bg); }

  
  .mh-modal-table { width: 100%; font-size: 0.9rem; margin: 1rem 0; border-collapse: collapse; }
  .mh-modal-table td { padding: 4px 10px 4px 0; border-bottom: 1px solid #eee; vertical-align: top; }

  
  .mh-pv-container {
    width: 100%;
    height: 380px;
    background-color: #fdfdfd;
    border: 2px solid var(--mh-black);
    box-shadow: 8px 8px 0px var(--mh-black);
    background-image:
      linear-gradient(#e0e0e0 1px, transparent 1px),
      linear-gradient(90deg, #e0e0e0 1px, transparent 1px);
    background-size: 20px 20px;
    position: relative;
    overflow: hidden;
  }
  .mh-pv-grid {
    display: grid;
    width: 100%;
    height: 100%;
    grid-template-columns: repeat(20, 1fr);
    grid-template-rows: repeat(20, 1fr);
  }
  .mh-pv-item {
    opacity: 0;
    transform: scale(0.8);
    animation: popOnGrid 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 2px solid var(--mh-black);
    font-size: 1.2rem;
    position: relative;
    z-index: 2;
  }
  .mh-pv-house {
    grid-column: 6 / 16;
    grid-row: 10 / 18;
    border: 3px solid var(--mh-black);
    font-size: 0.8rem;
    font-weight: 700;
    align-items: flex-end;
    padding-bottom: 10px;
    z-index: 1;
  }
  .mh-pv-panels {
    grid-column: 6 / 16;
    grid-row: 8 / 10;
    background: var(--mh-black);
    color: #fff;
    border: none;
    font-size: 1rem;
    letter-spacing: 5px;
    animation-delay: 0.5s;
    box-shadow: 0 4px 0 rgba(0, 0, 0, 0.2);
  }
  .mh-pv-inverter {
    grid-column: 7 / 9;
    grid-row: 12 / 14;
    background: #fff000;
    animation-delay: 1.0s;
  }
  .mh-pv-battery {
    grid-column: 9 / 11;
    grid-row: 12 / 14;
    background: var(--mh-neon);
    animation-delay: 1.4s;
  }
  .mh-pv-smart {
    grid-column: 7 / 11;
    grid-row: 15 / 16;
    font-size: 0.7rem;
    background: #eee;
    animation-delay: 1.8s;
  }
  .mh-pv-wallbox {
    grid-column: 16 / 19;
    grid-row: 14 / 18;
    background: transparent;
    border: 2px dashed #999;
    flex-direction: column;
    gap: 5px;
    animation-delay: 2.2s;
  }
  .mh-pv-sun {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 2.5rem;
    animation: popOnGrid 0.5s forwards, spinSun 10s linear infinite;
    z-index: 0;
  }
  .mh-wire-ac {
    grid-column: 7 / 11;
    grid-row: 14 / 15;
    border-left: 2px dotted #000;
    border-right: 2px dotted #000;
    border-bottom: 2px dotted #000;
    animation: fadeInWire 0.5s forwards;
    animation-delay: 2.0s;
    opacity: 0;
  }
  
  @keyframes spinSun { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
  @keyframes fadeInWire { to { opacity: 1; } }

  
  @media (prefers-reduced-motion: reduce) {
    .mh-pv-item, .mh-pv-sun, .mh-wire-ac {
      animation: none !important;
      opacity: 1 !important;
      transform: none !important;
    }
  }

  
  @media (max-width: 600px) {
    .mh-grid-4 { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
    .mh-compass-card { padding: 0.75rem; }
  }
  @media (max-width: 380px) {
    .mh-grid-4 { grid-template-columns: 1fr; }
  }
}


.slider.w-slider{position:relative;overflow:hidden}
.slider.w-slider .w-slider-mask{position:relative;display:block;overflow:hidden}
.slider.w-slider .w-slide{position:absolute;top:0;left:0;width:100%;opacity:0;visibility:hidden;transition:opacity .8s ease;pointer-events:none}
.slider.w-slider .w-slide.is-active{position:relative;opacity:1;visibility:visible;pointer-events:auto}
.slider.w-slider img{max-width:100%;height:auto;display:block}
.slider.w-slider .w-slider-arrow-left,.slider.w-slider .w-slider-arrow-right{position:absolute;top:0;bottom:0;width:56px;display:flex;align-items:center;justify-content:center;cursor:pointer;color:#fff;z-index:3;background:transparent;border:0;-webkit-tap-highlight-color:transparent}
.slider.w-slider .w-slider-arrow-left{left:0}
.slider.w-slider .w-slider-arrow-right{right:0}
.slider.w-slider .w-slider-arrow-left:focus-visible,.slider.w-slider .w-slider-arrow-right:focus-visible{outline:2px solid #00e676;outline-offset:-4px}
.slider.w-slider .w-icon-slider-left::before{content:"\2039";font-size:2.4rem;line-height:1;text-shadow:0 1px 6px rgba(0,0,0,.6)}
.slider.w-slider .w-icon-slider-right::before{content:"\203A";font-size:2.4rem;line-height:1;text-shadow:0 1px 6px rgba(0,0,0,.6)}
@media (prefers-reduced-motion: reduce){.slider.w-slider .w-slide{transition:none}}




.pvd-carousel { width: 100%; }
.pvd-frame {
  position: relative;
  display: grid;
  border: 1px solid #000;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 10px 10px #0003;
  background: #0b0b0c;
}
.pvd-slide {
  grid-area: 1 / 1;
  opacity: 0;
  transition: opacity 550ms ease;
  pointer-events: none;
}
.pvd-slide.is-active { opacity: 1; pointer-events: auto; }
.pvd-img { display: block; width: 100%; height: auto; }

.pvd-slide .pvd-open {
  position: absolute;
  left: 50%;
  bottom: 7%;
  transform: translateX(-50%);
  margin: 0;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.35);
}
.pvd-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #000;
  border: 1px solid #000;
  border-radius: 2px;
  box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.3);
  font-family: "Space Mono", monospace;
  font-size: 1.5rem;
  line-height: 1;
  padding: 0 0 4px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.pvd-arrow:hover { background: #000; color: #fff; }
.pvd-prev { left: 12px; }
.pvd-next { right: 12px; }
.pvd-count {
  position: absolute;
  top: 10px;
  right: 12px;
  padding: 4px 9px;
  background: #fff;
  border: 1px solid #000;
  border-radius: 2px;
  font-family: "Space Mono", monospace;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}
@media (prefers-reduced-motion: reduce) {
  .pvd-slide { transition: none; }
}
@media screen and (max-width: 767px) {
  .pvd-arrow { width: 36px; height: 36px; }
  .pvd-slide .pvd-open { bottom: 5%; }
}


@media screen and (max-width: 991px) {
  #demo-landingpages .content-5-5.dual > .dyn-content,
  #demo-landingpages .content-5-5.dual > .text-content { display: contents; }
  #demo-landingpages .text-content > .margin-bottom { order: 1; }
  #demo-landingpages .pvd-carousel { order: 2; }
  #demo-landingpages .text-content > .paragraph-small { order: 3; }
}


#conversion-rechner .mh-info-trigger { padding: 5px; } 
#conversion-rechner .mh-roi-slider {
  height: 24px;
  background: linear-gradient(#000, #000) 50% 50% / 100% 2px no-repeat;
}


.mfh-live, .spv-live { display: none; }
