/* ==========================================================================
   Nada Duronjic – Fundament (Design-Tokens)
   Farbkonzept „Weiter Atem – verfeinert“ (Styleguide v2, April 2026).
   Alle Farben, Schriften, Abstände, Radien und Schatten des Themes kommen
   von hier. Textfarben sind auf WCAG AA gegen --nd-grund geprüft.
   ========================================================================== */

@font-face {
	font-family: "Sora";
	src: url("../fonts/sora-latin-wght-normal.woff2") format("woff2");
	font-weight: 100 800;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Sora";
	src: url("../fonts/sora-latin-ext-wght-normal.woff2") format("woff2");
	font-weight: 100 800;
	font-style: normal;
	font-display: swap;
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Libre Baskerville";
	src: url("../fonts/libre-baskerville-latin-400-normal.woff2") format("woff2");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Libre Baskerville";
	src: url("../fonts/libre-baskerville-latin-400-italic.woff2") format("woff2");
	font-weight: 400;
	font-style: italic;
	font-display: swap;
}
/* Ersatzschriften mit angepassten Metriken gegen Layout-Sprünge */
@font-face {
	font-family: "Sora Ersatz";
	src: local("Arial"), local("Helvetica");
	size-adjust: 109%;
	ascent-override: 92%;
	descent-override: 26%;
}
@font-face {
	font-family: "Baskerville Ersatz";
	src: local("Georgia"), local("Times New Roman");
	size-adjust: 104%;
	ascent-override: 92%;
	descent-override: 26%;
}

:root {
	/* Marke */
	--nd-gruen: #73936d;          /* Fläche, Linien, große Ziffern */
	--nd-gruen-hell: #8daa88;
	--nd-gruen-dunkel: #5a7a55;   /* Knöpfe hover, Flächen mit weißer Schrift */
	--nd-gruen-text: #4c6a47;     /* Text und Links in Grün, 5,9 : 1 auf Grund */
	--nd-gruen-blass: #e8f0e6;
	--nd-rose: #d4b8b0;
	--nd-rose-hell: #f0e6e2;
	--nd-rose-text: #7a5246;      /* Vorzeilen, 5,6 : 1 auf Grund, 5,0 : 1 auf Rosé hell */
	--nd-anthrazit: #3e403e;
	--nd-anthrazit-tief: #2f312f;
	--nd-grund: #fcf8f7;
	--nd-weiss: #ffffff;
	--nd-text: #3e403e;           /* 10,1 : 1 */
	--nd-text-leise: #5c5e5c;     /* 6,3 : 1 */
	--nd-text-hell: #f4efed;      /* auf Anthrazit */
	--nd-linie: rgba(62, 64, 62, 0.12);
	--nd-linie-stark: rgba(62, 64, 62, 0.24);
	--nd-fokus: #2f5f8a;

	/* Schrift */
	--nd-schrift: "Sora", "Sora Ersatz", system-ui, sans-serif;
	--nd-schrift-titel: "Libre Baskerville", "Baskerville Ersatz", Georgia, serif;
	--nd-gewicht: 330;
	--nd-gewicht-mittel: 500;
	--nd-gewicht-fett: 600;
	--nd-gr-klein: 0.875rem;      /* 14 px */
	--nd-gr-text: 1.125rem;       /* 18 px */
	--nd-gr-lead: clamp(1.1875rem, 1.1rem + 0.4vw, 1.375rem);
	--nd-gr-h3: clamp(1.25rem, 1.15rem + 0.45vw, 1.5rem);
	--nd-gr-h2: clamp(1.75rem, 1.45rem + 1.3vw, 2.375rem);
	--nd-gr-h1: clamp(2.125rem, 1.6rem + 2.6vw, 3.5rem);
	--nd-gr-vorzeile: 0.8125rem;
	--nd-zeile: 1.7;

	/* Abstände */
	--nd-a-1: 0.25rem;
	--nd-a-2: 0.5rem;
	--nd-a-3: 0.75rem;
	--nd-a-4: 1rem;
	--nd-a-5: 1.5rem;
	--nd-a-6: 2rem;
	--nd-a-7: 3rem;
	--nd-a-8: clamp(3.5rem, 2.5rem + 4vw, 6rem);
	--nd-breite: 72rem;
	--nd-breite-text: 46rem;
	--nd-rand: clamp(1rem, 0.5rem + 2.5vw, 2.5rem);

	/* Form */
	--nd-radius: 6px;
	--nd-radius-gross: 10px;
	--nd-radius-xl: 16px;
	--nd-radius-voll: 999px;
	--nd-schatten: 0 1px 2px rgba(62, 64, 62, 0.06), 0 8px 24px rgba(62, 64, 62, 0.06);
	--nd-schatten-hoch: 0 2px 4px rgba(62, 64, 62, 0.06), 0 16px 40px rgba(62, 64, 62, 0.1);
	--nd-dauer: 0.25s;
	--nd-kopf-hoehe: 4.5rem;
}
