/* Grundlegendes Layout */
body {
  margin: 0;
  padding: 0;
  background-color: #009933;
  font-family: Arial, sans-serif;
  -webkit-text-size-adjust: none;
  -ms-text-size-adjust: none;
  color: #ffffff;
  line-height: 1.6;
  font-size: 16px; /* Basisgröße */
}

.wrapper {
  max-width: 600px;
  margin: 0 auto;
  background-color: #009933;
  padding: 20px;
}

h1 {
  font-size: 32px;
  margin-top: 0;
  color: #ffffff;
}

h2 {
  font-size: 26px;
  margin-top: 0;
  color: #ffffff;
}

h3 {
  font-size: 20px;
  margin-top: 0;
  color: #ffffff;
}

p, li {
  color: #ffffff;
  font-size: 16px;
  line-height: 1.6;
}

.logo {
  text-align: center;
  margin: 20px 0 25px;
}

.logo img {
  width: 180px !important;
  height: auto !important;
  display: block;
  margin: 0 auto;
  max-width: 100%;
}

/* Buttons */
.button {
  display: inline-block;
  background-color: #ffffff;
  color: #009933 !important;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  font-size: 16px;
  margin: 15px 0;
  text-align: center;
  box-shadow: 0 3px 6px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
}
.button:hover {
  background-color: #f0f0f0;
  transform: translateY(-2px);
  box-shadow: 0 5px 10px rgba(0,0,0,0.2);
}

/* Tabellen */
.table-wrapper {
  overflow-x: auto;
  margin-bottom: 30px;
}

table.modern-table {
  width: 100%;
  border-collapse: separate; /* wichtig für Rundungen */
  border-spacing: 0;
  border-radius: 12px;
  overflow: hidden;
  background-color: #007a29;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  font-size: 16px;
  border: 2px solid #ffffff;
}

th, td {
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255,255,255,0.3);
  border-right: 1px solid rgba(255,255,255,0.3); /* vertikale Linie */
  color: #ffffff;
  text-align: left;
}

/* letzte Spalte ohne Linie */
th:last-child,
td:last-child {
  border-right: none;
}

/* letzte Zeile ohne Border-Bottom */
tr:last-child td {
  border-bottom: none;
}

th {
  background-color: #007a29;
  font-weight: bold;
}

tr:hover td {
  background-color: rgba(255,255,255,0.15);
  transition: background-color 0.3s ease;
}

/* Abgerundete Tabellen-Ecken explizit */
table.modern-table th:first-child {
  border-top-left-radius: 12px;
}
table.modern-table th:last-child {
  border-top-right-radius: 12px;
}
table.modern-table tr:last-child td:first-child {
  border-bottom-left-radius: 12px;
}
table.modern-table tr:last-child td:last-child {
  border-bottom-right-radius: 12px;
}

/* Info-Box */
.info-box {
  background-color: #007a29;
  border-radius: 10px;
  padding: 12px;
  margin: 12px auto;
  font-size: 0.95rem;
  line-height: 1.4;
}

.info-box .button {
  width: auto !important;       /* überschreibt globales width:100% !important */
  display: inline-block;
  padding: 8px 16px;
  font-size: 0.9rem;
  margin: 10px 0 0 0;
}

.info-box h3 {
  margin-top: 0;
  margin-bottom: 8px;
  font-size: 1.05rem;
  color: #ffffff;
}

.info-box p,
.info-box li {
  font-size: 0.9rem;
  margin: 6px 0;
}

.info-box ul {
  padding-left: 1.2em;
  margin: 6px 0;
}

/* Responsive Texte und Layout */
@media (max-width: 480px) {
  body {
    font-size: 14px; /* Grundtext etwas kleiner */
    line-height: 1.5;
  }

  .wrapper {
    padding: 12px;
  }

  h1 {
    font-size: 20px;
  }

  h2 {
    font-size: 18px;
  }

  h3 {
    font-size: 16px;
  }

  p, li {
    font-size: 14px;
    line-height: 1.5;
  }

  .button {
    width: 100% !important;
    font-size: 14px;
    padding: 12px !important;
    display: block;
  }

  table.modern-table {
    font-size: 14px;
  }

  th, td {
    padding: 8px;
    font-size: 0.85rem;
  }

  .info-box {
    padding: 10px;
    font-size: 0.85rem;
  }

  .info-box h3 {
    font-size: 0.95rem;
  }

  .info-box p,
  .info-box li {
    font-size: 0.85rem;
  }
}
