:root {
  color-scheme: dark;
  --background: #101210;
  --panel: #171a16;
  --text: #f3f5ed;
  --heading: #dce9c9;
  --muted: #b1baaa;
  --line: #343b32;
  --lime: #c5fa70;
  --mono: ui-monospace, Consolas, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--background); color: var(--text); font: 1rem/1.55 system-ui, sans-serif; }
a { color: inherit; text-underline-offset: .22em; }
a:focus-visible { outline: 2px solid var(--lime); outline-offset: 5px; }
.wrap { width: min(1180px, calc(100% - 3rem)); margin-inline: auto; }
.skip { position: absolute; top: -5rem; left: 1rem; padding: .5rem 1rem; background: var(--lime); color: #111; z-index: 2; }
.skip:focus { top: 1rem; }
.masthead { border-bottom: 1px solid var(--line); }
.header-row { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.logo { font: 850 1.25rem/1 system-ui, sans-serif; text-decoration: none; letter-spacing: -.045em; white-space: nowrap; }
.logo span { color: var(--lime); }
.mark { margin-right: .27em; }
nav { display: flex; flex-wrap: wrap; gap: clamp(.8rem, 3vw, 2.3rem); }
nav a { font-size: .93rem; text-decoration: none; color: var(--muted); white-space: nowrap; }
nav a:hover, nav a[aria-current], .footer a:hover { color: var(--lime); }
nav a[aria-current] { text-decoration: underline; }
.edition, .issue, .tag, .section-head span, .meta, .card-art span { font: 600 .72rem/1.4 var(--mono); letter-spacing: .08em; }
.edition { color: var(--muted); border: 1px solid var(--line); padding: .43rem .65rem; }
.issue { display: flex; align-items: center; justify-content: space-between; gap: .8rem; margin: 2.2rem 0 .9rem; color: var(--muted); }
.issue i { display: inline-block; width: .55rem; height: .55rem; margin-right: .4rem; border-radius: 50%; background: var(--lime); box-shadow: 0 0 12px #aaf34475; }
.hero { display: grid; grid-template-columns: 1.13fr 1fr; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: #181d15; }
.hero-copy { align-self: center; padding: clamp(1.5rem, 4.4vw, 4rem); }
.tag { margin: 0 0 1.2rem; color: var(--lime); }
.tag span { color: var(--muted); }
h1, h2, h3 { color: var(--heading); line-height: 1.06; letter-spacing: -.055em; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.15rem, 4.5vw, 4rem); }
h1 em { color: var(--lime); font-style: normal; }
.hero-copy > p:not(.tag) { color: var(--muted); max-width: 42ch; margin: 1.25rem 0 1.65rem; }
.primary { display: inline-flex; align-items: center; gap: .75rem; border-radius: 5px; padding: .75rem .95rem; background: var(--lime); color: #171e0e; text-decoration: none; font-weight: 750; font-size: .9rem; }
.primary:hover { background: #d9ffa4; }
.hero-art { position: relative; min-height: 350px; background: #111811; }
.hero-art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.briefing { margin: 3rem 0 4rem; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: .7rem; margin-bottom: 1rem; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.65rem); }
.section-head span { color: var(--muted); text-align: right; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--panel); scroll-margin-top: 1rem; }
.card:target { border-color: var(--accent); }
.security { --accent: #c5fa70; --art: #202b17; }
.tools { --accent: #90dfef; --art: #142831; }
.ai { --accent: #d6b8ff; --art: #282039; }
.card-art { height: 132px; display: grid; place-items: center; position: relative; color: var(--accent); background: radial-gradient(ellipse, var(--art), #141814); border-bottom: 1px solid var(--line); }
.card-art svg { width: 78%; height: 90px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.card-art span { position: absolute; left: .85rem; bottom: .5rem; font-size: .61rem; }
.card-copy { padding: 1.1rem; display: flex; flex-direction: column; flex: 1; }
.meta { display: flex; flex-wrap: wrap; gap: .5rem 1rem; color: var(--muted); margin: 0 0 .7rem; }
.meta b { color: var(--accent); }
h3 { font-size: clamp(1.32rem, 2.05vw, 1.8rem); }
.card-copy > p:not(.meta) { color: var(--muted); margin: .75rem 0 1.15rem; font-size: .94rem; }
.card-copy a { color: var(--accent); margin-top: auto; align-self: flex-start; font-size: .88rem; font-weight: 650; }
.rubric-page { --accent: var(--lime); }
.rubric-page.tools { --accent: #90dfef; }
.rubric-page.ai { --accent: #d6b8ff; }
.rubric-intro { margin: 2.2rem 0 2.5rem; padding: clamp(1.5rem, 5vw, 3.6rem); border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: 12px; background: var(--panel); }
.rubric-intro .tag { color: var(--accent); }
.rubric-intro p:last-child { margin: 1rem 0 0; color: var(--muted); max-width: 58ch; }
.rubric-news { margin-bottom: 4rem; }
.rubric-news .card + .card { margin-top: 1rem; }
.rubric-news .card { display: grid; grid-template-columns: 1fr 1.2fr; }
.rubric-news .card-art { height: auto; min-height: 210px; border-bottom: 0; border-right: 1px solid var(--line); }
.rubric-news .card-art svg { height: 115px; }
.rubric-news .card-copy { padding: clamp(1rem, 3vw, 2rem); }
.footer { border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.45rem 0 2rem; }
.footer p, .footer > a:last-child { margin: 0; color: var(--muted); font-size: .85rem; }
@media (max-width: 850px) {
  .hero { grid-template-columns: 1fr 1fr; }
  .hero-art { min-height: 310px; }
}
@media (max-width: 680px) {
  .wrap { width: calc(100% - 2rem); }
  .edition { display: none; }
  .header-row { min-height: 64px; gap: .65rem; }
  .logo { font-size: 1.05rem; }
  nav { gap: .4rem .65rem; }
  nav a { font-size: .84rem; }
  .hero, .cards { grid-template-columns: 1fr; }
  .rubric-news .card { grid-template-columns: 1fr; }
  .rubric-news .card-art { min-height: 145px; border-right: 0; border-bottom: 1px solid var(--line); }
  .hero-art { min-height: 235px; }
  .section-head span { font-size: .62rem; }
  .footer { flex-wrap: wrap; }
}
@media (max-width: 480px) {
  .header-row { flex-wrap: wrap; justify-content: flex-start; padding-block: .85rem; }
  .header-row nav { width: 100%; }
}

.rubric-intro .catalog-date { color: var(--accent); font: 600 .75rem/1.5 var(--mono); }
.tool-library { margin: 0 0 4rem; }
.tool-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.catalog-card .card-copy { padding: clamp(1rem, 2.6vw, 1.7rem); }
.tool-use strong { color: var(--text); display: block; margin-bottom: .2rem; }
@media (max-width: 680px) {
  .tool-grid { grid-template-columns: 1fr; }
}

.catalog-card .tool-diagram { height: 154px; }
.tool-photo { margin: 0; background: #171c1d; border-bottom: 1px solid var(--line); }
.tool-photo img { display: block; width: 100%; height: 245px; object-fit: contain; }
.tool-photo figcaption { color: var(--muted); font-size: .72rem; padding: .45rem .85rem; }
.tool-photo figcaption a:hover { color: var(--accent); }

.heise-feed {
  margin-bottom: 4rem;
  padding: clamp(1.2rem, 4vw, 2.6rem);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
}
.heise-feed h2 { margin-bottom: 1rem; }
.heise-entry p:not(.meta) { color: var(--muted); }
.heise-entry { padding: 1.15rem 0; border-top: 1px solid var(--line); }
.heise-entry:last-child { padding-bottom: 0; }
.heise-entry h3 { font-size: clamp(1.15rem, 2.3vw, 1.5rem); }
.heise-entry h3 a { text-decoration: none; }
.heise-entry h3 a:hover { color: var(--lime); text-decoration: underline; }
.heise-entry p:last-child { margin-bottom: 0; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
