/* Die Seite /einweisung.html (Stufe 128, Marc 12.11.2026). Selektoren nach Ort: alles unter .ew-seite. */
.ew-seite { padding: 0 0 env(safe-area-inset-bottom, 0); }
.ew-seite .ew-kopf {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: calc(12px + env(safe-area-inset-top, 0px)) 16px 12px;
}
.ew-seite .ew-kopf .logo { height: 22px; width: auto }
.ew-seite .ew-zurueck {
  color: var(--fg); text-decoration: none; padding: 10px 12px; border-radius: var(--r-md);
  min-height: 44px; display: inline-flex; align-items: center;
}
.ew-seite .ew-zurueck:hover { background: var(--ink700) }
.ew-seite .ew-haupt { padding: 8px 16px 40px; max-width: 1100px; margin: 0 auto }
.ew-seite h1 { margin: 4px 0 12px }

.ew-seite .ew-abschnitte { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px }
/* Eigener Schwebezustand: das globale button:hover färbt hellcyan. */
.ew-seite .ew-abschnitte button {
  min-height: 44px; padding: 0 14px; background: var(--ink800); color: var(--fg2); border: 1px solid var(--line-stark);
  border-radius: 999px; font-size: 14px; font-weight: 700; text-transform: none; letter-spacing: 0;
}
.ew-seite .ew-abschnitte button:hover { background: var(--ink700); color: var(--fg) }
.ew-seite .ew-abschnitte button:active { background: var(--ink600); color: var(--fg) }
.ew-seite .ew-abschnitte button[aria-current="true"] { color: var(--blau-text); border-color: var(--blau) }

/* Das Folienbild: 16:9, nie breiter als der Platz; der Rahmen hält die Fläche frei, solange es lädt. */
.ew-seite .ew-folie { background: var(--ink900); border: 1px solid var(--line-stark); border-radius: var(--r-md); overflow: hidden; }
.ew-seite .ew-folie img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: var(--ink900); cursor: default; }

.ew-seite .ew-leiste { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 12px 0 }
.ew-seite .ew-nav {
  min-height: 44px; min-width: 112px; padding: 0 16px; background: var(--ink700); color: var(--fg);
  border: 1px solid var(--line-stark); border-radius: var(--r-md); font-size: 15px; font-weight: 800; text-transform: none; letter-spacing: 0;
}
.ew-seite .ew-nav:hover { background: var(--ink600); color: var(--fg) }
.ew-seite .ew-nav:active { background: var(--ink800); color: var(--fg) }
.ew-seite .ew-nav:disabled { opacity: .4; background: var(--ink800); color: var(--fg3) }
.ew-seite .ew-zaehler { text-align: center; color: var(--fg2); font-size: 14px; min-width: 0 }
.ew-seite .ew-zaehler b { display: block; color: var(--fg); font-size: 16px; overflow-wrap: anywhere }

.ew-seite .ew-melden { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 6px 0 0; padding: 12px 14px;
  background: var(--ink800); border: 1px solid var(--line-stark); border-radius: var(--r-md) }
.ew-seite .ew-melden-frage { color: var(--fg2); font-size: 14px; font-weight: 700 }
.ew-seite .ew-melde {
  min-height: 44px; padding: 0 16px; background: transparent; color: var(--blau-text); border: 1px solid var(--blau);
  border-radius: 999px; font-size: 15px; font-weight: 800; text-transform: none; letter-spacing: 0;
}
.ew-seite .ew-melde:hover { background: var(--ink700); color: var(--blau-hell) }
.ew-seite .ew-melde:active { background: var(--ink600); color: var(--blau-hell) }
.ew-seite .ew-melden-hinweis { margin-top: 8px }

@media (max-width: 480px) {
  .ew-seite .ew-nav { min-width: 0; flex: 1 1 0 }
  .ew-seite .ew-zaehler { flex: 1.4 1 0 }
}
