/* =============================================================================
   juwelenschmiede – Typografie-System (wird als letztes Template-CSS geladen)

   Vier Stile, sonst nichts:
     1  Überschrift groß   h1, h2                Cormorant · 300 · ohne Versalien
     2  Überschrift klein  h3, h4 (+ Zitate)     Cormorant · 400 · ohne Versalien
     3  Text               alles Fließtext       Jost · 300 · eine Größe
     4  Linie              Navigation, Eyebrow,  Jost · 400 · Versalien ·
                           Buttons, Labels, Meta eine Größe, ein Sperrsatz
   Die Werte stehen nur hier in den Variablen – zum Feinjustieren genügt es,
   diese sechs Zeilen zu ändern. !important ist hier bewusst gesetzt: Diese
   Datei ist die eine Stelle, die über alle Komponenten hinweg entscheidet.
   ========================================================================== */
:root {
  --type-1-size: clamp(2.125rem, 1.55rem + 2.1vw, 3.25rem);   /* 34 → 52 px */
  --type-1-lh: 1.15;
  --type-2-size: clamp(1.375rem, 1.24rem + .55vw, 1.75rem);   /* 22 → 28 px */
  --type-2-lh: 1.35;
  --type-3-size: 1.0625rem;                                    /* 17 px */
  --type-3-lh: 1.75;
  --type-4-size: .75rem;                                       /* 12 px */
  --type-4-ls: .18em;
  --type-4-lh: 1.5;

  /* bestehende Variablen auf das System abbilden */
  --fs-display: var(--type-1-size);
  --fs-h1: var(--type-1-size);
  --fs-h2: var(--type-1-size);
  --fs-h3: var(--type-2-size);
  --fs-h4: var(--type-2-size);
  --fs-lead: var(--type-3-size);
  --fs-body: var(--type-3-size);
  --fs-small: var(--type-3-size);
  --fs-nav: var(--type-4-size);
  --fs-eyebrow: var(--type-4-size);
  --fs-button: var(--type-4-size);
  --ls-nav: var(--type-4-ls);
  --ls-eyebrow: var(--type-4-ls);
  --ls-button: var(--type-4-ls);
}

/* ---------- 1 · Überschrift groß ------------------------------------------ */
h1, h2, .h1, .h2, .display, h1.display,
.hero__title, .product-title, .section-heading__title,
.legacy-content h1, .legacy-content .h1, .com-contact h1, .com-finder h1 {
  font-family: var(--font-display) !important;
  font-size: var(--type-1-size) !important;
  font-weight: 300 !important;
  line-height: var(--type-1-lh) !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  font-style: normal !important;
}

/* ---------- 2 · Überschrift klein (auch Zitate) --------------------------- */
h3, h4, h5, h6, .h3, .h4,
.teaser__title, .category-card__title, .js-modal .modal-title, .com-finder .result__title-text,
.quote, blockquote, .hl-quote, .article-section--quote .quote, .article-section--quote blockquote,
.accordion-js__btn {
  font-family: var(--font-display) !important;
  font-size: var(--type-2-size) !important;
  font-weight: 400 !important;
  line-height: var(--type-2-lh) !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  font-style: normal !important;
}
.quote p:not(.quote__source), blockquote p:not(.quote__source) { font: inherit !important; }

/* ---------- 3 · Text ------------------------------------------------------ */
body, p, li, dd, address, td, th, figcaption, .media-caption, .lead, .product-lead,
.product-intro__text, .hero__text, .megamenu__intro p, .footer-address, .footer-module address,
.contact-list, .text-small, .product-card__meta, .tile__meta, .mosaic--grid .tile__meta,
.category-card__meta, .card-grid__status, .hl-text .lead, .hl-caption, .spec-list__val,
.accordion-js__inner, .form-js label, .form-js__choice label, .form-js__consent, .form-js__consent label,
.form-js__note, .form-js input, .form-js textarea, .form-js select, .search-panel input,
.pswp__jws-caption, joomla-alert, #system-message-container .alert {
  font-family: var(--font-sans) !important;
  font-size: var(--type-3-size) !important;
  font-weight: 300 !important;
  line-height: var(--type-3-lh) !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  font-style: normal !important;
}
strong, b, .footer-address strong { font-weight: 400 !important; letter-spacing: 0 !important; text-transform: none !important; }
em, i { font-style: italic; }

/* ---------- 4 · Linie: Navigation, Eyebrow, Buttons, Labels, Meta --------- */
.main-nav__link, .subnav__link, .offcanvas-nav__link, .offcanvas-sub a, .offcanvas-sub--images a,
.mega-card__label, .offcanvas-sub--images .mega-card__label, .eyebrow, .btn-js, .btn,
.com-contact .btn, .com-finder .btn, .link-line, .legacy-content a.readon,
.breadcrumb-js, .breadcrumb-js a, .breadcrumb-js span, .breadcrumb-js li,
.header-meta, .header-meta a, .offcanvas-meta, .offcanvas-meta a, .offcanvas-lang, .offcanvas-lang a,
.footer-col__title, .footer-list a, .footer-bottom, .footer-bottom a, .footer-bottom p, .footer-bottom li,
.contact-list dt, .spec-list__key, .quote__source, .stage__side-label, .stage__counter, .gallery__counter,
.pswp__counter, .product-card__name, .tile__title, .mosaic--grid .tile__title, .filter-chip, .tag-row,
.file-meta, .skip-link, .hero__scroll, .season__count b, .season__count span, .form-js__choice legend,
.story-bar__label {
  font-family: var(--font-sans) !important;
  font-size: var(--type-4-size) !important;
  font-weight: 400 !important;
  line-height: var(--type-4-lh) !important;
  letter-spacing: var(--type-4-ls) !important;
  text-transform: uppercase !important;
  font-style: normal !important;
}
/* Story-Kreise: einzige Ausnahme in der Größe – sonst passen die Namen nicht unter die Kreise */
.story-bar__label, .offcanvas-sub--images .mega-card__label { font-size: .5625rem !important; letter-spacing: .08em !important; line-height: 1.3 !important; }
.btn-js span, .btn span, .link-line span, .eyebrow span { font: inherit !important; letter-spacing: inherit !important; text-transform: inherit !important; }
/* Footer: Spaltenüberschriften fett (Linie, aber 600) */
.footer-col__title { font-weight: 600 !important; }

/* Zitat-Bänder in Seiten (z. B. Unternehmen): wie das Zitat auf der Startseite –
   Stil der H1, weiß, nicht kursiv, Quelle in der Linie */
.image-section .quote, .image-section blockquote {
  font-family: var(--font-display) !important;
  font-size: var(--type-1-size) !important;
  font-weight: 300 !important;
  line-height: var(--type-1-lh) !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  font-style: normal !important;
  color: #fff !important;
  max-width: 56rem; margin-inline: auto; text-align: center;
}
.image-section .quote .quote__source, .image-section blockquote .quote__source {
  display: block; margin-top: var(--space-lg);
  font-family: var(--font-sans) !important; font-size: var(--type-4-size) !important; font-weight: 400 !important;
  letter-spacing: var(--type-4-ls) !important; text-transform: uppercase !important; line-height: var(--type-4-lh) !important;
  color: rgba(255,255,255,.85) !important;
}
