/* Impressum und Datenschutz. Eigenständig, damit die Rechtstexte nicht an
   style.css der Buchungsseite hängen. Keine fremden Schriften (CSP font-src 'self'). */

:root {
  color-scheme: light dark;
  --grund: #ffffff;
  --text: #1a1a1a;
  --leise: #5c5c5c;
  --linie: #e4e4e4;
  --link: #1a4fd6;
}

@media (prefers-color-scheme: dark) {
  :root {
    --grund: #121212;
    --text: #ececec;
    --leise: #a3a3a3;
    --linie: #2e2e2e;
    --link: #8fb0ff;
  }
}

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

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

body {
  margin: 0;
  background: var(--grund);
  color: var(--text);
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
}

.seite {
  max-width: 42rem;
  margin: 0 auto;
  padding: 2rem 1rem 3rem;
}

.zurueck {
  display: inline-block;
  margin-bottom: 2rem;
  color: var(--leise);
  font-size: 0.875rem;
  text-decoration: none;
}

.zurueck:hover,
.zurueck:focus-visible {
  color: var(--text);
  text-decoration: underline;
}

h1 {
  margin: 0 0 1.5rem;
  font-size: 1.75rem;
  line-height: 1.25;
}

h2 {
  margin: 2rem 0 0.5rem;
  font-size: 1.125rem;
  line-height: 1.35;
}

p,
ul {
  margin: 0 0 1rem;
}

ul {
  padding-left: 1.25rem;
}

li + li {
  margin-top: 0.25rem;
}

a {
  color: var(--link);
  overflow-wrap: anywhere;
}

.stand {
  margin-top: 2.5rem;
  color: var(--leise);
  font-size: 0.875rem;
}

.fuss {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--linie);
  font-size: 0.8125rem;
}

.fuss a {
  color: var(--leise);
}

.fuss a[aria-current='page'] {
  color: var(--text);
  text-decoration: none;
}

@media print {
  .zurueck,
  .fuss {
    display: none;
  }
}
