/* Nectify V2: Anmelde- und Erstzugangsseite im Website-V2-Stil (html.nxauth2). Nur Gestaltung. */
@font-face{font-family:"Manrope";font-style:normal;font-weight:400 800;font-display:swap;src:url("/partnerportal/fonts/manrope-var.woff2") format("woff2")}
html.nxauth2{--a2-bg:#f7f7fa;--a2-surface:#fff;--a2-surface2:#f4f3fa;--a2-text:#14151d;--a2-text2:#3b3d4c;--a2-muted:#6b6d7d;--a2-line:rgba(20,20,40,.09);--a2-line2:rgba(20,20,40,.15);
  --a2-acc:#5b47e0;--a2-acc-ink:#fff;--a2-accsoft:rgba(91,71,224,.09);--a2-accline:rgba(91,71,224,.28);--a2-mint:#18a37a;--a2-glow:rgba(122,104,240,.16);
  --a2-shadow:0 1px 2px rgba(20,20,50,.04),0 22px 60px -26px rgba(40,30,120,.3)}
@media (prefers-color-scheme:dark){html.nxauth2:not([data-theme="light"]){--a2-bg:#0f1017;--a2-surface:#181926;--a2-surface2:#1e1f2e;--a2-text:#f2f2f7;--a2-text2:#cfd0dc;--a2-muted:#9a9cb0;--a2-line:rgba(255,255,255,.08);--a2-line2:rgba(255,255,255,.14);--a2-acc:#8b7bff;--a2-acc-ink:#0f0d24;--a2-accsoft:rgba(139,123,255,.14);--a2-accline:rgba(139,123,255,.4);--a2-mint:#3fd0a3;--a2-glow:rgba(139,123,255,.18);--a2-shadow:0 1px 2px rgba(0,0,0,.3),0 22px 60px -24px rgba(0,0,0,.65)}}
html.nxauth2[data-theme="dark"]{--a2-bg:#0f1017;--a2-surface:#181926;--a2-surface2:#1e1f2e;--a2-text:#f2f2f7;--a2-text2:#cfd0dc;--a2-muted:#9a9cb0;--a2-line:rgba(255,255,255,.08);--a2-line2:rgba(255,255,255,.14);--a2-acc:#8b7bff;--a2-acc-ink:#0f0d24;--a2-accsoft:rgba(139,123,255,.14);--a2-accline:rgba(139,123,255,.4);--a2-mint:#3fd0a3;--a2-glow:rgba(139,123,255,.18);--a2-shadow:0 1px 2px rgba(0,0,0,.3),0 22px 60px -24px rgba(0,0,0,.65)}
html.nxauth2 body{font-family:"Manrope",-apple-system,"Segoe UI",sans-serif}
/* Kopfzeile */
html.nxauth2 #ppTopbar{height:58px!important;padding:0 max(24px,calc((100vw - 1200px)/2 + 24px))!important;gap:28px!important;background:color-mix(in srgb,var(--a2-bg) 84%,transparent)!important;backdrop-filter:saturate(1.4) blur(14px);-webkit-backdrop-filter:saturate(1.4) blur(14px);border-bottom:1px solid var(--a2-line)!important;box-shadow:none!important}
html.nxauth2 #ppTopbar .pp-topbar__brand img{height:28px!important;width:auto!important}
html.nxauth2 #ppTopbar .pp-topbar__links{gap:2px!important;flex:1 1 auto}
html.nxauth2 #ppTopbar .pp-topbar__links a{font-size:15px!important;font-weight:600!important;color:var(--a2-text2)!important;padding:8px 12px;border-radius:10px;white-space:nowrap}
html.nxauth2 #ppTopbar .pp-topbar__links a:hover{background:var(--a2-accsoft);color:var(--a2-acc)!important}
html.nxauth2 .auth2-top__acts{margin-left:auto;display:flex;align-items:center;gap:8px}
html.nxauth2 .auth2-top__home{font-size:14.5px;font-weight:700;color:var(--a2-text);border:1px solid var(--a2-line2);height:40px;display:inline-flex;align-items:center;padding:0 16px;border-radius:999px;white-space:nowrap}
html.nxauth2 .auth2-top__home:hover{border-color:var(--a2-acc);color:var(--a2-acc)}
@media (max-width:1180px){html.nxauth2 #ppTopbar .pp-topbar__links a{padding:8px 8px;font-size:14px!important}}
@media (max-width:960px){html.nxauth2 #ppTopbar .pp-topbar__links{display:none!important}html.nxauth2 #ppTopbar{padding:0 20px!important}}
/* Bildschirm und Raster */
html.nxauth2 #loginScreen{background:var(--a2-bg)!important;position:relative;overflow:hidden;min-height:calc(100dvh - 58px);flex-direction:column;align-items:stretch!important;justify-content:flex-start!important;padding:0!important}
html.nxauth2 #loginScreen::before{content:"";position:absolute;right:-12%;top:-18%;width:min(900px,80vw);aspect-ratio:1;border-radius:50%;background:radial-gradient(closest-side,var(--a2-glow),transparent 70%);pointer-events:none}
html.nxauth2 .auth2-wrap{position:relative;z-index:1;width:100%;max-width:1200px;margin:0 auto;padding:clamp(32px,6vw,80px) 24px;display:grid;grid-template-columns:minmax(0,1fr) 440px;gap:clamp(32px,6vw,96px);align-items:center;flex:1}
html.nxauth2 .auth2-intro{display:grid;gap:20px;justify-items:start;color:var(--a2-text)}
html.nxauth2 .auth2-eb{display:inline-flex;align-items:center;gap:8px;padding:7px 14px;border-radius:999px;background:var(--a2-accsoft);color:var(--a2-acc);font-size:12.5px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
html.nxauth2 .auth2-eb::before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor}
html.nxauth2 .auth2-intro h1{margin:0;font-size:clamp(36px,4.2vw,56px);font-weight:800;letter-spacing:-.035em;line-height:1.05;text-wrap:balance;color:var(--a2-text)}
html.nxauth2 .auth2-hl{color:var(--a2-acc);background-image:linear-gradient(var(--a2-accline),var(--a2-accline));background-repeat:no-repeat;background-size:100% .09em;background-position:0 96%}
html.nxauth2 .auth2-intro p{margin:0;font-size:18px;line-height:1.6;color:var(--a2-muted);max-width:46ch}
html.nxauth2 .auth2-intro ul{list-style:none;margin:4px 0 0;padding:0;display:grid;gap:10px;font-size:15px;font-weight:600;color:var(--a2-muted)}
html.nxauth2 .auth2-intro li{display:flex;align-items:center;gap:9px}
html.nxauth2 .auth2-intro li svg{width:19px;height:19px;color:var(--a2-mint);flex:none}
@media (max-width:960px){html.nxauth2 .auth2-wrap{grid-template-columns:minmax(0,1fr);max-width:560px;padding:24px 16px 40px;gap:20px}html.nxauth2 .auth2-intro{display:none}}
/* Karte */
html.nxauth2 #loginScreen .login-card{width:100%!important;max-width:none!important;margin:0!important;background:var(--a2-surface)!important;border:1px solid var(--a2-line)!important;border-radius:26px!important;box-shadow:var(--a2-shadow)!important;padding:clamp(24px,3vw,34px)!important;color:var(--a2-text)}
html.nxauth2 #loginScreen .login-card .brand{display:flex;align-items:center;margin-bottom:18px}
html.nxauth2 #loginScreen .login-card .brand img{height:26px;width:auto}
html.nxauth2 .auth2-logo-d{display:none}
@media (prefers-color-scheme:dark){html.nxauth2:not([data-theme="light"]) .auth2-logo-l{display:none}html.nxauth2:not([data-theme="light"]) .auth2-logo-d{display:block}}
html.nxauth2[data-theme="dark"] .auth2-logo-l{display:none}html.nxauth2[data-theme="dark"] .auth2-logo-d{display:block}
html.nxauth2 #loginScreen .auth-tabs{background:var(--a2-surface2)!important;border:1px solid var(--a2-line)!important;border-radius:999px!important;padding:4px!important;gap:4px}
html.nxauth2 #loginScreen .auth-tab{border-radius:999px!important;font-weight:700!important;font-size:14.5px!important;height:40px;color:var(--a2-muted)!important;background:transparent!important;border:0!important;box-shadow:none!important}
html.nxauth2 #loginScreen .auth-tab.is-active{background:var(--a2-surface)!important;color:var(--a2-text)!important;box-shadow:0 2px 10px -4px rgba(20,20,60,.25)!important}
html.nxauth2 #loginScreen .login-greeting{font-size:24px!important;font-weight:800!important;letter-spacing:-.025em;color:var(--a2-text)!important;margin-top:18px!important}
html.nxauth2 #loginScreen .login-sub,html.nxauth2 #loginScreen .demo-note{color:var(--a2-muted)!important}
html.nxauth2 #loginScreen .field label,html.nxauth2 #loginScreen label{color:var(--a2-text2)!important;font-weight:700!important;font-size:13px!important}
html.nxauth2 #loginScreen input:not([type=checkbox]):not([type=radio]),html.nxauth2 #loginScreen select,html.nxauth2 #loginScreen textarea{border-radius:12px!important;border:1px solid var(--a2-line2)!important;background:var(--a2-surface2)!important;color:var(--a2-text)!important;min-height:46px;font-size:15.5px!important;box-shadow:none!important}
html.nxauth2 #loginScreen input:focus,html.nxauth2 #loginScreen select:focus,html.nxauth2 #loginScreen textarea:focus{outline:none!important;border-color:var(--a2-acc)!important;box-shadow:0 0 0 4px var(--a2-accsoft)!important;background:var(--a2-surface)!important}
html.nxauth2 #loginScreen input[type=checkbox]{accent-color:var(--a2-acc)}
html.nxauth2 #loginScreen .login-submit,html.nxauth2 #loginScreen button[type=submit]{height:50px!important;border-radius:999px!important;background:var(--a2-text)!important;color:var(--a2-bg)!important;font-weight:800!important;font-size:15.5px!important;border:0!important;box-shadow:none!important;transition:transform .15s,box-shadow .2s}
html.nxauth2 #loginScreen .login-submit:hover{transform:translateY(-1px);box-shadow:0 12px 28px -12px rgba(20,20,60,.5)!important}
html.nxauth2 #loginScreen .connect-btn{height:46px!important;border-radius:999px!important;background:transparent!important;border:1px solid var(--a2-line2)!important;color:var(--a2-text)!important;font-weight:700!important}
html.nxauth2 #loginScreen .connect-btn:hover{border-color:var(--a2-acc)!important;color:var(--a2-acc)!important}
html.nxauth2 #loginScreen .login-forgot{color:var(--a2-muted)!important}
html.nxauth2 #loginScreen .login-forgot:hover{color:var(--a2-acc)!important}
html.nxauth2 #loginScreen .reg-progress{height:6px!important;border-radius:9px!important;background:var(--a2-surface2)!important;overflow:hidden}
html.nxauth2 #loginScreen .reg-progress__bar{border-radius:9px!important;background:linear-gradient(90deg,#5b47e0,#7d6cf2)!important}
html.nxauth2 #loginScreen .reg-step-label{color:var(--a2-acc)!important;font-weight:800!important;letter-spacing:.1em!important}
html.nxauth2 #loginScreen .reg-step__title{font-size:20px!important;font-weight:800!important;letter-spacing:-.02em;color:var(--a2-text)!important}
html.nxauth2 #loginScreen .reg-branch-choice{border-radius:999px!important;border:1px solid var(--a2-line2)!important;background:var(--a2-surface)!important;color:var(--a2-text)!important;font-weight:700!important;padding:9px 16px!important;transition:all .15s}
html.nxauth2 #loginScreen .reg-branch-choice:not(.is-soon):hover,html.nxauth2 #loginScreen .reg-branch-choice.is-selected,html.nxauth2 #loginScreen .reg-branch-choice.is-active{border-color:var(--a2-acc)!important;background:var(--a2-accsoft)!important;color:var(--a2-acc)!important}
html.nxauth2 #loginScreen .reg-branch-choice.is-soon{opacity:.55}
/* Fusszeile */
html.nxauth2 #ppFooterbar{position:relative;z-index:1;background:transparent!important;border-top:1px solid var(--a2-line)!important;margin-top:auto}
html.nxauth2 #ppFooterbar .hv2-footer__links a{color:var(--a2-muted)!important;font-weight:600}
html.nxauth2 #ppFooterbar .hv2-footer__links a:hover{color:var(--a2-acc)!important}
html.nxauth2 .auth2-top__home{text-decoration:none!important}
html.nxauth2 #loginScreen{padding-top:58px!important}
@media (max-width:960px){html.nxauth2 .auth2-wrap{padding-top:20px}}

/* 09.11.2026: kein Aufblitzen der alten Anmeldung. Bis nx-auth-v2.js umgebaut hat (und das Portal Login,
   Erstzugang oder Demo gewaehlt hat), bleiben Maske und alte Navigationstexte unsichtbar. Nur visibility,
   nie display: das Portal steuert die Anzeige von #loginScreen selbst. Notbremse: Gate setzt nxauth2-on nach 2,5 s. */
html.nxauth2:not(.nxauth2-on) #loginScreen,
html.nxauth2:not(.nxauth2-on) #ppTopbar .pp-topbar__links,
html.nxauth2:not(.nxauth2-on) #ppFooterbar .hv2-footer__links{visibility:hidden}

/* 09.11.2026: Text links bleibt oben stehen, egal wie hoch die Karte rechts wird (Erstzugang-Schritte) */
@media (min-width:961px){
  html.nxauth2 .auth2-wrap{align-items:start}
  html.nxauth2 .auth2-intro{position:sticky;top:clamp(96px,12vh,140px);padding-top:clamp(8px,4vh,48px)}
}

/* 09.11.2026: Ladeansicht V2 (Demo-Start, Demo-Knopf, nach der Anmeldung). Markup: nx-loader-v2.html bzw. nx-auth-v2.js */
html.nxauth2 .nxl2:not([hidden]),html.nxauth2 #nxLoginSplash.nxl2{flex-direction:column;align-items:center;justify-content:center;gap:0;background:var(--a2-bg)!important;color:var(--a2-text);font-family:"Manrope",-apple-system,"Segoe UI",sans-serif;padding:24px;text-align:center}
html.nxauth2 .nxl2::before{content:"";position:absolute;left:50%;top:42%;width:min(720px,120vw);aspect-ratio:1;transform:translate(-50%,-50%);border-radius:50%;background:radial-gradient(closest-side,var(--a2-glow),transparent 70%);pointer-events:none}
html.nxauth2 .nxl2>*{position:relative}
html.nxauth2 .nxl2__mark{width:96px;height:96px;display:grid;place-items:center;margin-bottom:26px}
html.nxauth2 .nxl2__mark svg{position:absolute;inset:0;width:100%;height:100%;transform:rotate(-90deg)}
html.nxauth2 .nxl2__track{fill:var(--a2-surface);stroke:var(--a2-line2);stroke-width:3}
html.nxauth2 .nxl2__arc{fill:none;stroke:var(--a2-acc);stroke-width:3.5;stroke-linecap:round;stroke-dasharray:70 207;transform-origin:50% 50%;animation:nxl2Spin 1.4s cubic-bezier(.5,.1,.5,.9) infinite}
html.nxauth2 .nxl2__mark img{width:38px;height:38px;animation:nxl2Breath 2s ease-in-out infinite}
@keyframes nxl2Spin{to{transform:rotate(360deg)}}
@keyframes nxl2Breath{0%,100%{transform:scale(1)}50%{transform:scale(1.08)}}
html.nxauth2 .nxl2__t{margin:0 0 18px!important;font-size:22px!important;font-weight:800!important;letter-spacing:-.025em;color:var(--a2-text)!important}
html.nxauth2 .nxl2__steps{list-style:none;margin:0 0 22px;padding:0;display:grid;gap:10px;text-align:left}
html.nxauth2 .nxl2__steps li{display:flex;align-items:center;gap:10px;font-size:14.5px;font-weight:600;color:var(--a2-muted);opacity:0;transform:translateY(6px);animation:nxl2Step .4s ease forwards;animation-delay:calc(var(--i) * .45s + .1s)}
html.nxauth2 .nxl2__steps i{width:20px;height:20px;border-radius:50%;border:2px solid var(--a2-line2);flex:none;position:relative;animation:nxl2Done .3s ease forwards;animation-delay:calc(var(--i) * .45s + .45s)}
html.nxauth2 .nxl2__steps i::after{content:"";position:absolute;left:5px;top:2.5px;width:5px;height:9px;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg) scale(0);animation:nxl2Tick .25s ease forwards;animation-delay:calc(var(--i) * .45s + .55s)}
@keyframes nxl2Step{to{opacity:1;transform:none;color:var(--a2-text2)}}
@keyframes nxl2Done{to{background:var(--a2-mint);border-color:var(--a2-mint)}}
@keyframes nxl2Tick{to{transform:rotate(45deg) scale(1)}}
html.nxauth2 .nxl2__bar{width:min(240px,70vw);height:4px;border-radius:999px;background:var(--a2-line);overflow:hidden}
html.nxauth2 .nxl2__bar span{display:block;height:100%;width:0;border-radius:inherit;background:linear-gradient(90deg,var(--a2-mint),var(--a2-acc));animation:nxl2Bar 2.6s cubic-bezier(.2,.7,.3,1) forwards}
@keyframes nxl2Bar{to{width:94%}}
html.nxauth2 .nxl2__s{margin:14px 0 0!important;font-size:13px!important;color:var(--a2-muted)!important}
html.nxauth2 .nxl2.is-done .nxl2__bar span{width:100%;transition:width .2s}
@media (prefers-reduced-motion:reduce){html.nxauth2 .nxl2 *{animation:none!important;opacity:1!important;transform:none!important}html.nxauth2 .nxl2__steps i{background:var(--a2-mint);border-color:var(--a2-mint)}html.nxauth2 .nxl2__bar span{width:70%}}

/* 09.11.2026: kein "Zur Website"-Knopf mehr auf der Anmeldeseite */
html.nxauth2 .auth2-top__acts{display:none!important}

/* 09.11.2026: nicht buchbare Branchen. Vorher blieb der Name sichtbar (V2-Farbe mit !important schlug das
   color:transparent des Portals) und "Folgt in Kürze" lag darueber. Jetzt sauberer Wechsel per Ueberblendung. */
html.nxauth2 #loginScreen .reg-branch-choice.is-soon{position:relative;cursor:not-allowed;transition:color .2s ease,opacity .2s ease,background .2s ease}
html.nxauth2 #loginScreen .reg-branch-choice.is-soon:hover{color:transparent!important;opacity:1;background:var(--a2-surface2)!important;border-color:var(--a2-line2)!important}
html.nxauth2 #loginScreen .reg-branch-choice.is-soon::after{content:attr(data-soon);position:absolute;inset:0;display:flex;align-items:center;justify-content:center;padding:0 8px;color:var(--a2-acc);font-weight:700;font-size:12.5px;white-space:nowrap;opacity:0;transition:opacity .2s ease;pointer-events:none}
html.nxauth2 #loginScreen .reg-branch-choice.is-soon:hover::after{opacity:1}

/* 09.11.2026: Demo-Streifen und Kopfleiste ("Start ... Support") bleiben gemeinsam fest. Vorher rollte der
   36px-Demo-Streifen weg und die sticky Kopfleiste sprang um 36px nach oben. Nur Desktop, mobil ist die Topbar fest. */
@media (min-width:901px){
  html.nxauth2 #demoBanner:not([hidden]){position:sticky;top:0;z-index:35;height:36px;box-sizing:border-box}
  html.nxauth2 .main-col:has(> #demoBanner:not([hidden])) .v2-head{top:36px}
}

/* 09.11.2026: Ladeansicht ruhiger (Nutzer: "zu intensiv"). Kein Leuchten, kein Pulsieren, langsamer Ring,
   kleinere Schrift, Schritte nur sanft eingeblendet, Balken duenn und dezent. */
html.nxauth2 .nxl2::before{display:none}
html.nxauth2 .nxl2__mark{width:72px;height:72px;margin-bottom:20px}
html.nxauth2 .nxl2__mark img{width:30px;height:30px;animation:none}
html.nxauth2 .nxl2__track{fill:none;stroke:var(--a2-line);stroke-width:2.5}
html.nxauth2 .nxl2__arc{stroke-width:2.5;stroke-dasharray:46 231;animation:nxl2Spin 2.4s linear infinite;opacity:.8}
html.nxauth2 .nxl2__t{font-size:18px!important;font-weight:700!important;margin-bottom:14px!important}
html.nxauth2 .nxl2__steps{gap:8px;margin-bottom:18px}
html.nxauth2 .nxl2__steps li{font-size:13.5px;font-weight:500;transform:none;animation:nxl2Fade .6s ease forwards;animation-delay:calc(var(--i) * .5s + .15s)}
html.nxauth2 .nxl2__steps i{width:16px;height:16px;border-width:1.5px;animation:nxl2Done .5s ease forwards;animation-delay:calc(var(--i) * .5s + .55s)}
html.nxauth2 .nxl2__steps i::after{left:4px;top:1.5px;width:4px;height:8px;border-width:0 1.6px 1.6px 0;animation-delay:calc(var(--i) * .5s + .7s)}
@keyframes nxl2Fade{to{opacity:1;color:var(--a2-muted)}}
html.nxauth2 .nxl2__bar{width:min(180px,60vw);height:2px}
html.nxauth2 .nxl2__bar span{background:var(--a2-acc);opacity:.55;animation-duration:3.2s}
html.nxauth2 .nxl2__s{font-size:12.5px!important}

/* 09.11.2026 Erstzugang V2: Zugang in zwei Schritten (E-Mail, dann Passwort), Regeln kompakt als Haken-Raster */
html.nxauth2 #registerForm .auth2-ph-mail .field:has(#regPassword),
html.nxauth2 #registerForm .auth2-ph-mail .field:has(#regPasswordConfirm),
html.nxauth2 #registerForm .auth2-ph-mail #regPwRules,
html.nxauth2 #registerForm .auth2-ph-pw .field:has(#regEmail),
html.nxauth2 #registerForm .auth2-ph-pw .field:has(#regEmailConfirm){display:none!important}
html.nxauth2 #registerForm .auth2-ph-hint{margin:-4px 0 16px;color:var(--a2-muted);font-size:14px;line-height:1.5}
html.nxauth2 #registerForm .auth2-ph-pw .reg-step__title,html.nxauth2 #registerForm .auth2-ph-mail .reg-step__title{animation:auth2In .3s ease}
@keyframes auth2In{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
html.nxauth2 #registerForm #regPwRules{display:grid;grid-template-columns:1fr 1fr;gap:6px 14px;margin:6px 0 4px;padding:0;list-style:none}
html.nxauth2 #registerForm #regPwRules li{font-size:12.5px!important;color:var(--a2-muted)!important;padding-left:0!important}
@media (max-width:420px){html.nxauth2 #registerForm #regPwRules{grid-template-columns:1fr}}
html.nxauth2 #registerForm #regPwRules li.is-met{color:var(--a2-mint)!important}
