/* Farben – hell als Standard, dunkel folgt automatisch der Systemeinstellung */
:root {
  color-scheme: light dark;
  --bg: #fff;
  --fg: #000;
  --border: #e5e5e5;
  --muted: #bbb;
  --shadow: rgba(0, 0, 0, 0.06);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000;
    --fg: #fff;
    --border: #444;
    --muted: #777;
    --shadow: rgba(255, 255, 255, 0.08);
  }
  /* einfarbig schwarze Icons (Threads, Discogs, Mubi) im Dark Mode weiß machen */
  img.invert { filter: invert(1); }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 14px/1.5 'Open Sans', Arial, sans-serif;
}

main {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 20px 100px;
}

/* Kopf mit Avatar und Name */
header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 25px 0;
  border-bottom: 1px solid var(--border);
  font-weight: bold;
  font-size: 16px;
}

header img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

/* Abschnittsüberschrift mit Linie links und rechts */
h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 25px 0 15px;
  color: var(--muted);
  font-size: 10px;
  font-weight: normal;
  text-transform: uppercase;
}

h2::before,
h2::after {
  content: "";
  flex: 1;
  border-top: 1px solid var(--muted);
}

/* Ein Link = eine Box */
main > a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 72px;
  padding: 15px;
  border: 1px solid var(--border);
  color: var(--fg);
  font-weight: bold;
  text-decoration: none;
  transition: box-shadow 0.4s;
}

main > a + a { margin-top: 10px; }

main > a:hover { box-shadow: 5px 5px 5px var(--shadow); }

main > a img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

/* Textseiten (Privacy Policy) */
.text { padding-top: 10px; }
.text h1 { font-size: 24px; }
.text h3 { font-size: 16px; margin-top: 30px; }
.text a { color: var(--fg); }
.back { margin-top: 30px; }
