.pv-offer-section{
    padding:60px 20px;
}

.pv-offer-grid{
    max-width:1200px;
    margin:0 auto;
    display:grid;
    grid-template-columns:repeat(2, 1fr);
    gap:24px;
}

/* Box-Grunddesign */
.pv-offer-box{
    background:#f9f9f9;
    padding:30px 28px;
    border-radius:14px;
    border-left:6px solid var(--main-color);
    box-shadow:0 6px 18px rgba(0,0,0,.06);
}

.pv-offer-box h3{
    margin-top:0;
    font-size:1.4rem;
}

.pv-offer-box p{
    color:#444;
    line-height:1.6;
}

.pv-offer-box ul{
    padding-left:0;
    list-style:none;
    margin:20px 0;
}

.pv-offer-box li{
    margin-bottom:8px;
    font-size:0.95rem;
}

/* leichte visuelle Unterscheidung */
.pv-offer-box.anonymous{
    background:#f5fffb;
}

/* Mobile */
@media (max-width: 800px){
    .pv-offer-grid{
        grid-template-columns:1fr;
    }
}
.pv-offer-badge{
    display:inline-block;
    padding:6px 12px;
    font-size:13px;
    border-radius:20px;
    font-weight:600;
    margin-bottom:10px;
}
.classic-badge{
    background:#e3f2fd;
    color:#1565c0;
}
.anonymous-badge{
    background:#e8f8f0;
    color:#1b8f5a;
}
.pv-toggle{
    display:flex;
    justify-content:center;
    gap:10px;
    margin-top:20px;
    flex-wrap:wrap;
}
.toggle-btn{
    padding:12px 22px;
    border-radius:30px;
    border:2px solid #ddd;
    background:#fff;
    font-size:16px;
    cursor:pointer;
    transition:all .2s ease;
}
.toggle-btn.active{
    background:#85d85b;
    color:#fff;
    border-color:#85d85b;
}
.toggle-btn:hover{
    transform:translateY(-1px);
}.pv-compare{
    margin:0 auto;
    border-collapse:collapse;
    max-width:700px;
    width:100%;
    font-size:15px;
}
.pv-compare th,
.pv-compare td{
    padding:12px;
    border-bottom:1px solid #eee;
}
.pv-compare th{
    font-weight:700;
    background:#f9f9f9;
}
.pv-compare td:first-child{
    text-align:left;
    font-weight:600;
}@media (max-width:768px){
    .pv-offer-grid{
        display:flex;
        flex-direction:column;
    }
    .pv-offer-box.anonymous{
        order:1;
    }
    .pv-offer-box.classic{
        order:2;
    }
}
/* =========================
   REGION / STADT CARDS
========================= */

.region-card{
    display:flex;
    align-items:center;
    gap:40px;
    max-width:1100px;
    margin:0 auto;
}

/* Bild */
.region-image{
    flex:0 0 45%;
    overflow:hidden;
    border-radius:18px;
    box-shadow:0 8px 22px rgba(0,0,0,.08);
}

.region-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    transition:transform .4s ease;
}

.region-card:hover .region-image img{
    transform:scale(1.05);
}

/* Text */
.region-content{
    flex:1;
}

.region-content h3{
    margin-bottom:15px;
    color:#222;
}

.region-content p{
    margin-bottom:20px;
}

/* Bild rechts */
.region-card.reverse{
    flex-direction:row-reverse;
}

/* Mobile */
@media (max-width: 900px){
    .region-card,
    .region-card.reverse{
        flex-direction:column;
        text-align:center;
    }

    .region-image{
        width:100%;
    }

    .region-content{
        text-align:center;
    }
}
/* Screenreader only */
.sr-only{
    position:absolute;
    width:1px;
    height:1px;
    padding:0;
    margin:-1px;
    overflow:hidden;
    clip:rect(0,0,0,0);
    white-space:nowrap;
    border:0;
}

/* Blur Lazy Loading */
.blur-load img{
    filter:blur(20px);
    transform:scale(1.05);
    transition:filter .6s ease, transform .6s ease;
}

.blur-load img.loaded{
    filter:blur(0);
    transform:scale(1);
}

/*index-new NEWWWWWWWWWWWWWWWW*/

.energy-flow {
    background: #f7faf9;
    padding: 80px 20px;
    text-align: center;
}

.flow-title {
    font-size: 42px;
    font-weight: 700;
}

.flow-sub {
    max-width: 720px;
    margin: 10px auto 50px;
    color: #666;
    font-size: 18px;
}

/* FLOW */
.flow-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

/* BOX */
.flow-box {
    background: #fff;
    border-radius: 16px;
    padding: 16px;
    width: 220px;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
}


.energy-flow{
  background:#f7faf9;
  padding:80px 20px;
  text-align:center;
}
.flow-title{font-size:42px;font-weight:800;margin:0;}
.flow-sub{max-width:820px;margin:12px auto 40px;color:#555;font-size:18px;line-height:1.5;}

.flow-stage{
  position:relative;
  max-width:1100px;
  margin:0 auto;
}

/* SVG Overlay */
.flow-svg{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  pointer-events:none;
  z-index:0;
}

/* animierte gestrichelte Linie */
.flow-path{
  fill:none;
  stroke:#00b894;
  stroke-width:3;
  stroke-dasharray:8 10;
  opacity:.55;
  animation: dashMove 1.6s linear infinite;
}
.flow-path-head{
  fill:none;
  stroke:#00b894;
  stroke-width:3;
  stroke-dasharray:8 10;
  opacity:.9;
  animation: dashMove 1.6s linear infinite;
}

@keyframes dashMove{
  to { stroke-dashoffset: -36; }
}

/* Grid-Layout */
.flow-grid{
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:22px;
  align-items:start;
}
.flow-col.left{
  display:flex;
  flex-direction:column;
  gap:18px;
  align-items:flex-start;
}
.flow-col.right{
  display:flex;
  flex-direction:column;
  gap:18px;
  align-items:flex-start;
  margin-top:40px;
}

/* Cards */
.flow-card{
  position:relative;
  background:#fff;
  border-radius:18px;
  padding:16px;
  width:100%;
  box-shadow:0 10px 30px rgba(0,0,0,.08);
  text-align:left;
  overflow:visible;
}
.flow-card.highlight{
  border:2px solid rgba(0,184,148,.35);
}
.flow-card img{width:100%;height:auto;border-radius:12px;display:block;}
.flow-card-title{font-weight:800;margin-top:10px;font-size:16px;}

/* Tooltip */
.flow-card[data-tooltip]::after{
  content: attr(data-tooltip);
  position:absolute;
  left:14px;
  right:14px;
  bottom:100%;
  transform: translateY(-10px);
  background:#111;
  color:#fff;
  padding:10px 12px;
  border-radius:12px;
  font-size:13px;
  line-height:1.35;
  opacity:0;
  pointer-events:none;
  transition:opacity .18s ease, transform .18s ease;
  box-shadow:0 16px 40px rgba(0,0,0,.25);
  z-index:50;
}
.flow-card[data-tooltip]::before{
  content:"";
  position:absolute;
  left:28px;
  bottom:100%;
  transform: translateY(0);
  border:8px solid transparent;
  border-top-color:#111;
  opacity:0;
  transition:opacity .18s ease, transform .18s ease;
  z-index:51;
}
.flow-card:hover::after,
.flow-card:hover::before{
  opacity:1;
  transform: translateY(-16px);
}

/* CTA Buttons */
.flow-cta-btn{
  display:inline-block;
  margin-top:12px;
  padding:10px 14px;
  border-radius:12px;
  background:#00b894;
  color:#fff;
  font-weight:700;
  text-decoration:none;
}
.flow-cta-btn:hover{opacity:.9;}

.flow-cta-link{
  display:inline-block;
  margin-top:12px;
  font-weight:700;
  color:#00b894;
  text-decoration:none;
}

/* Bottom CTA for Variant B */
.flow-bottom-cta{
  margin-top:24px;
  text-align:center;
}
.flow-bottom-note{
  margin-top:10px;
  color:#666;
  font-size:13px;
}

/* ===== A/B visibility (Default: A) ===== */
.ab-b{ display:none; }
.flow-stage[data-ab="B"] .ab-a{ display:none; }
.flow-stage[data-ab="B"] .ab-b{ display:block; }

/* Mobile */
@media (max-width: 900px){
  .flow-grid{grid-template-columns:1fr;}
  .flow-col.right{margin-top:0;}
  .flow-svg{display:none;} /* auf mobile: ohne SVG overlay, weil sonst schwer passend */
}
.pv-flow-clean {
  padding: 80px 20px;
  text-align: center;
  background: #f7faf9;
}

.subtitle {
  color: #555;
  margin-bottom: 40px;
}

.flow-grid-clean {
    position: relative;
    max-width: 1000px;
    margin: 0 auto 40px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* Rows auf auto stellen, damit sie flexibel bleiben */
    grid-template-rows: auto auto auto; 
    gap: 20px;
}
/* Fixe Höhen für Desktop-Boxen (optional, für Symmetrie) */
@media (min-width: 901px) {
    .module, .inverter { min-height: 80px; display: flex; align-items: center; justify-content: center; }
    .flow-grid-clean { grid-template-rows: 100px 100px 140px; }
}

/* SVG exakt über Grid */
.flow-svg-clean {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.flow-svg-clean path {
  fill: none;
  stroke: #00b894;
  stroke-width: 3;
  stroke-dasharray: 8 8;
  animation: dash 1.4s linear infinite;
  marker-end: url(#arrow);
}

@keyframes dash {
  to { stroke-dashoffset: -32; }
}

/* Boxen */
.box {
  z-index: 2;
  background: #fff;
  border-radius: 16px;
  padding: 16px;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(0,0,0,.1);
}

/* Positionierung */
.module   { grid-column: 2 / span 2; grid-row: 1; }
.inverter { grid-column: 2 / span 2; grid-row: 2; }

.home     { grid-column: 1; grid-row: 3; }
.storage  { grid-column: 2; grid-row: 3; }
.grid     { grid-column: 3; grid-row: 3; }
.ev       { grid-column: 4; grid-row: 3; }

.highlight {
  border: 2px solid #00b894;
}
.box[data-tooltip]{
  position:relative;
  cursor:help;
}

.box[data-tooltip]::after{
  content: attr(data-tooltip);
  position:absolute;
  left:50%;
  bottom:110%;
  transform:translateX(-50%);
  background:#111;
  color:#fff;
  padding:10px 14px;
  border-radius:12px;
  font-size:13px;
  line-height:1.4;
  white-space:nowrap;
  opacity:0;
  pointer-events:none;
  transition:.2s ease;
  box-shadow:0 16px 40px rgba(0,0,0,.25);
  z-index:10;
}

.box[data-tooltip]:hover::after{
  opacity:1;
  bottom:125%;
}
.box img{
  width:28px;
  height:28px;
  display:block;
  margin-bottom:8px;
}
.box.active{
  box-shadow:0 0 0 4px rgba(0,184,148,.25),
             0 12px 35px rgba(0,0,0,.15);
  transform:scale(1.03);
}

@media (max-width: 900px){
  .flow-grid-clean {
        display: flex; /* Wechsel von Grid auf Flexbox für einfaches Stapeln */
        flex-direction: column;
        gap: 15px;
        max-width: 100%;
        padding: 0 10px;
    }

    .flow-svg-clean {
        display: none; /* SVG Pfade machen im Stapel-Layout keinen Sinn */
    }

    .box {
        width: 100% !important; /* Boxen nehmen volle Breite ein */
        box-sizing: border-box; /* Padding wird in die Breite eingerechnet */
        grid-column: auto !important; /* Grid-Zuweisungen aufheben */
        grid-row: auto !important;
        text-align: left;
        padding: 20px;
        font-size: 16px;
    }

    /* Der grüne Indikator-Strich für den Fluss auf Mobile */
    .box::before {
        content: "";
        position: absolute;
        left: 0;
        top: 10%;
        bottom: 10%;
        width: 5px;
        background: #00b894;
        border-radius: 0 4px 4px 0;
    }
    
    /* Tooltips auf Mobile deaktivieren (da kein Hover möglich) oder anders stylen */
    .box[data-tooltip]::after {
        display: none; 
    }
  .box::after {
        content: attr(data-tooltip);
        display: block !important;
        position: static !important;
        opacity: 1 !important;
        background: transparent !important;
        color: #666 !important;
        font-size: 13px !important;
        font-weight: 400;
        margin-top: 8px;
        white-space: normal !important;
        box-shadow: none !important;
        transform: none !important;
    }
}
.pv-compare-section{
  padding:70px 20px;
  background:#fff;
  text-align:center;
}

.pv-toggle{
  display:flex;
  justify-content:center;
  gap:12px;
  margin:20px 0 30px;
}

.toggle-btn{
  padding:12px 22px;
  border-radius:999px;
  border:2px solid #ddd;
  background:#fff;
  font-weight:700;
  cursor:pointer;
}

.toggle-btn.active{
  background:rgba(133,216,91,1);
  color:#fff;
  border-color:rgba(133,216,91,1);
}

.pv-compare{
  margin:0 auto 40px;
  max-width:760px;
  width:100%;
  border-collapse:collapse;
}

.pv-compare th,
.pv-compare td{
  padding:14px;
  border-bottom:1px solid #eee;
}

.pv-compare th{
  background:#f7faf9;
  font-weight:800;
}

.pv-compare td:first-child{
  font-weight:700;
  text-align:left;
}
/* =========================
   WARUM SONNIFY
========================= */

.pv-why-grid{
  margin-top:40px;
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:28px;
  max-width:1100px;
  margin-left:auto;
  margin-right:auto;
}

.pv-why-box{
  background:#ffffff;
  border-radius:22px;
  padding:36px 32px;
  box-shadow:0 18px 45px rgba(0,0,0,.08);
  text-align:left;
  position:relative;
  transition:transform .25s ease, box-shadow .25s ease;
}

.pv-why-box:hover{
  transform:translateY(-6px);
  box-shadow:0 26px 60px rgba(0,0,0,.12);
}

/* Icon */
.pv-why-icon{
  font-size:42px;
  line-height:1;
  margin-bottom:18px;
}

/* Titel */
.pv-why-box h3{
  margin:0 0 14px;
  font-size:20px;
  font-weight:800;
  color:#222;
}

/* Text */
.pv-why-box p{
  font-size:15.5px;
  line-height:1.6;
  color:#555;
}

/* kleine Hervorhebung */
.pv-why-box strong{
  color:#111;
  font-weight:700;
}

/* dezente linke Akzentlinie */
.pv-why-box::before{
  content:"";
  position:absolute;
  left:0;
  top:24px;
  bottom:24px;
  width:4px;
  background:linear-gradient(
    to bottom,
    #00b894,
    #55efc4
  );
  border-radius:4px;
  opacity:.85;
}

/* =========================
   MOBILE
========================= */
@media (max-width: 900px){
  .pv-why-grid{
    grid-template-columns:1fr;
    gap:22px;
  }

  .pv-why-box{
    padding:28px 24px;
  }

  .pv-why-icon{
    font-size:36px;
  }
}
