/* Hero im Stil von Heikos SAM-1950-Plakat: riesiger Minimog-Schriftzug in Heikos Schrift,
   die Maschine steht davor, darunter Kennzahlen, Claim und Markenkomponenten.
   Alles echter Text – nur Maschine, Schriftzug und Logos sind Bilder. */

.logo-word {
  display: block; width: 118px; aspect-ratio: 1566 / 289; background: var(--brand);
  -webkit-mask: url('bilder/minimog-schriftzug.webp') center / contain no-repeat;
          mask: url('bilder/minimog-schriftzug.webp') center / contain no-repeat;
}
.site-footer .logo-word { background: #fff; }
.logo small { margin-top: 6px; }

.hp { position: relative; isolation: isolate; overflow: hidden; padding: clamp(28px, 4vw, 52px) 0 clamp(40px, 5vw, 64px); }
.hp-bg {
  position: absolute; inset: 0 0 auto; height: min(78%, 820px); z-index: -2;
  background: url('bilder/hero-nebel-wald.webp') center top / cover no-repeat;
  -webkit-mask: linear-gradient(180deg, #000 45%, transparent);
          mask: linear-gradient(180deg, #000 45%, transparent);
}
.hp::before { /* weicher Nebel unten, damit die Maschine auf „Boden“ steht */
  content: ''; position: absolute; z-index: -1; left: 0; right: 0; top: 0; height: 100%;
  background: radial-gradient(60% 32% at 50% 58%, rgba(255, 255, 255, .85), transparent 70%);
}

.hp-kicker { display: flex; flex-direction: column; align-items: center; gap: 10px; margin: 0 0 clamp(8px, 1.5vw, 18px); }
.hp-vmeng {
  display: block; width: clamp(150px, 16vw, 220px); aspect-ratio: 896 / 99; background: var(--brand);
  -webkit-mask: url('bilder/logos/vmeng-sam-maske.png') center / contain no-repeat;
          mask: url('bilder/logos/vmeng-sam-maske.png') center / contain no-repeat;
}
.hp-kicker span:last-child { font: 600 clamp(14px, 1.3vw, 18px)/1 var(--mono); letter-spacing: .5em; margin-right: -.5em; color: var(--ink); }

/* Bühne: Schriftzug hinten, Maschine überlappt die untere Hälfte */
.hp-stage { position: relative; display: grid; justify-items: center; }
.hp-word {
  display: block; width: 100%; aspect-ratio: 1566 / 289;
  background: linear-gradient(180deg, #123d29 0%, #1e5a3e 42%, rgba(30, 90, 62, .35) 78%, rgba(30, 90, 62, .08) 100%);
  -webkit-mask: url('bilder/minimog-schriftzug.webp') center / contain no-repeat;
          mask: url('bilder/minimog-schriftzug.webp') center / contain no-repeat;
}
.hp-machine {
  position: relative; width: min(68%, 840px); margin-top: calc(-0.11 * min(100vw, var(--wrap)));
  filter: drop-shadow(0 26px 22px rgba(20, 30, 24, .28)) drop-shadow(0 6px 6px rgba(20, 30, 24, .2));
}
.hp-stage::after { /* Schatten am Boden */
  content: ''; position: absolute; z-index: -1; left: 18%; right: 14%; bottom: 1%; height: 7%;
  background: radial-gradient(closest-side, rgba(20, 30, 24, .32), transparent); filter: blur(6px);
}
.hp-tag {
  position: absolute; right: 0; top: 52%; margin: 0; padding-bottom: 12px; border-bottom: 3px solid var(--brand);
  font: 400 clamp(16px, 1.6vw, 22px)/1.14 var(--display); text-transform: uppercase; color: var(--ink);
}

/* Kennzahlen-Leiste */
.hp-specs {
  display: grid; grid-template-columns: repeat(5, 1fr); margin: clamp(18px, 2.5vw, 30px) 0 0; padding: 0; list-style: none;
}
.hp-specs li { display: grid; justify-items: center; text-align: center; gap: 4px; padding: 6px 10px; }
.hp-specs li + li { border-left: 1px solid var(--line); }
.hp-specs svg { width: 30px; height: 30px; fill: none; stroke: var(--brand); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 4px; }
.hp-specs b { font: 400 clamp(24px, 2.4vw, 34px)/1.14 var(--display); }
.hp-specs span { font: 600 11.5px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

/* Claim + Komponenten */
.hp-copy {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: end;
  margin-top: clamp(28px, 4vw, 48px); padding-top: clamp(24px, 3vw, 36px); border-top: 1px solid var(--line);
}
.hp-copy h1.display { font-size: clamp(38px, 4.6vw, 66px); }
.hp-copy h1 .green { color: var(--brand); }
.hp-copy .lead { margin: 16px 0 24px; max-width: 52ch; }
.hp-parts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 0; padding: 0; list-style: none; }
.hp-parts li {
  display: grid; grid-template-rows: 56px auto; align-items: center; justify-items: center; gap: 8px;
  padding: 14px 10px 12px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; text-align: center;
}
.hp-parts img { max-height: 48px; max-width: 100%; width: auto; object-fit: contain; }
.hp-parts span { font: 600 11px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }

.hp .pick-label { margin-top: clamp(28px, 4vw, 44px); }
.hp .pick { grid-template-columns: repeat(4, 1fr); }
.pick a.pick-gate { background: var(--brand); border-color: var(--brand); }
.pick a.pick-gate b, .pick a.pick-gate span { color: #fff; }
.pick a.pick-gate b::after { color: #fff; }

@media (max-width: 900px) {
  .hp-tag { display: none; }
  .hp-machine { width: 92%; }
  .hp-specs { grid-template-columns: repeat(3, 1fr); row-gap: 14px; }
  .hp-specs li:nth-child(4) { border-left: 0; }
  .hp-copy { grid-template-columns: 1fr; }
  .hp .pick { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .hp-specs { grid-template-columns: 1fr 1fr; }
  .hp-specs li:nth-child(n) { border-left: 0; }
  .hp-specs li:nth-child(2n) { border-left: 1px solid var(--line); }
  .hp-specs li:last-child { grid-column: 1 / -1; }
  .hp-parts { grid-template-columns: 1fr 1fr; }
  .hp .pick { grid-template-columns: 1fr; }
  .logo-word { width: 100px; }
}

/* Startseite: Kicker als Text, Schild als Link zur Produktseite */
.hp-kicker-text span { font: 700 13px/1.2 var(--text) !important; letter-spacing: .14em !important; text-transform: uppercase; color: var(--brand) !important; margin: 0 !important; }
a.hp-tag { text-decoration: none; }
a.hp-tag:hover { color: var(--brand); }

/* Parallax */
.hp-bg, .hp-word, .hp-machine, .hp-tag, .hp-specs { will-change: transform; }
[data-parallax] { overflow: hidden; }
[data-parallax] img { transition: none !important; will-change: transform; }
