body {
  background-color: #000;
  color: #ccc;
  font-family: 'Courier New', monospace;
  padding: 2rem;
  margin: 0;
}

main {
  max-width: 600px;
  margin: 0 auto;
}

h1 {
  color: #ff0033;
  font-size: 2.5rem;
  letter-spacing: 0.1em;
}

p {
  white-space: pre-wrap;
  line-height: 1.8;
}

nav {
  margin-top: 2rem;
}

nav a {
  display: inline-block;
  margin-right: 1rem;
  color: #fff;
  text-decoration: underline;
}

/* ----------------------------------- */
/*         LIGHTBOX FÜR LOGO           */
/* ----------------------------------- */

.lightbox {
  display: none;
  position: fixed;
  z-index: 1000;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
}

.lightbox img {
  max-width: 90vw;
  max-height: 90vh;
  box-shadow: 0 0 30px #000;
}

.lightbox:target {
  display: flex;
}

.lightbox-close {
  position: absolute;
  inset: 0;
}
@media (max-width: 600px) {
  .logo-titel-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .logo-titel-container h1 {
    font-size: 1.6rem;
  }

  .logo-titel-container img {
    height: 60px;
  }
}
.logo-titel-container {
  padding-top: 1rem;
}

/* ----------------------------------- */
/*  Pfeile für Galerienavigation          */
/* ----------------------------------- */
.objekt-pfeil {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: auto;
  z-index: 9999;
}

.objekt-pfeil--left {
  left: calc(50% - 410px);  /* Breite anpassen je nach Layout */
}

.objekt-pfeil--right {
  right: calc(50% - 410px);
}
@media (max-width: 768px) {
  .objekt-pfeil {
    width: 28px;
  }

  .objekt-logo {
    width: 60px;
  }
}
/* ----------------------------------- */
/*     Thumbnail-Galerie je Serie      */
/* ----------------------------------- */
/*.thumbnail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: 20px;
  margin-top: 2rem;
}

.thumbnail-grid .objekt img {
  width: 100%;
  border: 2px solid #333;
  transition: transform 0.2s ease;
  display: block;
}

.thumbnail-grid .objekt img:hover {
  transform: scale(1.05);
  border-color: #ff0033;
}

.thumbnail-grid .objekt p {
  text-align: center;
  font-family: monospace;
  font-size: 0.9rem;
  color: #aaa;
  margin-top: 0.5rem;*/
}
/* ----------------------------------- */
/*   Vertikale Thumbnail-Objektliste   */
/* ----------------------------------- */
.thumbnail-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2rem;
}

.thumbnail-list .objekt {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 20px;
  align-items: start;
}

.thumbnail-list .objekt img {
  width: 100px;
  height: auto;
  border: 2px solid #333;
  object-fit: cover;
  display: block;
  transition: transform 0.2s ease;
}

.thumbnail-list .objekt img:hover {
  transform: scale(1.03);
  border-color: #ff0033;
}

.thumbnail-list .objekt .textblock {
  max-width: 500px;
}

.thumbnail-list .objekt .textblock h3 {
  margin: 0;
  font-size: 1.1rem;
  color: #ff0033;
}

.thumbnail-list .objekt .textblock p {
  margin: 0.3rem 0 0 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #ccc;
}
/*Zeilenabstand*/
.thumbnail-list .objekt {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 20px;
  align-items: start;
  min-height: 140px; /* Höhe des größten Bildes (ggf. anpassen) */
}

/* RESPONSIVE: Bild über Text auf kleinen Geräten */
@media (max-width: 600px) {
  .thumbnail-list .objekt {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .thumbnail-list .objekt img {
    width: 100px;
    margin: 0 auto;
  }

  .thumbnail-list .objekt .textblock {
    margin-top: 10px;
  }
}
@media (max-width: 600px) {
  .thumbnail-list .objekt {
    padding-top: 2rem;       /* Abstand vor dem Bild */
    border-top: 1px solid #222; /* optional als visuelle Trennung */
  }

  .thumbnail-list .objekt img {
    margin-bottom: 0;        /* kein Abstand unter dem Bild */
  }

  .thumbnail-list .objekt:first-child {
    padding-top: 0;
    border-top: none;
  }

  .thumbnail-list .objekt .textblock {
    margin-top: 0.3rem;      /* leichter Abstand, nicht zu viel */
  }
}
/*Mainifest*/
details summary {
  cursor: pointer;
  color: #e00;
  font-weight: bold;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

details[open] summary {
  color: #fff;
}