/* ============================================================
   19. Deutscher Innovationsgipfel 2026 – Agenda Stylesheet
   assets/agenda.css
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: system-ui, -apple-system, 'Segoe UI', sans-serif;
  background: #c9e0f5;
  color: #1a1a1a;
  padding: 1.5rem 1rem;
  font-size: 16px;
  line-height: 1.5;
}

/* ── Layout ─────────────────────────────────────────────────── */
.wrap {
  max-width: 720px;
  margin: 0 auto;
}

/* ── Kopfzeile ───────────────────────────────────────────────── */
.day-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #145FA5;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  padding-bottom: .5rem;
  border-bottom: 1px solid #e0ddd6;
}
.clock {
  font-variant-numeric: tabular-nums;
  color: #fff;
  background: #145FA5;
}

/* ── Eintrag (Card) ─────────────────────────────────────────── */
.entry {
  background: #fff;
  border: 1px solid #e0ddd6;
  border-radius: 12px;
  margin-bottom: 8px;
  overflow: hidden;
  transition: border-color .3s;
}
.entry.active {
  border-color: #185FA5;
  border-width: 1.5px;
}

/* ── Header-Zeile ───────────────────────────────────────────── */
.entry-header {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 13px 15px;
}
.entry-header.clickable {
  cursor: pointer;
  user-select: none;
}
.entry-header.clickable:hover {
  background: #fafaf8;
}

.entry-time {
  font-size: 14px;
  color: #999;
  min-width: 40px;
  padding-top: 2px;
  font-variant-numeric: tabular-nums;
  flex-shrink: 0;
}
.entry-main {
  flex: 1;
  min-width: 0;
}
.entry-cat {
  font-size: 12px;
  color: #185FA5;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 2px;
}
.entry-title {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
  color: #1a1a1a;
}
.entry-sub {
  font-size: 15px;
  color: #666;
  margin-top: 2px;
  line-height: 1.35;
}
.entry-preview {
  font-size: 13px;
  color: #aaa;
  margin-top: 5px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ── Toggle-Pfeil ───────────────────────────────────────────── */
.toggle {
  font-size: 13px;
  color: #ccc;
  padding-top: 3px;
  flex-shrink: 0;
  width: 16px;
  text-align: center;
  transition: transform .2s;
}
.toggle.open  { transform: rotate(180deg); }
.toggle.hidden { visibility: hidden; pointer-events: none; }

/* ── Aufgeklappter Body ─────────────────────────────────────── */
.entry-body {
  display: none;
  border-top: 1px solid #f0ede6;
}
.entry-body.open {
  display: flex;
}
/* Einrückung = Uhrzeitspalte (40px) + gap (12px) + padding-left (15px) */
.body-gutter {
  flex-shrink: 0;
  width: calc(40px + 12px + 15px);
}
.body-content {
  flex: 1;
  min-width: 0;
  padding: 12px 15px 14px 0;
}

/* ── "Jetzt"-Pill ───────────────────────────────────────────── */
.now-pill {
  display: inline-block;
  font-size: 12px;
  background: #185FA5;
  color: #fff;
  border-radius: 3px;
  padding: 1px 6px;
  margin-left: 6px;
  vertical-align: middle;
  font-weight: 600;
}

/* ── Speaker-Zeile ──────────────────────────────────────────── */
.speaker {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-top: 10px;
}
.speaker:first-child { margin-top: 0; }

    .avatar {
      width: 100px;
      height: 100px;
      border-radius: 50%;
      overflow: hidden;
      border: 3px solid #ddd;
      box-shadow: 0 4px 12px rgba(0,0,0,0.1);
      margin: 0 auto 0px;
    }
    
    .avatar img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center;
      display: block;
      transform: scale(1.15); /* Zieht das Foto ran, entfernt Ränder */
    }

.sp-photo {
  /*width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  border: 1px solid #e0ddd6;
  flex-shrink: 0;
  background: #f0ede6;*/
}
.sp-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: #dceefb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 700;
  color: #185FA5;
  flex-shrink: 0;
}
.sp-info { flex: 1; min-width: 0; }
.sp-name {
  font-size: 15px;
  font-weight: 600;
  color: #1a1a1a;
  line-height: 1.3;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.sp-role {
  font-size: 13px;
  color: #888;
  margin-top: 1px;
}
.mod-tag {
  font-size: 12px;
  color: #aaa;
  font-weight: 400;
}

/* ── LinkedIn-Icon ──────────────────────────────────────────── */
.li-icon {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  opacity: .5;
  transition: opacity .15s;
  cursor: pointer;
}
.li-icon:hover { opacity: 1; }

/* ── Workshop-Blöcke ────────────────────────────────────────── */
.ws-block {
  margin-top: 10px;
  border: 1px solid #e0ddd6;
  border-radius: 8px;
  overflow: hidden;
}
.ws-block:first-child { margin-top: 0; }

.ws-label {
  font-size: 12px;
  font-weight: 700;
  color: #185FA5;
  text-transform: uppercase;
  letter-spacing: .06em;
  padding: 8px 12px 3px;
}
.ws-title {
  font-size: 15px;
  font-weight: 600;
  color: #1a1a1a;
  padding: 0 12px 8px;
  line-height: 1.35;
}
.ws-speakers {
  padding: 0 12px 10px;
  border-top: 1px solid #f0ede6;
}

/* ── Detail-Tags ────────────────────────────────────────────── */
.detail-label {
  font-size: 12px;
  color: #aaa;
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-top: 12px;
  margin-bottom: 4px;
}
.detail-tag {
  display: inline-block;
  font-size: 14px;
  background: #f5f4f0;
  border: 1px solid #e0ddd6;
  border-radius: 4px;
  padding: 2px 7px;
  margin: 2px 3px 2px 0;
  color: #555;
}

/* ── Notiz ──────────────────────────────────────────────────── */
.note {
  font-size: 13px;
  color: #aaa;
  margin-top: 8px;
  font-style: italic;
}


/* ============================================================
   HEADER – ans Ende der agenda.css anhängen
   ============================================================ */

/* ── Sticky Site-Header ─────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 2px solid #185FA5;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  margin-bottom: 1rem;
}

/* Logo */
.header-logo img {
  height: 44px;
  width: auto;
  display: block;
}
.header-logo-fallback {
  height: 44px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-left: 3px solid #185FA5;
  padding-left: 10px;
}
.header-logo-fallback .logo-badge {
  font-size: 20px;
  font-weight: 800;
  color: #185FA5;
  line-height: 1;
}
.header-logo-fallback .logo-sub {
  font-size: 9px;
  font-weight: 600;
  color: #185FA5;
  text-transform: uppercase;
  letter-spacing: .05em;
  line-height: 1.4;
  max-width: 80px;
}

/* Trennlinie */
.header-divider {
  width: 1px;
  height: 36px;
  background: #e0ddd6;
  flex-shrink: 0;
}

/* Text-Block */
.header-text {
  flex: 1;
  min-width: 0;
}
.header-title {
  font-size: 11px;
  font-weight: 700;
  color: #185FA5;
  text-transform: uppercase;
  letter-spacing: .07em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.header-sub {
  font-size: 11px;
  color: #888;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Uhr */
.header-clock {
  flex-shrink: 0;
  text-align: right;
}
.clock-time {
  font-size: 22px;
  font-weight: 700;
  color: #185FA5;
  font-variant-numeric: tabular-nums;
  letter-spacing: .02em;
  line-height: 1;
}
.clock-date {
  font-size: 10px;
  color: #aaa;
  margin-top: 2px;
}

/* alte .day-header nicht mehr nötig – kann bleiben, schadet aber nicht */
.day-header { display: none; }

/* ── Responsive Header ──────────────────────────────────────── */
@media (max-width: 480px) {
  .site-header  { padding: 8px 12px; gap: 10px; }
  .clock-time   { font-size: 18px; }
  .header-title { font-size: 10px; }
  .header-sub   { display: none; }
}