/* LocaMap Coming-Soon – nur Systemschriften, keine externen Ressourcen. */
:root { color-scheme: dark; --bg1: #01377c; --bg2: #143b79; --bg3: #014a9c; --text: #e6efff; --link: #ffb347; }
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body {
  min-height: 100vh; min-height: 100dvh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: radial-gradient(ellipse at top, var(--bg3), var(--bg1) 55%, var(--bg2));
  background-color: var(--bg1);
  color: var(--text);
  font: 14px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
main { width: 100%; display: flex; justify-content: center; }
.bild { display: block; line-height: 0; }
/* Ganzes Bild ohne Abschneiden und ohne Verzerrung: Breite begrenzt durch Fenster, Originalgröße und Höhe (16:9). */
.bild img {
  display: block; height: auto; aspect-ratio: 16 / 9;
  width: min(100vw, 1600px, calc((100vh - 3rem) * 16 / 9));
  width: min(100vw, 1600px, calc((100dvh - 3rem) * 16 / 9));
  box-shadow: 0 10px 40px rgba(0, 0, 0, .45);
}
/* Ausschnitte nur im Hochformat sichtbar. */
.teil { display: none; }
/* Hochformat (Smartphone/Tablet hochkant): Bild in zwei Ausschnitten untereinander – links Text (0–960 px), rechts
   Smartphone (960–1600 px) –, jeweils volle Breite, ohne Verzerrung; die Seite scrollt senkrecht. Zoomen bleibt erlaubt. */
@media (max-aspect-ratio: 1/1) {
  body { justify-content: flex-start; padding-top: env(safe-area-inset-top); }
  .ganz { display: none; }
  .teil { display: block; width: 100vw; overflow: hidden; position: relative; }
  .teil img { position: absolute; top: 0; height: 100%; width: auto; max-width: none; aspect-ratio: 16 / 9; box-shadow: none; }
  .teil.links { aspect-ratio: 960 / 900; }
  .teil.links img { left: 0; }
  .teil.rechts { aspect-ratio: 640 / 900; }
  .teil.rechts img { right: 0; }
}
footer { padding: .9rem 1rem calc(.9rem + env(safe-area-inset-bottom)); text-align: center; }
footer a { color: var(--link); text-decoration: none; }
footer a:hover, footer a:focus-visible { text-decoration: underline; }
footer span { margin: 0 .5rem; opacity: .6; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Rechtstexte */
.text { display: block; max-width: 760px; width: 100%; padding: 2rem 1.25rem 1rem; }
.text h1 { font-size: 1.6rem; margin-top: 0; }
.text h2 { font-size: 1.1rem; margin-top: 1.6rem; }
.text a { color: var(--link); }
body.recht { justify-content: flex-start; }
.zurueck { display: inline-block; margin-bottom: 1rem; }
