/*
 Theme Name:   GMK Child Theme
 Theme URI:    /
 Description:  Wordpress Child Theme von GMK.
 Author:       GMK - Medien. Marken. Kommunikation.
 Author URI:   https://www.gmk.de/
 Template:     twentytwentyone
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  gmkchildtheme
*/

/* gloria-hallelujah-regular - latin */
@font-face {
  font-family: 'Gloria Hallelujah';
  font-style: normal;
  font-weight: 400;
  src: url('assets/fonts/gloria-hallelujah-v17-latin-regular.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('assets/fonts/gloria-hallelujah-v17-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('assets/fonts/gloria-hallelujah-v17-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('assets/fonts/gloria-hallelujah-v17-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('assets/fonts/gloria-hallelujah-v17-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('assets/fonts/gloria-hallelujah-v17-latin-regular.svg#GloriaHallelujah') format('svg'); /* Legacy iOS */
}
/* roboto-regular - latin */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  src: url('assets/fonts/roboto-v30-latin-regular.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('assets/fonts/roboto-v30-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('assets/fonts/roboto-v30-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('assets/fonts/roboto-v30-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('assets/fonts/roboto-v30-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('assets/fonts/roboto-v30-latin-regular.svg#Roboto') format('svg'); /* Legacy iOS */
}
/* roboto-700 - latin */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 700;
  src: url('assets/fonts/roboto-v30-latin-700.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('assets/fonts/roboto-v30-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('assets/fonts/roboto-v30-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
       url('assets/fonts/roboto-v30-latin-700.woff') format('woff'), /* Modern Browsers */
       url('assets/fonts/roboto-v30-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
       url('assets/fonts/roboto-v30-latin-700.svg#Roboto') format('svg'); /* Legacy iOS */
}

body {
  overflow-x:hidden;
}

body.noscroll {
  overflow-y: hidden;
}

* {
  margin:0px;
  padding:0px;
}

:root {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  --green: #8CC53D;
  --brown: #785741;
  --text: #1C1C1C;
  --white: #ffffff;
  --short: all 0.4s;
  --long: all 0.7s;
  --centered: translate(-50%,-50%);
}

h1 {
  font-size:48px;
  color:var(--brown);
  text-transform:uppercase;
  font-weight:700;
  margin-top:0px;
  line-height: 1;
  margin-bottom:20px;
}

h1 span {
  font-family: 'Gloria Hallelujah', Times, serif;
  color:var(--green);
  text-transform:none;
  line-height: 0.1
}

h2 {
  font-size:36px;
  text-transform:uppercase;
  color:var(--brown);
  font-weight:700;
  margin-bottom:20px;
}

h3 {
  font-size:20px;
  text-transform:uppercase;
  color:var(--green);
  margin-bottom:20px;
}

p {
  font-size:16px;
  line-height:27px;
  color:var(--text);
  margin-bottom:15px;
}

p a {
  color:var(--green);
  text-decoration:underline;
}

a {
  transition:var(--short);
}

.row {
  display: flex;
  flex-wrap:wrap;
}

header {
  position: absolute;
  width:100%;
  left:0px;
  top:0px;
  z-index: 20;
  transition: var(--short)
}

header.fixed {
  position: fixed;
  background: var(--white);
  box-shadow: 0px 3px 6px rgb(0 0 0 / 16%);
}

header.fixed.hide {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

header.fixed .logo {
  width:110px;
  padding:15px 0px;
  top:0px;
  left:50px;
  position: relative;
}

header.fixed .logo img {
  width:100%;
}

header.fixed .menutoggle {
    position: absolute;
    right: 50px;
    top: 50%;
    z-index: 21;
    transform: translateY(-50%);
}

header.fixed .menutoggle .stripe {
  background:var(--green)
}

/* Main Navigation */

.logo {
  position: absolute;
  left:50px;
  top:35px;
  transition: var(--short)
}

.menutoggle {
  position:absolute;
  right:50px;
  top:68px;
  z-index: 21
}

.menutoggle:hover {
  cursor: pointer;
}

.menutoggle.closeit .stripe {
  background:var(--green)
}

.menutoggle.closeit .stripe.two {
  display: none;
}

.menutoggle.closeit .stripe.one {
  width:36px;
  transform:rotate(-45deg);
}

.menutoggle.closeit .stripe.three {
  width:36px;
  transform:rotate(45deg);
  top:-10px;
}

.stripewrap {
  text-align: center
}

.stripe {
  width:22px;
  background:var(--white);
  height:2px;
  margin-bottom:8px;
  display: block;
  transition:var(--short);
  position: relative;
  left:14px;
}

.stripe.two {
  width:36px;
  left:7px;
}

.menutoggle:hover .stripe.one,
.menutoggle:hover .stripe.three {
  width:36px;
  background:var(--green);
  left:7px;
}


.menutoggle.closeit:hover .stripe.three,
.menutoggle.closeit:hover .stripe.one {
  left:14px;
}


.menutoggle:hover .stripe.two {
  width:23px;
  background:var(--green);
  left:14px;
}

.mainmenu {
  position:fixed;
  top:0px;
  right:-100%;
  background:var(--white);
  height:100vh;
  width:50%;
  transition: var(--short);
}

.mainmenu.active {
  right:0px;
}

.menuoverlay {
  position: absolute;
  left:-100%;
  top:0px;
  height:100vh;
  width:50%;
  background:#000;
  opacity: 0.8;
  z-index: 8;
  transition: var(--short);
}

.menuoverlay.active {
  left:0px;
}

.main-navigation {
  display: flex;
  flex-wrap:wrap;
  padding:50px;
  align-items: stretch;
  height:calc(100% - 100px);
}

.kontakt-icons,
.menu-hauptmenue-container,
.menu-contact {
  display: flex;
  flex:0 1 100%;
}

.menu-hauptmenue-container {
  align-items: center;
}

.menu-contact li {
  list-style: none
}

.main-navigation ul {
  list-style: none;
  margin:0px;
  padding:0px;
}

.main-navigation ul li {
  display: block;
  margin-bottom:15px;
}

.main-navigation ul li a {
  font-size:36px;
  color:var(--text);
  text-decoration: none;
  font-weight:400;
  text-transform: uppercase;
}

.main-navigation ul li a:hover {
  cursor: pointer;
  color:var(--green)
}

.navigation-overlay {
  width:100vw;
  height:100vh;
  background:rgba(0,0,0,0.8);
  position:absolute;
  top:0px;
  left:0px;
}

/* Icons Mainnavigation */
.kontakt-icons {
  align-items: flex-start
}

.kontakt-phone,
.kontakt-mail {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  flex:0 1 50%;
}

.kontakt-phone a,
.kontakt-mail a {
  color:var(--text);
  text-decoration: none;
}

.kontakt-phone img {
  flex:0 1 34px;
  max-width:34px;
  height:31px;
  margin-right:15px;
  transition: var(--short);
}

.kontakt-phone:hover img {
  animation: shake 0.5s;
  animation-iteration-count: infinite;
}

.kontakt-mail img {
  margin-right:15px;
  transition:var(--short);
}

.kontakt-mail:hover img {
  animation: moveToRight 1s;
  animation-iteration-count: infinite;
}

.kontakt-mail {
  height:31px;
}

.menu-contact {
  align-items: flex-end;
}

/* Sections */
.section {
  padding:90px 0px;
  overflow: hidden
}

.section-head {
  position:relative;
  margin:0 auto;
  max-width:60%;
  text-align: center;
  margin-bottom:50px;
}

/* Fullscreenintro */
.fullscreenintro {
  position: relative;
  width:100%;
  height:100vh;
  overflow: hidden;
}

.fullimage {
  width:100%;
  height:100%;
  position: absolute;
  top:0px;
  left:0px;
}

.fullimage img {
  width:100%;
  height:100%;
  object-fit: cover;
}

.fullscreenintro-content {
  position: absolute;
  max-width:700px;
  left:50%;
  top:55%;
  transform:var(--centered);
  text-align: center;
  background:rgba(255,255,255,0.8);
  z-index: 10;
  padding:30px;
}

.fullscreenintro .overlay {
  position: absolute;
  top:0px;
  left:0px;
  background:#000;
  z-index: 8;
  width:100%;
  height:100%;
}

.fullscreenintro .overlay.lightlay {
  opacity:0.2;
}

.fullscreenintro .overlay.middlelay {
  opacity:0.5;
}

.scrolllink {
  position: absolute;
  bottom:20px;
  left:50%;
  z-index: 10;
  color:var(--green);
  transform:translateX(-50%);
  font-weight:700;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  letter-spacing: 2px;
  animation: bounce 2s infinite;
	-webkit-animation: bounce 2s infinite;
	-moz-animation: bounce 2s infinite;
	-o-animation: bounce 2s infinite;
}

.scrolllink span {
  display: block;
}

.scrolllink svg {
  width:32px;
  height:35px;
  fill:var(--green);
}

/* Leistungen */
.leistungen {
  position:relative;
}

.leistungen:after {
  content:"";
  width:100%;
  height:75%;
  max-height: 650px;
  background: linear-gradient(#fff 0%, #676767 100%);
  position: absolute;
  top:0px;
  left:0px;
  z-index: 3;
  opacity:0.2
}

.leistungen-wrap {
  padding:0px 50px;
  position: relative;
  z-index: 9
}

.singleleistung {
  margin:0px 15px;
  flex:0 1 calc(25% - 30px);
  max-width:calc(25% - 30px);
  position: relative;
}

.singleleistung img {
  width:100%;
  height:100%;
  object-fit: cover;
}

.singleleistung-content {
  padding:35px;
  padding-bottom:0px;
  position:relative;
}

.singleleistung-content p {
  margin-bottom:0px;
}

.singleleistung-content:before {
  content:"";
  width:2px;
  height:calc(100% - 35px);
  background:var(--green);
  opacity: 0.2;
  position:absolute;
  left:0px;
  top:35px;
  display: block;
}

.leistungen-gallery {
  position:fixed;
  right:-200%;
  top:0px;
  width:100%;
  height: 100vh;
  background:rgba(0,0,0,0.8);
  z-index: 9;
  transition:var(--short);
}

.closegallery {
  position: absolute;
  top:20px;
  right:20px;
  color:var(--white);
  text-transform: uppercase;
}

.closegallery:hover {
  cursor: pointer;
}

.leistung-gallery-wrap {
  display: flex;
  flex-wrap: wrap;
  padding:30px;
  background:var(--white);
  max-height: 75vh;
  overflow: auto;
  margin:5%;
}

.leistung-gallery-wrap > h3 {
  flex:0 1 100%;
  max-width: 100%;
  margin-bottom:20px;
  text-align: center;
  color:var(--green)
}

.leistungen-gallery.active {
  right:0px;
}

.single-gallery-image {
  flex:0 1 25%;
  max-width: calc(25% - 20px);
  margin:10px;
}

.detailimagetext {
    font-size: 14px;
    text-align: center;
    padding: 5px 10px;
  }

.single-gallery-image img {
  width:100%;
  height: auto;
}

.gallery-trigger-wrap {
  padding:0px 35px;
  margin-top: 5px;
  line-height: 1.6;
  position:relative;
}

.gallery-trigger-wrap:before {
  content:"";
  width:2px;
  height:120%;
  background:var(--green);
  opacity: 0.2;
  position:absolute;
  left:0px;
  top:-20%;
  display: block;
}


.gallery-trigger {
  color:var(--green);
  text-decoration: underline;
  display: inline-block;
  transition: var(--short);
}

.gallery-trigger:hover {
  cursor: pointer;
  text-decoration: none;
}

.gallery-trigger:after {
  content:",";
  position: relative;
  display: inline-block;
  color:var(--text);
}

.gallery-trigger:last-child:after {
  display: none;
}


/* Team */

.row.teamwrap {
  align-items: center;
  max-width: 90%;
  margin:0 auto;
}

.team-navigation {
  margin:50px 0px;
}

.single-team-image-item {
  display: none;
  transition: var(--short);
}

.single-team-image-item.active {
  display: block;
}

.team-navigation ul {
  list-style: none;
  display: flex;
  flex:0 1 100%;
  background:var(--text);
  height:12px;
  justify-content: space-between;
  align-items: center;
  border-radius: 30px;
}

.teamdot {
  width:20px;
  height:20px;
  border-radius: 50%;
  background:var(--text);
  border:4px solid var(--white);
  transition: var(--short);
}

.team-navigation ul li {
  flex:0 1;
  max-width:33.333%;
  transition: var(--short);
  position: relative;
}

.team-navigation ul li .tooltip {
  display: block;
  opacity: 0;
  font-size: 12px;
  transition: var(--short);
  position: absolute;
  width:max-content;
  top:-20px;
  left:50%;
  transform:translateX(-50%);
}

.team-navigation ul li:hover .tooltip {
  opacity: 1
}

.team-navigation ul li .teamdot:hover  {
  background:var(--brown);
  border:4px solid var(--white);
  cursor: pointer;
}

.team-navigation ul li.active .teamdot {
  background:var(--green);
  border:4px solid var(--white)
}

.single-team {
  display: flex;
  flex-wrap: wrap;
  align-items:center;
}

.single-team-image {
  flex:0 1 50%;
  max-width: 50%;
  position: relative;
  min-height:480px;
}

.single-team-image:before {
  content:"";
  width:100%;
  display: block;
  left:0px;
  top:-1px;
  position: absolute;
  height:101%;
  object-fit: cover;
  z-index: 5;
  background:url(/wp-content/themes/gmkchildtheme/assets/img/schreinerei-koerber-overlay.png) no-repeat;
  background-size: cover;
}

.single-team-image img {
  width:100%;
  height:auto;
}

.team-single-content-wrap {
  display: none;
  transition: var(--short);
  opacity: 0;
}

.team-single-content-wrap.active {
  display: block;
  opacity: 1;
  min-height:185px;
}

.single-team-content {
  flex:0 1 50%;
  max-width:calc(50% - 140px);
  padding:0px 70px;
}

.single-team-content h4 {
  font-size:22px;
  font-weight: 700;
  display: inline-block;
}

.single-team-hint {
  font-size:16px;
  display: inline-block;
}

.single-team-years {
  font-size:16px;
  color:var(--green);
  margin-top:5px;
  margin-bottom:25px;
}

/* Werkstatt */
.werkstatt {
  padding-bottom:5px;
}

.werkstatt-wrap {
  margin:0 -10px;
  position: relative;
}

.single-projekt {
  flex: 0 1 33.333%;
  max-width:calc(33.333% - 10px);
  margin:5px;
  position: relative;
  overflow: hidden;
}

.single-projekt:hover {
}

.single-projekt .leistung-image {
  width:100%;
  height:100%;
}

.single-projekt.active {
    flex: 0 1 100%;
    max-width:calc(100% - 10px);
    position: absolute;
    top:50%;
    left:50%;
    transform:var(--centered);
    z-index: 99;
}

.single-projekt.active .projekt-content {
  width:100%;
  height:auto;
  padding:20px;
  bottom:0px;
  opacity: 1;
  z-index: 9;
}

.single-projekt.active:hover {
  cursor: zoom-out;
}

.openoverlay {
  position: absolute;
  top:0px;
  left:0px;
  width:100%;
  height:100vh;
  background:rgba(0,0,0,0.85);
  z-index: -1;
  opacity: 0
}

.openoverlay.active {
  z-index: 1;
  opacity: 1
}


.leistung-image {
  position: relative;
  width: 100%;
  height: 100%;
  max-height: 450px;
}

.projekt-content {
  position:absolute;
  bottom:0px;
  left:0px;
  width:100%;
  height:100%;
  background:rgba(140,197,61,0.9);
  transition:var(--short);
  z-index: -1;
  display: flex;
  align-items: center;
  text-align: center;
  opacity: 0;
}

.projekt-content h5 {
  color:var(--white);
  font-size:14px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 2px;
  padding:0px 20px;
  text-align: center;
  width:100%;
  display: block;
}

.single-projekt:hover .projekt-content {
  z-index: 8;
  opacity: 1
}

.single-projekt img {
  width:100%;
  height:100%;
  object-fit: cover;
  display: block;
}


/* Partner */
.partner {
  position:relative;
}

.partner-wrap {
  max-width:90%;
  margin:0 auto;
  z-index: 9;
  position: relative;
  justify-content: center
}

.partner:after {
  content:"";
  width:100%;
  height:100%;
  background: linear-gradient(#676767 0%, #ffffff 100%);
  display: block;
  opacity: 0.2;
  position: absolute;
  top:0px;
  left:0px;
  z-index: 4
}

.partner-single {
  flex:0 1 25%;
  max-width:calc(25% - 36px);
  margin:18px;
  background:var(--white);
  padding:45px 0px;
  display: flex;
  justify-content: center;
  align-items: center
}

.partner-single a {
  display: block;
  filter:grayscale(1);
  transition: var(--short);
}

.partner-single a:hover {
  filter: grayscale(0);
}

.partner-single img {
  max-height:65px;
  width:auto;
}

/* Kontakt */
.widget_custom_html h3.widget-title {
  display: none;
}

.form {
  background:var(--brown);
}

.innerform {
  max-width:55%;
  position: relative;
  margin:0 auto;
}

.innerform .row {
  margin:20px -20px;
}

.element-50 {
  flex:0 1 calc(50% - 60px);
  max-width:calc(50% - 60px);
  margin:0px 30px;
}

.element-50 span,
.element-100 span {
  display: block;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top:6px;
  color:var(--white);
  width:100%;
}

.element-100 span.wpcf7-spinner {
  position: absolute;
  display: none !important;
}

.wpcf7 form.sent .wpcf7-response-output {
    border-color: transparent;
    border:0px;
    color: #fff;
    padding: 20px;
    max-width: 50%;
    margin: 0 auto;
    background: #8cc53d;
    margin-top:40px;
}

.element-100 span.wpcf7-not-valid-tip,
.element-50 span.wpcf7-not-valid-tip {
  color:red;
  text-transform: none;
  font-weight: 700;
  position: absolute;
  bottom: -40px;
}

.element-100 {
  flex:0 1 calc(100% - 60px);
  max-width: calc(100% - 60px);
  margin:0px 30px;
}

input[type="text"],
input[type="email"] {
  background:none;
  border:none;
  border-bottom:2px solid var(--white);
  padding:15px 0px;
  color:var(--white);
  font-size: 26px;
  box-shadow: none;
  outline:none;
  width:100%;
}

input[type="checkbox"] {
  background:none;
  border:2px solid var(--white);
  flex:0 1 50px;
  max-width:50px;
  min-width:50px;
  height:50px;
  -webkit-appearance:none;
  -moz-appearance:none;
  position: relative;
}

input[type="checkbox"]:hover {
  cursor: pointer;
}

input[type="checkbox"]:checked:after {
  content:"";
  width:30px;
  height:25px;
  background:url(/wp-content/themes/gmkchildtheme/assets/img/check.svg) no-repeat;
  background-size: contain;
  background-position: center;
  position: absolute;
  left: 50%;
  top:50%;
  transform:var(--centered);
  display: block;
}

.element-100 span.wpcf7-list-item {
  margin-left:0px;
  margin-top:0px;
}

.element-100 span.wpcf7-checkbox {
  margin-top:0px;
}

.wpcf7-form-control-wrap[data-name="datenschutz"] {
  flex:0 1 50px;
  max-width:50px;
  margin-top:0px;
}

.element-100.checkbox {
  display: flex;
  align-items: center;
  margin-top:10px;
  margin-bottom:20px;
}

.gmklabel {
  flex:0 1 calc(100% - 65px);
  max-width:calc(100% - 65px);
  margin-left:15px;
  color:var(--white);
  line-height: 1.6;
}

.gmklabel a {
  color:var(--white);
}

.wpcf7-checkbox span.wpcf7-list-item-label {
  display: none;
}

textarea {
  border:2px solid var(--white);
  background:none;
  color:var(--white);
  width:100%;
  font-family:"Roboto", Arial, Helvetica, sans-serif;
  padding:20px;
  font-size:14px;
  box-sizing: border-box;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  box-shadow: none;
  outline: none;
  -webkit-appearance:none;
  background:none;
}

input[type="submit"] {
  -webkit-appearance:none;
  -moz-appearance:none;
  background:var(--green);
  text-indent: -300px;
  overflow: hidden;
  width:80px;
  height:80px;
  clip-path: polygon(0 50%, 50% 0, 100% 50%, 50% 100%);
  border:none;
  box-shadow: none;
  margin:0 auto;
  position: relative;
  transition: var(--short);
}
.submitwrap {
  position: relative;
  text-align: center;
}

.submitwrap:after {
  content:"";
  width:35px;
  height:25px;
  background:url(/wp-content/themes/gmkchildtheme/assets/img/arrow-right.svg) no-repeat;
  background-size: contain;
  background-position: center;
  z-index: 5;
  position: absolute;
  transform:var(--centered);
  left:50%;
  top:50%;
  display: block;
  pointer-events: none;
}

input[type="submit"]:hover {
  transform:rotate(-45deg);
  cursor: pointer;
}

::placeholder {
  color:var(--white);
  opacity: 0.5;
}

/* Social Navigation */

.social-navigation {
  position:absolute;
  bottom:45px;
  right:45px;
  z-index: 9;
}

.social-navigation ul {
  list-style:none;
  margin:0px;
  padding:0px;
}

.social-navigation ul li {
  display:block;
  margin-bottom:5px;
}

.social-navigation ul li a {
  width:55px;
  height:55px;
  background:var(--green);
  position:relative;
  display: block;
  transition:var(--short);
}

.social-navigation ul li a svg {
  width:auto;
  height:33px;
  position:absolute;
  top:50%;
  left:50%;
  transform:var(--centered);
}

.social-navigation ul li a:hover {
  background:var(--brown)
}

/* Footer */

.prefooter {
  padding:30px 50px;
}

.prefooter .row {
  border-bottom:1px solid var(--green);
  padding-bottom:30px;
}

.prefooter .kontakt-phone {
  display: flex;
  justify-content: flex-end;
}

.mainfooter {
  padding:0px 50px 30px 50px;
}

.mainfooter .row {
  align-items: center;
}

.mainmenu-footer,
.footer-text {
  flex:0 1 calc(50% - 22px);
  max-width:calc(50% - 22px);
}

.mainmenu-footer ul {
  list-style: none;
  display: flex;
}

.mainmenu-footer ul li {
  margin-right:12px;
}

.mainmenu-footer ul li a {
  font-size:16px;
  color:var(--text);
  text-decoration: none;
}

.footer-text {
  display: flex;
  justify-content: flex-end;
}

.footer-text li {
  list-style: none;
}

.footer-text li a {
  color:var(--text);
  text-decoration: none;
}

.scrolltotoplink {
  flex:0 1 43px;
  max-width:43px;
  height:38px;
  background:rgba(140,197,61,0.3);
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  position: relative;
  overflow: visible;
}

.scrolltotoplink .smalltriangle {
  content:"";
  width:27px;
  height:25px;
  position: absolute;
  bottom:-7px;
  background:var(--green);
  left:50%;
  transform:translateX(-50%);
  transition: var(--short);
  display: block;
  z-index: 9;
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.scrolltotoplink:hover .smalltriangle {
  bottom:10px;
}


/* Impressum & Datenschutz */
.page-id-64 h1,
.page-id-66 h1 {
  color:var(--white);
  margin-bottom: 0px;
}
.page-id-64 header,
.page-id-66 header {
  position: relative;
}
.page-id-64 .menutoggle,
.page-id-66 .menutoggle {
    position: absolute;
    right: 50px;
    top: 50%;
    z-index: 21;
    transform: translateY(-50%);
}
.page-id-64 .stripe,
.page-id-66 .stripe {
  background: var(--green)
}
.page-id-64 .logo,
.page-id-66 .logo {
  width:130px;
  background:var(--white);
  padding:15px 0px;
  top:0px;
  left:50px;
  position: relative;
}
.page-id-64 .logo img,
.page-id-66 .logo img {
  width:100%;
  height:auto;
}
.page-id-64 .social-navigation,
.page-id-66 .social-navigation {
  display: none;
}


/* 404 */
.error404 .menutoggle,
.error404 .social-navigation,
.erorr404 .header {
  display: none
}

.error404 .errorlogo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width:150px;
  padding:20px;
  background:var(--white)
}

.error404 .errorlogo img {
  width:100%;
  height:auto;
}

.error404-outer {
  background:var(--brown);
  position: relative;
  height: 100vh;
  width:100%;
}

.error404-inner {
  position: absolute;
  top:50%;
  left:50%;
  width:50%;
  transform:var(--centered);
  text-align: center;
}

.error404-inner h1 {
  margin-bottom:25px;
}

.error404-inner h1,
.error404-inner p {
  color:var(--white);
}

.errorfooter {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform:translateX(-50%);
  width:100%;
}

.errorfooter ul {
  list-style: none;
  margin:0px;
  padding:0px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.errorfooter ul li {
  flex:0 1 auto;
  margin:0px 20px;
}

.errorfooter ul li a {
  color:var(--white);
  text-decoration: none;
}

.regularbtn {
  padding:12px 25px;
  background: var(--green);
  color:var(--white);
  position: relative;
  display: inline-block;
  transition: var(--short);
  text-decoration: none;
}

.regularbtn:hover {
  filter: brightness(1.1);
}



/* Scrolllink Animation */
@-webkit-keyframes bounce {
	0%, 20%, 50%, 80%, 100% {-webkit-transform: translateY(0)translateX(-50%);}
	40% {-webkit-transform: translateY(-20px)translateX(-50%);}
	60% {-webkit-transform: translateY(-15px)translateX(-50%);}
}

@-moz-keyframes bounce {
	0%, 20%, 50%, 80%, 100% {-moz-transform: translateY(0)translateX(-50%);}
	40% {-moz-transform: translateY(-20px)translateX(-50%);}
	60% {-moz-transform: translateY(-15px)translateX(-50%);}
}

@-o-keyframes bounce {
	0%, 20%, 50%, 80%, 100% {-o-transform: translateY(0)translateX(-50%);}
	40% {-o-transform: translateY(-20px)translateX(-50%);}
	60% {-o-transform: translateY(-15px)translateX(-50%);}
}
@keyframes bounce {
	0%, 20%, 50%, 80%, 100% {transform: translateY(0)translateX(-50%);}
	40% {transform: translateY(-20px)translateX(-50%);}
	60% {transform: translateY(-15px)translateX(-50%);}
}

/* Phone Animation */
@keyframes shake {
  0% { transform: translate(1px, 1px) rotate(0deg); }
  25% { transform: translate(-1px, 2px) rotate(5deg); }
  50% { transform: translate(-5px, 5px) rotate(15deg); }
  75% { transform: translate(-1px, 2px) rotate(5deg); }
  100% { transform: translate(1px, 1px) rotate(0deg); }
}

/* Mail Animation */
@keyframes moveToRight {
  0% {transform: translateX(0px);}
  50% {transform: translateX(8px);}
  100% {transform: translateX(0px);}
}


/* Responsive */
@media screen and (max-width: 950px) {
  /* 404 */
  .error404-inner {
    width:90%;
  }
  .error404 .errorlogo {
    width:110px;
    padding:15px;
  }
  /* Basics */
  h1 {
    font-size:32px;
  }
  h1 span {
    font-size:22px;
    line-height: 1.4;
    display: block;
  }
  h2 {
    font-size:26px;
  }
  /* Header */
  .logo {
    width:130px;
    left: 25px;
    top: 25px;
  }
  .logo img {
    width:100%;
    height: auto;
  }
  .menutoggle {
    position: absolute;
    right: 25px;
    top: 55px;
    z-index: 21;
  }
  header.fixed .logo {
    left:25px;
  }
  header.fixed .logo {
    width:90px;
  }
  header.fixed .menutoggle {
    right:25px;
  }
  /* Menu */
  .mainmenu {
    width:100%;
  }
  .menuoverlay {
    display: none;
  }
  .main-navigation {
    padding:25px;
    height: calc(100% - 50px);
  }
  .main-navigation ul li a {
    font-size:22px;
  }
  .kontakt-phone img {
    flex: 0 1 24px;
    max-width: 24px;
    height: 21px;
    margin-right: 10px;
  }
  .kontakt-icons {
    display: block;
  }
  .kontakt-mail {
    margin-top:10px;
  }
  .kontakt-mail img {
    margin-right: 12px;
    transition: var(--short);
    height: 16px;
  }
  /* Section */
  .section {
    padding:50px 0px;
  }
  .section-head {
    max-width:90%;
  }
  /* Fullscreenintro */
  .fullscreenintro {
    height:calc(100vh - 55px);
  }
  .fullscreenintro-content {
    width:90%;
    box-sizing: border-box;
    padding-top:10px;
    top:50%;
  }
  .scrolllink {
    width:100%;
  }
  /* Socialnavigation */
  .social-navigation {
    position: fixed;
    bottom: 0px;
    right: 0px;
    z-index: 11;
    width: 100%;
  }
  .social-navigation.hide {
    display: none;
  }
  .social-navigation ul {
    list-style: none;
    margin: 0px;
    padding: 0px;
    width: 100%;
    display: flex;
  }
  .social-navigation ul li {
    flex: 0 1 33.333%;
    box-sizing: border-box;
    padding: 0px;
    margin: 0px;
  }
  .social-navigation ul li a {
    width:100%;
    height:55px;
  }
  /* Leistungen */
  .leistungen-wrap {
    padding: 0px 30px;
  }
  .singleleistung {
    margin: 0px;
    flex: 0 1 100%;
    max-width: 100%;
    margin-bottom:45px;
  }
  .singleleistung:last-child {
    margin-bottom: 0px;
    padding-bottom:50px;
    border-bottom:1px solid var(--green)
  }
  .leistung-gallery-wrap {
    padding:10px;
    margin:60px 20px;
    max-height: calc(100vh - 110px);
  }
  .singleleistung-content {
    padding: 25px 0px 0px 0px;
  }
  .single-gallery-image {
    flex: 0 1 100%;
    max-width: 100%;
    margin: 10px;
  }
  .gallery-trigger-wrap {
    padding:0px;
  }
  .singleleistung-content:before,
  .gallery-trigger-wrap:before {
    display: none;
  }
  /* Werkstatt */
  .werkstatt-wrap {
    margin: 0px;
    position: relative;
  }
  .single-projekt {
    flex: 0 1 100%;
    max-width: 100%;
    margin: 5px 10px;
    pointer-events: none;
  }
  /* Team */
  .section.team {
    padding-top:0px;
  }
  .single-team-content,
  .single-team-image {
    flex:0 1 100%;
    max-width: 100%;
    padding:0px;
  }
  .single-team-image {
    min-height: 228px;
  }
  .team-navigation ul li .tooltip {
    display: none !important;
  }
  /* Partner */
  .partner-single {
    flex: 0 1 100%;
    max-width: 100%;
    margin: 8px;
    background: var(--white);
    padding: 45px 0px;
    display: flex;
    justify-content: center;
  }
  /* Formular */
  .innerform {
    max-width: 90%;
  }
  .innerform .row {
    margin: 20px 0px;
  }
  .element-50 {
    flex: 0 1 100%;
    max-width: 100%;
    margin: 0px 10px;
  }
  .element-100 {
    flex: 0 1 100%;
    max-width: 100%;
    margin: 0px 10px;
  }
  /* Footer */
  .mainfooter {
    padding: 0px 25px 80px 25px;
  }
  .mainfooter .row {
    justify-content: center;
  }
  .scrolltotoplink {
    margin:20px 0px;
  }
  .prefooter {
    padding: 20px 25px;
  }
  .prefooter .row {
    padding-bottom: 20px;
  }
  .prefooter .kontakt-mail {
    margin-top:0px;
  }
  .mainmenu-footer, .footer-text {
    flex: 0 1 100%;
    max-width: 100%;
    text-align: center;
    justify-content: center;
  }
  .mainmenu-footer ul {
    justify-content: center;
  }
}
