/* Grundgestaltung von Backoffice und Portal im Stil „Concours“ (Plan design 3.1).
   Farben, Abstände, Radien und Schriften stammen ausschließlich aus tokens.css (var(--…)); keine Hex-Farben hier. */
* { box-sizing: border-box; }
html, body { margin: 0; }
body { font-family: var(--font-sans); font-size: var(--body-size); line-height: var(--body-line-height);
       font-weight: var(--body-weight); color: var(--ink); background: var(--paper); min-height: 100vh;
       display: flex; flex-direction: column; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); }
a:hover { color: var(--accent-strong); }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.muted { color: var(--muted); }
.hg-visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
    clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Logo-Paar: je Thema genau eines sichtbar (Grundhöhe 34 px, ab 64rem 40 px; Layoutvariablen aus tokens.css) */
.hg-logo { display: block; height: var(--logo-height-sm); width: auto; }
.hg-logo-on-dark { display: none; }
@media (min-width: 64rem) {
  .hg-logo { height: var(--logo-height-lg); }
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .hg-logo-on-light { display: none; }
  :root:not([data-theme="light"]) .hg-logo-on-dark { display: block; }
}
:root[data-theme="dark"] .hg-logo-on-light { display: none; }
:root[data-theme="dark"] .hg-logo-on-dark { display: block; }

.footer { display: flex; justify-content: space-between; gap: var(--space-4); flex-wrap: wrap;
          padding: var(--space-5) clamp(1rem, 4vw, 3rem); border-top: 1px solid var(--line);
          font-size: var(--small-size); line-height: var(--small-line-height); }
/* Entwickler-Hinweis (Plan design 23): eigene Zeile im Fuß, muted, Sans, small; Link mit Tokenfarbe und Klickfläche */
.hg-developer-credit { flex: 0 0 100%; margin: 0; color: var(--muted); font-family: var(--font-sans);
                       font-size: var(--small-size); line-height: var(--small-line-height); }
.hg-developer-credit-link { display: inline-flex; align-items: center; min-height: var(--tap-target);
                            color: var(--accent); }
.hg-developer-credit-link:hover { color: var(--accent-strong); }
