:root{

    /*colors*/
    --color-light: #ffffff;
    --color-dark: #000812;
    --color-ci: #54A020;
    --color-mid: #f4f4f4;

    /*sizes*/

    --main-fontsize: 18px;
    --main-padding: 3em;
    --nav-padding: 3em 2em;
    --section-padding: 3em 8em 3em 15vw;

    --navheight: 174px;

    /*transitions*/

    --main-trans: all .3s ease-in-out;

    /*fonts*/
    --main-font: "allerregular", sans-serif;
    --headline-font: "Red Hat Display", sans-serif;
    --bold-font: "Red Hat Display", sans-serif;
    --italic-font: "alleritalic", sans-serif;
    --display-font: "Red Hat Display", sans-serif;

    /*border*/

    --main-border: 2px solid var(--color-dark);

}

/* red-hat-display-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Red Hat Display';
  font-style: normal;
  font-weight: 400;
  src: url('../webfonts/red-hat-display-v19-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* red-hat-display-800 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Red Hat Display';
  font-style: normal;
  font-weight: 800;
  src: url('../webfonts/red-hat-display-v19-latin-800.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* red-hat-display-900 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Red Hat Display';
  font-style: normal;
  font-weight: 900;
  src: url('../webfonts/red-hat-display-v19-latin-900.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}


/*Aller*/

@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'allerbold';
  src: url('../webfonts/aller_bd-webfont.woff2') format('woff2'), url('../webfonts/aller_bd-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'alleritalic';
  src: url('../webfonts/aller_it-webfont.woff2') format('woff2'), url('../webfonts/aller_it-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'allerregular';
  src: url('../webfonts/aller_rg-webfont.woff2') format('woff2'), url('../webfonts/aller_rg-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'aller_displayregular';
  src: url('../webfonts/allerdisplay-webfont.woff2') format('woff2'), url('../webfonts/allerdisplay-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}





@media screen and (max-width:768px){
  :root{
    --main-padding: 1em;
    --nav-padding: 1em;
    --section-padding: 1em;
  }
}


*{
    box-sizing: border-box;
    scroll-behavior: smooth;
}

html{
    margin: 0;
    padding: 0;
}

body{
    font-family: var(--main-font);
    font-size: var(--main-fontsize);
	  margin: 0;
    position: relative;
}


/*Formats*/

h1, h2, h3, h4, h5{
  margin: 0 0 1em 0;
}

h1, h2, .h1, .h2{
  font-family: var(--headline-font);
  font-weight: 800;
}

h1, .h1{
  font-size: clamp(1.5em, 5vw, 3em);
  line-height: 1;
}

h2, .h2{
  font-size: clamp(1.25em, 5vw, 2.5em);
  line-height: 1;
}

h3, h4, h5, h6{
  font-family: var(--bold-font);
}

.main{

  font-size: clamp(1.5em, 5vw, 3em);
  line-height: 1;
  margin-bottom: 0;

  & small{
    color: var(--color-ci);
    text-transform: uppercase;
    font-family: var(--bold-font);
    display: block;
    font-size: var(--main-fontsize);
    margin-top: .5em;
	font-weight: normal; 
  }
}

p{
    line-height: 1.5;
    max-width: 75ch;
    margin: 0 0 .5em 0;
}

a{
    color: var(--color-ci);
    transition: var(--main-trans);

    &:hover{
        color: var(--color-dark);
    }
}
b, strong{
  font-family: var(--bold-font);
}

.bigimage{
  width: calc(100% + 15vw);
  margin-left: -15vw;

  & img{
    max-width: unset;
    width: 100% !important;
    aspect-ratio: 16 / 9;
    object-fit: cover;
  }
}

.mt-5{
  margin-top: 2em;
}

@media screen and (max-width:768px){
  .bigimage{
    width: 100%;
    margin-left: auto;
  }
}


/*
//
//
//
Gutenberg
//
//
//
*/

.spacedout{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.has-ci-color{
  color: var(--color-ci)
}

.has-dark-color{
  color: var(--color-dark)
}

.has-light-color{
  color: var(--color-light)
}

.wp-block-button__link,
.btn{

  background: transparent;
  border-radius: 0;
  color: var(--color-ci);
  font-family: var(--display-font);
  font-size: 1em;
  letter-spacing: .08em;
  padding: 0;
  text-transform: uppercase;
  position: relative;
  margin-top: 2em;
  text-decoration: none;
  transition: var(--main-trans);

  &::before {
    content: '';
    border-left:0px solid transparent; /* Half of the width of your triangle */
    border-right: .8em solid transparent; /* Half of the width of your triangle */
    border-bottom: .8em solid currentColor; /* Height of your triangle */
    position: relative;
    top: 0; /* Adjust this value to move the triangle up or down */
    left: 0; /* Adjust this value to move the triangle horizontally */
    width: 0;
    margin-right: .5em;
    display: inline-block;
    transition: var(--main-trans);
  }

  &:hover{
	color: #000;
    &::before {
      transform: rotate(180deg);
    }
  }
}


.bigbtns{
  & .wp-block-button__link{
    font-size: 2em;
    margin-top: 0;
    }
  

	/* & .wp-block-button{
		&:first-of-type{
			& .wp-block-button__link{
		
		
				color: var(--color-dark);
		
				&:hover{
				color: var(--color-ci);
				}
			}
		}
	} */
}


.wp-block-column ul li{
  margin: .25em 0;
}

:where(.wp-block-columns.is-layout-flex){
  gap: 5em;
}

.biglist li{
  font-size: 1.25em;
  font-family: var(--bold-font);
}

@media screen and (max-width:768px){
  :where(.wp-block-columns.is-layout-flex){
    gap: 1em;
  }

  .bigbtns .wp-block-button__link{
    font-size: 1em;
  }

  .wp-block-spacer{
    height: 2em !important;
  }
}


/*
//
//
//
Nav
//
//
//
*/

nav{
  padding: var(--nav-padding);
  position: sticky;
  top: 0;
  transition: var(--main-trans);
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  z-index: 10;

}


aside{
  position: fixed;
  width: 100vw;
  height: calc(100vh - var(--navheight));
  background: var(--color-light);
  right: 0;
  transform: translateX(100vw);
  transition: var(--main-trans);
  z-index: 10;
}

.infoholder{
  position: absolute;
  top: 0;
  right: 10em;
  padding: 3em 0;
  display: flex;
  gap: 1em;
  z-index: 10;
  transition: var(--main-trans);
}

.infoholder a{
  text-decoration: none;
  /* color: var(--color-dark); */
  font-size: .8em;
}

aside .toppart{
  min-height: 55%;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  padding: var(--section-padding);
  padding-bottom: 10vh;
  position: relative;

  &::before{
    content: '';
    position: absolute;
    height: 100%;
    aspect-ratio: 1 / 1;
    background: url(../style/triangle-gray.svg);
    background-size: contain;
    background-position: top right;
    right: 0;
    top: 0;
    z-index: -1;
    pointer-events: none;
    display: none;
  }

  & .menu{
    column-count: 2;
    column-gap: 5em;
    position: relative;
    z-index: 0;
    margin: 0;

    &::before{
      content: '';
      position: absolute;
      height: 100%;
      width: 2px;
      background-color: var(--color-dark);
      left: calc(50% + 1em);
      top: 0;
      z-index: -1;
      pointer-events: none;
    }

    & li{
      list-style: none;
      padding: 0;
      margin: 0;

      &.extranav{
        padding-top: 2em;
        & a{
          font-size: var(--main-fontsize);
          text-transform: uppercase;
          display: inline-block;
          margin-right: 1em;
        }
      }

      & a{
        font-size: clamp(1.25em, 5vw, 3em);
        font-family: var(--headline-font);
        /* color: var(--color-dark); */
        font-weight: 700;
        text-decoration: none;
        padding: .025em 0;
        display: block;
      }
	  &.current-menu-item a{
		color: var(--color-dark);
	  }
    }
  }
}

div.extranav{
  display: none;
}

aside .lowerpart{
  position: relative;
  /* min-height: 45%; */
  background-color: var(--color-light);
}

aside .lowerpart .triangles{
  margin-top: auto;
}

aside .infobox{
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  flex-direction: row;
  z-index: 10;

  & address{
    background-color: var(--color-dark);
    color: var(--color-light);
    padding: 2em;
    text-transform: none;
    font-style: normal;
    display: flex;
    flex-direction: row;
  }

  & .contact{
    background-color: var(--color-ci);
    color: var(--color-light);
    padding: 2em;

    & a{
      color: var(--color-light);
      text-decoration: none;
      display: block;
    }
  }

}

aside .social a{
  text-decoration: none;
  /* color: var(--color-dark); */
  margin-right: 2em;

  & svg{
    width: 1.5em !important;
    height: 1.5em !important;
  }
}



.toggler{
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: .35em;
  border: 0px;
  background: transparent;
  z-index: 10;

  &:hover{
    cursor: pointer;
  }

  & span{
    width: 2.5em;
    height: .5em;
    color: var(--color-dark);
    background-color: var(--color-dark);
    display: block;
    transform: skew(20deg);
    transition: var(--main-trans);
    position: relative;

    &::after{
      content: '';
      position: absolute;
      right: -.25em;
      top: 0;
      height: 100%;
      transform: skew(-20deg);
      width: 1em;
      background-color: currentColor;
    }

    &:nth-of-type(2){
      background-color: var(--color-ci);
      width: 3.5em;
      color:  var(--color-ci);
    }
  }
}


.open{

  overflow: hidden;

  & nav{
    background: var(--color-light);
  }

  & .infoholder{
    opacity: 0;
  }

  & aside{
    transform: none;
  }

  & .toggler{
    & span:nth-of-type(1){
      opacity: 0;
      margin-right: 3em;
    }

    & span:nth-of-type(3){
      opacity: 0;
      margin-right: 3em;
    }
  }

}


@media screen and (max-width:888px){

  .infoholder{
    display: none;
  }

  nav{
    position: relative;
  }

  aside{
    height: 100vh;
  }

  aside .toppart{

    flex-direction: column;
    align-items: flex-start;
    padding-bottom: var(--section-padding);;

    & .menu{
      column-count: 1;
      padding: 0;
      padding-bottom: 0;

      &::before{
        display: none;
      }
    }
  }

  aside .infobox{
    position: relative;
    flex-direction: column;
  }

  aside .infobox address,
  aside .infobox .contact{
    padding: var(--section-padding);
  }

  aside li.extranav{
    display: flex;
    flex-direction: column;
    padding-top: 1em !important;
    padding-bottom: 1em !important;
  }

}

/*
//
//
//
Head
//
//
//
*/

header{
  padding: var(--section-padding);
  padding-top: 0;
}

header+.triangsqr{
  left: auto;
  right: 5em;
  top: 10em;
}

.home header+.triangsqr{
  display: none;
}



/*
//
//
//
Pattern
//
//
//
*/

#patternwrap{

  position: relative;
  height: 300px;
  overflow: hidden;
  width: 100%;
  pointer-events: none;
  z-index: -1;
  margin-top: 1em;
}

.triangle {
  width: 0;
  height: 0;
  border-left: 0px;
  border-right: 30px solid transparent;
  position: absolute;
}

.fade-in {
  animation: fadeIn 5s ease-out forwards;
}

.fade-out {
  animation: fadeOut 5s ease-out forwards;
}

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

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



/*
//
//
//
Main
//
//
//
*/

main{
  padding: var(--section-padding);
}


/*
//
//
//
Projekte
//
//
//
*/

#projectliste{
  & h2{
    /* color: var(--color-ci); */
  }
}

#projectliste .projektprev{
  width: 100%;
  position: relative;
  border-bottom: var(--main-border);
  z-index: 1;
  padding: 1em 0;
  color: var(--color-ci);

  &:last-of-type{
    border-bottom: 0;
  }

  & .projektinfo{
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    font-family: var(--bold-font);
  }

  & h2{
    font-family: var(--bold-font);
    /* color: var(--color-dark); */
    font-size: 1em;
    margin-bottom: 0;
  }

  & .detail{
    display: flex;
    flex-direction: row;
    gap: var(--main-padding);
  }

  & .hoverimg{
    position: absolute;
    z-index: -1;
    top: -50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 20vw;
    opacity: 0;
    pointer-events: none;
    transition: var(--main-trans);
    filter: grayscale(1);

    & img{
      width: 100%;
      object-fit: contain;
      height: auto;
      max-height: 300px;
    }
  }

  &:hover{
	color: var(--color-dark) ;
    & .hoverimg{
      opacity: 1;
    }

  }
}

@media screen and (max-width:768px){
  #projectliste .projektprev{
    & .projektinfo{
      flex-direction: column;
      gap: 1em;
    }

    & .detail{
      flex-direction: column;
      gap: 0;
    }
  }
}

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

#projekthead{
  padding-right: 0;
  margin-top: -174px;

  & figure{

    & img{
      width: 100%;
      max-height: 70vh;
      object-fit: cover;
      object-position: bottom center;

      aspect-ratio: 5 / 3;
      height: auto;

    }

    h1{
      margin-bottom: 0;
      padding: var(--main-fontsize) 0;
    }

    & figcaption{
      padding: 1em 0;
      display: flex;
      flex-wrap: wrap;
      flex-direction: row;
      gap: 1em;
      border-top: var(--main-border);

      span{
        width: calc(33.33% - 1em);
      }
    }
  }
}


@media screen and (max-width:768px){
  #projekthead{
    padding-left: 0;
    margin-top: auto;
  
    & figure{
  
      & img{
        width: 100%;
        height: auto;
        object-fit: cover;
        object-position: bottom center;
      }
  
      h1{
        margin-bottom: 0;
        padding: 1em;
      }
  
      & figcaption{
        flex-direction: column;
        gap: 1em;
        padding: 1em;
  
        span{
          width: 100%;
        }
      }
    }
  }
}




/*
//
//
//
Footer
//
//
//
*/

footer{
  display: flex;
  width: 100%;
  flex-direction: row;

  & svg{
    margin-right: .5em;
  }

  & .social{
    width: 5vw;
    padding: 2em;
    display: flex;
    flex-direction: column;
    gap: 2em;
    font-size: .8em;

    & a{
      /* color: var(--color-dark); */
      text-decoration: none;
      display: block;
    }

    & svg{
      width: 1.5em !important;
      height: 1.5em !important;
      transition: var(--main-trans);

      &:hover{
        /* fill: var(--color-ci); */
      }
    }
  }


  & .infobox{
    width: 20vw;
    display: flex;
    flex-direction: column;
   

    & address{
      background-color: var(--color-dark);
      color: var(--color-light);
      padding: 2em;
      text-transform: none;
      font-style: normal;
      display: flex;
      flex-direction: row;
      font-size: .8em;
    }

    & .contact{
      background-color: var(--color-ci);
      color: var(--color-light);
      padding: 2em;
      font-size: .8em;

      & a{
        color: var(--color-light);
        text-decoration: none;
        display: block;
      }
    }
  }

  & .map{
    width: 75vw;
    filter: grayscale(1);

    & iframe{
      width: 100% !important;
      height: auto !important;
      aspect-ratio: 16 / 6;
      min-height: 300px;
      
    }
  }
}

footer .law {
  margin-top: auto;
}

footer .law ul{
  list-style: none;
  display: flex;
  flex-direction: row;
  font-size: .8em;
}

footer .law ul li:nth-child(2)::before{
  content: '|';
  margin: 0 .25em;
}

footer .law ul a{
  /* font-family: var(--bold-font); */
  /* color: var(--color-dark); */
  text-decoration: none;
}

footer .law ul a:hover{
  /* color: var(--color-ci); */
}


@media screen and (max-width:768px){
  footer{
    flex-direction: column;

    & .map{
      width: 100%;
    }

    & .social{
      width: 100%;
      flex-direction: row;
      justify-content: space-between;
    }

    & .infobox{
      width: 100%;

      & address{
        padding: 1em;
      }

      & .contact{
        padding: 1em;
      }
    }
  }
}

/*
//
//
//
Posts
//
//
//
*/

.flex{
  display: flex;
  flex-direction: row;
  gap: var(--main-padding);
}

.flex > * {
  flex: 1; /* Ensures all children have equal width */
}

.postwrap{
  position: relative;

  & figure{
    & img{
      width: 100%;
      height: auto;
      aspect-ratio: 9 / 6;
      object-fit: cover;
      object-position: center;
    }
  }

  h2{
    font-size: clamp(1.25em, 5vw, 2em);
  }
}

#posthead{
  padding-right: 0;
  margin-top: -174px;
  padding-bottom: 0;

  & figure{

    border-bottom: var(--main-border);

    & img{
      width: 100%;
      height: 70vh;
      object-fit: cover;
      object-position: center center;
    }

    h1{
      margin-bottom: 0;
      padding: var(--main-fontsize) 0;
    }
  }
}



@media screen and (max-width:768px){

  .flex{
    flex-direction: column;
  }


  #posthead{
    padding-left: 0;
    margin-top: auto;
  
    & figure{
  
      & img{
        width: 100%;
        height: auto;
        object-fit: cover;
      }
  
      h1{
        margin-bottom: 0;
        padding: 1em;
      }
    }
  }
}



/*
//
//
//
Forms
//
//
//
*/

.gform-theme--api, .gform-theme--foundation{
  --gf-field-gap-x: var(--main-padding) !important;
  --gf-form-gap-x: var(--main-padding) !important;
}

.gform-theme--framework .gfield:where(.gfield--type-multiselect,.gfield--input-type-multiselect) .chosen-container-multi:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme--framework .gfield:where(.gfield--type-select,.gfield--input-type-select) .chosen-search input[type=text]:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme--framework .gfield:where(.gfield--type-select,.gfield--input-type-select) .chosen-single:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme--framework .gform-theme-field-control:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme--framework input[type]:where(:not(.gform-text-input-reset):not([type=hidden])):where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme--framework select:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme--framework select[multiple]:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme--framework textarea:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme--framework.gform-theme.gform_wrapper .button:where(:not(.gform-theme-no-framework)):where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme--framework.gform-theme.gform_wrapper .gform-theme-button:where(:not(.gform-theme-no-framework)):where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme--framework.gform-theme.gform_wrapper :where(:not(.mce-splitbtn))>button:not([id*=mceu_]):not(.mce-open):where(:not(.gform-theme-no-framework)):where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme--framework.gform-theme.gform_wrapper button.button:where(:not(.gform-theme-no-framework)):where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme--framework.gform-theme.gform_wrapper input:is([type=submit],[type=button],[type=reset]).button:where(:not(.gform-theme-no-framework)):where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme--framework.gform-theme.gform_wrapper input:is([type=submit],[type=button],[type=reset]):where(:not(.gform-theme-no-framework)):where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)), .gform-theme--framework.gform-theme.gform_wrapper input[type=submit].button.gform_button:where(:not(.gform-theme-no-framework)):where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)){
  border: 0 !important;
  border-bottom: var(--main-border) !important;
  font-size: 1em !important;
  padding: 1.5em 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

.gform-body input:focus,
.gform-body textarea:focus{
  border-color: var(--color-ci) !important;
}

.gform-body input[type="checkbox"]{
  border: var(--main-border) !important;
  aspect-ratio: 1 / 1 !important;
  width: 2em !important;
  padding: 1em !important;
}

.gform-body input[type="checkbox"]:active{
  border-color: var(--color-ci) !important;
}

.gform-theme--framework input[type=checkbox]:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)):checked::before, .gform-theme--framework input[type=radio]:where(:not(.gform-theme__disable):not(.gform-theme__disable *):not(.gform-theme__disable-framework):not(.gform-theme__disable-framework *)):checked::before{
  color: var(--color-ci) !important;
}

.ginput_container_consent{
    display: flex !important;
    align-items: center !important;
}

.gform_button{
  background: var(--color-ci) !important;
  color: var(--color-light);
  padding: 1em 2em !important;
  border: 0px !important;
  text-transform: uppercase !important;
  font-family: var(--display-font) !important;
  letter-spacing: .08em !important;
  font-size: 1em !important;
  clip-path: polygon( 0.00% 0.00%, 100% 0.00%, 100% 100%, 16.00% 100% ) !important;

  &:hover{
    background: var(--color-dark) !important;
  }
}

.gform-theme--foundation .gform_footer, .gform-theme--foundation .gform_page_footer{
  justify-content: flex-end !important;
}


/*Details*/


@media screen and (max-width: 1295px){
  .umgebungsrechner>.form{
    border-left: 0px;
    padding-left: 0px;
  }
}

@media screen and (max-width:768px){

  header{
    padding-top:2em;
    padding-bottom: 3em;
  }

  #posthead{
    padding-top: 0;
  }

  #posthead figure h1,
  #projekthead figure h1 {
    padding: .5em var(--main-fontsize);
  }

  .umgebungsrechner>.form{
    border-left: 0px;
    padding-left: 0px;
    overflow: hidden;
  }

  .filter{
    padding-left: 1em;
    padding-right: 1em;
  }

  .postwrap{
    margin-bottom: 1em;
  }

  .postwrap figure{
    margin-bottom: 0;
  }

  .postwrap h2{
    margin-bottom: 0;
  }

  .postwrap .btn{
    font-size: var(--main-fontsize);
  }

  #projectliste .projektprev .projektinfo {
    gap: 0;
  }

  #projectliste h2.mt-5{
    margin: 1em 0 0 0;
  }

  #projectliste .projektprev .hoverimg {
    transform: none;
    left: auto;
    right: 1em;
    top: 1em;
  }

  #gf_1{
    margin-top: 2em;
  }

}


/*Update 2024-08-27*/

main ul{
	padding: 0 0 0 1.25em;
	margin: 0;
}

.infoholder a{
	font-size: 1em;
}

.postwrap figure img {
	aspect-ratio: 1 /1;
}

.umgebungskategorie .price,
b, strong, .main small{
	font-weight: 800;
}


.umgebungskategorie>:not([data-total="0"]):before{
	top: 1.3em;
}

.wp-block-button__link, .btn, .gform_button, .projektinfo{
	font-weight: 800 !important;
	letter-spacing: normal !important;
	text-transform: none !important;
}

.filter{
	font-weight: 800;
}

.postwrap h2{
	font-size: clamp(1.25em, 5vw, 2vw);
	hyphens: auto;
}




@media (max-width:640px){
	.gform-theme--foundation .gfield--width-half+.gfield--width-half{
		padding-left: 0 !important;
	}
}

@media (max-width: 1200px){
	main>*{
		background: rgba(255,255,255,.8);
		box-shadow: 0 0 100px 100px rgba(255,255,255,.8);
	}
	.triangles{
		z-index: 0;
	}
}


#field_1_9 label{
	height: 30px;
}

.gform_button{
	width: 100% !important;
}
