/* Gemeinsame Grundlage aller Entwürfe: Schriften, Reset, Platzhalter, Entwurf-Umschalter */

@font-face {
  font-family: 'Albert Sans';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/albert-sans-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url('fonts/figtree-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url('fonts/archivo-latin-var.woff2') format('woff2');
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 2px solid #E20613; outline-offset: 3px; }

.nur-sr {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* Platzhalter für die Abschnitte, die erst in Schritt 3 gebaut werden */
.folgt {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  padding-block: 48px 120px;
}
.folgt > div {
  border: 1px dashed var(--folgt-rand, #cfcfcf);
  border-radius: 12px;
  padding: 18px 20px;
  font: 500 .95rem/1.4 Figtree, system-ui, sans-serif;
  color: var(--folgt-text, #8a8a8a);
  scroll-margin-top: 96px;
}
.folgt > div b { display: block; color: var(--folgt-titel, #3a3a3a); font-weight: 600; }

/* Umschalter zwischen den Entwürfen – gehört nicht zum Design */
.entwurf-wahl {
  position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 1000;
  display: flex; align-items: center; gap: 4px; padding: 5px;
  background: rgba(28, 28, 28, .92); color: #fff;
  border: 1px solid rgba(255, 255, 255, .14); border-radius: 999px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, .28);
  font: 500 13px/1 Figtree, system-ui, sans-serif;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  max-width: calc(100% - 24px);
}
.entwurf-wahl span { padding: 0 8px 0 10px; color: #a8a8a8; white-space: nowrap; }
.entwurf-wahl a {
  color: #fff; text-decoration: none; padding: 8px 12px; border-radius: 999px; white-space: nowrap;
}
.entwurf-wahl a:hover { background: rgba(255, 255, 255, .12); }
.entwurf-wahl a[aria-current="page"] { background: #fff; color: #000; }
.entwurf-wahl button {
  display: grid; place-items: center; width: 30px; height: 30px; margin-left: 2px;
  border: 0; border-radius: 50%; background: transparent; color: #a8a8a8; cursor: pointer;
}
.entwurf-wahl button:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.entwurf-wahl svg { width: 12px; height: 12px; }
.entwurf-wahl.weg { display: none; }
@media (max-width: 520px) {
  .entwurf-wahl span { display: none; }
  .entwurf-wahl a { padding: 8px 10px; }
}
