* {
    box-sizing: border-box
}

body {
    background-color: #89867e;
    margin: 0;
    font-family: Open Sans, Arial, sans-serif;
    font-size: 14px;
    border-top: 30px solid #834200
}

a, body {
    color: #444
}

a:hover {
    color: #111
}

.container {
    width: 1210px;
    max-width: 100%;
    margin: auto;
    background-color: #e1e1e1;
    padding: 0 100px;
    border-top: 30px solid #d76f00;
    margin-top: -30px
}

@media only screen and (max-width: 1085px) {
    .container {
        border-top: 0;
        margin-top: 0
    }
}

@media only screen and (max-width: 700px) {
    .container {
        padding: 0 20px
    }
}

@media only screen and (min-width: 701px) and (max-width: 1085px) {
    .container {
        padding: 0 40px
    }
}

.content {
/*
    min-height: 500px;
*/
    margin-bottom: 1em
}

@media only screen and (max-width: 700px) {
    .content {
        /*
        min-height: 250px;
        */
        padding: 0 16px;
        margin-bottom: 1em
    }
}

i {
    display: inline-block;
    font-style: normal;
    position: relative
}

i.arrow {
    top: 0;
    width: .6em;
    height: .6em;
    border-left: .1em solid #444;
    border-bottom: .1em solid #444;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg)
}

.project--description:after, .project--description:before, .referenzen h2:after, .referenzen h2:before, footer:after, footer:before {
    content: "";
    display: block;
    height: .75em;
    background-image: -webkit-linear-gradient(left, #777 2px, transparent 0);
    background-image: linear-gradient(90deg, #777 2px, transparent 0);
    background-size: 5px 2px;
    background-repeat: repeat-x
}

.project--description:after, .referenzen h2:after, footer:after {
    background-position: bottom;
}

.project--description:before, .referenzen h2:before, footer:before {
    background-position: top
}

/*
footer:after {
    background: none
}
*/

dt {
    display: inline-block;
    width: 120px;
    position: relative;
    vertical-align: top
}

dt:after {
    content: "|";
    position: absolute;
    right: 0
}

dd {
    display: inline-block;
    width: calc(100% - 124px);
    margin: 0;
    padding-left: 1.5em
}

span.at {
    color: #d76f00
}

header {
    position: relative;
    height: 50px;
    margin-bottom: 80px
}

header h1 {
    font-family: Muli, Arial, sans-serif;
    font-weight: 300;
    font-size: 30px;
    line-height: 30px;
    text-transform: uppercase;
    display: inline-block;
    position: absolute;
    right: 0;
    bottom: 0;
    margin: 0
}

header h1 a {
    color: #444;
    text-decoration: none
}

@media only screen and (max-width: 1085px) {
    header h1 {
        display: block;
        width: 100%;
        text-align: center;
        top: 70px
    }
}

@media only screen and (max-width: 700px) {
    header h1 {
        font-size: 28px;
        top: 50px;
        line-height: 1.2
    }
}

@media only screen and (max-width: 700px) {
    header {
        margin-bottom: 100px
    }
}

header .active-nav-indicator {
    display: none;
    width: 10px;
    height: 32px;
    position: absolute;
    top: -30px;
    left: 0;
    background-color: #e1e1e1;
    z-index: 50
}

header .active-nav-indicator.visible {
    display: block
}

header .active-nav-indicator.animated {
    -webkit-transition: left .7s;
    transition: left .7s
}

@media only screen and (min-width: 701px) and (max-width: 1085px) {
    header .active-nav-indicator {
        margin-left: -25px
    }
}

@media only screen and (max-width: 700px) {
    header .active-nav-indicator {
        margin-left: -15px;
        z-index: 100;
        position: fixed;
        top: 0
    }
}

nav {
    position: absolute;
    bottom: 0;
    left: -1em
}

nav, nav ul {
    display: inline-block
}

nav ul {
    margin: 0;
    padding: 0
}

nav li {
    display: inline-block
}

nav li a {
    color: #444;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: .05em;
    padding: 1em
}

@media only screen and (max-width: 1085px) {
    nav {
        display: block;
        width: 100%;
        text-align: center;
        bottom: 11px;
        width: calc(100% + 80px);
        left: -40px;
        padding: 10px 0;
        box-shadow: 0 0 10px -2px rgba(0, 0, 0, .5);
        border-top: 30px solid #d76f00;
        margin-top: -30px
    }
}

@media only screen and (max-width: 700px) {
    nav {
        font-size: 90%;
        bottom: 12px;
        width: calc(100% + 40px);
        position: fixed;
        top: 30px;
        z-index: 50;
        bottom: auto;
        left: -20px;
        background-color: #e1e1e1
    }

    nav li a {
        padding: 1em .33em
    }
}

.grid-item {
    display: inline-block;
    margin-right: 10px;
    margin-bottom: 12px;
    vertical-align: top
}

.grid-item.align-bottom {
    vertical-align: bottom
}

.grid-3 .grid-item {
    width: calc(33% - 8px)
}

.grid-3 .grid-item:nth-child(3n) {
    margin-right: 0
}

@media only screen and (max-width: 700px) {
    .grid-3 .grid-item {
        width: 100%
    }

    .grid-3 .grid-item:nth-child(3n) {
        margin-right: 0
    }
}

.grid-2 .grid-item {
    width: calc(50% - 8px)
}

.grid-2 .grid-item:nth-child(2n) {
    margin-right: 0
}

@media only screen and (max-width: 700px) {
    .grid-2 .grid-item {
        width: 100%;
        margin-right: 0
    }
}

.grid-4 .grid-item {
    width: calc(25% - 12px)
}

.grid-4 .grid-item:nth-child(4n) {
    margin-right: 0
}

@media only screen and (max-width: 700px) {
    .grid-4 .grid-item {
        width: 100%;
        margin-right: 0
    }
}

.projects--item {
    position: relative;
    margin-bottom: 15px
}

.projects--item img {
    width: calc(100% + .49px);
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    margin-bottom: -5px;
    -webkit-transition: opacity .3s ease-in-out;
    transition: opacity .3s ease-in-out
}

.projects--index.loaded .projects--item {
    background-color: #ccc
}

.projects--index.loaded .projects--item:hover img {
    opacity: .6
}

.projects--index.loaded .projects--item:hover .projects--hover-title {
    opacity: 1
}

@media only screen and (max-width: 700px) {
    .projects--index.loaded .projects--item img {
        opacity: .6
    }

    .projects--index.loaded .projects--item .projects--hover-title {
        opacity: 1;
        color: #fff
    }
}

.projects--hover-title {
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 0;
    text-align: center;
    width: 100%;
    height: 3em;
    margin-top: -1.5em;
    vertical-align: middle;
    text-transform: uppercase;
    -webkit-transition: opacity .3s ease-in-out;
    transition: opacity .3s ease-in-out;
    color: #fff;
    letter-spacing: .05em;
    font-size: .85rem;
    text-shadow: 0 0 15px rgba(0, 0, 0, .4)
}

.project--description {
    display: inline-block;
    padding: 0;
    width: calc(100% - 100px)
}

.project--description:after, .project--description:before {
    height: 2em
}

.project--description h4 {
    margin: 0;
    font-weight: 400;
    text-transform: uppercase
}

.project--description p {
    margin: 0
}

@media only screen and (max-width: 700px) {
    .project--description {
        width: 100%
    }
}

.project--images a {
    float: left;
    margin-right: -4px;
    vertical-align: top;
    -webkit-transition: opacity .25s;
    transition: opacity .25s;
    margin-bottom: 2px
}

.project--images a.landscape {
    width: 100%
}

.project--images a.portrait {
    width: calc(50% - 4px);
    margin-right: 6px
}

.project--images a.portrait.right {
    margin-right: 0
}

.project--images a img {
    width: 100%
}

.project--images a:hover {
    opacity: .8
}

.project--back-link {
    margin-top: 2.5em
}

.project--back-link a {
    text-decoration: none;
    font-style: italic
}

#imagelightbox-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: hsla(0, 0%, 100%, .8)
}

.imagelightbox-arrow {
    background-color: transparent;
    border: none;
    outline: none
}

.imagelightbox-arrow:before {
    border-width: 2em;
    border-left-color: #bbb;
    border-right-color: #bbb
}

.imagelightbox-arrow:active, .imagelightbox-arrow:focus, .imagelightbox-arrow:hover {
    background-color: transparent
}

.imagelightbox-arrow:hover:before {
    border-left-color: #ccc;
    border-right-color: #ccc
}

.referenzen h2 {
    padding: .5rem 0;
    font-size: .95rem;
    text-transform: uppercase;
    font-weight: 400
}

/* .referenzen--image {
    border-radius: 50;
} */

.referenzen--item {
    margin: 2em 0;
    position: relative
}

.referenzen--item dl,
.referenzen--item h3,
.referenzen--item img,
.referenzen--image {
    display: inline-block;
    vertical-align: middle
}

.referenzen--item img,
.referenzen--image {
    width: 90px;
    position: absolute;
    top: .5em
}

@media only screen and (max-width: 700px) {
    .referenzen--item img,
    .referenzen--image  {
        width: 90px;
        position: relative;
        float: left;
        margin-right: 2em;
        margin-top: -.5em
    }
}

.referenzen--item h3 {
    font-weight: 400;
    text-transform: uppercase;
    font-size: .9rem;
    width: 20%;
    margin-left: 120px;
    margin-right: 4em
}

@media only screen and (max-width: 700px) {
    .referenzen--item h3 {
        width: 100%;
        margin: 0;
        float: left;
        display: inline-block
    }

    .referenzen--item a + h3,
    .referenzen--item .referenzen--image + h3 {
        height: 100px;
        line-height: 100px;
        width: calc(100% - 130px);
        margin-top: -.5em
    }

    .referenzen--item a + h3 span,
    .referenzen--item .referenzen--image + h3 span {
        display: inline-block;
        vertical-align: middle;
        line-height: 1.5
    }
}

.referenzen--item dl {
    width: 50%
}

@media only screen and (max-width: 700px) {
    .referenzen--item dl {
        margin-top: 1.5em;
        width: 100%
    }
}

.buero {
    margin-top: 8.5em
}

.buero--contact .buero--contact-image {
    width: 185px;
    max-width: 100%
}

@media only screen and (max-width: 700px) {
    .buero--contact .buero--contact-image {
        width: 100%
    }
}

.buero--contact h3 {
    font-size: 1.15em;
    color: #d76f00;
    margin-bottom: 0
}

@media only screen and (max-width: 700px) {
    .buero--contact h3 {
        margin-top: .5em
    }
}

.buero--contact p {
    margin: 0 0 .5em
}

.buero--contact p.small {
    font-size: 85%;
    margin: 0
}

@media only screen and (max-width: 700px) {
    .buero--contact {
        margin-bottom: 2em
    }

    .buero--contact p {
        margin: 0
    }
}

.kontakt--item img {
    max-width: 100%
}

.kontakt--item address {
    display: inline-block;
    vertical-align: bottom;
    float: right;
    text-align: right;
    font-style: normal;
    padding-right: 4em
}

.kontakt--item address h2 {
    color: #d76f00;
    font-size: 1.25em;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 1.5rem;
    margin-top: 0
}

.kontakt--item address p {
    margin-bottom: .5rem
}

.kontakt--item address p:first-child {
    margin-top: 0;
    margin-bottom: .15em
}

.kontakt--item address p.back-off {
    margin-top: 2em;
    line-height: 2
}

@media only screen and (max-width: 700px) {
    .kontakt--item address {
        padding-right: 0
    }
}

.kontakt--item.indented {
    position: relative;
    display: inline-block;
    width: 60%;
    left: 34%;
    margin-top: -80px
}

@media only screen and (min-width: 701px) and (max-width: 1085px) {
    .kontakt--item.indented {
        margin-top: -220px
    }
}

@media only screen and (max-width: 700px) {
    .kontakt--item.indented {
        position: static;
        margin-top: 0;
        width: 100%
    }
}

.kontakt--item.indented h3 {
    color: #444;
    font-weight: 300;
    margin-top: 2em;
    margin-bottom: .5em;
    font-size: 1rem
}

.kontakt--item.indented p {
    margin-top: 0;
    font-size: 90%
}

@media only screen and (max-width: 700px) {
    .kontakt .grid-item.kontakt--item {
        width: 100%;
        margin: 1em 0
    }

    .kontakt .grid-item.kontakt--item:first-child {
        margin-top: 0
    }

    .kontakt .grid-item.kontakt--item address {
        font-size: 95%
    }
}

footer {
    padding: 10em 0 6em;
    text-transform: uppercase;
}

footer:before {
    height: .2em;
    position: relative;
    top: 5px;
    left: -2px
}

footer ul {
    float:left;
    width: 90%;
    padding: 0;
    margin: 0 0 0 -.75em
}

@media only screen and (max-width: 700px) {
    footer ul {
        margin-top: 1em
    }
}

footer ul li {
    display: inline-block;
}

footer ul li:not(:last-child):after {
    content: "//";
    margin-left: 5px
}

footer ul li a {
    display:inline-block;
    text-decoration: none;
    padding: .75em;
    font-size: 1.05em
}

@media only screen and (max-width: 700px) {
    footer ul li {
        width: 100%;
        text-align: center
    }

    footer ul li a {
        padding: .3em
    }

    footer ul li:after {
        display: none
    }
}
/*
@media only screen and (max-width: 700px) {
    footer {
        padding-bottom: .5em
    }
}
*/

footer .FB-Link {
    float: right;
    margin-top: 1em;
}

.clearfix:after {
    content: "";
    display: inline-block;
    clear: both;
}