/* ============================================================================
   INVESTMENT PAGE — BUILD 23.0 / 23.2 Live Budget Configurator
   Supplements style.css. Reuses all shared tokens and base classes
   (.shell, .kicker, .btn, .v2-section-title, .faq-*, .contact-*).
   ============================================================================ */


/* ---------------------------------------------------------------------------
   01 · HERO
   ------------------------------------------------------------------------ */
.inv-hero {
  position: relative;
  min-height: clamp(520px, 86vh, 980px);
  display: flex;
  align-items: flex-end;
  background: var(--black);
  overflow: hidden;
}

.inv-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(9,9,9,0.94) 0%, rgba(9,9,9,0.55) 45%, rgba(9,9,9,0.1) 100%);
  pointer-events: none;
}

/* Media slot — fallback now, approved loop video later (see HTML comment) */
.inv-hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.inv-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Dark cinematic fallback: graded darkness, one soft key light, viewfinder */
.inv-hero-fallback {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 45% at 72% 38%, rgba(232,40,46,0.16) 0%, rgba(232,40,46,0) 70%),
    radial-gradient(ellipse 80% 60% at 30% 20%, rgba(244,241,235,0.06) 0%, rgba(244,241,235,0) 65%),
    linear-gradient(180deg, #121212 0%, #0b0b0b 55%, var(--black) 100%);
}

.inv-hero-light {
  position: absolute;
  top: -20%;
  left: 55%;
  width: 46vw;
  height: 140%;
  background: linear-gradient(90deg, rgba(244,241,235,0) 0%, rgba(244,241,235,0.045) 50%, rgba(244,241,235,0) 100%);
  transform: rotate(18deg);
  animation: inv-light-drift 14s var(--ease) infinite alternate;
}

@keyframes inv-light-drift {
  from { transform: translateX(-8vw) rotate(18deg); }
  to   { transform: translateX(6vw) rotate(18deg); }
}

.inv-hero-frame {
  position: absolute;
  inset: calc(var(--header-h) + 24px) var(--gutter) 28px;
}

.inv-hero-frame i {
  position: absolute;
  width: 28px;
  height: 28px;
  border-color: rgba(244,241,235,0.22);
  border-style: solid;
  border-width: 0;
}
.inv-hero-frame i:nth-child(1) { top: 0;    left: 0;  border-top-width: 1px;    border-left-width: 1px; }
.inv-hero-frame i:nth-child(2) { top: 0;    right: 0; border-top-width: 1px;    border-right-width: 1px; }
.inv-hero-frame i:nth-child(3) { bottom: 0; left: 0;  border-bottom-width: 1px; border-left-width: 1px; }
.inv-hero-frame i:nth-child(4) { bottom: 0; right: 0; border-bottom-width: 1px; border-right-width: 1px; }

.inv-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: calc(var(--header-h) + clamp(48px, 8vw, 120px));
  padding-bottom: clamp(64px, 8vw, 120px);
}

.inv-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7.4vw, 8.5rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 0.92;
  color: var(--off-white);
  margin: 16px 0 clamp(20px, 3vw, 40px);
  hyphens: none;
  overflow-wrap: normal;
}

.inv-hero-title em {
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--red);
  text-transform: none;
}

.inv-hero-sub {
  max-width: 54ch;
  color: var(--text-2);
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  line-height: 1.6;
}

.inv-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(28px, 3vw, 44px);
}

/* Approved hero still (BUILD 23.3.1). A missing file leaves this layer
   transparent, so the fallback above shows through. The gradient on
   .inv-hero::after keeps headline and CTAs readable on top of it. */
.inv-hero-photo {
  position: absolute;
  inset: 0;
  background: url("../assets/profile/images/investment/hero/investment-hero.webp") center / cover no-repeat;
}


/* ---------------------------------------------------------------------------
   02 · CREATIVE PREVIEW (BUILD 23.3)
   Editorial and calm: large type, few inputs, one request CTA, no live
   budget elements. Same tokens as the configurator, warmer surface.
   ------------------------------------------------------------------------ */
.inv-cp {
  position: relative;
  padding-block: var(--section-y);
  background:
    radial-gradient(ellipse 60% 50% at 88% 0%, rgba(232,40,46,0.07), rgba(232,40,46,0) 70%),
    #0d0c0b;
  border-top: 1px solid var(--border);
  scroll-margin-top: var(--header-h);
}

.inv-cp-layout {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(40px, 6vw, 112px);
  align-items: start;
}

.inv-cp-title {
  margin: 18px 0 0;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.6vw, 5.75rem);
  font-weight: 300;
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: var(--off-white);
}
.inv-cp-title em { font-style: italic; color: var(--red); }

.inv-cp-lead {
  margin-top: clamp(22px, 2.4vw, 32px);
  max-width: 50ch;
  font-size: clamp(1rem, 1.35vw, 1.1875rem);
  line-height: 1.65;
  color: var(--text-2);
}

.inv-cp-price {
  margin-top: clamp(32px, 3.6vw, 52px);
  padding: clamp(20px, 2.2vw, 28px) 0;
  border-top: 1px solid rgba(244,241,235,0.14);
  border-bottom: 1px solid rgba(244,241,235,0.14);
}
.inv-cp-price-label {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.inv-cp-price-value {
  margin-top: 6px;
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--off-white);
  font-variant-numeric: lining-nums;
}
/* Tax note (BUILD 23.3.1) — quiet, below price / budget range */
.inv-vat {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.04em;
  line-height: 1.6;
  color: var(--muted);
}
.inv-vat[hidden] { display: none; }

.inv-cp-price-note {
  margin-top: 10px;
  max-width: 54ch;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-2);
}

.inv-cp-h {
  margin: clamp(28px, 3vw, 40px) 0 14px;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.inv-cp-inc { display: grid; gap: 10px; }
.inv-cp-inc li {
  position: relative;
  padding-left: 26px;
  font-size: 0.9875rem;
  line-height: 1.55;
  color: var(--off-white);
}
.inv-cp-inc li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 14px;
  height: 2px;
  background: var(--red);
}

.inv-cp-fine {
  margin-top: 20px;
  max-width: 60ch;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.03em;
  line-height: 1.7;
  color: var(--muted);
}

/* Mini brief */
.inv-cp-form-wrap {
  position: sticky;
  top: calc(var(--header-h) + 24px);
}
.inv-cp-form {
  padding: clamp(24px, 2.8vw, 40px);
  background: rgba(17,17,17,0.85);
  border: 1px solid var(--border);
  border-top: 2px solid var(--red);
}
.inv-cp-form-kicker {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  color: var(--red);
}
.inv-cp-form-title {
  margin: 10px 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--off-white);
}
.inv-cp-form-lead {
  margin: 10px 0 clamp(20px, 2.4vw, 28px);
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-2);
}

.inv-cp-field + .inv-cp-field { margin-top: 18px; }
.inv-cp-label {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  margin-bottom: 8px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--off-white);
}
.inv-cp-req {
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
}
.inv-cp-input {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  background: var(--black);
  border: 1px solid rgba(244,241,235,0.22);
  border-radius: 0;
  color: var(--off-white);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.5;
  transition: border-color var(--dur) var(--ease);
}
.inv-cp-textarea { resize: vertical; min-height: 88px; }
.inv-cp-input::placeholder { color: var(--muted); }
.inv-cp-input:hover { border-color: rgba(244,241,235,0.45); }
.inv-cp-input:focus { outline: none; border-color: var(--red); }
.inv-cp-input:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.inv-cp-input[aria-invalid="true"] { border-color: #FF6A6E; }
.inv-cp-field .inv-error { margin-top: 8px; }

.inv-cp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(22px, 2.4vw, 30px);
}
.inv-cp-send { flex: 1 1 auto; justify-content: center; }
.inv-cp-privacy {
  margin-top: 14px;
  font-size: 0.75rem;
  line-height: 1.6;
  color: var(--muted);
}

/* Process */
.inv-cp-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 2.4vw, 36px);
  margin-top: clamp(56px, 6vw, 96px);
}
.inv-cp-step {
  padding-top: 18px;
  border-top: 1px solid rgba(244,241,235,0.14);
}
.inv-cp-step-n {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.12em;
  color: var(--red);
}
.inv-cp-step-t {
  margin: 10px 0 8px;
  font-family: var(--font-display);
  font-size: clamp(1.125rem, 1.4vw, 1.375rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--off-white);
}
.inv-cp-step-d {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-2);
}

.inv-cp-bridge {
  margin-top: clamp(40px, 4.4vw, 64px);
  font-size: 0.9375rem;
  color: var(--text-2);
}
.inv-cp-bridge a {
  margin-left: 6px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--off-white);
  border-bottom: 1px solid var(--red);
  padding: 6px 0 3px;
  white-space: nowrap;
}
.inv-cp-bridge a:hover { color: var(--red); }


/* ---------------------------------------------------------------------------
   SHARED
   ------------------------------------------------------------------------ */
.inv-kicker-red { color: var(--red); }

.inv-section-head {
  max-width: 760px;
  margin-bottom: clamp(40px, 5vw, 72px);
}

.inv-lead {
  margin-top: clamp(20px, 2vw, 28px);
  color: var(--text-2);
  font-size: clamp(0.95rem, 1.2vw, 1.0625rem);
  line-height: 1.7;
  max-width: 56ch;
}


/* ---------------------------------------------------------------------------
   02 · LIVE BUDGET CONFIGURATOR — layout
   Desktop: configurator left (~65 %), sticky live budget right (~35 %).
   Below 1024 px: one column; the live panel becomes a bottom sheet behind
   a sticky budget bar (see RESPONSIVE).
   ------------------------------------------------------------------------ */
/* style.css gives html AND body overflow-x: hidden, which turns body into a
   scroll container and disables position: sticky. On this page only, clip
   still prevents sideways scrolling without creating a scroll container. */
@supports (overflow: clip) {
  body.inv-page { overflow-x: clip; }
}

.inv-planner-section {
  background: var(--black);
  border-top: 1px solid var(--border);
  padding-block: var(--section-y);
  scroll-margin-top: var(--header-h);
}

.inv-planner-head {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 0 clamp(40px, 6vw, 112px);
  align-items: end;
  margin-bottom: clamp(36px, 4.5vw, 64px);
}
.inv-planner-head > .kicker { grid-column: 1 / -1; }
.inv-planner-head-text .inv-lead:first-child { margin-top: 0; }
.inv-lead--method { margin-top: 14px; }

.inv-privacy {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.04em;
  line-height: 1.7;
  color: var(--muted);
  max-width: 52ch;
}

.inv-config {
  display: grid;
  grid-template-columns: minmax(0, 65fr) minmax(0, 35fr);
  gap: clamp(20px, 2.4vw, 36px);
  align-items: start;
}

.inv-config-main {
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--border);
}

/* ---- Accordion (BUILD 23.2.2) ------------------------------------------
   One section open at a time; closed sections show a one-line summary.   */
.inv-example {
  padding: 14px clamp(20px, 3vw, 36px);
  border-bottom: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.06em;
  line-height: 1.6;
  color: var(--text-2);
}
.inv-example[hidden] { display: none; }

.inv-acc + .inv-acc { border-top: 1px solid var(--border); }
.inv-acc-h { margin: 0; }

.inv-acc-btn {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 4px 18px;
  width: 100%;
  min-height: 76px;
  padding: 18px clamp(20px, 3vw, 36px);
  text-align: left;
  color: var(--off-white);
  transition: background var(--dur) var(--ease);
}
.inv-acc-btn:hover { background: rgba(244,241,235,0.025); }
.inv-acc-btn:focus { outline: none; }
.inv-acc-btn:focus-visible { outline: 2px solid var(--red); outline-offset: -2px; }

.inv-acc-n {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  color: var(--red);
}
.inv-acc-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.inv-acc-title {
  font-family: var(--font-display);
  font-size: clamp(1.1875rem, 1.6vw, 1.5rem);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.inv-acc-sum {
  /* The header sits in an h3 — reset the inherited display type */
  font-family: var(--font-sans);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--text-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.inv-acc.is-open .inv-acc-sum { display: none; }

.inv-acc-flag {
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--off-white);
  border: 1px solid var(--red);
  padding: 3px 7px 2px;
  white-space: nowrap;
}
.inv-acc-flag[hidden] { display: none; }

/* Plus / minus */
.inv-acc-icon {
  position: relative;
  width: 14px;
  height: 14px;
}
.inv-acc-icon::before,
.inv-acc-icon::after {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 14px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.3s var(--ease);
}
.inv-acc-icon::after { transform: rotate(90deg); }
.inv-acc.is-open .inv-acc-icon::after { transform: rotate(0deg); }

.inv-acc.is-open { background: rgba(9,9,9,0.35); }
.inv-acc.is-open .inv-acc-btn { border-left: 2px solid var(--red); padding-left: calc(clamp(20px, 3vw, 36px) - 2px); }

.inv-acc-panel { padding: 4px clamp(20px, 3vw, 36px) clamp(28px, 3vw, 40px); }
.inv-acc-panel[hidden] { display: none; }

.inv-acc-group + .inv-field,
.inv-acc-panel > .inv-budget + .inv-result {
  margin-top: clamp(28px, 3vw, 40px);
  padding-top: clamp(24px, 2.6vw, 34px);
  border-top: 1px solid var(--border);
}
.inv-acc-group[hidden] { display: none; }

.inv-acc-status {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: 1.125rem;
  color: var(--off-white);
}
.inv-acc-status .inv-result-mark { margin-top: 0; --status: rgba(244,241,235,0.5); }
.inv-acc-status[data-status="sufficient"] .inv-result-mark { --status: #7FB894; }
.inv-acc-status[data-status="possible"] .inv-result-mark { --status: #D9B26A; }
.inv-acc-status[data-status="adjust"] .inv-result-mark { --status: var(--red); }
.inv-acc-status[data-status="individual"] .inv-result-mark,
.inv-acc-status[data-status="nobudget"] .inv-result-mark { background: transparent; border: 1px solid var(--status); }

.inv-options--after { margin-top: 12px; }
.inv-options.inv-options--cols2,
.inv-options.inv-options--cols3 { display: grid; gap: 10px; }
.inv-options--cols2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.inv-options--cols3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.inv-options--cols2 .inv-opt,
.inv-options--cols3 .inv-opt { justify-content: flex-start; }

.inv-gfx-note {
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Fields, option chips, inputs and messages (BUILD 23.1) */
.inv-field {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}
.inv-field[hidden] { display: none; }
/* A floated legend lays out as a normal box instead of straddling the
   fieldset's top border, so the separator and spacing below behave */
.inv-field > legend {
  float: left;
  width: 100%;
}
.inv-field > legend ~ * { clear: both; }

.inv-field + .inv-field {
  margin-top: clamp(28px, 3vw, 40px);
  padding-top: clamp(24px, 2.6vw, 34px);
  border-top: 1px solid var(--border);
}

.inv-field-label {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 12px;
  padding: 0;
  margin-bottom: 16px;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  color: var(--off-white);
}
.inv-field-label--plain { display: block; font-size: 0.9375rem; line-height: 1.5; }

.inv-field-n {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  color: var(--red);
}

.inv-optional {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 400;
  color: var(--muted);
}

.inv-hint {
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-2);
  margin: -6px 0 16px;
  max-width: 60ch;
}
.inv-hint[hidden] { display: none; }

/* Option chips */
.inv-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.inv-options--rows { flex-direction: column; }

.inv-opt {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  min-height: 48px;
  padding: 12px 18px 12px 42px;
  border: 1px solid rgba(244,241,235,0.16);
  background: transparent;
  cursor: pointer;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}

.inv-opt:hover { border-color: rgba(244,241,235,0.45); }

.inv-opt input {
  position: absolute;
  left: 16px;
  top: 50%;
  width: 14px;
  height: 14px;
  margin: -7px 0 0;
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid rgba(244,241,235,0.45);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.inv-opt input[type="checkbox"] { border-radius: 2px; }

.inv-opt input:checked {
  border-color: var(--red);
  background: var(--red);
  box-shadow: inset 0 0 0 3px var(--surface);
}
.inv-opt input[type="checkbox"]:checked { box-shadow: inset 0 0 0 2px var(--surface); }

.inv-opt input:focus { outline: none; }
.inv-opt:focus-within { outline: 2px solid var(--red); outline-offset: 2px; }
.inv-opt:focus-within:not(:has(:focus-visible)) { outline: none; }

.inv-opt:has(input:checked) {
  border-color: var(--red);
  background: rgba(232,40,46,0.08);
}

.inv-opt-label {
  font-size: 0.9375rem;
  line-height: 1.3;
  color: var(--off-white);
}

.inv-opt-desc {
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--text-2);
}

/* Text inputs */
.inv-text-label {
  display: block;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--off-white);
  margin-bottom: 10px;
}

.inv-textarea {
  display: block;
  width: 100%;
  min-height: 120px;
  resize: vertical;
  padding: 14px 16px;
  background: var(--black);
  border: 1px solid rgba(244,241,235,0.16);
  border-radius: 0;
  color: var(--off-white);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  transition: border-color var(--dur) var(--ease);
}
.inv-textarea:hover { border-color: rgba(244,241,235,0.45); }
.inv-textarea:focus { outline: none; border-color: var(--red); }
.inv-textarea:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }

.inv-count {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  text-align: right;
}

/* Messages */
.inv-error {
  margin-top: 14px;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #FF6A6E;
}
.inv-error[hidden] { display: none; }

.inv-notice {
  margin-top: 20px;
  padding: 14px 16px;
  border-left: 2px solid var(--red);
  background: rgba(232,40,46,0.08);
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--off-white);
}
.inv-notice[hidden] { display: none; }

.inv-status {
  margin-top: 14px;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-2);
  max-width: 62ch;
}
.inv-status [hidden] { display: none; }

.inv-edit {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-2);
  border-bottom: 1px solid rgba(244,241,235,0.25);
  padding: 6px 0 2px;
  min-height: 24px;
  transition: color var(--dur), border-color var(--dur);
}
.inv-edit:hover { color: var(--off-white); border-color: var(--off-white); }

.inv-send {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(24px, 2.6vw, 32px);
}

.inv-preview {
  margin-top: 20px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}
.inv-preview summary {
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-2);
  min-height: 32px;
  display: flex;
  align-items: center;
}
.inv-preview summary:hover { color: var(--off-white); }
.inv-preview-text {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  min-height: 220px;
}


/* ---------------------------------------------------------------------------
   02a · Production types — compact horizontal thumbnail cards
   ------------------------------------------------------------------------ */
.inv-prod-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.inv-prod {
  position: relative;
  min-width: 0;
}

.inv-prod-card {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  align-items: stretch;
  height: 100%;
  background: var(--black);
  border: 1px solid rgba(244,241,235,0.12);
  cursor: pointer;
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.inv-prod-card:hover { border-color: rgba(244,241,235,0.4); }

/* The radio stays in the accessibility tree; the whole card is its label */
.inv-prod-card input,
.inv-style input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  pointer-events: none;
}

.inv-prod-card:has(input:checked) {
  border-color: var(--red);
  background: #120c0c;
  box-shadow: inset 0 0 0 1px var(--red);
}
.inv-prod-card:has(input:focus-visible),
.inv-style:has(input:focus-visible) {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

.inv-prod-media {
  position: relative;
  display: block;
  min-height: 88px;
  overflow: hidden;
  background: #0c0c0c;
}
.inv-prod-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) brightness(0.84);
  transition: transform 0.9s var(--ease), filter var(--dur) var(--ease);
}
.inv-prod-card:hover .inv-prod-media img { transform: scale(1.05); filter: saturate(1) brightness(0.95); }
.inv-prod-card:has(input:checked) .inv-prod-media img { filter: saturate(1) brightness(1); }

/* Selected marker */
.inv-prod-body::after {
  content: "";
  position: absolute;
  top: 12px;
  right: 12px;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(244,241,235,0.4);
  border-radius: 50%;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.inv-prod-card:has(input:checked) .inv-prod-body::after {
  border-color: var(--red);
  background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23F5F1EC' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.inv-prod-body {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  padding: 12px 38px 12px 14px;
}

.inv-prod-title {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.2;
  color: var(--off-white);
}

.inv-prod-desc {
  font-size: 0.75rem;
  line-height: 1.45;
  color: var(--text-2);
}

.inv-prod-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 10px;
  margin-top: auto;
  padding-top: 6px;
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.inv-prod-flag {
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-2);
  border: 1px solid rgba(244,241,235,0.18);
  padding: 3px 6px 2px;
}
.inv-prod-flag--priced {
  color: var(--off-white);
  border-color: rgba(232,40,46,0.65);
}

/* Film button on the thumbnail — sibling of the label, never toggles it */
.inv-prod-play {
  position: absolute;
  left: 8px;
  bottom: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: var(--off-white);
  background: rgba(9,9,9,0.7);
  border: 1px solid rgba(244,241,235,0.35);
  border-radius: 50%;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.inv-prod-play svg { margin-left: 2px; }
.inv-prod-play:hover { background: var(--red); border-color: var(--red); }
.inv-prod-play:focus-visible { outline: 2px solid var(--off-white); outline-offset: 2px; }


/* ---------------------------------------------------------------------------
   02b · Visual direction, inputs
   ------------------------------------------------------------------------ */
.inv-notice--quiet {
  margin: 0 0 clamp(24px, 2.6vw, 36px);
  background: transparent;
  border-left-color: rgba(244,241,235,0.3);
  color: var(--text-2);
  max-width: 72ch;
}

.inv-style-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.inv-style {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0 0 14px;
  background: var(--black);
  border: 1px solid rgba(244,241,235,0.12);
  cursor: pointer;
  transition: border-color var(--dur) var(--ease);
}
.inv-style:hover { border-color: rgba(244,241,235,0.4); }
.inv-style:has(input:checked) { border-color: var(--red); }

.inv-style-media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  margin-bottom: 8px;
  background: #0b0b0b;
}

/* Orientation images (BUILD 23.3) — illustrate a direction, not client work */
.inv-style-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.9);
  transition: filter var(--dur) var(--ease);
}
.inv-style:hover .inv-style-media img,
.inv-style:has(input:checked) .inv-style-media img { filter: none; }

.inv-style-title {
  padding: 0 14px;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  line-height: 1.2;
  color: var(--off-white);
}
.inv-style-desc {
  padding: 0 14px;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--text-2);
}

/* Text inputs with a unit (custom length, budget) */
.inv-inline-input { margin-top: 16px; }
.inv-inline-input[hidden] { display: none; }

.inv-unit-input {
  position: relative;
  display: flex;
  align-items: stretch;
  max-width: 220px;
}
.inv-unit-input--budget { max-width: 340px; }

.inv-input {
  width: 100%;
  min-height: 48px;
  padding: 10px 52px 10px 16px;
  background: var(--black);
  border: 1px solid rgba(244,241,235,0.22);
  border-radius: 0;
  color: var(--off-white);
  font-family: var(--font-sans);
  font-size: 1rem;
  transition: border-color var(--dur) var(--ease);
}
.inv-input::placeholder { color: var(--muted); }
.inv-input:hover { border-color: rgba(244,241,235,0.45); }
.inv-input:focus { outline: none; border-color: var(--red); }
.inv-input:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.inv-input[aria-invalid="true"] { border-color: #FF6A6E; }

.inv-input--budget {
  min-height: 64px;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 300;
  letter-spacing: -0.01em;
}

.inv-unit {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  pointer-events: none;
}
.inv-unit-input--budget .inv-unit { font-size: 1rem; }

.inv-hint--below { margin: 10px 0 0; }

/* Compact style cards in the narrower configurator column */
.inv-style-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.inv-style-media { aspect-ratio: 16 / 10; }
.inv-style-title { font-size: 0.9375rem; padding: 0 12px; }
.inv-style-desc { font-size: 0.75rem; padding: 0 12px; }

/* Assessment section in the configurator */
.inv-result .inv-result-block:first-of-type { margin-top: 0; }
.inv-result [hidden] { display: none; }
.inv-suggest:focus,
.inv-applied:focus { outline: none; }
.inv-suggest:focus-visible,
.inv-applied:focus-visible { outline: 2px solid var(--red); outline-offset: 6px; }
.inv-result .inv-preview { margin-top: clamp(24px, 2.6vw, 34px); }


/* ---------------------------------------------------------------------------
   02c · Live budget panel
   ------------------------------------------------------------------------ */
.inv-live {
  --status: rgba(244,241,235,0.5);
  position: sticky;
  top: calc(var(--header-h) + 20px);
  min-width: 0;
  max-height: calc(100vh - var(--header-h) - 40px);
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--black);
  border: 1px solid var(--border);
  border-top: 2px solid var(--status);
  scrollbar-width: thin;
  scrollbar-color: rgba(244,241,235,0.2) transparent;
  transition: border-color 0.4s var(--ease);
}
.inv-live[data-status="sufficient"] { --status: #7FB894; }
.inv-live[data-status="possible"]   { --status: #D9B26A; }
.inv-live[data-status="adjust"]     { --status: var(--red); }
.inv-live[data-status="individual"] { --status: rgba(244,241,235,0.75); }
.inv-live [hidden] { display: none !important; }

.inv-live-inner { padding: clamp(20px, 2vw, 30px); }

.inv-live-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.inv-live-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-2);
}
.inv-live-dot {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
}
.inv-live-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--red);
  opacity: 0;
  animation: inv-live-pulse 2.4s var(--ease) infinite;
}
@keyframes inv-live-pulse {
  0%   { transform: scale(0.6); opacity: 0.8; }
  70%  { transform: scale(1.5); opacity: 0; }
  100% { opacity: 0; }
}

.inv-live-close { display: none; }

.inv-live-label {
  margin-top: 22px;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.inv-live-range {
  margin-top: 6px;
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 2.7vw, 2.75rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--off-white);
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}
.inv-live:not([data-status="nobudget"]):not([data-status="sufficient"]):not([data-status="possible"]):not([data-status="adjust"]) .inv-live-range {
  font-size: clamp(1.5rem, 2vw, 2rem);
}
.inv-live-range.is-updated { animation: inv-range-update 0.9s var(--ease); }
@keyframes inv-range-update {
  0%   { color: var(--red); }
  100% { color: var(--off-white); }
}

.inv-live-note {
  margin-top: 10px;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--text-2);
}

.inv-live-missing { margin-top: 10px; }
.inv-live-missing li {
  position: relative;
  padding: 6px 0 6px 18px;
  border-top: 1px solid var(--border);
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--off-white);
}
.inv-live-missing li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 14px;
  width: 7px;
  height: 2px;
  background: var(--red);
}

.inv-live-status {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.inv-result-mark {
  flex: none;
  width: 10px;
  height: 10px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--status);
}
.inv-live[data-status="individual"] .inv-result-mark,
.inv-live[data-status="nobudget"] .inv-result-mark {
  background: transparent;
  border: 1px solid var(--status);
}
.inv-live-status-title {
  font-family: var(--font-display);
  font-size: 1.1875rem;
  font-weight: 400;
  line-height: 1.25;
  color: var(--off-white);
}
.inv-live-status-title:focus { outline: none; }
.inv-live-status-lead {
  margin-top: 6px;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--text-2);
}

.inv-live .inv-scale { margin-top: 14px; }

.inv-live .inv-budget {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.inv-live-field-label {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-2);
}
.inv-live .inv-unit-input--budget { max-width: none; }
.inv-live .inv-input--budget { min-height: 56px; font-size: 1.5rem; }

/* Secondary CTA (BUILD 23.3) — full width, dark with a clear outline;
   "Projekt anfragen" below stays the only red primary action */
.inv-live-jump {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 16px;
  padding: 15px 16px;
  font-size: 0.6875rem;
  line-height: 1.3;
  text-align: center;
  color: var(--off-white);
  background: #151515;
  border: 1px solid rgba(244,241,235,0.55);
}
.inv-live-jump:hover { background: #1d1d1d; border-color: var(--off-white); }
.inv-live-jump:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.inv-live-jump[hidden] { display: none; }

/* Opening section 06 from the panel scrolls it below the fixed header */
.inv-acc { scroll-margin-top: calc(var(--header-h) + 12px); }

.inv-live-sum {
  margin: 20px 0 0;
  border-top: 1px solid var(--border);
}
.inv-live-sum > div {
  display: grid;
  grid-template-columns: minmax(84px, 38%) minmax(0, 1fr);
  gap: 10px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(244,241,235,0.06);
}
.inv-live-sum dt {
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 2px;
}
.inv-live-sum dd {
  margin: 0;
  min-width: 0;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--off-white);
  overflow-wrap: anywhere;
}
.inv-live-sum dd.is-empty { color: var(--muted); }

.inv-live .inv-send {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 20px;
}
.inv-live .inv-send .btn { width: 100%; min-height: 48px; justify-content: center; }
.inv-live .inv-notice { margin-top: 16px; font-size: 0.8125rem; }
.inv-live .inv-status { font-size: 0.8125rem; }

.inv-live-disclaimer {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.03em;
  line-height: 1.7;
  color: var(--muted);
}

/* Mobile bar & sheet backdrop — hidden on desktop */
.inv-bar,
.inv-live-backdrop { display: none; }


/* Scale, result lists and suggestions (BUILD 23.1) */
.inv-scale {
  position: relative;
  height: 46px;
  margin-top: 18px;
}
.inv-scale-track {
  position: absolute;
  left: 0;
  right: 0;
  top: 10px;
  height: 1px;
  background: rgba(244,241,235,0.18);
}
.inv-scale-band {
  position: absolute;
  top: 5px;
  height: 11px;
  background: linear-gradient(90deg, rgba(244,241,235,0.28), rgba(244,241,235,0.5));
  transition: left 0.5s var(--ease), width 0.5s var(--ease);
}
.inv-scale-pin {
  position: absolute;
  top: 0;
  width: 2px;
  height: 21px;
  background: var(--status);
  transition: left 0.5s var(--ease);
}
.inv-scale-pin span {
  position: absolute;
  top: 26px;
  left: 0;
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-2);
}
.inv-scale-pin.is-flipped span { left: auto; right: 0; }

/* Result blocks */
.inv-result-block {
  margin-top: clamp(24px, 2.6vw, 34px);
}
.inv-result-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(24px, 3vw, 48px);
}

.inv-result-h {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--off-white);
  margin-bottom: 12px;
}
.inv-result-sub {
  margin: -4px 0 14px;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--text-2);
  max-width: 64ch;
}

.inv-result-list li {
  position: relative;
  padding: 9px 0 9px 20px;
  border-top: 1px solid var(--border);
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--text-2);
}
.inv-result-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 17px;
  width: 8px;
  height: 2px;
  background: var(--red);
}

/* Suggestions */
.inv-suggest-list { display: grid; gap: 8px; }

.inv-sug {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 8px 20px;
  padding: 14px 16px;
  border: 1px solid rgba(244,241,235,0.12);
  background: var(--surface);
}
.inv-sug.is-fit { border-color: rgba(127,184,148,0.45); }

.inv-sug-title {
  font-size: 0.9375rem;
  line-height: 1.35;
  color: var(--off-white);
}
.inv-sug-detail {
  margin-top: 3px;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--text-2);
}
.inv-sug-tag {
  display: inline-block;
  margin-left: 4px;
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid rgba(244,241,235,0.18);
  padding: 2px 6px 1px;
  vertical-align: 2px;
}

.inv-sug-res {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  text-align: right;
}
.inv-sug-range {
  font-family: var(--font-display);
  font-size: 1.0625rem;
  color: var(--off-white);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.inv-sug-fit {
  font-family: var(--font-mono);
  font-size: 0.5625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.inv-sug.is-fit .inv-sug-fit { color: #9CCBAE; }

.inv-sug-apply {
  min-height: 40px;
  padding-inline: 18px;
  font-size: 0.6875rem;
}

.inv-applied .inv-edit { margin-top: 10px; }

/* ---------------------------------------------------------------------------
   03 · SERVICES
   ------------------------------------------------------------------------ */
.inv-services {
  background: var(--dark-gray);
  padding-block: var(--section-y);
}

.inv-svc-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2px;
}

.inv-svc {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--black);
  padding: clamp(28px, 3vw, 44px) clamp(22px, 2.4vw, 36px);
  transition: background var(--dur) var(--ease);
}
.inv-svc::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}
.inv-svc:hover { background: #0e0e0e; }
.inv-svc:hover::before { transform: scaleX(1); }

.inv-svc-n {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.inv-svc-title {
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 1.9vw, 1.875rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--off-white);
  margin: 0;
}

.inv-svc-desc {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-2);
  flex: 1;
}

.inv-svc-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.inv-svc-link {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--off-white);
  border-bottom: 1px solid rgba(244,241,235,0.3);
  padding: 6px 0 3px;
  transition: color var(--dur), border-color var(--dur);
}
.inv-svc-link::after { content: " ↗"; }
.inv-svc-link:hover { color: var(--red); border-color: var(--red); }


/* ---------------------------------------------------------------------------
   04 · PRICE FACTORS
   ------------------------------------------------------------------------ */
.inv-factors {
  background: var(--black);
  padding-block: var(--section-y);
}

.inv-factors-layout {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 6vw, 112px);
  align-items: start;
}

.inv-factors-head {
  position: sticky;
  top: calc(var(--header-h) + 32px);
  margin-bottom: 0;
}

.inv-fac-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: clamp(24px, 3vw, 48px);
  border-top: 1px solid var(--border);
}

.inv-fac {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 12px;
  padding: clamp(20px, 2.4vw, 32px) 0;
  border-bottom: 1px solid var(--border);
}

.inv-fac-n {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  color: var(--red);
  padding-top: 6px;
}

.inv-fac-title {
  font-family: var(--font-display);
  font-size: clamp(1.125rem, 1.5vw, 1.375rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--off-white);
  margin: 0 0 8px;
}

.inv-fac-desc {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-2);
}


/* ---------------------------------------------------------------------------
   06 · CONTACT — accent on red background
   ------------------------------------------------------------------------ */
.inv-contact .contact-headline em {
  font-style: italic;
  font-weight: 400;
  text-transform: none;
  color: var(--black);
}


/* ---------------------------------------------------------------------------
   RESPONSIVE
   ------------------------------------------------------------------------ */
@media (max-width: 1280px) {
  .inv-prod-grid { grid-template-columns: 1fr; }
  .inv-style-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1200px) {
  .inv-svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .inv-fac-list { grid-template-columns: 1fr; }
}

/* ── One column; live panel becomes a bottom sheet behind a sticky bar ── */
@media (max-width: 1023px) {
  .inv-planner-head,
  .inv-factors-layout,
  .inv-cp-layout { grid-template-columns: 1fr; }
  .inv-cp-form-wrap { position: static; }
  .inv-cp-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .inv-planner-head-text { margin-top: clamp(20px, 2vw, 28px); }
  .inv-factors-head { position: static; }
  .inv-fac-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .inv-config { grid-template-columns: 1fr; }
  .inv-prod-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .inv-style-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }

  /* Room for the bar so it never covers the last controls */
  .inv-config-main { margin-bottom: 72px; }

  .inv-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 880;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 64px;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(9,9,9,0.94);
    border-top: 2px solid var(--red);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--off-white);
    text-align: left;
  }
  .inv-bar[hidden] { display: none; }
  /* BUILD 23.3.1 — while the fixed bar is shown, focus and scroll-into-view
     stop above it instead of parking controls underneath (mis-taps, hidden focus) */
  html:has(.inv-bar:not([hidden])) { scroll-padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
  .inv-bar[data-status="individual"],
  .inv-bar[data-status="empty"],
  .inv-bar[data-status="incomplete"] { border-top-color: rgba(244,241,235,0.5); }
  .inv-bar[data-status="sufficient"] { border-top-color: #7FB894; }
  .inv-bar[data-status="possible"] { border-top-color: #D9B26A; }
  .inv-bar:focus-visible { outline: 2px solid var(--off-white); outline-offset: -4px; }

  .inv-bar-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
  .inv-bar-label {
    font-family: var(--font-mono);
    font-size: 0.5625rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-2);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .inv-bar-value {
    font-family: var(--font-display);
    font-size: 1.25rem;
    line-height: 1.15;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .inv-bar-cta {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 40px;
    padding: 0 12px;
    border: 1px solid rgba(244,241,235,0.3);
    font-family: var(--font-mono);
    font-size: 0.625rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  .inv-live {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: auto;
    z-index: 890;
    max-height: min(88vh, 100% - 48px);
    max-height: 88dvh;
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
    transform: translateY(100%);
    visibility: hidden;
    transition: transform 0.4s var(--ease), visibility 0s linear 0.4s;
  }
  .inv-live.is-open {
    transform: none;
    visibility: visible;
    transition: transform 0.4s var(--ease), visibility 0s;
  }
  .inv-live-inner { padding: 18px var(--gutter) calc(24px + env(safe-area-inset-bottom, 0px)); }
  .inv-live-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin: -10px -10px -10px 0;
    color: var(--off-white);
  }
  .inv-live-close:focus-visible { outline: 2px solid var(--red); outline-offset: -4px; }

  .inv-live-backdrop {
    position: fixed;
    inset: 0;
    z-index: 885;
    display: block;
    background: rgba(9,9,9,0.6);
  }
  .inv-live-backdrop[hidden] { display: none; }
  html.inv-sheet-open { overflow: hidden; }
}

@media (max-width: 768px) {
  .inv-fac-list { grid-template-columns: 1fr; }

  .inv-prod-grid { grid-template-columns: 1fr; }
  .inv-style-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .inv-options--cols3 { grid-template-columns: 1fr; }

  .inv-result-cols { grid-template-columns: 1fr; }

  .inv-sug { grid-template-columns: minmax(0, 1fr) auto; }
  .inv-sug-text { grid-column: 1 / -1; }
  .inv-sug-res { align-items: flex-start; text-align: left; }
}

@media (max-width: 640px) {
  .inv-svc-grid { grid-template-columns: 1fr; }

  .inv-cp-steps { grid-template-columns: 1fr; }
  .inv-cp-form { margin-inline: calc(var(--gutter) * -0.5); }
  .inv-cp-actions .btn { width: 100%; justify-content: center; }

  .inv-config-main { margin-inline: calc(var(--gutter) * -0.5); }
  .inv-acc-btn { padding: 16px; min-height: 68px; gap: 4px 12px; }
  .inv-acc.is-open .inv-acc-btn { padding-left: 14px; }
  .inv-acc-panel { padding: 4px 16px 28px; }
  .inv-example { padding: 12px 16px; }

  .inv-options:not(.inv-options--cols2):not(.inv-options--cols3) .inv-opt { flex: 1 1 calc(50% - 5px); }
  .inv-options--cols2 { grid-template-columns: 1fr; }

  .inv-prod-card { grid-template-columns: 108px minmax(0, 1fr); }
}

@media (max-width: 480px) {
  .inv-style-title { font-size: 0.875rem; padding: 0 10px; }
  .inv-style-desc { padding: 0 10px; }

  .inv-unit-input { max-width: none; }

  .inv-sug { grid-template-columns: 1fr; }
  .inv-sug-apply { width: 100%; justify-content: center; }

  .inv-hero-title { font-size: clamp(2.2rem, 10.4vw, 3.4rem); }
  .inv-hero-cta .btn { width: 100%; justify-content: center; }
}

@media (max-width: 360px) {
  .inv-options:not(.inv-options--cols2):not(.inv-options--cols3) .inv-opt { flex-basis: 100%; }
  .inv-prod-card { grid-template-columns: 92px minmax(0, 1fr); }
  .inv-style-desc { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .inv-hero-light { animation: none; }
  .inv-live-dot::after { animation: none; }
  .inv-live-range.is-updated { animation: none; }
  .inv-prod-media img,
  .inv-scale-band,
  .inv-scale-pin,
  .inv-live,
  .inv-live.is-open { transition: none; }
}


/* ===========================================================================
   PREISE V2 — budget planner additions (price hints, breakdown, shot count)
   Uses the existing tokens only; no new colours or fonts.
   ======================================================================== */

/* Surcharge next to an option, e.g. "+400–700 €" / "Enthalten" */
.inv-opt-price {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.04em;
  color: var(--off-white);
  margin-top: 2px;
  font-variant-numeric: tabular-nums;
}
.inv-opt:has(input:checked) .inv-opt-price { color: var(--red); }

/* Price line under a field hint, e.g. "Jedes weitere Seitenverhältnis: +120–200 €" */
.inv-price-hint {
  margin: -4px 0 12px;
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  letter-spacing: 0.04em;
  color: var(--off-white);
  font-variant-numeric: tabular-nums;
}
.inv-price-hint:empty { display: none; }

/* Unsuitable option for the chosen production type */
.inv-opt.is-disabled {
  opacity: 0.38;
  cursor: not-allowed;
}
.inv-opt.is-disabled:hover { border-color: rgba(244,241,235,0.16); }
.inv-opt.is-disabled input { cursor: not-allowed; }

/* Shot count (Individual Shots) */
.inv-unit-input--select { max-width: 260px; }
.inv-select {
  padding-right: 40px;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--off-white) 50%),
                    linear-gradient(135deg, var(--off-white) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}
.inv-select option { background: var(--black); color: var(--off-white); }

/* Breakdown in the live panel */
.inv-live-calc {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.inv-live-calc-h {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.inv-calc-lines li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 7px 0;
  border-top: 1px solid var(--border);
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--text-2);
}
.inv-calc-lines li:first-child { border-top: none; }
.inv-calc-lines .inv-calc-amount {
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
  color: var(--off-white);
  white-space: nowrap;
}
.inv-calc-lines li.is-base .inv-calc-label { color: var(--off-white); }
.inv-calc-lines li.is-total {
  margin-top: 4px;
  border-top: 1px solid rgba(244,241,235,0.35);
  font-weight: 600;
  color: var(--off-white);
}
.inv-calc-lines li.is-total .inv-calc-amount { color: var(--red); }
