/* ==========================================================================
   danielwulf.dev
   Eine Datei, kein Framework. Reihenfolge: Schriften, Tokens, Grundlagen,
   Bausteine, Abschnitte, Hilfsklassen, Media Queries.

   Gestaltung: eine Schriftfamilie (Geist), kuehl-neutrale Palette ohne
   Farbakzent, Tiefe nur dort, wo sie etwas traegt — unter den Screenshots
   und unter dem Entscheidungsblock. Keine Verlaeufe, kein Glas.
   ========================================================================== */

@font-face {
  font-family: 'Geist';
  src: url('/assets/fonts/geist-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Geist';
  src: url('/assets/fonts/geist-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Geist';
  src: url('/assets/fonts/geist-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* --- Farben und Maße ---------------------------------------------------- */

:root {
  color-scheme: light dark;

  --bg: #ffffff;
  --surface: #f7f8f9;
  --ink: #0b0c0e;
  --ink-soft: #35393f;
  --muted: #62676e;
  --rule: #e7e9ec;
  --rule-strong: #d3d7dc;
  --frame: #1b1e22;
  --shadow-sm: 0 1px 2px rgba(11, 12, 14, 0.06);
  --shadow-lg: 0 2px 4px rgba(11, 12, 14, 0.04), 0 18px 40px -18px rgba(11, 12, 14, 0.3);

  --font: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --wrap: 74rem;
  --col-text: 34rem;
  --col-register: 9rem;
  --col-figure: 21rem;
  --gap: clamp(1.75rem, 4vw, 3.5rem);
  --pad-x: clamp(1.25rem, 5vw, 3rem);
  --section-y: clamp(4rem, 9vw, 7.5rem);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a0b0d;
    --surface: #131519;
    --ink: #f3f4f6;
    --ink-soft: #d3d6da;
    --muted: #9ba1a9;
    --rule: #22252a;
    --rule-strong: #32363c;
    --frame: #26292e;
    --shadow-sm: none;
    --shadow-lg: 0 20px 44px -20px rgba(0, 0, 0, 0.8);
  }
}

/* --- Grundlagen --------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.7;
  font-weight: 400;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3 {
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.028em;
  margin: 0 0 0.55em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.75rem, 7vw, 4.5rem);
  letter-spacing: -0.04em;
  line-height: 1;
}

h2 {
  font-size: clamp(1.75rem, 3.6vw, 2.5rem);
  letter-spacing: -0.032em;
}

h3 {
  font-size: clamp(1.2rem, 2.2vw, 1.375rem);
  margin-bottom: 0.4em;
}

p {
  margin: 0 0 1.15em;
  max-width: var(--col-text);
  color: var(--ink-soft);
  text-wrap: pretty;
}

a {
  color: var(--ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  text-decoration-color: var(--rule-strong);
  transition: text-decoration-color 0.15s ease, opacity 0.15s ease;
}

a:hover {
  text-decoration-color: currentColor;
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 3px;
}

img {
  max-width: 100%;
  height: auto;
}

ul {
  margin: 0 0 1.15em;
  padding-left: 1.05rem;
  max-width: var(--col-text);
  color: var(--ink-soft);
}

li {
  margin-bottom: 0.45em;
}

li::marker {
  color: var(--rule-strong);
}

strong {
  font-weight: 500;
  color: var(--ink);
}

hr {
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 2.5rem 0;
}

/* --- Layout ------------------------------------------------------------- */

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10;
  background: var(--bg);
  color: var(--ink);
  padding: 0.75rem 1.25rem;
  border: 1px solid var(--rule-strong);
  border-radius: 8px;
}

.skip-link:focus {
  left: 0.5rem;
  top: 0.5rem;
}

/* --- Kopfzeile ---------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--rule);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  padding-block: 1rem;
}

/* Sprungziele duerfen nicht unter der Kopfzeile verschwinden. */
[id] {
  scroll-margin-top: calc(var(--header-h) + 1.5rem);
}

:root {
  --header-h: 6.75rem;
}

/* --- Abschnitts-Navigation ---------------------------------------------- */

.site-nav {
  order: 3;
  width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  margin-inline: calc(var(--pad-x) * -1);
  padding-inline: var(--pad-x);
}

.site-nav::-webkit-scrollbar {
  display: none;
}

.site-nav ul {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: none;
}

.site-nav li {
  margin: 0;
}

.site-nav a {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  white-space: nowrap;
  padding-block: 0.15rem;
  transition: color 0.15s ease;
}

.site-nav a:hover {
  color: var(--ink);
}

.wordmark {
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-decoration: none;
}

.lang-switch {
  display: flex;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.lang-switch a {
  text-decoration: none;
  color: var(--muted);
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  transition: color 0.15s ease, background 0.15s ease;
}

.lang-switch a:hover {
  color: var(--ink);
  background: var(--surface);
}

.lang-switch a[aria-current='true'] {
  color: var(--ink);
  background: var(--surface);
}

/* --- Registermarke: das wiederkehrende Element -------------------------- */

.section {
  border-top: 1px solid var(--rule);
  padding-block: var(--section-y);
}

.section:first-of-type {
  border-top: 0;
}

.section__grid,
.hero__grid {
  display: grid;
  gap: var(--gap);
  grid-template-columns: 1fr;
}

/* Ohne min-width: 0 waechst ein Grid-Element mit seinem Inhalt statt zu
   schrumpfen — der seitlich schiebbare Screenshot-Streifen wuerde die ganze
   Seite breiter machen. */
.section__body,
.hero__body,
.project,
.shots {
  min-width: 0;
}

.register {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 1.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.register__num {
  color: var(--ink);
}

.register__num::after {
  content: '';
  display: inline-block;
  width: 1.5rem;
  margin-left: 0.75rem;
  border-top: 1px solid var(--rule-strong);
  vertical-align: 0.25em;
}

/* --- Hero --------------------------------------------------------------- */

.hero {
  padding-block: clamp(4rem, 11vw, 8.5rem) var(--section-y);
}

.hero h1 {
  margin-bottom: 0.3em;
}

.hero__lead {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  line-height: 1.45;
  letter-spacing: -0.015em;
  color: var(--ink-soft);
  max-width: 32rem;
  margin-bottom: 3rem;
}

/* --- Datenblatt (Statuszeile, Skills, Projekt-Metadaten) ---------------- */

.spec {
  margin: 0;
  max-width: var(--col-text);
}

.spec > div {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.15rem 1.5rem;
  padding-block: 0.85rem;
  border-top: 1px solid var(--rule);
}

.spec > div:last-child {
  border-bottom: 1px solid var(--rule);
}

.spec dt {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 0.35rem;
}

.spec dd {
  margin: 0;
  color: var(--ink);
}

.spec--wide {
  max-width: none;
}

.spec--wide dd {
  max-width: 42rem;
}

/* --- Leistungen --------------------------------------------------------- */

.services {
  display: grid;
  gap: 2.5rem var(--gap);
  grid-template-columns: 1fr;
  margin-bottom: 3rem;
}

.service h3 {
  font-size: 1.0625rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  padding-top: 1rem;
  border-top: 1px solid var(--ink);
}

.service p {
  margin-bottom: 0;
  color: var(--muted);
  max-width: 30rem;
}

.availability {
  border-top: 1px solid var(--rule);
  padding-top: 1.5rem;
  color: var(--muted);
  max-width: 44rem;
}

/* --- Gegenüberstellung der beiden Projekte ------------------------------ */

.compare {
  display: grid;
  gap: var(--gap);
  grid-template-columns: 1fr;
  margin: 2.5rem 0 2rem;
}

.compare__col {
  border-top: 1px solid var(--ink);
  padding-top: 1.25rem;
}

.compare__name {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.compare__claim {
  font-size: clamp(1.25rem, 2.4vw, 1.5rem);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.022em;
  color: var(--ink);
  margin-bottom: 0.75rem;
}

.compare__detail {
  color: var(--muted);
  font-size: 0.9375rem;
  margin-bottom: 0;
}

.compare__note {
  max-width: 44rem;
  border-top: 1px solid var(--rule);
  padding-top: 1.5rem;
  color: var(--ink);
}

/* --- Projekt ------------------------------------------------------------ */

.project {
  border-top: 1px solid var(--rule);
  padding-block: var(--section-y);
}

/* Projektkopf: die App-Kachel traegt den Abschnitt, nicht ein Screenshot. */
.project__hero {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: clamp(1.25rem, 3vw, 2.25rem);
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 22px;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  margin-bottom: 3.5rem;
}

.project__icon {
  width: clamp(88px, 12vw, 112px);
  height: auto;
  flex: none;
  /* drop-shadow folgt den runden Ecken der Kachel, box-shadow nicht. */
  filter: drop-shadow(0 10px 24px rgba(11, 12, 14, 0.18));
}

@media (prefers-color-scheme: dark) {
  .project__icon {
    filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.5));
  }
}

.project__ident {
  flex: 1 1 18rem;
  min-width: 0;
}

.project__ident h3 {
  font-size: clamp(1.75rem, 3.6vw, 2.375rem);
  letter-spacing: -0.034em;
  margin: 0 0 0.35em;
}

.project__claim {
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--muted);
  max-width: 34rem;
  margin-bottom: 0;
}

.project__status {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.project__hero .links {
  margin-top: 1.5rem;
}

.row {
  display: grid;
  gap: 2rem var(--gap);
  grid-template-columns: 1fr;
  margin-bottom: 3.5rem;
}

.row:last-child {
  margin-bottom: 0;
}

.row__text > :last-child {
  margin-bottom: 0;
}

/* --- Screenshot im Geräterahmen ----------------------------------------- */

figure {
  margin: 0;
  max-width: var(--col-figure);
}

.shot {
  display: block;
  background: var(--frame);
  border-radius: 30px;
  padding: 7px;
  box-shadow: var(--shadow-lg);
}

.shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 24px;
}

figcaption {
  margin-top: 1rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--muted);
  max-width: var(--col-figure);
}

.figure--portrait .shot {
  border-radius: 14px;
  padding: 0;
}

.figure--portrait .shot img {
  border-radius: 14px;
}

.figure--placeholder .shot {
  background: var(--surface);
  border: 1px dashed var(--rule-strong);
  box-shadow: none;
  display: grid;
  place-items: center;
  aspect-ratio: 9 / 20;
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-align: center;
  padding: 1.5rem;
}

.figure--portrait.figure--placeholder .shot {
  aspect-ratio: 4 / 5;
}

/* --- Entscheidung ------------------------------------------------------- */

.decision {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: clamp(1.25rem, 3vw, 1.75rem);
  box-shadow: var(--shadow-sm);
  max-width: var(--col-text);
}

.decision h4 {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.85rem;
}

.decision p {
  max-width: none;
}

.decision > :last-child {
  margin-bottom: 0;
}

/* --- Linkliste ---------------------------------------------------------- */

.links {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.75rem;
  max-width: none;
  font-size: 0.9375rem;
  font-weight: 500;
}

.links li {
  margin: 0;
}

.links a {
  text-decoration-color: var(--rule-strong);
}

.links .is-plain {
  color: var(--muted);
  font-weight: 400;
}

/* --- Kontakt ------------------------------------------------------------ */

.contact__mail {
  font-size: clamp(1.75rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  display: inline-block;
  margin-bottom: 1.5rem;
  text-decoration-color: var(--rule-strong);
  overflow-wrap: anywhere;
}

/* --- Fußzeile ----------------------------------------------------------- */

.site-footer {
  border-top: 1px solid var(--rule);
  padding-block: 3rem 4rem;
  font-size: 0.875rem;
  color: var(--muted);
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
}

.site-footer p {
  color: var(--muted);
}

.site-footer nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  max-width: none;
}

.site-footer li {
  margin: 0;
}

.footer-meta {
  margin: 0;
}

.muted {
  color: var(--muted);
}

/* --- Screenshot-Streifen unter dem Projektkopf -------------------------- */

.shots {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 46vw;
  justify-content: start;
  gap: 1rem;
  margin-bottom: 3.5rem;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
  padding-bottom: 0.5rem;
}

.shots::-webkit-scrollbar {
  display: none;
}

.shots figure {
  max-width: none;
  scroll-snap-align: start;
}

.shots figcaption {
  max-width: none;
  font-size: 0.8125rem;
  margin-top: 0.85rem;
}

/* --- Portraet im Hero ---------------------------------------------------- */

.hero .figure--portrait {
  max-width: 15rem;
  margin-top: 2.5rem;
}

.hero .figure--portrait .shot {
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
}

.hero .figure--portrait .shot img {
  border-radius: 18px;
}

/* --- Rechtstexte -------------------------------------------------------- */

.legal {
  padding-block: clamp(3rem, 7vw, 5rem) var(--section-y);
}

.legal h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 0.35em;
}

.legal__meta {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 3rem;
}

.legal h2 {
  font-size: clamp(1.15rem, 2.4vw, 1.375rem);
  letter-spacing: -0.022em;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
}

.legal address {
  font-style: normal;
  margin-bottom: 1.15em;
  color: var(--ink-soft);
}

.legal p,
.legal ul {
  max-width: 40rem;
}

/* --- 404 ---------------------------------------------------------------- */

.notfound {
  padding-block: clamp(4rem, 12vw, 8rem);
}

/* --- Ab 46rem ----------------------------------------------------------- */

@media (min-width: 46rem) {
  .spec > div {
    grid-template-columns: 11rem 1fr;
  }

  .services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .compare {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shots {
    grid-auto-columns: minmax(0, 15rem);
    gap: clamp(1rem, 2.5vw, 1.75rem);
    overflow: visible;
    padding-bottom: 0;
  }
}

/* --- Ab 64rem: Registermarke wandert in den Seitenrand ------------------ */

@media (min-width: 64rem) {
  :root {
    --header-h: 4.25rem;
  }

  .site-nav {
    order: 0;
    width: auto;
    margin-inline: 0;
    padding-inline: 0;
    overflow: visible;
    margin-inline-start: auto;
  }

  .site-nav ul {
    gap: 1.75rem;
  }

  .lang-switch {
    margin-inline-start: 1.75rem;
  }

  .section__grid,
  .hero__grid {
    grid-template-columns: var(--col-register) minmax(0, 1fr);
  }

  .register {
    grid-column: 1;
    margin: 0;
    display: block;
    position: sticky;
    /* unterhalb der klebenden Kopfzeile, nicht darunter verschwinden */
    top: calc(var(--header-h) + 2rem);
  }

  .register__num {
    display: block;
    margin-bottom: 0.6rem;
  }

  .register__num::after {
    display: block;
    width: 2rem;
    margin: 0.6rem 0 0;
  }

  .section__body,
  .hero__body {
    grid-column: 2;
  }

  /* Hero bekommt eine dritte Spalte fuer das Portraet. */
  .hero__grid {
    grid-template-columns: var(--col-register) minmax(0, 1fr) 17rem;
    align-items: start;
  }

  .hero .figure--portrait {
    grid-column: 3;
    max-width: 17rem;
    margin-top: 0.5rem;
  }

  .row {
    grid-template-columns: minmax(0, 1fr) var(--col-figure);
    align-items: start;
    gap: var(--gap);
  }

  .row--plain {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* --- Bewegung ----------------------------------------------------------- */
/*
   Alles hier ist Zugabe: Ohne Animation steht jeder Inhalt sofort und
   vollstaendig da. Kein Element startet unsichtbar, ausser der Browser kann
   die Animation auch wirklich abspielen — deshalb die @supports-Klammer um
   die scrollgesteuerten Teile. Kein JavaScript, keine Bibliothek.
*/

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes drift {
  from {
    transform: translateY(18px);
  }
  to {
    transform: translateY(-18px);
  }
}

@keyframes drift-shot {
  from {
    transform: translateY(var(--drift, 24px));
  }
  to {
    transform: translateY(calc(var(--drift, 24px) * -1));
  }
}

@keyframes tile-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

@keyframes condense {
  to {
    padding-block: 0.55rem;
  }
}

@keyframes line-grow {
  from {
    width: 0;
  }
}

@media (prefers-reduced-motion: no-preference) {
  /* Auftakt beim Laden — laeuft einmal, versetzt. */
  .hero h1,
  .hero__lead,
  .hero .spec {
    animation: rise-in 0.6s cubic-bezier(0.2, 0.7, 0.3, 1) backwards;
  }

  .hero h1 {
    animation-delay: 0.04s;
  }

  .hero__lead {
    animation-delay: 0.12s;
  }

  .hero .spec {
    animation-delay: 0.2s;
  }

  /* Die App-Kacheln heben und senken sich langsam — das einzige, was sich
     ohne Zutun bewegt. Versetzt, damit sie nicht im Gleichtakt laufen. */
  .project__icon {
    animation: tile-float 7s ease-in-out infinite;
  }

  #vumble .project__icon {
    animation-delay: -3.5s;
  }

  /* Screenshot hebt sich beim Zeigen leicht an. */
  figure .shot {
    transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.3, 1), box-shadow 0.35s ease;
  }

  figure:hover .shot {
    transform: translateY(-4px);
  }

  @supports (animation-timeline: view()) {
    /* Einblenden, sobald das Element in den Blick kommt. */
    .service,
    .compare__col,
    .project__hero,
    .row,
    .availability,
    .compare__note,
    .contact__mail,
    .spec--wide > div {
      animation: reveal linear both;
      animation-timeline: view();
      animation-range: entry 8% cover 26%;
    }

    /* Screenshots im Streifen driften unterschiedlich schnell. */
    .shots figure {
      animation: drift-shot linear both;
      animation-timeline: view();
      animation-range: entry 0% exit 100%;
    }

    /* Alle drei mit derselben Weite: die Reihe bleibt in Bewegung auf einer
       Linie. Unterschiedliche Werte je nth-child ergaeben einen Versatz. */
    .shots figure {
      --drift: 28px;
    }

    /* Das Portraet im Hero wandert beim Scrollen leicht mit. */
    .hero .figure--portrait {
      animation: drift-shot linear both;
      animation-timeline: view();
      animation-range: entry 0% exit 100%;
      --drift: 30px;
    }

    /* Die Kopfzeile wird nach den ersten Bildschirmhoehen flacher. */
    .site-header__inner {
      animation: condense linear both;
      animation-timeline: scroll(root block);
      animation-range: 0 14rem;
    }

    /* Der Strich der Registermarke zeichnet sich mit dem Abschnitt. */
    .register__num::after {
      animation: line-grow linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 70%;
    }
  }

  /* Parallaxe zwischen Textspalte und Screenshot — nur, wo sie
     nebeneinander stehen. */
  @media (min-width: 64rem) {
    @supports (animation-timeline: view()) {
      .row > figure {
        animation: drift linear both;
        animation-timeline: view();
        animation-range: entry 0% exit 100%;
      }
    }
  }
}

/* --- Bewegung nur, wenn erwünscht --------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* --- Druck -------------------------------------------------------------- */

@media print {
  .lang-switch,
  .skip-link {
    display: none;
  }

  body {
    background: #fff;
    color: #000;
  }
}
