@font-face {
  font-family: "Manrope";
  src: url("../_astro/manrope-latin-wght-normal.DHIcAJRg.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../_astro/bricolage-grotesque-latin-wght-normal.DLoelf7F.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

/* Dashboard access gate. The dashboard stays invisible until /api/?action=profile
   has confirmed the locally stored session token. */
html.dash-auth-prueft,
html.dash-auth-gesperrt {
  background: #08080b;
}

html.dash-auth-prueft body,
html.dash-auth-gesperrt body {
  display: block;
  min-height: 100svh;
  background: #08080b;
}

html.dash-auth-prueft body > *:not(.dash-auth):not(script),
html.dash-auth-gesperrt body > *:not(.dash-auth):not(script) {
  display: none !important;
}

.dash-auth {
  --da-bg: #08080b;
  --da-panel: rgba(22, 17, 21, .78);
  --da-panel-solid: #161115;
  --da-line: rgba(243, 233, 236, .13);
  --da-line-strong: rgba(255, 75, 126, .48);
  --da-text: #f7f0f2;
  --da-muted: #aa9ca2;
  --da-still: #776a70;
  --da-red: #e5142a;
  --da-pink: #ff4b7e;
  --da-lila: #c84dff;
  position: fixed;
  inset: 0;
  z-index: 2147482000;
  width: 100%;
  max-width: 100vw;
  min-height: 100svh;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior-x: none;
  overscroll-behavior-y: contain;
  touch-action: pan-y pinch-zoom;
  background:
    linear-gradient(rgba(255,255,255,.026) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.026) 1px, transparent 1px),
    var(--da-bg);
  background-size: 48px 48px;
  color: var(--da-text);
  font-family: "Manrope", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.dash-auth[hidden] { display: none !important; }

.dash-auth::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, transparent 0 8%, var(--da-red) 34%, var(--da-pink) 66%, transparent 92%);
  opacity: .86;
}

.dash-auth__shell {
  width: min(1160px, calc(100% - 48px));
  min-height: 100svh;
  margin: 0 auto;
  padding: max(30px, env(safe-area-inset-top)) 0 max(30px, env(safe-area-inset-bottom));
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.dash-auth__brand {
  --da-brand-metal: linear-gradient(112deg, #f8f6f7 0%, #8d8790 15%, #f4bc7e 29%, #fff8fb 43%, #9da7dc 59%, #ff8bac 74%, #f7f4f5 100%);
  position: relative;
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 11px;
  color: var(--da-text);
  text-decoration: none;
  font-size: 14px;
  font-weight: 850;
  letter-spacing: .18em;
  isolation: isolate;
  transition: filter 320ms ease;
}

.dash-auth__brand img {
  width: 34px;
  height: 30px;
  object-fit: contain;
  opacity: 0;
}

.dash-auth__brand::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 34px;
  height: 30px;
  background: var(--da-brand-metal);
  background-size: 180% 100%;
  background-position: 110% 50%;
  -webkit-mask: url("../assets/marke/aureon-a.png") center / contain no-repeat;
  mask: url("../assets/marke/aureon-a.png") center / contain no-repeat;
  filter: drop-shadow(0 3px 10px rgba(244, 237, 240, .18));
  pointer-events: none;
}

.dash-auth__brand-word {
  position: relative;
  color: transparent;
  background: var(--da-brand-metal);
  background-size: 180% 100%;
  background-position: 110% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.dash-auth__brand:hover,
.dash-auth__brand:focus-visible {
  filter: brightness(1.13);
}

.dash-auth__brand:focus-visible {
  outline: 2px solid rgba(255, 139, 172, .68);
  outline-offset: 8px;
  border-radius: 5px;
}

.dash-auth__main {
  position: relative;
  align-self: center;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 438px);
  gap: clamp(48px, 8vw, 116px);
  align-items: center;
  padding: 54px 0;
}

.dash-auth__main::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: 0;
  top: 50%;
  width: min(46vw, 540px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(243,233,236,.045), transparent 68%);
  transform: translateY(-50%) scale(.86);
  opacity: 0;
  pointer-events: none;
}

.dash-auth__intro { max-width: 560px; }

.dash-auth__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 20px;
  /* 29.08.2026 - hier stand #ff94af: rosa Text auf Dunkel. Feste Regel
     Merts, gilt in jedem Projekt. Das Label beschriftet einen geschuetzten
     Bereich - es soll ruhig wirken, nicht rufen. Jetzt dieselbe gedaempfte
     Helligkeit wie die uebrigen Versal-Beschriftungen im Anmeldekasten. */
  color: rgba(243, 233, 236, .58);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.dash-auth__eyebrow svg,
.dash-auth__secure svg {
  width: 16px;
  height: 16px;
  flex: none;
}

.dash-auth h1 {
  max-width: 700px;
  margin: 0;
  color: var(--da-text);
  font-family: "Bricolage Grotesque", "Manrope", system-ui, sans-serif;
  font-size: clamp(42px, 6.4vw, 78px);
  font-weight: 780;
  line-height: .98;
  letter-spacing: -.02em;
}

.dash-auth h1 > span {
  position: relative;
  display: block;
  width: max-content;
  max-width: 100%;
  color: #f7f3f4;
  background: none;
  -webkit-text-fill-color: #f7f3f4;
  text-shadow: none;
}

.dash-auth h1.au-glasschrift { text-shadow: none !important; }

.dash-auth h1 > span::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  color: transparent;
  background: linear-gradient(100deg, transparent 32%, rgba(255,255,255,.96) 48%, rgba(255,255,255,.72) 52%, transparent 68%);
  background-size: 240% 100%;
  background-position: 160% 0;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0;
  pointer-events: none;
}

.dash-auth__lead {
  max-width: 520px;
  margin: 24px 0 0;
  color: var(--da-muted);
  font-size: clamp(15px, 1.7vw, 18px);
  line-height: 1.68;
}

.dash-auth__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 42px;
  border-top: 1px solid var(--da-line);
}

.dash-auth__fact {
  min-width: 0;
  padding: 16px 18px 0 0;
  color: var(--da-still);
  font-size: 12px;
  line-height: 1.5;
}

.dash-auth__fact + .dash-auth__fact {
  padding-left: 18px;
  border-left: 1px solid var(--da-line);
}

.dash-auth__fact b {
  display: block;
  margin-bottom: 3px;
  color: var(--da-text);
  font-size: 13px;
}

.dash-auth__panel {
  position: relative;
  isolation: isolate;
  min-width: 0;
  padding: 30px;
  border: 0;
  border-radius: 20px;
  background: transparent;
  box-shadow: 0 28px 80px rgba(0,0,0,.44);
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
}

.dash-auth__panel::before {
  content: "";
  position: absolute;
  inset: 2px;
  z-index: -1;
  border-radius: 18px;
  background:
    radial-gradient(circle at var(--spot-x, 12%) var(--spot-y, 0%), rgba(255,75,126,.085), transparent 34%),
    rgba(22,17,21,.97);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.055);
}

.dash-auth__panel::after {
  content: "";
  position: absolute;
  z-index: 4;
  top: 0;
  left: -34%;
  width: 30%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.96), rgba(255,117,157,.88), transparent);
  filter: blur(.2px);
  opacity: 0;
  pointer-events: none;
}

.dash-auth__panel--interactive {
  transform: perspective(1100px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateY(var(--lift, 0px));
  transition: transform 420ms cubic-bezier(.2,.8,.2,1), box-shadow 420ms ease;
}

.dash-auth__panel-metal {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  border-radius: inherit;
  background:
    linear-gradient(115deg, #4c454a 0%, #f5f1f3 16%, #5f575c 31%, #fff 47%, #433c41 63%, #d9d3d6 81%, #554e52 100%);
  pointer-events: none;
}

.dash-auth__panel-metal canvas {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  border-radius: inherit !important;
}

.dash-auth__secure {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(243,233,236,.11);
  border-radius: 999px;
  background: rgba(255,255,255,.035);
  color: var(--da-muted);
  font-size: 12px;
  font-weight: 700;
}

.dash-auth__topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.dash-auth__step-pill {
  flex: none;
  color: var(--da-still);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
}

.dash-auth__panel h2 {
  margin: 24px 0 8px;
  font-family: "Bricolage Grotesque", "Manrope", system-ui, sans-serif;
  font-size: 29px;
  font-weight: 750;
  line-height: 1.12;
  letter-spacing: 0;
}

.dash-auth__panel-copy {
  min-height: 42px;
  margin: 0;
  color: var(--da-muted);
  font-size: 13.5px;
  line-height: 1.55;
}

.dash-auth__panel-copy strong { color: var(--da-text); font-weight: 750; }

.dash-auth__form { margin-top: 23px; }
.dash-auth__step[hidden] { display: none !important; }

.dash-auth__label {
  display: block;
  margin-bottom: 8px;
  color: #d8cdd1;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.dash-auth__field {
  position: relative;
  display: flex;
  align-items: center;
}

.dash-auth__field svg {
  position: absolute;
  left: 15px;
  width: 18px;
  height: 18px;
  color: var(--da-still);
  pointer-events: none;
}

.dash-auth__field input {
  width: 100%;
  min-height: 58px;
  padding: 0 15px 0 46px;
  border: 1px solid rgba(112,101,106,.38);
  border-radius: 14px;
  outline: 0;
  --da-field-fill: linear-gradient(rgba(29,23,27,.98), rgba(29,23,27,.98));
  --da-field-gradient: linear-gradient(112deg,
    #9d2cff 0%, #f04dff 22%, #ff4b9f 42%, #718cff 62%,
    #d64dff 80%, var(--da-lila) 100%);
  background: rgba(29,23,27,.98);
  color: var(--da-text);
  font: 600 16px/1 "Manrope", system-ui, sans-serif;
  /* Mert, 27.08.2026: Im Ruhezustand kein auffälliger Effekt. Der Neon-
     Farbverlauf wird erst beim Fokus aktiviert. */
  animation: none;
  box-shadow: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.dash-auth__field input::placeholder { color: #655b60; }
.dash-auth__field input:hover { border-color: rgba(128,114,122,.46); }
.dash-auth__field input:focus {
  --da-field-fill: linear-gradient(rgba(37,26,35,.98), rgba(37,26,35,.98));
  border-color: transparent;
  background: var(--da-field-fill) padding-box, var(--da-field-gradient) border-box;
  background-size: 100% 100%, 260% 100%;
  background-position: 0 0, 100% 50%;
  animation: dash-auth-field-gradient 7.2s linear infinite;
  box-shadow: 0 0 9px rgba(200,77,255,.22);
}

.dash-auth__or {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 11px;
  margin: 15px 0;
  color: rgba(216,205,209,.52);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.dash-auth__or::before,
.dash-auth__or::after {
  content: "";
  height: 1px;
  background: rgba(243,233,236,.11);
}

.dash-auth__code {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
}

.dash-auth__digit {
  width: 100%;
  aspect-ratio: 1 / 1.08;
  min-width: 0;
  border: 1px solid rgba(243,233,236,.16);
  border-radius: 14px;
  outline: 0;
  background: rgba(255,255,255,.045);
  color: var(--da-text);
  text-align: center;
  font: 800 25px/1 "Manrope", system-ui, sans-serif;
  caret-color: var(--da-pink);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.dash-auth__digit:focus {
  border-color: var(--da-pink);
  box-shadow: 0 0 0 3px rgba(255,75,126,.15);
  transform: translateY(-1px);
}

.dash-auth__primary {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: 58px;
  margin-top: 18px;
  padding: 0 52px 0 24px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font: 800 15.5px/1 "Manrope", system-ui, sans-serif;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  transform: translateZ(0);
  box-shadow: 0 12px 28px rgba(0,0,0,.34);
  transition: transform 220ms cubic-bezier(.2,.8,.2,1), box-shadow 220ms ease, opacity 180ms ease;
}

.dash-auth__primary::before {
  content: "";
  position: absolute;
  inset: 2px;
  z-index: -1;
  border-radius: inherit;
  background:
    radial-gradient(circle at 24% 0%, rgba(255,75,126,.18), transparent 42%),
    linear-gradient(180deg, #21171b 0%, #0d0a0c 100%);
  box-shadow:
    inset 0 1px .5px rgba(255,255,255,.26),
    inset 0 -1px .5px rgba(0,0,0,.72);
}

.dash-auth__primary-label {
  position: relative;
  z-index: 2;
  pointer-events: none;
  text-shadow: 0 1px 2px rgba(0,0,0,.72);
}

.dash-auth__metal {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  border-radius: inherit;
  background:
    linear-gradient(105deg, #393337 0%, #f9f7f8 20%, #625a5f 37%, #fff 52%, #332d31 69%, #d7d1d4 84%, #4f484c 100%);
  pointer-events: none;
}

.dash-auth__metal canvas {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  border-radius: inherit !important;
}

.dash-auth__primary::after {
  content: "\2192";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-52%);
  font-size: 22px;
  font-weight: 400;
  z-index: 2;
  text-shadow: 0 1px 2px rgba(0,0,0,.7);
}

.dash-auth__primary:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(0,0,0,.42), 0 0 0 1px rgba(255,255,255,.08);
}

.dash-auth__primary:active:not(:disabled) { transform: translateY(0) scale(.985); }
.dash-auth__primary:focus-visible {
  outline: 3px solid rgba(255,75,126,.72);
  outline-offset: 4px;
}
.dash-auth__primary:disabled { cursor: wait; opacity: .62; }
.dash-auth__primary[data-busy="1"]::after {
  width: 15px;
  height: 15px;
  border: 2px solid rgba(255,255,255,.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: dash-auth-spin 700ms linear infinite;
}

@keyframes dash-auth-spin { to { transform: translateY(-52%) rotate(360deg); } }

@keyframes dash-auth-headline-sweep {
  0% { opacity: 0; background-position: 160% 0; }
  14% { opacity: 1; }
  78% { opacity: 1; background-position: -60% 0; }
  100% { opacity: 0; background-position: -60% 0; }
}

@keyframes dash-auth-headline-color {
  0% { background-position: 18% 50%; }
  50% { background-position: 58% 50%; }
  100% { background-position: 92% 50%; }
}

@keyframes dash-auth-edge-glint {
  0% { left: -34%; opacity: 0; }
  18% { opacity: 1; }
  82% { opacity: 1; }
  100% { left: 108%; opacity: 0; }
}

@keyframes dash-auth-shield-settle {
  0% { transform: scale(.72) rotate(-10deg); opacity: .25; }
  58% { transform: scale(1.12) rotate(3deg); opacity: 1; }
  100% { transform: scale(1) rotate(0); opacity: 1; }
}

@keyframes dash-auth-brand-metal {
  0% { background-position: 110% 50%; }
  58% { background-position: 58% 50%; }
  100% { background-position: 42% 50%; }
}

@keyframes dash-auth-brand-flow {
  0% { background-position: 42% 50%; }
  50% { background-position: 66% 50%; }
  100% { background-position: 34% 50%; }
}

@keyframes dash-auth-field-gradient {
  0% { background-position: 0 0, 100% 50%; }
  50% { background-position: 0 0, 0% 50%; }
  100% { background-position: 0 0, 100% 50%; }
}

@keyframes dash-auth-brand-settle {
  0% { opacity: 0; transform: translateY(9px); filter: brightness(.72); }
  100% { opacity: 1; transform: none; filter: brightness(1); }
}

@media (prefers-reduced-motion: no-preference) {
  html.dash-auth-motion .dash-auth__brand,
  html.dash-auth-motion .dash-auth__eyebrow,
  html.dash-auth-motion .dash-auth__lead,
  html.dash-auth-motion .dash-auth__facts,
  html.dash-auth-motion .dash-auth__foot {
    opacity: 0;
    transform: translateY(12px);
  }

  html.dash-auth-motion .dash-auth h1 > span {
    opacity: 0;
    clip-path: inset(0 0 100% 0);
    transform: translateY(28px);
  }

  html.dash-auth-motion .dash-auth__panel {
    opacity: 0;
    transform: perspective(1100px) translateY(30px) rotateX(4deg) scale(.985);
  }

  html.dash-auth-motion .dash-auth--ready .dash-auth__brand,
  html.dash-auth-motion .dash-auth--ready .dash-auth__eyebrow,
  html.dash-auth-motion .dash-auth--ready .dash-auth__lead,
  html.dash-auth-motion .dash-auth--ready .dash-auth__facts,
  html.dash-auth-motion .dash-auth--ready .dash-auth__foot {
    opacity: 1;
    transform: none;
    transition: opacity 650ms cubic-bezier(.2,.8,.2,1), transform 650ms cubic-bezier(.2,.8,.2,1);
  }

  html.dash-auth-motion .dash-auth--ready .dash-auth__brand { transition-delay: 40ms; }
  html.dash-auth-motion .dash-auth--ready .dash-auth__brand::before,
  html.dash-auth-motion .dash-auth--ready .dash-auth__brand-word {
    animation:
      dash-auth-brand-metal 1.7s 300ms cubic-bezier(.16,1,.3,1) both,
      dash-auth-brand-flow 6.8s 2s ease-in-out infinite alternate;
  }
  html.dash-auth-motion .dash-auth--ready .dash-auth__eyebrow { transition-delay: 120ms; }
  html.dash-auth-motion .dash-auth--ready .dash-auth__lead { transition-delay: 420ms; }
  html.dash-auth-motion .dash-auth--ready .dash-auth__facts { transition-delay: 520ms; }
  html.dash-auth-motion .dash-auth--ready .dash-auth__foot { transition-delay: 680ms; }

  html.dash-auth-motion .dash-auth.dash-auth--ready h1 > span {
    opacity: 1;
    clip-path: inset(0 0 0 0);
    transform: none;
    transition: opacity 720ms cubic-bezier(.16,1,.3,1), clip-path 760ms cubic-bezier(.16,1,.3,1), transform 760ms cubic-bezier(.16,1,.3,1);
    animation: none;
  }

  html.dash-auth-motion .dash-auth.dash-auth--ready h1 > span:first-child { transition-delay: 190ms; }
  html.dash-auth-motion .dash-auth.dash-auth--ready h1 > span:last-child { transition-delay: 270ms; animation-delay: 1.55s; }
  html.dash-auth-motion .dash-auth.dash-auth--ready h1 > span:first-child::after { animation: dash-auth-headline-sweep 1.15s 780ms ease-out both; }
  html.dash-auth-motion .dash-auth.dash-auth--ready h1 > span:last-child::after { animation: dash-auth-headline-sweep 1.15s 880ms ease-out both; }

  html.dash-auth-motion .dash-auth--ready .dash-auth__panel {
    opacity: 1;
    transform: perspective(1100px) translateY(0) rotateX(0) scale(1);
    transition: opacity 700ms 340ms cubic-bezier(.16,1,.3,1), transform 820ms 340ms cubic-bezier(.16,1,.3,1), box-shadow 420ms ease;
  }

  html.dash-auth-motion .dash-auth--ready .dash-auth__panel--interactive {
    transform: perspective(1100px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateY(var(--lift, 0px));
    transition: transform 420ms cubic-bezier(.2,.8,.2,1), box-shadow 420ms ease;
  }

  html.dash-auth-motion .dash-auth--ready .dash-auth__panel::after { animation: dash-auth-edge-glint 1.35s 1050ms cubic-bezier(.16,1,.3,1) both; }
  html.dash-auth-motion .dash-auth--ready .dash-auth__secure svg { animation: dash-auth-shield-settle 700ms 900ms cubic-bezier(.34,1.56,.64,1) both; }
  html.dash-auth-motion .dash-auth--ready .dash-auth__main::before {
    opacity: 1;
    transform: translateY(-50%) scale(1);
    transition: opacity 900ms 420ms ease, transform 1100ms 420ms cubic-bezier(.16,1,.3,1);
  }
}

/* Derselbe Materialton im angemeldeten Dashboard, ohne dessen Layout zu
   veraendern. Das Zeichen bleibt eine echte Maske, der Name lesbarer Text. */
html.dash-auth-frei .marke {
  --da-brand-metal: linear-gradient(112deg, #f8f6f7 0%, #8d8790 15%, #f4bc7e 29%, #fff8fb 43%, #9da7dc 59%, #ff8bac 74%, #f7f4f5 100%);
  position: relative;
}

/* 05.09.2026 - Merts Regel "die Schrift folgt der Flaeche": Der
   Metallverlauf des Schriftzugs ist fuer dunklen Grund gemacht. Sein
   hellster Stopp ist #f8f6f7 - auf der hellen Seitenleiste (#FAF7F5)
   verschwanden damit die ersten Buchstaben komplett (1,0:1).

   Der Verlauf bleibt derselbe Verlauf - gleiche Reihenfolge, gleiche
   Stellen, gleiche Familie (Silber, Gold, Blaustich, Rot). Nur in die
   dunkle Haelfte gespiegelt. Das Zeichen bleibt silbern, wie es sein
   soll, und jeder einzelne Stopp liegt ueber 7:1 auf hellem Grund. */
html.hell.dash-auth-frei .marke {
  --da-brand-metal: linear-gradient(112deg, #3B3540 0%, #211D26 15%, #6B4A17 29%, #2C2530 43%, #2F3A63 59%, #6D2740 74%, #3B3540 100%);
}

html.dash-auth-frei .marke__logo { opacity: 0; }

html.dash-auth-frei .marke::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 34px;
  height: 34px;
  background: var(--da-brand-metal);
  background-size: 180% 100%;
  background-position: 42% 50%;
  -webkit-mask: url("../assets/marke-aureon-silber.png") center / contain no-repeat;
  mask: url("../assets/marke-aureon-silber.png") center / contain no-repeat;
  filter: drop-shadow(0 3px 11px rgba(232, 236, 242, .17));
  pointer-events: none;
}

html.dash-auth-frei .marke__name {
  color: transparent;
  background: var(--da-brand-metal);
  background-size: 180% 100%;
  background-position: 42% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media (prefers-reduced-motion: no-preference) {
  html.dash-auth-motion.dash-auth-frei .marke {
    animation: dash-auth-brand-settle 650ms 140ms cubic-bezier(.16,1,.3,1) both;
  }

  html.dash-auth-motion.dash-auth-frei .marke::before,
  html.dash-auth-motion.dash-auth-frei .marke__name {
    animation:
      dash-auth-brand-metal 1.65s 360ms cubic-bezier(.16,1,.3,1) both,
      dash-auth-brand-flow 6.8s 2.05s ease-in-out infinite alternate;
  }
}

/* Liquid-Metal-Uebersetzung der johuniq/21st.dev-Komponente fuer den einen
   CTA im Dashboard. Linkziel, Tastaturverhalten und SVG-Pfeil bleiben echt. */
#bandKnopf.band__metal-cta {
  position: relative;
  isolation: isolate;
  min-height: 48px;
  padding: 0 50px 0 22px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #fff;
  overflow: hidden;
  transform: translateZ(0);
  box-shadow: 0 12px 28px rgba(0,0,0,.34);
  transition: transform 220ms cubic-bezier(.2,.8,.2,1), box-shadow 220ms ease;
}

#bandKnopf.band__metal-cta::before {
  content: "";
  position: absolute;
  inset: 2px;
  z-index: -1;
  border-radius: inherit;
  background:
    radial-gradient(circle at 24% 0%, rgba(255,75,126,.18), transparent 42%),
    linear-gradient(180deg, #21171b 0%, #0d0a0c 100%);
  box-shadow:
    inset 0 1px .5px rgba(255,255,255,.26),
    inset 0 -1px .5px rgba(0,0,0,.72);
}

#bandKnopf.band__metal-cta .dash-auth__metal {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  border-radius: inherit;
}

#bandKnopf.band__metal-cta .band__metal-label,
#bandKnopf.band__metal-cta > svg {
  position: relative;
  z-index: 2;
  pointer-events: none;
}

#bandKnopf.band__metal-cta > svg {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
}

#bandKnopf.band__metal-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 17px 34px rgba(0,0,0,.4), 0 0 0 1px rgba(255,255,255,.07);
}

#bandKnopf.band__metal-cta:active { transform: translateY(0) scale(.985); }

#bandKnopf.band__metal-cta:focus-visible {
  outline: 3px solid rgba(255,75,126,.72);
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
  #bandKnopf.band__metal-cta .dash-auth__metal canvas { visibility: hidden; }
  #bandKnopf.band__metal-cta { transition: none; }
}

.dash-auth__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 15px;
}

.dash-auth__link {
  min-height: 34px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--da-muted);
  font: 700 12.5px/1 "Manrope", system-ui, sans-serif;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.dash-auth__link:hover:not(:disabled) { color: var(--da-text); }
.dash-auth__link:disabled { cursor: default; color: var(--da-still); text-decoration: none; }

.dash-auth__status {
  display: none;
  gap: 9px;
  align-items: flex-start;
  margin-top: 16px;
  padding: 11px 12px;
  border: 1px solid rgba(255,75,126,.34);
  border-radius: 14px;
  background: rgba(255,75,126,.08);
  color: #ffc3d2;
  font-size: 12.5px;
  line-height: 1.48;
}

.dash-auth__status[data-show="1"] { display: flex; }
.dash-auth__status[data-type="ok"] {
  border-color: rgba(74,222,128,.32);
  background: rgba(74,222,128,.075);
  color: #c6f6d7;
}

.dash-auth__status svg { width: 16px; height: 16px; flex: none; margin-top: 1px; }

.dash-auth__help {
  margin: 22px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--da-line);
  color: var(--da-still);
  font-size: 12px;
  line-height: 1.55;
}

.dash-auth__help a { color: #dbcfd4; text-underline-offset: 3px; }

.dash-auth__foot {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--da-still);
  font-size: 11.5px;
}

.dash-auth__foot a { color: var(--da-muted); text-decoration: none; }
.dash-auth__foot a:hover { color: var(--da-text); }

@media (max-width: 840px) {
  .dash-auth__shell { width: min(680px, calc(100% - 36px)); }
  .dash-auth__main { grid-template-columns: 1fr; gap: 30px; padding: 42px 0; }
  .dash-auth__intro { max-width: 620px; }
  .dash-auth h1 { max-width: 560px; font-size: clamp(40px, 8.5vw, 60px); }
  .dash-auth__lead { max-width: 600px; }
  .dash-auth__panel { width: 100%; max-width: 600px; }
}

@media (max-width: 560px) {
  .dash-auth { background-size: 36px 36px; }
  .dash-auth__shell {
    width: calc(100% - 28px);
    padding-top: max(20px, env(safe-area-inset-top));
    padding-bottom: max(20px, env(safe-area-inset-bottom));
  }
  .dash-auth__main { gap: 24px; padding: 31px 0 28px; }
  .dash-auth__brand { font-size: 13px; }
  .dash-auth__brand img { width: 31px; height: 27px; }
  .dash-auth__eyebrow { margin-bottom: 14px; }
  .dash-auth h1 { font-size: clamp(36px, 11.5vw, 46px); line-height: .94; }
  .dash-auth__lead { margin-top: 17px; font-size: 14px; line-height: 1.58; }
  .dash-auth__facts { display: none; }
  .dash-auth__panel { padding: 23px 19px; }
  .dash-auth__topline { align-items: flex-start; }
  .dash-auth__step-pill { padding-top: 10px; font-size: 9px; }
  .dash-auth__panel h2 { margin-top: 17px; font-size: 23px; }
  .dash-auth__form { margin-top: 19px; }
  .dash-auth__code { gap: 6px; }
  .dash-auth__digit { font-size: 21px; }
  .dash-auth__actions { align-items: flex-start; }
  .dash-auth__foot { flex-direction: column; gap: 8px; }
}

@media (max-width: 360px) {
  .dash-auth__shell { width: calc(100% - 20px); }
  .dash-auth__panel { padding: 20px 14px; }
  .dash-auth__code { gap: 4px; }
  .dash-auth__digit { font-size: 19px; }
}

@media (prefers-reduced-motion: reduce) {
  .dash-auth *, .dash-auth *::before, .dash-auth *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
  .dash-auth__metal canvas,
  .dash-auth__panel-metal canvas { visibility: hidden; }
  .dash-auth__panel { will-change: auto; transform: none !important; }
}
