
html {
	font-family: 'Satoshi', sans-serif;
  font-weight: 400;
  color: #fff;
  background-color: deeppink;
}

* {
	margin: 0;
	padding: 0;
  border: none;
  outline: none !important;
  box-sizing: border-box;
}

.preload * {
 -webkit-transition: none !important;
 -moz-transition: none !important;
 -ms-transition: none !important;
 -o-transition: none !important;
}

a,
a:hover  {
  color: #fff;
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6, b, strong {
  font-family: 'Anton', serif;
  text-transform: uppercase;
  font-weight: 400;
  color: #fff;
}

#map {
  height: 100%;
  width: 100%;
  position: fixed !important;
}

header {
  /*position: fixed;
  width: 100%;*/
  position: sticky;
  top: 0;
  z-index: 1000;
}

.menu-active .logo h1 {
  transform: translateX(-15vw);
  transition: all .5s ease-in-out 0s;
}

.logo h1 {
  padding: 40px;
  text-indent: -9999px;
  margin: 0;
  transition: all .5s ease-in-out 0s;
}

.homepage header .logo h1 a {
  /*width: 300px;
  height: 151px;*/
  width: 600px;
  height: 303px;
  display: block;
  background: url(images/logo.png);
  background-repeat: no-repeat;
  background-position: center left;
  background-size: 100%;
  transition: all .5s 0s ease;
}

header.active .logo h1 a,
.contentpage header .logo h1 a  {
  width: 150px;
  height: 75px;
  display: block;
  background: url(images/logo.png);
  background-repeat: no-repeat;
  background-position: center left;
  background-size: 100%;
  transition: all .5s 0s ease;
}



.uk-navbar-nav>li>a,
.uk-navbar-item {
  color: #fff;
  font-family: 'Satoshi', sans-serif;
  font-weight: 400;
}

.uk-navbar-toggle {
  color: #fff;
}

.uk-offcanvas-bar ul li a {
  font-size: 1.4rem;
  color: #fff;
  text-transform: uppercase;
}

.uk-width-3-5\@s + .uk-width-1-5\@s {
  margin-left: 20%;
}

.hero-image {
  height: calc(100vh - 80px);
}

/*.title-container {
  width: 100%;
}*/

.title-container h1 {
  font-size: clamp(2.4rem, 1.3548rem + 4.6452vw, 6rem);
  margin-bottom: 2rem !important;
  text-align:center
}
@media screen and (max-width:640px) {
  .title-container h1 {
    margin-bottom: 7rem !important;
  }
}


.date-badge {
  font-size: .75rem;
  /*background: #000;
  color: #fff;*/
  padding: 5px 8px 5px 0;
  display: inline-block;
  text-transform: uppercase;
}

.news-links {
  border-top: 1px solid #000;
  padding: 1rem 0;
}

@media screen and (min-width:640px) {
  .news-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
}

.news-links a {
  text-transform: uppercase;
  font-size: .75rem;
  display: flex;
  align-items: center;
  line-height: initial;
}

.news-links a span {
  transition: all .5s 0s ease;
}

.news-links a:hover span {
  scale: 1.1;
  transition: all .5s 0s ease;
}


@media screen and (max-width: 640px) {
  .logo h1 a {
    background-size: 75%;
  }

  header .uk-sticky.uk-active .logo h1 a {
    background-size: 75%;
  }
}




/* TABELLE */

td.table-jahr {
  font-family: 'Satoshi', sans-serif;
  font-weight: 500;
}

.uk-table-divider>:first-child>tr:not(:first-child), .uk-table-divider>:not(:first-child)>tr, .uk-table-divider>tr:not(:first-child) {
border-top: 1px solid #4e4e4e;
}

@media screen and (max-width:640px) {
  td.table-title,
  td.table-projekt {
    font-size: 1.25rem;
  }

  .uk-table tr {
    display: block;
    border-bottom: 1px solid #000;
    padding: .5rem 0;
  }

  .uk-table tr:last-child {
    border-bottom: none;
  }

  .uk-table td {
    display: list-item;
    padding: 0;
    width: 100%;
  }
}

/* NEUES GRID */


@media screen and (min-width:640px) {
  .grid, .grid-odd, .grid-even {
    display: grid;
    align-items: flex-start;
    grid-template-columns: repeat(18, 1fr);
    grid-template-rows: auto;
    margin-bottom: calc(100vw / 18) !important;
  }

  .grid-section:nth-child(even) .grid-for-one,
  .grid-even .grid-for-one {
    grid-row: 1;
    grid-column: 1/span 6;
    display: grid;
    row-gap: 2rem;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(4,2rem);
  }

  .grid-section:nth-child(even) .grid-for-two,
  .grid-even .grid-for-two {
    grid-row: 1;
    grid-column: 7/span 12;
    display: grid;
    row-gap: 2rem;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto auto;
  }

  .grid-section:nth-child(odd) .grid-for-two,
  .grid-odd .grid-for-two {
    grid-row: 1;
    grid-column: 1/span 12;
    display: grid;
    row-gap: 2rem;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto auto;
  }

  .grid-section:nth-child(odd) .grid-for-one,
  .grid-odd .grid-for-one {
    grid-row: 1;
    grid-column: 11/span 8;
    display: grid;
    row-gap: 2rem;
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: repeat(4,2rem);
  }

  .grid-section:nth-child(even) .grid-for-two .grid-item:nth-child(1),
  .grid-even .grid-for-two .grid-item:nth-child(1) {
    grid-row: 1;
    grid-column: 7/span 6;
  }

  .grid-section:nth-child(even) .grid-for-two .grid-item:nth-child(1).portrait:has(+.portrait) {
    grid-row: 1;
    grid-column: 8/span 4;
  }

  .grid-even .grid-for-two .grid-item:nth-child(1) {
    grid-row: 1;
    grid-column: 6/span 6;
  }


  .grid-section:nth-child(even) .grid-for-two .grid-item:nth-child(2).landscape,
  .grid-section:nth-child(even) .grid-for-two .grid-item:nth-child(2) {
    grid-row: 2;
    grid-column: 3/span 9;
  }

  .grid-section:nth-child(even) .grid-for-two .grid-item:nth-child(2).portrait {
    grid-row: 2;
    grid-column: 3/span 6;
  }

  .grid-section:nth-child(even) .grid-for-two .grid-item:nth-child(1).portrait + .portrait {
    grid-row: 2;
    grid-column: 5/span 4;
  }

  .grid-even .grid-for-two .grid-item:nth-child(2) {
    grid-column: 3/span 6;
  }

  .grid-section:nth-child(even) .grid-for-one .grid-item:nth-child(1),
  .grid-even .grid-for-one .grid-item:nth-child(1) {
    grid-row: 3;
    grid-column: 1/span 6;
  }

  .grid-section:nth-child(odd) .grid-for-two .grid-item:nth-child(1) {
    grid-row: 1;
    grid-column: 1/span 6;
  }

  .grid-section:nth-child(odd) .grid-for-two .grid-item:nth-child(1).portrait:has(+.portrait),
  .grid-odd .grid-for-two .grid-item:nth-child(1) {
    grid-row: 1;
    grid-column: 1/span 4;
  }

  .grid-odd .grid-for-two .grid-item:nth-child(1) {
    grid-row: 1;
    grid-column: 1/span 6;
  }

  .grid-section:nth-child(odd) .grid-for-two .grid-item:nth-child(2),
  .grid-odd .grid-for-two .grid-item:nth-child(2) {
    grid-row: 2;
    grid-column: 3/span 7;
  }

  .grid-section:nth-child(odd) .grid-for-two .grid-item:nth-child(2).portrait {
    grid-row: 2;
    grid-column: 3/span 6;
  }

  .grid-section:nth-child(odd) .grid-for-two .grid-item:nth-child(1).portrait + .portrait {
    grid-row: 2;
    grid-column: 4/span 4;
  }

  .grid-odd .grid-for-two .grid-item:nth-child(2) {
    grid-row: 2;
    grid-column: 3/span 6;
  }

  .grid-section:nth-child(odd) .grid-for-one .grid-item:nth-child(1),
  .grid-odd .grid-for-one .grid-item:nth-child(1) {
    grid-row: 3;
    grid-column: 1/span 6;
  }

  .grid-section:nth-child(odd) .grid-for-one .grid-item:nth-child(1).portrait,
  .grid-odd .grid-for-one .grid-item:nth-child(1) {
    grid-row: 3;
    grid-column: 3/span 4;
  }

  .grid-section:nth-child(odd) .grid-1 > div .grid-item:nth-child(1).portrait {
    grid-row: 1;
    grid-column: 4/span 4;
  }

  .grid-section:nth-child(odd) .grid-2 .grid-for-two {
    grid-row: 1;
    grid-column: 1/span 18;
    display: grid;
    row-gap: 2rem;
    grid-template-columns: repeat(18, 1fr);
    grid-template-rows: auto auto;
  }

  .grid-section:nth-child(odd) .grid-2 .grid-for-two .grid-item:nth-child(1).portrait {
    grid-row: 1;
    grid-column: 2/span 4;
  }

  .grid-section:nth-child(odd) .grid-2 .grid-for-two .grid-item:nth-child(2).portrait {
    grid-row: 1;
    grid-column: 10/span 4;
    margin-top: calc(100vw / 18);
  }
}

@media screen and (max-width:640px) {
  .grid-item {
    margin-bottom: 1rem;
  }
}




/*
MENU
*/


#overlay {
  width: 33vw;
  height: 100lvh;
  position: fixed;
  padding: 3rem;
  top: 0px;
  right: 0px;
  background: #f2f2f2;
  z-index: 1020;
  transform: translateX(33vw);
  transition: all .5s ease-in-out 0s;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

#overlay ul {
  text-transform: uppercase;
  list-style-type: none;
  padding-left: 0;
}

#overlay h2,
#overlay p,
#overlay ul li,
#overlay a {
  color: #000 !important;
}

#overlay h2,
#overlay p,
#overlay ul {
  margin-bottom: 1rem;
}

.main-link {
  display: block;
  font-size: 2rem;
  padding: .5rem 0;
  transition: all .2s ease-in-out 0s;
}

.main-link:hover {
  transform: translateX(10px);
  transition: all .2s ease-in-out 0s;
}

body.menu-active #overlay {
  right:0px;
  transform: translateX(0);
  transition: all .5s ease-in-out 0s;
}

body.menu-active .page-wrapper {
  transform: translateX(-33vw);
  opacity: .5;
  transition: all .5s ease-in-out 0s;
}

body .page-wrapper {
  opacity: 1;
  transition: all .5s ease-in-out 0s;
}

.menu-wrapper {
  position: fixed;
  top: 0;
  right: 0;
  margin: calc(55px / 2);
  width: 25px;
  height: 25px;
  cursor: pointer;
  z-index: 1025;
}

.hamburger-menu,
.hamburger-menu:after,
.hamburger-menu:before {
  width: 25px;
  height: 3px;
}

.hamburger-menu {
  position: relative;
  transform: translateY(10px);
  background: #000;
  transition: all 0ms 300ms;
}
.hamburger-menu.animate {
  background: rgba(0, 0, 0, 0);
}

.hamburger-menu:before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 10px;
  background: #000;
  transition: bottom 300ms 300ms cubic-bezier(0.23, 1, 0.32, 1), transform 300ms cubic-bezier(0.23, 1, 0.32, 1);
}

.hamburger-menu:after {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  background: #000;
  transition: top 300ms 300ms cubic-bezier(0.23, 1, 0.32, 1), transform 300ms cubic-bezier(0.23, 1, 0.32, 1);
}

.hamburger-menu.animate:after {
  top: 0;
  transform: rotate(45deg);
  transition: top 300ms cubic-bezier(0.23, 1, 0.32, 1), transform 300ms 300ms cubic-bezier(0.23, 1, 0.32, 1);
}

.hamburger-menu.animate:before {
  bottom: 0;
  transform: rotate(-45deg);
  transition: bottom 300ms cubic-bezier(0.23, 1, 0.32, 1), transform 300ms 300ms cubic-bezier(0.23, 1, 0.32, 1);
}

.instagram img,
.facebook img {
  height: 30px;
  width: 30px;
}



@media screen and (max-width: 640px) {
  /*.text-bild {
    display: flex;
    flex-direction: column;
  }*/


  body.menu-active .page-wrapper {
    transform: translateX(-25vw);
    opacity: .5;
    transition: all .5s ease-in-out 0s;
  }

  body .page-wrapper {
    opacity: 1;
    transition: all .5s ease-in-out 0s;
  }


  #overlay {
    width: 100vw;
    transform: translateX(100vw);
  }
  }


  /* GANZ NEUES GRID */

  .new-grid {
    display: grid;
    align-items: flex-start;
    grid-template-columns: repeat(18, 1fr);
    grid-template-rows: auto auto auto;
    gap: 2rem;
    align-items: start;
  }

  .grid-section:nth-child(even) .new-grid .grid-item:nth-of-type(1) {
    grid-row: 1;
    grid-column: 2/span 6;
  }

  .grid-section:nth-child(even) .new-grid .grid-item:nth-of-type(2) {
    grid-row: 2;
    grid-column: 3/span 6;
  }

  .grid-section:nth-child(even) .new-grid .grid-item:nth-of-type(3) {
    grid-row: 1; /* Startet oben und geht bis zur Mitte */
    align-self: center; /* Zentriert es innerhalb seines Bereichs */
    grid-column: 10/span 6;
  }

  .grid-section:nth-child(odd) .new-grid .grid-item:nth-of-type(1) {
    grid-row: 1; /* Startet oben und geht bis zur Mitte */
    align-self: center; /* Zentriert es innerhalb seines Bereichs */
    grid-column: 2/span 6;
  }

  .grid-section:nth-child(odd) .new-grid .grid-item:nth-of-type(2) {
    grid-row: 1;
    grid-column: 12/span 6;
  }

  .grid-section:nth-child(odd) .new-grid .grid-item:nth-of-type(3) {
    grid-row: 2;
    grid-column: 8/span 6;
  }
