/* ==========================================================================
   /beta/demos/style.css – komplett bereinigt
   ========================================================================== */

/* ----------------------------------
   Tabelle (.demo-table)
   ---------------------------------- */
table.demo-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  table-layout: fixed;
}

table.demo-table th,
table.demo-table td {
  padding: 0.25rem 0.5rem;
  line-height: 1.2;
  border-bottom: 1px solid #ccc;
}

/* linke Spalte: mehr Abstand links */
table.demo-table th:first-child,
table.demo-table td:first-child {
  text-align: left;
  word-wrap: break-word;
  padding-left: 1rem;
}

/* rechte Spalte: schmal + Abstand rechts */
table.demo-table thead th:nth-child(2),
table.demo-table tbody td:nth-child(2) {
  width: 3rem;
  text-align: center;
  overflow: hidden;
  padding-right: 1rem;
}

/* Kopfzeile etwas höher */
table.demo-table thead th {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

/* SVG-Icon-Größe */
.demo-icon {
  width: 1.5rem;
  height: auto;
}

/* ----------------------------------
   Demo-Links im Table: SVG verstecken, weißen ">"-Pfeil voranstellen
   ---------------------------------- */
table.demo-table td a {
  color: var(--header-text);
  font-weight: bold;
  text-decoration: none;
  position: relative;
}

/* SVG-Kreise komplett ausblenden */
table.demo-table td a .demo-icon {
  display: none !important;
}

/* Demo-Link Pfeil: größer & zentriert */
table.demo-table td a {
  display: inline-block;
  vertical-align: middle;
  font-size: 1.4rem;
  color: var(--header-bg);
  padding-left: 0;
  position: static;
}

table.demo-table td a::before {
  content: "➲";
  display: inline-block;
  vertical-align: middle;
  font-size: 1.2rem;
  margin-right: 0ch;
  position: static;
}

/* ----------------------------------
   QR-Code Modal
 ---------------------------------- */
  .modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
  }

  .modal-content {
    background: rgba(0, 95, 115, 0.6);
    border-radius: 8px;
    padding: 1rem;
    position: relative;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    text-align: center;
  }

  .modal-close {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: #eee;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    border-radius: 50%;
  }

  .modal-content img {
    max-width: 250px;
    height: auto;
  }


