/* Shared styles for Impressum and Datenschutz */
@font-face { font-family: "IBM Plex Mono"; font-weight: 400; font-display: swap; src: url(assets/fonts/ibm-plex-mono-400.woff2) format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-weight: 400 600; font-display: swap; src: url(assets/fonts/instrument-sans.woff2) format("woff2"); }

:root { --bg: #0a0a0a; --red: #b50000; --muted: #a3a3a3; --line: rgba(255,255,255,.1); }
* { box-sizing: border-box; margin: 0; padding: 0; }
body { background: var(--bg); color: #fff; font: 16px/1.65 "Instrument Sans", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; }

header { display: flex; align-items: center; justify-content: space-between; padding: 18px 80px; border-bottom: 1px solid var(--line); }
.logo { width: 96px; height: 32px; display: flex; align-items: center; justify-content: space-evenly; border-radius: 8px; background: var(--red); text-decoration: none; }
.logo span { transform: translateY(-.125em); }
.back { font-size: 14px; color: var(--muted); text-decoration: none; }
.back:hover { color: #fff; }

main { max-width: 760px; margin: 0 auto; padding: 80px 24px 120px; }
h1 { font-size: 44px; font-weight: 600; letter-spacing: -.02em; line-height: 1.1; margin-bottom: 12px; }
h2 { font-size: 20px; font-weight: 600; margin: 40px 0 10px; scroll-margin-top: 24px; }
h3 { font-size: 16px; font-weight: 600; margin: 24px 0 6px; scroll-margin-top: 24px; }
p, li { color: #d4d4d4; }
p + p { margin-top: 10px; }
ul { margin: 8px 0 0 20px; }
li + li { margin-top: 4px; }
main a { text-decoration: underline; text-underline-offset: 3px; }
.stand { font: 13px "IBM Plex Mono", monospace; color: var(--muted); }
button { margin-top: 12px; padding: 10px 18px; border: 1px solid rgba(255,255,255,.2); border-radius: 8px; background: none; color: #fff; font-family: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
button:hover { border-color: #fff; }

footer { display: flex; justify-content: space-between; padding: 32px 80px; border-top: 1px solid var(--line); color: var(--muted); font: 12px "IBM Plex Mono", monospace; }
footer nav { display: flex; gap: 20px; }
footer a { text-decoration: none; }
footer a:hover, footer a[aria-current] { color: #fff; }

@media (max-width: 768px) {
  header, footer { padding-left: 16px; padding-right: 16px; }
  main { padding: 56px 16px 88px; }
  h1 { font-size: 34px; }
}
