/* ASVANT-Webseite: nur, was in den Visuals liegt und das System nicht hat. */

/* Logo und Wortmarke in der Figuren-Schrift der App */
.nav__logo { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); }
.logo-mark { width: 28px; height: 28px; flex: none; --mark-bg: var(--action); --mark-ink: var(--action-ink); --mark-dot: var(--p-inv-accent, #8fd1ad); }
html[data-tone="dark"] .logo-mark { --mark-dot: var(--action-ink); }
.logo-word { height: 16px; width: auto; display: block; }
.close__word { font-family: var(--font-figure); font-weight: 400; letter-spacing: -.02em; }

/* Farbschema-Schalter */
.theme-toggle { width: 44px; height: 44px; display: inline-grid; place-items: center; border: 0; border-radius: 999px; background: transparent; color: var(--ink); cursor: pointer; transition: background-color .15s ease, transform .16s var(--ease); }
.theme-toggle:active { transform: scale(.94); }
@media (hover: hover) and (pointer: fine) { .theme-toggle:hover { background: color-mix(in oklab, var(--ink) 7%, transparent); } }
.theme-toggle svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.theme-toggle .ic-sun { display: none; }
html[data-tone="dark"] .theme-toggle .ic-sun { display: block; }
html[data-tone="dark"] .theme-toggle .ic-moon { display: none; }

/* ── App-Fenster (app-frame) ───────────────────────── */
.app-intro { display: grid; gap: var(--s-4); justify-items: start; }
.app-intro p { margin: 0; font-size: var(--t-lead); line-height: 1.55; }
.app.ui { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); margin-top: var(--s-7); background: var(--win-bg); border: 1px solid var(--win-line); border-radius: 16px; box-shadow: 0 24px 60px -30px rgba(20, 24, 18, .35), 0 2px 6px rgba(20, 24, 18, .05); color: var(--win-ink); font-size: 14px; }
.app > .app__pane { position: relative; min-width: 0; min-height: 0; overflow: hidden; }
.app > .app__pane + .app__pane { border-left: 1px solid var(--win-line); }
.app > .app__pane::after { content: ""; position: absolute; inset: auto 0 0 0; height: 64px; background: linear-gradient(transparent, var(--win-bg)); pointer-events: none; }
.win__bar { display: flex; align-items: center; gap: 12px; height: 40px; padding: 0 14px; border-bottom: 1px solid var(--win-line); background: var(--win-side); }
.win__dots { display: flex; gap: 6px; }
.win__dots i { width: 10px; height: 10px; border-radius: 50%; background: color-mix(in oklab, var(--win-ink) 18%, transparent); }
.win__title { font-size: 13px; color: var(--win-muted); font-weight: 500; }
.win__body { display: grid; grid-template-columns: 132px minmax(0, 1fr); }
.win__side { display: grid; align-content: start; gap: 2px; padding: 14px 10px; background: var(--win-side); border-right: 1px solid var(--win-line); min-height: 100%; }
.win__side span { padding: 7px 10px; border-radius: 8px; color: var(--win-muted); font-size: 13px; }
.win__side .is-on { background: var(--win-bg); color: var(--win-ink); font-weight: 550; box-shadow: 0 0 0 1px var(--win-line); }
.win__list { padding: 16px 0 0; min-width: 0; }
.win__head { display: flex; justify-content: space-between; align-items: baseline; padding: 0 18px; font-size: 14px; }
.win__head span { color: var(--win-muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.win__progress { height: 3px; margin: 12px 18px 6px; border-radius: 3px; background: color-mix(in oklab, var(--win-ink) 8%, transparent); }
.win__progress i { display: block; height: 100%; border-radius: 3px; background: var(--win-accent); }
.vchecks { list-style: none; margin: 0; padding: 0; }
.vchecks li { display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 10px 18px; border-top: 1px solid var(--win-line); }
.vchecks li:first-child { border-top: 0; }
.vchecks .nm { display: grid; line-height: 1.3; font-weight: 550; min-width: 0; }
.vchecks .nm small { font-weight: 400; color: var(--win-muted); font-size: 13px; }
.vchecks .am { font-variant-numeric: tabular-nums; font-weight: 550; }
.vchecks .is-done .nm, .vchecks .is-done .am { color: var(--win-muted); }
.vchecks .is-open { background: color-mix(in oklab, var(--win-accent) 8%, transparent); box-shadow: inset 2px 0 0 var(--win-accent); }
.ck, .sp-done .ck { width: 20px; height: 20px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px color-mix(in oklab, var(--win-ink) 25%, transparent); position: relative; }
.is-done .ck, .ck.on { background: var(--win-accent); box-shadow: none; }
.is-done .ck::after, .ck.on::after { content: ""; position: absolute; left: 6px; top: 5px; width: 7px; height: 4px; border: 2px solid var(--win-bg); border-top: 0; border-right: 0; transform: rotate(-45deg); }
.item { padding: 26px 30px; display: grid; gap: 18px; align-content: start; }
.item__kind { font-size: 13px; color: var(--win-muted); font-weight: 500; }
.item__name { font-size: 24px; font-weight: 600; letter-spacing: -.02em; margin: 4px 0 0; }
.item__prov { margin: 2px 0 0; color: var(--win-muted); font-size: 14px; }
.item__amount { font-family: var(--font-figure); font-size: 56px; line-height: 1; letter-spacing: -.01em; font-variant-numeric: lining-nums; }
.item__amount span { font-family: var(--font-text); font-size: 15px; color: var(--win-muted); vertical-align: .9em; margin-right: 8px; font-weight: 500; }
.item__warn { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 10px; background: var(--win-warn-soft); color: var(--win-warn); font-weight: 550; font-size: 13.5px; }
.item__warn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; flex: none; }
.item__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; }
.item__facts div { padding-left: 12px; border-left: 1px solid var(--win-line); }
.item__facts dt { font-size: 13px; color: var(--win-muted); }
.item__facts dd { margin: 2px 0 0; font-weight: 550; font-variant-numeric: tabular-nums; }
.item__files { display: grid; gap: 8px; }
.file { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 10px; background: var(--win-side); box-shadow: inset 0 0 0 1px var(--win-line); font-weight: 500; }
.file svg { width: 16px; height: 16px; fill: none; stroke: var(--win-accent); stroke-width: 1.5; stroke-linejoin: round; }
.file small { color: var(--win-muted); font-size: 13px; font-weight: 400; }
.item__hist { display: grid; gap: 0; }
.item__hist b { font-size: 13px; color: var(--win-muted); font-weight: 500; margin-bottom: 6px; }
.item__hist span { display: grid; grid-template-columns: 10px 1fr auto; gap: 10px; align-items: center; padding: 8px 0; border-top: 1px solid var(--win-line); }
.item__hist i { width: 8px; height: 8px; border-radius: 50%; background: var(--win-accent); }
.item__hist em { font-style: normal; color: var(--win-muted); font-size: 13px; }
@media (max-width: 1023px) {
  .app.ui { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); }
  .app > .app__pane--list { max-height: 300px; }
  .app > .app__pane--list::after { display: none; }
  .app .win__side { display: none; }
  .app .win__body { grid-template-columns: minmax(0, 1fr); }
  .app > .app__pane + .app__pane { border-left: 0; border-top: 1px solid var(--win-line); }
}
@media (max-width: 639px) {
  /* Handy: die Abhak-Liste zeigen (passt zu «Fixkosten abhaken»), die geöffnete Krankenkasse weglassen */
  .app.ui { grid-template-rows: auto; }
  .app > .app__pane--list { max-height: none; }
  .app > .app__pane--open { display: none; }
  .vchecks .is-open { background: none; box-shadow: none; } /* ohne geöffnete Detailansicht keine Markierung */
  .item { padding: 20px; }
  .item__amount { font-size: 44px; }
  .item__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ── Fristen (split) ───────────────────────────────── */
.split-copy { display: grid; gap: var(--s-5); align-content: start; justify-items: start; }
.split-copy h2, .split-copy p { margin: 0; }
.fact-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; width: 100%; }
.fact-lines li { padding: 12px 0; border-top: 1px solid var(--line); font-size: var(--t-body); }
.fact-lines li:last-child { border-bottom: 1px solid var(--line); }
.recur-frame { background: var(--surface); border: 1px solid var(--line); overflow: hidden; position: relative; }
.recur-frame::after { content: ""; position: absolute; inset: auto 0 0 0; height: 72px; background: linear-gradient(transparent, var(--surface)); pointer-events: none; }
.recur { padding: 28px 0 0 28px; display: grid; gap: 24px; }
.recur__group { background: var(--win-bg); border: 1px solid var(--win-line); border-right: 0; border-radius: 14px 0 0 14px; overflow: hidden; color: var(--win-ink); box-shadow: 0 12px 30px -20px rgba(20, 24, 18, .3); }
.recur__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--win-line); font-size: 14px; }
.recur__head span { color: var(--win-muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.recur__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 20px; border-top: 1px solid var(--win-line); font-size: 14px; }
.recur__row:first-of-type { border-top: 0; }
.recur__row span { display: grid; line-height: 1.3; font-weight: 550; }
.recur__row small { color: var(--win-muted); font-weight: 400; font-size: 13px; }
.recur__row em { font-style: normal; color: var(--win-warn); font-weight: 600; }
.recur__row b { font-weight: 550; font-variant-numeric: tabular-nums; }
.recur__row.is-warn { background: var(--win-warn-soft); }

/* ── Schritte ──────────────────────────────────────── */
.step-panel { --p-h: 200px; display: grid; align-content: center; justify-items: center; gap: 10px; padding: 20px; background: color-mix(in oklab, var(--action) 7%, var(--surface)); color: var(--ink); }
.sp-form { display: grid; gap: 6px; width: min(240px, 100%); }
.sp-label { font-size: 13px; color: var(--muted); }
.sp-input { padding: 10px 12px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); font-weight: 500; }
.sp-seg { display: flex; padding: 3px; gap: 2px; border-radius: 10px; background: color-mix(in oklab, var(--ink) 7%, transparent); font-size: 13px; }
.sp-seg span { padding: 7px 10px; border-radius: 8px; color: var(--muted); }
.sp-seg .on { background: var(--surface); color: var(--ink); font-weight: 550; box-shadow: 0 0 0 1px var(--line); }
.sp-amount { font-family: var(--font-figure); font-size: 44px; line-height: 1; }
.sp-amount small { font-family: var(--font-text); font-size: 14px; color: var(--muted); margin-right: 6px; vertical-align: .9em; }
.sp-done { display: grid; grid-template-columns: 20px 1fr auto; gap: 10px; align-items: center; width: min(250px, 100%); padding: 8px 12px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); font-weight: 500; --win-accent: var(--action); --win-bg: var(--surface); --win-ink: var(--ink); }
.sp-done b { font-weight: 550; font-variant-numeric: tabular-nums; }

.faq-lede { margin: var(--s-4) 0 var(--s-5); font-size: var(--t-lead); }

.vchecks li::before, .fact-lines li::before, .plan__list li::before, .dial-labels li::before { content: none !important; display: none !important; }
:root { --ease-out: cubic-bezier(.23, 1, .32, 1); --ease-io: cubic-bezier(.77, 0, .175, 1); }
::selection { background: color-mix(in oklab, var(--action) 24%, transparent); }
section[id] { scroll-margin-top: calc(var(--nav, 64px) + 8px); }

/* ── Kopfzeile: Sprache und Darstellung ─────────────── */
.nav__prefs { display: flex; align-items: center; gap: var(--s-2); }
.prefs__label { display: none; }
.lang { display: inline-flex; padding: 3px; gap: 2px; border-radius: 999px; background: color-mix(in oklab, var(--ink) 6%, transparent); }
.lang button { min-width: 38px; height: 32px; padding: 0 8px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font: 600 12.5px/1 var(--font-text); letter-spacing: .04em; cursor: pointer; transition: color .15s ease, background-color .15s ease, box-shadow .15s ease, transform .16s var(--ease-out); }
.lang button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .08), 0 0 0 1px var(--line); }
.lang button:active { transform: scale(.95); }
@media (hover: hover) and (pointer: fine) { .lang button[aria-pressed="false"]:hover { color: var(--ink); } }
.lang button:focus-visible, .theme-toggle:focus-visible, .billing button:focus-visible { outline: 2px solid var(--action); outline-offset: 2px; }
@media (max-width: 1023px) {
  .nav.is-open .nav__actions .nav__prefs { display: flex; order: -1; justify-content: flex-end; gap: var(--s-3); padding-bottom: var(--s-3); margin-bottom: var(--s-2); border-bottom: 1px solid var(--line); }
  .nav.is-open .prefs__label { display: block; white-space: nowrap; margin-right: auto; color: var(--muted); font-size: var(--t-small); }
  .nav.is-open .lang button { height: 40px; min-width: 48px; font-size: 14px; }
  .nav.is-open .theme-toggle { box-shadow: inset 0 0 0 1px var(--line-strong); }
}

/* ── Hero ───────────────────────────────────────────── */
@media (min-width: 1024px) {
  .hero--split .hero__grid { align-items: center; }
  .hero--split .hero__text { align-self: center; }
  .hero--split .hero__text h1 { font-size: clamp(2.75rem, 4.7vw, 4.5rem); }
}
.hero__text h1 { text-wrap: balance; }
.hero__lead { max-width: 46ch; }
@media (max-width: 1023px) {
  .hero--split .hero__media.dial-frame { flex: none; align-self: stretch; width: auto; height: auto; min-height: 0; margin-top: var(--s-6); }
  .hero__text h1 { max-width: 14ch; }
}

/* ── Das Zifferblatt ───────────────────────────────── */
.hero__media.dial-frame { display: grid; justify-items: center; align-content: center; gap: var(--s-4); overflow: visible !important; height: auto !important; aspect-ratio: auto !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; padding: 56px clamp(92px, 9vw, 124px); }
.dial-stage { position: relative; width: 100%; max-width: min(520px, calc(100svh - var(--nav, 64px) - 200px)); min-width: 260px; aspect-ratio: 1; container-type: inline-size; }
.dial-stage > .dial { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.dial .df-1 { stop-color: var(--dial-face-1); } .dial .df-2 { stop-color: var(--dial-face-2); } .dial .df-3 { stop-color: var(--dial-face-3); }
.dial .ds-1 { stop-color: var(--dial-steel-1); } .dial .ds-2 { stop-color: var(--dial-steel-2); } .dial .ds-3 { stop-color: var(--dial-steel-3); }
.dial-bezel { filter: drop-shadow(0 18px 30px rgba(20, 24, 18, .16)) drop-shadow(0 2px 3px rgba(20, 24, 18, .12)); }
.dial-chapter { fill: none; stroke: var(--dial-line); stroke-width: 1; }
.dial-ticks line { stroke: var(--dial-ink); stroke-linecap: round; }
.dial-ticks .tk { stroke-width: 1.2; opacity: .55; }
.dial-ticks .tk-major { stroke-width: 3; }
.dial-num text { fill: var(--dial-ink); font-family: var(--font-text); font-size: 22px; font-weight: 500; font-variant-numeric: tabular-nums; }
.it-mark { fill: var(--dial-face-2); stroke: var(--dial-ink); stroke-width: 1.6; transition: fill .3s ease, stroke .3s ease; }
.it-check { fill: none; stroke: var(--dial-face-1); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 14; stroke-dashoffset: 14; transition: stroke-dashoffset .28s var(--ease) .05s; }
.it.is-past .it-mark { fill: var(--dial-paid); stroke: var(--dial-paid); }
.it.is-past .it-check { stroke-dashoffset: 0; }
.it--in .it-mark { stroke: var(--dial-in); }
.it--in.is-past .it-mark { fill: var(--dial-in); stroke: var(--dial-in); }
.sub-face { fill: color-mix(in oklab, var(--dial-face-3) 55%, var(--dial-face-2)); stroke: var(--dial-line); }
.sub-track { fill: none; stroke: var(--dial-line); stroke-width: 5; }
.sub-arc { fill: none; stroke: var(--dial-lume); stroke-width: 5; stroke-linecap: round; }
.sub-arc--open { stroke: var(--dial-ink); opacity: .75; }
.dial-hand { transform-box: view-box; transform-origin: 440px 310px; transform: rotate(calc((var(--day) - 1) / 30 * 360deg)); }
.dial-hand.is-sweeping { transition: transform 1.4s cubic-bezier(.16, 1, .3, 1); }
.hand { fill: var(--dial-hand); filter: drop-shadow(0 3px 3px rgba(0, 0, 0, .18)); }
.hand-lume { fill: var(--dial-lume); }
.hand-cap { fill: var(--dial-hand); }
.hand-pin { fill: var(--dial-lume); }
.dial--hand { z-index: 2; pointer-events: none; }
/* Ablesung in der Mitte: echte Schrift, mit Luft zu den Ziffern */
.dial-read { position: absolute; left: 50%; top: var(--y); transform: translate(-50%, -50%); display: grid; justify-items: center; gap: 2.2cqw; text-align: center; z-index: 1; }
.dr-k { white-space: nowrap; font-size: max(12px, 3.3cqw); font-weight: 500; color: var(--dial-muted); letter-spacing: .01em; }
.dr-v { display: flex; align-items: flex-start; gap: 1.2cqw; font-family: var(--font-figure); font-size: 13cqw; line-height: .9; letter-spacing: -.01em; color: var(--dial-ink); font-variant-numeric: lining-nums tabular-nums; }
.dr-v small { font-family: var(--font-text); font-size: max(11px, 3cqw); font-weight: 500; color: var(--dial-muted); margin-top: 1.6cqw; letter-spacing: 0; }
.dial-sub { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); display: grid; justify-items: center; gap: .6cqw; z-index: 1; text-align: center; }
.dial-sub b { font-size: max(13px, 4.1cqw); font-weight: 600; color: var(--dial-ink); font-variant-numeric: tabular-nums; line-height: 1; white-space: nowrap; }
.dial-sub span { font-size: max(11px, 2.7cqw); font-weight: 500; color: var(--dial-muted); line-height: 1.1; }
/* Randbeschriftung: jede Zahlung am eigenen Tag */
.dial-labels { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; z-index: 1; }
.dl { position: absolute; left: var(--x); top: var(--y); transform: translate(calc(-50% + var(--ax) * 50%), calc(-50% + var(--ay) * 50%)); display: grid; gap: 2px; padding: 0 8px; font-size: 14px; line-height: 1.25; white-space: nowrap; transition: opacity .3s ease; }
.dl--r { justify-items: start; text-align: left; }
.dl--l { justify-items: end; text-align: right; }
.dl--c { justify-items: center; text-align: center; padding: 6px 0; }
.dl-n { font-weight: 550; color: var(--ink); hyphens: manual; }
.dl-n b { font-weight: 600; font-variant-numeric: tabular-nums; }
.dl-a { color: var(--muted); font-variant-numeric: tabular-nums; }
.dl--in .dl-a { color: var(--action); font-weight: 600; }
.dl:not(.is-past) .dl-n { color: color-mix(in oklab, var(--ink) 78%, var(--bg)); }
.dial-stats { display: none; }
@media (prefers-reduced-motion: reduce) { .dial-hand.is-sweeping, .it-check, .it-mark { transition: none; } }
@media (max-width: 1023px) {
  .dial-stage { max-width: 460px; }
}
@media (max-width: 639px) {
  .hero__media.dial-frame { padding: 46px 0 0; width: 100%; }
  .dial-stage { width: calc(100% - 136px); min-width: 0; max-width: 300px; }
  .dl { font-size: 12.5px; padding: 0 5px; white-space: nowrap; gap: 0; }
  .dl[data-day="5"] { white-space: normal; width: max-content; max-width: 70px; }
  .dl--c { padding: 3px 0; }
  .dl-n b { display: none; }
  .dial .sub, .dial-sub { display: none; }
  .dial-num text { font-size: 30px; }
  .dial-read { --y: 40% !important; }
  .dr-k { font-size: 11.5px; }
  .dr-v { font-size: 15cqw; }
  .dial-stats { display: flex; justify-content: center; gap: var(--s-5); margin: var(--s-6) 0 0; font-size: var(--t-small); color: var(--muted); }
  .dial-stats b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; }
}

/* ── Preise ────────────────────────────────────────── */
.price-head { align-items: end; gap: var(--s-5) var(--gutter); }
.price-lede { margin: var(--s-3) 0 0; max-width: 52ch; }
.billing { position: relative; display: inline-flex; flex: none; padding: 4px; gap: 0; border-radius: 999px; background: color-mix(in oklab, var(--ink) 6%, transparent); isolation: isolate; white-space: nowrap; }
.billing__thumb { position: absolute; top: 4px; bottom: 4px; left: 0; width: var(--w, 0px); transform: translateX(var(--x, 4px)); border-radius: 999px; background: var(--surface); box-shadow: 0 1px 2px rgba(0, 0, 0, .08), 0 0 0 1px var(--line); z-index: -1; }
.billing.is-ready .billing__thumb { transition: transform .32s var(--ease-io), width .32s var(--ease-io); }
.billing button { position: relative; min-height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font: 500 14px/1 var(--font-text); cursor: pointer; transition: color .2s ease; }
.billing button[aria-pressed="true"] { color: var(--ink); }
.billing:not(.is-ready) button[aria-pressed="true"] { background: var(--surface); }
.billing em { font-style: normal; font-size: 12.5px; font-weight: 600; color: var(--action); margin-left: 4px; }
.plans { margin-top: var(--s-7); align-items: stretch; }
.card.card--plan { display: flex; flex-direction: column; gap: var(--s-5); cursor: pointer; border: 1px solid var(--line); box-shadow: none; transition: border-color .2s ease, box-shadow .25s ease; -webkit-tap-highlight-color: transparent; }
.card.card--plan.is-selected { border-color: var(--action); box-shadow: inset 0 0 0 1px var(--action), 0 22px 44px -28px color-mix(in oklab, var(--action) 55%, transparent); }
@media (hover: hover) and (pointer: fine) { .card.card--plan:not(.is-selected):hover { border-color: color-mix(in oklab, var(--action) 45%, var(--line)); } }
.plan__head { display: grid; gap: var(--s-2); }
.plan__head h3 { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 10px; margin: 0; }
.plan__head .badge { font-size: 12px; }
.plan__who { color: var(--muted); margin: 0; }
.price { display: grid; gap: 6px; }
.price__row { display: flex; align-items: baseline; gap: 10px; margin: 0; }
.price__v { display: inline-block; font-family: var(--font-figure); font-size: 48px; line-height: 1; letter-spacing: -.01em; font-variant-numeric: lining-nums tabular-nums; }
.price__per, .price__note { color: var(--muted); font-size: var(--t-small); }
.price__note { margin: 0; min-height: 1.5em; }
.plan__cta { display: grid; }
.plan__cta > * { grid-area: 1 / 1; width: 100%; transition: opacity .18s ease, transform .18s var(--ease-out), visibility 0s linear 0s; }
.plan__go { opacity: 0; visibility: hidden; transform: scale(.98); }
.is-selected .plan__go { opacity: 1; visibility: visible; transform: none; }
.is-selected .plan__pick { opacity: 0; visibility: hidden; }
.plan__list { list-style: none; margin: 0; padding: 0 !important; display: grid; border-top: 1px solid var(--line); }
.plan__list li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 10px 0 !important; border-bottom: 1px solid color-mix(in oklab, var(--line) 70%, transparent); font-size: var(--t-small); line-height: 1.4; }
.plan__list li:last-child { border-bottom: 0; }
.plan__list b { flex: none; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.plan__list b:empty { width: 16px; height: 1em; position: relative; }
.plan__list b:empty::after { content: ""; position: absolute; right: 2px; top: .2em; width: 10px; height: 5px; border: 2px solid var(--action); border-top: 0; border-right: 0; transform: rotate(-45deg); }
.plan__list .is-no { color: var(--muted); }
.plan__list .is-no b:empty::after { top: .55em; width: 10px; height: 0; border: 0; border-top: 1.5px solid var(--muted); transform: none; }
.plans__foot { margin: var(--s-5) 0 0; font-size: var(--t-small); }
.price-head .billing { display: inline-flex; justify-self: start; }
@media (max-width: 639px) {
  .price-head .billing { display: flex; width: 100%; }
  .billing button { flex: 1; padding: 0 10px; }
  .price__v { font-size: 40px; }
}

/* ── Haushalt ──────────────────────────────────────── */
.house-section { position: relative; overflow: clip; }
.house-section > .wrap { position: relative; z-index: 1; }
.house { align-items: stretch; }
.house__login, .house__table { background: var(--surface); border-radius: 16px; padding: 24px; }
.house__title { font-family: var(--font-figure); font-size: 30px; line-height: 1.1; margin: 0 0 18px; color: var(--ink); }
.house__people { display: grid; gap: 10px; }
.hp { display: grid; grid-template-columns: 40px 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 10px 12px; border-radius: 12px; background: color-mix(in oklab, var(--ink) 6%, transparent); font-weight: 600; color: var(--ink); }
.hp i { grid-row: 1 / 3; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-style: normal; background: var(--c); color: #fff; font-weight: 600; }
.hp small { color: var(--muted); font-weight: 400; font-size: 13px; }
.hp--add { background: transparent; box-shadow: inset 0 0 0 1.5px color-mix(in oklab, var(--ink) 22%, transparent); }
.hp--add i { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px color-mix(in oklab, var(--ink) 30%, transparent); }
.hp--add svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
html[data-tone="dark"] .hp i { color: #0f1712; }
.house__table table { width: 100%; border-collapse: collapse; font-size: var(--t-body); color: var(--ink); }
.house__table th { text-align: left; font-weight: 500; font-size: var(--t-label); color: var(--muted); padding: 0 12px 12px; border-bottom: 1px solid var(--line); }
.house__table td { padding: 13px 12px; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.house__table .r { text-align: right; }
.house__table tfoot td { font-weight: 600; border-bottom: 0; padding-top: 16px; }
.house__table th:first-child, .house__table td:first-child { padding-left: 0; }
.house__table th:last-child, .house__table td:last-child { padding-right: 0; }
/* Auftritt: eine Linie in Mint zieht die grüne Fläche über die ganze Breite auf, dann kommt der Inhalt */
.house-reveal { display: none; position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.house-section.is-armed .house-reveal { display: block; background: var(--p-bg); clip-path: inset(0 0 0 0); }
.house-reveal__line { position: absolute; inset: 0; border-top: 1px solid var(--p-inv-accent, #8fd1ad); }
.house-section.is-armed [data-house-in] { opacity: 0; transform: translateY(14px); }
.house-section.is-armed.is-in .house-reveal { clip-path: inset(100% 0 0 0); transition: clip-path .95s var(--ease-io); }
.house-section.is-armed.is-in .house-reveal__line { transform: translateY(100%); opacity: 0; transition: transform .95s var(--ease-io), opacity .25s ease .8s; }
.house-section.is-armed.is-in [data-house-in] { opacity: 1; transform: none; transition: opacity .5s ease-out, transform .7s var(--ease-out); }
.house-section.is-armed.is-in [data-house-in]:nth-of-type(1) { transition-delay: .42s; }
.house-section.is-armed.is-in .house__login { transition-delay: .55s; }
.house-section.is-armed.is-in .house__table { transition-delay: .64s; }
@media (max-width: 639px) {
  .house__login, .house__table { padding: 18px; }
  .house__table th:nth-child(2), .house__table td:nth-child(2) { display: none; }
}

/* ── Übriges aus dem Kit angepasst ─────────────────── */
html[data-tone="dark"] { --ground-bg: #163a2d; --ground-surface: #1d4636; --ground-ink: #eeebe3; --ground-muted: #b4c9bd; --ground-accent: #8fd1ad; }
.step-panel { --surface: color-mix(in oklab, var(--ground-surface) 78%, #fff); --ink: var(--ground-ink); --muted: var(--ground-muted); --line: color-mix(in oklab, var(--ground-ink) 16%, transparent); color: var(--ground-ink); --p-h: 300px; }
html[data-tone="dark"] .step-panel { --surface: color-mix(in oklab, var(--ground-surface) 82%, #fff 8%); }
.close__word { line-height: 1.12 !important; padding-top: .06em; overflow: visible !important; }
html[data-tone="dark"] .footer--statement { --action: var(--p-action); --action-ink: var(--p-action-ink); }
.footer__legal { display: flex; justify-content: space-between; gap: var(--s-4); flex-wrap: wrap; }
.app > .app__pane > .ui-panel { width: 100%; border: 0; border-radius: 0; box-shadow: none; background: transparent; }
.faq-ui { margin-top: var(--s-7); border-radius: 14px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; font-size: 14px; }
.fu-head { padding: 12px 18px; font-weight: 600; border-bottom: 1px solid var(--line); }
.fu-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 18px; border-top: 1px solid var(--line); }
.fu-row:first-of-type { border-top: 0; }
.fu-row > span { display: grid; line-height: 1.35; font-weight: 550; }
.fu-row small { color: var(--muted); font-weight: 400; font-size: 13px; }
.fu-row b { font-weight: 550; padding: 6px 12px; border-radius: 999px; background: color-mix(in oklab, var(--ink) 7%, transparent); font-size: 13px; white-space: nowrap; }
@media (max-width: 639px) {
  .step-panel { --p-h: 220px; }
  .sp-amount, .item__amount { font-size: 32px; }
}
@media (max-width: 1023px) {
  .footer__col { grid-column: span 3 !important; }
  .closing__links .grid > .span-4 { grid-column: 1 / -1; }
}
@media (max-width: 639px) { .footer__col { grid-column: span 6 !important; } }

/* ── Abschnitte wachsen mit ihrem Inhalt (statt fester Bildschirmhöhe): nichts überlappt, nichts verzieht sich ── */
main > :is(section, .section), footer.closing { height: auto !important; min-height: 0; }
main > :is(section, .section) > :is(.wrap, .container), footer.closing > .wrap { height: auto !important; }
main > .hero { min-height: calc(100svh - var(--nav, 64px)); display: flex; flex-direction: column; justify-content: center; }
main > .hero > .wrap { width: min(100% - 2 * var(--gut), var(--container)); }
@media (max-width: 1023px) { main > .hero { min-height: 0; } }
main > section > .wrap > .app.fill { flex: none; height: clamp(440px, 64vh, 600px); }
@media (max-width: 1023px) { main > section > .wrap > .app.fill { height: auto; } .app > .app__pane--open { max-height: none; } }
.recur-frame { max-height: 560px; }
@media (max-width: 639px) { .plans { margin-top: var(--s-5); } .price-head { margin-bottom: 0; } }
html:not([data-tone="dark"]) .footer--statement { --muted: #474e45; }
.price__v { white-space: nowrap; }
.price__row { flex-wrap: wrap; row-gap: 2px; }
@media (max-width: 899px) { .plans > .card--plan { grid-column: 1 / -1; } }

/* ── Finale Feinarbeit ─────────────────────────────── */
/* Kein Abschnitt (ausser dem Einstieg) wird künstlich auf Bildschirmhöhe gestreckt: gleiche Abstände bei jeder Fenstergrösse */
main > :is(section, .section):not(.hero), footer.closing { min-height: 0 !important; }
.recur-frame { align-self: start; }
/* Zweiter Knopf bleibt überall ein Knopf, nie ein unterstrichener Link */
.btn-row > .btn--secondary { text-decoration: none !important; }
@media (max-width: 639px) {
  .btn-row > .btn--secondary { background: color-mix(in oklab, var(--ink) 8%, var(--bg)) !important; }
}
/* Handy-Kopfzeile: Logo links, Menü rechts, Luft dazwischen; „Konto erstellen“ steht im Menü und im Einstieg */
@media (max-width: 639px) {
  .nav:not(.is-open) .nav__actions { display: none !important; }
  .nav__toggle { margin-left: auto !important; }
}
/* Footer-Links: dieselbe Linie wie in der Kopfzeile (wächst von links) */
.footer ul a { position: relative; display: inline-block; padding: 2px 0; color: var(--ink); }
.footer ul a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1.5px; border-radius: 2px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .25s var(--ease-out); }
.footer ul a:hover { color: var(--ink); }
@media (hover: hover) and (pointer: fine) { .footer ul a:hover::after { transform: scaleX(1); transform-origin: left; } }
.footer ul a:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 2px; }
.footer ul a:focus-visible::after { transform: scaleX(1); }
/* 30 Tage testen */
.plan__trial { display: flex; align-items: center; gap: 8px; margin: -6px 0 0; font-size: var(--t-small); font-weight: 600; color: var(--action); }
.plan__trial svg { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.plan__trial.is-free { color: var(--muted); font-weight: 500; }
/* Drei Schritte: immer drei nebeneinander ab Tablet-Quer, darunter eine Spalte */
@media (min-width: 900px) { #start .grid > .card { grid-column: span 4 !important; } }
@media (max-width: 899px) { #start .grid > .card { grid-column: 1 / -1 !important; } .step-panel { --p-h: 200px; } }
@media (min-width: 900px) and (max-width: 1199px) { .step-panel { --p-h: 240px; } }
.sp-done { white-space: nowrap; } .sp-done > :not(.ck):not(b) { overflow: hidden; text-overflow: ellipsis; }


/* ── Uhr, finale Version ───────────────────────────────────────────────
   Ebenen: Zifferblatt (SVG) → Zeiger (SVG) → Ablesung (HTML). Die Schrift liegt über dem Zeiger und
   hat einen weichen Hof in der Farbe des Blatts: läuft der Zeiger darunter, entsteht eine saubere
   Lücke um die Buchstaben, ohne Kasten. */
.dial--hand { z-index: 1 !important; }
.dial-read, .dial-sub { z-index: 3 !important; }
.dial-read { --halo: color-mix(in oklab, var(--dial-face-1) 65%, var(--dial-face-2)); }
.dial-sub { --halo: color-mix(in oklab, var(--dial-face-3) 55%, var(--dial-face-2)); }
.dial-read > *, .dial-sub > * { text-shadow: 0 0 2px var(--halo), 0 0 4px var(--halo), 0 0 6px var(--halo), 0 0 9px var(--halo); }
/* Zeiger: zweiflächiger Dauphine-Zeiger mit Gegengewicht */
.dial-hand { filter: drop-shadow(0 2px 2.5px rgba(0, 0, 0, .25)); }
.dial .hand-a, .dial .hand-tail, .dial .hand-tailcap, .dial .hand-cap { fill: var(--dial-hand); }
.dial .hand-b { fill: var(--dial-hand-2); }
.dial .hand-lume, .dial .hand-pin { fill: var(--dial-lume); }
/* Verlauf des Monats auf dem Minutenkreis, vom 1. bis heute */
.dial-progress { fill: none; stroke: var(--dial-lume); stroke-width: 3; stroke-linecap: round; opacity: .9; }
/* Hell: cremefarbenes Email mit Tiefe, dunklere Stahllünette */
html:not([data-tone="dark"]) {
  --dial-face-1: #fbf8f0; --dial-face-2: #f1ebde; --dial-face-3: #ddd3bf;
  --dial-steel-1: #dcdcd6; --dial-steel-2: #a9aea8; --dial-steel-3: #767c75;
  --dial-line: rgba(22, 26, 23, .24); --dial-hand-2: #4a504a;
}
html:not([data-tone="dark"]) .sub-face { fill: color-mix(in oklab, var(--dial-face-3) 60%, var(--dial-face-2)); }
html[data-tone="dark"] { --dial-hand-2: #c4c1b8; }

/* ── Finale Prüfung: Tablet und Handy ───────────────── */
/* Fristen-Bild füllt den Rahmen auf jeder Breite (vorher schmal in der Mitte auf dem iPad) */
.recur-frame { display: block !important; }
.recur { width: 100%; box-sizing: border-box; }
@media (max-width: 1023px) {
  .recur-frame { max-height: none; }
  .recur-frame::after { display: none; }
  .recur { padding: 20px; }
  .recur__group { border-right: 1px solid var(--win-line); border-radius: 14px; }
}
/* Preise auf dem iPad hochkant: Karten lesbar breit, nicht über die ganze Fläche gezogen */
@media (min-width: 640px) and (max-width: 899px) {
  .plans > .card--plan { max-width: 620px; justify-self: center; width: 100%; }
}
/* Drei Schritte: auch auf dem iPad hochkant nebeneinander */
/* iPad hochkant: jede Karte quer, Text links, Bild rechts */
@media (min-width: 640px) and (max-width: 899px) {
  #start .grid > .card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto auto 1fr; column-gap: var(--s-6); align-items: start; }
  #start .card > .step-num, #start .card > h3, #start .card > p { grid-column: 1; }
  #start .card > .panel { grid-column: 2; grid-row: 1 / -1; margin: 0; --p-h: 220px; }
}
@media (max-width: 1023px) { .faq-ui { margin-bottom: var(--s-7); } }
/* Schritt-Karten: Bild sitzt mit eigenem Rand in der Karte statt am Kartenfuss abgeschnitten */
#start .card > .panel { margin-bottom: 0 !important; border-radius: 12px; }
#start .grid > .card { padding-bottom: var(--card-pad, 24px); }
/* Fristen auf dem Handy: weniger Rahmen, mehr Platz für die Zeilen */
@media (max-width: 639px) {
  .recur-frame { padding: 0 !important; }
  .recur { padding: 12px; gap: 12px; }
  .recur__head, .recur__row { padding-inline: 14px; }
}
.hero-facts dd { white-space: nowrap; }
.recur__head span { text-align: right; }

/* ── Marke ASVANT ──────────────────────────────────── */
.close__mark { display: block; line-height: 0 !important; padding: 0 !important; color: var(--ink); }
.close__mark .close-svg { display: block; width: min(100%, 980px); height: auto; }
@media (max-width: 639px) { .nav__logo { gap: 9px !important; } .logo-word { height: 15px; } .logo-mark { width: 26px; height: 26px; } }
@media (max-width: 1023px) { .close__mark { margin-top: var(--s-7); } }
/* Marke: das erste A (der Zeiger) in Tannengrün, im Dunkeln in Mint */
.wm-accent { fill: var(--action); }
/* Footer: Wortmarke als ruhiger Abschluss statt bildschirmbreit */
.close__mark .close-svg { width: auto; height: clamp(40px, 5.2vw, 64px); }
.close__mark { margin-top: var(--s-8) !important; }
@media (max-width: 639px) { .close__mark .close-svg { height: 40px; } .close__mark { margin-top: var(--s-7) !important; } }
.close__mark { width: fit-content; text-decoration: none; transition: opacity .2s ease; }
@media (hover: hover) and (pointer: fine) { .close__mark:hover { opacity: .75; } }
.close__mark:focus-visible { outline: 2px solid var(--ink); outline-offset: 6px; border-radius: 4px; }

/* ── Ohne JavaScript: alles bleibt nutzbar ─────────── */
html:not(.js) .plan__go { opacity: 1; visibility: visible; transform: none; }
html:not(.js) .plan__pick, html:not(.js) .nav__prefs { display: none; }
/* App-Bild: Inhalt sauber an den runden Ecken abschneiden (Titelleiste und Zeilen ragten über die Rundung) */
.app.ui { overflow: hidden; isolation: isolate; }
/* App-Bild ohne Stapeln: ab iPad-Breite Liste und Krankenkasse nebeneinander, darunter nur die Liste */
@media (min-width: 768px) and (max-width: 1023px) {
  .app.ui { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto; }
  .app > .app__pane--list { max-height: none; }
  .app > .app__pane + .app__pane { border-top: 0; border-left: 1px solid var(--win-line); }
  .item { padding: 22px; gap: 16px; }
  .item__amount { font-size: 44px; }
  .item__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .app.ui { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; }
  .app > .app__pane--list { max-height: none; }
  .app > .app__pane--open { display: none; }
  .vchecks .is-open { background: none; box-shadow: none; }
}
