/* /pvs-anbindung/dampsoft-ds-win/ – Terminbuch (DS-Win-Termin) und Patientenakte (DS-Win-Plus) im Stil der Software, Umschalter, Listen, Einrichtung. Präfix dw- und dp-. */

/* ---------- Kopf */
.dw-paar { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 0 auto 26px; }
.dw-paar img { display: block; height: 28px; width: auto; }
.dw-paar img:first-child { height: 44px; margin: -8px -8px; }
.dw-paar i { position: relative; width: 12px; height: 12px; opacity: .45; }
.dw-paar i::before, .dw-paar i::after { content: ""; position: absolute; left: 50%; top: 0; width: 1.5px; height: 100%; margin-left: -.75px; background: var(--ink); transform: rotate(45deg); }
.dw-paar i::after { transform: rotate(-45deg); }
.dw-nb { white-space: nowrap; }
.sx-pvs_dswin { padding: 56px 40px 0; }

/* ---------- Fensterrahmen: Windows-Programm, Farben gemessen (marketing/pvs-referenzen/pvs_dswin.md) */
.dw-szene { position: relative; max-width: 760px; margin: 0 auto; }
.dw-szene.dw-gross { max-width: 900px; }
.dw { --rh: 15px; --zb: 42px; --rand: #7f9bb8; position: relative; background: #d5e5f4; overflow: hidden; text-align: left;
  font-family: "Segoe UI", Tahoma, Verdana, Arial, sans-serif; font-size: 11px; line-height: 1.25; color: #000;
  box-shadow: 0 0 0 1px #0163b3, 0 34px 70px -30px rgba(19,23,34,.5), 0 12px 24px -14px rgba(19,23,34,.25); }
.dw-gross .dw { --rh: 16px; }
.dw i, .dw em { font-style: normal; }
.dw u { text-decoration: none; }
.dw-titel { display: flex; align-items: center; gap: 6px; height: 24px; padding: 0 0 0 6px; background: #0179d9; color: #fff; font-size: 11.5px; white-space: nowrap; }
.dw-titel > span:first-of-type { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.dw-ic { flex: 0 0 auto; width: 14px; height: 14px; background: linear-gradient(135deg, transparent 50%, #fff 50%) , repeating-linear-gradient(135deg, #f9b000 0 3px, #fff 3px 5px); box-shadow: 0 0 0 1px rgba(255,255,255,.7); }
.dw-fb { display: flex; margin-left: auto; align-self: stretch; color: #fff; }
.dw-fb i { position: relative; width: 30px; }
.dw-fb i::before { content: ""; position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; box-sizing: border-box; }
.dw-fb i:nth-child(1)::before { height: 1px; margin-top: 0; background: currentColor; }
.dw-fb i:nth-child(2)::before { border: 1px solid currentColor; }
.dw-fb i:nth-child(3)::before { background: linear-gradient(45deg, transparent 45%, currentColor 45% 55%, transparent 55%), linear-gradient(-45deg, transparent 45%, currentColor 45% 55%, transparent 55%); }
.dw-btn { flex: 0 0 auto; height: 19px; padding: 0 10px; line-height: 17px; border: 1px solid #aac2dc; background: linear-gradient(#e2edf9, #d0e0f0); font-size: 11px; color: #000; white-space: nowrap; }
.dw-btn.ok { background: linear-gradient(#fcd774, #fac84f); border-color: #d9a520; }

/* ---------- DS-Win-Termin: Menüzeile, Palette „Datum einstellen“, Klemmbrett, Monatskalender, Tagesansicht */
.dw-menu { display: flex; flex-wrap: wrap; column-gap: 12px; height: 19px; padding: 0 7px; line-height: 19px; background: #a5c2db; overflow: hidden; white-space: nowrap; }
.dt-kopf { display: grid; grid-template-columns: auto auto minmax(0, 250px) minmax(0, 1fr) auto; grid-template-areas: "pal s9 kl . mon" "pal s9 band band mon"; grid-template-rows: auto 1fr; gap: 4px 8px; padding: 4px 6px 2px; background: #afc3d3; }
.dt-ft { display: block; height: 14px; padding: 0 5px; background: #0179d9; color: #fff; font-size: 10px; font-weight: 400; line-height: 14px; white-space: nowrap; }
.dt-pal { grid-area: pal; align-self: start; border: 1px solid #0163b3; background: #d5e5f4; box-shadow: 1px 2px 3px rgba(0,0,0,.25); }
.dt-pi { display: grid; gap: 2px; padding: 3px 5px 4px; }
.dt-heute { display: flex; align-items: center; gap: 5px; width: fit-content; height: 16px; padding: 0 12px 0 4px; border-radius: 999px; background: linear-gradient(#f0473d, #cf1d14); box-shadow: 0 0 0 1px #8f120c; color: #fff; font-size: 10.5px; font-weight: 700; }
.dt-heute i { width: 9px; height: 9px; box-sizing: border-box; border: 2px solid #fff; border-radius: 50%; }
.dt-pal p { display: flex; align-items: center; gap: 6px; margin: 0; font-size: 10.5px; }
.dt-pf { display: flex; gap: 1px; }
.dt-pf i { display: grid; place-items: center; width: 20px; height: 14px; border: 1px solid #aac2dc; background: linear-gradient(#e2edf9, #d0e0f0); font-size: 9px; font-weight: 700; letter-spacing: -.5px; line-height: 1; color: #1b3550; }
.dt-s9 { grid-area: s9; align-self: start; display: grid; grid-template-columns: repeat(3, 19px); gap: 2px; padding: 3px; border: 1px solid var(--rand); background: #d5e5f4; }
.dt-s9 i { display: grid; place-items: center; height: 19px; border: 1px solid #aac2dc; background: #e2edf9; font-size: 11px; font-weight: 700; color: #d0201a; }
.dt-s9 .s0 { box-shadow: inset 0 0 0 4px #e2edf9, inset 0 0 0 9px #8a5a2b; }
.dt-s9 .s1 { box-shadow: inset 0 0 0 5px #e2edf9, inset 0 0 0 9px #e3b93a; }
.dt-s9 .s2 { box-shadow: inset 0 0 0 5px #e2edf9, inset 0 0 0 9px #4d5b6b; border-radius: 0; }
.dt-s9 .s4 { box-shadow: inset 0 0 0 4px #e2edf9, inset 0 0 0 9px #5e9a55; }
.dt-s9 .s5 { box-shadow: inset 0 0 0 5px #e2edf9, inset 0 0 0 9px #6f9fd6; }
.dt-s9 .s6, .dt-s9 .s7, .dt-s9 .s8 { box-shadow: inset 0 0 0 5px #e2edf9, inset 0 0 0 9px #9aa6b5; }
.dt-kl { grid-area: kl; min-width: 0; border: 1px solid #0163b3; background: #fff; box-shadow: 1px 2px 3px rgba(0,0,0,.25); }
.dt-kli p { display: flex; align-items: center; height: 14px; margin: 0; padding: 0 5px; white-space: nowrap; overflow: hidden; }
.dt-kli p.on { background: #fac84f; }
.dt-kli .k-grau { height: 5px; border-radius: 0; background: #c8cdd4; }
.dt-band { grid-area: band; align-self: end; margin: 0; white-space: nowrap; }
.dt-mon { grid-area: mon; width: 172px; border: 1px solid var(--rand); background: #fff; font-size: 9.5px; line-height: 12px; text-align: center; }
.dt-mk { display: flex; align-items: center; justify-content: space-between; height: 14px; padding: 0 5px; background: #d5e5f4; }
.dt-mk i { border: 4px solid transparent; border-left: 0; border-right: 5px solid #1b3550; }
.dt-mk i.r { border: 4px solid transparent; border-right: 0; border-left: 5px solid #1b3550; }
.dt-mg { display: grid; grid-template-columns: 20px repeat(7, 1fr); padding: 0 2px; }
.dt-mg span { height: 12px; }
.dt-mg .kw { background: #e3e3e3; color: #5c6b7c; margin-left: -2px; }
.dt-mg .wt { border-bottom: 1px solid #c8c8c8; }
.dt-mg .we { color: #d0201a; }
.dt-mg .fr { color: #a9a9a9; }
.dt-mg .heute { border-radius: 50%; box-shadow: inset 0 0 0 1px #d0201a; font-weight: 700; }
.dt-mg .on { background: #fac84f; }
.dt-mh { display: block; border-top: 1px solid #c8c8c8; color: #1b3550; }
.dt-dat { display: flex; align-items: baseline; justify-content: space-between; padding: 1px 8px 3px; background: #afc3d3; }
.dt-dat b { font-size: 17px; line-height: 1.2; }
.dw-kopfz, .dw-raster { display: grid; grid-template-columns: var(--zb) repeat(var(--n), minmax(0, 1fr)); }
.dw-kopfz { border-top: 1px solid #6f8294; border-bottom: 1px solid #6f8294; background: #afc3d3; }
.dw-kopfz span { padding: 2px 5px; border-left: 1px solid #6f8294; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dw-kopfz span:first-child { border-left: 0; }
.dw-raster { position: relative; }
.dw-zeit, .dw-col { display: grid; grid-template-rows: repeat(var(--z), var(--rh)); }
.dw-zeit { background: #e3e3e3; }
.dw-zeit span { padding-right: 5px; text-align: right; font-size: 10px; line-height: var(--rh); border-top: 1px solid #c8c8c8; font-variant-numeric: tabular-nums; }
.dw-zeit span:first-child, .dw-zeit span.v { border-top-color: #9a9a9a; }
.dw-zeit span.v { font-weight: 700; }
.dw-col { border-left: 1px solid #6f8294; min-width: 0; background-color: #fefefe;
  background-image: linear-gradient(#9a9a9a 1px, transparent 1px), linear-gradient(#c8c8c8 1px, transparent 1px);
  background-size: 100% calc(var(--rh) * 4), 100% var(--rh); }
.dw-t { position: relative; grid-column: 1; display: flex; flex-direction: column; gap: 3px; min-width: 0; margin: 0 2px -1px 0; padding: 1px 4px; overflow: hidden;
  border: 1px solid #000; background: #fefcdf; font-size: 10.5px; line-height: 1.2; color: #000; }
.dw-t b { font-weight: 400; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dw-t .pk { display: inline-block; width: 7px; height: 7px; margin-right: 5px; border-radius: 50%; background: #000; }
.dw-t .b { display: flex; justify-content: space-between; gap: 6px; white-space: nowrap; }
.dw-t .b span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.dw-t .k-grau { align-self: flex-start; height: 4px; margin-left: 12px; border-radius: 0; background: rgba(0,0,0,.22); }
.dw-t.dw-zu { margin: 0; border: 0; background: #818181; }
.dt-pause { position: absolute; z-index: 1; left: var(--zb); right: 0; top: calc(var(--a) * var(--rh)); height: calc(var(--h) * var(--rh)); display: grid; place-items: center; background: #818181; color: #fff; }
.dt-fuss { height: 19px; background: #afc3d3; border-top: 1px solid #6f8294; }
.dt-fuss span { display: inline-block; margin-left: 5px; padding: 0 9px; height: 16px; line-height: 15px; border: 1px solid #6f8294; border-top: 0; background: #d5e5f4; }
/* Die übrigen Termine treten zurück, solange Praxishub sucht und einträgt */
.dw-dim { position: absolute; z-index: 2; inset: 0 0 0 var(--zb); background: rgba(255,255,255,.6); pointer-events: none; }
.k-flow .dw-dim[data-at] { transition: opacity .5s var(--ease); }
.dw-t.dw-frei, .dw-t.neu, .dw-t.alt { z-index: 3; }
.dw-t.dw-frei { border: 2px dashed var(--accent); background: rgba(79,70,229,.09); }
.k-flow .dw-frei.on { animation: dwFrei 1.1s ease-in-out 2; }
@keyframes dwFrei { 50% { background: rgba(79,70,229,.24); } }
/* Der Eintrag von Praxishub */
.dw-ph { position: absolute; right: 3px; top: 3px; display: grid; place-items: center; width: 17px; height: 17px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1.5px var(--accent); }
.dw-ph img { width: 12px; height: 12px; display: block; }
.dw-t.neu { overflow: visible; padding: 2px 24px 2px 5px; gap: 2px; border: 2px solid var(--accent); font-size: 11px; box-shadow: 0 10px 22px -10px rgba(79,70,229,.55); }
.dw-t.neu b { font-weight: 700; font-size: 11.5px; }
.dw-t.neu .b { margin-right: -19px; }
.k-flow .dw-t.neu[data-at] { transform: scale(.5); transform-origin: 50% 50%; transition: opacity .25s var(--ease), transform .55s cubic-bezier(.2,1.5,.35,1); }
.k-flow .dw-t.neu[data-at].on { transform: none; }
.dw-t.neu::after { content: ""; position: absolute; inset: -2px; pointer-events: none; }
.k-flow .dw-t.neu.on::after { animation: dwRing 1.1s ease-out .25s 2; }
@keyframes dwRing { from { box-shadow: 0 0 0 0 rgba(79,70,229,.5); } to { box-shadow: 0 0 0 16px rgba(79,70,229,0); } }
/* abgesagter Termin: schraffiert */
.dw-t.alt { font-size: 11px; }
.dw-ab { position: absolute; inset: 0; display: flex; align-items: flex-end; justify-content: flex-end; padding: 3px 5px; font-size: 10.5px; font-weight: 700; color: #1b3550;
  background: repeating-linear-gradient(135deg, rgba(129,129,129,.45) 0 4px, rgba(254,252,223,.7) 4px 8px); }

/* ---------- DS-Win-Plus: Hauptfenster mit Menüband, schwarze Arbeitsfläche, Unterfenster mit bunter Reiterleiste */
.k-flow .dw-an[data-at] { opacity: 1; }
.dw.dp { background: #000; box-shadow: 0 0 0 1px #6b6b6b, 0 34px 70px -30px rgba(19,23,34,.5), 0 12px 24px -14px rgba(19,23,34,.25); }
.dp-win { display: flex; align-items: center; height: 26px; padding-left: 7px; background: #fff; font-size: 11.5px; white-space: nowrap; }
.dp-win > span:first-of-type { flex: 1; min-width: 0; padding-left: 66px; overflow: hidden; text-overflow: ellipsis; text-align: center; }
.dp-win .dw-fb { color: #000; }
.dp-win .dw-ic { box-shadow: none; }
.dp-tabs { display: flex; align-items: center; gap: 10px; height: 21px; padding: 0 7px 0 3px; background: #dce8f5; border-bottom: 1px solid #aac2dc; white-space: nowrap; }
.dp-tabs > div { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; height: 21px; overflow: hidden; }
.dp-tabs > div span { height: 21px; padding: 0 7px; line-height: 20px; border: 1px solid transparent; border-bottom: 0; }
.dp-tabs > div span.on { background: #f6fafe; border-color: #aac2dc; }
.dp-hilfe { flex: 0 0 auto; display: grid; place-items: center; width: 14px; height: 14px; border-radius: 50%; background: #0179d9; color: #fff; font-size: 10px; font-weight: 700; }
.dp-band { display: flex; height: 64px; background: linear-gradient(#f6fafe, #dce8f5); border-bottom: 1px solid #aac2dc; overflow: hidden; }
.dp-gr { display: flex; flex-direction: column; justify-content: space-between; padding: 5px 9px 4px; border-right: 1px solid #b9cbe0; }
.dp-gr > span { display: flex; gap: 9px; }
.dp-gr > u { display: block; width: 62%; height: 4px; margin: 0 auto; background: #b3c1d2; }
.dp-i { display: flex; flex-direction: column; align-items: center; width: 34px; }
.dp-i i { width: 26px; height: 26px; margin-bottom: 4px; border-radius: 3px; }
.dp-i u { display: block; width: 100%; height: 4px; margin-bottom: 3px; background: #b3c1d2; }
.dp-i u:last-child { width: 58%; }
.dp-i .s0 { background: linear-gradient(135deg, #7fb2ea, #2f6fc0); }
.dp-i .s1 { background: linear-gradient(135deg, #ffd766, #f39200); }
.dp-i .s2 { background: linear-gradient(135deg, #9fd58f, #3f9a3a); border-radius: 50%; }
.dp-i .s3 { background: linear-gradient(135deg, #f08a8a, #c9302c); }
.dp-i .s4 { background: linear-gradient(135deg, #cdb4f0, #7e57c2); }
.dp-i .s5 { background: linear-gradient(135deg, #c9d2de, #7b8a9e); }
.dp-flaeche { display: grid; gap: 5px; padding: 5px 5px 0; background: #000; }
.dp-logo { display: flex; justify-content: flex-end; align-items: center; height: 30px; padding-right: 6px; margin-top: -2px; }
.dp-logo img { display: block; width: 36px; height: 21px; object-fit: cover; object-position: 50% 0; }
.dk { min-width: 0; border: 1px solid #0163b3; background: linear-gradient(#d5e5f4, #c5d5e4); }
.dk-r { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 1px; padding: 3px 3px 0; border-bottom: 1px solid var(--rand); }
.dk-rl { display: contents; }
.dk-rl span { height: 16px; padding: 0 5px; line-height: 15px; border: 1px solid rgba(0,0,0,.32); border-bottom: 0; border-radius: 2px 2px 0 0; font-size: 10.5px; white-space: nowrap; }
.dk-rl span.on { font-weight: 700; border-color: #000; box-shadow: inset 0 2px 0 rgba(255,255,255,.75); }
.dk-rl .r0 { background: #9da5c5; } .dk-rl .r1 { background: #afa2df; } .dk-rl .r2, .dk-rl .r3 { background: #dcac9f; } .dk-rl .r4 { background: #91bac7; }
.dk-rl .r5 { background: #c99de2; } .dk-rl .r6 { background: #cbad82; } .dk-rl .r7 { background: #f0c494; } .dk-rl .r8 { background: #d4d9b0; }
.dk-rl .r9 { background: #bb808e; } .dk-rl .r10 { background: #a1bb7d; } .dk-rl .r11 { background: #ccc787; } .dk-rl .r12 { background: #fbbf99; } .dk-rl .r13 { background: #c99c6a; }
.dp-rps { flex: 0 0 auto; display: flex; gap: 1px; margin: 0 1px 2px auto; padding-left: 8px; }
.dp-rp { display: grid; place-items: center; width: 15px; height: 15px; border: 1px solid #aac2dc; background: linear-gradient(#e2edf9, #d0e0f0); font-size: 9.5px; font-weight: 700; color: #1b3550; transition: background .3s, color .3s, border-color .3s; }
.dp-rp.on { background: #e0241c; border-color: #8f120c; color: #fff; }
.k-flow .dp-rp.dw-an.on { animation: dpPuls 1s ease-out 2; }
@keyframes dpPuls { from { box-shadow: 0 0 0 0 rgba(224,36,28,.6); } to { box-shadow: 0 0 0 9px rgba(224,36,28,0); } }
/* Auswahl */
.da-oben { display: flex; gap: 6px; padding: 5px 5px 2px; }
.da-treffer { flex: 1 1 170px; min-width: 0; border: 1px solid #8ca3c3; background: #fff; }
.da-treffer p { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; gap: 6px; margin: 0; padding: 1px 5px; white-space: nowrap; }
.da-treffer p.on { background: #fac84f; }
.da-treffer b { font-weight: 400; overflow: hidden; text-overflow: ellipsis; }
.da-logo { flex: 0 0 54px; display: grid; place-items: center; border: 1px solid #8ca3c3; background: #fff; }
.da-logo img { display: block; width: 40px; height: auto; }
.da-kn { flex: 0 0 auto; display: flex; align-items: flex-end; gap: 5px; }
.da-gr { display: flex; flex-direction: column; }
.da-gr > em { font-size: 9.5px; line-height: 12px; }
.da-gr > span { display: flex; gap: 2px; }
.da-k { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; width: 43px; height: 44px; border: 1px solid #aac2dc; background: linear-gradient(#e2edf9, #d0e0f0); }
.da-k em { font-size: 9px; line-height: 1.05; text-align: center; }
.da-k .ic { position: relative; width: 22px; height: 18px; border-radius: 2px; }
.ic.ka { background: radial-gradient(circle at 50% 55%, #cfe0f2 0 3px, #1b3550 3.5px 5.5px, transparent 6px), linear-gradient(#59677a, #2e3947); }
.ic.kl { background: linear-gradient(#f5c63b, #f5c63b) 3px 5px / 6px 5px no-repeat, linear-gradient(135deg, #7ccf6a, #2f8f3a); box-shadow: inset 0 0 0 1px rgba(0,0,0,.25); }
.ic.gk { background: linear-gradient(#f5c63b, #f5c63b) 3px 5px / 6px 5px no-repeat, linear-gradient(135deg, #9fc3ee, #3f77c4); box-shadow: inset 0 0 0 1px rgba(0,0,0,.25); }
.ic.we { background: linear-gradient(90deg, #3f77c4 50%, #2f8f3a 50%); box-shadow: inset 0 0 0 1px rgba(0,0,0,.25); }
.ic.re, .ic.ra { width: 0; height: 0; border-radius: 0; margin: 0 3px; border: 9px solid transparent; }
.ic.re { border-right: 0; border-left: 15px solid #2f9a3a; }
.ic.ra { border-left: 0; border-right: 15px solid #d0201a; }
.ic.an { width: 16px; height: 19px; background: linear-gradient(#8a5a2b, #8a5a2b) 4px 0 / 8px 3px no-repeat, linear-gradient(#b9c2cd, #b9c2cd) 3px 7px / 10px 2px no-repeat, linear-gradient(#b9c2cd, #b9c2cd) 3px 11px / 10px 2px no-repeat, #fff; box-shadow: inset 0 0 0 1px #6f7c8c; transition: background .3s; }
.ic.an::after { content: ""; position: absolute; right: -6px; bottom: -3px; width: 12px; height: 12px; border-radius: 50%; background: #d0201a; box-shadow: 0 0 0 1px #fff; transition: background .3s; }
.ic.an::before { content: ""; position: absolute; z-index: 1; right: -3px; bottom: 0; width: 3px; height: 6px; border: solid #fff; border-width: 0 1.6px 1.6px 0; transform: rotate(40deg); opacity: 0; transition: opacity .3s; }
.ic.an.on::after { background: #2f9a3a; }
.ic.an.on::before { opacity: 1; }
.k-flow .ic.an.dw-an.on::after { animation: dpGruen 1s ease-out 2; }
@keyframes dpGruen { from { box-shadow: 0 0 0 1px #fff, 0 0 0 1px rgba(47,154,58,.6); } to { box-shadow: 0 0 0 1px #fff, 0 0 0 10px rgba(47,154,58,0); } }
.ic.nf { background: linear-gradient(#fff, #fff) 9px 3px / 4px 12px no-repeat, linear-gradient(#fff, #fff) 5px 7px / 12px 4px no-repeat, #d0201a; }
.ic.em { background: linear-gradient(#fff, #fff) 4px 4px / 14px 2px no-repeat, linear-gradient(#fff, #fff) 4px 8px / 14px 2px no-repeat, linear-gradient(#fff, #fff) 4px 12px / 9px 2px no-repeat, #3f77c4; }
.ic.ep { background: linear-gradient(#f39200, #f39200) 0 0 / 10px 4px no-repeat, linear-gradient(#ffd766, #f5b21b) 0 3px / 100% 100% no-repeat; box-shadow: inset 0 -1px 0 rgba(0,0,0,.2); }
.da-unten { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .9fr) 214px; gap: 8px; padding: 3px 5px 4px; }
.da-it { display: flex; flex-wrap: wrap; height: 16px; gap: 1px; margin-bottom: 4px; border-bottom: 1px solid var(--rand); white-space: nowrap; overflow: hidden; }
.da-it span { height: 15px; padding: 0 5px; line-height: 14px; border: 1px solid #aac2dc; border-bottom: 0; background: #d0e0f0; font-size: 10.5px; }
.da-it span.on { background: #e6f0fa; border-color: var(--rand); }
.da-f { display: grid; grid-template-columns: 54px minmax(0, 1fr); align-items: center; margin: 0 0 2px; }
.da-f b { display: flex; align-items: center; height: 17px; padding: 0 4px; border: 1px solid #8ca3c3; background: #fff; font-weight: 400; white-space: nowrap; overflow: hidden; font-variant-numeric: tabular-nums; }
.da-f.kurz b { width: 82px; }
.da-f.zu b { background: #cfe0f2; }
.da-f.zu { grid-template-columns: 62px minmax(0, 1fr); }
.da-f .k-grau { height: 5px; border-radius: 0; background: #c3ccd7; }
.dp-tw .neu { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: #2a2670; }
.dp-tw .dw-ph, .dp-z .dw-ph, .dp-mk .dw-ph, .da-gelb .dw-ph { position: static; flex: 0 0 auto; width: 15px; height: 15px; }
.dp-tw .dw-ph img, .dp-z .dw-ph img, .dp-mk .dw-ph img, .da-gelb .dw-ph img { width: 11px; height: 11px; }
.da-f.tel > b:has(.k-sw.on .neu) { border-color: var(--accent); background: #EEF0FB; box-shadow: 0 0 0 1px var(--accent); }
.da-cb { display: flex; align-items: center; gap: 5px; height: 16px; margin-bottom: 3px; white-space: nowrap; }
.da-cb i { position: relative; width: 11px; height: 11px; border: 1px solid #5c6b7c; background: #fff; }
.da-cb i::after { content: ""; position: absolute; left: 3px; top: 0; width: 3px; height: 6px; border: solid #000; border-width: 0 1.5px 1.5px 0; transform: rotate(40deg); }
.da-gelb { min-height: 128px; padding: 1px 4px 4px; border: 1px solid #8ca3c3; background: #feffef; }
.da-gelb u { display: block; margin-top: 3px; text-decoration: underline; }
.da-gelb p { display: flex; align-items: center; gap: 5px; margin: 0; min-height: 15px; white-space: nowrap; }
.da-gelb p > span { font-variant-numeric: tabular-nums; }
.da-gelb .k-grau { height: 5px; border-radius: 0; background: #c9c9b4; }
.da-gelb p.ph { margin: 2px -3px 0; padding: 1px 3px; min-height: 19px; background: #EEF0FB; box-shadow: inset 0 0 0 1px var(--accent); font-weight: 700; color: #2a2670; }
.da-gelb p.ph .dw-ph { margin-left: auto; }
.k-flow .da-gelb p[data-at] { transform: translateX(-10px); }
.k-flow .da-gelb p[data-at].on { transform: none; }
.da-fuss { display: flex; align-items: center; gap: 6px; padding: 2px 5px 5px; }
.da-rad { width: 19px; height: 19px; border: 1px solid #aac2dc; background: radial-gradient(circle, #e2edf9 0 2.5px, #5c6b7c 3px 5.5px, transparent 6px), repeating-conic-gradient(from 0deg at 50% 50%, #5c6b7c 0 22deg, transparent 22deg 45deg) 50% 50% / 15px 15px no-repeat, linear-gradient(#e2edf9, #d0e0f0); }
.da-fuss .dw-btn:nth-of-type(1) { margin: 0 auto; }
/* Patinfo */
.dp-zh, .dp-z { display: grid; grid-template-columns: 78px minmax(0, 1fr) auto; }
.dp-zh { margin: 5px 5px 0; height: 17px; align-items: center; border: 1px solid #8ca3c3; border-bottom-color: #aac2dc; background: linear-gradient(#e2edf9, #d0e0f0); }
.dp-zh span { padding: 0 6px; border-right: 1px solid #aac2dc; line-height: 15px; }
.dp-zh span:last-child { border-right: 0; }
.dp-zl { margin: 0 5px; min-height: 124px; border: 1px solid #8ca3c3; border-top: 0; border-bottom: 0; background: #fff; }
.dk-pi.kurz .dp-zl { min-height: 0; padding-bottom: 8px; }
.dp-z { align-items: center; min-height: 19px; border-bottom: 1px solid #e3e3e3; }
.dp-z > span { padding: 0 6px; min-width: 0; }
.dp-z .d { font-variant-numeric: tabular-nums; white-space: nowrap; }
.dp-z .e { display: flex; align-items: center; gap: 7px; white-space: nowrap; overflow: hidden; }
.dp-z .s { display: flex; align-items: center; gap: 6px; }
.dp-z .kz { flex: 0 0 24px; color: #1D4FBF; font-weight: 700; }
.dp-z .k-grau { height: 5px; border-radius: 0; background: #c8cdd4; }
.dp-z .vs { padding: 0 5px; background: #f6c9c4; text-decoration: line-through; }
.dp-pdf { flex: 0 0 auto; padding: 1px 3px; border-radius: 2px; background: #D93025; color: #fff; font-size: 8px; font-weight: 700; letter-spacing: .03em; line-height: 1.3; }
.dp-foto { flex: 0 0 auto; width: 17px; height: 13px; border: 1px solid #4F6E99; background: radial-gradient(circle at 76% 30%, #F5C63B 0 2px, transparent 2.5px), linear-gradient(135deg, transparent 50%, #5E9A55 50%) 0 100% / 12px 8px no-repeat, #CFE4FB; }
.dp-z.ph { position: relative; z-index: 1; min-height: 24px; background: #EEF0FB; box-shadow: inset 0 0 0 1.5px var(--accent); font-size: 11.5px; font-weight: 700; color: #2a2670; }
.k-flow .dp-z.ph[data-at] { transform: translateY(-9px); }
.k-flow .dp-z.ph[data-at].on { transform: none; animation: dpNeu 1.1s ease-out .2s 2; }
@keyframes dpNeu { from { box-shadow: inset 0 0 0 1.5px var(--accent), 0 0 0 0 rgba(79,70,229,.45); } to { box-shadow: inset 0 0 0 1.5px var(--accent), 0 0 0 12px rgba(79,70,229,0); } }
.dp-z .st { padding: 0 6px; border: 1px solid; font-size: 10.5px; font-weight: 700; white-space: nowrap; }
.dp-z .st.offen { background: #fff2c2; border-color: #c9a82e; color: #6b5200; }
.dp-z .st.ok { background: #dff2dd; border-color: #79b56e; color: #1d6b2a; }
/* Brief */
.dp-bt { display: flex; align-items: center; gap: 6px; height: 26px; padding: 0 5px; border-bottom: 1px solid var(--rand); }
.dp-bt > span:first-child { margin-right: 8px; }
.dp-bt i { width: 17px; height: 17px; border: 1px solid #aac2dc; box-shadow: inset 0 0 0 4px #e2edf9, inset 0 0 0 9px #7b8a9e; }
.dp-bt .dw-btn { margin-left: auto; }
.dp-bt .dw-btn + .dw-btn { margin-left: 0; }
.dp-papier { padding: 10px 10px 0; background: #818181; }
.dp-blatt { max-width: 540px; margin: 0 auto; padding: 22px 30px 24px; background: #fff; box-shadow: 0 0 0 1px #5c5c5c, 0 3px 10px rgba(0,0,0,.3); font-family: Arial, Helvetica, sans-serif; font-size: 12px; }
.dp-bk { display: block; margin-bottom: 12px; font-size: 13.5px; }
.dp-bl { display: block; height: 6px; margin: 7px 0; background: #e1e4e9; }
.dp-betreff { margin: 16px 0 10px; font-weight: 700; }
.dp-mk { display: grid; grid-template-columns: 88px minmax(0, 1fr); gap: 8px; align-items: center; margin: 6px 0; }
.dp-mk em { font-weight: 700; }
.dp-mk > span { display: flex; align-items: center; min-height: 22px; padding: 2px 6px; background: #e4e6ea; }
.dp-mk .k-grau { height: 6px; border-radius: 0; background: #c3c8d0; }
.dp-mk b.ph { display: inline-flex; align-items: center; gap: 7px; margin: -2px -6px; padding: 3px 6px; background: #EEF0FB; box-shadow: inset 0 0 0 1.5px var(--accent); color: #2a2670; }
.k-flow .dp-mk b.ph[data-at].on { animation: dpNeu 1.1s ease-out .2s 2; }

/* ---------- schwebende Karten: Anruf, WhatsApp, Bogen, Rechnung */
.dw-ruf, .dw-wa, .dw-karte { position: absolute; z-index: 5; right: -56px; bottom: 34px; width: 286px; text-align: left; font-family: -apple-system, "SF Pro Text", "Helvetica Neue", Arial, sans-serif; }
.dw-ruf, .dw-karte { padding: 12px 12px 13px; border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px rgba(19,23,34,.07), 0 30px 54px -18px rgba(19,23,34,.45), 0 10px 18px -10px rgba(19,23,34,.22); }
.k-flow .dw-ruf[data-at], .k-flow .dw-wa[data-at], .k-flow .dw-karte[data-at] { transform: translateY(16px) scale(.94); transform-origin: 80% 100%; transition: opacity .35s var(--ease), transform .5s cubic-bezier(.2,1.2,.3,1); }
.k-flow .dw-ruf[data-at].on, .k-flow .dw-wa[data-at].on, .k-flow .dw-karte[data-at].on { transform: none; }
.dw-ruf-k { display: flex; align-items: center; gap: 10px; }
.dw-av { position: relative; flex: 0 0 auto; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #34C759; }
.dw-av svg { width: 19px; height: 19px; fill: #fff; stroke: none; }
.dw-ring { position: absolute; inset: 0; border-radius: 50%; }
.k-flow .dw-ring.on { animation: dwKlingel 1.1s ease-out infinite; }
@keyframes dwKlingel { from { box-shadow: 0 0 0 0 rgba(52,199,89,.55); } to { box-shadow: 0 0 0 13px rgba(52,199,89,0); } }
.dw-wer { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.dw-wer b { font-size: 15px; font-weight: 600; color: #131722; white-space: nowrap; }
.dw-st { font-size: 12.5px; color: #687184; font-variant-numeric: tabular-nums; white-space: nowrap; }
.dw-welle { display: flex; align-items: center; gap: 2.5px; margin-left: auto; height: 18px; }
.dw-welle i { width: 2.5px; height: calc(var(--h) * 1px); border-radius: 2px; background: var(--accent); }
.k-flow .dw-welle.on i { animation: dwWelle .9s ease-in-out infinite alternate; }
.k-flow .dw-welle.on i:nth-child(2n) { animation-delay: -.45s; }
.k-flow .dw-welle.on i:nth-child(3n) { animation-delay: -.2s; }
@keyframes dwWelle { to { transform: scaleY(.45); } }
.dw-ruf p.dw-l { width: fit-content; max-width: 90%; margin: 8px 0 0 auto; padding: 7px 11px; border-radius: 14px; border-bottom-right-radius: 4px; background: var(--accent); color: #fff; font-size: 13.5px; line-height: 1.34; }
.dw-ruf p.dw-l.me { margin-left: 0; border-radius: 14px; border-bottom-left-radius: 4px; background: #F0F1F4; color: #131722; }
.k-flow .dw-l[data-at] { display: none; }
.k-flow .dw-l[data-at].on { display: block; animation: kwIn .32s var(--ease) both; }
.dw-wa { display: flex; flex-direction: column; gap: 6px; padding: 12px 10px; border-radius: 20px; background: #EFEAE2; box-shadow: 0 0 0 1px rgba(19,23,34,.07), 0 30px 54px -18px rgba(19,23,34,.45), 0 10px 18px -10px rgba(19,23,34,.22); }
.dw-wa .kw-m { max-width: 92%; }
.dw-plan { display: block; height: 96px; margin: -2px -4px 6px -5px; padding: 12px 34px 0; border-radius: 6px; overflow: hidden;
  background: linear-gradient(#fff, #fff) 24px 8px / calc(100% - 48px) 100% no-repeat, linear-gradient(135deg, #C9BCA3, #AE9F84); }
.dw-plan i { display: block; height: 5px; margin-top: 8px; border-radius: 2px; background: #C9CED6; }
.dw-plan i:first-child { width: 55%; height: 7px; margin-top: 4px; background: #5C6675; }
.dw-plan i:nth-child(4) { width: 80%; }
.dw-karte b { font-size: 15px; font-weight: 600; color: #131722; }
.dw-bogen { width: 236px; }
.dw-bogen p { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 36px; margin: 0; border-bottom: 1px solid #ECEDF0; font-size: 13.5px; }
.dw-bogen p em { font-style: normal; color: #687184; }
.dw-bogen p span { padding: 3px 10px; border-radius: 999px; background: #FDE8E7; color: #B3261E; font-weight: 600; }
.dw-bogen .sig svg { width: 96px; height: 26px; fill: none; stroke: #1B2A6B; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.dw-senden, .dw-zahlen { position: relative; display: block; margin-top: 11px; padding: 9px; border-radius: 11px; background: var(--accent); color: #fff; font-size: 14px; font-weight: 600; text-align: center; }
.dw-beleg { width: 252px; }
.dw-beleg-k { display: flex; align-items: center; gap: 10px; }
.dw-beleg-k .dp-pdf { padding: 9px 4px; border-radius: 4px; font-size: 9.5px; }
.dw-beleg-k span { display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.dw-beleg-k small { font-size: 12.5px; color: #687184; white-space: nowrap; }
.dw-beleg-k strong { margin-left: auto; font-size: 16px; font-weight: 600; color: #131722; white-space: nowrap; }
.dw-bw { display: grid; margin-top: 11px; }
.dw-bw .k-sw { display: block; }
.dw-zahlen { margin-top: 0; background: #131722; }
.dw-bezahlt { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 9px; border-radius: 11px; background: #e6f4ec; color: #17834c; font-size: 14px; font-weight: 600; }
.dw-bezahlt svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
/* In der Akte steht die Karte rechts neben dem Fenster */
.dw-szene.dw-akte { max-width: 960px; padding-right: 246px; }
.dw-akte .dw-karte, .dw-akte .dw-wa { right: 0; bottom: auto; top: 112px; transform-origin: 0 50%; }
.dw-akte .dw-wa { width: 252px; }
.dw-akte.k-alles, .dw-akte.k-brief { max-width: 760px; padding-right: 0; }

/* ---------- Abschnitte */
.dw-sec .k-flow { margin-top: 48px; }
.dw-wahl { display: flex; justify-content: center; gap: 4px; width: fit-content; margin: 28px auto 0; padding: 4px; border-radius: 999px; background: var(--paper-2); border: 1px solid var(--hair); }
.dw-wahl button { padding: 9px 22px; border: 0; border-radius: 999px; background: none; font: inherit; font-size: 15px; font-weight: 500; color: var(--ink-2); cursor: pointer; }
.dw-wahl button.on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(20,22,27,.14); }
.dw-pick { display: none; }
.dw-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.dw-panel { margin-top: 32px; padding: 52px 40px 0; border-radius: 28px; border: 1px solid var(--hair); background: linear-gradient(180deg, #F6F4EE, #EFECE4); overflow: hidden; }
.dw-panel .k-flow { margin-top: 0; }
.dw-fall { display: none; }
.dw-fall.on { display: block; }
.dw-satz p { display: none; max-width: 600px; margin: 28px auto 0; text-align: center; font-size: 18px; line-height: 1.55; color: var(--ink-2); }
.dw-satz p.on { display: block; }
.dw-unter { max-width: 600px; margin: 36px auto 0; text-align: center; font-size: 18px; line-height: 1.55; color: var(--ink-2); }
.dw-listen { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px 56px; max-width: 860px; margin: 40px auto 0; align-items: start; }
.dw-lst h3 { margin: 0 0 6px; font-size: 18px; font-weight: 600; letter-spacing: -.01em; }
.dw-lst ul { margin: 0; padding: 0; list-style: none; }
.dw-lst li { position: relative; padding: 9px 0 9px 20px; border-top: 1px solid var(--hair); font-size: 16px; line-height: 1.4; color: var(--ink-2); }
.dw-lst li::before { content: ""; position: absolute; left: 2px; top: 16px; width: 7px; height: 7px; border-radius: 50%; background: #B9B4A6; }
.dw-lst.traegt li::before { background: var(--accent); }

/* ---------- Einrichtung: drei Stationen auf einer Linie */
.dw-weg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 860px; margin: 0 auto; }
.dw-stn { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.k-flow .dw-stn[data-at] { opacity: 1; }
.dw-stn-g { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; width: calc(100% - 28px); height: 124px; padding: 14px 18px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px #e3e0d6, 0 22px 40px -28px rgba(19,23,34,.4); transition: opacity .4s; }
.k-flow .dw-stn[data-at]:not(.on) .dw-stn-g { opacity: .5; }
.dw-weg { position: relative; }
.dw-weg::before, .dw-lauf { content: ""; position: absolute; left: 16.67%; right: 16.67%; top: 152px; height: 3px; background: #E6E2D6; }
.dw-lauf { background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; }
.k-flow .dw-lauf[data-at] { opacity: 1; }
.k-flow .dw-lauf[data-at]:not(.on), .k-flow .dw-inst i[data-at]:not(.on) { transition: none; }
.k-flow .dw-lauf[data-at].on { transform: scaleX(1); transition: transform 4.6s linear; }
.dw-pkt { position: relative; z-index: 1; width: 17px; height: 17px; margin-top: 21px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 3px #CFCABA; transition: box-shadow .3s .5s, background .3s .5s; }
.dw-stn.on .dw-pkt { background: #fff; box-shadow: inset 0 0 0 5px var(--accent); }
.dw-stn > b { margin-top: 14px; padding: 0 6px; font-size: 17px; font-weight: 600; letter-spacing: -.01em; line-height: 1.25; text-wrap: balance; }
.dw-inst { display: block; width: 100%; max-width: 150px; height: 8px; border-radius: 4px; background: #E9EBF0; overflow: hidden; }
.dw-inst i { display: block; height: 100%; border-radius: 4px; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; }
.k-flow .dw-inst i[data-at] { opacity: 1; transition: transform 1.2s linear; }
.dw-inst i.on { transform: scaleX(1); }
.dw-stn .k-badge { padding: 3px 10px 3px 8px; font-size: 12.5px; background: #e6f4ec; color: #17834c; }
.dw-stn .k-badge svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.dw-stn .k-swap { justify-items: center; min-height: 24px; align-items: center; }
.dw-regel { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; max-width: 170px; }
.dw-regel .k-grau { height: 8px; }
.dw-tg { position: relative; flex: 0 0 auto; width: 30px; height: 18px; border-radius: 9px; background: #D9D6CC; transition: background .3s; }
.dw-tg::after { content: ""; position: absolute; left: 2px; top: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.25); transition: transform .3s var(--ease); }
.k-flow .dw-tg[data-at] { opacity: 1; }
.dw-tg.on { background: #34C759; }
.dw-tg.on::after { transform: translateX(12px); }
.dw-stn-g:has(.dw-blatt) { flex-direction: row; gap: 14px; }
.dw-blatt { display: flex; flex-direction: column; align-items: center; width: 50px; border-radius: 11px; background: #fff; box-shadow: 0 0 0 1px #e6e8ee; overflow: hidden; }
.dw-blatt small { width: 100%; padding: 2px 0; background: #e5484d; color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; text-align: center; }
.dw-blatt b { padding: 2px 0 4px; font-size: 22px; font-weight: 600; line-height: 1.15; color: #131722; }
.dw-std { padding: 5px 11px; border-radius: 999px; background: #eef0fb; color: #4f46e5; font-size: 13.5px; font-weight: 600; white-space: nowrap; }
.k-flow .dw-std[data-at] { transform: scale(.8); }
.k-flow .dw-std[data-at].on { transform: none; }

@media (prefers-reduced-motion: reduce) {
  .k-flow .dw-lauf[data-at].on, .k-flow .dw-inst i[data-at], .k-flow .dw-t.neu[data-at] { transition: none; }
  .k-flow .dw-t.neu.on::after, .k-flow .dw-frei.on, .k-flow .dw-welle.on i, .k-flow .dw-ring.on, .k-flow .dp-z.ph[data-at].on, .k-flow .dp-rp.dw-an.on, .k-flow .dp-mk b.ph[data-at].on, .k-flow .ic.an.dw-an.on::after { animation: none; }
}
@media (max-width: 1240px) {
  .dw-ruf, .dw-wa, .dw-karte { right: -18px; }
  .dw-akte .dw-karte, .dw-akte .dw-wa { right: 0; }
}
@media (max-width: 960px) {
  /* Karte über dem Fenster der Akte */
  .dw-szene.dw-akte { --oben: 198px; max-width: 700px; padding-right: 0; padding-top: var(--oben); }
  .dw-szene.dw-akte.k-alles, .dw-szene.dw-akte.k-brief { --oben: 0px; }
  .dw-szene.dw-akte.k-rech { --oben: 112px; }
  .dw-szene.dw-akte.k-dok { --oben: 216px; }
  .dw-akte .dw-karte, .dw-akte .dw-wa { right: 6px; top: auto; bottom: calc(100% - var(--oben) - 6px); transform-origin: 80% 100%; }
  .dw-listen { gap: 20px 32px; }
  .da-k:has(.gk), .da-k:has(.we) { display: none; }
}
@media (max-width: 720px) {
  .dw-paar { margin-bottom: 20px; }
  .sx-pvs_dswin { padding: 22px 12px 0; }
  .dw-szene, .dw-szene.dw-gross { --oben: 140px; padding-top: var(--oben); }
  .dw, .dw-gross .dw { --rh: 19px; --zb: 44px; font-size: 12px; }
  .dw .m-aus, .dt-s9, .dt-mon, .dw-fb i:nth-child(-n+2), .dp-band, .da-treffer, .da-logo, .da-fuss, .da:not(.hf) .da-sp { display: none; }
  .dw-titel { height: 26px; font-size: 12px; }
  .dw-kopfz, .dw-raster { grid-template-columns: var(--zb) repeat(2, minmax(0, 1fr)); }
  .dw-btn { height: 21px; line-height: 19px; font-size: 12px; }
  .dw-menu { height: 22px; line-height: 22px; column-gap: 11px; }
  .dt-kopf { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "pal kl" "pal band"; gap: 5px 7px; padding: 5px 5px 2px; }
  .dt-ft { height: 16px; line-height: 16px; font-size: 11px; }
  .dt-heute { height: 18px; font-size: 11.5px; }
  .dt-pal p { font-size: 11.5px; gap: 5px; }
  .dt-pf i { width: 21px; height: 16px; font-size: 10px; }
  .dt-kli p { height: 17px; }
  .dt-band { white-space: normal; line-height: 1.2; }
  .dt-dat b { font-size: 18px; }
  .dw-zeit span { font-size: 11px; padding-right: 4px; }
  .dw-t { font-size: 12px; padding: 1px 4px; gap: 4px; }
  .dw-t .k-grau { height: 5px; }
  .dw-t.neu { padding: 2px 21px 2px 4px; font-size: 11.5px; }
  .dw-t.neu b { font-size: 12px; }
  .dw-t.neu .b { margin-right: -17px; }
  .dw-t.neu .b em { display: none; }
  .dw-t.alt { font-size: 12px; }
  .dw-ab { font-size: 11.5px; }
  .dw-ruf, .dw-wa { right: 6px; bottom: calc(100% - var(--oben) - 6px); width: 228px; }
  .dw-ruf { padding: 10px 10px 11px; border-radius: 18px; }
  .dw-ruf p.dw-l { margin-top: 6px; padding: 6px 10px; font-size: 13px; }
  .dw-wahl { display: none; }
  .dw-pick { position: relative; display: block; margin: 22px auto 0; max-width: 340px; }
  .dw-pick select { width: 100%; height: 50px; padding: 0 44px 0 16px; border: 1px solid var(--hair); border-radius: 14px; background: #fff; font: inherit; font-size: 16px; font-weight: 500; color: var(--ink); appearance: none; -webkit-appearance: none; }
  .dw-pick::after { content: ""; position: absolute; right: 19px; top: 19px; width: 8px; height: 8px; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: rotate(45deg); pointer-events: none; }
  .dw-panel { margin-top: 18px; padding: 18px 12px 0; border-radius: 22px; }
  .dw-satz p, .dw-unter { font-size: 16.5px; }
  .dw-satz p { margin-top: 20px; }
  .dw-unter { margin-top: 26px; }
  .dw-sec .k-flow { margin-top: 28px; }

  /* Akte am Handy: ein lesbarer Ausschnitt */
  .dw-szene.dw-akte.k-dok { --oben: 190px; }
  .dw-akte .dw-wa { width: 232px; }
  .dw-plan { height: 66px; }
  .dw-plan i:nth-child(n+4) { display: none; }
  .dp-win { height: 28px; font-size: 12px; }
  .dp-win > span:first-of-type { padding-left: 0; }
  .dp-tabs, .dp-tabs > div { height: 23px; }
  .dp-tabs > div span { height: 23px; line-height: 22px; padding: 0 6px; }
  .dp-hilfe { width: 16px; height: 16px; font-size: 11px; }
  .dp-flaeche { gap: 4px; padding: 4px 4px 0; }
  .dp-logo { height: 26px; }
  .dk-rl span { height: 18px; line-height: 17px; font-size: 11.5px; padding: 0 4px; }
  .dp-rp { width: 17px; height: 17px; font-size: 10.5px; }
  .da-oben { flex-wrap: wrap; padding: 6px 5px 3px; }
  .da.hf .da-treffer { display: block; flex: 1 1 100%; }
  .da-treffer p { padding: 2px 5px; }
  .da-kn { flex: 1; gap: 3px; }
  .da-gr, .da-gr > span { display: contents; }
  .da-gr > em { display: none; }
  .da-k { flex: 1 1 0; width: auto; height: 50px; }
  .da-k em { font-size: 10.5px; }
  .da-unten { grid-template-columns: minmax(0, 1fr); gap: 5px; padding: 3px 5px 6px; }
  .da-it { height: 19px; }
  .da-it span { height: 18px; line-height: 17px; font-size: 11.5px; }
  .da-f { grid-template-columns: 62px minmax(0, 1fr); margin-bottom: 3px; }
  .da-f b { height: 21px; }
  .da-f.kurz b { width: 96px; }
  .da-cb { height: 18px; }
  .da-gelb { min-height: 0; padding: 2px 5px 6px; }
  .da-gelb p { min-height: 18px; }
  .da-gelb p.ph { min-height: 22px; }
  .dp-zh, .dp-z { grid-template-columns: 48px minmax(0, 1fr) auto; }
  .dp-zh { height: 19px; }
  .dp-z .d u { display: none; }
  .dp-zl { min-height: 0; padding-bottom: 10px; }
  .k-anam .da-gelb u:first-child, .k-anam .da-gelb u:first-child + p, .k-anam .dp-z:last-child { display: none; }
  .dp-z { min-height: 23px; }
  .dp-z.ph { min-height: 28px; font-size: 12px; }
  .dp-z > span { padding: 0 4px; }
  .dp-z .e { gap: 5px; }
  .dp-z .st { font-size: 11.5px; }
  .dp-papier { padding: 7px 7px 0; }
  .dp-blatt { padding: 16px 14px 18px; font-size: 12.5px; }
  .dp-mk { grid-template-columns: 1fr; gap: 3px; margin: 9px 0; }
  .dp-mk b.ph { align-items: flex-start; line-height: 1.3; }
  .dp-betreff { margin: 12px 0 8px; }
  .dw-listen { grid-template-columns: 1fr; gap: 28px; margin-top: 28px; }
  .dw-lst li { padding: 7px 0 7px 20px; font-size: 15.5px; }
  .dw-lst li::before { top: 14px; }

  /* Einrichtung bleibt waagerecht */
  .dw-stn-g { width: calc(100% - 8px); height: 96px; padding: 10px 9px; gap: 8px; border-radius: 14px; }
  .dw-weg::before, .dw-lauf { top: 116px; }
  .dw-pkt { width: 15px; height: 15px; margin-top: 14px; }
  .dw-stn > b { margin-top: 10px; padding: 0 3px; font-size: 14px; hyphens: manual; text-wrap: wrap; }
  .dw-stn-g:has(.dw-blatt) { flex-direction: column; gap: 6px; }
  .dw-blatt { width: 38px; border-radius: 8px; }
  .dw-blatt small { font-size: 8.5px; padding: 1px 0; }
  .dw-blatt b { font-size: 16px; padding: 1px 0 2px; }
  .dw-std { padding: 3px 8px; font-size: 11.5px; }
  .dw-stn .k-badge { padding: 2px 7px 2px 6px; font-size: 11px; }
  .dw-regel { gap: 6px; }
  .dw-tg { width: 26px; height: 16px; }
  .dw-tg::after { width: 12px; height: 12px; }
  .dw-tg.on::after { transform: translateX(10px); }
}
