
@property --m-fall-fuell { syntax: "<number>"; inherits: false; initial-value: 0; }

.m-fall-oben { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 12px; }
.m-fall-oben .eyebrow { margin: 0; }
.m-fall-etikett {
  display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 11px 0 9px; border-radius: 980px;
  font: 600 11.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--orange-text);
  background: var(--orange-zart); box-shadow: inset 0 0 0 1px rgba(201, 77, 0, .22);
}
.m-fall-etikett::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }
.m-fall .titel .serif { font-weight: 400; letter-spacing: -.03em; }

.m-fall-zeit { list-style: none; position: relative; }
.m-fall-zeit::before { content: ""; position: absolute; left: 6px; top: 10px; bottom: 14px; width: 2px; border-radius: 2px; background: var(--line-2); }
.m-fall-schritt { position: relative; padding: 0 0 34px 34px; }
.m-fall-schritt::before {
  content: ""; position: absolute; left: 0; top: 5px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--bg-2); box-shadow: inset 0 0 0 2px var(--orange);
}
.m-fall-tag { font: 600 12.5px/1.2 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--orange-text); font-feature-settings: "tnum" 1; }
.m-fall-schritt h3 { font-size: clamp(20px, 2.1vw, 24px); line-height: 1.2; letter-spacing: -.018em; font-weight: 650; margin: 6px 0 6px; }
.m-fall-schritt > p:last-child { color: var(--muted); font-size: 16.5px; line-height: 1.5; max-width: 44ch; }

.m-fall-dokspalte { margin-top: 18px; }
.m-fall-anzeige { display: none; }
.m-fall-dok { container: fall-dok / inline-size; max-width: 660px; margin-inline: auto; }

.m-fall-papier {
  --papier-rand: 22px;
  position: relative; overflow: hidden; background: var(--card); color: var(--ink);
  border-radius: 7px; padding: 24px var(--papier-rand) 16px;
  font-size: 13px; line-height: 1.45; letter-spacing: -.003em;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .045), 0 2px 4px rgba(0, 0, 0, .035), 0 14px 30px rgba(0, 0, 0, .07), 0 44px 90px -28px rgba(0, 0, 0, .26);
  transform-origin: 50% 40%;
}
.m-fall-papier::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--orange); }
.m-fall-wasserzeichen {
  position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%) rotate(-28deg); pointer-events: none; user-select: none;
  font-size: clamp(64px, 23vw, 150px); font-size: clamp(64px, 26cqi, 150px); font-weight: 800; letter-spacing: .02em; text-transform: uppercase; color: var(--ink); opacity: .035; white-space: nowrap;
}
.m-fall-l { font-size: 10px; font-weight: 650; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }

.m-fall-dkopf { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding-bottom: 14px; border-bottom: 1.5px solid var(--ink); }
.m-fall-logo { width: 96px; height: auto; margin-top: 2px; }
.m-fall-dtitel { text-align: right; }
.m-fall-dtitel h3 { font-size: 19px; line-height: 1.1; letter-spacing: -.02em; font-weight: 700; }
.m-fall-nr { margin-top: 5px; display: flex; gap: 6px; justify-content: flex-end; align-items: baseline; }
.m-fall-nr .m-fall-w { font: 600 12px/1.2 var(--mono); color: var(--orange-text); }

.m-fall-meta { display: grid; gap: 0; margin: 4px 0 2px; }
.m-fall-meta > div { display: grid; grid-template-columns: 92px 1fr; gap: 10px; align-items: baseline; padding: 7px 0 6px; border-bottom: 1px dotted var(--line-2); }
.m-fall-meta dd { font-weight: 500; }

.m-fall-teil { position: relative; padding: 14px 0 12px; border-top: 1px solid var(--line); }
.m-fall-meta + .m-fall-teil { border-top: 0; margin-top: 4px; }
.m-fall-teil h4 { display: flex; align-items: baseline; gap: 8px; font-size: 13.5px; font-weight: 700; letter-spacing: -.01em; margin-bottom: 8px; }
.m-fall-nrk { font: 600 11px/1 var(--mono); color: var(--orange-text); }
.m-fall-wann { margin-left: auto; font: 500 10.5px/1 var(--mono); color: var(--muted); letter-spacing: .02em; white-space: nowrap; }
.m-fall-text { color: var(--ink-2); }
.m-fall-teil::before, .m-fall-meta::before { content: none; }

.m-fall-zeile { display: grid; gap: 10px; }
.m-fall-foto { position: relative; border-radius: 5px; }
.m-fall-foto picture, .m-fall-foto img { display: block; width: 100%; aspect-ratio: 12 / 5; object-fit: cover; border-radius: 5px; }
.m-fall-teil[data-teil="1"] .m-fall-foto img { object-position: 0 50%; }
.m-fall-teil[data-teil="3"] .m-fall-foto img { object-position: 50% 62%; }
.m-fall-fotonr { display: block; margin-top: 4px; font: 500 9.5px/1.2 var(--mono); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-fall-spalte .m-fall-text + .m-fall-liste, .m-fall-befund .m-fall-liste { margin-top: 8px; }

.m-fall-ursache { display: grid; gap: 12px; }
.m-fall-wb { position: relative; border-radius: 6px; overflow: hidden; background: var(--nass-1); }
.m-fall-wb-bild { width: 100%; height: auto; aspect-ratio: 4 / 3; }
.m-fall-wb-heiss, .m-fall-wb-ui { position: absolute; inset: 0; width: 100%; height: 100%; }
.m-fall-wb figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 10% 7px 11%; font: 500 9.5px/1.2 var(--mono); color: rgba(255, 255, 255, .86); background: linear-gradient(transparent, rgba(0, 0, 0, .45)); }
.m-fall-befund .m-fall-l { display: block; margin-bottom: 2px; }
.m-fall-befund .m-fall-text + .m-fall-l { margin-top: 8px; }
.m-fall-wb-ziel { transform: translate(157px, 126px); }

.m-fall-liste { list-style: none; display: grid; }
.m-fall-liste li { display: grid; grid-template-columns: 18px 1fr; gap: 9px; align-items: center; min-height: 27px; padding: 3px 0; border-bottom: 1px dotted var(--line); }
.m-fall-liste li:last-child { border-bottom: 0; }
.m-fall-teil--abschluss .m-fall-liste { margin-top: 6px; }
.m-fall-haken { width: 18px; height: 18px; overflow: visible; }
.m-fall-haken rect { fill: var(--orange); stroke: var(--orange); stroke-width: 1.5; }
.m-fall-haken path { fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 16; stroke-dashoffset: 0; }

.m-fall-mess { display: grid; gap: 10px; }
.m-fall-kurve svg { width: 100%; height: auto; overflow: visible; }
.m-fall-kurve figcaption { font: 500 9.5px/1.3 var(--mono); color: var(--muted); margin-top: 2px; }
.m-fall-k-achsen { font: 500 8.5px var(--mono); fill: var(--muted); }
.m-fall-k-achsen path { stroke: var(--line-2); stroke-width: 1; fill: none; }
.m-fall-k-achsen .m-fall-k-gitter { stroke: var(--line); stroke-dasharray: 2 3; }
.m-fall-k-ziel path { stroke: var(--orange); stroke-width: 1.2; stroke-dasharray: 5 4; fill: none; opacity: .8; }
.m-fall-k-ziel text { font: 600 8.5px var(--mono); fill: var(--orange-text); }
.m-fall-k-linie { fill: none; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.m-fall-k-punkte circle { fill: var(--card); stroke: var(--nass-2); stroke-width: 1.8; }
.m-fall-k-punkte circle[data-tag="18"], .m-fall-k-punkte circle[data-tag="21"] { stroke: var(--orange); }
.m-fall-k-punkte circle[data-tag="21"] { fill: var(--orange); }
.m-fall-k-stift { display: none; }
.m-fall-k-stift > circle { fill: var(--orange); }
.m-fall-k-stift .m-fall-k-hof { fill: var(--orange); opacity: .2; }
.m-fall-k-etikett rect { fill: var(--ink); }
.m-fall-k-etikett text { font: 600 9px var(--mono); fill: #fff; }

.m-fall-tabelle { width: 100%; border-collapse: collapse; font-size: 12px; font-feature-settings: "tnum" 1; }
.m-fall-tabelle th { text-align: left; font-size: 9.5px; font-weight: 650; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); padding: 0 0 5px; border-bottom: 1px solid var(--line-2); }
.m-fall-tabelle td { padding: 4px 0 3px; border-bottom: 1px dotted var(--line); white-space: nowrap; }
.m-fall-tabelle td:first-child { font-family: var(--mono); font-size: 11px; color: var(--ink-2); padding-right: 10px; }
.m-fall-tabelle td:nth-child(2) { color: var(--ink-2); padding-right: 8px; white-space: normal; }
.m-fall-tabelle th:last-child, .m-fall-tabelle td:last-child { text-align: right; }
.m-fall-tabelle td:last-child { font-family: var(--mono); font-size: 11.5px; font-weight: 600; color: var(--nass-2); }
.m-fall-tabelle .m-fall-ok td:last-child { color: var(--orange-text); }
.m-fall-tabelle .m-fall-ok td:last-child::after { content: " ✓"; }

.m-fall-visum { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: 12px; min-height: 84px; }
.m-fall-unterschrift { flex: 0 1 200px; }
.m-fall-unterschrift svg { width: 150px; height: 45px; overflow: visible; }
.m-fall-signatur { fill: none; stroke: var(--navy); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.m-fall-unterschrift p { border-top: 1px solid var(--ink); padding-top: 5px; font-size: 11px; line-height: 1.4; color: var(--ink-2); }
.m-fall-stempel {
  position: relative; flex: none; display: grid; justify-items: center; gap: 3px; margin: 0 4px 6px 0;
  padding: 9px 13px 8px; border-radius: 9px; color: var(--orange); text-transform: uppercase; line-height: 1;
  box-shadow: inset 0 0 0 2.5px var(--orange), inset 0 0 0 5px var(--card), inset 0 0 0 6.2px var(--orange);
  transform: rotate(-8deg);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='90'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' seed='5'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -2.4 2.05'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='90'%3E%3Cfilter id='f'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' seed='5'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 -2.4 2.05'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23f)'/%3E%3C/svg%3E");
  -webkit-mask-size: 180px 90px; mask-size: 180px 90px;
}
.m-fall-stempel-a { font-size: 21px; font-weight: 800; letter-spacing: .06em; }
.m-fall-stempel-b { font-size: 11.5px; font-weight: 800; letter-spacing: .16em; }
.m-fall-stempel-c { font: 600 8px/1 var(--mono); letter-spacing: .08em; margin-top: 2px; opacity: .9; }

.m-fall-dfuss { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 12px; margin-top: 10px; padding-top: 8px; border-top: 1px solid var(--line); font: 500 9px/1.3 var(--mono); color: var(--muted); }

@container fall-dok (min-width: 520px) {
  .m-fall-papier { --papier-rand: 30px; padding: 28px var(--papier-rand) 18px; }
  .m-fall-logo { width: 112px; }
  .m-fall-dtitel h3 { font-size: 22px; }
  .m-fall-meta { grid-template-columns: 1fr 1fr; column-gap: 24px; }
  .m-fall-meta > div { grid-template-columns: 84px 1fr; }
  .m-fall-zeile { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 18px; align-items: start; }
  .m-fall-foto picture, .m-fall-foto img, .m-fall--an .m-fall-foto::before { aspect-ratio: 16 / 10; }
  .m-fall-ursache { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; align-items: start; }
  .m-fall-teil--abschluss .m-fall-liste { grid-template-columns: 1fr 1fr; column-gap: 18px; }
  .m-fall-teil--abschluss .m-fall-liste li:last-child { border-bottom: 1px dotted var(--line); }
  .m-fall-mess { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 20px; align-items: start; }
}
@supports not (container-type: inline-size) {
  @media (min-width: 560px) {
    .m-fall-papier { --papier-rand: 30px; padding: 28px var(--papier-rand) 18px; }
    .m-fall-logo { width: 112px; }
    .m-fall-dtitel h3 { font-size: 22px; }
    .m-fall-meta { grid-template-columns: 1fr 1fr; column-gap: 24px; }
    .m-fall-meta > div { grid-template-columns: 84px 1fr; }
    .m-fall-zeile { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 18px; align-items: start; }
    .m-fall-foto picture, .m-fall-foto img, .m-fall--an .m-fall-foto::before { aspect-ratio: 16 / 10; }
    .m-fall-ursache { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; align-items: start; }
    .m-fall-teil--abschluss .m-fall-liste { grid-template-columns: 1fr 1fr; column-gap: 18px; }
    .m-fall-teil--abschluss .m-fall-liste li:last-child { border-bottom: 1px dotted var(--line); }
    .m-fall-mess { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 20px; align-items: start; }
  }
}

.m-fall-dossier { margin-top: clamp(56px, 9vw, 112px); }
.m-fall-akten { list-style: none; display: grid; gap: 12px; margin-top: 24px; }
.m-fall-akte {
  display: grid; grid-template-columns: 88px 1fr; column-gap: 16px; align-items: start;
  background: var(--card); border-radius: var(--r-gross); padding: 20px 20px 22px; box-shadow: var(--schatten-1);
}
.m-fall-akte-bild { grid-row: span 2; width: 88px; height: auto; }
.m-fall-akte h4 { font-size: 18px; line-height: 1.25; letter-spacing: -.015em; font-weight: 650; margin: 2px 0 4px; }
.m-fall-akte p { color: var(--muted); font-size: 15.5px; line-height: 1.45; }
.m-fall-ab-foto { fill: var(--bg-2); stroke: var(--line-2); }
.m-fall-ab-wb { fill: var(--nass-1); }
.m-fall-ab-kreuz { fill: none; stroke: var(--warm); stroke-width: 1.6; stroke-linecap: round; }
.m-fall-ab-ziel { stroke: var(--orange); stroke-width: 1.4; stroke-dasharray: 4 3; fill: none; }
.m-fall-ab-kurve { fill: none; stroke: var(--nass-2); stroke-width: 2.4; stroke-linecap: round; }
.m-fall-ab-p { fill: var(--card); stroke: var(--nass-2); stroke-width: 1.6; }
.m-fall-ab-ende { fill: var(--orange); }
.m-fall-ab-blatt { fill: var(--card); stroke: var(--line-2); stroke-width: 1.2; }
.m-fall-ab-zeilen { stroke: var(--line-2); stroke-width: 2; stroke-linecap: round; }
.m-fall-ab-stempel { fill: none; stroke: var(--orange); stroke-width: 2; }
.m-fall-ab-stempel-z { stroke: var(--orange); stroke-width: 2.4; stroke-linecap: round; }
.m-fall-aktion { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 28px; }
.m-fall-aktion .pfeil-link { min-height: 44px; }    
.m-fall-aktion .m-fall-ganz { max-width: 100%; white-space: normal; text-align: center; line-height: 1.25; padding-block: 11px; }
@media (max-width: 359.98px) { .m-fall-aktion .m-fall-ganz { font-size: 16px; padding-inline: 16px; } }
.m-fall-hinweis { margin-top: 18px; max-width: 60ch; }
@media (min-width: 768px) {
  .m-fall-akten { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .m-fall-akte { grid-template-columns: 1fr; padding: 28px 28px 30px; }
  .m-fall-akte-bild { grid-row: auto; width: 120px; margin-bottom: 18px; }
  .m-fall-akte h4 { font-size: 21px; }
}

@media (min-width: 1024px) {
  .m-fall-szene { display: contents; }
  .m-fall-buehne { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
  .m-fall-zeit { grid-column: 1; grid-row: 1; }
  .m-fall-dokspalte { grid-column: 2; grid-row: 1; margin-top: 0; }
}

.m-fall--an .m-fall-w { transition: opacity .55s var(--sanft), transform .7s var(--feder); }
.m-fall--an .m-fall-w:not(.ist-da) { opacity: 0; transform: translateY(5px); transition-duration: .25s, .3s; }

.m-fall--an .m-fall-foto::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; aspect-ratio: 12 / 5; border-radius: 5px;
  background: repeating-linear-gradient(-45deg, transparent 0 5px, rgba(0, 0, 0, .025) 5px 6px); box-shadow: inset 0 0 0 1px var(--line-2);
}
.m-fall--an .m-fall-foto picture { position: relative; }
.m-fall--an .m-fall-foto.m-fall-w { opacity: 1; transform: none; }
.m-fall--an .m-fall-foto picture, .m-fall--an .m-fall-foto .m-fall-fotonr { transition: opacity .5s var(--sanft), transform .7s var(--feder); }
.m-fall--an .m-fall-foto:not(.ist-da) picture { opacity: 0; transform: scale(.92) rotate(-2deg); }
.m-fall--an .m-fall-foto:not(.ist-da) .m-fall-fotonr { opacity: 0; }

.m-fall--an .m-fall-wb.m-fall-w { opacity: 1; transform: none; }
.m-fall--an .m-fall-wb-heiss { transition: opacity 1s var(--sanft) .1s; will-change: opacity; }
.m-fall--an .m-fall-wb:not(.ist-da) .m-fall-wb-heiss { opacity: 0; transition: opacity .3s var(--sanft); }
.m-fall--an .m-fall-wb-ziel { transition: transform 1.1s var(--feder) .3s, opacity .4s; }
.m-fall--an .m-fall-wb:not(.ist-da) .m-fall-wb-ziel { transform: translate(236px, 70px); opacity: .75; transition-delay: 0s; transition-duration: .3s; }
.m-fall--an .m-fall-wb-wert { transition: opacity .4s var(--sanft) 1.1s; }
.m-fall--an .m-fall-wb:not(.ist-da) .m-fall-wb-wert { opacity: 0; transition-delay: 0s; }

.m-fall--an .m-fall-liste li > span:nth-child(2) { transition: color .4s; }
.m-fall--an .m-fall-liste li:not(.ist-da) > span:nth-child(2) { color: var(--muted); }
.m-fall--an .m-fall-liste li:not(.ist-da) .m-fall-wann { opacity: .55; }
.m-fall--an .m-fall-haken rect { transition: fill .3s var(--sanft), stroke .3s; }
.m-fall--an .m-fall-liste li:not(.ist-da) .m-fall-haken rect { fill: transparent; stroke: var(--line-2); }
.m-fall--an .m-fall-haken path { transition: stroke-dashoffset .45s var(--sanft) .08s; }
.m-fall--an .m-fall-liste li:not(.ist-da) .m-fall-haken path { stroke-dashoffset: 16; transition-delay: 0s; transition-duration: .2s; }
.m-fall--an .m-fall-haken { transition: transform .5s cubic-bezier(.3, 1.6, .5, 1); }
.m-fall--an .m-fall-liste li:not(.ist-da) .m-fall-haken { transform: scale(.86); transition-duration: .2s; }

.m-fall--an .m-fall-tabelle td { transition: opacity .45s var(--sanft), transform .6s var(--feder); }
.m-fall--an .m-fall-tabelle tr:not(.ist-da) td { opacity: 0; transform: translateX(-6px); transition-duration: .2s; }

.m-fall--an .m-fall-k-stift { display: inline; }
.m-fall--an .m-fall-k-punkte circle { transition: opacity .3s, transform .45s cubic-bezier(.3, 1.6, .5, 1); transform-box: fill-box; transform-origin: center; }
.m-fall--an .m-fall-k-punkte circle:not(.ist-da) { opacity: 0; transform: scale(.2); }
.m-fall--an .m-fall-k-stift { transition: opacity .3s; }
.m-fall--an .m-fall-k-stift.ist-aus { opacity: 0; }

.m-fall--an .m-fall-dok, .m-fall--an .m-fall-papier { will-change: transform; }

.m-fall--an .m-fall-stempel { opacity: 0; transform: rotate(-15deg) scale(1.75); transition: opacity .28s var(--sanft), transform .4s var(--sanft); }
.m-fall--an .m-fall-stempel.ist-gestempelt { opacity: .94; transform: rotate(-8deg) scale(1); transition: opacity .12s linear, transform .52s cubic-bezier(.34, 1.42, .52, 1); }
.m-fall-stempel::after {
  content: ""; position: absolute; inset: -14px; border-radius: 18px; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 102, 0, .22), rgba(255, 102, 0, 0)); opacity: 0;
}
.m-fall--an .m-fall-stempel.ist-gestempelt::after { animation: m-fall-hof .7s var(--sanft) .1s both; }
@keyframes m-fall-hof { from { opacity: 1; transform: scale(.6); } to { opacity: 0; transform: scale(1.5); } }

.m-fall--an .m-fall-teil::after, .m-fall--an .m-fall-meta::after {
  content: ""; position: absolute; left: calc(-1 * var(--papier-rand)); top: 12px; bottom: 12px; width: 3px; border-radius: 0 3px 3px 0;
  background: var(--orange); opacity: 0; transform: scaleY(.4); transition: opacity .4s, transform .5s var(--feder);
}
.m-fall--an .m-fall-meta { position: relative; }
.m-fall--an .ist-aktiv::after { opacity: 1; transform: none; }

.js .m-fall .m-fall-anzeige { display: flex; align-items: center; gap: 14px; }
.m-fall-tagzahl { display: flex; align-items: baseline; gap: 6px; white-space: nowrap; font-size: 13px; color: var(--muted); }
.m-fall-tagwort { font-weight: 600; color: var(--ink-2); }
.m-fall-tagwert { display: inline-block; min-width: 2ch; text-align: right; font: 700 15px/1 var(--mono); color: var(--ink); font-feature-settings: "tnum" 1; }
.m-fall-tagvon { font: 500 12px var(--mono); }
.m-fall-skala {
  position: relative; flex: 1; height: 8px; border-radius: 4px; overflow: hidden;
  background: repeating-linear-gradient(90deg, var(--line-2) 0 1px, transparent 1px calc(100% / 21)) 0 50% / 100% 8px no-repeat, rgba(0, 0, 0, .04);
}
.m-fall-skala-fuell { position: absolute; inset: 0; background: linear-gradient(90deg, var(--nass-2), var(--nass-3) 62%, var(--orange) 80%); transform-origin: 0 50%; transform: scaleX(0); border-radius: 4px; }

@media (min-width: 1024px) {
  .js .m-fall .m-fall-buehne { grid-template-rows: auto auto; }
  .js .m-fall .m-fall-dossier { grid-column: 1; grid-row: 2; margin-top: 0; padding-bottom: 6vh; }
  .js .m-fall .m-fall-dokspalte {
    grid-column: 2; grid-row: 1 / span 2; align-self: start;
    position: sticky; top: calc(var(--kopf) + 14px); height: calc(100vh - var(--kopf) - 28px);
    display: flex; flex-direction: column; gap: 4px;
  }
  .js .m-fall .m-fall-anzeige { position: relative; z-index: 3; width: 100%; max-width: 660px; margin-inline: auto; padding: 0 2px; }
  .js .m-fall .m-fall-rahmen {
    --m-fall-rechts: min(56px, calc(max(0px, (100vw - var(--max-breit) - 2 * var(--rand)) / 2) + var(--rand)));
    position: relative; flex: 1; min-height: 0; overflow: hidden;
    margin: 0 calc(-1 * var(--m-fall-rechts)) 0 -56px; padding: 0 var(--m-fall-rechts) 0 56px;
    -webkit-mask-image: linear-gradient(transparent, #000 22px, #000 calc(100% - 40px), transparent);
    mask-image: linear-gradient(transparent, #000 22px, #000 calc(100% - 40px), transparent);
  }
  .js .m-fall .m-fall-dok { position: relative; transform-origin: 50% 0; }
  .m-fall--an .m-fall-papier { cursor: zoom-in; }
  .js .m-fall .m-fall-zeit { --oben: calc(50vh - var(--kopf) - 14px); padding: var(--oben) 0 10vh; }
  .js .m-fall .m-fall-zeit::before { top: calc(var(--oben) + 12px); bottom: auto; height: var(--m-fall-schiene, 0px); }
  .js .m-fall .m-fall-zeit::after {
    content: ""; position: absolute; left: 6px; top: calc(var(--oben) + 12px); width: 2px; height: var(--m-fall-schiene, 0px); border-radius: 2px;
    background: var(--orange); transform-origin: 50% 0; transform: scaleY(var(--m-fall-fuell, 0));
  }
  .js .m-fall .m-fall-schritt { min-height: 54vh; padding-bottom: 0; }
  .js .m-fall .m-fall-schritt:last-child { min-height: 46vh; }
  .m-fall--an .m-fall-schritt > * { transition: opacity .45s var(--sanft); }
  .m-fall--an .m-fall-schritt:not(.ist-aktiv) > * { opacity: .3; }
  .m-fall--an .m-fall-schritt::before { transition: background-color .3s, box-shadow .3s, transform .45s cubic-bezier(.3, 1.6, .5, 1); box-shadow: inset 0 0 0 2px var(--line-2); }
  .m-fall--an .m-fall-schritt.ist-erreicht::before { background: var(--orange); box-shadow: inset 0 0 0 2px var(--orange), 0 0 0 4px var(--bg-2); }
  .m-fall--an .m-fall-schritt.ist-aktiv::before { transform: scale(1.25); }
  .js .m-fall .m-fall-akten { grid-template-columns: 1fr; gap: 12px; }
  .js .m-fall .m-fall-akte { grid-template-columns: 96px 1fr; padding: 22px 24px; }
  .js .m-fall .m-fall-akte-bild { grid-row: span 2; width: 96px; margin: 4px 0 0; }
  .js .m-fall .m-fall-akte h4 { font-size: 19px; }
}

@media (max-width: 1023.98px) {
  .js .m-fall .m-fall-buehne {
    --m-fall-gross: 100vh; --m-fall-klein: 100vh;
    --buehne: calc(var(--m-fall-klein) - var(--kopf));
    --m-fall-oben: 62px;
    --m-fall-unten: calc(86px + var(--sicher-unten));
    display: grid; grid-template-columns: minmax(0, 1fr);
    grid-template-rows: calc(var(--buehne) * 5.2) auto;
  }
  .js .m-fall .m-fall-szene { grid-row: 1; display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); height: calc(var(--buehne) * 5.2); min-width: 0; }
  .js .m-fall .m-fall-zeit, .js .m-fall .m-fall-dokspalte { grid-area: 1 / 1; min-width: 0; }
  .js .m-fall .m-fall-dossier { grid-row: 2; }
  .js .m-fall .m-fall-dokspalte {
    position: sticky; top: var(--kopf); align-self: start; z-index: 1;
    height: calc(var(--m-fall-gross) - var(--kopf));  
    margin: 0 calc(-1 * var(--rand)); overflow: hidden;
    display: flex; flex-direction: column; padding: calc(var(--m-fall-oben) + var(--m-fall-slot, 132px) + 14px) 0 var(--m-fall-unten);
  }
  .js .m-fall .m-fall-sonde { display: block; position: absolute; left: 0; top: 0; width: 1px; height: calc(var(--m-fall-gross) - var(--m-fall-klein)); visibility: hidden; pointer-events: none; }
  .js .m-fall .m-fall-rahmen {
    position: relative; flex: 1; min-height: 0; overflow: hidden; padding: 0 var(--rand);
    -webkit-mask-image: linear-gradient(transparent, #000 16px, #000 calc(100% - 30px), transparent);
    mask-image: linear-gradient(transparent, #000 16px, #000 calc(100% - 30px), transparent);
  }
  .js .m-fall .m-fall-dok { max-width: 560px; transform-origin: 50% 0; }
  .js .m-fall .m-fall-uebersicht {
    position: absolute; top: var(--m-fall-oben); left: 50%; width: 760px; max-width: none; margin: 0 0 0 -380px;
    transform-origin: 50% 0; opacity: 0; visibility: hidden; pointer-events: none;
  }
  .m-fall-uebersicht .m-fall-papier { box-shadow: 0 0 0 1px rgba(0, 0, 0, .05), 0 30px 70px -10px rgba(0, 0, 0, .3); }
  .js .m-fall .m-fall-anzeige {
    position: absolute; z-index: 3; top: 12px; left: 50%; transform: translateX(-50%); width: min(calc(100% - 2 * var(--rand)), 560px);
    height: 38px; padding: 0 14px; border-radius: 980px; background: rgba(255, 255, 255, .78);
    box-shadow: 0 1px 2px rgba(0, 0, 0, .04), inset 0 0 0 1px rgba(0, 0, 0, .05);
  }
  .js .m-fall .m-fall-skala { height: 6px; }
  .js .m-fall .m-fall-zeit {
    position: sticky; top: calc(var(--kopf) + var(--m-fall-oben)); align-self: start; z-index: 2; pointer-events: none;
    display: grid; width: 100%; max-width: 560px; margin: var(--m-fall-oben) auto 0; padding: 0 2px;
  }
  .js .m-fall .m-fall-zeit::before { content: none; }
  .js .m-fall .m-fall-schritt { grid-area: 1 / 1; padding: 0; }
  .js .m-fall:not(.m-fall--an) .m-fall-schritt + .m-fall-schritt { opacity: 0; }
  .js .m-fall .m-fall-schritt::before { content: none; }
  .js .m-fall .m-fall-tag { font-size: 12px; }
  .js .m-fall .m-fall-schritt h3 { font-size: 21px; line-height: 1.2; margin: 5px 0 5px; }
  .js .m-fall .m-fall-schritt > p:last-child { font-size: 15.5px; line-height: 1.45; max-width: none; }
}
@media (min-width: 980px) and (max-width: 1023.98px) { .js .m-fall .m-fall-buehne { --m-fall-unten: 18px; } }
@supports (height: 100lvh) { @media (max-width: 1023.98px) { .js .m-fall .m-fall-buehne { --m-fall-gross: 100lvh; --m-fall-klein: 100svh; } } }
.m-fall-sonde { display: none; }

@media (prefers-reduced-motion: reduce) {
  .m-fall--an .m-fall-w:not(.ist-da), .m-fall--an .m-fall-tabelle tr:not(.ist-da) td { transform: none; }
  .m-fall--an .m-fall-foto:not(.ist-da) picture { transform: none; }
  .m-fall--an .m-fall-wb-ziel, .m-fall--an .m-fall-wb:not(.ist-da) .m-fall-wb-ziel { transform: translate(157px, 126px); transition: opacity .4s; }
  .m-fall--an .m-fall-wb:not(.ist-da) .m-fall-wb-ziel { opacity: 0; }
  .m-fall--an .m-fall-haken, .m-fall--an .m-fall-liste li:not(.ist-da) .m-fall-haken { transform: none; }
  .m-fall--an .m-fall-haken path { transition: opacity .3s; }
  .m-fall--an .m-fall-liste li:not(.ist-da) .m-fall-haken path { stroke-dashoffset: 0; opacity: 0; }
  .m-fall--an .m-fall-k-punkte circle:not(.ist-da) { transform: none; }
  .m-fall--an .m-fall-stempel, .m-fall--an .m-fall-stempel.ist-gestempelt { transform: rotate(-8deg); transition: opacity .4s var(--sanft); }
  .m-fall--an .m-fall-stempel.ist-gestempelt::after { animation: none; }
  .m-fall--an .m-fall-teil::after, .m-fall--an .m-fall-meta::after { transform: none; }
  .m-fall--an .m-fall-dok { transition: opacity .18s linear; }
}
@media (max-width: 319.98px) {
  .m-fall-akten, .js .m-fall .m-fall-akten { grid-template-columns: minmax(0, 1fr); }
  .m-fall-akte, .js .m-fall .m-fall-akte { grid-template-columns: 64px minmax(0, 1fr); column-gap: 12px; padding-inline: 16px; }
  .m-fall-akte-bild, .js .m-fall .m-fall-akte-bild { width: 64px; }
  .m-fall-akte h4, .m-fall-akte p { overflow-wrap: anywhere; -webkit-hyphens: auto; hyphens: auto; }
}
