@import url("/fonts.css");
:root {
  /* Warme, ruhige Farben (Entwurf 16.10.2026, wird an Doms Homepage und Bücher angepasst) */
  --bg: #fbf5ec; --card: #ffffff; --text: #1a1a1a; --muted: #333333;
  --accent: #e0602a; --accent-text: #ffffff; --line: #ece0d6; --me: #fde6d6;
  --soft: #fdeee4; --calm: #3a2d8c; --calm-soft: #eeebf8; --violet: #7a2a76; --danger: #a8321f; --danger-bg: #fbeeea;
  --sky: linear-gradient(135deg, #fcd2b4 0%, #f7c1c4 35%, #dcc6e6 70%, #c9caf0 100%);
  --shadow: 0 6px 22px rgba(120, 70, 30, .10);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #1d1916; --card: #27211d; --text: #f1e9e1; --muted: #bfb1a6;
    --accent: #f08a55; --accent-text: #22140c; --line: #3a312a; --me: #3a2a20;
    --soft: #33261e; --calm: #b3a8f0; --calm-soft: #26223a; --violet: #e0a0dc; --danger: #ff9b85; --danger-bg: #2e1c18;
    --sky: linear-gradient(135deg, #5a3426 0%, #552c45 40%, #3f2c5c 75%, #22285a 100%);
    --shadow: 0 6px 22px rgba(0, 0, 0, .35);
  }
}
:root[data-theme="dark"] {
  --bg: #1d1916; --card: #27211d; --text: #f1e9e1; --muted: #bfb1a6;
  --accent: #f08a55; --accent-text: #22140c; --line: #3a312a; --me: #3a2a20;
  --soft: #33261e; --calm: #b3a8f0; --calm-soft: #26223a; --violet: #e0a0dc; --danger: #ff9b85; --danger-bg: #2e1c18;
  --sky: linear-gradient(135deg, #5a3426 0%, #552c45 40%, #3f2c5c 75%, #22285a 100%);
  --shadow: 0 6px 22px rgba(0, 0, 0, .35);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 17px/1.55 "Urbanist", "Century Gothic", "Avenir Next", system-ui, -apple-system, "Segoe UI", sans-serif; background: var(--bg); color: var(--text); }
body { font-weight: 480; }
/* Sanfter Farbverlauf oben, wie ein Sonnenaufgang */
body::before { content: ""; position: fixed; inset: 0 0 auto 0; height: 260px; background: var(--sky); opacity: .55; z-index: -1;
  -webkit-mask-image: linear-gradient(#000, transparent); mask-image: linear-gradient(#000, transparent); }
h1, h2, .q h2 { color: var(--text); }
a { color: var(--accent); }
.wrap { max-width: 760px; margin: 0 auto; padding: 16px; min-height: 100dvh; display: flex; flex-direction: column; }
header.top { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 0 16px; flex-wrap: wrap; }
header.top nav { display: flex; gap: 8px; flex-wrap: wrap; }
header.top nav button, header.top nav a.btn { font-size: 14px; padding: 6px 10px; }
.brand { font-weight: 700; font-size: 20px; letter-spacing: .2px; color: var(--text); text-decoration: none; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand .mark { flex: none; width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, #f58a4a 0%, #e8564a 30%, #8a2f86 68%, #2c2394 100%);
  color: #fff; font-weight: 700; font-size: 22px; display: grid; place-items: center; box-shadow: 0 3px 10px rgba(160, 80, 40, .25); text-shadow: 0 1px 2px rgba(0,0,0,.2); }
.kiline { margin: 0 0 16px; padding: 10px 14px; border-radius: 14px; background: var(--calm-soft); color: var(--calm); font-size: 15px; font-weight: 500; }
.brand small { display: block; font-weight: 500; font-size: 13px; color: var(--calm); letter-spacing: .3px; }
button, a.btn { font: inherit; cursor: pointer; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--text); padding: 10px 16px; text-decoration: none; display: inline-block; text-align: center; }
button.primary, a.btn.primary { background: var(--accent); color: var(--accent-text); border-color: var(--accent); font-weight: 600; }
button:disabled { opacity: .45; cursor: default; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 22px; box-shadow: var(--shadow); }
.muted, .explain { color: var(--muted); font-size: 14px; }
.explain { margin: 6px 0 14px; }
label { display: block; font-size: 14px; color: var(--muted); margin: 14px 0 4px; }
input[type=email], input[type=text], input[type=password], textarea { width: 100%; font: inherit; color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.consent { display: flex; gap: 10px; align-items: flex-start; margin: 18px 0; font-size: 14px; color: var(--muted); }
.consent input { margin-top: 4px; width: 18px; height: 18px; flex: none; }
.err { color: var(--danger); font-size: 14px; min-height: 20px; margin-top: 8px; }
.hidden { display: none !important; }

/* Hilfe-Zeile, immer sichtbar */
.helpline { position: sticky; bottom: 0; background: var(--bg); border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); padding: 8px 0; text-align: center; }
.helpline a { font-weight: 600; text-decoration: none; }

/* Fragebogen */
.progress { font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.q h2 { margin: 0 0 4px; font-size: 21px; line-height: 1.3; }
.opts { display: flex; flex-direction: column; gap: 8px; margin: 12px 0; }
.opts.grid { flex-direction: row; flex-wrap: wrap; }
.opts button { text-align: left; padding: 12px 14px; border-radius: 12px; position: relative; }
.opts.grid button { min-width: 56px; text-align: center; }
.opts button[aria-pressed="true"] { border-color: var(--accent); background: var(--soft); box-shadow: inset 0 0 0 1px var(--accent); }
.opts button .nr { display: inline-block; min-width: 22px; height: 22px; line-height: 22px; border-radius: 11px; background: var(--accent); color: var(--accent-text); font-size: 12px; text-align: center; margin-right: 8px; }
.qnav { display: flex; justify-content: space-between; gap: 8px; margin-top: 18px; }

/* Chat */
#log { flex: 1; display: flex; flex-direction: column; gap: 12px; padding: 8px 0 16px; }
.msg { padding: 12px 16px; border-radius: 14px; max-width: 92%; overflow-wrap: anywhere; }
.msg.user { align-self: flex-end; background: var(--me); }
.msg.assistant { align-self: flex-start; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); }
.msg p { margin: 0 0 .6em; } .msg p:last-child { margin: 0; }
.msg ul, .msg ol { margin: .2em 0 .6em; padding-left: 1.3em; }
.msg h3, .msg h4 { margin: .6em 0 .3em; font-size: 1em; }
.msg blockquote { margin: .4em 0; padding-left: .8em; border-left: 3px solid var(--line); }
form.compose { display: flex; gap: 8px; position: sticky; bottom: 34px; background: var(--bg); padding: 8px 0 4px; }
form.compose textarea { resize: none; height: 52px; }
footer.foot { font-size: 12px; color: var(--muted); text-align: center; padding: 10px 0; }

/* Hinweis unter jeder Übung */
.read h2 { color: var(--violet); }
.ex-note { margin-top: 12px; padding-top: 8px; border-top: 1px dashed var(--line); font-size: 12px; line-height: 1.45; color: var(--muted); }

/* Lese-Seiten */
.read { max-width: 640px; margin: 0 auto; }
.read h1 { font-size: 28px; line-height: 1.2; margin: 8px 0 6px; }
.read .lead { color: var(--muted); margin: 0 0 24px; }
.flow p { font-size: 20px; line-height: 1.7; margin: 0 0 22px; }
.flow p.pause { margin-top: 36px; }
.steps { padding-left: 1.4em; }
.steps li { margin: 0 0 12px; font-size: 18px; line-height: 1.6; }
section.block { margin: 28px 0; }
section.block h2 { font-size: 22px; margin: 0 0 6px; }
.tags { font-size: 13px; color: var(--muted); margin: 0 0 12px; }
.callgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin: 10px 0 6px; }
a.call { display: block; padding: 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--text); text-decoration: none; }
a.call strong { display: block; font-size: 22px; color: var(--accent); }
a.call span { font-size: 13px; color: var(--muted); }
a.call.urgent strong { color: var(--danger); }
a.call span.icon { display: block; font-size: 24px; line-height: 1; margin-bottom: 4px; }
.alert { background: var(--danger-bg); border-radius: 12px; padding: 12px 14px; margin: 10px 0; font-weight: 600; }
.country { font-size: 14px; color: var(--muted); margin: 16px 0 0; font-weight: 600; }
.tiers { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); margin: 14px 0; }
.tier { border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 14px; background: var(--card); display: flex; flex-direction: column; gap: 6px; }
.tier h3 { margin: 0; font-size: 18px; }
.tier .price { font-weight: 600; }
.tier .price:empty { display: none; }
.tier p { margin: 0; font-size: 14px; color: var(--muted); }
.tier a.btn { margin-top: auto; }
.cta { text-align: center; margin: 28px 0; }
.cta a.btn.primary { font-size: 18px; padding: 14px 22px; }
.small { font-size: 14px; }

/* Jetzt üben, Erinnerung, Rückmeldung */
.practice { position: relative; margin: 4px 0 12px; }
.practice h3 { margin: 0 0 4px; font-size: 19px; color: var(--violet); }
.practice h4 { margin: 14px 0 6px; font-size: 14px; color: var(--muted); font-weight: 600; }
.pchips { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0; }
.pchips button { padding: 8px 12px; border-radius: 999px; font-size: 15px; line-height: 1.25; }
.pchips button small { display: block; font-size: 11px; color: var(--muted); }
.pchips button[aria-pressed="true"] { background: var(--soft); border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.pgo { margin-top: 16px; width: 100%; font-size: 17px; }
.pclose { position: absolute; top: 12px; right: 12px; padding: 2px 10px; border-radius: 999px; }
.remind { margin-top: 14px; font-size: 15px; }
.remind summary { cursor: pointer; color: var(--calm); font-weight: 600; }
.rrow { display: flex; gap: 8px; align-items: center; }
.rrow input[type=time] { font: inherit; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--text); }
.fb { margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--line); font-size: 14px; }
.fbq { color: var(--muted); }
.fb textarea { margin-top: 8px; height: 64px; resize: vertical; }
.fb .consent { margin: 10px 0; }
.fbthanks { color: var(--calm); font-weight: 600; }
.rueck:empty { display: none; }
.rueck { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 12px 16px; margin: 4px 0 12px; box-shadow: var(--shadow); font-size: 14px; }
.rtop { display: flex; justify-content: space-between; align-items: baseline; color: var(--violet); }
.rtop span { color: var(--accent); font-weight: 700; }
.rnums { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 8px 0; text-align: center; color: var(--muted); }
.rnums b { display: block; font-size: 22px; color: var(--text); }
.rweg { color: var(--calm); font-weight: 600; }
.rbar { height: 8px; border-radius: 99px; background: var(--calm-soft); margin: 6px 0 4px; overflow: hidden; }
.rbar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #f58a4a, #8a2f86); }
button.linkish { border: 0; background: none; padding: 0; color: var(--accent); text-decoration: underline; font-size: 14px; font-weight: 500; }
.rwhy p { margin: 8px 0; color: var(--text); font-weight: 450; }
.rstat { margin: 10px 0 0; font-size: 12px; }

.paket { border-top: 1px solid var(--line); padding: 8px 0; }
.paket summary { cursor: pointer; padding: 4px 0; font-size: 16px; }
.paket > button.primary { margin: 6px 0; }
.rgtext { font-size: 15px; line-height: 1.55; }
.drei .pchips button { font-weight: 600; }
header.top nav a.btn.primary { font-size: 16px; padding: 8px 18px; }
.klang-info { margin: 2px 0 8px; font-size: 14px; }
.klang-info summary { cursor: pointer; color: var(--accent); text-decoration: underline; }
.klang-info p { margin: 6px 0; color: var(--text); line-height: 1.45; }

.kasten { background: var(--me); border-left: 4px solid var(--accent); border-radius: 10px; padding: 8px 14px; margin: 12px 0; }
.kasten p.vb { margin: 2px 0; }
.kasten p.vb strong { color: var(--accent); }
.kasten p.vb.v { margin-top: 12px; }
details.hgr { margin: 8px 0; }
details.hgr summary { cursor: pointer; color: var(--accent); font-weight: 600; text-decoration: underline; }
details.hgr p { margin: 6px 0; }

.tools { margin-top: 12px; display: grid; gap: 10px; font-size: 14px; }
.tools button { padding: 6px 14px; border-radius: 99px; border: 1px solid var(--line); background: var(--card); color: var(--text); font-size: 14px; cursor: pointer; }
.tools .vlrow { display: flex; flex-wrap: wrap; gap: 8px; }
.tools .stipp { font-size: .85em; margin: 6px 0 0; opacity: .85; line-height: 1.45; }
.tools .stipp .stipp-ok { margin-left: 6px; }
.tools button.vl, .tools button.tstart { border: 0; color: #fff; font-weight: 600; background: linear-gradient(135deg, #f58a4a 0%, #e8564a 45%, #8a2f86 100%); }
.tools button.vl.an { background: linear-gradient(135deg, #8a2f86 0%, #2c2394 100%); }
.tools .tbox { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.tools .tlab { color: var(--muted); margin-right: 2px; }
.tools .tbox > button[data-t="minus"], .tools .tbox > button[data-t="plus"] { width: 34px; padding: 6px 0; font-weight: 700; }
.tools .tmin { width: 3.2em; padding: 5px 4px; text-align: center; font-size: 15px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); color: var(--text); }
.tools .tlauf { flex-basis: 100%; display: flex; align-items: center; gap: 10px; }
.tools .tlauf:empty { display: none; }
.tools .rest { font-weight: 600; color: var(--accent); font-size: 15px; }
.tools .uhr { width: 54px; height: 54px; }
.uhr .u0 { fill: none; stroke: var(--line); stroke-width: 5; }
.uhr .u1 { fill: none; stroke: #e8564a; stroke-width: 5; stroke-linecap: round; }
.uhr .zeiger { stroke: #8a2f86; stroke-width: 2.5; stroke-linecap: round; }
.uhr .mitte { fill: #8a2f86; }
.tools .quelle { margin: 0; font-size: 13px; color: var(--muted); }

.pk { margin-top: 12px; }
#pkLogin { margin: 4px 0 16px; }
#pkLogin .pkbtn { width: 100%; }
#pkAngebot p { margin: 6px 0; }
#pkAngebot .pkhint { font-size: 13px; color: var(--muted); }
#pkAngebot .pkmsg:empty { display: none; }

/* Bestellnummer-Feld mit Anzeigen-Knopf (Login speichern) */
.pwfeld { position: relative; }
.pwfeld input { width: 100%; padding-right: 44px; box-sizing: border-box; }
.pwzeigen { position: absolute; right: 4px; top: 50%; transform: translateY(-50%); background: none; border: 0; font-size: 18px; padding: 6px; cursor: pointer; width: auto; margin: 0; box-shadow: none; }
#aboInfo { position: relative; padding-right: 48px; }
.aboaendern summary { list-style: none; display: inline-block; }
.aboaendern summary::-webkit-details-marker { display: none; }
.abolinks { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 10px; }

/* Blauer Kopfbalken wie auf der Homepage (Dom 21.10.2026) */
header.top { background: #120075; box-shadow: 0 0 0 100vmax #120075; clip-path: inset(0 -100vmax); margin: -16px 0 18px; padding: 12px 0; }
header.top .brand { color: #fff; }
header.top .brand small { color: #ffd2b8; }
header.top #tierBadge { color: #fff; }

/* Paket freischalten (Zusatzkauf), unauffällig am Ende des Pakets */
.freischalten { margin: 10px 0 4px; padding-top: 8px; border-top: 1px dashed var(--line); }
.freischalten p { margin: 0 0 6px; }

/* Gratis-Übung und Anmelden (Dom 23.10.2026) */
:root { --blau: #120075; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --blau: #b3a8f0; } }
:root[data-theme="dark"] { --blau: #b3a8f0; }
.read h2.h-blau { color: var(--blau); }
.read h2.h-orange, .cta h2.h-orange { color: var(--accent); }
.einladung { text-align: center; font-size: 19px; font-weight: 600; margin: 26px 0 6px; }
.tier { position: relative; }
.tier.top { border: 2px solid var(--accent); padding-top: 26px; }
.tier .band { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--accent); color: var(--accent-text); font-size: 13px; font-weight: 700; padding: 3px 14px; border-radius: 999px; white-space: nowrap; }
.tier .tier-intro { font-weight: 600; color: var(--text); }
.tier ul.gruende { margin: 4px 0 10px; padding-left: 20px; font-size: 14px; color: var(--text); }
.tier ul.gruende li { margin: 4px 0; }
details.wasist summary { cursor: pointer; color: var(--accent); font-size: 13px; text-decoration: underline; }
details.wasist p, details.wasist ul { margin: 4px 0; font-size: 13px; color: var(--muted); }
details.wasist ul { padding-left: 18px; }
a.btn.gratisbtn { display: block; margin: 14px 0 6px; border: 2px solid var(--accent); color: var(--accent); font-weight: 600; background: var(--card); }
.loginlinks { text-align: center; }
