/* v2: Startseite als Verteiler, drei eigene Einsatzwelt-Seiten mit Verkaufslogik
   (Problem → Lösung → Nutzen → Maschinen → Vorführung → FAQ).
   Industriell ruhig: kaum Radien, harte Kanten, alle Fotos 3:2 mit derselben Farbstufe,
   keine Bild-Parallaxe – nur weiches Scrollen. */

:root { --radius: 3px; }

/* ---------- Hero mit großem Foto ---------- */
.lp-hero { position: relative; isolation: isolate; min-height: min(86vh, 780px); display: flex; align-items: flex-end; color: #fff; }
.lp-hero-pic { position: absolute; inset: 0; z-index: -2; }
.lp-hero-pic img { width: 100%; height: 100%; object-fit: cover; }
.lp-hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(10, 18, 13, .82) 0%, rgba(10, 18, 13, .6) 42%, rgba(10, 18, 13, .1) 75%),
              linear-gradient(0deg, rgba(10, 18, 13, .55), transparent 45%);
}
.lp-hero-in { width: 100%; padding-top: 72px; padding-bottom: clamp(36px, 6vw, 72px); }
.lp-hero .eyebrow { color: #d9e5b0; }
.lp-hero h1.display { font-size: clamp(38px, 5.2vw, 78px); }
.lp-hero h1 .green { color: #d9e5b0; }
.lp-hero .lead { color: #e3ece6; max-width: 54ch; margin: 18px 0 26px; }
.lp-hero .btn-ghost { border-color: #fff; color: #fff; }
.lp-hero .btn-ghost:hover { background: #fff; color: var(--ink); }
.lp-hero .crumbs, .lp-hero .crumbs a, .lp-hero .crumbs span { color: #dde0cf; }
.hw-word.light { display: block; width: clamp(180px, 22vw, 300px); aspect-ratio: 1566 / 289; margin-bottom: 14px; background: #fff;
  -webkit-mask: url('bilder/minimog-schriftzug.webp') left center / contain no-repeat;
          mask: url('bilder/minimog-schriftzug.webp') left center / contain no-repeat; }

.trust { display: flex; flex-wrap: wrap; gap: 10px 0; margin: 30px 0 0; padding: 18px 0 0; list-style: none; border-top: 1px solid rgba(255, 255, 255, .22); max-width: 760px; }
.trust li { display: grid; padding: 0 24px; }
.trust li:first-child { padding-left: 0; }
.trust li + li { border-left: 1px solid rgba(255, 255, 255, .22); }
.trust b { font: 400 20px/1.14 var(--display); text-transform: uppercase; }
.trust span { font: 500 12px/1.3 var(--mono); color: #dde0cf; }

/* ---------- Problem ---------- */
.problem { background: var(--ink); color: #fff; }
.problem-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.problem .lead { color: #c9d1cc; margin-top: 12px; }
.pains { margin: 0; padding: 0; list-style: none; display: grid; gap: 0; }
.pains li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; padding: 18px 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.pains li:last-child { border-bottom: 1px solid rgba(255, 255, 255, .14); }
.pains svg { width: 26px; height: 26px; stroke: #e0806b; stroke-width: 2.4; fill: none; stroke-linecap: round; margin-top: 2px; }
.pains b { display: block; font: 400 22px/1.14 var(--display); text-transform: uppercase; margin-bottom: 4px; }
.pains span { color: #c9d1cc; font-size: 15.5px; }

/* ---------- Lösung in drei Schritten ---------- */
.steps-v2 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 24px); }
.step { background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; }
.alt .step { background: var(--bg); }
.step-pic { position: relative; aspect-ratio: 3 / 2; overflow: hidden; }
.step-pic img { width: 100%; height: 100%; object-fit: cover; }
.step-no { position: absolute; left: 0; top: 0; padding: 8px 12px; background: var(--brand); color: #fff; font: 400 20px/1.14 var(--display); }
.step-body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.step-body h3 { font: 400 26px/1.14 var(--display); text-transform: uppercase; margin-bottom: 8px; }
.step-body > p { color: var(--muted); font-size: 15.5px; }
.tools { margin: auto 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.tools li { display: grid; grid-template-columns: 1fr auto; column-gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.tools b { font-size: 15px; }
.tools span { grid-column: 1; font: 500 12.5px/1.4 var(--mono); color: var(--muted); }
.tools em { grid-row: 1 / 3; grid-column: 2; align-self: center; font: 400 20px/1.14 var(--display); font-style: normal; color: var(--brand-strong); white-space: nowrap; }

/* ---------- Nutzen ---------- */
.benefits h2.display { text-align: center; margin-bottom: clamp(24px, 3vw, 40px); }
.benefits h2 span { display: block; }
.ben { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin: 0; padding: 0; list-style: none; border-top: 3px solid var(--brand); }
.ben li { display: grid; gap: 6px; padding: 22px 20px; border-right: 1px solid var(--line); background: var(--surface); }
.ben li:last-child { border-right: 0; }
.ben svg { width: 28px; height: 28px; stroke: var(--brand); stroke-width: 2.6; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.ben b { font: 400 22px/1.14 var(--display); text-transform: uppercase; }
.ben span { color: var(--muted); font-size: 15px; }
.ben.small { grid-template-columns: 1fr 1fr; border-top: 0; margin-top: 18px; }
.ben.small li { background: transparent; border: 0; border-top: 1px solid var(--line); padding: 14px 16px 14px 0; grid-template-columns: 28px 1fr; column-gap: 10px; }
.ben.small li svg { grid-row: 1 / 3; width: 22px; height: 22px; }
.ben.small b { font-size: 18px; }
.btn-row.center { justify-content: center; margin-top: clamp(24px, 3vw, 36px); }

/* ---------- Maschinenkarten ---------- */
.mcards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 24px); }
.mcards.four { grid-template-columns: repeat(4, 1fr); }
.mcard { background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; transition: border-color .2s ease; }
.alt .mcard { background: var(--bg); }
.mcard:hover { border-color: var(--brand); }
.mcard-pic { display: block; aspect-ratio: 3 / 2; overflow: hidden; }
.mcard-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.mcard:hover .mcard-pic img { transform: scale(1.03); }
.mcard-body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.mcard-brand { margin: 0 0 2px; font: 600 11.5px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.mcard h3 { font: 400 28px/1.14 var(--display); text-transform: uppercase; margin-bottom: 6px; }
.mcard-why { color: var(--muted); font-size: 15px; }
.mcard-specs { display: grid; grid-template-columns: repeat(3, 1fr); margin: auto 0 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.mcard-specs div { padding: 10px 8px 10px 0; }
.mcard-specs div + div { padding-left: 10px; border-left: 1px solid var(--line); }
.mcard-specs dt { font: 600 10.5px/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.mcard-specs dd { margin: 4px 0 0; font: 600 14px/1.25 var(--mono); }
.mcard-foot { display: flex; align-items: baseline; justify-content: space-between; margin-top: 14px; }
.mcard-foot b { font: 400 26px/1.14 var(--display); }

/* ---------- Einsatzwelten-Kacheln (Startseite) ---------- */
.wtiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 2vw, 24px); }
.wtile { position: relative; display: block; overflow: hidden; color: #fff; text-decoration: none; aspect-ratio: 4 / 5; }
.wtile-pic, .wtile-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.wtile-pic img { transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
.wtile:hover .wtile-pic img { transform: scale(1.04); }
.wtile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(10, 18, 13, .85)); }
.wtile-txt { position: absolute; z-index: 1; left: 22px; right: 22px; bottom: 22px; display: grid; gap: 8px; }
.wtile-txt b { font: 400 clamp(28px, 2.8vw, 40px)/1.14 var(--display); text-transform: uppercase; padding-bottom: 10px; border-bottom: 3px solid #cbdb94; }
.wtile-txt em { font-style: normal; color: #e1ece5; font-size: 15.5px; }
.wtile-txt i { font-style: normal; font: 700 14px/1 var(--text); color: #d9e5b0; }

/* ---------- Beleg / Über uns ---------- */
.proof-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.proof-pic { aspect-ratio: 3 / 2; overflow: hidden; }
.proof-pic img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Vorführung + Formular ---------- */
.demo-v2 { background: var(--brand-strong); color: #fff; }
.demo-v2-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.demo-v2 .eyebrow { color: #d9e5b0; }
.demo-v2 .lead { color: #e7e9db; }
.how { margin: 24px 0 0; padding: 0; list-style: none; counter-reset: h; display: grid; gap: 0; }
.how li { counter-increment: h; display: grid; grid-template-columns: 40px 1fr; padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, .16); }
.how li::before { content: counter(h, decimal-leading-zero); grid-row: 1 / 3; font: 400 22px/1.14 var(--display); color: #d9e5b0; }
.how b { font-size: 16px; }
.how span { color: #dde0cf; font-size: 14.5px; }
.scarce { margin: 18px 0 0 !important; padding-left: 14px; border-left: 3px solid #e0b25e; color: #f2e3c4 !important; font-size: 14.5px; }
.lead-form { background: #fff; color: var(--ink); padding: clamp(20px, 3vw, 32px); display: grid; gap: 14px; box-shadow: 0 20px 50px rgba(0, 0, 0, .25); }
.form-title { margin: 0; font: 400 28px/1.14 var(--display); text-transform: uppercase; }
.lead-form em { font-style: normal; font-weight: 400; color: var(--muted); }
.lead-form input, .lead-form textarea { border-radius: 2px; }
.lead-form textarea { min-height: 84px; }
.lead-form .btn { width: 100%; min-height: 54px; font-size: 16px; }
.lead-form .form-note { margin: 0; font-size: 13px; color: var(--muted); }
.lead-form .form-note a { color: var(--brand); font-weight: 700; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 64px); }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; list-style: none; padding: 18px 40px 18px 0; position: relative; font: 700 17px/1.35 var(--text); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; position: absolute; right: 6px; top: 12px; font: 400 28px/1 var(--display); color: var(--brand); transition: transform .2s ease; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { margin: 0 0 18px; color: var(--muted); max-width: 64ch; }
.faq .lead a { color: var(--brand); font-weight: 700; }

/* ---------- Weitere Welten ---------- */
.more-worlds { padding: clamp(36px, 5vw, 56px) 0; }
.mw { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mw a { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; font: 400 clamp(22px, 2.4vw, 32px)/1.14 var(--display); text-transform: uppercase; }
.mw a:hover { border-color: var(--brand); color: var(--brand); }

/* ---------- Seitenkopf (Maschinen) ---------- */
.page-head { padding: clamp(36px, 5vw, 64px) 0 0; }
.page-head h1.display { font-size: clamp(40px, 5vw, 72px); }
.page-head h1 .green { color: var(--brand); }
.page-head .lead { margin-top: 14px; }

/* ---------- Sticky-CTA auf dem Telefon ---------- */
.sticky-cta { display: none; }
@media (max-width: 900px) {
  body { padding-bottom: 64px; }
  .sticky-cta {
    display: grid; grid-template-columns: 1fr 1.6fr; position: fixed; z-index: 60; left: 0; right: 0; bottom: 0;
    background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(0, 0, 0, .08);
    padding: 8px calc(8px + env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) calc(8px + env(safe-area-inset-left)); gap: 8px;
  }
  .sticky-cta a { display: grid; place-items: center; min-height: 48px; font: 700 15px/1 var(--text); text-decoration: none; border: 1.5px solid var(--ink); border-radius: 2px; color: var(--ink); }
  .sticky-cta a.go { background: var(--brand); border-color: var(--brand); color: #fff; }

  .problem-grid, .demo-v2-grid, .faq-grid, .proof-grid { grid-template-columns: 1fr; }
  .steps-v2, .mcards, .mcards.four, .wtiles { grid-template-columns: 1fr 1fr; }
  .ben { grid-template-columns: 1fr 1fr; }
  .ben li:nth-child(2) { border-right: 0; }
  .ben li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 600px) {
  .lp-hero { min-height: 88vh; }
  .lp-hero::before { background: linear-gradient(0deg, rgba(10, 18, 13, .9) 0%, rgba(10, 18, 13, .55) 55%, rgba(10, 18, 13, .2) 100%); }
  .trust { display: grid; gap: 10px; }
  .trust li, .trust li:first-child { padding: 0; border: 0; }
  .steps-v2, .mcards, .mcards.four, .wtiles, .ben, .ben.small, .mw { grid-template-columns: 1fr; }
  .ben li { border-right: 0; border-top: 1px solid var(--line); }
  .wtile { aspect-ratio: 3 / 2; }
}
.mcard-specs dd { white-space: nowrap; }
.mcards.four .mcard-specs div { padding: 9px 4px 9px 0; }
.mcards.four .mcard-specs div + div { padding-left: 7px; }
.mcards.four .mcard-specs dd { font-size: 12.5px; }
.mcards.four .mcard-foot b { font-size: 23px; }
.mcard-foot .more { white-space: nowrap; }
@media (max-width: 600px) {
  .lp-hero h1.display, .page-head h1.display { font-size: clamp(30px, 8.6vw, 44px); }
  .lp-hero h1 span, .page-head h1 span { white-space: normal; }
}
.lp-hero-pic video { width: 100%; height: 100%; object-fit: cover; display: block; }
