/* Public apex page. Dark, on purpose, and independent of the gold used in the app shell. */

body.fb-body.site {
  background: #05060a;
  color: #f4f6fb;
  color-scheme: dark;
}

.site-header,
.site-main,
.site-footer {
  width: min(960px, calc(100% - 40px));
  margin-left: auto;
  margin-right: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 22px 0 8px;
}

.site-mark {
  color: #f4f6fb;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.site-nav a {
  color: #c5ceda;
  font-size: 0.92rem;
  text-decoration: none;
}

.site-nav a:hover { color: #f4f6fb; }

.site-signin {
  display: inline-block;
  padding: 0.45rem 0.9rem;
  color: #05060a !important;
  background: #f4f6fb;
  border-radius: 999px;
  font-weight: 600;
}

.site-signin:hover { background: #ffffff; }

.site-intro {
  padding: 2.5rem 0 0.5rem;
}

.site-intro h1 {
  margin: 0 0 0.6rem;
  max-width: 16ch;
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 700;
}

.site-intro p,
.site-copy p {
  margin: 0;
  max-width: 38rem;
  color: #b7c0ce;
  font-size: 1.05rem;
}

.site-shot {
  margin: 1.75rem 0 0;
}

.site-shot img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
}

.site-copy {
  padding: 0.25rem 0 0.5rem;
}

body.site strong { color: #f4f6fb; }

.site-copy h2,
.site-panel h2 {
  margin: 0 0 0.45rem;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: #f4f6fb;
}

.site-block {
  padding-top: 3rem;
}

.site-panel {
  margin-top: 1.25rem;
  padding: 1.5rem 1.4rem 1.6rem;
  background: #10131a;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
}

.site-list {
  margin: 0.8rem 0 0;
  padding: 0;
  list-style: none;
}

.site-list li {
  margin: 0;
  padding: 0.7rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #d5dbe4;
}

.site-list strong {
  display: block;
  color: #f4f6fb;
  font-weight: 600;
}

.site-list span {
  display: block;
  margin-top: 0.15rem;
  color: #b7c0ce;
  font-size: 0.95rem;
}

body.site .fb-noaccount {
  margin: 0;
  padding: 0;
  border: 0;
}

body.site .fb-noaccount h2 { color: #f4f6fb; }
body.site .fb-noaccount p,
body.site .fb-noaccount ul { color: #b7c0ce; }

body.site .fb-label { color: #f4f6fb; }

body.site [hidden] { display: none !important; }

body.site .fb-input {
  color: #f4f6fb;
  background: #05060a;
  border-color: rgba(255, 255, 255, 0.14);
}

body.site .fb-input:focus {
  outline-color: #9eb6ff;
  border-color: #9eb6ff;
}

body.site .fb-button {
  color: #05060a;
  background: #f4f6fb;
  border-color: #f4f6fb;
}

body.site .fb-button:hover {
  background: #ffffff;
  border-color: #ffffff;
}

body.site .fb-button-quiet {
  color: #f4f6fb;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.18);
}

body.site .fb-button-quiet:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.28);
}

body.site .fb-status { color: #b7c0ce; }
body.site .fb-status[data-tone="ok"] { color: #b7e3c8; }
body.site .fb-status[data-tone="error"] { color: #ffb4b4; }

.site-textbutton {
  padding: 0;
  border: 0;
  background: none;
  color: #c5ceda;
  font: inherit;
  font-size: 0.92rem;
  cursor: pointer;
}

.site-textbutton:hover { color: #f4f6fb; }

.site-zugang-teaser .fb-button { margin-top: 1rem; }

.site-dialog {
  width: min(34rem, calc(100vw - 2rem));
  max-height: calc(100vh - 2rem);
  padding: 0;
  color: #f4f6fb;
  background: transparent;
  border: 0;
}

.site-dialog::backdrop { background: rgba(0, 0, 0, 0.72); }

.site-dialog .site-panel { margin: 0; }

.site-dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.6rem;
}

.site-dialog-head h2 { margin: 0; }

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  padding: 2.5rem 0 3rem;
  color: #8b95a5;
  font-size: 0.88rem;
}

.site-footer a { color: #c5ceda; }
