/* =========================================
   Demo – minimal (Video + kurze Texte)
   Abhängig von Layout.css (Tokens/Buttons/Container)
   ========================================= */

.demo {
  --accent: var(--brand);
  --panel: var(--surface);
  --line: var(--border);
}

/* Section / Typo */
.demo .section {
  padding-block: clamp(34px, 3vw, 80px);
  position: relative;
}

.demo .headline {
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: 0.1px;
}

.demo .h2 {
  font-size: clamp(1.75rem, 3.6vw, 2.5rem);
}

.demo .sub {
  color: var(--muted);
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  margin-top: 10px;
}

.demo .eyebrow {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--accent);
  font-size: 0.8rem;
}

.demo .cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}

/* Breadcrumbs (optional, sehr kompakt) */
.demo-breadcrumbs {
  margin-top: 10px;
  margin-bottom: 6px;
}

.demo-breadcrumbs ol {
  display: flex;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.demo-breadcrumbs li::after {
  content: "›";
  margin-left: 10px;
  color: color-mix(in oklab, var(--muted) 70%, transparent);
}

.demo-breadcrumbs li:last-child::after { content: ""; margin: 0; }

.demo-breadcrumbs a {
  color: inherit;
  text-decoration: none;
}
.demo-breadcrumbs a:hover { text-decoration: underline; }

/* Layout */
.demo .demo-wrap {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
  display: grid;
  gap: 18px;
}

.demo .demo-head {
  max-width: 880px;
}

/* Video (Landing-like) */
.demo .video-wrapper {
  position: relative;
  margin-top: 6px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 0 0, color-mix(in oklab, var(--brand) 8%, transparent), transparent),
    var(--panel);
  box-shadow: var(--shadow);
}

/* 16:9 Ratio */
.demo .video-wrapper::before {
  content: "";
  display: block;
  padding-top: 56.25%;
}

.demo .video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Note */
.demo .demo-note {
  max-width: 880px;
}

/* Reveal */
.demo .reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.demo .reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .demo * {
    transition: none !important;
    animation: none !important;
  }
}
