/*
 * SGT Presentation v4 — Figma Slides Style
 * ==========================================
 * Left-aligned, editorial, minimal. Based on SGT-2026-Presentation-Template (Figma Slides).
 *
 * Usage:
 *   <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/reveal.js@5.1.0/dist/reveal.css">
 *   <link rel="stylesheet" href="../../SGT-Branding/sgt-presentation-v4.css">
 *   Do NOT include a reveal.js theme (no white.css, no black.css).
 *
 * Font: DM Sans via Google Fonts (must be loaded separately in HTML <head>).
 * All font-weight: 400. Size creates hierarchy, not weight.
 * Letter-spacing: 0.01em everywhere.
 * Min font size: 18px.
 */

/* ── Design Tokens ───────────────────────────────────────── */
:root {
  --sgt-black:      #1e1e1e;
  --sgt-white:      #ffffff;
  --sgt-grey:       #888888;
  --sgt-grey-light: #f2f2f2;
  --sgt-border:     #e0e0e0;
  --sgt-purple:     #754cff;
  --sgt-strategy:   #d9e530;
  --sgt-creativity: #ffd129;
  --sgt-technology: #629cfa;
  --sgt-green:      #1d862d;
  --sgt-red:        #ec1111;
}

/* ── Base ─────────────────────────────────────────────────── */
.reveal {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  color: var(--sgt-black);
  letter-spacing: 0.01em;
}

.reveal .slides { text-align: left; }
.reveal .slides section {
  padding: 80px 64px 48px;
  box-sizing: border-box;
  width: 100%;
}

/* ── Topic Bar ────────────────────────────────────────────── */
/* Full-bleed line across browser width via negative margins. */
/* Omit .topic-bar on Cover, Impact, Transition, and End slides. */
.topic-bar {
  position: absolute;
  top: 0;
  left: -9999px;
  right: -9999px;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px calc(64px + 9999px);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-bottom: 0.5px solid var(--sgt-black);
  z-index: 10;
}
.topic-bar.dark {
  color: rgba(255,255,255,0.4);
  border-bottom-color: rgba(255,255,255,0.6);
}

/* ── Typography ───────────────────────────────────────────── */
.reveal h1 {
  font-family: 'DM Sans', sans-serif;
  font-size: 80px;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.01em;
  margin: 0;
}

.reveal h2 {
  font-family: 'DM Sans', sans-serif;
  font-size: 56px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0.01em;
  margin: 0 0 24px 0;
}

.reveal h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 28px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.01em;
  margin: 0 0 8px 0;
}

.reveal h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.01em;
  margin: 0 0 8px 0;
}

.reveal p, .reveal li {
  font-size: 20px;
  line-height: 1.6;
  letter-spacing: 0.01em;
  margin: 0;
}

/* Giant — for impact/transition slides */
.giant {
  font-size: 100px;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.01em;
}

/* Body text — secondary, muted */
.body-text {
  font-size: 22px;
  line-height: 1.6;
  color: var(--sgt-grey);
  max-width: 560px;
}

/* ── Dark Slide Helpers ───────────────────────────────────── */
section[data-background-color="#1e1e1e"] h1,
section[data-background-color="#1e1e1e"] h2,
section[data-background-color="#1e1e1e"] h3,
section[data-background-color="#1e1e1e"] h4 {
  color: var(--sgt-white);
}
section[data-background-color="#1e1e1e"] p,
section[data-background-color="#1e1e1e"] li {
  color: rgba(255,255,255,0.6);
}

/* ── Cards ────────────────────────────────────────────────── */
.fg-card {
  border: 1px solid var(--sgt-border);
  border-radius: 12px;
  padding: 28px 24px;
}

.fg-card.dark {
  background: var(--sgt-black);
  border-color: rgba(255,255,255,0.1);
  color: var(--sgt-white);
}

/* Card header (Nr. label) */
.fg-card-header {
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--sgt-border);
  margin: -28px -24px 20px;
  border-radius: 12px 12px 0 0;
}

.fg-card-header.filled {
  background: var(--sgt-black);
  color: var(--sgt-white);
  border-color: var(--sgt-black);
}

/* Card accent borders */
.fg-card.accent-strategy   { border-left: 3px solid var(--sgt-strategy); }
.fg-card.accent-creativity { border-left: 3px solid var(--sgt-creativity); }
.fg-card.accent-technology { border-left: 3px solid var(--sgt-technology); }
.fg-card.accent-purple     { border-left: 3px solid var(--sgt-purple); }

/* ── Grids ────────────────────────────────────────────────── */
.grid-2   { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; width: 100%; box-sizing: border-box; }
.grid-2x2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; width: 100%; box-sizing: border-box; }
.grid-3   { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; width: 100%; box-sizing: border-box; }
.two-col  { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; width: 100%; box-sizing: border-box; }

/* ── Stats ────────────────────────────────────────────────── */
.stat-big {
  font-size: 72px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.01em;
}

.stat-label {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--sgt-grey);
  margin-top: 8px;
}

.stat-desc {
  font-size: 16px;
  color: var(--sgt-grey);
  margin-top: 8px;
  line-height: 1.5;
}

/* ── Checklist ────────────────────────────────────────────── */
.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.checklist li {
  font-size: 19px;
  padding: 6px 0;
  border-bottom: 1px solid var(--sgt-grey-light);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.checklist li::before {
  content: "\2713";
  color: var(--sgt-black);
  font-weight: 700;
  flex-shrink: 0;
}

/* ── Tags ─────────────────────────────────────────────────── */
.fg-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 999px;
  border: 1px solid var(--sgt-border);
  color: var(--sgt-grey);
}

/* ── Divider Lines ────────────────────────────────────────── */
.fg-divider {
  width: 80px;
  height: 2px;
  background: var(--sgt-purple);
  margin: 24px 0;
}
.fg-divider.strategy   { background: var(--sgt-strategy); }
.fg-divider.creativity { background: var(--sgt-creativity); }
.fg-divider.technology { background: var(--sgt-technology); }

/* Brand gradient line — for end slides */
.accent-line {
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--sgt-strategy) 0%, var(--sgt-creativity) 33%, var(--sgt-purple) 66%, var(--sgt-technology) 100%);
  margin: 32px 0;
}

/* ── Color Panels ─────────────────────────────────────────── */
/* Large flächige Farbblöcke for two-col content slides */
.color-panel {
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
  padding: 40px;
}
.color-panel.strategy   { background: var(--sgt-strategy); }
.color-panel.creativity { background: var(--sgt-creativity); }
.color-panel.technology { background: var(--sgt-technology); }
.color-panel.purple     { background: var(--sgt-purple); }

.color-panel p {
  font-size: 56px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0.01em;
  color: var(--sgt-black);
}
.color-panel.purple p,
.color-panel.technology p { color: var(--sgt-white); }

/* ── Steps ────────────────────────────────────────────────── */
.fg-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid var(--sgt-border);
}

.fg-step-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--sgt-black);
  color: var(--sgt-white);
  font-size: 18px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ── Logos Row ─────────────────────────────────────────────── */
.logos-row {
  display: flex;
  align-items: center;
  gap: 36px;
}

/* ── Pointing Hand Icon ───────────────────────────────────── */
/* Use on Impact/Transition slides: bottom-right decorative element */
.hand-icon {
  position: absolute;
  bottom: 48px;
  right: 64px;
  width: 100px;
  height: 100px;
  opacity: 0.15;
}

/* ── Count-Up Animation (requires JS) ─────────────────────── */
/* Add data-count-to="73" data-suffix="%" to stat elements.
   Copy the animateCountUp JS from template-v4.html. */
