/* Schlichte, responsive Ein-Seiten-Homepage */
:root {
  color-scheme: light dark;
  --background: #111;
  --text: #f5f5f5;
  --muted: #c9c9c9;
  --content-width: 900px;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  min-height: 100vh;
  display: grid;
  grid-template-rows: 1fr auto;
  background: var(--background);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
}

.page {
  display: grid;
  place-items: center;
  padding: clamp(20px, 5vw, 64px);
}

.image-frame {
  width: min(100%, var(--content-width));
  margin: 0;
}

.image-frame img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 78vh;
  object-fit: contain;
  box-shadow: 0 14px 50px rgba(0, 0, 0, 0.35);
}

.footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  padding: 18px 20px 24px;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer a {
  color: inherit;
  text-underline-offset: 0.2em;
}

.footer a:hover,
.footer a:focus-visible {
  color: var(--text);
}

/* Gestaltung der Rechtstexte */
.legal-page {
  display: block;
  min-height: 100vh;
  background: #f5f5f3;
  color: #222;
}

.legal-content {
  width: min(calc(100% - 32px), 780px);
  margin: 0 auto;
  padding: 48px 0 64px;
  line-height: 1.65;
}

.legal-content h1 {
  margin-top: 0;
  line-height: 1.2;
}

.legal-content h2 {
  margin-top: 2rem;
  line-height: 1.3;
}

.legal-content a {
  color: inherit;
}

.notice {
  padding: 14px 16px;
  border-left: 4px solid #8a5a00;
  background: #fff3d6;
}

.back-link {
  display: inline-block;
  margin-top: 2rem;
  font-weight: bold;
}
