/* Anfrage-Pop-up (Emanuel 18.10.2026, wie Nevereverrust) */
.ap { padding: 0; border: 0; background: transparent; color: hsl(var(--foreground)); width: calc(100% - 24px); max-width: 560px; max-height: calc(100dvh - 24px); overflow: visible; }
.ap::backdrop { background: rgba(0, 0, 0, .75); }
.ap-karte { position: relative; background: hsl(var(--card)); border: 1px solid rgba(212, 175, 53, .35); border-radius: 18px; padding: 22px 20px 24px; max-height: calc(100dvh - 24px); overflow-y: auto; box-shadow: 0 30px 80px rgba(0, 0, 0, .6), 0 0 30px rgba(212, 175, 53, .12); }
.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: hsl(var(--primary)); font-weight: 600; margin: 0 0 4px; }
.ap h2 { font-size: 1.5rem; line-height: 1.2; font-weight: 700; margin: 0; color: hsl(var(--foreground)); }
.ap-zu { width: 44px; height: 44px; flex: none; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2); background: transparent; color: hsl(var(--foreground)); font-size: 1.6rem; line-height: 1; cursor: pointer; }
.ap-zu:hover, .ap-zu:focus-visible { border-color: hsl(var(--primary)); color: hsl(var(--primary)); outline: none; }
.ap-text { margin: 8px 0 18px; color: hsl(var(--muted-foreground)); font-size: .95rem; }
.ap .toast { z-index: 2; }
html.ap-offen { overflow: hidden; }
html.ap-offen [data-fab] { 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)); }
}

/* Landingpage: Trichter im Fenster – eigener Rahmen entfällt, Schließen-Knopf oben rechts */
.ap--lp .ap-kopf { position: absolute; top: 12px; right: 12px; z-index: 3; }
.ap--lp .ap-karte { padding: 18px 18px 22px; background: rgba(13, 15, 18, .98); }
.ap--lp .lp-trichter { border: 0; box-shadow: none; background: transparent; padding: 0; }
.ap--lp .lp-trichter > div > :first-child { padding-right: 52px; }
html.ap-offen .lp-fest { visibility: hidden !important; }

/* Startseite: Einleitung entzerrt (Emanuel 18.10.2026) – Leistungen als Kacheln, Kontakt als Knöpfe */
.ok-intro-liste { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 10px; }
@media (min-width: 640px) { .ok-intro-liste { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .ok-intro-liste { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ok-intro-kachel { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 52px; padding: 12px 16px; border: 1px solid rgba(212, 175, 53, .35); border-radius: 12px; background: hsl(var(--card)); color: hsl(var(--foreground)); font-weight: 500; font-size: 1rem; line-height: 1.35; text-decoration: none; transition: border-color .2s, background-color .2s, color .2s; }
.ok-intro-kachel svg { flex: none; color: hsl(var(--primary)); }
.ok-intro-kachel:hover, .ok-intro-kachel:focus-visible { border-color: hsl(var(--primary)); background: hsl(var(--primary) / .1); color: hsl(var(--primary)); outline: none; }
.ok-intro-knoepfe { display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 640px) { .ok-intro-knoepfe { flex-direction: row; flex-wrap: wrap; } }
