/* ------------------------------------------------------------------
   Selbst gehostete Schriften
   ------------------------------------------------------------------
   Früher wurden Poppins und Six Caps über fonts.googleapis.com geladen.
   Dabei wurde bei jedem Seitenaufruf die IP-Adresse der Besucher an
   Google übertragen – ohne dass dafür eine Einwilligung vorlag.

   Die Dateien liegen jetzt lokal in /media/fonts/ und werden von hier
   ausgeliefert. Kein Drittanbieter, kein zusätzlicher DNS-Lookup, und
   die Datenschutzerklärung muss dafür keinen Google-Fonts-Absatz mehr
   enthalten.

   Bezogen über die Google-Fonts-API (SIL Open Font License 1.1).
   ------------------------------------------------------------------ */

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../media/fonts/poppins-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../media/fonts/poppins-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../media/fonts/poppins-600-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../media/fonts/poppins-600-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Six Caps";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../media/fonts/sixcaps-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ------------------------------------------------------------------
   Skip-Link (Barrierefreiheit)
   Unsichtbar, bis er per Tab-Taste den Fokus bekommt.
   ------------------------------------------------------------------ */
.skip-to-content {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100000;
  padding: 14px 22px;
  background: #000;
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  text-decoration: none;
  border: 1px solid #fff;
}
.skip-to-content:focus,
.skip-to-content:focus-visible {
  left: 12px;
  top: 12px;
  outline: 2px solid #009bbc;
  outline-offset: 2px;
}

/* ------------------------------------------------------------------
   Bewegungen reduzieren (Barrierefreiheit, WCAG 2.3.3)
   Wer im Betriebssystem "Bewegung reduzieren" eingestellt hat, bekommt
   keine Endlos-Parallax- und Einblend-Animationen mehr. Die Seite
   bleibt vollständig nutzbar - Elemente stehen einfach still.
   ------------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  /* Elemente, die per JS erst beim Scrollen eingeblendet werden,
     dürfen nicht unsichtbar hängen bleiben. */
  .has-animation,
  .has-mask-fill,
  .with-selector,
  .parallax-element,
  .clapat-button-wrap {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
  }
}

/* ------------------------------------------------------------------
   Sichtbarer Fokus für Tastaturnutzer (WCAG 2.4.7)
   Nur bei Tastaturbedienung - Mausklicks zeigen keinen Ring.
   ------------------------------------------------------------------ */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid #009bbc;
  outline-offset: 3px;
  border-radius: 2px;
}
