/* public/css/base.css */

/**
 * KB Medizin Technik - Base Styles
 * Adjusted for 90% Scale Look
 */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  font-size: 14.5px; /* 16px * 0.9 = ~14.4px -> Simule le zoom 90% */
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-sm);
  line-height: var(--line-height-relaxed);
  color: var(--neutral-700);
  background: var(--gradient-page);
  min-height: 100vh;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  margin-bottom: var(--space-3);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  color: var(--neutral-900);
  letter-spacing: -0.02em;
}

h1 { font-size: var(--font-size-2xl); }
h2 { font-size: var(--font-size-xl); }
h3 { font-size: var(--font-size-lg); }
h4 { font-size: var(--font-size-base); }
h5 { font-size: var(--font-size-sm); }
h6 { font-size: var(--font-size-xs); text-transform: uppercase; letter-spacing: 0.05em; color: var(--neutral-500); }

p { margin-bottom: var(--space-4); }

a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: var(--font-weight-medium);
  transition: color 0.2s ease;
}
a:hover { color: var(--color-primary-hover); }
a:focus-visible { outline: none; border-radius: var(--radius-sm); box-shadow: var(--focus-ring); }

strong { font-weight: 600; color: var(--neutral-900); }
small { font-size: var(--font-size-xs); }

/* Scrollbar fine */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--neutral-300); border-radius: 4px; border: 2px solid transparent; background-clip: content-box; }
::-webkit-scrollbar-thumb:hover { background-color: var(--neutral-400); }

::selection { background: var(--color-primary-light); color: var(--color-primary-hover); }