@charset "UTF-8";
/* CSS Document */

:root {
  --wissenschaft: 130, 217, 97;
  --wissenschaft-rgb: rgb(var(--wissenschaft));
  --kultur: 255, 102, 61;
  --kultur-rgb: rgb(var(--kultur));
  --kommunikation: 93, 200, 255;
  --kommunikation-rgb: rgb(var(--kommunikation));
  font-size: 2.2vw;
}

.wissenschaft {color: rgb(var(--wissenschaft))}
.kultur {color: rgb(var(--kultur))}
.kommunikation {color: rgb(var(--kommunikation))}


html {
  background-color: #000;
  margin: 0;
  overflow-x: hidden;
}

body {
  font-family: "new-hero", sans-serif;
  font-weight: 400;
  font-style: normal;
  color: #fff;
  background: #1e2041;
  background: linear-gradient(#000 0%, #1e2041 33vw, #1e2041 80%,   #000 100%);
  margin: 0;
  width: 100vw;
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  opacity: .6;
}


strong {
  font-weight: 800;
}

.mainheader {
  width: 85vw;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-top: 6vw;
}

.mainheader .logo {
  flex: 4;
  order: 2
}

.mainheader h1 {
  font-weight: 600;
  font-size: 3.3rem;
  margin: 0;
}

.mainheader p {
  font-weight: 200;
  font-size: 2.5rem;
  margin: 0;
}

.sprache {
  position: absolute;
  top: 2rem;
  left: 3.5rem;
  font-size: 1.3rem;
  display: none;
}



main {
  width: 100vw;
  padding-bottom: 10rem;
  font-size: 2.3rem;
  font-weight: 200;
  line-height: 1.4em;
  overflow: hidden;
}

.hero {
  width: calc(85vw);
  margin: 5rem auto;
  padding: 0 1.5rem;
}

.hero p {
  font-size: 2.8rem;
  font-weight: 300;
  margin: .2em 0;
  padding: .4em 0;
  white-space: nowrap;
  overflow-x: hidden;
  width: 0;
}

.hero p.zeile1 {
  animation: textschreiben 1.5s steps(44) forwards;
}

.hero p.zeile2 {
  animation: textschreiben 1.5s steps(44) .9s forwards;
}

.hero p.zeile3 {
  animation: textschreiben 1.5s steps(44) 1.8s forwards;
}

.hero img {
  width: 100%;
  clip-path: polygon(
    0 0,      /* oben links */
    100% 0,   /* oben rechts */
    100% 84%, /* unten rechts – nach links verschoben */
    0 100%    /* unten links */
  );
}


@keyframes textschreiben {
  0% {
    opacity: 1;
    color: yellow;
  }
  100% {
    width: 30ch;
    color: #fff;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero p {
    width: auto !important;
    opacity: 1 !important;
    animation: none !important;
  }
}

.main__sub .hero h2 {
  text-transform: uppercase;
  font-size: 2.5rem;
  font-weight: 500;
  line-height: 1.2em;
  letter-spacing: .05em;
  margin: 0;
}


.main__sub .hero p {
  font-size: 2.4rem;
}

.main__home .workareas {
  width: calc(85vw + 3rem);
  margin: 0 auto;
  display: grid;
  grid-template-row: 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 4rem;
}

.main__home .workareas > a {
}

.main__home .workareas div {
  padding: 1.5rem;
  height:  calc(100% - 3rem);
  border-radius: .2rem;
}

.main__home .workareas h2 {
  font-size: 2.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  line-height: 1.3em;
  margin: 0;
}

.main__home .workareas h2 br {
  display: block;
}

.main__home .wa-wissenschaft{
  background-color: rgba(var(--wissenschaft),.2);
  color: rgb(var(--wissenschaft));
}

.main__home .wa-kultur{
  background-color: rgba(var(--kultur),.2);
  color: rgb(var(--kultur));
}

.main__home .wa-kommunikation{
  background-color: rgba(var(--kommunikation),.2);
  color: rgb(var(--kommunikation));
}

.main__home .workareas p {
  color: #fff;
  font-weight: 100;
  font-size: 2.4rem;
  line-height: 1.4em;
  margin: .2em 0 0 0;
}

.main__home .workareas strong {
  font-weight: 600;
}

.main__kontakt .hero p {
  width: auto;
  white-space: normal;
  color: rgb(var(--kommunikation));
}

.main__kontakt .hero p:last-of-type {
  color: #fff;
}

.aufklapp {
  margin: 6rem 0;
}


.aufklapp input {
  display: none; /* Hide the checkbox */
}

.aufklapp label {
  width: 85vw;
  margin: 0 auto;
  display: block;
  background-color: rgba(var(--wissenschaft), .3);
  color: rgba(var(--wissenschaft), 1);
  font-weight: 600;
  padding: 1rem 1.5rem;
  position: relative;
  transform: rotate(-2deg);
}

.aufklapp label::after {
  position: absolute;
  right: .8em;
  top: 0;
  height: 1em;
  width: 1em;
  content: '';
  border: solid rgb(var(--wissenschaft));
  border-width: 0 .25rem .25rem 0;
  display: inline-block;
  padding: 3px;
  transform: rotate(45deg);
}

.aufklapp input:checked + label::after  {
  transform: rotate(-135deg);
  top: .8em;
}

.aufklapp .content {
  max-height: 0; /* Initially hide content */
  overflow: hidden; /* Prevent overflow */
  transition: max-height 0.5s ease; /* Smooth transition */
  padding: 0 1.5rem;
  position: relative;
}

.aufklapp .content img {
  width: 100%;
  margin: 1em 0 0 0;
  border-radius: .5em;
}

.aufklapp .content label {
  position: absolute;
  right: .8em;
  bottom: -0.5em;
  height: 1em;
  width: 1em;
  content: '';
  background-color: transparent;
  transform: rotate(-180deg);
}

.aufklapp input:checked + label + .content {
    max-height: 120ch; /* Show content when checked */
}

main .text {
  width: 85vw;
  margin: 0 auto;
  padding: 0 1.5rem;
}

main .text a {
  color: color-mix(in srgb, var(--kommunikation-rgb), white 30%);
}

.projekte {
  width: 100vw;
}

.projekte article {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 7fr 3fr;
  grid-template-rows: 18vw  45vw 24vw 18vw;
  margin-bottom: 6rem;
}

.projekte article header {
  text-align: right;
  grid-column-start: 1;
  grid-column-end: 2;
  grid-row-start: 1;
  grid-row-end: 2;
  align-self: end;
  line-height: 1.3em;
}

.projekte article .img_gross {
  grid-column-start: 1;
  grid-column-end: 2;
  grid-row-start: 2;
  grid-row-end: 4;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.projekte article .img_klein {
  grid-column-start: 2;
  grid-column-end: 3;
  grid-row-start: 3;
  grid-row-end: 6;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.projekte article .info {
  grid-column-start: 1;
  grid-column-end: 2;
  grid-row-start: 4;
  grid-row-end: 6;
  width: 100%;
  height: 100%;
  object-fit: cover;
  text-align: right;
}

.projekte article:nth-child(2n) {
  grid-template-columns: 3fr 7fr;
}

.projekte article:nth-child(2n) header {
  text-align: left;
  grid-column-start: 2;
  grid-column-end: 3;
}

.projekte article:nth-child(2n) .img_gross {
  grid-column-start: 2;
  grid-column-end: 3;
}

.projekte article:nth-child(2n) .img_klein {
  grid-column-start: 1;
  grid-column-end: 2;
  grid-row-start: 1;
  grid-row-end: 3;
}

.projekte article:nth-child(2n) .info {
  grid-column-start: 2;
  grid-column-end: 3;
  text-align: left;
}


.projekte article header h3 {
  font-size: 2.4rem;
  font-weight: 400;
  margin: 0;
}

.projekte article header p {
  font-style: italic;
  font-size: 1.8rem;
  font-weight: 100;
  margin: 0;
}

.projekte article .info p {
  margin: 0;
  line-height: 1.6em;
}
.projekte article .info-1 {
  font-size: .9rem;
}

.projekte article .info-2, .projekte article .info-3 {
  font-size: .7rem;
}

.projekte article .info-3 {
  opacity: .5;
}


/* menue */
.navigation {
  position: relative;
  z-index: 100;
  top: 1rem;
  flex: 1;
  order: 1;
  font-size: 1.3rem;
}

label.menue {
   display: block;
   position: relative;
   float: right;
   width: 3em;
   height: 3em;
}

input#menue {display:none}


.line {
   position: absolute;
   height: .35em; width: 3em;
   background: #fff;
   display: block;
   transition: 0.5s;
   transform-origin: center;
}

.line:nth-child(1) { top: .6em; }
.line:nth-child(2) { top: 1.7em; }
.line:nth-child(3) { top: 2.8em; }

#menue:checked + .menue .line:nth-child(1){
   transform: translateY(1.18em) rotate(-45deg);
}

#menue:checked + .menue .line:nth-child(2){
   opacity:0;
}

#menue:checked + .menue .line:nth-child(3){
   transform: translateY(-1em) rotate(45deg);
}

nav.topmenue{
  position: absolute;
  width: 85vw;
  height: auto;
  max-height:0;
  overflow: hidden;
  transition: all 0.5s;
  font-size: 1.7em;
  text-align: right;
  color: #fff;
  right: -1.5rem;
  top: 6.7rem;
  background: rgba(0,0,0, .9);
  padding: 0 1.5rem;
}

#menue:checked + .menue  + nav.topmenue {
    max-height: 600px;
}

nav.topmenue ul {
  list-style: none;
  margin: .5em 0;
}

nav.topmenue li {
  padding: .25em 0;
}

nav.topmenue a{
text-decoration: none;
}

footer {
  width: 85vw;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  font-size: 1,5rem;
  font-weight: 200;
}

footer a {
  margin: 0 .5em;
}

@media (min-width: 768px) {
  :root {
    font-size: 1.2vw;
  }
  .mainheader {
    width: 70vw;
    margin-top: 8vw;
    flex-direction: row;
  }
  
  .mainheader .logo {
    order: 1;
  }
  
  .mainheader h1 {
    font-size: 2.1rem;
  }
  
  .mainheader p {
    font-size: 2rem;
  }
  
  .navigation {
    order: 2;
    font-size: 1.1rem;
  }
  
  nav.topmenue {
    width: auto;
  }
  
  nav.topmenue li {
    white-space: nowrap;
  }
  
  .sprache {
    left: auto;
    right: 5rem;
  }
  
  
  
  main {
    width: 100vw;
    line-height: 1.3em;
  }
  
  .hero {
    width: 70vw;;
    padding: 0 1rem;
  }
  
  .hero p {
    font-size:  2.1rem;}
  
  .main__home .workareas {
    width: calc(70vw + 2rem);
    grid-template-columns: 1fr 1fr 1fr;
    gap: .9rem;
  }
  
  .main__home .workareas div {
    padding: .9rem;
    height:  calc(100% - 2rem);
  }
  
  .main__home .workareas h2 {
    font-size: 1.2rem;
  }
  .main__home .workareas h2 br {
    display: block;
  }
  
  .main__home .workareas p {
    font-size: 1.1rem;
  }
  
  .main__sub .hero h2 {
    font-size: 2rem;
  }
  
  .main__sub .hero p {
    font-size: 1.9rem;
    margin: .1em 0;
  }
  
  main .text  {
    width: calc(70vw - 6rem);
    font-size: 1.8rem;
    padding: 0 7rem 0 1rem;
  }
  
  .aufklapp {
    margin: 4rem auto;
    width: 50vw;
  }
  
  .aufklapp label {
    width:  calc(100% - 1em);
    display: inline-block;
    padding: .3em .5em .3em .5em;
    font-size: 2rem;
  }
  
  .aufklapp label::after {
    right: 1em;
  }
  .aufklapp .content {
    font-size: 1.5rem;
    line-height: 1.4em;
    width:  calc(100% - 3rem);
  }
  
  .aufklapp .content label {
    right: 1em;
    bottom: 0;
  }
  
  .aufklapp .content img {
    width: 70%;
  }
  
  .aufklapp .content p:last-of-type {
    margin-bottom: 3rem;
  }
  
  .projekte {
    width: 80vw;
    margin: 0 auto;
    padding-top: 5rem;
  }
  
  .projekte article {
    grid-template-columns: 25fr 25fr 25fr 25fr;
    grid-template-rows: 14vw 11vw 17vw;
  }
  
  .projekte article:nth-child(2n) {
    grid-template-columns: 25fr 25fr 25fr 25fr ;
    grid-template-rows: 10vw 15vw 11vw;
  }
  
  .projekte article header {
    text-align: left;
    grid-column-start: 3;
    grid-column-end: 5;
    grid-row-start: 1;
    grid-row-end: 2;
  }
  
  .projekte article:nth-child(2n) header{
    text-align: right;
    grid-column-start: 1;
    grid-column-end: 3;
  }
  
  .projekte article header h3 {
    font-size: 2.2rem;
  }
  
  .projekte article .img_gross {
    grid-column-start: 1;
    grid-column-end: 3;
    grid-row-start: 1;
    grid-row-end: 3;
  }
  
  .projekte article:nth-child(2n) .img_gross {
    grid-column-start: 3;
    grid-column-end: 5;
  }
  
  .projekte article .img_klein {
    grid-column-start: 3;
    grid-column-end: 4;
    grid-row-start: 2;
    grid-row-end: 4;
  }
  
  .projekte article:nth-child(2n) .img_klein {
    grid-row-start: 2;
    grid-row-end: 4;
    grid-column-start: 2;
    grid-column-end: 3;
  }
  
  .projekte article .info {
    grid-row-start: 3;
    grid-row-end: 4;
    grid-column-start: 1;
    grid-column-end: 3;
  }
  
  .projekte article:nth-child(2n) .info {
    text-align: left;
    grid-row-start: 3;
    grid-row-end: 4;
    grid-column-start: 3;
    grid-column-end: 5;
  }

  footer {
    font-size: .8rem;
    margin-bottom: 3rem;
    opacity: .6;
  }
}

@media (min-width: 1024px) {
    /* desctop */
}

@media (min-width: 1440px) {
    /* desctop */
}
