:root {
    --surface: #0c1330;
    --surface-raised: #121a40;
    --surface-high: #1b2554;
    --surface-footer: #080d22;
    --surface-nav: rgba(12, 19, 48, 0.72);
    --surface-light: #f7f5ee;
    --surface-light-2: #efece0;

    --text-on-dark: #f7f5ee;
    --text-muted: rgba(247, 245, 238, 0.74);
    --text-dim: #8a97b4;
    --text-primary: #15131d;
    --text-secondary: #3a3850;
    --text-tertiary: #5e5c72;

    --accent: #e7b24c;
    --accent-strong: #d49a2e;
    --accent-soft: #f3e4c2;
    --accent-fill-16: rgba(231, 178, 76, 0.16);
    --accent-fill-14: rgba(231, 178, 76, 0.14);
    --accent-fill-12: rgba(231, 178, 76, 0.12);

    --border-subtle: rgba(247, 245, 238, 0.16);
    --star: rgba(247, 245, 238, 0.92);

    --coderistas-sand: #e9dcc0;
    --coderistas-coffee: #3a2a1e;
    --coderistas-crema: #c8996b;
    --coderistas-blue: #2f6b8a;
    --coderistas-sand-2: color-mix(in srgb, var(--coderistas-sand) 95%, var(--coderistas-coffee));
    --coderistas-coffee-2: color-mix(in srgb, var(--coderistas-coffee) 60%, var(--coderistas-crema));
    --coderistas-muted: color-mix(in srgb, var(--coderistas-coffee) 72%, var(--coderistas-sand));
    --coderistas-hairline: color-mix(in srgb, var(--coderistas-coffee) 14%, transparent);

    --pain-surface: rgba(180, 73, 58, 0.22);
    --pain-icon: #e8a597;

    --font-size-3xs: 10px;
    --font-size-2xs: 11px;
    --font-size-xs: 12px;
    --font-size-sm: 13px;
    --font-size-md: 14px;
    --font-size-lg: 15px;
    --font-size-xl: 16px;
    --font-size-2xl: 17px;
    --font-size-3xl: 19px;
    --font-size-4xl: 21px;
    --font-size-5xl: 26px;
    --font-size-display-sm: 36px;
    --font-size-display-md: 42px;
    --font-size-display-lg: 78px;

    --font-primary: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
    --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: var(--font-primary);
    color: var(--text-primary);
    background: var(--surface);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

#was, #mehrwert, #aufbau, #anwendung, #rollen, #demo {
    scroll-margin-top: 60px;
}

@keyframes lsBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(5px);
    }
}

h1, h2, h3, p {
    margin: 0;
}

a {
    color: inherit;
}

button {
    font-family: inherit;
}

.wrap {
    max-width: 1180px;
    margin: 0 auto;
    padding-left: clamp(20px, 4vw, 56px);
    padding-right: clamp(20px, 4vw, 56px);
}

.band {
    padding-top: 88px;
    padding-bottom: 88px;
}

.band-compact {
    padding-top: 76px;
    padding-bottom: 76px;
}

.band-legal {
    padding-top: 96px;
    padding-bottom: 96px;
}

.band-tall {
    padding-top: 120px;
    padding-bottom: 120px;
}

.band-footer {
    padding-top: 52px;
    padding-bottom: 28px;
}

.layered {
    position: relative;
}

.above-backdrop {
    position: relative;
    z-index: 1;
}

.centered {
    text-align: center;
}


.full-width {
    width: 100%;
}

.big {
    margin: 14px 0 0;
}

.heading-gap-md {
    margin-top: 16px;
}

.heading-gap-lg {
    margin-top: 22px;
}

.centered-block {
    margin-inline: auto;
}

.measure-xs {
    max-width: 520px;
}

.measure-sm {
    max-width: 560px;
}

.measure-md {
    max-width: 640px;
}

.measure-lg {
    max-width: 720px;
}

.measure-xl {
    max-width: 800px;
}

.measure-2xl {
    max-width: 880px;
}

.text-accent {
    color: var(--accent);
}

.text-accent-on-light {
    color: var(--accent-strong);
}

.text-on-dark {
    color: var(--text-on-dark);
}

.text-muted {
    color: var(--text-muted);
}

.text-dim {
    color: var(--text-dim);
}

.text-primary {
    color: var(--text-primary);
}

.text-secondary {
    color: var(--text-secondary);
}

.text-tertiary {
    color: var(--text-tertiary);
}

.type-lead {
    font-size: var(--font-size-3xl);
    line-height: 1.55;
}

.type-intro {
    font-size: var(--font-size-xl);
    line-height: 1.6;
}

.button-accent,
.button-outline {
    padding: 14px 23px;
    border-radius: 11px;
    text-decoration: none;
    font-size: var(--font-size-lg);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.button-accent {
    background: var(--accent);
    color: var(--surface);
    font-weight: 700;
    transition: filter 0.15s;
}

.button-accent:hover {
    filter: brightness(1.05);
}

.button-outline {
    border: 1px solid var(--border-subtle);
    color: var(--text-on-dark);
    font-weight: 600;
    transition: background 0.15s, border-color 0.15s;
}

.button-outline:hover {
    background: rgba(247, 245, 238, 0.06);
}

.validation-message {
    font-size: var(--font-size-xs);
    color: #e8a597;
    margin-top: 5px;
    font-family: var(--font-mono);
}

#blazor-error-ui {
    color-scheme: light only;
    background: var(--accent-soft);
    color: var(--text-primary);
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
    font-size: var(--font-size-md);
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}
