/* ========================================
   TYPOGRAPHY SYSTEM
   Self-hosted fonts for DSGVO compliance
   ======================================== */

/* Manrope - Headlines (Bold & ExtraBold) */
@font-face {
    font-family: 'Manrope';
    src: url('../fonts/Manrope-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Manrope';
    src: url('../fonts/Manrope-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

/* Inter - Body Text (Regular) */
@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

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

/* ========================================
   TYPOGRAPHY SCALE
   ======================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--jz-font-headline);
    color: var(--jz-text);
    line-height: 1.2;
    font-weight: 800;
    margin: 0;
}

h1 {
    font-size: 32px;
}

h2 {
    font-size: 28px;
}

h3 {
    font-size: 24px;
}

p {
    font-family: var(--jz-font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--jz-text-body);
    margin: 0;
}

/* Responsive Typography */
@media (min-width: 768px) {
    h1 {
        font-size: 48px;
    }

    h2 {
        font-size: 36px;
    }

    h3 {
        font-size: 28px;
    }

    p {
        font-size: 18px;
    }
}

@media (min-width: 1024px) {
    h1 {
        font-size: 56px;
    }

    h2 {
        font-size: 40px;
    }
}

/* ========================================
   TEXT UTILITIES
   ======================================== */

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.font-bold {
    font-weight: 700;
}

.font-extrabold {
    font-weight: 800;
}

.text-blue {
    color: var(--jz-blue);
}

.text-small {
    font-size: 14px;
}

.text-tiny {
    font-size: 12px;
}