:root {
  --bg: #0b1020;
  --surface: #12182b;
  --surface-2: #181f38;
  --accent-cyan: #25d0d0;
  --accent-violet: #8b5cf6;
  --text: #f5f7ff;
  --muted: #aab3c5;
  --line: rgba(255, 255, 255, 0.08);
  --max: 1200px;
  --radius-section: 28px;
  --radius-card: 20px;
  --radius-field: 16px;
  --radius-pill: 999px;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 106.25%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 80% -10%, rgba(139, 92, 246, 0.16), transparent 35%),
    radial-gradient(circle at 10% 15%, rgba(37, 208, 208, 0.1), transparent 32%),
    var(--bg);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

body.simple-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body.simple-page main {
  flex: 1;
}

.bg-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
}

.bg-grid {
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 40%, black 25%, transparent 80%);
  opacity: 0.35;
}

.bg-glow {
  z-index: -1;
  background: radial-gradient(circle at 20% 20%, rgba(37, 208, 208, 0.12), transparent 32%),
    radial-gradient(circle at 82% 78%, rgba(139, 92, 246, 0.16), transparent 34%);
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.section {
  padding: 6.5rem 0;
  position: relative;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.76rem;
  color: var(--accent-cyan);
  margin-bottom: 0.8rem;
  font-weight: 600;
}

.hero-accent {
  color: var(--accent-cyan);
}

h1,
h2,
h3,
h4 {
  font-family: "Space Grotesk", sans-serif;
  margin: 0 0 0.8rem;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

h1 {
  font-size: clamp(2.36rem, 5.45vw, 4.9rem);
}

h2 {
  font-size: clamp(1.5rem, 2.82vw, 2.64rem);
}

h3 {
  font-size: 1.08rem;
}

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

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

li::marker {
  content: "";
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.78rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font-weight: 600;
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease, color 260ms ease;
}

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

.btn-primary {
  background: linear-gradient(120deg, rgba(37, 208, 208, 0.95), rgba(139, 92, 246, 0.95));
  background-size: 180% 100%;
  background-position: 0% 50%;
  color: #05070f;
  border-color: transparent;
  box-shadow: 0 16px 34px rgba(37, 208, 208, 0.22);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background-position: 100% 50%;
  box-shadow: 0 20px 40px rgba(139, 92, 246, 0.3);
}

.btn-link {
  border-color: transparent;
  color: var(--text);
  padding-inline: 0.2rem;
  position: relative;
}

.btn-link::after {
  content: "\2192";
  display: inline-block;
  margin-left: 0.45rem;
}

.btn-link:hover::after,
.btn-link:focus-visible::after {
  transform: none;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 999;
  backdrop-filter: blur(8px);
  background: rgba(11, 16, 32, 0.68);
  border-bottom: 1px solid var(--line);
}

.site-header-host {
  position: relative;
  min-height: 6rem;
}

.header-inner {
  min-height: 6rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.4rem;
}

.logo {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
  letter-spacing: 0.03em;
}

.logo span {
  color: var(--accent-cyan);
}

.logo-image {
  display: inline-flex;
  align-items: center;
}

.logo-image img {
  display: block;
  width: auto;
  height: 4.4rem;
  max-width: 100%;
}

.main-nav {
  justify-self: center;
  display: flex;
  gap: 1.2rem;
}

.mobile-menu {
  display: none;
}

.main-nav a {
  color: var(--muted);
  position: relative;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-violet));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 240ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--text);
}

.main-nav a.active {
  color: var(--text);
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after,
.main-nav a.active::after {
  transform: scaleX(1);
}

@media (min-width: 981px) {
  .main-nav:has(a:hover) a.active::after,
  .main-nav:has(a:focus-visible) a.active::after {
    transform: scaleX(0);
  }

  .main-nav:has(a:hover) a.active:hover::after,
  .main-nav:has(a:focus-visible) a.active:focus-visible::after {
    transform: scaleX(1);
  }
}

.nav-toggle {
  display: none;
  position: relative;
  background: transparent;
  border: 0;
  width: 2.3rem;
  height: 2rem;
  padding: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 0.35rem 0;
  background: var(--text);
  transition: transform 220ms ease, opacity 220ms ease;
}

body.menu-open {
  overflow: hidden;
}

.hero {
  padding-top: 8.4rem;
  padding-bottom: 7.2rem;
  position: relative;
  isolation: isolate;
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.48;
  z-index: -2;
  pointer-events: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 16, 32, 0.68) 0%, rgba(11, 16, 32, 0.50) 45%, rgba(11, 16, 32, 0.62) 100%);
  z-index: -1;
  pointer-events: none;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 3.3rem;
  align-items: start;
}

.hero-visual {
  margin-top: 60px;
}

.hero-copy > * {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.hero-copy.is-visible > * {
  opacity: 1;
  transform: none;
}

.hero-copy.is-visible > *:nth-child(1) { transition-delay: 80ms; }
.hero-copy.is-visible > *:nth-child(2) { transition-delay: 150ms; }
.hero-copy.is-visible > *:nth-child(3) { transition-delay: 220ms; }
.hero-copy.is-visible > *:nth-child(4) { transition-delay: 290ms; }
.hero-copy.is-visible > *:nth-child(5) { transition-delay: 360ms; }

.lead {
  max-width: 62ch;
  margin-top: 1rem;
  font-size: 1.12rem;
  line-height: 1.72;
}

.hero-actions {
  display: grid;
  grid-template-columns: minmax(0, 14.2rem) minmax(0, 14.2rem);
  gap: 0.95rem 1.2rem;
  margin-top: 2.2rem;
  align-items: stretch;
  min-height: 3rem;
  justify-content: start;
}

.hero-actions .btn {
  width: 100%;
  min-height: 2.9rem;
  line-height: 1.2;
  white-space: nowrap;
}

.hero-actions .btn-primary {
  min-width: 0;
}

.hero-actions .btn-link {
  min-width: 14.2rem;
}

.hero-actions .btn-link {
  padding: 0.72rem 1.2rem;
  border: 1px solid rgba(43, 224, 255, 0.3);
  border-radius: var(--radius-pill);
  background:
    linear-gradient(120deg, rgba(43, 224, 255, 0.12), rgba(124, 140, 255, 0.1));
  color: rgba(241, 248, 255, 0.97);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.hero-actions .btn-link:hover,
.hero-actions .btn-link:focus-visible {
  border-color: rgba(43, 224, 255, 0.5);
  background:
    linear-gradient(120deg, rgba(43, 224, 255, 0.2), rgba(124, 140, 255, 0.16));
  box-shadow:
    0 12px 24px rgba(4, 8, 20, 0.24),
    0 0 14px rgba(43, 224, 255, 0.1);
}

.hero-actions .btn-link::after {
  margin-left: 0.2rem;
  color: rgba(43, 224, 255, 0.9);
}

.hero-topic-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  max-width: 42rem;
  margin-top: 1.25rem;
}

.hero-topic-links a {
  display: inline-flex;
  align-items: center;
  min-height: 2.15rem;
  padding: 0.42rem 0.68rem;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--radius-pill);
  background: rgba(8, 13, 28, 0.48);
  color: rgba(226, 235, 248, 0.86);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.2;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.hero-topic-links a:hover,
.hero-topic-links a:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(37, 208, 208, 0.4);
  background: rgba(37, 208, 208, 0.1);
  color: var(--text);
}

.hero-facts {
  margin: 2.3rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.7rem;
  color: var(--text);
}

.hero-facts li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.hero-facts li::before {
  content: "";
  flex: 0 0 auto;
  width: 0.7rem;
  height: 0.7rem;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 14px rgba(37, 208, 208, 0.45);
}

.panel {
  border: 1px solid var(--line);
  border-radius: var(--radius-section);
  background: linear-gradient(180deg, rgba(24, 31, 56, 0.8), rgba(18, 24, 43, 0.9));
  padding: 1.45rem;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.05), 0 30px 70px rgba(5, 7, 15, 0.45);
  --panel-offset: 0px;
  opacity: 0;
  transform: translateY(calc(18px + var(--panel-offset))) scale(0.985);
  transition: opacity 620ms ease, transform 620ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero-visual.is-visible .panel {
  opacity: 1;
  transform: translateY(var(--panel-offset)) scale(1);
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  color: var(--muted);
  font-size: 0.83rem;
  margin-bottom: 1rem;
}

.panel-head strong {
  color: var(--text);
}

.panel-meta {
  font-size: 0.73rem;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 0.22rem 0.48rem;
}

.panel-explainer {
  margin: 0.85rem 0 1.1rem;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--muted);
  max-width: 34rem;
}

.lh-scores {
  display: grid;
  gap: 0.6rem;
  margin-bottom: 0.7rem;
}

.lh-item {
  position: relative;
  padding: 16px 15px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-card);
  background:
    linear-gradient(180deg, rgba(22, 29, 54, 0.9), rgba(11, 16, 32, 0.96));
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
  text-align: center;
}

.lh-item.primary {
  text-align: center;
}

.lh-item.primary p {
  font-size: 0.9rem;
  margin-top: 0.45rem;
}

.lh-subscores {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
}

.lh-item p {
  margin-top: 0.35rem;
  font-size: 0.72rem;
  color: rgba(214, 225, 240, 0.72);
}

.lh-item:hover {
  transform: translateY(-2px);
  border-color: rgba(43, 224, 255, 0.16);
  box-shadow:
    0 14px 28px rgba(0, 0, 0, 0.22),
    0 0 12px rgba(43, 224, 255, 0.06);
}

.lh-ring {
  --ring-track: rgba(255, 255, 255, 0.08);
  --ring-glow: rgba(43, 224, 255, 0.12);
  --ring-accent-a: #2be0ff;
  --ring-accent-b: #7c8cff;
  position: relative;
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  margin-inline: auto;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 28%, rgba(255, 255, 255, 0.16), transparent 26%),
    conic-gradient(
      from -90deg,
      var(--ring-accent-a) calc(var(--fill, 0) * 1%),
      var(--ring-track) 0
    );
  box-shadow:
    0 10px 26px rgba(0, 0, 0, 0.22),
    0 0 14px var(--ring-glow);
}

.lh-ring::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background:
    linear-gradient(180deg, rgba(20, 28, 52, 0.96), rgba(9, 14, 28, 0.98));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    inset 0 -10px 18px rgba(0, 0, 0, 0.2);
}

.lh-ring span {
  position: relative;
  z-index: 1;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
  color: rgba(248, 251, 255, 0.96);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.22);
}

.lh-ring.bad {
  --ring-accent-a: #ff6b78;
  --ring-accent-b: #ff9a62;
  --ring-glow: rgba(255, 107, 120, 0.12);
}

.lh-ring.warn {
  --ring-accent-a: #ffb84d;
  --ring-accent-b: #ffd66b;
  --ring-glow: rgba(255, 184, 77, 0.12);
}

.lh-ring.good {
  --ring-accent-a: #39d98a;
  --ring-accent-b: #7cf7b0;
  --ring-glow: rgba(57, 217, 138, 0.12);
}

.lh-metrics {
  border: 1px solid var(--line);
  background: rgba(11, 16, 32, 0.56);
  padding: 0.62rem 0.72rem;
  display: grid;
  gap: 0.38rem;
}

.lh-metric {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  padding-bottom: 0.34rem;
}

.lh-metric:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.lh-metric span {
  font-size: 0.78rem;
  color: var(--muted);
}

.lh-metric strong {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.32rem 0.55rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  color: rgba(248, 251, 255, 0.96);
  font-size: 0.81rem;
  font-weight: 700;
}

.lh-metric strong.bad {
  color: #ff9aa5;
  border-color: rgba(255, 107, 120, 0.2);
  background: rgba(255, 107, 120, 0.08);
}

.lh-metric strong.warn {
  color: #ffd27a;
  border-color: rgba(255, 184, 77, 0.2);
  background: rgba(255, 184, 77, 0.08);
}

.lh-metric strong.good {
  color: #8bf0b7;
  border-color: rgba(57, 217, 138, 0.2);
  background: rgba(57, 217, 138, 0.08);
}

.dashboard-insight {
  margin-top: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-card);
  background:
    linear-gradient(180deg, rgba(20, 27, 50, 0.88), rgba(10, 14, 28, 0.94));
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  padding: 0.7rem;
}

.dashboard-insight p {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(142, 225, 255, 0.78);
  margin-bottom: 0.28rem;
}

.dashboard-insight h4 {
  margin: 0;
  font-size: 0.88rem;
  color: rgba(245, 249, 255, 0.96);
  line-height: 1.35;
}

.dashboard-insight.compact h4 {
  font-size: 0.82rem;
}

.dashboard.panel.is-refreshing .lh-ring {
  filter: brightness(1.04);
}

.dashboard.panel.is-refreshing .lh-item {
  transform: translateY(-1px);
}

.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2.3rem;
  align-items: start;
}

.problem .section-head {
  max-width: 900px;
}

.problem-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: start;
}

.reality-flow {
  display: grid;
  gap: 0.75rem;
  counter-reset: reality-step;
}

.reality-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 2.9rem minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  width: min(100%, 66%);
  counter-increment: reality-step;
  position: relative;
  overflow: visible;
  padding: 1.05rem 1.05rem 1.05rem 0.7rem;
  border-left: 1px solid rgba(37, 208, 208, 0.35);
  background: linear-gradient(100deg, rgba(18, 24, 43, 0.74) 0%, rgba(18, 24, 43, 0.36) 45%, rgba(139, 92, 246, 0.08) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-card);
}

.reality-item::before {
  content: "";
  position: absolute;
  inset: -1px;
  border: 1px solid rgba(37, 208, 208, 0.28);
  border-right-color: rgba(139, 92, 246, 0.44);
  border-radius: inherit;
  background: linear-gradient(90deg, transparent 70%, rgba(139, 92, 246, 0.16) 88%, transparent 100%);
  box-shadow: 26px 0 34px -24px rgba(139, 92, 246, 0.5);
  opacity: 1;
}

.reality-item:nth-child(odd)::before {
  border-color: rgba(37, 208, 208, 0.3);
  border-left-color: rgba(37, 208, 208, 0.5);
  border-right-color: rgba(37, 208, 208, 0.22);
  background: linear-gradient(270deg, transparent 70%, rgba(37, 208, 208, 0.18) 88%, transparent 100%);
  box-shadow: -26px 0 34px -24px rgba(37, 208, 208, 0.52);
}

.reality-item::after {
  content: counter(reality-step);
  position: absolute;
  top: 50%;
  right: -0.6rem;
  --step-x: 100%;
  --step-rot: -8deg;
  transform: translate(var(--step-x), -50%) rotate(var(--step-rot));
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: clamp(3rem, 7vw, 6.1rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: rgba(139, 92, 246, 0.22);
  text-shadow: 0 10px 26px rgba(5, 7, 15, 0.38);
  pointer-events: none;
  user-select: none;
  z-index: 0;
  animation: reality-step-float 7.6s ease-in-out infinite;
}

.reality-item > * {
  position: relative;
  z-index: 1;
}

.reality-item:nth-child(odd) {
  justify-self: start;
}

.reality-item:nth-child(even) {
  justify-self: end;
}

.reality-item:nth-child(even)::after {
  left: -0.6rem;
  right: auto;
  --step-x: -100%;
  --step-rot: 8deg;
  transform: translate(var(--step-x), -50%) rotate(var(--step-rot));
  color: rgba(37, 208, 208, 0.22);
}

.flow-label {
  font-family: "Space Grotesk", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.72rem;
  margin-bottom: 0.35rem;
}

.reality-symptom .flow-label {
  color: var(--accent-cyan);
}

.reality-cause .flow-label {
  color: #9da6ff;
}

.reality-symptom h3 {
  margin-bottom: 0.3rem;
  font-size: 1.12rem;
}

.reality-symptom p {
  font-size: 0.92rem;
  color: var(--muted);
}

.reality-arrow-wrap {
  align-self: center;
  justify-self: center;
  display: block;
  width: 2.4rem;
  height: 2.4rem;
}

.reality-arrow {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 180ms ease, filter 180ms ease;
  transform-origin: 50% 50%;
  animation: reality-arrow-pulse 3.4s ease-in-out infinite;
}

.reality-item:nth-child(odd) .reality-arrow-wrap {
  filter:
    invert(72%) sepia(53%) saturate(714%) hue-rotate(128deg) brightness(98%) contrast(95%)
    drop-shadow(0 0 10px rgba(37, 208, 208, 0.32));
}

.reality-item:nth-child(even) .reality-arrow-wrap {
  filter:
    invert(53%) sepia(67%) saturate(640%) hue-rotate(224deg) brightness(99%) contrast(98%)
    drop-shadow(0 0 10px rgba(139, 92, 246, 0.34));
}

.reality-item:nth-child(even) .reality-arrow {
  animation-delay: 0.35s;
}

.reality-item:hover .reality-arrow,
.reality-item:focus-within .reality-arrow {
  transform: translateX(2px);
}

.reality-cause ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.38rem;
}

.reality-cause li {
  font-size: 0.9rem;
  color: var(--muted);
  padding-left: 0.82rem;
  position: relative;
}

.reality-cause li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52rem;
  width: 0.34rem;
  height: 0.34rem;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: rgba(139, 92, 246, 0.9);
  box-shadow: 0 0 10px rgba(139, 92, 246, 0.35);
}

.problem-more {
  margin-top: 0.65rem;
  display: inline-block;
  font-size: 0.82rem;
  color: var(--accent-cyan);
  border-bottom: 1px solid rgba(37, 208, 208, 0.45);
}

.problem-more:hover,
.problem-more:focus-visible {
  color: #78ecec;
  border-bottom-color: rgba(120, 236, 236, 0.72);
}

@keyframes reality-step-float {
  0%,
  100% {
    transform: translate(var(--step-x), -50%) rotate(var(--step-rot));
  }
  50% {
    transform: translate(var(--step-x), -53%) rotate(calc(var(--step-rot) * 1.12));
  }
}

@keyframes reality-arrow-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.92;
  }
  50% {
    transform: scale(1.05);
    opacity: 1;
  }
}

.mark-cyan {
  color: var(--accent-cyan);
}

.mark-violet {
  color: #a695ff;
}

.mark-warn {
  color: #f2c26f;
}

.problem-impact {
  margin-top: 1.15rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(90deg, rgba(37, 208, 208, 0.12), rgba(139, 92, 246, 0.1));
  padding: 1.05rem 1.1rem;
  border-radius: var(--radius-card);
}

.problem-impact h3 {
  margin-bottom: 0.35rem;
}

.problem-list article,
.audit-item,
.why-grid article,
.metric {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(24, 31, 56, 0.65), rgba(18, 24, 43, 0.88));
  padding: 1rem;
  border-radius: var(--radius-card);
}

.problem-list h3,
.audit-item h3,
.metric h3,
.why-grid h3 {
  margin-bottom: 0.35rem;
}

.section-head {
  max-width: 760px;
  margin-bottom: 2rem;
}

#leistung .section-head {
  max-width: 100%;
  margin-bottom: 2.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(200px, 20vw, 290px);
  gap: 0.4rem 2.6rem;
  align-items: start;
}

#leistung .section-head .eyebrow,
#leistung .section-head h2,
#leistung .section-head .section-intro {
  grid-column: 1;
}

#leistung .section-head h2 {
  max-width: 19ch;
}

#leistung .section-intro {
  max-width: 72ch;
  margin-top: 1.15rem;
  color: rgba(223, 230, 245, 0.82);
  font-size: clamp(1rem, 1.35vw, 1.14rem);
  line-height: 1.78;
}

#leistung .leistung-frame {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 2rem 2.6rem;
  align-items: start;
  margin-bottom: 2.25rem;
}

#leistung .leistung-copy {
  position: relative;
  padding: 0.35rem 0 0.15rem 1.35rem;
}

#leistung .leistung-copy::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2rem;
  bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, rgba(37, 208, 208, 0.72), rgba(139, 92, 246, 0.34) 62%, rgba(255, 255, 255, 0.06));
}

#leistung .leistung-side {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: center;
  justify-content: end;
}

#leistung .leistung-kicker,
#leistung .leistung-note-label {
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-size: 0.74rem;
  font-weight: 600;
  margin-bottom: 0.82rem;
}

#leistung .leistung-kicker {
  color: rgba(37, 208, 208, 0.92);
}

#leistung .leistung-copy h3 {
  max-width: 28ch;
  font-size: clamp(1.22rem, 1.7vw, 1.55rem);
  margin-bottom: 0.9rem;
  line-height: 1.24;
}

#leistung .leistung-copy p {
  max-width: 66ch;
  font-size: 1.02rem;
  line-height: 1.78;
  color: rgba(219, 227, 242, 0.8);
}

#leistung .leistung-note {
  align-self: start;
  padding: 1rem 1.1rem 1.05rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-card);
  background: linear-gradient(160deg, rgba(20, 28, 51, 0.88), rgba(18, 24, 43, 0.72) 78%);
  box-shadow: inset 0 0 0 1px rgba(37, 208, 208, 0.08);
}

#leistung .leistung-note-label {
  color: rgba(242, 194, 111, 0.92);
}

#leistung .leistung-note p {
  color: rgba(223, 230, 245, 0.83);
  line-height: 1.7;
}

#leistung .leistung-note strong {
  color: var(--text);
}

#leistung .leistung-visual {
  display: block;
  grid-column: 2;
  grid-row: 1 / span 3;
  justify-self: end;
  align-self: start;
  width: clamp(200px, 20vw, 290px);
  max-width: 100%;
  height: auto;
  opacity: 0.24;
  filter: brightness(1.04) saturate(0.9) contrast(1.01);
  pointer-events: none;
  user-select: none;
  transform: translate(4%, -4%);
}

.audit-matrix {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

#leistung .audit-matrix {
  gap: 1.2rem;
}

.audit-item {
  position: relative;
}

#leistung .audit-item {
  position: relative;
  padding: 1.35rem 1.25rem 1.3rem;
  border: 1px solid rgba(98, 174, 255, 0.24);
  border-radius: var(--radius-card);
  background:
    linear-gradient(180deg, rgba(15, 25, 48, 0.9), rgba(10, 17, 34, 0.96)),
    radial-gradient(circle at top right, rgba(37, 208, 208, 0.08), transparent 42%);
  overflow: hidden;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

#leistung .audit-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 1.25rem;
  right: 1.25rem;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(37, 208, 208, 0.95),
    rgba(139, 92, 246, 0.55),
    rgba(255, 194, 92, 0.88)
  );
}

#leistung .audit-item::after {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(37, 208, 208, 0.08), transparent 68%);
  pointer-events: none;
}

#leistung .audit-item:hover,
#leistung .audit-item:focus-within {
  transform: translateY(-4px);
  border-color: rgba(37, 208, 208, 0.38);
  box-shadow:
    0 18px 34px rgba(3, 8, 20, 0.28),
    inset 0 0 0 1px rgba(37, 208, 208, 0.05);
}

#leistung .audit-tag {
  display: inline-flex;
  align-items: center;
  margin-bottom: 0.95rem;
  padding: 0.3rem 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(214, 224, 242, 0.82);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

#leistung .audit-item h3 {
  margin-bottom: 0.75rem;
  font-size: 1.05rem;
  line-height: 1.3;
}

#leistung .audit-item p {
  margin: 0;
  color: rgba(219, 227, 242, 0.78);
  line-height: 1.7;
}

#leistung .audit-link {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  margin-top: 0.9rem;
  color: rgba(37, 208, 208, 0.92);
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
}

#leistung .audit-link::after {
  content: "\2192";
  color: rgba(242, 194, 111, 0.92);
  transition: transform 180ms ease;
}

#leistung .audit-link:hover,
#leistung .audit-link:focus-visible {
  color: var(--text);
}

#leistung .audit-link:hover::after,
#leistung .audit-link:focus-visible::after {
  transform: translateX(2px);
}

#leistung .audit-item:hover .audit-tag,
#leistung .audit-item:focus-within .audit-tag {
  border-color: rgba(37, 208, 208, 0.28);
  color: rgba(255, 255, 255, 0.92);
}

.icon {
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.8rem;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-field);
  background: rgba(11, 16, 32, 0.8);
}

.icon svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: var(--accent-cyan);
}

.icon img {
  width: 1.25rem;
  height: 1.25rem;
  object-fit: contain;
}

#leistung .icon {
  width: 2.2rem;
  height: 2.2rem;
  margin-bottom: 0.86rem;
  border: 1px solid rgba(255, 255, 255, 0.13);
  background: linear-gradient(180deg, rgba(11, 16, 32, 0.92), rgba(20, 27, 49, 0.82));
  box-shadow: inset 0 0 0 1px rgba(37, 208, 208, 0.12);
}

#leistung .icon svg {
  width: 1.05rem;
  height: 1.05rem;
  fill: rgba(83, 226, 226, 0.95);
}

#leistung .icon img {
  width: 1.05rem;
  height: 1.05rem;
  object-fit: contain;
}

#leistung .icon-mask {
  color: rgba(83, 226, 226, 0.95);
  transition: color 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

#leistung .icon-mask::before {
  content: "";
  display: block;
  width: 1.05rem;
  height: 1.05rem;
  background-color: currentColor;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
  transition: background-color 180ms ease, filter 180ms ease;
}

#leistung .icon-bolt::before {
  -webkit-mask-image: url("../medien/icons/bolt.svg");
  mask-image: url("../medien/icons/bolt.svg");
}

#leistung .icon-bug::before {
  -webkit-mask-image: url("../medien/icons/bug.svg");
  mask-image: url("../medien/icons/bug.svg");
}

#leistung .icon-device-mobile::before {
  -webkit-mask-image: url("../medien/icons/device-mobile.svg");
  mask-image: url("../medien/icons/device-mobile.svg");
}

#leistung .icon-seo::before {
  -webkit-mask-image: url("../medien/icons/seo.svg");
  mask-image: url("../medien/icons/seo.svg");
}

#leistung .icon-route::before {
  -webkit-mask-image: url("../medien/icons/route.svg");
  mask-image: url("../medien/icons/route.svg");
}

#leistung .icon-chart-bar::before {
  -webkit-mask-image: url("../medien/icons/chart-bar.svg");
  mask-image: url("../medien/icons/chart-bar.svg");
}

#leistung .audit-item:nth-child(even) .icon-mask {
  color: var(--accent-violet);
}

#leistung .audit-item:hover .icon-mask,
#leistung .audit-item:focus-within .icon-mask {
  color: #8cf8f8;
  border-color: rgba(140, 248, 248, 0.45);
  box-shadow:
    inset 0 0 0 1px rgba(140, 248, 248, 0.2),
    0 0 12px rgba(83, 226, 226, 0.25);
}

#leistung .audit-item:hover:nth-child(even) .icon-mask,
#leistung .audit-item:focus-within:nth-child(even) .icon-mask {
  color: #b08cff;
  border-color: rgba(176, 140, 255, 0.46);
  box-shadow:
    inset 0 0 0 1px rgba(176, 140, 255, 0.2),
    0 0 12px rgba(139, 92, 246, 0.28);
}

#leistung .audit-item:hover .icon-mask::before,
#leistung .audit-item:focus-within .icon-mask::before {
  filter: drop-shadow(0 0 4px currentColor);
}

#prozess .section-head {
  max-width: 820px;
}

#prozess .section-intro {
  max-width: 72ch;
  margin-top: 1rem;
  color: rgba(223, 230, 245, 0.82);
  font-size: clamp(1rem, 1.35vw, 1.08rem);
  line-height: 1.76;
}

#prozess .process-stage {
  position: relative;
  min-height: 500px;
  margin-top: 2.2rem;
  padding: 2.4rem 0 1.2rem;
  isolation: isolate;
  overflow: hidden;
}

#prozess .process-stage::before,
#prozess .process-stage::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 0;
  border-radius: 999px;
  filter: blur(34px);
}

#prozess .process-stage::before {
  width: clamp(180px, 22vw, 290px);
  height: clamp(120px, 16vw, 190px);
  right: 9%;
  top: 18%;
  background: radial-gradient(circle, rgba(37, 208, 208, 0.11), rgba(37, 208, 208, 0));
}

#prozess .process-stage::after {
  width: clamp(170px, 20vw, 260px);
  height: clamp(110px, 14vw, 160px);
  left: 34%;
  bottom: 6%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.11), rgba(139, 92, 246, 0));
}

#prozess .process-path {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

#prozess .process-path-base,
#prozess .process-path-glow,
#prozess .process-path-signal {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#prozess .process-path-base {
  stroke: rgba(186, 203, 232, 0.12);
  stroke-width: 1.2;
}

#prozess .process-path-glow {
  stroke: rgba(37, 208, 208, 0.13);
  stroke-width: 1.9;
  filter: drop-shadow(0 0 4px rgba(37, 208, 208, 0.1));
}

#prozess .process-path-signal {
  stroke: rgba(140, 248, 248, 0.62);
  stroke-width: 0.9;
  stroke-dasharray: 10 88;
  stroke-dashoffset: 0;
  filter: drop-shadow(0 0 4px rgba(140, 248, 248, 0.14));
  animation: process-signal-flow 10s linear infinite;
}

#prozess .process-step {
  position: absolute;
  width: min(100%, 255px);
  padding: 1.1rem 1rem 1rem;
  border: 1px solid rgba(98, 174, 255, 0.2);
  border-radius: var(--radius-card);
  background: linear-gradient(180deg, rgba(15, 25, 48, 0.98), rgba(10, 17, 34, 0.99));
  box-shadow:
    inset 0 0 0 1px rgba(37, 208, 208, 0.04),
    0 22px 40px rgba(4, 8, 20, 0.24);
  z-index: 2;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

#prozess .process-step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 1rem;
  right: 1rem;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(37, 208, 208, 0.95),
    rgba(139, 92, 246, 0.55),
    rgba(255, 194, 92, 0.82)
  );
}

#prozess .process-step::after {
  content: "";
  position: absolute;
  width: 1px;
  height: 18px;
  background: linear-gradient(180deg, rgba(37, 208, 208, 0.42), rgba(37, 208, 208, 0));
  opacity: 0.52;
  pointer-events: none;
}

#prozess .process-step:hover,
#prozess .process-step:focus-within {
  transform: translateY(-4px);
  border-color: rgba(37, 208, 208, 0.32);
  box-shadow:
    inset 0 0 0 1px rgba(37, 208, 208, 0.05),
    0 24px 44px rgba(4, 8, 20, 0.3);
}

#prozess .process-step-no {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.3rem;
  height: 2rem;
  margin-bottom: 0.9rem;
  padding: 0 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(214, 224, 242, 0.88);
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

#prozess .process-step-1 .process-step-no,
#prozess .process-step-3 .process-step-no {
  color: var(--accent-cyan);
  border-color: rgba(37, 208, 208, 0.7);
}

#prozess .process-step-2 .process-step-no,
#prozess .process-step-4 .process-step-no {
  color: var(--accent-violet);
  border-color: rgba(139, 92, 246, 0.7);
}

#prozess .process-step h3 {
  margin-bottom: 0.55rem;
  font-size: 1.05rem;
  line-height: 1.28;
}

#prozess .process-step p {
  color: rgba(219, 227, 242, 0.78);
  line-height: 1.68;
}

/* neue, sauberere Staffelung */
#prozess .process-step-1 {
  top: 8.8rem;
  left: 0;
}

#prozess .process-step-1::after {
  right: -1px;
  bottom: -18px;
}

#prozess .process-step-2 {
  top: 3.4rem;
  left: 25.5%;
}

#prozess .process-step-2::after {
  left: -1px;
  bottom: -18px;
}

#prozess .process-step-3 {
  top: 13.1rem;
  left: 51%;
}

#prozess .process-step-3::after {
  right: -1px;
  top: -18px;
  transform: rotate(180deg);
}

#prozess .process-step-4 {
  top: 9.4rem;
  right: 0;
}

#prozess .process-step-4::after {
  left: -1px;
  bottom: -18px;
}

/* Punkte bleiben raus */
#prozess .process-node {
  display: none;
}

@keyframes process-signal-flow {
  from {
    stroke-dashoffset: 0;
  }
  to {
    stroke-dashoffset: -98;
  }
}

@media (max-width: 1120px) {
  #prozess .process-stage {
    min-height: auto;
    padding: 0;
    display: grid;
    gap: 1rem;
    margin-top: 1.8rem;
  }

  #prozess .process-path,
  #prozess .process-node,
  #prozess .process-stage::before,
  #prozess .process-stage::after,
  #prozess .process-step::after {
    display: none;
  }

  #prozess .process-step {
    position: relative;
    inset: auto;
    width: 100%;
  }
}

@media (max-width: 700px) {
  #prozess .section-intro {
    font-size: 0.98rem;
    line-height: 1.72;
  }

  #prozess .process-step {
    padding: 1rem 0.95rem 0.95rem;
  }
}

/* =========================
   WHY SECTION
   ========================= */

#why {
  padding-top: 5.8rem;
  padding-bottom: 4.8rem;
}

#why .why-head {
  max-width: 860px;
  margin-bottom: 2.2rem;
}

#why .why-head h2 {
  max-width: 20ch;
}

#why .why-head .section-intro {
  max-width: 72ch;
  margin-top: 1rem;
  color: rgba(223, 230, 245, 0.82);
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  line-height: 1.78;
}

#why .why-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  gap: 1.4rem 1.3rem;
  align-items: start;
}

#why .why-lead {
  position: sticky;
  top: 6.8rem;
  overflow: hidden;
  padding: 1.45rem 1.35rem 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-section);
  background:
    linear-gradient(180deg, rgba(24, 31, 56, 0.92), rgba(18, 24, 43, 0.98)),
    linear-gradient(135deg, rgba(37, 208, 208, 0.08), rgba(139, 92, 246, 0.07));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 26px 54px rgba(4, 8, 18, 0.24);
}

#why .why-lead::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(
    180deg,
    rgba(37, 208, 208, 0.95),
    rgba(139, 92, 246, 0.5) 62%,
    rgba(255, 255, 255, 0.06)
  );
}

#why .why-lead::after {
  content: "";
  position: absolute;
  right: -4rem;
  top: -3rem;
  width: 11rem;
  height: 11rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 208, 208, 0.12), transparent 68%);
  pointer-events: none;
}

#why .why-kicker {
  margin-bottom: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-size: 0.74rem;
  font-weight: 600;
  color: rgba(37, 208, 208, 0.92);
}

#why .why-lead h3 {
  max-width: 22ch;
  margin-bottom: 0.95rem;
  font-size: clamp(1.24rem, 1.8vw, 1.62rem);
  line-height: 1.22;
}

#why .why-lead p {
  max-width: 62ch;
  margin: 0 0 0.95rem;
  color: rgba(219, 227, 242, 0.8);
  font-size: 1rem;
  line-height: 1.76;
}

#why .why-lead .btn {
  margin-top: 0.35rem;
}

#why .why-lead .cta-spotlight {
  padding: 0.72rem 0.2rem;
  border: none;
  border-radius: 0;
  color: var(--accent-cyan);
  font-weight: 700;
  letter-spacing: 0.01em;
  background: linear-gradient(90deg, rgba(37, 208, 208, 1), rgba(139, 92, 246, 0.95));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  box-shadow: none;
  text-shadow: 0 0 18px rgba(37, 208, 208, 0.22);
  transition:
    transform 180ms ease,
    filter 200ms ease,
    text-shadow 200ms ease;
}

#why .why-lead .cta-spotlight::after {
  margin-left: 0.58rem;
  color: rgba(37, 208, 208, 0.98);
  text-shadow: 0 0 14px rgba(37, 208, 208, 0.4);
  transition: transform 180ms ease, color 180ms ease, text-shadow 180ms ease;
}

#why .why-lead .cta-spotlight:hover,
#why .why-lead .cta-spotlight:focus-visible {
  transform: translateY(-1px);
  filter: brightness(1.12);
  text-shadow: 0 0 22px rgba(37, 208, 208, 0.34);
}

#why .why-lead .cta-spotlight:hover::after,
#why .why-lead .cta-spotlight:focus-visible::after {
  transform: translateX(2px);
  color: rgba(98, 227, 255, 1);
  text-shadow: 0 0 18px rgba(37, 208, 208, 0.52);
}

#why .why-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
  margin-top: clamp(1.2rem, 3vw, 2rem);
}

#why .why-item {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  padding: 1.3rem 1.15rem 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-card);
  background:
    linear-gradient(180deg, rgba(24, 31, 56, 0.84), rgba(18, 24, 43, 0.94)),
    linear-gradient(135deg, rgba(37, 208, 208, 0.05), rgba(139, 92, 246, 0.04));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 22px 42px rgba(5, 7, 15, 0.18);
  transition:
    transform 260ms ease,
    border-color 260ms ease,
    box-shadow 260ms ease,
    background 260ms ease;
}

#why .why-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1rem;
  bottom: 1rem;
  width: 2px;
  background: linear-gradient(
    180deg,
    rgba(37, 208, 208, 0.92),
    rgba(139, 92, 246, 0.52)
  );
  opacity: 0.9;
}

#why .why-item::after {
  content: "";
  position: absolute;
  inset: auto -3rem -3rem auto;
  width: 8rem;
  height: 8rem;
  background: radial-gradient(circle, rgba(37, 208, 208, 0.1), transparent 70%);
  pointer-events: none;
}

#why .why-item:hover,
#why .why-item:focus-within {
  transform: translateY(-4px);
  border-color: rgba(37, 208, 208, 0.24);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 28px 52px rgba(5, 7, 15, 0.24);
}

#why .why-item h3 {
  max-width: 18ch;
  margin-bottom: 0.55rem;
  font-size: 1.06rem;
  line-height: 1.3;
}

#why .why-item p {
  margin: 0;
  color: rgba(219, 227, 242, 0.78);
  line-height: 1.7;
}

/* =========================
   KONTAKT SECTION
   ========================= */

#kontakt {
  padding-top: 4.6rem;
  padding-bottom: 6.5rem;
}

#kontakt .contact-wrap {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1.4rem 2rem;
  align-items: start;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(180deg, rgba(18, 24, 43, 0.92), rgba(11, 16, 32, 0.96)),
    linear-gradient(135deg, rgba(37, 208, 208, 0.05), rgba(139, 92, 246, 0.05));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 28px 60px rgba(5, 7, 15, 0.28);
  padding: 1.45rem;
  border-radius: var(--radius-section);
}

#kontakt .contact-copy {
  position: relative;
  align-self: stretch;
  padding-bottom: 0;
}

#kontakt .contact-copy > * {
  position: relative;
  z-index: 2;
}

#kontakt .contact-copy::before {
  content: "";
  position: absolute;
  left: -0.25rem;
  right: 8%;
  bottom: -0.15rem;
  height: clamp(240px, 45%, 380px);
  background:
    radial-gradient(120% 90% at 0% 100%, rgba(37, 208, 208, 0.22), rgba(37, 208, 208, 0) 62%),
    linear-gradient(90deg, rgba(37, 208, 208, 0.15), rgba(37, 208, 208, 0) 70%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.88) 28%, #000 100%);
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.88) 28%, #000 100%);
  pointer-events: none;
  z-index: 0;
}

#kontakt .contact-copy::after {
  content: "";
  position: absolute;
  left: 0;
  right: 6%;
  bottom: 0;
  height: clamp(240px, 45%, 380px);
  background: url("../medien/bilder/backgrounds/a_digital_illustration_of_futuristic_technology_sh.png")
    left bottom / cover no-repeat;
  -webkit-mask-image:
    linear-gradient(180deg, transparent 0%, #000 28%, #000 100%),
    linear-gradient(90deg, #000 0%, #000 80%, transparent 100%);
  mask-image:
    linear-gradient(180deg, transparent 0%, #000 28%, #000 100%),
    linear-gradient(90deg, #000 0%, #000 80%, transparent 100%);
  opacity: 0.66;
  filter: saturate(0.92) brightness(0.94);
  pointer-events: none;
  z-index: 1;
}

#kontakt .contact-copy h2 {
  max-width: 12ch;
}

#kontakt .contact-trust {
  margin-top: 1rem;
  display: grid;
  gap: 0.45rem;
}

#kontakt .contact-trust li {
  position: relative;
  padding-left: 0.95rem;
}

#kontakt .contact-trust li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52rem;
  width: 0.32rem;
  height: 0.32rem;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: rgba(37, 208, 208, 0.9);
  box-shadow: 0 0 10px rgba(37, 208, 208, 0.3);
}

#kontakt .contact-form {
  display: grid;
  gap: 0.9rem;
  padding: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-card);
  background:
    linear-gradient(180deg, rgba(10, 15, 28, 0.9), rgba(11, 16, 32, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 20px 40px rgba(5, 7, 15, 0.18);
}

#kontakt .form-hint {
  margin: 0;
  padding: 0.78rem 0.88rem;
  border: 1px solid rgba(37, 208, 208, 0.14);
  border-radius: var(--radius-field);
  background: linear-gradient(135deg, rgba(37, 208, 208, 0.08), rgba(139, 92, 246, 0.05));
  color: rgba(223, 230, 245, 0.84);
  line-height: 1.58;
}

#kontakt .contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.72rem;
}

#kontakt .field {
  display: flex;
  flex-direction: column;
  gap: 0.42rem;
}

#kontakt .field label {
  font-size: 0.84rem;
  font-weight: 600;
  color: rgba(245, 247, 255, 0.94);
  letter-spacing: 0.01em;
}

#kontakt .contact-form input,
#kontakt .contact-form textarea,
#kontakt .contact-form select {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-field);
  background:
    linear-gradient(180deg, rgba(9, 13, 25, 0.96), rgba(11, 16, 32, 0.98));
  color: rgba(245, 247, 255, 0.96);
  padding: 0.95rem 1rem;
  font: inherit;
  line-height: 1.45;
  transition:
    border-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease,
    background 220ms ease;
  appearance: none;
}

#kontakt .contact-form input::placeholder,
#kontakt .contact-form textarea::placeholder {
  color: rgba(170, 179, 197, 0.72);
}

#kontakt .contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

#kontakt .contact-form input:hover,
#kontakt .contact-form textarea:hover,
#kontakt .contact-form select:hover {
  border-color: rgba(255, 255, 255, 0.18);
}

#kontakt .contact-form input:focus,
#kontakt .contact-form textarea:focus,
#kontakt .contact-form select:focus {
  outline: none;
  border-color: rgba(37, 208, 208, 0.75);
  box-shadow:
    0 0 0 4px rgba(37, 208, 208, 0.12),
    0 10px 24px rgba(5, 7, 15, 0.2);
  background:
    linear-gradient(180deg, rgba(10, 15, 28, 0.98), rgba(12, 18, 35, 1));
}

#kontakt .field .field-error {
  margin: 0.08rem 0 0;
  min-height: 1.05rem;
  font-size: 0.79rem;
  line-height: 1.35;
  color: #ff9c9c;
}

#kontakt .field.has-error input,
#kontakt .field.has-error textarea,
#kontakt .field.has-error select {
  border-color: rgba(255, 97, 97, 0.86);
  box-shadow:
    0 0 0 3px rgba(255, 97, 97, 0.14),
    0 10px 24px rgba(5, 7, 15, 0.2);
  background:
    linear-gradient(180deg, rgba(38, 14, 20, 0.92), rgba(30, 12, 18, 0.98));
}

#kontakt .field.has-error input:focus,
#kontakt .field.has-error textarea:focus,
#kontakt .field.has-error select:focus {
  border-color: rgba(255, 122, 122, 0.95);
  box-shadow:
    0 0 0 4px rgba(255, 97, 97, 0.2),
    0 12px 26px rgba(5, 7, 15, 0.26);
}

#kontakt .select-wrap {
  position: relative;
}

#kontakt .select-wrap select {
  padding-right: 3rem;
  cursor: pointer;
  color-scheme: dark;
}

#kontakt .select-wrap select option {
  background: #0f1528;
  color: rgba(245, 247, 255, 0.96);
}

#kontakt .select-wrap select option[value=""] {
  color: rgba(170, 179, 197, 0.9);
}

#kontakt .select-icon {
  position: absolute;
  right: 1rem;
  top: 50%;
  width: 1rem;
  height: 1rem;
  transform: translateY(-50%);
  pointer-events: none;
  color: rgba(37, 208, 208, 0.92);
}

#kontakt .select-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

#kontakt .select-icon path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#kontakt .contact-form .btn-primary {
  margin-top: 0.2rem;
  min-width: 240px;
}

#kontakt .form-note {
  font-size: 0.82rem;
  line-height: 1.5;
  color: rgba(170, 179, 197, 0.76);
}

@media (max-width: 900px) {
  #kontakt .contact-wrap {
    grid-template-columns: 1fr;
  }

  #kontakt .contact-copy h2 {
    max-width: 100%;
  }

  #kontakt .contact-copy::before,
  #kontakt .contact-copy::after {
    display: none;
  }
}

@media (max-width: 700px) {
  #kontakt .contact-wrap {
    padding: 1rem;
  }

  #kontakt .contact-form {
    padding: 1rem;
  }

  #kontakt .contact-form .btn-primary {
    width: 100%;
    min-width: 0;
  }

  #kontakt .contact-copy::before,
  #kontakt .contact-copy::after {
    display: none;
  }
}


.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.3rem 0;
  background: rgba(7, 10, 22, 0.85);
}

.to-top {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.18rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: #f2c26f;
  cursor: pointer;
  z-index: 1200;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 240ms ease, transform 240ms ease, color 240ms ease;
}

.to-top-icon {
  width: 1.2rem;
  height: 1.2rem;
  display: block;
  background-color: currentColor;
  -webkit-mask: url("../medien/bilder/ui-icons/arrow-up.svg") center / contain no-repeat;
  mask: url("../medien/bilder/ui-icons/arrow-up.svg") center / contain no-repeat;
}

.to-top-label {
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.to-top:hover,
.to-top:focus-visible {
  color: #ffd98e;
}

@media (min-width: 981px) {
  .to-top:hover,
  .to-top:focus-visible {
    transform: translateY(0) scale(1.08);
  }
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.9fr 0.8fr;
  gap: 1.3rem;
}

.footer-grid h4 {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.footer-logo {
  margin-bottom: 0.55rem;
}

.footer-logo img {
  height: 3.1rem;
}


.footer-grid a,
.footer-grid p {
  display: block;
  margin: 0.3rem 0;
  color: var(--muted);
}

.footer-grid a:hover,
.footer-grid a:focus-visible {
  color: var(--text);
}

.reveal {
  opacity: 0;
  transition: opacity 640ms ease, transform 640ms cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform, opacity;
}

.from-left {
  transform: translateX(-32px);
}

.from-right {
  transform: translateX(32px);
}

.fade-up {
  transform: translateY(34px);
}

.scale-in {
  transform: scale(0.97);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1060px) {
  .header-inner {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .nav-toggle {
    position: fixed;
    top: 1rem;
    right: 1.4rem;
    width: 56px;
    height: 56px;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 7px;
    border: 1px solid rgba(43, 224, 255, 0.24);
    border-radius: var(--radius-pill);
    background:
      linear-gradient(180deg, rgba(17, 26, 55, 0.92), rgba(8, 14, 32, 0.94));
    box-shadow:
      0 10px 30px rgba(0, 0, 0, 0.28),
      inset 0 1px 0 rgba(255, 255, 255, 0.06),
      0 0 0 1px rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    cursor: pointer;
    transition:
      transform 180ms ease,
      box-shadow 180ms ease,
      border-color 180ms ease,
      background 180ms ease;
    justify-self: end;
    z-index: 2105;
  }

  .nav-toggle:hover {
    transform: translateY(-1px);
    border-color: rgba(43, 224, 255, 0.45);
    box-shadow:
      0 14px 34px rgba(0, 0, 0, 0.34),
      0 0 18px rgba(43, 224, 255, 0.14),
      inset 0 1px 0 rgba(255, 255, 255, 0.08);
  }

  .nav-toggle:active {
    transform: translateY(0);
  }

  .nav-toggle:focus-visible {
    outline: none;
    box-shadow:
      0 0 0 3px rgba(43, 224, 255, 0.18),
      0 14px 34px rgba(0, 0, 0, 0.34),
      0 0 18px rgba(43, 224, 255, 0.14);
  }

  .nav-toggle span {
    display: block;
    width: 24px;
    height: 2.5px;
    margin: 0;
    border-radius: var(--radius-pill);
    background: linear-gradient(
      90deg,
      rgba(240, 248, 255, 0.95),
      rgba(43, 224, 255, 0.92)
    );
    box-shadow: 0 0 10px rgba(43, 224, 255, 0.16);
    transition:
      transform 220ms ease,
      opacity 180ms ease,
      width 180ms ease,
      background 180ms ease;
  }

  .nav-toggle span:nth-child(2) {
    width: 18px;
  }

  .nav-toggle:hover span:nth-child(2) {
    width: 24px;
  }

  .nav-toggle.is-active span:nth-child(1) {
    transform: translateY(9.5px) rotate(45deg);
  }

  .nav-toggle.is-active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0.3);
  }

  .nav-toggle.is-active span:nth-child(3) {
    transform: translateY(-9.5px) rotate(-45deg);
  }

  .main-nav {
    display: none;
  }

  .mobile-menu {
    display: block;
    position: fixed;
    top: 5.1rem;
    right: 1rem;
    width: min(92vw, 380px);
    padding: 18px;
    border: 1px solid rgba(43, 224, 255, 0.16);
    border-radius: var(--radius-section);
    background:
      linear-gradient(180deg, rgba(13, 20, 42, 0.96), rgba(7, 12, 28, 0.98));
    box-shadow:
      0 24px 60px rgba(0, 0, 0, 0.45),
      0 0 24px rgba(43, 224, 255, 0.08),
      inset 0 1px 0 rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(10px) scale(0.98);
    transform-origin: top right;
    transition:
      opacity 180ms ease,
      visibility 180ms ease,
      transform 220ms ease;
    z-index: 2100;
  }

  .mobile-menu::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 1px;
    background: linear-gradient(
      90deg,
      transparent,
      rgba(43, 224, 255, 0.45),
      transparent
    );
    pointer-events: none;
  }

  .mobile-menu::after {
    content: "";
    position: absolute;
    right: -40px;
    bottom: -40px;
    width: 140px;
    height: 140px;
    background: radial-gradient(
      circle,
      rgba(43, 224, 255, 0.14) 0%,
      rgba(43, 224, 255, 0) 72%
    );
    pointer-events: none;
  }

  .mobile-menu.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  .mobile-menu-nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .mobile-menu-nav a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 56px;
    padding: 0 18px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-card);
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015));
    color: rgba(244, 248, 255, 0.94);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.01em;
    transition:
      transform 180ms ease,
      border-color 180ms ease,
      background 180ms ease,
      box-shadow 180ms ease,
      color 180ms ease;
  }

  .mobile-menu-nav a::after {
    content: "→";
    font-size: 1rem;
    color: rgba(43, 224, 255, 0.72);
    transition: transform 180ms ease, color 180ms ease;
  }

  .mobile-menu-nav a:hover,
  .mobile-menu-nav a:focus-visible {
    transform: translateX(4px);
    border-color: rgba(43, 224, 255, 0.26);
    background:
      linear-gradient(180deg, rgba(43, 224, 255, 0.08), rgba(255, 255, 255, 0.03));
    box-shadow:
      0 10px 22px rgba(0, 0, 0, 0.24),
      0 0 18px rgba(43, 224, 255, 0.08);
    color: #ffffff;
    outline: none;
  }

  .mobile-menu-nav a:hover::after,
  .mobile-menu-nav a:focus-visible::after {
    transform: translateX(4px);
    color: rgba(43, 224, 255, 0.95);
  }

  .mobile-menu-nav a.is-active {
    border-color: rgba(43, 224, 255, 0.34);
    background:
      linear-gradient(180deg, rgba(43, 224, 255, 0.12), rgba(255, 255, 255, 0.04));
    box-shadow:
      inset 0 0 0 1px rgba(43, 224, 255, 0.08),
      0 10px 22px rgba(0, 0, 0, 0.22);
  }

  .mobile-menu-footer {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .mobile-menu-note {
    margin: 0 0 14px;
    color: rgba(220, 230, 245, 0.72);
    font-size: 0.92rem;
    line-height: 1.5;
  }

  .mobile-menu-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 52px;
    padding: 0 18px;
    border: 1px solid rgba(43, 224, 255, 0.28);
    border-radius: var(--radius-pill);
    background: linear-gradient(90deg, rgba(43, 224, 255, 0.14), rgba(116, 95, 255, 0.12));
    color: #f7fbff;
    font-weight: 700;
    text-decoration: none;
    box-shadow:
      0 12px 26px rgba(0, 0, 0, 0.25),
      inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition:
      transform 180ms ease,
      border-color 180ms ease,
      box-shadow 180ms ease,
      background 180ms ease;
  }

  .mobile-menu-cta:hover,
  .mobile-menu-cta:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(43, 224, 255, 0.46);
    box-shadow:
      0 16px 32px rgba(0, 0, 0, 0.32),
      0 0 18px rgba(43, 224, 255, 0.12);
    outline: none;
  }

  body.menu-open .to-top {
    opacity: 0;
    pointer-events: none;
  }

  .header-cta {
    display: none;
  }

  .hero-layout,
  .split,
  .contact-wrap {
    grid-template-columns: 1fr;
  }

  .problem-layout {
    grid-template-columns: 1fr;
  }

  #why .why-layout {
    grid-template-columns: 1fr;
  }

  #why .why-lead {
    position: relative;
    top: auto;
  }

  #why .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 0;
  }

  #leistung .section-head {
    max-width: 100%;
    grid-template-columns: minmax(0, 1fr) 180px;
    gap: 0.35rem 1.4rem;
  }

  #leistung .leistung-frame {
    grid-template-columns: 1fr;
    gap: 1.4rem;
    margin-bottom: 1.9rem;
  }

  #leistung .leistung-visual {
    max-width: 180px;
    opacity: 0.28;
    transform: translate(4%, -3%);
  }

  .reality-item {
    width: 100%;
    justify-self: stretch;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding-left: 0.85rem;
  }

  .reality-item::before {
    inset: -1px;
    background: none;
    box-shadow: none;
    border-right-color: rgba(37, 208, 208, 0.28);
  }

  .reality-item:nth-child(odd)::before {
    background: none;
    box-shadow: none;
    border-left-color: rgba(37, 208, 208, 0.28);
    border-right-color: rgba(37, 208, 208, 0.28);
  }

  .reality-item::after {
    display: none;
  }

  .reality-arrow-wrap {
    justify-self: center;
  }

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

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

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

@media (max-width: 700px) {
  .section {
    padding: 5rem 0;
  }

  .problem-list,
  .compare,
  .audit-matrix,
  .process-line,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  #why {
    padding-top: 5rem;
    padding-bottom: 4.2rem;
  }

  #why .why-head h2,
  #why .why-lead h3,
  #why .why-item h3 {
    max-width: 100%;
  }

  #why .why-head .section-intro {
    font-size: 0.98rem;
    line-height: 1.72;
  }

  #why .why-lead {
    padding: 1.15rem 1rem 1.05rem;
  }

  #why .why-grid {
    grid-template-columns: 1fr;
  }

  #why .why-item {
    padding: 1.1rem 1rem 1rem;
  }

  #kontakt .contact-wrap {
    padding: 1rem;
  }

  .hero {
    padding-top: 6.3rem;
    padding-bottom: 5.5rem;
  }

  .hero-actions {
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }

  #leistung .section-head {
    margin-bottom: 2rem;
    grid-template-columns: 1fr;
  }

  #leistung .section-head h2 {
    max-width: 100%;
  }

  #leistung .section-intro {
    max-width: 60ch;
    font-size: 0.98rem;
    line-height: 1.72;
  }

  #leistung .leistung-copy {
    padding-left: 1.05rem;
  }

  #leistung .leistung-copy h3 {
    max-width: 100%;
  }

  #leistung .audit-item {
    padding: 1.08rem 1rem 1.02rem;
  }

  #leistung .leistung-frame {
    grid-template-columns: 1fr;
  }

  #leistung .leistung-side {
    grid-template-columns: 1fr;
  }

  #leistung .leistung-visual {
    display: none;
  }

  .container {
    width: min(100% - 1.4rem, var(--max));
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-link {
    min-width: 0;
  }

  #kontakt .contact-form-grid {
    grid-template-columns: 1fr;
  }

  #kontakt .contact-form .btn-primary {
    width: 100%;
    min-width: 0;
  }

  .logo-image img {
    height: 3.1rem;
  }

  .lh-scores {
    gap: 0.5rem;
  }

  .lh-subscores {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.4rem;
  }

  .lh-subscores .lh-item {
    display: grid;
    justify-items: center;
    align-content: start;
    padding: 0.62rem 0.45rem;
  }

  .lh-subscores .lh-ring {
    width: 3rem;
    height: 3rem;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
  }

  .lh-subscores .lh-ring::before {
    inset: 5px;
  }

  .lh-subscores .lh-ring span {
    font-size: 0.78rem;
  }

  .lh-subscores .lh-item p {
    margin-top: 0.28rem;
    font-size: 0.66rem;
    line-height: 1.25;
  }

  .lh-item.primary .lh-ring {
    width: 4rem;
    height: 4rem;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
  }

  .reality-arrow-wrap {
    width: 2rem;
    height: 2rem;
    margin-inline: auto;
  }

  .reality-arrow {
    width: 100%;
    height: 100%;
  }

  .to-top {
    right: 0.8rem;
    bottom: 0.8rem;
    gap: 0.15rem;
  }

  .to-top-label {
    font-size: 0.62rem;
  }

}

/* =========================
   EXTREME RESPONSIVE
   ========================= */

@media (max-width: 360px) {
  .site-header-host {
    min-height: 5rem;
  }

  .container {
    width: min(100% - 1rem, var(--max));
  }

  .section {
    padding: 4.25rem 0;
  }

  h1 {
    font-size: clamp(1.74rem, 9.88vw, 2.26rem);
    line-height: 1.14;
  }

  h2 {
    font-size: clamp(1.27rem, 7.53vw, 1.79rem);
    line-height: 1.18;
  }

  .header-inner {
    min-height: 5rem;
    gap: 0.8rem;
  }

  .logo-image img {
    height: 2.75rem;
  }

  .hero {
    padding-top: 5.8rem;
    padding-bottom: 4.9rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  .btn {
    width: 100%;
  }

  .hero-facts li {
    font-size: 0.9rem;
  }

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

  .lh-subscores .lh-ring {
    width: 2.9rem;
    height: 2.9rem;
  }

  .reality-arrow-wrap {
    width: 1.85rem;
    height: 1.85rem;
  }

  #kontakt .contact-wrap {
    padding: 0.85rem;
  }

  #kontakt .contact-form {
    padding: 0.85rem;
  }

  #kontakt .contact-form input,
  #kontakt .contact-form select,
  #kontakt .contact-form textarea {
    padding: 0.82rem 0.88rem;
  }

  #kontakt .contact-form .btn-primary {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 320px) {
  .container {
    width: min(100% - 0.75rem, var(--max));
  }

  h1 {
    font-size: clamp(1.55rem, 9.41vw, 1.88rem);
  }

  h2 {
    font-size: clamp(1.13rem, 7.53vw, 1.46rem);
  }

  .btn {
    padding: 0.72rem 0.9rem;
    font-size: 0.92rem;
  }

  #prozess .process-step-no {
    min-width: 2rem;
    height: 1.75rem;
    font-size: 0.74rem;
  }
}

@media (min-width: 1920px) {
  :root {
    --max: 1500px;
  }

  body {
    font-size: 18px;
  }

  .section {
    padding: 7.5rem 0;
  }

  .hero {
    padding-top: 9.4rem;
    padding-bottom: 8rem;
  }

  .hero-layout {
    gap: 4.5rem;
  }

  .reality-item {
    width: min(100%, 62%);
  }
}

@media (min-width: 2560px) {
  :root {
    --max: 1760px;
  }

  body {
    font-size: 19px;
  }

  .section {
    padding: 8.3rem 0;
  }

  #prozess .process-step {
    width: min(100%, 290px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

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

  .lh-item {
    transition: none;
  }

  .lh-item:hover {
    transform: none;
  }
}
