:root { color-scheme: light; font-family: system-ui, -apple-system, "Segoe UI", sans-serif; font-size: 100%; line-height: 1.65; color: #17364b; background: #fffdf9; }
* { box-sizing: border-box; }
body { margin: 0; }
.container { max-width: 76rem; margin-inline: auto; padding-inline: clamp(1rem, 3vw, 2rem); }
.top { background: white; border-bottom: 1px solid #d2dbe1; }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-block: 1rem; }
.home-link { font-size: 1.2rem; font-weight: 800; text-decoration: none; }
a { color: #8d2438; text-underline-offset: .15em; }
a:hover { text-decoration-thickness: .16em; }
a:focus-visible { outline: 3px solid #075c92; outline-offset: 4px; border-radius: .2rem; }
.skip-link { position: absolute; transform: translateY(-160%); z-index: 20; top: .5rem; left: .75rem; background: #fff; padding: .5rem 1rem; font-weight: 700; border: 2px solid #075c92; }
.skip-link:focus { transform: none; }
main { padding-block: 1.5rem 4rem; }
.breadcrumbs { font-size: .95rem; color: #3a5666; }
.breadcrumbs span { margin-inline: .5rem; }
h1, h2, h3 { line-height: 1.25; color: #143649; }
h1 { font-size: clamp(2rem, 5vw, 3rem); max-width: 24ch; margin-block: 1rem; }
h2 { font-size: clamp(1.45rem, 3.5vw, 1.95rem); margin-block: 0 1rem; }
h3 { font-size: 1.1rem; margin-block: 1.5rem .3rem; }
p, li { max-width: 85ch; }
.lead { font-size: 1.2rem; max-width: 68ch; }
section { margin-block: 2rem; }
.primary-action, .help { padding: clamp(1rem, 3vw, 2rem); background: #e8f3f1; border: 1px solid #b2d8d0; border-radius: 1rem; }
.action-link { display: inline-block; background: #923149; color: white; padding: .85rem 1.2rem; border-radius: .7rem; font-weight: 750; text-decoration: none; }
.action-link:hover { background: #77253a; text-decoration: underline; }
.jump { background: #f5f8fa; border-left: .3rem solid #2e697d; padding: 1rem 1.5rem; border-radius: .5rem; }
.jump ul { margin-block: 0; }
.document { padding: clamp(1rem, 3vw, 2rem); border: 1px solid #c8d6dd; background: #fff; border-radius: 1rem; scroll-margin-top: 1rem; }
.document + .document { margin-top: 2.5rem; }
.eyebrow { color: #37576c; font-weight: 700; font-size: .94rem; }
.notice { border-left: .3rem solid #95601a; background: #fff3dc; padding: .85rem 1rem; border-radius: .35rem; }
li { margin-block: .35rem; }
.foot { padding-block: 1.5rem; background: #f3f6f7; border-top: 1px solid #cad6db; }
.foot p { margin-block: .3rem; }
@media (max-width: 37rem) { .top-row { align-items: flex-start; flex-direction: column; } ul { padding-left: 1.3rem; } }
@media (forced-colors: active) { .primary-action, .help, .document, .notice { border: 1px solid CanvasText; } .action-link { border: 1px solid LinkText; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; } }
@media print { .skip-link, .top, .jump, .foot { display: none; } main { padding: 0; } .document { break-inside: avoid; border: 0; border-bottom: 1px solid #aaa; } }

/* WCAG 1.4.10/1.4.12: long email addresses must wrap with increased spacing. */
a, .document, .primary-action, .help { overflow-wrap: anywhere; }

/* 200% text-only zoom: long German compound words in headings must wrap. */
h1, h2, h3, p, li { overflow-wrap: anywhere; hyphens: auto; }


/* Phase 7: standalone navigation and document links have larger targets.
   Inline links inside running text retain their native wrapping behaviour. */
.top-row > a, .breadcrumbs a, .jump a, .document > p > a[href], .foot a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  max-width: 100%;
  overflow-wrap: anywhere;
}
.jump li { margin-block: .15rem; }
.foot a { padding-inline: .2rem; }
#hauptinhalt:focus { outline: 3px solid #075c92; outline-offset: -3px; }
@media (forced-colors: active) {
  .skip-link:focus, #hauptinhalt:focus, a:focus-visible { outline: 3px solid Highlight; }
}
