/* Landung auf minerva-platform.com. Eigenständig, ohne app.css: die Seite
   borgt sich die Schale der Anwendung - Leiste links, Statuszeile unten -
   und die Farben aus app.css, sonst nichts. Keine fremden Schriften: die
   Seite lädt nichts nach, wie die Anwendung selbst. */
:root {
  --bg: #f6f7f9; --card: #fff; --line: #e6e9ef; --line-soft: #f0f2f6;
  --text: #0f172a; --muted: #64748b; --faint: #94a3b8;
  --side: #0f172a; --side-text: #94a3b8;
  --accent: #4f46e5; --accent-dark: #4338ca; --accent-soft: #eef2ff;
  --radius: 10px; --shadow: 0 1px 2px rgba(15,23,42,.06), 0 8px 24px rgba(15,23,42,.06);
  --leiste: 48px;
}
* { box-sizing: border-box; }
html { color-scheme: light; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; padding-left: var(--leiste); background: var(--bg); color: var(--text);
  font: 17px/1.6 Inter, "SF Pro Text", "Segoe UI", "Helvetica Neue", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
img { max-width: 100%; height: auto; display: block; }   /* height: auto, sonst zerrt das Höhenattribut */
h1, h2, h3 { margin: 0; letter-spacing: -.02em; line-height: 1.1; }
p { margin: 0 0 1em; }

/* -- Leiste: die Kategorien der Anwendung, hier die Abschnitte der Seite -- */
.leiste {
  position: fixed; top: 0; bottom: 0; left: 0; width: var(--leiste); z-index: 5;
  background: var(--side); display: flex; flex-direction: column; align-items: center;
  padding: 10px 0;
}
.leiste a {
  width: var(--leiste); height: 44px; display: grid; place-items: center;
  color: var(--side-text); font-size: 17px; border-left: 3px solid transparent;
  padding-right: 3px;
}
.leiste a:hover { color: #fff; text-decoration: none; }
.leiste a[aria-current="true"] { color: #fff; border-left-color: var(--accent); }
.leiste__logo { margin-bottom: 10px; }
.leiste__logo img { width: 24px; height: 24px; }
.leiste__ende { margin-top: auto; }

/* -- Seite ----------------------------------------------------------------- */
.seite { max-width: 1160px; margin: 0 auto; padding: 0 40px; }
.kopf { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 20px; }
.marke { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; font-size: 18px; }
.marke img { width: 26px; height: 26px; }
.marke:hover { text-decoration: none; }
.kopf nav { display: flex; align-items: center; gap: 22px; font-weight: 600; font-size: 15px; }
.kopf nav a { color: var(--text); }

.knopf {
  display: inline-flex; align-items: center; gap: 9px; border: 1px solid transparent;
  border-radius: 8px; padding: 11px 18px; font-weight: 600; font-size: 15px; line-height: 1.2;
  cursor: pointer; white-space: nowrap;
}
.knopf:hover { text-decoration: none; }
.knopf--voll { background: var(--accent); color: #fff; }
.knopf--voll:hover { background: var(--accent-dark); }
.knopf--rand { background: var(--card); color: var(--text); border-color: var(--line); }
.knopf--rand:hover { border-color: var(--faint); }
.knopf--gross { padding: 14px 22px; font-size: 16px; }

/* -- Held ------------------------------------------------------------------- */
.held { padding: 64px 0 24px; }
.held h1 {
  font-size: clamp(40px, 6.4vw, 78px); font-weight: 800; letter-spacing: -.035em;
  line-height: 1.02; max-width: 14ch;
}
.held .rede { font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); max-width: 58ch; margin: 28px 0 32px; }
.wege { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.wege .still { font-weight: 600; }

.schirm {
  border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
  background: var(--card); box-shadow: var(--shadow);
}
.held__bild { margin-top: 56px; }
figure { margin: 0; }
figcaption { font-size: 14px; color: var(--muted); margin-top: 12px; max-width: 70ch; }

/* -- Abschnitte -------------------------------------------------------------- */
.abschnitt { padding: 80px 0; border-top: 1px solid var(--line); scroll-margin-top: 24px; }
.abschnitt__innen {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 56px; align-items: start;
}
.abschnitt h2 { font-size: clamp(28px, 3.2vw, 40px); font-weight: 700; margin-bottom: 20px; max-width: 18ch; }
.abschnitt p { max-width: 56ch; }
.punkte { list-style: none; margin: 24px 0 0; padding: 0; }
.punkte li { position: relative; padding-left: 20px; margin-bottom: 12px; color: var(--text); }
.punkte li::before {
  content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px;
  border-radius: 50%; background: var(--accent);
}
.punkte kbd {
  font: 600 .86em/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  background: var(--card); border: 1px solid var(--line); border-radius: 5px; padding: 2px 5px;
}

/* Drei Schritte der Börse - eine echte Reihenfolge, deshalb Ziffern. */
.schritte {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); overflow: hidden;
}
.schritt { padding: 22px 22px 24px; }
.schritt + .schritt { border-left: 1px solid var(--line); }
.schritt b { display: block; font-size: 17px; margin-bottom: 6px; }
.schritt b span { color: var(--accent); margin-right: 8px; font-variant-numeric: tabular-nums; }
.schritt p { font-size: 15px; color: var(--muted); margin: 0; }

/* -- Lokal von Haus aus: dunkel wie die Seitenleiste --------------------------- */
.lokal { background: var(--side); color: #fff; padding: 80px 0; scroll-margin-top: 0; }
.lokal h2 { font-size: clamp(32px, 4vw, 52px); font-weight: 800; letter-spacing: -.03em; }
.lokal .rede { color: #cbd5e1; max-width: 60ch; font-size: 19px; margin: 22px 0 40px; }
.fakten { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.fakten li { border-top: 1px solid #334155; padding-top: 16px; color: #cbd5e1; font-size: 15px; }
.fakten i { color: #fff; display: block; font-size: 20px; margin-bottom: 10px; }
.fakten b { color: #fff; display: block; margin-bottom: 4px; font-size: 16px; }

/* -- Herunterladen ------------------------------------------------------------- */
.wege3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 40px; }
.weg { padding: 0 32px; }
.weg:first-child { padding-left: 0; }
.weg + .weg { border-left: 1px solid var(--line); }
.weg h3 { font-size: 21px; margin-bottom: 10px; }
.weg > p { font-size: 15px; color: var(--muted); min-height: 3.2em; }
.pakete { list-style: none; margin: 0; padding: 0; }
.paket {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px; margin: 0 -12px;
  border-radius: 8px; color: var(--text);
}
.paket:hover { background: var(--accent-soft); text-decoration: none; }
.paket > i:first-child { color: var(--accent); width: 18px; text-align: center; }
.paket span { flex: 1; font-weight: 600; line-height: 1.25; }
.paket small { display: block; font-weight: 400; font-size: 12.5px; color: var(--muted); word-break: break-all; }
.paket > i:last-child { color: var(--faint); }
.hinweis { font-size: 13.5px; color: var(--muted); margin-top: 16px; }
pre {
  margin: 0 0 14px; padding: 14px 16px; background: var(--side); color: #e2e8f0; border-radius: 8px;
  font: 13px/1.6 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; overflow-x: auto;
}
.leer { font-size: 14px; color: var(--muted); }

/* -- Statuszeile als Fuß ------------------------------------------------------- */
.status {
  background: var(--accent); color: #fff; font-size: 12.5px; height: 30px;
  display: flex; align-items: center; gap: 22px; padding: 0 16px;
}
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #fff; opacity: .85; }
.status a { color: #fff; }
.status nav { margin-left: auto; display: flex; gap: 18px; }

/* -- Schmal ---------------------------------------------------------------------- */
@media (max-width: 860px) {
  .abschnitt__innen, .wege3, .fakten, .schritte { grid-template-columns: minmax(0, 1fr); }
  .weg { padding: 0; }
  .weg + .weg { border-left: 0; border-top: 1px solid var(--line); margin-top: 28px; padding-top: 28px; }
  .weg > p { min-height: 0; }
  .schritt + .schritt { border-left: 0; border-top: 1px solid var(--line); }
  .abschnitt { padding: 56px 0; }
}
@media (max-width: 640px) {
  body { padding-left: 0; padding-top: 44px; }
  .leiste {
    top: 0; bottom: auto; right: 0; width: auto; height: 44px;
    flex-direction: row; justify-content: center; padding: 0;
  }
  .leiste a { width: 44px; height: 44px; border-left: 0; border-bottom: 3px solid transparent; padding: 3px 0 0; }
  .leiste a[aria-current="true"] { border-bottom-color: var(--accent); }
  .leiste__logo { margin: 0; }
  .leiste__ende { margin-top: 0; }
  .seite { padding: 0 20px; }
  .kopf nav a:not(.knopf) { display: none; }
  .held { padding-top: 40px; }
  .knopf--gross { width: 100%; justify-content: center; }
  .status { height: auto; padding: 10px 16px; flex-wrap: wrap; gap: 10px 18px; }
  .status nav { margin-left: 0; width: 100%; }
}
