.legalDocumentContainer {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  line-height: 1.6;
}

.legalDocumentContainer h2 {
  font-size: 2.5rem;
  color: #2a2f43;
  margin-bottom: 20px;
  text-align: center;
  border-bottom: 3px solid #E30A1D;
  padding-bottom: 15px;
}

.documentStand {
  text-align: center;
  margin-bottom: 30px;
  font-style: italic;
  color: #666;
  font-size: 1rem;
}

.documentStand strong {
  color: #333;
  font-size: 1rem;
}

.documentContent {
  margin-bottom: 40px;
  font-size: 1.1rem;
  line-height: 1.7;
  color: #333;
}

/* Tabellen-Styling für Hauptinhalt */
.documentContent table {
  border-collapse: collapse;
  width: 100%;
  margin: 1rem 0;
}
.documentContent th,
.documentContent td {
  border: 1px solid #dee2e6;
  padding: 8px;
  text-align: left;
}
.documentContent thead th {
  background: #f8f9fa;
}

.documentContent p {
  margin-bottom: 1rem;
}

.documentContent strong {
  font-weight: 600;
  color: #2a2f43;
}

.documentContent em {
  font-style: italic;
  color: #555;
}

.documentContent code {
  background-color: #f6f8fa;
  padding: 2px 4px;
  border-radius: 3px;
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.9em;
}

.documentContent ul, .documentContent ol {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.documentContent li {
  margin-bottom: 0.5rem;
}

/* Hauptabschnitte (1, 2, 3) */
.mainSection {
  margin-bottom: 40px;
  padding: 0;
  background-color: transparent;
  border: none;
}

.mainSection h3 {
  font-size: 1.6rem;
  color: #2a2f43;
  margin: 0 0 20px 0;
  font-weight: 600;
  border-bottom: 1px solid #ddd;
  padding-bottom: 10px;
}

.sectionContent {
  color: #333;
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 30px;
}

/* Tabellen-Styling für Abschnittsinhalt */
.sectionContent table {
  border-collapse: collapse;
  width: 100%;
  margin: 1rem 0;
}
.sectionContent th,
.sectionContent td {
  border: 1px solid #dee2e6;
  padding: 8px;
  text-align: left;
}
.sectionContent thead th {
  background: #f8f9fa;
}

.sectionContent p {
  margin-bottom: 1rem;
}

.sectionContent strong {
  font-weight: 600;
  color: #2a2f43;
}

.sectionContent em {
  font-style: italic;
  color: #555;
}

.sectionContent code {
  background-color: #f6f8fa;
  padding: 2px 4px;
  border-radius: 3px;
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.9em;
}

.sectionContent ul, .sectionContent ol {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.sectionContent li {
  margin-bottom: 0.5rem;
}

/* Unterabschnitte (1.1, 1.2) */
.subSection {
  margin-bottom: 25px;
  margin-left: 30px;
}

.subSectionContent {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.subSectionNumber {
  font-weight: 600;
  color: #E30A1D;
  font-size: 1.1rem;
  min-width: 40px;
  flex-shrink: 0;
}

.subSectionText {
  color: #333;
  font-size: 1.1rem;
  line-height: 1.7;
  flex: 1;
}

.subSectionText p {
  margin-bottom: 1rem;
}

.subSectionText strong {
  font-weight: 600;
  color: #2a2f43;
}

.subSectionText em {
  font-style: italic;
  color: #555;
}

.subSectionText code {
  background-color: #f6f8fa;
  padding: 2px 4px;
  border-radius: 3px;
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.9em;
}

/* Unter-Unterabschnitte (1.1.1, 1.1.2) */
.subSubSection {
  margin-bottom: 20px;
  margin-left: 60px;
}

.subSubSectionContent {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.subSubSectionNumber {
  font-weight: 600;
  color: #E30A1D;
  font-size: 1rem;
  min-width: 50px;
  flex-shrink: 0;
}

.subSubSectionText {
  color: #333;
  font-size: 1rem;
  line-height: 1.7;
  flex: 1;
}

.subSubSectionText p {
  margin-bottom: 1rem;
}

.subSubSectionText strong {
  font-weight: 600;
  color: #2a2f43;
}

.subSubSectionText em {
  font-style: italic;
  color: #555;
}

.subSubSectionText code {
  background-color: #f6f8fa;
  padding: 2px 4px;
  border-radius: 3px;
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.9em;
}

/* Unter-Unter-Unterabschnitte (1.1.1.1, 1.1.1.2) */
.subSubSubSection {
  margin-bottom: 15px;
  margin-left: 90px;
}

.subSubSubSectionContent {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.subSubSubSectionNumber {
  font-weight: 600;
  color: #E30A1D;
  font-size: 0.9rem;
  min-width: 60px;
  flex-shrink: 0;
}

.subSubSubSectionText {
  color: #333;
  font-size: 0.9rem;
  line-height: 1.7;
  flex: 1;
}

.subSubSubSectionText p {
  margin-bottom: 1rem;
}

.subSubSubSectionText strong {
  font-weight: 600;
  color: #2a2f43;
}

.subSubSubSectionText em {
  font-style: italic;
  color: #555;
}

.subSubSubSectionText code {
  background-color: #f6f8fa;
  padding: 2px 4px;
  border-radius: 3px;
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: 0.9em;
}

/* Responsive Design */
@media (max-width: 768px) {
  .legalDocumentContainer {
    padding: 15px;
  }
  
  .legalDocumentContainer h2 {
    font-size: 1.6rem;
  }
  
  .mainSection {
    padding: 15px;
  }
  
  .mainSection h3 {
    font-size: 1.2rem;
  }
  
  .subSection {
    margin-left: 15px;
  }
  
  .subSectionContent {
    gap: 10px;
  }
  
  .subSubSection {
    margin-left: 30px;
  }
  
  .subSubSectionContent {
    gap: 10px;
  }
  
  .subSubSubSection {
    margin-left: 45px;
  }
  
  .subSubSubSectionContent {
    gap: 10px;
  }
}


