/* Shared styling for the legal pages (Impressum, Datenschutzerklärung).
   Deliberately a separate file and not inline: both pages must render without
   JavaScript, and the tokens below are the same ones index.html uses. */

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;scroll-padding-top:5rem}
ul{list-style:none}

:root{
  --paper:#eceae7;
  --panel:#f6f5f3;
  --ink:#141414;
  --ink-2:#575653;
  --ink-3:#8e8b86;
  --line:#d9d6d1;
  --accent:#ff5b04;
  --accent-soft:rgba(255,91,4,.1);

  --sans:"Segoe UI",system-ui,-apple-system,BlinkMacSystemFont,Inter,Roboto,Arial,sans-serif;
  --mono:ui-monospace,"Cascadia Mono","SFMono-Regular",Menlo,Consolas,monospace;
  --ease:cubic-bezier(.22,.68,.35,1);
}

body{
  font-family:var(--sans);font-size:16px;line-height:1.65;
  color:var(--ink);background:var(--paper);
  -webkit-font-smoothing:antialiased;overflow-x:hidden;
}
::selection{background:var(--accent);color:#fff}
:focus-visible{outline:2px solid var(--accent);outline-offset:2px}

.wrap{max-width:46rem;margin-inline:auto;padding-inline:clamp(1rem,4vw,2rem)}

/* ---------- header ---------- */
header{position:sticky;top:0;z-index:5;background:var(--paper);
       border-bottom:1px solid var(--line);padding:1rem 0}
.bar{display:flex;align-items:center;gap:1rem}
.brand{display:flex;align-items:center;text-decoration:none}
.glyph{display:block;width:18px;height:18px;border:3px solid var(--accent);border-radius:2px}
.back{margin-left:auto;font-family:var(--mono);font-size:.78rem;font-weight:600;
      color:var(--ink-2);text-decoration:none;transition:color .2s var(--ease)}
.back:hover{color:var(--accent)}

/* ---------- text ---------- */
main{padding:3rem 0 4rem}

h1{font-size:clamp(1.6rem,4vw,2.3rem);font-weight:800;letter-spacing:-.035em;
   line-height:1.15;margin-bottom:.6rem}
h2{font-size:1.15rem;font-weight:800;letter-spacing:-.02em;
   margin:2.6rem 0 .9rem;padding-top:1.4rem;border-top:1px solid var(--line)}
h3{font-size:1rem;font-weight:700;margin:1.8rem 0 .55rem}
h4{font-size:.9rem;font-weight:700;color:var(--ink-2);margin:1.3rem 0 .4rem}

p,ul{margin-bottom:.9rem;color:var(--ink-2);max-width:38rem;overflow-wrap:break-word}
ul{padding-left:1.15rem}
ul li{list-style:square;margin-bottom:.3rem}
strong{color:var(--ink);font-weight:700}

a[href]{color:var(--accent);text-decoration:underline;text-underline-offset:2px}
a[href]:hover{text-decoration-thickness:2px}

.kicker{font-family:var(--mono);font-size:.72rem;letter-spacing:.08em;
        text-transform:uppercase;color:var(--ink-3);margin-bottom:1.6rem}

/* The Art. 21 notice is required to stand out; upper case comes from the
   template, the smaller size keeps it from shouting over everything else. */
.shout{font-size:.82rem;line-height:1.55;color:var(--ink-2)}

.box{background:var(--panel);border-left:3px solid var(--accent);
     padding:1rem 1.2rem;margin:1.3rem 0;max-width:38rem}
.box p:last-child{margin-bottom:0}

/* Placeholders that still need real values. Remove the mark once filled in —
   grep for "todo" before deploying. */
.todo{background:var(--accent-soft);border-bottom:1px dashed var(--accent);
      color:var(--ink);padding:0 .25em;font-family:var(--mono);font-size:.85em}

/* ---------- footer ---------- */
footer{border-top:1px solid var(--line);padding:2rem 0 3rem}
.flinks{display:flex;flex-wrap:wrap;gap:.6rem 1.5rem;margin-bottom:1rem}
.flinks a{font-family:var(--mono);font-size:.8rem;font-weight:600;
          color:var(--ink-2);text-decoration:none;transition:color .2s var(--ease)}
.flinks a:hover{color:var(--accent)}
.fnote{font-family:var(--mono);font-size:.7rem;color:var(--ink-3)}
