/* DerTechAgent – Blog (Entwurf). Keine externen Schriften, kein Tracking, keine Cookies. */
:root {
  --bg: #010604;
  --card: #06140c;
  --line: #123322;
  --green: #22ff88;
  --cyan: #3fd8ff;
  --yellow: #ffd23f;
  --red: #ff5a5a;
  --white: #eafff3;
  --muted: #9cc9ae;
  --mono: "JetBrains Mono", "Fira Code", "DejaVu Sans Mono", ui-monospace, monospace;
  --text: system-ui, -apple-system, "Segoe UI", "Noto Sans", sans-serif;
  --head: "Anton", "Oswald", "Arial Narrow", Impact, system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html { background: var(--bg); }
body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(ellipse 900px 700px at 50% 0%, #06200f 0%, transparent 70%) no-repeat, var(--bg);
  color: var(--white);
  font-family: var(--text);
  font-size: 18px;
  line-height: 1.6;
}
a { color: var(--green); }
a:hover { color: var(--white); }
.wrap { max-width: 860px; margin: 0 auto; padding: 0 20px; }

/* header */
header.site { border-bottom: 1px solid var(--line); background: #010604cc; position: sticky; top: 0; backdrop-filter: blur(6px); z-index: 5; }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.brand { font-family: var(--mono); font-weight: 700; font-size: 22px; color: var(--green); text-decoration: none; text-shadow: 0 0 18px #22ff8866; }
nav a { font-family: var(--mono); font-size: 15px; color: var(--muted); text-decoration: none; margin-left: 18px; }
nav a:hover { color: var(--green); }

/* hero */
.hero { padding: 46px 0 10px; }
.hero h1 { font-family: var(--head); font-size: clamp(36px, 6vw, 56px); line-height: 1.02; text-transform: uppercase; margin: 0 0 14px; letter-spacing: 0.5px; }
.hero h1 span { color: var(--green); }
.hero p { color: var(--muted); margin: 0 0 18px; max-width: 34em; }
.hero img { width: 100%; height: auto; display: block; filter: drop-shadow(0 0 30px #22ff8833); }
.prompt { font-family: var(--mono); color: var(--green); font-size: 16px; }
.prompt b { color: var(--white); font-weight: 400; }

/* chips */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 0; padding: 0; list-style: none; }
.chips li { font-weight: 700; font-size: 15px; padding: 6px 14px; border-radius: 999px; border: 2px solid var(--green); color: var(--green); background: #22ff8818; }
.chips li.c { border-color: var(--cyan); color: var(--cyan); background: #3fd8ff18; }
.chips li.y { border-color: var(--yellow); color: var(--yellow); background: #ffd23f18; }

/* cards */
h2.section { font-family: var(--mono); font-size: 16px; letter-spacing: 2px; text-transform: uppercase; color: var(--green); margin: 46px 0 16px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.card { display: block; text-decoration: none; color: var(--white); background: var(--card); border: 2px solid var(--line); border-radius: 18px; overflow: hidden; transition: border-color .15s, box-shadow .15s, transform .15s; }
a.card:hover { border-color: var(--green); box-shadow: 0 0 30px #22ff8844; transform: translateY(-2px); color: var(--white); }
.card img { width: 100%; height: 190px; object-fit: cover; object-position: top; display: block; border-bottom: 2px solid var(--line); }
.card .body { padding: 14px 16px 18px; }
.card h3 { margin: 0 0 6px; font-size: 20px; line-height: 1.25; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.tag { display: inline-block; font-family: var(--mono); font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--bg); background: var(--green); padding: 2px 8px; border-radius: 6px; margin-bottom: 8px; }
.tag.soon { background: var(--muted); }
.card.soon { opacity: .7; }

/* article */
article { padding: 34px 0 10px; }
article h1 { font-family: var(--head); font-size: clamp(34px, 6vw, 56px); line-height: 1.05; text-transform: uppercase; margin: 6px 0 12px; }
article .lead { color: var(--muted); font-size: 20px; margin: 0 0 18px; }
article h2 { font-size: 26px; margin: 44px 0 10px; display: flex; align-items: center; gap: 12px; }
article h2 .n { font-family: var(--head); font-size: 22px; color: var(--bg); background: var(--yellow); border-radius: 10px; padding: 2px 12px; flex-shrink: 0; }
article h3 { font-size: 20px; margin: 26px 0 8px; color: var(--cyan); }
article img.wide { width: 100%; height: auto; border-radius: 16px; border: 2px solid var(--line); display: block; margin: 18px 0; }
article ul, article ol { padding-left: 24px; }
article li { margin: 4px 0; }
code { font-family: var(--mono); font-size: 0.9em; background: #0d1a13; border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; color: var(--green); }

/* terminal blocks */
.term { position: relative; background: #050b08; border: 2px solid var(--green); border-radius: 14px; margin: 14px 0 18px; box-shadow: 0 0 24px #22ff8826; overflow: hidden; }
.term .bar { display: flex; justify-content: space-between; align-items: center; background: #0d1a13; padding: 6px 12px; font-family: var(--mono); font-size: 13px; color: var(--muted); }
.term pre { margin: 0; padding: 14px 16px; overflow-x: auto; font-family: var(--mono); font-size: 15px; line-height: 1.55; color: var(--cyan); white-space: pre; }
.term button { font-family: var(--mono); font-size: 12px; color: var(--bg); background: var(--green); border: 0; border-radius: 6px; padding: 3px 10px; cursor: pointer; }
.term button:hover { background: var(--white); }

/* notes */
.note { border-left: 5px solid var(--yellow); background: #ffd23f12; border-radius: 0 12px 12px 0; padding: 12px 16px; margin: 16px 0; }
.note.red { border-color: var(--red); background: #ff5a5a12; }
.note.green { border-color: var(--green); background: #22ff8812; }
.note strong { color: var(--yellow); }
.note.red strong { color: var(--red); }
.note.green strong { color: var(--green); }

table { border-collapse: collapse; width: 100%; margin: 14px 0; font-size: 16px; }
th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-family: var(--mono); font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: var(--green); }

.back { font-family: var(--mono); font-size: 15px; text-decoration: none; }
.more { margin: 46px 0 0; padding: 20px; border: 2px dashed var(--line); border-radius: 16px; color: var(--muted); }
.more b { color: var(--white); }

footer { border-top: 1px solid var(--line); margin-top: 60px; padding: 22px 0 40px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }

@media (max-width: 640px) {
  .hero { grid-template-columns: 1fr; }
  .hero img { max-width: 220px; margin: 0 auto; }
  nav a { margin-left: 12px; }
  .term pre { font-size: 13px; }
  table { display: block; overflow-x: auto; font-size: 14px; }
  th, td { padding: 6px 8px; }
}

/* E-Book-Hinweis in Artikeln */
.ebook-cta { margin: 34px 0 22px; padding: 22px 22px 24px; border: 2px solid var(--yellow); border-radius: 16px; background: linear-gradient(135deg, #1a1606 0%, var(--card) 70%); }
.ebook-cta .ec-k { font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--bg, #000); background: var(--yellow); display: inline-block; padding: 2px 10px; border-radius: 6px; }
.ebook-cta h3 { margin: 12px 0 8px; font-size: 21px; line-height: 1.3; }
.ebook-cta p { margin: 0 0 16px; color: var(--muted); }
.ebook-cta p strong { color: var(--white, #fff); }
.ebook-cta .ec-b { display: inline-block; font-weight: 800; text-decoration: none; color: #000; background: var(--yellow); border-radius: 999px; padding: 11px 22px; }
.ebook-cta .ec-b:hover { filter: brightness(1.1); }

/* Kopfzeile auf schmalen Bildschirmen: nichts darf über den Rand ragen */
header.site .wrap { flex-wrap: wrap; row-gap: 6px; }
.brand { flex: none; }
nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 14px; }
nav a { margin-left: 0; }
@media (max-width: 420px) {
  .brand { font-size: 19px; }
  nav a { font-size: 13px; }
}
html, body { overflow-x: hidden; }

/* Karten auf der Blog-Übersicht ohne Titelbild */
.card .body { padding: 18px 18px 20px; }
.card { min-height: 0; }
.card img { aspect-ratio: 16 / 9; height: auto !important; object-fit: cover; width: 100%; display: block; }
