/* ==========================================================================
   es-social · Onepager
   ========================================================================== */

:root {
  /* Farben */
  --black: #0B0D0E;
  --off-white: #F5F5F1;
  --ui-grey: #E7E9E4;
  --text-grey: #6E736D;
  --es-green: #C7F64B;
  --white: #FFFFFF;
  --black-soft: #15181A;
  --line-dark: rgba(255, 255, 255, 0.14);
  --text-on-dark: rgba(245, 245, 241, 0.72);

  /* Typo */
  --font-sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --fs-display: clamp(2.6rem, 6.4vw, 6.25rem);
  --fs-h2: clamp(2.1rem, 4.4vw, 4rem);
  --fs-h3: clamp(1.2rem, 1.4vw, 1.4rem);
  --fs-statement: clamp(2.4rem, 7.2vw, 7.5rem);
  --fs-lead: clamp(1.1rem, 1.35vw, 1.3rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.9375rem;
  --fs-mono: 0.75rem;

  /* Layout */
  --container: 1400px;
  --gutter: clamp(20px, 4vw, 56px);
  --section-y: clamp(88px, 11vw, 168px);
  --radius: 14px;
  --radius-sm: 10px;
  --header-h: 76px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.6s;
}

/* Reset ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--black);
  background: var(--off-white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
a:hover { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
address { font-style: normal; }
p { text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--es-green); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--es-green); color: var(--black); padding: 10px 16px; border-radius: 8px; font-weight: 700;
}
.skip-link:focus { top: 16px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section-y) 0; }
.mono { font-family: var(--font-mono); font-size: var(--fs-mono); letter-spacing: 0.08em; text-transform: uppercase; font-weight: 500; }

/* Typo ------------------------------------------------------------------- */
.h2 {
  font-size: var(--fs-h2); font-weight: 800; line-height: 1.02; letter-spacing: -0.035em; text-wrap: balance;
}
.h3 { font-size: var(--fs-h3); font-weight: 700; line-height: 1.2; letter-spacing: -0.015em; }
.lead-strong { font-size: var(--fs-lead); font-weight: 600; line-height: 1.45; letter-spacing: -0.01em; }

.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-mono); font-size: var(--fs-mono); font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-grey);
  margin-bottom: 24px;
}
.eyebrow--light { color: var(--text-on-dark); }

/* Der grüne Strich – wiederkehrendes CI-Element */
.dash {
  display: inline-block; flex: none;
  width: 22px; height: 3px; border-radius: 2px;
  background: var(--es-green);
  transform-origin: left center;
}
.dash--lg { width: 40px; height: 4px; }
.reveal .dash, .reveal.dash { transform: scaleX(0); transition: transform 0.8s var(--ease) 0.2s; }
.reveal.is-in .dash { transform: scaleX(1); }

/* Logo ------------------------------------------------------------------- */
.logo { position: relative; display: inline-flex; align-items: center; flex: none; }
.logo-img { display: block; height: 22px; width: auto; transition: opacity 0.35s; }
.logo-img--light { position: absolute; left: 0; top: 50%; transform: translateY(-50%); }
/* Standard (über Hero / dunkle Zonen): helles Logo */
.logo-img--dark { opacity: 0; }
.site-header.is-scrolled .logo-img--dark { opacity: 1; }
.site-header.is-scrolled .logo-img--light { opacity: 0; }
.nav-open .site-header .logo-img--dark { opacity: 0; }
.nav-open .site-header .logo-img--light { opacity: 1; }
.logo--footer .logo-img { height: 32px; }

/* Buttons ---------------------------------------------------------------- */
.btn {
  --h: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: var(--h); padding: 0 26px; border-radius: 999px;
  font-weight: 700; font-size: 1rem; letter-spacing: -0.01em; white-space: nowrap;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s, transform 0.25s var(--ease);
}
.btn-sm { --h: 42px; padding: 0 18px; font-size: 0.9375rem; }
.btn-lg { --h: 60px; padding: 0 32px; font-size: 1.0625rem; }
.btn-arrow { display: inline-block; transition: transform 0.3s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(4px); }
.btn:active { transform: scale(0.98); }

.btn-primary { background: var(--es-green); color: var(--black); }
.btn-primary:hover { background: #D6FF66; color: var(--black); }
.btn-ghost-light { border: 1.5px solid rgba(245, 245, 241, 0.5); color: var(--off-white); }
.btn-ghost-light:hover { border-color: var(--off-white); background: rgba(245, 245, 241, 0.08); color: var(--off-white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Pills ------------------------------------------------------------------ */
.pill {
  display: inline-flex; align-items: center; height: 30px; padding: 0 14px; border-radius: 999px;
  font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 500;
  border: 1px solid var(--ui-grey); color: var(--text-grey);
}
.pill--dark { border-color: var(--line-dark); color: var(--text-on-dark); background: rgba(255, 255, 255, 0.04); }

/* Media-Platzhalter -----------------------------------------------------
   Jedes Bild liegt in .media. Fehlt die Datei, blendet script.js das <img>
   aus und die Platzhalterfläche mit Dateiname (data-label) bleibt sichtbar.
   ------------------------------------------------------------------------ */
.media {
  position: relative; overflow: hidden;
  background:
    radial-gradient(120% 90% at 70% 20%, #dcdfd8 0%, #cdd1c9 55%, #c2c6be 100%);
}
.media--dark {
  background:
    radial-gradient(120% 90% at 70% 25%, #2a2f31 0%, #1a1d1f 55%, #121415 100%);
}
.media::after {
  content: attr(data-label);
  position: absolute; left: 14px; bottom: 12px;
  font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.06em;
  color: rgba(11, 13, 14, 0.42);
  pointer-events: none;
}
.media--dark::after { color: rgba(245, 245, 241, 0.32); }
.media.has-image::after { display: none; }
.media > img, .media > video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s var(--ease);
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  color: var(--off-white);
  transition: background-color 0.35s, backdrop-filter 0.35s, border-color 0.35s, color 0.35s;
  border-bottom: 1px solid transparent;
}
.header-inner { display: flex; align-items: center; gap: 40px; height: var(--header-h); }
.main-nav { margin-right: auto; }
.main-nav ul { display: flex; gap: 32px; }
.main-nav a {
  position: relative; display: inline-block; padding: 6px 0;
  font-size: 0.9375rem; font-weight: 600; opacity: 0.86; transition: opacity 0.2s;
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; border-radius: 2px;
  background: var(--es-green); transform: scaleX(0); transform-origin: left; transition: transform 0.35s var(--ease);
}
.main-nav a:hover { opacity: 1; }
.main-nav a:hover::after, .main-nav a.is-active::after { transform: scaleX(1); }
.main-nav a.is-active { opacity: 1; }

.site-header.is-scrolled {
  background: rgba(245, 245, 241, 0.82);
  -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
  border-bottom-color: rgba(11, 13, 14, 0.06);
  color: var(--black);
}
.site-header.is-dark-zone {
  background: rgba(11, 13, 14, 0.72); color: var(--off-white); border-bottom-color: var(--line-dark);
}

.nav-toggle { display: none; width: 44px; height: 44px; margin-left: auto; position: relative; }
.nav-toggle span {
  position: absolute; left: 11px; width: 22px; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform 0.35s var(--ease), top 0.35s var(--ease);
}
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 25px; }
.nav-open .nav-toggle span:first-child { top: 21px; transform: rotate(45deg); }
.nav-open .nav-toggle span:last-child { top: 21px; transform: rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
  height: calc(100dvh - var(--header-h)); min-height: calc(100vh - var(--header-h));
  background: var(--black); color: var(--off-white);
  padding: 32px var(--gutter) 40px;
  display: flex; flex-direction: column; gap: 32px; overflow-y: auto; overscroll-behavior: contain;
  opacity: 0; transform: translateY(-8px); transition: opacity 0.3s, transform 0.4s var(--ease);
}
.mobile-nav[hidden] { display: none; }
.mobile-nav.is-open { opacity: 1; transform: none; }
.mobile-nav ul { display: flex; flex-direction: column; flex: none; }
.mobile-nav li a {
  display: block; padding: 14px 0; font-size: 2rem; font-weight: 800; letter-spacing: -0.03em;
  border-bottom: 1px solid var(--line-dark);
}
.mobile-nav .btn { align-self: flex-start; }
.mobile-nav-meta { margin-top: auto; color: var(--text-on-dark); }
.nav-open .site-header { background: var(--black); color: var(--off-white); }
.nav-open { overflow: hidden; }

/* ==========================================================================
   01 HERO
   ========================================================================== */
.hero {
  position: relative; min-height: 100svh; max-height: 1100px;
  display: flex; color: var(--off-white); background: var(--black); overflow: hidden;
}
.hero-media { position: absolute; inset: 0; }
.hero-media > img { transform: scale(1.06); animation: heroZoom 2.4s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero-video { opacity: 0; transition: opacity 0.8s var(--ease); }
.hero-video.is-playing { opacity: 1; }
.hero-media::after { left: auto; right: var(--gutter); top: calc(var(--header-h) + 24px); bottom: auto; }
.hero-shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(11,13,14,0.88) 0%, rgba(11,13,14,0.6) 42%, rgba(11,13,14,0.1) 75%),
    linear-gradient(0deg, rgba(11,13,14,0.7) 0%, rgba(11,13,14,0) 35%);
}
.hero-inner {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-top: calc(var(--header-h) + 64px); padding-bottom: clamp(32px, 5vw, 56px);
  min-height: 100%; width: 100%;
}
.hero-content { max-width: 900px; }
.hero-content .pill { margin-bottom: 28px; }
.hero-title { font-size: var(--fs-display); line-height: 0.98; letter-spacing: -0.045em; margin-bottom: 28px; }
.hero-title-main { display: block; font-weight: 800; text-wrap: balance; }
.hero-title-sub { display: block; font-weight: 500; letter-spacing: -0.035em; margin-top: 0.12em; color: rgba(245, 245, 241, 0.82); }

.hand-underline { position: relative; display: inline-block; }
.hand-underline svg {
  position: absolute; left: -2%; bottom: -0.1em; width: 104%; height: 0.2em; overflow: visible;
}
.hand-underline path {
  fill: none; stroke: var(--es-green); stroke-width: 3.5; stroke-linecap: round;
  stroke-dasharray: 130; stroke-dashoffset: 130;
  transition: stroke-dashoffset 1s var(--ease) 0.9s;
}
.hero-title.is-in .hand-underline path { stroke-dashoffset: 0; }

.hero-lead { max-width: 580px; font-size: var(--fs-lead); line-height: 1.5; color: rgba(245, 245, 241, 0.86); margin-bottom: 36px; }

.hero-foot {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
  margin-top: clamp(48px, 7vw, 88px); padding-top: 24px; border-top: 1px solid var(--line-dark);
}
.hero-location { display: flex; align-items: center; gap: 12px; color: var(--text-on-dark); }

/* ==========================================================================
   02 POSITIONIERUNG
   ========================================================================== */
.approach { background: var(--off-white); }
.approach-grid {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(32px, 6vw, 120px);
  align-items: end;
}
.approach-copy { display: flex; flex-direction: column; gap: 20px; color: var(--black); max-width: 560px; }
.approach-copy p:not(.lead-strong) { color: var(--text-grey); }

.statement {
  margin-top: clamp(80px, 10vw, 150px); padding-top: clamp(40px, 5vw, 64px);
  border-top: 1px solid rgba(11, 13, 14, 0.12);
  font-size: var(--fs-statement); font-weight: 800; line-height: 0.96; letter-spacing: -0.05em;
}
.statement-row { display: block; }
.statement-row--muted { color: var(--text-grey); display: flex; align-items: center; gap: 0.18em; flex-wrap: wrap; }
.statement-dash {
  display: inline-block; width: 0.8em; height: 0.12em; border-radius: 0.04em; background: var(--es-green);
  transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease) 0.35s;
}
.statement.is-in .statement-dash { transform: scaleX(1); }

/* ==========================================================================
   03 LEISTUNGEN
   ========================================================================== */
.services { background: var(--white); }
.section-head { max-width: 900px; margin-bottom: clamp(48px, 6vw, 80px); }

.service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.service-card {
  display: flex; flex-direction: column;
  background: var(--off-white); border: 1px solid var(--ui-grey); border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.5s var(--ease), border-color 0.3s, box-shadow 0.5s var(--ease), opacity var(--dur) var(--ease);
}
.service-card:hover { transform: translateY(-6px); border-color: #d4d7d0; box-shadow: 0 24px 48px -28px rgba(11, 13, 14, 0.28); }
.service-media { aspect-ratio: 4 / 3; }
.service-media--top > img { object-position: center top; }
.service-card:hover .service-media > img { transform: scale(1.05); }
.service-body { display: flex; flex-direction: column; gap: 14px; padding: 22px 22px 24px; flex: 1; }
.service-top { display: flex; align-items: center; justify-content: space-between; }
.service-index { color: var(--text-grey); }
.service-arrow {
  width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--ui-grey); background: var(--white); font-size: 1rem;
  transition: background-color 0.3s, border-color 0.3s, transform 0.4s var(--ease);
}
.service-card:hover .service-arrow { background: var(--es-green); border-color: var(--es-green); transform: rotate(45deg); }
.service-body > p { font-size: var(--fs-small); color: var(--text-grey); line-height: 1.6; }
.tag-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 10px; }
.tag-list li {
  font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.04em;
  padding: 4px 9px; border-radius: 6px; background: var(--white); border: 1px solid var(--ui-grey); color: var(--black);
}

/* ==========================================================================
   04 CONTENT CREATION
   ========================================================================== */
.content-creation { background: var(--black); color: var(--off-white); overflow: hidden; }
.content-grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: center;
}
.content-copy .pill { margin-bottom: 28px; }
.content-copy .h2 { margin-bottom: 32px; }
.content-text { display: flex; flex-direction: column; gap: 18px; color: var(--text-on-dark); max-width: 520px; }
.content-highlight {
  display: flex; flex-direction: column; gap: 18px; margin-top: 44px; padding-top: 32px;
  border-top: 1px solid var(--line-dark);
  font-size: clamp(1.4rem, 2vw, 1.9rem); font-weight: 700; line-height: 1.2; letter-spacing: -0.025em; max-width: 480px;
}

.frames { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: start; }
.frame {
  position: relative; aspect-ratio: 9 / 16; border-radius: var(--radius); overflow: hidden;
  border: 1px solid rgba(245, 245, 241, 0.12); outline-offset: 4px;
  transition: transform 0.6s var(--ease), border-color 0.3s, opacity var(--dur) var(--ease);
}
.frame--offset { margin-top: 56px; }
.frame-media { position: absolute; inset: 0; }
.frame-media::after { top: 52px; bottom: auto; }
.frame-video { opacity: 1; transition: transform 1.2s var(--ease); }
.frame::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(11,13,14,0.45) 0%, rgba(11,13,14,0) 22%, rgba(11,13,14,0) 50%, rgba(11,13,14,0.85) 100%);
}
.frame:hover, .frame:focus-visible { transform: translateY(-6px); border-color: rgba(245, 245, 241, 0.3); }
.frame:hover .frame-media > img, .frame:focus-visible .frame-media > img,
.frame:hover .frame-media > video, .frame:focus-visible .frame-media > video { transform: scale(1.06); }

.frame-bars { position: absolute; z-index: 2; top: 12px; left: 12px; right: 12px; display: flex; gap: 4px; }
.frame-bars span { flex: 1; height: 2px; border-radius: 2px; background: rgba(245, 245, 241, 0.28); position: relative; overflow: hidden; }
.frame-bars span::after {
  content: ""; position: absolute; inset: 0; background: var(--es-green);
  transform: scaleX(0); transform-origin: left;
}
.frame-bars span:first-child::after { transform: scaleX(1); }
.frame:hover .frame-bars span:nth-child(2)::after,
.frame:focus-visible .frame-bars span:nth-child(2)::after { transform: scaleX(1); transition: transform 1.2s linear; }

.frame-tag {
  position: absolute; z-index: 2; top: 26px; left: 12px;
  padding: 5px 10px; border-radius: 999px; font-size: 0.625rem;
  background: rgba(11, 13, 14, 0.4); border: 1px solid rgba(245, 245, 241, 0.2);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.frame-play {
  position: absolute; z-index: 2; top: 50%; left: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px;
  display: grid; place-items: center; border-radius: 50%;
  background: rgba(245, 245, 241, 0.16); border: 1px solid rgba(245, 245, 241, 0.3);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  transition: transform 0.4s var(--ease), background-color 0.3s, color 0.3s;
}
.frame-play svg { width: 20px; height: 20px; fill: currentColor; margin-left: 3px; }
.frame:hover .frame-play { transform: scale(1.1); background: var(--es-green); color: var(--black); }
.frame-caption { position: absolute; z-index: 2; left: 16px; right: 16px; bottom: 16px; }
.frame-title { font-size: clamp(1.25rem, 1.8vw, 1.6rem); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 6px; }
.frame-caption p { font-size: 0.875rem; line-height: 1.45; color: rgba(245, 245, 241, 0.82); }
.frames-dots { display: none; }

/* ==========================================================================
   05 PROZESS
   ========================================================================== */
.process { background: var(--off-white); }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: step; }
.step { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 36px 32px 0 0; }
.step-line { position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--ui-grey); overflow: hidden; }
.step-line span {
  display: block; height: 100%; background: var(--black);
  transform: scaleX(0); transform-origin: left; transition: transform 0.7s var(--ease);
}
.step::before {
  content: ""; position: absolute; top: -5px; left: 0; width: 12px; height: 12px; border-radius: 50%;
  background: var(--off-white); border: 2px solid var(--ui-grey); z-index: 1;
  transition: background-color 0.3s 0.2s, border-color 0.3s 0.2s;
}
.steps.is-in .step-line span { transform: scaleX(1); }
.steps.is-in .step::before { background: var(--es-green); border-color: var(--black); }
.steps .step:nth-child(2) .step-line span, .steps .step:nth-child(2)::before { transition-delay: 0.45s; }
.steps .step:nth-child(3) .step-line span, .steps .step:nth-child(3)::before { transition-delay: 0.9s; }
.steps .step:nth-child(4) .step-line span, .steps .step:nth-child(4)::before { transition-delay: 1.35s; }
.step-num { color: var(--text-grey); }
.step .h3 { font-size: clamp(1.35rem, 1.8vw, 1.75rem); font-weight: 800; letter-spacing: -0.03em; }
.step p { font-size: var(--fs-small); color: var(--text-grey); max-width: 280px; }

.process-close {
  margin-top: clamp(64px, 8vw, 112px);
  font-size: clamp(1.6rem, 3vw, 2.75rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.1;
}
.process-close span { color: var(--text-grey); }

/* ==========================================================================
   06 ÜBER UNS
   ========================================================================== */
.about { background: var(--white); }
.about-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 120px); align-items: center; }
.about-portrait .media { aspect-ratio: 4 / 5; border-radius: var(--radius); }
.about-portrait:hover .media > img { transform: scale(1.03); }
.about-portrait figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-top: 16px; flex-wrap: wrap; }
.about-name { font-weight: 700; font-size: 1.125rem; letter-spacing: -0.015em; }
.about-role { color: var(--text-grey); }
.about-copy .h2 { margin-bottom: 36px; }
.about-text { display: flex; flex-direction: column; gap: 18px; max-width: 580px; }
.about-text p:not(.lead-strong) { color: var(--text-grey); }

/* ==========================================================================
   07 FINAL CTA
   ========================================================================== */
.final-cta { background: var(--white); padding-top: 0; }
.cta-panel {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 80px); align-items: end;
  background: var(--black); color: var(--off-white); border-radius: calc(var(--radius) + 4px);
  padding: clamp(40px, 7vw, 104px) clamp(24px, 6vw, 96px);
}
.cta-title { font-size: clamp(2.8rem, 7vw, 7rem); font-weight: 800; line-height: 0.95; letter-spacing: -0.05em; text-wrap: balance; }
.cta-side { display: flex; flex-direction: column; gap: 16px; color: var(--text-on-dark); }
.cta-strong { color: var(--off-white); font-weight: 600; }
/* Pfeil kommt aus dem Text und zielt auf die vertikale Mitte des Buttons (Tip y=30 = halbe Höhe btn-lg) */
.cta-action { display: flex; align-items: flex-start; gap: 6px; margin-top: 12px; }
.hand-arrow { flex: none; width: 64px; height: 44px; overflow: visible; }
.hand-arrow path { fill: none; stroke: var(--es-green); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 90; stroke-dashoffset: 90; transition: stroke-dashoffset 0.9s var(--ease) 0.5s; }
.cta-panel.is-in .hand-arrow path { stroke-dashoffset: 0; }
.contact-direct { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 10px; }
.contact-direct a { display: flex; flex-direction: column; gap: 2px; color: var(--off-white); }
.contact-direct a .mono { color: var(--text-on-dark); font-size: 0.625rem; }
.contact-direct a strong { font-size: 0.9375rem; font-weight: 600; transition: color 0.2s; }
.contact-direct a:hover strong { color: var(--es-green); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: var(--black); color: var(--off-white); padding: clamp(56px, 7vw, 88px) 0 28px; }
.footer-grid {
  display: grid; grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); gap: 32px;
  padding-bottom: clamp(48px, 6vw, 72px);
}
.footer-brand .logo { font-size: 2.2rem; }
.footer-tagline { max-width: 280px; margin-top: 18px; color: var(--text-on-dark); font-size: var(--fs-small); line-height: 1.55; }
.footer-col { display: flex; flex-direction: column; gap: 6px; font-size: var(--fs-small); color: var(--text-on-dark); line-height: 1.6; }
.footer-label { color: var(--off-white); margin-bottom: 8px; font-size: 0.6875rem; }
.footer-col a { position: relative; align-self: flex-start; transition: color 0.2s; }
.footer-col a:hover, .footer-legal a:hover { color: var(--es-green); }
.placeholder-link { opacity: 0.6; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  padding-top: 24px; border-top: 1px solid var(--line-dark); color: var(--text-on-dark);
}
.footer-legal { display: flex; gap: 24px; font-size: 0.875rem; }
.footer-legal a { transition: color 0.2s; }

/* ==========================================================================
   LEGAL PAGES
   ========================================================================== */
.legal-page { background: var(--off-white); min-height: 100vh; }
.legal-header { background: var(--black); color: var(--off-white); }
.legal-header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.legal-back { font-size: 0.9375rem; font-weight: 700; transition: color 0.2s; }
.legal-back:hover { color: var(--es-green); }
.legal-main { padding: clamp(72px, 10vw, 128px) 0; }
.legal-wrap { max-width: 860px; }
.legal-wrap .eyebrow { margin-bottom: 18px; }
.legal-title { font-size: clamp(2.8rem, 7vw, 6rem); line-height: 0.96; letter-spacing: -0.05em; margin-bottom: 48px; }
.legal-copy { display: grid; gap: 28px; }
.legal-copy section { display: grid; gap: 10px; }
.legal-copy h2 { font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.2; }
.legal-copy p, .legal-copy li { color: var(--text-grey); }
.legal-copy a { text-decoration: underline; text-decoration-color: var(--es-green); text-underline-offset: 3px; }
.legal-note { padding: 18px 20px; background: var(--ui-grey); border-radius: var(--radius-sm); color: var(--text-grey); font-size: var(--fs-small); }
.legal-footer { background: var(--black); color: var(--text-on-dark); padding: 28px 0; }
.legal-footer-inner { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

/* ==========================================================================
   REVEAL
   ========================================================================== */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity var(--dur) var(--ease), transform 0.8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .service-card.reveal.is-in:hover { transform: translateY(-6px); }
.js .frame.reveal.is-in:hover { transform: translateY(-6px); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1180px) {
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .content-grid { grid-template-columns: minmax(0, 1fr); }
  .content-copy { max-width: 760px; }
  .frames { max-width: 820px; }
}

@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .main-nav, .header-cta { display: none; }
  .nav-toggle { display: block; }
  .approach-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 56px; }
  .about-grid { grid-template-columns: minmax(0, 1fr); }
  .about-portrait { max-width: 520px; }
  .cta-panel { grid-template-columns: minmax(0, 1fr); align-items: start; }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 680px) {
  :root { --fs-body: 1rem; }
  .hero { min-height: 100svh; }
  .hero-shade {
    background: linear-gradient(0deg, rgba(11,13,14,0.94) 0%, rgba(11,13,14,0.75) 50%, rgba(11,13,14,0.35) 100%);
  }
  .hero-title { letter-spacing: -0.04em; }
  .hero-lead { font-size: 1.0625rem; margin-bottom: 28px; }
  .hero .btn-row { flex-direction: column; align-items: stretch; }
  .hero-foot { margin-top: 36px; }

  .service-grid { grid-template-columns: minmax(0, 1fr); }
  .service-media { aspect-ratio: 16 / 10; }

  /* Content Frames: horizontal scrollbar */
  .content-creation .container.content-grid { padding-right: 0; }
  .content-copy { padding-right: var(--gutter); }
  .frames {
    display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory;
    padding: 8px var(--gutter) 8px 0; margin-bottom: -8px; scrollbar-width: none; max-width: none;
  }
  .frames::-webkit-scrollbar { display: none; }
  .frame { flex: 0 0 72%; scroll-snap-align: start; }
  .frame--offset { margin-top: 0; }
  .frames-dots { display: flex; gap: 6px; padding-right: var(--gutter); }
  .frames-dots span { width: 16px; height: 3px; border-radius: 2px; background: rgba(245,245,241,0.2); transition: width 0.3s var(--ease), background-color 0.3s; }
  .frames-dots span.is-active { width: 28px; background: var(--es-green); }

  /* Prozess vertikal mit Linie links */
  .steps { grid-template-columns: minmax(0, 1fr); row-gap: 0; }
  .step { padding: 0 0 40px 36px; }
  .step:last-child { padding-bottom: 0; }
  .step-line { top: 6px; bottom: 0; left: 5px; right: auto; width: 2px; height: auto; }
  .step-line span { width: 100%; height: 100%; transform: scaleY(0); transform-origin: top; }
  .steps.is-in .step-line span { transform: scaleY(1); }
  .step:last-child .step-line { display: none; }
  .step::before { top: 0; }

  .statement { font-size: clamp(2.4rem, 11vw, 3.5rem); }
  .cta-panel { border-radius: var(--radius); }
  .hand-arrow { display: none; }
  .cta-action .btn { width: 100%; }
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-grid .footer-col:first-of-type { grid-column: 1 / -1; }
}

/* Reduced Motion ------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero-media > img { transform: none; }
  .frame-video { display: none !important; }
}
