
@media (min-width: 1020px) {
.navbar-brand-container {
  margin-right: 1em;
}
}



@media (max-width: 1060px) and (min-width: 991.98px) {
#navbarCollapse ul:last-of-type a.nav-link {
  padding-left: .25em;
  padding-right: .25em;
}

.navbar #quarto-search {
  margin-left: .1em;
}

.navbar .bi-twitter,
.navbar .bi-github,
.navbar .bi-rss
 {
  font-size: .8em;
}
}


@media (min-width: 991.98px) {
#quarto-header {
  border-bottom: 1px solid #dee2e6;
}
}

.navbar-brand > img {
  max-height: 36px;
}


.platform-table td {
  vertical-align: middle;
}

.platform-table td > div.sourceCode {
  margin-top: 0.3rem;
  margin-bottom: 0.3rem;
}


.document-example {
  opacity: 0.9;
  padding: 6px; 
  font-weight: 500;
  margin-bottom: 1rem;
}

.document-example div {
  padding: 5px;
}


.document-example .citation {
  color: blue;
}

.trademark {
  font-size: 0.6rem;
  display: inline-block;
  margin-left: -3px;
}

.search-attribution {
  margin-top: 20px;
  padding-bottom: 20px;
  height: 40px;
}

.download-button {
  margin-top: 1em;
}

.download-table {
  margin-bottom: 2em;  
}

.download-table p {
  margin-bottom: 0;
}

.download-table .checksum {
  color: var(--bs-primary);
  font-size: .775em;
  cursor: pointer;
  padding-top: 4px;
}

.download-button {
  display:flex;
  padding-bottom: 10px;
  padding-top: 10px;
}

.download-button .secondary {
  font-size: .775em;
  margin-bottom: 0;
}

.download-button .container {
  display: flex;
  padding-left: 10px;
  padding-right: 40px;
}

.download-button .icon-container {
  fill: white;
  width: 30px;
  margin-right: 15px;
}

iframe.reveal-demo {
  width: 100%;
  height: 350px;
  outline: none;
}


.slide-deck {
  border: 3px solid #dee2e6;
  width: 100%;
  height: 475px;
}

@media only screen and (max-width: 600px) {
 .slide-deck {
    height: 400px;
  }
}


@media (max-width: 575px) {

.link-cards .card {
  margin-bottom: 20px;
  margin-right: 35px;
}

}

@media (min-width: 576px) { 
.link-cards {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.link-cards .card {
  width: 190px;
  margin: 0 20px 12px 0;
}


}


.link-cards .card {
  border: none;
  padding: 0;
}

.link-cards .card-title h4 {
  margin-top: 0;
}

.link-cards .card-title p {
  margin-bottom: 0;
}

.link-cards .card-subtitle {
  margin-bottom: 0.7rem;
}

.link-cards .card-body {
  padding: 0.5rem;
  padding-left: 0.1rem;
}

.link-cards .card-body ul {
  margin-bottom: 0;
  padding-left: 0;
  list-style-type: none;
}

.link-cards .card-body ul a {
  text-decoration: none;
}

.link-cards .card-body ul li {
  padding-bottom: 0.2rem;
}


.card .source-code {
  margin-top: 3px;
}

.carousel.card {
  font-size: 16px;
  padding-top: 2em;
}

.carousel.card a {
  text-decoration: none;
}

.carousel img {
  width: 70%;
  margin-bottom: 110px;
}

.carousel .carousel-control-prev-icon, 
.carousel .carousel-control-next-icon {
  margin-bottom: 110px;
}


.gallery-category {
  column-gap: 10px;
}

.btn-action-primary {
  color: white;
  background-color: #447099 !important;
}

.btn-action-primary:hover {
  color: white;
}

.btn-action {
  min-width: 165px;
  border-radius: 30px;
  border: none;
}

.panel-tabset[data-group="tools-tabset"] .choose-your-tool {
  max-width: 90px;
  margin-right: 25px;
  margin-top: 30px;
  font-weight: 300;
  font-size: 1.3rem;
  text-align: left;
  vertical-align: center;
}

.panel-tabset[data-group="tools-tabset"] .tab-content {
  border: none;
  padding-left: 5px;
}

.panel-tabset[data-group="tools-tabset"] .nav-tabs {
  border-bottom: none;
}

.panel-tabset[data-group="tools-tabset"] .nav-tabs .nav-link {
  text-align: center;
  margin-right: 10px;
  margin-top: 10px;
  color: inherit;
  width: 102px;
  font-size: 0.8em;
}

.panel-tabset[data-group="tools-tabset"] .nav-tabs .nav-link, 
.panel-tabset[data-group="tools-tabset"] .nav-tabs .nav-link.active, 
.panel-tabset[data-group="tools-tabset"] .nav-tabs .nav-item.show .nav-link {
  border: 1px solid  rgb(222, 226, 230);
  border-radius: 10px;
}
.panel-tabset[data-group="tools-tabset"] .nav-tabs .nav-link:hover {
   border-color: rgb(80,146,221);
   border-width: 1px;
} 

.panel-tabset[data-group="tools-tabset"] .nav-tabs .nav-link.active, 
.panel-tabset[data-group="tools-tabset"] .nav-tabs .nav-item.show .nav-link {
  border-color: rgb(80,146,221);
  border-width: 2px;
}

.panel-tabset[data-group="tools-tabset"] .nav-tabs .nav-link img {
  width: 65px;
  height: 65px;
  display: block;
  margin-bottom: 2px;
}

/*
.panel-tabset[data-group="tools-tabset"] .nav-tabs .nav-link {
  text-align: center;
  margin-right: 10px;
  margin-top: 10px;
  color: inherit;
  width: 102px;
  font-size: 0.8em;
}
 
.panel-tabset[data-group="tools-tabset"] .nav-tabs .nav-link img {
  width: 45px;
  height: 45px;
  margin-left: 10px;
  display: block;
  margin-bottom: 2px;
}
*/


.download-text {
  font-size: 1.1em;
  font-weight: 500;  
}

.preview-image-grid {
  gap: .75em;
}

.preview-image-grid p {
  margin-bottom: 0;
}

.preview-image-label {
  text-align: center;
  font-size: .75em;
  font-weight: 600;
}

.illustration {
  border: 1px solid #dee2e6;
}

.webex-solveme {
  width: 6ch !important;
}

.katex {
  font-size: 1.00em;
}

p, li {
  hyphens: auto;
  -webkit-hyphens: auto;
  hyphenate-limit-chars: 6 3 3;
}


.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}


/* Rechts schwimmendes, responsives Video (16:9) */
.video-float {
  float: right;
  width: 40%;              /* feste Breite innerhalb des Textbereichs   */
  max-width: 360px;        /* obere Grenze, optional anpassen           */
  aspect-ratio: 16 / 9;    /* modernes Ratio � erspart Padding-Hack     */
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

/* Iframe f�llt den Container vollst�ndig */
.video-float iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Auf schmalen Bildschirmen: Vollbreite, kein Float */
@media (max-width: 768px) {
  .video-float {
    float: none;
    width: 100%;
    max-width: 100%;
    margin: 1rem 0;
  }
}

/* YouTube-Vorschaubild mit Play-Button-Overlay */
.yt-preview {
  display: block;
  position: relative;
  text-decoration: none;
  border-radius: 4px;
  overflow: hidden;
}

.yt-preview img {
  width: 100%;
  display: block;
  transition: filter 0.2s;
}

.yt-preview:hover img {
  filter: brightness(0.85);
}

/* Roter Play-Button-Hintergrund */
.yt-preview::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 44px;
  background: rgba(255, 0, 0, 0.88);
  border-radius: 10px;
  transition: background 0.2s;
  pointer-events: none;
}

.yt-preview:hover::after {
  background: rgb(255, 0, 0);
}

.yt-preview p {
  margin: 0;
}

.yt-caption {
  position: absolute;
  bottom: 0.5em;
  left: 1em;
  width: 70%;
  padding: 0.5em 0.7em;
  background: rgba(var(--bs-primary-rgb), 0.82);
  color: white;
  font-size: 0.72em;
  line-height: 1.4;
  border-radius: 4px;
  pointer-events: none;
  z-index: 2;
}

.yt-caption::before {
  content: "Video: ";
  font-weight: bold;
}

/* Weisses Dreieck */
.yt-preview::before {
  content: '';
  position: absolute;
  top: 50%;
  left: calc(50% + 3px);
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 11px 0 11px 19px;
  border-color: transparent transparent transparent white;
  z-index: 1;
  pointer-events: none;
}

/* Rechts schwebendes Video mit Textumfluss */
.float-video-rechts {
  float: right;
  width: 60%;
  margin-left: 1rem;
  margin-bottom: 0.7rem;
}

.float-video-rechts iframe,
.float-video-rechts .ratio {
  width: 100%;
}

@media (max-width: 768px) {
  .float-video-rechts {
    float: none;
    width: 100%;
    margin: 1rem 0;
  }
}

/* Video ohne Fliesstext daneben (nur Kaesten bis zum Abschnittsende):
   zentriert statt rechts schwebend mit leerer Flaeche links */
.float-video-rechts.video-mitte {
  float: none;
  width: 60%;
  margin: 1rem auto;
}

@media (max-width: 768px) {
  .float-video-rechts.video-mitte {
    width: 100%;
  }
}

/* Abgesetzte Formeln weichen schwebenden Videos/Bildern aus: als Tabellen-Box
   zentriert im freien Platz; passt die Formel nicht daneben, rutscht sie unter den Float */
.math.display > .katex-display {
  display: table;
  margin-left: auto;
  margin-right: auto;
}

/* Rechts schwebendes Bild mit Textumfluss */
.float-bild-rechts {
  float: right;
  width: 220px;
  max-width: 35%;
  margin-left: 1.2rem;
  margin-bottom: 0.7rem;
}

.float-bild-rechts img {
  width: 100%;
  height: auto;
}

.float-bild-rechts figcaption {
  font-size: 0.8em;
  color: #555;
  text-align: center;
  margin-top: 0.3rem;
}

@media (max-width: 768px) {
  .float-bild-rechts {
    float: none;
    width: 100%;
    max-width: 100%;
    margin: 1rem 0;
  }
}

.float-bild-rechts-breit {
  float: right;
  width: 55%;
  margin: 0.7em 0 0.0em 0.7em;
  /* outline: 2px solid green; */
}

.float-bild-rechts-breit img {
  width: 100%;
  height: auto;
}

.float-bild-rechts-breit .quarto-figure {
  margin: 0;
  /* outline: 2px solid purple; */
}

.float-bild-rechts-breit figure {
  margin: 0;
  /* outline: 2px solid blue; */
}

.float-bild-rechts-breit p {
  margin: 0;
  /* outline: 2px solid orange; */
}

.float-bild-rechts-breit figcaption {
  font-size: 0.8em;
  color: #555;
  text-align: center;
  margin: 0.0em 0 0.0em 0.2em;
  /* outline: 2px solid red; */
}

@media (max-width: 768px) {
  .float-bild-rechts-breit {
    float: none;
    width: 100%;
    margin: 1rem 0;
  }
}

.wrap-clear {
  clear: both;
}

/* Booktabs-Stil fuer Markdown-Tabellen im Fliesstext */
.booktabs {
  margin-top: 0.5em !important;
  margin-bottom: 1.5em !important;
  /* outline: 2px solid green; */                    /* DEBUG: Element-Box */
  /* box-shadow: 0 -0.5em 0 0 rgba(0,128,0,0.3), */ /* DEBUG: margin-top */
  /*             0  1.5em 0 0 rgba(0,128,0,0.3); */  /* DEBUG: margin-bottom */
}
/* border-top/-bottom auf Zellenebene statt Tabellenebene, da border-collapse
   table-level-Borders bei border:none auf Zellen unterdrueckt.
   !important ueberschreibt Bootstrap-.table-Spezifitaet (0-2-0). */
.booktabs table {
  border-collapse: collapse;
  margin-top: 0;
  margin-bottom: 0;
}
.booktabs table thead tr th {
  border-top: 2px solid black !important;
  border-bottom: 1px solid black !important;
  padding: 3px 14px !important;
  line-height: 1.3;
  font-weight: normal;
  text-align: center;
}
.booktabs table tbody tr td {
  border-top: none !important;
  border-bottom: none !important;
  padding: 2px 14px !important;
  line-height: 1.3;
  text-align: center;
}
.booktabs table tbody tr:last-child td {
  border-top: 1px solid black !important;
  border-bottom: 2px solid black !important;
}
.booktabs.no-last-rule table tbody tr:last-child td {
  border-top: none !important;
}
/* Quer gestellte Wertetabellen (Kopfzeile = Ausprägungen, eine Datenzeile):
   ::: {.booktabs .no-last-rule .no-head-rule ...} - keine Linie zwischen den Zeilen */
.booktabs.no-head-rule table thead tr th {
  border-bottom: none !important;
}

@media (max-width: 768px) {
  #fig-extrema-bsp5 img {
    width: 90% !important;
  }
}

/* Abbildungen mit #| classes: fig-80 - auf breiten Bildschirmen 80 % Breite,
   auf schmalen (Handy, Tablet hochkant) volle Breite */
.fig-80 img {
  width: 80% !important;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 768px) {
  .fig-80 img { width: 100% !important; }
}

/* FiMa-Grafiken (#| classes: fig-fima, Breite fima_fig_breite in functions.R):
   volle Satzspiegelbreite, hoechstens 425 px - auch dann bleibt die Schrift
   in der Grafik (7 pt, knapp 15 px) kleiner als der Fliesstext (17 px) */
.fig-fima img {
  width: 100% !important;
  max-width: 425px;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* breite Fassung (js/fig-breit.js, ab 768 px): 75 % der Kasten- bzw.
   Satzspiegelbreite, die Schrift ist dafuer in R kleiner angelegt */
.fig-fima img.fig-breit-aktiv {
  width: 75% !important;
  max-width: none;
}

/* Mehrere abgesetzte Formeln nebeneinander, wenn Platz ist, sonst untereinander:
   ::: {.formel-reihe}  mit je einem $$-Block pro Formel  :::  */
.formel-reihe {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 2.5em;
  margin: 0.5em 0;
}
.formel-reihe p { margin: 0; }
/* in Flex fallen Aussenabstaende nicht zusammen: halbieren */
.formel-reihe .katex-display { margin: 0.5em 0; }

/* Schmale Spalten fuer Wahrheitstafeln u.Ae.: ::: {.booktabs .kompakt ...}
   (handytauglich auch im Uebungskasten, ca. 265 px Satzbreite) */
.booktabs.kompakt table thead tr th,
.booktabs.kompakt table tbody tr td {
  padding-left: 5px !important;
  padding-right: 5px !important;
}
/* Kleinere Schrift im Tabellenkopf (z.B. Klassenintervalle): ::: {.booktabs .klein-kopf ...} */
.booktabs.klein-kopf table thead tr th { font-size: 0.82em; }
/* Zwei Fassungen einer Tabelle: quer (.nur-breit) ab 600 px, gestuerzt (.nur-schmal) darunter */
.nur-schmal { display: none !important; }
@media (max-width: 600px) {
  .nur-breit { display: none !important; }
  .nur-schmal { display: table !important; }
  div.nur-schmal:not(.booktabs) { display: block !important; }   /* Huelle um gt-Tabellen */
}

/* Tabellenbreite nach Inhalt: Pandoc setzt bei langen Zeilen feste Prozentbreiten
   (<col style="width: 33%">) und zieht die Tabelle auf volle Breite */
.booktabs table { width: auto !important; }
.booktabs table col { width: auto !important; }
/* Spaltenkoepfe immer zentriert, auch wenn die Spalte linksbuendig ist (:---) */
.booktabs table thead tr th { text-align: center !important; }

/* Inline-Formel und direkt folgendes Satzzeichen bleiben zusammen (filters/math-nobr.lua) */
.math-nobr { white-space: nowrap; }

/* Gestreifte Definitions-/Erklaerungstabellen: ::: {.booktabs .striped ...} */
.booktabs table tbody tr:nth-child(even) td { background-color: #f2f2f2; }   /* alle Booktabs-Tabellen gestreift (Vorgabe 2026-10-03); .striped bleibt als Klasse erlaubt */

/* ------------------------------------------------------------------
   Übungsaufgaben (siehe docs/skript-konventionen/uebungsaufgaben.md)
   ::: {.uebung #uebung-F1}
   [Übungsaufgabe F1: Titel]{.uebung-titel}
   Aufgabentext, dann drei aufklappbare Callouts
   (Hinweis / Kontrollergebnis / Lösung)
   ------------------------------------------------------------------ */
.uebung {
  border: 1px solid #9cc9b0;
  border-left: 6px solid #2E8B57;
  background-color: #f2f8f4;
  border-radius: 6px;
  padding: 0.8em 1.1em 0.4em 1.1em;
  margin: 1.8em 0;
}
.uebung-titel {
  display: block;
  font-weight: 600;
  font-size: 1.1em;
  color: #1f6b43;
  margin-bottom: 0.5em;
}
.uebung-titel::before {
  font-family: "bootstrap-icons";
  content: "\f4ca";                 /* bi-pencil-square */
  margin-right: 0.45em;
  font-weight: normal;
}
/* Ausklappbereiche im Kasten: kompakter, auf weißem Grund */
.uebung .callout {
  margin: 0.5em 0;
  background-color: #ffffff;
}
.uebung .callout .callout-header { padding-top: 0.25em; padding-bottom: 0.25em; }

/* ------------------------------------------------------------------
   Lineare Programme: Zeilennummern der Simplextableaus im Kreis
   (lp_nr() in functions.R, im Fliesstext [4]{.lp-nr})
   ------------------------------------------------------------------ */
.lp-nr {
  display: inline-block;
  min-width: 1.45em;
  height: 1.45em;
  padding: 0 0.2em;
  line-height: 1.3em;
  border: 1px solid #3A6EA5;
  border-radius: 0.75em;
  color: #3A6EA5;
  background-color: #eef3f9;
  font-size: 0.82em;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
/* Simplextableaus: breite Tabellen auf schmalen Bildschirmen horizontal scrollen */
.lp-tableau { overflow-x: auto; }
.lp-tableau table { font-variant-numeric: tabular-nums; }

/* Breite Display-Formeln scrollen auf schmalen Bildschirmen in sich,
   statt die ganze Seite seitlich zu verbreitern */
.katex-display { overflow-x: auto; overflow-y: hidden; padding: 0.1em 0; }

/* Schmale Bildschirme (Handy-Navigation ab < 900 px): Tabellen-Boxen wachsen
   mit ihrem Inhalt und verbreitern sonst die ganze Seite. Daher abgesetzte
   Formeln und Booktabs-Tabellen (Inline-Stil display: table) als Block, der in
   sich seitlich scrollt; als eigener Formatierungskontext weicht der Block
   weiterhin schwebenden Bildern aus. Schmale Tabellen bleiben zentriert. */
@media (max-width: 899.98px) {
  .math.display > .katex-display { display: block; }
  .booktabs { display: block !important; max-width: 100%; overflow-x: auto; }
  .booktabs table { margin-left: auto; margin-right: auto; }
  /* Querverweise (z.B. Kapitelliste auf Teil-Seiten) und Badges umbrechen */
  main a.quarto-xref { white-space: normal; }
  main a.badge { white-space: normal; max-width: 100%; text-align: left; }
  /* Kastenkopf: langer Titel darf schrumpfen und trennen, statt das
     Etikett ("Vorgehen", "Quiz mit Varianten") über den Rand zu schieben */
  .kt-kopf .kt-titel, .kt-quiz .kt-kopf > section { min-width: 0; hyphens: auto; overflow-wrap: break-word; }
}

/* gt setzt in Zellen overflow-x: hidden, damit wird overflow-y implizit auto:
   ragt eine Formel (z.B. ein Bruch) minimal ueber die Zeilenhoehe, erscheint
   je nach Schrift und Zoom ein Rollbalken in der Zelle */
.gt_table .gt_row { overflow: visible !important; }

/* ------------------------------------------------------------------
   Mini-Quiz im Fliesstext (js/mini-quiz.js): farbiger Kasten,
   Radiobuttons, Loesung erst nach dem Anklicken sichtbar
   ------------------------------------------------------------------ */
.mini-quiz {
  border: 1px solid #a9c1dd;
  border-left: 6px solid #3A6EA5;
  background-color: #eef3f9;
  border-radius: 6px;
  padding: 0.8em 1.1em 0.5em 1.1em;
  margin: 1.8em 0;
}
.mini-quiz > h3, .mini-quiz > h4 { margin-top: 0.2em; color: #2c5a8a; }
.mini-quiz-optionen { margin: 0.6em 0 0.8em 0; display: flex; flex-wrap: wrap; gap: 0.6em; }
.mini-quiz-option {
  display: inline-flex;
  align-items: center;
  min-width: 4.2em;
  border: 1px solid #a9c1dd;
  background-color: #ffffff;
  padding: 0.25em 0.6em;
  margin: 0.2em 0;
  border-radius: 4px;
  cursor: pointer;
}
.mini-quiz-option input { margin-right: 0.5em; }
.mini-quiz-option.mq-richtig { background-color: #d8efd9; }
.mini-quiz-option.mq-falsch  { background-color: #f6d5d1; }
.mq-symbol { margin-left: 0.6em; font-size: 1.1em; }
.mq-richtig .mq-symbol { color: #2E8B57; }
.mq-falsch  .mq-symbol { color: #C0392B; }
.mini-quiz-loesung { display: none; border-top: 1px solid #a9c1dd; margin-top: 0.4em; padding-top: 0.6em; }
.mini-quiz-loesung.mq-offen { display: block; }
/* Zeitgesteuerte Lösungen (scripts/loesungen_sperren.R, js/loesung-frei.js) */
.loesung-frei-hinweis { color: #6c757d; font-size: 0.8em; font-weight: normal; margin-left: 0.5em; }
.loesung-gesperrt { color: #6c757d; font-style: italic; margin: 0; }
.mini-quiz.mq-gesperrt .mini-quiz-option { opacity: 0.55; cursor: not-allowed; }
.mini-quiz.mq-gesperrt .mini-quiz-option input { cursor: not-allowed; }

/* ------------------------------------------------------------------
   Optionaler Abschnitt (nicht pruefungsrelevant): kleinere Schrift,
   grauer Rand links, Hinweiszeile oben
   ::: {.optional-abschnitt}
   [Optionaler Abschnitt - ...]{.optional-hinweis}
   ------------------------------------------------------------------ */
.optional-abschnitt {
  font-size: 0.92em;
  border-left: 4px solid #c8cdd3;
  padding-left: 1em;
  color: #333;
}
.optional-hinweis {
  display: block;
  background-color: #f1f3f5;
  border-radius: 4px;
  padding: 0.35em 0.7em;
  margin-bottom: 0.8em;
  font-style: italic;
  color: #555;
}
.optional-hinweis::before {
  font-family: "bootstrap-icons";
  content: "\f431";                 /* bi-info-circle */
  margin-right: 0.45em;
  font-style: normal;
}

/* Quiz: Radiobuttons einer Cloze-Lücke in einer Zeile hinter dem Text */
.radio-zeile {
  margin-bottom: 1.5em;
}

.radio-zeile .webex-radiogroup {
  display: inline-block;
  margin: 0 0 0 0.5em;
}

.radio-zeile .webex-radiogroup label {
  display: inline-block;
  margin-right: 0.75em;
}

/* Quiz: Aufzählung a), b), ... statt 1., 2., ... (exams2forms kennt nur "1."-Listen);
   Markierung <span class="liste-abc"></span> im Aufgabentext */
.webex-box:has(.liste-abc) ol {
  list-style: none;
  counter-reset: quiz-teil;
  padding-left: 1.8em;
}
.webex-box:has(.liste-abc) ol > li {
  counter-increment: quiz-teil;
  position: relative;
}
.webex-box:has(.liste-abc) ol > li::before {
  content: counter(quiz-teil, lower-alpha) ")";
  position: absolute;
  left: -1.8em;
}
/* Quiz: weniger Abstand vor Radiobuttons (webex.css: 1em) und vor gt-Tabellen
   (gt setzt 10px Innenabstand oben/unten am Tabellencontainer) */
.webex-box > .webex-radiogroup {
  margin: 0.3em 0 0.8em 0;
}
.webex-box div:has(> table.gt_table) {
  padding-top: 0 !important;
  padding-bottom: 0.3em !important;
}
/* Quiz: kurze Radiobutton-Zeile zentriert; Markierung <span class="radio-mitte"></span> */
.webex-box:has(.radio-mitte) .webex-radiogroup.radio-kurz {
  text-align: center;
}
/* Quiz-Grafik halb so breit wie der Text, auf schmalen Bildschirmen breiter */
@media (max-width: 768px) {
  .webex-box img.quiz-grafik-50 { width: 75% !important; }
}
/* Quiz: Zuordnungsmatrix (Boxplot-Zuordnung), Spalten G1 ... G5 im Kopf,
   darunter je Zeile die Radiobuttons ohne Beschriftung */
.zuordnung-matrix .g-kopf,
.zuordnung-matrix .webex-radiogroup label {
  display: inline-block;
  width: 3em;
  margin: 0 !important;
  text-align: center;
}
.zuordnung-matrix .webex-radiogroup {
  margin: 0 !important;
  white-space: nowrap;
}
.zuordnung-matrix .webex-radiogroup label > span { display: none; }
.zuordnung-matrix .webex-radiogroup label > input[type=radio] { margin: 0 !important; }
.zuordnung-matrix td { padding-top: 1px !important; padding-bottom: 1px !important; }
/* Radiobuttons unter einer Aussage dichter an der Aussage (webex.css: 1em) */
.webex-box ol > li > .webex-radiogroup {
  margin: 0.2em 0 0.8em 0;
}

/* Quiz: kurze Antworten nebeneinander (Klasse setzt js/radio-kurz.js) */
.webex-radiogroup.radio-kurz label {
  display: inline-block;
  margin-right: 1.25em;
}

/* ------------------------------------------------------------------
   Quizaufgaben (exams2forms) auf schmalen Bildschirmen: breite Formeln
   und Tabellen scrollen innerhalb des Quizkastens, statt die Seite zu
   verbreitern (Formeln aus den randomisierten Quizdateien lassen sich
   nicht von Hand umbrechen)
   ------------------------------------------------------------------ */
@media (max-width: 575.98px) {
  .webex-question .math.display > .katex-display { display: block; overflow-x: auto; overflow-y: hidden; }
  /* width: max-content, damit Linien der Tabelle (Inline-Stil am <table>) nicht
     ueber die Zeilen hinaus bis zum Kastenrand laufen */
  .webex-question table { display: block; overflow-x: auto; }
  body .webex-question table { width: max-content !important; max-width: 100%; }
}

/* ------------------------------------------------------------------
   Teilaufgaben a), b), c): Pandoc macht aus "a)"-Listen <ol type="a">,
   der Browser zeigt dann "a." - einheitlich "a)" wie in den Loesungen
   (beruecksichtigt auch start="2" usw.)
   ------------------------------------------------------------------ */
@counter-style alpha-klammer {
  system: extends lower-alpha;
  suffix: ") ";
}
ol[type="a"] { list-style-type: alpha-klammer; }

/* ------------------------------------------------------------------
   Tabellen in Quizaufgaben (exams2forms): Booktabs-Stil, gestreift,
   Breite nach Inhalt statt Bootstrap-.table mit 100 % und Zellrahmen
   ------------------------------------------------------------------ */
.webex-question table {
  width: auto !important;
  margin: 0.8em auto !important;
  border-collapse: collapse;
  --bs-table-bg: transparent;
  --bs-table-accent-bg: transparent;
  --bs-table-striped-bg: transparent;
}
.webex-question table col { width: auto !important; }
.webex-question table > * > tr > * {
  border: none !important;
  box-shadow: none !important;
  padding: 3px 12px !important;
  vertical-align: middle;
}
.webex-question table:not(.matrix-eingabe) > thead > tr:first-child > *,
.webex-question table:not(.matrix-eingabe):not(:has(> thead)) > tbody:first-of-type > tr:first-child > * { border-top: 2px solid black !important; }
.webex-question table:not(.matrix-eingabe) > tbody:last-of-type > tr:last-child > * { border-bottom: 2px solid black !important; }
.webex-question table td, .webex-question table th { line-height: 1.3; }
.webex-question table td > p, .webex-question table th > p { margin: 0; }
.webex-question table thead tr:last-child > th { border-bottom: 1px solid black !important; font-weight: normal; }
.webex-question table:not(.matrix-eingabe) tbody tr:nth-child(even) > td { background-color: #f2f2f2 !important; }
/* Eingabefelder in einer Ergebnismatrix (quizzes/e2f_mathe_matrix_02.Rmd):
   Layout-Raster ohne Linien und Zebra, enger Zellabstand */
.webex-question table.matrix-eingabe > * > tr > * { padding: 2px 4px !important; }

/* Mehrzeilige Inline-Formel oben buendig zur Zeile (Ersatz fuer aligned[t], das
   KaTeX nicht kennt): [$\displaystyle\begin{aligned}...\end{aligned}$]{.formel-oben} */
.formel-oben .katex-html > .base { vertical-align: top !important; }

/* Schwierige Uebungsaufgaben: ::: {.uebung #uebung-key .schwierig} und
   uebung_titel(..., schwierig = TRUE) - roter statt gruener Kasten, Abzeichen im Titel */
.uebung.schwierig {
  border-color: #e3b1a8;
  border-left-color: #C0392B;
  background-color: #fdf4f2;
}
.uebung.schwierig .uebung-titel { color: #9b2c1f; }
.uebung-schwierig {
  display: inline-block;
  font-size: 0.75em;
  font-weight: 600;
  color: #9b2c1f;
  background-color: #f6dcd7;   /* sanft: kraeftiges Rot nahm dem Pepperoni-Emoji den Kontrast */
  border-radius: 1em;
  padding: 0.1em 0.6em;
  margin-left: 0.4em;
  vertical-align: middle;
  white-space: nowrap;
}

/* Erkennungszeichen unter jeder Ueberschrift "Quizaufgaben":
   ![](/images/quiz_logo.jpg){.quiz-logo fig-alt="..."} */
.quiz-logo, p:has(> img.quiz-logo) { text-align: center; }
img.quiz-logo {
  display: block;
  width: 150px;
  max-width: 40%;
  height: auto;
  margin: 0.2em auto 0.6em auto;
}

/* Ausweg-Link unter eingebetteten Videos (js/yt-preview.js) */
.yt-watch-link {
  display: block;
  font-size: 0.8em;
  text-align: right;
  margin-top: 0.15em;
}

/* Screenshots in Handy-Breite (420 px CSS, doppelte Aufloesung): hoechstens 380 px
   breit, damit die Schrift im Bild etwa Originalgroesse hat */
.screenshot img, img.screenshot {
  width: 100%;
  max-width: 380px;
  height: auto;
  display: block;
  margin-left: auto;
  margin-right: auto;
}
/* Mehrere Screenshots nebeneinander, auf dem Handy untereinander */
.screenshot-reihe {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin: 1em 0;
}
.screenshot-reihe > figure, .screenshot-reihe > div {
  flex: 0 1 240px;
  margin: 0;
}
.screenshot-reihe img { width: 100%; height: auto; }
@media (max-width: 575.98px) {
  .screenshot-reihe > figure, .screenshot-reihe > div { flex: 0 1 100%; max-width: 380px; }
}
.screenshot-reihe figcaption { font-size: 0.85em; text-align: center; }

/* Code im Fliesstext (inline) darf an Leerzeichen umbrechen, sonst ragen lange
   Schnipsel wie `f = function(x) { ... }` am Handy ueber den Rand */
:not(pre) > code { white-space: pre-wrap; }
/* Codebloecke am Handy etwas kleiner (ca. 40 bis 45 Zeichen pro Zeile) */
@media (max-width: 575.98px) {
  div.sourceCode, div.sourceCode pre, pre.sourceCode, .cell-output pre { font-size: 0.8em; }
}

/* Seitennavigation (zurück/weiter) am Seitenende: lange Einzelwörter wie
   „Differentialrechnung“ dürfen auf dem Handy trennen, sonst schieben sie den
   Weiter-Link aus dem Bild */
@media (max-width: 576px) {
  .page-navigation .nav-page {
    flex: 1 1 0;
    min-width: 0;
  }
  .page-navigation .nav-page-text {
    hyphens: auto;
    overflow-wrap: anywhere;
  }
}

/* Kästen (Merkkästen, Mini-Quiz, Übungsaufgaben) überlappen schwebende Bilder
   und Videos nicht, sondern stehen geschlossen daneben. Ist neben dem Float
   weniger als 22rem Platz (neben Videos, auf dem Handy), rutschen sie darunter.
   Deshalb braucht es vor Kästen kein .wrap-clear mehr. */
main .callout,
main .mini-quiz,
main .uebung {
  display: flow-root;
  min-width: min(100%, 22rem);
}

/* ------------------------------------------------------------------
   Illustrationen am Anfang von Unterkapiteln (## ...): schmaler als die
   Kapitelbilder (42 %), auf dem Handy volle Breite ohne Textumfluss
   ![](images/x.jpg){.bild-abschnitt fig-alt="..."}
   ------------------------------------------------------------------ */
img.bild-abschnitt {
  float: right;
  width: 30%;
  margin: 0 0 1em 1.5em;
}
@media (max-width: 768px) {
  img.bild-abschnitt {
    float: none;
    display: block;
    width: 100%;
    margin: 0.5em 0 1em 0;
  }
}

/* Tabellen-Zebra nur einfarbig (weiss / #f2f2f2): Bootstraps eigene Streifen
   (.table-striped, von Quarto an gt-Tabellen gehaengt) abschalten, sonst
   wechseln sich grau und die Zebrafarbe ab */
table.table-striped > tbody > tr > * {
  --bs-table-accent-bg: transparent;
  --bs-table-bg-type: transparent;
  box-shadow: none !important;
}

/* ------------------------------------------------------------------
   Arbeitspaket der Woche (bwl-wima26, arbeitspaket() in functions.R):
   Kasten am Anfang jedes Fachkapitels, Design analog .uebung, Farbe
   orange wie "Einzelarbeit" in den Grafiken des Kapitels
   "Arbeiten in diesem Kurs" (akt_farben)
   ------------------------------------------------------------------ */
.arbeitspaket {
  border: 1px solid #efc3a5;
  border-left: 6px solid #E07B39;
  background-color: #fdf5ee;
  border-radius: 6px;
  padding: 0.8em 1.1em 0.4em 1.1em;
  margin: 1.8em 0;
}
.arbeitspaket-titel {
  display: block;
  font-weight: 600;
  font-size: 1.1em;
  color: #9a4a17;
  margin-bottom: 0.5em;
}
.arbeitspaket-titel::before {
  font-family: "bootstrap-icons";
  content: "\f1e2";                 /* bi-calendar-check */
  margin-right: 0.45em;
  font-weight: normal;
}
.arbeitspaket ul { padding-left: 1.2em; margin-bottom: 0.6em; }
.arbeitspaket ul ul { padding-left: 1.4em; }
.arbeitspaket .callout {
  margin: 0.5em 0;
  background-color: #ffffff;
}
.arbeitspaket .callout .callout-header { padding-top: 0.25em; padding-bottom: 0.25em; }
main .arbeitspaket {
  display: flow-root;
  min-width: min(100%, 22rem);
}

/* ------------------------------------------------------------------
   KI-Prompt: ::: {.ki-prompt} mit Titel [..]{.ki-prompt-titel} und
   Codeblock (nativer Quarto-Copy-Knopf). Violett = KI-Farbe des
   Skripts (wie "KI-Studium" in den Grafiken), bewusst ohne Randlinien,
   KI-Logo (images/ki_badge.svg) als Badge auf der oberen Kante
   ------------------------------------------------------------------ */
.ki-prompt {
  position: relative;
  background-color: #F4F0FB;
  border: none;
  border-radius: 12px;
  margin: 2.4em 0 1.4em;
  padding: 1.7em 1em 0.6em;
}
.ki-prompt-titel {
  display: block;
  font-weight: 600;
  color: #4A2E7A;
  margin: 0 0 0.5em 0.2em;
}
.ki-prompt::before {
  content: "";
  position: absolute;
  top: -22px;
  left: 18px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #7E5BC2 url("../images/ki_badge.svg") center / 28px no-repeat;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}
/* Innen-Panel weiss; globale linke Code-Randlinie (code-block-border-left)
   aus, lange Prompts umbrechen statt seitlich zu scrollen */
.ki-prompt div.sourceCode,
.ki-prompt pre {
  background-color: #ffffff !important;
  border: none !important;
  border-left: none !important;
  border-radius: 8px;
}
.ki-prompt div.sourceCode { margin: 0.3em 0 0.4em; }
.ki-prompt pre,
.ki-prompt pre code {
  white-space: pre-wrap !important;
  overflow-wrap: anywhere;
  overflow-x: hidden;
}
.ki-prompt pre code { color: #2b2140; }
/* in Callouts (Arbeitspaket) etwas weniger Abstand nach oben */
.callout .ki-prompt { margin-top: 2em; }
/* KI-Logo im KI-Hub (Kapitel "Arbeiten in diesem Kurs"): weisses SVG auf violettem Kreis */
img.ki-logo-gross {
  float: right;
  width: 72px;
  height: 72px;
  padding: 14px;
  margin: 0 0 0.8em 1.2em;
  border-radius: 50%;
  background-color: #7E5BC2;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}
/* Semestertabelle (fahrplan_tabelle()): lange Woerter am Handy trennen */
.booktabs.fahrplan table td { hyphens: auto; overflow-wrap: break-word; }
.booktabs.fahrplan table td code { hyphens: none; }   /* Befehle nicht trennen */
@media (max-width: 575.98px) {
  .booktabs.fahrplan table { font-size: 0.9em; }
}
.fahrplan-uebung { font-size: 0.85em; color: #6c757d; }

/* Wochenpakete im Kapitel "Arbeiten in diesem Kurs" (fahrplan_pakete()):
   gleiche Farben wie der Kasten .arbeitspaket in den Fachkapiteln */
.callout.paket-woche {
  border: 1px solid #efc3a5 !important;
  border-left: 6px solid #E07B39 !important;
  background-color: #fdf5ee !important;
  border-radius: 6px;
}
.callout.paket-woche .callout-header {
  background-color: #fdf5ee !important;
  opacity: 1 !important;            /* Quarto blendet Titel einfacher Callouts auf 75 % ab */
}
.callout.paket-woche .callout-title-container {
  color: #9a4a17 !important;
  font-weight: 600;
  font-size: 1.05em;
}
.callout.paket-woche .callout-title-container::before {
  font-family: "bootstrap-icons";
  content: "\f1e2";                 /* bi-calendar-check wie .arbeitspaket-titel */
  margin-right: 0.45em;
  font-weight: normal;
}
.callout.paket-woche .callout-body-container,
.callout.paket-woche .callout-body {
  background-color: #fdf5ee !important;
}
.callout.paket-woche .callout-toggle,
.callout.paket-woche .callout-btn-toggle { color: #9a4a17; }

/* Optionale Uebungsaufgaben (nicht pruefungsrelevant):
   ::: {.uebung #uebung-key .optional} und uebung_titel(..., optional = TRUE) -
   grauer statt gruener Kasten, Abzeichen "optional" im Titel; zusammen mit
   .schwierig bleibt der Kasten rot, beide Abzeichen erscheinen */
.uebung.optional:not(.schwierig) {
  border-color: #c8cdd3;
  border-left-color: #8a939b;
  background-color: #f5f6f7;
}
.uebung.optional:not(.schwierig) .uebung-titel { color: #4a5259; }
.uebung-optional {
  display: inline-block;
  font-size: 0.75em;
  font-weight: 600;
  color: #ffffff;
  background-color: #8a939b;
  border-radius: 1em;
  padding: 0.1em 0.6em;
  margin-left: 0.4em;
  vertical-align: middle;
  white-space: nowrap;
}
/* "(optional)" an Quiz-Ueberschriften und in Quizlisten */
.quiz-optional { color: #6c757d; font-weight: normal; }

/* Breite Tabellen (gt, z.B. Gauss- und Simplextableaus) am Handy: etwas
   kleinere Schrift, notfalls innerhalb des Kastens seitlich scrollen statt
   die ganze Seite zu verbreitern */
@media (max-width: 575.98px) {
  main .cell-output-display:has(table.gt_table) { overflow-x: auto; }
  main table.gt_table { font-size: 0.85em !important; }
}

/* Aufzählungen in Arbeitspaketen (Fachkapitel) und Wochenpaketen (Kapitel
   "Arbeiten in diesem Kurs"): erste Ebene kleine Dreiecke, zweite Ebene
   kräftige Punkte, jeweils in der Akzentfarbe der Kästen */
.arbeitspaket ul,
.callout.paket-woche ul { list-style: none; padding-left: 1.3em; }
.arbeitspaket ul > li,
.callout.paket-woche ul > li { position: relative; }
.arbeitspaket ul > li::before,
.callout.paket-woche ul > li::before {
  content: "";
  position: absolute;
  left: -1em;
  top: 0.55em;
  border-style: solid;
  border-width: 0.3em 0 0.3em 0.45em;   /* Dreieck nach rechts */
  border-color: transparent transparent transparent #E07B39;
}
.arbeitspaket ul ul > li::before,
.callout.paket-woche ul ul > li::before {
  top: 0.64em;
  left: -0.93em;
  width: 0.36em;
  height: 0.36em;
  border: none;
  border-radius: 50%;
  background-color: #E07B39;              /* Punkt in der Farbe der Dreiecke */
}

/* Lange DOI- und URL-Links im Literaturverzeichnis umbrechen (sonst Überbreite auf dem Handy) */
.csl-entry { overflow-wrap: anywhere; }

/* ------------------------------------------------------------------
   Kastentypen (filters/kaesten.lua, Vorgabe 2026-10-25):
   ::: {.definition} / .satz / .vorgehen / .achtung / .wichtig / .merke /
   .vertiefung (eingeklappt, <details>). Farbiger Kopfbalken (genau 40 px)
   mit weissem Titel, Etikett und Symbolkreis rechts; Koerper leicht
   getoent, ohne Rand, 95 % Breite. Symbolkreis r = 24 px, unten am Balken
   verankert (ragt 8 px darunter): Die obere Kreishaelfte bildet die
   24-px-Rundung des Balkens (rechter Streifen reicht bis zur Kreismitte),
   die untere Haelfte samt Hohlkehle zeichnet das SVG - so liegen keine
   Kanten doppelt, und zweizeilige Titel (hoeherer Balken) schliessen sauber.
   Symbole: weisse Masken images/kaesten/<typ>.png (ganzer Kreis, 192 px).
   ------------------------------------------------------------------ */
.kt { --kopf: #204D8C; --koerper: #EEF3F9; width: 95%; margin: 1rem auto 1.3rem;
  background: var(--koerper); border-radius: 12px 24px 12px 12px; display: flow-root; }
.kt-definition { --kopf: #D9600F; --koerper: #FDF0E6; --symbol: url("../images/kaesten/definition.png"); }
.kt-satz       { --kopf: #204D8C; --koerper: #EEF3F9; --symbol: url("../images/kaesten/satz.png"); }
.kt-vorgehen   { --kopf: #2E7D4F; --koerper: #EDF6F0; --symbol: url("../images/kaesten/vorgehen.png"); }
.kt-achtung    { --kopf: #B3261E; --koerper: #FBEDEC; --symbol: url("../images/kaesten/achtung.png"); }
.kt-wichtig    { --kopf: #6B3FA0; --koerper: #F3EEF9; --symbol: url("../images/kaesten/wichtig.png"); }
.kt-merke      { --kopf: #1F7A8C; --koerper: #ECF5F7; --symbol: url("../images/kaesten/merke.png"); }
.kt-vertiefung { --kopf: #5B6670; --koerper: #F2F4F6; --symbol: url("../images/kaesten/vertiefung.png"); }
.kt-kopf { position: relative; display: flex; align-items: center; gap: .8rem; color: #fff;
  background: linear-gradient(var(--kopf), var(--kopf)) left top / calc(100% - 24px) 100% no-repeat,
              linear-gradient(var(--kopf), var(--kopf)) right top / 24px calc(100% - 16px) no-repeat;
  border-radius: 12px 24px 0 0; padding: .3rem 3.6rem .3rem .85rem; min-height: 40px;
  font-size: 1.12rem; font-weight: 600; line-height: 1.5; }
.kt-kopf > p { display: contents; margin: 0; }
.kt-titel { flex: 1; }
.kt-titel .katex { font-size: 1.05em; }
.kt-label { font-size: .72rem; font-weight: 500; letter-spacing: .04em; color: rgba(255,255,255,.9); white-space: nowrap; }
.kt-kreis { position: absolute; right: 0; top: calc(100% - 40px); width: 60px; height: 49px; fill: var(--kopf); pointer-events: none; }
.kt-symbol { position: absolute; right: 0; top: calc(100% - 40px); width: 48px; height: 48px; background: #fff; pointer-events: none;
  -webkit-mask: var(--symbol) center / contain no-repeat; mask: var(--symbol) center / contain no-repeat; }
.kt-koerper { padding: .65rem .9rem .2rem; font-size: 1rem; }
.kt-koerper > :last-child { margin-bottom: .6rem; }
.kt-definition .kt-koerper strong { color: #D9600F; font-weight: 600; }
/* Quizkasten (filters/kaesten.lua, Vorgabe 2026-10-30): volle Breite, Koerper
   grau-gruen (#F1F5EF, softer als honeydew), Titel in normaler Schrift; das Quiz liegt ohne eigenen Rahmen darin */
.kt-quiz { --kopf: #4E7F2F; --koerper: #F1F5EF; --symbol: url("../images/kaesten/quiz.png"); width: 100%; }
.kt-quiz .kt-kopf > section, .kt-quiz .kt-kopf > .kt-titel { flex: 1; margin: 0; }
.kt-quiz .kt-kopf h3.kt-titel, .kt-quiz .kt-kopf > section > h3 { font-size: 1.12rem; font-weight: 400;
  line-height: 1.5; color: #fff; margin: 0; padding: 0; border: none; }
.kt-quiz .kt-kopf .anchorjs-link { color: rgba(255, 255, 255, .8) !important; }
.kt-quiz .kt-koerper { padding-top: .35rem; }
.kt-quiz .kt-symbol { -webkit-mask-size: 80%; mask-size: 80%; }   /* Ankreuzliste sonst am Kreisrand */
/* Quiz-Knöpfe (Prüfen, Hilfe, Zurücksetzen) in allen Quizzen als grüne Badges ohne Rand,
   Symbol weiß; Farbe wie der Quizkasten-Kopf */
.webex-box ul.webex-button-list .webex-button {
  background-color: #4E7F2F; color: #fff; border: none; border-radius: .7em;
  height: 1.9em; min-width: 2.3em; padding: 0 .6em; font-size: 1.05em;
}
.webex-box ul.webex-button-list .webex-button:hover { background-color: #3D6624; }
.webex-box ul.webex-button-list .webex-button b { color: #fff; }
/* Knopfzeile mit Moodle-XML-Badge rechts (js/quiz-zeile.js) */
.kt-quiz ul.webex-button-list { align-items: center; }
.kt-quiz li.quiz-xml a.badge { background: #E3E6E2 !important; color: #4A4F49 !important; font-weight: 400;
  font-size: .72rem !important; border-radius: .7em; padding: .35em .75em; margin: 0 0 0 .6em !important; }
.kt-quiz li.quiz-xml a.badge:hover { background: #D5DAD3 !important; }
.kt-quiz .webex-box { background: transparent; border: none; padding: 0; }
.kt-quiz table.gt_table, .kt-quiz table.gt_table thead th,
.kt-quiz table.gt_table tbody tr:nth-child(odd) > td { background-color: transparent !important; }
.kt-quiz .kt-koerper > .cell:first-child > p:first-child { margin-top: 0; }
/* Vertiefung: aufklappbar, Pfeil links vor dem Titel */
details.kt > summary { list-style: none; cursor: pointer; }
details.kt > summary::-webkit-details-marker { display: none; }
details.kt > summary .kt-titel::before { font-family: bootstrap-icons; content: "\F282"; display: inline-block;
  margin-right: .5rem; font-size: .9em; transition: transform .2s; transform: rotate(-90deg); }
details.kt[open] > summary .kt-titel::before { transform: rotate(0); }
details.kt:not([open]) { background: transparent; }
details.kt:not([open]) > .kt-kopf { border-radius: 12px 24px 0 12px; }
