.grid-wrapper {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background: #fff;
  color: #fff;
  font-family: Arial, sans-serif;
}

.intro {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  z-index: 3;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.intro h1 {
  margin-bottom: 2rem;
}

.intro h3 {
  margin-bottom: 10rem;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.intro .btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border: 1px solid #78000A;
  border-radius:4px;
  color: #000;
  background: #fafafa;
  text-decoration: none;
  cursor: pointer;
  pointer-events: auto;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.intro .btn:hover {
  background-color: #eee;
}

.grid {
  display: grid;
  width: 100vw;
  height: 100vh;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 0; /* Anfang: kein Abstand */
  transform-origin: center center;
  transform: scale(3);
  z-index: 1;
}

.grid > div {
  background-size: cover;
  background-position: center;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2;
  pointer-events: none;
  transition: background-color 0.3s ease;
}


