/*
Theme Name: klimastadt
Theme URI: https://klimastadtraum.de
Description: Planerisch-neutrales Fachportal-Theme für kommunalen Klimaschutz und Stadtplanung.
Author: Franziska Altmann
Version: 1.0.0
Text Domain: klimastadt
*/

/* ============================================================
   @font-face — lokal gehostet (keine Google-Fonts-CDN)
   Crimson Pro (variable, Weights 600/700)
   Inter Tight (variable, Weights 400/500/600)
   ============================================================ */

@font-face {
    font-family: 'Crimson Pro';
    font-style: normal;
    font-weight: 600 700;
    font-display: swap;
    src: url('assets/fonts/crimson-pro-latin-ext.woff2') format('woff2');
    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: 'Crimson Pro';
    font-style: normal;
    font-weight: 600 700;
    font-display: swap;
    src: url('assets/fonts/crimson-pro-latin.woff2') format('woff2');
    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: 'Inter Tight';
    font-style: normal;
    font-weight: 400 600;
    font-display: swap;
    src: url('assets/fonts/inter-tight-latin-ext.woff2') format('woff2');
    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: 'Inter Tight';
    font-style: normal;
    font-weight: 400 600;
    font-display: swap;
    src: url('assets/fonts/inter-tight-latin.woff2') format('woff2');
    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;
}

/* ============================================================
   DESIGN TOKENS — klimastadtraum.de (kst-)
   ============================================================ */
:root {
    --kst-primary:          #2F4A35;
    --kst-bg:               #F5F1E8;
    --kst-accent:           #B8952C;
    --kst-text:             #2D2A26;

    /* Alias-Variablen (fuer interne Mockup-Parity) */
    --kst-color-primary:    #2F4A35;
    --kst-color-bg:         #F5F1E8;
    --kst-color-accent:     #B8952C;
    --kst-color-text:       #2D2A26;
    --kst-color-text-muted: #6B6560;
    --kst-color-border:     #DDD8CC;
    --kst-color-white:      #FFFFFF;

    --kst-color-chip-1:     #2F4A35;
    --kst-color-chip-2:     #3A5C3E;
    --kst-color-chip-3:     #4A6B45;
    --kst-color-chip-4:     #38553D;
    --kst-color-chip-5:     #2A4430;

    --kst-font-heading:     'Crimson Pro', Georgia, serif;
    --kst-font-body:        'Inter Tight', system-ui, sans-serif;
    --kst-max-width:        1060px;
    --kst-sidebar-width:    280px;
    --kst-line-accent:      1px solid var(--kst-color-accent);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
}

body {
    background-color: var(--kst-color-bg);
    color: var(--kst-color-text);
    font-family: var(--kst-font-body);
    font-weight: 400;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a:hover {
    text-decoration: underline;
}

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

ul, ol {
    list-style: none;
}

button {
    font: inherit;
    cursor: pointer;
}

/* Skip Link (Accessibility) */
.kst-skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    z-index: 100;
}

.kst-skip-link:focus {
    left: 10px;
    top: 10px;
    width: auto;
    height: auto;
    padding: 10px 14px;
    background: var(--kst-color-primary);
    color: var(--kst-color-white);
    border-radius: 2px;
}

/* Screen-Reader-Text (WP Standard) */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}
