/* The legal pages (impressum.html, datenschutz.html): plain reading pages in the site's type and
   colours, no desk. Both languages are in the page; html[data-lang] shows one (legal.js). */
@font-face { font-family: 'Djine Draft Solid'; src: url(../assets/fonts/DjineDraftSolid.woff2?v=1) format('woff2'); font-display: swap; }
@font-face { font-family: 'Djine Type'; src: url(../assets/fonts/DjineType-Regular.woff2?v=1) format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Djine Type'; src: url(../assets/fonts/DjineType-Medium.woff2?v=1) format('woff2'); font-weight: 500 700; font-display: swap; }

:root {
  --room: #0d0e10;
  --ink: #e8f1ff;
  --ink-2: rgba(232, 241, 255, 0.74);
  --ink-3: rgba(232, 241, 255, 0.56);
  --line: rgba(232, 241, 255, 0.16);
  --redline: #ff6a3d;
  --lamp: #ffb27a;
  --gutter: clamp(16px, 3vw, 40px);
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--room); color: var(--ink-2);
  font-family: 'Djine Type', 'Rockwell', 'Courier New', serif; font-size: 16px; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--ink); text-decoration-color: rgba(255, 106, 61, 0.6); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--redline); }
:focus-visible { outline: 2px solid var(--redline); outline-offset: 2px; }

.bar {
  position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px var(--gutter); background: rgba(13, 14, 16, 0.9); border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.bar a, .bar button {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 2px;
  font: inherit; font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink); background: none; border: 0; text-decoration: none; cursor: pointer;
}
.bar nav { display: flex; gap: 18px; }
.bar [aria-current="page"] { color: var(--lamp); }
/* (a phone: the way back on its own row, the pages and the language under it) */
@media (max-width: 520px) {
  .bar { flex-wrap: wrap; row-gap: 0; padding-top: 6px; padding-bottom: 6px; }
  .bar nav { width: 100%; justify-content: space-between; gap: 12px; }
}

main { width: min(720px, calc(100% - 2 * var(--gutter))); margin: 56px auto 96px; }
h1 { margin: 0 0 8px; font-family: 'Djine Draft Solid', Georgia, serif; font-weight: 400; font-size: clamp(2.4rem, 8vw, 3.6rem); line-height: 1.05; color: var(--ink); }
h2 { margin: 40px 0 8px; font-family: 'Djine Draft Solid', Georgia, serif; font-weight: 400; font-size: 1.5rem; line-height: 1.2; color: var(--ink); }
h3 { margin: 24px 0 4px; font-size: 1rem; font-weight: 500; color: var(--ink); }
p, ul { margin: 0 0 12px; }
ul { padding-left: 1.2em; }
li { margin-bottom: 4px; }
.lede { color: var(--ink-3); font-size: 0.875rem; }
address { font-style: normal; }
/* what is still to be filled in */
.todo { padding: 0 4px; background: rgba(255, 178, 122, 0.18); color: var(--lamp); border-radius: 2px; }

/* one language at a time (both are there without script: German first) */
[data-lang="de"] [lang="en"]:not(html), [data-lang="en"] [lang="de"]:not(html) { display: none; }
