/* /features/anamnese/ – Kopf: ein iPhone mit dem Bogen. Abschnitte: Klemmbrett gegen fertigen Bogen, PDF gleitet in die Akte, Kartenband der Bögen. */
.sx-anamnese, .an-sec { --an-p: #1d6b74; --an-ink: #131722; }
.an-ic { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }

/* ---------- Kopf: das Handy steht allein, ohne Kasten */
.sx-stage.sx-anamnese { margin-top: 36px; padding: 0; border: 0; border-radius: 0; background: none; overflow: visible; }
.an-hero { display: grid; place-items: center; padding: 20px 0 4px; isolation: isolate; }
.an-hero::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 50%; width: min(780px, 100%); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(closest-side, rgba(29,107,116,.17), rgba(79,70,229,.07) 55%, transparent); }
.an-hero .kp { width: 300px; }
/* skaliert statt zoom: mit zoom sitzt der Fingerpunkt (offset-path) neben der Linie */
@media (min-width: 961px) { .an-hero .kp { transform: scale(1.14); transform-origin: 50% 0; margin-bottom: 86px; } .an-hero { padding: 28px 0 8px; } }

/* Bogen im Browser des Handys */
.an-form { flex: 1; min-height: 0; display: flex; flex-direction: column; background: #fff; text-align: left; color: var(--an-ink); }
.an-top { position: relative; display: flex; align-items: center; justify-content: center; height: 42px; border-bottom: 1px solid #ececec; flex: 0 0 auto; }
.an-top b { font-size: 14px; font-weight: 700; color: var(--an-p); }
.an-top span { position: absolute; right: 12px; padding: 4px 8px; border-radius: 8px; box-shadow: 0 0 0 1px #e5e5e5; font-size: 11px; font-weight: 500; color: #555; }
.an-scrs { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); }
.an-scr { grid-area: 1 / 1; min-width: 0; min-height: 0; display: flex; flex-direction: column; background: #fafafa; }
.k-flow .an-scr[data-at] { transform: translateX(14px); pointer-events: none; }
.k-flow .an-scr[data-at].on { transform: none; }
.an-sub { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 8px; height: 36px; padding: 0 14px; background: #fff; border-bottom: 1px solid #f0f0f0; flex: 0 0 auto; }
.an-sub b { font-size: 12.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.an-sub span { font-size: 11px; color: #aab1bf; white-space: nowrap; }
.an-sub i { position: absolute; left: 0; bottom: -1px; height: 2.5px; border-radius: 0 2px 2px 0; background: var(--an-p); }
.an-body { flex: 1; min-height: 0; padding: 14px 14px 0; overflow: hidden; }
.k-flow .an-roll[data-at] { opacity: 1; transition: transform .7s cubic-bezier(.3,.7,.2,1); }
.k-flow .an-roll[data-at].on { transform: translateY(-96px); }
.an-f { margin-bottom: 12px; }
.an-f label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 600; line-height: 1.3; hyphens: manual; }
.an-f label em { font-style: normal; color: #f43f5e; }
.an-yn { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.an-yn-b { position: relative; display: grid; place-items: center; height: 38px; border-radius: 13px; background: #fff; box-shadow: 0 0 0 1px #d6d9df; font-size: 13.5px; font-weight: 600; color: #3d4659; }
.an-yn-b > i:not(.k-tap) { position: absolute; inset: 0; display: grid; place-items: center; border-radius: inherit; background: var(--an-p); color: #fff; font-style: normal; }
.an-in { display: flex; align-items: center; height: 38px; padding: 0 13px; border-radius: 13px; background: #f1f3f6; font-size: 13.5px; }
.k-flow .an-nach[data-at] { display: none; }
.k-flow .an-nach[data-at].on { display: block; animation: kwIn .3s var(--ease) both; }
.k-flow .an-type[data-at] { opacity: 1; display: inline-block; clip-path: inset(0 100% 0 0); transition: none; }
.k-flow .an-type[data-at].on { clip-path: inset(0); transition: clip-path .7s steps(9); }
.an-foot { position: relative; z-index: 1; padding: 8px 14px 22px; background: linear-gradient(rgba(250,250,250,0), #fafafa 30%); flex: 0 0 auto; }
.an-go { position: relative; display: flex; align-items: center; justify-content: center; gap: 6px; height: 44px; border-radius: 13px; background: var(--an-p); color: #fff; font-size: 14px; font-weight: 600; box-shadow: 0 6px 18px -8px rgba(20,23,34,.3); }
.an-go .an-ic { width: 15px; height: 15px; }
.an-done { align-items: center; justify-content: center; gap: 6px; padding: 0 24px 50px; text-align: center; }
.an-done-ok { display: grid; place-items: center; width: 76px; height: 76px; margin-bottom: 10px; border-radius: 50%; background: rgba(29,107,116,.09); }
.an-done-ok .k-ok { width: 40px; height: 40px; stroke: var(--an-p); }
.k-flow .an-done.on .an-done-ok { animation: anPop .5s cubic-bezier(.3,1.5,.5,1) both; }
@keyframes anPop { from { transform: scale(.5); } }
.an-done b { font-size: 20px; font-weight: 700; }
.an-done > span:last-child { font-size: 13px; line-height: 1.45; color: #687184; }

/* Unterschrift: der Pfad zeichnet sich, sobald das SVG die Klasse .on bekommt; der Punkt ist die Fingerkuppe */
.an-pad { position: relative; display: grid; place-items: center; width: 100%; height: 148px; border-radius: 13px; background: #fff; box-shadow: 0 0 0 1px #d6d9df; }
.an-sig { width: 92%; max-width: 250px; height: auto; overflow: visible; fill: none; stroke: #14213d; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.an-sig path { stroke-dasharray: 1 1.5; stroke-dashoffset: 0; }
.an-sig .u { stroke-width: 1.5; }
.k-flow .an-sig[data-at] { opacity: 1; }
.k-flow .an-sig[data-at]:not(.on) path { stroke-dashoffset: 1.02; }
.k-flow .an-sig[data-at].on path { transition: stroke-dashoffset var(--t, 1.6s) linear var(--w, 0s); }
.an-fg { display: none; }
@supports (offset-path: path("M0 0L1 1")) {
  .k-flow .an-fg { display: block; fill: rgba(79,70,229,.3); stroke: none; offset-rotate: 0deg; offset-distance: 0%; opacity: 0; }
  .k-flow .an-sig.on .an-fg { offset-distance: 100%; transition: offset-distance 1.7s linear; animation: anFg 1.7s linear both; }
}
@keyframes anFg { 0%, 100% { opacity: 0; } 6%, 92% { opacity: 1; } }
.an-hint { position: absolute; inset: auto 0 12px; text-align: center; font-size: 11.5px; color: #aab1bf; transition: opacity .3s; }
.an-sig.on ~ .an-hint { opacity: 0; }

/* ---------- Abschnitte */
.an-sec .sec-head p { margin-top: 16px; }
.an-sec .sec-head h2 { text-wrap: balance; }
.an-vn { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 22px; margin-top: 48px; }
.an-szene { position: relative; display: grid; place-items: center; align-content: center; gap: 18px; min-height: 480px; padding: 36px 24px; border-radius: 28px; border: 1px solid var(--hair); overflow: hidden; }
.an-alt { background: linear-gradient(180deg, #EFECE4, #E7E2D6); }
.an-neu { background: linear-gradient(180deg, #fff, #F3F7F7); }
.an-vn-p { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; border: 1px solid var(--hair); color: var(--ink-2); box-shadow: 0 8px 18px -12px rgba(20,22,27,.4); }
.an-vn-p .an-ic { width: 18px; height: 18px; }

/* Vorher: Klemmbrett, Papier, Kugelschreiber, Wanduhr */
.an-uhr { position: absolute; right: 26px; top: 24px; width: 62px; height: 62px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px #D9D3C5, 0 10px 18px -10px rgba(20,22,27,.4); background-image: radial-gradient(circle, #4a4d55 0 2.5px, transparent 3px), repeating-conic-gradient(from -1.5deg, #9a9da6 0 3deg, transparent 0 90deg); -webkit-mask: none; }
.an-uhr::after { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: radial-gradient(circle, #4a4d55 0 3px, #fff 3.5px); }
.an-uhr i { position: absolute; z-index: 1; left: 50%; bottom: 50%; width: 2.5px; margin-left: -1.25px; border-radius: 2px; background: #33363d; transform-origin: 50% 100%; }
.an-uhr .h { height: 15px; transform: rotate(266deg); }
.an-uhr .m { height: 22px; width: 2px; margin-left: -1px; transform: rotate(288deg); }
.k-flow .an-uhr .m[data-at] { opacity: 1; transition: none; }
.k-flow .an-uhr .m[data-at].on { transform: rotate(432deg); transition: transform 8.5s linear; }
.an-brett { position: relative; width: 264px; padding: 30px 14px 16px; border-radius: 12px; background: linear-gradient(160deg, #C49A6C, #A97F52); box-shadow: 0 26px 40px -24px rgba(60,40,20,.55), inset 0 0 0 1px rgba(255,255,255,.14); transform: rotate(-2.5deg); }
.an-klemme { position: absolute; z-index: 2; left: 50%; top: -9px; width: 96px; height: 34px; margin-left: -48px; border-radius: 8px 8px 5px 5px; background: linear-gradient(#D5D8DE, #9EA3AD); box-shadow: 0 3px 5px rgba(20,22,27,.3), inset 0 1px 0 rgba(255,255,255,.7); }
.an-klemme::after { content: ""; position: absolute; left: 50%; top: 7px; width: 26px; height: 9px; margin-left: -13px; border-radius: 5px; background: #7d828c; box-shadow: inset 0 1px 2px rgba(0,0,0,.4); }
.an-papier { position: relative; display: grid; gap: 11px; padding: 22px 16px 18px; border-radius: 3px; background: #FFFEFA; box-shadow: 0 1px 2px rgba(20,22,27,.2); text-align: left; }
.an-papier > b { margin-bottom: 2px; font-family: var(--serif); font-size: 15px; font-weight: 600; color: #2b2d33; }
.an-pz { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 6px 10px; min-height: 18px; font-size: 10.5px; }
.an-pz .k-grau { background: #dcdcd6; height: 5px; }
.an-li { position: relative; flex: 1; min-width: 60px; height: 18px; border-bottom: 1px solid #b9b9b2; }
.an-pz .an-kbs + .an-li { flex-basis: 100%; }
.an-kr { position: absolute; left: 2px; bottom: -4px; height: 20px; overflow: visible; max-width: 100%; fill: none; stroke: #1f3a93; stroke-width: 1.1; stroke-linecap: round; stroke-linejoin: round; }
.an-kr path, .an-kx path { stroke-dasharray: 1 1.5; stroke-dashoffset: 0; }
.k-flow .an-kr[data-at], .k-flow .an-kx[data-at] { opacity: 1; }
.k-flow .an-kr[data-at]:not(.on) path, .k-flow .an-kx[data-at]:not(.on) path { stroke-dashoffset: 1.02; }
.k-flow .an-kr[data-at].on path { transition: stroke-dashoffset var(--t, 1s) linear var(--w, 0s); }
.k-flow .an-kx[data-at].on path { transition: stroke-dashoffset .2s linear var(--w, 0s); }
.an-kbs { display: inline-flex; gap: 12px; margin-left: auto; }
.an-kb { position: relative; width: 12px; height: 12px; border: 1px solid #8f8f88; border-radius: 1.5px; }
.an-kx { position: absolute; inset: -2px; width: 14px; height: 14px; fill: none; stroke: #1f3a93; stroke-width: 1.4; stroke-linecap: round; }
.an-pu { display: block; width: 58%; height: 22px; margin: 8px 0 0 auto; border-bottom: 1px solid #8f8f88; }
.an-stift { position: absolute; z-index: 3; right: -30px; bottom: 44px; width: 150px; height: 9px; border-radius: 5px 2px 2px 5px; background: linear-gradient(#3b56b8, #24388a); box-shadow: 0 8px 10px -4px rgba(20,22,27,.45); transform: rotate(-58deg); }
.an-stift::before { content: ""; position: absolute; left: -13px; top: 0; border: 4.5px solid transparent; border-right: 14px solid #c7cad1; border-left: 0; }
.an-stift::after { content: ""; position: absolute; right: 14px; top: -3px; width: 34px; height: 3px; border-radius: 2px; background: #c7cad1; }

/* Nachher: der fertige Bogen und der Kalender */
.an-blatt { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; width: 264px; padding: 20px 18px 16px; border-radius: 10px; background: #fff; box-shadow: 0 0 0 1px #e6e8ee, 0 26px 44px -26px rgba(20,22,27,.4); text-align: left; color: var(--an-ink); }
.an-blatt-h { display: grid; gap: 7px; padding-bottom: 12px; margin-bottom: 2px; border-bottom: 2px solid var(--an-p); }
.an-blatt-h b { font-size: 14px; font-weight: 700; color: var(--an-p); }
.an-blatt-h .k-grau { width: fit-content; }
.an-bz { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 20px; font-size: 12.5px; }
.an-bz .k-grau:first-child { height: 5px; flex: 0 1 auto; min-width: 0; }
.an-bz .k-grau + .k-grau { flex: 0 0 auto; }
.an-bz b { font-weight: 600; white-space: nowrap; }
.an-bz > :nth-child(2) { margin-left: auto; }
.an-ja { padding: 1px 7px; border-radius: 999px; background: #fdecea; color: #b3271d; font-size: 10.5px; font-weight: 700; font-style: normal; }
.k-flow .an-bz[data-at] { transform: translateX(-6px); }
.k-flow .an-bz[data-at].on { transform: none; }
.an-blatt-u { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; margin-top: 4px; padding-top: 10px; border-top: 1px solid #eceef2; }
.an-blatt-u .an-sig { width: 116px; margin: 0; }
.k-flow .an-blatt-u span[data-at] { transform: scale(.7); transform-origin: 100% 100%; }
.k-flow .an-blatt-u span[data-at].on { transform: none; transition: opacity .25s, transform .4s cubic-bezier(.3,1.6,.5,1); }
.an-kal { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; width: 264px; }
.an-kal > span { position: relative; display: grid; justify-items: center; gap: 1px; padding: 9px 0 10px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px #e6e8ee; color: var(--an-ink); }
.an-kal small { font-size: 11px; color: #687184; }
.an-kal b { font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.an-kal .heute b { color: #4f46e5; }
.an-kal .heute::after { content: ""; width: 5px; height: 5px; margin-top: 8px; border-radius: 50%; background: #4f46e5; }
.an-kal em { margin-top: 4px; padding: 1px 8px; border-radius: 999px; background: #eef0fb; color: #4f46e5; font-size: 11px; font-weight: 600; font-style: normal; }
.an-kal-da { display: grid; place-items: center; width: 24px; height: 20px; margin-top: 3px; color: #1a9b59; }
.an-kal-da .an-ic { width: 19px; height: 19px; stroke-width: 1.8; }
.k-flow .an-kal-da[data-at] { transform: translateY(-14px) scale(.6); }
.k-flow .an-kal-da[data-at].on { transform: none; transition: opacity .25s, transform .45s cubic-bezier(.3,1.5,.5,1); }

/* ---------- Große Grafik: Eingang mit Risiken, das PDF gleitet in die Akte */
.an-gross { margin-top: 48px; }
.an-gross .kwin { width: 100%; max-width: none; }
.an-det { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); grid-auto-rows: min-content; gap: 12px 16px; text-align: left; color: var(--an-ink); }
.an-det > * { grid-column: 1; }
.an-det > .an-akte { grid-column: 2; grid-row: 1 / span 4; }
.an-card { padding: 16px 18px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px #e6e8ee; }
.an-card p { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0; }
.an-kopf b { display: block; font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.an-kopf > span { display: block; margin: 4px 0 12px; font-size: 13px; }
.an-det .k-badge { padding: 2px 8px; font-size: 11.5px; }
.an-card-h { display: flex; align-items: center; gap: 7px; margin-bottom: 10px; font-size: 11.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #525b67; }
.an-card-h .an-ic { width: 15px; height: 15px; }
.an-med { padding: 4px 10px; border-radius: 8px; background: #f4f6f9; box-shadow: 0 0 0 1px #e6eaf0; font-size: 13px; }
.an-zu { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: #687184; }
.an-zu small { color: #c3c8d2; font-size: 13px; }
.an-zu .an-ic { width: 15px; height: 15px; }
.an-zu .an-ic:last-child { margin-left: auto; }
.an-risk { padding: 16px 18px; border-radius: 14px; background: #fdf5f3; box-shadow: 0 0 0 1px #f1c8c2; }
.an-risk-h { display: flex; align-items: center; gap: 7px; margin-bottom: 6px; font-size: 11.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #c0362c; }
.an-risk-h .an-ic { width: 15px; height: 15px; }
.an-risk-r { display: flex; align-items: baseline; gap: 14px; margin: 0 -10px; padding: 9px 10px; border-radius: 9px; font-size: 16px; }
.an-risk-r b { display: inline-flex; align-items: center; gap: 9px; font-weight: 700; color: #b3271d; }
.an-risk-r b i { width: 7px; height: 7px; border-radius: 50%; background: #dc2626; }
.an-risk-r span { color: #7f2b23; }
.k-flow .an-risk-r[data-at] { opacity: .25; transition: opacity .4s; }
.k-flow .an-risk-r[data-at].on { opacity: 1; animation: anRot 1.3s ease-out both; }
.k-flow .an-risk-r[data-at].on b i { animation: anPunkt 1.3s ease-out both; }
@keyframes anRot { 0% { background: rgba(220,38,38,.2); } 100% { background: rgba(220,38,38,0); } }
@keyframes anPunkt { 0% { box-shadow: 0 0 0 0 rgba(220,38,38,.5); } 100% { box-shadow: 0 0 0 9px rgba(220,38,38,0); } }

/* Akte: Rückwand mit Reiter, das Blatt gleitet von oben hinein, vorn die Lasche */
.an-akte { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; min-height: 330px; padding: 34px 0 0; }
.an-akte-r { position: absolute; inset: 58px 0 0; border-radius: 4px 16px 16px 16px; background: #dfe2f6; box-shadow: inset 0 0 0 1px #cdd1ee; }
.an-akte-r::before { content: ""; position: absolute; left: 0; bottom: 100%; width: 38%; height: 20px; margin-bottom: -1px; border-radius: 10px 14px 0 0; background: #dfe2f6; box-shadow: inset 0 1px 0 #cdd1ee, inset 1px 0 0 #cdd1ee, inset -1px 0 0 #cdd1ee; }
.an-pdf { position: relative; z-index: 1; display: grid; align-content: start; gap: 9px; width: 62%; max-width: 230px; aspect-ratio: 1 / 1.3; margin-bottom: -84px; padding: 18px 16px; border-radius: 5px; background: #fff; box-shadow: 0 0 0 1px #e1e4ec, 0 14px 26px -16px rgba(20,22,27,.45); }
.k-flow .an-pdf[data-at] { transform: translateY(-120px) rotate(-5deg); transition: opacity .3s, transform .9s cubic-bezier(.2,.8,.2,1); }
.k-flow .an-pdf[data-at].on { transform: none; }
.an-pdf > b { width: 46%; height: 8px; margin-bottom: 4px; border-radius: 3px; background: var(--an-p); }
.an-pdf > i { height: 5px; border-radius: 3px; background: #e6e8ee; }
.an-pdf > i.rot { background: #f0a39c; }
.an-pdf > em { position: absolute; right: 10px; top: 10px; padding: 2px 6px; border-radius: 5px; background: #fdecea; color: #c0362c; font-size: 10px; font-weight: 700; font-style: normal; }
.an-pdf .an-sig { width: 54%; margin-top: 2px; }
.an-akte-v { position: relative; z-index: 2; display: grid; justify-items: start; gap: 8px; width: 100%; min-height: 112px; padding: 18px 18px 18px; border-radius: 14px 14px 16px 16px; background: linear-gradient(180deg, #f3f4fd, #e9ebfa); box-shadow: inset 0 0 0 1px #cdd1ee, 0 -8px 16px -12px rgba(49,46,129,.35); }
.an-akte-v b { font-size: 14px; font-weight: 600; }
.an-akte-v .k-swap > .k-sw { white-space: nowrap; }

/* ---------- Kartenband: die Bögen */
.an-band { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; max-width: var(--max); margin: 48px auto 0; padding: 0 32px; list-style: none; }
.an-k { display: grid; align-content: start; gap: 4px; }
.an-k > b { margin-top: 14px; font-size: 15.5px; font-weight: 600; line-height: 1.3; }
.an-k > small { font-size: 13.5px; color: var(--ink-3); }
.an-doc { --t: var(--an-p); position: relative; display: flex; flex-direction: column; gap: 11px; aspect-ratio: 1 / 1.32; padding: 16px 14px 12px; border-radius: 12px; background: #fff; box-shadow: 0 0 0 1px var(--hair), 0 18px 30px -22px rgba(20,22,27,.35); overflow: hidden; transition: transform .25s var(--ease); }
.an-k:hover .an-doc { transform: translateY(-4px); }
.an-doc.kind { --t: #c2620a; }
.an-doc.physio { --t: #4f46e5; }
.an-doc-h { flex: 0 0 auto; width: 52%; height: 8px; margin-bottom: 4px; border-radius: 4px; background: var(--t); }
.an-z { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.an-z > i { height: 5px; border-radius: 3px; background: #e6e8ee; max-width: 62%; }
.an-jn { display: inline-flex; gap: 3px; text-decoration: none; }
.an-jn i { width: 15px; height: 9px; border-radius: 3px; box-shadow: inset 0 0 0 1px #d0d4dc; }
.an-jn i.an { background: var(--t); box-shadow: none; }
.an-wahl { display: grid; gap: 4px; }
.an-wahl i { height: 13px; border-radius: 5px; box-shadow: inset 0 0 0 1px #d6d9df; }
.an-wahl i.an { box-shadow: inset 0 0 0 1.5px var(--t); background: color-mix(in srgb, var(--t) 9%, #fff); }
.an-skala { display: grid; grid-template-columns: repeat(11, 1fr); gap: 2px; align-items: end; height: 22px; }
.an-skala i { height: calc(7px + var(--n) * 1.3px); border-radius: 2px; background: hsl(calc(130 - var(--n) * 13) 62% 62%); opacity: .5; }
.an-skala i.an { opacity: 1; outline: 1.5px solid var(--an-ink); outline-offset: 1px; }
.an-recht { display: grid; gap: 4px; padding: 8px; border-radius: 6px; background: #f4f5f8; }
.an-recht i { height: 3.5px; border-radius: 2px; background: #d9dce3; }
.an-doc .an-sig { width: 58%; margin: auto 0 0 auto; stroke-width: 2.4; }
.an-feld { height: 30px; border-radius: 6px; background: #f1f3f6; }
.an-doc.neu { align-items: center; justify-content: center; gap: 14px; background: none; box-shadow: none; border: 1.5px dashed #c9c5b8; }
.an-doc.neu .an-doc-h { display: none; }
.an-neu-p { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px var(--hair); color: var(--accent); }
.an-neu-p .an-ic { width: 18px; height: 18px; }
.an-typen { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; }
.an-typen em { padding: 2px 8px; border-radius: 999px; background: #eef0fb; color: #4f46e5; font-size: 11px; font-weight: 600; font-style: normal; white-space: nowrap; }

@media (min-width: 861px) { .an-brett, .an-blatt, .an-kal { zoom: 1.12; } }
@media (max-width: 1100px) {
  .an-band { display: flex; gap: 14px; max-width: none; padding: 6px 32px 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 32px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .an-band::-webkit-scrollbar { display: none; }
  .an-k { flex: 0 0 196px; scroll-snap-align: start; }
}
@media (max-width: 860px) {
  .an-vn { grid-template-columns: minmax(0, 1fr); gap: 0; margin-top: 28px; }
  .an-vn-p { justify-self: center; margin: -14px 0; position: relative; z-index: 2; transform: rotate(90deg); }
  .an-szene { min-height: 0; padding: 30px 16px; border-radius: 22px; }
  .an-alt { padding-top: 62px; padding-bottom: 38px; }
  .an-uhr { right: 16px; top: 14px; width: 46px; height: 46px; box-shadow: 0 0 0 3px #D9D3C5, 0 10px 18px -10px rgba(20,22,27,.4); }
  .an-uhr .h { height: 10px; } .an-uhr .m { height: 15px; }
  .an-uhr::after { inset: 5px; }
  .an-gross { margin-top: 28px; }
  .an-det { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .an-det > .an-akte { grid-column: 1; grid-row: auto; min-height: 0; padding-top: 26px; }
  .an-det > .an-zu, .an-det > .an-meds { display: none; }
  .an-kopf b { font-size: 19px; }
  .an-card, .an-risk { padding: 14px; }
  .an-risk-r { font-size: 15px; }
  .an-pdf { width: 150px; margin-bottom: -70px; padding: 14px 12px; gap: 7px; }
  .an-akte-r { inset: 46px 0 0; }
  .an-band { margin-top: 26px; }
  .an-k { flex-basis: 178px; }
}
@media (max-width: 720px) { .an-band { padding: 6px 20px 16px; scroll-padding: 0 20px; } }
@media (prefers-reduced-motion: reduce) {
  .k-flow .an-sig[data-at].on path, .k-flow .an-kr[data-at].on path, .k-flow .an-kx[data-at].on path, .k-flow .an-uhr .m[data-at].on, .k-flow .an-roll[data-at] { transition: none; }
  .k-flow .an-fg { display: none; }
  .k-flow .an-risk-r[data-at].on, .k-flow .an-risk-r[data-at].on b i, .k-flow .an-done.on .an-done-ok { animation: none; }
}
