/* Geist (SIL Open Font License, see fonts/Geist-OFL.txt), self-hosted so no visitor data goes to a font CDN. */
@font-face {
  font-family: "Geist";
  src: url("/assets/Geist-Variable-b3bdf954.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("/assets/GeistMono-Variable-0c711437.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #fbfaf7;
  --surface: #ffffff;
  --ink: #1c1b19;
  --ink-soft: #5d5b56;
  --ink-faint: #8a877f;
  --line: #e7e3da;
  --accent: #1f5bd6;
  --accent-ink: #ffffff;
  --red: #b42318;
  --red-tint: #fdf3f2;
  --amber: #a15c07;
  --amber-tint: #fdf7ec;
  --green: #18794e;
  --green-tint: #f1f8f4;
  --gray-tint: #f2f1ee;
  --radius: 10px;
  --sans: "Geist", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  font-feature-settings: "ss01", "cv11";
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
code { font-family: var(--mono); font-size: 0.88em; background: var(--gray-tint); padding: 0.1em 0.35em; border-radius: 4px; overflow-wrap: anywhere; }
strong { font-weight: 650; }

h1, h2, h3 { font-weight: 600; line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.2rem, 5.5vw, 3.2rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.5rem, 3.2vw, 1.85rem); letter-spacing: -0.025em; }
h3 { font-size: 1.2rem; }

.container { width: 100%; max-width: 760px; margin: 0 auto; padding: 0 16px; }
.lead { font-size: 1.15rem; color: var(--ink-soft); margin: 0 0 32px; }
.muted { color: var(--ink-soft); }
.prose p { margin: 0 0 1em; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: var(--paper); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink); text-decoration: none; letter-spacing: -0.01em; }
/* Logo mark in CSS (the favicon in public/icon.svg is the drawn version of the same mark). */
.brand__mark {
  display: inline-grid; place-items: center; flex: none;
  width: 30px; height: 30px; border-radius: 8px;
  background: #c8281a; color: #fff;
  font-family: var(--mono); font-size: 0.82rem; font-weight: 700; letter-spacing: -0.04em;
}
.brand__accent { color: #c8281a; }
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav a { color: var(--ink-soft); text-decoration: none; font-size: 0.95rem; }
.site-nav a:hover { color: var(--ink); }
.site-nav__link { font-weight: 600; color: var(--ink) !important; }
.site-nav .site-nav__help { color: var(--accent-ink); padding: 8px 16px; font-size: 0.95rem; }
.site-nav .site-nav__help:hover { color: var(--accent-ink); }
@media (max-width: 640px) {
  .site-header__inner { flex-wrap: wrap; gap: 4px 16px; padding-top: 10px; padding-bottom: 10px; }
  .site-nav:not(.site-nav--admin) { width: 100%; gap: 18px; }
  .site-nav .nav-menu { margin-right: auto; }
  .site-nav__long { display: none; }
}

/* "Beheben" megamenu: a <details> so it works without JS; application.js closes it on outside click and Escape. */
.site-header__inner { position: relative; }
.nav-menu__toggle { list-style: none; cursor: pointer; font-weight: 600; font-size: 0.95rem; color: var(--ink); display: inline-flex; align-items: center; gap: 6px; }
.nav-menu__toggle::-webkit-details-marker { display: none; }
.nav-menu__toggle::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform 0.15s; }
.nav-menu[open] .nav-menu__toggle::after { transform: translateY(1px) rotate(-135deg); }
.nav-menu__panel {
  position: absolute; z-index: 20; top: calc(100% + 1px); left: 16px; right: 16px; max-width: 720px; margin-left: auto;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(28, 27, 25, 0.1); padding: 12px;
}
.nav-menu__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.site-nav .nav-menu__item { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 8px; }
.site-nav .nav-menu__item:hover { background: var(--gray-tint); }
.nav-menu__title { font-weight: 600; color: var(--ink); }
.nav-menu__text { font-size: 0.86rem; color: var(--ink-soft); line-height: 1.4; }
.site-nav .nav-menu__all { display: block; margin-top: 8px; padding: 12px 12px 4px; border-top: 1px solid var(--line); font-weight: 600; color: var(--accent); }
@media (max-width: 640px) { .nav-menu__grid { grid-template-columns: 1fr; } .nav-menu__text { display: none; } .nav-menu__panel { max-height: 75vh; overflow-y: auto; } }

/* Hero (start page) */
.hero { background: var(--surface); border-bottom: 1px solid var(--line); padding: clamp(56px, 11vw, 112px) 16px clamp(48px, 8vw, 80px); }
.hero__inner { max-width: 820px; margin: 0 auto; text-align: center; }
.hero__meta { font-size: 0.9rem; color: var(--ink-faint); margin: 0 0 18px; }
.hero h1 { font-size: clamp(2.3rem, 6.5vw, 3.9rem); margin-bottom: 20px; }
.hero__lead { font-size: clamp(1.05rem, 2.3vw, 1.2rem); color: var(--ink-soft); max-width: 660px; margin: 0 auto 36px; }
.hero__hint { font-size: 0.9rem; color: var(--ink-faint); max-width: 600px; margin: 16px auto 0; }

/* Check form */
.check-form__label { display: block; font-weight: 600; margin-bottom: 8px; }
.check-form__field {
  display: flex; gap: 8px; padding: 6px;
  background: var(--surface);
  border: 1px solid #cfcac0; border-radius: 14px;
}
.check-form__field:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(31, 91, 214, 0.15); }
.check-form__input {
  flex: 1; min-width: 0;
  font: inherit; color: var(--ink);
  padding: 10px 12px; border: 0; outline: none; background: transparent;
}
.check-form--hero { max-width: 640px; margin: 0 auto; }
.check-form--hero .check-form__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.check-form--hero .check-form__field { padding: 8px; border-radius: 16px; box-shadow: 0 1px 2px rgba(28, 27, 25, 0.04), 0 8px 24px rgba(28, 27, 25, 0.06); }
.check-form--hero .check-form__input { font-size: 1.2rem; padding: 12px 14px; }
.check-form--hero .button { padding: 14px 26px; font-size: 1.05rem; }
.check-form--compact .check-form__label { font-size: 0.9rem; color: var(--ink-soft); font-weight: 500; }
@media (max-width: 520px) {
  .check-form--hero .check-form__field { flex-direction: column; }
}

.recheck { background: var(--surface); border-bottom: 1px solid var(--line); padding: 20px 0; }

.button {
  font: inherit; font-weight: 600;
  background: var(--accent); color: var(--accent-ink);
  border: 0; border-radius: 10px;
  padding: 10px 20px; cursor: pointer; white-space: nowrap;
}
.button:hover { background: #184bb3; }
.button:focus-visible { outline: 3px solid rgba(31, 91, 214, 0.35); outline-offset: 2px; }
.button__busy { display: none; }
.is-busy .button__label { display: none; }
.is-busy .button__busy { display: inline; }
.is-busy .button { opacity: 0.8; cursor: progress; }

/* Summary */
.summary-section { padding: 48px 0; }
.summary__title { font-size: 1rem; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 12px; }
.summary { margin: 0; border-top: 1px solid var(--line); }
.summary > div { display: grid; grid-template-columns: 90px 1fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.summary dt { font-weight: 600; color: var(--ink-soft); }
.summary dd { margin: 0; }
@media (max-width: 480px) { .summary > div { grid-template-columns: 1fr; gap: 2px; } }

/* Result */
.result-section { padding: 36px 0 40px; }
.result { border-radius: var(--radius); padding: 24px; margin-bottom: 20px; border-left: 4px solid; }
.result__title { font-size: clamp(1.6rem, 4vw, 2.1rem); margin-bottom: 0.4em; }
.result p { margin: 0 0 10px; }
.result__eyebrow { font-size: 0.9rem; color: var(--ink-soft); }
.result__note { font-size: 0.95rem; color: var(--ink-soft); }
.result__actions { margin: 14px 0 0 !important; font-weight: 600; }
.result--vulnerable { background: var(--red-tint); border-color: var(--red); }
.result--vulnerable .result__title { color: var(--red); }
.result--unknown { background: var(--amber-tint); border-color: #d99a2b; }
.result--unknown .result__title { color: var(--amber); }
.result--patched { background: var(--green-tint); border-color: var(--green); }
.result--patched .result__title { color: var(--green); }
.result--no-php { background: var(--gray-tint); border-color: #a9a59c; }
.result--no-php .result__title { color: var(--ink-soft); }
.result--error { background: var(--gray-tint); border-color: #a9a59c; }

.result-grid { display: grid; gap: 16px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.panel h3 { font-size: 1rem; font-weight: 600; letter-spacing: -0.01em; }
.panel h3:not(:first-child) { margin-top: 22px; }
.panel p:last-child { margin-bottom: 0; }

.facts { display: grid; grid-template-columns: 170px 1fr; gap: 6px 16px; margin: 0; font-size: 0.95rem; }
.facts dt { color: var(--ink-soft); }
.facts dd { margin: 0; overflow-wrap: anywhere; }
.facts__warn { color: var(--amber); }
@media (max-width: 480px) { .facts { grid-template-columns: 1fr; gap: 0; } .facts dd { margin-bottom: 8px; } }

.tech-list, .evidence-list, .check-list, .sources { margin: 0; padding: 0; list-style: none; }
.tech-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.tech-list li:last-child { border-bottom: 0; }
.tech-list__name { font-weight: 600; }
.tag { font-size: 0.85rem; color: var(--ink-faint); }
.evidence-list li { font-size: 0.93rem; padding: 3px 0 3px 16px; position: relative; overflow-wrap: anywhere; }
.evidence-list li::before { content: "–"; position: absolute; left: 0; color: var(--ink-faint); }

.callout { border-left: 3px solid var(--line); padding: 2px 0 2px 16px; margin: 20px 0 0; }
.disclaimer { font-size: 0.85rem; color: var(--ink-soft); margin: 20px 0 0; }

/* Content sections */
.section { padding: 48px 0; border-top: 1px solid var(--line); }

.cve-grid { display: grid; gap: 16px; margin-top: 28px; }
.cve-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.cve-card__header { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 4px; }
.cve-card__header h3 { font-family: var(--mono); font-size: 1.05rem; font-weight: 600; margin: 0; }
.cve-card__title { font-weight: 600; margin: 0 0 8px; }
.cve-card p:last-child { margin-bottom: 0; }
.score { font-size: 0.85rem; color: var(--red); }
.score__label { font-weight: 600; }

.table-wrap { overflow-x: auto; margin: 24px 0 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.versions { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.versions th, .versions td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.versions th { font-weight: 600; color: var(--ink-soft); font-size: 0.9rem; }
.versions tr:last-child td { border-bottom: 0; }
.versions td:first-child { font-weight: 600; white-space: nowrap; }
.pill { font-family: var(--mono); font-weight: 600; white-space: nowrap; }
.pill--ok { color: var(--green); }
.pill--bad { color: var(--red); font-family: var(--sans); }

.two-col { display: grid; gap: 16px; }
.check-list li { padding: 4px 0 4px 16px; position: relative; }
.check-list li::before { content: "–"; position: absolute; left: 0; color: var(--ink-faint); }

.steps { list-style: none; counter-reset: step; padding: 0; margin: 24px 0 0; }
.steps > li { counter-increment: step; position: relative; padding: 0 0 20px 40px; }
.steps > li::before { content: counter(step) "."; position: absolute; left: 0; top: 0; font-size: 1.1rem; font-weight: 600; color: var(--ink-faint); font-variant-numeric: tabular-nums; }
.steps h3 { margin-bottom: 0.3em; }
.steps p, .steps ul { margin: 0 0 8px; }
.steps ul { padding-left: 20px; }
.steps ul li { margin-bottom: 4px; }

.timeline { list-style: none; padding: 0; margin: 20px 0 0; }
.timeline li { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.timeline time { font-weight: 600; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.timeline p { margin: 0; }
@media (max-width: 480px) { .timeline li { grid-template-columns: 1fr; gap: 0; } }

.faq { margin-top: 16px; }
.faq details { border-bottom: 1px solid var(--line); padding: 14px 0; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq details p { margin: 10px 0 0; }

.sources { margin-top: 16px; }
.link-list { margin: 12px 0 0; padding: 0; list-style: none; }
.link-list li { padding: 6px 0; }
.sources li { padding: 4px 0; }
.sources a { overflow-wrap: anywhere; }

/* Plain pages (Impressum) */
.page { padding: clamp(40px, 8vw, 64px) 16px 64px; }
.page h2 { font-size: 1.05rem; font-weight: 600; letter-spacing: -0.01em; margin: 28px 0 6px; }
.page p { margin: 0 0 8px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0 40px; font-size: 0.9rem; color: var(--ink-soft); }
.site-footer p { margin: 0 0 6px; }

/* Admin + reports */
.container--wide { max-width: 1100px; }
.small { font-size: 0.85rem; }
.brand__sub { font-weight: 500; color: var(--ink-faint); margin-left: 6px; }
.site-nav--admin { display: flex; align-items: center; gap: 20px; }
.site-nav__user { color: var(--ink-faint); font-size: 0.85rem; }
@media (max-width: 640px) { .site-nav--admin { display: flex; flex-wrap: wrap; gap: 8px 14px; } .site-nav__user { display: none; } }
.link-button { font: inherit; font-size: 0.95rem; background: none; border: 0; padding: 0; color: var(--ink-soft); cursor: pointer; }
.link-button:hover { color: var(--ink); text-decoration: underline; }
form.button_to { display: inline; margin: 0; }

.admin-main { padding-top: 32px; padding-bottom: 64px; }
.admin-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.admin-head h1 { margin: 0; font-size: clamp(1.7rem, 4vw, 2.2rem); }
.admin-head p { margin: 0 0 6px; }
.admin-actions { display: flex; gap: 8px; }
.button--secondary { background: var(--surface); color: var(--ink); border: 1px solid #cfcac0; }
.button--secondary:hover { background: var(--gray-tint); }
.button--danger { background: var(--surface); color: var(--red); border: 1px solid #e8c4c0; }
.button--danger:hover { background: var(--red-tint); }
a.button { display: inline-block; text-decoration: none; }

.flash { border-radius: var(--radius); padding: 12px 16px; margin: 0 0 20px; background: var(--green-tint); border: 1px solid #cde8d8; }
.flash p { margin: 0; }
.flash--alert { background: var(--red-tint); border-color: #f1d0cc; }

.admin-form { max-width: 720px; margin: 24px 0 36px; }
.admin-form--inline { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; max-width: none; }
.admin-form--inline .field--full, .admin-form--inline .flash, .admin-form--inline input[type=submit] { grid-column: 1 / -1; justify-self: start; }
@media (max-width: 640px) { .admin-form--inline { grid-template-columns: 1fr; } }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; margin-bottom: 6px; }
.field input[type=text], .field textarea, .share input {
  width: 100%; font: inherit; color: var(--ink);
  padding: 10px 12px; background: var(--surface);
  border: 1px solid #cfcac0; border-radius: var(--radius);
}
.field textarea { font-family: var(--mono); font-size: 0.92rem; resize: vertical; }
.field input:focus, .field textarea:focus, .share input:focus { outline: 3px solid rgba(31, 91, 214, 0.2); border-color: var(--accent); }


.share { margin-bottom: 24px; }
.share label { display: block; margin-bottom: 8px; }
.share input { font-family: var(--mono); font-size: 0.9rem; }
.share p { margin: 8px 0 0; }

.progress-note { background: var(--amber-tint); border-radius: var(--radius); padding: 10px 14px; }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin: 0 0 24px; }
.stats__item {
  display: flex; flex-direction: column; justify-content: space-between; gap: 6px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 16px 16px;
}
.stats__count { order: -1; margin: 0; display: flex; align-items: center; gap: 10px; font-size: 2rem; font-weight: 600; line-height: 1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.stats__icon {
  width: 28px; height: 28px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  font-size: 0.85rem; font-weight: 700; letter-spacing: 0;
  background: var(--gray-tint); color: var(--ink-soft);
}
.stats__label { font-size: 0.9rem; line-height: 1.35; color: var(--ink-soft); }
.stats__item--vulnerable .stats__icon { background: var(--red); color: #fff; }
.stats__item--unknown .stats__icon { background: #d99a2b; color: #fff; }
.stats__item--patched .stats__icon { background: var(--green); color: #fff; }
.stats__item--error .stats__icon { background: #8a877f; color: #fff; }
.stats__item--vulnerable:not(.stats__item--zero) { background: var(--red-tint); border-color: #efc9c4; }
.stats__item--vulnerable:not(.stats__item--zero) .stats__count { color: var(--red); }
.stats__item--zero .stats__count { color: var(--ink-faint); }
.stats__item--zero .stats__icon { opacity: 0.4; }
.stats__item--zero .stats__label { color: var(--ink-faint); }
@media (max-width: 560px) {
  .stats { grid-template-columns: 1fr 1fr; gap: 8px; }
  .stats__item { padding: 12px; }
  .stats__count { font-size: 1.6rem; gap: 8px; }
  .stats__icon { width: 24px; height: 24px; font-size: 0.75rem; }
}

.data-table { width: 100%; border-collapse: collapse; font-size: 0.93rem; }
.data-table th, .data-table td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.data-table th { font-weight: 600; color: var(--ink-soft); font-size: 0.85rem; white-space: nowrap; }
.data-table tr:last-child td { border-bottom: 0; }
.data-table__url { font-weight: 500; min-width: 160px; overflow-wrap: break-word; }
.data-table__label { font-weight: 600; }
.status { white-space: nowrap; font-weight: 500; }
.status::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 8px; background: #c9c5bc; vertical-align: 1px; }
.status--vulnerable { color: var(--red); }
.status--vulnerable::before { background: var(--red); }
.status--unknown { color: var(--amber); }
.status--unknown::before { background: #d99a2b; }
.status--patched { color: var(--green); }
.status--patched::before { background: var(--green); }
.status--error, .status--no-php, .status--pending, .status--checking { color: var(--ink-soft); }

.tag-soon { font-size: 0.8rem; font-weight: 600; letter-spacing: 0; color: var(--amber); background: var(--amber-tint); border-radius: 6px; padding: 2px 8px; vertical-align: middle; }

.report { padding-top: clamp(40px, 8vw, 64px); padding-bottom: 64px; }
.report__notes { margin-top: 36px; max-width: 760px; }
.report__notes h2 { font-size: 1.2rem; }
.report__notes ul { padding-left: 20px; }
.report__notes li { margin-bottom: 6px; }

.extract { margin: 24px 0 8px; max-width: 900px; }
.extract h2 { font-size: 1.15rem; margin-bottom: 4px; }
.extract .admin-form { margin: 16px 0 0; }
.extract .button { grid-column: 1 / -1; justify-self: start; }
.extract .flash { margin: 16px 0 0; }

/* Check result details */
.result-block { margin-bottom: 16px; }
.result-block__title { font-size: 1.15rem; margin-bottom: 14px; }
.result-block__more { margin: 14px 0 0; font-weight: 600; }

.checklist { list-style: none; margin: 0; padding: 0; }
.checklist__item { display: grid; grid-template-columns: 32px 1fr; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); }
.checklist__item:first-child { border-top: 0; padding-top: 2px; }
.checklist__icon {
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 0.9rem; font-weight: 700; line-height: 1;
  background: var(--gray-tint); color: var(--ink-soft);
}
.checklist__item--ok .checklist__icon { background: var(--green-tint); color: var(--green); }
.checklist__item--bad .checklist__icon { background: var(--red-tint); color: var(--red); }
.checklist__item--unknown .checklist__icon { background: var(--amber-tint); color: var(--amber); }
.checklist__item--info .checklist__icon { background: #eef2fb; color: var(--accent); font-style: italic; font-family: Georgia, serif; }
.checklist__line { margin: 2px 0 2px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; }
.checklist__label { font-weight: 600; }
.checklist__value { font-weight: 600; }
.checklist__item--bad .checklist__value { color: var(--red); }
.checklist__item--ok .checklist__value { color: var(--green); }
.checklist__item--unknown .checklist__value { color: var(--amber); }
.checklist__hint { margin: 0; font-size: 0.93rem; color: var(--ink-soft); }

.message-box { margin-top: 14px; }
.message-box__text {
  width: 100%; resize: vertical;
  font: inherit; font-size: 0.93rem; line-height: 1.55; color: var(--ink);
  padding: 14px 16px; margin-bottom: 10px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
}

.tips { margin: 0; padding-left: 20px; }
.tips li { margin-bottom: 8px; }
.tips li:last-child { margin-bottom: 0; }

.tech-details summary { cursor: pointer; font-weight: 600; }
.tech-details[open] summary { margin-bottom: 16px; }
.tech-details h3 { font-size: 1rem; margin-top: 20px; }

.check-table { list-style: none; margin: 0; padding: 0; font-size: 0.93rem; }
.check-table__row { display: grid; grid-template-columns: 22px minmax(140px, 240px) 1fr; gap: 4px 12px; padding: 7px 0; border-top: 1px solid var(--line); color: var(--ink-soft); }
.check-table__row:first-child { border-top: 0; }
.check-table__mark { color: var(--ink-faint); font-weight: 700; }
.check-table__row--found { color: var(--ink); }
.check-table__row--found .check-table__mark { color: var(--green); }
.check-table__row--found .check-table__name { font-weight: 600; }
.check-table__detail { overflow-wrap: anywhere; }
@media (max-width: 560px) {
  .check-table__row { grid-template-columns: 22px 1fr; }
  .check-table__detail { grid-column: 2; font-size: 0.88rem; }
}
.facts--headers dt code { background: none; padding: 0; font-size: 0.85rem; }
.facts--headers dd { font-family: var(--mono); font-size: 0.82rem; }

/* Accounts */
.login { max-width: 560px; }
.login__perks { margin: 0 0 24px; }
.login__button { margin-bottom: 14px; }
.quota { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px; margin: 0 0 24px; }
.empty-state { text-align: center; padding: 40px 24px; }
.empty-state p { max-width: 480px; margin: 0 auto 20px; }

.premium { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: var(--radius); padding: 22px 24px; margin: 20px 0 24px; }
.premium__reason { font-weight: 600; margin: 0 0 14px; }
.premium__title { font-size: 1.25rem; margin-bottom: 6px; }
.premium p { margin: 0 0 8px; }
.premium__soon { color: var(--ink-soft); font-size: 0.92rem; margin-bottom: 0 !important; }
.result__help { margin: 16px 0 0 !important; }
.result__help .button { display: inline-block; text-decoration: none; }

.check-choice { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; margin-bottom: 20px; }
.check-choice__option { display: flex; flex-direction: column; }
.check-choice__option h2 { font-size: 1.25rem; margin-bottom: 4px; }
.check-choice__option > p { margin: 0 0 16px; }
.check-choice__option .button, .check-choice__option .check-form { margin-top: auto; }
.check-choice__option .check-form__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.check-choice__option a.button { align-self: flex-start; }
.history-title { font-size: 1.25rem; margin: 32px 0 0; }
.single-result .result-section { padding-top: 20px; }
.single-result .container { max-width: none; padding: 0; }

.new-key { border-left: 4px solid var(--green); margin-bottom: 24px; }
.new-key h2 { font-size: 1.15rem; }
.new-key__row { display: flex; gap: 8px; margin: 12px 0; }
.new-key__row input { flex: 1; min-width: 0; font-family: var(--mono); font-size: 0.92rem; padding: 10px 12px; border: 1px solid #cfcac0; border-radius: var(--radius); background: var(--paper); }
.data-table__row--muted td { color: var(--ink-faint); }
.source-badge { font-size: 0.75rem; font-weight: 600; color: var(--accent); background: #eef2fb; border-radius: 5px; padding: 1px 6px; margin-left: 6px; }

.feature__list { padding-left: 20px; margin: 0 0 24px; }
.feature__list li { margin-bottom: 8px; }
.feature__cta { margin: 0 0 12px; }
.feature__cta p { margin: 0 0 12px; }
.feature__cta p:last-child { margin: 10px 0 0; }
.code-block { background: #1f1e1c; color: #f1efe9; border-radius: var(--radius); padding: 16px 18px; overflow-x: auto; font-size: 0.86rem; line-height: 1.55; }
.code-block code { background: none; padding: 0; color: inherit; font-size: inherit; }
.code-block--prompt, .code-block--prompt code { white-space: pre-wrap; overflow-wrap: anywhere; }

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.contact-form { max-width: 760px; }
.contact-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 560px) { .contact-form__row { grid-template-columns: 1fr; } }
.field input[type=email], .field input[type=tel], .field input[type=password], .field input[type=number] {
  width: 100%; font: inherit; color: var(--ink); padding: 10px 12px; background: var(--surface);
  border: 1px solid #cfcac0; border-radius: var(--radius);
}
.checkbox { display: flex; gap: 10px; align-items: flex-start; font-weight: 400 !important; }
.checkbox input { margin-top: 5px; }
.data-table__row--new td { font-weight: 600; }
.contact-message { white-space: normal; }
.integration-result { margin-top: 16px; }
/* The ALTCHA widget runs invisibly; its own styles are inline and blocked by our CSP, so we hide it ourselves. */
altcha-widget { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.knowledge h2, .feature h2 { font-size: clamp(1.3rem, 2.6vw, 1.55rem); letter-spacing: -0.02em; margin-top: 40px; }
.knowledge .facts { margin-bottom: 8px; }
.knowledge__cta { margin-top: 40px; }
.knowledge__cta h2 { margin-top: 0; font-size: 1.25rem; }

/* "Mehr als eine Website?" on the start page */
.container--mid { max-width: 960px; }
.landing .container { max-width: 960px; }
.more-band { background: #eef3fc; border-bottom: 1px solid #d6e1f5; padding: 22px 0; }
.more-band__inner { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px; }
.more-band__note { flex-basis: 100%; text-align: center; margin: 0; font-size: 0.88rem; color: var(--ink-soft); }

/* Footer */
.site-footer__grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; padding-bottom: 24px; }
@media (max-width: 760px) { .site-footer__grid { grid-template-columns: 1fr 1fr; } .site-footer__brand { grid-column: 1 / -1; } }
.site-footer__brand .brand { margin-bottom: 10px; }
.site-footer h2 { font-size: 0.85rem; font-weight: 600; color: var(--ink); letter-spacing: 0; margin: 0 0 10px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 6px; }
.site-footer nav a { color: var(--ink-soft); text-decoration: none; }
.site-footer nav a:hover { color: var(--ink); text-decoration: underline; }
.site-footer__legal { border-top: 1px solid var(--line); padding-top: 16px; font-size: 0.85rem; }
.template-switch a { margin-right: 10px; }
.placeholders { margin-bottom: 20px; }
.placeholders .facts dt code { background: none; padding: 0; }

/* Account menu in the header: initials avatar (no photo) with a dropdown. */
.user-menu { position: relative; }
.user-menu__toggle { list-style: none; cursor: pointer; display: block; border-radius: 50%; }
.user-menu__toggle::-webkit-details-marker { display: none; }
.user-menu__toggle:focus-visible { outline: 3px solid rgba(31, 91, 214, 0.35); outline-offset: 2px; }
.avatar {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: #e3ebfb; color: var(--accent); border: 1px solid #c9d8f5;
  font-size: 0.85rem; font-weight: 600; letter-spacing: 0.02em;
}
.user-menu[open] .avatar, .user-menu__toggle:hover .avatar { border-color: var(--accent); }
.user-menu__panel {
  position: absolute; z-index: 20; top: calc(100% + 10px); right: 0; min-width: 220px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(28, 27, 25, 0.1); padding: 6px;
}
.user-menu__who { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px 12px; margin: 0 0 4px; border-bottom: 1px solid var(--line); font-size: 0.9rem; }
.user-menu__who span { color: var(--ink-faint); font-size: 0.82rem; overflow-wrap: anywhere; }
.user-menu form { margin: 0; }
.site-nav .user-menu__item, .user-menu__item {
  display: block; width: 100%; text-align: left; padding: 9px 12px; border-radius: 8px;
  font: inherit; font-size: 0.95rem; color: var(--ink); background: none; border: 0; cursor: pointer; text-decoration: none;
}
.site-nav .user-menu__item:hover, .user-menu__item:hover { background: var(--gray-tint); color: var(--ink); }
.user-menu__logout { color: var(--ink-soft); }

/* "Beheben" guides: sidebar (this page's headings, all guides) next to the article. */
.guide-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 48px; align-items: start; }
.guide-sidebar { position: sticky; top: 24px; padding-top: clamp(40px, 8vw, 64px); display: grid; gap: 28px; font-size: 0.92rem; }
.guide-sidebar__title { font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-faint); margin: 0 0 10px; }
.guide-sidebar ol, .guide-sidebar ul { list-style: none; margin: 0; padding: 0; }
.guide-sidebar li { margin: 0; }
.guide-sidebar a { display: block; padding: 5px 0 5px 12px; border-left: 2px solid var(--line); color: var(--ink-soft); text-decoration: none; line-height: 1.35; }
.guide-sidebar a:hover { color: var(--ink); border-left-color: #cfcac0; }
.guide-sidebar a[aria-current="page"] { color: var(--ink); font-weight: 600; border-left-color: var(--accent); }
.guide-sidebar .guide-list__all { color: var(--accent); margin-top: 6px; }
.guide { padding-left: 0; padding-right: 0; max-width: 720px; }
.guide h1 { font-size: clamp(2rem, 4.6vw, 2.7rem); }
.guide__body h2 { font-size: clamp(1.3rem, 2.6vw, 1.55rem); letter-spacing: -0.02em; margin: 40px 0 8px; scroll-margin-top: 16px; }
.guide__body h3 { font-size: 1.08rem; margin: 24px 0 6px; }
.guide__body p { margin: 0 0 12px; }
.guide__body ul, .guide__body ol { padding-left: 22px; margin: 0 0 14px; }
.guide__body li { margin-bottom: 6px; }
.guide__body blockquote { margin: 0 0 24px; padding: 16px 20px; background: #eef3fc; border: 1px solid #d6e1f5; border-radius: var(--radius); }
.guide__body blockquote p:last-child { margin-bottom: 0; }
.guide__body .code-block { margin: 0 0 16px; }
.guide__body table { width: 100%; border-collapse: collapse; margin: 0 0 18px; font-size: 0.94rem; }
.guide__body th, .guide__body td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.guide__body th { font-weight: 600; background: var(--gray-tint); }
.guide-help { margin-top: 48px; }
.guide-help h2 { margin-top: 0; font-size: 1.25rem; }
.guide-help__actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 0 !important; }
.guide-help__actions .button { text-decoration: none; }
@media (max-width: 860px) {
  .guide-layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .guide-sidebar { display: contents; }
  .guide-toc { order: -1; margin-top: 32px; padding: 16px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
  .guide { order: 1; padding-top: 32px; }
  .guide-list { order: 2; margin-bottom: 48px; }
}

.guide-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; margin: 0 0 16px; }
.guide-card { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); }
.guide-card:hover { border-color: #cfcac0; box-shadow: 0 6px 20px rgba(28, 27, 25, 0.06); }
.guide-card__title { font-weight: 600; font-size: 1.08rem; }
.guide-card__text { color: var(--ink-soft); font-size: 0.93rem; }
.guide-index h2 { font-size: clamp(1.3rem, 2.6vw, 1.55rem); margin-top: 40px; }

/* Admin check log */
.nowrap { white-space: nowrap; }
.log-filter { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 0 0 16px; }
.log-filter input[type=search], .log-filter select { font: inherit; font-size: 0.95rem; padding: 9px 12px; border: 1px solid #cfcac0; border-radius: 10px; background: var(--surface); color: var(--ink); }
.log-filter input[type=search] { flex: 1 1 220px; }
.log-pager { display: flex; justify-content: space-between; margin-top: 16px; }

.faq-help { display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap; margin-top: 28px; }
.faq-help p { margin: 0; flex: 1 1 320px; }

/* Cookie consent (Matomo). Both choices look the same on purpose: rejecting must be as easy as accepting. */
.consent {
  position: fixed; z-index: 50; left: 16px; bottom: 16px; max-width: 460px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(28, 27, 25, 0.14); padding: 18px 20px; font-size: 0.9rem; color: var(--ink-soft);
}
.consent[hidden] { display: none; }
.consent p { margin: 0 0 12px; }
.consent .consent__title { color: var(--ink); font-weight: 600; font-size: 1rem; margin-bottom: 6px; }
.consent__actions { display: flex; gap: 10px; }
.consent__actions .button { flex: 1; padding: 9px 16px; }
@media (max-width: 640px) { .consent { right: 16px; max-width: none; } }
.site-footer .link-button { font-size: inherit; color: var(--ink-soft); }
.legal td code { white-space: nowrap; }
