/* ============================================================
   BASE — Reset + Mobile-First Defaults
   Alles, was für ALLE Viewport-Größen gilt.
   ============================================================ */

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

html {
  scroll-behavior: smooth;
  /* iOS-Safe-Area für Notched-Devices */
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}

body {
  font-family: 'Manrope', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 300;
  font-size: var(--body);
  line-height: 1.6;
  background: var(--ink);
  color: #E8E5DD;
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--brass);
  color: var(--ink);
}

/* Bilder/Floats — Mobile-First */
img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Tap-Targets: Mindestgröße 44x44px (a11y) */
a, button {
  min-height: 44px;
}

/* Tab-Fokus immer sichtbar (a11y) */
:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Reduced Motion: Animationen respektieren */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
