

.md-typeset h1 {
  border-bottom: 1px solid green !important;
  padding-bottom: 0.2em;
  font-size: 1.4rem;
}

.md-typeset h2 { 
  font-size: 1.1rem !important;
  border-bottom: 1px solid #dadcda;
  margin-bottom: 0.4em !important;
  padding-bottom: -4.0em !important;  } 

.md-typeset h3 { 
  font-size: 0.8rem !important; } 
.md-typeset h4 { 
  font-size: 0.8rem  !important; } 
.md-typeset h5 { 
  font-size: 1.0rem !important; }
.md-typeset h6 { 
  font-size: 1.0rem  !important; } 


@media print {
  .md-typeset {
    margin: 0.5cm 0.5cm;
 }
   .md-typeset p { 
    font-size: 16px !important;
    margin-top: 0;
    line-height: 1.50;
 }
  .md-typeset h1 {
  font-size: 26px !important;
  border-bottom: 1px solid green !important;
  margin-top: 0.6em;
  margin-bottom: 0;  
}
  .md-typeset h2 { 
  font-size: 24px !important;
  border-bottom: 1px solid #dadcda;
  margin-top: 0.6em;
  margin-bottom: 0;
} 
  .md-typeset h3 { 
  font-size: 20px !important;
  font-weight: normal;
  margin-top: 0.6em;
  margin-bottom: 0.5em;
} 
  .md-typeset h4 { 
  font-size: 18px !important;
  font-weight: normal;
  margin-top: 0.6em;
  margin-bottom: 0;
} 
  .md-typeset h5 { 
  font-size: 16px !important;
  font-weight: normal;
  text-transform: none;
  margin-top: 0.6em;
  margin-bottom: 0;
}  
  .md-typeset h6 { 
  font-size: 16px !important;
  font-weight: normal;
  text-transform: none;
  margin-top: 0.6em;
  margin-bottom: 0;
}  

/* Listen */

.md-typeset ul,
.md-typeset ol {
  font-size: 16px !important;
  margin-top: 0.25em;
  margin-bottom: 0.25em;
  padding-left: 1.1em;
}

.md-typeset li {
  margin-bottom: 0.1em;
}

.md-typeset ul {
  list-style: circle !important;
}

.md-typeset ul li {
  list-style: circle !important;
}

.md-typeset ul li::marker {
  color: green !important;
}

.md-typeset table {
  margin-top: 0.6em;
}

/* Tabellen */

.md-typeset table {
  margin-top: 0.8em;
}

 .md-typeset th {
  font-size: 14px !important;
  font-weight: bold;
  border: 0.3px solid #c8c8c8;
}

 .md-typeset td {
  font-size: 14px !important;
  border: 0.3px solid #c8c8c8;
}  

/* Seitenumbrüche bei Tabellen */

.md-typeset table {
  page-break-inside: auto;
}

.md-typeset tr {
  page-break-inside: avoid;
  page-break-after: auto;
}

/* Codeblöcke */

.md-typeset pre code {
  font-size: 14px !important;
}

.md-typeset code {
  font-size: 14px !important;
}

}


/* .md-typeset pre,
.md-typeset code,
.md-typeset kbd {
  font-size: 0.95em !important;
} */

/* 4. Tabellen etwas lesbarer machen */

/* .md-typeset table {
  font-size: 0.98em !important;
} */

/* 5. Seitenränder etwas vergrößern, damit es nicht zu voll wirkt */


/* @page {
  margin: 2.8cm 2.2cm 2.5cm 2.2cm; 
  size: A4 portrait;
} */



/* docs/stylesheets/pdf-custom.css */

/* Deine gewünschte Akzentfarbe definieren – ersetze die Werte! */
:root,
[data-md-color-scheme="default"],
[data-md-color-scheme="slate"] {
  --md-accent-fg-color:        #13670d !important;   
  --md-accent-fg-color--light: #b085f5 !important;
  --md-accent-fg-color--dark:  #512da8 !important;

  --md-primary-fg-color: #145915 !important;           /* Header */
  --md-primary-fg-color--light: green !important;    
  --md-primary-fg-color--dark:  #145915 !important;
}



/* Hover-Farbe */
[data-md-color-scheme="default"] {
  --md-accent-fg-color: green !important;        
}

/* Wichtige Elemente explizit färben (TOC, Links, Überschriften, aktive Nav) */
.md-typeset a,
.md-nav__link--active,
.md-nav__title,
h1, h2, h3, h4, h5, h6,
.toc a,
.pdf-toc a {
  color: var(--md-accent-fg-color) !important;
}

.pdf-toc .toc-level-1 > a,
.pdf-toc .toc-level-2 > a {
  color: var(--md-primary-fg-color) !important;
}

/* Optional: Unterstreichungen / Hover-Effekte entfernen oder anpassen */
.md-typeset a {
  border-bottom: 1px solid rgba(var(--md-accent-fg-color--transparent), 0.3) !important;
}

html, body {
  color-scheme: light !important;
}
[data-md-color-scheme] {
  --md-color-scheme: default !important;
}

