/* ==========================================================================
   Basis
   ========================================================================== */

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

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

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

html.is-locked { overflow: hidden; }

/* Sprungziele nicht unter dem fixen Header verstecken */
[id] { scroll-margin-top: calc(var(--header-h-compact) + 1.5rem); }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--blue-ink);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, p, ul, ol, dl, dd, figure, fieldset { margin: 0; }
fieldset { border: 0; padding: 0; min-width: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
img, video { display: block; max-width: 100%; }

:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.6rem 1rem;
  background: var(--ivory);
  color: var(--blue-deep);
  font-size: var(--text-nav);
  transform: translateY(-200%);
  transition: transform var(--dur-fast) var(--ease-out);
}
.skip-link:focus { transform: none; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0 1.6rem;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: var(--text-nav);
  font-weight: 500;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  transition: background-color var(--dur-base) var(--ease-out),
              color var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out);
}

.btn--solid {
  background: var(--blue-deep);
  border-color: var(--blue-deep);
  color: var(--ivory);
}
.btn--solid:hover { background: var(--blue-ink); border-color: var(--blue-ink); }

/* Kontur auf Video */
.btn--ghost-light {
  border-color: var(--line-light);
  color: var(--ivory);
}
.btn--ghost-light:hover {
  background: var(--ivory);
  border-color: var(--ivory);
  color: var(--blue-deep);
}

/* Hell auf blauem Grund */
.btn--light {
  background: var(--ivory);
  border-color: var(--ivory);
  color: var(--blue-deep);
}
.btn--light:hover {
  background: transparent;
  color: var(--ivory);
}
