/* heygregor – Komponenten nach Annnimate (annnimate.com), angepasst an das Brand Book:
   Roboto / Roboto Condensed, Near Black, Off-White, Lime nur als Akzent.
   Ohne JavaScript oder mit „Bewegung reduzieren“ ist jeder Inhalt sofort lesbar. */

/* =========================================================================
   Timeline Steps – Startseite „Vier Schritte. Kein Theater.“
   ========================================================================= */
.ts_section {
  --ts-bg: var(--bg);
  --ts-margin: var(--space-4);
  --ts-gutter: var(--space-3);
  position: relative;
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  color: var(--text);
}
.ts_track { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); }
.ts_steps {
  grid-area: 1 / 1;
  position: relative; z-index: 1;
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--ts-gutter); align-content: start;
  margin: 0; padding: 28vh var(--ts-margin) var(--ts-tail, 20vh); padding-top: 28svh;
  list-style: none;
}
.ts_step { grid-column: 8 / 13; min-height: var(--ts-step-h, 60vh); }
.ts_step::before { content: ""; display: block; height: 2px; margin-bottom: var(--space-2); background: var(--border); transition: background-color var(--duration-base) ease-out; }
.ts_step[aria-current]::before { background: var(--brand-lime); }
.ts_index { display: block; margin: 0 0 var(--space-1); font: 700 14px/1 var(--font-display); letter-spacing: .12em; color: var(--text-accent); }
.ts_title { margin: 0; font: 700 clamp(30px, 3vw, 44px)/.95 var(--font-display); text-transform: uppercase; }
.ts_text { margin: var(--space-2) 0 0; max-width: 34ch; font: var(--text-body); color: var(--text-muted); }

/* Über der Liste, damit der Rahmen beim Scrollen fest steht; nimmt nie einen Klick. */
.ts_stage {
  grid-area: 1 / 1;
  position: sticky; top: 0; z-index: 2;
  height: 100vh; height: 100svh;
  overflow: hidden; pointer-events: none;
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--ts-gutter); align-content: center;
  padding: 0 var(--ts-margin);
}
.ts_slot { grid-column: 1 / 7; grid-row: 1; aspect-ratio: 9 / 10; max-height: 72vh; max-height: 72svh; margin-top: 40px; }
.ts_veil { display: none; }
.ts_media {
  --ts-x: 0; --ts-y: 0; --ts-w: 0; --ts-h: 0; --ts-sw: 0; --ts-sh: 0; --ts-cot: 1;
  position: absolute; inset: 0; z-index: 1;
  clip-path: inset(calc(var(--ts-y) * 1px) calc((var(--ts-sw) - var(--ts-x) - var(--ts-w)) * 1px) calc((var(--ts-sh) - var(--ts-y) - var(--ts-h)) * 1px) calc(var(--ts-x) * 1px) round 16px);
}
.ts_layer {
  --ts-k: 0;
  position: absolute; inset: 0;
  clip-path: polygon(
    calc((var(--ts-x) + var(--ts-k) * (var(--ts-w) + var(--ts-cot) * var(--ts-h)) + var(--ts-cot) * var(--ts-y)) * 1px) 0,
    99999px 0, 99999px 100%,
    calc((var(--ts-x) + var(--ts-k) * (var(--ts-w) + var(--ts-cot) * var(--ts-h)) - var(--ts-cot) * (var(--ts-sh) - var(--ts-y))) * 1px) 100%
  );
}
.ts_img { position: absolute; top: 0; left: 0; max-width: none; object-fit: cover; transform-origin: 0 0; will-change: transform; }
.ts_badge { position: absolute; z-index: 2; font: 700 13px/1 var(--font-display); letter-spacing: .12em; padding: 8px 12px; border-radius: var(--radius-full); background: var(--brand-lime); color: var(--on-accent); }

/* Ohne JS / reduzierte Bewegung: Foto über jedem Schritt, nichts klebt */
.ts_section:not(.is-live) .ts_track { display: block; }
.ts_section:not(.is-live) .ts_stage { display: none; }
.ts_section:not(.is-live) .ts_steps { padding: var(--space-4) var(--ts-margin) 0; row-gap: var(--space-4); }
.ts_section:not(.is-live) .ts_step { grid-column: span 6; min-height: 0; }
.ts_fallback { display: none; }
.ts_section:not(.is-live) .ts_fallback { display: block; margin-bottom: var(--space-3); border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16 / 10; }
.ts_section:not(.is-live) .ts_fallback img { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (max-width: 1099px) { .ts_step { grid-column: 8 / 13; } }
@media (max-width: 899px) {
  .ts_section { --ts-margin: var(--space-2); }
  .ts_stage { display: block; padding: 0; }
  .ts_slot { position: absolute; top: calc(84px + 2svh); left: var(--ts-margin); right: var(--ts-margin); height: 44vh; height: 44svh; aspect-ratio: auto; max-height: none; margin: 0; }
  .ts_veil { display: block; position: absolute; top: 0; left: 0; right: 0; height: calc(84px + 46svh + 24px); background: var(--ts-bg); }
  .ts_veil::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 40px; background: linear-gradient(var(--ts-bg), transparent); }
  .ts_steps { padding-top: calc(84px + 46svh + 56px); }
  .ts_step { grid-column: 1 / -1; min-height: calc(var(--ts-step-h, 60vh) * .62); }
  .ts_section:not(.is-live) .ts_step { grid-column: 1 / -1; }
}

/* =========================================================================
   Rising Stats – Startseite „Einer für alles. Und zwar ich.“
   ========================================================================= */
.rst_section {
  --rst-run: 90vh;
  position: relative; width: 100%;
  height: calc(100vh + var(--rst-run)); height: calc(100svh + var(--rst-run));
  background: var(--bg); color: var(--text);
}
.rst_stage {
  --rst-margin: var(--space-4); --rst-gutter: var(--space-3);
  --rst-head: 250px; --rst-top: 104px;
  --rst-max: calc(var(--content-max) - 80px); --rst-span: 3; --rst-rows: 2; --rst-tall: .82;
  --rst-radius: var(--radius-lg); --rst-pad: 24px;
  --rst-inner: min(100cqw - 2 * var(--rst-margin), var(--rst-max));
  --rst-x0: calc((100cqw - var(--rst-inner)) / 2);
  --rst-col: calc((var(--rst-inner) - 11 * var(--rst-gutter)) / 12);
  --rst-cell-w: calc(var(--rst-span) * var(--rst-col) + (var(--rst-span) - 1) * var(--rst-gutter));
  --rst-cell-h: min(var(--rst-cell-w) * var(--rst-tall), (100cqh - var(--rst-head) - var(--rst-margin) - (var(--rst-rows) - 1) * var(--rst-gutter)) / var(--rst-rows));
  --rst-field: calc(100cqh - var(--rst-margin) - var(--rst-rows) * var(--rst-cell-h) - (var(--rst-rows) - 1) * var(--rst-gutter));
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; container-type: size;
}
.rst_head {
  position: absolute; top: var(--rst-top); left: var(--rst-x0); width: var(--rst-inner);
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--space-4); align-items: end;
}
.rst_head .h2 { margin: 0; }
.rst_head .muted { margin: 0; }
.rst_list { position: absolute; inset: 0; margin: 0; padding: 0; list-style: none; }
.rst_card {
  --rst-num: min(96px, 30cqw, 46cqh);
  position: absolute;
  left: calc(var(--rst-x0) + (var(--rst-c) - 1) * (var(--rst-col) + var(--rst-gutter)));
  top: calc(var(--rst-field) + var(--rst-r) * (var(--rst-cell-h) + var(--rst-gutter)));
  width: var(--rst-cell-w); height: var(--rst-cell-h);
  box-sizing: border-box; padding: var(--rst-pad);
  display: flex; flex-direction: column; justify-content: space-between;
  border-radius: var(--rst-radius); background: var(--surface); border: 1px solid var(--border); color: var(--text);
  container-type: size; transform-origin: 50% 300%; visibility: hidden; will-change: transform;
}
.rst_section.is-ready .rst_card { visibility: visible; }
.rst_card.is-ink { background: var(--brand-lime); border-color: var(--brand-lime); color: var(--on-accent); }
.rst_card.is-ink .rst_caption, .rst_card.is-ink .rst_unit { color: var(--on-accent); }
.rst_card.is-ink a { color: var(--on-accent); text-decoration: underline; text-underline-offset: 3px; }
.rst_slot_1 { --rst-c: 4; --rst-r: 0; }
.rst_slot_2 { --rst-c: 10; --rst-r: 0; }
.rst_slot_3 { --rst-c: 1; --rst-r: 1; }
.rst_slot_4 { --rst-c: 10; --rst-r: 1; }
.rst_slot_5 { --rst-c: 7; --rst-r: 1; }
.rst_value { display: flex; align-items: flex-start; margin: 0; }
.rst_num { display: block; font: 700 var(--rst-num)/1 var(--font-display); letter-spacing: -0.01em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rst_digits { display: block; }
.rst_digit { position: relative; display: inline-block; height: 1em; line-height: 1; overflow-x: visible; overflow-y: clip; }
.rst_digit::before { content: "0"; visibility: hidden; }
.rst_reel { position: absolute; left: 0; top: 0; display: flex; flex-direction: column; will-change: transform; }
.rst_glyph { display: block; height: 1em; line-height: 1; }
.rst_sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.rst_unit { margin: calc(var(--rst-num) * .1) 0 0 8px; font: 700 clamp(18px, 1.6vw, 26px)/1 var(--font-display); text-transform: uppercase; letter-spacing: .02em; }
.rst_caption { margin: 0; max-width: 24ch; font: var(--text-body-sm); color: var(--text-muted); }
.rst_caption strong { display: block; margin-bottom: 4px; font: 600 15px/1.2 var(--font-display); letter-spacing: .1em; text-transform: uppercase; color: inherit; }
.rst_card:not(.is-ink) .rst_caption strong { color: var(--text); }

.rst_section.is-static { height: auto; }
.rst_section.is-static .rst_stage { position: relative; height: auto; overflow: visible; container-type: normal; padding: var(--space-6) var(--space-4); max-width: var(--content-max); margin: 0 auto; }
.rst_section.is-static .rst_head { position: static; width: auto; margin-bottom: var(--space-4); }
.rst_section.is-static .rst_list { position: static; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: var(--space-3); }
.rst_section.is-static .rst_card { position: static; width: auto; height: auto; min-height: 220px; container-type: normal; visibility: visible; --rst-num: 72px; gap: var(--space-3); }
.rst_section:not(.is-ready) .rst_card { visibility: visible; }

@media (max-width: 991px) {
  .rst_stage { --rst-margin: var(--space-2); --rst-gutter: 12px; --rst-head: 205px; --rst-top: 92px; --rst-span: 6; --rst-rows: 3; --rst-tall: 1.1; --rst-pad: 14px; }
  .rst_head { grid-template-columns: 1fr; gap: var(--space-1); }
  .rst_head .muted { display: none; }
  .rst_unit { font-size: 14px; margin-left: 6px; }
  .rst_card { --rst-num: min(64px, 30cqw, 40cqh); }
  .rst_caption strong { font-size: 13px; }
  .rst_caption { font-size: 13px; line-height: 1.4; }
  .rst_slot_1 { --rst-c: 1; --rst-r: 0; }
  .rst_slot_2 { --rst-c: 7; --rst-r: 0; }
  .rst_slot_3 { --rst-c: 1; --rst-r: 1; }
  .rst_slot_5 { --rst-c: 7; --rst-r: 1; }
  .rst_slot_4 { --rst-c: 4; --rst-r: 2; }
  .rst_section.is-static .rst_head .muted { display: block; }
}
@media (orientation: landscape) and (max-height: 520px) {
  .rst_stage { --rst-head: 120px; --rst-span: 2; --rst-rows: 1; --rst-tall: 1; }
  .rst_head .muted { display: none; }
  .rst_slot_1, .rst_slot_2, .rst_slot_3, .rst_slot_4, .rst_slot_5 { --rst-r: 0; --rst-span: 2; }
  .rst_slot_1 { --rst-c: 2; } .rst_slot_2 { --rst-c: 4; } .rst_slot_3 { --rst-c: 6; } .rst_slot_5 { --rst-c: 8; } .rst_slot_4 { --rst-c: 10; }
}

/* =========================================================================
   Magnetic Tag Cloud – Fähigkeiten „Welches Werkzeug passt zu dir?“
   ========================================================================= */
.mtc_wrap { position: relative; width: 100%; margin-block: var(--space-4); overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); }
.mtc_cloud { position: relative; box-sizing: border-box; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; min-height: clamp(420px, 56vh, 600px); padding: var(--space-4); }
.mtc_list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 980px; margin: 0; padding: 0; list-style: none; }
.mtc_wrap.is-live .mtc_list { gap: 0; }
.mtc_tag {
  display: inline-flex; align-items: center; height: 2.2em; padding: 0 .9em; border-radius: var(--radius-full);
  font: 700 calc(clamp(22px, 2.5vw, 40px) * var(--mtc-fit, 1))/1 var(--font-display); text-transform: uppercase; letter-spacing: .01em;
  text-decoration: none; white-space: nowrap; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent;
  background: var(--surface); color: var(--text); box-shadow: inset 0 0 0 1.5px var(--border-strong);
}
.mtc_tag:hover { text-decoration: none; }
.mtc_tag:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.mtc_tag--ink { background: var(--brand-white); color: var(--brand-near-black); box-shadow: none; }
.mtc_tag--accent { background: var(--brand-lime); color: var(--on-accent); box-shadow: none; }
.mtc_tag--forest { background: var(--brand-deep-green); color: var(--brand-white); box-shadow: none; }
.mtc_wrap.is-live .mtc_tag { position: absolute; left: 50%; top: 50%; will-change: transform; }
.mtc_hint { position: absolute; left: var(--space-3); bottom: var(--space-2); margin: 0; font: var(--text-label); text-transform: uppercase; letter-spacing: .1em; color: var(--text-subtle); pointer-events: none; }
.mtc_wrap:not(.is-live) .mtc_hint { display: none; }
@media (max-width: 991px) {
  .mtc_cloud { min-height: 0; padding: var(--space-3) var(--space-2); }
  .mtc_tag { font-size: 20px; }
}

/* =========================================================================
   Feature Rail – Leistungen: Kapitel-Leiste mit Scroll-Spy
   ========================================================================= */
.frl { position: relative; }
.frl_rail {
  position: sticky; top: var(--frl-top, 80px); z-index: 40;
  background: rgba(10, 11, 10, .9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.frl_list { position: relative; max-width: var(--content-max); margin: 0 auto; padding: 0 var(--space-4); overflow-x: auto; scrollbar-width: none; scroll-padding-left: var(--space-4); }
.frl_list::-webkit-scrollbar { display: none; }
.frl_items { display: flex; gap: clamp(16px, 3vw, 48px); width: max-content; min-width: 100%; margin: 0; padding: 0; list-style: none; }
.frl_link {
  display: flex; align-items: baseline; gap: 8px; min-height: var(--touch-min); padding: 14px 0; white-space: nowrap;
  font: 700 14px/1 var(--font-display); letter-spacing: .1em; text-transform: uppercase; text-decoration: none;
  color: var(--text-subtle); transition: color var(--duration-fast) ease-out;
}
.frl_link:hover { color: var(--text); text-decoration: none; }
.frl_link[aria-current] { color: var(--text); }
.frl_index { font: 500 12px/1 var(--font-mono); letter-spacing: 0; color: var(--text-subtle); }
.frl_link[aria-current] .frl_index { color: var(--brand-lime); }
.frl_indicator { position: absolute; left: 0; bottom: 0; width: 80px; height: 2px; background: var(--brand-lime); will-change: transform; }
.frl_rail:not(.is-live) .frl_indicator { display: none; }
@media (max-width: 720px) { .frl_list { padding: 0 var(--space-2); } .frl_link { font-size: 13px; } }

/* =========================================================================
   Pricing-Schalter – Leistungen: Regulär / Gründungspreis
   ========================================================================= */
.pr_switch { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-3); margin: 0 0 var(--space-3); }
.pr_toggle { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 4px; border: 1px solid var(--border-strong); border-radius: var(--radius-full); background: var(--surface); }
.pr_opt {
  position: relative; z-index: 1; min-height: 40px; padding: 0 18px; border: 0; border-radius: var(--radius-full); background: none; cursor: pointer;
  font: 700 13px/1 var(--font-display); letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); transition: color var(--duration-base) ease-out;
}
.pr_opt[aria-pressed="true"] { color: var(--on-accent); }
.pr_opt:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.pr_thumb { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: var(--radius-full); background: var(--brand-lime); transition: transform .45s cubic-bezier(.7, 0, .16, 1); }
.pr_switch.is-founder .pr_thumb { transform: translateX(100%); }
.pr_chip { display: inline-flex; align-items: center; gap: 8px; margin: 0; font: var(--text-body-sm); color: var(--text-muted); opacity: 0; transform: translateY(6px); transition: opacity var(--duration-base) ease-out, transform var(--duration-base) ease-out; }
.pr_chip b { white-space: nowrap; font: 700 13px/1 var(--font-display); letter-spacing: .1em; text-transform: uppercase; padding: 6px 10px; border-radius: var(--radius-xs); background: var(--brand-deep-green); color: var(--brand-white); }
.pr_switch.is-founder .pr_chip { opacity: 1; transform: none; }
.pr_price { display: inline-flex; align-items: baseline; }
.pr_num { white-space: nowrap; }
.pr_roll { position: relative; display: inline-block; height: 1em; overflow: hidden; vertical-align: top; }
.pr_roll > span > span { display: block; height: 1em; line-height: 1; }
.pr_old { display: none; margin-left: 8px; font-size: .5em; font-weight: 400; color: var(--text-subtle); text-decoration: line-through; }
.is-founder-prices .pr_old { display: inline; animation: pr-old-in .4s ease-out both; }
@keyframes pr-old-in { from { opacity: 0; } }
.card--forest .pr_old { color: rgba(255,255,255,.6); }

/* =========================================================================
   Parting Text – Über mich „Was mich antreibt“
   ========================================================================= */
.ptx_section {
  --bg: var(--brand-off-white); --text: var(--brand-near-black); --text-muted: #555a55; --text-accent: var(--brand-deep-green); --border: #d9d9d2; --focus: #0a0b0a;
  --ptx-lead: 18vh; --ptx-rest: 12vh;
  position: relative; width: 100%; background: var(--bg); color: var(--text); color-scheme: light;
}
.ptx_stage { --ptx-img-w: clamp(96px, 13vw, 220px); position: sticky; z-index: 2; top: 0; height: 100vh; height: 100svh; pointer-events: none; }
.ptx_frame { position: absolute; inset: 0; width: var(--ptx-img-w); height: calc(var(--ptx-img-w) * 1.25); margin: auto; border-radius: var(--radius-sm); overflow: hidden; background: #d9d9d2; }
.ptx_img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ptx_text { position: relative; z-index: 1; overflow-x: clip; padding: var(--ptx-lead) 0 calc(100vh + var(--ptx-rest)); padding-bottom: calc(100svh + var(--ptx-rest)); }
.ptx_kicker { margin: 0 0 var(--space-4); text-align: center; color: var(--text-accent); }
.ptx_quote { margin: 0; font: 700 min(88px, 8.4vw)/1 var(--font-display); text-transform: uppercase; letter-spacing: -0.005em; text-align: center; }
.ptx_line { display: block; white-space: nowrap; padding-block: .04em; }
.ptx_line--accent { color: var(--text-accent); }
.ptx_half { display: inline-block; will-change: transform; }
.ptx_section.is-static .ptx_stage { position: relative; height: auto; padding: var(--space-6) 0 var(--space-4); }
.ptx_section.is-static .ptx_frame { position: relative; inset: auto; margin: 0 auto; }
.ptx_section.is-static .ptx_text { padding: 0 0 var(--space-6); }
.ptx_after { padding-top: 0 !important; }
@media (max-width: 767px) {
  .ptx_stage { --ptx-img-w: 88px; }
  .ptx_quote { font-size: 8.6vw; }
  .ptx_section.is-static .ptx_stage { padding: var(--space-5) 0 var(--space-3); }
  .ptx_section.is-static .ptx_text { padding-bottom: var(--space-5); }
}

.frl [id] { scroll-margin-top: 56px; }
