
/* ==============================
   Grundeinstellungen
   ============================== */

* {
  box-sizing: border-box;
}

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

body {
  min-height: 100vh;
  min-height: 100dvh;
  font-family: Arial, sans-serif;
  background: #D8E8F2;
}


/* ==============================
   Hauptbereich
   ============================== */

main {
  min-height: 100vh;
  min-height: 100dvh;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 16px 16px 60px;
}


/* ==============================
   Responsives Hauptbild
   ============================== */

.hauptbild {
  display: block;

  width: auto;
  height: auto;

  max-width: 100%;
  max-height: calc(100vh - 76px);
  max-height: calc(100dvh - 76px);

  object-fit: contain;
}


/* ==============================
   Footer / Impressum-Link
   ============================== */

footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;

  padding: 12px 16px;
  text-align: center;

  background: rgba(198, 220, 235, 0.88);

  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);

  z-index: 10;
}

footer a {
  color: #444;
  font-size: 13px;

  text-decoration: underline;
  text-underline-offset: 3px;
}

footer a:hover {
  color: #000;
}

/* ==============================
   Kleine Bildschirme
   ============================== */

@media (max-width: 480px) {
  main {
    padding: 10px 10px 56px;
  }

  .hauptbild {
    max-width: 100%;
    max-height: calc(100vh - 66px);
    max-height: calc(100dvh - 66px);
  }

  footer {
    padding: 10px 12px;
  }
}
