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

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

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

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

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

.fv-smart-building h1,
.fv-smart-building h2,
.fv-smart-building h3 {
  margin: 0;
}

.fv-smart-building p {
  margin: 0;
  color: var(--color-text-muted);
}

.fv-smart-building .fv-smart-building__lead {
  max-width: 42rem;
  font-size: clamp(1.04rem, 0.98rem + 0.28vw, 1.22rem);
  line-height: 1.72;
}

.fv-smart-building .fv-smart-building__hero-grid,
.fv-smart-building .fv-smart-building__solution-grid,
.fv-smart-building .fv-smart-building__system-grid,
.fv-smart-building .fv-smart-building__integration-grid,
.fv-smart-building .fv-smart-building__closing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 2vw, 2.6rem);
  align-items: start;
}

.fv-smart-building .fv-smart-building__hero-grid {
  align-items: center;
}

.fv-smart-building .fv-smart-building__hero-copy {
  position: relative;
  z-index: 1;
}

.fv-smart-building .fv-smart-building__hero-copy > * + * {
  margin-top: 1rem;
}

.fv-smart-building .fv-smart-building__cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
  padding-top: 0.4rem;
}

.fv-smart-building .fv-smart-building__hero-list {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fv-smart-building .fv-smart-building__hero-list li,
.fv-smart-building .fv-smart-building__closing-points span {
  color: var(--color-text);
}

.fv-smart-building .fv-smart-building__hero-list li {
  position: relative;
  padding-left: 1.2rem;
}

.fv-smart-building .fv-smart-building__hero-list li::before,
.fv-smart-building .fv-smart-building__problem-card::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-building .fv-smart-building__hero-stage {
  position: relative;
  min-height: clamp(31rem, 48vw, 40rem);
}

.fv-smart-building .fv-smart-building__hero-orbit {
  position: absolute;
  inset: 7% 3% auto auto;
  width: min(32rem, 82%);
  aspect-ratio: 1;
  border-radius: 999px;
  background:
    radial-gradient(circle at 34% 32%, color-mix(in srgb, var(--color-accent) 24%, transparent), transparent 42%),
    radial-gradient(circle at 70% 66%, color-mix(in srgb, var(--color-warm) 15%, transparent), transparent 36%);
  filter: blur(2px);
  opacity: 0.86;
  pointer-events: none;
  animation: fv-smart-building-orbit 18s ease-in-out infinite alternate;
}

.fv-smart-building .fv-smart-building__hero-panels {
  position: relative;
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  align-items: stretch;
  height: 100%;
}

/* Phase 3.11: Gemeinsame Card-Basis (border, radius, gradient, shadow-sm)
 * entfernt — abgedeckt durch `.fv-section-card` / `.fv-item-card` im Template.
 *
 * `__service-card`, `__object-card`, `__process-card`, `__trust-card` und
 * `__integration-note` erhalten Grid/Padding/Transition bzw. Hover aus der
 * `.fv-item-card`-Baseline, sofern die Page keine stärkere Regel setzt.
 *
 * `__status-panel`, `__system-panel` und `__integration-panel` tragen
 * `.fv-section-card` (ohne Baseline-Grid); der folgende Block behält ihr
 * bisheriges Innenlayout. */

.fv-smart-building .fv-smart-building__status-panel,
.fv-smart-building .fv-smart-building__system-panel,
.fv-smart-building .fv-smart-building__integration-panel {
  display: grid;
  gap: 0.95rem;
  padding: 1.4rem;
  transition:
    border-color var(--transition-base),
    background var(--transition-base),
    box-shadow var(--transition-base);
}

.fv-smart-building .fv-smart-building__status-panel {
  overflow: hidden;
  background: var(--fv-surface-vibrant);
  box-shadow: var(--shadow-sm);
  backdrop-filter: var(--fv-card-blur);
  -webkit-backdrop-filter: var(--fv-card-blur);
}

/* Item-Cards mit `.fv-item-card`: Hover identisch zu Baseline — entfernt.
 * Hero-Status-, System- und Integrations-Panels (`.fv-section-card`) behalten den Lift. */
.fv-smart-building .fv-smart-building__status-panel:hover,
.fv-smart-building .fv-smart-building__system-panel:hover,
.fv-smart-building .fv-smart-building__integration-panel:hover {
  transform: none;
  border-color: color-mix(in srgb, var(--color-accent) 20%, var(--color-border));
  background: color-mix(in srgb, var(--fv-surface-vibrant) 96%, var(--color-accent));
  box-shadow: var(--shadow-sm);
}

.fv-smart-building .fv-smart-building__status-panel::after {
  content: "";
  position: absolute;
  inset: auto -15% -40% 30%;
  height: 10rem;
  background: radial-gradient(circle, color-mix(in srgb, var(--color-accent) 18%, transparent), transparent 70%);
  pointer-events: none;
}

.fv-smart-building .fv-smart-building__status-panel--primary {
  justify-content: space-between;
}

.fv-smart-building .fv-smart-building__hero-summary {
  display: grid;
  gap: 1rem;
  padding: 1.4rem;
  align-content: start;
  background: color-mix(in srgb, var(--color-surface) 95%, transparent);
}

.fv-smart-building .fv-smart-building__hero-summary h2 {
  font-size: clamp(1.05rem, 0.98rem + 0.3vw, 1.3rem);
  line-height: 1.2;
}

.fv-smart-building .fv-smart-building__hero-summary-list {
  display: grid;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fv-smart-building .fv-smart-building__hero-summary-list li {
  display: grid;
  gap: 0.3rem;
  padding-top: 0.85rem;
  border-top: 1px solid color-mix(in srgb, var(--color-border) 72%, transparent);
}

.fv-smart-building .fv-smart-building__hero-summary-list li:first-child {
  padding-top: 0;
  border-top: 0;
}

.fv-smart-building .fv-smart-building__hero-summary-list strong {
  color: var(--color-text);
  font-size: 0.94rem;
  font-weight: 650;
}

.fv-smart-building .fv-smart-building__hero-summary-list span {
  color: var(--color-text-muted);
  line-height: 1.6;
}

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

.fv-smart-building .fv-smart-building__panel-head p {
  color: var(--color-text);
  font-size: 0.95rem;
  font-weight: 650;
}

.fv-smart-building .fv-smart-building__panel-head span {
  display: inline-flex;
  align-items: center;
  min-height: 1.95rem;
  padding: 0.1rem 0.7rem;
  border: 1px solid color-mix(in srgb, var(--color-border-strong) 70%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--color-accent) 10%, transparent);
  color: var(--color-text);
  font-size: 0.82rem;
  font-weight: 700;
}

.fv-smart-building .fv-smart-building__status-panel h2 {
  font-size: clamp(1.12rem, 1.02rem + 0.4vw, 1.55rem);
  line-height: 1.12;
}

.fv-smart-building .fv-smart-building__metrics {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fv-smart-building .fv-smart-building__metrics li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 0;
  border-top: 1px solid color-mix(in srgb, var(--color-border) 75%, transparent);
}

.fv-smart-building .fv-smart-building__metrics li:first-child {
  border-top: 0;
  padding-top: 0;
}

.fv-smart-building .fv-smart-building__metrics span {
  color: var(--color-text-muted);
}

.fv-smart-building .fv-smart-building__metrics strong {
  color: var(--color-text);
  font-size: 0.95rem;
}

.fv-smart-building .fv-smart-building__problem-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}

.fv-smart-building .fv-smart-building__service-grid,
.fv-smart-building .fv-smart-building__object-grid,
.fv-smart-building .fv-smart-building__process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.fv-smart-building .fv-smart-building__trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.fv-smart-building .fv-smart-building__problem-card {
  padding: 1.35rem 1.35rem 1.35rem 2.2rem;
}

.fv-smart-building .fv-smart-building__problem-card::before {
  left: 1.35rem;
}

.fv-smart-building .fv-smart-building__problem-card h3,
.fv-smart-building .fv-smart-building__solution-panel h3,
.fv-smart-building .fv-smart-building__service-card h3,
.fv-smart-building .fv-smart-building__object-card h3,
.fv-smart-building .fv-smart-building__system-panel h3,
.fv-smart-building .fv-smart-building__integration-panel h3,
.fv-smart-building .fv-smart-building__integration-note h3,
.fv-smart-building .fv-smart-building__process-card h3,
.fv-smart-building .fv-smart-building__trust-card h3,
.fv-smart-building .fv-smart-building__booking-card h3,
.fv-smart-building .fv-smart-building__inquiry-shell h3 {
  font-size: clamp(1.05rem, 0.98rem + 0.22vw, 1.3rem);
  line-height: 1.18;
}

.fv-smart-building .fv-smart-building__solution-stack,
.fv-smart-building .fv-smart-building__system-panels,
.fv-smart-building .fv-smart-building__integration-stack {
  display: grid;
  gap: 1rem;
}

.fv-smart-building .fv-smart-building__solution-panel,
.fv-smart-building .fv-smart-building__integration-note,
.fv-smart-building .fv-smart-building__booking-card,
.fv-smart-building .fv-smart-building__inquiry-shell {
  padding: 1.5rem;
}

.fv-smart-building .fv-smart-building__solution-label,
.fv-smart-building .fv-smart-building__booking-label {
  color: var(--color-accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.fv-smart-building .fv-smart-building__service-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-top: auto;
  color: var(--color-text);
  font-size: 0.93rem;
  font-weight: 650;
}

.fv-smart-building .fv-smart-building__integration-note .fv-btn {
  justify-self: start;
}

.fv-smart-building .fv-smart-building__closing-copy {
  display: grid;
  gap: 1rem;
}

.fv-smart-building .fv-smart-building__closing-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.fv-smart-building .fv-smart-building__closing-points span {
  display: inline-flex;
  align-items: center;
  min-height: 2.45rem;
  padding: 0.2rem 0.95rem;
  border: 1px solid color-mix(in srgb, var(--color-border) 88%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--color-surface) 78%, transparent);
}

.fv-smart-building .fv-smart-building__booking-card {
  display: grid;
  gap: 0.85rem;
  margin-top: 0.35rem;
}

.fv-smart-building .fv-smart-building__booking-card .fv-btn {
  justify-self: start;
}

.fv-smart-building .fv-smart-building__inquiry-shell {
  display: grid;
  gap: 1rem;
}

.fv-smart-building .fv-smart-building__inquiry-intro {
  max-width: 34rem;
}

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

.fv-smart-building .fv-smart-building__field {
  display: grid;
  gap: 0.45rem;
}

.fv-smart-building .fv-smart-building__field--full,
.fv-smart-building .fv-smart-building__form-footer {
  grid-column: 1 / -1;
}

.fv-smart-building .fv-smart-building__field label {
  color: var(--color-text);
  font-weight: 650;
}

.fv-smart-building .fv-smart-building__field input,
.fv-smart-building .fv-smart-building__field select,
.fv-smart-building .fv-smart-building__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-building .fv-smart-building__field input,
.fv-smart-building .fv-smart-building__field select {
  min-height: 3.4rem;
  padding: 0.85rem 1rem;
}

.fv-smart-building .fv-smart-building__field textarea {
  min-height: 8rem;
  padding: 0.95rem 1rem;
  resize: vertical;
}

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

.fv-smart-building .fv-smart-building__field input:focus,
.fv-smart-building .fv-smart-building__field select:focus,
.fv-smart-building .fv-smart-building__field textarea:focus {
  border-color: color-mix(in srgb, var(--color-border-strong) 90%, transparent);
  outline: none;
  box-shadow: var(--focus-ring);
}

.fv-smart-building .fv-smart-building__form-footer {
  display: grid;
  gap: 0.8rem;
}

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

.fv-smart-building [data-reveal-card] {
  transition-delay: inherit;
}

@keyframes fv-smart-building-orbit {
  from {
    transform: translate3d(0, 0, 0) scale(0.98);
  }

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

@media (max-width: 1180px) {
  .fv-smart-building .fv-smart-building__problem-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1080px) {
  .fv-smart-building .fv-smart-building__hero-grid,
  .fv-smart-building .fv-smart-building__solution-grid,
  .fv-smart-building .fv-smart-building__system-grid,
  .fv-smart-building .fv-smart-building__integration-grid,
  .fv-smart-building .fv-smart-building__closing-grid {
    grid-template-columns: 1fr;
  }

  .fv-smart-building .fv-smart-building__service-grid,
  .fv-smart-building .fv-smart-building__object-grid,
  .fv-smart-building .fv-smart-building__process-grid,
  .fv-smart-building .fv-smart-building__trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fv-smart-building .fv-smart-building__hero-stage {
    min-height: auto;
  }
}

@media (max-width: 768px) {
  .fv-smart-building .fv-smart-building__problem-grid,
  .fv-smart-building .fv-smart-building__service-grid,
  .fv-smart-building .fv-smart-building__object-grid,
  .fv-smart-building .fv-smart-building__process-grid,
  .fv-smart-building .fv-smart-building__trust-grid,
  .fv-smart-building .fv-smart-building__inquiry-form {
    grid-template-columns: 1fr;
  }

  .fv-smart-building .fv-smart-building__hero-panels {
    grid-template-columns: 1fr;
    grid-template-areas:
      "primary"
      "energy"
      "zones"
      "automation"
      "security";
  }

  .fv-smart-building .fv-smart-building__cta-group {
    align-items: stretch;
  }

  .fv-smart-building .fv-smart-building__cta-group .fv-btn,
  .fv-smart-building .fv-smart-building__form-footer button,
  .fv-smart-building .fv-smart-building__booking-card .fv-btn,
  .fv-smart-building .fv-smart-building__integration-note .fv-btn {
    width: 100%;
    justify-content: center;
  }

  .fv-smart-building .fv-smart-building__closing-points {
    display: grid;
  }
}

@media (max-width: 480px) {
  .fv-smart-building .fv-smart-building__status-panel,
  .fv-smart-building .fv-smart-building__problem-card,
  .fv-smart-building .fv-smart-building__solution-panel,
  .fv-smart-building .fv-smart-building__service-card,
  .fv-smart-building .fv-smart-building__object-card,
  .fv-smart-building .fv-smart-building__system-panel,
  .fv-smart-building .fv-smart-building__integration-panel,
  .fv-smart-building .fv-smart-building__integration-note,
  .fv-smart-building .fv-smart-building__process-card,
  .fv-smart-building .fv-smart-building__trust-card,
  .fv-smart-building .fv-smart-building__booking-card,
  .fv-smart-building .fv-smart-building__inquiry-shell {
    padding: 1.1rem;
  }

  .fv-smart-building .fv-smart-building__problem-card {
    padding-left: 1.9rem;
  }

  .fv-smart-building .fv-smart-building__problem-card::before {
    left: 1.1rem;
  }
}
