/* =========================================
   BASE CSS
   Globale Grundregeln für alle Seiten
   ========================================= */

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

/* Dokument */
html {
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
}

/* Medien */
img,
svg,
video,
canvas {
  display: block;
  max-width: 100%;
}

/* Formulare */
input,
button,
textarea,
select {
  font: inherit;
}

/* Standard-Links */
a {
  color: var(--blue-mid);
}

a:hover {
  text-decoration: underline;
}

/* Fokus sichtbar */
:focus-visible {
  outline: 2px solid var(--blue-mid);
  outline-offset: 2px;
}

/* Kleine Helfer */
[hidden] {
  display: none !important;
}

/* Mobile Basis */
@media (max-width: 600px) {
  .shell {
    padding: 0 1rem;
  }

  .shell__org {
    display: none;
  }

  .page {
    padding: 1.25rem 1rem 2.5rem;
  }

  .card {
    padding: 1.25rem 1rem;
  }

  .actions {
    flex-direction: column;
  }
}
