*,*::before,*::after{box-sizing:border-box}
html{color-scheme:light dark}
body{
  margin:0;min-height:100vh;display:flex;flex-direction:column;
  font:16px/1.6 system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  color:#1a1a1a;background:#fafafa;
}
main{flex:1;display:flex;align-items:center;justify-content:center;padding:2rem}
.brand{font-size:clamp(2.5rem,8vw,4.5rem);font-weight:600;letter-spacing:-.03em;margin:0}
.brand span{color:#8a8a8a}
footer{padding:1.5rem;text-align:center;font-size:.875rem;color:#6b6b6b}
footer a{color:inherit;text-decoration:none;margin:0 .6rem}
footer a:hover,footer a:focus{text-decoration:underline}
.page{flex:1;width:100%;max-width:42rem;margin:0 auto;padding:3rem 1.5rem}
.page h1{font-size:1.75rem;margin:0 0 1.5rem}
.page h2{font-size:1.1rem;margin:2rem 0 .5rem}
.page a{color:inherit}
.back{display:inline-block;margin-bottom:2rem;font-size:.875rem;color:#6b6b6b;text-decoration:none}
.back:hover{text-decoration:underline}
@media (prefers-color-scheme:dark){
  body{color:#e8e8e8;background:#111}
  .brand span{color:#777}
  footer,.back{color:#999}
}

/* Startseite: exakt ein Bildschirm, nicht scrollbar.
   Wortmarke mittig im ganzen Viewport, Links fest am unteren Rand. */
html.home,html.home body{height:100%;overflow:hidden;overscroll-behavior:none}
html.home body{position:fixed;inset:0;min-height:0}
.home main{position:fixed;inset:0;display:grid;place-items:center;padding:0}
.home footer{
  position:fixed;left:0;right:0;bottom:0;
  padding:1.25rem 1rem calc(1.25rem + env(safe-area-inset-bottom));
}
