/******************************************************************************
 *
 * Kuczinski FineArt 2026
 * Datei : base.css
 * Version: 1.1
 *
 * 260815 LIGHT / DARK Switch Anpassungen 
 ******************************************************************************/

/* ===== Reset ============================================================ */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    font-size: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;

    background: var(--color-global-bg);
    color: var(--color-global-text);

    font-family: var(--font-text);
    font-size: var(--font-size-text);
    line-height: var(--line-height);

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* ===== Bilder =========================================================== */

img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* ===== Links ============================================================ */

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    color: var(--color-link-hover);
}

/* ===== �berschriften ==================================================== */

h1,
h2,
h3,
h4 {
    margin: 0;
    font-family: var(--font-heading);
    font-weight: 400;
}

h2 {
    margin-bottom: var(--space-md);
    text-align: center;
    font-size: var(--font-size-h2);
}

p {
    margin: 0 0 var(--space-sm);            /* ~~~kucz war --space-md */
}

/* ====================================================
    TEMPLATE ERROR

    Aufgabe:
        Sichtbare Fehlermeldung w�hrend der
        BASE-DVP Entwicklung.

    Aktiv:
        Nur wenn CONFIG.debug = true
        und render.js einen Templatefehler ausgibt.
==================================================== */

.template-error
{
    display: block;
    margin: 6px 0;

    color: red;
    font-weight: normal;
}

