.fv-smart-home-vorschau .site-content {
  padding-top: 0;
}

.fv-smart-home-vorschau .site-content > .ast-container,
.fv-smart-home-vorschau.ast-separate-container .site-content > .ast-container,
.fv-smart-home-vorschau.ast-plain-container .site-content > .ast-container,
.fv-smart-home-vorschau.ast-separate-container #primary,
.fv-smart-home-vorschau.ast-separate-container.ast-right-sidebar #primary,
.fv-smart-home-vorschau.ast-separate-container.ast-left-sidebar #primary,
.fv-smart-home-vorschau.ast-plain-container #primary {
  max-width: none;
  width: 100%;
}

.fv-smart-home-vorschau .site-main {
  overflow: visible;
}

.fv-smart-home-vorschau .fv-demo-page {
  display: flex;
  flex-direction: column;
  overflow-x: clip;
}

/* Phase 3.13: `.fv-demo__inner`-Breitenregel entfernt.
 * Alle `__inner`-Wrapper tragen seit Phase 3.13 zusätzlich `.fv-shell`
 * (layout/shell.css), das exakt dieselbe Breitenlogik liefert. */

/* Nur Section „Interaktive Vorschau“: etwas mehr Breite fuer das Dashboard (Vorschau-Seite). */
.fv-smart-home-vorschau .fv-section--dashboard .fv-demo__inner.fv-shell {
  width: min(96rem, calc(100% - 2rem));
}

@media (max-width: 768px) {
  .fv-smart-home-vorschau .fv-section--dashboard .fv-demo__inner.fv-shell {
    width: min(96rem, calc(100% - 1.25rem));
  }
}

@media (max-width: 480px) {
  .fv-smart-home-vorschau .fv-section--dashboard .fv-demo__inner.fv-shell {
    width: min(96rem, calc(100% - 1rem));
  }
}

.fv-smart-home-vorschau h1,
.fv-smart-home-vorschau h2,
.fv-smart-home-vorschau h3,
.fv-smart-home-vorschau p {
  margin: 0;
}

.fv-smart-home-vorschau p {
  color: var(--color-text-muted);
}

.fv-smart-home-vorschau .fv-demo__hero-grid,
.fv-smart-home-vorschau .fv-demo__formavis-grid,
.fv-smart-home-vorschau .fv-demo__closing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.3rem, 2vw, 2.8rem);
  align-items: start;
}

.fv-smart-home-vorschau .fv-demo__hero-grid {
  align-items: center;
}

.fv-smart-home-vorschau .fv-demo__lead {
  max-width: 43rem;
  font-size: clamp(1.04rem, 0.98rem + 0.28vw, 1.22rem);
  line-height: 1.72;
}

.fv-smart-home-vorschau .fv-demo__hero-copy > * + * {
  margin-top: 1rem;
}

.fv-smart-home-vorschau .fv-demo__cta-group,
.fv-smart-home-vorschau .fv-demo__closing-actions {
  display: grid;
  gap: 0.9rem;
  align-items: start;
}

.fv-smart-home-vorschau .fv-demo__cta-row,
.fv-smart-home-vorschau .fv-demo__closing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
}

.fv-smart-home-vorschau .fv-demo__hero-list {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fv-smart-home-vorschau .fv-demo__hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  padding-top: 0.35rem;
}

.fv-smart-home-vorschau .fv-demo__hero-trust span,
.fv-smart-home-vorschau .fv-demo__hero-pulse {
  display: inline-flex;
  align-items: center;
  min-height: 2.2rem;
  padding: 0.2rem 0.85rem;
  border: 1px solid color-mix(in srgb, var(--color-border-strong) 64%, transparent);
  border-radius: 999px;
  background:
    linear-gradient(180deg, color-mix(in srgb, white 2%, var(--color-surface-soft)), color-mix(in srgb, var(--color-surface) 96%, transparent));
  color: var(--color-text);
  font-size: 0.85rem;
  font-weight: 650;
}

.fv-smart-home-vorschau .fv-demo__hero-list li {
  position: relative;
  padding-left: 1.2rem;
  color: var(--color-text);
}

.fv-smart-home-vorschau .fv-demo__hero-list li::before {
  content: "";
  position: absolute;
  top: 0.7rem;
  left: 0;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--color-accent), color-mix(in srgb, var(--color-warm) 60%, var(--color-accent)));
  box-shadow: 0 0 0 0.35rem color-mix(in srgb, var(--color-accent) 10%, transparent);
}

.fv-smart-home-vorschau .fv-demo__hero-stage {
  position: relative;
  min-height: clamp(24rem, 40vw, 34rem);
}

.fv-smart-home-vorschau .fv-demo__glow {
  position: absolute;
  inset: 6% 12% auto auto;
  width: min(28rem, 78%);
  aspect-ratio: 1;
  border-radius: 999px;
  background:
    radial-gradient(circle at 30% 32%, color-mix(in srgb, var(--color-accent) 24%, transparent), transparent 44%),
    radial-gradient(circle at 70% 66%, color-mix(in srgb, var(--color-warm) 14%, transparent), transparent 36%);
  filter: blur(4px);
  opacity: 0.86;
  pointer-events: none;
  animation: fv-demo-glow 18s ease-in-out infinite alternate;
}

/* Phase 3.13: Gemeinsame Card-Basis (border, radius, gradient, shadow-sm)
 * entfernt — abgedeckt durch `.fv-section-card` / `.fv-item-card` im Template.
 * Kachel-Optik (kleinerer Radius, eigener Verlauf) bleibt in den spezifischeren
 * Regeln für `.fv-demo__tile`, `.fv-demo__side-panel` usw. */

.fv-smart-home-vorschau .fv-demo__hero-panels {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-areas:
    "overview comfort"
    "overview logic"
    "live logic";
  gap: 1rem;
  padding: 1rem;
  box-shadow: var(--shadow-md);
}

.fv-smart-home-vorschau .fv-demo__hero-panel {
  display: grid;
  gap: 0.9rem;
  padding: 1.35rem;
  border: 1px solid color-mix(in srgb, var(--color-border) 88%, transparent);
  border-radius: calc(var(--radius-lg) - 0.1rem);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--color-surface-soft) 96%, white 4%), color-mix(in srgb, var(--color-surface) 94%, transparent));
  overflow: hidden;
}

.fv-smart-home-vorschau .fv-demo__hero-panel--overview {
  grid-area: overview;
}

.fv-smart-home-vorschau .fv-demo__hero-panel--comfort {
  grid-area: comfort;
}

.fv-smart-home-vorschau .fv-demo__hero-panel--logic {
  grid-area: logic;
}

.fv-smart-home-vorschau .fv-demo__hero-panel--live {
  grid-area: live;
}

.fv-smart-home-vorschau .fv-demo__hero-panel::after,
.fv-smart-home-vorschau .fv-demo__dashboard::after,
.fv-smart-home-vorschau .fv-demo__tile::after,
.fv-smart-home-vorschau .fv-demo__side-panel::after {
  content: "";
  position: absolute;
  inset: auto -12% -38% 30%;
  height: 9rem;
  background: radial-gradient(circle, color-mix(in srgb, var(--color-accent) 12%, transparent), transparent 70%);
  pointer-events: none;
  opacity: 0.9;
}

.fv-smart-home-vorschau .fv-demo__hero-pulse {
  justify-self: start;
  border-color: color-mix(in srgb, var(--color-accent) 28%, transparent);
  background: color-mix(in srgb, var(--color-accent) 10%, transparent);
}

.fv-smart-home-vorschau .fv-demo__hero-panel p,
.fv-smart-home-vorschau .fv-demo__tile-head p,
.fv-smart-home-vorschau .fv-demo__automation-meta {
  color: var(--color-accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.fv-smart-home-vorschau .fv-demo__hero-panel ul,
.fv-smart-home-vorschau .fv-demo__signal-list,
.fv-smart-home-vorschau .fv-demo__activity-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.fv-smart-home-vorschau .fv-demo__hero-panel ul,
.fv-smart-home-vorschau .fv-demo__signal-list {
  display: grid;
  gap: 0.8rem;
}

.fv-smart-home-vorschau .fv-demo__hero-panel li,
.fv-smart-home-vorschau .fv-demo__signal-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.8rem;
  border-top: 1px solid color-mix(in srgb, var(--color-border) 75%, transparent);
}

.fv-smart-home-vorschau .fv-demo__hero-panel li:first-child,
.fv-smart-home-vorschau .fv-demo__signal-list li:first-child {
  padding-top: 0;
  border-top: 0;
}

.fv-smart-home-vorschau .fv-demo__hero-panel li strong,
.fv-smart-home-vorschau .fv-demo__signal-list li strong {
  color: var(--color-text);
}

.fv-smart-home-vorschau .fv-demo__dashboard {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(0, 1.55fr) minmax(18rem, 0.75fr);
  gap: 1rem;
  padding: 1rem;
  box-shadow: var(--shadow-md);
  transition:
    border-color 360ms ease,
    box-shadow 360ms ease,
    background-color 360ms ease;
}

.fv-smart-home-vorschau [data-scene="evening"] .fv-demo__dashboard {
  border-color: color-mix(in srgb, var(--color-accent) 26%, var(--color-border));
  box-shadow:
    var(--shadow-md),
    0 0 0 1px color-mix(in srgb, var(--color-accent) 8%, transparent);
}

.fv-smart-home-vorschau [data-scene="home"] .fv-demo__dashboard {
  box-shadow:
    var(--shadow-md),
    0 18px 36px color-mix(in srgb, var(--color-accent) 10%, transparent);
}

.fv-smart-home-vorschau .fv-demo__dashboard-main,
.fv-smart-home-vorschau .fv-demo__dashboard-side,
.fv-smart-home-vorschau .fv-demo__tile-grid,
.fv-smart-home-vorschau .fv-demo__formavis-stack {
  display: grid;
  gap: 1rem;
  min-width: 0;
}

.fv-smart-home-vorschau .fv-demo__tile-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.fv-smart-home-vorschau .fv-demo__focus-panel {
  grid-template-columns: minmax(0, 1fr) minmax(16rem, min(24vw, 26rem));
  align-items: start;
}

/* Auto-Placement wuerde die Ueberschrift in die rechte Spalte setzen — explizit: links Szene/Text/Modi, rechts Kennzahlen. */
.fv-smart-home-vorschau .fv-demo__focus-panel .fv-demo__tile-head,
.fv-smart-home-vorschau .fv-demo__focus-panel > h3,
.fv-smart-home-vorschau .fv-demo__focus-panel > p,
.fv-smart-home-vorschau .fv-demo__focus-panel .fv-demo__mode-row {
  grid-column: 1;
  min-width: 0;
}

.fv-smart-home-vorschau .fv-demo__focus-panel .fv-demo__focus-summary {
  grid-column: 2;
  grid-row: 1 / -1;
  align-self: start;
  min-width: 0;
}

.fv-smart-home-vorschau .fv-demo__tile,
.fv-smart-home-vorschau .fv-demo__side-panel,
.fv-smart-home-vorschau .fv-demo__booking-card,
.fv-smart-home-vorschau .fv-demo__control-card,
.fv-smart-home-vorschau .fv-demo__formavis-card,
.fv-smart-home-vorschau .fv-demo__automation-card {
  display: grid;
  gap: 0.95rem;
  padding: 1.35rem;
  border: 1px solid color-mix(in srgb, var(--color-border) 88%, transparent);
  border-radius: calc(var(--radius-lg) - 0.1rem);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--color-surface-soft) 96%, white 4%), color-mix(in srgb, var(--color-surface) 94%, transparent));
  position: relative;
}

.fv-smart-home-vorschau button.fv-demo__tile,
.fv-smart-home-vorschau button.fv-btn,
.fv-smart-home-vorschau .fv-demo__mode-button {
  appearance: none;
  font: inherit;
}

.fv-smart-home-vorschau .fv-demo__tile {
  min-width: 0;
  align-content: start;
  text-align: left;
}

.fv-smart-home-vorschau .fv-demo__tile--interactive {
  cursor: pointer;
  min-height: 13rem;
  transition:
    transform 320ms ease,
    border-color 240ms ease,
    box-shadow 320ms ease,
    background-color 320ms ease,
    filter 320ms ease;
}

.fv-smart-home-vorschau .fv-demo__tile--interactive:hover,
.fv-smart-home-vorschau .fv-demo__tile--interactive:focus-visible {
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--color-border-strong) 86%, transparent);
  box-shadow: var(--shadow-md);
}

/* `.fv-demo__automation-card`, `__control-card`, `__formavis-card`: Hover identisch
 * zu `.fv-item-card:hover` — entfernt. */

.fv-smart-home-vorschau .fv-demo__tile--interactive.is-live {
  box-shadow:
    var(--shadow-md),
    0 0 0 1px color-mix(in srgb, var(--color-accent) 12%, transparent),
    0 0 0 0.55rem color-mix(in srgb, var(--color-accent) 8%, transparent);
  filter: saturate(1.04) brightness(1.03);
}

.fv-smart-home-vorschau .fv-demo__tile--focus {
  grid-column: 1 / -1;
  min-height: auto;
}

.fv-smart-home-vorschau .fv-demo__tile--status {
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--color-accent) 6%, var(--color-surface-soft)), color-mix(in srgb, var(--color-surface) 94%, transparent));
}

.fv-smart-home-vorschau .fv-demo__focus-summary {
  display: grid;
  gap: 0.75rem;
  align-content: start;
}

.fv-smart-home-vorschau .fv-demo__focus-pill {
  display: grid;
  gap: 0.3rem;
  min-height: auto;
  padding: 0.95rem 1rem;
  border: 1px solid color-mix(in srgb, var(--color-border-strong) 64%, transparent);
  border-radius: calc(var(--radius-md) + 0.2rem);
  background:
    linear-gradient(180deg, color-mix(in srgb, white 2%, var(--color-surface-soft)), color-mix(in srgb, var(--color-surface) 96%, transparent));
}

.fv-smart-home-vorschau .fv-demo__focus-pill span {
  color: var(--color-text-muted);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fv-smart-home-vorschau .fv-demo__focus-pill strong {
  color: var(--color-text);
  font-size: 0.98rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.fv-smart-home-vorschau .fv-demo__tile-head {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: center;
}

/* Ein Wort (z. B. „Systemstatus“) soll nicht mitten im Wort umbrechen. */
.fv-smart-home-vorschau .fv-demo__tile--status .fv-demo__tile-head p {
  white-space: nowrap;
}

.fv-smart-home-vorschau .fv-demo__tile-head span,
.fv-smart-home-vorschau .fv-demo__mode-button,
.fv-smart-home-vorschau .fv-demo__jump-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0.15rem 0.72rem;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--color-border-strong) 70%, transparent);
  background: color-mix(in srgb, var(--color-accent) 10%, transparent);
  color: var(--color-text);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}

.fv-smart-home-vorschau .fv-demo__mode-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.fv-smart-home-vorschau .fv-demo__mode-button {
  cursor: pointer;
  transition:
    border-color var(--transition-fast),
    background-color var(--transition-fast),
    transform var(--transition-fast);
}

.fv-smart-home-vorschau .fv-demo__mode-button.is-active {
  border-color: color-mix(in srgb, var(--color-accent) 48%, transparent);
  background: color-mix(in srgb, var(--color-accent) 18%, transparent);
}

.fv-smart-home-vorschau .fv-demo__tile h3,
.fv-smart-home-vorschau .fv-demo__side-panel h3,
.fv-smart-home-vorschau .fv-demo__automation-card h3,
.fv-smart-home-vorschau .fv-demo__control-card h3,
.fv-smart-home-vorschau .fv-demo__formavis-card h3,
.fv-smart-home-vorschau .fv-demo__inquiry-shell h3,
.fv-smart-home-vorschau .fv-demo__hero-panel h2 {
  font-size: clamp(1.05rem, 0.98rem + 0.22vw, 1.32rem);
  line-height: 1.18;
}

.fv-smart-home-vorschau .fv-demo__tile h3,
.fv-smart-home-vorschau .fv-demo__tile p {
  overflow-wrap: anywhere;
}

.fv-smart-home-vorschau .fv-demo__side-panel {
  min-height: 100%;
}

.fv-smart-home-vorschau .fv-demo__activity-list {
  display: grid;
  gap: 0.72rem;
}

.fv-smart-home-vorschau .fv-demo__system-meter {
  position: relative;
  height: 0.55rem;
  border-radius: 999px;
  overflow: hidden;
  background: color-mix(in srgb, var(--color-border) 35%, transparent);
}

.fv-smart-home-vorschau .fv-demo__system-meter span {
  display: block;
  width: var(--meter-width, 74%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, color-mix(in srgb, var(--color-accent) 50%, white 12%), color-mix(in srgb, var(--color-warm) 62%, var(--color-accent)));
  transition: width 520ms ease;
}

.fv-smart-home-vorschau .fv-demo__activity-list li {
  position: relative;
  padding-left: 1rem;
  color: var(--color-text);
}

.fv-smart-home-vorschau .fv-demo__activity-list li::before {
  content: "";
  position: absolute;
  top: 0.62rem;
  left: 0;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--color-accent) 78%, white 22%);
}

.fv-smart-home-vorschau .fv-demo__automation-grid,
.fv-smart-home-vorschau .fv-demo__control-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.fv-smart-home-vorschau .fv-demo__automation-story {
  display: grid;
  gap: 1rem;
  margin-top: 1rem;
  padding: 1.35rem;
}

.fv-smart-home-vorschau .fv-demo__automation-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.fv-smart-home-vorschau .fv-demo__automation-step {
  display: grid;
  gap: 0.45rem;
  padding: 1rem;
  border: 1px solid color-mix(in srgb, var(--color-border) 88%, transparent);
  border-radius: calc(var(--radius-md) + 0.15rem);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--color-surface-soft) 96%, white 4%), color-mix(in srgb, var(--color-surface) 94%, transparent));
  transition:
    border-color 260ms ease,
    box-shadow 260ms ease,
    transform 260ms ease;
}

.fv-smart-home-vorschau .fv-demo__automation-step strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--color-accent) 10%, transparent);
  color: var(--color-text);
}

.fv-smart-home-vorschau .fv-demo__automation-step span {
  color: var(--color-text);
  font-weight: 650;
}

.fv-smart-home-vorschau [data-automation-stage="presence"] .fv-demo__automation-step[data-automation-step="presence"],
.fv-smart-home-vorschau [data-automation-stage="scene"] .fv-demo__automation-step[data-automation-step="scene"],
.fv-smart-home-vorschau [data-automation-stage="comfort"] .fv-demo__automation-step[data-automation-step="comfort"],
.fv-smart-home-vorschau [data-automation-stage="system"] .fv-demo__automation-step[data-automation-step="system"] {
  border-color: color-mix(in srgb, var(--color-accent) 28%, var(--color-border));
  box-shadow:
    var(--shadow-sm),
    0 0 0 0.4rem color-mix(in srgb, var(--color-accent) 7%, transparent);
  transform: translateY(-2px);
}

.fv-smart-home-vorschau .fv-demo__control-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.fv-smart-home-vorschau .fv-demo__automation-trigger {
  width: 100%;
}

.fv-smart-home-vorschau .fv-demo__closing-copy {
  display: grid;
  gap: 1rem;
}

.fv-smart-home-vorschau .fv-demo__formavis-note {
  display: grid;
  gap: 0.4rem;
  padding: 1rem 1.1rem;
  border: 1px solid color-mix(in srgb, var(--color-border) 88%, transparent);
  border-radius: calc(var(--radius-md) + 0.2rem);
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--color-accent) 5%, var(--color-surface-soft)), color-mix(in srgb, var(--color-surface) 94%, transparent));
}

.fv-smart-home-vorschau .fv-demo__formavis-note strong,
.fv-smart-home-vorschau .fv-demo__formavis-note span {
  color: var(--color-text);
}

.fv-smart-home-vorschau .fv-demo__jump-link {
  background: color-mix(in srgb, var(--color-surface) 78%, transparent);
}

.fv-smart-home-vorschau .fv-demo__inquiry-shell {
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
}

.fv-smart-home-vorschau .fv-demo__inquiry-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.fv-smart-home-vorschau .fv-demo__field {
  display: grid;
  gap: 0.45rem;
}

.fv-smart-home-vorschau .fv-demo__field--full,
.fv-smart-home-vorschau .fv-demo__form-footer {
  grid-column: 1 / -1;
}

.fv-smart-home-vorschau .fv-demo__field label {
  color: var(--color-text);
  font-weight: 650;
}

.fv-smart-home-vorschau .fv-demo__field input,
.fv-smart-home-vorschau .fv-demo__field textarea {
  width: 100%;
  border: 1px solid color-mix(in srgb, var(--color-border) 95%, transparent);
  border-radius: 1rem;
  background: color-mix(in srgb, var(--color-bg-elevated) 88%, var(--color-surface-soft));
  color: var(--color-text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.fv-smart-home-vorschau .fv-demo__field input {
  min-height: 3.4rem;
  padding: 0.85rem 1rem;
}

.fv-smart-home-vorschau .fv-demo__field textarea {
  min-height: 8rem;
  padding: 0.95rem 1rem;
  resize: vertical;
}

.fv-smart-home-vorschau .fv-demo__field input::placeholder,
.fv-smart-home-vorschau .fv-demo__field textarea::placeholder {
  color: color-mix(in srgb, var(--color-text-muted) 86%, transparent);
}

.fv-smart-home-vorschau .fv-demo__field input:focus,
.fv-smart-home-vorschau .fv-demo__field textarea:focus,
.fv-smart-home-vorschau .fv-demo__tile--interactive:focus-visible,
.fv-smart-home-vorschau .fv-demo__automation-trigger:focus-visible,
.fv-smart-home-vorschau .fv-demo__mode-button:focus-visible,
.fv-smart-home-vorschau .fv-demo__jump-link:focus-visible {
  outline: none;
  border-color: color-mix(in srgb, var(--color-border-strong) 90%, transparent);
  box-shadow: var(--focus-ring);
}

.fv-smart-home-vorschau .fv-demo__form-footer {
  display: grid;
  gap: 0.8rem;
}

.fv-smart-home-vorschau .fv-demo__form-status {
  min-height: 1.35rem;
  color: color-mix(in srgb, var(--color-text-muted) 88%, transparent);
  font-size: 0.95rem;
}

.fv-smart-home-vorschau [data-scene="away"] .fv-demo__tile--interactive[data-control="security"],
.fv-smart-home-vorschau [data-security="armed"] .fv-demo__tile--interactive[data-control="security"] {
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--color-accent) 8%, var(--color-surface-soft)), color-mix(in srgb, var(--color-surface) 94%, transparent));
}

.fv-smart-home-vorschau [data-scene="home"] .fv-demo__tile--interactive[data-control="presence"],
.fv-smart-home-vorschau [data-scene="home"] .fv-demo__tile--interactive[data-control="lights"] {
  border-color: color-mix(in srgb, var(--color-accent) 24%, var(--color-border));
}

.fv-smart-home-vorschau [data-lights="on"] .fv-demo__tile--interactive[data-control="lights"] {
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--color-warm) 18%, var(--color-surface-soft)), color-mix(in srgb, var(--color-surface) 92%, transparent));
}

.fv-smart-home-vorschau [data-presence="away"] .fv-demo__tile--interactive[data-control="presence"] {
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--color-accent) 6%, var(--color-surface-soft)), color-mix(in srgb, var(--color-surface) 94%, transparent));
}

@keyframes fv-demo-glow {
  from {
    transform: translate3d(0, 0, 0) scale(0.98);
  }

  to {
    transform: translate3d(-1rem, 1rem, 0) scale(1.03);
  }
}

@media (max-width: 1180px) {
  .fv-smart-home-vorschau .fv-demo__dashboard {
    grid-template-columns: 1fr;
  }

  .fv-smart-home-vorschau .fv-demo__tile-grid,
  .fv-smart-home-vorschau .fv-demo__control-grid,
  .fv-smart-home-vorschau .fv-demo__automation-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1080px) {
  .fv-smart-home-vorschau .fv-demo__hero-grid,
  .fv-smart-home-vorschau .fv-demo__formavis-grid,
  .fv-smart-home-vorschau .fv-demo__closing-grid {
    grid-template-columns: 1fr;
  }

  .fv-smart-home-vorschau .fv-demo__automation-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .fv-smart-home-vorschau .fv-demo__hero-panels,
  .fv-smart-home-vorschau .fv-demo__tile-grid,
  .fv-smart-home-vorschau .fv-demo__control-grid,
  .fv-smart-home-vorschau .fv-demo__automation-steps,
  .fv-smart-home-vorschau .fv-demo__inquiry-form {
    grid-template-columns: 1fr;
  }

  .fv-smart-home-vorschau .fv-demo__hero-panels {
    grid-template-areas:
      "overview"
      "comfort"
      "logic"
      "live";
  }

  .fv-smart-home-vorschau .fv-demo__focus-panel {
    grid-template-columns: 1fr;
  }

  .fv-smart-home-vorschau .fv-demo__focus-panel .fv-demo__tile-head,
  .fv-smart-home-vorschau .fv-demo__focus-panel > h3,
  .fv-smart-home-vorschau .fv-demo__focus-panel > p,
  .fv-smart-home-vorschau .fv-demo__focus-panel .fv-demo__mode-row,
  .fv-smart-home-vorschau .fv-demo__focus-panel .fv-demo__focus-summary {
    grid-column: auto;
    grid-row: auto;
  }

  .fv-smart-home-vorschau .fv-demo__cta-group,
  .fv-smart-home-vorschau .fv-demo__closing-actions {
    align-items: stretch;
  }

  .fv-smart-home-vorschau .fv-demo__cta-group .fv-btn,
  .fv-smart-home-vorschau .fv-demo__closing-actions .fv-btn,
  .fv-smart-home-vorschau .fv-demo__form-footer button,
  .fv-smart-home-vorschau .fv-demo__automation-trigger {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .fv-smart-home-vorschau .fv-demo__hero-panels,
  .fv-smart-home-vorschau .fv-demo__dashboard,
  .fv-smart-home-vorschau .fv-demo__tile,
  .fv-smart-home-vorschau .fv-demo__side-panel,
  .fv-smart-home-vorschau .fv-demo__automation-card,
  .fv-smart-home-vorschau .fv-demo__control-card,
  .fv-smart-home-vorschau .fv-demo__formavis-card,
  .fv-smart-home-vorschau .fv-demo__inquiry-shell {
    padding: 1.1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fv-smart-home-vorschau .fv-demo__glow,
  .fv-smart-home-vorschau .fv-demo__tile--interactive,
  .fv-smart-home-vorschau .fv-btn,
  .fv-smart-home-vorschau .fv-demo__mode-button,
  .fv-smart-home-vorschau .fv-demo__automation-step,
  .fv-smart-home-vorschau .fv-demo__system-meter span {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}
