/* Vorteile der Python-Werkstatt („Mehr als ein Online-Kurs“) – EINE Quelle für zwei Stellen:
   1. Startseite (config/web/landing/index.html, Abschnitt <section class="vorteile">)
   2. Lern-App: Knopf „i“ in der Kopfzeile holt genau diesen Abschnitt per fetch("/") und zeigt ihn im Dialog
      (projects/kurs/web/app/app.js → infoKnopf). Text nur in index.html ändern, Aussehen nur hier.
   Die Farben sind hier eigens festgelegt, weil die Lern-App andere Variablen hat (sieht so überall gleich aus).
   Alles ist unter .vorteile verschachtelt, damit nichts nach außen wirkt. */
.vorteile { --card:#fff; --text:#0e1e30; --muted:#5b6d83; --border:#d6e0ea; --teal:#1597b8; --teal-text:#0f7894;
  --gold:#c8962e; --gold-2:#e6b54f; --gold-text:#8f6610; --stage-1:#0b2a45; --stage-2:#0e4a66;
  --vt-font:"Inter", system-ui, -apple-system, "Segoe UI", sans-serif; --vt-display:"Bricolage Grotesque", var(--vt-font);
  color: var(--text); font-family: var(--vt-font); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .vorteile { --card:#0e1c2c; --text:#e6edf5; --muted:#8fa2b8; --border:#1f3349; --stage-1:#08192b; --stage-2:#0c3a52; --gold-text:#e6b54f; --teal-text:#4fb3e0; }
}
:root[data-theme="dark"] .vorteile { --card:#0e1c2c; --text:#e6edf5; --muted:#8fa2b8; --border:#1f3349; --stage-1:#08192b; --stage-2:#0c3a52; --gold-text:#e6b54f; --teal-text:#4fb3e0; }
.vorteile *, .vorteile *::before, .vorteile *::after { box-sizing: border-box; }

.vorteile { margin-top: 26px; }
.vorteile .vt-kopf { text-align: center; margin: 6px auto 20px; max-width: 46em; }
.vorteile .vt-kicker { margin: 0 0 6px; font: 700 .78rem/1.2 var(--vt-font); letter-spacing: .18em; text-transform: uppercase; color: var(--teal-text); }
.vorteile .vt-kopf h2 { margin: 0; font: 800 clamp(1.7rem, 3.4vw, 2.4rem)/1.1 var(--vt-display); letter-spacing: -.03em; }
.vorteile .vt-grid { display: grid; gap: 18px; }
.vorteile .vt-karte { position: relative; border-radius: 24px; padding: clamp(22px, 3vw, 32px); }
.vorteile .vt-titel { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.vorteile .vt-icon { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 15px; }
.vorteile .vt-icon svg { width: 26px; height: 26px; }
.vorteile .vt-karte h3 { margin: 0 0 4px; font: 800 clamp(1.25rem, 2.2vw, 1.5rem)/1.2 var(--vt-display); letter-spacing: -.02em; }
.vorteile .vt-sub { margin: 0; font-size: .97rem; }
.vorteile .vt-liste { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.vorteile .vt-vier { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px 24px; }
.vorteile .vt-liste li { display: flex; gap: 12px; align-items: flex-start; }
.vorteile .vi { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; }
.vorteile .vi svg { width: 20px; height: 20px; }
.vorteile .vt-liste b { display: block; font: 700 .98rem/1.3 var(--vt-font); margin-bottom: 1px; }
.vorteile .vt-liste li > span:last-child { font-size: .9rem; line-height: 1.45; }

.vorteile .vt-plattform { color: #eaf3fa; background: linear-gradient(150deg, var(--stage-1) 0%, var(--stage-2) 100%); overflow: hidden; isolation: isolate;
  box-shadow: 0 1px 0 rgba(255,255,255,.08) inset, 0 24px 50px -28px rgba(6,26,45,.65); }
.vorteile .vt-plattform::before { content: ""; position: absolute; z-index: -1; width: 420px; height: 420px; right: -170px; bottom: -190px; border-radius: 50%;
  background: radial-gradient(circle, rgba(21,151,184,.4), transparent 65%); }
.vorteile .vt-plattform h3 { color: #fff; }
.vorteile .vt-plattform .vt-sub, .vorteile .vt-plattform li > span:last-child { color: #c6d9e8; }
.vorteile .vt-plattform b { color: #fff; }
.vorteile .vt-plattform .vt-icon { background: rgba(127,211,238,.16); color: #7fd3ee; }
.vorteile .vt-plattform .vi { background: rgba(255,255,255,.08); color: #7fd3ee; border: 1px solid rgba(255,255,255,.1); }

.vorteile .vt-kurs { background: var(--card); border: 1px solid var(--border); box-shadow: 0 1px 0 rgba(255,255,255,.5) inset, 0 12px 28px -18px rgba(8,29,51,.35); }
.vorteile .vt-kurs .vt-sub, .vorteile .vt-kurs li > span:last-child { color: var(--muted); }
.vorteile .vt-kurs .vt-icon { background: color-mix(in srgb, var(--gold) 18%, transparent); color: var(--gold-text); }
.vorteile .vt-kurs .vi { background: color-mix(in srgb, var(--teal) 12%, transparent); color: var(--teal-text); }
.vorteile .vt-mehr { margin: 18px 0 0; font-weight: 700; color: var(--teal-text); }
.vorteile .vt-mehr a { color: inherit; }

.vorteile .vt-anonym { background: color-mix(in srgb, var(--teal) 7%, var(--card)); border: 1px solid color-mix(in srgb, var(--teal) 35%, var(--border));
  box-shadow: 0 12px 28px -18px rgba(8,29,51,.35); }
.vorteile .vt-anonym .vt-sub, .vorteile .vt-anonym li > span:last-child { color: var(--muted); }
.vorteile .vt-anonym .vt-icon { background: var(--teal); color: #fff; }
.vorteile .vt-anonym .vi { background: color-mix(in srgb, var(--teal) 14%, var(--card)); color: var(--teal-text); }

.vorteile .vt-fazit { display: flex; align-items: center; gap: 16px; margin-top: 18px; padding: 18px 24px; border-radius: 20px;
  background: color-mix(in srgb, var(--gold) 12%, var(--card)); border: 1px solid color-mix(in srgb, var(--gold) 45%, var(--border)); }
.vorteile .vt-stern { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: #1b1405;
  background: linear-gradient(180deg, #f6d98b, var(--gold-2) 55%, #d9a13d); box-shadow: 0 8px 18px -8px rgba(230,181,79,.7); }
.vorteile .vt-stern svg { width: 22px; height: 22px; fill: currentColor; stroke: none; }
.vorteile .vt-fazit p { margin: 0; }
.vorteile .vt-fazit strong { display: block; font: 800 clamp(1.1rem, 2vw, 1.3rem)/1.25 var(--vt-display); letter-spacing: -.01em; }
.vorteile .vt-fazit span { color: var(--muted); font-size: .95rem; }

@media (max-width: 900px) { .vorteile .vt-vier { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) {
  .vorteile .vt-vier { grid-template-columns: 1fr; }
  .vorteile .vt-titel { align-items: flex-start; }
  .vorteile .vt-fazit { padding: 16px 18px; align-items: flex-start; }
}
