:root {
  --bg: #070b10;
  --paper: #edf5fb;
  --ink: #f7fbff;
  --muted: #b9c8d5;
  --soft: rgba(237, 245, 251, 0.1);
  --line: rgba(237, 245, 251, 0.2);
  --gold: #a9c7dc;
  --blue: #c7e7ff;
  --red: #8bb3cc;
  --max: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 52% 0%, rgba(169, 199, 220, 0.2), transparent 30%),
    linear-gradient(180deg, #111b25 0%, var(--bg) 42%);
}

body.lightbox-open {
  overflow: hidden;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(100% - 32px, var(--max));
  margin: 16px auto 0;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(7, 11, 16, 0.72);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  text-transform: lowercase;
}

.brand-mark {
  width: 36px;
  height: 36px;
  object-fit: cover;
  border-radius: 50%;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: clamp(12px, 3vw, 30px);
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--ink);
}

.language-switch {
  display: flex;
  flex: 0 0 auto;
  gap: 6px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(237, 245, 251, 0.08);
}

.language-button {
  min-height: 32px;
  border: 0;
  border-radius: 6px;
  padding: 0 9px;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 900;
  cursor: pointer;
}

.language-button.active,
.language-button:hover,
.language-button:focus-visible {
  color: #071019;
  background: var(--paper);
}

.hero {
  position: relative;
  min-height: 96vh;
  display: grid;
  align-items: end;
  padding: 148px max(20px, calc((100vw - var(--max)) / 2)) 70px;
  overflow: hidden;
  isolation: isolate;
}

.hero-art,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-art {
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translateY(calc(var(--scroll, 0) * 0.08px)) scale(1.04);
}

.hero-overlay {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(7, 11, 16, 0.92) 0%, rgba(7, 11, 16, 0.58) 34%, rgba(7, 11, 16, 0.12) 100%),
    linear-gradient(0deg, rgba(7, 11, 16, 0.96) 0%, transparent 44%),
    linear-gradient(180deg, rgba(7, 11, 16, 0.48) 0%, transparent 30%);
}

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

body.effects-ready .reveal {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

body.effects-ready .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.kicker,
.eyebrow {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p,
figure {
  margin-top: 0;
}

h1 {
  margin-bottom: 20px;
  font-size: clamp(4.3rem, 14vw, 11rem);
  line-height: 0.86;
  font-weight: 900;
  letter-spacing: 0;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.2rem, 5.5vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 0;
  font-size: clamp(1.25rem, 2vw, 1.8rem);
  line-height: 1.08;
}

.hero-copy {
  max-width: 650px;
  margin-bottom: 30px;
  color: var(--paper);
  font-size: clamp(1.08rem, 2vw, 1.45rem);
  line-height: 1.55;
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 900;
}

.button.primary {
  color: #071019;
  background: var(--gold);
  border-color: var(--gold);
}

.button.secondary {
  background: rgba(248, 244, 234, 0.08);
}

.statement,
.gallery-section,
.workflow-download,
.contact,
.imprint,
.site-footer {
  width: min(100% - 44px, var(--max));
  margin: 0 auto;
}

.statement {
  padding: 58px 0 92px;
}

.statement p {
  max-width: 1050px;
  margin-bottom: 0;
  color: var(--paper);
  font-size: clamp(1.5rem, 4vw, 3.35rem);
  font-weight: 800;
  line-height: 1.12;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(180px, 0.34fr) minmax(0, 0.66fr);
  gap: 32px;
  align-items: start;
  margin-bottom: 42px;
}

.gallery-section {
  padding: 92px 0;
}

.gallery-head {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(300px, 0.38fr);
  gap: 32px;
  align-items: end;
  margin-bottom: 28px;
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.filter-button {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  color: var(--ink);
  background: rgba(248, 244, 234, 0.07);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 900;
  cursor: pointer;
}

.filter-button.active,
.filter-button:hover,
.filter-button:focus-visible {
  color: #071019;
  background: var(--gold);
  border-color: var(--gold);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 310px;
  gap: 18px;
}

.gallery-card {
  position: relative;
  display: block;
  margin-bottom: 0;
  border: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #0c121a;
  color: inherit;
  cursor: zoom-in;
  font: inherit;
  text-align: left;
}

.gallery-card.wide {
  grid-column: span 2;
}

.gallery-card.tall {
  grid-row: span 2;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 700ms ease,
    filter 700ms ease;
}

.gallery-card:hover img,
.gallery-card:focus-visible img {
  transform: scale(1.055);
  filter: saturate(1.08) contrast(1.04);
}

.gallery-card.is-hidden {
  display: none;
}

.gallery-card span {
  position: absolute;
  left: 18px;
  bottom: 16px;
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--ink);
  background: rgba(8, 7, 6, 0.64);
  backdrop-filter: blur(10px);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  place-items: center;
  padding: 72px 24px 36px;
  background: rgba(7, 11, 16, 0.92);
  backdrop-filter: blur(18px);
}

.lightbox.is-open {
  display: grid;
}

.lightbox img {
  max-width: min(100%, 1320px);
  max-height: 78vh;
  border-radius: 8px;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.55);
  object-fit: contain;
}

.lightbox p {
  margin: 18px 0 0;
  color: var(--paper);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: rgba(248, 244, 234, 0.08);
  font: inherit;
  font-size: 1.15rem;
  font-weight: 900;
  cursor: pointer;
}

.workflow-download {
  padding: 10px 0 92px;
}

.workflow-panel {
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(120deg, rgba(169, 199, 220, 0.16), transparent 40%),
    linear-gradient(300deg, rgba(199, 231, 255, 0.12), transparent 42%),
    rgba(237, 245, 251, 0.055);
}

.workflow-copy {
  display: grid;
  align-items: flex-start;
  gap: 24px;
}

.workflow-copy p,
.workflow-steps p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

.workflow-body {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: 24px;
  align-items: start;
}

.workflow-info,
.workflow-previews {
  display: grid;
  gap: 18px;
}

.workflow-previews {
  grid-template-columns: minmax(150px, 0.42fr) minmax(0, 0.58fr);
  align-items: start;
}

.workflow-guide,
.workflow-requirements {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(7, 11, 16, 0.42);
}

.workflow-requirements {
  border-color: rgba(199, 231, 255, 0.38);
  background:
    linear-gradient(120deg, rgba(199, 231, 255, 0.1), transparent 58%),
    rgba(7, 11, 16, 0.42);
}

.workflow-guide h3,
.workflow-requirements h3 {
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.workflow-guide ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.55;
}

.workflow-guide li::marker {
  color: var(--blue);
  font-weight: 900;
}

.workflow-guide strong {
  color: var(--ink);
  font-weight: 900;
}

.workflow-requirements p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.65;
}

.download-button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 18px;
  color: #071019;
  background: var(--paper);
  font-weight: 900;
}

.before-after {
  width: 100%;
  max-width: 220px;
  justify-self: center;
}

.before-after.wide {
  max-width: none;
}

.compare-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 1066 / 1895;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #0a0f14;
  cursor: zoom-in;
  --zoom: 1;
  --origin-x: 50%;
  --origin-y: 50%;
}

.before-after.wide .compare-frame {
  aspect-ratio: 16 / 9;
}

.compare-image,
.compare-after {
  position: absolute;
  inset: 0;
}

.compare-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(var(--zoom));
  transform-origin: var(--origin-x) var(--origin-y);
  transition: transform 140ms ease, transform-origin 140ms ease;
}

.compare-after {
  clip-path: inset(0 0 0 var(--position));
}

.compare-label {
  position: absolute;
  top: 14px;
  z-index: 2;
  padding: 7px 9px;
  border-radius: 8px;
  color: var(--ink);
  background: rgba(7, 11, 16, 0.66);
  backdrop-filter: blur(10px);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.compare-label.before {
  left: 14px;
}

.compare-label.after {
  right: 14px;
}

.compare-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--position);
  z-index: 3;
  width: 2px;
  background: var(--paper);
  box-shadow: 0 0 18px rgba(237, 245, 251, 0.74);
  transform: translateX(-1px);
}

.compare-divider::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent 42%, var(--paper) 42%, var(--paper) 58%, transparent 58%),
    rgba(7, 11, 16, 0.78);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.38);
  transform: translate(-50%, -50%);
}

.workflow-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.workflow-steps article {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  min-height: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(199, 231, 255, 0.08), transparent 52%),
    rgba(7, 11, 16, 0.42);
}

.workflow-steps span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(199, 231, 255, 0.32);
  border-radius: 50%;
  color: var(--blue);
  font-weight: 900;
  line-height: 1;
}

.workflow-steps h3 {
  margin: 0 0 6px;
  font-size: 1rem;
}

.workflow-steps p {
  font-size: 0.92rem;
  line-height: 1.5;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.54fr) minmax(320px, 0.46fr);
  gap: 32px;
  align-items: start;
  padding: 78px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.contact-copy {
  display: grid;
  gap: 28px;
}

.contact h2 {
  max-width: 860px;
}

.contact-actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.contact-link,
.social-link {
  flex: 0 0 auto;
  padding: 18px 20px;
  border-radius: 8px;
  font-weight: 900;
}

.contact-link {
  color: #071019;
  background: var(--paper);
}

.social-link {
  border: 1px solid var(--line);
  background: rgba(248, 244, 234, 0.08);
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(248, 244, 234, 0.06);
}

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(248, 244, 234, 0.22);
  border-radius: 8px;
  padding: 14px 15px;
  color: var(--ink);
  background: rgba(7, 11, 16, 0.72);
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
  min-height: 150px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.form-submit {
  min-height: 50px;
  border: 0;
  border-radius: 8px;
  color: #071019;
  background: var(--gold);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.imprint {
  display: grid;
  grid-template-columns: minmax(0, 0.66fr) minmax(260px, 0.34fr);
  gap: 32px;
  padding: 54px 0 78px;
  border-bottom: 1px solid var(--line);
}

.imprint h2 {
  max-width: 760px;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
}

.imprint address {
  display: grid;
  gap: 8px;
  align-self: end;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(248, 244, 234, 0.06);
  font-style: normal;
  line-height: 1.5;
}

.imprint strong,
.imprint a {
  color: var(--ink);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 0 42px;
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 960px) {
  .hero {
    min-height: 88vh;
    padding-top: 132px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(7, 11, 16, 0.9), rgba(7, 11, 16, 0.34)),
      linear-gradient(0deg, rgba(7, 11, 16, 0.94), transparent 52%);
  }

  .section-heading,
  .gallery-head,
  .workflow-body,
  .workflow-steps,
  .workflow-previews,
  .contact,
  .imprint {
    grid-template-columns: 1fr;
  }

  .before-after {
    max-width: 280px;
  }

  .before-after.wide {
    max-width: none;
  }

  .gallery {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 280px;
  }

  .gallery-filters {
    justify-content: flex-start;
  }

  .imprint,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .site-header {
    width: calc(100% - 24px);
    margin-top: 12px;
    gap: 12px;
  }

  .brand span {
    display: none;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
    gap: 10px 14px;
    font-size: 0.84rem;
  }

  .language-switch {
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    padding-inline: 18px;
    padding-bottom: 48px;
  }

  .hero-art {
    object-position: 58% center;
  }

  .hero-copy {
    font-size: 1.02rem;
  }

  .button {
    width: 100%;
  }

  .statement,
  .gallery-section,
  .workflow-download,
  .contact,
  .imprint,
  .site-footer {
    width: calc(100% - 32px);
  }

  .gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: 260px;
  }

  .gallery-card.wide,
  .gallery-card.tall {
    grid-column: span 1;
    grid-row: span 1;
  }

  .contact-actions,
  .contact-link,
  .social-link,
  .download-button,
  .form-submit {
    width: 100%;
  }

  .contact-actions {
    flex-direction: column;
  }

  .contact-link,
  .social-link {
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  body.effects-ready .reveal,
  .gallery-card img,
  .hero-art {
    transform: none;
    transition: none;
  }
}
