*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .btn,
  .switch span,
  .switch span::after {
    transition: none !important;
  }
  .btn:active { transform: none !important; }
  .marquee-track { animation: none !important; }
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font: var(--text-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }

:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: var(--space-4);
  top: var(--space-4);
  padding: var(--space-2) var(--space-4);
  background: var(--ink);
  color: var(--on-ink);
  border-radius: var(--radius-sm);
  font: var(--text-button);
  text-decoration: none;
  transform: translateY(-200%);
  z-index: 1000;
}
.skip-link:focus { transform: translateY(0); }

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding-inline: var(--space-6);
}

.full-bleed {
  width: 100%;
}

.bleed-inset {
  padding-inline: var(--space-6);
}

@media (min-width: 1024px) {
  .container { padding-inline: var(--space-6); }
  .bleed-inset { padding-inline: var(--space-6); }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 75px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
}

.site-header .container {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.05em;
  font-size: 18px;
  flex-shrink: 0;
}

.brand .mark {
  width: 28px;
  height: 28px;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: clamp(14px, 2vw, 24px);
  margin-left: auto;
}

.nav-desktop a {
  white-space: nowrap;
  color: var(--ink-2);
  text-decoration: none;
  font: var(--text-button);
}
.nav-desktop a:hover { color: var(--ink); }

.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-left: auto;
  flex-shrink: 0;
}

.header-actions .btn {
  white-space: nowrap;
  flex-shrink: 0;
}

@media (min-width: 861px) {
  .nav-desktop { display: flex; }
  .header-actions { margin-left: 0; }
  .nav-toggle { display: none; }
}

@media (max-width: 860px) {
  .site-header .container {
    padding-inline: var(--space-4);
    gap: var(--space-2);
  }
}

@media (max-width: 600px) {
  .header-actions > .btn-primary {
    display: none;
  }
}

.nav-toggle {
  border: 1px solid var(--line-strong);
  background: var(--surface-raised);
  color: var(--ink);
  border-radius: var(--radius-pill);
  min-height: 44px;
  min-width: 84px;
  padding: var(--space-2) var(--space-4);
  font: var(--text-button);
  cursor: pointer;
}

.site-header.menu-open {
  background: var(--surface);
  border-bottom-color: var(--line);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

/* Mobiles Menü: eigenes, deckendes Vollflächen-Panel außerhalb des Headers.
   Der Header hat backdrop-filter und würde sonst jedes fixed-Kind auf seine
   75px Höhe zusammenziehen. */
.nav-mobile {
  display: none;
  position: fixed;
  top: 75px;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 45;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--space-8);
  padding: var(--space-4) var(--space-6) calc(var(--space-8) + env(safe-area-inset-bottom, 0px));
  background: var(--surface);
  border-top: 1px solid var(--line);
  box-shadow: 0 24px 48px rgba(22, 22, 22, 0.18);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.nav-mobile.is-open { display: flex; }
.nav-mobile[hidden] { display: none; }

@media (min-width: 861px) {
  .nav-mobile, .nav-mobile.is-open { display: none; }
}

.nav-mobile-links {
  display: flex;
  flex-direction: column;
}

.nav-mobile-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  color: var(--ink);
  text-decoration: none;
  font: 500 28px/1.1 var(--font-sans);
  letter-spacing: -0.03em;
  border-bottom: 1px solid var(--line);
}
.nav-mobile-links a::after {
  content: "→";
  font-size: 22px;
  color: var(--ink-3);
}
.nav-mobile-links a:hover,
.nav-mobile-links a:focus-visible { color: var(--moss); }

.nav-mobile .nav-mobile-cta {
  width: 100%;
  min-height: 56px;
  background: var(--ink);
  color: var(--on-ink);
  border-color: var(--ink);
  font: var(--text-button);
}

body.nav-open { overflow: hidden; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  border-radius: var(--radius-pill);
  min-height: 48px;
  padding: 10px 20px;
  font: var(--text-button);
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 160ms ease, border-color 160ms ease;
}

.btn:hover {
  filter: brightness(0.96);
}

#hero-section .btn-secondary,
.closing-cta .btn-secondary {
  background: var(--surface-raised);
  border-color: transparent;
  color: var(--ink);
}

.panel-sky .btn-secondary,
.panel-mint .btn-secondary,
.panel-apricot .btn-secondary,
.closing-cta .btn-secondary,
.activity-strip .btn-secondary {
  background: #f0eee9;
  color: #161616;
  border-color: rgba(22, 22, 22, 0.16);
}

.panel-sky .demo-win-bar .btn-secondary,
.panel-sky .demo-win-bar .btn-ghost {
  background: var(--surface-raised);
  color: var(--ink);
  border-color: var(--line-strong);
}

.btn-primary {
  background: var(--ink);
  color: var(--on-ink);
  border-color: var(--ink);
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}

.btn-ghost {
  background: var(--surface-raised);
  color: var(--ink);
  border-color: var(--line);
}

.theme-toggle {
  min-width: 72px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-pill);
  font: var(--text-label);
  text-transform: uppercase;
  border: 1px solid var(--line);
  background: var(--surface-raised);
  color: var(--ink-2);
}

.badge-moss {
  background: var(--moss-soft);
  color: var(--moss);
  border-color: transparent;
}

.badge-check::before {
  content: "✓";
  font-weight: 500;
}

.section {
  padding-block: 0;
  margin-top: var(--space-24);
}

@media (min-width: 1024px) {
  .section { margin-top: 150px; }
}

#hero-section {
  margin-top: 0;
  padding-top: var(--space-16);
}

.section-tight {
  margin-top: var(--space-12);
  padding-block: var(--space-4);
}

.demo-stage-wrap {
  margin-top: 52px;
}

.eyebrow {
  font: var(--text-label);
  text-transform: uppercase;
  color: var(--ink-3);
  letter-spacing: 0.06em;
  margin: 0 0 var(--space-4);
}

.eyebrow .brand-case {
  text-transform: none;
}

#hero-section .container {
  text-align: center;
}

#hero-section .lead,
#hero-section .hero-actions,
#hero-section .hero-badges {
  margin-inline: auto;
}

#hero-section .hero-actions {
  justify-content: center;
}

#hero-section .eyebrow.hero-pill {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 var(--space-4);
  border-radius: var(--radius-pill);
  background: var(--surface-raised);
  font-size: 14px;
  text-transform: none;
  letter-spacing: 0.02em;
}

.display {
  font-size: clamp(48px, 7.4vw, 76px);
  line-height: 0.95;
  font-weight: 500;
  letter-spacing: -0.055em;
  margin: 0 0 var(--space-6);
}

.mark-inline {
  width: 0.8em;
  height: 0.8em;
  display: inline-block;
  vertical-align: -0.08em;
  margin-right: 0.12em;
}

.lead {
  font: var(--text-lead);
  color: var(--ink-2);
  max-width: 42rem;
  margin: 0 0 var(--space-6);
}

.h2 {
  font-size: clamp(32px, 5vw, 44px);
  line-height: 1.04;
  font-weight: 500;
  letter-spacing: -0.045em;
  margin: 0 0 var(--space-6);
}

.h3 {
  font: var(--text-h3);
  margin: 0 0 var(--space-3);
}

.small-muted {
  font: var(--text-small);
  color: var(--ink-3);
  margin: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.panel-sky {
  background: var(--panel-sky);
  color: var(--on-panel);
  border-radius: var(--radius-lg);
}

.panel-mint {
  background: var(--panel-mint);
  color: var(--on-panel);
  border-radius: var(--radius-lg);
}

.panel-apricot {
  background: var(--panel-apricot);
  color: var(--on-panel);
  border-radius: var(--radius-lg);
}

.runs-strip {
  border-block: 1px solid var(--line);
  padding-block: var(--space-4);
}

.runs-strip .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
}

.runs-label {
  font: var(--text-small);
  color: var(--ink-3);
}

.runs-items {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.runs-chip {
  font: var(--text-label);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: var(--surface-raised);
  color: var(--ink-2);
}

.say-block {
  text-align: center;
  max-width: none;
}

.say-text {
  font-size: clamp(28px, 4.3vw, 56px);
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: -0.04em;
  margin: 0;
}

.free-statement {
  text-align: center;
}

.free-statement .free-lead {
  font-size: clamp(16px, 2.4vw, 19px);
  font-weight: 500;
  letter-spacing: -0.01em;
  margin: 0 0 var(--space-4);
  color: var(--ink-2);
}

.free-statement .free-word {
  font-size: clamp(28px, 5.5vw, 56px);
  line-height: 1.08;
  font-weight: 500;
  letter-spacing: -0.045em;
  margin: 0 0 var(--space-8);
}

.free-facts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-2);
}

.team-poster {
  padding: var(--space-12);
  border-radius: var(--radius-lg);
}

.team-poster .h2 { color: var(--on-panel); }

.roles-sheet {
  background: var(--surface-raised);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  margin-top: var(--space-8);
}

.roles-grid {
  display: grid;
  gap: var(--space-6);
}

@media (min-width: 768px) {
  .roles-grid { grid-template-columns: repeat(2, 1fr); }
}

.role-card {
  background: transparent;
  color: var(--ink);
  border: none;
  border-radius: 0;
  padding: var(--space-2) var(--space-4);
}

.role-card h3 { margin-bottom: var(--space-2); }
.role-card p {
  margin: 0;
  color: var(--ink-2);
  font: var(--text-body);
}

.many-grid {
  display: grid;
  gap: var(--space-4);
}

@media (min-width: 980px) {
  .many-grid { grid-template-columns: repeat(2, 1fr); }
}

.feature-card {
  background: var(--surface-sunken);
  border: none;
  border-radius: var(--radius-lg);
  padding: 30px;
  min-height: 416px;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.feature-inner {
  background: var(--surface-raised);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  justify-content: center;
  min-height: 160px;
}

.feature-stage {
  border-radius: var(--radius-md);
  padding: var(--space-4);
  min-height: 120px;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  justify-content: center;
}

.feature-stage-apricot {
  background: var(--panel-apricot);
  color: var(--on-panel);
}

.workspace-preview {
  font: var(--text-label);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: var(--space-4);
}

.workspace-preview.feature-stage-apricot {
  background: var(--panel-apricot);
  color: var(--on-panel);
}

.workspace-preview.is-controlled {
  outline: 2px dashed var(--moss);
}

.switch-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-2) 0;
  border-bottom: 1px solid var(--line);
}
.switch-row:last-child { border-bottom: none; }

.switch {
  position: relative;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}
.switch input {
  opacity: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}

.switch input:focus-visible + span {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
}
.switch span {
  position: absolute;
  inset: 0;
  background: var(--surface-sunken);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background 160ms;
}
.switch span::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  left: 2px;
  top: 2px;
  background: var(--surface-raised);
  border-radius: 50%;
  transition: transform 160ms;
}
.switch input:checked + span {
  background: var(--moss-soft);
  border-color: var(--moss);
}
.switch input:checked + span::after {
  transform: translateX(20px);
  background: var(--moss);
}

.memory-note {
  width: 100%;
  min-height: 88px;
  padding: var(--space-4);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  font: var(--text-body);
  background: var(--surface-raised);
  color: var(--ink);
  resize: vertical;
}

.handoff-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.handoff-steps li {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font: var(--text-small);
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--surface-sunken);
}
.handoff-steps li.done { color: var(--ink-2); }
.handoff-steps li.pending { border-color: var(--moss); color: var(--ink); }

.many-extra {
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-4);
}

.tool-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}

.tool-chip {
  font: var(--text-label);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: var(--surface-sunken);
  color: var(--ink-2);
}

.where-grid {
  display: grid;
  gap: var(--space-6);
}

@media (min-width: 900px) {
  .where-grid { grid-template-columns: repeat(3, 1fr); }
}

.where-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: var(--space-6);
  background: var(--surface-raised);
}

.status-pill {
  display: inline-block;
  font: var(--text-label);
  margin-bottom: var(--space-4);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-pill);
  background: var(--surface-sunken);
  color: var(--ink-3);
}

.where-card ul {
  margin: var(--space-4) 0 0;
  padding-left: 1.2rem;
  color: var(--ink-2);
}

.privacy-badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-top: var(--space-8);
}

.byo-wrap {
  overflow: hidden;
}

.byo-wrap .container > .h2,
.byo-wrap .container > .lead,
.byo-wrap .container > #marquee-toggle {
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: var(--space-6);
}

.byo-wrap .marquee-viewport {
  margin-top: var(--space-6);
}

.marquee-viewport {
  overflow: hidden;
  border: none;
  border-radius: 0;
  background: var(--surface-raised);
  min-height: 96px;
  display: flex;
  align-items: center;
}

.marquee-track {
  display: flex;
  gap: var(--space-8);
  padding: var(--space-4) var(--space-6);
  width: max-content;
  animation: marquee 35s linear infinite;
}

.marquee-track.is-paused { animation-play-state: paused; }

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; flex-wrap: wrap; width: auto; }
}

.marquee-item {
  font: var(--text-body);
  color: var(--ink-2);
  white-space: nowrap;
}

.pricing-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

.pricing-head .h2 {
  margin-bottom: 0;
}

@media (max-width: 760px) {
  .pricing-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

.pricing-toggle {
  display: inline-flex;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  padding: 2px;
  margin-bottom: 0;
  background: var(--surface-sunken);
  min-height: 44px;
  align-items: center;
}

.pricing-toggle button {
  border: none;
  background: transparent;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font: var(--text-button);
  color: var(--ink-2);
  cursor: pointer;
}
.pricing-toggle button.is-active {
  background: var(--surface-raised);
  color: var(--ink);
  border: 1px solid var(--line);
}

.pricing-grid {
  display: grid;
  gap: var(--space-4);
}

@media (min-width: 900px) {
  .pricing-grid { grid-template-columns: repeat(3, 1fr); }
}

.price-card {
  border: none;
  border-radius: var(--radius-lg);
  padding: 30px;
  min-height: 560px;
  background: var(--surface-sunken);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.price-card ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--ink-2);
}

.activity-strip {
  margin-top: var(--space-24);
  padding-block: var(--space-16);
  padding-inline: var(--space-6);
  text-align: center;
  min-height: 384px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-radius: 0;
}

@media (min-width: 1024px) {
  .activity-strip { margin-top: 150px; }
}

.activity-items {
  display: grid;
  gap: var(--space-4);
  margin-top: var(--space-8);
}

@media (min-width: 768px) {
  .activity-items { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .activity-items { grid-template-columns: repeat(4, 1fr); }
}

.activity-item {
  background: var(--surface-raised);
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  font: var(--text-body);
  border: 1px solid rgba(22, 22, 22, 0.08);
}

.panel-sky .lead,
.closing-cta .lead,
.activity-strip .activity-item {
  color: var(--on-panel);
}

.activity-strip .activity-item {
  background: rgba(22, 22, 22, 0.06);
  border-color: rgba(22, 22, 22, 0.12);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.how-steps {
  display: grid;
  gap: var(--space-4);
}

@media (min-width: 900px) {
  .how-steps { grid-template-columns: repeat(4, 1fr); }
}

.how-step {
  position: relative;
  border: none;
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  padding-bottom: calc(var(--space-6) + 4px);
  min-height: 300px;
  background: var(--surface-sunken);
  overflow: hidden;
}

.how-step::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
}

.how-step:nth-child(1)::after { background: var(--panel-sky); }
.how-step:nth-child(2)::after { background: var(--panel-apricot); }
.how-step:nth-child(3)::after { background: var(--panel-mint); }
.how-step:nth-child(4)::after { background: var(--panel-butter); }

.step-num {
  font-family: var(--font-sans);
  font-size: 32px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: var(--space-4);
}

.devices-block {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.devices-header {
  display: grid;
  gap: var(--space-4);
}

@media (min-width: 900px) {
  .devices-header {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: end;
    gap: var(--space-8);
  }
  .devices-header .h2 { margin-bottom: 0; }
}

.devices-stage {
  border-radius: var(--radius-lg);
  padding: var(--space-12);
  min-height: 480px;
  color: var(--on-panel);
  display: grid;
  gap: var(--space-8);
  align-content: center;
}

@media (min-width: 768px) {
  .devices-stage {
    grid-template-columns: 1fr 1fr;
    align-items: center;
  }
}

.device-slot {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.device-mock {
  border: none;
  border-radius: 0;
  padding: 0;
  background: transparent;
  min-height: 0;
}

.device-label {
  font: var(--text-label);
  color: var(--ink-3);
  margin-bottom: var(--space-4);
}

.bubble-ehli {
  background: var(--ink);
  color: var(--on-ink);
  padding: var(--space-4);
  border-radius: var(--radius-bubble);
  border-bottom-left-radius: 4px;
  max-width: 20rem;
  font: var(--text-body);
}

.platform-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-6);
}

.faq-grid {
  display: grid;
  gap: var(--space-8);
}

@media (min-width: 900px) {
  .faq-grid {
    grid-template-columns: 0.9fr 1.2fr;
    gap: var(--space-12);
  }
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.faq-list details {
  background: var(--surface-sunken);
  border-radius: var(--radius-pill);
  border: none;
  min-height: 68px;
}

.faq-list summary {
  cursor: pointer;
  font-size: 19px;
  font-weight: 550;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: 14px 16px 14px 28px;
  min-height: 68px;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary::after {
  content: "+";
  font-size: 22px;
  font-weight: 500;
  line-height: 1;
  flex-shrink: 0;
  width: 28px;
  text-align: center;
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list p {
  margin: 0;
  padding: 0 28px var(--space-4);
  color: var(--ink-2);
}

.hello-reply {
  margin-top: var(--space-4);
  padding: var(--space-4);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-sunken);
  display: none;
}
.hello-reply.is-visible { display: block; }

.section[id],
.legal-section[id],
.demo-stage-wrap[id],
.closing-cta[id] {
  scroll-margin-top: 84px;
}

.legal-section {
  padding-block: var(--space-12);
  border-top: 1px solid var(--line);
}

.legal-section h2 {
  font-size: clamp(24px, 4vw, 32px);
  margin: 0 0 var(--space-4);
}

.legal-section p {
  color: var(--ink-2);
  max-width: 42rem;
  margin: 0 0 var(--space-3);
}

.closing-cta {
  padding-block: var(--space-32);
  padding-inline: var(--space-6);
  text-align: center;
  margin-top: var(--space-24);
}

@media (min-width: 1024px) {
  .closing-cta { margin-top: 150px; }
}

.closing-cta .h2 {
  font-size: clamp(48px, 7.4vw, 76px);
  color: var(--on-panel);
}

.closing-cta .mark-large {
  width: 96px;
  height: 96px;
  margin: 0 auto var(--space-6);
}

.closing-cta .mark-large svg {
  width: 96px;
  height: 96px;
}

.closing-cta .hero-actions .btn {
  min-height: 48px;
}

.site-footer {
  background: var(--surface);
  padding: var(--space-12) var(--space-6) var(--space-8);
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  gap: var(--space-8);
}

@media (min-width: 900px) {
  .footer-grid { grid-template-columns: 1.2fr repeat(4, 1fr); }
}

@media (max-width: 760px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-col h3.footer-heading,
.footer-col h4 {
  margin: 0 0 var(--space-3);
  font-size: 12.5px;
  line-height: 1.3;
  font-weight: 500;
  letter-spacing: 0.02em;
  font-family: var(--font-sans);
  text-transform: none;
  color: var(--ink-3);
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer-col a {
  color: var(--ink-2);
  text-decoration: none;
  font: var(--text-small);
}
.footer-col a:hover { color: var(--ink); }

.footer-meta {
  margin-top: var(--space-8);
  padding-top: var(--space-6);
  border-top: 1px solid var(--line);
  font: var(--text-small);
  color: var(--ink-3);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(22, 22, 22, 0.45);
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--space-6);
  z-index: 100;
}
.modal-backdrop.is-open { display: flex; }

.modal {
  width: 100%;
  max-width: 480px;
  background: var(--surface-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: var(--space-8);
  max-height: 90vh;
  overflow-y: auto;
}

.modal h2 {
  margin: 0 0 var(--space-2);
  font: var(--text-h3);
}

.form-field {
  margin-bottom: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.form-field label {
  font: var(--text-small);
  color: var(--ink-2);
}

.form-field input,
.form-field textarea {
  padding: var(--space-3);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  font: var(--text-body);
  background: var(--surface-raised);
  color: var(--ink);
}

.form-field.has-error input,
.form-field.has-error textarea {
  border-color: var(--danger);
}

.field-error {
  font: var(--text-small);
  color: var(--danger);
  display: none;
}
.form-field.has-error .field-error { display: block; }

.hp-field {
  position: absolute;
  left: -10000px;
  top: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.modal-form-error {
  margin: var(--space-4) 0 0;
  font: var(--text-small);
  color: var(--danger);
}
.modal-form-error:empty { display: none; }

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-6);
}
.modal-actions.is-hidden,
.is-hidden { display: none; }

.modal-success {
  display: none;
  color: var(--ink-2);
  font: var(--text-body);
}
.modal-success.is-visible { display: block; }

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 400ms ease, transform 400ms ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ───────── Feature-Karten: ruhiger, gleichmäßiger ───────── */
.feature-card { min-height: 0; }
.feature-card .h3 { margin-bottom: var(--space-2); }
.feature-card > .small-muted { max-width: 34rem; }
.feature-card > .btn { align-self: flex-start; }
.feature-card[data-card="arbeitsplatz"] > .btn { min-width: 220px; }
.feature-inner { justify-content: center; }
.memory-note { font: var(--text-body); line-height: 1.5; }
.feature-inner > label.small-muted {
  font: var(--text-label);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.handoff-steps li { position: relative; padding-left: 40px; min-height: 40px; }
.handoff-steps li::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 50%;
  width: 16px;
  height: 16px;
  margin-top: -8px;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  box-sizing: border-box;
}
.handoff-steps li.done::before {
  background: var(--moss);
  border-color: var(--moss);
}
.handoff-steps li.done::after {
  content: "";
  position: absolute;
  left: 17px;
  top: 50%;
  width: 4px;
  height: 8px;
  margin-top: -6px;
  border: solid var(--on-moss);
  border-width: 0 1.6px 1.6px 0;
  transform: rotate(45deg);
}
.handoff-steps li.pending::before { border-color: var(--moss); }
.handoff-steps li.done { color: var(--ink); }

/* ───────── Computer-Karte: Monitor mit Desktop und Bot-Cursor ───────── */
.pc {
  --pc-bezel: #161616;
  --pc-ink: #161616;
  container-type: inline-size;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: var(--space-2);
}
[data-theme="dunkel"] .pc { --pc-bezel: #070707; }

.pc-monitor {
  width: 100%;
  background: var(--pc-bezel);
  border-radius: 18px;
  padding: 10px;
  box-shadow: 0 0 0 1px rgba(22, 22, 22, 0.35), 0 18px 36px rgba(22, 22, 22, 0.16);
}
[data-theme="dunkel"] .pc-monitor {
  box-shadow: 0 0 0 1px var(--line-strong), 0 18px 36px rgba(0, 0, 0, 0.5);
}

.pc-desktop {
  position: relative;
  border-radius: 9px;
  overflow: hidden;
  background: linear-gradient(155deg, #f4b78f 0%, #ecc3ab 48%, #cbbef0 100%);
  padding-bottom: 22px;
}

.pc-menubar {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 22px;
  padding: 0 10px;
  background: rgba(250, 249, 246, 0.55);
  color: #161616;
  font: 500 11px/1 var(--font-sans);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.pc-menubar .pc-mark { width: 13px; height: 13px; }
.pc-menubar span:nth-of-type(1) { font-weight: 600; }
.pc-clock { margin-left: auto; font: 500 11px/1 var(--font-mono); }

.pc-window {
  position: relative;
  margin: 18px 18px 0;
  background: #faf9f6;
  color: #161616;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(22, 22, 22, 0.12), 0 14px 28px rgba(22, 22, 22, 0.22);
}
[data-theme="dunkel"] .pc-window {
  background: #211f1d;
  color: #f0eee9;
  box-shadow: 0 0 0 1px #3c3a36, 0 14px 28px rgba(0, 0, 0, 0.5);
}

.pc-titlebar {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 38px;
  padding: 0 12px;
  background: #e6e3dc;
  border-bottom: 1px solid #d6d2c9;
  font: 500 12px/1 var(--font-sans);
}
[data-theme="dunkel"] .pc-titlebar { background: #161616; border-bottom-color: #34322f; }

.pc-dots { display: inline-flex; gap: 6px; flex-shrink: 0; }
.pc-dots i {
  width: 10px; height: 10px; border-radius: 50%;
  background: #cfcbc2; display: block;
}
.pc-dots i:nth-child(1) { background: #e07a6f; }
.pc-dots i:nth-child(2) { background: #e8c25b; }
.pc-dots i:nth-child(3) { background: #7fbf9a; }

.pc-title {
  flex: 1;
  min-width: 0;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #4a4844;
}
[data-theme="dunkel"] .pc-title { color: #bebab2; }

.pc-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  padding: 4px 9px;
  border-radius: 999px;
  background: #dce8df;
  color: #2f6b4f;
  font: 500 10.5px/1 var(--font-mono);
  letter-spacing: 0.01em;
  transition: background 200ms ease, color 200ms ease;
}
.pc-status::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: currentColor;
}
[data-theme="dunkel"] .pc-status { background: #1e3328; color: #86c9a6; }
.pc[data-state="you"] .pc-status { background: #161616; color: #f0eee9; }
[data-theme="dunkel"] .pc[data-state="you"] .pc-status { background: #f0eee9; color: #161616; }

.pc-sheet { padding: 6px 0 10px; }
.pc-head, .pc-row {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr) 56px 76px;
  align-items: center;
  height: 30px;
  font: 400 12.5px/1 var(--font-sans);
}
.pc-head {
  height: 28px;
  color: #66635d;
  font: 500 10.5px/1 var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 1px solid #d6d2c9;
}
[data-theme="dunkel"] .pc-head { color: #9c988f; border-bottom-color: #34322f; }
.pc-row { border-bottom: 1px solid rgba(214, 210, 201, 0.7); position: relative; }
[data-theme="dunkel"] .pc-row { border-bottom-color: #34322f; }
.pc-rn {
  text-align: center;
  color: #8c887f;
  font: 400 10.5px/1 var(--font-mono);
}
.pc-c1 { padding: 0 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pc-c2 { text-align: right; padding-right: 12px; font-family: var(--font-mono); font-size: 11.5px; }
.pc-c3 { padding-left: 4px; }

.pc-tag {
  font-style: normal;
  display: inline-block;
  padding: 3px 8px;
  border-radius: 999px;
  background: #e6e3dc;
  color: #4a4844;
  font: 500 10.5px/1 var(--font-sans);
}
.pc-tag.is-ok { background: #dce8df; color: #2f6b4f; }
.pc-tag.is-run { background: #161616; color: #f0eee9; }
[data-theme="dunkel"] .pc-tag { background: #34322f; color: #bebab2; }
[data-theme="dunkel"] .pc-tag.is-ok { background: #1e3328; color: #86c9a6; }
[data-theme="dunkel"] .pc-tag.is-run { background: #f0eee9; color: #161616; }

/* aktive Zeile */
.pc[data-state="bot"] .pc-row.is-target,
.pc[data-state="you"] .pc-sheet .pc-row:nth-child(6) {
  background: rgba(47, 107, 79, 0.1);
  box-shadow: inset 0 0 0 1.5px #2f6b4f;
}
.pc[data-state="you"] .pc-sheet .pc-row:nth-child(6) {
  background: rgba(22, 22, 22, 0.06);
  box-shadow: inset 0 0 0 1.5px #161616;
}
[data-theme="dunkel"] .pc[data-state="bot"] .pc-row.is-target { box-shadow: inset 0 0 0 1.5px #86c9a6; }
[data-theme="dunkel"] .pc[data-state="you"] .pc-sheet .pc-row:nth-child(6) {
  background: rgba(240, 238, 233, 0.08);
  box-shadow: inset 0 0 0 1.5px #f0eee9;
}

/* Cursor mit Namensschild */
.pc-cursor {
  position: absolute;
  z-index: 3;
  left: 56%;
  top: 122px;
  --cur: #2f6b4f;
  color: var(--cur);
  pointer-events: none;
  transition: left 600ms cubic-bezier(0.3, 0.7, 0.2, 1), top 600ms cubic-bezier(0.3, 0.7, 0.2, 1), color 200ms ease;
  filter: drop-shadow(0 2px 3px rgba(22, 22, 22, 0.28));
}
.pc[data-state="you"] .pc-cursor { left: 22%; top: 182px; --cur: #161616; }
.pc-cursor svg { display: block; }
.pc-tagname {
  position: absolute;
  left: 16px;
  top: 17px;
  white-space: nowrap;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--cur);
  font: 500 10.5px/1 var(--font-sans);
  color: #f0eee9;
}
.pc-tagname .pc-lbl-bot, .pc-tagname .pc-lbl-you { color: #f0eee9; }
.pc[data-state="bot"] .pc-lbl-you,
.pc[data-state="you"] .pc-lbl-bot { display: none; }
[data-theme="dunkel"] .pc[data-state="you"] .pc-cursor { --cur: #f0eee9; }
[data-theme="dunkel"] .pc[data-state="you"] .pc-lbl-you { color: #161616; }
[data-theme="dunkel"] .pc-cursor { --cur: #86c9a6; }
[data-theme="dunkel"] .pc[data-state="bot"] .pc-lbl-bot { color: #161616; }

@keyframes pc-bob {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(6px, 3px); }
}
.pc[data-state="bot"] .pc-cursor svg { animation: pc-bob 2.6s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) {
  .pc[data-state="bot"] .pc-cursor svg { animation: none; }
  .pc-cursor { transition: none; }
}

.pc-neck {
  width: 14%;
  height: 16px;
  background: linear-gradient(90deg, #8c887f, #c9c5bc 50%, #8c887f);
}
.pc-foot {
  width: 34%;
  height: 8px;
  border-radius: 4px 4px 10px 10px;
  background: linear-gradient(#d6d2c9, #a9a59b);
}
[data-theme="dunkel"] .pc-neck { background: linear-gradient(90deg, #3c3a36, #5a5751 50%, #3c3a36); }
[data-theme="dunkel"] .pc-foot { background: linear-gradient(#5a5751, #3c3a36); }

@container (max-width: 400px) {
  .pc-monitor { padding: 7px; border-radius: 14px; }
  .pc-window { margin: 12px 10px 0; }
  .pc-head, .pc-row { grid-template-columns: 22px minmax(0, 1fr) 70px; }
  .pc-head .pc-c2, .pc-row .pc-c2 { display: none; }
  .pc-menubar .pc-menu-item { display: none; }
  .pc-status { font-size: 9.5px; padding: 4px 7px; }
  .pc-title { display: none; }
  .pc-titlebar { justify-content: space-between; }
  .pc-cursor { left: 24%; top: 120px; }
  .pc[data-state="you"] .pc-cursor { left: 30%; top: 180px; }
}

/* ───────── Geräte: Laptop und Smartphone ───────── */
.devices-stage {
  padding: var(--space-12);
  min-height: 0;
  gap: var(--space-12);
  align-items: end;
}
@media (max-width: 767px) {
  .devices-stage { padding: var(--space-6); gap: var(--space-8); }
}
.device-slot { align-items: stretch; min-width: 0; }
.device-label {
  margin-bottom: 0;
  color: var(--on-panel);
  opacity: 0.75;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.dev-laptop { width: 100%; }
.dev-lid {
  background: #161616;
  padding: 9px 9px 11px;
  border-radius: 14px 14px 0 0;
}
.dev-screen {
  background: #faf9f6;
  color: #161616;
  border-radius: 6px;
  overflow: hidden;
  min-height: 250px;
  display: flex;
  flex-direction: column;
}
.dev-laptop .dev-screen .pc-titlebar { height: 32px; }
.dev-base {
  height: 12px;
  margin: 0 -3%;
  border-radius: 0 0 14px 14px;
  background: linear-gradient(#d6d2c9, #a9a59b);
  box-shadow: 0 10px 16px rgba(22, 22, 22, 0.18);
}
.dev-chat {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  padding: 16px;
}
.dev-user {
  align-self: flex-end;
  max-width: 82%;
  padding: 10px 14px;
  background: #e6e3dc;
  color: #161616;
  border-radius: 18px;
  border-bottom-right-radius: 4px;
  font: 400 14px/1.4 var(--font-sans);
}
.dev-screen .bubble-ehli {
  max-width: 88%;
  padding: 10px 14px;
  font: 400 14px/1.45 var(--font-sans);
  background: #161616;
  color: #f0eee9;
}
.dev-actions { display: flex; gap: 8px; margin-top: 2px; }
.dev-act {
  padding: 7px 14px;
  border: 1px solid #8c887f;
  border-radius: 999px;
  font: 500 12.5px/1 var(--font-sans);
  color: #161616;
}
.dev-act.is-main { background: #2f6b4f; border-color: #2f6b4f; color: #f0eee9; }

.dev-phone {
  width: min(100%, 250px);
  margin-inline: auto;
  background: #161616;
  border-radius: 34px;
  padding: 9px;
  box-shadow: 0 18px 32px rgba(22, 22, 22, 0.22);
}
.dev-phone .dev-screen {
  border-radius: 26px;
  min-height: 330px;
  position: relative;
}
.dev-notch {
  align-self: center;
  width: 70px;
  height: 18px;
  margin-top: 8px;
  border-radius: 999px;
  background: #161616;
}
.dev-phone-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px 8px;
  border-bottom: 1px solid #d6d2c9;
  font: 600 14px/1 var(--font-sans);
  letter-spacing: -0.03em;
}
.dev-phone-head .pc-mark { width: 18px; height: 18px; }
.dev-phone .dev-chat { padding: 12px; }
.dev-phone .dev-user, .dev-phone .bubble-ehli { font-size: 13px; }
[data-theme="dunkel"] .dev-lid, [data-theme="dunkel"] .dev-phone { background: #070707; box-shadow: 0 0 0 1px #3c3a36, 0 18px 32px rgba(0,0,0,.4); }
@media (min-width: 768px) {
  .devices-stage { grid-template-columns: 1.5fr 1fr; }
}

/* ───────── Feinschliff ───────── */
.price-card { min-height: 0; }
.price-card > ul { flex: 1; }
.price-card > .btn { align-self: flex-start; margin-top: var(--space-2); }
.how-step { min-height: 220px; }
.device-label { text-align: center; }
.dev-laptop { max-width: 560px; margin-inline: auto; }
@media (min-width: 768px) {
  .devices-stage { align-items: center; }
}

[data-theme="dunkel"] .dev-screen { background: #211f1d; color: #f0eee9; }
[data-theme="dunkel"] .dev-user { background: #34322f; color: #f0eee9; }
[data-theme="dunkel"] .dev-screen .bubble-ehli { background: #f0eee9; color: #161616; }
[data-theme="dunkel"] .dev-act { border-color: #77736b; color: #f0eee9; }
[data-theme="dunkel"] .dev-act.is-main { background: #86c9a6; border-color: #86c9a6; color: #161616; }
[data-theme="dunkel"] .dev-phone-head { border-bottom-color: #34322f; }
[data-theme="dunkel"] .dev-notch { background: #070707; }
