/* ==========================================================================
   Schlüter Typografie
   Große Überschriften (H1/H2): Bebas Neue
   Kleinere Überschriften, Produkttitel, Buttons, Menü: Barlow Condensed
   Fließtext: bleibt beim Theme
   ========================================================================== */

/* ---------- Schriften (lokal, keine Google-Server) ---------- */
@font-face {
	font-family: "Bebas Neue";
	src: url("../fonts/bebas-neue-400.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Barlow Condensed";
	src: url("../fonts/barlow-condensed-600.woff2") format("woff2");
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Barlow Condensed";
	src: url("../fonts/barlow-condensed-700.woff2") format("woff2");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

/* ---------- Stellschrauben ---------- */
:root {
	--st-display: "Bebas Neue", "Oswald", Impact, "Arial Narrow", sans-serif;
	--st-condensed: "Barlow Condensed", "Arial Narrow", sans-serif;
	--st-display-tracking: 0.01em;
	--st-menu-size: 1.125rem;    /* 18px – schmale Schrift braucht etwas mehr Größe */
	--st-button-size: 1.1875rem; /* 19px */
}

/* ---------- Große Überschriften: Bebas Neue ---------- */
h1, h2,
.h1, .h2,
.entry-title,
.page-title,
.wp-block-heading:is(h1, h2) {
	font-family: var(--st-display) !important;
	font-weight: 400 !important;   /* Bebas hat nur einen Schnitt – verhindert Fake-Bold */
	font-style: normal;
	text-transform: uppercase;
	letter-spacing: var(--st-display-tracking);
	line-height: 0.95;
	font-synthesis: none;
}

/* Hervorhebungen in großen Überschriften nicht künstlich fetten */
:is(h1, h2) :is(strong, b) {
	font-weight: 400;
}

/* ---------- Kleinere Überschriften & Produkttitel: Barlow Condensed ---------- */
h3, h4, h5, h6,
.h3, .h4, .h5, .h6,
.widget-title,
.woocommerce-loop-product__title,
.woocommerce-loop-category__title,
.woocommerce div.product .product_title,
.wc-block-grid__product-title,
.wc-block-components-product-name {
	font-family: var(--st-condensed) !important;
	font-weight: 700 !important;
	font-style: normal;
	text-transform: none;
	letter-spacing: 0;
	line-height: 1.1;
	font-synthesis: none;
}

h5, h6, .h5, .h6 {
	font-weight: 600 !important;
}

/* Produkttitel auf der Produktseite ist ein H1 – dort lieber Barlow, da Namen lang sein können */
.woocommerce div.product h1.product_title {
	text-transform: none;
	line-height: 1.05;
}

/* ---------- Buttons ---------- */
.button,
button:not(.menu-toggle):not([class*="close"]):not([class*="search"]),
input[type="submit"],
input[type="button"],
.wp-block-button__link,
.wp-element-button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.wc-block-components-button,
.dt-btn,
.btn {
	font-family: var(--st-condensed) !important;
	font-weight: 600 !important;
	font-size: var(--st-button-size);
	letter-spacing: 0.01em;
	text-transform: none;
}

/* ---------- Hauptmenü ---------- */
header nav a,
.site-header nav a,
.main-navigation a,
.primary-menu > li > a,
.main-nav > li > a,
.main-nav > li > a .menu-text,
.mobile-main-nav > li > a .menu-text,
.wp-block-navigation-item__content {
	font-family: var(--st-condensed) !important;
	font-weight: 600 !important;
	font-size: var(--st-menu-size);
	letter-spacing: 0.01em;
	text-transform: none;
}

/* Untermenüs etwas kleiner */
header nav .sub-menu a,
.main-nav .sub-nav a .menu-text {
	font-size: 1rem;
}
