/* Die Selbst-Kurzanalyse / The Self-Review — value-guide landing (DE + EN share this file).
   Consumes site.css tokens/components (site.css cascade already resolves to the same
   flat/bronze "atelier" look this magnet was built with) — this file holds only what
   site.css does not provide: the hero/section/gate layout and the report-sheet sample. */

/* Bare universal reset as in the source builds: zero specificity, so every
   site.css class rule still wins. */
* { margin: 0; padding: 0; }

.magnet-hero {
  position: relative;
  padding: clamp(96px, 11vw, 180px) 0 var(--space-section);
  overflow: hidden;
}

.magnet-hero__media {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.magnet-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  filter: saturate(0.78) contrast(1.03) brightness(0.82);
  opacity: 0.46;
}

.magnet-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(13, 33, 24, 0.92) 0%, rgba(13, 33, 24, 0.72) 48%, rgba(13, 33, 24, 0.28) 100%),
    linear-gradient(180deg, rgba(13, 33, 24, 0.03) 0%, rgba(13, 33, 24, 0.76) 88%, #0a1811 100%);
}

.magnet-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(244, 240, 232, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 240, 232, 0.04) 1px, transparent 1px);
  background-size: 96px 96px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 78%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 78%);
  pointer-events: none;
}

.magnet-hero .site-shell { position: relative; z-index: 2; }

.magnet-hero h1 {
  margin-top: 22px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.9rem, 4.8vw, 5.2rem);
  line-height: 1.02;
  letter-spacing: -0.012em;
  max-width: 21ch;
}

.magnet-hero__lead {
  margin-top: 30px;
  max-width: 56ch;
  font-weight: 300;
  font-size: clamp(1.02rem, 1.4vw, 1.18rem);
  color: var(--muted);
}

.magnet-hero__actions {
  margin-top: 42px;
  display: flex;
  align-items: center;
  gap: 34px;
  flex-wrap: wrap;
}

.magnet-hero__meta {
  margin-top: 34px;
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  font-family: Verdana, Geneva, sans-serif;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
}

/* ---------- buttons: only the magnet-specific dark variant + a light-section fix ---------- */

.button--dark {
  color: var(--bone);
  background: var(--ink-soft);
  border-color: var(--ink-soft);
}
.button--dark::before { background: var(--bone); }
.button--dark:hover {
  color: var(--ink-soft);
  border-color: var(--ink-soft);
  background: var(--ink-soft);
}

.light .button--ghost { color: var(--ink-soft); }

/* ---------- sections ---------- */

.light {
  background: var(--bone);
  color: var(--ink-soft);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(260px, 0.45fr);
  gap: var(--space-grid);
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 68px);
}

.section-head h2 {
  margin-top: 18px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.35rem, 4.2vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
}

.section-head__desc {
  font-weight: 300;
  color: rgba(23, 23, 20, 0.72);
  padding-bottom: 8px;
}

.dark-section .section-head__desc { color: var(--muted); }

/* three-part logic */

.logic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-grid);
}

.logic-grid article {
  border-top: 1px solid rgba(23, 23, 20, 0.18);
  padding-top: 22px;
}

.logic-grid h3 {
  font-family: Verdana, Geneva, sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bronze);
}

.logic-grid .logic-title {
  display: block;
  margin-top: 14px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  line-height: 1.14;
  color: var(--ink-soft);
}

.logic-grid p {
  margin-top: 14px;
  font-size: 0.98rem;
  color: rgba(23, 23, 20, 0.78);
}

/* ---------- klassen list ---------- */

.klassen {
  margin-top: clamp(56px, 7vw, 96px);
  border-top: 1px solid rgba(23, 23, 20, 0.18);
  padding-top: clamp(28px, 3.4vw, 44px);
}

.klassen__head { max-width: 62ch; }

.klassen__note {
  margin-top: 16px;
  font-weight: 300;
  font-size: 0.98rem;
  color: rgba(23, 23, 20, 0.66);
}

.klassen__head h3 {
  margin-top: 16px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.7rem, 2.8vw, 2.8rem);
  line-height: 1.06;
  letter-spacing: -0.008em;
}

.klassen__list {
  margin-top: clamp(28px, 3.4vw, 44px);
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-grid);
}

.klassen__list li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  border-top: 1px solid var(--builderz-line-light);
  padding-top: 18px;
}

.klassen__n {
  font-family: Verdana, Geneva, sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--bronze);
  padding-top: 5px;
}

.klassen__list h4 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  line-height: 1.16;
}

.klassen__list p {
  margin-top: 10px;
  font-size: 0.94rem;
  line-height: 1.6;
  color: rgba(23, 23, 20, 0.75);
}

/* ---------- sample sheet ---------- */

.sample {
  margin-top: clamp(56px, 7vw, 96px);
  border-top: 1px solid rgba(23, 23, 20, 0.18);
  padding-top: clamp(28px, 3.4vw, 44px);
}

.sample__intro {
  max-width: 62ch;
  margin-bottom: clamp(32px, 4vw, 48px);
}

.sample__intro h3 {
  margin-top: 18px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.7rem, 2.8vw, 2.8rem);
  line-height: 1.06;
  letter-spacing: -0.008em;
}

.sample__intro p:not(.kicker) {
  margin-top: 18px;
  font-weight: 300;
  color: rgba(23, 23, 20, 0.72);
}

.sheet {
  border: 1px solid rgba(26, 26, 26, 0.18);
  padding: clamp(26px, 4vw, 56px);
  max-width: 920px;
}

.sheet__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.tag {
  font-family: Verdana, Geneva, sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--bronze);
  border: 1px solid rgba(154, 122, 79, 0.55);
  padding: 7px 12px 6px;
  white-space: nowrap;
}

.lab {
  font-family: Verdana, Geneva, sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bronze);
  padding-top: 3px;
}

.sheet__befund {
  margin-top: 24px;
}

.sheet__befund h4 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.2rem, 1.7vw, 1.5rem);
  line-height: 1.14;
}

.sheet__befund h4 .befund-no { color: var(--bronze); }

.sheet__row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 20px;
  margin-top: 16px;
}

.sheet__row p {
  font-size: 0.94rem;
  line-height: 1.62;
  color: rgba(23, 23, 20, 0.88);
}

.sheet__note {
  margin-top: 26px;
  border-top: 1px solid var(--builderz-line-light);
  padding-top: 18px;
  font-size: 0.9rem;
  font-weight: 300;
  color: rgba(23, 23, 20, 0.62);
}

/* ---------- dark position section (world-chapter moment) ---------- */

.dark-section {
  position: relative;
  overflow: hidden;
  padding: clamp(96px, 12vw, 168px) 0;
  border-top: 1px solid rgba(244, 240, 232, 0.1);
  border-bottom: 1px solid rgba(244, 240, 232, 0.1);
  background: #06110c;
  color: var(--ink);
}

.dark-section__media {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.dark-section__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.64) contrast(1.05) brightness(0.72);
  transform: scale(1.02);
}

.dark-section__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 17, 12, 0.9) 0%, rgba(6, 17, 12, 0.54) 52%, rgba(6, 17, 12, 0.86) 100%),
    linear-gradient(180deg, rgba(6, 17, 12, 0.16) 0%, rgba(6, 17, 12, 0.78) 100%);
}

.dark-section .site-shell {
  position: relative;
  z-index: 1;
}

.position__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(260px, 0.45fr);
  gap: clamp(28px, 4vw, 60px);
}

.position__grid h2 {
  margin-top: 18px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.8rem, 5vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: -0.012em;
  max-width: 14ch;
  color: var(--bone);
}

.position__copy {
  margin-top: 26px;
  max-width: 58ch;
  font-weight: 300;
  color: var(--muted);
}

.position__copy + .position__copy { margin-top: 18px; }

.position__aside {
  border-left: 1px solid var(--atelier-line);
  padding-left: clamp(20px, 2.4vw, 34px);
  align-self: end;
}

.position__aside p {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 1.7vw, 1.55rem);
  line-height: 1.3;
  color: var(--ink);
}

.position__aside .kicker { display: block; margin-bottom: 14px; }

.stats {
  margin-top: clamp(56px, 7vw, 96px);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-grid);
}

.stats article {
  border-top: 1px solid var(--atelier-line-strong);
  padding-top: 20px;
}

.stats .stat-number {
  font-family: var(--serif);
  font-size: clamp(3.1rem, 5.4vw, 6.2rem);
  line-height: 0.9;
  letter-spacing: -0.035em;
}

.stats .stat-label {
  display: block;
  margin-top: 14px;
  font-family: Verdana, Geneva, sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(244, 240, 232, 0.58);
}

/* ---------- gate ---------- */

.gate__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.72fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.gate h2 {
  margin-top: 18px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.35rem, 4.2vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
}

.gate__copy {
  margin-top: 26px;
  max-width: 58ch;
  font-weight: 300;
  color: rgba(23, 23, 20, 0.78);
}

.gate__copy + .gate__copy { margin-top: 16px; }

.gate__panel {
  border: 1px solid rgba(26, 26, 26, 0.18);
  padding: clamp(24px, 3vw, 40px);
  background: rgba(255, 255, 255, 0.4);
}

.gate__form { display: grid; gap: 18px; }

.gate__form[hidden],
.gate__done[hidden] { display: none; }

.gate__form label:not(.gate__consent) { display: grid; gap: 8px; }

.gate__form label:not(.gate__consent) > span {
  font-family: Verdana, Geneva, sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(23, 23, 20, 0.7);
}

.gate__form input[type="text"],
.gate__form input[type="email"] {
  width: 100%;
  min-height: 52px;
  padding: 13px 15px;
  border: 1px solid rgba(26, 26, 26, 0.24);
  background: #fff;
  color: var(--ink-soft);
  font: inherit;
  border-radius: 0;
}

.gate__form input:focus-visible {
  outline: 2px solid var(--bronze);
  outline-offset: 1px;
  border-color: var(--bronze);
}

.gate__consent {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  color: rgba(23, 23, 20, 0.62);
  cursor: pointer;
}

.gate__consent input { margin-top: 4px; accent-color: var(--bronze); }

.gate__consent span {
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.55;
}

.gate__consent a { color: inherit; }

.gate__status {
  min-height: 1.2em;
  margin: 0;
  font-family: Verdana, Geneva, sans-serif;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8f351e;
}

.gate__form .button { justify-self: start; }

.gate__quiet {
  font-size: 0.85rem;
  font-weight: 300;
  color: rgba(23, 23, 20, 0.55);
  max-width: 40ch;
}

.gate__done h3:focus,
.gate__done h3:focus-visible { outline: none; }

.gate__done h3 {
  margin-top: 16px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.55rem, 2.4vw, 2.2rem);
  line-height: 1.1;
}

.gate__done p {
  margin-top: 16px;
  font-size: 0.98rem;
  font-weight: 300;
  line-height: 1.65;
  color: rgba(23, 23, 20, 0.78);
}

.gate__done a:not(.button) { color: inherit; }

.gate__done .button { margin-top: 22px; }

/* ---------- responsive ---------- */

@media (max-width: 980px) {
  .section-head,
  .logic-grid,
  .position__grid,
  .gate__grid,
  .klassen__list,
  .stats { grid-template-columns: 1fr; }
  .position__aside {
    border-left: 0;
    border-top: 1px solid var(--atelier-line);
    padding-left: 0;
    padding-top: 24px;
  }
}

@media (max-width: 640px) {
  .sheet__row { grid-template-columns: 1fr; gap: 6px; }
}

@media (max-width: 480px) {
  .magnet-hero h1 { font-size: 2.5rem; }
  .section-head h2,
  .position__grid h2,
  .gate h2 { font-size: 2.1rem; }
  .sample__intro h3,
  .klassen__head h3 { font-size: 1.6rem; }
}

/* ---------- reveal on scroll ---------- */

html.ka-js [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 640ms var(--ease-atelier),
    transform 640ms var(--ease-atelier);
  transition-delay: calc(var(--reveal-delay, 0) * 90ms);
}

html.ka-js [data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html.ka-js [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.gate__noscript {
  margin: 0;
  font-size: 0.88rem;
  opacity: 0.65;
}
