/* ============================================================
   GERMAN-SPOB – BASE.CSS
   ============================================================

   Inhalt:
   01. Design-Variablen
   02. Reset / Grundeinstellungen
   03. Helfer
   04. Buttons

   WICHTIG:
   - Globale Gestaltung nur hier.
   - Keine komponentenspezifischen Regeln hier eintragen.
   ============================================================ */


/* ============================================================
   01. DESIGN-VARIABLEN
   Zentrale Werte für das Corporate Design.
   ============================================================ */

:root {
    --spob-blue: #082d5d;
    --spob-blue-dark: #051f42;
    --spob-red: #d51e2b;
    --spob-gold: #9a7b42;
    --spob-gold-dark: #80632f;

    --text-main: #14233b;
    --text-muted: #596273;

    --background-page: #ffffff;
    --background-soft: #f5f7fa;

    --border-color: #dfe4eb;

    --content-width: 1440px;

    --radius-small: 4px;
    --radius-medium: 8px;

    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 32px;
    --space-xl: 56px;

    --shadow-soft: 0 8px 30px rgba(0, 0, 0, 0.08);

    --font-main: Arial, Helvetica, sans-serif;
}


/* ============================================================
   02. RESET / GRUNDEINSTELLUNGEN
   ============================================================ */

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--background-page);
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.5;
}

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

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

button,
input {
    font: inherit;
}


/* ============================================================
   03. HELFER
   ============================================================ */

.page-width {
    width: min(calc(100% - 40px), var(--content-width));
    margin-inline: auto;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}


/* ============================================================
   04. BUTTONS
   ============================================================ */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 10px 20px;
    border-radius: var(--radius-small);
    font-weight: 700;
    transition:
        transform 160ms ease,
        background-color 160ms ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button--primary {
    background: var(--spob-blue);
    color: #fff;
}

.button--primary:hover {
    background: var(--spob-blue-dark);
}

.button--accent {
    background: var(--spob-gold);
    color: #fff;
}

.button--accent:hover {
    background: var(--spob-gold-dark);
    color: #fff;
}


/* ============================================================
   MOBILE BASIS
   ============================================================ */

@media (max-width: 700px) {
    .page-width {
        width: min(calc(100% - 24px), var(--content-width));
    }
}
