/* /pvs-anbindung/doctolib/ – Doctolib-Kalender im Browser (scripts/seiten/pvs_doctolib.py). Präfix dcl-. */
.sx-pvs_doctolib, .dcl-sec { --db: #2977B9; --db-d: #1A64A4; --db-s: #E3ECF6; --dbg: #F0F6FE; --dn: #2B344C; --dl: #CADCEB; --dr: #E3EAF2; --dt: #1F2A44; --dt2: #6B7A90; }
.sx-stage.sx-pvs_doctolib { padding: 40px 40px 0; background: linear-gradient(180deg, #F0F6FE, #D9E6F5); border-color: #CADCEB; }
.dcl-held { max-width: 1040px; margin: 0 auto; }
.dcl-sec .sec-head p { margin-top: 14px; }

/* Symbole am Termin: @ für online gebucht, Hörer für Praxishub */
.dcl-anruf-av svg, .dcl-anruf-ok svg, .dcl-lw-k li svg { fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.dcl-q { flex: none; display: grid; place-items: center; height: var(--lh, 26px); font-style: normal; font-size: 11.5px; font-weight: 700; line-height: 1; color: #1F2A44; }
.dcl-q.tel svg { box-sizing: border-box; width: 15px; height: 15px; padding: 3px; border-radius: 50%; background: var(--accent); fill: #fff; stroke: none; }
.dcl-logo { font: italic 700 23px/1 Georgia, "Times New Roman", serif; color: #fff; letter-spacing: -.02em; }

/* Browserfenster mit Kopfleiste und Navigation */
.dcl-win { position: relative; border-radius: 12px 12px 0 0; background: var(--dbg); box-shadow: 0 0 0 1px rgba(31,42,68,.14), 0 30px 70px -30px rgba(31,42,68,.5); overflow: hidden; text-align: left; color: var(--dt); font-family: Inter, -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif; }
.dcl-chrome { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: #EDF0F3; border-bottom: 1px solid #DDE2E7; }
.dcl-chrome > i { width: 10px; height: 10px; border-radius: 50%; background: #CCD3DA; }
.dcl-url { margin: 0 auto; transform: translateX(-24px); width: min(300px, 60%); height: 20px; border-radius: 7px; background: #fff; font-size: 11px; line-height: 20px; text-align: center; color: var(--dt2); }
.dcl-bar { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 12px 0 0; background: var(--dn); color: #fff; }
.dcl-bar .dcl-logo { flex: none; width: var(--nav); text-align: center; }
.dcl-such { flex: 0 1 320px; display: flex; align-items: center; gap: 8px; height: 30px; padding: 0 10px; border: 1px solid rgba(255,255,255,.55); border-radius: 5px; background: #314D6B; color: rgba(255,255,255,.85); font-size: 12.5px; white-space: nowrap; }
.dcl-such svg { flex: none; width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.dcl-ob { padding: 6px 11px; border: 1px solid rgba(255,255,255,.7); border-radius: 5px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.dcl-ob.r { margin-left: auto; }
.dcl-sym { width: 15px; height: 15px; border: 1.6px solid rgba(255,255,255,.75); border-radius: 50%; }
.dcl-av { flex: none; display: grid; place-items: center; width: 28px; height: 28px; margin-left: 4px; border-radius: 50%; background: #8A5A3C; color: #fff; font-style: normal; font-size: 11px; font-weight: 700; }
.dcl-win:not(.dcl-gross) .dcl-ob, .dcl-win:not(.dcl-gross) .dcl-sym { display: none; }
.dcl-win:not(.dcl-gross) .dcl-av { margin-left: auto; }
.dcl-win { --nav: 40px; }
.dcl-win.dcl-gross { --nav: 62px; }
.dcl-app { display: flex; }
.dcl-main { flex: 1; min-width: 0; background: #fff; }
.dcl-nav { flex: none; width: var(--nav); display: flex; flex-direction: column; align-items: stretch; gap: 2px; padding: 4px 0 8px; background: var(--dn); color: #fff; overflow: hidden; }
.dcl-nav > span { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 0 5px; }
.dcl-nav > span.on { background: rgba(255,255,255,.14); }
.dcl-nav svg { width: 19px; height: 19px; fill: none; stroke: #fff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.dcl-nav em { font-style: normal; font-size: 8.5px; line-height: 1.15; text-align: center; }
.dcl-win:not(.dcl-gross) .dcl-nav em, .dcl-win:not(.dcl-gross) .dcl-nav-av { display: none; }
.dcl-win:not(.dcl-gross) .dcl-nav > span { padding: 7px 0; }
.dcl-nav-av { align-self: center; display: grid; place-items: center; width: 26px; height: 26px; margin-top: auto; border-radius: 50%; background: #8A5A3C; font-style: normal; font-size: 9.5px; font-weight: 700; }
.dcl-nav-av.b { margin-top: 2px; background: var(--db); }

/* Seitenleiste: TERMIN SUCHEN, Minikalender, Terminkalender-Baum */
.dcl-seite { flex: none; width: 194px; padding: 10px 10px 12px; border-right: 1px solid var(--dl); background: #fff; display: flex; flex-direction: column; gap: 7px; }
.dcl-suchen { padding: 9px 0; border-radius: 5px; background: var(--db); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; text-align: center; }
.dcl-monat { margin: 4px 0 2px; }
.dcl-monat b { display: flex; align-items: center; justify-content: space-between; margin-bottom: 5px; padding: 0 4px; font-size: 12px; font-weight: 600; }
.dcl-monat b .dcl-pf { width: 5px; height: 5px; margin: 0; border-width: 1.5px; }
.dcl-monat > div { display: grid; grid-template-columns: 18px repeat(7, 1fr); }
.dcl-monat i, .dcl-monat em, .dcl-monat u { height: 19px; font-style: normal; text-decoration: none; font-size: 10px; line-height: 19px; text-align: center; color: var(--dt); }
.dcl-monat em { font-weight: 600; color: var(--dt2); }
.dcl-monat u { font-size: 9px; color: #9AA8BA; text-align: left; }
.dcl-monat i.alt { color: #B5C0CE; }
.dcl-monat i.heute { justify-self: center; width: 19px; background: var(--db-d); color: #fff; border-radius: 50%; font-weight: 700; }
.dcl-seite-h { position: relative; padding: 7px 2px 0; border-top: 1px solid var(--dl); font-style: normal; font-size: 12px; font-weight: 600; color: var(--dt); }
.dcl-seite-h::after { content: ""; position: absolute; right: 5px; top: 10px; width: 5px; height: 5px; border-right: 1.5px solid var(--dt2); border-bottom: 1.5px solid var(--dt2); transform: rotate(-45deg); }
.dcl-seite-h.auf::after { transform: rotate(-135deg); top: 13px; }
.dcl-ag { display: flex; align-items: center; gap: 7px; font-size: 11.5px; line-height: 1.2; white-space: nowrap; }
.dcl-ag.e1 { padding-left: 12px; } .dcl-ag.e2 { padding-left: 24px; }
.dcl-ag.gr { font-size: 11px; }
.dcl-ag.bl { color: var(--db-d); }
.dcl-kb { flex: none; width: 12px; height: 12px; border: 1.5px solid #9AA8BA; border-radius: 3px; background: #fff; }
.dcl-kb.an { border-color: var(--db); background: var(--db) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.5-5' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 10px no-repeat; }

/* Werkzeugzeile mit Pillen-Umschalter */
.dcl-tool { display: flex; align-items: center; gap: 9px; height: 46px; padding: 0 12px; border-bottom: 1px solid var(--dl); background: #fff; }
.dcl-tool b { font-size: 14px; font-weight: 700; white-space: nowrap; }
.dcl-tool .kurz { display: none; }
.dcl-burger { flex: none; width: 15px; height: 11px; border-top: 2px solid var(--dt); border-bottom: 2px solid var(--dt); background: linear-gradient(var(--dt), var(--dt)) center / 100% 2px no-repeat; }
.dcl-heute { padding: 5px 10px; border: 1px solid #B9C7D8; border-radius: 5px; font-size: 12px; font-weight: 600; color: var(--dt); }
.dcl-pf { flex: none; width: 6px; height: 6px; border-left: 2px solid var(--dt); border-bottom: 2px solid var(--dt); transform: rotate(45deg); margin: 0 1px 0 3px; }
.dcl-pf.r { transform: rotate(-135deg); margin: 0 5px 0 1px; }
.dcl-sicht { display: flex; margin-left: auto; padding: 2px; border: 1px solid #D5DEE9; border-radius: 999px; font-size: 11.5px; white-space: nowrap; }
.dcl-sicht i { padding: 4px 10px; border-radius: 999px; font-style: normal; color: var(--dt); }
.dcl-sicht i.on { background: #1F2A44; color: #fff; font-weight: 600; }
.dcl-tool-r { margin-left: 8px; font-size: 11.5px; color: var(--dt); white-space: nowrap; }
.dcl-win:not(.dcl-gross) .dcl-tool-r, .dcl-win:not(.dcl-gross) .dcl-burger { display: none; }
.dcl-win:not(.dcl-gross) .dcl-tool .lang { display: none; } .dcl-win:not(.dcl-gross) .dcl-tool .kurz { display: inline; }

/* Wochenkalender */
.dcl-kal { --h: 62px; --z: 44px; --lh: calc(var(--h) / 2 - 3px); background: #fff; }
.dcl-kopf, .dcl-raster { display: grid; grid-template-columns: var(--z) repeat(var(--n), minmax(0, 1fr)); }
.dcl-raster { position: relative; }
.dcl-kopf { border-bottom: 1px solid var(--dl); }
.dcl-th { display: flex; align-items: center; justify-content: space-between; height: 36px; padding: 0 6px 0 8px; border-left: 1px solid var(--dr); font-size: 12.5px; font-weight: 600; color: var(--dt); white-space: nowrap; }
.dcl-th b { display: inline-grid; place-items: center; min-width: 22px; height: 22px; border-radius: 50%; background: var(--db-d); color: #fff; font-size: 12px; font-weight: 700; }
.dcl-pkt { flex: none; width: 3px; height: 3px; border-radius: 50%; background: var(--dt2); box-shadow: 0 -5px 0 var(--dt2), 0 5px 0 var(--dt2); }
.dcl-zeit span { display: block; height: var(--h); padding: 2px 6px 0 0; font-size: 10px; text-align: right; color: var(--dt2); }
.dcl-tag { position: relative; height: calc(var(--std) * var(--h)); border-left: 1px solid var(--dr); overflow: visible;
  background: repeating-linear-gradient(180deg, var(--dr) 0 1px, transparent 1px var(--h)); }
.dcl-zu { position: absolute; left: 0; right: 0; top: calc((var(--s) - var(--von)) * var(--h)); height: calc(var(--d) * var(--h)); background: #E3ECF6; }
.dcl-jetzt { position: absolute; left: var(--z); right: 0; top: calc((var(--s) - var(--von)) * var(--h)); height: 1px; background: #AA3139; z-index: 3; }
.dcl-jetzt::before { content: ""; position: absolute; left: -3px; top: -3px; width: 7px; height: 7px; border-radius: 50%; background: #AA3139; }
.dcl-ev, .dcl-slot { position: absolute; left: 3px; right: 3px; top: calc((var(--s) - var(--von)) * var(--h) + 2px); height: calc(var(--d) * var(--h) - 3px); border-radius: 4px; }
.dcl-ev { display: flex; align-items: flex-start; gap: 4px; padding: 0 5px 0 6px; border-left: 4px solid var(--c); background: var(--bg); color: #1F2A44; font-size: 11.5px; line-height: var(--lh); box-shadow: 0 1px 2px rgba(31,42,68,.14); overflow: hidden; z-index: 1; }
.dcl-ev > span { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dcl-ev b { font-weight: 700; }
.dcl-ev time { opacity: .8; }
.dcl-ev .k-grau { height: 6px; vertical-align: middle; background: var(--c); opacity: .5; }
.dcl-ev.k, .dcl-zl.k { --bg: #E6EAB8; --c: #C5D54D; }
.dcl-ev.z, .dcl-zl.z { --bg: #B9DCD6; --c: #3DB06C; }
.dcl-ev.f, .dcl-zl.f { --bg: #F0C1D2; --c: #E589AA; }
.dcl-ev.n { --bg: #C6BFE0; --c: #5D5098; }
.dcl-ev.s { --bg: #B7D5F1; --c: #519DD7; }
.dcl-ev.blk { left: 0; right: 0; border-left: 0; border-radius: 0; box-shadow: none; background: #91A7D3; padding-left: 7px; font-size: 11px; line-height: 1.25; padding-top: 6px; }
.dcl-ev.blk > span { white-space: normal; }

/* Neuer Termin: springt auf, leuchtet, bleibt markiert */
.k-flow .dcl-ev.neu[data-at], .k-flow .dcl-ev.pop[data-at] { transform: scale(.55); transition: opacity .25s, transform .5s cubic-bezier(.2,1.5,.4,1); }
.k-flow .dcl-ev.neu.on, .k-flow .dcl-ev.pop.on { transform: none; }
.dcl-ev.neu { z-index: 4; overflow: visible; box-shadow: 0 0 0 2px var(--accent), 0 10px 22px -8px rgba(79,70,229,.55); }
.dcl-ev.neu.on::after { content: ""; position: absolute; inset: -2px; border-radius: 6px; border: 2px solid var(--accent); animation: dclHalo 1.1s ease-out 2; pointer-events: none; }
@keyframes dclHalo { from { transform: scale(1); opacity: .9; } to { transform: scale(1.22, 1.7); opacity: 0; } }
.dcl-slot { border: 2px dashed var(--accent); background: rgba(79,70,229,.08); z-index: 2; }
.dcl-slot.on { animation: dclPuls .7s ease-in-out infinite alternate; }
@keyframes dclPuls { from { background: rgba(79,70,229,.05); } to { background: rgba(79,70,229,.2); } }
.dcl-slot.bleibt { border-color: #B9C7D8; background: none; animation: none; z-index: 0; }

/* Anrufkarte */
.dcl-anrufe { display: grid; position: absolute; left: -14px; bottom: 26px; z-index: 6; width: 336px; }
.dcl-anruf { grid-area: 1 / 1; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 4px 12px; padding: 14px 16px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px rgba(20,22,27,.07), 0 24px 50px -18px rgba(20,30,60,.5); text-align: left; color: var(--ink); }
.k-flow .dcl-anruf[data-at] { transform: translateY(14px) scale(.96); }
.k-flow .dcl-anruf.on { transform: none; }
.dcl-anruf-av { position: relative; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #34C759; color: #fff; }
.dcl-anruf-av svg { width: 20px; height: 20px; fill: currentColor; stroke: none; }
.dcl-ring { position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 0 rgba(52,199,89,.5); }
.dcl-ring.on { animation: dclRing 1s ease-out infinite; }
@keyframes dclRing { to { box-shadow: 0 0 0 14px rgba(52,199,89,0); } }
.dcl-anruf-t { display: flex; flex-direction: column; min-width: 0; }
.dcl-anruf-t b { font-size: 16px; font-weight: 600; line-height: 1.25; }
.dcl-uhr { font-size: 13px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.dcl-welle { display: flex; align-items: center; gap: 2.5px; height: 22px; }
.dcl-welle i { width: 3px; height: calc(var(--h) * 1px); border-radius: 2px; background: var(--accent); }
.dcl-welle.on i { animation: dclWelle .7s ease-in-out infinite alternate; }
.dcl-welle.on i:nth-child(odd) { animation-delay: -.35s; }
@keyframes dclWelle { from { transform: scaleY(.45); } to { transform: scaleY(1.25); } }
.dcl-anruf-ok { grid-column: 1 / -1; display: flex; align-items: center; gap: 7px; margin-top: 8px; padding: 8px 11px; border-radius: 10px; background: var(--green-soft); color: var(--green); font-size: 13.5px; font-weight: 600; }
.k-flow .dcl-anruf-ok[data-at] { display: none; }
.k-flow .dcl-anruf-ok.on { display: flex; animation: kwIn .32s var(--ease) both; }
.dcl-anruf-ok svg { flex: none; width: 15px; height: 15px; stroke-width: 2.6; }

/* Abschnitt: zwei Wege, ein Kalender */
.dcl-zwei { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; max-width: 660px; margin: 44px auto 0; text-align: left; }
.dcl-quelle { display: flex; flex-direction: column; align-items: center; }
.dcl-buch, .dcl-hoerer { width: 100%; min-height: 128px; padding: 16px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px rgba(20,22,27,.08), 0 18px 36px -24px rgba(20,30,60,.4); display: flex; flex-direction: column; gap: 8px; }
.dcl-buch { border-top: 4px solid #107ACA; }
.dcl-buch b, .dcl-hoerer b { font-size: 14.5px; font-weight: 600; line-height: 1.25; color: var(--ink); }
.dcl-buch em { font-family: -apple-system, "Segoe UI", Arial, sans-serif; font-style: normal; font-size: 13px; font-weight: 700; letter-spacing: -.02em; color: #107ACA; margin-bottom: -4px; }
.dcl-buch small { font-size: 12.5px; color: var(--ink-3); }
.dcl-chips { display: flex; gap: 6px; margin-top: auto; }
.dcl-chips > i { position: relative; flex: 1; padding: 7px 0; border-radius: 7px; background: var(--db-s); color: var(--db-d); font-style: normal; font-size: 13px; font-weight: 600; text-align: center; }
.dcl-chips u { position: absolute; inset: 0; display: grid; place-items: center; border-radius: 7px; background: var(--db); color: #fff; text-decoration: none; }
.dcl-hoerer { align-items: flex-start; }
.dcl-hoerer-k { display: flex; align-items: center; gap: 10px; }
.dcl-hoerer-k > span:last-child { display: flex; flex-direction: column; }
.dcl-hoerer .dcl-welle { margin-top: auto; }
.dcl-rohr { position: relative; width: 2px; height: 46px; background: repeating-linear-gradient(180deg, #C5CFD8 0 4px, transparent 4px 8px); }
.dcl-punkt { position: absolute; left: -5px; top: -6px; width: 12px; height: 12px; border-radius: 50%; background: var(--db); }
.dcl-quelle.tel .dcl-punkt { background: var(--accent); }
.k-flow .dcl-punkt[data-at] { transition: none; }
.k-flow .dcl-punkt.on { animation: dclFall .65s cubic-bezier(.5,0,.8,.6) both; }
@keyframes dclFall { from { transform: translateY(0); } to { transform: translateY(46px); } }
.dcl-tagliste { grid-column: 1 / -1; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px rgba(16,60,100,.12), 0 26px 56px -30px rgba(16,60,100,.45); overflow: hidden; }
.dcl-tagliste-h { display: flex; align-items: center; gap: 10px; padding: 7px 14px; background: var(--dn); color: #fff; font-family: Inter, -apple-system, "Segoe UI", Arial, sans-serif; }
.dcl-tagliste-h em { font-style: normal; font-size: 13px; font-weight: 600; }
.dcl-tagliste-h span { margin-left: auto; font-size: 12.5px; }
.dcl-tagliste { font-family: Inter, -apple-system, "Segoe UI", Arial, sans-serif; }
.dcl-zl { display: grid; grid-template-columns: 52px 1fr; align-items: center; height: 42px; border-top: 1px solid var(--dr); }
.dcl-zl time { padding-right: 10px; font-size: 11px; text-align: right; color: var(--dt2); }
.dcl-zl > span { --lh: 34px; display: flex; align-items: center; gap: 8px; height: 34px; margin-right: 8px; padding: 0 10px 0 9px; border-radius: 4px; border-left: 4px solid var(--c); background: var(--bg); color: #1F2A44; font-size: 13.5px; box-shadow: 0 1px 2px rgba(31,42,68,.14); }
.dcl-zl em { flex: 1; font-style: normal; }
.dcl-zl b { font-weight: 700; }
.dcl-zl .dcl-q { font-size: 13.5px; } .dcl-zl .dcl-q.tel svg { width: 19px; height: 19px; padding: 4px; }
.k-flow .dcl-zl[data-at] { opacity: 1; }
.k-flow .dcl-zl[data-at] > span { opacity: 0; transform: scale(.9); transform-origin: left center; transition: opacity .3s, transform .45s cubic-bezier(.2,1.5,.4,1); }
.k-flow .dcl-zl.on > span { opacity: 1; transform: none; }
.dcl-zl.tel > span { box-shadow: 0 0 0 1.5px var(--accent); }

/* Abschnitt: Umschalter */
.dcl-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); }
.dcl-wahl button { padding: 9px 18px; border: 0; border-radius: 999px; background: none; font: inherit; font-size: 15px; font-weight: 500; color: var(--ink-2); cursor: pointer; }
.dcl-wahl button.on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(20,22,27,.14); }
.dcl-pick { display: none; }
.dcl-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.dcl-panels { margin: 40px auto 0; max-width: 980px; padding: 36px 36px 0; border-radius: 28px; border: 1px solid #CADCEB; background: linear-gradient(180deg, #F0F6FE, #D9E6F5); overflow: hidden; }
.dcl-panel { display: none; }
.dcl-panel.on { display: block; }
.dcl-fall { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 28px; align-items: start; }
.dcl-karte { align-self: center; margin-bottom: 36px; padding: 16px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px rgba(20,22,27,.07), 0 24px 50px -22px rgba(20,30,60,.45); text-align: left; min-height: 252px; display: flex; flex-direction: column; gap: 8px; }
.dcl-karte-h { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.dcl-karte-h .dcl-anruf-av, .dcl-karte-h .kn-app { width: 34px; height: 34px; flex: none; }
.dcl-karte-h .dcl-anruf-av svg { width: 16px; height: 16px; }
.dcl-karte-h b { font-size: 15px; font-weight: 600; color: var(--ink); }
.dcl-karte-h time, .dcl-karte-h .dcl-uhr { margin-left: auto; font-size: 12.5px; color: var(--ink-3); }
.dcl-bl { max-width: 88%; margin: 0; padding: 8px 11px; border-radius: 14px; font-size: 13.5px; line-height: 1.4; color: var(--ink); }
.dcl-bl.pat { align-self: flex-start; background: #F0F1F4; border-bottom-left-radius: 5px; }
.dcl-bl.ph { align-self: flex-end; background: var(--accent-soft); border-bottom-right-radius: 5px; }
.k-flow .dcl-bl[data-at] { transform: translateY(6px); }
.k-flow .dcl-bl.on { transform: none; }
.dcl-karte.wa .dcl-bl.ph { align-self: flex-start; background: #F0F1F4; border-radius: 14px 14px 14px 5px; }
.dcl-karte.wa .dcl-bl.pat { align-self: flex-end; background: #D9FDD3; border-radius: 14px 14px 5px 14px; }
.k-flow .dcl-ev.wandert[data-at] { opacity: 1; z-index: 4; transition: transform 1s cubic-bezier(.5,0,.2,1), box-shadow .3s; }
.k-flow .dcl-ev.wandert.on { transform: translate(calc(100% + 7px), calc(-1 * var(--h))); box-shadow: 0 0 0 2px var(--accent), 0 10px 22px -8px rgba(79,70,229,.55); }
.dcl-satz { max-width: 560px; margin: 28px auto 0; text-align: center; }
.dcl-satz p { display: none; margin: 0; font-size: 18px; line-height: 1.55; color: var(--ink-2); text-wrap: balance; }
.dcl-satz p.on { display: block; }

/* Terminkarte und Dialog: Karten wie in der Akte, cremefarbener Patientenkopf */
.dcl-dlg { display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; padding: 22px; background: var(--dbg); }
.dcl-klein .dcl-dlg { min-height: 100%; }
.dcl-klein .dcl-main { display: flex; flex-direction: column; } .dcl-klein .dcl-main > .dcl-dlg { flex: 1; }
.dcl-tk { width: 100%; max-width: 560px; border: 1px solid var(--dl); border-radius: 8px; background: #fff; box-shadow: 0 14px 34px -18px rgba(31,42,68,.45); color: var(--dt); overflow: hidden; }
.dcl-tk-h { display: flex; align-items: center; justify-content: space-between; height: 42px; padding: 0 14px; border-bottom: 1px solid var(--dl); }
.dcl-tk-h b { font-size: 15px; font-weight: 700; }
.dcl-x { position: relative; width: 14px; height: 14px; }
.dcl-x::before, .dcl-x::after { content: ""; position: absolute; left: 6px; top: -1px; width: 2px; height: 16px; border-radius: 1px; background: #8E9BB0; transform: rotate(45deg); }
.dcl-x::after { transform: rotate(-45deg); }
.dcl-tk-b { display: grid; grid-template-columns: 190px minmax(0, 1fr); }
.dcl-tk-pat { position: relative; display: flex; flex-direction: column; gap: 7px; padding: 10px 10px 14px; border-right: 1px solid var(--dl); }
.dcl-pk { position: relative; display: flex; flex-direction: column; padding: 9px 11px 11px; border-radius: 6px; background: #FEF9E5; }
.dcl-pk small { font-size: 11px; color: var(--dt2); }
.dcl-pk b { font-size: 15.5px; font-weight: 700; line-height: 1.2; }
.dcl-pk span { margin-top: 3px; font-size: 12px; }
.dcl-pk-d { position: absolute; right: 8px; top: 8px; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--db); color: #fff; font: italic 700 11px/1 Georgia, serif; }
.dcl-ab { margin: 5px 0 0 2px; font-style: normal; font-size: 10.5px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--dt); }
.dcl-tk-z { display: flex; align-items: center; gap: 7px; margin-left: 2px; font-size: 12.5px; white-space: nowrap; }
.dcl-tk-z svg { flex: none; width: 13px; height: 13px; fill: var(--db); }
.dcl-tk-z.mail svg { fill: none; stroke: var(--db); stroke-width: 2; }
.dcl-tk-f { display: grid; gap: 9px; align-content: start; padding: 12px 14px 14px; }
.dcl-f { display: grid; gap: 3px; }
.dcl-f > span { font-size: 11.5px; font-weight: 600; color: var(--dt2); }
.dcl-f > em { position: relative; display: flex; align-items: center; gap: 8px; min-height: 34px; padding: 0 10px; border: 1px solid #B9C7D8; border-radius: 5px; background: #fff; font-style: normal; font-size: 13.5px; transition: border-color .3s, box-shadow .3s; }
.dcl-f.notiz > em { align-items: flex-start; min-height: 54px; padding-top: 8px; }
.dcl-f > em:has(.dcl-neu.on) { border-color: var(--accent); box-shadow: 0 0 0 2px rgba(79,70,229,.22); }
.dcl-neu { text-decoration: none; font-weight: 600; color: var(--accent-deep); }
.k-flow .dcl-neu[data-at] { transform: translateY(4px); }
.k-flow .dcl-neu.on { transform: none; }
.dcl-dot { flex: none; width: 4px; height: 16px; border-radius: 2px; background: var(--c); }
.dcl-dot.k { --c: #C5D54D; } .dcl-dot.z { --c: #3DB06C; } .dcl-dot.f { --c: #E589AA; }
.dcl-tk-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; border-top: 1px solid var(--dl); }
.dcl-np .dcl-tk-foot { justify-content: flex-end; }
.dcl-btn { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 5px; background: var(--db); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.dcl-btn svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; }
.dcl-btn .k-sw { display: inline-flex; align-items: center; gap: 6px; }
.dcl-np { max-width: 400px; }
.dcl-np .dcl-tk-f { grid-template-columns: 1fr 1fr; }
.dcl-np .dcl-f:nth-child(n+3) { grid-column: 1 / -1; }
.dcl-f .k-grau { background: #E3ECF6; }

/* Abschnitt: liest und trägt ein */
.dcl-lw { display: grid; grid-template-columns: 216px minmax(0, 1fr) 216px; align-items: center; gap: 28px; max-width: 1140px; margin: 44px auto 0; text-align: left; }
.dcl-lw-k h3 { margin: 0 0 10px 8px; font-family: var(--sans); font-size: 15px; font-weight: 600; color: var(--ink-3); }
.dcl-lw-k ul { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.dcl-lw-k li { position: relative; display: flex; align-items: center; gap: 11px; padding: 7px 8px; font-size: 16px; font-weight: 500; line-height: 1.25; color: var(--ink); }
.dcl-lw-k li > span, .dcl-ic { position: relative; }
.dcl-ic { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: var(--db-s); color: var(--db-d); }
.dcl-ic svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.dcl-lw-k.schreibt .dcl-ic { background: var(--accent-soft); color: var(--accent-deep); }
.dcl-li-hl { position: absolute; inset: 0; border-radius: 12px; background: var(--db-s); box-shadow: 0 0 0 2px var(--db); }
.dcl-lw-k.schreibt .dcl-li-hl { background: var(--accent-soft); box-shadow: 0 0 0 2px var(--accent); }
.dcl-lw-win { border-radius: 12px; }
.dcl-lw-app { display: grid; grid-template-columns: 178px minmax(0, 1fr); }
.dcl-lw-app .dcl-kal { --h: 70px; display: flex; flex-direction: column; border-right: 1px solid var(--dl); }
.dcl-lw-app .dcl-raster { flex: 1; }
.dcl-lw-app .dcl-tag { height: auto; min-height: calc(var(--std) * var(--h)); }
.dcl-lw-app .dcl-dlg { padding: 16px; }
.dcl-lw-app .dcl-zu { height: auto; bottom: 0; }
.dcl-lw-app .dcl-tk-b { grid-template-columns: 176px minmax(0, 1fr); }
.dcl-hl { position: absolute; inset: -4px; z-index: 5; border-radius: 9px; border: 2px solid var(--db); background: rgba(41,119,185,.14); pointer-events: none; }
.dcl-hl.w { border-color: var(--accent); background: rgba(79,70,229,.1); }
.dcl-ev .dcl-hl { inset: 0 0 0 -4px; border-radius: 4px; }
.dcl-tk-pat .dcl-hl { inset: 5px; }
.dcl-offen-hl { position: absolute; left: 0; right: 0; top: calc((var(--s) - var(--von)) * var(--h)); height: calc(var(--d) * var(--h)); pointer-events: none; z-index: 5; }
.dcl-offen-hl .dcl-hl { inset: 1px; background: rgba(16,122,202,.1); }
.dcl-ev.offen { box-shadow: 0 0 0 2px var(--db); z-index: 2; }
.k-flow .dcl-ev.runter[data-at] { opacity: 1; z-index: 4; transition: transform .8s cubic-bezier(.5,0,.2,1), box-shadow .3s; }
.k-flow .dcl-ev.runter.on { transform: translateY(calc(var(--h) / 2)); box-shadow: 0 0 0 2px var(--accent), 0 10px 22px -8px rgba(79,70,229,.55); }
.dcl-doks { max-width: 640px; margin: 32px auto 0; font-size: 17px; line-height: 1.55; text-align: center; color: var(--ink-2); text-wrap: balance; }

/* Abschnitt: Einrichtung */
.dcl-drei { max-width: 620px; margin: 32px auto 0; padding: 0; list-style: none; text-align: left; }
.dcl-drei li { display: grid; grid-template-columns: 44px 1fr; align-items: center; gap: 14px; padding: 16px 0; border-top: 1px solid var(--hair); font-size: 18px; line-height: 1.45; color: var(--ink); }
.dcl-drei li:first-child { border-top: 0; }
.dcl-drei b { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--db-s); color: var(--db-d); font-size: 17px; font-weight: 600; }

@media (prefers-reduced-motion: reduce) {
  .dcl-welle.on i, .dcl-ring.on, .dcl-slot.on, .dcl-ev.neu.on::after { animation: none; }
  .dcl-slot:not(.bleibt), .dcl-punkt { display: none; }
}

@media (max-width: 900px) {
  .dcl-seite { display: none; }
  .dcl-win.dcl-gross { --nav: 40px; }
  .dcl-gross .dcl-nav em, .dcl-gross .dcl-nav-av, .dcl-gross .dcl-ob, .dcl-gross .dcl-sym, .dcl-gross .dcl-tool-r { display: none; }
  .dcl-gross .dcl-nav > span { padding: 7px 0; }
  .dcl-gross .dcl-av { margin-left: auto; }
  .dcl-anrufe { left: auto; right: 14px; bottom: 22px; }
  .dcl-fall { grid-template-columns: 1fr; gap: 0; }
  .dcl-karte { width: min(100%, 360px); margin: 0 auto 22px; }
}

@media (max-width: 720px) {
  .sx-stage.sx-pvs_doctolib { padding: 16px 12px 0; }
  .dcl-anrufe { position: relative; right: auto; bottom: auto; width: auto; margin: 0 4px -18px; }
  .dcl-anruf { align-self: end; }
  .dcl-held .dcl-anrufe { min-height: 118px; }
  .dcl-th.rand, .dcl-tag.rand { display: none; }
  .dcl-kopf, .dcl-raster { grid-template-columns: var(--z) repeat(var(--m), minmax(0, 1fr)); }
  .dcl-win, .dcl-win.dcl-gross { --nav: 32px; }
  .dcl-kal { --h: 66px; --z: 34px; }
  .dcl-zeit span { padding-right: 4px; font-size: 9.5px; }
  .dcl-chrome { height: 26px; } .dcl-url { height: 17px; line-height: 17px; font-size: 10.5px; transform: translateX(-18px); }
  .dcl-bar { height: 40px; padding-right: 10px; gap: 8px; } .dcl-logo { font-size: 20px; } .dcl-such { height: 28px; font-size: 12px; flex: 1 1 auto; }
  .dcl-av { width: 24px; height: 24px; font-size: 10px; }
  .dcl-nav svg { width: 17px; height: 17px; }
  .dcl-tool { height: 42px; padding: 0 6px 0 8px; gap: 5px; } .dcl-tool b { font-size: 12.5px; }
  .dcl-tool .lang, .dcl-heute, .dcl-tool .dcl-pf, .dcl-burger { display: none; } .dcl-tool .kurz { display: inline; }
  .dcl-sicht { font-size: 10px; padding: 1px; } .dcl-sicht i { padding: 4px 5px; }
  .dcl-th { height: 34px; padding: 0 4px 0 6px; font-size: 12px; }
  .dcl-ev { font-size: 11px; padding: 0 3px 0 4px; gap: 2px; }
  .dcl-q { font-size: 11px; } .dcl-q.tel svg { width: 14px; height: 14px; }
  .dcl-ev > span:has(b) { margin-top: 3px; max-height: 2.3em; font-size: 10.5px; line-height: 1.15; white-space: normal; }
  .dcl-ev > span:has(b) b { display: block; overflow: hidden; text-overflow: ellipsis; font-size: 10px; letter-spacing: -.02em; }
  .dcl-lw-app .dcl-ev time { display: none; }
  .dcl-ev.neu .dcl-q { position: absolute; right: -2px; top: -10px; height: auto; }
  .dcl-ev.neu .dcl-q.tel svg { width: 18px; height: 18px; padding: 4px; box-shadow: 0 0 0 2px #fff; }
  .dcl-hoerer-k { flex-direction: column; align-items: flex-start; gap: 8px; }
  .dcl-zwei { gap: 0 12px; margin-top: 28px; }
  .dcl-buch, .dcl-hoerer { padding: 13px 12px; min-height: 122px; }
  .dcl-chips { gap: 4px; } .dcl-chips > i { font-size: 12px; }
  .dcl-wahl { display: none; }
  .dcl-pick { position: relative; display: block; margin: 22px auto 0; max-width: 340px; }
  .dcl-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; }
  .dcl-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; }
  .dcl-panels { margin-top: 20px; padding: 16px 12px 0; border-radius: 22px; }
  .dcl-karte { min-height: 216px; margin-bottom: 16px; }
  .dcl-satz { margin-top: 20px; text-align: left; } .dcl-satz p { font-size: 16.5px; }
  .dcl-lw { grid-template-columns: 1fr 1fr; gap: 16px 8px; margin-top: 28px; align-items: start; }
  .dcl-lw-m { grid-column: 1 / -1; grid-row: 1; }
  .dcl-lw-k h3 { margin-left: 6px; font-size: 13.5px; }
  .dcl-lw-k li { gap: 8px; padding: 6px; font-size: 14px; line-height: 1.2; }
  .dcl-ic { width: 28px; height: 28px; }
  .dcl-lw-app { grid-template-columns: 96px minmax(0, 1fr); }
  .dcl-lw-app .dcl-zeit, .dcl-lw-app .dcl-ecke { display: none; }
  .dcl-lw-app .dcl-kopf, .dcl-lw-app .dcl-raster { grid-template-columns: 1fr; }
  .dcl-lw-app .dcl-kal { --h: 76px; }
  .dcl-lw-app .dcl-dlg { padding: 8px; place-items: start stretch; }
  .dcl-lw-app .dcl-tag, .dcl-lw-app .dcl-th { border-left: 0; }
  .dcl-lw-app .dcl-pkt { display: none; }
  .dcl-dlg { padding: 12px 10px 20px; }
  .dcl-tk-b, .dcl-lw-app .dcl-tk-b { grid-template-columns: 1fr; }
  .dcl-tk-pat { padding: 8px 8px 12px; border-right: 0; border-bottom: 1px solid var(--dl); }
  .dcl-tk-f { padding: 10px 12px 12px; gap: 8px; }
  .dcl-tk-h { height: 38px; padding: 0 12px; }
  .dcl-tk-foot { padding: 10px 12px; }
  .dcl-lw-app .dcl-f > em { font-size: 13px; padding: 0 8px; }
  .dcl-doks { margin-top: 24px; font-size: 16.5px; text-align: left; }
  .dcl-drei { margin-top: 20px; } .dcl-drei li { font-size: 16.5px; grid-template-columns: 38px 1fr; } .dcl-drei b { width: 38px; height: 38px; font-size: 15px; }
}
