/* ==========================================================================
   Symposium Schweizer Spitzenmedizin 2026 - Clean Light Mode Theater Design
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,600;0,700;1,400&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap');

:root {
  --primary-red: #ae2b2b;
  --primary-red-hover: #c03434;
  --primary-red-dark: #8c2222;
  --primary-red-glow: rgba(174, 43, 43, 0.22);
  
  --text-main: #334155;
  --text-dark: #0f172a;
  --text-light: #64748b;
  --bg-white: #ffffff;
  --border-color: #e2e8f0;
  --theater-bg: #f8fafc;
  --theater-card: #ffffff;
  --theater-border: #e2e8f0;
  
  --font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-display: 'Plus Jakarta Sans', var(--font-family);
  --container-max-width: 1220px;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
}

/* Reset & Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--theater-bg);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body.theater-page {
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background-color: var(--theater-bg);
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   Header & Navigation Menu
   ========================================================================== */
.site-header.theater-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  padding: 12px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo-container {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-img {
  height: 46px;
  width: auto;
  display: block;
}

/* Header Navigation Bar */
.header-nav {
  display: flex;
  align-items: center;
  background: #f1f5f9;
  padding: 4px;
  border-radius: 9999px;
  border: 1px solid #e2e8f0;
  gap: 4px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 9999px;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  color: #64748b;
  text-decoration: none;
  transition: all 0.2s ease;
}

.nav-icon {
  width: 16px;
  height: 16px;
  fill: currentColor;
  transition: transform 0.2s ease;
}

.nav-item:hover {
  color: var(--text-dark);
  background: rgba(255, 255, 255, 0.6);
}

.nav-item.active {
  color: #ffffff;
  background: var(--primary-red);
  box-shadow: 0 2px 8px var(--primary-red-glow);
}

.nav-item.active .nav-icon {
  fill: #ffffff;
}

.header-right-tag {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.location-badge {
  font-size: 0.82rem;
  font-weight: 600;
  color: #475569;
  background: #f8fafc;
  padding: 6px 14px;
  border-radius: 9999px;
  border: 1px solid #e2e8f0;
}

@media (max-width: 768px) {
  .logo-img {
    height: 38px;
  }
  .header-right-tag {
    font-size: 0.76rem;
    padding: 4px 10px;
  }
}

@media (max-width: 480px) {
  .header-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
  }
  .logo-img {
    height: 30px;
  }
  .header-right-tag {
    font-size: 0.68rem;
    padding: 3px 8px;
    white-space: nowrap;
  }
}

/* ==========================================================================
   Section Layouts & Headers
   ========================================================================== */
.section-container {
  padding: 50px 0 70px;
  border-bottom: 1px solid #e2e8f0;
}

.section-container:last-of-type {
  border-bottom: none;
}

.theater-badge-bar,
.section-badge-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.theater-badge {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  background: #f1f5f9;
  color: #64748b;
  border: 1px solid #e2e8f0;
}

.theater-badge.active-mode {
  background: #fef2f2;
  color: var(--primary-red);
  border-color: #fca5a5;
}

.theater-badge.status-tag {
  background: #ecfdf5;
  color: #059669;
  border-color: #a7f3d0;
}

.section-header {
  margin-bottom: 32px;
}

.section-title {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.5px;
  margin-bottom: 6px;
  position: relative;
  padding-left: 16px;
}

.section-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 5px;
  background: var(--primary-red);
  border-radius: 3px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 860px;
  margin-left: 16px;
}

/* ==========================================================================
   1. INTROS / THEATER SECTION
   ========================================================================== */
.theater-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
  align-items: start;
}

@media (max-width: 1080px) {
  .theater-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* Video Player Wrapper */
.player-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.player-wrapper {
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06), 0 2px 6px rgba(0, 0, 0, 0.04);
  border: 1px solid #e2e8f0;
  position: relative;
}

.video-screen-container {
  position: relative;
  width: 100%;
  aspect-ratio: 1920 / 972;
  background: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-element {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Play Button Overlay */
.big-play-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity 0.25s ease;
  z-index: 10;
}

.big-play-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.big-play-btn {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--primary-red);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(174, 43, 43, 0.5);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.2s ease;
}

.big-play-btn:hover {
  transform: scale(1.12);
  background: var(--primary-red-hover);
}

.big-play-btn svg {
  width: 36px;
  height: 36px;
  fill: #ffffff;
  margin-left: 4px;
}

/* Custom Controls Bar - Light Theme */
.custom-controls-bar {
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  padding: 12px 20px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.progress-bar-container {
  width: 100%;
  height: 6px;
  background: #e2e8f0;
  border-radius: 4px;
  cursor: pointer;
  position: relative;
  transition: height 0.15s ease;
}

.progress-bar-container:hover {
  height: 8px;
}

.progress-filled {
  height: 100%;
  width: 0%;
  background: var(--primary-red);
  border-radius: 4px;
  position: relative;
}

.progress-filled::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--primary-red);
  border: 2px solid #ffffff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.3);
  opacity: 0;
  transition: opacity 0.15s ease;
}

.progress-bar-container:hover .progress-filled::after {
  opacity: 1;
}

.controls-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.controls-left, .controls-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.control-btn {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 6px;
  color: #334155;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.control-btn:hover {
  background: #f1f5f9;
  color: var(--primary-red);
}

.control-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.volume-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
}

.volume-slider {
  width: 75px;
  height: 5px;
  -webkit-appearance: none;
  appearance: none;
  background: #cbd5e1;
  border-radius: 3px;
  outline: none;
  cursor: pointer;
}

.volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--primary-red);
  border: 2px solid #ffffff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.25);
  cursor: pointer;
}

.time-display {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: #475569;
  letter-spacing: 0.5px;
}

.format-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: #475569;
  background: #f1f5f9;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
}

/* Video Info Header */
.video-info-header {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
}

.video-info-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--primary-red);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.video-info-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 6px;
  line-height: 1.25;
}

.video-info-subtitle {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-red-dark);
  margin-bottom: 18px;
}

.video-info-desc {
  font-size: 0.98rem;
  color: #475569;
  line-height: 1.75;
  margin-bottom: 22px;
}

/* Client Tags Section */
.client-tags-section {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.client-tags-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-dark);
}

.tags-icon {
  font-size: 1.1rem;
  color: var(--primary-red);
}

.client-tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.client-tag-pill {
  font-size: 0.78rem;
  color: #334155;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  padding: 3px 9px;
  border-radius: 6px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.02);
}

/* Simple Clean Download Button */
.download-wrap {
  display: flex;
  justify-content: flex-start;
  margin-top: 4px;
}

.simple-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  border: 1.5px solid var(--primary-red);
  padding: 10px 18px;
  border-radius: 8px;
  color: var(--primary-red);
  font-family: var(--font-display);
  font-size: 0.90rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.simple-download-btn svg {
  width: 17px;
  height: 17px;
  fill: var(--primary-red);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.simple-download-btn:hover {
  background: var(--primary-red);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(227, 6, 19, 0.25);
}

.simple-download-btn:hover svg {
  fill: #ffffff;
  transform: translateY(1px);
}

/* Playlist Sidebar */
.playlist-sidebar {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (min-width: 1081px) {
  .playlist-sidebar {
    margin-top: -42px;
  }
}

.playlist-header {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 800;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding-bottom: 2px;
}

.playlist-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.03);
}

.playlist-card:hover {
  border-color: #cbd5e1;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.playlist-card.active {
  border: 2px solid var(--primary-red);
  box-shadow: 0 6px 18px var(--primary-red-glow);
}

.card-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1920 / 972;
  background: #0f172a;
  overflow: hidden;
}

.card-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-thumb-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s ease;
}

.playlist-card:hover .card-thumb-overlay {
  background: rgba(0, 0, 0, 0.1);
}

.play-icon-small {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--primary-red);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 12px rgba(0,0,0,0.3);
}

.play-icon-small svg {
  width: 18px;
  height: 18px;
  fill: #ffffff;
  margin-left: 2px;
}

.playing-now-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--primary-red);
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 3px 8px;
  border-radius: 4px;
}

.card-content {
  padding: 14px 16px;
}

.card-content h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.card-theme-subtitle {
  font-size: 0.82rem;
  color: #64748b;
  line-height: 1.4;
  font-weight: 500;
}

.playlist-card.active .card-theme-subtitle {
  color: var(--primary-red-dark);
  font-weight: 600;
}

/* ==========================================================================
   2. SHOW TEMPLATE / REGIE-TIMELINE SECTION
   ========================================================================== */
.show-template-section {
  background: #ffffff;
}

.timeline-wrapper {
  position: relative;
  max-width: 960px;
  margin: 0 auto;
  padding: 20px 0;
}

.timeline-wrapper::before {
  content: '';
  position: absolute;
  left: 110px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #e2e8f0;
}

@media (max-width: 700px) {
  .timeline-wrapper::before {
    left: 20px;
  }
}

.timeline-item {
  display: flex;
  gap: 32px;
  margin-bottom: 36px;
  position: relative;
}

@media (max-width: 700px) {
  .timeline-item {
    flex-direction: column;
    gap: 12px;
    padding-left: 45px;
  }
}

.timeline-marker {
  display: flex;
  align-items: flex-start;
  width: 110px;
  flex-shrink: 0;
  justify-content: flex-end;
  position: relative;
  padding-right: 28px;
  padding-top: 22px;
}

@media (max-width: 700px) {
  .timeline-marker {
    width: auto;
    justify-content: flex-start;
    position: absolute;
    left: 0;
    top: 4px;
    padding-right: 0;
    padding-top: 0;
  }
}

.timeline-time {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  color: #475569;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

@media (max-width: 700px) {
  .timeline-time {
    display: none;
  }
}

.timeline-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #94a3b8;
  border: 3px solid #ffffff;
  box-shadow: 0 0 0 2px #cbd5e1;
  position: absolute;
  right: -7px;
  top: 26px;
  z-index: 2;
}

@media (max-width: 700px) {
  .timeline-dot {
    left: 13px;
    right: auto;
    top: 6px;
  }
}

.timeline-dot.red-dot {
  background: var(--primary-red);
  box-shadow: 0 0 0 3px rgba(174, 43, 43, 0.3);
}

.timeline-dot.cyan-dot {
  background: #0284c7;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.3);
}

.timeline-dot.amber-dot {
  background: #d97706;
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.3);
}

.timeline-dot.purple-dot {
  background: #7c3aed;
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.3);
}

.timeline-content-card {
  flex: 1;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 22px 26px;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.02);
}

.timeline-item.highlight-item .timeline-content-card {
  background: #ffffff;
  border-color: #cbd5e1;
  box-shadow: 0 4px 16px rgba(0,0,0,0.04);
}

.timeline-content-card:hover {
  transform: translateX(4px);
  border-color: #94a3b8;
}

/* ==========================================================================
   Google Material Symbols Styling
   ========================================================================== */
.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 15px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: -2px;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
}

.frontwall-icon {
  color: var(--primary-red);
  font-size: 18px;
  margin-right: 6px;
  vertical-align: -3px;
}

.file-icon.material-symbols-outlined {
  font-size: 16px;
  color: #0284c7;
  vertical-align: -3px;
}

.folder-icon.material-symbols-outlined {
  font-size: 18px;
  color: #0284c7;
  vertical-align: -3px;
}

.timeline-meta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.matrix-seq {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  background: #334155;
  color: #ffffff;
  padding: 4px 10px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.matrix-seq.highlight {
  background: var(--primary-red);
  color: #ffffff;
  border: none;
  box-shadow: 0 2px 8px rgba(227, 6, 19, 0.25);
}

.matrix-duration {
  font-size: 0.72rem;
  font-weight: 700;
  color: #ffffff;
  background: #0f172a;
  padding: 4px 10px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.matrix-sound {
  font-size: 0.72rem;
  font-weight: 700;
  color: #ffffff;
  background: #0284c7;
  padding: 4px 10px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.25);
}

.matrix-light {
  font-size: 0.72rem;
  font-weight: 700;
  color: #ffffff;
  background: #d97706;
  padding: 4px 10px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 2px 8px rgba(217, 119, 6, 0.25);
}

.timeline-item-title {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.matrix-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px 18px;
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.5;
  margin-bottom: 14px;
}

.matrix-col.full-width {
  grid-column: 1 / -1;
}

.matrix-col strong {
  color: var(--text-dark);
}

.timeline-play-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: var(--text-dark);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 4px;
}

.timeline-play-btn svg {
  width: 14px;
  height: 14px;
  fill: var(--primary-red);
}

.timeline-play-btn:hover {
  background: var(--primary-red);
  border-color: var(--primary-red);
  color: #ffffff;
}

.timeline-play-btn:hover svg {
  fill: #ffffff;
}

.timeline-link {
  color: var(--primary-red);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.timeline-link:hover {
  color: var(--primary-red-hover);
}

/* ==========================================================================
   Frontwall Video Player in Timeline Cards - Light Theme
   ========================================================================== */
.timeline-frontwall-box {
  margin-top: 16px;
  margin-bottom: 14px;
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.frontwall-box-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  position: relative;
  z-index: 2;
}

.frontwall-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: #1e293b;
  letter-spacing: 0.01em;
}

.frontwall-meta-badge {
  font-size: 0.72rem;
  font-weight: 800;
  color: #ffffff;
  background: var(--primary-red);
  padding: 3px 10px;
  border-radius: 6px;
  border: none;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 2px 8px rgba(227, 6, 19, 0.25);
}

.frontwall-player-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 2900 / 900;
  background: #0f172a;
  display: block;
  overflow: hidden;
}

.frontwall-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #0f172a;
}

/* Hide native browser fullscreen button */
.frontwall-video::-webkit-media-controls-fullscreen-button {
  display: none !important;
}

.frontwall-video::-webkit-media-controls-enclosure {
  overflow: hidden;
}

.screensaver-preview-wrap {
  width: 100%;
  position: relative;
  background: #ffffff;
  overflow: hidden;
  display: block;
}

.screensaver-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.screensaver-img:hover {
  transform: scale(1.01);
}

.timeline-box-footer {
  padding: 10px 16px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.timeline-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: var(--text-dark);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.timeline-download-btn svg {
  width: 14px;
  height: 14px;
  fill: var(--primary-red);
  transition: fill 0.2s ease;
}

.timeline-download-btn:hover {
  background: var(--primary-red);
  border-color: var(--primary-red);
  color: #ffffff;
}

.timeline-download-btn:hover svg {
  fill: #ffffff;
}

/* ==========================================================================
   Timeline Previews Grid (Side by Side in SEQ 01)
   ========================================================================== */
.timeline-previews-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
  margin-top: 16px;
  margin-bottom: 14px;
}

.timeline-previews-grid .preview-card {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  display: flex;
  flex-direction: column;
}

.grid-preview-wrap {
  position: relative;
  background: #ffffff;
  overflow: hidden;
  display: block;
}

.grid-preview-wrap .screensaver-img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  display: block;
}

@media (max-width: 860px) {
  .timeline-previews-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   3. FILE TRANSFER / AURA ORDNERSTRUKTUR SECTION
   ========================================================================== */
.file-transfer-section {
  background: #f8fafc;
}

.transfer-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 32px;
  align-items: start;
}

@media (max-width: 1024px) {
  .transfer-grid {
    grid-template-columns: 1fr;
  }
}

/* Folder Tree Card */
.folder-tree-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}

.folder-tree-header {
  background: #f8fafc;
  color: var(--text-dark);
  border-bottom: 1px solid var(--border-color);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.tree-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-dark);
}

.folder-header-icon {
  width: 20px;
  height: 20px;
  fill: #0284c7;
}

.tree-badge {
  font-family: monospace;
  font-size: 0.75rem;
  font-weight: 600;
  color: #475569;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  padding: 4px 10px;
  border-radius: 6px;
}

.folder-tree-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tree-root-file {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.88rem;
}

.tree-root-file code {
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
  font-size: 0.85rem;
  color: #0f172a;
  font-weight: 600;
}

.tree-folder-group {
  border-left: 2px solid #e2e8f0;
  padding-left: 16px;
  margin-left: 8px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tree-folder-group.highlight-group {
  border-left-color: var(--primary-red);
}

.tree-folder-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.94rem;
  color: var(--text-dark);
}

.folder-icon {
  font-size: 1.05rem;
}

.folder-meta {
  font-size: 0.78rem;
  color: #64748b;
  margin-left: auto;
  font-weight: 600;
}

.tree-file-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding-left: 20px;
}

.tree-file-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #475569;
}

.file-icon {
  font-size: 0.85rem;
}

.tree-file-list code {
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
  font-size: 0.82rem;
  color: #0f172a;
  background: #f1f5f9;
  padding: 2px 6px;
  border-radius: 4px;
}

.file-meta {
  font-size: 0.75rem;
  color: #64748b;
  margin-left: auto;
}

.file-tag {
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tag-excel {
  background: #15803d;
  color: #ffffff;
  border: none;
  margin-left: auto;
}

.tag-prores {
  background: #0f172a;
  color: #ffffff;
  border: none;
}

.tag-wav {
  background: #0284c7;
  color: #ffffff;
  border: none;
}

.tag-png {
  background: #4f46e5;
  color: #ffffff;
  border: none;
}

/* Deliverables Sidebar */
.deliverables-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.deliverable-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all 0.2s ease;
}

.deliverable-card:hover {
  transform: translateY(-2px);
  border-color: #cbd5e1;
  box-shadow: 0 6px 18px rgba(0,0,0,0.05);
}

.deliv-badge {
  align-self: flex-start;
  font-size: 0.70rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: #ffffff;
  background: var(--primary-red);
  padding: 4px 10px;
  border-radius: 6px;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 4px;
  box-shadow: 0 2px 8px rgba(227, 6, 19, 0.25);
}

.deliv-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-dark);
}

.deliv-desc {
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.5;
}

.aura-spec-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 12px 14px;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
}

.spec-name {
  color: #64748b;
  font-weight: 600;
}

.spec-val {
  color: var(--text-dark);
  font-weight: 700;
}

.deliv-specs {
  display: flex;
  gap: 12px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #475569;
  background: #f8fafc;
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
}

.deliv-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--primary-red);
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
  margin-top: 4px;
}

.deliv-btn:hover {
  background: var(--primary-red-hover);
  box-shadow: 0 4px 12px var(--primary-red-glow);
}

.deliv-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.deliv-btn.btn-pending {
  background: #cbd5e1;
  color: #64748b;
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: none !important;
  transform: none !important;
}

.deliv-btn.btn-pending svg {
  fill: #64748b;
}

/* Download Countdown Box in Transfer Action Card */
.download-countdown-box {
  margin: 6px 0 10px 0;
  padding: 12px 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.countdown-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: 0.01em;
}

.countdown-pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--primary-red);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(227, 6, 19, 0.7);
  animation: pulse-dot 1.8s infinite;
  flex-shrink: 0;
}

@keyframes pulse-dot {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(227, 6, 19, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 6px rgba(227, 6, 19, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(227, 6, 19, 0);
  }
}

.countdown-timer {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
}

.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 4px 6px;
  min-width: 44px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.countdown-num {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.countdown-text {
  font-size: 0.62rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.countdown-sep {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: #94a3b8;
  margin-top: -8px;
}

/* Contact Section: 2 Contacts Grid */
.contacts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.contact-person-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 14px;
  padding: 24px 26px;
  margin-top: 0;
  display: flex;
  align-items: center;
  gap: 18px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  transition: all 0.2s ease;
}

.contact-person-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  border-color: #cbd5e1;
}

.contact-avatar-wrap {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #ffffff;
  box-shadow: 0 0 0 2px var(--primary-red), 0 4px 12px rgba(0, 0, 0, 0.08);
  flex-shrink: 0;
  background: #f1f5f9;
}

.contact-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.contact-info {
  flex: 1;
  min-width: 160px;
}

.contact-heading {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-dark);
  margin: 0 0 3px 0;
  line-height: 1.2;
}

.contact-badge {
  font-size: 0.70rem;
  font-weight: 800;
  color: var(--primary-red);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 2px;
}

.contact-subtext {
  font-size: 0.85rem;
  color: #64748b;
  font-weight: 600;
  margin-top: 2px;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
}

.contact-channel-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 7px 12px;
  border-radius: 8px;
  color: var(--text-dark);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}

.contact-channel-item svg {
  width: 15px;
  height: 15px;
  fill: var(--primary-red);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.contact-channel-item:hover {
  background: #ffffff;
  border-color: var(--primary-red);
  color: var(--primary-red-dark);
  box-shadow: 0 2px 8px rgba(227, 6, 19, 0.08);
  transform: translateY(-1px);
}

.contact-channel-item:hover svg {
  transform: scale(1.1);
}

@media (max-width: 1100px) {
  .contacts-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .contact-person-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    gap: 16px;
  }
  .contact-channels {
    width: 100%;
  }
  .contact-channel-item {
    width: 100%;
    justify-content: flex-start;
  }
}

/* Site Footer */
.site-footer {
  background: #ffffff;
  border-top: 1px solid var(--border-color);
  padding: 24px 0;
  margin-top: auto;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.82rem;
  color: #64748b;
}

/* ==========================================================================
   Responsive Adaptations for Tablet & Smartphone
   ========================================================================== */

@media (max-width: 1080px) and (min-width: 769px) {
  .theater-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .playlist-sidebar {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 8px;
  }
  .playlist-header {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .section-container {
    padding: 30px 0 50px;
  }
  .theater-badge-bar {
    gap: 6px;
    margin-bottom: 10px;
  }
  .theater-badge {
    font-size: 0.65rem;
    padding: 3px 8px;
  }
  .section-header {
    margin-bottom: 20px;
  }
  .section-title {
    font-size: 1.55rem;
    padding-left: 12px;
  }
  .section-title::before {
    width: 4px;
  }
  .section-subtitle {
    font-size: 0.90rem;
    margin-left: 12px;
  }
  .theater-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* Video Info Header */
  .video-info-header {
    padding: 20px 16px;
    gap: 18px;
    border-radius: 12px;
  }
  .video-info-badge {
    font-size: 0.70rem;
  }
  .video-info-title {
    font-size: 1.25rem;
  }
  .video-info-subtitle {
    font-size: 0.95rem;
    margin-bottom: 12px;
  }
  .video-info-desc {
    font-size: 0.90rem;
    line-height: 1.65;
    margin-bottom: 16px;
  }
  .client-tags-section {
    padding: 12px 14px;
  }
  .client-tags-header {
    font-size: 0.78rem;
  }
  .client-tag-pill {
    font-size: 0.72rem;
    padding: 3px 8px;
  }
  .download-wrap {
    width: 100%;
  }
  .simple-download-btn {
    width: 100%;
    justify-content: center;
    padding: 12px 16px;
    font-size: 0.85rem;
  }

  /* Compact Horizontal Playlist on Mobile */
  .playlist-sidebar {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 4px;
  }
  .playlist-card {
    display: flex;
    flex-direction: row;
    align-items: center;
  }
  .playlist-card .card-thumb-wrap {
    width: 130px;
    min-width: 130px;
    aspect-ratio: 16 / 9;
    border-radius: 9px 0 0 9px;
  }
  .playlist-card .card-content {
    padding: 10px 14px;
    flex: 1;
    min-width: 0;
  }
  .playlist-card .card-content h4 {
    font-size: 0.88rem;
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .playlist-card .card-theme-subtitle {
    font-size: 0.76rem;
    line-height: 1.35;
  }
  .playlist-card .play-icon-small {
    width: 28px;
    height: 28px;
  }
  .playlist-card .play-icon-small svg {
    width: 14px;
    height: 14px;
  }

  /* Contacts & Footer */
  .contacts-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 36px;
  }
  .contact-person-card {
    padding: 16px;
    gap: 14px;
    border-radius: 12px;
  }
  .contact-avatar-wrap {
    width: 60px;
    height: 60px;
  }
  .contact-heading {
    font-size: 1.15rem;
  }
  .contact-badge {
    font-size: 0.68rem;
  }
  .contact-channel-item {
    font-size: 0.78rem;
    padding: 7px 11px;
  }
  .footer-inner {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
}

@media (max-width: 600px) {
  .custom-controls-bar {
    padding: 6px 10px 8px;
  }
  .controls-bottom-row {
    gap: 6px;
  }
  .control-btn {
    width: 32px;
    height: 32px;
  }
  .control-btn svg {
    width: 16px;
    height: 16px;
  }
  .volume-slider {
    width: 50px;
  }
  .time-display {
    font-size: 0.72rem;
    margin-left: 2px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  .section-title {
    font-size: 1.30rem;
  }
  .section-subtitle {
    font-size: 0.85rem;
    margin-left: 0;
  }
  .playlist-card .card-thumb-wrap {
    width: 110px;
    min-width: 110px;
  }
  .playlist-card .card-content {
    padding: 8px 10px;
  }
  .playlist-card .card-content h4 {
    font-size: 0.82rem;
  }
  .playlist-card .card-theme-subtitle {
    font-size: 0.72rem;
  }
  .contact-person-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .contact-channels {
    width: 100%;
  }
  .contact-channel-item {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .volume-slider {
    display: none;
  }
  .time-display {
    font-size: 0.68rem;
  }
  .big-play-btn {
    width: 54px;
    height: 54px;
  }
  .big-play-btn svg {
    width: 26px;
    height: 26px;
  }
}
