.page-header {
  background: #f3f3f3;
  padding: 2rem 1rem 1rem;
}

.page-header h1 {
  margin: 0;
  font-size: 2rem;
  color: var(--primary-color);
}

.breadcrumb {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  color: #666;
}

.breadcrumb a {
  color: var(--accent-color);
  text-decoration: none;
}

.page-content {
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
  padding: 0 1rem;
}

.page-content h2,
.page-content h3 {
  color: var(--primary-color);
  margin-top: 1.5rem;
}

.page-content p {
  margin-bottom: 1rem;
   line-height: inherit;
}

.button-row {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.box-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.box {
  background-color: #f9f9f9;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.box h2 {
  margin: 0 0 0.5rem 0;
  font-size: 1.25rem;
  color: var(--primary-color);
}

.box h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1rem;
  color: var(--primary-color);
}

.box p {
  margin: 0 0 1rem 0;
  color: #555;
}

.box-footer {
  display: flex;
  margin-top: 20px;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;       
}

.email-button {
  background-color: #229954;
  color: white;
  padding: 0.4rem 1rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.email-button:hover {
  background-color: #1a7e43;
  transform: scale(1.05);
  text-decoration: none;
  color: white;
}

.line-tag {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  margin-top: 2px;
  margin-bottom: 5px;
  font-size: 0.80rem;
  font-weight: bold;
}

.red-tag {
  background-color: #d32f2f;
  color: white;
}

.yellow-tag {
  background-color: #fbc02d;
  color: white;
}

.green-tag {
  background-color: #388e3c;
  color: white;
}

.blue-tag {
  background-color: #1976d2;
  color: white;
}

.black-tag {
  background-color: #212121;
  color: white;
}

.gray-tag {
  background-color: #9e9e9e;
  color: white;
}

.themen-overview {
  padding: 2rem 1rem;
  max-width: 1000px;
  margin: 0 auto;
}

.themen-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.themen-card {
  display: flex;
  align-items: center;
  background-color: #f3f3f3;
  padding: 1rem;
  border-radius: 8px;
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
}

.themen-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
  text-decoration: none;
}

.themen-card i {
  font-size: 28px;
  color: #229954;
  margin-right: 1rem;
}

.themen-card span {
  font-size: 1rem;
  color: #333;
  font-weight: normal;
}

.tab-button-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin-bottom: 0.1rem;
  padding: 0 0.5rem;
}

.tab-button {
  padding: 0.5rem 0.5rem;
  background: #ddd;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
}

.tab-button.active {
  background: #229954;
  color: white;
}

.tab-button:hover {
  background-color: #1a7e43;
  transform: scale(1.05);
  text-decoration: none;
  color: white;
}
  
.tab-content {
  display: none;
  background: white;
  padding: 0.1rem 0.5rem 0.5rem 0.1rem;
  border-radius: 8px;
  overflow-x: auto;
}
   
.tab-content.active {
  display: block;
}
    
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  box-shadow: 2px 4px 8px rgba(0, 0, 0, 0.1);
}
    
th, td {
  padding: 0.5rem;
  border: 1px solid #ccc;
  text-align: left;
  min-width: 60px;
}
    
th {
  background-color: #229954;
  color: white;
}

.scroll-hint {
  font-size: 0.85rem;
  color: #666;
  margin-top: 0.3rem;
  margin-bottom: -0.5rem;
  display: none;
  align-items: center;
  gap: 0.3rem;
}

.scroll-hint i {
  color: #229954;
  margin-right: 5px;
  animation: none; /* Standard: Keine Animation auf großen Bildschirmen */
}

table i.fa-solid {
  font-size: 0.85em;
  vertical-align: middle;
  margin-right: 4px;
  color: #229954; /* grün  */
}

@keyframes nudge {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(6px); }
}


@media (max-width: 768px) {
  .page-content {
    margin-left: 1rem;
    margin-right: 1rem;
  }

  .page-header h1 {
    font-size: 1.5rem;
  }

  .breadcrumb {
    font-size: 0.85rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .tab-button {
    padding: 0.4rem 0.6rem;
    color: black;
  }

  .line-tag {
    font-size: 0.70rem;
    margin-bottom: 3px;
  }

  .box {
    max-width: 80%;
  }

  table {
    min-width: 600px;
    box-shadow: none;
  }

  th, td {
    font-size: 0.85rem;
    min-width: 75px;
  }

  .tab-content {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .tab-content table td,
  .tab-content table th {
    font-size: 0.85rem;
  }

  table i.fa-solid {
    font-size: 1em;
  }

  .tab-content table td[colspan="5"],
  .tab-content table td[colspan="6"] {
    font-size: 0.85rem;
  }

  .scroll-hint {
    display: flex;
  }

  .scroll-hint i {
    animation: nudge 1.6s infinite ease-in-out;
  }

  .page-wrapper,
  .page-content {
    padding: 0;
    margin: 0;
  }


}