/* ════════════════════════════════════════════════════════════
   Jannik Romer — Personal Website
   ════════════════════════════════════════════════════════════ */

/* ── Design Tokens ─────────────────────────────────────────── */
:root {
  color-scheme: light;

  /* Core palette */
  --ink:        #0b1726;
  --ink-soft:   #2d3d50;
  --muted:      #617084;
  --muted-2:    #8fa0b0;
  --line:       #d8e0e7;
  --line-soft:  rgba(216, 224, 231, 0.55);
  --paper:      #f4f6f5;
  --panel:      #ffffff;

  /* Brand colours — abgestimmt auf JR Logo */
  --navy:       #0d1e38;           /* tiefes Logo-Navy */
  --navy-soft:  #1a2f52;           /* Logo-Buchstaben dunkel */
  --sage:       #4a7ec4;           /* Logo-Blau mittel */
  --sage-dark:  #1e4d8f;           /* Logo-Blau dunkel */
  --sage-light: #dce9f8;           /* Logo-Blau hell/tint */
  --copper:     #5e8ab4;           /* Pixel-Dots Blaugrau aus Logo */
  --copper-dim: rgba(94, 138, 180, 0.14);
  --blue:       #2563a8;           /* Logo-Hauptblau (Text "JANNIK ROMER") */
  --blue-dim:   rgba(37, 99, 168, 0.10);
  --ice:        #eaf2fb;           /* sehr helles Blau für Hintergründe */

  /* Shadows */
  --shadow-sm:  0 2px 8px rgba(7, 20, 38, 0.07);
  --shadow-md:  0 8px 32px rgba(7, 20, 38, 0.10);
  --shadow-lg:  0 24px 70px rgba(7, 20, 38, 0.16);

  /* Radius */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;

  /* Spacing */
  --section-py: clamp(56px, 7vw, 88px);
  --container:  1120px;
  --gutter:     clamp(20px, 5vw, 64px);
}

/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-optical-sizing: auto;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { line-height: 1.7; }

/* ── Typography Scale ────────────────────────────────────── */
h1, h2, h3 {
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
}

h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); line-height: 1.08; }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.8rem); }
h3 { font-size: 1.15rem; font-weight: 650; letter-spacing: -0.01em; }

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage-dark);
}

.eyebrow-light { color: var(--sage); }

/* ── Container ───────────────────────────────────────────── */
.container {
  width: min(100%, var(--container));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ── Scroll Reveal Animations ────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.32s; }
.reveal.revealed {
  opacity: 1;
  transform: none;
}

/* ── Buttons ─────────────────────────────────────────────── */
.button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: all 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
}

.button.primary {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 4px 20px rgba(7, 20, 38, 0.3);
}
.button.primary:hover {
  background: var(--navy-soft);
  box-shadow: 0 8px 28px rgba(7, 20, 38, 0.4);
  transform: translateY(-1px);
}

.button.secondary {
  background: rgba(255,255,255,0.85);
  color: var(--ink);
  border: 1px solid var(--line);
  backdrop-filter: blur(8px);
}
.button.secondary:hover {
  background: #fff;
  border-color: var(--muted-2);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* ── Site Header ─────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 96px;
  padding: 16px max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
  background: rgba(13, 30, 56, 0.96);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  transition: min-height 0.3s, background 0.3s, box-shadow 0.3s;
}

.site-header.scrolled {
  min-height: 78px;
  background: rgba(13, 30, 56, 0.98);
  box-shadow: 0 1px 18px rgba(7, 20, 38, 0.24);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 700;
  font-size: 0.95rem;
  flex: 0 0 auto;
  letter-spacing: -0.01em;
}

.brand-mark {
  display: grid;
  place-items: center;
  height: 68px;
  width: auto;
  min-width: 68px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--r-sm);
  background: #f8f6f2;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.16);
  transition: box-shadow 0.2s;
  padding: 6px 16px;
}
.brand-mark:hover { box-shadow: var(--shadow-md); }
.brand-mark img {
  height: 52px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
}
.brand-initials { font-size: 0.9rem; font-weight: 800; color: var(--navy); padding: 0 8px; }

.brand-name { display: none; }

.site-nav {
  display: none;
  align-items: center;
  gap: clamp(4px, 1.5vw, 8px);
  margin-left: clamp(28px, 5vw, 76px);
}
@media (min-width: 680px) {
  .site-header { justify-content: center; }
  .brand { transform: translateX(clamp(-160px, -10vw, -120px)); }
  .site-nav { transform: translateX(clamp(134px, 10.5vw, 178px)); }
  .site-nav { display: flex; }
}

.site-nav a {
  padding: 9px 18px;
  border-radius: 100px;
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(255,255,255,0.78);
  transition: background 0.15s, color 0.15s;
}
.site-nav a:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
}
.site-nav a.active {
  background: rgba(255,255,255,0.14);
  color: #fff;
  font-weight: 600;
}

/* Hamburger */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  margin-left: auto;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: background 0.15s;
}
@media (min-width: 680px) { .nav-toggle { display: none; } }
.nav-toggle:hover { background: rgba(255,255,255,0.12); }
.nav-toggle span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: #fff;
  transition: transform 0.25s, opacity 0.25s;
  transform-origin: center;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile-Menü: animiertes Dropdown */
@media (max-width: 679px) {
  .site-nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-left: 0;
    padding: 12px var(--gutter) 20px;
    background: rgba(13, 30, 56, 0.98);
    border-bottom: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    pointer-events: none;
    transition: opacity 0.28s ease, transform 0.28s ease, visibility 0s linear 0.28s;
  }
  .site-nav.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
    transition: opacity 0.28s ease, transform 0.28s ease;
  }
  .site-nav a { padding: 12px 16px; border-radius: var(--r-sm); font-size: 0.95rem; }
  .site-nav.open a { animation: navLinkIn 0.34s ease both; }
  .site-nav.open a:nth-child(1) { animation-delay: 0.05s; }
  .site-nav.open a:nth-child(2) { animation-delay: 0.10s; }
  .site-nav.open a:nth-child(3) { animation-delay: 0.15s; }
  .site-nav.open a:nth-child(4) { animation-delay: 0.20s; }
  .site-nav.open a:nth-child(5) { animation-delay: 0.25s; }
}
@keyframes navLinkIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }
}


/* ── Hero ────────────────────────────────────────────────── */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  min-height: auto;
  padding: clamp(52px, 8vh, 84px) var(--gutter) clamp(34px, 4.5vh, 54px);
  max-width: var(--container);
  margin-inline: auto;
  align-content: center;
}
@media (min-width: 900px) {
  .hero {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
  }
}

.hero-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(74, 126, 196, 0.22) 1px, transparent 1px);
  background-size: 36px 36px;
  opacity: 0.55;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.35;
}
.orb-1 {
  width: 700px;
  height: 700px;
  top: -200px;
  right: -100px;
  background: radial-gradient(circle, #dce9f8 0%, transparent 70%);
}
.orb-2 {
  width: 500px;
  height: 500px;
  bottom: -100px;
  left: -80px;
  background: radial-gradient(circle, #eaf0f5 0%, transparent 70%);
}

.hero-content { max-width: 580px; }

.hero-content .eyebrow { margin-bottom: 20px; }

.hero-content h1 {
  margin-bottom: 24px;
}
.hero-content h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--sage-dark), var(--blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-copy {
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  color: var(--ink-soft);
  margin-bottom: 36px;
  max-width: 480px;
}
.hero-copy strong { color: var(--ink); font-weight: 600; }

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

/* Signal cards */
.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}

.signal-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 20px 22px;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}
.signal-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 60%, rgba(37, 99, 168, 0.06));
  pointer-events: none;
}
.signal-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.card-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage-dark);
  margin-bottom: 6px;
}

.signal-card strong {
  display: block;
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--ink-soft);
  line-height: 1.45;
}

.card-dot {
  position: absolute;
  top: 20px;
  right: 22px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sage);
  box-shadow: 0 0 0 3px rgba(74, 126, 196, 0.25);
}

/* Floating card animations */
@keyframes float-0 {
  0%, 100% { transform: translateX(0) translateY(0px); }
  50%       { transform: translateX(0) translateY(-8px); }
}
@keyframes float-24 {
  0%, 100% { transform: translateX(24px) translateY(0px); }
  50%       { transform: translateX(24px) translateY(-8px); }
}
@keyframes float-8 {
  0%, 100% { transform: translateX(8px) translateY(0px); }
  50%       { transform: translateX(8px) translateY(-8px); }
}

.card-1 { animation: float-0  4.5s ease-in-out infinite; }
.card-2 { animation: float-24 4.5s ease-in-out infinite 0.9s; }
.card-3 { animation: float-8  4.5s ease-in-out infinite 1.8s; }

@media (max-width: 899px) {
  .card-1 { animation: float-0 4.5s ease-in-out infinite; }
  .card-2 { animation: float-0 4.5s ease-in-out infinite 0.9s; }
  .card-3 { animation: float-0 4.5s ease-in-out infinite 1.8s; }
}


/* ── Sections (shared) ───────────────────────────────────── */
.section {
  padding-block: var(--section-py);
}
.section-alt {
  background: linear-gradient(160deg, var(--navy) 0%, #0f2540 100%);
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  color: #fff;
}
.section-alt h2 { color: #fff; }
.section-alt h3 { color: #fff; }
.section-alt .eyebrow { color: var(--sage); }
.section-dark {
  background: var(--navy);
  color: #fff;
}
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .muted { color: rgba(255,255,255,0.6); }

.section-label {
  margin-bottom: 16px;
}

.section h2 {
  margin-bottom: clamp(20px, 3vw, 36px);
}

.section-intro {
  max-width: 560px;
  color: var(--ink-soft);
  font-size: 1.05rem;
  margin-bottom: clamp(40px, 6vw, 64px);
}

/* ── Profil ──────────────────────────────────────────────── */
.section-profile {
  background: var(--navy);
  color: #fff;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.section-profile .eyebrow { color: var(--sage); }

.section-profile h2,
.section-profile h3 {
  color: #fff;
}

.profile-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
@media (min-width: 860px) {
  .profile-layout {
    grid-template-columns: 1fr 340px;
    gap: 64px;
    align-items: start;
  }
}

.profile-text h2 { margin-bottom: 24px; }
.profile-text p {
  color: rgba(255,255,255,0.74);
  margin-bottom: 18px;
}


.profile-aside {
  display: flex;
  flex-direction: column;
  gap: 14px;
}



/* ── Erfahrung compact text layout ──────────────────────── */
.exp-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 860px) {
  .exp-two-col {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.exp-block {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.exp-block-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--sage);
}

.exp-text {
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.78);
}

.exp-text strong {
  color: #fff;
  font-weight: 650;
}

.exp-stations {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.exp-station {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.88);
  white-space: nowrap;
}

.exp-station-highlight {
  background: rgba(37, 99, 168, 0.3);
  border-color: rgba(74, 126, 196, 0.5);
  color: #fff;
}

.exp-year {
  font-size: 0.72rem;
  font-weight: 400;
  color: rgba(255,255,255,0.45);
}

/* ── Fokus ───────────────────────────────────────────────── */
/* Focus sub-group */
.focus-group {
  margin-bottom: 52px;
}
.focus-group:last-child { margin-bottom: 0; }

.focus-group-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage-dark);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.focus-group-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--line);
}

/* Projektideen: structured project cards */
.projekt-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: minmax(420px, auto) minmax(250px, auto);
  grid-template-areas:
    "lead automation"
    "concepts proto";
  gap: 18px;
  align-items: stretch;
}

.projekt-card {
  position: relative;
  min-height: 250px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background:
    linear-gradient(145deg, rgba(13,30,56,0.96), rgba(29,72,132,0.9)),
    var(--navy);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 16px;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.projekt-card:nth-child(1) {
  grid-area: lead;
  border-color: rgba(255,255,255,0.12);
}

.projekt-card:nth-child(1) > .projekt-icon,
.projekt-card:nth-child(1) > h3,
.projekt-card:nth-child(1) > p,
.projekt-card:nth-child(1) > .projekt-tag {
  position: relative;
  z-index: 2;
}

.webseiten-preview-stack {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 16 / 10;
  margin: 2px 0 4px;
  pointer-events: none;
}

.webseiten-preview {
  position: absolute;
  width: 82%;
  height: 78%;
  object-fit: cover;
  object-position: top center;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.22);
  box-shadow: 0 18px 42px rgba(0,0,0,0.28);
  background: rgba(255,255,255,0.08);
}

.preview-back {
  right: 0;
  top: 0;
  opacity: 0.72;
  transform: translate(12px, -10px) rotate(2deg);
}

.preview-front {
  left: 0;
  bottom: 0;
  transform: rotate(-1.5deg);
}

.projekt-card:nth-child(2) {
  grid-area: automation;
}

.projekt-card:nth-child(1),
.projekt-card:nth-child(2) {
  min-height: 420px;
}

.automation-preview-wrap,
.konzepte-preview-wrap,
.prototypen-preview-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 3 / 2;
  margin: 2px 0 4px;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.22);
  box-shadow: 0 16px 34px rgba(0,0,0,0.24);
  background: rgba(255,255,255,0.08);
}

.automation-preview-wrap img,
.konzepte-preview-wrap img,
.prototypen-preview-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.projekt-card:nth-child(2) > .projekt-icon,
.projekt-card:nth-child(2) > h3,
.projekt-card:nth-child(2) > p,
.projekt-card:nth-child(2) > .projekt-tag {
  position: relative;
  z-index: 2;
  max-width: none;
}

.projekt-card:nth-child(3) { grid-area: concepts; }
.projekt-card:nth-child(4) {
  grid-area: proto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.projekt-card:nth-child(4) .projekt-icon {
  grid-row: auto;
}

.projekt-card:nth-child(4) h3,
.projekt-card:nth-child(4) p {
  grid-column: auto;
}

.projekt-card:nth-child(4) .projekt-tag {
  grid-column: auto;
  grid-row: auto;
}

.projekt-card::after {
  content: '';
  position: absolute;
  width: 180px;
  height: 180px;
  right: -90px;
  top: -90px;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 50%;
}

.projekt-card:nth-child(1)::after {
  width: 180px;
  height: 180px;
  right: -90px;
  top: -90px;
  border-color: rgba(255,255,255,0.18);
}

.projekt-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(255,255,255,0.28);
}

.projekt-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--r-sm);
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.22);
  flex-shrink: 0;
}

.projekt-card:nth-child(1) .projekt-icon {
  width: 52px;
  height: 52px;
  color: #fff;
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.22);
}

.projekt-card h3 {
  color: #fff;
  margin-bottom: 0;
}

.projekt-card:nth-child(1) h3 {
  color: #fff;
  font-size: inherit;
  max-width: none;
}

.projekt-card p {
  max-width: 36rem;
  color: rgba(255,255,255,0.76);
  font-size: 0.88rem;
  line-height: 1.58;
}

.projekt-card:nth-child(1) p {
  color: rgba(255,255,255,0.76);
  font-size: 0.88rem;
  max-width: 36rem;
}

.projekt-tag {
  width: fit-content;
  margin-top: auto;
  padding: 7px 11px;
  border-radius: 100px;
  color: #fff;
  background: rgba(255,255,255,0.14);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .projekt-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    grid-template-areas: none;
  }

  .projekt-card,
  .projekt-card:nth-child(1),
  .projekt-card:nth-child(2),
  .projekt-card:nth-child(3),
  .projekt-card:nth-child(4) {
    grid-area: auto;
    min-height: auto;
  }

  .projekt-card:nth-child(4) {
    flex-direction: column;
    align-items: flex-start;
  }

  .webseiten-preview-stack {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    margin-block: 4px 8px;
  }

  .projekt-card:nth-child(1) h3,
  .projekt-card:nth-child(1) p {
    max-width: none;
  }

  .automation-preview-wrap {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    margin-block: 4px 8px;
  }

  .projekt-card:nth-child(2) > .projekt-icon,
  .projekt-card:nth-child(2) > h3,
  .projekt-card:nth-child(2) > p,
  .projekt-card:nth-child(2) > .projekt-tag {
    max-width: none;
  }
}

@media (max-width: 620px) {
  .projekt-card,
  .projekt-card:nth-child(1) {
    padding: 23px;
  }
}

/* Profile trait cards — full width, side by side, below text+photo */
.profile-traits {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 16px;
  margin-top: 36px;
}
@media (max-width: 680px) {
  .profile-traits { grid-template-columns: 1fr !important; }
}

.trait-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 22px;
  background:
    linear-gradient(145deg, rgba(13,30,56,0.95), rgba(30,77,143,0.86)),
    var(--navy);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-lg);
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.trait-card::after {
  content: '';
  position: absolute;
  width: 160px;
  height: 160px;
  right: -78px;
  top: -78px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 50%;
}
.trait-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.trait-icon {
  width: 46px;
  height: 46px;
  background: linear-gradient(140deg, rgba(74,126,196,0.55), rgba(37,99,168,0.32));
  border: 1px solid rgba(120,170,225,0.45);
  border-radius: 13px;
  display: grid;
  place-items: center;
  color: #fff;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  box-shadow: 0 6px 16px rgba(0,0,0,0.22);
  transition: transform 0.25s ease;
}
.trait-card:hover .trait-icon { transform: translateY(-2px) scale(1.05); }
.trait-card strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
  position: relative;
  z-index: 1;
}
.trait-card p {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.74);
  line-height: 1.55;
  margin: 0;
  position: relative;
  z-index: 1;
}


/* ── Kontakt ─────────────────────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
}
@media (min-width: 860px) {
  .contact-layout {
    grid-template-columns: 1fr 360px;
    gap: 80px;
  }
}

.section-dark .eyebrow { color: var(--sage); }
.contact-text .eyebrow { margin-bottom: 16px; }
.contact-text h2 { margin-bottom: 20px; font-size: clamp(1.8rem, 3vw, 2.6rem); }
.contact-text p {
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 32px;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 22px;
  border-radius: 100px;
  font-size: 0.88rem;
  font-weight: 600;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  transition: all 0.2s;
}
.contact-link:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.4);
  transform: translateY(-1px);
}


/* ── Contact Form ────────────────────────────────────────── */
.contact-form-wrap {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--r-xl);
  padding: 32px 30px 28px;
  backdrop-filter: blur(12px);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.cform-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.cform-field label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

.cform-field input,
.cform-field textarea {
  width: 100%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--r-md);
  padding: 12px 16px;
  font-family: inherit;
  font-size: 0.92rem;
  color: #fff;
  outline: none;
  transition: border-color 0.18s, background 0.18s;
  resize: none;
}

.cform-field input::placeholder,
.cform-field textarea::placeholder {
  color: rgba(255,255,255,0.28);
}

.cform-field input:focus,
.cform-field textarea:focus {
  border-color: var(--sage);
  background: rgba(255,255,255,0.12);
}

.cform-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 24px;
  margin-top: 4px;
  background: #fff;
  color: var(--navy);
  border: none;
  border-radius: 100px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.18s, transform 0.18s, box-shadow 0.18s;
  box-shadow: 0 4px 18px rgba(0,0,0,0.2);
}

.cform-submit:hover {
  background: var(--ice);
  transform: translateY(-1px);
  box-shadow: 0 8px 26px rgba(0,0,0,0.28);
}

.cform-submit:active {
  transform: translateY(0);
}

/* ── Footer ──────────────────────────────────────────────── */
.site-footer {
  padding-block: 28px;
  border-top: 1px solid var(--line-soft);
  background: var(--paper);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 20px;
}
.footer-links a {
  color: var(--muted);
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--ink); }

/* ── Responsive Tweaks ───────────────────────────────────── */
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .button { justify-content: center; }
  .contact-links { flex-direction: column; }
  .contact-link { justify-content: center; }
}

/* ── Profile Photo ───────────────────────────────────────── */
.profile-photo-wrap {
  position: relative;
  margin-bottom: 20px;
}

.profile-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--r-xl);
  display: block;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,0.18);
  image-orientation: from-image;
}

.profile-photo-placeholder {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: var(--shadow-lg);
  align-items: stretch;
  justify-content: stretch;
}

.profile-photo-badge {
  position: absolute;
  bottom: -10px;
  right: -10px;
  width: 52px;
  height: 52px;
  background: var(--panel);
  border: 2px solid rgba(255,255,255,0.22);
  border-radius: var(--r-md);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-md);
  overflow: hidden;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--navy);
}

.profile-photo-badge img {
  width: 80%;
  height: 80%;
  object-fit: contain;
}

/* ── Demo-Hinweis Banner ─────────────────────────────────── */
.demo-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 20px;
  background: linear-gradient(135deg, var(--sage-dark), var(--blue));
  color: #fff;
  font-size: 0.82rem;
  line-height: 1.4;
  text-align: center;
}
.demo-banner svg { flex-shrink: 0; opacity: 0.9; }
.demo-banner strong { font-weight: 700; }
@media (max-width: 560px) { .demo-banner { font-size: 0.76rem; padding: 9px 16px; } }

/* Text-Schriftzug statt Logo */
.brand-word {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #fff;
  white-space: nowrap;
}

/* Demo-Badge im Header */
.demo-tag {
  display: inline-block;
  margin-left: 10px;
  padding: 3px 10px;
  border-radius: 100px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.28);
  color: #fff;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ── Section intro on dark backgrounds ───────────────────── */
.section-intro-light { color: rgba(255,255,255,0.72); }

/* ── Leistungen: service cards (light section) ───────────── */
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
@media (max-width: 980px) { .service-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .service-grid { grid-template-columns: 1fr; } }

.service-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--sage);
}
.service-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(140deg, var(--sage-dark), var(--blue));
  border: none;
  box-shadow: 0 10px 22px rgba(37,99,168,0.30);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.service-card:hover .service-icon {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 14px 28px rgba(37,99,168,0.38);
}
.service-card h3 { color: var(--ink); font-size: 1.08rem; }
.service-card p { color: var(--muted); font-size: 0.9rem; line-height: 1.6; margin: 0; }

/* ── Ablauf: numbered steps (light section) ──────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

.step {
  position: relative;
  padding: 26px 22px 24px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}
.step-num {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  box-shadow: 0 6px 18px rgba(7,20,38,0.22);
}
.step h3 { color: var(--ink); font-size: 1.02rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 0.88rem; line-height: 1.6; margin: 0; }

/* ── Pakete: pricing cards (on section-alt / dark) ───────── */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}
@media (max-width: 860px) { .price-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 26px 28px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--r-xl);
  backdrop-filter: blur(10px);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.price-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255,255,255,0.3);
  box-shadow: var(--shadow-lg);
}
.price-card-featured {
  background: rgba(37,99,168,0.22);
  border-color: rgba(74,126,196,0.55);
  box-shadow: 0 18px 50px rgba(0,0,0,0.28);
}
.price-badge {
  position: absolute;
  top: -12px;
  left: 26px;
  padding: 5px 14px;
  border-radius: 100px;
  background: #fff;
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: var(--shadow-md);
}
.price-tier {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
}
.price-desc {
  color: var(--sage);
  font-size: 0.9rem;
  font-weight: 600;
  margin: 4px 0 20px;
}
.price-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin: 0 0 26px;
  padding: 0;
}
.price-list li {
  position: relative;
  padding-left: 28px;
  color: rgba(255,255,255,0.82);
  font-size: 0.9rem;
  line-height: 1.5;
}
.price-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: rgba(74,126,196,0.32);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23dce9f8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}
.price-cta {
  margin-top: auto;
  justify-content: center;
  width: 100%;
}

/* ── Über mich: logo trust strip ─────────────────────────── */
.logo-strip {
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.logo-strip-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
}
.logo-strip-items {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.logo-strip-items img {
  height: 30px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.72;
  transition: opacity 0.2s;
}
.logo-strip-items img:hover { opacity: 1; }
.logo-fallback {
  font-weight: 700;
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

/* ════════════════════════════════════════════════════════════
   Bilder / Illustrationen
   ════════════════════════════════════════════════════════════ */

/* ── Hero-Illustration ───────────────────────────────────── */
.hero-visual-img {
  display: block;
}
.hero-visual-img img {
  width: 100%;
  height: auto;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}

/* ── Showcase-Banner (Bild 3) ────────────────────────────── */
.showcase {
  background: linear-gradient(160deg, var(--navy) 0%, #0f2540 100%);
  color: #fff;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.showcase-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}
@media (min-width: 860px) {
  .showcase-inner { grid-template-columns: 1fr 1.05fr; gap: 56px; }
}
.showcase-text .eyebrow { margin-bottom: 14px; }
.showcase-text h2 { color: #fff; margin-bottom: 18px; }
.showcase-text p {
  color: rgba(255,255,255,0.82);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 460px;
}
.showcase-img img {
  width: 100%;
  height: auto;
  border-radius: var(--r-xl);
  box-shadow: 0 24px 60px rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.1);
}

/* ── Vorteile: Kopf mit Bild (Bild 2) ────────────────────── */
.vorteile-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
  margin-bottom: clamp(40px, 6vw, 60px);
}
@media (min-width: 860px) {
  .vorteile-head { grid-template-columns: 1.1fr 0.9fr; gap: 56px; }
}
.vorteile-head .section-intro { margin-bottom: 0; }
.vorteile-head-img img {
  width: 100%;
  height: auto;
  border-radius: var(--r-xl);
  box-shadow: 0 24px 60px rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.1);
}

/* ── Ablauf-Illustration (Bild 4) ────────────────────────── */
.ablauf-illo {
  margin: 8px 0 clamp(28px, 4vw, 44px);
}
.ablauf-illo img {
  width: 100%;
  height: auto;
  max-width: 1000px;
  margin-inline: auto;
  display: block;
  border-radius: var(--r-lg);
}

/* ════════════════════════════════════════════════════════════
   Zusätzliche Animationen
   ════════════════════════════════════════════════════════════ */

/* ── Lese-Fortschrittsleiste ─────────────────────────────── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  z-index: 200;
  background: linear-gradient(90deg, var(--sage), var(--blue));
  box-shadow: 0 0 10px rgba(37,99,168,0.5);
  transition: width 0.1s linear;
}

/* ── Gestaffeltes Einblenden der Karten ──────────────────── */
@keyframes cardIn {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}

.service-grid:not(.revealed) .service-card,
.steps:not(.revealed) .step,
.price-grid:not(.revealed) .price-card,
.profile-traits:not(.revealed) .trait-card {
  opacity: 0;
}

.service-grid.revealed .service-card,
.steps.revealed .step,
.price-grid.revealed .price-card,
.profile-traits.revealed .trait-card {
  animation: cardIn 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

.service-grid.revealed .service-card:nth-child(1),
.steps.revealed .step:nth-child(1),
.price-grid.revealed .price-card:nth-child(1),
.profile-traits.revealed .trait-card:nth-child(1) { animation-delay: 0.05s; }
.service-grid.revealed .service-card:nth-child(2),
.steps.revealed .step:nth-child(2),
.price-grid.revealed .price-card:nth-child(2),
.profile-traits.revealed .trait-card:nth-child(2) { animation-delay: 0.13s; }
.service-grid.revealed .service-card:nth-child(3),
.steps.revealed .step:nth-child(3),
.price-grid.revealed .price-card:nth-child(3),
.profile-traits.revealed .trait-card:nth-child(3) { animation-delay: 0.21s; }
.service-grid.revealed .service-card:nth-child(4),
.steps.revealed .step:nth-child(4),
.profile-traits.revealed .trait-card:nth-child(4) { animation-delay: 0.29s; }

/* ── Animierter Farbverlauf im Hero-Titel ────────────────── */
.hero-content h1 em {
  background: linear-gradient(120deg, var(--sage-dark), var(--sage), var(--blue), var(--sage-dark));
  background-size: 240% 240%;
  -webkit-background-clip: text;
  background-clip: text;
  animation: gradientShift 8s ease infinite;
}
@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ── Driftende Hintergrund-Orbs ──────────────────────────── */
.orb-1 { animation: driftOrb1 22s ease-in-out infinite; }
.orb-2 { animation: driftOrb2 26s ease-in-out infinite; }
@keyframes driftOrb1 {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(-40px, 30px); }
}
@keyframes driftOrb2 {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(36px, -28px); }
}

/* ── Pulsierende Signal-Punkte ───────────────────────────── */
.card-dot { animation: dotPulse 2.6s ease-in-out infinite; }
@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(74,126,196,0.25); }
  50%      { box-shadow: 0 0 0 7px rgba(74,126,196,0.05); }
}

/* ── Glanz-Effekt auf dem Primär-Button ──────────────────── */
.button.primary { position: relative; overflow: hidden; }
.button.primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.28), transparent);
  transform: skewX(-18deg);
  transition: none;
}
.button.primary:hover::after {
  animation: shine 0.9s ease;
}
@keyframes shine {
  from { left: -120%; }
  to   { left: 140%; }
}

/* ── Sanftes Glühen der „Beliebt"-Karte ──────────────────── */
.price-card-featured { animation: featuredGlow 3.4s ease-in-out infinite; }
@keyframes featuredGlow {
  0%, 100% { box-shadow: 0 18px 50px rgba(0,0,0,0.28); }
  50%      { box-shadow: 0 18px 60px rgba(37,99,168,0.45); }
}

/* ── Animierter Unterstrich in der Navigation ────────────── */
.site-nav a { position: relative; }
.site-nav a::after {
  content: '';
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 4px;
  height: 2px;
  background: var(--sage);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.site-nav a:hover::after,
.site-nav a.active::after { transform: scaleX(1); }
@media (max-width: 679px) { .site-nav a::after { display: none; } }

/* ── Bilder: Einblenden mit leichtem Zoom + Hover-Zoom ───── */
.reveal.reveal-zoom { transform: translateY(26px) scale(0.94); }
.reveal.reveal-zoom.revealed { transform: none; }

.hero-visual-img img,
.showcase-img img,
.vorteile-head-img img,
.ablauf-illo img {
  transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
}
.hero-visual-img:hover img,
.showcase-img:hover img,
.vorteile-head-img:hover img { transform: scale(1.03); }

/* ── Ablauf: verbindende Linie + Nummern-Pop ─────────────── */
.steps { position: relative; }
.steps::before {
  content: '';
  position: absolute;
  top: 47px;
  left: 7%;
  right: 7%;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--line) 0 7px, transparent 7px 15px);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1s ease 0.15s;
  z-index: 0;
}
.steps.revealed::before { transform: scaleX(1); }
@media (max-width: 980px) { .steps::before { display: none; } }
.step { z-index: 1; }

@keyframes numPop {
  0%   { transform: scale(0);    opacity: 0; }
  60%  { transform: scale(1.18); opacity: 1; }
  100% { transform: scale(1);    opacity: 1; }
}
.steps.revealed .step-num {
  animation: numPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.steps.revealed .step:nth-child(1) .step-num { animation-delay: 0.20s; }
.steps.revealed .step:nth-child(2) .step-num { animation-delay: 0.35s; }
.steps.revealed .step:nth-child(3) .step-num { animation-delay: 0.50s; }
.steps.revealed .step:nth-child(4) .step-num { animation-delay: 0.65s; }

/* ── Reduced motion ──────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .service-grid:not(.revealed) .service-card,
  .steps:not(.revealed) .step,
  .price-grid:not(.revealed) .price-card,
  .profile-traits:not(.revealed) .trait-card { opacity: 1; }
  .reveal.reveal-zoom { transform: none; opacity: 1; }
  .steps::before { transform: scaleX(1); }
  .scroll-progress { display: none; }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
.site-header { transition: none; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
