/* ##################################### */
/* ##################################### */
/* ##########  General CSS  ############ */
/* ##################################### */
/* ##################################### */



/* ############## Colors ############### */
:root {
    --black: #000000;
    --white: #ffffff;
    --cta: #023E8A;
    --cta-hover: #111111;
    --background-color: #f0f0f0;
    --text: #34495e;
    --grey2: #444444;
  }

      /* Style for tel: links */
      a[href^="tel:"] {
        color: var(--black) /* Custom color for tel: links */
      }
  
      /* Style for mailto: links */
      a[href^="mailto:"] {
        color: var(--black); /* Custom color for mailto: links */
      }

            /* Style for tel: links */
            a[href^="tel:"]:hover {
                color: var(--grey2) /* Custom color for tel: links */
              }
          
              /* Style for mailto: links */
              a[href^="mailto:"]:hover {
                color: var(--grey2); /* Custom color for mailto: links */
              }

  a{
    text-decoration: none;
  }

  html, body
  {
    margin: 0;
    padding: 0;
    font-family: 'roboto', sans-serif;
    background-color: #f3f3f3;
    scroll-behavior: smooth;
  }

  .basicshadow
  {
    box-shadow: 0px 0px 10px 5px rgba(0, 0, 0, 0.3);
  }

  .basicshadow2
  {
    box-shadow: 0px 0px 31px 8px rgba(0, 0, 0, 0.1);
  }


/* ############## Mobile and Desktop only ############### */
@media only screen and (max-width: 800px)
{
    .desktoponly
    {
        display: none !important;
    }
    .mobileonly
    {
        display: block !important;
    }
}

@media only screen and (min-width: 800px)
{
    .desktoponly
    {
        display: block !important;
    }
    .mobileonly
    {
        display: none !important;
    }
}


/* ############## custom Container class ############### */
@media only screen and (max-width: 540px)
{
    .customcontainer
    {
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
    }
}

@media only screen and (min-width: 540px) and (max-width: 820px)
{
    .customcontainer
    {
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
    }
}

@media only screen and (min-width: 820px) and (max-width: 1100px)
{
    .customcontainer
    {
        margin-left: auto;
        margin-right: auto;
        max-width: 800px;
    }
}

@media only screen and (min-width: 1100px) and (max-width: 1500px)
{
    .customcontainer
    {
        margin-left: auto;
        margin-right: auto;
        max-width: 1080px;
    }
}

@media only screen and (min-width: 1500px) and (max-width: 1700px)
{
    .customcontainer
    {
        margin-left: auto;
        margin-right: auto;
        max-width: 1300px;
    }
}

@media only screen and (min-width: 1700px)
{
    .customcontainer
    {
        margin-left: auto;
        margin-right: auto;
        max-width: 1500px;
    }
}

@media only screen and (min-width: 1920px)
{
    .bodycontainer
    {
        margin-left: auto;
        margin-right: auto;
        max-width: 1920px;
    }
}



.cta
{
    background-color: var(--cta);
    border: 1px solid var(--cta);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 1.25rem;
    font-weight: 300;
    transition: background-color 0.2s ease-in-out;
    transition: border-color 0.2s ease-in-out;
}

.cta:hover
{
    background-color: var(--cta-hover);
    border: 1px solid var(--cta-hover);
    cursor: pointer;
}

.secbuttonwhite
{
    color: var(--white);
    border: 3px solid var(--white);
    padding: 10px 20px;
    border-radius: 1px;
    font-size: 1.25rem;
    font-weight: 300;
    transition: background-color 0.2s ease-in-out;
}

.secbuttonwhite:hover
{
    background-color: #222;
    cursor: pointer;
}

.secbutton
{
    color: var(--black);
    border: 3px solid var(--black);
    padding: 10px 20px;
    border-radius: 1px;
    font-size: 1.25rem;
    font-weight: 300;
    transition: background-color 0.2s ease-in-out;
}

.secbutton:hover
{
    background-color: #f3f3f3;
    cursor: pointer;
}

.sectiondivider
{
    width: 70px;
    margin-top: 18px;
    margin-bottom: 20px;
    height: 2px;
    border-top: solid 3px var(--black);
    margin-left: auto;
    margin-right: auto;
}





/* ############################################### */
/* ############################################### */
/* ############## navigation & herosection ############### */
/* ############################################### */
/* ############################################### */


#navwhite
{
    position: relative;
    z-index: 2000;
}

#navitemsdesktop
{
    text-align: right;
}

#mobilenavflexbox
{
    display: flex;
    justify-content: space-between;
}

@media only screen and (max-width: 600px)
{
    .mobilelogo
    {
        width: 260px;
    }
}

@media only screen and (min-width: 600px)
{
    .mobilelogo
    {
        width: 300px;
    }
}

.bars img:hover
{
    cursor: pointer;
}


#mobilenav
{
    padding-top: 50px;
    padding-bottom: 50px;
    position: relative;
}


.overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    transition: right 0.3s ease-in-out;
    z-index: 3000;
  }
  
  .menu-content {
    position: fixed;
    top: 0;
    right: -300px; /* Initially off-screen */
    width: 300px;
    height: 100%;
    background-color: #fff;
    transition: right 0.3s ease-in-out;
    z-index: 5000; /* Display above the overlay */
  }
  
/* Hide the close button by default */
.close-button {
    display: none;
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    color: #fff;
  }
  
  .menu-content.menu-open {
    right: 0; /* Slide in the menu-content when it's open */
  }
  
  .menu-content.menu-open .close-button {
    display: block; /* Show the close button when menu is open */
  }

  .menu-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .menu-content li {
    padding: 15px;
    transition: all 0.3s ease-in-out;
  }

  .menu-content li:hover {
    color: var(--maingreen) !important;
  }
  
  
  .menu-content a {
    color: var(--black2);
    text-decoration: none;
  }
  
  .menu-open {
    right: 0;
  }
  
  .overlay-open {
    right: 0;
  }


  .desktopnavitem
  {
      padding: 10px;
      margin-right: 10px;
      color: var(--white);
      font-size: 1.25rem;
      font-weight: 300;

  }

@media only screen and (max-width: 1245px)
{
    #desktopnav
    {
        display: none;
    }
    #mobilenav
    {
        display: block;
    }

    #logo img
    {
        width: 160px;
    }

}

@media only screen and (min-width: 1245px)
{
    #desktopnav
    {
        display: flex;
        justify-content: space-between;
        padding-top: 50px;
    }
    #mobilenav
    {
        display: none;
    }
}


@media only screen and (min-width: 1500px) 
{
    #logo img
    {
        width: 400px;
    }
}
@media only screen and (max-width: 1500px) 
{
    #logo img
    {
        width: 250px;
    }

}



/* ############## Headings & texts ############### */


@media only screen and (min-width: 1400px)
{
    .mainheadingwhite 
    {
        color: var(--white);
        font-size: 3rem;
        font-weight: 300;
    }
    
    .subheadingwhite
    {
        color: var(--white); 
        font-size: 1.5rem;
        font-weight: 300;
    }
    
    .sectionheading
    {
        color: var(--black); 
        font-size: 2rem;
        font-weight: 300;
    }

    .smallheading
    {
        color: var(--black); 
        font-size: 1.5rem;
        font-weight: 300;
    }
    
    .sectionheadingwhite
    {
        color: var(--white); 
        font-size: 2rem;
        font-weight: 300;
    }
}

@media only screen and (max-width: 1400px)
{
    .mainheadingwhite 
    {
        color: var(--white);
        font-size: 2rem;
        font-weight: 300;
    }
    
    .subheadingwhite
    {
        color: var(--white); 
        font-size: 1.25rem;
        font-weight: 300;
    }
    
    .sectionheading
    {
        color: var(--black); 
        font-size: 1.5rem;
        font-weight: 300;
    }

    .smallheading
    {
        color: var(--black); 
        font-size: 1.25rem;
        font-weight: 300;
    }
    
    .sectionheadingwhite
    {
        color: var(--white); 
        font-size: 1.5rem;
        font-weight: 500;
    }
}




.basicparagraph
{
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--text);
}

.basicparagraphwhite
{
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--white);
}


.smallparagraph
{
    font-size: 1rem;
    font-weight: 300;
    color: var(--text);
}

.tinyparagraph
{
    font-size: 0.8rem;
    font-weight: 300;
    color: var(--text);
}

.infolink
{
    font-size: 1rem;
    font-weight: 400;
    color: var(--text);
}

.infolink:hover
{
    font-size: 1rem;
    color: var(--grey2);
    cursor: pointer;
}

.footerlink
{
    font-size: 1rem;
    font-weight: 400;
    color: var(--black);
}

.footerlink:hover
{
    font-size: 1rem;
    color: var(--grey2);
    cursor: pointer;
}






/* ############## Footer ############### */

footer 
{
    background-color: #fff;
    padding-top: 80px;
    padding-bottom: 80px;
}

@media only screen and (min-width: 820px)
{
    #footergrid
    {
        display: grid;
        grid-template-columns: 4fr 4fr 4fr;
    }
    .footergriditem
    {
        margin-top: 50px;
    }
}

@media only screen and (max-width: 820px)
{
    #footergrid
    {
        display: block;
    }
    .footergriditem
    {
        margin-top: 50px;
    }
}



.footerflexitem
{
    display: flex;
    justify-content: space-between;
}

.footerleftflex
{
    width: 150px;
}


.footerflexitem
{
    margin-bottom: 5px;
}



.footerflexlink2
{
    display: flex;
    align-items: center;
}

.footerleftflex2
{
    width: 30px;
}


@media only screen and (min-width: 820px)
{
    .kontaktfooterflex
    {
        display: flex;
    }
    #footermail
    {
        margin-left: 30px;
    }
}
@media only screen and (max-width: 820px)
{
    .kontaktfooterflex
    {
        display: block;
    }
    #footermail
    {
        margin-left: 0px;
    }
}


/* ############## Cookie Consent ############### */

#cookies-banner{
    width: 100%;
    height: 100vh;
    position: fixed;
    bottom: 0;
    color: white;
    background-color: rgba(0,0,0,0.90);
    z-index: 9999;
  }
  
  .cookiecontainer {
   text-align: center;
    display: flex;
    align-items: center;
    height: 100vh;
  }
  
  .consentitem
  {
    margin-left: auto;
    margin-right: auto;
    max-width: 600px;
    padding: 20px;
  }
  

  @media only screen and (min-width: 640px)
    {
        #allow,
        #decline {
          width: 150px;
          font-size: 1.25rem;
        }
        #cookies-banner{
            font-size: 1.25rem;
        }
    }

    @media only screen and (max-width: 640px)
    {
        #allow,
        #decline {
          width: 120px;
          font-size: 1rem;
        }
        #cookies-banner{
            font-size: 1rem;
        }
    }
  
  #allow,
  #decline {
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    padding: 8px;
    font-family: inherit;
    cursor: pointer;
    border: 1px solid rgba(211, 211, 211, 0.3);
    background-color: #1a1a1a;
    color: white;
  }

  #allow
  {
        background-color: #fae053;
        color: #222;
  }

  #allow:hover
  {
        background-color: #E0CA4A;
        color: #222;
  }
  
  #decline {
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
  }
  



  /* ############## Herosection ############### */

  #herodankepage
  {
      background-image: url(../img/bg1.jpg);
      background-size: cover;
      background-position: right center;
      min-height: 100vh;
      width: 100%;
  }

  @media only screen and (min-width: 1100px) 
  {
    #herostartpage
    {
        background-image: url(../img/bg2.jpg);
        background-size: cover;
        background-position: right center;
        min-height: 100vh;
        width: 100%;
    }
}

@media only screen and (max-width: 1100px) 
{
  #herostartpage
  {
      background-image: url(../img/bg2-sm.jpg);
      background-size: cover;
      background-position: center center;
      min-height: 100vh;
      width: 100%;
  }
}

#herostartoverlay
{
    min-height: 100vh;
    width: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
}

@media only screen and (min-width: 1500px) 
{
    #herocontent
    {
        display: flex;
        align-items: center;
        min-height: 90vh;
        position: relative;
        z-index: 2;
    }
}

@media only screen and (max-width: 1500px) 
{
    #herocontent
    {
        display: block;
        margin-top: 100px;
        position: relative;
        z-index: 2;
    }
}



/* ############ */
/* ############ */
/* modal */
/* ############ */
/* ############ */

.modalcustom {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
  }
  
  /* Stil des Bildes im Modal */
  .modalcustom img {
    margin: auto;
    display: block;
    max-width: 800px;
    height: auto;
    width: 90%;
  }

    /* Stil des Bildes im Modal */
    .meinBild:hover{
        cursor: pointer;
      }
  
  /* Schließsymbol im Modal */
  .schliessen {
    color: white;
    font-size: 5rem !important;
    font-weight: bold;
    margin-top: 200px;

  }
  
  /* Schließsymbol Hover-Effekt */
  .schliessen:hover,
  .schliessen:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
  }

/* ############## Zappy Clients ############### */

#happyclients
{
    min-height: 50vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
}

#happyclientsgrid img 
{
    width: 100%;
}

@media only screen and (max-width: 800px) 
{
    #happyclientsgrid
    {
        display: grid;
        grid-template-columns: 1fr 1fr;
        row-gap: 30px;
        column-gap: 30px;
        align-items: center;
    }
    .extraitem
    {
        display: block;
    }
    .extraitem2
    {
        display: none;
    }
}

@media only screen and (min-width: 800px) and (max-width: 1500px)
{
    #happyclientsgrid
    {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        row-gap: 30px;
        column-gap: 30px;
        align-items: center;
    }
    .extraitem, .extraitem2
    {
        display: none;
    }
}

@media only screen and (min-width: 1500px) 
{
    #happyclientsgrid
    {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
        row-gap: 50px;
        column-gap: 50px;
        align-items: center;
    }
    .extraitem, .extraitem2
    {
        display: block;
    }
}


/* ############## Abalfu ############### */

#ablauf
{
    background-color: #fff;
}

.ablaufnumber
{
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 80px;
    height: 80px;
    background-color: var(--cta);
    border-radius: 40px;
    color: fff;
    margin-left: auto;
    margin-right: auto;
}

#ablaufgrid img
{
    width: 100%;
    margin-bottom: 40px;
    margin-top: 20px;
}

.ablaufgriditem
{
    margin-bottom: 50px;
}

@media only screen and (max-width: 600px) 
{
    #ablaufgrid
    {
        display: block;
    }
}

@media only screen and (min-width: 600px) and (max-width: 1100px) 
{
    #ablaufgrid
    {
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 50px;
    }
}

@media only screen and (min-width: 1100px) 
{
    #ablaufgrid
    {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr;
        column-gap: 50px;
    }
}

/* ############## vorteile ############### */



#vorteile
{
    background-color: #fff;
}

@media only screen and (max-width: 1100px) 
{
    .vorteilgrid
    {
        display: block;
    }
}

@media only screen and (min-width: 1100px) 
{
    .vorteilgrid
    {
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: flex-start;
    }
}

.vorteilgriditem
{
    padding: 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;

}



#v1
{
    background-image: url(../img/bg4.png);
    background-size: cover;
    background-position: right center;
    min-height: 200px;
    width: 100%;
}

#v2
{
    background-image: url(../img/bg3.jpg);
    background-size: cover;
    background-position: right center;
    min-height: 200px;
    width: 100%;
}


#v3
{
    background-image: url(../img/chiptuning.jpg);
    background-size: cover;
    background-position: right center;
    min-height: 200px;
    width: 100%;
}

#v4
{
    background-image: url(../img/ambientebeleuchtung.jpg);
    background-size: cover;
    background-position: right center;
    min-height: 200px;
    width: 100%;
}



/* ############## about section ############### */

#aboutsection
{
    background-color: #fff;
    padding-top: 100px;
    padding-bottom: 100px;
}

#aboutbg
{
    background-image: url(../img/Ruppel-logo.png);
    background-size: 100% auto;
    background-color: #fff;
    background-position: center center;
    background-repeat: no-repeat;
    width: 100%;
    min-height: 400px;
}


#aboutgrid img
{
    width: 100%;
}

@media only screen and (max-width: 1100px) 
{
    #aboutgrid
    {
        display: block
    }
}


@media only screen and (min-width: 1100px) 
{
    #aboutgrid
    {
        display: grid;
        grid-template-columns: 2fr 1fr;
        column-gap: 50px;
    }
}


/* ############## Projekte ############### */

#projekte
{
    background-color: #fff;
}

@media only screen and (max-width: 1100px) 
{
    #projektgrid
    {
        display: block;
    }
    .projectgriditemcontent
    {
        padding-top: 20px;
    }
    .projectgriditemimg
    {
        margin-top: 80px;
    }
}


@media only screen and (min-width: 1100px) 
{
    #projektgrid
    {
        display: grid;
        grid-template-columns: 4fr 6fr;
        column-gap: 50px;
    }
    .projectgriditemcontent
    {
        padding-top: 0px;
    }
    .projectgriditemimg, .projectgriditemcontent
    {
        margin-top: 80px;
    }
}


/* ############## Galerie ############### */

#Galerie
{
    background-color: #fff;
}

@media only screen and (max-width: 750px) 
{
    #galgrid
    {
        display: block;
    }
    .galitem
    {
        padding-top: 10px;
    }
    .galitem img
    {
        margin-top: 20px;
        width: 100%;
    }
}


@media only screen and (min-width: 750px) 
{
    #galgrid
    {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        column-gap: 50px;
    }
    .galitem
    {
        padding-top: 0px;
    }
    .galitem img
    {
        margin-top: 50px;
        width: 100%;
    }
}



/* ############## Testimonials ############### */

#testimonials
{
    background-color: #fff;
}


.testimonialitem
{
    margin-bottom: 50px;
}


.testimonialitem h6
{
    margin: 0px !important;
}

.testimonialitem
{
    padding: 20px;
}

@media only screen and (max-width: 600px) 
{
    #testimonialgrid
    {
        display: block;
    }    
}

@media only screen and (min-width: 600px) and (max-width: 1100px) 
{
    #testimonialgrid
    {
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 50px;
    } 
}


@media only screen and (min-width: 1100px) 
{
    #testimonialgrid
    {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        column-gap: 50px;
    }    
}





/* ############## Formular ############### */

#kontakt
{
    background-color: white;
}

.checkboxgrid
{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 20px;
}

.checkboxflex
{
  display: flex;
  align-items: center;

}

.checkboxflex input
{
 padding-right: 10px;

}

input, textarea 
{
    border: none;
    outline: none;
    border-bottom: solid 1px var(--black);
    width: 100%;
    padding-bottom: 30px;
    margin-bottom: 20px;;
}



@media only screen and (max-width: 800px)
{
  .check-group {
    display: block;
  }
  .formflexgrid, .formflexgrid2
  {
      display: block;
  }
}

@media only screen and (min-width: 800px) and (max-width: 1100px)
{
  .check-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .formflexgrid, .formflexgrid2
  {
      display: grid;
      grid-template-columns: 1fr 1fr;
      grid-gap: 20px;
  }
}

@media only screen and (min-width: 1100px)
{
  .check-group {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
  .formflexgrid
  {
      display: grid;
      grid-template-columns: 1fr 1fr 1fr;
      grid-gap: 50px;
  }
  .formflexgrid2
  {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-gap: 50px;
  }
}


.check-group > * + * {
  margin-top: 0.75rem;
}


.check-group__result {
  font-weight: bold;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(0, 0, 0, 0.2);
}

.check-group__result:after {
  content: counter(checked) " / " counter(total);
  padding-left: 1ch;
}

.checkbox {
  cursor: pointer;
  display: flex;
  align-items: center;
}
.checkbox__input {
  position: absolute;
  width: 1.375em;
  height: 1.375em;
  opacity: 0;
  cursor: pointer;
}
.checkbox__input:checked + .checkbox__icon .tick {
  stroke-dashoffset: 0;
}
.checkbox__icon {
  width: 1.375em;
  height: 1.375em;
  flex-shrink: 0;
  overflow: visible;
}
.checkbox__icon .tick {
  stroke-dasharray: 20px;
  stroke-dashoffset: 20px;
  transition: stroke-dashoffset 0.2s ease-out;
}
.checkbox__label {
  margin-left: 0.5em;
  color: #555;
  font-size: 14px;
}








@media only screen and (max-width: 800px)
{
    #kontakdataset
    {
        display: block;
    }
    .kontflex
    {
      margin-bottom: 30px;
    }
    #kontaktoldenburg
  {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-column-gap: 20px;
  }

  #olbg
  {
    background-image: url(../img/ol1.jpg);
    background-size: cover;
  }
  #ol2
  {
    margin-bottom: 20px;
  }

}
@media only screen and (min-width: 800px)
{
    #kontakdataset
    {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-row-gap: 50px;
    }
    #kontaktoldenburg
  {
    display: grid;
    grid-template-columns: 3fr 1fr;
    grid-column-gap: 50px;
  }

  #olbg
  {
    background-image: url(../img/ol1.jpg);
    background-size: cover;
  }
  #ol2
  {
    margin-bottom: 50px;
  }

    
}

.kontaktlink
{
  display: flex;
  align-items: center;
  font-size: 1.5rem !important;
}

.kontaktlink img
{
  padding-right: 10px;
}

.kontflex
{
  text-align: center !important;
}

#kontaktoldenburg img
{
  width: 100%;
}

/* ############## Legal ############### */

#legalbg
{
    background-color: white;
}

#legal h1 
{
    font-size: 3rem !important;
    margin-top: 20px;
    font-weight: 300;
}
#legal h2 
{
    font-size: 2.5rem !important;
    margin-top: 20px;
    font-weight: 300;
}
#legal h3
{
    font-size: 2.25rem !important;
    margin-top: 20px;
    font-weight: 300;
}
#legal h4
{
    font-size: 2rem !important;
    margin-top: 20px;
    font-weight: 300;
}
#legal h5
{
    font-size: 1.75rem !important;
    margin-top: 20px;
    font-weight: 300;
}
#legal h6
{
    font-size: 1.5rem !important;
    margin-top: 20px;
}
#legal p
{
    font-weight: 300;
}
