/* ==========================================================================
   Maya Enggist – Onepager
   Referenz: Figma „MacBook Pro 16" – 14“ (1728 px breit).
   Desktop-Masse werden über --u (1 Design-Pixel) fluid skaliert.
   ========================================================================== */

:root {
  --bg: #AFBAA7;
  --bg-deep: #96A28E;        /* dunklerer Salbeiton für Hover-Füllung */
  --ink: #F2EFEA;            /* warmes Weiss: Schrift, Logo, Linien */
  --ink-soft: rgba(242, 239, 234, .66);
  --slate: #4A5E68;          /* Markenabbildung im Abschluss (aus Vorlage) */
  --field-bg: rgba(217, 217, 217, .44);
  --field-line: #F8F6F2;

  --font-sans: "LINE Seed JP", "Inria Sans", system-ui, sans-serif;
  --font-label: "Inria Sans", "LINE Seed JP", system-ui, sans-serif;

  /* 1 Design-Pixel; oberhalb 1920 px Viewport nicht weiter wachsend */
  --maxw: 1920px;
  --u: calc(min(100vw, var(--maxw)) / 1728);
  /* Randabstand, der den Inhalt bei sehr breiten Fenstern zentriert */
  --edge: max(0px, (100vw - var(--maxw)) / 2);
  /* 1 Design-Pixel relativ zur vollen Fensterbreite – für randlose Elemente (Linien) */
  --uw: calc(100vw / 1728);
  --gutter: max(16px, calc(var(--u) * 53));

  --ease-soft: cubic-bezier(.33, 0, .2, 1);
  --ease-draw: cubic-bezier(.6, 0, .3, 1);

  --parallax: 60px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.page {
  position: relative;
  overflow-x: hidden;   /* Fallback */
  overflow-x: clip;     /* seitenbreite Linien dürfen keinen Scrollbalken erzeugen */
}

img, video, svg { display: block; max-width: 100%; }
p { margin: 0; }
h1, h2 { margin: 0; font-weight: 400; }
a { color: inherit; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

:focus-visible {
  outline: 1.5px solid var(--ink);
  outline-offset: 4px;
  border-radius: 4px;
}

/* --------------------------------------------------------------------------
   Typo-Bausteine
   -------------------------------------------------------------------------- */
.label {
  font-family: var(--font-label);
  font-weight: 400;
  font-size: clamp(13px, calc(var(--u) * 22), 24px);
  letter-spacing: .02em;
  text-transform: uppercase;
  line-height: 1.2;
}

.body-text {
  font-size: clamp(16px, calc(var(--u) * 20), 22px);
  line-height: 1.5;
  font-weight: 400;
}

/* Kleine Kontaktlinks: Pille in Hintergrundfarbe wie in der Vorlage */
.pill-link {
  display: inline-block;
  font-family: var(--font-label);
  font-weight: 700;
  font-size: clamp(13px, calc(var(--u) * 18), 19px);
  letter-spacing: .02em;
  text-transform: uppercase;
  text-decoration: none;
  line-height: 1.2;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid rgba(242, 239, 234, .7);
  border-radius: 999px;
  padding: .38em 1.45em;
  cursor: pointer;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transition: border-color .5s var(--ease-soft);
}
/* Hover: der Button füllt sich von unten mit einem dunkleren Salbeiton */
.pill-link::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--bg-deep);
  border-radius: inherit;
  transform: scaleY(0);
  transform-origin: 50% 100%;
  transition: transform .6s var(--ease-soft);
}
.pill-link:hover,
.pill-link:focus-visible { border-color: var(--ink); }
.pill-link:hover::before,
.pill-link:focus-visible::before { transform: scaleY(1); }

.pill-link--top {
  position: absolute;
  z-index: 5;
  top: max(14px, calc(var(--u) * 25));
  left: max(10px, calc(var(--edge) + var(--u) * 24));
}

/* --------------------------------------------------------------------------
   1 · Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: calc(var(--edge) + var(--u) * 688) 1fr;
  min-height: calc(var(--u) * 1005);
}

.hero__brand {
  position: relative;
  z-index: 2;                 /* Logo-Schwung darf über das Video laufen */
  padding-top: calc(var(--u) * 428);
  padding-left: var(--edge);
}

.hero__logo {
  width: calc(var(--u) * 832);
  max-width: none;
  height: auto;
  overflow: visible;
  margin-left: 0;
}
.hero__logo path {
  fill: none;
  stroke: var(--ink);
  stroke-width: 2px;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero__name {
  width: calc(var(--u) * 376);
  margin-left: calc(var(--u) * 137);
  margin-top: calc(var(--u) * 16);
  text-align: center;
}
.hero__title {
  font-family: var(--font-label);
  font-weight: 400;
  font-size: clamp(20px, calc(var(--u) * 37), 41px);
  letter-spacing: .38em;
  margin-right: -.38em;       /* nachlaufendes Tracking ausgleichen */
  text-transform: uppercase;
  line-height: 1.2;
  white-space: nowrap;
}
.hero__subtitle {
  margin-top: calc(var(--u) * 20);
  font-family: var(--font-label);
  font-weight: 400;
  font-size: clamp(13px, calc(var(--u) * 23), 25px);
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.hero__media {
  position: relative;
  z-index: 1;
  overflow: hidden;
  height: calc(var(--u) * 1005);
  background: #8f9a88;
}
.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 50%;
}

/* --------------------------------------------------------------------------
   2 · Intro
   -------------------------------------------------------------------------- */
.intro {
  padding: calc(var(--u) * 163) var(--gutter) calc(var(--u) * 289) calc(var(--edge) + var(--gutter));
}
.intro__label { margin-left: calc(var(--u) * 9); }
.intro__text {
  margin-top: calc(var(--u) * 36);
  font-size: clamp(30px, calc(var(--u) * 71), 80px);
  line-height: 1.105;
  letter-spacing: -.003em;
  color: #F8F6F2;
  max-width: 19em;
}
.intro__split .w { white-space: nowrap; }   /* Wörter zusammenhalten */
.intro__link { margin-top: calc(var(--u) * 44); }

/* --------------------------------------------------------------------------
   Fotografische Sections mit Parallax
   -------------------------------------------------------------------------- */
.photo {
  position: relative;
  isolation: isolate;
}
.photo__frame {
  position: relative;
  overflow: hidden;           /* beschneidet nur das Foto, nicht die Linien */
  aspect-ratio: var(--ratio);
  background: #9aa592;
}
.photo__inner {
  position: absolute;
  left: 0; right: 0;
  top: calc(var(--parallax) * -1);
  bottom: calc(var(--parallax) * -1);
  will-change: transform;
}
.photo__inner img,
.photo__inner video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--pos, 50% 50%);
}
.photo__caption {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  margin: 0;
  font-size: clamp(32px, calc(var(--u) * 57), 64px);
  line-height: 1.08;
  white-space: nowrap;
  color: #fff;
  pointer-events: none;
}

.photo--ankommen { --ratio: 1728 / 1063; --pos: 50% 42%; margin-top: 0; }
.photo--beruehrt { --ratio: 1728 / 841;  --pos: 50% 42%; margin-top: calc(var(--u) * 150); }
.photo--sein     { --ratio: 1728 / 844;  --pos: 50% 50%; margin-top: calc(var(--u) * 474); }
.photo--stein    { --ratio: 1728 / 957;  --pos: 50% 60%; margin-top: calc(var(--u) * 170); }

/* Caption-Positionen aus der Vorlage (leicht über/unter der Bildmitte) */
.photo--ankommen .photo__caption { top: calc(50% - var(--u) * 1); }
.photo--beruehrt .photo__caption { top: calc(50% + var(--u) * 30); }

/* --------------------------------------------------------------------------
   Linien
   -------------------------------------------------------------------------- */
.line {
  pointer-events: none;
  overflow: visible;
  height: auto;
}
.line path {
  fill: none;
  stroke: var(--ink);
  stroke-linecap: round;
  stroke-linejoin: round;
}
.line--wide {
  position: absolute;
  z-index: 3;
  left: calc(var(--uw) * -57);
  width: calc(var(--uw) * 2032);
  max-width: none;
  opacity: .62;
}
.line--wide path { stroke-width: 2.1; }

.line--ankommen { top: calc(var(--uw) * (2524 - 2222)); }

/* Übergangslinie: liegt über dem unteren Rand des Videos und läuft darunter weiter */
.line--transition { top: calc(100% - var(--uw) * 120); }

.line--small {
  width: calc(var(--u) * 327);
  max-width: none;
}
.line--small path { stroke-width: 4.6; }

/* --------------------------------------------------------------------------
   Textsections (Trager-Methode / Mehr über mich)
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: calc(var(--u) * 585) calc(var(--u) * 327) calc(var(--u) * 351);
  column-gap: 0;
  grid-template-areas: "head line body";
  align-items: center;
  padding: calc(var(--u) * 359) 0 calc(var(--u) * 17) calc(var(--edge) + var(--u) * 92);
}
.split__head { grid-area: head; text-align: center; padding-top: calc(var(--u) * 21); }
.split__head .label { margin-left: calc(var(--u) * -52); }
.split__title {
  margin-top: calc(var(--u) * 17);
  font-size: clamp(32px, calc(var(--u) * 63), 70px);
  line-height: 1.079;
}
.split__line {
  grid-area: line;
  align-self: start;
  margin-left: calc(var(--u) * 7);
  margin-top: calc(var(--u) * 111);
}
.split__body {
  grid-area: body;
  margin-left: calc(var(--u) * 129);
  width: calc(var(--u) * 351);
}
.split__body .pill-link { margin-top: calc(var(--u) * 30); margin-left: 0; }



/* --------------------------------------------------------------------------
   8 · Kontakt
   -------------------------------------------------------------------------- */
.contact {
  padding: calc(var(--u) * 399) var(--gutter) 0;
  text-align: center;
}
.contact__title {
  margin-top: calc(var(--u) * 30);
  font-size: clamp(38px, calc(var(--u) * 70), 78px);
  line-height: 1.15;
}
.contact__grid {
  display: grid;
  grid-template-columns: calc(var(--u) * 314) calc(var(--u) * 572);
  column-gap: calc(var(--u) * 317);
  margin-top: calc(var(--u) * 198);
  margin-left: calc(var(--edge) + var(--u) * (201 - 53));
  text-align: left;
  align-items: start;
}
.contact__info {
  padding-top: calc(var(--u) * 33);
  text-align: center;
  font-size: clamp(16px, calc(var(--u) * 20), 22px);
  line-height: 1.24;
}
.contact__info > * + * { margin-top: 2.1em; }
.contact__info address { font-style: normal; }
.contact__info strong { font-weight: 700; }
.contact__info a { text-decoration: none; border-bottom: 1px solid rgba(242, 239, 234, .4); transition: border-color .4s; }
.contact__info a:hover { border-bottom-color: currentColor; }

.form { display: flex; flex-direction: column; }
.form__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form { position: relative; }
.form__submit:disabled { opacity: .6; cursor: progress; }
.form__field + .form__field { margin-top: calc(var(--u) * 27); }
.form label {
  display: block;
  margin: 0 0 calc(var(--u) * 15) calc(var(--u) * 6);
  font-family: var(--font-label);
  font-size: clamp(12px, calc(var(--u) * 15), 16px);
  letter-spacing: .02em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .62);
}
.form input,
.form textarea {
  display: block;
  width: 100%;
  font: inherit;
  font-size: clamp(16px, calc(var(--u) * 18), 19px);
  color: var(--ink);
  background: var(--field-bg);
  border: 1px solid var(--field-line);
  border-radius: 999px;
  height: max(44px, calc(var(--u) * 48));
  padding: 0 1.1em;
  outline: none;
  transition: background-color .4s var(--ease-soft);
  -webkit-appearance: none;
  appearance: none;
}
.form textarea {
  height: max(200px, calc(var(--u) * 270));
  border-radius: max(22px, calc(var(--u) * 30));
  padding: .9em 1.1em;
  resize: vertical;
}
.form input:focus,
.form textarea:focus { background: rgba(232, 232, 230, .55); }
.form input:focus-visible,
.form textarea:focus-visible { outline: 1.5px solid var(--ink); outline-offset: 3px; }

.form__submit {
  align-self: flex-start;
  margin-top: calc(var(--u) * 27);
  margin-left: calc(var(--u) * 7);
}
.form__status {
  min-height: 1.4em;
  margin-top: 12px;
  margin-left: calc(var(--u) * 7);
  font-size: clamp(14px, calc(var(--u) * 17), 18px);
  line-height: 1.4;
}

/* --------------------------------------------------------------------------
   9 · Abschluss
   -------------------------------------------------------------------------- */
.closing {
  position: relative;
  padding-top: calc(var(--uw) * (9524 - 8975));
  text-align: center;
}
.line--closing { top: calc(var(--uw) * (9079 - 8975)); z-index: 0; }
.closing__quote {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0 var(--gutter);
  font-size: clamp(26px, calc(var(--u) * 52), 58px);
  line-height: 1.12;
}

.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: calc(var(--u) * 209) var(--gutter) calc(var(--u) * 207);
}
.footer__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: calc(var(--u) * 462);
  min-width: 240px;
  color: var(--slate);
  text-decoration: none;
}
.footer__logo {
  width: 70%;
  height: auto;
  overflow: visible;
}
.footer__logo path {
  fill: none;
  stroke: var(--slate);
  stroke-width: 4.2px;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.footer__name {
  margin-top: 1.1em;
  font-family: var(--font-label);
  font-weight: 300;
  font-size: max(12px, calc(var(--u) * 19));
  letter-spacing: .38em;
  margin-right: -.38em;
  text-transform: uppercase;
}
.footer__sub {
  margin-top: 1.25em;
  font-family: var(--font-label);
  font-weight: 300;
  font-size: max(9px, calc(var(--u) * 10.5));
  letter-spacing: .2em;
  text-transform: uppercase;
  white-space: nowrap;
}
.footer__dot { padding: 0 1.2em; }


/* Rechtliche Links im Footer */
.footer__nav {
  display: flex;
  gap: 2.2em;
  margin-top: max(48px, calc(var(--u) * 90));
  font-family: var(--font-label);
  font-size: clamp(12px, calc(var(--u) * 14), 15px);
  letter-spacing: .14em;
  text-transform: uppercase;
}
.footer__nav a {
  color: var(--slate);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .4s var(--ease-soft);
}
.footer__nav a:hover,
.footer__nav a[aria-current="page"] { border-bottom-color: currentColor; }

.footer__credits {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .4em 2.2em;
  margin: 1.6em 0 0;
  font-family: var(--font-label);
  font-weight: 300;
  font-size: clamp(11px, calc(var(--u) * 13), 14px);
  letter-spacing: .08em;
  color: var(--slate);
  text-align: center;
}
.footer__credits a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(74, 94, 104, .4);
  transition: border-color .4s var(--ease-soft);
}
.footer__credits a:hover { border-bottom-color: currentColor; }

/* Hinweis unter dem Formular */
.form__privacy {
  margin: 14px 0 0 calc(var(--u) * 7);
  font-size: clamp(13px, calc(var(--u) * 15), 16px);
  line-height: 1.45;
  color: var(--ink-soft);
}
.form__privacy a { color: var(--ink); }

/* --------------------------------------------------------------------------
   Rechtliche Unterseiten (Impressum, Datenschutz)
   -------------------------------------------------------------------------- */
.legal {
  max-width: calc(640px + 2 * var(--gutter));
  margin: 0 auto;
  padding: clamp(110px, calc(var(--u) * 220), 260px) var(--gutter) 0;
}
.legal__title {
  margin-top: 18px;
  font-size: clamp(38px, calc(var(--u) * 70), 78px);
  line-height: 1.15;
}
.legal section { margin-top: clamp(40px, calc(var(--u) * 64), 72px); }
.legal h2 {
  margin-bottom: 14px;
  font-family: var(--font-label);
  font-size: clamp(14px, calc(var(--u) * 18), 19px);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.legal p {
  font-size: clamp(16px, calc(var(--u) * 19), 21px);
  line-height: 1.55;
}
.legal p + p { margin-top: 1em; }
.legal a { text-underline-offset: 3px; text-decoration-thickness: 1px; }
.legal__meta { color: var(--ink-soft); }
.legal + .footer { padding-top: clamp(110px, calc(var(--u) * 200), 220px); }

/* Platzhalter, die vor Veröffentlichung ersetzt werden müssen */
.todo {
  background: rgba(242, 239, 234, .22);
  border-radius: 4px;
  padding: 0 .25em;
  font-style: italic;
}


/* --------------------------------------------------------------------------
   Video in der Bildsection „Berührt sein.“
   -------------------------------------------------------------------------- */
.photo__inner video { display: block; }

/* --------------------------------------------------------------------------
   Mehr über mich – Titel, Linie und Foto links (mitlaufend), Text rechts
   -------------------------------------------------------------------------- */
.about {
  display: grid;
  grid-template-columns: calc(var(--u) * 496) calc(var(--u) * 560);
  column-gap: calc(var(--u) * 190);
  align-items: start;
  padding: calc(var(--u) * 382) 0 0 calc(var(--edge) + var(--u) * 129);
}
.about__aside {
  position: sticky;
  top: calc(var(--u) * 90);
  text-align: center;
}
.about .split__head { padding-top: 0; }
.about .split__line {
  width: calc(var(--u) * 327);
  margin: calc(var(--u) * 44) auto calc(var(--u) * 56);
}
.about__photo {
  margin: 0;
  aspect-ratio: 1 / 1;
  border-radius: calc(var(--u) * 20);
  overflow: hidden;
  background: rgba(242, 239, 234, .12);
}
.about__photo picture { display: block; height: 100%; }
.about__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 92% 50%;   /* Maya und ihre Hände im quadratischen Ausschnitt */
}
.about__body { padding-top: calc(var(--u) * 21); }
.about__photo img.is-missing { visibility: hidden; }
.about__trager.is-missing { display: none; }
.about__body .body-text + .body-text { margin-top: 1em; }
.about__lead {
  font-size: clamp(20px, calc(var(--u) * 27), 30px);
  line-height: 1.35;
}
.about__trager {
  grid-column: 1 / -1;
  justify-self: center;
  display: block;
  width: clamp(110px, calc(var(--u) * 170), 200px);
  height: auto;
  margin-top: calc(var(--u) * 160);
  /* auf die Seitenmitte ausrichten: Spalten belegen 129…1375 px der 1728er-Fläche,
     deren Mitte (752) liegt 112 px links der Seitenmitte (864) */
  translate: calc(var(--u) * 112) 0;
}
.about__body .pill-link { margin-top: calc(var(--u) * 48); }

/* --------------------------------------------------------------------------
   Aus- und Weiterbildungen
   -------------------------------------------------------------------------- */
.split--experience {
  align-items: start;
  grid-template-columns: calc(var(--u) * 585) calc(var(--u) * 327) calc(var(--u) * 650);
  padding-top: calc(var(--u) * 382);
}
.split--experience .split__body {
  margin-left: calc(var(--u) * 90);
  width: calc(var(--u) * 560);
}
.cv__group + .cv__group { margin-top: calc(var(--u) * 60); }
.cv__heading {
  margin: 0 0 calc(var(--u) * 14);
  font-family: var(--font-label);
  font-weight: 400;
  font-size: clamp(13px, calc(var(--u) * 18), 19px);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.cv__list { margin: 0; }
.cv__item {
  display: grid;
  grid-template-columns: 6.6em 1fr;
  column-gap: 1em;
  padding: .42em 0;
}
.cv__item dt {
  font-family: var(--font-label);
  font-size: clamp(14px, calc(var(--u) * 17), 18px);
  letter-spacing: .03em;
  line-height: 1.6;
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
}
.cv__item dd {
  margin: 0;
  font-size: clamp(16px, calc(var(--u) * 20), 22px);
  line-height: 1.4;
}
.cv__detail {
  display: block;
  font-size: .85em;
  color: var(--ink-soft);
}

/* --------------------------------------------------------------------------
   Kontaktangaben
   -------------------------------------------------------------------------- */
.contact__heading {
  margin: 0 0 .55em;
  font-family: var(--font-label);
  font-weight: 400;
  font-size: clamp(12px, calc(var(--u) * 15), 16px);
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .62);
}
.contact__block address + address { margin-top: 1.4em; }
.contact__block p + p { margin-top: .35em; }

/* Zitat mit Quelle */
.closing__quote p {
  max-width: 21em;
  margin: 0 auto;
  text-wrap: balance;
}
.closing__quote footer { margin-top: calc(var(--u) * 40); }
.closing__quote cite {
  font-family: var(--font-label);
  font-style: normal;
  font-size: clamp(13px, calc(var(--u) * 20), 22px);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

@media (max-width: 1100px) {
  .about {
    grid-template-columns: 1fr;
    row-gap: clamp(40px, 7vw, 64px);
    padding: clamp(110px, 18vw, 200px) var(--gutter) 0;
  }
  .about__aside { position: static; }
  .about .split__line { width: min(64vw, 380px); margin: clamp(26px, 5vw, 44px) auto clamp(30px, 6vw, 52px); }
  .about__photo { max-width: 460px; margin: 0 auto; border-radius: 16px; aspect-ratio: 3 / 2; }
  .about__body { width: min(100%, 560px); margin: 0 auto; padding-top: 0; }
  .about__trager { margin-top: 72px; translate: none; }
  .about__body .pill-link { margin-top: 36px; }
  .split--experience .split__body { width: min(100%, 560px); margin-left: 0; }
  .closing__quote footer { margin-top: 28px; }
}
@media (max-width: 767px) {
  .about__photo { border-radius: 14px; }
  .cv__item { grid-template-columns: 5.8em 1fr; column-gap: .8em; }
}


/* --------------------------------------------------------------------------
   Trager ist … – scrollgebundene Wortfolge (Sticky-Bühne) + statische Fassung
   -------------------------------------------------------------------------- */
.ti { position: relative; padding-top: calc(var(--u) * 260); }

/* Präfix im Stil des Namens im Hero: versal, weit gesperrt */
.ti__prefix,
.ti__pre {
  font-family: var(--font-label);
  font-weight: 400;
  font-size: clamp(17px, calc(var(--u) * 32), 36px);
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* Statische Fassung (ohne Animation sichtbar) */
.ti__static {
  display: flex;
  justify-content: center;
  gap: calc(var(--u) * 200);
  padding: 0 var(--gutter);
  text-align: center;
}
.ti__prefix { margin: 0 0 1.4em; margin-right: -.32em; }
.ti__list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: clamp(24px, calc(var(--u) * 40), 44px);
  line-height: 1.3;
}
.ti__list span { display: block; }

/* Animierte Fassung: nur mit aktiver Bewegung */
.ti__stage { display: none; }
.motion:not(.reveal-all) .ti__stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: calc(var(--u) * 40) var(--gutter) calc(var(--u) * 80);
}
.motion:not(.reveal-all) .ti__static {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

.ti__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.ti__pre-wrap,
.ti__steps { display: grid; }
.ti__pre,
.ti__step { grid-area: 1 / 1; }
.ti__pre { margin-right: -.32em; }

.ti__steps {
  margin-top: calc(var(--u) * 34);
  min-height: calc(2 * 1.25em);
  align-items: center;
  font-size: clamp(38px, calc(var(--u) * 84), 94px);
  line-height: 1.25;
}
.ti__step span { display: block; }
/* Luft für Unterlängen (g, p …): animierte Ebenen werden sonst am Zeilenrand beschnitten */
.ti__step { padding: .06em 0 .22em; }

.ti__pre,
.ti__step {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  transition:
    opacity .9s var(--ease-soft),
    transform 1.1s var(--ease-soft);
}
.ti__step.is-past { transform: translate3d(0, -22px, 0); }
.ti__pre.is-active,
.ti__step.is-active {
  opacity: 1;
  transform: none;
  transition-delay: .18s;    /* neues Wort kommt, nachdem das alte zu verblassen beginnt */
}

.ti__line {
  width: min(88vw, calc(var(--u) * 640));
  margin-top: calc(var(--u) * 48);
  opacity: .85;
}
.ti__line path {
  stroke-width: 3.4;
  stroke-dasharray: 1 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 2s cubic-bezier(.45, 0, .55, 1);
}

/* Pause / Weiter / Nochmals – zurückhaltend wie die Kontaktlinks */
.ti__toggle {
  margin-top: calc(var(--u) * 40);
  font-weight: 400;
  color: var(--ink-soft);
  opacity: 0;
  transition: opacity 1s var(--ease-soft), border-color .5s var(--ease-soft), color .4s;
}
.ti__toggle { border-color: transparent; }
.ti__toggle::before { display: none; }
.ti__toggle:hover,
.ti__toggle:focus-visible { color: var(--ink); border-color: transparent; }
.ti.is-started .ti__toggle { opacity: 1; }

@media (max-width: 1100px) {
  .ti { padding-top: clamp(90px, 16vw, 180px); }
  .ti__static { gap: 56px; }
}
@media (max-width: 767px) {
  .ti__static { flex-direction: column; gap: 64px; }
  .ti__steps { font-size: clamp(32px, 10vw, 44px); margin-top: 22px; }
  .ti__line path { stroke-width: 5.6; }
}

/* ==========================================================================
   Animationszustände (nur mit .motion = JS aktiv & keine reduzierte Bewegung)
   ========================================================================== */
.motion [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  transition:
    opacity 1s var(--ease-soft) var(--d, 0s),
    transform 1.05s var(--ease-soft) var(--d, 0s);
}
.motion [data-reveal].is-in,
.motion.reveal-all [data-reveal] {
  opacity: 1;
  transform: none;
}
/* Captions sind zentriert per translate – Bewegung dort über transform */
.motion .photo__caption[data-reveal] { transform: translate3d(0, 26px, 0); }
.motion .photo__caption[data-reveal].is-in { transform: none; }

/* Zeichnende Pfade: Start unsichtbar, Länge normalisiert über pathLength="1" */
.motion .draw-path {
  stroke-dasharray: 1 1;
  stroke-dashoffset: 1;
  opacity: 0;
}
.motion .draw-path[data-reverse] { stroke-dashoffset: -1; }
.motion .draw-path.is-drawn {
  opacity: 1;
  stroke-dashoffset: 0;
  transition:
    stroke-dashoffset var(--draw, 5s) var(--ease-draw) var(--d, 0s),
    opacity .01s linear var(--d, 0s);
}
.motion.reveal-all .draw-path { opacity: 1; stroke-dashoffset: 0; }

/* Intro-Buchstaben: anfangs ~22 % Deckkraft, JS steuert scrollgebunden */
.motion .intro__split .ch { opacity: .22; }
.motion.reveal-all .intro__split .ch { opacity: 1; }

/* ==========================================================================
   Tablet
   ========================================================================== */
@media (max-width: 1100px) {
  :root { --parallax: 40px; }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 0;
    min-height: 0;
  }
  .hero__brand {
    padding: clamp(96px, 16vw, 150px) 0 clamp(56px, 9vw, 90px);
    padding-left: 0;
  }
  .hero__logo { width: min(84vw, 720px); }
  .hero__name {
    width: auto;
    margin: clamp(14px, 2.4vw, 22px) 0 0 0;
    padding-left: clamp(40px, 13vw, 130px);
    max-width: min(84vw, 720px);
    text-align: left;
  }
  .hero__subtitle { margin-top: .7em; }
  .hero__media {
    height: auto;
    aspect-ratio: 4 / 3;
  }

  .intro { padding: clamp(96px, 16vw, 160px) var(--gutter) clamp(110px, 18vw, 200px); }
  .intro__label { margin-left: 0; }
  .intro__text { margin-top: 28px; }
  .intro__link { margin-top: 36px; }

  .split,
  .split--experience {
    grid-template-columns: 1fr;
    grid-template-areas: "head" "line" "body";
    justify-items: center;
    padding: clamp(110px, 18vw, 200px) var(--gutter) 0;
    row-gap: 0;
  }
  .split__head,
  .split--experience .split__head { padding-top: 0; }
  .split__head .label,
  .split--experience .split__head .label { margin-left: 0; }
  .split__title { margin-top: 18px; }
  .split__line,
  .split--experience .split__line {
    width: min(64vw, 380px);
    margin: clamp(26px, 5vw, 44px) 0 clamp(30px, 6vw, 52px);
  }
  .split__body,
  .split--experience .split__body {
    margin-left: 0;
    width: min(100%, 460px);
  }

  .photo--beruehrt { margin-top: clamp(40px, 8vw, 110px); }
  .photo--sein { margin-top: clamp(120px, 20vw, 220px); }

  .contact { padding-top: clamp(120px, 20vw, 220px); }
  .contact__title { margin-top: 20px; }
  .contact__grid {
    grid-template-columns: 1fr;
    row-gap: clamp(56px, 10vw, 90px);
    margin: clamp(56px, 10vw, 100px) auto 0;
    max-width: 560px;
  }
  .contact__info { padding-top: 0; max-width: 420px; margin: 0 auto; }
  .form__submit { margin-left: 0; }

  .closing { padding-top: clamp(180px, 34vw, 340px); }
  .line--closing { top: clamp(10px, 4vw, 40px); }
  .photo--stein { margin-top: clamp(80px, 14vw, 170px); }
  .footer { padding: clamp(90px, 15vw, 200px) var(--gutter) clamp(90px, 14vw, 200px); }
}

/* ==========================================================================
   Mobile
   ========================================================================== */
@media (max-width: 767px) {
  :root { --parallax: 20px; --gutter: 20px; }

  .hero__brand { padding-top: 92px; padding-bottom: 48px; }
  .hero__logo { width: 100vw; }
  .hero__name { padding-left: 11vw; max-width: none; margin-top: 20px; }
  .hero__title { font-size: clamp(23px, 7vw, 30px); letter-spacing: .3em; margin-right: -.3em; }
  .hero__subtitle { font-size: clamp(15px, 4.5vw, 19px); margin-top: .8em; }
  .hero__media { aspect-ratio: 4 / 5; }
  .hero__video { object-position: 52% 50%; }

  /* Zeilenumbrüche der Desktop-Referenz auf kleinen Geräten frei fliessen lassen */
  .intro__split br,
  .split__title br,
  .closing__quote br { display: none; }
  .intro__text { line-height: 1.14; }

  .photo--ankommen { --ratio: 1 / 1.08; --pos: 44% 50%; }
  .photo--beruehrt { --ratio: 1 / 1;    --pos: 48% 50%; }
  .photo--sein     { --ratio: 1 / 1.1;  --pos: 58% 50%; }
  .photo--stein    { --ratio: 1 / 1;    --pos: 50% 62%; }
  .photo__caption  { font-size: clamp(30px, 9vw, 40px); }
  .photo--beruehrt .photo__caption { top: 54%; }

  /* Seitenbreite Linien auf schmalen Screens etwas grösser, damit Form lesbar bleibt */
  .line--wide { left: -14vw; width: 128vw; }
  .line--wide path { stroke-width: 3.4; }
  .line--ankommen { top: 34%; }
  .line--transition { top: calc(100% - 9vw); }

  .split__title { font-size: clamp(32px, 9.4vw, 44px); }
  .split__body { width: 100%; }
  .contact__title { font-size: clamp(38px, 11vw, 52px); }
  .closing { padding-top: 46vw; }
  .closing__quote { font-size: clamp(26px, 7.4vw, 34px); max-width: 15em; margin: 0 auto; }
  .footer__brand { width: 72vw; }
}

/* ==========================================================================
   Reduzierte Bewegung: alles sofort sichtbar, kein Parallax
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .photo__inner { top: 0; bottom: 0; transform: none !important; }
  [data-reveal], .draw-path, .intro__split .ch { opacity: 1 !important; transform: none !important; }
}
