/* Basis für alle Oberflächen: Reset, Grundtypografie, gemeinsame Bausteine. Farben/Fonts nur über tokens.css. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; min-height: 100dvh;
  background: var(--bg-page); color: var(--fg-1);
  font-family: var(--font-body); font-weight: 400; font-size: var(--fs-ph-body); line-height: var(--lh-normal);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, textarea, select { font: inherit; color: inherit; border-radius: var(--radius-0); }
button { cursor: pointer; }
a { color: var(--fg-2); text-decoration: underline; text-underline-offset: 3px; }
img, svg { display: block; }
:focus-visible { outline: 2px solid var(--tts-black); outline-offset: 2px; }
[hidden] { display: none !important; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Eyebrow-Varianten */
.vl-eyebrow--ink { color: var(--fg-1); }
.vl-eyebrow--sm { font-size: 12px; }

/* Starke Linie über Abschnitten, Hairline als Trenner */
.vl-rule-ink { border-top: 2px solid var(--rule-ink); }
.vl-rule { border-top: 1px solid var(--rule-1); }

/* Motion: nur Fade und Fade+Rise */
@keyframes vl-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes vl-rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes vl-pulse { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
.vl-fade { animation: vl-fade 200ms cubic-bezier(.2,.7,.3,1) both; }
.vl-rise { animation: vl-rise 220ms cubic-bezier(.2,.7,.3,1) both; }
.vl-pulse { animation: vl-pulse 1.2s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) {
  .vl-fade, .vl-rise, .vl-pulse { animation: none; }
  .vl-bar { transition: none; }
}

/* Verbindungsstatus: kleines Quadrat + Eyebrow */
.vl-status { display: flex; align-items: center; gap: 10px; font-family: var(--font-body); font-weight: 600; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--fg-2); }
.vl-status__dot { display: inline-block; width: 8px; height: 8px; background: var(--tts-black); }
.vl-status[data-state="reconnecting"] .vl-status__dot { animation: vl-pulse 1.2s ease-in-out infinite; }
.vl-status[data-state="polling"] .vl-status__dot { background: var(--tts-ink-3); }
