/* clar.tax · Tokens, Reset, Body
 * Abgeleitet aus lavern.ai (site/index.html, Zeilen 86–173), Apache-2.0,
 * Copyright (c) 2025-2026 Antti Innanen. Für clar.tax angepasst, siehe NOTICE. */

/* ═══════════════════════════════════════════════════════════════════
   TOKENS — Legit DNA: warm cream paper, near-black text, tonal restraint
   ═══════════════════════════════════════════════════════════════════ */
/* Self-hosted fonts (OFL 1.1): no request to Google or Fontshare, see assets/fonts/README.md */
@font-face{font-family:'Inter';src:url('../fonts/inter-latin-wght-normal.woff2') format('woff2');font-weight:100 900;font-style:normal;font-display:swap}
@font-face{font-family:'Newsreader';src:url('../fonts/newsreader-latin-wght-normal.woff2') format('woff2');font-weight:200 800;font-style:normal;font-display:swap}
@font-face{font-family:'Geist Mono';src:url('../fonts/geist-mono-latin-400-normal.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Geist Mono';src:url('../fonts/geist-mono-latin-500-normal.woff2') format('woff2');font-weight:500;font-style:normal;font-display:swap}

*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}
:root{
  /* Cream paper palette */
  --bg:#FAFAFA;
  --surface:#FAF8F0;
  --surface-2:#FFFFFF;
  --text:#141310;
  --muted:rgba(20,19,16,0.58);
  --dim:rgba(20,19,16,0.36);
  --hair:rgba(20,19,16,0.10);
  --hair-strong:rgba(20,19,16,0.22);
  /* clar.tax accent: Racing Green, the colour of the Saldo point in the mark.
     Used sparingly: live dots, the point, focus rings. */
  --warm:#0f4d2e;
  --warm-soft:rgba(15,77,46,0.10);
  --accent:#0f4d2e;
  --accent-soft:#e4f0e8;
  /* Finding status, same values as the product (tokens.css in Clartax) */
  --unsicher:#c68a16;
  --nicht-loesbar:#b4472e;
  /* Type — Inter body (clar.tax product font) + Newsreader serif moments + Geist Mono */
  --sans:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  --serif:'Newsreader',Georgia,'Times New Roman',serif;
  --mono:'Geist Mono',ui-monospace,SFMono-Regular,monospace;
  --ease:cubic-bezier(0.16,1,0.3,1);
  --max:1280px;
  /* ─── Elevation — Apple-class layered drops: contact + bulk + ambient + atmospheric ─── */
  --shadow-sm:
    0 1px 1px rgba(20,19,16,0.06),
    0 3px 6px rgba(20,19,16,0.09),
    0 10px 22px rgba(20,19,16,0.09);
  --shadow-md:
    0 1px 2px rgba(20,19,16,0.07),
    0 6px 12px rgba(20,19,16,0.11),
    0 18px 36px rgba(20,19,16,0.17),
    0 44px 84px rgba(20,19,16,0.13);
  --shadow-lg:
    0 1px 2px rgba(20,19,16,0.07),
    0 8px 16px rgba(20,19,16,0.13),
    0 28px 54px rgba(20,19,16,0.20),
    0 68px 124px rgba(20,19,16,0.24),
    0 130px 220px rgba(20,19,16,0.17);
  --shadow-xl:
    0 1px 2px rgba(20,19,16,0.09),
    0 8px 18px rgba(20,19,16,0.15),
    0 34px 68px rgba(20,19,16,0.24),
    0 86px 160px rgba(20,19,16,0.30),
    0 170px 280px rgba(20,19,16,0.22);
  /* 2xl — reserved for the hero iMac and other show-stopping centerpieces */
  --shadow-2xl:
    0 1px 2px rgba(20,19,16,0.11),
    0 10px 22px rgba(20,19,16,0.18),
    0 42px 84px rgba(20,19,16,0.28),
    0 110px 200px rgba(20,19,16,0.36),
    0 220px 340px rgba(20,19,16,0.24);
  /* Pill-specific — Apple-class contact shadow + dramatic floor */
  --shadow-pill:
    0 1px 2px rgba(20,19,16,0.09),
    0 4px 8px rgba(20,19,16,0.11),
    0 14px 28px rgba(20,19,16,0.17),
    0 30px 58px rgba(20,19,16,0.15);
  --shadow-pill-hover:
    0 1px 2px rgba(20,19,16,0.11),
    0 6px 12px rgba(20,19,16,0.15),
    0 22px 42px rgba(20,19,16,0.24),
    0 50px 88px rgba(20,19,16,0.24);
  /* Apple chamfer — 1px top-edge highlight, mimics the light catching a bevelled edge */
  --ring-top:inset 0 1px 0 rgba(255,255,255,0.55);
  --ring-top-strong:inset 0 1px 0 rgba(255,255,255,0.75);
  /* Warm specular glow — for accents & hovered focal points */
  --glow-warm:0 0 70px rgba(15,77,46,0.20);
  /* ─── Corner radii (Apple-class generosity) ─── */
  --r-sm:10px;
  --r-md:18px;
  --r-lg:28px;
  --r-xl:36px;
  --r-pill:100px;
}
html{scroll-behavior:smooth}
body{
  font-family:var(--sans);background:var(--bg);color:var(--text);
  -webkit-font-smoothing:antialiased;overflow-x:hidden;line-height:1.55;
  font-feature-settings:"ss01","ss02";font-weight:400;
  /* Suppress iOS rubber-band overscroll at the very top — that
     elastic bounce briefly exposes the area above the fixed nav
     and reads as a "gap" before the page springs back. */
  overscroll-behavior-y:none;
}
::selection{background:var(--text);color:var(--bg)}
a{color:inherit;text-decoration:none}
