/* Grundausbildung – Landingpage, V6 */

/* Selbst gehostete Schrift (Barlow Condensed, Lizenz OFL, Dateien im Ordner fonts/) */
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/BarlowCondensed-Bold.ttf") format("truetype"),
       local("Barlow Condensed Bold"), local("BarlowCondensed-Bold");
}
@font-face {
  font-family: "Barlow Condensed";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("fonts/BarlowCondensed-ExtraBold.ttf") format("truetype"),
       local("Barlow Condensed ExtraBold"), local("BarlowCondensed-ExtraBold");
}

:root {
  /* Dunkle Flächen (Anthrazit/Schwarz, leicht grünlich) */
  --bg-0: #0b0d0c;
  --bg-1: #101312;
  --bg-2: #171b1a;
  --bg-3: #1f2423;
  --bg-4: #2c3330;
  --line: rgba(255,255,255,.1);
  --line-strong: rgba(255,255,255,.2);
  --stone: #9ea49e;
  /* Olivgrün nur als Akzent */
  --accent: #9aae3f;
  --accent-hover: #adc24e;
  --accent-soft: rgba(154,174,63,.16);
  --text-light: #ecece6;
  --muted-light: #a9aea8;

  --font-head: "Barlow Condensed", "Arial Narrow", "Helvetica Neue Condensed", "Roboto Condensed", Impact, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --radius: 6px;
  --gutter: 20px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 72px; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--text-light);
  background: var(--bg-1);
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; }

a { color: inherit; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); }
.narrow-wrap { max-width: 760px; }

/* ---------- Tarnmuster (Flecktarn-Anmutung, dezent) ---------- */
.camo {
  background-color: var(--bg-1);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='520' height='520' viewBox='0 0 520 520'%3E%3Cg%3E%3Cpath d='M30 70c30-40 90-40 120-10s10 80-30 90-110 0-90-80z' fill='%23151a18'/%3E%3Cpath d='M300 40c40-30 100-20 120 20s-10 80-60 80-90-60-60-100z' fill='%231a211c'/%3E%3Cpath d='M420 260c30-30 80-20 90 20s-30 80-70 70-50-60-20-90z' fill='%230c0e0d'/%3E%3Cpath d='M70 330c40-30 100-10 110 30s-30 90-80 80-70-80-30-110z' fill='%231b1e17'/%3E%3Cpath d='M250 250c30-30 90-30 110 10s-20 90-70 90-70-70-40-100z' fill='%23161d16'/%3E%3Cpath d='M180 440c30-20 80-10 90 30s-30 50-70 50-50-60-20-80z' fill='%23090b0a'/%3E%3Cpath d='M0 200c20-20 60-10 70 20s-20 60-50 50-40-50-20-70z' fill='%231b1e17'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 520px 520px;
}

/* ---------- Typografie ---------- */
h1, h2, h3 {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: .02em;
  line-height: 1.02;
  margin: 0 0 .5em;
  font-weight: 800;
}
h1 { font-size: clamp(2.6rem, 11vw, 4.6rem); }
h2 { font-size: clamp(2rem, 8vw, 3.2rem); }
h3 { font-size: 1.45rem; line-height: 1.1; }

p { margin: 0 0 1em; }

.accent { color: var(--accent); }

.eyebrow {
  font-family: var(--font-head);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: 1rem;
  color: var(--accent);
  margin: 0 0 .9em;
  display: flex;
  align-items: center;
  gap: .7em;
}
.eyebrow::before { content: ""; width: 28px; height: 3px; background: currentColor; }

.lead { font-size: 1.12rem; color: var(--text-light); }
.lead.narrow { max-width: 640px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  padding: .95em 1.5em;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
  line-height: 1;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--bg-0); }
.btn-primary:hover { background: #adc24e; }
.btn-ghost { border-color: var(--stone); color: var(--text-light); }
.btn-ghost:hover { background: rgba(160,168,160,.12); }
.btn-small { padding: .7em 1.1em; font-size: 1rem; background: var(--accent); color: var(--bg-0); white-space: nowrap; }
@media (max-width: 420px) {
  .site-header { padding-left: 14px; padding-right: 14px; gap: 8px; }
  .logo { gap: 8px; min-width: 0; }
  .logo-text { font-size: 1rem; letter-spacing: .06em; }
  .logo-mark { width: 24px; height: 24px; }
  .btn-small { padding: .65em .9em; font-size: .95rem; }
}
.btn-block { width: 100%; }
.btn-row { display: flex; flex-direction: column; gap: 12px; margin: 1.6em 0 1.4em; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px var(--gutter);
  background: rgba(11,13,12,.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text-light); }
.logo-mark { width: 30px; height: 30px; color: var(--accent); flex: none; }
.logo-text {
  font-family: var(--font-head);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 1.25rem;
}

/* ---------- Sektionen ---------- */
.section { padding: 64px 0; }
.section.light { background: var(--bg-2); color: var(--text-light); }
.section.dark { background: var(--bg-2); }
.section.light .lead { color: var(--muted-light); }

/* ---------- Hero ---------- */
.hero { padding: 40px 0 56px; border-bottom: 4px solid var(--accent); }
.hero-grid { display: grid; gap: 36px; }
.trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted-light); font-size: .92rem; }
.trust li { display: flex; align-items: center; gap: 8px; }
.trust li::before { content: ""; width: 8px; height: 8px; background: var(--accent); transform: rotate(45deg); }

/* ---------- Platzhalter-Bilder ---------- */
.ph {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: var(--radius);
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.04) 0 14px, rgba(0,0,0,.08) 14px 28px),
    var(--bg-3);
  border: 2px dashed rgba(160,168,160,.5);
  color: var(--stone);
}
.ph-portrait { aspect-ratio: 4 / 5; width: 100%; max-width: 420px; margin: 0 auto; }
.portrait { aspect-ratio: 4 / 5; width: 100%; max-width: 420px; margin: 0 auto; border-radius: var(--radius); overflow: hidden; background: var(--bg-3); border-bottom: 5px solid var(--accent); box-shadow: 0 18px 40px rgba(0,0,0,.5); }
.portrait img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.ph-label { font-family: var(--font-head); text-transform: uppercase; letter-spacing: .1em; font-weight: 700; font-size: 1.1rem; line-height: 1.3; }
.ph-play {
  position: absolute;
  bottom: 16px; right: 16px;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: var(--accent);
}
.ph-play::after {
  content: ""; position: absolute; left: 23px; top: 17px;
  border-left: 18px solid var(--bg-0);
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
}
.ph-caption { text-align: center; margin: 12px 0 0; font-family: var(--font-head); text-transform: uppercase; letter-spacing: .12em; color: var(--stone); font-weight: 700; }

/* ---------- Karten (Problem) ---------- */
.cards { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 14px; }
.card {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-left: 5px solid var(--accent);
  border-radius: var(--radius);
  padding: 20px 20px 8px;
}
.card-num { font-family: var(--font-head); font-weight: 800; color: var(--accent); letter-spacing: .1em; }
.card h3 { margin: .2em 0 .4em; }
.card p { color: var(--muted-light); font-size: .98rem; }

/* ---------- Kacheln (Angebot) ---------- */
.tiles { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 14px; }
.tile {
  background: rgba(23,27,26,.86);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px 10px;
}
.tile .icon { width: 34px; height: 34px; color: var(--accent); margin-bottom: 10px; }
.tile p { color: var(--muted-light); font-size: .98rem; }

/* ---------- Yuriy + Team ---------- */
.yuriy-grid { display: grid; gap: 32px; }
.note, .note-inline {
  font-size: .85rem;
  color: var(--accent);
  background: rgba(154,174,63,.14);
  border-left: 3px solid var(--accent);
  padding: .5em .8em;
  border-radius: 3px;
}
.note-inline { display: inline-block; padding: .1em .5em; margin-top: .3em; }
.site-footer .note-inline { color: var(--accent); }
.team-box {
  margin-top: 28px;
  padding: 22px 20px 16px;
  background: var(--bg-3);
  border: 1px solid var(--line);
  color: var(--text-light);
  border-radius: var(--radius);
}
.team-box p { color: var(--muted-light); }
.avatars { list-style: none; display: flex; gap: 10px; padding: 0; margin: 4px 0 6px; }
.avatars li {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--bg-4); color: var(--stone);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; border: 2px solid var(--bg-3);
}
.avatars svg { width: 100%; height: 100%; }
.avatar-more { font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; color: var(--accent) !important; background: var(--bg-1) !important; }

/* ---------- Ablauf (Route folgt dem Scrollen) ---------- */
.steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 34px; position: relative; }
.step { display: flex; gap: 18px; position: relative; z-index: 1; }
.step-node {
  flex: none; width: 52px; height: 52px; border-radius: 50%;
  position: relative;
  background: var(--bg-2);
  border: 3px solid var(--bg-4);
  color: var(--stone);
  display: flex; align-items: center; justify-content: center;
  transition: background .3s ease, border-color .3s ease, color .3s ease, box-shadow .3s ease, transform .3s ease;
}
.step-num { font-family: var(--font-head); font-weight: 800; font-size: 1.7rem; line-height: 1; }
.step-text { padding-top: 4px; transition: opacity .35s ease; opacity: .42; }
.step-text h3 { margin-bottom: .2em; }
.step-text p { color: var(--muted-light); margin: 0; }
.step.on .step-text { opacity: 1; }
.step.on .step-node {
  background: var(--accent); border-color: var(--accent); color: var(--bg-0);
  box-shadow: 0 0 0 6px rgba(154,174,63,.18), 0 0 22px rgba(154,174,63,.45);
}

/* Linie (Position setzt das Script) */
.route-base { position: absolute; z-index: 0; background: rgba(255,255,255,.14); border-radius: 2px; list-style: none; pointer-events: none; }
.route-fill { position: absolute; left: 0; top: 0; background: var(--accent); border-radius: 2px; box-shadow: 0 0 12px rgba(154,174,63,.7); }
.steps .route-base { width: 4px; margin-left: -2px; }
.steps .route-fill { width: 100%; height: var(--p, 0%); }

/* Zielflagge */
.step-goal .step-node { width: 64px; height: 64px; margin-left: -6px; margin-right: -6px; }
.flag { width: 40px; height: 40px; overflow: visible; }
.step-goal.on .flag-cloth { animation: wave 1.6s ease-in-out infinite; transform-origin: 10.6px 16px; transform-box: view-box; }
@keyframes wave { 0%,100% { transform: skewY(0deg) } 50% { transform: skewY(-5deg) scaleX(.97) } }
.step-goal.on .step-text h3 { color: var(--accent); }

/* Konfetti / Funken */
.burst { position: absolute; left: 50%; top: 50%; width: 0; height: 0; pointer-events: none; z-index: 5; }
.burst i {
  position: absolute; left: 0; top: 0; display: block;
  width: var(--w, 8px); height: var(--h, 8px); background: var(--c, #9aae3f);
  border-radius: var(--r, 1px);
  opacity: 0;
  animation: pop var(--t, 1.1s) cubic-bezier(.12,.7,.3,1) forwards;
}
@keyframes pop {
  0%   { opacity: 1; transform: translate(0,0) rotate(0) scale(1); }
  70%  { opacity: 1; }
  100% { opacity: 0; transform: translate(var(--dx), var(--dy)) rotate(var(--rot)) scale(.6); }
}

/* ---------- Formular ---------- */
.form-section { border-top: 4px solid var(--accent); }
.form-grid { display: grid; gap: 32px; }
.form {
  background: var(--bg-2);
  color: var(--text-light);
  border: 1px solid var(--line);
  padding: 26px 22px;
  border-radius: var(--radius);
  box-shadow: 0 18px 40px rgba(0,0,0,.5);
}
fieldset { border: 0; padding: 0; margin: 0 0 18px; }
legend { font-family: var(--font-head); text-transform: uppercase; letter-spacing: .08em; font-weight: 800; font-size: 1.15rem; padding: 0; margin-bottom: 8px; }
.choice { display: block; margin-bottom: 8px; cursor: pointer; }
.choice-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choice-row .choice { margin: 0; text-align: center; }
.choice input { position: absolute; opacity: 0; }
.choice span {
  display: block; padding: 12px 14px; border: 2px solid var(--line-strong); border-radius: var(--radius);
  background: var(--bg-1); font-weight: 600; transition: border-color .15s, background .15s;
}
.choice input:checked + span { border-color: var(--accent); background: var(--bg-3); box-shadow: inset 4px 0 0 var(--accent); }
.choice input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }

.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 700; margin-bottom: 6px; font-size: .95rem; }
.opt { font-weight: 400; color: var(--muted-light); }
.field input {
  width: 100%; padding: 14px; font-size: 1rem; font-family: inherit;
  border: 2px solid var(--line-strong); border-radius: var(--radius); background: var(--bg-1); color: var(--text-light);
}
.field input::placeholder { color: #6f766f; }
.field input:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px rgba(154,174,63,.35); }
.field input.invalid { border-color: #e0604a; }

.consent { display: flex; gap: 12px; align-items: flex-start; margin: 4px 0 20px; font-size: .88rem; color: var(--muted-light); }
.consent input { width: 22px; height: 22px; flex: none; margin-top: 2px; accent-color: var(--accent); }
.consent.invalid span { color: #ff9c8a; }
.consent a { color: var(--accent); font-weight: 700; }
.form-bonus { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; padding: 10px 12px; background: rgba(154,174,63,.18); border-left: 4px solid var(--accent); border-radius: 3px; font-size: .92rem; font-weight: 600; }
.form-bonus svg { width: 22px; height: 22px; flex: none; color: var(--accent); }
.form-msg { margin: 16px 0 0; padding: 12px 14px; border-radius: var(--radius); background: var(--accent-soft); color: #dbe7a6; font-weight: 600; font-size: .95rem; }

/* ---------- FAQ ---------- */
.faq { margin-top: 28px; border-top: 2px solid var(--accent); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 40px 18px 0; position: relative;
  font-family: var(--font-head); text-transform: uppercase; letter-spacing: .04em; font-weight: 800; font-size: 1.3rem; line-height: 1.15;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.8rem; color: var(--accent); transition: transform .2s; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted-light); padding-right: 12px; }
.faq a { color: var(--accent); font-weight: 700; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-0); padding: 40px 0 28px; color: var(--muted-light); font-size: .9rem; }
.disclaimer { max-width: 620px; margin: 18px 0; }
.footer-links { display: flex; gap: 22px; }
.footer-links a { color: var(--text-light); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Schwebender Button (nur Mobil) + Pfeil nach oben ---------- */
/* Runterscrollen: Button ist da. Hochscrollen: Er schrumpft in den Pfeil hinein
   und versteckt sich dahinter. Wieder Runterscrollen: Er kommt aus dem Pfeil heraus. */
.sticky-cta {
  position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 55;
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateX(-50%) translateY(70px) scale(.7);
  transition: transform .25s cubic-bezier(.4,0,1,1), opacity .2s ease .05s, visibility 0s linear .25s;
}
.sticky-cta.is-visible {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%);
  transition: transform .6s cubic-bezier(.34,1.45,.5,1), opacity .25s ease, visibility 0s;
}
/* in den Pfeil hineingezogen (--dx setzt das Script: Abstand der Mitte zum Pfeil) */
.sticky-cta.is-visible.is-merged {
  opacity: 0; pointer-events: none;
  transform: translateX(calc(-50% + var(--dx, 0px))) scale(.18);
  transition: transform .5s cubic-bezier(.6,0,.25,1), opacity .22s ease .26s, visibility 0s linear .5s;
}
.sticky-cta .btn {
  height: 46px; padding: 0 1.5em; border-radius: 999px; font-size: 1.1rem; white-space: nowrap;
  box-shadow: 0 6px 18px rgba(0,0,0,.45);
}

.to-top {
  position: fixed; right: 16px; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 56;
  width: 46px; height: 46px; padding: 0; border: 0; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent); color: var(--bg-0);
  box-shadow: 0 6px 18px rgba(0,0,0,.45);
  cursor: pointer;
  opacity: 0; visibility: hidden; pointer-events: none;
  transform: translateY(70px) scale(.7);
  transition: transform .25s cubic-bezier(.4,0,1,1), opacity .2s ease .05s, visibility 0s linear .25s;
}
.to-top.is-visible {
  opacity: 1; visibility: visible; pointer-events: auto; transform: none;
  transition: transform .5s cubic-bezier(.34,1.56,.64,1), opacity .15s ease, visibility 0s;
}
/* Der Pfeil "schluckt" den Button und federt beim Herauskommen kurz mit */
.to-top.gulp { animation: gulp .55s cubic-bezier(.3,1.6,.5,1) .3s; }
.to-top.birth { animation: birth .5s ease; }
@keyframes gulp { 0% { transform: scale(1); } 40% { transform: scale(1.22); } 100% { transform: scale(1); } }
@keyframes birth { 0% { transform: scale(1); } 35% { transform: scale(.88); } 100% { transform: scale(1); } }
@media (hover: hover) and (prefers-reduced-motion: no-preference) { .to-top.is-visible:hover { transform: scale(1.08); } }
@media (min-width: 720px) { .to-top { right: 24px; bottom: 24px; } }
@media (prefers-reduced-motion: reduce) {
  .to-top, .to-top.is-visible, .sticky-cta, .sticky-cta.is-visible, .sticky-cta.is-visible.is-merged { transition: opacity .2s ease; }
  .sticky-cta.is-visible.is-merged { transform: translateX(-50%); }
  .to-top.gulp, .to-top.birth { animation: none; }
}

/* ---------- Rechtsseiten ---------- */
.legal { background: var(--bg-1); color: var(--text-light); min-height: 70vh; padding: 56px 0; }
.legal h1 { font-size: clamp(2.2rem, 8vw, 3.4rem); }
.legal h2 { font-size: 1.6rem; margin-top: 1.6em; }
.legal a { color: var(--accent); font-weight: 700; }

/* ---------- Scroll-Einblenden ---------- */
/* Einblenden beim Runterscrollen. Das Script setzt .in beim Sichtbarwerden, danach bleibt das Element stehen. */
.js .reveal { --fy: 70px; opacity: 0; transition: opacity .35s ease, transform .35s ease, filter .35s ease; will-change: transform, opacity; }
.js .reveal.in { opacity: 1; transform: none; filter: none; transition-duration: .85s; transition-timing-function: cubic-bezier(.2,.9,.25,1.12); }

.js .card.reveal.in, .js .tile.reveal.in { transform: none; filter: none; }

/* Karten ("Kommt dir bekannt vor?"): von unten hoch, leicht gekippt, rastet ein */
.js .card.reveal { transform: translateY(var(--fy)) rotate(2.5deg) scale(.94); transform-origin: 0% 100%; }
.js .card.reveal .card-num { display: inline-block; transform: translateX(-14px); opacity: 0; transition: transform .5s ease, opacity .4s ease; }
.js .card.reveal.in .card-num { transform: none; opacity: 1; transition-delay: .35s; }

/* Kacheln ("Wobei wir dich unterstützen"): fahren aus der Unschärfe herein, Icon poppt, Akzent-Kante läuft ein */
.js .tile.reveal { transform: translateY(var(--fy)) scale(.9); filter: blur(8px); position: relative; overflow: hidden; }
.js .tile.reveal::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.js .tile.reveal.in::before { transform: scaleX(1); transition: transform .8s cubic-bezier(.2,.8,.2,1) .25s; }
.js .tile.reveal .icon { transform: scale(0) rotate(-35deg); transition: transform .3s ease; }
.js .tile.reveal.in .icon { transform: none; transition: transform .6s cubic-bezier(.34,1.7,.5,1) .3s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal, .js .card.reveal, .js .tile.reveal { opacity: 1; transform: none; filter: none; transition: none; }
  .js .card.reveal .card-num, .js .tile.reveal .icon { opacity: 1; transform: none; transition: none; }
  .js .tile.reveal::before { transform: scaleX(1); transition: none; }
  .step-goal.on .flag-cloth { animation: none; }
}

/* ---------- Tablet / Desktop ---------- */
@media (min-width: 720px) {
  :root { --gutter: 32px; }
  body { font-size: 18px; padding-bottom: 0; }
  .section { padding: 96px 0; }
  .btn-row { flex-direction: row; }
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .sticky-cta { display: none; }
  .steps { grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .step { flex-direction: column; align-items: center; text-align: center; gap: 16px; }
  .step-goal .step-node { margin: 0; }
  .steps .route-base { height: 4px; width: auto; margin-left: 0; margin-top: -2px; }
  .steps .route-fill { height: 100%; width: var(--p, 0%); }
}

@media (min-width: 1040px) {
  .hero { padding: 72px 0 88px; }
  .hero-grid { grid-template-columns: 1.25fr 1fr; align-items: center; gap: 64px; }
  .cards-4 { grid-template-columns: repeat(4, 1fr); }
  .tiles { grid-template-columns: repeat(4, 1fr); }
  .yuriy-grid { grid-template-columns: 1fr 1.2fr; gap: 72px; align-items: start; }
  .form-grid { grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
}
