/* ==========================================================================
   Columbus Leasing GmbH — Base styles: reset, variables, typography
   ========================================================================== */

:root {
  --color-ink: #1c2024;
  --color-ink-soft: #4b5259;
  --color-paper: #ffffff;
  --color-paper-tint: #f4f5f6;
  --color-line: #dfe2e5;
  --color-line-soft: #eceef0;
  --color-brand: #2c4a52;
  --color-brand-dark: #1c3239;
  --color-brand-tint: #e7edee;
  --color-accent: #b08d57;
  --color-accent-tint: #f3ead9;

  --font-heading: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --container-max: 76rem;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.75rem;
  --space-lg: 3rem;
  --space-xl: 5rem;
  --space-2xl: 8rem;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  --shadow-sm: 0 1px 2px rgba(28, 32, 36, 0.06);
  --shadow-md: 0 8px 24px rgba(28, 32, 36, 0.08);
  --shadow-lg: 0 24px 48px rgba(28, 32, 36, 0.14);

  --ease-standard: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-ink);
  background-color: var(--color-paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 var(--space-sm);
  color: var(--color-brand-dark);
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.25rem, 4vw, 3.5rem);
}

h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}

h3 {
  font-size: 1.375rem;
}

h4 {
  font-size: 1.125rem;
}

p {
  margin: 0 0 var(--space-sm);
  max-width: 42rem;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--color-brand);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

a:hover {
  color: var(--color-brand-dark);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

ul,
ol {
  margin: 0 0 var(--space-sm);
  padding-left: 1.25rem;
}

button {
  font-family: inherit;
  cursor: pointer;
}

label {
  font-weight: 600;
  font-size: 0.9375rem;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: 1rem;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--color-brand);
  color: var(--color-paper);
  padding: var(--space-xs) var(--space-sm);
  border-radius: 0 0 var(--radius-sm) 0;
}

.skip-link:focus {
  left: 0;
}
