/* Kopf- und Fußzeile aller Seiten (Farbschema „Hell + Royalblau“). Unlayered, eigene
   Klassennamen (site-*), damit nichts mit Tailwind-Komponenten wie .btn kollidiert. */
@font-face { font-family: "Ubuntu Sans"; src: url("/static/fonts/ubuntu-sans.woff2") format("woff2");
  font-weight: 100 800; font-display: swap; }
.site-top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: #111827;
  border-bottom: 1px solid #374151; font-family: "Ubuntu Sans", system-ui, sans-serif; }
.site-top .site-wrap { max-width: 1240px; margin: 0 auto; display: flex; align-items: center; gap: 12px 26px;
  flex-wrap: wrap; padding: 12px max(16px, env(safe-area-inset-right, 0px)) 12px max(16px, env(safe-area-inset-left, 0px)); }
.site-brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
.site-brand:hover { color: #fff; }
.site-brand b { display: block; font: 800 17px/1 "Ubuntu Sans", system-ui, sans-serif; letter-spacing: -.01em; }
.site-brand small { display: block; font: 500 10px/1.4 "JetBrains Mono", ui-monospace, monospace; color: #8fa0c8;
  letter-spacing: .12em; text-transform: uppercase; margin-top: 3px; }
.site-logo { display: block; height: 46px; width: auto; }
.site-mark { display: block; height: 38px; width: auto; flex: none; }
.site-menu { display: flex; gap: 4px 18px; flex-wrap: wrap; }
.site-menu a { display: grid; justify-items: center; gap: 3px; color: #aab6d3; text-decoration: none;
  font: 500 14px "Ubuntu Sans", system-ui, sans-serif; padding: 2px 4px; border-radius: 8px; }
.site-menu a:hover, .site-menu a[aria-current] { color: #fff; }
/* Aktiver Punkt: Symbol wird zur blauen Kachel, Text fett (Vorschlag 3 „Icon-Kachel“) */
.site-menu a[aria-current] { font-weight: 600; }
.site-menu a[aria-current] svg { background: #4f7cff; color: #fff; box-shadow: 0 6px 16px -6px rgb(79 124 255 / .9); }
.site-menu svg { width: 30px; height: 30px; padding: 4px; border-radius: 9px; transition: background .15s, box-shadow .15s;
  fill: none; stroke: currentColor; stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round; }
.site-act { margin-left: auto; display: flex; gap: 10px; align-items: center; }
.site-act form { display: contents; }
.site-lang { color: #8fa0c8; font: 500 12px "JetBrains Mono", ui-monospace, monospace; text-decoration: none; }
.site-lang:hover { color: #fff; }
.site-btn { display: inline-flex; align-items: center; gap: 8px; border-radius: 6px; padding: 10px 18px;
  font: 600 15px "Ubuntu Sans", system-ui, sans-serif; text-decoration: none; border: 1.5px solid transparent;
  cursor: pointer; background: transparent; color: #fff; }
.site-btn-go { background: #2952e3; color: #fff; }
.site-btn-go:hover { background: #2244c4; color: #fff; }
.site-btn-line { border-color: #8fb0ff; }
.site-btn-line:hover { background: rgb(255 255 255 / .08); color: #fff; }
@media (max-width: 760px) {
  .site-top { position: static; }
  .site-menu a { grid-auto-flow: column; gap: 6px; }
  .site-act { margin-left: 0; }
}
.site-footer { background: #0c1322; color: #8fa0c8; font-family: "Ubuntu Sans", system-ui, sans-serif; }
.site-footer .site-wrap { max-width: 1240px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 8px 24px;
  font-size: 14px; padding: 26px max(16px, env(safe-area-inset-right, 0px)) 26px max(16px, env(safe-area-inset-left, 0px)); }
.site-footer a { color: #aab6d3; text-decoration: none; }
.site-footer a:hover { color: #fff; }
/* Navigation und Aktionen als Block; auf dem Handy hinter dem Menü-Knopf */
.site-collapse { display: contents; }
.site-toggle { display: none; margin-left: auto; align-items: center; gap: 8px; background: transparent;
  color: #fff; border: 1.5px solid #374151; border-radius: 8px; padding: 8px 12px; cursor: pointer;
  font: 600 14px "Ubuntu Sans", system-ui, sans-serif; }
.site-toggle svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
@media (max-width: 760px) {
  .site-js .site-toggle:not([hidden]) { display: inline-flex; }
  .site-js .site-collapse { display: none; width: 100%; flex-direction: column; gap: 14px; padding: 6px 0 4px; }
  .site-js .site-collapse.open { display: flex; }
  .site-js .site-menu { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
  .site-js .site-menu a { grid-auto-flow: column; justify-content: start; gap: 10px; padding: 10px 8px; font-size: 15px; }
  .site-js .site-menu a:hover { background: #1f2937; }
  .site-js .site-act { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) { .site-menu svg { transition: none; } }
