*{
	padding: 0;
	margin: 0 ;
}

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@600&display=swap');



@font-face { font-family: Inter; src: url('Inter/Inter-VariableFont_slnt,wght.ttf'); } 


body{
    overflow-x: hidden; 
}






#header_nav{
    position: relative;
}
#header_nav_m{
    display: none;
   }

@media (max-width: 1067px) {
   #header_nav{
    display: none;
   }
   #header_nav_m{
    display: block;
   }
  }


.headline1{
    position: relative;
    margin-top:70px;
    font-family: 'Inter';
}

.headline2{
    position: relative;
    margin-top:2vh;
    font-family: 'Inter';
}

.anfrage-box{
    position: relative;
    width: 90%;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    border:1px solid rgb(201, 201, 201);
    box-shadow: 0 3px 10px rgb(0 0 0 / 0.2);
    margin-top: 2vh;
}

#anfrage_box_seite_1{
    position: relative;
    width: 100%;
    height: 100%;
    display:block;
}
#anfrage_box_seite_2{
    position: relative;
    width: 100%;
    height: 100%;
    display:none;
}

#anfrage_box_seite_3{
  position: relative;
  width: 100%;
  height: 100%;
  display:none;
}

#anfrage_box_seite_4{
  position: relative;
  width: 100%;
  height: 100%;
  display:none;
}

#anfrage_box_seite_5{
  position: relative;
  width: 100%;
  height: 100%;
  display:none;
}

#anfrage_box_seite_6{
  position: relative;
  width: 100%;
  height: 100%;
  display:none;
}

#anfrage_box_seite_7{
  position: relative;
  width: 100%;
  height: 100%;
  display:none;
}

#anfrage_box_seite_8{
  position: relative;
  width: 100%;
  height: 100%;
  display:none;
}


#anfrage_box_seite_9{
  position: relative;
  width: 100%;
  height: 100%;
  display:none;
}


#anfrage_box_seite_10{
  position: relative;
  width: 100%;
  height: 100%;
  display:none;
}


.anfrage-headline{
    position: relative;
    font-family: "Inter";
    font-size: 1.3em;
    margin-top:1.5em;
    text-align: center;
}







.main-cards{
    width: 100%;
    margin:0px auto;
    background: #fff;
  }
  
  .cards {
    width: 90%;
    padding-top: 25px;
    padding-bottom: 5px;
    display: grid;
    grid-gap: 0rem;
    position: relative;
    margin:0.5em auto;
    justify-items: center;
  }
  
  .card {
    background-color: #fff;
    color: white;
    height: auto;
    padding-bottom: 20px;
  }
  
  .card-img{
    position: relative;
    width: 100%;
    max-width: 100px;
    height: auto;
    background-color: #fff;
    margin-top:0px;
  }
  .card-headline{
    position: relative;
    font-size: 1em;
    font-weight: bold;
    margin-top:5px;
    padding-left: 7px;
    padding-right: 7px;
    padding-bottom: 7px;
    text-align: center;
    color:#000;
    font-family: Arial, Helvetica, sans-serif;
  }

   /* Screen larger than 600px? 2 column */
   @media (min-width: 0px) {
    .cards { grid-template-columns: repeat(2, 1fr); }
    .cards {
        width: 80%;
        max-width: 500px;
      }
    .card {
      }
  }
  
  
  /* Screen larger than 900px? 3 columns */
  @media (min-width: 700px) {
    .cards { grid-template-columns: repeat(4, 1fr); }
    .card {
      }
  }
  
  

/* HIDE RADIO */
[type=radio] { 
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
  }
  
  /* IMAGE STYLES */
  [type=radio] + img {
    cursor: pointer;
  }

  /* CHECKED STYLES */
  [type=radio]:hover + img {
    outline: 2px solid #0386d1;
  }
  
  /* CHECKED STYLES */
  [type=radio]:checked + img {
    outline: 2px solid #0386d1;
  }






  .form-container {
    max-width: 500px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 2fr 30px;
    gap: 10px;
    align-items: center;
    margin-top: 2em;
  }

  .form-container-label{
    position: relative;
    font-family: "Inter";
  }

  select, input[type="number"] {
    width: 100%;
    padding: 5px;
    box-sizing: border-box;
  }

  .unit {
    text-align: left;
    padding-left: 5px;
    font-family: "Inter";
  }

  @media (max-width: 600px) {
    .form-container {
      grid-template-columns: 1fr;
      width: 90%;
    }

    .unit {
      padding-top: 0;
      display: none;
    }
  }

















  
  .div-button{
    position: relative;
    width: 100%;
    max-width: 400px;
    margin:2em auto;
    display: flex;
    justify-content: center; /* zentriert horizontal */
  align-items: center;     /* optional, für vertikale Zentrierung */
  gap: 2vh;
  }


 .div-button-back{
    position: relative;
    font-family: "Inter";
    font-size:17px;
    font-weight: 500;
    text-align: center;
    background-color: #c5c5c5;
    width: 100%;
    height: 40px;
    border:none;
    color: #252525;
    transition: 0.5s;
    padding-left: 10px;
    padding-right: 10px;
    border-radius: 10px;
  }
  .div-button-back:hover{
    background-color: #aaaaaa;
    cursor: pointer;
  }

  .div-button-weiter{
    position: relative;
    font-family: "Inter";
    font-size:17px;
    font-weight: 500;
    text-align: center;
    background-color: #002d86;
    color:#fff;
    width: 100%;
    height: 40px;
    border:none;
    transition: 0.5s;
    border-radius:10px;
    padding-left: 10px;
    padding-right: 10px;
  }
  .div-button-weiter:hover{
    background-color: #0141c1;
    cursor: pointer;
  }

.mehr-Ausstattung-box{
  width:90%;
  display:flex;
  margin-left:10%;
}





  .form-container-mehr {
    max-width: 500px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 2fr 30px;
    gap: 10px;
    align-items: center;
    margin-top: 2em;
  }

  

  @media (max-width: 600px) {
    .mehr-Ausstattung-box {
      width:90%;
      display:block;
      margin-left:5%;
    }

    .form-container-mehr {
    max-width: 500px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 2fr 30px;
    gap: 10px;
    align-items: center;
    margin-top: 2em;
  }
  }




  .form-container-head {
    max-width: 500px;
    margin: auto;
    font-size: 1em;
    font-weight: 700;
    margin-top:4vh;
    font-family: "Inter";
  }


  .text-area{
    position: relative;
    padding-top:1vh;
    padding-bottom:1vh;
    font-family: "Inter";
    font-size: 0.9em;
    resize: none;
    width: 100%;
    padding-left: 1vh;
    padding-right: 1vh;
  }



  .anchor-link-box-a{
    position: relative;
    font-family: "Inter";
    color:#d10303;
    transition: 0.5s;
    cursor: pointer;
    text-decoration: none;
    font-weight: 500;
  }
  .anchor-link-box-a:hover{
    color:#043ba8;
    font-weight: bold
  }




  



.checkbox-edit {
  transform: scale(1.5);
}





.fortschritt-bar{
  position: relative;
  width: 90%;
  border:1px solid #b8b8b8;
  height: 10px;
  margin:0 auto;
  max-width: 700px;
  border-radius: 5px;
  display: flex;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}


#fortschritt_bar_1{
  position: relative;
  display: block;
  width: 10%;
  height: 10px;
  background-color: #0141c1;
}
#fortschritt_bar_2{
  position: relative;
  display: none;
  width: 10%;
  height: 10px;
  background-color: #0141c1;
}
#fortschritt_bar_3{
  position: relative;
  display: none;
  width: 10%;
  height: 10px;
  background-color: #0141c1;
}
#fortschritt_bar_4{
  position: relative;
  display: none;
  width: 10%;
  height: 10px;
  background-color: #0141c1;
}
#fortschritt_bar_5{
  position: relative;
  display: none;
  width: 10%;
  height: 10px;
  background-color: #0141c1;
}
#fortschritt_bar_6{
  position: relative;
  display: none;
  width: 10%;
  height: 10px;
  background-color: #0141c1;
}
#fortschritt_bar_7{
  position: relative;
  display: none;
  width: 10%;
  height: 10px;
  background-color: #0141c1;
}
#fortschritt_bar_8{
  position: relative;
  display: none;
  width: 10%;
  height: 10px;
  background-color: #0141c1;
}
#fortschritt_bar_9{
  position: relative;
  display: none;
  width: 10%;
  height: 10px;
  background-color: #0141c1;
}
#fortschritt_bar_10{
  position: relative;
  display: none;
  width: 10%;
  height: 10px;
  background-color: #0141c1;
}


.btn-input-choose{
  position: relative;
  padding-top:1vh;
  padding:1vh;
  padding:1vh;
  padding:1vh;
  color:#fff;
  background:#000;
  border:none;
  border-radius:5px;
  cursor:pointer;
  margin:0 auto;
}



.info-box-1{
  position: relative;
  font-family: 'Inter';
  width: fit-content; 
  margin-left: auto;
  margin-right: auto;
  margin-top:6vh;
}

.info-box-1-p{
  position: relative;
  font-size:1.4em;
  margin-top:1vh;
}


.headline3{
    position: relative;
    margin-top:100px;
    font-family: 'Inter';
    font-size:1.6em;
}

.headline4{
    position: relative;
    margin-top:2vh;
    font-family: 'Inter';
    font-size:1.4em;
}

.headline4-2{
    position: relative;
        width: 90%;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    margin-top:2vh;
    font-family: 'Inter';
    font-size:1.4em;
    font-weight:600;
}

.background-color{
position: relative;
background-color: #f2f2f2;
padding-top:1vh;
padding-bottom:4vh;
margin-top:4vh;
}

.info-text{
  position: relative;
  width: 90%;
  max-width: 900px;
  margin-top:3vh;
  font-family: 'Inter';
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.info-text-2{
  position: relative;
  width: 90%;
  max-width: 1000px;
  margin-top:3vh;
  font-family: 'Inter';
  margin-left: auto;
  margin-right: auto;
}








.div-box-buttons{
  width: 80%;
  max-width: 1000px;
  margin-left:auto;
  margin-right:auto;
  margin-top:20px;
  box-shadow: 0 0 7px 7px rgba(141, 141, 155, 0.192);
  font-family: 'Inter';
}

.accordion {
  background-color: #eee;
  color: #444;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 17px;
  line-height: 15px;
  transition: 0.4s;
  border-bottom: 1px solid #303030;
}

.active, .accordion:hover {
  background-color: #ccc; 
}

.panel {
    display: none;
    background-color: #fcfcfc;
    overflow: hidden;
    padding: 0 18px;
  }
.panel-p {
  padding: 0 0px;
  color:#000;
  padding-top:15px;
  padding-bottom:15px;
}

.panel-p-a {
    padding: 0 0px;
    text-decoration: none;
    transition: 0.5s;
    color:#043ba8;
  }

.panel-p-a:hover {
    color: #d10303;
}

.accordion-span{
  float: right;
  right: 30px;
  font-weight: bold;
  font-size:20px;
}



.line-chart-div1{
    position: relative;
    width: 95%;
    margin-left:3%;
    margin-top:-30px;
}

#line-chart{
    position: relative;
    left:0px;
}

#link_hover{
    position: relative;
    color:#990303;
    transition: 0.5s;
}
#link_hover:hover{
    color:#043ba8;
}










.section2{
  position: relative;
  background-color: #eeeeee;;
  margin-top:40px;
  text-align: left;
}
.section2-h1{
  position: relative;
  color: black;
  font-size: 28px;
}

.section2-h1-4{
position: relative;
color: #000;
font-size: 28px;
font-weight: normal;
}



.section1-h2-vorschlag{
  position: relative;
  color: black;
  margin-top:35px;
  width: 90%;
  font-size: 1.8em;
}

.section1-p-vorschlag{
  position: relative;
  color: black;
  margin-top:12px;
  font-size: 16px;
  width: 90%;
}

.section1-vorschlag-box{
  position: relative;
  width: 90%;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  margin-top:30px;
  display: flex;

}

.section1-vorschlag-box-b1{
  position: relative;
  width: 33%;
  height: auto;
  padding-bottom:15px;
}

.section1-vorschlag-box-b2{
  position: relative;
  width: 33%;
  height: auto;
  padding-bottom:15px;
}

.section1-vorschlag-box-b3{
  position: relative;
  width: 33%;
  height: auto;
  padding-bottom:15px;

}

.vorschlag_bx_icon_bx{
  padding-top:20px;
  padding-bottom:20px;
  width: 120px;
  background-color: #fff;
}

.vorschlag_bx_icon_bx_black{
  padding-top:10px;
  padding-bottom:10px;
  width: 80px;
  background-color: #fff;
  border:2px solid #000;
}


#vorschlag_bx_icon{
  position: relative;
  width: 100px;
  color: #535353;
}

.section1-vorschlag-box-b1-h{
  position: relative;
  font-weight: bold;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  margin-top:5px;
}
.section1-vorschlag-box-b1-txt{
  position: relative;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  margin-top:7px;
}








.start-div-box2-start{
    position: relative;
    width:100%;
    margin:70px auto;
    padding-top:20px;
    padding-bottom:15px;
    background-color: #e9e9e9;
    box-shadow: 0 0 13px 13px rgba(141, 141, 155, 0.192);
  }

.start-div-box2{
  position: relative;
  width: 90%;
  max-width:800px;
  margin:0px auto;
}




.zinsbindung-box{
    position: relative;
    width: 100%;
    max-width: 800px;
    border:1px solid rgba(149, 157, 165, 0.2);
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    height: auto;
    padding-bottom:20px;
    margin-top:0px;
    border-radius: 7px;
  }
  .zinsbindung-box-infos{
    position: relative;
    font-family: Arial, Helvetica, sans-serif;
    display: flex;
    width: 90%;
    max-width: 700px;

    margin-left: 5%;
    margin-top:15px;
  }

  .zinsbindung-box-box-1{
    position: relative;
    width: 48%;
    margin-top:0px;

  }
  .zinsbindung-box-box-1-t{
    position: relative;
    width: 100%;
    font-size: 16px;
  }
  .zinsbindung-box-box-1-inp{
    position: relative;
    width: 150px;
    margin-left: 15px;
    padding-top:3px;
    padding-bottom:3px;
    padding-left: 5px;
  }
  .zinsbindung-box-box-1-inp2{
    position: relative;
    width: 100%;
    margin-left: 15px;
    padding-top:3px;
    padding-bottom:3px;
    padding-left: 5px;
  }

.wie-viel-haus-kann-ich-leisten{
    position: relative;
    width:100%;
    max-width: 800px;
    border:1px solid rgba(149, 157, 165, 0.2);
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
    height: auto;
    margin-top:20px;
    border-radius: 7px;
    padding-bottom: 20px;
  }

.wie-viel-haus-kann-ich-leisten-h2{
    position: relative;
    font-family: Arial, Helvetica, sans-serif;
    color:#000; 
    font-size: 20px;
    text-align: left;
    width:90%;
    margin-left: 5%;
    margin-top:30px;
  }
  .wie-viel-haus-kann-ich-leisten-h3{
    position: relative;
    font-family: Arial, Helvetica, sans-serif;
    color:#000; 
    font-size: 17px;
    text-align: left;
    width:90%;
    margin-left: 5%;
    margin-top:10px;
  }

  .wie-viel-haus-kann-ich-leisten-box{
    position: relative;
    font-family: Arial, Helvetica, sans-serif;
    display: flex;
    width: 90%;
    margin-left:5%;
    margin-top:25px;
  }

  .wie-viel-haus-kann-ich-leisten-box-1{
    position: relative;
    width: 340px;
  }
  .wie-viel-haus-kann-ich-leisten-box-2{
    position: relative;
    width: 48%;
    margin-left: 4%;
  }
  .wie-viel-haus-kann-ich-leisten-box-2-2{
    position: relative;
    width: 48%;
    margin-left: 0%;
  }

  .wie-viel-haus-kann-ich-leisten-inp{
    position: relative;
    padding-top:2px;
    padding-bottom:2px;
    padding-left:5px;
    font-size: 16px;
    width: 100px;
  }


  .slider {
    -webkit-appearance: none;
    width: 100%;
    height: 10px;
    background: #d3d3d3;
    outline: none;
    opacity: 1;
    -webkit-transition: .2s;
    transition: opacity .2s;
  }
  
  .slider:hover {
    opacity: 1;
  }
  
  .slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 23px;
    height: 23px;
    border-radius: 5px;
    background: #003fbd;
    cursor: pointer;
  }
  
  .slider::-moz-range-thumb {
    width: 23px;
    height: 23px;
    background: #003fbd;
    cursor: pointer;
  }

  .wie-viel-haus-kann-ich-leisten-box2{
    position: relative;
    font-family: Arial, Helvetica, sans-serif;
    display: flex;
    width: 90%;
    margin-left: 5%;
    margin-top:30px;
  }

  .wie-viel-haus-kann-ich-leisten-box-3{
    position: relative;
    width: 340px;
  }
.wie-viel-haus-kann-ich-leisten-box-3-p{
    position: relative;
    color: #000;
    font-size:16px;
}
.wie-viel-haus-kann-ich-leisten-box-3-p2{
    position: relative;
    color: #548235;
    font-size:30px;
    font-weight: bold;
}


  .wie-viel-haus-kann-ich-leisten-box-4{
    position: relative;
    width: 340px;
  }
  .wie-viel-haus-kann-ich-leisten-box-4-p{
    position: relative;
    color: #000;
    font-size:0.8em;
    line-height: 1.3;
    margin-top:15px;
    width: 90%;
    margin-left: 5%;
}

.range-bottom-info{
    position: relative;
    width: 100%;
    display:flex;
    margin-top:7px;
}

.range-bottom-info-1{
    position: relative;
    width: 50%;
    float: left;
    font-size: 13px;
}
.range-bottom-info-2{
    position: relative;
    width: 50%;
    float: right;
    font-size: 13px;
    text-align: right;
}



.div-main-inputbox-button{
    position: relative;
    background-color: rgb(0, 104, 202);
    color: #fff;
    font-weight: bold;
    width:23px;
    height: 19px;
    border:none;
    font-size: 13px;
    margin-left: 7px;
    text-align: center;
    padding-top: 4px;
    border-radius: 13px;
    transition: 0.5s;
    top:2px;
}
.div-main-inputbox-button:hover{
    cursor: pointer;
    background-color: rgb(0, 81, 156);
}

.div-main-inputbox-button .tooltiptext {
    visibility: hidden;
    width: 300px;
    background-color: #fff;
    color: #000;
    border: 1px solid #b1b1b1;
    text-align: left;
    font-weight: normal;
    padding: 5px 0;
    padding-left: 10px;
    margin-left: 20px;
  
    /* Position the tooltip */
    position: absolute;
    z-index: 1;
  }
  
  .div-main-inputbox-button:hover .tooltiptext {
    visibility: visible;
  }


  .div-main-input-select{
    position: relative;
    font-size: 16px;
    color:#000;
    padding-left: 5px;
    margin-left: 0px;
    padding-top:3px;
    padding-bottom:3px;
    width:100%;
}



.switch-field {
	display: flex;
	margin-bottom: 6px;
	overflow: hidden;
    margin-left:5px;
    margin-top:15px;
}

.switch-field input {
	position: absolute !important;
	clip: rect(0, 0, 0, 0);
	height: 1px;
	width: 1px;
	border: 0;
	overflow: hidden;
}

.switch-field label {
	background-color: #e4e4e4;
	color: rgba(0, 0, 0, 0.6);
	font-size: 14px;
	line-height: 1;
	text-align: center;
	padding: 8px 13px;
	margin-right: -1px;
	border: 1px solid rgba(0, 0, 0, 0.2);
	box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px rgba(255, 255, 255, 0.1);
	transition: all 0.1s ease-in-out;
}

.switch-field label:hover {
	cursor: pointer;
}

.switch-field input:checked + label {
	background-color: #4da2d3;
    color:#fff;
	box-shadow: none;
}

.switch-field label:first-of-type {
	border-radius: 4px 0 0 4px;
}

.switch-field label:last-of-type {
	border-radius: 0 4px 4px 0;
}

/* This is just for CodePen. */


.baufi-zinssuche-btn{
    position: relative;
    width: 70%;
    max-width: 130px;
    height: 27px;
    background-color: #006000;
    transition: 0.5s;
    border:none;
    color:#fff;
    font-size:17px;
    margin:0 auto;
    cursor: pointer;
    text-align:center;
}
.baufi-zinssuche-btn:hover{
    background-color: #014901;
    border-radius: 5px;
}


.start-div-box-ratgeber{
    position: relative;
    width: 1000px;
    height: auto;

    margin-top: 20px;
}



.start-div-box-ratgeber{
    position: relative;
    
}


.info-zinsen-text{
    position: relative;
    margin-top:25px;
    font-size: 0.9em;
    text-align: center;
}
#zinsen_rechner_info{
    display:none;
}

@media (max-width:700px) {
    .info_id2{
        display:none;
    }
}


@media (max-width:620px) {
    .info_id2{
        display:none;
    }

    #zinsen_rechner_info{
        display:block;
    }

    .zinsbindung-box-infos{
        display: block;
        width: 90%;
        max-width: 700px;
        margin-left: 5%;
      }
    .zinsbindung-box-box-1{
        position: relative;
        width: 100%;

      }
    
    .wie-viel-haus-kann-ich-leisten-box-2{
        position: relative;
        width: 100%;
        margin-left: 0%;
        margin-top:20px;
      }

      .switch-field{
        position: relative;
        justify-content: center;
        align-items: center;
      }
}
    














.desktop_2 * {
  font-family: Nunito, sans-serif;
  margin-top: 0px;
  margin-right: 0px;
  margin-bottom: 0px;
  margin-left: 0px;
}

.desktop_2 button {
  cursor: pointer;
}

.desktop_2 img {
  cursor: pointer;
}

.desktop_2 img:hover {
  transform: scale(1.02);
  transition-duration: 0.3s;
  transition-timing-function: ease-in-out;
  transition-delay: 0s;
  transition-property: all;
}

.desktop_2 .hdImg {
  display: none;
}

.desktop_2 .btn-box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: none;
}

.desktop_2 .project:hover .btn-box {
  display: block;
}

.desktop_2 .Container {
  width: 890px;
  margin-top: 100px;
  margin-right: auto;
  margin-bottom: 50px;
  margin-left: auto;
}

.desktop_2 .portfolio {
  background-image: initial;
  background-position-x: initial;
  background-position-y: initial;
  background-size: initial;
  background-repeat-x: initial;
  background-repeat-y: initial;
  background-attachment: initial;
  background-origin: initial;
  background-clip: initial;
  background-color: white;
  position: relative;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
}

.desktop_2 .project {
  position: relative;
  background-image: initial;
  background-position-x: initial;
  background-position-y: initial;
  background-size: initial;
  background-repeat-x: initial;
  background-repeat-y: initial;
  background-attachment: initial;
  background-origin: initial;
  background-clip: initial;
}

.desktop_2 .overlay {
  position: fixed;
  background-image: initial;
  background-position-x: initial;
  background-position-y: initial;
  background-size: initial;
  background-repeat-x: initial;
  background-repeat-y: initial;
  background-attachment: initial;
  background-origin: initial;
  background-clip: initial;
  background-color: rgba(71, 69, 69, 0.7);
  height: 100%;
  width: 100%;
  max-height: 100%;
  top: 0px;
  left: 0px;
  z-index: 100;
  display: none;
  padding-top: 20px;
  padding-right: 20px;
  padding-bottom: 20px;
  padding-left: 20px;
}

.desktop_2 .overlay-inner {
  top: 50%;
  right: 0px;
  bottom: 0px;
  left: 50%;
  transform: translate(-50%, -50%);
  background-image: initial;
  background-position-x: initial;
  background-position-y: initial;
  background-size: initial;
  background-repeat-x: initial;
  background-repeat-y: initial;
  background-attachment: initial;
  background-origin: initial;
  background-clip: initial;
  background-color: white;
  max-width: 700px;
  width: fit-content;
  padding-top: 35px;
  padding-right: 20px;
  padding-bottom: 20px;
  padding-left: 20px;
  position: relative;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
  border-bottom-left-radius: 10px;
  opacity: 1;
  max-width: 50%;
  max-height: 85%;
}

.desktop_2 .close {
  position: absolute;
  top: 9px;
  right: 15px;
  background-image: none;
  background-position-x: initial;
  background-position-y: initial;
  background-size: initial;
  background-repeat-x: initial;
  background-repeat-y: initial;
  background-attachment: initial;
  background-origin: initial;
  background-clip: initial;
  background-color: initial;
  outline-color: initial;
  outline-style: initial;
  outline-width: 0px;
  color: #474545;
  border-top-width: 0px;
  border-right-width: 0px;
  border-bottom-width: 0px;
  border-left-width: 0px;
  border-top-style: initial;
  border-right-style: initial;
  border-bottom-style: initial;
  border-left-style: initial;
  border-top-color: initial;
  border-right-color: initial;
  border-bottom-color: initial;
  border-left-color: initial;
  border-image-source: initial;
  border-image-slice: initial;
  border-image-width: initial;
  border-image-outset: initial;
  border-image-repeat: initial;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.desktop_2 .overlay-inner .hdImgs {
  width: fit-content;
  height: calc(80% - 55px);
  display: flex;
}

.desktop_2 .overlay-inner img {
  max-height: 100%;
  max-width: 100%;
  transform: none;
}

.desktop_2 .bigImg {
  width: 665px;
  height: 440px;
  margin-top: 0px;
  margin-right: 10px;
  margin-bottom: 10px;
  margin-left: 0px;
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
  border-bottom-right-radius: 6px;
  border-bottom-left-radius: 6px;
}

.desktop_2 .project-image {
  height: 215px;
  width: 215px;
  margin-top: 0px;
  margin-right: 10px;
  margin-bottom: 10px;
  margin-left: 0px;
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
  border-bottom-right-radius: 6px;
  border-bottom-left-radius: 6px;
}

.desktop_2 .above {
  display: flex;
}

.desktop_2 .bottom {
  display: flex;
  justify-content: space-around;
}

@media (max-width: 1024px) {
  .desktop_2 .project-image {
    width: 165px;
    height: 165px;
  }

  .desktop_2 .Container {
    width: 690px;
    margin-top: 80px;
    margin-right: auto;
    margin-bottom: 50px;
    margin-left: auto;
  }

  .desktop_2 .bigImg {
    width: 515px;
    height: 340px;
  }
}

@media (max-width: 768px) {
  .desktop_2 .project {
    width: 220px;
    display: inline-block;
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
    margin-left: 0px;
  }

  .desktop_2 .project-first {
    width: 450px;
  }

  .desktop_2 .above {
    flex-direction: column;
  }

  .desktop_2 .portfolio {
    justify-content: flex-start;
  }

  .desktop_2 .Container {
    width: 450px;
  }

  .desktop_2 .bigImg {
    width: 450px;
  }

  .desktop_2 .project-image {
    width: 220px;
    height: 200px;
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 10px;
    margin-left: 0px;
    display: inline-block;
    padding-top: 0px;
    padding-right: 0px;
    padding-bottom: 0px;
    padding-left: 0px;
  }

  .desktop_2 .side {
    display: flex;
    width: 450px;
    justify-content: space-between;
  }

  .desktop_2 .bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: stretch;
  }

  .desktop_2 .project-image.last {
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 10px;
    margin-left: 5px;
  }

  .desktop_2 .project-image.last {
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 10px;
    margin-left: 0px;
  }
}

@media (max-width: 500px) {
  .desktop_2 .bigImg {
    width: 250px;
    height: 200px;
  }

  .desktop_2 .project {
    width: 110px;
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 20px;
    margin-left: 0px;
  }

  .desktop_2 .Container {
    width: 250px;
    margin-top: 80px;
    margin-right: auto;
    margin-bottom: 50px;
    margin-left: auto;
  }

  .desktop_2 .project-image {
    width: 110px;
    height: 110px;
  }

  .desktop_2 .side {
    flex-direction: row;
    width: 250px;
  }

  .desktop_2 .project-image.last {
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 10px;
    margin-left: 0px;
  }

  .desktop_2 .project.last-project {
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
    margin-left: 30px;
  }

  .desktop_2 .project-first {
    width: 250px;
  }

  .desktop_2 .overlay-inner {
    max-width: 90%;
  }
}




















.section {
      display: flex;
      justify-content: center;
      align-items: center;
      flex-wrap: wrap;
      max-width: 1100px;
      width:90%;
      margin: 7vh auto;
      position: relative;
    }

    .image-container {
      flex: 1 1 50%;
      position: relative;
    }

    .image-container img {
      width: 100%;
      height: auto;
      display: block;
      border-radius: 4px;
    }

    .text-container {
      flex: 1 1 50%;
      background: #073b4c;
      color: #fff;
      padding: 40px;
      position: relative;
      top: 40px; /* Überlappung */
      margin-left: -80px; /* überlappt das Bild */
      border-radius: 4px;
      box-shadow: 0 6px 15px rgba(0,0,0,0.2);
    }

    .text-container h2 {
      font-size: 2rem;
      margin-bottom: 15px;
      font-family: "Inter";
    }

    .text-container p {
      font-size: 1rem;
      line-height: 1.6;
      margin-bottom: 25px;
      font-family: "Inter";
    }

    .text-container a {
      display: inline-block;
      background: #c89a87;
      color: #fff;
      text-decoration: none;
      padding: 10px 20px;
      border-radius: 3px;
      font-size: 0.9rem;
      letter-spacing: 1px;
      transition: background 0.3s ease;
      font-family: "Inter";
    }

    .text-container a:hover {
      background: #a77a68;
    }

    /* Responsive */
    @media (max-width: 768px) {
      .section {
        flex-direction: column;
        align-items: flex-start;
      }

      .text-container {
        margin: -20px 0 0 0;
        top: 0;
        width: 90%;
      }
    }


    .btn-ancor{
      position: relative;
      font-family:'Inter';
      font-size:0.9em;
      padding:1vh;
      border-radius: 7px;
      transition: 0.5s;
      border: none;
      cursor: pointer;
    }
    .btn-ancor:hover{
      border-radius: 15px;
      background-color: #cfcfcf;;
    }