/* ============================================================
   you.mazing — KI-Assist-Builder (Freebie Landingpage)
   Builds on youmazing.css tokens. Navy #0a2351 · Yellow #fdc100
   ============================================================ */

/* ---------- hero variant switching ---------- */
/* Footer hat nur noch 2 Spalten auf der Freebie-Seite */
.footer-top { grid-template-columns: 1.4fr 1fr; }
@media (max-width: 640px) { .footer-top { grid-template-columns: 1fr; } }

.hero-main { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-copy .hero-h1 { margin-top: 24px; }
.hero-lead { margin-top: 22px; max-width: 520px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }
.hero-copy .ribbon { margin-top: 24px; }
.hero-stats-wrap { margin-top: 52px; }

/* split (default): copy left, preview right, stats full-width below */
[data-hero="split"] .hero-visual { display: block; }

/* centered: single centered column, no preview, stats centered */
[data-hero="centered"] .hero-main { grid-template-columns: 1fr; max-width: 820px; margin: 0 auto; text-align: center; }
[data-hero="centered"] .hero-visual { display: none; }
[data-hero="centered"] .hero-ctas { justify-content: center; }
[data-hero="centered"] .hero-copy .ribbon { justify-content: center; }
[data-hero="centered"] .hero-lead { margin-left: auto; margin-right: auto; }
[data-hero="centered"] .stats { justify-content: center; }

/* editorial: oversized left-aligned headline, no preview, stats below */
[data-hero="editorial"] .hero-main { display: block; }
[data-hero="editorial"] .hero-visual { display: none; }
[data-hero="editorial"] .hero-h1 { font-size: clamp(2.8rem, 8.5vw, 6.4rem) !important; line-height: .98 !important; }
[data-hero="editorial"] .hero-lead { max-width: 600px; }

@media (max-width: 860px) {
  .hero-main { grid-template-columns: 1fr; gap: 36px; }
  [data-hero="split"] .hero-visual { max-width: 460px; }
}

/* ---------- mock assistant preview card (hero + "was du bekommst") ---------- */
.mock-card {
  background: #fff; border-radius: var(--r-lg); overflow: hidden;
  border: 1px solid rgba(10,35,81,.08); box-shadow: var(--shadow-card);
}
.mock-card.on-dark { box-shadow: 0 30px 70px -30px rgba(0,0,0,.6); }
.mock-head {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px 18px; background: var(--lav-tint); border-bottom: 1px solid rgba(10,35,81,.07);
}
.mock-head .mh-l { display: flex; flex-direction: column; gap: 3px; }
.mock-head .mh-kicker { font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.mock-head .mh-name { font-size: 1.02rem; font-weight: 600; color: var(--navy); }
.mock-pills { display: flex; gap: 6px; }
.mock-pill { font-size: .68rem; font-weight: 600; background: rgba(83,117,180,.14); color: var(--blue); border-radius: 6px; padding: 4px 9px; }
.mock-tabs { display: flex; gap: 0; border-bottom: 1px solid rgba(10,35,81,.07); padding: 0 8px; }
.mock-tab { font-size: .76rem; font-weight: 600; color: var(--muted); padding: 11px 12px; border-bottom: 2px solid transparent; }
.mock-tab.on { color: var(--navy); border-bottom-color: var(--yellow); }
.mock-body { padding: 18px; }
.mock-line { height: 9px; border-radius: 5px; background: rgba(10,35,81,.09); margin-bottom: 10px; }
.mock-line.s1 { width: 92%; } .mock-line.s2 { width: 100%; } .mock-line.s3 { width: 78%; }
.mock-line.s4 { width: 96%; } .mock-line.s5 { width: 64%; }
.mock-line.accent { background: rgba(253,193,0,.5); width: 40%; }
.mock-mono {
  font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: .8rem; line-height: 1.7;
  color: #3a4a6e; white-space: pre-wrap;
}
.mock-mono .k { color: var(--blue); font-weight: 500; }

/* ---------- "so funktioniert es" steps ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step-card {
  background: #fff; border: 1px solid rgba(10,35,81,.08); border-radius: var(--r-lg);
  padding: 28px 24px; position: relative; box-shadow: var(--shadow-soft);
  display: flex; flex-direction: column; gap: 10px; min-height: 200px;
}
.step-card .s-num {
  width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: var(--accent-grad); color: var(--navy); font-weight: 700; font-size: 1.1rem; margin-bottom: 6px;
}
.step-card h3 { font-size: 1.12rem; }
.step-card p { font-size: .92rem; color: #44557a; font-weight: 300; margin: 0; }
.step-card .s-ghost { position: absolute; top: 14px; right: 18px; font-size: 3.4rem; font-weight: 700; color: rgba(10,35,81,.05); line-height: 1; }

/* blue cards on the dark section so the contrast isn't too harsh */
.section.dark .step-card {
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.12);
  box-shadow: none;
}
.section.dark .step-card h3 { color: #fff; }
.section.dark .step-card p { color: rgba(255,255,255,.66); }
.section.dark .step-card .s-ghost { color: rgba(255,255,255,.07); }

@media (max-width: 900px) { .steps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps-grid { grid-template-columns: 1fr; } }

/* ---------- "was du bekommst" two-up ---------- */
.deliver-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.deliver-list { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.deliver-list li { display: flex; gap: 14px; }
.deliver-list .di-ic {
  flex: none; width: 38px; height: 38px; border-radius: 11px; background: var(--lav-tint);
  display: flex; align-items: center; justify-content: center; font-size: 1.05rem;
}
.deliver-list h4 { font-size: 1.02rem; margin: 0 0 4px; color: var(--navy); }
.deliver-list p { font-size: .92rem; color: #44557a; font-weight: 300; margin: 0; line-height: 1.55; }
@media (max-width: 860px) { .deliver-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ============================================================
   THE BUILDER (wizard)
   ============================================================ */
.builder-shell {
  background: #fff; border: 1px solid rgba(10,35,81,.08); border-radius: var(--r-xl);
  box-shadow: var(--shadow-card); padding: clamp(24px, 4vw, 48px);
  max-width: 720px; margin: 44px auto 0;
}
.wz-screen { display: none; flex-direction: column; gap: 26px; }
.wz-screen.active { display: flex; }
/* No opacity-0 entrance: some screenshot/preview renderers freeze CSS
   animations at frame 0, which would leave the active screen stuck invisible. */

.wz-head h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); color: var(--navy); }
.wz-head p { font-size: .96rem; color: #44557a; font-weight: 300; margin: 8px 0 0; line-height: 1.6; }

/* progress */
.wz-progress { display: flex; flex-direction: column; gap: 10px; }
.wz-bars { display: flex; gap: 6px; }
.wz-bar { flex: 1; height: 4px; border-radius: 3px; background: rgba(10,35,81,.1); transition: background .4s; }
.wz-bar.done { background: var(--yellow); }
.wz-bar.active { background: var(--navy); }
.wz-progress-text { font-size: .78rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--blue); }

/* option cards */
.wz-opts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.wz-opts.cols3 { grid-template-columns: repeat(3, 1fr); }
.wz-opt {
  background: #fff; border: 1.5px solid rgba(10,35,81,.1); border-radius: var(--r);
  padding: 16px 16px 14px; cursor: pointer; transition: border-color .16s, background .16s, transform .16s;
  display: flex; flex-direction: column; gap: 6px; user-select: none; position: relative;
}
.wz-opt:hover { border-color: var(--blue); transform: translateY(-2px); }
.wz-opt.sel { border-color: var(--navy); background: var(--lav-tint); }
.wz-opt .wo-ic { font-size: 1.4rem; }
.wz-opt .wo-title { font-size: .98rem; font-weight: 600; color: var(--navy); }
.wz-opt .wo-desc { font-size: .8rem; color: #5b6b8c; font-weight: 300; line-height: 1.45; }
.wz-opt .wo-ex { font-size: .76rem; color: var(--blue); font-style: italic; line-height: 1.45; border-top: 1px solid rgba(10,35,81,.08); padding-top: 7px; margin-top: 2px; }
.wz-check {
  position: absolute; top: 14px; right: 14px; width: 22px; height: 22px; border-radius: 50%;
  border: 1.5px solid rgba(10,35,81,.18); display: flex; align-items: center; justify-content: center;
  color: transparent; font-size: .7rem; transition: all .16s; background: transparent;
}
.wz-opt.sel .wz-check { background: var(--yellow); border-color: var(--yellow); color: var(--navy); }

@media (max-width: 560px) { .wz-opts, .wz-opts.cols3 { grid-template-columns: 1fr; } }

/* chips */
.wz-chip-block { display: flex; flex-direction: column; gap: 12px; }
.wz-chip-label { font-size: .72rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--blue); padding-bottom: 8px; border-bottom: 1px solid rgba(10,35,81,.08); }
.wz-chips { display: flex; flex-wrap: wrap; gap: 9px; }
.wz-chip {
  font-family: inherit; font-size: .88rem; font-weight: 500; background: #fff;
  border: 1.5px solid rgba(10,35,81,.12); border-radius: 10px; padding: 9px 15px;
  cursor: pointer; transition: all .14s; user-select: none; color: var(--navy); line-height: 1.3;
}
.wz-chip:hover { border-color: var(--blue); }
.wz-chip.sel { background: var(--navy); border-color: var(--navy); color: #fff; }
.wz-counter { font-size: .9rem; font-weight: 600; color: var(--navy); min-height: 22px; display: flex; align-items: center; gap: 8px; }
.wz-counter .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); }

/* free text */
.wz-frei { background: var(--lav-tint); border: 1.5px solid rgba(10,35,81,.1); border-radius: var(--r); padding: 18px 20px; display: flex; flex-direction: column; gap: 9px; transition: border-color .2s, background .2s; }
.wz-frei:focus-within { border-color: var(--navy); background: #fff; }
.wz-frei-label { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); }
.wz-frei textarea {
  font-family: inherit; font-size: 1rem; color: var(--navy); background: transparent;
  border: none; outline: none; width: 100%; resize: none; line-height: 1.6;
}
.wz-frei textarea::placeholder { color: #8893ad; }
.wz-frei-hint { font-size: .78rem; color: var(--muted); }
.wz-counter-muted { font-weight: 400; color: #5b6b8c; }
#aufgaben-section.at-max .wz-chip:not(.sel) { opacity: .45; cursor: not-allowed; }
#aufgaben-section.at-max .wz-chip:not(.sel):hover { border-color: rgba(10,35,81,.12); }

/* interview / fine-tuning cards */
.wz-iv-card { background: #fff; border: 1.5px solid rgba(10,35,81,.1); border-radius: var(--r-lg); padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow-soft); }
.wz-iv-name { font-size: 1.02rem; font-weight: 600; color: var(--navy); padding-bottom: 12px; border-bottom: 1px solid rgba(10,35,81,.08); display: flex; align-items: center; gap: 9px; }
.wz-iv-name::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--yellow); flex: none; }
.wz-iv-card .wz-frei { background: var(--lav-tint); padding: 14px 16px; gap: 7px; }
.wz-iv-card .wz-frei textarea { font-size: .94rem; }

/* learn note on result */
.wz-learn { background: rgba(83,117,180,.1); border: 1px solid rgba(83,117,180,.24); border-radius: var(--r); padding: 16px 18px; display: flex; gap: 13px; align-items: flex-start; font-size: .9rem; color: #2c3e6b; line-height: 1.6; font-weight: 300; }
.wz-learn b { font-weight: 600; color: var(--navy); }
.wz-learn-ic { font-size: 1.25rem; line-height: 1.2; flex: none; }

/* nav row */
.wz-nav { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.wz-nav .spacer { flex: 1; }

/* optin */
.wz-optin { background: var(--lav-tint); border: 1.5px solid rgba(10,35,81,.1); border-radius: var(--r-lg); padding: 26px; display: flex; flex-direction: column; gap: 16px; }
.wz-field label { display: block; font-size: .74rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--blue); margin-bottom: 7px; }
.wz-field input {
  font-family: inherit; font-size: 1rem; color: var(--navy); background: #fff;
  border: 1.5px solid rgba(10,35,81,.14); border-radius: var(--r-sm); padding: 13px 16px; outline: none; width: 100%; transition: border-color .2s;
}
.wz-field input:focus { border-color: var(--navy); }
.wz-field input::placeholder { color: #8893ad; }
.wz-field.err input { border-color: #d4493f; background: #fdf3f2; }
.wz-err-msg { font-size: .8rem; color: #d4493f; font-weight: 500; min-height: 0; }
.wz-consent { display: flex; gap: 11px; align-items: flex-start; font-size: .8rem; color: #2c3e6b; line-height: 1.5; font-weight: 300; }
.wz-consent input { margin-top: 2px; width: 17px; height: 17px; accent-color: var(--navy); flex: none; }
.wz-fineprint { font-size: .72rem; color: var(--muted); text-align: center; }

/* loading */
.wz-loading { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 30px 10px; }
.wz-spinner { width: 46px; height: 46px; border: 3px solid rgba(10,35,81,.12); border-top-color: var(--navy); border-radius: 50%; animation: spin .8s linear infinite; }
.wz-load-title { font-size: 1.25rem; font-weight: 600; color: var(--navy); }
.wz-load-sub { font-size: .92rem; color: #44557a; font-weight: 300; }
.wz-pbar { width: 100%; max-width: 320px; height: 5px; background: rgba(10,35,81,.1); border-radius: 3px; overflow: hidden; }
.wz-pfill { height: 100%; background: var(--accent-grad); border-radius: 3px; transition: width .6s ease; width: 0; }

/* result */
.wz-result-head { background: var(--grad-radial); border-radius: var(--r-lg); padding: 26px 28px; color: #fff; }
.wz-result-head .rh-tag { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--yellow); }
.wz-result-head h2 { font-size: clamp(1.4rem, 3vw, 2rem); color: #fff; margin: 8px 0 6px; }
.wz-result-head .rh-meta { font-size: .9rem; color: rgba(255,255,255,.72); font-weight: 300; }
.wz-dlall {
  background: var(--lav-tint); border: 1px solid rgba(83,117,180,.25); border-radius: var(--r);
  padding: 16px 20px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
}
.wz-dlall .dl-txt { font-size: .94rem; color: var(--navy); font-weight: 300; }
.wz-dlall .dl-txt b { font-weight: 600; }

.wz-alist { display: flex; flex-direction: column; gap: 18px; }
.wz-acard { background: #fff; border: 1.5px solid rgba(10,35,81,.1); border-radius: var(--r-lg); overflow: hidden; }
.wz-ac-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 16px 18px; background: var(--lav-tint); border-bottom: 1px solid rgba(10,35,81,.07); }
.wz-ac-l { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.wz-ac-num { font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.wz-ac-name { font-size: 1.08rem; font-weight: 600; color: var(--navy); }
.wz-ac-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 3px; }
.wz-ac-tag { font-size: .68rem; font-weight: 600; background: rgba(83,117,180,.14); color: var(--blue); border-radius: 6px; padding: 3px 9px; }
.wz-ac-btns { display: flex; gap: 7px; flex-shrink: 0; flex-wrap: wrap; }
.wz-ac-btn { font-family: inherit; font-size: .78rem; font-weight: 600; border: none; border-radius: 8px; padding: 8px 13px; cursor: pointer; transition: transform .15s, box-shadow .15s; white-space: nowrap; }
.wz-ac-btn:hover { transform: translateY(-1px); }
.wz-ac-copy { background: var(--navy); color: #fff; }
.wz-ac-dl { background: var(--accent-grad); color: var(--navy); }
.wz-ac-tabs { display: flex; border-bottom: 1px solid rgba(10,35,81,.07); padding: 0 8px; }
.wz-ac-tab { font-family: inherit; font-size: .8rem; font-weight: 600; background: none; border: none; border-bottom: 2px solid transparent; padding: 11px 13px; cursor: pointer; color: var(--muted); transition: all .15s; margin-bottom: -1px; }
.wz-ac-tab.active { color: var(--navy); border-bottom-color: var(--yellow); }
.wz-ac-tab:hover { color: var(--navy); }
.wz-ac-panel { display: none; padding: 18px; }
.wz-ac-panel.active { display: block; }
.wz-ac-text { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: .82rem; line-height: 1.75; color: #2f3f63; white-space: pre-wrap; max-height: 300px; overflow-y: auto; }
.wz-ac-text::-webkit-scrollbar { width: 5px; }
.wz-ac-text::-webkit-scrollbar-thumb { background: rgba(10,35,81,.18); border-radius: 3px; }
.wz-hint { background: rgba(253,193,0,.12); border: 1px solid rgba(253,193,0,.4); border-radius: var(--r-sm); padding: 13px 15px; font-size: .82rem; color: #44557a; line-height: 1.6; margin-top: 14px; font-weight: 300; }
.wz-hint b { display: block; color: var(--navy); font-weight: 600; margin-bottom: 4px; }

/* upsell bridge inside result */
.wz-upsell { background: var(--lav-tint); border: 1px solid rgba(83,117,180,.2); border-radius: var(--r-lg); padding: 26px; display: flex; flex-direction: column; gap: 12px; }
.wz-upsell h3 { font-size: 1.25rem; color: var(--navy); }
.wz-upsell p { font-size: .94rem; color: #44557a; font-weight: 300; margin: 0; line-height: 1.6; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 760px; margin: 48px auto 0; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: #fff; border: 1px solid rgba(10,35,81,.08); border-radius: var(--r); box-shadow: var(--shadow-soft); overflow: hidden; }
.faq-q { width: 100%; text-align: left; background: none; border: none; font-family: inherit; cursor: pointer; padding: 22px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 1.05rem; font-weight: 600; color: var(--navy); }
.faq-q .faq-ic { flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--lav-tint); display: flex; align-items: center; justify-content: center; color: var(--navy); transition: transform .25s, background .2s; font-size: 1.1rem; }
.faq-item.open .faq-ic { transform: rotate(45deg); background: var(--yellow); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a-inner { padding: 0 24px 22px; font-size: .98rem; color: #44557a; font-weight: 300; line-height: 1.65; }

/* ---------- CTA bridge band ---------- */
.bridge-inner { max-width: 760px; margin: 0 auto; text-align: center; }
.bridge-badges { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; margin-top: 28px; font-size: .9rem; font-weight: 500; color: var(--lavender); }
.bridge-badges span { display: inline-flex; align-items: center; gap: 8px; }
