/* DigitalGoal – Markenfarben von digitalgoal.de */
:root {
  --cyan: #21bbee;
  --navy: #0e4f80;
  --ink: #00061d;
  --deep: #011640;
  --accent: #61ce70;
  --muted: #5a6570;
  --line: rgba(14, 79, 128, 0.14);
  --surface: #f4f8fb;
  --white: #ffffff;
  --font: "Outfit", system-ui, sans-serif;
  --max: 1120px;
  --header-h: 4.25rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --glow-cyan: rgba(33, 187, 238, 0.45);
  --grid-line: rgba(14, 79, 128, 0.07);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 400;
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 100% -10%, rgba(33, 187, 238, 0.1), transparent 50%),
    radial-gradient(ellipse 60% 40% at -5% 40%, rgba(14, 79, 128, 0.06), transparent 45%),
    var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--navy);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--cyan);
}

h1,
h2,
h3 {
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--deep);
}

h1 {
  font-size: clamp(2.25rem, 5.5vw, 3.65rem);
  margin: 0 0 0.75rem;
}

h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  margin: 0 0 0.75rem;
}

h3 {
  font-size: 1.2rem;
  margin: 0 0 0.5rem;
}

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

p:last-child {
  margin-bottom: 0;
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100%;
  background: var(--deep);
  color: var(--white);
  padding: 0.5rem 1rem;
  z-index: 100;
}

.skip-link:focus {
  top: 1rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease),
    background 0.3s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow:
    0 8px 32px rgba(1, 22, 64, 0.06),
    0 0 0 1px rgba(33, 187, 238, 0.06);
  background: rgba(255, 255, 255, 0.88);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo img {
  height: 2.15rem;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav a {
  color: var(--deep);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.2rem;
  width: 100%;
  height: 1px;
  background: var(--cyan);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--cyan);
}

.nav a:hover::after,
.nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  padding: 0.45rem 0.65rem;
  cursor: pointer;
  color: var(--deep);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 500;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.4rem;
  border-radius: 0.55rem;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}

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

.btn-primary {
  background: var(--cyan);
  color: var(--deep);
  box-shadow:
    0 10px 28px rgba(33, 187, 238, 0.35),
    0 0 0 1px rgba(33, 187, 238, 0.2);
}

.btn-primary:hover {
  background: #3ac6f2;
  color: var(--deep);
  box-shadow:
    0 14px 36px rgba(33, 187, 238, 0.42),
    0 0 24px rgba(33, 187, 238, 0.25);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: inset 0 0 0 0 rgba(33, 187, 238, 0);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border-color: rgba(33, 187, 238, 0.7);
  box-shadow: inset 0 0 20px rgba(33, 187, 238, 0.12);
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.06);
  animation: heroZoom 16s var(--ease) forwards;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      115deg,
      rgba(1, 22, 64, 0.9) 0%,
      rgba(14, 79, 128, 0.75) 48%,
      rgba(33, 187, 238, 0.38) 100%
    ),
    radial-gradient(
      ellipse at 70% 20%,
      rgba(33, 187, 238, 0.4),
      transparent 55%
    );
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, rgba(33, 187, 238, 0.08) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, transparent 75%);
  -webkit-mask-image: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.55) 0%,
    transparent 75%
  );
  opacity: 0;
  animation: gridFade 1.4s var(--ease) 0.2s forwards;
}

.hero-grid::before {
  content: "";
  position: absolute;
  inset: -20%;
  background: radial-gradient(
    circle at 60% 30%,
    rgba(33, 187, 238, 0.22),
    transparent 42%
  );
  animation: ambientDrift 12s ease-in-out infinite alternate;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: clamp(3.5rem, 10vw, 6.5rem) 0 clamp(3rem, 8vw, 5rem);
  max-width: 38rem;
  opacity: 0;
  transform: translateY(1.25rem);
  animation: heroIn 0.9s var(--ease) 0.15s forwards;
}

.hero h1 {
  color: var(--white);
  text-shadow: 0 0 40px rgba(33, 187, 238, 0.25);
}

.hero p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.1rem;
  max-width: 32rem;
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

@keyframes heroIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroZoom {
  to {
    transform: scale(1);
  }
}

@keyframes gridFade {
  to {
    opacity: 1;
  }
}

@keyframes ambientDrift {
  from {
    transform: translate(0, 0) scale(1);
  }
  to {
    transform: translate(-4%, 6%) scale(1.08);
  }
}

@keyframes orbDrift {
  from {
    transform: translate(0, 0) scale(1);
    opacity: 0.7;
  }
  to {
    transform: translate(12%, -18%) scale(1.15);
    opacity: 1;
  }
}

/* Sections */
.section {
  position: relative;
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
}

.section-alt {
  background:
    radial-gradient(ellipse at 10% 0%, rgba(33, 187, 238, 0.08), transparent 45%),
    linear-gradient(180deg, var(--surface) 0%, #eaf3f8 100%);
}

.section-alt::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(14, 79, 128, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 79, 128, 0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, transparent, #000 20%, #000 80%, transparent);
  -webkit-mask-image: linear-gradient(
    180deg,
    transparent,
    #000 20%,
    #000 80%,
    transparent
  );
  opacity: 0.7;
}

.section-head {
  max-width: 36rem;
  margin-bottom: 2.5rem;
}

.section-head p {
  font-size: 1.05rem;
}

.section-more {
  margin-top: 2.25rem;
  margin-bottom: 0;
}

.text-link {
  font-weight: 600;
  text-decoration: none;
  color: var(--navy);
  border-bottom: 1px solid rgba(33, 187, 238, 0.5);
  padding-bottom: 0.1rem;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.text-link:hover {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.65rem;
}

/* Leistungen teaser */
.services {
  display: grid;
  gap: 2.25rem;
}

@media (min-width: 800px) {
  .services {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.75rem;
  }
}

.service {
  position: relative;
  padding-top: 1.25rem;
  border-top: 2px solid var(--cyan);
  box-shadow: 0 -8px 24px -16px rgba(33, 187, 238, 0.35);
}

.service h3 {
  color: var(--navy);
}

.services-secondary {
  max-width: 44rem;
}

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

/* Feature service (Leistungen page) */
.feature-service {
  position: relative;
  overflow: hidden;
  padding: clamp(2rem, 5vw, 3rem);
  border: 1px solid rgba(33, 187, 238, 0.28);
  background:
    linear-gradient(
      145deg,
      rgba(255, 255, 255, 0.92) 0%,
      rgba(244, 248, 251, 0.95) 100%
    );
  backdrop-filter: blur(8px);
  box-shadow:
    0 0 0 1px rgba(33, 187, 238, 0.06),
    0 24px 48px rgba(1, 22, 64, 0.06);
}

.feature-service::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), rgba(33, 187, 238, 0.15));
}

.feature-service-glow {
  position: absolute;
  width: 18rem;
  height: 18rem;
  right: -4rem;
  top: -6rem;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(33, 187, 238, 0.22),
    transparent 70%
  );
  pointer-events: none;
  animation: orbDrift 10s ease-in-out infinite alternate;
}

.feature-service .eyebrow,
.feature-service h2,
.feature-service .feature-lead,
.feature-service .feature-points,
.feature-service .btn {
  position: relative;
  z-index: 1;
}

.feature-lead {
  font-size: 1.15rem;
  max-width: 38rem;
  margin-bottom: 1.75rem;
  color: var(--muted);
}

.feature-points {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  display: grid;
  gap: 1.15rem;
  max-width: 40rem;
}

.feature-points li {
  display: grid;
  gap: 0.2rem;
  padding-left: 1rem;
  border-left: 2px solid rgba(33, 187, 238, 0.45);
}

.feature-points strong {
  color: var(--deep);
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.feature-points span {
  color: var(--muted);
  font-size: 0.98rem;
}

/* Ansatz */
.process-row {
  display: grid;
  gap: 1rem;
}

@media (min-width: 700px) {
  .process-row {
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
  }
}

.process-step {
  padding: 1.25rem 1.25rem 1.25rem 0;
  border-left: none;
  border-top: 1px solid var(--line);
}

@media (min-width: 700px) {
  .process-step {
    border-top: none;
    border-left: 1px solid var(--line);
    padding: 0 1.5rem;
  }

  .process-step:first-child {
    border-left: none;
    padding-left: 0;
  }
}

.process-step strong {
  display: block;
  color: var(--deep);
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.process-step span {
  color: var(--muted);
  font-size: 0.95rem;
}

.process-num {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--cyan);
  margin-bottom: 0.5rem;
}

/* Branchen */
.industries {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

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

.industries li {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--deep);
  font-weight: 500;
}

/* Ablauf */
.steps {
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 800px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }
}

.step-num {
  font-size: clamp(2.6rem, 5vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  color: var(--cyan);
  line-height: 1;
  margin-bottom: 0.75rem;
  text-shadow: 0 0 28px rgba(33, 187, 238, 0.35);
}

/* CTA band */
.cta-band {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(33, 187, 238, 0.28), transparent 50%),
    radial-gradient(ellipse at 90% 80%, rgba(33, 187, 238, 0.12), transparent 40%),
    linear-gradient(135deg, var(--deep) 0%, var(--navy) 100%);
  color: var(--white);
  padding: clamp(3.5rem, 8vw, 5rem) 0;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: 0.6;
}

.cta-band-orb {
  position: absolute;
  width: 22rem;
  height: 22rem;
  right: -4rem;
  bottom: -8rem;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(33, 187, 238, 0.35),
    transparent 68%
  );
  pointer-events: none;
  animation: orbDrift 14s ease-in-out infinite alternate;
}

.cta-band .container {
  position: relative;
  z-index: 1;
}

.cta-band h2 {
  color: var(--white);
}

.cta-band p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 32rem;
  margin-bottom: 1.5rem;
}

.cta-band .eyebrow {
  color: var(--cyan);
}

.cta-contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.75rem;
  margin-bottom: 1.75rem;
}

.cta-contacts a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
}

.cta-contacts a:hover {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}

/* Page (subpages) */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 3.75rem 0 2.25rem;
  background:
    radial-gradient(ellipse at 80% 0%, rgba(33, 187, 238, 0.16), transparent 50%),
    linear-gradient(180deg, #e8f6fc 0%, var(--white) 100%);
  border-bottom: 1px solid var(--line);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(14, 79, 128, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 79, 128, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, #000 40%, transparent);
  -webkit-mask-image: linear-gradient(180deg, #000 40%, transparent);
}

.page-hero-glow {
  position: absolute;
  width: 16rem;
  height: 16rem;
  left: 10%;
  top: -5rem;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(33, 187, 238, 0.2),
    transparent 70%
  );
  pointer-events: none;
  animation: ambientDrift 11s ease-in-out infinite alternate;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  margin-bottom: 0.5rem;
}

.page-hero p {
  max-width: 36rem;
}

.page-content {
  padding: 3rem 0 4rem;
}

.page-content .prose {
  max-width: 38rem;
}

.contact-layout {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 760px) {
  .contact-layout {
    grid-template-columns: minmax(0, 17rem) minmax(0, 1fr);
    gap: 3.5rem;
    align-items: start;
  }
}

.contact-portrait {
  margin: 0;
  max-width: 17rem;
}

.contact-portrait img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 0.35rem;
  border-top: 3px solid var(--cyan);
}

.contact-portrait figcaption {
  margin-top: 1rem;
}

.contact-portrait figcaption strong {
  display: block;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--deep);
  letter-spacing: -0.02em;
}

.contact-portrait figcaption span {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
}

.contact-list li {
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.contact-list strong {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.35rem;
}

.contact-list a,
.contact-list span {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--deep);
  text-decoration: none;
}

.contact-list a:hover {
  color: var(--cyan);
}

.prose address {
  font-style: normal;
  margin-bottom: 1.5rem;
  color: var(--muted);
  line-height: 1.7;
}

.prose h2 {
  font-size: 1.25rem;
  margin-top: 2rem;
}

/* Referenzen */
.project-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 700px) {
  .project-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

@media (min-width: 1000px) {
  .project-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.75rem;
  }
}

.project-link {
  display: block;
  text-decoration: none;
  color: inherit;
  border-top: 2px solid var(--cyan);
  padding-top: 1.25rem;
  transition: color 0.2s var(--ease);
}

.project-link:hover {
  color: inherit;
}

.project-shot {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 0 0 1px rgba(33, 187, 238, 0.04);
}

.project-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.55s var(--ease);
}

.project-link:hover .project-shot img {
  transform: scale(1.03);
}

.project-meta {
  display: block;
  margin-top: 1rem;
}

.project-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.35rem;
}

.project-name {
  display: block;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.project-link:hover .project-name {
  color: var(--cyan);
}

.project-url {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.95rem;
  color: var(--muted);
}

.software-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2.25rem;
}

@media (min-width: 700px) {
  .software-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem 2.75rem;
  }
}

.software-list li {
  position: relative;
  padding-top: 1.25rem;
  border-top: 2px solid var(--cyan);
  box-shadow: 0 -8px 24px -16px rgba(33, 187, 238, 0.35);
}

.software-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.5rem;
}

.software-list h3 {
  color: var(--navy);
  margin-bottom: 0.65rem;
  font-size: clamp(1.15rem, 2vw, 1.3rem);
}

.software-list p {
  margin: 0;
  line-height: 1.65;
}

/* Footer */
.site-footer {
  background: var(--deep);
  color: rgba(255, 255, 255, 0.75);
  padding: 2.5rem 0;
  font-size: 0.95rem;
  position: relative;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(33, 187, 238, 0.45),
    transparent
  );
}

.site-footer a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--cyan);
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-meta {
  margin-top: 1.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(1.4rem);
  transition:
    opacity 0.75s var(--ease),
    transform 0.75s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}

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

/* Mobile nav */
@media (max-width: 760px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 1.25rem 1rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav a {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line);
  }

  .nav a::after {
    display: none;
  }

  .nav a:last-child {
    border-bottom: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-media img,
  .hero-content,
  .hero-grid,
  .hero-grid::before,
  .feature-service-glow,
  .cta-band-orb,
  .page-hero-glow {
    animation: none !important;
  }

  .hero-media img {
    transform: none;
  }

  .hero-content,
  .hero-grid {
    opacity: 1;
    transform: none;
  }

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

  .btn:hover {
    transform: none;
  }
}
