/* ============================================================
   base.css — tokens, reset, base typography, buttons
   Part of the Praxis Dr. Kretzschmar theme. Rules moved verbatim
   from the original single style.css (see CLAUDE.md).
   ============================================================ */

:root {
    /* ─── Green — backgrounds, soft surfaces (was creme in v1) ────── */
    --color-green-50:  #F1F8EE;   /* near-white, faintest tint        */
    --color-green-100: #DDEED5;   /* pale, used like creme-100        */
    --color-green-200: #BCDDAB;   /* mid-pale, slightly stronger      */
    --color-green-300: #88C075;   /* light forest                     */
    --color-green-400: #5BAA4A;
    --color-green-600: #349A2D;   /* Forest Green — primary brand     */
    --color-green-800: #237319;
    --color-green-900: #134510;
    
    /* ─── Deep navy blue — retained for text and footer ──────────── */
    --color-ink-50:  #EEF3F8;
    --color-ink-100: #D6E1EC;
    --color-ink-200: #A9BFD3;
    --color-ink-400: #4A6E8C;
    --color-ink-600: #2D4F73;
    --color-ink-800: #1B3A5C;
    --color-ink-900: #0F2842;
    
    /* ─── Warm-red — retained for CTAs and Kontakt band ──────────── */
    --color-accent-50:  #FBE9E5;
    --color-accent-100: #F4C5BC;
    --color-accent-200: #E89A8B;
    --color-accent-400: #C95440;
    --color-accent-600: #AB2815;
    --color-accent-800: #8E1F10;
    --color-accent-900: #6F170B;
    
    /* ─── Creme — kept ONLY for text on red backgrounds ──────────── */
    --color-creme-50: #FCFBF5;
}

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

body {
    background: var(--color-green-100);
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    min-height: 100vh;
}


.btn {
    display: inline-block;
    padding: 14px 28px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.2s ease, background 0.2s ease;
    border: 1.5px solid var(--color-ink-900);
}

.btn-primary {
    background: var(--color-accent-600);
    color: #ffffff;
    border-color: var(--color-accent-600);
}

.btn-primary:hover {
    opacity: 0.9;
}

.btn-secondary {
    background: transparent;
    color: var(--color-ink-900);
}

.btn-secondary:hover {
    background: rgba(15, 40, 66, 0.08);
}


/* ── Accessibility utilities (added per MP-01 / CR-001) ──────────── */

/* Screen-reader-only text (e.g. service-specific link names). */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

/* Skip-to-content link: hidden until focused, then revealed. */
.skip-link {
    position: absolute;
    left: 8px;
    top: -48px;
    z-index: 1000;
    padding: 10px 16px;
    background: var(--color-ink-900);
    color: #ffffff;
    text-decoration: none;
    border-radius: 0 0 4px 4px;
    transition: top 0.2s ease;
}
.skip-link:focus {
    top: 0;
}

/* Visible keyboard focus for interactive elements. */
a:focus-visible,
button:focus-visible,
input:focus-visible,
label[tabindex]:focus-visible,
[tabindex]:focus-visible {
    outline: 3px solid var(--color-accent-600);
    outline-offset: 2px;
}
