/* rex-com.de/demo-zugang/ – Anmeldung für die Beispiel-Websites. Ergänzt style.css. */
.dz { --dz-card: #FFFFFF; --dz-err: #B91C1C; --dz-err-bg: #FEE2E2; --dz-ok: #166534; --dz-ok-bg: #DCFCE7; --dz-tint: #EEF2FF;
    padding-top: calc(48px + var(--cmd-h)); padding-bottom: 88px; }
@media (prefers-color-scheme: dark) {
    .dz { --ink: #F1F5F9; --dz-card: #0F1829; --dz-err: #FCA5A5; --dz-err-bg: #3B1111; --dz-ok: #86EFAC; --dz-ok-bg: #0F2E1C; --dz-tint: #151F3A; }
}
.dz :focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.dz-grid { display: grid; gap: 28px; align-items: start; max-width: 1040px; margin: 0 auto; }
.dz-card { position: relative; padding: 28px 22px 26px; border: 1px solid var(--line); border-radius: 20px; background: var(--dz-card); box-shadow: var(--shadow-lg); overflow: hidden; }
.dz-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: var(--grad); }
.dz h1 { font-size: clamp(1.7rem, 6vw, 2.3rem); line-height: 1.15; margin-bottom: 14px; overflow-wrap: break-word; hyphens: auto; }
.dz-lead { font-size: 1.05rem; margin-bottom: 22px; }
.dz-lead strong { color: var(--ink); }
.dz-target { display: grid; gap: 2px; margin: 0 0 22px; padding: 14px 16px; border-radius: 14px; background: var(--dz-tint); border-left: 4px solid var(--violet); }
.dz-target-label { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--muted); }
.dz-target strong { color: var(--ink); font-size: 1.1rem; }
.dz-target-host { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.92rem; color: var(--text); overflow-wrap: anywhere; }
.dz-error, .dz-note { margin: 0 0 18px; padding: 13px 16px; border-radius: 12px; }
.dz-error { background: var(--dz-err-bg); color: var(--dz-err); font-weight: 700; }
.dz-note { background: var(--soft); border: 1px solid var(--line); }
.dz-note-ok { background: var(--dz-ok-bg); border-color: transparent; color: var(--dz-ok); font-weight: 700; }
.dz-form { display: grid; gap: 4px; }
.dz .field { margin-bottom: 14px; }
.dz .field input { min-height: 50px; }
.dz-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.dz-check { display: flex; gap: 12px; align-items: flex-start; min-height: 44px; padding: 10px 12px; margin-bottom: 16px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; color: var(--ink); font-weight: 700; }
.dz-check:has(input:checked) { border-color: var(--brand); background: color-mix(in srgb, var(--brand) 7%, transparent); }
.dz-check input { width: 22px; height: 22px; margin-top: 1px; flex-shrink: 0; accent-color: var(--brand); }
.dz-check small { display: block; font-weight: 500; color: var(--muted); font-size: 0.86rem; }
.dz-submit { width: 100%; min-height: 54px; font-size: 1.08rem; }
.dz .btn { min-height: 48px; }
.dz-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.dz-actions form { margin: 0; }
.dz-logout { margin: 18px 0 0; font-size: 0.92rem; text-align: center; }
.dz-logout a { color: var(--muted); display: inline-block; padding: 12px 6px; }
.dz-logout a:hover { color: var(--brand); }
.dz-aside { padding: 4px 4px 0; }
.dz-aside h2 { font-size: 1.25rem; margin-bottom: 12px; }
.dz-aside p { margin-bottom: 12px; }
.dz-aside strong { color: var(--ink); }
.dz-small { font-size: 0.88rem; color: var(--muted); }
.dz-small a { color: inherit; }
/* Weiter mit der RexCom-Anmeldung (SSO, seit 28.09.2026): Knopf oben, normales Formular aufklappbar darunter */
.dz-sso-hint { margin: 12px 0 18px; }
.dz-other { border-top: 1px solid var(--line); padding-top: 6px; }
.dz-other summary { display: flex; align-items: center; gap: 10px; min-height: 48px; cursor: pointer; font-weight: 700; color: var(--ink); list-style: none; }
.dz-other summary::-webkit-details-marker { display: none; }
.dz-other summary::before { content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); transition: transform 0.15s ease; flex-shrink: 0; }
.dz-other[open] summary::before { transform: rotate(45deg); }
.dz-other summary:hover { color: var(--brand); }
.dz-other[open] summary { margin-bottom: 10px; }
@media (prefers-reduced-motion: reduce) { .dz-other summary::before { transition: none; } }
@media (min-width: 860px) {
    .dz-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 56px; }
    .dz-card { padding: 38px 36px 34px; }
    .dz-aside { padding-top: 38px; }
}
@media (prefers-reduced-motion: reduce) {
    .dz .btn { transition: none; }
}
