* { box-sizing: border-box; margin: 0; padding: 0; }
body, html {
  width: 100vw; min-height: 100vh;
  background: #fdf5ea;
  font-family: sans-serif;
  color: #333;
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  min-height: 100vh;
}

.login-container {
  background: #fff;
  max-width: 350px;
  margin: 3rem 0 1rem 0;
  padding: 2.5rem 2rem 2rem 2rem;
  border-radius: 2rem;
  box-shadow: 0 8px 32px rgba(215,138,125,0.09), 0 2px 8px rgba(0,0,0,0.03);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  border: 1px solid #ece0d1;
}

.login-container img.logo {
  width: 120px;
  margin-bottom: .3rem;
}

.login-container h2 {
  color: #a35d52;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: .7rem;
  text-align: center;
}

.login-form {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: .5rem;
}

.login-form input {
  padding: .8rem 1.2rem;
  border-radius: 999px;
  border: 1.7px solid #e5cfc2;
  font-size: 1rem;
  outline: none;
  background: #f8f6f2;
  transition: border .2s;
}

.login-form input:focus {
  border-color: #a35d52;
  background: #fff;
}

.btn-primary {
  background: #a35d52;
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: .85rem 0;
  font-size: 1.09rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: .2rem;
  box-shadow: 0 2px 8px #f9d8d2a0;
  transition: background .18s;
}

.btn-primary:hover { background: #c6746a; }

.login-error {
  color: #ca2424;
  background: #fff5f5;
  border-radius: 999px;
  text-align: center;
  font-size: .97rem;
  padding: .7em 0;
  margin-top: -.5em;
  margin-bottom: -.3em;
}

.login-hint {
  font-size: .93rem;
  color: #888;
  margin: -.2em 0 0 0;
  text-align: center;
}

.footer {
  background: linear-gradient(135deg,#F4EFEA,#DED4C2);
  padding: 1.3em 0;
  width: 100vw;
  position: fixed;
  left: 0; bottom: 0;
  z-index: 200;
  border-top: 1px solid #e7dbca;
}

.footer .container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  font-size: .94em; color: #555;
  flex-wrap: wrap;
  gap: 1em;
  padding: 0 1.4em;
}

.footer .links a {
  margin-left: 1em;
  color: #555;
  text-decoration: none;
  font-weight: 500;
}

.footer .links a:hover { text-decoration: underline; }

/* Impressum/Datenschutz Modals */
.modal-footer {
  position: fixed; top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.53);
  display: none; align-items: center; justify-content: center;
  z-index: 2000;
}

.modal-content-footer {
  background: #fff; max-width: 520px; width: 94vw; max-height: 83vh;
  overflow-y: auto; padding: 2rem; border-radius: 1.2rem; position: relative;
  color: #333; font-size: 1.06em; line-height: 1.6;
  box-shadow: 0 12px 40px #dfb7a4a9;
}

.modal-close-footer {
  position: absolute; top: 1.1em; right: 1.3em;
  background: none; border: none; font-size: 1.5em; color: #a35d52;
  cursor: pointer;
}

@media (max-width: 520px) {
  .login-container { padding: 1.4em .6em 1.6em .6em; }
  .modal-content-footer { padding: 1em; }
}
