/* === KompassCode: minimalistisches, stoisches Design === */

body {
  margin: 0;
  padding: 0;
  background-color: #000;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  text-align: center;
  letter-spacing: 0.4px;
  transition: opacity 1.5s ease-in-out;
  overflow-x: hidden;
  overflow-y: auto;
  min-height: 100vh;
}

/* Nur die Startseite bleibt vertikal zentriert */
body.startpage {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.inner {
  max-width: 800px;
  margin: 0 auto;         /* zentriert horizontal */
  padding: 3rem 2rem;     /* großzügiger Innenabstand */
  text-align: center;     /* zentriert Text */
}


/* Ruhiger, fließender Fade-In */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  animation: fadeInSlow 4.5s ease-in-out forwards;
}
@keyframes fadeInSlow {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  40% {
    opacity: 0.3;
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Typografie */
h1 {
  font-size: 3rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
}

p {
  font-size: 1.1rem;
  line-height: 1.7;
  margin: 0 auto 1.5rem;
}

p.intro {
  opacity: 0.9;
}

p.release {
  font-style: italic;
  opacity: 0.8;
}

/* Button-Stil */
.btn-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  margin-top: 2rem;
  opacity: 0;
  animation: fadeButtons 5s ease-in-out 4s forwards;
}

@keyframes fadeButtons {
  to {
    opacity: 1;
  }
}

.btn {
  display: inline-block;
  padding: 0.7rem 1.6rem;
  border: 1px solid #fff;
  border-radius: 3px;
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.8s ease;
  min-width: 220px;
}

.btn:hover {
  background-color: #fff;
  color: #000;
}

.btn-outline {
  opacity: 0.85;
  border-style: dashed;
}




/* Abschnittsübersicht */
.compass-list {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin: 3rem auto;
  max-width: 700px;
  text-align: center;
}


.compass-list article {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 2rem;
  opacity: 0;
  animation: fadeArticle 2.5s ease-in-out forwards;
}

.compass-list article:nth-child(1) { animation-delay: 1s; }
.compass-list article:nth-child(2) { animation-delay: 2s; }
.compass-list article:nth-child(3) { animation-delay: 3s; }
.compass-list article:nth-child(4) { animation-delay: 4s; }

@keyframes fadeArticle {
  to {
    opacity: 1;
  }
}

.compass-list h2 {
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.compass-list p {
  font-size: 1rem;
  line-height: 1.6;
  opacity: 0.9;
}

.release {
  font-style: italic;
  font-size: 0.95rem;
  color: #ccc;
  margin-top: 0.3rem;
}

.compass-link {
  color: #fff;
  text-decoration: none;
  transition: opacity 0.4s ease;
  border-bottom: 1px dotted rgba(255, 255, 255, 0.3);
}

.compass-link:hover {
  opacity: 0.7;
  border-bottom-color: rgba(255, 255, 255, 0.6);
}



/* === Mobile Optimierung === */

/* ab hier greift die Anpassung bei schmalen Displays */
@media (max-width: 768px) {
  body {
    padding: 1rem;
  }

  .inner {
    padding: 1.5rem 1rem;
    max-width: 95%;
  }

  h1 {
    font-size: 2.1rem;        /* vorher 3rem */
    line-height: 1.2;
    margin-bottom: 1rem;
  }

  h2 {
    font-size: 1.2rem;
  }

  p {
    font-size: 1rem;
    line-height: 1.6;
  }

  .btn {
    min-width: auto;
    width: 90%;
    padding: 0.8rem 0;
  }

  .compass-list {
    gap: 2rem;
  }

  .compass-list article {
    padding-top: 1.5rem;
  }
}

/* für sehr kleine Geräte (Smartphones im Portraitmodus) */
@media (max-width: 480px) {
  h1 {
    font-size: 2.4rem;
  }

  h2 {
    font-size: 1.1rem;
  }

  .intro {
    font-size: 0.95rem;
  }

  p.release {
    font-size: 0.9rem;
  }

  .btn-group {
    gap: 0.8rem;
  }
}
