


.container-main,
.container-rechner,
.container-ablauf{
    max-width: 1200px;
    margin:0 auto 0 auto;
    padding: 15px;
}

.hero-wrapper{
    position: relative;
    margin-bottom: 100px;
}

small{
    font-size: 12px;
}

.hero-upper-content{
    position: relative;
    display: flex;
    justify-content: center; /* Überschrift bleibt links */
    height: 380px;
    max-width: 1200px;
    padding: 20px;
    overflow: hidden; /* Verhindert das Überlaufen des Bildes */
    margin:0 auto;
}

.hero-left-content{
    background: linear-gradient(to bottom right, #00354D, #11B96B);
    z-index: 2; /* Immer über dem Bild */
    width: 423px; /* Feste Breite für das linke Div */
    padding: 20px;
    box-sizing: border-box;
}

.hero-left-content-sani{
    background: linear-gradient(to bottom right, #11b96b, #588d1c);
}

.hero-left-content-heiz{
    background: linear-gradient(to bottom right, green, lightgreen);
}

.hero-left-content h1{
    font-size: 2.5rem;
    color: white;
    padding: 20px;
}

.hero-left-content p{
    color: white;
    padding: 0 20px 50px 20px ;
    font-size: 1.1rem;
    font-weight: bold;
}

.hero-right-content,
.hero-right-content-heiz{
    position: relative;
    width: 100%; /* Nimmt den restlichen Raum neben dem left-content ein */
    height: 100%; /* Füllt die gesamte Höhe */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden; /* Bild wird im Container gehalten */
}


.isfp-fahrplan-img{
    width: 80%;
    margin: 0 auto 50px auto;
    display: flex;
}


.btn-hero{
    padding: 10px;
    background: #feda00;
    color: black;
    font-size: 1rem;
    font-weight: bold;
    width: 150px;
    height: 40px;
    text-align: center;
    border-radius: 30px;
    text-decoration: none;
}

.btn-hero:hover{
    background: #00354D;
    color: white;
}

.lower-content-container{
    display: flex;
    justify-content: center;
    position: relative;
}


.hero-lower-content{
    width: 1038px;
    min-height: 160px;
    display: flex;
    background: white;
    border: solid silver 1px;
    border-radius: 3px;
    position: absolute;
    top: -50px;
    z-index: 5;
    justify-content: space-between;
}

.hlc-item1 img{
    height: 60px;
}

.hlc-item2-text img{
    height: 60px;
    padding: 0 10px;
}

.hlc-item1,
.hlc-item3{
    display: flex;
    align-items: center;
    padding: 0 15px;
}

.hlc-item2-text{
    height: 50%;
    display: flex;
    align-items: center;
    padding: 0 10px;
}

.hlc-item2-ueberblick{
    display: flex;
}

.hlc-item2-ueberblick img{
    height: 25px;
}

.hlc-i2-u1,
.hlc-i2-u2,
.hlc-i2-u3{
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 10px;
}

.hlc-i2-u1{
    flex: 1 0 173px;
}
.hlc-i2-u2{
    flex: 1 0 260px;
}
.hlc-i2-u3{
    flex: 1 0 206px;
}

.frame-calc{
  border: solid 1px silver;
  padding: 10px;
  margin: 30px 0;
}

#FAQ{
    margin-bottom: 50px;
}

.faq details {
    margin-bottom: 15px;
    padding: 20px 10px;
    border-radius: 5px;
    border-top: solid 1px silver;
    box-sizing: border-box;
  }
  
  summary {
    cursor: pointer;
    position: relative;
    font-weight: bold;
    padding-right: 25px;
    line-height: 1.5;
  }
  
  summary::marker {
    display: none;
  }
  
  .toggle-icon {
    position: absolute;
    right: 0;
    top: 0;
    font-size: 20px;
    font-weight: bold;
  }
  
  details[open] .toggle-icon::after {
    content: "-";
  }
  
  details:not([open]) .toggle-icon::after {
    content: "+";
  }
  
  details[open] p {
    padding-top: 10px;
    line-height: 1.8;
  }

  .download-btn{
    padding: 15px;
    text-decoration: none;
    color: white;
    font-weight: bold;
    background: #11b96b;
    width: 300px;
    margin: 30px auto;
    border-radius: 10px;
    box-sizing: border-box;
  }

  .download-btn:hover{
    background: #00869f;
  }
  


@media (max-width:1080px){
    .hero-lower-content{
        width: 95%;
    }
}

@media (max-width:900px){
    .hero-lower-content{
        flex-direction: column;
    }
    .hlc-item1 img{
        display: none;
        padding: 0 10px;
    }
    .hlc-item2-text{
        padding: 20px 10px;
    }
    .hlc-item2-ueberblick{
        flex-direction: column;
        gap: 20px;
    }
    .hlc-i2-u1,
    .hlc-i2-u2,
    .hlc-i2-u3{
        flex: 0 0 auto;
    }
    .btn-hero{
        padding: 10px;
        width: 280px;
        height: 25px;
        margin: 20px 0;
    }
    .lower-content-container{
        min-height: 160px;
    }
}

@media (min-width:900px){
.hero-right-content img{
    position: absolute;
    left: 50%; /* Linker Teil des Bildes fängt in der Mitte an */
    transform: translateX(-50%); /* Zentriert das Bild horizontal */
    height: 100%; /* Proportionale Höhe */
}
.hero-right-content-heiz img{
    position: absolute;
    left: 50%; /* Linker Teil des Bildes fängt in der Mitte an */
    transform: translateX(-50%); /* Zentriert das Bild horizontal */
    width: 100%;
}
.hlc-item1 img{
    display: block;
}
.hlc-item2-text img{
    display: none;
}

}

p{
    color: rgb(22, 22, 22);
}

.small{
    font-size: 0.8rem;
    padding: 5px;
}

sup{
    font-size: 10px;
}

table td{
    border: none;
    vertical-align: top;
}

h1{
    font-size: 1.6rem;
}

.mt-30{
    margin-top: 30px;
}

.mb-30{
    margin-bottom: 30px;
}

.pt-5{
    padding-top: 5px;
}

.pt-15{
    padding-top: 15px;
}

.pb-15{
    padding-bottom: 15px;
}

ul{
    list-style-position: inside;
}



.disc-anchor-nav{
    position: sticky;
    top: 0;
    background: white;
    border-top: solid 1px silver;
    border-bottom: solid 1px silver;
    width: 100%;
    white-space: nowrap;
    z-index: 19;
}

.disc-anchor-wrapper{
    display: flex;
    flex-wrap: nowrap;
    padding: 0 10px;
}

.anchor-nav{
    padding: 0;
    overflow-x: auto; /* Ermöglicht horizontales Scrollen */
    scroll-behavior: smooth; /* Glattes Scrollen */
    white-space: nowrap; /* Verhindert Zeilenumbruch der Links */
}

.anchor-link{
    margin-right: 30px;
    color: rgb(24, 24, 24);
    text-decoration: none;
    font-size: 0.9rem;
    scroll-behavior: smooth; /* Glattes Scrollen */
    padding: 20px 0;
}

.anchor-link.active {
    border-bottom: solid 5px #00869f;
    color: black;
    font-weight: bold;
    scroll-margin-left: 20px; /* Fügt einen Abstand hinzu, damit der Link nicht am Rand klebt */
}

.active-anchor-nav{
  background-color:orange;
  bottom: -16px;
  content: "";
  height: 4px;
  left: 0;
  position: absolute;
  right: 0;
  color: black;
}


/* So geht´s ,  Ablauf der Förderung   */

.ablauf-foerderung{
    margin: 40px 0 40px 0;
}

.grid-container{
    margin: 25px 0 0 0;
}

.grid-wrapper{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 45px;
}

.grid-element{
    width: 330px;
}

.grid-sub{
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 15px;
}

.grid-sub h3{
    font-size: 20px;
    font-weight: bold;
}

.grid-sub img{
    height: 40px;
}

.grid-text{
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.grid-text a{
    color: blue;
}

.grid-text a:hover{
    color: blueviolet;
}

.anfrage-stellen{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 35px 0;
    gap: 40px;
}

.btn-foerderung{
    background: rgb(14, 23, 156);
    text-decoration: none;
    color: white;
    font-size: 19px;
    padding: 15px;
    border-radius: 30px;
    width: 300px;
    font-weight: bold;
    border: solid 2px rgb(14, 23, 156);
    text-align: center;
    letter-spacing: 1px;
}

.btn-faq{
    background: white;
    border: solid 2px rgb(22, 22, 24);
    color: rgb(22, 22, 24);
    border-radius: 30px;
    padding: 15px;
    text-decoration: none;
    width: 300px;
    font-size: 19px;
    font-weight: bold;
    text-align: center;
    letter-spacing: 1px;
}

.btn-foerderung:hover,
.btn-faq:hover{
    color: White;
    background: rgb(27, 27, 27);
    border: solid 2px rgb(27, 27, 27);
}



/*    Förderüberblick    */

.outer-wrapper{
    display: block;
    padding: 25px 0;
    border-bottom: solid 1px rgb(216, 213, 213);
    border-top: solid 1px rgb(216, 213, 213);
    transition: border-color 0.3s ease; 
}

.minus{
    display: none;
}

.plus,
.minus{
    font-size: 28px;
    font-weight: 700;
    padding: 0 15px;
}

.outer-wrapper:hover{
    cursor: pointer;
    border-bottom: solid 2px rgb(0, 0, 0);
    border-top: solid 2px rgb(0, 0, 0);
}


.inner-wrapper{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.inner-item img{
    height: 45px;
}

.inner-item h3{
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 18PX;
    font-weight: bold;
}

.hidden-div{
    display: none;
    padding: 25px;
}

.btn5{
    padding: 10px 15px;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    background: blue;
}

.btn5:hover{
    background: #00354D;
}

.yellow-price{
    background-image: url(../img/backgrounds/yellow-price.webp);
    background-position: center;
    background-size: cover;
    height: 67px;
    display: inline-flex;
    align-items: center;
    padding: 0 30px;
    font-weight: 700;
    font-style: italic;
}


/* Förderrechner */

.container-rechner{
    margin-top: 40px;
}

.rechner-text{
    padding-bottom: 30px;
    margin: 40px 0 0 0;
}

.row-col{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.wi-100{
    flex: 0 0 auto;
    width: 100%;
}

.wi-66{
    flex: 0 0 auto;
    width: calc(66.666666% - 25px);
}

.wi-50{
    width: 50%;
}

.wi-33{
    flex: 0 0 auto;
    width: calc(33.333% - 25px);
}

.rechner-em{
    background: #f5f5f5;
    padding: 10px;
    border-radius: 7px;
    position: relative;
}

.rechner-em h1,
.rechner-auswertung h1{
    padding: 20px 0 10px 0;
    font-weight: 450;
    letter-spacing: 1px;
}

.rechner-em label{
    font-weight: 400;
    font-size: 0.85rem;
    padding: 3px 0 0 3px;
}

.rechner-em input{
    width: calc(100% - 10px);
    font-size: 1rem;
    padding: 10px 0 10px 5px;
    color: black !important;
}

.rechner-em select{
    width: 100%;
    font-size: 1rem;
    padding: 10px 0 10px 5px;
    color: black !important;
}

.rechner-em select{
    margin: 20px 0 0 0;
    background-color: white;
    outline: none;
    color: black;
}

.rechner-em button{
    background: #00354d;
    color: white;
    margin: 30px auto;
    width: 100%;
    padding: 10px;
    border-radius: 7px;
    font-size: 1.2rem;
}

.rechner-em button:hover{
    cursor: pointer;
    background: #26b6be;
}

.rechner-auswertung{
    padding: 10px;
    background: #f5f5f5;
    border-radius: 7px;
}

  #output-warning,
  #output-warning-2{
    display: none;
    text-align: center;
    vertical-align: center;
    background-color: rgb(245, 183, 183);
    padding: 30px 10px;
    border-radius: 7px;
    margin-bottom: 10px;
  }

  #output-success,
  #output-success-2{
    display: none;
    text-align: center;
    vertical-align: center;
    background-color: rgb(178, 241, 178);
    padding: 30px 10px;
    border-radius: 7px;
    margin-bottom: 10px;
  }

  .button-hinweis{
    width: 300px;
    padding: 10px;
    background: rgb(14, 23, 156);
    color: white;
    text-decoration: none;
    border-radius: 7px;
  }



/*   ++++++++    Leistungen    +++++++   */

#leistung-ueberblick{
    margin: 0 0 40px 0;
}

.leistungen-wrapper{
    display: flex;
    gap: 40px;
}

.leistungen-left-content{
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.leistung-item p{
    font-size: 1rem;
}

.leistung-item img{
    height: 20px;
    padding-right: 10px;
}

.leistungen-right-content{
    width: 100%;
    height: 450px;
    background-image: url(../img/energie/mitarbeiter.webp);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
}


  @media (max-width:900px){
    .hero-upper-content{
        flex-direction: column-reverse;
        height: auto;
        padding: 0;
    }

    .hero-left-content{
        height: min-content;
        width: 100%;
    }

    .hero-right-content{
        width: 100%;
    }

    .hero-right-content img,
    .hero-right-content-heiz img{
        min-width: 444px;
    }
    
    .anfrage-stellen{
        gap: 15px;
    }
    .leistungen-wrapper{
        flex-direction: column-reverse;
    }
    .leistungen-right-content{
        height: 200px;
    }
  }

  @media (max-width:676px) {
    .row-col{
        flex-direction: column;
        align-items: center;
    }

    .wi-33,
    .wi-66{
        width: 100%;
    }

    .rechner-auswertung{
        padding: 0;
        margin: 15px 0 0 0;
    }

    .rechner-auswertung h1{
        padding-left: 10px;
    }

    .output-warning,
    .output-warning-2,
    .output-success,
    .output-sucess-2{
        width: 80%;
        margin: 0px auto 10px auto;
    }
    .lower-content-container{
        min-height: 210px;
    }
  }