/* ==========================================================================
   Easy5.5 · Installationsanleitung
   Ergänzt css/prixus-design.css und css/easy5-2026.css.

   Zu den Dialog-Nachbauten: Das sind bewusst KEINE Produkt-Screenshots,
   sondern schematische Abbildungen fremder Windows-Dialoge. Ein echter
   Screenshot des Betriebssystems wäre markenrechtlich heikel und würde in
   jeder Windows-Version anders aussehen. Die Nachbauten zeigen genau die
   Elemente, die der Nutzer wiedererkennen und anklicken muss, und tragen
   role="img" plus aria-label, damit auch Screenreader wissen, was gemeint
   ist.
   ========================================================================== */

/* ---------- Schritt-Block ---------------------------------------------- */
.iguide {
  display: grid; gap: 0;
  border-top: 1px solid var(--line);
  counter-reset: iguide;
}
.iguide-step {
  position: relative;
  padding-block: clamp(2.25rem, 4.5vw, 3.75rem);
  border-bottom: 1px solid var(--line);
  scroll-margin-top: calc(68px + 1.5rem);
  display: grid; gap: var(--s-4);
}
/* Die Ziffer steht links neben dem Block und wird absolut gesetzt.
   NICHT ueber grid-row: 1 / span 99 loesen: damit legt CSS wirklich 99
   Zeilen an, und bei gap 1rem sind das rund 1570 px leerer Zwischenraum
   pro Schritt. (Genau dieser Fehler war am 23.08. live.) */
@media (min-width: 900px) {
  .iguide-step { padding-left: 6rem; }
  .iguide-step__nr {
    position: absolute;
    left: 0;
    top: clamp(2.25rem, 4.5vw, 3.75rem);
    line-height: 1.5;
  }
}
.iguide-step__nr {
  font-family: var(--f-mono); font-size: var(--t-sm); font-weight: 600;
  letter-spacing: .14em; color: var(--red);
  align-self: start;
}
.iguide-step h2 {
  font-family: var(--f-display); font-weight: 800;
  font-size: var(--t-2xl); line-height: 1.06; letter-spacing: -.025em;
  color: var(--ink); max-width: 22ch;
}
.iguide-step > p { font-size: var(--t-base); color: var(--g-700); max-width: 62ch; }
.iguide-step > p strong { color: var(--ink); font-weight: 600; }

/* Nummerierte Handlungsanweisung */
.iguide-step ol {
  list-style: none; counter-reset: todo;
  display: grid; gap: .55rem;
  max-width: 58ch;
}
/* Das li bleibt ein normaler Block, die Ziffer wird absolut gesetzt.
   NICHT display:grid auf das li legen: ein Grid macht JEDES Kind zum
   Rasterelement, auch die nackten Textstuecke zwischen den Tags. Aus
   <li><strong>Rechtsklick</strong> auf die Datei</li> werden dann zwei
   Elemente, die in verschiedene Spalten und Zeilen rutschen und sich
   teilweise ueberlagern. Dasselbe gilt fuer flex.
   Faustregel: Grid oder Flex nur auf Container, deren Kinder ausnahmslos
   Elemente sind. Bei gemischtem Inhalt aus Text und <strong> gehoert der
   Zaehler nach position: absolute. (Fehler war am 23.08. live.) */
.iguide-step ol li {
  counter-increment: todo;
  position: relative;
  padding-left: 2.4rem;
  min-height: 1.45rem;
  font-size: var(--t-base); line-height: 1.6; color: var(--g-700);
}
.iguide-step ol li::before {
  content: counter(todo);
  position: absolute; left: 0; top: .16em;
  font-family: var(--f-mono); font-size: .72rem; font-weight: 600;
  color: var(--paper); background: var(--ink);
  width: 1.45rem; height: 1.45rem; border-radius: var(--r-sm);
  display: grid; place-items: center;
}
.iguide-step ol strong { color: var(--ink); font-weight: 600; }

/* ---------- Hinweiskasten ---------------------------------------------- */
.callout {
  display: flex; gap: var(--s-4); align-items: flex-start;
  padding: var(--s-5);
  border: 1px solid var(--line); border-radius: var(--r-md);
  background: var(--paper);
  max-width: 66ch;
}
.callout__ic { width: 21px; height: 21px; flex: none; margin-top: 2px; }
.callout h2,
.callout h3 {
  font-family: var(--f-body); font-size: var(--t-base); font-weight: 600;
  color: var(--ink); letter-spacing: 0; max-width: none;
}
.callout p { font-size: var(--t-sm); color: var(--g-700); margin-top: .3rem; max-width: none; }
.callout--info { background: var(--g-50); }
.callout--info .callout__ic { color: var(--g-500); }
.callout--warn { border-color: rgba(209,0,0,.28); background: rgba(209,0,0,.035); }
.callout--warn .callout__ic { color: var(--red); }
.callout--ok { border-color: rgba(22,163,74,.3); background: rgba(22,163,74,.04); }
.callout--ok .callout__ic { color: var(--ok); }

/* ---------- Handlungspfeil --------------------------------------------- */
.iguide-do {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--f-mono); font-size: var(--t-sm); font-weight: 600;
  letter-spacing: .02em; color: var(--red);
  border-left: 2px solid var(--red); padding-left: .8rem;
}
.iguide-do svg { width: 17px; height: 17px; flex: none; }

/* ==========================================================================
   Schematische Nachbauten
   ========================================================================== */

/* ---------- Windows-Eigenschaften -------------------------------------- */
.win-dlg {
  border: 1px solid var(--line-strong); border-radius: var(--r-md);
  overflow: hidden; background: var(--paper);
  max-width: 440px; box-shadow: var(--shadow-2);
}
.win-dlg__bar {
  background: var(--g-100); border-bottom: 1px solid var(--line);
  padding: .65rem .9rem;
  font-family: var(--f-mono); font-size: .68rem; letter-spacing: .04em; color: var(--g-600);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.win-dlg__body { padding: var(--s-5); display: grid; gap: var(--s-4); }
.win-dlg__file { display: flex; align-items: center; gap: var(--s-4); padding-bottom: var(--s-4); border-bottom: 1px solid var(--line); }
.win-dlg__file svg { width: 34px; height: 34px; flex: none; color: var(--g-400); }
.win-dlg__name { font-size: var(--t-sm); font-weight: 600; color: var(--ink); word-break: break-all; }
.win-dlg__meta { font-family: var(--f-mono); font-size: .68rem; color: var(--g-600); margin-top: .15rem; }
.win-dlg__sec {
  border: 1px solid rgba(209,0,0,.2); border-radius: var(--r-sm);
  background: rgba(209,0,0,.035); padding: var(--s-4);
}
.win-dlg__sec p { font-size: var(--t-sm); color: var(--g-700); max-width: none; }
.win-dlg__sec strong { color: var(--ink); font-weight: 600; }
.win-dlg__check { display: flex; align-items: center; gap: .65rem; margin-top: var(--s-3); font-size: var(--t-sm); font-weight: 600; color: var(--ink); }
.win-dlg__box {
  width: 19px; height: 19px; flex: none; border-radius: 3px;
  background: var(--red); display: grid; place-items: center;
}
.win-dlg__box svg { width: 12px; height: 12px; color: #fff; }
.win-dlg__btns { display: flex; justify-content: flex-end; gap: .6rem; padding-top: var(--s-4); border-top: 1px solid var(--line); }
.win-btn {
  display: inline-flex; align-items: center;
  padding: .4rem 1.3rem; border-radius: var(--r-sm);
  border: 1px solid var(--line-strong); background: var(--g-50);
  font-size: var(--t-sm); color: var(--ink);
}

/* ---------- SmartScreen ------------------------------------------------- */
.ss-mock {
  background: var(--ink-2); border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-md); overflow: hidden;
  max-width: 560px; box-shadow: var(--shadow-3);
}
.ss-mock__head { display: flex; gap: var(--s-4); align-items: flex-start; padding: var(--s-6) var(--s-5) var(--s-4); }
.ss-mock__shield { width: 42px; height: 42px; flex: none; }
.ss-mock__head h3 { font-family: var(--f-body); font-size: var(--t-base); font-weight: 600; color: #fff; letter-spacing: 0; }
.ss-mock__head p { font-size: var(--t-sm); color: var(--g-400); margin-top: .35rem; max-width: none; }
.ss-mock__app { font-family: var(--f-mono); font-size: .72rem; color: var(--g-400) !important; }
.ss-mock__more { padding: 0 var(--s-5) var(--s-3); }
.ss-mock__more span { color: #93C5FD; font-size: var(--t-sm); text-decoration: underline; text-underline-offset: 2px; }
.ss-mock__btns { padding: var(--s-4) var(--s-5) var(--s-5); display: flex; justify-content: flex-end; gap: .6rem; flex-wrap: wrap; }
.ss-btn { display: inline-flex; align-items: center; padding: .45rem 1.25rem; border-radius: var(--r-sm); font-size: var(--t-sm); font-weight: 500; }
.ss-btn--default { background: #fff; color: var(--ink); }
.ss-btn--go { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.32); }

/* ---------- Setup-Fenster ----------------------------------------------- */
.setup-mock {
  border: 1px solid var(--line); border-radius: var(--r-md);
  overflow: hidden; background: var(--paper);
  max-width: 480px; box-shadow: var(--shadow-2);
}
.setup-mock__bar {
  background: var(--g-100); border-bottom: 1px solid var(--line);
  padding: .6rem .9rem; display: flex; align-items: center; gap: .75rem;
}
.setup-mock__dots { display: flex; gap: 6px; }
.setup-mock__dots span { width: 9px; height: 9px; border-radius: 50%; background: var(--g-300); display: block; }
.setup-mock__bar em { font-family: var(--f-mono); font-style: normal; font-size: .68rem; letter-spacing: .04em; color: var(--g-600); }
.setup-mock__body { text-align: center; padding: var(--s-7) var(--s-5); }
.setup-mock__body > svg { width: 44px; height: 44px; margin: 0 auto var(--s-4); color: var(--ink); }
.setup-mock__title { font-family: var(--f-display); font-weight: 800; font-size: var(--t-lg); color: var(--ink); letter-spacing: -.018em; }
.setup-mock__sub { font-size: var(--t-sm); color: var(--g-600); margin-top: .3rem; }
.setup-mock__bar-bg { background: var(--g-200); border-radius: var(--r-pill); height: 6px; max-width: 280px; margin: var(--s-6) auto var(--s-2); overflow: hidden; }
.setup-mock__bar-fg { background: var(--red); height: 100%; width: 72%; border-radius: var(--r-pill); }
.setup-mock__state { font-family: var(--f-mono); font-size: .7rem; color: var(--g-600); }

/* ---------- Systemvoraussetzungen --------------------------------------- */
.sysreq { display: grid; gap: 1px; background: var(--line-dark); border-block: 1px solid var(--line-dark); }
@media (min-width: 560px) { .sysreq { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .sysreq { grid-template-columns: repeat(4, 1fr); } }
.sysreq__item { background: var(--ink); padding: var(--s-6) var(--s-5); display: grid; gap: .4rem; }
.sysreq__item .n { font-family: var(--f-display); font-weight: 800; font-size: var(--t-2xl); color: #fff; line-height: 1; }
.sysreq__item .n b { color: var(--red); }
.sysreq__item .l { font-size: var(--t-sm); color: var(--g-400); }

/* ---------- Sprungleiste zu den Schritten -------------------------------- */
.jump { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: var(--s-5); }
.jump a {
  font-family: var(--f-mono); font-size: .72rem; letter-spacing: .04em;
  color: var(--g-300); border: 1px solid var(--rail);
  padding: .45rem .8rem; border-radius: var(--r-pill);
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
  min-height: 34px; display: inline-flex; align-items: center;
}
.jump a:hover { border-color: #fff; color: #fff; }

@media print {
  .ss-mock { background: #fff !important; border-color: #999 !important; }
  .ss-mock__head h3, .ss-mock__head p { color: #000 !important; }
  .ss-btn--default, .ss-btn--go { border: 1px solid #999; color: #000 !important; background: #fff !important; }
  .sysreq__item { background: #fff !important; }
  .sysreq__item .n, .sysreq__item .l { color: #000 !important; }
}
