/* ==========================================================
   NoahsJourney — style.css
   Dunkel + Orange, abgeleitet vom Profilbild (Licht-Lamellen)
   ========================================================== */

@font-face { font-family: "Archivo"; src: url("../fonts/archivo.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Inter Tight"; src: url("../fonts/inter-tight.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/jetbrains-mono-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --bg: #0a0706;
  --bg-2: #130d0a;
  --bg-3: #1c1410;
  --ink: #f4ede7;
  --ink-2: #b9aca3;
  --ink-3: #9a8e86;
  --line: rgba(244, 237, 231, .12);
  --orange: #fe6708;
  --orange-hot: #ff8a2a;
  --orange-deep: #c43d02;
  --glow: rgba(254, 103, 8, .35);

  --f-display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --f-body: "Inter Tight", system-ui, -apple-system, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;

  --step--1: clamp(.82rem, .79rem + .15vw, .92rem);
  --step-0: clamp(1rem, .96rem + .2vw, 1.125rem);
  --step-1: clamp(1.2rem, 1.1rem + .5vw, 1.5rem);
  --step-2: clamp(1.6rem, 1.3rem + 1.4vw, 2.5rem);
  --step-3: clamp(2.2rem, 1.6rem + 3vw, 4.5rem);
  --step-4: clamp(3rem, 1.6rem + 7vw, 9rem);
  --step-5: clamp(3.4rem, 1rem + 11.5vw, 14rem);

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1440px;
  --radius: 4px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video, canvas, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--orange); color: #000; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--orange); color: #000; padding: .6rem 1rem; }
.skip:focus { top: 1rem; }

/* Grain über allem — wie Filmkorn */
body::after {
  content: ""; position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(6) infinite;
}
@media (hover: none), (max-width: 860px) { body::after { animation: none; inset: 0; } }
@keyframes grain { 0%{transform:translate(0,0)} 20%{transform:translate(-3%,2%)} 40%{transform:translate(2%,-4%)} 60%{transform:translate(-4%,-1%)} 80%{transform:translate(3%,3%)} 100%{transform:translate(0,0)} }

/* ---------- Typo ---------- */
.display {
  font-family: var(--f-display);
  font-stretch: 112%;
  font-weight: 800;
  line-height: .9;
  letter-spacing: -.02em;
  text-transform: uppercase;
  margin: 0;
}
.h2 { font-family: var(--f-display); font-stretch: 105%; font-weight: 750; font-size: var(--step-3); line-height: .98; letter-spacing: -.02em; margin: 0; text-transform: uppercase; }
.h3 { font-family: var(--f-display); font-stretch: 100%; font-weight: 700; font-size: var(--step-2); line-height: 1.05; margin: 0; }
.lead { font-size: var(--step-1); line-height: 1.45; color: var(--ink-2); max-width: 38ch; margin: 0; }
.tc { font-family: var(--f-mono); font-size: .78rem; letter-spacing: .06em; color: var(--ink-3); text-transform: uppercase; }
.accent { color: var(--orange); }
.prose p { color: var(--ink-2); max-width: 62ch; margin: 0 0 1.1em; }
.prose p strong { color: var(--ink); font-weight: 600; }

/* ---------- Buttons ---------- */
.btn {
  --h: 54px;
  display: inline-flex; align-items: center; gap: .7rem; height: var(--h); padding: 0 1.5rem;
  border-radius: 999px; font-weight: 600; font-size: 1rem; letter-spacing: .01em;
  background: var(--orange); color: #120600; position: relative; overflow: hidden; isolation: isolate;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  box-shadow: 0 0 0 0 var(--glow);
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--ink); transform: translateY(101%); transition: transform .5s var(--ease); }
.btn:hover::before { transform: translateY(0); }
.btn:hover { box-shadow: 0 10px 40px -8px var(--glow); }
.btn .arr { transition: transform .4s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn--ghost::before { background: var(--orange); }
.btn--ghost:hover { color: #120600; }
.btn[disabled], .btn[aria-disabled="true"] { background: var(--bg-3); color: var(--ink-3); cursor: not-allowed; box-shadow: inset 0 0 0 1px var(--line); }
.btn[disabled]::before, .btn[aria-disabled="true"]::before { display: none; }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; transition: transform .5s var(--ease), background .4s; }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header.is-solid { background: rgba(10, 7, 6, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { font-family: var(--f-display); font-weight: 800; font-stretch: 118%; font-size: 1.05rem; letter-spacing: .02em; text-transform: uppercase; display: flex; align-items: center; gap: .55rem; }
.logo .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 14px var(--orange); }
.nav-links { display: flex; gap: 2.2rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { font-size: .95rem; color: var(--ink-2); position: relative; padding: .3rem 0; transition: color .3s; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--orange); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { display: inline-flex; }
.nav-cta .btn { --h: 42px; padding: 0 1.1rem; font-size: .9rem; }
.menu-btn { display: none; width: 44px; height: 44px; position: relative; }
.menu-btn span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink); transition: transform .4s var(--ease), top .4s var(--ease); }
.menu-btn span:nth-child(1) { top: 17px; } .menu-btn span:nth-child(2) { top: 25px; }
.menu-open .menu-btn span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

.mobile-menu { position: fixed; inset: 0; z-index: 45; background: var(--bg); display: flex; flex-direction: column; justify-content: center; padding: var(--gutter); clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease); }
.menu-open .mobile-menu { clip-path: inset(0 0 0 0); }
.mobile-menu a { font-family: var(--f-display); font-weight: 800; font-stretch: 115%; text-transform: uppercase; font-size: clamp(2.6rem, 12vw, 4.5rem); line-height: 1.05; display: block; }
.mobile-menu a:hover { color: var(--orange); }
.mobile-menu .tc { margin-top: 2.5rem; }

@media (max-width: 860px) {
  .nav-links, .nav-cta { display: none; }
  .menu-btn { display: block; }
}

/* ---------- Hero (Viewfinder) ---------- */
.hero { position: relative; min-height: 100svh; display: grid; place-items: end start; overflow: hidden; padding-bottom: clamp(64px, 10vh, 120px); }
.slats { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero::before { /* Vignette */
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(120% 90% at 50% 40%, transparent 30%, rgba(10,7,6,.85) 75%, var(--bg) 100%),
              linear-gradient(to bottom, transparent 55%, var(--bg));
}
.viewfinder { position: absolute; inset: clamp(84px, 11vh, 110px) var(--gutter) clamp(18px, 3vh, 32px); z-index: 2; pointer-events: none; }
.vf-corner { position: absolute; width: clamp(22px, 3vw, 40px); height: clamp(22px, 3vw, 40px); border: 0 solid rgba(244,237,231,.55); }
.vf-corner.tl { top: 0; left: 0; border-top-width: 2px; border-left-width: 2px; }
.vf-corner.tr { top: 0; right: 0; border-top-width: 2px; border-right-width: 2px; }
.vf-corner.bl { bottom: 0; left: 0; border-bottom-width: 2px; border-left-width: 2px; }
.vf-corner.br { bottom: 0; right: 0; border-bottom-width: 2px; border-right-width: 2px; }
.vf-top { position: absolute; top: 14px; left: 22px; right: 22px; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.rec { display: inline-flex; align-items: center; gap: .5rem; color: var(--ink); font-family: var(--f-mono); font-size: .78rem; letter-spacing: .1em; }
.rec i { width: 10px; height: 10px; border-radius: 50%; background: #ff2a1a; box-shadow: 0 0 10px #ff2a1a; animation: blink 1.2s steps(2, start) infinite; }
@keyframes blink { to { visibility: hidden; } }
.vf-meta { display: flex; gap: 1.4rem; }
.vf-center { position: absolute; left: 50%; top: 50%; width: 26px; height: 26px; transform: translate(-50%, -50%); opacity: .5; }
.vf-center::before, .vf-center::after { content: ""; position: absolute; background: var(--ink); }
.vf-center::before { left: 50%; top: 0; bottom: 0; width: 1px; }
.vf-center::after { top: 50%; left: 0; right: 0; height: 1px; }

.hero-content { position: relative; z-index: 3; width: 100%; }
.hero-name { font-size: var(--step-5); }
.hero-name .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero-name .line > span { display: inline-block; }
.hero-name .line:nth-child(2) { color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.hero-sub { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 2rem; margin-top: clamp(24px, 3vw, 40px); }
.hero-sub .lead { color: var(--ink); }
.hero-sub .lead em { font-style: normal; color: var(--orange); }
.hero-actions { display: flex; gap: .8rem; flex-wrap: wrap; }
@media (max-width: 860px) {
  .hero-sub { grid-template-columns: 1fr; }
  .vf-meta .hide-sm { display: none; }
}

/* ---------- Sections ---------- */
section { position: relative; }
.section { padding-block: clamp(72px, 10vw, 140px); }
.section-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 2rem; margin-bottom: clamp(40px, 6vw, 80px); }
.section-head .tc { padding-bottom: .6rem; }
@media (max-width: 700px) { .section-head { grid-template-columns: 1fr; gap: 1rem; } }

/* Marquee */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 1.1rem 0; white-space: nowrap; }
.marquee-track { display: inline-flex; gap: 3rem; will-change: transform; }
.marquee span { font-family: var(--f-display); font-weight: 750; font-stretch: 112%; text-transform: uppercase; font-size: var(--step-2); display: inline-flex; align-items: center; gap: 3rem; color: var(--ink-2); }
.marquee span::after { content: ""; width: .45em; height: .45em; border-radius: 50%; background: var(--orange); }

/* Showreel */
.reel { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--bg-2); border: 1px solid var(--line); }
.reel-inner { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; }
.reel-slats { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; }
.reel-label { position: relative; z-index: 2; }
.reel-label .h3 { font-stretch: 115%; text-transform: uppercase; }
.reel-play { width: clamp(72px, 9vw, 120px); height: clamp(72px, 9vw, 120px); border-radius: 50%; background: var(--orange); display: grid; place-items: center; margin: 0 auto 1.4rem; box-shadow: 0 0 60px var(--glow); }
.reel-play svg { width: 34%; margin-left: 8%; }
.reel-hud { position: absolute; z-index: 2; inset: auto 18px 14px; display: flex; justify-content: space-between; }
.reel video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Shot list (Services) */
.shots { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.shot { display: grid; grid-template-columns: 7rem 1fr 1.2fr; gap: 2rem; align-items: baseline; padding: clamp(22px, 3vw, 36px) 0; border-bottom: 1px solid var(--line); position: relative; }
.shot::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(254,103,8,.14), transparent 70%); opacity: 0; transition: opacity .5s var(--ease); pointer-events: none; }
.shot:hover::before { opacity: 1; }
.shot .num { font-family: var(--f-mono); color: var(--orange); font-size: .85rem; letter-spacing: .08em; }
.shot h3 { font-family: var(--f-display); font-weight: 750; font-stretch: 110%; text-transform: uppercase; font-size: var(--step-2); line-height: 1; margin: 0; transition: transform .5s var(--ease); }
.shot:hover h3 { transform: translateX(10px); }
.shot p { margin: 0; color: var(--ink-2); max-width: 46ch; }
@media (max-width: 760px) { .shot { grid-template-columns: 1fr; gap: .5rem; } }

/* Split about */
.split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.portrait { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; background: var(--bg-2); }
.portrait img { width: 100%; height: 115%; object-fit: cover; object-position: 50% 30%; }
.portrait-tag { position: absolute; left: 14px; bottom: 12px; z-index: 2; }
.big-quote { font-family: var(--f-display); font-weight: 650; font-stretch: 100%; font-size: var(--step-2); line-height: 1.12; margin: 0 0 1.6rem; max-width: 22ch; }
.big-quote .w { color: var(--ink-3); }

/* Miro band */
.miro { background: var(--orange); color: #140700; overflow: hidden; }
.miro .wrap { display: grid; grid-template-columns: 1.3fr 1fr; gap: 3rem; align-items: end; }
.miro .h2 { font-size: var(--step-4); }
.miro p { margin: 0 0 1.6rem; font-size: var(--step-1); line-height: 1.45; max-width: 34ch; }
.miro .btn { background: #140700; color: var(--ink); }
.miro .btn::before { background: var(--ink); }
.miro .btn:hover { color: #140700; }
.miro .tc { color: rgba(20,7,0,.78); }
@media (max-width: 860px) { .miro .wrap { grid-template-columns: 1fr; } }

/* Product cards */
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: clamp(16px, 2vw, 28px); }
.product { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: border-color .4s, transform .6s var(--ease); }
.product:hover { border-color: rgba(254,103,8,.45); transform: translateY(-4px); }
.product-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #000; }
.product-media canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.product-media .pm-title { position: absolute; inset: auto 18px 16px; z-index: 2; font-family: var(--f-display); font-weight: 800; font-stretch: 120%; text-transform: uppercase; font-size: clamp(2rem, 4vw, 2.8rem); line-height: .9; }
.badge { position: absolute; top: 14px; left: 14px; z-index: 2; font-family: var(--f-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; background: var(--bg); color: var(--orange); border: 1px solid rgba(254,103,8,.5); padding: .35rem .6rem; border-radius: 999px; }
.product-body { padding: 22px; display: flex; flex-direction: column; gap: .8rem; flex: 1; }
.product-body h3 { font-family: var(--f-display); font-weight: 700; font-size: 1.35rem; margin: 0; }
.product-body p { margin: 0; color: var(--ink-2); font-size: .98rem; }
.product-meta { display: flex; flex-wrap: wrap; gap: .4rem; }
.chip { font-size: .78rem; color: var(--ink-2); border: 1px solid var(--line); padding: .25rem .6rem; border-radius: 999px; }
.product-foot { margin-top: auto; padding-top: .8rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; border-top: 1px solid var(--line); }
.price { font-family: var(--f-mono); color: var(--ink-3); font-size: .85rem; letter-spacing: .06em; }
.product-foot .btn { --h: 44px; font-size: .9rem; padding: 0 1.1rem; }
.product--ghost { border-style: dashed; background: transparent; display: grid; place-items: center; text-align: center; min-height: 320px; padding: 2rem; }
.product--ghost:hover { transform: none; }
.product--ghost p { color: var(--ink-3); max-width: 26ch; margin: .6rem auto 0; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); counter-reset: s; }
.step { border-top: 2px solid var(--orange); padding-top: 1.2rem; }
.step h3 { font-family: var(--f-display); font-weight: 700; font-size: 1.3rem; margin: .6rem 0 .4rem; }
.step p { margin: 0; color: var(--ink-2); }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1rem; padding: 1.4rem 0; font-weight: 600; font-size: var(--step-1); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--orange); font-family: var(--f-mono); transition: transform .4s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 1.4rem; color: var(--ink-2); max-width: 64ch; }

/* Page hero (Unterseiten) */
.page-hero { padding-top: clamp(140px, 20vh, 220px); padding-bottom: clamp(48px, 7vw, 96px); position: relative; overflow: hidden; }
.page-hero .display { font-size: var(--step-4); }
.page-hero .lead { margin-top: 1.6rem; }
.page-hero .slats { opacity: .35; mask-image: linear-gradient(to bottom, #000 0%, transparent 100%); -webkit-mask-image: linear-gradient(to bottom, #000 0%, transparent 100%); }
.page-hero .wrap { position: relative; z-index: 2; }

/* Values grid */
.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.value { background: var(--bg); padding: clamp(24px, 3.5vw, 48px); }
.value .tc { color: var(--orange); }
.value h3 { font-family: var(--f-display); font-weight: 750; font-stretch: 108%; text-transform: uppercase; font-size: var(--step-2); line-height: 1; margin: .8rem 0 .8rem; }
.value p { margin: 0; color: var(--ink-2); max-width: 44ch; }
@media (max-width: 760px) { .values { grid-template-columns: 1fr; } }

/* Process (Konzept → Schnitt) */
.process { display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.process::before { content: ""; position: absolute; top: 9px; left: 0; right: 0; height: 2px; background: var(--line); }
.process .bar { position: absolute; top: 9px; left: 0; height: 2px; width: 100%; background: var(--orange); transform-origin: left; transform: scaleX(0); box-shadow: 0 0 12px var(--orange); }
.pstep { position: relative; padding-right: 1.5rem; padding-top: 2.6rem; }
.pstep::before { content: ""; position: absolute; top: 3px; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--bg); border: 2px solid var(--orange); }
.pstep h3 { font-family: var(--f-display); font-weight: 800; font-stretch: 112%; text-transform: uppercase; font-size: var(--step-2); margin: .4rem 0 .5rem; line-height: 1; }
.pstep p { margin: 0; color: var(--ink-2); font-size: .98rem; }
@media (max-width: 860px) {
  .process { grid-template-columns: 1fr; gap: 2rem; padding-left: 2rem; }
  .process::before { top: 0; bottom: 0; left: 6px; right: auto; width: 2px; height: auto; }
  .process .bar { top: 0; left: 6px; width: 2px; height: 100%; transform-origin: top; transform: scaleY(0); }
  .pstep { padding-top: 0; }
  .pstep::before { left: -2rem; top: .2rem; }
}

/* Journey timeline */
.journey { list-style: none; margin: 0; padding: 0; }
.journey li { display: grid; grid-template-columns: 12rem 1fr; gap: 2rem; padding: 1.8rem 0; border-top: 1px solid var(--line); }
.journey li:last-child { border-bottom: 1px solid var(--line); }
.journey .when { font-family: var(--f-mono); color: var(--orange); font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; padding-top: .35rem; }
.journey h3 { margin: 0 0 .4rem; font-family: var(--f-display); font-weight: 700; font-size: var(--step-1); }
.journey p { margin: 0; color: var(--ink-2); max-width: 60ch; }
@media (max-width: 700px) { .journey li { grid-template-columns: 1fr; gap: .4rem; } }

/* CTA / Footer */
.cta-big { padding-block: clamp(72px, 10vw, 150px); text-align: left; overflow: hidden; position: relative; }
.cta-big .display { font-size: var(--step-5); }
.cta-big .display a { display: inline; transition: color .4s; }
.cta-big .display a:hover { color: var(--orange); }
.cta-big .display svg { display: inline-block; vertical-align: baseline; width: .62em; height: .62em; margin-left: .08em; transition: transform .5s var(--ease); }
.cta-big .display a:hover svg { transform: translate(.08em, -.08em); }
.cta-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }

.site-footer { border-top: 1px solid var(--line); padding-block: 36px; color: var(--ink-3); font-size: .9rem; }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem; align-items: center; }
.footer-grid nav { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.footer-grid a:hover { color: var(--orange); }

/* Legal */
.legal { padding-bottom: clamp(80px, 10vw, 140px); }
.legal h2 { font-family: var(--f-display); font-weight: 700; font-size: var(--step-1); margin: 2.4rem 0 .6rem; color: var(--ink); }
.legal p, .legal li { color: var(--ink-2); max-width: 70ch; }
.legal a { color: var(--orange); }

/* Reveal default (JS setzt Startzustand, ohne JS sichtbar) */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  body::after { animation: none; }
}

/* ---------- Sprachumschalter EN / DE ---------- */
.nav-right { display: flex; align-items: center; gap: 1rem; }
.lang-switch { display: inline-flex; padding: 3px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); font-family: var(--f-mono); font-size: .75rem; letter-spacing: .08em; }
.lang-switch a { padding: .38rem .7rem; border-radius: 999px; color: var(--ink-3); transition: color .3s, background .3s; }
.lang-switch a:hover { color: var(--ink); }
.lang-switch a[aria-current="true"] { background: var(--ink); color: var(--bg); }
@media (max-width: 860px) { .nav-right { gap: .4rem; } }

/* ==========================================================
   Mobile Navigation — Liquid-Glass-Button mit vertikalem Menü
   ========================================================== */
.navfab { display: none; }
@media (max-width: 860px) {
  .navfab { display: block; }
  .hero { padding-bottom: calc(40px + env(safe-area-inset-bottom)); }
  body { padding-bottom: 0; }
}
.navfab-btn {
  position: fixed; z-index: 62;
  right: max(16px, env(safe-area-inset-right)); bottom: calc(16px + env(safe-area-inset-bottom));
  width: 62px; height: 62px; border-radius: 50%;
  display: grid; place-items: center;
  -webkit-tap-highlight-color: transparent; touch-action: none;
  transition: transform .5s var(--ease);
}
.navfab-btn:active { transform: scale(.9); }

/* Glasmaterial: geteilt von Button und Panel */
.navfab-btn, .tabbar-glass {
  isolation: isolate;
  background:
    radial-gradient(120% 140% at 50% 120%, rgba(254,103,8,.24), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,.04) 55%, rgba(255,255,255,.09));
  -webkit-backdrop-filter: blur(16px) saturate(190%) brightness(1.08);
  backdrop-filter: blur(16px) saturate(190%) brightness(1.08);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.5),
    inset 0 -1px 1px rgba(255,255,255,.14),
    inset 1px 0 0 rgba(255,255,255,.10),
    inset -1px 0 0 rgba(255,255,255,.10),
    0 18px 44px -10px rgba(0,0,0,.75),
    0 0 30px -10px var(--glow);
}
.lg-refract .navfab-btn, .lg-refract .tabbar-glass {
  -webkit-backdrop-filter: url(#lg-refract) blur(10px) saturate(190%) brightness(1.08);
  backdrop-filter: url(#lg-refract) blur(10px) saturate(190%) brightness(1.08);
}
.navfab-btn::before, .tabbar-glass::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; z-index: 3; pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,.75), rgba(255,255,255,.06) 30%, rgba(255,255,255,0) 60%, rgba(255,170,110,.5));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}

/* Icon: drei Licht-Lamellen → X */
.fab-ico { position: relative; width: 22px; height: 22px; display: block; }
.fab-ico i { position: absolute; top: 2px; bottom: 2px; width: 3px; border-radius: 2px; background: var(--orange-hot); box-shadow: 0 0 10px rgba(254,103,8,.8); transition: transform .55s var(--ease), opacity .3s, top .55s var(--ease), bottom .55s var(--ease); }
.fab-ico i:nth-child(1) { left: 3px; top: 6px; bottom: 6px; }
.fab-ico i:nth-child(2) { left: 9.5px; }
.fab-ico i:nth-child(3) { left: 16px; top: 5px; bottom: 5px; }
.navfab[data-open="true"] .fab-ico i { top: 1px; bottom: 1px; background: var(--ink); box-shadow: none; }
.navfab[data-open="true"] .fab-ico i:nth-child(1) { transform: translateX(6.5px) rotate(45deg); }
.navfab[data-open="true"] .fab-ico i:nth-child(2) { opacity: 0; transform: scaleY(0); }
.navfab[data-open="true"] .fab-ico i:nth-child(3) { transform: translateX(-6.5px) rotate(-45deg); }

/* Abdunkeln hinter dem offenen Menü */
.navfab-scrim { position: fixed; inset: 0; z-index: 60; background: rgba(5,3,2,.35); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); opacity: 0; pointer-events: none; transition: opacity .45s var(--ease); }
.navfab[data-open="true"] .navfab-scrim { opacity: 1; pointer-events: auto; }

/* Vertikales Panel über dem Button */
.navfab-panel {
  position: fixed; z-index: 61;
  right: max(16px, env(safe-area-inset-right)); bottom: calc(90px + env(safe-area-inset-bottom));
  width: 212px; transform-origin: 100% 100%;
  opacity: 0; pointer-events: none;
  transform: translate(10px, 40px) scale(.25);
  filter: blur(6px);
  transition: opacity .35s var(--ease), transform .6s cubic-bezier(.34, 1.4, .64, 1), filter .4s var(--ease);
}
.navfab[data-open="true"] .navfab-panel { opacity: 1; pointer-events: auto; transform: none; filter: none; }
.tabbar-glass { position: relative; display: grid; grid-auto-rows: 54px; padding: 7px; border-radius: 30px; overflow: hidden; }
.tabbar-glass::after {
  content: ""; position: absolute; z-index: 0; pointer-events: none; inset: 0;
  background: radial-gradient(120px 60px at 0% var(--gy, 0%), rgba(255,255,255,.22), transparent 70%);
}
.tab {
  position: relative; z-index: 2; display: flex; align-items: center; gap: 14px; padding: 0 16px;
  color: rgba(244,237,231,.8); font-size: 1.02rem; font-weight: 600; letter-spacing: .01em; border-radius: 22px;
  opacity: 0; transform: translateY(10px);
  transition: color .35s var(--ease), opacity .4s var(--ease), transform .5s var(--ease);
  -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; -webkit-user-drag: none; -webkit-tap-highlight-color: transparent;
}
.navfab[data-open="true"] .tab { opacity: 1; transform: none; }
.navfab[data-open="true"] .tab:nth-child(2) { transition-delay: .04s; }
.navfab[data-open="true"] .tab:nth-child(3) { transition-delay: .08s; }
.navfab[data-open="true"] .tab:nth-child(4) { transition-delay: .12s; }
.navfab[data-open="true"] .tab:nth-child(5) { transition-delay: .16s; }
.tab svg { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .5s var(--ease); }
.tab.is-active { color: var(--orange-hot); }
.tab.is-active svg { transform: scale(1.08); filter: drop-shadow(0 0 8px rgba(254,103,8,.6)); }

/* Der Glas-Tropfen unter dem aktiven Eintrag */
.tab-indicator {
  position: absolute; z-index: 1; left: 7px; right: 7px; top: 0; height: 54px; border-radius: 22px;
  background:
    radial-gradient(120% 90% at 0% 50%, rgba(254,103,8,.35), transparent 65%),
    linear-gradient(180deg, rgba(255,255,255,.22), rgba(255,255,255,.06));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.55),
    inset 0 -1px 0 rgba(255,255,255,.12),
    inset 0 0 0 1px rgba(255,255,255,.10),
    0 6px 18px -6px rgba(0,0,0,.6),
    0 0 22px -6px rgba(254,103,8,.55);
  will-change: transform; opacity: 0; transition: opacity .3s;
}
.tab-indicator.ready { opacity: 1; }
.navfab.is-dragging .tab-indicator { box-shadow: inset 0 1px 0 rgba(255,255,255,.7), inset 0 0 0 1px rgba(255,255,255,.18), 0 10px 30px -6px rgba(0,0,0,.7), 0 0 34px -4px rgba(254,103,8,.8); }

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .navfab-btn, .tabbar-glass { background: rgba(28,20,16,.95); }
}

@media (max-width: 860px) { .site-footer { padding-bottom: calc(100px + env(safe-area-inset-bottom)); } }

/* ==========================================================
   Work: Frame-Stapel
   ========================================================== */
.pile-section { padding-bottom: clamp(24px, 4vw, 48px); }
.pile { position: relative; height: clamp(300px, 58vh, 620px); outline: none; touch-action: pan-y; cursor: ew-resize; -webkit-user-select: none; user-select: none; }
.frame {
  position: absolute; top: 50%; left: 0; margin: 0;
  width: clamp(240px, 44%, 640px); aspect-ratio: 16 / 9;
  border-radius: 6px; overflow: hidden; background: var(--bg-2);
  box-shadow: 0 1px 0 rgba(255,255,255,.08) inset, 0 20px 50px -18px rgba(0,0,0,.85);
  transform: translate(var(--x), calc(-50% + var(--y))) rotate(var(--r)) scale(var(--s, 1));
  filter: brightness(var(--b, .55)) saturate(var(--sat, .8));
  transition: transform .75s cubic-bezier(.22, 1, .36, 1), filter .5s var(--ease), box-shadow .5s var(--ease);
  will-change: transform;
}
.frame img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.frame.is-active { --b: 1; --sat: 1; box-shadow: 0 0 0 1px rgba(254,103,8,.55), 0 40px 90px -20px rgba(0,0,0,.95), 0 0 60px -20px var(--glow); }
.frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,.35)); pointer-events: none; }
.pile-hud { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.5rem; padding-top: 1.4rem; border-top: 1px solid var(--line); margin-top: 1.4rem; }
.pile-title strong { font-family: var(--f-display); font-weight: 700; font-size: var(--step-1); margin-right: .6rem; }
.pile-hint .hint-m { display: none; }
@media (hover: none) { .pile-hint .hint-d { display: none; } .pile-hint .hint-m { display: inline; } }
@media (max-width: 700px) {
  .frame { width: 74%; }
  .pile { height: clamp(260px, 52vh, 420px); }
  .pile-hud { grid-template-columns: 1fr auto; }
  .pile-hint { grid-column: 1 / -1; }
}

/* Projektliste */
.projects { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.projects li > a, .projects li > div { display: grid; grid-template-columns: 4rem 1fr auto auto; gap: 1.5rem; align-items: baseline; padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.projects .num { font-family: var(--f-mono); color: var(--orange); font-size: .85rem; }
.projects .t { font-family: var(--f-display); font-weight: 700; font-size: var(--step-1); }
.projects .c { color: var(--ink-2); font-size: .95rem; }
.projects .soon { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.projects a .arr { color: var(--orange); transition: transform .4s var(--ease); }
.projects a:hover .t { color: var(--orange); }
.projects a:hover .arr { transform: translate(3px, -3px); }
@media (max-width: 700px) { .projects li > a, .projects li > div { grid-template-columns: 3rem 1fr auto; } .projects .c { grid-column: 2; grid-row: 2; } }

@media (max-width: 700px) { .miro .h2 { font-size: clamp(2.2rem, 11.5vw, 3.4rem); } }
@media (max-width: 700px) { .reel-hud span:first-child { display: none; } .reel-label .tc { display: none; } }

/* Startseite: Frame-Laufband */
.frames-strip { padding-bottom: clamp(72px, 10vw, 140px); overflow: hidden; }
.strip-link { display: grid; gap: clamp(10px, 1.2vw, 18px); }
.strip-row { display: flex; gap: clamp(10px, 1.2vw, 18px); width: max-content; will-change: transform; }
.strip-row[data-dir="-1"] { transform: translateX(-18%); }
.strip-row img { width: clamp(220px, 26vw, 400px); height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 4px; filter: brightness(.75) saturate(.9); transition: filter .5s var(--ease), transform .6s var(--ease); }
.strip-link:hover .strip-row img { filter: brightness(.55) saturate(.7); }
.strip-link .strip-row img:hover { filter: brightness(1) saturate(1); transform: scale(1.04); }
.strip-foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: clamp(20px, 3vw, 36px); flex-wrap: wrap; }

/* ==========================================================
   Shop: Karten, Produktseite, Vorher/Nachher
   ========================================================== */
.product-media { display: block; }
.product-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.7); transition: transform .8s var(--ease), filter .5s; }
.product:hover .product-media img { transform: scale(1.04); filter: brightness(.85); }
.product-body h3 a:hover { color: var(--orange); }

.product-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (max-width: 960px) { .product-layout { grid-template-columns: 1fr; } }

.compare { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; --pos: 50%; }
.compare > img, .compare-before img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--ink); box-shadow: 0 0 12px rgba(0,0,0,.6); pointer-events: none; }
.compare-knob { position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: rgba(10,7,6,.55); border: 2px solid var(--ink); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.compare-knob::before, .compare-knob::after { content: ""; position: absolute; top: 50%; width: 0; height: 0; margin-top: -5px; border: 5px solid transparent; }
.compare-knob::before { left: 7px; border-right-color: var(--ink); }
.compare-knob::after { right: 7px; border-left-color: var(--ink); }
.compare-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.compare-range:focus-visible + .compare-tag { outline: none; }
.compare:has(.compare-range:focus-visible) .compare-knob { border-color: var(--orange); }
.compare-tag { position: absolute; top: 12px; padding: .3rem .6rem; border-radius: 999px; background: rgba(10,7,6,.7); color: var(--ink); pointer-events: none; }
.compare-tag.tl { left: 12px; } .compare-tag.tr { right: 12px; }
.compare figcaption { position: absolute; left: 12px; bottom: 10px; color: var(--ink-2); pointer-events: none; }

.buybox { position: sticky; top: 100px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 2.4vw, 32px); display: grid; gap: 1rem; }
.buy-price { font-family: var(--f-display); font-weight: 800; font-stretch: 110%; font-size: var(--step-3); line-height: 1; margin: 0; }
.btn--big { --h: 60px; justify-content: center; width: 100%; font-size: 1.05rem; }
.buy-note { margin: 0; color: var(--ink-3); font-size: .85rem; }
.specs { margin: .4rem 0 0; border-top: 1px solid var(--line); }
.specs div { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.specs dt { color: var(--ink-3); } .specs dd { margin: 0; color: var(--ink-2); }
@media (max-width: 960px) { .buybox { position: static; } }

.includes { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.includes li { padding: 1.1rem 0 1.1rem 2rem; border-bottom: 1px solid var(--line); position: relative; font-size: var(--step-1); }
.includes li::before { content: ""; position: absolute; left: 0; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 10px var(--orange); }

/* Kurz-Reviews im About-Teaser */
.reviews { list-style: none; margin: 2.2rem 0 0; padding: 0; display: grid; gap: .8rem; max-width: 560px; }
.reviews li { padding: .9rem 1.1rem; border-left: 2px solid var(--orange); background: linear-gradient(90deg, rgba(254,103,8,.08), transparent 80%); border-radius: 0 var(--radius) var(--radius) 0; }
.reviews p { margin: 0 0 .25rem; font-size: 1rem; line-height: 1.45; color: var(--ink); }
.reviews span { font-size: .8rem; color: var(--ink-3); }

/* ==========================================================
   Feinschliff: Seitenwechsel, Cursor, Blur-up, Hover-Clips
   ========================================================== */
@view-transition { navigation: auto; }
.site-header { view-transition-name: site-header; }
.navfab-btn { view-transition-name: navfab-btn; }
::view-transition-old(root) { animation: vt-out .32s cubic-bezier(.4, 0, 1, 1) both; }
::view-transition-new(root) { animation: vt-in .6s cubic-bezier(.22, 1, .36, 1) both; }
@keyframes vt-out { to { opacity: 0; transform: scale(.985); filter: blur(6px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(28px); filter: blur(4px); } }
@media (prefers-reduced-motion: reduce) { ::view-transition-old(root), ::view-transition-new(root) { animation: none; } }

/* Blur-up: Mini-Vorschau als Hintergrund, Bild blendet weich ein */
.ph { position: relative; display: block; flex: none; width: clamp(220px, 26vw, 400px); aspect-ratio: 16 / 9; border-radius: 4px; overflow: hidden; background-size: cover; background-position: center; }
.strip-row .ph img { width: 100%; height: 100%; }
.frame { background-size: cover; background-position: center; }
.js .ph > img, .js .frame > img { opacity: 0; transition: opacity .7s var(--ease), filter .5s var(--ease), transform .6s var(--ease); }
.js .ph > img.is-loaded, .js .frame > img.is-loaded { opacity: 1; }
.strip-link .ph:hover img { filter: brightness(1) saturate(1); transform: scale(1.04); }
.strip-link .strip-row img:hover { transform: none; }

/* Hover-Clips */
.hover-clip { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .4s var(--ease); pointer-events: none; z-index: 1; }
.hover-clip.is-playing { opacity: 1; }

/* Eigener Cursor (nur Desktop mit Maus) */
.cursor { position: fixed; left: 0; top: 0; z-index: 120; pointer-events: none; display: none; }
.has-cursor .cursor { display: block; }
.cursor-ring { position: absolute; left: 0; top: 0; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(254, 103, 8, .92); color: #140700; font-family: var(--f-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase;
  transform: scale(0); transition: transform .45s cubic-bezier(.34, 1.56, .64, 1); box-shadow: 0 10px 30px -8px rgba(0,0,0,.6), 0 0 30px -6px var(--glow); }
.cursor.is-active .cursor-ring { transform: scale(1); }
.has-cursor [data-cursor], .has-cursor [data-cursor] * { cursor: none !important; }
.pile { isolation: isolate; }
