/* === Basis-Layout === */
body {
  margin: 0;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  background-color: #fafafa;
  color: #111;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

h1 {
  font-size: 2.5rem;
  font-weight: 300;
  margin-bottom: 10px;
}

.subtext {
  font-size: 1.1rem;
  max-width: 800px;
  margin-bottom: 40px;
  line-height: 1.6;
}

/* === Galerie-Grid === */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.gallery img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.gallery img:hover {
  transform: scale(1.02);
}

/* === Lightbox === */
.lightbox {
  display: none;
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 20px;
}

.lightbox img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 12px;
}

.lightbox:target {
  display: flex;
}

.close-button {
  position: absolute;
  top: 30px;
  right: 40px;
  font-size: 2rem;
  color: white;
  text-decoration: none;
}

/* === Shop-Button in Lightbox === */
.shop-button {
  margin-top: 20px;
  padding: 10px 20px;
  font-size: 1rem;
  background-color: transparent;
  color: white;
  border: 1px solid white;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.shop-button:hover {
  background-color: white;
  color: black;
}

/* === Footer === */
footer {
  text-align: center;
  margin-top: 40px;
}

footer a {
  color: #111;
  text-decoration: none;
  margin: 0 10px;
}

footer a:hover {
  text-decoration: underline;
}

/* === Serienübersicht === */
.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.series {
  text-decoration: none;
  color: inherit;
  text-align: left;
}

.series img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 10px;
}

.series-title {
  font-size: 1.2rem;
  font-weight: 500;
}

.series-text {
  padding: 0 8px;
}

.series-sub { 
	font-size: 1rem;
    color: #666;
    margin-top: 0.25rem;
}

/* === Fixes 3-Spalten-Layout ab 960px === */
@media (min-width: 960px) {
  .grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.intro-text {
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.6;
  max-width: 800px;
  margin: 10px 0 40px 0;
  text-align: left;
  color: #444;
}
/* === Responsive Layout === */

/* Smartphones (max 600px): 1 Spalte */
@media screen and (max-width: 600px) {
  .centered-title {
    font-size: 2rem;
    margin-top: 30px;
  }

  .intro-text {
    font-size: 1rem;
    padding: 0 20px;
    margin-bottom: 30px;
    text-align: center;
  }

  .grid {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 0 20px 40px;
  }

  .series-title {
    font-size: 1.1rem;
  }

  .series-sub {
    font-size: 0.95rem;
  }

  .series img {
    margin-bottom: 8px;
  }
}

/* Tablets (601px–1024px): 2 Spalten */
@media screen and (min-width: 601px) and (max-width: 1024px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    padding: 0 40px 60px;
  }

  .centered-title {
    text-align: center;
  }

  .intro-text {
    text-align: center;
    font-size: 1.05rem;
    padding: 0 40px;
  }
}

/* Ab 1025px (Desktop): 3 Spalten – ist ja bereits in deiner bestehenden CSS enthalten */

.info-box {
  color: white;
  padding: 1em;
  border-radius: 0.5em;
  font-size: 1rem;
}

.info-box a {
  color: white;
  text-decoration: underline;
}

