* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box;
}

body {
    font-family: 'Source Sans Pro', sans-serif;
    line-height: 1.5;
    border-left: 1px solid  rgb(189, 22, 22);
    border-right: 1px solid  rgb(189, 22, 22);
}

h2 {
    font-weight: 400;
    font-size: 27px;
    margin: 0 0 10px 0;
    text-transform: uppercase;
}

h3 {
    font-size: 16px;
}

a {
    text-decoration: none;
    color:#222;
}

/* main-header-container */

.main-header-container {
    background: rgba(219, 204, 178, 0.767);
    border-top: 1px solid  rgb(189, 22, 22);
}

.main-header,
.intro-content,
.columns,
.legal,
.content-header,
.content,
.about,
.text2,
.image,
.kontakt-text,
.formular,
.imp-header-container,
.imp-para,
.imp-initialien,
.imp-text,
.link {
    max-width: 960px;
    padding: 20px;
    margin: 0 auto;
}

.main-header .logo {
    float: left;
}

.main-header nav {
    float: right;
    padding-top: 40px;
}

.main-header ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-header li {
    float: left;
}

.main-header nav a {
    display: block;
    padding: 10px 20px;
    text-transform: uppercase;
    font-size: 15px;
    font-weight: 400;
    color: #222;
    border-bottom: 1px solid transparent;
    -webkit-transition: all .5s ease;
    -moz-transition: all .5s ease;
    -o-transition: all .5s ease;
    transition: all .5s ease;
}

.main-header nav a:hover,
.main-header nav .current a {
    font-weight: 700;
    border-color: rgb(189, 22, 22);
}

/* main-header-container ende */

/* intro-container */

.intro-container {
    background: transparent url(../Bild\ 2.jpg) bottom center no-repeat;
    height: 594px;
    background-size: cover;
    border-top: 1px solid  rgb(189, 22, 22);
}

.intro-content-container {
    background: rgba(219, 204, 178, 0.767);
    padding: 40px 0;
    border-top: 1px solid  rgb(189, 22, 22);
}

.intro-text,
.intro-aside {
    float: left;
    padding: 0 20px;
    text-align: center;
}

.intro-text {
    width: 50%;
    border-right: 1px solid rgb(189, 22, 22);
}

.intro-aside {
    width: 50%;
}

.intro-aside h3,
.intro-aside p {
    margin: 0;
}

/* intro-container ende*/

/* Über uns */

.main-about-container {
    background: rgba(219, 204, 178, 0.767);
    
}

.about-header-container {
    background: #fff;
    padding: 20px 0;
    border-top: 1px solid  rgb(189, 22, 22);
    border-bottom: 1px solid  rgb(189, 22, 22);
    text-transform: uppercase;
    text-align: center;
}

.about {
    padding: 40px 40px;
    text-align: center;
}

/* columns-container */

.columns-container {
    background: rgba(219, 204, 178, 0.767);
    padding: 40px 0;
    border-top: 1px solid  rgb(189, 22, 22);
}

.columns article {
    float: left;
    width: 50%;
    padding: 0 20px;
    text-align: center;
    border-left: 1px solid rgb(189, 22, 22);
}

.columns article:first-child {
    border: none;
}

.columns-article .bottun {
    display: block;
}

/* columns-container ende */

/* footer */

.main-footer {
    background: rgba(145, 132, 111, 0.767);
    border-top: 1px solid  rgb(189, 22, 22);
    border-bottom: 1px solid  rgb(189, 22, 22);
}

.legal-container {
    max-width: 960px;
    padding: 20px;
    margin: 0 auto;
    text-align: center;
}

.legal {
    text-transform: uppercase;
    text-align: center;
    font-size: 15px;
}

.legal a {
    border-bottom: 1px solid transparent;
    -webkit-transition: all .5s ease;
    -moz-transition: all .5s ease;
    -o-transition: all .5s ease;
    transition: all .5s ease;
}

.legal a:hover {
    border-bottom: 1px solid rgb(189, 22, 22);
}

/* footer ende */

/* Referenzen */

.main-content-container {
    background: rgba(219, 204, 178, 0.767); 
}

.content-header-container {
    background: white;
    border-top: 1px solid  rgb(189, 22, 22);
}

.content-header-container {
    text-transform: uppercase;
}

.content-container {
    text-transform: uppercase;
}

.content-header,
.content {
    text-align: center;
}

.content-image-container {
    background: rgba(219, 204, 178, 0.767);
    border-top: 1px solid  rgb(189, 22, 22);
}

.text h3,
.text2 h3 {
    font-size: 25px;
}

.text,
.text2 {
    text-transform: uppercase;
    text-align: center;
    color: #222;
}

.overlay h3 {
    font-size: 30px;
    text-transform: uppercase;
}

.image article {
    width: 50%;
    float: left;
    overflow: hidden;
}

.image article a {
    position: relative;
    display: block;
    color: #fff;
}

.image article a:hover .overlay {
    opacity: 1;
    top: 0px;
}

.imannstudio-container {
    
    background: rgba(219, 204, 178, 0.767);
}

.imannstudi-text a {
    color: #222; 
}

.imannstudio-text h4 {
    display: inline;
    text-align: left;
}

.imannstudio-text {
    text-align: left;
}

.image article .overlay {
    position: absolute;
    top: 100%;
    left: 0px;
    background: rgba(0,0,0,.7);
    width: 100%;
    height: 100%;
    text-align: center;
    padding-top: 135px;
    opacity: 0;
    -webkit-transition: all .5s ease;
    -moz-transition: all .5s ease;
    -o-transition: all .5s ease;
    transition: all .5s ease;
}

.image article img {
    width: 100%;
    height: auto;
    vertical-align: middle;
}

/* Referenzen ende */

/* Impressum */

.main-imp-container {
    border-top: 1px solid  rgb(189, 22, 22);
}

.imp-content-container {
    background: rgba(219, 204, 178, 0.767);
    padding: 40px 0;
    border-top: 1px solid  rgb(189, 22, 22);
    text-transform: uppercase;
}

.imp-header,
.imp-para,
.imp-kontakt,
.imp-text,
.link {
    text-align: center;
}

.imp-header h1,
.imp-kontakt article {
    text-transform: uppercase;
}

.imp-para {
    padding-top: 0;
}

.imp-para h2 {
    font-size: 22px;
}

.imp-initialien article {
    float: left;
    width: 50%;
    padding: 0 20px;
    text-align: center;
}

.imp-kontakt-container {
    background: rgba(219, 204, 178, 0.767);
    padding-bottom: 20px;
}

.imp-kontakt h3 {
    padding-top: 0;
    margin-top: 0;
}

.imp-text-content {
    background: rgba(219, 204, 178, 0.767);
    border-top: 1px solid  rgb(189, 22, 22);
    text-transform: uppercase;
}

.link {
    padding-top: 0;
}

.link p {
    border-bottom: 1px solid transparent;
    -webkit-transition: all .5s ease;
    -moz-transition: all .5s ease;
    -o-transition: all .5s ease;
    transition: all .5s ease;
}

.link p:hover {
    width: 100%;
    font-weight: 700;
    border-bottom: 1px solid rgb(189, 22, 22);
}

/* Impressum ende */

/* Kontakt */

.main-kontakt-container {
    background: rgba(219, 204, 178, 0.767);
    border-bottom: 1px solid  rgb(189, 22, 22);
}

.content-header-container {
    border-bottom: 1px solid  rgb(189, 22, 22); 
}

.ko-text {
    font-size: 27px;
}

.kontakt-header,
.ko-text {
    text-align: center;
    text-transform: uppercase;
}

.form-container {
    background: rgba(219, 204, 178, 0.767);
    text-align: center;
}

body, html {
    margin: 0;
    width: 100%;
    height: 100%;
    background-size: cover;

}

.formular input::-webkit-input-placeholder, input, #ud_send {
    -webkit-transition: all 300ms ease-in-out;
    -moz-transition: all 300ms ease-in-out;
    -o-transition: all 300ms ease-in-out;
    transition: all 300ms ease-in-out;
}

.formular {
    width: 400px;
    height: auto;
    top: 50%;
    left: 50%;
    background: transparent;
    border: rgb(189, 22, 22);
}

.formular input {
    font-size: 14px;
    text-align: center;
    text-transform: uppercase;
    margin: 10% 10% 0 10%;
    width: 80%;
    padding: 5%;
    display: block;
    border: none;
    border-bottom: 1px solid #222;
    background: -webkit-linear-gradient(top, rgba(255, 255, 255, 0) 99%, rgb(189, 22, 22) 1%);
    background: -moz-linear-gradient(top, rgba(255, 255, 255, 0) 99%, rgb(189, 22, 22) 1%);
    background: -o-linear-gradient(top, rgba(255, 255, 255, 0) 99%, rgb(189, 22, 22) 1%);
    background: linear-gradient(top, rgba(255, 255, 255, 0) 99%, rgb(189, 22, 22) 1%);
    background: -webkit-linear-gradient(bottom, rgba(255, 255, 255, 0) 99%, rgb(189, 22, 22) 1%);
    background: -moz-linear-gradient(bottom, rgba(255, 255, 255, 0) 99%, rgb(189, 22, 22) 1%);
    background: -o-linear-gradient(bottom, rgba(255, 255, 255, 0) 99%, rgb(189, 22, 22) 1%);
    background: linear-gradient(bottom, rgba(255, 255, 255, 0) 99%, rgb(189, 22, 22) 1%);
    background-size: 0 100%;
    background-repeat: no-repeat;
    color: #222;
}

.formular input:focus {
    outline: none;
    background-size: 100% 100%;
}

.formular input:focus::-webkit-input-placeholder {
    font-size: 11px;
    -webkit-transform: translateY(-18px);
    transform: translateY(-18px);
    visibility: visible !important;
}

.formular input:focus:valid::-webkit-input-placeholder, input:valid {
    color: #14DC19;
    border-color: #14DC19;
}

.formular input:focus:invalid::-webkit-input-placeholder, input:focus:invalid {
    color: rgb(189, 22, 22);
    border-color: rgb(189, 22, 22);
}

#ud_send {
    border: rgb(189, 22, 22);
    color: #222;
    width: 80%;
    margin: 5% 10% 10% 10%;
    cursor: pointer;
    border: 1px solid rgb(189, 22, 22);
}

#ud_send:hover {
    background: rgba(145, 132, 111, 0.767);
    color: rgb(189, 22, 22);;
    border: 1px solid rgb(189, 22, 22);
}

textarea {
    text-align: center;
    text-transform: uppercase;
    margin-top: 40px;
    border: 1px solid rgb(189, 22, 22);
}

.formular p {
    font-size: 10px;
    padding-bottom: 0;
}

/* Kontakt ende */

/* Button */

.button {
    display: inline-block;
    padding: 10px 20px;
    text-transform: uppercase;
    border: 1px solid rgb(189, 22, 22);
    -webkit-transition: all .5s ease;
    -moz-transition: all .5s ease;
    -o-transition: all .5s ease;
    transition: all .5s ease;
}

.button:hover {
    background: rgb(189, 22, 22);
    color: #222;
}

.btn-dark {
    border-color: rgb(189, 22, 22);
    color: #222;
    -webkit-transition: all .5s ease;
    -moz-transition: all .5s ease;
    -o-transition: all .5s ease;
    transition: all .5s ease;
}

.btn-dark:hover {
    background: rgba(145, 132, 111, 0.767);
    color: rgb(189, 22, 22);
}

.btn light {
    color: #fff;
}

/* Clearfix */

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

/* Mediqueries */

@media screen and (max-width: 958px){
    .main-header .logo,
    .main-header nav,
    .main-header li {
        float: none;
    }

    .main-header nav {
        padding-top: 10px;
    }

    .main-header {
        text-align: center;
    }

    .main-header li {
        display: inline-block;
    }
}

@media screen and (max-width: 700px){
    .intro-container {
        height: 200px;
    }

    .intro-text,
    .intro-aside {
        width: 100%;
        border: none;
        padding: 30px;
        margin: 30px;
    }

    .image article {
        width: 100%;
    }
}