/*
================================================================================

								LAYOUT

================================================================================
*/

/*html :where([style*=border-color]) {
  border-style: none !important;
}*/


@view-transition {
  navigation: auto;
}

::view-transition-group(root) {
  animation-duration: 0.5s;
  animation-timing-function: ease;
}

/*::view-transition-old(root) {
  animation-name: slide-out;
}

::view-transition-new(root) {
  animation-name: slide-in;
}

@keyframes slide-out {
  to {
    translate: -100vw;
  }
}

@keyframes slide-in {
  from {
    translate: 100vw;
  }
}*/


/* -------------------------------  GLOBAL -------------------------------  */

* { box-sizing: border-box; }

html {
  height: 100%;
}

body {
  height: 100%;
}

img {
	display: inline-block;
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

.horizontal_limit {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 15px;
}

@media screen and (min-width: 600px) {
  .horizontal_limit {
    padding: 0 40px;
  }
}

@media screen and (min-width: 1200px) {
  .horizontal_limit {
    padding: 0 60px;
  }
}

iframe {
  border: 0;
}

.dotted_line_top {
  border-top: 1px dotted;
}

.dotted_line_bottom {
  border-bottom: 1px dotted;
}


/*body.home .dotted_line_top,
body.home .dotted_line_bottom {
  border-color: #fff;
}
*/



/* ------------------------------- 404 ------------------------------- */



body.error404 {
  background-color: #222;
}

body.error404 #main {
  min-height: 60%;
}

#bg404_video {
  position: fixed;
  right: 0;
  bottom: 0;
  min-width: 100%;
  min-height: 100%;
  z-index: -1000;
}

#viernullvier {
  position: fixed;
  bottom: 0;
  right: 0;
  background: url('../img/404-2.svg') center center no-repeat;
  background-size: contain;
  color: #f1f1f1;
  width: 100%;
  height: 100%;
  z-index: -900;
  opacity: 85%;
}



/* ------------------------------- not ready ------------------------------- */


.post.not-ready .post_featured_img {
  position: relative;
}

.post.not-ready .post_featured_img:after {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  background: rgba(255, 0, 0, 0.5);
  z-index: 1000;
}

/* =============================== PAGE SECTIONS =============================== */




/* ------------------------------- Site Header ------------------------------- */

#site_header {
  position: relative;
  height: 106px;
}

@media screen and (min-width: 640px) {
  #site_header {
    /*height: 150px;*/
  }
}

#logo {
  position: absolute;
  top: 32px;
  left: 15px;
  display: block;
  font-weight: 400;
}

@media screen and (min-width: 400px) {
  #logo {
    top: 30px;
  }
}

@media screen and (min-width: 600px) {
  #logo {
    left: 40px;
  }
}

@media screen and (min-width: 1200px) {
  #logo {
    left: 60px;
  }
}

#logo:hover {
  opacity: 0.6;
}




/* ------------------------------- Main ------------------------------- */

#main {
}



/* ------------------------------- Site Footer ------------------------------- */

#site_footer {
  min-height: 100px;
  margin-top: 90px;
}

#footer_content {
  padding: 20px 0;
}

#footer_bottom_line {
  text-align: center;
  font-size: 0.8em;
}

.footer_impressum,
.footer_year {
  display: inline-block;
  margin: 0 10px;
}





/* =============================== CONTENT ELEMENTS =============================== */





/* ------------------------------- Full Width Text Box ------------------------------- */

.fullwidth_textbox {
  margin: 0;
  padding: 20px 0 25px 0;
  margin-bottom: 80px;
}

.fullwidth_textbox_text {
  max-width: 800px;
  margin: 0 auto;
}

.fullwidth_textbox p {
  margin: 0;
}

.fullwidth_textbox h1 + .fullwidth_textbox_text p {
  margin-top: 20px;
}


/*.fullwidth_textbox h1 {
  margin-bottom: 35px;
}*/




/* ------------------------------- Posts => Featured Projects ------------------------------- */

.posts {
  display: flex;
  gap: 20px 3%;
  flex-wrap: wrap;
}

.post {
  position: relative;
  flex-basis: 100%;
  margin-bottom: 40px; 
  overflow: visible;
}


.post_featured_img {
  position: relative;
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  background-repeat: no-repeat;
  background-size: cover;
  margin-bottom: 16px;
  transition: all 0.25s;
}

/*.post:hover {
  opacity: 1 !important;
}*/

/*.post_leistung_lang {
  opacity: 0;
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  aspect-ratio: 1.24;
  padding: 20px;
  transition: all 0.25s;
}
*/
/*.post:hover .post_featured_img {*/
  /*transform: scale(1.015);*/
  /*opacity: 0.9;*/
/*  box-shadow: 0px 0px 7px 0px rgba(0,0,0,0.15);
}*/

/*body.home .post:hover .post_featured_img {
  box-shadow: 0px 0px 7px 0px rgba(0,0,0,1);
}*/



/*.post:hover .post_leistung_lang {
  opacity: 1;
  backdrop-filter: saturate(180%) blur(10px) brightness(0.5);
}*/



.post_titel {
  line-height: 1.2em;
  padding-bottom: 6px;
  font-weight: 400;
}

.post_zeile2, 
.post_zeile3 {
  font-size: 0.9rem;
  line-height: 1.3;
}

/*.post:hover .post_text {
  opacity: 0.7;
}*/

.fotocredit {
  position: absolute !important;
  bottom: 0; right: -10px;
  color: #bbb;
  font-family: Arial, sans-serif;
  font-size: 8px;
  line-height: 1;
  writing-mode: vertical-rl;
}



@media screen and (min-width: 600px) {
  .post {
    flex-basis: 48%;
  }
}


@media screen and (min-width: 1200px) {
  .post {
    flex-basis: 31%;
  }
}






/* =============================== PAGE TYPES =============================== */




/* ------------------------------- CATEGORY ------------------------------- */






/* ------------------------------- HOME ------------------------------- */

/*body.home {
  background-color: #222;
  color: #fff;
  border-color: #fff !important;
}*/

/*body.home #logo,
body.home a {
  color: #fff;
}*/

#hero_header {
  margin-bottom: 25px;
}


/* ------------------------------- PAGE > KUNDEN ------------------------------- */

table.kunden {
  width: 100%;
  hyphens: auto;
}

table.kunden tr {
/*  display: flex;*/
  vertical-align: top;
}

/*table.kunden tr.aktiv {
  color: #12a21d;
}*/

table.kunden tr.na {
  color: #ddd;
}

table.kunden {
  font-size: 0.9em;
}


table.kunden tr:first-of-type {
  font-size: 0.8em;
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 1px;
}

/*body.page #main table.kunden a {
  text-decoration: none;
}

body.page #main table.kunden a:hover {
  opacity: 0.5;
}*/

table.kunden td {
  border-bottom: 1px dotted #aaa;
  padding: 8px 0;
  vertical-align: middle;
}


table.kunden td.kunde_name,
table.kunden td.kunde_zeitraum,
table.kunden td.kunde_dauer,
table.kunden td.kunde_task {
  padding-right: 10px;
}

table.kunden td.kunde_logo {
  width: 11%;
  padding-left: 10px;
  padding-right: 40px;
  vertical-align: middle;
}

td.kunde_logo .kunde_logo_img {
  /*filter: grayscale(1);*/
  width: 78px;
  height: 24px;
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
}

td.kunde_name {
  width: 23%;
  font-weight: 600;
  /*background-color: rgba(255, 0, 0, 0.1);*/
}

.kunde_lang_text {
  font-weight: 300;
  font-size: 0.75em;
  color: #888;
}

td.kunde_zeitraum {
  width: 10%;
  text-align: center;

}

td.kunde_dauer {
  width: 5%;
  text-align: center;
  /*background-color: rgba(0, 255, 0, 0.1);*/
}

td.kunde_task {
  width: 23%;
  /*background-color: rgba(255, 0, 0, 0.1);*/
}

td.kunde_projekte {
  width: 23%;
  /*background-color: rgba(0, 0, 255, 0.1);*/
}

td.kunde_link {
  width: 5%;
  text-align: right;
}

.kunde_projekte a {
  display: block;
  padding-left: 21px;
  background-image: url('../img/eye.svg');
  background-size: 16px;
  background-position: left center;
  background-repeat: no-repeat;
}

.kunde_link a {
  display: inline-block;
  width: 16px; height: 16px; 
  background-image: url('../img/extlink.svg');
  background-size: 16px;
  background-position: center center;
  background-repeat: no-repeat;
}

.kunde_projekte a {
  margin-right: 20px;
}

table.kunden a:hover {
  opacity: 0.6;
}

@media screen and (max-width: 799px) {
  table.kunden {
    font-size: 0.7em;
    line-height: 1.2;
  }
  .kunde_projekte a {
    padding-left: 0;
    background: unset;
  }
  .kunde_link a {
    width: 14px; height: 14px; 
    background-size: 14px;
  }
  body.page-template-default #main a,
  body.page-template-kunden #main a {
    text-underline-offset: 2px;
  }
}


@media screen and (max-width: 599px) {
  table.kunden td.kunde_logo,
  table.kunden td.kunde_zeitraum,
  table.kunden td.kunde_dauer {
    display: none;
  }
}


/* ------------------------------- Filter > Branchen ------------------------------- */

.branchenfilter {
  margin-top: 30px;
}

.branchenfilter li {
  list-style-type: none;
  display: inline-block;

  text-transform: uppercase;
  font-size: 11.5px;
  font-weight: 400;
  border: 1px solid;
  border-radius: 8px;
  padding: 2px 6px;
  opacity: 0.35;
  transition: 0.3s all;
  cursor: pointer;
  margin-right: 10px;
  margin-bottom: 6px;
  transition: all 0.35s ease-in-out;
  max-height: auto;
  overflow: hidden;
}

.branchenfilter li:hover {
  opacity: 1;
}

.branchenfilter li.active {
  background-color: #333;
  color: #fff;
  opacity: 1;
}

table.kunden tr.hide {
  
}


/* ------------------------------- SINGLE PROJECT ------------------------------- */



/* ------------------------------- Bookmarks ------------------------------- */


.post_zeile1 {
  position: relative;
}

.simplefavorite-button {
  position: absolute;
  right: 0;
  top: 0;
  cursor: pointer;
  font-size: 0px;
  width: 24px;
  height: 24px;
/*  background: url('../img/bookmark-plus.svg') no-repeat;*/
  background-size: cover;
  background-color: red;
  mask-image: url('../img/bookmark-plus.svg');
}

.simplefavorite-button.active {
/*  background: url('../img/bookmark-check.svg') no-repeat;*/
  background-size: cover;
  background-color: red;
  mask-image: url('../img/bookmark-check.svg');
}




/* ------------------------------- Project Meta ------------------------------- */



body.single .post_zeile1 {
  border-bottom: 1px dotted;
  margin: 0 0 10px 0;
  padding-bottom: 10px;
}

body.single .post_zeile2 div {
  margin-bottom: 5px;
}

body.single .post_meta {
  margin-bottom: 40px;
}

body.single .post_zeile2 .post_block_2-1,
  body.single .post_zeile2 .post_block_2-2,
  body.single .post_zeile2 .post_block_2-3,
  body.single .post_zeile2 .post_block_2-4 {
    padding-top: 5px;
  }



@media screen and (min-width: 1400px) {

  body.single .post_meta {
    margin-bottom: 60px;
  }

  body.single .post_zeile1 {
    margin: 0;
    padding-bottom: 20px;
  }

  body.single .post_zeile2 div {
    margin-bottom: 0px;
  }

  body.single .post_zeile2 .post_block_2-1,
  body.single .post_zeile2 .post_block_2-2,
  body.single .post_zeile2 .post_block_2-3,
  body.single .post_zeile2 .post_block_2-4 {
    display: inline-block;
    padding-top: 20px;
  }

  body.single .post_block_2-1 + .post_block_2-2,
  body.single .post_block_2-2 + .post_block_2-3
   {
    padding-left: 30px;
    margin-left: 30px;
    border-left: 1px dotted;
  }

  body.single .post_zeitraum {
    float: right;
  }

  .post_url a {
    opacity: 0.5;
    text-decoration: none;
    transition: 0.3s all;
  }

  .post_url a:hover {
    opacity: 1;
  }

}




/* ------------------------------- Services ------------------------------- */

.post_services {
  margin-right: -12px;
}

.single_post .post_service {
  display: inline-block;
  text-transform: uppercase;
  font-size: 11.5px;
  font-weight: 400;
/*  border: 1px solid;
  border-radius: 8px;
  padding: 2px 6px;*/
  opacity: 0.5;
  transition: 0.3s all;
  cursor: pointer;
  margin-right: 12px;
  margin-bottom: 12px;
  text-decoration: none;
  text-underline-offset: 5px;
}

.post_service:hover {
  opacity: 1;
}

h1.taxonomy_title {
  text-transform: lowercase;
}


@media screen and (max-width: 1399px) {

  .single_post .post_service {
    border: 1px solid;
    border-radius: 8px;
    padding: 2px 6px;
  }

}



/* ------------------------------- Project Synopsis ------------------------------- */


.synopsis {
  border-bottom: 1px dotted;
  margin: 0;
  padding-bottom: 25px;
}

.synopsis .projekt_lead {
  font-size: 0.65em;
/*  font-family; Manrope, sans-serif;*/
  margin-top: 15px;
}

.synopsis .projekt_lead a {
  text-decoration: none;
}

.synopsis ul {
  list-style-position: inside;
}

@media screen and (min-width: 800px) {

  .synopsis {
    display: flex;
    padding-bottom: 0;
  }

  .synopsis_col > p:first-child,
  .synopsis_col > ul:first-child {
    margin-top: 0;
  }

  .synopsis ul {
    list-style-position: outside;
  }

  .synopsis_col {
    flex-basis: 50%;
    padding-bottom: 25px;
  }

  .synopsis_col.post_intro {
    padding-right: 40px;
  }

  .synopsis_col.leistung_lang {
    border-left: 1px dotted;
    padding-left: 40px;
  }

}


/* ------------------------------- Project Detail ------------------------------- */

.grid-wrapper {
  margin: 60px 0;
  display: grid;
  grid-gap: 30px;
  grid-auto-flow: dense;
  grid-template-columns: 1fr;
}

@media screen and (min-width: 600px) {
  .grid-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-wrapper .ratio_wide {
    grid-column: span 2;
  }
  .grid-wrapper .ratio_bid {
    grid-column: span 2;
    grid-row: span 2;
  }
}

@media screen and (min-width: 1200px) {
  .grid-wrapper.col_3 {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid-wrapper.col_4 {
    grid-template-columns: repeat(4, 1fr);
  }
}


.grid-wrapper div {
/*  background-color: #dadada;*/
}

.grid-wrapper img {
  width: 100%;
  object-fit: contain;
  object-position: top;
}

.content_block_bild {
  position: relative;
}


.grid-element .iframe_wrapper {
  position: relative;
  display: inline-block;
}


.grid-wrapper .ratio_tall {
  grid-row: span 2;
}

.grid-element.typ_web div,
.grid-element.typ_web_shadow div {
    border-top: 0px;
    padding-top: 18px;
    background-image: url('../img/Browser-Bar.svg');
    background-size: 2000px;
    background-repeat: no-repeat;
    border: 1px solid #dedede;
    border-radius: 5px;
}

.grid-element.typ_web_shadow div {
-webkit-box-shadow: 0 8px 16px -2px rgba(0,0,0,0.2);
box-shadow: 0 8px 16px -2px rgba(0,0,0,0.2);
}

.grid-element.typ_web img {
/*    box-shadow: 0 0 5px 2px rgba(0,0,0,0.2);*/
}

.grid-element.typ_video video {
    width: 100%;
}

.grid-element.typ_page_tall,
.grid-element.typ_page_tall div,
.grid-element.typ_page_wide,
.grid-element.typ_page_wide div,
.grid-element.typ_page,
.grid-element.typ_page div {
    position: relative;
}

.grid-element.typ_page_tall div:after,
.grid-element.typ_page_wide div:after,
.grid-element.typ_page div:after {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    content: '';
    background-color: rgba(52, 117, 200, 0.048);
}

.grid-element.typ_page_tall:after {
    height: 50px;
    display: block;
    content: '';
    background: url('../img/einzelseiten_schatten_650.png') no-repeat center 0;
    background-size: 100% 70%;
    opacity: 0.75;
}

.grid-element.typ_page_wide:after {
    height: 50px;
    display: block;
    content: '';
    background: url('../img/doppelseiten_schatten_1300.png') no-repeat center 0;
    background-size: 100% 70%;
    opacity: 0.75;
}

.grid-element.typ_page_wide div:after {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    content: '';
    background: url('../img/doppelseiten_bug_t_1300.png') repeat-y center 0 rgba(52, 117, 200, 0.06);
    background-size: 100%;
    opacity: 0.6;
}

.grid-element.typ_text {
  font-size: 1.1em;
  line-height: 1.5;
  max-width: 600px;
  padding-top: 3em;
  padding-bottom: 3em;
}

.grid-element.typ_text .typ_text_titel {
  font-weight: 500;
  margin-bottom: 20px;
}



/* ------------------------------- Ähnliche Projekte ------------------------------- */

#ahnliche_projekte {
  margin-top: 150px;
  padding: 40px 0;
}

#ahnliche_projekte_liste {
  padding-top: 40px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 20px 40px;
}

.aehnliches_projekt {
  flex-basis: auto;
  display: block;
  width: 200px;
}

.aehnliches_projekt_thumbnail {
  background-position: center center;
  background-repeat: no-repeat;
  width: 200px;
  height: 160px;
  transition: all .4s;
}

.aehnliches_projekt:hover .aehnliches_projekt_thumbnail {
  box-shadow: 0px 0px 7px 0px rgba(0,0,0,0.15);
  transform: scale(1.03);
}

.aehnliches_projekt_titel {
  line-height: 1.2;
  margin-top: 15px;
}

.aehnliches_projekt:hover .aehnliches_projekt_titel {
  opacity: 0.7;
}





/* -------------------------------  Content Blocks -------------------------------  */




.two-cols-column {
  width: 100%;
  flex-shrink: 0;
}

@media screen and (min-width: 600px) {
  .two-cols {
    display: flex;
    gap: 40px;
    align-items: top;
  }
  .two-cols-column {
    width: 50%;
  }
}

@media screen and (min-width: 800px) {
  .two-cols {
    align-items: center;
  }

}



.block_abstand {
  margin-top: 40px;
}


.block_trenner {
  margin-top: 70px;
  border-top: 1px dotted #000;
  padding-top: 50px;
}







/* -------------------------------  Rejected -------------------------------  */

#main {
  position: relative;
}

/*body.category-rejected #main::before*/

body #rejected {
  display: none;
}

body.category-rejected #rejected {
  content: "";
  display: block;
  position: absolute;
  top: 0; right: 50px;
  width: 200px; height: 120px;
  background-image: url(https://christoph-glatz.info/wp-content/uploads/rejected_800.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: top right;
  z-index: 800;
}




