main{
    width: 1045px;
    max-width: 100vw;
    margin: auto !important;
    font-size: 18px;
    padding-top: 100px;

}

main, .panel{
     display: flex;
    flex-direction: column;
    gap: 50px

}
.panel{
  width: 100%;
}
svg{
  width: 20px;
  height: 20px;
}

button:hover{
    filter: brightness(1.1);
}

b{
    font-weight: 600;
}
  :root{
    --ink:#000000;
    --ink-soft:#5c636b;
    --line:#e6e8eb;
    --bg:#f4f5f7;
    --card:#ffffff;
    --green: #3A9D61;
    --green-dark:#3A9D61;
    --chip:#f0f1f3;
    --badge:#2f80ed;
  }

  *{
    box-sizing:border-box;
    font-family: Inter;
    
    }

  .page{
    max-width:900px;
    margin:0 auto;
    background:var(--card);
    border:1px solid var(--line);
    border-radius:12px;
    padding:24px 28px 32px;
  }

  /* companyheader */
  .companyheader{
    display:flex;
    align-items: center;
    justify-content:space-between;
    gap:18px;
    flex-wrap:wrap;
    
  }

  .company{
    display:flex;
    gap: 40px;
  }
  main .logo img{
    width: 130px;height: 130px;border-radius:16px;
    overflow: hidden;
    background:linear-gradient(135deg,#2c2f36,#54595f);
    color:#fff;
    display:flex;align-items:center;justify-content:center;
    font-weight:700;font-size:14px;letter-spacing:.5px;
    flex-shrink:0;
        object-fit: cover;       /* Crop instead of stretch */
    object-position: center; /* Crop from the center */
    box-shadow: 0 0 4.49px rgba(0,0,0,0.15);
    border: none !important;
  }
  .company-infos{
    width: 460px;
    height: fit-content !important;
    align-self: center;
    display: flex;
    flex-direction: column;
    gap: 14px 
  }
  .company-name{
      color: black;
    font-size:24.71px;font-weight:800;
    display:flex;align-items:center;gap:6px;
  }
  .verified{
    width:20px;height:20px;
    background: white;
    border-radius:50%;
    display:inline-flex;align-items:center;justify-content:center;
    flex-shrink:0;
  }
  .verified svg{width:20px;height:20px;fill:var(--primary);}
  .company-loc{
    font-size:18px;color:black;margin-top:2px;
  }
  .moq{
    font-size:18px;color:black;margin-top:6px;
  }
  .moq b{color:var(--ink);font-weight:600;}
  button{
    background:var(--green);
    color:#fff;
    border:none;
    padding:9px 18px;
    border-radius: 11.23px;
    font-size: 19px;
    font-weight: 500;
    cursor:pointer;
    white-space:nowrap;
    transition:background .15s ease;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .companyheader button{
    min-width: 203px;
    min-height: 47px;
    position: absolute;
    right: 145px;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 500;
  }
  button>svg{
    width: 20px;
    height: 20px;
    margin-right: 18px;
  }
  
.go_back{
  margin-left: 50px !important;
  margin-bottom: -20px !important;
}
  /* tabs */
  .tabs{
    display:flex;
    gap: 64px;
    padding-left: calc(64px - 35px);
    border-bottom: none;
    margin-top:22px;
    padding-bottom: 1.5px;
  }
  .tab{
    min-width: 0;
    min-height: 0;
    background:none;border:none;
    padding:10px 2px 12px;
    font-size:19px;

    cursor:pointer;
    position:relative;
    white-space:nowrap;
    font-family:Inter;
    font-weight: 500;
    color: black;
  }
  .tab.active{color:var(--ink);font-weight:500;}
  .tab.active::after{
    content:"";
    position:absolute;
    left:0;right:0;
    bottom: -3px;
    height: 4.25px;
    background:var(--ink);
    border-radius:2px;
  }

  .panel{display:none;}
  .panel.active{display:flex;}

  /* Overview */
  .showgallery{
    border-radius: 8px;
    height: 40px;
    min-height: 0;
    min-width: 105px;
    width: fit-content;
    border: 1px solid black;
    color: black;
    background-color: white;
    position: absolute;
    z-index: 2;
    bottom: 14px;
    right: 14px;
    font-size: 18px;
    font-weight: 700;
  }
  .last-image{
    position: relative;
  }
  .gallery{
    position: relative;
    display: inline-flex;
    justify-content: start;
    gap: 50px;
    height: 270px;
    padding: 0 50px;
    margin-top: -13px;
    width: fit-content;
    height: fit-content;
    flex-wrap: wrap;
    

  }
  .gallery img{
    width:auto;height: 270px;object-fit:cover;
    border-radius:8px;background:#dcdfe3;
  }
  .card{
    width: 100%;
    border: none;
    border-radius:16.85px;
    padding: 28px 35px;
    margin-bottom:0;
    margin-top: 0;
    box-shadow: 0 0 10px 0 rgba(0,0,0,0.15);

    display: flex;
    flex-direction: column;
    gap: 15px
  }
    .companycard{
    padding-bottom: 0 !important;
    position: relative;
    padding: 39px ;
  }
  .card h3{
    margin:0 0 0;font-size:22px;font-weight:700;
  }
  .kv-grid{
    display:grid;
    grid-template-columns: 1fr;
    gap:10px 24px;
  }
  .kv{font-size:18px;line-height:1.5;}
  .kv .label{color:black;}
  .kv .value{color:var(--ink);font-weight:400;}
  .desc p{
    white-space: pre-wrap;
    font-size:18px;line-height:1.65;color:black;margin:0 0 12px;
  }
  .desc p:last-child{margin-bottom:0;}

  .cta{margin-top:0;}
  .cta p{font-size:24px;font-weight:700;margin:0 0 38px;}

  /* Capabilities */
  .cap-grid{
    display:grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 66px 40px;
    margin-bottom:20px;
  }
  .cap-card{
    border-radius:20px;
    padding:34px;
    height: 340px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #d9d9d952;
  }
  .cap-title{font-size:18px;font-weight:700;margin-bottom:0;}
  .cap-stats{
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 18px;
    color:black;
    margin-bottom:12px;
  }
  .cap-stats b{color:var(--ink);font-weight:600;}
  .cap-thumbs{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
  }
  .cap-thumb-imgs img{
    display: none
  }
  .cap-thumb-imgs img:nth-child(1),
  .cap-thumb-imgs img:nth-child(2){
    display: block
  }

  .cap-thumb-imgs{display:flex;max-width: 100%;}
  .cap-thumb-imgs img{
    width:70px;height:90px;border-radius: 5px;
    object-fit:cover;
    border:1px solid #fff;
    margin-right: 15px;
    background:#dcdfe3;
  }
  .cap-thumb-imgs img:first-child{margin-left:0;}
  .link-btn{
    font-size:18px;font-weight:600;color:var(--ink);
    background: white;
    border:1px solid black;
    width: 250px;
    height: 41px;
    min-height: 0;
    min-width: 0;
    border-radius: 10px;
    cursor:pointer;
    white-space:nowrap;
    align-self: bottom;
  }

  /* Location */
  .loc-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap: 37px;
    margin-bottom:20px;

  }
  .loc-card{
    border-radius:20px;
    padding:16px;
    background-color: #d9d9d952;
    padding: 35px;
    min-height: 176px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .loc-card h4{margin:0 0 12px;font-size:18px;font-weight:700;}
  .loc-card *{
    margin: 0;
  }
  .loc-row{font-size:18px;margin-bottom:10px;}
  .loc-row .label{color:black;display:block;margin-bottom:2px;font-size:18px;}
  .loc-row .value{color:var(--ink);font-weight: 500;}

  /* Products */
  .prod-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:14px;
    margin-bottom:20px;
  }
  .prod-card{
    border:1px solid var(--line);
    border-radius:10px;
    overflow:hidden;
  }
  .prod-img{
    width:100%;height:110px;
    object-fit:cover;
    background:#dcdfe3;
    display:block;
  }
  .prod-info{padding:10px 12px;}
  .prod-name{font-size:18px;font-weight:600;margin-bottom:6px;}
  .prod-meta{font-size:18px;color:black;line-height:1.5;}
  .prod-meta b{color:var(--ink);}

  @media (min-width:700px){
    button{
      min-width: 232px;
      min-height: 55px;
    }
  }
  @media (max-width:700px){

    .go_back, .gallery{
      display: none !important
    }

    .cap-thumbs{
      flex-direction: column;
      align-items: start;
    }
    .tab{
      padding: 0 !important;
      font-size: 4vw;
      font-weight: 500;
      color: black;
    }
    .tabscont{
      width: 100vw;
      overflow: scroll;
      margin-left: -10vw;
    }
    .tabs{
      margin-top: 0;
      padding-bottom: 4.2vw;
      padding-left: 0;
      padding-right: 20vw;
      border: none !important;
      width: fit-content;
      overflow: scroll;
      gap: 0
    }
    .tabscont::-webkit-scrollbar {
        display: none; /* Chrome, Edge, Safari */width: 0;
    }
    .tab{
      padding-bottom: 0;
      padding: 0 5vw !important;
    }
    .tab:first-child{
      padding-left: 8vw !important;
    }
    .tab.active{
      font-weight: 700;
    }
    .tab.active::after{
      height: 1vw;
      bottom: -4.3vw
    }
    


    .cap-grid,.loc-grid,.kv-grid{grid-template-columns:1fr;}
    .prod-grid{grid-template-columns:repeat(2,1fr);}
    .gallery{grid-template-columns:repeat(3,1fr);}

    main{
        width: 100vw;
        padding: 0 28px;
    }
    .companycard{
        width: 100vw;
        border-radius: 0;
        margin-left: -8vw !important;
        padding-left: calc(10vw + 15px);

        gap: 40px;
        padding-top: 0;
    }
    .companyheader{
      padding-right: 0;
    }
    .company-name{
      
      font-size: 30px;
      font-weight: 800;
    }
    .cta button{
      width: 100%;
      height: 50px;
    }

    .panel{
      gap: 7vw;
      padding-top: 0;
    }

    .verified svg{
      width: 5vw ;
      height: 5vw;
      margin-left: 3vw;
    }
  }



.reviews{
    position: relative;

    width: 100%;
    margin: auto;
    margin-top: 0px;

    margin-left: 0;


    transform-origin: top left;
    margin-bottom: 200px;

    display: flex;
    flex-direction: column;
    align-items: left;

}

.createreviewbtn{
    width: 215.025px;
    height: 41.413px;
    border-radius: 27.632px;
    background: var(--primary);
    color: #FFF;
    font-size: 16.695px;
    font-weight: 600;

    margin: 0 0 50px 0;
}

.review{
    position: relative;
    display: flex;
    flex-direction: row;
    padding: 30px 0;
}
.review::before{
    width: 98%;
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}
.review:last-child::after{
    width: 98%;
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    
}

.review>div:first-child{
    width: 30%;
    display: flex;
    flex-direction: row;
    gap: 22px
}
.review>div:first-child img{
    width: 100px;
    height: 100px;
    border-radius: 20px;
    border: 0.5px solid rgba(0, 0, 0, 0);
}
.review>div:first-child b{
    font-size: 16px;
}
.review>div:last-child{
    width: 70%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.review .rating {
    display: flex;
    flex-direction: row;
    gap: 15px;
}
.review .head{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 30px
}
.review .rating svg{
    width:  22px !important;
    height: 22px !important;
}

.review>div:last-child b,
.review>div:last-child p,
.review>div:last-child .date {
    font-size: 16px ;
}

.review .review_images{
    display: flex;
    flex-direction: row;
    flex-grow: unset;
    gap: 30px;
    margin-top: 15px;
}
.review .review_images img{
    height: 112px;
    width: auto;
    object-fit: contain;
    border-radius: 8.63px;
}




@media (max-width: 700px) {
	.reviews {
		margin-top: 0;
		padding-top: 0;
		margin-left: 0;
		margin-bottom: 10vw;
		width: 80vw;
		margin-left: 0;
		transform: none;
	}

	.createreviewbtn {
		width: 57.34vw;
		height: 11.04vw;
		border-radius: 7.37vw;
		background: var(--primary);
		font-size: 4.45vw;
		font-weight: 600;
		margin: 0 0 13.34vw 0;
	}

	.review {
		flex-direction: column;
		gap: 2vw;
	}

	.review>div:first-child {
    align-items: center;
		width: 100%;
		gap: 5.87vw;
	}

	.review>div:first-child img {
		width: 15vw;
		height: 15vw;
		border-radius: 3.33vw;
	}

	.review>div:first-child b {
		font-size: 4.53vw;
	}

	.review>div:last-child {
		gap: 2.67vw;
        width: 100%;
	}

	.review .rating {
		gap: 3vw;
	}

	.review .head {
		gap: 8vw;
	}

	.review .rating svg {
		width: 5vw !important;
		height: 5vw !important;
	}

	.review>div:last-child b,
	.review>div:last-child p,
	.review>div:last-child .date {
		font-size: 4.53vw;
	}

	.review .review_images {
		gap: 8vw;
		margin-top: 4vw;
	}

	.review .review_images img {
		height: 29.87vw;
		border-radius: 2.3vw;
	}
}
.review_images, .review div:first-child{
    cursor: pointer
}



#image-container-phone {
    position: relative;
    margin-left: 0;
    height: fit-content;
    overflow: visible;
    /* Remove width: 100vw to allow it to shrink-to-fit */
    height: 55vw;
    margin-bottom: 10vw;
    border: none;
    border-radius: 5vw;
    background-color: transparent;
    
    display: flex;
    gap: 5vw;
    transition: 0.3s;

    margin-bottom: 0 !important;

}

#image-container-phone .img-wrapper {
    display: inline-flex; /* Adjust to fit only the image's content */
    transition: 0.3s;   
    width: auto; /* Let width be controlled by the content */
    padding: 0 !important;
}

#image-container-phone img {

    transition: 0.3s;   

    display: block;
    border-radius: 5vw;
    border: 0.3vw solid rgba(0, 0, 0, 0.34) !important;
    border: none !important;
    height: 100%; /* Maintain image aspect ratio */
    position: relative;
    cursor: pointer;
    margin: 0 !important;
}

.bilderNav{
    position: absolute !important;
    bottom: -6vw;
    height: 5vw;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40vw;
    flex-wrap: nowrap !important;
    gap: 1.2vw;

    
    margin-left: 34vw;
    overflow: hidden;

    display: none;
    
    .bullet{
        flex: 0 0 auto !important;  
        border: 0.7px solid rgba(0, 0, 0, 0.411);
        width: 2.2vw !important;
        height: 2.2vw !important;
        filter: opacity(1);
        border-radius: 5vw;

        transition: background-color 0.5s;
        transition: transform 0.5s;
        transition: filter 0;

    }
    .active_bullet{
        background-color: rgba(0, 0, 0, 0.3);
        transition: background-color 0;

    }
    .hidden_bullet{
        filter: opacity(0);
    }
    .small_bullet{
        width: 1vw !important;
        height: 1vw !important;
        margin: 0.4vw !important;
    }
    .small_bullet_left {
        margin-left: 5vw !important; /* Applies to the first .small_bullet element */
    }
    
    .small_bullet_right {
        margin-right: 5vw !important; /* Applies to the second .small_bullet element */
    }


    

}


@media (max-width: 700px) {
    #image-container-phone .img-cont-img{
        display: none !important
    }   

}

#image-container-phone .logopfp-phone {

    position: absolute;
    margin: auto;
    border: 0.88vw solid darkgreen;
    border-radius: 4vw;
    left: auto;
    top: 3vw !important;
    right: 3vw !important;
    z-index: 99999;
    height: 200px;
    width: 18vw;
    background-repeat: no-repeat;
    background-size: 110%;
    background-position: center;

}

.logopfp-phone {
    position: absolute;
    left: 3vw;
    top: -21vw;
    width: 6vw;
    display: none;
}


.disabled {

    background-color: rgba(0, 0, 0, 0.2) !important;
    pointer-events: none;
    cursor: not-allowed !important;
}


.inquiry_leiste{
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    bottom: 0;
    width: 100vw;
    height: 23vw;
    background-color: white;
    z-index: 10;
    box-shadow: 0 0 2vw 0.5vw rgba(0, 0, 0, 0.15);
}
.inquiry_leiste>button{
    background-color: var(--primary);
    font-size: 4.5vw;
    font-weight: 500;
    color: white;
    width: 87%;
    height: 50%;
    border-radius: 10px;
}
.footerhome{
  margin-top: 200px;
}

@media (min-width: 700px) {
	.review>div:last-child {
    margin-left: 30px;
  }
  
  .products{
    width: 1150px;
    
  }  
  .hiddenonpc, .back_svg_container{
    display: none !important
  }
}


.buttons{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: fit-content;
}
.buttons button{
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.1);
}
.btn-whatsapp{
  background-color: white;
  color: var(--primary);
  border: 2px solid var(--primary)
}



@media (max-width: 700px) {

  

  .newgalleryphone {
    position: relative;
      display: flex;
      gap: 3.5vw;
      width: 100%;
      height: 50vw;
  }

  .newgalleryphone > img {
      width: 58%;
      height: 100%;
      object-fit: cover;
      border-radius: 8.32px;
  }

  .newgalleryphone > div {
      display: flex;
      flex-direction: column;
      gap: 3.5vw;
      width: 42%;
  }

  .newgalleryphone > div img {
      width: 100%;
      height: calc(50% - 1.75vw);
      object-fit: cover;
      border-radius: 8.32px;
  }

    main{
      padding: 6.5vw 8vw !important;
      gap: 8vw
    }
    .company-name{
      font-size: 6.5vw;
      font-weight: 900;
      max-width: 67vw;
    }
    .companycard{
      overflow: hidden;
      gap: 7vw !important;
      padding: 0 8vw !important;
      border-radius: 0 !important;
    }
    #image-container-phone{
      height: 52vw;
      margin-bottom: 5.5vw !important;
    }

    .card{
      border-radius: 5vw;
      padding: 4vw;
      gap: 2vw;
      box-shadow: 0px 0.25vw 5px 0px rgba(0, 0, 0, 0.25) !important;
    }
    .kv-grid{
      gap: 1vw !important
    }
    .desc p, .value, .label{
        font-size: 4.5vw;
        line-height: 5.5vw;
    }
    .card h3{
      font-size: 4.5vw;
    }
    button svg{
      width: 5vw;
      height: 5vw;
    }
    .cta .buttons{
      width: 50vw;
    }
    .cta button{
      border-radius: 11.2px;
      height: 11.5vw;
      margin: 0;
    }
    .cta .buttons{
      margin-top: 5vw !important;
      gap: 5vw
    }

    #overview .cta p{
     display: block
    }

    .cta p{
      font-size: 4vw;
      margin-bottom: 0;
    }
    .cap-card{
      width: 100%;
      height: auto;
      gap: 0;
      padding: 8.5vw
    }
    .cap-grid{
      display: flex;
      flex-direction: column;
    }
    .cap-card, .cap-stats, .cap-thumbs{
      gap: 4vw;
      margin: 0;
      position: relative;
    }
    .cap-thumb-imgs img {
      width: auto;
      height: 26vw;
      object-fit: cover;
      aspect-ratio: 88 / 99;
      margin-bottom: 2vw;
      border-radius: 6px;
    }
    .cap-card *, .loc-card *{
      font-size: 4vw  !important;
      
    }
    .loc-card *{
      margin: 0 !important;
    }
    .loc-card{
      display: flex;
      flex-direction: column;
      justify-content: space-between;

    }
    .cap-card button{
      width: 100%;
      height: 11vw;
    }
    .cta button{
      font-size: 4vw;
    }
    .bookmark_svg{
      width: 6vw;
      height: 6vw;
    }
    .panel .card *{
      font-size: 4vw !important;
      line-height: 5vw !important;
    }
    .panel .card p,
    .panel .card span{
      font-variation-settings: "wght" 400;
    }
    button{
      border-radius: 2.5vw !important;
    }

      .showgallery{
        font-size: 3.7vw;
      border-radius: 2vw !important;
      height: 8vw;
      min-width: 21vw;
      width: fit-content;
      padding: 2vw !important;
      bottom: 3vw;
      right: 3vw;
      left: auto
    }
    .loc-card {
        min-height: 40vw;
        padding: 8.5vw;
        width: 100%;
        gap: 4vw
    }

    .companycard{
      
        box-shadow: none !important;
        border-bottom: 1.2px solid rgba(0,0,0,0.1);
    }


    
    .products{
        max-width: 106%;
        margin-left: -3%;
    }
}