/*
Theme Name: KCH Theme
Theme URI: https://strikeforfuture.ch
Description: Strike for Future / Klimaschutz Schweiz – Alpine Editorial Theme
Author: Nadine Gerber
Version: 1.0.0
Text Domain: kch-theme
*/

@import url('https://fonts.googleapis.com/css2?family=Faustina:ital,wght@0,400;0,600;0,700;1,400&family=Figtree:wght@400;500;600&display=swap');

/* ============================================================
   CSS Custom Properties
   ============================================================ */
:root {
    --kch-primary:        #2563EB;
    --kch-primary-light:  #DBEAFE;
    --kch-text:           #1E2D3A;
    --kch-gray:           #64748B;
    --kch-bg:             #F8FAFC;
    --kch-border:         #E2E8F0;
    --kch-white:          #FFFFFF;

    --kch-font-heading:   'Faustina', Georgia, serif;
    --kch-font-body:      'Figtree', system-ui, sans-serif;

    --kch-radius:         6px;
    --kch-shadow:         0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
    --kch-shadow-md:      0 4px 6px rgba(0,0,0,.07), 0 2px 4px rgba(0,0,0,.06);
    --kch-transition:     .2s ease;

    --kch-space-xs:       0.25rem;
    --kch-space-sm:       0.5rem;
    --kch-space-md:       1rem;
    --kch-space-lg:       2rem;
    --kch-space-xl:       4rem;
}

/* ============================================================
   Reset & Box-Model
   ============================================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--kch-font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--kch-text);
    background-color: var(--kch-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: var(--kch-primary);
    text-decoration: none;
    transition: color var(--kch-transition);
}

a:hover,
a:focus {
    color: var(--kch-text);
    text-decoration: underline;
}

ul, ol {
    list-style: none;
}

/* ============================================================
   Typography
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--kch-font-heading);
    font-weight: 700;
    line-height: 1.3;
    color: var(--kch-text);
}

h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h2 { font-size: clamp(1.375rem, 3vw, 1.875rem); }
h3 { font-size: clamp(1.125rem, 2.5vw, 1.375rem); }
h4 { font-size: 1.125rem; }

p { margin-bottom: 1.25rem; }
p:last-child { margin-bottom: 0; }

/* ============================================================
   Layout Container
   ============================================================ */
.kch-container {
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

.kch-container--narrow {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}
