/*
  Offizin-Rahmen: oben die App im ganzen verbleibenden Fenster, unten die Fußleiste.
  Die App sieht nur ihren eigenen Bereich und passt sich ihm an wie einem kleineren Fenster.
*/
@font-face {
  font-family: "Archivo";
  src: url("archivo.woff") format("woff");
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  height: 100%;
  background: #000000;
}

body {
  margin: 0;
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #ffffff;
  font-family: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

#app {
  flex: 1 1 auto;
  display: block;
  width: 100%;
  min-height: 0;
  border: 0;
  background: #ffffff;
}

.leiste {
  flex: none;
  display: flex;
  align-items: center;
  gap: 20px;
  min-height: 32px;
  padding: 0 max(16px, env(safe-area-inset-right)) env(safe-area-inset-bottom) max(16px, env(safe-area-inset-left));
  background: #000000;
  color: #ffffff;
  font-size: 13px;
  line-height: 1;
}

.leiste a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  color: #ffffff;
  text-decoration: none;
}

.leiste a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.leiste :focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

.leiste .marke {
  font-stretch: 68%;
  font-weight: 800;
  font-size: 15px;
}

.leiste .marke svg {
  flex: none;
  width: 16px;
  height: 16px;
}

.leiste nav {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
  font-weight: 600;
  white-space: nowrap;
}

.leiste nav svg {
  flex: none;
  width: 15px;
  height: 15px;
}

@media (max-width: 600px) {
  .leiste .weit { display: none; }
}

@media (max-width: 400px) {
  .leiste { gap: 12px; }
  .leiste nav { gap: 14px; }
  .leiste .mittel { display: none; }
}

@media print {
  .leiste { display: none; }
}
