:root{
    --font-xs: .64rem;
    --font-s: .8rem;
    --font-m: 1rem;
    --font-l: 1.25rem;
    --font-xl: 1.563rem;
    --font-xxl: 2.441rem;
    --font-xxxl: 3.052rem;
    --font-xxxxl: 3.815rem;


    /* * BRAND COLORS: AMBER (Action)
       * Wärmer und satter, damit es auf weißem Grund nicht "dreckig" wirkt.
       */
    --color-company-50: #fff8e1;
    --color-company-100: #ffecb3;
    --color-company-200: #ffe082;
    --color-company-300: #ffd54f;
    --color-company-400: #ffca28;
    --color-company-500: #ffc107; /* Base Brand */
    --color-company-600: #ffb300;
    --color-company-700: #ffa000;
    --color-company-800: #ff8f00;
    --color-company-900: #ff6f00;
    --color-company-950: #8a3c00; /* Viel dunkler für Kontraste */

    /* * SECONDARY: SLATE (Foundation)
     * Ein kühles Grau-Blau. Wir nutzen dies für Text und Strukturen.
     * Viel moderner als das alte ausgewaschene Blau.
     */
    --color-secondary-50: #f8fafc;
    --color-secondary-100: #f1f5f9;
    --color-secondary-200: #e2e8f0;
    --color-secondary-300: #cbd5e1;
    --color-secondary-400: #94a3b8;
    --color-secondary-500: #64748b;
    --color-secondary-600: #475569;
    --color-secondary-700: #334155;
    --color-secondary-800: #1e293b;
    --color-secondary-900: #0f172a;
    --color-secondary-950: #020617; /* Fast Schwarz für max. Kontrast */

    /* * NEUTRALS: PURE & FUNCTIONAL
     * Entkoppelt von Secondary, um echte Weißräume zu schaffen.
     */
    --color-neutral-50: #ffffff;
    --color-neutral-100: #fafafa;
    --color-neutral-200: #f4f4f5;
    --color-neutral-300: #e4e4e7;
    --color-neutral-400: #a1a1aa;
    --color-neutral-500: #71717a;
    --color-neutral-600: #52525b;
    --color-neutral-700: #3f3f46;
    --color-neutral-800: #27272a;
    --color-neutral-900: #18181b;
    --color-neutral-950: #09090b;

    /* * STATUS COLORS
     * Modernisiert, weniger "Candy", mehr "Utility".
     */
    --color-success-500: #10b981;
    --color-success-bg: #ecfdf5;
    --color-success-text: #064e3b;

    --color-error-500: #ef4444;
    --color-error-bg: #fef2f2;
    --color-error-text: #7f1d1d;

    /* * SEMANTIC MAPPING (The Magic)
     */

    /* Backgrounds: Hier war dein größter Fehler. Wir gehen hell & clean. */
    --bg: var(--color-secondary-100); /* Sehr helles Slate-Weiß */
    --bg-ui: var(--color-secondary-200); /* Für Sections */

    /* Surfaces: Cards & Modals */
    --surface: var(--color-neutral-50);
    --surface-muted: var(--color-secondary-50);
    --surface-elevated: var(--color-neutral-50);
    --surface-elevated-w-backdrop: rgba(255,255,255,.95);

    /* Borders: Dezent, nicht störend */
    --border: var(--color-secondary-200);
    --border-focus: var(--color-secondary-400);

    /* Primary Action (Buttons, Links, Highlights) */
    --primary: var(--color-company-500);
    --primary-hover: var(--color-company-400); /* Heller beim Hover für "Licht-Effekt" */
    --primary-active: var(--color-company-600);
    /* WICHTIG: Text auf Gelb muss dunkel sein für A11y (Barrierefreiheit) */
    --on-primary: var(--color-secondary-950);

    /* Secondary Action (Ghost Buttons, Tags) */
    --secondary: var(--color-secondary-700);
    --secondary-hover: var(--color-secondary-900);
    --on-secondary: var(--color-neutral-50);

    /* Typography */
    --text: var(--color-secondary-900); /* Fast schwarz, viel besser lesbar */
    --text-muted: var(--color-secondary-500); /* Guter Kontrast, aber dezent */
    --text-inverted: #ffffff;

    /* Shadows (Tailwind-inspired but custom) */
    --shadow-sm: 0 1px 2px 0 rgb(15 23 42 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(15 23 42 / 0.1), 0 2px 4px -2px rgb(15 23 42 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(15 23 42 / 0.1), 0 4px 6px -4px rgb(15 23 42 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(15 23 42 / 0.1), 0 8px 10px -6px rgb(15 23 42 / 0.1);

    --to-primary: brightness(0) saturate(100%) invert(90%) sepia(24%) saturate(6973%) hue-rotate(353deg) brightness(103%) contrast(102%);
    --to-secondary: brightness(0) saturate(100%) invert(56%) sepia(12%) saturate(694%) hue-rotate(155deg) brightness(96%) contrast(89%);

    --font-company: "Montserrat", sans-serif, system-ui, -apple-system;
    --font-body: "Poppins", sans-serif, system-ui, -apple-system;

    --header-height: 75px;
}


body {
    padding: 0;
    margin: 0;
    background-color: var(--bg);
    color: var(--text);
}

html {
    font-size: 16px;
    font-family: var(--font-body), sans-serif;
    scroll-behavior: smooth;
}

h1{
    hyphens: auto;
    font-family: var(--font-company), sans-serif;
}

h2, h3, h4, h5, h6 {
    font-family: var(--font-company), sans-serif;
    text-wrap: wrap;
}

section{
    --max-size: 1400px;
    position: relative;
    box-sizing: border-box;
    padding: 3rem 2rem;
    min-height: calc(100vh - var(--header-height));
    height: auto;
    width: 100vw;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    background: var(--bg);
}

.cta-button {
    text-transform: uppercase;
    border: 2px solid var(--primary);
    background-color: var(--primary);
    color: var(--on-primary);
    text-decoration: none;
    outline: none;
    padding: .5rem 1rem;
    border-radius: 8px;
    transition: 300ms;
    font-weight: 700;
    font-family: var(--font-company), sans-serif;
    cursor: pointer;
    text-align: center;
}

.cta-button:hover {
    background-color: var(--primary-hover);
}

.ghost {
    background-color: transparent;
    border-color: var(--secondary);
    color: var(--secondary);
    font-weight: 600;
}

.ghost:disabled:hover{
    background-color: transparent;
    color: var(--secondary);
}

.ghost:hover {
    background-color: var(--secondary-hover);
    color: var(--on-secondary);

}