 /* Dunkler Hauptcontainer wie auf SOS VéloSolex */
.dark-container {
    background-color: #2c2c2c;  /* dunklerer Container */
    color: #fff;
    padding: 20px;
    margin: 20px auto;
    max-width: 900px;
    border-radius: 8px;
    font-size: 0.9em;
    line-height: 1.4;
    border: 2px solid #626262;
}

/* Tabellen im Container */
.table-container {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
}

.table-container th {
    background-color: #444;
    padding: 8px;
    border-bottom: 1px solid #626262;
}

.table-container td {
    padding: 8px;
    border-bottom: 1px solid #626262;
}

/* 👉 NEU: Inhalte zentrieren */
.table-container th,
.table-container td {
    text-align: center;
}

/* Bilder mit Rahmen */
.bordered {
     border: 2px solid #626262;
    border-radius: 4px;
    margin: 10px 0;
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    height: auto;
    border: 1px solid #000; /* falls du den Rahmen behalten willst */
}

/* Hinweistext für Bilder */
.note {
    font-size: 0.85em;
    font-style: italic;
    text-align: center;
    margin: 10px auto;
}

/* Überschriften zentriert */
.center {
    text-align: center;
    margin: 10px 0;
}

/* Linksbündige Texte innerhalb Container */
.left {
    text-align: left;
    margin: 10px 0;
}

.small-heading {
    font-size: 1.2em; /* etwas kleiner als normale h2 */
    line-height: 1.4;
}

.text-block {
    font-family: "Trebuchet MS", Arial, Helvetica, sans-serif; /* gleiche Schrift wie oben */
    font-size: 1.1em;       /* gut lesbare Größe */
    line-height: 1.6;     /* angenehmer Zeilenabstand */
    font-weight: normal;   /* nicht fett */
    font-style: normal;   /* kein kursiv */
    margin: 0 0 1rem 0;   /* Abstand nach unten */
    color: #fff;          /* passend zum dunklen Container */
}

/* kleines Vorschaubild */
.zoom-thumb {
  width: 600px;      /* gewünschte Größe auf der Seite */
  height: auto;
  cursor: zoom-in;
  transition: transform 0.2s;
}

/* Overlay Hintergrund */
#zoomOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  z-index: 9999;
}

#zoomOverlay.active {
  opacity: 1;
  pointer-events: all;
}

#zoomContent {
  text-align: center;
}

#zoomOverlay img {
  max-width: 98vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  box-shadow: 0 0 40px black;
  border-radius: 10px;
}

#zoomCaption {
  margin-top: 10px;
  color: #fff;
  font-size: 1rem;
  font-style: italic;

  opacity: 0;               /* unsichtbar am Anfang */
  transition: opacity 0.4s ease; /* sanfte Einblendung */
}

/* wenn Overlay aktiv → Caption einblenden */
#zoomOverlay.active #zoomCaption {
  opacity: 1;
}

/* =========================================
   📱 Tabellen Fix für Smartphones
   ========================================= */
@media (max-width: 768px) {

  .table-scroll {
    overflow-x: auto;
    width: 100%;
  }

  .table-scroll table {
    min-width: 900px;  /* oder 1000px wenn die Zeichnungen sehr groß sind */
  }

}

/* Container vorbereiten */
.table-scroll {
  position: relative;
  overflow-x: auto;
}

/* =========================================
   🖥️ Tabellen schmäler auf Desktop
   ========================================= */
@media (min-width: 900px) {

  .table-scroll {
    max-width: 600px;   /* Breite der Tabelle am Desktop */
    margin: 0 auto;     /* zentriert die Tabelle */
  }

}

/* Schatten rechts (zeigt: hier geht's weiter) */
.scroll-hint {
  position: absolute;
  right: 0;
  top: 0;
  width: 35px;
  height: 100%;
  pointer-events: none;

  /* Verlauf = Schatten */
  background: linear-gradient(
    to right,
    rgba(255,255,255,0),
    rgba(0,0,0,0.25)
  );
}

/* Pfeil + Schatten für bessere Sichtbarkeit */
.scroll-hint::after {
  content: "➜";
  position: absolute;
  right: 10px;              /* etwas weiter außen */
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;          /* leicht vergrößert */
  color: #E2D07A;           /* deine Farbe */
  text-shadow: 0 0 3px rgba(0,0,0,0.7); /* leichter schwarzer Schatten */
  opacity: 0.9;
  animation: floatSwipe 1.6s ease-in-out infinite;
  pointer-events: none;
}


@media (min-width: 900px) {
  .scroll-hint {
    display: none;
  }
}

/* Pfeil-Animation: schwebt leicht nach links/rechts */
@keyframes floatSwipe {
  0%   { transform: translateY(-50%) translateX(0); opacity: 0.7; }
  25%  { transform: translateY(-50%) translateX(4px); opacity: 0.85; }
  50%  { transform: translateY(-50%) translateX(8px); opacity: 1; }
  75%  { transform: translateY(-50%) translateX(4px); opacity: 0.85; }
  100% { transform: translateY(-50%) translateX(0); opacity: 0.7; }
}