/**
 * TYPOGRAPHY
 * Clean, readable text styles
 */

/* ===== HEADINGS ===== */
h1, h2, h3, h4, h5, h6 {
    /* font-family: var(--font-display); */ /* Playfair Display - auskommentiert */
    font-family: var(--font-header); /* SF Pro Display */
    color: var(--penn-blue);
    font-weight: 600; /* Semibold */
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.2rem, 5.5vw, 3.85rem);
    margin-bottom: var(--space-lg);
}

h2 {
    font-size: clamp(1.925rem, 4.4vw, 2.75rem);
    margin-bottom: var(--space-xs);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: var(--space-md);
}

h4 {
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
}

/* ===== BODY TEXT ===== */
p {
    line-height: 1.7;
    margin-bottom: var(--space-md);
    color: #5A5D61;
}

.text-large {
    font-size: 1.25rem;
    line-height: 1.8;
}

.text-small {
    font-size: 0.875rem;
}

/* ===== LINKS ===== */
a {
    color: var(--old-gold);
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--penn-blue);
}

/* ===== LISTS ===== */
ul, ol {
    margin-bottom: var(--space-md);
    padding-left: var(--space-lg);
}

li {
    margin-bottom: var(--space-xs);
}

/* ===== UTILITY CLASSES ===== */
.text-center {
    text-align: center;
}

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

.text-accent {
    color: var(--old-gold);
}

/* ===== TYPOGRAPHY SCALE (aus altem System) ===== */

/* Headlines - Playfair Display */
.text-headline-1 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 400;
    line-height: 1.2;
    color: var(--penn-blue);
}

@media (min-width: 768px) {
    .text-headline-1 {
        font-size: 4rem;
    }
}

.text-headline-2 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 400;
    line-height: 1.3;
    color: var(--penn-blue);
}

@media (min-width: 768px) {
    .text-headline-2 {
        font-size: 2.5rem;
    }
}

.text-headline-3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    line-height: 1.4;
    color: var(--penn-blue);
}

/* White Variants */
.text-headline-1-white {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 400;
    line-height: 1.2;
    color: white;
}

@media (min-width: 768px) {
    .text-headline-1-white {
        font-size: 4rem;
    }
}

.text-headline-2-white {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 400;
    line-height: 1.3;
    color: white;
}

@media (min-width: 768px) {
    .text-headline-2-white {
        font-size: 2.5rem;
    }
}

/* Interface Text - Source Sans Pro */
.text-interface-large {
    font-family: var(--font-interface);
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--battleship-gray);
}

@media (min-width: 768px) {
    .text-interface-large {
        font-size: 1.5rem;
    }
}

.text-interface {
    font-family: var(--font-interface);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--battleship-gray);
}

.text-interface-small {
    font-family: var(--font-interface);
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.4;
    color: var(--battleship-gray);
}

/* Body Text - Source Sans Pro */
.text-body-large {
    font-family: var(--font-content);
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.6;
    color: #5A5D61;
}

.text-body {
    font-family: var(--font-content);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.6;
    color: #5A5D61;
}

.text-body-small {
    font-family: var(--font-content);
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.5;
    color: #5A5D61;
}

.text-caption {
    font-family: var(--font-interface);
    font-size: 0.75rem;
    font-weight: 400;
    line-height: 1.4;
    color: var(--battleship-gray);
}

/* Font Weight Utilities */
.font-display-regular {
    font-family: var(--font-display);
    font-weight: 400;
}

.font-ui-semibold {
    font-family: var(--font-interface);
    font-weight: 600;
}

.font-ui-medium {
    font-family: var(--font-interface);
    font-weight: 500;
}

.font-ui-regular {
    font-family: var(--font-interface);
    font-weight: 400;
}

.font-content-semibold {
    font-family: var(--font-content);
    font-weight: 600;
}

.font-content-regular {
    font-family: var(--font-content);
    font-weight: 400;
}

.text-content {
    font-family: var(--font-content);
    color: var(--cadet-gray);
}
