:root {
  --bg: #08090b;
  --panel: #101217;
  --panel-soft: #151820;
  --text: #f4f5f7;
  --muted: rgba(244, 245, 247, 0.68);
  --line: rgba(255, 255, 255, 0.08);
  --accent: #5e6cff;
  --accent-2: #20a8ff;
  --maxw: 1220px;
  --radius: 18px;
  --header-h: 78px;
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea { font: inherit; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 12px;
}
.skip-link:focus {
  left: 16px;
  z-index: 2000;
  background: #fff;
  color: #000;
  padding: 10px 14px;
  border-radius: 8px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 1000;
  background: rgba(8, 9, 11, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  width: min(calc(100% - 40px), var(--maxw));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 18px;
}
.logo { flex: 0 0 auto; }
.logo img { height: 40px; width: auto; }
.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 18px;
}
.nav a,
.lang-switcher a {
  color: rgba(255,255,255,.72);
  font-size: .9rem;
  letter-spacing: .005em;
  transition: color .2s ease;
}
.nav a:hover,
.nav a:focus-visible,
.lang-switcher a:hover,
.lang-switcher a:focus-visible,
.lang-switcher a.active { color: #fff; }
.lang-switcher {
  white-space: nowrap;
  color: rgba(255,255,255,.35);
  margin-left: auto;
  padding-left: 0;
  border-left: 0;
}
.lang-switcher a.active { border-bottom: 1px solid rgba(255,255,255,.8); }
.nav-toggle {
  display: none;
  margin-left: auto;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
}

main { overflow: hidden; }
section { scroll-margin-top: calc(var(--header-h) + 24px); }

.hero {
  min-height: 92vh;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: calc(var(--header-h) + 80px) 20px 90px;
  background: #050608;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0;
  transition: opacity .45s ease;
}
.hero-bg.is-ready { opacity: 1; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .67);
  z-index: 1;
  pointer-events: none;
  transition: background-color .55s ease;
}
.hero.hero-edge-bright .hero-overlay {
  background: rgba(0, 0, 0, .55);
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 140px;
  background: linear-gradient(transparent, var(--bg));
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 3;
  width: min(100%, 1080px);
  text-align: center;
}
.hero h1 {
  margin: 0;
  font-size: clamp(3rem, 6.7vw, 6.35rem);
  line-height: .98;
  letter-spacing: -.045em;
  text-wrap: balance;
  text-shadow: 0 16px 60px rgba(0,0,0,.6);
}
.hero .lead {
  max-width: 860px;
  margin: 28px auto 0;
  color: rgba(244,245,247,.79);
  font-size: clamp(1.08rem, 1.75vw, 1.32rem);
  line-height: 1.62;
  text-wrap: balance;
}

.section {
  width: min(calc(100% - 40px), var(--maxw));
  margin: 0 auto;
  padding: 104px 0;
}
.section-heading {
  margin: 0 0 36px;
  font-size: clamp(2rem, 4vw, 3.3rem);
  letter-spacing: -.035em;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.service-card {
  min-height: 520px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}
.service-image { height: 290px; overflow: hidden; }
.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s ease;
}
.service-card:hover .service-image img { transform: scale(1.025); }
.service-copy { padding: 28px; }
.service-copy h3 {
  margin: 0 0 12px;
  font-size: 1.5rem;
  letter-spacing: -.02em;
}
.service-copy p {
  margin: 0;
  color: rgba(244,245,247,.72);
  font-size: 1.01rem;
  line-height: 1.65;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.work-grid figure {
  margin: 0;
  min-width: 0;
}
.work-grid img {
  display: block;
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--panel);
}
.work-grid figcaption {
  padding-top: 16px;
}
.work-grid figcaption strong {
  display: block;
  margin-bottom: 4px;
  color: var(--text);
  font-size: 1rem;
  font-weight: 560;
  letter-spacing: -.01em;
}
.work-grid figcaption span {
  display: block;
  color: rgba(244,245,247,.56);
  font-size: .88rem;
  line-height: 1.5;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.value {
  padding: 26px 24px;
  min-height: 220px;
  border-top: 1px solid rgba(255,255,255,.22);
}
.value h3 { margin: 0 0 12px; font-size: 1.22rem; }
.value p { margin: 0; color: var(--muted); }

.about-panel {
  padding: clamp(30px, 6vw, 70px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255,255,255,.035), rgba(255,255,255,.012));
}
.about-panel p {
  max-width: 900px;
  margin: 0;
  color: rgba(255,255,255,.78);
  font-size: clamp(1.06rem, 2vw, 1.35rem);
  line-height: 1.7;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 14px;
}
.process-step {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.015);
  transition: transform .34s cubic-bezier(.2,.72,.2,1),
              background .34s ease,
              border-color .34s ease,
              box-shadow .34s ease;
}
.process-step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 13%;
  right: 13%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.72), transparent);
  opacity: 0;
  transform: scaleX(.28);
  transition: opacity .34s ease, transform .34s ease;
}
.process-step::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(circle at 24% 18%, rgba(54,72,255,.10), transparent 34%),
    linear-gradient(135deg, rgba(255,255,255,.025), transparent 52%);
  transition: opacity .34s ease;
}
.process-number {
  position: relative;
  z-index: 1;
  display: block;
  margin-bottom: 32px;
  color: rgba(255,255,255,.38);
  font-size: .9rem;
  letter-spacing: .04em;
  transition: color .3s ease, letter-spacing .3s ease, transform .3s ease;
}
.process-step h3 {
  position: relative;
  z-index: 2;
  display: inline-block;
  max-width: 100%;
  margin: 0 0 10px;
  font-size: 1.16rem;
  line-height: 1.25;
  overflow: visible;
  isolation: isolate;
}
.process-title-text {
  --title-reveal: 0%;
  position: relative;
  display: inline-block;
  color: rgba(244,245,247,.46);
}
.process-title-text::after {
  content: attr(data-title);
  position: absolute;
  inset: 0;
  width: max-content;
  max-width: 100%;
  color: #f7f8fb;
  clip-path: inset(0 calc(100% - var(--title-reveal)) 0 0);
  pointer-events: none;
}


.process-step p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--muted);
  transition: color .3s ease, transform .3s ease;
}


@media (hover: hover) and (pointer: fine) {
  .process-step:hover {
    transform: translateY(-7px) scale(1.022);
    background: rgba(255,255,255,.072);
    border-color: rgba(255,255,255,.22);
    box-shadow: 0 22px 52px rgba(0,0,0,.29);
  }
  .process-step:hover::before {
    opacity: 1;
    transform: scaleX(1);
  }
  .process-step:hover::after {
    opacity: 1;
  }
  .process-step:hover .process-number {
    color: rgba(255,255,255,.96);
    letter-spacing: .095em;
    transform: translateY(-1px);
  }
  .process-step:hover p {
    color: rgba(244,245,247,.88);
    transform: translateY(1px);
  }
}


.process-laser-beam,
.process-laser-dot {
  position: absolute;
  z-index: 5;
  pointer-events: none;
  opacity: 0;
}
.process-laser-beam {
  left: 0;
  top: 0;
  width: 0;
  height: 1px;
  transform-origin: 0 50%;
  background: linear-gradient(
    90deg,
    rgba(54,68,255,.24) 0%,
    rgba(58,73,255,.60) 64%,
    rgba(220,226,255,.98) 100%
  );
  box-shadow:
    0 0 4px rgba(61,75,255,.58),
    0 0 10px rgba(48,61,255,.32);
}
.process-laser-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff;
  transform: translate(-50%, -50%) scale(.72);
  box-shadow:
    0 0 2px 1px rgba(255,255,255,.98),
    0 0 7px 2px rgba(71,83,255,.98),
    0 0 15px 5px rgba(44,57,255,.50);
}
@media (prefers-reduced-motion: reduce) {
  .process-step,
  .process-number,
  .process-step p {
    transition: none;
  }
  .process-title-text {
    color: #f7f8fb;
    --title-reveal: 100%;
  }
  .process-title-text::after,
  .process-step h3::before,
  
}

.contact-wrap {
  display: grid;
  grid-template-columns: .85fr 1.35fr;
  gap: 42px;
  align-items: start;
}
.contact-intro p { margin: 0; color: var(--muted); max-width: 440px; }
.contact-meta { margin-top: 26px; color: rgba(255,255,255,.78); }
.contact-meta a:hover { text-decoration: underline; }
.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}
.field { display: grid; gap: 8px; }
.field label { color: rgba(255,255,255,.72); font-size: .92rem; }
.field input,
.field textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 11px;
  background: #0b0d11;
  color: #fff;
  padding: 13px 14px;
  outline: none;
}
.field input:focus,
.field textarea:focus { border-color: rgba(94,108,255,.9); box-shadow: 0 0 0 3px rgba(94,108,255,.13); }
.field textarea { min-height: 150px; resize: vertical; }
.field-hint { color: rgba(255,255,255,.46); font-size: .8rem; }
.checkbox-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  color: var(--muted);
  font-size: .86rem;
}
.checkbox-row input { margin-top: 4px; }
.checkbox-row a { text-decoration: underline; text-underline-offset: 3px; }
.honeypot { position: absolute !important; left: -9999px !important; }
.submit-btn {
  justify-self: start;
  border: 0;
  border-radius: 999px;
  padding: 12px 22px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color: #fff;
  font-weight: 650;
  cursor: pointer;
}
.submit-btn:hover { filter: brightness(1.06); }
.form-status {
  display: none;
  padding: 12px 14px;
  border-radius: 10px;
  background: rgba(77, 193, 129, .1);
  border: 1px solid rgba(77, 193, 129, .3);
  color: #bff0d2;
}
.form-status.show { display: block; }

.site-footer {
  border-top: 1px solid var(--line);
  background: #050608;
}
.footer-inner {
  width: min(calc(100% - 40px), var(--maxw));
  margin: 0 auto;
  padding: 42px 0 26px;
}
.footer-main {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 26px;
  align-items: start;
}
.footer-logo img { height: 34px; width: auto; }
.footer-block { color: var(--muted); font-size: .92rem; }
.footer-block strong { display: block; color: #fff; margin-bottom: 10px; font-size: .9rem; }
.footer-links,
.social-links { display: flex; flex-wrap: wrap; gap: 10px 16px; }
.footer-links a:hover,
.social-links a:hover { color: #fff; }
.footer-bottom {
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: rgba(255,255,255,.42);
  font-size: .84rem;
}

@media (max-width: 1040px) {
  .nav {
    position: absolute;
    top: calc(var(--header-h) - 1px);
    right: 20px;
    width: min(340px, calc(100vw - 40px));
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(12,14,18,.98);
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 10px 8px; }
  .values-grid,
  .process-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .contact-wrap { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  :root { --header-h: 68px; }
  .header-inner,
  .section,
  .footer-inner { width: min(calc(100% - 28px), var(--maxw)); }
  .logo img { height: 30px; }
  .lang-switcher { font-size: .9rem; }
  .hero { min-height: 76vh; padding-bottom: 60px; }
  .section { padding: 72px 0; }
  .services-grid,
  .work-grid,
  .values-grid,
  .process-grid,
  .footer-main { grid-template-columns: 1fr; }
  .service-card { min-height: 0; }
  .service-image { height: 220px; }
  .work-grid img { height: 330px; }
  .value { min-height: 0; padding: 22px 4px 28px; }
  .process-number { margin-bottom: 18px; }
  .contact-form { padding: 20px; }
  .submit-btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg { display: none !important; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}


/* Visual refinement v3 */
#arbeiten { padding-bottom: 86px; }
#warum { padding-top: 86px; }

.value p {
  font-size: 1.04rem;
  line-height: 1.68;
  color: rgba(244,245,247,.74);
}

.about-panel {
  padding: 48px 0 0;
  border: 0;
  border-top: 1px solid rgba(255,255,255,.14);
  border-radius: 0;
  background: transparent;
}

@media (max-width: 680px) {
  #arbeiten { padding-bottom: 62px; }
  #warum { padding-top: 62px; }
  .about-panel { padding-top: 34px; }
}


/* v11 — Warum/Why + logo heading */
.why-heading {
  margin: 0 0 46px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.why-kicker {
  display: block;
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: rgba(244,245,247,.78);
}

.why-logo {
  display: block;
  width: min(300px, 52vw);
  height: auto;
  object-fit: contain;
  filter: none;
  opacity: 1;
}

@media (max-width: 680px) {
  .why-heading { margin-bottom: 34px; gap: 11px; }
  .why-logo { width: min(245px, 68vw); }
}




/* v17 — Contact refinement */
.contact-form button[type="submit"],
.contact-form .btn,
form button[type="submit"] {
  position: relative;
  overflow: hidden;
  background: rgba(255,255,255,.035);
  color: #f4f5f7;
  border: 1px solid rgba(255,255,255,.24);
  box-shadow: none;
  transition:
    background-color .22s ease,
    border-color .22s ease,
    color .22s ease,
    transform .22s ease;
}

.contact-form button[type="submit"]::after,
.contact-form .btn::after,
form button[type="submit"]::after {
  content: "";
  position: absolute;
  left: 18%;
  right: 82%;
  bottom: 0;
  height: 1px;
  background: #d81f2a;
  opacity: .85;
  transition: right .28s ease;
}

@media (hover: hover) and (pointer: fine) {
  .contact-form button[type="submit"]:hover,
  .contact-form .btn:hover,
  form button[type="submit"]:hover {
    background: rgba(255,255,255,.07);
    border-color: rgba(255,255,255,.42);
    transform: translateY(-1px);
  }

  .contact-form button[type="submit"]:hover::after,
  .contact-form .btn:hover::after,
  form button[type="submit"]:hover::after {
    right: 18%;
  }
}

.contact-form button[type="submit"]:focus-visible,
.contact-form .btn:focus-visible,
form button[type="submit"]:focus-visible {
  outline: 2px solid rgba(216,31,42,.75);
  outline-offset: 3px;
}


/* v18 — Refined footer */
.site-footer {
  border-top: 1px solid rgba(255,255,255,.08);
  background: #07080a;
  padding: 52px 0 24px;
}

.footer-main {
  width: min(calc(100% - 40px), var(--maxw));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr 1.1fr;
  align-items: start;
  gap: 48px;
}

.footer-left,
.footer-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-left {
  align-items: flex-start;
}

.footer-right {
  align-items: flex-end;
  text-align: right;
}

.footer-logo {
  width: 190px;
  max-width: 100%;
  height: auto;
  display: block;
}

.footer-email,
.footer-legal a,
.footer-social a,
.footer-cookie-link {
  color: rgba(244,245,247,.66);
  text-decoration: none;
  font: inherit;
  font-size: .92rem;
  line-height: 1.5;
}

.footer-email:hover,
.footer-legal a:hover,
.footer-social a:hover,
.footer-cookie-link:hover {
  color: #f4f5f7;
}

.footer-legal {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  padding-top: 6px;
}

.footer-social {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-cookie-link {
  appearance: none;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.footer-bottom {
  width: min(calc(100% - 40px), var(--maxw));
  margin: 38px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.07);
  text-align: center;
  color: rgba(244,245,247,.42);
  font-size: .82rem;
}

@media (max-width: 860px) {
  .footer-main {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-left,
  .footer-right,
  .footer-legal {
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .footer-right {
    align-items: center;
  }

  .footer-social {
    justify-content: center;
  }

  .footer-bottom {
    margin-top: 30px;
  }
}


/* v21 — Footer flattened into one information line */
.site-footer {
  padding: 42px 0 22px;
}

.footer-shell {
  width: min(calc(100% - 40px), var(--maxw));
  margin: 0 auto;
}

.footer-brand-row {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 22px;
}

.footer-logo {
  width: 190px;
  max-width: 100%;
  height: auto;
  display: block;
}

.footer-info-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 34px;
}

.footer-contact {
  justify-self: start;
}

.footer-legal {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
  padding: 0;
}

.footer-social {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-email,
.footer-legal a,
.footer-social a,
.footer-cookie-link {
  color: rgba(244,245,247,.66);
  text-decoration: none;
  font: inherit;
  font-size: .92rem;
  line-height: 1.5;
}

.footer-cookie-link {
  appearance: none;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.footer-email:hover,
.footer-legal a:hover,
.footer-social a:hover,
.footer-cookie-link:hover {
  color: #f4f5f7;
}

.footer-bottom {
  width: 100%;
  margin: 38px 0 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.07);
  text-align: center;
  color: rgba(244,245,247,.42);
  font-size: .82rem;
}

@media (max-width: 980px) {
  .footer-info-row {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .footer-contact,
  .footer-legal,
  .footer-social {
    justify-self: center;
    justify-content: center;
    text-align: center;
  }

  .footer-brand-row {
    justify-content: center;
  }
}


/* v22 — Footer without repeated logo */
.footer-brand-row,
.site-footer .footer-logo {
  display: none !important;
}

.site-footer {
  padding-top: 32px;
}

.footer-info-row {
  margin-top: 0;
}


/* v23 — Custom file picker + privacy checkbox */
.file-upload {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

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

.field .file-picker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid rgba(255,255,255,.20);
  border-radius: 10px;
  background: rgba(255,255,255,.035);
  color: rgba(244,245,247,.88);
  font-size: .86rem;
  line-height: 1;
  cursor: pointer;
  transition:
    background-color .2s ease,
    border-color .2s ease,
    transform .2s ease;
}

.file-summary {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: rgba(244,245,247,.42);
  font-size: .82rem;
}

.file-summary.has-file {
  color: rgba(244,245,247,.72);
}


.file-list {
  display: grid;
  gap: 7px;
  margin-top: 10px;
}

.file-list:empty {
  display: none;
}

.file-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  min-height: 38px;
  padding: 7px 8px 7px 11px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 9px;
  background: rgba(255,255,255,.025);
}

.file-item-name {
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: rgba(244,245,247,.78);
  font-size: .80rem;
}

.file-item-size {
  flex: 0 0 auto;
  color: rgba(244,245,247,.42);
  font-size: .74rem;
}

.file-remove {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 7px;
  background: transparent;
  color: rgba(244,245,247,.58);
  font: inherit;
  font-size: 1.05rem;
  line-height: 1;
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.file-remove:hover {
  border-color: rgba(216,31,42,.46);
  background: rgba(216,31,42,.09);
  color: rgba(244,245,247,.94);
}

.file-remove:focus-visible {
  outline: 2px solid rgba(216,31,42,.68);
  outline-offset: 2px;
}

.file-error {
  display: block;
  margin-top: 8px;
  color: #ef9ca2;
  font-size: .78rem;
  line-height: 1.45;
}

.file-error[hidden] {
  display: none;
}

.file-input:focus-visible + .file-picker {
  outline: 2px solid rgba(216,31,42,.7);
  outline-offset: 3px;
}

@media (hover: hover) and (pointer: fine) {
  .field .file-picker:hover {
    background: rgba(255,255,255,.07);
    border-color: rgba(255,255,255,.36);
    transform: translateY(-1px);
  }
}

.checkbox-row {
  grid-template-columns: 20px 1fr;
  gap: 11px;
  align-items: start;
}

.checkbox-control {
  position: relative;
  display: inline-flex;
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.checkbox-control > input {
  position: absolute;
  inset: 0;
  width: 18px;
  height: 18px;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.checkbox-box {
  display: block;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 4px;
  background: #0b0d11;
  pointer-events: none;
  transition:
    border-color .18s ease,
    background-color .18s ease;
}

.checkbox-control > input:checked + .checkbox-box {
  border-color: rgba(216,31,42,.82);
  background: rgba(216,31,42,.12);
}

.checkbox-control > input:checked + .checkbox-box::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 3px;
  width: 4px;
  height: 8px;
  border-right: 2px solid rgba(255,255,255,.9);
  border-bottom: 2px solid rgba(255,255,255,.9);
  transform: rotate(45deg);
}

.checkbox-control > input:focus-visible + .checkbox-box {
  outline: 2px solid rgba(216,31,42,.68);
  outline-offset: 3px;
}

@media (max-width: 680px) {
  .file-upload {
    align-items: stretch;
    flex-direction: column;
    gap: 8px;
  }

  .field .file-picker {
    width: 100%;
    min-height: 44px;
  }

  .file-summary {
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.4;
  }


  .file-item {
    gap: 7px;
  }

  .file-item-size {
    font-size: .70rem;
  }

  .checkbox-row {
    font-size: .84rem;
    line-height: 1.55;
  }
}


/* v24 — Legal pages */
.legal-page {
  min-height: 100vh;
  background: #07080a;
  color: #f4f5f7;
}

.legal-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255,255,255,.07);
  background: rgba(7,8,10,.92);
  backdrop-filter: blur(14px);
}

.legal-header-inner {
  width: min(calc(100% - 40px), var(--maxw));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.legal-header-logo {
  width: 190px;
  max-width: 50vw;
  height: auto;
  display: block;
}

.legal-back {
  color: rgba(244,245,247,.72);
  text-decoration: none;
  font-size: .9rem;
  transition: color .2s ease;
}

.legal-back:hover {
  color: #fff;
}

.legal-content {
  width: min(calc(100% - 40px), 920px);
  margin: 0 auto;
  padding: 76px 0 90px;
}

.legal-kicker {
  margin: 0 0 14px;
  color: rgba(244,245,247,.42);
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.legal-content h1 {
  margin: 0 0 10px;
  font-size: clamp(2.3rem, 6vw, 4.5rem);
  line-height: 1;
  letter-spacing: -.04em;
}

.legal-updated {
  margin: 0 0 50px;
  color: rgba(244,245,247,.46);
  font-size: .88rem;
}

.legal-section {
  padding: 0 0 30px;
  margin: 0 0 30px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}

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

.legal-section h2 {
  margin: 0 0 14px;
  font-size: 1.12rem;
  line-height: 1.35;
  color: rgba(244,245,247,.96);
}

.legal-section p,
.legal-section li {
  color: rgba(244,245,247,.70);
  font-size: .98rem;
  line-height: 1.72;
}

.legal-section p {
  margin: 0 0 13px;
}

.legal-section ul {
  margin: 10px 0 14px;
  padding-left: 22px;
}

.legal-section li + li {
  margin-top: 6px;
}

.legal-section a,
.legal-download {
  color: rgba(244,245,247,.88);
}

.legal-download-row {
  margin-top: 42px;
}

.legal-download {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 10px 15px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 10px;
  text-decoration: none;
  background: rgba(255,255,255,.025);
}

.legal-mini-footer {
  width: min(calc(100% - 40px), 920px);
  margin: 0 auto;
  padding: 20px 0 28px;
  border-top: 1px solid rgba(255,255,255,.07);
  text-align: center;
  color: rgba(244,245,247,.38);
  font-size: .8rem;
}

@media (max-width: 680px) {
  .legal-header-inner {
    min-height: 64px;
  }

  .legal-header-logo {
    width: 155px;
  }

  .legal-content {
    padding-top: 50px;
  }

  .legal-updated {
    margin-bottom: 36px;
  }
}

/* v24 — Privacy link inside form */
.checkbox-row > span:last-child a {
  color: rgba(244,245,247,.86);
  text-decoration: underline;
  text-decoration-color: rgba(244,245,247,.28);
  text-underline-offset: 3px;
}
.checkbox-row > span:last-child a:hover {
  color: #fff;
  text-decoration-color: rgba(216,31,42,.7);
}

/* v26 — chosen Canva service images */
.service-card:nth-child(1) .service-image img { object-position: center 52%; }
.service-card:nth-child(2) .service-image img { object-position: center 50%; }
.service-card:nth-child(3) .service-image img { object-position: center 50%; }
.service-card:nth-child(4) .service-image img { object-position: center 48%; }

/* v29 — selected work image framing */
.work-grid img {
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
@media (max-width: 680px) {
  .work-grid img {
    height: auto;
    aspect-ratio: 16 / 10;
  }
}


/* v32 — Selected Work project gallery */
.work-gallery-trigger {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: transparent;
  color: inherit;
  cursor: zoom-in;
  text-align: left;
}
.work-gallery-trigger img {
  transition: transform .35s ease, filter .35s ease;
}
.work-gallery-trigger:hover img,
.work-gallery-trigger:focus-visible img {
  transform: scale(1.018);
  filter: brightness(.94);
}
.work-gallery-trigger:focus-visible {
  outline: 2px solid rgba(244,245,247,.8);
  outline-offset: 3px;
}
.work-gallery-hint {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 7px 11px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  background: rgba(7,8,10,.64);
  backdrop-filter: blur(10px);
  color: rgba(255,255,255,.88);
  font-size: .72rem;
  letter-spacing: .03em;
  opacity: .78;
  transition: opacity .2s ease, background .2s ease;
}
.work-gallery-trigger:hover .work-gallery-hint,
.work-gallery-trigger:focus-visible .work-gallery-hint { opacity: 1; background: rgba(7,8,10,.78); }

.project-gallery[hidden] { display: none !important; }
.project-gallery {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 24px;
}
.project-gallery-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2,3,4,.88);
  backdrop-filter: blur(14px);
}
.project-gallery-dialog {
  position: relative;
  z-index: 1;
  width: min(960px, 100%);
  max-height: calc(100vh - 48px);
  overflow: hidden;
  padding: 16px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 18px;
  background: #0a0b0d;
  box-shadow: 0 28px 90px rgba(0,0,0,.48);
}
.project-gallery-close {
  position: absolute;
  top: 28px;
  right: 28px;
  z-index: 5;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 50%;
  background: rgba(7,8,10,.72);
  color: #fff;
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(10px);
}
.project-gallery-stage {
  position: relative;
  display: grid;
  place-items: center;
  height: min(52vh, 500px);
  min-height: 300px;
  overflow: hidden;
  border-radius: 13px;
  background: #050607;
}
.project-gallery-image,
.project-gallery-video {
  display: block;
  width: auto;
  height: auto;
  max-width: calc(100% - 72px);
  max-height: calc(100% - 20px);
  margin: auto;
  object-fit: contain;
  object-position: center center;
  background: #050607;
}
.project-gallery-video {
  min-height: 0;
}
.project-gallery-nav {
  position: absolute;
  top: 50%;
  z-index: 4;
  width: 42px;
  height: 42px;
  transform: translateY(-50%);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 50%;
  background: rgba(7,8,10,.62);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(10px);
}
.project-gallery-prev { left: 14px; }
.project-gallery-next { right: 14px; }
.project-gallery-copy {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 13px 2px 10px;
}
.project-gallery-copy h3 {
  margin: 0 0 5px;
  font-size: 1.1rem;
  font-weight: 600;
}
.project-gallery-copy p {
  margin: 0;
  color: rgba(244,245,247,.55);
  font-size: .86rem;
}
.project-gallery-counter {
  flex: 0 0 auto;
  color: rgba(244,245,247,.48);
  font-size: .8rem;
}
.project-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 104px);
  justify-content: center;
  gap: 8px;
}
.project-gallery-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 9px;
  background: #111316;
  cursor: pointer;
  opacity: .58;
  transition: opacity .2s ease, border-color .2s ease;
}
.project-gallery-thumb:hover { opacity: .86; }
.project-gallery-thumb.is-active {
  opacity: 1;
  border-color: rgba(255,255,255,.58);
}
.project-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.project-gallery-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.1rem;
  text-shadow: 0 2px 8px rgba(0,0,0,.7);
}
body.project-gallery-open { overflow: hidden; }

@media (max-width: 680px) {
  .work-gallery-hint { right: 10px; bottom: 10px; min-height: 29px; padding: 6px 9px; font-size: .66rem; }
  .project-gallery { padding: 10px; }
  .project-gallery-dialog { width: 100%; max-height: calc(100vh - 20px); overflow: hidden; padding: 10px; border-radius: 14px; }
  .project-gallery-stage { height: min(50vh, 420px); min-height: 240px; border-radius: 10px; }
  .project-gallery-image,
  .project-gallery-video { width: auto; height: auto; max-width: calc(100% - 44px); max-height: calc(100% - 16px); margin: auto; object-fit: contain; object-position: center; }
  .project-gallery-video { min-height: 0; }
  .project-gallery-close { top: 18px; right: 18px; }
  .project-gallery-nav { width: 36px; height: 36px; font-size: 1.6rem; }
  .project-gallery-prev { left: 8px; }
  .project-gallery-next { right: 8px; }
  .project-gallery-copy { align-items: flex-start; padding: 14px 2px 11px; gap: 12px; }
  .project-gallery-copy p { font-size: .78rem; }
  .project-gallery-thumbs { grid-template-columns: repeat(3, minmax(54px, 72px)); justify-content: center; overflow: hidden; padding-bottom: 2px; }
}

.project-gallery-image[hidden],
.project-gallery-video[hidden] { display: none !important; }

/* Contact form state feedback */
.form-status.is-pending {
  background: rgba(255, 255, 255, .055);
  border-color: rgba(255, 255, 255, .14);
  color: rgba(244, 245, 247, .78);
}
.form-status.is-error {
  background: rgba(206, 91, 91, .09);
  border-color: rgba(206, 91, 91, .28);
  color: #f1c5c5;
}
.submit-btn:disabled {
  opacity: .58;
  cursor: wait;
  filter: none;
}

/* Portfolio placeholder lightbox — cards 2 and 3 */
.placeholder-gallery-dialog {
  width: min(960px, 100%);
}
.placeholder-gallery-stage {
  display: grid;
  place-items: center;
}
.placeholder-gallery-message {
  width: min(520px, calc(100% - 52px));
  text-align: center;
}
.placeholder-laser {
  position: relative;
  width: 118px;
  height: 18px;
  margin: 0 auto 27px;
}
.placeholder-laser::before {
  content: "";
  position: absolute;
  left: 0;
  right: 7px;
  top: 50%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(57,72,255,.42) 32%,
    rgba(79,92,255,.76) 76%,
    rgba(230,234,255,.98)
  );
  box-shadow: 0 0 8px rgba(54,68,255,.30);
}
.placeholder-laser span {
  position: absolute;
  right: 0;
  top: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  transform: translateY(-50%);
  background: #fff;
  box-shadow:
    0 0 3px rgba(255,255,255,.95),
    0 0 8px rgba(69,82,255,.86),
    0 0 16px rgba(50,64,255,.42);
}
.placeholder-status {
  display: block;
  margin-bottom: 12px;
  color: rgba(244,245,247,.42);
  font-size: .72rem;
  letter-spacing: .18em;
}
.placeholder-gallery-message h3 {
  margin: 0 0 13px;
  color: #f7f8fb;
  font-size: clamp(1.65rem, 3vw, 2.2rem);
}
.placeholder-gallery-message p {
  max-width: 500px;
  margin: 0 auto;
  color: var(--muted);
  line-height: 1.65;
}
.placeholder-gallery-copyrow {
  justify-content: flex-start;
}
.placeholder-gallery-copyrow .placeholder-project-title {
  color: #f7f8fb;
}
@media (max-width: 680px) {
  .placeholder-gallery-message {
    width: min(440px, calc(100% - 28px));
  }
}

/* v59 — metal gallery uses the same centered 3-item thumbnail layout as gallery one */
.metal-gallery .project-gallery-thumbs {
  grid-template-columns: repeat(3, 104px);
  justify-content: center;
}
@media (max-width: 680px) {
  .metal-gallery .project-gallery-thumbs {
    grid-template-columns: repeat(3, minmax(54px, 72px));
    justify-content: center;
  }
}


/* v58: center metal gallery media like the first lightbox */
.metal-gallery .project-gallery-stage {
  display: flex;
  align-items: center;
  justify-content: center;
}
.metal-gallery .project-gallery-image,
.metal-gallery .project-gallery-video {
  margin: auto;
}

/* v68 — Legal links occupy the former social-links position */
@media (min-width: 981px) {
  .footer-info-row {
    grid-template-columns: 1fr 1fr;
  }

  .footer-legal {
    justify-self: end;
    justify-content: flex-end;
  }
}


/* v69 — FAQ page and centered FAQ footer link */
.footer-faq {
  justify-self: center;
  color: rgba(244,245,247,.66);
  text-decoration: none;
  font-size: .92rem;
  line-height: 1.5;
  transition: color .2s ease;
}
.footer-faq:hover { color: #f4f5f7; }

@media (min-width: 981px) {
  .footer-info-row {
    grid-template-columns: 1fr auto 1fr;
  }
  .footer-contact { justify-self: start; }
  .footer-faq { justify-self: center; }
  .footer-legal {
    justify-self: end;
    justify-content: flex-end;
  }
}

@media (max-width: 980px) {
  .footer-faq {
    justify-self: center;
    text-align: center;
  }
}

.faq-page .legal-content {
  width: min(calc(100% - 40px), 980px);
}

.faq-intro {
  max-width: 760px;
  margin: 0 0 44px;
  color: rgba(244,245,247,.70);
  font-size: 1.02rem;
  line-height: 1.72;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 12px;
  background: rgba(255,255,255,.018);
  overflow: hidden;
}

.faq-item[open] {
  background: rgba(255,255,255,.03);
  border-color: rgba(255,255,255,.14);
}

.faq-item summary {
  position: relative;
  list-style: none;
  cursor: pointer;
  padding: 19px 54px 19px 20px;
  color: rgba(244,245,247,.95);
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.45;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(244,245,247,.48);
  font-size: 1.35rem;
  font-weight: 400;
}

.faq-item[open] summary::after { content: "−"; }

.faq-answer {
  padding: 0 20px 20px;
  color: rgba(244,245,247,.70);
  font-size: .98rem;
  line-height: 1.72;
}

.faq-answer p { margin: 0; }

.faq-contact {
  margin-top: 38px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.07);
  color: rgba(244,245,247,.62);
  line-height: 1.7;
}

.faq-contact a {
  color: rgba(244,245,247,.90);
}

@media (max-width: 680px) {
  .faq-intro { margin-bottom: 32px; }
  .faq-item summary { padding: 17px 48px 17px 17px; font-size: .97rem; }
  .faq-item summary::after { right: 17px; }
  .faq-answer { padding: 0 17px 17px; font-size: .94rem; }
}
