/* WAYAND Intern – nur für die Anmeldeseite. Die vorhandenen app.css- und wayand-brand.css-Dateien bleiben unverändert. */
.wayand-login-shell {
  background: linear-gradient(180deg, #ffffff 0%, #f8f8f6 100%);
}

.wayand-login-shell .topbar {
  background: rgba(255, 255, 255, .97);
  border-bottom-color: rgba(37, 37, 34, .10);
}

.wayand-login-shell .page-wrap {
  width: min(1140px, calc(100% - 40px));
  min-height: calc(100vh - 143px);
  padding-top: clamp(36px, 5vw, 66px);
  padding-bottom: clamp(36px, 5vw, 66px);
}

.wayand-login-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(350px, 430px);
  align-items: center;
  gap: clamp(38px, 6vw, 88px);
  min-height: min(66vh, 650px);
  max-width: 1060px;
  margin: 0 auto;
}

.wayand-login-intro {
  padding: 12px 0;
}

.wayand-login-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  padding: 9px 12px;
  border: 1px solid rgba(255, 132, 0, .20);
  border-radius: 999px;
  background: #fff9f2;
  color: #92500a;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .12em;
}

.wayand-login-badge svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wayand-login-intro h1 {
  max-width: 600px;
  margin-bottom: 18px;
  color: #252522;
  font-family: "Times New Roman", Times, Georgia, serif;
  font-size: clamp(40px, 4.5vw, 57px);
  font-weight: 500;
  letter-spacing: -.04em;
  line-height: 1.04;
}

.wayand-login-title-brand {
  color: #252522;
  font-weight: 700;
  white-space: nowrap;
}

.wayand-login-intro .lead {
  max-width: 485px;
  margin-bottom: 0;
  color: #65655f;
  font-size: 16px;
  line-height: 1.75;
}

.wayand-access-note {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  max-width: 485px;
  margin-top: 32px;
  padding: 17px 18px;
  border: 1px solid rgba(37, 37, 34, .10);
  border-radius: 13px;
  background: rgba(255, 255, 255, .82);
}

.wayand-access-note-icon {
  display: grid;
  flex: 0 0 34px;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(255, 132, 0, .09);
  color: #aa5a00;
}

.wayand-access-note-icon svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wayand-access-note strong {
  display: block;
  margin: 1px 0 4px;
  color: #30302d;
  font-size: 12px;
  font-weight: 750;
}

.wayand-access-note p {
  margin: 0;
  color: #6b6b65;
  font-size: 12px;
  line-height: 1.65;
}

.wayand-access-note a {
  color: #995100;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(153, 81, 0, .35);
  text-underline-offset: 3px;
}

.wayand-login-card {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 3.8vw, 39px);
  border-color: rgba(37, 37, 34, .11);
  border-radius: 19px;
  background: #fff;
  box-shadow: 0 22px 58px rgba(37, 37, 34, .075);
}

.wayand-login-card::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: #ff8400;
  content: "";
}

.wayand-login-card .card-symbol.wayand-logo-mark {
  width: 72px;
  height: 72px;
  margin-bottom: 17px;
  object-fit: contain;
}

.wayand-login-card-kicker {
  margin-bottom: 8px;
  color: #252522;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .13em;
}

.wayand-login-card h2 {
  margin-bottom: 8px;
  color: #252522;
  font-size: 26px;
  letter-spacing: -.025em;
}

.wayand-login-card > .muted {
  margin-bottom: 25px;
  color: #71716b;
  font-size: 13px;
  line-height: 1.6;
}

.wayand-login-card .form-stack {
  gap: 10px;
}

.wayand-login-card .form-stack label {
  margin-top: 4px;
  color: #373733;
  font-size: 12px;
}

.wayand-login-card .form-stack input {
  min-height: 49px;
  border-color: #deded8;
  border-radius: 9px;
  background: #fff;
}

.wayand-login-card .form-stack input:focus {
  border-color: #ff8400;
  box-shadow: 0 0 0 3px rgba(255, 132, 0, .13);
}

.wayand-login-card .form-stack button {
  min-height: 49px;
  margin-top: 13px;
  border-radius: 9px;
}

.wayand-login-card .recovery-link-wrap {
  margin: 19px 0 0;
  text-align: center;
  font-size: 11px;
}

.wayand-login-card .text-link {
  color: #66665f;
  text-decoration-color: rgba(102, 102, 95, .35);
  text-underline-offset: 3px;
}

.wayand-login-card .text-link:hover {
  color: #92500a;
}

.wayand-login-shell .footer.wayand-login-footer {
  align-items: center;
  gap: 14px 28px;
  border-top: 0;
  background: #303030;
  color: rgba(255, 255, 255, .68);
  font-size: 11px;
}

.wayand-login-footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 18px;
}

.wayand-login-footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
}

.wayand-login-footer-links a {
  color: rgba(255, 255, 255, .78);
  text-decoration: none;
  transition: color .18s ease;
}

.wayand-login-footer-links a:hover,
.wayand-login-footer-links a:focus-visible {
  color: #ff9c2e;
}

.wayand-login-service-note {
  margin: 12px 0 0;
  color: #7a7a73;
  font-size: 10px;
  line-height: 1.5;
  text-align: center;
}

@media (max-width: 850px) {
  .wayand-login-shell .page-wrap {
    min-height: auto;
    padding-top: 36px;
    padding-bottom: 42px;
  }

  .wayand-login-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 25px;
    min-height: 0;
    max-width: 520px;
  }

  .wayand-login-intro {
    padding: 0;
  }

  .wayand-login-badge {
    margin-bottom: 17px;
  }

  .wayand-login-intro h1 {
    margin-bottom: 12px;
    font-size: clamp(34px, 7vw, 43px);
  }

  .wayand-login-intro .lead {
    font-size: 14px;
    line-height: 1.65;
  }

  .wayand-access-note {
    margin-top: 18px;
    padding: 13px 14px;
  }

  .wayand-login-card {
    padding: 27px 25px;
  }
}

@media (max-width: 560px) {
  .wayand-login-shell .page-wrap {
    width: min(100% - 28px, 500px);
    padding-top: 25px;
    padding-bottom: 30px;
  }

  .wayand-login-layout {
    gap: 19px;
  }

  .wayand-login-badge {
    margin-bottom: 14px;
    padding: 8px 10px;
    font-size: 9px;
  }

  .wayand-login-intro h1 {
    font-size: clamp(32px, 9vw, 38px);
  }

  .wayand-access-note {
    margin-top: 16px;
  }

  .wayand-login-card {
    padding: 24px 19px;
    border-radius: 15px;
  }

  .wayand-login-card .card-symbol.wayand-logo-mark {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
  }

  .wayand-login-card h2 {
    font-size: 24px;
  }

  .wayand-login-shell .footer.wayand-login-footer {
    align-items: center;
    justify-content: center;
    padding: 17px 16px;
    text-align: center;
  }

  .wayand-login-footer-meta,
  .wayand-login-footer-links {
    justify-content: center;
  }

  .wayand-login-footer-meta {
    gap: 5px 12px;
  }

  .wayand-login-footer-links {
    gap: 8px 17px;
  }
}

/* V3: klar gegliederter, hochwertiger Rechts-Footer */
.wayand-login-shell .footer.wayand-login-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 34px;
  padding: 20px clamp(20px, 5vw, 76px);
  border-top: 1px solid rgba(255, 255, 255, .10);
  background: #252522;
  color: rgba(255, 255, 255, .66);
  font-size: 11px;
  line-height: 1.5;
}

.wayand-login-footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px 14px;
  min-width: 0;
}

.wayand-login-footer-meta span + span::before {
  content: "·";
  display: inline-block;
  margin-right: 14px;
  color: rgba(255, 255, 255, .35);
}

.wayand-login-footer-links {
  display: inline-flex !important;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0;
  min-width: 0;
}

.wayand-login-footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 2px 15px;
  border-left: 1px solid rgba(255, 255, 255, .18);
  color: rgba(255, 255, 255, .82);
  font-size: 11px;
  line-height: 1.35;
  white-space: nowrap;
  text-decoration: none;
  text-underline-offset: 4px;
  transition: color .18s ease, background-color .18s ease;
}

.wayand-login-footer-links a:first-child {
  padding-left: 0;
  border-left: 0;
}

.wayand-login-footer-links a:hover {
  color: #ff9c2e;
  text-decoration: underline;
  text-decoration-color: rgba(255, 156, 46, .65);
}

.wayand-login-footer-links a:focus-visible {
  border-radius: 5px;
  outline: 2px solid #ff9c2e;
  outline-offset: 3px;
  color: #ffb45e;
}

@media (max-width: 850px) {
  .wayand-login-shell .footer.wayand-login-footer {
    justify-content: center;
    gap: 10px 20px;
  }

  .wayand-login-footer-meta,
  .wayand-login-footer-links {
    justify-content: center;
  }
}

@media (max-width: 560px) {
  .wayand-login-shell .footer.wayand-login-footer {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 19px 15px 22px;
    text-align: center;
  }

  .wayand-login-footer-meta {
    flex-direction: column;
    gap: 3px;
  }

  .wayand-login-footer-meta span + span::before {
    content: none;
  }

  .wayand-login-footer-links {
    width: 100%;
    gap: 7px;
  }

  .wayand-login-footer-links a,
  .wayand-login-footer-links a:first-child {
    justify-content: center;
    min-height: 34px;
    padding: 7px 12px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 7px;
    background: rgba(255, 255, 255, .045);
  }

  .wayand-login-footer-links a:hover {
    background: rgba(255, 132, 0, .10);
  }
}
