/**
 * NEPTUN DESIGN SYSTEM — BASE / RESET
 */

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

html {
  color-scheme: light;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body-m);
  line-height: var(--lh-body);
  color: var(--color-text-on-light);
  background: var(--color-bg-surface);
  -webkit-font-smoothing: antialiased;
}

img, picture, video, svg { display: block; max-width: 100%; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  line-height: var(--lh-display);
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: var(--fs-display-l); }
h2 { font-size: var(--fs-display-m); font-weight: var(--fw-semibold); line-height: var(--lh-heading); }
h3 { font-size: var(--fs-heading-l); font-weight: var(--fw-semibold); line-height: var(--lh-heading); }
h4 { font-family: var(--font-body); font-size: var(--fs-heading-m); font-weight: var(--fw-semibold); line-height: var(--lh-heading); }

/* Explizite Abstufung für den Seitenaufbau — nicht jede Section braucht
   den größten verfügbaren Wert. Nur der eine echte Hero-Moment pro Seite
   nutzt .type-hero. */
.type-hero {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: var(--fs-display-xl);
  line-height: var(--lh-display);
}
.type-section-lg {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: var(--fs-display-l);
  line-height: var(--lh-display);
}
.type-section {
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-heading-l);
  line-height: var(--lh-heading);
}

p { margin: 0; max-width: 62ch; }
p + p { margin-top: var(--space-m); }

a { color: inherit; text-decoration: none; }

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

input, select, textarea {
  font-family: inherit;
  font-size: var(--fs-body-m);
}

/* Sichtbarer Fokus — Pflicht, nie entfernen */
:focus-visible {
  outline: none;
  box-shadow: var(--shadow-focus);
  border-radius: var(--radius-s);
}

.u-container {
  max-width: var(--content-max-width);
  margin-inline: auto;
  padding-inline: var(--content-padding-inline);
}

/* Für bewusst breitere Kompositionen (Hero, Produktwelten, große
   Bild/Text-Sektionen) — Text-/Formularseiten bleiben bei .u-container. */
.u-container--wide {
  max-width: var(--content-max-width-wide);
  margin-inline: auto;
  padding-inline: var(--content-padding-inline);
}

.u-visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.u-skip-link {
  position: absolute;
  left: var(--space-m);
  top: -100px;
  background: var(--neptun-graphite-950);
  color: var(--color-text-on-dark);
  padding: var(--space-s) var(--space-m);
  border-radius: var(--radius-m);
  z-index: var(--z-modal);
  transition: top var(--duration-fast) var(--ease-standard);
}
.u-skip-link:focus { top: var(--space-m); }
