/* base.css — Maritime design tokens for Seidemann Fischereiberatung */

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

:root {
  /* Maritime color palette */
  --navy:       #001F3F;
  --navy-90:    rgba(0, 31, 63, 0.9);
  --navy-70:    rgba(0, 31, 63, 0.7);
  --navy-50:    rgba(0, 31, 63, 0.5);
  --slate:      #708090;
  --white:      #FFFFFF;
  --surface:    #F5F7FA;
  --gold:       #C8A951;
  --gold-light: #D4B96A;
  --gold-dark:  #A8892F;

  /* Typography */
  --font-heading: 'General Sans', system-ui, sans-serif;
  --font-body:    'Switzer', system-ui, sans-serif;

  /* Type scale */
  --text-xs:   clamp(0.75rem, 0.7rem + 0.2vw, 0.875rem);
  --text-sm:   clamp(0.875rem, 0.82rem + 0.25vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 1rem + 0.5vw, 1.375rem);
  --text-xl:   clamp(1.375rem, 1.2rem + 0.75vw, 1.75rem);
  --text-2xl:  clamp(1.75rem, 1.5rem + 1.25vw, 2.5rem);
  --text-3xl:  clamp(2.25rem, 1.8rem + 2vw, 3.5rem);
  --text-hero: clamp(2.75rem, 2rem + 3vw, 4.5rem);

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Layout */
  --container-max: 1200px;
  --container-wide: 1400px;
  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  16px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(0,31,63,0.08), 0 1px 2px rgba(0,31,63,0.06);
  --shadow-md:  0 4px 12px rgba(0,31,63,0.1), 0 2px 6px rgba(0,31,63,0.08);
  --shadow-lg:  0 16px 40px rgba(0,31,63,0.12), 0 4px 12px rgba(0,31,63,0.08);

  /* Transitions */
  --ease:     cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:  cubic-bezier(0.4, 0, 1, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --duration-fast:   150ms;
  --duration-normal: 250ms;
  --duration-slow:   400ms;
}

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

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--navy);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--navy);
}

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

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

button {
  font-family: var(--font-body);
  cursor: pointer;
}

ul, ol {
  list-style: none;
}

/* Focus styles */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* Selection */
::selection {
  background-color: var(--gold);
  color: var(--navy);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--surface);
}
::-webkit-scrollbar-thumb {
  background: var(--slate);
  border-radius: 3px;
}
