/*! infiniWEB — Quick links. © 2026 infiniWEB GmbH · https://www.website-erstellen-lassen-schweiz.ch · Proprietary. All rights reserved. */

/* Site pages: the shared contact bar from the blocks library, with two equal halves and room below the footer. */
@media (max-width: 767.98px) {
  .iwx-cta-bar--wel { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); }
  .iwx-cta-bar--wel .iwx-btn--secondary { font-size: 0.9375rem; gap: 0.5rem; padding-inline: 0.875rem; }
  html[data-iwx-cta-bar-shown] body { padding-bottom: var(--iwx-cta-bar-h, 4.25rem); }
  /* The guide slide-in from infiniweb.swiss measures only round buttons, so it is lifted above the bar here. */
  html[data-iwx-cta-bar-shown] :is(.iwx-lfs, .iwx-lfs-knob) { --lfs-bottom: calc(var(--iwx-cta-bar-h, 4.25rem) + 12px) !important; }
}

/* Example pages: they carry their own design, so this layer brings its own colours and type. */
.iwx-bsp-kopf, .iwx-bsp-leiste {
  --iwx-bsp-blue: #1f5fae;
  --iwx-bsp-blue-strong: #174a8a;
  --iwx-bsp-ink: #14213d;
  --iwx-bsp-line: #d5dbe5;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* The page's own notice scrolls away; this one-line copy takes over at the same spot, in the page's colours. */
.iwx-bsp-kopf {
  position: fixed; top: 0; left: 0; right: 0; z-index: 2147483000;
  margin: 0; padding: 7px 16px;
  font-size: 14px; line-height: 1.4; font-weight: 500; text-align: center;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  visibility: hidden;
}
.iwx-bsp-kopf.is-an { visibility: visible; }
.iwx-bsp-kopf a { color: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }

.iwx-bsp-leiste {
  position: fixed; left: 50%; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 2147483000;
  display: flex; gap: 8px; padding: 6px;
  border-radius: 999px; background: #fff;
  box-shadow: 0 0 0 1px rgb(20 33 61 / .08), 0 12px 32px -12px rgb(20 33 61 / .45);
  transform: translateX(-50%);
}
.iwx-bsp-leiste a {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 40px; padding: 8px 18px; border-radius: 999px;
  font-size: 15px; line-height: 1.2; font-weight: 650; text-decoration: none; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s;
}
.iwx-bsp-leiste svg { width: 16px; height: 16px; flex: none; }
.iwx-bsp-kurz { display: none; }
.iwx-bsp-zurueck { color: var(--iwx-bsp-ink); background: #fff; border: 1.5px solid var(--iwx-bsp-line); }
.iwx-bsp-zurueck:hover { border-color: var(--iwx-bsp-ink); }
.iwx-bsp-preise { color: #fff; background: var(--iwx-bsp-blue); border: 1.5px solid var(--iwx-bsp-blue); }
.iwx-bsp-preise:hover { background: var(--iwx-bsp-blue-strong); border-color: var(--iwx-bsp-blue-strong); }
.iwx-bsp-leiste a:focus-visible { outline: 3px solid var(--iwx-bsp-blue); outline-offset: 2px; }
body.iwx-bsp-hat-leiste { padding-bottom: 76px; }

/* Phones: the pair sits flush on the bottom edge, as on the main site. */
@media (max-width: 767.98px) {
  .iwx-bsp-kopf { padding: 6px 12px; font-size: 13px; line-height: 1.35; white-space: normal; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; }
  .iwx-bsp-leiste {
    left: 0; right: 0; bottom: 0; transform: none;
    display: grid; grid-template-columns: 1fr 1fr;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    border-radius: 0; border-top: 1px solid var(--iwx-bsp-line);
    box-shadow: 0 -10px 28px -18px rgb(20 33 61 / .35);
  }
  .iwx-bsp-leiste a { min-height: 44px; padding: 8px 10px; border-radius: 10px; font-size: 15px; }
  .iwx-bsp-lang { display: none; }
  .iwx-bsp-kurz { display: inline; }
  body.iwx-bsp-hat-leiste { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
}
@media (max-width: 359.98px) {
  .iwx-bsp-leiste a { font-size: 14px; padding-inline: 6px; }
  .iwx-bsp-leiste svg { display: none; }
}
@media print { .iwx-bsp-kopf, .iwx-bsp-leiste { display: none; } }
