/* ==========================================
   OEDER STUDIOS v4 — Theater & Cover-Flow
   ========================================== */

:root {
  --ink-deep: #0A0A0B;
  --ink-soft: #131316;
  --ink-mid: #1C1C20;
  --ink-line: #2A2A2D;
  --paper: #F5F2EC;
  --paper-soft: #EAE5DB;
  --paper-muted: #B8B5AE;
  --text-mute: #8B8B91;
  --text-dim: #5E5E64;
  --accent: #7B1818;
  --accent-soft: #9B2A28;
  --accent-glow: rgba(123, 24, 24, 0.22);
  --accent-deep: #5A1010;

  /* Heritage Gold — subtle accents (part of Oeder Group) */
  --heritage-gold: #9D7E3B;
  --heritage-gold-soft: rgba(157, 126, 59, 0.3);
  --gold: #9D7E3B;
  --ease-premium: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-dramatic: cubic-bezier(0.87, 0, 0.13, 1);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter Tight', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --max-w: 1440px;
  --pad-x: clamp(24px, 5vw, 80px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--ink-deep);
  color: var(--paper);
  font-family: var(--font-body);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  cursor: none;
  overflow-x: hidden;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.04;
  mix-blend-mode: overlay;
}
a { text-decoration: none; color: inherit; }
img, svg { display: block; max-width: 100%; }
button { background: none; border: none; font: inherit; cursor: none; color: inherit; }

/* ==========================================
   PORTAL RECEIVE — removed (zu intrusiv)
   ========================================== */

/* ==========================================
   LOADER
   ========================================== */
.loader {
  position: fixed; inset: 0; background: var(--ink-deep); z-index: 10000;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.7s var(--ease-premium), visibility 0.7s var(--ease-premium);
}
.loader.is-hidden { opacity: 0; visibility: hidden; }
.loader-content { text-align: center; }
.loader-logo {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(40px, 6vw, 72px);
  letter-spacing: 0.03em; color: var(--paper);
  margin-bottom: 24px; display: flex; justify-content: center;
}
.loader-letter {
  opacity: 0; transform: translateY(20px);
  animation: letterIn 0.6s var(--ease-premium) forwards;
}
.loader-letter:nth-child(1) { animation-delay: 0.1s; }
.loader-letter:nth-child(2) { animation-delay: 0.18s; }
.loader-letter:nth-child(3) { animation-delay: 0.26s; }
.loader-letter:nth-child(4) { animation-delay: 0.34s; }
.loader-letter:nth-child(5) { animation-delay: 0.42s; }
.loader-letter:nth-child(6) { animation-delay: 0.5s; }
.loader-letter:nth-child(7) { animation-delay: 0.58s; }
@keyframes letterIn { to { opacity: 1; transform: translateY(0); } }
.loader-bar {
  width: 200px; height: 1px;
  background: rgba(245, 242, 236, 0.08);
  margin: 0 auto; position: relative; overflow: hidden;
}
.loader-bar-fill {
  position: absolute; inset: 0; width: 0%;
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent-glow);
  animation: barFill 1s var(--ease-premium) forwards;
  animation-delay: 0.4s;
}
@keyframes barFill { to { width: 100%; } }

/* ==========================================
   CURSOR
   ========================================== */
.cursor {
  position: fixed; top: 0; left: 0; pointer-events: none;
  z-index: 9998; mix-blend-mode: difference; will-change: transform;
}
.cursor-dot {
  position: absolute; top: -2px; left: -2px;
  width: 4px; height: 4px; background: var(--paper); border-radius: 50%;
  transition: transform 0.15s var(--ease-smooth);
}
.cursor-ring {
  position: absolute; top: -16px; left: -16px;
  width: 32px; height: 32px; border: 1px solid var(--paper); border-radius: 50%;
  transition: transform 0.4s var(--ease-premium), opacity 0.3s ease;
  opacity: 0.4;
}
.cursor.is-hover .cursor-ring { transform: scale(2.6); opacity: 0.8; }
.cursor.is-hover .cursor-dot { transform: scale(0); }

/* ==========================================
   NAV
   ========================================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 20px var(--pad-x);
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 48px;
  transition: background 0.4s, backdrop-filter 0.4s, padding 0.4s;
}
.nav.is-scrolled {
  background: rgba(10, 10, 11, 0.88);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  padding: 14px var(--pad-x);
  border-bottom: 1px solid var(--ink-line);
}
.nav-brand { color: var(--paper); display: block; }
.nav-brand svg { height: 26px; width: auto; }

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 22px;
  letter-spacing: 0.02em;
  line-height: 1;
  color: currentColor;
}
.brand-word { display: inline-block; }
.brand-divider {
  display: inline-block;
  width: 1px;
  height: 0.78em;
  background: #9D7E3B;
}
.footer-logo {
  margin-bottom: 20px;
  font-size: 24px;
}
.nav-links { display: flex; justify-content: center; gap: 32px; }
.nav-link {
  position: relative; font-family: var(--font-body);
  font-size: 12px; font-weight: 500; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--text-mute);
  transition: color 0.3s ease; padding: 8px 4px; display: inline-block;
}
.nav-link span::before {
  content: attr(data-num);
  font-family: var(--font-mono); font-size: 9px;
  color: var(--heritage-gold); margin-right: 8px; letter-spacing: 0.15em;
  opacity: 0.8;
}
.nav-link::after {
  content: ''; position: absolute; bottom: 4px; left: 0;
  width: 0; height: 1px; background: var(--accent);
  transition: width 0.4s var(--ease-premium);
}
.nav-link:hover { color: var(--paper); }
.nav-link:hover::after { width: 100%; }
.nav-cta {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 12px 24px; border: 1px solid var(--ink-line);
  font-family: var(--font-body); font-size: 11px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--paper); background: transparent;
  transition: background 0.4s, border-color 0.4s, color 0.4s;
}
.nav-cta:hover { background: var(--accent); border-color: var(--accent); }
.nav-cta svg { transition: transform 0.3s; }
.nav-cta:hover svg { transform: translateX(4px); }
.nav-mobile-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; cursor: pointer; }
.nav-mobile-toggle span {
  display: block; width: 22px; height: 1px;
  background: var(--paper); transition: transform 0.3s;
}
.nav-mobile-toggle.is-open span:nth-child(1) { transform: translateY(3px) rotate(45deg); }
.nav-mobile-toggle.is-open span:nth-child(2) { transform: translateY(-3px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; background: var(--ink-deep);
  z-index: 999;
  display: flex; flex-direction: column; justify-content: center;
  padding: 40px var(--pad-x);
  transform: translateY(-100%); transition: transform 0.6s var(--ease-premium);
}
.mobile-menu.is-open { transform: translateY(0); }
.mobile-menu-links {
  display: flex; flex-direction: column; gap: 28px;
  margin-bottom: auto; padding-top: 80px;
}
.mobile-menu-links a {
  font-family: var(--font-display); font-size: 44px;
  font-weight: 400; color: var(--paper); letter-spacing: 0.02em;
}
.mobile-menu-links .mobile-cta {
  margin-top: 16px; font-size: 16px; font-family: var(--font-body);
  font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent);
}
.mobile-back {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.18em; color: var(--text-mute);
}

/* ==========================================
   HERO
   ========================================== */
.hero {
  position: relative; min-height: 100vh;
  padding: 140px var(--pad-x) 60px;
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden;
}
.hero-layer { position: absolute; inset: 0; pointer-events: none; will-change: transform; }
.hero-layer-1 {
  background:
    radial-gradient(circle at 20% 30%, rgba(123, 24, 24, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(123, 24, 24, 0.08) 0%, transparent 50%);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(123, 24, 24, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(123, 24, 24, 0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 30%, transparent 80%);
}
.hero-orb {
  position: absolute; border-radius: 50%; pointer-events: none;
  filter: blur(60px); will-change: transform;
}
.hero-orb-1 {
  top: 20%; left: -10%; width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(123, 24, 24, 0.3) 0%, transparent 70%);
  animation: orbFloat 18s ease-in-out infinite;
}
.hero-orb-2 {
  bottom: -20%; right: -10%; width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(122, 31, 31, 0.35) 0%, transparent 70%);
  animation: orbFloat 22s ease-in-out infinite reverse;
}
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30%, -10%) scale(1.1); }
  66% { transform: translate(-10%, 20%) scale(0.95); }
}

.hero-meta {
  position: absolute; top: 100px; left: var(--pad-x); right: var(--pad-x);
  display: flex; justify-content: space-between; z-index: 2;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.18em;
}
.meta-label { color: var(--text-dim); }
.meta-status { display: flex; align-items: center; gap: 8px; color: var(--paper); }
.status-dot {
  width: 6px; height: 6px; background: var(--accent); border-radius: 50%;
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(123, 24, 24, 0.7); }
  50% { opacity: 0.6; box-shadow: 0 0 0 10px rgba(123, 24, 24, 0); }
}

/* Desktop 2-column grid */
.hero-grid-layout {
  position: relative; z-index: 2;
  max-width: var(--max-w); margin: 0 auto; width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 480px);
  gap: 64px;
  align-items: center;
}

.hero-content { max-width: 700px; }
.hero-eyebrow {
  display: flex; align-items: center; gap: 16px; margin-bottom: 32px;
  opacity: 0; animation: fadeUp 0.8s var(--ease-premium) 0.2s forwards;
}
.eyebrow-line { width: 40px; height: 1px; background: var(--heritage-gold); }
.eyebrow-text {
  font-family: var(--font-body); font-size: 11px; font-weight: 500;
  letter-spacing: 0.32em; text-transform: uppercase; color: var(--heritage-gold);
}
.hero-headline {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(48px, 6.5vw, 96px);
  line-height: 0.98; letter-spacing: -0.01em;
  color: var(--paper); margin-bottom: 32px;
}
.hero-headline em { font-style: italic; color: var(--accent); }
.reveal-line { display: block; overflow: hidden; }
.reveal-inner {
  display: block; transform: translateY(110%);
  animation: reveal 1s var(--ease-premium) forwards;
}
.reveal-line:nth-child(1) .reveal-inner { animation-delay: 0.4s; }
.reveal-line:nth-child(2) .reveal-inner { animation-delay: 0.52s; }
.reveal-line:nth-child(3) .reveal-inner { animation-delay: 0.64s; }
@keyframes reveal { to { transform: translateY(0); } }
.hero-sub {
  font-family: var(--font-body); font-size: clamp(15px, 1.05vw, 17px);
  font-weight: 300; line-height: 1.6; color: var(--paper-muted);
  max-width: 540px; margin-bottom: 40px;
  opacity: 0; animation: fadeUp 0.8s var(--ease-premium) 1s forwards;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-cta-group {
  display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 56px;
  opacity: 0; animation: fadeUp 0.8s var(--ease-premium) 1.2s forwards;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 18px 32px; font-family: var(--font-body);
  font-size: 11px; font-weight: 500; letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: background 0.4s, border-color 0.4s, color 0.4s;
  border: 1px solid transparent; will-change: transform;
}
.btn-text, .btn-icon { display: inline-flex; align-items: center; transition: transform 0.3s; }
.btn:hover .btn-icon svg { transform: translateX(4px); }
.btn-primary { background: var(--accent); color: var(--paper); border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-deep); border-color: var(--accent-deep); }
.btn-ghost { background: transparent; color: var(--paper); border-color: var(--ink-line); }
.btn-ghost:hover { border-color: var(--paper); }
.btn-large { padding: 22px 44px; font-size: 12px; }

.hero-stats {
  display: flex; gap: 56px;
  padding-top: 32px; border-top: 1px solid var(--ink-line);
  opacity: 0; animation: fadeUp 0.8s var(--ease-premium) 1.4s forwards;
}
.hero-stat { display: flex; flex-direction: column; gap: 6px; }
.stat-value {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(32px, 3.5vw, 48px);
  color: var(--heritage-gold); line-height: 1;
}
.stat-label {
  font-family: var(--font-body); font-size: 10px; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--text-mute);
}

.hero-scroll {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 9px;
  letter-spacing: 0.32em; color: var(--text-dim);
  opacity: 0; animation: fadeUp 0.8s var(--ease-premium) 1.6s forwards;
}
.scroll-line {
  display: block; width: 1px; height: 32px;
  background: linear-gradient(to bottom, var(--accent) 0%, transparent 100%);
  animation: scrollLineFlow 2s ease-in-out infinite;
}
@keyframes scrollLineFlow {
  0%, 100% { transform: scaleY(0.4); transform-origin: top; opacity: 0.6; }
  50% { transform: scaleY(1); transform-origin: top; opacity: 1; }
}

/* ==========================================
   THE 4-AKT-SHOW
   ========================================== */

.theater {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1.18;
  max-width: 480px;
  margin: 0 auto;
  opacity: 0;
  animation: fadeUp 1s var(--ease-premium) 1.8s forwards;
}

.theater-frame {
  position: absolute;
  inset: 0;
  perspective: 1500px;
  perspective-origin: center center;
}

.theater-stage {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s var(--ease-premium), visibility 0s linear 0.8s;
  pointer-events: none;
  transform-style: preserve-3d;
}
.theater-stage.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.8s var(--ease-premium), visibility 0s linear 0s;
}

/* ============================================
   PHASE 1: CODE EDITOR — zooms in while typing
   ============================================ */

.theater-code .code-window {
  width: 100%;
  max-width: 460px;
  background: #0d0d10;
  border: 1px solid var(--ink-line);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.5), 0 0 60px rgba(123, 24, 24, 0.1);
  position: relative;
  /* Starts small and zooms in */
  transform: scale(0.65);
  transition: transform 4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.6s ease;
}

.theater-code.is-active .code-window {
  transform: scale(1);
}

.theater-code.is-success .code-window {
  box-shadow: 0 30px 60px rgba(0,0,0,0.5), 0 0 80px rgba(123, 24, 24, 0.5);
}

.code-header {
  background: #161618;
  padding: 12px 16px;
  display: flex; align-items: center; gap: 12px;
  border-bottom: 1px solid var(--ink-line);
  position: relative;
}
.code-dots { display: flex; gap: 6px; }
.code-dots span {
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--text-dim);
}
.code-dots span:nth-child(1) { background: var(--accent); }
.code-title {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--text-mute); margin-left: 8px; letter-spacing: 0.05em;
}
.code-status {
  margin-left: auto;
  font-family: var(--font-mono); font-size: 9px;
  color: var(--accent); letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0;
  animation: codeStatusBlink 1.2s ease-in-out infinite;
}
.theater-code.is-active .code-status { opacity: 1; }
.theater-code.is-success .code-status::after {
  content: ' ✓';
  color: #8FBC8F;
}
@keyframes codeStatusBlink {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

.code-body {
  padding: 20px;
  min-height: 320px;
  background: linear-gradient(to bottom, #0d0d10, #0a0a0b);
  position: relative;
}
.code-content {
  font-family: var(--font-mono); font-size: 13px;
  color: var(--paper); line-height: 1.7;
  white-space: pre; margin: 0;
}
.code-content .tag { color: var(--accent-soft); }
.code-content .attr { color: var(--gold); }
.code-content .str { color: #8FBC8F; }
.code-content .com { color: var(--text-dim); }
.code-content .cursor-blink {
  display: inline-block; width: 8px; height: 14px;
  background: var(--accent); vertical-align: middle;
  margin-left: 2px;
  animation: blink 0.9s steps(1) infinite;
  box-shadow: 0 0 6px rgba(123, 24, 24, 0.6);
}
@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

/* Build success pulse */
.code-success-pulse {
  position: absolute; inset: 0;
  border-radius: 10px;
  pointer-events: none;
  opacity: 0;
}
.theater-code.is-success .code-success-pulse {
  animation: successPulse 0.8s var(--ease-premium);
}
@keyframes successPulse {
  0% { opacity: 0; box-shadow: inset 0 0 0 0 transparent; }
  40% { opacity: 1; box-shadow: inset 0 0 0 3px var(--accent); }
  100% { opacity: 0; box-shadow: inset 0 0 0 0 transparent; }
}

/* ============================================
   PHASE 2: WEBSITE — builds itself + cursor click
   ============================================ */

.theater-website .browser-window {
  width: 100%; max-width: 460px;
  background: var(--paper);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.5), 0 0 80px rgba(123, 24, 24, 0.15);
  border: 1px solid var(--ink-line);
  position: relative;
  /* Enter animation */
  transform: scale(0.8) rotateX(15deg);
  transition: transform 0.9s var(--ease-premium);
}
.theater-website.is-active .browser-window {
  transform: scale(1) rotateX(0);
}

.browser-header {
  background: #2A2A2D;
  padding: 10px 14px;
  display: flex; align-items: center; gap: 12px;
}
.browser-dots { display: flex; gap: 5px; }
.browser-dots span {
  width: 9px; height: 9px; border-radius: 50%; background: #5E5E64;
}
.browser-dots span:nth-child(1) { background: var(--accent); }
.browser-url {
  flex: 1; padding: 4px 12px;
  background: #1C1C20; border-radius: 4px;
  font-family: var(--font-mono); font-size: 10px;
  color: var(--paper-muted); text-align: center;
}
.browser-body {
  background: var(--paper);
  min-height: 380px;
  color: var(--ink-deep);
  overflow: hidden;
  position: relative;
}

/* Scroll container — gets translated up to simulate scroll */
.site-scroll-container {
  padding: 20px;
  transform: translateY(0);
  transition: transform 1.2s cubic-bezier(0.65, 0, 0.35, 1);
}

.theater-website.is-scrolling .site-scroll-container {
  transform: translateY(-90px);
}

.site-nav {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 24px; padding-bottom: 16px;
  border-bottom: 1px solid rgba(10,10,11,0.08);
}
.site-logo {
  width: 60px; height: 16px;
  background: var(--ink-deep);
  opacity: 0;
}
.site-links { display: flex; gap: 12px; }
.site-links span {
  width: 32px; height: 6px;
  background: var(--text-mute);
  border-radius: 1px;
  opacity: 0;
}
.theater-website.is-building .site-logo {
  animation: siteReveal 0.5s var(--ease-premium) 0.2s forwards;
}
.theater-website.is-building .site-links span:nth-child(1) { animation: siteReveal 0.4s var(--ease-premium) 0.35s forwards; }
.theater-website.is-building .site-links span:nth-child(2) { animation: siteReveal 0.4s var(--ease-premium) 0.42s forwards; }
.theater-website.is-building .site-links span:nth-child(3) { animation: siteReveal 0.4s var(--ease-premium) 0.49s forwards; }
.theater-website.is-building .site-links span:nth-child(4) { animation: siteReveal 0.4s var(--ease-premium) 0.56s forwards; }

.site-hero {
  padding: 20px 0; text-align: center;
  margin-bottom: 24px;
}
.site-eyebrow {
  width: 80px; height: 6px;
  background: var(--accent);
  margin: 0 auto 12px;
  opacity: 0;
}
.theater-website.is-building .site-eyebrow {
  animation: siteReveal 0.5s var(--ease-premium) 0.7s forwards;
}

.site-headline-text {
  font-family: var(--font-display); font-weight: 400;
  font-size: 26px; color: var(--ink-deep);
  margin-bottom: 12px;
  line-height: 1.1;
  min-height: 32px;
  opacity: 0;
}
.theater-website.is-building .site-headline-text {
  opacity: 1;
  animation: siteReveal 0.3s ease 0.85s forwards;
}

.site-sub {
  width: 70%; max-width: 200px; height: 8px;
  background: var(--text-dim); border-radius: 2px;
  margin: 0 auto 20px;
  opacity: 0;
}
.theater-website.is-building .site-sub {
  animation: siteReveal 0.5s var(--ease-premium) 1.4s forwards;
}

.site-cta-btn {
  display: inline-block;
  padding: 12px 28px;
  background: var(--accent);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: none;
  border-radius: 2px;
  opacity: 0;
  transform: scale(0.9);
  transition: transform 0.3s var(--ease-premium), box-shadow 0.3s ease;
}
.theater-website.is-building .site-cta-btn {
  animation: ctaReveal 0.5s var(--ease-premium) 1.6s forwards;
}
.theater-website.is-cta-hover .site-cta-btn {
  transform: scale(1.06);
  box-shadow: 0 8px 20px rgba(123, 24, 24, 0.5);
}
.theater-website.is-cta-clicked .site-cta-btn {
  animation: ctaClicked 0.5s var(--ease-premium);
}
@keyframes ctaReveal {
  to { opacity: 1; transform: scale(1); }
}
@keyframes ctaClicked {
  0% { transform: scale(1.06); }
  30% { transform: scale(0.94); background: var(--accent-deep); }
  100% { transform: scale(1.06); background: var(--accent); }
}

.site-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
  margin-bottom: 24px;
}
.site-card {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #ddd 0%, #bbb 100%);
  border-radius: 3px;
  opacity: 0; transform: translateY(20px);
}
.theater-website.is-building .site-card:nth-child(1) { animation: siteReveal 0.5s var(--ease-premium) 2.0s forwards; }
.theater-website.is-building .site-card:nth-child(2) { animation: siteReveal 0.5s var(--ease-premium) 2.1s forwards; }
.theater-website.is-building .site-card:nth-child(3) { animation: siteReveal 0.5s var(--ease-premium) 2.2s forwards; }

.site-section { padding-top: 12px; border-top: 1px solid rgba(10,10,11,0.06); }
.site-section-title {
  width: 100px; height: 10px;
  background: var(--ink-deep); margin-bottom: 16px;
  opacity: 0;
}
.theater-website.is-scrolling .site-section-title {
  animation: siteReveal 0.5s var(--ease-premium) 0.2s forwards;
}
.site-section-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
}
.site-feature {
  aspect-ratio: 3/2;
  background: linear-gradient(135deg, #c8c5be 0%, #aaa 100%);
  opacity: 0;
}
.theater-website.is-scrolling .site-feature:nth-child(1) { animation: siteReveal 0.5s var(--ease-premium) 0.4s forwards; }
.theater-website.is-scrolling .site-feature:nth-child(2) { animation: siteReveal 0.5s var(--ease-premium) 0.5s forwards; }

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

/* Simulated Cursor on Website */
.sim-cursor {
  position: absolute;
  width: 22px; height: 22px;
  z-index: 10;
  opacity: 0;
  pointer-events: none;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
  transition: top 1.4s cubic-bezier(0.65, 0, 0.35, 1), left 1.4s cubic-bezier(0.65, 0, 0.35, 1), opacity 0.4s ease, transform 0.2s ease;
}
.sim-cursor svg { display: block; }

.theater-website.is-cursor-visible .sim-cursor-website { opacity: 1; }
.theater-website.is-cursor-moving .sim-cursor-website {
  /* Position will be set inline via JS for precision */
}
.theater-website.is-cursor-clicked .sim-cursor-website {
  transform: scale(0.85);
}

/* ============================================
   PHASE 3+4: iPHONE
   ============================================ */

.theater-iphone {
  perspective: 1200px;
}

.iphone-frame {
  position: relative;
  width: 240px;
  height: 480px;
  background: #1a1a1c;
  border-radius: 36px;
  padding: 8px;
  box-shadow:
    0 40px 80px rgba(0,0,0,0.6),
    inset 0 0 0 2px #2A2A2D;
  /* Flies in from depth */
  transform: translateZ(-800px) rotateY(180deg) rotateX(30deg) scale(0.4);
  transform-style: preserve-3d;
  transition: transform 1.4s cubic-bezier(0.34, 1.2, 0.64, 1), box-shadow 0.6s ease;
}
.theater-iphone.is-active .iphone-frame {
  transform: translateZ(0) rotateY(0) rotateX(0) scale(1);
}
.theater-iphone.is-landed .iphone-frame {
  animation: iphoneLand 0.6s var(--ease-premium);
  box-shadow:
    0 40px 80px rgba(0,0,0,0.6),
    0 0 80px rgba(123, 24, 24, 0.3),
    inset 0 0 0 2px #2A2A2D;
}
@keyframes iphoneLand {
  0%, 100% { transform: translateZ(0) rotateY(0) rotateX(0) scale(1); }
  40% { transform: translateZ(0) rotateY(0) rotateX(0) scale(1.04); }
  70% { transform: translateZ(0) rotateY(0) rotateX(0) scale(0.98); }
}

.iphone-notch {
  position: absolute;
  top: 8px; left: 50%; transform: translateX(-50%);
  width: 100px; height: 22px;
  background: #0a0a0b;
  border-radius: 0 0 14px 14px;
  z-index: 5;
}

.iphone-glow {
  position: absolute;
  inset: -20px;
  border-radius: 50px;
  background: radial-gradient(circle at center, rgba(123, 24, 24, 0.2) 0%, transparent 70%);
  opacity: 0;
  pointer-events: none;
  z-index: -1;
}
.theater-iphone.is-landed .iphone-glow {
  animation: iphoneGlowPulse 1s ease-out;
}
@keyframes iphoneGlowPulse {
  0% { opacity: 0; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.1); }
  100% { opacity: 0.6; transform: scale(1); }
}

.iphone-screen {
  position: relative;
  width: 100%; height: 100%;
  background: var(--ink-deep);
  border-radius: 28px;
  overflow: hidden;
}

/* Status bar shared */
.iphone-status-bar, .app-status {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 20px 8px;
  font-family: var(--font-mono); font-size: 11px;
  color: var(--paper); font-weight: 500;
}
.iphone-status-icons, .app-icons { font-size: 8px; letter-spacing: 1px; color: var(--paper); }

/* ============================================
   HOME SCREEN
   ============================================ */

.iphone-home {
  position: absolute;
  inset: 0;
  border-radius: 28px;
  background: linear-gradient(160deg, #1a0e0d 0%, #0a0a0b 60%, #0d0608 100%);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0s linear 0.4s;
}
.iphone-home.is-visible {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.4s ease, visibility 0s linear 0s;
}

.iphone-home-wallpaper {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(123, 24, 24, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(201, 169, 97, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

.iphone-home-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px 12px;
  padding: 50px 18px 0;
  z-index: 2;
}

.home-app {
  display: flex; flex-direction: column;
  align-items: center; gap: 6px;
  opacity: 0;
  transform: translateY(8px);
}
.theater-iphone.is-landed .home-app {
  animation: homeAppIn 0.4s var(--ease-premium) forwards;
}
.theater-iphone.is-landed .home-app-1 { animation-delay: 0.2s; }
.theater-iphone.is-landed .home-app-2 { animation-delay: 0.25s; }
.theater-iphone.is-landed .home-app-3 { animation-delay: 0.3s; }
.theater-iphone.is-landed .home-app-4 { animation-delay: 0.35s; }
.theater-iphone.is-landed .home-app-5 { animation-delay: 0.4s; }
.theater-iphone.is-landed .home-app-6 { animation-delay: 0.45s; }
.theater-iphone.is-landed .home-app-target { animation-delay: 0.5s; }
.theater-iphone.is-landed .home-app-8 { animation-delay: 0.55s; }
@keyframes homeAppIn {
  to { opacity: 1; transform: translateY(0); }
}

.home-app-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--ink-mid), var(--ink-soft));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
/* All apps use brand palette: burgundy variants, gold, ink shades */
.home-app-1 .home-app-icon { background: linear-gradient(135deg, var(--ink-mid), var(--ink-deep)); }
.home-app-2 .home-app-icon { background: linear-gradient(135deg, var(--paper), var(--paper-soft)); border-color: rgba(123, 24, 24, 0.15); }
.home-app-3 .home-app-icon { background: linear-gradient(135deg, var(--accent-deep), #4a1414); }
.home-app-4 .home-app-icon { background: linear-gradient(135deg, var(--ink-soft), var(--ink-mid)); }
.home-app-5 .home-app-icon { background: linear-gradient(135deg, var(--gold), #8B7944); }
.home-app-6 .home-app-icon { background: linear-gradient(135deg, var(--accent-soft), var(--accent)); }
.home-app-8 .home-app-icon { background: linear-gradient(135deg, var(--ink-deep), #050505); }

/* Target icon (Burgunder, becomes the app) */
.home-app-icon-target {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(123, 24, 24, 0.4);
  position: relative;
  transition: transform 0.2s ease;
}
.target-icon-mark {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  color: var(--paper);
  line-height: 1;
}

/* Tap states */
.theater-iphone.is-tap-pressed .home-app-target .home-app-icon-target {
  transform: scale(0.88);
}

.home-app-label {
  font-family: var(--font-body); font-size: 9px;
  color: var(--paper); font-weight: 400;
  letter-spacing: 0;
}

.iphone-dock {
  position: absolute;
  bottom: 16px; left: 18px; right: 18px;
  display: flex; justify-content: space-around;
  padding: 8px;
  background: rgba(245, 242, 236, 0.08);
  backdrop-filter: blur(12px);
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.06);
  opacity: 0;
}
.theater-iphone.is-landed .iphone-dock {
  animation: homeAppIn 0.5s var(--ease-premium) 0.65s forwards;
}
.dock-app {
  width: 30px; height: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--ink-mid), var(--ink-deep));
}
.dock-app:nth-child(1) { background: linear-gradient(135deg, var(--ink-soft), var(--ink-mid)); }
.dock-app:nth-child(2) { background: linear-gradient(135deg, var(--accent), var(--accent-deep)); }
.dock-app:nth-child(3) { background: linear-gradient(135deg, var(--gold), #8B7944); }
.dock-app:nth-child(4) { background: linear-gradient(135deg, var(--paper), var(--paper-soft)); }

/* Hide home when app opens */
.theater-iphone.is-app-open .iphone-home {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}

/* ============================================
   APP EXPANSION (Apple-style)
   ============================================ */

.iphone-app {
  position: absolute;
  inset: 0;
  border-radius: 28px;
  background: var(--ink-deep);
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  /* Start as tiny icon at target position */
  clip-path: circle(0% at 75% 28%);
  opacity: 0;
  visibility: hidden;
  transition: clip-path 0.7s var(--ease-premium), opacity 0.3s ease, visibility 0s linear 0.7s;
}
.iphone-app::-webkit-scrollbar { display: none; }

.theater-iphone.is-app-open .iphone-app {
  clip-path: circle(150% at 50% 50%);
  opacity: 1;
  visibility: visible;
  transition: clip-path 0.7s var(--ease-premium), opacity 0.3s ease, visibility 0s linear 0s;
}

/* Background glow during app open */
.app-expand-origin {
  position: absolute;
  top: 28%; left: 75%;
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--accent);
  transform: translate(-50%, -50%) scale(0);
  z-index: 0;
  opacity: 0;
  pointer-events: none;
}

/* App content (existing styles kept) */
.app-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 20px 12px;
  position: relative;
  z-index: 2;
}
.app-header h3 {
  font-family: var(--font-display); font-weight: 500;
  font-size: 24px; color: var(--paper);
}
.app-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--accent);
  border: 1.5px solid var(--paper);
}

.app-search {
  margin: 0 16px 20px;
  padding: 10px 14px;
  background: var(--ink-mid);
  border-radius: 10px;
  font-family: var(--font-body); font-size: 12px;
  color: var(--text-mute);
  position: relative; z-index: 2;
}

.app-featured {
  margin: 0 16px 20px;
  position: relative;
  aspect-ratio: 16/10;
  border-radius: 12px;
  overflow: hidden;
  z-index: 2;
}
.app-featured-img {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 30% 40%, rgba(123, 24, 24, 0.6) 0%, transparent 60%),
    linear-gradient(135deg, #2a1a1c 0%, #1a0d10 100%);
}
.app-featured-tag {
  position: absolute; top: 10px; left: 10px;
  padding: 4px 8px;
  background: var(--accent);
  font-family: var(--font-mono); font-size: 8px;
  letter-spacing: 0.2em; color: var(--paper);
  border-radius: 3px;
}

.app-section-title {
  padding: 0 20px 12px;
  font-family: var(--font-body); font-size: 11px;
  font-weight: 500; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--text-mute);
  position: relative; z-index: 2;
}

.app-categories {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 8px; padding: 0 16px 20px;
  position: relative; z-index: 2;
}
.app-cat {
  aspect-ratio: 1;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--ink-mid), var(--ink-soft));
  border: 1px solid var(--ink-line);
}
.app-cat:nth-child(1) { background: linear-gradient(135deg, var(--accent), var(--accent-deep)); }
.app-cat:nth-child(3) { background: linear-gradient(135deg, var(--gold), #8B7944); }

.app-list { padding: 0 16px 80px; display: flex; flex-direction: column; gap: 10px; position: relative; z-index: 2; }
.app-item {
  display: flex; gap: 12px;
  padding: 10px;
  background: var(--ink-mid);
  border-radius: 10px;
  border: 1px solid var(--ink-line);
}
.app-item-img {
  width: 44px; height: 44px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  flex-shrink: 0;
}
.app-item:nth-child(2) .app-item-img { background: linear-gradient(135deg, var(--gold), #8B7944); }
.app-item:nth-child(3) .app-item-img { background: linear-gradient(135deg, #4a5568, #2d3748); }
.app-item:nth-child(4) .app-item-img { background: linear-gradient(135deg, var(--accent-soft), var(--accent)); }
.app-item-text { flex: 1; display: flex; flex-direction: column; gap: 6px; justify-content: center; }
.app-item-title { height: 8px; width: 80%; background: var(--paper); border-radius: 1px; }
.app-item-meta { height: 6px; width: 50%; background: var(--text-mute); border-radius: 1px; }

.app-tabbar {
  position: sticky; bottom: 0; left: 0; right: 0;
  display: flex; justify-content: space-around;
  padding: 14px 20px 22px;
  background: rgba(10, 10, 11, 0.92);
  backdrop-filter: blur(20px);
  border-top: 1px solid var(--ink-line);
  z-index: 3;
}
.app-tab {
  width: 32px; height: 4px;
  background: var(--text-dim);
  border-radius: 2px;
}
.app-tab.is-active { background: var(--accent); }

/* Simulated Finger */
.sim-finger {
  position: absolute;
  top: 28%; left: 75%;
  transform: translate(-50%, -50%) scale(0);
  z-index: 20;
  pointer-events: none;
  opacity: 0;
  transition: transform 0.4s var(--ease-premium), opacity 0.3s ease, top 0.6s var(--ease-premium), left 0.6s var(--ease-premium);
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.5));
}
.theater-iphone.is-finger-visible .sim-finger {
  opacity: 0.95;
  transform: translate(-50%, -50%) scale(1);
}
.theater-iphone.is-finger-tap .sim-finger {
  transform: translate(-50%, -50%) scale(0.82);
}

/* ============================================
   Hint + Progress
   ============================================ */

.theater-hint {
  position: absolute; bottom: -32px; left: 50%; transform: translateX(-50%);
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.18em; color: var(--text-mute);
  opacity: 0;
  transition: opacity 0.6s ease;
  white-space: nowrap;
}
.theater-hint.is-visible { opacity: 1; }
.hint-text::before {
  content: ''; display: inline-block;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  margin-right: 8px;
  animation: pulse 1.6s ease-in-out infinite;
}

.theater-progress {
  position: absolute; bottom: -56px; left: 0; right: 0;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  opacity: 0; transition: opacity 0.5s ease;
}
.theater-progress.is-visible { opacity: 1; }
.theater-phase-dots { display: flex; gap: 10px; }
.phase-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--ink-line);
  transition: background 0.4s, transform 0.4s var(--ease-premium);
}
.phase-dot.is-active { background: var(--accent); transform: scale(1.3); }
.phase-dot.is-done { background: var(--text-mute); }
.theater-phase-label {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.2em; color: var(--text-mute);
}

.theater-mobile-section { display: none; }

/* ==========================================
   SECTION HEADER
   ========================================== */
.section-header {
  max-width: var(--max-w); margin: 0 auto 64px;
  padding: 0 var(--pad-x);
}
.section-label {
  display: flex; align-items: center; gap: 14px; margin-bottom: 28px;
}
.section-num {
  font-family: var(--font-mono); font-size: 11px; font-weight: 500;
  letter-spacing: 0.2em; color: var(--heritage-gold);
}
.section-name {
  font-family: var(--font-body); font-size: 11px; font-weight: 500;
  letter-spacing: 0.32em; text-transform: uppercase; color: var(--text-mute);
}
.section-title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(40px, 6vw, 88px);
  line-height: 1; letter-spacing: -0.005em;
  color: var(--paper); margin-bottom: 20px; max-width: 800px;
}
.section-title em { font-style: italic; color: var(--accent); }
.section-intro {
  font-family: var(--font-body); font-size: clamp(15px, 1.1vw, 17px);
  font-weight: 300; line-height: 1.65;
  color: var(--paper-muted); max-width: 620px;
}

/* ==========================================
   PORTFOLIO — MEGA TILES
   ========================================== */
.work {
  padding: 140px 0 120px;
  position: relative;
  overflow: hidden;
}
.work::before {
  content: ''; position: absolute; top: 0; left: 50%;
  width: 800px; height: 800px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(123, 24, 24, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.mega-grid {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.mega-tile {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--ink-soft);
  border: 1px solid var(--ink-line);
  overflow: hidden;
  cursor: none;
  text-align: left;
  display: flex; flex-direction: column;
  justify-content: flex-end;
  padding: 48px;
  transition: transform 0.6s var(--ease-premium), border-color 0.4s;
  will-change: transform;
}

.mega-tile:hover {
  border-color: var(--accent);
  transform: translateY(-6px);
}

.mega-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 70% 30%, rgba(123, 24, 24, 0.18) 0%, transparent 50%),
    radial-gradient(circle at 30% 80%, rgba(123, 24, 24, 0.08) 0%, transparent 50%),
    linear-gradient(135deg, #1a0e0d 0%, var(--ink-deep) 70%);
  transition: opacity 0.6s;
}

.mega-tile-app .mega-bg {
  background:
    radial-gradient(circle at 30% 30%, rgba(123, 24, 24, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(123, 24, 24, 0.1) 0%, transparent 50%),
    linear-gradient(225deg, #1a0e0d 0%, var(--ink-deep) 70%);
}

.mega-grain {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(245, 242, 236, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 242, 236, 0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.5;
}

/* === MEGA VISUAL: Animated Mini Previews === */
.mega-visual {
  position: absolute;
  top: 8%; left: 50%; transform: translateX(-50%);
  width: 100%; height: 55%;
  display: flex; align-items: center; justify-content: center;
  perspective: 1200px;
}

/* WEBSITES: Animated Browser Stack */
.mini-browser {
  position: absolute;
  width: 70%; aspect-ratio: 16/10;
  background: var(--paper);
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--ink-line);
  box-shadow: 0 30px 60px rgba(0,0,0,0.5);
  transition: transform 0.8s var(--ease-premium);
  will-change: transform;
}
.mini-browser:not(.mini-browser-back) {
  z-index: 2;
  animation: browserFloat 6s ease-in-out infinite;
}
.mini-browser-back {
  opacity: 0.5;
  transform: translate(28px, 24px) rotate(2deg) scale(0.92);
  z-index: 1;
}

.mega-tile-web:hover .mini-browser:not(.mini-browser-back) {
  transform: translate(-12px, -12px) rotate(-2deg);
}
.mega-tile-web:hover .mini-browser-back {
  transform: translate(40px, 36px) rotate(3deg) scale(0.94);
  opacity: 0.7;
}

@keyframes browserFloat {
  0%, 100% { transform: translate(0, 0) rotate(0); }
  50% { transform: translate(0, -6px) rotate(-0.5deg); }
}

.mini-browser-bar {
  height: 10px;
  background: #2A2A2D;
  display: flex; align-items: center; gap: 3px;
  padding: 0 6px;
}
.mini-browser-bar span {
  width: 4px; height: 4px;
  background: #5E5E64; border-radius: 50%;
}
.mini-browser-bar span:nth-child(1) { background: var(--accent); }
.mini-browser-content {
  padding: 8px 10px;
  display: flex; flex-direction: column; gap: 6px;
}
.mini-block { background: var(--ink-deep); }
.mini-block-1 { height: 14px; width: 60%; }
.mini-block-2 { height: 6px; width: 90%; background: #999; }
.mini-block-3 { height: 30px; background: var(--accent); }
.mini-block-4 { height: 14px; width: 40%; background: #666; }

/* APPS: Animated Phone Stack */
.mini-phone {
  position: absolute;
  width: 80px; height: 160px;
  background: #1a1a1c;
  border-radius: 14px;
  padding: 4px;
  border: 1px solid #2a2a2d;
  box-shadow: 0 30px 60px rgba(0,0,0,0.5);
  transition: transform 0.8s var(--ease-premium);
  will-change: transform;
}
.mini-phone-1 {
  z-index: 2;
  animation: phoneFloat 6s ease-in-out infinite;
}
.mini-phone-2 {
  z-index: 1;
  transform: translate(50px, 20px) rotate(8deg);
  opacity: 0.6;
}

.mega-tile-app:hover .mini-phone-1 {
  transform: translate(-25px, -10px) rotate(-6deg);
}
.mega-tile-app:hover .mini-phone-2 {
  transform: translate(60px, 30px) rotate(10deg);
  opacity: 0.8;
}

@keyframes phoneFloat {
  0%, 100% { transform: translate(0, 0) rotate(0); }
  50% { transform: translate(0, -8px) rotate(-2deg); }
}

.mini-phone-notch {
  position: absolute; top: 4px; left: 50%; transform: translateX(-50%);
  width: 30px; height: 5px;
  background: #0a0a0b; border-radius: 0 0 5px 5px;
  z-index: 3;
}
.mini-phone-screen {
  width: 100%; height: 100%;
  background: var(--ink-deep);
  border-radius: 10px;
  padding: 14px 6px 6px;
  display: flex; flex-direction: column; gap: 4px;
}
.mini-app-bar { height: 6px; width: 50%; background: var(--paper); border-radius: 1px; }
.mini-app-card {
  height: 50px;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  border-radius: 4px;
}
.mini-app-card-alt {
  background: linear-gradient(135deg, var(--gold), #8B7944);
}
.mini-app-row { display: flex; gap: 3px; }
.mini-app-row span {
  flex: 1; aspect-ratio: 1;
  background: var(--ink-mid);
  border-radius: 3px;
}

/* MEGA CONTENT */
.mega-content {
  position: relative; z-index: 5;
  color: var(--paper);
}
.mega-meta {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 20px;
}
.mega-num {
  font-family: var(--font-mono); font-size: 11px;
  color: var(--accent); letter-spacing: 0.2em;
}
.mega-count {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.18em; color: var(--heritage-gold);
  padding: 4px 10px;
  border: 1px solid var(--heritage-gold);
  border-radius: 999px;
  opacity: 0.85;
}

.mega-title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(48px, 5.5vw, 80px);
  line-height: 0.95; color: var(--paper);
  margin-bottom: 16px;
  transition: color 0.4s var(--ease-premium);
}
.mega-tile:hover .mega-title { color: var(--accent); }

.mega-desc {
  font-family: var(--font-body); font-size: 14px;
  font-weight: 300; line-height: 1.6;
  color: var(--paper-muted); margin-bottom: 28px;
  max-width: 400px;
}

.mega-cta {
  display: inline-flex; align-items: center; gap: 16px;
  font-family: var(--font-body); font-size: 11px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--text-mute);
  transition: color 0.4s, gap 0.4s;
}
.mega-tile:hover .mega-cta { color: var(--heritage-gold); gap: 24px; }
.mega-cta svg { transition: transform 0.4s; }
.mega-tile:hover .mega-cta svg { transform: translateX(6px); }

/* ==========================================
   COVER-FLOW MODAL
   ========================================== */
.coverflow-modal {
  position: fixed; inset: 0; z-index: 9990;
  visibility: hidden; opacity: 0;
  transition: opacity 0.6s var(--ease-premium), visibility 0.6s var(--ease-premium);
}
.coverflow-modal.is-open {
  visibility: visible; opacity: 1;
}

.cf-backdrop {
  position: absolute; inset: 0;
  background: rgba(10, 10, 11, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.cf-close {
  position: absolute; top: 32px; right: 32px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--ink-deep);
  color: var(--paper);
  display: flex; align-items: center; justify-content: center;
  z-index: 5; cursor: none;
  border: 1px solid var(--ink-line);
  transition: background 0.3s, transform 0.3s var(--ease-premium);
}
.cf-close:hover {
  background: var(--accent);
  transform: rotate(90deg);
}

.cf-header {
  position: absolute; top: 32px; left: 50%;
  transform: translate(-50%, 0);
  text-align: center;
  z-index: 5;
}
.cf-category {
  display: block;
  font-family: var(--font-body); font-size: 11px; font-weight: 500;
  letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 8px;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.6s var(--ease-premium) 0.3s, transform 0.6s var(--ease-premium) 0.3s;
}
.cf-title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(28px, 3vw, 40px);
  color: var(--paper); line-height: 1;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.6s var(--ease-premium) 0.4s, transform 0.6s var(--ease-premium) 0.4s;
}
.coverflow-modal.is-open .cf-category,
.coverflow-modal.is-open .cf-title {
  opacity: 1; transform: translateY(0);
}

.cf-counter {
  margin-top: 16px;
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.2em; color: var(--paper-muted);
  opacity: 0;
  transition: opacity 0.6s var(--ease-premium) 0.5s;
}
.coverflow-modal.is-open .cf-counter { opacity: 1; }
.cf-divider {
  width: 24px; height: 1px; background: var(--text-dim);
}

/* Cover-Flow Stage */
.cf-stage {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  perspective: 2000px;
  perspective-origin: center center;
}

.cf-card {
  position: absolute;
  width: min(420px, 80vw);
  aspect-ratio: 3/4;
  background: var(--ink-soft);
  border: 1px solid var(--ink-line);
  border-radius: 8px;
  overflow: hidden;
  cursor: none;
  transform-style: preserve-3d;
  transition: transform 0.8s var(--ease-premium), opacity 0.6s var(--ease-premium);
  will-change: transform, opacity;
  display: flex; flex-direction: column;
}

.cf-card-cover {
  flex: 1;
  background:
    radial-gradient(circle at 40% 30%, var(--accent-glow) 0%, transparent 60%),
    linear-gradient(135deg, #1a0e0d 0%, var(--ink-deep) 100%);
  position: relative;
}
.cf-card-cover::after {
  content: '';
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 80px; height: 80px;
  border: 1px solid var(--ink-line);
  border-radius: 50%;
}
.cf-card-info {
  padding: 28px 32px;
  background: var(--ink-soft);
  border-top: 1px solid var(--ink-line);
}
.cf-card-meta {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 12px;
}
.cf-card-tag {
  font-family: var(--font-body); font-size: 10px; font-weight: 500;
  letter-spacing: 0.28em; text-transform: uppercase; color: var(--accent);
}
.cf-card-year {
  font-family: var(--font-mono); font-size: 10px;
  color: var(--text-mute); letter-spacing: 0.18em;
}
.cf-card-title {
  font-family: var(--font-display); font-weight: 400;
  font-size: 26px; line-height: 1.05;
  color: var(--paper); margin-bottom: 4px;
}
.cf-card-desc {
  font-family: var(--font-body); font-size: 12px;
  color: var(--text-mute);
}

/* Card positions for cover-flow */
.cf-card.cf-active {
  transform: translateX(0) translateZ(0) rotateY(0);
  opacity: 1;
  z-index: 5;
  box-shadow: 0 40px 80px rgba(0,0,0,0.6), 0 0 80px var(--accent-glow);
}
.cf-card.cf-prev {
  transform: translateX(-60%) translateZ(-200px) rotateY(35deg);
  opacity: 0.5;
  z-index: 3;
}
.cf-card.cf-prev-2 {
  transform: translateX(-90%) translateZ(-400px) rotateY(45deg);
  opacity: 0.25;
  z-index: 2;
}
.cf-card.cf-next {
  transform: translateX(60%) translateZ(-200px) rotateY(-35deg);
  opacity: 0.5;
  z-index: 3;
}
.cf-card.cf-next-2 {
  transform: translateX(90%) translateZ(-400px) rotateY(-45deg);
  opacity: 0.25;
  z-index: 2;
}
.cf-card.cf-hidden {
  transform: translateX(0) translateZ(-600px) rotateY(0);
  opacity: 0;
  z-index: 1;
  pointer-events: none;
}

/* Navigation arrows */
.cf-nav {
  position: absolute;
  bottom: 80px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 16px;
  z-index: 5;
}
.cf-arrow {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--ink-deep);
  border: 1px solid var(--ink-line);
  color: var(--paper);
  display: flex; align-items: center; justify-content: center;
  cursor: none;
  transition: all 0.3s var(--ease-premium);
}
.cf-arrow:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.05);
}
.cf-arrow:disabled {
  opacity: 0.3;
  pointer-events: none;
}

.cf-hint {
  position: absolute; bottom: 32px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.2em; color: var(--text-dim);
  opacity: 0;
  transition: opacity 0.6s var(--ease-premium) 0.8s;
}
.coverflow-modal.is-open .cf-hint { opacity: 1; }

/* ==========================================
   SERVICES (kept from v3)
   ========================================== */
.services {
  padding: 120px 0; background: var(--ink-soft);
  position: relative;
}
.services::before {
  content: ''; position: absolute; top: 30%; right: 5%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(123, 24, 24, 0.06) 0%, transparent 70%);
  filter: blur(80px); pointer-events: none;
}
.services-grid {
  max-width: var(--max-w); margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  perspective: 1000px;
}
.service-card {
  position: relative; transform-style: preserve-3d;
  transition: transform 0.4s var(--ease-premium); cursor: none;
  will-change: transform;
}
.service-card-inner {
  position: relative; background: var(--ink-deep);
  border: 1px solid var(--ink-line);
  padding: 48px 36px; height: 100%; overflow: hidden;
  transition: border-color 0.4s; transform-style: preserve-3d;
}
.service-card:hover .service-card-inner { border-color: var(--accent); }
.service-glow {
  position: absolute; inset: 0;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 0%), var(--accent-glow) 0%, transparent 50%);
  opacity: 0; transition: opacity 0.4s ease; pointer-events: none;
}
.service-card:hover .service-glow { opacity: 1; }
.service-badge {
  position: absolute; top: 16px; right: -28px;
  background: var(--gold); color: var(--ink-deep);
  font-family: var(--font-body); font-size: 9px; font-weight: 600;
  letter-spacing: 0.24em; text-transform: uppercase;
  padding: 6px 32px; transform: rotate(45deg);
}
.service-num {
  position: absolute; top: 24px; right: 28px;
  font-family: var(--font-mono); font-size: 11px;
  color: var(--text-dim); letter-spacing: 0.2em;
}
.service-card-featured .service-num { top: 60px; }
.service-tag {
  font-family: var(--font-body); font-size: 10px; font-weight: 500;
  letter-spacing: 0.32em; text-transform: uppercase; color: var(--heritage-gold);
  margin-bottom: 24px; position: relative; z-index: 2;
}
.service-title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(28px, 2.6vw, 40px); line-height: 1;
  color: var(--paper); margin-bottom: 20px;
  position: relative; z-index: 2;
}
.service-title em { font-style: italic; color: var(--accent); }
.service-desc {
  font-family: var(--font-body); font-size: 14px;
  font-weight: 300; line-height: 1.6;
  color: var(--paper-muted); margin-bottom: 28px;
  position: relative; z-index: 2;
}
.service-list { list-style: none; margin-bottom: 32px; position: relative; z-index: 2; }
.service-list li {
  padding: 10px 0; border-top: 1px solid var(--ink-line);
  font-family: var(--font-body); font-size: 13px;
  color: var(--paper); display: flex; align-items: center; gap: 12px;
}
.service-list li::before {
  content: ''; width: 6px; height: 1px;
  background: var(--accent); flex-shrink: 0;
}
.service-list li:last-child { border-bottom: 1px solid var(--ink-line); }
.service-cta {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--font-body); font-size: 11px; font-weight: 500;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--text-mute); position: relative; z-index: 2;
  transition: color 0.4s, gap 0.4s;
}
.service-card:hover .service-cta { color: var(--heritage-gold); gap: 22px; }
.service-cta svg { transition: transform 0.4s; }

/* ==========================================
   PROCESS
   ========================================== */
.process { padding: 120px 0; position: relative; }
.process-timeline {
  max-width: var(--max-w); margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px;
  position: relative;
}
.process-progress-line {
  position: absolute; top: 32px;
  left: calc(var(--pad-x) + 32px); right: calc(var(--pad-x) + 32px);
  height: 1px; background: var(--ink-line);
}
.process-progress-fill {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--heritage-gold) 0%, #B89A52 100%);
  width: 0%; transition: width 0.4s var(--ease-premium);
  box-shadow: 0 0 8px rgba(157, 126, 59, 0.4);
}
.process-step { position: relative; }
.step-num {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--ink-deep); border: 1px solid var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-size: 13px; font-weight: 500;
  color: var(--accent); letter-spacing: 0.1em;
  margin-bottom: 32px; position: relative; z-index: 2;
  transition: transform 0.4s, background 0.4s, color 0.4s;
}
.process-step:hover .step-num {
  background: var(--accent); color: var(--paper); transform: scale(1.05);
}
.step-title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(20px, 1.8vw, 28px); line-height: 1.1;
  color: var(--paper); margin-bottom: 12px;
}
.step-desc {
  font-family: var(--font-body); font-size: 14px;
  font-weight: 300; line-height: 1.6;
  color: var(--paper-muted); margin-bottom: 16px;
}
.step-time {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.2em; color: var(--text-mute);
}

/* ==========================================
   ABOUT
   ========================================== */
.about {
  padding: 120px 0; background: var(--ink-soft); position: relative;
}
.about-grid {
  max-width: var(--max-w); margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: 96px; align-items: start;
}
.about-title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(36px, 5vw, 72px); line-height: 1.02;
  letter-spacing: -0.005em; color: var(--paper);
  margin: 32px 0 36px;
}
.about-title em { font-style: italic; color: var(--accent); }
.about-body {
  font-family: var(--font-body); font-size: clamp(15px, 1.1vw, 17px);
  font-weight: 300; line-height: 1.7;
  color: var(--paper-muted); margin-bottom: 24px; max-width: 580px;
}
.about-visual { position: sticky; top: 120px; }
.visual-card {
  background: var(--ink-deep); border: 1px solid var(--ink-line);
  padding: 40px; position: relative; overflow: hidden;
  transition: transform 0.4s, border-color 0.4s;
}
.visual-card:hover { border-color: var(--accent); }
.visual-glow {
  position: absolute; top: -50%; right: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 50%);
  opacity: 0.5; pointer-events: none;
}
.visual-label {
  font-family: var(--font-body); font-size: 10px; font-weight: 500;
  letter-spacing: 0.32em; text-transform: uppercase; color: var(--accent);
  position: relative;
}
.visual-name {
  font-family: var(--font-display); font-weight: 400;
  font-size: 36px; line-height: 1;
  color: var(--paper); margin: 14px 0 6px; position: relative;
}
.visual-role {
  font-family: var(--font-body); font-size: 13px;
  color: var(--text-mute); margin-bottom: 24px; position: relative;
}
.visual-divider {
  width: 32px; height: 1px; background: var(--accent);
  margin-bottom: 24px; position: relative;
}
.visual-quote {
  font-family: var(--font-display); font-weight: 400;
  font-style: italic; font-size: 18px; line-height: 1.4;
  color: var(--paper-muted); position: relative;
}

/* ==========================================
   CONTACT
   ========================================== */
.contact {
  padding: 120px 0 80px;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(123, 24, 24, 0.1) 0%, transparent 50%),
    var(--ink-deep);
  position: relative;
}
.contact-inner {
  max-width: 900px; margin: 0 auto; padding: 0 var(--pad-x);
}
.section-label-light { margin-bottom: 24px; }
.contact-title {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(44px, 6vw, 96px); line-height: 0.98;
  letter-spacing: -0.005em; color: var(--paper); margin-bottom: 28px;
}
.contact-title em { font-style: italic; color: var(--accent); }
.contact-intro {
  font-family: var(--font-body); font-size: clamp(15px, 1.1vw, 17px);
  font-weight: 300; line-height: 1.65;
  color: var(--paper-muted); margin-bottom: 48px; max-width: 580px;
}
.contact-channels {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--ink-line);
  border: 1px solid var(--ink-line); margin-bottom: 64px;
}
.contact-channel {
  background: var(--ink-deep); padding: 28px 24px;
  display: flex; flex-direction: column; gap: 8px;
  transition: background 0.4s; position: relative; overflow: hidden;
  cursor: none;
}
.channel-glow {
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 100%, var(--accent-glow) 0%, transparent 60%);
  opacity: 0; transition: opacity 0.4s; pointer-events: none;
}
.contact-channel:hover .channel-glow { opacity: 1; }
.contact-channel:hover { background: var(--ink-soft); }
.channel-label {
  font-family: var(--font-body); font-size: 10px; font-weight: 500;
  letter-spacing: 0.28em; text-transform: uppercase; color: var(--accent);
  position: relative;
}
.channel-value {
  font-family: var(--font-display); font-weight: 400; font-size: 17px;
  color: var(--paper); position: relative;
}
.contact-form {
  background: var(--ink-soft); border: 1px solid var(--ink-line);
  padding: 48px 40px;
}
.form-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-bottom: 32px;
}
.form-group { display: flex; flex-direction: column; gap: 10px; }
.form-group label {
  font-family: var(--font-body); font-size: 10px; font-weight: 500;
  letter-spacing: 0.28em; text-transform: uppercase; color: var(--text-mute);
}
.form-group input,
.form-group select,
.form-group textarea {
  background: transparent; border: none;
  border-bottom: 1px solid var(--ink-line);
  padding: 12px 0;
  font-family: var(--font-body); font-size: 16px;
  color: var(--paper); transition: border-color 0.3s; cursor: none;
}
.form-group select { cursor: pointer; }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none; border-color: var(--accent);
}
.contact-form .form-group:last-of-type { margin-bottom: 40px; }
.form-note {
  font-family: var(--font-body); font-size: 12px;
  color: var(--text-dim); margin-top: 24px;
  font-weight: 300; line-height: 1.5;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
  padding: 80px var(--pad-x) 28px;
  border-top: 1px solid var(--ink-line);
  background: var(--ink-deep);
}
.footer-grid {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 64px;
}
.footer-col-brand { max-width: 320px; }
/* footer-logo styling oben mit brand-logo zusammen */
.footer-tagline {
  font-family: var(--font-body); font-size: 13px;
  font-weight: 300; line-height: 1.6; color: var(--paper-muted);
}

/* Heritage Gold Accents — subtle "Part of Oeder Group" */
.footer-part-of {
  display: block;
  font-family: var(--font-mono); font-size: 9px;
  font-weight: 500; letter-spacing: 0.32em;
  color: var(--heritage-gold);
  margin-bottom: 16px;
  opacity: 0.85;
}
.footer-col-heritage .footer-heading {
  color: var(--heritage-gold);
}
.footer-col-heritage .footer-list a {
  transition: color 0.3s;
}
.footer-col-heritage .footer-list a:hover {
  color: var(--heritage-gold);
}
.footer-heading {
  display: block; font-family: var(--font-body); font-size: 10px;
  font-weight: 500; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 20px;
}
.footer-list { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-list a {
  font-family: var(--font-body); font-size: 13px;
  color: var(--paper-muted); transition: color 0.3s;
}
.footer-list a:hover { color: var(--paper); }
.footer-bottom {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; justify-content: space-between; gap: 24px;
  padding-top: 28px; border-top: 1px solid var(--ink-line);
}
.footer-legal {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.18em; color: var(--text-dim);
}

/* ==========================================
   SCROLL REVEAL
   ========================================== */
.reveal-on-scroll {
  opacity: 0; transform: translateY(40px);
  transition: opacity 1s var(--ease-premium), transform 1s var(--ease-premium);
}
.reveal-on-scroll.is-visible { opacity: 1; transform: translateY(0); }

/* ==========================================
   TABLET
   ========================================== */
@media (max-width: 1024px) {
  .nav-links { gap: 24px; }
  .nav-link { font-size: 11px; }
  .hero-grid-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  /* Hide desktop theater on tablet -> show mobile theater */
  .theater-desktop { display: none; }
  .theater-mobile-section { display: block !important; }
  .services-grid { grid-template-columns: 1fr; }
  .mega-grid { grid-template-columns: 1fr; gap: 32px; }
  .process-timeline { grid-template-columns: repeat(2, 1fr); gap: 56px 32px; }
  .process-progress-line { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 56px; }
  .about-visual { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; gap: 40px; }
  .footer-col-brand { grid-column: 1 / -1; }
}

/* ==========================================
   MOBILE
   ========================================== */
@media (max-width: 768px) {
  body { cursor: auto; }
  .cursor { display: none; }
  button, a, input, select, textarea { cursor: pointer; }

  .nav { padding: 16px var(--pad-x); }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-mobile-toggle { display: flex; justify-self: end; }
  .nav { grid-template-columns: auto 1fr auto; }

  .hero {
    padding: 120px var(--pad-x) 60px;
    min-height: auto;
  }
  .hero-meta { top: 80px; }
  .hero-headline { font-size: clamp(40px, 11vw, 64px); margin-bottom: 28px; }
  .hero-sub { font-size: 15px; margin-bottom: 36px; }
  .hero-cta-group {
    flex-direction: column; align-items: stretch;
    margin-bottom: 48px;
  }
  .btn { justify-content: center; padding: 18px 24px; }
  .hero-stats { gap: 24px; flex-wrap: wrap; padding-top: 28px; }
  .hero-stat { min-width: 80px; }
  .stat-value { font-size: 32px; }
  .hero-scroll { display: none; }

  /* === MOBILE THEATER IM HERO === */
  /* Auf Mobile: Theater-Mobile NICHT in eigener Section anzeigen,
     sondern direkt im Hero zwischen CTAs und Stats */
  .theater-mobile-section {
    display: none !important; /* Section nach Hero versteckt */
  }

  /* Stattdessen: das Mobile-Theater als Teil vom Hero anzeigen */
  /* JS verschiebt #theaterMobileSection's theater in den Hero — siehe script.js */
  .hero .theater-mobile {
    display: block !important;
    max-width: 320px;
    width: 100%;
    margin: 0 auto 48px;
    aspect-ratio: 9 / 14;
    position: relative;
  }

  .theater {
    max-width: 360px;
    aspect-ratio: 1 / 1.4;
  }

  .iphone-frame { width: 200px; height: 400px; }
  .code-window, .browser-window { max-width: 320px; }
  .code-body { min-height: 280px; }
  .browser-body { min-height: 280px; }

  .section-header { margin-bottom: 48px; }
  .section-title { font-size: clamp(36px, 10vw, 56px); }

  .work { padding: 80px 0; }
  .mega-tile { padding: 32px; aspect-ratio: 4/4.5; }
  .mega-title { font-size: clamp(40px, 12vw, 56px); }
  .mega-desc { font-size: 13px; margin-bottom: 24px; }

  .services { padding: 80px 0; }
  .services-grid { gap: 16px; }
  .service-card-inner { padding: 36px 28px; }
  .service-title { font-size: 28px; }

  .process { padding: 80px 0; }
  .process-timeline { grid-template-columns: 1fr; gap: 40px; }
  .step-num { width: 56px; height: 56px; }

  .about { padding: 80px 0; }
  .about-grid { gap: 40px; }
  .about-title { font-size: clamp(32px, 9vw, 48px); }
  .visual-card { padding: 32px 24px; }

  .contact { padding: 80px 0 60px; }
  .contact-channels { grid-template-columns: 1fr; }
  .channel-value { font-size: 16px; }
  .contact-form { padding: 32px 24px; }
  .form-row { grid-template-columns: 1fr; gap: 24px; margin-bottom: 24px; }

  /* Cover-Flow mobile adjustments */
  .cf-header { top: 24px; }
  .cf-close { top: 20px; right: 20px; width: 40px; height: 40px; }
  .cf-card { width: min(300px, 85vw); }
  .cf-card.cf-prev { transform: translateX(-50%) translateZ(-150px) rotateY(30deg); }
  .cf-card.cf-prev-2 { transform: translateX(-80%) translateZ(-300px) rotateY(40deg); }
  .cf-card.cf-next { transform: translateX(50%) translateZ(-150px) rotateY(-30deg); }
  .cf-card.cf-next-2 { transform: translateX(80%) translateZ(-300px) rotateY(-40deg); }
  .cf-nav { bottom: 60px; gap: 12px; }
  .cf-arrow { width: 48px; height: 48px; }

  .footer { padding: 56px var(--pad-x) 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; margin-bottom: 40px; }
  .footer-col-brand { grid-column: 1 / -1; max-width: none; }
  .footer-bottom { flex-direction: column; gap: 8px; }
}

/* ==========================================
   ACCESSIBILITY
   ========================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

/* ==========================================================================
   LIVING CORE — WebGL Liquid Metal Sphere + Orbiting Devices
   ========================================================================== */

.livingcore {
  position: relative;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  aspect-ratio: 1 / 1;
  perspective: 1500px;
  overflow: visible;
}

#livingcoreCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 2;
}

/* === CODE SYMBOL OVERLAY — </> in der Mitte === */
.lc-code-symbol {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  pointer-events: none;
  mix-blend-mode: overlay;
  animation: lcCodeFloat 4s ease-in-out infinite;
}
.lc-bracket-l {
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 64px;
  font-weight: 600;
  color: rgba(245, 242, 236, 0.95);
  text-shadow:
    0 0 20px rgba(201, 169, 97, 0.8),
    0 0 40px rgba(201, 169, 97, 0.4);
  letter-spacing: -0.05em;
}

/* CODE CORE Label */
.lc-core-label {
  position: absolute;
  top: calc(50% + 50px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 10px;
  letter-spacing: 0.4em;
  color: #C9A961;
  text-shadow: 0 0 12px rgba(201, 169, 97, 0.6);
  pointer-events: none;
}

@keyframes lcCodeFloat {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50%      { transform: translate(-50%, -50%) scale(1.06); }
}

/* === ORBIT TRACKS (decorative rings) === */
.lc-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  pointer-events: none;
  transform-style: preserve-3d;
}

/* Orbit 1: Laptop — größter Orbit, horizontal */
.lc-orbit-1 {
  width: 115%;
  height: 70%;
  margin-top: -35%;
  margin-left: -57.5%;
  animation: lcOrbit1 22s linear infinite;
}

/* Orbit 2: Phone — mittlerer Orbit, leicht gekippt */
.lc-orbit-2 {
  width: 105%;
  height: 105%;
  margin-top: -52.5%;
  margin-left: -52.5%;
  animation: lcOrbit2 18s linear infinite reverse;
  transform: rotateX(20deg);
}

/* Orbit 3: Tablet — kleinster Orbit, anders gekippt */
.lc-orbit-3 {
  width: 90%;
  height: 90%;
  margin-top: -45%;
  margin-left: -45%;
  animation: lcOrbit3 26s linear infinite;
  transform: rotateX(-15deg) rotateY(30deg);
}

/* === DEVICES auf den Orbits === */
.lc-device {
  position: absolute;
  background: linear-gradient(135deg, rgba(14, 14, 16, 0.97) 0%, rgba(8, 8, 10, 0.99) 100%);
  border: 1.5px solid rgba(201, 169, 97, 0.6);
  border-radius: 8px;
  box-shadow:
    0 0 32px rgba(201, 169, 97, 0.4),
    0 0 80px rgba(155, 42, 40, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(4px);
  z-index: 3;
}

/* Laptop — deutlich größer */
.lc-device-laptop {
  width: 180px;
  height: 116px;
  top: 50%;
  left: 100%;
  transform: translate(-50%, -50%);
  padding: 10px;
  animation: lcCounterRotate 22s linear infinite reverse;
}

/* Phone — größer */
.lc-device-phone {
  width: 80px;
  height: 148px;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%) rotateX(-20deg);
  padding: 8px;
  border-radius: 14px;
  animation: lcCounterRotate2 18s linear infinite;
}

/* Tablet — größer */
.lc-device-tablet {
  width: 124px;
  height: 154px;
  top: 50%;
  left: 0;
  transform: translate(-50%, -50%) rotateX(15deg) rotateY(-30deg);
  padding: 10px;
  animation: lcCounterRotate3 26s linear infinite reverse;
}

/* === DEVICE SCREEN CONTENT (richer) === */
.lcd-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, #14080a 0%, #0a0405 100%);
  border-radius: 4px;
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow: hidden;
}

/* Laptop content */
.lc-device-laptop .lcd-bar {
  height: 5px;
  background: linear-gradient(90deg, #C9A961, #9D7E3B);
  border-radius: 1px;
  width: 100%;
}
.lcd-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-top: 6px;
}
.lcd-line {
  height: 5px;
  border-radius: 1px;
}
.lcd-line-1 {
  background: linear-gradient(90deg, #F5F2EC, #C9A961);
  width: 75%;
}
.lcd-line-2 {
  background: rgba(245, 242, 236, 0.5);
  width: 55%;
}
.lcd-btn {
  margin-top: auto;
  width: 56px; height: 16px;
  background: linear-gradient(135deg, #9B2A28, #7B1818);
  border-radius: 3px;
  box-shadow: 0 0 8px rgba(155, 42, 40, 0.7);
}

/* Phone content */
.lcd-status {
  height: 3px;
  width: 30%;
  background: rgba(245, 242, 236, 0.5);
  border-radius: 1px;
  margin: 0 auto;
}
.lcd-app-hero {
  height: 38%;
  background:
    radial-gradient(circle at 30% 30%, rgba(201, 169, 97, 0.4) 0%, transparent 60%),
    linear-gradient(135deg, #2A1010 0%, #110707 100%);
  border-radius: 3px;
  margin-top: 3px;
}
.lcd-app-row {
  height: 10px;
  background: rgba(245, 242, 236, 0.12);
  border-radius: 2px;
}

/* Tablet content */
.lcd-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  flex: 1;
}
.lcd-grid > div {
  background: linear-gradient(135deg, #1F0F0F 0%, #110707 100%);
  border-radius: 3px;
  border-top: 1px solid rgba(201, 169, 97, 0.25);
}

/* === LABEL unter jedem Gerät — gold-pill === */
.lcd-label {
  position: absolute;
  bottom: -26px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 10px;
  letter-spacing: 0.35em;
  color: #C9A961;
  text-shadow: 0 0 12px rgba(201, 169, 97, 0.6);
  padding: 4px 10px;
  background: rgba(10, 10, 11, 0.85);
  border: 1px solid rgba(201, 169, 97, 0.3);
  border-radius: 12px;
  white-space: nowrap;
}

/* === CENTER STATUS PILL === */
.lc-status {
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  background: rgba(10, 10, 11, 0.85);
  border: 1px solid rgba(201, 169, 97, 0.4);
  border-radius: 20px;
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: #C9A961;
  backdrop-filter: blur(8px);
  white-space: nowrap;
}
.lc-status-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #C9A961;
  box-shadow: 0 0 8px #C9A961;
  animation: lcStatusPulse 1.4s ease-in-out infinite;
}

/* === Vignette === */
.lc-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 4;
  background: radial-gradient(ellipse at center,
    transparent 30%,
    rgba(10, 10, 11, 0.7) 90%);
}

/* === KEYFRAMES === */
@keyframes lcOrbit1 {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes lcOrbit2 {
  from { transform: rotateX(20deg) rotate(0deg); }
  to   { transform: rotateX(20deg) rotate(360deg); }
}
@keyframes lcOrbit3 {
  from { transform: rotateX(-15deg) rotateY(30deg) rotate(0deg); }
  to   { transform: rotateX(-15deg) rotateY(30deg) rotate(360deg); }
}

/* Counter-rotation: damit Geräte aufrecht bleiben während Orbits rotieren */
@keyframes lcCounterRotate {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(-360deg); }
}
@keyframes lcCounterRotate2 {
  from { transform: translate(-50%, -50%) rotateX(-20deg) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotateX(-20deg) rotate(-360deg); }
}
@keyframes lcCounterRotate3 {
  from { transform: translate(-50%, -50%) rotateX(15deg) rotateY(-30deg) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotateX(15deg) rotateY(-30deg) rotate(-360deg); }
}

@keyframes lcStatusPulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.3; }
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .livingcore { max-width: 580px; }
}
@media (max-width: 768px) {
  .livingcore {
    max-width: 360px;
    margin: 0 auto 70px;
  }
  .lc-device-laptop { width: 116px; height: 75px; padding: 7px; }
  .lc-device-phone { width: 54px; height: 100px; padding: 5px; }
  .lc-device-tablet { width: 82px; height: 102px; padding: 7px; }
  .lcd-label { font-size: 8px; bottom: -22px; padding: 3px 8px; }
  .lc-device-laptop .lcd-btn { width: 40px; height: 11px; }
  .lcd-line { height: 4px; }
  .lcd-app-row { height: 7px; }
}

/* Service-Card als Link (statt Article) */
.service-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  cursor: pointer;
}
.service-card-link:hover {
  text-decoration: none;
}

/* ============================================
   FLOATING APP ICONS around Living Core
   ============================================ */
.lc-app-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 44px;
  height: 44px;
  z-index: 5;
  pointer-events: none;
  margin-top: -22px;
  margin-left: -22px;
}
.lcai-shape {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(14, 14, 16, 0.96), rgba(8, 8, 10, 0.99));
  border: 1px solid rgba(201, 169, 97, 0.5);
  border-radius: 11px;
  color: #C9A961;
  box-shadow:
    0 0 20px rgba(201, 169, 97, 0.35),
    0 0 40px rgba(155, 42, 40, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(4px);
}

/* Different orbit paths for each icon - independent of WEB/APP/UI */
.lc-app-icon-1 {
  animation: lcAppIcon1 18s ease-in-out infinite;
}
.lc-app-icon-2 {
  animation: lcAppIcon2 24s ease-in-out infinite;
  animation-delay: -8s;
}
.lc-app-icon-3 {
  animation: lcAppIcon3 21s ease-in-out infinite;
  animation-delay: -14s;
}

/* Float around in elliptical/figure-8 paths — NOT static orbits */
@keyframes lcAppIcon1 {
  0%   { transform: translate( 180px, -150px) rotate(8deg); }
  25%  { transform: translate( 220px,   40px) rotate(-5deg); }
  50%  { transform: translate(  60px,  180px) rotate(12deg); }
  75%  { transform: translate(-140px,   90px) rotate(-8deg); }
  100% { transform: translate( 180px, -150px) rotate(8deg); }
}
@keyframes lcAppIcon2 {
  0%   { transform: translate(-200px,  -80px) rotate(-10deg); }
  25%  { transform: translate( -90px, -200px) rotate(6deg); }
  50%  { transform: translate( 150px, -120px) rotate(-4deg); }
  75%  { transform: translate( 200px,   60px) rotate(10deg); }
  100% { transform: translate(-200px,  -80px) rotate(-10deg); }
}
@keyframes lcAppIcon3 {
  0%   { transform: translate(-160px,  150px) rotate(5deg); }
  25%  { transform: translate(  80px,  210px) rotate(-12deg); }
  50%  { transform: translate( 200px,    0px) rotate(8deg); }
  75%  { transform: translate( -40px, -180px) rotate(-6deg); }
  100% { transform: translate(-160px,  150px) rotate(5deg); }
}

@media (max-width: 1024px) {
  .lc-app-icon { width: 38px; height: 38px; margin-top: -19px; margin-left: -19px; }
  .lcai-shape svg { width: 18px; height: 18px; }
}
@media (max-width: 768px) {
  .lc-app-icon { width: 32px; height: 32px; margin-top: -16px; margin-left: -16px; }
  .lcai-shape svg { width: 16px; height: 16px; }
  /* Scale orbits in for mobile */
  @keyframes lcAppIcon1 {
    0%,100% { transform: translate( 110px,  -90px) rotate(8deg); }
    25%     { transform: translate( 130px,   25px) rotate(-5deg); }
    50%     { transform: translate(  35px,  110px) rotate(12deg); }
    75%     { transform: translate( -85px,   55px) rotate(-8deg); }
  }
  @keyframes lcAppIcon2 {
    0%,100% { transform: translate(-120px,  -50px) rotate(-10deg); }
    25%     { transform: translate( -55px, -120px) rotate(6deg); }
    50%     { transform: translate(  90px,  -70px) rotate(-4deg); }
    75%     { transform: translate( 120px,   35px) rotate(10deg); }
  }
  @keyframes lcAppIcon3 {
    0%,100% { transform: translate( -95px,   90px) rotate(5deg); }
    25%     { transform: translate(  50px,  125px) rotate(-12deg); }
    50%     { transform: translate( 120px,    0px) rotate(8deg); }
    75%     { transform: translate( -25px, -110px) rotate(-6deg); }
  }
}

/* ==========================================================================
   SERVICE MODAL (Studio.html — Premium Plus Hauptseite)
   ========================================================================== */
.service-card-clickable {
  cursor: pointer;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}
.modal.is-open {
  display: flex;
  animation: modalFade 0.4s cubic-bezier(0.65, 0, 0.35, 1);
}
@keyframes modalFade { from { opacity: 0; } }

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 11, 0.92);
  backdrop-filter: blur(20px);
  cursor: pointer;
}

.modal-window {
  position: relative;
  background: linear-gradient(180deg, #0E0E10, #0A0A0B);
  border: 1px solid rgba(201, 169, 97, 0.3);
  border-radius: 20px;
  width: 100%;
  max-width: 720px;
  max-height: 88vh;
  overflow-y: auto;
  padding: 56px 48px;
  box-shadow:
    0 60px 120px -20px rgba(0, 0, 0, 0.8),
    0 0 100px -20px rgba(201, 169, 97, 0.3);
  animation: modalSlideUp 0.5s cubic-bezier(0.65, 0, 0.35, 1);
}
@keyframes modalSlideUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(10, 10, 11, 0.6);
  border: 1px solid rgba(245, 242, 236, 0.08);
  color: #F5F2EC;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.modal-close:hover {
  background: #C9A961;
  color: #0A0A0B;
  border-color: #C9A961;
}

.modal-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.modal-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.35em;
  color: #C9A961;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.modal-eyebrow-num {
  padding: 4px 10px;
  border: 1px solid rgba(201, 169, 97, 0.4);
  border-radius: 12px;
}

.modal-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.05;
  color: #F5F2EC;
}
.modal-title em {
  font-style: italic;
  font-weight: 300;
  background: linear-gradient(135deg, #C9A961, #9D7E3B);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.modal-price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 20px 24px;
  background: rgba(201, 169, 97, 0.06);
  border: 1px solid rgba(201, 169, 97, 0.2);
  border-radius: 12px;
  margin: 12px 0;
}
.modal-price-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 48px;
  color: #F5F2EC;
  line-height: 1;
}
.modal-price-meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: rgba(245, 242, 236, 0.55);
  text-transform: uppercase;
}
.modal-price-maint {
  margin-left: auto;
  text-align: right;
}
.modal-price-maint-label {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: rgba(245, 242, 236, 0.55);
  text-transform: uppercase;
}
.modal-price-maint-value {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  color: #C9A961;
}

.modal-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.modal-section-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: #C9A961;
  text-transform: uppercase;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(245, 242, 236, 0.08);
}
.modal-section-text {
  font-size: 15px;
  color: #F5F2EC;
  line-height: 1.7;
}
.modal-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.modal-features li {
  font-size: 14px;
  color: #F5F2EC;
  padding-left: 24px;
  position: relative;
  line-height: 1.5;
}
.modal-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #C9A961;
  font-weight: bold;
  font-size: 16px;
}

.modal-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
  padding: 18px 32px;
  background: linear-gradient(135deg, #C9A961, #9D7E3B);
  color: #0A0A0B;
  border: none;
  border-radius: 32px;
  font-family: 'Inter Tight', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
}
.modal-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(201, 169, 97, 0.4);
}

@media (max-width: 768px) {
  .modal-window {
    padding: 40px 24px;
    max-height: 92vh;
  }
  .modal-price {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .modal-price-maint {
    margin-left: 0;
    text-align: left;
  }
  .modal-price-value { font-size: 36px; }
  .modal-close { top: 12px; right: 12px; }
}
