/* Ombra, Seite «Bald»: der Opener, danach ein einziger Bildschirm. Baut auf style.css auf (Farben, Schrift, Opener).
   Das Wort OMBRA zeichnet opener.js in die Mitte des Bildschirms; .platz hält genau diese Stelle frei,
   darum sind die Zeilen darüber und darunter gleich hoch. */

.ende {
  position: absolute; inset: 100vh 0 0; inset: 100svh 0 0;
  display: grid; grid-template-rows: minmax(0, 1fr) auto minmax(0, 1fr);
  justify-items: center; text-align: center;
  padding: 0 max(var(--rand), env(safe-area-inset-left)) 0 max(var(--rand), env(safe-area-inset-right));
}
.platz { grid-row: 2; height: calc(min(70vw, 80vh) * .18); height: calc(min(70vw, 80svh) * .18); }
.platz img { display: none; width: auto; height: 100%; mix-blend-mode: multiply; }

.unten {
  grid-row: 3; width: 100%; min-height: 0;
  display: flex; flex-direction: column; justify-content: space-between; align-items: center;
  padding-top: clamp(1rem, 3vh, 1.75rem);
  padding-bottom: max(clamp(1rem, 3vh, 2rem), env(safe-area-inset-bottom));
}
.aussage { display: grid; justify-items: center; gap: clamp(.9rem, 2.6vh, 1.75rem); }
.leitsatz { max-width: none; font-weight: 700; font-size: clamp(1.4rem, 3.2vw, 2.5rem); line-height: 1.25; }
.was { max-width: 38ch; font-size: clamp(1.15rem, 1.5vw, 1.3rem); line-height: 1.45; text-wrap: balance; }

.kontakt { display: grid; justify-items: center; gap: .1rem; }
.bald { font: 900 clamp(1.15rem, 1.6vw, 1.35rem)/1.2 "Switzer", "Arial Black", Arial, sans-serif; margin-bottom: .2rem; }
.wege, .rechtliches { max-width: none; display: flex; flex-wrap: wrap; justify-content: center; }
.wege { gap: 0 clamp(1.25rem, 3vw, 2.25rem); font-weight: 700; font-size: clamp(1.15rem, 1.5vw, 1.3rem); }
.rechtliches { gap: 0 1.5rem; font-size: 1rem; color: var(--leise); }
.wege a, .rechtliches a { display: inline-flex; align-items: center; min-height: 2.75rem; text-decoration: none; }
.wege a:active, .rechtliches a:active { opacity: .6; }
@media (hover: hover) and (pointer: fine) {
  .wege a:hover, .rechtliches a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
}

/* Niedrige Fenster, zum Beispiel ein Handy quer: alles rückt zusammen, nichts fällt weg */
@media (max-height: 34rem) {
  .unten { padding-top: .6rem; padding-bottom: max(.4rem, env(safe-area-inset-bottom)); }
  .aussage { gap: .35rem; }
  .leitsatz { font-size: 1.25rem; }
  .was { max-width: 60ch; font-size: 1.05rem; line-height: 1.35; }
  .kontakt { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0 1.5rem; }
  .wege { flex-wrap: nowrap; }
  .bald { margin-bottom: 0; }
}
