@font-face {
  font-family: 'Satoshi';
  src: url('assets/fonts/Satoshi-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
 font-family: 'Satoshi';
 font-weight: 400;
 font-style: italic;
 src: url('assets/fonts/Satoshi-Italic.ttf') format('truetype');
}

@font-face {
 font-family: 'Satoshi';
 font-weight: 500;
 font-style: normal;
 src: url('assets/fonts/Satoshi-Medium.ttf') format('truetype');
}

@font-face {
 font-family: 'Satoshi';
 font-weight: 700;
 font-style: normal;
 src: url('assets/fonts/Satoshi-Bold.ttf') format('truetype');
}

@font-face {
 font-family: 'Satoshi';
 font-weight: 700;
 font-style: italic;
 src: url('assets/fonts/Satoshi-BoldItalic.ttf') format('truetype');
}

@font-face {
  font-family: 'DM Serif Display';
  src: url('assets/fonts/DMSerifDisplay-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
 font-family: 'DM Serif Display';
 font-weight: 400;
 font-style: italic;
 src: url('assets/fonts/DMSerifDisplay-Italic.ttf') format('truetype');
}

:root {
  --base-color: #000000;
  --accent-color: #FF4E5F;
  --hightlight-color: #FFD560;
}

html {
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

html, body, p {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  font-family: "Satoshi";
  font-weight: 400;
  color: var(--base-color);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  color: white;
  background-color: var(--accent-color);
}

main {
  padding: 0 2rem;
}

a {
  display: block;
  text-decoration: none;
  color: var(--base-color);
  font-size: 1rem;
}

a:hover {
  color: var(--accent-color);
}

h1, h2 {
  font-family: "DM Serif Display";
  font-weight: 400;
  line-height: 1.2;
  margin: 0;
}

h1 {
  font-size: 4rem;
}

h2 {
  font-size: 3rem;
}

h1 span,
h2 span {
  color: var(--accent-color);
}

h2 span {
  font-style: italic;
}

h3 {
  font-family: "Satoshi";
  font-weight: 500;
  font-size: 1rem;
  color: rgba(0,0,0,.3);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin: 0 0 1.5rem 0;
}

hr {
  opacity: .2;
  margin: 0;
}

header {
  position: fixed;
  padding: 3rem 4rem;
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  z-index: 1;
  background: rgba(255,255,255,.8);
  backdrop-filter: saturate(180%) blur(20px);
  transition: .3s cubic-bezier(0,0,0.5,1);;
  border-bottom: 1px solid rgba(0,0,0,0);
}

header.header--small {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(0,0,0,.075);
}

.logo {
  font-family: "DM Serif Display";
  font-size: 2rem;
  line-height: 1.2;
  user-select: none;
}

.logo span {
  color: var(--accent-color);
}

nav.menu {
  display: flex;
  gap: 3rem;
}

nav.menu a {
  position: relative;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transition: .3s cubic-bezier(0,0,0.5,1);
  font-weight: 500;
}

.menu a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -0.5rem;
  transform: translateX(-50%);
  width: 2rem;
  height: 1.5px;
  background: var(--accent-color);
  opacity: 0;
  transition: .3s cubic-bezier(0,0,0.5,1);;
}

.menu a:hover::after {
  bottom: -0.75rem;
  opacity: 1;
}

main {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.content-width {
  width: 100%;
  max-width: 1240px;
}

/* STAGE */

.stage {
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 10rem 0 10rem 0;
  border-bottom: 1px solid rgba(0,0,0,.1);
  height: 100vh;
  min-height: 960px;
}

.stage-image {
  position: relative;
  width: 480px;
  height: 640px;
}

.stage-image img {
  display: block;
  width: 100%;
  height: auto;
}

.stage-badge {
  position: absolute;
  top: 5rem;
  left: -4rem;
  z-index: 1;
  opacity: 0;
  animation: badge-in .375s .5s ease-out forwards;
}

.stage-badge img {
  display: block;
  width: 128px;
  height: 128px;
  animation: badge 10s linear infinite;
}

@keyframes badge-in {
  0% {transform: scale(0.5); opacity: 0;}
  100% {transform: scale(1); opacity: 1;}
}

@keyframes badge {
  0% {transform: rotate(0deg);}
  100% {transform: rotate(360deg);}
}

.stage-text {
  display: flex;
  flex-direction: column;
  width: calc(100% - 480px);
  padding-left: 6vw;
  gap: 2rem;
}

.stage-headline,
.stage-subtext {
  width: 100%;
}

.stage-subtext {
  font-size: 1.5rem;
  line-height: 1.6;
}

/* CASES */

.cases {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  padding: 7.5rem 0;
  border-bottom: 1px solid rgba(0,0,0,.1);
}

.cases-overview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.case {
  transition: transform 0.3s cubic-bezier(0,0,0.5,1);
  cursor: pointer;
}

.case-inner {
  transition: transform 0.3s cubic-bezier(0,0,0.5,1);
}

.case:hover .case-inner {
  transform: scale(1.025);
}

.case:hover .case-title {
  color: var(--accent-color);
}

.case-image {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  width: 100%;
  max-height: 560px;
}

.case-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  object-position: 50% 50%;
}

.case-title {
  margin-top: 1rem;
  font-size: 1.125rem;
  font-weight: 500;
}

.case-title span {
  font-weight: 400;
  font-style: italic;
}

/* ROADMAP */

.roadmap {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  padding: 7.5rem 0;
}

.stations {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.station-row {
  position: relative;
  display: flex;
  gap: 2rem;
  flex-direction: row;
  margin-top: 2rem;
}

.station-date {
  font-size: 1rem;
  font-weight: 700;
  width: 33%;
  padding-top: 0.25rem;
}

.station-description {
  font-size: 1.125rem;
  line-height: 1.6;
  width: 66%;
}

/* MODAL */

.modal {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  opacity: 0;
  pointer-events: none;
  transition: .6s ease;
  justify-content: center;
  background: rgba(0,0,0,0.48);
  backdrop-filter: blur(20px);
  overflow-y: scroll;
  padding: 4rem 2rem;
}

.modal.show {
  display: flex;
  opacity: 1;
  pointer-events: auto;
}

.modal.closing {
  transition: none;
}
.modal.closing .modal-content {
  transition: none;
}

.modal-content {
  position: relative; /* statt absolute */
  width: 100%;
  max-width: 1280px;
  background: white;
  padding: 5rem;
  align-self: flex-start;
}

.modal-header {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 3.5rem;
  height: 3.5rem;
  cursor: pointer;
  padding: 1rem;
  -webkit-user-select: none;
  user-select: none;
}

.modal-close:hover svg path {
  stroke: red;
}

.modal-header {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.modal-title {
  display: flex;
  flex-direction: column;
  gap: .25rem;
}

.modal-topline {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(0,0,0,.3);
}

.modal-headline {
  font-family: "DM Serif Display";
  font-size: 2.5em;
  line-height: 1.3;
}

.modal-description {
  font-size: 1.25rem;
}

.modal-facts {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.25rem;
  margin-bottom: 4rem;
}

.modal-facts a {
  font-weight: 500;
  font-size: 1.25rem;
  text-decoration: underline;
}

.modal-body {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.modal-row,
.modal-row-2,
.modal-row-3 {
  display: grid;
  gap: 1.5rem;
}

.modal-row-2 {
  grid-template-columns: repeat(2, 1fr);
}

.modal-row-3 {
  grid-template-columns: repeat(3, 1fr);
}

.modal-column img,
.modal-column video {
  display: block;
  width: 100%;
  height: auto;
}

/* FOOTER */

footer {
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 7.5rem 0 0 0;
  width: 100%;
  background: var(--accent-color);
}

.footer-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  max-width: 800px;
  padding: 0 2rem 7.5rem 2rem;
}

.footer-text a {
  display: flex;
  font-family: "DM Serif Display";
  font-size: 4rem;
  line-height: 1.2;
  text-decoration: solid underline white 5px;
  text-underline-offset: .5rem;
  color: white;
  text-align: center;
  user-select: none;
}

.footer-text a:hover {
  text-decoration-color: #FFD560;
}

.footer-text p {
  font-size: 1.5rem;
  line-height: 1.4;
  color: white;
  text-align: center;
}

.footer-text span {
  font-weight: 700;
  font-style: italic;
}

.footer-text p::selection,
.footer-text p span::selection,
.footer-base p::selection,
.footer-base a::selection {
  color: var(--accent-color);
  background-color: white;
}

.footer-base {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 5.5rem;
  padding: 0 2rem;
  background: rgba(0,0,0,.05);
  border-top: 1px solid rgba(0,0,0,0.05);
}

.footer-base p,
.footer-base a {
  color: white;
  font-size: 1.125rem;
}

.footer-base a:hover {
  text-decoration: underline;
}

.imprint {
  padding-top: 12rem;
  padding-bottom: 6rem;
}

.imprint p,
.imprint a {
  font-size: 1.125rem;
  display: flex;
}

.imprint a {
  text-decoration: underline;
}

.imprint h1 {
  font-size: 3rem;
  margin-bottom: 4rem;
}

.imprint h2 {
  font-family: Satoshi;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.imprint h3 {
  margin-bottom: 0;
}

.imprint-header {
  margin-bottom: 3rem;
}

.imprint-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.imprint-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* MEDIA QUERIES */

@media (max-width: 1440px){

  .stage {
    padding-left: 6vw;
    padding-right: 6vw;
  }

  h1,
  .footer-text a {
    font-size: 3.5rem;
  }

  .stage-text {
    gap: 1.5rem;
  }

  .stage-subtext,
  .footer-text p {
    font-size: 1.375rem;
  }

  .footer-text {
    gap: 2.5rem;
  }

}

@media (max-width: 1370px) {

  header {
    padding-left: 2rem;
    padding-right: 2rem;
    max-width: 1240px;
  }

  .modal {
    padding: 2rem;
  }

}

@media (max-width: 1280px) {

  .stage {
    height: auto;
    min-height: 320px;
    padding: 10rem 6vw 8rem 6vw;
  }

  .cases,
  .roadmap {
    padding: 6rem 0;
    gap: 3rem;
  }

  footer {
    padding-top: 6rem;
  }

  .footer-text {
    padding-bottom: 6rem;
  }

  .cases-overview {
    gap: 2rem 1.5rem;;
  }

}

@media (max-width: 1120px) {

  h1,
  .footer-text a {
    font-size: 3rem;
  }

  header {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .stage-subtext,
  .footer-text p {
    font-size: 1.25rem;
  }

  .stage {
    flex-direction: column;
    gap: 3rem;
    padding: 10rem 0 6rem 0;

  }

  .stage-text {
    padding: 0;
    width: 100%;
    max-width: 640px;
    text-align: center;
  }

  .footer-text {
    gap: 2rem;
  }

  .modal-content {
    padding: 3rem;
  }

  .modal-headline {
    font-size: 2rem;
  }

  .modal-description,
  .modal-facts,
  .modal-facts a {
    font-size: 1.175rem;
  }

  .modal-facts {
    margin-bottom: 3rem;
  }

}

@media (max-width: 960px) {

  h2 {
    font-size: 2.5rem;
  }

  .menu a:hover::after {
    opacity: 0;
  }

  .stage {
    padding-top: 8rem;
  }

  .stage-image {
    height: 560px;
    width: 420px;
  }

  .cases-overview {
    grid-template-columns: repeat(2,1fr);
  }

  .imprint h1 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
  }

  .imprint h2 {
    font-size: 1.25rem;
  }

  .imprint {
    padding-top: 8rem;
  }

}

@media (max-width: 770px) {
  nav.menu a {
    display: none;
  }

  nav.menu a:last-child {
    display: block;
  }

  .case:hover {
    transform: scale(1);
  }

  .modal-body,
  .modal-row-2,
  .modal-row-3 {
    gap: 1rem;
  }

}

@media (max-width: 640px) {

  main {
    padding: 0 1.5rem;
  }

  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  header {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .stage {
    gap: 2.5rem;
    padding-top: 6rem;
    padding-bottom: 4rem;
  }

  .stage-text {
    gap: 1rem;
  }

  .stage-badge {
    display: none;
  }

  .cases,
  .roadmap {
    padding: 4rem 0;
    gap: 2.5rem;
  }

  .cases-overview {
    grid-template-columns: repeat(1,1fr);
    gap: 2.5rem;
  }

  .case-image {
    max-height: 640px;
  }

  .case:hover .case-inner {
    transform: scale(1);
  }

  .modal {
    padding: 0;
  }

  .modal-content {
    padding: 3rem 1.5rem;
  }

  .modal-close {
    right: 0.5rem;
    transform: scale(0.9);
  }

  .modal-close:hover svg path {
    stroke: var(--base-color);
  }

  .modal-row-2,
  .modal-row-3 {
    grid-template-columns: repeat(1, 1fr);
  }

  .modal-facts {
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .modal-facts img {
    display: none;
  }

  footer {
    padding-top: 4rem;
  }

  .footer-text {
    padding-bottom: 4rem;
  }

  .footer-text a {
    font-size: 2.5rem;
    text-decoration: solid underline white 3px;
  }

  .imprint {
    padding-bottom: 5rem;
  }

  .imprint-header {
    margin-bottom: 2rem;
  }

  .imprint h1 {
    font-size: 2rem;
    margin-bottom: 2rem;
  }

}

@media (max-width: 480px) {

  .stage {
    gap: 2.5rem;
  }

  .stage-image {
    width: 100%;
    height: auto;
  }

  .stage-text {
    text-align: left;
  }

  .stations {
    gap: 3rem;
  }

  .station-row {
    margin-top: 1.5rem;
    flex-direction: column;
    gap: .5rem;
  }

  .station-date,
  .station-description {
    width: 100%;
  }

  .footer-text a {
    font-size: 2rem;
  }

  .footer-base {
    flex-direction: column;
    padding: 2rem;
    gap: .5rem;
    height: auto;
  }
}

.fade-in-up {
  opacity: 0;
  transform: translateY(4rem);
  transition: .8s ease;
  will-change: opacity, transform;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}
