/* ==========================================================================
   WOW LAYER — "Neon Athletic Editorial"
   Загружается после style.css на всех страницах. Только внешний вид:
   тексты, порядок блоков и поведение сайта этим файлом не меняются.
   Движение включается скриптом js/motion.js и отключается при prefers-reduced-motion.
   ========================================================================== */

/* ---------- tokens ---------- */
:root {
  --grad-neon: linear-gradient(90deg, #00bfff 0%, #8a2be2 100%);
  --grad-neon-diag: linear-gradient(135deg, #00bfff 0%, #8a2be2 100%);
  --glow-blue: rgba(0, 191, 255, .45);
  --glow-purple: rgba(138, 43, 226, .42);
  --ink-deep: #06070f;
  --radius-panel: 32px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* ---------- focus (visible for keyboard users on every control) ---------- */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 2px solid #00bfff;
  outline-offset: 3px;
}
.skip-link {
  position: absolute; left: 12px; top: -64px; z-index: 100;
  background: var(--ink); color: var(--background);
  padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: 14px;
  transition: top .2s var(--ease-out);
}
.skip-link:focus { top: 12px; }

/* ---------- header ---------- */
.nav-header {
  background: color-mix(in srgb, var(--background) 72%, transparent);
  -webkit-backdrop-filter: saturate(170%) blur(18px);
  backdrop-filter: saturate(170%) blur(18px);
}
.nav-links > a,
.nav-dropdown-toggle { position: relative; padding: 8px 0; }
.nav-dropdown-toggle::after {
  content: ""; position: absolute; left: 0; right: 16px; bottom: 2px; height: 2px; border-radius: 2px;
  background: var(--grad-neon); transform: scaleX(0); transform-origin: left center;
  transition: transform .35s var(--ease-out);
}
.nav-dropdown-toggle:hover::after,
.nav-dropdown.open .nav-dropdown-toggle::after { transform: scaleX(1); }
.nav-dropdown-up .nav-dropdown-toggle::after { display: none; }

.nav-dropdown-menu {
  background: color-mix(in srgb, var(--card) 84%, transparent);
  -webkit-backdrop-filter: blur(20px) saturate(170%);
  backdrop-filter: blur(20px) saturate(170%);
  border: 1px solid color-mix(in srgb, var(--ink) 9%, transparent);
  border-radius: 20px; padding: 10px;
  box-shadow: 0 34px 70px -24px rgba(11, 12, 16, .38), 0 1px 0 rgba(255, 255, 255, .5) inset;
}
.nav-dropdown-menu a, .nav-dropdown-menu button {
  position: relative; padding: 11px 14px 11px 18px; border-radius: 12px;
  transition: background .2s var(--ease-out), color .2s var(--ease-out), padding-left .25s var(--ease-out);
}
.nav-dropdown-menu a::before {
  content: ""; position: absolute; left: 6px; top: 50%; width: 3px; height: 0; border-radius: 3px;
  background: var(--grad-neon); transform: translateY(-50%); transition: height .25s var(--ease-out);
}
.nav-dropdown-menu a:hover { padding-left: 22px; }
.nav-dropdown-menu a:hover::before { height: 18px; }
.nav-dropdown-up .nav-dropdown-menu a::before { display: none; }
.nav-dropdown-up .nav-dropdown-menu a:hover { padding-left: 0; }

/* language switch: sliding thumb (script adds .has-thumb) */
.lang-switch { position: relative; background: color-mix(in srgb, var(--card) 70%, transparent); }
.lang-btn { position: relative; z-index: 1; }
.lang-btn::before, .theme-toggle::before, .burger::before { content: ""; position: absolute; inset: -8px -4px; }
.theme-toggle, .burger { position: relative; }
.lang-thumb {
  position: absolute; top: 3px; bottom: 3px; left: 0; z-index: 0; border-radius: 999px; background: var(--ink);
  transition: transform .4s var(--ease-out), width .4s var(--ease-out);
}
.lang-switch.has-thumb .lang-btn.active { background: transparent; }

/* theme toggle: rotate on press */
.theme-toggle svg { transition: transform .5s var(--ease-out); }
.theme-toggle:active svg { transform: rotate(90deg) scale(.9); }

/* mobile menu: full-width glass sheet with big type */
.mobile-nav {
  position: absolute; top: 100%; left: 0; right: 0; max-height: calc(100dvh - 64px); overflow-y: auto;
  padding: 18px 28px 40px; border-top: 1px solid var(--hairline);
  background: color-mix(in srgb, var(--background) 99%, transparent);
  -webkit-backdrop-filter: blur(26px); backdrop-filter: blur(26px);
}
.mobile-nav.open { animation: wowMenuIn .38s var(--ease-out) both; }
.mobile-group-title { font-size: 11.5px; letter-spacing: .16em; color: var(--ink-soft); }
.mobile-group a { padding: 11px 0 11px 0; font-size: 21px; font-weight: 700; letter-spacing: -.02em; color: var(--ink); border-bottom: 0; }
.mobile-group { padding: 18px 0 10px; }
.mobile-nav .mobile-cta { font-size: 16px; padding: 16px 0; background: var(--ink); }
@keyframes wowMenuIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ---------- buttons ---------- */
.btn-neon { position: relative; }
.btn-glow {
  padding: 18px 34px; font-size: 16px; font-weight: 700; letter-spacing: -.01em;
  box-shadow: 0 14px 34px -10px var(--glow-purple), 0 0 0 1px rgba(255, 255, 255, .08) inset;
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.btn-glow::after { content: "→"; display: inline-block; margin-left: 4px; transition: transform .3s var(--ease-out); }
.btn-glow:hover { box-shadow: 0 18px 44px -8px var(--glow-blue), 0 0 0 1px rgba(255, 255, 255, .12) inset; }
.btn-glow:hover::after { transform: translateX(5px); }
html.dark .btn-glow:hover { box-shadow: 0 0 40px var(--glow-blue); }
.btn-outline { border-color: color-mix(in srgb, var(--ink) 28%, transparent); }

/* ---------- footer: quiet and light, the base rules in style.css apply ---------- */
.site-footer .footer-nav a { font-weight: 500; }

/* ---------- hero ---------- */
.hero-wow { position: relative; overflow: hidden; isolation: isolate; }
.hero-wow::before {
  content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background-image:
    linear-gradient(to right, var(--hairline) 1px, transparent 1px),
    linear-gradient(to bottom, var(--hairline) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 75% 80% at 28% 45%, #000 20%, transparent 78%);
  mask-image: radial-gradient(ellipse 75% 80% at 28% 45%, #000 20%, transparent 78%);
}
.hero-orb { position: absolute; z-index: -1; border-radius: 50%; opacity: .5; pointer-events: none; will-change: transform; }
.hero-orb-a { width: 560px; height: 560px; left: -160px; bottom: -200px; background: radial-gradient(closest-side, var(--glow-blue), transparent); animation: wowOrbA 16s ease-in-out infinite alternate; }
.hero-orb-b { width: 480px; height: 480px; left: 26%; top: -220px; background: radial-gradient(closest-side, var(--glow-purple), transparent); animation: wowOrbB 20s ease-in-out infinite alternate; }
.hero-orb-c { width: 380px; height: 380px; right: -120px; bottom: 6%; background: radial-gradient(closest-side, var(--glow-blue), transparent); opacity: .28; animation: wowOrbA 22s ease-in-out infinite alternate-reverse; }
html.dark .hero-orb { opacity: .62; }
@keyframes wowOrbA { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(80px, -50px, 0) scale(1.15); } }
@keyframes wowOrbB { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(-70px, 60px, 0) scale(1.1); } }

.hero-wrap {
  display: grid; grid-template-columns: minmax(0, 54%) minmax(0, 1fr); align-items: center;
  min-height: clamp(620px, calc(100vh - 64px), 880px);
}
.hero-photo-col { position: relative; align-self: stretch; min-height: 520px; }
.hero-cut {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 52% 10%;
  -webkit-mask-image: linear-gradient(to right, #000 0, #000 78%, transparent 100%), linear-gradient(to top, transparent 0, #000 16%, #000 92%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, #000 0, #000 78%, transparent 100%), linear-gradient(to top, transparent 0, #000 16%, #000 92%, transparent 100%);
  mask-composite: intersect;
  animation: wowPhotoIn 1.3s var(--ease-out) both;
}
@keyframes wowPhotoIn { from { opacity: 0; transform: scale(1.07) translateY(10px); } to { opacity: 1; transform: none; } }

.hero-copy { position: relative; max-width: 640px; padding: 44px 40px 44px 6px; text-align: left; }
.hero-copy > * { animation: wowRise .9s var(--ease-out) both; }
.hero-copy > :nth-child(1) { animation-delay: .1s; }
.hero-copy > :nth-child(2) { animation-delay: .2s; }
.hero-copy > :nth-child(3) { animation-delay: .32s; }
.hero-copy > :nth-child(4) { animation-delay: .44s; }
.hero-copy > :nth-child(5) { animation-delay: .58s; }
@keyframes wowRise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

.hero-copy .eyebrow { margin: 0 0 18px; font-size: 12.5px; font-weight: 700; letter-spacing: .2em; color: var(--ink-soft); }
.hero-copy .hero-title {
  display: block; margin: 0; font-family: var(--font-display); font-weight: 900;
  font-size: clamp(44px, 5.3vw, 80px); line-height: .98; letter-spacing: -.045em; color: var(--ink);
}
.hero-copy .hero-title .neon-accent { display: inline-block; padding-bottom: .06em; }
.hero-copy .hero-text { display: block; margin: 20px 0 0; max-width: 500px; font-size: 18px; line-height: 1.55; font-weight: 400; color: var(--ink-soft); }
.hero-points { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.hero-points li {
  display: flex; align-items: center; gap: 12px; width: fit-content; max-width: 100%; box-sizing: border-box;
  padding: 9px 20px 9px 9px; border-radius: 999px; font-size: 15.5px; font-weight: 600; color: var(--ink);
  background: color-mix(in srgb, var(--card) 72%, transparent); border: 1px solid color-mix(in srgb, var(--ink) 10%, transparent);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.hero-check {
  flex: none; width: 28px; height: 28px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  color: #fff; background: var(--grad-neon-diag); border: 0; box-shadow: 0 6px 18px -4px var(--glow-blue);
}
.hero-copy .hero-actions { margin-top: 28px; justify-content: flex-start; }

@media (max-width: 860px) {
  .hero-wrap { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .hero-copy { max-width: none; padding: 40px 24px 8px; }
  .hero-copy .hero-title { font-size: clamp(40px, 11.5vw, 60px); }
  .hero-copy .hero-text { font-size: 17px; }
  .hero-photo-col { order: 2; height: 480px; min-height: 0; margin-top: 8px; }
  .hero-cut {
    object-position: 52% 8%;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 22%, #000 100%);
    mask-image: linear-gradient(to bottom, transparent 0, #000 22%, #000 100%);
    -webkit-mask-composite: source-over; mask-composite: add;
  }
  .hero-orb-a { width: 380px; height: 380px; }
  .hero-copy .btn-glow { width: 100%; white-space: normal; text-align: center; padding: 17px 22px; font-size: 15.5px; }
}

/* ---------- reveal on scroll (js/motion.js sets .js-motion on <html>) ---------- */
.js-motion [data-reveal] {
  opacity: 0; transform: translateY(18px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.js-motion [data-reveal].is-in { opacity: 1; transform: none; }
.js-motion [data-reveal="fade"] { transform: none; }
.js-motion [data-reveal="scale"] { transform: scale(.96); }
.js-motion [data-reveal="scale"].is-in { transform: none; }

/* ---------- reduced motion: no movement, final state shown at once ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero-orb, .hero-cut, .hero-copy > *, .mobile-nav.open { animation: none !important; }
  .js-motion [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
  .btn-glow, .btn-glow::after, .lang-thumb, .nav-dropdown-toggle::after, .nav-dropdown-menu a { transition: none !important; }
}

/* ==========================================================================
   STAGE 2: blocks 2-4 and 6
   ========================================================================== */

/* ---------- section headings: bigger, tighter ---------- */
.section-head h2 { font-size: clamp(34px, 4.8vw, 62px); line-height: 1.04; letter-spacing: -.034em; max-width: 16ch; text-wrap: balance; }
.section-head .section-lead { font-size: 18px; max-width: 560px; }
.section-head .eyebrow { font-weight: 700; letter-spacing: .2em; }
.section-head .eyebrow::before {
  content: ""; display: inline-block; width: 28px; height: 2px; margin-right: 12px; vertical-align: middle;
  background: var(--grad-neon); border-radius: 2px;
}

/* ---------- block 2: goals, oversized list + photo preview ---------- */
.goal-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 72px; align-items: start; }
.goal-acc { max-width: none; counter-reset: g; }
.goal-acc .faq-item { counter-increment: g; border-bottom: 1px solid var(--hairline); }
.goal-acc .faq-q { padding: 26px 0; gap: 20px; font-weight: 800; font-size: clamp(24px, 3.1vw, 44px); letter-spacing: -.035em; line-height: 1.08; }
.goal-acc .faq-q span::before {
  content: counter(g, decimal-leading-zero); display: inline-block; min-width: 50px; vertical-align: middle; transform: translateY(-.2em);
  font-size: 13px; font-weight: 700; letter-spacing: .16em; color: var(--ink-soft); -webkit-text-fill-color: var(--ink-soft);
}
.goal-acc .faq-q span { transition: color .3s var(--ease-out); }
.goal-acc .faq-item:hover .faq-q span,
.goal-acc .faq-item.open .faq-q span {
  background: var(--grad-neon); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.goal-acc .faq-q svg { width: 26px; height: 26px; }
.goal-acc .faq-a p { padding: 0 0 28px 70px; font-size: 18px; line-height: 1.55; max-width: 520px; }
.goal-acc .faq-item.open .faq-a { max-height: 220px; }
.goal-confirm { font-size: 18px; color: var(--ink-soft); max-width: 640px; }

.goal-visual {
  position: sticky; top: 104px; aspect-ratio: 4 / 5; border-radius: var(--radius-panel); overflow: hidden;
  background: var(--ink-deep); box-shadow: 0 40px 80px -30px rgba(11, 12, 16, .45);
}
.goal-frame { position: absolute; inset: 0; opacity: 0; transform: scale(1.04); transition: opacity .7s var(--ease-out), transform .9s var(--ease-out); }
.goal-frame.is-active { opacity: 1; transform: none; }
.goal-frame img { width: 100%; height: 100%; object-fit: cover; }
.goal-frame:nth-child(1) { background: radial-gradient(90% 70% at 20% 10%, rgba(0, 191, 255, .75), transparent 60%), radial-gradient(80% 70% at 90% 100%, rgba(138, 43, 226, .8), transparent 60%), #0a0b18; }
.goal-frame:nth-child(2) { background: radial-gradient(90% 70% at 80% 10%, rgba(138, 43, 226, .8), transparent 60%), radial-gradient(80% 70% at 10% 100%, rgba(0, 191, 255, .7), transparent 60%), #0a0b18; }
.goal-frame:nth-child(3) { background: radial-gradient(90% 70% at 50% 0%, rgba(0, 191, 255, .8), transparent 60%), radial-gradient(70% 60% at 60% 100%, rgba(138, 43, 226, .6), transparent 60%), #0a0b18; }
.goal-frame:nth-child(4) { background: radial-gradient(90% 70% at 10% 90%, rgba(138, 43, 226, .8), transparent 60%), radial-gradient(80% 70% at 90% 10%, rgba(0, 191, 255, .7), transparent 60%), #0a0b18; }
.goal-frame:nth-child(5) { background: radial-gradient(90% 70% at 70% 0%, rgba(0, 191, 255, .7), transparent 60%), radial-gradient(90% 70% at 20% 100%, rgba(138, 43, 226, .85), transparent 60%), #0a0b18; }
.goal-frame-num {
  position: absolute; left: 28px; bottom: 6px; font: 900 clamp(120px, 14vw, 200px)/1 var(--font-display); letter-spacing: -.07em;
  color: transparent; -webkit-text-stroke: 2px rgba(255, 255, 255, .55); user-select: none;
}
@media (max-width: 900px) {
  .goal-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .goal-visual { display: none; }
  .goal-acc .faq-a p { padding-left: 0; }
}

/* ---------- cards: numerals, gradient edge, spotlight (blocks 3 and 6) ---------- */
.problem-grid, .result-grid { counter-reset: n; }
.problem-grid > .card-base, .result-grid > .card-base {
  counter-increment: n; position: relative; overflow: hidden; border-radius: 28px; padding: 34px 32px 38px;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.problem-grid > .card-base h3, .result-grid > .card-base h3 { font-size: clamp(21px, 2vw, 26px); letter-spacing: -.025em; line-height: 1.18; }
.problem-grid > .card-base p, .result-grid > .card-base p { font-size: 16px; line-height: 1.6; }
.problem-grid > .card-base h3 { padding-right: 76px; }
.problem-grid > .card-base::before {
  content: counter(n, decimal-leading-zero); position: absolute; right: 18px; top: 4px; pointer-events: none;
  font: 900 112px/1 var(--font-display); letter-spacing: -.06em; color: transparent;
  -webkit-text-stroke: 1.5px color-mix(in srgb, var(--ink) 13%, transparent); transition: -webkit-text-stroke-color .45s var(--ease-out);
}
.problem-grid > .card-base:hover::before { -webkit-text-stroke-color: rgba(0, 191, 255, .75); }
.result-grid > .card-base::before {
  content: counter(n, decimal-leading-zero); display: block; margin-bottom: 8px;
  font: 900 64px/1 var(--font-display); letter-spacing: -.05em;
  background: var(--grad-neon); -webkit-background-clip: text; background-clip: text; color: transparent;
}
:is(.problem-grid, .result-grid) > .card-base::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; pointer-events: none;
  background: var(--grad-neon);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0; transition: opacity .4s var(--ease-out);
}
:is(.problem-grid, .result-grid) > .card-base:hover { transform: translateY(-5px); box-shadow: 0 34px 60px -30px rgba(106, 92, 240, .4); }
:is(.problem-grid, .result-grid) > .card-base:hover::after { opacity: 1; }
[data-spotlight]:hover { background-image: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(0, 191, 255, .10), transparent 45%); }
html.dark [data-spotlight]:hover { background-image: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(0, 191, 255, .16), transparent 45%); }

/* ---------- block 4: dark cinematic section ---------- */
.section-dark {
  position: relative; overflow: hidden; isolation: isolate; background: var(--ink-deep); color: #f5f6fa; border-top: 0;
  --ink: #f5f6fa; --ink-soft: #a9afc0; --hairline: rgba(255, 255, 255, .11); --card: #10121f; --background: #06070f; --surface: #0c0e1a;
}
.section-dark::before, .section-dark::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; }
.section-dark::before { width: 620px; height: 620px; left: -220px; top: 4%; background: radial-gradient(closest-side, var(--glow-blue), transparent); opacity: .38; }
.section-dark::after { width: 620px; height: 620px; right: -240px; bottom: 6%; background: radial-gradient(closest-side, var(--glow-purple), transparent); opacity: .42; }
.section-dark .section-head h2 { color: #fff; max-width: 18ch; }

.focus-stack { gap: clamp(64px, 9vw, 120px); }
.focus-row, .focus-row:nth-child(even) {
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 88px); align-items: center;
  background: transparent; border: 0; border-radius: 0; overflow: visible;
}
.focus-row:nth-child(even) { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.focus-frame {
  position: relative; overflow: hidden; border-radius: var(--radius-panel); aspect-ratio: 4 / 5; background: #10121f;
  box-shadow: 0 50px 90px -34px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .08);
}
.focus-row:nth-child(even) .focus-frame { order: 2; }
.focus-frame .focus-photo { position: absolute; inset: 0; width: 100%; height: 100%; max-height: none; min-height: 0; object-fit: cover; will-change: transform; transform: scale(1.14); }
.focus-frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(6, 7, 15, .7)); pointer-events: none; }
.focus-num {
  position: absolute; left: 22px; bottom: -6px; z-index: 1; font: 900 clamp(88px, 11vw, 150px)/1 var(--font-display); letter-spacing: -.07em;
  color: transparent; -webkit-text-stroke: 2px rgba(255, 255, 255, .7); user-select: none; pointer-events: none;
}
.focus-body { padding: 0; gap: 18px; }
.focus-body h3 { font-size: clamp(30px, 3.8vw, 52px); line-height: 1.04; letter-spacing: -.04em; color: #fff; }
.focus-body h3::after { content: ""; display: block; width: 56px; height: 4px; margin-top: 20px; border-radius: 4px; background: var(--grad-neon); }
.focus-body p { font-size: 19px; line-height: 1.6; color: var(--ink-soft); max-width: 460px; }
@media (max-width: 760px) {
  .focus-row, .focus-row:nth-child(even) { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .focus-row:nth-child(even) .focus-frame { order: 0; }
  .focus-frame { aspect-ratio: 4 / 4.6; }
  .focus-body p { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  .goal-frame { transition: none; }
  .focus-frame .focus-photo { transform: none; }
  .problem-grid > .card-base, .result-grid > .card-base { transition: none; }
}

/* ==========================================================================
   STAGE 3: block 5 (approach) and block 7 (pricing)
   ========================================================================== */

/* ---------- block 5: editorial layout ---------- */
.ansatz-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 110px); align-items: start; }
.ansatz-head { position: sticky; top: 110px; max-width: none; }
.ansatz-head h2 { font-size: clamp(38px, 5.4vw, 76px); line-height: 1; letter-spacing: -.036em; max-width: 12ch; text-wrap: balance; }
.ansatz-body { position: relative; padding-left: 40px; }
.ansatz-body::before, .ansatz-body::after { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 2px; border-radius: 2px; }
.ansatz-body::before { background: var(--hairline); }
.ansatz-body::after { background: var(--grad-neon); transform-origin: top center; transform: scaleY(var(--p, 0)); box-shadow: 0 0 14px var(--glow-blue); }
.ansatz-body .prose { margin-top: 0; }
.ansatz-body .prose p { font-size: 18px; line-height: 1.72; max-width: none; margin-bottom: 26px; }
.ansatz-body .prose p:first-child { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.38; font-weight: 500; letter-spacing: -.02em; color: var(--ink); }
.ansatz-body .btn-neon { margin-top: 12px; }
@media (max-width: 900px) {
  .ansatz-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .ansatz-head { position: static; }
  .ansatz-body { padding-left: 24px; }
}

/* ---------- block 7: pricing, premium cards ---------- */
#preise { position: relative; overflow: hidden; isolation: isolate; }
#preise::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(50% 38% at 12% 8%, rgba(0, 191, 255, .11), transparent 70%), radial-gradient(45% 38% at 92% 58%, rgba(138, 43, 226, .11), transparent 70%);
}
.pricing-group-title { font-size: clamp(28px, 3.4vw, 44px); letter-spacing: -.035em; line-height: 1.05; }
.pricing-group .section-lead { font-size: 17px; }
.plan-card {
  border-radius: 28px; padding: 38px 32px 34px; background: color-mix(in srgb, var(--card) 90%, transparent);
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), border-color .3s var(--ease-out);
}
.plan-card h4 { font-size: 22px; letter-spacing: -.02em; }
.plan-card .plan-price { font-size: clamp(44px, 4.4vw, 58px); line-height: 1; letter-spacing: -.045em; font-variant-numeric: tabular-nums; margin: 10px 0 6px; }
.plan-card .plan-price span { font-size: 15px; letter-spacing: 0; }
.plan-card::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; pointer-events: none;
  background: var(--grad-neon);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0; transition: opacity .4s var(--ease-out);
}
.plan-card:has(.plan-badge)::after { opacity: .85; }
.plan-card:hover, .plan-card.is-active {
  border-color: transparent; transform: translateY(-8px);
  box-shadow: 0 44px 70px -34px rgba(0, 191, 255, .45), 0 24px 44px -26px rgba(138, 43, 226, .35);
}
html.dark .plan-card:hover, html.dark .plan-card.is-active { border-color: transparent; box-shadow: 0 40px 80px -30px rgba(0, 191, 255, .35), 0 0 60px -20px rgba(138, 43, 226, .45); }
.plan-card:hover::after, .plan-card.is-active::after { opacity: 1; }
.plan-badge { top: -14px; z-index: 2; background: var(--grad-neon); color: #fff; box-shadow: 0 10px 22px -8px var(--glow-purple); }
.plan-features li svg { color: #00bfff; }
.plan-more-link { font-weight: 700; text-underline-offset: 4px; }

@media (prefers-reduced-motion: reduce) {
  .plan-card { transition: none; }
  .ansatz-body::after { transition: none; }
}

/* ==========================================================================
   STAGE 4: block 8 (questionnaire, dark cinematic) and block 9 (materials)
   ========================================================================== */

/* ---------- block 8 ---------- */
#quiz.section-dark { padding: clamp(84px, 10vw, 140px) 0; }
#quiz.section-dark::before { animation: wowOrbA 16s ease-in-out infinite alternate; opacity: .5; }
#quiz.section-dark::after { animation: wowOrbB 20s ease-in-out infinite alternate; opacity: .5; }
#quiz .container-narrow.narrow-col { max-width: 900px; }
#quiz .quiz-card {
  background: rgba(16, 18, 31, .62); border: 1px solid rgba(255, 255, 255, .12); border-radius: 36px;
  -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px);
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .85), 0 0 0 1px rgba(0, 191, 255, .06) inset;
  padding: clamp(30px, 5vw, 56px);
}
/* before the start: an open stage, no box */
#quiz .quiz-card:has(#quiz-intro:not([hidden])) {
  background: transparent; border: 0; box-shadow: none; padding: 20px 0; overflow: visible; color: #fff;
  -webkit-backdrop-filter: none; backdrop-filter: none;
}
#quiz .quiz-intro h2 {
  font-size: clamp(40px, 6.2vw, 88px); line-height: .98; letter-spacing: -.04em; max-width: 13ch; margin: 0 auto;
  text-wrap: balance; color: #fff;
}
#quiz .quiz-intro .section-lead { font-size: 20px; max-width: 580px; color: #a9afc0; margin-top: 22px; }
#quiz .quiz-intro .eyebrow { color: #00bfff; font-weight: 700; letter-spacing: .22em; }
#quiz-start { padding: 20px 40px; font-size: 17px; font-weight: 700; box-shadow: 0 0 70px -10px rgba(0, 191, 255, .65); transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out); }
#quiz-start:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 0 90px -6px rgba(138, 43, 226, .7); }

#quiz .quiz-progress { height: 6px; background: rgba(255, 255, 255, .1); }
#quiz .quiz-progress-bar { background: var(--grad-neon); box-shadow: 0 0 18px var(--glow-blue); }
#quiz .quiz-q { font-size: clamp(24px, 3vw, 34px); letter-spacing: -.03em; line-height: 1.12; color: #fff; }
#quiz .quiz-option {
  padding: 18px 22px; border-radius: 20px; font-size: 16px; color: #e9ecf5;
  background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .12);
  transition: transform .25s var(--ease-out), border-color .25s, box-shadow .25s, background .25s;
}
#quiz .quiz-option:hover { border-color: #00bfff; transform: translateX(4px); box-shadow: 0 0 28px -8px var(--glow-blue); }
#quiz .quiz-option.selected {
  border-color: #00bfff; color: #fff; font-weight: 700;
  background: linear-gradient(135deg, rgba(0, 191, 255, .2), rgba(138, 43, 226, .22));
  box-shadow: 0 0 0 1px #00bfff inset, 0 0 34px -8px var(--glow-blue);
}
#quiz .quiz-input, #quiz .quiz-phone-code { background-color: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); color: #fff; }
#quiz .quiz-input::placeholder { color: #7d8397; }
#quiz .quiz-input:focus, #quiz .quiz-phone-code:focus, #quiz .quiz-input-affix:focus-within { border-color: #00bfff; box-shadow: 0 0 24px -4px var(--glow-blue); }
#quiz .quiz-input-affix { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); }
#quiz .quiz-input-affix .quiz-input { box-shadow: none; }
#quiz .quiz-step.answered .quiz-step-summary { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); }
#quiz .quiz-step.answered .quiz-step-summary:hover { border-color: #00bfff; }
#quiz .btn-neon { box-shadow: 0 14px 34px -12px var(--glow-blue); }
#quiz .quiz-consent a { color: #fff; }
#quiz .quiz-submit-error { color: #ff7a85; }

/* success: animated check */
#quiz .quiz-result { padding: 24px 0 8px; }
#quiz .quiz-result::before {
  content: "\2713"; display: grid; place-items: center; width: 88px; height: 88px; margin: 0 auto 24px; border-radius: 50%;
  background: var(--grad-neon-diag); color: #fff; font-size: 44px; font-weight: 800;
  animation: wowPop .7s var(--ease-out) both, wowPulse 2.6s ease-out .7s 2;
}
#quiz .quiz-result h3 { font-size: clamp(30px, 4vw, 46px); letter-spacing: -.035em; color: #fff; }
#quiz .quiz-result-text { color: #a9afc0; font-size: 18px; }
@keyframes wowPop { from { transform: scale(.3); opacity: 0; } 60% { transform: scale(1.12); opacity: 1; } to { transform: scale(1); } }
@keyframes wowPulse { 0% { box-shadow: 0 0 0 0 rgba(0, 191, 255, .55); } 100% { box-shadow: 0 0 0 36px rgba(0, 191, 255, 0); } }

@media (prefers-reduced-motion: reduce) {
  #quiz.section-dark::before, #quiz.section-dark::after, #quiz .quiz-result::before { animation: none !important; }
  #quiz .quiz-option, #quiz-start { transition: none; }
}

/* ==========================================================================
   STAGE 5: inner pages follow the same system
   ========================================================================== */

/* page headings */
main > section > .container-narrow > .section-head h2,
main > section > .container-narrow.narrow-col > .section-head h2 { max-width: 18ch; }
.article-block h3 { font-size: clamp(26px, 3.2vw, 38px); letter-spacing: -.03em; line-height: 1.08; }
.article-block h3::before { content: ""; display: block; width: 44px; height: 4px; margin-bottom: 18px; border-radius: 4px; background: var(--grad-neon); }
.article-block .prose p { font-size: 17.5px; line-height: 1.7; }

/* tariff detail pages */
.plan-detail-photo { border-radius: var(--radius-panel); border: 0; box-shadow: 0 40px 80px -34px rgba(11, 12, 16, .5); }
.plan-detail h3 { font-size: clamp(30px, 3.6vw, 46px); letter-spacing: -.035em; }
.plan-detail-price { font-size: clamp(40px, 4.4vw, 58px); letter-spacing: -.045em; font-variant-numeric: tabular-nums; margin: 8px 0 18px; }
.plan-detail p:not(.plan-detail-price) { font-size: 17.5px; line-height: 1.7; }
.plan-detail .plan-features li { font-size: 16px; }
.plan-detail .plan-features li svg { color: #00bfff; }
.plan-detail .btn-neon { padding: 17px 32px; font-size: 15.5px; font-weight: 700; box-shadow: 0 14px 34px -12px var(--glow-purple); }

/* about, licences, reviews */
.about-photo { border: 0; border-radius: var(--radius-panel); box-shadow: 0 40px 80px -34px rgba(11, 12, 16, .5); }
.about-grid h2 { font-size: clamp(32px, 4.2vw, 56px); letter-spacing: -.035em; line-height: 1.04; text-wrap: balance; }
.about-grid .prose p { font-size: 17.5px; line-height: 1.7; }
.testimonial-card { border-radius: 24px; }
.stack-text h3 { letter-spacing: -.025em; }

/* faq */
.faq-q { transition: color .25s var(--ease-out); }
.faq-q:hover { color: #7a63f2; }
html:not(.dark) .faq-q:hover { color: var(--ink); }
.faq-item.open .faq-q svg { color: #7a63f2; }
main .faq-list:not(.goal-acc) .faq-q { padding: 24px 2px; font-size: clamp(17px, 1.7vw, 20px); font-weight: 700; letter-spacing: -.015em; }
main .faq-list:not(.goal-acc) .faq-a p { font-size: 16.5px; line-height: 1.65; }

/* contact + placeholder pages */
.contact-card { border-radius: 28px; padding: 32px; transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out); position: relative; overflow: hidden; }
.contact-card:hover { transform: translateY(-5px); box-shadow: 0 34px 60px -30px rgba(106, 92, 240, .4); }
.contact-card h3 { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }
.contact-card p, .contact-card a:not(.btn-neon) { font-size: 20px; font-weight: 600; color: var(--ink); letter-spacing: -.01em; }
.dev-page { position: relative; overflow: hidden; isolation: isolate; }
.dev-page::before, .dev-page::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; }
.dev-page::before { width: 460px; height: 460px; left: 8%; top: 10%; background: radial-gradient(closest-side, var(--glow-blue), transparent); opacity: .35; animation: wowOrbA 18s ease-in-out infinite alternate; }
.dev-page::after { width: 460px; height: 460px; right: 6%; bottom: 0; background: radial-gradient(closest-side, var(--glow-purple), transparent); opacity: .35; animation: wowOrbB 22s ease-in-out infinite alternate; }
.dev-title { font-size: clamp(38px, 7vw, 92px); font-weight: 900; letter-spacing: -.045em; line-height: .98; text-wrap: balance; }
.dev-badge { border-color: transparent; color: #fff; background: var(--grad-neon-diag); box-shadow: 0 12px 30px -10px var(--glow-purple); }

/* generic cards on inner pages */
.card-base { border-radius: 24px; }

@media (prefers-reduced-motion: reduce) {
  .dev-page::before, .dev-page::after { animation: none !important; }
  .contact-card { transition: none; }
}

/* ==========================================================================
   STAGE 6: questionnaire polish, calmer block numbers
   ========================================================================== */

/* dark sections must not create a scroll container, or sticky children stop working */
.section-dark { overflow: clip; }
@supports not (overflow: clip) { .section-dark { overflow: hidden; } }

/* progress stays pinned under the site header while the visitor answers */
#quiz .quiz-sticky {
  position: sticky; top: 64px; z-index: 6; margin: -8px -14px 12px; padding: 18px 14px 14px;
  background: linear-gradient(180deg, color-mix(in srgb, #0a0b16 94%, transparent) 72%, transparent);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
#quiz .quiz-sticky .eyebrow { margin: 12px 0 0; color: #a9afc0; font-weight: 700; letter-spacing: .18em; }

/* answered questions: question on the left half, answer on the right half, never crossing the middle */
#quiz .quiz-step.answered .quiz-hint { display: none; }
#quiz .quiz-step.answered .quiz-step-summary {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 28px; align-items: start; padding: 15px 20px;
}
#quiz .quiz-step-summary-q { text-align: left; font-size: 13.5px; line-height: 1.4; overflow-wrap: anywhere; }
#quiz .quiz-step-summary-a { text-align: right; font-size: 14.5px; line-height: 1.4; overflow-wrap: anywhere; color: #fff; }
@media (max-width: 560px) {
  #quiz .quiz-step.answered .quiz-step-summary { grid-template-columns: minmax(0, 1fr); row-gap: 5px; }
  #quiz .quiz-step-summary-a { text-align: left; }
}

/* block 4: quieter numerals */
.focus-num { left: 18px; bottom: 8px; font-size: clamp(40px, 4.4vw, 64px); letter-spacing: -.05em; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .6); }

/* ==========================================================================
   STAGE 7: real photos from the shoot
   ========================================================================== */

/* ==========================================================================
   STAGE 8: hero v2 (no grid, clean diagonal photo edge, everything above the fold),
   Inter Tight headings, icon chips
   ========================================================================== */

:root { --font-display: 'Inter Tight', 'Inter', sans-serif; }
h1, h2, h3 { font-weight: 800; }

/* no background squares, in both themes */
.hero-wow::before { display: none; }

/* the whole first screen fits the window: photo from the head down to the fingers, copy and button beside it */
.hero-wrap {
  --dx: clamp(40px, 6.5vw, 120px);
  height: calc(100svh - 65px); min-height: 560px; max-height: 940px;
  grid-template-columns: minmax(0, min(58vw, calc((100svh - 65px) * 1.04))) minmax(0, 1fr);
  min-height: 560px;
}
.hero-photo-col { min-height: 0; }
.hero-cut {
  -webkit-mask-image: none; mask-image: none; object-position: 50% 0;
  clip-path: polygon(0 0, 100% 0, calc(100% - var(--dx)) 100%, 0 100%);
}
/* neon stripe along the slanted edge: crisp on white, glowing on dark */
.hero-photo-col::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; background: var(--grad-neon-diag);
  clip-path: polygon(calc(100% - 4px) 0, 100% 0, calc(100% - var(--dx)) 100%, calc(100% - var(--dx) - 4px) 100%);
}
.hero-copy { padding: clamp(16px, 3vh, 44px) 40px clamp(16px, 3vh, 44px) clamp(10px, 2.4vw, 56px); max-width: 700px; }
.hero-copy .eyebrow { margin-bottom: clamp(10px, 2vh, 18px); }
.hero-copy .hero-title { font-weight: 800; font-size: clamp(38px, min(5.2vw, 9.4vh), 84px); line-height: 1; letter-spacing: -.035em; }
.hero-copy .hero-text { margin-top: clamp(12px, 2.2vh, 20px); font-size: clamp(16px, 2.3vh, 18px); }
.hero-points { margin-top: clamp(14px, 3vh, 26px); gap: 8px; }
.hero-points li { padding: 7px 20px 7px 7px; font-size: 15px; }
.hero-copy .hero-actions { margin-top: clamp(16px, 3.4vh, 30px); }
.hero-copy .btn-glow { padding: 16px 32px; font-size: 15.5px; }

/* icon chips instead of ticks: a ring of neon with a line icon inside */
.hero-check {
  width: 32px; height: 32px; color: #00bfff; background: color-mix(in srgb, #00bfff 14%, transparent);
  border: 1.5px solid color-mix(in srgb, #00bfff 70%, transparent); box-shadow: 0 0 20px -4px var(--glow-blue);
}
.hero-check svg { width: 16px; height: 16px; }

@media (max-width: 860px) {
  .hero-wrap { --dy: 36px; height: auto; max-height: none; grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .hero-photo-col { height: 480px; }
  .hero-cut { clip-path: polygon(0 var(--dy), 100% 0, 100% 100%, 0 100%); -webkit-mask-image: none; mask-image: none; object-position: 50% 0; }
  .hero-photo-col::after { clip-path: polygon(0 var(--dy), 100% 0, 100% 4px, 0 calc(var(--dy) + 4px)); }
  .hero-copy .hero-title { font-size: clamp(40px, 11.5vw, 60px); }
}

/* tablets in landscape: a narrower photo column and slightly smaller copy so the button stays on the first screen */
@media (min-width: 861px) and (max-width: 1180px) {
  .hero-wrap { --dx: 44px; grid-template-columns: minmax(0, 46vw) minmax(0, 1fr); }
  .hero-copy { padding-right: 24px; }
  .hero-copy .hero-title { font-size: clamp(36px, min(4.6vw, 8.4vh), 56px); }
  .hero-copy .hero-text { font-size: 15.5px; }
  .hero-points li { font-size: 14px; }
}

/* ==========================================================================
   STAGE 9: hero v3 — slanted photo again, bigger and centred; the elbow pops over the edge;
   plain blue ticks, bigger button, copy a little higher
   ========================================================================== */

.hero-wrap {
  --dx: clamp(40px, 6vw, 110px);
  grid-template-columns: minmax(0, min(58vw, clamp(calc((100svh - 65px) * 1.04), 50vw, calc((100svh - 65px) * 1.14)))) minmax(0, 1fr);
}
.hero-cut { object-position: 50% 20%; }
/* the same cut-out of Valery on top of the photo, not clipped: the elbow is not cut by the slanted edge */
.hero-fig {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%;
  z-index: 3; pointer-events: none; animation: wowPhotoIn 1.3s var(--ease-out) both;
}
.hero-photo-col::after { z-index: 2; }
.hero-copy {
  max-width: 660px; padding: clamp(8px, 1.6vh, 22px) 32px clamp(40px, 9vh, 110px) clamp(24px, 3.6vw, 76px);
}

/* ticks: just a blue check, no ring, no pill */
.hero-points { gap: 12px; }
.hero-points li { padding: 0; background: none; border: 0; -webkit-backdrop-filter: none; backdrop-filter: none; font-size: 16px; gap: 12px; }
.hero-check {
  width: 24px; height: 24px; border: 0; border-radius: 0; background: none; box-shadow: none; color: #00bfff;
  filter: drop-shadow(0 0 8px color-mix(in srgb, #00bfff 55%, transparent));
}
.hero-check svg { width: 24px; height: 24px; }

/* bigger main button */
.hero-copy .btn-glow { padding: 21px 44px; font-size: 18px; font-weight: 700; }

@media (max-width: 860px) {
  .hero-wrap { grid-template-columns: minmax(0, 1fr); }
  .hero-fig { display: none; }
  .hero-cut { object-position: 50% 0; }
  .hero-copy { padding: 40px 24px 8px; }
  .hero-copy .btn-glow { padding: 20px 22px; font-size: 17px; }
}
@media (min-width: 861px) and (max-width: 1180px) {
  .hero-wrap { --dx: 44px; grid-template-columns: minmax(0, 46vw) minmax(0, 1fr); }
  .hero-copy { padding-right: 24px; }
  .hero-copy .btn-glow { padding: 18px 34px; font-size: 16.5px; }
}

/* ==========================================================================
   STAGE 10: feedback round — new block 2, text-only approach, tariffs on one line,
   quiz as a wide dark card, slim tools strip, quiet footer
   ========================================================================== */

/* ---------- block 2: how do you want to feel in half a year ---------- */
#ziele { padding-bottom: clamp(56px, 7vw, 96px); background: linear-gradient(180deg, transparent 58%, var(--surface)); }
.feel-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); margin-top: 48px; }
.feel-tile {
  position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: clamp(220px, 23vw, 300px); padding: clamp(24px, 3vw, 40px); border-radius: var(--radius-panel);
  background: var(--card); border: 1px solid var(--hairline);
  transition: transform .45s var(--ease-out), border-color .3s var(--ease-out), box-shadow .45s var(--ease-out);
}
.feel-tile::before {
  content: ""; position: absolute; width: 440px; height: 440px; right: -170px; top: -190px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, var(--glow-blue), transparent); opacity: .3; transition: opacity .4s var(--ease-out);
}
.feel-tile:nth-child(even)::before { background: radial-gradient(closest-side, var(--glow-purple), transparent); }
.feel-tile:hover { transform: translateY(-6px); border-color: color-mix(in srgb, #6a5cf0 60%, transparent); box-shadow: 0 40px 70px -36px rgba(106, 92, 240, .5); }
.feel-tile:hover::before { opacity: .55; }
.feel-num {
  position: absolute; top: 14px; right: 26px; font: 900 clamp(64px, 8vw, 112px)/1 var(--font-display); letter-spacing: -.07em;
  color: transparent; -webkit-text-stroke: 1.5px color-mix(in srgb, var(--ink) 22%, transparent); user-select: none;
}
.feel-tile h3 { position: relative; font-size: clamp(26px, 3vw, 40px); line-height: 1.06; letter-spacing: -.035em; }
.feel-tile p { position: relative; margin: 12px 0 0; max-width: 420px; font-size: 18px; line-height: 1.55; color: var(--ink-soft); }

@media (max-width: 700px) {
  .feel-grid { grid-template-columns: minmax(0, 1fr); margin-top: 32px; }
  .feel-tile { min-height: 200px; }
}

/* ---------- block 6: approach, text only ---------- */
.ansatz-sec .container-narrow { max-width: 890px; }
.ansatz-sec .ansatz-head { position: static; }
.ansatz-sec .ansatz-head h2 { font-size: clamp(34px, 4.4vw, 56px); line-height: 1.04; letter-spacing: -.035em; max-width: none; }
.ansatz-sec .ansatz-body { padding-left: 0; margin-top: 36px; }
.ansatz-sec .ansatz-body::before, .ansatz-sec .ansatz-body::after { display: none; }
.ansatz-sec .ansatz-body .prose p, .ansatz-sec .ansatz-body .prose p:first-child {
  font-size: 18px; line-height: 1.78; font-weight: 400; letter-spacing: 0; color: var(--ink-soft); margin-bottom: 22px;
}

/* ---------- tariffs: price and unit always on one line, the three cards stay level ---------- */
.plan-card .plan-price { display: flex; align-items: baseline; flex-wrap: nowrap; gap: 8px; white-space: nowrap; font-size: clamp(34px, 3.1vw, 48px); }
.plan-card .plan-price span { font-size: 14px; white-space: nowrap; }

/* ---------- block 8: the questionnaire is a wide dark card, like the closing card used to be ---------- */
#quiz.section-dark { background: transparent; overflow: visible; padding: clamp(56px, 7vw, 96px) 0; }
#quiz.section-dark::before, #quiz.section-dark::after { display: none; }
#quiz .container-narrow.narrow-col { max-width: var(--container); }
#quiz .quiz-card, #quiz .quiz-card:has(#quiz-intro:not([hidden])) {
  position: relative; border: 0; border-radius: 28px; color: #fff; padding: clamp(56px, 7vw, 90px) 40px;
  background:
    radial-gradient(120% 100% at 0% 0%, rgba(0, 191, 255, .35), transparent 55%),
    radial-gradient(120% 100% at 100% 100%, rgba(138, 43, 226, .45), transparent 55%),
    #06070f;
  -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none;
}
html.dark #quiz .quiz-card { box-shadow: 0 0 0 1px rgba(255, 255, 255, .1); }
#quiz .quiz-card:has(#quiz-form:not([hidden])), #quiz .quiz-card:has(#quiz-result:not([hidden])) { padding: clamp(28px, 5vw, 56px) clamp(20px, 5vw, 56px); }
#quiz #quiz-form, #quiz .quiz-result { max-width: 760px; margin-left: auto; margin-right: auto; }
#quiz .quiz-intro h2 { font-size: clamp(30px, 4.4vw, 52px); line-height: 1.05; letter-spacing: -.035em; max-width: 720px; margin: 0 auto; }
#quiz .quiz-intro .section-lead { font-size: 18px; max-width: 520px; margin-top: 18px; }
@media (max-width: 760px) { #quiz .quiz-card, #quiz .quiz-card:has(#quiz-intro:not([hidden])) { padding: 48px 22px; } }

@media (prefers-reduced-motion: reduce) {
  .feel-tile { transition: none; }
}

/* ---------- about me: heading on top, photo and text level ---------- */
.about-head { margin-bottom: 40px; }
.about-head h2 { max-width: 13em; font-size: clamp(32px, 4.2vw, 56px); letter-spacing: -.035em; line-height: 1.04; text-wrap: balance; }
.about-grid { align-items: stretch; }
.about-grid .about-photo { aspect-ratio: auto; min-height: 420px; }
.about-grid .prose { margin-top: 0; }
.about-grid .prose p:last-child { margin-bottom: 0; }
@media (max-width: 860px) { .about-grid .about-photo { aspect-ratio: 4 / 5; min-height: 0; } }

/* ---------- knowledge check: topic cards ---------- */
.test-hub { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); margin-top: 48px; }
.test-card {
  position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 22px;
  min-height: clamp(220px, 22vw, 300px); padding: clamp(24px, 3vw, 40px); border-radius: var(--radius-panel);
  background: var(--card); border: 1px solid var(--hairline); color: var(--ink);
  transition: transform .45s var(--ease-out), border-color .3s var(--ease-out), box-shadow .45s var(--ease-out);
}
.test-card::before {
  content: ""; position: absolute; width: 440px; height: 440px; right: -170px; top: -190px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, var(--glow-blue), transparent); opacity: .3;
}
.test-card:hover { transform: translateY(-6px); border-color: color-mix(in srgb, #6a5cf0 60%, transparent); box-shadow: 0 40px 70px -36px rgba(106, 92, 240, .5); }
.test-card-num {
  position: absolute; top: 14px; right: 26px; font: 900 clamp(64px, 8vw, 112px)/1 var(--font-display); letter-spacing: -.07em;
  color: transparent; -webkit-text-stroke: 1.5px color-mix(in srgb, var(--ink) 22%, transparent); user-select: none;
}
.test-card h2 { position: relative; margin: 0; max-width: 12em; font-size: clamp(26px, 3vw, 40px); line-height: 1.06; letter-spacing: -.035em; }
.test-card-cta { position: relative; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; }
.test-card-cta svg { transition: transform .3s var(--ease-out); }
.test-card:hover .test-card-cta svg { transform: translateX(5px); }
@media (max-width: 700px) { .test-hub { grid-template-columns: minmax(0, 1fr); margin-top: 32px; } }
@media (prefers-reduced-motion: reduce) { .test-card, .test-card-cta svg { transition: none; } }

/* ---------- block 8: shorter, wider card so it fits the screen with the header and footer ---------- */
#quiz.section-dark { padding: clamp(40px, 5vw, 64px) 0 clamp(32px, 4vw, 48px); }
#quiz .quiz-card, #quiz .quiz-card:has(#quiz-intro:not([hidden])) { padding: clamp(40px, 4.4vw, 60px) 40px; scroll-margin-top: 80px; }
#quiz .quiz-card:has(#quiz-form:not([hidden])), #quiz .quiz-card:has(#quiz-result:not([hidden])) { padding: clamp(28px, 5vw, 56px) clamp(20px, 5vw, 56px); }
#quiz .quiz-intro h2 { font-size: clamp(28px, 3.6vw, 46px); max-width: 780px; }
#quiz .quiz-intro .section-lead { margin-top: 14px; }
#quiz .quiz-intro .mt-md { margin-top: 22px; }
@media (max-width: 760px) { #quiz .quiz-card, #quiz .quiz-card:has(#quiz-intro:not([hidden])) { padding: 40px 22px; } }

/* ---------- block 7: results with photos ---------- */
.result-grid > .result-card { padding: 0; aspect-ratio: 3 / 4; background: #06070f; border-color: transparent; color: #fff; isolation: isolate; }
.result-card .result-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 8%; z-index: -1; transition: transform .9s var(--ease-out); }
.result-card:nth-child(2) .result-photo { object-position: 50% 14%; }
.result-card:hover .result-photo { transform: scale(1.05); }
.result-grid > .result-card::before {
  position: absolute; top: 16px; left: 22px; margin: 0; z-index: 2; font-size: 60px;
  background: none; color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .8);
}
.result-body {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 110px 28px 30px;
  background: linear-gradient(to top, rgba(6, 7, 15, .94) 34%, rgba(6, 7, 15, .72) 66%, transparent);
}
.result-grid > .result-card h3 { color: #fff; font-size: clamp(20px, 1.9vw, 25px); }
.result-grid > .result-card p { margin-top: 10px; color: rgba(255, 255, 255, .82); font-size: 15px; line-height: 1.55; }
@media (max-width: 1100px) {
  .result-grid > .result-card { aspect-ratio: auto; display: flex; flex-direction: column; background: var(--card); color: var(--ink); border-color: var(--hairline); }
  .result-card .result-photo { position: relative; inset: auto; height: auto; aspect-ratio: 4 / 3; z-index: 0; flex: none; }
  .result-body { position: static; padding: 24px 24px 28px; background: none; }
  .result-grid > .result-card h3 { color: var(--ink); }
  .result-grid > .result-card p { color: var(--ink-soft); }
  .result-grid > .result-card::before { top: 12px; }
}
@media (prefers-reduced-motion: reduce) { .result-card .result-photo { transition: none; } }

/* ---------- block 3: the four problem cards (as before, half as tall), level with the photo on the right ---------- */
#probleme .section-head, #probleme .section-head h2 { max-width: none; }
.problem-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(28px, 4.5vw, 64px); align-items: stretch; }
.problem-acc { counter-reset: p; display: flex; flex-direction: column; gap: 12px; max-width: none; }
.problem-acc .faq-item {
  counter-increment: p; position: relative; overflow: hidden; flex: 1 0 auto; display: flex; flex-direction: column; justify-content: center;
  border: 1px solid var(--hairline); border-radius: 28px; background: var(--card);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .3s var(--ease-out);
}
.problem-acc .faq-item:hover, .problem-acc .faq-item.open {
  transform: translateY(-4px); border-color: transparent; box-shadow: 0 34px 60px -30px rgba(106, 92, 240, .5);
}
/* blue-violet gradient edge and gradient title instead of plain cyan */
.problem-acc .faq-item::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px; pointer-events: none; background: var(--grad-neon);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); opacity: 0; transition: opacity .4s var(--ease-out);
}
.problem-acc .faq-item:hover::after, .problem-acc .faq-item.open::after { opacity: 1; }
main .faq-list.problem-acc .faq-item:hover .faq-q span, main .faq-list.problem-acc .faq-item.open .faq-q span {
  background: var(--grad-neon); -webkit-background-clip: text; background-clip: text; color: transparent;
}
main .faq-list.problem-acc .faq-item .faq-q {
  position: relative; z-index: 1; width: 100%; padding: 16px 150px 16px 34px; text-align: left;
  font: 800 clamp(20px, 2vw, 26px)/1.18 var(--font-display); letter-spacing: -.025em;
}
main .faq-list.problem-acc .faq-item.open .faq-q { padding-bottom: 8px; }
/* outlined numeral on the right, scaled to the slim card */
.problem-acc .faq-item::before {
  content: counter(p, decimal-leading-zero); position: absolute; right: 62px; top: 50%; transform: translateY(-50%); pointer-events: none;
  font: 900 clamp(56px, 5.4vw, 76px)/1 var(--font-display); letter-spacing: -.06em; color: transparent;
  -webkit-text-stroke: 1.5px color-mix(in srgb, var(--ink) 14%, transparent); transition: -webkit-text-stroke-color .45s var(--ease-out);
}
.problem-acc .faq-item:hover::before, .problem-acc .faq-item.open::before { -webkit-text-stroke-color: rgba(122, 99, 242, .85); }
main .faq-list.problem-acc .faq-q svg { position: absolute; right: 26px; top: 50%; margin-top: -10px; width: 20px; height: 20px; }
main .faq-list.problem-acc .faq-a p { padding: 0 150px 20px 34px; font-size: 16px; line-height: 1.6; max-width: none; }
.problem-acc .faq-item.open .faq-a { max-height: 220px; }
.problem-visual { position: relative; margin: 0; min-height: 380px; aspect-ratio: 546 / 692; border-radius: var(--radius-panel); overflow: hidden; background: var(--ink-deep); box-shadow: 0 40px 80px -34px rgba(11, 12, 16, .5); }
.problem-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
@media (max-width: 900px) {
  .problem-layout { grid-template-columns: minmax(0, 1fr); }
  .problem-acc .faq-item { flex: none; }
  .problem-visual { align-self: start; justify-self: start; width: min(100%, 480px); }
}
@media (max-width: 520px) {
  main .faq-list.problem-acc .faq-item .faq-q { padding-right: 104px; padding-left: 24px; }
  main .faq-list.problem-acc .faq-a p { padding: 0 24px 18px; }
  .problem-acc .faq-item::before { right: 52px; font-size: 48px; }
}
@media (prefers-reduced-motion: reduce) { .problem-acc .faq-item { transition: none; } }

/* ---------- hero on phones: headline first, then the photo with the slanted edge, then text, ticks and the button ---------- */
@media (max-width: 860px) {
  .hero-wrap { display: flex; flex-direction: column; }
  .hero-copy { display: contents; }
  .hero-copy > .eyebrow { order: 1; margin: 32px 24px 0; }
  .hero-copy > .hero-title { order: 2; margin: 14px 24px 26px; }
  .hero-photo-col { order: 3; margin-top: 0; }
  .hero-copy > .hero-text { order: 4; margin: 30px 24px 0; }
  .hero-copy > .hero-points { order: 5; margin: 24px 24px 0; }
  .hero-copy > .hero-actions { order: 6; margin: 28px 24px 44px; }
}

/* ---------- flashcards page: the standalone app inside the site frame ---------- */
.karten-bar { border-bottom: 1px solid var(--hairline); background: var(--background); }
.karten-bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 52px; }
.karten-back { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ink-soft); }
.karten-back svg { transform: rotate(180deg); }
.karten-back:hover { color: var(--ink); }
.karten-title { margin: 0; font-size: 15px; font-weight: 700; letter-spacing: -.01em; }
.karten-frame { display: block; width: 100%; height: calc(100svh - 65px - 53px); min-height: 560px; border: 0; background: var(--background); }
@media (max-width: 560px) { .karten-title { display: none; } }

/* ---------- about page: photo on phones never collapses (WebKit ignores aspect-ratio on stretched, content-less grid items) ---------- */
@media (max-width: 860px) {
  .about-grid .about-photo { aspect-ratio: auto; align-self: start; width: 100%; height: 0; min-height: 0; padding-bottom: 125%; }
}

/* ---------- quiz: green check after "2 minutes", flame running along the progress bar ---------- */
#quiz .quiz-intro .eyebrow::after { content: " ✅"; letter-spacing: 0; text-transform: none; }
/* flame on the quiz progress bar: it rides the end of the filled part */
#quiz .quiz-progress { overflow: visible; position: relative; margin-right: 14px; }
#quiz .quiz-progress-bar { position: relative; }
#quiz .quiz-progress-bar::after {
  content: "🔥"; position: absolute; right: -9px; top: 50%; transform: translateY(-56%); font-size: 20px; line-height: 1; pointer-events: none;
  filter: drop-shadow(0 0 8px rgba(255, 140, 0, .55));
}
