/* Gemeinsames Stylesheet fuer Impressum und Datenschutzerklaerung.
   Farben und Typo folgen der Startseite. */

:root {
  --bg:        #0d0c0c;
  --bg-glow:   #1c1413;
  --ink:       #f5f1ef;
  --ink-muted: #a8a29e;
  --accent:    #e23125;
  --hairline:  rgba(245,241,239,.12);
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  background-image: radial-gradient(
    100% 60% at 50% 0%, var(--bg-glow) 0%, var(--bg) 60%
  );
  color: var(--ink);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI",
               Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.65;
  display: flex;
  flex-direction: column;
  min-height: 100svh;
}

.inner {
  width: 100%;
  max-width: 46rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Kopfzeile ------------------------------------------------------------- */
.page-head {
  border-bottom: 1px solid var(--hairline);
  padding: 1.1rem 0;
}
.page-head .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  color: var(--ink);
  text-decoration: none;
  font-size: .9rem;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.brand img { width: 30px; height: 30px; display: block; }
.back {
  color: var(--ink-muted);
  text-decoration: none;
  font-size: .875rem;
  white-space: nowrap;
}
.back:hover, .brand:hover { color: var(--accent); }

/* Inhalt ---------------------------------------------------------------- */
.legal {
  flex: 1;
  width: 100%;
  max-width: 46rem;
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4rem) 1.5rem clamp(3rem, 7vw, 4.5rem);
}

.legal h1 {
  margin: 0;
  font-size: clamp(1.8rem, 5vw, 2.4rem);
  font-weight: 600;
  letter-spacing: .01em;
  line-height: 1.15;
}

/* Roter Strich unter der Hauptueberschrift */
.legal h1::after {
  content: "";
  display: block;
  width: 56px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  margin-top: 1.1rem;
}

.legal .stand {
  margin: 1.1rem 0 0;
  color: var(--ink-muted);
  font-size: .9rem;
}

.legal h2 {
  margin: 2.6rem 0 .6rem;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--ink);
}

.legal p,
.legal address,
.legal ul {
  margin: 0 0 .9rem;
  color: var(--ink-muted);
  font-size: 1rem;
}

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

.legal a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: .2em;
  text-decoration-color: var(--accent);
}
.legal a:hover { color: var(--accent); }

/* Fusszeile ------------------------------------------------------------- */
footer {
  border-top: 1px solid var(--hairline);
  padding: 1.4rem 0;
  font-size: .8125rem;
  color: var(--ink-muted);
}
footer .inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .6rem 1.4rem;
}
footer a {
  color: var(--ink-muted);
  text-decoration: none;
  margin-left: 1.2rem;
}
footer a:first-child { margin-left: 0; }
footer a:hover { color: var(--accent); }

@media (max-width: 30rem) {
  footer .inner { justify-content: center; text-align: center; }
}
