/* =====================================================================
   Anmeldung – Stil wie aufgaben.fjordtax.de
   ===================================================================== */
.lg { --lg-a: #1C1C1A; --lg-muted: #6B6B65; --lg-faint: #8C8C86; --lg-card: #F7F7F6; --lg-text: #1C1C1A; --lg-ease: cubic-bezier(.16, 1, .3, 1);
  min-height: 100dvh; display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(420px, 1fr); background: #fff; color: var(--lg-text); }
.lg button { font: inherit; border: 0; background: none; cursor: pointer; color: inherit; padding: 0; }
.lg-stage { position: relative; margin: 14px 0 14px 14px; border-radius: 28px; overflow: hidden; isolation: isolate; color: #fff;
  background: radial-gradient(120% 90% at 85% 100%, color-mix(in oklab, var(--lg-a) 70%, #000) 0%, transparent 60%),
              linear-gradient(160deg, color-mix(in oklab, var(--lg-a) 18%, #030809) 0%, color-mix(in oklab, var(--lg-a) 42%, #04090A) 100%);
  --mx: 70%; --my: 60%; --px: 0; --py: 0; }
.lg-bg, .lg-bg > * { position: absolute; inset: 0; pointer-events: none; }
.lg-aurora { transform: translate(calc(var(--px) * -14px), calc(var(--py) * -10px)); transition: transform .9s var(--lg-ease); }
.lg-aurora i { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .8; mix-blend-mode: screen; will-change: transform; }
.lg-aurora i:nth-child(1) { width: 62%; aspect-ratio: 1; left: -12%; top: -18%; background: radial-gradient(circle, color-mix(in oklab, var(--lg-a) 85%, #9FF3E8) 0%, transparent 65%); animation: lgDrift1 22s ease-in-out infinite alternate; }
.lg-aurora i:nth-child(2) { width: 55%; aspect-ratio: 1; right: -16%; top: 18%; background: radial-gradient(circle, color-mix(in oklab, var(--lg-a) 55%, #3D7BFF) 0%, transparent 65%); opacity: .5; animation: lgDrift2 28s ease-in-out infinite alternate; }
.lg-aurora i:nth-child(3) { width: 70%; aspect-ratio: 1; left: 15%; bottom: -45%; background: radial-gradient(circle, color-mix(in oklab, var(--lg-a) 75%, #E8D9B0) 0%, transparent 62%); opacity: .55; animation: lgDrift3 34s ease-in-out infinite alternate; }
.lg-lines { width: 100%; height: 100%; }
.lg-rot { transform-origin: 0 0; animation: lgSpin 140s linear infinite; }
.lg-lines path { stroke: rgba(255, 255, 255, calc(.2 - var(--k) * .007)); stroke-width: 1; vector-effect: non-scaling-stroke; }
.lg-lines path.is-glint { stroke: rgba(255, 255, 255, .34); stroke-width: 1.2; stroke-linecap: round; stroke-dasharray: .14 .86; animation: lgGlint 9s linear infinite; filter: drop-shadow(0 0 4px rgba(255, 255, 255, .7)); }
.lg-lines path.is-glint:nth-child(11) { animation-duration: 13s; animation-direction: reverse; stroke: rgba(255, 255, 255, .22); }
.lg-spot { background: radial-gradient(520px circle at var(--mx) var(--my), rgba(255, 255, 255, .10), transparent 60%); transition: background .2s; }
.lg-grain { opacity: .22; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.lg-stage::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08), inset 0 -120px 160px -60px rgba(0, 0, 0, .45); pointer-events: none; }
.lg-stage-in { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; padding: 44px 52px 36px; }
.lg-logo { min-height: 56px; display: flex; align-items: center; gap: 14px; }
.lg-logo-mark { width: 48px; height: 48px; border-radius: 50%; background: #fff; color: var(--lg-a); display: grid; place-items: center; box-shadow: 0 6px 24px rgba(0, 0, 0, .25); }
.lg-logo-name { font-size: 30px; font-weight: 400; letter-spacing: -.03em; }
.lg-hero { margin-top: auto; max-width: 560px; transform: translate(calc(var(--px) * 6px), calc(var(--py) * 4px)); transition: transform .9s var(--lg-ease); }
.lg-kicker { margin: 0 0 18px; font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .62); display: flex; align-items: center; gap: 12px; }
.lg-kicker::before { content: ""; width: 28px; height: 1px; background: rgba(255, 255, 255, .5); }
.lg-title { font-size: clamp(44px, 5.4vw, 76px); line-height: .98; letter-spacing: -.045em; font-weight: 600; margin: 0; color: #fff; display: block; }
.lg-title::before { display: none; }
.lg-title span { display: inline-block; background: linear-gradient(100deg, #fff 0%, #fff 40%, rgba(255, 255, 255, .55) 50%, #fff 60%, #fff 100%); background-size: 250% 100%; background-position: 100% 0;
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; animation: lgSheen 7s ease-in-out 1.8s infinite; }
.lg-title span + span { animation-delay: 2s; }
.lg-lead { margin: 20px 0 0; font-size: 17px; line-height: 1.5; color: rgba(255, 255, 255, .72); max-width: 440px; }
.lg-foot { margin-top: 44px; display: flex; justify-content: space-between; gap: 16px; font-size: 12.5px; color: rgba(255, 255, 255, .55); font-variant-numeric: tabular-nums; }
.lg-secure { display: inline-flex; align-items: center; gap: 7px; }
.lg-side { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 48px 40px 28px; }
.lg-card { width: 100%; max-width: 380px; margin: auto 0; }
.lg-eyebrow { margin: 0 0 10px; font-size: 13px; font-weight: 600; color: var(--lg-a); display: flex; align-items: center; gap: 8px; }
.lg-eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--lg-a); box-shadow: 0 0 0 4px color-mix(in oklab, var(--lg-a) 16%, transparent); }
.lg-h1 { font-size: 36px; letter-spacing: -.04em; line-height: 1.05; margin: 0 0 10px; font-weight: 600; display: block; }
.lg-h1::before { display: none; }
.lg-sub { margin: 0 0 26px; color: var(--lg-muted); font-size: 14.5px; line-height: 1.55; }
.lg-sub strong { color: var(--lg-text); font-weight: 600; }
.lg-seg { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 14px; background: var(--lg-card); margin-bottom: 18px; }
.lg-seg button { position: relative; z-index: 1; height: 38px; border-radius: 10px; font-size: 13.5px; font-weight: 550; color: var(--lg-muted); text-align: center; transition: color .25s; }
.lg-seg button[aria-selected="true"] { color: var(--lg-text); }
.lg-seg-pill { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 10px; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 4px 12px -4px rgba(0, 0, 0, .12); transition: transform .45s var(--lg-ease); }
.lg-seg[data-on="link"] .lg-seg-pill { transform: translateX(100%); }
.lg-form { display: flex; flex-direction: column; gap: 12px; }
.lg-field { position: relative; }
.lg .lg-input { width: 100%; height: 58px; padding: 22px 16px 6px 48px; border-radius: 14px; border: 0; background: #fff; font-size: 15px; color: var(--lg-text); box-shadow: inset 0 0 0 1px #E3E3DF; transition: box-shadow .2s, background-color .2s; }
.lg-field.has-eye .lg-input { padding-right: 50px; }
.lg .lg-input:hover { box-shadow: inset 0 0 0 1px #CFCFCA; }
.lg .lg-input:focus, .lg .lg-input:focus-visible { outline: none; border: 0; box-shadow: inset 0 0 0 1.5px var(--lg-a), 0 0 0 4px color-mix(in oklab, var(--lg-a) 14%, transparent); }
.lg-input::placeholder { color: transparent; }
.lg-label { position: absolute; left: 48px; top: 50%; transform: translateY(-50%); font-size: 15px; color: var(--lg-faint); pointer-events: none; transform-origin: left center; transition: transform .22s var(--lg-ease), top .22s var(--lg-ease), color .2s ease; }
.lg-input:focus + .lg-label, .lg-input:not(:placeholder-shown) + .lg-label, .lg-input:-webkit-autofill + .lg-label { top: 17px; transform: translateY(-50%) scale(.78); color: var(--lg-muted); }
.lg-input:focus + .lg-label { color: var(--lg-a); }
.lg-fic { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: var(--lg-faint); display: flex; transition: color .2s; pointer-events: none; }
.lg-field:focus-within .lg-fic { color: var(--lg-a); }
.lg-eye { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; color: var(--lg-faint) !important; }
.lg-eye:hover { color: var(--lg-text) !important; background: var(--lg-card) !important; }
.lg-input:-webkit-autofill { box-shadow: inset 0 0 0 1px #E3E3DF, inset 0 0 0 100px #fff; -webkit-text-fill-color: var(--lg-text); }
.lg .lg-btn { position: relative; overflow: hidden; margin-top: 6px; height: 54px; border-radius: 14px; display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 15px; font-weight: 600; color: #fff;
  background: linear-gradient(180deg, color-mix(in oklab, var(--lg-a) 88%, #fff) 0%, var(--lg-a) 55%, color-mix(in oklab, var(--lg-a) 82%, #000) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 1px 2px rgba(0, 0, 0, .12), 0 12px 28px -12px color-mix(in oklab, var(--lg-a) 80%, transparent);
  transition: transform .2s var(--lg-ease), box-shadow .25s ease, filter .2s ease; }
.lg-btn::before { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 45%; transform: skewX(-20deg); background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .32), transparent); transition: left .7s var(--lg-ease); }
.lg-btn:hover::before { left: 120%; }
.lg .lg-btn:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 1px 2px rgba(0, 0, 0, .12), 0 18px 34px -12px color-mix(in oklab, var(--lg-a) 90%, transparent); transform: translateY(-1px); }
.lg .lg-btn:active { transform: translateY(0) scale(.985); }
.lg .lg-btn[disabled] { cursor: default; filter: saturate(.85); transform: none; }
.lg-btn-i { display: flex; transition: transform .3s var(--lg-ease); }
.lg-btn:hover .lg-btn-i { transform: translateX(4px); }
.lg-spin { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: rot .8s linear infinite; }
.lg .lg-link { align-self: center; margin-top: 4px; padding: 8px 10px; border-radius: 10px; font-size: 13.5px; color: var(--lg-muted); }
.lg .lg-link:hover { color: var(--lg-text); background: var(--lg-card); }
.lg-err { margin: 14px 0 0; padding: 11px 14px; border-radius: 12px; background: rgba(196, 76, 56, .06); color: #B3452F; font-size: 13.5px; animation: lgShake .45s var(--lg-ease); }
.lg-mail { position: relative; width: 64px; height: 64px; margin: 0 0 24px; border-radius: 20px; display: grid; place-items: center; color: var(--lg-a); background: color-mix(in oklab, var(--lg-a) 10%, #fff); }
.lg-mail i { position: absolute; inset: 0; border-radius: inherit; border: 1.5px solid color-mix(in oklab, var(--lg-a) 35%, transparent); animation: lgRing 2.6s ease-out infinite; }
.lg-mail i + i { animation-delay: 1.3s; }
.lg-copy { margin: 24px 0 0; font-size: 12px; color: var(--lg-faint); }
.lg.is-enter .lg-stage { animation: lgStageIn 1.1s var(--lg-ease) both; }
.lg.is-enter .lg-lines path { stroke-dasharray: 1; animation: lgDraw 2.2s var(--lg-ease) both; animation-delay: calc(.15s + var(--k) * .05s); }
.lg.is-enter .lg-lines path.is-glint { stroke-dasharray: .14 .86; animation: lgGlint 9s linear infinite; }
.lg.is-enter .lg-logo { animation: lgRise 1s var(--lg-ease) .35s both; }
.lg.is-enter .lg-kicker { animation: lgRise .9s var(--lg-ease) .5s both; }
.lg.is-enter .lg-title > span:first-child { animation: lgRise 1s var(--lg-ease) .6s both, lgSheen 7s ease-in-out 2.2s infinite; }
.lg.is-enter .lg-title > span + span { animation: lgRise 1s var(--lg-ease) .72s both, lgSheen 7s ease-in-out 2.4s infinite; }
.lg.is-enter .lg-lead { animation: lgRise .9s var(--lg-ease) .85s both; }
.lg.is-enter .lg-foot { animation: fade 1s ease 1.1s both; }
.lg.is-enter .lg-card > * { animation: lgRise .8s var(--lg-ease) both; }
.lg.is-enter .lg-card > :nth-child(1) { animation-delay: .25s; }
.lg.is-enter .lg-card > :nth-child(2) { animation-delay: .35s; }
.lg.is-enter .lg-card > :nth-child(3) { animation-delay: .45s; }
@keyframes lgDrift1 { 100% { transform: translate(18%, 14%) scale(1.15); } }
@keyframes lgDrift2 { 100% { transform: translate(-22%, 10%) scale(.9); } }
@keyframes lgDrift3 { 100% { transform: translate(-10%, -16%) scale(1.12); } }
@keyframes lgSpin { 100% { transform: rotate(360deg); } }
@keyframes lgGlint { 0% { stroke-dashoffset: 1; } 100% { stroke-dashoffset: 0; } }
@keyframes lgDraw { 0% { stroke-dashoffset: 1; } 100% { stroke-dashoffset: 0; } }
@keyframes lgSheen { 0% { background-position: 100% 0; } 35%, 100% { background-position: 0 0; } }
@keyframes lgShake { 0%, 100% { transform: none; } 20% { transform: translateX(-6px); } 40% { transform: translateX(5px); } 60% { transform: translateX(-3px); } 80% { transform: translateX(2px); } }
@keyframes lgRing { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(1.6); opacity: 0; } }
@keyframes lgStageIn { 0% { opacity: 0; transform: scale(.97); filter: blur(6px); } 100% { opacity: 1; transform: none; filter: none; } }
@keyframes lgRise { 0% { opacity: 0; transform: translateY(18px); filter: blur(6px); } 100% { opacity: 1; transform: none; filter: none; } }
@media (max-width: 1100px) { .lg-stage-in { padding: 36px 40px 30px; } }
@media (max-width: 900px) {
  .lg { display: flex; flex-direction: column; background: color-mix(in oklab, var(--lg-a) 30%, #04090A); }
  .lg-stage { margin: 0; border-radius: 0; min-height: 300px; flex: 0 0 auto; }
  .lg-stage::after { box-shadow: none; }
  .lg-stage-in { padding: calc(26px + env(safe-area-inset-top, 0px)) 24px 54px; }
  .lg-logo { min-height: 44px; }
  .lg-logo-mark { width: 40px; height: 40px; }
  .lg-logo-name { font-size: 24px; }
  .lg-hero { margin-top: 40px; transform: none; }
  .lg-kicker, .lg-foot { display: none; }
  .lg-title { font-size: 40px; }
  .lg-lead { font-size: 15px; margin-top: 12px; }
  .lg-side { flex: 1 0 auto; margin-top: -28px; z-index: 1; background: #fff; border-radius: 28px 28px 0 0; padding: 32px 22px calc(22px + env(safe-area-inset-bottom, 0px)); justify-content: flex-start; box-shadow: 0 -18px 40px -24px rgba(0, 0, 0, .5); }
  .lg-card { margin: 0; }
  .lg-h1 { font-size: 30px; }
  .lg-copy { margin-top: auto; padding-top: 24px; }
}
@media (max-width: 380px) { .lg-title { font-size: 34px; } }

.lg-hinweis { margin: 6px 0 0; font-size: 12.5px; color: var(--lg-faint); text-align: center; line-height: 1.45; }
