@charset "UTF-8";

/* Grundlegendes Styling */
html,
body {
  display: flex;
  flex-direction: column;
}

.page-wrapper {
  flex: 1;
}

/* Zurück-Pfeil */
.back-arrow {
  position: absolute;
  top: 10px;
  left: 20px;
  font-size: 3rem;
  color: #F0F0F0;
  text-decoration: none;
  z-index: 100;
  transition: color 0.3s ease;
}

.back-arrow:hover {
  color: #A8A8A8;
  text-decoration: none;
}

/* Projekt Header */
.project-header {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 5%;
  margin: 10px 0 60px 0;
  position: relative;
  width: 90%;
  z-index: 10;
}

/* Hero Image */
.hero-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  background-size: cover;
  background-position: center;
  margin-bottom: 60px;
  background-image: url("../img/shadow-agency-about.jpg");
}

/* Projekt Beschreibung */
.project-description {
  display: flex;
  justify-content: center;
  gap: 60px;
  padding: 0 10%;
  margin-bottom: 80px;
}

.text-column {
  flex: 1;
  max-width: 500px;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Full Width Image */
.full-width-image {
  width: 90%; /* 100% minus 5% auf jeder Seite */
  margin: 0 auto 20px auto;
  aspect-ratio: 16 / 9;
  background-size: cover;
  background-position: center;
  background-image: url("../img/shadow-agency-about.jpg");
  padding-left: 5%;
  padding-right: 5%;
  box-sizing: border-box;
}

/* Zwei Bilder nebeneinander */
.image-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 0 5%;
}

.image-half-left,
.image-half-right {
  flex: 1;
  aspect-ratio: 1 / 1;
  background-size: cover;
  background-position: center;
  background-image: url("../img/shadow-agency-about.jpg");
}

/* 4er Bild-Grid */
.image-grid-four {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  justify-content: center;
  gap: 20px;
  padding: 0 5%;
  flex-wrap: wrap; /* falls du später responsive machen willst */
  margin-top: 20px;
  width: 100%;
  box-sizing: border-box;
}

.image-quarter {
  width: 100%;
  aspect-ratio: 1 / 1;
  background-size: cover;
  background-position: center;
  background-image: url("../img/shadow-agency-about.jpg");
}

/* Responsive Styles */
@media (max-width: 1024px) {

  /* Projekt Header */
  .project-header {
    margin-top: 10px;
	margin-bottom: 20px;
    padding: 0 5%;
  }

  /* Zurück-Pfeil */
  .back-arrow {
    font-size: 2rem;
    top: 5px;
    left: 15px;
  }

  /* Projekt Beschreibung: einspaltig */
  .project-description {
    flex-direction: column;
    padding: 0 5vw;
    gap: 10px;
	margin-top: 20px;
    margin-bottom: 20px;
  }

  .project-description p {
    margin-top: 0;
    margin-bottom: 0;
  }

  .text-column {
    max-width: none;
    font-size: 1rem;
  }

  /* Hero / Large Image */
  .hero-image,
  .full-width-image {
    aspect-ratio: 1 / 1;
    height: 40vh;
    margin-bottom: 10px;
  }

  /* Two Images: untereinander */
  .image-row {
    flex-direction: column;
    gap: 10px;
    margin-bottom: 10px;
  }

  .image-half-left,
  .image-half-right {
    width: 100%;
    height: auto;
  }

  /* 4er Grid: 2x2 */
  .image-grid-four {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 0;
  }

  .image-quarter {
    flex: none;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
  }

}