/* ==========================================================================
   Gemeinsame Basis für alle Beispielseiten:
   Reset, Hinweis-Banner, Mobile-Menü-Mechanik, feste Anrufleiste.
   Das Aussehen jeder Firma steht in deren eigener style.css.
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
ul, ol { margin: 0; padding: 0; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { margin: 0 0 .5em; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -80px; z-index: 300;
  padding: 10px 16px; border-radius: 8px;
  background: #111; color: #fff; font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- Kopfbereich: Banner + Header bleiben oben ---------- */
.page-top { position: sticky; top: 0; z-index: 100; }

.demo-banner {
  margin: 0;
  padding: 7px 14px;
  background: #101418;
  color: #d9dee3;
  font-size: 12.5px;
  line-height: 1.35;
  letter-spacing: .01em;
  text-align: center;
}
.demo-banner strong { color: #fff; font-weight: 650; }
.demo-banner a { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
.demo-banner a:hover { color: #9fe0d6; }

@media (max-width: 420px) {
  .demo-banner { font-size: 11.5px; padding-inline: 10px; }
}

/* ---------- Mobile-Menü (Mechanik) ---------- */
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-open { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }
.no-js .nav-toggle { display: none; }

@media (max-width: 899.98px) {
  .js .site-nav { display: none; }
  .js.nav-open .site-nav { display: block; }
}
@media (min-width: 900px) {
  .nav-toggle[data-nav-toggle] { display: none; }
}

/* ---------- Feste Anrufleiste auf dem Handy ---------- */
.callbar { display: none; }
@media (max-width: 759.98px) {
  body { padding-bottom: calc(74px + env(safe-area-inset-bottom)); }
  .callbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    box-shadow: 0 -6px 24px rgba(0, 0, 0, .1);
  }
}

/* Linien-Icons */
.icon { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Platzhalter-Karte */
.map-placeholder { position: relative; overflow: hidden; }
.map-placeholder svg { width: 100%; height: 100%; }
