/* Pastell Color Palette für Geländeplan */

:root {
  /* Primary Colors by Category */
  --color-camping-primary: #A8D5BA;
  --color-camping-dark: #7BA89E;
  --color-camping-light: #D0E8D8;

  --color-vendors-primary: #FFD4B4;
  --color-vendors-dark: #D4A389;
  --color-vendors-light: #FFE8D4;

  --color-stages-primary: #F0A5D8;
  --color-stages-dark: #C47AB0;
  --color-stages-light: #F5D4E8;

  --color-infrastructure-primary: #E5C1A5;
  --color-infrastructure-dark: #B89080;
  --color-infrastructure-light: #F0DFD0;

  --color-accessibility-primary: #B8D4F0;
  --color-accessibility-dark: #8CA8D0;
  --color-accessibility-light: #D9E8F5;

  /* Brand Accent - matches the illustrated Geländeplan reference (deep plum/purple) */
  --color-accent: #5B4B8A;
  --color-accent-dark: #453770;
  --color-accent-light: #E5DFF2;

  /* Neutral Colors */
  --color-bg-primary: #FFFFFF;
  --color-bg-secondary: #F5F3F0;
  --color-text-primary: #2C2C2C;
  --color-text-secondary: #666666;
  --color-border: #D9D0C8;
  --color-border-light: #E8E0D8;

  /* Accent Colors */
  --color-success: #70B859;
  --color-error: #E57373;
  --color-warning: #FFB347;
  --color-info: #64B5F6;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.15);

  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-xxl: 3rem;

  /* Border Radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 150ms ease-in-out;
  --transition-base: 300ms ease-in-out;
  --transition-slow: 500ms ease-in-out;
}

/* Intentionally no @media (prefers-color-scheme: dark) override here.
   The hand-drawn icon set uses dark/black outlines designed against a
   light background - auto-switching to a dark theme on phones with
   system dark mode made icons and text nearly unreadable. The map
   always uses this light pastel theme regardless of OS preference. */

/* Base Styles */
* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-text-primary);
  background: var(--color-bg-primary);
}

body {
  overflow: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-weight: 600;
  line-height: 1.2;
}

h1 { font-size: 2rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p {
  margin: 0 0 var(--spacing-md) 0;
}

/* Buttons */
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
  margin: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 500;
  transition: all var(--transition-base);
  border: 1px solid transparent;
}

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

.btn-primary:hover {
  background: var(--color-accent-dark);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: var(--color-bg-secondary);
  color: var(--color-text-primary);
  border-color: var(--color-border);
}

.btn-secondary:hover {
  background: var(--color-border-light);
}

.btn-sm {
  padding: var(--spacing-xs) var(--spacing-sm);
  font-size: 0.75rem;
}

/* Inputs */
input[type="checkbox"],
input[type="radio"] {
  cursor: pointer;
}

label {
  cursor: pointer;
  user-select: none;
}

/* Links */
a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color var(--transition-base);
}

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

/* Utilities */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.flex {
  display: flex;
}

.flex-column {
  flex-direction: column;
}

.gap-sm { gap: var(--spacing-sm); }
.gap-md { gap: var(--spacing-md); }
.gap-lg { gap: var(--spacing-lg); }

.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
