/* Stilblatt für Impressum und Datenschutzerklärung.

   Diese beiden Seiten liegen bewusst als statisches HTML in public/ und nicht
   als Route in der React-App. Grund: Die App ist eine reine SPA — ohne
   JavaScript zeigt sie einen leeren <div>. Rechtstexte müssen aber auch dann
   lesbar und für Suchmaschinen auffindbar sein. Vite reicht alles aus public/
   unverändert durch, es braucht also kein Prerendering.

   Die Tokens sind dieselben Werte wie in src/index.css, hier aber ausgeschrieben:
   die Seiten laufen ohne das Bundle, können also nichts von dort beziehen. Wer
   dort Farben ändert, muss hier nachziehen. */

@font-face {
  font-family: 'Anton';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/anton-v27-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: 'Archivo';
  font-style: normal;
  font-weight: 400 900;
  font-stretch: 100%;
  font-display: swap;
  src: url('/fonts/archivo-v25-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: 'Archivo';
  font-style: normal;
  font-weight: 400 900;
  font-stretch: 100%;
  font-display: swap;
  src: url('/fonts/archivo-v25-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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --ink: #000000;
  --paper: #f0efed;
  --accent: #e8442a;
  --dim: rgba(0, 0, 0, 0.58);
  --hairline: rgba(0, 0, 0, 0.16);
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Archivo', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI',
    Roboto, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  /* 68ch, nicht breiter: Fließtext über etwa 75 Zeichen verliert beim
     Zeilenwechsel den Anschluss. Auf dem Handy begrenzt der Gutter. */
  max-width: 68ch;
  margin: 0 auto;
  padding: clamp(2.5rem, 8vw, 6rem) var(--gutter) clamp(4rem, 10vw, 9rem);
}

/* Die Kopfzeile trägt den Rückweg. Ein Rechtstext ist eine Sackgasse, wenn von
   dort kein Link zurück auf die Seite führt. */
.top {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--hairline);
}

.wordmark {
  font-family: 'Anton', Impact, 'Arial Narrow Bold', sans-serif;
  font-weight: 400;
  font-size: 1rem;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
}

.meta {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
}

h1 {
  font-family: 'Anton', Impact, 'Arial Narrow Bold', sans-serif;
  font-weight: 400;
  font-size: clamp(2.25rem, 7vw, 4.5rem);
  line-height: 0.92;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  margin: clamp(2rem, 6vw, 3.5rem) 0 0;
}

h2 {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  font-weight: 700;
  line-height: 1.25;
  margin: 3rem 0 0.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--hairline);
}

h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 1.75rem 0 0.5rem;
}

p,
ul,
ol,
dl {
  margin: 0 0 1rem;
}

ul,
ol {
  padding-left: 1.25rem;
}

li {
  margin-bottom: 0.35rem;
}

/* Die Anschriftenblöcke im Impressum: kein Fließtext, sondern gesetzte Zeilen. */
address {
  font-style: normal;
  line-height: 1.75;
}

a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--hairline);
  padding-bottom: 1px;
  transition: border-color 0.25s var(--ease-out), color 0.25s var(--ease-out);
}

a:hover {
  border-bottom-color: var(--accent);
  color: var(--accent);
}

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

a:active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.updated {
  margin-top: 3.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--hairline);
  color: var(--dim);
  font-size: 0.85rem;
}

/* Der Fuß trägt den Quersprung zwischen den beiden Rechtsseiten — von jeder
   Seite aus sind so beide mit einem Klick erreichbar. */
.foot {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

@media (prefers-reduced-motion: reduce) {
  a {
    transition: none;
  }
}
