/* =========================================================
   Dashboard Showcase ("KI im Dashboard einstellen")
   ========================================================= */

.dash-section {
  background: var(--surface);
}

.dash-intro {
  max-width: 640px;
  margin: 0 auto 52px;
  text-align: center;
}

.dash-intro .eyebrow {
  justify-content: center;
  width: 100%;
}

/* Mockup frame */
.dash-frame {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  max-width: 980px;
  margin-inline: auto;
}

.dash-chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.dash-chrome .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line-strong);
}

.dash-chrome-url {
  margin-left: 12px;
  font-size: 0.74rem;
  color: var(--faint);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-full);
  padding: 4px 14px;
}

.dash-body {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: 460px;
}

.dash-sidebar {
  border-right: 1px solid var(--line);
  padding: 18px 12px;
  background: #fbfbfe;
}

.dash-sidebar-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--r);
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 2px;
}

.dash-sidebar-item svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.dash-sidebar-item.is-active {
  background: var(--brand-tint);
  color: var(--brand);
  font-weight: 600;
}

.dash-panel {
  padding: 32px 36px;
}

.dash-panel-head {
  margin-bottom: 22px;
}

.dash-panel-head h3 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.dash-panel-head p {
  font-size: 0.84rem;
  color: var(--muted);
}

.dash-field {
  margin-bottom: 20px;
}

.dash-field label {
  display: block;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--body);
  margin-bottom: 7px;
}

.dash-voice-options {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.dash-voice-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--r-full);
  border: 1.5px solid var(--line);
  font-size: 0.8rem;
  color: var(--body);
}

.dash-voice-pill.is-selected {
  border-color: var(--brand);
  background: var(--brand-tint);
  color: var(--brand);
  font-weight: 600;
}

.dash-voice-pill .bars {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 12px;
}

.dash-voice-pill .bars span {
  width: 2px;
  border-radius: 1px;
  background: currentColor;
  opacity: 0.6;
}

.dash-textarea {
  border: 1.5px solid var(--line);
  border-radius: var(--r);
  padding: 12px 14px;
  font-size: 0.82rem;
  color: var(--body);
  line-height: 1.6;
  background: #fff;
}

.dash-hours-grid {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.dash-day {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 0.68rem;
  color: var(--muted);
}

.dash-switch {
  width: 34px;
  height: 20px;
  border-radius: var(--r-full);
  background: var(--line-strong);
  position: relative;
}

.dash-switch.is-on {
  background: var(--brand);
}

.dash-switch::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.2s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.dash-switch.is-on::after {
  transform: translateX(14px);
}

.dash-preview {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px dashed var(--line);
}

.dash-preview-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--faint);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.dash-chat {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dash-bubble {
  max-width: 78%;
  padding: 9px 13px;
  border-radius: 12px;
  font-size: 0.8rem;
  line-height: 1.5;
}

.dash-bubble.ai {
  align-self: flex-start;
  background: var(--brand-tint);
  color: var(--ink);
  border-radius: 3px 12px 12px 12px;
}

.dash-bubble.user {
  align-self: flex-end;
  background: var(--surface);
  color: var(--muted);
  border-radius: 12px 3px 12px 12px;
}

/* Feature chips below mockup */
.dash-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 980px;
  margin: 36px auto 0;
}

.dash-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
}

.dash-feature svg {
  width: 18px;
  height: 18px;
  color: var(--brand);
  flex-shrink: 0;
  margin-top: 2px;
}

.dash-feature h4 {
  font-size: 0.86rem;
  margin-bottom: 3px;
}

.dash-feature p {
  font-size: 0.76rem;
  color: var(--muted);
  line-height: 1.5;
}

@media (max-width: 860px) {
  .dash-body {
    grid-template-columns: 1fr;
  }
  .dash-sidebar {
    display: flex;
    overflow-x: auto;
    border-right: none;
    border-bottom: 1px solid var(--line);
    gap: 4px;
  }
  .dash-sidebar-item {
    white-space: nowrap;
  }
  .dash-panel {
    padding: 24px 20px;
  }
  .dash-features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .dash-features {
    grid-template-columns: 1fr;
  }
}
