/* Medizinarius – Reset & Typografie */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family:      var(--font);
  background-color: var(--bg-primary);
  color:            var(--text-primary);
  min-height:       100dvh;
  line-height:      1.6;
  -webkit-font-smoothing: antialiased;
}

::-webkit-scrollbar       { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb { background: rgba(0,210,210,0.3); border-radius: 3px; }

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 4px;
}

a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--cyan); }

h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); font-weight: 800; line-height: 1.15; }
h2 { font-size: clamp(1.35rem, 3vw, 2rem);    font-weight: 700; }
h3 { font-size: clamp(1.1rem,  2.5vw, 1.5rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.text-teal   { color: var(--teal); }
.text-cyan   { color: var(--cyan); }
.text-violet { color: var(--violet); }
.text-green  { color: var(--green-ekg); }
.text-orange { color: var(--orange); }
.text-rose   { color: var(--rose); }
.text-muted  { color: var(--text-secondary); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
