@import "_reset.css";
/* —— Base —— */
*{ box-sizing:border-box; margin:0; padding:0; }
html,body{ height:100%; }
body{
  font-family:"Inter",system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  font-size:16px; line-height:1.5; color:#fff; background:#000;
}
a,button{ color:inherit; text-decoration:none; font:inherit; }

/* About */
/* Wenn Projekt „about“ aktiv ist, verstecke hero-wrap komplett */
#projectView[data-active="about"] .hero-wrap {
  display: none !important;
  height: 0;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.about-section {
  padding: 10vh 5vw;
  background-color: none; 
  color: #fff;
  bottom: 0;
  height:100vh;
}

.about-container {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 5vw;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.about-image img {
  width: 500px;
  max-width: 90vw;
  border-radius: 8px;
  object-fit: cover;
}

.about-text {
  flex: 1;
  min-width: 260px;
  font-size: 1rem;
  line-height: 1.6;
}

.about-text p {
  margin-bottom: 1.5rem;
}

.about-links {
  position: relative;
  z-index: 1100;
}

.about-links a {
  color: #fff;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.about-links a:hover {
  opacity: 0.75;
}

@media (min-width: 981px) {
  .project-content[data-project="about"] {
    height: 100vh;
    overflow: hidden;
    position: relative;
  }
}

@media (max-width: 720px) {
  .about-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .about-text {
    margin-top: 4vh;
  }
}

/* ========== LEGAL PAGE ========== */
#projectView[data-active="legal"] {
  position: fixed;
  inset: 0;
  backdrop-filter: blur(8px);
  display: block !important;
  overflow-y: auto;
  z-index: 9000; /* unter der Brand-Pill */
}

/* === Hero-Image bei der Legal-Seite verstecken === */
#projectView[data-active="legal"] .hero-wrap {
  display: none !important;
}

/* Text sichtbar und sauber formatiert */
#projectView[data-active="legal"] .project-content[data-project="legal"] {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  color: #000 !important;
  background: transparent;
  position: relative;
  max-width: 950px;
  margin: 2rem auto; 
  padding: 2rem;
  z-index: 9100;
  text-align: left;
}

/* Typografie */
#projectView[data-active="legal"] h2 {
  font-size: 1.2rem;
  margin-top: 2rem;
  font-weight: 600;
  display: block;
}

#projectView[data-active="legal"] a {
  color: #ffffff;
  text-decoration: underline;
}

/* ---- Responsive Anpassung für kleine Ansichten ---- */
@media (max-width: 720px) {
  #projectView[data-active="legal"] .project-content[data-project="legal"] {
    margin: 4rem 0rem;
    padding: 0;
    max-width: 100%;
    text-align: left !important; /* überschreibt zentrierte Styles */
  }

  #projectView[data-active="legal"] .project-content[data-project="legal"] h2,
  #projectView[data-active="legal"] .project-content[data-project="legal"] p,
  #projectView[data-active="legal"] .project-content[data-project="legal"] a {
    text-align: left !important;
    display: block;
  }
}






