/* Gemeinsame Bausteine für alle Reveal-Präsentationen.
   Einbinden nach dem Reveal-Theme:
   <link rel="stylesheet" href="../../../shared/slides.css">
   Kurs-spezifische Spezial-Folien gehören in eine eigene CSS-Datei im Kursordner. */

.reveal { background: #ffffff !important; color: #000000 !important; }
.reveal h1, .reveal h2, .reveal h3 { text-transform: none !important; }
.reveal code { color: #f39c12; }

/* Fußzeile: Logo + Name */
#phw-logo     { position: absolute; bottom: 0; left: 0; margin: 6px; width: 220px; height: auto; }
#author-link  { position: absolute; bottom: 0; right: 0; }
#author-link a { text-decoration: none; font-size: 50%; }
/* Textgrößen */
.reveal .lead  { font-size: 22px; color: #475569; margin: 0.1em 0 0.5em; }
.reveal .small { font-size: 18px; }
.reveal .tiny  { font-size: 14px; color: #64748b; }
.reveal .source { font-size: 13px; color: #64748b; margin-top: 0.3em; }
.reveal .left  { text-align: left; }

/* Raster */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6em; align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5em; align-items: start; }
.split  { display: flex; gap: 1em; align-items: center; text-align: left; }
.split > * { flex: 1; }

/* Karten */
.highlight-box {
  background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 10px;
  padding: 0.5em 0.8em; text-align: left;
}
.highlight-box .box-title { font-size: 17px; font-weight: 600; margin: 0 0 0.2em; }
.highlight-box p, .highlight-box li { font-size: 15px; margin: 0; }
.highlight-box ul { margin: 0.2em 0 0 1em; }

.task-box {
  background: #fffbeb; border-left: 4px solid #f59e0b; border-radius: 8px;
  padding: 0.5em 0.9em; text-align: left; font-size: 19px;
}
.task-box .box-title { font-weight: 700; color: #92400e; margin: 0 0 0.3em; }
.task-box ol, .task-box ul { margin: 0 0 0 1.1em; }

.info-box {
  background: #eef2ff; border: 1px solid #c7d2fe; border-radius: 8px;
  padding: 0.4em 0.8em; text-align: left; font-size: 16px;
}

/* Schritte (z. B. TandemLab-Ablauf) */
.steps { display: flex; gap: 0.4em; align-items: stretch; justify-content: center; }
.steps .step {
  flex: 1; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 10px;
  padding: 0.5em 0.6em; font-size: 15px; text-align: left;
}
.steps .step .num {
  display: inline-block; width: 1.6em; height: 1.6em; line-height: 1.6em; border-radius: 50%;
  background: #475569; color: #fff; text-align: center; font-weight: 700; font-size: 0.9em; margin-right: 0.3em;
}
.steps .arrow { align-self: center; color: #94a3b8; font-size: 22px; }

/* QR-Code mit Link darunter */
.qr { text-align: center; }
.qr img { width: 220px; height: auto; margin: 0 !important; }
.qr a { display: block; font-size: 16px; margin-top: 0.2em; }

/* Zeitangabe */
.badge {
  display: inline-block; font-size: 13px; font-weight: 700; padding: 2px 10px; border-radius: 10px;
  background: #e2e8f0; color: #334155; vertical-align: middle;
}

/* Tabellen */
.reveal table.plain { border-collapse: collapse; margin: 0 auto; font-size: 18px; }
.reveal table.plain th, .reveal table.plain td { border-bottom: 1px solid #e2e8f0; padding: 0.25em 0.6em; text-align: left; }
.reveal table.plain th { color: #334155; }

/* Abbildungsfolien */
.reveal .figure img { max-height: 440px; width: auto; margin: 0.2em auto 0 !important; }

/* Kompakte Variante für lange Aufgaben */
.task-box.compact { font-size: 16px; line-height: 1.35; }
.task-box.compact li { margin-bottom: 0.15em; }

/* ── Icons + Gruppenfarben für Kästen ──
   blau g-cpu · grün g-in · orange g-out · violett g-mem · türkis g-net · grau g-pwr */
.reveal .box-title { display: flex; align-items: center; gap: 0.45em; }
.bt-ic { width: 22px; height: 22px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.highlight-box.g-cpu { background: #eef2f9; border-color: #9fb4da; } .highlight-box.g-cpu .box-title { color: #3b5a96; }
.highlight-box.g-in  { background: #effaf3; border-color: #9ad5b0; } .highlight-box.g-in  .box-title { color: #2f855a; }
.highlight-box.g-out { background: #fef5ee; border-color: #f3b98c; } .highlight-box.g-out .box-title { color: #c05621; }
.highlight-box.g-mem { background: #f6f2fd; border-color: #c4b2ef; } .highlight-box.g-mem .box-title { color: #6b46c1; }
.highlight-box.g-net { background: #eefafc; border-color: #93d3e0; } .highlight-box.g-net .box-title { color: #0e7490; }
.highlight-box.g-pwr { background: #f8fafc; border-color: #cbd5e1; } .highlight-box.g-pwr .box-title { color: #475569; }
.highlight-box[class*="g-"] { border-width: 1.5px; }
/* Fließtext in farbigen Kästen bleibt dunkel – nur Titel + Icon tragen die Gruppenfarbe */
.highlight-box[class*="g-"] { color: #1e293b; }
.highlight-box[class*="g-"] p:not(.box-title), .highlight-box[class*="g-"] li { color: #1e293b; }
.reveal .highlight-box[class*="g-"] .box-title { font-size: 18px; margin-bottom: 0.35em; }
.highlight-box[class*="g-"] .bt-ic { width: 24px; height: 24px; }
.reveal .highlight-box[class*="g-"] p, .reveal .highlight-box[class*="g-"] li { font-size: 15.5px; line-height: 1.4; }

/* Werdegang als schlichte Zeitleiste */
.reveal ul.timeline { list-style: none; margin: 0.4em auto 0; padding: 0 0 0 0; max-width: 800px; position: relative; text-align: left; }
.reveal ul.timeline::before { content: ""; position: absolute; left: 144px; top: 10px; bottom: 10px; width: 2px; background: #cbd5e1; }
.reveal ul.timeline li { display: flex; align-items: center; gap: 28px; margin: 0 0 14px; font-size: 19px; line-height: 1.35; position: relative; }
.reveal ul.timeline li::after { content: ""; position: absolute; left: 138px; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; background: #fff; border: 3px solid #3b5a96; box-sizing: border-box; }
.tl-year { flex: 0 0 122px; white-space: nowrap; text-align: right; font-weight: 700; color: #3b5a96; font-size: 16px; }
.tl-text { padding-left: 14px; color: #1e293b; }

/* Motto-Folie, Übungslinks in Kästen */
.reveal .motto { font-size: 64px; font-weight: 800; color: #3b5a96; letter-spacing: -0.01em; margin: 0.4em 0 0.2em; }
.reveal .highlight-box .ex-links { margin-top: 0.35em !important; font-size: 15px !important; font-weight: 600; }

/* Übersichtsfolie: Punkte klar kleiner als die Überschrift */
.reveal ul.overview-list li { font-size: 26px; line-height: 1.4; margin: 0.35em 0; }
