/* Shared styles for the legal subpages (Impressum, Datenschutz).
 * Same palette and faces as the Spotlight landing page, but a normal
 * scrolling document instead of a single-view composition. */

@font-face { font-family: "Onest"; src: url("../fonts/onest-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Onest"; src: url("../fonts/onest-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Onest"; src: url("../fonts/onest-latin-200-normal.woff2") format("woff2"); font-weight: 200; font-style: normal; font-display: swap; }

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

:root {
  --bg: #000;
  --fg: #fff;
  --muted: rgba(255, 255, 255, 0.66);
  --line: rgba(255, 255, 255, 0.14);
  --glass: rgba(255, 255, 255, 0.1);
  --font-onest: "Onest", system-ui, sans-serif;
  --font-display: "Onest", system-ui, sans-serif;
  --head-ramp: linear-gradient(to left, rgba(255, 255, 255, 0.3), #fff);
}

html, body { margin: 0; background: var(--bg); color: var(--fg); }

body {
  font-family: var(--font-onest);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Teal glow taken from the Teal Space poster, so the pages belong to the set. */
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(32, 140, 150, 0.28), transparent 70%),
    var(--bg);
  background-attachment: fixed;
  min-height: 100svh;
}

a { color: inherit; text-underline-offset: 0.2em; }
a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: 760px; margin: 0 auto; padding: 24px 16px 64px; }

/* Glass pill bar — the nav bar of the landing page, scaled down. */
.bar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  height: 52px; padding: 0 6px 0 22px; border-radius: 64px;
  background: var(--glass);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  position: sticky; top: 12px; z-index: 2;
}
.brand { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-size: 18px; }
.brand svg { width: 16px; height: 16px; flex: none; }
.back {
  display: inline-flex; align-items: center; gap: 8px;
  height: 40px; padding: 0 20px; border-radius: 64px;
  background: #000; text-decoration: none; font-weight: 500; font-size: 15px;
}
.back:hover { background: #1a1a1a; }

h1 {
  margin: 56px 0 4px;
  font-family: var(--font-display); font-weight: 200; font-size: 72px; line-height: 1.15; letter-spacing: -0.045em;
  background-image: var(--head-ramp);
  -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  /* Room for descenders inside the clip box. */
  padding-bottom: 0.15em;
}

h2 {
  margin: 44px 0 12px; padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 21px; font-weight: 500; line-height: 1.35;
}
h3 { margin: 26px 0 6px; font-size: 17px; font-weight: 500; }

p, address, ul { margin: 0 0 12px; color: var(--muted); }
address { font-style: normal; }
ul { padding-left: 1.2em; }
li { margin-bottom: 4px; }
strong { color: var(--fg); font-weight: 500; }

/* Values that still have to be filled in before go-live. */
mark { background: rgba(255, 196, 0, 0.18); color: #ffd666; padding: 0 4px; border-radius: 4px; }

.foot {
  margin-top: 64px; padding-top: 20px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px;
  font-size: 14px; color: var(--muted);
}
.foot a { text-decoration: none; }
.foot a:hover, .foot a[aria-current="page"] { color: var(--fg); text-decoration: underline; }

.foot .credit { display: inline-flex; align-items: center; gap: 7px; margin-left: auto; }
.foot .credit img { height: 30px; width: auto; opacity: 0.8; }
.foot .credit:hover { text-decoration: none; }
.foot .credit:hover img { opacity: 1; }

@media (max-width: 520px) {
  body { font-size: 16px; }
  h1 { font-size: 44px; margin-top: 40px; }
  h2 { font-size: 19px; }
  .bar { padding-left: 16px; }
  .brand { font-size: 16px; }
}
