*{box-sizing:border-box}body{margin:0;background:#f2f3fa;color:#20283a;font:16px/1.6 system-ui,sans-serif}body.large article{font-size:20px}header,main{max-width:74rem;margin:auto;padding:1rem 1.5rem}header{display:flex;justify-content:space-between;gap:1em}main{display:grid;grid-template-columns:minmax(12em,16em) minmax(0,1fr);gap:2rem}nav{display:flex;flex-direction:column;align-items:start;gap:.5rem}a{color:#4b419c}nav [aria-current]{font-weight:bold}article{background:#fff;border-radius:1rem;padding:clamp(1rem,4vw,3rem);box-shadow:0 4px 24px #19154d10}h1,h2{line-height:1.25}h1{margin-top:0}h2{margin:1.6em 0 .4em;font-size:1.2em}p{white-space:pre-line;overflow-wrap:anywhere}label{display:block;font-weight:600;margin:1em 0}input:not([type=checkbox]),select,textarea{width:100%;padding:.65em;font:inherit;border:1px solid #a7abb9;border-radius:.4em}button{font:inherit;background:#5145a4;border:0;color:white;border-radius:.5em;padding:.55em 1em;margin:.25em .25em .25em 0;cursor:pointer}button:disabled{opacity:.45;cursor:default}.editor{display:block;max-width:60rem}small{color:#515968}[hidden]{display:none!important}@media(max-width:700px){main{display:block;padding:.8em}nav{flex-direction:row;flex-wrap:wrap;margin-bottom:1rem;font-size:.85em}header{padding:.8em}}

@font-face{font-family:Atkinson;src:url(fonts/atkinson-hyperlegible-400.woff2) format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:Atkinson;src:url(fonts/atkinson-hyperlegible-700.woff2) format("woff2");font-weight:700;font-display:swap}
@font-face{font-family:Barlow Condensed;src:url(fonts/barlow-condensed-600.woff2) format("woff2");font-weight:600;font-display:swap}
@font-face{font-family:Barlow Condensed;src:url(fonts/barlow-condensed-700.woff2) format("woff2");font-weight:700;font-display:swap}
body.reader{height:100dvh;display:flex;flex-direction:column;background:white;color:#05264a;font:14px/1.5 Atkinson,system-ui,sans-serif}
.reader header{position:relative;flex:none;display:flex;justify-content:center;align-items:center;width:min(100%,680px);height:48px;margin:0 auto;padding:0 44px 4px;color:#436584}
.reader .back{position:absolute;left:10px;display:grid;place-items:center;width:38px;height:40px;font:30px/1 system-ui;text-decoration:none;color:#05264a}
.reader main{display:block;width:min(100%,680px);min-height:0;overflow-y:auto;margin:0 auto;padding:2px 18px 22px}
.reader article{background:transparent;box-shadow:none;padding:0;border:0}
.reader h1,.reader h2{font-family:"Barlow Condensed","Arial Narrow",sans-serif;color:#05264a}
.reader h1{font-size:30px;line-height:1.1;margin:12px 0 18px;font-weight:700}
.reader h2{font-size:22px;line-height:1.1;margin:18px 0 6px;font-weight:600}
.reader p{margin:14px 0}.reader p:empty{display:none}.reader nav{display:block}
.reader a{color:#005fa8;font-weight:700}.reader .version{color:#49627a;font-size:12px;margin-top:24px}
.reader button{background:#005fa8}.reader.large article{font-size:19px}.reader.large h2{font-size:26px}

/* Bedienung: Hover-/Fokuszustände, mobile Eingaben ohne Zoom, Verwaltung */
button{transition:background .15s,box-shadow .15s,transform .15s}
button:not(:disabled):hover{background:#3d3388;box-shadow:0 4px 12px #3d338833;transform:translateY(-1px)}
.reader button:not(:disabled):hover{background:#004b85}
:is(a,button,input,select,textarea,summary):focus-visible{outline:3px solid #8fb8ff;outline-offset:2px}
.reader a:hover{color:#003f73;text-decoration-thickness:2px}
input:not([type=checkbox]),select,textarea{font-size:16px}
.reader label{font-weight:700}
.reader #withdraw,.reader #delete-account,.reader #preferences,.reader #confirmation{margin:18px 0;padding:16px;border:1px solid #d7e2ee;border-radius:12px;background:#f7fafd}
.reader #confirmation p{white-space:pre-line;background:#fff;border-radius:8px;padding:10px;border:1px solid #e3e9f0}
.reader nav[aria-label="Weitere Rechtstexte"] a{display:inline-block;padding:2px 0}
body:not(.reader) header{display:flex;align-items:center;gap:12px;padding:14px 20px;background:linear-gradient(135deg,#667eea,#764ba2)}
body:not(.reader) header a{color:#fff;font-weight:600;text-decoration:none;padding:6px 10px;border-radius:8px}
body:not(.reader) header a:hover{background:#ffffff33}
.editor article{margin-top:12px}
.editor #actions{display:flex;flex-wrap:wrap;gap:6px}
.editor #inbox section{border:1px solid #e3e5ef;border-radius:12px;padding:12px;margin:10px 0;background:#fafbff}
.editor #inbox section p{margin:0 0 8px}
@media(max-width:700px){.editor #actions button{flex:1 1 calc(50% - 6px)}body:not(.reader) header{padding:10px 14px}}
