/*
 * Maak Immobilien – Typografie-System.
 * Überschriften: Fraunces (200 = H1/H2, 600 = H3–H6 – bewusst abweichend
 * von der generischen Hierarchie-Tabelle, angepasst an den leichten,
 * editorialen Schriftschnitt aus dem Layout).
 * Fließtext: Source Sans 3 (400 durchgängig, 700 für Fettungen).
 * Größen/Zeilenhöhen fluid via clamp() gemäß Hierarchie-Tabelle
 * (Mobil-Wert = Minimum, Desktop-Wert = Maximum; small/caption bleiben fix).
 */

/* Fraunces */
@font-face {
	font-family: "Fraunces";
	src: url("../fonts/fraunces-v38-latin/fraunces-v38-latin-200.woff2") format("woff2");
	font-weight: 200;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Fraunces";
	src: url("../fonts/fraunces-v38-latin/fraunces-v38-latin-200italic.woff2") format("woff2");
	font-weight: 200;
	font-style: italic;
	font-display: swap;
}
@font-face {
	font-family: "Fraunces";
	src: url("../fonts/fraunces-v38-latin/fraunces-v38-latin-600.woff2") format("woff2");
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}

/* Source Sans 3 */
@font-face {
	font-family: "Source Sans 3";
	src: url("../fonts/source-sans-3-v19-latin/source-sans-3-v19-latin-regular.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Source Sans 3";
	src: url("../fonts/source-sans-3-v19-latin/source-sans-3-v19-latin-700.woff2") format("woff2");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

/* ---- Größen/Zeilenhöhen: fluid via clamp() (Mobil → Desktop) ---- */
h1 { font-size: clamp(2rem, 5.5vw + 1rem, 4.75rem); line-height: 1.1; }
h2 { font-size: clamp(1.625rem, 3.8vw + 0.75rem, 3.5rem); line-height: 1.15; margin-top: 0 !important; }
h3 { font-size: clamp(1.375rem, 2.8vw + 0.625rem, 2.625rem); line-height: 1.2; }
h4 { font-size: clamp(1.25rem, 1.4vw + 0.75rem, 1.875rem); line-height: 1.25; }
h5 { font-size: clamp(1.125rem, 0.9vw + 0.7rem, 1.5rem); line-height: 1.3; }
h6 { font-size: clamp(1rem, 0.4vw + 0.8rem, 1.25rem); line-height: 1.35; }

.lead { font-size: clamp(1.125rem, 0.7vw + 0.85rem, 1.375rem); font-weight: 400; line-height: 1.6; }
p, .wp-element-button, body { font-size: clamp(1rem, 0.2vw + 0.9rem, 1.125rem); }
p { line-height: 1.7; font-weight: 400; }
small, .has-small-font-size { font-size: 14px; line-height: 1.6; font-weight: 400; }
caption, .wp-element-caption, figcaption { font-size: 12px; line-height: 1.5; font-weight: 400; }

button { font-size: 18px; }

@media (max-width: 600px) {
	button { font-size: 16px; }
}
