/* BAILOS Gratis-Tools im Kleid der neuen Website (Relaunch 11/2026).
   Nur Farben, Schriften, Kopf und Fuß. Die Rechenlogik der Tools bleibt unberührt.
   Wird als letztes Stylesheet im <head> geladen und überschreibt die alten Variablen. */
/* Die Tools verlangen "Space Grotesk", die nie auf dem Server lag (Fallback war Times).
   Der Name zeigt jetzt auf die Schriften der neuen Website: Inter für Text, Archivo für Fettes. */
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/inter-400-latin-ext.woff2) format('woff2'); 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'; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/inter-400-latin.woff2) format('woff2'); 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; }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/fonts/inter-500-latin-ext.woff2) format('woff2'); 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'; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/fonts/inter-500-latin.woff2) format('woff2'); 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; }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/inter-600-latin-ext.woff2) format('woff2'); 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'; font-style: normal; font-weight: 600; font-display: swap; src: url(/assets/fonts/inter-600-latin.woff2) format('woff2'); 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; }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/fonts/archivo-700-latin-ext.woff2) format('woff2'); 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'; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/fonts/archivo-700-latin.woff2) format('woff2'); 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; }
@font-face { font-family: 'Space Grotesk'; font-style: normal; font-weight: 800; font-display: swap; src: url(/assets/fonts/archivo-700-latin-ext.woff2) format('woff2'); 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'; font-style: normal; font-weight: 800; font-display: swap; src: url(/assets/fonts/archivo-700-latin.woff2) format('woff2'); 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; }
/* Nur am Bildschirm: Druck (z. B. CMR) bleibt exakt wie bisher */
@media screen {
:root {
  --night: #0A1220; --night-2: #0F1A2D; --night-3: #14213A; --night-line: rgba(233, 238, 246, .10);
  --on-night: #E9EEF6; --on-night-2: #98A6BD; --glow: #4FE3DA; --teal: #4FE3DA; --brass: #C3A46D; --white: #FFFFFF;
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
  /* alte Tool-Variablen auf das neue Bild */
  --bg: #0A1220; --bg2: #0F1A2D; --panel: #0F1A2D; --panel2: #14213A; --line: rgba(233, 238, 246, .12);
  --fg: #E9EEF6; --mut: #98A6BD; --muted: #98A6BD; --faint: #6E7D95; --acc: #4FE3DA;
  --orange: #C3A46D; --amber: #C3A46D;
  color-scheme: dark;
}
html { -webkit-text-size-adjust: 100%; }
body { background: var(--night) !important; color: var(--on-night); font-family: var(--body) !important; }
button, input, select, textarea, summary, optgroup { font-family: inherit; }
h1, h2, h3, .titlerow h1 { font-family: var(--display) !important; letter-spacing: -.015em; }
code, kbd, .mono { font-family: var(--mono); }

/* ---------- neuer Kopf ---------- */
.bx-site { position: sticky; top: 0; z-index: 50; background: var(--night); color: var(--on-night); box-shadow: 0 1px 0 var(--night-line); }
.bx-site::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, rgba(79, 227, 218, 0), rgba(79, 227, 218, .42) 28%, rgba(195, 164, 109, .36) 72%, rgba(195, 164, 109, 0)); }
.bx-w { max-width: 1340px; margin: 0 auto; display: flex; align-items: center; gap: 22px; padding: 13px max(20px, env(safe-area-inset-right, 0px)) 13px max(20px, env(safe-area-inset-left, 0px)); box-sizing: border-box; }
.bx-brand { display: flex; align-items: center; gap: 9px; text-decoration: none; flex: 0 0 auto; }
.bx-brand svg { width: 25px; height: 25px; }
.bx-wm { font: 700 19px/1 var(--display); font-stretch: 104%; letter-spacing: .035em; color: var(--on-night); }
.bx-wm i { font-style: normal; background: linear-gradient(180deg, var(--glow) 0 33%, var(--on-night) 33%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bx-nav { display: flex; align-items: center; gap: 4px; min-width: 0; }
.bx-nav a { color: var(--on-night-2); text-decoration: none; font: 500 14px/1 var(--body); padding: 9px 11px; border-radius: 8px; white-space: nowrap; transition: color .2s, background-color .2s; }
.bx-nav a:hover { color: var(--on-night); background: rgba(233, 238, 246, .05); }
.bx-nav a[aria-current="page"] { color: var(--on-night); box-shadow: inset 0 -2px 0 var(--glow); border-radius: 0; }
.bx-nav .bx-all { display: inline-flex; align-items: center; gap: 7px; }
.bx-nav .bx-all svg { width: 15px; height: 15px; }
.bx-nav .bx-sep { width: 1px; height: 18px; background: var(--night-line); margin: 0 6px; }
.bx-r { margin-left: auto; display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.bx-lp { display: flex; padding: 2px; border: 1px solid var(--night-line); border-radius: 9px; }
.bx-lp button { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border: 0; border-radius: 7px; background: none; color: var(--on-night-2); font: 500 11.5px/1 var(--mono); letter-spacing: .06em; cursor: pointer; }
.bx-lp button[aria-pressed="true"] { color: var(--on-night); background: rgba(233, 238, 246, .07); box-shadow: inset 0 0 0 1px rgba(79, 227, 218, .3); }
.bx-lp .flag { width: 15px; height: 10px; border-radius: 2px; }
.bx-btn { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; padding: 10px 16px; font: 500 14px/1 var(--body); text-decoration: none; white-space: nowrap; border: 1px solid transparent; transition: background-color .2s, border-color .2s, color .2s; }
.bx-btn svg { width: 15px; height: 15px; }
.bx-ghost { border-color: rgba(233, 238, 246, .3); color: var(--on-night); }
.bx-ghost:hover { border-color: var(--glow); color: var(--white); }
.bx-glow { background: var(--glow); color: var(--night); }
.bx-glow:hover { background: var(--white); }

/* ---------- alter Tool-Kopf wird zum Titelband ---------- */
body > header:not(.bx-site), .wrap > header, main > header { border-bottom-color: var(--night-line) !important; }
body > header:not(.bx-site) { position: static !important; max-width: 1180px; margin-left: auto !important; margin-right: auto !important; box-sizing: border-box; padding-top: 34px !important; padding-bottom: 10px !important; background: transparent !important; border-bottom: 0 !important; backdrop-filter: none !important; }
header:not(.bx-site) .home, header:not(.bx-site) a.back, header:not(.bx-site) .langs, header:not(.bx-site) .langsw { display: none !important; }
.bx-kick { font: 500 11.5px/1.3 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--glow); display: flex; align-items: center; gap: 12px; margin: 0 0 10px; }
.bx-kick::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.bx-kick a { color: inherit; text-decoration: none; }
.bx-kick a:hover { text-decoration: underline; text-underline-offset: 3px; }
header:not(.bx-site) h1 { font-weight: 600 !important; color: var(--on-night) !important; }
header:not(.bx-site) h1 span { color: var(--glow) !important; }
header:not(.bx-site) .sub { color: var(--on-night-2) !important; }
.beta { background: none !important; color: var(--brass) !important; border: 1px solid rgba(195, 164, 109, .5) !important; font: 500 10.5px/1 var(--mono) !important; letter-spacing: .12em !important; padding: 4px 7px !important; border-radius: 999px !important; }

/* ---------- Bedienelemente ---------- */
input:not([type="checkbox"]):not([type="radio"]), select, textarea { background-color: var(--night-3); color: var(--on-night); border-color: rgba(233, 238, 246, .16); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--glow) !important; box-shadow: 0 0 0 3px rgba(79, 227, 218, .16); }
::placeholder { color: #6E7D95; }

/* ---------- Freischalt-Box ---------- */
#blGate { background: rgba(5, 10, 20, .82) !important; }
#blGate > div { background: var(--night-2) !important; border: 1px solid var(--night-line) !important; border-top: 1px solid var(--night-line) !important; border-radius: 18px !important; box-shadow: 0 24px 70px rgba(0, 0, 0, .45); position: relative; overflow: hidden; }
#blGate > div::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, var(--glow), var(--brass)); }
#blGate > div > div:first-child { font: 600 22px/1.2 var(--display) !important; color: var(--on-night) !important; }
#blGate p { color: var(--on-night-2) !important; font-size: 14px !important; }
#blGateMail { background: var(--night-3) !important; border: 1px solid rgba(233, 238, 246, .18) !important; border-radius: 10px !important; font-family: var(--body) !important; }
#blGateForm button { background: var(--glow) !important; color: var(--night) !important; border-radius: 999px !important; font: 600 15px/1 var(--body) !important; padding: 14px !important; }
#blGateForm button:hover { background: var(--white) !important; }
.bx-gate-note { color: #6E7D95; font-size: 12px; margin: 12px 0 0; line-height: 1.5; }
.bx-gate-note a { color: var(--on-night-2); }

/* ---------- neuer Fuß ---------- */
.bx-foot { background: var(--night); color: var(--on-night-2); border-top: 1px solid var(--night-line); font: 400 12.5px/1.5 var(--body); margin-top: 56px; }
.bx-foot .bx-w { flex-wrap: wrap; justify-content: space-between; gap: 12px 18px; padding-top: 22px; padding-bottom: 22px; }
.bx-foot nav { display: flex; flex-wrap: wrap; gap: 18px; }
.bx-foot a { color: var(--on-night-2); text-decoration: none; }
.bx-foot a:hover { color: var(--on-night); }

@media (max-width: 1180px) { .bx-nav a:not(.bx-all), .bx-nav .bx-sep { display: none; } }
@media (max-width: 760px) {
  .bx-w { gap: 12px; }
  .bx-ghost { display: none; }
  .bx-nav .bx-all span { display: none; }
  .bx-lp .flag { display: none; }
  .bx-lp button { padding: 5px 7px; }
  .bx-btn { padding: 9px 13px; font-size: 13px; }
}
@media (max-width: 420px) { .bx-wm { display: none; } }
}
@media print { .bx-site, .bx-foot, .bx-kick { display: none !important; } }
