body {
    font-family: "Funnel Display";
    background: #E5F0FF;
    padding-top: 15px;
    padding-left: 2%;
    padding-right: 2%;
}

.box {
    max-width: 100%;
    background: white;
    padding: 25px;
    border: 2px solid #002966;
    border-radius: 15px;
    margin-bottom: 30px;
}

/* form {
    font-family: "Funnel Display";
    margin-bottom: 20px;
}

input[type="text"] {
    font-family: "Funnel Display";
    width: 85%;
    max-width: 85%;
    font-size: 1em;
    padding: 15px;
    border: 2px solid #002966;
    border-radius: 15px;
}

input[type="submit"] {
    font-family: "Funnel Display";
    width: 10%;
    max-width: 10%;
    font-size: 1em;
    background: #0052CC;
    color: white;
    padding: 15px;
    border: 2px solid #0052CC;
    border-radius: 15px;
}

input[type="submit"]:hover {
    background: #0066FF;
} */

.input-group {
  font-family: "Funnel Display";
  font-size: 1em;
  margin-bottom: 20px;
  display: flex;       /* Aktiviert Flexbox */
  gap: 10px;           /* Optional: Abstand zwischen Feld und Button */
  width: 100%;         /* Sorgt dafür, dass die Gruppe die Breite nutzt */
}

.input-group input {
  font-family: "Funnel Display";
  font-size: 1em;
  flex-grow: 1;        /* Das Textfeld nimmt den restlichen Platz ein */
  padding: 15px;
  border: 2px solid #002966;
  border-radius: 15px;
}

.input-group button {
  font-family: "Funnel Display";
  font-size: 1em;
  white-space: nowrap; /* Verhindert Zeilenumbrüche im Button-Text */
  background: #0052CC;
    color: white;
    padding: 15px;
    border: 2px solid #0052CC;
    border-radius: 15px;
}

.input-group button:hover {
  background: #0066FF;
}


h1 {
    font-family: "Funnel Display";
    font-size: 3em;
    color: #002966;
}

h2 {
    margin-top: 10px;
    margin-bottom: 10px;
    font-family: "Funnel Display";
    font-size: 2em;
    color: #002966;
}

table {
    font-family: "Funnel Display";
    font-size: 1em;
    width: 100%;
    border-collapse: collapse;
    background: white;
}

th {
    background: #99C2FF;
    padding: 12px 10px;
    text-align: left;
    border-bottom: 2px solid #CCE0FF;
}

td {
    padding: 15px 10px;
    border-bottom: 1px solid #CCE0FF;
}

tr:nth-child(odd) {
    background-color: #E5F0FF;
}


@media (max-width: 600px) {
  table, thead, tbody, th, td, tr {
    display: block;
  }

  /* Spaltenköpfe verstecken (aber für Screen Reader behalten) */
  thead tr {
    position: absolute;
    top: -9999px;
    left: -9999px;
  }

  tr {
    border: 1px solid #ccc;
    margin-bottom: 0.8em;
    border-radius: 4px;
    padding: 0.5em;
  }

  td {
    border: none;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 45%;
  }

  /* Spaltenbeschriftung vor dem Wert anzeigen */
  td::before {
    position: absolute;
    top: 6px;
    left: 6px;
    width: 40%;
    white-space: nowrap;
    font-weight: bold;
  }

  /* Reihenfolge: 1. Spalte = Titel, 2. = Info, 3. = Nr. */
  td:nth-of-type(1)::before { content: "Titel"; }
  td:nth-of-type(2)::before { content: "Info"; }
  td:nth-of-type(3)::before { content: "Nr."; }
}
