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

html, body {
  margin: 0;
  min-height: 100%;
  background: #000;
  color: #ccc;
  font: 15px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
}

/* Startseite: Bild mittig, füllt den Viewport ohne Verzerrung */
body { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; }

main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

main img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(100vh - 3rem);
  max-height: calc(100dvh - 3rem);
}

footer {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  padding: 0.75rem 1rem;
  font-size: 12px;
}

a { color: #888; text-decoration: none; }
a:hover, a:focus-visible { color: #fff; text-decoration: underline; }

/* Textseiten (Impressum, Datenschutz) */
.text {
  display: block;
  max-width: 42rem;
  margin: 0 auto;
  padding: 3rem 1rem;
}

.text h1 { color: #fff; font-size: 1.6rem; font-weight: 600; margin: 0 0 1.5rem; }
.text h2 { color: #fff; font-size: 1.05rem; font-weight: 600; margin: 2rem 0 0.5rem; }
.text p, .text ul { margin: 0 0 1rem; }
.text a { color: #ccc; text-decoration: underline; }
.text a:hover { color: #fff; }
.back { display: inline-block; margin-bottom: 2rem; }
