/*
Name: style.css
Description: Style-CSS-Datei for the webdesign of PH-CNC-Technik.
Copyright: Sven M. Zehnder
Version: 1.0
*/


/* ################# STANDARTEINSTELLUNGEN ################# */
body {
    font-family: 'Roboto', sans-serif;
    background-color: rgb(0,0,0, 1);
}
h1, p {
    margin: 0;
    text-decoration: none;
    color: #fff;
}

h2 {
    margin: 0px 0 13px 0;
	color: #fff;
}


/* ################# HEADER ################# */

/* Header ----------- */
header {
    width: 100%;
    background-color: rgba(0, 0, 0, 1);
}
header .flex-box-sm {
    height: 90px;
    align-items: center;
}

/* Logo ----------- */
header .logo img {
    height: 80px;
}

/* Menu-Button ----------- */
header .menu .menu-button {
    display: none;
}

/* Menu ----------- */
header .menu {
    text-align: right;
    font-size: 18px;
}
header .menu ul li {
    list-style: none;
    display: inline;
    margin: 0 0 0 35px;
}
header .menu ul li:first-child {
    margin: 0;
}
header .menu ul li a {
    color: #fff;
    text-decoration: none;
    transition: all 500ms;
    border-bottom: solid 1px rgba(255, 255, 255, 0);
    position: relative;
    top: 0;
}
header .menu ul li a:hover {
    border-bottom: solid 1px rgba(255, 0, 0, 1);
    top: 3px;
}



/* ################# BANNER & INHALT ################# */

/* Banner ----------- */
.banner {
    width: 100%;
    height: 500px;

}

.b-index {
    background-image: url(../images/index_banner.png);
    background-repeat: no-repeat;
    background-size: cover;
}

.b-leistung {
    background-image: url(../images/leistung_banner.png);
    background-repeat: no-repeat;
    background-size: cover;
}

.b-qualitaet {
    background-image: url(../images/quality_banner.png);
    background-repeat: no-repeat;
    background-size: cover;
}

.b-kontakt {
    background-image: url(../images/contact_banner.png);
    background-repeat: no-repeat;
    background-size: cover;
}

.b-recht {
    background-image: url(../images/IMG_PH_0027_Recht2.png);
    background-repeat: no-repeat;
    background-size: cover;
}

.b-daten {
    background-image: url(../images/IMG_PH_0007_Daten.png);
    background-repeat: no-repeat;
    background-size: cover;
}

/* Grauschleier über Banner-Bild
.banner .overlay {
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(227, 227, 227, 0.01) 20%, rgba(227, 227, 227, 0.8) 100%);
}*/

.banner h1 {
    text-align: center;
    color: rgba(255, 255, 255, 1);
    font-family: 'Roboto', sans-serif;
    font-size: 50px;
    padding-top: 200px;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 1);
}

.banner p {
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    font-family: 'Roboto', sans-serif;
    font-size: 20px;
    text-shadow: 5px 5px 10px rgba(0, 0, 0, 0.9);
}

/* Inhalt ----------- */
.inhalt .flex-box-sm {
    background-color: rgba(0,0,0, 1);
    margin: -76px 15px 50px 15px;
    padding: 30px 15px 30px 15px;
    border-style: solid;
	border-color: #444444;
	border-width:1px;
    width: auto;
    align-items: stretch;
    box-shadow: 5px 5px 20px 1px rgba(150,150,150, .15);
}

.inhalt h1 {
    text-align: justify;
    color: #fff;
}

.inhalt h2 {
    text-align: justify;
    color: #fff;
}

.inhalt h3 {
    text-align: justify;
    color: #fff;
}

.sm-box-12 {
    color: #fff;
}

/* --- Bild imText --- */
.b-bearbeitung04 {
    width: 250;
    height: 150px;
    margin: 20px;
    background-color: red;
    float: left;
}

.b-bearbeitung08 {
    width: 250px;
    height: 150px;
    margin: 20px;
    background-color: blue;
    float: left;
}

.b-werkstoffe04 {
    width: 250px;
    height: 150px;
    margin: 20px;
    float: left;
}

.b-werkstoffe08 {
    width: 250px;
    height: 150px;
    margin: 20px;
    float: left;
}

.b-veredelung04 {
    width: 250px;
    height: 150px;
    margin: 20px;
    float: left;
}

.b-veredelung08 {
    width: 250px;
    height: 150px;
    margin: 20px;
    float: left;
}

.b-montage04 {
    width: 250px;
    height: 150px;
    margin: 20px;
    float: left;
}

.b-montage08 {
    width: 250px;
    height: 150px;
    margin: 20px;
    float: left;
}

.clear{
    clear: both;
    height: 0px;
}

.zoom { 
    display: flex; 
    justify-content: center; 
    align-items: center;
    padding: 20px;
    margin-top: 70px;
}

.inhalt p {
    text-align: justify;
    color: #fff;
    text-decoration: none;
    line-height: 1.5;
}

.sm-box-06 {
    color: #fff;
}



/* ################# FOOTER ################# */
footer {
    width: 100%;
    background-color: black;
    color: #fff;
}
footer .flex-box-sm {
    height: 45px;
    align-items: center;
}
footer .rechtliches {
    text-align: right;
}
footer .rechtliches ul li {
    list-style: none;
    display: inline;
}
footer .rechtliches ul li:last-child {
    margin-left: 10px;
}
footer .rechtliches ul li a {
    color: #fff;
    text-decoration: none;
}
footer .rechtliches ul li a:hover {
    border-bottom: solid 1px rgba(255, 0, 0, 1);
}



/* ################### MOBILE ANPASSUNG ################################## */
@media screen and (max-width: 768px) {
    /* ####### HEADER ####### */
    /* Header ----------- */
    header {
        background-color: transparent;
        position: absolute;
        top: 0;
        left: 0;
    }
    header .flex-box-sm {
        height: auto;
    }
    /* Logo ----------- */
    header .logo {
        background-color: black;
        height: 64px;
        z-index: 10;
    }
    header .logo img {
        height: 60px;
        margin: 2px 0px 2px 2px;
    }
    /* Menu-Button ----------- */
    header .menu .menu-button {
        display: block;
        position: absolute;
        top: 20px;
        right: 15px;
        height: 20px;
        cursor: pointer;
        z-index: 20;
    }
    
    /* Menu ----------- */
    header .menu {
        text-align: center;
    }
    header .menu nav {
        background-color: rgba(60, 60, 60, 0.98);
        padding: 10px 0;
        display: none;
        position: relative;
    }
    header .menu nav.open-menu {
        display: block;
        animation: open-menu 250ms ease-out 0s normal forwards;
    }
    header .menu nav.close-menu {
        display: block;
        animation: close-menu 250ms ease-out 0s normal forwards;
    }
    header .menu ul li, header .menu ul li:first-child {
        list-style: none;
        display: block;
        margin: 0;
        padding: 7px 0;
    }
    
    /* ####### BANNER & INHALT ####### */
    /* Banner ----------- */
    
    /* Banner ----------- */
    .banner {
        margin-top: 60px;
    }
    
    .b-index {
        background-image: url(../images/index_banner_small.png);
        background-repeat: no-repeat;
        background-size: cover;
    }

    .b-leistung {
        background-image: url(../images/leistung_banner_small.png);
        background-repeat: no-repeat;
        background-size: cover;
    }

    .b-qualitaet {
        background-image: url(../images/quality_banner_small.png);
        background-repeat: no-repeat;
        background-size: cover;
    }

    .b-kontakt {
        background-image: url(../images/contact_banner_small.png);
        background-repeat: no-repeat;
        background-size: 100%;
    }
    
    .b-recht {
        background-image: url(../images/IMG_PH_0027_Recht2.png);
        background-repeat: no-repeat;
        background-size: cover;
    }
    
    .b-daten {
        background-image: url(../images/datenschutz_banner_small.png);
        background-repeat: no-repeat;
        background-size: cover;
    }   
    
    
    /*Grauschleier über Banner-Bild
	.banner .overlay {
        background-image: linear-gradient(rgba(68, 68, 68, 0.25) 20%, rgba(227, 227, 227, 1) 100%);
    }*/
    
    .banner h1 {
        font-size: 40px;
        padding-top: 200px;
    }
    /* Inhalt ----------- */
    .inhalt .flex-box-sm {
        margin: -70px 10px 10px 10px;
        padding: 20px;
    }
    
    p {
    padding: 0 20px 20px 0;
    text-decoration: none;
    }

    
    /* ####### FOOTER ####### */
    footer .flex-box-sm {
        height: auto;
        padding: 10px 0;
        flex-direction: column-reverse;
    }
    footer .copyright, footer .rechtliches {
        text-align: center;
        margin-bottom: 5px;
    }
}
