/* Markenwerte aus src/lib/ui/tokens.css. */
:root {
  --color-washi-50: #fbf9f9;
  --color-washi-100: #f6eeef;
  --color-washi-200: #d1c7c8;
  --color-sumi-900: #1d242b;
  --color-sumi-700: #5c6670;
  --color-sakura-200: #e1b7bc;
  --color-matcha-200: #d7d7c1;
  --color-hato-700: #405c76;
}
@font-face { font-family: Elms Sans; src: url('/assets/ElmsSans-Variable.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
:root { color-scheme: light; font-family: 'Elms Sans', sans-serif; color: var(--color-sumi-900); background: var(--color-washi-50); }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100svh; display: flex; flex-direction: column; border-top: 8px solid var(--color-sakura-200); }
header, footer { padding: 24px clamp(24px, 6vw, 96px); }
header img { width: 176px; height: auto; display: block; }
main { width: min(100%, 80ch); margin: 32px auto 80px; padding: 0 24px; flex: 1; }
.home { width: 100%; max-width: none; display: grid; place-content: center; text-align: center; margin: 0 auto; padding: 80px 24px; }
.home img { width: clamp(200px, 40vw, 440px); height: auto; margin: 0 auto; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); line-height: 1.12; font-weight: 600; letter-spacing: -.025em; margin: 0 0 32px; }
.home h1 { margin: 0; }
.home p { font-size: clamp(1.25rem, 3vw, 1.75rem); color: var(--color-sumi-700); margin: 32px 0 0; }
h2 { font-size: 1.35rem; line-height: 1.3; margin: 40px 0 12px; font-weight: 600; }
p, li, address { font-size: 1rem; line-height: 1.7; }
address { font-style: normal; }
a { color: inherit; text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 3px solid var(--color-hato-700); outline-offset: 5px; }
footer { border-top: 1px solid var(--color-washi-200); background: var(--color-washi-100); }
nav { display: flex; flex-wrap: wrap; gap: 8px 32px; }
nav a { padding: 12px 0; }
@media (max-width: 480px) { main { margin-top: 16px; } header, footer { padding: 20px 24px; } }
/* Data dictionary of the export register (/data-act/export). */
.register h3 { font-size: 1.1rem; line-height: 1.4; margin: 32px 0 8px; font-weight: 600; }
.register code { font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace; font-size: .9em; overflow-wrap: break-word; }
.register dl { display: grid; grid-template-columns: max-content 1fr; gap: 8px 24px; margin: 16px 0; }
.register dt { font-weight: 600; line-height: 1.7; }
.register dd { margin: 0; line-height: 1.7; }
.register table { width: 100%; border-collapse: collapse; margin: 12px 0 8px; }
.register th, .register td { text-align: left; vertical-align: top; padding: 10px 16px 10px 0; border-bottom: 1px solid var(--color-washi-200); line-height: 1.55; }
.register th { font-size: .875rem; font-weight: 600; color: var(--color-sumi-700); }
.register td:first-child { width: 40%; }
.register td span { display: block; margin-top: 2px; font-size: .875rem; color: var(--color-sumi-700); }
.register nav.inhalt { display: block; margin: 24px 0 8px; }
.register nav.inhalt ul { columns: 2; column-gap: 32px; margin: 0; padding-left: 1.25em; }
.register nav.inhalt a { padding: 0; }
@media (max-width: 600px) {
  .register dl { grid-template-columns: 1fr; gap: 0; }
  .register dd { margin-bottom: 12px; }
  .register nav.inhalt ul { columns: 1; }
  /* One field per block: the name above its meaning, so long names stay whole. */
  .register thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .register tr { display: block; padding: 10px 0; border-bottom: 1px solid var(--color-washi-200); }
  .register td { display: block; width: auto; padding: 0; border: 0; }
  .register td:first-child { width: auto; margin-bottom: 4px; }
  .register td:first-child span { display: inline; margin-left: 8px; }
}
