/*
Theme Name: Fourreal 2.0
Author: Heinrich Fenkart
Version: 1.0
*/

* {
  box-sizing: border-box;
}

*:before,
*:after {
  box-sizing: border-box;
}

/**
 * Enable smooth scrolling on the whole document
 */
html {
	scroll-behavior: smooth;
}

/**
 * Disable smooth scrolling when users have prefers-reduced-motion enabled
 */
@media screen and (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}

body {
  font: 400 16px/1.5 'Neue Helvetica W01', 'Helvetica Neue', Helvetica, sans-serif;
  background-color: #fff;
  color: #000;
}

p {
  margin-top: 0;
}

a {
  text-decoration: none;
  color: inherit;
}

.hidden {
  display: none;
}

.c-white {
  color: #fff;
}

.icon {
  width: 100%;
  height: 100%;
  vertical-align: top;
  fill: #231f20;
}

.media {
  display: flex;
  flex-direction: column;
  margin-bottom: 50px;
}

.media:last-child {
  margin-bottom: 0;
}

.media-object {
  margin-bottom: 20px;
}

.media-object img {
  width: 100%;
  vertical-align: top;
}

.media-body {
  flex: 1;
}

.media-heading {
  margin: 0 0 .35em;
  line-height: 1;
}

/* Home / v2 */
h1, h2, h3 {
  font-family: 'Cera Pro', 'Neue Helvetica W01', Helvetica, sans-serif;
  font-weight: bold;
  text-transform: uppercase;
  line-height: 1.3;
  -webkit-hyphens: manual;
  -ms-hyphens: manual;
  hyphens: manual;
}

.masthead {
  font-size: 32px;
}

.masthead-lg {
  padding: 0;
  margin: 40px 0;
  font-size: 48px;
}

.masthead-light {
  color: #fff;
}

.site-box {
  padding: 20px 20px;
  background-color: rgba(255, 255, 255, 0.8);
}

.template-home {
  z-index: 15;
}

.template-imprint .site-box {
  position: relative;
  background-color: #fff;
  height: 70vh;
  overflow-y: hidden;
}

.imprint-state {
  display: none;
}

.imprint-expand,
.imprint-shrink {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding-bottom: 16px;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 30%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.5), transparent);
  color: #fff;
  cursor: pointer;
  text-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.imprint-expand:hover,
.imprint-shrink:hover,
.imprint-expand:focus,
.imprint-shrink:focus {
  text-decoration: underline;
}

.imprint-shrink {
  display: none;
  position: sticky;
  bottom: auto;
  height: auto;
  margin-top: -56px;
  padding: 16px 0;
  top: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), transparent);
  z-index: 10;
}

.imprint-state:checked ~ .site-box {
  overflow-y: visible;
  height: auto;
}

.imprint-state:checked ~ .site-box .imprint-expand {
  display: none;
}

.imprint-state:checked ~ .imprint-shrink {
  display: flex;
}

.site-box .masthead {
  margin-top: 0;
}

.site-logo {
  float: right;
  width: 130px;
  height: 121px;
  fill: #000;
}

.text-link {
  text-decoration: underline;
}

.container {
  width: 100%;
  -webkit-transition: 0.3s ease;
  transition: 0.3s ease;
  -webkit-transition-property: visibility, opacity;
  transition-property: visibility, opacity;
}

.container.out {
  opacity: 0;
  visibility: hidden;
}

/*.template-home,
.template-home.active {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
*/

.page-plane {
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  padding: 20px;
}

.home-intro {
  margin-top: 100px;
  font-size: 40px;
  color: #fff;
  text-align: center;
}

.home-logo {
  display: block;
  margin: 48px auto 16px;
  width: 166px;
  height: 156px;
  fill: #fff;
}

.template-contact .masthead-light {
  text-shadow:  0 0 80px rgba(0, 0, 0, 0.7);
}

.contact-box {
  padding: 40px;
  background-color: rgba(255, 255, 255, 0.75);
}

.contact-box h4 {
  margin-top: 0;
}

.contact-box p:last-child {
  margin-bottom: 0;
}

.contact-map {
  margin-top: 20px;
  width: 100%;
  height: 500px;
  border: 0;
}

/* Cookie notice */
.cookie-notice-container {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 20px;
  text-align: left;
  -webkit-font-smoothing: subpixel-antialiased;
  -moz-osx-font-smoothing: auto;
}

#cn-notice-text {
  text-align: justify;
}

#cn-notice-text:before {
  content: 'Hinweis zu Cookies';
  display: block;
  margin-bottom: 8px;
  font-family: 'Neue Helvetica W01', 'Helvetica Neue', Helvetica, sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1;
  text-transform: uppercase;
}

.cookie-notice-actions {
  margin-top: 12px;
}

#cookie-notice .cookie-notice-actions .button {
  display: block;
  margin-left: 0;
  width: 100%;
}

#cn-accept-cookie {
  margin-bottom: 6px;
}

.embed-responsive {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
}

.embed-responsive::before {
  display: block;
  content: "";
}

.embed-responsive .embed-responsive-item,
.embed-responsive iframe,
.embed-responsive embed,
.embed-responsive object,
.embed-responsive video {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.embed-responsive-21by9::before {
  padding-top: 42.857143%;
}

.embed-responsive-16by9::before {
  padding-top: 56.25%;
}

.embed-responsive-4by3::before {
  padding-top: 75%;
}

.embed-responsive-1by1::before {
  padding-top: 100%;
}

@media (min-width: 1000px) {
  .cookie-notice-container {
    display: flex;
    align-items: center;
  }

  .cookie-notice-actions {
    margin-top: 0;
    margin-left: 12px;
  }
}

@media (min-width: 800px) {
  .page-plane {
    padding: 50px;
  }

  .media {
    flex-direction: row;
  }

  .media-object {
    margin-bottom: 0;
  }

  .media-object + .media-body {
    margin-left: 10px;
  }

  .site-box {
    padding: 50px 60px;
  }
}

@media (min-width: 1200px) {
  .page-plane {
    flex-direction: row;
    padding-top: 149px;
  }

  .container {
/*    margin-left: 120px;
    max-width: 820px;*/
    /*max-width: 960px;*/
    max-width: 1140px;
  }

  .template-home .page-plane {
    min-height: 100vh;
  }

  .masthead {
    font-size: 48px;
  }

  .masthead-lg {
    /*margin: 80px 0 40px;*/
    margin: 28px 0 40px;
    font-size: 64px;
  }

  .home-intro {
    align-self: center;
    margin: 0 120px 0 0;
    font-size: 64px;
  }

  .pushed-footer {
    padding-left: 40%;
    font-size: 36px;
    white-space: nowrap;
  }

  .pushed-footer a:hover,
  .pushed-footer a:focus {
    opacity: 0.65;
  }

  .home-logo {
    /*margin: 0 0 26px;*/
    align-self: center;
    margin: 0 0 150px;
/*    width: 256px;
    height: 240px;*/
    width: 220px;
    height: 206px;
    fill: #fff;
  }

  .contact {
    display: flex;
  }

  .contact-content {
    width: 50%;
  }

  .contact-map {
    margin-top: 0;
    margin-left: 16px;
    width: 50%;
    /* height: 400px; */
  }
}

@media (min-width: 1600px) {
  .page-plane {
    padding-top: 50px;
  }
}