/* /physiotherapie/terminausfaelle/ – Ratgeber. Kopf: Vereinbarung als Blatt. Rechner, Umschalter, Leiste, Warteliste. Präfix rga- */
.rga-kopf, .rga-sec { --k-ink: #131722; --k-ink7: #3d4659; --k-ink5: #687184; --k-ink4: #9aa1ae; --k-hair: #e6e8ee; }
.rga-sec .k-badge { padding: 3px 9px; font-size: 11.5px; background: #f0f3f9; color: var(--k-ink5); }
.rga-sec .k-badge.ok { background: #e6f4ec; color: #1a9b59; }
.rga-sec .k-badge.go { background: #eef0fb; color: #4f46e5; }
.rga-sec .k-badge.warn { background: #fff7ed; color: #b5740f; }
.rga-sec .k-badge.rot { background: #fef2f2; color: #b91c1c; }

/* ---------- Kopf ---------- */
body .rga-kopf.hero-stage h1:not(#_):not(#__) { font-size: clamp(38px, 4.6vw, 60px); max-width: 21ch; margin-bottom: 22px; }
body .rga-kopf.hero-stage .lede:not(#_) { font-size: clamp(17.5px, 1.5vw, 19.5px); max-width: 720px; }
.rga-stand { margin: 16px 0 0; font-size: 14px; color: var(--ink-3); }
.sx-rg_ausfaelle { max-width: 820px; padding: 48px 24px 56px; }

.rga-stapel { position: relative; width: min(100%, 480px); margin: 0 auto; transform: rotate(-1.1deg); }
.rga-blatt { position: relative; padding: 34px 38px 30px; border-radius: 3px; background: #fff; box-shadow: 0 0 0 1px rgba(20,22,27,.07), 0 34px 60px -32px rgba(20,22,27,.45), 0 8px 18px -12px rgba(20,22,27,.18); color: #1b1d23; font-size: 14.5px; line-height: 1.5; text-align: left; }
.rga-hinten { position: absolute; inset: 0; padding: 0; background: #FDFCFA; transform: rotate(2.6deg) translate(6px, 3px); }
.rga-brief { display: flex; align-items: center; gap: 10px; padding-bottom: 16px; border-bottom: 1px solid #ECEAE3; }
.rga-brief > span:last-child { display: flex; flex-direction: column; gap: 6px; line-height: 1.2; }
.rga-brief b { font-size: 14.5px; font-weight: 650; letter-spacing: -.005em; }
.rga-logo { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: #1E7F4F; color: #fff; font-family: var(--serif); font-size: 19px; font-weight: 600; flex: 0 0 auto; }
.rga-titel { display: block; margin: 22px 0 14px; font-family: var(--serif); font-size: 23px; font-weight: 600; letter-spacing: -.015em; line-height: 1.2; }
.rga-feld { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 6px; background: #F6F5F0; font-size: 13.5px; }
.rga-feld span { color: #7A7D86; }
.rga-feld b { font-weight: 600; }
.rga-fl { display: grid; gap: 9px; margin: 16px 0; }
.rga-fl i { height: 7px; border-radius: 99px; background: #ECEDF0; }
.rga-p { display: flex; gap: 12px; margin: 0 0 11px; font-size: 14.5px; line-height: 1.48; color: #1b1d23; }
.rga-p > i { flex: 0 0 auto; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%; background: #F0EFEA; font-style: normal; font-size: 11.5px; font-weight: 650; line-height: 20px; text-align: center; color: #50545E; }
.rga-p b { font-weight: 650; background: linear-gradient(transparent 62%, #FBE9A9 62%); }
.rga-unten { display: grid; grid-template-columns: .8fr 1fr; align-items: end; gap: 26px; margin-top: 30px; }
.rga-unten > span { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 54px; border-bottom: 1px solid #1b1d23; }
.rga-unten b { padding-bottom: 5px; font-size: 13.5px; font-weight: 500; }
.rga-unten small { position: absolute; left: 0; top: 100%; margin-top: 5px; font-size: 10.5px; color: #8A8D96; white-space: nowrap; }
.rga-sig { position: absolute; left: 4px; bottom: -6px; width: 150px; height: 46px; fill: none; stroke: #1F3A93; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.rga-sig path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.k-flow .rga-sig[data-at] { opacity: 1; }
.rga-sig.on path { stroke-dashoffset: 0; transition: stroke-dashoffset 1.9s cubic-bezier(.45,.05,.4,1); }
.rga-linie .k-tap { left: 34px; top: 34px; }
.rga-blatt { padding-bottom: 48px; }
.rga-haken { position: absolute; right: -14px; top: -14px; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #1E9E5E; box-shadow: 0 0 0 5px #fff, 0 12px 22px -10px rgba(30,127,79,.7); }
.rga-haken svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; }
.k-flow .rga-haken[data-at] { transform: scale(.4) rotate(-20deg); transition: opacity .25s, transform .5s cubic-bezier(.2,1.5,.4,1); }
.k-flow .rga-haken[data-at].on { transform: none; }

/* ---------- Abschnitte ---------- */
.rga-sec .sec-head h2 { hyphens: manual; -webkit-hyphens: manual; }
.rga-lead { margin: 16px auto 0 !important; max-width: 640px !important; font-size: 18px; line-height: 1.55; color: var(--ink-2); }
.rga-fuss { margin: 20px 0 0; text-align: center; font-size: 15.5px; color: var(--ink-2); }
.rga-fuss a, .rga-quellen a { color: var(--accent-deep); font-weight: 600; }

/* ---------- Rechner ---------- */
.rga-rech { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 48px; align-items: center; max-width: 980px; margin: 40px auto 0; padding: 38px 40px; border-radius: 26px; border: 1px solid var(--hair); background: #fff; box-shadow: 0 30px 60px -44px rgba(20,22,27,.35); }
.rga-regler { display: grid; gap: 26px; }
.rga-reg { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 10px 12px; font-size: 15.5px; color: var(--ink-2); }
.rga-reg output { font-size: 19px; font-weight: 650; color: var(--ink); font-variant-numeric: tabular-nums; }
.rga-reg input { grid-column: 1 / -1; -webkit-appearance: none; appearance: none; width: 100%; height: 28px; margin: 0; background: none; cursor: pointer; --p: 50%; }
.rga-reg input::-webkit-slider-runnable-track { height: 6px; border-radius: 99px; background: linear-gradient(to right, var(--accent) 0 var(--p), #E6E3DA var(--p) 100%); }
.rga-reg input::-moz-range-track { height: 6px; border-radius: 99px; background: linear-gradient(to right, var(--accent) 0 var(--p), #E6E3DA var(--p) 100%); }
.rga-reg input::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -10px; border-radius: 50%; background: #fff; border: 1px solid #D5D2C8; box-shadow: 0 2px 6px rgba(20,22,27,.22); }
.rga-reg input::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 1px solid #D5D2C8; box-shadow: 0 2px 6px rgba(20,22,27,.22); }
.rga-reg input:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 8px; }
.rga-raster { display: grid; grid-template-columns: repeat(20, 1fr); gap: 6px; }
.rga-raster i { aspect-ratio: 1; border-radius: 50%; background: #C7CBF3; transition: background .25s, box-shadow .25s; }
.rga-raster i.leer { background: #fff; box-shadow: inset 0 0 0 2px #E5484D; }
.rga-satz { margin: 26px 0 0; font-size: 21px; line-height: 1.45; letter-spacing: -.01em; color: var(--ink); }
.rga-satz b { font-weight: 650; white-space: nowrap; font-variant-numeric: tabular-nums; }
.rga-satz b[data-e="j"] { color: #C0352B; }

/* ---------- Umschalter ---------- */
.rga-um { margin-top: 36px; }
.rga-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; width: fit-content; max-width: 100%; margin: 0 auto 26px; padding: 4px; border-radius: 26px; background: var(--paper-2); border: 1px solid var(--hair); }
.rga-tabs button { appearance: none; border: 0; padding: 10px 17px; border-radius: 999px; background: none; font: inherit; font-size: 15px; font-weight: 600; color: var(--ink-2); cursor: pointer; transition: background .2s, color .2s; }
.rga-tabs button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(20,22,27,.14); }
.rga-sel { display: none; }
.rga-pan { display: none; }
.rga-pan.on { display: block; animation: rgaIn .35s var(--ease) both; }
@keyframes rgaIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.rga-pan > p { max-width: 600px; min-height: 84px; margin: 24px auto 0; text-align: center; font-size: 18.5px; line-height: 1.5; color: var(--ink); }
.rga-fall { max-width: 480px; margin: 0 auto; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px var(--k-hair), 0 30px 56px -34px rgba(19,23,34,.4); color: var(--k-ink); text-align: left; overflow: hidden; }
.rga-ft { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 4px 14px; padding: 18px 20px; }
.rga-tag { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 46px; height: 50px; border-radius: 11px; background: #ecf2fd; box-shadow: inset 0 3px 0 #3b74db; color: #1c3d78; line-height: 1.1; flex: 0 0 auto; }
.rga-tag small { font-size: 11px; font-weight: 500; }
.rga-tag b { font-size: 19px; font-weight: 600; }
.rga-wer { display: flex; flex-direction: column; gap: 2px; min-width: 0; line-height: 1.25; text-align: left; }
.rga-wer b { font-size: 15.5px; font-weight: 550; }
.rga-wer small { font-size: 12.5px; color: var(--k-ink5); }
.rga-wer s { color: var(--k-ink4); text-decoration-thickness: 1.5px; }
.rga-fz { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 14px 20px; border-top: 1px solid #f0f1f5; font-size: 14.5px; color: var(--k-ink7); }
.rga-fz b { font-size: 21px; font-weight: 600; letter-spacing: -.01em; font-variant-numeric: tabular-nums; color: var(--k-ink); }
.rga-fz.null b { color: var(--k-ink4); font-weight: 500; }

/* ---------- Leiste ---------- */
.rga-leiste { max-width: 940px; margin: 40px auto 0; padding: 34px 36px 36px; border-radius: 26px; border: 1px solid var(--hair); background: #fff; box-shadow: 0 30px 60px -44px rgba(20,22,27,.35); }
.rga-marken { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.rga-st { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 2px; padding-bottom: 14px; text-align: center; }
.rga-st b { font-size: 15.5px; font-weight: 600; line-height: 1.25; }
.rga-st time { font-size: 13px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.rga-st > i { order: 3; display: grid; place-items: center; width: 40px; height: 40px; margin-top: 10px; border-radius: 50%; background: #F0EFEA; color: var(--ink-2); }
.rga-st > i svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.rga-st.go > i { background: #eef0fb; color: #4f46e5; }
.rga-st.rot > i { background: #fef2f2; color: #c0352b; }
.rga-st.ok > i { background: #e6f4ec; color: #1a9b59; }
.rga-st.warn > i { background: #fff1dc; color: #b5740f; }
.rga-st::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 1.5px; height: 10px; margin-left: -.75px; background: #CFCBC0; }
.k-flow .rga-st[data-at] { transform: translateY(8px); }
.k-flow .rga-st[data-at].on { transform: none; }
.rga-spur { position: relative; display: flex; height: 34px; border-radius: 10px; }
.rga-spur span { display: grid; place-items: center; min-width: 0; }
.rga-spur em { font-style: normal; font-size: 13px; font-weight: 600; white-space: nowrap; }
.rga-spur .frei { flex: 0 0 70%; border-radius: 10px 0 0 10px; background: #e6f4ec; color: #17814b; }
.rga-spur .frist { flex: 1; border-radius: 0 10px 10px 0; background: repeating-linear-gradient(-45deg, #fdebd0 0 7px, #fff4e2 7px 14px); color: #9a5b0b; }
.k-flow .rga-spur span[data-at] { opacity: 1; clip-path: inset(0 100% 0 0); transition: clip-path .5s var(--ease); }
.k-flow .rga-spur .frei[data-at] { transition: clip-path 2.4s linear; }
.k-flow .rga-spur span[data-at].on { clip-path: inset(0); }

.rga-vorlagen { display: grid; grid-template-columns: 1.25fr 1fr; gap: 20px; max-width: 940px; margin: 20px auto 0; }
.rga-vorlagen figure { margin: 0; padding: 22px 22px 24px; border-radius: 22px; background: #EFEAE2; }
.rga-vorlagen h3 { margin: 0 0 12px; font-size: 16px; font-weight: 600; }
.rga-vorlagen blockquote { margin: 0; padding: 12px 15px 13px; border-radius: 14px; border-top-left-radius: 3px; background: #fff; box-shadow: 0 1px .5px rgba(11,20,26,.13); font-size: 15.5px; line-height: 1.5; color: #111B21; }

/* ---------- Praxishub: Anruf an die Warteliste ---------- */
.rga-buehne { max-width: 820px; margin: 40px auto 0; padding: 44px 24px 62px; border-radius: 28px; border: 1px solid var(--hair); background: linear-gradient(180deg, #F6F4EE, #EFECE4); }
.rga-ph { position: relative; display: flex; flex-direction: column; align-items: stretch; width: min(100%, 430px); margin: 0 auto; color: var(--k-ink); }
.rga-slot { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px var(--k-hair), 0 18px 34px -24px rgba(19,23,34,.4); }
.rga-slot .rga-slot-w { flex: 1; min-width: 0; justify-items: start; }
.rga-slot .k-swap:last-child { justify-items: end; }
.rga-pfeil { align-self: center; width: 0; height: 26px; border-left: 2px dashed #BDB9AC; }
.rga-wl { padding: 6px 16px 8px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px var(--k-hair), 0 18px 34px -24px rgba(19,23,34,.4); }
.rga-wl-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 0 11px; border-bottom: 1px solid #f0f1f5; }
.rga-wl-h b { font-size: 15px; font-weight: 600; }
.rga-wz { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid #f3f4f8; }
.rga-wz:last-child { border-bottom: 0; }
.rga-wz .rga-wer { flex: 1; }
.rga-wz.neben .rga-wer { gap: 8px; }
.rga-wer .k-grau { align-self: flex-start; }
.rga-wz.neben .rga-ic { opacity: .55; }
.rga-wz .k-swap { justify-items: end; }
.rga-ic { position: relative; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; flex: 0 0 auto; }
.rga-ic.tel { background: #eef0fb; color: #4f46e5; }
.rga-ic.wa { background: #e3f7ea; color: #1faa55; }
.rga-ic svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.rga-ic.wa svg { width: 18px; height: 18px; fill: currentColor; stroke: none; }
.rga-ring { position: absolute; inset: -3px; border-radius: 50%; border: 2px solid #4f46e5; }
.k-flow .rga-ring[data-at].on { animation: rgaRing 1.2s ease-out infinite; }
@keyframes rgaRing { from { transform: scale(.9); opacity: .9; } to { transform: scale(1.6); opacity: 0; } }
.rga-ruf { position: absolute; left: 50%; bottom: -34px; z-index: 2; display: flex; align-items: center; gap: 11px; width: min(100%, 360px); padding: 11px 12px 11px 13px; border-radius: 30px; background: #1C1C1E; color: #fff; box-shadow: 0 24px 40px -18px rgba(0,0,0,.55); font-family: -apple-system, "SF Pro Text", "Helvetica Neue", Arial, sans-serif; }
.k-flow .rga-ruf[data-at] { transform: translate(-50%, 16px) scale(.96); }
.k-flow .rga-ruf[data-at].on { transform: translate(-50%, 0); }
.rga-ruf-av { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(160deg, #A7ADBA, #6B7180); font-size: 18px; font-weight: 600; flex: 0 0 auto; }
.rga-ruf-t { display: flex; flex-direction: column; min-width: 0; margin-right: auto; line-height: 1.25; text-align: left; }
.rga-ruf-t b { font-size: 15.5px; font-weight: 600; white-space: nowrap; }
.rga-ruf-t small { font-size: 12.5px; color: rgba(255,255,255,.62); }
.rga-ruf > i { position: relative; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; flex: 0 0 auto; }
.rga-ruf > i svg { width: 19px; height: 19px; fill: #fff; stroke: none; }
.rga-ruf-x { background: #FF3B30; }
.rga-ruf-x svg { transform: rotate(135deg); }
.rga-ruf-ja { background: #34C759; }
.rga-ruf .k-tap { background: rgba(255,255,255,.5); }

.rga-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; max-width: 940px; margin: 34px auto 0; }
.rga-links a { position: relative; display: block; padding: 16px 30px 16px 0; border-top: 1px solid var(--hair); color: var(--ink); }
.rga-links b { display: block; font-size: 17px; font-weight: 600; color: var(--accent-deep); }
.rga-links span { display: block; margin-top: 3px; font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.rga-links svg { position: absolute; right: 2px; top: 20px; width: 17px; height: 17px; fill: none; stroke: var(--accent-deep); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.rga-links a:hover svg { transform: translateX(3px); }
.rga-sec .hero-cta { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; margin: 34px 0 0; }
.rga-quellen { max-width: 860px; margin: 44px auto 0; text-align: center; font-size: 13px; line-height: 1.6; color: var(--ink-3); }
#warteliste.rga-sec { padding-bottom: 104px; }

@media (min-width: 881px) {
  .rga-buehne { max-width: 940px; padding: 52px 40px 66px; }
  .rga-ph { flex-direction: row; align-items: center; width: 100%; max-width: 780px; }
  .rga-slot { flex: 0 0 320px; }
  .rga-pfeil { flex: 1; min-width: 30px; height: 0; border-left: 0; border-top: 2px dashed #BDB9AC; }
  .rga-wl { flex: 0 0 380px; }
  .rga-ruf { left: auto; right: 10px; bottom: -44px; }
  .k-flow .rga-ruf[data-at] { transform: translateY(16px) scale(.96); }
  .k-flow .rga-ruf[data-at].on { transform: none; }
}
@media (max-width: 880px) {
  .rga-rech { grid-template-columns: 1fr; gap: 30px; }
  .rga-tabs { display: none; }
  .rga-sel { display: block; width: 100%; max-width: 480px; margin: 0 auto 16px; padding: 14px 44px 14px 16px; border-radius: 14px; border: 1px solid var(--hair); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314161B' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 14px center / 18px; -webkit-appearance: none; appearance: none; font: inherit; font-size: 16.5px; font-weight: 600; color: var(--ink); }
  .rga-vorlagen { grid-template-columns: 1fr; gap: 12px; }
  .rga-links { grid-template-columns: 1fr; }
  .rga-links a:last-child { border-bottom: 1px solid var(--hair); }
}
@media (max-width: 720px) {
  body .rga-kopf.hero-stage h1:not(#_):not(#__) { font-size: clamp(33px, 9.4vw, 42px); max-width: none; }
  .sx-rg_ausfaelle { padding: 30px 16px 36px; }
  .rga-stapel { width: min(100%, 420px); }
  .rga-blatt { padding: 22px 20px 44px; font-size: 13.5px; }
  .rga-titel { margin: 16px 0 12px; font-size: 19.5px; }
  .rga-feld { font-size: 12.5px; padding: 8px 10px; }
  .rga-p { gap: 9px; font-size: 13.5px; margin-bottom: 9px; }
  .rga-fl { margin: 13px 0; gap: 8px; }
  .rga-unten { gap: 16px; margin-top: 22px; }
  .rga-unten b { font-size: 12.5px; }
  .rga-sig { width: 128px; height: 40px; }
  .rga-haken { right: -8px; top: -12px; width: 44px; height: 44px; }
  .rga-haken svg { width: 22px; height: 22px; }
  .rga-lead { font-size: 16.5px; }
  .rga-rech { margin-top: 24px; padding: 22px 18px 24px; border-radius: 20px; gap: 26px; }
  .rga-regler { gap: 20px; }
  .rga-raster { gap: 4px; }
  .rga-satz { margin-top: 20px; font-size: 18.5px; }
  .rga-um { margin-top: 22px; }
  .rga-pan > p { min-height: 0; margin-top: 18px; text-align: left; font-size: 17px; }
  .rga-ft { grid-template-columns: auto minmax(0, 1fr); padding: 14px 14px; }
  .rga-ft .k-badge { grid-column: 2; justify-self: start; margin-top: 4px; }
  .rga-fz { padding: 12px 14px; }
  .rga-leiste { margin-top: 24px; padding: 20px 10px 18px; border-radius: 20px; }
  .rga-st b { font-size: 11.5px; letter-spacing: -.01em; }
  .rga-st time { font-size: 10.5px; }
  .rga-st > i { width: 32px; height: 32px; margin-top: 8px; }
  .rga-st > i svg { width: 16px; height: 16px; }
  .rga-spur { height: 30px; }
  .rga-spur em { font-size: 11px; }
  .rga-vorlagen figure { padding: 16px 14px 18px; border-radius: 18px; }
  .rga-vorlagen blockquote { font-size: 15px; }
  .rga-buehne { margin-top: 24px; padding: 22px 14px 54px; border-radius: 22px; }
  .rga-slot { padding: 12px; gap: 11px; }
  .rga-wl { padding: 4px 12px 6px; }
  .rga-wer b { font-size: 14.5px; }
  .rga-sec .hero-cta { flex-direction: column; }
  .rga-sec .hero-cta .btn { width: 100%; }
  .rga-quellen { margin-top: 30px; text-align: left; }
  #warteliste.rga-sec { padding-bottom: 64px; }
}
@media (prefers-reduced-motion: reduce) {
  .rga-sig.on path, .k-flow .rga-spur span[data-at], .rga-pan.on { transition: none; animation: none; }
}
