/* ===== Lokale Fonts (self-hosted, kein Google-CDN) ===== */
/* Space Grotesk (latin-ext) */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url(fonts/SpaceGrotesk-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Space Grotesk (latin) */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url(fonts/SpaceGrotesk-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Archivo (latin-ext) */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url(fonts/Archivo-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Archivo (latin) */
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url(fonts/Archivo-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ============================================================
   LAME STUDIOS — Markenwelt
   Monochrom: Schwarz #0a0a0a · Weiß #f5f5f3 · Silber-Verläufe
   Display: Unbounded · Body: Space Grotesk
   ============================================================ */

:root {
  --bg: #0a0a0a;
  --bg-soft: #121212;
  --ink: #f5f5f3;
  --muted: #8f8f8f;
  --lime: #f5f5f3;          /* Akzent: Weiß (Variablenname historisch) */
  --violet: #5a5a5a;
  --grad: linear-gradient(100deg, #ffffff, #c8c8c8 45%, #6e6e6e);
  --display: "Archivo", sans-serif;
  --body: "Space Grotesk", sans-serif;
  --pad: clamp(1.25rem, 5vw, 6rem);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
/* Nur für Screenreader/Suchmaschinen, visuell unsichtbar */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
html { scroll-behavior: auto; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--ink); color: #0a0a0a; }

em { font-style: normal; }
h1 em, h2 em {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem var(--pad);
  mix-blend-mode: difference;
}
.nav-logo {
  display: block;
  text-decoration: none;
}
/* Weißes Logo + mix-blend-mode:difference der Nav = automatische
   Invertierung: weiß auf dunklem, schwarz auf hellem Untergrund. */
.nav-logo img { height: 2.6rem; width: auto; display: block; }
.nav-links { display: flex; gap: 2rem; }
.nav-links a, .nav-cta {
  color: #fff;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.75;
  transition: opacity 0.25s;
}
.nav-links a:hover { opacity: 1; }
.nav-cta {
  opacity: 1;
  border: 1px solid #fff;
  border-radius: 99px;
  padding: 0.5rem 1.2rem;
  transition: background 0.25s, color 0.25s;
}
.nav-cta:hover { background: #fff; color: #000; }

/* ---------- Scrub sections ---------- */
.scrub-section { position: relative; }
.scrub-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}
.scrub-stage canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.scrub-stage::after {
  /* vignette for text legibility */
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(120% 90% at 50% 50%, transparent 45%, rgba(10, 10, 10, 0.55) 100%),
    linear-gradient(180deg, rgba(10, 10, 10, 0.45), transparent 22%, transparent 72%, rgba(10, 10, 10, 0.6));
}
.scrub-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 0 var(--pad);
  pointer-events: none;
}
.reveal-line {
  grid-area: 1 / 1;
  opacity: 0;
  will-change: opacity, transform;
}
.reveal-line h1 {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(3.2rem, 12vw, 9.5rem);
  line-height: 0.95;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.reveal-line h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.7rem, 5vw, 4rem);
  line-height: 1.12;
}
.kicker {
  font-size: clamp(0.72rem, 1.4vw, 0.9rem);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 1.4rem;
  font-weight: 500;
}
.hero-sub {
  margin-top: 1.6rem;
  font-size: clamp(0.95rem, 2vw, 1.25rem);
  letter-spacing: 0.08em;
  color: var(--muted);
}
.scroll-hint {
  position: absolute;
  bottom: 1.8rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  transition: opacity 0.5s;
}
.scroll-hint-text {
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #fff;
  font-weight: 500;
  opacity: 0.85;
  text-align: center;
}
/* Maus-Symbol mit rollendem Punkt */
.scroll-hint-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 14px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}
.scroll-hint-mouse span {
  width: 3px;
  height: 7px;
  border-radius: 2px;
  background: #fff;
  animation: scroll-wheel 1.6s ease-in-out infinite;
}
@keyframes scroll-wheel {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(11px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}
/* Springender Pfeil darunter */
.scroll-hint-arrow {
  width: 12px;
  height: 12px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
  animation: scroll-bounce 1.6s ease-in-out infinite;
}
@keyframes scroll-bounce {
  0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: 0.5; }
  50% { transform: rotate(45deg) translate(4px, 4px); opacity: 1; }
}

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden;
  border-top: 1px solid rgba(245, 245, 243, 0.25);
  border-bottom: 1px solid rgba(245, 245, 243, 0.25);
  background: var(--bg);
  padding: 1.1rem 0;
  position: relative;
  z-index: 5;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 66s linear infinite;
}
.marquee-track span {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(1rem, 2.4vw, 1.6rem);
  letter-spacing: 0.14em;
  color: var(--lime);
  white-space: nowrap;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Statement ---------- */
.statement {
  padding: clamp(6rem, 14vh, 11rem) var(--pad);
  max-width: 68rem;
  margin: 0 auto;
}
.statement p {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(1.4rem, 3.4vw, 2.6rem);
  line-height: 1.35;
}
.statement em {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- Sections ---------- */
.section {
  padding: clamp(5rem, 12vh, 9rem) var(--pad);
  position: relative;
  z-index: 5;
  background: var(--bg);
}
.section-head { margin-bottom: clamp(2.5rem, 6vh, 4.5rem); max-width: 46rem; }
.section-num {
  font-family: var(--display);
  font-weight: 300;
  color: var(--lime);
  letter-spacing: 0.2em;
  font-size: 0.9rem;
}
.section-head h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2rem, 6vw, 4.2rem);
  line-height: 1.05;
  margin: 0.6rem 0 1rem;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.section-head p { color: var(--muted); font-size: 1.05rem; }

/* ---------- Leistungen ---------- */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(245, 245, 243, 0.12);
  border: 1px solid rgba(245, 245, 243, 0.12);
}
.service {
  background: var(--bg);
  padding: clamp(1.6rem, 3vw, 2.6rem);
  min-height: 15rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  transition: background 0.35s;
  position: relative;
  overflow: hidden;
}
.service::before {
  content: "";
  position: absolute;
  inset: auto -30% -60% auto;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.14), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s;
}
.service:hover { background: var(--bg-soft); }
.service:hover::before { opacity: 1; }
.service-num {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  color: var(--lime);
  font-weight: 500;
}
.service h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  line-height: 1.2;
}
.service p { color: var(--muted); font-size: 0.95rem; }

/* ---------- Kunden-Logos ---------- */
.logo-marquee {
  overflow: hidden;
  /* weiche Kanten links/rechts, damit die Logos ein- und ausfaden */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.logo-track {
  display: flex;
  width: max-content;
  animation: logo-scroll 46s linear infinite; /* Fallback ohne JS; marquee.js übernimmt */
  will-change: transform;
}
/* Interaktives Band (marquee.js): greifen & ziehen */
.marquee-grab { cursor: grab; touch-action: pan-y; }
.marquee-grabbing { cursor: grabbing; }
.marquee-grabbing .client img { transform: none !important; }
.logo-track img {
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}
.logo-set {
  display: flex;
  gap: 1rem;
  padding-right: 1rem;
}
@keyframes logo-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.client {
  background: #f5f5f3;
  border-radius: 1rem;
  flex: 0 0 auto;
  width: clamp(11rem, 16vw, 15rem);
  padding: clamp(1.6rem, 3vw, 2.4rem) 1.2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
}
.client img {
  height: 4.5rem;
  width: auto;
  max-width: 86%;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.85;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.4s, opacity 0.4s;
}
.client:hover img {
  transform: scale(1.06);
  filter: none;
  opacity: 1;
}
.client span {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #6b6b6b;
  text-align: center;
}
.client-dark { background: #161616; }
.client-dark span { color: var(--muted); }

/* ---------- Prozess ---------- */
.process-section { background: var(--bg-soft); }
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
.step span {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
  line-height: 1;
  margin-bottom: 1rem;
}
.step h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
}
.step p { color: var(--muted); font-size: 0.95rem; }

/* ---------- Über / Stats ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.about-text {
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.65;
}
.about-text em {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(245, 245, 243, 0.12);
  border: 1px solid rgba(245, 245, 243, 0.12);
}
.stat { background: var(--bg); padding: 1.8rem 1.5rem; }
.stat-num {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  color: var(--lime);
  display: block;
  line-height: 1.1;
}
.stat p { color: var(--muted); font-size: 0.85rem; margin-top: 0.4rem; }

/* ---------- CTA ---------- */
.cta {
  position: relative;
  z-index: 5;
  padding: clamp(6rem, 16vh, 12rem) var(--pad) 0;
  text-align: center;
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(255, 255, 255, 0.10), transparent 70%),
    var(--bg);
}
.cta-inner h2 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.2rem, 6.5vw, 5rem);
  line-height: 1.08;
  text-transform: uppercase;
  margin-bottom: 2.6rem;
}
.cta-btn {
  display: inline-block;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1rem, 2.2vw, 1.5rem);
  color: #0a0a0a;
  background: var(--lime);
  text-decoration: none;
  border-radius: 99px;
  padding: 1.1rem 2.6rem;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s;
  box-shadow: 0 0 0 rgba(245, 245, 243, 0);
}
.cta-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 50px rgba(245, 245, 243, 0.30);
}
.cta-note { color: var(--muted); margin-top: 1.4rem; font-size: 0.9rem; }

/* ---------- Hero: helle Typo links im Negativraum neben dem Kopf ---------- */
#hero .scrub-overlay {
  justify-items: start;
  text-align: left;
}
#hero .reveal-line { max-width: min(44rem, 60vw); }
#hero .reveal-line h1 { font-size: clamp(3rem, 9vw, 7.5rem); }
#hero .hero-claim em,
#hero .hero-mid h2 em,
#hero .hero-end h2 em {
  background: none;
  -webkit-text-fill-color: currentColor;
  color: #d0342c;
}
.hero-claim {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.25rem, 3vw, 2.1rem);
  margin-top: 1.6rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
#hero .hero-title .hero-sub { margin-top: 1.1rem; }
#hero.scrub-section .scrub-stage::after {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.55), transparent 45%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.4), transparent 20%, transparent 78%, rgba(0, 0, 0, 0.5));
}
@media (max-width: 700px) {
  .desktop-br { display: none; }
  #hero .reveal-line { max-width: 100%; }
}

/* ---------- Arbeitsweise „The End": dunkle Editorial-Typo links ---------- */
#arbeitsweise .scrub-overlay {
  color: #141414;
  justify-items: start;
  text-align: left;
}
#arbeitsweise .reveal-line { max-width: min(40rem, 55vw); }
#arbeitsweise .kicker { color: #7a1815; }
#arbeitsweise h2 em {
  background: none;
  -webkit-text-fill-color: currentColor;
  color: #c0271f;
}
#arbeitsweise.scrub-section .scrub-stage::after {
  background: linear-gradient(90deg, rgba(239, 238, 236, 0.85), rgba(239, 238, 236, 0.2) 42%, transparent 60%);
}
@media (max-width: 700px) {
  #arbeitsweise .reveal-line { max-width: 100%; }
}

/* ---------- Hero-CTA + Sektions-CTAs ---------- */
.hero-cta {
  pointer-events: auto;
  margin-top: 2.2rem;
  font-size: clamp(0.9rem, 1.6vw, 1.05rem);
  padding: 0.9rem 2rem;
}
.section-cta {
  margin-top: clamp(2.5rem, 6vh, 4rem);
  display: flex;
  align-items: center;
  gap: 1.4rem;
  flex-wrap: wrap;
}
.section-cta span { color: var(--muted); font-size: 0.9rem; }
.cta-sub {
  color: var(--muted);
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  margin: -1rem 0 0;
}

/* ---------- Statement 2 (provokant) ---------- */
.statement-bold {
  border-top: 1px solid rgba(245, 245, 243, 0.12);
  border-bottom: 1px solid rgba(245, 245, 243, 0.12);
  background: var(--bg-soft);
  max-width: none;
  text-align: center;
}
.statement-bold p { max-width: 62rem; margin: 0 auto; }

/* ---------- Kundenstimmen ---------- */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.2rem, 2.5vw, 2rem);
}
.testimonial {
  background: var(--bg-soft);
  border: 1px solid rgba(245, 245, 243, 0.12);
  border-radius: 1.2rem;
  padding: clamp(1.6rem, 3vw, 2.2rem);
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}
.testimonial blockquote {
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--ink);
  flex: 1;
}
.testimonial blockquote::before {
  content: "”";
  display: block;
  font-family: var(--display);
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 0.5;
  margin-bottom: 1.1rem;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.testimonial figcaption { display: flex; flex-direction: column; gap: 0.15rem; }
.testimonial figcaption strong {
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.92rem;
}
.testimonial figcaption span {
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ---------- FAQ / Klartext ---------- */
.faq-section { background: var(--bg-soft); }
.faq { max-width: 52rem; }
.faq details {
  border-bottom: 1px solid rgba(245, 245, 243, 0.14);
}
.faq details:first-of-type { border-top: 1px solid rgba(245, 245, 243, 0.14); }
.faq summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  padding: 1.4rem 3rem 1.4rem 0;
  position: relative;
  transition: color 0.25s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0.3rem;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 300;
  font-size: 1.6rem;
  color: var(--muted);
  transition: transform 0.3s, color 0.3s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); color: var(--ink); }
.faq summary:hover { color: #ffffff; }
.faq details p {
  color: var(--muted);
  padding: 0 3rem 1.5rem 0;
  max-width: 46rem;
}

/* ---------- Kontakt: Formular + Calendly ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  max-width: 72rem;
  margin: clamp(3rem, 8vh, 5rem) auto 0;
  text-align: left;
}
.contact-card {
  background: var(--bg-soft);
  border: 1px solid rgba(245, 245, 243, 0.12);
  border-radius: 1.2rem;
  padding: clamp(1.6rem, 3vw, 2.6rem);
}
.contact-card h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  margin-bottom: 0.5rem;
}
.contact-hint { color: var(--muted); font-size: 0.95rem; margin-bottom: 1.8rem; }
#contact-form { display: flex; flex-direction: column; gap: 1.1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
#contact-form label {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
#contact-form input,
#contact-form select,
#contact-form textarea {
  font-family: var(--body);
  font-size: 1rem;
  font-weight: 300;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid rgba(245, 245, 243, 0.18);
  border-radius: 0.7rem;
  padding: 0.85rem 1rem;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
  resize: vertical;
}
#contact-form input::placeholder,
#contact-form textarea::placeholder { color: rgba(154, 154, 166, 0.55); }
#contact-form input:focus,
#contact-form select:focus,
#contact-form textarea:focus {
  border-color: var(--lime);
  box-shadow: 0 0 0 3px rgba(245, 245, 243, 0.18);
}
#contact-form select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23f5f5f3' stroke-width='1.6' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}
.form-btn {
  border: none;
  cursor: pointer;
  align-self: flex-start;
  margin-top: 0.4rem;
  font-size: 1rem;
  padding: 0.95rem 2.2rem;
}
.form-note { color: var(--muted); font-size: 0.78rem; letter-spacing: 0.02em; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.form-success {
  border: 1px solid rgba(245, 245, 243, 0.25);
  border-radius: 0.9rem;
  padding: 2.2rem 1.8rem;
  text-align: center;
}
.form-success h4 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
}
.form-success p { color: var(--muted); font-size: 0.95rem; }
#calendly-embed { border-radius: 0.7rem; overflow: hidden; }
#calendly-embed.calendly-pending {
  border: 1px dashed rgba(245, 245, 243, 0.4);
  padding: 2rem;
  color: var(--muted);
  font-size: 0.95rem;
}
#calendly-embed.calendly-pending code {
  color: var(--lime);
  font-family: ui-monospace, monospace;
  font-size: 0.85em;
}

/* ---------- Footer ---------- */
.footer {
  margin-top: clamp(5rem, 12vh, 9rem);
  border-top: 1px solid rgba(245, 245, 243, 0.12);
  padding: 2rem var(--pad) 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.06em;
}
.footer-links {
  display: flex;
  gap: 0.9rem 1.6rem;
  flex-wrap: wrap;
  justify-content: center;
}
.footer-links a {
  color: var(--ink);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  /* Touch-Ziel ≥ 44px, ohne das Layout optisch aufzublasen */
  padding: 0.75rem 0.25rem;
  margin: -0.35rem 0;
  display: inline-block;
  transition: color 0.25s;
}
.footer-links a:hover { color: var(--lime); }

/* ---------- Rechtsseiten (Impressum / Datenschutz) ---------- */
.legal-page .nav { mix-blend-mode: normal; background: var(--bg); position: static; }
.legal {
  max-width: 46rem;
  margin: 0 auto;
  padding: clamp(2.5rem, 6vh, 5rem) var(--pad) clamp(4rem, 10vh, 7rem);
}
.legal h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3.2rem);
  text-transform: uppercase;
  margin-bottom: 2.5rem;
}
.legal h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  margin: 2.4rem 0 0.8rem;
}
.legal h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 0.98rem;
  margin: 1.7rem 0 0.5rem;
}
.legal p, .legal li { color: var(--muted); font-size: 0.98rem; }
.legal a { color: var(--ink); text-underline-offset: 3px; }
.legal ul { padding-left: 1.3rem; margin: 0.6rem 0; }
.legal-todo {
  display: inline-block;
  color: #d0a72c;
  border: 1px dashed rgba(208, 167, 44, 0.5);
  border-radius: 0.5rem;
  padding: 0.35rem 0.7rem;
  font-size: 0.85rem;
  margin-top: 0.3rem;
}

/* ---------- Calendly Click-to-Load ---------- */
.calendly-consent {
  border: 1px dashed rgba(245, 245, 243, 0.3);
  border-radius: 0.7rem;
  padding: 2rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
  align-items: flex-start;
}
.calendly-consent p { color: var(--muted); font-size: 0.92rem; }
.calendly-consent a { color: var(--ink); }
.calendly-load-btn { border: none; cursor: pointer; font-size: 0.95rem; padding: 0.85rem 1.8rem; }

/* ---------- Consent-Banner ---------- */
#consent-banner {
  position: fixed;
  bottom: 1.2rem;
  left: 1.2rem;
  right: 1.2rem;
  z-index: 200;
  display: flex;
  justify-content: center;
  pointer-events: none;
}
.consent-card {
  pointer-events: auto;
  max-width: 34rem;
  background: var(--bg-soft);
  border: 1px solid rgba(245, 245, 243, 0.18);
  border-radius: 1rem;
  padding: 1.5rem 1.6rem;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.55);
  animation: consent-in 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes consent-in {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: none; }
}
.consent-card h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.02rem;
  margin-bottom: 0.6rem;
}
.consent-card p { color: var(--muted); font-size: 0.9rem; margin-bottom: 1.1rem; }
.consent-card a { color: var(--ink); }
.consent-actions { display: flex; gap: 0.9rem; flex-wrap: wrap; align-items: center; }
.consent-actions .cta-btn {
  border: none;
  cursor: pointer;
  font-size: 0.88rem;
  padding: 0.75rem 1.5rem;
}
.consent-essential {
  background: none;
  border: 1px solid rgba(245, 245, 243, 0.35);
  border-radius: 99px;
  color: var(--ink);
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.88rem;
  padding: 0.75rem 1.5rem;
  cursor: pointer;
  transition: border-color 0.25s;
}
.consent-essential:hover { border-color: var(--ink); }

/* ---------- Ausgewählte Arbeiten (Kunden-Reels) ---------- */
/* Horizontaler Slider: Karten nebeneinander, wischen/scrollen mit Snap */
.works {
  display: flex;
  gap: clamp(1rem, 2.5vw, 1.8rem);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 1.2rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(245, 245, 243, 0.25) transparent;
}
.works::-webkit-scrollbar { height: 6px; }
.works::-webkit-scrollbar-track { background: rgba(245, 245, 243, 0.06); border-radius: 99px; }
.works::-webkit-scrollbar-thumb { background: rgba(245, 245, 243, 0.25); border-radius: 99px; }
.works-wrap { position: relative; }
.works-nav {
  position: absolute;
  top: 42%;
  z-index: 6;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 1px solid rgba(245, 245, 243, 0.35);
  background: rgba(10, 10, 10, 0.75);
  color: var(--ink);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.25s, border-color 0.25s;
  backdrop-filter: blur(4px);
}
.works-nav:hover { background: rgba(245, 245, 243, 0.12); border-color: var(--ink); }
.works-prev { left: -0.75rem; }
.works-next { right: -0.75rem; }
.work {
  margin: 0;
  flex: 0 0 clamp(15rem, 24vw, 19rem);
  scroll-snap-align: start;
  cursor: pointer;
  outline-offset: 4px;
}
.work-media {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(245, 245, 243, 0.14);
}
.work video {
  width: 100%;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  display: block;
  background: #000;
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.work:hover video { transform: scale(1.04); }
.work-play {
  position: absolute;
  right: 0.8rem;
  bottom: 0.8rem;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: rgba(10, 10, 10, 0.65);
  border: 1px solid rgba(245, 245, 243, 0.4);
  color: #fff;
  font-size: 0.7rem;
  display: grid;
  place-items: center;
  padding-left: 2px;
  backdrop-filter: blur(4px);
  transition: transform 0.3s, background 0.3s;
}
.work:hover .work-play { transform: scale(1.12); background: rgba(208, 52, 44, 0.85); }

/* Vollbild-Player */
.lightbox[hidden] { display: none; }
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4vh 4vw;
}
.lightbox video {
  max-height: 88vh;
  max-width: min(92vw, 49.5vh);
  border-radius: 1.2rem;
  background: #000;
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.8);
}
.lightbox-close {
  position: absolute;
  top: 1.2rem;
  right: 1.4rem;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 1px solid rgba(245, 245, 243, 0.35);
  background: rgba(10, 10, 10, 0.7);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}
.lightbox-close:hover { background: rgba(245, 245, 243, 0.15); }
body.lightbox-open { overflow: hidden; }
.work figcaption {
  margin-top: 0.8rem;
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: center;
}
@media (max-width: 700px) {
  /* Zwei Karten voll sichtbar + Anschnitt der dritten: signalisiert Wischen */
  .work { flex-basis: 44vw; min-width: 0; }
  .work figcaption { font-size: 0.66rem; letter-spacing: 0.08em; margin-top: 0.55rem; }
  .works-nav { display: none; } /* mobil wischt man */
  .work-play {
    width: 2rem;
    height: 2rem;
    right: 0.55rem;
    bottom: 0.55rem;
    font-size: 0.6rem;
  }
  /* Vollbild-Player: auf dem Handy wie ein natives Reel — randlos,
     volle Höhe (dvh berücksichtigt die ein-/ausfahrende URL-Leiste) */
  .lightbox { padding: 0; }
  .lightbox video {
    max-width: 100vw;
    max-height: 100dvh;
    width: 100%;
    height: 100dvh;
    object-fit: contain;
    border-radius: 0;
    box-shadow: none;
  }
  .lightbox-close {
    top: calc(0.9rem + env(safe-area-inset-top, 0px));
    right: 0.9rem;
    width: 2.8rem;
    height: 2.8rem;
    z-index: 2;
    font-size: 1.4rem;
  }
}

/* ---------- WhatsApp-Link im Kontaktformular ---------- */
.whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.9rem;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  border: 1px solid rgba(245, 245, 243, 0.3);
  border-radius: 99px;
  padding: 0.65rem 1.3rem;
  transition: border-color 0.25s, color 0.25s;
  align-self: flex-start;
}
.whatsapp-link:hover { border-color: #25d366; color: #25d366; }

/* ---------- 404-Seite ---------- */
.error-page {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(4rem, 12vh, 8rem) var(--pad);
  gap: 1.2rem;
}
.error-page h1 {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.2rem, 7vw, 4.5rem);
  line-height: 1.08;
  text-transform: uppercase;
}
.error-page h1 em {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.error-sub { color: var(--muted); max-width: 32rem; }
.error-page .cta-btn { margin-top: 1rem; }

/* ---------- WhatsApp-Button (schwebend) ---------- */
.wa-fab {
  position: fixed;
  right: clamp(1rem, 3vw, 1.8rem);
  bottom: clamp(1rem, 3vw, 1.8rem);
  z-index: 150;
  display: flex;
  align-items: center;
  gap: 0;
  height: 3.5rem;
  padding: 0 1rem;
  border-radius: 99px;
  background: #111;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.14);
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.3s, box-shadow 0.3s;
}
.wa-fab svg { flex: 0 0 auto; }
.wa-fab-label {
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.9rem;
  max-width: 0;
  opacity: 0;
  white-space: nowrap;
  overflow: hidden;
  transition: max-width 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.3s, margin-left 0.35s;
}
.wa-fab:hover, .wa-fab:focus-visible {
  background: #25d366;   /* WhatsApp-Grün beim Hover — Wiedererkennung */
  color: #0a0a0a;
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(37, 211, 102, 0.4);
}
.wa-fab:hover .wa-fab-label, .wa-fab:focus-visible .wa-fab-label {
  max-width: 8rem;
  opacity: 1;
  margin-left: 0.6rem;
}
@media (max-width: 700px) {
  /* Auf dem Handy dauerhaft mit Label, damit klar erkennbar */
  .wa-fab { height: 3.2rem; }
  .wa-fab-label { max-width: 8rem; opacity: 1; margin-left: 0.55rem; font-size: 0.85rem; }
}

/* ---------- Scroll reveals ---------- */
.reveal {
  opacity: 0;
  transform: translateY(38px);
  transition: opacity 0.9s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .testimonials { grid-template-columns: 1fr; }
  .services { grid-template-columns: 1fr 1fr; }
  .process { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .services { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .client { min-width: 8.5rem; }
  .process { grid-template-columns: 1fr; }
  .service { min-height: 0; }
  .footer { flex-direction: column; text-align: center; }
  .footer-links { max-width: 100%; }
  .footer span { max-width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .logo-track { animation: none; flex-wrap: wrap; justify-content: center; width: 100%; }
  .reveal { transition: none; opacity: 1; transform: none; }
}
