/* ============================================================
   LILJEQUIST ORDNING · Finanz- & Pensionsplanung
   Paper / Ink / Steel. The logo tower, built in 3D on scroll
   ============================================================ */

:root {
  --paper:      #EDEBE4;
  --paper-deep: #E3E0D7;
  --ink:        #14151A;
  --ink-70:     #3C3E45;
  --ink-50:     #5C5E66;
  --steel:      #7C99AB;
  --steel-deep: #5E8095;
  --line:       rgba(20, 21, 26, 0.14);
  --line-soft:  rgba(20, 21, 26, 0.08);

  --font-display: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
  --font-body:    'Jost', 'Avenir Next', 'Century Gothic', sans-serif;

  --pad-x: clamp(20px, 4.5vw, 64px);
  --max-w: 1360px;
  --nav-h: 68px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

::selection { background: var(--steel); color: #fff; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.005em;
  line-height: 1.06;
}

.wrap {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

/* ---------- 3D canvas ---------- */
#scene-wrap {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
#scene-wrap canvas { display: block; width: 100%; height: 100%; }

main { position: relative; z-index: 1; }

/* ---------- Navigation ---------- */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 40;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  transition: background 0.35s ease, border-color 0.35s ease;
  border-bottom: 1px solid transparent;
}
#nav.scrolled {
  background: rgba(237, 235, 228, 0.86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line-soft);
}
#nav .wrap {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-brand { display: flex; align-items: center; gap: 13px; }
.nav-brand img { height: 34px; width: auto; }
.nav-brand-name {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  line-height: 1.35;
}
.nav-brand-name small {
  display: block;
  font-weight: 400;
  font-size: 9px;
  letter-spacing: 0.42em;
  color: var(--ink-50);
}
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a {
  font-size: 14px;
  font-weight: 400;
  color: var(--ink-70);
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.btn { color: var(--paper); }
.nav-links a.btn:hover { color: var(--ink); }
#mobile-menu a.btn { color: var(--paper); border-bottom: 1px solid var(--ink); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 14.5px;
  letter-spacing: 0.04em;
  border: 1px solid var(--ink);
  transition: background 0.22s ease, color 0.22s ease, transform 0.12s ease;
  white-space: nowrap;
}
.btn:hover { background: transparent; color: var(--ink); }
.btn:active { transform: translateY(1px); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--ink); background: transparent; }
#nav .btn { padding: 10px 20px; font-size: 13.5px; }

.nav-burger {
  display: none;
  background: none;
  border: none;
  width: 40px; height: 40px;
  position: relative;
}
.nav-burger span {
  position: absolute;
  left: 8px; right: 8px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-burger span:nth-child(1) { top: 15px; }
.nav-burger span:nth-child(2) { top: 24px; }
body.menu-open .nav-burger span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
body.menu-open .nav-burger span:nth-child(2) { transform: translateY(-4.5px) rotate(-45deg); }

#mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 35;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-inline: var(--pad-x);
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
body.menu-open #mobile-menu { opacity: 1; pointer-events: auto; }
#mobile-menu a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(30px, 8vw, 44px);
  letter-spacing: -0.02em;
  padding: 10px 0;
  border-bottom: 1px solid var(--line-soft);
}
#mobile-menu .btn { margin-top: 28px; align-self: flex-start; }

/* ---------- Hero ---------- */
#hero {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  position: relative;
}
.hero-inner { width: 100%; padding-top: var(--nav-h); }
.hero-copy { max-width: 640px; }
h1 {
  font-size: clamp(48px, 7vw, 100px);
}
.h1-line { display: block; overflow: hidden; padding-bottom: 0.14em; margin-bottom: -0.14em; }
.h1-line > span { display: block; transform: translateY(0); }
.h1-line em {
  font-style: italic;
  line-height: 1.12;
  padding-bottom: 0.06em;
  color: var(--steel-deep);
}
.hero-sub {
  margin-top: 28px;
  font-size: 18px;
  color: var(--ink-70);
  max-width: 46ch;
}
.hero-cta { margin-top: 40px; display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Build (scroll construction) ---------- */
#build { position: relative; height: 560vh; }
.build-pin {
  position: sticky;
  top: 0;
  height: 100dvh;
  overflow: hidden;
}
.build-card {
  position: absolute;
  left: var(--pad-x);
  top: 50%;
  transform: translateY(-40%);
  width: min(440px, 84vw);
  opacity: 0;
  visibility: hidden;
}
.build-stage {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 15px;
  color: var(--steel-deep);
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 14px;
}
.build-stage .num {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 17px;
  letter-spacing: 0.08em;
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 2px 10px;
}
.build-card h3 { font-size: clamp(34px, 3.8vw, 50px); margin-bottom: 16px; }
.build-card p { color: var(--ink-70); max-width: 42ch; }
.build-tags { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.build-tags span {
  font-size: 13px;
  font-weight: 400;
  color: var(--ink-70);
  border: 1px solid var(--line);
  background: rgba(237, 235, 228, 0.5);
  padding: 6px 13px;
}

.card-more {
  display: inline-block;
  margin-top: 22px;
  font-size: 14.5px;
  font-weight: 400;
  color: var(--ink);
  border-bottom: 1px solid var(--steel-deep);
  padding-bottom: 2px;
  transition: color 0.2s ease;
}
.card-more:hover { color: var(--steel-deep); }

.build-progress {
  position: absolute;
  right: var(--pad-x);
  top: 50%;
  transform: translateY(-50%);
  height: 180px;
  width: 1px;
  background: var(--line);
}
.build-progress .fill {
  position: absolute;
  top: 0; left: -0.5px;
  width: 2px;
  height: 100%;
  background: var(--steel-deep);
  transform-origin: top;
  transform: scaleY(0);
}

/* ---------- Ansatz (logo moment) ---------- */
#ansatz {
  min-height: 160vh;
  position: relative;
}
.ansatz-sticky {
  position: sticky;
  top: 0;
  height: 100dvh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  text-align: center;
  padding-bottom: 4.5dvh;
}
.ansatz-copy { max-width: 720px; padding-inline: var(--pad-x); }
.ansatz-copy h2 { font-size: clamp(34px, 4.5vw, 60px); }
.ansatz-copy p {
  margin-top: 14px;
  font-size: 17px;
  color: var(--ink-70);
  max-width: 58ch;
}

/* ---------- Ansatz detail ---------- */
#haltung {
  position: relative;
  background: var(--paper);
  padding: clamp(90px, 12vh, 150px) 0;
}
.haltung-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}
.haltung-grid h2 { font-size: clamp(36px, 4vw, 56px); margin-bottom: 26px; }
.haltung-grid p { color: var(--ink-70); max-width: 54ch; }
.haltung-grid p + p { margin-top: 18px; }
.haltung-figure {
  position: relative;
  margin-top: -120px;
}
.haltung-figure img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  filter: grayscale(1) contrast(1.02);
}
.haltung-figure::after {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 1px solid var(--line);
  z-index: -1;
}
.haltung-name {
  margin-top: 30px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 14.5px;
  color: var(--ink-50);
}
.haltung-name strong { font-weight: 500; color: var(--ink); display: block; }

/* ---------- Ablauf ---------- */
#ablauf {
  background: var(--paper-deep);
  padding: clamp(90px, 12vh, 150px) 0;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}
#ablauf h2 {
  font-size: clamp(36px, 4vw, 56px);
  max-width: 20ch;
  margin-bottom: clamp(50px, 7vh, 84px);
}
.ablauf-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 3.5vw, 56px);
}
.ablauf-step:nth-child(2) { margin-top: 44px; }
.ablauf-step:nth-child(3) { margin-top: 88px; }
.ablauf-step .step-no {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(48px, 5vw, 70px);
  line-height: 1;
  color: var(--steel-deep);
}
.ablauf-step h3 { font-size: 26px; margin: 16px 0 12px; }
.ablauf-step p { font-size: 16px; color: var(--ink-70); }
.ablauf-note {
  margin-top: clamp(50px, 7vh, 80px);
  padding-top: 26px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.ablauf-note p { font-size: 16px; color: var(--ink-70); max-width: 52ch; }

/* ---------- Prinzip: Geld, das für Sie arbeitet ---------- */
#prinzip {
  border-top: 1px solid var(--line-soft);
  padding: clamp(90px, 13vh, 160px) 0;
}
.prinzip-inner {
  max-width: 820px;
  margin-inline: auto;
  text-align: center;
}
.prinzip-lead {
  font-size: 16px;
  font-weight: 400;
  color: var(--steel-deep);
  margin-bottom: 20px;
}
#prinzip h2 { font-size: clamp(36px, 4.4vw, 62px); }
#prinzip h2 em {
  font-style: italic;
  line-height: 1.12;
  color: var(--steel-deep);
}
.prinzip-body {
  margin: 22px auto 0;
  font-size: 17.5px;
  color: var(--ink-70);
  max-width: 56ch;
}

/* ---------- Für wen ---------- */
#fuer-wen { padding: clamp(90px, 12vh, 150px) 0; }
#fuer-wen h2 {
  font-size: clamp(36px, 4vw, 56px);
  max-width: 24ch;
  margin-bottom: clamp(44px, 6vh, 72px);
}
.fw-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 3vw, 48px);
}
.fw-card {
  display: block;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.fw-card:hover { border-color: var(--ink); transform: translateY(-4px); }
.fw-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.fw-card:nth-child(2) { margin-top: clamp(24px, 4vh, 56px); }
.fw-body { padding: clamp(22px, 2.4vw, 36px); }
.fw-body h3 {
  font-size: clamp(27px, 2.5vw, 34px);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}
.fw-body h3 span {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 15px;
  letter-spacing: 0.02em;
  color: var(--steel-deep);
  white-space: nowrap;
}
.fw-body p { margin-top: 14px; font-size: 16px; color: var(--ink-70); }
.fw-link {
  display: inline-block;
  margin-top: 20px;
  font-size: 14.5px;
  font-weight: 400;
  color: var(--ink);
  border-bottom: 1px solid var(--steel-deep);
  padding-bottom: 2px;
}

/* ---------- FAQ ---------- */
#faq {
  padding: clamp(90px, 12vh, 150px) 0;
  background: var(--paper);
  border-top: 1px solid var(--line-soft);
}
.faq-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 5vw, 90px);
  align-items: start;
}
.faq-grid h2 {
  font-size: clamp(34px, 3.6vw, 50px);
  max-width: 14ch;
  position: sticky;
  top: calc(var(--nav-h) + 30px);
}
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 18px;
  color: var(--ink);
  padding: 22px 0;
}
.faq-x {
  position: relative;
  flex: 0 0 14px;
  height: 14px;
}
.faq-x::before, .faq-x::after {
  content: "";
  position: absolute;
  background: var(--steel-deep);
  transition: transform 0.3s ease;
}
.faq-x::before { left: 0; right: 0; top: 6.5px; height: 1.5px; }
.faq-x::after { top: 0; bottom: 0; left: 6.5px; width: 1.5px; }
.faq-item.open .faq-x::after { transform: scaleY(0); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-item.open .faq-a { max-height: 260px; }
.faq-a p {
  padding-bottom: 24px;
  font-size: 16px;
  color: var(--ink-70);
  max-width: 58ch;
}

/* ---------- Kontakt (dark block) ---------- */
#kontakt {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(90px, 13vh, 160px) 0 clamp(60px, 8vh, 100px);
}
#kontakt > .wrap > h2 { margin-bottom: clamp(44px, 6vh, 72px); }
.kontakt-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(48px, 6vw, 100px);
  align-items: start;
}
#kontakt h2 { font-size: clamp(40px, 5vw, 70px); }
#kontakt h2 span { color: var(--steel); }

/* Kontaktformular */
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; }
.kf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
#kontakt-form .nl-field { margin-bottom: 24px; }
#kontakt-form label small { color: rgba(237, 235, 228, 0.45); font-size: 12px; }
#kontakt-form textarea,
#kontakt-form select {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(237, 235, 228, 0.3);
  color: var(--paper);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  padding: 8px 0;
  border-radius: 0;
  resize: vertical;
}
#kontakt-form textarea:focus,
#kontakt-form select:focus { outline: none; border-bottom-color: var(--steel); }
#kontakt-form select {
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='7'%3E%3Cpath d='M1 1l4.5 4.5L10 1' stroke='%237C99AB' fill='none' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 2px center;
}
#kontakt-form select option { color: var(--ink); background: var(--paper); }
#kontakt-form .nl-btn { width: auto; padding: 14px 42px; }

.kontakt-aside { display: flex; flex-direction: column; gap: 40px; }
.nl-btn.nl-btn-ghost {
  background: transparent;
  color: var(--paper);
  border-color: rgba(237, 235, 228, 0.4);
}
.nl-btn.nl-btn-ghost:hover { background: var(--paper); color: var(--ink); }

.kontakt-lines { margin-top: 0; }
.kontakt-line {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(237, 235, 228, 0.14);
  font-size: 17px;
}
.kontakt-line .k { color: rgba(237, 235, 228, 0.55); font-size: 14.5px; }
.kontakt-line a { transition: color 0.2s ease; }
.kontakt-line a:hover { color: var(--steel); }
.kontakt-note {
  margin-top: 26px;
  font-size: 14.5px;
  color: rgba(237, 235, 228, 0.55);
}

.nl-box { border: 1px solid rgba(237, 235, 228, 0.16); padding: clamp(28px, 3vw, 44px); }
.nl-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 18px;
}
.nl-box h3 { font-size: 27px; margin-bottom: 10px; }
.nl-box > p { font-size: 15px; color: rgba(237, 235, 228, 0.6); margin-bottom: 28px; }
.nl-field { margin-bottom: 18px; }
.nl-field label {
  display: block;
  font-size: 13px;
  color: rgba(237, 235, 228, 0.75);
  margin-bottom: 7px;
}
.nl-field input {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(237, 235, 228, 0.3);
  color: var(--paper);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  padding: 8px 0;
  border-radius: 0;
}
.nl-field input:focus {
  outline: none;
  border-bottom-color: var(--steel);
}
.nl-btn {
  margin-top: 10px;
  width: 100%;
  padding: 14px;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--paper);
  font-weight: 400;
  font-size: 15px;
  letter-spacing: 0.04em;
  transition: background 0.22s ease, color 0.22s ease;
}
.nl-btn:hover { background: transparent; color: var(--paper); }
.nl-msg { margin-top: 14px; font-size: 14px; display: none; }
.nl-msg.ok { display: block; color: var(--steel); }
.nl-msg.err { display: block; color: #C98A7D; }

/* ---------- Footer ---------- */
footer {
  background: var(--ink);
  color: rgba(237, 235, 228, 0.5);
  border-top: 1px solid rgba(237, 235, 228, 0.12);
  padding: 30px 0;
  font-size: 13.5px;
}
footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
footer nav { display: flex; gap: 26px; }
footer a { transition: color 0.2s ease; }
footer a:hover { color: var(--paper); }

/* ---------- Leistungen im Detail ---------- */
.lst-hero {
  padding: calc(var(--nav-h) + clamp(60px, 9vh, 120px)) 0 clamp(50px, 7vh, 90px);
}
.lst-hero h1 { font-size: clamp(40px, 5.4vw, 76px); max-width: 16ch; }
.lst-hero p {
  margin-top: 22px;
  font-size: 18px;
  color: var(--ink-70);
  max-width: 52ch;
}
.lst-block {
  border-top: 1px solid var(--line);
  padding: clamp(56px, 8vh, 96px) 0;
}
.lst-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(36px, 5vw, 90px);
  align-items: start;
}
.lst-head { position: sticky; top: calc(var(--nav-h) + 30px); }
.lst-head .lst-num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(40px, 4vw, 56px);
  line-height: 1;
  color: var(--steel-deep);
  display: block;
  margin-bottom: 10px;
}
.lst-head h2 { font-size: clamp(30px, 3.2vw, 44px); max-width: 12ch; }
.lst-head .lst-meta {
  margin-top: 14px;
  font-size: 14.5px;
  color: var(--ink-50);
}
.lst-body > p { color: var(--ink-70); max-width: 58ch; }
.lst-q-label {
  margin: 34px 0 6px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
}
.lst-questions { list-style: none; }
.lst-questions li {
  padding: 15px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 16.5px;
  color: var(--ink-70);
  display: flex;
  gap: 14px;
  align-items: baseline;
}
.lst-questions li::before {
  content: "";
  flex: 0 0 18px;
  height: 1px;
  background: var(--steel-deep);
  transform: translateY(-4px);
}
.lst-cta {
  border-top: 1px solid var(--line);
  padding: clamp(60px, 9vh, 110px) 0;
  text-align: center;
}
.lst-cta h2 { font-size: clamp(30px, 3.4vw, 46px); margin-bottom: 14px; }
.lst-cta p { color: var(--ink-70); max-width: 48ch; margin: 0 auto 30px; }

@media (max-width: 767px) {
  .lst-grid { grid-template-columns: 1fr; }
  .lst-head { position: static; }
}

/* ---------- Legal pages ---------- */
.legal {
  max-width: 760px;
  margin-inline: auto;
  padding: calc(var(--nav-h) + 70px) var(--pad-x) 110px;
}
.legal h1 { font-size: clamp(34px, 5vw, 54px); margin-bottom: 50px; }
.legal h2 {
  font-size: 15px;
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-50);
  margin: 44px 0 12px;
}
.legal p { color: var(--ink-70); }
.legal a { border-bottom: 1px solid var(--line); }
.legal-footer {
  border-top: 1px solid var(--line);
  padding: 26px var(--pad-x);
  font-size: 13.5px;
  color: var(--ink-50);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); }
.rm .reveal, .no-js .reveal { opacity: 1; transform: none; }

/* ---------- Reduced motion / static fallback ---------- */
.rm #build { height: auto; padding: 80px 0; }
.rm .build-pin { position: static; height: auto; overflow: visible; }
.rm .build-card {
  position: static;
  transform: none;
  opacity: 1;
  visibility: visible;
  margin: 0 auto 70px;
  max-width: 640px;
}
.rm .build-progress { display: none; }
.rm #scene-wrap { opacity: 0.16; }
.rm #ansatz { min-height: 0; }
.rm .ansatz-sticky { position: static; height: auto; padding: 80px 0; align-items: center; }
.rm .h1-line > span { transform: none !important; }

/* ---------- Responsive ---------- */
@media (max-width: 1023px) {
  .nav-links a { display: none; }
  .nav-links a.nav-back { display: inline; }
}

@media (max-width: 767px) {
  body { font-size: 16px; }
  .nav-links .btn { display: none; }
  .nav-burger { display: block; }
  .nav-brand-name { display: none; }

  .hero-copy { max-width: 100%; }
  .hero-sub { font-size: 16.5px; }

  #build { height: 620vh; }
  .build-card {
    left: var(--pad-x);
    right: var(--pad-x);
    top: auto;
    bottom: 4dvh;
    transform: none;
    width: auto;
    background: rgba(237, 235, 228, 0.9);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border: 1px solid var(--line-soft);
    padding: 20px;
  }
  .build-card h3 { font-size: 26px; }
  .build-card p { font-size: 15px; }
  .build-progress { top: 50%; right: 12px; height: 120px; }

  .haltung-grid { grid-template-columns: 1fr; }
  .haltung-figure { margin-top: 0; order: -1; }
  .haltung-figure::after { display: none; }

  .ablauf-grid { grid-template-columns: 1fr; }
  .ablauf-step:nth-child(2), .ablauf-step:nth-child(3) { margin-top: 0; }

  .fw-grid { grid-template-columns: 1fr; }
  .fw-card:nth-child(2) { margin-top: 0; }

  .faq-grid { grid-template-columns: 1fr; }
  .faq-grid h2 { position: static; }
  .faq-q { font-size: 16.5px; }

  .kontakt-grid { grid-template-columns: 1fr; }
  .kf-row { grid-template-columns: 1fr; gap: 0; }
}
