/* base.css – Weltweberei Σ.v3.foundation+mobile-first */

html {
  box-sizing: border-box;
  font-family: system-ui, sans-serif;
  font-size: 100%;
  line-height: 1.5;
  scroll-behavior: smooth;
}

*, *::before, *::after {
  box-sizing: inherit;
}

body {
  margin: 0;
  padding: 0;
  background: #fff;
  color: #111;
  -webkit-font-smoothing: antialiased;
}

/* Links – mobile neutral, später modular ergänzt */
a {
  color: inherit;
  text-decoration: none;
}
a:focus,
:focus-visible {
  outline: 2px dashed #000;
  outline-offset: 2px;
}

/* Containerstruktur */
.container {
  width: 90%;
  max-width: 800px;
  margin: 0 auto;
  padding: 1rem;
}

/* Mobile-first Flexgrid */
.row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.col {
  flex: 1 1 100%;
}

@media (min-width: 600px) {
  .col-6 {
    flex: 1 1 48%;
  }
  .col-4 {
    flex: 1 1 30%;
  }
}

/* Responsives Bildverhalten */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Formelemente neutralisieren */
input,
textarea,
select,
button {
  font-family: inherit;
  font-size: 1rem;
  line-height: inherit;
  color: inherit;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  outline: none;
  box-shadow: none;
  appearance: none;
}