/* ====== HERO — full-bleed 16:9 video, text overlaid left ====== */
.hero {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 92vh;
  min-height: 560px;
  overflow: hidden;
  background: var(--navy-deep);
  color: var(--cream);
  isolation: isolate;
}
/* Background video canvas — full bleed */
.hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-video > div, .hero-video canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
}
/* Darkening gradient — strongest on the left, fades right */
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg,
      rgba(10, 18, 48, 0.88) 0%,
      rgba(10, 18, 48, 0.7) 30%,
      rgba(10, 18, 48, 0.35) 60%,
      rgba(10, 18, 48, 0.05) 100%),
    linear-gradient(180deg,
      rgba(10, 18, 48, 0.4) 0%,
      rgba(10, 18, 48, 0) 30%,
      rgba(10, 18, 48, 0) 70%,
      rgba(10, 18, 48, 0.5) 100%);
  pointer-events: none;
}
/* Frame corners — pinned to viewport edges of the hero */
.hero-video-corners { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.hero-video-corners span {
  position: absolute;
  width: 18px;
  height: 18px;
  border: 1px solid var(--accent);
}
.hero-video-corners span:nth-child(1) { top: 24px; left: 24px; border-right: 0; border-bottom: 0; }
.hero-video-corners span:nth-child(2) { top: 24px; right: 24px; border-left: 0; border-bottom: 0; }
.hero-video-corners span:nth-child(3) { bottom: 24px; left: 24px; border-right: 0; border-top: 0; }
.hero-video-corners span:nth-child(4) { bottom: 24px; right: 24px; border-left: 0; border-top: 0; }

/* LIVE label, top-right */
.hero-video-label {
  position: absolute;
  top: 40px;
  right: 56px;
  z-index: 3;
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--gold-light);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-video-label .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold-light);
  box-shadow: 0 0 12px var(--gold-light);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

/* Signature cap, bottom-right */
.hero-video-cap {
  position: absolute;
  bottom: 56px;
  right: 56px;
  z-index: 3;
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--cream);
  max-width: 320px;
}
.hero-video-cap .label { color: rgba(232, 201, 126, 0.7); }

/* Text content overlay — left side */
.hero-grid {
  position: relative;
  z-index: 2;
  height: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 56px;
  display: flex;
  align-items: center;
}
.hero-text {
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 620px;
}
.hero-text .eyebrow { color: var(--gold-light); }
.hero-text .eyebrow::before { background: var(--gold-light); }
.hero-title {
  font-size: clamp(44px, 4.6vw, 76px);
  letter-spacing: -0.005em;
  color: var(--cream);
  line-height: 1.04;
}
.hero-sub {
  font-size: clamp(16px, 1.15vw, 19px);
  color: rgba(250, 248, 243, 0.82);
  line-height: 1.55;
  max-width: 520px;
}
.hero-cta {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}
/* Override button colors for dark hero */
.hero-text .btn-primary {
  background: var(--accent);
  color: var(--navy);
  border-color: var(--accent);
}
.hero-text .btn-primary:hover {
  background: var(--accent-light);
  border-color: var(--accent-light);
}
.hero-text .btn-ghost {
  color: var(--cream);
}
.hero-text .btn-ghost::after { background: var(--gold-light); }

.hero-meta {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 12px;
  padding-top: 28px;
  border-top: 1px solid rgba(232, 201, 126, 0.22);
}
.hero-meta-item { display: flex; flex-direction: column; gap: 6px; }
.hero-meta-num {
  font-size: 16px;
  font-weight: 500;
  color: var(--cream);
  letter-spacing: 0.02em;
}
.hero-meta-item .label { color: rgba(232, 201, 126, 0.65); }
.hero-meta-divider {
  width: 1px;
  height: 30px;
  background: rgba(232, 201, 126, 0.22);
}

@media (max-width: 1024px) {
  .hero { aspect-ratio: auto; height: 88vh; min-height: 600px; max-height: none; }
  .hero-grid { padding: 0 24px; }
  .hero-video-cap { display: none; }
  .hero-scrim {
    background:
      linear-gradient(180deg,
        rgba(10, 18, 48, 0.55) 0%,
        rgba(10, 18, 48, 0.85) 100%);
  }
}
@media (max-width: 600px) {
  .hero-video-label { top: 24px; right: 24px; }
  .hero-video-corners span { width: 14px; height: 14px; }
}

/* ====== PAIN POINTS ====== */
.pain { background: var(--bg-2); }
.section-lede {
  font-size: clamp(17px, 1.2vw, 19px);
  color: var(--fg-soft);
  margin-top: 20px;
  max-width: 580px;
  text-wrap: pretty;
}
.pain-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.pain-card {
  padding: 48px 36px 56px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  transition: background 0.4s ease;
  position: relative;
}
.pain-card:hover { background: var(--card); }
.pain-num {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 24px;
  display: block;
}
.pain-line {
  width: 32px;
  height: 1px;
  background: var(--accent);
  margin-bottom: 28px;
  transition: width 0.4s ease;
}
.pain-card:hover .pain-line { width: 64px; }
.pain-title {
  font-size: 26px;
  margin-bottom: 16px;
  line-height: 1.15;
}
.pain-body {
  color: var(--fg-soft);
  font-size: 15px;
  line-height: 1.55;
  text-wrap: pretty;
}
@media (max-width: 1024px) {
  .pain-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .pain-grid { grid-template-columns: 1fr; }
}

/* ====== LEISTUNGEN ====== */
.leistungen-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.leist-card {
  padding: 44px 36px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--card);
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 280px;
  transition: all 0.4s ease;
  position: relative;
}
.leist-card:hover {
  background: var(--bg-2);
  transform: translateY(-2px);
}
.leist-card.is-highlight {
  background: var(--navy);
  color: var(--cream);
  border-color: var(--accent);
}
[data-theme="dark"] .leist-card.is-highlight {
  background: var(--accent);
  color: var(--navy);
}
.leist-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.leist-num {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--accent);
}
.is-highlight .leist-num { color: var(--accent-light); }
[data-theme="dark"] .is-highlight .leist-num { color: var(--navy); }
.leist-badge {
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 6px 10px;
  border: 1px solid var(--accent-light);
  color: var(--accent-light);
  border-radius: 999px;
}
[data-theme="dark"] .is-highlight .leist-badge { color: var(--navy); border-color: var(--navy); }
.leist-title {
  font-size: 28px;
  line-height: 1.1;
}
.leist-body {
  color: var(--fg-soft);
  font-size: 15px;
  flex-grow: 1;
  text-wrap: pretty;
}
.is-highlight .leist-body { color: rgba(250, 248, 243, 0.78); }
[data-theme="dark"] .is-highlight .leist-body { color: rgba(17, 29, 74, 0.75); }
.leist-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--accent);
  padding-top: 12px;
  border-top: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
}
.is-highlight .leist-cta { color: var(--accent-light); }
[data-theme="dark"] .is-highlight .leist-cta { color: var(--navy); border-top-color: rgba(17,29,74,0.3); }
.leist-cta:hover .btn-arrow { transform: translateX(4px); }

.leist-trust {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  justify-content: center;
}
.leist-trust p { color: var(--fg-mute); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; }

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

/* ====== ROI ====== */
.roi { background: var(--bg-2); }
.roi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
  background: var(--card);
}
.roi-inputs {
  padding: 56px;
  display: flex;
  flex-direction: column;
  gap: 48px;
  border-right: 1px solid var(--line);
}
.roi-slider-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 18px;
}
.roi-slider-val {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 36px;
  color: var(--fg);
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.roi-slider-val span {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-mute);
}
.roi-slider-track input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 2px;
  background: linear-gradient(to right, var(--accent) 0%, var(--accent) var(--p), var(--line-strong) var(--p), var(--line-strong) 100%);
  outline: none;
  cursor: pointer;
}
.roi-slider-track input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 1px var(--accent);
  cursor: grab;
}
.roi-slider-track input[type="range"]::-moz-range-thumb {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 1px var(--accent);
  cursor: grab;
}
.roi-slider-foot {
  display: flex;
  justify-content: space-between;
  margin-top: 14px;
  font-size: 10px;
  color: var(--fg-mute);
  letter-spacing: 0.18em;
}
.roi-hint { color: var(--fg-mute); }

.roi-output {
  padding: 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-content: start;
  background: var(--bg-2);
  position: relative;
}
.roi-result {
  padding: 28px 28px 28px 0;
  border-bottom: 1px solid var(--line);
}
.roi-result:nth-child(1) { padding-right: 28px; border-right: 1px solid var(--line); }
.roi-result:nth-child(2) { padding-left: 28px; }
.roi-result.is-big {
  grid-column: 1 / -1;
  padding: 32px 0 28px;
  border-bottom: none;
  border-top: 1px solid var(--accent);
}
.roi-result-val {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 12px 0 8px;
}
.roi-result-val .serif {
  font-size: clamp(38px, 3.6vw, 56px);
  letter-spacing: -0.005em;
  color: var(--fg);
  line-height: 1;
}
.roi-result.is-big .roi-result-val .serif {
  font-size: clamp(56px, 5vw, 84px);
  color: var(--accent);
  font-style: italic;
}
.roi-result-unit {
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--fg-mute);
}
.roi-result.is-big .roi-result-unit { color: var(--accent); }
.roi-result-note {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-mute);
}
.roi-cta {
  grid-column: 1 / -1;
  margin-top: 28px;
  justify-content: center;
}

@media (max-width: 1024px) {
  .roi-grid { grid-template-columns: 1fr; }
  .roi-inputs { border-right: none; border-bottom: 1px solid var(--line); padding: 36px; }
  .roi-output { padding: 36px; }
}
@media (max-width: 600px) {
  .roi-output { grid-template-columns: 1fr; }
  .roi-result, .roi-result:nth-child(1), .roi-result:nth-child(2) {
    padding: 20px 0;
    border-right: none;
  }
}

/* ====== PROZESS ====== */
.prozess-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 60px;
  position: relative;
}
.prozess-step {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.prozess-num {
  font-size: clamp(80px, 7vw, 120px);
  color: var(--accent);
  line-height: 1;
  font-weight: 300;
}
.prozess-line {
  height: 1px;
  background: var(--line);
  position: relative;
  overflow: hidden;
}
.prozess-line span {
  position: absolute;
  inset: 0;
  width: 40%;
  background: var(--accent);
  animation: line-pulse 4s ease-in-out infinite;
}
.prozess-step:nth-child(2) .prozess-line span { animation-delay: 1s; }
.prozess-step:nth-child(3) .prozess-line span { animation-delay: 2s; }
@keyframes line-pulse {
  0%, 100% { transform: translateX(-100%); }
  50% { transform: translateX(250%); }
}
.prozess-content { display: flex; flex-direction: column; gap: 14px; }
.prozess-meta {
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--fg-mute);
  text-transform: uppercase;
}
.prozess-content h3 { font-size: 32px; }
.prozess-content p { color: var(--fg-soft); font-size: 15px; text-wrap: pretty; }

@media (max-width: 880px) {
  .prozess-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ====== DEMO ====== */
.demo-section { background: var(--navy); color: var(--cream); padding: 100px 0; }
[data-theme="dark"] .demo-section { background: var(--navy-deep); }
.demo-section h2, .demo-section .label, .demo-section .eyebrow {
  color: var(--cream);
}
.demo-section .eyebrow { color: var(--gold-light); }
.demo-section .eyebrow::before { background: var(--gold-light); }
.demo-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.demo-left { display: flex; flex-direction: column; gap: 28px; }
.demo-title { font-size: clamp(40px, 4.4vw, 64px); color: var(--cream); }
.demo-sub {
  font-size: 17px;
  color: rgba(250, 248, 243, 0.72);
  max-width: 480px;
  text-wrap: pretty;
}
.demo-phone {
  display: block;
  text-decoration: none;
  border: 1px solid color-mix(in srgb, var(--gold) 40%, transparent);
  padding: 36px 40px;
  background: linear-gradient(180deg, rgba(201, 168, 76, 0.06), rgba(201, 168, 76, 0.02));
  margin-top: 12px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}
.demo-phone::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(232, 201, 126, 0.18), transparent);
  transform: translateX(-100%);
  transition: transform 0.8s ease;
}
.demo-phone:hover::before { transform: translateX(100%); }
.demo-phone:hover { border-color: var(--gold-light); }
.demo-phone .label { color: rgba(232, 201, 126, 0.7); margin-bottom: 14px; }
.demo-phone-num {
  font-size: clamp(38px, 4.2vw, 56px);
  font-weight: 300;
  color: var(--gold-light);
  letter-spacing: 0.01em;
  margin-bottom: 16px;
  line-height: 1;
}
.demo-phone-cta {
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.demo-right { display: flex; flex-direction: column; gap: 36px; }
.demo-right .label { color: rgba(232, 201, 126, 0.7); }
.demo-features {
  list-style: none;
  display: flex;
  flex-direction: column;
}
.demo-features li {
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(232, 201, 126, 0.15);
  align-items: start;
}
.demo-features li:last-child { border-bottom: none; }
.demo-features li > span {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--gold);
  padding-top: 4px;
}
.demo-features li > div {
  color: rgba(250, 248, 243, 0.78);
  font-size: 15px;
  line-height: 1.6;
}
.demo-features strong {
  color: var(--cream);
  font-weight: 500;
  display: block;
  margin-bottom: 4px;
}

.demo-flow {
  padding-top: 24px;
  border-top: 1px solid rgba(232, 201, 126, 0.18);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.demo-flow-track {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.demo-flow-node {
  border: 1px solid rgba(232, 201, 126, 0.3);
  padding: 10px 16px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(250, 248, 243, 0.7);
}
.demo-flow-node.is-active {
  border-color: var(--gold);
  color: var(--gold-light);
  background: rgba(201, 168, 76, 0.08);
}
.demo-flow-arrow { color: var(--gold); font-family: var(--mono); }

@media (max-width: 1024px) {
  .demo-card { grid-template-columns: 1fr; gap: 56px; }
}

/* ====== KONTAKT ====== */
.kontakt-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  margin-bottom: 80px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.kontakt-head h2 { font-size: clamp(48px, 5vw, 72px); }
.kontakt-lede { color: var(--fg-soft); font-size: 17px; text-wrap: pretty; }

.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 1040px;
  margin: 0 auto;
}
.kontakt-card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 48px 44px;
  background: var(--card);
  border: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: all 0.4s ease;
  min-height: 240px;
  position: relative;
  overflow: hidden;
}
.kontakt-card::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0;
  height: 2px;
  width: 0;
  background: var(--accent);
  transition: width 0.5s ease;
}
.kontakt-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}
.kontakt-card:hover::after { width: 100%; }
.kontakt-num {
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--accent);
}
.kontakt-line {
  width: 32px; height: 1px;
  background: var(--accent);
}
.kontakt-method {
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 300;
  line-height: 1.1;
  margin-top: auto;
  word-break: break-word;
}
.kontakt-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--fg-soft);
}
.kontakt-card:hover .kontakt-foot { color: var(--accent); }

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

/* ====== FOOTER ====== */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  padding: 64px 0 32px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
  align-items: end;
}
.footer-brand .logo-mark { font-size: 22px; }
.footer-tagline {
  margin-top: 16px;
  color: var(--fg-soft);
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 300;
  max-width: 320px;
}
.footer-stack { display: flex; flex-direction: column; gap: 14px; align-items: flex-end; }
.footer-stack .label { color: var(--fg-mute); }
.footer-logos {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  color: var(--fg);
  letter-spacing: 0.06em;
}
.footer-dot { width: 3px; height: 3px; background: var(--accent); border-radius: 50%; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--fg-mute);
}
.footer-legal { display: flex; gap: 28px; }
.footer-legal a {
  color: var(--fg-mute);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-legal a:hover { color: var(--accent); }

@media (max-width: 880px) {
  .footer-top { grid-template-columns: 1fr; align-items: start; }
  .footer-stack { align-items: flex-start; }
  .footer-bottom { flex-direction: column; gap: 16px; align-items: flex-start; }
  .footer-legal { flex-wrap: wrap; }
}
