/* Grundlegende Resets */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  body {
    font-family: Arial, sans-serif;
    width: 100%;
    background-color: #000;
    color: #fff;
  }
  
  /* Globaler Button-Stil (angepasst an #d3ce95) */
  .golden-button {
    background: #d3ce95;
    color: #000;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
  }
  .golden-button:hover {
    transform: scale(1.05);
    background: #c5bd82;
  }
  .golden-button:active {
    transform: scale(0.98);
  }
  
  /* Header */
  header {
    width: 100%;
    background-color: #000;
  }
  header img {
    width: 100%;
    height: auto;
    display: block;
  }
  
  /* Alters-Gate Popup */
  #age-popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.7);
    color: #fff;
    border: 1px solid #ccc;
    padding: 20px;
    z-index: 1100;
    text-align: center;
  }
  #age-popup.active {
    display: block;
  }
  #age-popup p {
    margin-bottom: 20px;
  }
  
  /* Sprachwahl als Flex-Container mit Wrap und Gap */
  .language-row {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    background: #000;
    padding: 10px;
  }
  
  /* Serien-Bilder-Reihe */
  .series-images {
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    padding: 10px;
    background: #000;
  }
  .series-images img {
    cursor: pointer;
    max-width: 30%;
    height: auto;
  }
  
  /* Videoplayer */
  #video-player {
    width: 100%;
    background: #000;
    padding: 10px;
  }
  #video-player video {
    width: 100%;
    max-height: 500px;
  }
  
  /* Grid-Layouts (eBook, Audio und Ads) */
  .grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 10px;
    width: 100%;
    justify-items: stretch;
    background: #000;
  }
  .grid img {
    cursor: pointer;
    width: 100%;
    height: auto;
    display: block;
  }
  
  /* Footer */
  footer {
    width: 100%;
    background: #000;
    padding: 10px;
    text-align: center;
    margin-top: 20px;
  }
  footer a {
    margin: 0 10px;
    color: #fff;
    text-decoration: none;
  }
  
  /* Popup-Styling */
  .popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0,0,0,0.7);
    color: #fff;
    border: 1px solid #ccc;
    padding: 20px;
    z-index: 1000;
    text-align: center;
  }
  .popup.active {
    display: block;
  }
  .popup img {
    width: 200px;
    margin-bottom: 10px;
  }
  .popup .popup-links {
    margin-bottom: 10px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  .popup .popup-links a,
  .popup .popup-links button {
    margin: 5px;
    flex: 1 1 40%;
  }
  
  /* Popup-Overlay */
  .popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 900;
  }
  .popup-overlay.active {
    display: block;
  }
  