/* @section =responsive design
-------------------------------------------------------------------*/
@media screen and (max-width: 359px) {
  .utilities .langnav {
    display: none;
  }

  #e2s {
    width: 100%;
  }

  #e2s ul {
    margin: 0;
    justify-content: space-evenly;
  }

  #e2s ul:first-of-type {
    width: 35%;
  }

  #e2s ul:last-of-type {
    width: 60%;
  }

  #header>.utilities {
    justify-content: center;
  }
}

@media screen and (min-width: 360px) {
  #nav .langnav {
    display: none;
  }
}

@media screen and (max-width: 479px) {
  footer .inner {
    display: block
  }
}

@media screen and (min-width: 480px) {
  .module_liste ul.kachel li.listitem {
    width: calc(50% - 20px);
    margin: 10px;
  }

  .footer-block {
    width: 50%
  }
}

@media screen and (max-width: 599px) {

  #e2s-textsize,
  #e2s-color {
    display: none;
  }

  .sticky-share {
    width: 43px
  }

  .sticky-share .title {
    width: calc(100% + 62px);
    position: relative;
    left: -31px;
  }

  .sticky-share h4 {
    opacity: 0
  }

  .sticky-share img {
    left: 50%;
    transform: translateX(-50%);
    padding: 10px
  }

  .sticky-share:hover .title {
    padding-left: 36px
  }

  .sticky-share:focus .title {
    padding-left: 36px
  }

  .sticky-share:focus-within .title {
    padding-left: 36px
  }
}

@media screen and (min-width: 600px) {
  .sticky-share {
    padding: 11px 26px 11px 36px;
  }

  .sticky-share img {
    margin: 0 10px 0 -10px;
  }

  footer .inner {
    width: 60%
  }
}

@media screen and (max-width: 719px) {
  .sticky-share {
    background-position: center;
  }

  .module_thema .thema-content.first{
    display: flex;
    flex-direction: column-reverse;
  }

  .module_thema .second .body:not(:first-of-type) {
    padding-top: 10px
  }

  .module_thema .thema-content picture img {
    max-height: 280px;
    width: 100%;
  }

  .module_thema .thema-content picture {
    display: flex;
    justify-content: center
  }

  .module_thema .third picture {
    margin-bottom: var(--20px);
  }

  .module_thema .swiper-slide .overview {
    flex-direction: column;
    margin-bottom: 20px;
    justify-content: center
  }

  .module_thema .swiper-slide h5 {
    margin-bottom: 0.1em
  }

  .module_thema .swiper-slide ul.img img {
    margin-bottom: 20px;
    max-height: 300px;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
  }

  .module_thema .swiper-slide>div>div {
    border-bottom: 1px solid #CECECE;
    width: 90%
  }

  .module_thema .swiper-slide>div>div:last-of-type {
    border-bottom: none
  }

  .module_thema .first .body::after {
    width: 100%;
    height: 13.4vw;
    background-image: url("/_assets/css/gfx/TriangleMobile.svg");
    left: 0;
    bottom: 0;
    transform: translateY(100%)
  }

  .transitions-wrap.article-grid {
    text-align: center;
  }

  .faq-list summary h3::before,
  .faq-list summary h3::after {
    right: 5%
  }

  .module_freepage .img_container {
    margin-bottom: 20px
  }

  .module_freepage img {
    max-width: min(100%, 500px);
  }

  tr {
    display: block;
    height: unset !important;
    padding: 20px 0;
    width: 100%;
  }

  tr.deadline {
    height: unset !important;
  }

  td {
    display: block;
    width: 100% !important;
  }

  td ul:not(.tarn){
    margin-inline: auto
  }

  /* .module_thema tr:first-of-type {
    border-top: 1px solid #CECECE
  } */

  .tr.flex {
    flex-direction: column;
    align-items: flex-start
  }

  table.glossar tr {
    height: unset;
  }

  ul.faq .listitem summary h3::before,
  ul.faq .listitem summary h3::after {
    right: 5%
  }
}

@media screen and (min-width: 720px) {
  #logo img {
    max-width: 220px;
  }

  body:not(.module_onepage):not(.module_thema) .module:not(.SLANTED) {
    margin: 0 auto;
    width: 70%;
  }

  .module_onepage>section.standard .cwrap {
    width: min(70%, 720px);
    margin: 0 auto;
  }

  .module_thema .introtext {
    padding: 70px 40px
  }

  .module_thema .first .body::after {
    width: 100px;
    height: 100%;
    background-image: url("/_assets/css/gfx/TriangleDesktop.svg");
    right: 0;
    top: 0;
    transform: translateX(100%);
    background-size: cover
  }

  .module_thema .swiper-slide .overview {
    margin: 0 auto 35px auto;
  }

  .module_thema .body,
  .module_thema .thema-content picture {
    display: inline-block;
    vertical-align: top;
  }

  .module_thema .body {
    width: 50%
  }

  .module_thema .thema-content {
    display: flex;
    justify-content: space-between
  }

  .module_thema .second.twoCol .body,
  .module_thema .third .body {
    width: 45%
  }

  .module_thema .thema-content picture {
    width: 50%
  }

  .module_thema .thema-content picture img {
    height: 100%
  }

  .module_thema .thema-content.third picture{
		text-align: right;
	}

  .module_thema .second picture {
    margin-right: 50px
  }

  .module_thema .swiper-slide ul.img {
    float: left;
    max-width: 50%;
    margin-right: 45px
  }

  .module_thema .swiper-slide ul.img img {
    max-width: 100%
  }

  .article-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-column-gap: 16px;
    margin: 0 auto;
  }

  .article-wrapper {
    width: min(90%, 1010px);
  }

  .article-wrapper .box {
    padding: 0
  }

  .faq-list summary h3::before,
  .faq-list summary h3::after {
    right: 2%
  }

  ul.faq .listitem summary h3::before,
  ul.faq .listitem summary h3::after {
    right: 2%
  }

  .module_freepage .img_container {
    float: left;
    width: 50%;
    margin: 0 50px 50px 0px;
  }

  td.title {
    width: 10%;
    padding-right: 30px
  }

  td.title~* {
    padding: 20px 0;
    margin: 0;
    width: 90%
  }

  td.title~hr {
    padding: 0
  }
}

@media screen and (min-width: 480px) and (max-width: 1023px) {
  .module_thema .thema-header picture img {
    height: 30vh
  }
}

@media screen and (min-width: 720px) and (max-width: 1023px) {
  .module_thema .overview>div {
    width: 50%
  }

  .module_thema .overview>div:first-of-type,
  .module_thema .overview>div:nth-of-type(2) {
    border-bottom: 1px solid #CECECE
  }

  .module_thema .overview>div:first-of-type,
  .module_thema .overview>div:nth-of-type(3) {
    border-right: 1px solid #CECECE
  }
}

@media screen and (min-width: 720px) and (max-width: 1399px) {
  .SLANTED .transitionelement {
    padding: 100px 70px 50px
  }

  /* .SLANTED .transitionelement:first-child {
    padding-top: 45px
  } */
}

@media screen and (max-width: 1023px) {
  #logo {
    position: absolute;
    top: 50%;
    transform: translate(0%, -50%);
  }

  #navwrap {
    width: 100vw;
    position: fixed;
    left: 0;
    top: 100px;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease-in-out;
    box-shadow: inset 0px 3px 6px rgba(0, 0, 0, 0.1607843137);
  }

  #navwrap .nav__list {
    padding: 25px;
  }
  
  #navwrap .nav__list li {
    padding: 10px 0;
    width: fit-content;
  }

  #navwrap .nav__list li:first-child {
    padding-top: 0;
  }
  #navwrap .nav__element.subnav::after{
    top: 1.1em;
		right: -15px;
	}

  #navwrap .nav__sub-list{
		margin-top: 20px;
	}

	#navwrap .nav__sub-list li:not(:last-child){
		margin-bottom: 0;
	}

  .cwrap_inner.img {
		width: 100% !important;
	}

  .module_transitions .triangle::before {
    width: 100%;
    height: 13.4vw;
    background-image: url("/_assets/css/gfx/shadowTriangleMobile.png");
    left: 0;
    bottom: 0;
    transform: translateY(100%);
    background-size: 100% 100%
  }

  .triangle::after {
    width: 100%;
    height: 13.4vw;
    background-image: url("/_assets/css/gfx/TriangleMobile.svg");
    left: 0;
    bottom: 1px;
    transform: translateY(100%)
  }

	.module_transitions .triangle::before {
		width: 100%;
		height: 13.4vw;
		background-image: url("/_assets/css/gfx/shadowTriangleMobile.png");
		left: 0;
		bottom: 0;
		transform: translateY(100%);
		background-size: 100% 100%
	}

	.module_transitions .triangle:last-of-type::before {
		content: none;
	}

  .SLANTED .transitionelement{
		box-shadow: 0px 5px 20px #00000029;
	}

  ol.projects .swiper-slide h4 {
    text-align: center;
    margin: 20px 0
  }

  td,
  th {
    display: block
  }


  .wysiwygtable td:not(:last-child) {
    border-bottom: 1px solid;
    padding-bottom: 20px;
    margin-bottom: 20px;
  }

  .default .wysiwygtable td {
    border-color: #9CC2E5
  }

  .wysiwygtable tr {
    padding: 0
  }
}

@media screen and (min-width: 1024px) {
  h1 {
    font-size: var(--43px);
  }

  h2 {
    font-size: var(--36px);
  }

  h3 {
    font-size: var(--24px);
  }

  #header {
    height: 130px;
  }

  #header .inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  #navanchor {
    display: none;
  }

  #navwrap {
    opacity: 1;
  }

  #navwrap .nav__list {
    display: flex;
    align-items: center;
  }

  #navwrap .nav__list li {
    padding: 0 20px;
  }

  #navwrap .nav__list li:last-child {
    padding-right: 0;
  }

  #navwrap .nav__container>.nav__list:not(.nav__sub-list)>li {
    line-height: 90px;
    margin-top: -1px;
  }

  #navwrap .nav__sub-list>li {
    line-height: 1.1 !important
  }

  #navwrap .nav__sub-list {
    position: absolute;
    background-color: #fff;
    padding: 30px;
    transform: translateX(-25%);
    left: 0;
    top: 90px;
    box-shadow: inset 0px 3px 3px rgba(0, 0, 0, 0.1607843137), 0px 3px 6px rgba(0, 0, 0, 0.1607843137);
    border-radius: 0px 0px 10px 10px;
  }

  #navwrap .nav__element.subnav::after{
		top: 2.6em;
	}

  #main {
    margin-top: 130px;
  }

  .module_onepage>section.standard {
    padding: 70px;
  }

  .module_onepage>section.standard .cwrap {
    width: 1000px;
    max-width: 1000px
  }

  .tlir .cwrap, .tril .cwrap {
    display: flex;
  }

  .tlir .cwrap .cwrap_inner:first-child {
    padding: 60px 115px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 50% !important;
  }

  .tlir .cwrap .cwrap_inner:last-child {
    width: 50%
  }

  .cwrap_inner.img {
		flex-shrink: 0;
    width: 50%;
	}

	.cwrap_inner.img ul.tarn img {
		width: 100%;
		object-fit: cover;
	}

  .triangle::after {
    width: 100px;
    height: 100%;
    background-image: url("/_assets/css/gfx/TriangleDesktop.svg");
    right: 2px;
    top: 0;
    background-size: cover;
    transform: translateX(100%)
  }

  .tlir .cwrap,
  .tril .cwrap {
    min-height: 422px;
    /* height: calc(50vh - 130px); */
  }

  .triangle:not(.SLANTED) {
    width: 100%;
  }

  .headeritem {
    padding: 50px 0
  }

  .module_thema .thema-content.first .body {
    padding: 100px 140px;
  }

  .module_thema .thema-content.first .body+picture {
    width: 50%
  }

  .module_thema .second {
    padding: 80px 40px;
  }

  .module_thema .second+.third {
    /* margin: 100px 0 60px 0 */
    margin: 0 0 60px 0;
  }

  .module_thema .third {
    margin: 0 0 60px 0
  }

  .module_thema .projects-wrap {
    padding: 75px 0 90px;
    width: 90%;
  }

  .module_thema .swiper-slide>div>div {
    text-align: center;
    border-right: 1px solid #CECECE;
    width: 25%;
    padding: 20px 30px
  }

  .module_thema .swiper-slide>div>div:last-of-type {
    border-right: none
  }

  .module_thema .swiper-slide .overview {
    padding: 15px 0
  }

  ol.projects .swiper-slide {
    width: 90vw;
    margin-right: 5vw;
  }

  /*ol.projects .swiper-slide{width: 90%; margin: 0 100px 0 0}*/
  ol.projects .swiper-slide>h4:first-of-type {
    position: relative;
    top: -38px;
    width: fit-content
  }

  .SLANTED .module_conf_head {
		margin-bottom: 70px
	}

	.SLANTED .transitions-wrap .transitions-wrap-inner {
		display: flex;
	}

  .SLANTED .transitionelement {
    width: 33.3%;
    padding: 60px;
    /* padding: 60px 10px 60px 80px; */
    box-shadow: 10px 0px 20px #00000029;
  }

  .SLANTED .transitionelement > .inner{
		height: 100%;
	}

	.SLANTED .transitionelement .bottom{
		padding-bottom: 60px;
		display: block;
	}

	.SLANTED .transitionelement .button.secondary{
		position: absolute;
		bottom: 0;
		left: 50%;
		transform: translateX(-50%);
		width: fit-content;
		display: block;
		min-width: 225px;
	}

  /* .SLANTED .transitionelement:first-child, .SLANTED .transitionelement:last-child {
    width: 10%;
    padding: 0;
  } */

  .module_transitions .triangle::before {
		height: 100%;
		width: 100px;
		background-image: url("/_assets/css/gfx/shadowTriangle.png");
		right: 0;
		top: 0;
		transform: translateX(calc(100% - 12px));
		background-size: 100% 110%
	}

  .module_transitions .triangle::after {
		background-image: none;
	}

  .transitionelement {
    margin-bottom: 50px
  }

  .module_article.template1 .box {
    display: flex;
    align-items: center
  }

  .module_article.template1 .box:nth-child(even) {
    flex-direction: row-reverse;
  }

  .module_article.template1 .box picture {
    width: 50%
  }

  .module_article.template1 .box picture img {
    min-width: 320px;
    height: auto;
  }

  .module_article.template1 .box:nth-child(odd) picture+.text-wrap {
    margin: 40px 0 0 100px;
  }

  .module_article.template1 .box:nth-child(even) picture+.text-wrap {
    margin: 40px 100px 0 0;
  }

  .article-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .module_article .img_container {
    max-width: 50%;
    float: right;
    margin: 0 0 50px 100px
  }

  .module_article .img_container li:not(:first-child) img {
    max-width: 260px;
  }

  .module_article #footer {
    margin-top: 50px
  }

  .module_freepage .img_container {
    margin: 0 100px 70px 0
  }

  .module_freepage #footer {
    margin-top: 100px
  }

  .module_liste ul.kachel li.listitem {
    width: calc(25% - 20px);
    margin: 10px;
  }

  #googlemap {
    float: right;
    margin-top: 20px;
    width: calc(100% - 770px)
  }

  th:not(:last-child)::after,
  td:not(:last-child)::after {
    content: "";
    width: 1px;
    height: calc(100% + 30px);
    position: absolute;
    right: 0;
    top: -15px;
  }

  footer .inner {
    align-items: center;
    width: calc(100% - 100px);
  }

  .footer-block:last-child {
    width: 377px
  }

  footer .nav__list {
    display: flex;
    align-items: center;
  }

  footer .nav__list li {
    padding: 0 15px;
  }

  footer .nav__list li:first-child {
    padding-left: 0;
  }

  footer .footer-block img {
    margin-left: 40px;
  }
}

@media screen and (max-width: 1399px) {

}

@media screen and (min-width: 1400px) {
  .module_thema .projects-wrap {
    width: 60%
  }

  ol.projects .swiper-slide {
    width: 60vw;
    margin-right: 20vw
  }

  .SLANTED .transitionelement {
		padding: 60px 90px 60px 120px;
	}


}