/* Delad WOW-hero — full-bredds foto (deras eget material) + stor centrerad Magni-dealer-logo (vit).
 * Används på alla fyra sajter; bilden + rubriken sätts per sajt i markup. Foton i FÄRG. */
.cphero {
  position: relative;
  min-height: 94vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #14181a;
  isolation: isolate;
}
.cphero__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  z-index: 0;
}
.cphero__scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(15,18,20,.58) 0%, rgba(15,18,20,.30) 38%, rgba(15,18,20,.74) 100%),
    radial-gradient(120% 90% at 50% 42%, rgba(15,18,20,0) 38%, rgba(15,18,20,.45) 100%);
}
.cphero__inner {
  position: relative; z-index: 2;
  text-align: center; color: #fff;
  padding: 96px 24px 120px;
  max-width: 1040px; margin: 0 auto;
}
/* Co-brand: Cranepartner Sweden + Magni officiell dealer, centrerat */
.cphero__brands {
  display: flex; flex-direction: column; align-items: center;
  gap: clamp(14px, 2.2vw, 24px);
  margin: 0 auto clamp(26px, 4vw, 44px);
}
.cphero__cp {
  display: block; width: clamp(220px, 36vw, 440px); height: auto;
  filter: drop-shadow(0 4px 22px rgba(0,0,0,.5));
}
.cphero__brand-div {
  width: 72px; height: 1px; background: rgba(255,255,255,.42);
}
/* Magni officiell dealer-logo — röd pictogram + vit MAGNI över fotot */
.cphero__logo {
  display: block; margin: 0;
  width: clamp(250px, 40vw, 500px); height: auto;
  filter: drop-shadow(0 6px 30px rgba(0,0,0,.5));
}
.cphero__eyebrow {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  letter-spacing: .22em; text-transform: uppercase; font-size: 12px;
  color: rgba(255,255,255,.82); margin: 0 0 18px;
}
.cphero__title {
  font-family: "Open Sans", system-ui, sans-serif; font-weight: 800;
  font-size: clamp(2rem, 5.2vw, 4.2rem); line-height: 1.04; letter-spacing: -.02em;
  margin: 0 0 18px; text-shadow: 0 2px 34px rgba(0,0,0,.45);
}
.cphero__title .red { color: #ff5a5e; }
.cphero__sub {
  font-size: clamp(1rem, 1.5vw, 1.22rem); line-height: 1.55;
  color: rgba(255,255,255,.88); max-width: 58ch; margin: 0 auto clamp(26px, 4vw, 36px);
}
.cphero__cta {
  display: inline-flex; align-items: center; gap: 10px;
  background: #AE171A; color: #fff; font-weight: 700; font-size: 15px;
  padding: 15px 30px; border-radius: 8px; text-decoration: none;
  box-shadow: 0 8px 30px rgba(174,23,26,.35);
}
.cphero__cta:hover { background: #c41b1f; }
.cphero__cue {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  z-index: 2; color: #fff; opacity: .75; font-size: 22px; line-height: 1;
  animation: cphero-bounce 2.2s ease-in-out infinite;
}
/* mjuk entré */
.cphero__logo, .cphero__eyebrow, .cphero__title, .cphero__sub, .cphero__cta {
  animation: cphero-rise .8s cubic-bezier(.22,1,.36,1) both;
}
.cphero__eyebrow { animation-delay: .05s; }
.cphero__title  { animation-delay: .12s; }
.cphero__sub    { animation-delay: .2s; }
.cphero__cta    { animation-delay: .28s; }
@keyframes cphero-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes cphero-bounce { 0%,100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(8px); } }

@media (max-width: 640px) {
  .cphero { min-height: 86vh; }
  .cphero__inner { padding: 88px 20px 100px; }
  .cphero__logo { width: min(78vw, 360px); }
}
@media (prefers-reduced-motion: reduce) {
  .cphero__logo, .cphero__eyebrow, .cphero__title, .cphero__sub, .cphero__cta { animation: none; }
  .cphero__cue { animation: none; }
}
