/*
  HSB ONE – gemeinsames Stylesheet fuer Impressum und Datenschutz.
  Bewusst ohne externe Schriftarten/Skripte geladen (siehe Datenschutzerklaerung,
  Abschnitt 13/16): reiner System-Font-Stack, keine zusaetzlichen Anfragen an
  Dritte nur fuer das Design dieser beiden Seiten.
*/

:root {
  --hsb-bg: #fbfbfa;
  --hsb-surface: #ffffff;
  --hsb-text: #1f242b;
  --hsb-text-muted: #565f6b;
  --hsb-line: #e4e6ea;
  --hsb-accent: #0f4c81;
  --hsb-accent-soft: #eef3f8;
  --hsb-focus: #0f4c81;
  --hsb-max-width: 760px;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  background: var(--hsb-bg);
  color: var(--hsb-text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--hsb-accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

a:hover {
  text-decoration-thickness: 2px;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--hsb-focus);
  outline-offset: 2px;
  border-radius: 2px;
}

.hsb-skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--hsb-accent);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: 0 0 6px 0;
  z-index: 10;
}

.hsb-skip-link:focus {
  left: 0;
}

.hsb-header {
  border-bottom: 1px solid var(--hsb-line);
  background: var(--hsb-surface);
}

.hsb-header-inner {
  max-width: var(--hsb-max-width);
  margin: 0 auto;
  padding: 1.5rem 1.25rem;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}

.hsb-brand {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--hsb-text);
  text-decoration: none;
}

.hsb-brand span {
  color: var(--hsb-accent);
}

.hsb-brand-sub {
  font-size: 0.85rem;
  color: var(--hsb-text-muted);
}

.hsb-crumbs {
  font-size: 0.9rem;
  color: var(--hsb-text-muted);
}

.hsb-crumbs a {
  color: var(--hsb-text-muted);
}

.hsb-main {
  max-width: var(--hsb-max-width);
  margin: 0 auto;
  padding: 2.75rem 1.25rem 4rem;
}

.hsb-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--hsb-accent);
  margin: 0 0 0.6rem;
}

.hsb-main h1 {
  font-size: clamp(1.6rem, 3.2vw, 2.15rem);
  line-height: 1.25;
  margin: 0 0 0.5rem;
  letter-spacing: -0.01em;
}

.hsb-lede {
  color: var(--hsb-text-muted);
  font-size: 1.02rem;
  margin: 0 0 2.5rem;
  max-width: 55ch;
}

.hsb-toc {
  background: var(--hsb-surface);
  border: 1px solid var(--hsb-line);
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  margin: 0 0 2.75rem;
}

.hsb-toc h2 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--hsb-text-muted);
  margin: 0 0 0.75rem;
}

.hsb-toc ol {
  columns: 2;
  column-gap: 2rem;
  margin: 0;
  padding-left: 1.1rem;
  font-size: 0.92rem;
}

.hsb-toc li {
  break-inside: avoid;
  margin-bottom: 0.35rem;
}

.hsb-toc a {
  text-decoration: none;
}

.hsb-toc a:hover {
  text-decoration: underline;
}

section.hsb-section {
  padding: 1.9rem 0;
  border-top: 1px solid var(--hsb-line);
  scroll-margin-top: 1.5rem;
}

section.hsb-section:first-of-type {
  border-top: none;
  padding-top: 0;
}

.hsb-section h2 {
  font-size: 1.15rem;
  margin: 0 0 0.9rem;
  letter-spacing: -0.005em;
}

.hsb-section h3 {
  font-size: 1rem;
  margin: 1.4rem 0 0.6rem;
  color: var(--hsb-text);
}

.hsb-section p {
  margin: 0 0 0.9rem;
}

.hsb-section ul,
.hsb-section ol {
  margin: 0 0 0.9rem;
  padding-left: 1.3rem;
}

.hsb-section li {
  margin-bottom: 0.4rem;
}

.hsb-card {
  background: var(--hsb-accent-soft);
  border-radius: 10px;
  padding: 1.1rem 1.3rem;
  margin: 0 0 1rem;
  font-size: 0.95rem;
}

.hsb-card p:last-child {
  margin-bottom: 0;
}

code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em;
  background: var(--hsb-accent-soft);
  padding: 0.1em 0.4em;
  border-radius: 4px;
}

.hsb-address {
  font-style: normal;
  margin: 0 0 1rem;
}

.hsb-back-top {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.85rem;
}

.hsb-footer {
  border-top: 1px solid var(--hsb-line);
  background: var(--hsb-surface);
}

.hsb-footer-inner {
  max-width: var(--hsb-max-width);
  margin: 0 auto;
  padding: 1.75rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--hsb-text-muted);
}

.hsb-footer-links {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.hsb-footer-links a {
  color: var(--hsb-text);
  text-decoration: none;
}

.hsb-footer-links a:hover {
  text-decoration: underline;
}

@media (max-width: 640px) {
  .hsb-toc ol {
    columns: 1;
  }

  .hsb-header-inner,
  .hsb-footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --hsb-bg: #14171b;
    --hsb-surface: #1b1f24;
    --hsb-text: #e7e9ec;
    --hsb-text-muted: #a3abb5;
    --hsb-line: #2b3037;
    --hsb-accent: #6fa8dc;
    --hsb-accent-soft: #202a34;
    --hsb-focus: #6fa8dc;
  }
}
