/* webstandort's own pages (start, sign-in, account, not found): page chrome on top of the layer tokens in webstandort.css. */
html, body { margin: 0; background: #fff; }
body { min-height: 100dvh; display: flex; flex-direction: column; }
.page { flex: 1; display: flex; flex-direction: column; }
.page-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; }
.page-head .webstandort-mark { font-size: 22px; color: var(--webstandort-ink); text-decoration: none; }
.page-head-link { font-size: 14.5px; font-weight: 550; color: var(--webstandort-ink-2); text-decoration: none; }
.page-head-link:hover { color: var(--webstandort-ink); }
.page-main { flex: 1; padding: 12px 24px 48px; }
.page-col { width: 100%; max-width: 440px; margin: 0 auto; }
.page-col.is-wide { max-width: 560px; }
.page-title { font-size: 32px; line-height: 1.1; letter-spacing: -0.03em; font-weight: 650; margin: 0 0 10px; text-wrap: balance; }
.page-lead { font-size: 16.5px; line-height: 1.5; color: var(--webstandort-ink-2); margin: 0 0 24px; text-wrap: pretty; }
.page-alert { font-size: 15px; line-height: 1.5; color: #b3261e; margin: -10px 0 18px; text-wrap: pretty; }
.page-alert[hidden] { display: none; }
.page-note { font-size: 15px; line-height: 1.55; color: var(--webstandort-ink-2); margin: 22px 0 0; text-wrap: pretty; }
.page-note a { color: var(--webstandort-ink); font-weight: 600; text-decoration-color: var(--webstandort-line-strong, #cfd6d3); text-underline-offset: 3px; white-space: nowrap; }
/* The footer (pages/_foot.html): the owner line on its own row, then the two link groups, each wrapping as a unit. */
.page-foot { padding: 20px 24px 28px; font-size: 13px; color: var(--webstandort-muted); display: flex; flex-wrap: wrap; gap: 6px 18px; }
.page-foot > span { flex-basis: 100%; }
.page-foot > .page-foot-group { flex-basis: auto; display: flex; gap: 18px; }
.page-foot a { color: inherit; text-decoration: none; }
.page-foot a:hover { color: var(--webstandort-ink); }
@media (min-width: 900px) {
  .page-head { padding: 28px 0; width: 100%; max-width: var(--page-col, 560px); margin: 0 auto; box-sizing: border-box; }
  .page-main { padding-top: 40px; }
  .page-foot { padding: 24px 0 32px; width: 100%; max-width: var(--page-col, 560px); margin: 0 auto; }
}

/* The entry card (start page, not found): the letter's preview address with the fixed apex, the code, one button. */
.entry { padding: 20px; border: 1px solid var(--webstandort-line); border-radius: var(--webstandort-radius); box-shadow: 0 2px 10px rgba(14, 19, 17, 0.06); }
.entry label { display: block; font-size: 14px; font-weight: 550; color: var(--webstandort-ink-2); margin-bottom: 8px; }
.slug { display: flex; align-items: center; height: 52px; border: 1px solid var(--webstandort-field-line); border-radius: 10px; background: #fff; box-shadow: 0 1px 2px rgba(14, 19, 17, 0.04); margin-bottom: 16px; }
.slug:focus-within { border-color: var(--webstandort-brand); box-shadow: var(--webstandort-focus); }
/* --slug-size: 17 px, down to 13 px while a long address would scroll out of the field (entry.js). */
.slug input { flex: 1; min-width: 0; height: 100%; border: 0; background: none; padding: 0 0 0 14px; font: 500 var(--slug-size, 17px)/1 var(--webstandort-font); color: var(--webstandort-ink); text-align: right; }
.slug input:focus { outline: none; }
.slug input::placeholder { color: #6b756f; font-weight: 400; }
.slug span { padding: 0 14px 0 1px; font: 500 var(--slug-size, 17px)/1 var(--webstandort-font); color: var(--webstandort-ink-2); }
/* Too long for one line even at 13 px: the address on the first line, the fixed ending under it (entry.js). */
.slug.is-long { flex-wrap: wrap; height: auto; padding: 9px 0; row-gap: 4px; }
.slug.is-long input { flex-basis: 100%; height: 26px; padding-right: 14px; text-align: left; }
.slug.is-long span { flex-basis: 100%; padding-left: 14px; }
.slug[aria-invalid="true"] { border-color: #b3261e; }
.entry .webstandort-btn { margin-top: 0; height: 54px; font-size: 17px; }
/* The message sits under the code boxes, in a line kept free so the card never jumps (as on the gate). */
.entry-alerts { min-height: 40px; margin: 6px 0 6px; display: grid; align-content: center; }
.entry-error { margin: 0; font-size: 14px; line-height: 1.4; color: #b3261e; text-wrap: balance; }
.entry-error[hidden] { display: none; }

/* Facts under the entry card: Slate Ink checks, one line each on phones. */
.facts { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 6px; font-size: 14.5px; color: var(--webstandort-ink-2); }
.facts li { display: flex; align-items: baseline; gap: 7px; }
.facts svg { flex: none; width: 16px; height: 16px; color: var(--webstandort-ink-2); transform: translateY(3px); }

.who { margin: 40px 0 0; }
.who .webstandort-person { margin: 0; padding-top: 18px; }

/* Questions as disclosure rows between hairlines. */
.faq { margin: 34px 0 0; border-top: 1px solid var(--webstandort-line); }
.faq h2 { font-size: 20px; font-weight: 650; letter-spacing: -0.015em; color: var(--webstandort-ink); margin: 26px 0 4px; }
.faq details { border-bottom: 1px solid var(--webstandort-line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 15px 0; font-size: 16px; font-weight: 600; color: var(--webstandort-ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; font-weight: 400; color: var(--webstandort-muted); line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq summary:focus-visible { outline: none; box-shadow: var(--webstandort-focus); border-radius: 6px; }
.faq p { margin: -4px 0 16px; font-size: 15px; line-height: 1.55; color: var(--webstandort-ink-2); max-width: 56ch; text-wrap: pretty; }
.faq a { color: inherit; }

/* "Link erneut senden": a link, not a label. */
.webstandort-btn-quiet[data-resend] { text-decoration: underline; text-decoration-color: var(--webstandort-line-strong); text-underline-offset: 3px; }
