/* Impressum + Datenschutz: same colours, font and header/footer as the landing page (source/landing.html) */
:root {
  --bg: #eef4f1; --card: #ffffff; --ink: #0f2620; --muted: #4b6159; --line: #d4e1db;
  --accent: #1d7a58; --tint: #dff0e8;
  /* the two bubble colours of the logo: MIND (orange) and MAP (green) */
  --mind-fill: #fdf0e3; --mind-line: #f0953a; --map-fill: #edf6e6; --map-line: #7cc24f;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0d1613; --card: #14201c; --ink: #e6f0eb; --muted: #9db3aa; --line: #22332d;
    --accent: #46c08e; --tint: #173027;
    --mind-fill: #2a1d10; --mind-line: #d9822f; --map-fill: #16261a; --map-line: #6aa944; }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: inherit; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 3px; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 16px; }
.bar { display: flex; align-items: center; gap: 16px; padding: 14px 0; }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand .logo { height: 41px; width: auto; display: block; }
.bar nav { margin-left: auto; display: flex; gap: 18px; font-size: 15px; }
.bar nav a { text-decoration: none; color: var(--muted); }
.bar nav a:hover { color: var(--ink); }

/* one readable column, left aligned */
.legal { max-width: 46rem; padding: 28px 0 56px; }
.legal h1 { font-size: clamp(30px, 4.2vw, 44px); line-height: 1.1; letter-spacing: -.02em; margin: 0 0 10px; }
.legal .en { margin: 0 0 30px; color: var(--muted); font-size: 15px; }
.legal section { padding-top: 6px; }
.legal h2 { font-size: 19px; line-height: 1.3; margin: 30px 0 8px; }
.legal p { margin: 0 0 12px; }
.legal ul { margin: 0 0 12px; padding-left: 22px; }
.legal li { margin: 2px 0; }
.legal a { color: var(--accent); }
.address { line-height: 1.7; }

/* placeholders the owner still has to fill in: impossible to overlook */
mark { background: #ffe58a; color: #3a2a00; padding: 1px 4px; border-radius: 4px; }

/* "Kurz gesagt": the privacy summary drawn as a small mind map — one root bubble, three branches */
.gist { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; margin: 0 0 22px; }
.gist .root { padding: 10px 18px; border: 3px solid var(--mind-line); border-radius: 999px; background: var(--mind-fill); font-weight: 700; white-space: nowrap; }
.gist ul { list-style: none; margin: 0; padding: 0 0 0 28px; position: relative; }
.gist ul::before { content: ""; position: absolute; left: 0; top: 50%; width: 28px; border-top: 3px solid var(--map-line); }
.gist li { position: relative; margin: 8px 0; padding: 9px 16px; border: 3px solid var(--map-line); border-radius: 20px; background: var(--map-fill); }
/* the trunk and a short twig into every bubble */
.gist li::before { content: ""; position: absolute; left: -17px; top: 50%; width: 14px; border-top: 3px solid var(--map-line); }
.gist li::after { content: ""; position: absolute; left: -17px; top: -11px; bottom: -11px; border-left: 3px solid var(--map-line); }
.gist li:first-child::after { top: 50%; }
.gist li:last-child::after { bottom: 50%; }
@media (max-width: 560px) {
  .gist { grid-template-columns: minmax(0, 1fr); justify-items: start; }
  .gist ul { padding: 10px 0 0 48px; }
  /* trunk sits 48 − 17 = 31 px in, right under the root bubble */
  .gist ul::before { left: 31px; top: 0; width: 0; height: 26px; border-top: 0; border-left: 3px solid var(--map-line); }
  .gist li:first-child::after { top: -20px; } /* joins the line coming down from the root */
}

footer { border-top: 1px solid var(--line); padding: 22px 0 40px; font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px 22px; }
footer a[aria-current="page"] { color: var(--ink); font-weight: 600; text-decoration: none; }
