/* Design Tokens — Neuengland 2026
 * Reisetagebuch-Stimmung: Sand, Lobster, Maine-Tiefseeblau, Vintage-Charme.
 * Schriften: Playfair Display (Serif, Headlines), Inter-System-Stack (Body),
 * Caveat (Handschrift für Notizen).
 */
:root {
  /* Farben — wärmer, Reisebuch-ig */
  --color-primary:        #134e4a;  /* Tiefseegrün — Maine */
  --color-primary-hover:  #0f3a37;
  --color-primary-light:  #ccfbf1;

  --color-accent:         #b91c1c;  /* Lobster-Rot */
  --color-accent-hover:   #991b1b;

  --color-secondary:      #1e3a8a;  /* Navy — Atlantik */
  --color-secondary-hover:#1e40af;

  --color-warm:           #ca8a04;  /* Sonne, Bernstein */

  /* Hintergrund: warmes Off-Weiss (Tagebuchpapier) */
  --color-bg:             #faf6ef;
  --color-bg-alt:         #f5ebd9;  /* leicht dunkler — Stempelblock */

  --color-surface:        #fffdf8;
  --color-surface-elevated:#ffffff;
  --color-surface-muted:  #f0e9d8;

  --color-text:           #1c1917;
  --color-text-muted:     #57534e;
  --color-text-subtle:    #78716c;
  --color-border:         #e7d9b8;
  --color-border-strong:  #d4c19a;

  --color-success:        #15803d;
  --color-success-bg:     #dcfce7;
  --color-warning:        #ca8a04;
  --color-warning-bg:     #fef3c7;
  --color-error:          #b91c1c;
  --color-error-bg:       #fee2e2;
  --color-info:           #0369a1;
  --color-info-bg:        #e0f2fe;

  /* Abstände */
  --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;

  /* Typografie */
  --font-serif: "Playfair Display", "Iowan Old Style", "Source Serif Pro", Georgia, "Times New Roman", serif;
  --font-sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-hand:  "Caveat", cursive;
  --font-mono:  ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.5rem;
  --text-5xl: 3.5rem;

  --leading-tight: 1.15;
  --leading-snug: 1.4;
  --leading-normal: 1.6;
  --leading-relaxed: 1.75;

  /* Radius — etwas weicher, organischer */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Schatten — wärmer, weicher */
  --shadow-xs: 0 1px 2px rgba(80, 50, 20, 0.05);
  --shadow-sm: 0 1px 3px rgba(80, 50, 20, 0.07), 0 1px 2px rgba(80, 50, 20, 0.04);
  --shadow-md: 0 4px 14px rgba(80, 50, 20, 0.08), 0 2px 6px rgba(80, 50, 20, 0.05);
  --shadow-lg: 0 14px 36px rgba(80, 50, 20, 0.10), 0 6px 12px rgba(80, 50, 20, 0.06);
  --shadow-xl: 0 28px 56px rgba(80, 50, 20, 0.14), 0 10px 20px rgba(80, 50, 20, 0.08);

  /* Layout */
  --sidebar-width: 300px;
  --topbar-height: 56px;
  --content-max: 880px;

  --transition-fast: 120ms ease;
  --transition-base: 200ms ease;
  --transition-slow: 320ms ease;

  /* Leaflet nutzt bis z-index 1000 (controls) — UI muss darüber liegen */
  --z-sidebar: 1100;
  --z-topbar: 1200;
  --z-drawer: 1300;
  --z-overlay: 1400;
  --z-toast: 1500;
}
