@font-face {
  font-family: "Handjet";
  src: url("assets/Handjet-Variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Roboto";
  src: url("assets/Roboto-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --brand-purple: #6433DB;
  font-family: "Roboto", Arial, sans-serif;
  color: #111;
  background: #171713;
  line-height: 1.6;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-height: 100svh;
  margin: 0;
  background: linear-gradient(rgba(16, 15, 12, .08), rgba(16, 15, 12, .08)), url("assets/hintergrund_invertiert.webp") center top / cover no-repeat fixed;
}
main {
  width: min(100%, 50rem);
  min-height: 100svh;
  margin-inline: auto;
  padding: clamp(1.25rem, 5vw, 3.5rem) clamp(.9rem, 4vw, 2rem) 2rem;
}
.brand {
  display: block;
  margin: 0 0 clamp(2.5rem, 10vw, 6rem);
  color: var(--brand-purple);
  font-family: "Handjet", "Roboto", Arial, sans-serif;
  font-size: clamp(2.2rem, 10vw, 5rem);
  font-weight: 800;
  line-height: .95;
  letter-spacing: .04em;
  text-align: center;
  text-decoration: none;
  text-shadow: .05em .05em 0 #17120f;
  overflow-wrap: anywhere;
}
.card {
  border: 2px solid #141414;
  background: rgba(250, 249, 246, .97);
  box-shadow: .5rem .5rem 0 rgba(12, 11, 9, .28);
}
.hero, .legal-card { padding: clamp(1.5rem, 5vw, 3rem); }
.eyebrow {
  margin: 0 0 1rem;
  color: var(--brand-purple);
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
h1, h2 {
  font-family: "Handjet", "Roboto", Arial, sans-serif;
  font-weight: 650;
  letter-spacing: .03em;
  overflow-wrap: anywhere;
}
h1 { margin: 0 0 1.5rem; font-size: clamp(2rem, 7vw, 3.6rem); line-height: 1.08; letter-spacing: .04em; }
h2 { margin: 2rem 0 .5rem; color: var(--brand-purple); font-size: clamp(1.3rem, 3.5vw, 1.7rem); line-height: 1.2; }
p { margin: .75rem 0; }
.loading { color: var(--brand-purple); }
.progress { height: .35rem; margin: 2rem 0; overflow: hidden; background: #dedede; }
.progress::before { content: ''; display: block; width: 35%; height: 100%; background: var(--brand-purple); animation: travel 2.5s ease-in-out infinite alternate; }
.message { font-size: clamp(1.05rem, 2.5vw, 1.25rem); line-height: 1.55; }
.message p { margin: 0 0 .7rem; }
.translation { color: #444; }
footer { margin-top: 1.25rem; padding: 1.25rem 1.5rem; color: #343434; font-size: .875rem; }
footer p { margin: 0 0 .5rem; }
footer nav { display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
footer a { display: inline-block; padding-block: .5rem; font-weight: 700; text-underline-offset: .25em; }
.legal-page .brand { margin-bottom: clamp(2rem, 7vw, 4rem); }
.back-link { display: inline-block; margin: 0 0 1.25rem; }
.legal-card h1 { margin-bottom: 1.5rem; }
.legal-card p { line-height: 1.65; }
.legal-card address { font-style: normal; line-height: 1.7; }
.language-nav { display: flex; gap: 1rem; margin: 1.4rem 0; }
.language-section + .language-section { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid #ccc; }
.meta { color: #555; font-size: .875rem; }
a { color: var(--brand-purple); text-underline-offset: .2em; }
a:hover, a:focus-visible { color: #111; }
:focus-visible { outline: 3px solid var(--brand-purple); outline-offset: 4px; }
@keyframes travel { from { transform: translateX(-100%); } to { transform: translateX(290%); } }
@media (max-width: 600px) {
  main { padding: 1rem .75rem 1.5rem; }
  .brand { margin-bottom: 2.5rem; font-size: clamp(2rem, 10vw, 3rem); }
  h1 { font-size: clamp(1.8rem, 8vw, 2.75rem); }
  body { background-attachment: scroll; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .progress::before { animation: none; width: 100%; }
}
