/* =====================================================
   DEMO PAGE – B&K Showcase
   ===================================================== */

.demo-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(22, 163, 74, 0.15);
  border: 1px solid rgba(22, 163, 74, 0.35);
  color: #4ade80;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
}

.demo-live-dot {
  width: 7px;
  height: 7px;
  background: #4ade80;
  border-radius: 50%;
  animation: pulse-green 2s infinite;
}

.demo-features {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
  justify-content: center;
}

.demo-features span {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* =====================================================
   BROWSER CHROME WRAPPER
   ===================================================== */

.portal-frame {
  background: #1c1c1e;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.07);
  margin-bottom: 20px;
}

.portal-chrome {
  background: #2c2c2e;
  padding: 13px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.portal-chrome-dots {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

.portal-chrome-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.portal-chrome-dots span:nth-child(1) { background: #ff5f57; }
.portal-chrome-dots span:nth-child(2) { background: #febc2e; }
.portal-chrome-dots span:nth-child(3) { background: #28c840; }

.portal-chrome-url {
  flex: 1;
  background: #3a3a3c;
  border-radius: 7px;
  padding: 6px 14px;
  color: #8e8e93;
  font-size: 0.76rem;
  font-family: 'SF Mono', 'Fira Code', 'Courier New', monospace;
  display: flex;
  align-items: center;
  gap: 6px;
}

.portal-chrome-url::before {
  content: '🔒';
  font-size: 0.65rem;
}

/* =====================================================
   PORTAL CONTENT (light theme)
   ===================================================== */

.portal-content {
  background: #f5f5f7;
  font-family: 'Inter', sans-serif;
}

/* Company Header */
.portal-company-header {
  background: #fff;
  padding: 24px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #e5e7eb;
}

.company-identity {
  display: flex;
  align-items: center;
  gap: 14px;
}

.company-logo-badge {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #1d1d1f 0%, #444 100%);
  color: #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}

.company-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1d1d1f;
  margin: 0 0 3px;
  font-family: 'Inter', sans-serif;
}

.company-meta {
  font-size: 0.78rem;
  color: #6e6e73;
  margin: 0;
}

.portal-header-stats {
  display: flex;
  gap: 32px;
}

.portal-header-stat strong {
  display: block;
  font-size: 1.35rem;
  font-weight: 700;
  color: #1d1d1f;
  line-height: 1;
}

.portal-header-stat span {
  font-size: 0.74rem;
  color: #6e6e73;
}

/* Portal Nav Tabs */
.portal-nav {
  background: #fff;
  padding: 0 36px;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  gap: 0;
  overflow-x: auto;
}

.portal-nav-tab {
  padding: 13px 18px;
  font-size: 0.84rem;
  font-weight: 500;
  color: #6e6e73;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  user-select: none;
  white-space: nowrap;
  font-family: 'Inter', sans-serif;
}

.portal-nav-tab.active {
  color: #1d1d1f;
  border-bottom-color: #1d1d1f;
}

.portal-nav-tab:hover:not(.active) {
  color: #1d1d1f;
}

/* Portal Main Area */
.portal-main {
  padding: 28px 36px;
}

/* Search Bar */
.portal-search {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.portal-search-icon {
  color: #8e8e93;
  font-size: 0.95rem;
}

.portal-search input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 0.86rem;
  color: #1d1d1f;
  background: transparent;
  font-family: 'Inter', sans-serif;
}

.portal-search input::placeholder {
  color: #b0b0b5;
}

/* Filter Pills */
.job-filter-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.filter-pill {
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px solid #e5e7eb;
  background: #fff;
  font-size: 0.78rem;
  font-weight: 500;
  color: #6e6e73;
  cursor: pointer;
  transition: all 0.18s;
  font-family: 'Inter', sans-serif;
}

.filter-pill.active {
  background: #1d1d1f;
  color: #fff;
  border-color: #1d1d1f;
}

.filter-pill:hover:not(.active) {
  border-color: #1d1d1f;
  color: #1d1d1f;
}

/* Job Listings */
.job-listings-portal {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.job-card-portal {
  background: #fff;
  border: 1.5px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.job-card-portal:hover {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
}

.job-card-portal.open {
  border-color: #1d1d1f;
}

.job-card-portal.hidden {
  display: none;
}

.job-card-header-portal {
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  user-select: none;
}

.job-icon-portal {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.job-icon-portal.vertrieb  { background: #dbeafe; }
.job-icon-portal.it        { background: #d1fae5; }
.job-icon-portal.finanzen  { background: #fef3c7; }
.job-icon-portal.technik   { background: #ede9fe; }

.job-card-info { flex: 1; min-width: 0; }

.job-card-title {
  font-size: 0.92rem;
  font-weight: 600;
  color: #1d1d1f;
  margin: 0 0 6px;
}

.job-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.dept-badge {
  padding: 2px 9px;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 600;
}

.dept-badge.vertrieb  { background: #dbeafe; color: #1d4ed8; }
.dept-badge.it        { background: #d1fae5; color: #065f46; }
.dept-badge.finanzen  { background: #fef3c7; color: #92400e; }
.dept-badge.technik   { background: #ede9fe; color: #5b21b6; }

.job-meta-pill {
  font-size: 0.74rem;
  color: #6e6e73;
}

.job-salary {
  font-size: 0.82rem;
  font-weight: 600;
  color: #1d1d1f;
  text-align: right;
  flex-shrink: 0;
  margin-right: 8px;
}

.job-chevron {
  color: #b0b0b5;
  transition: transform 0.25s;
  font-size: 0.75rem;
  flex-shrink: 0;
}

.job-card-portal.open .job-chevron {
  transform: rotate(180deg);
}

/* Job Detail (expanded) */
.job-card-detail {
  display: none;
  border-top: 1px solid #f0f0f0;
}

.job-card-portal.open .job-card-detail {
  display: block;
}

.job-detail-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.job-desc-col {
  padding: 24px 28px;
  border-right: 1px solid #f0f0f0;
}

.job-apply-col {
  padding: 24px 28px;
  background: #fafafa;
}

.job-desc-col h4,
.job-apply-col h4 {
  font-size: 0.72rem;
  font-weight: 700;
  color: #1d1d1f;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin: 0 0 10px;
}

.job-desc-col h4 + h4,
.job-desc-col ul + h4 {
  margin-top: 18px;
}

.job-ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.job-ul li {
  font-size: 0.82rem;
  color: #3d3d3f;
  padding-left: 14px;
  position: relative;
  line-height: 1.5;
}

.job-ul li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: #8e8e93;
}

/* Apply Form */
.apply-form-portal {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.apply-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.apply-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.apply-group label {
  font-size: 0.72rem;
  font-weight: 600;
  color: #3d3d3f;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.apply-group input,
.apply-group textarea,
.apply-group select {
  padding: 9px 11px;
  border: 1.5px solid #e5e7eb;
  border-radius: 7px;
  font-size: 0.82rem;
  color: #1d1d1f;
  outline: none;
  transition: border-color 0.18s;
  background: #fff;
  font-family: 'Inter', sans-serif;
}

.apply-group input:focus,
.apply-group textarea:focus,
.apply-group select:focus {
  border-color: #1d1d1f;
}

.apply-group textarea {
  resize: none;
  height: 68px;
}

/* File Upload */
.file-upload-area {
  border: 2px dashed #d1d5db;
  border-radius: 8px;
  padding: 14px 12px;
  text-align: center;
  cursor: pointer;
  transition: all 0.18s;
  background: #fff;
  position: relative;
  overflow: hidden;
}

.file-upload-area:hover {
  border-color: #1d1d1f;
  background: #f9fafb;
}

.file-upload-area.has-file {
  border-color: #16a34a;
  border-style: solid;
  background: #f0fdf4;
}

.file-upload-area input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.file-upload-area .fu-icon {
  font-size: 1.3rem;
  margin-bottom: 3px;
}

.file-upload-area .fu-text {
  font-size: 0.74rem;
  color: #6e6e73;
  margin: 0;
  line-height: 1.4;
}

.file-upload-area .fu-text span {
  color: #1d1d1f;
  font-weight: 600;
  text-decoration: underline;
}

.file-upload-area .fu-name {
  display: none;
  font-size: 0.74rem;
  color: #16a34a;
  font-weight: 600;
  margin: 0;
}

.file-upload-area.has-file .fu-name { display: block; }
.file-upload-area.has-file .fu-text { display: none; }
.file-upload-area.has-file .fu-icon::before { content: '✅'; }

/* Submit Button */
.portal-btn {
  background: #1d1d1f;
  color: #fff;
  border: none;
  padding: 11px 16px;
  border-radius: 8px;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s;
  font-family: 'Inter', sans-serif;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.portal-btn:hover { background: #3a3a3c; }
.portal-btn:disabled { background: #b0b0b5; cursor: not-allowed; }

/* Apply Success */
.apply-success {
  display: none;
  text-align: center;
  padding: 28px 0;
}

.apply-success.show { display: block; }

.apply-success-icon {
  width: 52px;
  height: 52px;
  background: #d1fae5;
  color: #065f46;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin: 0 auto 12px;
}

.apply-success h4 {
  font-size: 1rem !important;
  font-weight: 700;
  color: #1d1d1f !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  margin: 0 0 6px;
}

.apply-success p {
  font-size: 0.8rem;
  color: #6e6e73;
  margin: 0;
}

/* Portal Footer Badge */
.portal-powered {
  background: #fff;
  border-top: 1px solid #e5e7eb;
  padding: 12px 36px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: #8e8e93;
  flex-wrap: wrap;
}

.portal-powered a {
  color: #1d1d1f;
  font-weight: 600;
  text-decoration: none;
}

.portal-powered a:hover { text-decoration: underline; }

.portal-logo-sm {
  height: 22px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
  opacity: 0.85;
}

.portal-ai-chip {
  background: linear-gradient(135deg, #111, #333);
  color: #fff;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

/* =====================================================
   INDEX PAGE – DEMO SHOWCASE SECTION
   ===================================================== */

.demo-showcase {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 64px;
  align-items: center;
}

.demo-showcase-text .section-label { margin-bottom: 12px; }

.demo-showcase-text h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 18px;
}

.demo-showcase-text p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.demo-feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.demo-feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.demo-feature-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: #4ade80;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Mini preview frame */
.demo-preview-frame {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.demo-preview-chrome {
  background: #2c2c2e;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.demo-preview-dots {
  display: flex;
  gap: 5px;
}

.demo-preview-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.demo-preview-dots span:nth-child(1) { background: #ff5f57; }
.demo-preview-dots span:nth-child(2) { background: #febc2e; }
.demo-preview-dots span:nth-child(3) { background: #28c840; }

.demo-preview-urlbar {
  flex: 1;
  background: #3a3a3c;
  border-radius: 5px;
  padding: 5px 10px;
  font-size: 0.66rem;
  color: #8e8e93;
  font-family: monospace;
}

.demo-preview-body {
  background: #f5f5f7;
}

.demo-preview-topbar {
  background: #fff;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid #e5e7eb;
}

.demo-preview-logo-sm {
  width: 30px;
  height: 30px;
  background: #1d1d1f;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.58rem;
  font-weight: 800;
  flex-shrink: 0;
}

.demo-preview-co-name {
  font-size: 0.75rem;
  font-weight: 700;
  color: #1d1d1f;
  font-family: 'Inter', sans-serif;
}

.demo-preview-co-sub {
  font-size: 0.64rem;
  color: #8e8e93;
  font-family: 'Inter', sans-serif;
}

.demo-preview-jobs {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.demo-preview-job {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 9px;
}

.demo-preview-job-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.demo-preview-job-title {
  font-size: 0.7rem;
  font-weight: 600;
  color: #1d1d1f;
  margin: 0 0 3px;
  font-family: 'Inter', sans-serif;
}

.demo-preview-job-sub {
  font-size: 0.62rem;
  color: #8e8e93;
  font-family: 'Inter', sans-serif;
}

.demo-preview-badge {
  margin-left: auto;
  padding: 2px 7px;
  border-radius: 100px;
  font-size: 0.58rem;
  font-weight: 600;
  flex-shrink: 0;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */

@media (max-width: 900px) {
  .demo-showcase {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .portal-company-header {
    padding: 18px 22px;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .portal-nav { padding: 0 22px; }
  .portal-main { padding: 20px 22px; }

  .job-detail-cols {
    grid-template-columns: 1fr;
  }

  .job-desc-col {
    border-right: none;
    border-bottom: 1px solid #f0f0f0;
  }

  .apply-row { grid-template-columns: 1fr; }

  .portal-powered { padding: 12px 22px; }
}

@media (max-width: 600px) {
  .portal-header-stats { display: none; }
  .job-salary { display: none; }
}

/* =====================================================
   DEMO SECTION DIVIDER
   ===================================================== */

.demo-section-divider {
  text-align: center;
  padding: 20px 0 8px;
}

.demo-section-divider .section-label {
  justify-content: center;
  margin-bottom: 10px;
}

.demo-section-divider h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.demo-section-divider p {
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.7;
}

/* =====================================================
   ONBOARDING PORTAL (blue theme)
   ===================================================== */

/* Company header – navy blue */
.onboard-portal-header {
  background: #1e3a8a;
  padding: 18px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.onboard-company {
  display: flex;
  align-items: center;
  gap: 13px;
}

.onboard-logo {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  font-family: 'Inter', sans-serif;
  flex-shrink: 0;
}

.onboard-company-name {
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  margin: 0 0 2px;
}

.onboard-company-sub {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.74rem;
  font-family: 'Inter', sans-serif;
  margin: 0;
}

.onboard-ref-badge {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.9);
  padding: 5px 13px;
  border-radius: 6px;
  font-size: 0.73rem;
  font-family: 'SF Mono', 'Fira Code', monospace;
  flex-shrink: 0;
}

/* Welcome Banner */
.onboard-welcome {
  background: #eff6ff;
  border-bottom: 1px solid #dbeafe;
  padding: 18px 36px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.onboard-welcome-emoji {
  font-size: 1.8rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.onboard-welcome h3 {
  font-size: 0.98rem;
  font-weight: 700;
  color: #1e3a8a;
  margin: 0 0 5px;
  font-family: 'Inter', sans-serif;
}

.onboard-welcome p {
  font-size: 0.8rem;
  color: #4b5563;
  margin: 0;
  line-height: 1.55;
  font-family: 'Inter', sans-serif;
}

/* Progress Steps */
.onboard-progress-area {
  background: #fff;
  padding: 18px 36px;
  border-bottom: 1px solid #e5e7eb;
}

.onboard-steps-indicator {
  display: flex;
  align-items: flex-start;
  margin-bottom: 12px;
}

.onboard-step-dot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.onboard-step-num-badge {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid #d1d5db;
  background: #fff;
  color: #9ca3af;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  transition: all 0.3s;
}

.onboard-step-dot.active .onboard-step-num-badge {
  border-color: #1e3a8a;
  background: #1e3a8a;
  color: #fff;
}

.onboard-step-dot.done .onboard-step-num-badge {
  border-color: #16a34a;
  background: #16a34a;
  color: #fff;
  font-size: 0;
}

.onboard-step-dot.done .onboard-step-num-badge::before {
  content: '✓';
  font-size: 0.7rem;
}

.onboard-step-label {
  font-size: 0.66rem;
  color: #9ca3af;
  font-family: 'Inter', sans-serif;
  white-space: nowrap;
}

.onboard-step-dot.active .onboard-step-label,
.onboard-step-dot.done .onboard-step-label {
  color: #1e3a8a;
  font-weight: 600;
}

.onboard-connector {
  flex: 1;
  height: 2px;
  background: #e5e7eb;
  margin: 14px 8px 0;
  transition: background 0.3s;
}

.onboard-connector.done {
  background: #16a34a;
}

.onboard-progress-bar {
  height: 3px;
  background: #f3f4f6;
  border-radius: 2px;
  overflow: hidden;
}

.onboard-progress-fill {
  height: 100%;
  background: linear-gradient(to right, #1e3a8a, #3b82f6);
  border-radius: 2px;
  transition: width 0.45s ease;
  width: 25%;
}

/* Main content area */
.onboard-main {
  padding: 28px 36px;
  background: #f8fafc;
  min-height: 460px;
}

.onboard-step-content {
  display: none;
}

.onboard-step-content.active {
  display: block;
}

.onboard-step-title {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 22px;
}

.onboard-step-n {
  width: 34px;
  height: 34px;
  background: #1e3a8a;
  color: #fff;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.82rem;
  font-family: 'Inter', sans-serif;
  flex-shrink: 0;
  margin-top: 2px;
}

.onboard-step-title h3 {
  font-size: 0.98rem;
  font-weight: 700;
  color: #1d1d1f;
  margin: 0 0 3px;
  font-family: 'Inter', sans-serif;
}

.onboard-step-title p {
  font-size: 0.78rem;
  color: #6b7280;
  margin: 0;
  font-family: 'Inter', sans-serif;
}

/* Fields */
.onboard-field {
  margin-bottom: 18px;
}

.onboard-field label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  color: #374151;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 8px;
  font-family: 'Inter', sans-serif;
}

.onboard-field input,
.onboard-field select,
.onboard-field textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid #e5e7eb;
  border-radius: 8px;
  font-size: 0.83rem;
  color: #1d1d1f;
  background: #fff;
  outline: none;
  transition: border-color 0.18s;
  font-family: 'Inter', sans-serif;
  box-sizing: border-box;
}

.onboard-field input:focus,
.onboard-field select:focus,
.onboard-field textarea:focus {
  border-color: #1e3a8a;
}

.onboard-field textarea {
  resize: none;
  height: 88px;
}

.onboard-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* Single-select option cards */
.onboard-option-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.onboard-option-card {
  background: #fff;
  border: 1.5px solid #e5e7eb;
  border-radius: 10px;
  padding: 13px 10px;
  text-align: center;
  cursor: pointer;
  transition: all 0.18s;
  user-select: none;
  font-family: 'Inter', sans-serif;
}

.onboard-option-card:hover {
  border-color: #93c5fd;
  background: #eff6ff;
}

.onboard-option-card.selected {
  border-color: #1e3a8a;
  background: #1e3a8a;
  color: #fff;
}

.onboard-option-card .oc-icon {
  font-size: 1.3rem;
  margin-bottom: 5px;
  display: block;
}

.onboard-option-card .oc-label {
  font-size: 0.72rem;
  font-weight: 600;
}

/* Multi-select option cards */
.onboard-multi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.onboard-multi-card {
  background: #fff;
  border: 1.5px solid #e5e7eb;
  border-radius: 10px;
  padding: 11px 9px;
  text-align: center;
  cursor: pointer;
  transition: all 0.18s;
  user-select: none;
  position: relative;
  font-family: 'Inter', sans-serif;
}

.onboard-multi-card:hover {
  border-color: #93c5fd;
}

.onboard-multi-card.selected {
  border-color: #1e3a8a;
  background: #eff6ff;
  color: #1e3a8a;
}

.onboard-multi-card.selected::after {
  content: '✓';
  position: absolute;
  top: 5px;
  right: 7px;
  font-size: 0.62rem;
  font-weight: 700;
  color: #1e3a8a;
}

.onboard-multi-card .oc-icon {
  font-size: 1.15rem;
  margin-bottom: 4px;
  display: block;
}

.onboard-multi-card .oc-label {
  font-size: 0.69rem;
  font-weight: 600;
}

/* Checkbox requirement items */
.onboard-check-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.onboard-check-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1.5px solid #e5e7eb;
  border-radius: 8px;
  padding: 11px 14px;
  cursor: pointer;
  transition: all 0.18s;
  user-select: none;
  font-family: 'Inter', sans-serif;
}

.onboard-check-item:hover {
  border-color: #93c5fd;
}

.onboard-check-item.checked {
  border-color: #1e3a8a;
  background: #eff6ff;
}

.onboard-check-box {
  width: 17px;
  height: 17px;
  border: 2px solid #d1d5db;
  border-radius: 4px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.18s;
  font-size: 0;
}

.onboard-check-item.checked .onboard-check-box {
  background: #1e3a8a;
  border-color: #1e3a8a;
  color: #fff;
  font-size: 0.58rem;
}

.onboard-check-item.checked .onboard-check-box::after {
  content: '✓';
}

.onboard-check-icon {
  font-size: 1rem;
  flex-shrink: 0;
}

.onboard-check-text {
  flex: 1;
}

.onboard-check-text strong {
  display: block;
  font-size: 0.81rem;
  font-weight: 600;
  color: #1d1d1f;
}

.onboard-check-text span {
  font-size: 0.71rem;
  color: #6b7280;
}

/* Navigation buttons */
.onboard-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid #e5e7eb;
}

.onboard-btn-back {
  background: #fff;
  color: #374151;
  border: 1.5px solid #e5e7eb;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 0.83rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s;
  font-family: 'Inter', sans-serif;
}

.onboard-btn-back:hover {
  border-color: #1e3a8a;
  color: #1e3a8a;
}

.onboard-btn-next {
  background: #1e3a8a;
  color: #fff;
  border: none;
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 0.83rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s;
  font-family: 'Inter', sans-serif;
}

.onboard-btn-next:hover { background: #1e40af; }
.onboard-btn-next:disabled { background: #9ca3af; cursor: not-allowed; }

/* Confirmation screen */
.onboard-confirm {
  text-align: center;
  padding: 44px 20px;
}

.onboard-confirm-icon {
  width: 64px;
  height: 64px;
  background: #d1fae5;
  color: #065f46;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  margin: 0 auto 18px;
}

.onboard-confirm h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1d1d1f;
  margin: 0 0 8px;
  font-family: 'Inter', sans-serif;
}

.onboard-confirm > p {
  font-size: 0.83rem;
  color: #6b7280;
  margin: 0 auto 28px;
  max-width: 420px;
  line-height: 1.6;
  font-family: 'Inter', sans-serif;
}

.onboard-next-steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 380px;
  margin: 0 auto;
  text-align: left;
}

.onboard-next-step {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Inter', sans-serif;
}

.onboard-next-step-num {
  width: 26px;
  height: 26px;
  background: #1e3a8a;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
}

.onboard-next-step-text strong {
  display: block;
  font-size: 0.81rem;
  font-weight: 600;
  color: #1d1d1f;
}

.onboard-next-step-text span {
  font-size: 0.71rem;
  color: #6b7280;
}

/* Responsive */
@media (max-width: 700px) {
  .onboard-option-grid,
  .onboard-multi-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .onboard-row { grid-template-columns: 1fr; }
  .onboard-main { padding: 20px 20px; }
  .onboard-welcome { padding: 14px 20px; }
  .onboard-progress-area { padding: 14px 20px; }
  .onboard-portal-header { padding: 14px 20px; }
}

/* =====================================================
   MESSE PLANNER PORTAL (indigo/slate theme)
   ===================================================== */

/* Header – dark slate */
.messe-portal-header {
  background: #0f172a;
  padding: 18px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.messe-header-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.messe-header-logo {
  width: 44px;
  height: 44px;
  background: #6366f1;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 0.78rem;
  font-family: 'Inter', sans-serif;
  flex-shrink: 0;
}

.messe-header-company-name {
  color: #f1f5f9;
  font-weight: 700;
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  margin: 0 0 2px;
}

.messe-header-company-sub {
  color: #64748b;
  font-size: 0.74rem;
  font-family: 'Inter', sans-serif;
  margin: 0;
}

.messe-header-stats {
  display: flex;
  gap: 24px;
}

.messe-header-stat strong {
  display: block;
  font-size: 1.2rem;
  font-weight: 700;
  color: #f1f5f9;
  font-family: 'Inter', sans-serif;
  line-height: 1;
}

.messe-header-stat span {
  font-size: 0.7rem;
  color: #64748b;
  font-family: 'Inter', sans-serif;
}

/* Portal Nav – slate-800 */
.messe-portal-nav {
  background: #1e293b;
  padding: 0 36px;
  display: flex;
  gap: 0;
  border-bottom: 1px solid #334155;
  overflow-x: auto;
}

.messe-nav-tab {
  padding: 12px 18px;
  font-size: 0.82rem;
  font-weight: 500;
  color: #94a3b8;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
  font-family: 'Inter', sans-serif;
  user-select: none;
}

.messe-nav-tab.active {
  color: #f1f5f9;
  border-bottom-color: #6366f1;
}

.messe-nav-tab:hover:not(.active) { color: #cbd5e1; }

/* Timeline Section */
.messe-timeline-section {
  background: #fff;
  padding: 24px 36px;
  border-bottom: 1px solid #e5e7eb;
}

.tl-year-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 10px;
}

.tl-year-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #1d1d1f;
  font-family: 'Inter', sans-serif;
}

.tl-legend {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.tl-legend-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.7rem;
  color: #6b7280;
  font-family: 'Inter', sans-serif;
}

.tl-legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  flex-shrink: 0;
}

.tl-legend-dot.confirmed   { background: #16a34a; }
.tl-legend-dot.preparation { background: #d97706; }
.tl-legend-dot.planned     { background: #2563eb; }
.tl-legend-dot.concept     { background: #9ca3af; }

/* Timeline Grid */
.tl-grid-wrapper {
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
  overflow-x: auto;
}

.tl-months-row {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  background: #f1f5f9;
  border-bottom: 1px solid #e5e7eb;
}

.tl-month-cell {
  padding: 6px 4px;
  text-align: center;
  font-size: 0.68rem;
  font-weight: 600;
  color: #6b7280;
  font-family: 'Inter', sans-serif;
  border-right: 1px solid #e5e7eb;
  user-select: none;
}

.tl-month-cell:last-child { border-right: none; }
.tl-month-cell.current { color: #6366f1; background: #eef2ff; }

.tl-fairs-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto auto;
  gap: 3px;
  padding: 6px;
  min-height: 68px;
}

.tl-fair-block {
  border-radius: 5px;
  padding: 4px 7px;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: opacity 0.18s, transform 0.18s;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.tl-fair-block:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

.tl-fair-block .tl-fair-name {
  font-size: 0.68rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tl-fair-block .tl-fair-date {
  font-size: 0.6rem;
  color: rgba(255,255,255,0.8);
  white-space: nowrap;
}

.tl-fair-block.confirmed   { background: #16a34a; }
.tl-fair-block.preparation { background: #d97706; }
.tl-fair-block.planned     { background: #2563eb; }
.tl-fair-block.concept     { background: #9ca3af; }

.tl-month-bg {
  grid-row: 1 / 3;
  background: #eef2ff;
  border-radius: 3px;
  opacity: 0.4;
  pointer-events: none;
}

/* Summary bar below timeline */
.messe-summary-bar {
  display: flex;
  gap: 0;
  background: #f8fafc;
  border-bottom: 1px solid #e5e7eb;
}

.messe-summary-item {
  flex: 1;
  padding: 14px 24px;
  border-right: 1px solid #e5e7eb;
  font-family: 'Inter', sans-serif;
}

.messe-summary-item:last-child { border-right: none; }

.messe-summary-item strong {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  color: #1d1d1f;
  margin-bottom: 1px;
}

.messe-summary-item span {
  font-size: 0.72rem;
  color: #6b7280;
}

/* Main content area */
.messe-main {
  padding: 24px 36px;
  background: #f5f7fa;
}

/* Filter row */
.messe-filter-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.messe-filter-pill {
  padding: 5px 13px;
  border-radius: 100px;
  border: 1.5px solid #e5e7eb;
  background: #fff;
  font-size: 0.76rem;
  font-weight: 500;
  color: #6b7280;
  cursor: pointer;
  transition: all 0.18s;
  font-family: 'Inter', sans-serif;
  user-select: none;
}

.messe-filter-pill.active {
  background: #0f172a;
  color: #fff;
  border-color: #0f172a;
}

.messe-filter-pill:hover:not(.active) {
  border-color: #6366f1;
  color: #6366f1;
}

/* Messe Cards */
.messe-cards { display: flex; flex-direction: column; gap: 10px; }

.messe-card {
  background: #fff;
  border: 1.5px solid #e5e7eb;
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.messe-card:hover { box-shadow: 0 4px 18px rgba(0,0,0,0.07); }

.messe-card.open { border-color: #6366f1; }

.messe-card.hidden { display: none; }

.messe-card-header {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  user-select: none;
}

.messe-card-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  background: #eef2ff;
}

.messe-card-info { flex: 1; min-width: 0; }

.messe-card-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #1d1d1f;
  margin: 0 0 5px;
  font-family: 'Inter', sans-serif;
}

.messe-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.messe-status-badge {
  padding: 2px 8px;
  border-radius: 100px;
  font-size: 0.68rem;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
}

.messe-status-badge.confirmed   { background: #d1fae5; color: #065f46; }
.messe-status-badge.preparation { background: #fef3c7; color: #92400e; }
.messe-status-badge.planned     { background: #dbeafe; color: #1e40af; }
.messe-status-badge.concept     { background: #f3f4f6; color: #6b7280; }

.messe-meta-pill {
  font-size: 0.74rem;
  color: #6b7280;
  font-family: 'Inter', sans-serif;
}

.messe-card-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.messe-task-mini {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.76rem;
  font-family: 'Inter', sans-serif;
  color: #6b7280;
}

.messe-task-mini-bar {
  width: 48px;
  height: 4px;
  background: #e5e7eb;
  border-radius: 2px;
  overflow: hidden;
}

.messe-task-mini-fill {
  height: 100%;
  border-radius: 2px;
  background: #16a34a;
  transition: width 0.3s;
}

.messe-team-mini {
  display: flex;
  gap: -4px;
}

.messe-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #6366f1;
  color: #fff;
  font-size: 0.58rem;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #fff;
  margin-left: -6px;
  flex-shrink: 0;
}

.messe-avatar:first-child { margin-left: 0; }

.messe-avatar.green  { background: #16a34a; }
.messe-avatar.amber  { background: #d97706; }
.messe-avatar.rose   { background: #e11d48; }
.messe-avatar.teal   { background: #0d9488; }
.messe-avatar.purple { background: #7c3aed; }

.messe-chevron {
  color: #b0b0b5;
  transition: transform 0.25s;
  font-size: 0.75rem;
  flex-shrink: 0;
}

.messe-card.open .messe-chevron { transform: rotate(180deg); }

/* Card detail (expanded) */
.messe-card-detail {
  display: none;
  border-top: 1px solid #f0f0f0;
}

.messe-card.open .messe-card-detail { display: block; }

.messe-detail-cols {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
}

.messe-info-col {
  padding: 22px 26px;
  border-right: 1px solid #f0f0f0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.messe-tasks-col {
  padding: 22px 26px;
  background: #fafafa;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.messe-detail-section h5 {
  font-size: 0.68rem;
  font-weight: 700;
  color: #1d1d1f;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin: 0 0 10px;
  font-family: 'Inter', sans-serif;
}

.messe-info-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.messe-info-row {
  display: flex;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
}

.messe-info-row .mik {
  color: #9ca3af;
  width: 120px;
  flex-shrink: 0;
  font-size: 0.75rem;
}

.messe-info-row .miv {
  color: #1d1d1f;
  font-weight: 500;
}

/* Task checklist */
.messe-task-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.messe-task-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: #4b5563;
  cursor: pointer;
  padding: 4px 6px;
  border-radius: 5px;
  transition: background 0.15s;
  font-family: 'Inter', sans-serif;
}

.messe-task-item:hover { background: #f3f4f6; }

.messe-task-item.done { color: #9ca3af; }

.messe-task-check {
  width: 16px;
  height: 16px;
  border: 1.5px solid #d1d5db;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.15s;
  font-size: 0;
}

.messe-task-item.done .messe-task-check {
  background: #16a34a;
  border-color: #16a34a;
  color: #fff;
  font-size: 0.55rem;
}

.messe-task-item.done .messe-task-check::after { content: '✓'; }

.messe-task-item.done .messe-task-label { text-decoration: line-through; }

/* Team section in detail */
.messe-team-detail {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.messe-team-member {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
}

.messe-member-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #6366f1;
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: 'Inter', sans-serif;
}

.messe-member-name {
  font-size: 0.78rem;
  font-weight: 600;
  color: #1d1d1f;
}

.messe-member-role {
  font-size: 0.7rem;
  color: #6b7280;
}

/* Budget section */
.messe-budget-detail {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.messe-budget-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Inter', sans-serif;
  font-size: 0.76rem;
}

.messe-budget-row .bk { color: #6b7280; }
.messe-budget-row .bv { font-weight: 600; color: #1d1d1f; }

.messe-budget-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  border-top: 1px solid #e5e7eb;
  font-family: 'Inter', sans-serif;
}

.messe-budget-total-row .btk {
  font-size: 0.76rem;
  font-weight: 700;
  color: #1d1d1f;
}

.messe-budget-total-row .btv {
  font-size: 0.8rem;
  font-weight: 700;
  color: #1d1d1f;
}

.messe-budget-bar-wrapper {
  margin-top: 4px;
}

.messe-budget-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.68rem;
  color: #9ca3af;
  font-family: 'Inter', sans-serif;
  margin-bottom: 4px;
}

.messe-budget-bar {
  height: 6px;
  background: #e5e7eb;
  border-radius: 3px;
  overflow: hidden;
}

.messe-budget-fill {
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(to right, #6366f1, #818cf8);
  transition: width 0.5s ease;
}

.messe-budget-fill.over { background: linear-gradient(to right, #dc2626, #f87171); }

/* Responsive */
@media (max-width: 900px) {
  .messe-detail-cols { grid-template-columns: 1fr; }
  .messe-info-col { border-right: none; border-bottom: 1px solid #f0f0f0; }
  .messe-portal-header { padding: 14px 20px; }
  .messe-portal-nav { padding: 0 20px; }
  .messe-timeline-section { padding: 18px 20px; }
  .messe-main { padding: 18px 20px; }
  .messe-summary-bar { flex-wrap: wrap; }
  .messe-summary-item { min-width: 50%; }
  .messe-header-stats { display: none; }
}

/* =====================================================
   MOBILE RESPONSIVE (768px & below)
   ===================================================== */

@media (max-width: 768px) {
  /* Index showcase section */
  .demo-showcase {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* Bewerbungsportal – compact padding */
  .portal-company-header {
    padding: 14px 16px;
  }

  .portal-header-stats {
    display: none;
  }

  .portal-nav {
    padding: 0 16px;
  }

  .portal-main {
    padding: 16px;
  }

  .portal-powered {
    padding: 10px 16px;
  }

  .job-card-header-portal {
    padding: 14px 16px;
    gap: 10px;
  }

  .job-detail-cols {
    grid-template-columns: 1fr;
  }

  .job-desc-col {
    padding: 16px;
    border-right: none;
    border-bottom: 1px solid #f0f0f0;
  }

  .job-apply-col {
    padding: 16px;
  }

  .apply-row {
    grid-template-columns: 1fr;
  }

  .job-salary {
    display: none;
  }

  /* Onboarding portal – extra compact */
  .onboard-welcome {
    padding: 14px 16px;
  }

  .onboard-main {
    padding: 16px;
  }

  /* Messe portal – compact */
  .messe-portal-header {
    padding: 12px 16px;
  }

  .messe-portal-nav {
    padding: 0 14px;
  }

  .messe-timeline-section {
    padding: 14px 16px;
  }

  /* Force min-width so the 12-month grid scrolls horizontally */
  .tl-months-row,
  .tl-fairs-grid {
    min-width: 540px;
  }

  /* Summary bar: 2×2 grid instead of single column */
  .messe-summary-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .messe-summary-item {
    min-width: unset;
    border-right: none;
    border-bottom: 1px solid #e5e7eb;
    padding: 12px 16px;
  }

  .messe-main {
    padding: 14px 16px;
  }

  /* Card header: hide progress bar + team avatars, keep only chevron */
  .messe-task-mini,
  .messe-team-mini {
    display: none;
  }

  .messe-card-header {
    padding: 12px 14px;
    gap: 10px;
    align-items: flex-start;
  }

  .messe-card-icon {
    width: 36px;
    height: 36px;
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 2px;
  }

  .messe-card-right {
    gap: 8px;
    align-self: flex-start;
    margin-top: 2px;
  }

  .messe-card-meta {
    gap: 6px;
  }
}

@media (max-width: 480px) {
  /* Hide URL bar in browser chrome to save space */
  .portal-chrome-url {
    display: none;
  }

  .portal-chrome {
    padding: 10px 14px;
  }

  /* Demo feature chips */
  .demo-features span {
    font-size: 0.75rem;
    padding: 5px 10px;
  }

  /* Bewerbungsportal */
  .job-card-header-portal {
    flex-wrap: wrap;
  }

  /* Onboarding: single column option grid */
  .onboard-option-grid,
  .onboard-multi-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Messe: hide extra meta pills to reduce clutter */
  .messe-meta-pill:not(:first-child) {
    display: none;
  }

  .messe-summary-item strong {
    font-size: 0.9rem;
  }

  /* Timeline label */
  .tl-year-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .tl-legend {
    gap: 8px;
  }
}
