@import url("reset.css");

/*-----------FONTS-----------*/

/* roboto-300 - latin */
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 300;
    src: url('../fonts/roboto-v19-latin-300.eot');
    /* IE9 Compat Modes */
    src: local('Roboto Light'), local('Roboto-Light'),
        url('../fonts/roboto-v19-latin-300.eot?#iefix') format('embedded-opentype'),
        /* IE6-IE8 */
        url('../fonts/roboto-v19-latin-300.woff2') format('woff2'),
        /* Super Modern Browsers */
        url('../fonts/roboto-v19-latin-300.woff') format('woff'),
        /* Modern Browsers */
        url('../fonts/roboto-v19-latin-300.ttf') format('truetype'),
        /* Safari, Android, iOS */
        url('../fonts/roboto-v19-latin-300.svg#Roboto') format('svg');
    /* Legacy iOS */
}

/* roboto-regular - latin */
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url('../fonts/roboto-v19-latin-regular.eot');
    /* IE9 Compat Modes */
    src: local('Roboto'), local('Roboto-Regular'),
        url('../fonts/roboto-v19-latin-regular.eot?#iefix') format('embedded-opentype'),
        /* IE6-IE8 */
        url('../fonts/roboto-v19-latin-regular.woff2') format('woff2'),
        /* Super Modern Browsers */
        url('../fonts/roboto-v19-latin-regular.woff') format('woff'),
        /* Modern Browsers */
        url('../fonts/roboto-v19-latin-regular.ttf') format('truetype'),
        /* Safari, Android, iOS */
        url('../fonts/roboto-v19-latin-regular.svg#Roboto') format('svg');
    /* Legacy iOS */
}

/* roboto-500 - latin */
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/roboto-v19-latin-500.eot');
    /* IE9 Compat Modes */
    src: local('Roboto Medium'), local('Roboto-Medium'),
        url('../fonts/roboto-v19-latin-500.eot?#iefix') format('embedded-opentype'),
        /* IE6-IE8 */
        url('../fonts/roboto-v19-latin-500.woff2') format('woff2'),
        /* Super Modern Browsers */
        url('../fonts/roboto-v19-latin-500.woff') format('woff'),
        /* Modern Browsers */
        url('../fonts/roboto-v19-latin-500.ttf') format('truetype'),
        /* Safari, Android, iOS */
        url('../fonts/roboto-v19-latin-500.svg#Roboto') format('svg');
    /* Legacy iOS */
}

/*-----------FONTGESTALTUNG-----------*/

body {
    font-family: 'Roboto'
}

p {
    font-size: 15px;
    font-weight: 300;
    line-height: 21px;
    margin-bottom: 15px;
    color: #60280F
}

a {
    color: #60280F;
    text-decoration: none;
    cursor: pointer;
}

h1 {
    font-size: 42px;
    line-height: 125%;
    margin-bottom: 10px;
    color: #60280F;
}

h1 b {
    font-size: 30px;
}

h2 {
    font-size: 24px;
    margin-bottom: 30px;
    text-transform: uppercase;
    color: #60280F;
}

h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #60280F;
}

h4 {
    font-size: 16px;
}

li {
    font-size: 14px;
    list-style: disc;
    color: #60280F;
    margin-bottom: 3%;
    list-style: disc;
}

strong {
    font-weight: 500;
    font-size: 16px;
    font-weight: 600;
}

.line {
    background-color: #000;
    width: 50px;
    height: 3px;
    margin-bottom: 25px;
}


/*-----------NAVI-----------*/

.logo {
    position: fixed;
    width: 200px;
    height: auto;
    top: 20px;
    left: 5%;
    z-index: 9999;
}

nav {
    position: fixed;
    background-color: rgb(255 255 255 / 40%);
    backdrop-filter: blur(10px);
    ;
    width: 100%;
    height: 80px;
    z-index: 101;
    top: 0;
    text-align: right;
    align-items: center;
    padding: 22px 0;
    z-index: 100;
}

nav ul {
    margin-right: 5%;
    margin-top: 15px;
}

nav ul li {
    display: inline-block;
    margin: 0 2%;
}

nav ul li a {
    text-decoration: none;
    font-size: 16px;
    color: #2e2e2e;
    font-weight: 600;
}

nav ul li strong {
    color: #0025a6;
    font-weight: 600;
}

nav ul li a:hover {
    border-bottom: 3px solid #000;
}

.navi {
    display: none;
}

.burger-nav {
    position: fixed;
    right: 0;
    top: -6px;
    color: #fff;
    z-index: 9999;
    -webkit-transform: rotate(-90deg);
    transform: rotate(-90deg);
    font-size: 40px;
    cursor: pointer;
    transition: all .4s ease-in-out;
    background-color: #000;
    padding: 16px 21px 21px 19px;
}

.burger-nav b {
    transition: all .4s ease-in-out;
    float: left;
    margin-left: 0;
    font-family: 'Roboto';
    font-style: normal;
}

.burger-nav-anim {
    top: -5px;
    color: #fff;
}

.burger-nav-anim b:first-of-type {
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}

.burger-nav-anim b:nth-of-type(2) {
    opacity: 0;
}

.burger-nav-anim b:last-of-type {
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    margin-left: -80%;
}

.full-screen-nav {
    position: fixed;
    z-index: 9998;
    width: 100%;
    height: 100vh;
    background: #000;
    display: table;
    visibility: hidden;
    transition: all .4s ease-in-out;
    opacity: 0;
}

.full-screen-nav ul {
    text-align: center;
    display: table-cell;
    vertical-align: middle;
    width: 100%;
}

.full-screen-nav ul li a {
    padding: 20px;
    display: block;
    font-size: 30px;
    color: #fff;
    transition: all .4s ease-in-out;
    text-decoration: none;
}

.fadeIn {
    opacity: 1 !important;
    visibility: visible !important;
}

.fadeUp {
    opacity: 1 !important;
    margin-top: 0 !important;
}


/*-----------ASIDE-----------*/

/*--aside img {position: fixed; background-color: #000; width: 45px; z-index: 999; left: 0; transition: 0.5s;}
aside img:hover {background-color: #6d6d6d;}
.mail {top: 300px;}
.phone {top: 370px;}--*/


/*-----------HEADER-----------*/

header {
    background: url("../images/headerbild.jpg") no-repeat;
    height: 100vh;
    width: 100%;
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    position: relative;
}

#stoerer {
    position: absolute;
    left: 10%;
    bottom: 45vh;
    padding: 30px 50px;
}


/*-----------AUFBAU-----------*/

html {
    scroll-behavior: smooth;
}

#ueberuns,
#vita {
    padding: 120px 0;
}

.content {
    display: flex;
    width: 80%;
    margin-left: 10%;
    align-items: center;
}

.col {
    width: 90%;
}

.col:nth-of-type(2) {
    padding-left: 10%;
}

.image {
    width: 50%;
    border-radius: 10px;
}

.btn {
    background-color: #A43F20;
    color: #fff;
    padding: 10px 30px;
    transition: 0.5s;
    border-radius: 10px;
}

.btn:hover {
    background-color: #DEBDB4;
    color: #60280F;
}

::-moz-selection {
    background: #fff600;
    color: #000;
}

::selection {
    background: #fff600;
    color: #000;
}


/*-----------Über uns-----------*/


/*-----------Leistungen-----------*/

#leistungen {
    padding: 120px 0;
    background-size: cover;
    background-attachment: local;
    background-position: center;
    position: relative;
    background-color: #60280F;
}

#leistungen .headline {
    top: 50%;
    text-align: center;
}

#leistungen .headline h2 {
    color: #fff;
}

#leistungen .headline h3 {
    color: #fff;
}

#leistungen .content {
    justify-content: center;
    flex-wrap: wrap;
    display: flex;
    width: 80%;
    margin-left: 10%;
    align-items: center;
    padding: 0px;
}

#cards {
    padding-bottom: 120px;
    background-size: cover;
    background-attachment: local;
    background-position: center;
    position: relative;
    background-color: #60280F;
}

.cards-content {
    justify-content: center;
    flex-wrap: wrap;
    display: flex;
    width: 80%;
    margin-left: 10%;
    align-items: center;
    padding: 0px;
}
.card {
    width: 24rem;
     height: 36rem;
     border-radius: 10px;
     overflow: hidden;
     cursor: pointer;
     position: relative;
     box-shadow: 0 10px 30px 5px rgba(0, 0, 0, 0.2);
     margin-left: 40px;
     margin-bottom: 40px;
 }
 
 .card .image {
   position: absolute;
     object-fit: cover;
     width: 100%;
     height: 100%;
 }
 
 .overlay {
   position: absolute;
   top: 0;
   bottom: 0;
   left: 0;
   right: 0;
   height: 100%;
   width: 100%;
   opacity: 0;
   transition: .5s ease;
   background-color: #ffff;
 }
 
 .card:hover .overlay {
   opacity: 1;
 }
 
 .text-hidden {
   color: #A43F20;
   justify-content: left;
     flex-wrap: wrap;
     display: flex;
     width: 80%;
     margin-left: 10%;
     margin-top: 30%;
     align-items: center;
     padding: 0px;
 }


/*-----------Meine Vita-----------*/

#vita .col:nth-of-type(2) {
    margin-top: 55px;
}

#vita .image {
    width: 60%;
    border-radius: 10px;
}

.overlay-popup {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    transition: opacity 500ms;
    visibility: hidden;
    opacity: 0;
  }
  .overlay-popup:target {
    visibility: visible;
    opacity: 1;
  }
  
  .popup {
    margin: 70px auto;
    padding: 20px;
    background: #fff;
    border-radius: 5px;
    width: 30%;
    position: relative;
    transition: all 5s ease-in-out;
  }
  
  .popup h2 {
    margin-top: 10%;
  }
  .popup .close {
    position: absolute;
    top: 20px;
    right: 30px;
    transition: all 200ms;
    font-size: 30px;
    font-weight: bold;
    text-decoration: none;
    color: #333;
  }
  .popup .close:hover {
    color: #A43F20;
  }
  .popup-content {
    overflow: auto;
    justify-content: left;
  }
  .popup-content ul{
    list-style-type: circle;
  }
  .popup-content h3{
   margin-bottom: 5%;
  }
  @media screen and (max-width: 700px){
    .box{
      width: 70%;
    }
    .popup{
      width: 70%;
    }
  }
/*-----------PUFFER-----------*/

.puffer1 {
    background: url("../images/pufferimage.jpg") no-repeat;
    height: 600px;
    width: 100%;
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    position: relative;
}

.puffer2 {
    background: url("../images/puffer2.jpg") no-repeat;
    height: 600px;
    width: 100%;
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    position: relative;
}

.impressumlink {
    background-color: #A43F20;
    color: #fff;
    width: 100vw;
    height: 20px;
}
/*-----------FOOTER-----------*/

footer {
    padding: 120px 0;
    background-color: #fff;
    vertical-align: top !important;
}

footer p,
footer h2,
footer h3,
footer a {
    color: #60280F;
}

footer a {
    text-decoration: underline;
    color: #A43F20;
}

.formular {
    width: 550px;
    height: 600px;
}

/*-----------RESPONSIVE-----------*/

@media screen and (max-width: 1366px) {

    header,
    .puffer1,
    .puffer2 {
        background-attachment: scroll;
    }
}

@media screen and (max-width: 900px) {
    h1 {
        font-size: 25px;
        line-height: 30px;
    }

    h1 b {
        font-size: 25px;
    }

    .logo {
        position: absolute;
    }

    header {
        height: 75vh;
    }

    nav {
        background: none;
        box-shadow: 0 0 0;
    }

    nav ul {
        display: none;
    }

    .navi {
        display: block;
    }
}

@media screen and (max-width: 700px) {
    main {
        text-align: center;
    }

    .content {
        display: block;
    }

    .col {
        width: 80%;
        margin-left: 10%;
    }

    .col:nth-of-type(2) {
        padding: 40px 0 0;
    }
}

@media screen and (max-width: 500px) {
    aside img {
        width: 40px;
    }

    .mail {
        top: 250px
    }

    .phone {
        top: 320px
    }
}
