/* ==========================================================================
   ScreenSpot Verkaufspräsentation Stylesheet
   Theme: Obsidian Black (#050505), Accent Yellow (#FFC400), White (#FFFFFF)
   ========================================================================== */

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

:root {
  --bg-main: #050505;
  --bg-card: #121218;
  --bg-card-hover: #1A1A24;
  --border-color: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(255, 196, 0, 0.3);
  
  --yellow-primary: #FFC400;
  --yellow-glow: rgba(255, 196, 0, 0.4);
  --yellow-subtle: rgba(255, 196, 0, 0.12);
  
  --text-white: #FFFFFF;
  --text-muted: #A0A0B0;
  --text-dim: #606070;
  
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { width: 100%; height: 100%; background-color: var(--bg-main); color: var(--text-white); font-family: var(--font-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }

/* HUB VIEW */
.hub-container { max-width: 1400px; margin: 0 auto; padding: 2.5rem 2rem 5rem 2rem; min-height: 100vh; display: flex; flex-direction: column; }
.hub-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; padding-bottom: 1.2rem; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.brand-title { display: flex; align-items: center; gap: 1rem; }
.brand-logo-img { height: 44px; width: auto; object-fit: contain; }
.brand-title h1 { font-family: var(--font-heading); font-size: 1.8rem; font-weight: 800; color: #FFF; }
.brand-title h1 span { color: var(--yellow-primary); }
.hub-stats-badge { background: var(--yellow-subtle); border: 1px solid rgba(255,196,0,0.3); color: var(--yellow-primary); padding: 0.5rem 1.2rem; border-radius: 100px; font-size: 0.85rem; font-weight: 700; }

.filter-toolbar { display: flex; flex-wrap: wrap; gap: 1.2rem; justify-content: space-between; align-items: center; margin-bottom: 2.5rem; }
.search-box { position: relative; flex: 1; max-width: 450px; }
.search-box i { position: absolute; left: 1.2rem; top: 50%; transform: translateY(-50%); color: var(--text-muted); font-size: 1.1rem; }
.search-input { width: 100%; background: var(--bg-card); border: 1px solid var(--border-color); color: #FFF; padding: 0.85rem 1.2rem 0.85rem 3.2rem; border-radius: 100px; font-size: 0.95rem; outline: none; }
.search-input:focus { border-color: var(--yellow-primary); box-shadow: 0 0 20px rgba(255,196,0,0.2); }

.category-tabs { display: flex; gap: 0.6rem; }
.tab-btn { background: rgba(255,255,255,0.05); border: 1px solid var(--border-color); color: var(--text-muted); padding: 0.6rem 1.2rem; border-radius: 100px; font-size: 0.85rem; font-weight: 600; cursor: pointer; }
.tab-btn.active { background: var(--yellow-primary); color: #000; font-weight: 800; }

.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)); gap: 2rem; }
.card-item { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; cursor: pointer; transition: all 0.35s ease; }
.card-item:hover { transform: translateY(-8px); border-color: var(--yellow-primary); box-shadow: 0 20px 50px rgba(0,0,0,0.8); }
.card-thumb-wrapper { position: relative; width: 100%; height: 220px; background: #000; }
.card-thumb-img { width: 100%; height: 100%; object-fit: cover; opacity: 0.82; }
.card-thumb-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(0deg, rgba(18,18,24,0.95) 0%, rgba(18,18,24,0.1) 60%); }
.card-badge { position: absolute; top: 1rem; left: 1rem; background: rgba(18,18,24,0.85); border: 1px solid rgba(255,196,0,0.4); color: var(--yellow-primary); font-size: 0.72rem; font-weight: 800; padding: 0.35rem 0.8rem; border-radius: 100px; }
.card-slides-count { position: absolute; top: 1rem; right: 1rem; background: rgba(0,0,0,0.6); color: #FFF; font-size: 0.75rem; font-weight: 600; padding: 0.35rem 0.8rem; border-radius: 100px; }
.card-body { padding: 1.6rem; display: flex; flex-direction: column; justify-content: space-between; flex: 1; }
.card-title { font-family: var(--font-heading); font-size: 1.35rem; font-weight: 800; color: #FFF; margin-bottom: 0.4rem; }
.card-subtitle { font-size: 0.9rem; color: var(--text-muted); line-height: 1.45; margin-bottom: 1.2rem; }
.card-footer { display: flex; justify-content: space-between; align-items: center; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.06); font-size: 0.82rem; color: var(--text-dim); }
.play-action { color: var(--yellow-primary); font-weight: 700; display: flex; align-items: center; gap: 0.5rem; }

/* VIEWER STAGE */
.viewer-overlay { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: #000; z-index: 9999; display: none; flex-direction: column; align-items: center; justify-content: center; }
.viewer-overlay.active { display: flex; }

.viewer-topbar { position: absolute; top: 0; left: 0; width: 100%; padding: 1rem 2rem; display: flex; justify-content: space-between; align-items: center; background: linear-gradient(180deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 100%); z-index: 100; opacity: 0; transition: opacity 0.3s ease; }
.viewer-overlay:hover .viewer-topbar, .viewer-topbar:hover { opacity: 1; }
.viewer-title-info h3 { font-size: 1.1rem; font-weight: 800; color: #FFF; }
.viewer-title-info p { font-size: 0.8rem; color: var(--yellow-primary); font-weight: 600; }
.btn-close-viewer { background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2); color: #FFF; width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 1.1rem; }
.btn-close-viewer:hover { background: #FF5252; border-color: #FF5252; }

.viewer-stage { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; position: relative; padding: 0.8rem; }
.slide-canvas { width: 100%; max-width: 1350px; max-height: calc(100vh - 50px); aspect-ratio: 16 / 9; position: relative; background: #050505; border-radius: var(--radius-md); box-shadow: 0 0 100px rgba(0,0,0,0.95); border: 1px solid var(--border-color); overflow: hidden; }

.viewer-slide-content { width: 100%; height: 100%; padding: 2.2rem 3.2rem; display: flex; flex-direction: column; justify-content: space-between; background-color: #050505; opacity: 0; transform: scale(0.98); transition: opacity 0.35s ease, transform 0.35s ease; position: absolute; top: 0; left: 0; visibility: hidden; overflow-y: auto; }
.viewer-slide-content.active { opacity: 1; transform: scale(1); visibility: visible; }

.slide-header { display: flex; justify-content: space-between; align-items: center; width: 100%; margin-bottom: 0.6rem; flex-shrink: 0; }
.brand-logo-small { height: 38px; width: auto; object-fit: contain; }
.slide-tag { background: var(--yellow-subtle); border: 1px solid rgba(255,196,0,0.3); color: var(--yellow-primary); padding: 0.3rem 0.85rem; border-radius: 100px; font-size: 0.75rem; font-weight: 800; letter-spacing: 1px; }

.slide-body { flex: 1; display: flex; flex-direction: column; justify-content: center; position: relative; padding: 0.4rem 0; }
.slide-footer { display: flex; justify-content: space-between; align-items: center; width: 100%; padding-top: 0.6rem; border-top: 1px solid rgba(255,255,255,0.06); font-size: 0.72rem; color: var(--text-dim); flex-shrink: 0; }
.slide-footer span strong { color: var(--yellow-primary); }

h1, h2, h3, h4 { font-family: var(--font-heading); letter-spacing: -0.02em; line-height: 1.1; }
.heading-hero { font-size: 3rem; font-weight: 800; color: #FFF; max-width: 850px; }
.heading-page { font-size: 2.1rem; font-weight: 800; color: #FFF; margin-bottom: 0.25rem; }
.heading-page span { color: var(--yellow-primary); }
.subtitle-page { font-size: 0.98rem; color: var(--text-muted); font-weight: 400; max-width: 780px; margin-bottom: 1.1rem; line-height: 1.35; }

/* Question Stat Box Slide 2 */
.question-stat-box { background: #0F0F12; border: 1px solid var(--border-glow); border-radius: var(--radius-md); padding: 1.8rem 2rem; text-align: center; max-width: 720px; margin: 0 auto; box-shadow: inset 0 0 30px rgba(255,196,0,0.05); }
.big-stat-number { font-family: var(--font-heading); font-size: 4.2rem; font-weight: 900; color: var(--yellow-primary); line-height: 1; text-shadow: 0 0 30px rgba(255,196,0,0.4); }
.big-stat-label { font-size: 1.1rem; font-weight: 800; color: #FFF; margin-top: 0.4rem; letter-spacing: 1px; }
.question-desc { font-size: 0.95rem; color: var(--text-muted); margin-top: 0.8rem; line-height: 1.45; }

/* Timeline Schedule Slide 7 */
.timeline-schedule-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.timeline-slot { background: #0F0F12; border: 1px solid var(--border-color); border-radius: var(--radius-sm); padding: 1.1rem; text-align: center; }
.time-badge { display: inline-block; background: var(--yellow-subtle); border: 1px solid rgba(255,196,0,0.4); color: var(--yellow-primary); font-size: 0.78rem; font-weight: 800; padding: 0.25rem 0.7rem; border-radius: 100px; margin-bottom: 0.4rem; }
.time-title { font-size: 0.95rem; font-weight: 700; color: #FFF; }

/* Duration Pills Slide 8 */
.duration-pills-container { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.duration-pill { background: #0F0F12; border: 1px solid var(--border-glow); color: #FFF; font-size: 1.1rem; font-weight: 800; padding: 0.9rem 1.8rem; border-radius: 100px; display: flex; align-items: center; gap: 0.6rem; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }

/* Cost Breakdown Slide 10 */
.cost-split-container { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.cost-card-left { background: rgba(255,255,255,0.04); border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: 2rem; text-align: center; flex: 1; }
.cost-who { font-size: 1.1rem; font-weight: 800; color: var(--text-muted); }
.cost-amount { font-family: var(--font-heading); font-size: 4.2rem; font-weight: 900; color: var(--yellow-primary); line-height: 1; margin-top: 0.4rem; text-shadow: 0 0 30px rgba(255,196,0,0.4); }
.cost-card-right { background: #0F0F12; border: 1px solid var(--border-glow); border-radius: var(--radius-md); padding: 1.8rem; flex: 1.5; }
.cost-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 0.7rem; margin-top: 0.8rem; }
.cost-list li { font-size: 0.9rem; color: #FFF; display: flex; align-items: center; gap: 0.5rem; }
.cost-list li i { color: var(--yellow-primary); }

/* Food Chips Slide 5 */
.food-chips-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.food-chip { background: #0F0F12; border: 1px solid var(--border-glow); padding: 1rem; border-radius: var(--radius-sm); font-size: 1rem; font-weight: 800; color: #FFF; display: flex; align-items: center; gap: 0.7rem; box-shadow: 0 4px 20px rgba(0,0,0,0.4); }

/* Promo Grid Slide 6 & 11 */
.promo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.85rem; }
.promo-tile { background: #0F0F12; border: 1px solid var(--border-color); padding: 1rem 0.8rem; border-radius: var(--radius-sm); font-size: 0.88rem; font-weight: 700; color: #FFF; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 0.4rem; }

/* General Grids */
.checklist-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.85rem; }
.check-item { display: flex; align-items: flex-start; gap: 0.9rem; background: #0F0F12; border: 1px solid var(--border-color); padding: 0.85rem 1.1rem; border-radius: var(--radius-sm); }
.check-icon { font-size: 1.2rem; color: var(--yellow-primary); flex-shrink: 0; margin-top: 0.1rem; }
.check-text h4 { font-size: 0.92rem; color: #FFF; font-weight: 700; }

.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.benefit-card { background: #0F0F12; border: 1px solid var(--border-color); border-radius: var(--radius-sm); padding: 1.1rem; }
.benefit-card h3 { font-size: 1rem; color: #FFF; margin-bottom: 0.3rem; }
.benefit-card p { font-size: 0.8rem; color: var(--text-muted); }

.sectors-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.9rem; }
.sector-tile { background: #0F0F12; border: 1px solid var(--border-color); border-radius: var(--radius-sm); padding: 1rem 0.8rem; text-align: center; display: flex; flex-direction: column; align-items: center; }
.sector-icon { font-size: 1.6rem; margin-bottom: 0.4rem; }
.sector-name { font-size: 0.85rem; font-weight: 700; color: #FFF; }

.tech-layout { display: grid; grid-template-columns: 1.1fr 1fr; gap: 1.5rem; align-items: center; }
.hardware-showcase { position: relative; border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--border-glow); }
.hardware-img { width: 100%; max-height: 250px; object-fit: cover; display: block; }
.tech-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem; }
.tech-card { background: #0F0F12; border: 1px solid var(--border-color); padding: 0.95rem; border-radius: var(--radius-sm); }
.tech-card h4 { font-size: 0.88rem; color: #FFF; }

.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.95rem; }
.faq-card { background: #0F0F12; border: 1px solid var(--border-color); border-radius: var(--radius-sm); padding: 1.1rem; }
.faq-card h4 { font-size: 0.92rem; color: #FFF; margin-bottom: 0.3rem; display: flex; align-items: center; gap: 0.5rem; }
.faq-card p { font-size: 0.8rem; color: var(--text-muted); }

.steps-container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.step-card { background: #0F0F12; border: 1px solid var(--border-color); border-radius: var(--radius-md); padding: 1.2rem 1rem; display: flex; flex-direction: column; justify-content: space-between; height: 260px; }
.step-num { font-family: var(--font-heading); font-size: 2.5rem; font-weight: 900; color: transparent; -webkit-text-stroke: 2px rgba(255, 196, 0, 0.5); line-height: 1; }
.step-content h3 { font-size: 0.98rem; color: #FFF; margin: 0.4rem 0 0.3rem 0; }
.step-content p { font-size: 0.78rem; color: var(--text-muted); }

.slide-cover, .slide-backcover { padding: 0 !important; background-color: #000; }
.cover-bg-image, .backcover-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.55; }
.cover-gradient-overlay, .backcover-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(90deg, rgba(5,5,5,0.96) 0%, rgba(5,5,5,0.85) 45%, rgba(5,5,5,0.3) 100%); z-index: 2; }
.cover-content, .backcover-content { position: relative; z-index: 3; padding: 3rem 4rem; height: 100%; display: flex; flex-direction: column; justify-content: space-between; }
.cover-subtitle { font-size: 1.2rem; color: var(--text-muted); border-left: 3px solid var(--yellow-primary); padding-left: 1rem; margin-top: 0.8rem; }
.cover-footer { display: flex; justify-content: space-between; align-items: flex-end; border-top: 1px solid rgba(255,255,255,0.15); padding-top: 1rem; }
.backcover-content { align-items: center; justify-content: center; text-align: center; }
.backcover-statement { font-size: 2.4rem; font-weight: 900; color: #FFF; max-width: 850px; line-height: 1.15; margin-top: 1.2rem; }
.backcover-statement span { color: var(--yellow-primary); }

.btn-cta-large { display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem; background: var(--yellow-primary); color: #000; font-family: var(--font-heading); font-weight: 800; font-size: 0.95rem; padding: 0.85rem 1.8rem; border-radius: 100px; text-decoration: none; border: none; cursor: pointer; }

/* Viewer Control Dock */
.viewer-dock { position: absolute; bottom: 1.2rem; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 1.2rem; background: rgba(18, 18, 24, 0.88); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid rgba(255, 255, 255, 0.15); padding: 0.45rem 1.2rem; border-radius: 100px; z-index: 100; box-shadow: 0 20px 50px rgba(0,0,0,0.8); opacity: 0; transition: opacity 0.3s ease; }
.viewer-overlay:hover .viewer-dock, .viewer-dock:hover { opacity: 1; }
.dock-btn { background: transparent; border: none; color: #FFF; font-size: 1rem; width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.dock-btn:hover { background: var(--yellow-subtle); color: var(--yellow-primary); }
.dock-counter { font-family: var(--font-heading); font-size: 0.82rem; font-weight: 700; color: #FFF; }

.nav-arrow-left, .nav-arrow-right { position: absolute; top: 50%; transform: translateY(-50%); width: 45px; height: 80px; background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.08); color: #FFF; font-size: 1.5rem; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 90; opacity: 0; transition: all 0.3s ease; }
.nav-arrow-left { left: 0.6rem; border-radius: 0 12px 12px 0; }
.nav-arrow-right { right: 0.6rem; border-radius: 12px 0 0 12px; }
.viewer-overlay:hover .nav-arrow-left, .viewer-overlay:hover .nav-arrow-right { opacity: 0.5; }
.nav-arrow-left:hover, .nav-arrow-right:hover { opacity: 1 !important; background: var(--yellow-subtle); color: var(--yellow-primary); }

@media (max-width: 900px) {
  .cards-grid { grid-template-columns: 1fr; }
  .viewer-slide-content { padding: 1.8rem; }
  .heading-hero { font-size: 2rem; }
  .heading-page { font-size: 1.6rem; }
  .food-chips-grid, .promo-grid { grid-template-columns: repeat(2, 1fr); }
  .timeline-schedule-grid { grid-template-columns: 1fr; }
  .cost-split-container { flex-direction: column; }
}
