/*
  Buchholz Bausteine – Logo (bh-logo). Nur unter .bh-logo. Farben über die Variablen an .bh-widget (bh-bausteine.css, aus tokens.json).
  Wort: Outfit 500, Laufweite 0,025 em (quelle/pfeile.html:46, tokens.json schrift.laufweite_wortmarke_em).
  Unterzeile: Outfit 500, Laufweite 0,03 em (quelle/pfeile.html:48), Farbe wie das Wort (logo/logo.py:50).
  Wortfarbe: dunkel = #EDF7FF wie A1 auf Navy (quelle/pfeile.html:88, tokens.json hellblau), hell = Navy (Auftrag).
  Kontrast (tokens.json): Hellblau auf Navy 14,98:1, Navy auf Hellblau 14,98:1, Navy auf Weiß 16,26:1 (bh-bausteine.css:6).
  Vor dem Bau steht das ganze Logo aus PHP da (Variante 0 fertig, Wort und Unterzeile an der gerechneten Stelle), auch ohne
  JavaScript. Nur ein animiertes Zeichen bleibt mit JavaScript bis zum Bau versteckt, weil es sich dann von vorn zeichnet
  (sonst stünde es kurz fertig da, verschwände und malte sich neu). Kommt der Bau nicht (Skript fehlt oder bricht ab),
  zeigt es sich nach 4 s trotzdem: Der Kern wartet höchstens 3 s auf die Schrift (bh-kern.js:26), 1 s Luft (eigene Entscheidung).
  Bei „Bewegung reduzieren“ oder ohne JavaScript ist das Zeichen sofort da.
*/
.bh-widget.bh-logo {
  display: block;
  width: 100%;
  line-height: 0;
  --bh-logo-wort: var(--bh-hellblau);
}
.bh-widget.bh-logo.bh-logo--hell { --bh-logo-wort: var(--bh-navy); }
.bh-widget.bh-logo.bh-logo--dunkel { --bh-logo-wort: var(--bh-hellblau); }

.bh-logo .bh-logo-svg {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  overflow: hidden;
}
.bh-logo .bh-logo-wort,
.bh-logo .bh-logo-unter {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-weight: 500;
  font-style: normal;
  text-transform: none;
  fill: var(--bh-logo-wort);
}
.bh-logo .bh-logo-wort { letter-spacing: 0.025em; }
.bh-logo .bh-logo-unter { letter-spacing: 0.03em; }

@keyframes bh-logo-notfall { to { visibility: visible; } }
@media (scripting: enabled) and (prefers-reduced-motion: no-preference) {
  .bh-logo.bh-logo--animiert:not(.bh-bereit) .bh-logo-zeichen {
    visibility: hidden;
    animation: bh-logo-notfall 0s linear 4s forwards;
  }
}

/* Klick in der Haltezeit zeichnet gleich die nächste Variante (wie A1, quelle/pfeile.html:43, 1750) */
.bh-logo.bh-logo-klick { cursor: pointer; }

@media (forced-colors: active) {
  .bh-logo .bh-logo-wort,
  .bh-logo .bh-logo-unter { fill: CanvasText; }
}
