/* ── Reset & Base ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --black: #111;
  --white: #fff;
  --gray-100: #f5f5f3;
  --gray-200: #e8e8e6;
  --gray-400: #999;
  --gray-600: #666;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --max-w: 1200px;
  --space: clamp(1.5rem, 4vw, 3rem);
  --section-space: clamp(4rem, 8vw, 7rem);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font);
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

/* ── Typography ── */
h1, h2, h3 { font-family: 'Avenir Next', 'Avenir', var(--font); font-weight: 600; line-height: 1.15; }

/* ── Button ── */
.btn {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  border: none;
  box-shadow: none;
  background: var(--black);
  color: var(--white);
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.8s ease;
}
.btn:hover {
  background: linear-gradient(90deg, rgba(255,107,43,0.7) 0%, rgba(224,64,160,0.7) 25%, rgba(123,47,247,0.7) 50%, rgba(45,140,240,0.7) 75%, rgba(0,201,167,0.7) 100%);
  color: var(--white);
  box-shadow: none;
}

/* ── Nav ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem var(--space);
  background: rgba(250, 250, 250, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: box-shadow 0.3s;
}
.nav--scrolled { box-shadow: 0 1px 0 var(--gray-200); }

.nav__logo {
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.5s ease;
}
.nav__globe { width: 35px; height: 35px; display: block; pointer-events: auto; position: relative; z-index: 102; }
.nav__globe canvas { width: 100% !important; height: 100% !important; }

.nav__links {
  display: flex;
  gap: 2rem;
  margin-left: auto;
  margin-right: 1.5rem;
}
.nav__links a {
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  position: relative;
}
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(255,107,43,0.7) 0%, rgba(224,64,160,0.7) 25%, rgba(123,47,247,0.7) 50%, rgba(45,140,240,0.7) 75%, rgba(0,201,167,0.7) 100%);
  transition: width 0.3s;
}
.nav__links a:hover::after { width: 100%; }

.nav__lang {
  font-family: var(--font);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--black);
  background: none;
  border: 1px solid var(--gray-200);
  padding: 0.35rem 0.7rem;
  cursor: pointer;
  transition: border-color 0.3s;
}
.nav__lang:hover {
  border-image: linear-gradient(90deg, rgba(255,107,43,0.7) 0%, rgba(224,64,160,0.7) 25%, rgba(123,47,247,0.7) 50%, rgba(45,140,240,0.7) 75%, rgba(0,201,167,0.7) 100%) 1;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--black);
  transition: transform 0.3s, opacity 0.3s;
}
.nav__toggle.active span:first-child { transform: translateY(3.25px) rotate(45deg); }
.nav__toggle.active span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem var(--space) 0;
  position: relative;
  max-width: var(--max-w);
  margin: 0 auto;
}
.hero__title {
  font-size: clamp(2.8rem, 8vw, 7rem);
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(30px);
  animation: heroIn 0.9s 0.1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero__title span {
  display: inline-block;
  cursor: default;
  transition: -webkit-text-fill-color 0.4s ease;
  -webkit-text-fill-color: #111;
}
.hero__title span:hover,
.hero__title span.mobile-active {
  background: linear-gradient(90deg, rgba(255,107,43,0.7) 0%, rgba(224,64,160,0.7) 25%, rgba(123,47,247,0.7) 50%, rgba(45,140,240,0.7) 75%, rgba(0,201,167,0.7) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.mobile-br { display: none; }
.hero__sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--gray-600);
  max-width: 480px;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: heroIn 0.8s 0.55s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero .btn {
  opacity: 0;
  animation: heroIn 0.8s 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero__globe {
  position: absolute;
  right: 5%;
  top: 39%;
  transform: translateY(-50%);
  width: clamp(300px, 32vw, 430px);
  aspect-ratio: 1;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.hero__content { position: relative; z-index: 1; }
.hero__globe canvas { width: 100% !important; height: 100% !important; }

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
}
.hero__scroll-line {
  width: 1px;
  height: 48px;
  background: var(--gray-200);
  position: relative;
  overflow: hidden;
}
.hero__scroll-line::after {
  content: '';
  position: absolute;
  top: -48px;
  left: -1px;
  width: 3px;
  height: 48px;
  background: linear-gradient(180deg, #ff6b2b, #e040a0, #7b2ff7);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { top: -48px; }
  50% { top: 0; }
  100% { top: 48px; }
}

/* ── Sections ── */
.section {
  padding: var(--section-space) var(--space);
  max-width: var(--max-w);
  margin: 0 auto;
}

.section__header { margin-bottom: 3.5rem; }
.section__label {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 0.75rem;
}
.section__title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: -0.02em;
  cursor: default;
  display: inline-block;
  transition: -webkit-text-fill-color 0.4s ease;
}

/* ── Work Grid ── */
.work__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.work__item { cursor: pointer; }
.work__img {
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.work__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.work__item:hover .work__img { transform: scale(0.98); }
.work__item h3 { font-size: 1.1rem; margin-bottom: 0.25rem; }
.work__item p { font-size: 0.85rem; color: var(--gray-600); }

/* ── Results ── */
.results__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
}
.results__item {
  padding: 2rem 0;
  border-top: 2px solid var(--gray-200);
  position: relative;
}
.results__item::after {
  content: '';
  position: absolute;
  top: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(255,107,43,0.7) 0%, rgba(224,64,160,0.7) 25%, rgba(123,47,247,0.7) 50%, rgba(45,140,240,0.7) 75%, rgba(0,201,167,0.7) 100%);
  transition: width 0.5s ease;
}
.results__item:hover::after,
.results__item.mobile-active::after { width: 100%; }
.results__num {
  font-family: 'Avenir Next', 'Avenir', var(--font);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  display: block;
  margin-bottom: 0.5rem;
}
.results__item p {
  font-size: 0.9rem;
  color: var(--gray-600);
}

/* ── Services ── */
.services { background: var(--gray-100); max-width: none; padding-left: 0; padding-right: 0; }
.services .section__header,
.services .services__grid {
  max-width: var(--max-w);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--space);
  padding-right: var(--space);
}
.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}
.services__item {
  padding: 2rem 0;
  border-top: 2px solid var(--gray-200);
  position: relative;
}
.services__item::after {
  content: '';
  position: absolute;
  top: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(255,107,43,0.7) 0%, rgba(224,64,160,0.7) 25%, rgba(123,47,247,0.7) 50%, rgba(45,140,240,0.7) 75%, rgba(0,201,167,0.7) 100%);
  transition: width 0.5s ease;
}
.services__item:hover::after,
.services__item.mobile-active::after { width: 100%; }
.services__num {
  font-size: 0.75rem;
  color: var(--gray-400);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 1rem;
}
.services__item h3 { font-size: 1.1rem; margin-bottom: 0.75rem; }
.services__item p { font-size: 0.9rem; color: var(--gray-600); max-width: 380px; }

/* ── About ── */
.about__content {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: center;
}
.about__portrait {
  width: 100%;
  height: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.about__text p { font-size: 1.05rem; color: var(--gray-600); margin-bottom: 1.25rem; }
.about__text p:last-child { margin-bottom: 0; }

/* ── Clients ── */
.clients__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
  align-items: center;
}
.clients__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  transition: transform 0.4s ease;
}
.clients__logo:hover { transform: scale(1.25); }
.clients__logo img {
  max-width: 100%;
  max-height: 50px;
  object-fit: contain;
  transition: transform 0.4s ease;
}
.clients__logo img[alt="Austrian Cultural Forum New York"] { max-height: 70px; }
.clients__logo img[alt="We Are Flowergirls"] { max-height: 65px; }
.clients__logo img[alt="Seal"] { max-height: 84px; }
.clients__logo img[alt="Walter Seidl"] { max-height: 45px; }
.clients__logo img[alt="ÖZIV"] { max-height: 45px; }

/* ── Contact ── */
.contact__content {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}
.contact__info p { font-size: 1.05rem; color: var(--gray-600); margin-bottom: 1.5rem; }
.contact__details li {
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}
.contact__details a { border-bottom: 1px solid var(--gray-200); transition: all 0.8s ease; }
.contact__details a:hover,
.contact__details a.mobile-active { border-image: linear-gradient(90deg, rgba(255,107,43,0.7) 0%, rgba(224,64,160,0.7) 25%, rgba(123,47,247,0.7) 50%, rgba(45,140,240,0.7) 75%, rgba(0,201,167,0.7) 100%) 1; }
.contact__social { margin-top: 2rem; display: flex; gap: 1.5rem; }
.contact__social a {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-bottom: 1px solid var(--gray-200);
  transition: all 0.8s ease;
}
.contact__social a:hover,
.contact__social a.mobile-active { border-image: linear-gradient(90deg, rgba(255,107,43,0.7) 0%, rgba(224,64,160,0.7) 25%, rgba(123,47,247,0.7) 50%, rgba(45,140,240,0.7) 75%, rgba(0,201,167,0.7) 100%) 1; }

/* ── Form ── */
.form__group {
  position: relative;
  margin-bottom: 1.5rem;
}
.form__group input,
.form__group textarea {
  width: 100%;
  padding: 1rem 0 0.75rem;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 300;
  border: none;
  border-bottom: 1px solid var(--gray-200);
  background: transparent;
  outline: none;
  transition: border-color 0.3s;
  color: var(--black);
}
.form__group input:focus,
.form__group textarea:focus { border-image: linear-gradient(90deg, #ff6b2b, #e040a0, #7b2ff7, #2d8cf0, #00c9a7) 1; }
.form__group label {
  position: absolute;
  top: 1rem;
  left: 0;
  font-size: 0.85rem;
  color: var(--gray-400);
  pointer-events: none;
  transition: all 0.25s;
}
.form__group input:focus + label,
.form__group input:not(:placeholder-shown) + label,
.form__group textarea:focus + label,
.form__group textarea:not(:placeholder-shown) + label {
  top: -0.25rem;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.form__group textarea { resize: vertical; min-height: 100px; }
.contact__form .btn { width: 100%; text-align: center; border: none; }

/* ── Footer ── */
.footer {
  padding: 3rem var(--space);
  border-top: 1px solid var(--gray-200);
}
.footer__logo {
  width: 64px;
  height: 64px;
  opacity: 1;
}
.footer__links { display: flex; gap: 1.5rem; }
.footer__links a { border-bottom: 1px solid var(--gray-200); transition: all 0.8s ease; }
.footer__links a:hover,
.footer__links a.mobile-active { border-image: linear-gradient(90deg, rgba(255,107,43,0.7) 0%, rgba(224,64,160,0.7) 25%, rgba(123,47,247,0.7) 50%, rgba(45,140,240,0.7) 75%, rgba(0,201,167,0.7) 100%) 1; }
.footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--gray-400);
}

/* ── Animations ── */
[data-anim] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-anim].in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ── Lightbox ── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.lightbox.open { opacity: 1; pointer-events: all; }
.lightbox__scroll {
  position: relative;
  width: 100%;
  height: 100%;
  overflow-y: auto;
}
.lightbox__close {
  position: sticky;
  top: 1.5rem;
  float: right;
  margin-right: 1.5rem;
  z-index: 201;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: var(--black);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s;
}
.lightbox__close:hover {
  background: linear-gradient(90deg, #ff6b2b 0%, #e040a0 25%, #7b2ff7 50%, #2d8cf0 75%, #00c9a7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.lightbox__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 5rem var(--space) 4rem;
}
.lightbox__images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 3rem;
}
.lightbox__images img:only-child,
.lightbox__images img:first-child:nth-last-child(1) {
  grid-column: 1 / -1;
}
.lightbox__images--gallery {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 768px) {
  .lightbox__images { grid-template-columns: 1fr; }
  .lightbox__images--gallery { grid-template-columns: repeat(2, 1fr); }
}
.lightbox__images img {
  width: 100%;
  height: auto;
  display: block;
}
.lightbox__nav {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2rem;
}
.lightbox__prev,
.lightbox__next {
  background: none;
  border: 1px solid var(--gray-200);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0.5rem 1.2rem;
  color: var(--black);
  transition: all 0.3s;
}
.lightbox__prev:hover,
.lightbox__next:hover {
  border-image: linear-gradient(90deg, rgba(255,107,43,0.7) 0%, rgba(224,64,160,0.7) 25%, rgba(123,47,247,0.7) 50%, rgba(45,140,240,0.7) 75%, rgba(0,201,167,0.7) 100%) 1;
  color: transparent;
  background: linear-gradient(90deg, rgba(255,107,43,0.7) 0%, rgba(224,64,160,0.7) 25%, rgba(123,47,247,0.7) 50%, rgba(45,140,240,0.7) 75%, rgba(0,201,167,0.7) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}
.lightbox__info h3 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  margin-bottom: 0.5rem;
}
.lightbox__cat {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gray-400);
  margin-bottom: 1.5rem;
}
.lightbox__info {
  padding: 2rem 0;
}
.lightbox__subhead {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 2rem 0 0.75rem;
}
.lightbox__desc {
  font-size: 1.05rem;
  color: var(--gray-600);
  line-height: 1.7;
  max-width: 600px;
  margin-bottom: 1.5rem;
}
.lightbox__details {
  font-size: 0.9rem;
  color: var(--gray-600);
}
.lightbox__details li {
  margin-bottom: 0.35rem;
  padding-left: 1rem;
  position: relative;
}
.lightbox__details li::before {
  content: '—';
  position: absolute;
  left: 0;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav__links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    margin: 0;
    padding: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
  }
  .nav__links.open { opacity: 1; pointer-events: all; display: flex; }
  .nav__links a { font-size: 1.4rem; }
  .nav__logo { font-size: 0.63rem; }
  .nav__toggle { display: flex; z-index: 101; order: 3; }
  .nav__lang { z-index: 101; order: 2; margin-left: auto; margin-right: 0.75rem; }

  .mobile-br { display: inline; }
  .results__grid { grid-template-columns: repeat(2, 1fr); }
  .work__grid { grid-template-columns: 1fr; }
  .services__grid { grid-template-columns: 1fr; }
  .about__content { grid-template-columns: 1fr; gap: 2rem; }
  .clients__grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .contact__content { grid-template-columns: 1fr; gap: 2rem; }

  .footer__inner {
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    text-align: center;
  }
  .footer__logo { margin: 0 auto; }
  .footer__inner p { width: 100%; }
  .footer__links { width: 100%; justify-content: center; }
}
