/* Shared styling for the four legal pages:
   legal-notice.html / impressum.html  and  privacy-policy.html / datenschutz.html
   Same tokens as index.html — keep in step if the tokens ever change. */
:root{
  --paper:#E9E9E4;--paper-deep:#DFDFD8;--ink:#0B0B0B;--ink-60:#565651;--ink-30:#9C9C95;
  --rule:#C9C9C1;--accent:#C8005F;
  --display:"Archivo",system-ui,sans-serif;
  --body:"Instrument Sans",system-ui,sans-serif;
  --mono:"IBM Plex Mono",ui-monospace,monospace;
  /* the main page's grid, verbatim — these three drive the shared left margin,
     so the wordmark, header bar and content column sit in the same place here
     as they do on index.html */
  --max:1320px;
  --gut:clamp(20px,5vw,64px);
  --hdr:60px;
}
*{box-sizing:border-box}
html{
  -webkit-text-size-adjust:100%;
  /* index.html reserves the scrollbar gutter; a short legal page that does not
     scroll would otherwise be 7.5px off it, which reads as a jump on navigation */
  scrollbar-gutter:stable;
}
body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--body);
  font-size:16.5px;line-height:1.65;-webkit-font-smoothing:antialiased}
a{color:inherit}
:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.wrap{width:100%;max-width:var(--max);margin:0 auto;padding-inline:var(--gut)}

header{position:fixed;inset:0 0 auto;z-index:50;height:var(--hdr);
  background:color-mix(in srgb,var(--paper) 84%,transparent);
  backdrop-filter:blur(10px);border-bottom:1px solid var(--rule)}
.bar{height:100%;display:flex;align-items:center;justify-content:space-between;gap:20px}
.brand{display:flex;align-items:center;text-decoration:none}
.brand span{font-family:var(--display);font-weight:800;font-variation-settings:"wdth" 118;
  font-size:17px;letter-spacing:.1em;line-height:1;margin-right:-.1em}
.bar nav{display:flex;align-items:center;gap:20px}
.bar nav a{font-family:var(--mono);font-size:11px;letter-spacing:.14em;text-transform:uppercase;
  text-decoration:none;color:var(--ink-60);transition:color .2s}
.bar nav a:hover{color:var(--ink)}
/* language switch — current language is ink, the other is a link */
.lang{display:flex;align-items:center;gap:7px;font-family:var(--mono);font-size:11px;
  letter-spacing:.14em;text-transform:uppercase}
.lang b{font-weight:500;color:var(--ink)}
.lang i{font-style:normal;color:var(--rule)}
.lang a{color:var(--ink-30)}

/* In this deployment the counterpart is the holding page, whose header is a
   single left-aligned wordmark at every width — and with the language switch
   removed there is nothing left in the bar to balance a centred wordmark
   against. So keep it left-aligned here too and the header does not move when
   you navigate. The "Home" link still drops below 900px; the wordmark already
   links home. */
@media(max-width:899px){
  .bar nav > a{display:none}
}

.draft{margin-top:60px;background:var(--accent);color:#fff;font-family:var(--mono);
  font-size:10.5px;letter-spacing:.12em;text-transform:uppercase;line-height:1.8;padding:12px 0}

/* The header is fixed, so the document has to start below it — 7vh alone put
   the eyebrow under the bar on any viewport shorter than ~857px (measured:
   11px of overlap at 320x700, 6px at 1024x768). Clear the header first, then
   add the breathing space on top. */
main{padding:calc(var(--hdr) + clamp(20px,3vh,40px)) 0 72px}
.eyebrow{display:flex;align-items:center;gap:14px;font-family:var(--mono);font-size:11px;
  letter-spacing:.16em;text-transform:uppercase;color:var(--ink-60);margin:0 0 24px}
.eyebrow::after{content:"";flex:1;height:1px;background:var(--rule)}
.eyebrow b{font-weight:500;color:var(--ink)}
h1{font-family:var(--display);font-weight:800;font-variation-settings:"wdth" 112;
  font-size:clamp(38px,7vw,64px);line-height:.94;letter-spacing:-.02em;margin:0}
h2{font-family:var(--display);font-weight:700;font-variation-settings:"wdth" 106;
  font-size:clamp(19px,2.3vw,24px);line-height:1.15;letter-spacing:-.01em;margin:44px 0 12px}
p{margin:0 0 12px}
.k{font-family:var(--mono);font-size:10.5px;letter-spacing:.14em;text-transform:uppercase;color:var(--ink-60)}

.panel{border:1px solid var(--rule);margin:16px 0 0}
.panel .row{display:grid;grid-template-columns:150px 1fr;gap:4px 14px;padding:13px 16px;
  border-top:1px solid var(--rule);align-items:baseline}
.panel .row:first-child{border-top:0}
@media(max-width:560px){.panel .row{grid-template-columns:1fr}}

/* ---------- long-form legal document ---------- */
/* One column at roughly 68 characters of running text. Deliberately em- and
   not ch-based: `ch` measures the "0" glyph, which in Instrument Sans is far
   wider than the average lowercase letter — 68ch renders ~85 real characters.
   36em measures out at ~68.

   The column is LEFT-aligned on the shared grid rather than centred in the
   viewport: main is the full 1320 wrap, and the blocks inside it carry the
   reading measure. That puts the first character at the same x as the main
   page's, so moving between them causes no sideways jump. */
main.doc{max-width:var(--max)}
main.doc > *{max-width:36em}
/* the eyebrow's trailing hairline spans the whole column, exactly as on the
   main page — it is the same component doing the same job */
main.doc > .eyebrow{max-width:none}
main.doc h2{display:flex;align-items:baseline;gap:14px;margin:52px 0 14px}
main.doc h2 .num{
  font-family:var(--mono);font-size:11px;font-weight:400;letter-spacing:.14em;
  color:var(--ink-30);flex:none;position:relative;top:-.15em;
  font-variation-settings:normal;
}
/* inline spec labels — Zweck / Rechtsgrundlage / Speicherdauer … */
main.doc .lbl{margin:22px 0 4px;font-family:var(--mono);font-size:10.5px;
  letter-spacing:.14em;text-transform:uppercase;color:var(--ink)}
main.doc p{color:var(--ink-60)}
main.doc p.lbl,main.doc .note,main.doc .langline{color:inherit}
main.doc address.addr{
  font-style:normal;margin:16px 0 0;padding:2px 0 2px 18px;
  border-left:2px solid var(--rule);line-height:1.75;color:var(--ink-60);
}
main.doc address.addr b{font-weight:600;color:var(--ink)}
main.doc ul{margin:12px 0 0;padding:0;list-style:none}
main.doc ul li{position:relative;padding-left:20px;margin:0 0 5px;color:var(--ink-60)}
main.doc ul li::before{content:"";position:absolute;left:1px;top:.78em;
  width:8px;height:1px;background:var(--ink-30)}
main.doc .panel{margin-top:16px}
main.doc .panel a{text-decoration:none;border-bottom:1px solid var(--rule)}
main.doc .panel a:hover{border-bottom-color:var(--ink)}
/* Navigation on the legal pages lives in the header only (HOME + EN/DE).
   No in-body language link, no back link, no self-link in the footer —
   the footer offers the one other legal page and nothing else. */

.fill{font-family:var(--mono);font-size:.86em;letter-spacing:.02em;color:var(--accent);
  border:1px dashed var(--accent);padding:2px 7px;
  background:color-mix(in srgb,var(--accent) 6%,transparent)}
.note{margin:14px 0 0;padding-left:16px;border-left:2px solid var(--rule);
  font-family:var(--mono);font-size:11px;letter-spacing:.04em;line-height:1.8;color:var(--ink-60)}
.note b{color:var(--ink);font-weight:500}
.note.warn{border-left-color:var(--accent)}
.note.warn b{color:var(--accent)}

/* same footer rhythm as the main page's, so the rule and the row below it
   land identically when you move between them */
footer{border-top:1px solid var(--rule);padding:30px 0 64px}
.foot{display:flex;flex-wrap:wrap;gap:14px;justify-content:space-between;align-items:center;
  font-family:var(--mono);font-size:11px;letter-spacing:.14em;text-transform:uppercase;color:var(--ink-30)}
.foot nav{display:flex;gap:16px}
.foot a{text-decoration:none;color:var(--ink-30);transition:color .2s}
.foot a:hover{color:var(--ink)}
