
/* Idee: klare, moderne Oberfläche. Große Titel, weiche Karten, schwebende Tab-Leiste.
   Die Verlaufskarte auf der Startseite wechselt ihre Farben mit der Tageszeit. */
:root {
  --bg: #f2f5f4;
  --surface: #ffffff;
  --ink: #10242a;
  --muted: #5b7075;
  --line: #e1e8e7;
  --accent: #0d6e72;
  --accent-ink: #ffffff;
  --warm: #d9822b;
  --warm-bg: #fdf1e0;
  --danger: #c0392b;
  --shadow: 0 1px 2px rgba(16, 36, 42, .06), 0 10px 28px -14px rgba(16, 36, 42, .22);
  --display: "Bricolage Grotesque", system-ui, -apple-system, sans-serif;
  --body: "DM Sans", system-ui, -apple-system, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0a1416; --surface: #131f23; --ink: #e9f2f1; --muted: #8ea6a9; --line: #223338;
    --accent: #5fd3c8; --accent-ink: #06201f; --warm: #f0a54f; --warm-bg: #2b2214; --danger: #ff8a7a;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 12px 30px -14px rgba(0, 0, 0, .7);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0a1416; --surface: #131f23; --ink: #e9f2f1; --muted: #8ea6a9; --line: #223338;
  --accent: #5fd3c8; --accent-ink: #06201f; --warm: #f0a54f; --warm-bg: #2b2214; --danger: #ff8a7a;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 12px 30px -14px rgba(0, 0, 0, .7);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body { background: var(--bg); color: var(--ink); font-family: var(--body); font-size: var(--fs, 17px); line-height: 1.5; -webkit-text-size-adjust: 100%; }
#app { max-width: 560px; margin: 0 auto; min-height: 100%; padding: calc(env(safe-area-inset-top) + 18px) 18px calc(env(safe-area-inset-bottom) + 118px); }
.tonal { background: color-mix(in srgb, var(--accent) 12%, transparent); }

/* Seitenkopf */
.head { margin: 6px 2px 20px; }
.head h1 { font-family: var(--display); font-weight: 800; font-size: 38px; line-height: 1.05; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
.head .sub { margin: 6px 0 0; color: var(--muted); font-size: 16px; }
h2 { font-family: var(--display); font-weight: 700; font-size: 21px; letter-spacing: -.01em; margin: 28px 2px 12px; }
.sync { font-size: 13px; color: var(--muted); margin-top: 26px; text-align: center; }
.note { font-size: 14px; color: var(--muted); margin: 8px 2px 0; }
.err { color: var(--danger); font-size: 15px; margin: 8px 0 0; }

/* Startseite: Verlaufskarte mit Tagesvers */
.hero { position: relative; overflow: hidden; border-radius: 28px; color: #fff; padding: 22px 22px 20px; margin: 0 0 14px; background: var(--grad); box-shadow: 0 18px 36px -18px rgba(10, 30, 40, .55); isolation: isolate; }
.hero { min-height: 420px; display: flex; flex-direction: column; justify-content: flex-end; text-shadow: 0 1px 10px rgba(0, 0, 0, .35); }
.hero .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: 0; transition: opacity .7s ease; }
.hero .bg.on { opacity: 1; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(6, 18, 22, .84) 0%, rgba(6, 18, 22, .42) 52%, rgba(6, 18, 22, .1) 100%); }
.hero .top { position: absolute; top: 20px; left: 22px; right: 22px; display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; opacity: .95; }
.hero .top svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; flex: none; }
.hero .top .date { margin-left: auto; opacity: .85; }
.hero .qm { font-family: var(--display); font-weight: 800; font-size: 64px; line-height: .5; height: 28px; opacity: .55; display: block; }
.hero blockquote { margin: 0; font-family: var(--display); font-weight: 700; font-size: 26px; line-height: 1.22; letter-spacing: -.012em; text-wrap: pretty; }
.hero .cite { display: inline-block; margin-top: 16px; padding: 5px 14px; border-radius: 999px; background: rgba(255, 255, 255, .2); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); font-size: 14px; font-weight: 600; font-style: normal; }

/* Karten */
.card { position: relative; background: var(--surface); border-radius: 20px; padding: 16px 18px; margin: 0 0 12px; box-shadow: var(--shadow); }
.card p { margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.slidebar { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 6px 0 10px; }
.slidebar .small { min-width: 46px; font-size: 24px; line-height: 1; padding: 6px 14px; }
.dots { display: flex; gap: 2px; }
.dot { min-height: 0; width: 28px; height: 28px; padding: 0; background: transparent; position: relative; }
.dot::after { content: ""; position: absolute; inset: 10px; border-radius: 50%; background: var(--line); transition: all .2s; }
.dot[aria-current="true"]::after { inset: 8px; background: var(--accent); }
.slides { display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; scrollbar-width: none; border-radius: 24px; outline-offset: 3px; }
.slides::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; scroll-snap-align: center; scroll-snap-stop: always; box-sizing: border-box; }
.sl-in { min-height: 64vh; max-height: 72vh; overflow-y: auto; box-sizing: border-box; padding: 26px 22px; background: var(--surface); border: 1px solid var(--line); border-radius: 24px; display: flex; flex-direction: column; justify-content: center; gap: 14px; margin: 0 1px; }
.sl-in .lead { font-size: 1.12em; line-height: 1.6; margin: 0; }
.bigquote { font-family: var(--serif, Georgia, serif); font-size: 1.35em; line-height: 1.5; }
.bigquote small { display: block; margin-top: 14px; font-size: 14px; font-weight: 600; color: var(--accent); font-family: inherit; }
.sl-in.cover { position: relative; justify-content: flex-end; padding: 0; overflow: hidden; border: 0; color: #fff; }
.sl-in.cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sl-in.cover .cv { position: relative; padding: 70px 22px 24px; background: linear-gradient(to top, rgba(0,0,0,.78), rgba(0,0,0,.35) 70%, transparent); }
.sl-in.cover h1 { color: #fff; margin: 6px 0; }
.sl-in.cover .tag, .sl-in.cover .sub { color: #fff; }
.sl-in.cover .hint { margin: 14px 0 0; font-size: 14px; opacity: .85; }
.row.center { justify-content: center; }
.sl-in.top { justify-content: flex-start; }
.sl-in button.done { background: var(--accent); color: var(--accent-ink); }
.sl-in > .tag, .sl-in .cv .tag { align-self: flex-start; width: fit-content; }
.cal { margin: 0 0 12px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.cal-head b { text-transform: capitalize; }
.cal-head .small { min-width: 46px; font-size: 22px; line-height: 1; padding: 6px 14px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-wd { text-align: center; font-size: 12px; font-weight: 600; color: var(--muted); padding: 4px 0; }
.cal-day { position: relative; min-height: 44px; padding: 0; border-radius: 14px; background: transparent; color: var(--ink); font-weight: 500; }
.cal-day.today { box-shadow: inset 0 0 0 2px var(--accent); }
.cal-day.has { background: color-mix(in srgb, var(--accent) 12%, transparent); font-weight: 700; }
.cal-day[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); }
.cal-day i { position: absolute; bottom: 6px; left: 50%; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: currentColor; opacity: .7; }
.dfilters { display: grid; gap: 8px; margin: 0 0 8px; }
.dgroup { margin: 18px 0 8px; }
.dgroup h3 { margin: 0 0 2px; }
.bibnav { position: sticky; top: calc(env(safe-area-inset-top) + 4px); z-index: 6; display: grid; grid-template-columns: 3fr 2fr; gap: 8px; padding: 8px; margin: 0 -8px 8px; border-radius: 22px; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: var(--shadow); }
.bibnav select { min-height: 46px; padding: 10px 12px; font-weight: 600; }
.bibsearch { grid-column: 1 / -1; position: relative; }
.bibsearch input { width: 100%; min-height: 48px; }
.bibsug { position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 8; max-height: 52vh; overflow-y: auto; padding: 6px; border-radius: 20px; background: var(--surface); box-shadow: 0 18px 40px -10px rgba(10, 30, 40, .45), 0 0 0 1px var(--line); }
.bibsug[hidden] { display: none; }
.sugh { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); padding: 10px 12px 2px; }
.sug { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; width: 100%; min-height: 46px; padding: 8px 12px; border-radius: 14px; background: transparent; color: var(--ink); text-align: left; font-weight: 500; }
.sug b { font-weight: 600; }
.sug small { color: var(--muted); font-size: 13px; font-weight: 500; }
.sug:active { background: color-mix(in srgb, var(--accent) 12%, transparent); }
[hidden] { display: none !important; }
.flip { perspective: 1400px; margin: 10px 0 6px; outline-offset: 4px; border-radius: 28px; cursor: pointer; }
.flip-in { position: relative; min-height: 340px; transform-style: preserve-3d; transition: transform .55s cubic-bezier(.3, .7, .2, 1); }
.flip-in.flipped { transform: rotateY(180deg); }
.face { position: absolute; inset: 0; box-sizing: border-box; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 10px; padding: 24px 22px; border-radius: 28px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); overflow-y: auto; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.face.back { transform: rotateY(180deg); background: color-mix(in srgb, var(--accent) 9%, var(--surface)); }
.face h2 { margin: 0; }
.face .lead { margin: 0; line-height: 1.6; }
.row.between { justify-content: space-between; align-items: center; }
.note.center { text-align: center; }
@media (prefers-reduced-motion: reduce) { .flip-in { transition: none; } }
.pl-row { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-top: 1px solid var(--line); }
.pl-row:first-of-type { border-top: 0; }
.pl-row p { margin: 0; }
.pl-btn { flex: none; width: 44px; height: 44px; min-height: 44px; padding: 0; border-radius: 50%; background: transparent; border: 2px solid var(--line); color: transparent; font-size: 20px; }
.pl-btn[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.more-today { margin-top: 14px; }
.card.open p::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin: 0 10px 2px 0; }
.card.done { background: var(--warm-bg); padding-right: 58px; }
.card .photo { display: block; width: 100%; max-height: 340px; object-fit: cover; border-radius: 14px; margin: 12px 0 2px; background: var(--line); }
.badge { position: absolute; top: 14px; right: 14px; width: 30px; height: 30px; border-radius: 50%; background: var(--warm); display: grid; place-items: center; }
.badge svg { width: 16px; height: 16px; fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.meta { color: var(--muted); font-size: 13px; font-weight: 500; letter-spacing: .01em; margin: 0 0 4px; font-variant-numeric: tabular-nums; }
.meta.after { margin: 8px 0 0; }
.verse { margin-top: 12px; padding: 10px 14px; border-radius: 12px; background: color-mix(in srgb, var(--accent) 9%, transparent); font-size: 16px; }
.verse small { display: block; margin-top: 4px; font-size: 13px; font-weight: 600; color: var(--accent); }
.row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; align-items: center; }

/* Bedienelemente */
button { font: inherit; font-weight: 600; font-size: 16px; border-radius: 999px; border: 0; background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent); padding: 10px 20px; min-height: 46px; cursor: pointer; transition: transform .12s ease, background .12s ease; }
button:active { transform: scale(.97); }
button.primary { background: var(--accent); color: var(--accent-ink); }
.hmwrap { display: flex; gap: 6px; align-items: flex-start; margin: 10px 0 4px; }
.hmdays { display: flex; flex-direction: column; gap: 4px; font-size: 10px; color: var(--muted); }
.hmdays span { height: 20px; line-height: 20px; }
.hm-grid { display: flex; gap: 4px; flex: 1; min-width: 0; }
.hmcol { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.hm { display: block; height: 20px; border-radius: 5px; background: color-mix(in srgb, var(--accent) 10%, transparent); }
.hm.on { background: var(--accent); }
.hm.fut { opacity: .35; }
.hm.today { outline: 2px solid var(--warm, var(--accent)); outline-offset: 1px; }
.barrow { display: grid; grid-template-columns: 38% 1fr 28px; gap: 8px; align-items: center; margin: 8px 0; font-size: 15px; }
.barrow .bar { height: 10px; border-radius: 6px; background: color-mix(in srgb, var(--accent) 12%, transparent); overflow: hidden; }
.barrow .bar i { display: block; height: 100%; background: var(--accent); border-radius: 6px; }
.barrow b { text-align: right; }
a.btn { display: inline-flex; align-items: center; text-decoration: none; font-weight: 600; border-radius: 999px; background: var(--accent); color: var(--accent-ink); }
a.btn.small, button.small { min-height: 38px; padding: 6px 16px; font-size: 15px; }
button.danger { background: color-mix(in srgb, var(--danger) 12%, transparent); color: var(--danger); }
button.mic[aria-pressed="true"] { background: var(--danger); color: #fff; }
button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible, a:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
textarea, input[type=text], input[type=search] { width: 100%; font: inherit; color: var(--ink); background: color-mix(in srgb, var(--ink) 6%, transparent); border: 0; border-radius: 16px; padding: 13px 16px; }
textarea { min-height: 120px; resize: vertical; }
::placeholder { color: var(--muted); opacity: .85; }
label { display: block; font-size: 14px; font-weight: 600; color: var(--muted); margin: 14px 2px 6px; }
.form { background: var(--surface); border-radius: 22px; padding: 4px 16px 18px; margin-bottom: 20px; box-shadow: var(--shadow); }
.seg { display: flex; padding: 4px; margin: 0 0 16px; border-radius: 999px; background: color-mix(in srgb, var(--ink) 7%, transparent); }
.seg button { flex: 1; background: transparent; color: var(--muted); min-height: 40px; padding: 4px; }
.seg button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 4px rgba(0, 0, 0, .15); }
.chips { display: flex; gap: 6px; flex-wrap: wrap; margin: 8px 0; }
.chips button { min-height: 36px; padding: 3px 14px; font-size: 14px; font-weight: 500; }
.chips button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); }
.vpick { margin-top: 8px; display: grid; gap: 6px; }
.vpick button { text-align: left; font-weight: 400; font-size: 15px; line-height: 1.4; border-radius: 16px; padding: 10px 14px; }
.vpick b { display: block; font-size: 13px; font-weight: 700; color: var(--accent); }
.thumb { width: 96px; height: 96px; object-fit: cover; border-radius: 16px; }
details { background: var(--surface); border-radius: 18px; padding: 8px 16px; margin-top: 12px; box-shadow: var(--shadow); }
summary { cursor: pointer; font-weight: 600; font-size: 15px; min-height: 36px; display: flex; align-items: center; }
.links { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 4px; }
.links a { background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent); border-radius: 999px; padding: 6px 14px; font-size: 14px; font-weight: 600; text-decoration: none; min-height: 36px; display: inline-flex; align-items: center; }
.empty { color: var(--muted); text-align: center; padding: 30px 12px; border-radius: 20px; border: 1.5px dashed var(--line); }
.stat { display: flex; gap: 12px; margin-bottom: 18px; }
.stat div { flex: 1; background: var(--surface); border-radius: 20px; padding: 14px 16px; box-shadow: var(--shadow); }
.stat b { display: block; font-family: var(--display); font-weight: 800; font-size: 40px; line-height: 1; letter-spacing: -.02em; }
.stat span { font-size: 14px; color: var(--muted); font-weight: 500; }
.stat div:last-child b { color: var(--warm); }
.tag { display: inline-block; font-size: 12px; font-weight: 600; color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); padding: 2px 10px; border-radius: 999px; margin-bottom: 8px; }
mark { background: color-mix(in srgb, var(--warm) 35%, transparent); color: inherit; border-radius: 4px; padding: 0 2px; }

/* Banner mit Ruhebild am Seitenanfang */
.banner { position: relative; height: 150px; border-radius: 26px; overflow: hidden; margin: 6px 0 20px; display: flex; align-items: flex-end; color: #fff; background: var(--accent); isolation: isolate; box-shadow: var(--shadow); }
.banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.banner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(6, 18, 22, .78), rgba(6, 18, 22, .08) 85%); }
.banner .txt { padding: 14px 20px 16px; text-shadow: 0 1px 8px rgba(0, 0, 0, .45); }
.banner h1 { font-family: var(--display); font-weight: 800; font-size: 34px; line-height: 1.05; letter-spacing: -.02em; margin: 0; }
.banner .sub { margin: 4px 0 0; font-size: 15px; opacity: .95; }
.imgpick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 8px; }
.imgpick button { padding: 0; min-height: 0; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--line); border: 3px solid transparent; }
.imgpick button[aria-pressed="true"] { border-color: var(--accent); }
.imgpick img { width: 100%; height: 100%; object-fit: cover; display: block; }
.credits { font-size: 14px; color: var(--muted); }
.credits li { margin: 0 0 6px; }
.credits a { color: var(--accent); }

/* Bild-Overlay zum Speichern */
.overlay { position: fixed; inset: 0; z-index: 10; background: rgba(6, 14, 16, .88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 18px; }
.overlay img { max-width: 100%; max-height: 72%; border-radius: 22px; box-shadow: 0 24px 50px rgba(0, 0, 0, .5); }
.overlay p { color: #e9f2f1; margin: 0; text-align: center; font-size: 15px; }

/* Schwebende Tab-Leiste */
nav { position: fixed; left: 14px; right: 14px; bottom: calc(env(safe-area-inset-bottom) + 12px); max-width: 532px; margin: 0 auto; display: flex; padding: 6px; gap: 2px; border-radius: 28px;
  background: color-mix(in srgb, var(--surface) 82%, transparent); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); box-shadow: 0 10px 30px -8px rgba(10, 30, 40, .35), 0 0 0 1px color-mix(in srgb, var(--ink) 8%, transparent); }
nav button { position: relative; flex: 1; min-width: 0; background: transparent; color: var(--muted); min-height: 56px; padding: 6px 0; font-size: 10.5px; letter-spacing: -.01em; font-weight: 600; border-radius: 22px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; }
nav button[aria-current="page"] { background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent); }
.nbadge { position: absolute; top: 4px; left: 50%; margin-left: 5px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: var(--warm, #d98a2b); color: #fff; font-size: 10px; line-height: 16px; text-align: center; }
nav svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }


select { width: 100%; font: inherit; color: var(--ink); background: color-mix(in srgb, var(--ink) 6%, transparent); border: 0; border-radius: 16px; padding: 13px 16px; min-height: 48px; }
.card textarea { margin-top: 12px; }
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tile { text-align: left; background: var(--surface); color: var(--ink); border-radius: 20px; min-height: 72px; padding: 14px 16px; box-shadow: var(--shadow); font-family: var(--display); font-weight: 700; font-size: 17px; line-height: 1.2; }
.linkbtn { display: inline-flex; align-items: center; min-height: 38px; padding: 6px 16px; border-radius: 999px; background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent); font-weight: 600; font-size: 15px; text-decoration: none; }
.onb { position: fixed; inset: 0; z-index: 12; background: var(--bg); overflow: auto; padding: calc(env(safe-area-inset-top) + 24px) 20px 40px; }
.onbin { max-width: 520px; margin: 0 auto; }
.onbin h1 { font-family: var(--display); font-weight: 800; font-size: 40px; letter-spacing: -.02em; margin: 30px 0 8px; }
.onbin .sub { color: var(--muted); font-size: 18px; }
.dlg { background: rgba(255, 255, 255, .08); border-radius: 24px; padding: 20px; width: 100%; max-width: 420px; display: grid; gap: 12px; }
input[type=range] { width: 100%; accent-color: var(--accent); min-height: 40px; }
button:disabled { opacity: .5; }
/* Gebetsserie, Pläne, Markierungen, Farbthemen, Gebetspause */
.card h3 { font-family: var(--display); font-weight: 700; font-size: 20px; letter-spacing: -.01em; margin: 2px 0 4px; }
.streak .srow { display: flex; align-items: center; gap: 14px; }
.streak .srow b { font-family: var(--display); font-weight: 800; font-size: 52px; line-height: 1; letter-spacing: -.03em; color: var(--warm); }
.streak .big { font-family: var(--display); font-weight: 700; font-size: 19px; }
.dots { display: flex; gap: 6px; justify-content: space-between; margin-top: 14px; }
.dot { flex: 1; max-width: 44px; aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 600; color: var(--muted); background: color-mix(in srgb, var(--ink) 8%, transparent); }
.dot.on { background: var(--accent); color: var(--accent-ink); }
.dot.today { outline: 2px solid var(--accent); outline-offset: 2px; }
.bar { height: 8px; border-radius: 99px; background: color-mix(in srgb, var(--ink) 8%, transparent); overflow: hidden; margin: 10px 0 2px; }
.bar i { display: block; height: 100%; background: var(--accent); border-radius: 99px; }
.swatches { display: flex; gap: 10px; flex-wrap: wrap; margin: 6px 0 4px; }
.swatches button { width: 44px; height: 44px; min-height: 44px; padding: 0; border-radius: 50%; border: 3px solid var(--surface); box-shadow: 0 0 0 1px var(--line); }
.swatches button[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--ink); }
.marks { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.mk { width: 36px; height: 36px; min-height: 36px; padding: 0; border-radius: 50%; border: 3px solid var(--surface); box-shadow: 0 0 0 1px var(--line); }
.mk[aria-pressed="true"] { box-shadow: 0 0 0 3px var(--ink); }
.marks button.small[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); }
.marksbox textarea { margin-top: 10px; }
.hl { border-radius: 6px; padding: 1px 3px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.overlay.pause { background: radial-gradient(circle at 50% 35%, color-mix(in srgb, var(--accent) 55%, #06161a), #06161a 75%); gap: 18px; }
.overlay.pause .breath { width: 150px; height: 150px; border-radius: 50%; background: rgba(255, 255, 255, .18); box-shadow: 0 0 60px rgba(255, 255, 255, .25); animation: breathe 8s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { transform: scale(.6); } 50% { transform: scale(1.15); } }
.overlay.pause .ptext { font-family: var(--display); font-weight: 600; font-size: 22px; line-height: 1.3; max-width: 420px; min-height: 90px; color: #fff; }
.overlay.pause .ptime { font-size: 40px; font-family: var(--display); font-weight: 800; color: #fff; margin: 0; font-variant-numeric: tabular-nums; }
@media (prefers-reduced-motion: reduce) { .overlay.pause .breath { animation: none; } }

@media (prefers-reduced-motion: no-preference) {
  #app > * { animation: rise .5s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--i, 0) * 50ms); }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}
.books { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.books button { min-height: 46px; border-radius: 14px; background: var(--surface); color: var(--ink); box-shadow: var(--shadow); font-weight: 600; padding: 6px 10px; text-align: left; }
.books.chs { grid-template-columns: repeat(5, 1fr); }
.books.chs button { text-align: center; }
.chapter { font-family: var(--body); font-size: calc(var(--fs, 17px) + 1px); line-height: 1.75; }
.chapter .bv { display: inline; background: none; color: inherit; font: inherit; text-align: left; padding: 0; min-height: 0; border-radius: 6px; box-shadow: none; }
.chapter .bv sup { font-size: .6em; color: var(--accent); font-weight: 700; }
.chapter .bv.sel { outline: 2px solid var(--accent); outline-offset: 2px; }
.chapter .bsel { margin: 8px 0; padding: 8px 10px; border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); font-family: var(--body, inherit); font-size: 16px; line-height: 1.4; }
.card.hit { display: block; width: 100%; text-align: left; font-weight: 400; }
.vbimg { width: 100%; border-radius: 20px; display: block; margin-bottom: 8px; box-shadow: var(--shadow); }
.mlist { display: flex; flex-direction: column; gap: 10px; }
.mrow { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; background: var(--surface); color: var(--ink); border-radius: 22px; padding: 14px 16px; min-height: 68px; box-shadow: var(--shadow); font-weight: 500; }
.mrow .mico { flex: none; width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--accent); }
.mrow .mico svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mrow .mtxt { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.mrow .mtxt b { font-family: var(--display); font-size: 17px; }
.mrow .mtxt small { color: var(--muted); font-size: 13.5px; font-weight: 400; }
.mrow > svg { flex: none; width: 20px; height: 20px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.person { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pmedia { display: block; width: 100%; max-height: 420px; object-fit: cover; border-radius: 18px; margin: 8px 0; background: var(--line); }
.comments { width: 100%; }
.cmt { padding: 8px 12px; margin-top: 6px; border-radius: 14px; background: color-mix(in srgb, var(--accent) 7%, transparent); font-size: 15px; }
.cmt .linkx { background: none; color: var(--muted); font-size: 12px; min-height: 0; padding: 0 0 0 8px; text-decoration: underline; }
.vactions { background: var(--surface); border-radius: 24px; padding: 6px 14px 10px; box-shadow: var(--shadow); margin: 12px 0; }
.vactions .chips { margin: 6px 0; }
.vactions .marksbox { margin: 0; }
.vactions .row { margin: 6px 0 0; }
.card, .mrow, .vactions { transition: transform .15s ease, box-shadow .15s ease; }
.mrow:active { transform: scale(.985); }
h2 { letter-spacing: -.01em; }
.banner.big { height: 250px; }
.banner.big h1 { font-size: 38px; }
.banner .tag { background: rgba(255,255,255,.25); color: #fff; margin-bottom: 8px; display: inline-block; }
.bigcard { background: var(--surface); border-radius: 30px; padding: 24px 22px; margin: 14px 0; box-shadow: var(--shadow); }
.bigcard .lead { font-size: calc(var(--fs, 17px) + 1.5px); line-height: 1.7; margin: 0 0 6px; }
.bigcard.verse { font-family: var(--display); font-size: calc(var(--fs, 17px) + 3px); line-height: 1.5; font-weight: 600; }
.bigcard.verse small { display: block; margin-top: 10px; font-family: var(--body); font-size: 14px; color: var(--muted); font-weight: 500; }
.learnhint { font-family: var(--display); font-size: calc(var(--fs, 17px) + 3px); letter-spacing: .02em; word-spacing: .15em; }
.bigtile { position: relative; display: block; width: 100%; height: 220px; border-radius: 30px; overflow: hidden; margin: 14px 0; padding: 0; text-align: left; color: #fff; box-shadow: var(--shadow); background: var(--accent); isolation: isolate; }
.bigtile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.bigtile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(6,18,22,.82), rgba(6,18,22,.1) 80%); }
.bigtile .bt { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 22px; display: flex; flex-direction: column; gap: 4px; text-shadow: 0 1px 8px rgba(0,0,0,.45); }
.bigtile .bt small { font-size: 13px; font-weight: 600; opacity: .9; text-transform: uppercase; letter-spacing: .06em; }
.bigtile .bt b { font-family: var(--display); font-size: 28px; line-height: 1.1; letter-spacing: -.01em; }
.bigtile .go { align-self: flex-start; margin-top: 6px; background: rgba(255,255,255,.22); padding: 6px 14px; border-radius: 99px; font-weight: 600; font-size: 14px; }

/* ===== Design-Feinschliff (Nov 2026): ruhiger, klarer, hochwertiger ===== */
:root {
  --r-card: 24px; --r-ctl: 16px;
  --shadow: 0 1px 1px rgba(16,36,42,.04), 0 2px 6px rgba(16,36,42,.04), 0 18px 34px -20px rgba(16,36,42,.28);
  --hair: color-mix(in srgb, var(--ink) 7%, transparent);
}
body { background:
    radial-gradient(120% 60% at 100% -10%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 60%),
    radial-gradient(90% 50% at -10% 0%, color-mix(in srgb, var(--warm) 7%, transparent), transparent 55%),
    var(--bg);
  background-attachment: fixed; -webkit-font-smoothing: antialiased; }
#app { padding-left: 16px; padding-right: 16px; }
.head { margin: 10px 4px 22px; }
.head h1 { font-size: 34px; line-height: 1.08; }
.head .sub { font-size: 15.5px; line-height: 1.45; max-width: 36ch; }
h2 { font-size: 13px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--muted); margin: 30px 6px 12px; }
.card h3, .bigcard h3 { letter-spacing: -.012em; }

/* Karten: feine Kontur + weicher Schatten */
.card, .form, details, .stat div, .vactions, .tile, .mrow, .bigcard { border-radius: var(--r-card); box-shadow: var(--shadow); outline: 1px solid var(--hair); outline-offset: -1px; }
.card { padding: 18px 20px; }
.card.done { background: linear-gradient(135deg, var(--warm-bg), color-mix(in srgb, var(--warm-bg) 60%, var(--surface))); }
.tag { text-transform: uppercase; letter-spacing: .08em; font-size: 11px; font-weight: 700; padding: 4px 11px; }
.meta { font-size: 13px; }
.verse { border-left: 3px solid var(--accent); border-radius: 4px 14px 14px 4px; background: color-mix(in srgb, var(--accent) 7%, var(--surface)); }

/* Hero: kompakter, filmischer */
.hero { min-height: 372px; border-radius: 32px; padding: 24px 24px 22px; box-shadow: 0 30px 50px -28px rgba(8,24,30,.7), 0 0 0 1px rgba(255,255,255,.06) inset; }
.hero::before { background: linear-gradient(to top, rgba(6,18,22,.88) 0%, rgba(6,18,22,.5) 46%, rgba(6,18,22,.06) 100%); }
.hero .top { top: 22px; left: 24px; right: 24px; font-size: 13.5px; letter-spacing: .01em; }
.hero blockquote { font-size: clamp(22px, 6.4vw, 27px); line-height: 1.26; font-weight: 700; }
.hero .cite { margin-top: 18px; padding: 6px 15px; background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.22); letter-spacing: .01em; }
.heroactions { display: flex; gap: 8px; margin: 12px 0 8px; }
.heroactions button { flex: 1; background: var(--surface); box-shadow: var(--shadow); outline: 1px solid var(--hair); outline-offset: -1px; }
.vtools { margin: 0 0 18px; padding: 4px 16px 10px; }
.vtools summary { color: var(--muted); font-weight: 600; font-size: 14px; }
.vtools[open] summary { margin-bottom: 4px; }

/* Schnellzugriff */
.quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 20px 0 6px; }
.quick button { display: flex; flex-direction: column; align-items: center; gap: 8px; min-height: 0; padding: 14px 4px 11px; background: var(--surface); color: var(--ink); border-radius: 22px; box-shadow: var(--shadow); outline: 1px solid var(--hair); outline-offset: -1px; font-size: 13px; font-weight: 600; }
.quick .qi { width: 46px; height: 46px; border-radius: 16px; display: grid; place-items: center; background: color-mix(in srgb, var(--accent) 13%, transparent); color: var(--accent); }
.quick .qi svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Bedienelemente */
button { min-height: 48px; padding: 11px 22px; letter-spacing: -.005em; }
button.primary { background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 92%, #fff), var(--accent)); box-shadow: 0 8px 18px -8px color-mix(in srgb, var(--accent) 70%, transparent), 0 1px 0 rgba(255,255,255,.18) inset; }
a.btn.small, button.small { min-height: 40px; padding: 7px 16px; }
button:active { transform: scale(.965); }
textarea, input[type=text], input[type=search], select { border-radius: var(--r-ctl); background: color-mix(in srgb, var(--ink) 5%, var(--surface)); box-shadow: 0 0 0 1px var(--hair) inset; transition: box-shadow .15s, background .15s; }
textarea:focus, input:focus, select:focus { outline: none; background: var(--surface); box-shadow: 0 0 0 2px var(--accent); }
label { font-size: 13px; letter-spacing: .02em; }
.seg { box-shadow: 0 0 0 1px var(--hair) inset; }
.chips button { background: color-mix(in srgb, var(--ink) 5%, var(--surface)); color: var(--ink); box-shadow: 0 0 0 1px var(--hair) inset; font-weight: 600; }
.chips button[aria-pressed="true"] { box-shadow: none; }
summary { min-height: 44px; }
details > summary { list-style: none; }
details > summary::-webkit-details-marker { display: none; }
details > summary::after { content: ""; margin-left: auto; width: 9px; height: 9px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
details[open] > summary::after { transform: rotate(-135deg) translateY(-2px); }
.empty { padding: 34px 16px; border-radius: var(--r-card); background: color-mix(in srgb, var(--surface) 50%, transparent); }

/* Gebetsliste */
.pl-row { gap: 14px; padding: 13px 0; align-items: center; }
.pl-btn { width: 40px; height: 40px; min-height: 40px; border-width: 2px; transition: all .18s; }
.pl-btn[aria-pressed="true"] { box-shadow: 0 6px 14px -6px color-mix(in srgb, var(--accent) 75%, transparent); transform: scale(1.04); }
.pl-row p { font-size: 16.5px; line-height: 1.4; }

/* Serie */
.streak .srow b { font-size: 56px; }
.dots { gap: 5px; }
.dot { aspect-ratio: auto; height: 34px; border-radius: 12px; font-size: 11.5px; }
.dot.today { outline-offset: 1px; }

/* Andacht-Kachel & Banner */
.bigtile, .banner { border-radius: 30px; box-shadow: 0 24px 40px -26px rgba(8,24,30,.65); }
.bigtile { height: 200px; }

/* Tab-Leiste */
nav { left: 12px; right: 12px; padding: 5px; border-radius: 30px; background: color-mix(in srgb, var(--surface) 80%, transparent); box-shadow: 0 16px 36px -12px rgba(10,30,40,.4), 0 0 0 1px var(--hair); }
nav button { min-height: 54px; border-radius: 24px; font-size: 10.5px; gap: 3px; box-shadow: none; transition: background .2s, color .2s; }
nav button svg { width: 23px; height: 23px; transition: transform .2s; }
nav button[aria-current="page"] { background: color-mix(in srgb, var(--accent) 16%, transparent); }
nav button[aria-current="page"] svg { transform: translateY(-1px) scale(1.06); stroke-width: 2.1; }
nav button[aria-current="page"]::after { content: ""; position: absolute; bottom: 4px; width: 14px; height: 3px; border-radius: 3px; background: var(--accent); }

/* Mehr-Menü & Statistik */
.mrow { min-height: 72px; padding: 14px 18px; }
.mrow .mico { width: 44px; height: 44px; border-radius: 15px; }
.stat b { font-size: 42px; }
@media (min-width: 560px) { .quick button:hover, .mrow:hover, .tile:hover { transform: translateY(-1px); } }
@media (max-width: 360px) { .hero blockquote { font-size: 21px; } .quick .ql { font-size: 12px; } }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --shadow: 0 1px 1px rgba(0,0,0,.4), 0 18px 34px -20px rgba(0,0,0,.8); --hair: rgba(255,255,255,.07); }
}
:root[data-theme="dark"] { --shadow: 0 1px 1px rgba(0,0,0,.4), 0 18px 34px -20px rgba(0,0,0,.8); --hair: rgba(255,255,255,.07); }

/* Korrekturen */
.hero .qm { display: none; }
.streak .dot { width: auto; max-width: none; position: static; padding: 0; min-height: 0; background: color-mix(in srgb, var(--ink) 7%, transparent); }
.streak .dot::after { content: none; }
.streak .dot.on { background: var(--accent); color: var(--accent-ink); }
.bigtile::before { background: linear-gradient(to top, rgba(6,18,22,.9) 0%, rgba(6,18,22,.55) 55%, rgba(6,18,22,.25) 100%); }
.bigtile .bt small { opacity: 1; }

/* ===== Bibel-Leser, Themen, Geschichten ===== */
:root { --serif: "Newsreader", Georgia, "Times New Roman", serif; }
.chapter { font-family: var(--serif); font-size: calc(var(--fs, 17px) + 3px + var(--rfs, 0px)); line-height: 1.85; letter-spacing: .003em; padding: 4px 2px 8px; }
.chapter .bv sup { font-family: var(--body); font-size: .55em; font-weight: 700; vertical-align: .55em; margin-right: 1px; opacity: .9; }
.chapter .bsel { font-family: var(--body); }
.rhead { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin: 12px 4px 14px; }
.rhead h1 { font-family: var(--serif); font-weight: 600; font-size: 34px; line-height: 1.1; letter-spacing: -.015em; margin: 0; text-wrap: balance; }
.rhead .sub { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.rhead .aa { flex: none; min-height: 44px; width: 52px; padding: 0; font-family: var(--serif); font-size: 19px; font-weight: 600; background: var(--surface); color: var(--ink); box-shadow: var(--shadow); outline: 1px solid var(--hair); outline-offset: -1px; }
.pager { position: fixed; left: 0; right: 0; bottom: calc(env(safe-area-inset-bottom) + 92px); display: flex; justify-content: space-between; padding: 0 12px; pointer-events: none; z-index: 5; max-width: 560px; margin: 0 auto; animation: none !important; }
.pager .pg { pointer-events: auto; width: 46px; height: 46px; min-height: 46px; padding: 0 0 3px; font-size: 28px; line-height: 1; border-radius: 50%; background: color-mix(in srgb, var(--surface) 86%, transparent); color: var(--ink); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 8px 20px -8px rgba(10,30,40,.4), 0 0 0 1px var(--hair); }
.topicchips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 6px; }
.topicchips button { min-height: 42px; padding: 8px 18px; font-size: 15px; background: var(--surface); color: var(--ink); box-shadow: var(--shadow); outline: 1px solid var(--hair); outline-offset: -1px; }
.topicchips button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); outline: 0; }
.stories { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x proximity; margin: 0 -16px; padding: 4px 16px 14px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.stories { scroll-padding-left: 16px; }
.stories::-webkit-scrollbar { display: none; }
.story { flex: 0 0 148px; scroll-snap-align: start; min-height: 168px; border-radius: 26px; padding: 16px 14px; background: var(--g); color: #fff; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 4px; text-align: left; box-shadow: 0 18px 30px -18px rgba(8,24,30,.6); text-shadow: 0 1px 6px rgba(0,0,0,.3); }
.story .se { font-size: 34px; line-height: 1; margin-bottom: auto; filter: drop-shadow(0 4px 8px rgba(0,0,0,.25)); }
.story b { font-family: var(--display); font-size: 17px; line-height: 1.15; letter-spacing: -.01em; }
.story small { font-size: 12.5px; opacity: .9; font-weight: 500; }
.tcard .tverse { font-family: var(--serif); font-size: calc(var(--fs, 17px) + 3px); line-height: 1.6; }
.topicchips.scroll { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px 14px; padding: 4px 16px 10px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.topicchips.scroll::-webkit-scrollbar { display: none; }
.topicchips.scroll button { flex: none; }

/* ===== Lesepläne ===== */
.planlist { display: flex; flex-direction: column; gap: 10px; }
.plancard { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; padding: 10px; min-height: 0; border-radius: 24px; background: var(--surface); color: var(--ink); box-shadow: var(--shadow); outline: 1px solid var(--hair); outline-offset: -1px; font-weight: 500; }
.plancard img { flex: none; width: 84px; height: 84px; object-fit: cover; border-radius: 17px; background: var(--line); }
.plancard .pt { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.plancard b { font-family: var(--display); font-size: 17px; line-height: 1.2; letter-spacing: -.01em; }
.plancard .pm { font-size: 13.5px; color: var(--muted); }
.plancard .bar { margin: 6px 0 0; }
.plancard.wide { position: relative; display: block; padding: 0; height: 150px; overflow: hidden; color: #fff; margin: 14px 0; isolation: isolate; border-radius: 28px; }
.plancard.wide img { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 0; z-index: -2; }
.plancard.wide::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(6,18,22,.88), rgba(6,18,22,.25) 85%); }
.plancard.wide .pt { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px 20px; text-shadow: 0 1px 8px rgba(0,0,0,.4); }
.plancard.wide small { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; opacity: .95; }
.plancard.wide b { font-size: 22px; }
.plancard.wide .pm { color: #fff; font-weight: 600; }
.planhero { position: relative; height: 230px; border-radius: 30px; overflow: hidden; margin: 8px 0 14px; color: #fff; isolation: isolate; box-shadow: 0 24px 40px -26px rgba(8,24,30,.65); }
.planhero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.planhero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(6,18,22,.88), rgba(6,18,22,.2) 80%); }
.planhero .ph { position: absolute; left: 0; right: 0; bottom: 0; padding: 20px 22px; text-shadow: 0 1px 8px rgba(0,0,0,.4); }
.planhero h1 { font-family: var(--display); font-weight: 800; font-size: 30px; line-height: 1.08; letter-spacing: -.02em; margin: 6px 0 4px; }
.planhero p { margin: 0; opacity: .92; font-size: 14.5px; }
.planhero .tag { background: rgba(255,255,255,.22); color: #fff; margin: 0; }
.daylist { display: flex; flex-direction: column; gap: 6px; }
.dayrow { display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; min-height: 52px; padding: 6px 16px 6px 8px; border-radius: 18px; background: var(--surface); color: var(--ink); font-weight: 500; box-shadow: 0 0 0 1px var(--hair) inset; }
.dayrow .dn { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; font-weight: 700; background: color-mix(in srgb, var(--ink) 7%, transparent); color: var(--muted); }
.dayrow[aria-pressed="true"] .dn { background: var(--accent); color: var(--accent-ink); }
.dayrow[aria-pressed="true"] .dl { color: var(--muted); }
.readcard { padding: 20px 20px 14px; }
.readtext .rv { margin: 0 0 .55em; overflow-wrap: anywhere; }
.readtext .rv sup { font-family: var(--body); font-size: .55em; font-weight: 700; color: var(--accent); vertical-align: .55em; margin-right: 2px; }
.readask { font-family: var(--serif); font-size: 19px; line-height: 1.4; margin: 6px 0 10px !important; }
.story.photo { position: relative; justify-content: flex-end; overflow: hidden; isolation: isolate; background: var(--accent); }
.story.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.story.photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(6,18,22,.88), rgba(6,18,22,.15) 80%); }
.story.more { background: color-mix(in srgb, var(--accent) 14%, var(--surface)); color: var(--accent); text-shadow: none; box-shadow: var(--shadow); }

/* ===== Ruhig & klar (Nov 2026): flachere Banner, leiserer Vers, kompakte Knöpfe ===== */
.banner { height: 116px; border-radius: 24px; margin: 4px 0 18px; box-shadow: 0 1px 2px rgba(16,36,42,.06), 0 14px 26px -20px rgba(16,36,42,.35); }
.banner img { filter: saturate(.88); }
.banner::before { background: linear-gradient(to top, rgba(6,18,22,.7), rgba(6,18,22,.04) 88%); }
.banner h1 { font-size: 28px; font-weight: 700; letter-spacing: -.018em; }
.banner .sub { font-size: 14px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.banner .txt { min-width: 0; max-width: 100%; box-sizing: border-box; }
.banner.big { height: 210px; }
.hero { min-height: 340px; }
.hero blockquote { font-weight: 600; font-size: clamp(20px, 5.6vw, 24px); line-height: 1.32; letter-spacing: -.008em; }
.hero img.bg { filter: saturate(.9); }
.sl-in { min-height: 34vh; padding: 22px 20px; }
.sl-in button { padding: 8px 12px; min-height: 40px; font-size: 15px; }
.sl-in .row { gap: 8px; }
.card, .form, details, .stat div, .vactions, .tile, .mrow, .bigcard { box-shadow: 0 1px 2px rgba(16,36,42,.05), 0 10px 22px -18px rgba(16,36,42,.3); }
button.primary { box-shadow: none; }
#app { padding-bottom: 120px; }

/* Fürbitte-Vorlagen */
.paul-chip{min-height:44px}
.selbar { position: sticky; bottom: 98px; z-index: 6; background: var(--surface); border-radius: 22px; padding: 12px 14px; margin: 12px 0; box-shadow: 0 10px 30px -10px rgba(10,30,40,.45), 0 0 0 1px var(--line); }
.selbar .row { margin: 8px 0; }
.selbar .marks { margin: 4px 0 2px; }
body:has(.selbar) .pager { display: none; }

/* App-Sperre */
.lockov{position:fixed;inset:0;z-index:100000;display:flex;align-items:center;justify-content:center;padding:max(24px,env(safe-area-inset-top)) 24px max(24px,env(safe-area-inset-bottom));background:linear-gradient(165deg,#0f2a30,#17383f 60%,#1d4a4d);color:#fff;text-align:center;overflow:auto}
.lock-box{width:100%;max-width:320px;display:flex;flex-direction:column;align-items:center;gap:10px}
.lock-ico{width:44px;height:44px;border-radius:50%;background:rgba(255,255,255,.12);display:grid;place-items:center}
.lock-ico svg{width:22px;height:22px;fill:none;stroke:#fff;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.lock-box h1{margin:4px 0 0;font-size:24px;color:#fff}
.pin-sub{margin:0;color:#d6e6e4;font-size:15px;line-height:1.4}
.pin-pad{width:100%;display:flex;flex-direction:column;align-items:center;gap:10px;outline:none}
.pin-dots{display:flex;gap:14px;min-height:16px;margin:8px 0 2px}
.pin-dots span{width:14px;height:14px;border-radius:50%;border:2px solid rgba(255,255,255,.7);box-sizing:border-box}
.pin-dots span.on{background:#fff;border-color:#fff}
.pin-msg{margin:0;min-height:20px;font-size:14px;color:#ffd9b3}
.pin-grid{display:grid;grid-template-columns:repeat(3,72px);gap:12px 20px;justify-content:center}
.pin-key{width:72px;height:72px;border-radius:50%;border:0;background:rgba(255,255,255,.13);color:#fff;font-size:26px;font-weight:500;padding:0;display:grid;place-items:center;box-shadow:none;min-height:0;cursor:pointer}
.pin-key:active{background:rgba(255,255,255,.28)}
.pin-key.small{font-size:13px;font-weight:600;line-height:1.2}
.pin-ok{border:0;border-radius:14px;background:#fff;color:#0f2a30;font-weight:700;font-size:16px;padding:12px 28px;min-height:44px;cursor:pointer;box-shadow:none}
.pin-link{background:none;border:0;color:#cfe4e1;font-size:14px;text-decoration:underline;min-height:44px;padding:8px 12px;cursor:pointer;box-shadow:none}
.lockov .pass-in{background:rgba(255,255,255,.12)!important;color:#fff!important;border:1px solid rgba(255,255,255,.35)!important;box-shadow:none!important;width:100%;box-sizing:border-box;padding:14px 16px;border-radius:14px;border:1px solid rgba(255,255,255,.35);background:rgba(255,255,255,.12);color:#fff;font-size:17px;min-height:48px}
.pass-in::placeholder{color:#cfe4e1}
.pass-in:focus{outline:2px solid #fff;outline-offset:2px}
.pin-choices{display:flex;flex-direction:column;gap:10px;width:100%}
.pin-choice{display:flex;flex-direction:column;align-items:flex-start;gap:2px;text-align:left;border:1px solid rgba(255,255,255,.3);border-radius:14px;background:rgba(255,255,255,.1);color:#fff;padding:14px 16px;min-height:44px;cursor:pointer;box-shadow:none}
.pin-choice small{color:#cfe4e1;font-size:13px}
.lock-hold{width:100%}

/* Fokus-Gebetsmodus */
.focus-ov{position:fixed;inset:0;z-index:50;display:flex;flex-direction:column;color:#fff;background:radial-gradient(circle at 50% 30%,color-mix(in srgb,var(--accent) 45%,#06161a),#06161a 78%);padding:max(14px,env(safe-area-inset-top)) 20px max(16px,env(safe-area-inset-bottom))}
.focus-top{display:flex;justify-content:space-between;align-items:center;font-size:14px;color:#cfe4e1;min-height:44px}
.focus-x{background:none;border:0;color:#cfe4e1;text-decoration:underline;font-size:14px;min-height:44px;padding:8px;box-shadow:none;cursor:pointer}
.focus-main{flex:1;overflow:auto;display:flex;flex-direction:column;gap:14px;padding:8px 2px;max-width:520px;width:100%;margin:0 auto;box-sizing:border-box;justify-content:center}
.focus-main.center{align-items:center;text-align:center}
.focus-main h1{color:#fff;font-size:26px;line-height:1.2;margin:0}
.focus-breath{width:110px;height:110px;border-radius:50%;background:rgba(255,255,255,.16);box-shadow:0 0 50px rgba(255,255,255,.22);animation:breathe 8s ease-in-out infinite;margin:0 auto;flex:none}
.focus-time{margin:0;text-align:center;font-size:34px;font-weight:800;font-variant-numeric:tabular-nums;color:#fff;min-height:40px}
.focus-time.done{opacity:.55}
.focus-tags{text-align:center;font-size:13px;letter-spacing:.04em;text-transform:uppercase;color:#cfe4e1}
.focus-text{margin:0;text-align:center;font-size:clamp(22px,6vw,28px);line-height:1.35;font-weight:600;color:#fff;overflow-wrap:anywhere}
.focus-sub{margin:0;text-align:center;color:#cfe4e1;font-size:14px;line-height:1.45;min-height:0}
.focus-lab{margin:6px 0 0;font-size:13px;color:#cfe4e1;display:block}
.focus-verse{border-left:3px solid rgba(255,255,255,.4);padding:4px 0 4px 12px;color:#e9f2f1;font-size:16px;line-height:1.5;text-align:left}
.focus-verse small{display:block;color:#cfe4e1;margin-bottom:4px}
.focus-det{color:#cfe4e1;font-size:14px;background:none!important;box-shadow:none!important;border:0!important;padding:0!important}
.focus-det summary{cursor:pointer;min-height:44px;display:flex;align-items:center;justify-content:center;color:#cfe4e1}
.focus-note{width:100%;box-sizing:border-box;padding:12px 14px;border-radius:12px;background:rgba(255,255,255,.12)!important;color:#fff!important;border:1px solid rgba(255,255,255,.3)!important;font-size:16px}
.focus-actions{max-width:520px;width:100%;margin:0 auto;display:flex;flex-direction:column;gap:10px}
.focus-go{border:0;border-radius:16px;background:#fff;color:#0f2a30;font-size:18px;font-weight:700;min-height:54px;padding:12px 24px;cursor:pointer;box-shadow:none}
.focus-row{display:flex;gap:10px}
.focus-sec{flex:1;border:1px solid rgba(255,255,255,.35);border-radius:14px;background:none;color:#fff;font-size:15px;min-height:46px;cursor:pointer;box-shadow:none}
.focus-sec:disabled{opacity:.35}
.focus-ov .chips{justify-content:center}
.focus-ov .chips button{background:rgba(255,255,255,.1);color:#fff;border:1px solid rgba(255,255,255,.3)}
.focus-ov .chips button[aria-pressed=true]{background:#fff;color:#0f2a30}

/* Analog beten */
.steps { margin: 6px 0 4px; padding-left: 20px; display: grid; gap: 6px; }
.steps li { line-height: 1.45; }
pre.tpl { white-space: pre-wrap; word-break: break-word; font: 14px/1.6 ui-monospace, Menlo, Consolas, monospace; background: var(--surface); border: 1px solid color-mix(in srgb, var(--ink) 12%, transparent); border-radius: 14px; padding: 12px 14px; margin: 8px 0; }

/* Übersetzungen: Ausgewählt / Verfügbar */
.trpick { width: 100%; }
.trpick .chips { margin: 4px 0; }
.trpick .chips .trmore { background: transparent; box-shadow: 0 0 0 1px var(--hair) inset; color: var(--accent); }
.trpanel { margin-top: 8px; padding: 4px 14px 10px; background: var(--surface); border-radius: 18px; box-shadow: 0 0 0 1px var(--hair) inset; }
.trpanel h3.trh { margin: 14px 0 4px; font-size: 12px; line-height: 1.3; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted, color-mix(in srgb, var(--ink) 60%, transparent)); }
.trlang { margin: 10px 0 0; font-size: 13px; font-weight: 600; color: color-mix(in srgb, var(--ink) 70%, transparent); }
.trrow { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--hair); }
.trrow:last-child { border-bottom: 0; }
.trtxt { min-width: 0; display: grid; }
.trtxt small { color: color-mix(in srgb, var(--ink) 60%, transparent); }
.trrow button { flex: none; }

/* Touch-Flächen mindestens 44 px (Apple-Richtlinie) */
a.btn.small, button.small, .chips button, .seg button { min-height: 44px; }
.focus-sec, .focus-x { min-height: 44px; }
