/* =========================================================================
   7-72.com — Typografisches System
   Eine Familie: Fahkwang (300/400/500), selbst gehostet.
   Zwei Register:
     DISPLAY  — gross, leicht (300), ohne Sperrung, gemischt gesetzt
     UTILITY  — klein, halbfett (500), weit gesperrt, Versalien
   Regel: Sperrung ausschliesslich auf Versalien. Fliesstext nie unter 400,
   weil helle Haarstriche auf Schwarz wegbrechen.
   ========================================================================= */

:root {
  /* Leicht warme Neutraltoene — das Logo ist warm, reines Grau wirkt fremd */
  --bg:     #000000;
  --fg:     #f0efec;   /* Display, Namen */
  --body:   #c4c3bf;   /* Fliesstext: gedaempft gegen Halation auf Schwarz */
  --muted:  #8a8884;   /* Beschriftungen, inaktive Navigation */
  --dim:    #6b6966;   /* Rechtliches im Fuss */
  --rule:   #1f1e1c;
  --accent: #c9a24b;   /* Gold des Logos */

  /* Groessen: Terz-Skala, keine Zufallswerte */
  --t-display: 38px;
  --t-lead:    23px;
  --t-body:    17px;
  --t-small:   15px;
  --t-meta:    14px;
  --t-util:    13px;
  --t-micro:   11px;

  /* Abstaende: 8er-Raster */
  --s-2: 16px;  --s-3: 24px;  --s-4: 32px;
  --s-6: 48px;  --s-8: 64px;  --s-9: 72px;

  --maxw: 1060px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--body);
  font-family: 'Fahkwang', 'Avenir Next', 'Helvetica Neue', system-ui, sans-serif;
  font-weight: 400;
  font-size: var(--t-body);
  line-height: 1.8;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; transition: color .2s ease; }
a:hover, a:focus-visible { color: var(--accent); }
:focus-visible { outline: 1px solid var(--accent); outline-offset: 4px; }

img, picture { max-width: 100%; }
img { height: auto; display: block; }

.skip { position: absolute; left: -9999px; top: 0;
        background: var(--fg); color: #000; padding: 10px 16px; z-index: 10; }
.skip:focus { left: 12px; top: 12px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%);
  white-space: nowrap; border: 0;
}

/* ---------- UTILITY-Register: Versalien, gesperrt, 500 ----------
   margin-right hebt die nachlaufende Sperrung auf, damit zentrierter
   Versalsatz optisch wirklich mittig steht.                              */
.nav a, .tagline, .eyebrow, .release-title, .legal a {
  font-weight: 500;
  text-transform: uppercase;
  font-feature-settings: "kern" 1;
}

/* ---------- Kopf ---------- */
.site-header { border-bottom: 1px solid var(--rule); }
.nav {
  max-width: var(--maxw); margin: 0 auto; padding: 30px var(--s-3);
  display: flex; gap: 38px; justify-content: center; align-items: center;
  flex-wrap: wrap;
}
.nav a {
  font-size: var(--t-util); letter-spacing: 0.18em; margin-right: -0.18em;
  color: var(--muted); padding-block: 4px;
}
.nav a.active { color: var(--fg); }
.nav a:hover, .nav a:focus-visible { color: var(--accent); }

/* ---------- Rumpf ---------- */
main {
  flex: 1 0 auto; width: 100%; max-width: var(--maxw); margin: 0 auto;
  padding: 88px var(--s-3) 96px;
  display: flex; flex-direction: column; gap: var(--s-9);
}

h1 {
  margin: 0;
  font-size: var(--t-display);
  font-weight: 300;              /* leicht wirkt erst ab dieser Groesse */
  letter-spacing: 0.005em;       /* keine Sperrung auf gemischtem Satz */
  line-height: 1.15;
  color: var(--fg);
  text-align: center;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }

.rule { border: 0; border-top: 1px solid var(--rule); margin: 0; width: 100%; }

.eyebrow {
  margin: 0; font-size: var(--t-micro); letter-spacing: 0.30em;
  margin-right: -0.30em; color: var(--muted); text-align: center;
}

/* ---------- Startseite ---------- */
.main-hero { justify-content: center; padding-top: var(--s-6); padding-bottom: var(--s-6); }
.hero { display: flex; flex-direction: column; align-items: center; gap: var(--s-6); }
.hero img { width: 480px; }
.tagline {
  font-size: var(--t-micro); letter-spacing: 0.32em; margin-right: -0.32em;
  color: var(--muted); text-align: center;
}

/* ---------- Releases ---------- */
.releases { display: flex; flex-direction: column; gap: var(--s-4); }
.release-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px;
}
.release a { display: flex; flex-direction: column; gap: var(--s-2); align-items: center; }
.release img { width: 100%; transition: opacity .3s ease; }
.release a:hover img, .release a:focus-visible img { opacity: .6; }
.release-title {
  font-size: 12px; letter-spacing: 0.24em; margin-right: -0.24em;
  color: var(--muted); transition: color .2s ease;
}
.release a:hover .release-title, .release a:focus-visible .release-title { color: var(--accent); }
.release-note {
  font-size: var(--t-meta); color: var(--dim); text-align: center; letter-spacing: 0;
}

/* ---------- Inhaltsseiten ---------- */
.split {
  display: flex; gap: var(--s-9); align-items: flex-start;
  max-width: 1000px; margin: 0 auto; width: 100%;
}
.split.reverse { flex-direction: row-reverse; }
.split.center  { align-items: center; }
.split > picture { flex: 0 0 460px; }
.split > picture img { width: 460px; }
.prose {
  display: flex; flex-direction: column; gap: var(--s-3);
  flex: 1 1 auto; min-width: 0; max-width: 62ch;
}
.prose p { color: var(--body); }
/* Einleitungszeile: fuehrt die Liste ein, konkurriert nicht mit den Namen */
.prose p.intro { font-size: var(--t-small); color: var(--muted); }

.mail a {
  font-size: var(--t-lead); font-weight: 300; letter-spacing: 0.01em;
  color: var(--fg);
  border-bottom: 1px solid var(--rule); padding-bottom: 6px;
  transition: color .2s ease, border-color .2s ease;
}
.mail a:hover, .mail a:focus-visible { color: var(--accent); border-bottom-color: var(--accent); }

.partners { list-style: none; margin: 0; padding: 0;
            display: flex; flex-direction: column; gap: var(--s-3); }
.partners li { display: flex; flex-direction: column; gap: 3px; }
.partners a {
  font-size: var(--t-body); font-weight: 500; color: var(--fg);
  text-decoration: underline; text-decoration-color: transparent;
  text-underline-offset: 5px; text-decoration-thickness: 1px;
  transition: color .2s ease, text-decoration-color .2s ease;
}
.partners a:hover, .partners a:focus-visible {
  color: var(--accent); text-decoration-color: var(--accent);
}
.partners span { font-size: var(--t-meta); font-weight: 400; color: var(--muted); }

/* ---------- Rechtstexte ---------- */
.legal-body { max-width: 68ch; margin: 0 auto; hyphens: auto; }
.legal-body h1 { margin-bottom: var(--s-6); }
.legal-body h2 {
  margin: var(--s-6) 0 var(--s-2);
  font-size: var(--t-body); font-weight: 500; letter-spacing: 0.01em;
  line-height: 1.4; color: var(--fg);
}
.legal-body h2:first-of-type { margin-top: 0; }
.legal-body p { margin: 0 0 var(--s-2); font-size: var(--t-small); line-height: 1.85; }
.legal-body p:last-child { margin-bottom: 0; }
.legal-body strong { font-weight: 500; color: var(--fg); }
.legal-body a {
  color: var(--fg); text-decoration: underline;
  text-decoration-color: var(--rule); text-underline-offset: 4px;
}
.legal-body a:hover { color: var(--accent); text-decoration-color: var(--accent); }

/* ---------- Fuss ---------- */
.site-footer {
  border-top: 1px solid var(--rule); padding: var(--s-4) var(--s-3) 44px;
  display: flex; flex-direction: column; gap: var(--s-3); align-items: center;
}
.social { display: flex; gap: 30px; align-items: center; }
.social a { display: flex; }
.social svg { fill: var(--muted); transition: fill .2s ease; }
.social a:hover svg, .social a:focus-visible svg { fill: var(--accent); }
.legal { display: flex; gap: var(--s-3); flex-wrap: wrap; justify-content: center; }
.legal a {
  font-size: var(--t-micro); letter-spacing: 0.18em; margin-right: -0.18em;
  color: var(--dim);
}
.legal a:hover, .legal a:focus-visible { color: var(--accent); }

/* ---------- Mobil ---------- */
@media (max-width: 880px) {
  main { gap: var(--s-6); padding-top: 64px; }
  .split { flex-direction: column; align-items: center; gap: var(--s-6); }
  .split.reverse { flex-direction: column; }
  .split > picture { flex: 0 0 auto; max-width: 460px; width: 100%; }
  .split > picture img { width: 100%; }
  .prose { width: 100%; max-width: 560px; }
}

@media (max-width: 620px) {
  .release-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
}

@media (max-width: 560px) {
  :root { --t-display: 27px; --t-lead: 20px; --t-body: 16px; --t-small: 15px; }
  .nav { gap: 18px 24px; padding: 24px 18px; }
  .nav a { font-size: 12px; letter-spacing: 0.16em; margin-right: -0.16em; }
  main { padding: 56px 20px 68px; gap: var(--s-6); }
  .hero { gap: var(--s-4); }
  .hero img { width: 100%; max-width: 420px; }
  .legal { gap: var(--s-2); }
}

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
