@import url("reset.css");

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

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


*,
*:before,
*:after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.clear {
    clear: both;
}

body {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 1.4em;
    /* Schriftschitt/Größe/Zeilenabstand/Art*/
}


h2 {
    font-size: 40px;
    line-height: 1.1em;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    align-items: center;
}

p {
    margin-bottom: 1em;
}

strong {
    font-weight: 700;
}

.boldAndBlue {
    color: #0e84d7;
    font-weight: 700;
}


/*---------------------------------------
WHITE SEC
---------------------------------------*/
.white-sec {
    color: black;
    display: flex;
    justify-content: center;
}

.white-sec h2::after {
    content: url("../images/schloss-blau.png");
    margin: 35px 0;
}

.white-sec span {
    color: #0e84d7;
    font-weight: 700;
}

.white-sec>div {
    margin: 0 40px;
    max-width: 600px;
}

.white-sec .button {
    text-decoration: none;
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    cursor: pointer;
}

.white-sec .button span,
.blueBorder {
    color: #fff;
    background: #0e84d7;
    padding: 5px 15px;
    ;
    border-radius: 10px;
    margin-left: 10px;
}

.mobile {
    padding-left: 4px;
    padding-right: 5px;
}

/*---------------------------------------
BLUE SEC
---------------------------------------*/
.blue-sec {
    color: white;
    display: flex;
    justify-content: center;
}

.blue-sec h2::after {
    content: url("../images/schloss-weiss.png");
    margin: 35px 0;
}

#ratgeber div:first-child {
    max-width: 600px;
    margin: 0 25px;
}

.blue-sec a {
    color: #fff;
}

.blue-sec .button {
    text-decoration: none;
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    cursor: pointer;
}

.blue-sec .button span,
.whiteBorder {
    background: #fff;
    color: #0e84d7;
    padding: 5px 15px;
    ;
    border-radius: 10px;
    margin-left: 10px;
    font-weight: 700;
}

/*---------------------------------------
BASIC
---------------------------------------*/
.white-sec,
.blue-sec {
    padding: 125px 0;
}

.split {
    display: flex;
}

.split>img {
    min-width: 0;
    object-fit: cover;
    object-position: center;
    flex: 1;
}

.split>div {
    flex: 1;
}

.infobox {
    background: #0e84d7;
    color: white;
    padding: 50px;
    border-radius: 25px;
    margin-top: 75px;
}

.accordeon {
    color: #0e84d7;
    background: #fff;
    border-radius: 15px;
    width: 100%;
    margin: 0;
    margin-bottom: 10px;
    cursor: pointer;
}

.accordeon .number {
    background: #0e84d7;
    color: #fff;
    border-radius: 100%;
    height: 40px;
    min-width: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 5px;
    margin-right: 15px;
}

.accordeon h3 {
    display: flex;
    align-items: center;
    font-weight: 700;


}

.accordeon span {
    background: #0e84d7;
    color: #fff;
    border-radius: 100%;
    height: 40px;
    min-width: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 5px;
    margin-right: 15px;
}

.panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
    padding: 0 25px;
    color: #000;
}

.pic-split {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.pic-split>img {
    margin-right: 50px;
    border-radius: 25px;
}

/*---------------------------------------
NAV
---------------------------------------*/

.logo {
    display: flex;
    align-items: center;
    background: #0e84d7;
    padding: 10px 30px;
    border-radius: 0 25px 25px 0;
    text-decoration: none;
    color: #fff;
}

.logo strong {
    white-space: nowrap;
}

.logo span {
    text-transform: uppercase;
}

.logo img {
    margin-right: 15px;
}

#navbar a.logo:hover {
    color: #fff;
}



.firstnav {
    height: 70px;
    display: flex;
    align-items: center;
    margin-right: 5%;

}


.firstnav a {
    display: block;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-weight: 400;
}

#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(39, 48, 55, 0.66);
}

#navbar a:hover {
    color: #0e84d7;
}


.nav-inner {
    display: flex;
    justify-content: space-between;
    ;
    align-items: center;
}

.firstnav .icon {
    display: none;
}




/*---------------------------------------
SECTIONS
---------------------------------------*/

.kopf {
    background-image: linear-gradient(rgba(14, 132, 215, 0.66), rgba(14, 132, 215, 0.66)), url("../images/tueroeffnungswerkzeuge.jpeg");
    background-position: center, center;
    background-attachment: fixed, fixed;
    background-size: cover, cover;
    background-repeat: no-repeat;
    height: 85vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.kopf>div {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.kopf>div>span {
    margin-top: 75px;
    font-size: 40px;
    line-height: 1.1em;
    margin-bottom: 50px;
}

/*
#preise {
    background-image: url(../images/AdobeStock_191501911_Preview.jpeg);
    background-position: right top;
    background-size: 550px;
    background-repeat: no-repeat;
    text-align: center;
}
*/

#preise>div {
    max-width: none;
}

.preis-wrapp {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 50px;
}

.preis-cont {
    border: 1.5px solid #0e84d7;
    text-align: center;
    width: 300px;
    border-radius: 25px;
    padding-top: 25px;
    font-size: 20px;
    margin: 0 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-bottom: 50px;
    background: rgba(255, 255, 255, 1);
    color: black;
}

.preis-cont p {
    margin-bottom: 0px;
    line-height: 1.1em;
    min-height: 1.1em
}

.preis-cont p:nth-of-type(1) {
    font-size: 30px;
    margin-bottom: 2px;
}

.preis-cont p:nth-of-type(3)::before {
    content: ' ';
    height: 0px;
    width: 45px;
    background: #0e84d7;
    display: block;
    margin: 10px auto;
    border-radius: 1px;
    border: #0e84d7 1px solid;
}

.preis-cont div:first-of-type {
    margin-bottom: 25px;
}

.preis-cont div:not(:first-of-type) {
    font-weight: 700;
    background: #0e84d7;
    color: #fff;
    padding-top: 25px;
    padding-bottom: 25px;
    border-radius: 0 0 20px 20px;
    border: 1.5px solid #0e84d7;
}


#preise {
    background-image: linear-gradient(rgba(14, 132, 215, 0.66), rgba(14, 132, 215, 0.66)), url("../images/tueroeffnung.jpeg");
    background-position: center;
    background-attachment: fixed;
    background-size: cover;
}

#preise>div>p {
    text-align: center;
}

#ratgeber {
    background-image: linear-gradient(rgba(14, 132, 215, 0.66), rgba(14, 132, 215, 0.66)), url("../images/schlossoeffnen.jpeg");
    background-position: center;
    background-attachment: fixed;
    background-size: cover;
}

.tipi {
    max-width: 400px;
    border-radius: 25px;
}

.dsgvo ul {
    width: 100%;
    background: #0e84d7;

    position: fixed;
    bottom: 0;
    left: 0;
    display: flex;
    padding-right: 20px;
    justify-content: flex-end;
}

.dsgvo ul li a {
    padding: 6px 8px;
    font-size: 16px;
    line-height: 1em;
    color: #fff;
    text-decoration: none;
    display: block;
}


.white-sec .button .kontakt {
    margin-left: auto;
    margin-right: auto;
    margin-top: 20px;
}

.impressum a {
    color: #0e84d7;
    text-decoration: none;
}

.kontakt-img {
    object-position: left;
}

/*---------------------------------------
MEDIA Queries | Tablet | Phone
---------------------------------------*/

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

    /*CSS*/
    .pic-split {
        flex-direction: column;
    }

    .pic-split>img {
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 25px;
    }


    .nav-inner {}



    .firstnav {
        height: auto;
        margin-right: 0;
    }

    .firstnav a:not(:first-child) {
        display: none;
    }


    .firstnav a img {
        margin-left: 10px;
    }

    .firstnav.responsive {
        position: relative;
        flex-direction: column;
        height: auto;
        align-items: flex-end;
    }



    .firstnav.responsive a {
        display: block;
        text-align: right;
    }

    .firstnav a.icon {
        display: flex;
        align-items: center;
    }

    .nav-top ul {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: #0799ec;
        justify-content: flex-end;
    }

    .logo {
        align-self: flex-start;
    }

}

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

    /*CSS*/
    .split {
        flex-direction: column-reverse;
    }

    #ueber-mich {
        flex-direction: column;
    }

    #ueber-mich>img {
        object-position: bottom;
    }

    .split img {
        max-height: 400px;
    }

    .kontakt-img {
        max-width: 90%;

    }


    .white-sec,
    .blue-sec {
        padding-top: 50px;
        padding-bottom: 100px;
    }
}

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

    /*CSS*/
    .kopf,
    #preise,
    #ratgeber {
        background-attachment: scroll;
    }

    h2,
    .kopf>div>span {
        font-size: 30px;
    }

    body {
        font-size: 18px;
    }
}

@media screen and (max-width: 480px) {
    /*CSS*/

    h2,
    .kopf>div>span {
        font-size: 26px;
    }

    body {
        font-size: 16px;
    }

    .preis-cont {
        width: 250px;
    }

    .infobox {
        padding: 25px;
    }
}


@media screen and (max-width: 460px) {
    /*CSS*/

    .logo img {
        margin-right: 5px;
        width: 45px;
    }

    .logo {
        padding: 10px 10px;
        padding-right: 15px;
        position: absolute;
        top: 0;
        left: 0;
    }

    .nav-inner {
        justify-content: flex-end;
        min-height: 64px;
    }

}