* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}


body {
  font-family: Arial, sans-serif;
  margin: 0;
  background-color: #111;
  color: #f0f0f0;
  text-align: center;
}

header {
  background: #000;
  padding: 2rem 1rem;
}

header h2, header h3 {
  margin: 0.5rem 0;
  color: #ccc;
}

.logo {
  max-width: 700px;
  height: auto;
  margin-bottom: 1rem;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  padding: 2rem;
  max-width: 1200px;
  margin: auto;
}

.gallery a img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
  transition: transform 0.3s ease;
}

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

footer {
  background: #000;
  padding: 1rem;
  font-size: 0.9rem;
  color: #777;
}

footer a {
  color: #aaa;
  text-decoration: underline;
}

footer a:hover {
  color: #fff;
}


.logo {
  max-width: 500px;
  height: auto;
  margin-bottom: 1rem;
}

.slogan {
  font-size: 2rem;
  font-weight: bold;
  letter-spacing: 1px;
  color: white;
  margin-top: 0;
  margin-bottom: 1rem;
  font-family: 'Impact', 'Arial Black', sans-serif;
  text-transform: uppercase;
}

.credit {
  margin: 2rem auto;
  font-size: 1.2rem;
  background-color: #222;
  padding: 1rem 2rem;
  border-radius: 12px;
  max-width: 600px;
  color: #eee;
  box-shadow: 0 0 10px rgba(255,255,255,0.1);
}

.credit a {
  color: #ff4444;
  font-weight: bold;
  text-decoration: none;
}

.credit a:hover {
  color: #fff;
  text-decoration: underline;
}

footer {
  text-align: center;
  padding: 2rem 1rem;
  background-color: #111;
  color: #aaa;
  font-size: 0.9rem;
}

footer a {
  color: #ff6666;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
  color: #fff;
}

footer .legal {
  font-size: 0.8rem;
  margin-top: 1rem;
  line-height: 1.4;
  color: #888;
}

/* === Galerie-Stile (ergänzt) === */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
  padding: 1rem;
}

.gallery img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.1);
  transition: transform 0.2s ease;
}

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

.pagination {
  text-align: center;
  padding: 2rem 1rem;
}

.pagination a {
  display: inline-block;
  margin: 0 1rem;
  text-decoration: none;
  color: #ff6666;
  font-weight: bold;
  font-size: 1.2rem;
}

.pagination a:hover {
  color: #fff;
}

footer .legal {
  font-size: 0.8rem;
  margin-top: 1rem;
  line-height: 1.4;
  color: #888;
}

#lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

#lightbox img {
  max-width: 90%;
  max-height: 90%;
}

.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.modal-content {
  max-width: 90%;
  max-height: 80vh;
  margin-bottom: 10px;
}

.close {
  color: white;
  font-size: 30px;
  position: absolute;
  top: 10px;
  right: 20px;
  cursor: pointer;
}

.download-link {
  color: white;
  background-color: #333;
  padding: 8px 12px;
  text-decoration: none;
  border-radius: 5px;
}

.titelbild {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  margin: 20px 0;
}

.start-button-wrapper {
  text-align: center;
  margin-top: 20px;
}

.start-button {
  background-color: #0078d7;
  color: white;
  text-decoration: none;
  padding: 14px 28px;
  font-size: 1.2rem;
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.start-button:hover {
  background-color: #005bb5;
}

.gallery {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding: 2rem;
  text-align: center;
}


.titelbild {
  max-width: 90%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.start-button-wrapper {
  text-align: center;
}

.start-button {
  background-color: #ff6666;
  color: white;
  text-decoration: none;
  padding: 50px 100px;
  font-size: 2rem;
  border-radius: 8px;
  transition: background-color 0.3s ease;
  display: inline-block;
  max-width: 100%;
  box-sizing: border-box;
}


.start-button:hover {
  background-color: #005bb5;
}

.link-anbieter {
  display: block;
  margin-top: 30px;
  font-size: 1rem;
  color: #ccc;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.link-anbieter:hover {
  color: white;
}

@media (max-width: 600px) {
  .start-button {
    font-size: 1rem;
    padding: 10px 18px;
  }

  .titelbild {
    max-width: 100%;
  }

  .logo {
    max-width: 80%;
    height: auto;
  }
}
