html, body, div, span, applet, object, iframe, hr, h1, h2, h3, p, ol, ul, li, dd, dt, dl,
blockquote, pre, fieldset, form, label, legend, table, caption, tbody, tfoot, thead,
tr, th, td, article, aside, canvas, details, embed, figure, figcaption,
footer, header, hgroup, menu, nav, output, section, summary, time, mark, audio, video, a, img, button {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    font: inherit;
    line-height: 1;
    vertical-align: baseline;
    background: none;
    -webkit-font-smoothing: antialiased;
}

p {
   -moz-hyphens: auto;
   -o-hyphens: auto;
   -webkit-hyphens: auto;
   -ms-hyphens: auto;
   hyphens: auto;
}

::selection {background:rgb(200,200,200);}
::-moz-selection {background:rgb(200,200,200);}

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

a, img, figcaption, .logo {
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

html {
  height: 100%;
  font-size: 62.5%;
  -webkit-text-size-adjust: none;
  -ms-text-size-adjust: none;
  background: #f8ecf4;
}

body {
  background: #fff;
  max-width: 1064px;
  margin: 0 auto;
}


/*MEDIAQUERY 0*/
/*#############################################################*/
h1 {
  display: none;
  font-family: "Raleway", Helvetica, Arial, sans-serif;
  color: #444;
  font-weight: 100; /*100*/
  line-height: 1.2em;
}

h2 {
  display: none;
}

/* eigentlich unwirksam, gedoppelt in mediaquerie 960px damit wirksam*/
h3 {
  text-align: center;
  padding: 0.5em 0; /**/
  font-family: "Raleway", Helvetica, Arial, sans-serif;
  color: #333;
  font-weight: 100;
  font-size: 4.9em; /*3em*/
  line-height: 1.24em;
}

h4 {
  text-align: center;
  padding-bottom: 1em;
  font-family: "Raleway", Helvetica, Arial, sans-serif;
  color: #333;
  font-weight: 200;
  font-size: 2.8em;
  line-height: 1.5em;
}

h5 {
  text-align: left;
  padding-bottom: .3em; /*.2em*/
  font-family: "Raleway", Helvetica, Arial, sans-serif;
  color: #333;
  font-weight: 200; /*100*/
  font-size: 3.6em; /*3em*/
  line-height: 1.24em;
}

h6 {
  padding-bottom: 1.5em;
  font-family: "Open Sans", Helvetica, Arial, sans-serif;
  color: #aa335e;
  font-weight: 300;
  font-size: 1.9em;
  line-height: 1.28em;
}

.teaser {
  float: initial;
  border: none;
  padding-left: 0em;
  width: 100%;
}

/*.teaser p {
  font-style: italic;
  font-size: 1.8em;
}*/

p {
  font-family: "Open Sans", Helvetica, Arial, sans-serif;
  color: #444;
  font-weight: 300;
  font-size: 1.8em; /*1.7em*/
  line-height: 1.5em; /*1.45em*/
  padding: 1.5em 0;
}

.maps {
  /*border: 1px solid #ff0;*/
  /*width: 20em;*/
  font-family: "Open Sans", Helvetica, Arial, sans-serif;
  color: #444;
  font-weight: 300;
  font-size: 1.2em;
  line-height: 1.45em;
  margin: .5em 1em .7em .5em;
}

.mapstitle {
  /*border: 1px solid #f0f;*/
  font-family: "Raleway", Helvetica, Arial, sans-serif;
  color: #444;
  font-weight: 100;
  font-size: 1.3em;
  line-height: 1.3em;
  padding-bottom: .4em;
}

p a {
  color: #aa335e;
}

p a:hover {
  color: #f8ecf4;
}

b {
  font-weight: 600;
}

header {
  /*border: 1px solid #f0f;*/
  padding: 2.5em 5em 1em 5em;
  text-align: center;
}

header a {
  text-decoration: none;
}

.title {
  /*border: 1px solid #00f;*/
  display: inline-block;
  vertical-align: top;
  max-width: 100%;
}

.logo {
  /*border: 1px solid #f0f;*/
  width: 100%;
  text-align: center;
  display: inline-block;
}

.logo:hover {
  opacity: .65;
}

nav {
  /*border: 1px solid;*/
  max-width: 1024px;
  margin: 0 auto;
}

nav ul {
text-align: center;
}

nav li {
  /*border: 1px solid #0f0;*/
  display: inline-block;
  list-style: none;
  width: auto; /*100%*/
  font-family: "Open Sans", Helvetica, Arial, sans-serif;
  font-weight: 300;
  font-size: 1.8em; /*1.6*/
  letter-spacing: .03em;
}

nav li a {
  /*border: 1px solid #ff0;*/
  display: inline-block;
  padding: .8em 0;
  text-decoration: none;
  width: auto;
  border-bottom: 4px solid #fff;
  color: #888;
}

nav li a:hover {
  color: #aa335e;
  width: auto;
  border-bottom: 4px solid #aa335e;
}

nav li a:active {
  color: #aa335e;
  width: auto;
  /*border-bottom: 4px solid #aa335e;*/
}

.content {
  /*border: 1px solid #0f0;*/
  overflow: hidden;
  max-width: 1024px;
  margin: 0 auto;
  padding: 10%;
}

.group {
  /*border: 1px solid #0f0;*/
  /*float: left;*/ /**/
  overflow: hidden;
  width: auto;
}

section {
  /*border: 1px solid #00f;*/
  /*min-height: 15em;*/
  margin-bottom: 4em;
}

.imagesection, .teammember {
  /*border: 1px solid #f00;*/
  padding: 0 .5em;
  text-align: center;
  width: 100%;
  height: auto;
  float: left;
  margin-bottom: 4em;
}

.imagebox {
  /*border: 1px solid #ff0;*/
  display: inline-block;
  max-width: 100%;
}

.imagecaption {
  /*border: 1px solid #ff0;*/
  padding: 1em 0;
}

.imagecaption h3 {
  text-align: right;
  padding-bottom: .3em;
  font-family: "Open Sans", Helvetica, Arial, sans-serif;
  color: #333;
  font-weight: 300;
  font-style: italic;
  font-size: 190%; /*2.9em*/
  line-height: 1.15em;
}

section ul {
  padding: 2.5em 0; /*kein plan warum 1.5em hier weniger abstand ist als bei p*/
}

section ul li {
  list-style: none;
  font-family: "Open Sans", Helvetica, Arial, sans-serif;
  font-weight: 300;
  font-size: 1.8em; /*1.7em*/
  line-height: 1.5em; /*1.45em*/
}

section ul a {
  color: #aa335e;
}

section ul a:hover {
   color: #f8ecf4;
}

footer {
  /*border-top: 1px solid #ccc;*/
  padding-bottom: 2em;
  text-align: right;
}

footer nav {
  /*border: 1px solid #f0f;*/
  padding: 0 5em;
}

footer nav ul {
  /*border: 1px solid #f00;*/
  width: 100%;
  text-align: right;
}

footer nav ul li {
  /*border: 1px solid #ff0;*/
  margin-left: 5%;
  width: auto;
  text-align: right;
}

footer nav ul li a {
  /*border: 1px solid #0f0;*/
  text-align: right;
}

footer #legalnotice {
    display: none;
}

figure {
  position: relative;
}

figure img {
  border: #f8ecf4 solid 3px;
  max-width: 100%;
  height: auto;
}

.anfahrt {
  max-width: 1064px;
}

/*################  UTILITIES ##################*/

.text-align-left {
  text-align: left;
}

.text-align-center {
  text-align: center;
}

/*utility to add extra space with a div*/
.null {
  padding: 4em 0;
}

#more-1, #more-2, #more-3, #more-4, #more-5, #more-6, #more-7, #more-8, #more-9 {
  cursor: pointer;
}

#moreinfo-1, #moreinfo-2, #moreinfo-3, #moreinfo-4, #moreinfo-5, #moreinfo-6, #moreinfo-7, #moreinfo-8, #moreinfo-9 {
  display: none;
}

.buttoncontainer {
  /*border: 1px solid #f0f;*/
  display: inline-block;
  width: 15em;
  /*cursor: pointer;*/
}

button {
  /*outline: 1px solid #00f;*/
  cursor: pointer;
  margin-top: -0.5em;
  margin-left: -0.5em;
}

.down {
  /*border: 1px solid #0f0;*/
  background:url(../images/triangle-down.svg) no-repeat;
  display: inline-block;
  height: 3em;
  width: 3.2em;
/*  width: 0px;
  height: 0px;
  border-style: solid;
  border-width: 08px 08px 0 08px;
  border-color: #aa335e transparent transparent transparent;
  opacity: 1;*/
}

.up {
  /*border: 1px solid #0f0;*/
  background:url(../images/triangle-up.svg) no-repeat;
  display: inline-block;
  height: 3em;
  width: 3.2em;
  /*float: left;
  margin: 0 0 1.5em -4em;
  display: inline-block;
  width: 0px;
  height: 0px;
  border-style: solid;
  border-width: 0 08px 08px 08px;
  border-color: transparent transparent #aa335e transparent;
  opacity: 1;*/
}

.downarrowbox {
  /*border: 1px solid #ff0;*/
  float: left;
  margin: 2.7em 0 0 4.5em;
  display: inline-block;
  width: 0px;
  height: 0px;
  border-style: solid;
  border-width: 08px 08px 0 08px;
  border-color: #aa335e transparent transparent transparent;
  opacity: 1;
}

.downarrowbox:hover {
  opacity: .6;
}

/*#############################  MEDIA QUERIES  ##################################*/
/*################################################################################*/
/*################################################################################*/
@media screen and (min-width: 0px) {

  nav li {
    padding: 4%; /**/
  }

  h3 {
    text-align: center;
    padding: 0.5em 0; /**/
    font-family: "Raleway", Helvetica, Arial, sans-serif;
    color: #333;
    font-weight: 200; /*100*/
    font-size: 3.6em;
    line-height: 1.24em;
  }
}

/*################################################################################*/
@media screen and (min-width: 480px) {

  nav li {
    padding: 1.6%; /**/
  }

  h3 {
    text-align: center;
    padding: 0.5em 0; /**/
    font-family: "Raleway", Helvetica, Arial, sans-serif;
    color: #333;
    font-weight: 100; /*100*/
    font-size: 4.9em;
    line-height: 1.24em;
  }
}

/*################################################################################*/
@media screen and (min-width: 620px) {

  header {
  padding: 4em 5em 3em 5em;
  }

  .logo {
    margin-bottom: 4em;
  }

  .title {
    width: 100%;
    text-align: center;
  }

  h1 {
  display: block;
  font-size: 4.9em;
  }

  h2 {
    padding-bottom: .4em;
    font-family: "Open Sans", Helvetica, Arial, sans-serif;
    color: #444;
    font-weight: 300;
    font-style: italic;
    font-size: 2em;
    line-height: 1.2em;
  }

  nav li {
    text-align: center;
    padding: 0; /**/
    width: 7em;
  }

  /*.indent-1 {
    margin-left: 0;
  }*/

  .indent-2 {
    margin-right: 2%;
  }

  .indent-3 {
    margin-right: 3%;
  }

  .indent-4 {
    margin-right: 1%;
  }

  .content {
    padding: 5em;
  }

  section {
    width: 50%;  /*33.33333*/
    float: left;
    border-left: 1px solid #aa335e;
    padding: 0 3em;
  }

  .imagesection, .teammember {
    width: 50%;
  }
}

/*################################################################################*/
@media screen and (min-width: 793px) {

  header {
    text-align: left;
/*  }
  .imagesection {
  width: 33.33333%;
  }*/
}

/*################################################################################*/
@media screen and (min-width: 820px) {

  h3 {
    margin:auto;
    max-width: 85%;
    text-align: center;
    padding: 0.5em 0; /**/
    font-family: "Raleway", Helvetica, Arial, sans-serif;
    color: #333;
    font-weight: 100; /*100*/
    font-size: 4.9em;
    line-height: 1.24em;
  }

  header {
    padding: 5em;
  }

  .logo {
    width: auto;
    margin: 0;
  }

  .title {
    width: auto;
    text-align: left;
    margin-left: 4em;
  }

  h2 {
  display: inline-block;
  }

  nav {
  padding-left: 5em;
  }

  nav ul {
  text-align: left;
  }

  nav li {
  margin-right: 3%;
  }

  .indent-3 {
    margin-right: 7%;
  }

  .indent-4 {
    margin-right: 5%;
  }

  nav li a {
  /*border: 1px solid #ff0;*/
  text-align: left;
  width: 8em;
  }

  nav li a:hover {
  width: 8em;
  }

  footer nav ul li {
  /*border: 1px solid #ff0;*/
  margin: 0;
  }
}


/*################################################################################*/
@media screen and (min-width: 960px) {

  section {
    width: 50%; /*33.33333*/
    border-left: 1px solid #aa335e;
    padding: 0 3em;
  }

  .imagesection {
    width: 33.33333%;
  }

  .teammember {
    width: 33.33333%;
  }

  .imagesection, .teammember {
    text-align: left;
    padding: 0;
    padding-right: 1em;
  }

  #sabrina {
    padding: 0;
    text-align: right;
  }

  #monika {
    padding: 0;
    text-align: center;
  }

  .kontakt {
    width: 50%;
    padding-right: 10%;
  }
}

/*################################################################################*/
/*################################################################################*/
/*################################################################################*/
/*Am Ende weil sonst Bugs.*/
.content {
  -webkit-animation: fadein 1.5s;
       -moz-animation: fadein 1.5s;
        -ms-animation: fadein 1.5s;
         -o-animation: fadein 1.5s;
            animation: fadein 1.5s;
}

@keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Firefox */
@-moz-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Safari and Chrome */
@-webkit-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Internet Explorer */
@-ms-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}​

/* Opera */
@-o-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}​
