/* =========================================
   Typography – Plus Jakarta Sans
   ========================================= */

/* Font Faces */

@font-face {
    font-family: 'Plus Jakarta Sans';
    src: url('../../fonts/plus-jakarta-sans/plus-jakarta-sans-v12-latin-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Plus Jakarta Sans';
    src: url('../../fonts/plus-jakarta-sans/plus-jakarta-sans-v12-latin-500.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Plus Jakarta Sans';
    src: url('../../fonts/plus-jakarta-sans/plus-jakarta-sans-v12-latin-600.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Plus Jakarta Sans';
    src: url('../../fonts/plus-jakarta-sans/plus-jakarta-sans-v12-latin-700.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* =========================================
   Base
   ========================================= */

body {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* =========================================
   Headings (nur Basis, KEINE Größen!)
   ========================================= */

h1, h2, h3, h4 {
    margin: 0;
}

/* =========================================
   Text (nur Basis!)
   ========================================= */

p {
    margin: 0;
}

/* =========================================
   Content Typography (WICHTIG!)
   Nur für echte Textbereiche
   ========================================= */

.content h1 {
    font-size: clamp(2.4rem, 4vw, 3.2rem);
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.content h2 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.content h3 {
    font-size: clamp(1.4rem, 2vw, 1.8rem);
    line-height: 1.3;
    font-weight: 600;
}

.content h4 {
    font-size: 1.2rem;
    line-height: 1.4;
    font-weight: 500;
}

.content p {
    font-size: 1rem;
    line-height: 1.65;
    max-width: 65ch;
}

/* =========================================
   Spacing für Content
   ========================================= */

.content h1,
.content h2,
.content h3,
.content h4 {
    margin-bottom: 0.5em;
}

.content p {
    margin-bottom: 1.2em;
}