/* A BOT Secure Share · Corporate Design
   Überschreibt nur Design-Tokens und wenige Details der Oberfläche.
   Unabhängig vom Hemmelig-Image, bleibt bei Updates erhalten. */

@font-face {
  font-family: "Space Grotesk Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 300 700;
  src: url("/abot/fonts/sg-latin-ext.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Space Grotesk Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 300 700;
  src: url("/abot/fonts/sg-latin.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Hell: Champagner, Anthrazit, Bronze */
:root,
:root:not(.dark) {
  --font-sans: "Space Grotesk Variable", "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --color-canvas: #f5f2e8;
  --color-surface: #fbf9f3;
  --color-raised: #ebe7da;
  --color-line-faint: #ebe7da;
  --color-line-soft: #e2ddcd;
  --color-line: #d3cdb9;
  --color-line-strong: #b5ae96;
  --color-fg: #0e0f03;
  --color-fg-2: #2a2b1f;
  --color-fg-3: #45463a;
  --color-muted: #5a5847;
  --color-faint: #85826e;
  --color-accent: #845c13;
  --color-on-accent: #f7f7f3;
  --color-danger: #a3341f;
  --color-on-danger: #f7f7f3;
  --color-warn: #8a6a12;
  --radius-xs: 2px;
  --radius-sm: 3px;
  --radius-md: 4px;
}

/* Dunkel: Anthrazit, Champagner, Gold */
.dark {
  --color-canvas: #0b0c04;
  --color-surface: #14150b;
  --color-raised: #1b1c10;
  --color-line-faint: #1b1c10;
  --color-line-soft: #23241a;
  --color-line: #2e2f24;
  --color-line-strong: #46473a;
  --color-fg: #f3eedf;
  --color-fg-2: #ddd8c8;
  --color-fg-3: #bdb8a6;
  --color-muted: #a3a08b;
  --color-faint: #6f6c5c;
  --color-accent: #e0b962;
  --color-on-accent: #0b0c04;
  --color-danger: #e0785f;
  --color-on-danger: #0b0c04;
  --color-warn: #f1d58f;
}

html, body {
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--color-accent);
  color: var(--color-on-accent);
}

/* Fokus klar und ruhig */
:focus-visible {
  outline: 1px solid var(--color-accent) !important;
  outline-offset: 2px;
}

/* Überschriften etwas enger, wie auf a-bot.ch */
h1, h2, h3 {
  letter-spacing: -0.02em;
}

/* Logo in Kopfzeile und Seitenleiste ruhig darstellen */
img[alt*="logo" i], img[alt*="Logo"] {
  image-rendering: auto;
}

/* Footer: nur noch A BOT */
.abot-hidden { display: none !important; }
footer .abot-legal a { text-transform: none; }
