/* eco2050 Wartungsseite – mobile-first */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  height: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #4a4b4f;
  background-color: #fff;
}

.lang-switch {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1rem 0;
  flex-shrink: 0;
}

.lang-switch a {
  display: inline-flex;
  line-height: 0;
  border-radius: 2px;
  outline-offset: 3px;
}

.lang-switch a:focus-visible {
  outline: 2px solid #5a5f0a;
}

.lang-switch img {
  width: 28px;
  height: auto;
  display: block;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem 3rem;
  text-align: center;
}

.logo {
  width: 16rem;
  max-width: 100%;
  height: auto;
  margin-bottom: 2rem;
}

.message {
  max-width: 28rem;
  margin: 0;
}

.message p {
  margin: 0 0 1rem;
}

.message p:last-child {
  margin-bottom: 0;
}

.message a {
  color: #5a5f0a;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.message a:hover {
  color: #3d4107;
}

.message a:focus-visible {
  outline: 2px solid #5a5f0a;
  outline-offset: 2px;
}

@media (min-width: 48rem) {
  body {
    font-size: 1.125rem;
  }

  .lang-switch {
    padding: 1.5rem 1.5rem 0;
    gap: 1rem;
  }

  .lang-switch img {
    width: 32px;
  }

  .main {
    padding: 2.5rem 2rem 4rem;
  }

  .logo {
    width: 22rem;
    margin-bottom: 2.5rem;
  }

  .message {
    max-width: 34rem;
  }
}
