/* System- und Standardschriften: keine externen Fonts, keine Anfrage an Dritte. */
:root {
    --ink:       #1a1a18;
    --ink-soft:  #3d3d39;
    --muted:     #6e6e66;
    --rule:      #c3c3b8;
    --rule-soft: #ddddd4;
    --paper:     #ffffff;
    --desk:      #e7e7e0;
    --shade:     #f4f4ee;
    --link:      #0b4ea2;
    --link-vis:  #6a3b9c;
    --green:     #1f7a3d;
    --green-bg:  #eef7ef;
    --code-bg:   #10182a;
    --code-head: #1b2740;
    --code-ink:  #d6deec;
    --mono: "DejaVu Sans Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    padding: 24px 16px 48px;
    background: var(--desk);
    color: var(--ink);
    font: 15px/1.6 Verdana, Geneva, "DejaVu Sans", sans-serif;
}
a { color: var(--link); }
a:visited { color: var(--link-vis); }

.page {
    max-width: 860px;
    margin: 0 auto;
    background: var(--paper);
    border: 1px solid var(--rule);
}

/* ---- Kopf ------------------------------------------------------------- */

.bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 22px 30px 18px;
    border-bottom: 3px double var(--rule);
}
.bar img {
    height: 54px;
    width: auto;
    display: block;
}
.bar .tag {
    font: 10px/1.4 var(--mono);
    text-transform: uppercase;
    letter-spacing: .14em;
    color: var(--muted);
    text-align: right;
}

.hero {
    padding: 26px 30px 28px;
    background: var(--shade);
    border-bottom: 1px solid var(--rule);
}
h1 {
    font: bold 1.65rem/1.25 Georgia, "Times New Roman", serif;
    margin: 0 0 8px;
}
.lead { margin: 0; color: var(--ink-soft); font-size: .95rem; max-width: 62ch; }

form {
    display: flex;
    gap: 8px;
    margin: 18px 0 0;
    max-width: 540px;
}
input[type=text] {
    flex: 1;
    min-width: 0;
    padding: 9px 10px;
    font: 15px/1.2 var(--mono);
    color: var(--ink);
    background: #fff;
    border: 1px solid #8e8e84;
    border-top-color: #6f6f66;
    border-radius: 0;
}
input[type=text]::placeholder { color: #9a9a90; }
input[type=text]:focus { outline: 2px solid #0b4ea2; outline-offset: -1px; }
button {
    padding: 9px 20px;
    font: bold 14px/1.2 Verdana, Geneva, sans-serif;
    color: #fff;
    background: #2c2c28;
    border: 1px solid #161614;
    border-radius: 0;
    cursor: pointer;
}
button:hover { background: #45453e; }
button:active { background: #161614; }

main { padding: 26px 30px 32px; }

/* ---- Meldungen und Aufforderung --------------------------------------- */

.notice {
    margin: 0 0 22px;
    padding: 11px 14px;
    border: 1px solid #d8c48a;
    background: #fdf8e8;
    color: #5c4813;
    font-size: .92rem;
}

.cta {
    margin: 0 0 24px;
    padding: 20px 22px;
    border: 2px solid var(--green);
    background: var(--green-bg);
    text-align: center;
}
.cta h2 {
    margin: 0 0 6px;
    font: bold 1.3rem/1.3 Georgia, "Times New Roman", serif;
    color: #145c2c;
}
.cta p { margin: 0 0 16px; color: #24402c; font-size: .96rem; }
.cta p a { color: #145c2c; }
.cta-button {
    display: inline-block;
    padding: 12px 28px;
    font: bold 15px/1.2 Verdana, Geneva, sans-serif;
    color: #fff;
    background: var(--green);
    border: 1px solid #14592c;
    text-decoration: none;
}
.cta-button:visited { color: #fff; }
.cta-button:hover { background: #18642f; }

/* ---- WHOIS-Ausgabe ---------------------------------------------------- */

.code {
    border: 1px solid #0a1120;
    background: var(--code-bg);
}
.code + .code { margin-top: 20px; }
.code header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 14px;
    background: var(--code-head);
    border-bottom: 1px solid #0a1120;
    color: #93a3bd;
    font: bold 11px/1.4 Verdana, Geneva, sans-serif;
    text-transform: uppercase;
    letter-spacing: .1em;
}
.code header .meta {
    display: flex;
    align-items: center;
    gap: 12px;
}
.code .copy {
    padding: 3px 9px;
    font: 10px/1.6 Verdana, Geneva, sans-serif;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #c3d0e6;
    background: transparent;
    border: 1px solid #3a4a68;
    cursor: pointer;
}
.code .copy:hover { background: #28364f; color: #fff; }
.code .copy:active { background: #0a1120; }

.code header .dom {
    text-transform: none;
    letter-spacing: 0;
    font: 12px/1.4 var(--mono);
    color: #c8d4e8;
}
.code .status {
    margin: 0;
    padding: 10px 16px;
    background: rgba(255, 255, 255, .05);
    border-bottom: 1px solid rgba(255, 255, 255, .09);
    color: #9fb0c9;
    font-size: .88rem;
}
pre {
    margin: 0;
    padding: 16px;
    color: var(--code-ink);
    font: 13px/1.55 var(--mono);
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    tab-size: 4;
}

.code a { color: #8fb6f0; text-underline-offset: 2px; }
.code a:visited { color: #b199e0; }
.code a:hover { color: #b9d2fa; }

/* RDAP answers run to a hundred lines and more. Capped and scrolled, so the
   contact box below stays in view instead of being pushed off the screen. */
.code-raw pre {
    max-height: 420px;
    overflow-y: auto;
    scrollbar-color: #3a4a68 rgba(255, 255, 255, .05);
    scrollbar-width: thin;
}
.code-raw pre::-webkit-scrollbar { width: 11px; }
.code-raw pre::-webkit-scrollbar-track { background: rgba(255, 255, 255, .05); }
.code-raw pre::-webkit-scrollbar-thumb { background: #3a4a68; }
.code-raw pre::-webkit-scrollbar-thumb:hover { background: #4d608a; }

.hint {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: .85rem;
}

/* ---- Redaktioneller Teil ---------------------------------------------- */

.article { max-width: 68ch; }
.article.spaced { margin-top: 32px; padding-top: 26px; border-top: 1px solid var(--rule-soft); }
.article .page-title {
    font: bold 1.65rem/1.25 Georgia, "Times New Roman", serif;
    margin: 0 0 20px;
}
.article h2 {
    font: bold 1.22rem/1.3 Georgia, "Times New Roman", serif;
    margin: 32px 0 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid var(--rule-soft);
}
.article h2:first-child { margin-top: 0; }
.article h3 {
    font: bold .98rem/1.4 Verdana, Geneva, sans-serif;
    margin: 22px 0 5px;
}
.article p { margin: 0 0 13px; color: var(--ink-soft); }
.article ul { margin: 0 0 15px; padding-left: 20px; color: var(--ink-soft); }
.article li { margin-bottom: 7px; }
.article code {
    font: .92em/1 var(--mono);
    background: var(--shade);
    border: 1px solid var(--rule-soft);
    padding: 1px 4px;
    color: var(--ink);
}

footer {
    padding: 16px 30px 18px;
    border-top: 3px double var(--rule);
    background: var(--shade);
    color: var(--muted);
    font-size: .82rem;
}
footer p { margin: 0; }
footer p + p { margin-top: 8px; }
footer .footer-nav { margin-top: 12px; }
footer a { color: var(--muted); }

@media (max-width: 620px) {
    body { padding: 0; }
    .page { border: 0; }
    .bar { padding: 18px 18px 14px; }
    .bar img { height: 38px; }
    .bar .tag { display: none; }
    .hero { padding: 20px 18px; }
    main { padding: 20px 18px 26px; }
    footer { padding: 14px 18px 18px; }
    form { flex-direction: column; }
    h1 { font-size: 1.4rem; }
    .code header { flex-direction: column; gap: 3px; }
    .code-raw pre { max-height: 300px; }
}
