/* Anfrage-Pop-up (Startpilot-Standard 15.10.2026, Vorbild nevereverrust.de): Kontaktformular als Fenster.
   Am Handy Vollbild, am Rechner Karte (max. 560 px). Farben je Kunde unten in :root. */
:root {
  --ap-grund: #11151c;
  --ap-rand: rgba(255, 255, 255, .2);
  --ap-text: #f1f5f9;
  --ap-text-leise: rgba(219, 234, 254, .8);
  --ap-akzent: #00ffff;
  --ap-titel: #ffffff;
  --ap-titel-schrift: inherit;
  --ap-hinten: rgba(0, 0, 0, .72);
}
.ap { padding: 0; border: 0; background: transparent; color: var(--ap-text); width: calc(100% - 24px); max-width: 560px; max-height: calc(100dvh - 24px); overflow: visible; }
.ap::backdrop { background: var(--ap-hinten); }
.ap-karte { background: var(--ap-grund); color: var(--ap-text); border: 1px solid var(--ap-rand); border-radius: 18px; padding: 22px 20px 24px; max-height: calc(100dvh - 24px); overflow-y: auto; overscroll-behavior: contain; box-shadow: 0 30px 80px rgba(0, 0, 0, .45); text-align: left; }
.ap-kopf { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.ap-braue { font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ap-akzent); font-weight: 700; margin: 0 0 4px; }
.ap .ap-titel { font-family: var(--ap-titel-schrift); font-size: 1.5rem; line-height: 1.2; font-weight: 700; margin: 0; color: var(--ap-titel); }
.ap-zu { width: 44px; height: 44px; flex: none; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; border: 1px solid var(--ap-rand); background: transparent; color: var(--ap-text); font-size: 1.6rem; line-height: 1; cursor: pointer; padding: 0; }
.ap-zu:hover, .ap-zu:focus-visible { border-color: var(--ap-akzent); color: var(--ap-akzent); outline: none; }
.ap-text { margin: 8px 0 18px; color: var(--ap-text-leise); font-size: .95rem; line-height: 1.5; }
html.ap-offen { overflow: hidden; }
html.ap-offen #kl { display: none !important; }
@media (max-width: 640px) {
  .ap { width: 100%; max-width: none; height: 100dvh; max-height: 100dvh; margin: 0; }
  .ap-karte { border-radius: 0; border-width: 0; height: 100dvh; max-height: 100dvh; padding: 18px 16px calc(24px + env(safe-area-inset-bottom)); }
}
