@charset "UTF-8";
/*
  Global App CSS
  ----------------------
  Use this file for styles that should be applied to all components.
  For example, "font-family" within the "body" selector is a CSS property
  most apps will want applied to all components.

  Any global CSS variables should also be applied here.
*/
body {
  margin: 0px;
  padding: 0px;
  background-color: var(--body-bg-color);
  font-family: system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", Helvetica, Arial, sans-serif;
}
body.no-input-borders {
  --input-group-border: none;
  --sep-top-border: none;
}
body {
  hyphens: none;
  word-break: normal;
}

:root {
  --theme-color: #d80107;
  --body-bg-color: #efefef;
  --bg-color: #ffffff;
  --text-color: #221f1f;
  --text-minor-color: var(--text-minor-color, #757575);
  --text-color-light: #ffffff;
  --default-margin: 20px;
  --small-margin: calc(var(--default-margin)/2);
  --max-width: 1200px;
  --input-group-border: 1px solid var(--theme-color);
  --sep-top-border: 1px dashed var(--theme-color);
  --spinner-size: clamp(44px, 10vw, 64px);
}

@media screen and (max-width: 600px) {
  body {
    font-size: 1.2em;
  }
}
/** Loading animation */
#loading-animation {
  position: absolute;
  z-index: 1000;
  top: 0px;
  left: 0px;
  height: 100vh;
  width: 100vw;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-color);
}

.loader-card {
  padding: clamp(2rem, 6vw, 3rem) clamp(2.5rem, 8vw, 4rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  max-width: 320px;
  width: 90vw;
}
.loader-card h1 {
  font-size: 1em;
  font-weight: 900;
  padding: 0;
  margin: 0;
  text-align: center;
}

/* ---- Spinner ---- */
.spinner {
  width: var(--spinner-size);
  height: var(--spinner-size);
  border-radius: 50%;
  border: 4px solid var(--body-bg-color);
  border-top-color: var(--theme-color);
  animation: spin 2s linear infinite;
  /* Fokus-Ring für Tastatur nicht sinnvoll, da rein dekorativ */
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
/* ---- Text ---- */
.loader-text {
  font-size: clamp(1rem, 3vw, 1.125rem);
  font-weight: 600;
  color: var(--theme-color);
  letter-spacing: 0.01em;
}

.loader-sub {
  font-size: 0.825rem;
  color: var(--text-color);
  margin-top: -0.5rem;
}

/* ---- Reduzierte Bewegung (Barrierefreiheit) ---- */
@media (prefers-reduced-motion: reduce) {
  .spinner {
    animation: none;
    border-top-color: var(--theme-color);
    opacity: 0.8;
  }
  #loader-animation {
    transition: none;
  }
}