/* ── RESET & BASE ─────────────────────────── */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
:root {
  --black: #0a0a0a;
  --white: #f7f5f0;
  --gray: #888;
  --border: rgba(0,0,0,0.08);
}
/* scroll-behavior handled by Lenis */
html {
  overflow-x: clip;
}
body {
  font-family: 'Inter', sans-serif;
  background: var(--white);
  color: var(--black);
  overflow-x: clip;
  cursor: none;
}
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; object-fit: cover; }

/* ── CUSTOM CURSOR ─────────────────────────── */
#cursor {
  position: fixed;
  width: 20px; height: 20px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%,-50%);
  transition: width .25s, height .25s, background .3s;
  background: rgba(0,0,0,0.75);
  mix-blend-mode: multiply;
}
#cursor.on-dark {
  background: rgba(255,255,255,0.85);
  mix-blend-mode: screen;
}
#cursor.hovering {
  width: 36px; height: 36px;
  background: rgba(0,0,0,0.5);
}
#cursor.on-dark.hovering {
  background: rgba(255,255,255,0.5);
}
#cursor-dot {
  position: fixed;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--black);
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%,-50%);
  transition: background .3s;
}
#cursor-dot.on-dark { background: white; }

/* ── NAV ─────────────────────────── */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 52px;
  color: #0a0a0a;
  background: rgba(247, 245, 240, 0.65);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  will-change: transform;
}
.nav-logo {
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.04em;
}
.nav-logo span {
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  display: block;
  opacity: 0;
  overflow: hidden;
  max-width: 0;
  white-space: nowrap;
  transition: opacity 0.6s ease, max-width 0.8s cubic-bezier(0.16,1,0.3,1);
  animation: photosReveal 1s cubic-bezier(0.16,1,0.3,1) forwards 1.2s;
}
@keyframes photosReveal {
  from { opacity: 0; max-width: 0; letter-spacing: -0.1em; }
  to   { opacity: 0.5; max-width: 120px; letter-spacing: 0.15em; }
}
.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}
.nav-links a {
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
  opacity: 1;
  color: inherit;
  transition: opacity .25s;
}

/* ── HERO ─────────────────────────── */
#hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 140px 52px 80px;
  position: relative;
  overflow: hidden;
  background: var(--white);
}

/* ── BUBBLES ─────────────────────────── */
.bubble {
  position: absolute;
  border-radius: 50%;
  pointer-events: all;
  cursor: none;

  /* Glass effect */
  background: radial-gradient(
    circle at 35% 35%,
    rgba(255,255,255,0.55) 0%,
    rgba(255,255,255,0.15) 40%,
    rgba(255,255,255,0.05) 100%
  );
  backdrop-filter: blur(8px) saturate(1.4);
  -webkit-backdrop-filter: blur(8px) saturate(1.4);
  border: 1px solid rgba(255,255,255,0.6);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.8),
    inset 0 -1px 0 rgba(0,0,0,0.04),
    0 8px 32px rgba(0,0,0,0.06),
    0 2px 8px rgba(0,0,0,0.04);

  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.4s ease,
              background 0.4s ease;
}

/* Glanzpunkt */
.bubble::before {
  content: '';
  position: absolute;
  top: 14%; left: 20%;
  width: 30%; height: 18%;
  border-radius: 50%;
  background: rgba(255,255,255,0.7);
  filter: blur(4px);
  transform: rotate(-30deg);
}

/* Hover: Blase drückt sich leicht zusammen und leuchtet auf */
.bubble:hover {
  transform: scale(0.92);
  background: radial-gradient(
    circle at 35% 35%,
    rgba(255,255,255,0.75) 0%,
    rgba(255,255,255,0.3) 40%,
    rgba(255,255,255,0.1) 100%
  );
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,1),
    inset 0 -1px 0 rgba(0,0,0,0.06),
    0 16px 48px rgba(0,0,0,0.1),
    0 4px 16px rgba(0,0,0,0.08);
}

.bubble-1 {
  width: 220px; height: 220px;
  top: 14%; left: 42%;
}
.bubble-2 {
  width: 160px; height: 160px;
  top: 10%; left: 56%;
}

.hero-eyebrow {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: inherit;
  opacity: 0.5;
  margin-bottom: 32px;
  animation: fadeUp 0.8s ease forwards 0.2s;
}

.hero-title {
  font-size: clamp(56px, 8.5vw, 128px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.92;
  max-width: 900px;
  position: relative;
  z-index: 2;
}

.hero-title .word {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-right: 0.08em;
  margin-right: -0.08em;
}
.hero-title .word-inner {
  display: inline-block;
  transform: translateY(105%);
  animation: wordReveal 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero-title .word:nth-child(1) .word-inner { animation-delay: 0.3s; }
.hero-title .word:nth-child(2) .word-inner { animation-delay: 0.45s; }
.hero-title .word:nth-child(3) .word-inner { animation-delay: 0.6s; }
.hero-title .word:nth-child(4) .word-inner { animation-delay: 0.75s; }
.hero-title em { font-style: italic; font-weight: 300; }

@keyframes wordReveal {
  to { transform: translateY(0); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-sub {
  margin-top: 60px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  width: 100%;
  position: relative;
  z-index: 2;
}
.hero-desc {
  max-width: 360px;
  font-size: 15px;
  line-height: 1.75;
  color: inherit;
  opacity: 0.6;
  font-weight: 300;
  text-align: left;
  animation: fadeUp 0.8s ease forwards 1s;
}
.hero-desc-right {
  text-align: right;
  max-width: 340px;
  font-size: 13px;
  line-height: 1.7;
  color: inherit;
  opacity: 0.6;
  font-weight: 300;
  margin-left: auto;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 1.1s;
}

/* ── TV STATIC EFFECT (deaktiviert) ─────────────────────────── */

/* ── CLIENTS BAND ─────────────────────────── */











  to   { transform: translateX(-50%); }
}

/* ── PORTFOLIO ─────────────────────────── */

/* Äußerer Container - gibt Scrollhöhe */
#portfolio-outer {
  position: relative;
}

/* Track: 4×100vh Scrollhöhe */
#port-track {
  position: relative;
  height: calc(4 * 100vh);
}

/* 4 Hintergrund-Panels - je 100vh, scrollen normal */
.port-bg-panel {
  position: absolute;
  left: 0; right: 0;
  height: 100vh;
}

/* Sticky wrapper: klebt im Viewport, transparent */
#port-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  pointer-events: none;
}

/* Texte links - absolute im sticky, scrollt via JS */
#port-texts {
  position: absolute;
  left: calc(50% - 620px);
  width: 360px;
  top: 0;
  pointer-events: all;
}

.port-item {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 1;
}
.port-item.active { opacity: 1; }

.p-num {
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--black); margin-bottom: 16px; font-weight: 500;
}
.p-client {
  font-size: clamp(28px, 3vw, 48px); font-weight: 800;
  letter-spacing: -0.04em; line-height: 0.95; margin-bottom: 20px;
  white-space: nowrap;
}
.p-category {
  font-size: 12px; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--black); margin-bottom: 20px; font-weight: 500;
}
.p-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  text-decoration: none;
  padding: 14px 24px;
  border-radius: 100px;
  width: auto;
  align-self: flex-start;
  background: #0a0a0a;
  color: #fff;
  transition: transform .25s, box-shadow .25s;
}
.p-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
}
/* White button on dark sections */
.p-cta.p-cta-light {
  background: #fff;
  color: #0a0a0a;
}
.p-cta.p-cta-light:hover {
  box-shadow: 0 8px 24px rgba(255,255,255,.15);
}
.p-cta-text { position: relative; }
.p-cta-text::after { display: none; }
.p-cta-arrow { display: none; }
.p-desc-text {
  font-size: 14px; line-height: 1.75; color: inherit;
  font-weight: 300; max-width: 100%;
}

/* Textfarben pro Item - helle Items schwarz, dunkle Items weiß */
/* Item 0: hell (#f5f3ef) → schwarz (default) */
/* Item 1: dunkel (#0c0c0c) → weiß */
.port-item[data-index="1"] .p-num,
.port-item[data-index="1"] .p-category,
.port-item[data-index="1"] .p-desc-text,
.port-item[data-index="1"] .p-client { color: rgba(255,255,255,0.95); }
/* Item 2: hell (#d0ccc6) → schwarz */
/* Item 3: hell (#f7f5f0) → schwarz */

/* Frame - eigener sticky container, kein Zusammenhang mit port-sticky */
#port-frame-outer {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-14%);
  width: 1080px;
  height: 100%;
  pointer-events: none;
}
#port-frame-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 40px;
  pointer-events: all;
}
#pFrame {
  width: 1000px;
  aspect-ratio: 16/9;
  border-radius: 0;
  overflow: hidden;
  background: #0a0a0a;
  position: relative;
  border: 4px solid #1a1a1a;
  outline: 1px solid #2a2a2a;
  box-shadow:
    0 2px 4px rgba(0,0,0,0.5),
    0 8px 24px rgba(0,0,0,0.4),
    0 24px 64px rgba(0,0,0,0.35),
    0 48px 120px rgba(0,0,0,0.25);
}
#pPh {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(135deg,#141414,#1e1e1e);
  display: flex; align-items: center; justify-content: center;
}
#pPh span {
  font-size:11px; letter-spacing:.2em; text-transform:uppercase;
  color:rgba(255,255,255,.15);
}
.p-img {
  position:absolute; inset:0; width:100%; height:100%;
  object-fit:cover; z-index:2;
  clip-path: inset(0 0 100% 0);
  will-change: clip-path;
}
.p-img.active {
  clip-path: none;
}

/* ── STUDIO SECTION ─────────────────────────── */
#studio {
  padding: 160px 52px;
  background: var(--white);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.studio-img {
  aspect-ratio: 4/3;
  background: #e8e4de;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}
.studio-img-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(0,0,0,.2);
}
.studio-text { padding: 20px 0; }
.studio-eyebrow {
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 24px;
}
.studio-title {
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 28px;
}
.studio-title em { font-style: italic; font-weight: 300; }
.studio-body {
  font-size: 15px;
  line-height: 1.8;
  color: var(--gray);
  font-weight: 300;
  max-width: 440px;
}

/* ── QUOTE ─────────────────────────── */
#quote {
  background: var(--black);
  color: white;
  padding: 120px 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.quote-text {
  font-size: clamp(24px, 3.5vw, 44px);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.3;
  max-width: 900px;
  position: relative;
  z-index: 2;
}
.quote-text em { font-style: italic; }
.quote-mark {
  position: absolute;
  font-size: 400px;
  font-weight: 900;
  color: rgba(255,255,255,0.03);
  line-height: 1;
  top: -40px;
  left: 40px;
  pointer-events: none;
  font-style: italic;
}

/* ── CONTACT ─────────────────────────── */
#contact {
  padding: 160px 52px;
  background: var(--black);
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.contact-eyebrow {
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 24px;
}
.contact-title {
  font-size: clamp(40px, 6vw, 88px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin-bottom: 48px;
  max-width: 900px;
  width: 100%;
  color: white;
}
.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: white;
  color: var(--black);
  padding: 18px 40px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: transform .25s, box-shadow .25s;
}
.contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(255,255,255,.15);
}
.contact-btn .arr { transition: transform .25s; }
.contact-btn:hover .arr { transform: translateX(4px); }

/* ── FOOTER ─────────────────────────── */
#footer {
  background: var(--black);
  color: rgba(255,255,255,0.35);
  padding: 60px 52px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  letter-spacing: 0.06em;
}
.footer-logo {
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -0.03em;
  color: white;
}
.footer-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.footer-links a {
  color: rgba(255,255,255,0.35);
  text-transform: uppercase;
  transition: color .25s;
}
.footer-links a:hover { color: white; }

/* ── REVEAL ANIMATIONS (line-based) ─────────────────────────── */




/* ── HOVER LETTER EFFECT (deaktiviert) ─────────────────────────── */


/* ── LOGO ANIMATION ─────────────────────────── */
.nav-logo svg {
  overflow: visible;
}
.nav-logo svg g {
  clip-path: inset(0 100% 0 0);
  animation: logoReveal 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.1s;
}
@keyframes logoReveal {
  from { clip-path: inset(0 100% 0 0); }
  to   { clip-path: inset(0 0% 0 0); }
}

/* ── NAV SCROLL COLOR ─────────────────────────── */

/* ── CLIENTS SECTION ─────────────────────────── */
#clients-section {
  background: var(--black);
  color: white;
  padding: 64px 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.clients-inner {
  display: flex;
  align-items: center;
  gap: 64px;
}
.clients-top {
  display: flex;
  align-items: flex-start;
  gap: 0;
  padding: 0 52px 40px 52px;
}
.clients-left {
  flex: 0 0 500px;
  min-width: 0;
  padding-left: 52px;
  padding-right: 48px;
}
.clients-marquee-outer {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  position: relative;
}
.clients-right {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.client-card {
  position: relative;
  aspect-ratio: 4/3;
  background: rgba(255,255,255,0.05);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; text-decoration: none;
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease, background 0.4s ease;
}
.client-card.visible { opacity: 1; transform: translateY(0); }
.clients-animate-done .client-card { opacity: 1; transform: none; }

/* Logo/Name: immer sichtbar, kein Overlay am Anfang */
.client-card-logo {
  max-width: 55%; max-height: 36px; object-fit: contain;
  filter: invert(1); opacity: 0.55;
  transition: opacity 0.5s ease, filter 0.5s ease, transform 0.5s cubic-bezier(0.16,1,0.3,1);
  position: relative; z-index: 2;
}
.client-card-name {
  font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.45); font-weight: 500;
  transition: color 0.5s ease, transform 0.5s cubic-bezier(0.16,1,0.3,1);
  position: relative; z-index: 2;
}

/* Hover: Hintergrund + Logo voller + Scale */
.client-card::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at center, rgba(255,255,255,0.07) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
}
.client-card:hover::after { opacity: 1; }
.client-card:hover { background: rgba(255,255,255,0.09); }
.client-card:hover .client-card-logo {
  opacity: 1;
  filter: brightness(1.3);
  transform: scale(1.08);
}
.client-card:hover .client-card-name {
  color: white;
  transform: scale(1.04);
}

/* CTA slide von unten */
.client-card-cta {
  position: absolute; bottom: 0; left: 0; right: 0; z-index: 3;
  padding: 10px 16px; font-size: 10px; letter-spacing: 0.1em;
  text-transform: uppercase; color: rgba(255,255,255,0.9); font-weight: 500;
  display: flex; align-items: center; justify-content: space-between;
  transform: translateY(100%);
  transition: transform 0.45s cubic-bezier(0.16,1,0.3,1);
  background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 100%);
  backdrop-filter: blur(2px);
}
.client-card:hover .client-card-cta { transform: translateY(0); }


/* ── LINE REVEAL ANIMATION ─────────────────────────── */

/* Jedes rv-Element wird per JS in Zeilen gesplittet */
.rv-line-wrap {
  display: block;
  overflow: hidden;
  line-height: inherit;
}
.rv-line {
  display: block;
  opacity: 0;
  will-change: transform, opacity;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              opacity  0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
/* Von links */
.rv-from-left .rv-line  { transform: translateX(-36px); }
/* Von rechts */
.rv-from-right .rv-line { transform: translateX(36px); }
/* Von unten (fallback für mittige Elemente) */
.rv-from-bottom .rv-line { transform: translateY(24px); }

/* Sichtbar */
.rv-line.in-view {
  opacity: 1;
  transform: translate(0, 0);
}


/* ── QUOTE ANIMATION ─────────────────────────── */


/* ── HERO OVERLAY ─────────────────────────── */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
#hero > *:not(.hero-overlay) {
  position: relative;
  z-index: 1;
}


/* ── CONTACT FORM INLINE ─────────────────────────── */
#contact-form-inline {
  background: #0a0a0a;
  color: #fff;
  padding: 120px 52px;
  display: flex;
  justify-content: center;
}
.cfi-inner {
  width: 100%;
  max-width: 520px;
}
.cfi-eyebrow {
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  margin-bottom: 24px;
}
.cfi-title {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  letter-spacing: -.03em;
  line-height: 1.1;
  margin-bottom: 40px;
  color: #fff;
}
.cfi-title em { font-style: italic; font-weight: 300; }

/* WPForms inside inline contact */
#contact-form-inline .wpforms-container { margin: 0; }
#contact-form-inline .wpforms-field { margin-bottom: 20px; }
#contact-form-inline .wpforms-field-label {
  font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(255,255,255,.35);
  font-weight: 500; margin-bottom: 8px; display: block;
}
#contact-form-inline input[type=text],
#contact-form-inline input[type=email],
#contact-form-inline input[type=tel],
#contact-form-inline input[type=number],
#contact-form-inline select,
#contact-form-inline textarea,
#contact-form-inline .wpforms-field input,
#contact-form-inline .wpforms-field textarea {
  width: 100% !important; box-sizing: border-box !important;
  background: #fff !important;
  border: none !important;
  border-bottom: 1px solid rgba(255,255,255,.15) !important;
  border-radius: 0 !important; padding: 14px 16px !important;
  font-size: 14px !important; color: #0a0a0a !important;
  font-family: 'Inter', sans-serif !important;
  outline: none !important;
  box-shadow: none !important;
  -webkit-appearance: none !important;
  transition: border-color 0.25s;
}
#contact-form-inline input::placeholder,
#contact-form-inline textarea::placeholder { color: transparent; }
#contact-form-inline input:focus,
#contact-form-inline textarea:focus {
  border-bottom-color: rgba(0,0,0,.3) !important;
  background: #fff !important;
  outline: none !important;
  box-shadow: none !important;
}
#contact-form-inline textarea { min-height: 100px; resize: vertical; }
#contact-form-inline fieldset { border: none; padding: 0; margin: 0; }
#contact-form-inline legend { padding: 0; }
#contact-form-inline .wpforms-field-name .wpforms-field-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
#contact-form-inline .wpforms-field-sublabel { display: none !important; }
#contact-form-inline .wpforms-submit-container { margin-top: 8px; }
#contact-form-inline button[type=submit],
#contact-form-inline input[type=submit] {
  background: #fff; color: #0a0a0a;
  border: none; padding: 16px 32px;
  font-size: 12px; letter-spacing: 0.1em;
  text-transform: uppercase; font-weight: 600;
  font-family: inherit; cursor: pointer;
  border-radius: 100px; width: 100%;
  transition: background 0.25s, transform 0.2s;
}
#contact-form-inline button[type=submit]:hover {
  background: rgba(255,255,255,.85); transform: translateY(-1px);
}
#contact-form-inline .wpforms-confirmation-container-full {
  text-align: center; padding: 40px 0;
  font-size: 18px; color: #fff;
}
#contact-form-inline .wpforms-field-row,
#contact-form-inline .wpforms-field-row-block,
#contact-form-inline .wpforms-one-half,
#contact-form-inline .wpforms-name-first,
#contact-form-inline .wpforms-name-last,
#contact-form-inline .wpforms-field-medium,
#contact-form-inline .wpforms-field-large,
#contact-form-inline .wpforms-field-small {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  outline: none !important;
}
#contact-form-inline * {
  outline: none !important;
}

/* ── CONTACT MODAL ─────────────────────────── */
/* ── Contact Modal (centered box) ── */
#contact-modal-backdrop {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(255,255,255,.6);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  opacity: 0; pointer-events: none;
  transition: opacity .5s cubic-bezier(.16,1,.3,1);
}
#contact-modal-backdrop.open { opacity: 1; pointer-events: all; }
#contact-modal-box {
  position: fixed; top: 50%; left: 50%; z-index: 1001;
  transform: translate(-50%, -50%) scale(.95) translateY(20px);
  width: 90%; max-width: 520px; max-height: 90vh;
  background: #0a0a0a; color: #fff;
  padding: 52px; overflow-y: auto;
  border-radius: 8px;
  box-shadow: 0 40px 120px rgba(0,0,0,.5);
  opacity: 0; pointer-events: none;
  transition: transform .5s cubic-bezier(.16,1,.3,1), opacity .5s;
}
#contact-modal-box.open {
  transform: translate(-50%, -50%) scale(1) translateY(0);
  opacity: 1; pointer-events: all;
}
#contact-modal-close {
  position: absolute; top: 20px; right: 20px; z-index: 10;
  width: 36px; height: 36px; border-radius: 100px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1);
  cursor: pointer !important; pointer-events: all !important;
  display: flex; align-items: center; justify-content: center;
  transition: background .3s;
}
#contact-modal-close:hover { background: rgba(255,255,255,.15); }
#contact-modal-box .modal-eyebrow {
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255,255,255,.35); margin-bottom: 24px;
}
#contact-modal-box .modal-title {
  font-size: clamp(28px,3vw,40px); font-weight: 800;
  letter-spacing: -.03em; line-height: 1.1;
  margin-bottom: 32px; color: #fff;
}
#contact-modal-box .modal-title em { font-style: italic; font-weight: 300; }


/* ── WPFORMS MODAL STYLING ─────────────────────────── */
#contact-modal-box .wpforms-container { margin: 0; }
#contact-modal-box .wpforms-field { margin-bottom: 20px; }
#contact-modal-box .wpforms-field-label {
  font-size: 11px; letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(255,255,255,.35);
  font-weight: 500; margin-bottom: 8px; display: block;
}
#contact-modal-box input[type=text],
#contact-modal-box input[type=email],
#contact-modal-box input[type=tel],
#contact-modal-box input[type=number],
#contact-modal-box select,
#contact-modal-box textarea {
  width: 100%; box-sizing: border-box;
  background: #fff;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,.15);
  border-radius: 0; padding: 14px 16px;
  font-size: 14px; color: #0a0a0a;
  font-family: inherit;
  outline: none !important;
  box-shadow: none !important;
  -webkit-appearance: none;
  transition: border-color 0.25s;
}
#contact-modal-box input::placeholder,
#contact-modal-box textarea::placeholder { color: rgba(0,0,0,.35); }
#contact-modal-box input:focus,
#contact-modal-box textarea:focus {
  border-bottom-color: rgba(0,0,0,.3);
  background: #fff;
  outline: none !important;
  box-shadow: none !important;
}
#contact-modal-box textarea { min-height: 100px; resize: vertical; }
#contact-modal-box fieldset { border: none; padding: 0; margin: 0; }
#contact-modal-box legend { padding: 0; }
#contact-modal-box .wpforms-field-name .wpforms-field-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
}
#contact-modal-box .wpforms-field-sublabel {
  display: none !important;
}
#contact-modal-box .wpforms-submit-container { margin-top: 8px; }
#contact-modal-box button[type=submit],
#contact-modal-box input[type=submit] {
  background: #fff; color: #0a0a0a;
  border: none; padding: 16px 32px;
  font-size: 12px; letter-spacing: 0.1em;
  text-transform: uppercase; font-weight: 600;
  font-family: inherit; cursor: pointer;
  border-radius: 100px; width: 100%;
  transition: background 0.25s, transform 0.2s;
}
#contact-modal-box button[type=submit]:hover {
  background: rgba(255,255,255,.85); transform: translateY(-1px);
}
#contact-modal-box .wpforms-confirmation-container-full {
  text-align: center; padding: 40px 0;
  font-size: 18px; color: #fff;
}


/* ── WPFORMS: Vorname/Nachname Sub-Labels ─── */
#contact-modal-box .wpforms-field-name .wpforms-field-sublabel {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.35);
  margin-bottom: 4px;
  display: block;
  font-weight: 500;
}
#contact-modal-box input::placeholder { color: transparent; }
#contact-modal-box textarea::placeholder { color: transparent; }


/* WPForms: alle Borders entfernen */
#contact-modal-box .wpforms-field-row,
#contact-modal-box .wpforms-field-row-block,
#contact-modal-box .wpforms-one-half,
#contact-modal-box .wpforms-one-third,
#contact-modal-box .wpforms-two-thirds,
#contact-modal-box .wpforms-field-medium,
#contact-modal-box .wpforms-field-large,
#contact-modal-box .wpforms-field-small {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}
#contact-modal-box * {
  outline: none !important;
}
#contact-modal-box input,
#contact-modal-box textarea,
#contact-modal-box select {
  border: none !important;
  border-bottom: 1px solid rgba(0,0,0,0.15) !important;
  border-radius: 0 !important;
  outline: none !important;
  box-shadow: none !important;
}

/* ── WPFORMS: Einheitlicher Reset ─── */
#contact-modal-box .wpforms-field-row,
#contact-modal-box .wpforms-field-row-block,
#contact-modal-box .wpforms-one-half,
#contact-modal-box .wpforms-name-first,
#contact-modal-box .wpforms-name-last,
#contact-modal-box .wpforms-field-medium,
#contact-modal-box .wpforms-field-large,
#contact-modal-box .wpforms-field-small {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  outline: none !important;
}
#contact-modal-box input[type="text"],
#contact-modal-box input[type="email"],
#contact-modal-box input[type="tel"],
#contact-modal-box input[type="number"],
#contact-modal-box input[type="url"],
#contact-modal-box input[type="password"],
#contact-modal-box textarea,
#contact-modal-box select,
#contact-modal-box .wpforms-field input,
#contact-modal-box .wpforms-field textarea {
  border: none !important;
  border-bottom: 1px solid rgba(255,255,255,0.15) !important;
  border-radius: 0 !important;
  outline: none !important;
  box-shadow: none !important;
  -webkit-box-shadow: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
  background: #fff !important;
  color: #0a0a0a !important;
  padding: 14px 16px !important;
  font-size: 14px !important;
  font-family: 'Inter', sans-serif !important;
  width: 100% !important;
  box-sizing: border-box !important;
}
#contact-modal-box input:focus,
#contact-modal-box textarea:focus {
  border-bottom-color: rgba(0,0,0,0.3) !important;
  background: #fff !important;
}

/* ══════════════════════════════════════════════════
   RESPONSIVE — HAMBURGER MENU
══════════════════════════════════════════════════ */
#nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  cursor: pointer;
  padding: 4px;
  z-index: 200;
  background: none;
  border: none;
}
#nav-hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.35s cubic-bezier(0.16,1,0.3,1), opacity 0.25s;
  transform-origin: center;
}
#nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
#nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
#nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile overlay menu */
#mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 150;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(24px) saturate(1.2);
  -webkit-backdrop-filter: blur(24px) saturate(1.2);
  flex-direction: column;
  justify-content: center;
  padding: 80px 32px 60px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s cubic-bezier(0.16,1,0.3,1);
}
#mobile-nav-overlay.open {
  opacity: 1;
  pointer-events: all;
}
#mobile-nav-overlay ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}
#mobile-nav-overlay ul li a {
  font-size: clamp(36px, 10vw, 56px);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #0a0a0a;
  text-decoration: none;
  display: block;
  padding: 8px 0;
  opacity: 0.5;
  transition: opacity 0.25s;
}
#mobile-nav-overlay ul li a:hover { opacity: 1; }
#mobile-nav-close {
  position: absolute;
  top: 20px; right: 20px;
  width: 40px; height: 40px;
  border-radius: 100px;
  background: rgba(0,0,0,.06);
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .3s;
  z-index: 200;
}
#mobile-nav-close:hover { background: rgba(0,0,0,.12); }
#mobile-nav-close svg { width: 16px; height: 16px; stroke: #0a0a0a; stroke-width: 2; fill: none; }
#mobile-nav-overlay .mobile-nav-footer {
  position: absolute;
  bottom: 40px;
  left: 32px;
  right: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.3);
  justify-content: center;
  gap: 16px;
}

/* ══════════════════════════════════════════════════
   RESPONSIVE — TABLET (≤1024px)
══════════════════════════════════════════════════ */

.clients-heading {
  margin-bottom: 20px !important;
}
.clients-subtext {
  margin-top: 0 !important;
}

/* ── CLIENTS MARQUEE WRAPPER ─────────────────────────── */
.clients-marquee-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.clients-marquee-wrapper::before,
.clients-marquee-wrapper::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.clients-marquee-wrapper::before {
  left: 0;
  background: linear-gradient(to right, #0a0a0a 0%, transparent 100%);
}
.clients-marquee-wrapper::after {
  right: 0;
  background: linear-gradient(to left, #0a0a0a 0%, transparent 100%);
}
.clients-marquee-track {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: max-content;
  animation: marqueeScroll 60s linear infinite;
  animation-delay: -30s;
  will-change: transform;
}
@media (min-width: 769px) {
  .clients-marquee-track:hover {
    animation-play-state: paused !important;
  }
}

.client-logo-item { opacity: 1 !important; }
.client-logo-item img {
  width: 160px !important;
  height: 57px !important;
  max-width: 160px !important;
  max-height: 57px !important;
  object-fit: contain !important;
  object-position: center !important;
  display: block !important;
  flex-shrink: 0 !important;
}
.client-logo-item:hover { opacity: 1 !important; }


/* ── MARQUEE KEYFRAME ─────────────────────────── */
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes marqueeRight {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}

/* ── LOGO MARQUEE ITEMS ─────────────────────────── */
.client-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100px;
  padding: 0 48px;
  text-decoration: none;
  flex-shrink: 0;
  position: relative;
  transition: opacity 0.3s;
  opacity: 0.5;
}
.client-logo-item:hover { opacity: 1; }

.client-logo-item .client-logo-text {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: white;
  font-weight: 600;
  white-space: nowrap;
}
.client-logo-sep {
  display: flex;
  align-items: center;
  padding: 0 4px;
  opacity: 0.2;
  color: white;
  font-size: 5px;
  flex-shrink: 0;
}

@media (max-width: 1024px) {

  /* Nav */
  #nav { padding: 24px 32px; }

  /* Hero */
  #hero { padding: 120px 32px 60px; }
  .bubble-1 { width: 160px; height: 160px; top: 12%; left: 48%; }
  .bubble-2 { width: 110px; height: 110px; top: 8%; left: 62%; }

  /* Portfolio */
  #port-texts {
    left: 32px;
    width: 300px;
  }
  #port-frame-outer {
    left: 50%;
    transform: translateX(-15%);
    width: 900px;
  }
  #pFrame { width: 820px; }

  /* Clients */
  #clients-section { padding: 56px 24px; }
  .clients-left { flex: 0 0 220px; }
  .clients-inner { gap: 40px; }

  /* Studio */
  #studio { padding: 100px 32px; gap: 48px; }

  /* Quote */
  #quote { padding: 80px 32px; }

  /* Contact */
  #contact { padding: 100px 32px; }

  /* Footer */
  #footer { padding: 48px 32px; }
}

/* ══════════════════════════════════════════════════
   RESPONSIVE — MOBILE (≤768px)
══════════════════════════════════════════════════ */
@media (max-width: 768px) {

  /* Cursor ausblenden auf Touch */
  #cursor, #cursor-dot { display: none; }
  body { cursor: auto; }
  a, button { cursor: pointer; }

  /* ── NAV ── */
  #nav {
    padding: 16px 20px;
    justify-content: center;
    position: fixed;
    background: rgba(247, 245, 240, 0.7);
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
  }
  .nav-logo svg { height: 36px; }
  .nav-links { display: none; }
  #nav-hamburger {
    display: flex; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
    color: #0a0a0a !important;
  }
  #nav-hamburger span { background: #0a0a0a !important; }
  #mobile-nav-overlay { display: flex; }

  /* ── HERO ── */
  #hero {
    padding: 80px 20px 32px;
    height: 100svh;
    height: 100dvh;
    max-height: -webkit-fill-available;
    justify-content: flex-end;
    overflow: hidden;
  }
  .bubble-1 {
    width: 120px; height: 120px;
    top: 8%; left: auto; right: 0;
  }
  .bubble-2 {
    width: 80px; height: 80px;
    top: 18%; left: auto; right: 80px;
  }
  .hero-eyebrow {
    margin-bottom: 16px;
    font-size: 10px;
  }
  .hero-title {
    font-size: clamp(36px, 11vw, 64px);
  }
  .hero-sub {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-top: 20px;
  }
  .hero-desc, .hero-desc-right {
    max-width: 100%;
    text-align: left;
    font-size: 13px;
    line-height: 1.6;
  }

  /* ── CLIENTS ── */
  #clients-section { padding: 48px 20px; }
  .clients-inner { flex-direction: column; gap: 32px; }
  .clients-left { flex: none; width: 100%; }
  .clients-marquee-outer { width: 100%; }
  .clients-marquee-wrapper::before,
  .clients-marquee-wrapper::after { width: 40px; }

  /* Marquee keyframe */
  @keyframes marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
  }

  /* Logo items */
  


  /* Hide desktop portfolio on mobile (JS does this too, but CSS prevents flash) */
  #portfolio-outer { display: none !important; }

  /* ── PORTFOLIO MOBILE (TV Frame right, text scrolls under) ── */
  #port-mobile-scroll { position: relative; display: block !important; }

  /* TV Frame — sticky, starts fullwidth, shrinks to right on scroll */
  #pms-frame-outer {
    position: -webkit-sticky;
    position: sticky;
    top: 14vh;
    z-index: 10;
    height: 0.5px;
    margin-bottom: -0.5px;
    pointer-events: none;
  }
  #pms-frame {
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: #111;
    border: 0 solid #1a1a1a;
    border-right: none;
    border-radius: 0;
    box-shadow: -4px 8px 40px rgba(0,0,0,.3);
    /* will be animated via JS */
    will-change: width, border-radius;
    transition: none;
  }
  .pms-img {
    position: absolute; inset: 0;
    width: 100%; height: 100%; object-fit: cover;
    clip-path: inset(100% 0 0 0);
    transition: clip-path .6s cubic-bezier(.16,1,.3,1);
  }
  .pms-img.pms-active {
    clip-path: inset(0 0 0 0);
  }

  /* Text scrollt von unten hoch, links Platz, geht hinter Frame */
  #pms-texts { position: relative; z-index: 5; }
  .pms-item {
    padding: 50vh 20px 60px;
    min-height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }
  .pms-item:first-child {
    padding-top: 85vh;
  }
  .pms-item .p-num {
    font-size: 10px; letter-spacing: .15em;
    margin-bottom: 10px; opacity: .4;
  }
  .pms-item .p-client {
    font-size: clamp(24px, 7vw, 34px);
    font-weight: 800; letter-spacing: -.03em;
    margin-bottom: 6px; color: inherit;
  }
  .pms-item .p-category {
    font-size: 10px; letter-spacing: .12em;
    text-transform: uppercase; opacity: .4;
    margin-bottom: 12px; color: inherit;
  }
  .pms-item .p-desc-text {
    font-size: 13px; line-height: 1.65;
    color: inherit; opacity: .7;
    max-width: 100%;
  }
  .pms-item .p-cta { margin-top: 16px; }

  /* ── CLIENTS MARQUEE MOBILE ── */
  #clients-section-2 { padding: 80px 0 !important; }
  #clients-section-2 > div:first-child { flex-direction: column !important; gap: 32px !important; }
  #clients-section-2 > div:first-child > div:first-child {
    flex: none !important; width: 100% !important; padding: 0 20px !important;
    text-align: center;
  }

  /* ── STUDIO ── */
  #studio { grid-template-columns: 1fr !important; padding: 60px 20px !important; gap: 32px !important; }
  .studio-img { max-height: 50vh; }
  .studio-img img { height: 100%; object-fit: cover; }
  .studio-text { padding: 0 !important; }
  .studio-title { font-size: clamp(28px, 8vw, 40px) !important; }
  .studio-body { font-size: 14px !important; }

  /* ── CONTACT ── */
  #contact { padding: 80px 20px !important; }
  .contact-title { font-size: clamp(32px, 9vw, 48px) !important; max-width: 100% !important; }
  .contact-btn { padding: 14px 28px !important; font-size: 11px !important; }

  /* ── CONTACT FORM INLINE ── */
  #contact-form-inline { padding: 60px 20px !important; }
  .cfi-title { font-size: clamp(24px, 7vw, 32px) !important; }

} /* end 768px */

/* ══════════════════════════════════════════════════
   RESPONSIVE — SMALL MOBILE (≤480px)
══════════════════════════════════════════════════ */
@media (max-width: 480px) {
  .hero-title { font-size: clamp(32px, 10vw, 48px); }
  .hero-sub { margin-top: 16px; gap: 10px; }
  .hero-desc, .hero-desc-right { font-size: 12px; line-height: 1.55; }
  .contact-title { font-size: clamp(28px, 9vw, 44px) !important; }
}

/* Sehr kurze Bildschirme (z.B. iPhone SE, ältere Android) */
@media (max-width: 768px) and (max-height: 700px) {
  #hero { padding: 64px 20px 24px; }
  .hero-eyebrow { margin-bottom: 10px; font-size: 9px; }
  .hero-title { font-size: clamp(28px, 9vw, 44px); line-height: 0.9; }
  .hero-sub { margin-top: 12px; gap: 8px; }
  .hero-desc, .hero-desc-right { font-size: 11px; line-height: 1.5; }
}

/* ── DOUBLE MARQUEE SECTION ─────────────────────────── */
#clients-double {
  background: #0a0a0a !important;
  color: white;
  padding: 48px 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.clients-divider {
  height: 32px;
  background: var(--white);
  width: 100%;
}
.clients-double-row {
  position: relative;
  overflow: hidden;
  background: #0a0a0a;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.clients-double-row::before,
.clients-double-row::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.clients-double-row::before {
  left: 0;
  background: linear-gradient(to right, var(--black), transparent);
}
.clients-double-row::after {
  right: 0;
  background: linear-gradient(to left, var(--black), transparent);
}
.clients-double-track {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  width: max-content !important;
  will-change: transform;
}
.clients-double-track.row-1 {
  animation: marqueeScroll 28s linear infinite;
}
.clients-double-track.row-2 {
  animation: marqueeScrollReverse 34s linear infinite;
}
@keyframes marqueeScrollReverse {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}
.clients-double-track:hover {
  animation-play-state: running;
}
