/* viavid — styles.css
   CHECKPOINT 1: Scaffold + Hero + Footer + Preloader
   ---------------------------------------------------------------- */

:root {
  /* Colors */
  --bone:     #F5F1EA;
  --cream:    #EBE5D9;
  --ink:      #1A1A1A;
  --charcoal: #2C2C2C;
  --brass:    #B8935A;
  --mist:     #E8E3DA;

  /* Typography */
  --font-display: "General Sans", system-ui, sans-serif;
  --font-body:    "Inter", system-ui, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, monospace;

  /* Type scale (clamp-based) */
  --fs-hero:    clamp(4rem, 10vw, 11rem);     /* hero display, 2 lines target */
  --fs-section: clamp(3rem, 7vw, 8rem);
  --fs-sub:     clamp(1.5rem, 3vw, 2.5rem);
  --fs-body:    1.0625rem;     /* 17px */
  --fs-mono:    0.75rem;

  /* Spacing */
  --pad-section: clamp(120px, 15vh, 240px);
  --pad-edge:    clamp(24px, 5vw, 80px);
  --container:   1440px;

  /* Motion */
  --ease-out:  cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* Reset
   ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html, body { height: 100%; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
img, video, picture { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }

/* Base
   ---------------------------------------------------------------- */
body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--ink);
  background: var(--bone);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

.mono {
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Filmgrain — subtle atmospheric overlay (opacity ~0.025)
   prevents flat-background "void" feeling; respects reduced-motion
   ---------------------------------------------------------------- */
.grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9000;
  opacity: 0.04;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.6 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

/* Custom Cursor (desktop only)
   ---------------------------------------------------------------- */
.cursor {
  position: fixed;
  top: 0; left: 0;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--ink);
  pointer-events: none;
  z-index: 10000;
  transform: translate3d(-50%, -50%, 0);
  transition: width 0.3s var(--ease-out),
              height 0.3s var(--ease-out),
              opacity 0.2s linear,
              mix-blend-mode 0.1s linear;
  mix-blend-mode: difference;
  filter: invert(1);
  opacity: 0;
}
.cursor.is-active { opacity: 1; }
.cursor.is-hover { width: 60px; height: 60px; }

@media (hover: none), (pointer: coarse) {
  .cursor { display: none; }
}

/* Preloader
   ---------------------------------------------------------------- */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 11000;
  display: grid;
  place-items: center;
  background: var(--bone);
  transition: opacity 0.6s var(--ease-out), visibility 0.6s var(--ease-out);
}
.preloader.is-done {
  opacity: 0;
  visibility: hidden;
}
.preloader__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}
.preloader__mark {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.25rem, 5vw, 3.75rem);
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1;
}
.preloader__bar {
  width: clamp(180px, 22vw, 320px);
  height: 1px;
  background: rgba(26, 26, 26, 0.12);
  overflow: hidden;
}
.preloader__fill {
  display: block;
  width: 0%;
  height: 100%;
  background: var(--ink);
  transition: width 1.4s var(--ease-out);
}
.preloader.is-progress .preloader__fill { width: 100%; }

/* Header
   ---------------------------------------------------------------- */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.75rem var(--pad-edge);
  pointer-events: none;
  mix-blend-mode: difference;
}
.header > * { pointer-events: auto; }
.header__logo {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
  color: var(--bone);
  line-height: 1;
}
.header__nav {
  display: flex;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  letter-spacing: 0.1em;
  color: var(--bone);
}
.header__nav a {
  position: relative;
  padding-bottom: 2px;
}
.header__nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}
.header__nav a:hover::after { transform: scaleX(1); }

/* Hero
   ---------------------------------------------------------------- */
.hero {
  position: relative;
  width: 100%;
  min-height: 100svh;
  min-height: 100vh;
  overflow: hidden;
  background: var(--ink);
  isolation: isolate;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__poster {
  position: absolute;
  inset: 0;
}
.hero__poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.hero__vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    /* Bottom-left scrim — strong legibility for hero text */
    linear-gradient(to top right,
      rgba(0,0,0,0.72) 0%,
      rgba(0,0,0,0.55) 18%,
      rgba(0,0,0,0.30) 38%,
      rgba(0,0,0,0.10) 55%,
      transparent 70%),
    /* Top: header legibility */
    linear-gradient(180deg,
      rgba(0,0,0,0.32) 0%,
      transparent 16%,
      transparent 78%,
      rgba(0,0,0,0.30) 100%),
    /* Classic vignette edges */
    radial-gradient(ellipse 80% 60% at center, transparent 55%, rgba(0,0,0,0.25) 100%);
}

.hero__content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100svh;
  min-height: 100vh;
  padding: calc(var(--pad-edge) + 4rem) var(--pad-edge) calc(var(--pad-edge) + 6rem);
  max-width: var(--container);
  margin: 0 auto;
}
.hero__headline {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--fs-hero);
  line-height: 0.98;          /* room for descenders/ascenders */
  letter-spacing: -0.02em;
  color: var(--bone);
  max-width: 18ch;
  padding-bottom: 0.08em;     /* prevent baseline cut on caps + descenders */
}
.hero__tagline {
  margin-top: 1.75rem;
  max-width: 38rem;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  line-height: 1.6;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(245, 241, 234, 0.78);
}

.hero__meta {
  position: absolute;
  z-index: 3;
  left: var(--pad-edge);
  right: var(--pad-edge);
  bottom: 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--bone);
  pointer-events: none;
}
.hero__meta-left, .hero__meta-right { opacity: 0.78; }

/* Sections (placeholder layout for CP1)
   ---------------------------------------------------------------- */
.section {
  position: relative;
  padding: var(--pad-section) var(--pad-edge);
  isolation: isolate;
}
.section__inner {
  max-width: var(--container);
  margin: 0 auto;
}
.section__number {
  display: inline-block;
  margin-bottom: 1.75rem;
  color: var(--charcoal);
  opacity: 0.6;
}
.section__headline {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: var(--fs-section);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--ink);
  max-width: 22ch;
  padding-bottom: 0.15em;
}
.section__placeholder {
  margin-top: 2rem;
  max-width: 32rem;
  color: var(--charcoal);
  opacity: 0.55;
}

/* Tonal alternation between sections (black-hole prevention) */
.section--approach { background: var(--cream); position: relative; overflow: hidden; }
.section--problem  { background: var(--bone);  position: relative; overflow: hidden; }
.section--process  { background: var(--mist); position: relative; overflow: hidden; }
.section--leistungen { background: var(--bone); position: relative; overflow: hidden; }
.section--demo     { background: var(--cream); position: relative; overflow: hidden; }
.section--about    { background: var(--cream); position: relative; overflow: hidden; }
.section--contact  { background: var(--bone); }

/* Approach */
.section--approach .section__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.approach__bg-image {
  position: absolute;
  inset: 0;
  background-image: url("assets/B-approach-detail-v3.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.45;
  mix-blend-mode: multiply;
}
.approach__inner {
  display: grid;
  grid-template-columns: 1fr;
  row-gap: clamp(48px, 7vh, 96px);
  position: relative;
  z-index: 1;
}
.approach__headline { max-width: 22ch; }
.approach__body {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  max-width: 56rem;
  color: var(--charcoal);
  font-size: 1.0625rem;
  line-height: 1.75;
}
.approach__body p {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.approach__body.is-revealed p { opacity: 1; transform: translateY(0); }
.approach__body.is-revealed p:nth-child(2) { transition-delay: 0.12s; }
.approach__body.is-revealed p:nth-child(3) { transition-delay: 0.24s; }

/* Problem
   ----------------------------------------------------------------
   B4 bright empty Viennese room as full-bleed background — the
   quiet of an unanswered phone, visually. Body left, pain-list
   right: pure mono typography, no icons, no numbers. */
.section--problem .section__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.problem__bg-image {
  position: absolute;
  inset: -8% 0;
  background-image: url("assets/B4-contact-still.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.38;
  mix-blend-mode: multiply;
  will-change: transform;
}
.section--problem .section__inner { position: relative; z-index: 1; }

.problem__inner {
  display: grid;
  row-gap: clamp(48px, 7vh, 96px);
}
.problem__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(48px, 8vw, 96px);
  align-items: start;
}
.problem__body {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  max-width: 42rem;
  color: var(--charcoal);
  font-size: 1.0625rem;
  line-height: 1.75;
}

.problem__pain-list {
  display: flex;
  flex-direction: column;
  list-style: none;
}
.problem__pain-item {
  border-top: 1px solid rgba(26, 26, 26, 0.14);
  padding: clamp(20px, 2.5vh, 32px) 0;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.problem__pain-item:last-child {
  border-bottom: 1px solid rgba(26, 26, 26, 0.14);
}
.problem__pain-list.is-revealed .problem__pain-item { opacity: 1; transform: translateY(0); }
.problem__pain-list.is-revealed .problem__pain-item:nth-child(2) { transition-delay: 0.08s; }
.problem__pain-list.is-revealed .problem__pain-item:nth-child(3) { transition-delay: 0.16s; }

.problem__pain-text {
  color: var(--charcoal);
  opacity: 0.85;
  line-height: 1.5;
}

@media (min-width: 900px) {
  .problem__layout { grid-template-columns: 1fr clamp(220px, 24vw, 340px); }
}

/* Process
   ----------------------------------------------------------------
   Editorial 4-step list. Mono number on left (desktop two-column),
   body on right; thin horizontal dividers between steps.
   V3 ambient video layer behind everything for subtle motion. */
.section--process .section__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.process__bg-video {
  position: absolute;
  inset: -8% 0;
  width: 100%;
  height: 116%;
  object-fit: cover;
  opacity: 0.32;
  mix-blend-mode: multiply;
}
.section--process .section__inner { position: relative; z-index: 1; }
.process__inner {
  display: grid;
  row-gap: clamp(40px, 5vh, 80px);
}
.process__steps {
  display: flex;
  flex-direction: column;
  margin-top: clamp(24px, 4vh, 56px);
}
.process__step {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding: clamp(36px, 5vh, 64px) 0;
  border-top: 1px solid rgba(26, 26, 26, 0.14);
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.process__step:last-child {
  border-bottom: 1px solid rgba(26, 26, 26, 0.14);
}
.process__steps.is-revealed .process__step { opacity: 1; transform: translateY(0); }
.process__steps.is-revealed .process__step:nth-child(2) { transition-delay: 0.08s; }
.process__steps.is-revealed .process__step:nth-child(3) { transition-delay: 0.16s; }
.process__steps.is-revealed .process__step:nth-child(4) { transition-delay: 0.24s; }

.process__step-num {
  color: var(--charcoal);
  letter-spacing: 0.14em;
  font-weight: 500;
  opacity: 0.78;
}
.process__step-body {
  max-width: 44rem;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
}
@media (min-width: 900px) {
  .process__step {
    grid-template-columns: 14rem 1fr;
    gap: clamp(2rem, 4vw, 4rem);
    align-items: start;
  }
  .process__step-num { padding-top: 0.4rem; }
}


/* Leistungen
   ----------------------------------------------------------------
   B-services-bg as full-bleed atmospheric backdrop. Two-column
   layout: text-block stack left, services still right. */
.section--leistungen .section__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.leistungen__bg-image {
  position: absolute;
  inset: -8% 0;
  background-image: url("assets/B-services-bg.png");
  background-size: cover;
  background-position: center;
  opacity: 0.48;
  mix-blend-mode: multiply;
  will-change: transform;
}
.section--leistungen .section__inner { position: relative; z-index: 1; }

.leistungen__inner {
  display: grid;
  row-gap: clamp(40px, 6vh, 80px);
}
.leistungen__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(48px, 8vw, 96px);
  align-items: start;
}
.leistungen__column {
  display: flex;
  flex-direction: column;
  gap: clamp(36px, 5vh, 60px);
  max-width: 38rem;
}
.leistungen__block {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  border-top: 1px solid rgba(26, 26, 26, 0.14);
  padding-top: clamp(20px, 2.5vh, 32px);
}
.leistungen__block-label {
  color: var(--charcoal);
  letter-spacing: 0.14em;
  opacity: 0.78;
}
.leistungen__block-body {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
}
.leistungen__cta {
  align-self: flex-start;
  display: inline-block;
  position: relative;
  padding: 0.85rem 1.5rem;
  margin-top: 1rem;
  background: var(--ink);
  color: var(--bone);
  letter-spacing: 0.14em;
  font-weight: 500;
  transition: background 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}
.leistungen__cta:hover { background: var(--charcoal); transform: translateY(-2px); }

.leistungen__visuals {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
}
.leistungen__still {
  margin: 0;
  overflow: hidden;
  background: var(--mist);
  clip-path: inset(100% 0 0 0);
  will-change: clip-path;
}
.leistungen__still--main {
  aspect-ratio: 4 / 5;
  width: 100%;
  max-width: 24rem;
}
.leistungen__still img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (min-width: 1000px) {
  .leistungen__grid {
    grid-template-columns: 1fr clamp(280px, 28vw, 400px);
  }
}

/* Demo
   ----------------------------------------------------------------
   Transcript-Karte: Chat-ähnliches Layout, KI-Turns links
   ausgerichtet, Patienten-Turns typografisch leichter.
   Audio-Player-Slot bleibt leer bis Phase 2. */
.demo__inner {
  display: grid;
  row-gap: clamp(48px, 7vh, 96px);
}
.demo__player-slot {
  /* Phase 2: Audio-Player kommt hier rein */
}
.demo__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(40px, 6vw, 72px);
  align-items: start;
}
.demo__intro {
  max-width: 38rem;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--charcoal);
}
.demo__transcript {
  border: 1px solid rgba(26, 26, 26, 0.10);
  background: rgba(245, 241, 234, 0.72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.demo__transcript-header {
  padding: 1rem clamp(20px, 3vw, 32px);
  border-bottom: 1px solid rgba(26, 26, 26, 0.10);
}
.demo__transcript-label {
  color: var(--charcoal);
  opacity: 0.6;
}
.demo__turn {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: 1rem;
  padding: clamp(14px, 2vh, 22px) clamp(20px, 3vw, 32px);
  border-bottom: 1px solid rgba(26, 26, 26, 0.06);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.demo__turn:last-child { border-bottom: none; }
.demo__transcript.is-revealed .demo__turn { opacity: 1; transform: translateY(0); }
.demo__transcript.is-revealed .demo__turn:nth-child(3) { transition-delay: 0.05s; }
.demo__transcript.is-revealed .demo__turn:nth-child(4) { transition-delay: 0.10s; }
.demo__transcript.is-revealed .demo__turn:nth-child(5) { transition-delay: 0.15s; }
.demo__transcript.is-revealed .demo__turn:nth-child(6) { transition-delay: 0.20s; }
.demo__transcript.is-revealed .demo__turn:nth-child(7) { transition-delay: 0.25s; }
.demo__transcript.is-revealed .demo__turn:nth-child(8) { transition-delay: 0.30s; }

.demo__turn-role {
  color: var(--charcoal);
  opacity: 0.55;
  padding-top: 0.15rem;
  line-height: 1.4;
}
.demo__turn--ai .demo__turn-role {
  color: var(--ink);
  opacity: 0.85;
}
.demo__turn-text {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--charcoal);
}
.demo__turn--ai .demo__turn-text {
  color: var(--ink);
}

@media (min-width: 900px) {
  .demo__layout { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .demo__turn { grid-template-columns: 1fr; gap: 0.35rem; }
}

/* Pakete
   ---------------------------------------------------------------- */
.section--pakete { background: var(--cream); }

.pakete__inner {
  display: flex;
  flex-direction: column;
  gap: clamp(48px, 6vw, 72px);
}

.pakete__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 56px);
}

.pakete__card {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  padding: clamp(28px, 3.5vw, 44px);
}

.pakete__card--pro {
  background: var(--bone);
}

.pakete__name {
  color: var(--charcoal);
  opacity: 0.65;
  letter-spacing: 0.14em;
}

.pakete__pricing {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.pakete__setup {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4.5vw, 3.75rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.pakete__recurring {
  color: var(--charcoal);
  opacity: 0.6;
}

.pakete__rule {
  border: none;
  border-top: 1px solid var(--ink);
  opacity: 0.12;
  margin: 0;
}

.pakete__features {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  flex: 1;
}

.pakete__features li {
  font-size: var(--fs-body);
  line-height: 1.5;
  padding-left: 1.25rem;
  position: relative;
}

.pakete__features li::before {
  content: "—";
  font-family: var(--font-mono);
  font-size: 0.6rem;
  position: absolute;
  left: 0;
  top: 0.25em;
  opacity: 0.4;
}

.pakete__cta {
  display: inline-block;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
  transition: opacity 0.3s var(--ease-out);
}
.pakete__cta:hover { opacity: 0.5; }

.pakete__footnote {
  text-align: center;
  opacity: 0.45;
}

@media (max-width: 800px) {
  .pakete__grid { grid-template-columns: 1fr; }
}

/* About
   ----------------------------------------------------------------
   B-about-bg as full-bleed atmospheric backdrop (mirrors Approach
   pattern). Two-column above: text left, tools-still right. */
.section--about .section__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.about__bg-image {
  position: absolute;
  inset: -8% 0;
  background-image: url("assets/B-about-bg.png");
  background-size: cover;
  background-position: center;
  opacity: 0.42;
  mix-blend-mode: multiply;
  will-change: transform;
}
.section--about .section__inner { position: relative; z-index: 1; }

.about__inner {
  display: grid;
}
.about__layout {
  display: grid;
  grid-template-columns: 1fr;
}
.about__body {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  color: var(--charcoal);
  font-size: 1.0625rem;
  line-height: 1.75;
}
.about__cta {
  align-self: flex-start;
  display: inline-block;
  position: relative;
  padding: 0.85rem 1.5rem;
  background: var(--ink);
  color: var(--bone);
  letter-spacing: 0.14em;
  font-weight: 500;
  transition: background 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}
.about__cta:hover { background: var(--charcoal); transform: translateY(-2px); }

/* Contact
   ----------------------------------------------------------------
   B-contact-bg as full-bleed atmospheric backdrop (mirrors Approach
   pattern). Two-column above: headline + body + CTAs left,
   tools-still visual right. */
.section--contact { position: relative; overflow: hidden; }
.section--contact .section__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.contact__bg-image {
  position: absolute;
  inset: -8% 0;
  background-image: url("assets/B-contact-bg.png");
  background-size: 140%;
  background-position: right center;
  opacity: 0.42;
  mix-blend-mode: multiply;
  will-change: transform;
}
.section--contact .section__inner { position: relative; z-index: 1; }

.contact__inner {
  display: grid;
  row-gap: clamp(40px, 6vh, 80px);
}
.contact__headline {
  max-width: 18ch;
  font-size: clamp(3.25rem, 8vw, 8rem);
}
.contact__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(40px, 6vw, 72px);
  align-items: start;
}
.contact__text {
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 4vh, 48px);
  max-width: 38rem;
}
.contact__body {
  max-width: 38rem;
}
.contact__body p {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--charcoal);
}
.contact__ctas {
  display: flex;
  gap: clamp(20px, 3vw, 36px);
  flex-wrap: wrap;
  align-items: center;
}
.contact__cta {
  display: inline-block;
  position: relative;
  letter-spacing: 0.14em;
  font-weight: 500;
  padding-bottom: 4px;
}
.contact__cta--primary {
  padding: 0.85rem 1.5rem;
  background: var(--ink);
  color: var(--bone);
  transition: background 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}
.contact__cta--primary:hover { background: var(--charcoal); transform: translateY(-2px); }
.contact__cta--secondary {
  color: var(--ink);
  padding: 0.85rem 0;
}
.contact__cta--secondary::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out);
}
.contact__cta--secondary:hover::after { transform: scaleX(1); }

/* Footer
   ---------------------------------------------------------------- */
.footer {
  background: var(--ink);
  color: var(--bone);
  padding: clamp(80px, 12vh, 160px) var(--pad-edge) 2rem;
  position: relative;
  isolation: isolate;
}
.footer__mark {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(6rem, 22vw, 24rem);
  line-height: 0.9;
  letter-spacing: -0.04em;       /* big but not crushed */
  color: var(--bone);
  text-align: left;
  padding-bottom: 0.05em;
  margin-bottom: clamp(60px, 8vh, 120px);
  user-select: none;
}
.footer__bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 2rem;
  border-top: 1px solid rgba(245, 241, 234, 0.12);
  padding-top: 1.5rem;
  color: rgba(245, 241, 234, 0.7);
}
.footer__left  { text-align: left; }
.footer__right { text-align: right; }
.footer__center {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  justify-content: center;
}
.footer__center a {
  position: relative;
  padding-bottom: 2px;
  color: var(--bone);
}
.footer__center a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}
.footer__center a:hover::after { transform: scaleX(1); }

@media (max-width: 760px) {
  .footer__bottom {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .footer__left, .footer__right, .footer__center { text-align: center; justify-content: center; }
}

/* Word reveal (custom SplitText, GSAP-driven)
   ----------------------------------------------------------------
   .split-word is the overflow-hidden mask, .split-word__inner is
   what GSAP animates (opacity + y). Initial state set by JS via
   gsap.set() after splitWords() runs. The CSS-only fallback below
   covers the no-JS / reduced-motion path. */
.split-word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: 0.2em;
  line-height: inherit;
}
.split-word__inner {
  display: inline-block;
  will-change: transform, opacity;
}
.split-space { display: inline-block; width: 0.28em; }

/* Hero reveal initial state */
.hero__tagline { opacity: 0; transform: translateY(20px); transition: opacity 0.8s ease 0.7s, transform 0.8s ease 0.7s; }
.hero.is-revealed .hero__tagline { opacity: 1; transform: translateY(0); }

.hero__meta-left, .hero__meta-right { opacity: 0; transition: opacity 0.6s ease 0.9s; }
.hero.is-revealed .hero__meta-left,
.hero.is-revealed .hero__meta-right { opacity: 0.78; }

/* Mobile / small screens
   ---------------------------------------------------------------- */
@media (max-width: 768px) {
  .hero__video { display: none; }
  .process__bg-video { display: none; }
  .hero__content { padding-bottom: calc(var(--pad-edge) + 5rem); }
  .header { padding: 1.25rem var(--pad-edge); }
  .header__logo { font-size: 1.125rem; }
}

/* Reduced motion
   ---------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hero__video { display: none; }
  .process__bg-video { display: none; }
  .grain { animation: none; opacity: 0.025; }
  .split-word__inner { transform: none !important; }
  .hero__tagline { opacity: 1; transform: none; }
  .hero__meta-left, .hero__meta-right { opacity: 0.78; }
  .approach__body p { opacity: 1; transform: none; }
  .problem__pain-item { opacity: 1; transform: none; }
  .demo__turn { opacity: 1; transform: none; }
  .process__step { opacity: 1; transform: none; }
  .leistungen__still { clip-path: inset(0) !important; opacity: 1; transform: none; }
  .split-word__inner { opacity: 1 !important; transform: none !important; }
}
