/* ====== Fonts (liegen im selben Ordner wie dieses CSS) ====== */ @font-face {
  font-family: 'MuseoSans';
  src: url('MuseoSans300.woff2') format('woff2'), url('MuseoSans300.woff') format('woff');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'MuseoSans';
  src: url('MuseoSans500.woff2') format('woff2'), url('MuseoSans500.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'MuseoSans';
  src: url('MuseoSans300-Italic.woff2') format('woff2'), url('MuseoSans300-Italic.woff') format('woff');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'MuseoSans';
  src: url('MuseoSans500-Italic.woff2') format('woff2'), url('MuseoSans500-Italic.woff') format('woff');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
} /* ====== Design Tokens ====== */ :root {
  --brand: rgba(0, 50, 125, 1); /* deine Hauptfarbe */ --text: #23304a;
  --muted: #8aa0c2;
  --border: #d7ddea;
  --bg-soft: #f5f8fc; /* Button-Gradient (wie vorgegeben) */ --sw_gradient_secondary-start: rgba(0, 50, 125, 1);
  --sw_gradient_secondary-end: rgba(0, 90, 200, 1);
  --sw_gradient_primary-start: rgba(0, 120, 255, 1);
  --sw_color_white: #fff;
} /* ====== Base ====== */ * {
  box-sizing: border-box;
}
html, body {
  height: 100%;
}
body {
  margin: 0;
  font-family: 'MuseoSans', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: #fff;
} /* ====== Header ====== */ .app-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.brand-svg {
  width: 100px;
  height: 32px;
  display: block;
} /* Language chips */ .lang-switch {
  display: flex;
  gap: 14px;
  align-items: center;
}
.chip {
  height: 32px;
  min-width: 32px;
  padding: 0 10px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 500;
  color: var(--brand);
  text-decoration: none;
  border: 1px solid transparent;
  transition: background .2s ease, border-color .2s ease;
}
.chip:hover {
  background: var(--bg-soft);
}
.chip--active {
  background: #e9effb;
  border-color: #d8e3fb;
} /* ====== Center Card ====== */ .center {
  min-height: 100%;
  display: grid;
  place-items: center;
  padding: 64px 16px 80px; /* Platz für Header/Footer */
}
.login-card {
  width: 100%;
  max-width: 420px;
  text-align: center;
}
.login-card h1 {
  margin: 0 0 18px;
  font-size: 32px;
  font-weight: 200;
  color: var(--brand);
} /* ====== Form ====== */ .form {
  width: 100%;
}
.field {
  display: block;
  text-align: left;
  margin-bottom: 10px;
}
.field__label {
  position: absolute; /* visuell wie im Screenshot ohne echte Floating Labels */ height: 0;
  width: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
input {
  width: 100%;
  padding: 14px 44px 14px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
input::placeholder {
  color: #9fb0c9;
}
input:focus {
  border-color: #a9c1ff;
  box-shadow: 0 0 0 3px rgba(0, 120, 255, .15);
} /* Passwort mit Toggle */ .password {
  position: relative;
  display: flex;
}
.password input {
  padding-right: 42px;
}
.password__toggle {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border: none;
  background: transparent;
  padding: 0;
  display: grid;
  place-items: center;
  cursor: pointer;
  border-radius: 6px;
}
.password__toggle:hover {
  background: var(--bg-soft);
}
.icon {
  width: 20px;
  height: 20px;
  fill: #8aa0c2;
} /* Button */ .button {
  width: 100%;
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 200;
  color: var(--sw_color_white);
  cursor: pointer;
  border: none;
  transition: filter .2s ease, transform .02s ease;
}
.button:active {
  transform: translateY(1px);
}
.button--color-gradient {
  background: linear-gradient(to right, var(--sw_gradient_secondary-start), var(--sw_gradient_secondary-end));
}
.button--color-gradient:hover {
  background: linear-gradient(to right, var(--sw_gradient_secondary-start), var(--sw_gradient_primary-start));
} /* Sekundäre Aktionen */ .link-button {
  display: block;
  margin-top: 10px;
  padding: 12px;
  background: var(--bg-soft);
  border-radius: 8px;
  color: var(--brand);
  text-decoration: none;
  font-size: 14px;
  transition: background .2s ease;
  text-align: center;
}
.link-button:hover {
  background: #e9f0fb;
} /* ====== Footer ====== */ .app-footer {
  position: fixed;
  inset: auto 0 0 0;
  height: 56px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 16px;
  pointer-events: none; /* Links bekommen selbst wieder Pointer Events */
}
.footer-left {
  pointer-events: auto;
  display: flex;
  gap: 18px;
  align-items: center;
  justify-self: start;
  padding-left: 8px;
}
.footer-link {
  color: var(--brand);
  text-decoration: none;
  font-size: 13px;
}
.footer-link:hover {
  text-decoration: underline;
}
.footer-center {
  justify-self: center;
  font-size: 10px;
  color: #98a7c2;
  pointer-events: auto;
  display: block;
} /* Mobile Geräte ausblenden */ @media (max-width: 768px) {
  .footer-center {
    display: none;
  }
}
.footer-help {
  pointer-events: auto;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand);
  text-decoration: none;
  font-size: 14px;
  padding-right: 8px;
}
@media (max-width: 768px) {
  .footer-help {
    position: absolute;
    right: 8px;
  }
}
.help-icon {
  width: 18px;
  height: 18px;
  fill: var(--brand);
  opacity: .9;
}
.footer-help:hover .help-icon {
  opacity: 1;
} /* ====== Small screens ====== */ @media (max-width: 480px) {
  .lang-switch {
    gap: 8px;
  }
  .chip {
    min-width: 30px;
    height: 30px;
    padding: 0 8px;
    font-size: 12px;
  }
}
.brand-svg {
  width: 100%; /* Bild passt sich Container an, aber wird begrenzt */ height: auto; /* Seitenverhältnis bleibt korrekt */ max-width: 200px; /* Standard Desktop-Breite */ display: block;
} /* Mobile Geräte */ @media (max-width: 768px) {
  .brand-svg {
    max-width: 100px; /* Maximalbreite auf kleinen Screens */
  }
} /* Standard: Text sichtbar */ .help-text {
  display: inline;
} /* Mobile: Text ausblenden */ @media (max-width: 768px) {
  .help-text {
    display: none;
  }
} 

/* Overlay fürs Abdunkeln */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 99;
}

/* Modal-Container */
.modal {
  display: none;
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 100%;
  max-width: 420px;
  height: 60%;
  background: #fff;
  border-radius: 16px 16px 0 0; /* gleiche Rundung wie Buttons */
  box-shadow: 0 -4px 20px rgba(0,0,0,0.2);
  z-index: 100;
  flex-direction: column;
  padding: 20px;
  animation: slideUp .3s ease;
  overflow-y: auto;
}

.modal.is-active {
  display: flex;
  flex-direction: column;
}
/* Modal-Inhalt */
.modal-content {
  margin: auto 0;
}
.modal h2 {
  margin-top: 0;
  font-size: 24px;
  color: var(--brand);
  text-align: center;
  margin-bottom: 16px;
}

/* Animation */
@keyframes slideUp {
  from { transform: translate(-50%, 100%); }
  to { transform: translate(-50%, 0); }
}

/* Modal-Icon oben zentrieren, größer und in Brand-Farbe */
.modal-icon-top {
  display: block;       /* Block-Element, damit margin auto funktioniert */
  margin: 0 auto 20px;  /* zentrieren + Abstand nach unten */
  font-size: 3rem;      /* 3 mal größer */
  color: var(--brand);  /* Brand-Farbe */
}

/* Modal-Titel */
.modal-title {
  font-size: 29px;       /* etwas kleiner als h1, aber größer als Standard */
  font-weight: 100;      /* mittleres Gewicht für bessere Lesbarkeit */
  color: var(--brand);   /* Brand-Farbe */
  text-align: center;    /* zentriert */
  margin: 0 0 12px 0;    /* Abstand nach unten */
}

/* Modal-Subtext */
.modal-subtext {
  font-size: 14px;       /* angenehme Lesbarkeit */
  font-weight: 300;      /* leicht */
  color: var(--muted);   /* etwas abgeschwächt */
  text-align: center;    /* zentriert */
  margin: 4px 0 12px 0;         /* kleiner Abstand zwischen den Zeilen */
  line-height: 1.5;
}



