:root {
  --bg: #f0f4f8;
  --surf: #ffffff;
  --surf2: #f4f7fa;
  --brd: #dde3ec;
  --acc: #2563eb;
  --acc-strong: #1d4ed8;
  --txt: #1a2332;
  --mut: #6b7f96;
  --op: #16a34a;
  --con: #d97706;
  --sus: #ea580c;
  --off: #dc2626;
  --dec: #6b7280;
  --pla: #7c3aed;
  --rev: #0891b2;
  --fm: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shadow-soft: 0 10px 24px rgba(20, 35, 50, 0.08);
  --shadow-panel: 0 16px 36px rgba(20, 35, 50, 0.1);
  --ink: var(--txt);
  --muted: var(--mut);
  --paper: var(--surf);
  --line: var(--brd);
  --accent: var(--acc);
  --accent-soft: #eff6ff;
  --good: var(--op);
  --warn: var(--con);
  --hot: var(--sus);
  --cold: var(--dec);
  --plan: var(--pla);
  --radius: 18px;
}

* { box-sizing: border-box; }

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: var(--fm);
  color: var(--txt);
  background: radial-gradient(920px 540px at 10% -10%, #dce9fb 0%, transparent 58%), linear-gradient(180deg, #f5f9fd 0%, #eef4fa 46%, var(--bg) 100%);
}

a { color: var(--acc); }
button,
input,
select { font: inherit; }

.site-header {
  position: relative;
  z-index: 10;
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 20px;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--brd);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(6px);
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.site-brand:hover { color: inherit; }

.site-brand-mark {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #1d4ed8, #0f766e);
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(29, 78, 216, 0.24);
  flex-shrink: 0;
}

.site-brand-mark.atom { font-size: 15px; }

.site-brand-text {
  min-width: 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.site-header-link {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 12px;
  border: 1px solid #bfd2fb;
  border-radius: 999px;
  background: #eff6ff;
  color: var(--acc-strong);
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
}

.site-header-link:hover,
.site-header-link:focus-visible {
  background: #dbeafe;
  text-decoration: none;
}

.topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.actions a,
.actions button {
  border: 1px solid var(--line);
  color: var(--ink);
  background: var(--surf2);
  text-decoration: none;
  border-radius: 999px;
  padding: 8px 13px;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}

.actions a:hover,
.actions button:hover {
  border-color: #9fb7ea;
  background: #eff6ff;
}

.headline {
  margin-top: 16px;
  display: grid;
  gap: 6px;
}

.eyebrow {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.subtitle {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.subtitle-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.mini-reset {
  border: 1px solid #bfd2fb;
  background: #eff6ff;
  color: #143f9f;
  border-radius: 999px;
  padding: 4px 9px;
  font: inherit;
  font-size: 11px;
  line-height: 1.2;
  cursor: pointer;
  white-space: nowrap;
}

.mini-reset:hover {
  background: #bfdbfe;
}

.mini-reset[hidden] {
  display: none;
}

.mini-anchor,
.mini-anchor:visited {
  color: var(--muted);
  text-decoration: none;
  font-size: 11px;
  line-height: 1.2;
  border-bottom: 1px dashed rgba(107, 127, 150, 0.45);
  padding-bottom: 1px;
  white-space: nowrap;
}

.mini-anchor:hover {
  color: var(--accent);
  border-bottom-color: rgba(37, 99, 235, 0.45);
}

.mini-anchor[hidden] {
  display: none;
}

.selection-hint {
  margin-top: 6px;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.45;
}

.page-shell {
  width: min(980px, calc(100% - 32px));
  margin: 32px auto 56px;
}

.page-shell--narrow { width: min(860px, calc(100% - 32px)); }
.page-shell--wide { width: min(1080px, calc(100% - 32px)); }

.content-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.content-page .page-shell {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--brd);
  border-radius: 24px;
  box-shadow: var(--shadow-panel);
  padding: 28px;
}

.content-page h1 {
  margin: 0 0 18px;
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.08;
}

.content-page p {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--txt);
}

.content-page p:last-child { margin-bottom: 0; }

.impressum-page h1 {
  margin-bottom: 32px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--brd);
}

.impressum-page section { margin-bottom: 32px; }
.impressum-page section:last-of-type { margin-bottom: 0; }

.impressum-page h2 {
  margin: 0 0 12px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--mut);
}

.impressum-page .section-intro {
  margin-bottom: 16px;
  font-size: 13px;
  color: #374151;
}

.impressum-page .card,
.impressum-page .src-card,
.data-table-wrap {
  background: var(--surf);
  border: 1px solid var(--brd);
  box-shadow: var(--shadow-soft);
}

.impressum-page .card {
  border-radius: 16px;
  padding: 18px 20px;
}

.impressum-page .muted,
.why-page .note {
  font-size: 12px;
  color: var(--mut);
}

.impressum-page .src-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.impressum-page .src-card {
  border-radius: 18px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.impressum-page .src-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.impressum-page .src-name {
  font-size: 15px;
  font-weight: 700;
}

.impressum-page .src-fullname,
.impressum-page .src-cite {
  font-size: 10px;
  line-height: 1.5;
  color: #9aaabb;
}

.impressum-page .src-fullname {
  margin-top: 2px;
  font-size: 11px;
  color: var(--mut);
}

.impressum-page .badge {
  flex-shrink: 0;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.impressum-page .badge-iaea { background: #dbeafe; color: #1d4ed8; }
.impressum-page .badge-wna { background: #fef3c7; color: #92400e; }
.impressum-page .badge-wnisr { background: #dcfce7; color: #166534; }

.impressum-page .stance {
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 11px;
  line-height: 1.6;
}

.impressum-page .stance-iaea { background: #eff6ff; color: #1e40af; border-left: 3px solid #3b82f6; }
.impressum-page .stance-wna { background: #fffbeb; color: #78350f; border-left: 3px solid #f59e0b; }
.impressum-page .stance-wnisr { background: #f0fdf4; color: #14532d; border-left: 3px solid #22c55e; }

.impressum-page .src-what {
  margin-bottom: 6px;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #9aaabb;
}

.impressum-page .attr-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.impressum-page .tag {
  padding: 2px 7px;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  background: var(--surf2);
  font-size: 10px;
  color: #374151;
}

.impressum-page .src-footer {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid #edf2f7;
}

.impressum-page .src-link {
  font-size: 11px;
  font-weight: 600;
  color: var(--acc);
  text-decoration: none;
}

.impressum-page .src-link:hover { text-decoration: underline; }

.impressum-page .mini-sources {
  margin: 10px 0 0;
  padding-left: 18px;
  color: #405066;
}

.impressum-page .mini-sources li {
  margin-bottom: 6px;
  font-size: 12px;
  line-height: 1.55;
}

.impressum-page .mini-sources a { word-break: break-word; }

.impressum-page .address-small {
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px dashed var(--brd);
  font-size: 12px;
  line-height: 1.8;
  color: var(--mut);
}

.why-page .lead {
  margin-bottom: 26px;
  max-width: 780px;
  font-size: 15px;
  line-height: 1.75;
  color: #405066;
}

.data-table-wrap {
  border-radius: 16px;
  overflow: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
}

.why-page .data-table { min-width: 860px; }

.data-table th {
  padding: 11px 14px;
  text-align: left;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--mut);
  background: var(--surf2);
  border-bottom: 1px solid var(--brd);
  vertical-align: bottom;
}

.data-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #eef2f7;
  vertical-align: top;
  font-size: 14px;
  line-height: 1.55;
}

.data-table tbody tr:last-child td { border-bottom: none; }

.why-page .data-table td:first-child {
  width: 26%;
  font-weight: 700;
  color: #243244;
}

.why-page .cell {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.why-page .mark {
  margin-top: 1px;
  flex-shrink: 0;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 700;
}

.why-page .yes { color: var(--op); }
.why-page .warn { color: var(--con); }
.why-page .no { color: var(--off); }
.why-page .muted { color: #5b6b7f; }

.site-footer {
  margin-top: auto;
  padding: 20px 24px;
  text-align: center;
  font-size: 11px;
  color: #90a1b5;
  border-top: 1px solid var(--brd);
  background: rgba(255, 255, 255, 0.92);
}

.site-footer a { color: inherit; }

@media (max-width: 900px) {
  .impressum-page .src-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .site-header { padding: 0 14px; }
  .page-shell,
  .page-shell--narrow,
  .page-shell--wide {
    width: calc(100% - 20px);
    margin: 20px auto 36px;
  }
  .content-page .page-shell {
    padding: 20px 16px;
    border-radius: 20px;
  }
  .content-page h1 { font-size: 24px; }
  .why-page .lead { font-size: 14px; }
  .site-header-link { padding: 6px 10px; }
}

@media (max-width: 620px) {
  .content-page p { font-size: 13px; }
  .impressum-page .card,
  .impressum-page .src-card { padding: 16px; }
}