/* ========================================
   FONT
======================================== */

@font-face {
  font-family: "HelveticaNeue";
  src: url("HelveticaNeue.ttc");
}


/* ========================================
   RESET / BASIC
======================================== */

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body {
  min-height: 100dvh;

  background: #f4f4f4;
  color: #000000;

  font-family: "HelveticaNeue", sans-serif;
  font-size: clamp(0.5rem, 5vw, 4rem);

  cursor: none;
}


/* ========================================
   MAIN GRID
======================================== */

.container {
  min-height: 100dvh;

  display: grid;

  grid-template-areas:
    "main"
    "footer";

  grid-template-columns: 1fr;
  grid-template-rows: 1fr auto;

  box-sizing: border-box;
  margin: 0;
}


/* ========================================
   HEADER / NAVIGATION
======================================== */

.header {
  position: fixed;

  top: 0;
  left: 0;

  width: 100%;

  z-index: 1000;

  background: #f4f4f4;

  border-bottom: 1px solid #b2b2b2;

  box-sizing: border-box;

  font-size: clamp(0.7rem, 1vw, 1rem);
}


/* Navigation */

.navigation {
  display: flex;

  justify-content: space-between;
  align-items: baseline;

  margin: 0;

  padding: 1vw;

  box-sizing: border-box;
}


/* Navigation Links */

.navigation a {
  color: #000000;

  text-decoration: none;

  cursor: none;
}


/* Aktuelle Seite */

.navigation a.active {
  color: #222;
}


/* Hover */

.navigation a:hover {
  color: #b2b2b2;
}


/* ========================================
   MAIN
======================================== */

.main {
  grid-area: main;

  margin: 0;

  /*
    Platz für den fixed Header.
    Bei Bedarf diesen Wert anpassen.
  */

  padding-top: clamp(2rem, 5vw, 6rem);

  font-size: clamp(2rem, 4.4vw, 12rem);
}


/* Content */

.content {
  padding: 0.3vw 0.6vw 1vw;

  box-sizing: border-box;
}


/* Content Text */

.content p {
  margin: 0;

  line-height: 0.95;
}


/* Content Links */

.content a {
  color: #000000;

  text-decoration: none;

  cursor: none;
}


/* Content Link Hover */

.content a:hover {
  color: #b2b2b2;
}


/* ========================================
   FOOTER
======================================== */

.footer {
  grid-area: footer;

  display: grid;

  grid-template-columns: 1fr 2fr;

  border-top: 1px solid #b2b2b2;

  padding: 0;

  box-sizing: border-box;

  font-size: clamp(0.7rem, 1vw, 0.7rem);
}


/* Footer Spalten */

.footer-left,
.footer-right {
  padding: 0.5vw;

  color: #b2b2b2;

  box-sizing: border-box;
}


/* Vertikale Trennlinie */

.footer-left {
  border-right: 1px solid #b2b2b2;
}


/* Footer Text */

.footer-left p,
.footer-right p {
  margin: 0;
}


/* Footer Links */

.footer-right a {
  display: block;

  width: fit-content;

  color: #999;

  text-decoration: none;

  margin: 0;

  cursor: none;
}


/* Footer Hover */

.footer-right a:hover {
  color: #222;
}


/* ========================================
   RESPONSIVE / MOBILE
======================================== */

@media (max-width: 768px) {

  /* Main */

  .main {
    padding-top: clamp(2rem, 10vw, 5rem);
  }


  /* Navigation */

  .navigation {
    padding: 1.5vw;
  }


  /* Footer */

  .footer {
    grid-template-columns: 1fr;
  }


  .footer-left {
    border-right: none;

    border-bottom: 1px solid #b2b2b2;
  }


  .footer-left,
  .footer-right {
    padding: 0.5vw;
  }
}


/* ========================================
   CUSTOM CURSOR
======================================== */

.custom-cursor {
  position: fixed;

  left: 0;
  top: 0;

  width: 25px;
  height: 25px;

  pointer-events: none;

  z-index: 2147483647;

  transform: translate(-50%, -50%);

  user-select: none;

  mix-blend-mode: normal;

  object-fit: contain;

  opacity: 0;

  transition: opacity 0.1s ease;
}


/* Sobald die Maus aktiv ist */

body.cursor-visible .custom-cursor {
  opacity: 1;
}


/* ========================================
   TOUCH DEVICES
======================================== */

@media (max-width: 768px) {

  .header {
    border-bottom: 0.5px solid #b2b2b2;
  }

  .footer-left {
    border-right: none;
    border-bottom: 0.5px solid #b2b2b2;
  }

  .footer {
    border-top: 0.5px solid #b2b2b2;
  }

}



/* ========================================
   HOCHGESTELLTE KÜRZEL
======================================== */

sup {
  color: #b2b2b2;

  position: relative;

  top: -0.9em;

  font-size: 0.45em;

  line-height: 1;

  vertical-align: baseline;
}

/* Logo */

.logo {
  width: clamp(1rem, 2vw, 2rem);
  display: block;
}