/* LearningHub 2.3: Konsolidierte CSS-Regeln.
 * Gleiche Selektoren zusammengeführt. Änderungen direkt hier vornehmen.
 * Footer: .lh-unified-footer (Übersicht) / .lh-module-footer (Inhalte). */

.h5p-learning-hub {
  background: #eef1f4;
  font-family: "Fira Sans",Arial,sans-serif;
  color: #000;
  width: 100%;
  overflow: hidden;
}

.lh-root {
  width: 100% !important;
  max-width: none !important;
  padding: 0 !important;
  margin: 0 auto !important;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.lh-frame {
  background: #fff;
  background-image: url("..//libraries/H5P.LearningHub-1.0/images/drk-background.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
  position: relative;
  padding-bottom: 7.5%;
  height: auto !important;
  padding: 2.2% 3.2% 8.5% !important;
  display: flex !important;
  flex-direction: column !important;
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 1280px !important;
  aspect-ratio: 16 / 9 !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 auto !important;
  flex: none !important;
  overflow: hidden !important;
}

.lh-head {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 1rem;
  height: auto !important;
  flex: 0 0 auto !important;
  min-height: 0 !important;
}

.lh-head h2 {
  margin: 0;
  font-size: 24px !important;
  line-height: 1.1 !important;
}

.lh-head p {
  color: #66717e;
  margin: .25rem 0 0;
  font-size: 14px !important;
  line-height: 1.2 !important;
}

.lh-nav {
  border-radius: 8px;
  padding: .65rem .9rem;
  cursor: pointer;
  color: rgb(25,65,120);
  border: 1px solid rgb(25,65,120);
  background: #fff;
}

.lh-summary,.lh-catbar {
  margin: 1.2rem 0;
}

.lh-track {
  background: #e6e9ee;
  border-radius: 20px;
  overflow: hidden;
  height: 7px !important;
  margin-top: .3rem !important;
}

.lh-track span {
  display: block;
  height: 100%;
  background: #2f4b3a;
}

.lh-continue {
  display: block;
  padding: .8rem 1rem;
  margin: 1rem 0;
  background: #263b2d;
  color: #fff;
  border-radius: 9px;
  text-decoration: none;
}

.lh-toc {
  margin-top: 1.2rem;
  display: grid !important;
  grid-template-columns: repeat(2,minmax(0,1fr)) !important;
  grid-template-rows: repeat(3,minmax(0,1fr)) !important;
  gap: .75rem !important;
  flex: 1 1 auto !important;
  min-height: 0 !important;
  align-content: stretch !important;
}

.lh-toc-card {
  text-align: left;
  border: 1px solid #cfd6df;
  background: #fff;
  border-radius: 12px;
  cursor: pointer;
  min-height: 0 !important;
  height: 100% !important;
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  overflow: hidden !important;
  padding: .72rem .9rem !important;
}

.lh-toc-card strong {
  font-size: 1.1rem;
  flex: 0 0 auto !important;
  line-height: 1.15 !important;
  display: block !important;
  min-height: 0 !important;
  margin: 0 0 .18rem 0 !important;
}

.lh-toc-card span {
  display: block;
  color: #66717e;
  margin: .35rem 0;
}

.lh-mini {
  height: 6px;
  background: #e6e9ee;
  border-radius: 10px;
  overflow: hidden;
}

.lh-mini i {
  display: block;
  height: 100%;
  background: #2f4b3a;
}

.lh-modules {
  flex: 1 1 auto !important;
  height: auto !important;
  min-height: 0 !important;
  display: grid !important;
  grid-template-columns: repeat(2,minmax(0,1fr)) !important;
  grid-template-rows: repeat(3,minmax(0,1fr)) !important;
  gap: .55rem .7rem !important;
  align-content: stretch !important;
  padding-bottom: 0 !important;
}

.lh-card {
  border: 1px solid #d6dce5;
  border-radius: 11px;
  display: flex;
  justify-content: space-between;
  gap: .8rem;
  box-sizing: border-box;
  min-height: 0 !important;
  height: auto !important;
  padding: .55rem .75rem !important;
  align-items: center !important;
  overflow: hidden !important;
}

.lh-card.done {
  background: #eef7f0;
  border-color: #a7c0ad;
}

.lh-card.last {
  box-shadow: inset 4px 0 #596575;
}

.lh-card p {
  color: #66717e;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 11px !important;
  line-height: 1.2 !important;
  margin: .2rem 0 !important;
  -webkit-line-clamp: 2 !important;
}

.lh-card small {
  font-weight: 700;
  color: #596575;
  font-size: 9px !important;
  line-height: 1.1 !important;
  white-space: nowrap !important;
}

.lh-actions {
  display: flex;
  flex-direction: column;
  gap: .3rem !important;
  flex: 0 0 128px !important;
  min-width: 128px !important;
  justify-content: center !important;
}

.lh-actions a,.lh-actions button {
  font: inherit;
  text-align: center;
  border: 1px solid #9da7b3;
  background: white;
  border-radius: 7px;
  color: #172033;
  text-decoration: none;
  cursor: pointer;
  box-sizing: border-box !important;
  width: 100% !important;
  min-height: 30px !important;
  padding: .32rem .4rem !important;
  font-size: 11px !important;
  line-height: 1.15 !important;
}

.done .lh-actions button {
  background: #263b2d;
  color: #fff;
  border-color: #263b2d;
}

.lh-intro-slide {
  height: 100%;
  display: flex;
  align-items: center;
}

.lh-intro-copy {
  width: 58%;
  margin-left: 7%;
  margin-top: -2%;
  padding: 2rem;
  background: rgba(255,255,255,.88);
  border-radius: 14px;
}

.lh-intro-copy h1 {
  font-size: clamp(28px,3.5vw,48px);
  margin: 0 0 1rem;
  color: #183e70;
}

.lh-intro-text {
  white-space: pre-line;
  font-size: clamp(16px,1.6vw,24px);
  line-height: 1.45;
  margin-bottom: 1.5rem;
}

.lh-primary {
  background: #1d477d;
  color: #fff;
  border: 0;
  border-radius: 8px;
  padding: .8rem 1.15rem;
  font: inherit;
  cursor: pointer;
}

.lh-head h2,
.lh-intro-copy h1 {
  font-family: "Fira Sans",Arial,sans-serif;
  font-size: 24px;
  font-weight: 600;
  color: rgb(25,65,120);
}

.lh-head p,
.lh-intro-text,
.lh-card p,
.lh-card,
.lh-toc-card,
.lh-summary,
.lh-catbar {
  font-family: "Fira Sans",Arial,sans-serif;
  font-size: 14px;
  color: #000;
}

.lh-primary,
.lh-continue,
.lh-actions a {
  background: rgb(25,65,120);
  border-color: rgb(25,65,120);
  color: #fff;
}

.lh-toc-card strong,
.lh-card strong {
  color: rgb(25,65,120);
}

.lh-type {
  display: inline-block;
  margin-right: .35rem;
  border: 1px solid rgb(25,65,120);
  border-radius: 999px;
  color: rgb(25,65,120);
  font-weight: 600;
  margin-top: .25rem !important;
  flex: 0 0 auto !important;
  font-size: 9px !important;
  line-height: 1.1 !important;
  margin: 0 !important;
  padding: .14rem .32rem !important;
}

.lh-bottom-nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  bottom: 5.6% !important;
}

.lh-bottom-nav .lh-nav {
  box-shadow: 0 1px 4px rgba(0,0,0,.12);
  min-width: 210px !important;
  padding: .42rem .75rem !important;
  font-size: 11px !important;
}

.lh-accent-red {
  color: rgb(225,0,0);
}

.lh-catbar {
  flex: 0 0 auto !important;
  margin: .45rem 0 .65rem !important;
}

.lh-catstatus {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

.lh-card-info {
  min-width: 0;
  overflow: hidden;
  min-height: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
}

.lh-card strong {
  display: block;
  font-size: 13px !important;
  line-height: 1.15 !important;
  margin: 0 !important;
}

.lh-meta-row {
  display: flex;
  align-items: center;
  margin-top: .1rem !important;
  gap: .3rem !important;
  flex-wrap: nowrap !important;
}

.lh-page-nav {
  position: absolute;
  left: 3.2%;
  right: 3.2%;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  bottom: 5.6% !important;
  z-index: 6 !important;
  align-items: center !important;
}

.lh-page-nav button {
  pointer-events: auto;
  border-radius: 8px;
  padding: .48rem .8rem;
  font: 12px "Fira Sans",Arial,sans-serif;
  cursor: pointer;
  background: rgb(25,65,120) !important;
  border: 1px solid rgb(25,65,120) !important;
  color: #fff !important;
  font-weight: 600 !important;
  box-shadow: 0 1px 4px rgba(0,0,0,.14) !important;
}

.lh-page-nav button:disabled {
  cursor: default;
  visibility: visible !important;
  background: rgb(25,65,120) !important;
  color: #fff !important;
  opacity: .28 !important;
  box-shadow: none !important;
}

.lh-bottom-nav,
.lh-page-nav {
  bottom: 8.0% !important;
}

.lh-bottom-nav .lh-nav,
.lh-page-nav button {
  height: 34px !important;
  box-sizing: border-box !important;
}

.lh-bottom-nav,.lh-page-nav {
  bottom: 8.2% !important;
}

.lh-page-indicator {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font: 11px "Fira Sans",Arial,sans-serif;
  color: rgb(25,65,120);
  white-space: nowrap;
}

.lh-continue-nav {
  left: 50% !important;
  bottom: 8.2% !important;
  transform: translateX(-50%) !important;
  width: auto !important;
  max-width: 48% !important;
  z-index: 7 !important;
}

.lh-continue-bottom {
  box-sizing: border-box;
  display: block;
  min-width: 210px;
  max-width: 100%;
  height: 34px;
  padding: .42rem 1rem;
  border: 1px solid rgb(225,0,0);
  border-radius: 8px;
  background: rgb(225,0,0);
  color: #fff;
  font: 600 11px "Fira Sans",Arial,sans-serif;
  line-height: 18px;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: 0 1px 4px rgba(0,0,0,.12);
}

.lh-toc-card em {
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-style: normal;
  color: #000;
  display: block !important;
  flex: 0 0 auto !important;
  height: 27px !important;
  max-height: 27px !important;
  min-height: 0 !important;
  margin: .22rem 0 .16rem !important;
  overflow: hidden !important;
  font-size: 11px !important;
  line-height: 13.5px !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
}

.lh-toc-card.complete {
  border-color: #4d8b57 !important;
}

.lh-module-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin: 0 8px 0 0;
  font-size: 20px;
  line-height: 1;
  vertical-align: middle;
  flex: 0 0 auto !important;
  margin-bottom: .12rem !important;
}

.lh-reset {
  position: absolute;
  right: 3.2%;
  bottom: 3.1%;
  border: 0;
  background: transparent;
  color: rgb(25,65,120);
  font: 500 10px "Fira Sans",Arial,sans-serif;
  text-decoration: underline;
  cursor: pointer;
  padding: 3px 5px;
  z-index: 8;
}

.lh-reset:hover {
  font-weight: 600;
}

.lh-toc-card > span {
  flex: 0 0 auto !important;
  line-height: 1.1 !important;
  margin: auto 0 .34rem !important;
}

.lh-toc-card .lh-mini {
  width: calc(100% - 2px) !important;
  margin: 0 1px 2px 1px !important;
  flex: 0 0 5px !important;
  height: 5px !important;
  border-radius: 4px !important;
  overflow: hidden !important;
}

.lh-page-nav button:hover:not(:disabled) {
  filter: brightness(.92);
}

.lh-frame:has(.lh-modules) .lh-page-nav {
  gap: 10px !important;
  left: 3.2% !important;
  right: 3.2% !important;
  bottom: 7.2% !important;
  width: auto !important;
  height: 34px !important;
  transform: none !important;
  display: grid !important;
  grid-template-columns: 1fr auto auto 1fr !important;
  column-gap: 12px !important;
  align-items: center !important;
  z-index: 8 !important;
}

.lh-frame:has(.lh-modules) .lh-page-nav button:first-child {
  grid-column: 1 !important;
  justify-self: start !important;
}

.lh-frame:has(.lh-modules) .lh-page-indicator {
  grid-column: 3 !important;
  position: static !important;
  left: auto !important;
  top: auto !important;
  bottom: auto !important;
  transform: none !important;
  justify-self: start !important;
  align-self: center !important;
  margin: 0 !important;
  white-space: nowrap !important;
  line-height: 34px !important;
  z-index: 9 !important;
}

.lh-frame:has(.lh-modules) .lh-page-nav button:last-child {
  grid-column: 4 !important;
  justify-self: end !important;
}

.lh-frame:has(.lh-modules) .lh-bottom-nav {
  left: 50% !important;
  right: auto !important;
  bottom: 7.2% !important;
  width: auto !important;
  height: 34px !important;
  transform: translateX(-50%) !important;
  z-index: 10 !important;
}

.lh-toc-card .lh-module-icon {
  width: 100% !important;
  height: 20px !important;
  min-height: 20px !important;
  margin: 0 0 .18rem 0 !important;
  align-items: center !important;
  justify-content: flex-start !important;
  font-size: 17px !important;
  line-height: 20px !important;
  display: none !important;
}

.lh-toc-card .lh-module-icon.empty {
  visibility: hidden !important;
}

.lh-toc-card .lh-mini i {
  display: block !important;
  height: 100% !important;
  border-radius: 4px !important;
}

.lh-frame:has(.lh-toc) {
  padding-bottom: 9.8% !important;
  padding: 2.2% 3.2% 10.8% !important;
}

.lh-frame:has(.lh-toc) .lh-toc {
  flex: 1 1 0 !important;
  min-height: 0 !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  display: grid !important;
  grid-template-columns: repeat(2,minmax(0,1fr)) !important;
  grid-template-rows: repeat(3,minmax(0,1fr)) !important;
  gap: 9px 12px !important;
  align-content: stretch !important;
  overflow: hidden !important;
}

.lh-frame:has(.lh-toc) .lh-toc-card {
  max-height: 100% !important;
  box-sizing: border-box !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 8px 14px 8px !important;
  overflow: hidden !important;
  display: grid !important;
  grid-template-columns: minmax(0,1fr) !important;
  grid-template-rows: 21px minmax(0,27px) 14px 5px !important;
  row-gap: 2px !important;
  align-content: center !important;
  justify-items: stretch !important;
}

.lh-frame:has(.lh-toc) .lh-toc-card strong {
  display: block !important;
  grid-column: 1 !important;
  grid-row: 1 !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
  white-space: nowrap !important;
  text-overflow: ellipsis !important;
  line-height: 21px !important;
}

.lh-frame:has(.lh-toc) .lh-toc-card em {
  grid-column: 1 !important;
  grid-row: 2 !important;
  width: 100% !important;
  height: 27px !important;
  min-height: 27px !important;
  max-height: 27px !important;
  margin: 0 !important;
  overflow: hidden !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  line-height: 13.5px !important;
}

.lh-frame:has(.lh-toc) .lh-toc-card:not(:has(em))::after {
  content: "" !important;
  grid-column: 1 !important;
  grid-row: 2 !important;
  display: block !important;
  width: 100% !important;
  height: 27px !important;
}

.lh-frame:has(.lh-toc) .lh-toc-card > span {
  grid-column: 1 !important;
  grid-row: 3 !important;
  justify-self: end !important;
  align-self: end !important;
  width: auto !important;
  min-height: 14px !important;
  margin: 0 !important;
  padding: 0 !important;
  font-size: 10px !important;
  line-height: 14px !important;
  text-align: right !important;
}

.lh-frame:has(.lh-toc) .lh-toc-card .lh-mini {
  grid-column: 1 !important;
  grid-row: 4 !important;
  justify-self: stretch !important;
  align-self: end !important;
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  height: 5px !important;
  min-height: 5px !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 4px !important;
  overflow: hidden !important;
}

.lh-frame:has(.lh-toc) .lh-page-nav {
  left: 3.2% !important;
  right: 3.2% !important;
  bottom: var(--lh-footer-bottom) !important;
  height: var(--lh-footer-height) !important;
  width: auto !important;
  transform: none !important;
  display: grid !important;
  grid-template-columns: 1fr auto auto 1fr !important;
  column-gap: 14px !important;
  align-items: center !important;
  z-index: 8 !important;
}

.lh-frame:has(.lh-toc) .lh-page-indicator {
  grid-column: 3 !important;
  position: static !important;
  left: auto !important;
  right: auto !important;
  top: auto !important;
  bottom: auto !important;
  transform: none !important;
  justify-self: start !important;
  align-self: center !important;
  margin: 0 !important;
  min-width: 62px !important;
  line-height: var(--lh-footer-height) !important;
  white-space: nowrap !important;
}

.lh-frame:has(.lh-toc) .lh-summary {
  margin: .55rem 0 .65rem !important;
}

.lh-frame:has(.lh-toc) .lh-toc-card .lh-mini i {
  display: block !important;
  height: 100% !important;
  margin: 0 !important;
  border-radius: 4px !important;
}

.lh-frame:has(.lh-modules) {
  padding-bottom: 10.8% !important;
}

.lh-frame:has(.lh-modules) .lh-bottom-nav,
.lh-frame:has(.lh-modules) .lh-page-nav {
  display: none !important;
}

.lh-module-footer {
  position: absolute !important;
  left: 3.2% !important;
  right: 3.2% !important;
  display: grid !important;
  grid-template-columns: 1fr auto auto 1fr !important;
  gap: 14px !important;
  z-index: 20 !important;
  bottom: var(--lh-footer-bottom) !important;
  height: var(--lh-footer-height) !important;
  align-items: center !important;
}

.lh-module-footer .lh-footer-page,
.lh-module-footer .lh-footer-toc {
  box-sizing: border-box !important;
  border-radius: 8px !important;
  font: 600 11px "Fira Sans",Arial,sans-serif !important;
  cursor: pointer !important;
  height: var(--lh-footer-height) !important;
  margin: 0 !important;
}

.lh-module-footer .lh-footer-page {
  background: rgb(25,65,120) !important;
  border: 1px solid rgb(25,65,120) !important;
  color: #fff !important;
  padding: 0 14px !important;
}

.lh-module-footer .lh-footer-page:first-child {
  justify-self: start !important;
}

.lh-module-footer .lh-footer-page:last-child {
  justify-self: end !important;
}

.lh-module-footer .lh-footer-page:disabled {
  opacity: .28 !important;
  cursor: default !important;
}

.lh-module-footer .lh-footer-toc {
  grid-column: 2 !important;
  min-width: 210px !important;
  padding: 0 18px !important;
  background: #fff !important;
  border: 1px solid rgb(25,65,120) !important;
  color: rgb(25,65,120) !important;
}

.lh-module-footer .lh-footer-count {
  grid-column: 3 !important;
  display: block !important;
  min-width: 62px !important;
  color: rgb(25,65,120) !important;
  font: 500 11px "Fira Sans",Arial,sans-serif !important;
  white-space: nowrap !important;
  text-align: left !important;
  line-height: var(--lh-footer-height) !important;
  margin: 0 !important;
}

.lh-module-footer.single {
  display: flex !important;
  justify-content: center !important;
  bottom: var(--lh-footer-bottom) !important;
  height: var(--lh-footer-height) !important;
  align-items: center !important;
}

.lh-module-footer.single .lh-footer-toc {
  min-width: 210px !important;
}

:root {
  --lh-footer-bottom: 7.2%;
  --lh-footer-height: 34px;
}

.lh-frame:has(.lh-toc) .lh-page-nav button:first-child {
  grid-column: 1 !important;
  justify-self: start !important;
}

.lh-frame:has(.lh-toc) .lh-page-nav button:last-child {
  grid-column: 4 !important;
  justify-self: end !important;
}

.lh-frame:has(.lh-toc) .lh-continue-nav {
  left: 50% !important;
  right: auto !important;
  bottom: var(--lh-footer-bottom) !important;
  height: var(--lh-footer-height) !important;
  transform: translateX(-50%) !important;
  display: flex !important;
  align-items: center !important;
  z-index: 10 !important;
}

.lh-frame:has(.lh-toc) .lh-continue-bottom {
  box-sizing: border-box !important;
  height: var(--lh-footer-height) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
}

.lh-unified-footer {
  position: absolute !important;
  left: 3.2% !important;
  right: 3.2% !important;
  bottom: 7.2% !important;
  height: 34px !important;
  display: grid !important;
  grid-template-columns: minmax(80px,1fr) minmax(0,260px) 76px minmax(80px,1fr) !important;
  gap: 14px !important;
  align-items: center !important;
  z-index: 30 !important;
}

.lh-unified-footer .lh-foot-page {
  height: 34px !important;
  background: rgb(25,65,120) !important;
  color: white !important;
  border: 0 !important;
  border-radius: 8px !important;
  padding: 0 14px !important;
  font-weight: 600 !important;
}

.lh-unified-footer .lh-foot-page:first-child {
  justify-self: start !important;
}

.lh-unified-footer .lh-foot-page:last-child {
  justify-self: end !important;
}

.lh-unified-footer .lh-foot-page:disabled {
  opacity: .28 !important;
}

.lh-unified-footer .lh-foot-middle {
  grid-column: 2 !important;
  min-width: 0 !important;
  display: flex !important;
  justify-content: center !important;
}

.lh-unified-footer .lh-foot-continue {
  display: block !important;
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 260px !important;
  height: 34px !important;
  line-height: 34px !important;
  text-align: center !important;
  padding: 0 12px !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  background: rgb(225,0,0) !important;
  color: white !important;
  border-radius: 8px !important;
  font-size: 11px !important;
  text-decoration: none !important;
}

.lh-unified-footer .lh-foot-count {
  grid-column: 3 !important;
  position: static !important;
  transform: none !important;
  display: block !important;
  white-space: nowrap !important;
  color: rgb(25,65,120) !important;
  font-size: 11px !important;
  text-align: left !important;
}

.lh-unified-footer.single {
  display: flex !important;
  justify-content: center !important;
}

.lh-unified-footer.single .lh-foot-middle {
  width: 260px !important;
}

@media(max-width:700px){.lh-frame{aspect-ratio:auto;min-height:100vh}.lh-toc,.lh-modules{grid-template-columns:1fr}.lh-card{flex-direction:column;align-items:stretch}.lh-actions{min-width:0}}
@media(max-width:700px){
 .lh-frame{aspect-ratio:16/9 !important;min-height:0 !important}
 .lh-modules{grid-template-columns:repeat(2,minmax(0,1fr)) !important;grid-template-rows:repeat(3,minmax(0,1fr)) !important}
 .lh-card{flex-direction:row !important;align-items:center !important}
}
@media(max-width:700px){
  .lh-frame{
    width:100% !important;
    max-width:1280px !important;
    aspect-ratio:16 / 9 !important;
    min-height:0 !important;
  }
  .lh-modules{
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    grid-template-rows:repeat(3,minmax(0,1fr)) !important;
  }
  .lh-card{
    flex-direction:row !important;
    align-items:center !important;
  }
}
/* Learning Hub 3.1: Vollbildschalter rechts in der dunkelblauen Fußleiste. */
.lh-frame .lh-fullscreen-button {
  position:absolute !important;right:1.15% !important;bottom:1.5% !important;
  z-index:20 !important;display:flex !important;align-items:center !important;justify-content:center !important;
  width:30px !important;height:26px !important;padding:2px !important;
  border:0 !important;border-radius:4px !important;background:transparent !important;
  color:#fff !important;cursor:pointer !important;box-shadow:none !important;
}
.lh-frame .lh-fullscreen-button:hover,.lh-frame .lh-fullscreen-button:focus-visible {background:rgba(255,255,255,.2) !important;}
.lh-frame .lh-fullscreen-button:focus-visible {outline:2px solid white !important;outline-offset:1px !important;}
.lh-root:fullscreen,.lh-root:-webkit-full-screen {
  width:100vw !important;height:100vh !important;max-width:none !important;
  background:#172e4b !important;display:flex !important;align-items:center !important;justify-content:center !important;
}
.lh-root:fullscreen .lh-frame,.lh-root:-webkit-full-screen .lh-frame {
  width:min(100vw,177.7778vh) !important;max-width:none !important;
  height:auto !important;max-height:100vh !important;aspect-ratio:16 / 9 !important;
  margin:auto !important;
}

/* Learning Hub 3.3: feste, proportional skalierte 960x540-Bühne.
   Bewusst kein Umbruch in einspaltige Karten und kein Strecken auf Viewport-Höhe. */
.h5p-learning-hub .lh-root {
  position:relative !important;display:block !important;width:100% !important;
  min-height:0 !important;overflow:visible !important;
}
.h5p-learning-hub .lh-frame,
.h5p-learning-hub .lh-root:fullscreen .lh-frame,
.h5p-learning-hub .lh-root:-webkit-full-screen .lh-frame {
  position:absolute !important;box-sizing:border-box !important;
  width:960px !important;min-width:960px !important;max-width:960px !important;
  height:540px !important;min-height:540px !important;max-height:540px !important;
  aspect-ratio:16 / 9 !important;overflow:hidden !important;
  transform-origin:top left !important;margin:0 !important;
  padding:2.2% 3.2% 8.5% !important;
}
.h5p-learning-hub .lh-root:fullscreen,
.h5p-learning-hub .lh-root:-webkit-full-screen {
  position:relative !important;width:100vw !important;height:100vh !important;
  display:block !important;overflow:hidden !important;background:#e9eef3 !important;
}
.h5p-learning-hub .lh-root:fullscreen .lh-frame,
.h5p-learning-hub .lh-root:-webkit-full-screen .lh-frame {transform-origin:center center !important;}
.h5p-learning-hub .lh-frame .lh-fullscreen-button {
  width:24px !important;height:24px !important;
  right:5px !important;bottom:5px !important;padding:2px !important;
  border:0 !important;border-radius:3px !important;
}
.h5p-learning-hub .lh-frame .lh-fullscreen-button svg {width:18px !important;height:18px !important;}

/* Learning Hub 3.4: Druckfunktion ausschließlich in der Inhaltsübersicht. */
.h5p-learning-hub .lh-head .lh-print-button{font-family:inherit;font-size:12px;font-weight:600;color:#194178;background:#fff;border:1px solid #194178;border-radius:5px;padding:8px 11px;cursor:pointer;white-space:nowrap;align-self:flex-start;margin:0 44px 0 0;line-height:1.2}
.h5p-learning-hub .lh-head .lh-print-button:hover,.h5p-learning-hub .lh-head .lh-print-button:focus-visible{background:#eaf0f8;outline-offset:2px}

/* Learning Hub 3.5: Druckbutton in der Fortschrittszeile, ohne Logo-Ueberlagerung. */
.h5p-learning-hub .lh-summary-line{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:32px}
.h5p-learning-hub .lh-summary-line strong{min-width:0;flex:1 1 auto}
.h5p-learning-hub .lh-summary .lh-print-button,.h5p-learning-hub .lh-print-only-row .lh-print-button{position:static!important;flex:0 0 auto;align-self:center;margin:0!important;font-family:inherit;font-size:12px;font-weight:600;color:#194178;background:#fff;border:1px solid #194178;border-radius:5px;padding:6px 10px;line-height:1.2;white-space:nowrap;cursor:pointer}
.h5p-learning-hub .lh-summary .lh-print-button:hover,.h5p-learning-hub .lh-summary .lh-print-button:focus-visible{background:#eaf0f8;outline-offset:2px}
.h5p-learning-hub .lh-print-only-row{display:flex;justify-content:flex-end;margin:.5rem 0}

/* 3.8: compact role picker inside the existing 16:9 intro */
.lh-role-picker{display:flex;flex-wrap:wrap;gap:8px;max-width:630px;margin:14px 0 10px}.lh-role-heading{width:100%;font-weight:700;font-size:15px}.lh-role-choice{padding:9px 12px;background:#fff;border:1px solid #194178;border-radius:6px;color:#194178;font-weight:600;cursor:pointer}.lh-role-choice.active{background:#194178;color:#fff}.lh-role-current{display:flex;align-items:center;justify-content:space-between;padding:3px 18px;font-size:12px;color:#194178}.lh-role-current button{font-size:11px;border:1px solid #194178;background:white;color:#194178;border-radius:4px;padding:4px 8px;cursor:pointer}

/* 3.9: Inhalt bleibt vollständig innerhalb der festen 960 x 540 Bühne.
   Keine responsiven Breakpoints innerhalb der skalierten Bühne. */
.h5p-learning-hub .lh-frame:has(.lh-modules) {
  display:flex !important;
  flex-direction:column !important;
}
.h5p-learning-hub .lh-frame .lh-modules {
  flex:1 1 0 !important;
  min-height:0 !important;
  height:auto !important;
  grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  grid-template-rows:repeat(3,minmax(0,1fr)) !important;
  align-items:stretch !important;
  align-content:stretch !important;
  gap:8px 10px !important;
  overflow:hidden !important;
}
.h5p-learning-hub .lh-frame .lh-modules .lh-card {
  min-width:0 !important;
  min-height:0 !important;
  max-height:100% !important;
  height:100% !important;
  box-sizing:border-box !important;
  display:flex !important;
  flex-direction:row !important;
  align-items:center !important;
  justify-content:space-between !important;
  padding:6px 10px !important;
  gap:10px !important;
  overflow:hidden !important;
}
.h5p-learning-hub .lh-frame .lh-modules .lh-card > :first-child {
  min-width:0 !important;
  max-height:100% !important;
  flex:1 1 auto !important;
  overflow:hidden !important;
}
.h5p-learning-hub .lh-frame .lh-modules .lh-card strong {
  font-size:12px !important;
  line-height:1.15 !important;
  display:-webkit-box !important;
  -webkit-box-orient:vertical !important;
  -webkit-line-clamp:2 !important;
  overflow:hidden !important;
  overflow-wrap:anywhere !important;
}
.h5p-learning-hub .lh-frame .lh-modules .lh-card p {
  font-size:10px !important;
  line-height:1.15 !important;
  margin:2px 0 !important;
  -webkit-line-clamp:2 !important;
}
.h5p-learning-hub .lh-frame .lh-modules .lh-card small {
  font-size:9px !important;
  line-height:1.1 !important;
  white-space:normal !important;
}
.h5p-learning-hub .lh-frame .lh-modules .lh-actions {
  flex:0 0 112px !important;
  min-width:112px !important;
  max-width:112px !important;
  gap:4px !important;
}
.h5p-learning-hub .lh-frame .lh-modules .lh-actions a,
.h5p-learning-hub .lh-frame .lh-modules .lh-actions button {
  min-height:25px !important;
  padding:3px 5px !important;
  font-size:10px !important;
  line-height:1.1 !important;
}

/* 4.1: Berufsgruppe unten links auf der dunkelblauen Fußleiste. */
.h5p-learning-hub .lh-frame .lh-role-footer-button {
 position:absolute !important;left:1.15% !important;bottom:1.5% !important;
 z-index:19 !important;display:flex !important;align-items:center !important;
 height:26px !important;max-width:38% !important;padding:2px 8px !important;
 border:0 !important;border-radius:4px !important;background:transparent !important;
 color:#fff !important;font-family:inherit !important;font-size:11px !important;
 font-weight:500 !important;white-space:nowrap !important;overflow:hidden !important;
 text-overflow:ellipsis !important;cursor:pointer !important;box-shadow:none !important;
}
.h5p-learning-hub .lh-frame .lh-role-footer-button:hover,
.h5p-learning-hub .lh-frame .lh-role-footer-button:focus-visible {
 background:rgba(255,255,255,.18) !important;
}
.h5p-learning-hub .lh-frame .lh-role-footer-button:focus-visible {
 outline:2px solid #fff !important;outline-offset:1px !important;
}

/* 4.2: Berufsgruppenname auf derselben Grundlinie wie die feste Footer-Beschriftung
   im Hintergrundbild. Die Bühne bleibt unverändert im Format 16:9. */
.h5p-learning-hub .lh-frame .lh-role-footer-button {
  left:3.2% !important;
  bottom:0 !important;
  height:7% !important;
  max-width:36% !important;
  padding:0 4px !important;
  border-radius:3px !important;
  font-family:"Fira Sans",Arial,sans-serif !important;
  font-size:12px !important;
  font-weight:400 !important;
  line-height:1 !important;
  justify-content:flex-start !important;
  text-align:left !important;
}
/* Weiterlernen ist eine Navigationsaktion, keine Warnung. */
.h5p-learning-hub .lh-unified-footer .lh-foot-continue {
  background:#194178 !important;
}
.h5p-learning-hub .lh-unified-footer .lh-foot-continue:hover,
.h5p-learning-hub .lh-unified-footer .lh-foot-continue:focus-visible {
  background:#12345f !important;
}

/* 4.3: optische Grundlinie mit dem Schriftzug im Hintergrundbild abgleichen. */
.h5p-learning-hub .lh-frame .lh-role-footer-button {
 transform:translateY(4px) !important;
 font-size:11px !important;
}

