/* ============================================================
   Gemeinsames Stylesheet für Impressum, Datenschutz und AGB.
   Übernimmt Farben und Typografie der Startseite.
   ============================================================ */

:root {
  --bg:        #0a0c0f;
  --bg-2:      #0e1115;
  --panel:     #12151a;
  --panel-2:   #181c22;
  --ink:       #f3f5f7;
  --ink-soft:  #9aa1ab;
  --ink-faint: #5f6772;
  --line:      #20252e;
  --accent:    #6366F1;
  --accent-2:  #8b8df8;
  --grad-pill: linear-gradient(180deg, #6f6df6 0%, #4F46E5 100%);
  --maxw:      880px;
  --ease:      cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; overflow-x: clip; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: clip;
}
::selection { background: var(--accent); color: #fff; }
a { color: inherit; }
img { display: block; max-width: 100%; }

.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: 30px; }

/* ---------- Kopfzeile ---------- */
.nav-shell { position: sticky; top: 22px; z-index: 100; padding-top: 6px; }
.nav {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 10px 10px 10px 26px;
  background: rgba(18,21,26,.72);
  border: 1px solid var(--line);
  border-radius: 16px;
  backdrop-filter: blur(18px) saturate(1.3);
}
.brand img { height: 21px; width: auto; filter: invert(1); transition: opacity .25s var(--ease); }
.brand:hover img { opacity: .78; }
.nav-cta {
  background: var(--grad-pill); color: #fff; font-weight: 700; font-size: 14px;
  padding: 12px 22px; border-radius: 10px; text-decoration: none; white-space: nowrap;
  transition: transform .25s var(--ease);
}
.nav-cta:hover { transform: translateY(-1px); }

/* ---------- Inhalt ---------- */
.legal { padding: 90px 0 40px; }
.legal .wrap { max-width: var(--maxw); }

.legal .eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: "Space Mono", monospace; font-size: 11px; letter-spacing: .26em;
  text-transform: uppercase; color: var(--accent-2);
  background: rgba(255,255,255,.035); border: 1px solid var(--line);
  border-radius: 100px; padding: 8px 18px 8px 15px;
}
.legal .eyebrow::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent); flex-shrink: 0;
}

.legal h1 {
  font-family: "Archivo", sans-serif; font-weight: 600;
  font-size: clamp(30px, 5vw, 46px); letter-spacing: -.03em; line-height: 1.05;
  margin: 24px 0 10px;
}
.legal .stand {
  font-family: "Space Mono", monospace; font-size: 11px; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink-faint); margin-bottom: 48px;
}

.legal h2 {
  font-family: "Archivo", sans-serif; font-weight: 600;
  font-size: clamp(19px, 2.4vw, 23px); letter-spacing: -.02em;
  margin: 44px 0 12px; padding-top: 24px; border-top: 1px solid var(--line);
}
.legal h3 {
  font-family: "Archivo", sans-serif; font-weight: 600; font-size: 16px;
  margin: 26px 0 8px;
}
.legal p, .legal li { color: var(--ink-soft); font-size: 15.5px; }
.legal p + p { margin-top: 12px; }
.legal ul { margin: 12px 0 0 20px; display: flex; flex-direction: column; gap: 7px; }
.legal a { color: var(--accent-2); text-decoration: underline; text-underline-offset: 3px; }
.legal a:hover { color: var(--ink); }
.legal strong { color: var(--ink); font-weight: 600; }

.legal address { font-style: normal; color: var(--ink-soft); }

/* Kasten für Angaben, die noch eingetragen werden müssen */
.fillme {
  display: block; margin: 14px 0;
  background: rgba(255,183,77,.07); border: 1px dashed rgba(255,183,77,.38);
  border-radius: 10px; padding: 14px 16px;
  font-family: "Space Mono", monospace; font-size: 12.5px; line-height: 1.75;
  color: #FFB74D;
}
.fillme b { color: #FFCE8A; font-weight: 400; }

/* Hervorgehobener Hinweis */
.hinweis {
  margin: 16px 0; padding: 16px 18px;
  background: var(--panel); border: 1px solid var(--line); border-radius: 12px;
}
.hinweis p { margin: 0; font-size: 14.5px; }

/* ---------- Fußzeile ---------- */
.foot { border-top: 1px solid var(--line); background: var(--bg-2); margin-top: 80px; }
.foot .wrap {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 18px; padding-block: 34px; max-width: 1240px;
}
.foot img { height: 18px; filter: invert(1); }
.foot nav { display: flex; gap: 26px; flex-wrap: wrap; }
.foot nav a {
  font-family: "Space Mono", monospace; font-size: 12px;
  color: var(--ink-faint); text-decoration: none; transition: color .25s;
}
.foot nav a:hover { color: var(--ink); }
.foot .copy {
  font-family: "Space Mono", monospace; font-size: 11px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink-faint);
}

@media (max-width: 640px) {
  .legal { padding-top: 70px; }
  .nav { padding-left: 18px; }
}
