/* =========================================================
   JUNKSISTA — Impressum & Datenschutz
   Eigenes Stylesheet, nicht style.css: die Hauptseite bringt
   Reveal-Animationen, Parallax und den Hero mit, davon braucht
   hier nichts zu laden. Tokens sind aus style.css uebernommen,
   damit die Unterseiten dieselbe Palette und Schrift haben.

   Linkfarbe ist Tuerkis, nicht Rot: --red auf --bg ergibt nur
   2,6:1 und faellt fuer Fliesstext durch, --teal liegt bei
   11,6:1. Rot bleibt Akzent (Punkt in der Marke, Hover).
   ========================================================= */

:root {
  --bg:        #08080a;
  --surface:   #131317;
  --line:      rgba(255,255,255,.10);
  --line-soft: rgba(255,255,255,.06);
  --text:      #f3f1ef;
  --muted:     #9c9ca4;
  --red:       #c53238;
  --teal:      #7fd4cd;

  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body:    "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease:    cubic-bezier(.16,1,.3,1);

  --wrap: 820px;
  --gut:  clamp(1.25rem, 4vw, 3rem);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 6rem; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

.lwrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }

a { color: var(--teal); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--text); }

:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }

/* ---------- Kopf ---------- */

.lnav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(8,8,10,.82);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line-soft);
}
.lnav__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 72px;
}
.lbrand { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
/* Die Datei ist 364 px breit (s. CLAUDE.md), 132 px Anzeigebreite bleiben
   auch auf Retina scharf. drop-shadow haelt die Haarlinien lesbar. */
.lbrand img { width: 132px; height: auto; filter: drop-shadow(0 1px 2px rgba(0,0,0,.6)); }
.lbrand i {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--red); flex: none;
}
.lback {
  font-size: .78rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); text-decoration: none; font-weight: 500;
  transition: color .3s var(--ease);
}
.lback:hover { color: var(--red); }

/* ---------- Fliesstext ---------- */

main { padding-block: clamp(3rem, 8vw, 5.5rem) 6rem; }

.leyebrow {
  display: flex; align-items: center; gap: .6rem;
  color: var(--teal);
  font-size: .72rem; font-weight: 500;
  letter-spacing: .28em; text-transform: uppercase;
  margin: 0 0 1rem;
}
.leyebrow::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--red); }

/* schmal, wie die Section-Headlines der Hauptseite (.display, 62 %) —
   ein Titel im Sinne der breiten Achse ist hier nichts. Der Wert muss der
   dortige bleiben; steht hier 74 und dort 62, kennt die Seite zwei schmale
   Register und keins davon ist mehr der Anschlag. */
h1 {
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 62%;
  font-size: clamp(2.6rem, 9vw, 4.4rem);
  line-height: .95;
  letter-spacing: -.01em;
  text-transform: uppercase;
  margin: 0 0 .6rem;
}
.lupdated { color: var(--muted); font-size: .84rem; margin: 0 0 3rem; }

h2 {
  font-family: var(--display);
  font-weight: 700;
  font-stretch: 62%;
  font-size: 1.5rem;
  line-height: 1.15;
  text-transform: uppercase;
  letter-spacing: .01em;
  margin: 3rem 0 .8rem;
}

p  { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.2rem; }
li { margin: 0 0 .45em; }
strong { font-weight: 500; color: #fff; }
em { font-style: normal; color: var(--teal); }

/* ---------- Karten, Inhaltsverzeichnis ---------- */

/* Kein Radius, wie auf der Startseite (s. „Rechte Winkel" in CLAUDE.md). Die
   Tokens sind von dort kopiert, die Ecken gehoeren dazu — sonst hat das
   Impressum weiche Karten und die Startseite harte. */
.lcard {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 1.6rem 1.7rem;
  margin: 0 0 1rem;
}
.lcard p { margin: 0 0 .15em; }
.llabel {
  color: var(--muted);
  font-size: .68rem; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase;
  margin: 1.4rem 0 .45em !important;
}
.llabel:first-child { margin-top: 0 !important; }

.ltoc {
  border-block: 1px solid var(--line-soft);
  padding: 1.4rem 0;
  margin: 0 0 3rem;
}
.ltoc p {
  font-size: .68rem; font-weight: 500; color: var(--muted);
  letter-spacing: .18em; text-transform: uppercase;
  margin: 0 0 .8rem;
}
.ltoc ol { margin: 0; padding-left: 1.1rem; columns: 2; column-gap: 2.4rem; }
.ltoc li { margin: 0 0 .3em; break-inside: avoid; }
.ltoc a { font-size: .92rem; text-decoration: none; }
.ltoc a:hover { text-decoration: underline; }

/* ---------- Fuss ---------- */

.lfoot {
  display: flex; flex-wrap: wrap; gap: 1.4rem;
  margin-top: 5rem; padding-top: 1.8rem;
  border-top: 1px solid var(--line-soft);
  font-size: .74rem; letter-spacing: .1em; text-transform: uppercase;
  color: #4e4e56;
}
.lfoot a { color: inherit; text-decoration: none; transition: color .3s var(--ease); }
.lfoot a:hover { color: var(--text); }

@media (max-width: 560px) {
  .ltoc ol { columns: 1; }
  .lback  { font-size: 0; }
  .lback::after { content: "←"; font-size: 1.1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: .01ms !important; }
}
