/* Keine externen Fonts oder Bibliotheken. */
:root {
    color-scheme: dark;
    --bg: #242930;
    --surface: #292f37;
    --text: #e7e9e5;
    --muted: #a3aab1;
    --accent: #b7cb8d;
    --line: #3a4149;
    --quiet: #869099;
    --radius: 8px;
    font-family: system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 24px;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-size: 14px;
    line-height: 1.5;
}

a {
    color: inherit;
    text-decoration: none;
}

button,input {
    font: inherit;
}

button,a,input {
    -webkit-tap-highlight-color: transparent;
}

svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

button {
    color: inherit;
}

a:focus-visible,button:focus-visible,input:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 5px;
}

[hidden] {
    display: none!important;
}

.shell {
    width: min(1120px,calc(100% - 80px));
    margin: auto;
}

.topbar {
    display: grid;
    grid-template-columns: auto 1fr minmax(180px,260px);
    align-items: center;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
    gap: 24px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 650;
    letter-spacing: .02em;
}

.brand>svg {
    color: var(--accent);
    width: 21px;
}

.brand-divider {
    margin: 0 13px;
    color: var(--quiet);
    font-weight: 400;
}

.brand-page {
    color: var(--muted);
    font-weight: 400;
}

nav {
    display: flex;
    justify-self: end;
    gap: 28px;
    font-size: 12px;
    color: var(--muted);
}

nav a:hover,footer a:hover {
    color: var(--accent);
}

.search {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    border-bottom: 1px solid #515b61;
    padding: 5px 0;
    color: var(--muted);
}

.search svg {
    width: 17px;
    height: 17px;
}

.search input {
    background: none;
    color: var(--text);
    border: 0;
    min-width: 0;
    flex: 1;
    outline-offset: 3px;
    padding: 3px 0;
    font-size: 13px;
}

.search input::placeholder {
    color: var(--muted);
}

kbd {
    border: 1px solid var(--line);
    border-radius: 3px;
    font-size: 10px;
    padding: 0 5px;
    color: var(--quiet);
}

.section {
    margin-bottom: 36px;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 15px;
    margin-bottom: 23px;
    border-top: 1px solid var(--line);
    padding-top: 20px;
}

#dienste .section-heading {
    border-top: 0;
}

.section-heading h1,.section-heading h2 {
    font-size: 12px;
    font-weight: 650;
    text-transform: uppercase;
    letter-spacing: .11em;
    margin: 0;
}

.section-heading>span {
    font-size: 11px;
    color: var(--quiet);
}

.service-groups {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 36px;
}

.service-group h3 {
    font-size: 11px;
    letter-spacing: .055em;
    font-weight: 500;
    color: var(--accent);
    margin: 0 0 15px;
}

.service-list {
    display: grid;
    gap: 5px;
}

.service {
    display: flex;
    gap: 13px;
    align-items: center;
    padding: 11px 8px;
    margin: 0 -8px;
    border-radius: var(--radius);
    min-height: 63px;
    transition: background .15s;
}

.service[href]:hover {
    background: #303740;
}

.service[href]:hover .service-arrow {
    opacity: 1;
    transform: translate(1px,-1px);
}

.service-icon {
    display: flex;
    color: #c4cbd0;
}

.service-icon svg {
    width: 25px;
    height: 25px;
}

.service-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
    gap: 3px;
}

.service-name {
    font-size: 14px;
    font-weight: 550;
    overflow-wrap: anywhere;
}

.service-description {
    font-size: 11px;
    color: var(--muted);
    overflow-wrap: anywhere;
}

.service-arrow {
    margin-left: auto;
    color: var(--accent);
    opacity: .45;
    transition: .15s;
}

.service-arrow svg {
    width: 16px;
    height: 16px;
}

.pending-label {
    margin-left: auto;
    font-size: 9px;
    white-space: nowrap;
    color: var(--quiet);
    border: 1px solid var(--line);
    border-radius: 3px;
    padding: 1px 5px;
}

.server-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 18px;
}

.info-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 21px 22px;
}

.card-heading {
    display: flex;
    align-items: center;
    gap: 11px;
}

.card-icon {
    display: flex;
    color: var(--accent);
}

.card-icon svg {
    width: 20px;
    height: 20px;
}

.card-heading h3 {
    font-size: 15px;
    margin: 0;
    font-weight: 550;
}

.card-description {
    font-size: 11px;
    color: var(--muted);
    margin: 9px 0 21px;
}

.details {
    margin: 0;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 15px;
    padding: 8px 0;
    border-top: 1px solid var(--line);
    font-size: 11px;
}

dt {
    color: var(--muted);
    flex-shrink: 0;
    max-width: 48%;
    overflow-wrap: anywhere;
}

dd {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    text-align: right;
    min-width: 0;
    overflow-wrap: anywhere;
    white-space: pre-wrap;
}

dd:not(.empty-value) {
    font-family: ui-monospace,SFMono-Regular,Consolas,monospace;
}

dd>span {
    min-width: 0;
}

.empty-value {
    color: var(--quiet);
}

.copy {
    display: flex;
    background: none;
    border: 0;
    padding: 3px;
    cursor: pointer;
    flex-shrink: 0;
    color: var(--muted);
}

.copy svg {
    width: 13px;
    height: 13px;
}

.copy:hover {
    color: var(--accent);
}

.network-grid {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 18px;
}

.network-card .details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 24px;
}

.network-card .detail-row {
    gap: 8px;
}

footer {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    border-top: 1px solid var(--line);
    padding: 22px 0 30px;
    color: var(--quiet);
    font-size: 11px;
}

.footer-dot {
    padding: 0 9px;
}

.no-results {
    padding: 35px 15px;
    text-align: center;
    color: var(--muted);
}

.toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    max-width: calc(100% - 32px);
    padding: 12px 20px;
    background: var(--text);
    color: var(--bg);
    border-radius: 6px;
    box-shadow: 0 8px 30px #0003;
    z-index: 2;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: fixed;
    top: -100px;
    left: 16px;
    background: var(--text);
    color: var(--bg);
    padding: 10px 16px;
    z-index: 3;
}

.skip-link:focus {
    top: 12px;
}

@media(max-width:900px) {
    .shell {
        width: calc(100% - 48px);
    }
    .topbar {
        grid-template-columns: 1fr auto;
        gap: 16px 24px;
    }
    .search {
        grid-column: 1 / -1;
    }
    .service-groups {
        gap: 22px;
    }
    .pending-label {
        display: none;
    }
    .server-grid {
        gap: 12px;
    }
    .info-card {
        padding: 18px 16px;
    }
    .network-card .details {
        grid-template-columns: 1fr;
    }
}

@media(max-width:620px) {
    .shell {
        width: calc(100% - 36px);
    }
    .topbar {
        display: flex;
        flex-wrap: wrap;
        gap: 16px;
    }
    .brand {
        flex: 1 1 140px;
    }
    nav {
        gap: 16px;
        font-size: 11px;
    }
    .search {
        flex: 1 0 100%;
    }
    .service-groups {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .service-list {
        grid-template-columns: repeat(2,minmax(0,1fr));
        column-gap: 20px;
    }
    .service-group h3 {
        margin-bottom: 8px;
    }
    .service {
        gap: 10px;
    }
    .service-name {
        font-size: 13px;
    }
    .service-description {
        font-size: 10px;
    }
    .service-arrow {
        display: none;
    }
    .server-grid,.network-grid {
        grid-template-columns: 1fr;
    }
    .network-card .details {
        grid-template-columns: 1fr 1fr;
    }
    .section-heading>span {
        font-size: 10px;
    }
    .section-heading h1,.section-heading h2 {
        font-size: 11px;
    }
    .section {
        margin-bottom: 30px;
    }
    footer {
        font-size: 10px;
    }
}

@media(max-width:370px) {
    .service-list,.network-card .details {
        grid-template-columns: 1fr;
    }
    .section-heading>span {
        display: none;
    }
}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto;
    }
    * {
        transition: none!important;
    }
}
