/* /ratgeber/recall-automatisieren/ – Jahresband im Kopf, Tabelle der Abstände, eine SMS, Liste von Hand und von selbst, Rechner. Präfix rgr-. */

/* ---------- Kopf */
body .hero-stage.rgr-top h1:not(#_):not(#__) { font-size: clamp(34px, 4.6vw, 60px); max-width: 16ch; hyphens: manual; text-wrap: balance; }
body .hero-stage.rgr-top .lede:not(#_) { max-width: 720px; font-size: clamp(17px, 1.5vw, 19.5px); }
.rgr-stand { margin: 18px 0 0; font-size: 13.5px; color: var(--ink-3); }
.sx-rg_recall { padding: 40px 40px 44px; }

/* Die Akte: eine weiße Karte mit Kopfzeile, darin das Jahr */
.rgr-akte { max-width: 940px; margin: 0 auto; padding: 22px 30px 26px; border-radius: 22px; background: #fff; box-shadow: 0 0 0 1px rgba(19,23,34,.06), 0 30px 60px -34px rgba(19,23,34,.35); text-align: left; }
.rgr-akte-h { display: flex; align-items: center; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid #EEF0F4; }
.rgr-av { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #EEF0FB; color: #4f46e5; font-size: 13.5px; font-weight: 600; flex: 0 0 auto; }
.rgr-wer { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.rgr-wer b { font-size: 16px; font-weight: 600; color: #131722; line-height: 1.2; }
.rgr-wer .k-grau { font-size: 12.5px; }
.rgr-akte-h em { margin-left: auto; font-style: normal; font-size: 15px; font-weight: 600; color: #9AA1B0; font-variant-numeric: tabular-nums; }

/* Karten über und unter dem Band */
.rgr-oben { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; min-height: 96px; padding-top: 26px; }
.rgr-unten { display: flex; justify-content: flex-end; min-height: 92px; padding-top: 0; }
.rgr-k { display: grid; grid-template-columns: auto auto; align-items: center; justify-content: start; gap: 4px 11px; padding: 12px 16px 12px 13px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px #E6E8EE, 0 16px 30px -20px rgba(19,23,34,.4); }
.rgr-k > span:not(.rgr-blatt) { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; }
.rgr-k b { font-size: 15px; font-weight: 600; color: #131722; }
.rgr-k small { font-size: 13px; color: #687184; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rgr-k .k-badge { grid-column: 1 / -1; justify-self: start; margin-top: 5px; padding: 2px 9px; font-size: 11.5px; }
.rgr-k .k-badge.go { background: #eef0fb; color: #4f46e5; }
.rgr-k .k-badge.ok { background: #e6f4ec; color: #1a9b59; padding-left: 7px; }
.k-badge svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.rgr-k .kn-app, .rgr-ic { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; flex: 0 0 auto; }
.rgr-k .kn-app svg { width: 19px; height: 19px; }
.rgr-ic svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.rgr-ic.ok { background: #EEF0F4; color: #4B5468; }
.rgr-k1 { margin-left: max(0px, calc(37.5% - 78px)); }
.rgr-k2 { margin-right: max(0px, calc(12.5% - 72px)); }
.rgr-k3 { margin-top: 20px; box-shadow: 0 0 0 1.5px #1a9b59, 0 18px 34px -18px rgba(26,155,89,.45); }
.rgr-blatt { display: flex; flex-direction: column; align-items: center; width: 44px; border-radius: 10px; background: #fff; box-shadow: 0 0 0 1px #E6E8EE; overflow: hidden; }
.rgr-k .rgr-blatt small { width: 100%; padding: 2px 0; background: #e5484d; color: #fff; font-size: 9.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; text-align: center; }
.rgr-blatt b { padding: 1px 0 3px; font-size: 20px; line-height: 1.15; }
.k-flow .rgr-k[data-at] { transform: translateY(8px); }
.k-flow .rgr-k[data-at].on { transform: none; }
.k-flow .rgr-k3[data-at] { transform: translateY(-16px) scale(.92); transform-origin: 85% 0; transition: opacity .3s var(--ease), transform .5s cubic-bezier(.2,1.5,.35,1); }
.k-flow .rgr-k3[data-at].on { transform: none; }

/* Das Band: zwölf Monate, eine Schiene, die sich von Mai bis November füllt */
.rgr-band { position: relative; display: grid; grid-template-columns: repeat(12, 1fr); margin-top: 20px; }
.rgr-band::before { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 3px; border-radius: 2px; background: #E9EBF0; }
.rgr-lauf { position: absolute; z-index: 1; left: 37.5%; top: 6px; width: 50%; height: 3px; border-radius: 2px; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; }
.rgr-lauf.gruen { left: 87.5%; width: 8.3333%; background: #1a9b59; }
.k-flow .rgr-lauf[data-at] { opacity: 1; transition: none; }
.k-flow .rgr-lauf[data-at].on { transform: scaleX(1); transition: transform 2.4s linear; }
.k-flow .rgr-lauf.gruen[data-at].on { transition: transform .35s var(--ease); }
.rgr-mo { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 12px; font-size: 13px; font-weight: 500; color: #A6ACBA; transition: color .25s; }
.k-flow .rgr-mo[data-at] { opacity: 1; }
.rgr-mo i { display: block; width: 9px; height: 9px; margin: 3px 0; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 2px #CDD2DC; transition: box-shadow .25s, background .25s, transform .3s cubic-bezier(.2,1.6,.4,1); }
.rgr-mo.gross i { width: 15px; height: 15px; margin: 0; box-shadow: inset 0 0 0 3px #CDD2DC; }
.rgr-mo.gross { font-size: 14.5px; font-weight: 600; }
.rgr-mo.on { color: #131722; }
.rgr-mo.on i { background: var(--accent); box-shadow: inset 0 0 0 2px var(--accent); }
.rgr-mo.gross.on i { background: #fff; box-shadow: inset 0 0 0 4.5px var(--accent); transform: scale(1.12); }
.rgr-mo.gross.gruen.on i { background: #1a9b59; box-shadow: inset 0 0 0 4.5px #1a9b59; transform: scale(1.25); }
.rgr-mo.gross.gruen.on { color: #15803D; }
/* Stiele zwischen Karte und Monat */
.rgr-mo.gross::before { content: ""; position: absolute; left: 50%; bottom: 100%; width: 2px; height: 20px; margin-left: -1px; background: #DDE1E9; }
.rgr-mo.gross.gruen::before { bottom: auto; top: 100%; background: #1a9b59; transform: scaleY(0); transform-origin: 50% 0; transition: transform .25s; }
.rgr-mo.gross.gruen.on::before { transform: scaleY(1); }
.rgr-frist { position: absolute; z-index: 3; left: 62.5%; top: 7.5px; transform: translate(-50%, -50%); padding: 3px 10px; border-radius: 99px; background: #fff; box-shadow: 0 0 0 1.5px var(--accent); color: var(--accent-deep); font-size: 12px; font-weight: 600; white-space: nowrap; }
.k-flow .rgr-frist[data-at] { transform: translate(-50%, -50%) scale(.8); }
.k-flow .rgr-frist[data-at].on { transform: translate(-50%, -50%); }

/* ---------- Abschnitte */
.rgr-sec .sec-head p { margin-top: 16px; }
.rgr-p { max-width: 720px; margin: 32px auto 0; font-size: 17px; line-height: 1.6; color: var(--ink-2); }
.rgr-mitte { text-align: center; text-wrap: pretty; }
.rgr-letzte { padding-bottom: 110px; }

/* ---------- Tabelle der Abstände */
.rgr-tab { width: 100%; max-width: 920px; margin: 48px auto 0; border-collapse: separate; border-spacing: 0; border: 1px solid var(--hair); border-radius: 20px; background: #fff; overflow: hidden; text-align: left; }
.rgr-tab thead th { padding: 14px 24px; background: #F7F6F1; font-size: 13px; font-weight: 600; color: var(--ink-3); border-bottom: 1px solid var(--hair); }
.rgr-tab tbody th, .rgr-tab td { padding: 18px 24px; border-top: 1px solid #EFEDE6; vertical-align: middle; }
.rgr-tab tbody tr:first-child > * { border-top: 0; }
.rgr-tab tbody th { font-size: 16.5px; font-weight: 600; color: var(--ink); line-height: 1.3; }
.rgr-tab tbody th small { display: block; margin-top: 4px; font-size: 14px; font-weight: 400; line-height: 1.45; color: var(--ink-3); }
.rgr-ab { font-size: 17px; font-weight: 600; color: var(--accent-deep); white-space: nowrap; font-variant-numeric: tabular-nums; }
.rgr-jahr { width: 236px; white-space: nowrap; }
.rgr-jahr i { display: inline-block; width: 9px; height: 9px; margin-right: 8px; border-radius: 50%; background: #E9E7DF; vertical-align: middle; }
.rgr-jahr i:last-child { margin-right: 0; }
.rgr-jahr i.an { width: 13px; height: 13px; margin: 0 6px 0 -2px; background: var(--accent); }
.rgr-jahr i.halb { width: 13px; height: 13px; margin: 0 6px 0 -2px; background: #fff; box-shadow: inset 0 0 0 2.5px var(--accent); }

/* ---------- Die Einladung: ein iPhone, eine SMS */
.rgr-sms { display: flex; justify-content: center; align-items: flex-start; height: 430px; max-width: 760px; margin: 48px auto 0; padding-top: 40px; border-radius: 28px; border: 1px solid var(--hair); background: linear-gradient(180deg, #F6F4EE, #EFECE4); overflow: hidden; }
.rgr-sms .kp { width: 330px; }
.rgr-sms .ksm-chat { justify-content: flex-start; padding: 12px 14px; }
.rgr-sms .ksm-m { max-width: 86%; padding: 9px 14px; font-size: 16px; line-height: 1.36; }
.rgr-link { position: relative; color: #007AFF; text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Dieselbe Liste: von Hand und von selbst */
.rgr-vn { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 28px; max-width: 1000px; margin: 68px auto 0; }
.rgr-pfeil { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px var(--hair); color: var(--ink-3); }
.rgr-pfeil svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
/* Ausdruck */
.rgr-papier { position: relative; padding: 26px 26px 22px 44px; background: #fff; box-shadow: 0 1px 0 #E3E0D6, 0 22px 40px -26px rgba(20,22,27,.45); transform: rotate(-1.4deg); font-family: "Courier New", Courier, monospace; color: #2B2E36; text-align: left;
  background-image: radial-gradient(circle at 18px 34%, #EFECE4 0 6px, transparent 6.5px), radial-gradient(circle at 18px 66%, #EFECE4 0 6px, transparent 6.5px); }
.rgr-ph { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 10px; border-bottom: 1.5px solid #2B2E36; font-size: 13px; }
.rgr-ph b { font-size: 15px; letter-spacing: .02em; }
.rgr-pz { display: grid; grid-template-columns: 16px 1fr auto; align-items: center; gap: 0 10px; padding: 9px 0; border-bottom: 1px dotted #B9B6AC; font-size: 13.5px; }
.rgr-pz b { font-weight: 400; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rgr-pz span { color: #7B7F88; }
.rgr-pz em { grid-column: 2 / -1; min-height: 0; font-family: "Segoe Print", "Bradley Hand", "Comic Sans MS", cursive; font-style: italic; font-size: 14px; line-height: 1.1; color: #1F4FB5; transform: rotate(-1.5deg); transform-origin: 0 50%; }
.rgr-pz em:empty { display: none; }
.rgr-box { position: relative; display: block; width: 14px; height: 14px; border: 1.3px solid #2B2E36; }
.rgr-box svg { position: absolute; left: -2px; top: -8px; width: 22px; height: 22px; fill: none; stroke: #1F4FB5; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.rgr-hoerer { position: absolute; right: -14px; top: -18px; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #14161B; box-shadow: 0 12px 22px -10px rgba(20,22,27,.6); transform: rotate(1.4deg); }
.rgr-hoerer svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
/* Dieselbe Liste in der Software */
.rgr-digital { padding: 6px 22px 10px; border-radius: 20px; background: #fff; box-shadow: 0 0 0 1px rgba(19,23,34,.07), 0 26px 50px -30px rgba(19,23,34,.4); text-align: left; }
.rgr-dh { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0 12px; border-bottom: 1px solid #EEF0F4; }
.rgr-dh b { font-size: 16px; font-weight: 600; color: #131722; }
.rgr-dh span { font-size: 13px; color: #8A91A0; }
.rgr-dz { display: grid; grid-template-columns: 1fr auto 132px; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid #F1F2F6; }
.rgr-dz:last-child { border-bottom: 0; }
.rgr-dz b { font-size: 15px; font-weight: 500; color: #131722; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rgr-dz .k-grau { font-size: 13px; }
.rgr-dz .k-swap { justify-items: end; }
.rgr-dz .k-badge { padding: 3px 10px; font-size: 12px; }
.rgr-dz .k-badge.leer { background: #F0F3F9; color: #687184; }
.rgr-dz .k-badge.go { background: #eef0fb; color: #4f46e5; }
.rgr-dz .k-badge.ok { background: #e6f4ec; color: #1a9b59; padding-left: 7px; }

/* ---------- Rechner */
.rgr-calc { display: grid; grid-template-columns: 1.15fr 1fr; max-width: 920px; margin: 48px auto 0; border-radius: 24px; border: 1px solid var(--hair); background: #fff; overflow: hidden; text-align: left; }
.rgr-in { display: flex; flex-direction: column; justify-content: center; gap: 26px; padding: 36px 36px; }
.rgr-f label { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 16px; color: var(--ink-2); }
.rgr-f output { font-size: 19px; font-weight: 600; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.rgr-f input[type=range] { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 28px; margin: 6px 0 0; background: transparent; cursor: pointer; }
.rgr-f input[type=range]::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--accent) var(--p, 20%), #E9E7DF var(--p, 20%)); }
.rgr-f input[type=range]::-moz-range-track { height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--accent) var(--p, 20%), #E9E7DF var(--p, 20%)); }
.rgr-f input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -9px; border-radius: 50%; border: 0; background: #fff; box-shadow: 0 0 0 1px rgba(19,23,34,.12), 0 3px 8px rgba(19,23,34,.25); }
.rgr-f input[type=range]::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; border: 0; background: #fff; box-shadow: 0 0 0 1px rgba(19,23,34,.12), 0 3px 8px rgba(19,23,34,.25); }
.rgr-out { display: flex; flex-direction: column; justify-content: center; gap: 22px; padding: 36px; background: #F1F8F3; border-left: 1px solid #DCEBE1; }
.rgr-out p { margin: 0; display: flex; flex-direction: column; gap: 4px; }
.rgr-out b { font-size: clamp(38px, 4.4vw, 54px); font-weight: 600; line-height: 1; letter-spacing: -.03em; color: #15693F; font-variant-numeric: tabular-nums; }
.rgr-out span { font-size: 15px; line-height: 1.4; color: #3F5F4D; }
.rgr-out a, .rgr-links a { display: inline-flex; align-items: center; gap: 6px; font-size: 15.5px; font-weight: 600; color: var(--accent-deep); }
.rgr-out a svg, .rgr-links a svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.rgr-zitat { display: flex; align-items: center; gap: 16px; max-width: 720px; margin: 28px auto 0; padding: 0; }
.rgr-zitat img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; }
.rgr-zitat blockquote { margin: 0; font-size: 18px; line-height: 1.45; font-weight: 500; color: var(--ink); }
.rgr-zitat figcaption { margin-top: 5px; font-size: 13.5px; color: var(--ink-3); }
.rgr-links { display: flex; flex-wrap: wrap; gap: 10px 28px; max-width: 720px; margin: 24px auto 0; }
.rgr-quellen { max-width: 720px; margin: 40px auto 0; padding-top: 18px; border-top: 1px solid var(--hair); font-size: 13.5px; line-height: 1.6; color: var(--ink-3); }
.rgr-quellen a { color: var(--ink-2); text-decoration: underline; text-decoration-color: #CFCABA; text-underline-offset: 2px; }

/* ---------- Handy */
@media (max-width: 760px) {
  .rgr-top .hs-copy { text-align: left; }
  body .hero-stage.rgr-top h1:not(#_):not(#__), body .hero-stage.rgr-top .lede:not(#_) { margin-left: 0; }
  .sx-rg_recall { padding: 14px 12px 16px; }
  .rgr-akte { padding: 14px 14px 16px; border-radius: 18px; }
  .rgr-akte-h { padding-bottom: 12px; gap: 10px; }
  .rgr-av { width: 34px; height: 34px; }
  .rgr-wer b { font-size: 15px; }
  .rgr-oben { min-height: 92px; padding-top: 18px; gap: 6px; }
  .rgr-k { padding: 9px 11px 9px 9px; gap: 3px 8px; border-radius: 14px; }
  .rgr-k b { font-size: 14px; }
  .rgr-k small { font-size: 12px; }
  .rgr-k .kn-app, .rgr-ic { width: 28px; height: 28px; border-radius: 8px; }
  .rgr-k1 { margin-left: max(0px, calc(37.5% - 96px)); }
  .rgr-k2 { margin-right: 0; }
  .rgr-band { margin-top: 18px; }
  .rgr-mo { font-size: 10.5px; gap: 10px; letter-spacing: -.01em; }
  .rgr-mo.gross { font-size: 11.5px; }
  .rgr-mo.gross::before { height: 18px; }
  .rgr-frist { font-size: 11px; padding: 2px 8px; }
  .rgr-unten { min-height: 86px; }
  .rgr-k3 { margin-top: 18px; }

  .rgr-p { margin-top: 24px; font-size: 16.5px; }
  .rgr-mitte { text-align: left; }
  .rgr-letzte { padding-bottom: 64px; }

  .rgr-tab { margin-top: 28px; border-radius: 18px; }
  .rgr-tab thead { display: none; }
  .rgr-tab, .rgr-tab tbody { display: block; }
  .rgr-tab tr { display: grid; grid-template-columns: 1fr auto; gap: 10px 14px; align-items: start; padding: 16px 16px; border-top: 1px solid #EFEDE6; }
  .rgr-tab tbody tr:first-child { border-top: 0; }
  .rgr-tab tbody th, .rgr-tab td { padding: 0; border: 0; }
  .rgr-tab tbody th { font-size: 16px; }
  .rgr-ab { font-size: 16px; text-align: right; }
  .rgr-jahr { grid-column: 1 / -1; width: auto; display: flex; justify-content: space-between; align-items: center; }
  .rgr-jahr i, .rgr-jahr i.an, .rgr-jahr i.halb { margin: 0; }

  .rgr-sms { height: 392px; margin-top: 28px; padding-top: 28px; border-radius: 22px; }
  .rgr-sms .kp { width: 300px; }
  .rgr-sms .ksm-m { font-size: 15px; }

  .rgr-vn { grid-template-columns: 1fr; gap: 14px; margin-top: 44px; padding: 0 12px 0 8px; }
  .rgr-pfeil { justify-self: center; transform: rotate(90deg); }
  .rgr-papier { padding: 22px 18px 16px 38px; }
  .rgr-pz { padding: 7px 0; font-size: 13px; }
  .rgr-hoerer { right: 10px; top: -22px; width: 46px; height: 46px; }
  .rgr-digital { padding: 4px 16px 8px; }
  .rgr-dz { grid-template-columns: 1fr 124px; padding: 11px 0; }
  .rgr-dz .k-grau { display: none; }

  .rgr-calc { grid-template-columns: 1fr; margin-top: 28px; border-radius: 20px; }
  .rgr-in { padding: 24px 20px; gap: 22px; }
  .rgr-f label { font-size: 15.5px; }
  .rgr-out { padding: 24px 20px; border-left: 0; border-top: 1px solid #DCEBE1; gap: 18px; }
  .rgr-zitat blockquote { font-size: 16.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .k-flow .rgr-lauf[data-at].on { transition: none; }
}
