:root {
  --hb-red: #e2001a;
  --hb-bg: #f5f5f7;
  --hb-card-bg: #ffffff;
  --hb-border: #e5e7eb;
  --hb-text: #111827;
  --hb-muted: #6b7280;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--hb-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  color: var(--hb-text);
}

/* NEU: Language-Pill oben rechts */
.guard-lang {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 9995;
}

@media (max-width: 520px) {
  .guard-lang {
    top: 12px;
    right: 12px;
  }
}

.guard-card {
  background: var(--hb-card-bg);
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
  padding: 24px 26px 22px;
  width: 100%;
  max-width: 380px;
  border: 1px solid rgba(229,231,235,0.9);
}

.guard-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.guard-logo img {
  height: 26px;
  width: auto;
}

h1 {
  font-size: 18px;
  margin: 0 0 4px;
  text-align: center;
  color: var(--hb-red);
}

.guard-sub {
  font-size: 13px;
  color: var(--hb-muted);
  text-align: center;
  margin-bottom: 18px;
}

label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 4px;
}

input[type="password"] {
  width: 100%;
  padding: 9px 10px;
  border-radius: 999px;
  border: 1px solid var(--hb-border);
  font-size: 14px;
  box-sizing: border-box;
}

input[type="password"]:focus {
  border-color: var(--hb-red);
  outline: none;
  box-shadow: 0 0 0 1px rgba(226,0,26,0.25);
}

button {
  margin-top: 12px;
  width: 100%;
  border: none;
  border-radius: 999px;
  padding: 9px 14px;
  background: var(--hb-red);
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

button:hover {
  background: #b80015;
}

.guard-error {
  margin-top: 10px;
  font-size: 12px;
  color: #b91c1c;
  background: #fef2f2;
  border-radius: 10px;
  padding: 6px 8px;
  border: 1px solid #fecaca;
}

.guard-meta {
  margin-top: 12px;
  font-size: 11px;
  color: var(--hb-muted);
  text-align: center;
}
