/* Service pages (/ai-product-photography/, /ki-produktfotos/).
   Concept: a photographer's contact sheet. Your photo is frame A, the campaign is the select, circled in grease pencil. */
:root {
  --bg: #0e0e0e;
  --sheet: #161513;
  --line: rgba(255,255,255,.12);
  --text: rgba(255,255,255,.78);
  --dim: rgba(255,255,255,.55);
  --white: #fff;
  --gold: #C7A56B;
  --gold-light: #E4CE9E;
  --mono: 'IBM Plex Mono', monospace;
  --display: 'Bebas Neue', sans-serif;
  --ease: cubic-bezier(.16,1,.3,1);
}
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { background: var(--bg); color: var(--text); font: 400 17px/1.65 'DM Sans', sans-serif; overflow-x: hidden; }
a { color: inherit; }
img { display: block; width: 100%; height: auto; }
::selection { background: var(--gold); color: var(--bg); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.wrap { max-width: 1240px; margin: 0 auto; padding: 0 48px; }
.gold { color: var(--gold); }
.edge { font: 500 12px/1.5 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }

h1, h2 { font-family: var(--display); font-weight: 400; color: var(--white); text-transform: uppercase; letter-spacing: .015em; line-height: .96; overflow-wrap: break-word; }
h1 { font-size: clamp(52px, 7.6vw, 112px); }
h2 { font-size: clamp(42px, 5.4vw, 76px); margin-bottom: 20px; }
h3 { font: 500 18px/1.35 'DM Sans', sans-serif; color: var(--white); margin-bottom: 8px; }
section { padding: 96px 0; border-top: 1px solid var(--line); }
.lede { max-width: 640px; font-size: 19px; margin-bottom: 48px; }

/* nav */
nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 48px; }
.logo { font: 27px/1 var(--display); letter-spacing: .06em; color: var(--white); text-decoration: none; }
.logo b { font-weight: 400; color: var(--gold); }
.nav-right { display: flex; align-items: center; gap: 24px; font: 500 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.nav-right a { color: var(--dim); text-decoration: none; }
.nav-right a:hover { color: var(--gold-light); }
.nav-right a[aria-current] { color: var(--gold); }
.nav-right .sep { color: var(--line); margin: 0 -18px; }

/* hero */
.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; padding-top: 32px; padding-bottom: 88px; }
.hero .edge { margin-bottom: 22px; }
.hero p.sub { font-size: 20px; max-width: 560px; margin: 26px 0 32px; }
.btns { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.btn { display: inline-block; padding: 15px 24px; font: 500 13px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; border: 1px solid var(--gold); border-radius: 2px; transition: background .25s, color .25s; }
.btn.solid { background: var(--gold); color: var(--bg); }
.btn.solid:hover { background: var(--gold-light); border-color: var(--gold-light); }
.btn:not(.solid) { color: var(--gold); }
.btn:not(.solid):hover { background: rgba(199,165,107,.12); }
.facts { margin-top: 26px; font: 400 13px/1.6 var(--mono); letter-spacing: .04em; color: var(--dim); }

/* frames + grease pencil */
.frame { position: relative; }
.frame .ph { position: relative; background: #000; }
.frame figcaption, .cap { margin-top: 10px; font: 400 12px/1.5 var(--mono); letter-spacing: .03em; color: var(--dim); }
.frame figcaption b, .cap b { font-weight: 500; color: var(--gold); }
.pencil { position: absolute; inset: -14px; width: calc(100% + 28px); height: calc(100% + 28px); overflow: visible; pointer-events: none; }
.pencil path { fill: none; stroke: var(--gold-light); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
/* a wipe, not a dash draw: non-scaling-stroke breaks pathLength dashes in Chrome */
.js .pencil { clip-path: inset(-6% 106% -6% -6%); transition: clip-path 1.3s var(--ease) .3s; }
.js .in .pencil { clip-path: inset(-6% -6% -6% -6%); }
.hero-shot { position: relative; max-width: 520px; justify-self: end; width: 100%; }
.inset { position: absolute; left: -44px; bottom: 56px; width: 34%; border: 6px solid var(--bg); box-shadow: 0 18px 40px rgba(0,0,0,.55); }
.inset span { position: absolute; left: 0; right: 0; bottom: 0; padding: 4px 6px; background: rgba(14,14,14,.85); font: 500 10.5px/1.3 var(--mono); letter-spacing: .06em; color: var(--gold-light); text-align: center; }

/* contact sheet */
.sheet { background: var(--sheet); border: 1px solid var(--line); padding: 44px; }
.pairs { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.pair { display: grid; grid-template-columns: .72fr 1fr; gap: 26px; align-items: end; }
.wide { margin-top: 64px; }
.wide .ph { aspect-ratio: 1920 / 1072; }
.note { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 15px; color: var(--dim); max-width: 780px; }

/* comparison */
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; vertical-align: top; padding: 18px 20px 18px 0; border-bottom: 1px solid var(--line); font-weight: 400; font-size: 16px; }
thead th { font: 500 12px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
tbody th { color: var(--white); font-weight: 500; width: 24%; }
.us { color: var(--white); }
thead .us { color: var(--gold); }

/* steps */
.steps { list-style: none; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 90px 1fr; gap: 12px; padding: 26px 0; border-top: 1px solid var(--line); }
.steps li::before { content: counter(s, decimal-leading-zero); font: 44px/1 var(--display); color: var(--gold); }
.steps p { max-width: 720px; }

/* fit */
.fit { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.fit ul { list-style: none; }
.fit li { padding: 12px 0; border-top: 1px solid var(--line); }
.fit .edge { margin-bottom: 14px; }

/* rate card */
.rates th:last-child, .rates td:last-child { text-align: right; padding-right: 0; }
.price { font: 40px/1 var(--display); color: var(--white); white-space: nowrap; }
.after { margin-top: 26px; max-width: 760px; }

/* faq */
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 42px 64px; }
.faq p + p { margin-top: 10px; }
.faq a, .link { color: var(--gold-light); text-underline-offset: 3px; }

/* founder */
.founder { display: grid; grid-template-columns: 300px 1fr; gap: 56px; align-items: center; }
.founder p { max-width: 640px; }
.founder p + p { margin-top: 14px; }

/* close */
.close-cta { text-align: left; }
.close-cta h2 { font-size: clamp(52px, 8vw, 120px); }
.close-cta p { max-width: 560px; margin-bottom: 28px; }
.ai-note { padding: 20px 0; border-top: 1px solid var(--line); font: 400 12.5px/1.6 var(--mono); color: var(--dim); }
footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; padding: 24px 48px 36px; border-top: 1px solid var(--line); font: 400 12.5px/1.5 var(--mono); color: var(--dim); }
footer a { text-decoration: none; }
footer a:hover { color: var(--gold-light); }
footer div { display: flex; flex-wrap: wrap; gap: 8px 22px; }

/* reveal: only when JS is on, so the copy is never hidden from anyone */
.js .rv { opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rv { opacity: 1; transform: none; transition: none; }
  .js .pencil { clip-path: none; transition: none; }
}

@media (max-width: 1000px) {
  .wrap { padding: 0 28px; }
  nav { padding: 16px 28px; }
  footer { padding: 24px 28px 32px; }
  section { padding: 72px 0; }
  .hero { grid-template-columns: 1fr; gap: 56px; padding-bottom: 64px; }
  .hero-shot { justify-self: start; max-width: 460px; margin-left: 36px; }
  .pairs { grid-template-columns: 1fr; gap: 48px; }
  .faq { grid-template-columns: 1fr; gap: 32px; }
  .founder { grid-template-columns: 200px 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  nav { padding: 14px 16px; }
  .nav-right { gap: 18px; }
  .nav-right .cta { display: none; }
  footer { padding: 22px 16px 30px; }
  section { padding: 60px 0; }
  .hero p.sub { font-size: 18px; }
  .lede { font-size: 17px; }
  .hero-shot { margin-left: 22px; max-width: calc(100% - 34px); }
  .inset { left: -22px; bottom: 44px; }
  .sheet { padding: 22px 16px; }
  .pair { gap: 18px; }
  .fit, .founder { grid-template-columns: 1fr; }
  .founder img { max-width: 240px; }
  .steps li { grid-template-columns: 56px 1fr; }
  .steps li::before { font-size: 34px; }
  /* tables become stacked rows, so the page never scrolls sideways */
  table, tbody, tr, th, td { display: block; width: 100%; }
  thead { display: none; }
  tbody tr { padding: 16px 0; border-bottom: 1px solid var(--line); }
  tbody th, td { border: 0; padding: 4px 0; }
  tbody th { width: 100%; font-size: 17px; margin-bottom: 4px; }
  td[data-l]::before { content: attr(data-l) ": "; color: var(--gold); font: 500 12px/1.4 var(--mono); }
  .rates td:last-child { text-align: left; }
  .price { font-size: 34px; }
}
