.container {
  display: grid;
  grid-column-gap: 0;
  grid-row-gap: 0;
  height: 100%;
  margin: auto;
  padding: 0;
  width: 100%;
  max-width: 1380px;
}

.column--1 {
  grid-column: span 1;
}

.column--12 {
  grid-column: 1/-1;
}

h1 {
  font-size: 1.5em;
  color: #00609c;
  font-weight: 400;
  line-height: 1.875rem;
  padding-bottom: 1.875rem;
  text-align: center;
}

h2 {
  font-size: 1.125rem;
  color: #545454;
  font-weight: bold;
  line-height: 2.125rem;
  text-align: center;
}

p {
  font-size: 1.125rem;
  line-height: 1.5625rem;
  padding-bottom: 1em;
  text-align: center;
}

ul,
ol {
  font-size: 1.125rem;
  line-height: 2.125rem;
  list-style-type: none;
  margin: 0.25rem auto 2.125rem;
  text-align: center;
}
ul:last-of-type,
ol:last-of-type {
  margin-bottom: 0;
}

header {
  position: fixed;
  background: #fff;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1);
  height: 90px;
  width: 100%;
  left: 0;
  margin-bottom: 20px;
  z-index: 3;
}

nav {
  width: 100%;
  max-width: 1380px;
  margin: 0 auto;
  z-index: 3;
}
nav:focus {
  outline: none;
}

.menu--trigger {
  clip: rect(0, 0, 0, 0);
  left: 0;
  position: absolute;
  top: 0;
}

.menu--icon {
  display: none;
}

.logo {
  float: left;
  margin: 21px 0 0 30px;
}
.logo a:hover {
  text-decoration: none;
  box-shadow: none;
}

.menu {
  float: right;
  list-style-type: none;
  margin: 30px 30px 0 0;
}
.menu li {
  display: inline-block;
  margin-left: 50px;
}
.menu a {
  font-size: 1.125rem;
  text-decoration: none;
}
.menu a:link {
  color: #00609c;
}

@media only screen and (max-width : 1023px) {
  header {
    width: 100vw;
    height: 60px;
  }
  nav {
    position: relative;
    z-index: 4;
  }
  .logo {
    position: relative;
    display: block;
    width: 80vw;
    margin: 10px 0 0 10px;
    height: 30px;
    z-index: 5;
  }
  .logo picture img {
    width: auto;
    height: 40px;
  }
  .menu--icon {
    display: block;
  }
  label[for=menu--trigger] {
    position: absolute;
    right: 20px;
    top: 21px;
    cursor: pointer;
    margin: auto;
    background: url(../images/BFK-Burger.svg);
    width: 22px;
    height: 22px;
    z-index: 2;
    transform: rotate(0deg);
    transition: 0.3s;
  }
  .menu--container {
    background: #fff;
    margin: 0;
    overflow-y: auto;
    position: fixed;
    top: -100%;
    transition: 0.3s;
    width: 100%;
    z-index: -2;
    left: 0;
    padding-bottom: 7.5px;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1);
  }
  .menu--container li {
    display: block;
    text-align: center;
    margin-left: 0;
  }
  .menu--trigger:visited ~ label[for=menu--trigger],
  .menu--trigger:focus ~ label[for=menu--trigger],
  .menu--trigger:focus {
    outline: 0;
  }
  .menu--trigger:checked ~ label[for=menu--trigger] {
    background: url(../images/BFK-Close.svg);
    transform: rotate(180deg);
    transition: 0.3s;
  }
  .menu--trigger:checked ~ .menu--container {
    top: 60px;
  }
  .dialog a:focus {
    opacity: 1;
  }
}
*,
*::before,
*::after {
  border: 0;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section,
summary {
  display: block;
}

html {
  font-size: 16px;
  height: 101%;
  margin: 0;
  padding: 0;
}

body {
  background: #f6f6f6;
  color: #545454;
  font-family: "Calibri", sans-serif;
  font-size: 100%;
}

a {
  font-size: 1.125rem;
  transition: 0.3s;
}
a:link {
  color: #00609c;
  text-decoration: none;
}
a:focus {
  outline: none;
}
a:hover {
  color: #016db0;
  box-shadow: 0 1px 0 0px #016db0;
}
a:visited {
  color: #666;
  outline: none;
}

main {
  display: inherit;
}

section {
  margin: 0 auto 30vh;
  position: relative;
  width: 100%;
  padding-top: 110px;
}
section:last-of-type {
  margin-bottom: 0;
}

article {
  background: #fff;
  box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.1);
  margin: -134px auto 0;
  padding: 40px;
  position: relative;
  width: 600px;
  z-index: 1;
}

.keyvisual {
  display: block;
  width: 100%;
  z-index: 0;
}
.keyvisual img {
  width: 100%;
}

.content p:last-of-type {
  padding-bottom: 0;
}
.content .next {
  display: block;
  margin: 40px auto 0;
  text-align: center;
  width: 100%;
}
.content .next:hover {
  box-shadow: none !important;
}

.team {
  text-align: center;
}
.team .keyvisual {
  margin-bottom: 16px;
}
.team .keyvisual img {
  width: 100%;
}
.team .members {
  position: relative;
  z-index: 1;
}
.team .member {
  display: inline-block;
}
.team .member h2 {
  color: #00609c;
}
.team .next {
  display: block;
  width: 100%;
  margin-top: 140px;
}
.team .next:hover {
  box-shadow: none !important;
}

.contact {
  margin-top: 30px;
}

.impressum {
  margin-top: 0;
}

main label[for=text],
main label[for=email],
main label[for=phone] {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}
main input,
main textarea {
  font-size: 1.125rem;
  border: 1px solid #d1d1d1;
  border-radius: 0;
  color: #545454;
  font-family: "Calibri", sans-serif;
  line-height: 1.5625rem;
  margin-bottom: 30px;
  padding: 0.625rem 1.25rem;
  vertical-align: top;
  width: 100%;
  resize: none;
}
main textarea {
  height: 200px;
}
main .checkbox input[type=checkbox] {
  opacity: 0;
  position: absolute;
}
main .checkbox label {
  display: inline-block;
  line-height: 30px;
  margin-bottom: 30px;
  padding-left: 50px;
  position: relative;
}
main .checkbox label::before, main .checkbox label::after {
  content: "";
  display: inline-block;
  position: absolute;
}
main .checkbox label::before {
  border: 1px solid #d1d1d1;
  border-radius: 2px;
  height: 30px;
  left: 0;
  width: 30px;
}
main .checkbox label::after {
  border-bottom: 3px solid #fff;
  border-left: 3px solid #fff;
  height: 12px;
  left: 6px;
  top: 6px;
  transform: rotate(-58deg);
  width: 18px;
}
main .checkbox input[type=checkbox] + label::after {
  content: none;
}
main .checkbox input[type=checkbox]:checked + label::after {
  content: "";
}
main .checkbox input[type=checkbox]:checked + label::before {
  background: #00609c;
  border: 1px solid #00609c;
}
main .checkbox input[type=checkbox]:focus + label::before {
  outline: rgb(59, 153, 252) auto 5px;
}
main input::-moz-placeholder, main textarea::-moz-placeholder {
  color: #9b9b9b;
}
main input::placeholder,
main textarea::placeholder {
  color: #9b9b9b;
}
main .honeypot {
  left: -9999px;
  position: absolute;
}
main button,
main input[type=submit] {
  font-size: 1.25rem;
  background: #00609c;
  border: 0;
  border-radius: 2px;
  color: #fff;
  display: block;
  font-family: "Calibri", sans-serif;
  line-height: 1.375rem;
  margin: 30px auto 0;
  padding: 0.625rem 1.875rem;
  width: auto;
  transition: 0.3s;
}
main button:hover,
main input[type=submit]:hover {
  background: #016db0;
}
main button:active,
main input[type=submit]:active {
  background: #01416a;
}
main input[type=submit] {
  margin-top: 0;
}
main .alert.error {
  display: block;
  color: red;
  margin-bottom: 10px;
}

/* fade image in after load */
.lazyload,
.lazyloading {
  opacity: 0.75;
}

.lazyloaded {
  opacity: 1;
  transition: opacity 1000ms cubic-bezier(0.75, 0, 1, 0);
}

.gallery {
  display: none;
}

footer {
  margin: 100px 0;
  padding-left: 30px;
  position: relative;
  width: 100%;
}

@media only screen and (max-width : 1023px) {
  section {
    padding-top: 60px;
    margin-bottom: 25vh;
  }
  main {
    margin-top: 0;
  }
  .content > article,
  .team > article {
    width: auto;
    margin: -80px 10px 0;
    padding: 20px 10px;
  }
  .member {
    margin-top: 50px;
    width: 100%;
    padding: 0 10px;
  }
  .team .next {
    margin-top: 50px;
  }
  footer {
    padding-left: 20px;
    margin-bottom: 50px;
  }
  .content > article.impressum {
    margin-top: 10px;
  }
}
@media only screen and (min-width : 695px) and (max-width : 1023px) {
  .member {
    margin-top: 100px;
    width: 49.5vw;
  }
}
@media only screen and (min-width : 1024px) {
  .member {
    margin-top: 100px;
    width: 33%;
  }
}
