/* Einwilligung (Modul einwilligung, patkue182/site-werkzeuge/einwilligung). Nie auf einer Site ändern.
   Farben über Variablen der Site anpassbar: --mst-ew-bg, --mst-ew-fg, --mst-ew-knopf, --mst-ew-knopf-fg, --mst-ew-rand */
.mst-ew[hidden], .mst-ew-karte [hidden] { display: none !important; }
.mst-ew {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 900;
  background: var(--mst-ew-bg, #fff); color: var(--mst-ew-fg, #1d2a2e);
  border-top: 1px solid var(--mst-ew-rand, rgba(0,0,0,.15));
  box-shadow: 0 -6px 24px rgba(0,0,0,.08);
  font-size: .92rem; line-height: 1.45;
}
.mst-ew__in {
  max-width: 1100px; margin: 0 auto; padding: .85rem 1rem calc(.85rem + env(safe-area-inset-bottom, 0px));
  display: flex; gap: .75rem 1.25rem; align-items: center; flex-wrap: wrap;
}
.mst-ew__text { margin: 0; flex: 1 1 28rem; }
.mst-ew__text a { color: inherit; text-decoration: underline; }
.mst-ew__stand { font-weight: 600; }
.mst-ew__knoepfe { display: flex; gap: .6rem; flex: 0 0 auto; }
/* Beide Knöpfe gleich groß und gleich auffällig */
.mst-ew__knopf {
  appearance: none; cursor: pointer; font: inherit; font-weight: 600;
  min-width: 8.5rem; min-height: 44px; padding: .55rem 1.1rem; border-radius: 6px;
  background: var(--mst-ew-knopf, #1d2a2e); color: var(--mst-ew-knopf-fg, #fff);
  border: 2px solid var(--mst-ew-knopf, #1d2a2e);
}
.mst-ew__knopf:hover { filter: brightness(1.12); }
.mst-ew__knopf:focus-visible { outline: 3px solid var(--mst-ew-fokus, #e08a3c); outline-offset: 2px; }
@media (max-width: 560px) {
  .mst-ew__knoepfe { width: 100%; }
  .mst-ew__knoepfe .mst-ew__knopf { flex: 1 1 0; min-width: 0; }
}
html.mst-ew-offen body { padding-bottom: 9rem; }

.mst-ew-karte {
  position: relative; width: 100%; min-height: var(--mst-ew-h, 440px);
  border: 1px solid var(--mst-ew-rand, rgba(0,0,0,.15)); border-radius: 8px; overflow: hidden;
  background: var(--mst-ew-platz, #eef2f1);
}
.mst-ew-karte iframe { display: block; width: 100%; height: var(--mst-ew-h, 440px); border: 0; }
.mst-ew-karte__platz {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center;
  gap: .9rem; padding: 1.25rem; text-align: center;
}
.mst-ew-karte__platz p { margin: 0; max-width: 34rem; font-size: .92rem; }
.mst-ew-karte__platz a { color: inherit; }

/* Knopf im Kartenplatzhalter nicht strecken (Spaltenlayout) */
.mst-ew-karte__platz .mst-ew__knopf { flex: 0 0 auto; }
