/* Grundstil (Elementor-Kit 13 und Twenty Twenty-One, soweit sichtbar). Etappe 3B, Nora. */

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

html { -webkit-text-size-adjust: 100%; }
html, body { width: 100%; overflow-x: hidden; } /* live: Kit-Zusatz-CSS */

body {
  margin: 0;
  background: var(--color-white);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;   /* live: Schrift auf dem Mac feiner (Safari, Chrome) */
  -moz-osx-font-smoothing: grayscale;
}

p { margin: 0 0 22px; line-height: var(--lh-p); } /* Kit: margin-block-end 22px, auch am letzten Absatz */
a { color: var(--text-link); text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, h5, h6 { margin: 0; padding: 0; font-weight: 600; line-height: 1; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
figure { margin: 0; }
strong, b { font-weight: 700; }
table { border-collapse: collapse; border-spacing: 0; }

.icon { display: inline-block; width: 1em; height: 1em; vertical-align: -0.125em; flex: none; }

/* Sichtbarer Fokus (Abweichung vom Original, WCAG 2.2): dunkler Ring mit weißem Saum */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--color-text);
  outline-offset: 2px;
  box-shadow: 0 0 0 4px var(--color-white);
}

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

/* Sprunglink zum Inhalt */
.skiplink {
  position: absolute; left: 8px; top: -100px; z-index: 1000;
  background: var(--color-white); color: var(--color-text);
  padding: 10px 16px; font-size: 18px;
}
.skiplink:focus { top: 8px; }

/* Raster wie Elementor: Container und Spalten */
.boxed { width: 100%; max-width: var(--container); margin-inline: auto; }
.narrow { width: 100%; max-width: var(--container-narrow); margin-inline: auto; }
.col { padding: var(--col-pad); }

/* Abstand zwischen Widgets wie Elementor (margin-block-end: 20px) */
.stapel > * + * { margin-top: var(--widget-gap); }

@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;
  }
}
