.projekt-eintrag {
    padding: 1.4rem 0;
    border-top: 1px solid #cbd5e1;
    scroll-margin-top: 6rem;
}
.projekt-eintrag h3 { margin: 0 0 .5rem; }
.projekt-eintrag p { max-width: 75ch; }
.projekt-techniken { display: flex; flex-wrap: wrap; gap: .4rem; margin: .9rem 0; }
.projekt-techniken span {
    padding: .2rem .65rem;
    border-radius: 1rem;
    color: #143f75;
    background: #e5efff;
    font-size: .85rem;
}
.projekt-aktionen { display: flex; flex-wrap: wrap; gap: .75rem 1rem; margin: 1rem 0; }
.projekt-aktionen a {
    display: inline-block;
    padding: .55rem .9rem;
    border: 1px solid #9cb7de;
    border-radius: .4rem;
    background: #f4f8ff;
}
.doku-metadaten, .doku-herkunft { color: #475569; font-size: .9rem; }
.doku-status { display: inline-block; margin: .4rem 0; padding: .3rem .7rem; border-left: 3px solid #2563a5; background: #edf5ff; }
.doku-kategorie { margin-bottom: .5rem !important; font-size: .9rem !important; letter-spacing: .05em; }
.doku-inhaltsverzeichnis { display: flex; flex-wrap: wrap; gap: .5rem 1rem; padding: 1rem 0; border-block: 1px solid #cbd5e1; }
.doku-abschnitt { margin-top: 2rem; scroll-margin-top: 6rem; }
.doku-inhalt h2 { font-size: 1.3rem; margin-bottom: 1rem; border-bottom-width: 1px; }
.doku-inhalt p, .doku-inhalt li { overflow-wrap: anywhere; }
.doku-inhalt ol { padding-left: 1.4rem; }
.doku-inhalt li { margin-bottom: .65rem; }
.doku-inhalt table th { width: 30%; }
.doku-inhalt caption, .dokumenten-liste caption { text-align: left; padding-bottom: .5rem; color: #475569; }
.doku-inhalt:hover { transform: none; }
.doku-herkunft { padding-top: 1rem; margin-top: 2rem; border-top: 1px solid #cbd5e1; }
.dokumenten-liste { min-width: 33rem; }
.dokumenten-liste th { width: 46%; }
.projekt-aktionen a:focus-visible, .doku-inhaltsverzeichnis a:focus-visible { outline: 3px solid #1d4ed8; outline-offset: 3px; }
@media (max-width: 640px) {
    .projekt-aktionen { flex-direction: column; align-items: stretch; }
    .projekt-aktionen a { text-align: center; }
    .doku-inhalt table th { width: 38%; }
}
@media print {
    body { background: white; color: #111827; }
    .navbar, footer, .projekt-aktionen, .doku-inhaltsverzeichnis { display: none; }
    .kopfbereich { background: white; color: #111827; box-shadow: none; padding: 0 0 1rem; min-height: 0; border-bottom: 1px solid #94a3b8; }
    main { width: 100%; max-width: none; margin: 0; padding: 0; }
    .karte { box-shadow: none; background: white; border: 0; padding: 0; margin: 0; }
    .doku-abschnitt h2 { break-after: avoid; }
    .doku-status { background: white; }
    .doku-inhalt table { break-inside: avoid; }
}
