tax

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>SteuerKlar — Tax Action Playbook DACH 2026</title>
<style>
*{box-sizing:border-box;margin:0;padding:0;}
:root{
  --bg:#080b14;
  --surface:#0e1220;
  --card:#121828;
  --card2:#161d2e;
  --border:#1e2d4a;
  --border2:#253558;
  --blue:#3b82f6;
  --blue-dim:#1e3a6e;
  --blue-bright:#60a5fa;
  --teal:#34d399;
  --teal-dim:#064e3b;
  --amber:#fbbf24;
  --amber-dim:#451a03;
  --text:#e8edf8;
  --text2:#94a3b8;
  --text3:#4b5a73;
  --radius:12px;
  --radius-sm:8px;
}
html{scroll-behavior:smooth;}
body{
  background:var(--bg);
  color:var(--text);
  font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  font-size:15px;
  line-height:1.6;
  min-height:100vh;
}

/* ── NAV ── */
nav{
  position:sticky;top:0;z-index:100;
  background:rgba(8,11,20,.92);
  backdrop-filter:blur(12px);
  border-bottom:1px solid var(--border);
  padding:0 5vw;
  display:flex;align-items:center;justify-content:space-between;
  height:64px;
}
.nav-logo{
  display:flex;align-items:center;gap:10px;
  font-size:17px;font-weight:600;color:var(--text);
  text-decoration:none;
}
.nav-logo-icon{
  width:34px;height:34px;border-radius:8px;
  background:var(--blue-dim);border:1.5px solid var(--blue);
  display:flex;align-items:center;justify-content:center;
  font-size:13px;font-weight:700;color:var(--blue-bright);
}
.nav-links{display:flex;gap:28px;align-items:center;}
.nav-links a{
  color:var(--text2);text-decoration:none;font-size:14px;
  transition:color .15s;
}
.nav-links a:hover{color:var(--blue-bright);}
.nav-cta{
  background:var(--blue);color:#fff;
  border:none;border-radius:8px;
  padding:8px 18px;font-size:14px;font-weight:500;
  cursor:pointer;transition:opacity .15s;font-family:inherit;
}
.nav-cta:hover{opacity:.85;}

/* ── HERO ── */
.hero{
  text-align:center;
  padding:80px 5vw 60px;
  border-bottom:1px solid var(--border);
}
.hero-badge{
  display:inline-flex;align-items:center;gap:6px;
  background:var(--blue-dim);color:var(--blue-bright);
  border:1px solid var(--blue);
  border-radius:20px;padding:5px 14px;
  font-size:12px;font-weight:500;margin-bottom:24px;
}
.hero-badge span{width:6px;height:6px;border-radius:50%;background:var(--teal);}
.hero h1{
  font-size:clamp(32px,5vw,58px);
  font-weight:700;
  color:var(--text);
  line-height:1.15;
  max-width:800px;
  margin:0 auto 18px;
  letter-spacing:-.02em;
}
.hero h1 em{
  font-style:normal;
  color:var(--blue-bright);
}
.hero p{
  font-size:clamp(15px,2vw,18px);
  color:var(--text2);
  max-width:560px;
  margin:0 auto 36px;
  line-height:1.7;
}
.hero-stats{
  display:flex;gap:32px;justify-content:center;flex-wrap:wrap;
  margin-bottom:40px;
}
.hero-stat{text-align:center;}
.hero-stat .num{
  font-size:28px;font-weight:700;color:var(--teal);display:block;
}
.hero-stat .lbl{font-size:12px;color:var(--text2);}
.hero-arrow{
  display:flex;flex-direction:column;align-items:center;
  gap:6px;color:var(--text3);font-size:12px;animation:bounce2 1.8s infinite;
}
@keyframes bounce2{0%,100%{transform:translateY(0)}50%{transform:translateY(6px)}}
.hero-arrow svg{color:var(--blue);}

/* ── SECTION LABELS ── */
.section-label{
  text-align:center;padding:56px 5vw 0;
}
.section-label .eyebrow{
  font-size:11px;font-weight:600;letter-spacing:.12em;
  color:var(--blue-bright);text-transform:uppercase;margin-bottom:10px;
}
.section-label h2{
  font-size:clamp(24px,3.5vw,38px);font-weight:700;
  color:var(--text);letter-spacing:-.02em;margin-bottom:10px;
}
.section-label p{
  font-size:15px;color:var(--text2);max-width:520px;
  margin:0 auto;line-height:1.7;
}

/* ── CALCULATOR SECTION ── */
.calc-section{padding:40px 5vw 60px;}
.calc-wrap{
  max-width:620px;margin:0 auto;
  background:var(--card);
  border:1px solid var(--border);
  border-radius:18px;overflow:hidden;
}
.calc-header{
  background:var(--card2);
  border-bottom:1px solid var(--border);
  padding:18px 24px;
  display:flex;align-items:center;gap:12px;
}
.calc-logo{
  width:38px;height:38px;border-radius:9px;
  background:var(--blue-dim);border:1.5px solid var(--blue);
  display:flex;align-items:center;justify-content:center;
  font-size:14px;font-weight:700;color:var(--blue-bright);flex-shrink:0;
}
.calc-header-title{font-size:15px;font-weight:600;color:var(--text);}
.calc-header-sub{font-size:12px;color:var(--text2);margin-top:1px;}
.calc-progress-wrap{padding:20px 24px 0;}
.calc-progress-row{
  display:flex;justify-content:space-between;
  font-size:11px;color:var(--text2);margin-bottom:7px;
}
.calc-progress-bar{
  height:4px;background:var(--border);
  border-radius:2px;overflow:hidden;
}
.calc-progress-fill{
  height:4px;background:var(--blue);
  border-radius:2px;transition:width .4s;
}
.calc-screen{display:none;padding:22px 24px;}
.calc-screen.active{display:block;}
.q-eyebrow{
  font-size:10px;font-weight:600;letter-spacing:.1em;
  color:var(--blue-bright);text-transform:uppercase;margin-bottom:8px;
}
.q-title{font-size:17px;font-weight:600;color:var(--text);margin-bottom:5px;line-height:1.4;}
.q-sub{font-size:12px;color:var(--text2);margin-bottom:20px;line-height:1.6;}
.opts{display:flex;flex-direction:column;gap:8px;}
.opts.grid2{display:grid;grid-template-columns:1fr 1fr;}
.opt{
  padding:13px 15px;
  background:var(--surface);
  border:1px solid var(--border);border-radius:10px;
  cursor:pointer;display:flex;align-items:center;gap:12px;
  transition:all .15s;
}
.opt:hover{border-color:var(--blue);background:rgba(59,130,246,.07);}
.opt.sel{border-color:var(--blue);background:var(--blue-dim);}
.opt-icon{
  width:34px;height:34px;border-radius:7px;
  background:var(--card);border:1px solid var(--border2);
  display:flex;align-items:center;justify-content:center;
  font-size:16px;flex-shrink:0;
}
.opt-label{font-size:13px;font-weight:500;color:var(--text);}
.opt-sub{font-size:11px;color:var(--text2);margin-top:1px;}
.opt-right{margin-left:auto;font-size:11px;font-weight:500;white-space:nowrap;}
.pill{
  display:inline-block;padding:2px 8px;border-radius:10px;
  font-size:10px;font-weight:600;
}
.pill-green{background:var(--teal-dim);color:var(--teal);}
.pill-blue{background:var(--blue-dim);color:var(--blue-bright);}
.pill-amber{background:var(--amber-dim);color:var(--amber);}
.range-val{
  text-align:center;font-size:24px;font-weight:700;
  color:var(--blue-bright);margin-bottom:10px;
}
.range-labels{
  display:flex;justify-content:space-between;
  font-size:11px;color:var(--text3);margin-bottom:6px;
}
input[type=range]{
  width:100%;accent-color:var(--blue);cursor:pointer;
  margin-bottom:2px;
}
.btn-primary{
  width:100%;margin-top:16px;
  background:var(--blue);color:#fff;
  border:none;border-radius:10px;
  padding:13px 0;font-size:15px;font-weight:600;
  cursor:pointer;transition:opacity .15s;font-family:inherit;
}
.btn-primary:hover{opacity:.88;}
.btn-primary:disabled{opacity:.3;cursor:not-allowed;}
.btn-back{
  display:block;text-align:center;margin-top:10px;
  font-size:12px;color:var(--text2);cursor:pointer;
  background:none;border:none;font-family:inherit;width:100%;
}
.btn-back:hover{color:var(--blue-bright);}

/* result */
.result-banner{
  background:linear-gradient(135deg,var(--blue-dim),rgba(52,211,153,.1));
  border:1px solid var(--blue);border-radius:12px;
  padding:24px;text-align:center;margin-bottom:18px;
}
.result-lbl{font-size:12px;color:var(--text2);margin-bottom:6px;}
.result-num{font-size:48px;font-weight:800;color:var(--teal);line-height:1;margin-bottom:6px;}
.result-desc{font-size:12px;color:var(--text2);}
.result-retroactive{
  font-size:11px;color:var(--amber);margin-top:8px;font-weight:500;
}
.bd-title{font-size:11px;font-weight:600;letter-spacing:.08em;color:var(--text2);text-transform:uppercase;margin-bottom:10px;}
.bd-item{
  display:flex;align-items:center;gap:10px;
  padding:10px 12px;
  background:var(--surface);border:1px solid var(--border);
  border-radius:8px;margin-bottom:6px;
}
.bd-dot{width:8px;height:8px;border-radius:50%;flex-shrink:0;}
.bd-name{flex:1;font-size:12px;color:var(--text);}
.bd-note{font-size:10px;color:var(--text3);margin-top:1px;}
.bd-amt{font-size:13px;font-weight:700;}
.result-cta{
  background:var(--card2);border:1px solid var(--border);
  border-radius:12px;padding:18px;margin-top:16px;text-align:center;
}
.result-cta p{font-size:13px;color:var(--text2);margin-bottom:14px;line-height:1.6;}
.scroll-cta{
  background:var(--blue);color:#fff;
  border:none;border-radius:9px;
  padding:12px 24px;font-size:14px;font-weight:600;
  cursor:pointer;font-family:inherit;transition:opacity .15s;
}
.scroll-cta:hover{opacity:.88;}

/* ── PRODUCTS SECTION ── */
.products-section{padding:20px 5vw 80px;}
.products-grid{
  max-width:1100px;margin:40px auto 0;
  display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
  gap:20px;
}
.product-card{
  background:var(--card);border:1px solid var(--border);
  border-radius:18px;overflow:hidden;
  transition:border-color .2s,transform .2s;
  display:flex;flex-direction:column;
}
.product-card:hover{border-color:var(--border2);transform:translateY(-3px);}
.product-card.featured{border:2px solid var(--blue);}
.product-card.bundle{border:2px solid var(--teal);}
.product-card-top{
  padding:28px 24px 20px;flex:1;
}
.product-badge{
  display:inline-block;
  font-size:11px;font-weight:600;padding:3px 10px;
  border-radius:20px;margin-bottom:16px;
}
.badge-blue{background:var(--blue-dim);color:var(--blue-bright);border:1px solid var(--blue);}
.badge-amber{background:var(--amber-dim);color:var(--amber);border:1px solid var(--amber);}
.badge-teal{background:var(--teal-dim);color:var(--teal);border:1px solid var(--teal);}
.product-title{font-size:20px;font-weight:700;color:var(--text);margin-bottom:6px;}
.product-subtitle{font-size:13px;color:var(--blue-bright);margin-bottom:14px;font-weight:500;}
.product-desc{font-size:13px;color:var(--text2);line-height:1.7;margin-bottom:20px;}
.product-features{list-style:none;display:flex;flex-direction:column;gap:7px;}
.product-features li{
  display:flex;align-items:flex-start;gap:8px;
  font-size:12px;color:var(--text2);
}
.feat-check{
  width:16px;height:16px;border-radius:50%;
  background:var(--teal-dim);border:1px solid var(--teal);
  display:flex;align-items:center;justify-content:center;
  flex-shrink:0;margin-top:1px;
}
.feat-check svg{color:var(--teal);}
.product-card-bottom{
  padding:20px 24px;
  border-top:1px solid var(--border);
  background:var(--card2);
}
.product-price{
  display:flex;align-items:baseline;gap:8px;margin-bottom:14px;
}
.price-amount{font-size:32px;font-weight:800;color:var(--text);}
.price-was{font-size:14px;color:var(--text3);text-decoration:line-through;}
.price-save{
  font-size:11px;font-weight:600;
  background:var(--teal-dim);color:var(--teal);
  padding:2px 8px;border-radius:10px;
}
.buy-btn{
  width:100%;padding:13px 0;
  border:none;border-radius:10px;
  font-size:15px;font-weight:600;
  cursor:pointer;font-family:inherit;transition:opacity .15s;
}
.buy-btn:hover{opacity:.88;}
.buy-btn-blue{background:var(--blue);color:#fff;}
.buy-btn-teal{background:var(--teal);color:#080b14;}
.buy-btn-outline{
  background:transparent;color:var(--blue-bright);
  border:1.5px solid var(--blue);
}
.buy-btn-outline:hover{background:var(--blue-dim);}
.product-guarantee{
  text-align:center;margin-top:10px;
  font-size:11px;color:var(--text3);
}

/* ── TRUST BAR ── */
.trust-bar{
  border-top:1px solid var(--border);
  border-bottom:1px solid var(--border);
  padding:28px 5vw;
  display:flex;gap:40px;justify-content:center;flex-wrap:wrap;
}
.trust-item{
  display:flex;align-items:center;gap:10px;
  font-size:13px;color:var(--text2);
}
.trust-icon{
  width:34px;height:34px;border-radius:8px;
  background:var(--blue-dim);border:1px solid var(--blue);
  display:flex;align-items:center;justify-content:center;
  font-size:15px;flex-shrink:0;
}

/* ── FAQ ── */
.faq-section{padding:60px 5vw 80px;}
.faq-wrap{max-width:680px;margin:32px auto 0;}
.faq-item{
  border-bottom:1px solid var(--border);
  padding:18px 0;
}
.faq-q{
  font-size:14px;font-weight:600;color:var(--text);
  cursor:pointer;display:flex;justify-content:space-between;align-items:center;
  gap:12px;
}
.faq-q:after{
  content:'+';font-size:20px;color:var(--blue-bright);
  flex-shrink:0;transition:transform .2s;
}
.faq-item.open .faq-q:after{transform:rotate(45deg);}
.faq-a{
  font-size:13px;color:var(--text2);line-height:1.7;
  margin-top:12px;display:none;
}
.faq-item.open .faq-a{display:block;}

/* ── FOOTER ── */
footer{
  background:var(--card);
  border-top:1px solid var(--border);
  padding:40px 5vw 30px;
}
.footer-top{
  display:flex;gap:40px;justify-content:space-between;
  flex-wrap:wrap;margin-bottom:32px;
}
.footer-brand .nav-logo{margin-bottom:10px;display:inline-flex;}
.footer-brand p{font-size:12px;color:var(--text2);max-width:260px;line-height:1.6;}
.footer-col h4{font-size:12px;font-weight:600;color:var(--text);margin-bottom:12px;letter-spacing:.05em;}
.footer-col a{
  display:block;font-size:12px;color:var(--text2);
  text-decoration:none;margin-bottom:8px;transition:color .15s;
}
.footer-col a:hover{color:var(--blue-bright);}
.footer-bottom{
  border-top:1px solid var(--border);padding-top:20px;
  display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:10px;
}
.footer-bottom p{font-size:11px;color:var(--text3);}

/* ── RESPONSIVE ── */
@media(max-width:640px){
  nav{padding:0 4vw;}
  .nav-links{display:none;}
  .hero{padding:56px 5vw 48px;}
  .products-grid{grid-template-columns:1fr;}
  .calc-screen{padding:18px 16px;}
  .calc-header{padding:14px 16px;}
  .opts.grid2{grid-template-columns:1fr;}
  .footer-top{flex-direction:column;gap:28px;}
}
</style>
</head>
<body>

<!-- NAV -->
<nav>
  <a class="nav-logo" href="#">
    <div class="nav-logo-icon">SK</div>
    SteuerKlar
  </a>
  <div class="nav-links">
    <a href="#calculator">Calculator</a>
    <a href="#products">Products</a>
    <a href="#faq">FAQ</a>
  </div>
  <button class="nav-cta" onclick="scrollTo('products')">Get the Guide →</button>
</nav>

<!-- HERO -->
<section class="hero">
  <div class="hero-badge">
    <span></span>
    Updated for 2026 tax year — Germany · Austria · Switzerland
  </div>
  <h1>Find out how much<br><em>tax money you are owed</em></h1>
  <p>Most DACH employees overpay their taxes every year. The average refund is €1,095 — and the tax office won't tell you. We will.</p>
  <div class="hero-stats">
    <div class="hero-stat">
      <span class="num">€1,095</span>
      <span class="lbl">avg. German refund</span>
    </div>
    <div class="hero-stat">
      <span class="num">5 yrs</span>
      <span class="lbl">retroactive in Austria</span>
    </div>
    <div class="hero-stat">
      <span class="num">0%</span>
      <span class="lbl">crypto tax in Switzerland</span>
    </div>
    <div class="hero-stat">
      <span class="num">37</span>
      <span class="lbl">legal deductions covered</span>
    </div>
  </div>
  <div class="hero-arrow">
    <span>Calculate your savings below</span>
    <svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><path d="M12 5v14M5 12l7 7 7-7"/></svg>
  </div>
</section>

<!-- CALCULATOR SECTION -->
<section id="calculator">
  <div class="section-label">
    <div class="eyebrow">Step 1</div>
    <h2>How much could you get back?</h2>
    <p>Answer 8 quick questions and we calculate your exact savings potential — for free.</p>
  </div>
  <div class="calc-section">
    <div class="calc-wrap">
      <div class="calc-header">
        <div class="calc-logo">SK</div>
        <div>
          <div class="calc-header-title">Tax Savings Calculator</div>
          <div class="calc-header-sub">Free · Takes 90 seconds · No email required</div>
        </div>
      </div>
      <div class="calc-progress-wrap">
        <div class="calc-progress-row">
          <span id="prog-label">Question 1 of 8</span>
          <span id="prog-pct">12%</span>
        </div>
        <div class="calc-progress-bar">
          <div class="calc-progress-fill" id="prog-fill" style="width:12%"></div>
        </div>
      </div>

      <!-- Q1 Country -->
      <div class="calc-screen active" id="q1">
        <div class="q-eyebrow">Question 1 of 8</div>
        <div class="q-title">Where do you live and work?</div>
        <div class="q-sub">Tax rules differ significantly. This determines your deduction options.</div>
        <div class="opts" id="opts_country">
          <div class="opt" onclick="pick('country','Germany',this,'nb1')">
            <div class="opt-icon">🇩🇪</div>
            <div><div class="opt-label">Germany</div><div class="opt-sub">Steuererklärung · ELSTER</div></div>
            <div class="opt-right"><span class="pill pill-green">avg. €1,095</span></div>
          </div>
          <div class="opt" onclick="pick('country','Austria',this,'nb1')">
            <div class="opt-icon">🇦🇹</div>
            <div><div class="opt-label">Austria</div><div class="opt-sub">Arbeitnehmerveranlagung · FinanzOnline</div></div>
            <div class="opt-right"><span class="pill pill-green">5-yr retroactive</span></div>
          </div>
          <div class="opt" onclick="pick('country','Switzerland',this,'nb1')">
            <div class="opt-icon">🇨🇭</div>
            <div><div class="opt-label">Switzerland</div><div class="opt-sub">Steuererklärung · cantonal rules</div></div>
            <div class="opt-right"><span class="pill pill-blue">0% capital gains</span></div>
          </div>
        </div>
        <button class="btn-primary" id="nb1" disabled onclick="goQ(2)">Next →</button>
      </div>

      <!-- Q2 Income -->
      <div class="calc-screen" id="q2">
        <div class="q-eyebrow">Question 2 of 8</div>
        <div class="q-title">What is your annual gross income?</div>
        <div class="q-sub">Your tax bracket determines how much each deduction is actually worth.</div>
        <div class="range-val" id="income-val">€45,000</div>
        <div class="range-labels"><span>€15,000</span><span>€150,000+</span></div>
        <input type="range" min="15000" max="150000" step="1000" value="45000" id="income-slider" oninput="updateIncome(this.value)"/>
        <button class="btn-primary" onclick="goQ(3)">Next →</button>
        <button class="btn-back" onclick="goQ(1)">← Back</button>
      </div>

      <!-- Q3 Commute -->
      <div class="calc-screen" id="q3">
        <div class="q-eyebrow">Question 3 of 8</div>
        <div class="q-title">How do you get to work?</div>
        <div class="q-sub">Commuting is one of the most underused deductions in DACH.</div>
        <div class="opts" id="opts_commute">
          <div class="opt" onclick="pick('commute','daily_car',this,'nb3')">
            <div class="opt-icon">🚗</div>
            <div><div class="opt-label">By car — daily</div><div class="opt-sub">No annual cap on deduction</div></div>
            <div class="opt-right"><span class="pill pill-green">High value</span></div>
          </div>
          <div class="opt" onclick="pick('commute','daily_transit',this,'nb3')">
            <div class="opt-icon">🚆</div>
            <div><div class="opt-label">Public transport</div><div class="opt-sub">Ticket costs deductible</div></div>
            <div class="opt-right"><span class="pill pill-green">High value</span></div>
          </div>
          <div class="opt" onclick="pick('commute','hybrid',this,'nb3')">
            <div class="opt-icon">🔄</div>
            <div><div class="opt-label">Mix — office + home office</div><div class="opt-sub">Both deductions apply</div></div>
            <div class="opt-right"><span class="pill pill-blue">Both apply</span></div>
          </div>
          <div class="opt" onclick="pick('commute','remote',this,'nb3')">
            <div class="opt-icon">🏠</div>
            <div><div class="opt-label">Fully remote</div><div class="opt-sub">Home office deduction only</div></div>
          </div>
        </div>
        <div style="margin-top:14px;">
          <div style="font-size:12px;color:var(--text2);margin-bottom:8px;">One-way distance to office (km)</div>
          <div class="range-val" id="km-val">20 km</div>
          <input type="range" min="1" max="100" step="1" value="20" id="km-slider" oninput="updateKm(this.value)"/>
        </div>
        <button class="btn-primary" id="nb3" disabled onclick="goQ(4)">Next →</button>
        <button class="btn-back" onclick="goQ(2)">← Back</button>
      </div>

      <!-- Q4 Home Office -->
      <div class="calc-screen" id="q4">
        <div class="q-eyebrow">Question 4 of 8</div>
        <div class="q-title">How many days per week do you work from home?</div>
        <div class="q-sub">Germany: €6/day · Austria: €3/day · Both up to 210 days/year.</div>
        <div class="opts grid2" id="opts_ho">
          <div class="opt" onclick="pick('ho','0',this,'nb4')"><div class="opt-label">0 days</div><div class="opt-sub" style="font-size:11px;color:var(--text2)">Always in office</div></div>
          <div class="opt" onclick="pick('ho','1',this,'nb4')"><div class="opt-label">1 day/week</div><div class="opt-sub" style="font-size:11px;color:var(--text2)">~42 days/year</div></div>
          <div class="opt" onclick="pick('ho','2',this,'nb4')"><div class="opt-label">2 days/week</div><div class="opt-sub" style="font-size:11px;color:var(--text2)">~84 days/year</div></div>
          <div class="opt" onclick="pick('ho','3',this,'nb4')"><div class="opt-label">3 days/week</div><div class="opt-sub" style="font-size:11px;color:var(--text2)">~126 days/year</div></div>
          <div class="opt" onclick="pick('ho','4',this,'nb4')"><div class="opt-label">4 days/week</div><div class="opt-sub" style="font-size:11px;color:var(--text2)">~168 days/year</div></div>
          <div class="opt" onclick="pick('ho','5',this,'nb4')"><div class="opt-label">5 days/week</div><div class="opt-sub" style="font-size:11px;color:var(--text2)">Fully remote</div></div>
        </div>
        <button class="btn-primary" id="nb4" disabled onclick="goQ(5)">Next →</button>
        <button class="btn-back" onclick="goQ(3)">← Back</button>
      </div>

      <!-- Q5 Kids -->
      <div class="calc-screen" id="q5">
        <div class="q-eyebrow">Question 5 of 8</div>
        <div class="q-title">Do you have children under 18?</div>
        <div class="q-sub">Family credits can add thousands directly off your tax bill.</div>
        <div class="opts grid2" id="opts_kids">
          <div class="opt" onclick="pick('kids','0',this,'nb5')"><div class="opt-label">No children</div></div>
          <div class="opt" onclick="pick('kids','1',this,'nb5')"><div class="opt-label">1 child</div><div class="opt-sub" style="font-size:11px;color:var(--teal);margin-top:3px">+€2,000 (AT)</div></div>
          <div class="opt" onclick="pick('kids','2',this,'nb5')"><div class="opt-label">2 children</div><div class="opt-sub" style="font-size:11px;color:var(--teal);margin-top:3px">+€4,000 (AT)</div></div>
          <div class="opt" onclick="pick('kids','3',this,'nb5')"><div class="opt-label">3+ children</div><div class="opt-sub" style="font-size:11px;color:var(--teal);margin-top:3px">+€6,000+ (AT)</div></div>
        </div>
        <button class="btn-primary" id="nb5" disabled onclick="goQ(6)">Next →</button>
        <button class="btn-back" onclick="goQ(4)">← Back</button>
      </div>

      <!-- Q6 Investments -->
      <div class="calc-screen" id="q6">
        <div class="q-eyebrow">Question 6 of 8</div>
        <div class="q-title">Do you invest in ETFs or crypto?</div>
        <div class="q-sub">Germany and Switzerland have major tax advantages most investors miss.</div>
        <div class="opts" id="opts_invest">
          <div class="opt" onclick="pick('invest','etf',this,'nb6')">
            <div class="opt-icon">📈</div>
            <div><div class="opt-label">Yes — ETFs / shares</div><div class="opt-sub">Teilfreistellung applies in Germany</div></div>
            <div class="opt-right"><span class="pill pill-blue">Tax advantage</span></div>
          </div>
          <div class="opt" onclick="pick('invest','crypto',this,'nb6')">
            <div class="opt-icon">₿</div>
            <div><div class="opt-label">Yes — crypto</div><div class="opt-sub">0% in Germany after 1 year · 0% in Switzerland</div></div>
            <div class="opt-right"><span class="pill pill-green">0% possible</span></div>
          </div>
          <div class="opt" onclick="pick('invest','both',this,'nb6')">
            <div class="opt-icon">💼</div>
            <div><div class="opt-label">Both ETFs and crypto</div></div>
            <div class="opt-right"><span class="pill pill-green">Max benefit</span></div>
          </div>
          <div class="opt" onclick="pick('invest','none',this,'nb6')">
            <div class="opt-icon">—</div>
            <div><div class="opt-label">No investments</div></div>
          </div>
        </div>
        <button class="btn-primary" id="nb6" disabled onclick="goQ(7)">Next →</button>
        <button class="btn-back" onclick="goQ(5)">← Back</button>
      </div>

      <!-- Q7 Filed -->
      <div class="calc-screen" id="q7">
        <div class="q-eyebrow">Question 7 of 8</div>
        <div class="q-title">Have you filed a tax return in the last 3 years?</div>
        <div class="q-sub">Unfiled years can be claimed retroactively — often the biggest opportunity.</div>
        <div class="opts" id="opts_filed">
          <div class="opt" onclick="pick('filed','yes_all',this,'nb7')">
            <div class="opt-icon">✅</div>
            <div><div class="opt-label">Yes — every year</div><div class="opt-sub">We optimise your current year</div></div>
          </div>
          <div class="opt" onclick="pick('filed','some',this,'nb7')">
            <div class="opt-icon">⚠️</div>
            <div><div class="opt-label">Some years — not all</div><div class="opt-sub">Missed years still claimable</div></div>
            <div class="opt-right"><span class="pill pill-amber">Opportunity</span></div>
          </div>
          <div class="opt" onclick="pick('filed','never',this,'nb7')">
            <div class="opt-icon">❗</div>
            <div><div class="opt-label">Never filed</div><div class="opt-sub">Multiple years claimable retroactively</div></div>
            <div class="opt-right"><span class="pill pill-amber">Big opportunity</span></div>
          </div>
        </div>
        <button class="btn-primary" id="nb7" disabled onclick="goQ(8)">Next →</button>
        <button class="btn-back" onclick="goQ(6)">← Back</button>
      </div>

      <!-- Q8 Extras -->
      <div class="calc-screen" id="q8">
        <div class="q-eyebrow">Question 8 of 8</div>
        <div class="q-title">Did you have any of these this year?</div>
        <div class="q-sub">Select all that apply — each adds to your total savings.</div>
        <div class="opts" id="opts_extras">
          <div class="opt" onclick="multiPick('training',this)">
            <div class="opt-icon">📚</div>
            <div><div class="opt-label">Professional training or courses</div><div class="opt-sub">Fully deductible</div></div>
          </div>
          <div class="opt" onclick="multiPick('equipment',this)">
            <div class="opt-icon">💻</div>
            <div><div class="opt-label">Work equipment (laptop, desk…)</div><div class="opt-sub">Up to €952 net in full</div></div>
          </div>
          <div class="opt" onclick="multiPick('union',this)">
            <div class="opt-icon">🤝</div>
            <div><div class="opt-label">Union or professional membership</div><div class="opt-sub">Fully deductible</div></div>
          </div>
          <div class="opt" onclick="multiPick('pension',this)">
            <div class="opt-icon">🏦</div>
            <div><div class="opt-label">Private pension contributions</div><div class="opt-sub">Riester (DE) or 3. Säule (CH)</div></div>
          </div>
          <div class="opt" onclick="multiPick('donations',this)">
            <div class="opt-icon">❤️</div>
            <div><div class="opt-label">Charitable donations</div><div class="opt-sub">Up to 20% of income deductible</div></div>
          </div>
        </div>
        <button class="btn-primary" onclick="showResult()">Calculate my savings →</button>
        <button class="btn-back" onclick="goQ(7)">← Back</button>
      </div>

      <!-- RESULT -->
      <div class="calc-screen" id="qresult">
        <div id="result-banner" class="result-banner">
          <div class="result-lbl">Your estimated tax savings potential</div>
          <div class="result-num" id="r-total">€0</div>
          <div class="result-desc" id="r-desc">based on your answers — 2026</div>
          <div class="result-retroactive" id="r-retro"></div>
        </div>
        <div class="bd-title">Breakdown by deduction</div>
        <div id="r-breakdown"></div>
        <div class="result-cta">
          <p>See exactly how to claim every one of these deductions — with the right forms, deadlines and step-by-step instructions.</p>
          <button class="scroll-cta" onclick="document.getElementById('products').scrollIntoView({behavior:'smooth'})">
            See the guides below →
          </button>
        </div>
      </div>
    </div>
  </div>
</section>

<!-- TRUST BAR -->
<div class="trust-bar">
  <div class="trust-item">
    <div class="trust-icon">🔒</div>
    <span>No data stored · 100% private</span>
  </div>
  <div class="trust-item">
    <div class="trust-icon">✅</div>
    <span>Based on 2026 official tax rules</span>
  </div>
  <div class="trust-item">
    <div class="trust-icon">📄</div>
    <span>Instant PDF download after purchase</span>
  </div>
  <div class="trust-item">
    <div class="trust-icon">🇪🇺</div>
    <span>Covers Germany · Austria · Switzerland</span>
  </div>
</div>

<!-- PRODUCTS SECTION -->
<section id="products">
  <div class="section-label">
    <div class="eyebrow">Step 2</div>
    <h2>Choose your guide</h2>
    <p>Claim every deduction you are entitled to — with clear instructions, real numbers and 2026 deadlines.</p>
  </div>
  <div class="products-section">
    <div class="products-grid">

      <!-- Product 1: German Edition -->
      <div class="product-card">
        <div class="product-card-top">
          <div class="product-badge badge-blue">German Edition</div>
          <div class="product-title">Tax Action Playbook</div>
          <div class="product-subtitle">Deutsche Ausgabe — 2026</div>
          <div class="product-desc">The complete step-by-step guide to claiming back your taxes in Germany, Austria and Switzerland. Written in German with all official form numbers, portals and deadlines.</div>
          <ul class="product-features">
            <li><div class="feat-check"><svg width="10" height="10" viewBox="0 0 12 12" fill="none"><path d="M2 6l3 3 5-5" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"/></svg></div>22 pages · dark professional design</li>
            <li><div class="feat-check"><svg width="10" height="10" viewBox="0 0 12 12" fill="none"><path d="M2 6l3 3 5-5" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"/></svg></div>All Werbungskosten, Sonderausgaben & family deductions</li>
            <li><div class="feat-check"><svg width="10" height="10" viewBox="0 0 12 12" fill="none"><path d="M2 6l3 3 5-5" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"/></svg></div>ETF Teilfreistellung & Vorabpauschale explained</li>
            <li><div class="feat-check"><svg width="10" height="10" viewBox="0 0 12 12" fill="none"><path d="M2 6l3 3 5-5" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"/></svg></div>Crypto 1-year rule · Pendlerpauschale calculator</li>
            <li><div class="feat-check"><svg width="10" height="10" viewBox="0 0 12 12" fill="none"><path d="M2 6l3 3 5-5" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"/></svg></div>Austria 5-year retroactive guide included</li>
            <li><div class="feat-check"><svg width="10" height="10" viewBox="0 0 12 12" fill="none"><path d="M2 6l3 3 5-5" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"/></svg></div>Switzerland 3. Säule full chapter</li>
          </ul>
        </div>
        <div class="product-card-bottom">
          <div class="product-price">
            <span class="price-amount">€47</span>
            <span class="price-was">€89</span>
          </div>
          <button class="buy-btn buy-btn-outline" onclick="alert('Replace with your Shopify product URL for German Edition')">Get German Edition →</button>
          <div class="product-guarantee">📄 Instant PDF download · One-time payment</div>
        </div>
      </div>

      <!-- Product 2: English Edition — FEATURED -->
      <div class="product-card featured">
        <div class="product-card-top">
          <div class="product-badge badge-amber">English Edition · Most Popular</div>
          <div class="product-title">Tax Action Playbook</div>
          <div class="product-subtitle">English Edition — 2026</div>
          <div class="product-desc">The same complete guide in English — with all German technical terms kept and explained in amber callout boxes. Perfect for expats, international employees and English-speaking residents in DACH.</div>
          <ul class="product-features">
            <li><div class="feat-check"><svg width="10" height="10" viewBox="0 0 12 12" fill="none"><path d="M2 6l3 3 5-5" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"/></svg></div>25 pages · same dark professional design</li>
            <li><div class="feat-check"><svg width="10" height="10" viewBox="0 0 12 12" fill="none"><path d="M2 6l3 3 5-5" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"/></svg></div>German tax terms explained in plain English</li>
            <li><div class="feat-check"><svg width="10" height="10" viewBox="0 0 12 12" fill="none"><path d="M2 6l3 3 5-5" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"/></svg></div>All deductions for Germany, Austria & Switzerland</li>
            <li><div class="feat-check"><svg width="10" height="10" viewBox="0 0 12 12" fill="none"><path d="M2 6l3 3 5-5" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"/></svg></div>ETF, crypto and investment chapters</li>
            <li><div class="feat-check"><svg width="10" height="10" viewBox="0 0 12 12" fill="none"><path d="M2 6l3 3 5-5" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"/></svg></div>Instant action checklists and 2026 deadlines</li>
            <li><div class="feat-check"><svg width="10" height="10" viewBox="0 0 12 12" fill="none"><path d="M2 6l3 3 5-5" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"/></svg></div>DACH glossary: 57 German terms translated</li>
          </ul>
        </div>
        <div class="product-card-bottom">
          <div class="product-price">
            <span class="price-amount">€47</span>
            <span class="price-was">€89</span>
          </div>
          <button class="buy-btn buy-btn-blue" onclick="alert('Replace with your Shopify product URL for English Edition')">Get English Edition →</button>
          <div class="product-guarantee">📄 Instant PDF download · One-time payment</div>
        </div>
      </div>

      <!-- Product 3: Bundle -->
      <div class="product-card bundle">
        <div class="product-card-top">
          <div class="product-badge badge-teal">Bundle — Best Value</div>
          <div class="product-title">Both Editions</div>
          <div class="product-subtitle">DE + EN · Full DACH package</div>
          <div class="product-desc">Get both the German and English editions together. Ideal if you want to share with German-speaking family members, work colleagues, or a partner — or if you use both languages at work.</div>
          <ul class="product-features">
            <li><div class="feat-check"><svg width="10" height="10" viewBox="0 0 12 12" fill="none"><path d="M2 6l3 3 5-5" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"/></svg></div>German Edition (22 pages) included</li>
            <li><div class="feat-check"><svg width="10" height="10" viewBox="0 0 12 12" fill="none"><path d="M2 6l3 3 5-5" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"/></svg></div>English Edition (25 pages) included</li>
            <li><div class="feat-check"><svg width="10" height="10" viewBox="0 0 12 12" fill="none"><path d="M2 6l3 3 5-5" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"/></svg></div>CSV data file with all 172 deduction rows</li>
            <li><div class="feat-check"><svg width="10" height="10" viewBox="0 0 12 12" fill="none"><path d="M2 6l3 3 5-5" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"/></svg></div>Share with family · no restrictions</li>
            <li><div class="feat-check"><svg width="10" height="10" viewBox="0 0 12 12" fill="none"><path d="M2 6l3 3 5-5" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"/></svg></div>Save €27 vs buying separately</li>
            <li><div class="feat-check"><svg width="10" height="10" viewBox="0 0 12 12" fill="none"><path d="M2 6l3 3 5-5" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"/></svg></div>One download · everything included</li>
          </ul>
        </div>
        <div class="product-card-bottom">
          <div class="product-price">
            <span class="price-amount">€67</span>
            <span class="price-was">€94</span>
            <span class="price-save">Save €27</span>
          </div>
          <button class="buy-btn buy-btn-teal" onclick="alert('Replace with your Shopify bundle product URL')">Get Both Editions →</button>
          <div class="product-guarantee">📄 3 files instantly · One-time payment</div>
        </div>
      </div>

    </div>

    <!-- Upsell: Personalised Report -->
    <div style="max-width:1100px;margin:20px auto 0;">
      <div style="background:var(--card);border:1px solid var(--border);border-radius:18px;padding:28px 32px;display:flex;align-items:center;gap:28px;flex-wrap:wrap;">
        <div style="flex:1;min-width:260px;">
          <div style="font-size:11px;font-weight:600;letter-spacing:.1em;color:var(--blue-bright);text-transform:uppercase;margin-bottom:8px;">Premium · AI-Generated</div>
          <div style="font-size:20px;font-weight:700;color:var(--text);margin-bottom:6px;">Personal Tax Report — your exact situation</div>
          <div style="font-size:13px;color:var(--text2);line-height:1.7;">Fill in a 3-minute questionnaire and Claude AI generates a fully personalised tax report with your name, your specific deductions, your estimated savings in euros, and your 5 priority actions. Ready in under 30 seconds.</div>
        </div>
        <div style="text-align:center;flex-shrink:0;">
          <div style="font-size:36px;font-weight:800;color:var(--teal);margin-bottom:4px;">€67</div>
          <div style="font-size:12px;color:var(--text2);margin-bottom:16px;">one-time · instant delivery</div>
          <button class="buy-btn buy-btn-blue" style="width:220px;" onclick="alert('Replace with your Shopify personalised report URL')">Get Personal Report →</button>
        </div>
      </div>
    </div>
  </div>
</section>

<!-- FAQ -->
<section id="faq">
  <div class="section-label">
    <div class="eyebrow">FAQ</div>
    <h2>Common questions</h2>
  </div>
  <div class="faq-section">
    <div class="faq-wrap">
      <div class="faq-item">
        <div class="faq-q" onclick="toggleFaq(this)">Is this real tax advice?</div>
        <div class="faq-a">No — these guides provide general tax information based on the 2026 DACH tax rules. They are educational materials to help you understand what deductions exist and how to claim them. For complex individual situations, always consult a licensed Steuerberater (tax advisor).</div>
      </div>
      <div class="faq-item">
        <div class="faq-q" onclick="toggleFaq(this)">How accurate is the savings calculator?</div>
        <div class="faq-a">The calculator applies the official 2026 marginal tax rates for each country and uses typical deduction amounts based on your answers. The result is an illustrative estimate — your actual refund will depend on your precise situation. The guide shows you how to calculate the exact amount.</div>
      </div>
      <div class="faq-item">
        <div class="faq-q" onclick="toggleFaq(this)">Can I really claim 5 years retroactively in Austria?</div>
        <div class="faq-a">Yes. Austrian law allows the Arbeitnehmerveranlagung to be submitted up to 5 years retroactively. In 2026, you can file for 2021, 2022, 2023, 2024 and 2025 in a single session via FinanzOnline. The guide walks you through exactly how to do this, step by step. Important: the year 2021 expires at the end of 2026.</div>
      </div>
      <div class="faq-item">
        <div class="faq-q" onclick="toggleFaq(this)">Is crypto really 0% tax in Germany after 1 year?</div>
        <div class="faq-a">Yes. Under German tax law (§23 EStG), gains from cryptocurrency held for more than 365 days are completely tax-free for private investors, regardless of the amount. The guide explains how this works, how to document your holding periods, and what counts as a taxable disposal.</div>
      </div>
      <div class="faq-item">
        <div class="faq-q" onclick="toggleFaq(this)">Which edition should I buy?</div>
        <div class="faq-a">If you are comfortable reading German, the German edition is ideal. If you prefer English or are an expat, the English edition was written specifically for you — it keeps all the German technical terms but explains every one in plain English. The bundle is the best value if you want to share it with a partner, family member or German-speaking colleague.</div>
      </div>
      <div class="faq-item">
        <div class="faq-q" onclick="toggleFaq(this)">How is the guide delivered?</div>
        <div class="faq-a">Immediately after purchase, you receive a download link for the PDF file(s). No account needed, no waiting. The guide is a high-quality dark-themed PDF you can read on any device, print, or save to your files app.</div>
      </div>
      <div class="faq-item">
        <div class="faq-q" onclick="toggleFaq(this)">What is covered in the guide?</div>
        <div class="faq-a">Every legal deduction available to employees and investors in Germany, Austria and Switzerland for 2026: commuting (Pendlerpauschale), home office, work equipment, training, family credits, childcare, pension contributions, ETF taxation (Teilfreistellung, Vorabpauschale), cryptocurrency rules, Switzerland's 3. Säule, Quellensteuer for foreign nationals, and all 2026 deadlines.</div>
      </div>
    </div>
  </div>
</section>

<!-- FOOTER -->
<footer>
  <div class="footer-top">
    <div class="footer-brand">
      <a class="nav-logo" href="#">
        <div class="nav-logo-icon">SK</div>
        SteuerKlar
      </a>
      <p>Clear tax guidance for employees and investors in Germany, Austria and Switzerland. Updated for 2026.</p>
    </div>
    <div class="footer-col">
      <h4>Products</h4>
      <a href="#products">German Edition — €47</a>
      <a href="#products">English Edition — €47</a>
      <a href="#products">Bundle — €67</a>
      <a href="#products">Personal Report — €67</a>
    </div>
    <div class="footer-col">
      <h4>Countries</h4>
      <a href="#products">Germany (Steuererklärung)</a>
      <a href="#products">Austria (Arbeitnehmerveranlagung)</a>
      <a href="#products">Switzerland (Säule 3a)</a>
    </div>
    <div class="footer-col">
      <h4>Legal</h4>
      <a href="#">Privacy Policy</a>
      <a href="#">Terms of Service</a>
      <a href="#">Disclaimer</a>
      <a href="#">Contact</a>
    </div>
  </div>
  <div class="footer-bottom">
    <p>© 2026 SteuerKlar. General tax information only — not personal tax advice.</p>
    <p>Germany · Austria · Switzerland · Updated for tax year 2026</p>
  </div>
</footer>

<script>
const answers = { income: 45000, km: 20, extras: [] };
let currentQ = 1;

function scrollTo(id) {
  document.getElementById(id).scrollIntoView({ behavior: 'smooth' });
}
function updateProgress(q) {
  const pct = Math.min(Math.round((q / 8) * 100), 100);
  document.getElementById('prog-fill').style.width = pct + '%';
  document.getElementById('prog-pct').textContent = pct + '%';
  document.getElementById('prog-label').textContent = q <= 8 ? `Question ${q} of 8` : 'Your results';
}
function goQ(n) {
  const cur = document.getElementById('q' + currentQ) || document.getElementById('qresult');
  if (cur) cur.classList.remove('active');
  currentQ = n;
  const next = document.getElementById('q' + n) || document.getElementById('qresult');
  if (next) { next.classList.add('active'); updateProgress(n); }
}
function pick(key, val, el, nbId) {
  document.querySelectorAll(`#opts_${key} .opt`).forEach(o => o.classList.remove('sel'));
  el.classList.add('sel');
  answers[key] = val;
  if (nbId) { const nb = document.getElementById(nbId); if (nb) nb.disabled = false; }
}
function multiPick(val, el) {
  el.classList.toggle('sel');
  if (el.classList.contains('sel')) { if (!answers.extras.includes(val)) answers.extras.push(val); }
  else { answers.extras = answers.extras.filter(v => v !== val); }
}
function updateIncome(v) {
  answers.income = parseInt(v);
  document.getElementById('income-val').textContent = '€' + parseInt(v).toLocaleString('de-DE');
}
function updateKm(v) {
  answers.km = parseInt(v);
  document.getElementById('km-val').textContent = parseInt(v) + ' km';
}
function fmtNum(n, country) {
  const sym = country === 'Switzerland' ? 'CHF ' : '€';
  return sym + Math.round(n).toLocaleString('de-DE');
}
function marginal(income, country) {
  if (country === 'Germany') {
    if (income <= 12348) return 0;
    if (income <= 22000) return 0.22; if (income <= 38000) return 0.30;
    if (income <= 62000) return 0.36; if (income <= 95000) return 0.42; return 0.45;
  }
  if (country === 'Austria') {
    if (income <= 13541) return 0; if (income <= 22000) return 0.20;
    if (income <= 36000) return 0.30; if (income <= 70000) return 0.40; return 0.48;
  }
  if (income <= 50000) return 0.28; if (income <= 90000) return 0.33; return 0.38;
}
function showResult() {
  const { country, income, commute, km, ho, kids, invest, filed, extras } = answers;
  const rate = marginal(income || 45000, country || 'Germany');
  const cur = country === 'Switzerland' ? 'CH' : country === 'Austria' ? 'AT' : 'DE';
  const breakdown = []; let total = 0;
  const add = (label, saving, note, type) => { if (saving > 0) { total += saving; breakdown.push({ label, saving, note, type }); } };
  const days = 220;
  if (cur !== 'CH' && commute && commute !== 'remote') {
    const k = km || 20;
    if (cur === 'DE') {
      const ded = (Math.min(k,20)*0.30 + Math.max(0,k-20)*0.38) * days;
      add('Pendlerpauschale', Math.round(Math.min(ded, commute==='daily_car'?ded:4500) * rate), `${k} km × ${days} days`, 'green');
    } else {
      const band = k<20?0:k<40?1476:k<60?2568:3672;
      add('Pendlerpauschale (große)', Math.round(band * rate), `${k} km commute band`, 'green');
      add('Pendlereuro 2026', 6*k*2, 'Direct off tax bill — tripled in 2026', 'green');
      add('Verkehrsabsetzbetrag', 421, 'Direct tax credit', 'green');
    }
  }
  const hoDays = {'0':0,'1':42,'2':84,'3':126,'4':168,'5':210}[ho] || 0;
  if (hoDays > 0 && cur !== 'CH') {
    const r = cur === 'DE' ? 6 : 3;
    const maxD = Math.min(hoDays, cur === 'DE' ? 210 : 100);
    add('Homeoffice-Pauschale', Math.round(maxD * r * rate), `${maxD} days × €${r}`, 'green');
  }
  if (extras.includes('equipment')) add('Work equipment (Arbeitsmittel)', Math.round(800 * rate), 'Estimated €800', 'green');
  if (extras.includes('training')) add('Training (Fortbildungskosten)', Math.round(500 * rate), 'Estimated €500', 'green');
  if (extras.includes('union')) add('Union fees (Gewerkschaft)', Math.round(200 * rate), 'Typical annual membership', 'green');
  if (extras.includes('donations')) add('Donations (Spenden)', Math.round(300 * rate), 'Estimated €300', 'green');
  if (extras.includes('pension') && cur === 'DE') add('Riester-Rente', Math.round(1500 * rate), 'Estimated contribution', 'green');
  if (cur === 'AT') {
    const k = kids==='1'?1:kids==='2'?2:kids==='3'?3:0;
    if (k > 0) add('Familienbonus Plus', k*2000, `${k} child${k>1?'ren':''} × €2,000 direct credit`, 'green');
  }
  if (cur === 'DE') {
    const k = kids==='1'?1:kids==='2'?2:kids==='3'?3:0;
    if (k > 0) add('Kinderbetreuungskosten', Math.round(k*1200*rate), `${k} child${k>1?'ren':''} estimated childcare`, 'green');
  }
  if (cur === 'CH') {
    if (extras.includes('pension')) add('3. Säule (Säule 3a)', Math.round(7258 * rate), 'Max CHF 7,258 contribution', 'green');
    add('Fahrkosten', Math.round(Math.min((km||20)*0.70*days, 3000) * rate), `CHF 0.70/km × ${days} days`, 'green');
    add('Mehrkosten Verpflegung', Math.round(days*15*rate), `${days} days × CHF 15`, 'green');
    add('Berufsauslagen flat rate', Math.round(Math.min(Math.max((income||45000)*0.03,2000),4000)*rate), '3% of net salary', 'green');
  }
  let retroLabel = '';
  if (filed === 'never') {
    const yrs = cur === 'AT' ? 4 : 3;
    add(`Retroactive years (${yrs} unfiled)`, Math.round(total * yrs), `${yrs} additional years claimable`, 'amber');
    retroLabel = cur === 'AT' ? '⚠️ Austria: 2021 expires end of 2026 — act now' : '⚠️ Germany: up to 4 years retroactive';
  } else if (filed === 'some') {
    add('Retroactive years (est. 2 years)', Math.round(total * 1.8), '2 additional years claimable', 'amber');
  }
  const sym = country === 'Switzerland' ? 'CHF' : '€';
  document.getElementById('r-total').textContent = sym + ' ' + Math.round(total).toLocaleString('de-DE');
  document.getElementById('r-desc').textContent = `Estimated savings · ${country || 'Germany'} · Tax year 2025/2026`;
  document.getElementById('r-retro').textContent = retroLabel;
  const bd = document.getElementById('r-breakdown');
  bd.innerHTML = '';
  breakdown.forEach(item => {
    const dotColor = item.type === 'amber' ? '#fbbf24' : '#34d399';
    const amtColor = item.type === 'amber' ? '#fbbf24' : item.type === 'blue' ? '#60a5fa' : '#34d399';
    const div = document.createElement('div');
    div.className = 'bd-item';
    div.innerHTML = `<div class="bd-dot" style="background:${dotColor}"></div>
      <div><div class="bd-name">${item.label}</div><div class="bd-note">${item.note}</div></div>
      <div class="bd-amt" style="color:${amtColor}">${sym} ${Math.round(item.saving).toLocaleString('de-DE')}</div>`;
    bd.appendChild(div);
  });
  const cur2 = document.getElementById('q8');
  if (cur2) cur2.classList.remove('active');
  currentQ = 'result';
  document.getElementById('qresult').classList.add('active');
  document.getElementById('prog-fill').style.width = '100%';
  document.getElementById('prog-pct').textContent = '100%';
  document.getElementById('prog-label').textContent = 'Your results';
  setTimeout(() => document.getElementById('qresult').scrollIntoView({ behavior: 'smooth', block: 'center' }), 100);
}
function toggleFaq(el) {
  el.closest('.faq-item').classList.toggle('open');
}
</script>
</body>
</html>