/* ============================================================
   Tim Ströter — Fitness & Performance
   Shared design system (extracted from the homepage)
   ============================================================ */

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

:root {
  --serif: 'Newsreader', Georgia, serif;
  --sans:  'Hanken Grotesk', system-ui, sans-serif;
  --mono:  'JetBrains Mono', ui-monospace, monospace;

  --bg:        #0c110e;
  --bg-alt:    #0f1512;
  --green:     #122019;
  --cream:     #ece6d9;
  --cream-dim: rgba(236,230,217,.60);
  --cream-faint: rgba(236,230,217,.40);
  --line:      rgba(236,230,217,.11);
  --line-soft: rgba(236,230,217,.07);
  --accent:    #9fb08f;

  --max:  1240px;
  --pad:  clamp(22px, 5vw, 88px);
  --edge: clamp(24px, 6vw, 112px);
}

html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a   { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.mono-label {
  font-family: var(--mono);
  font-size: .68rem; font-weight: 500;
  letter-spacing: .24em; text-transform: uppercase;
  color: var(--accent);
}
.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.wrap--narrow { max-width: 920px; }

.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;
}

/* ───────── Header ───────── */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .35s ease, backdrop-filter .35s ease, border-color .35s ease;
  border-bottom: 1px solid transparent;
}
.header::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 160px; z-index: -1;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(8,12,9,.22), rgba(8,12,9,0));
  transition: opacity .35s ease;
}
.header.scrolled::before { opacity: 0; }
.header.scrolled {
  background: rgba(12,17,14,.72);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  border-bottom-color: var(--line-soft);
}
.header__inner {
  width: 100%; padding: 0 var(--edge); height: 84px;
  display: flex; align-items: center; gap: 32px;
  transition: height .35s ease;
}
.header.scrolled .header__inner { height: 68px; }

.brand { display: flex; flex-direction: column; line-height: 1.18; margin-right: auto; }
.brand__name {
  font-family: var(--sans); font-size: .98rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: #f3eee3;
  text-shadow: 0 1px 10px rgba(0,0,0,.28);
}
.brand__tag {
  font-family: var(--mono); font-size: .58rem; font-weight: 400;
  letter-spacing: .2em; text-transform: uppercase; color: rgba(236,230,217,.62);
  margin-top: 3px; text-shadow: 0 1px 10px rgba(0,0,0,.28);
}

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  font-size: .82rem; font-weight: 600; letter-spacing: .01em;
  color: rgba(236,230,217,.86); padding: 9px 14px; border-radius: 4px;
  text-shadow: 0 1px 10px rgba(0,0,0,.28); transition: color .2s;
}
.nav a:hover, .nav a[aria-current="page"] { color: #fff; }
.nav a[aria-current="page"] { color: var(--accent); }
.nav__cta {
  margin-left: 14px;
  font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase;
  color: #f3eee3; padding: 10px 18px;
  border: 1px solid rgba(236,230,217,.22); border-radius: 3px;
  text-shadow: 0 1px 10px rgba(0,0,0,.28);
  transition: border-color .25s, background .25s;
}
.nav__cta:hover { border-color: var(--accent); background: rgba(159,176,143,.08); }

.burger { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 8px; }
.burger span { display: block; width: 24px; height: 1.5px; background: var(--cream); filter: drop-shadow(0 1px 6px rgba(0,0,0,.35)); transition: transform .3s, opacity .3s; }
.burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: 0; z-index: 95; display: none;
  flex-direction: column; justify-content: center; gap: 6px;
  padding: 0 var(--pad);
  background: rgba(10,14,11,.98);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-family: var(--serif); font-size: 1.9rem; color: var(--cream-dim);
  padding: 14px 0; border-bottom: 1px solid var(--line-soft);
  transition: color .2s, padding-left .2s;
}
.mobile-nav a:hover, .mobile-nav a[aria-current="page"] { color: var(--cream); padding-left: 10px; }

/* ───────── Buttons ───────── */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--sans); font-size: .92rem; font-weight: 600;
  padding: 14px 26px; border-radius: 3px; border: 1px solid transparent;
  cursor: pointer; transition: background .25s, border-color .25s, color .25s, transform .25s;
  white-space: nowrap;
}
.btn--primary { background: var(--cream); color: #0c110e; }
.btn--primary:hover { background: #fff; transform: translateY(-2px); }
.btn--outline { background: transparent; color: var(--cream); border-color: var(--line); }
.btn--outline:hover { border-color: var(--accent); background: rgba(159,176,143,.08); }
.btn--ghost { background: none; color: var(--cream-dim); padding: 14px 4px; }
.btn--ghost .arw { transition: transform .25s; }
.btn--ghost:hover { color: var(--cream); }
.btn--ghost:hover .arw { transform: translateX(5px); }
.arw { font-family: var(--mono); }

/* ================================================
   GLOBAL SUBPAGE HERO SYSTEM
   ================================================ */
.subhero {
  position: relative;
  isolation: isolate;
  height: clamp(660px, 78svh, 820px);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--line-soft);
}
/* ambient backdrop for image-less heroes */
.subhero::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(120% 90% at 88% 8%, rgba(159,176,143,.10), rgba(159,176,143,0) 52%),
    linear-gradient(180deg, #0e1410 0%, var(--bg) 60%);
}
.subhero--media .subhero__img,
.subhero--media .subhero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.subhero--media::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(98deg, rgba(8,12,9,.62) 0%, rgba(8,12,9,.34) 36%, rgba(8,12,9,.08) 66%, rgba(8,12,9,0) 88%),
    linear-gradient(to top, rgba(8,12,9,.72) 0%, rgba(8,12,9,.32) 30%, rgba(8,12,9,.06) 56%, rgba(8,12,9,0) 76%);
}
.subhero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 760px;
  padding-left: var(--edge);
  padding-right: var(--edge);
  padding-bottom: clamp(42px, 6vh, 72px);
  transform: translateY(10px);
}
.subhero__eyebrow { display: inline-flex; align-items: center; gap: 12px; margin-bottom: clamp(20px, 3.4vh, 32px); }
.subhero__eyebrow::before { content: ''; width: 30px; height: 1px; background: var(--accent); }
.subhero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.45rem, 4.35vw, 4.25rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  max-width: 760px;
  margin: 0;
  color: var(--cream);
}
.subhero h1 em { font-style: italic; color: var(--accent); }
.subhero__sub {
  margin-top: 20px;
  max-width: 560px;
  font-size: clamp(1rem, 1.1vw, 1.1rem);
  line-height: 1.62;
  color: rgba(236,230,217,.78);
}
.subhero__ctas {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
@media (max-width: 640px) {
  .subhero {
    height: clamp(600px, 74svh, 720px);
  }
  .subhero__inner {
    max-width: 100%;
    padding-left: var(--pad);
    padding-right: var(--pad);
    padding-bottom: 44px;
    transform: translateY(8px);
  }
  .subhero h1 {
    font-size: clamp(2.05rem, 9.2vw, 3rem);
    line-height: 1.03;
    max-width: 100%;
  }
  .subhero__sub {
    margin-top: 18px;
    font-size: 1rem;
    max-width: 100%;
  }
  .subhero__ctas {
    margin-top: 22px;
  }
}

/* ───────── Sections & headings ───────── */
.section { padding: clamp(72px, 12vh, 140px) 0; }
.section--alt   { background: var(--bg-alt); }
.section--green { background: var(--green); }
.section--tight { padding: clamp(56px, 8vh, 96px) 0; }

.head { max-width: 820px; margin-bottom: clamp(40px, 6vh, 68px); }
.head .mono-label { display: inline-block; margin-bottom: 22px; }
.head__title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.9rem, 4vw, 3.2rem); line-height: 1.08; letter-spacing: -.015em;
  color: var(--cream); text-wrap: balance;
}
.head__title em { font-style: italic; color: var(--accent); }
.head__sub { margin-top: 22px; max-width: 620px; font-size: 1.05rem; color: var(--cream-dim); line-height: 1.7; }

/* Big editorial pull-statement */
.statement {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.8rem, 3.8vw, 3rem); line-height: 1.18; letter-spacing: -.015em;
  color: var(--cream); max-width: 18ch; text-wrap: balance;
}
.statement em { font-style: italic; color: var(--accent); }
.statement--wide { max-width: 24ch; }

/* Prose */
.prose { max-width: 620px; }
.prose p { font-size: 1.08rem; color: rgba(236,230,217,.78); line-height: 1.72; }
.prose p + p { margin-top: 1.3em; }
.prose strong { color: var(--cream); font-weight: 600; }

/* Two-column editorial split: kicker left, content right */
.split { display: grid; grid-template-columns: 1fr; gap: clamp(28px, 4vw, 64px); }
.split__aside { }
.split__aside .mono-label { display: block; margin-bottom: 16px; }
.split__aside .statement { font-size: clamp(1.5rem, 3vw, 2.3rem); }

/* Quiet inclusion list (no heavy icons) */
.incl { list-style: none; display: grid; gap: 13px; }
.incl li { position: relative; padding-left: 26px; font-size: 1rem; color: rgba(236,230,217,.80); line-height: 1.5; }
.incl li::before {
  content: ''; position: absolute; left: 0; top: .62em;
  width: 11px; height: 1px; background: var(--accent);
}
.incl--cols { grid-template-columns: 1fr; }

/* Service / Formen der Zusammenarbeit — editorial accordion rows */
.forms { border-top: 1px solid var(--line); }
.form-row { border-bottom: 1px solid var(--line); }
.form-row__head {
  display: grid; grid-template-columns: 150px 1fr auto; align-items: center;
  gap: 16px 28px; width: 100%;
  padding: clamp(26px, 3.6vh, 38px) 4px;
  background: none; border: none; cursor: pointer; text-align: left;
  font-family: inherit; color: inherit;
  transition: padding-left .3s, background .3s;
}
.form-row__head:hover { padding-left: 16px; background: rgba(159,176,143,.04); }
.form-row__kicker { font-family: var(--mono); font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
.form-row__title { font-family: var(--serif); font-size: clamp(1.5rem, 2.6vw, 2.15rem); color: var(--cream); line-height: 1.08; }
.form-row__plus { position: relative; width: 18px; height: 18px; flex-shrink: 0; }
.form-row__plus::before, .form-row__plus::after {
  content: ''; position: absolute; background: var(--accent);
}
.form-row__plus::before { top: 50%; left: 0; width: 100%; height: 1.5px; transform: translateY(-50%); }
.form-row__plus::after  { left: 50%; top: 0; width: 1.5px; height: 100%; transform: translateX(-50%); }
.form-row[aria-expanded="true"] .form-row__plus::after { transform: translateX(-50%) scaleY(0); opacity: 0; }
.form-row__body { display: grid; grid-template-rows: 0fr; overflow: hidden; }
.form-row[aria-expanded="true"] .form-row__body { grid-template-rows: 1fr; }
.form-row__body > div { overflow: hidden; min-height: 0; }
.form-row__inner { transition: opacity .4s ease; }
.form-row__inner {
  display: grid; grid-template-columns: 1fr; gap: clamp(22px, 3vw, 48px);
  padding: 4px 4px clamp(34px, 4.4vh, 48px) 178px;
}
.form-row__text { font-size: 1.04rem; color: rgba(236,230,217,.80); line-height: 1.7; max-width: 540px; }
.form-row__text + .incl { margin-top: 22px; }

/* Pillars: training / ernährung / feedback / anpassung */
.pillars { display: grid; grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--line-soft); }
.pillar { display: grid; grid-template-columns: 1fr; gap: 8px; padding: clamp(28px,3.6vh,40px) 0; border-bottom: 1px solid var(--line-soft); }
.pillar__k { font-family: var(--mono); font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.pillar__t { font-family: var(--serif); font-size: clamp(1.3rem, 2.2vw, 1.7rem); color: var(--cream); line-height: 1.12; }
.pillar__d { font-size: 1rem; color: var(--cream-dim); line-height: 1.66; max-width: 560px; }

/* Quiet callout note */
.callout {
  border-left: 1px solid var(--accent);
  padding: 6px 0 6px clamp(20px, 2.4vw, 34px);
  max-width: 640px;
}
.callout__k { font-family: var(--mono); font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.callout p { font-size: 1.05rem; color: rgba(236,230,217,.82); line-height: 1.7; }
.callout p + p { margin-top: 1em; }

/* Definition rows (e.g. TPI limitations) */
.deflist { display: grid; grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--line-soft); max-width: 880px; }
.defrow { display: grid; grid-template-columns: 1fr; gap: 6px 28px; padding: clamp(22px,3vh,30px) 0; border-bottom: 1px solid var(--line-soft); }
.defrow__t { font-family: var(--serif); font-size: 1.32rem; color: var(--cream); line-height: 1.2; }
.defrow__d { font-size: .98rem; color: var(--cream-dim); line-height: 1.62; max-width: 600px; }

/* Audience editorial list */
.audience { display: grid; gap: 0; max-width: 940px; }
.aud { display: grid; grid-template-columns: 56px 1fr; gap: 4px 24px; padding: clamp(26px,3.6vh,38px) 0; border-top: 1px solid var(--line-soft); }
.audience .aud:last-child { border-bottom: 1px solid var(--line-soft); }
.aud__n { font-family: var(--serif); font-size: 1.7rem; color: rgba(159,176,143,.4); line-height: 1; }
.aud__t { font-family: var(--serif); font-size: clamp(1.15rem,1.9vw,1.5rem); color: var(--cream); line-height: 1.2; }
.aud__d { grid-column: 2; font-size: .98rem; color: var(--cream-dim); line-height: 1.66; margin-top: 10px; max-width: 600px; }

/* Trust strip */
.trust { background: var(--bg-alt); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.trust__inner { max-width: var(--max); margin: 0 auto; padding: 26px var(--pad); display: flex; align-items: center; flex-wrap: wrap; gap: 22px 40px; }
.tpi { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.tpi__badge { width: 56px; height: 56px; border-radius: 6px; flex-shrink: 0; background: var(--cream); display: grid; place-items: center; padding: 5px; }
.tpi__badge img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.tpi__txt strong { display: block; font-size: .9rem; font-weight: 600; color: var(--cream); letter-spacing: .01em; }
.tpi__txt span { font-size: .76rem; color: var(--cream-faint); }
.trust__sep { width: 1px; height: 40px; background: var(--line); }
.trust__list { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 26px; font-family: var(--mono); }
.trust__list li { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--cream-faint); display: flex; align-items: center; gap: 11px; }
.trust__list li::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); }

/* CTA band */
.cta { max-width: 660px; }
.cta .head__title { margin-bottom: 22px; }
.cta__sub { font-size: 1.08rem; color: var(--cream-dim); line-height: 1.7; margin-bottom: 36px; }

/* ───────── Contact form ───────── */
.form { max-width: 720px; display: grid; gap: clamp(20px, 2.6vw, 28px); }
.form__grid { display: grid; grid-template-columns: 1fr; gap: clamp(20px, 2.6vw, 28px); }
.field { display: flex; flex-direction: column; gap: 9px; }
.field > label { font-family: var(--mono); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--cream-dim); }
.field > label .opt { color: var(--cream-faint); text-transform: none; letter-spacing: 0; font-family: var(--sans); }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--sans); font-size: 1rem; color: var(--cream);
  background: rgba(236,230,217,.035); border: 1px solid var(--line); border-radius: 5px;
  padding: 14px 16px; transition: border-color .25s, background .25s;
}
.field textarea { resize: vertical; min-height: 138px; line-height: 1.6; }
.field input::placeholder, .field textarea::placeholder { color: rgba(236,230,217,.34); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); background: rgba(159,176,143,.06);
}
.field select { appearance: none; -webkit-appearance: none; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--accent) 50%), linear-gradient(135deg, var(--accent) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%;
  background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; padding-right: 42px;
}
.field select option { background: #0f1512; color: var(--cream); }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; }
.form__note { font-size: .9rem; color: var(--cream-faint); max-width: 360px; line-height: 1.55; }
.form__ok {
  display: none; align-items: flex-start; gap: 14px;
  border-left: 1px solid var(--accent); padding: 16px 0 16px 20px; max-width: 560px;
}
.form__ok.show { display: flex; }
.form__ok strong { display: block; font-family: var(--serif); font-size: 1.2rem; color: var(--cream); margin-bottom: 6px; font-weight: 400; }
.form__ok span { font-size: .96rem; color: var(--cream-dim); line-height: 1.6; }

/* Contact meta */
.contact-meta { display: grid; gap: 22px; }
.contact-meta a { color: var(--cream); border-bottom: 1px solid var(--line); transition: border-color .25s; }
.contact-meta a:hover { border-color: var(--accent); }
.contact-meta__row .mono-label { display: block; margin-bottom: 8px; }
.contact-meta__row p { font-size: 1.04rem; color: var(--cream-dim); line-height: 1.6; }

/* ───────── Footer ───────── */
.footer { background: #090d0a; border-top: 1px solid var(--line-soft); padding: 30px 0; }
.footer__inner { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.footer__brand { font-family: var(--mono); font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: var(--cream-dim); }
.footer__links { list-style: none; display: flex; flex-wrap: wrap; gap: 0 6px; margin-left: auto; }
.footer__links a { font-size: .8rem; color: var(--cream-faint); padding: 6px 12px; transition: color .2s; }
.footer__links a:hover { color: var(--cream); }
.footer__copy { width: 100%; font-family: var(--mono); font-size: .68rem; color: rgba(236,230,217,.24); letter-spacing: .04em; }

/* ───────── Fade-in ───────── */
.fi { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1); }
.fi.vis { opacity: 1; transform: none; }

/* ───────── Responsive ───────── */
@media (min-width: 720px) {
  .incl--cols { grid-template-columns: 1fr 1fr; gap: 13px 40px; }
  .form__grid--2 { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 860px) {
  .split { grid-template-columns: 0.85fr 1.15fr; align-items: start; }
  .split__aside { position: sticky; top: 120px; }
  .pillars { grid-template-columns: 1fr 1fr; column-gap: clamp(40px, 5vw, 88px); }
  .pillars { border-top: none; }
  .pillar { border-top: 1px solid var(--line-soft); }
  .defrow { grid-template-columns: 0.9fr 1.1fr; align-items: baseline; }
  .contact-grid { display: grid; grid-template-columns: 1.5fr 0.9fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
}
@media (max-width: 980px) {
  .nav, .nav__cta { display: none; }
  .burger { display: flex; }
  .form-row__head { grid-template-columns: 1fr auto; }
  .form-row__kicker { grid-column: 1; }
  .form-row__title { grid-column: 1; grid-row: 2; }
  .form-row__plus { grid-column: 2; grid-row: 1 / span 2; }
  .form-row__inner { padding-left: 4px; }
}
@media (max-width: 640px) {
  .aud { grid-template-columns: 40px 1fr; }
  .trust__sep { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .subhero__img { animation: none !important; }
  .fi { opacity: 1 !important; transform: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
