/* preisfrei.css (31.10.2026, Ruben): Freischalt-Pop-up fuer die Preise, Design nach der Layro-AuthCard-Vorlage.
   Zweistufig: E-Mail + Firma -> Code anfordern; dann 6 OTP-Boxen -> Bestaetigen. Nur von /preise + /angebot geladen. */
.pf-schleier { position: fixed; inset: 0; z-index: 1400; display: flex; align-items: center; justify-content: center; padding: 20px;
  background: rgba(14, 13, 26, .6); backdrop-filter: blur(4px); animation: pf-ein .18s ease both; }
.pf-karte { position: relative; width: 100%; max-width: 420px; box-sizing: border-box; background: #fff; color: #17171f;
  border: 1px solid #e5e7ec; border-radius: 20px; overflow: hidden; box-shadow: 0 28px 70px -24px rgba(13,13,25,.6);
  font: 400 14px/1.55 Inter, system-ui, sans-serif; animation: pf-auf .22s cubic-bezier(.2,.8,.2,1) both; }
.pf-karte [hidden] { display: none !important; }
@keyframes pf-ein { from { opacity: 0 } to { opacity: 1 } }
@keyframes pf-auf { from { opacity: 0; transform: translateY(10px) scale(.98) } to { opacity: 1; transform: none } }
@media (prefers-reduced-motion: reduce) { .pf-schleier, .pf-karte { animation: none } }

/* Bild-Header (Vorlage: AuthCard) */
.pf-bild { position: relative; height: 150px; background: #e9e8f3; }
.pf-bild img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pf-bild::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(13,13,25,.28), rgba(13,13,25,.02) 55%, rgba(255,255,255,0)); pointer-events: none; }
.pf-koerper { padding: 36px 28px 26px; }

/* Schloss-Plakette sitzt auf der Nahtstelle zwischen Bild und Körper */
.pf-logo { position: absolute; left: 28px; bottom: -22px; z-index: 2; display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 13px; background: linear-gradient(135deg, #2B75FF, #9809FF); color: #fff;
  box-shadow: 0 6px 18px -6px rgba(43,117,255,.7); }
.pf-logo svg { width: 24px; height: 24px; }
.pf-kicker { margin: 0 0 4px; font-size: 11.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #7c3aff; }
.pf-titel { margin: 0 0 6px; font-size: 20px; font-weight: 700; letter-spacing: -.02em; }
.pf-text { margin: 0 0 20px; font-size: 13px; color: #5a5a72; line-height: 1.5; }

.pf-feld { display: grid; gap: 6px; margin: 0 0 14px; }
.pf-feld label { font-size: 12.5px; font-weight: 600; color: #4a4a5e; }
.pf-feld input { width: 100%; box-sizing: border-box; height: 42px; padding: 0 13px; border: 1px solid #d7d7e2; border-radius: 11px;
  background: #fcfcfe; color: #18181f; font: 14px/1.2 inherit; transition: border-color .15s, box-shadow .15s; }
.pf-feld input:focus { outline: none; border-color: #7c3aff; box-shadow: 0 0 0 3px rgba(124,58,255,.16); }

/* Freiwilliges Werbe-Haekchen (Double-Opt-in). Nicht vorangekreuzt; von der Freischaltung getrennt. */
.pf-check { display: flex; align-items: flex-start; gap: 9px; margin: 2px 0 16px; cursor: pointer;
  font-size: 12px; line-height: 1.45; color: #6a6a80; }
.pf-check input { flex: none; width: 16px; height: 16px; margin: 1px 0 0; accent-color: #7c3aff; cursor: pointer; }
.pf-check span { flex: 1; }

.pf-toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 1500; max-width: 420px;
  box-sizing: border-box; margin: 0 16px; padding: 13px 18px; border-radius: 12px; background: #17171f; color: #fff;
  font: 400 13px/1.45 Inter, system-ui, sans-serif; box-shadow: 0 16px 40px -12px rgba(13,13,25,.55);
  opacity: 1; transition: opacity .5s ease; }
.pf-toast-weg { opacity: 0; }

.pf-knopf { display: block; width: 100%; box-sizing: border-box; height: 44px; margin: 4px 0 0; border: 0; border-radius: 11px;
  background: linear-gradient(135deg, #2B75FF, #7c3aff); color: #fff; font: 600 15px/1 inherit; cursor: pointer;
  transition: filter .15s, transform .1s; }
.pf-knopf:hover { filter: brightness(1.06); }
.pf-knopf:active { transform: translateY(1px); }
.pf-knopf:disabled { opacity: .5; cursor: not-allowed; }

.pf-fehler { margin: 0 0 12px; padding: 9px 12px; border-radius: 10px; background: #fdecea; color: #a1281b; font-size: 12.5px; }
.pf-fehler[hidden] { display: none !important; }
.pf-klein { margin: 14px 0 0; text-align: center; font-size: 12px; color: #8a8aa0; line-height: 1.45; }
.pf-zurueck { display: inline-flex; align-items: center; gap: 6px; margin: 14px auto 0; padding: 4px; border: 0; background: none;
  color: #6a4bff; font: 600 12.5px/1 inherit; cursor: pointer; }
.pf-zurueck:hover { text-decoration: underline; }
.pf-zu { position: absolute; top: 12px; right: 12px; z-index: 3; width: 32px; height: 32px; display: grid; place-items: center;
  border: 0; border-radius: 999px; background: rgba(255,255,255,.92); color: #33333f; cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,.2); }
.pf-zu:hover { background: #fff; color: #111; }
.pf-zu svg { width: 16px; height: 16px; }

/* OTP: 6 Boxen, Gruppe 3+3 */
.pf-otp { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 4px 0 16px; }
.pf-otp input { width: 44px; height: 52px; text-align: center; font: 700 20px/1 inherit; border: 1px solid #d7d7e2;
  border-radius: 11px; background: #fcfcfe; color: #18181f; }
.pf-otp input:focus { outline: none; border-color: #7c3aff; box-shadow: 0 0 0 3px rgba(124,58,255,.16); }
.pf-otp .pf-otp-trenn { width: 8px; height: 2px; border-radius: 2px; background: #d7d7e2; }

/* Preis-Platzhalter in den Seiten: Blur, bis freigeschaltet */
.preis-gesperrt { filter: blur(8px); user-select: none; pointer-events: none; }
.preis-schloss { display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: none;
  font: inherit; font-size: 13px; color: #6a4bff; cursor: pointer; text-decoration: none; }
button.preis-schloss:hover { text-decoration: underline; }

@media (max-width: 460px) {
  .pf-bild { height: 118px; }
  .pf-koerper { padding: 32px 20px 22px; }
  .pf-logo { left: 20px; }
  .pf-otp input { width: 38px; height: 46px; font-size: 18px; }
}
