/* ============================================================
   Haushaltsbuch-App – main.css
   Stil: hell & vertrauenswürdig (Fintech), mobile-first
   ============================================================ */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
input, select { font: inherit; }
ul { list-style: none; padding: 0; }

/* ---------- Tokens ---------- */
:root {
  --brand-50:  #ECFDF5;
  --brand-100: #D1FAE5;
  --brand-500: #10B981;
  --brand-600: #059669;
  --brand-700: #047857;
  --brand-800: #065F46;

  --ink:    #0F172A;
  --ink-2:  #334155;
  --muted:  #64748B;
  --line:   #E6EBF1;
  --bg:     #FFFFFF;
  --soft:   #F5F9F8;
  --soft-2: #EEF4F3;
  --card:   #FFFFFF;

  --pos: #10B981;
  --neg: #EF4444;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(15,23,42,.06), 0 1px 3px rgba(15,23,42,.05);
  --shadow:    0 10px 30px -12px rgba(15,23,42,.18);
  --shadow-lg: 0 30px 60px -20px rgba(6,95,70,.35);

  --maxw: 1140px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
}

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 20px; }

/* ---------- Typo helpers ---------- */
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; font-weight: 800; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: var(--brand-700); background: var(--brand-50);
  padding: 6px 12px; border-radius: 999px;
}
.section-head { max-width: 640px; margin: 0 auto 44px; text-align: center; }
.section-head h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); margin-top: 14px; }
.section-head p { color: var(--muted); font-size: 1.08rem; margin-top: 14px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 22px; border-radius: 12px; font-weight: 700; font-size: 1rem;
  transition: transform .12s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: linear-gradient(180deg, var(--brand-500), var(--brand-600));
  color: #fff; box-shadow: 0 8px 20px -8px rgba(5,150,105,.6);
}
.btn-primary:hover { box-shadow: 0 12px 26px -8px rgba(5,150,105,.7); }
.btn-ghost { background: #fff; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--brand-500); color: var(--brand-700); }
.btn-lg { padding: 16px 28px; font-size: 1.05rem; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.82); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.12rem; }
.brand .logo {
  width: 34px; height: 34px; border-radius: 9px;
  background: linear-gradient(135deg, var(--brand-500), var(--brand-700));
  display: grid; place-items: center; color: #fff; box-shadow: var(--shadow-sm);
}
.brand small { display: block; font-size: .68rem; font-weight: 600; color: var(--muted); letter-spacing: .02em; }
.nav-links { display: none; align-items: center; gap: 30px; }
.nav-links a { color: var(--ink-2); font-weight: 600; font-size: .96rem; }
.nav-links a:hover { color: var(--brand-700); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; border: 1.5px solid var(--line); }
.mobile-menu { display: none; border-bottom: 1px solid var(--line); background: #fff; }
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; padding: 14px 20px; font-weight: 600; border-top: 1px solid var(--soft-2); }

@media (min-width: 900px) {
  .nav-links { display: flex; }
  .nav-toggle { display: none; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background:
  radial-gradient(1200px 500px at 80% -10%, var(--brand-50), transparent 60%),
  radial-gradient(900px 500px at 0% 0%, #EEF6FF, transparent 55%); }
.hero-grid { display: grid; gap: 40px; padding: 56px 0 40px; align-items: center; }
.hero h1 { font-size: clamp(2.1rem, 6vw, 3.5rem); }
.hero h1 .grad { background: linear-gradient(120deg, var(--brand-600), #0EA5A0); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 1.18rem; color: var(--ink-2); margin-top: 20px; max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.trust-chips { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 30px; }
.trust-chips span { display: inline-flex; align-items: center; gap: 7px; font-size: .9rem; font-weight: 600; color: var(--ink-2); }
.trust-chips svg { color: var(--brand-600); }

.hero-visual { display: flex; justify-content: center; position: relative; }

@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.05fr .95fr; padding: 76px 0 60px; }
}

/* ---------- Phone mockup ---------- */
.phone {
  width: 300px; max-width: 82vw; border-radius: 42px; padding: 12px;
  background: linear-gradient(160deg, #1f2937, #0f172a);
  box-shadow: var(--shadow-lg); position: relative;
}
.phone::before { content: ""; position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 120px; height: 26px; background: #0f172a; border-radius: 0 0 16px 16px; z-index: 3; }
.phone-screen { background: var(--soft); border-radius: 32px; overflow: hidden; height: 600px; display: flex; flex-direction: column; }
.phone-float { position: absolute; z-index: 4; background: #fff; border-radius: 14px; box-shadow: var(--shadow); padding: 12px 14px; display: flex; align-items: center; gap: 10px; font-size: .82rem; font-weight: 600; }
.phone-float .dot { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #fff; }
.phone-float.f1 { top: 70px; left: -46px; }
.phone-float.f2 { bottom: 90px; right: -40px; }
@media (max-width: 960px) { .phone-float { display: none; } }

/* App screen (mockup + demo share these) */
.app-head { background: linear-gradient(160deg, var(--brand-600), var(--brand-800)); color: #fff; padding: 46px 18px 20px; }
.app-head .label { font-size: .8rem; opacity: .85; }
.app-head .balance { font-size: 1.9rem; font-weight: 800; margin-top: 2px; letter-spacing: -.02em; }
.app-head .sub { display: flex; gap: 14px; margin-top: 12px; font-size: .8rem; }
.app-head .sub b { display: block; font-size: .98rem; }
.app-body { padding: 16px; overflow-y: auto; flex: 1; }
.mini-card { background: #fff; border-radius: 16px; box-shadow: var(--shadow-sm); padding: 14px; margin-bottom: 12px; }
.mini-card h4 { font-size: .82rem; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 10px; }
.mini-donut { display: flex; align-items: center; gap: 12px; }
.mini-donut .donut { width: 92px; height: 92px; }
.mini-legend li { display: flex; align-items: center; gap: 7px; font-size: .78rem; margin-bottom: 5px; }
.mini-legend .sw { width: 10px; height: 10px; border-radius: 3px; }
.tx { display: flex; align-items: center; gap: 11px; padding: 9px 0; border-top: 1px solid var(--soft-2); }
.tx:first-child { border-top: none; }
.tx .ic { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; font-size: 1rem; flex: none; }
.tx .who { flex: 1; min-width: 0; }
.tx .who b { font-size: .86rem; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tx .who span { font-size: .74rem; color: var(--muted); }
.tx .amt { font-weight: 700; font-size: .88rem; }
.tx .amt.pos { color: var(--pos); }

/* ---------- Bank strip ---------- */
.banks { padding: 30px 0; border-block: 1px solid var(--line); background: #fff; }
.banks p { text-align: center; color: var(--muted); font-size: .85rem; margin-bottom: 16px; }
.bank-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 12px; }
.bank-pill { background: var(--soft); border: 1px solid var(--line); border-radius: 10px; padding: 8px 14px; font-weight: 700; font-size: .9rem; color: var(--ink-2); }

/* ---------- Sections ---------- */
section { padding: 64px 0; }
.section-soft { background: var(--soft); }

/* Features */
.feature { display: grid; gap: 34px; align-items: center; margin-bottom: 46px; }
.feature:last-child { margin-bottom: 0; }
.feature .fnum { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--brand-50); color: var(--brand-700); font-weight: 800; }
.feature h3 { font-size: clamp(1.4rem, 3.5vw, 1.9rem); margin: 16px 0 12px; }
.feature p { color: var(--ink-2); font-size: 1.05rem; }
.feature ul.checks { margin-top: 16px; display: grid; gap: 10px; }
.feature ul.checks li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); }
.feature ul.checks svg { color: var(--brand-600); flex: none; margin-top: 3px; }
.feature-visual { background: linear-gradient(160deg, var(--soft), var(--soft-2)); border: 1px solid var(--line); border-radius: 24px; padding: 22px; box-shadow: var(--shadow-sm); }
@media (min-width: 900px) {
  .feature { grid-template-columns: 1fr 1fr; gap: 56px; }
  .feature.reverse .feature-copy { order: 2; }
}

/* Screenshot card used inside feature-visual */
.shot { background: #fff; border-radius: 16px; box-shadow: var(--shadow-sm); padding: 16px; }
.shot h5 { font-size: .95rem; margin-bottom: 4px; }
.shot .muted { color: var(--muted); font-size: .82rem; }
.bar-row { margin-top: 14px; }
.bar-row .bl { display: flex; justify-content: space-between; font-size: .85rem; margin-bottom: 6px; font-weight: 600; }
.bar { height: 9px; background: var(--soft-2); border-radius: 999px; overflow: hidden; }
.bar > span { display: block; height: 100%; border-radius: 999px; }

/* Steps */
.steps { display: grid; gap: 22px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); position: relative; }
.step .n { width: 44px; height: 44px; border-radius: 13px; background: linear-gradient(135deg,var(--brand-500),var(--brand-700)); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 1.15rem; margin-bottom: 16px; }
.step h3 { font-size: 1.2rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .98rem; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); } }

/* Privacy */
.privacy { background: linear-gradient(160deg, var(--brand-800), #052e26); color: #fff; border-radius: 28px; padding: 44px 28px; }
.privacy .eyebrow { background: rgba(255,255,255,.12); color: #A7F3D0; }
.privacy h2 { font-size: clamp(1.6rem,4vw,2.3rem); margin: 16px 0 14px; }
.privacy > p { color: #C7EFE3; max-width: 640px; font-size: 1.06rem; }
.privacy-grid { display: grid; gap: 18px; margin-top: 30px; }
.priv-card { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: 16px; padding: 20px; }
.priv-card .pic { width: 42px; height: 42px; border-radius: 12px; background: rgba(16,185,129,.25); display: grid; place-items: center; color: #6EE7B7; margin-bottom: 12px; }
.priv-card h4 { font-size: 1.05rem; margin-bottom: 6px; }
.priv-card p { color: #B6E3D6; font-size: .92rem; }
@media (min-width: 760px) { .privacy-grid { grid-template-columns: repeat(3,1fr); } .privacy { padding: 56px 48px; } }

/* FAQ */
.faq { max-width: 780px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 4px 20px; box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; padding: 16px 0; font-weight: 700; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.5rem; color: var(--brand-600); font-weight: 400; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--ink-2); padding-bottom: 18px; }

/* CTA band */
.cta-band { text-align: center; background:
  radial-gradient(700px 300px at 50% 0%, var(--brand-50), transparent 70%); }
.cta-band h2 { font-size: clamp(1.8rem,4.5vw,2.6rem); }
.cta-band p { color: var(--muted); margin: 14px auto 26px; max-width: 520px; font-size: 1.08rem; }

/* Footer */
.site-footer { background: #0B1220; color: #94A3B8; padding: 52px 0 30px; }
.foot-grid { display: grid; gap: 30px; }
.foot-brand { color: #fff; font-weight: 800; display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.site-footer h5 { color: #fff; font-size: .95rem; margin-bottom: 12px; }
.site-footer a { display: block; padding: 5px 0; color: #94A3B8; }
.site-footer a:hover { color: #fff; }
.foot-note { border-top: 1px solid #1E293B; margin-top: 34px; padding-top: 20px; font-size: .82rem; color: #64748B; }
.foot-note .disc { max-width: 760px; margin-top: 10px; }
@media (min-width: 760px) { .foot-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }

/* ============================================================
   DEMO-APP
   ============================================================ */
.demo-body { background: var(--soft); min-height: 100vh; padding-bottom: 78px; }
.demo-topbar { background: linear-gradient(160deg, var(--brand-600), var(--brand-800)); color: #fff; padding: 16px 0 22px; }
.demo-topbar .row { display: flex; align-items: center; justify-content: space-between; }
.demo-topbar .back { display: inline-flex; align-items: center; gap: 7px; font-size: .88rem; color: #D1FAE5; font-weight: 600; }
.demo-badge { background: rgba(255,255,255,.16); color: #ECFDF5; font-size: .74rem; font-weight: 700; padding: 5px 11px; border-radius: 999px; letter-spacing: .02em; }
.demo-hero { margin-top: 18px; }
.demo-hero .lbl { font-size: .82rem; color: #A7F3D0; }
.demo-hero .big { font-size: 2.1rem; font-weight: 800; letter-spacing: -.02em; margin-top: 2px; }
.demo-hero .accts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.acct-chip { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.14); border-radius: 10px; padding: 7px 11px; font-size: .8rem; }
.acct-chip b { display: block; font-size: .9rem; }

.demo-main { padding: 20px 0 30px; }
.grid-2 { display: grid; gap: 18px; }
@media (min-width: 820px) { .grid-2 { grid-template-columns: 1.1fr .9fr; align-items: start; } }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 22px; }
.card + .card { margin-top: 18px; }
.card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.card-head h3 { font-size: 1.15rem; }
.card-head .pill { font-size: .78rem; font-weight: 700; color: var(--brand-700); background: var(--brand-50); padding: 5px 10px; border-radius: 999px; }

.kpis { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-bottom: 18px; }
.kpi { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.kpi .k { font-size: .76rem; color: var(--muted); font-weight: 600; }
.kpi .v { font-size: 1.25rem; font-weight: 800; margin-top: 3px; letter-spacing: -.01em; }
.kpi .v.pos { color: var(--pos); } .kpi .v.neg { color: var(--neg); }

.donut-wrap { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.donut-wrap .donut { width: 190px; height: 190px; flex: none; }
.donut-center { position: relative; }
.donut-center .dc { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; }
.donut-center .dc span { font-size: .74rem; color: var(--muted); display: block; }
.donut-center .dc b { font-size: 1.15rem; }
.legend { flex: 1; min-width: 200px; display: grid; gap: 10px; }
.legend li { display: flex; align-items: center; gap: 10px; font-size: .92rem; }
.legend .sw { width: 12px; height: 12px; border-radius: 4px; flex: none; }
.legend .nm { flex: 1; }
.legend .vl { font-weight: 700; }
.legend .pc { color: var(--muted); font-size: .82rem; width: 42px; text-align: right; }

.tx-list .tx .who b { font-size: .92rem; }
.tx-list .tx { padding: 12px 0; }
.tag-auto { font-size: .68rem; font-weight: 700; color: var(--brand-700); background: var(--brand-50); padding: 2px 7px; border-radius: 6px; margin-left: 6px; }

/* Monatsverlauf */
.mchart { width: 100%; height: auto; display: block; }
.mchart-foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.mchart-legend { display: flex; gap: 16px; font-size: .85rem; color: var(--ink-2); }
.mchart-legend span { display: inline-flex; align-items: center; gap: 7px; }
.mchart-legend i { width: 12px; height: 12px; border-radius: 4px; display: inline-block; }
.mchart-avg { font-size: .9rem; color: var(--muted); }
.mchart-avg b { color: var(--brand-600); }
.mbar { cursor: pointer; }
.mbar:hover rect[fill="transparent"] { fill: rgba(15,23,42,.03); }

/* Hover-Tooltip */
.mchart-tooltip { position: absolute; z-index: 100; pointer-events: none; background: #0f172a; color: #fff;
  border-radius: 12px; padding: 12px 14px; min-width: 170px; box-shadow: 0 12px 30px -8px rgba(0,0,0,.5); font-size: .82rem; }
.mchart-tooltip .tt-h { font-weight: 800; margin-bottom: 8px; }
.mchart-tooltip .tt-r { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 2px 0; }
.mchart-tooltip .tt-r span { display: inline-flex; align-items: center; gap: 7px; color: #cbd5e1; }
.mchart-tooltip .tt-r i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.mchart-tooltip .tt-sv { margin-top: 6px; padding-top: 6px; border-top: 1px solid #1e293b; }
.mchart-tooltip .tt-sv b { color: #6EE7B7; }

/* Periodenauswahl */
.period-bar { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line);
  border-radius: 14px; padding: 10px 14px; margin-bottom: 16px; box-shadow: var(--shadow-sm); }
.period-bar .pb-label { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: .9rem; color: var(--ink-2); }
.period-bar .pb-label svg { color: var(--brand-600); }
.period-bar select { flex: 1; border: none; background: var(--soft); border-radius: 10px; padding: 10px 12px;
  font-weight: 700; color: var(--ink); cursor: pointer; outline: none; }

/* Tipp-Banner */
.tip-banner { display: flex; align-items: center; gap: 14px; background: #fff;
  border: 1px solid var(--brand-100); border-left: 4px solid var(--brand-500);
  border-radius: 16px; padding: 15px 18px; margin-bottom: 18px; box-shadow: var(--shadow-sm); }
.tip-banner .tip-ico { width: 44px; height: 44px; flex: none; display: grid; place-items: center;
  font-size: 1.3rem; background: var(--brand-50); border-radius: 12px; }
.tip-texts { position: relative; flex: 1; min-height: 2.9em; display: flex; align-items: center; }
.tip-texts .tip { position: absolute; top: 0; left: 0; right: 0;
  display: flex; align-items: center; flex-wrap: wrap; gap: 4px 8px;
  opacity: 0; transform: translateY(8px); transition: opacity .45s ease, transform .45s ease;
  font-size: .95rem; line-height: 1.45; color: var(--ink-2); margin: 0; }
.tip-texts .tip.active { position: relative; opacity: 1; transform: none; }
.tip-lead { display: inline-block; font-weight: 800; color: #fff; background: var(--brand-600);
  padding: 3px 11px; border-radius: 999px; font-size: .74rem; letter-spacing: .02em; text-transform: uppercase; }
.tip-texts .tip b { color: var(--ink); font-weight: 800; }

/* Analyse-Steuerung */
.analyse-controls { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.ac-cat { flex: 1; min-width: 200px; display: flex; align-items: center; gap: 10px; }
.ac-cat label { font-weight: 700; font-size: .9rem; color: var(--ink-2); }
.ac-cat select { flex: 1; border: 1.5px solid var(--line); background: #fff; border-radius: 12px; padding: 11px 12px;
  font-weight: 700; color: var(--ink); cursor: pointer; outline: none; }
.seg { display: inline-flex; background: var(--soft-2); border-radius: 12px; padding: 4px; }
.seg a { padding: 8px 16px; border-radius: 9px; font-weight: 700; font-size: .88rem; color: var(--muted); }
.seg a.active { background: #fff; color: var(--brand-700); box-shadow: var(--shadow-sm); }

/* budgets */
.budget-item { padding: 16px 0; border-top: 1px solid var(--soft-2); }
.budget-item:first-child { border-top: none; }
.budget-item .bh { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.budget-item .ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font-size: 1.1rem; flex: none; }
.budget-item .bh .nm { flex: 1; font-weight: 700; }
.pct-chip { font-size: .72rem; font-weight: 700; color: var(--brand-700); background: var(--brand-50); padding: 2px 8px; border-radius: 999px; margin-left: 4px; }
.pct-chip.over { color: #b91c1c; background: #FEE2E2; }
.budget-item .bh .fig { text-align: right; font-size: .86rem; }
.budget-item .bh .fig b { font-size: .98rem; }
.budget-item .bh .fig .muted { color: var(--muted); }
.progress { height: 10px; background: var(--soft-2); border-radius: 999px; overflow: hidden; }
.progress > span { display: block; height: 100%; border-radius: 999px; transition: width .6s ease; }
.progress > span.over { background: var(--neg) !important; }

/* sparpotenzial */
.pot-hero { text-align: center; padding: 12px 0 8px; }
.pot-hero .amt { font-size: 2.6rem; font-weight: 800; color: var(--brand-600); letter-spacing: -.02em; }
.pot-hero .sub { color: var(--muted); }
.pot-item { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid var(--soft-2); }
.pot-item:first-child { border-top: none; }
.pot-item .ic { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; font-size: 1.2rem; flex: none; background: var(--brand-50); }
.pot-item .txt { flex: 1; }
.pot-item .txt b { display: block; }
.pot-item .txt span { font-size: .85rem; color: var(--muted); }
.pot-item .save { font-weight: 800; color: var(--brand-600); white-space: nowrap; }

/* sparplan calculator */
.calc-grid { display: grid; gap: 24px; }
@media (min-width: 860px) { .calc-grid { grid-template-columns: 380px 1fr; align-items: start; } }
.control { margin-bottom: 20px; }
.control label { display: flex; justify-content: space-between; font-weight: 700; font-size: .95rem; margin-bottom: 8px; }
.control label .val { color: var(--brand-700); }
.control input[type=range] { width: 100%; accent-color: var(--brand-600); height: 6px; }
.control .num { display: flex; align-items: center; gap: 8px; border: 1.5px solid var(--line); border-radius: 12px; padding: 4px 12px; }
.control .num input { border: none; width: 100%; padding: 10px 0; background: none; font-weight: 700; font-size: 1.05rem; outline: none; }
.control .num .unit { color: var(--muted); font-weight: 700; }
.result-cards { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; margin-bottom: 18px; }
.rc { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px; }
.rc.big { grid-column: 1 / -1; background: linear-gradient(160deg, var(--brand-600), var(--brand-800)); color: #fff; border: none; }
.rc .k { font-size: .78rem; color: var(--muted); font-weight: 600; }
.rc.big .k { color: #A7F3D0; }
.rc .v { font-size: 1.5rem; font-weight: 800; margin-top: 4px; letter-spacing: -.02em; }
.rc.big .v { font-size: 2.1rem; }
.chart-box { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
#growthChart { width: 100%; height: 240px; }
.disclaimer { margin-top: 20px; background: #FFFBEB; border: 1px solid #FDE68A; color: #92400E; border-radius: 14px; padding: 16px 18px; font-size: .9rem; display: flex; gap: 12px; }
.disclaimer svg { flex: none; margin-top: 2px; }

/* bottom nav */
.bottom-nav { position: fixed; bottom: 0; left: 0; right: 0; background: rgba(255,255,255,.94); backdrop-filter: blur(10px); border-top: 1px solid var(--line); display: flex; z-index: 40; }
.bottom-nav a { flex: 1; text-align: center; padding: 10px 4px; color: var(--muted); font-size: .68rem; font-weight: 600; }
.bottom-nav a .bi { display: block; margin: 0 auto 3px; }
.bottom-nav a.active { color: var(--brand-700); }

/* legal pages */
.legal { max-width: 780px; }
.legal h1 { font-size: 2rem; margin-bottom: 8px; }
.legal h2 { font-size: 1.25rem; margin: 30px 0 10px; }
.legal p, .legal li { color: var(--ink-2); margin-bottom: 10px; }
.legal ul { list-style: disc; padding-left: 22px; }
.legal .ph { background: #FEF3C7; padding: 2px 6px; border-radius: 5px; font-weight: 600; }

/* utils */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
