/* ========================================
   RESET & BASE — Frascati-Style Light Theme
   ======================================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #ece2dc;
  --bg-light: #f4ebe5;
  --bg-card: #fff;
  --bg-dark: #1a1a1a;
  --bg-dark-elevated: #242424;
  --border: #dccfc5;
  --border-light: #e6dad1;
  --text: #1a1a1a;
  --text-muted: #6b6560;
  --text-light: rgba(255,255,255,0.7);
  --accent: #8b2e2e;
  --accent-hover: #7a2525;
  --accent-light: rgba(139,46,46,0.1);
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --font-body: 'Inter', -apple-system, sans-serif;
  --font-display: 'Space Grotesk', 'Inter', sans-serif;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.1);
  --shadow-xl: 0 24px 60px rgba(0,0,0,0.12);
  --ease-out-quart: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: clip;
}

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

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

.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 48px;
}

/* ========================================
   DOT INDICATOR (orange bullet)
   ======================================== */
.dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: middle;
}

/* ========================================
   NAV — Floating Pill
   ======================================== */
.nav {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  width: calc(100% - 48px);
  max-width: 1100px;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 28px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: 100px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
  border: 1px solid rgba(255,255,255,0.5);
  transition: background 0.3s, box-shadow 0.3s;
}

.nav--scrolled .nav__inner {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 30px rgba(0,0,0,0.1);
}

.nav__logo {
  display: flex;
  align-items: center;
}

.nav__logo-img {
  height: 32px;
  width: auto;
  filter: invert(1);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 0.88rem;
  font-weight: 450;
  color: var(--text-muted);
}

.nav__links a {
  transition: color 0.2s;
}

.nav__links a:hover {
  color: var(--text);
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-dark);
  color: #fff !important;
  padding: 10px 22px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.85rem;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.nav__cta:hover {
  transform: translateY(-1px);
  background: #2a2a2a;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav__burger.active span:first-child {
  transform: rotate(45deg) translate(3px, 3px);
}

.nav__burger.active span:last-child {
  transform: rotate(-45deg) translate(3px, -3px);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99;
  background: var(--bg);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  font-size: 1.5rem;
  font-weight: 500;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.mobile-menu.active {
  opacity: 1;
  pointer-events: auto;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 36px;
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  border: none;
}

.btn--dark {
  background: var(--bg-dark);
  color: #fff;
}

.btn--dark:hover {
  transform: translateY(-2px);
  background: #2a2a2a;
  box-shadow: 0 6px 24px rgba(0,0,0,0.15);
}

.btn--accent {
  background: var(--accent);
  color: #fff;
}

.btn--accent:hover {
  transform: translateY(-2px);
  background: var(--accent-hover);
  box-shadow: 0 6px 24px rgba(139,46,46,0.25);
}

.btn--outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}

.btn--outline:hover {
  border-color: var(--text-muted);
  background: rgba(255,255,255,0.5);
}

.btn--outline-dark {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}

.btn--outline-dark:hover {
  border-color: var(--text);
  background: rgba(0,0,0,0.03);
}

/* ========================================
   SECTION HEADERS
   ======================================== */
.section__label {
  display: inline-flex;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 20px;
  background: rgba(255,255,255,0.6);
  padding: 8px 18px;
  border-radius: 100px;
  border: 1px solid var(--border-light);
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--text);
}

.section__sub {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 520px;
}

.section__header {
  margin-bottom: 64px;
}

.section__header--center {
  text-align: center;
}

.section__header--center .section__sub {
  margin: 0 auto;
}

/* ========================================
   HERO — Fullscreen Image
   ======================================== */
/* --- Hero: Layered Parallax (Frascati-Style) --- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  overflow: hidden;
  background: #0e0e0e;
}

/* Layer 1: Background image */
.hero__bg {
  position: absolute;
  inset: -10% 0;
  z-index: 1;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  transform: scale(1);
  will-change: transform;
}

/* Layer 2: Overlay — softer burgundy tint instead of hard black */
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg,
      rgba(60,20,20,0.08) 0%,
      rgba(60,20,20,0.0) 30%,
      rgba(60,20,20,0.0) 50%,
      rgba(45,15,15,0.25) 70%,
      rgba(35,12,12,0.55) 88%,
      rgba(25,8,8,0.75) 100%
    );
}

/* Hero location row — local Ruhrgebiet signal */
.hero__location {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.92);
  background: rgba(0,0,0,0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 8px 16px;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.08);
}

.hero__location svg {
  color: #f5b8a8;
  flex-shrink: 0;
}

/* Layer 4: Main content */
.hero__content {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding: 120px 56px 0;
}

.hero__top {
  /* Badge sits top-left */
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  background: rgba(139,46,46,0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 10px 22px;
  border-radius: 100px;
  border: 1px solid rgba(139,46,46,0.35);
  box-shadow: 0 0 30px rgba(139,46,46,0.15);
}

.hero__badge .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  margin-right: 12px;
  animation: dotPulse 1.8s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(139,46,46,0.7); }
  70% { opacity: 0.8; box-shadow: 0 0 0 10px rgba(139,46,46,0); }
}

.hero__bottom {
  padding-bottom: 80px;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5.5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.035em;
  color: #fff;
  margin-bottom: 28px;
  padding-bottom: 4px;
}

.hero__accent {
  display: inline;
}

.hero__carousel {
  display: inline-block;
  position: relative;
  overflow: hidden;
  height: 1.4em;
  vertical-align: bottom;
  line-height: 1.4;
  padding-bottom: 0.15em;
}

.hero__carousel-track {
  display: flex;
  flex-direction: column;
  animation: carousel 16s ease-in-out infinite;
}

.hero__carousel-track span {
  height: 1.4em;
  display: flex;
  align-items: center;
  white-space: nowrap;
  line-height: 1.4;
  font-style: italic;
  font-family: var(--font-display), var(--font-display);
  font-weight: 700;
  color: #6b2020;
}

@keyframes carousel {
  0%, 20% { transform: translateY(0); }
  25%, 45% { transform: translateY(-25%); }
  50%, 70% { transform: translateY(-50%); }
  75%, 95% { transform: translateY(-75%); }
  100% { transform: translateY(0); }
}

.hero__row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 60px;
}

.hero__row-left {
  flex: 1;
  max-width: 580px;
}

.hero__sub {
  font-size: 1.02rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.7;
  max-width: 460px;
  margin-bottom: 28px;
}

.hero__actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.hero__cta-hint {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #f5b8a8;
  margin-bottom: 14px;
  background: rgba(139,46,46,0.18);
  border: 1px solid rgba(245,184,168,0.25);
  padding: 7px 14px;
  border-radius: 100px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  width: fit-content;
}

.hero__cta-hint-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #f5b8a8;
  margin-right: 10px;
  animation: dotPulse 1.6s ease-in-out infinite;
}


.btn--accent {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 14px 32px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: transform 200ms var(--ease-out-quart), box-shadow 200ms var(--ease-out-quart), background 200ms var(--ease-out-quart);
  white-space: nowrap;
}

.btn--accent:hover {
  background: var(--accent-hover);
  box-shadow: 0 8px 30px rgba(139,46,46,0.35);
  transform: translateY(-2px);
}

.btn--outline-hero {
  display: inline-flex;
  align-items: center;
  padding: 14px 28px;
  background: transparent;
  color: rgba(255,255,255,0.8);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,0.2);
  cursor: pointer;
  transition: transform 200ms var(--ease-out-quart), border-color 200ms var(--ease-out-quart), background 200ms var(--ease-out-quart);
  white-space: nowrap;
}

.btn--outline-hero:hover {
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.06);
}

/* Layer 5: Side scroll indicator */
.hero__side {
  position: absolute;
  bottom: 56px;
  right: 56px;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.hero__scroll-line {
  width: 2px;
  height: 70px;
  background: rgba(255,255,255,0.18);
  position: relative;
  overflow: hidden;
  border-radius: 2px;
}

.hero__scroll-line::after {
  content: '';
  position: absolute;
  top: -70px;
  left: 0;
  width: 2px;
  height: 35px;
  background: var(--accent);
  animation: scrollLine 2.2s ease-in-out infinite;
  border-radius: 2px;
  box-shadow: 0 0 12px rgba(139,46,46,0.6);
}

@keyframes scrollLine {
  0% { top: -35px; }
  100% { top: 70px; }
}

.hero__side-text {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

/* Stats Band — appears below hero in beige content area */
.stats-band {
  padding: 56px 0 0;
  background: var(--bg);
}

.stats-band__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 56px;
  padding: 32px 48px;
  background: linear-gradient(90deg, #6b2020 0%, #8b2e2e 50%, #6b2020 100%);
  border-radius: var(--radius-xl);
  box-shadow: 0 12px 40px rgba(139,46,46,0.2);
}

.stats-band__item {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.stats-band__num {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}

.stats-band__label {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.78);
  letter-spacing: 0.04em;
}

.stats-band__divider {
  width: 1px;
  height: 30px;
  background: rgba(255,255,255,0.2);
}

@media (max-width: 768px) {
  .stats-band__inner {
    flex-direction: column;
    gap: 18px;
    padding: 24px;
  }
  .stats-band__divider {
    width: 30px;
    height: 1px;
  }
}

/* Hero entrance animation */
@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes heroImgZoom {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}

@keyframes heroWordReveal {
  from { opacity: 0; transform: translateY(40px); filter: blur(8px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

.hero__badge {
  animation: heroFadeIn 0.8s ease-out 0.3s both;
}

.hero__location {
  animation: heroFadeIn 0.8s ease-out 0.5s both;
}

.hero__title {
  animation: heroWordReveal 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.7s both;
}

.hero__row {
  animation: heroFadeIn 0.8s ease-out 1.1s both;
}

.hero__side {
  animation: heroFadeIn 0.6s ease-out 1.5s both;
}

.hero__img {
  animation: heroImgZoom 2.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* ========================================
   CURSOR FOLLOW (Frascati-style)
   ======================================== */
.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  will-change: transform;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cursor-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(139,46,46,0.6);
  transition: opacity 0.3s ease, width 0.25s ease, height 0.25s ease, background 0.25s ease;
}

.cursor-ring {
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(139,46,46,0.5);
  transition: opacity 0.3s ease, width 0.35s cubic-bezier(0.16, 1, 0.3, 1), height 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, background 0.25s ease;
}

body.cursor-active .cursor-dot,
body.cursor-active .cursor-ring {
  opacity: 1;
}

body.cursor-hover .cursor-dot {
  width: 0;
  height: 0;
}

body.cursor-hover .cursor-ring {
  width: 60px;
  height: 60px;
  background: rgba(139,46,46,0.15);
  border-color: rgba(139,46,46,0.8);
}

@media (hover: none), (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none; }
}

/* ========================================
   INDUSTRY LIST (Magnific-Style vertical scroller)
   ======================================== */
.industry-list {
  position: absolute;
  right: 110px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  min-width: 340px;
}

/* Wrap holds indicator + viewport so indicator can be vertically centered to viewport */
.industry-list__wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding-left: 18px;
}

.industry-list__center-marker {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 32px;
  background: var(--accent);
  border-radius: 2px;
  pointer-events: none;
  box-shadow: 0 0 16px rgba(139,46,46,0.5);
  z-index: 2;
}

.industry-list__center-marker::before {
  content: '';
  position: absolute;
  left: -1px;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 14px rgba(139,46,46,0.7);
}

.industry-list__viewport {
  position: relative;
  height: 280px; /* 7 items × 40px */
  flex: 1;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 25%, #000 75%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 25%, #000 75%, transparent 100%);
}

.industry-list__track {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  will-change: transform;
  animation: industryScroll 28s linear infinite;
}

.industry-list__item {
  height: 40px;
  display: flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: rgba(255,255,255,0.25);
  white-space: nowrap;
  transition: color 0.4s ease, transform 0.4s ease;
}

.industry-list__item.is-active {
  color: var(--accent);
  transform: translateX(6px);
  text-shadow: 0 0 24px rgba(139,46,46,0.4);
}

@keyframes industryScroll {
  /* Start at position where Handwerksbetriebe (index 0) is in the viewport center.
     Viewport center is at y=140px. First item top is at translateY value.
     So we need translateY such that item 0 (height 40px) center is at 140px:
     translateY + 20 = 140 → translateY = 120px */
  0% { transform: translateY(120px); }
  100% { transform: translateY(-280px); }
}


@media (max-width: 1024px) {
  .industry-list {
    display: none;
  }
}

/* ========================================
   SERVICES
   ======================================== */
.services {
  padding: 140px 0;
}

.services__bento {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 20px;
}

.service-card {
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.service-card__icon {
  margin-bottom: 24px;
  color: rgba(255,255,255,0.4);
}

.service-card__shimmer {
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent);
  animation: shimmer 4s ease-in-out infinite;
  pointer-events: none;
}

.service-card--hero {
  grid-row: 1 / 3;
  background: #7a2828;
  color: #fff;
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

@keyframes shimmer {
  0%, 100% { left: -100%; }
  50% { left: 120%; }
}

.service-card--hero .service-card__icon {
  color: rgba(255,255,255,0.5);
}

.service-card--small {
  background: var(--bg-dark);
  color: #fff;
  border: 1px solid transparent;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

.service-card--small:hover {
  border-color: rgba(139,46,46,0.4);
  box-shadow: 0 20px 50px rgba(139,46,46,0.15);
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.service-card--hero h3 {
  font-size: 1.6rem;
  margin-bottom: 16px;
}

.service-card p,
.service-card__lead {
  color: rgba(255,255,255,0.65);
  font-size: 0.95rem;
  line-height: 1.7;
}

.service-card__lead {
  margin-bottom: 28px;
}

.service-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
  margin-top: auto;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 24px;
}

.service-card__list li {
  color: rgba(255,255,255,0.55);
  font-size: 0.88rem;
  line-height: 1.6;
  padding: 5px 0 5px 20px;
  position: relative;
}

.service-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
}

/* ========================================
   PROCESS (3 Steps)
   ======================================== */
.process {
  padding: 0 0 160px;
}

.process__title-em {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--accent);
  font-weight: 600;
}

.process__timeline {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  padding-left: 40px;
}

.process__line {
  position: absolute;
  left: 78px;
  top: 30px;
  bottom: 100px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent) 100%);
  z-index: 0;
}

.process__step {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 48px;
  position: relative;
  padding: 32px 0;
  z-index: 1;
}

.process__step:not(:last-child) {
  margin-bottom: 8px;
}

.process__step-marker {
  position: relative;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 8px var(--bg), 0 8px 30px rgba(139,46,46,0.2);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.process__step:hover .process__step-marker {
  transform: scale(1.08);
  box-shadow: 0 0 0 8px var(--bg), 0 12px 40px rgba(139,46,46,0.4);
}

.process__number {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.02em;
  line-height: 1;
}

.process__step-content {
  padding-top: 8px;
}

.process__step-meta {
  margin-bottom: 12px;
}

.process__step-duration {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-light);
  padding: 6px 14px;
  border-radius: 100px;
  border: 1px solid rgba(139,46,46,0.2);
}

.process__step h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.process__step p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 18px;
}

.process__step-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.process__step-list li {
  position: relative;
  padding-left: 22px;
  font-size: 0.93rem;
  color: var(--text);
  line-height: 1.6;
}

.process__step-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.9rem;
}

/* Process endpoint — visual goal closing the timeline */
.process__endpoint {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 48px;
  position: relative;
  z-index: 1;
  margin-top: 24px;
}

.process__endpoint-marker {
  position: relative;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: linear-gradient(135deg, #a13838 0%, #6b2020 100%);
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 0 0 8px var(--bg), 0 12px 40px rgba(139,46,46,0.4);
  animation: endpointPulse 2.5s ease-in-out infinite;
}

@keyframes endpointPulse {
  0%, 100% {
    box-shadow: 0 0 0 8px var(--bg), 0 12px 40px rgba(139,46,46,0.4), 0 0 0 0 rgba(139,46,46,0.6);
  }
  50% {
    box-shadow: 0 0 0 8px var(--bg), 0 12px 40px rgba(139,46,46,0.4), 0 0 0 12px rgba(139,46,46,0);
  }
}

.process__endpoint-content {
  padding-top: 8px;
}

.process__endpoint-label {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.process__endpoint-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 14px;
}

.process__endpoint-title em {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--accent);
  font-weight: 600;
}

.process__endpoint-text {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 22px;
  max-width: 480px;
}

.process__endpoint-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--accent);
  padding: 12px 22px;
  background: rgba(139,46,46,0.08);
  border: 1px solid rgba(139,46,46,0.25);
  border-radius: 100px;
  transition: transform 200ms var(--ease-out-quart), background 200ms var(--ease-out-quart), color 200ms var(--ease-out-quart), border-color 200ms var(--ease-out-quart);
}

.process__endpoint-cta:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(139,46,46,0.3);
}

@media (max-width: 768px) {
  .process__endpoint {
    grid-template-columns: 56px 1fr;
    gap: 20px;
  }
  .process__endpoint-marker {
    width: 56px;
    height: 56px;
    box-shadow: 0 0 0 6px var(--bg), 0 8px 24px rgba(139,46,46,0.4);
  }
  .process__endpoint-marker svg {
    width: 22px;
    height: 22px;
  }
  .process__endpoint-title {
    font-size: 1.5rem;
  }
}

@media (max-width: 768px) {
  .process__timeline {
    padding-left: 0;
  }
  .process__line {
    left: 28px;
  }
  .process__step {
    grid-template-columns: 56px 1fr;
    gap: 20px;
  }
  .process__step-marker {
    width: 56px;
    height: 56px;
    box-shadow: 0 0 0 6px var(--bg), 0 6px 20px rgba(139,46,46,0.2);
  }
  .process__number {
    font-size: 1.1rem;
  }
  .process__step h3 {
    font-size: 1.4rem;
  }
}

/* ========================================
   SHOWCASE (3 Mobile Screens — Fließband)
   ======================================== */
.showcase {
  width: 100%;
  height: 100%;
  display: flex;
  gap: 12px;
  padding: 24px 20px;
  align-items: center;
  justify-content: center;
}

.showcase__screen {
  width: 28%;
  aspect-ratio: 9 / 16;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  position: relative;
  flex-shrink: 0;
}

.showcase__screen > div {
  overflow: hidden;
}

/* Conveyor Belt Auto-Scroll — 3 dense pages with longer dwell */
.showcase__scroll {
  height: 300%;
  display: flex;
  flex-direction: column;
  animation: conveyorScroll 20s ease-in-out infinite alternate;
  will-change: transform;
}

.showcase__screen:nth-child(1) .showcase__scroll { animation-duration: 18s; }
.showcase__screen:nth-child(2) .showcase__scroll { animation-duration: 22s; animation-delay: -7s; }
.showcase__screen:nth-child(3) .showcase__scroll { animation-duration: 19s; animation-delay: -12s; }

@keyframes conveyorScroll {
  0%, 30% { transform: translateY(0); }
  70%, 100% { transform: translateY(-66.67%); }
}

/* ========================================
   PROJECTS / REFERENZEN
   ======================================== */
.projects {
  padding: 140px 0;
  background: var(--bg-light);
}

.projects__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.project-card {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border-light);
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.project-card__img {
  position: relative;
  aspect-ratio: 16 / 12;
  overflow: hidden;
  background: var(--bg);
}

.project-card__tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text);
  border: 1px solid var(--border-light);
}

.project-card__info {
  padding: 28px 32px;
  position: relative;
}

.project-card__num {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: -0.02em;
  margin-bottom: 6px;
  display: block;
}

.project-card__info h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
  color: var(--text);
}

.project-card__info p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ========================================
   REVIEWS
   ======================================== */
.reviews {
  padding: 140px 0;
  background: #f4e8e3;
  position: relative;
}

.reviews::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(180deg, var(--bg) 0%, #f4e8e3 100%);
}

.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.review-card__stars {
  color: var(--accent);
  font-size: 1rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.review-card__text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 24px;
  font-style: italic;
}

.review-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-card__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.review-card__author strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
}

.review-card__author span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ========================================
   ABOUT
   ======================================== */
.about {
  padding: 140px 0;
  background: #5a1f1f;
  color: #f5e8e0;
  position: relative;
  overflow: hidden;
}

.about::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(139,46,46,0.6) 0%, transparent 70%);
  pointer-events: none;
}

.about .section__label {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.7);
}

.about .section__title {
  color: #fff;
}

.about .section__title em,
.about__text em {
  color: #f5b8a8;
  font-style: italic;
  font-family: var(--font-display);
}

.about__inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: center;
}

.about__photo {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.about__text {
  color: rgba(245,232,224,0.75);
  font-size: 1.08rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

.about__immer {
  display: block;
  font-size: 2.4rem;
  font-family: var(--font-display);
  font-style: italic;
  color: #f5b8a8;
  margin-top: 12px;
  letter-spacing: 0.02em;
}

/* ========================================
   CTA
   ======================================== */
.cta {
  padding: 140px 0;
  background: var(--bg);
}

.cta__inner {
  background: linear-gradient(120deg, #a13838 0%, #8b2e2e 40%, #5a1f1f 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-xl);
  padding: 100px 80px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(139,46,46,0.3);
}

.cta__inner::before {
  content: '';
  position: absolute;
  top: -150px;
  left: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.cta__inner::after {
  content: '';
  position: absolute;
  bottom: -150px;
  right: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0,0,0,0.2) 0%, transparent 70%);
  pointer-events: none;
}

.cta__title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 20px;
  color: #fff;
  position: relative;
  z-index: 1;
}

.cta__title em {
  font-style: italic;
  color: #fff;
  font-family: var(--font-display);
}

.cta .dot {
  background: #f5b8a8;
}

.cta__title-dot {
  color: #f5b8a8;
}

.cta__sub {
  color: rgba(255,255,255,0.75);
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 540px;
  margin: 0 auto 36px;
  position: relative;
  z-index: 1;
}

.cta__actions {
  position: relative;
  z-index: 1;
}

.cta__actions .btn--dark {
  background: #fff;
  color: #8b2e2e;
}

.cta__actions .btn--dark:hover {
  background: #f5e8e0;
  box-shadow: 0 6px 24px rgba(0,0,0,0.2);
}

.cta__actions .btn--outline-dark {
  color: #fff;
  border-color: rgba(255,255,255,0.3);
}

.cta__actions .btn--outline-dark:hover {
  border-color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.08);
}

.cta .section__label {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.8);
  position: relative;
  z-index: 1;
}

.cta__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta .section__label {
  display: inline-flex;
  margin-left: auto;
  margin-right: auto;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: var(--bg-dark);
  color: #fff;
  padding: 80px 0 0;
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer__logo {
  display: block;
  margin-bottom: 12px;
}

.footer__logo-img {
  height: 28px;
  width: auto;
}

.footer__brand p {
  color: rgba(255,255,255,0.45);
  font-size: 0.88rem;
  line-height: 1.6;
  max-width: 280px;
}

.footer__nav,
.footer__legal,
.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__nav strong,
.footer__legal strong,
.footer__contact strong {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 4px;
}

.footer__nav a,
.footer__legal a,
.footer__contact a,
.footer__contact span {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
}

.footer__nav a:hover,
.footer__legal a:hover,
.footer__contact a:hover {
  color: #fff;
}

.footer__bottom {
  padding: 24px 0;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}

/* ========================================
   ANIMATIONS (SCROLL REVEAL)
   ======================================== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  filter: blur(6px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1), filter 0.9s ease;
}

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

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1024px) {
  .container {
    padding: 0 32px;
  }

  .services__bento {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .service-card--hero {
    grid-row: auto;
    padding: 36px 28px;
  }

  .service-card--small {
    min-height: auto;
  }

  .process__grid {
    grid-template-columns: 1fr;
    max-width: 500px;
  }

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

  .reviews__grid {
    grid-template-columns: 1fr;
    max-width: 500px;
  }

  .about__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about__placeholder {
    max-width: 300px;
    aspect-ratio: 1;
  }

  .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .cta__inner {
    padding: 60px 32px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  .nav {
    top: 12px;
    width: calc(100% - 24px);
  }

  .nav__inner {
    padding: 10px 20px;
  }

  .nav__links {
    display: none;
  }

  .nav__cta {
    display: none;
  }

  .nav__burger {
    display: flex;
  }

  .mobile-menu {
    display: flex;
  }

  .hero__content {
    padding: 100px 20px 0;
  }

  .hero__brand-text span {
    font-size: clamp(4rem, 22vw, 8rem);
    -webkit-text-stroke: 1px rgba(255,255,255,0.1);
  }

  .hero__brand-text span:last-child {
    font-size: clamp(3rem, 16vw, 6rem);
  }

  .hero__title {
    font-size: 2.2rem;
  }

  .hero__row {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .hero__actions {
    flex-direction: column;
    width: 100%;
  }

  .hero__actions .btn--accent,
  .hero__actions .btn--outline-hero {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .hero__bottom {
    padding-bottom: 90px;
  }

  .hero__side {
    display: none;
  }


  .services,
  .reviews,
  .about {
    padding: 80px 0;
  }
  /* Mobile safety: keep decorative glow fully inside the viewport
     so it can never trigger horizontal overflow on browsers that
     don't support overflow-x: clip (older iOS Safari). */
  .about::before {
    right: 0;
    width: 300px;
    height: 300px;
    top: -120px;
  }

  .process {
    padding: 0 0 80px;
  }

  .projects {
    padding: 80px 0;
  }

  .cta {
    padding: 80px 0;
  }

  .cta__inner {
    padding: 40px 20px;
    border-radius: var(--radius-lg);
  }

  .footer__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .section__title {
    font-size: 2rem;
  }

  .footer {
    padding-bottom: 80px;
  }
}

/* Mobile Sticky Contact Bar */
.mobile-cta-bar {
  display: none;
}

@media (max-width: 768px) {
  .mobile-cta-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    padding: 8px 12px;
    padding-bottom: calc(8px + env(safe-area-inset-bottom));
    gap: 8px;
    background: rgba(30, 30, 30, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255,255,255,0.08);
  }

  .mobile-cta-bar__btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 12px;
    border-radius: 10px;
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s ease;
  }

  .about__photo {
    max-width: 200px;
    margin: 0 auto;
    aspect-ratio: 3/4;
  }

  .mobile-cta-bar__btn:active {
    transform: scale(0.96);
  }

  .mobile-cta-bar__btn--call {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
  }

  .mobile-cta-bar__btn--mail {
    background: var(--accent);
    color: #fff;
    border: none;
  }
}

/* ========================================
   LEGAL PAGES (Impressum / Datenschutz)
   ======================================== */
.legal-page {
  padding: 160px 0 100px;
  background: var(--bg);
  min-height: 100vh;
}

.legal-page__header {
  text-align: center;
  margin-bottom: 64px;
}

.legal-page__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-top: 16px;
  margin-bottom: 12px;
}

.legal-page__sub {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 480px;
  margin: 0 auto;
}

.legal-page__content {
  max-width: 720px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 64px 64px;
  box-shadow: var(--shadow-sm);
}

.legal-section {
  margin-bottom: 48px;
  padding-bottom: 0;
  border-bottom: none;
}

.legal-section:last-of-type {
  margin-bottom: 0;
}

.legal-section--meta {
  text-align: center;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border-light);
}

.legal-section h2 {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  margin-bottom: 12px;
  color: var(--text);
}

.legal-section p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.legal-section p:last-child {
  margin-bottom: 0;
}

.legal-section em {
  background: rgba(139,46,46,0.08);
  color: var(--accent);
  font-style: normal;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.92rem;
  font-weight: 500;
}

.legal-section strong {
  font-weight: 600;
}

.legal-section a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: rgba(139,46,46,0.3);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s ease;
}

.legal-section a:hover {
  text-decoration-color: var(--accent);
}

.legal-section ul {
  list-style: none;
  padding-left: 0;
  margin: 12px 0;
}

.legal-section ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.legal-section ul li::before {
  content: '·';
  position: absolute;
  left: 4px;
  top: 0;
  color: var(--accent);
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1;
}

.legal-section code {
  background: var(--bg);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: 'SF Mono', Menlo, monospace;
  font-size: 0.88rem;
}

.legal-meta {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-style: italic;
}

.legal-page__back {
  text-align: center;
  margin-top: 56px;
}

@media (max-width: 768px) {
  .legal-page {
    padding: 120px 0 80px;
  }
  .legal-page__content {
    padding: 28px 22px;
    border-radius: var(--radius-lg);
  }
  .legal-section h2 {
    font-size: 1.15rem;
  }
  .legal-section p,
  .legal-section ul li {
    font-size: 0.92rem;
  }
}

/* CTA note line below buttons */
.cta__note {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  margin-top: 20px;
  letter-spacing: 0.02em;
  position: relative;
  z-index: 1;
}

/* Klickbare Demo-Karten */
a.project-card--live {
  text-decoration: none;
  color: inherit;
  display: block;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
a.project-card--live:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}
a.project-card--live .project-card__tag {
  background: var(--accent);
  color: #fff;
}

/* Desktop-Vorschau für Demo-Karten (Frascati-Stil) */
.project-card__img--desktop {
  aspect-ratio: 16 / 10;
  background: #1a1a1a;
}
.project-card__preview {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.5s ease;
}
a.project-card--live:hover .project-card__preview {
  transform: scale(1.02);
}

/* ========================================
   COMPARE SLIDER (Vorher/Nachher)
   ======================================== */
.compare {
  padding: 120px 0 100px;
  background: var(--bg);
}
.compare__head {
  text-align: center;
  margin-bottom: 48px;
}
.compare__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 16px;
  color: var(--text);
}
.compare__title em {
  font-style: italic;
  color: var(--accent);
  font-family: var(--font-display);
  font-weight: 500;
}
.compare__sub {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.65;
  max-width: 580px;
  margin: 0 auto;
}
.compare__slider {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  aspect-ratio: 19/10;
  border-radius: 20px;
  overflow: hidden;
  user-select: none;
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}
.compare__slider img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.compare__before { z-index: 1; }
.compare__after-wrap {
  position: absolute;
  inset: 0;
  z-index: 2;
  clip-path: inset(0 0 0 50%);
  border-left: 3px solid var(--accent);
}
.compare__handle {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  width: 48px;
  height: 48px;
  margin: -24px 0 0 -24px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  pointer-events: none;
}
.compare__handle::before,
.compare__handle::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
}
.compare__handle::before {
  left: 12px;
  border-right: 8px solid #fff;
  transform: translateY(-50%);
}
.compare__handle::after {
  right: 12px;
  border-left: 8px solid #fff;
  transform: translateY(-50%);
}
.compare__label {
  position: absolute;
  top: 18px;
  z-index: 4;
  background: rgba(0,0,0,0.7);
  color: #fff;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
}
.compare__label--before { left: 18px; }
.compare__label--after { right: 18px; }
.compare__range {
  position: absolute;
  inset: 0;
  z-index: 5;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: ew-resize;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
}
.compare__range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 48px;
  height: 100%;
  cursor: ew-resize;
}
.compare__range::-moz-range-thumb {
  width: 48px;
  height: 100%;
  cursor: ew-resize;
  background: transparent;
  border: none;
}
@media (max-width: 768px) {
  .compare { padding: 70px 0 60px; }
  .compare__slider { aspect-ratio: 4/3; }
  .compare__handle { width: 40px; height: 40px; margin: -20px 0 0 -20px; }
  .compare__label { font-size: 0.7rem; padding: 5px 10px; top: 12px; }
}

/* Project card meta caption (replaces overlay tag) */
.project-card__meta {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

/* ========================================
   FOCUS VISIBLE — keyboard accessibility
   ======================================== */
.btn:focus-visible,
.nav__cta:focus-visible,
.nav__links a:focus-visible,
.project-card--live:focus-visible,
.footer a:focus-visible,
.process__endpoint-cta:focus-visible,
.mobile-cta-bar__btn:focus-visible,
.compare__range:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Phone icon spacing inside button */
.btn svg + * {
  margin-left: 4px;
}

/* ========================================
   ABOUT — Pull-quote variant
   ======================================== */
.about__text--quote {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  font-style: italic;
  color: #f5e8e0;
  line-height: 1.4;
  padding-left: 18px;
  border-left: 2px solid #f5b8a8;
  max-width: 30em;
  margin-block: 12px 8px;
}

/* ========================================
   PROCESS ENDPOINT — Semantic line breaks
   ======================================== */
.process__endpoint-text span {
  display: block;
}

/* ========================================
   INDUSTRY LIST — pause on hover
   ======================================== */
.industry-list:hover .industry-list__track {
  animation-play-state: paused;
}

/* ========================================
   NAV CTA — Mobile touch target boost
   ======================================== */
@media (max-width: 768px) {
  .nav__cta {
    padding: 12px 22px;
    min-height: 44px;
  }
}

/* ========================================
   REDUCED MOTION — accessibility
   ======================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .industry-list__track,
  .hero__carousel-track {
    animation: none !important;
  }
  .hero__bg {
    transform: none !important;
  }
  .cursor-dot,
  .cursor-ring {
    display: none !important;
  }
  .reveal,
  .reveal--visible {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ========================================
   EMIL-DESIGN-ENG POLISH
   ======================================== */

/* Press feedback on all interactive buttons */
.btn:active,
.nav__cta:active,
.process__endpoint-cta:active,
.btn--accent:active,
.btn--outline-hero:active {
  transform: scale(0.97);
  transition: transform 100ms var(--ease-out-quart);
}

/* Disable hover-lift transforms on touch devices */
@media not (hover: hover) {
  .btn--accent:hover,
  .btn--dark:hover,
  .nav__cta:hover,
  .process__endpoint-cta:hover,
  .project-card--live:hover,
  .project-card--live:hover .project-card__preview {
    transform: none !important;
  }
}

/* Project-card hover-lift on card level (not just image) */
@media (hover: hover) and (pointer: fine) {
  a.project-card--live {
    transition: transform 280ms var(--ease-out-quart), box-shadow 280ms var(--ease-out-quart);
  }
  a.project-card--live:hover,
  a.project-card--live:focus-visible {
    transform: translateY(-3px);
    box-shadow: 0 16px 50px rgba(0,0,0,0.18);
  }
}

/* ========================================
   WOW-PASS: Line-Reveal, Browser-Frame, Clip-Reveal
   ======================================== */

/* Headline line-reveal (JS-gated: only hides when .title-split set) */
.title-split .tl-line {
  display: block;
  overflow: hidden;
}
.title-split .tl-inner {
  display: inline-block;
  transform: translateY(115%);
  transition: transform 0.9s var(--ease-out-expo);
}
.title-split .tl-line:nth-child(2) .tl-inner { transition-delay: 0.1s; }
.title-split .tl-line:nth-child(3) .tl-inner { transition-delay: 0.2s; }
.title-split.title-in .tl-inner { transform: translateY(0); }

/* Browser-frame mockup around demo screenshots */
.browser-frame {
  border-radius: 12px 12px 0 0;
  overflow: hidden;
  background: #1e1e1e;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.browser-frame__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 12px;
  background: #2a2a2a;
  flex-shrink: 0;
}
.browser-frame__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}
.browser-frame__dot--r { background: #ff5f57; }
.browser-frame__dot--y { background: #febc2e; }
.browser-frame__dot--g { background: #28c840; }
.browser-frame__url {
  margin-left: 10px;
  font-size: 0.66rem;
  color: rgba(255,255,255,0.55);
  background: rgba(255,255,255,0.08);
  padding: 3px 12px;
  border-radius: 100px;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.browser-frame .project-card__preview {
  flex: 1;
  min-height: 0;
}

/* Image clip-reveal (JS-gated) */
.clip-reveal {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1.1s var(--ease-out-expo);
}
.clip-reveal.clip-in {
  clip-path: inset(0 0 0 0);
}

/* Lenis recommended base styles */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* Mobile hero: carousel must never stretch viewport */
@media (max-width: 480px) {
  .hero__title {
    font-size: clamp(2rem, 9.5vw, 2.6rem);
  }
  .hero__carousel {
    max-width: 100%;
  }
}

/* ========================================
   VHERO — Scroll-Scrub Drone Video
   ======================================== */
.vhero {
  position: relative;
  height: 320vh;
  background: #0e0e0e;
}
.vhero__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
}
.vhero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.vhero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,10,0.35) 0%, rgba(10,10,10,0.1) 35%, rgba(10,10,10,0.55) 100%),
    radial-gradient(ellipse at 25% 60%, rgba(10,10,10,0.45) 0%, transparent 60%);
}
.vhero__badge {
  position: absolute;
  top: 110px;
  left: 48px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.85);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 8px 18px;
  border-radius: 100px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 3;
}
.vhero__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(139,46,46,0.35);
  animation: dotPulse 1.8s ease-in-out infinite;
}
.vhero__phase {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 48px;
  opacity: 0;
  transform: translateY(24px) scale(0.965);
  transition: opacity 0.6s var(--ease-out-expo), transform 0.6s var(--ease-out-expo);
  pointer-events: none;
}
.vhero__phase.is-on {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.vhero__actions {
  justify-content: center;
}
.vhero__title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: #fff;
  text-wrap: balance;
}
.vhero__title em {
  font-style: italic;
  color: #f5b8a8;
}
.vhero__kicker {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(255,255,255,0.65);
  margin-bottom: 18px;
}
.vhero__actions {
  display: flex;
  gap: 14px;
  margin-top: 36px;
  flex-wrap: wrap;
}

/* Static fallback: mobile + reduced motion */
.vhero--static {
  height: auto;
}
.vhero--static .vhero__sticky {
  position: relative;
  height: 100svh;
  min-height: 640px;
}
.vhero--static .vhero__phase {
  position: static;
  opacity: 1;
  transform: none;
  pointer-events: auto;
  padding: 0;
  display: block;
}
.vhero--static .vhero__sticky {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 24px 110px;
}
.vhero--static .vhero__phase--1 { margin-bottom: 18px; }
.vhero--static .vhero__badge { top: 90px; left: 24px; }

@media (max-width: 768px) {
  .vhero__phase { padding: 0 24px; }
  .vhero__title { font-size: clamp(2.1rem, 9vw, 2.8rem); }
}
@media (prefers-reduced-motion: reduce) {
  .vhero__phase { transition: opacity 0.3s ease; transform: none; }
}

/* Mobile: shorter flight distance for thumb-friendly scrubbing */
@media (max-width: 768px) {
  .vhero { height: 240vh; }
  .vhero__actions { justify-content: center; }
  .vhero__actions .btn { padding: 14px 26px; font-size: 0.88rem; }
}
