/* Tag 1 — Was ist KI?
 * Comcave x Lippmann Consulting
 * Color scheme: Deep navy + vibrant green accent
 */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&display=swap');

/* ===========================================
   CSS VARIABLES
   =========================================== */
:root {
  --background-color: #f8f9fa;
  --section-divider-bg: #1a2744;

  /* Typography */
  --heading-font: "Montserrat", Helvetica, sans-serif;
  --body-font: "Montserrat", "Source Sans Pro", Helvetica, sans-serif;
  --base-font-size: 32px;
  --text-size: 17pt;
  --h1-size: 44pt;
  --h2-size: 32pt;
  --h3-size: 22pt;
  --footnote-size: 11pt;

  /* Colors */
  --primary-color: #2C3E6B;
  --secondary-color: #4CAF50;
  --accent-warm: #FF8C42;
  --text-color: #1a1a2e;
  --muted-color: #5a6577;
  --line-color: #2C3E6B;
  --card-bg: #ffffff;
  --card-border: #e2e8f0;

  /* Layout */
  --slide-padding: 55px;
  --slide-padding-top: 40px;
  --content-gap: 25px;

  --box-radius: 10px;
}

/* ===========================================
   BASE STYLES
   =========================================== */

.reveal {
  font-family: var(--body-font);
  font-size: var(--base-font-size);
}

.reveal strong,
.reveal b {
  font-weight: 600;
}

.reveal-viewport {
  background-color: var(--background-color);
}

/* Section divider background */
.reveal-viewport.is-section-divider .slide-background.present {
  background-color: var(--section-divider-bg) !important;
}

.reveal h1,
.reveal h2,
.reveal h3,
.reveal h4,
.reveal h5,
.reveal h6 {
  font-family: var(--heading-font);
  text-transform: none;
  color: var(--primary-color);
  font-weight: 600;
  line-height: 1.2;
}

.reveal h1 { font-size: var(--h1-size); }
.reveal h2 { font-size: var(--h2-size); margin-bottom: 0; }
.reveal h3 { font-size: var(--h3-size); }

.reveal p,
.reveal li,
.reveal td,
.reveal th,
.reveal blockquote {
  font-size: var(--text-size);
  color: var(--text-color);
  line-height: 1.6;
}

/* ===========================================
   LISTS
   =========================================== */

.reveal ul {
  list-style: none;
  padding-left: 0;
  margin: 12px 0;
}

.reveal ul li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
}

.reveal ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 10px;
  height: 10px;
  background: var(--secondary-color);
  border-radius: 50%;
}

.reveal ul ul li::before {
  background: var(--muted-color);
  width: 7px;
  height: 7px;
}

.reveal blockquote p {
  font-size: inherit;
}

/* ===========================================
   SLIDE LAYOUT
   =========================================== */

.reveal .slides section {
  height: 100%;
  display: flex !important;
  flex-direction: column !important;
  padding: var(--slide-padding-top) var(--slide-padding) var(--slide-padding) var(--slide-padding) !important;
  box-sizing: border-box;
  text-align: left;
}

.reveal .slides section.stack {
  padding: 0 !important;
}

.reveal .slides section > .content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: var(--content-gap);
  text-align: left;
}

.reveal .slides section > .footnote {
  position: absolute;
  bottom: 15px;
  left: var(--slide-padding);
  right: var(--slide-padding);
  font-size: var(--footnote-size);
  color: var(--muted-color);
}

/* ===========================================
   SECTION DIVIDERS
   =========================================== */

.reveal .slides section.section-divider {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center;
  background-color: var(--section-divider-bg);
}

.reveal .slides section.section-divider h1 {
  font-size: 52pt;
  text-align: center;
  color: #ffffff;
}

.reveal .slides section.section-divider h2 {
  font-size: 36pt;
  text-align: center;
  color: #ffffff;
}

.reveal .slides section.section-divider p {
  font-size: 20pt;
  color: rgba(255, 255, 255, 0.7);
}

.reveal .slides section.section-divider .icon-large {
  font-size: 60pt;
  color: var(--secondary-color);
  margin-bottom: 20px;
}

/* ===========================================
   TITLE SLIDE
   =========================================== */

.reveal .slides section.title-slide {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  text-align: center;
  background: linear-gradient(135deg, #1a2744 0%, #2C3E6B 60%, #3d5a99 100%);
}

.reveal .slides section.title-slide h1 {
  font-size: 52pt;
  color: #ffffff;
  margin-bottom: 10px;
}

.reveal .slides section.title-slide h2 {
  font-size: 28pt;
  color: var(--secondary-color);
  font-weight: 400;
}

.reveal .slides section.title-slide p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 16pt;
}

.reveal .slides section.title-slide .tag-line {
  margin-top: 30px;
  padding: 12px 30px;
  border: 2px solid var(--secondary-color);
  border-radius: 30px;
  color: var(--secondary-color);
  font-size: 16pt;
  font-weight: 500;
}

/* ===========================================
   TEXT SIZE UTILITIES
   =========================================== */

.text-lg { font-size: 19pt !important; }
.text-xl { font-size: 21pt !important; }
.text-2xl { font-size: 24pt !important; }
.text-3xl { font-size: 28pt !important; }
.text-4xl { font-size: 32pt !important; }
.text-muted { color: var(--muted-color) !important; }
.text-center { text-align: center !important; }
.text-uppercase { text-transform: uppercase; letter-spacing: 0.1em; }
.font-light { font-weight: 300; }
.font-bold { font-weight: 600; }

/* ===========================================
   BLOCKQUOTES
   =========================================== */

.reveal blockquote {
  border-left: 4px solid var(--secondary-color);
  padding: 15px 25px;
  margin: 20px 0;
  font-style: italic;
  background: rgba(76, 175, 80, 0.06);
  box-shadow: none;
  width: 100%;
  max-width: none;
  border-radius: 0 var(--box-radius) var(--box-radius) 0;
}

.reveal blockquote cite {
  display: block;
  margin-top: 10px;
  font-style: normal;
  font-size: 14pt;
  color: var(--muted-color);
}

/* ===========================================
   INFO CARDS
   =========================================== */

.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--box-radius);
  padding: 20px 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.card-accent {
  border-left: 4px solid var(--secondary-color);
}

.card-primary {
  border-left: 4px solid var(--primary-color);
}

.card-warning {
  border-left: 4px solid var(--accent-warm);
}

.card h3 {
  margin: 0 0 8px 0;
  font-size: 18pt;
}

.card p {
  margin: 0;
  font-size: 15pt;
}

/* ===========================================
   ICON STYLES
   =========================================== */

.icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary-color);
  color: #fff;
  font-size: 20pt;
  margin-bottom: 12px;
}

.icon-circle.green { background: var(--secondary-color); }
.icon-circle.orange { background: var(--accent-warm); }

/* ===========================================
   PYRAMID / HIERARCHY
   =========================================== */

.pyramid-level {
  text-align: center;
  padding: 14px 20px;
  color: #ffffff;
  font-weight: 600;
  font-size: 16pt;
  border-radius: 6px;
  margin: 0 auto;
}

.pyramid-level span.sublabel {
  display: block;
  font-weight: 400;
  font-size: 12pt;
  opacity: 0.85;
  margin-top: 2px;
}

/* ===========================================
   TIMELINE
   =========================================== */

.timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 14px;
}

.timeline-year {
  flex-shrink: 0;
  font-weight: 700;
  font-size: 15pt;
  color: var(--primary-color);
  min-width: 55px;
  padding-top: 2px;
}

.timeline-dot {
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--secondary-color);
  margin-top: 6px;
}

.timeline-text {
  font-size: 14pt;
  line-height: 1.4;
  color: var(--text-color);
}

/* ===========================================
   COMPARISON TABLE
   =========================================== */

.reveal table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  margin: 15px 0;
  border-radius: var(--box-radius);
  overflow: hidden;
  border: 1px solid var(--card-border);
}

.reveal table th {
  background: var(--primary-color);
  color: #ffffff;
  font-weight: 600;
  padding: 12px 16px;
  font-size: 15pt;
  text-align: left;
}

.reveal table td {
  padding: 10px 16px;
  font-size: 14pt;
  border-bottom: 1px solid var(--card-border);
  background: #ffffff;
}

.reveal table tr:last-child td {
  border-bottom: none;
}

/* ===========================================
   DECORATIVE TOP LINE
   =========================================== */

.reveal .slides section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.reveal .slides section.section-divider::before,
.reveal .slides section.title-slide::before {
  display: none;
}

/* ===========================================
   NUMBER HIGHLIGHT
   =========================================== */

.stat-number {
  font-size: 40pt;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1;
  font-family: var(--heading-font);
}

.stat-label {
  font-size: 13pt;
  color: var(--muted-color);
  margin-top: 4px;
}

/* ===========================================
   FRAGMENT HIGHLIGHT
   =========================================== */

.reveal .fragment.highlight-green.visible {
  color: var(--secondary-color);
}
