/* didaktik/_assets/article.css — geteiltes Layout für alle Didaktik-Artikel.
   Wird über $additionalHead in den Seiten unter /didaktik/ eingebunden. */

.art { max-width: 760px; margin: 0 auto; padding: 0 20px 72px; color: #1f2937;
  font-size: 1.05rem; line-height: 1.7; }

/* Brotkrumen */
.art-crumb { padding: 22px 0 0; font-size: .9rem; color: #6b7280; }
.art-crumb a { color: #4f46e5; text-decoration: none; font-weight: 600; }
.art-crumb a:hover { text-decoration: underline; }

/* Kopf */
.art-hero { padding: 18px 0 8px; border-bottom: 1.5px solid #f0f0f4; margin-bottom: 28px; }
.art-hero .art-emoji { font-size: 2.6rem; line-height: 1; }
.art-hero h1 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); font-weight: 800; color: #111827;
  margin: 12px 0 10px; line-height: 1.18; }
.art-hero .art-lead { color: #4b5563; font-size: 1.12rem; margin: 0; }
.art-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; }
.art-meta span { background: #f3f4f6; color: #4b5563; font-size: .82rem; font-weight: 600;
  padding: 5px 12px; border-radius: 999px; }

/* Inhaltsverzeichnis */
.art-toc { background: #f8f8fb; border: 1.5px solid #eeeef3; border-radius: 14px; padding: 18px 22px; margin: 0 0 32px; }
.art-toc b { display: block; font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; color: #6b7280; margin-bottom: 10px; }
.art-toc ol { margin: 0; padding-left: 20px; }
.art-toc li { margin: 6px 0; }
.art-toc a { color: #4338ca; text-decoration: none; font-weight: 600; }
.art-toc a:hover { text-decoration: underline; }

/* Fließtext */
.art h2 { font-size: 1.5rem; font-weight: 800; color: #111827; margin: 40px 0 12px;
  scroll-margin-top: 84px; padding-top: 4px; }
.art h3 { font-size: 1.18rem; font-weight: 800; color: #1f2937; margin: 26px 0 8px; }
.art p { margin: 0 0 16px; }
.art ul, .art ol { margin: 0 0 16px; padding-left: 22px; }
/* Il reset globale di Tailwind azzera i marcatori di ogni lista. Qui li rivogliamo: il
   `padding-left` qui sopra esiste proprio per fargli spazio, e in una guida „passo 1, 2, 3"
   i numeri non sono decorazione. La lista con le spunte ha i suoi segni e resta senza. */
.art ul { list-style: disc; }
.art ol { list-style: decimal; }
.art ul.art-check { list-style: none; }
.art-toc ol { list-style: decimal; }
.art li { margin: 6px 0; }
.art strong { color: #111827; }
.art a { color: #4f46e5; }

/* Hinweis-Boxen */
.art-box { border-radius: 14px; padding: 16px 18px; margin: 20px 0; border-left: 5px solid;
  font-size: .98rem; line-height: 1.6; }
.art-box .art-box-t { font-weight: 800; display: block; margin-bottom: 4px; }
.art-box.info { background: #eff6ff; border-color: #3b82f6; }
.art-box.tip  { background: #ecfdf5; border-color: #10b981; }
.art-box.warn { background: #fff7ed; border-color: #f59e0b; }

/* Vergleichstabelle */
.art-table-wrap { overflow-x: auto; margin: 20px 0; border: 1.5px solid #eeeef3; border-radius: 14px; }
.art-table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 560px; }
.art-table th { background: #f8f8fb; text-align: left; font-weight: 800; color: #374151; padding: 12px 14px; border-bottom: 2px solid #eeeef3; }
.art-table td { padding: 12px 14px; border-bottom: 1px solid #f0f0f4; vertical-align: top; }
.art-table tr:last-child td { border-bottom: none; }

/* Checkliste */
.art-check { list-style: none; padding: 0; margin: 18px 0; }
.art-check li { position: relative; padding: 10px 12px 10px 42px; background: #f8f8fb;
  border: 1.5px solid #eeeef3; border-radius: 12px; margin: 8px 0; }
.art-check li::before { content: '\2713'; position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  width: 22px; height: 22px; border-radius: 50%; background: #10b981; color: #fff; font-weight: 800;
  font-size: .8rem; display: grid; place-items: center; }

/* Teilen-Leiste */
.art-share { margin: 44px 0 0; padding: 20px 0 0; border-top: 1.5px solid #f0f0f4; }
.art-share b { display: block; margin-bottom: 10px; color: #374151; }
.art-share a, .art-share button { display: inline-flex; align-items: center; gap: 6px; text-decoration: none;
  font-weight: 700; font-size: .92rem; padding: 9px 16px; border-radius: 999px; margin: 0 8px 8px 0;
  border: 1.5px solid #e5e7eb; background: #fff; color: #374151; cursor: pointer; transition: all .15s; }
.art-share a:hover, .art-share button:hover { border-color: #4f46e5; color: #4f46e5; transform: translateY(-1px); }

/* Plakat / Roadmap-Zusammenfassung */
.art-plakat { margin: 6px 0 34px; }
.art-plakat figure { margin: 0; }
.art-plakat .art-plakat-frame { background: linear-gradient(180deg,#fbfbff,#f3f4ff);
  border: 1.5px solid #e7e7f3; border-radius: 18px; padding: 16px; }
.art-plakat svg, .art-plakat img.art-plakat-img { display: block; width: 100%; height: auto; border-radius: 12px; }
.art-plakat figcaption { text-align: center; color: #6b7280; font-size: .9rem; margin-top: 12px; }
.art-plakat .art-plakat-share { display: inline-block; margin-top: 4px; font-weight: 700; color: #4f46e5; text-decoration: none; }
.art-plakat .art-plakat-share:hover { text-decoration: underline; }

/* Weiter/Zurück zum Hub */
.art-foot { margin-top: 40px; }
.art-foot a { display: inline-block; font-weight: 700; color: #4f46e5; text-decoration: none; }
.art-foot a:hover { text-decoration: underline; }


/* ── Teilen-Leiste (didaktik/_teilen.php) ──────────────────────────────────────────
   Una sola barra per tutti gli articoli. I colori sono quelli delle piattaforme, così
   il pulsante si riconosce prima di leggerlo. */
.art-teilen { margin: 44px 0 0; padding: 22px 0 0; border-top: 1.5px solid #f0f0f4; }
.art-teilen h2 { font-size: 1.15rem; margin: 0 0 14px; }
.tl-nativ { display: block; width: 100%; margin: 0 0 14px; padding: 15px 18px; border: 0;
  border-radius: 14px; background: linear-gradient(135deg,#4f46e5,#7c3aed); color: #fff;
  font: inherit; font-weight: 800; font-size: 1rem; cursor: pointer; }
.tl-nativ:hover { filter: brightness(1.08); }
.tl-reihe { display: flex; flex-wrap: wrap; gap: 9px; }
.tl-reihe + .tl-reihe { margin-top: 10px; }
.tl { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 10px;
  border: 1.5px solid #e7e7f3; background: #fff; color: #374151; font: inherit; font-size: .92rem;
  font-weight: 700; text-decoration: none; cursor: pointer; transition: transform .12s, box-shadow .12s; }
.tl:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(30,27,75,.12); }
.tl-wa { border-color:#9ae6b4; color:#128c7e } .tl-tg { border-color:#a7d8f5; color:#0088cc }
.tl-fb { border-color:#b5c7ee; color:#1877f2 } .tl-x  { border-color:#d1d5db; color:#111827 }
.tl-in { border-color:#a9c9e8; color:#0a66c2 } .tl-pi { border-color:#f3b6b6; color:#e60023 }
.tl-ml { border-color:#e5e7eb; color:#4b5563 } .tl-cp { border-color:#c7d2fe; color:#4f46e5 }
.tl-extra { padding-top: 4px; }
.tl-dl { border-color:#c7d2fe; background:#eef2ff; color:#3730a3 }
.tl-qr { border-color:#e5e7eb; color:#4b5563 }
.tl-hinweis { font-size: .9rem; color: #6b7280; line-height: 1.6; margin: 12px 0 0;
  background: #fafafa; border: 1.5px dashed #e5e7eb; border-radius: 12px; padding: 12px 14px; }
.tl-hinweis strong { color: #374151; }
.tl-qrbox { margin-top: 14px; text-align: center; }
.tl-qrbox canvas { display: block; margin: 0 auto; border-radius: 10px; border: 1.5px solid #e7e7f3; padding: 8px; background: #fff; }
.tl-qrbox p { font-size: .88rem; color: #6b7280; margin: 8px 0 0; }
@media (max-width: 520px) { .tl { flex: 1 1 calc(50% - 5px); justify-content: center; } }
