/* 
 * base.css - MeinTango
 * Grundlegende Definitionen, Variablen und Resets
 */

/* Fonts & Typography */
@font-face {
    font-family: 'Noto Serif';
    src: url('../../assets/fonts/NotoSerif-Variable.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Manrope';
    src: url('../../assets/fonts/Manrope-Variable.ttf') format('truetype');
    font-weight: 200 800;
    font-style: normal;
    font-display: swap;
}

:root {
    /* Colors (DESIGN.md) */
    --bg-color: #fff8ef;
    --primary-red: #580000;
    --accent-gold: #735c00;
    --text-color: #51606b;
    --white: #ffffff;
    
    /* Spacing & Borders */
    --radius-sm: 0.4rem;
    --radius-md: 0.6rem;
    --radius-lg: 1rem;
    --padding-std: 1.5rem;

    --space-xs: 0.5rem;
    --space-s: 0.8rem;
    --space-m: 1.5rem;
    --space-l: 2rem;
    --space-xl: 3rem;
    --space-xxl: 4rem;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Manrope', sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Noto Serif', serif;
    font-style: italic;
    color: var(--primary-red);
    margin-bottom: 1rem;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

a {
    color: var(--primary-red);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-gold);
}

.hidden {
    display: none !important;
}
