/*---------- general settings ----------*/
/*--------------------------------------*/
*{
    scroll-behavior: smooth;
}

body{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-align: center;
    font-family: 'Segoe UI';
    overflow-x: hidden;
}

a{
    color: black;
    text-decoration: none;
}

:root{
    --clr-first-color:#1B1F24;
    --clr-second-color:#4173b1;
}

section{
    padding-right: 10%;
    padding-left: 10%;
}

@media screen and (max-width:1024px){
    .container {
        padding-right: 5%;
        padding-left: 5%;
    }
}


/* scrollbar */
::-webkit-scrollbar {
    width: 0.3rem;
}

    /* Handle */
    ::-webkit-scrollbar-thumb {
        background: #3a3b3d85;
        border-radius: 10px;
    }

    /* Handle on hover */
    ::-webkit-scrollbar-thumb:hover {
        background: rgb(100, 100, 100);
    }

/*---------- header ----------*/
/*----------------------------*/
nav{
    position: fixed;
    top: 0;
    width: 100vw;
    z-index: 100;
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 9vh;
    background-color: #1b1f24e5;
    box-shadow: 5px 2px 10px rgb(0, 0, 0, 0.7);
}

#navbar a{
    padding: 0;
    margin: 0;
}

/* progress bar */
.progress-container {
    width: 100%;
    height: 5px;
    top: 9vh;
    background: none;
    position: fixed;
}

.progress-bar {
    height: 3px;
    background: var(--clr-second-color);
    width: 0;
}

    /* navbar Logo */
    nav .navbarLogo{
        height: 3rem;
        width: auto;
        user-select: none;
    }

    nav .nav-links{
        display: flex;
        width: 40%;
        justify-content: space-around;
        vertical-align: center;
    }

    .logo_and_text{
        display: flex;
    }

    .logo_and_text div p{
        font-size: 1.2rem;
        color: white;
        margin: 0.2rem 0.2rem 0.2rem 1rem;
        text-align: left;
    }

    #navbar_signature{
        margin-top: 0;
        font-size: 0.9rem;
        color: rgba(255, 255, 255, 0.8);
    }

        /* hover effekt menu navbar */
        .navLinks::after{
            content: '';
            width: 0;
            height: 2px;
            background: var(--clr-second-color);
            display: block;
            transition: 0.3s;
        }

        .navLinks:hover::after{
            width: 100%;
        }

        /* style navbar menu */
        nav .nav-links a{
            color: white;
            text-decoration: none;
            font-weight: 400;
            font-size: 1.3rem;
            transition: 0.5s;
        }

        nav .nav-links a:hover{
            color: var(--clr-second-color);
        }

        nav .nav-links li{
            list-style: none;
        }



    /*---------- responsive ----------*/

    @media screen and (max-width:1024px){
        nav .nav-links{
            display: flex;
            font-size: 1.5rem;
            width: 60%;
            justify-content: space-around;
        }
    }

    /*-- responsive mobile navbar  */
        nav .burger{
            display: none;
            cursor: pointer;
        }

        nav .burger div{
            width: 2rem;
            height: 0.25rem;
            background-color: white;
            margin: 5px;
            transition: 0.5s;
        }

        @media screen and (max-width:812px){
            .nav-links{
                position: absolute;
                right: 0;
                height: 20vh;
                top: 6vh;
                display: flex;
                background-color: #1b1f24e5;
                flex-direction: column;
                transform: translateX(100%);
                transition: transform 0.5s ease;
                border-bottom-left-radius: 10%;
            }
            nav .burger{
                display: block;
            }
        }
        @media screen and (max-width:612px){
            nav {
                justify-content: none;
            }
            nav .navbarLogo{
                display: none;
            }
            .nav_text_to_logo p{
                font-size: 0.6rem;
            }
            .burger{
                margin-right: 10%;
            }
            nav .burger{
                display: block;
            }
        }

        .nav-active{
            transform: translateX(0%);
        }

        .toggle .line1{
            transform: rotate(-45deg) translate(-12.5px);
        }

        .toggle .line2{
            opacity: 0;
        }

        .toggle .line3{
            transform: rotate(45deg) translate(-12.5px);
        }



section{
    padding-left: 10%;
    padding-right: 10%;
}

.grid{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}
@media screen and (max-width:612px){
    .grid{
        grid-template-columns: 1fr;
    }
    .links{
        margin-bottom: 25%;
    }
    .rechts{
        margin-top: 25%;
    }
}


/*--------------- Header ---------------*/
/*--------------------------------------*/
header{
    background: rgba(0, 0, 0, 0.7) url("../Images/main_background.jpg");
    background-blend-mode: darken;
    background-size: cover;
    height: 80vh;
}
.header_img_and_overlay {
    position: relative;
    top: 0;
    left: 0;
    width: 100vw;
    height: 80vh;
}
#main_background_image {
    display: block;
    width: 100%;
    height: 80vh;
}
.overlay {
    position: absolute;
    bottom: 0;
    top: 0;
    background: rgba(0, 0, 0, 0.7); /* Black see-through */
    width: 100%;
}
.overlay_text{
    color: white;
    font-size: 2rem;
    position: absolute;
    top: 40%;
    left: 50%;
    width: 100%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}
.header_line{
    height: 3px;
    margin-right: 30%;
    background-color: var(--clr-second-color);
}
.overlay_text h1{
    font-size: 1.8rem;
    margin: 0 0 0.5% 0;
    color: white;
    font-weight: normal;
}
.overlay_text h2{
    font-size: 1.1rem;
    margin: 0.5% 0 0 0;
    color: rgb(200, 200, 200);
    font-weight: normal;
}

/*--------------- first info ---------------*/
/*------------------------------------------*/
#first_info{
    margin: 4% 0 4% 0;
    min-height: 30vh;
    background-color:#ffffff;
    z-index: 100;
}
.fa-solid{
    color:var(--clr-first-color);
    font-size: 3rem;
    margin-bottom: 8%;
}
.info_grid_item{
    margin: 10%;
    width: 80%;
    font-size: 1.3rem;
}
@media screen and (max-width:1200px){
    .info_grid_item{
        font-size: 1.2rem;
    }
}

.big_paragraph {
    margin: 0;
    font-size: 50rem;
    color: #4173b14d;
    position: absolute;
    right: 0;
    top: 0;
}
/*--------------- law ---------------*/
/*-----------------------------------*/
#areas_of_law{
    background-color: var(--clr-first-color);
    padding: 10% 10% 10% 10%;
}

.area_of_law{
    background-color: white;
    position: relative;
    border-radius: 10px;
    box-shadow: 5px 10px 15px black;
    margin: 8%;
}
.area_of_law img {
    width: 100%;
    height: 80%;
    display: block;
    border-radius: 10px 10px 0 0;
}
.law_overlay{
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    overflow: hidden;
    width: 100%;
    height: 20%;
    transition: .5s ease-in-out;
    background-color: rgba(255, 255, 255);
    border-radius: 0 0 10px 10px;
}
.area_of_law:hover .law_overlay{
    height: 100%;
    border-radius: 10px;
}
.area_of_law:hover .ausblenden{
    display: none;
}
.law_overlay_text {
    color: black;
    font-size: 1.2rem;
    position: absolute;
    width: 80%; /*set the with of the content*/
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    text-align: center;
}
.einblenden{
    display: none;
    padding: 0;
    margin: 0;
}
.einblenden h4{
    font-size: 1.7rem;
    margin: 0;
    margin-bottom: 10%;
    color: var(--clr-second-color);
}
.einblenden hr{
    background-color: var(--clr-second-color);
    height: 2px;
    width: 50%;
    border: none;
    margin: 2% 0 10% 0;
}
.einblenden p{
    padding: 0;
    font-size: 1.2rem;
    color: var(--clr-first-color);
}
.einblenden ul{
    margin: 1% 0 1% 0;
    padding: 0;
    color: var(--clr-first-color);
}
.area_of_law:hover .einblenden{
    display: block;
}
@media screen and (max-width:1200px){
    #areas_of_law .grid{
        grid-template-columns: 1fr 1fr;
    }
}
@media screen and (max-width:612px){
    #areas_of_law .grid{
        grid-template-columns: 1fr;
    }
    .big_paragraph{
        top: 100%;
        font-size: 20rem;
    }
    .einblenden p, .einblenden ul{
        font-size: 1rem;
    }
}
/*--------------- online_consultation ---------------*/
/*---------------------------------------------------*/
#online_consultation {
    position: relative;
    color: black;
    height: 70vh;
    background: rgba(0, 0, 0, 0.7) url("../Images/Digital.jpg") fixed no-repeat bottom center;
    background-blend-mode: darken;
    background-size: cover;
    padding: 0;
}
.consultation_text{
    font-size: 1.7rem;
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}
.consultation_text p{
    margin: 0;
}
.consultation_text hr{
    width: 63vw;
    right: 0;
    border: solid 1px var(--clr-second-color);
    background-color: var(--clr-second-color);
}
.wrapper{
    margin-top: 2%;
    display: block;
}
.wrapper a{
    width: 16%;
    font-size: 1.1rem;
    color: #eee;
    padding: 4px;
    letter-spacing: 2px;
    transition: all .25s;
    border-top: 2px solid rgba(238, 238, 238, 0);
    border-bottom: 2px solid rgba(238, 238, 238, 0);
}

.wrapper a:hover{
    letter-spacing: 3px;
    border-top: 2px solid var(--clr-second-color);;
    border-bottom: 2px solid var(--clr-second-color);
}
/* polygon */
.team_polygon{
    clip-path: polygon(0 0, 102% 102%, 0 102%);
    height: 15vh;
    width: 100vw;
    position: absolute;
    bottom: 0;
    background-color: var(--clr-first-color);
    /* background-color: white; */
}
.contact-polygon{
    clip-path: polygon(0% -1%, 100% -1%, 101% 101%);
    height: 15vh;
    background-color: var(--clr-first-color);
}






/*--------------- about ---------------*/
/*-------------------------------------*/
#about {
    display: grid;
    grid-template-columns: 1fr 2fr;
    padding: 10% 10% 15% 10%;
    grid-gap: 5%;
    max-width: 100vw;
    background-color: var(--clr-first-color);
    /* background-color: white; */
}
#about img{
    border: 1px solid var(--clr-second-color);
    top: 5%;
    left: 5%;
    /*padding: 5%;*/
    width: 100%;
    height: auto;
    position: relative;
    box-shadow: 5px 10px 20px black;
}
.about_text{
    text-align: left;
    margin-top: 25%;
    position: relative;
    left: -10%;
    width: 80%;
    background-color: white;
    color: var(--clr-first-color);
    padding: 5% 10% 5% 10%;
    box-shadow: 5px 10px 20px black;
}
.about_text p {
    font-size: 1.2rem;
}
.about_text h2{
    font-size: 2rem;
    text-align: left;
    margin: 0;
}
.about_text hr{
    border: 1px solid var(--clr-second-color);
    background-color: var(--clr-second-color);
    margin: 2% 65% 5% 0
}
.about_text ul{
    margin: 0;
    padding: 0;
    font-size: 1.2rem;
}
.watermark_text{
    white-space: nowrap;
    position: absolute;
    left: 0;
    -webkit-transform: translate(-43%, 0) rotate(-90deg);
    -ms-transform: translate(-43%, 0) rotate(-90deg);
    transform: translate(-43%, 0) rotate(-90deg);
    font-size: 7rem;
    color: rgb(168, 168, 168, 0.1);
}
@media screen and (max-width:612px){
    #about{
        grid-template-columns: 1fr;
    }
    #about img {
        left: 0;
    }
    .about_text {
        left: 0;
        margin-bottom: 20%;
        margin-top: 0;
    }
    .img_div {
        left: 5%;
        top: 5%;
    }
    .about_text ul{
        font-size: 1rem;
    }
    .about_text p {
        font-size: 1rem;
    }
    .about_text hr{
        margin: 2% 30% 5% 0;
    }
    .watermark_text{
        left: -12%;
        top: 380vh;
    }
}



/*--------------- contact ---------------*/
/*---------------------------------------*/
#contact{
    padding: 10%;
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    min-height: 50vh;
}
.contact_info{
    display: grid;
    grid-template-columns: 0.2fr 1fr;
}
.contact_info .fa-solid{
    font-size: 2rem;
}
.contact_text{
    font-size: 1.5rem;
    text-align: left;
}
.contact_text a{
    float: left;
}
.left{
    padding-top: 50%;
}
.right{
    padding-top: 10%;
    border-left: solid 2px var(--clr-second-color);
    padding-left: 5%;
}
.right p{
    margin: 0;
    text-align: left;
}
#maps_button{
    cursor: pointer;
    margin-top: 2%;
    font-size: 1.2rem;
    transition: 0.4s;
    padding: 1%;
    background: var(--clr-first-color);
    border: solid 2px var(--clr-second-color);
    border-radius: 9px;
    color: white;
}
/* Button on hover */
#maps_button:hover{
    background-color: var(--clr-second-color);
    border: solid 2px var(--clr-first-color);
    color: var(--clr-logo-color);
}
.contact_informations{
    margin: 5%;
}

.contact-informations a, .contact-informations i, .contact-informations p{
    color: var(--clr-logo-color);
    text-decoration: none;
    font-size: 2rem;
}

#contact .fas, #contact .far, #contact .fa{
    font-size: 2.5rem;
}

#mapsOnClick{
    position: relative;

}
#mapsOnClick img{
    height: 100%;
    width: 100%;
}
.change{
    box-shadow: 5px 10px 30px rgba(0, 0, 0, 0.486);
    border: none;
    width: 100%;
    height: 100%;
}
.mapsBefore{
    overflow: hidden;
}

.mapsOverlay{
    position: absolute;
    background-color: rgba(0, 0, 0, 0.7);
    top: 0px;
    left: 0px;
    height: 100%;
    width: 100%;
}
.maps {
    box-shadow: 5px 10px 30px rgba(0, 0, 0, 0.486);
    border: none;
    width: 100%;
    height: 100%;
}
#mapsOnClick iframe{
    box-shadow: 5px 10px 30px rgba(0, 0, 0, 0.486);
}

.overlay-center{
    color: white;
    font-size: 1.3rem;
    position: absolute;
    padding: 5%;
    left: 50%;
    top: 50%;
    width: 100%;
    transform: translate(-50%, -50%);
}

@media screen and (max-width:1012px){
    .contact-informations a, .contact-informations i, .contact-informations p{
        font-size: 1.5rem;
    }
    .contact-grid{
        grid-template-columns: 1fr 1fr;
    }
}

@media screen and (max-width:850px){
    .contact-grid{
        grid-template-columns: 100%;
    }
    .maps{
        height: 300px;
    }
    .contact-informations a, .contact-informations i, .contact-informations p{
        font-size: 1.5rem;
    }
    .contact_informations{
        margin: 5%;
    }
    #contact .fas, #contact .far, #contact .fa{
        font-size: 2.3rem;
    }
}


@media screen and (max-width:612px){
    #contact {
        margin: 10% 0 10% 0;
    }
    .contact-informations a, .contact-informations i, .contact-informations p{
        font-size: 1.5rem;
    }
    #contact .fas, #contact .far, #contact .fa{
        font-size: 2rem;
    }
    .overlay-center{
        font-size: 1rem;
    }
    #mapsOnClick{
        margin-top: 15%;
    }
    .right p, .right a{
        font-size: 1.4rem;
    }
    .left i{
        font-size: 2rem;
    }
    .change{
        box-shadow: none;
    }
}






@media screen and (max-width:1200px){
    .contact_text{
        font-size: 1.2rem;
    }
}

@media screen and (max-width:612px){
    #contact{
        grid-template-columns: 1fr;
    }
    .contact_text{
        font-size: 1rem;
    }
    .contact_info .fa-solid{
        font-size: 1rem;
    }
    .maps{
        margin-top: 10%;
    }

}
/*---------- other ----------*/
/*---------------------------*/
footer{
    background-color: var(--clr-first-color);
    color: white;
}
footer .grid {
    padding: 1% 10% 5% 10%;
}
.links{
    text-align: left;
}
.links ul{
    margin: 3% 0 3% 0;
    padding: 0;
}
.links ul a{
    color: white;
}
.mitte{
    position: relative;
}
#footer .contact p, #footer .contact a{
    margin-top: 1%;
    margin-bottom: 1%;
}
.footer-opening-hours-table{
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}
.footer-opening-hours-table p{
    font-size: 1.2rem;
    margin: 0.2rem;
}

.footer-opening-hours-table hr{
    margin-left: 10%;
    margin-right: 10%;
    border: 1px solid var(--clr-second-color);
    background-color: var(--clr-second-color);
}

.day-time-table{
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 3%;
}

.rechts{
    margin-left: 70%;
    text-align: right;
}
.rechts ul{
    margin: 3% 0 3% 0;
}
.rechts a{
    text-decoration: none;
    color: white;
}

.footer_copyright{
    border-top: 1px solid rgba(128, 128, 128, 0.35);
    position: relative;
    height: 5vh;
    background-color: rgba(238, 238, 238, 0.02);
    vertical-align: center;
}
.footer_copyright a{
    color: white;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}
@media screen and (max-width:612px){
    .footer_copyright{
        margin: 2% 0 0 0;
        height: 10vh;
    }
    .rechts{
        text-align: center;
    }
    .links {
        text-align: center;
    }
    footer .grid .rechts ul {
        padding: 0;
    }
}


/*---------- go to top button ----------*/
#myBtn {
    display: none;
    position: fixed;
    bottom: 2%;
    right: 2%;
    z-index: 99;
    border: none;
    outline: none;
    background-color: rgba(128, 128, 128, 0.5);
    color: var(--clr-second-color);
    cursor: pointer;
    padding: 0.6rem;
    border-radius: 10px;
    font-size: 1rem;
}

#myBtn:hover {
    background-color: rgba(85, 85, 85, 0.50);
}

.fa-angle-double-up{
    color: var(--clr-second-color);
}





/*---------- cookie ----------*/
.cookie-container{
    font-size: 1.1rem;
    z-index: 100;
    backdrop-filter: blur(2px);
    position: fixed;
    top: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    display: none;
}
/* show container */
.active{
    bottom: 0;
    display: block;
}
/* design button */
.cookie-btn{
    border: 2px solid var(--clr-first-color);
    padding: 1%;
}
.foreground {
    background-color: white;
    color: black;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}
.foreground p{
    margin: 5%;
}
.cookie_buttons{
    display: grid;
    margin: 2% 20% 4% 20%;
    grid-template-columns: 1fr 1fr;
}

button {
  position: relative;
  display: inline-block;
  cursor: pointer;
  outline: none;
  border: 0;
  vertical-align: middle;
  text-decoration: none;
  background: transparent;
  padding: 0;
  font-size: inherit;
  font-family: inherit;
}
button.learn-more {
  width: 12rem;
  height: auto;
}
button.learn-more .circle {
  transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
  position: relative;
  display: block;
  margin: 0;
  width: 3rem;
  height: 3rem;
  background: #282936;
  border-radius: 1.625rem;
}
button.learn-more .circle .icon {
  transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  background: #fff;
}
button.learn-more .circle .icon.arrow {
  transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
  left: 0.625rem;
  width: 1.125rem;
  height: 0.125rem;
  background: none;
}
button.learn-more .circle .icon.arrow::before {
  position: absolute;
  content: "";
  top: -0.25rem;
  right: 0.0625rem;
  width: 0.625rem;
  height: 0.625rem;
  border-top: 0.125rem solid #fff;
  border-right: 0.125rem solid #fff;
  transform: rotate(45deg);
}
button.learn-more .button-text {
  transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.75rem 0;
  margin: 0 0 0 1.85rem;
  color: #282936;
  font-weight: 700;
  line-height: 1.6;
  text-align: center;
  text-transform: uppercase;
}
button:hover .circle {
  width: 100%;
}
button:hover .circle .icon.arrow {
  background: #fff;
  transform: translate(1rem, 0);
}
button:hover .button-text {
  color: #fff;
}







/*---------- responsive ----------*/
@media screen and (max-width:1200px){
    .cookie_buttons{
        margin: 2% 20% 4% 20%;
        grid-template-columns: 1fr;
    }
    .button-text{
        font-size: 1rem;
    }
    .button.learn-more .button-text{
        font-size: 1rem;
    }
    .button.learn-more .circle{
        width: 2rem;
        height: 2rem;
    }
}
@media screen and (max-width:612px){
    .foreground{
        width: 80%;
    }
}

/*---------- imprint and privacy ----------*/

#impressum, #privacy{
    margin-top: 15vh;
}


#impressum a, #privacy a{
    color: #394353;
    text-decoration: none;
}

#privacy li{
    margin-top: 3%;
    margin-left: 3%;
    margin-right: 5%;
    color: black;
    text-align: left;
}

#privacy ol{
    margin-top: 1%;
    margin-left: 5%;
    margin-right: 5%;
    color: black;
    text-align: left;
}

#privacy ul{
    margin-top: 1%;
    margin-left: 5%;
    margin-right: 5%;
    color: black;
    text-align: left;
}

#impressum h1, #privacy h1{
    color: rgb(100, 100, 100);
    margin-bottom: 2%;
    margin-right: 5%;
}

#impressum h2, #privacy h2{
    color: rgb(100, 100, 100);
    font-size: 1.2rem;
    text-align: left;
    margin-top: 5%;
    margin-left: 5%;
}

#impressum h3, #privacy h3{
    color: rgb(100, 100, 100);
    font-size: 1.2rem;
    text-align: left;
    margin-top: 5%;
    margin-left: 5%;
}

#impressum h4, #privacy h4{
    color: rgb(100, 100, 100);
    font-size: 1rem;
    text-align: left;
    margin-top: 5%;
    margin-left: 6%;
}


#impressum p, #privacy p{
    text-align: left;
    margin-bottom: 2%;
    margin-left: 6%;
    margin-right: 5%;
}