
/* Default styles provided by pandoc.
** See https://pandoc.org/MANUAL.html#variables-for-html for config info.
*/
html {
  color: #1a1a1a;
  background-color: #fdfdfd;
}
body {
  margin: 0 auto;
  max-width: 36em;
  padding-left: 50px;
  padding-right: 50px;
  padding-top: 50px;
  padding-bottom: 50px;
  hyphens: auto;
  overflow-wrap: break-word;
  text-rendering: optimizeLegibility;
  font-kerning: normal;
}
@media (max-width: 600px) {
  body {
    font-size: 0.9em;
    padding: 12px;
  }
  h1 {
    font-size: 1.8em;
  }
}
@media print {
  html {
    background-color: white;
  }
  body {
    background-color: transparent;
    color: black;
    font-size: 12pt;
  }
  p, h2, h3 {
    orphans: 3;
    widows: 3;
  }
  h2, h3, h4 {
    page-break-after: avoid;
  }
}
p {
  margin: 1em 0;
}
a {
  color: #1a1a1a;
}
a:visited {
  color: #1a1a1a;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1em auto;
  page-break-inside: avoid;
  page-break-after: avoid;
}

/* Bilder in Blockquotes (wie Abbildungen) zentrieren */
blockquote img {
  display: block;
  margin: 1em auto;
  text-align: center;
}
svg {
  height: auto;
  max-width: 100%;
}
h1, h2, h3, h4, h5, h6 {
  margin-top: 1.4em;
}
h5, h6 {
  font-size: 1em;
  font-style: italic;
}
h6 {
  font-weight: normal;
}
ol, ul {
  padding-left: 1.7em;
  margin-top: 1em;
}
li > ol, li > ul {
  margin-top: 0;
}
ol li, ul li {
  display: list-item;
  list-style-position: outside;
  line-height: 1.6;
}
ol li::marker {
  vertical-align: top;
  line-height: 1.6;
}
ol li > p:first-child, ul li > p:first-child {
  margin-top: 0 !important;
  padding-top: 0 !important;
  margin-bottom: 0.8em;
  line-height: 1.6;
  display: inline-block;
  vertical-align: top;
  width: calc(100% - 2em);
}
blockquote {
  margin: 1em 0 1em 1.7em;
  padding-left: 1em;
  border-left: 2px solid #e6e6e6;
  color: #606060;
}
code {
  font-family: Menlo, Monaco, Consolas, 'Lucida Console', monospace;
  font-size: 85%;
  margin: 0;
  hyphens: manual;
}
pre {
  margin: 1em 0;
  overflow: auto;
}
pre code {
  padding: 0;
  overflow: visible;
  overflow-wrap: normal;
}
.sourceCode {
 background-color: transparent;
 overflow: visible;
}
hr {
  border: none;
  border-top: 1px solid #1a1a1a;
  height: 1px;
  margin: 1em 0;
}
table {
  margin: 1em 0;
  border-collapse: collapse;
  width: 100%;
  overflow-x: auto;
  display: block;
  font-variant-numeric: lining-nums tabular-nums;
  border: 1px solid #1a1a1a;
}
table caption {
  margin-bottom: 0.75em;
}
tbody {
  margin-top: 0.5em;
  border-top: 1px solid #1a1a1a;
  border-bottom: 1px solid #1a1a1a;
}
th {
  border-top: 1px solid #1a1a1a;
  border-right: 1px solid #1a1a1a;
  border-bottom: 1px solid #1a1a1a;
  padding: 0.25em 0.5em 0.25em 0.5em;
}
th:last-child {
  border-right: none;
}
td {
  border-right: 1px solid #1a1a1a;
  border-bottom: 1px solid #1a1a1a;
  padding: 0.125em 0.5em 0.25em 0.5em;
}
td:last-child {
  border-right: none;
}
tr:last-child td {
  border-bottom: none;
}
td blockquote, th blockquote {
  margin: 0;
  padding-left: 0;
  border-left: none;
  color: inherit;
}
header {
  margin-bottom: 4em;
  text-align: center;
}
#TOC li {
  list-style: none;
}
#TOC ul {
  padding-left: 1.3em;
}
#TOC > ul {
  padding-left: 0;
}
#TOC a:not(:hover) {
  text-decoration: none;
}
code{white-space: pre-wrap;}
span.smallcaps{font-variant: small-caps;}
div.columns{display: flex; gap: min(4vw, 1.5em);}
div.column{flex: auto; overflow-x: auto;}
div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;}
/* The extra [class] is a hack that increases specificity enough to
   override a similar rule in reveal.js */
ul.task-list[class]{list-style: none;}
ul.task-list li input[type="checkbox"] {
  font-size: inherit;
  width: 0.8em;
  margin: 0 0.8em 0.2em -1.6em;
  vertical-align: middle;
}
.display.math{display: block; text-align: center; margin: 0.5rem auto;}

/* ============================================
   PDF-ÄHNLICHES LAYOUT MIT SEITENUMBRÜCHEN
   ============================================ */

/* A4-Seitenformat: 210mm x 297mm */
@page {
  size: A4;
  margin: 2.5cm 2cm 3cm 2cm;
  
  /* Seitenzahlen am unteren Rand */
  @bottom-center {
    content: counter(page);
    font-size: 10pt;
    color: #666;
    font-family: "Times New Roman", Times, serif;
  }
}

/* Body für PDF-ähnliches Layout - Basis-Styles */
body {
  font-family: "Times New Roman", Times, serif;
  font-size: 11pt;
  line-height: 1.6;
  color: #000;
  position: relative;
}

/* Print-Media: Optimiert für Druck */
@media print {
  html {
    background-color: white;
  }
  
  body {
    background-color: white;
    max-width: 100%;
    padding: 0;
    margin: 0;
    counter-reset: page 1;
  }
  
  /* Seitenzahlen werden durch @page @bottom-center generiert */
  
  /* Seitenumbrüche vermeiden in Überschriften */
  h1, h2, h3, h4, h5, h6 {
    page-break-after: avoid;
    page-break-inside: avoid;
  }
  
  /* Keine Seitenumbrüche in Absätzen */
  p {
    orphans: 3;
    widows: 3;
    page-break-inside: avoid;
  }
  
  /* Tabellen nicht aufteilen */
  table {
    page-break-inside: avoid;
  }
  
  /* Bilder nicht aufteilen */
  img {
    page-break-inside: avoid;
    page-break-after: avoid;
  }
  
  /* Blockquotes nicht aufteilen */
  blockquote {
    page-break-inside: avoid;
  }
  
  /* Listen nicht aufteilen */
  li {
    page-break-inside: avoid;
  }
  
  /* Fußnoten - versuche sie näher an der Referenz zu platzieren */
  .footnotes {
    page-break-before: auto;
    margin-top: 1em;
    padding-top: 0.5em;
    border-top: 1px solid #ccc;
    font-size: 9pt;
  }
  
  /* Fußnoten-Referenzen im Text */
  .footnote-ref {
    vertical-align: super;
    font-size: 0.8em;
    line-height: 0;
  }
  
  /* Fußnoten-Liste */
  .footnotes ol {
    margin-top: 0.5em;
    padding-left: 1.5em;
  }
  
  .footnotes li {
    margin-bottom: 0.5em;
    page-break-inside: avoid;
  }
}

/* Screen-Ansicht: PDF-ähnliches Layout mit Seiten-Simulation */
@media screen {
  html {
    background-color: #e5e5e5; /* Grauer Hintergrund wie bei PDF-Viewern */
  }
  
  body {
    background-color: white;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    padding: 2.5cm 2cm;
    margin: 20px auto;
    max-width: 210mm;
    min-height: calc(297mm - 5cm);
    position: relative;
    counter-reset: page-counter 0;
  }
}

/* Seitenzahlen im Inhaltsverzeichnis - bereits vorhanden in <span>-Tags */
a span {
  font-weight: normal;
  color: #000;
}

/* Bessere Typografie für PDF-ähnliches Aussehen */
p {
  text-align: justify;
  margin: 0.8em 0;
}
ol li > p, ul li > p {
  margin-top: 0;
  margin-bottom: 0.8em;
  line-height: 1.6;
}

h1 {
  font-size: 16pt;
  font-weight: bold;
  margin-top: 1.2em;
  margin-bottom: 0.8em;
  page-break-after: avoid;
}

h2 {
  font-size: 14pt;
  font-weight: bold;
  margin-top: 1em;
  margin-bottom: 0.6em;
  page-break-after: avoid;
}

h3 {
  font-size: 12pt;
  font-weight: bold;
  margin-top: 0.8em;
  margin-bottom: 0.5em;
  page-break-after: avoid;
}

h4, h5, h6 {
  font-size: 11pt;
  font-weight: bold;
  margin-top: 0.6em;
  margin-bottom: 0.4em;
  page-break-after: avoid;
}

/* Fußnoten-Styling */
.footnotes {
  margin-top: 3em;
  padding: 1.5em 1em;
  border-top: 2px solid #333;
  border-left: 3px solid #0066cc;
  background-color: #f9f9f9;
  font-size: 9pt;
  page-break-inside: avoid;
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.05);
}

.footnotes::before {
  content: "Fußnoten";
  display: block;
  font-weight: bold;
  font-size: 11pt;
  margin-bottom: 1em;
  color: #333;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footnotes ol {
  margin-top: 0.5em;
  padding-left: 1.5em;
  /* counter-reset entfernt, damit die Nummerierung durchlaufend bleibt */
}

.footnotes li {
  margin-bottom: 1em;
  page-break-inside: avoid;
  padding-left: 0.5em;
  padding-right: 0.5em;
  padding-top: 0.3em;
  padding-bottom: 0.3em;
  border-left: 2px solid transparent;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.footnotes li:hover {
  background-color: #f0f0f0;
  border-left-color: #0066cc;
}

.footnotes li:target {
  background-color: #fffef0;
  border-left-color: #f4d03f;
  animation: highlight 1s ease;
}

@keyframes highlight {
  0% { background-color: #fffacd; }
  100% { background-color: #fffef0; }
}

/* Fußnoten-Referenzen im Text - optimiert */
a.footnote-ref {
  vertical-align: super;
  font-size: 0.8em;
  line-height: 0;
  text-decoration: none;
  color: #0066cc;
  cursor: pointer;
  padding: 2px 4px;
  margin: 0 1px;
  border-radius: 3px;
  background-color: rgba(0, 102, 204, 0.08);
  transition: all 0.2s ease;
  font-weight: 600;
  display: inline-block;
  min-width: 1.2em;
  text-align: center;
}

a.footnote-ref:hover {
  background-color: rgba(0, 102, 204, 0.2);
  color: #004499;
  transform: scale(1.1);
  box-shadow: 0 1px 3px rgba(0, 102, 204, 0.3);
}

a.footnote-ref:active {
  background-color: rgba(0, 102, 204, 0.3);
  transform: scale(0.95);
}

a.footnote-ref:focus {
  outline: 2px solid #0066cc;
  outline-offset: 2px;
}

/* Fußnoten-Rückverweise - optimiert */
a.footnote-back {
  text-decoration: none;
  margin-left: 0.5em;
  color: #0066cc;
  cursor: pointer;
  padding: 3px 6px;
  border-radius: 3px;
  transition: all 0.2s ease;
  font-size: 0.9em;
  font-weight: bold;
  background-color: rgba(0, 102, 204, 0.08);
  display: inline-block;
}

a.footnote-back:hover {
  background-color: rgba(0, 102, 204, 0.2);
  color: #004499;
  transform: translateX(-2px);
  box-shadow: 0 1px 3px rgba(0, 102, 204, 0.3);
}

a.footnote-back:active {
  background-color: rgba(0, 102, 204, 0.3);
  transform: translateX(0);
}

a.footnote-back:focus {
  outline: 2px solid #0066cc;
  outline-offset: 2px;
}

/* Highlight-Klasse für JavaScript-Animationen */
.footnote-highlight {
  animation: pulse-highlight 2s ease;
}

@keyframes pulse-highlight {
  0% {
    background-color: #fffacd;
    box-shadow: 0 0 0 0 rgba(244, 208, 63, 0.4);
  }
  50% {
    background-color: #fffef0;
    box-shadow: 0 0 0 10px rgba(244, 208, 63, 0);
  }
  100% {
    background-color: transparent;
    box-shadow: 0 0 0 0 rgba(244, 208, 63, 0);
  }
}

/* Externe Links - optimiert */
a.external-link {
  position: relative;
}

a.external-link::after {
  content: " ↗";
  font-size: 0.8em;
  opacity: 0.6;
  margin-left: 2px;
  transition: opacity 0.2s ease;
}

a.external-link:hover::after {
  opacity: 1;
}

/* Alle externen Links - werden durch JavaScript mit target="_blank" versehen */
a[href^="http://"],
a[href^="https://"] {
  word-break: break-all;
  hyphens: auto;
}

/* Verbesserte Darstellung für Fußnoten-Nummern */
.footnotes li::marker {
  font-weight: bold;
  color: #0066cc;
}

/* Screen-spezifische Verbesserungen */
@media screen {
  .footnotes {
    border-radius: 4px;
    margin-left: -0.5em;
    margin-right: -0.5em;
    padding-left: 1.5em;
    padding-right: 1.5em;
  }
}

/* Links im Druck schwarz */
@media print {
  a {
    color: #000;
    text-decoration: none;
  }
  
  a[href^="#"] {
    /* Interne Links behalten ihre Farbe - keine Änderung nötig */
    color: inherit;
  }
  
  a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 8pt;
    color: #666;
  }
}

/* ============================================
   SCHWEBENDES INHALTSVERZEICHNIS (TOC)
   ============================================ */

#toc-toggle {
  position: fixed;
  top: 15px;
  left: 15px;
  z-index: 1000;
  background-color: #0066cc;
  color: white;
  border: none;
  padding: 10px 12px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  font-weight: bold;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  line-height: 1;
}

#toc-toggle:hover {
  background-color: #0052a3;
  transform: scale(1.1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

#toc-toggle.active {
  background-color: #004080;
}

#floating-toc {
  position: fixed;
  top: 70px;
  left: 15px;
  width: 280px;
  max-height: calc(100vh - 90px);
  background-color: white;
  border: 2px solid #0066cc;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  z-index: 999;
  overflow-y: auto;
  transition: all 0.3s ease;
}

#floating-toc.toc-closed {
  opacity: 0;
  visibility: hidden;
  transform: translateX(-320px);
}

#floating-toc:not(.toc-closed) {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.toc-list {
  list-style: none;
  margin: 0;
  padding: 12px;
}

.toc-list li {
  margin-bottom: 4px;
}

.toc-list .toc-link {
  display: block;
  padding: 6px 10px;
  color: #333;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.2s ease;
  font-size: 12px;
  line-height: 1.3;
}

.toc-list .toc-link:hover {
  background-color: #e6f2ff;
  color: #0066cc;
  transform: translateX(5px);
}

.toc-list .toc-link.active {
  background-color: #0066cc;
  color: white;
  font-weight: bold;
  border-left: 4px solid #004080;
}

.toc-back-to-top {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 2px solid #e0e0e0;
}

.toc-back-to-top .toc-link {
  color: #0066cc;
  font-weight: bold;
  font-size: 12px;
}

.toc-back-to-top .toc-link:hover {
  background-color: #0066cc;
  color: white;
}

/* Scrollbar für TOC */
#floating-toc::-webkit-scrollbar {
  width: 8px;
}

#floating-toc::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

#floating-toc::-webkit-scrollbar-thumb {
  background: #0066cc;
  border-radius: 4px;
}

#floating-toc::-webkit-scrollbar-thumb:hover {
  background: #0052a3;
}

/* Responsive: Auf kleinen Bildschirmen */
@media (max-width: 768px) {
  #toc-toggle {
    top: 10px;
    left: 10px;
    width: 40px;
    height: 40px;
    font-size: 18px;
  }
  
  #floating-toc {
    top: 60px;
    left: 10px;
    width: calc(100vw - 20px);
    max-width: 280px;
  }
  
  #floating-toc.toc-closed {
    transform: translateX(-100%);
  }
}

/* PDF Download Button */
.pdf-download-button {
  display: inline-block;
  padding: 12px 24px;
  background-color: #0066cc;
  color: white !important;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  font-size: 14px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 102, 204, 0.3);
}

.pdf-download-button:hover {
  background-color: #0052a3;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 102, 204, 0.4);
}

.pdf-download-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(0, 102, 204, 0.3);
}

/* Markierte Stellen (Kommentare) */
.markierte-stelle {
  background-color: #fff9c4;
  background-image: linear-gradient(120deg, rgba(255, 249, 196, 0.3) 0%, rgba(255, 249, 196, 0.3) 100%);
  background-repeat: no-repeat;
  background-size: 100% 0.5em;
  background-position: 0 0.5em;
  padding: 0.15em 0.3em;
  border-radius: 4px;
  border-left: 3px solid #f4d03f;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  display: inline-block;
  position: relative;
  user-select: text;
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
}

/* Farbrotation: Gelb (1. Markierung) */
.markierung-gelb {
  background-color: #fff9c4;
  background-image: linear-gradient(120deg, rgba(255, 249, 196, 0.3) 0%, rgba(255, 249, 196, 0.3) 100%);
  border-left: 3px solid #f4d03f;
}

.markierung-gelb:hover {
  background-color: #fffacd;
  box-shadow: 0 2px 4px rgba(255, 250, 205, 0.3);
}

/* Farbrotation: Blau (2. Markierung) */
.markierung-blau {
  background-color: #c4e1ff;
  background-image: linear-gradient(120deg, rgba(196, 225, 255, 0.3) 0%, rgba(196, 225, 255, 0.3) 100%);
  border-left: 3px solid #4a90e2;
}

.markierung-blau:hover {
  background-color: #add6ff;
  box-shadow: 0 2px 4px rgba(74, 144, 226, 0.3);
}

/* Farbrotation: Grün (3. Markierung) */
.markierung-gruen {
  background-color: #c4ffc4;
  background-image: linear-gradient(120deg, rgba(196, 255, 196, 0.3) 0%, rgba(196, 255, 196, 0.3) 100%);
  border-left: 3px solid #4caf50;
}

.markierung-gruen:hover {
  background-color: #a8ffa8;
  box-shadow: 0 2px 4px rgba(76, 175, 80, 0.3);
}

/* Farbrotation: Violett (4. Markierung) */
.markierung-violett {
  background-color: #e1c4ff;
  background-image: linear-gradient(120deg, rgba(225, 196, 255, 0.3) 0%, rgba(225, 196, 255, 0.3) 100%);
  border-left: 3px solid #9c27b0;
}

.markierung-violett:hover {
  background-color: #d4a8ff;
  box-shadow: 0 2px 4px rgba(156, 39, 176, 0.3);
}

/* Farbrotation: Rot (5. Markierung) */
.markierung-rot {
  background-color: #ffc4c4;
  background-image: linear-gradient(120deg, rgba(255, 196, 196, 0.3) 0%, rgba(255, 196, 196, 0.3) 100%);
  border-left: 3px solid #e53935;
}

.markierung-rot:hover {
  background-color: #ffa8a8;
  box-shadow: 0 2px 4px rgba(229, 57, 53, 0.3);
}

/* Farbrotation: Pink (6. Markierung) */
.markierung-pink {
  background-color: #ffe6f0;
  background-image: linear-gradient(120deg, rgba(255, 230, 240, 0.3) 0%, rgba(255, 230, 240, 0.3) 100%);
  border-left: 3px solid #e91e63;
}

.markierung-pink:hover {
  background-color: #ffd6e8;
  box-shadow: 0 2px 4px rgba(233, 30, 99, 0.3);
}

/* Farbrotation: Orange (7. Markierung) */
.markierung-orange {
  background-color: #ffe6cc;
  background-image: linear-gradient(120deg, rgba(255, 230, 204, 0.3) 0%, rgba(255, 230, 204, 0.3) 100%);
  border-left: 3px solid #ff9800;
}

.markierung-orange:hover {
  background-color: #ffd9b3;
  box-shadow: 0 2px 4px rgba(255, 152, 0, 0.3);
}

/* Farbrotation: Türkis (8. Markierung) */
.markierung-tuerkis {
  background-color: #ccf5f5;
  background-image: linear-gradient(120deg, rgba(204, 245, 245, 0.3) 0%, rgba(204, 245, 245, 0.3) 100%);
  border-left: 3px solid #00bcd4;
}

.markierung-tuerkis:hover {
  background-color: #b3f0f0;
  box-shadow: 0 2px 4px rgba(0, 188, 212, 0.3);
}

/* Allgemeiner Hover-Effekt (nur wenn keine spezifische Farbe zugewiesen ist) */
.markierte-stelle:not(.markierung-gelb):not(.markierung-blau):not(.markierung-gruen):not(.markierung-violett):not(.markierung-rot):not(.markierung-pink):not(.markierung-orange):not(.markierung-tuerkis):hover {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Hervorhebung beim Anspringen - Basis (wird durch spezifische Farbklassen überschrieben) */
.markierte-stelle:target,
.markierte-stelle.aktiv {
  /* Animation wird durch spezifische Farbklassen definiert */
}

/* Aktiv-Zustand für verschiedene Farben mit passenden Animationen */
.markierung-gelb.aktiv {
  background-color: #fff8dc;
  box-shadow: 0 0 10px rgba(255, 248, 220, 0.4);
  animation: highlight-pulse-gelb 1.5s ease-in-out;
}

.markierung-blau.aktiv {
  background-color: #b3d9ff;
  box-shadow: 0 0 10px rgba(74, 144, 226, 0.4);
  animation: highlight-pulse-blau 1.5s ease-in-out;
}

.markierung-gruen.aktiv {
  background-color: #a8ffa8;
  box-shadow: 0 0 10px rgba(76, 175, 80, 0.4);
  animation: highlight-pulse-gruen 1.5s ease-in-out;
}

.markierung-violett.aktiv {
  background-color: #d4a8ff;
  box-shadow: 0 0 10px rgba(156, 39, 176, 0.4);
  animation: highlight-pulse-violett 1.5s ease-in-out;
}

.markierung-rot.aktiv {
  background-color: #ffa8a8;
  box-shadow: 0 0 10px rgba(229, 57, 53, 0.4);
  animation: highlight-pulse-rot 1.5s ease-in-out;
}

.markierung-pink.aktiv {
  background-color: #ffd6e8;
  box-shadow: 0 0 10px rgba(233, 30, 99, 0.4);
  animation: highlight-pulse-pink 1.5s ease-in-out;
}

.markierung-orange.aktiv {
  background-color: #ffd9b3;
  box-shadow: 0 0 10px rgba(255, 152, 0, 0.4);
  animation: highlight-pulse-orange 1.5s ease-in-out;
}

.markierung-tuerkis.aktiv {
  background-color: #b3f0f0;
  box-shadow: 0 0 10px rgba(0, 188, 212, 0.4);
  animation: highlight-pulse-tuerkis 1.5s ease-in-out;
}

/* Animationen für jede Farbe */
@keyframes highlight-pulse-gelb {
  0%, 100% {
    background-color: #fff8dc;
    box-shadow: 0 0 10px rgba(255, 248, 220, 0.4);
  }
  50% {
    background-color: #fffacd;
    box-shadow: 0 0 20px rgba(255, 250, 205, 0.5);
  }
}

@keyframes highlight-pulse-blau {
  0%, 100% {
    background-color: #b3d9ff;
    box-shadow: 0 0 10px rgba(74, 144, 226, 0.4);
  }
  50% {
    background-color: #add6ff;
    box-shadow: 0 0 20px rgba(74, 144, 226, 0.5);
  }
}

@keyframes highlight-pulse-gruen {
  0%, 100% {
    background-color: #a8ffa8;
    box-shadow: 0 0 10px rgba(76, 175, 80, 0.4);
  }
  50% {
    background-color: #90ee90;
    box-shadow: 0 0 20px rgba(76, 175, 80, 0.5);
  }
}

@keyframes highlight-pulse-violett {
  0%, 100% {
    background-color: #d4a8ff;
    box-shadow: 0 0 10px rgba(156, 39, 176, 0.4);
  }
  50% {
    background-color: #c77dff;
    box-shadow: 0 0 20px rgba(156, 39, 176, 0.5);
  }
}

@keyframes highlight-pulse-rot {
  0%, 100% {
    background-color: #ffa8a8;
    box-shadow: 0 0 10px rgba(229, 57, 53, 0.4);
  }
  50% {
    background-color: #ff8a8a;
    box-shadow: 0 0 20px rgba(229, 57, 53, 0.5);
  }
}

@keyframes highlight-pulse-pink {
  0%, 100% {
    background-color: #ffd6e8;
    box-shadow: 0 0 10px rgba(233, 30, 99, 0.4);
  }
  50% {
    background-color: #ffc4d9;
    box-shadow: 0 0 20px rgba(233, 30, 99, 0.5);
  }
}

@keyframes highlight-pulse-orange {
  0%, 100% {
    background-color: #ffd9b3;
    box-shadow: 0 0 10px rgba(255, 152, 0, 0.4);
  }
  50% {
    background-color: #ffcc99;
    box-shadow: 0 0 20px rgba(255, 152, 0, 0.5);
  }
}

@keyframes highlight-pulse-tuerkis {
  0%, 100% {
    background-color: #b3f0f0;
    box-shadow: 0 0 10px rgba(0, 188, 212, 0.4);
  }
  50% {
    background-color: #99e6e6;
    box-shadow: 0 0 20px rgba(0, 188, 212, 0.5);
  }
}


/* Im Druckmodus ausblenden */
@media print {
  #toc-toggle,
  #floating-toc,
  .pdf-download-button {
    display: none !important;
  }
  
  .markierte-stelle {
    background-color: #fffef0;
    border-left: 3px solid #f4d03f;
    padding-left: 0.5em;
  }
  
  .markierung-gelb {
    background-color: #fffef0;
    border-left: 3px solid #f4d03f;
  }
  
  .markierung-blau {
    background-color: #e6f3ff;
    border-left: 3px solid #4a90e2;
  }
  
  .markierung-gruen {
    background-color: #e6ffe6;
    border-left: 3px solid #4caf50;
  }
  
  .markierung-violett {
    background-color: #f3e6ff;
    border-left: 3px solid #9c27b0;
  }
  
  .markierung-rot {
    background-color: #ffe6e6;
    border-left: 3px solid #e53935;
  }
  
  .markierung-pink {
    background-color: #ffe6f0;
    border-left: 3px solid #e91e63;
  }
  
  .markierung-orange {
    background-color: #ffe6cc;
    border-left: 3px solid #ff9800;
  }
  
  .markierung-tuerkis {
    background-color: #ccf5f5;
    border-left: 3px solid #00bcd4;
  }
}

/* Info-Box mit Rahmen und grauem Hintergrund */
.info-box {
  border: 1px solid #ccc;
  background-color: #f5f5f5;
  padding: 1em;
  margin: 1em 0;
}
.info-box p {
  margin: 0.5em 0;
}
.info-box p:first-child {
  margin-top: 0;
}
.info-box p:last-child {
  margin-bottom: 0;
}

/* Nummerierte Liste mit Klammern - verstecke Standard-Nummerierung */
ol.numbered-with-parentheses {
  list-style: none;
  counter-reset: list-counter;
  padding-left: 0;
}
ol.numbered-with-parentheses li {
  counter-increment: list-counter;
  padding-left: 0;
}
ol.numbered-with-parentheses li::before {
  content: none;
}
