/* css/updates.css
   Seitenspezifisches Stylesheet fuer invarexo-updates.html.
   Folgt demselben Aufbau wie die uebrigen Funktions-Seiten (siehe
   css/ocr.css): eigener Abschnitt, eigene Klassen, keine Ueberschneidung
   mit globalen Klassen aus top.css/nav.css/footer.css. */

.updates-section {
  --u-navy: #10233f;
  --u-navy-soft: #1e4d8c;
  --u-amber: #c2760f;
  --u-slate: #52627a;
  --u-bg-tint: #f4f7fb;
  --u-card-bg: #ffffff;
  --u-card-border: #dbe7f7;
  --u-line: #c7d7ee;

  padding: 96px 0 120px;
  background: var(--u-bg-tint);
}

.updates-section .container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Kopfbereich ---------- */

.updates-head {
  text-align: left;
  margin-bottom: 64px;
}

.updates-section .section-kicker {
  display: inline-block;
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--u-navy-soft);
  background: #e8f0fb;
  border: 1px solid var(--u-card-border);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.updates-head h1 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-size: clamp(32px, 4.2vw, 46px);
  line-height: 1.15;
  color: var(--u-navy);
  margin: 0 0 20px;
  max-width: 16ch;
}

.updates-head p {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--u-slate);
  max-width: 62ch;
  margin: 0;
}

/* ---------- Zeitleiste ---------- */

.updates-timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-left: 32px;
}

.updates-timeline::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: var(--u-line);
}

.update-entry {
  position: relative;
  background: var(--u-card-bg);
  border: 1px solid var(--u-card-border);
  border-radius: 12px;
  padding: 26px 28px;
  box-shadow: 0 1px 2px rgba(16, 35, 63, 0.04);
}

.update-entry::before {
  content: "";
  position: absolute;
  left: -32px;
  top: 30px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--u-navy-soft);
  border: 3px solid var(--u-bg-tint);
  box-shadow: 0 0 0 2px var(--u-line);
}

.update-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.update-date {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 12.5px;
  color: var(--u-slate);
  letter-spacing: 0.04em;
}

.update-tag {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 3px 10px;
  border-radius: 999px;
}

.update-tag--erkennung { background: #e8f0fb; color: var(--u-navy-soft); }
.update-tag--pruefung  { background: #eef2ff; color: #3b3fa1; }
.update-tag--stabilitaet { background: #eef1f4; color: var(--u-slate); }
.update-tag--bedienung { background: #fdf1de; color: var(--u-amber); }

.update-entry h3 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 1.3;
  color: var(--u-navy);
  margin: 0 0 10px;
}

.update-entry p {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--u-slate);
  margin: 0;
}

/* ---------- Abschlusshinweis ---------- */

.updates-note {
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--u-card-border);
}

.updates-note p {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 15px;
  color: var(--u-slate);
  line-height: 1.6;
  margin: 0;
}

.updates-note a {
  color: var(--u-navy-soft);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.updates-note a:hover {
  color: var(--u-navy);
}

/* ---------- Mobile ---------- */

@media (max-width: 640px) {
  .updates-section { padding: 64px 0 80px; }
  .updates-timeline { padding-left: 26px; gap: 28px; }
  .update-entry { padding: 20px 18px; }
  .update-entry::before { left: -26px; }
}
