/* ============================================================
   NOLTAnet Auth – Hintergrund "Ortung"
   Koordinatennetz + Signal-Pulse. Nur für Login / Register / Forgot.
   ============================================================ */

.hk-pg-wrapper.hk-auth-wrapper.nn-auth-ortung {
  --nn-red: #DB002E;
  --nn-red-dark: #B80030;
  --steel-200: #565E66;
  --steel-400: #343A40;
  --steel-500: #23272B;
  --card-w: 420px;
  --ink: #22262A;
  --ink-soft: #5C646C;
  --ink-mute: #949BA2;
  --field: #F6F8F9;
  --line: #E3E7EA;

  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  /* Mit Content mitwachsen (Footer im Flow unter Card/Slider) */
  height: auto;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  overflow-x: hidden !important;
  overflow-y: visible !important;
}

body:has(.nn-auth-ortung) {
  margin: 0;
  color: #F2F4F6;
  background: var(--steel-400, #343A40) !important;
  background-image: none !important;
  overflow-x: hidden;
  overflow-y: auto; /* Seite scrollt; Footer wandert mit unter dem Content */
  min-height: 100vh;
  min-height: 100dvh;
  /* global_cms: height:100vh – sonst kein Mitwachsen bei Overflow */
  height: auto !important;
}

/* ---------- Hintergrund ---------- */
.nn-auth-ortung .nn-auth-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(180deg, var(--steel-200) 0%, var(--steel-400) 60%, var(--steel-500) 100%);
}

.nn-auth-ortung .nn-auth-bg .grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.11) 1px, transparent 1px);
  background-size: 40px 40px, 40px 40px, 200px 200px, 200px 200px;
  animation: nnAuthGridPan 120s linear infinite;
}

@keyframes nnAuthGridPan {
  to {
    background-position: 200px 200px, 200px 200px, 200px 200px, 200px 200px;
  }
}

.nn-auth-ortung .pings {
  position: absolute;
  inset: 0;
}

.nn-auth-ortung .ping {
  position: absolute;
  width: 8px;
  height: 8px;
  opacity: 0;
  animation: nnAuthPingIn 1.6s ease forwards;
}

.nn-auth-ortung .ping.out {
  animation: nnAuthPingFade 2s ease forwards;
}

@keyframes nnAuthPingIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes nnAuthPingFade {
  from { opacity: 1; }
  to { opacity: 0; }
}

.nn-auth-ortung .ping,
.nn-auth-ortung .ping i,
.nn-auth-ortung .ping span {
  color: transparent !important;
}

.nn-auth-ortung .ping i {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--nn-red) !important;
  box-shadow: 0 0 12px rgba(219, 0, 46, 0.9);
  animation: nnAuthDotBreathe 4s ease-in-out infinite;
}

@keyframes nnAuthDotBreathe {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50% { transform: scale(1.3); opacity: 1; }
}

.nn-auth-ortung .ping span {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(219, 0, 46, 0.55);
  animation: nnAuthPingOut 9s cubic-bezier(0.2, 0.6, 0.3, 1) forwards;
}

.nn-auth-ortung .ping span.pale {
  border-color: rgba(255, 255, 255, 0.30);
}

@keyframes nnAuthPingOut {
  0% { transform: scale(1); opacity: 0.85; }
  100% { transform: scale(46); opacity: 0; }
}

.nn-auth-ortung .nn-auth-readability {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(
    ellipse 720px 600px at 50% 47%,
    rgba(15, 17, 19, 0.42) 0%,
    rgba(15, 17, 19, 0.22) 48%,
    rgba(15, 17, 19, 0) 74%
  );
}

/* ---------- Stage / Card ---------- */
/*
  Zentrierung „mitte mitte“ + Footer im Dokumentfluss:
  - Wrapper = Flex-Spalte, min-height 100dvh, wächst mit Content
  - container-fluid flex:1 → füllt Raum über dem Footer (kurz = mittig)
  - Stage: margin-top/bottom:auto → vertikal mittig wenn Platz
  - Footer: normaler Flow unter Card/Slider (kein fixed Overlay)
  - Bei Overflow scrollt die Seite; Footer wandert nach unten mit

  Wichtig: global_cms setzt .hk-pg-wrapper .container-fluid auf
  height/min-height: calc(100vh + 400px) – das muss hier geschlagen werden.
  Theme setzt .auth-form-wrap { height: 100vh } – sonst bleibt kein
  Freiraum für margin:auto und die Card klebt oben.
*/
.hk-pg-wrapper.hk-auth-wrapper.nn-auth-ortung > .container-fluid {
  position: relative !important;
  inset: auto !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  z-index: 2;
  width: 100% !important;
  max-width: none !important;
  /* schlägt global_cms calc(100vh + 400px); Höhe = Content */
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  /* füllt Rest über Footer → Stage kann mittig stehen */
  flex: 1 0 auto;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 24px 12px !important;
  margin: 0 !important;
  overflow: visible;
  box-sizing: border-box;
}

.nn-auth-ortung .nn-auth-stage {
  width: 100%;
  max-width: 100%;
  /* Inhalt bestimmt Höhe – Stage füllt den Viewport nicht künstlich */
  min-height: 0;
  height: auto;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  /* Vertikale Mitte im Flex-Parent; bei Overflow → auto=0 */
  margin-top: auto;
  margin-bottom: auto;
  margin-left: 0;
  margin-right: 0;
  padding: 24px 0;
  flex: 0 0 auto;
  box-sizing: border-box;
}

.nn-auth-ortung .nn-auth-stage > [class*="col-"] {
  width: auto;
  max-width: 100%;
  flex: 0 1 auto;
  padding: 0;
  margin: 0;
}

.nn-auth-ortung .auth-form-wrap {
  /* Theme: height:100vh + align center – beides killen, sonst oben */
  position: relative;
  /* Stacking-Context: Tag z-index:-1 bleibt sichtbar hinter der Card,
     verschwindet aber nicht hinter dem Seitenhintergrund */
  isolation: isolate;
  height: auto !important;
  min-height: 0 !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  /* Eine gemeinsame Breite für Card + Features; Platz für Außen-Etikett */
  width: min(calc(92vw - 32px), var(--card-w));
  max-width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
  overflow: visible;
}

.nn-auth-ortung .auth-form.nn-auth-card,
.nn-auth-ortung .nn-auth-card {
  position: relative;
  /* kein z-index: sonst eigener Stacking-Context → Kind z-index:-1
     liegt ÜBER dem Card-Hintergrund statt dahinter */
  /* !important: schlägt Bootstrap w-xl-40 / w-lg-55 / w-sm-75 */
  width: 100% !important;
  max-width: 100%;
  margin: 0;
  padding: 38px 34px 30px;
  border-radius: 14px;
  /* opak: deckt den untergeschobenen Tag-Anteil ab */
  background: #fff;
  border: 0;
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.42),
    0 2px 6px rgba(0, 0, 0, 0.18);
  text-align: center;
  color: var(--ink);
  box-sizing: border-box;
  overflow: visible;
}

/* NOLTA-Etikett – haftet außen an der rechten Card-Kante (peek from behind) */
.nn-auth-ortung .nn-auth-card-tag {
  position: absolute;
  /* leicht unter die Card geschoben → Überstand rechts, Fuge an der Kante */
  left: calc(100% - 2px);
  right: auto;
  bottom: 22px;
  /* hinter Card-Hintergrund (Wrap isoliert), sichtbar nur der rechte Überstand */
  z-index: -1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35em;
  padding: 7px 5px 8px;
  background: var(--nn-red, #DB002E);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.15;
  text-transform: none;
  /* nach rotate(180deg): äußere (rechte) Kante abgerundet */
  border-radius: 6px 0 0 6px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  transform-origin: center center;
  pointer-events: none;
  user-select: none;
  text-shadow: none;
  /*
   * nach rotate(180deg): +x → visuell links (zur Card/Fuge), -x → rechts/außen.
   * Fugen-Schatten liegt unter der Card-Kante (z-index), dunkelt die Naht,
   * nicht die Formularfläche; leichter Außen-Schatten für Plastizität.
   */
  box-shadow:
    5px 0 10px rgba(0, 0, 0, 0.48),
    3px 0 4px rgba(0, 0, 0, 0.32),
    -2px -1px 5px rgba(0, 0, 0, 0.2);
}

.nn-auth-ortung .nn-auth-card-tag .by {
  color: #fff;
  font-size: 0.85em;
  font-weight: 400;
  letter-spacing: 0.06em;
  opacity: 1;
}

.nn-auth-ortung .nn-auth-card-tag .brand {
  color: #fff;
  font-size: 1.05em;
  font-weight: 700;
  letter-spacing: 0.16em;
  opacity: 1;
}

/* Language Switch (Login / Register / Forgot) – analog zu menu_top */
.nn-auth-ortung .nn-auth-lang {
  position: absolute;
  top: 12px;
  right: 14px;
  z-index: 5;
}

.nn-auth-ortung .nn-auth-lang > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 6px;
  line-height: 1;
  text-decoration: none;
  border-radius: 6px;
  color: var(--ink-soft);
}

.nn-auth-ortung .nn-auth-lang > a:hover,
.nn-auth-ortung .nn-auth-lang > a:focus {
  background: rgba(34, 38, 42, 0.06);
  color: var(--ink);
}

.nn-auth-ortung .nn-auth-lang .dropdown-menu {
  min-width: 0;
  padding: 6px 8px !important;
  text-align: center;
  white-space: nowrap;
}

.nn-auth-ortung .nn-auth-lang .dropdown-menu a {
  display: inline-block;
  text-decoration: none;
}

/* Logo / Brand – Markup bleibt, Farben für weiße Karte anpassen */
.nn-auth-ortung .auth-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 14px !important;
}

.nn-auth-ortung .auth-brand .brand-img {
  max-height: 58px !important;
  width: auto;
  border-radius: 10px;
  background: #fff;
  box-shadow:
    0 0 0 1px var(--line),
    0 3px 8px rgba(34, 38, 42, 0.16);
}

.nn-auth-ortung .auth-brand h2 {
  margin: 0;
  font-size: 27px !important;
  font-weight: 400 !important;
  line-height: 1.2;
}

.nn-auth-ortung .auth-brand h2,
.nn-auth-ortung .auth-brand h2 span,
.nn-auth-ortung .auth-brand .color-nolta-1 {
  color: var(--nn-red) !important;
}

.nn-auth-ortung .auth-brand h2 span span[style],
.nn-auth-ortung .auth-brand a {
  color: var(--nn-red) !important;
  text-decoration: none;
}

.nn-auth-ortung .nn-auth-card h1,
.nn-auth-ortung .nn-auth-card .display-4 {
  font-weight: 300 !important;
  font-size: 34px !important;
  margin: 0 0 26px !important;
  color: var(--ink) !important;
  line-height: 1.2;
}

.nn-auth-ortung .nn-auth-card p.text-center.mb-30:empty {
  display: none;
  margin: 0 !important;
}

.nn-auth-ortung .nn-auth-card p,
.nn-auth-ortung .nn-auth-card .card-title,
.nn-auth-ortung .nn-auth-card .form-check-label,
.nn-auth-ortung .nn-auth-card label {
  color: var(--ink-soft) !important;
}

.nn-auth-ortung .nn-auth-card .card {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: left;
}

.nn-auth-ortung .nn-auth-card .card-header,
.nn-auth-ortung .nn-auth-card .card-body {
  color: var(--ink) !important;
}

.nn-auth-ortung .nn-auth-card .card-header h6 {
  color: var(--ink) !important;
  margin: 0;
}

.nn-auth-ortung .nn-auth-card hr {
  border-top-color: var(--line);
}

/* Felder */
.nn-auth-ortung .nn-auth-card .form-group {
  position: relative;
  margin-bottom: 12px;
  text-align: left;
}

.nn-auth-ortung .nn-auth-card .form-group > .input-group {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  width: 100%;
}

.nn-auth-ortung .nn-auth-card input.form-control,
.nn-auth-ortung .nn-auth-card input[type="text"],
.nn-auth-ortung .nn-auth-card input[type="email"],
.nn-auth-ortung .nn-auth-card input[type="password"] {
  flex: 1 1 auto;
  min-width: 0;
  padding: 13px 15px !important;
  font-size: 15px !important;
  color: var(--ink) !important;
  background: var(--field) !important;
  border: 1px solid var(--line) !important;
  border-radius: 6px !important;
  outline: none;
  box-shadow: none !important;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.nn-auth-ortung .nn-auth-card input::placeholder {
  color: var(--ink-mute) !important;
}

.nn-auth-ortung .nn-auth-card input:focus {
  border-color: var(--nn-red) !important;
  background: #fff !important;
  box-shadow: 0 0 0 3px rgba(219, 0, 46, 0.14) !important;
}

/* Passwort-Auge (bestehendes Feather-Markup) – nicht von Submit-Button-Styles überschreiben */
.nn-auth-ortung .nn-auth-card .input-group-text.btn,
.nn-auth-ortung .nn-auth-card .input-group-text.btn-nolta-1 {
  position: relative;
  flex: 0 0 52px;
  margin-left: 8px;
  width: 52px !important;
  min-width: 52px;
  max-width: 52px;
  align-self: stretch;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 6px !important;
  background: var(--nn-red) !important;
  color: #fff !important;
  cursor: pointer;
  display: flex !important;
  align-items: center;
  justify-content: center;
  float: none;
}

/* Nested Bootstrap-.input-group im Auge: überlagern, nicht volle Breite/Zeile */
.nn-auth-ortung .nn-auth-card .input-group-text > .input-group {
  position: absolute;
  inset: 0;
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: auto !important;
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  flex-wrap: nowrap;
}

.nn-auth-ortung .nn-auth-card .input-group-text .feather-icon,
.nn-auth-ortung .nn-auth-card .input-group-text .feather-icon svg {
  color: #fff !important;
  stroke: #fff;
  width: 18px;
  height: 18px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  pointer-events: none;
}

.nn-auth-ortung .nn-auth-card .input-group-text .feather-icon > svg {
  width: 18px;
  height: 18px;
  stroke: #fff;
}

/* FakeSPAM / Honeypot (acceptterms): .noltaterms muss display:none behalten,
   auch gegen .d-flex und .form-check { display:flex } aus diesem Stylesheet */
.nn-auth-ortung .noltaterms {
  display: none !important;
}

/* Switches / Quick-Login */
.nn-auth-ortung .nn-auth-card .form-check:not(.noltaterms) {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  margin: 18px 0 8px;
}

.nn-auth-ortung .nn-auth-card .form-check-label {
  font-size: 12.5px !important;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin: 0 !important;
  color: var(--ink-soft) !important;
}

/* AGB-/Datenschutz-Checkbox (sichtbar, nicht Honeypot) */
.nn-auth-ortung .nn-auth-card .nn-auth-acceptagb {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 12px;
  width: 100%;
  max-width: 100%;
  margin: 8px 0 4px;
  padding: 0;
}

.nn-auth-ortung .nn-auth-card .nn-auth-acceptagb .nolta-switch {
  flex: 0 0 46px;
  width: 46px !important;
  min-width: 46px;
  max-width: 46px;
  margin: 2px 0 0 !important;
  float: none;
}

.nn-auth-ortung .nn-auth-card .nn-auth-acceptagb .form-check-label {
  flex: 1 1 auto;
  min-width: 0;
  width: auto;
  max-width: 100%;
  text-transform: none;
  letter-spacing: normal;
  font-size: 12px !important;
  line-height: 1.45;
  text-align: left;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: anywhere;
}

.nn-auth-ortung .nn-auth-card .nn-auth-acceptagb .form-check-label a {
  color: var(--nn-red) !important;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.nn-auth-ortung .nn-auth-card .nn-auth-acceptagb .form-check-label a:hover {
  color: var(--nn-red-dark) !important;
}

.nn-auth-ortung .nn-auth-card .nolta-switch {
  width: 46px !important;
  height: 22px !important;
  border-radius: 22px !important;
  background: #CBD1D6 !important;
  flex-shrink: 0;
  overflow: visible;
}

.nn-auth-ortung .nn-auth-card .nolta-switch:before {
  display: none !important;
}

.nn-auth-ortung .nn-auth-card .nolta-switch:after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 3px !important;
  left: 3px !important;
  width: 16px !important;
  height: 16px !important;
  border-radius: 50%;
  background: #fff !important;
  background-image: none !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
  transition: transform 0.25s;
}

.nn-auth-ortung .nn-auth-card .nolta-switch:checked {
  background: var(--nn-red) !important;
}

.nn-auth-ortung .nn-auth-card .nolta-switch:checked:after {
  left: 3px !important;
  transform: translateX(24px);
}

/* Buttons (Submit/Links – Eye-Button via :not(.input-group-text) ausnehmen) */
.nn-auth-ortung .nn-auth-card .btn.btn-nolta-1:not(.input-group-text),
.nn-auth-ortung .nn-auth-card button.btn[type="submit"],
.nn-auth-ortung .nn-auth-card a.btn.btn-nolta-1 {
  width: 100%;
  padding: 14px !important;
  border: 0 !important;
  border-radius: 6px !important;
  cursor: pointer;
  background: var(--nn-red) !important;
  color: #fff !important;
  font-size: 16px !important;
  transition: background 0.2s, transform 0.12s;
  text-transform: none;
}

.nn-auth-ortung .nn-auth-card .btn.btn-nolta-1:not(.input-group-text):hover,
.nn-auth-ortung .nn-auth-card button.btn[type="submit"]:hover,
.nn-auth-ortung .nn-auth-card a.btn.btn-nolta-1:hover {
  background: var(--nn-red-dark) !important;
  color: #fff !important;
}

.nn-auth-ortung .nn-auth-card .btn.btn-nolta-1:not(.input-group-text):active,
.nn-auth-ortung .nn-auth-card button.btn[type="submit"]:active {
  transform: translateY(1px);
}

.nn-auth-ortung .nn-auth-card .input-group-text.btn.btn-nolta-1:hover {
  background: var(--nn-red-dark) !important;
  color: #fff !important;
}

.nn-auth-ortung .nn-auth-card .btn:focus-visible,
.nn-auth-ortung .nn-auth-card .nolta-switch:focus-visible,
.nn-auth-ortung .nn-auth-card .input-group-text:focus-visible {
  outline: 2px solid var(--nn-red);
  outline-offset: 2px;
}

/* Links */
.nn-auth-ortung .nn-auth-card .form-row {
  margin-top: 22px !important;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 9px;
}

.nn-auth-ortung .nn-auth-card .form-row .col-12 {
  max-width: 100%;
  flex: none;
  padding: 0;
  margin: 0 !important;
}

.nn-auth-ortung .nn-auth-card .form-row a,
.nn-auth-ortung .nn-auth-card .form-row a u {
  color: var(--ink-soft) !important;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.nn-auth-ortung .nn-auth-card .form-row a:hover,
.nn-auth-ortung .nn-auth-card .form-row a:hover u {
  color: var(--nn-red) !important;
}

/* Alerts */
.nn-auth-ortung .nn-auth-card .alert,
.nn-auth-ortung .nn-auth-card .notes {
  text-align: left;
  border-radius: 6px;
  font-size: 14px;
  color: var(--ink) !important;
}

/* Feature-Slider unter der Card – gleiche berechnete Breite wie Card */
.nn-auth-ortung .features {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 100%;
  margin-top: 14px;
  padding: 14px 18px 12px;
  border-radius: 12px;
  background: rgba(26, 30, 34, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.10);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
  text-align: left;
  box-sizing: border-box;
}

.nn-auth-ortung .features .slides {
  position: relative;
  height: 52px;
}

.nn-auth-ortung .features .slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.55s ease, transform 0.55s ease;
  pointer-events: none;
}

.nn-auth-ortung .features .slide.is-active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.nn-auth-ortung .features .slide .ico {
  flex: 0 0 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: rgba(219, 0, 46, 0.14);
  border: 1px solid rgba(219, 0, 46, 0.30);
  color: var(--nn-red);
}

.nn-auth-ortung .features .slide .ico svg {
  width: 20px;
  height: 20px;
}

.nn-auth-ortung .features .slide h2 {
  margin: 0 0 3px;
  font-size: 13.5px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.01em;
  line-height: 1.25;
}

.nn-auth-ortung .features .slide p {
  margin: 0;
  font-size: 12.5px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.66) !important;
}

.nn-auth-ortung .features .dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
}

.nn-auth-ortung .features .dots button {
  width: 6px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 99px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.28);
  transition: width 0.3s ease, background 0.3s ease;
}

.nn-auth-ortung .features .dots button[aria-selected="true"] {
  width: 18px;
  background: var(--nn-red);
}

.nn-auth-ortung .features .dots button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

/* Footer unter Card/Slider im Dokumentfluss (nicht fixed Overlay) */
.nn-auth-ortung > .footer {
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
  z-index: 2;
  flex: 0 0 auto;
  width: 100%;
  margin-top: 0 !important; /* Bootstrap mt-auto nicht gegen Flex kämpfen lassen */
  color: rgba(242, 244, 246, 0.65) !important;
  padding: 8px 16px 16px !important;
  background: transparent;
  pointer-events: none;
}

.nn-auth-ortung > .footer a {
  pointer-events: auto;
}

.nn-auth-ortung > .footer *,
.nn-auth-ortung > .footer a {
  color: rgba(242, 244, 246, 0.65) !important;
  font-size: 12px !important;
}

.nn-auth-ortung > .footer a:hover {
  color: #fff !important;
}

@media (max-width: 520px) {
  .nn-auth-ortung .nn-auth-card h1,
  .nn-auth-ortung .nn-auth-card .display-4 {
    font-size: 28px !important;
  }

  .nn-auth-ortung .auth-form-wrap {
    /* etwas mehr Seitenfreiheit, damit das Etikett nicht am Viewport clippt */
    width: min(calc(100vw - 52px), var(--card-w));
  }

  .nn-auth-ortung .auth-form.nn-auth-card,
  .nn-auth-ortung .nn-auth-card {
    padding: 30px 22px 24px;
  }

  .nn-auth-ortung .nn-auth-card-tag {
    bottom: 16px;
    padding: 5px 4px 6px;
    font-size: 9px;
    letter-spacing: 0.12em;
  }

  .nn-auth-ortung .features .slides {
    height: 58px;
  }

  .nn-auth-ortung .features .slide p {
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nn-auth-ortung *,
  .nn-auth-ortung *::before,
  .nn-auth-ortung *::after {
    animation: none !important;
    transition: none !important;
  }
}
