@font-face {
  font-family: Roboto;
  src: url(/_at0mic/datei/medien/roboto-400.woff2?v=1) format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Roboto;
  src: url(/_at0mic/datei/medien/roboto-400i.woff2?v=1) format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: Roboto;
  src: url(/_at0mic/datei/medien/roboto-500.woff2?v=1) format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Roboto;
  src: url(/_at0mic/datei/medien/roboto-700.woff2?v=1) format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Kursdesign ibW & HWSGR */

:root {
  --ink: #23272b;
  --ink-muted: #70757b;
  --surface: #ffffff;
  --karte: #f7f5f2;
  --linie: #d8d8d8;
  --k00: #6e7378;
  --k01: #9c2140;
  --k02: #d83054;
  --k03: #c4551f;
  --k04: #97690f;
  --k05: #554c96;
  --uebung: #fcd800;
  --on-uebung: #1e1b00;
  --uebung-text: #8a6d00;
  --rand: clamp(16px, 5vw, 50px);
  --max: 1060px;
  --logo-w: clamp(176px, 30vw, 279px);
  --sanft: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.nur-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* Gerüst */

.app {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.kopf {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding-right: var(--rand);
}

.kopf-logo {
  display: block;
  width: var(--logo-w);
  margin-left: max(0px, calc(var(--rand) - var(--logo-w) * .08));
}

.kopf-ibw {
  width: clamp(92px, 14vw, 139px);
  margin-top: clamp(6px, 1.4vw, 10px);
}

.haupt {
  flex: 1;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(20px, 4vw, 40px) var(--rand) 72px;
}

/* Typografie nach Kursdesign */

.eyebrow {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.6px;
  line-height: 1.35;
  text-transform: uppercase;
  color: var(--k, var(--k00));
}

.titel-gross {
  font-size: clamp(30px, 4.6vw, 42px);
  line-height: 1.08;
  font-weight: 700;
  margin: 12px 0 0;
  letter-spacing: -.3px;
}

.strich {
  display: block;
  width: 61px;
  height: 4px;
  margin: 18px 0 0;
  background: var(--k, var(--k00));
}

.lead {
  font-size: 17px;
  line-height: 1.4;
  margin: 18px 0 0;
  max-width: 34em;
}

.leise {
  color: var(--ink-muted);
}

.box-label {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.6px;
  color: var(--ink-muted);
  text-transform: uppercase;
}

/* Knöpfe */

.knopf {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border: 0;
  border-radius: 0;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: background-color .2s;
}

.knopf:hover {
  background: #000;
}

.knopf[disabled] {
  cursor: progress;
}

.knopf .pfeil {
  display: inline-block;
  transition: transform .25s var(--sanft);
}

.knopf:hover .pfeil {
  transform: translateX(4px);
}

.knopf-leise {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 0;
  border: 0;
  background: none;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  color: var(--ink);
}

.knopf-leise .pfeil {
  display: inline-block;
  transition: transform .2s var(--sanft);
}

.knopf-leise:hover .pfeil {
  transform: translateX(3px);
}

.knopf-leise:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

/* Fuss */

.fuss {
  border-top: 1px solid var(--linie);
}

.fuss-innen {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px var(--rand) 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--ink-muted);
}

.fuss-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.fuss a,
.fuss button {
  color: var(--ink-muted);
  font-size: 13px;
  font-weight: 400;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  text-decoration: none;
}

.fuss a:hover,
.fuss button:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@keyframes auftritt {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes puls {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: .35;
    transform: scale(.8);
  }
}

@keyframes ameisen {
  to {
    background-position: 28px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* Laden */

.laden {
  padding: 40px 0;
}

.laden-text {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--ink-muted);
  font-size: 15px;
  margin: 0;
}

.laden-punkte {
  display: inline-flex;
  gap: 5px;
}

.laden-punkte i {
  width: 8px;
  height: 8px;
  display: block;
  animation: puls 1.1s ease-in-out infinite;
}

.laden-punkte i:nth-child(1) {
  background: var(--k01);
}

.laden-punkte i:nth-child(2) {
  background: var(--k02);
  animation-delay: .12s;
}

.laden-punkte i:nth-child(3) {
  background: var(--k03);
  animation-delay: .24s;
}

.laden-punkte i:nth-child(4) {
  background: var(--k04);
  animation-delay: .36s;
}

.laden-punkte i:nth-child(5) {
  background: var(--k05);
  animation-delay: .48s;
}

/* Eingang mit Code */

.ansicht {
  animation: auftritt .5s var(--sanft) both;
}

.eingang {
  display: grid;
  grid-template-columns: minmax(0, 620px) minmax(180px, 340px);
  justify-content: space-between;
  column-gap: clamp(32px, 7vw, 96px);
  padding-top: clamp(8px, 4vw, 40px);
}

.eingang > * {
  grid-column: 1;
}

.eingang > .saeulen {
  grid-column: 2;
  grid-row: 1 / span 6;
  align-self: end;
}

.saeulen {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  align-items: end;
  height: 360px;
}

.saeulen i {
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  height: 0;
  background: var(--k);
  color: #fff;
  font-style: normal;
  font-weight: 700;
  font-size: 15px;
  padding: 0 10px 12px;
  transition: height .8s var(--sanft);
  transition-delay: calc(.15s + var(--i) * .08s);
}

.saeulen.da i {
  height: var(--h);
}

.saeulen.da i.an {
  height: 100%;
  transition-duration: .45s;
  transition-delay: 0s;
}

.saeulen.alle i {
  animation: huepfen .6s var(--sanft) both;
  animation-delay: calc(var(--i) * .06s);
}

@keyframes huepfen {
  0% {
    transform: none;
  }

  40% {
    transform: translateY(-14px);
  }

  100% {
    transform: none;
  }
}

@media (max-width: 860px) {
  .eingang {
    grid-template-columns: minmax(0, 1fr);
  }

  .eingang > .saeulen {
    grid-column: 1;
    grid-row: auto;
    height: 110px;
    margin-top: 44px;
    width: min(100%, 432px);
  }

  .saeulen i {
    font-size: 12px;
    padding: 0 6px 8px;
  }
}

.code-form {
  margin-top: 36px;
}

.code-box {
  position: relative;
  width: min(100%, 432px);
  margin-top: 10px;
}

.code-zellen {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}

.code-zelle {
  position: relative;
  height: clamp(56px, 15vw, 68px);
  background: var(--karte);
  display: grid;
  place-items: center;
  font-size: clamp(24px, 6.5vw, 30px);
  font-weight: 700;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}

.code-zelle::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: var(--z);
  transform: scaleX(.22);
  transform-origin: left;
  transition: transform .3s var(--sanft);
}

.code-zelle.voll::after {
  transform: scaleX(1);
}

.code-zelle.voll span {
  display: inline-block;
  animation: einfallen .28s var(--sanft);
}

.code-box.fokus .code-zelle.aktiv::before {
  content: "";
  position: absolute;
  width: 2px;
  height: 42%;
  background: var(--ink);
  animation: caret 1.05s steps(1) infinite;
}

@keyframes caret {
  50% {
    opacity: 0;
  }
}

@keyframes einfallen {
  from {
    transform: translateY(-14px);
    opacity: 0;
  }

  to {
    transform: none;
    opacity: 1;
  }
}

.code-feld {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  border: 0;
  padding: 0;
  font-size: 16px;
  color: transparent;
  background: transparent;
  caret-color: transparent;
  cursor: text;
}

.code-box.wackeln .code-zellen {
  animation: wackeln .45s ease-in-out;
}

.code-box.wackeln .code-zelle::after {
  background: var(--k02);
}

@keyframes wackeln {
  0%, 100% {
    transform: none;
  }

  18% {
    transform: translateX(-9px);
  }

  36% {
    transform: translateX(8px);
  }

  54% {
    transform: translateX(-5px);
  }

  72% {
    transform: translateX(3px);
  }
}

.code-box.passt .code-zelle::after {
  animation: passt .5s var(--sanft) both;
}

.code-box.passt .code-zelle:nth-child(2)::after {
  animation-delay: .05s;
}

.code-box.passt .code-zelle:nth-child(3)::after {
  animation-delay: .1s;
}

.code-box.passt .code-zelle:nth-child(4)::after {
  animation-delay: .15s;
}

.code-box.passt .code-zelle:nth-child(5)::after {
  animation-delay: .2s;
}

.code-box.passt .code-zelle:nth-child(6)::after {
  animation-delay: .25s;
}

@keyframes passt {
  50% {
    height: 100%;
  }

  100% {
    height: 4px;
  }
}

.code-hinweis {
  font-size: 13px;
  margin: 10px 0 0;
}

.code-zeile {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-top: 24px;
}

.code-meldung {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  min-height: 1.4em;
  max-width: 30em;
}

.code-meldung.fehler {
  color: var(--k01);
}

/* Vorhang beim Öffnen */

.vorhang {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  pointer-events: none;
  visibility: hidden;
}

.vorhang i {
  display: block;
  transform: scaleY(0);
  transform-origin: bottom;
}

.vorhang i:nth-child(1) {
  background: var(--k01);
}

.vorhang i:nth-child(2) {
  background: var(--k02);
  transition-delay: .05s;
}

.vorhang i:nth-child(3) {
  background: var(--k03);
  transition-delay: .1s;
}

.vorhang i:nth-child(4) {
  background: var(--k04);
  transition-delay: .15s;
}

.vorhang i:nth-child(5) {
  background: var(--k05);
  transition-delay: .2s;
}

.vorhang.zu {
  visibility: visible;
}

.vorhang.zu i {
  transform: scaleY(1);
  transition-property: transform;
  transition-duration: .38s;
  transition-timing-function: cubic-bezier(.7, 0, .3, 1);
}

.vorhang.weg i {
  transform: scaleY(0);
  transform-origin: top;
}

/* Kurs */

.leitung-leiste {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 18px;
  background: var(--karte);
  padding: 12px 18px 12px 22px;
  margin-bottom: 32px;
  animation: auftritt .5s var(--sanft) both;
}

.leitung-leiste::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4.9px;
  background: var(--ink);
}

.leitung-leiste .eyebrow {
  color: var(--ink);
}

.leitung-name {
  font-size: 14px;
  color: var(--ink-muted);
}

.leitung-leiste .knopf-leise {
  margin-left: auto;
}

.kurs-kopf {
  max-width: 760px;
}

.kurs-untertitel {
  font-size: 17px;
  color: var(--ink-muted);
  margin: 10px 0 0;
}

.kurs-meta {
  font-size: 14px;
  margin: 12px 0 0;
}

.fortschritt {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  width: min(100%, 320px);
  margin-top: 22px;
}

.fortschritt span {
  display: block;
  height: 6px;
  background: var(--karte);
  position: relative;
  overflow: hidden;
}

.fortschritt span::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--k);
  transform: scaleX(0);
  transform-origin: left;
  animation: fuellen .6s var(--sanft) forwards;
  animation-delay: calc(.3s + var(--i) * .12s);
}

.fortschritt span.kommend::after {
  animation: none;
  transform: scaleX(.14);
}

.fortschritt span.heute::after {
  animation: fuellen .6s var(--sanft) forwards, atmen 2.4s ease-in-out 1.2s infinite;
  animation-delay: calc(.3s + var(--i) * .12s), calc(1.2s + var(--i) * .12s);
}

@keyframes fuellen {
  to {
    transform: scaleX(1);
  }
}

@keyframes atmen {
  0%, 100% {
    opacity: 1;
  }

  50% {
    opacity: .45;
  }
}

.tage {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.tag {
  --k: var(--k00);
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  opacity: 0;
  animation: auftritt .55s var(--sanft) forwards;
  animation-delay: calc(.12s + var(--i) * .07s);
  scroll-margin-top: 24px;
}

.tag-nummer {
  background: var(--k);
  color: #fff;
  padding: 16px 14px 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}

.tag-nummer b {
  font-size: 64px;
  line-height: .95;
  font-weight: 700;
  letter-spacing: -1px;
}

.tag-nummer small {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  opacity: .92;
}

.tag-inhalt {
  background: var(--karte);
  padding: 20px clamp(16px, 3vw, 28px) 22px;
  min-width: 0;
}

.tag-titel {
  font-size: clamp(20px, 2.6vw, 24px);
  line-height: 1.2;
  font-weight: 700;
  margin: 8px 0 0;
}

.tag .strich {
  width: 61px;
  height: 3.6px;
  margin-top: 14px;
  transition: width .45s var(--sanft);
}

.tag:hover .strich {
  width: 122px;
}

.tag-meta {
  margin: 12px 0 0;
  font-size: 14px;
  color: var(--ink-muted);
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
}

.tag-meta span + span::before {
  content: "\2002·\2002";
}

.zustand {
  font-weight: 700;
  color: var(--ink);
}

/* Heute */

.tag[data-zustand="heute"] .tag-nummer small::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  margin-right: 7px;
  vertical-align: 1px;
  animation: puls 1.6s ease-in-out infinite;
}

.tag[data-zustand="vorbei"] .tag-titel {
  color: var(--ink);
}

/* Leerer Tag */

.tag.leer .strich {
  background: repeating-linear-gradient(90deg, var(--k) 0 9px, transparent 9px 14px);
  background-size: 28px 100%;
  animation: ameisen 1.4s linear infinite;
}

.leer-text {
  margin: 16px 0 0;
  font-size: 15px;
  color: var(--ink);
}

.leer-text span {
  color: var(--ink-muted);
}

/* Unterlagen */

.material {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 3px;
}

.mat {
  position: relative;
  background: var(--surface);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 4px 18px;
  padding: 12px 14px 12px 18px;
}

.mat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3.2px;
  background: var(--k);
  transform: scaleY(.38);
  transition: transform .3s var(--sanft);
}

.mat:hover::before,
.mat:focus-within::before {
  transform: scaleY(1);
}

.mat-text {
  min-width: 0;
}

.mat-art {
  display: block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.mat-titel {
  display: block;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
  margin-top: 2px;
  overflow-wrap: anywhere;
}

.mat-aktionen {
  display: flex;
  gap: 4px 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.mat-aktion {
  white-space: nowrap;
}

.mat-aktion .unterwegs-text {
  display: none;
}

.mat-aktion.unterwegs .normal-text {
  display: none;
}

.mat-aktion.unterwegs .unterwegs-text {
  display: inline;
}

.mat-aktion.unterwegs .pfeil {
  animation: abtauchen .7s var(--sanft) 2;
}

@keyframes abtauchen {
  0% {
    transform: none;
    opacity: 1;
  }

  55% {
    transform: translateY(9px);
    opacity: 0;
  }

  56% {
    transform: translateY(-9px);
    opacity: 0;
  }

  100% {
    transform: none;
    opacity: 1;
  }
}

/* Leser für Markdown */

.leser {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: var(--surface);
  overflow-y: auto;
  animation: hochfahren .35s var(--sanft);
}

@keyframes hochfahren {
  from {
    transform: translateY(24px);
    opacity: 0;
  }

  to {
    transform: none;
    opacity: 1;
  }
}

.leser-leiste {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--linie);
  z-index: 1;
}

.leser-leiste::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 3px;
  width: 100%;
  background: var(--k, var(--k00));
  transform: scaleX(var(--gelesen, 0));
  transform-origin: left;
}

.leser-leiste-innen {
  max-width: 760px;
  margin: 0 auto;
  padding: 12px var(--rand);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.leser-titel {
  margin: 0;
  font-weight: 700;
  font-size: 15px;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.leser-knoepfe {
  display: flex;
  gap: 20px;
  flex-shrink: 0;
}

.leser-inhalt {
  max-width: 760px;
  margin: 0 auto;
  padding: 32px var(--rand) 96px;
  font-size: 17px;
  line-height: 1.55;
}

.leser-inhalt h1 {
  font-size: clamp(26px, 4vw, 32px);
  line-height: 1.12;
  margin: 0 0 18px;
}

.leser-inhalt h1::after {
  content: "";
  display: block;
  width: 61px;
  height: 3.6px;
  background: var(--k, var(--k00));
  margin-top: 16px;
}

.leser-inhalt h2 {
  font-size: 22px;
  line-height: 1.2;
  margin: 36px 0 10px;
}

.leser-inhalt h3 {
  font-size: 18px;
  margin: 26px 0 8px;
}

.leser-inhalt p,
.leser-inhalt ul,
.leser-inhalt ol {
  margin: 0 0 14px;
}

.leser-inhalt li {
  margin-bottom: 6px;
}

.leser-inhalt blockquote {
  margin: 18px 0;
  padding: 14px 18px;
  background: var(--karte);
  border-left: 4.9px solid var(--k, var(--k00));
}

.leser-inhalt blockquote p:last-child {
  margin-bottom: 0;
}

.leser-inhalt code {
  font-family: Consolas, "Roboto Mono", Menlo, monospace;
  font-size: .88em;
  background: var(--karte);
  padding: 1px 4px;
}

.leser-inhalt pre {
  background: var(--karte);
  padding: 14px 16px;
  overflow-x: auto;
  font-size: 14px;
  line-height: 1.45;
}

.leser-inhalt pre code {
  background: none;
  padding: 0;
}

.leser-inhalt table {
  border-collapse: collapse;
  width: 100%;
  margin: 0 0 18px;
  font-size: 15px;
  display: block;
  overflow-x: auto;
}

.leser-inhalt th,
.leser-inhalt td {
  text-align: left;
  padding: 8px 12px 8px 0;
  border-bottom: 1px solid var(--linie);
  vertical-align: top;
}

.leser-inhalt hr {
  border: 0;
  height: 1px;
  background: var(--linie);
  margin: 28px 0;
}

.leser-inhalt img {
  max-width: 100%;
}

@media (max-width: 640px) {
  .tag {
    grid-template-columns: 1fr;
  }

  .tag-nummer {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    padding: 10px 16px;
  }

  .tag-nummer b {
    font-size: 34px;
  }

  .mat {
    grid-template-columns: 1fr;
  }

  .mat-aktionen {
    justify-content: flex-start;
  }

  .leser-knoepfe {
    gap: 14px;
  }
}

.kl {
  animation: auftritt .5s var(--sanft) both;
}

.kl-df {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.kl-df button {
  border: 0;
  border-radius: 0;
  background: var(--karte);
  padding: 10px 16px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  position: relative;
}

.kl-df button::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--sanft);
}

.kl-df button[aria-selected="true"] {
  background: var(--ink);
  color: #fff;
}

.kl-df button:hover::after {
  transform: scaleX(1);
}

.kl-zahlen {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 13px;
  margin-top: 28px;
}

.kl-zahl {
  background: var(--karte);
  padding: 14px 16px 16px;
}

.kl-zahl b {
  display: block;
  font-size: 28px;
  line-height: 1.1;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.kl-zahl span {
  display: block;
  font-size: 13px;
  color: var(--ink-muted);
  margin-top: 4px;
}

.kl-reiter {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 28px;
  margin-top: 36px;
  border-bottom: 1px solid var(--linie);
}

.kl-reiter button {
  border: 0;
  background: none;
  padding: 10px 0 12px;
  font-weight: 700;
  font-size: 15px;
  color: var(--ink-muted);
  cursor: pointer;
  position: relative;
}

.kl-reiter button::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3.6px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--sanft);
}

.kl-reiter button[aria-current="true"] {
  color: var(--ink);
}

.kl-reiter button[aria-current="true"]::after {
  transform: scaleX(1);
}

.kl-panel {
  margin-top: 28px;
  display: grid;
  gap: 18px;
}

.kl-hinweis {
  font-size: 14px;
  color: var(--ink-muted);
  margin: 0;
  max-width: 46em;
}

/* Felder */

.kl-feld {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.kl-feld > span {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.kl-feld input,
.kl-mat input[type="text"],
.kl-mat input[type="url"] {
  width: 100%;
  border: 0;
  border-radius: 0;
  border-bottom: 2px solid var(--linie);
  background: var(--surface);
  padding: 8px 10px;
  font-size: 15px;
  transition: border-color .2s;
}

.kl-feld input:focus,
.kl-mat input:focus {
  outline: none;
  border-bottom-color: var(--k, var(--ink));
}

.kl-feld input:focus-visible,
.kl-mat input:focus-visible {
  box-shadow: 0 0 0 2px var(--ink) inset;
}

.kl-feld.gross input {
  font-size: 18px;
  font-weight: 700;
}

.kl-feld select {
  width: 100%;
  border: 0;
  border-radius: 0;
  border-bottom: 2px solid var(--linie);
  background: var(--surface);
  padding: 8px 10px;
  font-size: 15px;
  cursor: pointer;
}

.kl-feld input:disabled {
  opacity: .45;
}

.kl-zwischentitel {
  font-size: 16px;
  font-weight: 700;
  margin: 12px 0 -8px;
}

.kl-code.leitung::before {
  background: var(--k05);
}

/* Kurstag */

.kl-tag {
  --k: var(--k00);
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  position: relative;
  transition: outline-color .2s;
  outline: 3px dashed transparent;
  outline-offset: 4px;
}

.kl-tag.ziehen {
  outline-color: var(--k);
}

.kl-nr {
  background: var(--k);
  color: #fff;
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
  padding: 14px 10px;
}

.kl-tag-innen {
  background: var(--karte);
  padding: 18px clamp(14px, 2.6vw, 24px) 20px;
  min-width: 0;
}

.kl-felder {
  display: grid;
  gap: 12px;
}

.kl-zwei {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 12px;
}

.kl-mats {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 3px;
}

.kl-mat {
  background: var(--surface);
  padding: 10px 12px 10px 16px;
  position: relative;
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto;
  gap: 6px 14px;
  align-items: center;
}

.kl-mat::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3.2px;
  background: var(--k);
}

.kl-mat.versteckt {
  opacity: .55;
}

.kl-mat.versteckt::before {
  background: var(--linie);
}

.kl-mat-art {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--ink-muted);
}

.kl-mat-art small {
  display: block;
  font-size: 12px;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 400;
  margin-top: 2px;
}

.kl-mat-felder {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.kl-mat-felder input[type="url"] {
  font-size: 13px;
  color: var(--ink-muted);
  padding-top: 4px;
  padding-bottom: 4px;
}

.kl-mat-knoepfe {
  display: flex;
  gap: 2px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.kl-mini {
  border: 0;
  background: none;
  padding: 6px 8px;
  min-width: 32px;
  min-height: 32px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  color: var(--ink);
}

a.kl-mini {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.kl-mini:hover {
  background: var(--karte);
}

.kl-mini.gefahr:hover {
  background: var(--k01);
  color: #fff;
}

.kl-mini[disabled] {
  opacity: .3;
  cursor: default;
  background: none;
}

.kl-klicks {
  font-size: 13px;
  color: var(--ink-muted);
  white-space: nowrap;
  padding: 0 8px;
  font-variant-numeric: tabular-nums;
}

.kl-neu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  margin-top: 14px;
}

.kl-neu .knopf-leise {
  font-size: 14px;
}

.kl-datei {
  position: relative;
  overflow: hidden;
}

.kl-datei input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.kl-datei:focus-within {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.kl-neu small {
  color: var(--ink-muted);
  font-size: 12.5px;
}

.kl-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) auto;
  gap: 12px;
  align-items: end;
  margin-top: 12px;
  padding: 14px;
  background: var(--surface);
  animation: auftritt .3s var(--sanft);
}

.kl-form .knopf {
  min-height: 42px;
  padding: 0 18px;
  font-size: 14px;
}

.kl-laeuft {
  margin-top: 12px;
  background: var(--surface);
  padding: 12px 14px;
  font-size: 14px;
}

.kl-balken {
  height: 4px;
  background: var(--karte);
  margin-top: 8px;
  overflow: hidden;
}

.kl-balken i {
  display: block;
  height: 100%;
  background: var(--k);
  width: 100%;
  transform: scaleX(var(--p, 0));
  transform-origin: left;
  transition: transform .2s linear;
}

/* Codes */

.kl-codes-neu {
  display: grid;
  grid-template-columns: minmax(130px, .8fr) minmax(0, 1.4fr) 80px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
  background: var(--karte);
  padding: 16px 18px 18px;
}

.kl-codes-neu .knopf {
  min-height: 42px;
  font-size: 14px;
  padding: 0 18px;
}

.kl-codes {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 3px;
}

.kl-code {
  background: var(--karte);
  padding: 12px 14px 12px 18px;
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr) auto auto;
  gap: 8px 16px;
  align-items: center;
  position: relative;
}

.kl-code::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3.2px;
  background: var(--ink);
}

.kl-code.aus {
  opacity: .6;
}

.kl-code.aus::before {
  background: var(--linie);
}

.kl-code.neu {
  animation: aufleuchten 1.6s var(--sanft);
}

@keyframes aufleuchten {
  0% {
    background: var(--uebung);
  }

  100% {
    background: var(--karte);
  }
}

.kl-code-wert {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 3px;
  font-variant-numeric: tabular-nums;
}

.kl-code-wert small {
  display: block;
  font-size: 12px;
  letter-spacing: 0;
  font-weight: 400;
  color: var(--ink-muted);
}

.kl-code input[type="text"] {
  width: 100%;
  border: 0;
  border-bottom: 2px solid var(--linie);
  background: var(--surface);
  padding: 8px 10px;
  font-size: 15px;
}

.kl-schalter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.kl-schalter input {
  appearance: none;
  -webkit-appearance: none;
  width: 38px;
  height: 22px;
  background: var(--linie);
  position: relative;
  cursor: pointer;
  margin: 0;
  transition: background .2s;
}

.kl-schalter input::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  background: #fff;
  transition: transform .25s var(--sanft);
}

.kl-schalter input:checked {
  background: var(--ink);
}

.kl-schalter input:checked::after {
  transform: translateX(16px);
}

.kl-schalter input:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.kl-kursdaten {
  display: grid;
  gap: 14px;
  background: var(--karte);
  padding: 18px 20px 20px;
  max-width: 760px;
}

/* Rückmeldung */

.kl-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 60;
  margin: 0;
  transform: translate(-50%, 20px);
  opacity: 0;
  pointer-events: none;
  background: var(--ink);
  color: #fff;
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 500;
  max-width: min(92vw, 520px);
  transition: transform .3s var(--sanft), opacity .3s;
}

.kl-toast.da {
  transform: translate(-50%, 0);
  opacity: 1;
}

.kl-toast::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--uebung);
  margin-right: 10px;
  vertical-align: 1px;
}

.kl-toast.fehler::before {
  background: var(--k02);
}

.kl-leer {
  margin: 14px 0 0;
  font-size: 14px;
  color: var(--ink-muted);
}

@media (max-width: 760px) {
  .kl-tag {
    grid-template-columns: 1fr;
  }

  .kl-nr {
    font-size: 22px;
    padding: 8px 14px;
  }

  .kl-zwei {
    grid-template-columns: 1fr;
  }

  .kl-mat {
    grid-template-columns: 1fr;
  }

  .kl-mat-knoepfe {
    justify-content: flex-start;
  }

  .kl-form,
  .kl-codes-neu {
    grid-template-columns: 1fr;
  }

  .kl-code {
    grid-template-columns: 1fr;
  }
}