:root {
  --page-bg: #1F0C48;
  --page-bg-deep: #100426;
  --card-bg: rgba(255, 255, 255, 0.075);
  --card-bg-strong: rgba(255, 255, 255, 0.12);
  --line: rgba(255, 255, 255, 0.16);
  --line-strong: rgba(255, 255, 255, 0.26);
  --text: #F6F1FF;
  --muted: rgba(246, 241, 255, 0.72);
  --soft: rgba(246, 241, 255, 0.56);
  --accent: #9EF4D3;
  --accent-strong: #5EE8FF;
  --accent-warm: #F7C873;
  --danger-free: #BDA6FF;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.38);
  --radius-lg: 32px;
  --radius-md: 22px;
  --radius-sm: 14px;
  --container: min(1120px, calc(100% - 32px));
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--page-bg);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 12%, rgba(94, 232, 255, 0.22), transparent 30rem),
    radial-gradient(circle at 78% 2%, rgba(189, 166, 255, 0.24), transparent 34rem),
    linear-gradient(145deg, var(--page-bg), var(--page-bg-deep));
  font-family: var(--font);
  line-height: 1.55;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

::selection {
  color: #1F0C48;
  background: var(--accent);
}

.background-canvas,
.noise,
.ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.background-canvas {
  z-index: -4;
  opacity: 0.75;
}

.ambient {
  z-index: -3;
  filter: blur(48px);
  opacity: 0.8;
  transform: translate3d(0, 0, 0);
}

.ambient-one {
  width: 34rem;
  height: 34rem;
  top: 8%;
  right: -10rem;
  border-radius: 999px;
  background: rgba(94, 232, 255, 0.18);
  animation: floatAmbient 13s ease-in-out infinite alternate;
}

.ambient-two {
  width: 30rem;
  height: 30rem;
  left: -12rem;
  bottom: 6%;
  border-radius: 999px;
  background: rgba(247, 200, 115, 0.12);
  animation: floatAmbient 16s ease-in-out infinite alternate-reverse;
}

.noise {
  z-index: -2;
  opacity: 0.16;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.48'/%3E%3C/svg%3E");
}

.container {
  width: var(--container);
  margin-inline: auto;
}

.section {
  position: relative;
  padding: 86px 0;
}

.skip-link {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 999px;
  color: #16062e;
  background: var(--accent);
  font-weight: 800;
  transform: translateY(-140%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  top: 14px;
  left: 50%;
  z-index: 50;
  width: min(1120px, calc(100% - 28px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(20, 7, 45, 0.54);
  box-shadow: 0 16px 60px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(22px);
  transform: translateX(-50%);
  transition: background 220ms ease, border-color 220ms ease, box-shadow 220ms ease, padding 220ms ease;
}

.site-header.is-scrolled {
  padding: 9px 10px;
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(12, 4, 29, 0.76);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.36);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  color: #190636;
  background: linear-gradient(135deg, #ffffff, var(--accent));
  box-shadow: inset 0 -10px 22px rgba(31, 12, 72, 0.16), 0 12px 30px rgba(94, 232, 255, 0.18);
  font-weight: 900;
  letter-spacing: 0px;
}

.brand-text {
  display: grid;
  gap: 0;
  font-size: 0.78rem;
  line-height: 1.08;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.brand-text span:first-child {
  color: #fff;
  font-weight: 800;
}

.brand-text span:last-child {
  color: var(--soft);
  font-weight: 650;
}

.site-nav {
  display: none;
}

.site-nav a {
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.9rem;
  font-weight: 700;
  transition: color 180ms ease, transform 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
  color: #fff;
}

.nav-toggle {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #fff;
  transition: transform 220ms ease, opacity 220ms ease;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.site-nav.is-open {
  position: fixed;
  inset: 76px 14px auto;
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 28px;
  background: rgba(14, 4, 35, 0.94);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px);
}

.site-nav.is-open a {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
}

.hero {
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding-top: 120px;
  padding-bottom: 110px;
}

.hero-grid {
  display: grid;
  gap: 56px;
  align-items: center;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.status-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 7px rgba(158, 244, 211, 0.12), 0 0 26px rgba(158, 244, 211, 0.75);
}

.hero h1,
.split-heading h2,
.stand-copy h2,
.cta-panel h2,
.contact-grid h2 {
  margin: 0;
  max-width: 960px;
  color: #fff;
  font-size: clamp(3.2rem, 11vw, 8.9rem);
  line-height: 0.86;
  letter-spacing: -0.04em;
}

.hero-lead {
  max-width: 680px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.08rem, 2.4vw, 1.55rem);
  line-height: 1.45;
}

.hero-note {
  margin: 18px 0 0;
  color: var(--soft);
  font-size: 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  position: relative;
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 850;
  letter-spacing: -0.02em;
  overflow: hidden;
  isolation: isolate;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.button::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  opacity: 0;
  background: linear-gradient(110deg, transparent, rgba(255, 255, 255, 0.46), transparent);
  transform: translateX(-120%);
  transition: transform 620ms ease, opacity 220ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button:hover::after,
.button:focus-visible::after {
  opacity: 1;
  transform: translateX(120%);
}

.button-primary {
  color: #17062f;
  background: linear-gradient(135deg, #fff, var(--accent));
  box-shadow: 0 18px 50px rgba(94, 232, 255, 0.22);
}

.button-secondary {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
}

.button-light {
  color: #17062f;
  background: #fff;
  box-shadow: 0 20px 60px rgba(255, 255, 255, 0.18);
}

.hero-visual {
  position: relative;
  min-height: 480px;
  perspective: 1100px;
  transform: translateX(-80px);
}

.app-card {
  position: relative;
  z-index: 2;
  max-width: 400px;
  margin-inline: auto;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.06)),
    rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow);
  backdrop-filter: blur(28px);
  transform-style: preserve-3d;
  transition: transform 240ms ease;
}

.app-card::before {
  position: absolute;
  inset: 10px;
  z-index: -1;
  content: "";
  border-radius: 27px;
  background: linear-gradient(135deg, rgba(158, 244, 211, 0.18), transparent 36%, rgba(189, 166, 255, 0.16));
}

.app-card-topline,
.progress-head,
.rapport-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.app-card-topline {
  padding: 8px 6px 18px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.86rem;
  font-weight: 800;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border: 1px solid rgba(158, 244, 211, 0.28);
  border-radius: 999px;
  color: var(--accent);
  background: rgba(158, 244, 211, 0.1);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.rapport-panel {
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
}

.tiny-label {
  display: block;
  color: var(--soft);
  font-size: 0.72rem;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.rapport-panel strong {
  display: block;
  margin-top: 4px;
  color: #fff;
  font-size: 1.24rem;
}

.progress-block {
  margin-top: 14px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  background: rgba(14, 4, 35, 0.48);
}

.progress-head {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.86rem;
  font-weight: 800;
}

.progress-track {
  height: 9px;
  margin-top: 14px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.progress-track span {
  display: block;
  width: 72%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), var(--accent-strong));
  box-shadow: 0 0 22px rgba(94, 232, 255, 0.45);
  animation: progressGlow 2.8s ease-in-out infinite alternate;
}

.feature-list {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.feature-row {
  display: flex;
  gap: 14px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.065);
}

.feature-icon {
  display: grid;
  flex: 0 0 auto;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 14px;
  color: #15052d;
  background: var(--accent);
  font-size: 0.75rem;
  font-weight: 950;
}

.feature-row strong {
  display: block;
  color: #fff;
  font-size: 0.98rem;
}

.feature-row p {
  margin: 2px 0 0;
  color: var(--soft);
  font-size: 0.9rem;
}

.orbit {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 999px;
  transform: rotate(-18deg);
}

.orbit-one {
  inset: 22px 8px;
  animation: orbitPulse 5.5s ease-in-out infinite alternate;
}

.orbit-two {
  inset: 72px -20px 40px;
  animation: orbitPulse 6.5s ease-in-out infinite alternate-reverse;
}

.floating-chip {
  position: absolute;
  z-index: 3;
  padding: 11px 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
  font-size: 0.82rem;
  font-weight: 800;
}

.chip-one {
  top: 42px;
  left: 0;
  animation: floatChip 4.2s ease-in-out infinite;
}

.chip-two {
  right: 2px;
  bottom: 58px;
  animation: floatChip 4.8s ease-in-out infinite reverse;
}

.scroll-hint {
  position: absolute;
  bottom: 28px;
  left: 50%;
  display: none;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.scroll-hint i {
  display: block;
  width: 42px;
  height: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.18);
}

.scroll-hint i::after {
  display: block;
  width: 18px;
  height: 1px;
  content: "";
  background: #fff;
  animation: scrollLine 1.8s ease-in-out infinite;
}

.intro-band {
  padding: 0;
  overflow: hidden;
}

.marquee {
  border-block: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.045);
  backdrop-filter: blur(18px);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 28s linear infinite;
}

.marquee-track span {
  padding: 18px 20px;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1rem, 3vw, 1.8rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  white-space: nowrap;
}

.marquee-track span::after {
  margin-left: 34px;
  color: var(--accent);
  content: "//";
}

.split-heading,
.stand-grid,
.contact-grid {
  display: grid;
  gap: 24px;
}

.split-heading h2,
.stand-copy h2,
.cta-panel h2,
.contact-grid h2 {
  font-size: clamp(2.5rem, 7vw, 6.2rem);
  line-height: 0.9;
}

.split-heading p:not(.section-kicker),
.stand-copy p,
.cta-panel p,
.contact-card p {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.18rem);
}

.card-grid {
  display: grid;
  gap: 18px;
  margin-top: 42px;
}

.info-card,
.contact-card,
.timeline,
.cta-panel {
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.105), rgba(255, 255, 255, 0.045)),
    rgba(255, 255, 255, 0.045);
  box-shadow: 0 26px 74px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(24px);
}

.info-card {
  position: relative;
  min-height: 260px;
  padding: 24px;
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 200ms ease, border-color 200ms ease, background 200ms ease;
}

.info-card::after {
  position: absolute;
  right: -52px;
  bottom: -76px;
  width: 170px;
  height: 170px;
  content: "";
  border-radius: 999px;
  background: radial-gradient(circle, rgba(158, 244, 211, 0.18), transparent 68%);
  transition: transform 240ms ease, opacity 240ms ease;
}

.info-card:hover {
  border-color: rgba(158, 244, 211, 0.38);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.06)),
    rgba(255, 255, 255, 0.055);
  transform: translateY(-5px);
}

.info-card:hover::after {
  opacity: 1;
  transform: scale(1.28);
}

.card-number {
  display: inline-flex;
  margin-bottom: 48px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.14em;
}

.info-card h3 {
  margin: 0 0 10px;
  color: #fff;
  font-size: clamp(1.34rem, 3vw, 2rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.info-card p {
  margin: 0;
  color: var(--muted);
}

.stand-section {
  overflow: hidden;
}

.stand-section::before {
  position: absolute;
  inset: 12% auto auto 50%;
  width: 64rem;
  height: 64rem;
  content: "";
  border-radius: 999px;
  background: radial-gradient(circle, rgba(94, 232, 255, 0.12), transparent 62%);
  transform: translateX(-50%);
  pointer-events: none;
}

.timeline {
  position: relative;
  display: grid;
  gap: 4px;
  border-radius: var(--radius-lg);
  align-self: center;
  padding: 18px;
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 16px;
  padding: 18px 10px;
}

.timeline-item:last-child {
  padding-bottom: 4px;
}

.timeline-item:not(:last-child)::after {
  position: absolute;
  top: 48px;
  bottom: -6px;
  left: 25px;
  width: 1px;
  content: "";
  background: rgba(255, 255, 255, 0.16);
}

.timeline-marker {
  position: relative;
  z-index: 1;
  display: block;
  width: 15px;
  height: 15px;
  margin-top: 5px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.05);
}

.timeline-item.is-done .timeline-marker,
.timeline-item.is-active .timeline-marker {
  border-color: rgba(158, 244, 211, 0.86);
  background: var(--accent);
  box-shadow: 0 0 0 8px rgba(158, 244, 211, 0.12), 0 0 34px rgba(158, 244, 211, 0.46);
}

.timeline strong {
  display: block;
  color: #fff;
  font-size: 1.08rem;
}

.timeline p {
  margin: 5px 0 0;
  color: var(--muted);
  align-self: start;
}

.cta-panel {
  display: grid;
  gap: 26px;
  align-items: end;
  padding: clamp(24px, 5vw, 52px);
  border-radius: 36px;
  background:
    radial-gradient(circle at 88% 14%, rgba(158, 244, 211, 0.2), transparent 20rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.055)),
    rgba(255, 255, 255, 0.06);
}

.cta-panel h2 {
  max-width: 950px;
  margin-bottom: 18px;
  font-size: clamp(2.25rem, 5.4vw, 5rem);
}

.contact-grid {
  align-items: start;
}

.contact-card {
  display: grid;
  gap: 22px;
  padding: 24px;
  border-radius: var(--radius-md);
}

.mail-link {
  width: fit-content;
  color: #fff;
  font-size: clamp(1.1rem, 3.4vw, 2.35rem);
  font-weight: 900;
  letter-spacing: -0.055em;
  text-decoration: underline;
  text-decoration-color: rgba(158, 244, 211, 0.5);
  text-decoration-thickness: 2px;
  text-underline-offset: 8px;
  transition: color 180ms ease, text-decoration-color 180ms ease;
}

.mail-link:hover,
.mail-link:focus-visible {
  color: var(--accent);
  text-decoration-color: var(--accent);
}

.site-footer {
  padding: 28px 0 42px;
  color: var(--soft);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 22px;
  font-size: 0.92rem;
}

.footer-inner p {
  margin: 0;
}

.footer-inner a {
  color: #fff;
  font-weight: 800;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid rgba(158, 244, 211, 0.72);
  outline-offset: 4px;
}

@keyframes floatAmbient {
  from {
    transform: translate3d(-16px, -10px, 0) scale(1);
  }
  to {
    transform: translate3d(18px, 18px, 0) scale(1.08);
  }
}

@keyframes progressGlow {
  from {
    filter: saturate(1);
  }
  to {
    filter: saturate(1.4) brightness(1.12);
  }
}

@keyframes orbitPulse {
  from {
    opacity: 0.38;
    transform: rotate(-18deg) scale(0.98);
  }
  to {
    opacity: 0.74;
    transform: rotate(-12deg) scale(1.02);
  }
}

@keyframes floatChip {
  0%, 100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(0, -13px, 0);
  }
}

@keyframes scrollLine {
  from {
    transform: translateX(-120%);
  }
  to {
    transform: translateX(260%);
  }
}

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

@media (min-width: 720px) {
  .section {
    padding: 118px 0;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(330px, 0.72fr);
  }

  .scroll-hint {
    display: inline-flex;
  }

  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wide-card {
    grid-column: span 2;
  }

  .stand-grid,
  .contact-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 54px;
  }

  .cta-panel {
    grid-template-columns: 1fr auto;
  }
}

@media (min-width: 940px) {
  .nav-toggle {
    display: none;
  }

  .site-nav,
  .site-nav.is-open {
    position: static;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }

  .site-nav a,
  .site-nav.is-open a {
    padding: 10px 14px;
    border-radius: 999px;
    background: transparent;
  }

  .site-nav a:hover,
  .site-nav a:focus-visible,
  .site-nav a.is-active {
    background: rgba(255, 255, 255, 0.09);
  }

  .card-grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: 22px;
    align-items: start;
  }

  .info-card:nth-child(1) {
    grid-column: 1 / span 3;
    margin-top: 52px;
  }

  .info-card:nth-child(2) {
    grid-column: 4 / span 3;
    margin-top: 0;
  }

  .info-card:nth-child(3) {
    grid-column: 7 / span 3;
    margin-top: 52px;
  }

  .info-card:nth-child(4) {
    grid-column: 10 / span 3;
    margin-top: 14px;
  }

  .wide-card {
    grid-column: 3 / span 6;
    margin-top: 4px;
  }
}

@media (max-width: 719px) {
  .section {
    padding: 74px 0;
  }

  .hero {
    min-height: auto;
    padding-top: 116px;
    padding-bottom: 76px;
  }

  .hero-grid {
    gap: 42px;
  }

  .hero h1 {
    font-size: clamp(3.05rem, 16vw, 5.4rem);
  }

  .hero-visual {
    min-height: auto;
  }

  .app-card {
    max-width: 100%;
  }

  .orbit {
    display: none;
  }

  .split-heading h2,
  .stand-copy h2,
  .cta-panel h2,
  .contact-grid h2 {
    font-size: clamp(2.35rem, 12vw, 4.6rem);
    line-height: 1;
  }

  .card-grid {
    gap: 16px;
  }

  .info-card {
    min-height: auto;
  }

  .card-number {
    margin-bottom: 34px;
  }
}

@media (min-width: 720px) and (max-width: 939px) {
  .info-card:nth-child(2),
  .info-card:nth-child(4) {
    margin-top: 34px;
  }
}

@media (max-width: 420px) {
  :root {
    --container: min(100% - 24px, 1120px);
  }

  .site-header {
    top: 10px;
    width: calc(100% - 20px);
  }

  .brand-text {
    display: none;
  }

  .hero {
    padding-top: 112px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-visual {
    min-height: 430px;
  }

  .floating-chip {
    display: none;
  }

  .app-card {
    padding: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .background-canvas {
    display: none;
  }

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

/* ================================
   Layout & Responsive Refinements
   ================================ */

:root {
  --container: min(1240px, calc(100% - 40px));
}

/* Verhindert, dass grosse Texte in CSS Grid aus ihrer Spalte herauslaufen */
.hero-grid > *,
.split-heading > *,
.stand-grid > *,
.contact-grid > * {
  min-width: 0;
}

/* Hero-Headline: weniger eng, etwas kontrollierter */
.hero h1 {
  max-width: 780px;
  font-size: clamp(3.2rem, 8.2vw, 7.35rem);
  line-height: 0.92;
  letter-spacing: -0.022em;
}

/* Andere grosse Headlines nicht ganz so brutal eng setzen */
.split-heading h2,
.stand-copy h2,
.cta-panel h2,
.contact-grid h2 {
  letter-spacing: -0.028em;
  line-height: 0.94;
}

/* Lead Text etwas ruhiger und hochwertiger */
.hero-lead {
  max-width: 660px;
  line-height: 1.55;
}

/* App Card auf Desktop klar nach rechts */
.hero-visual {
  justify-self: end;
  width: 100%;
}

.app-card {
  max-width: 430px;
  margin-inline: auto;
}

/* Chips dürfen nicht komisch aus dem Layout hängen */
.floating-chip {
  max-width: calc(100vw - 48px);
  white-space: nowrap;
}

/* Desktop Hero: mehr Abstand zwischen Text und App Card */
@media (min-width: 940px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.72fr);
    gap: clamp(72px, 8vw, 132px);
  }

  .hero-visual {
    min-height: 700px;
    transform: translateX(-800px);
  }
}

/* Tablet: noch kein zweispaltiger Hero, sonst wird es eng */
@media (min-width: 720px) and (max-width: 939px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 64px;
  }

  .hero h1 {
    max-width: 860px;
    font-size: clamp(4rem, 11vw, 6.6rem);
  }

  .hero-visual {
    justify-self: center;
    max-width: 520px;
    min-height: auto;
  }

  .app-card {
    margin-inline: auto;
  }
}

/* Mobile: Headline luftiger, Chips weg, Card sauber */
@media (max-width: 719px) {
  :root {
    --container: min(100% - 28px, 1240px);
  }

  .hero h1 {
    font-size: clamp(3rem, 14.4vw, 5.15rem);
    line-height: 0.94;
    letter-spacing: -0.018em;
  }

  .hero-lead {
    font-size: clamp(1.02rem, 4.4vw, 1.22rem);
  }

  .hero-visual {
    min-height: auto;
  }

  .app-card {
    max-width: 100%;
    margin-inline: auto;
  }

  .floating-chip {
    display: none;
  }
}

/* Sehr kleine Screens */
@media (max-width: 420px) {
  .hero h1 {
    font-size: clamp(2.85rem, 14vw, 4.6rem);
    line-height: 0.96;
  }

  .rapport-panel {
    padding: 16px;
  }

  .feature-row {
    padding: 12px;
  }

  .app-card-topline {
    flex-wrap: wrap;
  }
}

/* Mobile Fix: Elektroinstallationen CTA */
@media (max-width: 719px) {
  .cta-panel {
    padding: 28px 20px;
    border-radius: 28px;
    overflow: hidden;
  }

  .cta-panel h2 {
    font-size: clamp(2.05rem, 10vw, 3.05rem);
    line-height: 1;
    letter-spacing: -0.025em;
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: normal;
    hyphens: auto;
  }

  .cta-panel p {
    font-size: 1rem;
    line-height: 1.6;
    max-width: 100%;
  }

  .cta-panel .button {
    width: 100%;
    text-align: center;
  }
}
