/* Workshop-Look für die Kurs-SPA (AI Enabling Day Wien, 15.10.2026). Keine Webfonts von Google (DSGVO, WLAN vor Ort):
   Inter und Source Serif 4 greifen, wenn lokal installiert, sonst die Systemschriften.
   Wird NACH styles.css geladen und überschreibt nur Variablen und ergänzt Bausteine:
   Titelfolie, Prompt-Box mit Kopier-Button, Mail-Ansicht, „Bei Ihnen“-Kasten, Handbuch, Glossar.
   Farben wie drfloriansteiner.com (Orange #ea580c, Stone-Neutraltöne), Kontrast für Text mindestens 4,5:1. */
:root {
  --navy: #292524;          /* Überschriften, Fußleiste; weiß darauf 14:1 */
  --blue: #9a3412;          /* Links, Nummern; weiß darauf 7,3:1 */
  --sky: #f5f5f4;           /* Flächen */
  --accent: #c2410c;        /* Flächen mit weißer Schrift; 5,2:1 */
  --accent-dark: #9a3412;   /* Akzenttext auf weiß */
  --accent-soft: #fff7ed;
  --ink: #1c1917;
  --muted: #57534e;
  --line: #e7e5e4;
  --ok: #15803d; --ok-soft: #ecfdf3;
  --note: #fef9c3; --note-line: #ca8a04;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}
body.home, body.workbook { background: #fafaf9; }
.fhead h1, .home-main h1, .h-cover h1, .h-block-head h1, .wb-head h1 { font-family: var(--font-display); font-weight: 600; }

/* ---------- Titelfolie (screen.cover, cls f-cover) ---------- */
.frame.f-cover { background: #1c1917; color: #fafaf9; padding: 0; }
.frame.f-cover::before { display: none; }
.f-cover .fhead { display: none; }
.f-cover .fbody { display: flex; align-items: center; padding: 0 70px; font-size: 24px; }
.cv { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 40px; align-items: center; width: 100%; }
.cv-eyebrow { font-size: 18px; letter-spacing: .1em; text-transform: uppercase; color: #fb923c; font-weight: 600; }
.cv-title { font-family: var(--font-display); font-weight: 600; font-size: 56px; line-height: 1.08; margin: 12px 0 10px; }
.cv-sub { font-size: 26px; color: #d6d3d1; margin: 0 0 20px; }
.cv-meta { font-size: 21px; margin: 0 0 24px; font-variant-numeric: tabular-nums; }
.cv-who { border-top: 1px solid #57534e; padding-top: 14px; display: grid; gap: 2px; }
.cv-who b { font-size: 24px; color: #fafaf9; }
.cv-who span { color: #d6d3d1; font-size: 19px; }
.cv-link { margin-top: 20px; font-size: 21px; color: #d6d3d1; }
.cv-link b { color: #fb923c; }
.cv .rad { width: 100%; max-width: 330px; justify-self: center; color: #fb923c; }
.cv .rad .gondel { fill: #1c1917; }

/* ---------- Trainer, Screenshots ---------- */
.contact { display: flex; gap: 22px; align-items: center; margin-top: 14px; font-size: .78em; }
.contact .qr { width: 120px; height: 120px; background: #fff; padding: 6px; border: 1px solid var(--line); border-radius: 6px; image-rendering: pixelated; flex: none; }
.contact dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 2px 12px; }
.contact dt { font-weight: 700; color: var(--accent-dark); }
.contact dd { margin: 0; overflow-wrap: anywhere; }
.contact a { color: var(--ink); text-decoration: none; }
figure.photo, figure.shot { margin: 0; }
figure.photo img, figure.shot img { display: block; width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--line); }
figure.photo figcaption { font-size: .6em; color: var(--muted); margin-top: 6px; }
.solution figure.shot img { max-height: 300px; width: auto; max-width: 100%; }

/* ---------- Prompt-Box mit Kopier-Button ---------- */
.pr { background: #f5f5f4; border: 1px solid var(--line); border-radius: 8px; margin: 8px 0 12px; overflow: hidden; font-weight: 400; color: var(--ink); }
.pr-bar { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 5px 8px 5px 14px; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.pr pre { margin: 0; padding: 12px 14px; white-space: pre-wrap; word-break: break-word; font-family: var(--font-mono); font-size: .62em; line-height: 1.5; }
.pr-copy { font: 600 13px var(--font); background: var(--accent); color: #fff; border: 0; border-radius: 6px; padding: 6px 12px; cursor: pointer; text-transform: none; letter-spacing: 0; }
.pr-copy.ok { background: var(--ok); }
.task .pr, .task .mail { font-weight: 400; }

/* ---------- eingegangene Mail ---------- */
.mail { background: #fff; border: 1px solid var(--line); border-radius: 10px; margin: 0 0 12px; overflow: hidden; max-width: 760px; font-weight: 400; color: var(--ink); font-size: .7em; }
.mail-head { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 12px; border-bottom: 1px solid var(--line); }
.mail .avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-dark); display: grid; place-items: center; font-weight: 700; font-size: 13px; }
.mail .from span, .mail .to, .mail time { color: var(--muted); font-size: .9em; }
.mail .subj { padding: 8px 12px 0; font-weight: 700; }
.mail-body { padding: 4px 12px 10px; }
.mail-body p { margin: 0 0 6px; }

/* ---------- Bausteine im Text ---------- */
.yours { margin-top: 12px; background: var(--accent-soft); border-left: 6px solid var(--accent); padding: 8px 14px; border-radius: 0 8px 8px 0; font-size: .82em; font-weight: 400; color: var(--ink); }
blockquote.ex { margin: 8px 0; border-left: 4px solid var(--accent); padding: 4px 14px; font-family: var(--font-display); font-size: .82em; color: var(--ink); }
blockquote.ex small { display: block; font-family: var(--font); font-size: .7em; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.small { font-size: .75em; color: var(--muted); font-weight: 400; }
ul.check { list-style: none; padding-left: 0; }
ul.check li { position: relative; padding-left: 1.4em; }
ul.check li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 800; }
ol.intro { font-size: 1.15em; }
ol.intro li { margin: .3em 0; }
.dl { display: inline-block; font-size: .7em; font-weight: 600; border: 1px dashed var(--line); color: var(--muted); border-radius: 6px; padding: 2px 10px; margin-left: 6px; }
a.dl { border: 0; background: var(--accent); color: #fff; text-decoration: none; padding: 4px 12px; }
a.dl:hover { filter: brightness(1.06); }

/* ---------- Präsentation: Prompts und Mails kleiner, damit sie auf eine Folie passen ---------- */
.presenter .f-activity .task { font-weight: 400; color: var(--ink); }
.presenter .f-activity .task p { font-weight: 600; color: var(--navy); }

/* ---------- Teilnehmer-Unterlage am Bildschirm ---------- */
@media screen {
  body.handout { font-size: 15px; background: #f5f5f4; }
  .h-cover { min-height: 0; padding-top: 10mm; padding-bottom: 10mm; }   /* volle A4-Höhe nur im Druck */
  body.handout #app { border-radius: 12px; box-shadow: 0 1px 2px rgba(0,0,0,.05), 0 4px 16px rgba(0,0,0,.04); margin: 16px auto; }
  .handout .mail, .handout .pr pre { font-size: 14px; }
}
@media screen and (max-width: 700px) {
  body.handout #app { padding: 20px 16px; margin: 0; border-radius: 0; }
  .h-cover { min-height: 0; padding: 20px 0 20px 14px; }
  .home-main { padding: 20px 16px 40px; }
  .sessions td.act { white-space: normal; text-align: left; }
}
@media print {
  .pr-copy, .dl { display: none !important; }
  .handout .pr pre { font-size: 8.5pt; }
  .handout .mail { font-size: 9pt; }
}

/* ---------- Handbuch, Hilfe, Glossar (nur Unterlage) ---------- */
ol.recipes { list-style: none; padding: 0; margin: 3mm 0; display: grid; gap: 3mm; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); counter-reset: r; }
.recipe { counter-increment: r; border: 1px solid var(--line); border-radius: 6px; padding: 3mm 4mm; break-inside: avoid; }
.recipe h3 { display: flex; gap: 6px; align-items: baseline; margin: 0 0 1mm; font-size: 1em; }
.recipe h3::before { content: counter(r); color: var(--accent-dark); font-weight: 700; }
.recipe p { margin: 0 0 1mm; }
.rule, .trap { font-size: .92em; padding-left: 3mm; border-left: 3px solid var(--ok); margin-top: 2mm !important; }
.trap { border-left-color: #b91c1c; }
.rule b, .trap b { display: block; font-size: .75em; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.faq details { border: 1px solid var(--line); border-radius: 6px; padding: 2mm 3mm; margin: 2mm 0; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq details p { margin: 1mm 0 0; }
@media print { .faq details { display: block; } .faq details > p { display: block; } }
dl.gloss { display: grid; grid-template-columns: minmax(110px, 170px) 1fr; gap: 2mm 5mm; margin: 2mm 0; }
dl.gloss dt { font-weight: 700; }
dl.gloss dd { margin: 0; color: var(--muted); }
@media screen and (max-width: 540px) { dl.gloss { grid-template-columns: 1fr; gap: 0; } dl.gloss dd { margin-bottom: 8px; } }
