/* css/fonts.css - УНИВЕРСАЛЬНАЯ СИСТЕМА ШРИФТОВ */

/* Подключение SoehneBreit */
@font-face {
  font-family: 'SoehneBreit';
  src: url('../fonts/soehne-breit-300.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'SoehneBreit';
  src: url('../fonts/soehne-breit-600.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'SoehneBreit';
  src: url('../fonts/soehne-breit-700.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Переменные для легкого использования */
:root {
  --font-heading: 'SoehneBreit', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* АВТОМАТИЧЕСКОЕ ПРИМЕНЕНИЕ КО ВСЕМ ЗАГОЛОВКАМ */
.chord-name,
#resultsTitle,
.modal-header h3,
#library h2,
#library h3,
#groupView h1,
#groupView h2 {
  font-family: var(--font-heading);
  font-weight: 700; /* Используем самый жирный (Fett) */
  letter-spacing: -0.015em;
  line-height: 1.25;
  word-break: break-word;
}

/* Размеры для разных заголовков */
.chord-name { font-size: 20px; }
#resultsTitle { font-size: 18px; }

/* Пример использования других весов */
.light-text {
  font-family: var(--font-heading);
  font-weight: 300; /* Leicht */
}

.semibold-text {
  font-family: var(--font-heading); 
  font-weight: 600; /* Halbfett */
}

.bold-text {
  font-family: var(--font-heading);
  font-weight: 700; /* Fett */
}

/* Исключение для логотипа - оставляем Quicksand */
.font-quicksand,
.logo-text,
header h1 {
  font-family: 'Quicksand', sans-serif !important;
  font-weight: 600 !important;
  letter-spacing: -0.015em !important;
}