/* Hallmark · shape: kept (erpel.cloud house design, itself based on the dnsforge.de layout) · genre: modern-minimal · theme: brand · redesign: full
 * paper: #1a1e1e (dnsforge dark) · accent: #e67e22 (dnsforge orange) · resolver colours: Normal #e67e22, Clean #2ecc71, Hard #e74c3c, Blank #5e6d6f, all from the old dnsforge.de palette
 * display: Inter 800 · body: Inter · mono: Fira Mono for every copyable resolver address · hero: centred mark, head, lead, two actions, fact row
 * nav: floating bar, wordmark left, link group and Spenden right · footer: resolver-colour strip, columns, resolver cards, credit line · signature: copyable resolver addresses
 * axes: dark/grotesk-heavy/chromatic-orange · posture: restrained · copy: unchanged from dnsforge.de */
/* Hallmark · waive 1 · theme: brand · the owner asked for the erpel.cloud design with the dnsforge.de colours kept */
/* Hallmark · answered F4 · four brand fills by request, one per resolver, each the colour the old dnsforge.de page already used for it */
@import url("./tokens.css?v=20261116");
@import url("./base.css?v=20261116");

@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter-400.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/inter-600.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/inter-800.woff2") format("woff2"); }
@font-face { font-family: "Fira Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/firamono-500.woff2") format("woff2"); }

:root { --nav-h: 64px; --container: calc(1040px + 2 * var(--gutter)); color-scheme: dark; }
:root[data-theme="light"] { color-scheme: light; }

html { scroll-padding-top: calc(var(--nav-h) + var(--space-2xl)); }
body { color: var(--color-ink-2); font-size: 1.0625rem; line-height: 1.6; }
h1, h2, h3, h4 { color: var(--color-ink); }
h2 { font-size: clamp(1.75rem, 1.6vw + 1.1rem, 2.5rem); font-weight: 800; margin-bottom: var(--space-lg); }
h3 { font-size: var(--text-lg); font-weight: 800; letter-spacing: -0.01em; }
h4 { margin: 0; font-size: 1rem; font-weight: 600; }
strong { color: var(--color-ink); font-weight: 600; }

a { color: var(--color-link); text-decoration-color: var(--color-link-line); transition: color var(--dur-short) var(--ease-out), text-decoration-color var(--dur-short) var(--ease-out); }
a:hover { color: var(--color-ink); text-decoration-color: currentColor; }

/* Resolver-Farben: jedes Element mit data-variant bekommt seine Farbe */
[data-variant="normal"] { --v: var(--color-normal); --v-text: var(--color-normal-text); }
[data-variant="clean"] { --v: var(--color-clean); --v-text: var(--color-clean-text); }
[data-variant="hard"] { --v: var(--color-hard); --v-text: var(--color-hard-text); }
[data-variant="blank"] { --v: var(--color-blank); --v-text: var(--color-blank-text); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--space-xs); min-height: 44px; padding: 0 var(--space-lg);
  border: 1px solid transparent; border-radius: var(--radius-control);
  font: 600 0.95rem/1 var(--font-body); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out);
}
.btn:active { transform: translateY(1px); }
.btn__icon { width: 18px; height: 18px; flex-shrink: 0; }
.btn--sm { min-height: 38px; padding: 0 var(--space-md); font-size: var(--text-sm); }
.btn--sm .btn__icon { width: 16px; height: 16px; }
.btn--primary { background: var(--color-accent); color: var(--color-accent-ink); }
.btn--primary:hover { background: color-mix(in oklab, var(--color-accent) 84%, var(--color-shade)); color: var(--color-accent-ink); }
.btn--ghost { background: transparent; color: var(--color-ink); border-color: var(--color-rule); }
.btn--ghost:hover { border-color: var(--color-ink); color: var(--color-ink); }

/* Kleine Kennzeichnung: Resolver-Art oder verschlüsselt/unverschlüsselt */
.tag {
  display: inline-flex; align-items: center; gap: var(--space-2xs); padding: 1px var(--space-xs); border-radius: 6px;
  font: 600 var(--text-xs)/1.5 var(--font-body); letter-spacing: 0; white-space: nowrap;
  color: var(--v-text, var(--color-accent-text)); background: color-mix(in oklab, var(--v, var(--color-accent)) 18%, transparent);
}
.tag svg { width: 12px; height: 12px; flex-shrink: 0; }
.tag--warn { --v: var(--color-hard); --v-text: var(--color-hard-text); }
.tag--secure { --v: var(--color-clean); --v-text: var(--color-clean-text); }

/* ---------- Navigation ---------- */
.nav { position: fixed; inset: var(--space-sm) 0 auto; z-index: var(--z-sticky-nav); padding-inline: var(--gutter); pointer-events: none; }
.nav__inner {
  position: relative; pointer-events: auto; max-width: calc(var(--container) - 2 * var(--gutter) + 2 * var(--space-sm)); height: var(--nav-h); margin-inline: auto;
  padding: 0 var(--space-xs) 0 var(--space-md); display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg);
  background: var(--color-paper-3); border: 1px solid var(--color-rule); border-radius: var(--radius-card);
}
.nav__brand { display: flex; align-items: center; gap: var(--space-sm); color: var(--color-ink); font-weight: 800; font-size: 1.15rem; text-decoration: none; }
.nav__brand img { width: 32px; height: 32px; }
.nav__brand:hover { color: var(--color-ink); }
.nav__links { display: flex; align-items: center; gap: var(--space-2xs); }
.nav__group { display: flex; align-items: center; gap: var(--space-3xs); padding: var(--space-3xs); border-radius: var(--radius-control); background: var(--color-paper-2); }
.nav__links a:not(.btn) {
  white-space: nowrap; padding: var(--space-xs) var(--space-sm); border-radius: 8px; color: var(--color-muted);
  font-size: var(--text-sm); font-weight: 400; text-decoration: none;
  transition: color var(--dur-short) var(--ease-out), background-color var(--dur-short) var(--ease-out);
}
.nav__links a:not(.btn):hover { color: var(--color-ink); }
.nav__links a[aria-current="true"] { color: var(--color-ink); background: var(--color-paper-3); }
.nav__links .btn { margin-left: var(--space-xs); }
.nav__toggle { display: none; width: 44px; height: 44px; padding: 0; border: 0; background: none; color: var(--color-ink); cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-2xs); }
.nav__toggle span { display: block; width: 22px; height: 2px; border-radius: 2px; background: currentColor; transition: transform var(--dur-short) var(--ease-out), opacity var(--dur-short) var(--ease-out); }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero (in beiden Modi dunkel) ---------- */
.hero {
  --color-ink: var(--hero-ink); --color-ink-2: var(--hero-ink-2); --color-muted: var(--hero-muted); --color-rule: var(--hero-rule);
  --color-accent: #e67e22; --color-accent-text: #f0932e; --color-accent-ink: #1a1e1e; --color-paper-3: var(--hero-card);
  color: var(--color-ink); background: var(--hero-bg); border-bottom: 1px solid var(--hero-rule);
  display: grid; place-items: center; min-height: min(92svh, 860px);
  padding: calc(var(--nav-h) + var(--space-3xl)) var(--gutter) var(--space-3xl); text-align: center;
}
.hero__inner { max-width: 880px; display: grid; justify-items: center; }
.hero__mark { width: 72px; height: 72px; margin-bottom: var(--space-lg); }
.hero h1 { max-width: none; font-size: clamp(2.75rem, 5.5vw + 1rem, 5rem); line-height: 1; }
.hero__lead { margin-top: var(--space-lg); color: var(--color-ink-2); max-width: 60ch; font-size: clamp(1.0625rem, 0.4vw + 1rem, 1.1875rem); line-height: 1.65; }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-sm); margin-top: var(--space-xl); }
.hero__actions .btn { min-height: 48px; padding-inline: var(--space-xl); font-size: 1rem; }
.hero__facts {
  list-style: none; margin: var(--space-2xl) 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center;
  color: var(--color-ink-2); font-size: var(--text-sm);
}
.hero__facts li { display: flex; align-items: center; gap: var(--space-xs); padding: var(--space-2xs) var(--space-md); }
.hero__facts li + li { border-left: 1px solid var(--color-rule); }
.hero__facts svg { width: 18px; height: 18px; color: var(--color-accent-text); flex-shrink: 0; }

/* Partner-Hinweis (giebelWORKSPACE) */
.sponsor-band { padding-block: var(--space-xl); background: var(--color-paper-2); border-bottom: 1px solid var(--color-rule); }
.sponsor { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: var(--space-lg) var(--space-2xl); }
.sponsor__label { display: inline-block; margin-bottom: var(--space-xs); color: var(--color-muted); font-size: var(--text-sm); font-weight: 600; }
.sponsor h3 { font-size: var(--text-lg); max-width: none; }
.sponsor p { margin-top: var(--space-2xs); color: var(--color-ink-2); }

/* ---------- Sections ---------- */
.section { padding-block: var(--space-3xl); }
.section--alt { background: var(--color-paper-2); }
.section__intro { color: var(--color-ink-2); margin-bottom: var(--space-xl); max-width: 62ch; font-size: var(--text-lg); line-height: 1.5; }

.card { background: var(--color-paper-3); border: 1px solid var(--color-rule); border-radius: var(--radius-card); padding: var(--space-xl); }
.card + .card { margin-top: var(--space-lg); }
.card > h3 + p, .card__desc { margin-top: var(--space-xs); color: var(--color-ink-2); }
.card__head { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-xs) var(--space-sm); }

/* ---------- Übersichtstabelle ---------- */
.table-wrap { margin-top: var(--space-lg); overflow-x: auto; border: 1px solid var(--color-rule); border-radius: var(--radius-control); }
.dns-table { width: 100%; border-collapse: collapse; font-size: var(--text-sm); }
.dns-table th, .dns-table td { padding: var(--space-sm) var(--space-xs); text-align: center; border-bottom: 1px solid var(--color-rule); }
.dns-table tbody tr:last-child td { border-bottom: 0; }
.dns-table th { color: var(--color-muted); font-weight: 600; background: var(--color-paper-2); }
.dns-table td:first-child, .dns-table th:first-child { text-align: left; padding-left: var(--space-md); color: var(--color-ink); font-weight: 600; }
.dns-table tbody tr[data-variant] td:first-child { box-shadow: inset 3px 0 0 var(--v); }
.mark { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; vertical-align: middle; }
.mark svg { width: 15px; height: 15px; }
.mark--yes { color: var(--color-clean-text); background: color-mix(in oklab, var(--color-clean) 18%, transparent); }
.mark--no { color: var(--color-muted); background: color-mix(in oklab, var(--color-muted) 12%, transparent); }
.dns-table .th-icon { display: none; }
/* Schwebendes Label für die Kürzel auf dem Handy (hängt an body, siehe page.js) */
.dns-table-tooltip {
  position: fixed; display: none; padding: var(--space-2xs) var(--space-sm); z-index: var(--z-tooltip); pointer-events: none;
  background: var(--color-paper-3); color: var(--color-ink); border: 1px solid var(--color-rule); border-radius: 8px;
  font-size: var(--text-sm); font-weight: 600; white-space: nowrap;
}
.dns-table-tooltip.visible { display: block; }

/* ---------- Umschalter (Resolver, Geräte) ---------- */
.switch { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); gap: var(--space-sm); margin: var(--space-xl) 0 var(--space-lg); }
.switch button {
  display: flex; align-items: center; gap: var(--space-sm); min-height: 60px; padding: var(--space-sm) var(--space-md);
  border: 1px solid var(--color-rule); border-radius: var(--radius-card); background: var(--color-paper-3); color: var(--color-muted);
  font-size: 1rem; font-weight: 600; text-align: left; cursor: pointer;
  transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out);
}
.switch button:hover { color: var(--color-ink); border-color: color-mix(in oklab, var(--v, var(--color-accent)) 45%, var(--color-rule)); }
.switch button[aria-selected="true"] { color: var(--color-ink); border-color: var(--v, var(--color-accent)); background: color-mix(in oklab, var(--v, var(--color-accent)) 14%, var(--color-paper-3)); }
.switch__dot { width: 12px; height: 12px; border-radius: 50%; background: var(--v); flex-shrink: 0; }
.switch img { width: 24px; height: 24px; flex-shrink: 0; }
.switch--os { --cols: 5; }

/* ---------- Resolver-Panels ---------- */
.variant { border-color: color-mix(in oklab, var(--v) 40%, var(--color-rule)); }
.js .variant + .variant { margin-top: 0; }
.js .variant:not([hidden]), .js .client:not([hidden]) { animation: panel-in var(--dur-long) var(--ease-out); }
@keyframes panel-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.variant__head h3 { font-size: var(--text-2xl); }
.variant > .card__desc { max-width: 70ch; }
.groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-xl) var(--space-lg); margin-top: var(--space-xl); padding-top: var(--space-xl); border-top: 1px solid var(--color-rule); }
.group__head { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-xs); margin-bottom: var(--space-sm); }
.group__head h4 { color: var(--color-accent-text); letter-spacing: 0.02em; }
.endpoints { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-xs); }

/* Kopierbare Adresse (wie der Server-Endpunkt bei erpel) */
.endpoint {
  display: flex; align-items: center; gap: var(--space-sm); min-height: 48px;
  padding: var(--space-2xs) var(--space-2xs) var(--space-2xs) var(--space-md);
  background: var(--color-code); border: 1px solid var(--color-rule); border-radius: var(--radius-control);
}
.endpoint code { flex: 1 1 auto; min-width: 0; font: 400 0.95rem/1.45 var(--font-outlier); color: var(--color-ink); overflow-wrap: anywhere; }
/* DNS-Stamps (sdns://) sind für Fortgeschrittene: kleiner und zurückgenommen */
.endpoint--sdns { background: transparent; min-height: 40px; }
.endpoint--sdns code { font-size: 0.78rem; color: var(--color-muted); }
.copy {
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 40px; height: 40px; padding: 0;
  border: 1px solid transparent; border-radius: 8px; background: transparent; color: var(--color-muted); cursor: pointer;
  transition: background-color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out);
}
.copy:hover { color: var(--color-ink); background: var(--color-hover); }
.copy__icon { width: 16px; height: 16px; }
.copy [data-icon="done"], .copy[data-done] [data-icon="copy"] { display: none; }
.copy[data-done] [data-icon="done"] { display: block; }
.copy[data-done] { color: var(--color-clean-text); }
.copy__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- Warum dnsforge.de? ----------
   Ruhig: ein Panel, keine Trennlinien zwischen den Vorteilen, das Icon ist der einzige Farbakzent.
   Die Einstellungen darunter stehen exakt in denselben Spalten wie die Vorteile. */
.benefits { background: var(--color-paper-3); border: 1px solid var(--color-rule); border-radius: var(--radius-card); overflow: hidden; }
.features, .settings { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.feature { display: grid; align-content: start; gap: var(--space-xs); padding: var(--space-xl) var(--space-lg) var(--space-lg); }
.feature__icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: var(--space-sm); border-radius: 12px; color: var(--color-accent-text); background: color-mix(in oklab, var(--color-accent) 12%, transparent); }
.feature__icon svg { width: 22px; height: 22px; }
.feature h3 { font-size: 1.125rem; }
.feature p { color: var(--color-muted); font-size: 0.95rem; line-height: 1.55; }
.feature p strong { color: inherit; font-weight: inherit; }

.specs { border-top: 1px solid var(--color-rule-soft); }
.settings { margin: 0; }
.settings div { padding: var(--space-lg); }
.settings dt { color: var(--color-muted); font-size: var(--text-sm); }
.settings dd { margin: var(--space-3xs) 0 0; color: var(--color-ink); font-size: 0.95rem; font-weight: 600; line-height: 1.4; }

/* ---------- Einrichten ---------- */
.client__head { display: flex; align-items: center; gap: var(--space-sm); }
.client__head img { width: 32px; height: 32px; }
.client__head h3 { font-size: var(--text-xl); }
.client__path { margin-top: var(--space-sm); color: var(--color-ink-2); }
.rows { display: grid; gap: var(--space-xs); margin-top: var(--space-lg); }
.row { display: grid; grid-template-columns: 7rem minmax(0, 1fr); align-items: center; gap: var(--space-md); }
.row__label { display: flex; align-items: center; gap: var(--space-xs); color: var(--color-ink); font-weight: 600; }

.profiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-md); margin-top: var(--space-lg); }
.profile { padding: var(--space-md); border: 1px solid var(--color-rule); border-radius: var(--radius-control); background: var(--color-paper-2); }
.profile__name { display: flex; align-items: center; gap: var(--space-xs); color: var(--color-ink); font-weight: 600; margin-bottom: var(--space-sm); }
.profile__links { display: grid; gap: var(--space-xs); }
.profile__dl {
  display: flex; align-items: center; gap: var(--space-sm); min-height: 44px; padding: 0 var(--space-sm);
  border: 1px solid var(--color-rule); border-radius: 8px; background: var(--color-paper-3); color: var(--color-ink); text-decoration: none; font-size: var(--text-sm);
  transition: border-color var(--dur-short) var(--ease-out);
}
.profile__dl:hover { border-color: var(--color-accent); color: var(--color-ink); }
.profile__dl span:nth-child(2) { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.profile__dl svg { width: 16px; height: 16px; color: var(--color-muted); flex-shrink: 0; }
.kind { display: inline-block; min-width: 2.75rem; padding: 1px var(--space-xs); border-radius: 6px; text-align: center; font-size: var(--text-xs); font-weight: 600; color: var(--color-accent-text); background: color-mix(in oklab, var(--color-accent) 16%, transparent); }
.kind--doh { color: var(--color-blue); background: color-mix(in oklab, var(--color-blue) 16%, transparent); }

/* Nummerierte Schritte (iOS-Profil, FAQ-Anleitungen) */
.steps-list { margin-top: var(--space-lg); }
.steps-heading { display: flex; align-items: center; gap: var(--space-xs); color: var(--color-ink); font-weight: 600; margin-bottom: var(--space-sm); }
.steps-heading img { width: 20px; height: 20px; }
.steps-list ol { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-sm); }
.steps-list li { counter-increment: step; position: relative; overflow-wrap: anywhere; padding-left: calc(1.75rem + var(--space-sm)); min-height: 1.75rem; color: var(--color-ink-2); }
.steps-list li::before {
  content: counter(step); position: absolute; left: 0; top: 0; width: 1.75rem; height: 1.75rem; display: grid; place-items: center;
  border-radius: 50%; border: 1px solid var(--color-rule); background: var(--color-paper-2); color: var(--color-ink);
  font-size: var(--text-xs); font-weight: 800; font-variant-numeric: tabular-nums;
}
.steps-list > p:not(.steps-heading) { margin-top: var(--space-sm); color: var(--color-ink-2); }

/* ---------- Link-Karten (Leak-Test, Whitelist) ---------- */
.linkcards { display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); gap: var(--space-sm); margin-top: var(--space-lg); }
.linkcard {
  display: flex; align-items: center; gap: var(--space-md); min-height: 64px; padding: var(--space-sm) var(--space-md);
  border: 1px solid var(--color-rule); border-radius: var(--radius-card); background: var(--color-paper-2); color: var(--color-ink); font-weight: 600; text-decoration: none;
  transition: border-color var(--dur-short) var(--ease-out), background-color var(--dur-short) var(--ease-out);
}
.linkcard:hover { color: var(--color-ink); border-color: var(--color-accent); background: color-mix(in oklab, var(--color-accent) 8%, var(--color-paper-2)); }
.linkcard__icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 9px; background: var(--color-paper-3); border: 1px solid var(--color-rule); flex-shrink: 0; color: var(--color-accent-text); }
.linkcard__icon img { width: 20px; height: 20px; }
.linkcard__icon svg { width: 18px; height: 18px; }
.linkcard span:nth-child(2) { flex: 1; min-width: 0; overflow-wrap: break-word; }

/* ---------- Domain Check ---------- */
.segmented { display: flex; width: 100%; gap: var(--space-3xs); padding: var(--space-3xs); margin-top: var(--space-lg); border-radius: var(--radius-control); background: var(--color-paper-2); border: 1px solid var(--color-rule); }
.segmented .dns-tab { flex: 1; min-height: 44px; padding: 0 var(--space-md); border: 0; border-radius: 8px; background: transparent; color: var(--color-muted); font: 600 var(--text-base, 1rem)/1 var(--font-body); cursor: pointer; transition: color var(--dur-short) var(--ease-out), background-color var(--dur-short) var(--ease-out); }
.segmented .dns-tab:hover { color: var(--color-ink); }
.segmented .dns-tab.active { color: var(--color-ink); background: var(--color-paper-3); box-shadow: inset 0 -2px 0 var(--v); }
.check__form { display: flex; gap: var(--space-sm); margin-top: var(--space-md); }
.check__form .input {
  flex: 1; min-width: 0; min-height: 48px; padding: 0 var(--space-md); border: 1px solid var(--color-rule); border-radius: var(--radius-control);
  background: var(--color-code); color: var(--color-ink); font: 400 1rem var(--font-outlier);
}
.check__form .input::placeholder { color: var(--color-muted); }
.check__form .input { transition: border-color var(--dur-short) var(--ease-out), box-shadow var(--dur-short) var(--ease-out); }
.check__form .input:hover { border-color: color-mix(in oklab, var(--color-accent) 40%, var(--color-rule)); }
.check__form .input:focus, .check__form .input:focus-visible { outline: none; border-color: var(--color-accent); box-shadow: 0 0 0 3px color-mix(in oklab, var(--color-accent) 25%, transparent); }
.check__form .btn { min-height: 48px; min-width: 8rem; font-size: var(--text-base, 1rem); }
.domain-check-result:not(:empty) {
  --r: var(--color-muted); --r-text: var(--color-ink-2);
  display: flex; align-items: center; gap: var(--space-md); margin-top: var(--space-md); padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-control); background: var(--color-paper-2); border: 1px solid var(--color-rule); box-shadow: inset 3px 0 0 var(--r);
  color: var(--color-ink-2); animation: result-in var(--dur-short, .2s) var(--ease-out, ease-out);
}
.domain-check-result.has-text-success { --r: var(--color-clean); --r-text: var(--color-clean-text); }
.domain-check-result.has-text-danger { --r: var(--color-hard); --r-text: var(--color-hard-text); }
.domain-check-result.has-text-warning { --r: var(--color-yellow); --r-text: var(--color-yellow); }
.domain-check-result.is-loading { box-shadow: none; }
.result__icon { display: grid; place-items: center; width: 40px; height: 40px; flex-shrink: 0; border-radius: var(--radius-control); background: color-mix(in oklab, var(--r) 16%, transparent); color: var(--r-text); }
.result__icon svg { width: 20px; height: 20px; }
.result__body { display: grid; gap: var(--space-3xs); min-width: 0; }
.result__head { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-xs); }
.result__domain { font: 600 1rem var(--font-outlier); color: var(--color-ink); background: none; padding: 0; overflow-wrap: anywhere; }
.result__badge { padding: 2px var(--space-xs); border-radius: var(--radius-pill); background: color-mix(in oklab, var(--r) 16%, transparent); color: var(--r-text); font-size: var(--text-xs); font-weight: 700; letter-spacing: .02em; text-transform: uppercase; }
.result__detail { font-size: var(--text-sm); color: var(--color-muted); overflow-wrap: anywhere; }
.result__spinner { width: 18px; height: 18px; flex-shrink: 0; border: 2px solid var(--color-rule); border-top-color: var(--color-accent); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes result-in { from { opacity: 0; transform: translateY(4px); } }
@media (prefers-reduced-motion: reduce) { .domain-check-result:not(:empty) { animation: none; } .result__spinner { animation-duration: 2s; } }

/* ---------- Domain Status (Zahlen kommen vom dnsforge-control-Tool) ---------- */
.status__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: var(--space-xs) var(--space-lg); }
.status__date { color: var(--color-muted); font-size: var(--text-sm); }
.status-links { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-sm); margin-top: var(--space-lg); }
.status-item { display: grid; gap: var(--space-2xs); padding: var(--space-md); border-radius: var(--radius-control); background: var(--color-paper-2); border: 1px solid var(--color-rule); box-shadow: inset 0 3px 0 var(--v, var(--color-muted)); }
.status-label { color: var(--color-muted); font-size: var(--text-sm); font-weight: 600; }
.status-count { color: var(--color-ink); font-size: clamp(1.25rem, 1vw + 0.9rem, 1.75rem); font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }

/* ---------- Blocklisten (Inhalt kommt vom dnsforge-control-Tool) ---------- */
.blocklist-accordion { margin-top: var(--space-sm); border: 1px solid var(--color-rule); border-radius: var(--radius-control); background: var(--color-paper-2); }
.blocklist-accordion:first-of-type { margin-top: var(--space-lg); }
.blocklist-accordion-toggle { display: flex; align-items: center; gap: var(--space-sm); min-height: 56px; padding: var(--space-xs) var(--space-md); cursor: pointer; list-style: none; color: var(--color-ink); font-weight: 600; border-radius: var(--radius-control); }
.blocklist-accordion-toggle::-webkit-details-marker { display: none; }
.blocklist-accordion-icon { width: 12px; height: 12px; border-radius: 50%; background: var(--v, var(--color-accent)); flex-shrink: 0; }
.blocklist-accordion-title { flex: 1; }
.blocklist-accordion-badge { color: var(--color-muted); font-size: var(--text-sm); font-weight: 600; }
.blocklist-accordion-arrow { color: var(--color-muted); transition: transform var(--dur-short) var(--ease-out); }
.blocklist-accordion[open] .blocklist-accordion-arrow { transform: rotate(90deg); }
.blocklist-accordion-content { padding: 0 var(--space-md) var(--space-md); }
.blocklist-pre { margin: 0; max-height: 22rem; overflow: auto; padding: var(--space-sm) var(--space-md); border-radius: 8px; background: var(--color-code); border: 1px solid var(--color-rule); }
.blocklist-pre code { font: 400 0.8rem/1.7 var(--font-outlier); color: var(--color-ink-2); white-space: pre; }

/* ---------- Häufige Fragen ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--space-lg) var(--space-2xl); align-items: start; }
.faq__head { position: sticky; top: calc(var(--nav-h) + var(--space-xl)); }
.faq__head h2 { margin-bottom: var(--space-sm); }
.faq__list { border-top: 1px solid var(--color-rule); }
.faq-item { border-bottom: 1px solid var(--color-rule); }
.faq-item summary { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); padding: var(--space-md) 0; font-weight: 600; color: var(--color-ink); cursor: pointer; list-style: none; border-radius: var(--space-2xs); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid var(--color-rule); border-radius: 50%; color: var(--color-muted); font-weight: 400; transition: transform var(--dur-short) var(--ease-out); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--color-link); }
.faq-answer { padding: 0 var(--space-2xl) var(--space-lg) 0; color: var(--color-ink-2); }
.faq-answer .steps-list { margin-top: var(--space-md); }
.faq-answer .code { font-family: var(--font-outlier); color: var(--color-ink); background: var(--color-code); border: 1px solid var(--color-rule); border-radius: var(--space-2xs); padding: 0 var(--space-2xs); }

/* ---------- Footer ---------- */
.footer { position: relative; background: var(--color-footer); color: var(--color-footer-muted); padding: var(--space-3xl) 0; font-size: 0.925rem; }
.footer__strip { position: absolute; inset: 0 0 auto; height: 3px; background: var(--color-accent); }
.footer a { color: var(--color-footer-ink); text-decoration: none; transition: color var(--dur-short) var(--ease-out); }
.footer__col a:hover, .footer__bottom a:hover { color: #f0932e; text-decoration: underline; }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(4, minmax(0, 1fr)); gap: var(--gap-columns); }
.footer__brand { display: flex; align-items: center; gap: var(--space-sm); color: var(--color-footer-ink); font-weight: 800; font-size: var(--text-xl); letter-spacing: -0.02em; margin-bottom: var(--space-sm); }
.footer__brand img { width: 36px; height: 36px; }
.footer__about { max-width: 30ch; }
.footer__head { color: var(--color-footer-muted); font-size: var(--text-sm); font-weight: 600; margin-bottom: var(--space-sm); }
.footer__col a { display: block; width: fit-content; padding: var(--space-xs) 0; }
.footer__apps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-sm); margin: var(--space-2xl) 0; }
.footer__app {
  display: flex; align-items: center; gap: var(--space-md); padding: var(--space-md);
  border: 1px solid var(--color-footer-rule); border-radius: var(--radius-card); background: var(--color-footer-card); color: var(--color-footer-ink);
  transition: border-color var(--dur-short) var(--ease-out), background-color var(--dur-short) var(--ease-out);
}
.footer__app:hover { border-color: var(--v); background: color-mix(in oklab, var(--v) 10%, var(--color-footer-card)); }
.footer__app .switch__dot { width: 14px; height: 14px; }
.footer__app span { display: grid; min-width: 0; }
.footer__app b { color: var(--color-footer-ink); font-weight: 600; }
.footer__app small { color: var(--color-footer-muted); font-size: var(--text-sm); overflow-wrap: anywhere; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-xs) var(--space-lg); padding-top: var(--space-lg); border-top: 1px solid var(--color-footer-rule); }
.footer__bottom a { font-weight: 600; color: #f0932e; }

/* ---------- Einstellungen: Design und Sprache (Pille bleibt immer dunkel) ---------- */
.prefs {
  position: fixed; right: var(--space-lg); bottom: var(--space-lg); z-index: var(--z-sticky);
  display: flex; align-items: center; gap: var(--space-3xs); padding: var(--space-2xs);
  background: var(--color-pill); border: 1px solid var(--color-pill-rule); border-radius: var(--radius-pill);
  transition: transform var(--dur-long) var(--ease-out), opacity var(--dur-short) var(--ease-out);
}
.prefs.is-away { transform: translateY(calc(100% + var(--space-xl))); opacity: 0; }
.prefs__btn {
  width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border: 0; border-radius: var(--radius-pill);
  background: transparent; color: var(--color-pill-ink); cursor: pointer;
  transition: color var(--dur-short) var(--ease-out), background-color var(--dur-short) var(--ease-out);
}
.prefs__btn:hover { color: var(--color-pill-ink-hover); background: var(--color-pill-hover); }
.prefs__btn svg { width: 18px; height: 18px; }
.prefs__divider { width: 1px; height: 20px; background: var(--color-pill-rule); }
.prefs__lang { position: relative; }
.prefs__flag { width: 20px; height: 14px; border-radius: 2px; object-fit: cover; }
.prefs__auto { width: 16px; height: 16px; margin-inline: var(--space-3xs); flex-shrink: 0; }
.prefs__menu {
  position: absolute; right: 0; bottom: calc(100% + var(--space-xs)); min-width: 148px;
  display: grid; gap: var(--space-3xs); padding: var(--space-2xs);
  background: var(--color-paper-3); border: 1px solid var(--color-rule); border-radius: var(--radius-control);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity var(--dur-micro) var(--ease-out), transform var(--dur-micro) var(--ease-out), visibility 0s linear var(--dur-micro);
}
.prefs__menu.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.prefs__opt {
  display: flex; align-items: center; gap: var(--space-xs); min-height: 40px; padding: 0 var(--space-sm);
  border: 0; border-radius: 6px; background: transparent; color: var(--color-muted);
  font-size: var(--text-sm); font-weight: 400; text-align: left; cursor: pointer;
  transition: color var(--dur-short) var(--ease-out), background-color var(--dur-short) var(--ease-out);
}
.prefs__opt:hover { color: var(--color-ink); background: var(--color-paper-2); }
.prefs__opt[aria-checked="true"] { color: var(--color-ink); font-weight: 600; }

/* Fokus sofort sichtbar */
.btn:focus-visible, .copy:focus-visible, .switch button:focus-visible, .segmented .dns-tab:focus-visible, .prefs__btn:focus-visible, .prefs__opt:focus-visible,
.nav__toggle:focus-visible, .faq-item summary:focus-visible, .blocklist-accordion-toggle:focus-visible, .dns-table th:focus-visible, a:focus-visible {
  outline: 2px solid var(--color-focus); outline-offset: 2px; transition: none;
}

/* Zum Inhalt springen: nur bei Tastatur-Fokus sichtbar */
.skip {
  position: fixed; top: var(--space-sm); left: var(--space-sm); z-index: var(--z-toast);
  padding: var(--space-sm) var(--space-md); border-radius: var(--radius-control);
  background: var(--color-accent); color: var(--color-accent-ink); font-weight: 600; text-decoration: none;
  transform: translateY(-200%);
}
.skip:focus-visible, .skip:focus { transform: none; outline: 2px solid var(--color-focus); outline-offset: 2px; }
main:focus { outline: none; }

/* ---------- Responsive ---------- */
@media (max-width: 62rem) {
  .js .nav__toggle { display: flex; }
  .js .nav__links {
    display: none; position: absolute; top: calc(100% + var(--space-xs)); left: 0; right: 0; flex-direction: column; align-items: stretch;
    padding: var(--space-xs); background: var(--color-paper-3); border: 1px solid var(--color-rule); border-radius: var(--radius-card);
  }
  .js .nav__group { flex-direction: column; align-items: stretch; background: transparent; padding: 0; }
  .js .nav__links.is-open { display: flex; }
  .js .nav__links a:not(.btn) { padding: var(--space-sm) var(--space-md); font-size: 1rem; }
  .js .nav__links .btn { margin: var(--space-xs) 0 0; min-height: 48px; }
  .nav__links { flex-wrap: wrap; justify-content: flex-end; }
}
@media (max-width: 60rem) {
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .settings { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .faq { grid-template-columns: minmax(0, 1fr); }
  .faq__head { position: static; }
  .footer__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__intro { grid-column: 1 / -1; }
  .footer__apps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .status-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .switch--os { --cols: 3; }
  .groups { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 40rem) {
  .hero { min-height: auto; padding-top: calc(var(--nav-h) + var(--space-2xl)); padding-bottom: var(--space-2xl); }
  .hero__mark { width: 56px; height: 56px; }
  .hero__actions { width: 100%; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-xs); width: 100%; }
  .hero__facts li { justify-content: center; padding: var(--space-xs); border: 1px solid var(--color-rule); border-radius: var(--radius-control); }
  .hero__facts li + li { border-left: 1px solid var(--color-rule); }
  .hero__facts li:last-child { grid-column: 1 / -1; }
  .sponsor { grid-template-columns: minmax(0, 1fr); }
  .sponsor .btn { width: 100%; }
  .section { padding-block: var(--space-2xl); }
  .card { padding: var(--space-lg); }
  .features, .settings { grid-template-columns: minmax(0, 1fr); }
  .feature { padding: var(--space-lg) var(--space-lg) var(--space-xs); }
  .feature:last-child { padding-bottom: var(--space-lg); }
  .settings div { padding: var(--space-sm) var(--space-lg); }
  .settings div:first-child { padding-top: var(--space-lg); }
  .settings div:last-child { padding-bottom: var(--space-lg); }
  .switch { --cols: 2; gap: var(--space-xs); }
  .switch--os { --cols: 3; }
  .switch button { flex-direction: column; justify-content: center; gap: var(--space-2xs); min-height: 64px; padding: var(--space-xs); font-size: var(--text-sm); text-align: center; }
  .variant__head h3 { font-size: var(--text-xl); }
  .endpoint { padding-left: var(--space-sm); gap: var(--space-2xs); }
  .endpoint code { font-size: 0.875rem; }
  .endpoint--sdns code { font-size: 0.72rem; }
  .row { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xs); }
  .profiles { grid-template-columns: minmax(0, 1fr); }
  .linkcards { grid-template-columns: minmax(0, 1fr); }
  .segmented { display: flex; }
  .segmented .dns-tab { flex: 1; }
  .check__form { flex-direction: column; }
  .status-links { grid-template-columns: minmax(0, 1fr); }
  .faq-answer { padding-right: 0; }
  .footer__apps { grid-template-columns: minmax(0, 1fr); }
  .prefs { right: var(--space-md); bottom: var(--space-md); }
  /* Tabellenkopf: Kürzel statt ganzer Wörter, Tippen zeigt das Wort (page.js) */
  .dns-table { table-layout: fixed; }
  .dns-table th, .dns-table td { padding: var(--space-xs) var(--space-3xs); }
  .dns-table td:first-child, .dns-table th:first-child { padding-left: var(--space-sm); width: 5.5rem; }
  .dns-table .th-full { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .dns-table .th-icon { display: inline; font-size: var(--text-xs); font-weight: 800; }
  .dns-table th.has-tap-label { cursor: pointer; }
  .mark { width: 22px; height: 22px; }
  .mark svg { width: 13px; height: 13px; }
}
