@charset 'utf-8';
@import url(reset.css);

@font-face {
font-family: 'Fira Sans';
src: url('../fonts/FiraSans-Book.woff') format('woff');
font-weight: normal;
font-style: normal;
}

@font-face {
font-family: 'Fira Sans';
src: url('../fonts/FiraSans-BookItalic.woff') format('woff');
font-weight: normal;
font-style: italic;
}

@font-face {
font-family: 'Fira Sans';
src: url('../fonts/FiraSans-Bold.woff') format('woff');
font-weight: bold;
font-style: normal;
}

body {
position: relative;
font-family: 'Fira Sans';
font-size: 14px;
line-height: 22px;
color: rgb(70,80,90);
-webkit-font-smoothing: subpixel-antialiased;
-moz-osx-font-smoothing: grayscale;
-webkit-text-size-adjust: none;
-moz-font-feature-settings: "liga=1, onum";
-ms-font-feature-settings: "liga", "onum";
-webkit-font-feature-settings: "liga", "onum";
font-feature-settings: "liga", "onum";
padding: 0 0 256px 0;
}

a {
color: rgb(70,80,90);
}

a,
ul.projekte li a div {
-webkit-transition: all 250ms ease-in;
-moz-transition: all 250ms ease-in;
transition: all 250ms ease-in;
}

::selection {
background: rgb(231,233,250);
color: white;
}

::-moz-selection {
background: rgb(231,233,250);
color: white;
}

img {
-moz-user-select: text;
-webkit-user-select: text;
user-select: text;
-moz-user-drag: none;
-webkit-user-drag: none;
user-drag: none;
}

.klar {
clear: both;
}

section.text div.text {
margin: 0 0 64px 0;
}

div#kontakt {
padding-top: 160px;
max-width: 720px;
margin-left: auto;
margin-right: auto;
}

div.projekt {
margin: 40px 0;
}

div.text.projekt > div {
display: inline-block;
vertical-align: top;
}

div.text.projekt > div.drittel {
padding: 0 16px 0 0;
}

ul.galerie {
margin: 0 -10px 150px 0; 
}

ul.galerie li {
display: inline-block;
vertical-align: top;
line-height: 0;
margin: 0 10px 10px 0;
}

ul.galerie li img.raster-1 {width: 145px;}
ul.galerie li img.raster-2 {width: 300px;}
ul.galerie li img.raster-3 {width: 455px;}
ul.galerie li img.raster-4 {width: 610px;}
ul.galerie li img.raster-5 {width: 765px;}
ul.galerie li img.raster-6 {width: 920px;}

div.dreispalter {
-webkit-column-count: 3;
-moz-column-count: 3;
-ms-column-count: 3;
column-count: 3;
-webkit-column-gap: 20px;
-moz-column-gap: 20px;
-ms-column-gap: 20px;
column-gap: 20px;
}

div.zweispalter {
-webkit-column-count: 2;
-moz-column-count: 2;
-ms-column-count: 2;
column-count: 2;
-webkit-column-gap: 20px;
-moz-column-gap: 20px;
-ms-column-gap: 20px;
column-gap: 20px;
}

.drittel {
box-sizing: border-box;
width: 33.33%;
width: calc(100% / 3)
}

.zweidrittel {
box-sizing: border-box;
width: 66.66%;
width: calc(100% / 3 * 2)
}

div.mitte {
text-align: center;
}

div.mitte p strong {
font-weight: normal;
-moz-font-feature-settings: "c2sc", "smcp";
-ms-font-feature-settings: "c2sc", "smcp";
-webkit-font-feature-settings: "c2sc", "smcp";
font-feature-settings: "c2sc", "smcp";
letter-spacing: 1px;
}

/* Safari 6.1+ HÄCK */
@media screen and (min-color-index:0) and(-webkit-min-device-pixel-ratio:0) 
{ @media {
    div.mitte p strong {
    font-size: 12px;
    line-height: 16px;
    text-transform: uppercase;
    -webkit-text-stroke: 0.3px;
    }
}}

section.text h3 {
font-size: 12px;
line-height: 16px;
text-transform: uppercase;
letter-spacing: 2px;
margin: 16px 0;
color: rgb(140,165,225);
}

.text h2 {
font-size: 20px;
color: rgb(140,165,225);
margin: 32px 0 22px 0;
}

.text.projekt h2 {
/* color: rgb(110,115,135); */
color: rgb(140,165,225);
font-size: 14px;
margin: 0;
}

ul.kat li {
display: inline-block;
vertical-align: top;
}

ul.kat li:after {
content: ' · ​';
}

ul.kat li:last-child:after {
content: '';
}

div.text p {
margin: 0 0 22px 0;
}

div.text p.klein,
div.impressum p {
font-size: 12px;
line-height: 18px;
}

div.text p a {
color: rgb(140,165,225);
border-bottom: 1px solid transparent;
}

div.text p a:hover {
color: black;
border-bottom: 1px solid rgb(140,165,225);
}

/* 
div.text > ul > li {
margin: 0 0 12px 0;
padding-left: 12px;
text-indent: -12px;
}

div.text > ul > li:before {
content: '› ';
display: block;
float: left;
width: 12px;
color: black;
}
 */

header div,
section,
div.kopfgrafik img {
width: 920px;
margin: 0 auto;
}

section.detail {
margin-top: 64px;
}

header {
position: fixed;
top: 0;
height: 480px;
width: 100%;
/* background: rgb(231,233,250); */
z-index: 1;
}

header {
position: fixed;
top: 0;
height: 64px;
width: 100%;
background: white;
z-index: 999;
-webkit-transition: background 1000ms ease-in, box-shadow 1000ms ease-in;
-moz-transition: background 1000ms ease-in, box-shadow 1000ms ease-in;
transition: background 1000ms ease-in, box-shadow 1000ms ease-in;
}

/* iOS Hack */
@media only screen and (-webkit-min-device-pixel-ratio: 2) {
  .detail header,
  .scroll header,
  .start.scroll header {
  -webkit-transition: none;
  transition: none;
  }
}

header {
-webkit-box-shadow: 0px 0px 16px rgba(0,0,0,0.1);
-moz-box-shadow: 0px 0px 16px rgba(0,0,0,0.1);
box-shadow: 0px 0px 16px rgba(0,0,0,0.1);
}

section#projekte {
padding-top: 66px;
}

header div {
position: relative;
}

header h1,
header nav,
header nav ul li {
position: relative;
display: inline-block;
vertical-align: top;
}

header h1 {
margin: 32px 0 0 0;
float: left;
}

header h1 a {
position: relative;
color: rgb(220,150,100);
margin: 0 0 0 34px;
}

header h1 a:before {
content: '';
position: absolute;
top: -22px;
left: -38px;
display: block;
width: 36px;
height: 42px;
background-image: url('../img/vogel.svg');
background-repeat: no-repeat;
background-size: 100%;
}

header nav {
float: right;
}

header nav ul li {
margin: 32px 0 0 0;
text-transform: lowercase;
}

header.start nav ul {
margin: 62px 0 0 0;
}

.scroll header nav ul,
.start.scroll header nav ul {
margin: 0;
}

header nav ul li a {
border-bottom: 1px solid transparent;
position: relative;
z-index: 101;
}

header nav ul li a:hover {
border-bottom: 1px solid rgb(140,165,225);
}

/* Safari iOS Hack */
@media only screen and (-webkit-min-device-pixel-ratio: 2) {
  header nav ul li a:hover {
  border-bottom: 1px solid transparent;
  }
}

header nav ul li a:focus {
color: rgb(140,165,225);
border-bottom: 1px solid transparent;
}

header nav ul li a:active {
border-bottom: 1px solid transparent;
}

header nav ul li + li {
margin-left: 16px;
}

ul.projekte {
/* margin: -184px -10px -10px 0;  */
margin: 16px -10px -10px 0; 
}

.detail ul.projekte,
.detail.scroll header + section ul.projekte {
margin: 20px -10px -10px 0; 
}

ul.projekte li {
width: 300px;
display: inline-block;
vertical-align: top;
margin: 0 10px 10px 0;
z-index: 1;
}

ul.projekte li a {
position: relative;
display: block;
width: 100%;
height: 100%;
}

ul.projekte li a img {
display: block;
position: relative;
width: 100%;
z-index: 10;
}

ul.projekte li a div {
background: rgba(140,165,225,0.8);
width: 100%;
height: 100%;
padding: 12px;
box-sizing: border-box;
position: absolute;
top: 0;
left: 0;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-justify-content: center;
-ms-flex-pack: center;
justify-content: center;
-webkit-align-content: stretch;
-ms-flex-line-pack: stretch;
align-content: stretch;
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
text-align: center;
z-index: 50;
opacity: 0;
}

ul.projekte li a:hover div {
opacity: 1;
}

ul.projekte li a div p {
font-size: 20px;
line-height: 24px;
font-weight: bold;
text-transform: uppercase;
letter-spacing: 2px;
color: white;
display: block;
}

h3.weitere {
width: 100%;
text-align: center;
font-size: 12px;
text-transform: uppercase;
letter-spacing: 2px;
margin: 0;
}

div.bauch {
position: relative;
background: rgb(231,233,250);
margin: 60px 0 30px 0;
padding: 60px 0 0 0;
}

div.binde {
position: absolute;
top: 0;
background: white;
width: 100%;
height: 120px;
}

div.bauch section img {
position: relative;
}

div.bauch.impressum {
margin: 60px 0 0 0;
padding: 0;
text-align: center;
}

div.bauch.impressum div.text {
text-align: left;
}

div.bauch.impressum h3 {
font-size: 12px;
text-transform: uppercase;
letter-spacing: 2px;
margin: 0;
padding: 0 0 24px 0;
background: white;
}

div.bauch.impressum section {
padding: 40px 0;
}

div.bauch.impressum h4 {
font-size: 12px;
text-transform: uppercase;
letter-spacing: 2px;
break-after: avoid;
}

article.projekt img.kopf {
width: 100%;
}



/* ############# Screens unter 984px ############# */
@media only screen and (max-width: 983px) {

  header h1 a,
  .scroll header h1 a,
  .start.scroll header h1 a {
  left: 0;
  }

  header div,
  section {
  width: 610px;
  }
  
  div.kopfgrafik img,
  div.bauch section img,
  article.projekt > img {
  width: 100%;
  max-width: 100%;
  }

  ul.galerie li {
  max-width: 100%;
  }
  
  ul.galerie li img {
  height: auto;
  max-width: 100%;
  }

  div.zweispalter {
  -webkit-column-count: 1;
  -moz-column-count: 1;
  -ms-column-count: 1;
  column-count: 1;
  -webkit-column-gap: 0;
  -moz-column-gap: 0;
  -ms-column-gap: 0;
  column-gap: 0;
  }
  
  div.bauch#portrait {
  padding-top: 30px;
  }
  
  div.binde {
  height: 70px;
  }

}



/* ############# Screens unter 642px ############# */
@media only screen and (max-width: 641px) {

  header div,
  section {
  width: auto;
  margin: 0 32px;
  }
  
  ul.galerie {
  margin-right: 0;
  }

  div.dreispalter {
  -webkit-column-count: 2;
  -moz-column-count: 2;
  -ms-column-count: 2;
  column-count: 2;
  }

  div.binde {
  height: 11vw;
  }
  
  div.bauch.impressum section {
  padding: 32px 0;
  }
  
  div#kontakt {
  padding-top: 16px;
  }

}



/* ############# Screens unter 480px ############# */
@media only screen and (max-width: 479px) {
 
  header div,
  section {
  margin: 0 16px;
  }
  
  header nav ul li + li {
  margin-left: 8px;
  }
  
  .start header nav ul {
  margin: 0;
  }
  
  .drittel {
  width: auto;
  margin: 0 0 16px 0;
  }
  
  .zweidrittel {
  width: auto;
  }
  
  div.projekt {
  margin: 24px 0;
  }
  
  div.dreispalter {
  -webkit-column-count: 1;
  -moz-column-count: 1;
  -ms-column-count: 1;
  column-count: 1;
  -webkit-column-gap: 0;
  -moz-column-gap: 0;
  -ms-column-gap: 0;
  column-gap: 0;
  }

  div.binde {
  height: 13vw;
  }

}



/* ############# Screens unter 332px ############# */
@media only screen and (max-width: 332px) {

  body {
  -webkit-hyphens: auto;
  -moz-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
  }
  
  body h2 {
  -webkit-hyphens: manual;
  -moz-hyphens: manual;
  -ms-hyphens: manual;
  hyphens: manual;
  }

  ul.projekte,
  ul.projekte li,
  ul.projekte li a img {
  width: 100%;
  }
  
  header div,
  section {
  margin: 0 12px;
  }
  
  div#portrait.bauch {
  padding-top: 15px;
  }
  
  div.binde {
  height: 11.5vw;
  }
  
}