/* Kundenportal „Trialog Zuhause“: dunkelblauer Rahmen (Freigabe Daniel 30.11.2026), weisses Feld, immer hell. */
@font-face { font-family: "Libre Bodoni"; src: url(../assets/fonts/libre-bodoni-latin.woff2) format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Inter"; src: url(../assets/fonts/inter-latin.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
:root { color-scheme: light; --pt-rahmen: #0b1220; --pt-navy: #16254a; --pt-gold: #d4a853; --pt-tinte: #16254a; --pt-leise: #5a6377; --pt-linie: #e2e5ec; --pt-feld: #ffffff; --pt-flaeche: #f4f5f8; --pt-rot: #c4261c; --pt-gruen: #047857; }
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body { background: var(--pt-feld); color: var(--pt-tinte); font: 16px/1.55 "Inter", -apple-system, "Segoe UI", Roboto, Arial, sans-serif; display: flex; flex-direction: column; min-height: 100vh; }
.pt-kopf { background: var(--pt-rahmen); color: #fff; display: flex; align-items: center; gap: 14px; padding: calc(env(safe-area-inset-top, 0px) + 16px) max(5vw, 16px) 16px; }
.pt-marke { height: 28px; width: auto; }
.pt-titel { font-size: 14px; color: rgba(255, 255, 255, .72); border-left: 1px solid rgba(255, 255, 255, .22); padding-left: 14px; }
.pt-feld { flex: 1; display: flex; justify-content: center; padding: 40px max(5vw, 16px); }
.pt-karte { width: 100%; max-width: 520px; display: flex; flex-direction: column; gap: 16px; }
.pt-karte h1 { font-family: "Libre Bodoni", Georgia, serif; font-weight: 600; font-size: clamp(30px, 6vw, 40px); line-height: 1.1; margin: 0; letter-spacing: -.01em; }
.pt-karte p { margin: 0; }
.pt-leise { color: var(--pt-leise); }
.pt-schritt { font-size: 13px; color: var(--pt-leise); font-weight: 600; }
.pt-hinweis { border-left: 3px solid var(--pt-gold); background: var(--pt-flaeche); padding: 10px 14px; border-radius: 0 10px 10px 0; font-size: 15px; }
.pt-fehler { border-left-color: var(--pt-rot); color: var(--pt-rot); }
.pt-feldgruppe { display: flex; flex-direction: column; gap: 6px; }
.pt-feldgruppe label { font-size: 14px; font-weight: 600; }
.pt-eingabe { border: 1px solid #9ca8bc; border-radius: 10px; padding: 12px; font: inherit; font-size: 16px; color: var(--pt-tinte); background: #fff; width: 100%; }
.pt-eingabe:focus { outline: 2px solid var(--pt-gold); outline-offset: 1px; }
.pt-code { font-size: 26px; letter-spacing: .4em; text-align: center; font-variant-numeric: tabular-nums; }
.pt-knopf { display: inline-flex; justify-content: center; align-items: center; gap: 8px; min-height: 48px; padding: 12px 18px; border-radius: 12px; border: 0; background: var(--pt-gold); color: var(--pt-navy); font: inherit; font-weight: 700; cursor: pointer; }
.pt-knopf:disabled { opacity: .5; cursor: not-allowed; }
.pt-knopf.pt-zweit { background: transparent; border: 1px solid var(--pt-linie); color: var(--pt-tinte); font-weight: 600; }
.pt-haken { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.pt-haken input { width: 22px; height: 22px; margin-top: 2px; flex: none; accent-color: var(--pt-navy); }
.pt-text { max-height: 220px; overflow-y: auto; border: 1px solid var(--pt-linie); border-radius: 10px; padding: 12px 14px; font-size: 14px; color: #36405a; background: var(--pt-flaeche); }
.pt-text h2 { font-size: 15px; margin: 10px 0 4px; }
.pt-text h2:first-child { margin-top: 0; }
.pt-text p { margin: 0 0 6px; }
.pt-fertig { width: 64px; height: 64px; border-radius: 32px; background: var(--pt-gruen); color: #fff; display: grid; place-items: center; font-size: 30px; }
.pt-fuss { padding: 18px max(5vw, 16px) calc(env(safe-area-inset-bottom, 0px) + 18px); font-size: 13px; color: var(--pt-leise); text-align: center; }
.pt-fuss a { color: var(--pt-leise); }
