/* ==========================================================================
   Novutila — Stylesheet für Impressum und Datenschutzerklärung
   Übernimmt Farben, Typografie und Rhythmus der Startseite.
   Bewusst ohne JavaScript: Die Rechtsseiten sind reines HTML und damit
   auch ohne aktiviertes JavaScript vollständig lesbar.
   ========================================================================== */

@font-face {
  font-family: Manrope;
  src: url('manrope.woff2') format('woff2');
  font-weight: 200 800;
  font-display: swap;
}

@font-face {
  font-family: Space;
  src: url('space.woff2') format('woff2');
  font-weight: 300 700;
  font-display: swap;
}

:root {
  --background: #080c0f;
  --surface: #10171b;
  --ink: #f4f6f5;
  --dim: #b2c0c2;
  --muted: #a0acad;
  --mint: #a3f1d7;
  --border: #263035;
  --line: #c5e6e024;
  --radius: 0.4rem;
  --container: 76rem;
  --reading: 46rem;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--ink);
  font-family: Manrope, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: var(--mint);
  text-decoration-color: color-mix(in srgb, var(--mint) 45%, transparent);
  text-underline-offset: 0.22em;
}

a:hover {
  text-decoration-color: var(--mint);
}

:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection {
  background: var(--mint);
  color: #09231a;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.25rem;
}

@media (min-width: 48rem) {
  .container {
    padding: 0 2.5rem;
  }
}

/* --- Sprungmarke ---------------------------------------------------------- */

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
}

.skip:focus {
  left: 1rem;
  top: 1rem;
  z-index: 50;
  padding: 0.65rem 1rem;
  background: var(--mint);
  color: #09231a;
  border-radius: var(--radius);
  font-weight: 600;
  text-decoration: none;
}

/* --- Kopfzeile ------------------------------------------------------------ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--background) 97%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.site-header .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 4.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  height: 1.75rem;
  width: auto;
  display: block;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--dim);
  text-decoration: none;
  white-space: nowrap;
}

.back-link:hover {
  color: var(--ink);
}

.back-link svg {
  width: 1rem;
  height: 1rem;
  flex: none;
}

/* --- Seitenkopf ----------------------------------------------------------- */

.page-head {
  padding: 4.5rem 0 3rem;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 48rem) {
  .page-head {
    padding: 7rem 0 4rem;
  }
}

.eyebrow {
  margin: 0 0 1.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #aabbb7;
}

.eyebrow::before {
  content: '';
  display: inline-block;
  width: 1.75rem;
  height: 1px;
  margin-right: 0.75rem;
  vertical-align: 0.25em;
  background: color-mix(in srgb, var(--mint) 55%, transparent);
}

h1 {
  margin: 0;
  font-family: Space, Manrope, sans-serif;
  font-weight: 400;
  font-size: clamp(2.5rem, 1.6rem + 3.6vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
  overflow-wrap: break-word;
}

.page-head .lead {
  margin: 1.5rem 0 0;
  max-width: 44ch;
  color: var(--dim);
  font-size: 1.0625rem;
  line-height: 1.6;
}

/* --- Inhalt --------------------------------------------------------------- */

main {
  display: block;
}

.legal {
  padding: 3.5rem 0 5rem;
}

@media (min-width: 48rem) {
  .legal {
    padding: 5rem 0 7rem;
  }
}

.legal .inner {
  max-width: var(--reading);
}

section {
  padding: 2.25rem 0;
  border-bottom: 1px solid var(--line);
}

section:first-of-type {
  padding-top: 0;
}

section:last-of-type {
  border-bottom: 0;
}

h2 {
  margin: 0 0 1.1rem;
  font-family: Space, Manrope, sans-serif;
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1.2;
  letter-spacing: -0.025em;
  color: var(--ink);
  overflow-wrap: break-word;
}

h3 {
  margin: 1.75rem 0 0.75rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
}

p,
li {
  color: var(--dim);
  line-height: 1.7;
}

p {
  margin: 0 0 1rem;
}

p:last-child {
  margin-bottom: 0;
}

ul {
  margin: 0 0 1rem;
  padding-left: 1.1rem;
}

li {
  margin-bottom: 0.5rem;
}

li::marker {
  color: color-mix(in srgb, var(--mint) 70%, transparent);
}

address {
  font-style: normal;
  color: var(--ink);
  line-height: 1.7;
}

strong {
  color: var(--ink);
  font-weight: 700;
}

.note {
  margin-top: 1.25rem;
  padding: 1.1rem 1.25rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.9375rem;
}

.note p {
  margin-bottom: 0;
}

/* Inhaltsverzeichnis */
.toc {
  margin: 0 0 2.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.toc h2 {
  font-family: Manrope, Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.9rem;
}

.toc ol {
  margin: 0;
  padding-left: 1.2rem;
  columns: 1;
}

@media (min-width: 40rem) {
  .toc ol {
    columns: 2;
    column-gap: 2rem;
  }
}

.toc li {
  margin-bottom: 0.4rem;
  font-size: 0.9375rem;
  break-inside: avoid;
}

/* --- Fußzeile ------------------------------------------------------------- */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.5rem 0 3rem;
}

.site-footer .row {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 48rem) {
  .site-footer .row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.site-footer img {
  height: 1.5rem;
  width: auto;
  display: block;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.site-footer nav a {
  font-size: 0.875rem;
  color: var(--dim);
  text-decoration: none;
}

.site-footer nav a:hover {
  color: var(--ink);
}

.site-footer .copyright {
  margin: 1.75rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.8125rem;
  color: var(--muted);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

@media print {
  .site-header,
  .back-link,
  .skip {
    display: none;
  }

  body {
    background: #fff;
    color: #000;
  }

  p,
  li,
  address {
    color: #222;
  }

  a {
    color: #000;
  }
}
