/* Gemeinsames Layout für die Startseite und alle Unterseiten. */
* { box-sizing: border-box; }
html { min-height: 100%; background: #23234a; }
body {
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  display: flex;
  flex-direction: column;
  background: linear-gradient(to bottom, #18120a 0%, #23234a 65%);
  color: #fff8e1;
  font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
  line-height: 1.7;
  overflow-wrap: break-word;
}
a { color: #ffdca0; text-underline-offset: 0.2em; }
a:hover { color: #fffbe8; }
a:focus-visible, summary:focus-visible {
  outline: 3px solid #ffdca0;
  outline-offset: 5px;
}
#star-canvas-bg {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}
main, footer { position: relative; z-index: 1; }
header {
  position: sticky;
  top: 0;
  z-index: 10;
  flex: 0 0 auto;
  height: 70px;
  padding: 0 clamp(1rem, 4vw, 3.5rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(20, 15, 30, 0.97);
  box-shadow: 0 2px 16px #000a;
}
.brand { display: flex; align-items: center; }
.brand img { display: block; width: 100px; height: 60px; object-fit: contain; }
.navigation summary {
  min-height: 48px;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  list-style: none;
  border-radius: 0.5rem;
  color: #ffdca0;
}
.navigation summary::-webkit-details-marker { display: none; }
.burger { display: flex; flex-direction: column; gap: 5px; }
.burger span { display: block; width: 25px; height: 3px; border-radius: 3px; background: currentColor; }
.navigation[open] summary { background: #ffffff12; }
nav {
  position: absolute;
  top: 70px;
  right: 0;
  width: min(100%, 380px);
  max-height: calc(100vh - 70px);
  max-height: calc(100dvh - 70px);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  padding: 1rem;
  background: rgba(20, 15, 30, 0.98);
  box-shadow: 0 6px 16px #000a;
}
nav a { padding: 0.7rem 1rem; color: #fff8e1; text-decoration: none; border-radius: 0.5rem; }
nav a:hover, nav a[aria-current='page'] { background: #ffffff12; color: #ffdca0; }
main { flex: 1 0 auto; width: 100%; padding: 2rem 1rem 4rem; }
.hero { width: 100%; max-width: 800px; margin: 0 auto; padding: 1rem 0 2rem; text-align: center; }
h1, h2 { color: #ffdca0; line-height: 1.3; }
h1 { font-size: clamp(1.7rem, 5vw, 2.5rem); font-weight: 500; margin: 0.75rem 0 1.5rem; }
h2 { font-size: 1.6rem; margin: 0 0 1rem; }
p { margin: 1rem 0; }
.hero p { font-size: 1.1rem; }
.content {
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(1.25rem, 4vw, 3rem);
  background: rgba(20, 15, 30, 0.85);
  border: 1px solid #ffdca033;
  border-radius: 12px;
}
.sternenwesen { display: grid; gap: 2rem; }
.sternenwesen article + article { border-top: 1px solid #ffdca033; padding-top: 2rem; }
.button {
  display: inline-block;
  max-width: 100%;
  padding: 0.65rem 1.3rem;
  margin: 1rem 0;
  background: linear-gradient(90deg, #ffe9b8, #fffbe8);
  color: #23234a;
  border-radius: 1.2rem;
  box-shadow: 0 0 18px #ffdca044;
  text-decoration: none;
  font-weight: 600;
}
.button:hover { color: #23234a; background: #fffbe8; }
footer {
  flex: 0 0 auto;
  width: 100%;
  padding: 1rem;
  text-align: center;
  font-size: 0.95rem;
  background: rgba(20, 15, 30, 0.7);
}
.landing-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  padding: 2rem 1rem;
}
.landing-image {
  display: block;
  width: min(600px, 100%);
  max-height: 60svh;
  object-fit: contain;
  filter: drop-shadow(0 0 24px #23234a);
}
.center-text {
  max-width: 100%;
  padding: 0.7rem 1.2rem;
  border: 1px solid #ffdca044;
  border-radius: 1.5rem;
  font-size: clamp(1rem, 3vw, 1.3rem);
  text-align: center;
  text-decoration: none;
  color: #fff8e1;
  background: rgba(60, 40, 20, 0.35);
  box-shadow: 0 4px 32px #a67c5233;
}
.center-text:hover { background: rgba(60, 40, 20, 0.65); }
.landing footer { background: transparent; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.skip-link { position: fixed; top: -100px; left: 1rem; z-index: 20; padding: 0.7rem 1rem; background: #18120a; }
.skip-link:focus { top: 0.5rem; }
